docs.go 1.6 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962
  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/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询企业风管期货商品信息",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1214. "name": "userid",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GetGoods": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "获取钻石详情",
  7570. "parameters": [
  7571. {
  7572. "type": "string",
  7573. "description": "商品编号",
  7574. "name": "goodsno",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/models.GZGoods"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Guangzuan/QueryBuyOrder": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. },
  7601. {
  7602. "LoginID": []
  7603. },
  7604. {
  7605. "Group": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "广钻"
  7613. ],
  7614. "summary": "查询求购大厅委托单",
  7615. "parameters": [
  7616. {
  7617. "type": "integer",
  7618. "description": "页码",
  7619. "name": "page",
  7620. "in": "query"
  7621. },
  7622. {
  7623. "type": "integer",
  7624. "description": "每页条数",
  7625. "name": "pagesize",
  7626. "in": "query"
  7627. },
  7628. {
  7629. "type": "string",
  7630. "description": "商品(查询字段-模糊查询)",
  7631. "name": "zsallproperties",
  7632. "in": "query"
  7633. },
  7634. {
  7635. "type": "string",
  7636. "description": "钻石分类, 格式:1,2,3",
  7637. "name": "zscategorys",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "委托单号",
  7643. "name": "wrtradeorderid",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "买方(查询字段-模糊查询)",
  7649. "name": "buyusername",
  7650. "in": "query"
  7651. }
  7652. ],
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "type": "array",
  7658. "items": {
  7659. "$ref": "#/definitions/models.BuyOrder"
  7660. }
  7661. }
  7662. },
  7663. "500": {
  7664. "description": "Internal Server Error",
  7665. "schema": {
  7666. "$ref": "#/definitions/app.Response"
  7667. }
  7668. }
  7669. }
  7670. }
  7671. },
  7672. "/Guangzuan/QueryDiamond": {
  7673. "post": {
  7674. "security": [
  7675. {
  7676. "ApiKeyAuth": []
  7677. },
  7678. {
  7679. "LoginID": []
  7680. },
  7681. {
  7682. "Group": []
  7683. }
  7684. ],
  7685. "produces": [
  7686. "application/json"
  7687. ],
  7688. "tags": [
  7689. "广钻"
  7690. ],
  7691. "summary": "钻石搜索",
  7692. "parameters": [
  7693. {
  7694. "description": "钻石搜索入参",
  7695. "name": "data",
  7696. "in": "body",
  7697. "required": true,
  7698. "schema": {
  7699. "$ref": "#/definitions/models.SellOrderQueryReq"
  7700. }
  7701. }
  7702. ],
  7703. "responses": {
  7704. "200": {
  7705. "description": "OK",
  7706. "schema": {
  7707. "type": "array",
  7708. "items": {
  7709. "$ref": "#/definitions/models.SellOrder"
  7710. }
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/Guangzuan/QueryMyBargainApply": {
  7723. "get": {
  7724. "security": [
  7725. {
  7726. "ApiKeyAuth": []
  7727. },
  7728. {
  7729. "LoginID": []
  7730. },
  7731. {
  7732. "Group": []
  7733. }
  7734. ],
  7735. "produces": [
  7736. "application/json"
  7737. ],
  7738. "tags": [
  7739. "广钻"
  7740. ],
  7741. "summary": "查询我的询价-求购",
  7742. "parameters": [
  7743. {
  7744. "type": "integer",
  7745. "description": "用户ID",
  7746. "name": "userid",
  7747. "in": "query",
  7748. "required": true
  7749. },
  7750. {
  7751. "type": "integer",
  7752. "description": "页码",
  7753. "name": "page",
  7754. "in": "query"
  7755. },
  7756. {
  7757. "type": "integer",
  7758. "description": "每页条数",
  7759. "name": "pagesize",
  7760. "in": "query"
  7761. },
  7762. {
  7763. "type": "integer",
  7764. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7765. "name": "applystatus",
  7766. "in": "query"
  7767. },
  7768. {
  7769. "type": "integer",
  7770. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  7771. "name": "type",
  7772. "in": "query"
  7773. }
  7774. ],
  7775. "responses": {
  7776. "200": {
  7777. "description": "OK",
  7778. "schema": {
  7779. "type": "array",
  7780. "items": {
  7781. "$ref": "#/definitions/models.MyBargainApply"
  7782. }
  7783. }
  7784. },
  7785. "500": {
  7786. "description": "Internal Server Error",
  7787. "schema": {
  7788. "$ref": "#/definitions/app.Response"
  7789. }
  7790. }
  7791. }
  7792. }
  7793. },
  7794. "/Guangzuan/QueryMyBuyOrder": {
  7795. "get": {
  7796. "security": [
  7797. {
  7798. "ApiKeyAuth": []
  7799. },
  7800. {
  7801. "LoginID": []
  7802. },
  7803. {
  7804. "Group": []
  7805. }
  7806. ],
  7807. "produces": [
  7808. "application/json"
  7809. ],
  7810. "tags": [
  7811. "广钻"
  7812. ],
  7813. "summary": "查询我的求购",
  7814. "parameters": [
  7815. {
  7816. "type": "integer",
  7817. "description": "用户ID",
  7818. "name": "userid",
  7819. "in": "query",
  7820. "required": true
  7821. },
  7822. {
  7823. "type": "integer",
  7824. "description": "页码",
  7825. "name": "page",
  7826. "in": "query"
  7827. },
  7828. {
  7829. "type": "integer",
  7830. "description": "每页条数",
  7831. "name": "pagesize",
  7832. "in": "query"
  7833. },
  7834. {
  7835. "type": "string",
  7836. "description": "商品(查询字段-模糊查询)",
  7837. "name": "zsallproperties",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "string",
  7842. "description": "钻石分类, 格式:1,2,3",
  7843. "name": "zscategorys",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "integer",
  7848. "description": "委托单号",
  7849. "name": "wrtradeorderid",
  7850. "in": "query"
  7851. },
  7852. {
  7853. "type": "boolean",
  7854. "description": "是否历史查询",
  7855. "name": "ishis",
  7856. "in": "query"
  7857. },
  7858. {
  7859. "type": "string",
  7860. "description": "开始交易日(yyyymmdd)",
  7861. "name": "begindate",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "string",
  7866. "description": "结束交易日(yyyymmdd)",
  7867. "name": "enddate",
  7868. "in": "query"
  7869. }
  7870. ],
  7871. "responses": {
  7872. "200": {
  7873. "description": "OK",
  7874. "schema": {
  7875. "type": "array",
  7876. "items": {
  7877. "$ref": "#/definitions/models.MyBuyOrder"
  7878. }
  7879. }
  7880. },
  7881. "500": {
  7882. "description": "Internal Server Error",
  7883. "schema": {
  7884. "$ref": "#/definitions/app.Response"
  7885. }
  7886. }
  7887. }
  7888. }
  7889. },
  7890. "/Guangzuan/QueryMyDeListing": {
  7891. "get": {
  7892. "security": [
  7893. {
  7894. "ApiKeyAuth": []
  7895. },
  7896. {
  7897. "LoginID": []
  7898. },
  7899. {
  7900. "Group": []
  7901. }
  7902. ],
  7903. "produces": [
  7904. "application/json"
  7905. ],
  7906. "tags": [
  7907. "广钻"
  7908. ],
  7909. "summary": "查询我的摘牌",
  7910. "parameters": [
  7911. {
  7912. "type": "integer",
  7913. "description": "用户ID",
  7914. "name": "userid",
  7915. "in": "query",
  7916. "required": true
  7917. },
  7918. {
  7919. "type": "integer",
  7920. "description": "页码",
  7921. "name": "page",
  7922. "in": "query"
  7923. },
  7924. {
  7925. "type": "integer",
  7926. "description": "每页条数",
  7927. "name": "pagesize",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "string",
  7932. "description": "商品(查询字段-模糊查询)",
  7933. "name": "zsallproperties",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "钻石分类, 格式:1,2,3",
  7939. "name": "zscategorys",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "integer",
  7944. "description": "成交单号",
  7945. "name": "wrtradedetailid",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "integer",
  7950. "description": "方向,0-购买 1-出售",
  7951. "name": "buyorsell",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "string",
  7956. "description": "对手方(模糊匹配)",
  7957. "name": "matchusername",
  7958. "in": "query"
  7959. },
  7960. {
  7961. "type": "string",
  7962. "description": "开始交易日(yyyymmdd)",
  7963. "name": "begindate",
  7964. "in": "query"
  7965. },
  7966. {
  7967. "type": "string",
  7968. "description": "结束交易日(yyyymmdd)",
  7969. "name": "enddate",
  7970. "in": "query"
  7971. }
  7972. ],
  7973. "responses": {
  7974. "200": {
  7975. "description": "OK",
  7976. "schema": {
  7977. "type": "array",
  7978. "items": {
  7979. "$ref": "#/definitions/models.MyDeListing"
  7980. }
  7981. }
  7982. },
  7983. "500": {
  7984. "description": "Internal Server Error",
  7985. "schema": {
  7986. "$ref": "#/definitions/app.Response"
  7987. }
  7988. }
  7989. }
  7990. }
  7991. },
  7992. "/Guangzuan/QueryMyDelistingApply": {
  7993. "get": {
  7994. "security": [
  7995. {
  7996. "ApiKeyAuth": []
  7997. },
  7998. {
  7999. "LoginID": []
  8000. },
  8001. {
  8002. "Group": []
  8003. }
  8004. ],
  8005. "produces": [
  8006. "application/json"
  8007. ],
  8008. "tags": [
  8009. "广钻"
  8010. ],
  8011. "summary": "查询我的询价-出售",
  8012. "parameters": [
  8013. {
  8014. "type": "integer",
  8015. "description": "用户ID",
  8016. "name": "userid",
  8017. "in": "query",
  8018. "required": true
  8019. },
  8020. {
  8021. "type": "integer",
  8022. "description": "页码",
  8023. "name": "page",
  8024. "in": "query"
  8025. },
  8026. {
  8027. "type": "integer",
  8028. "description": "每页条数",
  8029. "name": "pagesize",
  8030. "in": "query"
  8031. },
  8032. {
  8033. "type": "integer",
  8034. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8035. "name": "applystatus",
  8036. "in": "query"
  8037. },
  8038. {
  8039. "type": "integer",
  8040. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8041. "name": "type",
  8042. "in": "query"
  8043. }
  8044. ],
  8045. "responses": {
  8046. "200": {
  8047. "description": "OK",
  8048. "schema": {
  8049. "type": "array",
  8050. "items": {
  8051. "$ref": "#/definitions/models.MyDelistingApply"
  8052. }
  8053. }
  8054. },
  8055. "500": {
  8056. "description": "Internal Server Error",
  8057. "schema": {
  8058. "$ref": "#/definitions/app.Response"
  8059. }
  8060. }
  8061. }
  8062. }
  8063. },
  8064. "/Guangzuan/QueryMyFavorite": {
  8065. "get": {
  8066. "security": [
  8067. {
  8068. "ApiKeyAuth": []
  8069. },
  8070. {
  8071. "LoginID": []
  8072. },
  8073. {
  8074. "Group": []
  8075. }
  8076. ],
  8077. "produces": [
  8078. "application/json"
  8079. ],
  8080. "tags": [
  8081. "广钻"
  8082. ],
  8083. "summary": "查询我的收藏",
  8084. "parameters": [
  8085. {
  8086. "type": "integer",
  8087. "description": "用户ID",
  8088. "name": "userid",
  8089. "in": "query",
  8090. "required": true
  8091. },
  8092. {
  8093. "type": "integer",
  8094. "description": "页码",
  8095. "name": "page",
  8096. "in": "query"
  8097. },
  8098. {
  8099. "type": "integer",
  8100. "description": "每页条数",
  8101. "name": "pagesize",
  8102. "in": "query"
  8103. },
  8104. {
  8105. "type": "string",
  8106. "description": "钻石分类, 格式:1,2,3",
  8107. "name": "zscategorys",
  8108. "in": "query"
  8109. }
  8110. ],
  8111. "responses": {
  8112. "200": {
  8113. "description": "OK",
  8114. "schema": {
  8115. "type": "array",
  8116. "items": {
  8117. "$ref": "#/definitions/models.MyFavorite"
  8118. }
  8119. }
  8120. },
  8121. "500": {
  8122. "description": "Internal Server Error",
  8123. "schema": {
  8124. "$ref": "#/definitions/app.Response"
  8125. }
  8126. }
  8127. }
  8128. }
  8129. },
  8130. "/Guangzuan/QueryMyPerformanc": {
  8131. "get": {
  8132. "security": [
  8133. {
  8134. "ApiKeyAuth": []
  8135. },
  8136. {
  8137. "LoginID": []
  8138. },
  8139. {
  8140. "Group": []
  8141. }
  8142. ],
  8143. "produces": [
  8144. "application/json"
  8145. ],
  8146. "tags": [
  8147. "广钻"
  8148. ],
  8149. "summary": "查询我的履约",
  8150. "parameters": [
  8151. {
  8152. "type": "integer",
  8153. "description": "用户ID",
  8154. "name": "userid",
  8155. "in": "query",
  8156. "required": true
  8157. },
  8158. {
  8159. "type": "integer",
  8160. "description": "页码",
  8161. "name": "page",
  8162. "in": "query"
  8163. },
  8164. {
  8165. "type": "integer",
  8166. "description": "每页条数",
  8167. "name": "pagesize",
  8168. "in": "query"
  8169. },
  8170. {
  8171. "type": "string",
  8172. "description": "商品(查询字段-模糊查询)",
  8173. "name": "zsallproperties",
  8174. "in": "query"
  8175. },
  8176. {
  8177. "type": "integer",
  8178. "description": "方向,0-买 1-卖",
  8179. "name": "buyorsell",
  8180. "in": "query"
  8181. },
  8182. {
  8183. "type": "boolean",
  8184. "description": "是否历史查询",
  8185. "name": "ishis",
  8186. "in": "query"
  8187. },
  8188. {
  8189. "type": "string",
  8190. "description": "开始交易日(yyyymmdd)",
  8191. "name": "begindate",
  8192. "in": "query"
  8193. },
  8194. {
  8195. "type": "string",
  8196. "description": "结束交易日(yyyymmdd)",
  8197. "name": "enddate",
  8198. "in": "query"
  8199. }
  8200. ],
  8201. "responses": {
  8202. "200": {
  8203. "description": "OK",
  8204. "schema": {
  8205. "type": "array",
  8206. "items": {
  8207. "$ref": "#/definitions/models.MyPerformanc"
  8208. }
  8209. }
  8210. },
  8211. "500": {
  8212. "description": "Internal Server Error",
  8213. "schema": {
  8214. "$ref": "#/definitions/app.Response"
  8215. }
  8216. }
  8217. }
  8218. }
  8219. },
  8220. "/Guangzuan/QueryMySellOrder": {
  8221. "get": {
  8222. "security": [
  8223. {
  8224. "ApiKeyAuth": []
  8225. },
  8226. {
  8227. "LoginID": []
  8228. },
  8229. {
  8230. "Group": []
  8231. }
  8232. ],
  8233. "produces": [
  8234. "application/json"
  8235. ],
  8236. "tags": [
  8237. "广钻"
  8238. ],
  8239. "summary": "查询我的出售",
  8240. "parameters": [
  8241. {
  8242. "type": "integer",
  8243. "description": "用户ID",
  8244. "name": "userid",
  8245. "in": "query",
  8246. "required": true
  8247. },
  8248. {
  8249. "type": "integer",
  8250. "description": "页码",
  8251. "name": "page",
  8252. "in": "query"
  8253. },
  8254. {
  8255. "type": "integer",
  8256. "description": "每页条数",
  8257. "name": "pagesize",
  8258. "in": "query"
  8259. },
  8260. {
  8261. "type": "string",
  8262. "description": "商品(查询字段-模糊查询)",
  8263. "name": "zsallproperties",
  8264. "in": "query"
  8265. },
  8266. {
  8267. "type": "string",
  8268. "description": "钻石分类, 格式:1,2,3",
  8269. "name": "zscategorys",
  8270. "in": "query"
  8271. },
  8272. {
  8273. "type": "integer",
  8274. "description": "委托单号",
  8275. "name": "wrtradeorderid",
  8276. "in": "query"
  8277. },
  8278. {
  8279. "type": "boolean",
  8280. "description": "是否历史查询",
  8281. "name": "ishis",
  8282. "in": "query"
  8283. },
  8284. {
  8285. "type": "string",
  8286. "description": "开始交易日(yyyymmdd)",
  8287. "name": "begindate",
  8288. "in": "query"
  8289. },
  8290. {
  8291. "type": "string",
  8292. "description": "结束交易日(yyyymmdd)",
  8293. "name": "enddate",
  8294. "in": "query"
  8295. }
  8296. ],
  8297. "responses": {
  8298. "200": {
  8299. "description": "OK",
  8300. "schema": {
  8301. "type": "array",
  8302. "items": {
  8303. "$ref": "#/definitions/models.MySellOrder"
  8304. }
  8305. }
  8306. },
  8307. "500": {
  8308. "description": "Internal Server Error",
  8309. "schema": {
  8310. "$ref": "#/definitions/app.Response"
  8311. }
  8312. }
  8313. }
  8314. }
  8315. },
  8316. "/Guangzuan/QueryMyWRPosition": {
  8317. "get": {
  8318. "security": [
  8319. {
  8320. "ApiKeyAuth": []
  8321. },
  8322. {
  8323. "LoginID": []
  8324. },
  8325. {
  8326. "Group": []
  8327. }
  8328. ],
  8329. "produces": [
  8330. "application/json"
  8331. ],
  8332. "tags": [
  8333. "广钻"
  8334. ],
  8335. "summary": "查询我的库存",
  8336. "parameters": [
  8337. {
  8338. "type": "integer",
  8339. "description": "页码",
  8340. "name": "page",
  8341. "in": "query"
  8342. },
  8343. {
  8344. "type": "integer",
  8345. "description": "每页条数",
  8346. "name": "pagesize",
  8347. "in": "query"
  8348. },
  8349. {
  8350. "type": "integer",
  8351. "description": "登录用户ID",
  8352. "name": "wruserid",
  8353. "in": "query",
  8354. "required": true
  8355. },
  8356. {
  8357. "type": "string",
  8358. "description": "商品(查询字段-模糊查询)",
  8359. "name": "zsallproperties",
  8360. "in": "query"
  8361. },
  8362. {
  8363. "type": "string",
  8364. "description": "钻石分类, 格式:1,2,3",
  8365. "name": "zscategorys",
  8366. "in": "query"
  8367. },
  8368. {
  8369. "type": "integer",
  8370. "description": "仓库ID",
  8371. "name": "warehouseid",
  8372. "in": "query"
  8373. },
  8374. {
  8375. "type": "integer",
  8376. "description": "是否上架,0-全部 1-是 2-否",
  8377. "name": "marketflag",
  8378. "in": "query"
  8379. }
  8380. ],
  8381. "responses": {
  8382. "200": {
  8383. "description": "OK",
  8384. "schema": {
  8385. "type": "array",
  8386. "items": {
  8387. "$ref": "#/definitions/models.MyWRPosition"
  8388. }
  8389. }
  8390. },
  8391. "500": {
  8392. "description": "Internal Server Error",
  8393. "schema": {
  8394. "$ref": "#/definitions/app.Response"
  8395. }
  8396. }
  8397. }
  8398. }
  8399. },
  8400. "/Guangzuan/QuerySellOrder": {
  8401. "get": {
  8402. "security": [
  8403. {
  8404. "ApiKeyAuth": []
  8405. },
  8406. {
  8407. "LoginID": []
  8408. },
  8409. {
  8410. "Group": []
  8411. }
  8412. ],
  8413. "produces": [
  8414. "application/json"
  8415. ],
  8416. "tags": [
  8417. "广钻"
  8418. ],
  8419. "summary": "查询出售大厅委托单",
  8420. "parameters": [
  8421. {
  8422. "type": "integer",
  8423. "description": "页码",
  8424. "name": "page",
  8425. "in": "query"
  8426. },
  8427. {
  8428. "type": "integer",
  8429. "description": "每页条数",
  8430. "name": "pagesize",
  8431. "in": "query"
  8432. },
  8433. {
  8434. "type": "string",
  8435. "description": "商品(查询字段-模糊查询)",
  8436. "name": "zsallproperties",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "string",
  8441. "description": "钻石分类, 格式:1,2,3",
  8442. "name": "zscategorys",
  8443. "in": "query"
  8444. },
  8445. {
  8446. "type": "integer",
  8447. "description": "委托单号",
  8448. "name": "wrtradeorderid",
  8449. "in": "query"
  8450. },
  8451. {
  8452. "type": "string",
  8453. "description": "卖方(查询字段-模糊查询)",
  8454. "name": "buyusername",
  8455. "in": "query"
  8456. }
  8457. ],
  8458. "responses": {
  8459. "200": {
  8460. "description": "OK",
  8461. "schema": {
  8462. "type": "array",
  8463. "items": {
  8464. "$ref": "#/definitions/models.SellOrder"
  8465. }
  8466. }
  8467. },
  8468. "500": {
  8469. "description": "Internal Server Error",
  8470. "schema": {
  8471. "$ref": "#/definitions/app.Response"
  8472. }
  8473. }
  8474. }
  8475. }
  8476. },
  8477. "/Guangzuan/QueryWarehouseInfo": {
  8478. "get": {
  8479. "security": [
  8480. {
  8481. "ApiKeyAuth": []
  8482. },
  8483. {
  8484. "LoginID": []
  8485. },
  8486. {
  8487. "Group": []
  8488. }
  8489. ],
  8490. "produces": [
  8491. "application/json"
  8492. ],
  8493. "tags": [
  8494. "广钻"
  8495. ],
  8496. "summary": "查询仓库信息",
  8497. "parameters": [
  8498. {
  8499. "type": "integer",
  8500. "description": "页码",
  8501. "name": "page",
  8502. "in": "query"
  8503. },
  8504. {
  8505. "type": "integer",
  8506. "description": "每页条数",
  8507. "name": "pagesize",
  8508. "in": "query"
  8509. },
  8510. {
  8511. "type": "integer",
  8512. "description": "用户ID",
  8513. "name": "userid",
  8514. "in": "query",
  8515. "required": true
  8516. },
  8517. {
  8518. "type": "string",
  8519. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8520. "name": "status",
  8521. "in": "query"
  8522. },
  8523. {
  8524. "type": "boolean",
  8525. "description": "是返回交易所仓库",
  8526. "name": "isincludeexchange",
  8527. "in": "query"
  8528. }
  8529. ],
  8530. "responses": {
  8531. "200": {
  8532. "description": "OK",
  8533. "schema": {
  8534. "type": "array",
  8535. "items": {
  8536. "$ref": "#/definitions/models.GZWarehouseinfo"
  8537. }
  8538. }
  8539. },
  8540. "500": {
  8541. "description": "Internal Server Error",
  8542. "schema": {
  8543. "$ref": "#/definitions/app.Response"
  8544. }
  8545. }
  8546. }
  8547. }
  8548. },
  8549. "/Market/GetAllExExchanges": {
  8550. "get": {
  8551. "security": [
  8552. {
  8553. "ApiKeyAuth": []
  8554. }
  8555. ],
  8556. "produces": [
  8557. "application/json"
  8558. ],
  8559. "tags": [
  8560. "通用市场"
  8561. ],
  8562. "summary": "获取所有外部交易所信息",
  8563. "responses": {
  8564. "200": {
  8565. "description": "OK",
  8566. "schema": {
  8567. "$ref": "#/definitions/models.Goods"
  8568. }
  8569. },
  8570. "500": {
  8571. "description": "Internal Server Error",
  8572. "schema": {
  8573. "$ref": "#/definitions/app.Response"
  8574. }
  8575. }
  8576. }
  8577. }
  8578. },
  8579. "/Market/QueryGoodsesByLoginID": {
  8580. "get": {
  8581. "security": [
  8582. {
  8583. "ApiKeyAuth": []
  8584. }
  8585. ],
  8586. "produces": [
  8587. "application/json"
  8588. ],
  8589. "tags": [
  8590. "通用市场"
  8591. ],
  8592. "summary": "获取登录账号有权限的商品信息",
  8593. "parameters": [
  8594. {
  8595. "type": "integer",
  8596. "description": "登录账号",
  8597. "name": "loginID",
  8598. "in": "query",
  8599. "required": true
  8600. },
  8601. {
  8602. "type": "string",
  8603. "description": "市场ID列表,格式:1,2,3",
  8604. "name": "marketIDs",
  8605. "in": "query"
  8606. }
  8607. ],
  8608. "responses": {
  8609. "200": {
  8610. "description": "OK",
  8611. "schema": {
  8612. "$ref": "#/definitions/models.Goods"
  8613. }
  8614. },
  8615. "500": {
  8616. "description": "Internal Server Error",
  8617. "schema": {
  8618. "$ref": "#/definitions/app.Response"
  8619. }
  8620. }
  8621. }
  8622. }
  8623. },
  8624. "/Market/QueryMarketRun": {
  8625. "get": {
  8626. "security": [
  8627. {
  8628. "ApiKeyAuth": []
  8629. }
  8630. ],
  8631. "produces": [
  8632. "application/json"
  8633. ],
  8634. "tags": [
  8635. "通用市场"
  8636. ],
  8637. "summary": "查询市场运行信息",
  8638. "parameters": [
  8639. {
  8640. "type": "integer",
  8641. "description": "市场ID,不传返回所有",
  8642. "name": "marketID",
  8643. "in": "query"
  8644. }
  8645. ],
  8646. "responses": {
  8647. "200": {
  8648. "description": "OK",
  8649. "schema": {
  8650. "$ref": "#/definitions/models.Marketrun"
  8651. }
  8652. },
  8653. "500": {
  8654. "description": "Internal Server Error",
  8655. "schema": {
  8656. "$ref": "#/definitions/app.Response"
  8657. }
  8658. }
  8659. }
  8660. }
  8661. },
  8662. "/Market/QueryMarketsByLoginID": {
  8663. "get": {
  8664. "security": [
  8665. {
  8666. "ApiKeyAuth": []
  8667. }
  8668. ],
  8669. "produces": [
  8670. "application/json"
  8671. ],
  8672. "tags": [
  8673. "通用市场"
  8674. ],
  8675. "summary": "获取登录账号有权限的市场信息",
  8676. "parameters": [
  8677. {
  8678. "type": "integer",
  8679. "description": "登录账号",
  8680. "name": "loginID",
  8681. "in": "query",
  8682. "required": true
  8683. }
  8684. ],
  8685. "responses": {
  8686. "200": {
  8687. "description": "OK",
  8688. "schema": {
  8689. "$ref": "#/definitions/models.Market"
  8690. }
  8691. },
  8692. "500": {
  8693. "description": "Internal Server Error",
  8694. "schema": {
  8695. "$ref": "#/definitions/app.Response"
  8696. }
  8697. }
  8698. }
  8699. }
  8700. },
  8701. "/Order/QueryHisTradeDetail": {
  8702. "get": {
  8703. "security": [
  8704. {
  8705. "ApiKeyAuth": []
  8706. }
  8707. ],
  8708. "produces": [
  8709. "application/json"
  8710. ],
  8711. "tags": [
  8712. "通用单据"
  8713. ],
  8714. "summary": "历史成交单查询(合约市场)",
  8715. "parameters": [
  8716. {
  8717. "type": "string",
  8718. "description": "资金账户 - 格式:1,2,3",
  8719. "name": "accountID",
  8720. "in": "query",
  8721. "required": true
  8722. },
  8723. {
  8724. "type": "integer",
  8725. "description": "成交单号",
  8726. "name": "tradeID",
  8727. "in": "query"
  8728. },
  8729. {
  8730. "type": "integer",
  8731. "description": "委托单号",
  8732. "name": "orderID",
  8733. "in": "query"
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "商品ID",
  8738. "name": "goodsID",
  8739. "in": "query"
  8740. },
  8741. {
  8742. "type": "string",
  8743. "description": "交易模式 - 格式:1,2,3",
  8744. "name": "tradeMode",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "integer",
  8749. "description": "委托单据类型",
  8750. "name": "buildType",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "string",
  8755. "description": "成交类别 - 格式:1,2,3",
  8756. "name": "tradeType",
  8757. "in": "query"
  8758. },
  8759. {
  8760. "type": "string",
  8761. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8762. "name": "startDate",
  8763. "in": "query"
  8764. },
  8765. {
  8766. "type": "string",
  8767. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8768. "name": "endDate",
  8769. "in": "query"
  8770. }
  8771. ],
  8772. "responses": {
  8773. "200": {
  8774. "description": "OK",
  8775. "schema": {
  8776. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8777. }
  8778. },
  8779. "500": {
  8780. "description": "Internal Server Error",
  8781. "schema": {
  8782. "$ref": "#/definitions/app.Response"
  8783. }
  8784. }
  8785. }
  8786. }
  8787. },
  8788. "/Order/QueryHisTradeOrderDetail": {
  8789. "get": {
  8790. "security": [
  8791. {
  8792. "ApiKeyAuth": []
  8793. }
  8794. ],
  8795. "produces": [
  8796. "application/json"
  8797. ],
  8798. "tags": [
  8799. "通用单据"
  8800. ],
  8801. "summary": "历史委托单查询请求(合约市场)",
  8802. "parameters": [
  8803. {
  8804. "type": "string",
  8805. "description": "资金账户 - 格式:1,2,3",
  8806. "name": "accountID",
  8807. "in": "query",
  8808. "required": true
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "交易模式 - 格式:1,2,3",
  8813. "name": "tradeMode",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "委托状态 - 格式:1,2,3",
  8819. "name": "orderStatus",
  8820. "in": "query"
  8821. },
  8822. {
  8823. "type": "integer",
  8824. "description": "委托单号",
  8825. "name": "orderID",
  8826. "in": "query"
  8827. },
  8828. {
  8829. "type": "string",
  8830. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8831. "name": "startDate",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "string",
  8836. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8837. "name": "endDate",
  8838. "in": "query"
  8839. }
  8840. ],
  8841. "responses": {
  8842. "200": {
  8843. "description": "OK",
  8844. "schema": {
  8845. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8846. }
  8847. },
  8848. "500": {
  8849. "description": "Internal Server Error",
  8850. "schema": {
  8851. "$ref": "#/definitions/app.Response"
  8852. }
  8853. }
  8854. }
  8855. }
  8856. },
  8857. "/Order/QueryTradeDetail": {
  8858. "get": {
  8859. "security": [
  8860. {
  8861. "ApiKeyAuth": []
  8862. }
  8863. ],
  8864. "produces": [
  8865. "application/json"
  8866. ],
  8867. "tags": [
  8868. "通用单据"
  8869. ],
  8870. "summary": "成交单查询(合约市场)",
  8871. "parameters": [
  8872. {
  8873. "type": "string",
  8874. "description": "资金账户 - 格式:1,2,3",
  8875. "name": "accountID",
  8876. "in": "query",
  8877. "required": true
  8878. },
  8879. {
  8880. "type": "integer",
  8881. "description": "成交单号",
  8882. "name": "tradeID",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "integer",
  8887. "description": "委托单号",
  8888. "name": "orderID",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "交易模式 - 格式:1,2,3",
  8894. "name": "tradeMode",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "委托单据类型",
  8900. "name": "buildType",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "成交类别 - 格式:1,2,3",
  8906. "name": "tradeType",
  8907. "in": "query"
  8908. },
  8909. {
  8910. "type": "integer",
  8911. "description": "商品ID",
  8912. "name": "goodsID",
  8913. "in": "query"
  8914. }
  8915. ],
  8916. "responses": {
  8917. "200": {
  8918. "description": "OK",
  8919. "schema": {
  8920. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8921. }
  8922. },
  8923. "500": {
  8924. "description": "Internal Server Error",
  8925. "schema": {
  8926. "$ref": "#/definitions/app.Response"
  8927. }
  8928. }
  8929. }
  8930. }
  8931. },
  8932. "/Order/QueryTradeHolderDetail": {
  8933. "get": {
  8934. "security": [
  8935. {
  8936. "ApiKeyAuth": []
  8937. }
  8938. ],
  8939. "produces": [
  8940. "application/json"
  8941. ],
  8942. "tags": [
  8943. "通用单据"
  8944. ],
  8945. "summary": "查询持仓明细",
  8946. "parameters": [
  8947. {
  8948. "type": "integer",
  8949. "description": "用户id",
  8950. "name": "userid",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "string",
  8955. "description": "资金账号, 格式 1,2,3",
  8956. "name": "accids",
  8957. "in": "query"
  8958. },
  8959. {
  8960. "type": "string",
  8961. "description": "交易模式, 格式 1,2,3",
  8962. "name": "trademodes",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "市场id, 格式 1,2,3",
  8968. "name": "marketids",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "integer",
  8973. "description": "商品id",
  8974. "name": "goodsid",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "买卖方向 0-买 1-卖",
  8980. "name": "buyorsell",
  8981. "in": "query"
  8982. }
  8983. ],
  8984. "responses": {
  8985. "200": {
  8986. "description": "OK",
  8987. "schema": {
  8988. "type": "array",
  8989. "items": {
  8990. "$ref": "#/definitions/models.TradeHolderDetail"
  8991. }
  8992. }
  8993. },
  8994. "500": {
  8995. "description": "Internal Server Error",
  8996. "schema": {
  8997. "$ref": "#/definitions/app.Response"
  8998. }
  8999. }
  9000. }
  9001. }
  9002. },
  9003. "/Order/QueryTradeOrderDetail": {
  9004. "get": {
  9005. "security": [
  9006. {
  9007. "ApiKeyAuth": []
  9008. }
  9009. ],
  9010. "produces": [
  9011. "application/json"
  9012. ],
  9013. "tags": [
  9014. "通用单据"
  9015. ],
  9016. "summary": "委托单查询请求(合约市场)",
  9017. "parameters": [
  9018. {
  9019. "type": "string",
  9020. "description": "资金账户 - 格式:1,2,3",
  9021. "name": "accountID",
  9022. "in": "query",
  9023. "required": true
  9024. },
  9025. {
  9026. "type": "string",
  9027. "description": "交易模式 - 格式:1,2,3",
  9028. "name": "tradeMode",
  9029. "in": "query"
  9030. },
  9031. {
  9032. "type": "string",
  9033. "description": "委托状态 - 格式:1,2,3",
  9034. "name": "orderStatus",
  9035. "in": "query"
  9036. },
  9037. {
  9038. "type": "integer",
  9039. "description": "委托单号",
  9040. "name": "orderID",
  9041. "in": "query"
  9042. }
  9043. ],
  9044. "responses": {
  9045. "200": {
  9046. "description": "OK",
  9047. "schema": {
  9048. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9049. }
  9050. },
  9051. "500": {
  9052. "description": "Internal Server Error",
  9053. "schema": {
  9054. "$ref": "#/definitions/app.Response"
  9055. }
  9056. }
  9057. }
  9058. }
  9059. },
  9060. "/Order/QueryTradePosition": {
  9061. "get": {
  9062. "security": [
  9063. {
  9064. "ApiKeyAuth": []
  9065. }
  9066. ],
  9067. "produces": [
  9068. "application/json"
  9069. ],
  9070. "tags": [
  9071. "通用单据"
  9072. ],
  9073. "summary": "持仓汇总查询(合约市场)",
  9074. "parameters": [
  9075. {
  9076. "type": "string",
  9077. "description": "资金账户 - 格式:1,2,3",
  9078. "name": "accountID",
  9079. "in": "query",
  9080. "required": true
  9081. },
  9082. {
  9083. "type": "string",
  9084. "description": "交易模式 - 格式:1,2,3",
  9085. "name": "tradeMode",
  9086. "in": "query"
  9087. }
  9088. ],
  9089. "responses": {
  9090. "200": {
  9091. "description": "OK",
  9092. "schema": {
  9093. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9094. }
  9095. },
  9096. "500": {
  9097. "description": "Internal Server Error",
  9098. "schema": {
  9099. "$ref": "#/definitions/app.Response"
  9100. }
  9101. }
  9102. }
  9103. }
  9104. },
  9105. "/Qhj/QueryAccountInOutApply": {
  9106. "get": {
  9107. "security": [
  9108. {
  9109. "ApiKeyAuth": []
  9110. }
  9111. ],
  9112. "produces": [
  9113. "application/json"
  9114. ],
  9115. "tags": [
  9116. "大连千海金"
  9117. ],
  9118. "summary": "查询充值提现",
  9119. "parameters": [
  9120. {
  9121. "type": "integer",
  9122. "description": "用户ID",
  9123. "name": "userid",
  9124. "in": "query",
  9125. "required": true
  9126. },
  9127. {
  9128. "type": "string",
  9129. "description": "申请起始日期(格式yyyymmdd)",
  9130. "name": "begindate",
  9131. "in": "query"
  9132. },
  9133. {
  9134. "type": "string",
  9135. "description": "申请截止日期(格式yyyymmdd)",
  9136. "name": "enddate",
  9137. "in": "query"
  9138. },
  9139. {
  9140. "type": "string",
  9141. "description": "模糊搜索名称",
  9142. "name": "likename",
  9143. "in": "query"
  9144. },
  9145. {
  9146. "type": "integer",
  9147. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9148. "name": "applystatus",
  9149. "in": "query"
  9150. },
  9151. {
  9152. "type": "integer",
  9153. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9154. "name": "querytype",
  9155. "in": "query"
  9156. }
  9157. ],
  9158. "responses": {
  9159. "200": {
  9160. "description": "OK",
  9161. "schema": {
  9162. "type": "array",
  9163. "items": {
  9164. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9165. }
  9166. }
  9167. },
  9168. "500": {
  9169. "description": "Internal Server Error",
  9170. "schema": {
  9171. "$ref": "#/definitions/app.Response"
  9172. }
  9173. }
  9174. }
  9175. }
  9176. },
  9177. "/Qhj/QueryAreaFinanceConfig": {
  9178. "get": {
  9179. "security": [
  9180. {
  9181. "ApiKeyAuth": []
  9182. }
  9183. ],
  9184. "produces": [
  9185. "application/json"
  9186. ],
  9187. "tags": [
  9188. "大连千海金"
  9189. ],
  9190. "summary": "查询企业配置表",
  9191. "parameters": [
  9192. {
  9193. "type": "integer",
  9194. "description": "机构用户ID 其他做市关系,都设置为 1",
  9195. "name": "userid",
  9196. "in": "query"
  9197. }
  9198. ],
  9199. "responses": {
  9200. "200": {
  9201. "description": "OK",
  9202. "schema": {
  9203. "type": "array",
  9204. "items": {
  9205. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9206. }
  9207. }
  9208. },
  9209. "500": {
  9210. "description": "Internal Server Error",
  9211. "schema": {
  9212. "$ref": "#/definitions/app.Response"
  9213. }
  9214. }
  9215. }
  9216. }
  9217. },
  9218. "/Qhj/QueryBankAccountSign": {
  9219. "get": {
  9220. "security": [
  9221. {
  9222. "ApiKeyAuth": []
  9223. }
  9224. ],
  9225. "produces": [
  9226. "application/json"
  9227. ],
  9228. "tags": [
  9229. "大连千海金"
  9230. ],
  9231. "summary": "查询签约银行信息(提现账户管理)",
  9232. "parameters": [
  9233. {
  9234. "type": "integer",
  9235. "description": "用户ID",
  9236. "name": "userid",
  9237. "in": "query",
  9238. "required": true
  9239. }
  9240. ],
  9241. "responses": {
  9242. "200": {
  9243. "description": "OK",
  9244. "schema": {
  9245. "type": "array",
  9246. "items": {
  9247. "$ref": "#/definitions/models.QhjBankAccountSign"
  9248. }
  9249. }
  9250. },
  9251. "500": {
  9252. "description": "Internal Server Error",
  9253. "schema": {
  9254. "$ref": "#/definitions/app.Response"
  9255. }
  9256. }
  9257. }
  9258. }
  9259. },
  9260. "/Qhj/QueryBankInfo": {
  9261. "get": {
  9262. "security": [
  9263. {
  9264. "ApiKeyAuth": []
  9265. }
  9266. ],
  9267. "produces": [
  9268. "application/json"
  9269. ],
  9270. "tags": [
  9271. "大连千海金"
  9272. ],
  9273. "summary": "查询开户行",
  9274. "responses": {
  9275. "200": {
  9276. "description": "OK",
  9277. "schema": {
  9278. "type": "array",
  9279. "items": {
  9280. "$ref": "#/definitions/models.QhjBankInfo"
  9281. }
  9282. }
  9283. },
  9284. "500": {
  9285. "description": "Internal Server Error",
  9286. "schema": {
  9287. "$ref": "#/definitions/app.Response"
  9288. }
  9289. }
  9290. }
  9291. }
  9292. },
  9293. "/Qhj/QueryBrokerApply": {
  9294. "get": {
  9295. "security": [
  9296. {
  9297. "ApiKeyAuth": []
  9298. }
  9299. ],
  9300. "produces": [
  9301. "application/json"
  9302. ],
  9303. "tags": [
  9304. "大连千海金"
  9305. ],
  9306. "summary": "查询经纪人申请",
  9307. "parameters": [
  9308. {
  9309. "type": "integer",
  9310. "description": "所属机构ID",
  9311. "name": "userid",
  9312. "in": "query"
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9317. "name": "filterstatus",
  9318. "in": "query"
  9319. }
  9320. ],
  9321. "responses": {
  9322. "200": {
  9323. "description": "OK",
  9324. "schema": {
  9325. "type": "array",
  9326. "items": {
  9327. "$ref": "#/definitions/models.QhjBrokerApply"
  9328. }
  9329. }
  9330. },
  9331. "500": {
  9332. "description": "Internal Server Error",
  9333. "schema": {
  9334. "$ref": "#/definitions/app.Response"
  9335. }
  9336. }
  9337. }
  9338. }
  9339. },
  9340. "/Qhj/QueryBrokerApplyEx": {
  9341. "get": {
  9342. "security": [
  9343. {
  9344. "ApiKeyAuth": []
  9345. }
  9346. ],
  9347. "produces": [
  9348. "application/json"
  9349. ],
  9350. "tags": [
  9351. "大连千海金"
  9352. ],
  9353. "summary": "查询经纪人信息和申请记录",
  9354. "parameters": [
  9355. {
  9356. "type": "integer",
  9357. "description": "所属机构ID",
  9358. "name": "userid",
  9359. "in": "query"
  9360. }
  9361. ],
  9362. "responses": {
  9363. "200": {
  9364. "description": "OK",
  9365. "schema": {
  9366. "type": "array",
  9367. "items": {
  9368. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9369. }
  9370. }
  9371. },
  9372. "500": {
  9373. "description": "Internal Server Error",
  9374. "schema": {
  9375. "$ref": "#/definitions/app.Response"
  9376. }
  9377. }
  9378. }
  9379. }
  9380. },
  9381. "/Qhj/QueryBrokerRewardLog": {
  9382. "get": {
  9383. "security": [
  9384. {
  9385. "ApiKeyAuth": []
  9386. }
  9387. ],
  9388. "produces": [
  9389. "application/json"
  9390. ],
  9391. "tags": [
  9392. "大连千海金"
  9393. ],
  9394. "summary": "查询奖励流水(我的奖励)",
  9395. "parameters": [
  9396. {
  9397. "type": "integer",
  9398. "description": "用户ID",
  9399. "name": "userid",
  9400. "in": "query",
  9401. "required": true
  9402. },
  9403. {
  9404. "type": "string",
  9405. "description": "开始交易日(yyyymmdd)",
  9406. "name": "begindate",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "string",
  9411. "description": "结束交易日(yyyymmdd)",
  9412. "name": "enddate",
  9413. "in": "query"
  9414. }
  9415. ],
  9416. "responses": {
  9417. "200": {
  9418. "description": "OK",
  9419. "schema": {
  9420. "type": "array",
  9421. "items": {
  9422. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9423. }
  9424. }
  9425. },
  9426. "500": {
  9427. "description": "Internal Server Error",
  9428. "schema": {
  9429. "$ref": "#/definitions/app.Response"
  9430. }
  9431. }
  9432. }
  9433. }
  9434. },
  9435. "/Qhj/QueryContract": {
  9436. "get": {
  9437. "security": [
  9438. {
  9439. "ApiKeyAuth": []
  9440. }
  9441. ],
  9442. "produces": [
  9443. "application/json"
  9444. ],
  9445. "tags": [
  9446. "大连千海金"
  9447. ],
  9448. "summary": "查询融资明细(合同)",
  9449. "parameters": [
  9450. {
  9451. "type": "integer",
  9452. "description": "用户ID",
  9453. "name": "userid",
  9454. "in": "query"
  9455. },
  9456. {
  9457. "type": "integer",
  9458. "description": "scf合同id",
  9459. "name": "scfcontractid",
  9460. "in": "query"
  9461. }
  9462. ],
  9463. "responses": {
  9464. "200": {
  9465. "description": "OK",
  9466. "schema": {
  9467. "type": "array",
  9468. "items": {
  9469. "$ref": "#/definitions/models.QhjContract"
  9470. }
  9471. }
  9472. },
  9473. "500": {
  9474. "description": "Internal Server Error",
  9475. "schema": {
  9476. "$ref": "#/definitions/app.Response"
  9477. }
  9478. }
  9479. }
  9480. }
  9481. },
  9482. "/Qhj/QueryContractLog": {
  9483. "get": {
  9484. "security": [
  9485. {
  9486. "ApiKeyAuth": []
  9487. }
  9488. ],
  9489. "produces": [
  9490. "application/json"
  9491. ],
  9492. "tags": [
  9493. "大连千海金"
  9494. ],
  9495. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9496. "parameters": [
  9497. {
  9498. "type": "integer",
  9499. "description": "scf合同id",
  9500. "name": "scfcontractid",
  9501. "in": "query",
  9502. "required": true
  9503. },
  9504. {
  9505. "type": "string",
  9506. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9507. "name": "amounttype",
  9508. "in": "query"
  9509. }
  9510. ],
  9511. "responses": {
  9512. "200": {
  9513. "description": "OK",
  9514. "schema": {
  9515. "type": "array",
  9516. "items": {
  9517. "$ref": "#/definitions/models.QhjContractLog"
  9518. }
  9519. }
  9520. },
  9521. "500": {
  9522. "description": "Internal Server Error",
  9523. "schema": {
  9524. "$ref": "#/definitions/app.Response"
  9525. }
  9526. }
  9527. }
  9528. }
  9529. },
  9530. "/Qhj/QueryCusBankSignBank": {
  9531. "get": {
  9532. "security": [
  9533. {
  9534. "ApiKeyAuth": []
  9535. }
  9536. ],
  9537. "produces": [
  9538. "application/json"
  9539. ],
  9540. "tags": [
  9541. "大连千海金"
  9542. ],
  9543. "summary": "查询托管银行",
  9544. "responses": {
  9545. "200": {
  9546. "description": "OK",
  9547. "schema": {
  9548. "type": "array",
  9549. "items": {
  9550. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9551. }
  9552. }
  9553. },
  9554. "500": {
  9555. "description": "Internal Server Error",
  9556. "schema": {
  9557. "$ref": "#/definitions/app.Response"
  9558. }
  9559. }
  9560. }
  9561. }
  9562. },
  9563. "/Qhj/QueryCustomerInfo": {
  9564. "get": {
  9565. "security": [
  9566. {
  9567. "ApiKeyAuth": []
  9568. }
  9569. ],
  9570. "produces": [
  9571. "application/json"
  9572. ],
  9573. "tags": [
  9574. "大连千海金"
  9575. ],
  9576. "summary": "查询客户资料",
  9577. "parameters": [
  9578. {
  9579. "type": "integer",
  9580. "description": "用户ID",
  9581. "name": "userid",
  9582. "in": "query",
  9583. "required": true
  9584. },
  9585. {
  9586. "type": "integer",
  9587. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9588. "name": "querytype",
  9589. "in": "query",
  9590. "required": true
  9591. },
  9592. {
  9593. "type": "integer",
  9594. "description": "客户类型 1-个人 2-企业",
  9595. "name": "userinfotype",
  9596. "in": "query"
  9597. },
  9598. {
  9599. "type": "string",
  9600. "description": "客户名称(模糊匹配)",
  9601. "name": "customername",
  9602. "in": "query"
  9603. },
  9604. {
  9605. "type": "string",
  9606. "description": "昵称(模糊匹配)",
  9607. "name": "nickname",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "integer",
  9612. "description": "是否包含子级 1-包含",
  9613. "name": "includesub",
  9614. "in": "query"
  9615. }
  9616. ],
  9617. "responses": {
  9618. "200": {
  9619. "description": "OK",
  9620. "schema": {
  9621. "type": "array",
  9622. "items": {
  9623. "$ref": "#/definitions/models.QhjCustomer"
  9624. }
  9625. }
  9626. },
  9627. "500": {
  9628. "description": "Internal Server Error",
  9629. "schema": {
  9630. "$ref": "#/definitions/app.Response"
  9631. }
  9632. }
  9633. }
  9634. }
  9635. },
  9636. "/Qhj/QueryGoodsEx": {
  9637. "get": {
  9638. "security": [
  9639. {
  9640. "ApiKeyAuth": []
  9641. }
  9642. ],
  9643. "produces": [
  9644. "application/json"
  9645. ],
  9646. "tags": [
  9647. "大连千海金"
  9648. ],
  9649. "summary": "交易商品扩展表",
  9650. "parameters": [
  9651. {
  9652. "type": "integer",
  9653. "description": "商品id",
  9654. "name": "goodsid",
  9655. "in": "query"
  9656. }
  9657. ],
  9658. "responses": {
  9659. "200": {
  9660. "description": "OK",
  9661. "schema": {
  9662. "type": "array",
  9663. "items": {
  9664. "$ref": "#/definitions/models.Qhjgoodsex"
  9665. }
  9666. }
  9667. },
  9668. "500": {
  9669. "description": "Internal Server Error",
  9670. "schema": {
  9671. "$ref": "#/definitions/app.Response"
  9672. }
  9673. }
  9674. }
  9675. }
  9676. },
  9677. "/Qhj/QueryMyTeam": {
  9678. "get": {
  9679. "security": [
  9680. {
  9681. "ApiKeyAuth": []
  9682. }
  9683. ],
  9684. "produces": [
  9685. "application/json"
  9686. ],
  9687. "tags": [
  9688. "大连千海金"
  9689. ],
  9690. "summary": "查询我的团队",
  9691. "parameters": [
  9692. {
  9693. "type": "integer",
  9694. "description": "用户ID",
  9695. "name": "userid",
  9696. "in": "query",
  9697. "required": true
  9698. }
  9699. ],
  9700. "responses": {
  9701. "200": {
  9702. "description": "OK",
  9703. "schema": {
  9704. "type": "array",
  9705. "items": {
  9706. "$ref": "#/definitions/models.QhjMyTeamEx"
  9707. }
  9708. }
  9709. },
  9710. "500": {
  9711. "description": "Internal Server Error",
  9712. "schema": {
  9713. "$ref": "#/definitions/app.Response"
  9714. }
  9715. }
  9716. }
  9717. }
  9718. },
  9719. "/Qhj/QueryMyTeamOrder": {
  9720. "get": {
  9721. "security": [
  9722. {
  9723. "ApiKeyAuth": []
  9724. }
  9725. ],
  9726. "produces": [
  9727. "application/json"
  9728. ],
  9729. "tags": [
  9730. "大连千海金"
  9731. ],
  9732. "summary": "查询团队订单(我的团队/团队订单)",
  9733. "parameters": [
  9734. {
  9735. "type": "integer",
  9736. "description": "页码",
  9737. "name": "page",
  9738. "in": "query"
  9739. },
  9740. {
  9741. "type": "integer",
  9742. "description": "每页条数",
  9743. "name": "pagesize",
  9744. "in": "query"
  9745. },
  9746. {
  9747. "type": "integer",
  9748. "description": "用户ID",
  9749. "name": "userid",
  9750. "in": "query",
  9751. "required": true
  9752. },
  9753. {
  9754. "type": "integer",
  9755. "description": "交易模式",
  9756. "name": "trademode",
  9757. "in": "query"
  9758. },
  9759. {
  9760. "type": "string",
  9761. "description": "名称(模糊搜索账户)",
  9762. "name": "filtername",
  9763. "in": "query"
  9764. }
  9765. ],
  9766. "responses": {
  9767. "200": {
  9768. "description": "OK",
  9769. "schema": {
  9770. "type": "array",
  9771. "items": {
  9772. "$ref": "#/definitions/models.QhjTeamOrder"
  9773. }
  9774. }
  9775. },
  9776. "500": {
  9777. "description": "Internal Server Error",
  9778. "schema": {
  9779. "$ref": "#/definitions/app.Response"
  9780. }
  9781. }
  9782. }
  9783. }
  9784. },
  9785. "/Qhj/QueryParentAreaList": {
  9786. "get": {
  9787. "security": [
  9788. {
  9789. "ApiKeyAuth": []
  9790. }
  9791. ],
  9792. "produces": [
  9793. "application/json"
  9794. ],
  9795. "tags": [
  9796. "大连千海金"
  9797. ],
  9798. "summary": "查询所属机构列表",
  9799. "parameters": [
  9800. {
  9801. "type": "integer",
  9802. "description": "用户ID",
  9803. "name": "userid",
  9804. "in": "query",
  9805. "required": true
  9806. }
  9807. ],
  9808. "responses": {
  9809. "200": {
  9810. "description": "OK",
  9811. "schema": {
  9812. "type": "array",
  9813. "items": {
  9814. "$ref": "#/definitions/models.QhjParentAreaList"
  9815. }
  9816. }
  9817. },
  9818. "500": {
  9819. "description": "Internal Server Error",
  9820. "schema": {
  9821. "$ref": "#/definitions/app.Response"
  9822. }
  9823. }
  9824. }
  9825. }
  9826. },
  9827. "/Qhj/QueryPayOrder": {
  9828. "get": {
  9829. "security": [
  9830. {
  9831. "ApiKeyAuth": []
  9832. }
  9833. ],
  9834. "produces": [
  9835. "application/json"
  9836. ],
  9837. "tags": [
  9838. "大连千海金"
  9839. ],
  9840. "summary": "查询待付款单据",
  9841. "parameters": [
  9842. {
  9843. "type": "integer",
  9844. "description": "资金账号id",
  9845. "name": "accountid",
  9846. "in": "query",
  9847. "required": true
  9848. },
  9849. {
  9850. "type": "integer",
  9851. "description": "成交单号",
  9852. "name": "tradeid",
  9853. "in": "query"
  9854. },
  9855. {
  9856. "type": "string",
  9857. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9858. "name": "payflag",
  9859. "in": "query"
  9860. }
  9861. ],
  9862. "responses": {
  9863. "200": {
  9864. "description": "OK",
  9865. "schema": {
  9866. "type": "array",
  9867. "items": {
  9868. "$ref": "#/definitions/models.QhjPayOrder"
  9869. }
  9870. }
  9871. },
  9872. "500": {
  9873. "description": "Internal Server Error",
  9874. "schema": {
  9875. "$ref": "#/definitions/app.Response"
  9876. }
  9877. }
  9878. }
  9879. }
  9880. },
  9881. "/Qhj/QueryPickArea": {
  9882. "get": {
  9883. "security": [
  9884. {
  9885. "ApiKeyAuth": []
  9886. }
  9887. ],
  9888. "produces": [
  9889. "application/json"
  9890. ],
  9891. "tags": [
  9892. "大连千海金"
  9893. ],
  9894. "summary": "查询提货门店",
  9895. "parameters": [
  9896. {
  9897. "type": "integer",
  9898. "description": "用户ID",
  9899. "name": "userid",
  9900. "in": "query"
  9901. }
  9902. ],
  9903. "responses": {
  9904. "200": {
  9905. "description": "OK",
  9906. "schema": {
  9907. "type": "array",
  9908. "items": {
  9909. "$ref": "#/definitions/models.QhjPickArea"
  9910. }
  9911. }
  9912. },
  9913. "500": {
  9914. "description": "Internal Server Error",
  9915. "schema": {
  9916. "$ref": "#/definitions/app.Response"
  9917. }
  9918. }
  9919. }
  9920. }
  9921. },
  9922. "/Qhj/QueryPickGoods": {
  9923. "get": {
  9924. "security": [
  9925. {
  9926. "ApiKeyAuth": []
  9927. }
  9928. ],
  9929. "produces": [
  9930. "application/json"
  9931. ],
  9932. "tags": [
  9933. "大连千海金"
  9934. ],
  9935. "summary": "查询提货商品",
  9936. "parameters": [
  9937. {
  9938. "type": "integer",
  9939. "description": "交易商品id",
  9940. "name": "goodsid",
  9941. "in": "query",
  9942. "required": true
  9943. },
  9944. {
  9945. "type": "string",
  9946. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9947. "name": "status",
  9948. "in": "query"
  9949. }
  9950. ],
  9951. "responses": {
  9952. "200": {
  9953. "description": "OK",
  9954. "schema": {
  9955. "type": "array",
  9956. "items": {
  9957. "$ref": "#/definitions/models.QhjPickGoods"
  9958. }
  9959. }
  9960. },
  9961. "500": {
  9962. "description": "Internal Server Error",
  9963. "schema": {
  9964. "$ref": "#/definitions/app.Response"
  9965. }
  9966. }
  9967. }
  9968. }
  9969. },
  9970. "/Qhj/QueryRSTriggerLog": {
  9971. "get": {
  9972. "security": [
  9973. {
  9974. "ApiKeyAuth": []
  9975. }
  9976. ],
  9977. "produces": [
  9978. "application/json"
  9979. ],
  9980. "tags": [
  9981. "大连千海金"
  9982. ],
  9983. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9984. "parameters": [
  9985. {
  9986. "type": "integer",
  9987. "description": "用户ID",
  9988. "name": "userid",
  9989. "in": "query"
  9990. },
  9991. {
  9992. "type": "integer",
  9993. "description": "定投策略id",
  9994. "name": "regularlystrategyid",
  9995. "in": "query"
  9996. },
  9997. {
  9998. "type": "integer",
  9999. "description": "商品id",
  10000. "name": "goodsid",
  10001. "in": "query"
  10002. },
  10003. {
  10004. "type": "string",
  10005. "description": "开始交易日(yyyymmdd)",
  10006. "name": "begindate",
  10007. "in": "query"
  10008. },
  10009. {
  10010. "type": "string",
  10011. "description": "结束交易日(yyyymmdd)",
  10012. "name": "enddate",
  10013. "in": "query"
  10014. },
  10015. {
  10016. "type": "string",
  10017. "description": "名称(模糊搜索账户)",
  10018. "name": "filtername",
  10019. "in": "query"
  10020. }
  10021. ],
  10022. "responses": {
  10023. "200": {
  10024. "description": "OK",
  10025. "schema": {
  10026. "type": "array",
  10027. "items": {
  10028. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10029. }
  10030. }
  10031. },
  10032. "500": {
  10033. "description": "Internal Server Error",
  10034. "schema": {
  10035. "$ref": "#/definitions/app.Response"
  10036. }
  10037. }
  10038. }
  10039. }
  10040. },
  10041. "/Qhj/QueryRStrategy": {
  10042. "get": {
  10043. "security": [
  10044. {
  10045. "ApiKeyAuth": []
  10046. }
  10047. ],
  10048. "produces": [
  10049. "application/json"
  10050. ],
  10051. "tags": [
  10052. "大连千海金"
  10053. ],
  10054. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10055. "parameters": [
  10056. {
  10057. "type": "integer",
  10058. "description": "用户ID",
  10059. "name": "userid",
  10060. "in": "query"
  10061. },
  10062. {
  10063. "type": "integer",
  10064. "description": "商品id",
  10065. "name": "goodsid",
  10066. "in": "query"
  10067. },
  10068. {
  10069. "type": "string",
  10070. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10071. "name": "status",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "string",
  10076. "description": "名称(模糊搜索账户)",
  10077. "name": "filtername",
  10078. "in": "query"
  10079. }
  10080. ],
  10081. "responses": {
  10082. "200": {
  10083. "description": "OK",
  10084. "schema": {
  10085. "type": "array",
  10086. "items": {
  10087. "$ref": "#/definitions/models.QhjRStrategy"
  10088. }
  10089. }
  10090. },
  10091. "500": {
  10092. "description": "Internal Server Error",
  10093. "schema": {
  10094. "$ref": "#/definitions/app.Response"
  10095. }
  10096. }
  10097. }
  10098. }
  10099. },
  10100. "/Qhj/QueryReckonPriceLog": {
  10101. "get": {
  10102. "security": [
  10103. {
  10104. "ApiKeyAuth": []
  10105. }
  10106. ],
  10107. "produces": [
  10108. "application/json"
  10109. ],
  10110. "tags": [
  10111. "大连千海金"
  10112. ],
  10113. "summary": "查询定投价(结算价)",
  10114. "parameters": [
  10115. {
  10116. "type": "integer",
  10117. "description": "商品ID",
  10118. "name": "goodsid",
  10119. "in": "query"
  10120. },
  10121. {
  10122. "type": "string",
  10123. "description": "交易日 格式(yyyymmdd)",
  10124. "name": "tradedate",
  10125. "in": "query"
  10126. }
  10127. ],
  10128. "responses": {
  10129. "200": {
  10130. "description": "OK",
  10131. "schema": {
  10132. "type": "array",
  10133. "items": {
  10134. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10135. }
  10136. }
  10137. },
  10138. "500": {
  10139. "description": "Internal Server Error",
  10140. "schema": {
  10141. "$ref": "#/definitions/app.Response"
  10142. }
  10143. }
  10144. }
  10145. }
  10146. },
  10147. "/Qhj/QueryScoreLog": {
  10148. "get": {
  10149. "security": [
  10150. {
  10151. "ApiKeyAuth": []
  10152. }
  10153. ],
  10154. "produces": [
  10155. "application/json"
  10156. ],
  10157. "tags": [
  10158. "大连千海金"
  10159. ],
  10160. "summary": "查询积分流水(我的积分)",
  10161. "parameters": [
  10162. {
  10163. "type": "integer",
  10164. "description": "用户ID",
  10165. "name": "userid",
  10166. "in": "query",
  10167. "required": true
  10168. },
  10169. {
  10170. "type": "string",
  10171. "description": "开始交易日(yyyymmdd)",
  10172. "name": "begindate",
  10173. "in": "query"
  10174. },
  10175. {
  10176. "type": "string",
  10177. "description": "结束交易日(yyyymmdd)",
  10178. "name": "enddate",
  10179. "in": "query"
  10180. },
  10181. {
  10182. "type": "integer",
  10183. "description": "最近多少条",
  10184. "name": "lastnum",
  10185. "in": "query"
  10186. }
  10187. ],
  10188. "responses": {
  10189. "200": {
  10190. "description": "OK",
  10191. "schema": {
  10192. "type": "array",
  10193. "items": {
  10194. "$ref": "#/definitions/models.QhjScoreLog"
  10195. }
  10196. }
  10197. },
  10198. "500": {
  10199. "description": "Internal Server Error",
  10200. "schema": {
  10201. "$ref": "#/definitions/app.Response"
  10202. }
  10203. }
  10204. }
  10205. }
  10206. },
  10207. "/Qhj/QuerySiteColumnDetail": {
  10208. "get": {
  10209. "security": [
  10210. {
  10211. "ApiKeyAuth": []
  10212. }
  10213. ],
  10214. "produces": [
  10215. "application/json"
  10216. ],
  10217. "tags": [
  10218. "大连千海金"
  10219. ],
  10220. "summary": "查询资讯",
  10221. "parameters": [
  10222. {
  10223. "type": "integer",
  10224. "description": "用户ID",
  10225. "name": "userid",
  10226. "in": "query",
  10227. "required": true
  10228. }
  10229. ],
  10230. "responses": {
  10231. "200": {
  10232. "description": "OK",
  10233. "schema": {
  10234. "type": "array",
  10235. "items": {
  10236. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10237. }
  10238. }
  10239. },
  10240. "500": {
  10241. "description": "Internal Server Error",
  10242. "schema": {
  10243. "$ref": "#/definitions/app.Response"
  10244. }
  10245. }
  10246. }
  10247. }
  10248. },
  10249. "/Qhj/QueryTradeGoodsPickup": {
  10250. "get": {
  10251. "security": [
  10252. {
  10253. "ApiKeyAuth": []
  10254. }
  10255. ],
  10256. "produces": [
  10257. "application/json"
  10258. ],
  10259. "tags": [
  10260. "大连千海金"
  10261. ],
  10262. "summary": "查询提货",
  10263. "parameters": [
  10264. {
  10265. "type": "integer",
  10266. "description": "用户ID",
  10267. "name": "userid",
  10268. "in": "query",
  10269. "required": true
  10270. },
  10271. {
  10272. "type": "integer",
  10273. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10274. "name": "takeorderstatus",
  10275. "in": "query"
  10276. }
  10277. ],
  10278. "responses": {
  10279. "200": {
  10280. "description": "OK",
  10281. "schema": {
  10282. "type": "array",
  10283. "items": {
  10284. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10285. }
  10286. }
  10287. },
  10288. "500": {
  10289. "description": "Internal Server Error",
  10290. "schema": {
  10291. "$ref": "#/definitions/app.Response"
  10292. }
  10293. }
  10294. }
  10295. }
  10296. },
  10297. "/Qhj/QueryUserCollectConfig": {
  10298. "get": {
  10299. "security": [
  10300. {
  10301. "ApiKeyAuth": []
  10302. }
  10303. ],
  10304. "produces": [
  10305. "application/json"
  10306. ],
  10307. "tags": [
  10308. "大连千海金"
  10309. ],
  10310. "summary": "查询提现账户设置",
  10311. "parameters": [
  10312. {
  10313. "type": "integer",
  10314. "description": "用户ID",
  10315. "name": "userid",
  10316. "in": "query",
  10317. "required": true
  10318. }
  10319. ],
  10320. "responses": {
  10321. "200": {
  10322. "description": "OK",
  10323. "schema": {
  10324. "type": "array",
  10325. "items": {
  10326. "$ref": "#/definitions/models.UserCollectConfig"
  10327. }
  10328. }
  10329. },
  10330. "500": {
  10331. "description": "Internal Server Error",
  10332. "schema": {
  10333. "$ref": "#/definitions/app.Response"
  10334. }
  10335. }
  10336. }
  10337. }
  10338. },
  10339. "/Qhj/QueryUserReceiveInfo": {
  10340. "get": {
  10341. "security": [
  10342. {
  10343. "ApiKeyAuth": []
  10344. }
  10345. ],
  10346. "produces": [
  10347. "application/json"
  10348. ],
  10349. "tags": [
  10350. "大连千海金"
  10351. ],
  10352. "summary": "查询收货地址信息",
  10353. "parameters": [
  10354. {
  10355. "type": "integer",
  10356. "description": "用户ID",
  10357. "name": "userid",
  10358. "in": "query",
  10359. "required": true
  10360. }
  10361. ],
  10362. "responses": {
  10363. "200": {
  10364. "description": "OK",
  10365. "schema": {
  10366. "type": "array",
  10367. "items": {
  10368. "$ref": "#/definitions/models.UserReceiveInfo"
  10369. }
  10370. }
  10371. },
  10372. "500": {
  10373. "description": "Internal Server Error",
  10374. "schema": {
  10375. "$ref": "#/definitions/app.Response"
  10376. }
  10377. }
  10378. }
  10379. }
  10380. },
  10381. "/QhjMgr/QueryAccountInOutApply": {
  10382. "get": {
  10383. "security": [
  10384. {
  10385. "ApiKeyAuth": []
  10386. }
  10387. ],
  10388. "produces": [
  10389. "application/json"
  10390. ],
  10391. "tags": [
  10392. "大连千海金(PCWeb)"
  10393. ],
  10394. "summary": "查询充值提现",
  10395. "parameters": [
  10396. {
  10397. "type": "integer",
  10398. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10399. "name": "querytype",
  10400. "in": "query",
  10401. "required": true
  10402. },
  10403. {
  10404. "type": "integer",
  10405. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10406. "name": "applystatus",
  10407. "in": "query"
  10408. },
  10409. {
  10410. "type": "string",
  10411. "description": "申请起始日期(格式yyyymmdd)",
  10412. "name": "begindate",
  10413. "in": "query"
  10414. },
  10415. {
  10416. "type": "string",
  10417. "description": "申请截止日期(格式yyyymmdd)",
  10418. "name": "enddate",
  10419. "in": "query"
  10420. },
  10421. {
  10422. "type": "string",
  10423. "description": "模糊搜索名称",
  10424. "name": "likename",
  10425. "in": "query"
  10426. }
  10427. ],
  10428. "responses": {
  10429. "200": {
  10430. "description": "OK",
  10431. "schema": {
  10432. "type": "array",
  10433. "items": {
  10434. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10435. }
  10436. }
  10437. },
  10438. "500": {
  10439. "description": "Internal Server Error",
  10440. "schema": {
  10441. "$ref": "#/definitions/app.Response"
  10442. }
  10443. }
  10444. }
  10445. }
  10446. },
  10447. "/QhjMgr/QueryBrokerApply": {
  10448. "get": {
  10449. "security": [
  10450. {
  10451. "ApiKeyAuth": []
  10452. }
  10453. ],
  10454. "produces": [
  10455. "application/json"
  10456. ],
  10457. "tags": [
  10458. "大连千海金(PCWeb)"
  10459. ],
  10460. "summary": "查询经纪人申请",
  10461. "parameters": [
  10462. {
  10463. "type": "integer",
  10464. "description": "所属机构ID",
  10465. "name": "userid",
  10466. "in": "query"
  10467. },
  10468. {
  10469. "type": "string",
  10470. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10471. "name": "filterstatus",
  10472. "in": "query"
  10473. },
  10474. {
  10475. "type": "string",
  10476. "description": "名称(模糊匹配)",
  10477. "name": "filtername",
  10478. "in": "query"
  10479. },
  10480. {
  10481. "type": "integer",
  10482. "description": "是否包含子级 1-包含",
  10483. "name": "includesub",
  10484. "in": "query"
  10485. }
  10486. ],
  10487. "responses": {
  10488. "200": {
  10489. "description": "OK",
  10490. "schema": {
  10491. "type": "array",
  10492. "items": {
  10493. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10494. }
  10495. }
  10496. },
  10497. "500": {
  10498. "description": "Internal Server Error",
  10499. "schema": {
  10500. "$ref": "#/definitions/app.Response"
  10501. }
  10502. }
  10503. }
  10504. }
  10505. },
  10506. "/QhjMgr/QueryBrokerRewardReport": {
  10507. "get": {
  10508. "security": [
  10509. {
  10510. "ApiKeyAuth": []
  10511. }
  10512. ],
  10513. "produces": [
  10514. "application/json"
  10515. ],
  10516. "tags": [
  10517. "大连千海金(PCWeb)"
  10518. ],
  10519. "summary": "查询经纪人奖励报表(废弃)",
  10520. "parameters": [
  10521. {
  10522. "type": "integer",
  10523. "description": "所属机构ID",
  10524. "name": "userid",
  10525. "in": "query",
  10526. "required": true
  10527. },
  10528. {
  10529. "type": "integer",
  10530. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10531. "name": "cycletype",
  10532. "in": "query",
  10533. "required": true
  10534. },
  10535. {
  10536. "type": "string",
  10537. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10538. "name": "cycletime",
  10539. "in": "query",
  10540. "required": true
  10541. },
  10542. {
  10543. "type": "string",
  10544. "description": "名称(模糊匹配)",
  10545. "name": "filtername",
  10546. "in": "query"
  10547. },
  10548. {
  10549. "type": "integer",
  10550. "description": "是否包含子级 1-包含",
  10551. "name": "includesub",
  10552. "in": "query"
  10553. }
  10554. ],
  10555. "responses": {
  10556. "200": {
  10557. "description": "OK",
  10558. "schema": {
  10559. "type": "array",
  10560. "items": {
  10561. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10562. }
  10563. }
  10564. },
  10565. "500": {
  10566. "description": "Internal Server Error",
  10567. "schema": {
  10568. "$ref": "#/definitions/app.Response"
  10569. }
  10570. }
  10571. }
  10572. }
  10573. },
  10574. "/QhjMgr/QueryContract": {
  10575. "get": {
  10576. "security": [
  10577. {
  10578. "ApiKeyAuth": []
  10579. }
  10580. ],
  10581. "produces": [
  10582. "application/json"
  10583. ],
  10584. "tags": [
  10585. "大连千海金(PCWeb)"
  10586. ],
  10587. "summary": "查询融资信息(合同)",
  10588. "parameters": [
  10589. {
  10590. "type": "integer",
  10591. "description": "用户ID",
  10592. "name": "userid",
  10593. "in": "query"
  10594. },
  10595. {
  10596. "type": "integer",
  10597. "description": "商品id",
  10598. "name": "goodsid",
  10599. "in": "query"
  10600. },
  10601. {
  10602. "type": "string",
  10603. "description": "名称(模糊搜索账户)",
  10604. "name": "filtername",
  10605. "in": "query"
  10606. },
  10607. {
  10608. "type": "string",
  10609. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10610. "name": "risklevel",
  10611. "in": "query"
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "开始交易日(yyyymmdd)",
  10616. "name": "begindate",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "string",
  10621. "description": "结束交易日(yyyymmdd)",
  10622. "name": "enddate",
  10623. "in": "query"
  10624. }
  10625. ],
  10626. "responses": {
  10627. "200": {
  10628. "description": "OK",
  10629. "schema": {
  10630. "type": "array",
  10631. "items": {
  10632. "$ref": "#/definitions/models.QhjMgrContract"
  10633. }
  10634. }
  10635. },
  10636. "500": {
  10637. "description": "Internal Server Error",
  10638. "schema": {
  10639. "$ref": "#/definitions/app.Response"
  10640. }
  10641. }
  10642. }
  10643. }
  10644. },
  10645. "/QhjMgr/QueryCustomerInfo": {
  10646. "get": {
  10647. "security": [
  10648. {
  10649. "ApiKeyAuth": []
  10650. }
  10651. ],
  10652. "produces": [
  10653. "application/json"
  10654. ],
  10655. "tags": [
  10656. "大连千海金(PCWeb)"
  10657. ],
  10658. "summary": "查询客户资料",
  10659. "parameters": [
  10660. {
  10661. "type": "integer",
  10662. "description": "用户ID",
  10663. "name": "userid",
  10664. "in": "query",
  10665. "required": true
  10666. },
  10667. {
  10668. "type": "integer",
  10669. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10670. "name": "querytype",
  10671. "in": "query",
  10672. "required": true
  10673. },
  10674. {
  10675. "type": "integer",
  10676. "description": "客户类型 1-个人 2-企业",
  10677. "name": "userinfotype",
  10678. "in": "query"
  10679. },
  10680. {
  10681. "type": "string",
  10682. "description": "客户名称(模糊匹配)",
  10683. "name": "customername",
  10684. "in": "query"
  10685. },
  10686. {
  10687. "type": "string",
  10688. "description": "昵称(模糊匹配)",
  10689. "name": "nickname",
  10690. "in": "query"
  10691. },
  10692. {
  10693. "type": "string",
  10694. "description": "所属客户经理(模糊匹配)",
  10695. "name": "brokername",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "string",
  10700. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10701. "name": "birthday",
  10702. "in": "query"
  10703. },
  10704. {
  10705. "type": "integer",
  10706. "description": "是否包含子级 1-包含",
  10707. "name": "includesub",
  10708. "in": "query"
  10709. }
  10710. ],
  10711. "responses": {
  10712. "200": {
  10713. "description": "OK",
  10714. "schema": {
  10715. "type": "array",
  10716. "items": {
  10717. "$ref": "#/definitions/models.QhjMgrCustomer"
  10718. }
  10719. }
  10720. },
  10721. "500": {
  10722. "description": "Internal Server Error",
  10723. "schema": {
  10724. "$ref": "#/definitions/app.Response"
  10725. }
  10726. }
  10727. }
  10728. }
  10729. },
  10730. "/QhjMgr/QueryPickGoods": {
  10731. "get": {
  10732. "security": [
  10733. {
  10734. "ApiKeyAuth": []
  10735. }
  10736. ],
  10737. "produces": [
  10738. "application/json"
  10739. ],
  10740. "tags": [
  10741. "大连千海金(PCWeb)"
  10742. ],
  10743. "summary": "查询提货商品",
  10744. "parameters": [
  10745. {
  10746. "type": "string",
  10747. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10748. "name": "status",
  10749. "in": "query"
  10750. }
  10751. ],
  10752. "responses": {
  10753. "200": {
  10754. "description": "OK",
  10755. "schema": {
  10756. "type": "array",
  10757. "items": {
  10758. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10759. }
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/QhjMgr/QuerySubArea": {
  10772. "get": {
  10773. "security": [
  10774. {
  10775. "ApiKeyAuth": []
  10776. }
  10777. ],
  10778. "produces": [
  10779. "application/json"
  10780. ],
  10781. "tags": [
  10782. "大连千海金(PCWeb)"
  10783. ],
  10784. "summary": "查询子机构列表",
  10785. "parameters": [
  10786. {
  10787. "type": "integer",
  10788. "description": "用户ID",
  10789. "name": "userid",
  10790. "in": "query",
  10791. "required": true
  10792. }
  10793. ],
  10794. "responses": {
  10795. "200": {
  10796. "description": "OK",
  10797. "schema": {
  10798. "type": "array",
  10799. "items": {
  10800. "$ref": "#/definitions/models.QhjMgrSubArea"
  10801. }
  10802. }
  10803. },
  10804. "500": {
  10805. "description": "Internal Server Error",
  10806. "schema": {
  10807. "$ref": "#/definitions/app.Response"
  10808. }
  10809. }
  10810. }
  10811. }
  10812. },
  10813. "/QhjMgr/QueryTradeDetail": {
  10814. "get": {
  10815. "security": [
  10816. {
  10817. "ApiKeyAuth": []
  10818. }
  10819. ],
  10820. "produces": [
  10821. "application/json"
  10822. ],
  10823. "tags": [
  10824. "大连千海金(PCWeb)"
  10825. ],
  10826. "summary": "查询成交明细",
  10827. "parameters": [
  10828. {
  10829. "type": "integer",
  10830. "description": "用户ID",
  10831. "name": "userid",
  10832. "in": "query",
  10833. "required": true
  10834. },
  10835. {
  10836. "type": "integer",
  10837. "description": "用户类型 1-个人 2-企业",
  10838. "name": "userinfotype",
  10839. "in": "query"
  10840. },
  10841. {
  10842. "type": "integer",
  10843. "description": "交易模式",
  10844. "name": "trademode",
  10845. "in": "query"
  10846. },
  10847. {
  10848. "type": "integer",
  10849. "description": "商品id",
  10850. "name": "goodsid",
  10851. "in": "query"
  10852. },
  10853. {
  10854. "type": "string",
  10855. "description": "名称(模糊搜索账户)",
  10856. "name": "filtername",
  10857. "in": "query"
  10858. },
  10859. {
  10860. "type": "string",
  10861. "description": "开始交易日(yyyymmdd)",
  10862. "name": "begindate",
  10863. "in": "query"
  10864. },
  10865. {
  10866. "type": "string",
  10867. "description": "结束交易日(yyyymmdd)",
  10868. "name": "enddate",
  10869. "in": "query"
  10870. },
  10871. {
  10872. "type": "integer",
  10873. "description": "是否包含子级 1-包含",
  10874. "name": "includesub",
  10875. "in": "query"
  10876. }
  10877. ],
  10878. "responses": {
  10879. "200": {
  10880. "description": "OK",
  10881. "schema": {
  10882. "type": "array",
  10883. "items": {
  10884. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10885. }
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/QhjMgr/QueryTradeOrderDetail": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. }
  10903. ],
  10904. "produces": [
  10905. "application/json"
  10906. ],
  10907. "tags": [
  10908. "大连千海金(PCWeb)"
  10909. ],
  10910. "summary": "查询委托明细",
  10911. "parameters": [
  10912. {
  10913. "type": "integer",
  10914. "description": "用户ID",
  10915. "name": "userid",
  10916. "in": "query",
  10917. "required": true
  10918. },
  10919. {
  10920. "type": "integer",
  10921. "description": "用户类型 1-个人 2-企业",
  10922. "name": "userinfotype",
  10923. "in": "query"
  10924. },
  10925. {
  10926. "type": "integer",
  10927. "description": "交易模式",
  10928. "name": "trademode",
  10929. "in": "query"
  10930. },
  10931. {
  10932. "type": "integer",
  10933. "description": "商品id",
  10934. "name": "goodsid",
  10935. "in": "query"
  10936. },
  10937. {
  10938. "type": "string",
  10939. "description": "名称(模糊搜索账户)",
  10940. "name": "filtername",
  10941. "in": "query"
  10942. },
  10943. {
  10944. "type": "string",
  10945. "description": "开始交易日(yyyymmdd)",
  10946. "name": "begindate",
  10947. "in": "query"
  10948. },
  10949. {
  10950. "type": "string",
  10951. "description": "结束交易日(yyyymmdd)",
  10952. "name": "enddate",
  10953. "in": "query"
  10954. },
  10955. {
  10956. "type": "integer",
  10957. "description": "是否包含子级 1-包含",
  10958. "name": "includesub",
  10959. "in": "query"
  10960. }
  10961. ],
  10962. "responses": {
  10963. "200": {
  10964. "description": "OK",
  10965. "schema": {
  10966. "type": "array",
  10967. "items": {
  10968. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10969. }
  10970. }
  10971. },
  10972. "500": {
  10973. "description": "Internal Server Error",
  10974. "schema": {
  10975. "$ref": "#/definitions/app.Response"
  10976. }
  10977. }
  10978. }
  10979. }
  10980. },
  10981. "/QhjMgr/QueryTradePayOrder": {
  10982. "get": {
  10983. "security": [
  10984. {
  10985. "ApiKeyAuth": []
  10986. }
  10987. ],
  10988. "produces": [
  10989. "application/json"
  10990. ],
  10991. "tags": [
  10992. "大连千海金(PCWeb)"
  10993. ],
  10994. "summary": "查询待付款单",
  10995. "parameters": [
  10996. {
  10997. "type": "integer",
  10998. "description": "用户ID",
  10999. "name": "userid",
  11000. "in": "query",
  11001. "required": true
  11002. },
  11003. {
  11004. "type": "string",
  11005. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11006. "name": "payflag",
  11007. "in": "query"
  11008. },
  11009. {
  11010. "type": "integer",
  11011. "description": "用户类型 1-个人 2-企业",
  11012. "name": "userinfotype",
  11013. "in": "query"
  11014. },
  11015. {
  11016. "type": "integer",
  11017. "description": "交易模式",
  11018. "name": "trademode",
  11019. "in": "query"
  11020. },
  11021. {
  11022. "type": "integer",
  11023. "description": "商品id",
  11024. "name": "goodsid",
  11025. "in": "query"
  11026. },
  11027. {
  11028. "type": "string",
  11029. "description": "名称(模糊搜索账户)",
  11030. "name": "filtername",
  11031. "in": "query"
  11032. },
  11033. {
  11034. "type": "string",
  11035. "description": "开始交易日(yyyymmdd)",
  11036. "name": "begindate",
  11037. "in": "query"
  11038. },
  11039. {
  11040. "type": "string",
  11041. "description": "结束交易日(yyyymmdd)",
  11042. "name": "enddate",
  11043. "in": "query"
  11044. },
  11045. {
  11046. "type": "integer",
  11047. "description": "是否包含子级 1-包含",
  11048. "name": "includesub",
  11049. "in": "query"
  11050. }
  11051. ],
  11052. "responses": {
  11053. "200": {
  11054. "description": "OK",
  11055. "schema": {
  11056. "type": "array",
  11057. "items": {
  11058. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11059. }
  11060. }
  11061. },
  11062. "500": {
  11063. "description": "Internal Server Error",
  11064. "schema": {
  11065. "$ref": "#/definitions/app.Response"
  11066. }
  11067. }
  11068. }
  11069. }
  11070. },
  11071. "/QhjMgr/QueryTradePosition": {
  11072. "get": {
  11073. "security": [
  11074. {
  11075. "ApiKeyAuth": []
  11076. }
  11077. ],
  11078. "produces": [
  11079. "application/json"
  11080. ],
  11081. "tags": [
  11082. "大连千海金(PCWeb)"
  11083. ],
  11084. "summary": "查询持仓汇总",
  11085. "parameters": [
  11086. {
  11087. "type": "integer",
  11088. "description": "用户ID",
  11089. "name": "userid",
  11090. "in": "query",
  11091. "required": true
  11092. },
  11093. {
  11094. "type": "integer",
  11095. "description": "用户类型 1-个人 2-企业",
  11096. "name": "userinfotype",
  11097. "in": "query"
  11098. },
  11099. {
  11100. "type": "integer",
  11101. "description": "交易模式",
  11102. "name": "trademode",
  11103. "in": "query"
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "商品id",
  11108. "name": "goodsid",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "string",
  11113. "description": "名称(模糊搜索账户)",
  11114. "name": "filtername",
  11115. "in": "query"
  11116. },
  11117. {
  11118. "type": "integer",
  11119. "description": "是否包含子级 1-包含",
  11120. "name": "includesub",
  11121. "in": "query"
  11122. }
  11123. ],
  11124. "responses": {
  11125. "200": {
  11126. "description": "OK",
  11127. "schema": {
  11128. "type": "array",
  11129. "items": {
  11130. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11131. }
  11132. }
  11133. },
  11134. "500": {
  11135. "description": "Internal Server Error",
  11136. "schema": {
  11137. "$ref": "#/definitions/app.Response"
  11138. }
  11139. }
  11140. }
  11141. }
  11142. },
  11143. "/QhjSys/QueryAgreementChangeLog": {
  11144. "get": {
  11145. "security": [
  11146. {
  11147. "ApiKeyAuth": []
  11148. }
  11149. ],
  11150. "produces": [
  11151. "application/json"
  11152. ],
  11153. "tags": [
  11154. "大连千海金(协议和签约信息)"
  11155. ],
  11156. "summary": "查询协议配置变更流水",
  11157. "parameters": [
  11158. {
  11159. "type": "integer",
  11160. "description": "协议ID",
  11161. "name": "agreementid",
  11162. "in": "query"
  11163. },
  11164. {
  11165. "type": "integer",
  11166. "description": "协议版本号",
  11167. "name": "agreementversion",
  11168. "in": "query"
  11169. },
  11170. {
  11171. "type": "integer",
  11172. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11173. "name": "agreementtype",
  11174. "in": "query"
  11175. },
  11176. {
  11177. "type": "string",
  11178. "description": "协议编号(模糊匹配)",
  11179. "name": "agreementno",
  11180. "in": "query"
  11181. },
  11182. {
  11183. "type": "string",
  11184. "description": "协议名称(模糊匹配)",
  11185. "name": "agreementname",
  11186. "in": "query"
  11187. }
  11188. ],
  11189. "responses": {
  11190. "200": {
  11191. "description": "OK",
  11192. "schema": {
  11193. "type": "array",
  11194. "items": {
  11195. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11196. }
  11197. }
  11198. },
  11199. "500": {
  11200. "description": "Internal Server Error",
  11201. "schema": {
  11202. "$ref": "#/definitions/app.Response"
  11203. }
  11204. }
  11205. }
  11206. }
  11207. },
  11208. "/QhjSys/QueryAgreementConfig": {
  11209. "get": {
  11210. "security": [
  11211. {
  11212. "ApiKeyAuth": []
  11213. }
  11214. ],
  11215. "produces": [
  11216. "application/json"
  11217. ],
  11218. "tags": [
  11219. "大连千海金(协议和签约信息)"
  11220. ],
  11221. "summary": "查询协议配置",
  11222. "parameters": [
  11223. {
  11224. "type": "integer",
  11225. "description": "协议ID",
  11226. "name": "agreementid",
  11227. "in": "query"
  11228. },
  11229. {
  11230. "type": "integer",
  11231. "description": "协议版本号",
  11232. "name": "agreementversion",
  11233. "in": "query"
  11234. },
  11235. {
  11236. "type": "integer",
  11237. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11238. "name": "agreementtype",
  11239. "in": "query"
  11240. },
  11241. {
  11242. "type": "integer",
  11243. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11244. "name": "isvalid",
  11245. "in": "query"
  11246. },
  11247. {
  11248. "type": "string",
  11249. "description": "协议编号(模糊匹配)",
  11250. "name": "agreementno",
  11251. "in": "query"
  11252. },
  11253. {
  11254. "type": "string",
  11255. "description": "协议名称(模糊匹配)",
  11256. "name": "agreementname",
  11257. "in": "query"
  11258. }
  11259. ],
  11260. "responses": {
  11261. "200": {
  11262. "description": "OK",
  11263. "schema": {
  11264. "type": "array",
  11265. "items": {
  11266. "$ref": "#/definitions/models.QhjAgreementConfig"
  11267. }
  11268. }
  11269. },
  11270. "500": {
  11271. "description": "Internal Server Error",
  11272. "schema": {
  11273. "$ref": "#/definitions/app.Response"
  11274. }
  11275. }
  11276. }
  11277. }
  11278. },
  11279. "/QhjSys/QueryCustomerSignStatus": {
  11280. "get": {
  11281. "security": [
  11282. {
  11283. "ApiKeyAuth": []
  11284. }
  11285. ],
  11286. "produces": [
  11287. "application/json"
  11288. ],
  11289. "tags": [
  11290. "大连千海金(协议和签约信息)"
  11291. ],
  11292. "summary": "查询客户协议签约状态",
  11293. "parameters": [
  11294. {
  11295. "type": "integer",
  11296. "description": "客户ID",
  11297. "name": "userid",
  11298. "in": "query"
  11299. },
  11300. {
  11301. "type": "integer",
  11302. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11303. "name": "nodetype",
  11304. "in": "query"
  11305. },
  11306. {
  11307. "type": "integer",
  11308. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11309. "name": "goodsid",
  11310. "in": "query"
  11311. },
  11312. {
  11313. "type": "string",
  11314. "description": "创建交易日(yyyyMMdd)",
  11315. "name": "tradedate",
  11316. "in": "query"
  11317. },
  11318. {
  11319. "type": "string",
  11320. "description": "用户名称(模糊匹配)",
  11321. "name": "username",
  11322. "in": "query"
  11323. }
  11324. ],
  11325. "responses": {
  11326. "200": {
  11327. "description": "OK",
  11328. "schema": {
  11329. "type": "array",
  11330. "items": {
  11331. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11332. }
  11333. }
  11334. },
  11335. "500": {
  11336. "description": "Internal Server Error",
  11337. "schema": {
  11338. "$ref": "#/definitions/app.Response"
  11339. }
  11340. }
  11341. }
  11342. }
  11343. },
  11344. "/QhjSys/QueryNodeAgreementConfig": {
  11345. "get": {
  11346. "security": [
  11347. {
  11348. "ApiKeyAuth": []
  11349. }
  11350. ],
  11351. "produces": [
  11352. "application/json"
  11353. ],
  11354. "tags": [
  11355. "大连千海金(协议和签约信息)"
  11356. ],
  11357. "summary": "查询协议节点配置",
  11358. "parameters": [
  11359. {
  11360. "type": "integer",
  11361. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11362. "name": "configid",
  11363. "in": "query"
  11364. },
  11365. {
  11366. "type": "integer",
  11367. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11368. "name": "nodetype",
  11369. "in": "query"
  11370. },
  11371. {
  11372. "type": "integer",
  11373. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11374. "name": "goodsid",
  11375. "in": "query"
  11376. },
  11377. {
  11378. "type": "integer",
  11379. "description": "协议ID",
  11380. "name": "agreementid",
  11381. "in": "query"
  11382. },
  11383. {
  11384. "type": "integer",
  11385. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11386. "name": "agreementtype",
  11387. "in": "query"
  11388. },
  11389. {
  11390. "type": "integer",
  11391. "description": "协议版本号",
  11392. "name": "agreementversion",
  11393. "in": "query"
  11394. },
  11395. {
  11396. "type": "string",
  11397. "description": "协议编号(模糊匹配)",
  11398. "name": "agreementno",
  11399. "in": "query"
  11400. },
  11401. {
  11402. "type": "string",
  11403. "description": "协议名称(模糊匹配)",
  11404. "name": "agreementname",
  11405. "in": "query"
  11406. }
  11407. ],
  11408. "responses": {
  11409. "200": {
  11410. "description": "OK",
  11411. "schema": {
  11412. "type": "array",
  11413. "items": {
  11414. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11415. }
  11416. }
  11417. },
  11418. "500": {
  11419. "description": "Internal Server Error",
  11420. "schema": {
  11421. "$ref": "#/definitions/app.Response"
  11422. }
  11423. }
  11424. }
  11425. }
  11426. },
  11427. "/QhjSys/QueryQhjCustomerSignLog": {
  11428. "get": {
  11429. "security": [
  11430. {
  11431. "ApiKeyAuth": []
  11432. }
  11433. ],
  11434. "produces": [
  11435. "application/json"
  11436. ],
  11437. "tags": [
  11438. "大连千海金(协议和签约信息)"
  11439. ],
  11440. "summary": "查询客户协议签约流水",
  11441. "parameters": [
  11442. {
  11443. "type": "integer",
  11444. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11445. "name": "logid",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "integer",
  11450. "description": "客户ID",
  11451. "name": "userid",
  11452. "in": "query"
  11453. },
  11454. {
  11455. "type": "integer",
  11456. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11457. "name": "nodetype",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "integer",
  11462. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11463. "name": "goodsid",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "协议ID",
  11469. "name": "agreementid",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "string",
  11474. "description": "用户名称(模糊匹配)",
  11475. "name": "username",
  11476. "in": "query"
  11477. },
  11478. {
  11479. "type": "string",
  11480. "description": "协议编号(模糊匹配)",
  11481. "name": "agreementno",
  11482. "in": "query"
  11483. },
  11484. {
  11485. "type": "string",
  11486. "description": "协议名称(模糊匹配)",
  11487. "name": "agreementname",
  11488. "in": "query"
  11489. }
  11490. ],
  11491. "responses": {
  11492. "200": {
  11493. "description": "OK",
  11494. "schema": {
  11495. "type": "array",
  11496. "items": {
  11497. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11498. }
  11499. }
  11500. },
  11501. "500": {
  11502. "description": "Internal Server Error",
  11503. "schema": {
  11504. "$ref": "#/definitions/app.Response"
  11505. }
  11506. }
  11507. }
  11508. }
  11509. },
  11510. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11511. "get": {
  11512. "security": [
  11513. {
  11514. "ApiKeyAuth": []
  11515. }
  11516. ],
  11517. "produces": [
  11518. "application/json"
  11519. ],
  11520. "tags": [
  11521. "大连千海金(协议和签约信息)"
  11522. ],
  11523. "summary": "查询用户协议节点配置和状态",
  11524. "parameters": [
  11525. {
  11526. "type": "integer",
  11527. "description": "客户ID",
  11528. "name": "userid",
  11529. "in": "query"
  11530. },
  11531. {
  11532. "type": "integer",
  11533. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11534. "name": "configid",
  11535. "in": "query"
  11536. },
  11537. {
  11538. "type": "string",
  11539. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11540. "name": "nodetype",
  11541. "in": "query"
  11542. },
  11543. {
  11544. "type": "integer",
  11545. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11546. "name": "goodsid",
  11547. "in": "query"
  11548. },
  11549. {
  11550. "type": "integer",
  11551. "description": "协议ID",
  11552. "name": "agreementid",
  11553. "in": "query"
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11558. "name": "agreementtype",
  11559. "in": "query"
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "协议版本号",
  11564. "name": "agreementversion",
  11565. "in": "query"
  11566. },
  11567. {
  11568. "type": "string",
  11569. "description": "协议编号(模糊匹配)",
  11570. "name": "agreementno",
  11571. "in": "query"
  11572. },
  11573. {
  11574. "type": "string",
  11575. "description": "协议名称(模糊匹配)",
  11576. "name": "agreementname",
  11577. "in": "query"
  11578. }
  11579. ],
  11580. "responses": {
  11581. "200": {
  11582. "description": "OK",
  11583. "schema": {
  11584. "type": "array",
  11585. "items": {
  11586. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11587. }
  11588. }
  11589. },
  11590. "500": {
  11591. "description": "Internal Server Error",
  11592. "schema": {
  11593. "$ref": "#/definitions/app.Response"
  11594. }
  11595. }
  11596. }
  11597. }
  11598. },
  11599. "/Quote/QueryHistoryDatas": {
  11600. "get": {
  11601. "security": [
  11602. {
  11603. "ApiKeyAuth": []
  11604. }
  11605. ],
  11606. "produces": [
  11607. "application/json"
  11608. ],
  11609. "tags": [
  11610. "行情服务"
  11611. ],
  11612. "summary": "查询行情历史数据",
  11613. "parameters": [
  11614. {
  11615. "type": "integer",
  11616. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11617. "name": "cycleType",
  11618. "in": "query",
  11619. "required": true
  11620. },
  11621. {
  11622. "type": "string",
  11623. "description": "商品代码",
  11624. "name": "goodsCode",
  11625. "in": "query",
  11626. "required": true
  11627. },
  11628. {
  11629. "type": "string",
  11630. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11631. "name": "startTime",
  11632. "in": "query"
  11633. },
  11634. {
  11635. "type": "string",
  11636. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11637. "name": "endTime",
  11638. "in": "query"
  11639. },
  11640. {
  11641. "type": "integer",
  11642. "description": "条数",
  11643. "name": "count",
  11644. "in": "query"
  11645. },
  11646. {
  11647. "type": "boolean",
  11648. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11649. "name": "isAsc",
  11650. "in": "query"
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "$ref": "#/definitions/quote.HistoryData"
  11658. }
  11659. },
  11660. "500": {
  11661. "description": "Internal Server Error",
  11662. "schema": {
  11663. "$ref": "#/definitions/app.Response"
  11664. }
  11665. }
  11666. }
  11667. }
  11668. },
  11669. "/Quote/QueryHistoryTikDatas": {
  11670. "get": {
  11671. "security": [
  11672. {
  11673. "ApiKeyAuth": []
  11674. }
  11675. ],
  11676. "produces": [
  11677. "application/json"
  11678. ],
  11679. "tags": [
  11680. "行情服务"
  11681. ],
  11682. "summary": "查询行情Tik数据",
  11683. "parameters": [
  11684. {
  11685. "type": "string",
  11686. "description": "商品代码",
  11687. "name": "goodsCode",
  11688. "in": "query",
  11689. "required": true
  11690. },
  11691. {
  11692. "type": "string",
  11693. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11694. "name": "startTime",
  11695. "in": "query"
  11696. },
  11697. {
  11698. "type": "string",
  11699. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11700. "name": "endTime",
  11701. "in": "query"
  11702. },
  11703. {
  11704. "type": "integer",
  11705. "description": "条数",
  11706. "name": "count",
  11707. "in": "query"
  11708. },
  11709. {
  11710. "type": "boolean",
  11711. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11712. "name": "isAsc",
  11713. "in": "query"
  11714. }
  11715. ],
  11716. "responses": {
  11717. "200": {
  11718. "description": "OK",
  11719. "schema": {
  11720. "$ref": "#/definitions/quote.HistoryTikData"
  11721. }
  11722. },
  11723. "500": {
  11724. "description": "Internal Server Error",
  11725. "schema": {
  11726. "$ref": "#/definitions/app.Response"
  11727. }
  11728. }
  11729. }
  11730. }
  11731. },
  11732. "/Quote/QueryQuoteDay": {
  11733. "get": {
  11734. "security": [
  11735. {
  11736. "ApiKeyAuth": []
  11737. }
  11738. ],
  11739. "produces": [
  11740. "application/json"
  11741. ],
  11742. "tags": [
  11743. "行情服务"
  11744. ],
  11745. "summary": "获取商品盘面信息",
  11746. "parameters": [
  11747. {
  11748. "type": "string",
  11749. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11750. "name": "goodsCodes",
  11751. "in": "query"
  11752. }
  11753. ],
  11754. "responses": {
  11755. "200": {
  11756. "description": "OK",
  11757. "schema": {
  11758. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11759. }
  11760. },
  11761. "500": {
  11762. "description": "Internal Server Error",
  11763. "schema": {
  11764. "$ref": "#/definitions/app.Response"
  11765. }
  11766. }
  11767. }
  11768. }
  11769. },
  11770. "/Quote/QueryTSData": {
  11771. "get": {
  11772. "security": [
  11773. {
  11774. "ApiKeyAuth": []
  11775. }
  11776. ],
  11777. "produces": [
  11778. "application/json"
  11779. ],
  11780. "tags": [
  11781. "行情服务"
  11782. ],
  11783. "summary": "分时图数据查询",
  11784. "parameters": [
  11785. {
  11786. "type": "string",
  11787. "description": "商品代码",
  11788. "name": "goodsCode",
  11789. "in": "query",
  11790. "required": true
  11791. }
  11792. ],
  11793. "responses": {
  11794. "200": {
  11795. "description": "OK",
  11796. "schema": {
  11797. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11798. }
  11799. },
  11800. "500": {
  11801. "description": "Internal Server Error",
  11802. "schema": {
  11803. "$ref": "#/definitions/app.Response"
  11804. }
  11805. }
  11806. }
  11807. }
  11808. },
  11809. "/SZDZ/QueryConvertConfig": {
  11810. "get": {
  11811. "security": [
  11812. {
  11813. "ApiKeyAuth": []
  11814. }
  11815. ],
  11816. "produces": [
  11817. "application/json"
  11818. ],
  11819. "tags": [
  11820. "定制【尚志大宗】"
  11821. ],
  11822. "summary": "查询交易系统转换设置",
  11823. "parameters": [
  11824. {
  11825. "type": "integer",
  11826. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11827. "name": "convertType",
  11828. "in": "query"
  11829. },
  11830. {
  11831. "type": "string",
  11832. "description": "外部商品代码[JD\\PD]",
  11833. "name": "outerGoodsCode",
  11834. "in": "query"
  11835. },
  11836. {
  11837. "type": "string",
  11838. "description": "内部商品ID列表[交易],格式:1,2,3",
  11839. "name": "innerGoodsIDs",
  11840. "in": "query"
  11841. }
  11842. ],
  11843. "responses": {
  11844. "200": {
  11845. "description": "OK",
  11846. "schema": {
  11847. "$ref": "#/definitions/models.Szdz3convertconfig"
  11848. }
  11849. },
  11850. "500": {
  11851. "description": "Internal Server Error",
  11852. "schema": {
  11853. "$ref": "#/definitions/app.Response"
  11854. }
  11855. }
  11856. }
  11857. }
  11858. },
  11859. "/SZDZ/QueryConvertLog": {
  11860. "get": {
  11861. "security": [
  11862. {
  11863. "ApiKeyAuth": []
  11864. }
  11865. ],
  11866. "produces": [
  11867. "application/json"
  11868. ],
  11869. "tags": [
  11870. "定制【尚志大宗】"
  11871. ],
  11872. "summary": "交易系统转换流水查询",
  11873. "parameters": [
  11874. {
  11875. "type": "string",
  11876. "description": "资金账户 - 格式:1,2,3",
  11877. "name": "accountID",
  11878. "in": "query",
  11879. "required": true
  11880. },
  11881. {
  11882. "type": "string",
  11883. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11884. "name": "startDate",
  11885. "in": "query"
  11886. },
  11887. {
  11888. "type": "string",
  11889. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11890. "name": "endDate",
  11891. "in": "query"
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/SZDZ/QueryGoodsPickup": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. }
  11916. ],
  11917. "produces": [
  11918. "application/json"
  11919. ],
  11920. "tags": [
  11921. "定制【尚志大宗】"
  11922. ],
  11923. "summary": "商品提货单查询",
  11924. "parameters": [
  11925. {
  11926. "type": "string",
  11927. "description": "资金账户 - 格式:1,2,3",
  11928. "name": "accountID",
  11929. "in": "query",
  11930. "required": true
  11931. },
  11932. {
  11933. "type": "integer",
  11934. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11935. "name": "takeOrderStatus",
  11936. "in": "query"
  11937. }
  11938. ],
  11939. "responses": {
  11940. "200": {
  11941. "description": "OK",
  11942. "schema": {
  11943. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11944. }
  11945. },
  11946. "500": {
  11947. "description": "Internal Server Error",
  11948. "schema": {
  11949. "$ref": "#/definitions/app.Response"
  11950. }
  11951. }
  11952. }
  11953. }
  11954. },
  11955. "/SZDZ/QueryRecieptOrder": {
  11956. "get": {
  11957. "security": [
  11958. {
  11959. "ApiKeyAuth": []
  11960. }
  11961. ],
  11962. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11963. "produces": [
  11964. "application/json"
  11965. ],
  11966. "tags": [
  11967. "定制【尚志大宗】"
  11968. ],
  11969. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11970. "parameters": [
  11971. {
  11972. "type": "integer",
  11973. "description": "页码",
  11974. "name": "page",
  11975. "in": "query"
  11976. },
  11977. {
  11978. "type": "integer",
  11979. "description": "每页条数",
  11980. "name": "pagesize",
  11981. "in": "query"
  11982. },
  11983. {
  11984. "type": "integer",
  11985. "description": "商品ID",
  11986. "name": "goodsID",
  11987. "in": "query",
  11988. "required": true
  11989. },
  11990. {
  11991. "type": "string",
  11992. "description": "所属账户名称",
  11993. "name": "accountName",
  11994. "in": "query"
  11995. },
  11996. {
  11997. "type": "integer",
  11998. "description": "市场ID",
  11999. "name": "marketID",
  12000. "in": "query"
  12001. },
  12002. {
  12003. "type": "integer",
  12004. "description": "方向 - 0:买 1:卖",
  12005. "name": "buyorsell",
  12006. "in": "query",
  12007. "required": true
  12008. }
  12009. ],
  12010. "responses": {
  12011. "200": {
  12012. "description": "OK",
  12013. "schema": {
  12014. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12015. }
  12016. },
  12017. "500": {
  12018. "description": "Internal Server Error",
  12019. "schema": {
  12020. "$ref": "#/definitions/app.Response"
  12021. }
  12022. }
  12023. }
  12024. }
  12025. },
  12026. "/SZDZ/QuerySZDZTradePosition": {
  12027. "get": {
  12028. "security": [
  12029. {
  12030. "ApiKeyAuth": []
  12031. }
  12032. ],
  12033. "produces": [
  12034. "application/json"
  12035. ],
  12036. "tags": [
  12037. "定制【尚志大宗】"
  12038. ],
  12039. "summary": "持仓汇总查询(尚志大宗)",
  12040. "parameters": [
  12041. {
  12042. "type": "integer",
  12043. "description": "资金账户",
  12044. "name": "accountID",
  12045. "in": "query",
  12046. "required": true
  12047. }
  12048. ],
  12049. "responses": {
  12050. "200": {
  12051. "description": "OK",
  12052. "schema": {
  12053. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12054. }
  12055. },
  12056. "500": {
  12057. "description": "Internal Server Error",
  12058. "schema": {
  12059. "$ref": "#/definitions/app.Response"
  12060. }
  12061. }
  12062. }
  12063. }
  12064. },
  12065. "/SZDZ/SearchWhite": {
  12066. "get": {
  12067. "security": [
  12068. {
  12069. "ApiKeyAuth": []
  12070. }
  12071. ],
  12072. "produces": [
  12073. "application/json"
  12074. ],
  12075. "tags": [
  12076. "定制【尚志大宗】"
  12077. ],
  12078. "summary": "搜索白名单",
  12079. "parameters": [
  12080. {
  12081. "type": "integer",
  12082. "description": "用户ID",
  12083. "name": "userID",
  12084. "in": "query",
  12085. "required": true
  12086. }
  12087. ],
  12088. "responses": {
  12089. "200": {
  12090. "description": "OK",
  12091. "schema": {
  12092. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12093. }
  12094. },
  12095. "500": {
  12096. "description": "Internal Server Error",
  12097. "schema": {
  12098. "$ref": "#/definitions/app.Response"
  12099. }
  12100. }
  12101. }
  12102. }
  12103. },
  12104. "/Search/SearchGoodses": {
  12105. "get": {
  12106. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12107. "produces": [
  12108. "application/json"
  12109. ],
  12110. "tags": [
  12111. "检索服务"
  12112. ],
  12113. "summary": "检索商品信息",
  12114. "parameters": [
  12115. {
  12116. "type": "string",
  12117. "description": "检索内容",
  12118. "name": "content",
  12119. "in": "query",
  12120. "required": true
  12121. },
  12122. {
  12123. "type": "string",
  12124. "description": "交易模式,格式:1,2,3",
  12125. "name": "tradeModes",
  12126. "in": "query"
  12127. }
  12128. ],
  12129. "responses": {
  12130. "200": {
  12131. "description": "OK",
  12132. "schema": {
  12133. "$ref": "#/definitions/models.SearchGoods"
  12134. }
  12135. },
  12136. "500": {
  12137. "description": "Internal Server Error",
  12138. "schema": {
  12139. "$ref": "#/definitions/app.Response"
  12140. }
  12141. }
  12142. }
  12143. }
  12144. },
  12145. "/TaAccount/GetTaAccounts": {
  12146. "get": {
  12147. "security": [
  12148. {
  12149. "ApiKeyAuth": []
  12150. }
  12151. ],
  12152. "produces": [
  12153. "application/json"
  12154. ],
  12155. "tags": [
  12156. "资金账户"
  12157. ],
  12158. "summary": "获取资金账户信息",
  12159. "parameters": [
  12160. {
  12161. "type": "integer",
  12162. "description": "登录账户",
  12163. "name": "loginID",
  12164. "in": "query",
  12165. "required": true
  12166. },
  12167. {
  12168. "type": "integer",
  12169. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12170. "name": "taAccountType",
  12171. "in": "query"
  12172. }
  12173. ],
  12174. "responses": {
  12175. "200": {
  12176. "description": "OK",
  12177. "schema": {
  12178. "$ref": "#/definitions/models.Taaccount"
  12179. }
  12180. },
  12181. "500": {
  12182. "description": "Internal Server Error",
  12183. "schema": {
  12184. "$ref": "#/definitions/app.Response"
  12185. }
  12186. }
  12187. }
  12188. }
  12189. },
  12190. "/TaAccount/QueryAmountLog": {
  12191. "get": {
  12192. "security": [
  12193. {
  12194. "ApiKeyAuth": []
  12195. }
  12196. ],
  12197. "produces": [
  12198. "application/json"
  12199. ],
  12200. "tags": [
  12201. "资金账户"
  12202. ],
  12203. "summary": "资金流水查询(当前)",
  12204. "parameters": [
  12205. {
  12206. "type": "integer",
  12207. "description": "页码",
  12208. "name": "page",
  12209. "in": "query"
  12210. },
  12211. {
  12212. "type": "integer",
  12213. "description": "每页条数",
  12214. "name": "pagesize",
  12215. "in": "query"
  12216. },
  12217. {
  12218. "type": "string",
  12219. "description": "资金账户 - 格式:1,2,3",
  12220. "name": "accountID",
  12221. "in": "query",
  12222. "required": true
  12223. },
  12224. {
  12225. "type": "string",
  12226. "description": "资金操作类型 - 格式:1,2,3",
  12227. "name": "OperateType",
  12228. "in": "query"
  12229. }
  12230. ],
  12231. "responses": {
  12232. "200": {
  12233. "description": "OK",
  12234. "schema": {
  12235. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12236. }
  12237. },
  12238. "500": {
  12239. "description": "Internal Server Error",
  12240. "schema": {
  12241. "$ref": "#/definitions/app.Response"
  12242. }
  12243. }
  12244. }
  12245. }
  12246. },
  12247. "/TaAccount/QueryHisAmountLog": {
  12248. "get": {
  12249. "security": [
  12250. {
  12251. "ApiKeyAuth": []
  12252. }
  12253. ],
  12254. "produces": [
  12255. "application/json"
  12256. ],
  12257. "tags": [
  12258. "资金账户"
  12259. ],
  12260. "summary": "资金流水查询(历史)",
  12261. "parameters": [
  12262. {
  12263. "type": "integer",
  12264. "description": "页码",
  12265. "name": "page",
  12266. "in": "query"
  12267. },
  12268. {
  12269. "type": "integer",
  12270. "description": "每页条数",
  12271. "name": "pagesize",
  12272. "in": "query"
  12273. },
  12274. {
  12275. "type": "string",
  12276. "description": "资金账户 - 格式:1,2,3",
  12277. "name": "accountID",
  12278. "in": "query",
  12279. "required": true
  12280. },
  12281. {
  12282. "type": "string",
  12283. "description": "资金操作类型 - 格式:1,2,3",
  12284. "name": "OperateType",
  12285. "in": "query"
  12286. },
  12287. {
  12288. "type": "string",
  12289. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12290. "name": "startDate",
  12291. "in": "query"
  12292. },
  12293. {
  12294. "type": "string",
  12295. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12296. "name": "endDate",
  12297. "in": "query"
  12298. }
  12299. ],
  12300. "responses": {
  12301. "200": {
  12302. "description": "OK",
  12303. "schema": {
  12304. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12305. }
  12306. },
  12307. "500": {
  12308. "description": "Internal Server Error",
  12309. "schema": {
  12310. "$ref": "#/definitions/app.Response"
  12311. }
  12312. }
  12313. }
  12314. }
  12315. },
  12316. "/TaAccount/QueryRelatedTaAccount": {
  12317. "get": {
  12318. "security": [
  12319. {
  12320. "ApiKeyAuth": []
  12321. }
  12322. ],
  12323. "produces": [
  12324. "application/json"
  12325. ],
  12326. "tags": [
  12327. "资金账户"
  12328. ],
  12329. "summary": "查询关联资金账户信息",
  12330. "parameters": [
  12331. {
  12332. "type": "integer",
  12333. "description": "关联UserID",
  12334. "name": "relateduserid",
  12335. "in": "query",
  12336. "required": true
  12337. }
  12338. ],
  12339. "responses": {
  12340. "200": {
  12341. "description": "OK",
  12342. "schema": {
  12343. "type": "array",
  12344. "items": {
  12345. "$ref": "#/definitions/models.RelatedTaAccount"
  12346. }
  12347. }
  12348. },
  12349. "500": {
  12350. "description": "Internal Server Error",
  12351. "schema": {
  12352. "$ref": "#/definitions/app.Response"
  12353. }
  12354. }
  12355. }
  12356. }
  12357. },
  12358. "/Tjmd/QueryQuoteGoodsList": {
  12359. "get": {
  12360. "security": [
  12361. {
  12362. "ApiKeyAuth": []
  12363. }
  12364. ],
  12365. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12366. "produces": [
  12367. "application/json"
  12368. ],
  12369. "tags": [
  12370. "天津麦顿"
  12371. ],
  12372. "summary": "查询掉期报价列表",
  12373. "parameters": [
  12374. {
  12375. "type": "integer",
  12376. "description": "用户类型",
  12377. "name": "usertype",
  12378. "in": "query",
  12379. "required": true
  12380. },
  12381. {
  12382. "type": "string",
  12383. "description": "市场id, 格式 1,2,3",
  12384. "name": "marketids",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "商品组id",
  12390. "name": "goodsgroupid",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "商品id",
  12396. "name": "goodsid",
  12397. "in": "query"
  12398. }
  12399. ],
  12400. "responses": {
  12401. "200": {
  12402. "description": "OK",
  12403. "schema": {
  12404. "type": "array",
  12405. "items": {
  12406. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12407. }
  12408. }
  12409. },
  12410. "500": {
  12411. "description": "Internal Server Error",
  12412. "schema": {
  12413. "$ref": "#/definitions/app.Response"
  12414. }
  12415. }
  12416. }
  12417. }
  12418. },
  12419. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12420. "get": {
  12421. "security": [
  12422. {
  12423. "ApiKeyAuth": []
  12424. }
  12425. ],
  12426. "produces": [
  12427. "application/json"
  12428. ],
  12429. "tags": [
  12430. "天津麦顿"
  12431. ],
  12432. "summary": "掉期商品订单详情(交易确认书)",
  12433. "parameters": [
  12434. {
  12435. "type": "string",
  12436. "description": "成交单号",
  12437. "name": "tradeid",
  12438. "in": "query",
  12439. "required": true
  12440. }
  12441. ],
  12442. "responses": {
  12443. "200": {
  12444. "description": "OK",
  12445. "schema": {
  12446. "type": "array",
  12447. "items": {
  12448. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12449. }
  12450. }
  12451. },
  12452. "500": {
  12453. "description": "Internal Server Error",
  12454. "schema": {
  12455. "$ref": "#/definitions/app.Response"
  12456. }
  12457. }
  12458. }
  12459. }
  12460. },
  12461. "/Tjmd/QueryTjmdMarketSection": {
  12462. "get": {
  12463. "security": [
  12464. {
  12465. "ApiKeyAuth": []
  12466. }
  12467. ],
  12468. "produces": [
  12469. "application/json"
  12470. ],
  12471. "tags": [
  12472. "天津麦顿"
  12473. ],
  12474. "summary": "查询市场板块",
  12475. "responses": {
  12476. "200": {
  12477. "description": "OK",
  12478. "schema": {
  12479. "type": "array",
  12480. "items": {
  12481. "$ref": "#/definitions/models.TjmdMarketSection"
  12482. }
  12483. }
  12484. },
  12485. "500": {
  12486. "description": "Internal Server Error",
  12487. "schema": {
  12488. "$ref": "#/definitions/app.Response"
  12489. }
  12490. }
  12491. }
  12492. }
  12493. },
  12494. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12495. "get": {
  12496. "security": [
  12497. {
  12498. "ApiKeyAuth": []
  12499. }
  12500. ],
  12501. "produces": [
  12502. "application/json"
  12503. ],
  12504. "tags": [
  12505. "天津麦顿"
  12506. ],
  12507. "summary": "查询今日账户保证金配置",
  12508. "parameters": [
  12509. {
  12510. "type": "string",
  12511. "description": "市场id",
  12512. "name": "marketid",
  12513. "in": "query"
  12514. },
  12515. {
  12516. "type": "string",
  12517. "description": "商品id",
  12518. "name": "goodsid",
  12519. "in": "query"
  12520. },
  12521. {
  12522. "type": "string",
  12523. "description": "资金账号",
  12524. "name": "accountid",
  12525. "in": "query"
  12526. }
  12527. ],
  12528. "responses": {
  12529. "200": {
  12530. "description": "OK",
  12531. "schema": {
  12532. "type": "array",
  12533. "items": {
  12534. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12535. }
  12536. }
  12537. },
  12538. "500": {
  12539. "description": "Internal Server Error",
  12540. "schema": {
  12541. "$ref": "#/definitions/app.Response"
  12542. }
  12543. }
  12544. }
  12545. }
  12546. },
  12547. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12548. "get": {
  12549. "security": [
  12550. {
  12551. "ApiKeyAuth": []
  12552. }
  12553. ],
  12554. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12555. "produces": [
  12556. "application/json"
  12557. ],
  12558. "tags": [
  12559. "天津麦顿"
  12560. ],
  12561. "summary": "查询掉期买卖大厅",
  12562. "parameters": [
  12563. {
  12564. "type": "integer",
  12565. "description": "页码",
  12566. "name": "page",
  12567. "in": "query"
  12568. },
  12569. {
  12570. "type": "integer",
  12571. "description": "每页条数",
  12572. "name": "pagesize",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "integer",
  12577. "description": "用户id",
  12578. "name": "userid",
  12579. "in": "query",
  12580. "required": true
  12581. },
  12582. {
  12583. "type": "integer",
  12584. "description": "用户类型",
  12585. "name": "usertype",
  12586. "in": "query",
  12587. "required": true
  12588. },
  12589. {
  12590. "type": "string",
  12591. "description": "市场id, 格式 1,2,3",
  12592. "name": "marketids",
  12593. "in": "query"
  12594. },
  12595. {
  12596. "type": "integer",
  12597. "description": "商品id",
  12598. "name": "goodsid",
  12599. "in": "query",
  12600. "required": true
  12601. },
  12602. {
  12603. "type": "integer",
  12604. "description": "买卖方向 0-买 1-卖",
  12605. "name": "buyorsell",
  12606. "in": "query",
  12607. "required": true
  12608. }
  12609. ],
  12610. "responses": {
  12611. "200": {
  12612. "description": "OK",
  12613. "schema": {
  12614. "type": "array",
  12615. "items": {
  12616. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12617. }
  12618. }
  12619. },
  12620. "500": {
  12621. "description": "Internal Server Error",
  12622. "schema": {
  12623. "$ref": "#/definitions/app.Response"
  12624. }
  12625. }
  12626. }
  12627. }
  12628. },
  12629. "/Tjmd/QueryTjmdTransferApply": {
  12630. "get": {
  12631. "security": [
  12632. {
  12633. "ApiKeyAuth": []
  12634. }
  12635. ],
  12636. "produces": [
  12637. "application/json"
  12638. ],
  12639. "tags": [
  12640. "天津麦顿"
  12641. ],
  12642. "summary": "查询掉期协议单",
  12643. "parameters": [
  12644. {
  12645. "type": "integer",
  12646. "description": "类型 1-我的申请 2-对方申请",
  12647. "name": "applytype",
  12648. "in": "query",
  12649. "required": true
  12650. },
  12651. {
  12652. "type": "string",
  12653. "description": "市场id, 格式 1,2,3",
  12654. "name": "marketids",
  12655. "in": "query"
  12656. },
  12657. {
  12658. "type": "string",
  12659. "description": "资金账号, 格式 25000000001,25000000003",
  12660. "name": "accountids",
  12661. "in": "query"
  12662. },
  12663. {
  12664. "type": "string",
  12665. "description": "开始交易日(yyyymmdd)",
  12666. "name": "begindate",
  12667. "in": "query"
  12668. },
  12669. {
  12670. "type": "string",
  12671. "description": "结束交易日(yyyymmdd)",
  12672. "name": "enddate",
  12673. "in": "query"
  12674. }
  12675. ],
  12676. "responses": {
  12677. "200": {
  12678. "description": "OK",
  12679. "schema": {
  12680. "type": "array",
  12681. "items": {
  12682. "$ref": "#/definitions/models.TjmdTransferApply"
  12683. }
  12684. }
  12685. },
  12686. "500": {
  12687. "description": "Internal Server Error",
  12688. "schema": {
  12689. "$ref": "#/definitions/app.Response"
  12690. }
  12691. }
  12692. }
  12693. }
  12694. },
  12695. "/Trade/QueryRecieptOrder": {
  12696. "get": {
  12697. "security": [
  12698. {
  12699. "ApiKeyAuth": []
  12700. }
  12701. ],
  12702. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12703. "produces": [
  12704. "application/json"
  12705. ],
  12706. "tags": [
  12707. "通用交易"
  12708. ],
  12709. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12710. "parameters": [
  12711. {
  12712. "type": "integer",
  12713. "description": "页码",
  12714. "name": "page",
  12715. "in": "query"
  12716. },
  12717. {
  12718. "type": "integer",
  12719. "description": "每页条数",
  12720. "name": "pagesize",
  12721. "in": "query"
  12722. },
  12723. {
  12724. "type": "integer",
  12725. "description": "商品ID",
  12726. "name": "goodsID",
  12727. "in": "query",
  12728. "required": true
  12729. },
  12730. {
  12731. "type": "string",
  12732. "description": "所属账户名称",
  12733. "name": "accountName",
  12734. "in": "query"
  12735. },
  12736. {
  12737. "type": "integer",
  12738. "description": "市场ID",
  12739. "name": "marketID",
  12740. "in": "query"
  12741. },
  12742. {
  12743. "type": "integer",
  12744. "description": "方向 - 0:买 1:卖",
  12745. "name": "buyorsell",
  12746. "in": "query",
  12747. "required": true
  12748. }
  12749. ],
  12750. "responses": {
  12751. "200": {
  12752. "description": "OK",
  12753. "schema": {
  12754. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12755. }
  12756. },
  12757. "500": {
  12758. "description": "Internal Server Error",
  12759. "schema": {
  12760. "$ref": "#/definitions/app.Response"
  12761. }
  12762. }
  12763. }
  12764. }
  12765. },
  12766. "/User/AddMessageBoard": {
  12767. "post": {
  12768. "security": [
  12769. {
  12770. "ApiKeyAuth": []
  12771. }
  12772. ],
  12773. "produces": [
  12774. "application/json"
  12775. ],
  12776. "tags": [
  12777. "用户信息"
  12778. ],
  12779. "summary": "添加用户留言板信息",
  12780. "parameters": [
  12781. {
  12782. "type": "integer",
  12783. "description": "用户ID",
  12784. "name": "userID",
  12785. "in": "query",
  12786. "required": true
  12787. },
  12788. {
  12789. "type": "string",
  12790. "description": "留言信息",
  12791. "name": "message",
  12792. "in": "query",
  12793. "required": true
  12794. },
  12795. {
  12796. "type": "string",
  12797. "description": "联系电话",
  12798. "name": "contactNum",
  12799. "in": "query",
  12800. "required": true
  12801. }
  12802. ],
  12803. "responses": {
  12804. "200": {
  12805. "description": "OK",
  12806. "schema": {
  12807. "$ref": "#/definitions/app.Response"
  12808. }
  12809. },
  12810. "500": {
  12811. "description": "Internal Server Error",
  12812. "schema": {
  12813. "$ref": "#/definitions/app.Response"
  12814. }
  12815. }
  12816. }
  12817. }
  12818. },
  12819. "/User/AddUserFavoriteGoods": {
  12820. "post": {
  12821. "security": [
  12822. {
  12823. "ApiKeyAuth": []
  12824. }
  12825. ],
  12826. "produces": [
  12827. "application/json"
  12828. ],
  12829. "tags": [
  12830. "用户信息"
  12831. ],
  12832. "summary": "添加用户商品收藏信息",
  12833. "parameters": [
  12834. {
  12835. "type": "integer",
  12836. "description": "用户ID",
  12837. "name": "userID",
  12838. "in": "query",
  12839. "required": true
  12840. },
  12841. {
  12842. "type": "integer",
  12843. "description": "商品ID",
  12844. "name": "goodsID",
  12845. "in": "query",
  12846. "required": true
  12847. }
  12848. ],
  12849. "responses": {
  12850. "200": {
  12851. "description": "OK",
  12852. "schema": {
  12853. "$ref": "#/definitions/app.Response"
  12854. }
  12855. },
  12856. "500": {
  12857. "description": "Internal Server Error",
  12858. "schema": {
  12859. "$ref": "#/definitions/app.Response"
  12860. }
  12861. }
  12862. }
  12863. }
  12864. },
  12865. "/User/GetLoginID": {
  12866. "get": {
  12867. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12868. "produces": [
  12869. "application/json"
  12870. ],
  12871. "tags": [
  12872. "用户信息"
  12873. ],
  12874. "summary": "获取登录ID",
  12875. "parameters": [
  12876. {
  12877. "type": "string",
  12878. "description": "登录代码",
  12879. "name": "username",
  12880. "in": "query",
  12881. "required": true
  12882. }
  12883. ],
  12884. "responses": {
  12885. "200": {
  12886. "description": "OK",
  12887. "schema": {
  12888. "$ref": "#/definitions/app.Response"
  12889. }
  12890. },
  12891. "500": {
  12892. "description": "Internal Server Error",
  12893. "schema": {
  12894. "$ref": "#/definitions/app.Response"
  12895. }
  12896. }
  12897. }
  12898. }
  12899. },
  12900. "/User/GetUserAccount": {
  12901. "get": {
  12902. "security": [
  12903. {
  12904. "ApiKeyAuth": []
  12905. }
  12906. ],
  12907. "produces": [
  12908. "application/json"
  12909. ],
  12910. "tags": [
  12911. "用户信息"
  12912. ],
  12913. "summary": "获取用户账号信息",
  12914. "parameters": [
  12915. {
  12916. "type": "integer",
  12917. "description": "用户ID",
  12918. "name": "userID",
  12919. "in": "query",
  12920. "required": true
  12921. }
  12922. ],
  12923. "responses": {
  12924. "200": {
  12925. "description": "OK",
  12926. "schema": {
  12927. "$ref": "#/definitions/models.Useraccount"
  12928. }
  12929. },
  12930. "500": {
  12931. "description": "Internal Server Error",
  12932. "schema": {
  12933. "$ref": "#/definitions/app.Response"
  12934. }
  12935. }
  12936. }
  12937. }
  12938. },
  12939. "/User/GetUserAuthStatus": {
  12940. "get": {
  12941. "security": [
  12942. {
  12943. "ApiKeyAuth": []
  12944. }
  12945. ],
  12946. "produces": [
  12947. "application/json"
  12948. ],
  12949. "tags": [
  12950. "用户信息"
  12951. ],
  12952. "summary": "获取用户实名认证状态",
  12953. "parameters": [
  12954. {
  12955. "type": "integer",
  12956. "description": "用户ID",
  12957. "name": "userID",
  12958. "in": "query",
  12959. "required": true
  12960. }
  12961. ],
  12962. "responses": {
  12963. "200": {
  12964. "description": "OK",
  12965. "schema": {
  12966. "$ref": "#/definitions/app.Response"
  12967. }
  12968. },
  12969. "500": {
  12970. "description": "Internal Server Error",
  12971. "schema": {
  12972. "$ref": "#/definitions/app.Response"
  12973. }
  12974. }
  12975. }
  12976. }
  12977. },
  12978. "/User/LoginQuery": {
  12979. "get": {
  12980. "security": [
  12981. {
  12982. "ApiKeyAuth": []
  12983. }
  12984. ],
  12985. "produces": [
  12986. "application/json"
  12987. ],
  12988. "tags": [
  12989. "用户信息"
  12990. ],
  12991. "summary": "账户登录后信息查询",
  12992. "parameters": [
  12993. {
  12994. "type": "integer",
  12995. "description": "登录账号",
  12996. "name": "loginID",
  12997. "in": "query",
  12998. "required": true
  12999. }
  13000. ],
  13001. "responses": {
  13002. "200": {
  13003. "description": "OK",
  13004. "schema": {
  13005. "$ref": "#/definitions/user.LoginQueryRsp"
  13006. }
  13007. },
  13008. "500": {
  13009. "description": "Internal Server Error",
  13010. "schema": {
  13011. "$ref": "#/definitions/app.Response"
  13012. }
  13013. }
  13014. }
  13015. }
  13016. },
  13017. "/User/QueryMessageBoard": {
  13018. "get": {
  13019. "security": [
  13020. {
  13021. "ApiKeyAuth": []
  13022. }
  13023. ],
  13024. "produces": [
  13025. "application/json"
  13026. ],
  13027. "tags": [
  13028. "用户信息"
  13029. ],
  13030. "summary": "获取用户留言板信息",
  13031. "parameters": [
  13032. {
  13033. "type": "integer",
  13034. "description": "用户ID",
  13035. "name": "userID",
  13036. "in": "query",
  13037. "required": true
  13038. }
  13039. ],
  13040. "responses": {
  13041. "200": {
  13042. "description": "OK",
  13043. "schema": {
  13044. "$ref": "#/definitions/models.Messageboard"
  13045. }
  13046. },
  13047. "500": {
  13048. "description": "Internal Server Error",
  13049. "schema": {
  13050. "$ref": "#/definitions/app.Response"
  13051. }
  13052. }
  13053. }
  13054. }
  13055. },
  13056. "/User/QueryUserFavoriteGoodses": {
  13057. "get": {
  13058. "security": [
  13059. {
  13060. "ApiKeyAuth": []
  13061. }
  13062. ],
  13063. "produces": [
  13064. "application/json"
  13065. ],
  13066. "tags": [
  13067. "用户信息"
  13068. ],
  13069. "summary": "获取用户商品收藏信息",
  13070. "parameters": [
  13071. {
  13072. "type": "integer",
  13073. "description": "用户ID",
  13074. "name": "userID",
  13075. "in": "query",
  13076. "required": true
  13077. }
  13078. ],
  13079. "responses": {
  13080. "200": {
  13081. "description": "OK",
  13082. "schema": {
  13083. "$ref": "#/definitions/models.Userfavoritegoods"
  13084. }
  13085. },
  13086. "500": {
  13087. "description": "Internal Server Error",
  13088. "schema": {
  13089. "$ref": "#/definitions/app.Response"
  13090. }
  13091. }
  13092. }
  13093. }
  13094. },
  13095. "/User/QueryUserInfo": {
  13096. "get": {
  13097. "security": [
  13098. {
  13099. "ApiKeyAuth": []
  13100. }
  13101. ],
  13102. "produces": [
  13103. "application/json"
  13104. ],
  13105. "tags": [
  13106. "用户信息"
  13107. ],
  13108. "summary": "获取用户信息",
  13109. "parameters": [
  13110. {
  13111. "type": "integer",
  13112. "description": "用户ID",
  13113. "name": "userID",
  13114. "in": "query",
  13115. "required": true
  13116. },
  13117. {
  13118. "type": "boolean",
  13119. "description": "是否解密",
  13120. "name": "isDecrypt",
  13121. "in": "query"
  13122. }
  13123. ],
  13124. "responses": {
  13125. "200": {
  13126. "description": "OK",
  13127. "schema": {
  13128. "$ref": "#/definitions/models.Userinfo"
  13129. }
  13130. },
  13131. "500": {
  13132. "description": "Internal Server Error",
  13133. "schema": {
  13134. "$ref": "#/definitions/app.Response"
  13135. }
  13136. }
  13137. }
  13138. }
  13139. },
  13140. "/User/QueryUserReferNum": {
  13141. "get": {
  13142. "produces": [
  13143. "application/json"
  13144. ],
  13145. "tags": [
  13146. "用户信息"
  13147. ],
  13148. "summary": "获取用户邀请码",
  13149. "parameters": [
  13150. {
  13151. "type": "integer",
  13152. "description": "用户ID",
  13153. "name": "userID",
  13154. "in": "query",
  13155. "required": true
  13156. }
  13157. ],
  13158. "responses": {
  13159. "200": {
  13160. "description": "OK",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. },
  13165. "500": {
  13166. "description": "Internal Server Error",
  13167. "schema": {
  13168. "$ref": "#/definitions/app.Response"
  13169. }
  13170. }
  13171. }
  13172. }
  13173. },
  13174. "/User/RemoveUserFavoriteGoods": {
  13175. "post": {
  13176. "security": [
  13177. {
  13178. "ApiKeyAuth": []
  13179. }
  13180. ],
  13181. "produces": [
  13182. "application/json"
  13183. ],
  13184. "tags": [
  13185. "用户信息"
  13186. ],
  13187. "summary": "移除用户商品收藏信息",
  13188. "parameters": [
  13189. {
  13190. "type": "integer",
  13191. "description": "用户ID",
  13192. "name": "userID",
  13193. "in": "query",
  13194. "required": true
  13195. },
  13196. {
  13197. "type": "integer",
  13198. "description": "商品ID",
  13199. "name": "goodsID",
  13200. "in": "query",
  13201. "required": true
  13202. }
  13203. ],
  13204. "responses": {
  13205. "200": {
  13206. "description": "OK",
  13207. "schema": {
  13208. "$ref": "#/definitions/app.Response"
  13209. }
  13210. },
  13211. "500": {
  13212. "description": "Internal Server Error",
  13213. "schema": {
  13214. "$ref": "#/definitions/app.Response"
  13215. }
  13216. }
  13217. }
  13218. }
  13219. },
  13220. "/User/UpdateUserAccountStatus": {
  13221. "post": {
  13222. "security": [
  13223. {
  13224. "ApiKeyAuth": []
  13225. }
  13226. ],
  13227. "produces": [
  13228. "application/json"
  13229. ],
  13230. "tags": [
  13231. "用户信息"
  13232. ],
  13233. "summary": "更新用户状态",
  13234. "parameters": [
  13235. {
  13236. "type": "integer",
  13237. "description": "用户ID",
  13238. "name": "userID",
  13239. "in": "query",
  13240. "required": true
  13241. },
  13242. {
  13243. "type": "integer",
  13244. "description": "账户状态 - 4:正常 6:注销(停用)",
  13245. "name": "accountStatus",
  13246. "in": "query",
  13247. "required": true
  13248. }
  13249. ],
  13250. "responses": {
  13251. "200": {
  13252. "description": "OK",
  13253. "schema": {
  13254. "$ref": "#/definitions/app.Response"
  13255. }
  13256. },
  13257. "500": {
  13258. "description": "Internal Server Error",
  13259. "schema": {
  13260. "$ref": "#/definitions/app.Response"
  13261. }
  13262. }
  13263. }
  13264. }
  13265. },
  13266. "/WRTrade/GetAllDeliveryGoods": {
  13267. "get": {
  13268. "security": [
  13269. {
  13270. "ApiKeyAuth": []
  13271. }
  13272. ],
  13273. "produces": [
  13274. "application/json"
  13275. ],
  13276. "tags": [
  13277. "仓单贸易",
  13278. "仓单贸易"
  13279. ],
  13280. "summary": "获取带仓单分类的种类信息",
  13281. "responses": {
  13282. "200": {
  13283. "description": "OK",
  13284. "schema": {
  13285. "$ref": "#/definitions/app.Response"
  13286. }
  13287. },
  13288. "500": {
  13289. "description": "Internal Server Error",
  13290. "schema": {
  13291. "$ref": "#/definitions/app.Response"
  13292. }
  13293. }
  13294. }
  13295. }
  13296. },
  13297. "/WrTrade2/InsertXhcpSellBackApply": {
  13298. "post": {
  13299. "security": [
  13300. {
  13301. "ApiKeyAuth": []
  13302. }
  13303. ],
  13304. "produces": [
  13305. "application/json"
  13306. ],
  13307. "tags": [
  13308. "仓单贸易v2"
  13309. ],
  13310. "summary": "新增回收申请(新会陈皮)",
  13311. "parameters": [
  13312. {
  13313. "description": "回收申请",
  13314. "name": "jsonBody",
  13315. "in": "body",
  13316. "required": true,
  13317. "schema": {
  13318. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13319. }
  13320. }
  13321. ],
  13322. "responses": {
  13323. "200": {
  13324. "description": "OK",
  13325. "schema": {
  13326. "$ref": "#/definitions/app.Response"
  13327. }
  13328. },
  13329. "500": {
  13330. "description": "Internal Server Error",
  13331. "schema": {
  13332. "$ref": "#/definitions/app.Response"
  13333. }
  13334. }
  13335. }
  13336. }
  13337. },
  13338. "/WrTrade2/QueryDeliveryGoodsSection": {
  13339. "get": {
  13340. "security": [
  13341. {
  13342. "ApiKeyAuth": []
  13343. }
  13344. ],
  13345. "produces": [
  13346. "application/json"
  13347. ],
  13348. "tags": [
  13349. "仓单贸易v2"
  13350. ],
  13351. "summary": "查询板块(分类)",
  13352. "responses": {
  13353. "200": {
  13354. "description": "OK",
  13355. "schema": {
  13356. "type": "array",
  13357. "items": {
  13358. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13359. }
  13360. }
  13361. },
  13362. "500": {
  13363. "description": "Internal Server Error",
  13364. "schema": {
  13365. "$ref": "#/definitions/app.Response"
  13366. }
  13367. }
  13368. }
  13369. }
  13370. },
  13371. "/WrTrade2/QueryFaProductDetail": {
  13372. "get": {
  13373. "security": [
  13374. {
  13375. "ApiKeyAuth": []
  13376. }
  13377. ],
  13378. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13379. "produces": [
  13380. "application/json"
  13381. ],
  13382. "tags": [
  13383. "仓单贸易v2"
  13384. ],
  13385. "summary": "查询融资产品列表",
  13386. "parameters": [
  13387. {
  13388. "type": "integer",
  13389. "description": "仓单要素id",
  13390. "name": "wrfactortypeid",
  13391. "in": "query",
  13392. "required": true
  13393. }
  13394. ],
  13395. "responses": {
  13396. "200": {
  13397. "description": "OK",
  13398. "schema": {
  13399. "type": "array",
  13400. "items": {
  13401. "$ref": "#/definitions/models.WrFAProductDetail"
  13402. }
  13403. }
  13404. },
  13405. "500": {
  13406. "description": "Internal Server Error",
  13407. "schema": {
  13408. "$ref": "#/definitions/app.Response"
  13409. }
  13410. }
  13411. }
  13412. }
  13413. },
  13414. "/WrTrade2/QueryFilterItem": {
  13415. "get": {
  13416. "security": [
  13417. {
  13418. "ApiKeyAuth": []
  13419. }
  13420. ],
  13421. "produces": [
  13422. "application/json"
  13423. ],
  13424. "tags": [
  13425. "仓单贸易v2"
  13426. ],
  13427. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13428. "parameters": [
  13429. {
  13430. "type": "string",
  13431. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13432. "name": "itype",
  13433. "in": "query",
  13434. "required": true
  13435. }
  13436. ],
  13437. "responses": {
  13438. "200": {
  13439. "description": "OK",
  13440. "schema": {
  13441. "type": "array",
  13442. "items": {
  13443. "$ref": "#/definitions/models.WrFilterItem"
  13444. }
  13445. }
  13446. },
  13447. "500": {
  13448. "description": "Internal Server Error",
  13449. "schema": {
  13450. "$ref": "#/definitions/app.Response"
  13451. }
  13452. }
  13453. }
  13454. }
  13455. },
  13456. "/WrTrade2/QueryFtDeliveryGoods": {
  13457. "get": {
  13458. "security": [
  13459. {
  13460. "ApiKeyAuth": []
  13461. }
  13462. ],
  13463. "produces": [
  13464. "application/json"
  13465. ],
  13466. "tags": [
  13467. "仓单贸易v2"
  13468. ],
  13469. "summary": "查询品种品类筛选框列表",
  13470. "responses": {
  13471. "200": {
  13472. "description": "OK",
  13473. "schema": {
  13474. "type": "array",
  13475. "items": {
  13476. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13477. }
  13478. }
  13479. },
  13480. "500": {
  13481. "description": "Internal Server Error",
  13482. "schema": {
  13483. "$ref": "#/definitions/app.Response"
  13484. }
  13485. }
  13486. }
  13487. }
  13488. },
  13489. "/WrTrade2/QueryHoldLB": {
  13490. "get": {
  13491. "security": [
  13492. {
  13493. "ApiKeyAuth": []
  13494. }
  13495. ],
  13496. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13497. "produces": [
  13498. "application/json"
  13499. ],
  13500. "tags": [
  13501. "仓单贸易v2"
  13502. ],
  13503. "summary": "查询仓单持有记录",
  13504. "parameters": [
  13505. {
  13506. "type": "integer",
  13507. "description": "资金账号",
  13508. "name": "accountid",
  13509. "in": "query",
  13510. "required": true
  13511. },
  13512. {
  13513. "type": "integer",
  13514. "description": "仓库id",
  13515. "name": "warehouseid",
  13516. "in": "query"
  13517. },
  13518. {
  13519. "type": "integer",
  13520. "description": "品种id",
  13521. "name": "deliverygoodsid",
  13522. "in": "query"
  13523. },
  13524. {
  13525. "type": "integer",
  13526. "description": "品类id",
  13527. "name": "wrstandardid",
  13528. "in": "query"
  13529. },
  13530. {
  13531. "type": "integer",
  13532. "description": "仓单要素id",
  13533. "name": "wrfactortypeid",
  13534. "in": "query"
  13535. },
  13536. {
  13537. "type": "string",
  13538. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13539. "name": "dgitemname",
  13540. "in": "query"
  13541. }
  13542. ],
  13543. "responses": {
  13544. "200": {
  13545. "description": "OK",
  13546. "schema": {
  13547. "type": "array",
  13548. "items": {
  13549. "$ref": "#/definitions/models.WrHoldLB"
  13550. }
  13551. }
  13552. },
  13553. "500": {
  13554. "description": "Internal Server Error",
  13555. "schema": {
  13556. "$ref": "#/definitions/app.Response"
  13557. }
  13558. }
  13559. }
  13560. }
  13561. },
  13562. "/WrTrade2/QueryOrderQuote": {
  13563. "get": {
  13564. "security": [
  13565. {
  13566. "ApiKeyAuth": []
  13567. }
  13568. ],
  13569. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13570. "produces": [
  13571. "application/json"
  13572. ],
  13573. "tags": [
  13574. "仓单贸易v2"
  13575. ],
  13576. "summary": "查询大厅行情列表",
  13577. "parameters": [
  13578. {
  13579. "type": "integer",
  13580. "description": "页码",
  13581. "name": "page",
  13582. "in": "query"
  13583. },
  13584. {
  13585. "type": "integer",
  13586. "description": "每页条数",
  13587. "name": "pagesize",
  13588. "in": "query"
  13589. },
  13590. {
  13591. "type": "integer",
  13592. "description": "仓单贸易市场id",
  13593. "name": "marketid",
  13594. "in": "query"
  13595. },
  13596. {
  13597. "type": "integer",
  13598. "description": "价格方式 - 1:固定价 2-浮动价",
  13599. "name": "wrpricetype",
  13600. "in": "query",
  13601. "required": true
  13602. },
  13603. {
  13604. "type": "integer",
  13605. "description": "0:仓单预售 1:仓单贸易",
  13606. "name": "haswr",
  13607. "in": "query"
  13608. },
  13609. {
  13610. "type": "string",
  13611. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13612. "name": "dgitemname",
  13613. "in": "query"
  13614. },
  13615. {
  13616. "type": "integer",
  13617. "description": "仓库id(筛选条件)",
  13618. "name": "warehouseid",
  13619. "in": "query"
  13620. },
  13621. {
  13622. "type": "integer",
  13623. "description": "品种id",
  13624. "name": "deliverygoodsid",
  13625. "in": "query"
  13626. },
  13627. {
  13628. "type": "integer",
  13629. "description": "品类id",
  13630. "name": "wrstandardid",
  13631. "in": "query"
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "品牌id(dgfactoryitemid)",
  13636. "name": "brandid",
  13637. "in": "query"
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "年份id(dgfactoryitemid)",
  13642. "name": "yearsid",
  13643. "in": "query"
  13644. },
  13645. {
  13646. "type": "integer",
  13647. "description": "仓单要素id",
  13648. "name": "wrfactortypeid",
  13649. "in": "query"
  13650. },
  13651. {
  13652. "type": "string",
  13653. "description": "交收月(yyyy-mm) 仓单预售填写",
  13654. "name": "deliverymonth",
  13655. "in": "query"
  13656. }
  13657. ],
  13658. "responses": {
  13659. "200": {
  13660. "description": "OK",
  13661. "schema": {
  13662. "type": "array",
  13663. "items": {
  13664. "$ref": "#/definitions/models.WrOrderQuote"
  13665. }
  13666. }
  13667. },
  13668. "500": {
  13669. "description": "Internal Server Error",
  13670. "schema": {
  13671. "$ref": "#/definitions/app.Response"
  13672. }
  13673. }
  13674. }
  13675. }
  13676. },
  13677. "/WrTrade2/QueryOrderQuoteDetail": {
  13678. "get": {
  13679. "security": [
  13680. {
  13681. "ApiKeyAuth": []
  13682. }
  13683. ],
  13684. "produces": [
  13685. "application/json"
  13686. ],
  13687. "tags": [
  13688. "仓单贸易v2"
  13689. ],
  13690. "summary": "查询买卖大厅",
  13691. "parameters": [
  13692. {
  13693. "type": "integer",
  13694. "description": "页码",
  13695. "name": "page",
  13696. "in": "query"
  13697. },
  13698. {
  13699. "type": "integer",
  13700. "description": "每页条数",
  13701. "name": "pagesize",
  13702. "in": "query"
  13703. },
  13704. {
  13705. "type": "integer",
  13706. "description": "仓单贸易市场id",
  13707. "name": "marketid",
  13708. "in": "query"
  13709. },
  13710. {
  13711. "type": "integer",
  13712. "description": "价格方式 - 1:固定价 2-浮动价",
  13713. "name": "wrpricetype",
  13714. "in": "query",
  13715. "required": true
  13716. },
  13717. {
  13718. "type": "integer",
  13719. "description": "0:仓单预售 1:仓单贸易",
  13720. "name": "haswr",
  13721. "in": "query"
  13722. },
  13723. {
  13724. "type": "integer",
  13725. "description": "仓单要素id",
  13726. "name": "wrfactortypeid",
  13727. "in": "query",
  13728. "required": true
  13729. },
  13730. {
  13731. "type": "integer",
  13732. "description": "期货商品id(浮动价方式时填)",
  13733. "name": "goodsid",
  13734. "in": "query"
  13735. },
  13736. {
  13737. "type": "integer",
  13738. "description": "买卖方向 0-买 1-卖",
  13739. "name": "buyorsell",
  13740. "in": "query",
  13741. "required": true
  13742. },
  13743. {
  13744. "type": "string",
  13745. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13746. "name": "deliverymonth",
  13747. "in": "query"
  13748. }
  13749. ],
  13750. "responses": {
  13751. "200": {
  13752. "description": "OK",
  13753. "schema": {
  13754. "type": "array",
  13755. "items": {
  13756. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13757. }
  13758. }
  13759. },
  13760. "500": {
  13761. "description": "Internal Server Error",
  13762. "schema": {
  13763. "$ref": "#/definitions/app.Response"
  13764. }
  13765. }
  13766. }
  13767. }
  13768. },
  13769. "/WrTrade2/QueryOrderQuoteMyq": {
  13770. "get": {
  13771. "security": [
  13772. {
  13773. "ApiKeyAuth": []
  13774. }
  13775. ],
  13776. "produces": [
  13777. "application/json"
  13778. ],
  13779. "tags": [
  13780. "仓单贸易v2"
  13781. ],
  13782. "summary": "查询贸易圈挂牌大厅",
  13783. "parameters": [
  13784. {
  13785. "type": "integer",
  13786. "description": "页码",
  13787. "name": "page",
  13788. "in": "query"
  13789. },
  13790. {
  13791. "type": "integer",
  13792. "description": "每页条数",
  13793. "name": "pagesize",
  13794. "in": "query"
  13795. },
  13796. {
  13797. "type": "integer",
  13798. "description": "用户id",
  13799. "name": "userid",
  13800. "in": "query",
  13801. "required": true
  13802. },
  13803. {
  13804. "type": "integer",
  13805. "description": "仓单贸易市场id",
  13806. "name": "marketid",
  13807. "in": "query"
  13808. },
  13809. {
  13810. "type": "integer",
  13811. "description": "0:仓单预售 1:仓单贸易",
  13812. "name": "haswr",
  13813. "in": "query"
  13814. },
  13815. {
  13816. "type": "integer",
  13817. "description": "买卖方向 0-买 1-卖",
  13818. "name": "buyorsell",
  13819. "in": "query",
  13820. "required": true
  13821. },
  13822. {
  13823. "type": "integer",
  13824. "description": "品种id",
  13825. "name": "deliverygoodsid",
  13826. "in": "query"
  13827. },
  13828. {
  13829. "type": "integer",
  13830. "description": "品类id",
  13831. "name": "wrstandardid",
  13832. "in": "query"
  13833. },
  13834. {
  13835. "type": "string",
  13836. "description": "交收月(yyyy-mm) 仓单预售填写",
  13837. "name": "deliverymonth",
  13838. "in": "query"
  13839. },
  13840. {
  13841. "type": "string",
  13842. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13843. "name": "dgitemname",
  13844. "in": "query"
  13845. }
  13846. ],
  13847. "responses": {
  13848. "200": {
  13849. "description": "OK",
  13850. "schema": {
  13851. "type": "array",
  13852. "items": {
  13853. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13854. }
  13855. }
  13856. },
  13857. "500": {
  13858. "description": "Internal Server Error",
  13859. "schema": {
  13860. "$ref": "#/definitions/app.Response"
  13861. }
  13862. }
  13863. }
  13864. }
  13865. },
  13866. "/WrTrade2/QueryPerformancePlan": {
  13867. "get": {
  13868. "security": [
  13869. {
  13870. "ApiKeyAuth": []
  13871. }
  13872. ],
  13873. "produces": [
  13874. "application/json"
  13875. ],
  13876. "tags": [
  13877. "仓单贸易v2"
  13878. ],
  13879. "summary": "查询履约信息",
  13880. "parameters": [
  13881. {
  13882. "type": "integer",
  13883. "description": "用户id",
  13884. "name": "userid",
  13885. "in": "query",
  13886. "required": true
  13887. },
  13888. {
  13889. "type": "integer",
  13890. "description": "买卖方向 0-买 1-卖",
  13891. "name": "buyorsell",
  13892. "in": "query",
  13893. "required": true
  13894. },
  13895. {
  13896. "type": "string",
  13897. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13898. "name": "status",
  13899. "in": "query"
  13900. },
  13901. {
  13902. "type": "string",
  13903. "description": "开始交易日(yyyymmdd)",
  13904. "name": "begindate",
  13905. "in": "query"
  13906. },
  13907. {
  13908. "type": "string",
  13909. "description": "结束交易日(yyyymmdd)",
  13910. "name": "enddate",
  13911. "in": "query"
  13912. }
  13913. ],
  13914. "responses": {
  13915. "200": {
  13916. "description": "OK",
  13917. "schema": {
  13918. "type": "array",
  13919. "items": {
  13920. "$ref": "#/definitions/models.WrPerformancePlan"
  13921. }
  13922. }
  13923. },
  13924. "500": {
  13925. "description": "Internal Server Error",
  13926. "schema": {
  13927. "$ref": "#/definitions/app.Response"
  13928. }
  13929. }
  13930. }
  13931. }
  13932. },
  13933. "/WrTrade2/QueryPermancePlanTmp": {
  13934. "get": {
  13935. "security": [
  13936. {
  13937. "ApiKeyAuth": []
  13938. }
  13939. ],
  13940. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13941. "produces": [
  13942. "application/json"
  13943. ],
  13944. "tags": [
  13945. "仓单贸易v2"
  13946. ],
  13947. "summary": "查询履约模板",
  13948. "parameters": [
  13949. {
  13950. "type": "integer",
  13951. "description": "用户id",
  13952. "name": "userid",
  13953. "in": "query"
  13954. },
  13955. {
  13956. "type": "string",
  13957. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13958. "name": "tmptype",
  13959. "in": "query"
  13960. },
  13961. {
  13962. "type": "integer",
  13963. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13964. "name": "includepub",
  13965. "in": "query"
  13966. },
  13967. {
  13968. "type": "integer",
  13969. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13970. "name": "marketid",
  13971. "in": "query"
  13972. }
  13973. ],
  13974. "responses": {
  13975. "200": {
  13976. "description": "OK",
  13977. "schema": {
  13978. "type": "array",
  13979. "items": {
  13980. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13981. }
  13982. }
  13983. },
  13984. "500": {
  13985. "description": "Internal Server Error",
  13986. "schema": {
  13987. "$ref": "#/definitions/app.Response"
  13988. }
  13989. }
  13990. }
  13991. }
  13992. },
  13993. "/WrTrade2/QuerySiteColumnDetail": {
  13994. "get": {
  13995. "security": [
  13996. {
  13997. "ApiKeyAuth": []
  13998. }
  13999. ],
  14000. "produces": [
  14001. "application/json"
  14002. ],
  14003. "tags": [
  14004. "仓单贸易v2"
  14005. ],
  14006. "summary": "查询资讯",
  14007. "parameters": [
  14008. {
  14009. "type": "integer",
  14010. "description": "页码",
  14011. "name": "page",
  14012. "in": "query"
  14013. },
  14014. {
  14015. "type": "integer",
  14016. "description": "每页条数",
  14017. "name": "pagesize",
  14018. "in": "query"
  14019. },
  14020. {
  14021. "type": "integer",
  14022. "description": "所属栏目id",
  14023. "name": "columnid",
  14024. "in": "query"
  14025. }
  14026. ],
  14027. "responses": {
  14028. "200": {
  14029. "description": "OK",
  14030. "schema": {
  14031. "type": "array",
  14032. "items": {
  14033. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14034. }
  14035. }
  14036. },
  14037. "500": {
  14038. "description": "Internal Server Error",
  14039. "schema": {
  14040. "$ref": "#/definitions/app.Response"
  14041. }
  14042. }
  14043. }
  14044. }
  14045. },
  14046. "/WrTrade2/QuerySpotGroupTradeSum": {
  14047. "get": {
  14048. "security": [
  14049. {
  14050. "ApiKeyAuth": []
  14051. }
  14052. ],
  14053. "produces": [
  14054. "application/json"
  14055. ],
  14056. "tags": [
  14057. "仓单贸易v2"
  14058. ],
  14059. "summary": "查询指数",
  14060. "responses": {
  14061. "200": {
  14062. "description": "OK",
  14063. "schema": {
  14064. "type": "array",
  14065. "items": {
  14066. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14067. }
  14068. }
  14069. },
  14070. "500": {
  14071. "description": "Internal Server Error",
  14072. "schema": {
  14073. "$ref": "#/definitions/app.Response"
  14074. }
  14075. }
  14076. }
  14077. }
  14078. },
  14079. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14080. "get": {
  14081. "security": [
  14082. {
  14083. "ApiKeyAuth": []
  14084. }
  14085. ],
  14086. "description": "查询的结果将会按日期 从小到大 排序",
  14087. "produces": [
  14088. "application/json"
  14089. ],
  14090. "tags": [
  14091. "仓单贸易v2"
  14092. ],
  14093. "summary": "查询指数详细(价格走势图)",
  14094. "parameters": [
  14095. {
  14096. "type": "integer",
  14097. "description": "现货商品id",
  14098. "name": "deliverygoodsid",
  14099. "in": "query",
  14100. "required": true
  14101. },
  14102. {
  14103. "type": "integer",
  14104. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14105. "name": "lastnum",
  14106. "in": "query"
  14107. }
  14108. ],
  14109. "responses": {
  14110. "200": {
  14111. "description": "OK",
  14112. "schema": {
  14113. "type": "array",
  14114. "items": {
  14115. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14116. }
  14117. }
  14118. },
  14119. "500": {
  14120. "description": "Internal Server Error",
  14121. "schema": {
  14122. "$ref": "#/definitions/app.Response"
  14123. }
  14124. }
  14125. }
  14126. }
  14127. },
  14128. "/WrTrade2/QueryWrAverageTradePrice": {
  14129. "get": {
  14130. "security": [
  14131. {
  14132. "ApiKeyAuth": []
  14133. }
  14134. ],
  14135. "produces": [
  14136. "application/json"
  14137. ],
  14138. "tags": [
  14139. "仓单贸易v2"
  14140. ],
  14141. "summary": "查询成交价(历史走势)",
  14142. "parameters": [
  14143. {
  14144. "type": "integer",
  14145. "description": "页码",
  14146. "name": "page",
  14147. "in": "query"
  14148. },
  14149. {
  14150. "type": "integer",
  14151. "description": "每页条数",
  14152. "name": "pagesize",
  14153. "in": "query"
  14154. },
  14155. {
  14156. "type": "integer",
  14157. "description": "0:仓单预售 1:仓单贸易",
  14158. "name": "haswr",
  14159. "in": "query",
  14160. "required": true
  14161. },
  14162. {
  14163. "type": "integer",
  14164. "description": "仓单要素id",
  14165. "name": "wrfactortypeid",
  14166. "in": "query",
  14167. "required": true
  14168. }
  14169. ],
  14170. "responses": {
  14171. "200": {
  14172. "description": "OK",
  14173. "schema": {
  14174. "type": "array",
  14175. "items": {
  14176. "$ref": "#/definitions/models.WrAverageTradePrice"
  14177. }
  14178. }
  14179. },
  14180. "500": {
  14181. "description": "Internal Server Error",
  14182. "schema": {
  14183. "$ref": "#/definitions/app.Response"
  14184. }
  14185. }
  14186. }
  14187. }
  14188. },
  14189. "/WrTrade2/QueryWrBrandAndYears": {
  14190. "get": {
  14191. "security": [
  14192. {
  14193. "ApiKeyAuth": []
  14194. }
  14195. ],
  14196. "produces": [
  14197. "application/json"
  14198. ],
  14199. "tags": [
  14200. "仓单贸易v2"
  14201. ],
  14202. "summary": "查询品牌和年份",
  14203. "responses": {
  14204. "200": {
  14205. "description": "OK",
  14206. "schema": {
  14207. "type": "array",
  14208. "items": {
  14209. "$ref": "#/definitions/models.WrBrandAndYears"
  14210. }
  14211. }
  14212. },
  14213. "500": {
  14214. "description": "Internal Server Error",
  14215. "schema": {
  14216. "$ref": "#/definitions/app.Response"
  14217. }
  14218. }
  14219. }
  14220. }
  14221. },
  14222. "/WrTrade2/QueryWrBsGoodsInfo": {
  14223. "get": {
  14224. "security": [
  14225. {
  14226. "ApiKeyAuth": []
  14227. }
  14228. ],
  14229. "description": "合约交易/买卖大厅/详情",
  14230. "produces": [
  14231. "application/json"
  14232. ],
  14233. "tags": [
  14234. "仓单贸易v2"
  14235. ],
  14236. "summary": "查询合约交易买卖大厅详情",
  14237. "parameters": [
  14238. {
  14239. "type": "integer",
  14240. "description": "商品id",
  14241. "name": "goodsid",
  14242. "in": "query",
  14243. "required": true
  14244. }
  14245. ],
  14246. "responses": {
  14247. "200": {
  14248. "description": "OK",
  14249. "schema": {
  14250. "type": "array",
  14251. "items": {
  14252. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14253. }
  14254. }
  14255. },
  14256. "500": {
  14257. "description": "Internal Server Error",
  14258. "schema": {
  14259. "$ref": "#/definitions/app.Response"
  14260. }
  14261. }
  14262. }
  14263. }
  14264. },
  14265. "/WrTrade2/QueryWrBuybackDetail": {
  14266. "get": {
  14267. "security": [
  14268. {
  14269. "ApiKeyAuth": []
  14270. }
  14271. ],
  14272. "produces": [
  14273. "application/json"
  14274. ],
  14275. "tags": [
  14276. "仓单贸易v2"
  14277. ],
  14278. "summary": "查询仓单回购明细",
  14279. "parameters": [
  14280. {
  14281. "type": "integer",
  14282. "description": "融资合同id",
  14283. "name": "scfcontractid",
  14284. "in": "query"
  14285. }
  14286. ],
  14287. "responses": {
  14288. "200": {
  14289. "description": "OK",
  14290. "schema": {
  14291. "type": "array",
  14292. "items": {
  14293. "$ref": "#/definitions/models.WrBuybackDetail"
  14294. }
  14295. }
  14296. },
  14297. "500": {
  14298. "description": "Internal Server Error",
  14299. "schema": {
  14300. "$ref": "#/definitions/app.Response"
  14301. }
  14302. }
  14303. }
  14304. }
  14305. },
  14306. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14307. "get": {
  14308. "security": [
  14309. {
  14310. "ApiKeyAuth": []
  14311. }
  14312. ],
  14313. "produces": [
  14314. "application/json"
  14315. ],
  14316. "tags": [
  14317. "仓单贸易v2"
  14318. ],
  14319. "summary": "查询固定广告配置",
  14320. "responses": {
  14321. "200": {
  14322. "description": "OK",
  14323. "schema": {
  14324. "type": "array",
  14325. "items": {
  14326. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14327. }
  14328. }
  14329. },
  14330. "500": {
  14331. "description": "Internal Server Error",
  14332. "schema": {
  14333. "$ref": "#/definitions/app.Response"
  14334. }
  14335. }
  14336. }
  14337. }
  14338. },
  14339. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14340. "get": {
  14341. "security": [
  14342. {
  14343. "ApiKeyAuth": []
  14344. }
  14345. ],
  14346. "produces": [
  14347. "application/json"
  14348. ],
  14349. "tags": [
  14350. "仓单贸易v2"
  14351. ],
  14352. "summary": "查询合约交收可点选仓单",
  14353. "parameters": [
  14354. {
  14355. "type": "integer",
  14356. "description": "资金账号",
  14357. "name": "accountid",
  14358. "in": "query",
  14359. "required": true
  14360. },
  14361. {
  14362. "type": "integer",
  14363. "description": "商品id",
  14364. "name": "goodsid",
  14365. "in": "query",
  14366. "required": true
  14367. }
  14368. ],
  14369. "responses": {
  14370. "200": {
  14371. "description": "OK",
  14372. "schema": {
  14373. "type": "array",
  14374. "items": {
  14375. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14376. }
  14377. }
  14378. },
  14379. "500": {
  14380. "description": "Internal Server Error",
  14381. "schema": {
  14382. "$ref": "#/definitions/app.Response"
  14383. }
  14384. }
  14385. }
  14386. }
  14387. },
  14388. "/WrTrade2/QueryWrDeliveryDetail": {
  14389. "get": {
  14390. "security": [
  14391. {
  14392. "ApiKeyAuth": []
  14393. }
  14394. ],
  14395. "produces": [
  14396. "application/json"
  14397. ],
  14398. "tags": [
  14399. "仓单贸易v2"
  14400. ],
  14401. "summary": "查询交收",
  14402. "parameters": [
  14403. {
  14404. "type": "integer",
  14405. "description": "用户id",
  14406. "name": "userid",
  14407. "in": "query",
  14408. "required": true
  14409. },
  14410. {
  14411. "type": "integer",
  14412. "description": "资金账号id",
  14413. "name": "accountid",
  14414. "in": "query"
  14415. },
  14416. {
  14417. "type": "string",
  14418. "description": "开始交易日(yyyymmdd)",
  14419. "name": "begindate",
  14420. "in": "query"
  14421. },
  14422. {
  14423. "type": "string",
  14424. "description": "结束交易日(yyyymmdd)",
  14425. "name": "enddate",
  14426. "in": "query"
  14427. }
  14428. ],
  14429. "responses": {
  14430. "200": {
  14431. "description": "OK",
  14432. "schema": {
  14433. "type": "array",
  14434. "items": {
  14435. "$ref": "#/definitions/models.WrDeliveryDetail"
  14436. }
  14437. }
  14438. },
  14439. "500": {
  14440. "description": "Internal Server Error",
  14441. "schema": {
  14442. "$ref": "#/definitions/app.Response"
  14443. }
  14444. }
  14445. }
  14446. }
  14447. },
  14448. "/WrTrade2/QueryWrDraftUserInfo": {
  14449. "get": {
  14450. "security": [
  14451. {
  14452. "ApiKeyAuth": []
  14453. }
  14454. ],
  14455. "produces": [
  14456. "application/json"
  14457. ],
  14458. "tags": [
  14459. "仓单贸易v2"
  14460. ],
  14461. "summary": "查询实名认证信息",
  14462. "parameters": [
  14463. {
  14464. "type": "integer",
  14465. "description": "用户ID",
  14466. "name": "userid",
  14467. "in": "query",
  14468. "required": true
  14469. },
  14470. {
  14471. "type": "integer",
  14472. "description": "用户状态 1:正常 2:注销",
  14473. "name": "userstatus",
  14474. "in": "query"
  14475. }
  14476. ],
  14477. "responses": {
  14478. "200": {
  14479. "description": "OK",
  14480. "schema": {
  14481. "type": "array",
  14482. "items": {
  14483. "$ref": "#/definitions/models.WrDraftUserInfo"
  14484. }
  14485. }
  14486. },
  14487. "500": {
  14488. "description": "Internal Server Error",
  14489. "schema": {
  14490. "$ref": "#/definitions/app.Response"
  14491. }
  14492. }
  14493. }
  14494. }
  14495. },
  14496. "/WrTrade2/QueryWrFactorTypeInfo": {
  14497. "get": {
  14498. "security": [
  14499. {
  14500. "ApiKeyAuth": []
  14501. }
  14502. ],
  14503. "produces": [
  14504. "application/json"
  14505. ],
  14506. "tags": [
  14507. "仓单贸易v2"
  14508. ],
  14509. "summary": "查询仓单要素详细信息",
  14510. "parameters": [
  14511. {
  14512. "type": "integer",
  14513. "description": "仓单要素id",
  14514. "name": "wrfactortypeid",
  14515. "in": "query",
  14516. "required": true
  14517. }
  14518. ],
  14519. "responses": {
  14520. "200": {
  14521. "description": "OK",
  14522. "schema": {
  14523. "type": "array",
  14524. "items": {
  14525. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14526. }
  14527. }
  14528. },
  14529. "500": {
  14530. "description": "Internal Server Error",
  14531. "schema": {
  14532. "$ref": "#/definitions/app.Response"
  14533. }
  14534. }
  14535. }
  14536. }
  14537. },
  14538. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14539. "get": {
  14540. "security": [
  14541. {
  14542. "ApiKeyAuth": []
  14543. }
  14544. ],
  14545. "produces": [
  14546. "application/json"
  14547. ],
  14548. "tags": [
  14549. "仓单贸易v2"
  14550. ],
  14551. "summary": "查询仓单要素详细信息列表项",
  14552. "parameters": [
  14553. {
  14554. "type": "integer",
  14555. "description": "仓单要素id",
  14556. "name": "wrfactortypeid",
  14557. "in": "query",
  14558. "required": true
  14559. }
  14560. ],
  14561. "responses": {
  14562. "200": {
  14563. "description": "OK",
  14564. "schema": {
  14565. "type": "array",
  14566. "items": {
  14567. "$ref": "#/definitions/models.WrTypeItem"
  14568. }
  14569. }
  14570. },
  14571. "500": {
  14572. "description": "Internal Server Error",
  14573. "schema": {
  14574. "$ref": "#/definitions/app.Response"
  14575. }
  14576. }
  14577. }
  14578. }
  14579. },
  14580. "/WrTrade2/QueryWrFinanceBuyApply": {
  14581. "get": {
  14582. "security": [
  14583. {
  14584. "ApiKeyAuth": []
  14585. }
  14586. ],
  14587. "description": "页面 融资信息+ / 申请单",
  14588. "produces": [
  14589. "application/json"
  14590. ],
  14591. "tags": [
  14592. "仓单贸易v2"
  14593. ],
  14594. "summary": "查询融资购买申请",
  14595. "parameters": [
  14596. {
  14597. "type": "integer",
  14598. "description": "用户id",
  14599. "name": "userid",
  14600. "in": "query",
  14601. "required": true
  14602. }
  14603. ],
  14604. "responses": {
  14605. "200": {
  14606. "description": "OK",
  14607. "schema": {
  14608. "type": "array",
  14609. "items": {
  14610. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14611. }
  14612. }
  14613. },
  14614. "500": {
  14615. "description": "Internal Server Error",
  14616. "schema": {
  14617. "$ref": "#/definitions/app.Response"
  14618. }
  14619. }
  14620. }
  14621. }
  14622. },
  14623. "/WrTrade2/QueryWrFriendApply": {
  14624. "get": {
  14625. "security": [
  14626. {
  14627. "ApiKeyAuth": []
  14628. }
  14629. ],
  14630. "produces": [
  14631. "application/json"
  14632. ],
  14633. "tags": [
  14634. "仓单贸易v2"
  14635. ],
  14636. "summary": "查询好友申请记录",
  14637. "parameters": [
  14638. {
  14639. "type": "integer",
  14640. "description": "用户id",
  14641. "name": "userid",
  14642. "in": "query",
  14643. "required": true
  14644. }
  14645. ],
  14646. "responses": {
  14647. "200": {
  14648. "description": "OK",
  14649. "schema": {
  14650. "type": "array",
  14651. "items": {
  14652. "$ref": "#/definitions/models.WrFriendApply"
  14653. }
  14654. }
  14655. },
  14656. "500": {
  14657. "description": "Internal Server Error",
  14658. "schema": {
  14659. "$ref": "#/definitions/app.Response"
  14660. }
  14661. }
  14662. }
  14663. }
  14664. },
  14665. "/WrTrade2/QueryWrGoodsInfo": {
  14666. "get": {
  14667. "security": [
  14668. {
  14669. "ApiKeyAuth": []
  14670. }
  14671. ],
  14672. "produces": [
  14673. "application/json"
  14674. ],
  14675. "tags": [
  14676. "仓单贸易v2"
  14677. ],
  14678. "summary": "查询仓单商品信息",
  14679. "parameters": [
  14680. {
  14681. "type": "integer",
  14682. "description": "仓单贸易市场id",
  14683. "name": "marketid",
  14684. "in": "query"
  14685. },
  14686. {
  14687. "type": "integer",
  14688. "description": "0:仓单预售 1:仓单贸易",
  14689. "name": "haswr",
  14690. "in": "query",
  14691. "required": true
  14692. },
  14693. {
  14694. "type": "integer",
  14695. "description": "仓单要素id",
  14696. "name": "wrfactortypeid",
  14697. "in": "query",
  14698. "required": true
  14699. },
  14700. {
  14701. "type": "integer",
  14702. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14703. "name": "tmplateid",
  14704. "in": "query"
  14705. }
  14706. ],
  14707. "responses": {
  14708. "200": {
  14709. "description": "OK",
  14710. "schema": {
  14711. "type": "array",
  14712. "items": {
  14713. "$ref": "#/definitions/models.WrGoodsInfo"
  14714. }
  14715. }
  14716. },
  14717. "500": {
  14718. "description": "Internal Server Error",
  14719. "schema": {
  14720. "$ref": "#/definitions/app.Response"
  14721. }
  14722. }
  14723. }
  14724. }
  14725. },
  14726. "/WrTrade2/QueryWrMarketTradeConfig": {
  14727. "get": {
  14728. "security": [
  14729. {
  14730. "ApiKeyAuth": []
  14731. }
  14732. ],
  14733. "produces": [
  14734. "application/json"
  14735. ],
  14736. "tags": [
  14737. "仓单贸易v2"
  14738. ],
  14739. "summary": "查询市场交易参数配置",
  14740. "parameters": [
  14741. {
  14742. "type": "integer",
  14743. "description": "市场id",
  14744. "name": "marketid",
  14745. "in": "query"
  14746. }
  14747. ],
  14748. "responses": {
  14749. "200": {
  14750. "description": "OK",
  14751. "schema": {
  14752. "type": "array",
  14753. "items": {
  14754. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14755. }
  14756. }
  14757. },
  14758. "500": {
  14759. "description": "Internal Server Error",
  14760. "schema": {
  14761. "$ref": "#/definitions/app.Response"
  14762. }
  14763. }
  14764. }
  14765. }
  14766. },
  14767. "/WrTrade2/QueryWrOrderDetail": {
  14768. "get": {
  14769. "security": [
  14770. {
  14771. "ApiKeyAuth": []
  14772. }
  14773. ],
  14774. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14775. "produces": [
  14776. "application/json"
  14777. ],
  14778. "tags": [
  14779. "仓单贸易v2"
  14780. ],
  14781. "summary": "查询仓单委托单",
  14782. "parameters": [
  14783. {
  14784. "type": "integer",
  14785. "description": "页码",
  14786. "name": "page",
  14787. "in": "query"
  14788. },
  14789. {
  14790. "type": "integer",
  14791. "description": "每页条数",
  14792. "name": "pagesize",
  14793. "in": "query"
  14794. },
  14795. {
  14796. "type": "integer",
  14797. "description": "用户id",
  14798. "name": "userid",
  14799. "in": "query",
  14800. "required": true
  14801. },
  14802. {
  14803. "type": "integer",
  14804. "description": "仓单贸易市场id",
  14805. "name": "marketid",
  14806. "in": "query"
  14807. },
  14808. {
  14809. "type": "integer",
  14810. "description": "0:仓单预售 1:仓单贸易",
  14811. "name": "haswr",
  14812. "in": "query",
  14813. "required": true
  14814. },
  14815. {
  14816. "type": "integer",
  14817. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14818. "name": "bcancel",
  14819. "in": "query"
  14820. },
  14821. {
  14822. "type": "integer",
  14823. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14824. "name": "wrtradetype",
  14825. "in": "query"
  14826. },
  14827. {
  14828. "type": "string",
  14829. "description": "开始交易日(yyyymmdd)",
  14830. "name": "begindate",
  14831. "in": "query"
  14832. },
  14833. {
  14834. "type": "string",
  14835. "description": "结束交易日(yyyymmdd)",
  14836. "name": "enddate",
  14837. "in": "query"
  14838. }
  14839. ],
  14840. "responses": {
  14841. "200": {
  14842. "description": "OK",
  14843. "schema": {
  14844. "type": "array",
  14845. "items": {
  14846. "$ref": "#/definitions/models.WrOrderDetail"
  14847. }
  14848. }
  14849. },
  14850. "500": {
  14851. "description": "Internal Server Error",
  14852. "schema": {
  14853. "$ref": "#/definitions/app.Response"
  14854. }
  14855. }
  14856. }
  14857. }
  14858. },
  14859. "/WrTrade2/QueryWrOutInApply": {
  14860. "get": {
  14861. "security": [
  14862. {
  14863. "ApiKeyAuth": []
  14864. }
  14865. ],
  14866. "produces": [
  14867. "application/json"
  14868. ],
  14869. "tags": [
  14870. "仓单贸易v2"
  14871. ],
  14872. "summary": "查询提货申请",
  14873. "parameters": [
  14874. {
  14875. "type": "integer",
  14876. "description": "页码",
  14877. "name": "page",
  14878. "in": "query"
  14879. },
  14880. {
  14881. "type": "integer",
  14882. "description": "每页条数",
  14883. "name": "pagesize",
  14884. "in": "query"
  14885. },
  14886. {
  14887. "type": "integer",
  14888. "description": "用户id",
  14889. "name": "userid",
  14890. "in": "query",
  14891. "required": true
  14892. },
  14893. {
  14894. "type": "string",
  14895. "description": "开始交易日(yyyymmdd)",
  14896. "name": "begindate",
  14897. "in": "query"
  14898. },
  14899. {
  14900. "type": "string",
  14901. "description": "结束交易日(yyyymmdd)",
  14902. "name": "enddate",
  14903. "in": "query"
  14904. }
  14905. ],
  14906. "responses": {
  14907. "200": {
  14908. "description": "OK",
  14909. "schema": {
  14910. "type": "array",
  14911. "items": {
  14912. "$ref": "#/definitions/models.WrOutInApply"
  14913. }
  14914. }
  14915. },
  14916. "500": {
  14917. "description": "Internal Server Error",
  14918. "schema": {
  14919. "$ref": "#/definitions/app.Response"
  14920. }
  14921. }
  14922. }
  14923. }
  14924. },
  14925. "/WrTrade2/QueryWrPerformancePlanStep": {
  14926. "get": {
  14927. "security": [
  14928. {
  14929. "ApiKeyAuth": []
  14930. }
  14931. ],
  14932. "produces": [
  14933. "application/json"
  14934. ],
  14935. "tags": [
  14936. "仓单贸易v2"
  14937. ],
  14938. "summary": "查询履约信息详情",
  14939. "parameters": [
  14940. {
  14941. "type": "integer",
  14942. "description": "履约计划id(performanceplanid)",
  14943. "name": "planid",
  14944. "in": "query",
  14945. "required": true
  14946. },
  14947. {
  14948. "type": "integer",
  14949. "description": "当前步骤id",
  14950. "name": "curstepid",
  14951. "in": "query"
  14952. }
  14953. ],
  14954. "responses": {
  14955. "200": {
  14956. "description": "OK",
  14957. "schema": {
  14958. "type": "array",
  14959. "items": {
  14960. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14961. }
  14962. }
  14963. },
  14964. "500": {
  14965. "description": "Internal Server Error",
  14966. "schema": {
  14967. "$ref": "#/definitions/app.Response"
  14968. }
  14969. }
  14970. }
  14971. }
  14972. },
  14973. "/WrTrade2/QueryWrPerformanceStepType": {
  14974. "get": {
  14975. "security": [
  14976. {
  14977. "ApiKeyAuth": []
  14978. }
  14979. ],
  14980. "produces": [
  14981. "application/json"
  14982. ],
  14983. "tags": [
  14984. "仓单贸易v2"
  14985. ],
  14986. "summary": "查询履约步骤枚举",
  14987. "responses": {
  14988. "200": {
  14989. "description": "OK",
  14990. "schema": {
  14991. "type": "array",
  14992. "items": {
  14993. "$ref": "#/definitions/models.WrPerformanceStepType"
  14994. }
  14995. }
  14996. },
  14997. "500": {
  14998. "description": "Internal Server Error",
  14999. "schema": {
  15000. "$ref": "#/definitions/app.Response"
  15001. }
  15002. }
  15003. }
  15004. }
  15005. },
  15006. "/WrTrade2/QueryWrPosition": {
  15007. "get": {
  15008. "security": [
  15009. {
  15010. "ApiKeyAuth": []
  15011. }
  15012. ],
  15013. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15014. "produces": [
  15015. "application/json"
  15016. ],
  15017. "tags": [
  15018. "仓单贸易v2"
  15019. ],
  15020. "summary": "查询现货(预售)仓单持仓",
  15021. "parameters": [
  15022. {
  15023. "type": "integer",
  15024. "description": "用户id",
  15025. "name": "userid",
  15026. "in": "query",
  15027. "required": true
  15028. },
  15029. {
  15030. "type": "integer",
  15031. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15032. "name": "querytype",
  15033. "in": "query",
  15034. "required": true
  15035. },
  15036. {
  15037. "type": "integer",
  15038. "description": "0:仓单预售 1:仓单贸易",
  15039. "name": "haswr",
  15040. "in": "query",
  15041. "required": true
  15042. },
  15043. {
  15044. "type": "string",
  15045. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15046. "name": "dgitemname",
  15047. "in": "query"
  15048. },
  15049. {
  15050. "type": "integer",
  15051. "description": "仓库id(筛选条件)",
  15052. "name": "warehouseid",
  15053. "in": "query"
  15054. },
  15055. {
  15056. "type": "integer",
  15057. "description": "品种id",
  15058. "name": "deliverygoodsid",
  15059. "in": "query"
  15060. },
  15061. {
  15062. "type": "integer",
  15063. "description": "品类id",
  15064. "name": "wrstandardid",
  15065. "in": "query"
  15066. }
  15067. ],
  15068. "responses": {
  15069. "200": {
  15070. "description": "OK",
  15071. "schema": {
  15072. "type": "array",
  15073. "items": {
  15074. "$ref": "#/definitions/models.WrPosition"
  15075. }
  15076. }
  15077. },
  15078. "500": {
  15079. "description": "Internal Server Error",
  15080. "schema": {
  15081. "$ref": "#/definitions/app.Response"
  15082. }
  15083. }
  15084. }
  15085. }
  15086. },
  15087. "/WrTrade2/QueryWrPreSaleInfo": {
  15088. "get": {
  15089. "security": [
  15090. {
  15091. "ApiKeyAuth": []
  15092. }
  15093. ],
  15094. "produces": [
  15095. "application/json"
  15096. ],
  15097. "tags": [
  15098. "仓单贸易v2"
  15099. ],
  15100. "summary": "查询新品发布",
  15101. "parameters": [
  15102. {
  15103. "type": "integer",
  15104. "description": "市场id",
  15105. "name": "marketid",
  15106. "in": "query"
  15107. },
  15108. {
  15109. "type": "string",
  15110. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15111. "name": "presalestatus",
  15112. "in": "query"
  15113. },
  15114. {
  15115. "type": "integer",
  15116. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15117. "name": "lotteryflag",
  15118. "in": "query"
  15119. },
  15120. {
  15121. "type": "integer",
  15122. "description": "最近多少条记录(按创建时间倒序)",
  15123. "name": "lastnum",
  15124. "in": "query"
  15125. }
  15126. ],
  15127. "responses": {
  15128. "200": {
  15129. "description": "OK",
  15130. "schema": {
  15131. "type": "array",
  15132. "items": {
  15133. "$ref": "#/definitions/models.WrPreSaleInfo"
  15134. }
  15135. }
  15136. },
  15137. "500": {
  15138. "description": "Internal Server Error",
  15139. "schema": {
  15140. "$ref": "#/definitions/app.Response"
  15141. }
  15142. }
  15143. }
  15144. }
  15145. },
  15146. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15147. "get": {
  15148. "security": [
  15149. {
  15150. "ApiKeyAuth": []
  15151. }
  15152. ],
  15153. "produces": [
  15154. "application/json"
  15155. ],
  15156. "tags": [
  15157. "仓单贸易v2"
  15158. ],
  15159. "summary": "查询价格走势",
  15160. "parameters": [
  15161. {
  15162. "type": "integer",
  15163. "description": "市场id",
  15164. "name": "marketid",
  15165. "in": "query",
  15166. "required": true
  15167. },
  15168. {
  15169. "type": "integer",
  15170. "description": "现货商品id",
  15171. "name": "wrstandardid",
  15172. "in": "query",
  15173. "required": true
  15174. },
  15175. {
  15176. "type": "string",
  15177. "description": "开始交易日(yyyymmdd)",
  15178. "name": "begindate",
  15179. "in": "query"
  15180. },
  15181. {
  15182. "type": "string",
  15183. "description": "结束交易日(yyyymmdd)",
  15184. "name": "enddate",
  15185. "in": "query"
  15186. },
  15187. {
  15188. "type": "integer",
  15189. "description": "最近多少条记录(按交易日倒序)",
  15190. "name": "lastnum",
  15191. "in": "query"
  15192. },
  15193. {
  15194. "type": "boolean",
  15195. "description": "是否今日",
  15196. "name": "istoday",
  15197. "in": "query"
  15198. }
  15199. ],
  15200. "responses": {
  15201. "200": {
  15202. "description": "OK",
  15203. "schema": {
  15204. "type": "array",
  15205. "items": {
  15206. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15207. }
  15208. }
  15209. },
  15210. "500": {
  15211. "description": "Internal Server Error",
  15212. "schema": {
  15213. "$ref": "#/definitions/app.Response"
  15214. }
  15215. }
  15216. }
  15217. }
  15218. },
  15219. "/WrTrade2/QueryWrScfContract": {
  15220. "get": {
  15221. "security": [
  15222. {
  15223. "ApiKeyAuth": []
  15224. }
  15225. ],
  15226. "produces": [
  15227. "application/json"
  15228. ],
  15229. "tags": [
  15230. "仓单贸易v2"
  15231. ],
  15232. "summary": "查询仓单贸易融资合同",
  15233. "parameters": [
  15234. {
  15235. "type": "integer",
  15236. "description": "用户id",
  15237. "name": "userid",
  15238. "in": "query",
  15239. "required": true
  15240. },
  15241. {
  15242. "type": "integer",
  15243. "description": "融资合同id",
  15244. "name": "scfcontractid",
  15245. "in": "query"
  15246. }
  15247. ],
  15248. "responses": {
  15249. "200": {
  15250. "description": "OK",
  15251. "schema": {
  15252. "type": "array",
  15253. "items": {
  15254. "$ref": "#/definitions/models.WrScfContract"
  15255. }
  15256. }
  15257. },
  15258. "500": {
  15259. "description": "Internal Server Error",
  15260. "schema": {
  15261. "$ref": "#/definitions/app.Response"
  15262. }
  15263. }
  15264. }
  15265. }
  15266. },
  15267. "/WrTrade2/QueryWrScfContractInterest": {
  15268. "get": {
  15269. "security": [
  15270. {
  15271. "ApiKeyAuth": []
  15272. }
  15273. ],
  15274. "produces": [
  15275. "application/json"
  15276. ],
  15277. "tags": [
  15278. "仓单贸易v2"
  15279. ],
  15280. "summary": "查询融资合同费用明细",
  15281. "parameters": [
  15282. {
  15283. "type": "integer",
  15284. "description": "融资合同id",
  15285. "name": "scfcontractid",
  15286. "in": "query"
  15287. }
  15288. ],
  15289. "responses": {
  15290. "200": {
  15291. "description": "OK",
  15292. "schema": {
  15293. "type": "array",
  15294. "items": {
  15295. "$ref": "#/definitions/models.WrScfContractInterest"
  15296. }
  15297. }
  15298. },
  15299. "500": {
  15300. "description": "Internal Server Error",
  15301. "schema": {
  15302. "$ref": "#/definitions/app.Response"
  15303. }
  15304. }
  15305. }
  15306. }
  15307. },
  15308. "/WrTrade2/QueryWrSearchUser": {
  15309. "get": {
  15310. "security": [
  15311. {
  15312. "ApiKeyAuth": []
  15313. }
  15314. ],
  15315. "produces": [
  15316. "application/json"
  15317. ],
  15318. "tags": [
  15319. "仓单贸易v2"
  15320. ],
  15321. "summary": "查询用户",
  15322. "parameters": [
  15323. {
  15324. "type": "string",
  15325. "description": "用户名称(模糊匹配)",
  15326. "name": "username",
  15327. "in": "query",
  15328. "required": true
  15329. }
  15330. ],
  15331. "responses": {
  15332. "200": {
  15333. "description": "OK",
  15334. "schema": {
  15335. "type": "array",
  15336. "items": {
  15337. "$ref": "#/definitions/models.WrSearchUser"
  15338. }
  15339. }
  15340. },
  15341. "500": {
  15342. "description": "Internal Server Error",
  15343. "schema": {
  15344. "$ref": "#/definitions/app.Response"
  15345. }
  15346. }
  15347. }
  15348. }
  15349. },
  15350. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15351. "get": {
  15352. "security": [
  15353. {
  15354. "ApiKeyAuth": []
  15355. }
  15356. ],
  15357. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15358. "produces": [
  15359. "application/json"
  15360. ],
  15361. "tags": [
  15362. "仓单贸易v2"
  15363. ],
  15364. "summary": "查询指定成交",
  15365. "parameters": [
  15366. {
  15367. "type": "integer",
  15368. "description": "页码",
  15369. "name": "page",
  15370. "in": "query"
  15371. },
  15372. {
  15373. "type": "integer",
  15374. "description": "每页条数",
  15375. "name": "pagesize",
  15376. "in": "query"
  15377. },
  15378. {
  15379. "type": "integer",
  15380. "description": "用户id",
  15381. "name": "userid",
  15382. "in": "query",
  15383. "required": true
  15384. },
  15385. {
  15386. "type": "integer",
  15387. "description": "仓单贸易市场id",
  15388. "name": "marketid",
  15389. "in": "query"
  15390. },
  15391. {
  15392. "type": "integer",
  15393. "description": "0:仓单预售 1:仓单贸易",
  15394. "name": "haswr",
  15395. "in": "query",
  15396. "required": true
  15397. },
  15398. {
  15399. "type": "integer",
  15400. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15401. "name": "isspecified",
  15402. "in": "query"
  15403. }
  15404. ],
  15405. "responses": {
  15406. "200": {
  15407. "description": "OK",
  15408. "schema": {
  15409. "type": "array",
  15410. "items": {
  15411. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15412. }
  15413. }
  15414. },
  15415. "500": {
  15416. "description": "Internal Server Error",
  15417. "schema": {
  15418. "$ref": "#/definitions/app.Response"
  15419. }
  15420. }
  15421. }
  15422. }
  15423. },
  15424. "/WrTrade2/QueryWrStandardFactoryItem": {
  15425. "get": {
  15426. "security": [
  15427. {
  15428. "ApiKeyAuth": []
  15429. }
  15430. ],
  15431. "produces": [
  15432. "application/json"
  15433. ],
  15434. "tags": [
  15435. "仓单贸易v2"
  15436. ],
  15437. "summary": "查询品类要素定义项",
  15438. "parameters": [
  15439. {
  15440. "type": "integer",
  15441. "description": "品类id",
  15442. "name": "wrstandardid",
  15443. "in": "query",
  15444. "required": true
  15445. }
  15446. ],
  15447. "responses": {
  15448. "200": {
  15449. "description": "OK",
  15450. "schema": {
  15451. "type": "array",
  15452. "items": {
  15453. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15454. }
  15455. }
  15456. },
  15457. "500": {
  15458. "description": "Internal Server Error",
  15459. "schema": {
  15460. "$ref": "#/definitions/app.Response"
  15461. }
  15462. }
  15463. }
  15464. }
  15465. },
  15466. "/WrTrade2/QueryWrTradeBargainApply": {
  15467. "get": {
  15468. "security": [
  15469. {
  15470. "ApiKeyAuth": []
  15471. }
  15472. ],
  15473. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15474. "produces": [
  15475. "application/json"
  15476. ],
  15477. "tags": [
  15478. "仓单贸易v2"
  15479. ],
  15480. "summary": "查询议价单",
  15481. "parameters": [
  15482. {
  15483. "type": "integer",
  15484. "description": "议价人id(摘牌方)",
  15485. "name": "userid",
  15486. "in": "query"
  15487. },
  15488. {
  15489. "type": "integer",
  15490. "description": "挂牌方id(查对方议价时,填写此项)",
  15491. "name": "matchuserid",
  15492. "in": "query"
  15493. },
  15494. {
  15495. "type": "integer",
  15496. "description": "关联委托单id",
  15497. "name": "wrtradeorderid",
  15498. "in": "query"
  15499. },
  15500. {
  15501. "type": "integer",
  15502. "description": "0:仓单预售 1:仓单贸易",
  15503. "name": "haswr",
  15504. "in": "query",
  15505. "required": true
  15506. },
  15507. {
  15508. "type": "string",
  15509. "description": "开始交易日(yyyymmdd)",
  15510. "name": "begindate",
  15511. "in": "query"
  15512. },
  15513. {
  15514. "type": "string",
  15515. "description": "结束交易日(yyyymmdd)",
  15516. "name": "enddate",
  15517. "in": "query"
  15518. }
  15519. ],
  15520. "responses": {
  15521. "200": {
  15522. "description": "OK",
  15523. "schema": {
  15524. "type": "array",
  15525. "items": {
  15526. "$ref": "#/definitions/models.WRTradeBargainApply"
  15527. }
  15528. }
  15529. },
  15530. "500": {
  15531. "description": "Internal Server Error",
  15532. "schema": {
  15533. "$ref": "#/definitions/app.Response"
  15534. }
  15535. }
  15536. }
  15537. }
  15538. },
  15539. "/WrTrade2/QueryWrTradeDetail": {
  15540. "get": {
  15541. "security": [
  15542. {
  15543. "ApiKeyAuth": []
  15544. }
  15545. ],
  15546. "produces": [
  15547. "application/json"
  15548. ],
  15549. "tags": [
  15550. "仓单贸易v2"
  15551. ],
  15552. "summary": "查询仓单成交明细",
  15553. "parameters": [
  15554. {
  15555. "type": "integer",
  15556. "description": "页码",
  15557. "name": "page",
  15558. "in": "query"
  15559. },
  15560. {
  15561. "type": "integer",
  15562. "description": "每页条数",
  15563. "name": "pagesize",
  15564. "in": "query"
  15565. },
  15566. {
  15567. "type": "integer",
  15568. "description": "用户id",
  15569. "name": "userid",
  15570. "in": "query",
  15571. "required": true
  15572. },
  15573. {
  15574. "type": "integer",
  15575. "description": "仓单贸易市场id",
  15576. "name": "marketid",
  15577. "in": "query"
  15578. },
  15579. {
  15580. "type": "integer",
  15581. "description": "0:仓单预售 1:仓单贸易",
  15582. "name": "haswr",
  15583. "in": "query",
  15584. "required": true
  15585. },
  15586. {
  15587. "type": "string",
  15588. "description": "开始交易日(yyyymmdd)",
  15589. "name": "begindate",
  15590. "in": "query"
  15591. },
  15592. {
  15593. "type": "string",
  15594. "description": "结束交易日(yyyymmdd)",
  15595. "name": "enddate",
  15596. "in": "query"
  15597. }
  15598. ],
  15599. "responses": {
  15600. "200": {
  15601. "description": "OK",
  15602. "schema": {
  15603. "type": "array",
  15604. "items": {
  15605. "$ref": "#/definitions/models.WrTradeDetail"
  15606. }
  15607. }
  15608. },
  15609. "500": {
  15610. "description": "Internal Server Error",
  15611. "schema": {
  15612. "$ref": "#/definitions/app.Response"
  15613. }
  15614. }
  15615. }
  15616. }
  15617. },
  15618. "/WrTrade2/QueryWrTradeOrderDetail": {
  15619. "get": {
  15620. "security": [
  15621. {
  15622. "ApiKeyAuth": []
  15623. }
  15624. ],
  15625. "produces": [
  15626. "application/json"
  15627. ],
  15628. "tags": [
  15629. "仓单贸易v2"
  15630. ],
  15631. "summary": "查询合约交易买卖大厅",
  15632. "parameters": [
  15633. {
  15634. "type": "integer",
  15635. "description": "页码",
  15636. "name": "page",
  15637. "in": "query"
  15638. },
  15639. {
  15640. "type": "integer",
  15641. "description": "每页条数",
  15642. "name": "pagesize",
  15643. "in": "query"
  15644. },
  15645. {
  15646. "type": "integer",
  15647. "description": "商品id",
  15648. "name": "goodsid",
  15649. "in": "query",
  15650. "required": true
  15651. },
  15652. {
  15653. "type": "integer",
  15654. "description": "买卖方向 0-买 1-卖",
  15655. "name": "buyorsell",
  15656. "in": "query",
  15657. "required": true
  15658. }
  15659. ],
  15660. "responses": {
  15661. "200": {
  15662. "description": "OK",
  15663. "schema": {
  15664. "type": "array",
  15665. "items": {
  15666. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15667. }
  15668. }
  15669. },
  15670. "500": {
  15671. "description": "Internal Server Error",
  15672. "schema": {
  15673. "$ref": "#/definitions/app.Response"
  15674. }
  15675. }
  15676. }
  15677. }
  15678. },
  15679. "/WrTrade2/QueryWrTradeQuote": {
  15680. "get": {
  15681. "security": [
  15682. {
  15683. "ApiKeyAuth": []
  15684. }
  15685. ],
  15686. "produces": [
  15687. "application/json"
  15688. ],
  15689. "tags": [
  15690. "仓单贸易v2"
  15691. ],
  15692. "summary": "查询仓单贸易成交行情",
  15693. "parameters": [
  15694. {
  15695. "type": "integer",
  15696. "description": "现货商品id",
  15697. "name": "wrstandardid",
  15698. "in": "query",
  15699. "required": true
  15700. },
  15701. {
  15702. "type": "string",
  15703. "description": "开始日期(yyyymmdd)",
  15704. "name": "begindate",
  15705. "in": "query",
  15706. "required": true
  15707. },
  15708. {
  15709. "type": "string",
  15710. "description": "结束日期(yyyymmdd)",
  15711. "name": "enddate",
  15712. "in": "query",
  15713. "required": true
  15714. },
  15715. {
  15716. "type": "integer",
  15717. "description": "市场id",
  15718. "name": "marketid",
  15719. "in": "query"
  15720. }
  15721. ],
  15722. "responses": {
  15723. "200": {
  15724. "description": "OK",
  15725. "schema": {
  15726. "type": "array",
  15727. "items": {
  15728. "$ref": "#/definitions/models.Wrtradetradequote"
  15729. }
  15730. }
  15731. },
  15732. "500": {
  15733. "description": "Internal Server Error",
  15734. "schema": {
  15735. "$ref": "#/definitions/app.Response"
  15736. }
  15737. }
  15738. }
  15739. }
  15740. },
  15741. "/WrTrade2/QueryWrUserFriend": {
  15742. "get": {
  15743. "security": [
  15744. {
  15745. "ApiKeyAuth": []
  15746. }
  15747. ],
  15748. "produces": [
  15749. "application/json"
  15750. ],
  15751. "tags": [
  15752. "仓单贸易v2"
  15753. ],
  15754. "summary": "查询我的朋友",
  15755. "parameters": [
  15756. {
  15757. "type": "integer",
  15758. "description": "用户id",
  15759. "name": "userid",
  15760. "in": "query",
  15761. "required": true
  15762. },
  15763. {
  15764. "type": "integer",
  15765. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15766. "name": "newuserid",
  15767. "in": "query"
  15768. }
  15769. ],
  15770. "responses": {
  15771. "200": {
  15772. "description": "OK",
  15773. "schema": {
  15774. "type": "array",
  15775. "items": {
  15776. "$ref": "#/definitions/models.WrUserFriend"
  15777. }
  15778. }
  15779. },
  15780. "500": {
  15781. "description": "Internal Server Error",
  15782. "schema": {
  15783. "$ref": "#/definitions/app.Response"
  15784. }
  15785. }
  15786. }
  15787. }
  15788. },
  15789. "/WrTrade2/QueryWrUserReceiptInfo": {
  15790. "get": {
  15791. "security": [
  15792. {
  15793. "ApiKeyAuth": []
  15794. }
  15795. ],
  15796. "produces": [
  15797. "application/json"
  15798. ],
  15799. "tags": [
  15800. "仓单贸易v2"
  15801. ],
  15802. "summary": "查询发票信息",
  15803. "parameters": [
  15804. {
  15805. "type": "integer",
  15806. "description": "用户id",
  15807. "name": "userid",
  15808. "in": "query"
  15809. },
  15810. {
  15811. "type": "integer",
  15812. "description": "发票类型 - 1:个人 2:企业",
  15813. "name": "receipttype",
  15814. "in": "query"
  15815. }
  15816. ],
  15817. "responses": {
  15818. "200": {
  15819. "description": "OK",
  15820. "schema": {
  15821. "type": "array",
  15822. "items": {
  15823. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15824. }
  15825. }
  15826. },
  15827. "500": {
  15828. "description": "Internal Server Error",
  15829. "schema": {
  15830. "$ref": "#/definitions/app.Response"
  15831. }
  15832. }
  15833. }
  15834. }
  15835. },
  15836. "/WrTrade2/QueryXhcpSellBackApply": {
  15837. "get": {
  15838. "security": [
  15839. {
  15840. "ApiKeyAuth": []
  15841. }
  15842. ],
  15843. "produces": [
  15844. "application/json"
  15845. ],
  15846. "tags": [
  15847. "仓单贸易v2"
  15848. ],
  15849. "summary": "查询我的回收申请(新会陈皮)",
  15850. "parameters": [
  15851. {
  15852. "type": "integer",
  15853. "description": "用户ID",
  15854. "name": "userid",
  15855. "in": "query",
  15856. "required": true
  15857. }
  15858. ],
  15859. "responses": {
  15860. "200": {
  15861. "description": "OK",
  15862. "schema": {
  15863. "type": "array",
  15864. "items": {
  15865. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15866. }
  15867. }
  15868. },
  15869. "500": {
  15870. "description": "Internal Server Error",
  15871. "schema": {
  15872. "$ref": "#/definitions/app.Response"
  15873. }
  15874. }
  15875. }
  15876. }
  15877. },
  15878. "/ZJ/GetBankTip": {
  15879. "get": {
  15880. "produces": [
  15881. "application/json"
  15882. ],
  15883. "tags": [
  15884. "中江"
  15885. ],
  15886. "summary": "获取中江网银端出入金提示信息",
  15887. "responses": {
  15888. "200": {
  15889. "description": "OK",
  15890. "schema": {
  15891. "type": "string"
  15892. }
  15893. },
  15894. "500": {
  15895. "description": "Internal Server Error",
  15896. "schema": {
  15897. "$ref": "#/definitions/app.Response"
  15898. }
  15899. }
  15900. }
  15901. }
  15902. },
  15903. "/ZJ/GetCusBankChannels": {
  15904. "get": {
  15905. "produces": [
  15906. "application/json"
  15907. ],
  15908. "tags": [
  15909. "中江"
  15910. ],
  15911. "summary": "获取中江出入金渠道显示列表",
  15912. "responses": {
  15913. "200": {
  15914. "description": "OK",
  15915. "schema": {
  15916. "type": "array",
  15917. "items": {
  15918. "type": "string"
  15919. }
  15920. }
  15921. },
  15922. "500": {
  15923. "description": "Internal Server Error",
  15924. "schema": {
  15925. "$ref": "#/definitions/app.Response"
  15926. }
  15927. }
  15928. }
  15929. }
  15930. }
  15931. },
  15932. "definitions": {
  15933. "app.Response": {
  15934. "type": "object",
  15935. "properties": {
  15936. "code": {
  15937. "type": "integer"
  15938. },
  15939. "data": {},
  15940. "msg": {
  15941. "type": "string"
  15942. },
  15943. "page": {
  15944. "description": "页码",
  15945. "type": "integer"
  15946. },
  15947. "pagesize": {
  15948. "description": "每页条数",
  15949. "type": "integer"
  15950. },
  15951. "total": {
  15952. "description": "总条数",
  15953. "type": "integer"
  15954. }
  15955. }
  15956. },
  15957. "common.ClientMenu": {
  15958. "type": "object",
  15959. "properties": {
  15960. "children": {
  15961. "description": "子菜单列表",
  15962. "type": "array",
  15963. "items": {
  15964. "$ref": "#/definitions/common.ClientMenu"
  15965. }
  15966. },
  15967. "code": {
  15968. "description": "ID",
  15969. "type": "string"
  15970. },
  15971. "isshow": {
  15972. "description": "是否显示",
  15973. "type": "boolean"
  15974. },
  15975. "remark": {
  15976. "description": "备注",
  15977. "type": "string"
  15978. },
  15979. "rulekey": {
  15980. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15981. "type": "string"
  15982. },
  15983. "sort": {
  15984. "description": "排序",
  15985. "type": "integer"
  15986. },
  15987. "title": {
  15988. "description": "标题",
  15989. "type": "string"
  15990. },
  15991. "type": {
  15992. "description": "类型,1:菜单 2:按钮",
  15993. "type": "integer"
  15994. },
  15995. "url": {
  15996. "description": "URL",
  15997. "type": "string"
  15998. }
  15999. }
  16000. },
  16001. "common.PCWebMenu": {
  16002. "type": "object",
  16003. "properties": {
  16004. "auth": {
  16005. "description": "页面权限列表",
  16006. "type": "array",
  16007. "items": {
  16008. "$ref": "#/definitions/common.PCWebMenuAuth"
  16009. }
  16010. },
  16011. "children": {
  16012. "description": "子菜单列表",
  16013. "type": "array",
  16014. "items": {
  16015. "$ref": "#/definitions/common.PCWebMenu"
  16016. }
  16017. },
  16018. "code": {
  16019. "description": "ID,新版本中权限KEY也是这个字段",
  16020. "type": "string"
  16021. },
  16022. "component": {
  16023. "description": "路由组件",
  16024. "type": "string"
  16025. },
  16026. "isshow": {
  16027. "description": "是否显示",
  16028. "type": "boolean"
  16029. },
  16030. "path": {
  16031. "description": "路由路径",
  16032. "type": "string"
  16033. },
  16034. "remark": {
  16035. "description": "备注",
  16036. "type": "string"
  16037. },
  16038. "rulekey": {
  16039. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16040. "type": "string"
  16041. },
  16042. "sort": {
  16043. "description": "排序",
  16044. "type": "integer"
  16045. },
  16046. "title": {
  16047. "description": "标题",
  16048. "type": "string"
  16049. },
  16050. "url": {
  16051. "description": "URL",
  16052. "type": "string"
  16053. }
  16054. }
  16055. },
  16056. "common.PCWebMenuAuth": {
  16057. "type": "object",
  16058. "properties": {
  16059. "code": {
  16060. "description": "ID,新版本中权限KEY也是这个字段",
  16061. "type": "string"
  16062. },
  16063. "isshow": {
  16064. "description": "是否显示",
  16065. "type": "boolean"
  16066. },
  16067. "label": {
  16068. "description": "标题",
  16069. "type": "string"
  16070. },
  16071. "remark": {
  16072. "description": "备注",
  16073. "type": "string"
  16074. },
  16075. "rulekey": {
  16076. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16077. "type": "string"
  16078. }
  16079. }
  16080. },
  16081. "common.QueryImageConfigsRsp": {
  16082. "type": "object",
  16083. "required": [
  16084. "configid"
  16085. ],
  16086. "properties": {
  16087. "areauserid": {
  16088. "description": "所属机构ID",
  16089. "type": "integer"
  16090. },
  16091. "configid": {
  16092. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16093. "type": "integer"
  16094. },
  16095. "createdate": {
  16096. "description": "创建时间",
  16097. "type": "string"
  16098. },
  16099. "creatorid": {
  16100. "description": "创建人",
  16101. "type": "integer"
  16102. },
  16103. "imagedetailpath": {
  16104. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16105. "type": "string"
  16106. },
  16107. "imagepath": {
  16108. "description": "图片",
  16109. "type": "string"
  16110. },
  16111. "imagetype": {
  16112. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16113. "type": "integer"
  16114. },
  16115. "isshow": {
  16116. "description": "是否展示 - 0:不展示 1:展示",
  16117. "type": "integer"
  16118. },
  16119. "marketid": {
  16120. "description": "市场ID",
  16121. "type": "integer"
  16122. },
  16123. "modifierid": {
  16124. "description": "操作人",
  16125. "type": "integer"
  16126. },
  16127. "sort": {
  16128. "description": "排序",
  16129. "type": "integer"
  16130. },
  16131. "title": {
  16132. "description": "标题",
  16133. "type": "string"
  16134. },
  16135. "trademode": {
  16136. "description": "交易模式",
  16137. "type": "integer"
  16138. },
  16139. "updatedate": {
  16140. "description": "修改时间",
  16141. "type": "string"
  16142. },
  16143. "url": {
  16144. "description": "链接(地址或商品ID)",
  16145. "type": "string"
  16146. },
  16147. "urltype": {
  16148. "description": "链接类型 - 1:直接地址 2:商品ID",
  16149. "type": "integer"
  16150. }
  16151. }
  16152. },
  16153. "common.QueryNoticeRsp": {
  16154. "type": "object",
  16155. "required": [
  16156. "autoid"
  16157. ],
  16158. "properties": {
  16159. "auditoruserid": {
  16160. "description": "审核人",
  16161. "type": "integer"
  16162. },
  16163. "auditremark": {
  16164. "description": "审核备注",
  16165. "type": "string"
  16166. },
  16167. "audittime": {
  16168. "description": "审核日期",
  16169. "type": "string"
  16170. },
  16171. "autoid": {
  16172. "description": "自增ID",
  16173. "type": "integer"
  16174. },
  16175. "content": {
  16176. "description": "内容",
  16177. "type": "string"
  16178. },
  16179. "createtime": {
  16180. "description": "创建时间",
  16181. "type": "string"
  16182. },
  16183. "creatorid": {
  16184. "description": "建仓人",
  16185. "type": "integer"
  16186. },
  16187. "endtime": {
  16188. "description": "结束时间",
  16189. "type": "string"
  16190. },
  16191. "istop": {
  16192. "description": "是否置顶 - 0:不置顶 1:置顶",
  16193. "type": "integer"
  16194. },
  16195. "msgiconurl": {
  16196. "description": "消息图标Url",
  16197. "type": "string"
  16198. },
  16199. "msgtype": {
  16200. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16201. "type": "integer"
  16202. },
  16203. "publisher": {
  16204. "description": "消息发布者",
  16205. "type": "string"
  16206. },
  16207. "readed": {
  16208. "description": "是否已读",
  16209. "type": "boolean"
  16210. },
  16211. "scheduletime": {
  16212. "description": "计划发送时间",
  16213. "type": "string"
  16214. },
  16215. "sendtype": {
  16216. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16217. "type": "integer"
  16218. },
  16219. "sentstatus": {
  16220. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16221. "type": "integer"
  16222. },
  16223. "title": {
  16224. "description": "标题",
  16225. "type": "string"
  16226. },
  16227. "userid": {
  16228. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16229. "type": "integer"
  16230. }
  16231. }
  16232. },
  16233. "common.QueryProvincesAndCitiesRsp": {
  16234. "type": "object",
  16235. "properties": {
  16236. "cities": {
  16237. "description": "市",
  16238. "type": "array",
  16239. "items": {
  16240. "$ref": "#/definitions/models.Division"
  16241. }
  16242. },
  16243. "province": {
  16244. "description": "省",
  16245. "$ref": "#/definitions/models.Division"
  16246. }
  16247. }
  16248. },
  16249. "common.QueryTableDefineRsp": {
  16250. "type": "object",
  16251. "required": [
  16252. "tablekey"
  16253. ],
  16254. "properties": {
  16255. "columns": {
  16256. "description": "列头信息数组",
  16257. "type": "array",
  16258. "items": {
  16259. "$ref": "#/definitions/models.Tablecolumnconfig"
  16260. }
  16261. },
  16262. "remark": {
  16263. "description": "Remark",
  16264. "type": "string"
  16265. },
  16266. "tabelmenu": {
  16267. "description": "列表菜单",
  16268. "type": "string"
  16269. },
  16270. "tablekey": {
  16271. "description": "列表Key",
  16272. "type": "string"
  16273. },
  16274. "tablename": {
  16275. "description": "列表名称",
  16276. "type": "string"
  16277. },
  16278. "tabletype": {
  16279. "description": "列表类型 - 1:管理端 2:终端",
  16280. "type": "integer"
  16281. }
  16282. }
  16283. },
  16284. "common.QueryTraderMenuRsp": {
  16285. "type": "object",
  16286. "properties": {
  16287. "OperationMenu": {
  16288. "description": "功能菜单",
  16289. "type": "array",
  16290. "items": {
  16291. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16292. }
  16293. },
  16294. "QuoteMenu": {
  16295. "description": "报价牌分类菜单",
  16296. "type": "array",
  16297. "items": {
  16298. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16299. }
  16300. }
  16301. }
  16302. },
  16303. "cptrade.Cptradepositioncancel": {
  16304. "type": "object",
  16305. "required": [
  16306. "cancelid"
  16307. ],
  16308. "properties": {
  16309. "accountid": {
  16310. "description": "申请人账户ID",
  16311. "type": "integer"
  16312. },
  16313. "applystatus": {
  16314. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16315. "type": "integer"
  16316. },
  16317. "applytime": {
  16318. "description": "申请时间",
  16319. "type": "string"
  16320. },
  16321. "cancelid": {
  16322. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16323. "type": "integer"
  16324. },
  16325. "cancelqty": {
  16326. "description": "注销数量",
  16327. "type": "integer"
  16328. },
  16329. "createtime": {
  16330. "description": "创建时间",
  16331. "type": "string"
  16332. },
  16333. "creatorid": {
  16334. "description": "创建人ID",
  16335. "type": "integer"
  16336. },
  16337. "creatorname": {
  16338. "description": "创建人",
  16339. "type": "string"
  16340. },
  16341. "goodscode": {
  16342. "description": "订单商品代码",
  16343. "type": "string"
  16344. },
  16345. "goodsid": {
  16346. "description": "商品ID",
  16347. "type": "integer"
  16348. },
  16349. "goodsname": {
  16350. "description": "订单商品名称",
  16351. "type": "string"
  16352. },
  16353. "goodunit": {
  16354. "description": "报价单位",
  16355. "type": "string"
  16356. },
  16357. "handlestatus": {
  16358. "description": "处理状态",
  16359. "type": "integer"
  16360. },
  16361. "marketid": {
  16362. "description": "市场ID",
  16363. "type": "integer"
  16364. },
  16365. "marketname": {
  16366. "description": "市场名称",
  16367. "type": "string"
  16368. },
  16369. "tradedate": {
  16370. "description": "交易日(yyyyMMdd)",
  16371. "type": "string"
  16372. },
  16373. "userid": {
  16374. "description": "申请人ID",
  16375. "type": "integer"
  16376. }
  16377. }
  16378. },
  16379. "cptrade.Cptradepresaleapply": {
  16380. "type": "object",
  16381. "required": [
  16382. "applyid"
  16383. ],
  16384. "properties": {
  16385. "accountid": {
  16386. "description": "申请人账户ID",
  16387. "type": "integer"
  16388. },
  16389. "applyid": {
  16390. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16391. "type": "integer"
  16392. },
  16393. "applyremark": {
  16394. "description": "申请备注",
  16395. "type": "string"
  16396. },
  16397. "applystatus": {
  16398. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16399. "type": "integer"
  16400. },
  16401. "applytime": {
  16402. "description": "申请时间",
  16403. "type": "string"
  16404. },
  16405. "attachmenturl": {
  16406. "description": "附件地址",
  16407. "type": "string"
  16408. },
  16409. "endtime": {
  16410. "description": "预售结束时间",
  16411. "type": "string"
  16412. },
  16413. "goodscode": {
  16414. "description": "商品代码",
  16415. "type": "string"
  16416. },
  16417. "goodsid": {
  16418. "description": "商品ID",
  16419. "type": "integer"
  16420. },
  16421. "goodsname": {
  16422. "description": "商品名称",
  16423. "type": "string"
  16424. },
  16425. "goodunit": {
  16426. "description": "报价单位",
  16427. "type": "string"
  16428. },
  16429. "handlestatus": {
  16430. "description": "处理状态",
  16431. "type": "integer"
  16432. },
  16433. "marketid": {
  16434. "description": "预售市场ID",
  16435. "type": "integer"
  16436. },
  16437. "marketname": {
  16438. "description": "预售市场名称",
  16439. "type": "string"
  16440. },
  16441. "presaleqty": {
  16442. "description": "预售数量",
  16443. "type": "integer"
  16444. },
  16445. "relatedgoodscode": {
  16446. "description": "关联交易合约代码",
  16447. "type": "string"
  16448. },
  16449. "relatedgoodsid": {
  16450. "description": "关联交易合约ID",
  16451. "type": "integer"
  16452. },
  16453. "relatedgoodsname": {
  16454. "description": "关联交易合约名称",
  16455. "type": "string"
  16456. },
  16457. "starttime": {
  16458. "description": "预售开始时间",
  16459. "type": "string"
  16460. },
  16461. "tradedate": {
  16462. "description": "交易日(yyyyMMdd)",
  16463. "type": "string"
  16464. },
  16465. "trademode": {
  16466. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16467. "type": "integer"
  16468. },
  16469. "userid": {
  16470. "description": "申请人ID",
  16471. "type": "integer"
  16472. }
  16473. }
  16474. },
  16475. "cptrade.Cptradeusergoodsdata": {
  16476. "type": "object",
  16477. "required": [
  16478. "accountid",
  16479. "goodsid"
  16480. ],
  16481. "properties": {
  16482. "EnabledQty": {
  16483. "description": "可用量",
  16484. "type": "integer"
  16485. },
  16486. "GoodsCode": {
  16487. "description": "订单商品代码",
  16488. "type": "string"
  16489. },
  16490. "GoodsName": {
  16491. "description": "订单商品名称",
  16492. "type": "string"
  16493. },
  16494. "WRStandardCode": {
  16495. "description": "仓单标准代码",
  16496. "type": "string"
  16497. },
  16498. "WRStandardName": {
  16499. "description": "仓单标准名称",
  16500. "type": "string"
  16501. },
  16502. "accountid": {
  16503. "description": "账户ID",
  16504. "type": "integer"
  16505. },
  16506. "cancelqty": {
  16507. "description": "注销量",
  16508. "type": "integer"
  16509. },
  16510. "curpresaleqty": {
  16511. "description": "当前预售量",
  16512. "type": "integer"
  16513. },
  16514. "deliveryqty": {
  16515. "description": "交割量",
  16516. "type": "integer"
  16517. },
  16518. "freezeamount": {
  16519. "description": "冻结金额",
  16520. "type": "number"
  16521. },
  16522. "goodsid": {
  16523. "description": "商品ID",
  16524. "type": "integer"
  16525. },
  16526. "goodunit": {
  16527. "description": "报价单位",
  16528. "type": "string"
  16529. },
  16530. "hasspotfreeze": {
  16531. "description": "是否有现货冻结 - 0:否 1:有",
  16532. "type": "integer"
  16533. },
  16534. "inqty": {
  16535. "description": "转入量(总数量)",
  16536. "type": "integer"
  16537. },
  16538. "marketid": {
  16539. "description": "市场ID",
  16540. "type": "integer"
  16541. },
  16542. "presaledamount": {
  16543. "description": "已预售总金额",
  16544. "type": "integer"
  16545. },
  16546. "presaledqty": {
  16547. "description": "已预售量",
  16548. "type": "integer"
  16549. },
  16550. "userid": {
  16551. "description": "用户ID",
  16552. "type": "integer"
  16553. },
  16554. "wrstandardid": {
  16555. "description": "仓单标准ID",
  16556. "type": "integer"
  16557. }
  16558. }
  16559. },
  16560. "cptrade.QueryCPTradeMyBidRsp": {
  16561. "type": "object",
  16562. "required": [
  16563. "accountid",
  16564. "goodsid",
  16565. "marketid",
  16566. "orderid",
  16567. "orderqty",
  16568. "ordertime",
  16569. "tradeprice",
  16570. "tradeqty"
  16571. ],
  16572. "properties": {
  16573. "accountid": {
  16574. "description": "账户ID[报价币种]",
  16575. "type": "integer"
  16576. },
  16577. "goodsid": {
  16578. "description": "商品ID",
  16579. "type": "integer"
  16580. },
  16581. "goodunit": {
  16582. "description": "报价单位",
  16583. "type": "string"
  16584. },
  16585. "marketid": {
  16586. "description": "市场ID",
  16587. "type": "integer"
  16588. },
  16589. "orderid": {
  16590. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16591. "type": "integer"
  16592. },
  16593. "orderprice": {
  16594. "description": "委托价格",
  16595. "type": "number"
  16596. },
  16597. "orderqty": {
  16598. "description": "委托数量",
  16599. "type": "integer"
  16600. },
  16601. "ordertime": {
  16602. "description": "委托时间",
  16603. "type": "string"
  16604. },
  16605. "ordertotalprice": {
  16606. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16607. "type": "number"
  16608. },
  16609. "ordertotalweight": {
  16610. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16611. "type": "integer"
  16612. },
  16613. "totaltotalprice": {
  16614. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16615. "type": "number"
  16616. },
  16617. "tradeprice": {
  16618. "description": "成交价格",
  16619. "type": "number"
  16620. },
  16621. "tradeqty": {
  16622. "description": "成交数量",
  16623. "type": "integer"
  16624. }
  16625. }
  16626. },
  16627. "cptrade.QueryCPTradeOrderDetailRsq": {
  16628. "type": "object",
  16629. "required": [
  16630. "accountid",
  16631. "buildtype",
  16632. "buyorsell",
  16633. "goodsid",
  16634. "marketid",
  16635. "memberuserid",
  16636. "operatetype",
  16637. "orderqty",
  16638. "ordertime",
  16639. "pricemode",
  16640. "strorderid",
  16641. "tradedate",
  16642. "validtype"
  16643. ],
  16644. "properties": {
  16645. "accountid": {
  16646. "description": "账户ID[报价币种]",
  16647. "type": "integer"
  16648. },
  16649. "buildtype": {
  16650. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16651. "type": "integer"
  16652. },
  16653. "buyorsell": {
  16654. "description": "买卖 - 0:买 1:卖",
  16655. "type": "integer"
  16656. },
  16657. "cancelorderid": {
  16658. "description": "撤单单号(撤单时填写)",
  16659. "type": "integer"
  16660. },
  16661. "cancelqty": {
  16662. "description": "撤单数量",
  16663. "type": "integer"
  16664. },
  16665. "clientordertime": {
  16666. "description": "客户端委托时间",
  16667. "type": "string"
  16668. },
  16669. "clientticket": {
  16670. "description": "客户端流水号",
  16671. "type": "string"
  16672. },
  16673. "clienttype": {
  16674. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16675. "type": "integer"
  16676. },
  16677. "closeexchagechargevalue": {
  16678. "description": "平仓交易所手续费设置值",
  16679. "type": "number"
  16680. },
  16681. "closefeealgorithm": {
  16682. "description": "平仓手续费收取方式 1:比率 2:固定",
  16683. "type": "integer"
  16684. },
  16685. "closefreezecharge": {
  16686. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16687. "type": "number"
  16688. },
  16689. "closememberchargevalue": {
  16690. "description": "平仓会员手续费设置值",
  16691. "type": "number"
  16692. },
  16693. "closeqty": {
  16694. "description": "平仓数量(先建后平操作 需要记录)",
  16695. "type": "integer"
  16696. },
  16697. "closetradeqty": {
  16698. "description": "平仓成交数量(先建后平操作,需要记录)",
  16699. "type": "integer"
  16700. },
  16701. "closeunfreezecharge": {
  16702. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16703. "type": "number"
  16704. },
  16705. "delistingtype": {
  16706. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16707. "type": "integer"
  16708. },
  16709. "freezecharge": {
  16710. "description": "冻结手续费",
  16711. "type": "number"
  16712. },
  16713. "freezemargin": {
  16714. "description": "冻结保证金(冻结交易金额)",
  16715. "type": "number"
  16716. },
  16717. "gcaccountid": {
  16718. "description": "账户ID[合约币种]",
  16719. "type": "integer"
  16720. },
  16721. "goodsid": {
  16722. "description": "商品ID",
  16723. "type": "integer"
  16724. },
  16725. "isconfirmexercise": {
  16726. "description": "是否确认行权- 0:否 1:是",
  16727. "type": "integer"
  16728. },
  16729. "ispreexercise": {
  16730. "description": "是否预申报- 0:否 1:是",
  16731. "type": "integer"
  16732. },
  16733. "listingselecttype": {
  16734. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16735. "type": "integer"
  16736. },
  16737. "marginalgorithm": {
  16738. "description": "保证金收取方式 1:比率 2:固定",
  16739. "type": "integer"
  16740. },
  16741. "marginvalue": {
  16742. "description": "即市保证金设置值",
  16743. "type": "number"
  16744. },
  16745. "marketid": {
  16746. "description": "市场ID",
  16747. "type": "integer"
  16748. },
  16749. "marketmaxsub": {
  16750. "description": "市价最大偏移范围",
  16751. "type": "number"
  16752. },
  16753. "memberuserid": {
  16754. "description": "所属会员UserID",
  16755. "type": "integer"
  16756. },
  16757. "openexchagechargevalue": {
  16758. "description": "建仓交易所手续费设置值",
  16759. "type": "number"
  16760. },
  16761. "openfeealgorithm": {
  16762. "description": "建仓手续费收取方式 1:比率 2:固定",
  16763. "type": "integer"
  16764. },
  16765. "openfreezecharge": {
  16766. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16767. "type": "number"
  16768. },
  16769. "openmemberchargevalue": {
  16770. "description": "建仓会员手续费设置值",
  16771. "type": "number"
  16772. },
  16773. "openqty": {
  16774. "description": "开仓数量(先建后平操作,需要记录)",
  16775. "type": "integer"
  16776. },
  16777. "opentradeqty": {
  16778. "description": "开仓成交数量(先建后平操作,需要记录)",
  16779. "type": "integer"
  16780. },
  16781. "openunfreezecharge": {
  16782. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16783. "type": "number"
  16784. },
  16785. "operatetype": {
  16786. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16787. "type": "integer"
  16788. },
  16789. "operatorid": {
  16790. "description": "登录账号(LoginID)",
  16791. "type": "integer"
  16792. },
  16793. "optiontype": {
  16794. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16795. "type": "integer"
  16796. },
  16797. "orderprice": {
  16798. "description": "委托价格",
  16799. "type": "number"
  16800. },
  16801. "orderqty": {
  16802. "description": "委托数量",
  16803. "type": "integer"
  16804. },
  16805. "ordersrc": {
  16806. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16807. "type": "integer"
  16808. },
  16809. "orderstatus": {
  16810. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16811. "type": "integer"
  16812. },
  16813. "ordertime": {
  16814. "description": "委托时间",
  16815. "type": "string"
  16816. },
  16817. "preexerciseprice": {
  16818. "description": "预申报价格",
  16819. "type": "number"
  16820. },
  16821. "premium": {
  16822. "description": "权利金",
  16823. "type": "number"
  16824. },
  16825. "preorderid": {
  16826. "description": "关联预埋单号(止盈止损单时填写)",
  16827. "type": "integer"
  16828. },
  16829. "pricemode": {
  16830. "description": "取价方式 - 1:市价 2: 限价",
  16831. "type": "integer"
  16832. },
  16833. "quoteid": {
  16834. "description": "报价单ID",
  16835. "type": "integer"
  16836. },
  16837. "relatedid": {
  16838. "description": "关联单号(交割单)",
  16839. "type": "integer"
  16840. },
  16841. "retcode": {
  16842. "description": "错误代码",
  16843. "type": "integer"
  16844. },
  16845. "sessionid": {
  16846. "description": "会话ID",
  16847. "type": "integer"
  16848. },
  16849. "strorderid": {
  16850. "description": "委托单号",
  16851. "type": "string"
  16852. },
  16853. "tradedate": {
  16854. "description": "交易日(yyyyMMdd)",
  16855. "type": "string"
  16856. },
  16857. "tradeproperty": {
  16858. "description": "交易属性",
  16859. "type": "integer"
  16860. },
  16861. "tradeqty": {
  16862. "description": "成交数量",
  16863. "type": "integer"
  16864. },
  16865. "unfreezecharge": {
  16866. "description": "解冻手续费",
  16867. "type": "number"
  16868. },
  16869. "unfreezemargin": {
  16870. "description": "解冻保证金",
  16871. "type": "number"
  16872. },
  16873. "updatetime": {
  16874. "description": "更新时间",
  16875. "type": "string"
  16876. },
  16877. "uuid": {
  16878. "description": "发起端唯一id",
  16879. "type": "string"
  16880. },
  16881. "validtime": {
  16882. "description": "有效期限",
  16883. "type": "string"
  16884. },
  16885. "validtype": {
  16886. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16887. "type": "integer"
  16888. },
  16889. "volumetype": {
  16890. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16891. "type": "integer"
  16892. }
  16893. }
  16894. },
  16895. "cptrade.QueryMyCPTradeGoodsRsp": {
  16896. "type": "object",
  16897. "required": [
  16898. "goodscode",
  16899. "goodsid",
  16900. "goodsname",
  16901. "marketid",
  16902. "relatedgoodscode",
  16903. "relatedgoodsname"
  16904. ],
  16905. "properties": {
  16906. "accountid": {
  16907. "description": "卖方账户ID",
  16908. "type": "integer"
  16909. },
  16910. "agreeunit": {
  16911. "description": "合约单位",
  16912. "type": "number"
  16913. },
  16914. "applyid": {
  16915. "description": "关联申请ID",
  16916. "type": "integer"
  16917. },
  16918. "attachmenturl": {
  16919. "description": "附件地址",
  16920. "type": "string"
  16921. },
  16922. "createtime": {
  16923. "description": "创建时间",
  16924. "type": "string"
  16925. },
  16926. "currencyid": {
  16927. "description": "报价货币ID",
  16928. "type": "integer"
  16929. },
  16930. "decimalplace": {
  16931. "description": "报价小数位",
  16932. "type": "integer"
  16933. },
  16934. "endtime": {
  16935. "description": "预售结束时间",
  16936. "type": "string"
  16937. },
  16938. "floorprice": {
  16939. "description": "底价[大宗式竞拍]",
  16940. "type": "number"
  16941. },
  16942. "goodscode": {
  16943. "description": "商品代码(预售)",
  16944. "type": "string"
  16945. },
  16946. "goodsdetail": {
  16947. "description": "详情[大宗]",
  16948. "type": "string"
  16949. },
  16950. "goodsid": {
  16951. "description": "商品ID(自增ID SEQ_GOODS)",
  16952. "type": "integer"
  16953. },
  16954. "goodsname": {
  16955. "description": "商品名称(预售)",
  16956. "type": "string"
  16957. },
  16958. "goodunit": {
  16959. "description": "报价单位",
  16960. "type": "string"
  16961. },
  16962. "goodunitid": {
  16963. "description": "报价单位ID",
  16964. "type": "integer"
  16965. },
  16966. "marketid": {
  16967. "description": "所属市场ID",
  16968. "type": "integer"
  16969. },
  16970. "marketname": {
  16971. "description": "预售市场名称",
  16972. "type": "string"
  16973. },
  16974. "presaledamount": {
  16975. "description": "已预售总金额(预售结束时更新)",
  16976. "type": "number"
  16977. },
  16978. "presaledqty": {
  16979. "description": "已预售量(预售结束时更新)",
  16980. "type": "integer"
  16981. },
  16982. "presalemode": {
  16983. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16984. "type": "integer"
  16985. },
  16986. "presaleqty": {
  16987. "description": "预售数量",
  16988. "type": "integer"
  16989. },
  16990. "refprice": {
  16991. "description": "参考价格[一口价]",
  16992. "type": "number"
  16993. },
  16994. "relatedgoodscode": {
  16995. "description": "商品代码(订单)",
  16996. "type": "string"
  16997. },
  16998. "relatedgoodsid": {
  16999. "description": "关联交易合约ID",
  17000. "type": "integer"
  17001. },
  17002. "relatedgoodsname": {
  17003. "description": "商品名称(订单)",
  17004. "type": "string"
  17005. },
  17006. "relatedmarketid": {
  17007. "description": "关联交易合约市场ID",
  17008. "type": "integer"
  17009. },
  17010. "sellstatus": {
  17011. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17012. "type": "integer"
  17013. },
  17014. "startprice": {
  17015. "description": "起拍价[大宗式竞拍]",
  17016. "type": "number"
  17017. },
  17018. "starttime": {
  17019. "description": "预售开始时间",
  17020. "type": "string"
  17021. },
  17022. "tradedate": {
  17023. "description": "交易日(yyyyMMdd)",
  17024. "type": "string"
  17025. },
  17026. "tradeprice": {
  17027. "description": "成交价[大宗]",
  17028. "type": "number"
  17029. },
  17030. "userid": {
  17031. "description": "卖方用户ID",
  17032. "type": "integer"
  17033. }
  17034. }
  17035. },
  17036. "cptrade.QueryPresaleGoodsExRsp": {
  17037. "type": "object",
  17038. "required": [
  17039. "goodsid"
  17040. ],
  17041. "properties": {
  17042. "attachmenturl": {
  17043. "description": "附件地址",
  17044. "type": "string"
  17045. },
  17046. "createtime": {
  17047. "description": "创建时间",
  17048. "type": "string"
  17049. },
  17050. "endtime": {
  17051. "description": "预售结束时间",
  17052. "type": "string"
  17053. },
  17054. "floorprice": {
  17055. "description": "底价[大宗式竞拍]",
  17056. "type": "number"
  17057. },
  17058. "goodsdetail": {
  17059. "description": "详情[大宗]",
  17060. "type": "string"
  17061. },
  17062. "goodsid": {
  17063. "description": "商品ID(预售)",
  17064. "type": "integer"
  17065. },
  17066. "goodunit": {
  17067. "description": "报价单位",
  17068. "type": "string"
  17069. },
  17070. "marketid": {
  17071. "description": "预售市场ID - 根据预售模式选择市场",
  17072. "type": "integer"
  17073. },
  17074. "presaledamount": {
  17075. "description": "已预售总金额(预售结束时更新)",
  17076. "type": "number"
  17077. },
  17078. "presaledqty": {
  17079. "description": "已预售量(预售结束时更新)",
  17080. "type": "integer"
  17081. },
  17082. "presalemode": {
  17083. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17084. "type": "integer"
  17085. },
  17086. "presaleqty": {
  17087. "description": "预售数量",
  17088. "type": "integer"
  17089. },
  17090. "refprice": {
  17091. "description": "参考价格[一口价]",
  17092. "type": "number"
  17093. },
  17094. "relatedgoodsid": {
  17095. "description": "关联交易合约ID",
  17096. "type": "integer"
  17097. },
  17098. "relatedmarketid": {
  17099. "description": "关联交易合约市场ID",
  17100. "type": "integer"
  17101. },
  17102. "sellstatus": {
  17103. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17104. "type": "integer"
  17105. },
  17106. "startprice": {
  17107. "description": "起拍价[大宗式竞拍]",
  17108. "type": "number"
  17109. },
  17110. "starttime": {
  17111. "description": "预售开始时间",
  17112. "type": "string"
  17113. },
  17114. "tradedate": {
  17115. "description": "交易日(yyyyMMdd)",
  17116. "type": "string"
  17117. },
  17118. "tradeprice": {
  17119. "description": "成交价[大宗]",
  17120. "type": "number"
  17121. }
  17122. }
  17123. },
  17124. "delivery.QueryDeliveryRelationRsp": {
  17125. "type": "object",
  17126. "required": [
  17127. "begindate",
  17128. "enddate",
  17129. "goodsid",
  17130. "mindeliveryqty",
  17131. "xdeliveryratio"
  17132. ],
  17133. "properties": {
  17134. "begindate": {
  17135. "description": "起始日期(yyyyMMdd)",
  17136. "type": "string"
  17137. },
  17138. "buytemplateid": {
  17139. "description": "买履约计划模板ID",
  17140. "type": "integer"
  17141. },
  17142. "deliverygoodscode": {
  17143. "description": "品种代码",
  17144. "type": "string"
  17145. },
  17146. "deliverygoodsid": {
  17147. "description": "交割商品",
  17148. "type": "integer"
  17149. },
  17150. "deliverygoodsname": {
  17151. "description": "品种名称",
  17152. "type": "string"
  17153. },
  17154. "deliverymode": {
  17155. "description": "交割方式 - 1:点选式 2:申报式",
  17156. "type": "integer"
  17157. },
  17158. "deliverypricerule": {
  17159. "description": "交割价规则- 1:行情价 2:建仓价",
  17160. "type": "integer"
  17161. },
  17162. "deliverytype": {
  17163. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17164. "type": "integer"
  17165. },
  17166. "enddate": {
  17167. "description": "结束日期(yyyyMMdd)",
  17168. "type": "string"
  17169. },
  17170. "enumdicname": {
  17171. "description": "品类单位名称",
  17172. "type": "string"
  17173. },
  17174. "goodscode": {
  17175. "description": "商品代码",
  17176. "type": "string"
  17177. },
  17178. "goodsid": {
  17179. "description": "交易合约ID",
  17180. "type": "integer"
  17181. },
  17182. "goodsname": {
  17183. "description": "商品名称",
  17184. "type": "string"
  17185. },
  17186. "marketid": {
  17187. "description": "市场ID",
  17188. "type": "integer"
  17189. },
  17190. "mindeliveryqty": {
  17191. "description": "最小交割系数(K)",
  17192. "type": "integer"
  17193. },
  17194. "p2deliveryprice": {
  17195. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17196. "type": "number"
  17197. },
  17198. "p2deliveryratio": {
  17199. "description": "P2合约系数(p)",
  17200. "type": "integer"
  17201. },
  17202. "p2goodsid": {
  17203. "description": "P2合约ID",
  17204. "type": "integer"
  17205. },
  17206. "p2pricemode": {
  17207. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17208. "type": "integer"
  17209. },
  17210. "pdeliveryprice": {
  17211. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17212. "type": "number"
  17213. },
  17214. "pdeliveryratio": {
  17215. "description": "P合约系数(n)",
  17216. "type": "integer"
  17217. },
  17218. "pgoodscode": {
  17219. "description": "p合约代码",
  17220. "type": "string"
  17221. },
  17222. "pgoodsid": {
  17223. "description": "P合约ID",
  17224. "type": "integer"
  17225. },
  17226. "ppricemode": {
  17227. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17228. "type": "integer"
  17229. },
  17230. "rratio": {
  17231. "description": "兑换系数(R)",
  17232. "type": "integer"
  17233. },
  17234. "rratio1": {
  17235. "description": "兑换系数(交易合约)(R1)",
  17236. "type": "integer"
  17237. },
  17238. "rratio2": {
  17239. "description": "兑换系数(仓单标准)(R2)",
  17240. "type": "integer"
  17241. },
  17242. "selltemplateid": {
  17243. "description": "卖履约计划模板ID",
  17244. "type": "integer"
  17245. },
  17246. "wrstandardid": {
  17247. "description": "仓单标准ID",
  17248. "type": "integer"
  17249. },
  17250. "xdeliveryratio": {
  17251. "description": "交易合约系数(m)",
  17252. "type": "integer"
  17253. }
  17254. }
  17255. },
  17256. "ermcp.ExposureDetailRsp": {
  17257. "type": "object",
  17258. "properties": {
  17259. "areauserid": {
  17260. "description": "机构ID",
  17261. "type": "integer"
  17262. },
  17263. "changeQty": {
  17264. "description": "套保变动量",
  17265. "type": "number"
  17266. },
  17267. "contracttype": {
  17268. "description": "现货合同类型 - 1:采购 -1:销售",
  17269. "type": "integer"
  17270. },
  17271. "convertfactor": {
  17272. "description": "标仓系数",
  17273. "type": "number"
  17274. },
  17275. "convertratio": {
  17276. "description": "套保系数",
  17277. "type": "number"
  17278. },
  17279. "createtime": {
  17280. "description": "时间",
  17281. "type": "string"
  17282. },
  17283. "enumdicname": {
  17284. "description": "现货商品单位名称",
  17285. "type": "string"
  17286. },
  17287. "logtype": {
  17288. "description": "类型 - 1:套保计划 2:现货合同",
  17289. "type": "integer"
  17290. },
  17291. "middlegoodsId": {
  17292. "description": "套保商品id",
  17293. "type": "integer"
  17294. },
  17295. "middlegoodscode": {
  17296. "description": "套保商品代码",
  17297. "type": "string"
  17298. },
  17299. "middlegoodsname": {
  17300. "description": "套保商品名称",
  17301. "type": "string"
  17302. },
  17303. "qty": {
  17304. "description": "数量",
  17305. "type": "number"
  17306. },
  17307. "relateNo": {
  17308. "description": "现货合同/套保计划编号",
  17309. "type": "string"
  17310. },
  17311. "wrstandardcode": {
  17312. "description": "现货商品代码",
  17313. "type": "string"
  17314. },
  17315. "wrstandardid": {
  17316. "description": "现货商品ID",
  17317. "type": "integer"
  17318. },
  17319. "wrstandardname": {
  17320. "description": "现货商品名称",
  17321. "type": "string"
  17322. }
  17323. }
  17324. },
  17325. "ermcp.ExposureHedgePosDetailRsp": {
  17326. "type": "object",
  17327. "properties": {
  17328. "buyorsell": {
  17329. "description": "买卖方向 0-买 1-卖",
  17330. "type": "integer"
  17331. },
  17332. "channelbuildtype": {
  17333. "description": "开平方向 1-建仓 2-平仓",
  17334. "type": "integer"
  17335. },
  17336. "goodscode": {
  17337. "description": "商品代码",
  17338. "type": "string"
  17339. },
  17340. "goodsname": {
  17341. "description": "商品名称",
  17342. "type": "string"
  17343. },
  17344. "hedgegoodsid": {
  17345. "description": "商品id",
  17346. "type": "integer"
  17347. },
  17348. "tradeqty": {
  17349. "description": "数量(成交数量)",
  17350. "type": "integer"
  17351. },
  17352. "tradetime": {
  17353. "description": "时间(成交时间)",
  17354. "type": "string"
  17355. }
  17356. }
  17357. },
  17358. "ermcp.ExposureHedgePositionRsp": {
  17359. "type": "object",
  17360. "properties": {
  17361. "accountid": {
  17362. "description": "资金账号[外部母账户]",
  17363. "type": "integer"
  17364. },
  17365. "curbuyposition": {
  17366. "description": "期末买头寸",
  17367. "type": "integer"
  17368. },
  17369. "cursellposition": {
  17370. "description": "期末卖头寸",
  17371. "type": "integer"
  17372. },
  17373. "curtdbuyposition": {
  17374. "description": "期末今日买头寸",
  17375. "type": "integer"
  17376. },
  17377. "curtdsellposition": {
  17378. "description": "期末今日卖头寸",
  17379. "type": "integer"
  17380. },
  17381. "curydbuyposition": {
  17382. "description": "期末上日买头寸",
  17383. "type": "integer"
  17384. },
  17385. "curydsellposition": {
  17386. "description": "期末上日卖头寸",
  17387. "type": "integer"
  17388. },
  17389. "decreaseqty": {
  17390. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17391. "type": "integer"
  17392. },
  17393. "fretdbuyposition": {
  17394. "description": "冻结今日买头寸",
  17395. "type": "integer"
  17396. },
  17397. "fretdsellposition": {
  17398. "description": "冻结今日卖头寸",
  17399. "type": "integer"
  17400. },
  17401. "freydbuyposition": {
  17402. "description": "冻结上日买头寸",
  17403. "type": "integer"
  17404. },
  17405. "freydsellposition": {
  17406. "description": "冻结上日卖头寸",
  17407. "type": "integer"
  17408. },
  17409. "goodscode": {
  17410. "description": "商品代码",
  17411. "type": "string"
  17412. },
  17413. "goodsid": {
  17414. "description": "商品id",
  17415. "type": "integer"
  17416. },
  17417. "goodsname": {
  17418. "description": "商品名称",
  17419. "type": "string"
  17420. },
  17421. "hedgeaccountcode": {
  17422. "description": "对冲账号",
  17423. "type": "string"
  17424. },
  17425. "hedgegoodsid": {
  17426. "description": "对冲合约ID",
  17427. "type": "integer"
  17428. },
  17429. "increaseqty": {
  17430. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17431. "type": "integer"
  17432. },
  17433. "marketid": {
  17434. "description": "市场ID",
  17435. "type": "integer"
  17436. },
  17437. "relateduserid": {
  17438. "description": "关联用户id",
  17439. "type": "integer"
  17440. },
  17441. "totalcurqty": {
  17442. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17443. "type": "integer"
  17444. },
  17445. "totalydqty": {
  17446. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17447. "type": "integer"
  17448. },
  17449. "tradedate": {
  17450. "description": "交易日(yyyyMMdd)",
  17451. "type": "string"
  17452. },
  17453. "ydbuyposition": {
  17454. "description": "期初买头寸",
  17455. "type": "integer"
  17456. },
  17457. "ydsellposition": {
  17458. "description": "期初卖头寸",
  17459. "type": "integer"
  17460. }
  17461. }
  17462. },
  17463. "ermcp.ExposureSpotDetailRsp": {
  17464. "type": "object",
  17465. "properties": {
  17466. "contracttype": {
  17467. "description": "合同类型 1-采购 -1-销售",
  17468. "type": "integer"
  17469. },
  17470. "createtime": {
  17471. "description": "创建时间",
  17472. "type": "string"
  17473. },
  17474. "enumdicname": {
  17475. "description": "现货商品单位名称",
  17476. "type": "string"
  17477. },
  17478. "logtype": {
  17479. "description": "记录类型 1-套保 2-现货合同",
  17480. "type": "integer"
  17481. },
  17482. "qty": {
  17483. "description": "数量",
  17484. "type": "number"
  17485. },
  17486. "recordname": {
  17487. "description": "类型名称",
  17488. "type": "string"
  17489. },
  17490. "relatedid": {
  17491. "description": "套保计划ID/现货合同ID",
  17492. "type": "string"
  17493. },
  17494. "relatedno": {
  17495. "description": "编号",
  17496. "type": "string"
  17497. },
  17498. "strtime": {
  17499. "description": "时间",
  17500. "type": "string"
  17501. },
  17502. "wrstandardcode": {
  17503. "description": "现货商品代码",
  17504. "type": "string"
  17505. },
  17506. "wrstandardname": {
  17507. "description": "现货商品名称",
  17508. "type": "string"
  17509. }
  17510. }
  17511. },
  17512. "ermcp.ExposureSpotRsp": {
  17513. "type": "object",
  17514. "properties": {
  17515. "areauserid": {
  17516. "description": "所属机构",
  17517. "type": "integer"
  17518. },
  17519. "decreaseqty": {
  17520. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17521. "type": "number"
  17522. },
  17523. "increaseqty": {
  17524. "description": "增加数量=销售计划数量+采购已定价数量",
  17525. "type": "number"
  17526. },
  17527. "oritoalspotqty": {
  17528. "description": "昨日数量",
  17529. "type": "number"
  17530. },
  17531. "totalspotqty": {
  17532. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17533. "type": "number"
  17534. },
  17535. "updatetime": {
  17536. "description": "更新时间",
  17537. "type": "string"
  17538. },
  17539. "wrstandardcode": {
  17540. "description": "现货品种代码",
  17541. "type": "string"
  17542. },
  17543. "wrstandardid": {
  17544. "description": "现货商品ID",
  17545. "type": "integer"
  17546. },
  17547. "wrstandardname": {
  17548. "description": "现货品种",
  17549. "type": "string"
  17550. }
  17551. }
  17552. },
  17553. "ermcp.HisExposureRsp": {
  17554. "type": "object",
  17555. "properties": {
  17556. "data": {
  17557. "description": "历史敞口",
  17558. "type": "array",
  17559. "items": {
  17560. "$ref": "#/definitions/models.ErmcpHisExposure"
  17561. }
  17562. },
  17563. "enumdicname": {
  17564. "description": "单位名称",
  17565. "type": "string"
  17566. },
  17567. "middlegoodscode": {
  17568. "description": "套保品种代码",
  17569. "type": "string"
  17570. },
  17571. "middlegoodsid": {
  17572. "description": "套保品种ID",
  17573. "type": "integer"
  17574. },
  17575. "middlegoodsname": {
  17576. "description": "套保品种名称",
  17577. "type": "string"
  17578. }
  17579. }
  17580. },
  17581. "ermcp.PendingAuditCntRsp": {
  17582. "type": "object",
  17583. "properties": {
  17584. "areastockqty": {
  17585. "description": "待审核数量: 库存申请",
  17586. "type": "integer"
  17587. },
  17588. "businessdjqty": {
  17589. "description": "待审核数量: 点价",
  17590. "type": "integer"
  17591. },
  17592. "businessfpqty": {
  17593. "description": "待审核数量: 发票",
  17594. "type": "integer"
  17595. },
  17596. "businessjsqty": {
  17597. "description": "待审核数量: 结算",
  17598. "type": "integer"
  17599. },
  17600. "businesskxqty": {
  17601. "description": "待审核数量: 款项",
  17602. "type": "integer"
  17603. },
  17604. "hedgeplanqty": {
  17605. "description": "待审核数量: 套保计划",
  17606. "type": "integer"
  17607. },
  17608. "spotcontractqty": {
  17609. "description": "待审核数量: 现货合同",
  17610. "type": "integer"
  17611. },
  17612. "userqty": {
  17613. "description": "待审核数量: 用户",
  17614. "type": "integer"
  17615. }
  17616. }
  17617. },
  17618. "ermcp.QryAvalidGPRsp": {
  17619. "type": "object",
  17620. "properties": {
  17621. "goodsgroupid": {
  17622. "description": "期货品种id",
  17623. "type": "integer"
  17624. },
  17625. "goodsgroupname": {
  17626. "description": "期货品种名称",
  17627. "type": "string"
  17628. },
  17629. "goodunitid": {
  17630. "description": "品种单位id",
  17631. "type": "integer"
  17632. },
  17633. "goodunitname": {
  17634. "description": "品种单位名称",
  17635. "type": "string"
  17636. },
  17637. "outergroupcode": {
  17638. "description": "期货品种代码",
  17639. "type": "string"
  17640. }
  17641. }
  17642. },
  17643. "ermcp.QryBusinessDjRsp": {
  17644. "type": "object",
  17645. "properties": {
  17646. "amount": {
  17647. "description": "期初均价",
  17648. "type": "number"
  17649. },
  17650. "applyid": {
  17651. "description": "申请人",
  17652. "type": "string"
  17653. },
  17654. "applyname": {
  17655. "description": "申请人名称",
  17656. "type": "string"
  17657. },
  17658. "applystatus": {
  17659. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17660. "type": "integer"
  17661. },
  17662. "applytime": {
  17663. "description": "申请时间",
  17664. "type": "string"
  17665. },
  17666. "attachurl": {
  17667. "description": "附件",
  17668. "type": "string"
  17669. },
  17670. "auditid": {
  17671. "description": "审核人ID",
  17672. "type": "string"
  17673. },
  17674. "auditname": {
  17675. "description": "审核人名称",
  17676. "type": "string"
  17677. },
  17678. "auditremark": {
  17679. "description": "审核备注",
  17680. "type": "string"
  17681. },
  17682. "audittime": {
  17683. "description": "审核时间",
  17684. "type": "string"
  17685. },
  17686. "buyusername": {
  17687. "description": "采购方名称",
  17688. "type": "string"
  17689. },
  17690. "contractno": {
  17691. "description": "合同编号",
  17692. "type": "string"
  17693. },
  17694. "contractstatus": {
  17695. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17696. "type": "integer"
  17697. },
  17698. "contracttype": {
  17699. "description": "现货合同类型 - 1:采购 -1:销售",
  17700. "type": "integer"
  17701. },
  17702. "deliverygoodscode": {
  17703. "description": "现货品种代码",
  17704. "type": "string"
  17705. },
  17706. "deliverygoodsid": {
  17707. "description": "现货商品ID",
  17708. "type": "integer"
  17709. },
  17710. "deliverygoodsname": {
  17711. "description": "现货品种名称",
  17712. "type": "string"
  17713. },
  17714. "enumdicname": {
  17715. "description": "单位名称",
  17716. "type": "string"
  17717. },
  17718. "goodscode": {
  17719. "description": "点价合约",
  17720. "type": "string"
  17721. },
  17722. "goodsname": {
  17723. "description": "商品名称",
  17724. "type": "string"
  17725. },
  17726. "operateapplyid": {
  17727. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17728. "type": "string"
  17729. },
  17730. "operateapplytype": {
  17731. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17732. "type": "integer"
  17733. },
  17734. "pricedPrice": {
  17735. "description": "点价价格(非必填)",
  17736. "type": "number"
  17737. },
  17738. "pricedQty": {
  17739. "description": "点价数量(非必填)",
  17740. "type": "number"
  17741. },
  17742. "pricemove": {
  17743. "description": "升贴水",
  17744. "type": "number"
  17745. },
  17746. "pricetype": {
  17747. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17748. "type": "integer"
  17749. },
  17750. "relatedid": {
  17751. "description": "现货合同ID",
  17752. "type": "string"
  17753. },
  17754. "sellusername": {
  17755. "description": "销售方名字",
  17756. "type": "string"
  17757. },
  17758. "userid": {
  17759. "description": "用户ID",
  17760. "type": "integer"
  17761. },
  17762. "wrstandardcode": {
  17763. "description": "品类代码",
  17764. "type": "string"
  17765. },
  17766. "wrstandardid": {
  17767. "description": "品类id",
  17768. "type": "integer"
  17769. },
  17770. "wrstandardname": {
  17771. "description": "品类名称",
  17772. "type": "string"
  17773. }
  17774. }
  17775. },
  17776. "ermcp.QryBussinessFpRsp": {
  17777. "type": "object",
  17778. "properties": {
  17779. "applyid": {
  17780. "description": "申请人",
  17781. "type": "string"
  17782. },
  17783. "applyname": {
  17784. "description": "申请人名称",
  17785. "type": "string"
  17786. },
  17787. "applystatus": {
  17788. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17789. "type": "integer"
  17790. },
  17791. "applytime": {
  17792. "description": "申请时间",
  17793. "type": "string"
  17794. },
  17795. "attachurl": {
  17796. "description": "附件",
  17797. "type": "string"
  17798. },
  17799. "auditid": {
  17800. "description": "审核人ID",
  17801. "type": "string"
  17802. },
  17803. "auditname": {
  17804. "description": "审核人名称",
  17805. "type": "string"
  17806. },
  17807. "auditremark": {
  17808. "description": "审核备注",
  17809. "type": "string"
  17810. },
  17811. "audittime": {
  17812. "description": "审核时间",
  17813. "type": "string"
  17814. },
  17815. "buyusername": {
  17816. "description": "采购方名称",
  17817. "type": "string"
  17818. },
  17819. "contractno": {
  17820. "description": "合同编号",
  17821. "type": "string"
  17822. },
  17823. "contractstatus": {
  17824. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17825. "type": "integer"
  17826. },
  17827. "contracttype": {
  17828. "description": "现货合同类型 - 1:采购 -1:销售",
  17829. "type": "integer"
  17830. },
  17831. "deliverygoodscode": {
  17832. "description": "现货品种代码",
  17833. "type": "string"
  17834. },
  17835. "deliverygoodsid": {
  17836. "description": "现货商品ID",
  17837. "type": "integer"
  17838. },
  17839. "deliverygoodsname": {
  17840. "description": "现货品种名称",
  17841. "type": "string"
  17842. },
  17843. "enumdicname": {
  17844. "description": "单位名称",
  17845. "type": "string"
  17846. },
  17847. "goodscode": {
  17848. "description": "点价合约",
  17849. "type": "string"
  17850. },
  17851. "goodsname": {
  17852. "description": "商品名称",
  17853. "type": "string"
  17854. },
  17855. "invoiceamount": {
  17856. "description": "已开收票金额(销售为开票,采购为收票)",
  17857. "type": "number"
  17858. },
  17859. "operateapplyid": {
  17860. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17861. "type": "string"
  17862. },
  17863. "operateapplytype": {
  17864. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17865. "type": "integer"
  17866. },
  17867. "pricemove": {
  17868. "description": "升贴水",
  17869. "type": "number"
  17870. },
  17871. "pricetype": {
  17872. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17873. "type": "integer"
  17874. },
  17875. "relatedid": {
  17876. "description": "现货合同ID",
  17877. "type": "string"
  17878. },
  17879. "sellusername": {
  17880. "description": "销售方名字",
  17881. "type": "string"
  17882. },
  17883. "userid": {
  17884. "description": "用户ID",
  17885. "type": "integer"
  17886. },
  17887. "wrstandardcode": {
  17888. "description": "品类代码",
  17889. "type": "string"
  17890. },
  17891. "wrstandardid": {
  17892. "description": "品类id",
  17893. "type": "integer"
  17894. },
  17895. "wrstandardname": {
  17896. "description": "品类名称",
  17897. "type": "string"
  17898. }
  17899. }
  17900. },
  17901. "ermcp.QryBussinessJsExRsp": {
  17902. "type": "object",
  17903. "properties": {
  17904. "applyid": {
  17905. "description": "申请人",
  17906. "type": "string"
  17907. },
  17908. "applyname": {
  17909. "description": "申请人名称",
  17910. "type": "string"
  17911. },
  17912. "applystatus": {
  17913. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17914. "type": "integer"
  17915. },
  17916. "applytime": {
  17917. "description": "申请时间",
  17918. "type": "string"
  17919. },
  17920. "attachurl": {
  17921. "description": "附件",
  17922. "type": "string"
  17923. },
  17924. "auditid": {
  17925. "description": "审核人ID",
  17926. "type": "string"
  17927. },
  17928. "auditname": {
  17929. "description": "审核人名称",
  17930. "type": "string"
  17931. },
  17932. "auditremark": {
  17933. "description": "审核备注",
  17934. "type": "string"
  17935. },
  17936. "audittime": {
  17937. "description": "审核时间",
  17938. "type": "string"
  17939. },
  17940. "buyusername": {
  17941. "description": "采购方名称",
  17942. "type": "string"
  17943. },
  17944. "contractno": {
  17945. "description": "合同编号",
  17946. "type": "string"
  17947. },
  17948. "contractstatus": {
  17949. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17950. "type": "integer"
  17951. },
  17952. "contracttype": {
  17953. "description": "现货合同类型 - 1:采购 -1:销售",
  17954. "type": "integer"
  17955. },
  17956. "deliverygoodscode": {
  17957. "description": "现货品种代码",
  17958. "type": "string"
  17959. },
  17960. "deliverygoodsid": {
  17961. "description": "现货商品ID",
  17962. "type": "integer"
  17963. },
  17964. "deliverygoodsname": {
  17965. "description": "现货品种名称",
  17966. "type": "string"
  17967. },
  17968. "enumdicname": {
  17969. "description": "单位名称",
  17970. "type": "string"
  17971. },
  17972. "goodscode": {
  17973. "description": "点价合约",
  17974. "type": "string"
  17975. },
  17976. "goodsname": {
  17977. "description": "商品名称",
  17978. "type": "string"
  17979. },
  17980. "operateapplyid": {
  17981. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17982. "type": "string"
  17983. },
  17984. "operateapplytype": {
  17985. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17986. "type": "integer"
  17987. },
  17988. "pricemove": {
  17989. "description": "升贴水",
  17990. "type": "number"
  17991. },
  17992. "pricetype": {
  17993. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17994. "type": "integer"
  17995. },
  17996. "reckontype": {
  17997. "description": "结算类型",
  17998. "type": "string"
  17999. },
  18000. "reckonvalue": {
  18001. "description": "值",
  18002. "type": "number"
  18003. },
  18004. "relatedid": {
  18005. "description": "现货合同ID",
  18006. "type": "string"
  18007. },
  18008. "sellusername": {
  18009. "description": "销售方名字",
  18010. "type": "string"
  18011. },
  18012. "userid": {
  18013. "description": "用户ID",
  18014. "type": "integer"
  18015. },
  18016. "wrstandardcode": {
  18017. "description": "品类代码",
  18018. "type": "string"
  18019. },
  18020. "wrstandardid": {
  18021. "description": "品类id",
  18022. "type": "integer"
  18023. },
  18024. "wrstandardname": {
  18025. "description": "品类名称",
  18026. "type": "string"
  18027. }
  18028. }
  18029. },
  18030. "ermcp.QryBussinessJsRsp": {
  18031. "type": "object",
  18032. "properties": {
  18033. "addmargin": {
  18034. "description": "追加保证金(非必填)",
  18035. "type": "number"
  18036. },
  18037. "applyid": {
  18038. "description": "申请人",
  18039. "type": "string"
  18040. },
  18041. "applyname": {
  18042. "description": "申请人名称",
  18043. "type": "string"
  18044. },
  18045. "applystatus": {
  18046. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18047. "type": "integer"
  18048. },
  18049. "applytime": {
  18050. "description": "申请时间",
  18051. "type": "string"
  18052. },
  18053. "attachurl": {
  18054. "description": "附件",
  18055. "type": "string"
  18056. },
  18057. "auditid": {
  18058. "description": "审核人ID",
  18059. "type": "string"
  18060. },
  18061. "auditname": {
  18062. "description": "审核人名称",
  18063. "type": "string"
  18064. },
  18065. "auditremark": {
  18066. "description": "审核备注",
  18067. "type": "string"
  18068. },
  18069. "audittime": {
  18070. "description": "审核时间",
  18071. "type": "string"
  18072. },
  18073. "buyusername": {
  18074. "description": "采购方名称",
  18075. "type": "string"
  18076. },
  18077. "contractno": {
  18078. "description": "合同编号",
  18079. "type": "string"
  18080. },
  18081. "contractstatus": {
  18082. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18083. "type": "integer"
  18084. },
  18085. "contracttype": {
  18086. "description": "现货合同类型 - 1:采购 -1:销售",
  18087. "type": "integer"
  18088. },
  18089. "decmargin": {
  18090. "description": "减少保证金(非必填)",
  18091. "type": "number"
  18092. },
  18093. "deliverygoodscode": {
  18094. "description": "现货品种代码",
  18095. "type": "string"
  18096. },
  18097. "deliverygoodsid": {
  18098. "description": "现货商品ID",
  18099. "type": "integer"
  18100. },
  18101. "deliverygoodsname": {
  18102. "description": "现货品种名称",
  18103. "type": "string"
  18104. },
  18105. "enumdicname": {
  18106. "description": "单位名称",
  18107. "type": "string"
  18108. },
  18109. "goodscode": {
  18110. "description": "点价合约",
  18111. "type": "string"
  18112. },
  18113. "goodsname": {
  18114. "description": "商品名称",
  18115. "type": "string"
  18116. },
  18117. "operateapplyid": {
  18118. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18119. "type": "string"
  18120. },
  18121. "operateapplytype": {
  18122. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18123. "type": "integer"
  18124. },
  18125. "pricemove": {
  18126. "description": "升贴水",
  18127. "type": "number"
  18128. },
  18129. "pricetype": {
  18130. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18131. "type": "integer"
  18132. },
  18133. "reckonadjustamount": {
  18134. "description": "结算调整金额(非必填)",
  18135. "type": "number"
  18136. },
  18137. "reckonosamount": {
  18138. "description": "结算溢短金额(非必填)",
  18139. "type": "number"
  18140. },
  18141. "reckonotheramount": {
  18142. "description": "结算其他费用(非必填)",
  18143. "type": "number"
  18144. },
  18145. "reckonrealqty": {
  18146. "description": "结算实际数量(非必填)",
  18147. "type": "number"
  18148. },
  18149. "relatedid": {
  18150. "description": "现货合同ID",
  18151. "type": "string"
  18152. },
  18153. "sellusername": {
  18154. "description": "销售方名字",
  18155. "type": "string"
  18156. },
  18157. "userid": {
  18158. "description": "用户ID",
  18159. "type": "integer"
  18160. },
  18161. "wrstandardcode": {
  18162. "description": "品类代码",
  18163. "type": "string"
  18164. },
  18165. "wrstandardid": {
  18166. "description": "品类id",
  18167. "type": "integer"
  18168. },
  18169. "wrstandardname": {
  18170. "description": "品类名称",
  18171. "type": "string"
  18172. }
  18173. }
  18174. },
  18175. "ermcp.QryBussinessKxRsp": {
  18176. "type": "object",
  18177. "properties": {
  18178. "applyid": {
  18179. "description": "申请人",
  18180. "type": "string"
  18181. },
  18182. "applyname": {
  18183. "description": "申请人名称",
  18184. "type": "string"
  18185. },
  18186. "applystatus": {
  18187. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18188. "type": "integer"
  18189. },
  18190. "applytime": {
  18191. "description": "申请时间",
  18192. "type": "string"
  18193. },
  18194. "attachurl": {
  18195. "description": "附件",
  18196. "type": "string"
  18197. },
  18198. "auditid": {
  18199. "description": "审核人ID",
  18200. "type": "string"
  18201. },
  18202. "auditname": {
  18203. "description": "审核人名称",
  18204. "type": "string"
  18205. },
  18206. "auditremark": {
  18207. "description": "审核备注",
  18208. "type": "string"
  18209. },
  18210. "audittime": {
  18211. "description": "审核时间",
  18212. "type": "string"
  18213. },
  18214. "buyusername": {
  18215. "description": "采购方名称",
  18216. "type": "string"
  18217. },
  18218. "contractno": {
  18219. "description": "合同编号",
  18220. "type": "string"
  18221. },
  18222. "contractstatus": {
  18223. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18224. "type": "integer"
  18225. },
  18226. "contracttype": {
  18227. "description": "现货合同类型 - 1:采购 -1:销售",
  18228. "type": "integer"
  18229. },
  18230. "deductamount": {
  18231. "description": "期初均价",
  18232. "type": "number"
  18233. },
  18234. "deliverygoodscode": {
  18235. "description": "现货品种代码",
  18236. "type": "string"
  18237. },
  18238. "deliverygoodsid": {
  18239. "description": "现货商品ID",
  18240. "type": "integer"
  18241. },
  18242. "deliverygoodsname": {
  18243. "description": "现货品种名称",
  18244. "type": "string"
  18245. },
  18246. "enumdicname": {
  18247. "description": "单位名称",
  18248. "type": "string"
  18249. },
  18250. "goodscode": {
  18251. "description": "点价合约",
  18252. "type": "string"
  18253. },
  18254. "goodsname": {
  18255. "description": "商品名称",
  18256. "type": "string"
  18257. },
  18258. "kxtype": {
  18259. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18260. "type": "integer"
  18261. },
  18262. "operateapplyid": {
  18263. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18264. "type": "string"
  18265. },
  18266. "operateapplytype": {
  18267. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18268. "type": "integer"
  18269. },
  18270. "payamount": {
  18271. "description": "期初均价",
  18272. "type": "number"
  18273. },
  18274. "pricemove": {
  18275. "description": "升贴水",
  18276. "type": "number"
  18277. },
  18278. "pricetype": {
  18279. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18280. "type": "integer"
  18281. },
  18282. "relatedid": {
  18283. "description": "现货合同ID",
  18284. "type": "string"
  18285. },
  18286. "sellusername": {
  18287. "description": "销售方名字",
  18288. "type": "string"
  18289. },
  18290. "userid": {
  18291. "description": "用户ID",
  18292. "type": "integer"
  18293. },
  18294. "wrstandardcode": {
  18295. "description": "品类代码",
  18296. "type": "string"
  18297. },
  18298. "wrstandardid": {
  18299. "description": "品类id",
  18300. "type": "integer"
  18301. },
  18302. "wrstandardname": {
  18303. "description": "品类名称",
  18304. "type": "string"
  18305. }
  18306. }
  18307. },
  18308. "ermcp.QryGGCovertCfgRsp": {
  18309. "type": "object",
  18310. "properties": {
  18311. "convertratio": {
  18312. "description": "折算系数",
  18313. "type": "number"
  18314. },
  18315. "destgoodsgroupid": {
  18316. "description": "目标品种ID",
  18317. "type": "integer"
  18318. },
  18319. "dstcode": {
  18320. "description": "目录品种代码",
  18321. "type": "string"
  18322. },
  18323. "dstexchangecode": {
  18324. "description": "目标期货交易所",
  18325. "type": "string"
  18326. },
  18327. "dstname": {
  18328. "description": "目标品种名称",
  18329. "type": "string"
  18330. },
  18331. "dstunitid": {
  18332. "description": "目标品种单位ID",
  18333. "type": "integer"
  18334. },
  18335. "dstunitidname": {
  18336. "description": "目标品种单位名称",
  18337. "type": "string"
  18338. },
  18339. "modifytime": {
  18340. "description": "修改时间",
  18341. "type": "string"
  18342. },
  18343. "srccode": {
  18344. "description": "源品种代码",
  18345. "type": "string"
  18346. },
  18347. "srcexchangecode": {
  18348. "description": "源期货交易所",
  18349. "type": "string"
  18350. },
  18351. "srcgoodsgroupid": {
  18352. "description": "源品种ID",
  18353. "type": "integer"
  18354. },
  18355. "srcname": {
  18356. "description": "源品种名称",
  18357. "type": "string"
  18358. },
  18359. "srcunitid": {
  18360. "description": "源品种单位ID",
  18361. "type": "integer"
  18362. },
  18363. "srcunitidname": {
  18364. "description": "源品种单位名称",
  18365. "type": "string"
  18366. }
  18367. }
  18368. },
  18369. "ermcp.QryMGChangeLogRsp": {
  18370. "type": "object",
  18371. "properties": {
  18372. "aftervalue": {
  18373. "description": "变更后",
  18374. "type": "number"
  18375. },
  18376. "applyid": {
  18377. "description": "操作人",
  18378. "type": "integer"
  18379. },
  18380. "applyname": {
  18381. "description": "操作人名称",
  18382. "type": "string"
  18383. },
  18384. "applysrc": {
  18385. "description": "操作来源 - 1:管理端 2:终端",
  18386. "type": "integer"
  18387. },
  18388. "beforevalue": {
  18389. "description": "变更前",
  18390. "type": "number"
  18391. },
  18392. "changelogtype": {
  18393. "description": "变更流水类型 - 1:套保比率变更",
  18394. "type": "integer"
  18395. },
  18396. "handlestatus": {
  18397. "description": "处理状态",
  18398. "type": "integer"
  18399. },
  18400. "logdatetime": {
  18401. "description": "流水日期",
  18402. "type": "string"
  18403. },
  18404. "logid": {
  18405. "description": "流水ID",
  18406. "type": "integer"
  18407. },
  18408. "logremark": {
  18409. "description": "流水备注",
  18410. "type": "string"
  18411. },
  18412. "middlegoodsid": {
  18413. "description": "套保品种ID",
  18414. "type": "integer"
  18415. },
  18416. "tradedate": {
  18417. "description": "交易日(yyyyMMdd)",
  18418. "type": "string"
  18419. },
  18420. "updatetime": {
  18421. "description": "更新时间",
  18422. "type": "string"
  18423. }
  18424. }
  18425. },
  18426. "ermcp.QryMiddleGoodsDetailRsp": {
  18427. "type": "object",
  18428. "properties": {
  18429. "cvList": {
  18430. "description": "期货品种折算列表",
  18431. "type": "array",
  18432. "items": {
  18433. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18434. }
  18435. },
  18436. "mg": {
  18437. "description": "套保品种基本信息",
  18438. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18439. },
  18440. "wrcList": {
  18441. "description": "现货品种列表(现货商品折算配置)",
  18442. "type": "array",
  18443. "items": {
  18444. "$ref": "#/definitions/models.WRSConverTDetail"
  18445. }
  18446. }
  18447. }
  18448. },
  18449. "ermcp.QryMiddleGoodsRsp": {
  18450. "type": "object",
  18451. "properties": {
  18452. "areauserid": {
  18453. "description": "机构用户ID",
  18454. "type": "integer"
  18455. },
  18456. "createtime": {
  18457. "description": "修改时间",
  18458. "type": "string"
  18459. },
  18460. "enumdicname": {
  18461. "description": "单位名称",
  18462. "type": "string"
  18463. },
  18464. "evaluateratio": {
  18465. "description": "估价系数",
  18466. "type": "number"
  18467. },
  18468. "goodsgroupid": {
  18469. "description": "关联期货品种ID",
  18470. "type": "integer"
  18471. },
  18472. "goodsunitid": {
  18473. "description": "单位ID",
  18474. "type": "integer"
  18475. },
  18476. "isvalid": {
  18477. "description": "状态 0-无效(停用) 1-有效(正常)",
  18478. "type": "integer"
  18479. },
  18480. "middlegoodscode": {
  18481. "description": "套保品种代码",
  18482. "type": "string"
  18483. },
  18484. "middlegoodsid": {
  18485. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18486. "type": "integer"
  18487. },
  18488. "middlegoodsname": {
  18489. "description": "套保品种名称",
  18490. "type": "string"
  18491. },
  18492. "modifytime": {
  18493. "description": "修改时间",
  18494. "type": "string"
  18495. },
  18496. "needarbitrageratio": {
  18497. "description": "套利比例",
  18498. "type": "number"
  18499. },
  18500. "needhedgeratio": {
  18501. "description": "套保比率",
  18502. "type": "number"
  18503. },
  18504. "qtydecimalplace": {
  18505. "description": "数量小数位",
  18506. "type": "integer"
  18507. },
  18508. "relatedgoodsid": {
  18509. "description": "关联交易商品ID",
  18510. "type": "integer"
  18511. },
  18512. "relatedgoodstype": {
  18513. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18514. "type": "integer"
  18515. },
  18516. "remark": {
  18517. "description": "备注",
  18518. "type": "string"
  18519. }
  18520. }
  18521. },
  18522. "ermcp.QryOPLogRsp": {
  18523. "type": "object",
  18524. "properties": {
  18525. "aftervalue": {
  18526. "description": "变更后",
  18527. "type": "number"
  18528. },
  18529. "applyid": {
  18530. "description": "操作人ID",
  18531. "type": "string"
  18532. },
  18533. "applyname": {
  18534. "description": "操作人名称",
  18535. "type": "string"
  18536. },
  18537. "beforevalue": {
  18538. "description": "变更前",
  18539. "type": "number"
  18540. },
  18541. "biztype": {
  18542. "description": "业务类型 - 1:套保计划 2:现货合同",
  18543. "type": "integer"
  18544. },
  18545. "contracttype": {
  18546. "description": "现货合同类型 - 1:采购 -1:销售",
  18547. "type": "integer"
  18548. },
  18549. "logvalue": {
  18550. "description": "数值",
  18551. "type": "number"
  18552. },
  18553. "operatelogtype": {
  18554. "description": "操作流水类型",
  18555. "type": "integer"
  18556. },
  18557. "operatelogtypedesc": {
  18558. "description": "操作流水类型名称",
  18559. "type": "string"
  18560. },
  18561. "relatedid": {
  18562. "description": "现货合同ID\\套保计划",
  18563. "type": "string"
  18564. },
  18565. "updatetime": {
  18566. "description": "更新时间",
  18567. "type": "string"
  18568. }
  18569. }
  18570. },
  18571. "ermcp.QryUserInfoRsp": {
  18572. "type": "object",
  18573. "properties": {
  18574. "address": {
  18575. "description": "通讯地址",
  18576. "type": "string"
  18577. },
  18578. "attachment1": {
  18579. "description": "附件1",
  18580. "type": "string"
  18581. },
  18582. "audittime": {
  18583. "description": "审核时间",
  18584. "type": "string"
  18585. },
  18586. "cardbackphotourl": {
  18587. "description": "证件反面图片地址",
  18588. "type": "string"
  18589. },
  18590. "cardfrontphotourl": {
  18591. "description": "证件正面图片地址",
  18592. "type": "string"
  18593. },
  18594. "cardnum": {
  18595. "description": "证件号码",
  18596. "type": "string"
  18597. },
  18598. "cardtype": {
  18599. "description": "证件类型",
  18600. "type": "integer"
  18601. },
  18602. "cardtypename": {
  18603. "description": "证件类型名称",
  18604. "type": "string"
  18605. },
  18606. "cityid": {
  18607. "description": "市",
  18608. "type": "integer"
  18609. },
  18610. "contactname": {
  18611. "description": "联系人",
  18612. "type": "string"
  18613. },
  18614. "countryid": {
  18615. "description": "国家",
  18616. "type": "integer"
  18617. },
  18618. "createtime": {
  18619. "description": "创建时间",
  18620. "type": "string"
  18621. },
  18622. "customername": {
  18623. "description": "企业名称",
  18624. "type": "string"
  18625. },
  18626. "districtid": {
  18627. "description": "区域",
  18628. "type": "integer"
  18629. },
  18630. "email": {
  18631. "description": "邮件",
  18632. "type": "string"
  18633. },
  18634. "legalpersonname": {
  18635. "description": "法人姓名(企业)",
  18636. "type": "string"
  18637. },
  18638. "memberuserid": {
  18639. "description": "所属机构ID",
  18640. "type": "integer"
  18641. },
  18642. "mobile": {
  18643. "description": "手机号码",
  18644. "type": "string"
  18645. },
  18646. "modifytime": {
  18647. "description": "修改时间",
  18648. "type": "string"
  18649. },
  18650. "nickname": {
  18651. "description": "昵称",
  18652. "type": "string"
  18653. },
  18654. "provinceid": {
  18655. "description": "省",
  18656. "type": "integer"
  18657. },
  18658. "remark": {
  18659. "description": "备注",
  18660. "type": "string"
  18661. },
  18662. "status": {
  18663. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18664. "type": "integer"
  18665. },
  18666. "statusdesc": {
  18667. "description": "账户状态中文描述",
  18668. "type": "string"
  18669. },
  18670. "taxpayernum": {
  18671. "description": "纳税人识别号",
  18672. "type": "string"
  18673. },
  18674. "telphone": {
  18675. "description": "联系电话",
  18676. "type": "string"
  18677. },
  18678. "userid": {
  18679. "description": "用户ID",
  18680. "type": "integer"
  18681. },
  18682. "userinfotype": {
  18683. "description": "客户类型",
  18684. "type": "string"
  18685. }
  18686. }
  18687. },
  18688. "ermcp.QryWarehouseRsp": {
  18689. "type": "object",
  18690. "properties": {
  18691. "address": {
  18692. "description": "详细地址",
  18693. "type": "string"
  18694. },
  18695. "areauserid": {
  18696. "description": "所属机构",
  18697. "type": "integer"
  18698. },
  18699. "autoid": {
  18700. "description": "自增ID(仓库ID)",
  18701. "type": "integer"
  18702. },
  18703. "cityid": {
  18704. "description": "市",
  18705. "type": "integer"
  18706. },
  18707. "contactname": {
  18708. "description": "联系人",
  18709. "type": "string"
  18710. },
  18711. "contactnum": {
  18712. "description": "联系电话",
  18713. "type": "string"
  18714. },
  18715. "countryid": {
  18716. "description": "国家",
  18717. "type": "integer"
  18718. },
  18719. "createtime": {
  18720. "description": "创建时间",
  18721. "type": "string"
  18722. },
  18723. "districtid": {
  18724. "description": "区",
  18725. "type": "integer"
  18726. },
  18727. "hasvideo": {
  18728. "description": "是否有视频 - 0:无 1:有",
  18729. "type": "integer"
  18730. },
  18731. "provinceid": {
  18732. "description": "省",
  18733. "type": "integer"
  18734. },
  18735. "remark": {
  18736. "description": "审核备注",
  18737. "type": "string"
  18738. },
  18739. "videourl": {
  18740. "description": "视频地址",
  18741. "type": "string"
  18742. },
  18743. "warehousecode": {
  18744. "description": "仓库代码",
  18745. "type": "string"
  18746. },
  18747. "warehousename": {
  18748. "description": "仓库名称",
  18749. "type": "string"
  18750. },
  18751. "warehousestatus": {
  18752. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18753. "type": "integer"
  18754. },
  18755. "warehousetype": {
  18756. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18757. "type": "integer"
  18758. }
  18759. }
  18760. },
  18761. "ermcp.QueryErmcpTradePositionRsp": {
  18762. "type": "object",
  18763. "properties": {
  18764. "agreeunit": {
  18765. "description": "合约单位",
  18766. "type": "number"
  18767. },
  18768. "buyorsell": {
  18769. "description": "方向 - 0:买 1:卖",
  18770. "type": "integer"
  18771. },
  18772. "curpositionqty": {
  18773. "description": "持仓(总仓数量, 期末头寸)",
  18774. "type": "integer"
  18775. },
  18776. "curtdposition": {
  18777. "description": "今仓数量(期末今日头寸)",
  18778. "type": "integer"
  18779. },
  18780. "curtdpositionenabled": {
  18781. "description": "今仓可用",
  18782. "type": "integer"
  18783. },
  18784. "decimalplace": {
  18785. "description": "报价小数位",
  18786. "type": "integer"
  18787. },
  18788. "enableqty": {
  18789. "description": "可用(总仓可用)",
  18790. "type": "integer"
  18791. },
  18792. "exexchangename": {
  18793. "description": "外部交易所名称",
  18794. "type": "string"
  18795. },
  18796. "exexehangecode": {
  18797. "description": "外部交易所代码",
  18798. "type": "string"
  18799. },
  18800. "exexehangeid": {
  18801. "description": "外部交易所id",
  18802. "type": "integer"
  18803. },
  18804. "goodscode": {
  18805. "description": "商品代码(内部)",
  18806. "type": "string"
  18807. },
  18808. "goodsid": {
  18809. "description": "商品ID(自增ID SEQ_GOODS)",
  18810. "type": "integer"
  18811. },
  18812. "goodsname": {
  18813. "description": "商品名称",
  18814. "type": "string"
  18815. },
  18816. "last": {
  18817. "description": "现价",
  18818. "type": "number"
  18819. },
  18820. "marketid": {
  18821. "description": "所属市场ID",
  18822. "type": "integer"
  18823. },
  18824. "openaverageprice": {
  18825. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18826. "type": "number"
  18827. },
  18828. "opencost": {
  18829. "description": "开仓成本",
  18830. "type": "number"
  18831. },
  18832. "openpl": {
  18833. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18834. "type": "number"
  18835. },
  18836. "outgoodscode": {
  18837. "description": "商品代码(外部)",
  18838. "type": "string"
  18839. },
  18840. "positionaverageprice": {
  18841. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18842. "type": "number"
  18843. },
  18844. "positioncost": {
  18845. "description": "持仓成本",
  18846. "type": "number"
  18847. },
  18848. "positionpl": {
  18849. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18850. "type": "number"
  18851. },
  18852. "positionplrate": {
  18853. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18854. "type": "number"
  18855. },
  18856. "usedmargin": {
  18857. "description": "占用保证金",
  18858. "type": "number"
  18859. }
  18860. }
  18861. },
  18862. "ermcp.RealtimeExposurePositionRsp": {
  18863. "type": "object",
  18864. "properties": {
  18865. "agreeunit": {
  18866. "description": "合约单位",
  18867. "type": "string"
  18868. },
  18869. "areauserid": {
  18870. "description": "所属机构id",
  18871. "type": "integer"
  18872. },
  18873. "convertratio": {
  18874. "description": "期货品种系数(折算系数)",
  18875. "type": "number"
  18876. },
  18877. "curhedgeqty": {
  18878. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18879. "type": "number"
  18880. },
  18881. "curqty": {
  18882. "description": "当前持仓",
  18883. "type": "integer"
  18884. },
  18885. "diffhedgeqty": {
  18886. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18887. "type": "number"
  18888. },
  18889. "diffqty": {
  18890. "description": "持仓变动量=当前持仓-昨日持仓",
  18891. "type": "integer"
  18892. },
  18893. "goodscode": {
  18894. "description": "商品代码",
  18895. "type": "string"
  18896. },
  18897. "goodsid": {
  18898. "description": "商品id",
  18899. "type": "integer"
  18900. },
  18901. "goodsname": {
  18902. "description": "商品名称",
  18903. "type": "string"
  18904. },
  18905. "hedgeaccountcode": {
  18906. "description": "对冲账号(只有外部账号才有值)",
  18907. "type": "string"
  18908. },
  18909. "middlegoodscode": {
  18910. "description": "套保商品代码",
  18911. "type": "string"
  18912. },
  18913. "middlegoodsid": {
  18914. "description": "套保商品id",
  18915. "type": "integer"
  18916. },
  18917. "middlegoodsname": {
  18918. "description": "套保商品名称",
  18919. "type": "string"
  18920. },
  18921. "ydqty": {
  18922. "description": "昨日持仓",
  18923. "type": "integer"
  18924. }
  18925. }
  18926. },
  18927. "ermcp.RealtimeExposureRsp": {
  18928. "type": "object",
  18929. "properties": {
  18930. "AreaUserID": {
  18931. "description": "所属机构",
  18932. "type": "integer"
  18933. },
  18934. "BuyFutureQty": {
  18935. "description": "买入期货数量",
  18936. "type": "number"
  18937. },
  18938. "BuyPlanQty": {
  18939. "description": "采购计划数量",
  18940. "type": "number"
  18941. },
  18942. "BuyPricedQty": {
  18943. "description": "采购合同已定价数量",
  18944. "type": "number"
  18945. },
  18946. "MiddleGoodsCode": {
  18947. "description": "套保品种代码",
  18948. "type": "string"
  18949. },
  18950. "MiddleGoodsHedgeRatio": {
  18951. "description": "套保比例",
  18952. "type": "number"
  18953. },
  18954. "MiddleGoodsID": {
  18955. "description": "套保品种",
  18956. "type": "integer"
  18957. },
  18958. "MiddleGoodsName": {
  18959. "description": "套保品种名称",
  18960. "type": "string"
  18961. },
  18962. "NeedHedgeExposoure": {
  18963. "description": "应套保敞口(套保敞口)",
  18964. "type": "number"
  18965. },
  18966. "NeedHedgeRatio": {
  18967. "description": "应套保敞口比例",
  18968. "type": "number"
  18969. },
  18970. "OriBuyFutureQty": {
  18971. "description": "期初买入期货数量",
  18972. "type": "number"
  18973. },
  18974. "OriBuyPlanQty": {
  18975. "description": "期初采购计划数量",
  18976. "type": "number"
  18977. },
  18978. "OriBuyPricedQty": {
  18979. "description": "期初采购合同已定价数量",
  18980. "type": "number"
  18981. },
  18982. "OriSellFutureQty": {
  18983. "description": "期初卖出期货数量",
  18984. "type": "number"
  18985. },
  18986. "OriSellPlanQty": {
  18987. "description": "期初销售计划数量",
  18988. "type": "number"
  18989. },
  18990. "OriSellPricedQty": {
  18991. "description": "期初销售合同已定价数量",
  18992. "type": "number"
  18993. },
  18994. "OriTotalSpotQty": {
  18995. "description": "期初现货总量",
  18996. "type": "number"
  18997. },
  18998. "SellFutureQty": {
  18999. "description": "卖出期货数量",
  19000. "type": "number"
  19001. },
  19002. "SellPlanQty": {
  19003. "description": "销售计划数量",
  19004. "type": "number"
  19005. },
  19006. "SellPricedQty": {
  19007. "description": "销售合同已定价数量",
  19008. "type": "number"
  19009. },
  19010. "TotalExposure": {
  19011. "description": "总敞口 平安:净敞口",
  19012. "type": "number"
  19013. },
  19014. "TotalFutureQty": {
  19015. "description": "期货总量 平安:保值净持仓量",
  19016. "type": "number"
  19017. },
  19018. "TotalHedgeRatio": {
  19019. "description": "敞口比例",
  19020. "type": "number"
  19021. },
  19022. "TotalNeedHedgeQty": {
  19023. "description": "应套保总量(现货应套保总量)",
  19024. "type": "number"
  19025. },
  19026. "TotalSpotQty": {
  19027. "description": "现货总量 平安:采销定价净值",
  19028. "type": "number"
  19029. },
  19030. "arbitrageqty": {
  19031. "description": "套利量",
  19032. "type": "number"
  19033. },
  19034. "diffArbitrageQty": {
  19035. "description": "期初均价",
  19036. "type": "number"
  19037. },
  19038. "diffExposoureQty": {
  19039. "description": "期初均价",
  19040. "type": "number"
  19041. },
  19042. "diffFutuQty": {
  19043. "description": "期初均价",
  19044. "type": "number"
  19045. },
  19046. "diffHedgeQty": {
  19047. "description": "期初均价",
  19048. "type": "number"
  19049. },
  19050. "diffQty": {
  19051. "description": "期初均价",
  19052. "type": "number"
  19053. },
  19054. "diffSpotHedgeQty": {
  19055. "description": "期初均价",
  19056. "type": "number"
  19057. },
  19058. "diffSpotQty": {
  19059. "description": "期初均价",
  19060. "type": "number"
  19061. },
  19062. "enumdicname": {
  19063. "description": "单位名称",
  19064. "type": "string"
  19065. },
  19066. "hedgeqty": {
  19067. "description": "套保量",
  19068. "type": "number"
  19069. },
  19070. "needarbitrageqty": {
  19071. "description": "应套利量",
  19072. "type": "number"
  19073. },
  19074. "needarbitrageratio": {
  19075. "description": "套利比例",
  19076. "type": "number"
  19077. },
  19078. "needhedgeqty": {
  19079. "description": "应套保量",
  19080. "type": "number"
  19081. },
  19082. "oriarbitrageqty": {
  19083. "description": "期初套利量",
  19084. "type": "number"
  19085. },
  19086. "orihedgeqty": {
  19087. "description": "期初套保量",
  19088. "type": "number"
  19089. },
  19090. "orineedhedgeexposoure": {
  19091. "description": "期初套保敞口",
  19092. "type": "number"
  19093. },
  19094. "oritotalexposure": {
  19095. "description": "期初总敞口",
  19096. "type": "number"
  19097. },
  19098. "oritotalfutureqty": {
  19099. "description": "期初期货总量",
  19100. "type": "number"
  19101. },
  19102. "oritotalneedhedgeqty": {
  19103. "description": "期初现货应套保量",
  19104. "type": "number"
  19105. }
  19106. }
  19107. },
  19108. "erms2.QueryArbitrageStrategyRsp": {
  19109. "type": "object",
  19110. "required": [
  19111. "asapplyid"
  19112. ],
  19113. "properties": {
  19114. "applybasis": {
  19115. "description": "申请基差",
  19116. "type": "number"
  19117. },
  19118. "asapplyid": {
  19119. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19120. "type": "string"
  19121. },
  19122. "asname": {
  19123. "description": "策略名称",
  19124. "type": "string"
  19125. },
  19126. "asno": {
  19127. "description": "策略编号",
  19128. "type": "string"
  19129. },
  19130. "basischangepl": {
  19131. "description": "基差变动损益[结算更新]",
  19132. "type": "number"
  19133. },
  19134. "biztype": {
  19135. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19136. "type": "integer"
  19137. },
  19138. "closetradedate": {
  19139. "description": "完结交易日(yyyyMMdd)",
  19140. "type": "string"
  19141. },
  19142. "curbasis": {
  19143. "description": "当前基差[结算更新]",
  19144. "type": "number"
  19145. },
  19146. "deliverygoodsid": {
  19147. "description": "现货品种ID",
  19148. "type": "integer"
  19149. },
  19150. "futureavgprice": {
  19151. "description": "期货建仓均价",
  19152. "type": "number"
  19153. },
  19154. "futurecloseamount": {
  19155. "description": "期货平仓金额",
  19156. "type": "number"
  19157. },
  19158. "futurecloseqty": {
  19159. "description": "期货平仓数量",
  19160. "type": "number"
  19161. },
  19162. "futureopenamount": {
  19163. "description": "期货开仓金额",
  19164. "type": "number"
  19165. },
  19166. "futureopenqty": {
  19167. "description": "期货开仓数量",
  19168. "type": "number"
  19169. },
  19170. "futurepl": {
  19171. "description": "期货总盈亏[结算更新]",
  19172. "type": "number"
  19173. },
  19174. "futureqty": {
  19175. "description": "期货持仓数量",
  19176. "type": "number"
  19177. },
  19178. "futurequote": {
  19179. "description": "期货额度",
  19180. "type": "number"
  19181. },
  19182. "goodsgroupid": {
  19183. "description": "期货品种ID",
  19184. "type": "integer"
  19185. },
  19186. "marketid": {
  19187. "description": "市场ID",
  19188. "type": "integer"
  19189. },
  19190. "netexposure": {
  19191. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19192. "type": "number"
  19193. },
  19194. "netexposurepl": {
  19195. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19196. "type": "number"
  19197. },
  19198. "netexposurerate": {
  19199. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19200. "type": "number"
  19201. },
  19202. "openbasis": {
  19203. "description": "建仓基差",
  19204. "type": "number"
  19205. },
  19206. "pricedspotqty": {
  19207. "description": "已定价现货数量",
  19208. "type": "number"
  19209. },
  19210. "pricedspotqtynotax": {
  19211. "description": "已定价现货不含税数量",
  19212. "type": "number"
  19213. },
  19214. "remark": {
  19215. "description": "备注",
  19216. "type": "string"
  19217. },
  19218. "spotavgprice": {
  19219. "description": "现货均价",
  19220. "type": "number"
  19221. },
  19222. "spotbuyamount": {
  19223. "description": "现货采购金额",
  19224. "type": "number"
  19225. },
  19226. "spotbuyqty": {
  19227. "description": "现货采购数量",
  19228. "type": "number"
  19229. },
  19230. "spotpl": {
  19231. "description": "现货总盈亏[结算更新]",
  19232. "type": "number"
  19233. },
  19234. "spotquota": {
  19235. "description": "现货额度",
  19236. "type": "number"
  19237. },
  19238. "spotsellamount": {
  19239. "description": "现货销售金额",
  19240. "type": "number"
  19241. },
  19242. "spotsellqty": {
  19243. "description": "现货销售数量",
  19244. "type": "number"
  19245. },
  19246. "spotusedquota": {
  19247. "description": "现货占用资金",
  19248. "type": "number"
  19249. },
  19250. "strategystatus": {
  19251. "description": "策略状态 - 0:未结束 1:已结束",
  19252. "type": "integer"
  19253. },
  19254. "totalpl": {
  19255. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19256. "type": "number"
  19257. },
  19258. "tradedate": {
  19259. "description": "交易日(yyyyMMdd)",
  19260. "type": "string"
  19261. },
  19262. "updatetime": {
  19263. "description": "更新时间",
  19264. "type": "string"
  19265. },
  19266. "usedquota": {
  19267. "description": "已占用资金",
  19268. "type": "number"
  19269. },
  19270. "userid": {
  19271. "description": "所属机构",
  19272. "type": "integer"
  19273. }
  19274. }
  19275. },
  19276. "erms2.QueryInnerTradeDetailRsp": {
  19277. "type": "object",
  19278. "required": [
  19279. "asapplyid",
  19280. "buyorsell",
  19281. "goodscode",
  19282. "goodsgroupid",
  19283. "goodsgroupname",
  19284. "goodsname",
  19285. "tradeid"
  19286. ],
  19287. "properties": {
  19288. "accountid": {
  19289. "description": "账号ID",
  19290. "type": "integer"
  19291. },
  19292. "agreeunit": {
  19293. "description": "合约单位",
  19294. "type": "number"
  19295. },
  19296. "asapplyid": {
  19297. "description": "策略申请ID",
  19298. "type": "integer"
  19299. },
  19300. "asname": {
  19301. "description": "策略名称",
  19302. "type": "string"
  19303. },
  19304. "asno": {
  19305. "description": "策略编号",
  19306. "type": "string"
  19307. },
  19308. "buyorsell": {
  19309. "description": "方向 - 0:买 1:卖",
  19310. "type": "integer"
  19311. },
  19312. "channelbuildtype": {
  19313. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19314. "type": "integer"
  19315. },
  19316. "closetype": {
  19317. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19318. "type": "integer"
  19319. },
  19320. "decimalplace": {
  19321. "description": "报价小数位",
  19322. "type": "integer"
  19323. },
  19324. "detailtype": {
  19325. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19326. "type": "integer"
  19327. },
  19328. "exexchangecode": {
  19329. "description": "外部交易所代码",
  19330. "type": "string"
  19331. },
  19332. "exexchangename": {
  19333. "description": "外部交易所名称",
  19334. "type": "string"
  19335. },
  19336. "goodscode": {
  19337. "description": "商品代码(合约)",
  19338. "type": "string"
  19339. },
  19340. "goodsgroupid": {
  19341. "description": "商品组ID(品种ID)",
  19342. "type": "integer"
  19343. },
  19344. "goodsgroupname": {
  19345. "description": "商品组名称(品种)",
  19346. "type": "string"
  19347. },
  19348. "goodsid": {
  19349. "description": "商品ID",
  19350. "type": "integer"
  19351. },
  19352. "goodsname": {
  19353. "description": "商品名称(合约)",
  19354. "type": "string"
  19355. },
  19356. "goodunit": {
  19357. "description": "报价单位",
  19358. "type": "string"
  19359. },
  19360. "marketid": {
  19361. "description": "市场ID",
  19362. "type": "integer"
  19363. },
  19364. "orderid": {
  19365. "description": "委托单号",
  19366. "type": "string"
  19367. },
  19368. "outgoodscode": {
  19369. "description": "商品代码(外部)",
  19370. "type": "string"
  19371. },
  19372. "relatedouttradeid": {
  19373. "description": "关联外部成交单ID",
  19374. "type": "string"
  19375. },
  19376. "remark": {
  19377. "description": "备注",
  19378. "type": "string"
  19379. },
  19380. "spotcontractid": {
  19381. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19382. "type": "integer"
  19383. },
  19384. "spotcontractno": {
  19385. "description": "现货合同编号",
  19386. "type": "string"
  19387. },
  19388. "tradeid": {
  19389. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19390. "type": "string"
  19391. },
  19392. "tradeprice": {
  19393. "description": "成交价格",
  19394. "type": "number"
  19395. },
  19396. "tradeqty": {
  19397. "description": "成交数量",
  19398. "type": "integer"
  19399. },
  19400. "tradetime": {
  19401. "description": "成交时间",
  19402. "type": "string"
  19403. },
  19404. "updatetime": {
  19405. "description": "更新时间",
  19406. "type": "string"
  19407. }
  19408. }
  19409. },
  19410. "erms2.QuerySpotContractRsp": {
  19411. "type": "object",
  19412. "required": [
  19413. "spotcontractid"
  19414. ],
  19415. "properties": {
  19416. "accountid": {
  19417. "description": "资金账户ID",
  19418. "type": "integer"
  19419. },
  19420. "areauserid": {
  19421. "description": "所属机构",
  19422. "type": "integer"
  19423. },
  19424. "closedate": {
  19425. "description": "终止日期",
  19426. "type": "string"
  19427. },
  19428. "closeremark": {
  19429. "description": "结束备注",
  19430. "type": "string"
  19431. },
  19432. "closetradedate": {
  19433. "description": "完结交易日(yyyyMMdd)",
  19434. "type": "string"
  19435. },
  19436. "closetype": {
  19437. "description": "终止类型 - 1:违约 2:提前终止",
  19438. "type": "integer"
  19439. },
  19440. "contractamount": {
  19441. "description": "合同金额",
  19442. "type": "number"
  19443. },
  19444. "contractattachment": {
  19445. "description": "合同附件",
  19446. "type": "string"
  19447. },
  19448. "contractno": {
  19449. "description": "现货合同编号",
  19450. "type": "string"
  19451. },
  19452. "contractqty": {
  19453. "description": "合同数量(数值) (用于计算)",
  19454. "type": "number"
  19455. },
  19456. "contractqtychar": {
  19457. "description": "合同数量\\已订价数量 (用于显示)",
  19458. "type": "string"
  19459. },
  19460. "contractstatus": {
  19461. "description": "合同状态 - 0:未结束 1:已结束",
  19462. "type": "integer"
  19463. },
  19464. "contracttype": {
  19465. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19466. "type": "integer"
  19467. },
  19468. "customeraccountid": {
  19469. "description": "客户资金账户ID",
  19470. "type": "integer"
  19471. },
  19472. "customeruserid": {
  19473. "description": "客户ID",
  19474. "type": "integer"
  19475. },
  19476. "deliverygoodsdesc": {
  19477. "description": "品种说明",
  19478. "type": "string"
  19479. },
  19480. "deliverygoodsid": {
  19481. "description": "现货品种ID",
  19482. "type": "integer"
  19483. },
  19484. "handlestatus": {
  19485. "description": "处理状态",
  19486. "type": "integer"
  19487. },
  19488. "invoiceatt": {
  19489. "description": "发票附件",
  19490. "type": "string"
  19491. },
  19492. "invoicedatetime": {
  19493. "description": "开收票更新时间",
  19494. "type": "string"
  19495. },
  19496. "invoiceopentime": {
  19497. "description": "开票时间",
  19498. "type": "string"
  19499. },
  19500. "invoiceremark": {
  19501. "description": "发票备注",
  19502. "type": "string"
  19503. },
  19504. "invoicestatus": {
  19505. "description": "开收票状态 - 0:未开票 1:已开票",
  19506. "type": "integer"
  19507. },
  19508. "lastdate": {
  19509. "description": "交货时间",
  19510. "type": "string"
  19511. },
  19512. "marketid": {
  19513. "description": "市场ID",
  19514. "type": "integer"
  19515. },
  19516. "paydatetime": {
  19517. "description": "收付款更新时间",
  19518. "type": "string"
  19519. },
  19520. "payremark": {
  19521. "description": "收付款备注",
  19522. "type": "string"
  19523. },
  19524. "paystatus": {
  19525. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19526. "type": "integer"
  19527. },
  19528. "positionqty": {
  19529. "description": "头寸数量 - 合同数量去小数部分",
  19530. "type": "integer"
  19531. },
  19532. "producttype": {
  19533. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19534. "type": "integer"
  19535. },
  19536. "relatedqty": {
  19537. "description": "已关联数量",
  19538. "type": "number"
  19539. },
  19540. "relatedstatus": {
  19541. "description": "关联完结状态 - 0:未结束 1:已结束",
  19542. "type": "integer"
  19543. },
  19544. "remark": {
  19545. "description": "备注",
  19546. "type": "string"
  19547. },
  19548. "signdate": {
  19549. "description": "签订日期",
  19550. "type": "string"
  19551. },
  19552. "spotcontractid": {
  19553. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19554. "type": "string"
  19555. },
  19556. "spotdatetime": {
  19557. "description": "收发货更新时间",
  19558. "type": "string"
  19559. },
  19560. "spotprice": {
  19561. "description": "价格",
  19562. "type": "number"
  19563. },
  19564. "spotremark": {
  19565. "description": "收发货备注",
  19566. "type": "string"
  19567. },
  19568. "spotstatus": {
  19569. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19570. "type": "integer"
  19571. },
  19572. "tradedate": {
  19573. "description": "交易日(yyyyMMdd)",
  19574. "type": "string"
  19575. },
  19576. "userid": {
  19577. "description": "业务员用户ID",
  19578. "type": "integer"
  19579. },
  19580. "warehouseid": {
  19581. "description": "仓库ID",
  19582. "type": "integer"
  19583. },
  19584. "wrfactortypeid": {
  19585. "description": "仓单要素类型ID",
  19586. "type": "integer"
  19587. },
  19588. "wrstandardid": {
  19589. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19590. "type": "integer"
  19591. }
  19592. }
  19593. },
  19594. "erms3.AddErms2ASApplyReq": {
  19595. "type": "object",
  19596. "required": [
  19597. "asapplyid"
  19598. ],
  19599. "properties": {
  19600. "applybasis": {
  19601. "description": "申请基差",
  19602. "type": "number"
  19603. },
  19604. "applystatus": {
  19605. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19606. "type": "integer"
  19607. },
  19608. "asapplyid": {
  19609. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19610. "type": "integer"
  19611. },
  19612. "asname": {
  19613. "description": "策略名称",
  19614. "type": "string"
  19615. },
  19616. "asno": {
  19617. "description": "策略编号",
  19618. "type": "string"
  19619. },
  19620. "auditid": {
  19621. "description": "审核人",
  19622. "type": "integer"
  19623. },
  19624. "auditremark": {
  19625. "description": "审核备注",
  19626. "type": "string"
  19627. },
  19628. "audittime": {
  19629. "description": "审核时间",
  19630. "type": "string"
  19631. },
  19632. "biztype": {
  19633. "description": "业务类型 - 1:正向套利 2:反向套利",
  19634. "type": "integer"
  19635. },
  19636. "createtime": {
  19637. "description": "创建时间",
  19638. "type": "string"
  19639. },
  19640. "creatorid": {
  19641. "description": "创建人",
  19642. "type": "integer"
  19643. },
  19644. "deliverygoodsid": {
  19645. "description": "现货品种ID",
  19646. "type": "integer"
  19647. },
  19648. "futurequote": {
  19649. "description": "期货额度",
  19650. "type": "number"
  19651. },
  19652. "goodsgroupid": {
  19653. "description": "期货品种ID",
  19654. "type": "integer"
  19655. },
  19656. "marketid": {
  19657. "description": "市场ID",
  19658. "type": "integer"
  19659. },
  19660. "remark": {
  19661. "description": "备注",
  19662. "type": "string"
  19663. },
  19664. "spotquota": {
  19665. "description": "现货额度",
  19666. "type": "number"
  19667. },
  19668. "tradedate": {
  19669. "description": "交易日(yyyyMMdd)",
  19670. "type": "string"
  19671. },
  19672. "userid": {
  19673. "description": "所属机构",
  19674. "type": "integer"
  19675. }
  19676. }
  19677. },
  19678. "erms3.AddErms2SpotTradeApplyReq": {
  19679. "type": "object",
  19680. "required": [
  19681. "spottradeid"
  19682. ],
  19683. "properties": {
  19684. "applyjsondetail": {
  19685. "description": "申请明细(JSON)",
  19686. "type": "string"
  19687. },
  19688. "applystatus": {
  19689. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19690. "type": "integer"
  19691. },
  19692. "areauserid": {
  19693. "description": "所属机构",
  19694. "type": "integer"
  19695. },
  19696. "auditid": {
  19697. "description": "审核人",
  19698. "type": "integer"
  19699. },
  19700. "auditremark": {
  19701. "description": "审核备注",
  19702. "type": "string"
  19703. },
  19704. "audittime": {
  19705. "description": "审核时间",
  19706. "type": "string"
  19707. },
  19708. "createtime": {
  19709. "description": "创建时间",
  19710. "type": "string"
  19711. },
  19712. "creatorid": {
  19713. "description": "创建人",
  19714. "type": "integer"
  19715. },
  19716. "deliverygoodsid": {
  19717. "description": "现货品种ID",
  19718. "type": "integer"
  19719. },
  19720. "futureaccountid": {
  19721. "description": "期货资金账户",
  19722. "type": "integer"
  19723. },
  19724. "goodsgroupid": {
  19725. "description": "期货品种",
  19726. "type": "integer"
  19727. },
  19728. "marketid": {
  19729. "description": "市场ID",
  19730. "type": "integer"
  19731. },
  19732. "remark": {
  19733. "description": "备注",
  19734. "type": "string"
  19735. },
  19736. "spotaccountid": {
  19737. "description": "现货资金账户",
  19738. "type": "integer"
  19739. },
  19740. "spottradeid": {
  19741. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19742. "type": "integer"
  19743. },
  19744. "spottradename": {
  19745. "description": "业务名称",
  19746. "type": "string"
  19747. },
  19748. "spottradeno": {
  19749. "description": "业务编号",
  19750. "type": "string"
  19751. },
  19752. "tradedate": {
  19753. "description": "交易日(yyyyMMdd)",
  19754. "type": "string"
  19755. },
  19756. "wrstandardid": {
  19757. "description": "仓单标准ID",
  19758. "type": "integer"
  19759. }
  19760. }
  19761. },
  19762. "erms3.AddSpotContractApplyReq": {
  19763. "type": "object",
  19764. "required": [
  19765. "accountid",
  19766. "areauserid",
  19767. "contractno",
  19768. "contracttype",
  19769. "customeraccountid",
  19770. "customeruserid",
  19771. "details",
  19772. "orimargin",
  19773. "signdate"
  19774. ],
  19775. "properties": {
  19776. "accountid": {
  19777. "description": "资金账户ID",
  19778. "type": "integer"
  19779. },
  19780. "areauserid": {
  19781. "description": "所属机构",
  19782. "type": "integer"
  19783. },
  19784. "contractattachment": {
  19785. "description": "合同附件",
  19786. "type": "string"
  19787. },
  19788. "contractno": {
  19789. "description": "现货合同编号",
  19790. "type": "string"
  19791. },
  19792. "contracttype": {
  19793. "description": "现货合同类型 - 1:采购 -1:销售",
  19794. "type": "integer"
  19795. },
  19796. "creatorid": {
  19797. "description": "申请人",
  19798. "type": "integer"
  19799. },
  19800. "customeraccountid": {
  19801. "description": "客户资金账户ID",
  19802. "type": "integer"
  19803. },
  19804. "customeruserid": {
  19805. "description": "客户ID",
  19806. "type": "integer"
  19807. },
  19808. "details": {
  19809. "description": "明细",
  19810. "type": "array",
  19811. "items": {
  19812. "$ref": "#/definitions/erms3.SoptContractDetail"
  19813. }
  19814. },
  19815. "orimargin": {
  19816. "description": "初始保证金",
  19817. "type": "number"
  19818. },
  19819. "remark": {
  19820. "description": "备注",
  19821. "type": "string"
  19822. },
  19823. "signdate": {
  19824. "description": "签订日期",
  19825. "type": "string"
  19826. }
  19827. }
  19828. },
  19829. "erms3.AddSpotContractApplyRsp": {
  19830. "type": "object",
  19831. "required": [
  19832. "contractno"
  19833. ],
  19834. "properties": {
  19835. "contractno": {
  19836. "description": "现货合同编号",
  19837. "type": "string"
  19838. },
  19839. "spotcontractid": {
  19840. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19841. "type": "integer"
  19842. }
  19843. }
  19844. },
  19845. "erms3.AddUserInfoApplyReq": {
  19846. "type": "object",
  19847. "required": [
  19848. "userid"
  19849. ],
  19850. "properties": {
  19851. "accountid": {
  19852. "description": "交易系统帐号Id (加密存储)",
  19853. "type": "integer"
  19854. },
  19855. "areacode": {
  19856. "description": "机构代码",
  19857. "type": "string"
  19858. },
  19859. "areaid": {
  19860. "description": "机构Id",
  19861. "type": "integer"
  19862. },
  19863. "attachment1": {
  19864. "description": "附件1",
  19865. "type": "string"
  19866. },
  19867. "attachment2": {
  19868. "description": "附件2",
  19869. "type": "string"
  19870. },
  19871. "attachment3": {
  19872. "description": "附件3",
  19873. "type": "string"
  19874. },
  19875. "attachment4": {
  19876. "description": "附件4",
  19877. "type": "string"
  19878. },
  19879. "attachment5": {
  19880. "description": "附件5",
  19881. "type": "string"
  19882. },
  19883. "auditedby": {
  19884. "description": "审核人",
  19885. "type": "string"
  19886. },
  19887. "auditime": {
  19888. "description": "审核时间",
  19889. "type": "string"
  19890. },
  19891. "auditsrc": {
  19892. "description": "审核来源 - 1:管理端 2:终端",
  19893. "type": "integer"
  19894. },
  19895. "bankaccount": {
  19896. "description": "银行帐号 (加密存储)",
  19897. "type": "string"
  19898. },
  19899. "bankaccountname": {
  19900. "description": "收款人名称",
  19901. "type": "string"
  19902. },
  19903. "bankcardbackphotourl": {
  19904. "description": "银行卡背面照地址",
  19905. "type": "string"
  19906. },
  19907. "bankcardfrontphotourl": {
  19908. "description": "银行卡正面照地址",
  19909. "type": "string"
  19910. },
  19911. "bankid": {
  19912. "description": "银行编码",
  19913. "type": "string"
  19914. },
  19915. "bankname": {
  19916. "description": "银行名称",
  19917. "type": "string"
  19918. },
  19919. "bankpictureurl": {
  19920. "description": "银行卡正面地址",
  19921. "type": "string"
  19922. },
  19923. "biznature": {
  19924. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19925. "type": "integer"
  19926. },
  19927. "bizscope": {
  19928. "description": "企业经营范围(企业)",
  19929. "type": "string"
  19930. },
  19931. "biztype": {
  19932. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19933. "type": "integer"
  19934. },
  19935. "brokerid": {
  19936. "description": "经纪人ID(加密存储)",
  19937. "type": "string"
  19938. },
  19939. "cardaddress": {
  19940. "description": "证件地址 (加密存储)",
  19941. "type": "string"
  19942. },
  19943. "cardbackphotourl": {
  19944. "description": "背面证件照地址",
  19945. "type": "string"
  19946. },
  19947. "cardfrontphotourl": {
  19948. "description": "正面证件照地址",
  19949. "type": "string"
  19950. },
  19951. "cardnum": {
  19952. "description": "证件号码 (加密存储)",
  19953. "type": "string"
  19954. },
  19955. "cardtype": {
  19956. "description": "证件类型",
  19957. "type": "integer"
  19958. },
  19959. "cityid": {
  19960. "description": "市",
  19961. "type": "integer"
  19962. },
  19963. "company": {
  19964. "description": "公司(个人)",
  19965. "type": "string"
  19966. },
  19967. "contactcardbackphotourl": {
  19968. "description": "联系人证件背面图片地址",
  19969. "type": "string"
  19970. },
  19971. "contactcardfrontphotourl": {
  19972. "description": "联系人证件正面图片地址",
  19973. "type": "string"
  19974. },
  19975. "contactname": {
  19976. "description": "联系人",
  19977. "type": "string"
  19978. },
  19979. "countryid": {
  19980. "description": "国家",
  19981. "type": "integer"
  19982. },
  19983. "createtime": {
  19984. "description": "开户申请时间",
  19985. "type": "string"
  19986. },
  19987. "cusbankid": {
  19988. "description": "签约类型",
  19989. "type": "string"
  19990. },
  19991. "cusbankname": {
  19992. "description": "签约类型名称",
  19993. "type": "string"
  19994. },
  19995. "customername": {
  19996. "description": "客户名称(企业名称)",
  19997. "type": "string"
  19998. },
  19999. "districtid": {
  20000. "description": "地区",
  20001. "type": "integer"
  20002. },
  20003. "email": {
  20004. "description": "Email地址(加密存储)",
  20005. "type": "string"
  20006. },
  20007. "halfbodyphotourl": {
  20008. "description": "半身照地址",
  20009. "type": "string"
  20010. },
  20011. "headurl": {
  20012. "description": "头像地址",
  20013. "type": "string"
  20014. },
  20015. "ipaddress": {
  20016. "description": "IP地址",
  20017. "type": "string"
  20018. },
  20019. "isvalidate": {
  20020. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20021. "type": "string"
  20022. },
  20023. "legalcardbackphotourl": {
  20024. "description": "法人身份证背面照地址",
  20025. "type": "string"
  20026. },
  20027. "legalcardfrontphotourl": {
  20028. "description": "法人身份证正面照地址",
  20029. "type": "string"
  20030. },
  20031. "legalpersonname": {
  20032. "description": "法人姓名(企业)",
  20033. "type": "string"
  20034. },
  20035. "logincode": {
  20036. "description": "登录帐号 (加密存储)",
  20037. "type": "string"
  20038. },
  20039. "memberareaid": {
  20040. "description": "所属会员ID",
  20041. "type": "integer"
  20042. },
  20043. "mobile2": {
  20044. "description": "手机号码[明文-尚志]",
  20045. "type": "string"
  20046. },
  20047. "mobilephone": {
  20048. "description": "手机号码 (加密存储)",
  20049. "type": "string"
  20050. },
  20051. "modifiedby": {
  20052. "description": "修改人帐号",
  20053. "type": "integer"
  20054. },
  20055. "modifiedtime": {
  20056. "description": "修改时间",
  20057. "type": "string"
  20058. },
  20059. "nickname": {
  20060. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20061. "type": "string"
  20062. },
  20063. "openmode": {
  20064. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20065. "type": "integer"
  20066. },
  20067. "otherurl": {
  20068. "description": "其它图片地址[使用分号分隔]",
  20069. "type": "string"
  20070. },
  20071. "postalcode": {
  20072. "description": "邮政编码",
  20073. "type": "string"
  20074. },
  20075. "provinceid": {
  20076. "description": "省",
  20077. "type": "integer"
  20078. },
  20079. "proxystatementurl": {
  20080. "description": "授权委托书",
  20081. "type": "string"
  20082. },
  20083. "qq": {
  20084. "description": "QQ(加密存储",
  20085. "type": "string"
  20086. },
  20087. "referral": {
  20088. "description": "推荐人编码",
  20089. "type": "string"
  20090. },
  20091. "remark": {
  20092. "description": "备注",
  20093. "type": "string"
  20094. },
  20095. "removebeforestatus": {
  20096. "description": "REMOVEBEFORESTATUS",
  20097. "type": "integer"
  20098. },
  20099. "sex": {
  20100. "description": "性别 - 0:女 1:男",
  20101. "type": "integer"
  20102. },
  20103. "signedstatus": {
  20104. "description": "账户一号签签约状态",
  20105. "type": "integer"
  20106. },
  20107. "signpdfurl": {
  20108. "description": "签约pdf文件",
  20109. "type": "string"
  20110. },
  20111. "subbranch": {
  20112. "description": "开户支行",
  20113. "type": "string"
  20114. },
  20115. "taxpayernum": {
  20116. "description": "纳税人识别号",
  20117. "type": "string"
  20118. },
  20119. "telphone": {
  20120. "description": "联系电话(加密存储)",
  20121. "type": "string"
  20122. },
  20123. "userid": {
  20124. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20125. "type": "integer"
  20126. },
  20127. "userinfotype": {
  20128. "description": "用户信息类型 - 1:个人 2:企业",
  20129. "type": "integer"
  20130. },
  20131. "username": {
  20132. "description": "用户姓名",
  20133. "type": "string"
  20134. },
  20135. "userstate": {
  20136. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20137. "type": "integer"
  20138. },
  20139. "usertype": {
  20140. "description": "用户类型 - 1:投资者 2:机构",
  20141. "type": "integer"
  20142. },
  20143. "videourl": {
  20144. "description": "视频地址",
  20145. "type": "string"
  20146. },
  20147. "wechat": {
  20148. "description": "微信号 (加密存储)",
  20149. "type": "string"
  20150. }
  20151. }
  20152. },
  20153. "erms3.CustomerInfo": {
  20154. "type": "object",
  20155. "required": [
  20156. "userid"
  20157. ],
  20158. "properties": {
  20159. "accountids": {
  20160. "description": "资金账户ID列表",
  20161. "type": "array",
  20162. "items": {
  20163. "type": "integer"
  20164. }
  20165. },
  20166. "customername": {
  20167. "description": "名称(企业名称)",
  20168. "type": "string"
  20169. },
  20170. "mobile": {
  20171. "description": "手机号码",
  20172. "type": "string"
  20173. },
  20174. "userid": {
  20175. "description": "用户ID",
  20176. "type": "integer"
  20177. }
  20178. }
  20179. },
  20180. "erms3.ModifyUserInfoApplyReq": {
  20181. "type": "object",
  20182. "required": [
  20183. "userid"
  20184. ],
  20185. "properties": {
  20186. "accountid": {
  20187. "description": "交易系统帐号Id (加密存储)",
  20188. "type": "integer"
  20189. },
  20190. "areacode": {
  20191. "description": "机构代码",
  20192. "type": "string"
  20193. },
  20194. "areaid": {
  20195. "description": "机构Id",
  20196. "type": "integer"
  20197. },
  20198. "attachment1": {
  20199. "description": "附件1",
  20200. "type": "string"
  20201. },
  20202. "attachment2": {
  20203. "description": "附件2",
  20204. "type": "string"
  20205. },
  20206. "attachment3": {
  20207. "description": "附件3",
  20208. "type": "string"
  20209. },
  20210. "attachment4": {
  20211. "description": "附件4",
  20212. "type": "string"
  20213. },
  20214. "attachment5": {
  20215. "description": "附件5",
  20216. "type": "string"
  20217. },
  20218. "auditedby": {
  20219. "description": "审核人",
  20220. "type": "string"
  20221. },
  20222. "auditime": {
  20223. "description": "审核时间",
  20224. "type": "string"
  20225. },
  20226. "auditsrc": {
  20227. "description": "审核来源 - 1:管理端 2:终端",
  20228. "type": "integer"
  20229. },
  20230. "bankaccount": {
  20231. "description": "银行帐号 (加密存储)",
  20232. "type": "string"
  20233. },
  20234. "bankaccountname": {
  20235. "description": "收款人名称",
  20236. "type": "string"
  20237. },
  20238. "bankcardbackphotourl": {
  20239. "description": "银行卡背面照地址",
  20240. "type": "string"
  20241. },
  20242. "bankcardfrontphotourl": {
  20243. "description": "银行卡正面照地址",
  20244. "type": "string"
  20245. },
  20246. "bankid": {
  20247. "description": "银行编码",
  20248. "type": "string"
  20249. },
  20250. "bankname": {
  20251. "description": "银行名称",
  20252. "type": "string"
  20253. },
  20254. "bankpictureurl": {
  20255. "description": "银行卡正面地址",
  20256. "type": "string"
  20257. },
  20258. "biznature": {
  20259. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20260. "type": "integer"
  20261. },
  20262. "bizscope": {
  20263. "description": "企业经营范围(企业)",
  20264. "type": "string"
  20265. },
  20266. "biztype": {
  20267. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20268. "type": "integer"
  20269. },
  20270. "brokerid": {
  20271. "description": "经纪人ID(加密存储)",
  20272. "type": "string"
  20273. },
  20274. "cardaddress": {
  20275. "description": "证件地址 (加密存储)",
  20276. "type": "string"
  20277. },
  20278. "cardbackphotourl": {
  20279. "description": "背面证件照地址",
  20280. "type": "string"
  20281. },
  20282. "cardfrontphotourl": {
  20283. "description": "正面证件照地址",
  20284. "type": "string"
  20285. },
  20286. "cardnum": {
  20287. "description": "证件号码 (加密存储)",
  20288. "type": "string"
  20289. },
  20290. "cardtype": {
  20291. "description": "证件类型",
  20292. "type": "integer"
  20293. },
  20294. "cityid": {
  20295. "description": "市",
  20296. "type": "integer"
  20297. },
  20298. "company": {
  20299. "description": "公司(个人)",
  20300. "type": "string"
  20301. },
  20302. "contactcardbackphotourl": {
  20303. "description": "联系人证件背面图片地址",
  20304. "type": "string"
  20305. },
  20306. "contactcardfrontphotourl": {
  20307. "description": "联系人证件正面图片地址",
  20308. "type": "string"
  20309. },
  20310. "contactname": {
  20311. "description": "联系人",
  20312. "type": "string"
  20313. },
  20314. "countryid": {
  20315. "description": "国家",
  20316. "type": "integer"
  20317. },
  20318. "createtime": {
  20319. "description": "开户申请时间",
  20320. "type": "string"
  20321. },
  20322. "cusbankid": {
  20323. "description": "签约类型",
  20324. "type": "string"
  20325. },
  20326. "cusbankname": {
  20327. "description": "签约类型名称",
  20328. "type": "string"
  20329. },
  20330. "customername": {
  20331. "description": "客户名称(企业名称)",
  20332. "type": "string"
  20333. },
  20334. "districtid": {
  20335. "description": "地区",
  20336. "type": "integer"
  20337. },
  20338. "email": {
  20339. "description": "Email地址(加密存储)",
  20340. "type": "string"
  20341. },
  20342. "halfbodyphotourl": {
  20343. "description": "半身照地址",
  20344. "type": "string"
  20345. },
  20346. "headurl": {
  20347. "description": "头像地址",
  20348. "type": "string"
  20349. },
  20350. "ipaddress": {
  20351. "description": "IP地址",
  20352. "type": "string"
  20353. },
  20354. "isvalidate": {
  20355. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20356. "type": "string"
  20357. },
  20358. "legalcardbackphotourl": {
  20359. "description": "法人身份证背面照地址",
  20360. "type": "string"
  20361. },
  20362. "legalcardfrontphotourl": {
  20363. "description": "法人身份证正面照地址",
  20364. "type": "string"
  20365. },
  20366. "legalpersonname": {
  20367. "description": "法人姓名(企业)",
  20368. "type": "string"
  20369. },
  20370. "logincode": {
  20371. "description": "登录帐号 (加密存储)",
  20372. "type": "string"
  20373. },
  20374. "memberareaid": {
  20375. "description": "所属会员ID",
  20376. "type": "integer"
  20377. },
  20378. "mobile2": {
  20379. "description": "手机号码[明文-尚志]",
  20380. "type": "string"
  20381. },
  20382. "mobilephone": {
  20383. "description": "手机号码 (加密存储)",
  20384. "type": "string"
  20385. },
  20386. "modifiedby": {
  20387. "description": "修改人帐号",
  20388. "type": "integer"
  20389. },
  20390. "modifiedtime": {
  20391. "description": "修改时间",
  20392. "type": "string"
  20393. },
  20394. "nickname": {
  20395. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20396. "type": "string"
  20397. },
  20398. "openmode": {
  20399. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20400. "type": "integer"
  20401. },
  20402. "otherurl": {
  20403. "description": "其它图片地址[使用分号分隔]",
  20404. "type": "string"
  20405. },
  20406. "postalcode": {
  20407. "description": "邮政编码",
  20408. "type": "string"
  20409. },
  20410. "provinceid": {
  20411. "description": "省",
  20412. "type": "integer"
  20413. },
  20414. "proxystatementurl": {
  20415. "description": "授权委托书",
  20416. "type": "string"
  20417. },
  20418. "qq": {
  20419. "description": "QQ(加密存储",
  20420. "type": "string"
  20421. },
  20422. "referral": {
  20423. "description": "推荐人编码",
  20424. "type": "string"
  20425. },
  20426. "remark": {
  20427. "description": "备注",
  20428. "type": "string"
  20429. },
  20430. "removebeforestatus": {
  20431. "description": "REMOVEBEFORESTATUS",
  20432. "type": "integer"
  20433. },
  20434. "sex": {
  20435. "description": "性别 - 0:女 1:男",
  20436. "type": "integer"
  20437. },
  20438. "signedstatus": {
  20439. "description": "账户一号签签约状态",
  20440. "type": "integer"
  20441. },
  20442. "signpdfurl": {
  20443. "description": "签约pdf文件",
  20444. "type": "string"
  20445. },
  20446. "subbranch": {
  20447. "description": "开户支行",
  20448. "type": "string"
  20449. },
  20450. "taxpayernum": {
  20451. "description": "纳税人识别号",
  20452. "type": "string"
  20453. },
  20454. "telphone": {
  20455. "description": "联系电话(加密存储)",
  20456. "type": "string"
  20457. },
  20458. "userid": {
  20459. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20460. "type": "integer"
  20461. },
  20462. "userinfotype": {
  20463. "description": "用户信息类型 - 1:个人 2:企业",
  20464. "type": "integer"
  20465. },
  20466. "username": {
  20467. "description": "用户姓名",
  20468. "type": "string"
  20469. },
  20470. "userstate": {
  20471. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20472. "type": "integer"
  20473. },
  20474. "usertype": {
  20475. "description": "用户类型 - 1:投资者 2:机构",
  20476. "type": "integer"
  20477. },
  20478. "videourl": {
  20479. "description": "视频地址",
  20480. "type": "string"
  20481. },
  20482. "wechat": {
  20483. "description": "微信号 (加密存储)",
  20484. "type": "string"
  20485. }
  20486. }
  20487. },
  20488. "erms3.QryAuditContractRsp": {
  20489. "type": "object",
  20490. "required": [
  20491. "matchcustomername",
  20492. "spotcontractid"
  20493. ],
  20494. "properties": {
  20495. "accountid": {
  20496. "description": "交易员ID",
  20497. "type": "string"
  20498. },
  20499. "applystatus": {
  20500. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20501. "type": "integer"
  20502. },
  20503. "curdeliveryqty": {
  20504. "description": "未交收量",
  20505. "type": "integer"
  20506. },
  20507. "customername": {
  20508. "description": "采购方ID",
  20509. "type": "string"
  20510. },
  20511. "deliverygoodsid": {
  20512. "description": "品种ID",
  20513. "type": "string"
  20514. },
  20515. "deliveryqty": {
  20516. "description": "交收量",
  20517. "type": "integer"
  20518. },
  20519. "enumdicname": {
  20520. "description": "单位名称",
  20521. "type": "string"
  20522. },
  20523. "matchaccountid": {
  20524. "description": "业务员ID",
  20525. "type": "string"
  20526. },
  20527. "matchcustomername": {
  20528. "description": "销售方ID",
  20529. "type": "string"
  20530. },
  20531. "pricedqty": {
  20532. "description": "定价量",
  20533. "type": "number"
  20534. },
  20535. "signdate": {
  20536. "description": "签订日期",
  20537. "type": "string"
  20538. },
  20539. "spotcontractid": {
  20540. "description": "合同ID",
  20541. "type": "string"
  20542. },
  20543. "totaldqty": {
  20544. "description": "合同量",
  20545. "type": "number"
  20546. },
  20547. "unpricedqty": {
  20548. "description": "未定价量",
  20549. "type": "number"
  20550. },
  20551. "wrstandardname": {
  20552. "description": "商品名称",
  20553. "type": "string"
  20554. }
  20555. }
  20556. },
  20557. "erms3.QryPendingBizRsp": {
  20558. "type": "object",
  20559. "properties": {
  20560. "accountid": {
  20561. "description": "现货账户",
  20562. "type": "string"
  20563. },
  20564. "areaname": {
  20565. "description": "所属部门",
  20566. "type": "string"
  20567. },
  20568. "bizid": {
  20569. "description": "业务ID",
  20570. "type": "string"
  20571. },
  20572. "bizname": {
  20573. "description": "业务名称",
  20574. "type": "string"
  20575. },
  20576. "status": {
  20577. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20578. "type": "integer"
  20579. },
  20580. "type": {
  20581. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20582. "type": "integer"
  20583. }
  20584. }
  20585. },
  20586. "erms3.QueryBusinessInfoRsp": {
  20587. "type": "object",
  20588. "properties": {
  20589. "businessid": {
  20590. "description": "业务ID.",
  20591. "type": "integer"
  20592. },
  20593. "buyamount": {
  20594. "description": "采购额.",
  20595. "type": "number"
  20596. },
  20597. "buyqty": {
  20598. "description": "采购量.",
  20599. "type": "string"
  20600. },
  20601. "futurepl": {
  20602. "description": "期货盈亏.",
  20603. "type": "number"
  20604. },
  20605. "futureqty": {
  20606. "description": "期货敞口.",
  20607. "type": "string"
  20608. },
  20609. "goodsid": {
  20610. "description": "商品名称/商品代码.",
  20611. "type": "string"
  20612. },
  20613. "hedgingqty": {
  20614. "description": "套保量.",
  20615. "type": "string"
  20616. },
  20617. "sellamount": {
  20618. "description": "销售额.",
  20619. "type": "number"
  20620. },
  20621. "sellqty": {
  20622. "description": "销售量.",
  20623. "type": "string"
  20624. },
  20625. "spotmarketvalue": {
  20626. "description": "现货市值.",
  20627. "type": "number"
  20628. },
  20629. "spotpl": {
  20630. "description": "浮动权益.",
  20631. "type": "number"
  20632. },
  20633. "spotqty": {
  20634. "description": "现货量.",
  20635. "type": "string"
  20636. },
  20637. "statu": {
  20638. "description": "状态,0-未结束 1-已结束.",
  20639. "type": "integer"
  20640. },
  20641. "totalpl": {
  20642. "description": "总盈亏.",
  20643. "type": "number"
  20644. },
  20645. "totalqty": {
  20646. "description": "总敞口.",
  20647. "type": "string"
  20648. },
  20649. "type": {
  20650. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20651. "type": "integer"
  20652. }
  20653. }
  20654. },
  20655. "erms3.QuerySpotContractAppleFormRsp": {
  20656. "type": "object",
  20657. "properties": {
  20658. "goodses": {
  20659. "description": "合约列表",
  20660. "type": "array",
  20661. "items": {
  20662. "$ref": "#/definitions/models.GoodsIDAndName"
  20663. }
  20664. },
  20665. "oppositeusers": {
  20666. "description": "对方账号列表",
  20667. "type": "array",
  20668. "items": {
  20669. "$ref": "#/definitions/erms3.CustomerInfo"
  20670. }
  20671. },
  20672. "ouruser": {
  20673. "description": "我方账号",
  20674. "$ref": "#/definitions/erms3.CustomerInfo"
  20675. },
  20676. "warehouseinfos": {
  20677. "description": "仓库信息列表",
  20678. "type": "array",
  20679. "items": {
  20680. "$ref": "#/definitions/models.Warehouseinfo"
  20681. }
  20682. },
  20683. "wrstandards": {
  20684. "description": "仓单标准列表",
  20685. "type": "array",
  20686. "items": {
  20687. "$ref": "#/definitions/models.WRStandardInfo"
  20688. }
  20689. }
  20690. }
  20691. },
  20692. "erms3.QuerySpotContractInfoRsp": {
  20693. "type": "object",
  20694. "properties": {
  20695. "accountid": {
  20696. "description": "表示交易员ID.",
  20697. "type": "integer"
  20698. },
  20699. "curdeliveryqty": {
  20700. "description": "表示未交收量.",
  20701. "type": "number"
  20702. },
  20703. "customername": {
  20704. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20705. "type": "string"
  20706. },
  20707. "deliverygoodsid": {
  20708. "description": "表示品种ID.",
  20709. "type": "string"
  20710. },
  20711. "deliveryqty": {
  20712. "description": "表示交收量.",
  20713. "type": "number"
  20714. },
  20715. "matchaccountid": {
  20716. "description": "表示业务员ID.",
  20717. "type": "integer"
  20718. },
  20719. "matchcustomername": {
  20720. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20721. "type": "string"
  20722. },
  20723. "priceqty": {
  20724. "description": "表示定价量.",
  20725. "type": "number"
  20726. },
  20727. "relatedbizid": {
  20728. "description": "表示业务ID.",
  20729. "type": "string"
  20730. },
  20731. "signdate": {
  20732. "description": "表示签订日期.",
  20733. "type": "string"
  20734. },
  20735. "spotcontractid": {
  20736. "description": "合同ID",
  20737. "type": "string"
  20738. },
  20739. "status": {
  20740. "description": "表示状态,0-履约中 1-已完成.",
  20741. "type": "integer"
  20742. },
  20743. "totalqty": {
  20744. "description": "表示合同量.",
  20745. "type": "number"
  20746. },
  20747. "unpricedqty": {
  20748. "description": "表示未定价量.",
  20749. "type": "number"
  20750. },
  20751. "wrstandardname": {
  20752. "description": "表示商品ID.",
  20753. "type": "string"
  20754. }
  20755. }
  20756. },
  20757. "erms3.QueryUserInfoAppliesRsp": {
  20758. "type": "object",
  20759. "required": [
  20760. "userid"
  20761. ],
  20762. "properties": {
  20763. "biznature": {
  20764. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20765. "type": "integer"
  20766. },
  20767. "contactname": {
  20768. "description": "联系人",
  20769. "type": "string"
  20770. },
  20771. "createtime": {
  20772. "description": "开户申请时间",
  20773. "type": "string"
  20774. },
  20775. "userid": {
  20776. "description": "用户ID(自增ID)",
  20777. "type": "integer"
  20778. },
  20779. "userinfotype": {
  20780. "description": "用户信息类型 - 1:个人 2:企业",
  20781. "type": "integer"
  20782. },
  20783. "username": {
  20784. "description": "用户姓名",
  20785. "type": "string"
  20786. },
  20787. "userstate": {
  20788. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20789. "type": "integer"
  20790. }
  20791. }
  20792. },
  20793. "erms3.QueryUserInfosRsp": {
  20794. "type": "object",
  20795. "required": [
  20796. "userid"
  20797. ],
  20798. "properties": {
  20799. "biznature": {
  20800. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20801. "type": "integer"
  20802. },
  20803. "contactname": {
  20804. "description": "联系人",
  20805. "type": "string"
  20806. },
  20807. "customername": {
  20808. "description": "客户名称(企业名称)",
  20809. "type": "string"
  20810. },
  20811. "userid": {
  20812. "description": "用户ID",
  20813. "type": "integer"
  20814. },
  20815. "userinfotype": {
  20816. "description": "用户信息类型 - 1:个人 2:企业",
  20817. "type": "integer"
  20818. },
  20819. "userstatus": {
  20820. "description": "用户状态 - 1:正常 2:注销",
  20821. "type": "integer"
  20822. }
  20823. }
  20824. },
  20825. "erms3.SoptContractDetail": {
  20826. "type": "object",
  20827. "required": [
  20828. "deliverygoodsid",
  20829. "producttype",
  20830. "unitname",
  20831. "warehouseid",
  20832. "wrstandardid",
  20833. "wrstandardname"
  20834. ],
  20835. "properties": {
  20836. "deliverygoodsdesc": {
  20837. "description": "现货品种说明",
  20838. "type": "string"
  20839. },
  20840. "deliverygoodsid": {
  20841. "description": "现货品种ID",
  20842. "type": "integer"
  20843. },
  20844. "deliverygoodsname": {
  20845. "description": "现货品种名称",
  20846. "type": "string"
  20847. },
  20848. "pointdesc": {
  20849. "description": "点价描述",
  20850. "type": "string"
  20851. },
  20852. "producttype": {
  20853. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20854. "type": "integer"
  20855. },
  20856. "producttypename": {
  20857. "description": "产品类型名称",
  20858. "type": "string"
  20859. },
  20860. "spotPointOrderVoList": {
  20861. "description": "点价列表",
  20862. "type": "array",
  20863. "items": {
  20864. "$ref": "#/definitions/erms3.SpotPointOrder"
  20865. }
  20866. },
  20867. "spotPriceOrderList": {
  20868. "description": "定价列表",
  20869. "type": "array",
  20870. "items": {
  20871. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20872. }
  20873. },
  20874. "unitname": {
  20875. "description": "单位名称",
  20876. "type": "string"
  20877. },
  20878. "warehouseid": {
  20879. "description": "仓库ID",
  20880. "type": "integer"
  20881. },
  20882. "warehousename": {
  20883. "description": "仓库名称",
  20884. "type": "string"
  20885. },
  20886. "wrstandardid": {
  20887. "description": "交易标的ID",
  20888. "type": "integer"
  20889. },
  20890. "wrstandardname": {
  20891. "description": "交易标的名称",
  20892. "type": "string"
  20893. }
  20894. }
  20895. },
  20896. "erms3.SpotPointOrder": {
  20897. "type": "object",
  20898. "required": [
  20899. "basic",
  20900. "goodsid",
  20901. "qty"
  20902. ],
  20903. "properties": {
  20904. "basic": {
  20905. "description": "基差",
  20906. "type": "number"
  20907. },
  20908. "deliveryenddate": {
  20909. "description": "交收结束日期",
  20910. "type": "string"
  20911. },
  20912. "deliverystartdate": {
  20913. "description": "交收开始日期",
  20914. "type": "string"
  20915. },
  20916. "enddate": {
  20917. "description": "点价结束日期",
  20918. "type": "string"
  20919. },
  20920. "goodsid": {
  20921. "description": "商品ID",
  20922. "type": "integer"
  20923. },
  20924. "goodsname": {
  20925. "description": "商品名称",
  20926. "type": "string"
  20927. },
  20928. "qty": {
  20929. "description": "数量",
  20930. "type": "number"
  20931. },
  20932. "startdate": {
  20933. "description": "点价开始日期",
  20934. "type": "string"
  20935. }
  20936. }
  20937. },
  20938. "erms3.SpotPriceOrder": {
  20939. "type": "object",
  20940. "required": [
  20941. "amount",
  20942. "price",
  20943. "qty"
  20944. ],
  20945. "properties": {
  20946. "amount": {
  20947. "description": "金额",
  20948. "type": "number"
  20949. },
  20950. "deliveryenddate": {
  20951. "description": "交收结束日期",
  20952. "type": "string"
  20953. },
  20954. "deliverystartdate": {
  20955. "description": "交收开始日期",
  20956. "type": "string"
  20957. },
  20958. "price": {
  20959. "description": "价格",
  20960. "type": "number"
  20961. },
  20962. "qty": {
  20963. "description": "数量",
  20964. "type": "number"
  20965. }
  20966. }
  20967. },
  20968. "models.Arearole": {
  20969. "type": "object",
  20970. "required": [
  20971. "roletype",
  20972. "userid"
  20973. ],
  20974. "properties": {
  20975. "createtime": {
  20976. "description": "创建时间",
  20977. "type": "string"
  20978. },
  20979. "creatorid": {
  20980. "description": "创建人ID",
  20981. "type": "integer"
  20982. },
  20983. "fromuserid": {
  20984. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20985. "type": "integer"
  20986. },
  20987. "isreturnscore": {
  20988. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20989. "type": "integer"
  20990. },
  20991. "modifierid": {
  20992. "description": "修改人ID",
  20993. "type": "integer"
  20994. },
  20995. "modifytime": {
  20996. "description": "修改时间",
  20997. "type": "string"
  20998. },
  20999. "orgtype": {
  21000. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21001. "type": "integer"
  21002. },
  21003. "outuserid": {
  21004. "description": "外部账户[场外期权做市商]",
  21005. "type": "string"
  21006. },
  21007. "parentuserid": {
  21008. "description": "上级组织机构(组织机构)",
  21009. "type": "integer"
  21010. },
  21011. "roletype": {
  21012. "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:门店",
  21013. "type": "integer"
  21014. },
  21015. "rootuserid": {
  21016. "description": "顶级组织机构用户ID(组织机构)",
  21017. "type": "integer"
  21018. },
  21019. "shoppassword": {
  21020. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21021. "type": "string"
  21022. },
  21023. "sublevelpath": {
  21024. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21025. "type": "string"
  21026. },
  21027. "suborgtype": {
  21028. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21029. "type": "integer"
  21030. },
  21031. "tradeaccountid": {
  21032. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21033. "type": "integer"
  21034. },
  21035. "transurl": {
  21036. "description": "物流地址(物流机构)",
  21037. "type": "string"
  21038. },
  21039. "userid": {
  21040. "description": "机构用户ID其他做市关系,都设置为 1",
  21041. "type": "integer"
  21042. }
  21043. }
  21044. },
  21045. "models.BuyOrder": {
  21046. "type": "object",
  21047. "properties": {
  21048. "accountid": {
  21049. "description": "资金账户ID",
  21050. "type": "integer"
  21051. },
  21052. "buyusername": {
  21053. "description": "买方",
  21054. "type": "string"
  21055. },
  21056. "marketid": {
  21057. "description": "市场ID",
  21058. "type": "integer"
  21059. },
  21060. "ordertime": {
  21061. "description": "委托时间",
  21062. "type": "string"
  21063. },
  21064. "origin": {
  21065. "description": "原产地",
  21066. "type": "string"
  21067. },
  21068. "remark": {
  21069. "description": "备注",
  21070. "type": "string"
  21071. },
  21072. "userid": {
  21073. "description": "用户ID",
  21074. "type": "integer"
  21075. },
  21076. "validtime": {
  21077. "description": "有效期限",
  21078. "type": "string"
  21079. },
  21080. "warehouseids": {
  21081. "description": "仓库ID - 多个, 逗号分隔",
  21082. "type": "string"
  21083. },
  21084. "warehouseinfosdisplay": {
  21085. "type": "string"
  21086. },
  21087. "wrtradeorderid": {
  21088. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21089. "type": "string"
  21090. },
  21091. "wrtradeorderstatus": {
  21092. "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:撤单解冻贷款失败WRTrade_OrderDetail、",
  21093. "type": "integer"
  21094. },
  21095. "zscategory": {
  21096. "description": "钻石分类 - 枚举”ZSCategory“",
  21097. "type": "integer"
  21098. },
  21099. "zscategorydisplay": {
  21100. "type": "string"
  21101. },
  21102. "zsclaritytype": {
  21103. "description": "净度 - 两个, 逗号分隔",
  21104. "type": "string"
  21105. },
  21106. "zsclaritytypedisplay": {
  21107. "type": "string"
  21108. },
  21109. "zscolortype": {
  21110. "description": "颜色 - 两个, 逗号分隔",
  21111. "type": "string"
  21112. },
  21113. "zscolortypedisplay": {
  21114. "type": "string"
  21115. },
  21116. "zscrystaltype": {
  21117. "description": "晶型 - 多个,逗号分隔",
  21118. "type": "string"
  21119. },
  21120. "zscrystaltypedisplay": {
  21121. "type": "string"
  21122. },
  21123. "zscurrencytype": {
  21124. "description": "货币类型 - 多个, 逗号分隔",
  21125. "type": "string"
  21126. },
  21127. "zscurrencytypedisplay": {
  21128. "type": "string"
  21129. },
  21130. "zscuttype": {
  21131. "description": "切工 - 两个, 逗号分隔",
  21132. "type": "string"
  21133. },
  21134. "zscuttypedisplay": {
  21135. "type": "string"
  21136. },
  21137. "zsczcolor1type": {
  21138. "description": "彩钻颜色1, 逗号分隔",
  21139. "type": "string"
  21140. },
  21141. "zsczcolor1typedisplay": {
  21142. "type": "string"
  21143. },
  21144. "zsczcolor2type": {
  21145. "description": "彩钻颜色2, 逗号分隔",
  21146. "type": "string"
  21147. },
  21148. "zsczcolor2typedisplay": {
  21149. "type": "string"
  21150. },
  21151. "zsczcolor3type": {
  21152. "description": "彩钻颜色3, 逗号分隔",
  21153. "type": "string"
  21154. },
  21155. "zsczcolor3typedisplay": {
  21156. "type": "string"
  21157. },
  21158. "zsfluorescencetype": {
  21159. "description": "荧光 - 多个, 逗号分隔",
  21160. "type": "string"
  21161. },
  21162. "zsfluorescencetypedisplay": {
  21163. "type": "string"
  21164. },
  21165. "zspolishtype": {
  21166. "description": "抛光度 - 两个, 逗号分隔",
  21167. "type": "string"
  21168. },
  21169. "zspolishtypedisplay": {
  21170. "type": "string"
  21171. },
  21172. "zsshapetype": {
  21173. "description": "形状 - 多个, 逗号分隔",
  21174. "type": "string"
  21175. },
  21176. "zsshapetypedisplay": {
  21177. "type": "string"
  21178. },
  21179. "zssize": {
  21180. "description": "尺寸 - 两个小数, 逗号分隔",
  21181. "type": "string"
  21182. },
  21183. "zsstyletype": {
  21184. "description": "款式 - 多个, 逗号分隔",
  21185. "type": "string"
  21186. },
  21187. "zsstyletypedisplay": {
  21188. "type": "string"
  21189. },
  21190. "zssymmetrytype": {
  21191. "description": "对称度 - 两个, 逗号分隔",
  21192. "type": "string"
  21193. },
  21194. "zssymmetrytypedisplay": {
  21195. "type": "string"
  21196. },
  21197. "zstabledisplay": {
  21198. "description": "求购信息",
  21199. "type": "string"
  21200. }
  21201. }
  21202. },
  21203. "models.DgFactoryItem": {
  21204. "type": "object",
  21205. "properties": {
  21206. "dgfactoryitemid": {
  21207. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21208. "type": "integer"
  21209. },
  21210. "dgfactoryitemtypeid": {
  21211. "description": "要素项类型",
  21212. "type": "integer"
  21213. },
  21214. "dgfactoryitemvalue": {
  21215. "description": "要素项值(类型为仓库时填写仓库名称)",
  21216. "type": "string"
  21217. },
  21218. "orderindex": {
  21219. "description": "顺序",
  21220. "type": "integer"
  21221. }
  21222. }
  21223. },
  21224. "models.Division": {
  21225. "type": "object",
  21226. "required": [
  21227. "autoid",
  21228. "divisioncode"
  21229. ],
  21230. "properties": {
  21231. "autoid": {
  21232. "description": "自增ID",
  21233. "type": "integer"
  21234. },
  21235. "divisioncode": {
  21236. "description": "行政代码",
  21237. "type": "string"
  21238. },
  21239. "divisionlevel": {
  21240. "description": "行政级别",
  21241. "type": "string"
  21242. },
  21243. "divisionname": {
  21244. "description": "行政名称",
  21245. "type": "string"
  21246. },
  21247. "modifierid": {
  21248. "description": "修改人",
  21249. "type": "integer"
  21250. },
  21251. "modifytime": {
  21252. "description": "修改时间",
  21253. "type": "string"
  21254. },
  21255. "parentcode": {
  21256. "description": "上级行政代码",
  21257. "type": "string"
  21258. },
  21259. "pathname": {
  21260. "description": "路径名称",
  21261. "type": "string"
  21262. },
  21263. "postcode": {
  21264. "description": "邮政编码",
  21265. "type": "string"
  21266. },
  21267. "separablename": {
  21268. "description": "可拆分的全称",
  21269. "type": "string"
  21270. },
  21271. "shortcode": {
  21272. "description": "地区简码",
  21273. "type": "string"
  21274. }
  21275. }
  21276. },
  21277. "models.Enumdicitem": {
  21278. "type": "object",
  21279. "required": [
  21280. "autoid",
  21281. "enumdiccode",
  21282. "enumdicid",
  21283. "enumitemname"
  21284. ],
  21285. "properties": {
  21286. "autoid": {
  21287. "description": "自增ID",
  21288. "type": "integer"
  21289. },
  21290. "bankmappedvalue": {
  21291. "description": "银行服务对应值",
  21292. "type": "string"
  21293. },
  21294. "enumdiccode": {
  21295. "description": "所属枚举代码",
  21296. "type": "string"
  21297. },
  21298. "enumdicid": {
  21299. "description": "所属枚举ID",
  21300. "type": "integer"
  21301. },
  21302. "enumdicname": {
  21303. "description": "枚举项名称",
  21304. "type": "string"
  21305. },
  21306. "enumitemname": {
  21307. "description": "枚举项值",
  21308. "type": "integer"
  21309. },
  21310. "enumitemstatus": {
  21311. "description": "枚举项状态 - 1.启用 2.不启用",
  21312. "type": "integer"
  21313. },
  21314. "enumitemvalue": {
  21315. "description": "通用值 - [币种通用简写]",
  21316. "type": "string"
  21317. },
  21318. "param1": {
  21319. "description": "参数1[币种:币种小数位]",
  21320. "type": "string"
  21321. },
  21322. "param2": {
  21323. "description": "参数1[币种:币种显示单位]",
  21324. "type": "string"
  21325. },
  21326. "remark": {
  21327. "description": "备注",
  21328. "type": "string"
  21329. }
  21330. }
  21331. },
  21332. "models.Ermcp2AreaExposure": {
  21333. "type": "object",
  21334. "properties": {
  21335. "areauserid": {
  21336. "description": "所属机构",
  21337. "type": "integer"
  21338. },
  21339. "enumdicname": {
  21340. "description": "单位",
  21341. "type": "string"
  21342. },
  21343. "futureqty": {
  21344. "description": "期货套期量",
  21345. "type": "number"
  21346. },
  21347. "futureqtychange": {
  21348. "description": "期货变动量 = FutureQty - OriFutureQty",
  21349. "type": "number"
  21350. },
  21351. "goodsunitid": {
  21352. "description": "单位ID",
  21353. "type": "integer"
  21354. },
  21355. "hedgedspotexposure": {
  21356. "description": "被套期现货敞口量",
  21357. "type": "number"
  21358. },
  21359. "hedgedspratio": {
  21360. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21361. "type": "number"
  21362. },
  21363. "hedgedtotalexposourechange": {
  21364. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21365. "type": "number"
  21366. },
  21367. "hedgedtotalexposure": {
  21368. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21369. "type": "number"
  21370. },
  21371. "hedgeplanqty": {
  21372. "description": "套期计划量",
  21373. "type": "number"
  21374. },
  21375. "hedgeplanqtychange": {
  21376. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21377. "type": "number"
  21378. },
  21379. "hedgespotqty": {
  21380. "description": "被套期现货量",
  21381. "type": "number"
  21382. },
  21383. "middlegoodsid": {
  21384. "description": "套保品种",
  21385. "type": "integer"
  21386. },
  21387. "middlegoodsname": {
  21388. "description": "套保品种名称",
  21389. "type": "string"
  21390. },
  21391. "orifutureqty": {
  21392. "description": "期初期货套期量",
  21393. "type": "number"
  21394. },
  21395. "orihedgedspotexposure": {
  21396. "description": "期初被套期现货敞口量",
  21397. "type": "number"
  21398. },
  21399. "orihedgedtotalexposure": {
  21400. "description": "期初套期敞口量",
  21401. "type": "number"
  21402. },
  21403. "orihedgeplanqty": {
  21404. "description": "期初套期计划量",
  21405. "type": "number"
  21406. },
  21407. "orihedgespotqty": {
  21408. "description": "期初被套期现货量",
  21409. "type": "number"
  21410. },
  21411. "orispotexposure": {
  21412. "description": "期初现货敞口量",
  21413. "type": "number"
  21414. },
  21415. "orispotqty": {
  21416. "description": "期初现货总量",
  21417. "type": "number"
  21418. },
  21419. "oritotalexposure": {
  21420. "description": "期初总敞口量",
  21421. "type": "number"
  21422. },
  21423. "spotexposure": {
  21424. "description": "现货敞口量",
  21425. "type": "number"
  21426. },
  21427. "spotqty": {
  21428. "description": "现货总量",
  21429. "type": "number"
  21430. },
  21431. "spotqtychange": {
  21432. "description": "现货变动量 = SpotQty - OriSpotQty",
  21433. "type": "number"
  21434. },
  21435. "spratio": {
  21436. "description": "总期现比例 = 期货套期量/现货敞口量",
  21437. "type": "number"
  21438. },
  21439. "totalexposure": {
  21440. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21441. "type": "number"
  21442. },
  21443. "totalexposurechange": {
  21444. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21445. "type": "number"
  21446. },
  21447. "updatetime": {
  21448. "description": "更新时间 --DATE",
  21449. "type": "string"
  21450. }
  21451. }
  21452. },
  21453. "models.Ermcp2hedgeditem": {
  21454. "type": "object",
  21455. "properties": {
  21456. "accountname": {
  21457. "description": "套期主体",
  21458. "type": "string"
  21459. },
  21460. "applyid": {
  21461. "description": "申请人",
  21462. "type": "integer"
  21463. },
  21464. "applysrc": {
  21465. "description": "申请来源 - 1:管理端 2:终端",
  21466. "type": "integer"
  21467. },
  21468. "areauserid": {
  21469. "description": "企业ID",
  21470. "type": "integer"
  21471. },
  21472. "auditid": {
  21473. "description": "审核人",
  21474. "type": "integer"
  21475. },
  21476. "auditremark": {
  21477. "description": "审核备注",
  21478. "type": "string"
  21479. },
  21480. "auditsrc": {
  21481. "description": "审核来源 - 1:管理端 2:终端",
  21482. "type": "integer"
  21483. },
  21484. "audittime": {
  21485. "description": "审核时间",
  21486. "type": "string"
  21487. },
  21488. "audittradedate": {
  21489. "description": "审核交易日(yyyyMMdd)",
  21490. "type": "string"
  21491. },
  21492. "createtime": {
  21493. "description": "申请时间",
  21494. "type": "string"
  21495. },
  21496. "curprice": {
  21497. "description": "当前市场价",
  21498. "type": "number"
  21499. },
  21500. "curstock": {
  21501. "description": "期末库存量 = 采购总量 - 销售总量",
  21502. "type": "number"
  21503. },
  21504. "deliverygoodsid": {
  21505. "description": "现货品种ID",
  21506. "type": "integer"
  21507. },
  21508. "enddate": {
  21509. "description": "完成日期",
  21510. "type": "string"
  21511. },
  21512. "endtradedate": {
  21513. "description": "完成交易日",
  21514. "type": "string"
  21515. },
  21516. "enumdicname": {
  21517. "description": "单位",
  21518. "type": "string"
  21519. },
  21520. "exeamount": {
  21521. "description": "执行市价总额",
  21522. "type": "number"
  21523. },
  21524. "exeavgprice": {
  21525. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21526. "type": "number"
  21527. },
  21528. "execontractamount": {
  21529. "description": "执行定价总额",
  21530. "type": "number"
  21531. },
  21532. "exeqty": {
  21533. "description": "执行现货量",
  21534. "type": "number"
  21535. },
  21536. "exerestamount": {
  21537. "description": "执行剩余市价总额【现货贸易】",
  21538. "type": "number"
  21539. },
  21540. "futurefloatpl": {
  21541. "description": "期货浮动损益",
  21542. "type": "number"
  21543. },
  21544. "futurehedgepl": {
  21545. "description": "期货实际损益",
  21546. "type": "number"
  21547. },
  21548. "futurehedgeplchange": {
  21549. "description": "期货实际损益变动",
  21550. "type": "number"
  21551. },
  21552. "futurepl": {
  21553. "description": "期货套期损益",
  21554. "type": "number"
  21555. },
  21556. "futureplchange": {
  21557. "description": "期货套期损益变动",
  21558. "type": "number"
  21559. },
  21560. "hedgeamount": {
  21561. "description": "套期市价总额",
  21562. "type": "number"
  21563. },
  21564. "hedgecontractamount": {
  21565. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21566. "type": "number"
  21567. },
  21568. "hedgeditemid": {
  21569. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21570. "type": "string"
  21571. },
  21572. "hedgeditemname": {
  21573. "description": "项目名称",
  21574. "type": "string"
  21575. },
  21576. "hedgeditemnum": {
  21577. "description": "项目编号",
  21578. "type": "string"
  21579. },
  21580. "hedgeditemstatus": {
  21581. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21582. "type": "integer"
  21583. },
  21584. "hedgedtype": {
  21585. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21586. "type": "integer"
  21587. },
  21588. "hedgeqty": {
  21589. "description": "套期现货量",
  21590. "type": "number"
  21591. },
  21592. "hedgerate": {
  21593. "description": "套保比率",
  21594. "type": "number"
  21595. },
  21596. "hedgerestamount": {
  21597. "description": "套期剩余市价总额【现货贸易】",
  21598. "type": "number"
  21599. },
  21600. "hedgesumpl": {
  21601. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21602. "type": "number"
  21603. },
  21604. "middlegoodslist": {
  21605. "description": "套期商品列表",
  21606. "type": "array",
  21607. "items": {
  21608. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21609. }
  21610. },
  21611. "oriavgprice": {
  21612. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21613. "type": "number"
  21614. },
  21615. "orifuturehedgepl": {
  21616. "description": "期初期货实际损益",
  21617. "type": "number"
  21618. },
  21619. "orifuturepl": {
  21620. "description": "期初期货套期损益",
  21621. "type": "number"
  21622. },
  21623. "orispothedgepl": {
  21624. "description": "期初现货实际损益",
  21625. "type": "number"
  21626. },
  21627. "orispotpl": {
  21628. "description": "期初现货套期损益",
  21629. "type": "number"
  21630. },
  21631. "planenddate": {
  21632. "description": "计划结束日期",
  21633. "type": "string"
  21634. },
  21635. "planstartdate": {
  21636. "description": "计划开始日期",
  21637. "type": "string"
  21638. },
  21639. "remark": {
  21640. "description": "备注",
  21641. "type": "string"
  21642. },
  21643. "spotbookamount": {
  21644. "description": "现货账面总额",
  21645. "type": "number"
  21646. },
  21647. "spotfloatpl": {
  21648. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21649. "type": "number"
  21650. },
  21651. "spothedgepl": {
  21652. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21653. "type": "number"
  21654. },
  21655. "spothedgeplchange": {
  21656. "description": "现货实际损益变动",
  21657. "type": "number"
  21658. },
  21659. "spotpl": {
  21660. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21661. "type": "number"
  21662. },
  21663. "spotplchange": {
  21664. "description": "现货套期损益变动",
  21665. "type": "number"
  21666. },
  21667. "spottradepl": {
  21668. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21669. "type": "number"
  21670. },
  21671. "sumobspl": {
  21672. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21673. "type": "number"
  21674. },
  21675. "tradeuserid": {
  21676. "description": "交易用户ID",
  21677. "type": "integer"
  21678. },
  21679. "unexeqty": {
  21680. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21681. "type": "number"
  21682. },
  21683. "updatetime": {
  21684. "description": "更新时间",
  21685. "type": "string"
  21686. },
  21687. "vatpl": {
  21688. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21689. "type": "number"
  21690. },
  21691. "vatrate": {
  21692. "description": "增值税",
  21693. "type": "number"
  21694. },
  21695. "wrstandardid": {
  21696. "description": "现货商品ID",
  21697. "type": "integer"
  21698. },
  21699. "wrstandardname": {
  21700. "description": "商品名称",
  21701. "type": "string"
  21702. }
  21703. }
  21704. },
  21705. "models.Ermcp2hedgeditemlink": {
  21706. "type": "object",
  21707. "required": [
  21708. "relatedspotcontractid"
  21709. ],
  21710. "properties": {
  21711. "areauserid": {
  21712. "description": "企业ID",
  21713. "type": "integer"
  21714. },
  21715. "createtime": {
  21716. "description": "[关联时间]创建时间",
  21717. "type": "string"
  21718. },
  21719. "customeruserid": {
  21720. "description": "对手方 【3:采购合同 4:销售合同】",
  21721. "type": "integer"
  21722. },
  21723. "deliverygoodsid": {
  21724. "description": "现货品种ID",
  21725. "type": "integer"
  21726. },
  21727. "enumdicname": {
  21728. "description": "单位",
  21729. "type": "string"
  21730. },
  21731. "hedgeditemid": {
  21732. "description": "被套期项目ID",
  21733. "type": "integer"
  21734. },
  21735. "hedgeditemlinkid": {
  21736. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21737. "type": "integer"
  21738. },
  21739. "hedgeditemnum": {
  21740. "description": "项目编号",
  21741. "type": "string"
  21742. },
  21743. "hedgedtype": {
  21744. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21745. "type": "integer"
  21746. },
  21747. "relatedamount": {
  21748. "description": "市价总额 = 关联数量 * 期初市场价",
  21749. "type": "number"
  21750. },
  21751. "relatedhedgeplanid": {
  21752. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21753. "type": "integer"
  21754. },
  21755. "relatedqty": {
  21756. "description": "关联数量",
  21757. "type": "number"
  21758. },
  21759. "relatedspotcontractid": {
  21760. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21761. "type": "integer"
  21762. },
  21763. "relatedtype": {
  21764. "description": "关联类型 - 1:套期关联 2:执行关联",
  21765. "type": "integer"
  21766. },
  21767. "spotgoodsbrandid": {
  21768. "description": "现货品牌ID",
  21769. "type": "integer"
  21770. },
  21771. "spotpricedamount": {
  21772. "description": "[关联定价总额]定价总额",
  21773. "type": "number"
  21774. },
  21775. "spotpricedavgprice": {
  21776. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21777. "type": "number"
  21778. },
  21779. "spottype": {
  21780. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21781. "type": "integer"
  21782. },
  21783. "tradeuserid": {
  21784. "description": "交易用户ID",
  21785. "type": "integer"
  21786. },
  21787. "unexeqty": {
  21788. "description": "未执行现货量【项目关联时值】",
  21789. "type": "number"
  21790. },
  21791. "wrstandardid": {
  21792. "description": "现货商品ID",
  21793. "type": "integer"
  21794. },
  21795. "wrstandardname": {
  21796. "description": "现货商品",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.Ermcp2hedgeditemsDetail": {
  21802. "type": "object",
  21803. "properties": {
  21804. "accountname": {
  21805. "description": "套期主体",
  21806. "type": "string"
  21807. },
  21808. "areauserid": {
  21809. "description": "企业ID",
  21810. "type": "integer"
  21811. },
  21812. "createtime": {
  21813. "description": "[日期时间]创建时间",
  21814. "type": "string"
  21815. },
  21816. "customeruserid": {
  21817. "description": "对手方 【3:采购合同 4:销售合同】",
  21818. "type": "integer"
  21819. },
  21820. "deliverygoodsid": {
  21821. "description": "现货品种ID",
  21822. "type": "integer"
  21823. },
  21824. "enumdicname": {
  21825. "description": "单位",
  21826. "type": "string"
  21827. },
  21828. "hedgeditemid": {
  21829. "description": "被套期项目ID",
  21830. "type": "string"
  21831. },
  21832. "hedgeditemspotid": {
  21833. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21834. "type": "string"
  21835. },
  21836. "hedgedtype": {
  21837. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21838. "type": "integer"
  21839. },
  21840. "hedgeplanno": {
  21841. "description": "计划编号",
  21842. "type": "string"
  21843. },
  21844. "middlegoodschange": {
  21845. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21846. "type": "number"
  21847. },
  21848. "oriavgprice": {
  21849. "description": "期初市场价[当初市场价]",
  21850. "type": "number"
  21851. },
  21852. "relatedamount": {
  21853. "description": "市价总额 = 关联数量 * 期初市场价",
  21854. "type": "number"
  21855. },
  21856. "relatedhedgeplanid": {
  21857. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21858. "type": "integer"
  21859. },
  21860. "relatedqty": {
  21861. "description": "[期间变化量]关联数量",
  21862. "type": "number"
  21863. },
  21864. "relatedspotcontractid": {
  21865. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21866. "type": "integer"
  21867. },
  21868. "relatedtype": {
  21869. "description": "关联类型 - 1:套期关联 2:执行关联",
  21870. "type": "integer"
  21871. },
  21872. "spotgoodsbrandid": {
  21873. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21874. "type": "integer"
  21875. },
  21876. "spotpricedamount": {
  21877. "description": "定价总额",
  21878. "type": "number"
  21879. },
  21880. "spotpricedavgprice": {
  21881. "description": "现货均价 = 定价总额 / 关联数量",
  21882. "type": "number"
  21883. },
  21884. "spottype": {
  21885. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21886. "type": "integer"
  21887. },
  21888. "tradeuserid": {
  21889. "description": "交易用户ID",
  21890. "type": "integer"
  21891. },
  21892. "unexeqty": {
  21893. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21894. "type": "number"
  21895. },
  21896. "wrstandardid": {
  21897. "description": "现货商品ID",
  21898. "type": "integer"
  21899. },
  21900. "wrstandardname": {
  21901. "description": "现货商品",
  21902. "type": "string"
  21903. }
  21904. }
  21905. },
  21906. "models.Ermcp2hedgeditemspot": {
  21907. "type": "object",
  21908. "required": [
  21909. "hedgeditemid"
  21910. ],
  21911. "properties": {
  21912. "areauserid": {
  21913. "description": "企业ID",
  21914. "type": "integer"
  21915. },
  21916. "createtime": {
  21917. "description": "创建时间",
  21918. "type": "string"
  21919. },
  21920. "customeruserid": {
  21921. "description": "对手方 【3:采购合同 4:销售合同】",
  21922. "type": "integer"
  21923. },
  21924. "deliverygoodsid": {
  21925. "description": "现货品种ID",
  21926. "type": "integer"
  21927. },
  21928. "enumdicname": {
  21929. "description": "单位",
  21930. "type": "string"
  21931. },
  21932. "hedgeditemid": {
  21933. "description": "被套期项目ID",
  21934. "type": "string"
  21935. },
  21936. "hedgeditemspotid": {
  21937. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21938. "type": "string"
  21939. },
  21940. "hedgedtype": {
  21941. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21942. "type": "integer"
  21943. },
  21944. "hedgeplanno": {
  21945. "description": "计划编号",
  21946. "type": "string"
  21947. },
  21948. "oriavgprice": {
  21949. "description": "期初市场价[当初市场价]",
  21950. "type": "number"
  21951. },
  21952. "relatedamount": {
  21953. "description": "市价总额 = 关联数量 * 期初市场价",
  21954. "type": "number"
  21955. },
  21956. "relatedhedgeplanid": {
  21957. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21958. "type": "integer"
  21959. },
  21960. "relatedqty": {
  21961. "description": "关联数量[数量]",
  21962. "type": "number"
  21963. },
  21964. "relatedspotcontractid": {
  21965. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21966. "type": "integer"
  21967. },
  21968. "relatedtype": {
  21969. "description": "关联类型 - 1:套期关联 2:执行关联",
  21970. "type": "integer"
  21971. },
  21972. "spotgoodsbrandid": {
  21973. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21974. "type": "integer"
  21975. },
  21976. "spotpricedamount": {
  21977. "description": "定价总额",
  21978. "type": "number"
  21979. },
  21980. "spotpricedavgprice": {
  21981. "description": "现货均价 = 定价总额 / 关联数量",
  21982. "type": "number"
  21983. },
  21984. "spottype": {
  21985. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21986. "type": "integer"
  21987. },
  21988. "tradeuserid": {
  21989. "description": "交易用户ID",
  21990. "type": "integer"
  21991. },
  21992. "wrstandardid": {
  21993. "description": "现货商品ID",
  21994. "type": "integer"
  21995. },
  21996. "wrstandardname": {
  21997. "description": "现货商品",
  21998. "type": "string"
  21999. }
  22000. }
  22001. },
  22002. "models.Ermcp2hedgeditemspotDetail": {
  22003. "type": "object",
  22004. "required": [
  22005. "hedgeditemid"
  22006. ],
  22007. "properties": {
  22008. "accountname": {
  22009. "description": "对手方",
  22010. "type": "string"
  22011. },
  22012. "areauserid": {
  22013. "description": "企业ID",
  22014. "type": "integer"
  22015. },
  22016. "brandname": {
  22017. "description": "品牌",
  22018. "type": "string"
  22019. },
  22020. "contractno": {
  22021. "description": "合同编号",
  22022. "type": "string"
  22023. },
  22024. "createtime": {
  22025. "description": "创建时间",
  22026. "type": "string"
  22027. },
  22028. "customeruserid": {
  22029. "description": "对手方 【3:采购合同 4:销售合同】",
  22030. "type": "integer"
  22031. },
  22032. "deliverygoodsid": {
  22033. "description": "现货品种ID",
  22034. "type": "integer"
  22035. },
  22036. "enumdicname": {
  22037. "description": "单位",
  22038. "type": "string"
  22039. },
  22040. "hedgeditemid": {
  22041. "description": "被套期项目ID",
  22042. "type": "string"
  22043. },
  22044. "hedgeditemspotid": {
  22045. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22046. "type": "string"
  22047. },
  22048. "hedgedtype": {
  22049. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22050. "type": "integer"
  22051. },
  22052. "oriavgprice": {
  22053. "description": "期初市场价[当初市场价]",
  22054. "type": "number"
  22055. },
  22056. "relatedamount": {
  22057. "description": "市价总额 = 关联数量 * 期初市场价",
  22058. "type": "number"
  22059. },
  22060. "relatedhedgeplanid": {
  22061. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22062. "type": "integer"
  22063. },
  22064. "relatedqty": {
  22065. "description": "关联数量[数量]",
  22066. "type": "number"
  22067. },
  22068. "relatedspotcontractid": {
  22069. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22070. "type": "integer"
  22071. },
  22072. "relatedtype": {
  22073. "description": "关联类型 - 1:套期关联 2:执行关联",
  22074. "type": "integer"
  22075. },
  22076. "spotgoodsbrandid": {
  22077. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22078. "type": "integer"
  22079. },
  22080. "spotpricedamount": {
  22081. "description": "定价总额[金额]",
  22082. "type": "number"
  22083. },
  22084. "spotpricedavgprice": {
  22085. "description": "现货均价 = 定价总额 / 关联数量",
  22086. "type": "number"
  22087. },
  22088. "spottype": {
  22089. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22090. "type": "integer"
  22091. },
  22092. "tradeuserid": {
  22093. "description": "交易用户ID",
  22094. "type": "integer"
  22095. },
  22096. "wrstandardid": {
  22097. "description": "现货商品ID",
  22098. "type": "integer"
  22099. },
  22100. "wrstandardname": {
  22101. "description": "现货商品",
  22102. "type": "string"
  22103. }
  22104. }
  22105. },
  22106. "models.Ermcp2himiddlegoods": {
  22107. "type": "object",
  22108. "required": [
  22109. "hedgeditemid",
  22110. "middlegoodsid"
  22111. ],
  22112. "properties": {
  22113. "futurehedgeqty": {
  22114. "description": "期货持仓套期量",
  22115. "type": "number"
  22116. },
  22117. "hedgeditemid": {
  22118. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22119. "type": "integer"
  22120. },
  22121. "hiexpsoure": {
  22122. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22123. "type": "number"
  22124. },
  22125. "middlegoodscode": {
  22126. "description": "套保商品代码",
  22127. "type": "string"
  22128. },
  22129. "middlegoodsid": {
  22130. "description": "套保品种ID",
  22131. "type": "integer"
  22132. },
  22133. "middlegoodsname": {
  22134. "description": "套保商品名称",
  22135. "type": "string"
  22136. },
  22137. "unexehedgeqty": {
  22138. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22139. "type": "number"
  22140. }
  22141. }
  22142. },
  22143. "models.Ermcp2stockspotchangelog": {
  22144. "type": "object",
  22145. "properties": {
  22146. "accountname": {
  22147. "description": "套期主体",
  22148. "type": "string"
  22149. },
  22150. "aftervalue": {
  22151. "description": "现货量",
  22152. "type": "number"
  22153. },
  22154. "beforevalue": {
  22155. "description": "变更前现货量",
  22156. "type": "number"
  22157. },
  22158. "contractno": {
  22159. "description": "[编号]现货合同编号",
  22160. "type": "string"
  22161. },
  22162. "contracttype": {
  22163. "description": "现货合同类型 - 1:采购 -1:销售",
  22164. "type": "integer"
  22165. },
  22166. "createtime": {
  22167. "description": "创建时间",
  22168. "type": "string"
  22169. },
  22170. "customerusername": {
  22171. "description": "对手方",
  22172. "type": "string"
  22173. },
  22174. "deliverygoodsid": {
  22175. "description": "现货品种ID",
  22176. "type": "integer"
  22177. },
  22178. "exetype": {
  22179. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22180. "type": "integer"
  22181. },
  22182. "logid": {
  22183. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22184. "type": "string"
  22185. },
  22186. "logvalue": {
  22187. "description": "[期间变化量]现货量变更值",
  22188. "type": "number"
  22189. },
  22190. "middlegoodschange": {
  22191. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22192. "type": "number"
  22193. },
  22194. "operatelogtype": {
  22195. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22196. "type": "integer"
  22197. },
  22198. "relatedid": {
  22199. "description": "现货合同ID",
  22200. "type": "integer"
  22201. },
  22202. "spotgoodsbrandid": {
  22203. "description": "现货品牌ID",
  22204. "type": "integer"
  22205. },
  22206. "tradedate": {
  22207. "description": "交易日(yyyyMMdd)",
  22208. "type": "string"
  22209. },
  22210. "userid": {
  22211. "description": "机构ID",
  22212. "type": "integer"
  22213. },
  22214. "warehouseinfoid": {
  22215. "description": "仓库ID",
  22216. "type": "integer"
  22217. },
  22218. "wrfactortypeid": {
  22219. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22220. "type": "integer"
  22221. },
  22222. "wrstandardid": {
  22223. "description": "现货商品ID",
  22224. "type": "integer"
  22225. },
  22226. "wrstandardname": {
  22227. "description": "商品名称",
  22228. "type": "string"
  22229. }
  22230. }
  22231. },
  22232. "models.Ermcp3AreaSpot": {
  22233. "type": "object",
  22234. "properties": {
  22235. "areauserid": {
  22236. "description": "所属机构",
  22237. "type": "integer"
  22238. },
  22239. "convertratio": {
  22240. "description": "套保系数",
  22241. "type": "number"
  22242. },
  22243. "decreaseqty": {
  22244. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22245. "type": "number"
  22246. },
  22247. "enumdicname": {
  22248. "description": "单位名称",
  22249. "type": "string"
  22250. },
  22251. "increaseqty": {
  22252. "description": "增加数量=销售计划数量+采购已定价数量",
  22253. "type": "number"
  22254. },
  22255. "oritoalspotqty": {
  22256. "description": "昨日数量",
  22257. "type": "number"
  22258. },
  22259. "totalspotqty": {
  22260. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22261. "type": "number"
  22262. },
  22263. "unitid": {
  22264. "description": "现货商品单位id",
  22265. "type": "integer"
  22266. },
  22267. "updatetime": {
  22268. "description": "更新时间",
  22269. "type": "string"
  22270. },
  22271. "wrstandardcode": {
  22272. "description": "现货商品代码",
  22273. "type": "string"
  22274. },
  22275. "wrstandardid": {
  22276. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22277. "type": "integer"
  22278. },
  22279. "wrstandardname": {
  22280. "description": "现货商品名称",
  22281. "type": "string"
  22282. }
  22283. }
  22284. },
  22285. "models.Ermcp3AreaSpotDetail": {
  22286. "type": "object",
  22287. "properties": {
  22288. "contracttype": {
  22289. "description": "合同类型 1-采购 -1-销售",
  22290. "type": "integer"
  22291. },
  22292. "createtime": {
  22293. "description": "创建时间",
  22294. "type": "string"
  22295. },
  22296. "enumdicname": {
  22297. "description": "现货商品单位名称",
  22298. "type": "string"
  22299. },
  22300. "logtype": {
  22301. "description": "记录类型 1-套保 2-现货合同",
  22302. "type": "integer"
  22303. },
  22304. "qty": {
  22305. "description": "数量",
  22306. "type": "number"
  22307. },
  22308. "recordname": {
  22309. "description": "类型名称",
  22310. "type": "string"
  22311. },
  22312. "relatedid": {
  22313. "description": "套保计划ID/现货合同ID",
  22314. "type": "string"
  22315. },
  22316. "relatedno": {
  22317. "description": "编号",
  22318. "type": "string"
  22319. },
  22320. "strtime": {
  22321. "description": "时间",
  22322. "type": "string"
  22323. },
  22324. "wrstandardcode": {
  22325. "description": "现货商品代码",
  22326. "type": "string"
  22327. },
  22328. "wrstandardid": {
  22329. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22330. "type": "integer"
  22331. },
  22332. "wrstandardname": {
  22333. "description": "现货商品名称",
  22334. "type": "string"
  22335. }
  22336. }
  22337. },
  22338. "models.Ermcp3AreaSpotPLReport": {
  22339. "type": "object",
  22340. "properties": {
  22341. "accountid": {
  22342. "description": "期货账户ID (作废, 默认为0)",
  22343. "type": "integer"
  22344. },
  22345. "accountname": {
  22346. "description": "机构名称",
  22347. "type": "string"
  22348. },
  22349. "actualpl": {
  22350. "description": "现货损益",
  22351. "type": "number"
  22352. },
  22353. "areauserid": {
  22354. "description": "所属机构\\交易用户ID",
  22355. "type": "integer"
  22356. },
  22357. "begindate": {
  22358. "description": "开始交易日",
  22359. "type": "string"
  22360. },
  22361. "biztype": {
  22362. "description": "业务类型 - 1:套保 2:套利",
  22363. "type": "integer"
  22364. },
  22365. "brandname": {
  22366. "description": "品牌名称",
  22367. "type": "string"
  22368. },
  22369. "curamount": {
  22370. "description": "期末额",
  22371. "type": "number"
  22372. },
  22373. "curaverageprice": {
  22374. "description": "期初均价",
  22375. "type": "number"
  22376. },
  22377. "curbuyamount": {
  22378. "description": "期末采购总额",
  22379. "type": "number"
  22380. },
  22381. "curbuyqty": {
  22382. "description": "期末采购总量",
  22383. "type": "number"
  22384. },
  22385. "curmarketvalue": {
  22386. "description": "期初均价",
  22387. "type": "number"
  22388. },
  22389. "curqty": {
  22390. "description": "期末量",
  22391. "type": "number"
  22392. },
  22393. "currencyid": {
  22394. "description": "结算币种ID【原值】",
  22395. "type": "integer"
  22396. },
  22397. "currencyname": {
  22398. "description": "币种名称",
  22399. "type": "string"
  22400. },
  22401. "cursellamount": {
  22402. "description": "期末销售总额",
  22403. "type": "number"
  22404. },
  22405. "cursellqty": {
  22406. "description": "期末销售总量",
  22407. "type": "number"
  22408. },
  22409. "curspotprice": {
  22410. "description": "期初均价",
  22411. "type": "number"
  22412. },
  22413. "cycletime": {
  22414. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22415. "type": "string"
  22416. },
  22417. "cycletype": {
  22418. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22419. "type": "integer"
  22420. },
  22421. "deliverygoodscode": {
  22422. "description": "现货品种代码",
  22423. "type": "string"
  22424. },
  22425. "deliverygoodsid": {
  22426. "description": "现货品种ID",
  22427. "type": "integer"
  22428. },
  22429. "deliverygoodsname": {
  22430. "description": "现货品种名称",
  22431. "type": "string"
  22432. },
  22433. "enddate": {
  22434. "description": "结束交易日",
  22435. "type": "string"
  22436. },
  22437. "enumdicname": {
  22438. "description": "现货品种单位名称(作废)",
  22439. "type": "string"
  22440. },
  22441. "floatpl": {
  22442. "description": "期初均价",
  22443. "type": "number"
  22444. },
  22445. "goodsunitid": {
  22446. "description": "现货品种单位id(作废)",
  22447. "type": "integer"
  22448. },
  22449. "oriamount": {
  22450. "description": "期初额",
  22451. "type": "number"
  22452. },
  22453. "oriaverageprice": {
  22454. "description": "期初均价",
  22455. "type": "number"
  22456. },
  22457. "oribuyamount": {
  22458. "description": "期初采购总额",
  22459. "type": "number"
  22460. },
  22461. "oribuyqty": {
  22462. "description": "期初采购总量",
  22463. "type": "number"
  22464. },
  22465. "oriqty": {
  22466. "description": "期初量",
  22467. "type": "number"
  22468. },
  22469. "orisellamount": {
  22470. "description": "期初销售总额",
  22471. "type": "number"
  22472. },
  22473. "orisellqty": {
  22474. "description": "期初销售总量",
  22475. "type": "number"
  22476. },
  22477. "reckondate": {
  22478. "description": "日照时期(yyyyMMdd)",
  22479. "type": "string"
  22480. },
  22481. "spotgoodsbrandid": {
  22482. "description": "现货品牌ID",
  22483. "type": "integer"
  22484. },
  22485. "todaybuyamount": {
  22486. "description": "今日采购额(今采购额)",
  22487. "type": "number"
  22488. },
  22489. "todaybuyaverageprice": {
  22490. "description": "期初均价",
  22491. "type": "number"
  22492. },
  22493. "todaybuyqty": {
  22494. "description": "今日采购量(今采购量)",
  22495. "type": "number"
  22496. },
  22497. "todayinqty": {
  22498. "description": "今日入库量(今入库量)",
  22499. "type": "number"
  22500. },
  22501. "todayoutqty": {
  22502. "description": "今日出库量(今出库量)",
  22503. "type": "number"
  22504. },
  22505. "todaysellamount": {
  22506. "description": "今日销售额(今销售额)",
  22507. "type": "number"
  22508. },
  22509. "todaysellaverageprice": {
  22510. "description": "期初均价",
  22511. "type": "number"
  22512. },
  22513. "todaysellqty": {
  22514. "description": "今日销售量(今销售量)",
  22515. "type": "number"
  22516. },
  22517. "unitid": {
  22518. "description": "品类单位id",
  22519. "type": "integer"
  22520. },
  22521. "unitidname": {
  22522. "description": "品类单位名称",
  22523. "type": "string"
  22524. },
  22525. "updatetime": {
  22526. "description": "更新时间",
  22527. "type": "string"
  22528. },
  22529. "wrfactortypeid": {
  22530. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22531. "type": "integer"
  22532. },
  22533. "wrstandardcode": {
  22534. "description": "现货商品(品类)代码",
  22535. "type": "string"
  22536. },
  22537. "wrstandardid": {
  22538. "description": "现货品类ID",
  22539. "type": "integer"
  22540. },
  22541. "wrstandardname": {
  22542. "description": "现货商品(品类)名称",
  22543. "type": "string"
  22544. }
  22545. }
  22546. },
  22547. "models.Ermcp3AreaStock": {
  22548. "type": "object",
  22549. "required": [
  22550. "userid"
  22551. ],
  22552. "properties": {
  22553. "brandname": {
  22554. "description": "品牌名称",
  22555. "type": "string"
  22556. },
  22557. "curstock": {
  22558. "description": "期末库存量(今日量)",
  22559. "type": "number"
  22560. },
  22561. "deliverygoodscode": {
  22562. "description": "现货品种代码",
  22563. "type": "string"
  22564. },
  22565. "deliverygoodsid": {
  22566. "description": "现货品种id",
  22567. "type": "integer"
  22568. },
  22569. "deliverygoodsname": {
  22570. "description": "现货品种名称",
  22571. "type": "string"
  22572. },
  22573. "enumdicname": {
  22574. "description": "单位名称",
  22575. "type": "string"
  22576. },
  22577. "goodsunitid": {
  22578. "description": "现货商品单位id",
  22579. "type": "integer"
  22580. },
  22581. "oristock": {
  22582. "description": "期初库存量(昨日量)",
  22583. "type": "number"
  22584. },
  22585. "spotgoodsbrandid": {
  22586. "description": "现货品牌ID",
  22587. "type": "integer"
  22588. },
  22589. "todaybuyinqty": {
  22590. "description": "今日采购入库量",
  22591. "type": "number"
  22592. },
  22593. "todayproduceinqty": {
  22594. "description": "今日生产入库量",
  22595. "type": "number"
  22596. },
  22597. "todayproduceoutqty": {
  22598. "description": "今日生产出库量",
  22599. "type": "number"
  22600. },
  22601. "todayselloutqty": {
  22602. "description": "今日销售出库量",
  22603. "type": "number"
  22604. },
  22605. "unitid": {
  22606. "description": "单位id",
  22607. "type": "integer"
  22608. },
  22609. "updatetime": {
  22610. "description": "更新时间",
  22611. "type": "string"
  22612. },
  22613. "userid": {
  22614. "description": "机构ID",
  22615. "type": "integer"
  22616. },
  22617. "username": {
  22618. "description": "机构名称",
  22619. "type": "string"
  22620. },
  22621. "warehousecode": {
  22622. "description": "仓库代码",
  22623. "type": "string"
  22624. },
  22625. "warehouseinfoid": {
  22626. "description": "仓库ID",
  22627. "type": "string"
  22628. },
  22629. "warehousename": {
  22630. "description": "仓库名称",
  22631. "type": "string"
  22632. },
  22633. "warehousetype": {
  22634. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22635. "type": "integer"
  22636. },
  22637. "wrstandardcode": {
  22638. "description": "品类代码",
  22639. "type": "string"
  22640. },
  22641. "wrstandardid": {
  22642. "description": "品类ID",
  22643. "type": "string"
  22644. },
  22645. "wrstandardname": {
  22646. "description": "品类名称",
  22647. "type": "string"
  22648. }
  22649. }
  22650. },
  22651. "models.Ermcp3AreaStockApply": {
  22652. "type": "object",
  22653. "properties": {
  22654. "applyid": {
  22655. "description": "申请人",
  22656. "type": "integer"
  22657. },
  22658. "applyname": {
  22659. "description": "申请人名称",
  22660. "type": "string"
  22661. },
  22662. "applyremark": {
  22663. "description": "申请备注",
  22664. "type": "string"
  22665. },
  22666. "applysrc": {
  22667. "description": "申请来源 - 1:管理端 2:终端",
  22668. "type": "integer"
  22669. },
  22670. "applystatus": {
  22671. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22672. "type": "integer"
  22673. },
  22674. "applytime": {
  22675. "description": "申请时间",
  22676. "type": "string"
  22677. },
  22678. "auditid": {
  22679. "description": "审核人",
  22680. "type": "integer"
  22681. },
  22682. "auditname": {
  22683. "description": "审核人名称",
  22684. "type": "string"
  22685. },
  22686. "auditremark": {
  22687. "description": "审核备注",
  22688. "type": "string"
  22689. },
  22690. "auditsrc": {
  22691. "description": "审核来源 - 1:管理端 2:终端",
  22692. "type": "integer"
  22693. },
  22694. "audittime": {
  22695. "description": "审核时间",
  22696. "type": "string"
  22697. },
  22698. "audittradedate": {
  22699. "description": "审核交易日(yyyyMMdd)",
  22700. "type": "string"
  22701. },
  22702. "brandname": {
  22703. "description": "品牌名称",
  22704. "type": "string"
  22705. },
  22706. "buynickname": {
  22707. "description": "采购方昵称",
  22708. "type": "string"
  22709. },
  22710. "buyuserid": {
  22711. "description": "采购方userid",
  22712. "type": "integer"
  22713. },
  22714. "buyusername": {
  22715. "description": "采购方名称",
  22716. "type": "string"
  22717. },
  22718. "contractno": {
  22719. "description": "合同编号",
  22720. "type": "string"
  22721. },
  22722. "contractqty": {
  22723. "description": "合同量",
  22724. "type": "number"
  22725. },
  22726. "contracttype": {
  22727. "description": "现货合同类型 - 1:采购 -1:销售",
  22728. "type": "integer"
  22729. },
  22730. "deliverygoodscode": {
  22731. "description": "现货品种代码",
  22732. "type": "string"
  22733. },
  22734. "deliverygoodsid": {
  22735. "description": "现货品种id",
  22736. "type": "integer"
  22737. },
  22738. "deliverygoodsname": {
  22739. "description": "现货品种名称",
  22740. "type": "string"
  22741. },
  22742. "detailjson": {
  22743. "description": "明细数据",
  22744. "type": "string"
  22745. },
  22746. "enumdicname": {
  22747. "description": "现货商品单位名称",
  22748. "type": "string"
  22749. },
  22750. "inoutapplyid": {
  22751. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22752. "type": "string"
  22753. },
  22754. "inouttype": {
  22755. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22756. "type": "integer"
  22757. },
  22758. "pricetype": {
  22759. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22760. "type": "integer"
  22761. },
  22762. "qty": {
  22763. "description": "数量",
  22764. "type": "number"
  22765. },
  22766. "sellnickname": {
  22767. "description": "销售方昵称",
  22768. "type": "string"
  22769. },
  22770. "selluserid": {
  22771. "description": "销售方userid",
  22772. "type": "integer"
  22773. },
  22774. "sellusername": {
  22775. "description": "销售方名称",
  22776. "type": "string"
  22777. },
  22778. "spotcontractid": {
  22779. "description": "关联现货合同ID",
  22780. "type": "string"
  22781. },
  22782. "spotgoodsbrandid": {
  22783. "description": "现货品牌ID",
  22784. "type": "integer"
  22785. },
  22786. "unitid": {
  22787. "description": "单位id",
  22788. "type": "integer"
  22789. },
  22790. "userid": {
  22791. "description": "机构ID",
  22792. "type": "integer"
  22793. },
  22794. "warehousecode": {
  22795. "description": "仓库代码",
  22796. "type": "string"
  22797. },
  22798. "warehouseinfoid": {
  22799. "description": "现货仓库ID",
  22800. "type": "string"
  22801. },
  22802. "warehousename": {
  22803. "description": "仓库名称",
  22804. "type": "string"
  22805. },
  22806. "warehousetype": {
  22807. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22808. "type": "integer"
  22809. },
  22810. "wrstandardcode": {
  22811. "description": "品类代码",
  22812. "type": "string"
  22813. },
  22814. "wrstandardid": {
  22815. "description": "品类ID",
  22816. "type": "integer"
  22817. },
  22818. "wrstandardname": {
  22819. "description": "品类名称",
  22820. "type": "string"
  22821. }
  22822. }
  22823. },
  22824. "models.Ermcp3AreaStockApplySum": {
  22825. "type": "object",
  22826. "properties": {
  22827. "brandname": {
  22828. "description": "品牌名称",
  22829. "type": "string"
  22830. },
  22831. "inouttype": {
  22832. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22833. "type": "integer"
  22834. },
  22835. "spotcontractid": {
  22836. "description": "关联现货合同ID",
  22837. "type": "string"
  22838. },
  22839. "spotgoodsbrandid": {
  22840. "description": "品牌id",
  22841. "type": "integer"
  22842. },
  22843. "totalqty": {
  22844. "description": "总数量",
  22845. "type": "number"
  22846. },
  22847. "wrstandardid": {
  22848. "description": "品类id",
  22849. "type": "integer"
  22850. },
  22851. "wrstandardname": {
  22852. "description": "品类名称",
  22853. "type": "string"
  22854. }
  22855. }
  22856. },
  22857. "models.Ermcp3AreaStockReportEx": {
  22858. "type": "object",
  22859. "properties": {
  22860. "begindate": {
  22861. "description": "开始交易日",
  22862. "type": "string"
  22863. },
  22864. "brandname": {
  22865. "description": "品牌名称",
  22866. "type": "string"
  22867. },
  22868. "curstock": {
  22869. "description": "期末库存量",
  22870. "type": "number"
  22871. },
  22872. "cycletime": {
  22873. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22874. "type": "string"
  22875. },
  22876. "cycletype": {
  22877. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22878. "type": "integer"
  22879. },
  22880. "deliverygoodscode": {
  22881. "description": "现货品种代码",
  22882. "type": "string"
  22883. },
  22884. "deliverygoodsid": {
  22885. "description": "现货品种id",
  22886. "type": "integer"
  22887. },
  22888. "deliverygoodsname": {
  22889. "description": "现货品种名称",
  22890. "type": "string"
  22891. },
  22892. "diffqty": {
  22893. "description": "库存变化量 = 期末 - 期初",
  22894. "type": "number"
  22895. },
  22896. "enddate": {
  22897. "description": "结束交易日",
  22898. "type": "string"
  22899. },
  22900. "enumdicname": {
  22901. "description": "单位名称",
  22902. "type": "string"
  22903. },
  22904. "goodsunitid": {
  22905. "description": "现货单位id",
  22906. "type": "integer"
  22907. },
  22908. "oristock": {
  22909. "description": "期初库存量",
  22910. "type": "number"
  22911. },
  22912. "reckondate": {
  22913. "description": "日照时期(yyyyMMdd)",
  22914. "type": "string"
  22915. },
  22916. "spotgoodsbrandid": {
  22917. "description": "现货品牌ID",
  22918. "type": "integer"
  22919. },
  22920. "todaybuyinqty": {
  22921. "description": "今采购入库量",
  22922. "type": "number"
  22923. },
  22924. "todayproduceinqty": {
  22925. "description": "今内部入库量",
  22926. "type": "number"
  22927. },
  22928. "todayproduceoutqty": {
  22929. "description": "今内部出库量",
  22930. "type": "number"
  22931. },
  22932. "todayselloutqty": {
  22933. "description": "今销售出库量",
  22934. "type": "number"
  22935. },
  22936. "unbuyinqty": {
  22937. "description": "采购未入库量(数据库未找到相关字段?)",
  22938. "type": "number"
  22939. },
  22940. "unitid": {
  22941. "description": "品类单位id",
  22942. "type": "integer"
  22943. },
  22944. "unselloutqty": {
  22945. "description": "销售未出库量(数据库未找到相关字段?)",
  22946. "type": "number"
  22947. },
  22948. "updatetime": {
  22949. "description": "更新时间",
  22950. "type": "string"
  22951. },
  22952. "userid": {
  22953. "description": "机构ID",
  22954. "type": "integer"
  22955. },
  22956. "username": {
  22957. "description": "机构名称",
  22958. "type": "string"
  22959. },
  22960. "warehousecode": {
  22961. "description": "仓库代码",
  22962. "type": "string"
  22963. },
  22964. "warehouseinfoid": {
  22965. "description": "仓库ID",
  22966. "type": "string"
  22967. },
  22968. "warehousename": {
  22969. "description": "仓库名称",
  22970. "type": "string"
  22971. },
  22972. "warehousetype": {
  22973. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22974. "type": "integer"
  22975. },
  22976. "wrstandardcode": {
  22977. "description": "品类代码",
  22978. "type": "string"
  22979. },
  22980. "wrstandardid": {
  22981. "description": "品类ID",
  22982. "type": "integer"
  22983. },
  22984. "wrstandardname": {
  22985. "description": "品类名称",
  22986. "type": "string"
  22987. }
  22988. }
  22989. },
  22990. "models.Ermcp3ArealSumPL": {
  22991. "type": "object",
  22992. "properties": {
  22993. "accountname": {
  22994. "description": "机构名称",
  22995. "type": "string"
  22996. },
  22997. "areauserid": {
  22998. "description": "所属机构\\交易用户ID",
  22999. "type": "integer"
  23000. },
  23001. "begindate": {
  23002. "description": "开始交易日",
  23003. "type": "string"
  23004. },
  23005. "currencyid": {
  23006. "description": "结算币种ID",
  23007. "type": "integer"
  23008. },
  23009. "currencyname": {
  23010. "description": "币种名称",
  23011. "type": "string"
  23012. },
  23013. "cycletime": {
  23014. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23015. "type": "string"
  23016. },
  23017. "cycletype": {
  23018. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23019. "type": "integer"
  23020. },
  23021. "enddate": {
  23022. "description": "结束交易日",
  23023. "type": "string"
  23024. },
  23025. "enumdicname": {
  23026. "description": "单位名称(套保品种)",
  23027. "type": "string"
  23028. },
  23029. "futureactualpl": {
  23030. "description": "期货损益",
  23031. "type": "number"
  23032. },
  23033. "futurefloatpl": {
  23034. "description": "期货浮动损益",
  23035. "type": "number"
  23036. },
  23037. "futurespotratio": {
  23038. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23039. "type": "number"
  23040. },
  23041. "goodsunitid": {
  23042. "description": "套保品种单位id",
  23043. "type": "integer"
  23044. },
  23045. "hedgeexposurepl": {
  23046. "description": "套保敞口损益",
  23047. "type": "number"
  23048. },
  23049. "middlegoodscode": {
  23050. "description": "套保品种代码",
  23051. "type": "string"
  23052. },
  23053. "middlegoodsid": {
  23054. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23055. "type": "integer"
  23056. },
  23057. "middlegoodsname": {
  23058. "description": "套保品种名称",
  23059. "type": "string"
  23060. },
  23061. "reckondate": {
  23062. "description": "日照时期(yyyyMMdd)",
  23063. "type": "string"
  23064. },
  23065. "spotactualpl": {
  23066. "description": "现货损益",
  23067. "type": "number"
  23068. },
  23069. "spotfloatpl": {
  23070. "description": "现货浮动损益",
  23071. "type": "number"
  23072. },
  23073. "sumactualpl": {
  23074. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23075. "type": "number"
  23076. },
  23077. "sumpl": {
  23078. "description": "总敞口损益 | 汇总损益",
  23079. "type": "number"
  23080. },
  23081. "totalfutureqty": {
  23082. "description": "期货头寸总量",
  23083. "type": "number"
  23084. },
  23085. "totalneedhedgeqty": {
  23086. "description": "应套保总量",
  23087. "type": "number"
  23088. },
  23089. "totalspotqty": {
  23090. "description": "现货头寸总量",
  23091. "type": "number"
  23092. },
  23093. "updatetime": {
  23094. "description": "更新时间",
  23095. "type": "string"
  23096. }
  23097. }
  23098. },
  23099. "models.Ermcp3Brand": {
  23100. "type": "object",
  23101. "properties": {
  23102. "areauserid": {
  23103. "description": "用户id",
  23104. "type": "integer"
  23105. },
  23106. "brandid": {
  23107. "description": "品牌id",
  23108. "type": "integer"
  23109. },
  23110. "brandname": {
  23111. "description": "品牌名称",
  23112. "type": "string"
  23113. },
  23114. "deliverygoodsid": {
  23115. "description": "品种ID",
  23116. "type": "integer"
  23117. },
  23118. "isvalid": {
  23119. "description": "是否有效",
  23120. "type": "integer"
  23121. }
  23122. }
  23123. },
  23124. "models.Ermcp3Contract": {
  23125. "type": "object",
  23126. "properties": {
  23127. "accountid": {
  23128. "description": "期货账户id",
  23129. "type": "string"
  23130. },
  23131. "amount": {
  23132. "description": "金额 [1:一口价、3:暂定价]",
  23133. "type": "number"
  23134. },
  23135. "attachment": {
  23136. "description": "附件",
  23137. "type": "string"
  23138. },
  23139. "auditremark": {
  23140. "description": "审核意见",
  23141. "type": "string"
  23142. },
  23143. "audittime": {
  23144. "description": "审核时间",
  23145. "type": "string"
  23146. },
  23147. "biztype": {
  23148. "description": "业务类型 1-套保 2-套利",
  23149. "type": "integer"
  23150. },
  23151. "brandname": {
  23152. "description": "品牌名称",
  23153. "type": "string"
  23154. },
  23155. "buynickname": {
  23156. "description": "销售方昵称",
  23157. "type": "string"
  23158. },
  23159. "buyuserid": {
  23160. "description": "采购方ID",
  23161. "type": "integer"
  23162. },
  23163. "buyusername": {
  23164. "description": "采购方名称",
  23165. "type": "string"
  23166. },
  23167. "contracctstatus": {
  23168. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23169. "type": "integer"
  23170. },
  23171. "contractmargin": {
  23172. "description": "合同保证金",
  23173. "type": "number"
  23174. },
  23175. "contractno": {
  23176. "description": "现货合同编号",
  23177. "type": "string"
  23178. },
  23179. "contracttype": {
  23180. "description": "现货合同类型 - 1:采购 -1:销售",
  23181. "type": "integer"
  23182. },
  23183. "convertfactor": {
  23184. "description": "标仓系数(品类)",
  23185. "type": "number"
  23186. },
  23187. "createtime": {
  23188. "description": "创建时间",
  23189. "type": "string"
  23190. },
  23191. "currencyid": {
  23192. "description": "币种id",
  23193. "type": "integer"
  23194. },
  23195. "currencyname": {
  23196. "description": "币种名称",
  23197. "type": "string"
  23198. },
  23199. "deliveryenddate": {
  23200. "description": "交收期(结束)",
  23201. "type": "string"
  23202. },
  23203. "deliverygoodscode": {
  23204. "description": "现货品种代码",
  23205. "type": "string"
  23206. },
  23207. "deliverygoodsid": {
  23208. "description": "现货品种ID",
  23209. "type": "integer"
  23210. },
  23211. "deliverygoodsname": {
  23212. "description": "现货品种名称",
  23213. "type": "string"
  23214. },
  23215. "deliverystartdate": {
  23216. "description": "交收期(开始)",
  23217. "type": "string"
  23218. },
  23219. "enddate": {
  23220. "description": "点价结束日期 [2:点价 3:暂定价]",
  23221. "type": "string"
  23222. },
  23223. "enumdicname": {
  23224. "description": "单位名称",
  23225. "type": "string"
  23226. },
  23227. "goodscode": {
  23228. "description": "点价合约代码",
  23229. "type": "string"
  23230. },
  23231. "goodsid": {
  23232. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23233. "type": "integer"
  23234. },
  23235. "goodsname": {
  23236. "description": "点价商品名称",
  23237. "type": "string"
  23238. },
  23239. "margin": {
  23240. "description": "当前保证金",
  23241. "type": "number"
  23242. },
  23243. "meruserid": {
  23244. "description": "跟单员id",
  23245. "type": "integer"
  23246. },
  23247. "meruserlogincode": {
  23248. "description": "跟单员登录代码",
  23249. "type": "string"
  23250. },
  23251. "merusername": {
  23252. "description": "跟单员名称",
  23253. "type": "string"
  23254. },
  23255. "pointdesc": {
  23256. "description": "点价备注",
  23257. "type": "string"
  23258. },
  23259. "price": {
  23260. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23261. "type": "number"
  23262. },
  23263. "pricemove": {
  23264. "description": "升贴水 [2:点价 3:暂定价]",
  23265. "type": "number"
  23266. },
  23267. "pricetype": {
  23268. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23269. "type": "integer"
  23270. },
  23271. "producttype": {
  23272. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23273. "type": "integer"
  23274. },
  23275. "qty": {
  23276. "description": "数量",
  23277. "type": "number"
  23278. },
  23279. "remark": {
  23280. "description": "备注",
  23281. "type": "string"
  23282. },
  23283. "saleuserid": {
  23284. "description": "业务员id",
  23285. "type": "integer"
  23286. },
  23287. "saleuserlogincode": {
  23288. "description": "业务员登录代码",
  23289. "type": "string"
  23290. },
  23291. "saleusername": {
  23292. "description": "业务员名称",
  23293. "type": "string"
  23294. },
  23295. "sellnickname": {
  23296. "description": "采购方昵称",
  23297. "type": "string"
  23298. },
  23299. "selluserid": {
  23300. "description": "销售方ID",
  23301. "type": "integer"
  23302. },
  23303. "sellusername": {
  23304. "description": "销售方名称",
  23305. "type": "string"
  23306. },
  23307. "spotcontractid": {
  23308. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23309. "type": "string"
  23310. },
  23311. "spotgoodsbrandid": {
  23312. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23313. "type": "integer"
  23314. },
  23315. "spotgoodsdesc": {
  23316. "description": "商品型号",
  23317. "type": "string"
  23318. },
  23319. "startdate": {
  23320. "description": "点价开始日期 [2:点价 3:暂定价]",
  23321. "type": "string"
  23322. },
  23323. "subjectid": {
  23324. "description": "交易主体ID",
  23325. "type": "integer"
  23326. },
  23327. "subjectname": {
  23328. "description": "交易主体名称",
  23329. "type": "string"
  23330. },
  23331. "tradeuserid": {
  23332. "description": "交易员id",
  23333. "type": "integer"
  23334. },
  23335. "tradeuserlogincode": {
  23336. "description": "交易员登录代码",
  23337. "type": "string"
  23338. },
  23339. "tradeusername": {
  23340. "description": "交易员名称",
  23341. "type": "string"
  23342. },
  23343. "unitid": {
  23344. "description": "单位id(取品类上的单位id)",
  23345. "type": "integer"
  23346. },
  23347. "updatetime": {
  23348. "description": "更新时间",
  23349. "type": "string"
  23350. },
  23351. "userid": {
  23352. "description": "所属机构ID",
  23353. "type": "integer"
  23354. },
  23355. "vatrate": {
  23356. "description": "增值税率",
  23357. "type": "number"
  23358. },
  23359. "wrstandardcode": {
  23360. "description": "品类代码",
  23361. "type": "string"
  23362. },
  23363. "wrstandardid": {
  23364. "description": "品类ID",
  23365. "type": "integer"
  23366. },
  23367. "wrstandardname": {
  23368. "description": "品类名称",
  23369. "type": "string"
  23370. }
  23371. }
  23372. },
  23373. "models.Ermcp3ContractMiddleGoodsCfg": {
  23374. "type": "object",
  23375. "properties": {
  23376. "agreeunit": {
  23377. "description": "合约乘数",
  23378. "type": "number"
  23379. },
  23380. "convertratio": {
  23381. "description": "期货品种系数",
  23382. "type": "number"
  23383. },
  23384. "covertqty": {
  23385. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23386. "type": "integer"
  23387. },
  23388. "middlegoodsid": {
  23389. "description": "套保品种ID",
  23390. "type": "integer"
  23391. },
  23392. "middlegoodspricedqty3": {
  23393. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23394. "type": "string",
  23395. "example": "0"
  23396. },
  23397. "pendingpricedqty": {
  23398. "description": "待点价量",
  23399. "type": "string",
  23400. "example": "0"
  23401. },
  23402. "relatedmiddlegoodsqty": {
  23403. "description": "已关联量(套保品种-期货)",
  23404. "type": "string",
  23405. "example": "0"
  23406. },
  23407. "spotcontractid": {
  23408. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23409. "type": "string"
  23410. }
  23411. }
  23412. },
  23413. "models.Ermcp3ExposureContractDetail": {
  23414. "type": "object",
  23415. "properties": {
  23416. "biztype": {
  23417. "description": "业务类型 1-套保 2-套利",
  23418. "type": "integer"
  23419. },
  23420. "brandname": {
  23421. "description": "品牌名称",
  23422. "type": "string"
  23423. },
  23424. "buyuserid": {
  23425. "description": "采购方id",
  23426. "type": "integer"
  23427. },
  23428. "buyusername": {
  23429. "description": "采购方名称",
  23430. "type": "string"
  23431. },
  23432. "contractno": {
  23433. "description": "合同编号",
  23434. "type": "string"
  23435. },
  23436. "contracttype": {
  23437. "description": "现货合同类型 - 1:采购 -1:销售",
  23438. "type": "integer"
  23439. },
  23440. "convertfactor": {
  23441. "description": "标仓系数",
  23442. "type": "number"
  23443. },
  23444. "convertratio": {
  23445. "description": "折算系数(套保品种)",
  23446. "type": "number"
  23447. },
  23448. "curqty": {
  23449. "description": "今定价量",
  23450. "type": "number"
  23451. },
  23452. "deliverygoodscode": {
  23453. "description": "现货品种代码",
  23454. "type": "string"
  23455. },
  23456. "deliverygoodsid": {
  23457. "description": "现货品种id",
  23458. "type": "integer"
  23459. },
  23460. "deliverygoodsname": {
  23461. "description": "现货品种名称",
  23462. "type": "string"
  23463. },
  23464. "diffhedgeqty": {
  23465. "description": "套保变动量",
  23466. "type": "number"
  23467. },
  23468. "diffneedhedgeqty": {
  23469. "description": "应套保变动量",
  23470. "type": "number"
  23471. },
  23472. "diffqty": {
  23473. "description": "套保品种今变动量",
  23474. "type": "number"
  23475. },
  23476. "enumdicname": {
  23477. "description": "单位名称",
  23478. "type": "string"
  23479. },
  23480. "mgunitname": {
  23481. "description": "套保品种单位名称",
  23482. "type": "string"
  23483. },
  23484. "middlegoodscode": {
  23485. "description": "套保品种代码",
  23486. "type": "string"
  23487. },
  23488. "middlegoodsid": {
  23489. "description": "套保品种id",
  23490. "type": "integer"
  23491. },
  23492. "middlegoodsname": {
  23493. "description": "套保品种名称",
  23494. "type": "string"
  23495. },
  23496. "needarbitrageratio": {
  23497. "description": "应套利比例",
  23498. "type": "number"
  23499. },
  23500. "needhedgeratio": {
  23501. "description": "应套保比例",
  23502. "type": "number"
  23503. },
  23504. "pricedqty": {
  23505. "description": "已定价量",
  23506. "type": "number"
  23507. },
  23508. "qty": {
  23509. "description": "合同量",
  23510. "type": "number"
  23511. },
  23512. "reckondate": {
  23513. "description": "交易日(reckondate)",
  23514. "type": "string"
  23515. },
  23516. "selluserid": {
  23517. "description": "销售方id",
  23518. "type": "integer"
  23519. },
  23520. "sellusername": {
  23521. "description": "销售方名称",
  23522. "type": "string"
  23523. },
  23524. "spotcontractid": {
  23525. "description": "合同id",
  23526. "type": "string"
  23527. },
  23528. "todaypricedqty": {
  23529. "description": "今定价量",
  23530. "type": "number"
  23531. },
  23532. "tradedate": {
  23533. "description": "交易日",
  23534. "type": "string"
  23535. },
  23536. "unitid": {
  23537. "description": "品类单位id",
  23538. "type": "integer"
  23539. },
  23540. "userid": {
  23541. "description": "机构id",
  23542. "type": "integer"
  23543. },
  23544. "username": {
  23545. "description": "交易用户",
  23546. "type": "string"
  23547. },
  23548. "wrstandardcode": {
  23549. "description": "现货商品代码",
  23550. "type": "string"
  23551. },
  23552. "wrstandardid": {
  23553. "description": "现货商品id",
  23554. "type": "integer"
  23555. },
  23556. "wrstandardname": {
  23557. "description": "现货商品名称",
  23558. "type": "string"
  23559. }
  23560. }
  23561. },
  23562. "models.Ermcp3ExposureDetail": {
  23563. "type": "object",
  23564. "properties": {
  23565. "areauserid": {
  23566. "description": "机构ID",
  23567. "type": "integer"
  23568. },
  23569. "changeQty": {
  23570. "description": "套保变动量",
  23571. "type": "number"
  23572. },
  23573. "contracttype": {
  23574. "description": "现货合同类型 - 1:采购 -1:销售",
  23575. "type": "integer"
  23576. },
  23577. "convertfactor": {
  23578. "description": "标仓系数",
  23579. "type": "number"
  23580. },
  23581. "convertratio": {
  23582. "description": "折算系数",
  23583. "type": "number"
  23584. },
  23585. "createtime": {
  23586. "description": "时间",
  23587. "type": "string"
  23588. },
  23589. "enumdicname": {
  23590. "description": "现货商品单位名称",
  23591. "type": "string"
  23592. },
  23593. "logtype": {
  23594. "description": "类型 - 1:套保计划 2:现货合同",
  23595. "type": "integer"
  23596. },
  23597. "mgunitid": {
  23598. "description": "套保品种单位id",
  23599. "type": "integer"
  23600. },
  23601. "mgunitidname": {
  23602. "description": "套保品种单位名称",
  23603. "type": "string"
  23604. },
  23605. "middlegoodsId": {
  23606. "description": "套保商品id",
  23607. "type": "integer"
  23608. },
  23609. "middlegoodscode": {
  23610. "description": "套保商品代码",
  23611. "type": "string"
  23612. },
  23613. "middlegoodsname": {
  23614. "description": "套保商品名称",
  23615. "type": "string"
  23616. },
  23617. "qty": {
  23618. "description": "数量",
  23619. "type": "number"
  23620. },
  23621. "relateNo": {
  23622. "description": "现货合同/套保计划编号",
  23623. "type": "string"
  23624. },
  23625. "unitid": {
  23626. "description": "现货商品单位id",
  23627. "type": "integer"
  23628. },
  23629. "wrstandardcode": {
  23630. "description": "现货商品代码",
  23631. "type": "string"
  23632. },
  23633. "wrstandardid": {
  23634. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23635. "type": "integer"
  23636. },
  23637. "wrstandardname": {
  23638. "description": "现货商品名称",
  23639. "type": "string"
  23640. }
  23641. }
  23642. },
  23643. "models.Ermcp3ExposureFutuDetail": {
  23644. "type": "object",
  23645. "properties": {
  23646. "accountid": {
  23647. "description": "交易账户id",
  23648. "type": "integer"
  23649. },
  23650. "accountname": {
  23651. "description": "交易账户",
  23652. "type": "string"
  23653. },
  23654. "begindate": {
  23655. "description": "开始交易日",
  23656. "type": "string"
  23657. },
  23658. "buyorsell": {
  23659. "description": "方向 0-买 1-卖",
  23660. "type": "integer"
  23661. },
  23662. "diffmgqty": {
  23663. "description": "套保品种今变化量",
  23664. "type": "number"
  23665. },
  23666. "diffneedqty": {
  23667. "description": "应套保总量变化量",
  23668. "type": "number"
  23669. },
  23670. "difftradeqty": {
  23671. "description": "交易品种今变化量",
  23672. "type": "number"
  23673. },
  23674. "enddate": {
  23675. "description": "结束交易日",
  23676. "type": "string"
  23677. },
  23678. "enumdicname": {
  23679. "description": "单位名称",
  23680. "type": "string"
  23681. },
  23682. "goodscode": {
  23683. "description": "商品代码",
  23684. "type": "string"
  23685. },
  23686. "goodsid": {
  23687. "description": "商品id",
  23688. "type": "integer"
  23689. },
  23690. "goodsname": {
  23691. "description": "商品名称",
  23692. "type": "string"
  23693. },
  23694. "holdqty": {
  23695. "description": "期末持仓量",
  23696. "type": "number"
  23697. },
  23698. "middlegoodscode": {
  23699. "description": "套保商品代码",
  23700. "type": "string"
  23701. },
  23702. "middlegoodsid": {
  23703. "description": "套保商品id",
  23704. "type": "integer"
  23705. },
  23706. "middlegoodsname": {
  23707. "description": "套保商品名称",
  23708. "type": "string"
  23709. },
  23710. "oriholdqty": {
  23711. "description": "期初持仓量",
  23712. "type": "number"
  23713. },
  23714. "reckondate": {
  23715. "description": "交易日(RECKONDATE)",
  23716. "type": "string"
  23717. },
  23718. "todaycloseqty": {
  23719. "description": "今平仓量",
  23720. "type": "number"
  23721. },
  23722. "todayopenqty": {
  23723. "description": "今开仓量",
  23724. "type": "number"
  23725. },
  23726. "tradedate": {
  23727. "description": "交易日(RECKONDATE)",
  23728. "type": "string"
  23729. },
  23730. "username": {
  23731. "description": "用户名称(交易用户)",
  23732. "type": "string"
  23733. }
  23734. }
  23735. },
  23736. "models.Ermcp3ExposureHedgeplanDetail": {
  23737. "type": "object",
  23738. "properties": {
  23739. "biztype": {
  23740. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23741. "type": "integer"
  23742. },
  23743. "changqty": {
  23744. "description": "应套保总量变化量",
  23745. "type": "number"
  23746. },
  23747. "contracttype": {
  23748. "description": "计划类型 - 1:采购 -1:销售",
  23749. "type": "integer"
  23750. },
  23751. "convertratio": {
  23752. "description": "折算系数(套保品种)",
  23753. "type": "number"
  23754. },
  23755. "deliverygoodscode": {
  23756. "description": "现货商品代码",
  23757. "type": "string"
  23758. },
  23759. "deliverygoodsid": {
  23760. "description": "现货商品id",
  23761. "type": "integer"
  23762. },
  23763. "deliverygoodsname": {
  23764. "description": "现货商吕名称",
  23765. "type": "string"
  23766. },
  23767. "dgunitid": {
  23768. "description": "现货商品单位id",
  23769. "type": "integer"
  23770. },
  23771. "dgunitidname": {
  23772. "description": "单位名称(现货商品)",
  23773. "type": "string"
  23774. },
  23775. "diffqty": {
  23776. "description": "套保品种今变动量",
  23777. "type": "number"
  23778. },
  23779. "enumdicname": {
  23780. "description": "单位名称(品类)",
  23781. "type": "string"
  23782. },
  23783. "hedgeplanid": {
  23784. "description": "套保计划id",
  23785. "type": "string"
  23786. },
  23787. "hedgeplanno": {
  23788. "description": "套保计划名称",
  23789. "type": "string"
  23790. },
  23791. "hedgeplanstatus": {
  23792. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23793. "type": "integer"
  23794. },
  23795. "mgunitidname": {
  23796. "description": "单位名称(套保商品)",
  23797. "type": "string"
  23798. },
  23799. "middlegoodscode": {
  23800. "description": "套保品种代码",
  23801. "type": "string"
  23802. },
  23803. "middlegoodsid": {
  23804. "description": "套保品种id",
  23805. "type": "integer"
  23806. },
  23807. "middlegoodsname": {
  23808. "description": "套保品种名称",
  23809. "type": "string"
  23810. },
  23811. "needarbitrageratio": {
  23812. "description": "应套利比例",
  23813. "type": "number"
  23814. },
  23815. "needhedgeratio": {
  23816. "description": "应套保比例",
  23817. "type": "number"
  23818. },
  23819. "pricedqty": {
  23820. "description": "已定价量",
  23821. "type": "number"
  23822. },
  23823. "qty": {
  23824. "description": "合同量",
  23825. "type": "number"
  23826. },
  23827. "reckondate": {
  23828. "description": "交易日(reckondate)",
  23829. "type": "string"
  23830. },
  23831. "tradedate": {
  23832. "description": "交易日(登记日)",
  23833. "type": "string"
  23834. },
  23835. "unitid": {
  23836. "description": "品类单位id",
  23837. "type": "integer"
  23838. },
  23839. "userid": {
  23840. "description": "机构id",
  23841. "type": "integer"
  23842. },
  23843. "wrstandardcode": {
  23844. "description": "品类代码",
  23845. "type": "string"
  23846. },
  23847. "wrstandardid": {
  23848. "description": "品类id",
  23849. "type": "integer"
  23850. },
  23851. "wrstandardname": {
  23852. "description": "品类名称",
  23853. "type": "string"
  23854. }
  23855. }
  23856. },
  23857. "models.Ermcp3ExposureParamChLog": {
  23858. "type": "object",
  23859. "properties": {
  23860. "accountid": {
  23861. "description": "期货账户ID (作废, 默认为0)",
  23862. "type": "integer"
  23863. },
  23864. "aftervalue": {
  23865. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23866. "type": "number"
  23867. },
  23868. "areauserid": {
  23869. "description": "所属机构\\交易用户ID",
  23870. "type": "integer"
  23871. },
  23872. "beforevalue": {
  23873. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23874. "type": "number"
  23875. },
  23876. "begindate": {
  23877. "description": "开始交易日",
  23878. "type": "string"
  23879. },
  23880. "changelogtype": {
  23881. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23882. "type": "integer"
  23883. },
  23884. "curvalue": {
  23885. "description": "当前套保\\套利量(套保总量|套利总量)",
  23886. "type": "number"
  23887. },
  23888. "diffvalue": {
  23889. "description": "应套保总量变化量",
  23890. "type": "number"
  23891. },
  23892. "enddate": {
  23893. "description": "结束交易日",
  23894. "type": "string"
  23895. },
  23896. "logdatetime": {
  23897. "description": "流水日期",
  23898. "type": "string"
  23899. },
  23900. "logid": {
  23901. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23902. "type": "string"
  23903. },
  23904. "middlegoodscode": {
  23905. "description": "套保品种代码",
  23906. "type": "string"
  23907. },
  23908. "middlegoodsid": {
  23909. "description": "套保品种",
  23910. "type": "integer"
  23911. },
  23912. "middlegoodsname": {
  23913. "description": "套保品种名称",
  23914. "type": "string"
  23915. },
  23916. "paramaftervalue": {
  23917. "description": "参数变更后(调整后参数值)",
  23918. "type": "number"
  23919. },
  23920. "parambeforevalue": {
  23921. "description": "参数变更前(调整前参数值)",
  23922. "type": "number"
  23923. },
  23924. "reckondate": {
  23925. "description": "交易日(reckondate)",
  23926. "type": "string"
  23927. },
  23928. "tradedate": {
  23929. "description": "交易日(yyyyMMdd)",
  23930. "type": "string"
  23931. }
  23932. }
  23933. },
  23934. "models.Ermcp3ExpourseReport": {
  23935. "type": "object",
  23936. "properties": {
  23937. "accountid": {
  23938. "description": "期货账户ID (作废, 默认为0)",
  23939. "type": "integer"
  23940. },
  23941. "accountname": {
  23942. "description": "机构名称",
  23943. "type": "string"
  23944. },
  23945. "arbitrageqty": {
  23946. "description": "套利量",
  23947. "type": "number"
  23948. },
  23949. "areauserid": {
  23950. "description": "所属机构\\交易用户ID",
  23951. "type": "integer"
  23952. },
  23953. "begindate": {
  23954. "description": "开始交易日",
  23955. "type": "string"
  23956. },
  23957. "buyfutureqty": {
  23958. "description": "买入期货数量",
  23959. "type": "number"
  23960. },
  23961. "buyplanqty": {
  23962. "description": "采购计划数量",
  23963. "type": "number"
  23964. },
  23965. "buypricedqty": {
  23966. "description": "采购合同已定价数量",
  23967. "type": "number"
  23968. },
  23969. "cycletime": {
  23970. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23971. "type": "string"
  23972. },
  23973. "cycletype": {
  23974. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23975. "type": "integer"
  23976. },
  23977. "diffexposure": {
  23978. "description": "变动量(套保敞口)",
  23979. "type": "number"
  23980. },
  23981. "difffutuqty": {
  23982. "description": "变动量(期货)",
  23983. "type": "number"
  23984. },
  23985. "diffhedgeqty": {
  23986. "description": "变动量(现货应套保总量)",
  23987. "type": "number"
  23988. },
  23989. "diffmgqtya": {
  23990. "description": "套保变动量",
  23991. "type": "number"
  23992. },
  23993. "diffmgqtyb": {
  23994. "description": "套利变动量",
  23995. "type": "number"
  23996. },
  23997. "diffneedqty": {
  23998. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23999. "type": "number"
  24000. },
  24001. "diffqty": {
  24002. "description": "变动量(总敞口)",
  24003. "type": "number"
  24004. },
  24005. "diffspotqty": {
  24006. "description": "变动量(现货) | 除税变动量",
  24007. "type": "number"
  24008. },
  24009. "enddate": {
  24010. "description": "结束交易日",
  24011. "type": "string"
  24012. },
  24013. "enumdicname": {
  24014. "description": "单位名称",
  24015. "type": "string"
  24016. },
  24017. "hedgeqty": {
  24018. "description": "套保量",
  24019. "type": "number"
  24020. },
  24021. "mgneedhedgeratio": {
  24022. "description": "套保比例(套保品的)",
  24023. "type": "number"
  24024. },
  24025. "middlegoodsid": {
  24026. "description": "套保品种ID",
  24027. "type": "integer"
  24028. },
  24029. "middlegoodsname": {
  24030. "description": "套保商品名称",
  24031. "type": "string"
  24032. },
  24033. "middlgoodscode": {
  24034. "description": "套保商品代码",
  24035. "type": "string"
  24036. },
  24037. "needarbitrageqty": {
  24038. "description": "应套利量",
  24039. "type": "number"
  24040. },
  24041. "needarbitrageratio": {
  24042. "description": "套利比例(套保品的)",
  24043. "type": "number"
  24044. },
  24045. "needhedgeexposoure": {
  24046. "description": "应套保敞口(套保敞口)",
  24047. "type": "number"
  24048. },
  24049. "needhedgeqty": {
  24050. "description": "应套保量",
  24051. "type": "number"
  24052. },
  24053. "needhedgeratio": {
  24054. "description": "应套保敞口比例",
  24055. "type": "number"
  24056. },
  24057. "needqty": {
  24058. "description": "应套总量 = 应套保量 + 应套利量",
  24059. "type": "number"
  24060. },
  24061. "oriarbitrageqty": {
  24062. "description": "期初套利量",
  24063. "type": "number"
  24064. },
  24065. "oribuyfutureqty": {
  24066. "description": "期初买入期货数量",
  24067. "type": "number"
  24068. },
  24069. "oribuyplanqty": {
  24070. "description": "期初采购计划数量",
  24071. "type": "number"
  24072. },
  24073. "oribuypricedqty": {
  24074. "description": "期初采购合同已定价数量",
  24075. "type": "number"
  24076. },
  24077. "orihedgeqty": {
  24078. "description": "期初套保量",
  24079. "type": "number"
  24080. },
  24081. "orineedarbitrageqty": {
  24082. "description": "期初应套利量",
  24083. "type": "number"
  24084. },
  24085. "orineedhedgeexposoure": {
  24086. "description": "期初应套保敞口",
  24087. "type": "number"
  24088. },
  24089. "orineedhedgeqty": {
  24090. "description": "期初应套保量",
  24091. "type": "number"
  24092. },
  24093. "orisellfutureqty": {
  24094. "description": "期初卖出期货数量",
  24095. "type": "number"
  24096. },
  24097. "orisellplanqty": {
  24098. "description": "期初销售计划数量",
  24099. "type": "number"
  24100. },
  24101. "orisellpricedqty": {
  24102. "description": "期初销售合同已定价数量",
  24103. "type": "number"
  24104. },
  24105. "oritotalexposure": {
  24106. "description": "期初实时总敞口",
  24107. "type": "number"
  24108. },
  24109. "oritotalfutureqty": {
  24110. "description": "期初期货头寸总量",
  24111. "type": "number"
  24112. },
  24113. "oritotalneedhedgeqty": {
  24114. "description": "期初应套保总量",
  24115. "type": "number"
  24116. },
  24117. "oritotalspotqty": {
  24118. "description": "期初现货头寸总量",
  24119. "type": "number"
  24120. },
  24121. "reckondate": {
  24122. "description": "日照时期(yyyyMMdd)",
  24123. "type": "string"
  24124. },
  24125. "sellfutureqty": {
  24126. "description": "卖出期货数量",
  24127. "type": "number"
  24128. },
  24129. "sellplanqty": {
  24130. "description": "销售计划数量",
  24131. "type": "number"
  24132. },
  24133. "sellpricedqty": {
  24134. "description": "销售合同已定价数量",
  24135. "type": "number"
  24136. },
  24137. "totalexposure": {
  24138. "description": "实时总敞口(总敞口)",
  24139. "type": "number"
  24140. },
  24141. "totalfutureqty": {
  24142. "description": "期货头寸总量(期货总量)",
  24143. "type": "number"
  24144. },
  24145. "totalhedgeratio": {
  24146. "description": "敞口比例",
  24147. "type": "number"
  24148. },
  24149. "totalneedhedgeqty": {
  24150. "description": "应套保总量(现货应套保总量)",
  24151. "type": "number"
  24152. },
  24153. "totalspotqty": {
  24154. "description": "现货头寸总量 | 除税总量",
  24155. "type": "number"
  24156. },
  24157. "unitid": {
  24158. "description": "单位id",
  24159. "type": "integer"
  24160. },
  24161. "updatetime": {
  24162. "description": "更新时间",
  24163. "type": "string"
  24164. }
  24165. }
  24166. },
  24167. "models.Ermcp3FinanceReport": {
  24168. "type": "object",
  24169. "properties": {
  24170. "accountname": {
  24171. "description": "机构名称",
  24172. "type": "string"
  24173. },
  24174. "areauserid": {
  24175. "description": "所属机构\\交易用户ID",
  24176. "type": "integer"
  24177. },
  24178. "begindate": {
  24179. "description": "开始交易日",
  24180. "type": "string"
  24181. },
  24182. "biztype": {
  24183. "description": "业务类型 - 1:套保 2:套利",
  24184. "type": "integer"
  24185. },
  24186. "brandname": {
  24187. "description": "品牌名称",
  24188. "type": "string"
  24189. },
  24190. "buypreinvoicedamount": {
  24191. "description": "采购预收票额(预收票额)",
  24192. "type": "number"
  24193. },
  24194. "buyprepaidamount": {
  24195. "description": "采购预付款额(预付货款额)",
  24196. "type": "number"
  24197. },
  24198. "buytodayinvoiceamount": {
  24199. "description": "采购今收票额(今收票额)",
  24200. "type": "number"
  24201. },
  24202. "buytodayrefundamount": {
  24203. "description": "采购今收退款额(今收退款额)",
  24204. "type": "number"
  24205. },
  24206. "buytodaysettleamount": {
  24207. "description": "采购今付款额(今付货款额)",
  24208. "type": "number"
  24209. },
  24210. "buyuninvoicedamount": {
  24211. "description": "采购应收票额(应收票额)",
  24212. "type": "number"
  24213. },
  24214. "buyunpaidamount": {
  24215. "description": "采购应付款额(应付货款额)",
  24216. "type": "number"
  24217. },
  24218. "currencyid": {
  24219. "description": "结算币种ID",
  24220. "type": "integer"
  24221. },
  24222. "currencyname": {
  24223. "description": "币种名称",
  24224. "type": "string"
  24225. },
  24226. "cycletime": {
  24227. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24228. "type": "string"
  24229. },
  24230. "cycletype": {
  24231. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24232. "type": "integer"
  24233. },
  24234. "deliverygoodscode": {
  24235. "description": "现货品种代码",
  24236. "type": "string"
  24237. },
  24238. "deliverygoodsid": {
  24239. "description": "现货品种ID",
  24240. "type": "integer"
  24241. },
  24242. "deliverygoodsname": {
  24243. "description": "现货品种名称",
  24244. "type": "string"
  24245. },
  24246. "enddate": {
  24247. "description": "结束交易日",
  24248. "type": "string"
  24249. },
  24250. "reckondate": {
  24251. "description": "日照时期(yyyyMMdd)",
  24252. "type": "string"
  24253. },
  24254. "sellpreinvoicedamount": {
  24255. "description": "销售预开票额(预开票额)",
  24256. "type": "number"
  24257. },
  24258. "sellprepaidamount": {
  24259. "description": "销售预收款额(预收货款额)",
  24260. "type": "number"
  24261. },
  24262. "selltodayinvoiceamount": {
  24263. "description": "销售今开票额(今开票额)",
  24264. "type": "number"
  24265. },
  24266. "selltodayrefundamount": {
  24267. "description": "销售今付退款额(今付退款额)",
  24268. "type": "number"
  24269. },
  24270. "selltodaysettleamount": {
  24271. "description": "销售今收款额(今收货款额)",
  24272. "type": "number"
  24273. },
  24274. "selluninvoicedamount": {
  24275. "description": "销售应开票额(应开票额)",
  24276. "type": "number"
  24277. },
  24278. "sellunpaidamount": {
  24279. "description": "销售应收款额(应收货款额)",
  24280. "type": "number"
  24281. },
  24282. "spotgoodsbrandid": {
  24283. "description": "现货品牌ID",
  24284. "type": "integer"
  24285. },
  24286. "todaypaysum": {
  24287. "description": "今付款合计",
  24288. "type": "number"
  24289. },
  24290. "todayreceivesum": {
  24291. "description": "今收款合计",
  24292. "type": "number"
  24293. },
  24294. "updatetime": {
  24295. "description": "更新时间",
  24296. "type": "string"
  24297. },
  24298. "wrfactortypeid": {
  24299. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24300. "type": "integer"
  24301. },
  24302. "wrstandardcode": {
  24303. "description": "品类代码",
  24304. "type": "string"
  24305. },
  24306. "wrstandardid": {
  24307. "description": "现货商品ID",
  24308. "type": "integer"
  24309. },
  24310. "wrstandardname": {
  24311. "description": "品类名称",
  24312. "type": "string"
  24313. }
  24314. }
  24315. },
  24316. "models.Ermcp3GoodsGroup": {
  24317. "type": "object",
  24318. "required": [
  24319. "areauserid"
  24320. ],
  24321. "properties": {
  24322. "agreeunit": {
  24323. "description": "合约单位",
  24324. "type": "number"
  24325. },
  24326. "areauserid": {
  24327. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24328. "type": "integer"
  24329. },
  24330. "canshort": {
  24331. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24332. "type": "integer"
  24333. },
  24334. "closepricemode": {
  24335. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24336. "type": "integer"
  24337. },
  24338. "createtime": {
  24339. "description": "创建时间",
  24340. "type": "string"
  24341. },
  24342. "creatorid": {
  24343. "description": "创建人",
  24344. "type": "integer"
  24345. },
  24346. "currencyid": {
  24347. "description": "报价货币ID",
  24348. "type": "integer"
  24349. },
  24350. "decimalplace": {
  24351. "description": "报价小数位",
  24352. "type": "integer"
  24353. },
  24354. "enumdicname": {
  24355. "description": "单位名称",
  24356. "type": "string"
  24357. },
  24358. "exchangefullname": {
  24359. "description": "交易所全称",
  24360. "type": "string"
  24361. },
  24362. "excludecfg": {
  24363. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24364. "type": "integer"
  24365. },
  24366. "exexchangecode": {
  24367. "description": "交易所代码",
  24368. "type": "string"
  24369. },
  24370. "exexchangeid": {
  24371. "description": "外部交易所ID[通道交易]",
  24372. "type": "integer"
  24373. },
  24374. "exexchangename": {
  24375. "description": "交易所名称",
  24376. "type": "string"
  24377. },
  24378. "goodsgroupid": {
  24379. "description": "商品组ID(自增ID)",
  24380. "type": "integer"
  24381. },
  24382. "goodsgroupname": {
  24383. "description": "商品组名称",
  24384. "type": "string"
  24385. },
  24386. "goodsgroupstatus": {
  24387. "description": "商品组状态 - 1:正常 2:注销",
  24388. "type": "integer"
  24389. },
  24390. "goodunitid": {
  24391. "description": "报价单位ID",
  24392. "type": "integer"
  24393. },
  24394. "groupcategroyid": {
  24395. "description": "品种分类ID",
  24396. "type": "integer"
  24397. },
  24398. "innerdealmode": {
  24399. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24400. "type": "integer"
  24401. },
  24402. "marketid": {
  24403. "description": "所属市场ID",
  24404. "type": "integer"
  24405. },
  24406. "modifierid": {
  24407. "description": "修改人",
  24408. "type": "integer"
  24409. },
  24410. "modifytime": {
  24411. "description": "修改时间",
  24412. "type": "string"
  24413. },
  24414. "outerdealmode": {
  24415. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24416. "type": "integer"
  24417. },
  24418. "outergroupcode": {
  24419. "description": "外部商品组代码[通道交易]",
  24420. "type": "string"
  24421. },
  24422. "quoteminunit": {
  24423. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24424. "type": "integer"
  24425. },
  24426. "quotesourcegroupid": {
  24427. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24428. "type": "integer"
  24429. },
  24430. "syncgoodsqty": {
  24431. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24432. "type": "integer"
  24433. }
  24434. }
  24435. },
  24436. "models.Ermcp3HPMiddleGoods": {
  24437. "type": "object",
  24438. "properties": {
  24439. "biztype": {
  24440. "description": "业务类型 1:套保 2:套利",
  24441. "type": "integer"
  24442. },
  24443. "contracttype": {
  24444. "description": "合同类型 1:采购 -1:销售",
  24445. "type": "integer"
  24446. },
  24447. "convertratio": {
  24448. "description": "折算系数",
  24449. "type": "number"
  24450. },
  24451. "customername": {
  24452. "description": "对手手名称",
  24453. "type": "string"
  24454. },
  24455. "customeruserid": {
  24456. "description": "对手id",
  24457. "type": "integer"
  24458. },
  24459. "enumdicname": {
  24460. "description": "现货单位名称",
  24461. "type": "string"
  24462. },
  24463. "hedgeplanid": {
  24464. "description": "计划id",
  24465. "type": "string"
  24466. },
  24467. "hedgeplanno": {
  24468. "description": "计划编号",
  24469. "type": "string"
  24470. },
  24471. "middlegoodsid": {
  24472. "description": "套保品种ID",
  24473. "type": "integer"
  24474. },
  24475. "middlegoodsplanqty3": {
  24476. "description": "应套保计划量",
  24477. "type": "number"
  24478. },
  24479. "needhedgeratio": {
  24480. "description": "套保比例",
  24481. "type": "number"
  24482. },
  24483. "pricedqty": {
  24484. "description": "已定价量",
  24485. "type": "number"
  24486. },
  24487. "relatedmiddlegoodsqty": {
  24488. "description": "已关联量(套保品种)(期货)",
  24489. "type": "number"
  24490. },
  24491. "unitid": {
  24492. "description": "现货单位id",
  24493. "type": "integer"
  24494. },
  24495. "userid": {
  24496. "description": "用户id",
  24497. "type": "integer"
  24498. },
  24499. "vatrate": {
  24500. "description": "增值税率",
  24501. "type": "number"
  24502. },
  24503. "wrstandardcode": {
  24504. "description": "现货商品代码",
  24505. "type": "string"
  24506. },
  24507. "wrstandardid": {
  24508. "description": "现货商品id",
  24509. "type": "integer"
  24510. },
  24511. "wrstandardname": {
  24512. "description": "现货商品名称",
  24513. "type": "string"
  24514. }
  24515. }
  24516. },
  24517. "models.Ermcp3HedgePlan": {
  24518. "type": "object",
  24519. "properties": {
  24520. "accountid": {
  24521. "description": "资金账号",
  24522. "type": "integer"
  24523. },
  24524. "areauserid": {
  24525. "description": "用户ID",
  24526. "type": "integer"
  24527. },
  24528. "auditid": {
  24529. "description": "审核id",
  24530. "type": "integer"
  24531. },
  24532. "auditname": {
  24533. "description": "审核人名称",
  24534. "type": "string"
  24535. },
  24536. "auditremark": {
  24537. "description": "审核备注",
  24538. "type": "string"
  24539. },
  24540. "auditsrc": {
  24541. "description": "审核来源 1-管理端 2-终端",
  24542. "type": "integer"
  24543. },
  24544. "audittime": {
  24545. "description": "审核时间",
  24546. "type": "string"
  24547. },
  24548. "contracttype": {
  24549. "description": "计划类型 - 1:采购 -1:销售",
  24550. "type": "integer"
  24551. },
  24552. "convertfactor": {
  24553. "description": "标仓系数",
  24554. "type": "number"
  24555. },
  24556. "createtime": {
  24557. "description": "创建时间",
  24558. "type": "string"
  24559. },
  24560. "currencyid": {
  24561. "description": "币种id",
  24562. "type": "integer"
  24563. },
  24564. "currencyname": {
  24565. "description": "币种名称",
  24566. "type": "string"
  24567. },
  24568. "deliverygoodscode": {
  24569. "description": "现货品种代码",
  24570. "type": "string"
  24571. },
  24572. "deliverygoodsid": {
  24573. "description": "现货品种ID",
  24574. "type": "integer"
  24575. },
  24576. "deliverygoodsname": {
  24577. "description": "现货品种名称",
  24578. "type": "string"
  24579. },
  24580. "enumdicname": {
  24581. "description": "单位名称(现货商品)",
  24582. "type": "string"
  24583. },
  24584. "hedgeplanid": {
  24585. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24586. "type": "string"
  24587. },
  24588. "hedgeplanno": {
  24589. "description": "套保计划编号(名称)",
  24590. "type": "string"
  24591. },
  24592. "hedgeplanstatus": {
  24593. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24594. "type": "integer"
  24595. },
  24596. "planqty": {
  24597. "description": "计划数量",
  24598. "type": "number"
  24599. },
  24600. "plantime": {
  24601. "description": "计划时间",
  24602. "type": "string"
  24603. },
  24604. "producttype": {
  24605. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24606. "type": "integer"
  24607. },
  24608. "remark": {
  24609. "description": "备注",
  24610. "type": "string"
  24611. },
  24612. "spotgoodsdesc": {
  24613. "description": "商品型号",
  24614. "type": "string"
  24615. },
  24616. "taaccountname": {
  24617. "description": "资金账号名称",
  24618. "type": "string"
  24619. },
  24620. "tradeuserid": {
  24621. "description": "交易用户id",
  24622. "type": "integer"
  24623. },
  24624. "tradeusername": {
  24625. "description": "交易用户名称",
  24626. "type": "string"
  24627. },
  24628. "unitid": {
  24629. "description": "单位id(现货商品)",
  24630. "type": "integer"
  24631. },
  24632. "updatetime": {
  24633. "description": "更新时间",
  24634. "type": "string"
  24635. },
  24636. "vatrate": {
  24637. "description": "增值税率",
  24638. "type": "number"
  24639. },
  24640. "wrstandardcode": {
  24641. "description": "品类代码",
  24642. "type": "string"
  24643. },
  24644. "wrstandardid": {
  24645. "description": "品类id",
  24646. "type": "integer"
  24647. },
  24648. "wrstandardname": {
  24649. "description": "品类名称",
  24650. "type": "string"
  24651. },
  24652. "wrunitid": {
  24653. "description": "品类单位id",
  24654. "type": "integer"
  24655. },
  24656. "wrunitidame": {
  24657. "description": "品类单位名称",
  24658. "type": "string"
  24659. }
  24660. }
  24661. },
  24662. "models.Ermcp3InnerTradeLink": {
  24663. "type": "object",
  24664. "properties": {
  24665. "accountid": {
  24666. "description": "期货账号代码 | 资金账号ID",
  24667. "type": "integer"
  24668. },
  24669. "buyorsell": {
  24670. "description": "方向 - 0:买 1:卖",
  24671. "type": "integer"
  24672. },
  24673. "channelbuildtype": {
  24674. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24675. "type": "integer"
  24676. },
  24677. "currencyid": {
  24678. "description": "币种id",
  24679. "type": "integer"
  24680. },
  24681. "currencyname": {
  24682. "description": "结算币种 名称",
  24683. "type": "string"
  24684. },
  24685. "goodscode": {
  24686. "description": "商品代码",
  24687. "type": "string"
  24688. },
  24689. "goodsid": {
  24690. "description": "商品ID",
  24691. "type": "integer"
  24692. },
  24693. "goodsname": {
  24694. "description": "商品名称",
  24695. "type": "string"
  24696. },
  24697. "outtradeid": {
  24698. "description": "外部成交单号",
  24699. "type": "string"
  24700. },
  24701. "taname": {
  24702. "description": "期货账户名称",
  24703. "type": "string"
  24704. },
  24705. "tradeid": {
  24706. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24707. "type": "string"
  24708. },
  24709. "tradeprice": {
  24710. "description": "成交价格",
  24711. "type": "number"
  24712. },
  24713. "tradeqty": {
  24714. "description": "期货成交数量",
  24715. "type": "integer"
  24716. },
  24717. "tradetime": {
  24718. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24719. "type": "string"
  24720. },
  24721. "username": {
  24722. "description": "用户名称",
  24723. "type": "string"
  24724. }
  24725. }
  24726. },
  24727. "models.Ermcp3OutTradeLink": {
  24728. "type": "object",
  24729. "properties": {
  24730. "buyorsell": {
  24731. "description": "买卖方向 - 0:买 1:卖",
  24732. "type": "integer"
  24733. },
  24734. "channelbuildtype": {
  24735. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24736. "type": "integer"
  24737. },
  24738. "currencyname": {
  24739. "description": "币种名称",
  24740. "type": "string"
  24741. },
  24742. "exexchangecode": {
  24743. "description": "交易所代码",
  24744. "type": "string"
  24745. },
  24746. "exexchangename": {
  24747. "description": "交易所名称",
  24748. "type": "string"
  24749. },
  24750. "goodscode": {
  24751. "description": "合约代码",
  24752. "type": "string"
  24753. },
  24754. "goodsid": {
  24755. "description": "合约id",
  24756. "type": "integer"
  24757. },
  24758. "goodsname": {
  24759. "description": "合约名称",
  24760. "type": "string"
  24761. },
  24762. "hasinnerorder": {
  24763. "description": "是否有内部单关联 - 0:无 1:有",
  24764. "type": "integer"
  24765. },
  24766. "hedgeaccountcode": {
  24767. "description": "外部账号 | 对冲账号",
  24768. "type": "string"
  24769. },
  24770. "outtradeid": {
  24771. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24772. "type": "string"
  24773. },
  24774. "tradeprice": {
  24775. "description": "成交价格",
  24776. "type": "number"
  24777. },
  24778. "tradeqty": {
  24779. "description": "成交数量",
  24780. "type": "integer"
  24781. },
  24782. "tradetime": {
  24783. "description": "成交时间",
  24784. "type": "string"
  24785. }
  24786. }
  24787. },
  24788. "models.Ermcp3PaAreaAuditCfg": {
  24789. "type": "object",
  24790. "properties": {
  24791. "areauserid": {
  24792. "description": "用户ID",
  24793. "type": "integer"
  24794. },
  24795. "buyinauditflag": {
  24796. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24797. "type": "integer"
  24798. },
  24799. "costratioauditflag": {
  24800. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24801. "type": "integer"
  24802. },
  24803. "customerauditflag": {
  24804. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24805. "type": "integer"
  24806. },
  24807. "deliveryauditflag": {
  24808. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24809. "type": "integer"
  24810. },
  24811. "invoiceauditflag": {
  24812. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24813. "type": "integer"
  24814. },
  24815. "mgneedhedgeratioauditflag": {
  24816. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24817. "type": "integer"
  24818. },
  24819. "moneyauditflag": {
  24820. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24821. "type": "integer"
  24822. },
  24823. "operatorid": {
  24824. "description": "操作人",
  24825. "type": "integer"
  24826. },
  24827. "operatorsrc": {
  24828. "description": "操作来源 - 1:管理端 2:终端",
  24829. "type": "integer"
  24830. },
  24831. "pointpriceauditflag": {
  24832. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24833. "type": "integer"
  24834. },
  24835. "produceinauditflag": {
  24836. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24837. "type": "integer"
  24838. },
  24839. "produceoutauditflag": {
  24840. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24841. "type": "integer"
  24842. },
  24843. "selloutauditflag": {
  24844. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24845. "type": "integer"
  24846. },
  24847. "sgconvertratioauditflag": {
  24848. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24849. "type": "integer"
  24850. },
  24851. "sgvtaratioauditflag": {
  24852. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24853. "type": "integer"
  24854. },
  24855. "spotcontractauditflag": {
  24856. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24857. "type": "integer"
  24858. },
  24859. "updatetime": {
  24860. "description": "更新时间",
  24861. "type": "string"
  24862. }
  24863. }
  24864. },
  24865. "models.Ermcp3PaAreaSubject": {
  24866. "type": "object",
  24867. "properties": {
  24868. "areauserid": {
  24869. "description": "所属机构",
  24870. "type": "integer"
  24871. },
  24872. "canmodify": {
  24873. "description": "是否可修改 - 0:否 1:是",
  24874. "type": "integer"
  24875. },
  24876. "createtime": {
  24877. "description": "创建时间",
  24878. "type": "string"
  24879. },
  24880. "creatorid": {
  24881. "description": "创建人ID",
  24882. "type": "string"
  24883. },
  24884. "creatorsrc": {
  24885. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24886. "type": "integer"
  24887. },
  24888. "modifierid": {
  24889. "description": "修改人",
  24890. "type": "string"
  24891. },
  24892. "modifiersrc": {
  24893. "description": "修改人来源 - 1:管理端 2:终端",
  24894. "type": "integer"
  24895. },
  24896. "modifytime": {
  24897. "description": "修改时间",
  24898. "type": "string"
  24899. },
  24900. "parentsubjectid": {
  24901. "description": "上级主体ID",
  24902. "type": "string"
  24903. },
  24904. "remark": {
  24905. "description": "备注",
  24906. "type": "string"
  24907. },
  24908. "subjectid": {
  24909. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24910. "type": "integer"
  24911. },
  24912. "subjectname": {
  24913. "description": "主体名称",
  24914. "type": "string"
  24915. },
  24916. "subjectstatus": {
  24917. "description": "主体状态 - 1:正常 2: 停用",
  24918. "type": "integer"
  24919. },
  24920. "subjecttype": {
  24921. "description": "主体类型 - 1:交易主体 2:业务部门",
  24922. "type": "integer"
  24923. }
  24924. }
  24925. },
  24926. "models.Ermcp3PaTradeLink": {
  24927. "type": "object",
  24928. "properties": {
  24929. "accountid": {
  24930. "description": "期货账户代码 | 账号ID",
  24931. "type": "integer"
  24932. },
  24933. "agreeunit": {
  24934. "description": "合约乘数",
  24935. "type": "number"
  24936. },
  24937. "buyorsell": {
  24938. "description": "方向 - 0:买 1:卖",
  24939. "type": "integer"
  24940. },
  24941. "channelbuildtype": {
  24942. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24943. "type": "integer"
  24944. },
  24945. "charge": {
  24946. "description": "手续费",
  24947. "type": "number"
  24948. },
  24949. "closepl": {
  24950. "description": "平仓盈亏",
  24951. "type": "number"
  24952. },
  24953. "closetype": {
  24954. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24955. "type": "integer"
  24956. },
  24957. "convertratio": {
  24958. "description": "折算系数",
  24959. "type": "number"
  24960. },
  24961. "enumdicname": {
  24962. "description": "单位名称",
  24963. "type": "string"
  24964. },
  24965. "executeprice": {
  24966. "description": "执行价 [期权]",
  24967. "type": "integer"
  24968. },
  24969. "goodscode": {
  24970. "description": "合约代码",
  24971. "type": "string"
  24972. },
  24973. "goodsgroupid": {
  24974. "description": "对冲品种ID[期货合约商品组ID]",
  24975. "type": "integer"
  24976. },
  24977. "goodsid": {
  24978. "description": "商品ID",
  24979. "type": "integer"
  24980. },
  24981. "goodsname": {
  24982. "description": "合约名称",
  24983. "type": "string"
  24984. },
  24985. "goodunitid": {
  24986. "description": "单位id",
  24987. "type": "integer"
  24988. },
  24989. "hedgeflag": {
  24990. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24991. "type": "integer"
  24992. },
  24993. "marketid": {
  24994. "description": "市场ID",
  24995. "type": "integer"
  24996. },
  24997. "middlegoodsid": {
  24998. "description": "套保品种ID",
  24999. "type": "integer"
  25000. },
  25001. "middlegoodsqty": {
  25002. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25003. "type": "number"
  25004. },
  25005. "optioncode": {
  25006. "description": "期权代码 [期权]",
  25007. "type": "string"
  25008. },
  25009. "ordertype": {
  25010. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25011. "type": "integer"
  25012. },
  25013. "ordertypename": {
  25014. "description": "订单类型",
  25015. "type": "string"
  25016. },
  25017. "parentaccountid": {
  25018. "description": "所属母账户",
  25019. "type": "integer"
  25020. },
  25021. "premium": {
  25022. "description": "权利金 [期权]",
  25023. "type": "number"
  25024. },
  25025. "relatedlot": {
  25026. "description": "已关联数量(已关联数量手) | db:关联手数",
  25027. "type": "number"
  25028. },
  25029. "relatedouttradeid": {
  25030. "description": "关联外部成交单ID",
  25031. "type": "string"
  25032. },
  25033. "relatedqty": {
  25034. "description": "关联数量",
  25035. "type": "number"
  25036. },
  25037. "spotcontractid": {
  25038. "description": "现货合同ID [4:套期保值\\10\\11]",
  25039. "type": "string"
  25040. },
  25041. "taname": {
  25042. "description": "期货账户名称",
  25043. "type": "string"
  25044. },
  25045. "tradeamount": {
  25046. "description": "成交金额(账户)",
  25047. "type": "number"
  25048. },
  25049. "tradedate": {
  25050. "description": "交易日(yyyyMMdd)",
  25051. "type": "string"
  25052. },
  25053. "tradeid": {
  25054. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25055. "type": "string"
  25056. },
  25057. "tradelot": {
  25058. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25059. "type": "integer"
  25060. },
  25061. "tradeprice": {
  25062. "description": "成交价格",
  25063. "type": "number"
  25064. },
  25065. "tradetime": {
  25066. "description": "时间 | db:成交时间",
  25067. "type": "string"
  25068. },
  25069. "tradetype": {
  25070. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25071. "type": "integer"
  25072. },
  25073. "userid": {
  25074. "description": "所属机构 - 所属母账户的UserID",
  25075. "type": "string"
  25076. },
  25077. "username": {
  25078. "description": "用户名称",
  25079. "type": "string"
  25080. }
  25081. }
  25082. },
  25083. "models.Ermcp3ParamChangeApp": {
  25084. "type": "object",
  25085. "properties": {
  25086. "aftervalue": {
  25087. "description": "变更后",
  25088. "type": "number"
  25089. },
  25090. "applicationid": {
  25091. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25092. "type": "string"
  25093. },
  25094. "applyid": {
  25095. "description": "申请人",
  25096. "type": "string"
  25097. },
  25098. "applyname": {
  25099. "description": "申请人名称(代码)",
  25100. "type": "string"
  25101. },
  25102. "applyremark": {
  25103. "description": "申请备注",
  25104. "type": "string"
  25105. },
  25106. "applysrc": {
  25107. "description": "申请来源 - 1:管理端 2:终端",
  25108. "type": "integer"
  25109. },
  25110. "applystatus": {
  25111. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25112. "type": "integer"
  25113. },
  25114. "applytime": {
  25115. "description": "申请时间",
  25116. "type": "string"
  25117. },
  25118. "areauserid": {
  25119. "description": "所属机构用户ID",
  25120. "type": "integer"
  25121. },
  25122. "auditid": {
  25123. "description": "审核人",
  25124. "type": "string"
  25125. },
  25126. "auditname": {
  25127. "description": "审核人名称(代码)",
  25128. "type": "string"
  25129. },
  25130. "auditremark": {
  25131. "description": "审核备注",
  25132. "type": "string"
  25133. },
  25134. "auditsrc": {
  25135. "description": "审核来源 - 1:管理端 2:终端",
  25136. "type": "integer"
  25137. },
  25138. "audittime": {
  25139. "description": "审核时间",
  25140. "type": "string"
  25141. },
  25142. "audittradedate": {
  25143. "description": "审核交易日(yyyyMMdd)",
  25144. "type": "string"
  25145. },
  25146. "beforevalue": {
  25147. "description": "变更前",
  25148. "type": "number"
  25149. },
  25150. "deliverygoodscode": {
  25151. "description": "品种代码",
  25152. "type": "string"
  25153. },
  25154. "deliverygoodsid": {
  25155. "description": "品种id",
  25156. "type": "integer"
  25157. },
  25158. "deliverygoodsname": {
  25159. "description": "品种名称",
  25160. "type": "string"
  25161. },
  25162. "middlegoodscode": {
  25163. "description": "套保品种代码",
  25164. "type": "string"
  25165. },
  25166. "middlegoodsid": {
  25167. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25168. "type": "integer"
  25169. },
  25170. "middlegoodsname": {
  25171. "description": "套保品种名称",
  25172. "type": "string"
  25173. },
  25174. "operatetype": {
  25175. "description": "操作类型 - 1:新增 2:修改",
  25176. "type": "integer"
  25177. },
  25178. "paramchangetype": {
  25179. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25180. "type": "integer"
  25181. },
  25182. "wrstandardcode": {
  25183. "description": "现货商品代码",
  25184. "type": "string"
  25185. },
  25186. "wrstandardid": {
  25187. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25188. "type": "integer"
  25189. },
  25190. "wrstandardname": {
  25191. "description": "现货商品名称",
  25192. "type": "string"
  25193. }
  25194. }
  25195. },
  25196. "models.Ermcp3RootUserAccount": {
  25197. "type": "object",
  25198. "properties": {
  25199. "accountname": {
  25200. "description": "账户名称(机构名称)",
  25201. "type": "string"
  25202. },
  25203. "accountstatus": {
  25204. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25205. "type": "integer"
  25206. },
  25207. "applysrc": {
  25208. "description": "申请来源 - 1:管理端 2:终端",
  25209. "type": "integer"
  25210. },
  25211. "auditremark": {
  25212. "description": "审核备注",
  25213. "type": "string"
  25214. },
  25215. "auditsrc": {
  25216. "description": "审核来源 - 1:管理端 2:终端",
  25217. "type": "integer"
  25218. },
  25219. "audittime": {
  25220. "description": "审核时间",
  25221. "type": "string"
  25222. },
  25223. "audituserid": {
  25224. "description": "审核人",
  25225. "type": "integer"
  25226. },
  25227. "broker": {
  25228. "description": "所属经纪人ID",
  25229. "type": "integer"
  25230. },
  25231. "canceltime": {
  25232. "description": "销户时间",
  25233. "type": "string"
  25234. },
  25235. "canceluserid": {
  25236. "description": "销户人",
  25237. "type": "integer"
  25238. },
  25239. "canrecommend": {
  25240. "description": "是否可推荐 - 0:不可 1;可",
  25241. "type": "integer"
  25242. },
  25243. "createtime": {
  25244. "description": "创建时间",
  25245. "type": "string"
  25246. },
  25247. "creatorid": {
  25248. "description": "创建人",
  25249. "type": "integer"
  25250. },
  25251. "hasauth": {
  25252. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25253. "type": "integer"
  25254. },
  25255. "isanonymous": {
  25256. "description": "是否匿名下单 - 0:否 1:是",
  25257. "type": "integer"
  25258. },
  25259. "maxinvestornum": {
  25260. "description": "最大用户数(经纪会员下投资者个数)",
  25261. "type": "integer"
  25262. },
  25263. "memberuserid": {
  25264. "description": "所属会员ID",
  25265. "type": "integer"
  25266. },
  25267. "modifierid": {
  25268. "description": "修改人",
  25269. "type": "integer"
  25270. },
  25271. "modifyremark": {
  25272. "description": "变更备注",
  25273. "type": "string"
  25274. },
  25275. "modifystatus": {
  25276. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25277. "type": "integer"
  25278. },
  25279. "modifytime": {
  25280. "description": "修改时间",
  25281. "type": "string"
  25282. },
  25283. "nickname": {
  25284. "description": "昵称",
  25285. "type": "string"
  25286. },
  25287. "parenttopuser": {
  25288. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25289. "type": "string"
  25290. },
  25291. "parentuserid": {
  25292. "description": "所属机构ID",
  25293. "type": "integer"
  25294. },
  25295. "reckonaccountid": {
  25296. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25297. "type": "integer"
  25298. },
  25299. "refercount": {
  25300. "description": "推荐总人数",
  25301. "type": "integer"
  25302. },
  25303. "refereeuserid": {
  25304. "description": "推荐人ID",
  25305. "type": "integer"
  25306. },
  25307. "refernum": {
  25308. "description": "推荐码",
  25309. "type": "string"
  25310. },
  25311. "rootuserid": {
  25312. "description": "根用户ID",
  25313. "type": "integer"
  25314. },
  25315. "subaccountlevel": {
  25316. "description": "子账户层数",
  25317. "type": "integer"
  25318. },
  25319. "subarealevelpath": {
  25320. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25321. "type": "string"
  25322. },
  25323. "userid": {
  25324. "description": "用户ID",
  25325. "type": "integer"
  25326. },
  25327. "usertype": {
  25328. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25329. "type": "integer"
  25330. }
  25331. }
  25332. },
  25333. "models.Ermcp3SCMiddleGoods": {
  25334. "type": "object",
  25335. "properties": {
  25336. "biztype": {
  25337. "description": "业务类型 1:套保 2:套利",
  25338. "type": "integer"
  25339. },
  25340. "contractno": {
  25341. "description": "合同编号",
  25342. "type": "string"
  25343. },
  25344. "contracttype": {
  25345. "description": "合同类型 1:采购 -1:销售",
  25346. "type": "integer"
  25347. },
  25348. "convertratio": {
  25349. "description": "折算系数",
  25350. "type": "number"
  25351. },
  25352. "customername": {
  25353. "description": "对手手名称",
  25354. "type": "string"
  25355. },
  25356. "customeruserid": {
  25357. "description": "对手id",
  25358. "type": "integer"
  25359. },
  25360. "deliverygoodscode": {
  25361. "description": "现货品种代码",
  25362. "type": "string"
  25363. },
  25364. "deliverygoodsid": {
  25365. "description": "现货品种ID",
  25366. "type": "integer"
  25367. },
  25368. "deliverygoodsname": {
  25369. "description": "现货品种名称",
  25370. "type": "string"
  25371. },
  25372. "enumdicname": {
  25373. "description": "现货单位名称",
  25374. "type": "string"
  25375. },
  25376. "middlegoodsid": {
  25377. "description": "套保品种ID",
  25378. "type": "integer"
  25379. },
  25380. "middlegoodspricedqty3": {
  25381. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25382. "type": "number"
  25383. },
  25384. "needhedgeratio": {
  25385. "description": "套保比例",
  25386. "type": "number"
  25387. },
  25388. "pricedqty": {
  25389. "description": "已定价量",
  25390. "type": "number"
  25391. },
  25392. "relatedmiddlegoodsqty": {
  25393. "description": "已关联量(套保品种)(期货)",
  25394. "type": "number"
  25395. },
  25396. "spotcontractid": {
  25397. "description": "合同编号",
  25398. "type": "string"
  25399. },
  25400. "unitid": {
  25401. "description": "现货单位id",
  25402. "type": "integer"
  25403. },
  25404. "userid": {
  25405. "description": "用户id",
  25406. "type": "integer"
  25407. },
  25408. "vatrate": {
  25409. "description": "增值税率",
  25410. "type": "number"
  25411. },
  25412. "wrstandardcode": {
  25413. "description": "现货商品代码",
  25414. "type": "string"
  25415. },
  25416. "wrstandardid": {
  25417. "description": "现货商品id",
  25418. "type": "integer"
  25419. },
  25420. "wrstandardname": {
  25421. "description": "现货商品名称",
  25422. "type": "string"
  25423. }
  25424. }
  25425. },
  25426. "models.Ermcp3SCMiddleGoodsReport": {
  25427. "type": "object",
  25428. "properties": {
  25429. "begindate": {
  25430. "description": "开始交易日",
  25431. "type": "string"
  25432. },
  25433. "contractno": {
  25434. "description": "合同编号",
  25435. "type": "string"
  25436. },
  25437. "contracttype": {
  25438. "description": "合同类型 1:采购 -1:销售",
  25439. "type": "integer"
  25440. },
  25441. "convertratio": {
  25442. "description": "期初均价",
  25443. "type": "number"
  25444. },
  25445. "cycletime": {
  25446. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25447. "type": "string"
  25448. },
  25449. "cycletype": {
  25450. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25451. "type": "integer"
  25452. },
  25453. "deliverygoodscode": {
  25454. "description": "品种代码",
  25455. "type": "string"
  25456. },
  25457. "deliverygoodsid": {
  25458. "description": "现货品种ID",
  25459. "type": "integer"
  25460. },
  25461. "deliverygoodsname": {
  25462. "description": "品种名称",
  25463. "type": "string"
  25464. },
  25465. "diffprice": {
  25466. "description": "期初均价",
  25467. "type": "number"
  25468. },
  25469. "diffqty": {
  25470. "description": "期初均价",
  25471. "type": "number"
  25472. },
  25473. "enddate": {
  25474. "description": "结束交易日",
  25475. "type": "string"
  25476. },
  25477. "hedgeplanqty": {
  25478. "description": "期初均价",
  25479. "type": "number"
  25480. },
  25481. "matchname": {
  25482. "description": "交易对手方(个人:用户名称 企业:简称)",
  25483. "type": "string"
  25484. },
  25485. "matchnickname": {
  25486. "description": "交易对手方昵称",
  25487. "type": "string"
  25488. },
  25489. "middlegoodscode": {
  25490. "description": "套保品种代码",
  25491. "type": "string"
  25492. },
  25493. "middlegoodsid": {
  25494. "description": "套保品种ID",
  25495. "type": "integer"
  25496. },
  25497. "middlegoodsname": {
  25498. "description": "套保品种名称",
  25499. "type": "string"
  25500. },
  25501. "middlegoodspricedqty": {
  25502. "description": "期初均价",
  25503. "type": "number"
  25504. },
  25505. "middlegoodspricedqty2": {
  25506. "description": "期初均价",
  25507. "type": "number"
  25508. },
  25509. "middlegoodspricedqty3": {
  25510. "description": "期初均价",
  25511. "type": "number"
  25512. },
  25513. "needhedgeratio": {
  25514. "description": "期初均价",
  25515. "type": "number"
  25516. },
  25517. "pricedamount": {
  25518. "description": "期初均价",
  25519. "type": "number"
  25520. },
  25521. "pricedamount2": {
  25522. "description": "期初均价",
  25523. "type": "number"
  25524. },
  25525. "pricedqty": {
  25526. "description": "期初均价",
  25527. "type": "number"
  25528. },
  25529. "reckondate": {
  25530. "description": "日照时期(yyyyMMdd)",
  25531. "type": "string"
  25532. },
  25533. "relatedmiddlegoodsamount": {
  25534. "description": "期初均价",
  25535. "type": "number"
  25536. },
  25537. "relatedmiddlegoodsqty": {
  25538. "description": "期初均价",
  25539. "type": "number"
  25540. },
  25541. "spotcontractid": {
  25542. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25543. "type": "string"
  25544. },
  25545. "todayavgfutuprice": {
  25546. "description": "期初均价",
  25547. "type": "number"
  25548. },
  25549. "todayavgprice": {
  25550. "description": "期初均价",
  25551. "type": "number"
  25552. },
  25553. "todayavgprice2": {
  25554. "description": "期初均价",
  25555. "type": "number"
  25556. },
  25557. "todaypricedamount": {
  25558. "description": "期初均价",
  25559. "type": "number"
  25560. },
  25561. "todaypricedamount2": {
  25562. "description": "期初均价",
  25563. "type": "number"
  25564. },
  25565. "todaypricedqty": {
  25566. "description": "期初均价",
  25567. "type": "number"
  25568. },
  25569. "todayrelatedfutureqty": {
  25570. "description": "期初均价",
  25571. "type": "number"
  25572. },
  25573. "todayrelatedmiddlegoodsamount": {
  25574. "description": "期初均价",
  25575. "type": "number"
  25576. },
  25577. "todayrelatedmiddlegoodsqty": {
  25578. "description": "期初均价",
  25579. "type": "number"
  25580. },
  25581. "updatetime": {
  25582. "description": "更新时间",
  25583. "type": "string"
  25584. },
  25585. "userid": {
  25586. "description": "合同所属用户id",
  25587. "type": "integer"
  25588. },
  25589. "vatrate": {
  25590. "description": "期初均价",
  25591. "type": "number"
  25592. },
  25593. "wrstandardcode": {
  25594. "description": "商品(品类) 代码",
  25595. "type": "string"
  25596. },
  25597. "wrstandardid": {
  25598. "description": "现货商品ID",
  25599. "type": "integer"
  25600. },
  25601. "wrstandardname": {
  25602. "description": "商品(品类) 名称",
  25603. "type": "string"
  25604. }
  25605. }
  25606. },
  25607. "models.Ermcp3SellBuyContract": {
  25608. "type": "object",
  25609. "properties": {
  25610. "accountid": {
  25611. "description": "期货账户id",
  25612. "type": "string"
  25613. },
  25614. "accountname": {
  25615. "description": "账户名称",
  25616. "type": "string"
  25617. },
  25618. "attachment": {
  25619. "description": "附件",
  25620. "type": "string"
  25621. },
  25622. "audittime": {
  25623. "description": "审核时间",
  25624. "type": "string"
  25625. },
  25626. "bizsubjectid": {
  25627. "description": "归属业务部门ID - SubjectID",
  25628. "type": "integer"
  25629. },
  25630. "biztype": {
  25631. "description": "业务类型 1-套保 2-套利",
  25632. "type": "integer"
  25633. },
  25634. "brandname": {
  25635. "description": "品牌名称",
  25636. "type": "string"
  25637. },
  25638. "contracctstatus": {
  25639. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25640. "type": "integer"
  25641. },
  25642. "contractmargin": {
  25643. "description": "合同保证金",
  25644. "type": "number"
  25645. },
  25646. "contractno": {
  25647. "description": "合同编号",
  25648. "type": "string"
  25649. },
  25650. "contracttype": {
  25651. "description": "合同类型 1-采购, -1-销售",
  25652. "type": "integer"
  25653. },
  25654. "convertfactor": {
  25655. "description": "标仓系数(品类)",
  25656. "type": "number"
  25657. },
  25658. "createtime": {
  25659. "description": "创建时间",
  25660. "type": "string"
  25661. },
  25662. "currencyid": {
  25663. "description": "币种id",
  25664. "type": "integer"
  25665. },
  25666. "currencyname": {
  25667. "description": "币种名称",
  25668. "type": "string"
  25669. },
  25670. "daikaiamount": {
  25671. "description": "应收(开)票额 | 未收票额",
  25672. "type": "number"
  25673. },
  25674. "deliveryenddate": {
  25675. "description": "交割结束日",
  25676. "type": "string"
  25677. },
  25678. "deliverygoodscode": {
  25679. "description": "现货品种代码",
  25680. "type": "string"
  25681. },
  25682. "deliverygoodsid": {
  25683. "description": "现货商品ID",
  25684. "type": "integer"
  25685. },
  25686. "deliverygoodsname": {
  25687. "description": "现货品种名称",
  25688. "type": "string"
  25689. },
  25690. "deliverystartdate": {
  25691. "description": "交割开始日",
  25692. "type": "string"
  25693. },
  25694. "enddate": {
  25695. "description": "点价结束日",
  25696. "type": "string"
  25697. },
  25698. "enumdicname": {
  25699. "description": "单位名称",
  25700. "type": "string"
  25701. },
  25702. "goodscode": {
  25703. "description": "点价商品代码",
  25704. "type": "string"
  25705. },
  25706. "goodsgroupid": {
  25707. "description": "点价商品组id",
  25708. "type": "integer"
  25709. },
  25710. "goodsid": {
  25711. "description": "点价商品ID",
  25712. "type": "integer"
  25713. },
  25714. "goodsname": {
  25715. "description": "点价商品名称",
  25716. "type": "string"
  25717. },
  25718. "invoiceamount": {
  25719. "description": "已开票额",
  25720. "type": "number"
  25721. },
  25722. "loanamount": {
  25723. "description": "贷款总额=已定价额+调整金额",
  25724. "type": "number"
  25725. },
  25726. "margin": {
  25727. "description": "保证金",
  25728. "type": "number"
  25729. },
  25730. "meruserid": {
  25731. "description": "跟单员id",
  25732. "type": "integer"
  25733. },
  25734. "meruserlogincode": {
  25735. "description": "跟单员登录代码",
  25736. "type": "string"
  25737. },
  25738. "merusername": {
  25739. "description": "跟单员名称",
  25740. "type": "string"
  25741. },
  25742. "nickname": {
  25743. "description": "账户昵称",
  25744. "type": "string"
  25745. },
  25746. "orireckonrealqty": {
  25747. "description": "应交收量",
  25748. "type": "number"
  25749. },
  25750. "payamount": {
  25751. "description": "已收付额(收款或付款)",
  25752. "type": "number"
  25753. },
  25754. "preinvoiceamount": {
  25755. "description": "预收(开)票额",
  25756. "type": "number"
  25757. },
  25758. "prepayamount": {
  25759. "description": "预收付额",
  25760. "type": "number"
  25761. },
  25762. "price": {
  25763. "description": "价格",
  25764. "type": "number"
  25765. },
  25766. "pricedamount": {
  25767. "description": "已定价额",
  25768. "type": "number"
  25769. },
  25770. "pricedavg": {
  25771. "description": "已点均价",
  25772. "type": "number"
  25773. },
  25774. "pricedqty": {
  25775. "description": "已定价量",
  25776. "type": "number"
  25777. },
  25778. "pricemove": {
  25779. "description": "升贴水",
  25780. "type": "number"
  25781. },
  25782. "pricetype": {
  25783. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25784. "type": "integer"
  25785. },
  25786. "producttype": {
  25787. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25788. "type": "integer"
  25789. },
  25790. "qty": {
  25791. "description": "合同量",
  25792. "type": "number"
  25793. },
  25794. "reckonadjustamount": {
  25795. "description": "调整金额",
  25796. "type": "number"
  25797. },
  25798. "reckonedamount": {
  25799. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25800. "type": "number"
  25801. },
  25802. "reckonotheramount": {
  25803. "description": "其它费用",
  25804. "type": "number"
  25805. },
  25806. "reckonrealqty": {
  25807. "description": "已交收量",
  25808. "type": "number"
  25809. },
  25810. "remark": {
  25811. "description": "备注",
  25812. "type": "string"
  25813. },
  25814. "saleuserid": {
  25815. "description": "业务员id",
  25816. "type": "integer"
  25817. },
  25818. "saleuserlogincode": {
  25819. "description": "业务员登录代码",
  25820. "type": "string"
  25821. },
  25822. "saleusername": {
  25823. "description": "业务员名称",
  25824. "type": "string"
  25825. },
  25826. "spotcontractid": {
  25827. "description": "合同ID",
  25828. "type": "string"
  25829. },
  25830. "spotgoodsbrandid": {
  25831. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25832. "type": "integer"
  25833. },
  25834. "spotgoodsdesc": {
  25835. "description": "商品型号(商品规格)",
  25836. "type": "string"
  25837. },
  25838. "startdate": {
  25839. "description": "点价开始日",
  25840. "type": "string"
  25841. },
  25842. "subjectid": {
  25843. "description": "交易主体ID",
  25844. "type": "integer"
  25845. },
  25846. "subjectname": {
  25847. "description": "交易主体名称",
  25848. "type": "string"
  25849. },
  25850. "totalamount": {
  25851. "description": "合计总额",
  25852. "type": "number"
  25853. },
  25854. "tradeuserid": {
  25855. "description": "交易员id",
  25856. "type": "integer"
  25857. },
  25858. "tradeuserlogincode": {
  25859. "description": "交易员登录代码",
  25860. "type": "string"
  25861. },
  25862. "tradeusername": {
  25863. "description": "交易员名称",
  25864. "type": "string"
  25865. },
  25866. "unpayamount": {
  25867. "description": "应收付款额(应支付或应收款) | 未付款额",
  25868. "type": "number"
  25869. },
  25870. "unpricedqty": {
  25871. "description": "未定价量",
  25872. "type": "number"
  25873. },
  25874. "unsureqty": {
  25875. "description": "未确定量 | 未交收量",
  25876. "type": "number"
  25877. },
  25878. "userid": {
  25879. "description": "机构ID",
  25880. "type": "integer"
  25881. },
  25882. "vatrate": {
  25883. "description": "增值税率",
  25884. "type": "number"
  25885. },
  25886. "wrstandardcode": {
  25887. "description": "品类代码",
  25888. "type": "string"
  25889. },
  25890. "wrstandardid": {
  25891. "description": "品类ID",
  25892. "type": "integer"
  25893. },
  25894. "wrstandardname": {
  25895. "description": "品类名称",
  25896. "type": "string"
  25897. }
  25898. }
  25899. },
  25900. "models.Ermcp3SpotGoodsPrice": {
  25901. "type": "object",
  25902. "properties": {
  25903. "areauserid": {
  25904. "description": "所属机构id",
  25905. "type": "integer"
  25906. },
  25907. "brandname": {
  25908. "description": "品牌名称",
  25909. "type": "string"
  25910. },
  25911. "currencyid": {
  25912. "description": "报价货币ID",
  25913. "type": "integer"
  25914. },
  25915. "currencyname": {
  25916. "description": "币种名称",
  25917. "type": "string"
  25918. },
  25919. "deliverygoodscode": {
  25920. "description": "现货商品代码",
  25921. "type": "string"
  25922. },
  25923. "deliverygoodsid": {
  25924. "description": "现货商品id",
  25925. "type": "integer"
  25926. },
  25927. "deliverygoodsname": {
  25928. "description": "现货商品名称",
  25929. "type": "string"
  25930. },
  25931. "enumdicname": {
  25932. "description": "现货商品单位名称",
  25933. "type": "string"
  25934. },
  25935. "gbenumdicname": {
  25936. "description": "品类单位名称",
  25937. "type": "string"
  25938. },
  25939. "gmunitid": {
  25940. "description": "品类单位id",
  25941. "type": "integer"
  25942. },
  25943. "isvalid": {
  25944. "description": "是否有效 - 0:无效 1:有效",
  25945. "type": "integer"
  25946. },
  25947. "operateid": {
  25948. "description": "最后操作人",
  25949. "type": "integer"
  25950. },
  25951. "operatesrc": {
  25952. "description": "最后操作来源 - 1:管理端 2:终端",
  25953. "type": "integer"
  25954. },
  25955. "operatetime": {
  25956. "description": "最后操作时间",
  25957. "type": "string"
  25958. },
  25959. "operatorname": {
  25960. "description": "操作人名称",
  25961. "type": "string"
  25962. },
  25963. "spotgoodsbrandid": {
  25964. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25965. "type": "integer"
  25966. },
  25967. "spotgoodsprice": {
  25968. "description": "现货价格",
  25969. "type": "number"
  25970. },
  25971. "tradedate": {
  25972. "description": "交易日(yyyyMMdd)",
  25973. "type": "string"
  25974. },
  25975. "unitid": {
  25976. "description": "现货商品单位id",
  25977. "type": "integer"
  25978. },
  25979. "wrstandardcode": {
  25980. "description": "品类代码",
  25981. "type": "string"
  25982. },
  25983. "wrstandardid": {
  25984. "description": "现货品类ID(通用则为0)",
  25985. "type": "integer"
  25986. },
  25987. "wrstandardname": {
  25988. "description": "品类名称",
  25989. "type": "string"
  25990. }
  25991. }
  25992. },
  25993. "models.Ermcp3SpotGoodsPriceLog": {
  25994. "type": "object",
  25995. "properties": {
  25996. "areauserid": {
  25997. "description": "所属机构id",
  25998. "type": "integer"
  25999. },
  26000. "brandname": {
  26001. "description": "品牌名称",
  26002. "type": "string"
  26003. },
  26004. "currencyid": {
  26005. "description": "报价货币ID",
  26006. "type": "integer"
  26007. },
  26008. "deliverygoodscode": {
  26009. "description": "现货商品代码",
  26010. "type": "string"
  26011. },
  26012. "deliverygoodsid": {
  26013. "description": "现货商品id",
  26014. "type": "integer"
  26015. },
  26016. "deliverygoodsname": {
  26017. "description": "现货商品名称",
  26018. "type": "string"
  26019. },
  26020. "enumdicname": {
  26021. "description": "现货商品单位名称",
  26022. "type": "string"
  26023. },
  26024. "gbenumdicname": {
  26025. "description": "品类单位名称",
  26026. "type": "string"
  26027. },
  26028. "gmunitid": {
  26029. "description": "品类单位id",
  26030. "type": "integer"
  26031. },
  26032. "logid": {
  26033. "description": "日志id",
  26034. "type": "integer"
  26035. },
  26036. "operateid": {
  26037. "description": "最后操作人",
  26038. "type": "integer"
  26039. },
  26040. "operatesrc": {
  26041. "description": "最后操作来源 - 1:管理端 2:终端",
  26042. "type": "integer"
  26043. },
  26044. "operatetime": {
  26045. "description": "最后操作时间",
  26046. "type": "string"
  26047. },
  26048. "operatorname": {
  26049. "description": "操作人名称",
  26050. "type": "string"
  26051. },
  26052. "spotgoodsbrandid": {
  26053. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26054. "type": "integer"
  26055. },
  26056. "spotgoodsprice": {
  26057. "description": "现货价格",
  26058. "type": "number"
  26059. },
  26060. "tradedate": {
  26061. "description": "交易日(yyyyMMdd)",
  26062. "type": "string"
  26063. },
  26064. "unitid": {
  26065. "description": "现货商品单位id",
  26066. "type": "integer"
  26067. },
  26068. "wrstandardcode": {
  26069. "description": "品类代码",
  26070. "type": "string"
  26071. },
  26072. "wrstandardid": {
  26073. "description": "现货品类ID(通用则为0)",
  26074. "type": "integer"
  26075. },
  26076. "wrstandardname": {
  26077. "description": "品类名称",
  26078. "type": "string"
  26079. }
  26080. }
  26081. },
  26082. "models.Ermcp3SubTaaccount": {
  26083. "type": "object",
  26084. "properties": {
  26085. "accountid": {
  26086. "description": "资金账户ID",
  26087. "type": "integer"
  26088. },
  26089. "parentaccountcode": {
  26090. "description": "所属根账号代码(母账号代码)",
  26091. "type": "string"
  26092. },
  26093. "parentaccountid": {
  26094. "description": "所属根账号(母账号)",
  26095. "type": "integer"
  26096. },
  26097. "taname": {
  26098. "description": "资金账号名称",
  26099. "type": "string"
  26100. },
  26101. "tradestatus": {
  26102. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26103. "type": "integer"
  26104. },
  26105. "username": {
  26106. "description": "交易用户",
  26107. "type": "string"
  26108. }
  26109. }
  26110. },
  26111. "models.Ermcp3TaFutuReDataReport": {
  26112. "type": "object",
  26113. "properties": {
  26114. "accountid": {
  26115. "description": "交易账户",
  26116. "type": "integer"
  26117. },
  26118. "accountname": {
  26119. "description": "交易账号名称",
  26120. "type": "string"
  26121. },
  26122. "agreeunit": {
  26123. "description": "商品合约单位",
  26124. "type": "number"
  26125. },
  26126. "begindate": {
  26127. "description": "开始交易日",
  26128. "type": "string"
  26129. },
  26130. "buyorsell": {
  26131. "description": "持仓方向",
  26132. "type": "integer"
  26133. },
  26134. "charge": {
  26135. "description": "手续费",
  26136. "type": "number"
  26137. },
  26138. "closeavgprice": {
  26139. "description": "期初均价",
  26140. "type": "number"
  26141. },
  26142. "closepl": {
  26143. "description": "平仓损益",
  26144. "type": "number"
  26145. },
  26146. "currencyid": {
  26147. "description": "结算币种ID",
  26148. "type": "integer"
  26149. },
  26150. "currencyname": {
  26151. "description": "币种名称",
  26152. "type": "string"
  26153. },
  26154. "cycletime": {
  26155. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26156. "type": "string"
  26157. },
  26158. "cycletype": {
  26159. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26160. "type": "integer"
  26161. },
  26162. "enddate": {
  26163. "description": "结束交易日",
  26164. "type": "string"
  26165. },
  26166. "enumdicname": {
  26167. "description": "单位名称",
  26168. "type": "string"
  26169. },
  26170. "floatpl": {
  26171. "description": "浮动损益",
  26172. "type": "number"
  26173. },
  26174. "goodscode": {
  26175. "description": "交易合约代码",
  26176. "type": "string"
  26177. },
  26178. "goodsgroupid": {
  26179. "description": "交易品种",
  26180. "type": "integer"
  26181. },
  26182. "goodsgroupname": {
  26183. "description": "交易品种名称",
  26184. "type": "string"
  26185. },
  26186. "goodsgroupspotqty": {
  26187. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26188. "type": "number"
  26189. },
  26190. "goodsid": {
  26191. "description": "交易合约",
  26192. "type": "integer"
  26193. },
  26194. "goodsname": {
  26195. "description": "交易合约名称",
  26196. "type": "string"
  26197. },
  26198. "goodunitid": {
  26199. "description": "交易合约单位id",
  26200. "type": "integer"
  26201. },
  26202. "holdamount": {
  26203. "description": "期末持仓额",
  26204. "type": "number"
  26205. },
  26206. "holdqty": {
  26207. "description": "期初均价",
  26208. "type": "number"
  26209. },
  26210. "lastholdamount": {
  26211. "description": "当前持仓额",
  26212. "type": "number"
  26213. },
  26214. "lastprice": {
  26215. "description": "最新价",
  26216. "type": "number"
  26217. },
  26218. "middlegoodsid": {
  26219. "description": "套保品种id",
  26220. "type": "integer"
  26221. },
  26222. "middlegoodsname": {
  26223. "description": "套保商品名称",
  26224. "type": "string"
  26225. },
  26226. "middlegoodsqty": {
  26227. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26228. "type": "number"
  26229. },
  26230. "middlgoodscode": {
  26231. "description": "套保商品代码",
  26232. "type": "string"
  26233. },
  26234. "openamount": {
  26235. "description": "期末开仓额",
  26236. "type": "number"
  26237. },
  26238. "openavgprice": {
  26239. "description": "期初均价",
  26240. "type": "number"
  26241. },
  26242. "oriholdamount": {
  26243. "description": "期初持仓额",
  26244. "type": "number"
  26245. },
  26246. "oriholdqty": {
  26247. "description": "期初均价",
  26248. "type": "number"
  26249. },
  26250. "oriopenamount": {
  26251. "description": "期初开仓额",
  26252. "type": "number"
  26253. },
  26254. "outergroupcode": {
  26255. "description": "交易品种代码",
  26256. "type": "string"
  26257. },
  26258. "qtydecimalplace": {
  26259. "description": "成交量小数位",
  26260. "type": "integer"
  26261. },
  26262. "reckondate": {
  26263. "description": "日照时期(yyyyMMdd)",
  26264. "type": "string"
  26265. },
  26266. "reckonholdamount": {
  26267. "description": "结算持仓额",
  26268. "type": "number"
  26269. },
  26270. "reckonpl": {
  26271. "description": "结算损益",
  26272. "type": "number"
  26273. },
  26274. "reckonpl2": {
  26275. "description": "结算逐笔盈亏",
  26276. "type": "number"
  26277. },
  26278. "reckonprice": {
  26279. "description": "结算价",
  26280. "type": "number"
  26281. },
  26282. "relateduserid": {
  26283. "description": "账户关联用户ID",
  26284. "type": "integer"
  26285. },
  26286. "todaycloseamount": {
  26287. "description": "今平仓额",
  26288. "type": "number"
  26289. },
  26290. "todaycloseqty": {
  26291. "description": "期初均价",
  26292. "type": "number"
  26293. },
  26294. "todaygoodsgroupspotqty": {
  26295. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26296. "type": "number"
  26297. },
  26298. "todaymiddlegoodsqty": {
  26299. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26300. "type": "number"
  26301. },
  26302. "todayopenamount": {
  26303. "description": "今开仓额",
  26304. "type": "number"
  26305. },
  26306. "todayopenqty": {
  26307. "description": "期初均价",
  26308. "type": "number"
  26309. },
  26310. "userid": {
  26311. "description": "账户所属用户ID",
  26312. "type": "integer"
  26313. }
  26314. }
  26315. },
  26316. "models.Ermcp3TradeLinkDetail": {
  26317. "type": "object",
  26318. "properties": {
  26319. "accountid": {
  26320. "description": "资金账号",
  26321. "type": "integer"
  26322. },
  26323. "agreeunit": {
  26324. "description": "合约乘数",
  26325. "type": "number"
  26326. },
  26327. "areauserid": {
  26328. "description": "所属机构",
  26329. "type": "string"
  26330. },
  26331. "bizsubjectid": {
  26332. "description": "归属业务部门ID - SubjectID",
  26333. "type": "string"
  26334. },
  26335. "buyorsell": {
  26336. "description": "方向 - 0:买 1:卖",
  26337. "type": "integer"
  26338. },
  26339. "channelbuildtype": {
  26340. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26341. "type": "integer"
  26342. },
  26343. "contractno": {
  26344. "description": "现货编号 (合同编号)",
  26345. "type": "string"
  26346. },
  26347. "convertratio": {
  26348. "description": "折算系数",
  26349. "type": "number"
  26350. },
  26351. "createtime": {
  26352. "description": "关联时间 | 创建时间",
  26353. "type": "string"
  26354. },
  26355. "creatorid": {
  26356. "description": "创建人ID",
  26357. "type": "string"
  26358. },
  26359. "creatorsrc": {
  26360. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26361. "type": "integer"
  26362. },
  26363. "enumdicname": {
  26364. "description": "单位名称",
  26365. "type": "string"
  26366. },
  26367. "goodscode": {
  26368. "description": "合约代码",
  26369. "type": "string"
  26370. },
  26371. "goodsgroupid": {
  26372. "description": "对冲品种ID[期货合约商品组ID]",
  26373. "type": "integer"
  26374. },
  26375. "goodsid": {
  26376. "description": "商品ID",
  26377. "type": "integer"
  26378. },
  26379. "goodsname": {
  26380. "description": "合约名称",
  26381. "type": "string"
  26382. },
  26383. "hedgeflag": {
  26384. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26385. "type": "integer"
  26386. },
  26387. "linkdetailid": {
  26388. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26389. "type": "string"
  26390. },
  26391. "linkstatus": {
  26392. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26393. "type": "integer"
  26394. },
  26395. "middlegoodscode": {
  26396. "description": "套保品种代码",
  26397. "type": "string"
  26398. },
  26399. "middlegoodsid": {
  26400. "description": "套保品种ID",
  26401. "type": "integer"
  26402. },
  26403. "middlegoodsname": {
  26404. "description": "套保品种名称",
  26405. "type": "string"
  26406. },
  26407. "relatedlot": {
  26408. "description": "关联手数",
  26409. "type": "number"
  26410. },
  26411. "relatedmode": {
  26412. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26413. "type": "integer"
  26414. },
  26415. "relatedqty": {
  26416. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26417. "type": "number"
  26418. },
  26419. "retcode": {
  26420. "description": "返回码",
  26421. "type": "integer"
  26422. },
  26423. "saleuserid": {
  26424. "description": "业务员ID",
  26425. "type": "string"
  26426. },
  26427. "spotcontractid": {
  26428. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26429. "type": "string"
  26430. },
  26431. "taname": {
  26432. "description": "期货账户",
  26433. "type": "string"
  26434. },
  26435. "tradedate": {
  26436. "description": "关联交易日(yyyyMMdd)",
  26437. "type": "string"
  26438. },
  26439. "tradeid": {
  26440. "description": "期货订单号 | 内部成交单ID",
  26441. "type": "string"
  26442. },
  26443. "tradelot": {
  26444. "description": "成交数量 | 成交手数",
  26445. "type": "integer"
  26446. },
  26447. "tradeprice": {
  26448. "description": "成交价格",
  26449. "type": "number"
  26450. },
  26451. "tradetime": {
  26452. "description": "期货成交时间",
  26453. "type": "string"
  26454. },
  26455. "tradetradedate": {
  26456. "description": "成交交易日(yyyyMMdd)",
  26457. "type": "string"
  26458. },
  26459. "username": {
  26460. "description": "用户名称",
  26461. "type": "string"
  26462. }
  26463. }
  26464. },
  26465. "models.Ermcp3Wrstandard": {
  26466. "type": "object",
  26467. "properties": {
  26468. "areauserid": {
  26469. "description": "所属机构",
  26470. "type": "integer"
  26471. },
  26472. "cantrade": {
  26473. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26474. "type": "integer"
  26475. },
  26476. "convertfactor": {
  26477. "description": "标仓系数",
  26478. "type": "number"
  26479. },
  26480. "createtime": {
  26481. "description": "创建时间",
  26482. "type": "string"
  26483. },
  26484. "creatorid": {
  26485. "description": "创建人",
  26486. "type": "integer"
  26487. },
  26488. "deliverygoodsid": {
  26489. "description": "现货品种ID",
  26490. "type": "integer"
  26491. },
  26492. "enumdicname": {
  26493. "description": "品类单位名称",
  26494. "type": "string"
  26495. },
  26496. "isvalid": {
  26497. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26498. "type": "integer"
  26499. },
  26500. "minivalue": {
  26501. "description": "最小变动值",
  26502. "type": "integer"
  26503. },
  26504. "minivaluedp": {
  26505. "description": "最小变动值小数位",
  26506. "type": "integer"
  26507. },
  26508. "realminivalue": {
  26509. "description": "实际最小变动值",
  26510. "type": "integer"
  26511. },
  26512. "realminivaluedp": {
  26513. "description": "实际最小变动值小数位",
  26514. "type": "integer"
  26515. },
  26516. "remark": {
  26517. "description": "备注",
  26518. "type": "string"
  26519. },
  26520. "unitid": {
  26521. "description": "品类单位ID",
  26522. "type": "integer"
  26523. },
  26524. "updatetime": {
  26525. "description": "更新时间",
  26526. "type": "string"
  26527. },
  26528. "wrstandardcode": {
  26529. "description": "品类代码",
  26530. "type": "string"
  26531. },
  26532. "wrstandardid": {
  26533. "description": "品类ID(SEQ_WRSTANDARD)",
  26534. "type": "integer"
  26535. },
  26536. "wrstandardname": {
  26537. "description": "品类名称",
  26538. "type": "string"
  26539. }
  26540. }
  26541. },
  26542. "models.Ermcp8EnableHedgeditem": {
  26543. "type": "object",
  26544. "properties": {
  26545. "accountname": {
  26546. "description": "套期主体",
  26547. "type": "string"
  26548. },
  26549. "hedgeditemid": {
  26550. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26551. "type": "string"
  26552. },
  26553. "hedgeditemname": {
  26554. "description": "项目名称",
  26555. "type": "string"
  26556. },
  26557. "hedgeditemnum": {
  26558. "description": "项目编号",
  26559. "type": "string"
  26560. },
  26561. "hedgedtype": {
  26562. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26563. "type": "integer"
  26564. },
  26565. "planenddate": {
  26566. "description": "计划结束日期",
  26567. "type": "string"
  26568. },
  26569. "planstartdate": {
  26570. "description": "计划开始日期",
  26571. "type": "string"
  26572. },
  26573. "wrstandardid": {
  26574. "description": "现货商品ID",
  26575. "type": "integer"
  26576. },
  26577. "wrstandardname": {
  26578. "description": "现货商品",
  26579. "type": "string"
  26580. }
  26581. }
  26582. },
  26583. "models.Ermcp8HedgeditemReport": {
  26584. "type": "object",
  26585. "properties": {
  26586. "accountname": {
  26587. "description": "套期主体",
  26588. "type": "string"
  26589. },
  26590. "areauserid": {
  26591. "description": "企业ID",
  26592. "type": "integer"
  26593. },
  26594. "curprice": {
  26595. "description": "[当日现货市场价]当前市场价",
  26596. "type": "number"
  26597. },
  26598. "enumdicname": {
  26599. "description": "单位",
  26600. "type": "string"
  26601. },
  26602. "exeamount": {
  26603. "description": "[执行现货金额]执行市价总额",
  26604. "type": "number"
  26605. },
  26606. "exeavgprice": {
  26607. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26608. "type": "number"
  26609. },
  26610. "exeqty": {
  26611. "description": "[执行数量]执行现货量",
  26612. "type": "number"
  26613. },
  26614. "futurehedgepl": {
  26615. "description": "期货实际损益",
  26616. "type": "number"
  26617. },
  26618. "futurehedgeplchange": {
  26619. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26620. "type": "number"
  26621. },
  26622. "futurepl": {
  26623. "description": "期货套期损益",
  26624. "type": "number"
  26625. },
  26626. "futureplchange": {
  26627. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26628. "type": "number"
  26629. },
  26630. "hedgeamount": {
  26631. "description": "[套期现货金额]套期市价总额",
  26632. "type": "number"
  26633. },
  26634. "hedgeditemnum": {
  26635. "description": "项目编号,模糊查询",
  26636. "type": "string"
  26637. },
  26638. "hedgeditemstatus": {
  26639. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26640. "type": "integer"
  26641. },
  26642. "hedgedtype": {
  26643. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26644. "type": "integer"
  26645. },
  26646. "hedgeqty": {
  26647. "description": "[套期数量]套期现货量",
  26648. "type": "number"
  26649. },
  26650. "oriavgprice": {
  26651. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26652. "type": "number"
  26653. },
  26654. "orifuturehedgepl": {
  26655. "description": "期初期货实际损益",
  26656. "type": "number"
  26657. },
  26658. "orifuturepl": {
  26659. "description": "期初期货套期损益",
  26660. "type": "number"
  26661. },
  26662. "orispothedgepl": {
  26663. "description": "期初现货实际损益",
  26664. "type": "number"
  26665. },
  26666. "orispotpl": {
  26667. "description": "期初现货套期损益",
  26668. "type": "number"
  26669. },
  26670. "planenddate": {
  26671. "description": "计划结束日期",
  26672. "type": "string"
  26673. },
  26674. "planstartdate": {
  26675. "description": "计划开始日期",
  26676. "type": "string"
  26677. },
  26678. "spothedgepl": {
  26679. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26680. "type": "number"
  26681. },
  26682. "spothedgeplchange": {
  26683. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26684. "type": "number"
  26685. },
  26686. "spotpl": {
  26687. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26688. "type": "number"
  26689. },
  26690. "spotplchange": {
  26691. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26692. "type": "number"
  26693. },
  26694. "tradeuserid": {
  26695. "description": "交易用户ID",
  26696. "type": "integer"
  26697. },
  26698. "unexeqty": {
  26699. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26700. "type": "number"
  26701. },
  26702. "wrstandardcode": {
  26703. "description": "现货品类代码",
  26704. "type": "string"
  26705. },
  26706. "wrstandardid": {
  26707. "description": "现货商品ID",
  26708. "type": "integer"
  26709. },
  26710. "wrstandardname": {
  26711. "description": "[现货商品]现货品类名称",
  26712. "type": "string"
  26713. }
  26714. }
  26715. },
  26716. "models.Ermcp8RunningHedgeditem": {
  26717. "type": "object",
  26718. "properties": {
  26719. "accountname": {
  26720. "description": "套期主体",
  26721. "type": "string"
  26722. },
  26723. "applyid": {
  26724. "description": "申请人",
  26725. "type": "integer"
  26726. },
  26727. "applysrc": {
  26728. "description": "申请来源 - 1:管理端 2:终端",
  26729. "type": "integer"
  26730. },
  26731. "areauserid": {
  26732. "description": "企业ID",
  26733. "type": "integer"
  26734. },
  26735. "auditid": {
  26736. "description": "审核人",
  26737. "type": "integer"
  26738. },
  26739. "auditremark": {
  26740. "description": "审核备注",
  26741. "type": "string"
  26742. },
  26743. "auditsrc": {
  26744. "description": "审核来源 - 1:管理端 2:终端",
  26745. "type": "integer"
  26746. },
  26747. "audittime": {
  26748. "description": "审核时间",
  26749. "type": "string"
  26750. },
  26751. "audittradedate": {
  26752. "description": "审核交易日(yyyyMMdd)",
  26753. "type": "string"
  26754. },
  26755. "createtime": {
  26756. "description": "申请时间",
  26757. "type": "string"
  26758. },
  26759. "curprice": {
  26760. "description": "当前市场价",
  26761. "type": "number"
  26762. },
  26763. "curstock": {
  26764. "description": "期末库存量 = 采购总量 - 销售总量",
  26765. "type": "number"
  26766. },
  26767. "deliverygoodsid": {
  26768. "description": "现货品种ID",
  26769. "type": "integer"
  26770. },
  26771. "enddate": {
  26772. "description": "完成日期",
  26773. "type": "string"
  26774. },
  26775. "endtradedate": {
  26776. "description": "完成交易日",
  26777. "type": "string"
  26778. },
  26779. "enumdicname": {
  26780. "description": "单位",
  26781. "type": "string"
  26782. },
  26783. "exeamount": {
  26784. "description": "执行市价总额",
  26785. "type": "number"
  26786. },
  26787. "exeavgprice": {
  26788. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26789. "type": "number"
  26790. },
  26791. "execontractamount": {
  26792. "description": "执行定价总额",
  26793. "type": "number"
  26794. },
  26795. "exeqty": {
  26796. "description": "执行现货量",
  26797. "type": "number"
  26798. },
  26799. "exerestamount": {
  26800. "description": "执行剩余市价总额【现货贸易】",
  26801. "type": "number"
  26802. },
  26803. "futurefloatpl": {
  26804. "description": "期货浮动损益",
  26805. "type": "number"
  26806. },
  26807. "futurehedgepl": {
  26808. "description": "期货实际损益",
  26809. "type": "number"
  26810. },
  26811. "futurehedgeplchange": {
  26812. "description": "期货实际损益变动",
  26813. "type": "number"
  26814. },
  26815. "futurepl": {
  26816. "description": "期货套期损益",
  26817. "type": "number"
  26818. },
  26819. "futureplchange": {
  26820. "description": "期货套期损益变动",
  26821. "type": "number"
  26822. },
  26823. "hedgeamount": {
  26824. "description": "套期市价总额",
  26825. "type": "number"
  26826. },
  26827. "hedgecontractamount": {
  26828. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26829. "type": "number"
  26830. },
  26831. "hedgeditemid": {
  26832. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26833. "type": "string"
  26834. },
  26835. "hedgeditemname": {
  26836. "description": "项目名称",
  26837. "type": "string"
  26838. },
  26839. "hedgeditemnum": {
  26840. "description": "项目编号",
  26841. "type": "string"
  26842. },
  26843. "hedgeditemstatus": {
  26844. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26845. "type": "integer"
  26846. },
  26847. "hedgedtype": {
  26848. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26849. "type": "integer"
  26850. },
  26851. "hedgeqty": {
  26852. "description": "套期现货量",
  26853. "type": "number"
  26854. },
  26855. "hedgerate": {
  26856. "description": "套保比率",
  26857. "type": "number"
  26858. },
  26859. "hedgerestamount": {
  26860. "description": "套期剩余市价总额【现货贸易】",
  26861. "type": "number"
  26862. },
  26863. "hedgesumpl": {
  26864. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26865. "type": "number"
  26866. },
  26867. "middlegoodslist": {
  26868. "description": "套期商品列表",
  26869. "type": "array",
  26870. "items": {
  26871. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26872. }
  26873. },
  26874. "oriavgprice": {
  26875. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26876. "type": "number"
  26877. },
  26878. "orifuturehedgepl": {
  26879. "description": "期初期货实际损益",
  26880. "type": "number"
  26881. },
  26882. "orifuturepl": {
  26883. "description": "期初期货套期损益",
  26884. "type": "number"
  26885. },
  26886. "orispothedgepl": {
  26887. "description": "期初现货实际损益",
  26888. "type": "number"
  26889. },
  26890. "orispotpl": {
  26891. "description": "期初现货套期损益",
  26892. "type": "number"
  26893. },
  26894. "planenddate": {
  26895. "description": "计划结束日期",
  26896. "type": "string"
  26897. },
  26898. "planstartdate": {
  26899. "description": "计划开始日期",
  26900. "type": "string"
  26901. },
  26902. "remark": {
  26903. "description": "备注",
  26904. "type": "string"
  26905. },
  26906. "spotbookamount": {
  26907. "description": "现货账面总额",
  26908. "type": "number"
  26909. },
  26910. "spotfloatpl": {
  26911. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26912. "type": "number"
  26913. },
  26914. "spothedgepl": {
  26915. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26916. "type": "number"
  26917. },
  26918. "spothedgeplchange": {
  26919. "description": "现货实际损益变动",
  26920. "type": "number"
  26921. },
  26922. "spotpl": {
  26923. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26924. "type": "number"
  26925. },
  26926. "spotplchange": {
  26927. "description": "现货套期损益变动",
  26928. "type": "number"
  26929. },
  26930. "spottradepl": {
  26931. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26932. "type": "number"
  26933. },
  26934. "sumobspl": {
  26935. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26936. "type": "number"
  26937. },
  26938. "tradeuserid": {
  26939. "description": "交易用户ID",
  26940. "type": "integer"
  26941. },
  26942. "unexeqty": {
  26943. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26944. "type": "number"
  26945. },
  26946. "updatetime": {
  26947. "description": "更新时间",
  26948. "type": "string"
  26949. },
  26950. "vatpl": {
  26951. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26952. "type": "number"
  26953. },
  26954. "vatrate": {
  26955. "description": "增值税",
  26956. "type": "number"
  26957. },
  26958. "wrstandardid": {
  26959. "description": "现货商品ID",
  26960. "type": "integer"
  26961. },
  26962. "wrstandardname": {
  26963. "description": "商品名称",
  26964. "type": "string"
  26965. }
  26966. }
  26967. },
  26968. "models.ErmcpBizGroupEx": {
  26969. "type": "object",
  26970. "properties": {
  26971. "acclist": {
  26972. "description": "账号列表",
  26973. "type": "array",
  26974. "items": {
  26975. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26976. }
  26977. },
  26978. "bizgroupid": {
  26979. "description": "业务分组id",
  26980. "type": "integer"
  26981. },
  26982. "biztype": {
  26983. "description": "业务类型 1-套保 2-套利",
  26984. "type": "integer"
  26985. },
  26986. "wrlist": {
  26987. "description": "现货商品表",
  26988. "type": "array",
  26989. "items": {
  26990. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26991. }
  26992. }
  26993. }
  26994. },
  26995. "models.ErmcpBizGroupSpotGoods": {
  26996. "type": "object",
  26997. "properties": {
  26998. "areauserid": {
  26999. "description": "所属机构id",
  27000. "type": "integer"
  27001. },
  27002. "bizgroupid": {
  27003. "description": "分组id",
  27004. "type": "integer"
  27005. },
  27006. "biztype": {
  27007. "description": "业务类型 1-套保 2-套利",
  27008. "type": "integer"
  27009. },
  27010. "deliverygoodscode": {
  27011. "description": "现货商品代码",
  27012. "type": "string"
  27013. },
  27014. "deliverygoodsid": {
  27015. "description": "现货商品id",
  27016. "type": "integer"
  27017. },
  27018. "deliverygoodsname": {
  27019. "description": "现货商品名称",
  27020. "type": "string"
  27021. },
  27022. "unitid": {
  27023. "description": "现货商品单位id",
  27024. "type": "integer"
  27025. }
  27026. }
  27027. },
  27028. "models.ErmcpBizGroupTaAccount": {
  27029. "type": "object",
  27030. "properties": {
  27031. "accountid": {
  27032. "description": "账号id",
  27033. "type": "integer"
  27034. },
  27035. "accountname": {
  27036. "description": "账号名称",
  27037. "type": "string"
  27038. },
  27039. "areauserid": {
  27040. "description": "所属机构id",
  27041. "type": "integer"
  27042. },
  27043. "bizgroupid": {
  27044. "description": "业务分组id",
  27045. "type": "integer"
  27046. },
  27047. "ismain": {
  27048. "description": "是否主账号 1-是 0-否",
  27049. "type": "integer"
  27050. }
  27051. }
  27052. },
  27053. "models.ErmcpDGFactoryItem": {
  27054. "type": "object",
  27055. "properties": {
  27056. "areauserid": {
  27057. "description": "用户id",
  27058. "type": "integer"
  27059. },
  27060. "deliverygoodsid": {
  27061. "description": "现货品种ID",
  27062. "type": "integer"
  27063. },
  27064. "dgfactoryitemid": {
  27065. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27066. "type": "integer"
  27067. },
  27068. "dgfactoryitemtypeid": {
  27069. "description": "要素项类型",
  27070. "type": "integer"
  27071. },
  27072. "dgfactoryitemvalue": {
  27073. "description": "要素项值(类型为仓库时填写仓库名称)",
  27074. "type": "string"
  27075. },
  27076. "isvalid": {
  27077. "description": "是否有效 - 0:无效 1:有效",
  27078. "type": "integer"
  27079. },
  27080. "orderindex": {
  27081. "description": "顺序",
  27082. "type": "integer"
  27083. },
  27084. "warehouseid": {
  27085. "description": "仓库ID(类型为仓库时填写)",
  27086. "type": "integer"
  27087. }
  27088. }
  27089. },
  27090. "models.ErmcpDeliveryGoods": {
  27091. "type": "object",
  27092. "properties": {
  27093. "agreeunit": {
  27094. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27095. "type": "integer"
  27096. },
  27097. "areauserid": {
  27098. "description": "所属机构",
  27099. "type": "integer"
  27100. },
  27101. "auditflag": {
  27102. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27103. "type": "integer"
  27104. },
  27105. "categoryid": {
  27106. "description": "类别ID(SEQ_WRCATEGORY)",
  27107. "type": "integer"
  27108. },
  27109. "deliverygoodscode": {
  27110. "description": "现货品种代码",
  27111. "type": "string"
  27112. },
  27113. "deliverygoodsid": {
  27114. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27115. "type": "integer"
  27116. },
  27117. "deliverygoodsname": {
  27118. "description": "现货品种名称",
  27119. "type": "string"
  27120. },
  27121. "deliverygoodstype": {
  27122. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27123. "type": "integer"
  27124. },
  27125. "dgstatus": {
  27126. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27127. "type": "integer"
  27128. },
  27129. "enumdicname": {
  27130. "description": "现货品种单位名称",
  27131. "type": "string"
  27132. },
  27133. "goodsunitid": {
  27134. "description": "现货品种单位ID",
  27135. "type": "integer"
  27136. },
  27137. "isvalid": {
  27138. "description": "是否有效 - 0:无效 1:有效",
  27139. "type": "integer"
  27140. },
  27141. "qtydecimalplace": {
  27142. "description": "成交量小数位",
  27143. "type": "integer"
  27144. },
  27145. "remark": {
  27146. "description": "备注",
  27147. "type": "string"
  27148. },
  27149. "standardqty": {
  27150. "description": "标准数量(库位数量) [标准品特有]",
  27151. "type": "integer"
  27152. },
  27153. "standardqtyrange": {
  27154. "description": "标准数量偏差范围 [标准品特有]",
  27155. "type": "integer"
  27156. }
  27157. }
  27158. },
  27159. "models.ErmcpFuturesCompany": {
  27160. "type": "object",
  27161. "properties": {
  27162. "brokerid": {
  27163. "description": "经纪公司代码",
  27164. "type": "string"
  27165. },
  27166. "channeladdress": {
  27167. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27168. "type": "string"
  27169. },
  27170. "channelid": {
  27171. "description": "对冲渠道ID",
  27172. "type": "string"
  27173. },
  27174. "createtime": {
  27175. "description": "创建时间",
  27176. "type": "string"
  27177. },
  27178. "creatorid": {
  27179. "description": "创建人",
  27180. "type": "string"
  27181. },
  27182. "fcid": {
  27183. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27184. "type": "integer"
  27185. },
  27186. "fcname": {
  27187. "description": "期货公司名称",
  27188. "type": "string"
  27189. },
  27190. "isvalid": {
  27191. "description": "是否有效 - 0:无效 1:有效",
  27192. "type": "integer"
  27193. },
  27194. "mhpaddress": {
  27195. "description": "MHP服务地址(IP:Port)",
  27196. "type": "string"
  27197. },
  27198. "riskrulegroupid": {
  27199. "description": "风控规则组ID",
  27200. "type": "string"
  27201. },
  27202. "tradefeetmpid": {
  27203. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27204. "type": "string"
  27205. },
  27206. "trademargintmpid": {
  27207. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27208. "type": "string"
  27209. },
  27210. "traderatetmpid": {
  27211. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27212. "type": "string"
  27213. },
  27214. "updatetime": {
  27215. "description": "更新时间",
  27216. "type": "string"
  27217. },
  27218. "updatorid": {
  27219. "description": "更新人",
  27220. "type": "string"
  27221. }
  27222. }
  27223. },
  27224. "models.ErmcpGGConvertCfg": {
  27225. "type": "object",
  27226. "properties": {
  27227. "convertratio": {
  27228. "description": "折算系数",
  27229. "type": "number"
  27230. },
  27231. "destgoodsgroupid": {
  27232. "description": "目标品种ID",
  27233. "type": "integer"
  27234. },
  27235. "dstcode": {
  27236. "description": "目录品种代码",
  27237. "type": "string"
  27238. },
  27239. "dstexchangecode": {
  27240. "description": "目标期货交易所",
  27241. "type": "string"
  27242. },
  27243. "dstname": {
  27244. "description": "目标品种名称",
  27245. "type": "string"
  27246. },
  27247. "dstunitid": {
  27248. "description": "目标品种单位ID",
  27249. "type": "integer"
  27250. },
  27251. "dstunitidname": {
  27252. "description": "目标品种单位名称",
  27253. "type": "string"
  27254. },
  27255. "modifytime": {
  27256. "description": "修改时间",
  27257. "type": "string"
  27258. },
  27259. "srccode": {
  27260. "description": "源品种代码",
  27261. "type": "string"
  27262. },
  27263. "srcexchangecode": {
  27264. "description": "源期货交易所",
  27265. "type": "string"
  27266. },
  27267. "srcgoodsgroupid": {
  27268. "description": "源品种ID",
  27269. "type": "integer"
  27270. },
  27271. "srcname": {
  27272. "description": "源品种名称",
  27273. "type": "string"
  27274. },
  27275. "srcunitid": {
  27276. "description": "源品种单位ID",
  27277. "type": "integer"
  27278. },
  27279. "srcunitidname": {
  27280. "description": "源品种单位名称",
  27281. "type": "string"
  27282. }
  27283. }
  27284. },
  27285. "models.ErmcpGoods": {
  27286. "type": "object",
  27287. "required": [
  27288. "goodscode",
  27289. "goodsid",
  27290. "goodsname",
  27291. "marketid"
  27292. ],
  27293. "properties": {
  27294. "agreeunit": {
  27295. "description": "合约单位",
  27296. "type": "number"
  27297. },
  27298. "areauserid": {
  27299. "description": "所属机构",
  27300. "type": "integer"
  27301. },
  27302. "auditaccountid": {
  27303. "description": "审核操作员账号",
  27304. "type": "integer"
  27305. },
  27306. "audittime": {
  27307. "description": "审核时间",
  27308. "type": "string"
  27309. },
  27310. "cancelaccountid": {
  27311. "description": "注销操作员账号",
  27312. "type": "integer"
  27313. },
  27314. "canceltime": {
  27315. "description": "注销时间",
  27316. "type": "string"
  27317. },
  27318. "closepricemode": {
  27319. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27320. "type": "integer"
  27321. },
  27322. "closepriceparam": {
  27323. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27324. "type": "number"
  27325. },
  27326. "createtime": {
  27327. "description": "创建时间",
  27328. "type": "string"
  27329. },
  27330. "creatorid": {
  27331. "description": "创建人",
  27332. "type": "integer"
  27333. },
  27334. "currencyid": {
  27335. "description": "报价货币ID",
  27336. "type": "integer"
  27337. },
  27338. "cutmode": {
  27339. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27340. "type": "integer"
  27341. },
  27342. "decimalplace": {
  27343. "description": "报价小数位",
  27344. "type": "integer"
  27345. },
  27346. "delistingdate": {
  27347. "description": "商品退市时间(状态:退市) -- 已作废",
  27348. "type": "string"
  27349. },
  27350. "delistingmode": {
  27351. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27352. "type": "integer"
  27353. },
  27354. "deliveryflag": {
  27355. "description": "交割标志 - 0:不可交割 1:可交割",
  27356. "type": "integer"
  27357. },
  27358. "enumdicname": {
  27359. "description": "单位名称",
  27360. "type": "string"
  27361. },
  27362. "forceclosemode": {
  27363. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27364. "type": "integer"
  27365. },
  27366. "forceclosevalue": {
  27367. "description": "定期强平参数 [收益权]",
  27368. "type": "integer"
  27369. },
  27370. "goodscode": {
  27371. "description": "商品代码(内部)",
  27372. "type": "string"
  27373. },
  27374. "goodscurrencyid": {
  27375. "description": "合约货币ID",
  27376. "type": "integer"
  27377. },
  27378. "goodsgroupid": {
  27379. "description": "所属商品组ID",
  27380. "type": "integer"
  27381. },
  27382. "goodsid": {
  27383. "description": "商品ID(自增ID SEQ_GOODS)",
  27384. "type": "integer"
  27385. },
  27386. "goodsname": {
  27387. "description": "商品名称",
  27388. "type": "string"
  27389. },
  27390. "goodsquotetype": {
  27391. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27392. "type": "integer"
  27393. },
  27394. "goodsstatus": {
  27395. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27396. "type": "integer"
  27397. },
  27398. "goodstradetype": {
  27399. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27400. "type": "integer"
  27401. },
  27402. "goodunitid": {
  27403. "description": "报价单位ID",
  27404. "type": "integer"
  27405. },
  27406. "hasquoter": {
  27407. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27408. "type": "integer"
  27409. },
  27410. "hqprotecttime": {
  27411. "description": "行情保护时间(秒)",
  27412. "type": "integer"
  27413. },
  27414. "innerdealmode": {
  27415. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27416. "type": "integer"
  27417. },
  27418. "isbuylimited": {
  27419. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27420. "type": "integer"
  27421. },
  27422. "isvisible": {
  27423. "description": "游客是否可见 - 0:不可见 1:可见",
  27424. "type": "integer"
  27425. },
  27426. "lasttradedate": {
  27427. "description": "最后交易日期(状态:待退市)",
  27428. "type": "string"
  27429. },
  27430. "listingdate": {
  27431. "description": "交易开始日期",
  27432. "type": "string"
  27433. },
  27434. "marketid": {
  27435. "description": "所属市场ID",
  27436. "type": "integer"
  27437. },
  27438. "modifierid": {
  27439. "description": "修改人",
  27440. "type": "integer"
  27441. },
  27442. "modifystatus": {
  27443. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27444. "type": "integer"
  27445. },
  27446. "modifytime": {
  27447. "description": "修改时间",
  27448. "type": "string"
  27449. },
  27450. "outerdealmode": {
  27451. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27452. "type": "integer"
  27453. },
  27454. "outgoodscode": {
  27455. "description": "商品代码(外部)",
  27456. "type": "string"
  27457. },
  27458. "pictureurl": {
  27459. "description": "商品图片",
  27460. "type": "string"
  27461. },
  27462. "qtydecimalplace": {
  27463. "description": "成交量小数位",
  27464. "type": "integer"
  27465. },
  27466. "quotegear": {
  27467. "description": "行情档位(1-10)",
  27468. "type": "integer"
  27469. },
  27470. "quoteminunit": {
  27471. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27472. "type": "integer"
  27473. },
  27474. "quoteshowtype": {
  27475. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27476. "type": "integer"
  27477. },
  27478. "quoteshowtypeinterval": {
  27479. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27480. "type": "integer"
  27481. },
  27482. "relatedgoodsid": {
  27483. "description": "关联参考商品ID",
  27484. "type": "integer"
  27485. },
  27486. "remark": {
  27487. "description": "备注",
  27488. "type": "string"
  27489. },
  27490. "trademode": {
  27491. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27492. "type": "integer"
  27493. }
  27494. }
  27495. },
  27496. "models.ErmcpGoodsBrand": {
  27497. "type": "object",
  27498. "properties": {
  27499. "areauserid": {
  27500. "description": "所属机构",
  27501. "type": "integer"
  27502. },
  27503. "brandid": {
  27504. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27505. "type": "integer"
  27506. },
  27507. "brandname": {
  27508. "description": "品牌名称",
  27509. "type": "string"
  27510. },
  27511. "createtime": {
  27512. "description": "创建时间",
  27513. "type": "string"
  27514. },
  27515. "creatorid": {
  27516. "description": "创建人",
  27517. "type": "integer"
  27518. },
  27519. "creatorsrc": {
  27520. "description": "创建人来源 - 1:管理端 2:终端",
  27521. "type": "integer"
  27522. },
  27523. "deliverygoodsid": {
  27524. "description": "现货品种ID",
  27525. "type": "integer"
  27526. },
  27527. "isvalid": {
  27528. "description": "是否有效 - 0:无效 1:有效",
  27529. "type": "integer"
  27530. },
  27531. "updatetime": {
  27532. "description": "更新时间",
  27533. "type": "string"
  27534. },
  27535. "updatorid": {
  27536. "description": "更新人",
  27537. "type": "integer"
  27538. },
  27539. "updatorsrc": {
  27540. "description": "更新人来源 - 1:管理端 2:终端",
  27541. "type": "integer"
  27542. },
  27543. "wrstandardid": {
  27544. "description": "现货商品ID",
  27545. "type": "integer"
  27546. }
  27547. }
  27548. },
  27549. "models.ErmcpGoodsModel": {
  27550. "type": "object",
  27551. "properties": {
  27552. "areauserid": {
  27553. "description": "所属机构",
  27554. "type": "integer"
  27555. },
  27556. "convertfactor": {
  27557. "description": "标仓系数",
  27558. "type": "number"
  27559. },
  27560. "createtime": {
  27561. "description": "创建时间",
  27562. "type": "string"
  27563. },
  27564. "creatorid": {
  27565. "description": "创建人",
  27566. "type": "integer"
  27567. },
  27568. "creatorsrc": {
  27569. "description": "创建人来源 - 1:管理端 2:终端",
  27570. "type": "integer"
  27571. },
  27572. "deliverygoodsid": {
  27573. "description": "现货品种ID",
  27574. "type": "integer"
  27575. },
  27576. "isvalid": {
  27577. "description": "是否有效 - 0:无效 1:有效",
  27578. "type": "integer"
  27579. },
  27580. "modelid": {
  27581. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27582. "type": "integer"
  27583. },
  27584. "modelname": {
  27585. "description": "型号名称",
  27586. "type": "string"
  27587. },
  27588. "updatetime": {
  27589. "description": "更新时间",
  27590. "type": "string"
  27591. },
  27592. "updatorid": {
  27593. "description": "更新人",
  27594. "type": "integer"
  27595. },
  27596. "updatorsrc": {
  27597. "description": "更新人来源 - 1:管理端 2:终端",
  27598. "type": "integer"
  27599. },
  27600. "wrstandardid": {
  27601. "description": "现货商品ID",
  27602. "type": "integer"
  27603. }
  27604. }
  27605. },
  27606. "models.ErmcpHisExposure": {
  27607. "type": "object",
  27608. "properties": {
  27609. "needhedgeexposoure": {
  27610. "description": "应套保敞口",
  27611. "type": "number"
  27612. },
  27613. "reckondate": {
  27614. "description": "日照时期(yyyyMMdd)",
  27615. "type": "string"
  27616. },
  27617. "totalexposure": {
  27618. "description": "总敞口",
  27619. "type": "number"
  27620. }
  27621. }
  27622. },
  27623. "models.ErmcpLoginTaAccount": {
  27624. "type": "object",
  27625. "properties": {
  27626. "accountid": {
  27627. "description": "账号id",
  27628. "type": "integer"
  27629. },
  27630. "accountname": {
  27631. "description": "账号名称",
  27632. "type": "string"
  27633. }
  27634. }
  27635. },
  27636. "models.ErmcpLoginUser": {
  27637. "type": "object",
  27638. "properties": {
  27639. "acclist": {
  27640. "description": "关联资金账号",
  27641. "type": "array",
  27642. "items": {
  27643. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27644. }
  27645. },
  27646. "accountname": {
  27647. "description": "用户名称",
  27648. "type": "string"
  27649. },
  27650. "clientroleid": {
  27651. "description": "角色id(usertype=2)",
  27652. "type": "integer"
  27653. },
  27654. "createtime": {
  27655. "description": "创建时间",
  27656. "type": "string"
  27657. },
  27658. "logincode": {
  27659. "description": "登录代码",
  27660. "type": "string"
  27661. },
  27662. "loginid": {
  27663. "description": "登录id(LOGINID)",
  27664. "type": "integer"
  27665. },
  27666. "loginname": {
  27667. "description": "登录名称(loginaccount表中的accountname字段)",
  27668. "type": "string"
  27669. },
  27670. "loginstatus": {
  27671. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27672. "type": "integer"
  27673. },
  27674. "memberuserid": {
  27675. "description": "所属会员id",
  27676. "type": "integer"
  27677. },
  27678. "mobile": {
  27679. "description": "手机号",
  27680. "type": "string"
  27681. },
  27682. "modifytime": {
  27683. "description": "修改时间",
  27684. "type": "string"
  27685. },
  27686. "password": {
  27687. "description": "密码(不可解密)",
  27688. "type": "string"
  27689. },
  27690. "rolename": {
  27691. "description": "角色名称",
  27692. "type": "string"
  27693. },
  27694. "rolestatus": {
  27695. "description": "角色状态 1-启用 2-停用",
  27696. "type": "integer"
  27697. },
  27698. "roletype": {
  27699. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27700. "type": "string"
  27701. },
  27702. "userid": {
  27703. "description": "用户id",
  27704. "type": "integer"
  27705. },
  27706. "usertype": {
  27707. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27708. "type": "integer"
  27709. }
  27710. }
  27711. },
  27712. "models.ErmcpLoginUserEx": {
  27713. "type": "object",
  27714. "properties": {
  27715. "accountstatus": {
  27716. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27717. "type": "integer"
  27718. },
  27719. "mobile": {
  27720. "description": "手机号",
  27721. "type": "string"
  27722. },
  27723. "querytype": {
  27724. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27725. "type": "integer"
  27726. },
  27727. "roleid": {
  27728. "description": "角色id(交易账户-\u003e用户id)",
  27729. "type": "integer"
  27730. },
  27731. "rolename": {
  27732. "description": "角色名称(交易账户-\u003e用户名称)",
  27733. "type": "string"
  27734. },
  27735. "userlist": {
  27736. "description": "用户列表",
  27737. "type": "array",
  27738. "items": {
  27739. "$ref": "#/definitions/models.ErmcpLoginUser"
  27740. }
  27741. },
  27742. "usertype": {
  27743. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27744. "type": "integer"
  27745. }
  27746. }
  27747. },
  27748. "models.ErmcpMiddleGoodsModel": {
  27749. "type": "object",
  27750. "properties": {
  27751. "areauserid": {
  27752. "description": "机构用户ID",
  27753. "type": "integer"
  27754. },
  27755. "createtime": {
  27756. "description": "修改时间",
  27757. "type": "string"
  27758. },
  27759. "enumdicname": {
  27760. "description": "单位名称",
  27761. "type": "string"
  27762. },
  27763. "evaluateratio": {
  27764. "description": "估价系数",
  27765. "type": "number"
  27766. },
  27767. "goodsgroupid": {
  27768. "description": "关联期货品种ID",
  27769. "type": "integer"
  27770. },
  27771. "goodsunitid": {
  27772. "description": "单位ID",
  27773. "type": "integer"
  27774. },
  27775. "isvalid": {
  27776. "description": "状态 0-无效(停用) 1-有效(正常)",
  27777. "type": "integer"
  27778. },
  27779. "middlegoodscode": {
  27780. "description": "套保品种代码",
  27781. "type": "string"
  27782. },
  27783. "middlegoodsid": {
  27784. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27785. "type": "integer"
  27786. },
  27787. "middlegoodsname": {
  27788. "description": "套保品种名称",
  27789. "type": "string"
  27790. },
  27791. "modifytime": {
  27792. "description": "修改时间",
  27793. "type": "string"
  27794. },
  27795. "needarbitrageratio": {
  27796. "description": "套利比例",
  27797. "type": "number"
  27798. },
  27799. "needhedgeratio": {
  27800. "description": "套保比率",
  27801. "type": "number"
  27802. },
  27803. "qtydecimalplace": {
  27804. "description": "数量小数位",
  27805. "type": "integer"
  27806. },
  27807. "relatedgoodsid": {
  27808. "description": "关联交易商品ID",
  27809. "type": "integer"
  27810. },
  27811. "relatedgoodstype": {
  27812. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27813. "type": "integer"
  27814. },
  27815. "remark": {
  27816. "description": "备注",
  27817. "type": "string"
  27818. }
  27819. }
  27820. },
  27821. "models.ErmcpMiddlegoodsRelateGoods": {
  27822. "type": "object",
  27823. "properties": {
  27824. "agreeunit": {
  27825. "description": "合约乘数",
  27826. "type": "number"
  27827. },
  27828. "convertratio": {
  27829. "description": "折算系数",
  27830. "type": "number"
  27831. },
  27832. "enumdicname": {
  27833. "description": "单位名称(交易商品)",
  27834. "type": "string"
  27835. },
  27836. "goodscode": {
  27837. "description": "交易商品代码",
  27838. "type": "string"
  27839. },
  27840. "goodsgroupid": {
  27841. "description": "交易品种id",
  27842. "type": "integer"
  27843. },
  27844. "goodsid": {
  27845. "description": "商品Id",
  27846. "type": "integer"
  27847. },
  27848. "goodsname": {
  27849. "description": "交易商品名称",
  27850. "type": "string"
  27851. },
  27852. "goodunitid": {
  27853. "description": "交易商品单位id",
  27854. "type": "integer"
  27855. },
  27856. "middlegoodsid": {
  27857. "description": "套保商品id",
  27858. "type": "integer"
  27859. },
  27860. "middlegoodsname": {
  27861. "description": "套保商品名称",
  27862. "type": "string"
  27863. },
  27864. "middlegoodsswcode": {
  27865. "description": "套保商品代码",
  27866. "type": "string"
  27867. },
  27868. "needarbitrageratio": {
  27869. "description": "应套利比例",
  27870. "type": "number"
  27871. },
  27872. "needhedgeratio": {
  27873. "description": "应套保比例",
  27874. "type": "number"
  27875. }
  27876. }
  27877. },
  27878. "models.ErmcpRole": {
  27879. "type": "object",
  27880. "properties": {
  27881. "areauserid": {
  27882. "description": "所属机构",
  27883. "type": "integer"
  27884. },
  27885. "autoid": {
  27886. "description": "角色ID(自增ID)",
  27887. "type": "integer"
  27888. },
  27889. "modifierid": {
  27890. "description": "修改人(创建人)",
  27891. "type": "integer"
  27892. },
  27893. "modifiername": {
  27894. "description": "修改人名称",
  27895. "type": "string"
  27896. },
  27897. "modifytime": {
  27898. "description": "修改时间(创建时间)",
  27899. "type": "string"
  27900. },
  27901. "rolename": {
  27902. "description": "角色名称",
  27903. "type": "string"
  27904. },
  27905. "rolestatus": {
  27906. "description": "角色状态 - 1:启用 2:停用",
  27907. "type": "integer"
  27908. },
  27909. "roletype": {
  27910. "description": "角色类型 - 1- 管理端 2- 交易端",
  27911. "type": "integer"
  27912. }
  27913. }
  27914. },
  27915. "models.ErmcpRoleMenu": {
  27916. "type": "object",
  27917. "properties": {
  27918. "iconame": {
  27919. "description": "菜单图标",
  27920. "type": "string"
  27921. },
  27922. "ishadrole": {
  27923. "description": "是否有权限",
  27924. "type": "boolean"
  27925. },
  27926. "menutype": {
  27927. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27928. "type": "integer"
  27929. },
  27930. "parentcode": {
  27931. "description": "上级资源代码",
  27932. "type": "string"
  27933. },
  27934. "remark": {
  27935. "description": "菜单备注",
  27936. "type": "string"
  27937. },
  27938. "resourcecode": {
  27939. "description": "菜单代码",
  27940. "type": "string"
  27941. },
  27942. "resourcelevel": {
  27943. "description": "级别",
  27944. "type": "integer"
  27945. },
  27946. "resourcename": {
  27947. "description": "菜单名称",
  27948. "type": "string"
  27949. },
  27950. "roleid": {
  27951. "description": "角色id",
  27952. "type": "integer"
  27953. },
  27954. "sort": {
  27955. "description": "排序",
  27956. "type": "integer"
  27957. },
  27958. "url": {
  27959. "description": "URL",
  27960. "type": "string"
  27961. },
  27962. "userid": {
  27963. "description": "用户id",
  27964. "type": "integer"
  27965. }
  27966. }
  27967. },
  27968. "models.ErmcpRoleMenuEx": {
  27969. "type": "object",
  27970. "properties": {
  27971. "menu": {
  27972. "description": "父级菜单",
  27973. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27974. },
  27975. "subMenu": {
  27976. "description": "子级菜单",
  27977. "type": "array",
  27978. "items": {
  27979. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27980. }
  27981. }
  27982. }
  27983. },
  27984. "models.ErmcpSpotContractModelEx": {
  27985. "type": "object",
  27986. "properties": {
  27987. "accountname": {
  27988. "description": "套期主体",
  27989. "type": "string"
  27990. },
  27991. "amount": {
  27992. "description": "金额 [1:一口价、3:暂定价]",
  27993. "type": "number"
  27994. },
  27995. "attachment": {
  27996. "description": "附件",
  27997. "type": "string"
  27998. },
  27999. "auditremark": {
  28000. "description": "审核意见",
  28001. "type": "string"
  28002. },
  28003. "audittime": {
  28004. "description": "审核时间",
  28005. "type": "string"
  28006. },
  28007. "avgprice": {
  28008. "description": "定价均价 = 已定价金额 / 已定价量",
  28009. "type": "number"
  28010. },
  28011. "brandname": {
  28012. "description": "品牌名称",
  28013. "type": "string"
  28014. },
  28015. "buyuserid": {
  28016. "description": "采购方ID",
  28017. "type": "integer"
  28018. },
  28019. "buyusername": {
  28020. "description": "采购方名称",
  28021. "type": "string"
  28022. },
  28023. "contracctstatus": {
  28024. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28025. "type": "integer"
  28026. },
  28027. "contractmargin": {
  28028. "description": "合同保证金",
  28029. "type": "number"
  28030. },
  28031. "contractno": {
  28032. "description": "[合同编号]现货合同编号",
  28033. "type": "string"
  28034. },
  28035. "contracttype": {
  28036. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28037. "type": "integer"
  28038. },
  28039. "convertfactor": {
  28040. "description": "标仓系数",
  28041. "type": "number"
  28042. },
  28043. "createtime": {
  28044. "description": "创建时间",
  28045. "type": "string"
  28046. },
  28047. "customername": {
  28048. "description": "对手方",
  28049. "type": "string"
  28050. },
  28051. "customeruserid": {
  28052. "description": "客户ID",
  28053. "type": "integer"
  28054. },
  28055. "deliveryenddate": {
  28056. "description": "交收期(结束)",
  28057. "type": "string"
  28058. },
  28059. "deliverygoodscode": {
  28060. "description": "现货品种代码",
  28061. "type": "string"
  28062. },
  28063. "deliverygoodsid": {
  28064. "description": "现货品种ID",
  28065. "type": "integer"
  28066. },
  28067. "deliverygoodsname": {
  28068. "description": "现货品种名称",
  28069. "type": "string"
  28070. },
  28071. "deliverystartdate": {
  28072. "description": "交收期(开始)",
  28073. "type": "string"
  28074. },
  28075. "enddate": {
  28076. "description": "点价结束日期 [2:点价 3:暂定价]",
  28077. "type": "string"
  28078. },
  28079. "enumdicname": {
  28080. "description": "单位名称",
  28081. "type": "string"
  28082. },
  28083. "goodscode": {
  28084. "description": "点价合约代码",
  28085. "type": "string"
  28086. },
  28087. "goodsid": {
  28088. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28089. "type": "integer"
  28090. },
  28091. "goodsname": {
  28092. "description": "点价商品名称",
  28093. "type": "string"
  28094. },
  28095. "isrelated": {
  28096. "description": "是否已关联计划项目 - 0:否 1:是",
  28097. "type": "integer"
  28098. },
  28099. "isrelated2": {
  28100. "description": "是否已关联现货项目 - 0:否 1:是",
  28101. "type": "integer"
  28102. },
  28103. "margin": {
  28104. "description": "当前保证金",
  28105. "type": "number"
  28106. },
  28107. "modelname": {
  28108. "description": "型号名称",
  28109. "type": "string"
  28110. },
  28111. "price": {
  28112. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28113. "type": "number"
  28114. },
  28115. "pricedamount": {
  28116. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28117. "type": "number"
  28118. },
  28119. "pricedqty": {
  28120. "description": "已定价量",
  28121. "type": "number"
  28122. },
  28123. "pricemove": {
  28124. "description": "升贴水 [2:点价 3:暂定价]",
  28125. "type": "number"
  28126. },
  28127. "pricetype": {
  28128. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28129. "type": "integer"
  28130. },
  28131. "producttype": {
  28132. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28133. "type": "integer"
  28134. },
  28135. "qty": {
  28136. "description": "[合同数量]数量",
  28137. "type": "number"
  28138. },
  28139. "remark": {
  28140. "description": "备注",
  28141. "type": "string"
  28142. },
  28143. "selluserid": {
  28144. "description": "销售方ID",
  28145. "type": "integer"
  28146. },
  28147. "sellusername": {
  28148. "description": "销售方名称",
  28149. "type": "string"
  28150. },
  28151. "spotamount": {
  28152. "description": "合同现货金额 [不含升贴水]",
  28153. "type": "number"
  28154. },
  28155. "spotavgprice": {
  28156. "description": "现货均价 = 合同现货金额 / 已定价量",
  28157. "type": "number"
  28158. },
  28159. "spotcontractid": {
  28160. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28161. "type": "string"
  28162. },
  28163. "spotgoodsbrandid": {
  28164. "description": "现货品牌ID",
  28165. "type": "integer"
  28166. },
  28167. "spotgoodsdesc": {
  28168. "description": "商品型号",
  28169. "type": "string"
  28170. },
  28171. "spotgoodsmodelid": {
  28172. "description": "现货型号ID",
  28173. "type": "integer"
  28174. },
  28175. "startdate": {
  28176. "description": "点价开始日期 [2:点价 3:暂定价]",
  28177. "type": "string"
  28178. },
  28179. "tradeuserid": {
  28180. "description": "交易用户ID",
  28181. "type": "integer"
  28182. },
  28183. "unpricedqty": {
  28184. "description": "未定价量 = 合同数量 - 已定价量",
  28185. "type": "number"
  28186. },
  28187. "updatetime": {
  28188. "description": "更新时间",
  28189. "type": "string"
  28190. },
  28191. "userid": {
  28192. "description": "机构ID",
  28193. "type": "integer"
  28194. },
  28195. "wrstandardcode": {
  28196. "description": "现货商品代码",
  28197. "type": "string"
  28198. },
  28199. "wrstandardid": {
  28200. "description": "现货商品ID",
  28201. "type": "integer"
  28202. },
  28203. "wrstandardname": {
  28204. "description": "[现货商品]现货商品名称",
  28205. "type": "string"
  28206. }
  28207. }
  28208. },
  28209. "models.ErmcpTaAccount": {
  28210. "type": "object",
  28211. "properties": {
  28212. "accountid": {
  28213. "description": "账户id",
  28214. "type": "integer"
  28215. },
  28216. "accountname": {
  28217. "description": "账户名称",
  28218. "type": "string"
  28219. },
  28220. "currencyid": {
  28221. "description": "币种id",
  28222. "type": "integer"
  28223. },
  28224. "hedgeaccountcode": {
  28225. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28226. "type": "string"
  28227. },
  28228. "ismain": {
  28229. "description": "是否主账户 0-否 1-是",
  28230. "type": "integer"
  28231. },
  28232. "parentaccountid": {
  28233. "description": "父账户id",
  28234. "type": "integer"
  28235. },
  28236. "relateduserid": {
  28237. "description": "关联userid",
  28238. "type": "integer"
  28239. },
  28240. "tradefeetmpid": {
  28241. "description": "手续费模板id",
  28242. "type": "integer"
  28243. },
  28244. "tradefeetmpname": {
  28245. "description": "手续费模板名称",
  28246. "type": "string"
  28247. },
  28248. "trademargintmpid": {
  28249. "description": "保证金模板id",
  28250. "type": "integer"
  28251. },
  28252. "trademargintmpname": {
  28253. "description": "保证金模板名称",
  28254. "type": "string"
  28255. },
  28256. "traderatetmpid": {
  28257. "description": "汇率模板id",
  28258. "type": "integer"
  28259. },
  28260. "traderatetmpname": {
  28261. "description": "汇率模板名称",
  28262. "type": "string"
  28263. },
  28264. "tradestatus": {
  28265. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28266. "type": "integer"
  28267. },
  28268. "userid": {
  28269. "description": "用户id",
  28270. "type": "integer"
  28271. }
  28272. }
  28273. },
  28274. "models.ErmcpTaAccountEx": {
  28275. "type": "object",
  28276. "properties": {
  28277. "mainAcc": {
  28278. "description": "主账号",
  28279. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28280. },
  28281. "subacclist": {
  28282. "description": "子账号列表",
  28283. "type": "array",
  28284. "items": {
  28285. "$ref": "#/definitions/models.ErmcpTaAccount"
  28286. }
  28287. }
  28288. }
  28289. },
  28290. "models.ErmcpTaAccountInfo": {
  28291. "type": "object",
  28292. "properties": {
  28293. "accountid": {
  28294. "description": "资金账户ID",
  28295. "type": "integer"
  28296. },
  28297. "accountname": {
  28298. "description": "账户名称",
  28299. "type": "string"
  28300. },
  28301. "balance": {
  28302. "description": "期初余额",
  28303. "type": "number"
  28304. },
  28305. "capitalbalance": {
  28306. "description": "本金余额[外部子账户实际出入金余额]",
  28307. "type": "number"
  28308. },
  28309. "closepl": {
  28310. "description": "今日平仓盈亏",
  28311. "type": "number"
  28312. },
  28313. "creditdecrease": {
  28314. "description": "今日授信减少",
  28315. "type": "number"
  28316. },
  28317. "creditincrease": {
  28318. "description": "今日授信增加",
  28319. "type": "number"
  28320. },
  28321. "curdebt": {
  28322. "description": "期末欠款",
  28323. "type": "number"
  28324. },
  28325. "currencyid": {
  28326. "description": "货币ID",
  28327. "type": "integer"
  28328. },
  28329. "currentbalance": {
  28330. "description": "期末余额",
  28331. "type": "number"
  28332. },
  28333. "freezecharge": {
  28334. "description": "手续费冻结",
  28335. "type": "number"
  28336. },
  28337. "freezemargin": {
  28338. "description": "冻结保证金",
  28339. "type": "number"
  28340. },
  28341. "fromaccountid": {
  28342. "description": "所属上级账户",
  28343. "type": "integer"
  28344. },
  28345. "inamount": {
  28346. "description": "今日入金金额(包括三方入金)",
  28347. "type": "number"
  28348. },
  28349. "ismain": {
  28350. "description": "是否母账号 0:不是母账户 1:是母账户",
  28351. "type": "integer"
  28352. },
  28353. "mortgagecredit": {
  28354. "description": "授信金额",
  28355. "type": "number"
  28356. },
  28357. "oridebt": {
  28358. "description": "期初欠款",
  28359. "type": "number"
  28360. },
  28361. "orifreezecharge": {
  28362. "description": "期初手续费冻结",
  28363. "type": "number"
  28364. },
  28365. "orifreezemargin": {
  28366. "description": "期初冻结保证金",
  28367. "type": "number"
  28368. },
  28369. "orimortgagecredit": {
  28370. "description": "期初授信金额",
  28371. "type": "number"
  28372. },
  28373. "oriothercredit": {
  28374. "description": "期初其它授信金额",
  28375. "type": "number"
  28376. },
  28377. "oriotherfreezemargin": {
  28378. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28379. "type": "number"
  28380. },
  28381. "orioutamountfreeze": {
  28382. "description": "期初出金冻结",
  28383. "type": "number"
  28384. },
  28385. "oriusedmargin": {
  28386. "description": "期初占用保证金",
  28387. "type": "number"
  28388. },
  28389. "othercredit": {
  28390. "description": "其它授信金额",
  28391. "type": "number"
  28392. },
  28393. "othercreditdecrease": {
  28394. "description": "今日其它授信减少",
  28395. "type": "number"
  28396. },
  28397. "othercreditincrease": {
  28398. "description": "今日其它授信增加",
  28399. "type": "number"
  28400. },
  28401. "otherfreezemargin": {
  28402. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28403. "type": "number"
  28404. },
  28405. "outamount": {
  28406. "description": "今日出金金额(包括三方出金)",
  28407. "type": "number"
  28408. },
  28409. "outamountfreeze": {
  28410. "description": "出金冻结",
  28411. "type": "number"
  28412. },
  28413. "outthreshold": {
  28414. "description": "出金阈值",
  28415. "type": "number"
  28416. },
  28417. "parentaccountid": {
  28418. "description": "所属根账号",
  28419. "type": "integer"
  28420. },
  28421. "paycharge": {
  28422. "description": "今日手续费支出",
  28423. "type": "number"
  28424. },
  28425. "relateduserid": {
  28426. "description": "关联用户",
  28427. "type": "integer"
  28428. },
  28429. "signstatus": {
  28430. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28431. "type": "integer"
  28432. },
  28433. "sublevelpath": {
  28434. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28435. "type": "string"
  28436. },
  28437. "taaccounttype": {
  28438. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28439. "type": "integer"
  28440. },
  28441. "thirdinamount": {
  28442. "description": "今日三方入金",
  28443. "type": "number"
  28444. },
  28445. "thirdoutamount": {
  28446. "description": "今日三方出金",
  28447. "type": "number"
  28448. },
  28449. "tradestatus": {
  28450. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28451. "type": "integer"
  28452. },
  28453. "transferamount": {
  28454. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28455. "type": "number"
  28456. },
  28457. "usedmargin": {
  28458. "description": "占用保证金",
  28459. "type": "number"
  28460. },
  28461. "userid": {
  28462. "description": "用户ID",
  28463. "type": "integer"
  28464. }
  28465. }
  28466. },
  28467. "models.ErmcpTaAccountM": {
  28468. "type": "object",
  28469. "properties": {
  28470. "accountid": {
  28471. "description": "账户id",
  28472. "type": "integer"
  28473. },
  28474. "accountname": {
  28475. "description": "账户名称",
  28476. "type": "string"
  28477. },
  28478. "currencyid": {
  28479. "description": "币种id",
  28480. "type": "integer"
  28481. },
  28482. "fcid": {
  28483. "description": "期货公司id",
  28484. "type": "integer"
  28485. },
  28486. "fcname": {
  28487. "description": "期货公司代码",
  28488. "type": "string"
  28489. },
  28490. "hedgeaccountcode": {
  28491. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28492. "type": "string"
  28493. },
  28494. "ismain": {
  28495. "description": "是否主账户 0-否 1-是",
  28496. "type": "integer"
  28497. },
  28498. "parentaccountid": {
  28499. "description": "父账户id",
  28500. "type": "integer"
  28501. },
  28502. "relateduserid": {
  28503. "description": "关联userid",
  28504. "type": "integer"
  28505. },
  28506. "tradefeetmpid": {
  28507. "description": "手续费模板id",
  28508. "type": "integer"
  28509. },
  28510. "tradefeetmpname": {
  28511. "description": "手续费模板名称",
  28512. "type": "string"
  28513. },
  28514. "trademargintmpid": {
  28515. "description": "保证金模板id",
  28516. "type": "integer"
  28517. },
  28518. "trademargintmpname": {
  28519. "description": "保证金模板名称",
  28520. "type": "string"
  28521. },
  28522. "traderatetmpid": {
  28523. "description": "汇率模板id",
  28524. "type": "integer"
  28525. },
  28526. "traderatetmpname": {
  28527. "description": "汇率模板名称",
  28528. "type": "string"
  28529. },
  28530. "tradestatus": {
  28531. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28532. "type": "integer"
  28533. },
  28534. "userid": {
  28535. "description": "用户id",
  28536. "type": "integer"
  28537. }
  28538. }
  28539. },
  28540. "models.ErmcpTradeConfigTMP": {
  28541. "type": "object",
  28542. "properties": {
  28543. "areauserid": {
  28544. "description": "所属机构",
  28545. "type": "integer"
  28546. },
  28547. "basiccurrencyid": {
  28548. "description": "基本币种ID[汇率] - 目标币种",
  28549. "type": "integer"
  28550. },
  28551. "mainaccountid": {
  28552. "description": "主账户ID",
  28553. "type": "integer"
  28554. },
  28555. "modifierid": {
  28556. "description": "修改人",
  28557. "type": "integer"
  28558. },
  28559. "remark": {
  28560. "description": "备注",
  28561. "type": "string"
  28562. },
  28563. "tradeconfigtmpid": {
  28564. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28565. "type": "integer"
  28566. },
  28567. "tradeconfigtmpname": {
  28568. "description": "交易配置模板名称",
  28569. "type": "string"
  28570. },
  28571. "tradeconfigtmptype": {
  28572. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28573. "type": "integer"
  28574. },
  28575. "updatetime": {
  28576. "description": "更新时间",
  28577. "type": "string"
  28578. }
  28579. }
  28580. },
  28581. "models.Ermcpjrlinkpos": {
  28582. "type": "object",
  28583. "required": [
  28584. "spotcontractid"
  28585. ],
  28586. "properties": {
  28587. "areauserid": {
  28588. "description": "所属企业",
  28589. "type": "integer"
  28590. },
  28591. "averageprice": {
  28592. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28593. "type": "number"
  28594. },
  28595. "closepl": {
  28596. "description": "总平仓盈亏 [期货损益]",
  28597. "type": "number"
  28598. },
  28599. "executeprice": {
  28600. "description": "执行价 - 1:期货单 为 0",
  28601. "type": "integer"
  28602. },
  28603. "futurehedgeqty": {
  28604. "description": "期货套期量",
  28605. "type": "number"
  28606. },
  28607. "goodsid": {
  28608. "description": "期货合约",
  28609. "type": "integer"
  28610. },
  28611. "middlegoodscode": {
  28612. "description": "套保商品代码",
  28613. "type": "string"
  28614. },
  28615. "middlegoodsname": {
  28616. "description": "套保商品名称",
  28617. "type": "string"
  28618. },
  28619. "netqty": {
  28620. "description": "净头寸",
  28621. "type": "number"
  28622. },
  28623. "optioncode": {
  28624. "description": "期权代码",
  28625. "type": "string"
  28626. },
  28627. "ordertype": {
  28628. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28629. "type": "integer"
  28630. },
  28631. "reckonpl": {
  28632. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28633. "type": "number"
  28634. },
  28635. "spotcontractid": {
  28636. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28637. "type": "string"
  28638. },
  28639. "todayfutureclosepl": {
  28640. "description": "今日平仓盈亏",
  28641. "type": "number"
  28642. },
  28643. "totalbuyamount": {
  28644. "description": "买金额 [期货]",
  28645. "type": "number"
  28646. },
  28647. "totalbuyholdamount": {
  28648. "description": "买持仓总金额[期货]",
  28649. "type": "number"
  28650. },
  28651. "totalbuyqty": {
  28652. "description": "买数量",
  28653. "type": "number"
  28654. },
  28655. "totalcharge": {
  28656. "description": "手续费",
  28657. "type": "number"
  28658. },
  28659. "totalpremium": {
  28660. "description": "权利金 [期权]",
  28661. "type": "number"
  28662. },
  28663. "totalsellamount": {
  28664. "description": "卖金额 [期货]",
  28665. "type": "number"
  28666. },
  28667. "totalsellholdamount": {
  28668. "description": "卖持仓总金额[期货]",
  28669. "type": "number"
  28670. },
  28671. "totalsellqty": {
  28672. "description": "卖数量",
  28673. "type": "number"
  28674. },
  28675. "updatetime": {
  28676. "description": "更新时间",
  28677. "type": "string"
  28678. }
  28679. }
  28680. },
  28681. "models.Ermcppatradelinkdetail": {
  28682. "type": "object",
  28683. "required": [
  28684. "hedgeditemid"
  28685. ],
  28686. "properties": {
  28687. "agreeunit": {
  28688. "description": "合约乘数",
  28689. "type": "number"
  28690. },
  28691. "amount": {
  28692. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28693. "type": "number"
  28694. },
  28695. "areauserid": {
  28696. "description": "所属机构",
  28697. "type": "integer"
  28698. },
  28699. "bizsubjectid": {
  28700. "description": "归属业务部门ID - SubjectID",
  28701. "type": "integer"
  28702. },
  28703. "buyorsell": {
  28704. "description": "方向 - 0:买 1:卖",
  28705. "type": "integer"
  28706. },
  28707. "convertratio": {
  28708. "description": "品种系数",
  28709. "type": "number"
  28710. },
  28711. "createtime": {
  28712. "description": "创建时间",
  28713. "type": "string"
  28714. },
  28715. "creatorid": {
  28716. "description": "创建人ID",
  28717. "type": "integer"
  28718. },
  28719. "creatorsrc": {
  28720. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28721. "type": "integer"
  28722. },
  28723. "goodsgroupid": {
  28724. "description": "对冲品种ID[期货合约商品组ID]",
  28725. "type": "integer"
  28726. },
  28727. "goodsid": {
  28728. "description": "商品ID",
  28729. "type": "integer"
  28730. },
  28731. "hedgeditemid": {
  28732. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28733. "type": "integer"
  28734. },
  28735. "hedgeflag": {
  28736. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28737. "type": "integer"
  28738. },
  28739. "linkdetailid": {
  28740. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28741. "type": "string"
  28742. },
  28743. "linkstatus": {
  28744. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28745. "type": "integer"
  28746. },
  28747. "middlegoodsid": {
  28748. "description": "套保品种ID",
  28749. "type": "integer"
  28750. },
  28751. "name": {
  28752. "description": "账户名/子账户",
  28753. "type": "string"
  28754. },
  28755. "optioncode": {
  28756. "description": "[期货合约]期权代码 [期权]",
  28757. "type": "string"
  28758. },
  28759. "ordertype": {
  28760. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28761. "type": "integer"
  28762. },
  28763. "relatedlot": {
  28764. "description": "[数量]关联手数",
  28765. "type": "number"
  28766. },
  28767. "relatedmode": {
  28768. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28769. "type": "integer"
  28770. },
  28771. "relatedqty": {
  28772. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28773. "type": "number"
  28774. },
  28775. "retcode": {
  28776. "description": "返回码",
  28777. "type": "integer"
  28778. },
  28779. "saleuserid": {
  28780. "description": "业务员ID",
  28781. "type": "integer"
  28782. },
  28783. "tradedate": {
  28784. "description": "关联交易日(yyyyMMdd)",
  28785. "type": "string"
  28786. },
  28787. "tradeid": {
  28788. "description": "[成交单号]内部成交单ID",
  28789. "type": "string"
  28790. },
  28791. "tradelot": {
  28792. "description": "成交手数",
  28793. "type": "integer"
  28794. },
  28795. "tradeprice": {
  28796. "description": "[价格]成交价格",
  28797. "type": "number"
  28798. },
  28799. "tradetime": {
  28800. "description": "日期时间",
  28801. "type": "string"
  28802. },
  28803. "tradetradedate": {
  28804. "description": "成交交易日(yyyyMMdd)",
  28805. "type": "string"
  28806. }
  28807. }
  28808. },
  28809. "models.Exchangerateconfig": {
  28810. "type": "object",
  28811. "properties": {
  28812. "descurrencyid": {
  28813. "description": "目标币种ID",
  28814. "type": "integer"
  28815. },
  28816. "exchangerate": {
  28817. "description": "汇率",
  28818. "type": "number"
  28819. },
  28820. "oricurrencyid": {
  28821. "description": "源币种ID",
  28822. "type": "integer"
  28823. },
  28824. "remark": {
  28825. "description": "备注",
  28826. "type": "string"
  28827. }
  28828. }
  28829. },
  28830. "models.Externalexchange": {
  28831. "type": "object",
  28832. "required": [
  28833. "autoid"
  28834. ],
  28835. "properties": {
  28836. "autoid": {
  28837. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28838. "type": "integer"
  28839. },
  28840. "exchangefullname": {
  28841. "description": "外部交易所全称",
  28842. "type": "string"
  28843. },
  28844. "exexchangecode": {
  28845. "description": "外部交易所代码",
  28846. "type": "string"
  28847. },
  28848. "exexchangename": {
  28849. "description": "外部交易所名称(简称)",
  28850. "type": "string"
  28851. },
  28852. "ismarketprice": {
  28853. "description": "是否支持市价 - 0:不支持 1:支持",
  28854. "type": "integer"
  28855. },
  28856. "quotegear": {
  28857. "description": "行情档位(1-10)",
  28858. "type": "integer"
  28859. },
  28860. "showbrokerflag": {
  28861. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28862. "type": "integer"
  28863. },
  28864. "updatetime": {
  28865. "description": "更新时间",
  28866. "type": "string"
  28867. }
  28868. }
  28869. },
  28870. "models.Funcmenulist": {
  28871. "type": "object",
  28872. "required": [
  28873. "resourcecode"
  28874. ],
  28875. "properties": {
  28876. "iconame": {
  28877. "description": "菜单图标",
  28878. "type": "string"
  28879. },
  28880. "menutype": {
  28881. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28882. "type": "integer"
  28883. },
  28884. "parentcode": {
  28885. "description": "上级资源代码",
  28886. "type": "string"
  28887. },
  28888. "remark": {
  28889. "description": "备注",
  28890. "type": "string"
  28891. },
  28892. "resourcecode": {
  28893. "description": "资源代码",
  28894. "type": "string"
  28895. },
  28896. "resourcelevel": {
  28897. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28898. "type": "integer"
  28899. },
  28900. "resourcename": {
  28901. "description": "资源名",
  28902. "type": "string"
  28903. },
  28904. "sort": {
  28905. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28906. "type": "integer"
  28907. },
  28908. "url": {
  28909. "description": "URL",
  28910. "type": "string"
  28911. }
  28912. }
  28913. },
  28914. "models.GZGoods": {
  28915. "type": "object",
  28916. "required": [
  28917. "goodsno"
  28918. ],
  28919. "properties": {
  28920. "cerno": {
  28921. "description": "证书编号 - 类型:2,4,5",
  28922. "type": "string"
  28923. },
  28924. "cpcertno": {
  28925. "description": "金伯利证书编号 - 类型:3",
  28926. "type": "string"
  28927. },
  28928. "goodsno": {
  28929. "description": "商品编号",
  28930. "type": "string"
  28931. },
  28932. "imagepath": {
  28933. "description": "商品照片(相对地址)",
  28934. "type": "string"
  28935. },
  28936. "isvalid": {
  28937. "description": "是否有效 - 0:无效 1:有效",
  28938. "type": "integer"
  28939. },
  28940. "kppath": {
  28941. "description": "金伯利证书图片(相对地址) - 类型:3",
  28942. "type": "string"
  28943. },
  28944. "kpweight": {
  28945. "description": "金伯利证书重量 - 类型:3",
  28946. "type": "string"
  28947. },
  28948. "marketprice": {
  28949. "description": "市场价",
  28950. "type": "string"
  28951. },
  28952. "mobile": {
  28953. "description": "手机号码",
  28954. "type": "string"
  28955. },
  28956. "origin": {
  28957. "description": "原产地 - 类型:3",
  28958. "type": "string"
  28959. },
  28960. "price": {
  28961. "description": "总价(价格) - 类型:1,2,3,4,5",
  28962. "type": "number"
  28963. },
  28964. "priceper": {
  28965. "description": "克拉单价 - 类型:1,2,3,5",
  28966. "type": "string"
  28967. },
  28968. "remainqty": {
  28969. "description": "剩余重量",
  28970. "type": "number"
  28971. },
  28972. "remark": {
  28973. "description": "备注",
  28974. "type": "string"
  28975. },
  28976. "sellusername": {
  28977. "description": "账户名称(机构名称)",
  28978. "type": "string"
  28979. },
  28980. "settingmaterial": {
  28981. "description": "镶嵌材料 - 类型:4",
  28982. "type": "string"
  28983. },
  28984. "size1": {
  28985. "description": "尺寸1 - 类型:2,4,5",
  28986. "type": "string"
  28987. },
  28988. "size2": {
  28989. "description": "尺寸2 - 类型:2,4,5",
  28990. "type": "string"
  28991. },
  28992. "size3": {
  28993. "description": "尺寸3 - 类型:2,4,5",
  28994. "type": "string"
  28995. },
  28996. "stonedesc": {
  28997. "description": "配石描述 - 类型:4",
  28998. "type": "string"
  28999. },
  29000. "userid": {
  29001. "description": "用户ID",
  29002. "type": "integer"
  29003. },
  29004. "warehouseid": {
  29005. "description": "仓库ID",
  29006. "type": "integer"
  29007. },
  29008. "warehousenamedisplay": {
  29009. "type": "string"
  29010. },
  29011. "weight": {
  29012. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29013. "type": "number"
  29014. },
  29015. "weightavg": {
  29016. "description": "平均单颗重量 - 类型:1,3",
  29017. "type": "number"
  29018. },
  29019. "wrpath": {
  29020. "description": "仓单扫描件(相对地址)",
  29021. "type": "string"
  29022. },
  29023. "wrstandardid": {
  29024. "description": "现货商品ID",
  29025. "type": "integer"
  29026. },
  29027. "wrtradeorderid": {
  29028. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29029. "type": "string"
  29030. },
  29031. "zscategory": {
  29032. "description": "钻石分类 - 枚举”ZSCategory“",
  29033. "type": "integer"
  29034. },
  29035. "zscategorydisplay": {
  29036. "type": "string"
  29037. },
  29038. "zscerttype": {
  29039. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29040. "type": "integer"
  29041. },
  29042. "zscerttypedisplay": {
  29043. "type": "string"
  29044. },
  29045. "zsclaritytype1": {
  29046. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29047. "type": "integer"
  29048. },
  29049. "zsclaritytype1display": {
  29050. "type": "string"
  29051. },
  29052. "zsclaritytype2": {
  29053. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29054. "type": "integer"
  29055. },
  29056. "zsclaritytype2display": {
  29057. "type": "string"
  29058. },
  29059. "zscolortype1": {
  29060. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29061. "type": "integer"
  29062. },
  29063. "zscolortype1display": {
  29064. "type": "string"
  29065. },
  29066. "zscolortype2": {
  29067. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29068. "type": "integer"
  29069. },
  29070. "zscolortype2display": {
  29071. "type": "string"
  29072. },
  29073. "zscrystaltype": {
  29074. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29075. "type": "string"
  29076. },
  29077. "zscrystaltypedisplay": {
  29078. "type": "string"
  29079. },
  29080. "zscurrencytype": {
  29081. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29082. "type": "integer"
  29083. },
  29084. "zscurrencytypedisplay": {
  29085. "type": "string"
  29086. },
  29087. "zscurrencytypedisplayunit": {
  29088. "type": "string"
  29089. },
  29090. "zscuttype1": {
  29091. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29092. "type": "integer"
  29093. },
  29094. "zscuttype1display": {
  29095. "type": "string"
  29096. },
  29097. "zscuttype2": {
  29098. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29099. "type": "integer"
  29100. },
  29101. "zscuttype2display": {
  29102. "type": "string"
  29103. },
  29104. "zsczcolor1type": {
  29105. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29106. "type": "integer"
  29107. },
  29108. "zsczcolor1typedisplay": {
  29109. "type": "string"
  29110. },
  29111. "zsczcolor2type": {
  29112. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29113. "type": "integer"
  29114. },
  29115. "zsczcolor2typedisplay": {
  29116. "type": "string"
  29117. },
  29118. "zsczcolor3type": {
  29119. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29120. "type": "integer"
  29121. },
  29122. "zsczcolor3typedisplay": {
  29123. "type": "string"
  29124. },
  29125. "zsfluorescencetype1": {
  29126. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29127. "type": "integer"
  29128. },
  29129. "zsfluorescencetype1display": {
  29130. "type": "string"
  29131. },
  29132. "zsfluorescencetype2": {
  29133. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29134. "type": "integer"
  29135. },
  29136. "zsfluorescencetype2display": {
  29137. "type": "string"
  29138. },
  29139. "zspolishtype1": {
  29140. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29141. "type": "integer"
  29142. },
  29143. "zspolishtype1display": {
  29144. "type": "string"
  29145. },
  29146. "zspolishtype2": {
  29147. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29148. "type": "integer"
  29149. },
  29150. "zspolishtype2display": {
  29151. "type": "string"
  29152. },
  29153. "zsshapetype": {
  29154. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29155. "type": "string"
  29156. },
  29157. "zsshapetypedisplay": {
  29158. "type": "string"
  29159. },
  29160. "zsstyletype": {
  29161. "description": "款式 - 类型:4",
  29162. "type": "integer"
  29163. },
  29164. "zsstyletypedisplay": {
  29165. "type": "string"
  29166. },
  29167. "zssymmetrytype1": {
  29168. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29169. "type": "integer"
  29170. },
  29171. "zssymmetrytype1display": {
  29172. "type": "string"
  29173. },
  29174. "zssymmetrytype2": {
  29175. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29176. "type": "integer"
  29177. },
  29178. "zssymmetrytype2display": {
  29179. "type": "string"
  29180. }
  29181. }
  29182. },
  29183. "models.GZWarehouseinfo": {
  29184. "type": "object",
  29185. "properties": {
  29186. "address": {
  29187. "description": "详细地址",
  29188. "type": "string"
  29189. },
  29190. "areauserid": {
  29191. "description": "所属机构",
  29192. "type": "integer"
  29193. },
  29194. "autoid": {
  29195. "description": "自增ID",
  29196. "type": "integer"
  29197. },
  29198. "cityid": {
  29199. "description": "市",
  29200. "type": "integer"
  29201. },
  29202. "contactname": {
  29203. "description": "联系人",
  29204. "type": "string"
  29205. },
  29206. "contactnum": {
  29207. "description": "联系电话",
  29208. "type": "string"
  29209. },
  29210. "countryid": {
  29211. "description": "国家",
  29212. "type": "integer"
  29213. },
  29214. "createtime": {
  29215. "description": "创建时间",
  29216. "type": "string"
  29217. },
  29218. "districtid": {
  29219. "description": "区",
  29220. "type": "integer"
  29221. },
  29222. "hasvideo": {
  29223. "description": "是否有视频 - 0:无 1:有",
  29224. "type": "integer"
  29225. },
  29226. "provinceid": {
  29227. "description": "省",
  29228. "type": "integer"
  29229. },
  29230. "remark": {
  29231. "description": "审核备注",
  29232. "type": "string"
  29233. },
  29234. "videourl": {
  29235. "description": "视频地址",
  29236. "type": "string"
  29237. },
  29238. "warehousecode": {
  29239. "description": "仓库代码",
  29240. "type": "string"
  29241. },
  29242. "warehousename": {
  29243. "description": "仓库名称",
  29244. "type": "string"
  29245. },
  29246. "warehousestatus": {
  29247. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29248. "type": "integer"
  29249. },
  29250. "warehousetype": {
  29251. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29252. "type": "integer"
  29253. }
  29254. }
  29255. },
  29256. "models.Goods": {
  29257. "type": "object",
  29258. "required": [
  29259. "goodscode",
  29260. "goodsid",
  29261. "goodsname",
  29262. "marketid"
  29263. ],
  29264. "properties": {
  29265. "agreeunit": {
  29266. "description": "合约单位",
  29267. "type": "number"
  29268. },
  29269. "areauserid": {
  29270. "description": "所属机构",
  29271. "type": "integer"
  29272. },
  29273. "auditaccountid": {
  29274. "description": "审核操作员账号",
  29275. "type": "integer"
  29276. },
  29277. "audittime": {
  29278. "description": "审核时间",
  29279. "type": "string"
  29280. },
  29281. "cancelaccountid": {
  29282. "description": "注销操作员账号",
  29283. "type": "integer"
  29284. },
  29285. "canceltime": {
  29286. "description": "注销时间",
  29287. "type": "string"
  29288. },
  29289. "closepricemode": {
  29290. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29291. "type": "integer"
  29292. },
  29293. "closepriceparam": {
  29294. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29295. "type": "number"
  29296. },
  29297. "createtime": {
  29298. "description": "创建时间",
  29299. "type": "string"
  29300. },
  29301. "creatorid": {
  29302. "description": "创建人",
  29303. "type": "integer"
  29304. },
  29305. "currencyid": {
  29306. "description": "报价货币ID",
  29307. "type": "integer"
  29308. },
  29309. "cutmode": {
  29310. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29311. "type": "integer"
  29312. },
  29313. "decimalplace": {
  29314. "description": "报价小数位",
  29315. "type": "integer"
  29316. },
  29317. "delistingdate": {
  29318. "description": "商品退市时间(状态:退市) -- 已作废",
  29319. "type": "string"
  29320. },
  29321. "delistingmode": {
  29322. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29323. "type": "integer"
  29324. },
  29325. "deliveryflag": {
  29326. "description": "交割标志 - 0:不可交割 1:可交割",
  29327. "type": "integer"
  29328. },
  29329. "forceclosemode": {
  29330. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29331. "type": "integer"
  29332. },
  29333. "forceclosevalue": {
  29334. "description": "定期强平参数 [收益权]",
  29335. "type": "integer"
  29336. },
  29337. "goodscode": {
  29338. "description": "商品代码(内部)",
  29339. "type": "string"
  29340. },
  29341. "goodscurrencyid": {
  29342. "description": "合约货币ID",
  29343. "type": "integer"
  29344. },
  29345. "goodsgroupid": {
  29346. "description": "所属商品组ID",
  29347. "type": "integer"
  29348. },
  29349. "goodsid": {
  29350. "description": "商品ID(自增ID SEQ_GOODS)",
  29351. "type": "integer"
  29352. },
  29353. "goodsname": {
  29354. "description": "商品名称",
  29355. "type": "string"
  29356. },
  29357. "goodsquotetype": {
  29358. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29359. "type": "integer"
  29360. },
  29361. "goodsstatus": {
  29362. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29363. "type": "integer"
  29364. },
  29365. "goodstradetype": {
  29366. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29367. "type": "integer"
  29368. },
  29369. "goodunitid": {
  29370. "description": "报价单位ID",
  29371. "type": "integer"
  29372. },
  29373. "hasquoter": {
  29374. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29375. "type": "integer"
  29376. },
  29377. "hqprotecttime": {
  29378. "description": "行情保护时间(秒)",
  29379. "type": "integer"
  29380. },
  29381. "innerdealmode": {
  29382. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29383. "type": "integer"
  29384. },
  29385. "isbuylimited": {
  29386. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29387. "type": "integer"
  29388. },
  29389. "isvisible": {
  29390. "description": "游客是否可见 - 0:不可见 1:可见",
  29391. "type": "integer"
  29392. },
  29393. "lasttradedate": {
  29394. "description": "最后交易日期(状态:待退市)",
  29395. "type": "string"
  29396. },
  29397. "listingdate": {
  29398. "description": "交易开始日期",
  29399. "type": "string"
  29400. },
  29401. "marketid": {
  29402. "description": "所属市场ID",
  29403. "type": "integer"
  29404. },
  29405. "modifierid": {
  29406. "description": "修改人",
  29407. "type": "integer"
  29408. },
  29409. "modifystatus": {
  29410. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29411. "type": "integer"
  29412. },
  29413. "modifytime": {
  29414. "description": "修改时间",
  29415. "type": "string"
  29416. },
  29417. "outerdealmode": {
  29418. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29419. "type": "integer"
  29420. },
  29421. "outgoodscode": {
  29422. "description": "商品代码(外部)",
  29423. "type": "string"
  29424. },
  29425. "pictureurl": {
  29426. "description": "商品图片",
  29427. "type": "string"
  29428. },
  29429. "qtydecimalplace": {
  29430. "description": "成交量小数位",
  29431. "type": "integer"
  29432. },
  29433. "quotegear": {
  29434. "description": "行情档位(1-10)",
  29435. "type": "integer"
  29436. },
  29437. "quoteminunit": {
  29438. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29439. "type": "integer"
  29440. },
  29441. "quoteshowtype": {
  29442. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29443. "type": "integer"
  29444. },
  29445. "quoteshowtypeinterval": {
  29446. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29447. "type": "integer"
  29448. },
  29449. "remark": {
  29450. "description": "备注",
  29451. "type": "string"
  29452. }
  29453. }
  29454. },
  29455. "models.GoodsIDAndName": {
  29456. "type": "object",
  29457. "required": [
  29458. "goodscode",
  29459. "goodsid",
  29460. "goodsname",
  29461. "marketid"
  29462. ],
  29463. "properties": {
  29464. "goodscode": {
  29465. "description": "商品代码(内部)",
  29466. "type": "string"
  29467. },
  29468. "goodsid": {
  29469. "description": "商品ID(自增ID SEQ_GOODS)",
  29470. "type": "integer"
  29471. },
  29472. "goodsname": {
  29473. "description": "商品名称",
  29474. "type": "string"
  29475. },
  29476. "marketid": {
  29477. "description": "所属市场ID",
  29478. "type": "integer"
  29479. }
  29480. }
  29481. },
  29482. "models.Goodsgroup": {
  29483. "type": "object",
  29484. "required": [
  29485. "goodsgroupid",
  29486. "goodsgroupname",
  29487. "goodsgroupstatus",
  29488. "marketid"
  29489. ],
  29490. "properties": {
  29491. "agreeunit": {
  29492. "description": "合约单位",
  29493. "type": "number"
  29494. },
  29495. "canshort": {
  29496. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29497. "type": "integer"
  29498. },
  29499. "closepricemode": {
  29500. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29501. "type": "integer"
  29502. },
  29503. "closepriceparam": {
  29504. "description": "强平最新价浮动比例 - 方式为2时使用",
  29505. "type": "number"
  29506. },
  29507. "createtime": {
  29508. "description": "创建时间",
  29509. "type": "string"
  29510. },
  29511. "creatorid": {
  29512. "description": "创建人",
  29513. "type": "integer"
  29514. },
  29515. "currencyid": {
  29516. "description": "报价货币ID",
  29517. "type": "integer"
  29518. },
  29519. "decimalplace": {
  29520. "description": "报价小数位",
  29521. "type": "integer"
  29522. },
  29523. "exercisetype": {
  29524. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29525. "type": "integer"
  29526. },
  29527. "exexchangeid": {
  29528. "description": "外部交易所ID[通道交易]",
  29529. "type": "integer"
  29530. },
  29531. "goodsgroupid": {
  29532. "description": "商品组ID(自增ID)",
  29533. "type": "integer"
  29534. },
  29535. "goodsgroupname": {
  29536. "description": "商品组名称",
  29537. "type": "string"
  29538. },
  29539. "goodsgroupstatus": {
  29540. "description": "商品组状态 - 1:正常 2:注销",
  29541. "type": "integer"
  29542. },
  29543. "goodunitid": {
  29544. "description": "报价单位ID",
  29545. "type": "integer"
  29546. },
  29547. "innerdealmode": {
  29548. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29549. "type": "integer"
  29550. },
  29551. "isbuylimited": {
  29552. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29553. "type": "integer"
  29554. },
  29555. "marketid": {
  29556. "description": "所属市场ID",
  29557. "type": "integer"
  29558. },
  29559. "modifierid": {
  29560. "description": "修改人",
  29561. "type": "integer"
  29562. },
  29563. "modifytime": {
  29564. "description": "修改时间",
  29565. "type": "string"
  29566. },
  29567. "outerdealmode": {
  29568. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29569. "type": "integer"
  29570. },
  29571. "outergroupcode": {
  29572. "description": "外部商品组代码[通道交易]",
  29573. "type": "string"
  29574. },
  29575. "premiumdecimalplace": {
  29576. "description": "权利金小数位[场外期权]",
  29577. "type": "integer"
  29578. },
  29579. "premiumspreadalgorithm": {
  29580. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29581. "type": "integer"
  29582. },
  29583. "premiumspreadvalue": {
  29584. "description": "权利金点差值[场外期权]",
  29585. "type": "number"
  29586. },
  29587. "qtydecimalplace": {
  29588. "description": "成交量小数位",
  29589. "type": "integer"
  29590. },
  29591. "quotegear": {
  29592. "description": "行情档位(1-10)",
  29593. "type": "integer"
  29594. },
  29595. "quoteminunit": {
  29596. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29597. "type": "integer"
  29598. },
  29599. "quoterid": {
  29600. "description": "报价商ID[场外期权]",
  29601. "type": "integer"
  29602. },
  29603. "quotesourcegroupid": {
  29604. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29605. "type": "integer"
  29606. },
  29607. "syncgoodsqty": {
  29608. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29609. "type": "integer"
  29610. }
  29611. }
  29612. },
  29613. "models.Goodssortbypreposition": {
  29614. "type": "object",
  29615. "required": [
  29616. "goodscode",
  29617. "tradedate"
  29618. ],
  29619. "properties": {
  29620. "goodscode": {
  29621. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29622. "type": "string"
  29623. },
  29624. "goodsgroupcode": {
  29625. "description": "品种代码",
  29626. "type": "string"
  29627. },
  29628. "prepositionqty": {
  29629. "description": "昨持仓量",
  29630. "type": "integer"
  29631. },
  29632. "sortindex": {
  29633. "description": "排序",
  29634. "type": "integer"
  29635. },
  29636. "tradedate": {
  29637. "description": "交易日",
  29638. "type": "string"
  29639. },
  29640. "updatetime": {
  29641. "description": "更新时间",
  29642. "type": "string"
  29643. }
  29644. }
  29645. },
  29646. "models.Hedgeinnerholderdetail": {
  29647. "type": "object",
  29648. "required": [
  29649. "buyorsell",
  29650. "tradeid"
  29651. ],
  29652. "properties": {
  29653. "accountid": {
  29654. "description": "账号ID",
  29655. "type": "integer"
  29656. },
  29657. "buyorsell": {
  29658. "description": "方向 - 0:买 1:卖",
  29659. "type": "integer"
  29660. },
  29661. "freezeqty": {
  29662. "description": "冻结数量 - 按单平使用",
  29663. "type": "integer"
  29664. },
  29665. "goodsid": {
  29666. "description": "商品ID",
  29667. "type": "integer"
  29668. },
  29669. "holderamount": {
  29670. "description": "持仓金额 [商品币种]",
  29671. "type": "number"
  29672. },
  29673. "holderdays": {
  29674. "description": "剩余冻结天数",
  29675. "type": "integer"
  29676. },
  29677. "holderprice": {
  29678. "description": "持仓价格",
  29679. "type": "number"
  29680. },
  29681. "holderqty": {
  29682. "description": "持仓数量",
  29683. "type": "integer"
  29684. },
  29685. "marketid": {
  29686. "description": "市场ID",
  29687. "type": "integer"
  29688. },
  29689. "openprice": {
  29690. "description": "建仓价格",
  29691. "type": "number"
  29692. },
  29693. "openqty": {
  29694. "description": "建仓数量",
  29695. "type": "integer"
  29696. },
  29697. "parentaccountid": {
  29698. "description": "所属母账户",
  29699. "type": "integer"
  29700. },
  29701. "releaseamount": {
  29702. "description": "释放持仓金额[商品币种]",
  29703. "type": "number"
  29704. },
  29705. "tradeamount": {
  29706. "description": "成交金额[账户]",
  29707. "type": "number"
  29708. },
  29709. "tradedate": {
  29710. "description": "交易日(yyyyMMdd)",
  29711. "type": "string"
  29712. },
  29713. "tradeid": {
  29714. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29715. "type": "string"
  29716. },
  29717. "tradetime": {
  29718. "description": "交易时间",
  29719. "type": "string"
  29720. }
  29721. }
  29722. },
  29723. "models.Hedgemarketopenlog": {
  29724. "type": "object",
  29725. "required": [
  29726. "accountid"
  29727. ],
  29728. "properties": {
  29729. "accountid": {
  29730. "description": "资金账号[外部母账户]",
  29731. "type": "integer"
  29732. },
  29733. "fcname": {
  29734. "description": "期货公司名称",
  29735. "type": "string"
  29736. },
  29737. "handlestatus": {
  29738. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29739. "type": "integer"
  29740. },
  29741. "marketid": {
  29742. "description": "市场ID",
  29743. "type": "integer"
  29744. },
  29745. "status": {
  29746. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29747. "type": "integer"
  29748. },
  29749. "tradedate": {
  29750. "description": "交易日(yyyyMMdd)",
  29751. "type": "string"
  29752. },
  29753. "updatetime": {
  29754. "description": "更新时间",
  29755. "type": "string"
  29756. }
  29757. }
  29758. },
  29759. "models.InternalEnableTradeDetail": {
  29760. "type": "object",
  29761. "required": [
  29762. "areauserid",
  29763. "goodsid",
  29764. "tradeuserid"
  29765. ],
  29766. "properties": {
  29767. "agreeunit": {
  29768. "description": "合约乘数",
  29769. "type": "number"
  29770. },
  29771. "areauserid": {
  29772. "description": "企业ID",
  29773. "type": "integer"
  29774. },
  29775. "convertratio": {
  29776. "description": "品种系数",
  29777. "type": "number"
  29778. },
  29779. "deliverygoodscode": {
  29780. "description": "现货品种代码",
  29781. "type": "string"
  29782. },
  29783. "deliverygoodsid": {
  29784. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  29785. "type": "integer"
  29786. },
  29787. "deliverygoodsname": {
  29788. "description": "现货品种名称",
  29789. "type": "string"
  29790. },
  29791. "futurehedgeqty": {
  29792. "description": "[已关联数量]期货持仓套期量",
  29793. "type": "number"
  29794. },
  29795. "goodsid": {
  29796. "description": "期货合约ID",
  29797. "type": "integer"
  29798. },
  29799. "hedgeditemid": {
  29800. "description": "被套期项目ID",
  29801. "type": "string"
  29802. },
  29803. "hedgeditemnum": {
  29804. "description": "项目编号",
  29805. "type": "string"
  29806. },
  29807. "tradeuserid": {
  29808. "description": "交易用户ID",
  29809. "type": "integer"
  29810. },
  29811. "unexehedgeqty": {
  29812. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  29813. "type": "number"
  29814. },
  29815. "unexespotqty": {
  29816. "description": "未执行现货量",
  29817. "type": "number"
  29818. },
  29819. "wrstandardcode": {
  29820. "description": "现货品类代码",
  29821. "type": "string"
  29822. },
  29823. "wrstandardid": {
  29824. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29825. "type": "integer"
  29826. },
  29827. "wrstandardname": {
  29828. "description": "现货品类名称",
  29829. "type": "string"
  29830. }
  29831. }
  29832. },
  29833. "models.InternalUncorrelatedTradeDetail": {
  29834. "type": "object",
  29835. "properties": {
  29836. "accountid": {
  29837. "description": "账号ID",
  29838. "type": "integer"
  29839. },
  29840. "accountname": {
  29841. "description": "套期主体",
  29842. "type": "string"
  29843. },
  29844. "agreeunit": {
  29845. "description": "合约乘数",
  29846. "type": "number"
  29847. },
  29848. "areauserid": {
  29849. "description": "所属机构",
  29850. "type": "integer"
  29851. },
  29852. "bizsubjectid": {
  29853. "description": "归属业务部门ID - SubjectID",
  29854. "type": "integer"
  29855. },
  29856. "buyorsell": {
  29857. "description": "方向 - 0:买 1:卖",
  29858. "type": "integer"
  29859. },
  29860. "channelbuildtype": {
  29861. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29862. "type": "integer"
  29863. },
  29864. "convertratio": {
  29865. "description": "品种系数",
  29866. "type": "number"
  29867. },
  29868. "createtime": {
  29869. "description": "创建时间",
  29870. "type": "string"
  29871. },
  29872. "creatorid": {
  29873. "description": "创建人ID",
  29874. "type": "integer"
  29875. },
  29876. "creatorsrc": {
  29877. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29878. "type": "integer"
  29879. },
  29880. "enableqty": {
  29881. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  29882. "type": "number"
  29883. },
  29884. "enumdicname": {
  29885. "description": "单位",
  29886. "type": "string"
  29887. },
  29888. "goodscode": {
  29889. "description": "合约代码",
  29890. "type": "string"
  29891. },
  29892. "goodsgroupid": {
  29893. "description": "对冲品种ID[期货合约商品组ID]",
  29894. "type": "integer"
  29895. },
  29896. "goodsid": {
  29897. "description": "商品ID",
  29898. "type": "integer"
  29899. },
  29900. "goodsname": {
  29901. "description": "合约名称",
  29902. "type": "string"
  29903. },
  29904. "hedgeditemid": {
  29905. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29906. "type": "integer"
  29907. },
  29908. "hedgeflag": {
  29909. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29910. "type": "integer"
  29911. },
  29912. "linkdetailid": {
  29913. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29914. "type": "string"
  29915. },
  29916. "linkstatus": {
  29917. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29918. "type": "integer"
  29919. },
  29920. "middlegoodsid": {
  29921. "description": "套保品种ID",
  29922. "type": "integer"
  29923. },
  29924. "middlegoodsqty": {
  29925. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  29926. "type": "number"
  29927. },
  29928. "relatedlot": {
  29929. "description": "[数量]关联手数",
  29930. "type": "number"
  29931. },
  29932. "relatedmode": {
  29933. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29934. "type": "integer"
  29935. },
  29936. "relatedqty": {
  29937. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29938. "type": "number"
  29939. },
  29940. "retcode": {
  29941. "description": "返回码",
  29942. "type": "integer"
  29943. },
  29944. "saleuserid": {
  29945. "description": "业务员ID",
  29946. "type": "integer"
  29947. },
  29948. "tradedate": {
  29949. "description": "关联交易日(yyyyMMdd)",
  29950. "type": "string"
  29951. },
  29952. "tradeid": {
  29953. "description": "成交单号",
  29954. "type": "string"
  29955. },
  29956. "tradelot": {
  29957. "description": "成交手数",
  29958. "type": "integer"
  29959. },
  29960. "tradeprice": {
  29961. "description": "成交价",
  29962. "type": "number"
  29963. },
  29964. "tradetime": {
  29965. "description": "成交时间",
  29966. "type": "string"
  29967. },
  29968. "tradetradedate": {
  29969. "description": "成交交易日(yyyyMMdd)",
  29970. "type": "string"
  29971. },
  29972. "tradeuserid": {
  29973. "description": "交易用户ID",
  29974. "type": "integer"
  29975. }
  29976. }
  29977. },
  29978. "models.Loginaccount": {
  29979. "type": "object",
  29980. "required": [
  29981. "loginid"
  29982. ],
  29983. "properties": {
  29984. "accountname": {
  29985. "description": "账户名称",
  29986. "type": "string"
  29987. },
  29988. "canoutin": {
  29989. "description": "是否可出入金 - 0:不可 1:可",
  29990. "type": "integer"
  29991. },
  29992. "clientroleid": {
  29993. "description": "终端角色ID",
  29994. "type": "integer"
  29995. },
  29996. "haslogined": {
  29997. "description": "是否已登录 - 0:未登录 1:已登录",
  29998. "type": "integer"
  29999. },
  30000. "hasupdatedpwd": {
  30001. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30002. "type": "integer"
  30003. },
  30004. "lastloginip": {
  30005. "description": "最新登录地址",
  30006. "type": "string"
  30007. },
  30008. "lastloginmode": {
  30009. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30010. "type": "integer"
  30011. },
  30012. "lastloginremark": {
  30013. "description": "最新登录描述",
  30014. "type": "string"
  30015. },
  30016. "lastlogintime": {
  30017. "description": "最新登录时间",
  30018. "type": "string"
  30019. },
  30020. "logincode": {
  30021. "description": "登录代码",
  30022. "type": "string"
  30023. },
  30024. "loginfailnum": {
  30025. "description": "连续登录失败次数(登录成功时清零)",
  30026. "type": "integer"
  30027. },
  30028. "loginid": {
  30029. "description": "登陆账号",
  30030. "type": "integer"
  30031. },
  30032. "loginport": {
  30033. "description": "最新登录端口",
  30034. "type": "integer"
  30035. },
  30036. "loginstatus": {
  30037. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30038. "type": "integer"
  30039. },
  30040. "loginusertype": {
  30041. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30042. "type": "integer"
  30043. },
  30044. "mobile": {
  30045. "description": "手机号码(加密存储)",
  30046. "type": "string"
  30047. },
  30048. "modifierid": {
  30049. "description": "修改人",
  30050. "type": "integer"
  30051. },
  30052. "modifysrc": {
  30053. "description": "审核来源 - 1:管理端 2:终端",
  30054. "type": "integer"
  30055. },
  30056. "modifytime": {
  30057. "description": "修改时间",
  30058. "type": "string"
  30059. },
  30060. "pwdwrongcount": {
  30061. "description": "密码错误次数",
  30062. "type": "integer"
  30063. },
  30064. "relateduserid": {
  30065. "description": "关联用户ID(机构)",
  30066. "type": "integer"
  30067. },
  30068. "taaccountrighttype": {
  30069. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30070. "type": "integer"
  30071. },
  30072. "unfreezetime": {
  30073. "description": "账户解冻时间",
  30074. "type": "string"
  30075. },
  30076. "userid": {
  30077. "description": "用户ID",
  30078. "type": "integer"
  30079. }
  30080. }
  30081. },
  30082. "models.MainAccountInfo": {
  30083. "type": "object",
  30084. "properties": {
  30085. "accountid": {
  30086. "description": "账号id",
  30087. "type": "integer"
  30088. },
  30089. "accountname": {
  30090. "description": "账号名称(taaccount表中的名称)",
  30091. "type": "string"
  30092. },
  30093. "appid": {
  30094. "description": "AppID",
  30095. "type": "string"
  30096. },
  30097. "authcode": {
  30098. "description": "授权码",
  30099. "type": "string"
  30100. },
  30101. "brokerid": {
  30102. "description": "经纪商id",
  30103. "type": "string"
  30104. },
  30105. "fcid": {
  30106. "description": "期货公司id",
  30107. "type": "integer"
  30108. },
  30109. "fcname": {
  30110. "description": "期货公司代码",
  30111. "type": "string"
  30112. },
  30113. "hedgeaccountcode": {
  30114. "description": "外部账号代码(主账号登录代码)",
  30115. "type": "string"
  30116. },
  30117. "hedgeaccountpwd": {
  30118. "description": "密码",
  30119. "type": "string"
  30120. },
  30121. "ismain": {
  30122. "description": "是否主账号",
  30123. "type": "integer"
  30124. },
  30125. "relateduserid": {
  30126. "description": "关联用户id",
  30127. "type": "integer"
  30128. },
  30129. "userid": {
  30130. "description": "关联用户id",
  30131. "type": "integer"
  30132. }
  30133. }
  30134. },
  30135. "models.Market": {
  30136. "type": "object",
  30137. "required": [
  30138. "marketid",
  30139. "marketstatus",
  30140. "openmethod",
  30141. "reckonpricealgorithm",
  30142. "trademode",
  30143. "tradeproperty"
  30144. ],
  30145. "properties": {
  30146. "auctionwrtype": {
  30147. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30148. "type": "integer"
  30149. },
  30150. "canacceptquote": {
  30151. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30152. "type": "integer"
  30153. },
  30154. "cangoodsexercise": {
  30155. "description": "[期权]是否可现货行权- 0:否 1:是",
  30156. "type": "integer"
  30157. },
  30158. "cangoodsexercisetype": {
  30159. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30160. "type": "integer"
  30161. },
  30162. "canmanualquotestrike": {
  30163. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30164. "type": "integer"
  30165. },
  30166. "canmutistage": {
  30167. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30168. "type": "integer"
  30169. },
  30170. "canpreexercise": {
  30171. "description": "[期权]是否可预申报- 0:否 1:是",
  30172. "type": "integer"
  30173. },
  30174. "clearinterval": {
  30175. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30176. "type": "integer"
  30177. },
  30178. "contracttmp": {
  30179. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30180. "type": "string"
  30181. },
  30182. "exchareaid": {
  30183. "description": "所属交易所,可以没有",
  30184. "type": "integer"
  30185. },
  30186. "goodstype": {
  30187. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30188. "type": "integer"
  30189. },
  30190. "hasrebate": {
  30191. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30192. "type": "integer"
  30193. },
  30194. "hastradecredit": {
  30195. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30196. "type": "integer"
  30197. },
  30198. "haswr": {
  30199. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30200. "type": "integer"
  30201. },
  30202. "isdeductmargin": {
  30203. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30204. "type": "integer"
  30205. },
  30206. "isrecordsource": {
  30207. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30208. "type": "integer"
  30209. },
  30210. "isreleasemargin": {
  30211. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30212. "type": "integer"
  30213. },
  30214. "marginformula": {
  30215. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30216. "type": "integer"
  30217. },
  30218. "marginformula2": {
  30219. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30220. "type": "integer"
  30221. },
  30222. "marketid": {
  30223. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30224. "type": "integer"
  30225. },
  30226. "marketname": {
  30227. "description": "市场名称",
  30228. "type": "string"
  30229. },
  30230. "marketserviceid": {
  30231. "description": "市场服务ID",
  30232. "type": "integer"
  30233. },
  30234. "marketstatus": {
  30235. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30236. "type": "integer"
  30237. },
  30238. "markettype": {
  30239. "description": "市场类型- 1:非交易服务 2:交易服务",
  30240. "type": "integer"
  30241. },
  30242. "matchermode": {
  30243. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30244. "type": "integer"
  30245. },
  30246. "openmethod": {
  30247. "description": "开盘模式 - 0 自动 1手动",
  30248. "type": "integer"
  30249. },
  30250. "otcuserid": {
  30251. "description": "场外期权做市商[场外期权]",
  30252. "type": "integer"
  30253. },
  30254. "outersynctime": {
  30255. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30256. "type": "string"
  30257. },
  30258. "pendingflag": {
  30259. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30260. "type": "integer"
  30261. },
  30262. "pendingtime": {
  30263. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30264. "type": "string"
  30265. },
  30266. "performancetempid": {
  30267. "description": "履约计划模板ID - 作废",
  30268. "type": "integer"
  30269. },
  30270. "premiumquotemode": {
  30271. "description": "权利金报价方式 - 1:自动 2:手动",
  30272. "type": "integer"
  30273. },
  30274. "rebateratio": {
  30275. "description": "返利比率[竞价式]",
  30276. "type": "number"
  30277. },
  30278. "reckonorder": {
  30279. "description": "结算顺序",
  30280. "type": "integer"
  30281. },
  30282. "reckonpricealgorithm": {
  30283. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30284. "type": "integer"
  30285. },
  30286. "reckonpriceparam": {
  30287. "description": "结算价参数",
  30288. "type": "integer"
  30289. },
  30290. "reckontime": {
  30291. "description": "结算时间[通道交易-对冲](HH:mm)",
  30292. "type": "string"
  30293. },
  30294. "roleprioritytype": {
  30295. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30296. "type": "integer"
  30297. },
  30298. "selllistingauditflag": {
  30299. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30300. "type": "integer"
  30301. },
  30302. "trademarkettype": {
  30303. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30304. "type": "integer"
  30305. },
  30306. "trademode": {
  30307. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30308. "type": "integer"
  30309. },
  30310. "tradeproperty": {
  30311. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30312. "type": "integer"
  30313. },
  30314. "tradetype": {
  30315. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30316. "type": "integer"
  30317. }
  30318. }
  30319. },
  30320. "models.Marketcalendar": {
  30321. "type": "object",
  30322. "properties": {
  30323. "holidaydate": {
  30324. "description": "节假日期(yyyy-MM-dd)",
  30325. "type": "string"
  30326. },
  30327. "marketid": {
  30328. "description": "市场ID",
  30329. "type": "integer"
  30330. }
  30331. }
  30332. },
  30333. "models.Marketrun": {
  30334. "type": "object",
  30335. "required": [
  30336. "marketid",
  30337. "nexttradedate",
  30338. "reckonflag",
  30339. "runstatus",
  30340. "tradedate",
  30341. "tradedate2"
  30342. ],
  30343. "properties": {
  30344. "afternexttradedate": {
  30345. "description": "下下交易日",
  30346. "type": "string"
  30347. },
  30348. "clearquoteflag": {
  30349. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  30350. "type": "integer"
  30351. },
  30352. "lastreckondate": {
  30353. "description": "最新交易日(结算成功)",
  30354. "type": "string"
  30355. },
  30356. "machinedate": {
  30357. "description": "机器时间",
  30358. "type": "string"
  30359. },
  30360. "manualflag": {
  30361. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  30362. "type": "integer"
  30363. },
  30364. "marketid": {
  30365. "description": "市场ID",
  30366. "type": "integer"
  30367. },
  30368. "nexttradedate": {
  30369. "description": "下一交易日",
  30370. "type": "string"
  30371. },
  30372. "pretradedate": {
  30373. "description": "上一交易日",
  30374. "type": "string"
  30375. },
  30376. "reckonflag": {
  30377. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  30378. "type": "integer"
  30379. },
  30380. "runstatus": {
  30381. "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.今日免清算",
  30382. "type": "integer"
  30383. },
  30384. "sectionid": {
  30385. "description": "时间段号[多时段时用]",
  30386. "type": "integer"
  30387. },
  30388. "tradedate": {
  30389. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  30390. "type": "string"
  30391. },
  30392. "tradedate2": {
  30393. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  30394. "type": "string"
  30395. },
  30396. "updatetime": {
  30397. "description": "更新时间",
  30398. "type": "string"
  30399. }
  30400. }
  30401. },
  30402. "models.Messageboard": {
  30403. "type": "object",
  30404. "required": [
  30405. "messageboardid"
  30406. ],
  30407. "properties": {
  30408. "contactnum": {
  30409. "description": "联系电话",
  30410. "type": "string"
  30411. },
  30412. "createtime": {
  30413. "description": "创建时间",
  30414. "type": "string"
  30415. },
  30416. "message": {
  30417. "description": "留言信息",
  30418. "type": "string"
  30419. },
  30420. "messageboardid": {
  30421. "description": "留言簿ID(SEQ_MessageBoard)",
  30422. "type": "integer"
  30423. },
  30424. "userid": {
  30425. "description": "用户ID",
  30426. "type": "integer"
  30427. }
  30428. }
  30429. },
  30430. "models.MyBargainApply": {
  30431. "type": "object",
  30432. "required": [
  30433. "userid"
  30434. ],
  30435. "properties": {
  30436. "accountid": {
  30437. "description": "摘牌资金账号",
  30438. "type": "integer"
  30439. },
  30440. "applyprice": {
  30441. "description": "申请价格",
  30442. "type": "string"
  30443. },
  30444. "applyremark": {
  30445. "description": "申请备注",
  30446. "type": "string"
  30447. },
  30448. "applystatus": {
  30449. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30450. "type": "integer"
  30451. },
  30452. "applytime": {
  30453. "description": "申请时间",
  30454. "type": "string"
  30455. },
  30456. "buyorsell": {
  30457. "description": "买卖 - 0:买 1:卖",
  30458. "type": "integer"
  30459. },
  30460. "confirmprice": {
  30461. "description": "可接受价格(拒绝时填写)-作废",
  30462. "type": "number"
  30463. },
  30464. "confirmqty": {
  30465. "description": "可接受数量(拒绝时填写)-作废",
  30466. "type": "integer"
  30467. },
  30468. "confirmremark": {
  30469. "description": "确认备注",
  30470. "type": "string"
  30471. },
  30472. "confirmtime": {
  30473. "description": "确认时间",
  30474. "type": "string"
  30475. },
  30476. "confirmuserid": {
  30477. "description": "确认人",
  30478. "type": "integer"
  30479. },
  30480. "handlestatus": {
  30481. "description": "处理状态",
  30482. "type": "integer"
  30483. },
  30484. "ladingbillid": {
  30485. "description": "摘牌方提单ID [卖]",
  30486. "type": "integer"
  30487. },
  30488. "marketid": {
  30489. "description": "市场ID",
  30490. "type": "integer"
  30491. },
  30492. "matchaccountid": {
  30493. "description": "挂牌方资金账号",
  30494. "type": "integer"
  30495. },
  30496. "matchuserid": {
  30497. "description": "挂牌方用户ID",
  30498. "type": "integer"
  30499. },
  30500. "price": {
  30501. "description": "价格",
  30502. "type": "number"
  30503. },
  30504. "priceper": {
  30505. "description": "克拉单价 - 类型:1,2,3,5",
  30506. "type": "string"
  30507. },
  30508. "qty": {
  30509. "description": "申请数量",
  30510. "type": "number"
  30511. },
  30512. "refprice": {
  30513. "description": "参考价格",
  30514. "type": "string"
  30515. },
  30516. "retcode": {
  30517. "description": "委托返回代码",
  30518. "type": "integer"
  30519. },
  30520. "sellusername": {
  30521. "description": "卖方",
  30522. "type": "string"
  30523. },
  30524. "sizedisplay": {
  30525. "description": "尺寸",
  30526. "type": "string"
  30527. },
  30528. "subnum": {
  30529. "description": "摘牌方提单子单号 [卖]",
  30530. "type": "integer"
  30531. },
  30532. "tradedate": {
  30533. "description": "交易日(yyyyMMdd)",
  30534. "type": "string"
  30535. },
  30536. "userid": {
  30537. "description": "摘牌人用户ID",
  30538. "type": "integer"
  30539. },
  30540. "warehousenamedisplay": {
  30541. "type": "string"
  30542. },
  30543. "wrbargainid": {
  30544. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30545. "type": "string"
  30546. },
  30547. "wrtradeorderid": {
  30548. "description": "关联委托单ID",
  30549. "type": "integer"
  30550. },
  30551. "zscerttypedisplay": {
  30552. "type": "string"
  30553. },
  30554. "zsclaritytype1display": {
  30555. "type": "string"
  30556. },
  30557. "zsclaritytype2display": {
  30558. "type": "string"
  30559. },
  30560. "zscolortype1display": {
  30561. "type": "string"
  30562. },
  30563. "zscolortype2display": {
  30564. "type": "string"
  30565. },
  30566. "zscrystaltypedisplay": {
  30567. "type": "string"
  30568. },
  30569. "zscurrencytypedisplay": {
  30570. "type": "string"
  30571. },
  30572. "zscurrencytypedisplayunit": {
  30573. "type": "string"
  30574. },
  30575. "zscuttype1display": {
  30576. "type": "string"
  30577. },
  30578. "zscuttype2display": {
  30579. "type": "string"
  30580. },
  30581. "zsczcolor1typedisplay": {
  30582. "type": "string"
  30583. },
  30584. "zsczcolor2typedisplay": {
  30585. "type": "string"
  30586. },
  30587. "zsczcolor3typedisplay": {
  30588. "type": "string"
  30589. },
  30590. "zsfluorescencetype1display": {
  30591. "type": "string"
  30592. },
  30593. "zsfluorescencetype2display": {
  30594. "type": "string"
  30595. },
  30596. "zspolishtype1display": {
  30597. "type": "string"
  30598. },
  30599. "zspolishtype2display": {
  30600. "type": "string"
  30601. },
  30602. "zsshapetypedisplay": {
  30603. "type": "string"
  30604. },
  30605. "zsstyletypedisplay": {
  30606. "type": "string"
  30607. },
  30608. "zssymmetrytype1display": {
  30609. "type": "string"
  30610. },
  30611. "zssymmetrytype2display": {
  30612. "type": "string"
  30613. }
  30614. }
  30615. },
  30616. "models.MyBuyOrder": {
  30617. "type": "object",
  30618. "required": [
  30619. "userid"
  30620. ],
  30621. "properties": {
  30622. "accountid": {
  30623. "description": "资金账户ID",
  30624. "type": "integer"
  30625. },
  30626. "marketid": {
  30627. "description": "市场ID",
  30628. "type": "integer"
  30629. },
  30630. "ordertime": {
  30631. "description": "委托时间",
  30632. "type": "string"
  30633. },
  30634. "origin": {
  30635. "description": "原产地",
  30636. "type": "string"
  30637. },
  30638. "remark": {
  30639. "description": "备注",
  30640. "type": "string"
  30641. },
  30642. "userid": {
  30643. "description": "用户ID",
  30644. "type": "integer"
  30645. },
  30646. "validtime": {
  30647. "description": "有效期限",
  30648. "type": "string"
  30649. },
  30650. "warehouseids": {
  30651. "description": "仓库ID - 多个, 逗号分隔",
  30652. "type": "string"
  30653. },
  30654. "warehouseinfosdisplay": {
  30655. "type": "string"
  30656. },
  30657. "wrtradeorderid": {
  30658. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30659. "type": "string"
  30660. },
  30661. "wrtradeorderstatus": {
  30662. "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:撤单解冻贷款失败WRTrade_OrderDetail、",
  30663. "type": "integer"
  30664. },
  30665. "zscategory": {
  30666. "description": "钻石分类 - 枚举”ZSCategory“",
  30667. "type": "integer"
  30668. },
  30669. "zscategorydisplay": {
  30670. "type": "string"
  30671. },
  30672. "zsclaritytype": {
  30673. "description": "净度 - 两个, 逗号分隔",
  30674. "type": "string"
  30675. },
  30676. "zsclaritytypedisplay": {
  30677. "type": "string"
  30678. },
  30679. "zscolortype": {
  30680. "description": "颜色 - 两个, 逗号分隔",
  30681. "type": "string"
  30682. },
  30683. "zscolortypedisplay": {
  30684. "type": "string"
  30685. },
  30686. "zscrystaltype": {
  30687. "description": "晶型 - 多个,逗号分隔",
  30688. "type": "string"
  30689. },
  30690. "zscrystaltypedisplay": {
  30691. "type": "string"
  30692. },
  30693. "zscurrencytype": {
  30694. "description": "货币类型 - 多个, 逗号分隔",
  30695. "type": "string"
  30696. },
  30697. "zscurrencytypedisplay": {
  30698. "type": "string"
  30699. },
  30700. "zscuttype": {
  30701. "description": "切工 - 两个, 逗号分隔",
  30702. "type": "string"
  30703. },
  30704. "zscuttypedisplay": {
  30705. "type": "string"
  30706. },
  30707. "zsczcolor1type": {
  30708. "description": "彩钻颜色1, 逗号分隔",
  30709. "type": "string"
  30710. },
  30711. "zsczcolor1typedisplay": {
  30712. "type": "string"
  30713. },
  30714. "zsczcolor2type": {
  30715. "description": "彩钻颜色2, 逗号分隔",
  30716. "type": "string"
  30717. },
  30718. "zsczcolor2typedisplay": {
  30719. "type": "string"
  30720. },
  30721. "zsczcolor3type": {
  30722. "description": "彩钻颜色3, 逗号分隔",
  30723. "type": "string"
  30724. },
  30725. "zsczcolor3typedisplay": {
  30726. "type": "string"
  30727. },
  30728. "zsfluorescencetype": {
  30729. "description": "荧光 - 多个, 逗号分隔",
  30730. "type": "string"
  30731. },
  30732. "zsfluorescencetypedisplay": {
  30733. "type": "string"
  30734. },
  30735. "zspolishtype": {
  30736. "description": "抛光度 - 两个, 逗号分隔",
  30737. "type": "string"
  30738. },
  30739. "zspolishtypedisplay": {
  30740. "type": "string"
  30741. },
  30742. "zsshapetype": {
  30743. "description": "形状 - 多个, 逗号分隔",
  30744. "type": "string"
  30745. },
  30746. "zsshapetypedisplay": {
  30747. "type": "string"
  30748. },
  30749. "zssize": {
  30750. "description": "尺寸 - 两个小数, 逗号分隔",
  30751. "type": "string"
  30752. },
  30753. "zsstyletype": {
  30754. "description": "款式 - 多个, 逗号分隔",
  30755. "type": "string"
  30756. },
  30757. "zsstyletypedisplay": {
  30758. "type": "string"
  30759. },
  30760. "zssymmetrytype": {
  30761. "description": "对称度 - 两个, 逗号分隔",
  30762. "type": "string"
  30763. },
  30764. "zssymmetrytypedisplay": {
  30765. "type": "string"
  30766. },
  30767. "zstabledisplay": {
  30768. "description": "求购信息",
  30769. "type": "string"
  30770. }
  30771. }
  30772. },
  30773. "models.MyDeListing": {
  30774. "type": "object",
  30775. "required": [
  30776. "userid"
  30777. ],
  30778. "properties": {
  30779. "buyaccountid": {
  30780. "description": "买方账号ID",
  30781. "type": "integer"
  30782. },
  30783. "buychargevalue": {
  30784. "description": "买方手续费",
  30785. "type": "number"
  30786. },
  30787. "buyorsell": {
  30788. "description": "方向 - 0:买 1:卖",
  30789. "type": "integer"
  30790. },
  30791. "buyuserid": {
  30792. "description": "买方用户ID",
  30793. "type": "integer"
  30794. },
  30795. "deliverygoodsid": {
  30796. "description": "现货品种ID",
  30797. "type": "integer"
  30798. },
  30799. "exchangerate": {
  30800. "description": "汇率",
  30801. "type": "number"
  30802. },
  30803. "goodsno": {
  30804. "description": "商品编号",
  30805. "type": "string"
  30806. },
  30807. "marketid": {
  30808. "description": "市场ID",
  30809. "type": "integer"
  30810. },
  30811. "matchusername": {
  30812. "description": "对手方",
  30813. "type": "string"
  30814. },
  30815. "oritradeamount": {
  30816. "description": "成交金额[商品币种]",
  30817. "type": "number"
  30818. },
  30819. "performanceplanid": {
  30820. "description": "履约计划ID/合同ID",
  30821. "type": "integer"
  30822. },
  30823. "price": {
  30824. "description": "价格",
  30825. "type": "number"
  30826. },
  30827. "qty": {
  30828. "description": "成交重量",
  30829. "type": "number"
  30830. },
  30831. "sellaccountid": {
  30832. "description": "卖方账号ID",
  30833. "type": "integer"
  30834. },
  30835. "sellchargevalue": {
  30836. "description": "卖方手续费",
  30837. "type": "number"
  30838. },
  30839. "selluserid": {
  30840. "description": "卖方用户ID",
  30841. "type": "integer"
  30842. },
  30843. "sizedisplay": {
  30844. "description": "尺寸",
  30845. "type": "string"
  30846. },
  30847. "tradeamount": {
  30848. "description": "成交金额",
  30849. "type": "number"
  30850. },
  30851. "tradedate": {
  30852. "description": "交易日(yyyyMMdd)",
  30853. "type": "string"
  30854. },
  30855. "tradeprice": {
  30856. "description": "成交价格",
  30857. "type": "number"
  30858. },
  30859. "tradetime": {
  30860. "description": "成交时间",
  30861. "type": "string"
  30862. },
  30863. "userid": {
  30864. "description": "用户ID",
  30865. "type": "integer"
  30866. },
  30867. "warehousenamedisplay": {
  30868. "type": "string"
  30869. },
  30870. "wrfactortypeid": {
  30871. "description": "仓单要素类型ID",
  30872. "type": "integer"
  30873. },
  30874. "wrstandardid": {
  30875. "description": "现货商品ID",
  30876. "type": "integer"
  30877. },
  30878. "wrtradedetailid": {
  30879. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30880. "type": "string"
  30881. },
  30882. "zscategory": {
  30883. "description": "钻石分类 - 枚举”ZSCategory“",
  30884. "type": "integer"
  30885. },
  30886. "zscategorydisplay": {
  30887. "type": "string"
  30888. },
  30889. "zscerttypedisplay": {
  30890. "type": "string"
  30891. },
  30892. "zsclaritytype1display": {
  30893. "type": "string"
  30894. },
  30895. "zsclaritytype2display": {
  30896. "type": "string"
  30897. },
  30898. "zscolortype1display": {
  30899. "type": "string"
  30900. },
  30901. "zscolortype2display": {
  30902. "type": "string"
  30903. },
  30904. "zscrystaltypedisplay": {
  30905. "type": "string"
  30906. },
  30907. "zscurrencytype": {
  30908. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30909. "type": "integer"
  30910. },
  30911. "zscurrencytypedisplay": {
  30912. "type": "string"
  30913. },
  30914. "zscurrencytypedisplayunit": {
  30915. "type": "string"
  30916. },
  30917. "zscuttype1display": {
  30918. "type": "string"
  30919. },
  30920. "zscuttype2display": {
  30921. "type": "string"
  30922. },
  30923. "zsczcolor1typedisplay": {
  30924. "type": "string"
  30925. },
  30926. "zsczcolor2typedisplay": {
  30927. "type": "string"
  30928. },
  30929. "zsczcolor3typedisplay": {
  30930. "type": "string"
  30931. },
  30932. "zsfluorescencetype1display": {
  30933. "type": "string"
  30934. },
  30935. "zsfluorescencetype2display": {
  30936. "type": "string"
  30937. },
  30938. "zspolishtype1display": {
  30939. "type": "string"
  30940. },
  30941. "zspolishtype2display": {
  30942. "type": "string"
  30943. },
  30944. "zsshapetypedisplay": {
  30945. "type": "string"
  30946. },
  30947. "zsstyletypedisplay": {
  30948. "type": "string"
  30949. },
  30950. "zssymmetrytype1display": {
  30951. "type": "string"
  30952. },
  30953. "zssymmetrytype2display": {
  30954. "type": "string"
  30955. }
  30956. }
  30957. },
  30958. "models.MyDelistingApply": {
  30959. "type": "object",
  30960. "required": [
  30961. "selluserid"
  30962. ],
  30963. "properties": {
  30964. "applyprice": {
  30965. "description": "申请价格",
  30966. "type": "number"
  30967. },
  30968. "applyqty": {
  30969. "description": "申请数量",
  30970. "type": "number"
  30971. },
  30972. "applyremark": {
  30973. "description": "申请备注",
  30974. "type": "string"
  30975. },
  30976. "applystatus": {
  30977. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30978. "type": "integer"
  30979. },
  30980. "applytime": {
  30981. "description": "申请时间",
  30982. "type": "string"
  30983. },
  30984. "auditremark": {
  30985. "description": "确认备注",
  30986. "type": "string"
  30987. },
  30988. "audittime": {
  30989. "description": "确认时间",
  30990. "type": "string"
  30991. },
  30992. "buyuserid": {
  30993. "description": "买方用户ID",
  30994. "type": "integer"
  30995. },
  30996. "buyusername": {
  30997. "type": "string"
  30998. },
  30999. "buywrtradeorderid": {
  31000. "description": "买委托单ID",
  31001. "type": "string"
  31002. },
  31003. "goodsno": {
  31004. "description": "-- view_GZ_WRStandard_Ex_Query --",
  31005. "type": "string"
  31006. },
  31007. "ladingbillid": {
  31008. "description": "卖方提单ID",
  31009. "type": "string"
  31010. },
  31011. "marketid": {
  31012. "description": "市场ID",
  31013. "type": "integer"
  31014. },
  31015. "price": {
  31016. "description": "价格",
  31017. "type": "number"
  31018. },
  31019. "sellaccountid": {
  31020. "description": "卖方账户ID",
  31021. "type": "integer"
  31022. },
  31023. "selldelistingapplyid": {
  31024. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  31025. "type": "string"
  31026. },
  31027. "selltradeorderid": {
  31028. "description": "卖方委托ID(买方确认成交后更新)",
  31029. "type": "string"
  31030. },
  31031. "selluserid": {
  31032. "description": "卖方用户ID",
  31033. "type": "integer"
  31034. },
  31035. "subnum": {
  31036. "description": "卖方提单子单号",
  31037. "type": "integer"
  31038. },
  31039. "warehouseinfosdisplay": {
  31040. "type": "string"
  31041. },
  31042. "weight": {
  31043. "description": "克拉重量",
  31044. "type": "number"
  31045. },
  31046. "wrfactortypeid": {
  31047. "description": "仓单要素类型ID",
  31048. "type": "string"
  31049. },
  31050. "wrstandardid": {
  31051. "description": "现货商品ID",
  31052. "type": "integer"
  31053. },
  31054. "zsallproperties": {
  31055. "description": "-- VIEW_GZ_BUYORDERDETAIL_QUERY",
  31056. "type": "string"
  31057. },
  31058. "zscategorydisplay": {
  31059. "type": "string"
  31060. },
  31061. "zsclaritytypedisplay": {
  31062. "type": "string"
  31063. },
  31064. "zscolortypedisplay": {
  31065. "type": "string"
  31066. },
  31067. "zscrystaltypedisplay": {
  31068. "type": "string"
  31069. },
  31070. "zscurrencytypedisplay": {
  31071. "type": "string"
  31072. },
  31073. "zscuttypedisplay": {
  31074. "type": "string"
  31075. },
  31076. "zsczcolor1typedisplay": {
  31077. "type": "string"
  31078. },
  31079. "zsczcolor2typedisplay": {
  31080. "type": "string"
  31081. },
  31082. "zsczcolor3typedisplay": {
  31083. "type": "string"
  31084. },
  31085. "zsfluorescencetypedisplay": {
  31086. "type": "string"
  31087. },
  31088. "zspolishtypedisplay": {
  31089. "type": "string"
  31090. },
  31091. "zsshapetypedisplay": {
  31092. "type": "string"
  31093. },
  31094. "zssizedisplay": {
  31095. "type": "string"
  31096. },
  31097. "zsstyletypedisplay": {
  31098. "type": "string"
  31099. },
  31100. "zssymmetrytypedisplay": {
  31101. "type": "string"
  31102. },
  31103. "zstabledisplay": {
  31104. "type": "string"
  31105. }
  31106. }
  31107. },
  31108. "models.MyFavorite": {
  31109. "type": "object",
  31110. "required": [
  31111. "userid"
  31112. ],
  31113. "properties": {
  31114. "buyorsell": {
  31115. "description": "买卖 - 0:买 1:卖",
  31116. "type": "integer"
  31117. },
  31118. "favoritestatus": {
  31119. "description": "收藏状态 - 1:正常 2:失效",
  31120. "type": "integer"
  31121. },
  31122. "goodsno": {
  31123. "description": "商品编号",
  31124. "type": "string"
  31125. },
  31126. "marketid": {
  31127. "description": "市场ID",
  31128. "type": "integer"
  31129. },
  31130. "price": {
  31131. "description": "价格",
  31132. "type": "number"
  31133. },
  31134. "priceper": {
  31135. "description": "克拉单价",
  31136. "type": "string"
  31137. },
  31138. "sizedisplay": {
  31139. "description": "尺寸",
  31140. "type": "string"
  31141. },
  31142. "userid": {
  31143. "description": "用户ID",
  31144. "type": "integer"
  31145. },
  31146. "warehousenamedisplay": {
  31147. "type": "string"
  31148. },
  31149. "weight": {
  31150. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31151. "type": "number"
  31152. },
  31153. "weightavg": {
  31154. "description": "平均单颗重量 - 类型:1,3",
  31155. "type": "number"
  31156. },
  31157. "wrfactortypeid": {
  31158. "description": "仓单要素类型ID/商品ID(77)",
  31159. "type": "string"
  31160. },
  31161. "wrstandardid": {
  31162. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  31163. "type": "integer"
  31164. },
  31165. "wrtradeorderid": {
  31166. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31167. "type": "string"
  31168. },
  31169. "zscategorydisplay": {
  31170. "type": "string"
  31171. },
  31172. "zscerttypedisplay": {
  31173. "type": "string"
  31174. },
  31175. "zsclaritytype1display": {
  31176. "type": "string"
  31177. },
  31178. "zsclaritytype2display": {
  31179. "type": "string"
  31180. },
  31181. "zscolortype1display": {
  31182. "type": "string"
  31183. },
  31184. "zscolortype2display": {
  31185. "type": "string"
  31186. },
  31187. "zscrystaltypedisplay": {
  31188. "type": "string"
  31189. },
  31190. "zscurrencytypedisplay": {
  31191. "type": "string"
  31192. },
  31193. "zscurrencytypedisplayunit": {
  31194. "type": "string"
  31195. },
  31196. "zscuttype1display": {
  31197. "type": "string"
  31198. },
  31199. "zscuttype2display": {
  31200. "type": "string"
  31201. },
  31202. "zsczcolor1typedisplay": {
  31203. "type": "string"
  31204. },
  31205. "zsczcolor2typedisplay": {
  31206. "type": "string"
  31207. },
  31208. "zsczcolor3typedisplay": {
  31209. "type": "string"
  31210. },
  31211. "zsfluorescencetype1display": {
  31212. "type": "string"
  31213. },
  31214. "zsfluorescencetype2display": {
  31215. "type": "string"
  31216. },
  31217. "zspolishtype1display": {
  31218. "type": "string"
  31219. },
  31220. "zspolishtype2display": {
  31221. "type": "string"
  31222. },
  31223. "zsshapetypedisplay": {
  31224. "type": "string"
  31225. },
  31226. "zsstyletypedisplay": {
  31227. "type": "string"
  31228. },
  31229. "zssymmetrytype1display": {
  31230. "type": "string"
  31231. },
  31232. "zssymmetrytype2display": {
  31233. "type": "string"
  31234. }
  31235. }
  31236. },
  31237. "models.MyPerformanc": {
  31238. "type": "object",
  31239. "properties": {
  31240. "accountname": {
  31241. "description": "useraccount",
  31242. "type": "string"
  31243. },
  31244. "amount": {
  31245. "description": "履约金额",
  31246. "type": "number"
  31247. },
  31248. "buyerfreezeamount": {
  31249. "description": "买方履约前冻结资金",
  31250. "type": "number"
  31251. },
  31252. "buyerfreezeamountremain": {
  31253. "description": "买方履约前冻结资金剩余",
  31254. "type": "number"
  31255. },
  31256. "buyerinfo": {
  31257. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  31258. "type": "string"
  31259. },
  31260. "buyorsell": {
  31261. "description": "方向 - 0:买 1:卖",
  31262. "type": "integer"
  31263. },
  31264. "buypaidamount": {
  31265. "description": "买方已冻/已扣金额",
  31266. "type": "number"
  31267. },
  31268. "curstepid": {
  31269. "description": "当前步骤ID",
  31270. "type": "string"
  31271. },
  31272. "overshortamount": {
  31273. "description": "溢短金额",
  31274. "type": "number"
  31275. },
  31276. "paymenttype": {
  31277. "description": "买方支付方式 - 1:冻结 2:扣款",
  31278. "type": "integer"
  31279. },
  31280. "performanceplanid": {
  31281. "description": "PerformancePlan",
  31282. "type": "string"
  31283. },
  31284. "performancestatus": {
  31285. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31286. "type": "integer"
  31287. },
  31288. "price": {
  31289. "description": "价格",
  31290. "type": "number"
  31291. },
  31292. "priceper": {
  31293. "description": "克拉单价",
  31294. "type": "string"
  31295. },
  31296. "relatedorderid": {
  31297. "description": "关联单号(履约类型的关联单号)",
  31298. "type": "string"
  31299. },
  31300. "remaindays": {
  31301. "description": "剩余天数",
  31302. "type": "integer"
  31303. },
  31304. "sellerfreezeamount": {
  31305. "description": "卖方履约前冻结资金",
  31306. "type": "number"
  31307. },
  31308. "sellerfreezeamountremain": {
  31309. "description": "卖方履约前冻结资金剩余",
  31310. "type": "number"
  31311. },
  31312. "sellerinfo": {
  31313. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  31314. "type": "string"
  31315. },
  31316. "sellreceivedamount": {
  31317. "description": "卖方已收金额",
  31318. "type": "number"
  31319. },
  31320. "sizedisplay": {
  31321. "description": "尺寸",
  31322. "type": "string"
  31323. },
  31324. "steptypeid": {
  31325. "description": "PerformanceStep",
  31326. "type": "integer"
  31327. },
  31328. "warehousenamedisplay": {
  31329. "type": "string"
  31330. },
  31331. "zscategorydisplay": {
  31332. "type": "string"
  31333. },
  31334. "zscerttypedisplay": {
  31335. "type": "string"
  31336. },
  31337. "zsclaritytype1display": {
  31338. "type": "string"
  31339. },
  31340. "zsclaritytype2display": {
  31341. "type": "string"
  31342. },
  31343. "zscolortype1display": {
  31344. "type": "string"
  31345. },
  31346. "zscolortype2display": {
  31347. "type": "string"
  31348. },
  31349. "zscrystaltypedisplay": {
  31350. "type": "string"
  31351. },
  31352. "zscurrencytypedisplay": {
  31353. "type": "string"
  31354. },
  31355. "zscurrencytypedisplayunit": {
  31356. "type": "string"
  31357. },
  31358. "zscuttype1display": {
  31359. "type": "string"
  31360. },
  31361. "zscuttype2display": {
  31362. "type": "string"
  31363. },
  31364. "zsczcolor1typedisplay": {
  31365. "type": "string"
  31366. },
  31367. "zsczcolor2typedisplay": {
  31368. "type": "string"
  31369. },
  31370. "zsczcolor3typedisplay": {
  31371. "type": "string"
  31372. },
  31373. "zsfluorescencetype1display": {
  31374. "type": "string"
  31375. },
  31376. "zsfluorescencetype2display": {
  31377. "type": "string"
  31378. },
  31379. "zspolishtype1display": {
  31380. "type": "string"
  31381. },
  31382. "zspolishtype2display": {
  31383. "type": "string"
  31384. },
  31385. "zsshapetypedisplay": {
  31386. "type": "string"
  31387. },
  31388. "zsstyletypedisplay": {
  31389. "type": "string"
  31390. },
  31391. "zssymmetrytype1display": {
  31392. "type": "string"
  31393. },
  31394. "zssymmetrytype2display": {
  31395. "type": "string"
  31396. }
  31397. }
  31398. },
  31399. "models.MySellOrder": {
  31400. "type": "object",
  31401. "required": [
  31402. "userid"
  31403. ],
  31404. "properties": {
  31405. "accountid": {
  31406. "description": "资金账号",
  31407. "type": "integer"
  31408. },
  31409. "applyid": {
  31410. "description": "申请单ID",
  31411. "type": "integer"
  31412. },
  31413. "attachment1": {
  31414. "description": "附件1",
  31415. "type": "string"
  31416. },
  31417. "attachment2": {
  31418. "description": "附件2",
  31419. "type": "string"
  31420. },
  31421. "buyorsell": {
  31422. "description": "买卖 - 0:买 1:卖",
  31423. "type": "integer"
  31424. },
  31425. "canbargain": {
  31426. "description": "是否可议价 - 0:不可 1:可",
  31427. "type": "integer"
  31428. },
  31429. "cancelqty": {
  31430. "description": "撤销数量",
  31431. "type": "integer"
  31432. },
  31433. "canceltime": {
  31434. "description": "撤销时间",
  31435. "type": "string"
  31436. },
  31437. "cerno": {
  31438. "type": "string"
  31439. },
  31440. "chargealgorithm": {
  31441. "description": "手续费收取方式 1:比率 2:固定",
  31442. "type": "integer"
  31443. },
  31444. "chargealgorithmvalue": {
  31445. "description": "手续费设置值(交易所部分)",
  31446. "type": "number"
  31447. },
  31448. "chargealgorithmvalue2": {
  31449. "description": "手续费设置值(会员部分)",
  31450. "type": "number"
  31451. },
  31452. "clientordertime": {
  31453. "description": "客户端委托时间",
  31454. "type": "string"
  31455. },
  31456. "cpcertno": {
  31457. "type": "string"
  31458. },
  31459. "exchangerate": {
  31460. "description": "汇率[67]",
  31461. "type": "number"
  31462. },
  31463. "firstratio": {
  31464. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  31465. "type": "number"
  31466. },
  31467. "fixedprice": {
  31468. "description": "[克拉单价]固定价格 - [挂牌]",
  31469. "type": "number"
  31470. },
  31471. "freezecharge": {
  31472. "description": "冻结手续费",
  31473. "type": "number"
  31474. },
  31475. "freezefirstamount": {
  31476. "description": "冻结首付金额 - [摘牌]",
  31477. "type": "number"
  31478. },
  31479. "freezemargin": {
  31480. "description": "冻结保证金",
  31481. "type": "number"
  31482. },
  31483. "goodsno": {
  31484. "description": "商品编号",
  31485. "type": "string"
  31486. },
  31487. "imagepath": {
  31488. "type": "string"
  31489. },
  31490. "isspecified": {
  31491. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  31492. "type": "integer"
  31493. },
  31494. "kppath": {
  31495. "type": "string"
  31496. },
  31497. "kpweight": {
  31498. "type": "string"
  31499. },
  31500. "marginalgorithm": {
  31501. "description": "保证金方式 - 1:比率 2:固定",
  31502. "type": "integer"
  31503. },
  31504. "marginvalue": {
  31505. "description": "保证金设置值",
  31506. "type": "number"
  31507. },
  31508. "marketid": {
  31509. "description": "市场ID",
  31510. "type": "integer"
  31511. },
  31512. "marketprice": {
  31513. "type": "string"
  31514. },
  31515. "orderamount": {
  31516. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  31517. "type": "number"
  31518. },
  31519. "ordertime": {
  31520. "description": "委托时间",
  31521. "type": "string"
  31522. },
  31523. "performancetemplateid": {
  31524. "description": "履约计划模板ID",
  31525. "type": "integer"
  31526. },
  31527. "price": {
  31528. "description": "价格",
  31529. "type": "number"
  31530. },
  31531. "pricefactor": {
  31532. "description": "价格系数(浮动价时填写) - [挂牌]",
  31533. "type": "number"
  31534. },
  31535. "pricemove": {
  31536. "description": "升贴水(浮动价时填写) - [挂牌]",
  31537. "type": "number"
  31538. },
  31539. "priceper": {
  31540. "type": "string"
  31541. },
  31542. "relatedwrtradeorderid": {
  31543. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  31544. "type": "integer"
  31545. },
  31546. "remark": {
  31547. "type": "string"
  31548. },
  31549. "retcode": {
  31550. "description": "错误代码",
  31551. "type": "integer"
  31552. },
  31553. "selledqty": {
  31554. "description": "成交重量",
  31555. "type": "number"
  31556. },
  31557. "settingmaterial": {
  31558. "type": "string"
  31559. },
  31560. "size1": {
  31561. "type": "string"
  31562. },
  31563. "size2": {
  31564. "type": "string"
  31565. },
  31566. "size3": {
  31567. "type": "string"
  31568. },
  31569. "stonedesc": {
  31570. "type": "string"
  31571. },
  31572. "totalqty": {
  31573. "description": "总重量",
  31574. "type": "number"
  31575. },
  31576. "tradedate": {
  31577. "description": "交易日(yyyyMMdd)",
  31578. "type": "string"
  31579. },
  31580. "tradeprice": {
  31581. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31582. "type": "number"
  31583. },
  31584. "unfreezecharge": {
  31585. "description": "解冻手续费",
  31586. "type": "number"
  31587. },
  31588. "unfreezefirstamount": {
  31589. "description": "解冻首付金额 - [摘牌]",
  31590. "type": "number"
  31591. },
  31592. "unfreezemargin": {
  31593. "description": "解冻保证金",
  31594. "type": "number"
  31595. },
  31596. "userid": {
  31597. "description": "用户ID",
  31598. "type": "integer"
  31599. },
  31600. "uuid": {
  31601. "description": "发起端唯一id",
  31602. "type": "string"
  31603. },
  31604. "validtime": {
  31605. "description": "有效期限",
  31606. "type": "string"
  31607. },
  31608. "validtype": {
  31609. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  31610. "type": "integer"
  31611. },
  31612. "warehousenamedisplay": {
  31613. "type": "string"
  31614. },
  31615. "wrbargainid": {
  31616. "description": "议价申请单ID",
  31617. "type": "integer"
  31618. },
  31619. "wrfactortypeid": {
  31620. "description": "仓单要素类型ID/商品ID(77)",
  31621. "type": "integer"
  31622. },
  31623. "wrpath": {
  31624. "type": "string"
  31625. },
  31626. "wrpricetype": {
  31627. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31628. "type": "integer"
  31629. },
  31630. "wrstandardid": {
  31631. "description": "现货商品ID",
  31632. "type": "integer"
  31633. },
  31634. "wrtradeorderid": {
  31635. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31636. "type": "string"
  31637. },
  31638. "wrtradeorderstatus": {
  31639. "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:撤单解冻贷款失败",
  31640. "type": "integer"
  31641. },
  31642. "wrtradetype": {
  31643. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31644. "type": "integer"
  31645. },
  31646. "wrtransferuserid": {
  31647. "description": "仓单受让用户 - [摘牌]",
  31648. "type": "integer"
  31649. },
  31650. "zscategory": {
  31651. "description": "钻石分类 - 枚举”ZSCategory“",
  31652. "type": "integer"
  31653. },
  31654. "zscategorydisplay": {
  31655. "description": "钻石分类 - 描述",
  31656. "type": "string"
  31657. },
  31658. "zscerttypedisplay": {
  31659. "type": "string"
  31660. },
  31661. "zsclaritytype1display": {
  31662. "type": "string"
  31663. },
  31664. "zsclaritytype2display": {
  31665. "type": "string"
  31666. },
  31667. "zscolortype1display": {
  31668. "type": "string"
  31669. },
  31670. "zscolortype2display": {
  31671. "type": "string"
  31672. },
  31673. "zscrystaltype": {
  31674. "type": "string"
  31675. },
  31676. "zscrystaltypedisplay": {
  31677. "type": "string"
  31678. },
  31679. "zscurrencytype": {
  31680. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31681. "type": "integer"
  31682. },
  31683. "zscurrencytypedisplay": {
  31684. "type": "string"
  31685. },
  31686. "zscurrencytypedisplayunit": {
  31687. "type": "string"
  31688. },
  31689. "zscuttype1display": {
  31690. "type": "string"
  31691. },
  31692. "zscuttype2display": {
  31693. "type": "string"
  31694. },
  31695. "zsczcolor1typedisplay": {
  31696. "type": "string"
  31697. },
  31698. "zsczcolor2typedisplay": {
  31699. "type": "string"
  31700. },
  31701. "zsczcolor3typedisplay": {
  31702. "type": "string"
  31703. },
  31704. "zsfluorescencetype1display": {
  31705. "type": "string"
  31706. },
  31707. "zsfluorescencetype2display": {
  31708. "type": "string"
  31709. },
  31710. "zspolishtype1display": {
  31711. "type": "string"
  31712. },
  31713. "zspolishtype2display": {
  31714. "type": "string"
  31715. },
  31716. "zsshapetypedisplay": {
  31717. "type": "string"
  31718. },
  31719. "zsstyletypedisplay": {
  31720. "type": "string"
  31721. },
  31722. "zssymmetrytype1display": {
  31723. "type": "string"
  31724. },
  31725. "zssymmetrytype2display": {
  31726. "type": "string"
  31727. }
  31728. }
  31729. },
  31730. "models.MyWRPosition": {
  31731. "type": "object",
  31732. "required": [
  31733. "wruserid"
  31734. ],
  31735. "properties": {
  31736. "cerno": {
  31737. "description": "证书编号 - 类型:2,4,5",
  31738. "type": "string"
  31739. },
  31740. "cpcertno": {
  31741. "description": "金伯利证书编号 - 类型:3",
  31742. "type": "string"
  31743. },
  31744. "ffreezeqty": {
  31745. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  31746. "type": "number"
  31747. },
  31748. "ftotalqty": {
  31749. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  31750. "type": "number"
  31751. },
  31752. "goodsno": {
  31753. "description": "商品编号",
  31754. "type": "string"
  31755. },
  31756. "imagepath": {
  31757. "description": "商品照片(相对地址)",
  31758. "type": "string"
  31759. },
  31760. "isvalid": {
  31761. "description": "是否有效 - 0:无效 1:有效",
  31762. "type": "integer"
  31763. },
  31764. "kppath": {
  31765. "description": "金伯利证书图片(相对地址) - 类型:3",
  31766. "type": "string"
  31767. },
  31768. "kpweight": {
  31769. "description": "金伯利证书重量 - 类型:3",
  31770. "type": "string"
  31771. },
  31772. "ladingbillid": {
  31773. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31774. "type": "string"
  31775. },
  31776. "marketflag": {
  31777. "description": "是否上架,0-全部 1-是 2-否",
  31778. "type": "integer"
  31779. },
  31780. "marketprice": {
  31781. "description": "市场价",
  31782. "type": "string"
  31783. },
  31784. "origin": {
  31785. "description": "原产地 - 类型:3",
  31786. "type": "string"
  31787. },
  31788. "price": {
  31789. "description": "总价(价格) - 类型:1,2,3,4,5",
  31790. "type": "number"
  31791. },
  31792. "priceper": {
  31793. "description": "克拉单价 - 类型:1,2,3,5",
  31794. "type": "string"
  31795. },
  31796. "remark": {
  31797. "description": "备注",
  31798. "type": "string"
  31799. },
  31800. "sellmobile": {
  31801. "description": "手机号码(加密存储)",
  31802. "type": "string"
  31803. },
  31804. "sellusername": {
  31805. "description": "账户名称(机构名称)",
  31806. "type": "string"
  31807. },
  31808. "settingmaterial": {
  31809. "description": "镶嵌材料 - 类型:4",
  31810. "type": "string"
  31811. },
  31812. "size1": {
  31813. "description": "尺寸1 - 类型:2,4,5",
  31814. "type": "string"
  31815. },
  31816. "size2": {
  31817. "description": "尺寸2 - 类型:2,4,5",
  31818. "type": "string"
  31819. },
  31820. "size3": {
  31821. "description": "尺寸3 - 类型:2,4,5",
  31822. "type": "string"
  31823. },
  31824. "stonedesc": {
  31825. "description": "配石描述 - 类型:4",
  31826. "type": "string"
  31827. },
  31828. "subnum": {
  31829. "description": "提单子单号",
  31830. "type": "integer"
  31831. },
  31832. "userid": {
  31833. "description": "用户ID",
  31834. "type": "integer"
  31835. },
  31836. "warehouseid": {
  31837. "description": "仓库ID",
  31838. "type": "integer"
  31839. },
  31840. "warehousenamedisplay": {
  31841. "type": "string"
  31842. },
  31843. "weight": {
  31844. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31845. "type": "number"
  31846. },
  31847. "weightavg": {
  31848. "description": "平均单颗重量 - 类型:1,3",
  31849. "type": "number"
  31850. },
  31851. "wrpath": {
  31852. "description": "仓单扫描件(相对地址)",
  31853. "type": "string"
  31854. },
  31855. "wrstandardid": {
  31856. "description": "现货商品ID",
  31857. "type": "integer"
  31858. },
  31859. "wrtradeorderid": {
  31860. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31861. "type": "string"
  31862. },
  31863. "wruserid": {
  31864. "description": "登录用户ID",
  31865. "type": "integer"
  31866. },
  31867. "zscategory": {
  31868. "description": "钻石分类 - 枚举”ZSCategory“",
  31869. "type": "integer"
  31870. },
  31871. "zscategorydisplay": {
  31872. "type": "string"
  31873. },
  31874. "zscerttype": {
  31875. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  31876. "type": "integer"
  31877. },
  31878. "zscerttypedisplay": {
  31879. "type": "string"
  31880. },
  31881. "zsclaritytype1": {
  31882. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  31883. "type": "integer"
  31884. },
  31885. "zsclaritytype1display": {
  31886. "type": "string"
  31887. },
  31888. "zsclaritytype2": {
  31889. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  31890. "type": "integer"
  31891. },
  31892. "zsclaritytype2display": {
  31893. "type": "string"
  31894. },
  31895. "zscolortype1": {
  31896. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  31897. "type": "integer"
  31898. },
  31899. "zscolortype1display": {
  31900. "type": "string"
  31901. },
  31902. "zscolortype2": {
  31903. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  31904. "type": "integer"
  31905. },
  31906. "zscolortype2display": {
  31907. "type": "string"
  31908. },
  31909. "zscrystaltype": {
  31910. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  31911. "type": "string"
  31912. },
  31913. "zscrystaltypedisplay": {
  31914. "type": "string"
  31915. },
  31916. "zscurrencytype": {
  31917. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31918. "type": "integer"
  31919. },
  31920. "zscurrencytypedisplay": {
  31921. "type": "string"
  31922. },
  31923. "zscurrencytypedisplayunit": {
  31924. "type": "string"
  31925. },
  31926. "zscuttype1": {
  31927. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  31928. "type": "integer"
  31929. },
  31930. "zscuttype1display": {
  31931. "type": "string"
  31932. },
  31933. "zscuttype2": {
  31934. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  31935. "type": "integer"
  31936. },
  31937. "zscuttype2display": {
  31938. "type": "string"
  31939. },
  31940. "zsczcolor1type": {
  31941. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  31942. "type": "integer"
  31943. },
  31944. "zsczcolor1typedisplay": {
  31945. "type": "string"
  31946. },
  31947. "zsczcolor2type": {
  31948. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  31949. "type": "integer"
  31950. },
  31951. "zsczcolor2typedisplay": {
  31952. "type": "string"
  31953. },
  31954. "zsczcolor3type": {
  31955. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  31956. "type": "integer"
  31957. },
  31958. "zsczcolor3typedisplay": {
  31959. "type": "string"
  31960. },
  31961. "zsfluorescencetype1": {
  31962. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  31963. "type": "integer"
  31964. },
  31965. "zsfluorescencetype1display": {
  31966. "type": "string"
  31967. },
  31968. "zsfluorescencetype2": {
  31969. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  31970. "type": "integer"
  31971. },
  31972. "zsfluorescencetype2display": {
  31973. "type": "string"
  31974. },
  31975. "zspolishtype1": {
  31976. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  31977. "type": "integer"
  31978. },
  31979. "zspolishtype1display": {
  31980. "type": "string"
  31981. },
  31982. "zspolishtype2": {
  31983. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  31984. "type": "integer"
  31985. },
  31986. "zspolishtype2display": {
  31987. "type": "string"
  31988. },
  31989. "zsshapetype": {
  31990. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  31991. "type": "string"
  31992. },
  31993. "zsshapetypedisplay": {
  31994. "type": "string"
  31995. },
  31996. "zsstyletype": {
  31997. "description": "款式 - 类型:4",
  31998. "type": "integer"
  31999. },
  32000. "zsstyletypedisplay": {
  32001. "type": "string"
  32002. },
  32003. "zssymmetrytype1": {
  32004. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32005. "type": "integer"
  32006. },
  32007. "zssymmetrytype1display": {
  32008. "type": "string"
  32009. },
  32010. "zssymmetrytype2": {
  32011. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32012. "type": "integer"
  32013. },
  32014. "zssymmetrytype2display": {
  32015. "type": "string"
  32016. }
  32017. }
  32018. },
  32019. "models.NewFuncmenulist": {
  32020. "type": "object",
  32021. "required": [
  32022. "resourcecode"
  32023. ],
  32024. "properties": {
  32025. "authtype": {
  32026. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32027. "type": "integer"
  32028. },
  32029. "buttonname": {
  32030. "description": "按钮名称",
  32031. "type": "string"
  32032. },
  32033. "buttontype": {
  32034. "description": "按钮类型 - 存按钮样式",
  32035. "type": "string"
  32036. },
  32037. "component": {
  32038. "description": "组件名或组件地址",
  32039. "type": "string"
  32040. },
  32041. "hidden": {
  32042. "description": "是否隐藏 - 0:显示 1:隐藏",
  32043. "type": "integer"
  32044. },
  32045. "iconame": {
  32046. "description": "菜单图标",
  32047. "type": "string"
  32048. },
  32049. "menutype": {
  32050. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32051. "type": "integer"
  32052. },
  32053. "parentcode": {
  32054. "description": "上级资源代码",
  32055. "type": "string"
  32056. },
  32057. "remark": {
  32058. "description": "Remark",
  32059. "type": "string"
  32060. },
  32061. "resourcecode": {
  32062. "description": "资源代码",
  32063. "type": "string"
  32064. },
  32065. "resourcelevel": {
  32066. "description": "级别1-一级 2-二级 3-三级4-四级",
  32067. "type": "integer"
  32068. },
  32069. "resourcename": {
  32070. "description": "资源名(Title)",
  32071. "type": "string"
  32072. },
  32073. "sort": {
  32074. "description": "排序",
  32075. "type": "integer"
  32076. },
  32077. "url": {
  32078. "description": "Url",
  32079. "type": "string"
  32080. },
  32081. "urltype": {
  32082. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32083. "type": "integer"
  32084. }
  32085. }
  32086. },
  32087. "models.OperationPrimaryMenu": {
  32088. "type": "object",
  32089. "properties": {
  32090. "Children": {
  32091. "description": "二级功能菜单",
  32092. "type": "array",
  32093. "items": {
  32094. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32095. }
  32096. },
  32097. "Key": {
  32098. "description": "菜单KEY",
  32099. "type": "string"
  32100. },
  32101. "Label": {
  32102. "description": "菜单标题",
  32103. "type": "string"
  32104. }
  32105. }
  32106. },
  32107. "models.OperationSecondaryMenu": {
  32108. "type": "object",
  32109. "properties": {
  32110. "Key": {
  32111. "description": "菜单KEY",
  32112. "type": "string"
  32113. },
  32114. "Label": {
  32115. "description": "菜单标题",
  32116. "type": "string"
  32117. },
  32118. "TabList": {
  32119. "description": "三级功能菜单",
  32120. "type": "array",
  32121. "items": {
  32122. "$ref": "#/definitions/models.OperationTabMenu"
  32123. }
  32124. }
  32125. }
  32126. },
  32127. "models.OperationTabMenu": {
  32128. "type": "object",
  32129. "properties": {
  32130. "Key": {
  32131. "description": "菜单KEY",
  32132. "type": "string"
  32133. },
  32134. "Label": {
  32135. "description": "菜单标题",
  32136. "type": "string"
  32137. }
  32138. }
  32139. },
  32140. "models.Patradelinkdetail": {
  32141. "type": "object",
  32142. "properties": {
  32143. "accountname": {
  32144. "description": "套期主体",
  32145. "type": "string"
  32146. },
  32147. "agreeunit": {
  32148. "description": "合约乘数",
  32149. "type": "number"
  32150. },
  32151. "amount": {
  32152. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32153. "type": "number"
  32154. },
  32155. "areauserid": {
  32156. "description": "所属机构",
  32157. "type": "integer"
  32158. },
  32159. "bizsubjectid": {
  32160. "description": "归属业务部门ID - SubjectID",
  32161. "type": "integer"
  32162. },
  32163. "buyorsell": {
  32164. "description": "方向 - 0:买 1:卖",
  32165. "type": "integer"
  32166. },
  32167. "convertratio": {
  32168. "description": "品种系数",
  32169. "type": "number"
  32170. },
  32171. "convertratiochange": {
  32172. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32173. "type": "number"
  32174. },
  32175. "createtime": {
  32176. "description": "[日期时间]创建时间",
  32177. "type": "string"
  32178. },
  32179. "creatorid": {
  32180. "description": "创建人ID",
  32181. "type": "integer"
  32182. },
  32183. "creatorsrc": {
  32184. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32185. "type": "integer"
  32186. },
  32187. "goodscode": {
  32188. "description": "商品代码(内部)",
  32189. "type": "string"
  32190. },
  32191. "goodsgroupid": {
  32192. "description": "对冲品种ID[期货合约商品组ID]",
  32193. "type": "integer"
  32194. },
  32195. "goodsid": {
  32196. "description": "商品ID",
  32197. "type": "integer"
  32198. },
  32199. "hedgeditemid": {
  32200. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32201. "type": "integer"
  32202. },
  32203. "hedgeflag": {
  32204. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32205. "type": "integer"
  32206. },
  32207. "linkdetailid": {
  32208. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32209. "type": "string"
  32210. },
  32211. "linkstatus": {
  32212. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32213. "type": "integer"
  32214. },
  32215. "middlegoodsid": {
  32216. "description": "套保品种ID",
  32217. "type": "integer"
  32218. },
  32219. "name": {
  32220. "description": "账户名/子账户",
  32221. "type": "string"
  32222. },
  32223. "optioncode": {
  32224. "description": "[期货合约]期权代码 [期权]",
  32225. "type": "string"
  32226. },
  32227. "ordertype": {
  32228. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32229. "type": "integer"
  32230. },
  32231. "relatedlot": {
  32232. "description": "[数量]关联手数",
  32233. "type": "number"
  32234. },
  32235. "relatedmode": {
  32236. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32237. "type": "integer"
  32238. },
  32239. "relatedqty": {
  32240. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32241. "type": "number"
  32242. },
  32243. "retcode": {
  32244. "description": "返回码",
  32245. "type": "integer"
  32246. },
  32247. "saleuserid": {
  32248. "description": "业务员ID",
  32249. "type": "integer"
  32250. },
  32251. "tradedate": {
  32252. "description": "关联交易日(yyyyMMdd)",
  32253. "type": "string"
  32254. },
  32255. "tradeid": {
  32256. "description": "[成交单号]内部成交单ID",
  32257. "type": "string"
  32258. },
  32259. "tradelot": {
  32260. "description": "成交手数",
  32261. "type": "integer"
  32262. },
  32263. "tradeprice": {
  32264. "description": "[价格]成交价格",
  32265. "type": "number"
  32266. },
  32267. "tradetradedate": {
  32268. "description": "成交交易日(yyyyMMdd)",
  32269. "type": "string"
  32270. }
  32271. }
  32272. },
  32273. "models.QhjAccountOutInApply": {
  32274. "type": "object",
  32275. "properties": {
  32276. "accountcode": {
  32277. "description": "资金账号",
  32278. "type": "string"
  32279. },
  32280. "accountname": {
  32281. "description": "用户名称(名称)",
  32282. "type": "string"
  32283. },
  32284. "accountpwd": {
  32285. "description": "资金密码",
  32286. "type": "string"
  32287. },
  32288. "accountticket": {
  32289. "description": "最新账户服务流水号",
  32290. "type": "string"
  32291. },
  32292. "amount": {
  32293. "description": "金额",
  32294. "type": "number"
  32295. },
  32296. "applyremark": {
  32297. "description": "申请备注",
  32298. "type": "string"
  32299. },
  32300. "applystatus": {
  32301. "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: 复审通过,账户冻结金额检查中;",
  32302. "type": "integer"
  32303. },
  32304. "auditid": {
  32305. "description": "审核人",
  32306. "type": "integer"
  32307. },
  32308. "audittime": {
  32309. "description": "审核时间",
  32310. "type": "string"
  32311. },
  32312. "bank_apply_ticket": {
  32313. "description": "银行申请流水",
  32314. "type": "string"
  32315. },
  32316. "bankaccountname": {
  32317. "description": "银行账户名",
  32318. "type": "string"
  32319. },
  32320. "bankaccountno": {
  32321. "description": "银行卡号",
  32322. "type": "string"
  32323. },
  32324. "bankid": {
  32325. "description": "银行编号",
  32326. "type": "string"
  32327. },
  32328. "bankticket": {
  32329. "description": "银行流水",
  32330. "type": "string"
  32331. },
  32332. "branchbankid": {
  32333. "description": "银行支行号",
  32334. "type": "string"
  32335. },
  32336. "branchbankname": {
  32337. "description": "银行支行名称",
  32338. "type": "string"
  32339. },
  32340. "capamountout": {
  32341. "description": "出金(劣后本金) - 外部子账户",
  32342. "type": "number"
  32343. },
  32344. "certificatephotourl": {
  32345. "description": "凭证地址",
  32346. "type": "string"
  32347. },
  32348. "charge": {
  32349. "description": "手续费",
  32350. "type": "number"
  32351. },
  32352. "checkerrorflag": {
  32353. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32354. "type": "integer"
  32355. },
  32356. "currency": {
  32357. "description": "币种",
  32358. "type": "string"
  32359. },
  32360. "cusbankid": {
  32361. "description": "托管银行编号",
  32362. "type": "string"
  32363. },
  32364. "exchticket": {
  32365. "description": "银行服务流水号",
  32366. "type": "string"
  32367. },
  32368. "executetype": {
  32369. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32370. "type": "integer"
  32371. },
  32372. "extendinfo": {
  32373. "description": "扩展信息",
  32374. "type": "string"
  32375. },
  32376. "extoperateid": {
  32377. "description": "交易服务流水号",
  32378. "type": "integer"
  32379. },
  32380. "infamount": {
  32381. "description": "劣后金额(自有)",
  32382. "type": "number"
  32383. },
  32384. "logincode": {
  32385. "description": "登录账号(账号)",
  32386. "type": "string"
  32387. },
  32388. "netaddr": {
  32389. "description": "调转网址",
  32390. "type": "string"
  32391. },
  32392. "priamount": {
  32393. "description": "优先金额(授信)",
  32394. "type": "number"
  32395. },
  32396. "reauditid": {
  32397. "description": "复审人",
  32398. "type": "integer"
  32399. },
  32400. "reauditremark": {
  32401. "description": "复审备注",
  32402. "type": "string"
  32403. },
  32404. "reaudittime": {
  32405. "description": "复审时间",
  32406. "type": "string"
  32407. },
  32408. "relatedorderid": {
  32409. "description": "三方关联ID",
  32410. "type": "string"
  32411. },
  32412. "remark": {
  32413. "description": "备注",
  32414. "type": "string"
  32415. },
  32416. "remark2": {
  32417. "description": "备注(失败原因)",
  32418. "type": "string"
  32419. },
  32420. "soucreamount": {
  32421. "description": "原始出入金金额",
  32422. "type": "number"
  32423. },
  32424. "soucrecurrencyid": {
  32425. "description": "原始出入金币种",
  32426. "type": "integer"
  32427. },
  32428. "tradedate": {
  32429. "description": "交易日(yyyyMMdd)",
  32430. "type": "string"
  32431. },
  32432. "updatetime": {
  32433. "description": "更新时间(申请时间)",
  32434. "type": "string"
  32435. },
  32436. "userid": {
  32437. "description": "用户id",
  32438. "type": "integer"
  32439. },
  32440. "userinfotype": {
  32441. "description": "账户类型 1-个人 2-企业",
  32442. "type": "integer"
  32443. }
  32444. }
  32445. },
  32446. "models.QhjAgreementChangeLog": {
  32447. "type": "object",
  32448. "properties": {
  32449. "agreementcontent": {
  32450. "description": "协议内容",
  32451. "type": "string"
  32452. },
  32453. "agreementfrequency": {
  32454. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32455. "type": "integer"
  32456. },
  32457. "agreementid": {
  32458. "description": "协议ID",
  32459. "type": "integer"
  32460. },
  32461. "agreementname": {
  32462. "description": "协议名称",
  32463. "type": "string"
  32464. },
  32465. "agreementno": {
  32466. "description": "协议编号",
  32467. "type": "string"
  32468. },
  32469. "agreementtype": {
  32470. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32471. "type": "integer"
  32472. },
  32473. "agreementversion": {
  32474. "description": "协议版本号",
  32475. "type": "integer"
  32476. },
  32477. "logid": {
  32478. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32479. "type": "integer"
  32480. },
  32481. "reviserid": {
  32482. "description": "修改人",
  32483. "type": "integer"
  32484. },
  32485. "revisersrc": {
  32486. "description": "修改来源 - 1:管理端 2:终端",
  32487. "type": "integer"
  32488. },
  32489. "updatetime": {
  32490. "description": "更新时间",
  32491. "type": "string"
  32492. }
  32493. }
  32494. },
  32495. "models.QhjAgreementConfig": {
  32496. "type": "object",
  32497. "properties": {
  32498. "agreementcontent": {
  32499. "description": "协议内容",
  32500. "type": "string"
  32501. },
  32502. "agreementfrequency": {
  32503. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32504. "type": "integer"
  32505. },
  32506. "agreementid": {
  32507. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32508. "type": "integer"
  32509. },
  32510. "agreementname": {
  32511. "description": "协议名称",
  32512. "type": "string"
  32513. },
  32514. "agreementno": {
  32515. "description": "协议编号",
  32516. "type": "string"
  32517. },
  32518. "agreementtype": {
  32519. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32520. "type": "integer"
  32521. },
  32522. "agreementversion": {
  32523. "description": "协议版本号(从1开始每次修改加1)",
  32524. "type": "integer"
  32525. },
  32526. "createtime": {
  32527. "description": "创建时间",
  32528. "type": "string"
  32529. },
  32530. "creatorid": {
  32531. "description": "创建人",
  32532. "type": "integer"
  32533. },
  32534. "creatorsrc": {
  32535. "description": "创建来源 - 1:管理端 2:终端",
  32536. "type": "integer"
  32537. },
  32538. "isvalid": {
  32539. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32540. "type": "integer"
  32541. },
  32542. "reviserid": {
  32543. "description": "修改人",
  32544. "type": "integer"
  32545. },
  32546. "revisersrc": {
  32547. "description": "修改来源 - 1:管理端 2:终端",
  32548. "type": "integer"
  32549. },
  32550. "updatetime": {
  32551. "description": "更新时间",
  32552. "type": "string"
  32553. }
  32554. }
  32555. },
  32556. "models.QhjAreaFinanceConfig": {
  32557. "type": "object",
  32558. "properties": {
  32559. "additionalratio": {
  32560. "description": "追加款比例",
  32561. "type": "number"
  32562. },
  32563. "advanceratio": {
  32564. "description": "预付款比例",
  32565. "type": "number"
  32566. },
  32567. "alarmratio": {
  32568. "description": "告警比例",
  32569. "type": "number"
  32570. },
  32571. "consumptiondirectreward": {
  32572. "description": "消费直推奖励值",
  32573. "type": "number"
  32574. },
  32575. "consumptionenabled": {
  32576. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32577. "type": "integer"
  32578. },
  32579. "consumptionindirectreward": {
  32580. "description": "消费间推奖励值",
  32581. "type": "number"
  32582. },
  32583. "consumptionmodel": {
  32584. "description": "消费奖励方式 - 1:比率 2:固定",
  32585. "type": "integer"
  32586. },
  32587. "customerservicenum": {
  32588. "description": "客服电话",
  32589. "type": "string"
  32590. },
  32591. "dayinterestrate": {
  32592. "description": "日利率",
  32593. "type": "number"
  32594. },
  32595. "disableconsumptiontips": {
  32596. "description": "关闭消费奖励提示",
  32597. "type": "string"
  32598. },
  32599. "modifierid": {
  32600. "description": "修改人ID",
  32601. "type": "integer"
  32602. },
  32603. "modifysrc": {
  32604. "description": "审核来源 - 1:管理端 2:终端",
  32605. "type": "integer"
  32606. },
  32607. "modifytime": {
  32608. "description": "修改时间",
  32609. "type": "string"
  32610. },
  32611. "promotionvalue": {
  32612. "description": "推广奖励值(固定)",
  32613. "type": "number"
  32614. },
  32615. "scoreconfigvalue1": {
  32616. "description": "提货积分配置1",
  32617. "type": "integer"
  32618. },
  32619. "scoreconfigvalue2": {
  32620. "description": "提货积分配置2",
  32621. "type": "integer"
  32622. },
  32623. "userid": {
  32624. "description": "机构用户ID其他做市关系,都设置为 1",
  32625. "type": "integer"
  32626. },
  32627. "username": {
  32628. "description": "用户名称",
  32629. "type": "string"
  32630. }
  32631. }
  32632. },
  32633. "models.QhjBankAccountSign": {
  32634. "type": "object",
  32635. "properties": {
  32636. "accountcode": {
  32637. "description": "资金账号",
  32638. "type": "string"
  32639. },
  32640. "accountname": {
  32641. "description": "资金账号对应的账号名(UserName)",
  32642. "type": "string"
  32643. },
  32644. "accountname2": {
  32645. "description": "资金账号对应的账号名(UserName) - 密文",
  32646. "type": "string"
  32647. },
  32648. "accounttype": {
  32649. "description": "账户类型(UserType)",
  32650. "type": "integer"
  32651. },
  32652. "applicationtime": {
  32653. "description": "最后一次更新的时间",
  32654. "type": "string"
  32655. },
  32656. "applyexchticket": {
  32657. "description": "申请流水",
  32658. "type": "string"
  32659. },
  32660. "auditid": {
  32661. "description": "审核人",
  32662. "type": "integer"
  32663. },
  32664. "audittime": {
  32665. "description": "审核时间",
  32666. "type": "string"
  32667. },
  32668. "bankaccountname": {
  32669. "description": "签约银行卡账号名",
  32670. "type": "string"
  32671. },
  32672. "bankaccountname2": {
  32673. "description": "签约银行卡账号名 - 密文",
  32674. "type": "string"
  32675. },
  32676. "bankaccountno": {
  32677. "description": "银行卡号",
  32678. "type": "string"
  32679. },
  32680. "bankaccountno2": {
  32681. "description": "银行卡号 - 密文",
  32682. "type": "string"
  32683. },
  32684. "bankaccounttype": {
  32685. "description": "银行账户类型 - 1-对私; 2-对公",
  32686. "type": "integer"
  32687. },
  32688. "bankcardtype": {
  32689. "description": "银行卡类型",
  32690. "type": "integer"
  32691. },
  32692. "bankchildaccount": {
  32693. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32694. "type": "string"
  32695. },
  32696. "bankcity": {
  32697. "description": "开户行城市",
  32698. "type": "string"
  32699. },
  32700. "bankid": {
  32701. "description": "签约银行ID",
  32702. "type": "string"
  32703. },
  32704. "bankname": {
  32705. "description": "签约银行名称",
  32706. "type": "string"
  32707. },
  32708. "bankprovince": {
  32709. "description": "开户行省份",
  32710. "type": "string"
  32711. },
  32712. "branchbankid": {
  32713. "description": "签约银行支行号",
  32714. "type": "string"
  32715. },
  32716. "branchbankname": {
  32717. "description": "签约银行支行名称",
  32718. "type": "string"
  32719. },
  32720. "cardno": {
  32721. "description": "证件号码",
  32722. "type": "string"
  32723. },
  32724. "cardno2": {
  32725. "description": "证件号码 - 密文",
  32726. "type": "string"
  32727. },
  32728. "cardtype": {
  32729. "description": "证件类型",
  32730. "type": "string"
  32731. },
  32732. "currency": {
  32733. "description": "币种",
  32734. "type": "string"
  32735. },
  32736. "cusbankid": {
  32737. "description": "托管银行编号",
  32738. "type": "string"
  32739. },
  32740. "direct": {
  32741. "description": "方向(可以判断那方先发起的签约)",
  32742. "type": "integer"
  32743. },
  32744. "exchticket": {
  32745. "description": "最后一次签约成功的流水号",
  32746. "type": "string"
  32747. },
  32748. "extendinfo": {
  32749. "description": "扩展信息(JSON字符串)",
  32750. "type": "string"
  32751. },
  32752. "mobilephone": {
  32753. "description": "手机号",
  32754. "type": "string"
  32755. },
  32756. "mobilephone2": {
  32757. "description": "手机号 - 密文",
  32758. "type": "string"
  32759. },
  32760. "netaddr": {
  32761. "description": "调转网址",
  32762. "type": "string"
  32763. },
  32764. "relateduserid": {
  32765. "description": "关联使用者userid",
  32766. "type": "integer"
  32767. },
  32768. "signstatus": {
  32769. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32770. "type": "integer"
  32771. },
  32772. "updatetime": {
  32773. "description": "更新时间(签解约更新时间)",
  32774. "type": "string"
  32775. }
  32776. }
  32777. },
  32778. "models.QhjBankInfo": {
  32779. "type": "object",
  32780. "properties": {
  32781. "bankid": {
  32782. "description": "银行ID",
  32783. "type": "string"
  32784. },
  32785. "bankname": {
  32786. "description": "银行名称",
  32787. "type": "string"
  32788. },
  32789. "clearbankno": {
  32790. "description": "清算系统银行编号",
  32791. "type": "string"
  32792. },
  32793. "orderindex": {
  32794. "description": "排序顺序",
  32795. "type": "integer"
  32796. },
  32797. "status": {
  32798. "description": "状态 - 0:正常 1:注销",
  32799. "type": "integer"
  32800. }
  32801. }
  32802. },
  32803. "models.QhjBrokerApply": {
  32804. "type": "object",
  32805. "properties": {
  32806. "applicantid": {
  32807. "description": "申请人",
  32808. "type": "integer"
  32809. },
  32810. "applysrc": {
  32811. "description": "申请来源 - 1:管理端 2:终端",
  32812. "type": "integer"
  32813. },
  32814. "applystatus": {
  32815. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32816. "type": "integer"
  32817. },
  32818. "applytime": {
  32819. "description": "申请时间",
  32820. "type": "string"
  32821. },
  32822. "auditorid": {
  32823. "description": "审核人",
  32824. "type": "integer"
  32825. },
  32826. "auditremark": {
  32827. "description": "审核备注",
  32828. "type": "string"
  32829. },
  32830. "auditsrc": {
  32831. "description": "审核来源 - 1:管理端 2:终端",
  32832. "type": "integer"
  32833. },
  32834. "audittime": {
  32835. "description": "审核时间",
  32836. "type": "string"
  32837. },
  32838. "audittradedate": {
  32839. "description": "审核交易日(yyyyMMdd)",
  32840. "type": "string"
  32841. },
  32842. "brokerapplyid": {
  32843. "description": "申请ID(SEQ_BROKERAPPLY)",
  32844. "type": "integer"
  32845. },
  32846. "cardbackphotourl": {
  32847. "description": "证件背面图片地址",
  32848. "type": "string"
  32849. },
  32850. "cardfrontphotourl": {
  32851. "description": "证件正面图片地址",
  32852. "type": "string"
  32853. },
  32854. "cardnum": {
  32855. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32856. "type": "string"
  32857. },
  32858. "customername": {
  32859. "description": "姓名",
  32860. "type": "string"
  32861. },
  32862. "logincode": {
  32863. "description": "登录代码",
  32864. "type": "string"
  32865. },
  32866. "mobile": {
  32867. "description": "手机号码",
  32868. "type": "string"
  32869. },
  32870. "parentuserid": {
  32871. "description": "所属机构id",
  32872. "type": "integer"
  32873. },
  32874. "parentusername": {
  32875. "description": "所属机构名称",
  32876. "type": "string"
  32877. },
  32878. "refereeuserid": {
  32879. "description": "推荐人id(经纪人)",
  32880. "type": "integer"
  32881. },
  32882. "refernum": {
  32883. "description": "推荐码",
  32884. "type": "string"
  32885. },
  32886. "remark": {
  32887. "description": "备注",
  32888. "type": "string"
  32889. },
  32890. "subarealevelpath": {
  32891. "description": "层级路径",
  32892. "type": "string"
  32893. },
  32894. "tradedate": {
  32895. "description": "交易日(yyyyMMdd)",
  32896. "type": "string"
  32897. },
  32898. "userid": {
  32899. "description": "申请人用户ID",
  32900. "type": "integer"
  32901. },
  32902. "userinfotype": {
  32903. "description": "用户类型 1-个人 2-企业",
  32904. "type": "integer"
  32905. },
  32906. "username": {
  32907. "description": "用户名称",
  32908. "type": "string"
  32909. }
  32910. }
  32911. },
  32912. "models.QhjBrokerApplyEx": {
  32913. "type": "object",
  32914. "properties": {
  32915. "applylist": {
  32916. "description": "经纪人申请记录(只返回最新一条)",
  32917. "type": "array",
  32918. "items": {
  32919. "$ref": "#/definitions/models.QhjBrokerApply"
  32920. }
  32921. },
  32922. "canrecommend": {
  32923. "description": "是否经纪人 0-不是 1-是",
  32924. "type": "integer"
  32925. },
  32926. "refernum": {
  32927. "description": "推荐码",
  32928. "type": "string"
  32929. },
  32930. "userid": {
  32931. "description": "用户id",
  32932. "type": "integer"
  32933. },
  32934. "userinfotype": {
  32935. "description": "用户类型 1-个人 2-企业",
  32936. "type": "integer"
  32937. }
  32938. }
  32939. },
  32940. "models.QhjBrokerRewardLog": {
  32941. "type": "object",
  32942. "properties": {
  32943. "accountid": {
  32944. "description": "资金账号ID",
  32945. "type": "integer"
  32946. },
  32947. "createtime": {
  32948. "description": "创建时间(时间)",
  32949. "type": "string"
  32950. },
  32951. "handlestatus": {
  32952. "description": "处理状态",
  32953. "type": "integer"
  32954. },
  32955. "logid": {
  32956. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32957. "type": "string"
  32958. },
  32959. "marketid": {
  32960. "description": "市场ID",
  32961. "type": "integer"
  32962. },
  32963. "mmaccountid": {
  32964. "description": "做市商资金账号ID",
  32965. "type": "string"
  32966. },
  32967. "mmuserid": {
  32968. "description": "做市商用户ID",
  32969. "type": "string"
  32970. },
  32971. "rewardamount": {
  32972. "description": "奖励金额",
  32973. "type": "number"
  32974. },
  32975. "rewardmodel": {
  32976. "description": "消费奖励方式 - 1:比率 2:固定",
  32977. "type": "integer"
  32978. },
  32979. "rewardtype": {
  32980. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32981. "type": "integer"
  32982. },
  32983. "rewardvalue": {
  32984. "description": "配置奖励值",
  32985. "type": "number"
  32986. },
  32987. "srcamount": {
  32988. "description": "成交金额 [消费奖励] (金额)",
  32989. "type": "number"
  32990. },
  32991. "srcgoodsid": {
  32992. "description": "来源商品ID [消费奖励]",
  32993. "type": "string"
  32994. },
  32995. "srctime": {
  32996. "description": "来源时间 (成交时间) [消费奖励]",
  32997. "type": "string"
  32998. },
  32999. "srctradeid": {
  33000. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33001. "type": "string"
  33002. },
  33003. "srcuserid": {
  33004. "description": "来源用户ID(推广账户)",
  33005. "type": "string"
  33006. },
  33007. "srcusername": {
  33008. "description": "推广账户名称",
  33009. "type": "string"
  33010. },
  33011. "tradedate": {
  33012. "description": "交易日(yyyyMMdd)",
  33013. "type": "string"
  33014. },
  33015. "userid": {
  33016. "description": "经纪人用户ID",
  33017. "type": "integer"
  33018. }
  33019. }
  33020. },
  33021. "models.QhjContract": {
  33022. "type": "object",
  33023. "properties": {
  33024. "contractconfirmtime": {
  33025. "description": "合同确认时间(时间)",
  33026. "type": "string"
  33027. },
  33028. "currisklevel": {
  33029. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33030. "type": "integer"
  33031. },
  33032. "decimalplace": {
  33033. "description": "商品报价小数位",
  33034. "type": "integer"
  33035. },
  33036. "enumdicname": {
  33037. "description": "单位名称",
  33038. "type": "string"
  33039. },
  33040. "goodscode": {
  33041. "description": "商品代码",
  33042. "type": "string"
  33043. },
  33044. "goodsid": {
  33045. "description": "商品ID [5:融资单]",
  33046. "type": "integer"
  33047. },
  33048. "goodsname": {
  33049. "description": "商品名称",
  33050. "type": "string"
  33051. },
  33052. "goodunitid": {
  33053. "description": "商品单位id",
  33054. "type": "integer"
  33055. },
  33056. "initmargin": {
  33057. "description": "初始保证金(首付款)",
  33058. "type": "number"
  33059. },
  33060. "lenderamount": {
  33061. "description": "贷款金额(总额|订单总额)",
  33062. "type": "number"
  33063. },
  33064. "marginratio": {
  33065. "description": "保证金比率(首付比例)",
  33066. "type": "number"
  33067. },
  33068. "payamount": {
  33069. "description": "已付(已付货款)",
  33070. "type": "number"
  33071. },
  33072. "reckonrecovermargin": {
  33073. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33074. "type": "number"
  33075. },
  33076. "recoveredmargin": {
  33077. "description": "已追缴保证金",
  33078. "type": "number"
  33079. },
  33080. "remainamount": {
  33081. "description": "合同剩余金额(融资额)",
  33082. "type": "number"
  33083. },
  33084. "scfcontractid": {
  33085. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33086. "type": "string"
  33087. },
  33088. "scfcontractstatus": {
  33089. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33090. "type": "integer"
  33091. },
  33092. "scfcontracttype": {
  33093. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33094. "type": "integer"
  33095. },
  33096. "totalinterest": {
  33097. "description": "已计总利息(利息)",
  33098. "type": "number"
  33099. },
  33100. "tradeprice": {
  33101. "description": "成交价格(成本价格)",
  33102. "type": "number"
  33103. },
  33104. "userid": {
  33105. "description": "用户ID",
  33106. "type": "integer"
  33107. },
  33108. "username": {
  33109. "description": "用户名称",
  33110. "type": "string"
  33111. },
  33112. "wrqty": {
  33113. "description": "仓单数量(数量)",
  33114. "type": "number"
  33115. }
  33116. }
  33117. },
  33118. "models.QhjContractLog": {
  33119. "type": "object",
  33120. "properties": {
  33121. "amount": {
  33122. "description": "支付金额",
  33123. "type": "number"
  33124. },
  33125. "amounttype": {
  33126. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33127. "type": "integer"
  33128. },
  33129. "logid": {
  33130. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33131. "type": "string"
  33132. },
  33133. "remainamount": {
  33134. "description": "剩余货款",
  33135. "type": "number"
  33136. },
  33137. "scfcontractid": {
  33138. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33139. "type": "integer"
  33140. },
  33141. "updatetime": {
  33142. "description": "更新时间",
  33143. "type": "string"
  33144. }
  33145. }
  33146. },
  33147. "models.QhjCusBankSignBankEx": {
  33148. "type": "object",
  33149. "properties": {
  33150. "banklst": {
  33151. "description": "银行列表",
  33152. "type": "array",
  33153. "items": {
  33154. "$ref": "#/definitions/models.QhjBankInfo"
  33155. }
  33156. },
  33157. "canallot": {
  33158. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33159. "type": "integer"
  33160. },
  33161. "canallotquery": {
  33162. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33163. "type": "integer"
  33164. },
  33165. "canbindcard": {
  33166. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33167. "type": "integer"
  33168. },
  33169. "caninamount": {
  33170. "description": "是否可入金 - 0:不可 1:可以",
  33171. "type": "integer"
  33172. },
  33173. "caninamount2": {
  33174. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33175. "type": "integer"
  33176. },
  33177. "canmodifybankcard": {
  33178. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33179. "type": "integer"
  33180. },
  33181. "canmodifyphone": {
  33182. "description": "是否可修改手机号 - 0:不可 1:可以",
  33183. "type": "integer"
  33184. },
  33185. "canmodifysigninfo": {
  33186. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33187. "type": "integer"
  33188. },
  33189. "canoutamount": {
  33190. "description": "是否可出金 - 0:不可 1:可以",
  33191. "type": "integer"
  33192. },
  33193. "canoutamount2": {
  33194. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33195. "type": "integer"
  33196. },
  33197. "canrelease": {
  33198. "description": "是否可解约 - 0:不可 1:可以",
  33199. "type": "integer"
  33200. },
  33201. "canrelease2": {
  33202. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33203. "type": "integer"
  33204. },
  33205. "cansign": {
  33206. "description": "是否可签约 - 0:不可 1:可以",
  33207. "type": "integer"
  33208. },
  33209. "cansign2": {
  33210. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33211. "type": "integer"
  33212. },
  33213. "currency": {
  33214. "description": "币种",
  33215. "type": "string"
  33216. },
  33217. "cusbankid": {
  33218. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33219. "type": "string"
  33220. },
  33221. "cusbankname": {
  33222. "description": "银行业务名称",
  33223. "type": "string"
  33224. },
  33225. "cusbankshortname": {
  33226. "description": "银行业务简称",
  33227. "type": "string"
  33228. },
  33229. "exchbankid": {
  33230. "description": "交易所开户银行ID",
  33231. "type": "string"
  33232. },
  33233. "exchpaybankaccname": {
  33234. "description": "交易所支出结算账户户名",
  33235. "type": "string"
  33236. },
  33237. "exchpaybankaccno": {
  33238. "description": "交易所支出结算账户",
  33239. "type": "string"
  33240. },
  33241. "isneedcheck": {
  33242. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33243. "type": "integer"
  33244. },
  33245. "isneedclear": {
  33246. "description": "是否需要清算 - 0:不需要 1:需要",
  33247. "type": "integer"
  33248. },
  33249. "lastcheckstatus": {
  33250. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33251. "type": "integer"
  33252. },
  33253. "lastchecktime": {
  33254. "description": "最后对账时间",
  33255. "type": "string"
  33256. },
  33257. "lastclearstatus": {
  33258. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33259. "type": "integer"
  33260. },
  33261. "lastcleartime": {
  33262. "description": "最后清算时间",
  33263. "type": "string"
  33264. },
  33265. "lastsignintime": {
  33266. "description": "最后签到时间",
  33267. "type": "string"
  33268. },
  33269. "lastsignouttime": {
  33270. "description": "最后签退时间",
  33271. "type": "string"
  33272. },
  33273. "riskinfo": {
  33274. "description": "签约风险提示书",
  33275. "type": "string"
  33276. },
  33277. "signstatus": {
  33278. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33279. "type": "integer"
  33280. },
  33281. "tradedate": {
  33282. "description": "交易日(yyyyMMdd)",
  33283. "type": "string"
  33284. },
  33285. "updatetime": {
  33286. "description": "当前签到/签退更新时间",
  33287. "type": "string"
  33288. }
  33289. }
  33290. },
  33291. "models.QhjCustomer": {
  33292. "type": "object",
  33293. "properties": {
  33294. "address": {
  33295. "description": "通讯地址",
  33296. "type": "string"
  33297. },
  33298. "attachment1": {
  33299. "description": "附件1",
  33300. "type": "string"
  33301. },
  33302. "attachment2": {
  33303. "description": "附件2",
  33304. "type": "string"
  33305. },
  33306. "audittime": {
  33307. "description": "审核时间",
  33308. "type": "string"
  33309. },
  33310. "cardbackphotourl": {
  33311. "description": "证件反面图片地址",
  33312. "type": "string"
  33313. },
  33314. "cardfrontphotourl": {
  33315. "description": "证件正面图片地址",
  33316. "type": "string"
  33317. },
  33318. "cardnum": {
  33319. "description": "证件号码",
  33320. "type": "string"
  33321. },
  33322. "cardtype": {
  33323. "description": "证件类型",
  33324. "type": "integer"
  33325. },
  33326. "cardtypename": {
  33327. "description": "证件类型名称",
  33328. "type": "string"
  33329. },
  33330. "cityid": {
  33331. "description": "市",
  33332. "type": "integer"
  33333. },
  33334. "cityname": {
  33335. "description": "城市名称",
  33336. "type": "string"
  33337. },
  33338. "contactname": {
  33339. "description": "联系人",
  33340. "type": "string"
  33341. },
  33342. "countryid": {
  33343. "description": "国家",
  33344. "type": "integer"
  33345. },
  33346. "countryname": {
  33347. "description": "国家名称",
  33348. "type": "string"
  33349. },
  33350. "createtime": {
  33351. "description": "创建时间",
  33352. "type": "string"
  33353. },
  33354. "customername": {
  33355. "description": "客户名称",
  33356. "type": "string"
  33357. },
  33358. "districtid": {
  33359. "description": "区域",
  33360. "type": "integer"
  33361. },
  33362. "districtname": {
  33363. "description": "地区名称",
  33364. "type": "string"
  33365. },
  33366. "email": {
  33367. "description": "邮件",
  33368. "type": "string"
  33369. },
  33370. "legalpersonname": {
  33371. "description": "法人姓名(企业)",
  33372. "type": "string"
  33373. },
  33374. "logincode": {
  33375. "description": "登录账号(代码)",
  33376. "type": "string"
  33377. },
  33378. "memberuserid": {
  33379. "description": "所属机构ID(所属会员)",
  33380. "type": "integer"
  33381. },
  33382. "memberusername": {
  33383. "description": "所属会员名称",
  33384. "type": "string"
  33385. },
  33386. "mobile": {
  33387. "description": "手机号码",
  33388. "type": "string"
  33389. },
  33390. "modifytime": {
  33391. "description": "修改时间",
  33392. "type": "string"
  33393. },
  33394. "nickname": {
  33395. "description": "昵称",
  33396. "type": "string"
  33397. },
  33398. "parentuserid": {
  33399. "description": "上级机构(所属机构)",
  33400. "type": "integer"
  33401. },
  33402. "parentusername": {
  33403. "description": "所属机构名称",
  33404. "type": "string"
  33405. },
  33406. "provinceid": {
  33407. "description": "省",
  33408. "type": "integer"
  33409. },
  33410. "provincename": {
  33411. "description": "省名称",
  33412. "type": "string"
  33413. },
  33414. "proxystatementurl": {
  33415. "description": "授权委托书",
  33416. "type": "string"
  33417. },
  33418. "remark": {
  33419. "description": "备注",
  33420. "type": "string"
  33421. },
  33422. "status": {
  33423. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33424. "type": "integer"
  33425. },
  33426. "statusdesc": {
  33427. "description": "账户状态中文描述",
  33428. "type": "string"
  33429. },
  33430. "taxpayernum": {
  33431. "description": "纳税人识别号",
  33432. "type": "string"
  33433. },
  33434. "telphone": {
  33435. "description": "联系电话",
  33436. "type": "string"
  33437. },
  33438. "userid": {
  33439. "description": "用户ID",
  33440. "type": "integer"
  33441. },
  33442. "userinfotype": {
  33443. "description": "客户类型 1-个人 2-企业",
  33444. "type": "integer"
  33445. },
  33446. "username": {
  33447. "description": "用户名称",
  33448. "type": "string"
  33449. }
  33450. }
  33451. },
  33452. "models.QhjCustomerSignLog": {
  33453. "type": "object",
  33454. "properties": {
  33455. "agreementcontent": {
  33456. "description": "协议内容",
  33457. "type": "string"
  33458. },
  33459. "agreementid": {
  33460. "description": "协议ID",
  33461. "type": "integer"
  33462. },
  33463. "agreementname": {
  33464. "description": "协议名称",
  33465. "type": "string"
  33466. },
  33467. "agreementno": {
  33468. "description": "协议编号",
  33469. "type": "string"
  33470. },
  33471. "agreementtype": {
  33472. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33473. "type": "integer"
  33474. },
  33475. "agreementversion": {
  33476. "description": "协议版本号",
  33477. "type": "integer"
  33478. },
  33479. "createtime": {
  33480. "description": "创建时间",
  33481. "type": "string"
  33482. },
  33483. "goodscode": {
  33484. "description": "商品代码",
  33485. "type": "string"
  33486. },
  33487. "goodsid": {
  33488. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33489. "type": "integer"
  33490. },
  33491. "goodsname": {
  33492. "description": "商品名称",
  33493. "type": "string"
  33494. },
  33495. "logid": {
  33496. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33497. "type": "integer"
  33498. },
  33499. "nodetype": {
  33500. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33501. "type": "integer"
  33502. },
  33503. "signadressurl": {
  33504. "description": "签约文件地址",
  33505. "type": "string"
  33506. },
  33507. "signtimestamp": {
  33508. "description": "签约状态时间戳",
  33509. "type": "string"
  33510. },
  33511. "userid": {
  33512. "description": "客户ID",
  33513. "type": "integer"
  33514. },
  33515. "username": {
  33516. "description": "客户名称",
  33517. "type": "string"
  33518. }
  33519. }
  33520. },
  33521. "models.QhjCustomerSignStatus": {
  33522. "type": "object",
  33523. "properties": {
  33524. "createtime": {
  33525. "description": "创建时间",
  33526. "type": "string"
  33527. },
  33528. "goodscode": {
  33529. "description": "商品代码",
  33530. "type": "string"
  33531. },
  33532. "goodsid": {
  33533. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33534. "type": "integer"
  33535. },
  33536. "goodsname": {
  33537. "description": "商品名称",
  33538. "type": "string"
  33539. },
  33540. "nodetype": {
  33541. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33542. "type": "integer"
  33543. },
  33544. "signtimestamp": {
  33545. "description": "签约状态时间戳",
  33546. "type": "string"
  33547. },
  33548. "tradedate": {
  33549. "description": "创建交易日(yyyyMMdd)",
  33550. "type": "string"
  33551. },
  33552. "updatetime": {
  33553. "description": "更新时间",
  33554. "type": "string"
  33555. },
  33556. "userid": {
  33557. "description": "客户ID",
  33558. "type": "integer"
  33559. },
  33560. "username": {
  33561. "description": "客户名称",
  33562. "type": "string"
  33563. }
  33564. }
  33565. },
  33566. "models.QhjMgrAccountOutInApply": {
  33567. "type": "object",
  33568. "properties": {
  33569. "accountcode": {
  33570. "description": "资金账号",
  33571. "type": "string"
  33572. },
  33573. "accountname": {
  33574. "description": "用户名称(名称)",
  33575. "type": "string"
  33576. },
  33577. "accountpwd": {
  33578. "description": "资金密码",
  33579. "type": "string"
  33580. },
  33581. "accountticket": {
  33582. "description": "最新账户服务流水号",
  33583. "type": "string"
  33584. },
  33585. "amount": {
  33586. "description": "金额",
  33587. "type": "number"
  33588. },
  33589. "applyremark": {
  33590. "description": "申请备注",
  33591. "type": "string"
  33592. },
  33593. "applystatus": {
  33594. "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: 复审通过,账户冻结金额检查中;",
  33595. "type": "integer"
  33596. },
  33597. "auditid": {
  33598. "description": "审核人",
  33599. "type": "integer"
  33600. },
  33601. "audittime": {
  33602. "description": "审核时间",
  33603. "type": "string"
  33604. },
  33605. "bank_apply_ticket": {
  33606. "description": "银行申请流水",
  33607. "type": "string"
  33608. },
  33609. "bankaccountname": {
  33610. "description": "银行账户名",
  33611. "type": "string"
  33612. },
  33613. "bankaccountno": {
  33614. "description": "银行卡号",
  33615. "type": "string"
  33616. },
  33617. "bankid": {
  33618. "description": "银行编号",
  33619. "type": "string"
  33620. },
  33621. "bankname": {
  33622. "description": "银行名称",
  33623. "type": "string"
  33624. },
  33625. "bankticket": {
  33626. "description": "银行流水",
  33627. "type": "string"
  33628. },
  33629. "branchbankid": {
  33630. "description": "银行支行号",
  33631. "type": "string"
  33632. },
  33633. "branchbankname": {
  33634. "description": "银行支行名称",
  33635. "type": "string"
  33636. },
  33637. "capamountout": {
  33638. "description": "出金(劣后本金) - 外部子账户",
  33639. "type": "number"
  33640. },
  33641. "certificatephotourl": {
  33642. "description": "凭证地址",
  33643. "type": "string"
  33644. },
  33645. "charge": {
  33646. "description": "手续费",
  33647. "type": "number"
  33648. },
  33649. "checkerrorflag": {
  33650. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33651. "type": "integer"
  33652. },
  33653. "currency": {
  33654. "description": "币种",
  33655. "type": "string"
  33656. },
  33657. "cusbankid": {
  33658. "description": "托管银行编号",
  33659. "type": "string"
  33660. },
  33661. "exchticket": {
  33662. "description": "银行服务流水号",
  33663. "type": "string"
  33664. },
  33665. "executetype": {
  33666. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33667. "type": "integer"
  33668. },
  33669. "extendinfo": {
  33670. "description": "扩展信息",
  33671. "type": "string"
  33672. },
  33673. "extoperateid": {
  33674. "description": "交易服务流水号",
  33675. "type": "integer"
  33676. },
  33677. "infamount": {
  33678. "description": "劣后金额(自有)",
  33679. "type": "number"
  33680. },
  33681. "logincode": {
  33682. "description": "登录账号(账号)",
  33683. "type": "string"
  33684. },
  33685. "netaddr": {
  33686. "description": "调转网址",
  33687. "type": "string"
  33688. },
  33689. "priamount": {
  33690. "description": "优先金额(授信)",
  33691. "type": "number"
  33692. },
  33693. "reauditid": {
  33694. "description": "复审人",
  33695. "type": "integer"
  33696. },
  33697. "reauditremark": {
  33698. "description": "复审备注",
  33699. "type": "string"
  33700. },
  33701. "reaudittime": {
  33702. "description": "复审时间",
  33703. "type": "string"
  33704. },
  33705. "relatedorderid": {
  33706. "description": "三方关联ID",
  33707. "type": "string"
  33708. },
  33709. "remark": {
  33710. "description": "备注",
  33711. "type": "string"
  33712. },
  33713. "remark2": {
  33714. "description": "备注(失败原因)",
  33715. "type": "string"
  33716. },
  33717. "soucreamount": {
  33718. "description": "原始出入金金额",
  33719. "type": "number"
  33720. },
  33721. "soucrecurrencyid": {
  33722. "description": "原始出入金币种",
  33723. "type": "integer"
  33724. },
  33725. "tradedate": {
  33726. "description": "交易日(yyyyMMdd)",
  33727. "type": "string"
  33728. },
  33729. "updatetime": {
  33730. "description": "更新时间(申请时间)",
  33731. "type": "string"
  33732. },
  33733. "userid": {
  33734. "description": "用户id",
  33735. "type": "integer"
  33736. },
  33737. "userinfotype": {
  33738. "description": "账户类型 1-个人 2-企业",
  33739. "type": "integer"
  33740. }
  33741. }
  33742. },
  33743. "models.QhjMgrBrokerApply": {
  33744. "type": "object",
  33745. "properties": {
  33746. "applicantid": {
  33747. "description": "申请人",
  33748. "type": "integer"
  33749. },
  33750. "applysrc": {
  33751. "description": "申请来源 - 1:管理端 2:终端",
  33752. "type": "integer"
  33753. },
  33754. "applystatus": {
  33755. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33756. "type": "integer"
  33757. },
  33758. "applytime": {
  33759. "description": "申请时间",
  33760. "type": "string"
  33761. },
  33762. "auditorid": {
  33763. "description": "审核人",
  33764. "type": "integer"
  33765. },
  33766. "auditremark": {
  33767. "description": "审核备注",
  33768. "type": "string"
  33769. },
  33770. "auditsrc": {
  33771. "description": "审核来源 - 1:管理端 2:终端",
  33772. "type": "integer"
  33773. },
  33774. "audittime": {
  33775. "description": "审核时间",
  33776. "type": "string"
  33777. },
  33778. "audittradedate": {
  33779. "description": "审核交易日(yyyyMMdd)",
  33780. "type": "string"
  33781. },
  33782. "brokerapplyid": {
  33783. "description": "申请ID(SEQ_BROKERAPPLY)",
  33784. "type": "integer"
  33785. },
  33786. "cardbackphotourl": {
  33787. "description": "证件背面图片地址",
  33788. "type": "string"
  33789. },
  33790. "cardfrontphotourl": {
  33791. "description": "证件正面图片地址",
  33792. "type": "string"
  33793. },
  33794. "cardnum": {
  33795. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33796. "type": "string"
  33797. },
  33798. "customername": {
  33799. "description": "姓名",
  33800. "type": "string"
  33801. },
  33802. "filterstatus": {
  33803. "description": "筛选条件",
  33804. "type": "string"
  33805. },
  33806. "logincode": {
  33807. "description": "登录代码",
  33808. "type": "string"
  33809. },
  33810. "mobile": {
  33811. "description": "手机号码",
  33812. "type": "string"
  33813. },
  33814. "parentuserid": {
  33815. "description": "所属机构id",
  33816. "type": "integer"
  33817. },
  33818. "parentusername": {
  33819. "description": "所属机构名称",
  33820. "type": "string"
  33821. },
  33822. "refereeuserid": {
  33823. "description": "推荐人id(经纪人)",
  33824. "type": "integer"
  33825. },
  33826. "refernum": {
  33827. "description": "推荐码",
  33828. "type": "string"
  33829. },
  33830. "remark": {
  33831. "description": "备注",
  33832. "type": "string"
  33833. },
  33834. "subarealevelpath": {
  33835. "description": "层级路径",
  33836. "type": "string"
  33837. },
  33838. "tradedate": {
  33839. "description": "交易日(yyyyMMdd)",
  33840. "type": "string"
  33841. },
  33842. "userid": {
  33843. "description": "申请人用户ID",
  33844. "type": "integer"
  33845. },
  33846. "userinfotype": {
  33847. "description": "用户类型 1-个人 2-企业",
  33848. "type": "integer"
  33849. },
  33850. "username": {
  33851. "description": "用户名称",
  33852. "type": "string"
  33853. }
  33854. }
  33855. },
  33856. "models.QhjMgrBrokerRewardReport": {
  33857. "type": "object",
  33858. "properties": {
  33859. "createtime": {
  33860. "description": "创建时间(注册时间)",
  33861. "type": "string"
  33862. },
  33863. "cycletime": {
  33864. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33865. "type": "string"
  33866. },
  33867. "cycletype": {
  33868. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33869. "type": "integer"
  33870. },
  33871. "directtotalnum": {
  33872. "description": "直推总人数【期末】",
  33873. "type": "integer"
  33874. },
  33875. "indirecttotalnum": {
  33876. "description": "间推总人数【期末】",
  33877. "type": "integer"
  33878. },
  33879. "mobile": {
  33880. "description": "电话号码",
  33881. "type": "string"
  33882. },
  33883. "refereeuserid": {
  33884. "description": "推荐人id(经纪人id)",
  33885. "type": "integer"
  33886. },
  33887. "refereeusername": {
  33888. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33889. "type": "string"
  33890. },
  33891. "refernum": {
  33892. "description": "推荐码",
  33893. "type": "string"
  33894. },
  33895. "subarealevelpath": {
  33896. "description": "用户层级路径",
  33897. "type": "string"
  33898. },
  33899. "todayrewardamount": {
  33900. "description": "奖励总金额【汇总】",
  33901. "type": "number"
  33902. },
  33903. "updatetime": {
  33904. "description": "更新时间",
  33905. "type": "string"
  33906. },
  33907. "userid": {
  33908. "description": "经纪人用户ID",
  33909. "type": "integer"
  33910. },
  33911. "userinfotype": {
  33912. "description": "用户类型 1-个人 2-企业",
  33913. "type": "integer"
  33914. },
  33915. "username": {
  33916. "description": "用户名称",
  33917. "type": "string"
  33918. }
  33919. }
  33920. },
  33921. "models.QhjMgrContract": {
  33922. "type": "object",
  33923. "properties": {
  33924. "contractconfirmtime": {
  33925. "description": "合同确认时间(时间)",
  33926. "type": "string"
  33927. },
  33928. "currisklevel": {
  33929. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33930. "type": "integer"
  33931. },
  33932. "decimalplace": {
  33933. "description": "商品报价小数位",
  33934. "type": "integer"
  33935. },
  33936. "enumdicname": {
  33937. "description": "单位名称",
  33938. "type": "string"
  33939. },
  33940. "goodscode": {
  33941. "description": "商品代码",
  33942. "type": "string"
  33943. },
  33944. "goodsid": {
  33945. "description": "商品ID [5:融资单]",
  33946. "type": "integer"
  33947. },
  33948. "goodsname": {
  33949. "description": "商品名称",
  33950. "type": "string"
  33951. },
  33952. "goodunitid": {
  33953. "description": "商品单位id",
  33954. "type": "integer"
  33955. },
  33956. "initmargin": {
  33957. "description": "初始保证金(首付款)",
  33958. "type": "number"
  33959. },
  33960. "lenderamount": {
  33961. "description": "贷款金额(总额|订单总额)",
  33962. "type": "number"
  33963. },
  33964. "logincode": {
  33965. "description": "账号(登录代码)",
  33966. "type": "string"
  33967. },
  33968. "marginratio": {
  33969. "description": "保证金比率(首付比例)",
  33970. "type": "number"
  33971. },
  33972. "mobile": {
  33973. "description": "电话号码(用户资料里的电话)",
  33974. "type": "string"
  33975. },
  33976. "payamount": {
  33977. "description": "已付(已付货款)",
  33978. "type": "number"
  33979. },
  33980. "reckonrecovermargin": {
  33981. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33982. "type": "number"
  33983. },
  33984. "recoveredmargin": {
  33985. "description": "已追缴保证金",
  33986. "type": "number"
  33987. },
  33988. "remainamount": {
  33989. "description": "合同剩余金额(融资额)",
  33990. "type": "number"
  33991. },
  33992. "scfcontractid": {
  33993. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33994. "type": "string"
  33995. },
  33996. "scfcontractstatus": {
  33997. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33998. "type": "integer"
  33999. },
  34000. "scfcontracttype": {
  34001. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34002. "type": "integer"
  34003. },
  34004. "totalinterest": {
  34005. "description": "已计总利息(利息)",
  34006. "type": "number"
  34007. },
  34008. "tradedate": {
  34009. "description": "交易日",
  34010. "type": "string"
  34011. },
  34012. "tradeprice": {
  34013. "description": "成交价格(成本价格)",
  34014. "type": "number"
  34015. },
  34016. "userid": {
  34017. "description": "用户ID",
  34018. "type": "integer"
  34019. },
  34020. "userinfotype": {
  34021. "description": "用户类型 1-个人 2-企业",
  34022. "type": "integer"
  34023. },
  34024. "username": {
  34025. "description": "用户名称",
  34026. "type": "string"
  34027. },
  34028. "wrqty": {
  34029. "description": "仓单数量(数量)",
  34030. "type": "number"
  34031. }
  34032. }
  34033. },
  34034. "models.QhjMgrCustomer": {
  34035. "type": "object",
  34036. "properties": {
  34037. "address": {
  34038. "description": "通讯地址",
  34039. "type": "string"
  34040. },
  34041. "attachment1": {
  34042. "description": "附件1",
  34043. "type": "string"
  34044. },
  34045. "audittime": {
  34046. "description": "审核时间",
  34047. "type": "string"
  34048. },
  34049. "birthday": {
  34050. "description": "生日",
  34051. "type": "string"
  34052. },
  34053. "brokerid": {
  34054. "description": "所属客户经理id",
  34055. "type": "integer"
  34056. },
  34057. "brokername": {
  34058. "description": "所属客户经理名称",
  34059. "type": "string"
  34060. },
  34061. "cardbackphotourl": {
  34062. "description": "证件反面图片地址",
  34063. "type": "string"
  34064. },
  34065. "cardfrontphotourl": {
  34066. "description": "证件正面图片地址",
  34067. "type": "string"
  34068. },
  34069. "cardnum": {
  34070. "description": "证件号码",
  34071. "type": "string"
  34072. },
  34073. "cardtype": {
  34074. "description": "证件类型",
  34075. "type": "integer"
  34076. },
  34077. "cardtypename": {
  34078. "description": "证件类型名称",
  34079. "type": "string"
  34080. },
  34081. "cityid": {
  34082. "description": "市",
  34083. "type": "integer"
  34084. },
  34085. "cityname": {
  34086. "description": "城市名称",
  34087. "type": "string"
  34088. },
  34089. "contactname": {
  34090. "description": "联系人",
  34091. "type": "string"
  34092. },
  34093. "countryid": {
  34094. "description": "国家",
  34095. "type": "integer"
  34096. },
  34097. "countryname": {
  34098. "description": "国家名称",
  34099. "type": "string"
  34100. },
  34101. "createtime": {
  34102. "description": "创建时间",
  34103. "type": "string"
  34104. },
  34105. "customername": {
  34106. "description": "客户名称",
  34107. "type": "string"
  34108. },
  34109. "districtid": {
  34110. "description": "区域",
  34111. "type": "integer"
  34112. },
  34113. "districtname": {
  34114. "description": "地区名称",
  34115. "type": "string"
  34116. },
  34117. "email": {
  34118. "description": "邮件",
  34119. "type": "string"
  34120. },
  34121. "legalpersonname": {
  34122. "description": "法人姓名(企业)",
  34123. "type": "string"
  34124. },
  34125. "logincode": {
  34126. "description": "登录账号(代码)",
  34127. "type": "string"
  34128. },
  34129. "memberuserid": {
  34130. "description": "所属机构ID(所属会员)",
  34131. "type": "integer"
  34132. },
  34133. "memberusername": {
  34134. "description": "所属会员名称",
  34135. "type": "string"
  34136. },
  34137. "mobile": {
  34138. "description": "手机号码",
  34139. "type": "string"
  34140. },
  34141. "modifytime": {
  34142. "description": "修改时间",
  34143. "type": "string"
  34144. },
  34145. "nickname": {
  34146. "description": "昵称",
  34147. "type": "string"
  34148. },
  34149. "parentuserid": {
  34150. "description": "上级机构(所属机构)",
  34151. "type": "integer"
  34152. },
  34153. "parentusername": {
  34154. "description": "所属机构名称",
  34155. "type": "string"
  34156. },
  34157. "provinceid": {
  34158. "description": "省",
  34159. "type": "integer"
  34160. },
  34161. "provincename": {
  34162. "description": "省名称",
  34163. "type": "string"
  34164. },
  34165. "proxystatementurl": {
  34166. "description": "授权委托书",
  34167. "type": "string"
  34168. },
  34169. "querytype": {
  34170. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34171. "type": "integer"
  34172. },
  34173. "remark": {
  34174. "description": "备注",
  34175. "type": "string"
  34176. },
  34177. "sex": {
  34178. "description": "性别 0-女 1-男",
  34179. "type": "integer"
  34180. },
  34181. "status": {
  34182. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34183. "type": "integer"
  34184. },
  34185. "statusdesc": {
  34186. "description": "账户状态中文描述",
  34187. "type": "string"
  34188. },
  34189. "taxpayernum": {
  34190. "description": "纳税人识别号",
  34191. "type": "string"
  34192. },
  34193. "telphone": {
  34194. "description": "联系电话",
  34195. "type": "string"
  34196. },
  34197. "userid": {
  34198. "description": "用户ID",
  34199. "type": "integer"
  34200. },
  34201. "userinfotype": {
  34202. "description": "客户类型 1-个人 2-企业",
  34203. "type": "integer"
  34204. },
  34205. "username": {
  34206. "description": "用户名称",
  34207. "type": "string"
  34208. }
  34209. }
  34210. },
  34211. "models.QhjMgrPickGoods": {
  34212. "type": "object",
  34213. "properties": {
  34214. "enumdicname": {
  34215. "description": "单位名称(提货商品)",
  34216. "type": "string"
  34217. },
  34218. "goodsid": {
  34219. "description": "商品id",
  34220. "type": "integer"
  34221. },
  34222. "imageaddress": {
  34223. "description": "图片",
  34224. "type": "string"
  34225. },
  34226. "modifierid": {
  34227. "description": "修改人",
  34228. "type": "integer"
  34229. },
  34230. "modifiername": {
  34231. "description": "修改人名称",
  34232. "type": "string"
  34233. },
  34234. "modifysrc": {
  34235. "description": "修改来源 - 1:管理端 2:终端",
  34236. "type": "integer"
  34237. },
  34238. "pickupgoodsagreeunit": {
  34239. "description": "合约乘数",
  34240. "type": "number"
  34241. },
  34242. "pickupgoodsdesc": {
  34243. "description": "描述",
  34244. "type": "string"
  34245. },
  34246. "pickupgoodsid": {
  34247. "description": "提货商品ID",
  34248. "type": "string"
  34249. },
  34250. "pickupgoodsname": {
  34251. "description": "提货商品名称",
  34252. "type": "string"
  34253. },
  34254. "pickupgoodsstatus": {
  34255. "description": "状态 - 1:正常 2:停用 3:注销",
  34256. "type": "integer"
  34257. },
  34258. "pickupgoodsunitid": {
  34259. "description": "单位ID",
  34260. "type": "integer"
  34261. },
  34262. "pickupratio": {
  34263. "description": "提货系数",
  34264. "type": "number"
  34265. },
  34266. "preparedays": {
  34267. "description": "备货期(天)",
  34268. "type": "integer"
  34269. },
  34270. "remark": {
  34271. "description": "备注",
  34272. "type": "string"
  34273. },
  34274. "updatetime": {
  34275. "description": "更新时间",
  34276. "type": "string"
  34277. }
  34278. }
  34279. },
  34280. "models.QhjMgrPositionRsp": {
  34281. "type": "object",
  34282. "properties": {
  34283. "accountid": {
  34284. "description": "账号Id",
  34285. "type": "integer"
  34286. },
  34287. "accountname": {
  34288. "description": "用户名称",
  34289. "type": "string"
  34290. },
  34291. "agreeunit": {
  34292. "description": "合约乘数",
  34293. "type": "number"
  34294. },
  34295. "averageprice": {
  34296. "description": "均价",
  34297. "type": "number"
  34298. },
  34299. "avialqty": {
  34300. "description": "可用数量",
  34301. "type": "number"
  34302. },
  34303. "decimalplace": {
  34304. "description": "报价小数位",
  34305. "type": "integer"
  34306. },
  34307. "enumdicname": {
  34308. "description": "单位名称(商品)",
  34309. "type": "string"
  34310. },
  34311. "frozenqty": {
  34312. "description": "冻结数量",
  34313. "type": "number"
  34314. },
  34315. "goodscode": {
  34316. "description": "商品代码(内部)",
  34317. "type": "string"
  34318. },
  34319. "goodsid": {
  34320. "description": "商品Id",
  34321. "type": "integer"
  34322. },
  34323. "goodsname": {
  34324. "description": "商品名称",
  34325. "type": "string"
  34326. },
  34327. "goodunitid": {
  34328. "description": "报价单位ID",
  34329. "type": "integer"
  34330. },
  34331. "holderamount": {
  34332. "description": "金额",
  34333. "type": "number"
  34334. },
  34335. "holderqty": {
  34336. "description": "持有数量",
  34337. "type": "number"
  34338. },
  34339. "holdertype": {
  34340. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34341. "type": "integer"
  34342. },
  34343. "logincode": {
  34344. "description": "登录代码(账户)",
  34345. "type": "string"
  34346. },
  34347. "marketid": {
  34348. "description": "市场id",
  34349. "type": "integer"
  34350. },
  34351. "qtydecimalplace": {
  34352. "description": "成交量小数位",
  34353. "type": "integer"
  34354. },
  34355. "trademode": {
  34356. "description": "交易模式",
  34357. "type": "integer"
  34358. },
  34359. "userid": {
  34360. "description": "用户id",
  34361. "type": "integer"
  34362. },
  34363. "userinfotype": {
  34364. "description": "账户类型 1-个人 2-企业",
  34365. "type": "integer"
  34366. }
  34367. }
  34368. },
  34369. "models.QhjMgrSubArea": {
  34370. "type": "object",
  34371. "properties": {
  34372. "accountname": {
  34373. "description": "账户名称(机构名称)",
  34374. "type": "string"
  34375. },
  34376. "memberuserid": {
  34377. "description": "所属会员ID",
  34378. "type": "integer"
  34379. },
  34380. "parenttopuser": {
  34381. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34382. "type": "string"
  34383. },
  34384. "parentuserid": {
  34385. "description": "所属机构ID",
  34386. "type": "integer"
  34387. },
  34388. "rootuserid": {
  34389. "description": "根用户ID",
  34390. "type": "string"
  34391. },
  34392. "subaccountlevel": {
  34393. "description": "子账户层数",
  34394. "type": "integer"
  34395. },
  34396. "subarealevelpath": {
  34397. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34398. "type": "string"
  34399. },
  34400. "userid": {
  34401. "description": "用户ID",
  34402. "type": "integer"
  34403. },
  34404. "usertype": {
  34405. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34406. "type": "integer"
  34407. }
  34408. }
  34409. },
  34410. "models.QhjMgrTradeDetailRsp": {
  34411. "type": "object",
  34412. "properties": {
  34413. "accountid": {
  34414. "description": "资金账号",
  34415. "type": "integer"
  34416. },
  34417. "accountname": {
  34418. "description": "用户名称",
  34419. "type": "string"
  34420. },
  34421. "agreeunit": {
  34422. "description": "合约乘数",
  34423. "type": "number"
  34424. },
  34425. "buyorsell": {
  34426. "description": "成交类型(方向) 0:买 1:卖",
  34427. "type": "integer"
  34428. },
  34429. "decimalplace": {
  34430. "description": "报价小数位",
  34431. "type": "integer"
  34432. },
  34433. "enumdicname": {
  34434. "description": "单位名称(商品)",
  34435. "type": "string"
  34436. },
  34437. "goodscode": {
  34438. "description": "商品代码(内部)",
  34439. "type": "string"
  34440. },
  34441. "goodsid": {
  34442. "description": "商品id",
  34443. "type": "integer"
  34444. },
  34445. "goodsname": {
  34446. "description": "商品名称",
  34447. "type": "string"
  34448. },
  34449. "goodunitid": {
  34450. "description": "报价单位ID",
  34451. "type": "integer"
  34452. },
  34453. "logincode": {
  34454. "description": "登录代码(账户)",
  34455. "type": "string"
  34456. },
  34457. "marketid": {
  34458. "description": "市场id",
  34459. "type": "integer"
  34460. },
  34461. "orderid": {
  34462. "description": "关联委托单号",
  34463. "type": "string"
  34464. },
  34465. "qtydecimalplace": {
  34466. "description": "成交量小数位",
  34467. "type": "integer"
  34468. },
  34469. "tradeamount": {
  34470. "description": "金额",
  34471. "type": "number"
  34472. },
  34473. "tradedate": {
  34474. "description": "交易日",
  34475. "type": "string"
  34476. },
  34477. "tradeid": {
  34478. "description": "成交单号",
  34479. "type": "string"
  34480. },
  34481. "trademode": {
  34482. "description": "交易模式",
  34483. "type": "integer"
  34484. },
  34485. "tradeprice": {
  34486. "description": "价格",
  34487. "type": "number"
  34488. },
  34489. "tradeqty": {
  34490. "description": "数量",
  34491. "type": "number"
  34492. },
  34493. "tradetime": {
  34494. "description": "成交时间",
  34495. "type": "string"
  34496. },
  34497. "userid": {
  34498. "description": "用户id",
  34499. "type": "integer"
  34500. },
  34501. "userinfotype": {
  34502. "description": "账户类型 1-个人 2-企业",
  34503. "type": "integer"
  34504. }
  34505. }
  34506. },
  34507. "models.QhjMgrTradeOrderDetailRsp": {
  34508. "type": "object",
  34509. "properties": {
  34510. "accountid": {
  34511. "description": "资金账号",
  34512. "type": "integer"
  34513. },
  34514. "accountname": {
  34515. "description": "用户名称",
  34516. "type": "string"
  34517. },
  34518. "agreeunit": {
  34519. "description": "合约乘数",
  34520. "type": "number"
  34521. },
  34522. "amount": {
  34523. "description": "金额",
  34524. "type": "number"
  34525. },
  34526. "decimalplace": {
  34527. "description": "报价小数位",
  34528. "type": "integer"
  34529. },
  34530. "enumdicname": {
  34531. "description": "单位名称(商品)",
  34532. "type": "string"
  34533. },
  34534. "goodscode": {
  34535. "description": "商品代码(内部)",
  34536. "type": "string"
  34537. },
  34538. "goodsid": {
  34539. "description": "商品id",
  34540. "type": "integer"
  34541. },
  34542. "goodsname": {
  34543. "description": "商品名称",
  34544. "type": "string"
  34545. },
  34546. "goodunitid": {
  34547. "description": "报价单位ID",
  34548. "type": "integer"
  34549. },
  34550. "logincode": {
  34551. "description": "登录代码(账户)",
  34552. "type": "string"
  34553. },
  34554. "marketid": {
  34555. "description": "市场id",
  34556. "type": "integer"
  34557. },
  34558. "orderid": {
  34559. "description": "关联委托单号",
  34560. "type": "string"
  34561. },
  34562. "orderprice": {
  34563. "description": "价格",
  34564. "type": "number"
  34565. },
  34566. "orderqty": {
  34567. "description": "数量",
  34568. "type": "number"
  34569. },
  34570. "orderstatus": {
  34571. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34572. "type": "integer"
  34573. },
  34574. "ordertime": {
  34575. "description": "委托时间",
  34576. "type": "string"
  34577. },
  34578. "qtydecimalplace": {
  34579. "description": "成交量小数位",
  34580. "type": "integer"
  34581. },
  34582. "tradedate": {
  34583. "description": "交易日",
  34584. "type": "string"
  34585. },
  34586. "trademode": {
  34587. "description": "交易模式",
  34588. "type": "integer"
  34589. },
  34590. "userid": {
  34591. "description": "用户id",
  34592. "type": "integer"
  34593. },
  34594. "userinfotype": {
  34595. "description": "账户类型 1-个人 2-企业",
  34596. "type": "integer"
  34597. }
  34598. }
  34599. },
  34600. "models.QhjMgrTradePayOrder": {
  34601. "type": "object",
  34602. "properties": {
  34603. "accountname": {
  34604. "description": "用户名称",
  34605. "type": "string"
  34606. },
  34607. "advanceratio": {
  34608. "description": "首付比率",
  34609. "type": "number"
  34610. },
  34611. "agreeunit": {
  34612. "description": "合约乘数",
  34613. "type": "number"
  34614. },
  34615. "buyaccountid": {
  34616. "description": "买方账号ID[报价币种]",
  34617. "type": "integer"
  34618. },
  34619. "buyorderid": {
  34620. "description": "买方委托单号(关联单号)",
  34621. "type": "string"
  34622. },
  34623. "createtime": {
  34624. "description": "创建时间",
  34625. "type": "string"
  34626. },
  34627. "decimalplace": {
  34628. "description": "报价小数位",
  34629. "type": "integer"
  34630. },
  34631. "enumdicname": {
  34632. "description": "单位名称(商品)",
  34633. "type": "string"
  34634. },
  34635. "goodscode": {
  34636. "description": "商品代码(内部)",
  34637. "type": "string"
  34638. },
  34639. "goodsid": {
  34640. "description": "商品ID",
  34641. "type": "integer"
  34642. },
  34643. "goodsname": {
  34644. "description": "商品名称",
  34645. "type": "string"
  34646. },
  34647. "goodunitid": {
  34648. "description": "报价单位ID",
  34649. "type": "integer"
  34650. },
  34651. "logincode": {
  34652. "description": "登录代码(账户)",
  34653. "type": "string"
  34654. },
  34655. "marketid": {
  34656. "description": "市场id",
  34657. "type": "integer"
  34658. },
  34659. "offamount": {
  34660. "description": "优惠金额",
  34661. "type": "number"
  34662. },
  34663. "operatetype": {
  34664. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34665. "type": "integer"
  34666. },
  34667. "payamount": {
  34668. "description": "支付金额(金额)",
  34669. "type": "number"
  34670. },
  34671. "payflag": {
  34672. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34673. "type": "integer"
  34674. },
  34675. "paylimitedtime": {
  34676. "description": "支付期限",
  34677. "type": "string"
  34678. },
  34679. "paytime": {
  34680. "description": "付款时间",
  34681. "type": "string"
  34682. },
  34683. "qtydecimalplace": {
  34684. "description": "成交量小数位",
  34685. "type": "integer"
  34686. },
  34687. "sellaccountid": {
  34688. "description": "卖方账号ID[报价币种]",
  34689. "type": "integer"
  34690. },
  34691. "sellorderid": {
  34692. "description": "卖方委托单号",
  34693. "type": "string"
  34694. },
  34695. "tradeamount": {
  34696. "description": "成交金额(优惠后金额)",
  34697. "type": "number"
  34698. },
  34699. "tradecharge": {
  34700. "description": "成交手续费(买方)",
  34701. "type": "number"
  34702. },
  34703. "tradedate": {
  34704. "description": "交易日(yyyyMMdd)",
  34705. "type": "string"
  34706. },
  34707. "tradeid": {
  34708. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34709. "type": "string"
  34710. },
  34711. "trademode": {
  34712. "description": "交易模式",
  34713. "type": "integer"
  34714. },
  34715. "tradeprice": {
  34716. "description": "成交价格(价格)",
  34717. "type": "number"
  34718. },
  34719. "tradeqty": {
  34720. "description": "成交数量(数量)",
  34721. "type": "number"
  34722. },
  34723. "tradetime": {
  34724. "description": "成交时间",
  34725. "type": "string"
  34726. },
  34727. "userid": {
  34728. "description": "用户id",
  34729. "type": "integer"
  34730. },
  34731. "userinfotype": {
  34732. "description": "账户类型 1-个人 2-企业",
  34733. "type": "integer"
  34734. }
  34735. }
  34736. },
  34737. "models.QhjMyTeamEx": {
  34738. "type": "object",
  34739. "properties": {
  34740. "accountname": {
  34741. "description": "用户名称",
  34742. "type": "string"
  34743. },
  34744. "accountstatus": {
  34745. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34746. "type": "integer"
  34747. },
  34748. "createtime": {
  34749. "description": "创建时间",
  34750. "type": "string"
  34751. },
  34752. "mobile": {
  34753. "description": "手机号码",
  34754. "type": "string"
  34755. },
  34756. "refereeuserid": {
  34757. "description": "推荐人id",
  34758. "type": "integer"
  34759. },
  34760. "refernum": {
  34761. "description": "推荐码",
  34762. "type": "string"
  34763. },
  34764. "subList": {
  34765. "type": "array",
  34766. "items": {
  34767. "$ref": "#/definitions/models.QhjMyTeamEx"
  34768. }
  34769. },
  34770. "userid": {
  34771. "description": "用户id",
  34772. "type": "integer"
  34773. },
  34774. "userinfotype": {
  34775. "description": "用户类型 1-个人 2-企业",
  34776. "type": "integer"
  34777. }
  34778. }
  34779. },
  34780. "models.QhjNodeAgreementConfig": {
  34781. "type": "object",
  34782. "properties": {
  34783. "agreementcontent": {
  34784. "description": "协议内容",
  34785. "type": "string"
  34786. },
  34787. "agreementid": {
  34788. "description": "协议ID",
  34789. "type": "integer"
  34790. },
  34791. "agreementname": {
  34792. "description": "协议名称",
  34793. "type": "string"
  34794. },
  34795. "agreementno": {
  34796. "description": "协议编号",
  34797. "type": "string"
  34798. },
  34799. "agreementtype": {
  34800. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34801. "type": "integer"
  34802. },
  34803. "agreementversion": {
  34804. "description": "协议版本号",
  34805. "type": "integer"
  34806. },
  34807. "configid": {
  34808. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34809. "type": "integer"
  34810. },
  34811. "createtime": {
  34812. "description": "创建时间",
  34813. "type": "string"
  34814. },
  34815. "goodsid": {
  34816. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34817. "type": "integer"
  34818. },
  34819. "nodetype": {
  34820. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34821. "type": "integer"
  34822. }
  34823. }
  34824. },
  34825. "models.QhjParentAreaList": {
  34826. "type": "object",
  34827. "properties": {
  34828. "accountname": {
  34829. "description": "账户名称(机构名称)",
  34830. "type": "string"
  34831. },
  34832. "userid": {
  34833. "description": "用户ID",
  34834. "type": "integer"
  34835. },
  34836. "usertype": {
  34837. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34838. "type": "integer"
  34839. }
  34840. }
  34841. },
  34842. "models.QhjPayOrder": {
  34843. "type": "object",
  34844. "properties": {
  34845. "advanceratio": {
  34846. "description": "首付比率",
  34847. "type": "number"
  34848. },
  34849. "buyaccountid": {
  34850. "description": "买方账号ID[报价币种]",
  34851. "type": "integer"
  34852. },
  34853. "buyorderid": {
  34854. "description": "买方委托单号",
  34855. "type": "string"
  34856. },
  34857. "createtime": {
  34858. "description": "创建时间",
  34859. "type": "string"
  34860. },
  34861. "decimalplace": {
  34862. "description": "商品报价小数位",
  34863. "type": "integer"
  34864. },
  34865. "enumdicname": {
  34866. "description": "单位名称",
  34867. "type": "string"
  34868. },
  34869. "goodscode": {
  34870. "description": "商品代码",
  34871. "type": "string"
  34872. },
  34873. "goodsid": {
  34874. "description": "商品ID",
  34875. "type": "integer"
  34876. },
  34877. "goodsname": {
  34878. "description": "商品名称",
  34879. "type": "string"
  34880. },
  34881. "goodunitid": {
  34882. "description": "商品单位id",
  34883. "type": "integer"
  34884. },
  34885. "marketid": {
  34886. "description": "市场ID",
  34887. "type": "integer"
  34888. },
  34889. "offamount": {
  34890. "description": "优惠金额",
  34891. "type": "number"
  34892. },
  34893. "operatetype": {
  34894. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34895. "type": "integer"
  34896. },
  34897. "payamount": {
  34898. "description": "支付金额",
  34899. "type": "number"
  34900. },
  34901. "payflag": {
  34902. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34903. "type": "integer"
  34904. },
  34905. "paylimitedtime": {
  34906. "description": "支付期限",
  34907. "type": "string"
  34908. },
  34909. "paytime": {
  34910. "description": "付款时间",
  34911. "type": "string"
  34912. },
  34913. "qtydecimalplace": {
  34914. "description": "成交量小数位",
  34915. "type": "integer"
  34916. },
  34917. "sellaccountid": {
  34918. "description": "卖方账号ID[报价币种]",
  34919. "type": "integer"
  34920. },
  34921. "sellorderid": {
  34922. "description": "卖方委托单号",
  34923. "type": "string"
  34924. },
  34925. "tradeamount": {
  34926. "description": "成交金额(优惠后金额)",
  34927. "type": "number"
  34928. },
  34929. "tradecharge": {
  34930. "description": "成交手续费(买方)",
  34931. "type": "number"
  34932. },
  34933. "tradedate": {
  34934. "description": "交易日(yyyyMMdd)",
  34935. "type": "string"
  34936. },
  34937. "tradeid": {
  34938. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34939. "type": "string"
  34940. },
  34941. "tradeprice": {
  34942. "description": "成交价格",
  34943. "type": "number"
  34944. },
  34945. "tradeqty": {
  34946. "description": "成交数量",
  34947. "type": "number"
  34948. }
  34949. }
  34950. },
  34951. "models.QhjPickArea": {
  34952. "type": "object",
  34953. "properties": {
  34954. "address": {
  34955. "description": "详细地址",
  34956. "type": "string"
  34957. },
  34958. "cityid": {
  34959. "description": "市",
  34960. "type": "integer"
  34961. },
  34962. "cityname": {
  34963. "description": "城市名称",
  34964. "type": "string"
  34965. },
  34966. "countryid": {
  34967. "description": "国家",
  34968. "type": "integer"
  34969. },
  34970. "countryname": {
  34971. "description": "国家名称",
  34972. "type": "string"
  34973. },
  34974. "districtid": {
  34975. "description": "地区",
  34976. "type": "integer"
  34977. },
  34978. "districtname": {
  34979. "description": "地区名称",
  34980. "type": "string"
  34981. },
  34982. "fromuserid": {
  34983. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34984. "type": "integer"
  34985. },
  34986. "fromusername": {
  34987. "description": "所属机构名称",
  34988. "type": "string"
  34989. },
  34990. "provinceid": {
  34991. "description": "省",
  34992. "type": "integer"
  34993. },
  34994. "provincename": {
  34995. "description": "省名称",
  34996. "type": "string"
  34997. },
  34998. "suborgtype": {
  34999. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35000. "type": "integer"
  35001. },
  35002. "userid": {
  35003. "description": "机构用户ID 其他做市关系,都设置为 1",
  35004. "type": "integer"
  35005. },
  35006. "username": {
  35007. "description": "机构用户名称(门店门称)",
  35008. "type": "string"
  35009. }
  35010. }
  35011. },
  35012. "models.QhjPickGoods": {
  35013. "type": "object",
  35014. "properties": {
  35015. "enumdicname": {
  35016. "description": "单位名称(提货商品)",
  35017. "type": "string"
  35018. },
  35019. "goodsid": {
  35020. "description": "商品id",
  35021. "type": "integer"
  35022. },
  35023. "imageaddress": {
  35024. "description": "图片",
  35025. "type": "string"
  35026. },
  35027. "modifierid": {
  35028. "description": "修改人",
  35029. "type": "integer"
  35030. },
  35031. "modifiername": {
  35032. "description": "修改人名称",
  35033. "type": "string"
  35034. },
  35035. "modifysrc": {
  35036. "description": "修改来源 - 1:管理端 2:终端",
  35037. "type": "integer"
  35038. },
  35039. "pickupgoodsagreeunit": {
  35040. "description": "合约乘数",
  35041. "type": "number"
  35042. },
  35043. "pickupgoodsdesc": {
  35044. "description": "描述",
  35045. "type": "string"
  35046. },
  35047. "pickupgoodsid": {
  35048. "description": "提货商品ID",
  35049. "type": "string"
  35050. },
  35051. "pickupgoodsname": {
  35052. "description": "提货商品名称",
  35053. "type": "string"
  35054. },
  35055. "pickupgoodsstatus": {
  35056. "description": "状态 - 1:正常 2:停用 3:注销",
  35057. "type": "integer"
  35058. },
  35059. "pickupgoodsunitid": {
  35060. "description": "单位ID",
  35061. "type": "integer"
  35062. },
  35063. "pickupratio": {
  35064. "description": "提货系数",
  35065. "type": "number"
  35066. },
  35067. "preparedays": {
  35068. "description": "备货期(天)",
  35069. "type": "integer"
  35070. },
  35071. "remark": {
  35072. "description": "备注",
  35073. "type": "string"
  35074. },
  35075. "updatetime": {
  35076. "description": "更新时间",
  35077. "type": "string"
  35078. }
  35079. }
  35080. },
  35081. "models.QhjRSTriggerLog": {
  35082. "type": "object",
  35083. "properties": {
  35084. "accountid": {
  35085. "description": "用户资金账户",
  35086. "type": "integer"
  35087. },
  35088. "accountname": {
  35089. "description": "账号名称(ACCOUNTID对应的名称)",
  35090. "type": "string"
  35091. },
  35092. "currencyid": {
  35093. "description": "币种id",
  35094. "type": "integer"
  35095. },
  35096. "currencyname": {
  35097. "description": "币种名称",
  35098. "type": "string"
  35099. },
  35100. "decimalplace": {
  35101. "description": "商品报价小数位",
  35102. "type": "integer"
  35103. },
  35104. "enumdicname": {
  35105. "description": "单位名称",
  35106. "type": "string"
  35107. },
  35108. "goodscode": {
  35109. "description": "定投商品代码",
  35110. "type": "string"
  35111. },
  35112. "goodsid": {
  35113. "description": "定投商品ID",
  35114. "type": "integer"
  35115. },
  35116. "goodsname": {
  35117. "description": "定投商品名称",
  35118. "type": "string"
  35119. },
  35120. "goodunitid": {
  35121. "description": "定投商品单位id",
  35122. "type": "integer"
  35123. },
  35124. "logid": {
  35125. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35126. "type": "string"
  35127. },
  35128. "logincode": {
  35129. "description": "账号(登录代码)",
  35130. "type": "string"
  35131. },
  35132. "qtydecimalplace": {
  35133. "description": "成交量小数位",
  35134. "type": "integer"
  35135. },
  35136. "regularlycycle": {
  35137. "description": "定投频率 - 1:每周 2:每月",
  35138. "type": "integer"
  35139. },
  35140. "regularlycyclevalue": {
  35141. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35142. "type": "string"
  35143. },
  35144. "regularlymode": {
  35145. "description": "定投方式 - 1:按数量 2:按金额",
  35146. "type": "integer"
  35147. },
  35148. "regularlymodevalue": {
  35149. "description": "定投方式值 - 数量或金额",
  35150. "type": "number"
  35151. },
  35152. "regularlystrategyid": {
  35153. "description": "定投策略ID",
  35154. "type": "integer"
  35155. },
  35156. "retcode": {
  35157. "description": "错误码",
  35158. "type": "string"
  35159. },
  35160. "tradeid": {
  35161. "description": "成交单ID",
  35162. "type": "string"
  35163. },
  35164. "triggeramount": {
  35165. "description": "触发金额",
  35166. "type": "number"
  35167. },
  35168. "triggerqty": {
  35169. "description": "触发数量",
  35170. "type": "number"
  35171. },
  35172. "triggerstatus": {
  35173. "description": "触发状态 - 1:成功 2:失败",
  35174. "type": "integer"
  35175. },
  35176. "triggertime": {
  35177. "description": "触发时间",
  35178. "type": "string"
  35179. },
  35180. "triggertradedate": {
  35181. "description": "触发交易日",
  35182. "type": "string"
  35183. },
  35184. "userid": {
  35185. "description": "所属用户ID",
  35186. "type": "integer"
  35187. },
  35188. "userinfotype": {
  35189. "description": "用户类型 1-个人 2-企业",
  35190. "type": "integer"
  35191. },
  35192. "username": {
  35193. "description": "用户名称(userid对应的名称)",
  35194. "type": "string"
  35195. }
  35196. }
  35197. },
  35198. "models.QhjRStrategy": {
  35199. "type": "object",
  35200. "properties": {
  35201. "accountid": {
  35202. "description": "用户资金账户",
  35203. "type": "integer"
  35204. },
  35205. "accountname": {
  35206. "description": "账号名称(ACCOUNTID对应的名称)",
  35207. "type": "string"
  35208. },
  35209. "currencyid": {
  35210. "description": "币种id",
  35211. "type": "integer"
  35212. },
  35213. "currencyname": {
  35214. "description": "币种名称",
  35215. "type": "string"
  35216. },
  35217. "decimalplace": {
  35218. "description": "商品报价小数位",
  35219. "type": "integer"
  35220. },
  35221. "enumdicname": {
  35222. "description": "单位名称",
  35223. "type": "string"
  35224. },
  35225. "goodscode": {
  35226. "description": "定投商品代码",
  35227. "type": "string"
  35228. },
  35229. "goodsid": {
  35230. "description": "定投商品ID",
  35231. "type": "integer"
  35232. },
  35233. "goodsname": {
  35234. "description": "定投商品名称",
  35235. "type": "string"
  35236. },
  35237. "goodunitid": {
  35238. "description": "定投商品单位id",
  35239. "type": "integer"
  35240. },
  35241. "lasteffecttradedate": {
  35242. "description": "最新生效交易日",
  35243. "type": "string"
  35244. },
  35245. "laststoptradedate": {
  35246. "description": "最新暂停交易日",
  35247. "type": "string"
  35248. },
  35249. "lasttriggertradedate": {
  35250. "description": "最新触发交易日",
  35251. "type": "string"
  35252. },
  35253. "logincode": {
  35254. "description": "账号(登录代码)",
  35255. "type": "string"
  35256. },
  35257. "nexttriggeramount": {
  35258. "description": "下次触发金额",
  35259. "type": "number"
  35260. },
  35261. "nexttriggerdate": {
  35262. "description": "下次触发日期",
  35263. "type": "string"
  35264. },
  35265. "nexttriggerqty": {
  35266. "description": "下次触发数量 [按小数位放大值]",
  35267. "type": "number"
  35268. },
  35269. "qtydecimalplace": {
  35270. "description": "成交量小数位",
  35271. "type": "integer"
  35272. },
  35273. "regularlycycle": {
  35274. "description": "定投频率 - 1:每周 2:每月",
  35275. "type": "integer"
  35276. },
  35277. "regularlycyclevalue": {
  35278. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35279. "type": "string"
  35280. },
  35281. "regularlymode": {
  35282. "description": "定投方式 - 1:按数量 2:按金额",
  35283. "type": "integer"
  35284. },
  35285. "regularlymodevalue": {
  35286. "description": "定投方式值 - 数量或金额",
  35287. "type": "number"
  35288. },
  35289. "regularlystrategyid": {
  35290. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35291. "type": "integer"
  35292. },
  35293. "regularlystrategystatus": {
  35294. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35295. "type": "integer"
  35296. },
  35297. "remark": {
  35298. "description": "备注",
  35299. "type": "string"
  35300. },
  35301. "triggersuccesstimes": {
  35302. "description": "累计定投成功次数",
  35303. "type": "string"
  35304. },
  35305. "triggertotalamount": {
  35306. "description": "累计定投金额(成功)",
  35307. "type": "number"
  35308. },
  35309. "triggertotalqty": {
  35310. "description": "累计定投数量(成功) [按小数位放大值]",
  35311. "type": "number"
  35312. },
  35313. "triggertotaltimes": {
  35314. "description": "累计定投总次数",
  35315. "type": "string"
  35316. },
  35317. "updatesrc": {
  35318. "description": "更新来源 - 1:管理端 2:终端",
  35319. "type": "integer"
  35320. },
  35321. "updatetime": {
  35322. "description": "更新时间",
  35323. "type": "string"
  35324. },
  35325. "updatorid": {
  35326. "description": "更新人",
  35327. "type": "string"
  35328. },
  35329. "userid": {
  35330. "description": "所属用户ID",
  35331. "type": "integer"
  35332. },
  35333. "userinfotype": {
  35334. "description": "用户类型 1-个人 2-企业",
  35335. "type": "integer"
  35336. },
  35337. "username": {
  35338. "description": "用户名称(userid对应的名称)",
  35339. "type": "string"
  35340. }
  35341. }
  35342. },
  35343. "models.QhjReckonPriceLog": {
  35344. "type": "object",
  35345. "properties": {
  35346. "decimalplace": {
  35347. "description": "商品报价小数位",
  35348. "type": "integer"
  35349. },
  35350. "goodscode": {
  35351. "description": "商品代码",
  35352. "type": "string"
  35353. },
  35354. "goodsid": {
  35355. "description": "商品ID",
  35356. "type": "integer"
  35357. },
  35358. "goodsname": {
  35359. "description": "商品名称",
  35360. "type": "string"
  35361. },
  35362. "lastreckonprice": {
  35363. "description": "上日结算价",
  35364. "type": "number"
  35365. },
  35366. "nextdnlimitprice": {
  35367. "description": "下个交易日跌停价",
  35368. "type": "number"
  35369. },
  35370. "nexttrade": {
  35371. "description": "下个交易日",
  35372. "type": "string"
  35373. },
  35374. "nextuplimitprice": {
  35375. "description": "下个交易日涨停价",
  35376. "type": "number"
  35377. },
  35378. "reckonprice": {
  35379. "description": "今日结算价(定投价)",
  35380. "type": "number"
  35381. },
  35382. "reckontime": {
  35383. "description": "结算时间",
  35384. "type": "string"
  35385. },
  35386. "totalholderqty": {
  35387. "description": "总持仓数",
  35388. "type": "integer"
  35389. },
  35390. "totalstock": {
  35391. "description": "总库存",
  35392. "type": "integer"
  35393. },
  35394. "tradedate": {
  35395. "description": "交易日",
  35396. "type": "string"
  35397. },
  35398. "updowncount": {
  35399. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35400. "type": "integer"
  35401. },
  35402. "updownflag": {
  35403. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35404. "type": "integer"
  35405. },
  35406. "updownrate": {
  35407. "description": "今日涨跌幅",
  35408. "type": "number"
  35409. },
  35410. "updownrate_2d": {
  35411. "description": "连续两日涨跌幅",
  35412. "type": "number"
  35413. },
  35414. "updownrate_3d": {
  35415. "description": "连续三日涨跌幅",
  35416. "type": "number"
  35417. }
  35418. }
  35419. },
  35420. "models.QhjScoreLog": {
  35421. "type": "object",
  35422. "properties": {
  35423. "accountid": {
  35424. "description": "账户ID",
  35425. "type": "integer"
  35426. },
  35427. "createtime": {
  35428. "description": "创建时间(时间)",
  35429. "type": "string"
  35430. },
  35431. "goodsid": {
  35432. "description": "商品ID",
  35433. "type": "integer"
  35434. },
  35435. "hasuploaded": {
  35436. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35437. "type": "integer"
  35438. },
  35439. "logid": {
  35440. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35441. "type": "string"
  35442. },
  35443. "marketid": {
  35444. "description": "市场ID",
  35445. "type": "integer"
  35446. },
  35447. "relatedamount": {
  35448. "description": "关联金额",
  35449. "type": "number"
  35450. },
  35451. "relatedorderid": {
  35452. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35453. "type": "string"
  35454. },
  35455. "scoreconfigvalue1": {
  35456. "description": "积分配置1",
  35457. "type": "integer"
  35458. },
  35459. "scoreconfigvalue2": {
  35460. "description": "积分配置1",
  35461. "type": "integer"
  35462. },
  35463. "scoretype": {
  35464. "description": "积分类型 - 1:提货积分",
  35465. "type": "integer"
  35466. },
  35467. "scorevalue": {
  35468. "description": "积分",
  35469. "type": "number"
  35470. },
  35471. "tradedate": {
  35472. "description": "交易日(yyyyMMdd)",
  35473. "type": "string"
  35474. },
  35475. "uploadedtime": {
  35476. "description": "同步时间",
  35477. "type": "string"
  35478. },
  35479. "userid": {
  35480. "description": "用户ID",
  35481. "type": "integer"
  35482. }
  35483. }
  35484. },
  35485. "models.QhjSiteColumnDetail": {
  35486. "type": "object",
  35487. "properties": {
  35488. "author": {
  35489. "description": "作者",
  35490. "type": "string"
  35491. },
  35492. "brief": {
  35493. "description": "简介",
  35494. "type": "string"
  35495. },
  35496. "columnid": {
  35497. "description": "所属栏目",
  35498. "type": "integer"
  35499. },
  35500. "context": {
  35501. "description": "内容",
  35502. "type": "string"
  35503. },
  35504. "coverimage": {
  35505. "description": "封面图片",
  35506. "type": "string"
  35507. },
  35508. "creaedate": {
  35509. "description": "创建时间",
  35510. "type": "string"
  35511. },
  35512. "creatorid": {
  35513. "description": "创建人",
  35514. "type": "integer"
  35515. },
  35516. "hits": {
  35517. "description": "点击数",
  35518. "type": "integer"
  35519. },
  35520. "id": {
  35521. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35522. "type": "integer"
  35523. },
  35524. "isshow": {
  35525. "description": "是否展示 - 0:不展示 1:展示",
  35526. "type": "integer"
  35527. },
  35528. "istop": {
  35529. "description": "是否置顶 - 0:不置 1:置顶",
  35530. "type": "integer"
  35531. },
  35532. "modifierid": {
  35533. "description": "操作人",
  35534. "type": "integer"
  35535. },
  35536. "publishdate": {
  35537. "description": "发布日期",
  35538. "type": "string"
  35539. },
  35540. "status": {
  35541. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35542. "type": "integer"
  35543. },
  35544. "title": {
  35545. "description": "标题",
  35546. "type": "string"
  35547. },
  35548. "updatedate": {
  35549. "description": "修改时间",
  35550. "type": "string"
  35551. },
  35552. "userid": {
  35553. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35554. "type": "integer"
  35555. },
  35556. "username": {
  35557. "description": "用户名称",
  35558. "type": "string"
  35559. }
  35560. }
  35561. },
  35562. "models.QhjTeamOrder": {
  35563. "type": "object",
  35564. "properties": {
  35565. "accountid": {
  35566. "description": "账户ID[报价币种]",
  35567. "type": "integer"
  35568. },
  35569. "accountname": {
  35570. "description": "账户名称",
  35571. "type": "string"
  35572. },
  35573. "agreeunit": {
  35574. "description": "合约乘数",
  35575. "type": "number"
  35576. },
  35577. "buyorsell": {
  35578. "description": "方向 - 0:买 1:卖",
  35579. "type": "integer"
  35580. },
  35581. "decimalplace": {
  35582. "description": "报价小数位",
  35583. "type": "integer"
  35584. },
  35585. "enumdicname": {
  35586. "description": "单位名称",
  35587. "type": "string"
  35588. },
  35589. "goodscode": {
  35590. "description": "商品代码(内部)",
  35591. "type": "string"
  35592. },
  35593. "goodsid": {
  35594. "description": "商品ID",
  35595. "type": "integer"
  35596. },
  35597. "goodsname": {
  35598. "description": "商品名称",
  35599. "type": "string"
  35600. },
  35601. "goodunitid": {
  35602. "description": "报价单位ID",
  35603. "type": "integer"
  35604. },
  35605. "marketid": {
  35606. "description": "市场ID",
  35607. "type": "integer"
  35608. },
  35609. "marketname": {
  35610. "description": "市场名称",
  35611. "type": "string"
  35612. },
  35613. "qtydecimalplace": {
  35614. "description": "成交量小数位",
  35615. "type": "integer"
  35616. },
  35617. "refereeuserid": {
  35618. "description": "推荐人ID",
  35619. "type": "integer"
  35620. },
  35621. "tradeamount": {
  35622. "description": "成交金额[账户币种,用于所有权]",
  35623. "type": "number"
  35624. },
  35625. "tradedate": {
  35626. "description": "交易日(yyyyMMdd)",
  35627. "type": "string"
  35628. },
  35629. "trademode": {
  35630. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35631. "type": "integer"
  35632. },
  35633. "tradeprice": {
  35634. "description": "成交价格",
  35635. "type": "number"
  35636. },
  35637. "tradeqty": {
  35638. "description": "成交数量",
  35639. "type": "number"
  35640. },
  35641. "tradetime": {
  35642. "description": "成交时间",
  35643. "type": "string"
  35644. },
  35645. "userid": {
  35646. "description": "用户ID",
  35647. "type": "integer"
  35648. }
  35649. }
  35650. },
  35651. "models.QhjTradeGoodsPickup": {
  35652. "type": "object",
  35653. "properties": {
  35654. "accountid": {
  35655. "description": "账户ID",
  35656. "type": "integer"
  35657. },
  35658. "address": {
  35659. "description": "提货人详细地址",
  35660. "type": "string"
  35661. },
  35662. "amount": {
  35663. "description": "提货金额",
  35664. "type": "number"
  35665. },
  35666. "artradedate": {
  35667. "description": "自动收货交易日(yyyyMMdd)",
  35668. "type": "string"
  35669. },
  35670. "auditer": {
  35671. "description": "审核人",
  35672. "type": "integer"
  35673. },
  35674. "auditsrc": {
  35675. "description": "更新来源 - 1:管理端 2:终端",
  35676. "type": "integer"
  35677. },
  35678. "audittime": {
  35679. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35680. "type": "string"
  35681. },
  35682. "audittradedate": {
  35683. "description": "审核交易日(yyyyMMdd)",
  35684. "type": "string"
  35685. },
  35686. "cardnum": {
  35687. "description": "提货人证件号码",
  35688. "type": "string"
  35689. },
  35690. "cardtypeid": {
  35691. "description": "提货人证件类型",
  35692. "type": "integer"
  35693. },
  35694. "checkremark": {
  35695. "description": "审核备注",
  35696. "type": "string"
  35697. },
  35698. "cityid": {
  35699. "description": "市",
  35700. "type": "integer"
  35701. },
  35702. "cityname": {
  35703. "description": "城市名称",
  35704. "type": "string"
  35705. },
  35706. "confirmtime": {
  35707. "description": "取货时间 或 收货时间",
  35708. "type": "string"
  35709. },
  35710. "countryid": {
  35711. "description": "国家",
  35712. "type": "integer"
  35713. },
  35714. "countryname": {
  35715. "description": "国家名称",
  35716. "type": "string"
  35717. },
  35718. "decimalplace": {
  35719. "description": "商品报价小数位",
  35720. "type": "integer"
  35721. },
  35722. "districtid": {
  35723. "description": "地区",
  35724. "type": "integer"
  35725. },
  35726. "districtname": {
  35727. "description": "地区名称",
  35728. "type": "string"
  35729. },
  35730. "enumdicname": {
  35731. "description": "单位名称(提货商品)",
  35732. "type": "string"
  35733. },
  35734. "expresscompany": {
  35735. "description": "物流公司",
  35736. "type": "string"
  35737. },
  35738. "expressnum": {
  35739. "description": "物流单号",
  35740. "type": "string"
  35741. },
  35742. "goodsagreeunit": {
  35743. "description": "交易商品乘数",
  35744. "type": "number"
  35745. },
  35746. "goodscode": {
  35747. "description": "商品代码",
  35748. "type": "string"
  35749. },
  35750. "goodsid": {
  35751. "description": "商品ID",
  35752. "type": "integer"
  35753. },
  35754. "goodsname": {
  35755. "description": "商品名称",
  35756. "type": "string"
  35757. },
  35758. "goodsqty": {
  35759. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35760. "type": "number"
  35761. },
  35762. "handlestatus": {
  35763. "description": "处理状态",
  35764. "type": "integer"
  35765. },
  35766. "logincode": {
  35767. "description": "账号(登录代码, 有可能为空)",
  35768. "type": "string"
  35769. },
  35770. "marketid": {
  35771. "description": "市场ID",
  35772. "type": "integer"
  35773. },
  35774. "phonenum": {
  35775. "description": "提货人联系方式",
  35776. "type": "string"
  35777. },
  35778. "pickupgoodsagreeunit": {
  35779. "description": "提货商品合约乘数",
  35780. "type": "number"
  35781. },
  35782. "pickupgoodsid": {
  35783. "description": "提货商品ID",
  35784. "type": "string"
  35785. },
  35786. "pickupgoodsname": {
  35787. "description": "提货商品名称",
  35788. "type": "string"
  35789. },
  35790. "pickupgoodsqty": {
  35791. "description": "提货商品手数(数量)",
  35792. "type": "number"
  35793. },
  35794. "pickupgoodsunitid": {
  35795. "description": "单位ID(提货商品)",
  35796. "type": "integer"
  35797. },
  35798. "pickupratio": {
  35799. "description": "提货系数",
  35800. "type": "number"
  35801. },
  35802. "preparedays": {
  35803. "description": "备货期(天)-提货单明细表",
  35804. "type": "integer"
  35805. },
  35806. "provinceid": {
  35807. "description": "省",
  35808. "type": "integer"
  35809. },
  35810. "provincename": {
  35811. "description": "省名称",
  35812. "type": "string"
  35813. },
  35814. "qty": {
  35815. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35816. "type": "number"
  35817. },
  35818. "qtydecimalplace": {
  35819. "description": "商品数量小数位",
  35820. "type": "integer"
  35821. },
  35822. "recivername": {
  35823. "description": "提货人姓名",
  35824. "type": "string"
  35825. },
  35826. "reqtime": {
  35827. "description": "提货申请时间",
  35828. "type": "string"
  35829. },
  35830. "storeuserid": {
  35831. "description": "门店用户ID (千海金)",
  35832. "type": "integer"
  35833. },
  35834. "storeusername": {
  35835. "description": "门店用户名称",
  35836. "type": "string"
  35837. },
  35838. "takemode": {
  35839. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35840. "type": "integer"
  35841. },
  35842. "takeorderid": {
  35843. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35844. "type": "string"
  35845. },
  35846. "takeorderstatus": {
  35847. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35848. "type": "integer"
  35849. },
  35850. "takeremark": {
  35851. "description": "提货备注",
  35852. "type": "string"
  35853. },
  35854. "tradedate": {
  35855. "description": "交易日(yyyyMMdd)",
  35856. "type": "string"
  35857. },
  35858. "updatetime": {
  35859. "description": "更新时间",
  35860. "type": "string"
  35861. },
  35862. "userid": {
  35863. "description": "用户ID",
  35864. "type": "integer"
  35865. },
  35866. "userinfotype": {
  35867. "description": "客户类型 1-个人 2-企业",
  35868. "type": "integer"
  35869. },
  35870. "username": {
  35871. "description": "用户名称",
  35872. "type": "string"
  35873. }
  35874. }
  35875. },
  35876. "models.QhjUserNodeCfgAndStatus": {
  35877. "type": "object",
  35878. "properties": {
  35879. "agreementcontent": {
  35880. "description": "协议内容",
  35881. "type": "string"
  35882. },
  35883. "agreementid": {
  35884. "description": "协议ID",
  35885. "type": "integer"
  35886. },
  35887. "agreementname": {
  35888. "description": "协议名称",
  35889. "type": "string"
  35890. },
  35891. "agreementno": {
  35892. "description": "协议编号",
  35893. "type": "string"
  35894. },
  35895. "agreementtype": {
  35896. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35897. "type": "integer"
  35898. },
  35899. "agreementversion": {
  35900. "description": "协议版本号",
  35901. "type": "integer"
  35902. },
  35903. "configid": {
  35904. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35905. "type": "integer"
  35906. },
  35907. "createtime": {
  35908. "description": "创建时间",
  35909. "type": "string"
  35910. },
  35911. "goodsid": {
  35912. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35913. "type": "integer"
  35914. },
  35915. "nodetype": {
  35916. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35917. "type": "integer"
  35918. },
  35919. "signtimestamp": {
  35920. "description": "签约状态时间戳(最近一次)",
  35921. "type": "string"
  35922. },
  35923. "tradedate": {
  35924. "description": "签约交易日(yyyyMMdd)",
  35925. "type": "string"
  35926. },
  35927. "userid": {
  35928. "description": "客户ID",
  35929. "type": "integer"
  35930. }
  35931. }
  35932. },
  35933. "models.Qhjgoodsex": {
  35934. "type": "object",
  35935. "properties": {
  35936. "canfinance": {
  35937. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35938. "type": "integer"
  35939. },
  35940. "canregularlybuy": {
  35941. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35942. "type": "integer"
  35943. },
  35944. "defaulttradeuserid": {
  35945. "description": "默认交易用户ID",
  35946. "type": "integer"
  35947. },
  35948. "deliverygoodsid": {
  35949. "description": "现货品种ID",
  35950. "type": "integer"
  35951. },
  35952. "goodsid": {
  35953. "description": "商品ID(自增ID SEQ_GOODS)",
  35954. "type": "integer"
  35955. },
  35956. "minamount": {
  35957. "description": "最小购买金额",
  35958. "type": "number"
  35959. },
  35960. "regularlybuyminamount": {
  35961. "description": "定投最小金额",
  35962. "type": "number"
  35963. },
  35964. "regularlybuyminqty": {
  35965. "description": "定投最小数量",
  35966. "type": "number"
  35967. },
  35968. "spotgoodsbrandid": {
  35969. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35970. "type": "integer"
  35971. },
  35972. "visibilityforenterprise": {
  35973. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35974. "type": "integer"
  35975. },
  35976. "visibilityforpersonal": {
  35977. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35978. "type": "integer"
  35979. },
  35980. "wrstandardid": {
  35981. "description": "现货商品ID",
  35982. "type": "integer"
  35983. }
  35984. }
  35985. },
  35986. "models.QueryErrorInfosRsp": {
  35987. "type": "object",
  35988. "required": [
  35989. "errorid"
  35990. ],
  35991. "properties": {
  35992. "description": {
  35993. "description": "异常描述",
  35994. "type": "string"
  35995. },
  35996. "errorcode": {
  35997. "description": "异常代码",
  35998. "type": "string"
  35999. },
  36000. "errorid": {
  36001. "description": "异常ID",
  36002. "type": "integer"
  36003. },
  36004. "modulecode": {
  36005. "description": "所属模块",
  36006. "type": "string"
  36007. },
  36008. "operatecode": {
  36009. "description": "所属操作",
  36010. "type": "string"
  36011. },
  36012. "rownumber": {
  36013. "description": "行号",
  36014. "type": "string"
  36015. }
  36016. }
  36017. },
  36018. "models.QueryHedgeOrderDetailRsp": {
  36019. "type": "object",
  36020. "properties": {
  36021. "accountid": {
  36022. "description": "账户ID",
  36023. "type": "integer"
  36024. },
  36025. "buyorsell": {
  36026. "description": "买卖 - 0:买 1:卖",
  36027. "type": "integer"
  36028. },
  36029. "cancellogincode": {
  36030. "description": "撤单人",
  36031. "type": "string"
  36032. },
  36033. "channelbuildtype": {
  36034. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36035. "type": "integer"
  36036. },
  36037. "channelinnerorderstatus": {
  36038. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36039. "type": "integer"
  36040. },
  36041. "channeloperatetype": {
  36042. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36043. "type": "integer"
  36044. },
  36045. "closetype": {
  36046. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36047. "type": "integer"
  36048. },
  36049. "curexchangerate": {
  36050. "description": "当前汇率",
  36051. "type": "number"
  36052. },
  36053. "decimalplace": {
  36054. "description": "商品报价小数位",
  36055. "type": "integer"
  36056. },
  36057. "exchangefullname": {
  36058. "description": "外部交易所全称",
  36059. "type": "string"
  36060. },
  36061. "goodscode": {
  36062. "description": "商品代码(内部)",
  36063. "type": "string"
  36064. },
  36065. "goodsid": {
  36066. "description": "商品ID",
  36067. "type": "integer"
  36068. },
  36069. "goodsname": {
  36070. "description": "商品名称",
  36071. "type": "string"
  36072. },
  36073. "marketid": {
  36074. "description": "市场ID",
  36075. "type": "integer"
  36076. },
  36077. "openfreezemargin": {
  36078. "description": "冻结保证金(冻结交易金额)",
  36079. "type": "number"
  36080. },
  36081. "orderid": {
  36082. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36083. "type": "string"
  36084. },
  36085. "orderlogincode": {
  36086. "description": "委托人",
  36087. "type": "string"
  36088. },
  36089. "orderprice": {
  36090. "description": "委托价格(账户)",
  36091. "type": "number"
  36092. },
  36093. "orderqty": {
  36094. "description": "委托数量",
  36095. "type": "integer"
  36096. },
  36097. "ordertime": {
  36098. "description": "委托时间",
  36099. "type": "string"
  36100. },
  36101. "pricemode": {
  36102. "description": "取价方式 - 1:市价 2: 限价",
  36103. "type": "integer"
  36104. },
  36105. "tradedate": {
  36106. "description": "交易日(yyyyMMdd)",
  36107. "type": "string"
  36108. },
  36109. "tradeqty": {
  36110. "description": "成交数量",
  36111. "type": "integer"
  36112. }
  36113. }
  36114. },
  36115. "models.QueryHedgeTradeDetailRsp": {
  36116. "type": "object",
  36117. "properties": {
  36118. "accountid": {
  36119. "description": "账号ID",
  36120. "type": "integer"
  36121. },
  36122. "buyorsell": {
  36123. "description": "方向 - 0:买 1:卖",
  36124. "type": "integer"
  36125. },
  36126. "channelbuildtype": {
  36127. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36128. "type": "integer"
  36129. },
  36130. "closecharge": {
  36131. "description": "平仓手续费(账户)",
  36132. "type": "number"
  36133. },
  36134. "closecharge2": {
  36135. "description": "平仓手续费(商品)",
  36136. "type": "number"
  36137. },
  36138. "closepl": {
  36139. "description": "平仓盈亏(账户)",
  36140. "type": "number"
  36141. },
  36142. "closepl2": {
  36143. "description": "平仓盈亏(商品)",
  36144. "type": "number"
  36145. },
  36146. "closepl3": {
  36147. "description": "平仓盈亏(账户)(逐笔)",
  36148. "type": "number"
  36149. },
  36150. "closepl4": {
  36151. "description": "平仓盈亏(商品)(逐笔)",
  36152. "type": "number"
  36153. },
  36154. "closetype": {
  36155. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36156. "type": "integer"
  36157. },
  36158. "curexchangerate": {
  36159. "description": "当前汇率",
  36160. "type": "number"
  36161. },
  36162. "decimalplace": {
  36163. "description": "商品报价小数位",
  36164. "type": "integer"
  36165. },
  36166. "exchangefullname": {
  36167. "description": "外部交易所全称",
  36168. "type": "string"
  36169. },
  36170. "goodscode": {
  36171. "description": "商品代码(内部)",
  36172. "type": "string"
  36173. },
  36174. "goodsid": {
  36175. "description": "商品ID",
  36176. "type": "integer"
  36177. },
  36178. "goodsname": {
  36179. "description": "商品名称",
  36180. "type": "string"
  36181. },
  36182. "marketid": {
  36183. "description": "市场ID",
  36184. "type": "integer"
  36185. },
  36186. "opencharge": {
  36187. "description": "建仓手续费(账户)",
  36188. "type": "number"
  36189. },
  36190. "opencharge2": {
  36191. "description": "建仓手续费(商品)",
  36192. "type": "number"
  36193. },
  36194. "orderid": {
  36195. "description": "委托单号",
  36196. "type": "string"
  36197. },
  36198. "orderlogincode": {
  36199. "description": "委托人",
  36200. "type": "string"
  36201. },
  36202. "tradeamount": {
  36203. "description": "成交金额(账户)",
  36204. "type": "number"
  36205. },
  36206. "tradedate": {
  36207. "description": "交易日(yyyyMMdd)",
  36208. "type": "string"
  36209. },
  36210. "tradeid": {
  36211. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36212. "type": "string"
  36213. },
  36214. "tradeprice": {
  36215. "description": "成交价格",
  36216. "type": "number"
  36217. },
  36218. "tradeqty": {
  36219. "description": "成交数量",
  36220. "type": "integer"
  36221. },
  36222. "tradetime": {
  36223. "description": "成交时间",
  36224. "type": "string"
  36225. },
  36226. "tradetype": {
  36227. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36228. "type": "integer"
  36229. }
  36230. }
  36231. },
  36232. "models.QuotePrimaryMenu": {
  36233. "type": "object",
  36234. "properties": {
  36235. "Index": {
  36236. "description": "序号",
  36237. "type": "integer"
  36238. },
  36239. "Key": {
  36240. "description": "键名",
  36241. "type": "string"
  36242. },
  36243. "Name": {
  36244. "description": "菜单名称",
  36245. "type": "string"
  36246. },
  36247. "SubMenus": {
  36248. "description": "子菜单",
  36249. "type": "array",
  36250. "items": {
  36251. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36252. }
  36253. },
  36254. "SubTitleType": {
  36255. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36256. "type": "integer"
  36257. },
  36258. "TradeModes": {
  36259. "description": "包含市场交易类型",
  36260. "type": "string"
  36261. }
  36262. }
  36263. },
  36264. "models.QuoteSecondaryMenu": {
  36265. "type": "object",
  36266. "properties": {
  36267. "ExExchangeCode": {
  36268. "description": "外部交易所代码",
  36269. "type": "string"
  36270. },
  36271. "ExExchangeID": {
  36272. "description": "外部交易所ID",
  36273. "type": "integer"
  36274. },
  36275. "GoodsGroupIDs": {
  36276. "description": "商品组ID列表",
  36277. "type": "array",
  36278. "items": {
  36279. "type": "integer"
  36280. }
  36281. },
  36282. "Index": {
  36283. "description": "序号",
  36284. "type": "integer"
  36285. },
  36286. "MarketID": {
  36287. "description": "市场ID",
  36288. "type": "integer"
  36289. },
  36290. "MenuTitle": {
  36291. "description": "菜单标题(市场名称或外部交易所名称)",
  36292. "type": "string"
  36293. },
  36294. "TradeMode": {
  36295. "description": "交易模式",
  36296. "type": "integer"
  36297. }
  36298. }
  36299. },
  36300. "models.RelatedTaAccount": {
  36301. "type": "object",
  36302. "properties": {
  36303. "accountid": {
  36304. "description": "资金账户ID",
  36305. "type": "integer"
  36306. }
  36307. }
  36308. },
  36309. "models.RoleMenu": {
  36310. "type": "object",
  36311. "properties": {
  36312. "hasright": {
  36313. "description": "是否有权限 0-没有权限 1-有权限",
  36314. "type": "integer"
  36315. },
  36316. "iconame": {
  36317. "description": "菜单图标",
  36318. "type": "string"
  36319. },
  36320. "menutype": {
  36321. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36322. "type": "integer"
  36323. },
  36324. "parentcode": {
  36325. "description": "上级资源代码",
  36326. "type": "string"
  36327. },
  36328. "remark": {
  36329. "description": "菜单备注",
  36330. "type": "string"
  36331. },
  36332. "resourcecode": {
  36333. "description": "菜单代码",
  36334. "type": "string"
  36335. },
  36336. "resourcelevel": {
  36337. "description": "级别",
  36338. "type": "integer"
  36339. },
  36340. "resourcename": {
  36341. "description": "菜单名称",
  36342. "type": "string"
  36343. },
  36344. "roleid": {
  36345. "description": "角色id",
  36346. "type": "integer"
  36347. },
  36348. "sort": {
  36349. "description": "排序",
  36350. "type": "integer"
  36351. },
  36352. "subMenu": {
  36353. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36354. "type": "array",
  36355. "items": {
  36356. "$ref": "#/definitions/models.RoleMenu"
  36357. }
  36358. },
  36359. "url": {
  36360. "description": "URL",
  36361. "type": "string"
  36362. },
  36363. "userid": {
  36364. "description": "用户id",
  36365. "type": "integer"
  36366. }
  36367. }
  36368. },
  36369. "models.SearchGoods": {
  36370. "type": "object",
  36371. "required": [
  36372. "goodscode",
  36373. "goodsid",
  36374. "goodsname",
  36375. "marketid",
  36376. "trademode"
  36377. ],
  36378. "properties": {
  36379. "goodscode": {
  36380. "description": "商品代码(内部)",
  36381. "type": "string"
  36382. },
  36383. "goodsid": {
  36384. "description": "商品ID(自增ID SEQ_GOODS)",
  36385. "type": "integer"
  36386. },
  36387. "goodsname": {
  36388. "description": "商品名称",
  36389. "type": "string"
  36390. },
  36391. "marketid": {
  36392. "description": "所属市场ID",
  36393. "type": "integer"
  36394. },
  36395. "marketname": {
  36396. "description": "市场名称",
  36397. "type": "string"
  36398. },
  36399. "trademode": {
  36400. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36401. "type": "integer"
  36402. }
  36403. }
  36404. },
  36405. "models.SellOrder": {
  36406. "type": "object",
  36407. "properties": {
  36408. "accountid": {
  36409. "description": "资金账号",
  36410. "type": "integer"
  36411. },
  36412. "applyid": {
  36413. "description": "申请单ID",
  36414. "type": "integer"
  36415. },
  36416. "attachment1": {
  36417. "description": "附件1",
  36418. "type": "string"
  36419. },
  36420. "attachment2": {
  36421. "description": "附件2",
  36422. "type": "string"
  36423. },
  36424. "buyorsell": {
  36425. "description": "买卖 - 0:买 1:卖",
  36426. "type": "integer"
  36427. },
  36428. "canbargain": {
  36429. "description": "是否可议价 - 0:不可 1:可",
  36430. "type": "integer"
  36431. },
  36432. "cancelqty": {
  36433. "description": "撤销数量",
  36434. "type": "integer"
  36435. },
  36436. "canceltime": {
  36437. "description": "撤销时间",
  36438. "type": "string"
  36439. },
  36440. "cerno": {
  36441. "type": "string"
  36442. },
  36443. "chargealgorithm": {
  36444. "description": "手续费收取方式 1:比率 2:固定",
  36445. "type": "integer"
  36446. },
  36447. "chargealgorithmvalue": {
  36448. "description": "手续费设置值(交易所部分)",
  36449. "type": "number"
  36450. },
  36451. "chargealgorithmvalue2": {
  36452. "description": "手续费设置值(会员部分)",
  36453. "type": "number"
  36454. },
  36455. "clientordertime": {
  36456. "description": "客户端委托时间",
  36457. "type": "string"
  36458. },
  36459. "cpcertno": {
  36460. "type": "string"
  36461. },
  36462. "exchangerate": {
  36463. "description": "汇率[67]",
  36464. "type": "number"
  36465. },
  36466. "firstratio": {
  36467. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  36468. "type": "number"
  36469. },
  36470. "fixedprice": {
  36471. "description": "[克拉单价]固定价格 - [挂牌]",
  36472. "type": "number"
  36473. },
  36474. "freezecharge": {
  36475. "description": "冻结手续费",
  36476. "type": "number"
  36477. },
  36478. "freezefirstamount": {
  36479. "description": "冻结首付金额 - [摘牌]",
  36480. "type": "number"
  36481. },
  36482. "freezemargin": {
  36483. "description": "冻结保证金",
  36484. "type": "number"
  36485. },
  36486. "goodsno": {
  36487. "description": "商品编号",
  36488. "type": "string"
  36489. },
  36490. "imagepath": {
  36491. "type": "string"
  36492. },
  36493. "isQueryDiamond": {
  36494. "description": "是否钻石查询",
  36495. "type": "boolean"
  36496. },
  36497. "isspecified": {
  36498. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36499. "type": "integer"
  36500. },
  36501. "kppath": {
  36502. "type": "string"
  36503. },
  36504. "kpweight": {
  36505. "type": "string"
  36506. },
  36507. "marginalgorithm": {
  36508. "description": "保证金方式 - 1:比率 2:固定",
  36509. "type": "integer"
  36510. },
  36511. "marginvalue": {
  36512. "description": "保证金设置值",
  36513. "type": "number"
  36514. },
  36515. "marketid": {
  36516. "description": "市场ID",
  36517. "type": "integer"
  36518. },
  36519. "marketprice": {
  36520. "type": "string"
  36521. },
  36522. "orderamount": {
  36523. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  36524. "type": "number"
  36525. },
  36526. "ordertime": {
  36527. "description": "委托时间",
  36528. "type": "string"
  36529. },
  36530. "performancetemplateid": {
  36531. "description": "履约计划模板ID",
  36532. "type": "integer"
  36533. },
  36534. "price": {
  36535. "description": "价格",
  36536. "type": "number"
  36537. },
  36538. "pricefactor": {
  36539. "description": "价格系数(浮动价时填写) - [挂牌]",
  36540. "type": "number"
  36541. },
  36542. "pricemove": {
  36543. "description": "升贴水(浮动价时填写) - [挂牌]",
  36544. "type": "number"
  36545. },
  36546. "priceper": {
  36547. "type": "string"
  36548. },
  36549. "relatedwrtradeorderid": {
  36550. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  36551. "type": "integer"
  36552. },
  36553. "remainqty": {
  36554. "description": "剩余重量",
  36555. "type": "number"
  36556. },
  36557. "remark": {
  36558. "type": "string"
  36559. },
  36560. "retcode": {
  36561. "description": "错误代码",
  36562. "type": "integer"
  36563. },
  36564. "sellusername": {
  36565. "description": "卖方(查询字段-模糊查询)",
  36566. "type": "string"
  36567. },
  36568. "settingmaterial": {
  36569. "type": "string"
  36570. },
  36571. "size1": {
  36572. "type": "string"
  36573. },
  36574. "size2": {
  36575. "type": "string"
  36576. },
  36577. "size3": {
  36578. "type": "string"
  36579. },
  36580. "sizedisplay": {
  36581. "description": "尺寸",
  36582. "type": "string"
  36583. },
  36584. "stonedesc": {
  36585. "type": "string"
  36586. },
  36587. "totalqty": {
  36588. "description": "总重量",
  36589. "type": "number"
  36590. },
  36591. "tradedate": {
  36592. "description": "交易日(yyyyMMdd)",
  36593. "type": "string"
  36594. },
  36595. "tradeprice": {
  36596. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36597. "type": "number"
  36598. },
  36599. "unfreezecharge": {
  36600. "description": "解冻手续费",
  36601. "type": "number"
  36602. },
  36603. "unfreezefirstamount": {
  36604. "description": "解冻首付金额 - [摘牌]",
  36605. "type": "number"
  36606. },
  36607. "unfreezemargin": {
  36608. "description": "解冻保证金",
  36609. "type": "number"
  36610. },
  36611. "userid": {
  36612. "description": "用户ID",
  36613. "type": "integer"
  36614. },
  36615. "uuid": {
  36616. "description": "发起端唯一id",
  36617. "type": "string"
  36618. },
  36619. "validtime": {
  36620. "description": "有效期限",
  36621. "type": "string"
  36622. },
  36623. "validtype": {
  36624. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36625. "type": "integer"
  36626. },
  36627. "warehousenamedisplay": {
  36628. "type": "string"
  36629. },
  36630. "wrbargainid": {
  36631. "description": "议价申请单ID",
  36632. "type": "integer"
  36633. },
  36634. "wrfactortypeid": {
  36635. "description": "仓单要素类型ID/商品ID(77)",
  36636. "type": "integer"
  36637. },
  36638. "wrpath": {
  36639. "type": "string"
  36640. },
  36641. "wrpricetype": {
  36642. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36643. "type": "integer"
  36644. },
  36645. "wrstandardid": {
  36646. "description": "现货商品ID",
  36647. "type": "integer"
  36648. },
  36649. "wrtradeorderid": {
  36650. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36651. "type": "string"
  36652. },
  36653. "wrtradeorderstatus": {
  36654. "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:撤单解冻贷款失败",
  36655. "type": "integer"
  36656. },
  36657. "wrtradetype": {
  36658. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36659. "type": "integer"
  36660. },
  36661. "wrtransferuserid": {
  36662. "description": "仓单受让用户 - [摘牌]",
  36663. "type": "integer"
  36664. },
  36665. "zscategory": {
  36666. "description": "钻石分类 - 枚举”ZSCategory“",
  36667. "type": "integer"
  36668. },
  36669. "zscategorydisplay": {
  36670. "description": "钻石分类 - 描述",
  36671. "type": "string"
  36672. },
  36673. "zscerttypedisplay": {
  36674. "type": "string"
  36675. },
  36676. "zsclaritytype1display": {
  36677. "type": "string"
  36678. },
  36679. "zsclaritytype2display": {
  36680. "type": "string"
  36681. },
  36682. "zscolortype1display": {
  36683. "type": "string"
  36684. },
  36685. "zscolortype2display": {
  36686. "type": "string"
  36687. },
  36688. "zscrystaltype": {
  36689. "type": "string"
  36690. },
  36691. "zscrystaltypedisplay": {
  36692. "type": "string"
  36693. },
  36694. "zscurrencytype": {
  36695. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36696. "type": "integer"
  36697. },
  36698. "zscurrencytypedisplay": {
  36699. "type": "string"
  36700. },
  36701. "zscurrencytypedisplayunit": {
  36702. "type": "string"
  36703. },
  36704. "zscuttype1display": {
  36705. "type": "string"
  36706. },
  36707. "zscuttype2display": {
  36708. "type": "string"
  36709. },
  36710. "zsczcolor1typedisplay": {
  36711. "type": "string"
  36712. },
  36713. "zsczcolor2typedisplay": {
  36714. "type": "string"
  36715. },
  36716. "zsczcolor3typedisplay": {
  36717. "type": "string"
  36718. },
  36719. "zsfluorescencetype1display": {
  36720. "type": "string"
  36721. },
  36722. "zsfluorescencetype2display": {
  36723. "type": "string"
  36724. },
  36725. "zspolishtype1display": {
  36726. "type": "string"
  36727. },
  36728. "zspolishtype2display": {
  36729. "type": "string"
  36730. },
  36731. "zsshapetypedisplay": {
  36732. "type": "string"
  36733. },
  36734. "zsstyletypedisplay": {
  36735. "type": "string"
  36736. },
  36737. "zssymmetrytype1display": {
  36738. "type": "string"
  36739. },
  36740. "zssymmetrytype2display": {
  36741. "type": "string"
  36742. }
  36743. }
  36744. },
  36745. "models.SellOrderQueryReq": {
  36746. "type": "object",
  36747. "required": [
  36748. "zscategory"
  36749. ],
  36750. "properties": {
  36751. "origin": {
  36752. "description": "原产地",
  36753. "type": "string"
  36754. },
  36755. "page": {
  36756. "description": "页码",
  36757. "type": "integer"
  36758. },
  36759. "pagesize": {
  36760. "description": "每页大小",
  36761. "type": "integer"
  36762. },
  36763. "total": {
  36764. "description": "总条数",
  36765. "type": "integer"
  36766. },
  36767. "warehouseid": {
  36768. "description": "仓库ID",
  36769. "type": "integer"
  36770. },
  36771. "weight1": {
  36772. "description": "总重量(克拉重量)-从",
  36773. "type": "number"
  36774. },
  36775. "weight2": {
  36776. "description": "总重量(克拉重量)-至",
  36777. "type": "number"
  36778. },
  36779. "weightavg1": {
  36780. "description": "平均单颗重量-从",
  36781. "type": "number"
  36782. },
  36783. "weightavg2": {
  36784. "description": "平均单颗重量-至",
  36785. "type": "number"
  36786. },
  36787. "zscategory": {
  36788. "description": "钻石分类 - 枚举”ZSCategory“",
  36789. "type": "integer"
  36790. },
  36791. "zscerttype": {
  36792. "description": "证书类型",
  36793. "type": "array",
  36794. "items": {
  36795. "type": "string"
  36796. }
  36797. },
  36798. "zsclaritytype": {
  36799. "description": "净度",
  36800. "type": "array",
  36801. "items": {
  36802. "type": "integer"
  36803. }
  36804. },
  36805. "zscolortype": {
  36806. "description": "颜色",
  36807. "type": "array",
  36808. "items": {
  36809. "type": "integer"
  36810. }
  36811. },
  36812. "zscurrencytype": {
  36813. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36814. "type": "array",
  36815. "items": {
  36816. "type": "string"
  36817. }
  36818. },
  36819. "zscuttype": {
  36820. "description": "切工",
  36821. "type": "array",
  36822. "items": {
  36823. "type": "integer"
  36824. }
  36825. },
  36826. "zsczcolor1type": {
  36827. "description": "彩钻颜色1",
  36828. "type": "array",
  36829. "items": {
  36830. "type": "string"
  36831. }
  36832. },
  36833. "zsfluorescencetype": {
  36834. "description": "荧光",
  36835. "type": "array",
  36836. "items": {
  36837. "type": "integer"
  36838. }
  36839. },
  36840. "zspolishtype": {
  36841. "description": "抛光度",
  36842. "type": "array",
  36843. "items": {
  36844. "type": "integer"
  36845. }
  36846. },
  36847. "zsshapetype": {
  36848. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  36849. "type": "array",
  36850. "items": {
  36851. "type": "string"
  36852. }
  36853. },
  36854. "zsstyletype": {
  36855. "description": "款式",
  36856. "type": "array",
  36857. "items": {
  36858. "type": "string"
  36859. }
  36860. },
  36861. "zssymmetrytype": {
  36862. "description": "对称度",
  36863. "type": "array",
  36864. "items": {
  36865. "type": "integer"
  36866. }
  36867. }
  36868. }
  36869. },
  36870. "models.Systemparam": {
  36871. "type": "object",
  36872. "required": [
  36873. "paramcode"
  36874. ],
  36875. "properties": {
  36876. "loginid": {
  36877. "description": "更新用户账号,登录账号",
  36878. "type": "string"
  36879. },
  36880. "modifyflag": {
  36881. "description": "修改标志0 不允许修改 1 允许修改",
  36882. "type": "integer"
  36883. },
  36884. "paramcode": {
  36885. "description": "参数代码",
  36886. "type": "string"
  36887. },
  36888. "paramname": {
  36889. "description": "参数名",
  36890. "type": "string"
  36891. },
  36892. "paramtype": {
  36893. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  36894. "type": "integer"
  36895. },
  36896. "paramvalue": {
  36897. "description": "参数值",
  36898. "type": "string"
  36899. },
  36900. "paramvalue2": {
  36901. "description": "参数值(CLOB)",
  36902. "type": "string"
  36903. },
  36904. "regexpress": {
  36905. "description": "正则表达式",
  36906. "type": "string"
  36907. },
  36908. "remark": {
  36909. "description": "备注",
  36910. "type": "string"
  36911. },
  36912. "serverip": {
  36913. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  36914. "type": "string"
  36915. },
  36916. "showflag": {
  36917. "description": "是否显示0 不显示 1 显示",
  36918. "type": "integer"
  36919. },
  36920. "updatetime": {
  36921. "description": "更新时间",
  36922. "type": "string"
  36923. },
  36924. "userid": {
  36925. "description": "更新用户ID",
  36926. "type": "integer"
  36927. }
  36928. }
  36929. },
  36930. "models.Szdz3convertconfig": {
  36931. "type": "object",
  36932. "required": [
  36933. "converttype",
  36934. "innergoodsid",
  36935. "outergoodscode"
  36936. ],
  36937. "properties": {
  36938. "canin": {
  36939. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36940. "type": "integer"
  36941. },
  36942. "canout": {
  36943. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36944. "type": "integer"
  36945. },
  36946. "converttype": {
  36947. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36948. "type": "integer"
  36949. },
  36950. "createtime": {
  36951. "description": "创建时间",
  36952. "type": "string"
  36953. },
  36954. "creatorid": {
  36955. "description": "创建人",
  36956. "type": "integer"
  36957. },
  36958. "daymaxvalue": {
  36959. "description": "当日最大转入限制",
  36960. "type": "number"
  36961. },
  36962. "freezedays": {
  36963. "description": "冻结天数 [5:花生米转交易]",
  36964. "type": "integer"
  36965. },
  36966. "innergoodsid": {
  36967. "description": "内部商品ID[交易]",
  36968. "type": "integer"
  36969. },
  36970. "inratio": {
  36971. "description": "目标值",
  36972. "type": "integer"
  36973. },
  36974. "modifierid": {
  36975. "description": "修改人",
  36976. "type": "integer"
  36977. },
  36978. "modifytime": {
  36979. "description": "修改时间",
  36980. "type": "string"
  36981. },
  36982. "outergoodscode": {
  36983. "description": "外部商品代码[JD\\PD]",
  36984. "type": "string"
  36985. },
  36986. "outratio": {
  36987. "description": "源值",
  36988. "type": "integer"
  36989. },
  36990. "pddecimalplace": {
  36991. "description": "PD小数位",
  36992. "type": "integer"
  36993. },
  36994. "timemaxvalue": {
  36995. "description": "单次最大转入限制",
  36996. "type": "number"
  36997. },
  36998. "timeminvalue": {
  36999. "description": "单次最小转入限制",
  37000. "type": "number"
  37001. }
  37002. }
  37003. },
  37004. "models.Szdz3searchwhitelist": {
  37005. "type": "object",
  37006. "required": [
  37007. "userid"
  37008. ],
  37009. "properties": {
  37010. "createtime": {
  37011. "description": "创建时间",
  37012. "type": "string"
  37013. },
  37014. "creatorid": {
  37015. "description": "创建人",
  37016. "type": "integer"
  37017. },
  37018. "modifierid": {
  37019. "description": "修改人",
  37020. "type": "integer"
  37021. },
  37022. "modifytime": {
  37023. "description": "修改时间",
  37024. "type": "string"
  37025. },
  37026. "userid": {
  37027. "description": "用户ID",
  37028. "type": "integer"
  37029. }
  37030. }
  37031. },
  37032. "models.TBGoods": {
  37033. "type": "object",
  37034. "properties": {
  37035. "agreeunit": {
  37036. "description": "合约乘数",
  37037. "type": "number"
  37038. },
  37039. "enumdicname": {
  37040. "description": "单位名称",
  37041. "type": "string"
  37042. },
  37043. "goodscode": {
  37044. "description": "商品代码(内部)",
  37045. "type": "string"
  37046. },
  37047. "goodsid": {
  37048. "description": "商品ID(自增ID SEQ_GOODS)",
  37049. "type": "integer"
  37050. },
  37051. "goodsname": {
  37052. "description": "商品名称",
  37053. "type": "string"
  37054. }
  37055. }
  37056. },
  37057. "models.TBGoodsGroup": {
  37058. "type": "object",
  37059. "properties": {
  37060. "GDLST": {
  37061. "description": "商品列表",
  37062. "type": "array",
  37063. "items": {
  37064. "$ref": "#/definitions/models.TBGoods"
  37065. }
  37066. },
  37067. "convertratio": {
  37068. "description": "折算系数",
  37069. "type": "number"
  37070. },
  37071. "enumdicname": {
  37072. "description": "单位名称",
  37073. "type": "string"
  37074. },
  37075. "exexchangecode": {
  37076. "description": "交易所代码",
  37077. "type": "string"
  37078. },
  37079. "exexchangename": {
  37080. "description": "交易所名称",
  37081. "type": "string"
  37082. },
  37083. "goodsgroupid": {
  37084. "description": "商品组ID(自增ID)",
  37085. "type": "integer"
  37086. },
  37087. "goodsgroupname": {
  37088. "description": "商品组名称",
  37089. "type": "string"
  37090. },
  37091. "goodunitid": {
  37092. "description": "报价单位ID",
  37093. "type": "integer"
  37094. }
  37095. }
  37096. },
  37097. "models.TBMiddleGoods": {
  37098. "type": "object",
  37099. "properties": {
  37100. "GPLST": {
  37101. "description": "期货品种列表",
  37102. "type": "array",
  37103. "items": {
  37104. "$ref": "#/definitions/models.TBGoodsGroup"
  37105. }
  37106. },
  37107. "WDLST": {
  37108. "description": "商品信息列表(现货品类)",
  37109. "type": "array",
  37110. "items": {
  37111. "$ref": "#/definitions/models.TBWrstandard"
  37112. }
  37113. },
  37114. "areauserid": {
  37115. "description": "机构用户ID",
  37116. "type": "integer"
  37117. },
  37118. "enumdicname": {
  37119. "description": "单位名称",
  37120. "type": "string"
  37121. },
  37122. "goodsunitid": {
  37123. "description": "套保品种单位id",
  37124. "type": "integer"
  37125. },
  37126. "middlegoodscode": {
  37127. "description": "套保品种代码",
  37128. "type": "string"
  37129. },
  37130. "middlegoodsid": {
  37131. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37132. "type": "integer"
  37133. },
  37134. "middlegoodsname": {
  37135. "description": "套保品种名称",
  37136. "type": "string"
  37137. },
  37138. "needarbitrageratio": {
  37139. "description": "套利比率",
  37140. "type": "number"
  37141. },
  37142. "needhedgeratio": {
  37143. "description": "套保比率",
  37144. "type": "number"
  37145. }
  37146. }
  37147. },
  37148. "models.TBWrstandard": {
  37149. "type": "object",
  37150. "properties": {
  37151. "convertratio": {
  37152. "description": "折算系数",
  37153. "type": "number"
  37154. },
  37155. "deliverygoodsname": {
  37156. "description": "品种名称",
  37157. "type": "string"
  37158. },
  37159. "enumdicname": {
  37160. "description": "单位名称",
  37161. "type": "string"
  37162. },
  37163. "vatrate": {
  37164. "description": "增值税率",
  37165. "type": "number"
  37166. },
  37167. "wrstandardcode": {
  37168. "description": "现货商品代码",
  37169. "type": "string"
  37170. },
  37171. "wrstandardid": {
  37172. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37173. "type": "integer"
  37174. },
  37175. "wrstandardname": {
  37176. "description": "现货商品名称",
  37177. "type": "string"
  37178. }
  37179. }
  37180. },
  37181. "models.Taaccount": {
  37182. "type": "object",
  37183. "required": [
  37184. "accountid",
  37185. "userid"
  37186. ],
  37187. "properties": {
  37188. "accountflag": {
  37189. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37190. "type": "integer"
  37191. },
  37192. "accountid": {
  37193. "description": "资金账户ID",
  37194. "type": "integer"
  37195. },
  37196. "accountname": {
  37197. "description": "账户名称",
  37198. "type": "string"
  37199. },
  37200. "balance": {
  37201. "description": "期初余额",
  37202. "type": "number"
  37203. },
  37204. "capitalbalance": {
  37205. "description": "本金余额[外部子账户实际出入金余额]",
  37206. "type": "number"
  37207. },
  37208. "changeflag": {
  37209. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37210. "type": "integer"
  37211. },
  37212. "changetime": {
  37213. "description": "账户状态变更时间",
  37214. "type": "string"
  37215. },
  37216. "closepl": {
  37217. "description": "今日平仓盈亏",
  37218. "type": "number"
  37219. },
  37220. "creditdecrease": {
  37221. "description": "今日授信减少",
  37222. "type": "number"
  37223. },
  37224. "creditincrease": {
  37225. "description": "今日授信增加",
  37226. "type": "number"
  37227. },
  37228. "curamount": {
  37229. "description": "总市值(从持仓中统计)",
  37230. "type": "number"
  37231. },
  37232. "currencyid": {
  37233. "description": "货币ID",
  37234. "type": "integer"
  37235. },
  37236. "currentbalance": {
  37237. "description": "期末余额",
  37238. "type": "number"
  37239. },
  37240. "freezecharge": {
  37241. "description": "手续费冻结",
  37242. "type": "number"
  37243. },
  37244. "freezemargin": {
  37245. "description": "冻结保证金",
  37246. "type": "number"
  37247. },
  37248. "fromaccountid": {
  37249. "description": "所属上级账户",
  37250. "type": "integer"
  37251. },
  37252. "inamount": {
  37253. "description": "今日入金金额(包括三方入金)",
  37254. "type": "number"
  37255. },
  37256. "ismain": {
  37257. "description": "是否母账号 0:不是母账户 1:是母账户",
  37258. "type": "integer"
  37259. },
  37260. "ismarketaccount": {
  37261. "description": "是否机构接单账号 0:不是 1:是",
  37262. "type": "integer"
  37263. },
  37264. "isreckonaccount": {
  37265. "description": "是否机构分润账号 0:不是 1:是",
  37266. "type": "integer"
  37267. },
  37268. "mortgagecredit": {
  37269. "description": "授信金额",
  37270. "type": "number"
  37271. },
  37272. "orifreezecharge": {
  37273. "description": "期初手续费冻结",
  37274. "type": "number"
  37275. },
  37276. "orifreezemargin": {
  37277. "description": "期初冻结保证金",
  37278. "type": "number"
  37279. },
  37280. "orimortgagecredit": {
  37281. "description": "期初授信金额",
  37282. "type": "number"
  37283. },
  37284. "oriothercredit": {
  37285. "description": "期初其它授信金额",
  37286. "type": "number"
  37287. },
  37288. "oriotherfreezemargin": {
  37289. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37290. "type": "number"
  37291. },
  37292. "orioutamountfreeze": {
  37293. "description": "期初出金冻结",
  37294. "type": "number"
  37295. },
  37296. "oriusedmargin": {
  37297. "description": "期初占用保证金",
  37298. "type": "number"
  37299. },
  37300. "othercredit": {
  37301. "description": "其它授信金额",
  37302. "type": "number"
  37303. },
  37304. "othercreditdecrease": {
  37305. "description": "今日其它授信减少",
  37306. "type": "number"
  37307. },
  37308. "othercreditincrease": {
  37309. "description": "今日其它授信增加",
  37310. "type": "number"
  37311. },
  37312. "otherfreezemargin": {
  37313. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37314. "type": "number"
  37315. },
  37316. "otherincome": {
  37317. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37318. "type": "number"
  37319. },
  37320. "otherpay": {
  37321. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37322. "type": "number"
  37323. },
  37324. "outamount": {
  37325. "description": "今日出金金额(包括三方出金)",
  37326. "type": "number"
  37327. },
  37328. "outamountfreeze": {
  37329. "description": "出金冻结",
  37330. "type": "number"
  37331. },
  37332. "outthreshold": {
  37333. "description": "出金阈值",
  37334. "type": "number"
  37335. },
  37336. "parentaccountid": {
  37337. "description": "所属根账号",
  37338. "type": "integer"
  37339. },
  37340. "paycharge": {
  37341. "description": "今日手续费支出",
  37342. "type": "number"
  37343. },
  37344. "relatedaccountstatus": {
  37345. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37346. "type": "integer"
  37347. },
  37348. "relateduserid": {
  37349. "description": "关联用户",
  37350. "type": "integer"
  37351. },
  37352. "remainamount": {
  37353. "description": "融资额(从融资合同中统计)",
  37354. "type": "number"
  37355. },
  37356. "serivcegroup": {
  37357. "description": "服务分组",
  37358. "type": "integer"
  37359. },
  37360. "signstatus": {
  37361. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37362. "type": "integer"
  37363. },
  37364. "sublevelpath": {
  37365. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37366. "type": "string"
  37367. },
  37368. "taaccounttype": {
  37369. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37370. "type": "integer"
  37371. },
  37372. "thirdinamount": {
  37373. "description": "今日三方入金",
  37374. "type": "number"
  37375. },
  37376. "thirdoutamount": {
  37377. "description": "今日三方出金",
  37378. "type": "number"
  37379. },
  37380. "tradestatus": {
  37381. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37382. "type": "integer"
  37383. },
  37384. "tradestatuschangetime": {
  37385. "description": "激活时间",
  37386. "type": "string"
  37387. },
  37388. "transferamount": {
  37389. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37390. "type": "number"
  37391. },
  37392. "usedmargin": {
  37393. "description": "占用保证金",
  37394. "type": "number"
  37395. },
  37396. "userid": {
  37397. "description": "用户ID",
  37398. "type": "integer"
  37399. }
  37400. }
  37401. },
  37402. "models.Tablecolumnconfig": {
  37403. "type": "object",
  37404. "required": [
  37405. "autoid"
  37406. ],
  37407. "properties": {
  37408. "aligntype": {
  37409. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37410. "type": "integer"
  37411. },
  37412. "autoid": {
  37413. "description": "AutoID",
  37414. "type": "integer"
  37415. },
  37416. "columnfield": {
  37417. "description": "列字段",
  37418. "type": "string"
  37419. },
  37420. "columntitle": {
  37421. "description": "列Title",
  37422. "type": "string"
  37423. },
  37424. "columnwidth": {
  37425. "description": "列宽",
  37426. "type": "string"
  37427. },
  37428. "fixed": {
  37429. "description": "固定类型 - 空 | left | right",
  37430. "type": "string"
  37431. },
  37432. "formatterstring": {
  37433. "description": "格式化字符",
  37434. "type": "string"
  37435. },
  37436. "formattertype": {
  37437. "description": "格式化类型",
  37438. "type": "string"
  37439. },
  37440. "groupname": {
  37441. "description": "表头分组名称",
  37442. "type": "string"
  37443. },
  37444. "ismerge": {
  37445. "description": "是否合并显示 - 0:不合并 1:合并",
  37446. "type": "integer"
  37447. },
  37448. "isshow": {
  37449. "description": "是否显示 - 0:不显示 1:显示",
  37450. "type": "integer"
  37451. },
  37452. "needsummary": {
  37453. "description": "是否需要汇总 - 0:不需要 1:需要",
  37454. "type": "integer"
  37455. },
  37456. "orderindex": {
  37457. "description": "顺序",
  37458. "type": "integer"
  37459. },
  37460. "remark": {
  37461. "description": "备注",
  37462. "type": "string"
  37463. },
  37464. "summarytype": {
  37465. "description": "汇总类型 - 1:加总 2:最后一个",
  37466. "type": "integer"
  37467. },
  37468. "tablekey": {
  37469. "description": "列表Key",
  37470. "type": "string"
  37471. }
  37472. }
  37473. },
  37474. "models.TjmdHolderDetailTradeInfo": {
  37475. "type": "object",
  37476. "properties": {
  37477. "agreeunit": {
  37478. "description": "合约乘数",
  37479. "type": "number"
  37480. },
  37481. "buyaccountid": {
  37482. "description": "买方账户",
  37483. "type": "string"
  37484. },
  37485. "buyusername": {
  37486. "description": "买方",
  37487. "type": "string"
  37488. },
  37489. "delistingdate": {
  37490. "description": "最后结算日",
  37491. "type": "string"
  37492. },
  37493. "expiredate": {
  37494. "description": "到期结算价定价日",
  37495. "type": "string"
  37496. },
  37497. "exprieprice": {
  37498. "description": "到期清算价格",
  37499. "type": "string"
  37500. },
  37501. "goodscode": {
  37502. "description": "商品代码",
  37503. "type": "string"
  37504. },
  37505. "goodsid": {
  37506. "description": "商品ID",
  37507. "type": "integer"
  37508. },
  37509. "goodsname": {
  37510. "description": "商品名称(交易标的)",
  37511. "type": "string"
  37512. },
  37513. "lasttradedate": {
  37514. "description": "最后交易日",
  37515. "type": "string"
  37516. },
  37517. "listingdate": {
  37518. "description": "开始交易日",
  37519. "type": "string"
  37520. },
  37521. "openprice": {
  37522. "description": "成交价",
  37523. "type": "number"
  37524. },
  37525. "openqty": {
  37526. "description": "交易数量",
  37527. "type": "integer"
  37528. },
  37529. "sellaccountid": {
  37530. "description": "卖方账户",
  37531. "type": "string"
  37532. },
  37533. "sellusername": {
  37534. "description": "卖方",
  37535. "type": "string"
  37536. },
  37537. "tradeamount": {
  37538. "description": "初始名义价值",
  37539. "type": "number"
  37540. },
  37541. "tradedate": {
  37542. "description": "成交日期",
  37543. "type": "string"
  37544. },
  37545. "tradeid": {
  37546. "description": "成交编号",
  37547. "type": "string"
  37548. }
  37549. }
  37550. },
  37551. "models.TjmdMarketSection": {
  37552. "type": "object",
  37553. "properties": {
  37554. "marketsectionid": {
  37555. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37556. "type": "integer"
  37557. },
  37558. "marketsectionname": {
  37559. "description": "市场版块名称",
  37560. "type": "string"
  37561. },
  37562. "mlist": {
  37563. "description": "市场列表(板块下面有多少个市场)",
  37564. "type": "array",
  37565. "items": {
  37566. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  37567. }
  37568. },
  37569. "orderindex": {
  37570. "description": "排序",
  37571. "type": "integer"
  37572. },
  37573. "pictureurl": {
  37574. "description": "图片url, 规格(90*90)",
  37575. "type": "string"
  37576. },
  37577. "remark": {
  37578. "description": "备注",
  37579. "type": "string"
  37580. }
  37581. }
  37582. },
  37583. "models.TjmdMarketSectionConfig": {
  37584. "type": "object",
  37585. "properties": {
  37586. "auctionwrtype": {
  37587. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  37588. "type": "integer"
  37589. },
  37590. "canacceptquote": {
  37591. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  37592. "type": "integer"
  37593. },
  37594. "cangoodsexercise": {
  37595. "description": "[期权]是否可现货行权- 0:否 1:是",
  37596. "type": "integer"
  37597. },
  37598. "cangoodsexercisetype": {
  37599. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  37600. "type": "integer"
  37601. },
  37602. "canmanualquotestrike": {
  37603. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  37604. "type": "integer"
  37605. },
  37606. "canmutistage": {
  37607. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  37608. "type": "integer"
  37609. },
  37610. "canpreexercise": {
  37611. "description": "[期权]是否可预申报- 0:否 1:是",
  37612. "type": "integer"
  37613. },
  37614. "clearinterval": {
  37615. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  37616. "type": "integer"
  37617. },
  37618. "contracttmp": {
  37619. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  37620. "type": "string"
  37621. },
  37622. "exchareaid": {
  37623. "description": "所属交易所,可以没有",
  37624. "type": "integer"
  37625. },
  37626. "financemarketid": {
  37627. "description": "融资回购市场ID [仓单贸易]",
  37628. "type": "integer"
  37629. },
  37630. "goodstype": {
  37631. "description": "商品类型 - 1:交易商品 2:仓单商品",
  37632. "type": "integer"
  37633. },
  37634. "hasrebate": {
  37635. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  37636. "type": "integer"
  37637. },
  37638. "hastradecredit": {
  37639. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  37640. "type": "integer"
  37641. },
  37642. "haswr": {
  37643. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37644. "type": "integer"
  37645. },
  37646. "isdeductmargin": {
  37647. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37648. "type": "integer"
  37649. },
  37650. "isrecordsource": {
  37651. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37652. "type": "integer"
  37653. },
  37654. "isreleasemargin": {
  37655. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37656. "type": "integer"
  37657. },
  37658. "isupdatereckonprice": {
  37659. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37660. "type": "integer"
  37661. },
  37662. "listingmode": {
  37663. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37664. "type": "integer"
  37665. },
  37666. "marginformula": {
  37667. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37668. "type": "integer"
  37669. },
  37670. "marginformula2": {
  37671. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37672. "type": "integer"
  37673. },
  37674. "marketid": {
  37675. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37676. "type": "integer"
  37677. },
  37678. "marketname": {
  37679. "description": "市场名称",
  37680. "type": "string"
  37681. },
  37682. "marketsectionid": {
  37683. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37684. "type": "integer"
  37685. },
  37686. "marketserviceid": {
  37687. "description": "市场服务ID",
  37688. "type": "integer"
  37689. },
  37690. "marketstatus": {
  37691. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37692. "type": "integer"
  37693. },
  37694. "markettype": {
  37695. "description": "市场类型- 1:非交易服务 2:交易服务",
  37696. "type": "integer"
  37697. },
  37698. "matchermode": {
  37699. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37700. "type": "integer"
  37701. },
  37702. "nowrquotaflag": {
  37703. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37704. "type": "integer"
  37705. },
  37706. "openmethod": {
  37707. "description": "开盘模式 - 0 自动 1手动",
  37708. "type": "integer"
  37709. },
  37710. "orderindex": {
  37711. "description": "排序",
  37712. "type": "integer"
  37713. },
  37714. "otcuserid": {
  37715. "description": "场外期权做市商[场外期权]",
  37716. "type": "integer"
  37717. },
  37718. "outersynctime": {
  37719. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  37720. "type": "string"
  37721. },
  37722. "paylaterflag": {
  37723. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  37724. "type": "integer"
  37725. },
  37726. "pendingflag": {
  37727. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  37728. "type": "integer"
  37729. },
  37730. "pendingtime": {
  37731. "description": "待开市时间[通道交易-对冲](HH:mm)",
  37732. "type": "string"
  37733. },
  37734. "performancetempid": {
  37735. "description": "履约计划模板ID - 作废",
  37736. "type": "integer"
  37737. },
  37738. "premiumquotemode": {
  37739. "description": "权利金报价方式 - 1:自动 2:手动",
  37740. "type": "integer"
  37741. },
  37742. "rebateratio": {
  37743. "description": "返利比率[竞价式]",
  37744. "type": "number"
  37745. },
  37746. "reckonorder": {
  37747. "description": "结算顺序",
  37748. "type": "integer"
  37749. },
  37750. "reckonpricealgorithm": {
  37751. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  37752. "type": "integer"
  37753. },
  37754. "reckonpriceparam": {
  37755. "description": "结算价参数",
  37756. "type": "integer"
  37757. },
  37758. "reckontime": {
  37759. "description": "结算时间[通道交易-对冲](HH:mm)",
  37760. "type": "string"
  37761. },
  37762. "roleprioritytype": {
  37763. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  37764. "type": "integer"
  37765. },
  37766. "selllistingauditflag": {
  37767. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  37768. "type": "integer"
  37769. },
  37770. "trademarkettype": {
  37771. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  37772. "type": "integer"
  37773. },
  37774. "trademode": {
  37775. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37776. "type": "integer"
  37777. },
  37778. "tradeproperty": {
  37779. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  37780. "type": "integer"
  37781. },
  37782. "tradetype": {
  37783. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  37784. "type": "integer"
  37785. },
  37786. "updatereckonpriceinterval": {
  37787. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  37788. "type": "integer"
  37789. }
  37790. }
  37791. },
  37792. "models.TjmdQuoteGoods": {
  37793. "type": "object",
  37794. "properties": {
  37795. "buyqty": {
  37796. "description": "买量(暂不做, 无值, 保留字段)",
  37797. "type": "number"
  37798. },
  37799. "decimalplace": {
  37800. "description": "报价小数位",
  37801. "type": "integer"
  37802. },
  37803. "goodscode": {
  37804. "description": "合约代码",
  37805. "type": "string"
  37806. },
  37807. "goodsgroupid": {
  37808. "description": "商品组ID(自增ID)",
  37809. "type": "integer"
  37810. },
  37811. "goodsgroupname": {
  37812. "description": "商品组名称",
  37813. "type": "string"
  37814. },
  37815. "goodsid": {
  37816. "description": "合约id",
  37817. "type": "integer"
  37818. },
  37819. "goodsname": {
  37820. "description": "合约名称",
  37821. "type": "string"
  37822. },
  37823. "refgoodscode": {
  37824. "description": "标的合约代码",
  37825. "type": "string"
  37826. },
  37827. "refgoodsid": {
  37828. "description": "标的合约id",
  37829. "type": "integer"
  37830. },
  37831. "refgoodsname": {
  37832. "description": "标的合约名称",
  37833. "type": "string"
  37834. },
  37835. "sellqty": {
  37836. "description": "卖量(暂不做, 无值, 保留字段)",
  37837. "type": "number"
  37838. }
  37839. }
  37840. },
  37841. "models.TjmdTodayAccountMargin": {
  37842. "type": "object",
  37843. "properties": {
  37844. "accountid": {
  37845. "description": "账号ID",
  37846. "type": "integer"
  37847. },
  37848. "goodsid": {
  37849. "description": "商品ID",
  37850. "type": "integer"
  37851. },
  37852. "infoc": {
  37853. "description": "配置参数",
  37854. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  37855. },
  37856. "marketid": {
  37857. "description": "市场ID",
  37858. "type": "integer"
  37859. }
  37860. }
  37861. },
  37862. "models.TjmdTradeOrderDetail": {
  37863. "type": "object",
  37864. "properties": {
  37865. "buyorsell": {
  37866. "description": "买卖方向 0-买 1-卖",
  37867. "type": "integer"
  37868. },
  37869. "goodsid": {
  37870. "description": "商品id",
  37871. "type": "integer"
  37872. },
  37873. "marketmaxsub": {
  37874. "description": "市价最大偏移范围 [浮动价 - 点差]",
  37875. "type": "number"
  37876. },
  37877. "orderid": {
  37878. "description": "委托单号",
  37879. "type": "string"
  37880. },
  37881. "orderprice": {
  37882. "description": "期初均价",
  37883. "type": "number"
  37884. },
  37885. "orderqty": {
  37886. "description": "委托数量",
  37887. "type": "integer"
  37888. },
  37889. "pricemode": {
  37890. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  37891. "type": "integer"
  37892. },
  37893. "userid": {
  37894. "description": "用户id",
  37895. "type": "integer"
  37896. },
  37897. "username": {
  37898. "description": "用户名称(已脱敏)",
  37899. "type": "string"
  37900. }
  37901. }
  37902. },
  37903. "models.TjmdTransferApply": {
  37904. "type": "object",
  37905. "properties": {
  37906. "applyid": {
  37907. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  37908. "type": "integer"
  37909. },
  37910. "applystatus": {
  37911. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  37912. "type": "integer"
  37913. },
  37914. "applytime": {
  37915. "description": "申请时间(时间)",
  37916. "type": "string"
  37917. },
  37918. "auditremark": {
  37919. "description": "审核备注(拒绝原因?)",
  37920. "type": "string"
  37921. },
  37922. "begindate": {
  37923. "description": "开始交易日(yyyymmdd)",
  37924. "type": "string"
  37925. },
  37926. "buyorsell": {
  37927. "description": "买卖 - 0:买 1:卖",
  37928. "type": "integer"
  37929. },
  37930. "enddate": {
  37931. "description": "结束交易日(yyyymmdd)",
  37932. "type": "string"
  37933. },
  37934. "goodscode": {
  37935. "description": "商品代码",
  37936. "type": "string"
  37937. },
  37938. "goodsid": {
  37939. "description": "商品ID",
  37940. "type": "integer"
  37941. },
  37942. "goodsname": {
  37943. "description": "商品名称",
  37944. "type": "string"
  37945. },
  37946. "marketid": {
  37947. "description": "市场ID",
  37948. "type": "integer"
  37949. },
  37950. "qty": {
  37951. "description": "期初均价",
  37952. "type": "number"
  37953. },
  37954. "tradeid": {
  37955. "description": "成交单号(关联持仓)",
  37956. "type": "string"
  37957. },
  37958. "transferamount": {
  37959. "description": "转让总金额(金额)",
  37960. "type": "number"
  37961. },
  37962. "transferprice": {
  37963. "description": "转让价格(协议价格)",
  37964. "type": "number"
  37965. }
  37966. }
  37967. },
  37968. "models.TradeHolderDetail": {
  37969. "type": "object",
  37970. "properties": {
  37971. "accountid": {
  37972. "description": "账号ID",
  37973. "type": "integer"
  37974. },
  37975. "agreeunit": {
  37976. "description": "合约乘数",
  37977. "type": "number"
  37978. },
  37979. "buyorsell": {
  37980. "description": "方向 - 0:买 1:卖",
  37981. "type": "integer"
  37982. },
  37983. "currencyid": {
  37984. "description": "商品币种id",
  37985. "type": "integer"
  37986. },
  37987. "currencyname": {
  37988. "description": "币种名称",
  37989. "type": "string"
  37990. },
  37991. "decimalplace": {
  37992. "description": "商品价格小数位",
  37993. "type": "integer"
  37994. },
  37995. "enumdicname": {
  37996. "description": "商品单位名称",
  37997. "type": "string"
  37998. },
  37999. "expirecycle": {
  38000. "description": "行权周期(天) - 1:滚动行权时填写",
  38001. "type": "integer"
  38002. },
  38003. "expiredate": {
  38004. "description": "行权日(yyyyMMdd) - 到期日",
  38005. "type": "string"
  38006. },
  38007. "expiretype": {
  38008. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38009. "type": "integer"
  38010. },
  38011. "freezeqty": {
  38012. "description": "期初均价",
  38013. "type": "number"
  38014. },
  38015. "goodscode": {
  38016. "description": "商品代码",
  38017. "type": "string"
  38018. },
  38019. "goodsid": {
  38020. "description": "商品ID",
  38021. "type": "integer"
  38022. },
  38023. "goodsname": {
  38024. "description": "商品名称",
  38025. "type": "string"
  38026. },
  38027. "goodunitid": {
  38028. "description": "商品单位id",
  38029. "type": "integer"
  38030. },
  38031. "holderamount": {
  38032. "description": "持仓金额",
  38033. "type": "number"
  38034. },
  38035. "holdercredit": {
  38036. "description": "持仓授信金额",
  38037. "type": "number"
  38038. },
  38039. "holderdays": {
  38040. "description": "剩余冻结天数",
  38041. "type": "integer"
  38042. },
  38043. "holderprice": {
  38044. "description": "持仓价格",
  38045. "type": "number"
  38046. },
  38047. "holderqty": {
  38048. "description": "期初均价",
  38049. "type": "number"
  38050. },
  38051. "isconfirmexercise": {
  38052. "description": "是否确认行权- 0:否 1:是",
  38053. "type": "integer"
  38054. },
  38055. "ispreexercise": {
  38056. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38057. "type": "integer"
  38058. },
  38059. "marketid": {
  38060. "description": "市场id",
  38061. "type": "integer"
  38062. },
  38063. "marketname": {
  38064. "description": "市场名称",
  38065. "type": "string"
  38066. },
  38067. "openprice": {
  38068. "description": "建仓价格",
  38069. "type": "number"
  38070. },
  38071. "openqty": {
  38072. "description": "期初均价",
  38073. "type": "number"
  38074. },
  38075. "optiontype": {
  38076. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38077. "type": "integer"
  38078. },
  38079. "preexerciseprice": {
  38080. "description": "预申报价格",
  38081. "type": "number"
  38082. },
  38083. "premium": {
  38084. "description": "权利金",
  38085. "type": "number"
  38086. },
  38087. "qtydecimalplace": {
  38088. "description": "商品成交量小数位",
  38089. "type": "integer"
  38090. },
  38091. "refgoodscode": {
  38092. "description": "标的合约代码",
  38093. "type": "string"
  38094. },
  38095. "refgoodsid": {
  38096. "description": "标的合约id",
  38097. "type": "integer"
  38098. },
  38099. "releaseamount": {
  38100. "description": "释放持仓金额",
  38101. "type": "number"
  38102. },
  38103. "releaseholdercredit": {
  38104. "description": "释放持仓授信金额",
  38105. "type": "number"
  38106. },
  38107. "taname": {
  38108. "description": "资金账号名称",
  38109. "type": "string"
  38110. },
  38111. "tradeamount": {
  38112. "description": "成交金额",
  38113. "type": "number"
  38114. },
  38115. "tradedate": {
  38116. "description": "交易日(yyyyMMdd)",
  38117. "type": "string"
  38118. },
  38119. "tradeid": {
  38120. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38121. "type": "string"
  38122. },
  38123. "trademode": {
  38124. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38125. "type": "integer"
  38126. },
  38127. "tradeproperty": {
  38128. "description": "交易属性",
  38129. "type": "integer"
  38130. },
  38131. "tradetime": {
  38132. "description": "交易时间",
  38133. "type": "string"
  38134. },
  38135. "userid": {
  38136. "description": "用户id",
  38137. "type": "integer"
  38138. },
  38139. "username": {
  38140. "description": "用户名称",
  38141. "type": "string"
  38142. }
  38143. }
  38144. },
  38145. "models.Unlinkermcphedgeplan": {
  38146. "type": "object",
  38147. "required": [
  38148. "areauserid"
  38149. ],
  38150. "properties": {
  38151. "accountid": {
  38152. "description": "期货账户ID - 作废",
  38153. "type": "integer"
  38154. },
  38155. "accountname": {
  38156. "description": "交易用户",
  38157. "type": "string"
  38158. },
  38159. "applyid": {
  38160. "description": "申请人",
  38161. "type": "integer"
  38162. },
  38163. "applysrc": {
  38164. "description": "申请来源 - 1:管理端 2:终端",
  38165. "type": "integer"
  38166. },
  38167. "applytime": {
  38168. "description": "申请时间",
  38169. "type": "string"
  38170. },
  38171. "areauserid": {
  38172. "description": "[企业ID]机构ID",
  38173. "type": "integer"
  38174. },
  38175. "auditid": {
  38176. "description": "审核人",
  38177. "type": "integer"
  38178. },
  38179. "auditremark": {
  38180. "description": "审核备注",
  38181. "type": "string"
  38182. },
  38183. "auditsrc": {
  38184. "description": "审核来源 - 1:管理端 2:终端",
  38185. "type": "integer"
  38186. },
  38187. "audittime": {
  38188. "description": "审核时间",
  38189. "type": "string"
  38190. },
  38191. "audittradedate": {
  38192. "description": "审核交易日(yyyyMMdd)",
  38193. "type": "string"
  38194. },
  38195. "biztype": {
  38196. "description": "业务类型 - 1:套保",
  38197. "type": "integer"
  38198. },
  38199. "contracttype": {
  38200. "description": "计划类型 - 1:采购 -1:销售",
  38201. "type": "integer"
  38202. },
  38203. "convertfactor": {
  38204. "description": "标仓系数 - 作废",
  38205. "type": "number"
  38206. },
  38207. "createtime": {
  38208. "description": "创建时间",
  38209. "type": "string"
  38210. },
  38211. "currencyid": {
  38212. "description": "结算币种ID - 作废",
  38213. "type": "integer"
  38214. },
  38215. "deliverygoodsid": {
  38216. "description": "现货品种ID",
  38217. "type": "integer"
  38218. },
  38219. "enumdicname": {
  38220. "description": "结算币种",
  38221. "type": "string"
  38222. },
  38223. "hedgeplanid": {
  38224. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38225. "type": "string"
  38226. },
  38227. "hedgeplanno": {
  38228. "description": "[计划编号]套保计划编号,模糊查询",
  38229. "type": "string"
  38230. },
  38231. "hedgeplanstatus": {
  38232. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38233. "type": "integer"
  38234. },
  38235. "isrelated": {
  38236. "description": "是否已关联计划项目 - 0:否 1:是",
  38237. "type": "integer"
  38238. },
  38239. "planqty": {
  38240. "description": "[计划量]计划数量",
  38241. "type": "number"
  38242. },
  38243. "plantime": {
  38244. "description": "计划时间",
  38245. "type": "string"
  38246. },
  38247. "producttype": {
  38248. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38249. "type": "integer"
  38250. },
  38251. "remark": {
  38252. "description": "备注",
  38253. "type": "string"
  38254. },
  38255. "spotgoodsdesc": {
  38256. "description": "商品型号",
  38257. "type": "string"
  38258. },
  38259. "tradedate": {
  38260. "description": "交易日(yyyyMMdd)",
  38261. "type": "string"
  38262. },
  38263. "tradeuserid": {
  38264. "description": "交易用户ID",
  38265. "type": "integer"
  38266. },
  38267. "updatetime": {
  38268. "description": "更新时间",
  38269. "type": "string"
  38270. },
  38271. "wrstandardid": {
  38272. "description": "现货商品ID",
  38273. "type": "integer"
  38274. },
  38275. "wrstandardname": {
  38276. "description": "现货商品,模糊查询",
  38277. "type": "string"
  38278. }
  38279. }
  38280. },
  38281. "models.UserCollectConfig": {
  38282. "type": "object",
  38283. "properties": {
  38284. "accountstatus": {
  38285. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38286. "type": "integer"
  38287. },
  38288. "collectaccountname": {
  38289. "description": "收款人账户名称",
  38290. "type": "string"
  38291. },
  38292. "collectaccountno": {
  38293. "description": "收款人账户",
  38294. "type": "string"
  38295. },
  38296. "collectbankname": {
  38297. "description": "收款人开户行",
  38298. "type": "string"
  38299. },
  38300. "collectbranchbankname": {
  38301. "description": "收款人开户支行",
  38302. "type": "string"
  38303. },
  38304. "collectconfigid": {
  38305. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38306. "type": "string"
  38307. },
  38308. "remark": {
  38309. "description": "备注",
  38310. "type": "string"
  38311. },
  38312. "userid": {
  38313. "description": "收款人用户ID",
  38314. "type": "integer"
  38315. }
  38316. }
  38317. },
  38318. "models.UserReceiveInfo": {
  38319. "type": "object",
  38320. "properties": {
  38321. "address": {
  38322. "description": "提货人详细地址",
  38323. "type": "string"
  38324. },
  38325. "autoid": {
  38326. "description": "AutoID",
  38327. "type": "integer"
  38328. },
  38329. "cardnum": {
  38330. "description": "证件号码(加密存储)",
  38331. "type": "string"
  38332. },
  38333. "cardtypeid": {
  38334. "description": "证件类型",
  38335. "type": "integer"
  38336. },
  38337. "cityid": {
  38338. "description": "市",
  38339. "type": "integer"
  38340. },
  38341. "cityname": {
  38342. "description": "城市名称",
  38343. "type": "string"
  38344. },
  38345. "countryid": {
  38346. "description": "国家",
  38347. "type": "integer"
  38348. },
  38349. "countryname": {
  38350. "description": "国家名称",
  38351. "type": "string"
  38352. },
  38353. "districtid": {
  38354. "description": "地区",
  38355. "type": "integer"
  38356. },
  38357. "districtname": {
  38358. "description": "地区名称",
  38359. "type": "string"
  38360. },
  38361. "hasencrypt": {
  38362. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38363. "type": "integer"
  38364. },
  38365. "isdefault": {
  38366. "description": "是否默认地址 - 0:否 1:是",
  38367. "type": "integer"
  38368. },
  38369. "phonenum": {
  38370. "description": "提货人联系方式(加密存储)",
  38371. "type": "string"
  38372. },
  38373. "provinceid": {
  38374. "description": "省",
  38375. "type": "integer"
  38376. },
  38377. "provincename": {
  38378. "description": "省名称",
  38379. "type": "string"
  38380. },
  38381. "receivername": {
  38382. "description": "提货人姓名",
  38383. "type": "string"
  38384. },
  38385. "takeremark": {
  38386. "description": "提货备注",
  38387. "type": "string"
  38388. },
  38389. "userid": {
  38390. "description": "用户ID",
  38391. "type": "integer"
  38392. }
  38393. }
  38394. },
  38395. "models.Useraccount": {
  38396. "type": "object",
  38397. "required": [
  38398. "userid"
  38399. ],
  38400. "properties": {
  38401. "accountname": {
  38402. "description": "账户名称(机构名称)",
  38403. "type": "string"
  38404. },
  38405. "accountstatus": {
  38406. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38407. "type": "integer"
  38408. },
  38409. "applysrc": {
  38410. "description": "申请来源 - 1:管理端 2:终端",
  38411. "type": "integer"
  38412. },
  38413. "auditremark": {
  38414. "description": "审核备注",
  38415. "type": "string"
  38416. },
  38417. "auditsrc": {
  38418. "description": "审核来源 - 1:管理端 2:终端",
  38419. "type": "integer"
  38420. },
  38421. "audittime": {
  38422. "description": "审核时间",
  38423. "type": "string"
  38424. },
  38425. "audituserid": {
  38426. "description": "审核人",
  38427. "type": "integer"
  38428. },
  38429. "broker": {
  38430. "description": "所属经纪人ID",
  38431. "type": "integer"
  38432. },
  38433. "canceltime": {
  38434. "description": "销户时间",
  38435. "type": "string"
  38436. },
  38437. "canceluserid": {
  38438. "description": "销户人",
  38439. "type": "integer"
  38440. },
  38441. "canrecommend": {
  38442. "description": "是否可推荐 - 0:不可 1;可",
  38443. "type": "integer"
  38444. },
  38445. "createtime": {
  38446. "description": "创建时间",
  38447. "type": "string"
  38448. },
  38449. "creatorid": {
  38450. "description": "创建人",
  38451. "type": "integer"
  38452. },
  38453. "hasauth": {
  38454. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  38455. "type": "integer"
  38456. },
  38457. "isanonymous": {
  38458. "description": "是否匿名下单 - 0:否 1:是",
  38459. "type": "integer"
  38460. },
  38461. "maxinvestornum": {
  38462. "description": "最大用户数(经纪会员下投资者个数)",
  38463. "type": "integer"
  38464. },
  38465. "memberuserid": {
  38466. "description": "所属会员ID",
  38467. "type": "integer"
  38468. },
  38469. "modifierid": {
  38470. "description": "修改人",
  38471. "type": "integer"
  38472. },
  38473. "modifyremark": {
  38474. "description": "变更备注",
  38475. "type": "string"
  38476. },
  38477. "modifystatus": {
  38478. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  38479. "type": "integer"
  38480. },
  38481. "modifytime": {
  38482. "description": "修改时间",
  38483. "type": "string"
  38484. },
  38485. "parenttopuser": {
  38486. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  38487. "type": "string"
  38488. },
  38489. "parentuserid": {
  38490. "description": "所属机构ID",
  38491. "type": "integer"
  38492. },
  38493. "reckonaccountid": {
  38494. "description": "默认结算资金账号ID(机构分润使用) 作废",
  38495. "type": "integer"
  38496. },
  38497. "refercount": {
  38498. "description": "推荐总人数",
  38499. "type": "integer"
  38500. },
  38501. "refereeuserid": {
  38502. "description": "推荐人ID",
  38503. "type": "integer"
  38504. },
  38505. "refernum": {
  38506. "description": "推荐码",
  38507. "type": "string"
  38508. },
  38509. "rootuserid": {
  38510. "description": "根用户ID",
  38511. "type": "integer"
  38512. },
  38513. "subaccountlevel": {
  38514. "description": "子账户层数",
  38515. "type": "integer"
  38516. },
  38517. "subarealevelpath": {
  38518. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  38519. "type": "string"
  38520. },
  38521. "userid": {
  38522. "description": "用户ID",
  38523. "type": "integer"
  38524. },
  38525. "usertype": {
  38526. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38527. "type": "integer"
  38528. }
  38529. }
  38530. },
  38531. "models.Userfavoritegoods": {
  38532. "type": "object",
  38533. "required": [
  38534. "goodsid"
  38535. ],
  38536. "properties": {
  38537. "goodsid": {
  38538. "description": "商品ID",
  38539. "type": "integer"
  38540. }
  38541. }
  38542. },
  38543. "models.Userinfo": {
  38544. "type": "object",
  38545. "required": [
  38546. "userid"
  38547. ],
  38548. "properties": {
  38549. "address": {
  38550. "description": "地址",
  38551. "type": "string"
  38552. },
  38553. "attachment1": {
  38554. "description": "附件1",
  38555. "type": "string"
  38556. },
  38557. "attachment2": {
  38558. "description": "附件2",
  38559. "type": "string"
  38560. },
  38561. "bankaccount": {
  38562. "description": "银行帐号 (加密存储)",
  38563. "type": "string"
  38564. },
  38565. "bankaccountname": {
  38566. "description": "收款人名称",
  38567. "type": "string"
  38568. },
  38569. "bankcardfrontphotourl": {
  38570. "description": "银行卡正面照地址",
  38571. "type": "string"
  38572. },
  38573. "bankid": {
  38574. "description": "银行编码",
  38575. "type": "string"
  38576. },
  38577. "bankname": {
  38578. "description": "银行名称",
  38579. "type": "string"
  38580. },
  38581. "biznature": {
  38582. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38583. "type": "integer"
  38584. },
  38585. "bizscope": {
  38586. "description": "企业经营范围(企业)",
  38587. "type": "string"
  38588. },
  38589. "cardbackphotourl": {
  38590. "description": "证件背面图片地址",
  38591. "type": "string"
  38592. },
  38593. "cardfrontphotourl": {
  38594. "description": "证件正面图片地址",
  38595. "type": "string"
  38596. },
  38597. "cardnum": {
  38598. "description": "证件号码(加密存储)",
  38599. "type": "string"
  38600. },
  38601. "cardtypeid": {
  38602. "description": "证件类型ID",
  38603. "type": "integer"
  38604. },
  38605. "cityid": {
  38606. "description": "市",
  38607. "type": "integer"
  38608. },
  38609. "company": {
  38610. "description": "公司(个人)",
  38611. "type": "string"
  38612. },
  38613. "contactname": {
  38614. "description": "联系人",
  38615. "type": "string"
  38616. },
  38617. "countryid": {
  38618. "description": "国家",
  38619. "type": "integer"
  38620. },
  38621. "createtime": {
  38622. "description": "创建时间",
  38623. "type": "string"
  38624. },
  38625. "creatorid": {
  38626. "description": "创建人",
  38627. "type": "integer"
  38628. },
  38629. "customername": {
  38630. "description": "客户名称(企业名称)",
  38631. "type": "string"
  38632. },
  38633. "districtid": {
  38634. "description": "地区",
  38635. "type": "integer"
  38636. },
  38637. "email": {
  38638. "description": "邮件(加密存储)",
  38639. "type": "string"
  38640. },
  38641. "fax": {
  38642. "description": "传真(加密存储)",
  38643. "type": "string"
  38644. },
  38645. "halfbodyphotourl": {
  38646. "description": "半身照地址",
  38647. "type": "string"
  38648. },
  38649. "hasencrypt": {
  38650. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38651. "type": "integer"
  38652. },
  38653. "headurl": {
  38654. "description": "头像地址",
  38655. "type": "string"
  38656. },
  38657. "legalcardbackphotourl": {
  38658. "description": "法人身份证背面照地址",
  38659. "type": "string"
  38660. },
  38661. "legalcardfrontphotourl": {
  38662. "description": "法人身份证正面照地址",
  38663. "type": "string"
  38664. },
  38665. "legalpersonname": {
  38666. "description": "法人姓名(企业)",
  38667. "type": "string"
  38668. },
  38669. "mobile": {
  38670. "description": "手机号码(加密存储)",
  38671. "type": "string"
  38672. },
  38673. "mobile2": {
  38674. "description": "手机号码[明文-尚志]",
  38675. "type": "string"
  38676. },
  38677. "modifierid": {
  38678. "description": "修改人",
  38679. "type": "integer"
  38680. },
  38681. "modifiertime": {
  38682. "description": "修改时间",
  38683. "type": "string"
  38684. },
  38685. "needinvoice": {
  38686. "description": "是否需要发票 - 0:不需要 1:需要",
  38687. "type": "integer"
  38688. },
  38689. "nickname": {
  38690. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38691. "type": "string"
  38692. },
  38693. "openmode": {
  38694. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38695. "type": "integer"
  38696. },
  38697. "otherurl": {
  38698. "description": "其它图片地址[使用分号分隔]",
  38699. "type": "string"
  38700. },
  38701. "postalcode": {
  38702. "description": "邮政编码",
  38703. "type": "string"
  38704. },
  38705. "provinceid": {
  38706. "description": "省",
  38707. "type": "integer"
  38708. },
  38709. "qq": {
  38710. "description": "QQ(加密存储",
  38711. "type": "string"
  38712. },
  38713. "remark": {
  38714. "description": "备注",
  38715. "type": "string"
  38716. },
  38717. "sex": {
  38718. "description": "用户性别 0: 女 1: 男",
  38719. "type": "integer"
  38720. },
  38721. "signpdfurl": {
  38722. "description": "签约pdf文件",
  38723. "type": "string"
  38724. },
  38725. "telphone": {
  38726. "description": "联系电话(加密存储)",
  38727. "type": "string"
  38728. },
  38729. "userid": {
  38730. "description": "用户ID",
  38731. "type": "integer"
  38732. },
  38733. "userinfotype": {
  38734. "description": "用户信息类型 - 1:个人 2:企业",
  38735. "type": "integer"
  38736. },
  38737. "userstatus": {
  38738. "description": "用户状态 - 1:正常 2:注销",
  38739. "type": "integer"
  38740. },
  38741. "usertype": {
  38742. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  38743. "type": "integer"
  38744. },
  38745. "wechat": {
  38746. "description": "微信(加密存储)",
  38747. "type": "string"
  38748. },
  38749. "wskhinfo": {
  38750. "description": "开户申请信息(JSON)",
  38751. "type": "string"
  38752. }
  38753. }
  38754. },
  38755. "models.WRSConverTDetail": {
  38756. "type": "object",
  38757. "properties": {
  38758. "convertratio": {
  38759. "description": "套保系数",
  38760. "type": "number"
  38761. },
  38762. "deliverygoodscode": {
  38763. "description": "现货商品代码",
  38764. "type": "string"
  38765. },
  38766. "deliverygoodsid": {
  38767. "description": "现货品种ID",
  38768. "type": "integer"
  38769. },
  38770. "deliverygoodsname": {
  38771. "description": "现货商品名称",
  38772. "type": "string"
  38773. },
  38774. "enumdicname": {
  38775. "description": "单位名称",
  38776. "type": "string"
  38777. },
  38778. "goodsunitid": {
  38779. "description": "套保品种单位id",
  38780. "type": "integer"
  38781. },
  38782. "middlegoodscode": {
  38783. "description": "套保品种代码",
  38784. "type": "string"
  38785. },
  38786. "middlegoodsid": {
  38787. "description": "套保品种ID",
  38788. "type": "integer"
  38789. },
  38790. "middlegoodsname": {
  38791. "description": "套保品种名称",
  38792. "type": "string"
  38793. },
  38794. "modifytime": {
  38795. "description": "修改时间",
  38796. "type": "string"
  38797. },
  38798. "wrstandardid": {
  38799. "description": "品类ID",
  38800. "type": "integer"
  38801. }
  38802. }
  38803. },
  38804. "models.WRStandardInfo": {
  38805. "type": "object",
  38806. "required": [
  38807. "wrstandardid"
  38808. ],
  38809. "properties": {
  38810. "areauserid": {
  38811. "description": "所属机构",
  38812. "type": "integer"
  38813. },
  38814. "convertfactor": {
  38815. "description": "标仓系数",
  38816. "type": "number"
  38817. },
  38818. "createtime": {
  38819. "description": "创建时间",
  38820. "type": "string"
  38821. },
  38822. "creatorid": {
  38823. "description": "创建人",
  38824. "type": "integer"
  38825. },
  38826. "deliverygoodsid": {
  38827. "description": "品种ID",
  38828. "type": "integer"
  38829. },
  38830. "deliverygoodsname": {
  38831. "description": "交割商品名称",
  38832. "type": "string"
  38833. },
  38834. "factoryitemjson": {
  38835. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  38836. "type": "string"
  38837. },
  38838. "isvalid": {
  38839. "description": "是否有效 - 0:无效 1:有效",
  38840. "type": "integer"
  38841. },
  38842. "minivalue": {
  38843. "description": "最小变动值",
  38844. "type": "integer"
  38845. },
  38846. "minivaluedp": {
  38847. "description": "最小变动值小数位",
  38848. "type": "integer"
  38849. },
  38850. "realminivalue": {
  38851. "description": "实际最小变动值",
  38852. "type": "integer"
  38853. },
  38854. "realminivaluedp": {
  38855. "description": "实际最小变动值小数位",
  38856. "type": "integer"
  38857. },
  38858. "remark": {
  38859. "description": "备注",
  38860. "type": "string"
  38861. },
  38862. "unitid": {
  38863. "description": "单位ID",
  38864. "type": "integer"
  38865. },
  38866. "unitname": {
  38867. "description": "单位",
  38868. "type": "string"
  38869. },
  38870. "updatetime": {
  38871. "description": "更新时间",
  38872. "type": "string"
  38873. },
  38874. "updatorid": {
  38875. "description": "更新人",
  38876. "type": "integer"
  38877. },
  38878. "wrsstatus": {
  38879. "description": "状态 - 作废 - 0:未激活 1:正常",
  38880. "type": "integer"
  38881. },
  38882. "wrstandardcode": {
  38883. "description": "现货品类代码",
  38884. "type": "string"
  38885. },
  38886. "wrstandardid": {
  38887. "description": "现货品类ID(SEQ_WRSTANDARD)",
  38888. "type": "integer"
  38889. },
  38890. "wrstandardname": {
  38891. "description": "现货品类名称",
  38892. "type": "string"
  38893. }
  38894. }
  38895. },
  38896. "models.WRTradeBargainApply": {
  38897. "type": "object",
  38898. "properties": {
  38899. "accountid": {
  38900. "description": "摘牌资金账号",
  38901. "type": "integer"
  38902. },
  38903. "applyprice": {
  38904. "description": "申请价格(议价价格)",
  38905. "type": "string"
  38906. },
  38907. "applyqty": {
  38908. "description": "摘牌数量(议价数量)",
  38909. "type": "number"
  38910. },
  38911. "applyremark": {
  38912. "description": "申请备注",
  38913. "type": "string"
  38914. },
  38915. "applystatus": {
  38916. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  38917. "type": "integer"
  38918. },
  38919. "applytime": {
  38920. "description": "申请时间(议价时间)",
  38921. "type": "string"
  38922. },
  38923. "begindate": {
  38924. "description": "开始交易日(yyyymmdd)",
  38925. "type": "string"
  38926. },
  38927. "buyorsell": {
  38928. "description": "买卖(挂牌类型) - 0:买 1:卖",
  38929. "type": "integer"
  38930. },
  38931. "confirmremark": {
  38932. "description": "确认备注",
  38933. "type": "string"
  38934. },
  38935. "confirmtime": {
  38936. "description": "确认时间",
  38937. "type": "string"
  38938. },
  38939. "confirmuserid": {
  38940. "description": "确认人",
  38941. "type": "integer"
  38942. },
  38943. "deliverygoodscode": {
  38944. "description": "品种代码",
  38945. "type": "string"
  38946. },
  38947. "deliverygoodsid": {
  38948. "description": "品种ID",
  38949. "type": "integer"
  38950. },
  38951. "deliverygoodsname": {
  38952. "description": "品种名称",
  38953. "type": "string"
  38954. },
  38955. "deliverymonth": {
  38956. "description": "交收月",
  38957. "type": "string"
  38958. },
  38959. "enddate": {
  38960. "description": "结束交易日(yyyymmdd)",
  38961. "type": "string"
  38962. },
  38963. "enumdicname": {
  38964. "description": "单位名称",
  38965. "type": "string"
  38966. },
  38967. "fixedprice": {
  38968. "description": "期初均价",
  38969. "type": "number"
  38970. },
  38971. "handlestatus": {
  38972. "description": "处理状态",
  38973. "type": "integer"
  38974. },
  38975. "marginvalue": {
  38976. "description": "期初均价",
  38977. "type": "number"
  38978. },
  38979. "marketid": {
  38980. "description": "市场ID",
  38981. "type": "integer"
  38982. },
  38983. "matchaccountid": {
  38984. "description": "挂牌方资金账号",
  38985. "type": "integer"
  38986. },
  38987. "matchuserid": {
  38988. "description": "挂牌方用户id",
  38989. "type": "integer"
  38990. },
  38991. "matchusername": {
  38992. "description": "挂牌方用户名称(已脱敏)",
  38993. "type": "string"
  38994. },
  38995. "minivalue": {
  38996. "description": "现货商品最小变动值",
  38997. "type": "integer"
  38998. },
  38999. "optioncompare": {
  39000. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39001. "type": "string"
  39002. },
  39003. "orderqty": {
  39004. "description": "挂牌数量",
  39005. "type": "integer"
  39006. },
  39007. "refprice": {
  39008. "description": "参考价格",
  39009. "type": "string"
  39010. },
  39011. "retcode": {
  39012. "description": "委托返回代码",
  39013. "type": "integer"
  39014. },
  39015. "templatename": {
  39016. "description": "履约方式(履约模板名称)",
  39017. "type": "string"
  39018. },
  39019. "tradedate": {
  39020. "description": "交易日(yyyyMMdd)",
  39021. "type": "string"
  39022. },
  39023. "userid": {
  39024. "description": "摘牌人用户ID(议价人ID)",
  39025. "type": "integer"
  39026. },
  39027. "username": {
  39028. "description": "议价人名字(已脱敏)",
  39029. "type": "string"
  39030. },
  39031. "validtime": {
  39032. "description": "有效期限",
  39033. "type": "string"
  39034. },
  39035. "warehouseid": {
  39036. "description": "仓库ID",
  39037. "type": "integer"
  39038. },
  39039. "warehousename": {
  39040. "description": "仓库名称",
  39041. "type": "string"
  39042. },
  39043. "wrbargainid": {
  39044. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39045. "type": "string"
  39046. },
  39047. "wrfactortypeid": {
  39048. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39049. "type": "string"
  39050. },
  39051. "wrfactortypename": {
  39052. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39053. "type": "string"
  39054. },
  39055. "wrstandardcode": {
  39056. "description": "现货商品代码",
  39057. "type": "string"
  39058. },
  39059. "wrstandardid": {
  39060. "description": "现货商品ID",
  39061. "type": "integer"
  39062. },
  39063. "wrstandardname": {
  39064. "description": "商品名称",
  39065. "type": "string"
  39066. },
  39067. "wrtradeorderid": {
  39068. "description": "关联委托单ID",
  39069. "type": "string"
  39070. },
  39071. "wrtypename": {
  39072. "description": "商品",
  39073. "type": "string"
  39074. }
  39075. }
  39076. },
  39077. "models.Warehouseinfo": {
  39078. "type": "object",
  39079. "required": [
  39080. "autoid",
  39081. "warehousecode"
  39082. ],
  39083. "properties": {
  39084. "address": {
  39085. "description": "详细地址",
  39086. "type": "string"
  39087. },
  39088. "areauserid": {
  39089. "description": "所属机构",
  39090. "type": "integer"
  39091. },
  39092. "autoid": {
  39093. "description": "自增ID",
  39094. "type": "integer"
  39095. },
  39096. "cityid": {
  39097. "description": "市",
  39098. "type": "integer"
  39099. },
  39100. "contactname": {
  39101. "description": "联系人",
  39102. "type": "string"
  39103. },
  39104. "contactnum": {
  39105. "description": "联系电话",
  39106. "type": "string"
  39107. },
  39108. "countryid": {
  39109. "description": "国家",
  39110. "type": "integer"
  39111. },
  39112. "createtime": {
  39113. "description": "创建时间",
  39114. "type": "string"
  39115. },
  39116. "districtid": {
  39117. "description": "区",
  39118. "type": "integer"
  39119. },
  39120. "hasvideo": {
  39121. "description": "是否有视频 - 0:无 1:有",
  39122. "type": "integer"
  39123. },
  39124. "provinceid": {
  39125. "description": "省",
  39126. "type": "integer"
  39127. },
  39128. "remark": {
  39129. "description": "审核备注",
  39130. "type": "string"
  39131. },
  39132. "videourl": {
  39133. "description": "视频地址",
  39134. "type": "string"
  39135. },
  39136. "warehousecode": {
  39137. "description": "仓库代码",
  39138. "type": "string"
  39139. },
  39140. "warehousename": {
  39141. "description": "仓库名称",
  39142. "type": "string"
  39143. },
  39144. "warehousestatus": {
  39145. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39146. "type": "integer"
  39147. },
  39148. "warehousetype": {
  39149. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39150. "type": "integer"
  39151. }
  39152. }
  39153. },
  39154. "models.WrAverageTradePrice": {
  39155. "type": "object",
  39156. "properties": {
  39157. "averageprice": {
  39158. "description": "期初均价",
  39159. "type": "number"
  39160. },
  39161. "tradedate": {
  39162. "description": "交易日yyyymm",
  39163. "type": "string"
  39164. }
  39165. }
  39166. },
  39167. "models.WrBrandAndYears": {
  39168. "type": "object",
  39169. "properties": {
  39170. "brandlst": {
  39171. "description": "品牌列表",
  39172. "type": "array",
  39173. "items": {
  39174. "$ref": "#/definitions/models.DgFactoryItem"
  39175. }
  39176. },
  39177. "yearslst": {
  39178. "description": "年份列表",
  39179. "type": "array",
  39180. "items": {
  39181. "$ref": "#/definitions/models.DgFactoryItem"
  39182. }
  39183. }
  39184. }
  39185. },
  39186. "models.WrBsGoodsInfo": {
  39187. "type": "object",
  39188. "properties": {
  39189. "buyorsell": {
  39190. "description": "买卖方向 0-买 1-卖",
  39191. "type": "integer"
  39192. },
  39193. "goodsid": {
  39194. "description": "交易合约ID",
  39195. "type": "integer"
  39196. },
  39197. "lstitem": {
  39198. "description": "商品信息项",
  39199. "type": "array",
  39200. "items": {
  39201. "$ref": "#/definitions/models.WrTypeItem"
  39202. }
  39203. },
  39204. "lststep": {
  39205. "description": "履约规则",
  39206. "type": "array",
  39207. "items": {
  39208. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39209. }
  39210. }
  39211. }
  39212. },
  39213. "models.WrBuybackDetail": {
  39214. "type": "object",
  39215. "properties": {
  39216. "buybackamount": {
  39217. "description": "回购金额",
  39218. "type": "number"
  39219. },
  39220. "buybackqty": {
  39221. "description": "回购数量",
  39222. "type": "number"
  39223. },
  39224. "buybackreleasemargin": {
  39225. "description": "回购释放保证金",
  39226. "type": "number"
  39227. },
  39228. "buybacktime": {
  39229. "description": "回购时间",
  39230. "type": "string"
  39231. },
  39232. "errordesc": {
  39233. "description": "错误描述",
  39234. "type": "string"
  39235. },
  39236. "handlestatus": {
  39237. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39238. "type": "integer"
  39239. },
  39240. "relatedwrid": {
  39241. "description": "关联仓单ID",
  39242. "type": "integer"
  39243. },
  39244. "scfcontractid": {
  39245. "description": "SCF合同ID",
  39246. "type": "string"
  39247. },
  39248. "scfwrbuybackid": {
  39249. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39250. "type": "integer"
  39251. },
  39252. "tradedate": {
  39253. "description": "交易日(yyyyMMdd)",
  39254. "type": "string"
  39255. }
  39256. }
  39257. },
  39258. "models.WrClientAdSpaceConfig": {
  39259. "type": "object",
  39260. "properties": {
  39261. "adspaceid": {
  39262. "description": "广告位ID",
  39263. "type": "integer"
  39264. },
  39265. "adspacename": {
  39266. "description": "广告位名称",
  39267. "type": "string"
  39268. },
  39269. "adspacetype": {
  39270. "description": "广告位类型 - 1:固定广告位",
  39271. "type": "integer"
  39272. },
  39273. "areauserid": {
  39274. "description": "所属机构ID",
  39275. "type": "integer"
  39276. },
  39277. "createdate": {
  39278. "description": "创建时间",
  39279. "type": "string"
  39280. },
  39281. "imagepath": {
  39282. "description": "图片",
  39283. "type": "string"
  39284. },
  39285. "modifierid": {
  39286. "description": "操作人",
  39287. "type": "integer"
  39288. },
  39289. "recsize": {
  39290. "description": "推荐尺寸",
  39291. "type": "string"
  39292. },
  39293. "title": {
  39294. "description": "标题",
  39295. "type": "string"
  39296. },
  39297. "updatedate": {
  39298. "description": "更新时间",
  39299. "type": "string"
  39300. },
  39301. "urlcontent": {
  39302. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39303. "type": "string"
  39304. },
  39305. "urltype": {
  39306. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39307. "type": "integer"
  39308. }
  39309. }
  39310. },
  39311. "models.WrDeliveryAvalidHoldLB": {
  39312. "type": "object",
  39313. "properties": {
  39314. "accountid": {
  39315. "description": "资金账号",
  39316. "type": "integer"
  39317. },
  39318. "avalidqty": {
  39319. "description": "数量(可点选数量)",
  39320. "type": "number"
  39321. },
  39322. "deliverygoodsid": {
  39323. "description": "品种id",
  39324. "type": "integer"
  39325. },
  39326. "enumdicname": {
  39327. "description": "单位名称",
  39328. "type": "string"
  39329. },
  39330. "goodsid": {
  39331. "description": "x合约商品id",
  39332. "type": "integer"
  39333. },
  39334. "ladingbillid": {
  39335. "description": "提单id",
  39336. "type": "string"
  39337. },
  39338. "pgoodscode": {
  39339. "description": "p商品代码(点价合约)",
  39340. "type": "string"
  39341. },
  39342. "pgoodsid": {
  39343. "description": "p商品id(点价合约)",
  39344. "type": "integer"
  39345. },
  39346. "pgoodsname": {
  39347. "description": "p商品名称(点价合约)",
  39348. "type": "string"
  39349. },
  39350. "pricemove": {
  39351. "description": "升贴水",
  39352. "type": "number"
  39353. },
  39354. "subnum": {
  39355. "description": "提单子id",
  39356. "type": "integer"
  39357. },
  39358. "userid": {
  39359. "description": "用户id",
  39360. "type": "integer"
  39361. },
  39362. "username": {
  39363. "description": "仓单持有人",
  39364. "type": "string"
  39365. },
  39366. "warehousecode": {
  39367. "description": "仓库代码",
  39368. "type": "string"
  39369. },
  39370. "warehouseid": {
  39371. "description": "仓库id",
  39372. "type": "integer"
  39373. },
  39374. "warehousename": {
  39375. "description": "仓库名称",
  39376. "type": "string"
  39377. },
  39378. "wrfactortypeid": {
  39379. "description": "仓单要素id",
  39380. "type": "string"
  39381. },
  39382. "wrstandardcode": {
  39383. "description": "品代码",
  39384. "type": "string"
  39385. },
  39386. "wrstandardid": {
  39387. "description": "品类d",
  39388. "type": "integer"
  39389. },
  39390. "wrstandardname": {
  39391. "description": "品类名称",
  39392. "type": "string"
  39393. },
  39394. "wrtypename": {
  39395. "description": "商品",
  39396. "type": "string"
  39397. },
  39398. "xgoodscode": {
  39399. "description": "x合约代码",
  39400. "type": "string"
  39401. },
  39402. "xgoodsname": {
  39403. "description": "x合约名称",
  39404. "type": "string"
  39405. }
  39406. }
  39407. },
  39408. "models.WrDeliveryDetail": {
  39409. "type": "object",
  39410. "properties": {
  39411. "accountid": {
  39412. "description": "账号ID",
  39413. "type": "integer"
  39414. },
  39415. "averageprice": {
  39416. "description": "期初均价",
  39417. "type": "number"
  39418. },
  39419. "begindate": {
  39420. "description": "开始交易日(yyyymmdd)",
  39421. "type": "string"
  39422. },
  39423. "buyorsell": {
  39424. "description": "方向 - 0:买 1:卖",
  39425. "type": "integer"
  39426. },
  39427. "deliveryamount": {
  39428. "description": "货款金额(X总货款+P总货款)",
  39429. "type": "number"
  39430. },
  39431. "deliveryid": {
  39432. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  39433. "type": "string"
  39434. },
  39435. "deliveryorderid": {
  39436. "description": "申报单号",
  39437. "type": "string"
  39438. },
  39439. "deliverypricemove": {
  39440. "description": "升贴水(升贴水总额)",
  39441. "type": "number"
  39442. },
  39443. "deliveryqty": {
  39444. "description": "交收数量(点选数量)",
  39445. "type": "number"
  39446. },
  39447. "deliverystatus": {
  39448. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  39449. "type": "integer"
  39450. },
  39451. "deliverytime": {
  39452. "description": "交割时间",
  39453. "type": "string"
  39454. },
  39455. "deliverytotalamount": {
  39456. "description": "交收金额",
  39457. "type": "number"
  39458. },
  39459. "enddate": {
  39460. "description": "结束交易日(yyyymmdd)",
  39461. "type": "string"
  39462. },
  39463. "enumdicname": {
  39464. "description": "单位名称",
  39465. "type": "string"
  39466. },
  39467. "matchaccountid": {
  39468. "description": "对手账号ID",
  39469. "type": "integer"
  39470. },
  39471. "matchusername": {
  39472. "description": "对手方名称(仓单持有人)",
  39473. "type": "string"
  39474. },
  39475. "p1goodsremainamount": {
  39476. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39477. "type": "number"
  39478. },
  39479. "pdeliverycloseqty": {
  39480. "description": "p合约平仓数量",
  39481. "type": "number"
  39482. },
  39483. "pdeliveryprice": {
  39484. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39485. "type": "number"
  39486. },
  39487. "pgoodscode": {
  39488. "description": "商品代码",
  39489. "type": "string"
  39490. },
  39491. "pgoodsid": {
  39492. "description": "p点选合约id",
  39493. "type": "integer"
  39494. },
  39495. "pgoodsname": {
  39496. "description": "商品名称",
  39497. "type": "string"
  39498. },
  39499. "ppricemode": {
  39500. "description": "点价价格方式 - 1:商品价 2:固定值",
  39501. "type": "integer"
  39502. },
  39503. "tradedate": {
  39504. "description": "交易日(yyyymmdd)",
  39505. "type": "string"
  39506. },
  39507. "userid": {
  39508. "description": "用户id",
  39509. "type": "integer"
  39510. },
  39511. "username": {
  39512. "description": "用户名称",
  39513. "type": "string"
  39514. },
  39515. "warehousename": {
  39516. "description": "仓库名称",
  39517. "type": "string"
  39518. },
  39519. "wrfactortypeid": {
  39520. "description": "仓单要素类型ID",
  39521. "type": "string"
  39522. },
  39523. "wrtypename": {
  39524. "description": "商品",
  39525. "type": "string"
  39526. },
  39527. "xdeliverycloseqty": {
  39528. "description": "合约数量",
  39529. "type": "number"
  39530. },
  39531. "xgoodsamount": {
  39532. "description": "期初均价",
  39533. "type": "number"
  39534. },
  39535. "xgoodscode": {
  39536. "description": "商品代码",
  39537. "type": "string"
  39538. },
  39539. "xgoodsid": {
  39540. "description": "x交易合约ID",
  39541. "type": "integer"
  39542. },
  39543. "xgoodsname": {
  39544. "description": "商品名称",
  39545. "type": "string"
  39546. }
  39547. }
  39548. },
  39549. "models.WrDeliveryGoodsSection": {
  39550. "type": "object",
  39551. "properties": {
  39552. "dglst": {
  39553. "description": "板块商品列表",
  39554. "type": "array",
  39555. "items": {
  39556. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  39557. }
  39558. },
  39559. "imagepath": {
  39560. "description": "图片地址",
  39561. "type": "string"
  39562. },
  39563. "orderindex": {
  39564. "description": "排序",
  39565. "type": "integer"
  39566. },
  39567. "sectionid": {
  39568. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  39569. "type": "integer"
  39570. },
  39571. "sectionname": {
  39572. "description": "版块名称",
  39573. "type": "string"
  39574. },
  39575. "sectiontype": {
  39576. "description": "版块类型 - 1:指数版块 2:普通版块",
  39577. "type": "integer"
  39578. }
  39579. }
  39580. },
  39581. "models.WrDeliveryGoodsSectionConfig": {
  39582. "type": "object",
  39583. "properties": {
  39584. "deliverygoodscode": {
  39585. "description": "现货商品代码",
  39586. "type": "string"
  39587. },
  39588. "deliverygoodsid": {
  39589. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39590. "type": "integer"
  39591. },
  39592. "deliverygoodsname": {
  39593. "description": "现货商品名称",
  39594. "type": "string"
  39595. },
  39596. "orderindex": {
  39597. "description": "排序",
  39598. "type": "integer"
  39599. }
  39600. }
  39601. },
  39602. "models.WrDraftUserInfo": {
  39603. "type": "object",
  39604. "properties": {
  39605. "address": {
  39606. "description": "地址",
  39607. "type": "string"
  39608. },
  39609. "attachment1": {
  39610. "description": "附件1",
  39611. "type": "string"
  39612. },
  39613. "attachment2": {
  39614. "description": "附件2",
  39615. "type": "string"
  39616. },
  39617. "attachment3": {
  39618. "description": "附件3",
  39619. "type": "string"
  39620. },
  39621. "attachment4": {
  39622. "description": "附件4",
  39623. "type": "string"
  39624. },
  39625. "attachment5": {
  39626. "description": "附件5",
  39627. "type": "string"
  39628. },
  39629. "bankaccount": {
  39630. "description": "银行帐号 (加密存储)",
  39631. "type": "string"
  39632. },
  39633. "bankaccountname": {
  39634. "description": "收款人名称",
  39635. "type": "string"
  39636. },
  39637. "bankcardfrontphotourl": {
  39638. "description": "银行卡正面照地址",
  39639. "type": "string"
  39640. },
  39641. "bankid": {
  39642. "description": "银行编码",
  39643. "type": "string"
  39644. },
  39645. "bankname": {
  39646. "description": "银行名称",
  39647. "type": "string"
  39648. },
  39649. "birthday": {
  39650. "description": "生日(个人:年月日)",
  39651. "type": "string"
  39652. },
  39653. "biznature": {
  39654. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39655. "type": "integer"
  39656. },
  39657. "bizscope": {
  39658. "description": "企业经营范围(企业)",
  39659. "type": "string"
  39660. },
  39661. "biztype": {
  39662. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39663. "type": "integer"
  39664. },
  39665. "cardbackphotourl": {
  39666. "description": "证件背面图片地址",
  39667. "type": "string"
  39668. },
  39669. "cardfrontphotourl": {
  39670. "description": "证件正面图片地址",
  39671. "type": "string"
  39672. },
  39673. "cardnum": {
  39674. "description": "证件号码(加密存储)",
  39675. "type": "string"
  39676. },
  39677. "cardtypeid": {
  39678. "description": "证件类型ID",
  39679. "type": "integer"
  39680. },
  39681. "cityid": {
  39682. "description": "市",
  39683. "type": "integer"
  39684. },
  39685. "company": {
  39686. "description": "公司(个人)",
  39687. "type": "string"
  39688. },
  39689. "contactcardbackphotourl": {
  39690. "description": "联系人证件背面图片地址",
  39691. "type": "string"
  39692. },
  39693. "contactcardfrontphotourl": {
  39694. "description": "联系人证件正面图片地址",
  39695. "type": "string"
  39696. },
  39697. "contactname": {
  39698. "description": "联系人",
  39699. "type": "string"
  39700. },
  39701. "countryid": {
  39702. "description": "国家",
  39703. "type": "integer"
  39704. },
  39705. "createtime": {
  39706. "description": "创建时间",
  39707. "type": "string"
  39708. },
  39709. "creatorid": {
  39710. "description": "创建人",
  39711. "type": "integer"
  39712. },
  39713. "creditquota": {
  39714. "description": "授信额度(金瑞)",
  39715. "type": "number"
  39716. },
  39717. "customername": {
  39718. "description": "客户名称(企业名称)",
  39719. "type": "string"
  39720. },
  39721. "districtid": {
  39722. "description": "地区",
  39723. "type": "integer"
  39724. },
  39725. "email": {
  39726. "description": "邮件(加密存储)",
  39727. "type": "string"
  39728. },
  39729. "fax": {
  39730. "description": "传真(加密存储)",
  39731. "type": "string"
  39732. },
  39733. "halfbodyphotourl": {
  39734. "description": "半身照地址",
  39735. "type": "string"
  39736. },
  39737. "hasencrypt": {
  39738. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39739. "type": "integer"
  39740. },
  39741. "headurl": {
  39742. "description": "头像地址",
  39743. "type": "string"
  39744. },
  39745. "legalcardbackphotourl": {
  39746. "description": "法人身份证背面照地址",
  39747. "type": "string"
  39748. },
  39749. "legalcardfrontphotourl": {
  39750. "description": "法人身份证正面照地址",
  39751. "type": "string"
  39752. },
  39753. "legalpersonname": {
  39754. "description": "法人姓名(企业)",
  39755. "type": "string"
  39756. },
  39757. "mobile": {
  39758. "description": "手机号码(加密存储)",
  39759. "type": "string"
  39760. },
  39761. "mobile2": {
  39762. "description": "手机号码[明文-尚志]",
  39763. "type": "string"
  39764. },
  39765. "modifierid": {
  39766. "description": "修改人",
  39767. "type": "integer"
  39768. },
  39769. "modifiertime": {
  39770. "description": "修改时间",
  39771. "type": "string"
  39772. },
  39773. "needinvoice": {
  39774. "description": "是否需要发票 - 0:不需要 1:需要",
  39775. "type": "integer"
  39776. },
  39777. "nickname": {
  39778. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39779. "type": "string"
  39780. },
  39781. "openmode": {
  39782. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  39783. "type": "integer"
  39784. },
  39785. "otherurl": {
  39786. "description": "其它图片地址[使用分号分隔]",
  39787. "type": "string"
  39788. },
  39789. "postalcode": {
  39790. "description": "邮政编码",
  39791. "type": "string"
  39792. },
  39793. "provinceid": {
  39794. "description": "省",
  39795. "type": "integer"
  39796. },
  39797. "proxystatementurl": {
  39798. "description": "授权委托书",
  39799. "type": "string"
  39800. },
  39801. "qq": {
  39802. "description": "QQ(加密存储",
  39803. "type": "string"
  39804. },
  39805. "remark": {
  39806. "description": "备注",
  39807. "type": "string"
  39808. },
  39809. "sex": {
  39810. "description": "用户性别 0: 女 1: 男",
  39811. "type": "integer"
  39812. },
  39813. "signpdfurl": {
  39814. "description": "签约pdf文件",
  39815. "type": "string"
  39816. },
  39817. "taxpayernum": {
  39818. "description": "纳税人识别号",
  39819. "type": "string"
  39820. },
  39821. "telphone": {
  39822. "description": "联系电话(加密存储)",
  39823. "type": "string"
  39824. },
  39825. "userid": {
  39826. "description": "用户ID",
  39827. "type": "integer"
  39828. },
  39829. "userinfotype": {
  39830. "description": "用户信息类型 - 1:个人 2:企业",
  39831. "type": "integer"
  39832. },
  39833. "userstatus": {
  39834. "description": "用户状态 - 1:正常 2:注销",
  39835. "type": "integer"
  39836. },
  39837. "usertype": {
  39838. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  39839. "type": "integer"
  39840. },
  39841. "wechat": {
  39842. "description": "微信(加密存储)",
  39843. "type": "string"
  39844. },
  39845. "wskhinfo": {
  39846. "description": "开户申请信息(JSON)",
  39847. "type": "string"
  39848. }
  39849. }
  39850. },
  39851. "models.WrFAProductDetail": {
  39852. "type": "object",
  39853. "properties": {
  39854. "accountid": {
  39855. "description": "资金账号",
  39856. "type": "integer"
  39857. },
  39858. "areauserid": {
  39859. "description": "金融机构ID",
  39860. "type": "integer"
  39861. },
  39862. "financingdays": {
  39863. "description": "天数(天)",
  39864. "type": "integer"
  39865. },
  39866. "interestminlen": {
  39867. "description": "最小起息天数",
  39868. "type": "integer"
  39869. },
  39870. "interestrate": {
  39871. "description": "利率",
  39872. "type": "number"
  39873. },
  39874. "interestratemode": {
  39875. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39876. "type": "integer"
  39877. },
  39878. "interestsettlemode": {
  39879. "description": "结息方式 - 1:按日结息 3:按月结息",
  39880. "type": "integer"
  39881. },
  39882. "interestsettlevalue": {
  39883. "description": "结息方式值",
  39884. "type": "integer"
  39885. },
  39886. "isautoloan": {
  39887. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  39888. "type": "integer"
  39889. },
  39890. "loantag": {
  39891. "description": "放款标识: \"放款快\" 或者为空",
  39892. "type": "string"
  39893. },
  39894. "marginratio": {
  39895. "description": "保证金比率质押率 - [仓单质押]",
  39896. "type": "number"
  39897. },
  39898. "productdetailid": {
  39899. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  39900. "type": "integer"
  39901. },
  39902. "productid": {
  39903. "description": "金融产品ID",
  39904. "type": "integer"
  39905. },
  39906. "productname": {
  39907. "description": "产品名称",
  39908. "type": "string"
  39909. },
  39910. "updatetime": {
  39911. "description": "更新时间",
  39912. "type": "string"
  39913. },
  39914. "username": {
  39915. "description": "融出方",
  39916. "type": "string"
  39917. }
  39918. }
  39919. },
  39920. "models.WrFactorTypeInfo": {
  39921. "type": "object",
  39922. "properties": {
  39923. "deliverygoodscode": {
  39924. "description": "品种代码",
  39925. "type": "string"
  39926. },
  39927. "deliverygoodsname": {
  39928. "description": "品种名称",
  39929. "type": "string"
  39930. },
  39931. "dgfactoryitemid": {
  39932. "description": "选择项id",
  39933. "type": "integer"
  39934. },
  39935. "dgfactoryitemtypeid": {
  39936. "description": "要素选择项ID (1-仓库 2-品牌)",
  39937. "type": "integer"
  39938. },
  39939. "dgfactoryitemvalue": {
  39940. "description": "要素项值",
  39941. "type": "string"
  39942. },
  39943. "itemtypename": {
  39944. "description": "要素项名称",
  39945. "type": "string"
  39946. },
  39947. "optioncompare": {
  39948. "description": "选择比较串",
  39949. "type": "string"
  39950. },
  39951. "warehouseid": {
  39952. "description": "仓库id",
  39953. "type": "integer"
  39954. },
  39955. "wrfactortypeid": {
  39956. "description": "仓单要素ID",
  39957. "type": "string"
  39958. },
  39959. "wrfactortypename": {
  39960. "description": "要素名称",
  39961. "type": "string"
  39962. },
  39963. "wrfactortypename2": {
  39964. "description": "要素名称(不含仓库)",
  39965. "type": "string"
  39966. },
  39967. "wrstandardcode": {
  39968. "description": "品类代码",
  39969. "type": "string"
  39970. },
  39971. "wrstandardid": {
  39972. "description": "品类id",
  39973. "type": "integer"
  39974. },
  39975. "wrstandardname": {
  39976. "description": "品类名称",
  39977. "type": "string"
  39978. }
  39979. }
  39980. },
  39981. "models.WrFilterItem": {
  39982. "type": "object",
  39983. "properties": {
  39984. "itemcode": {
  39985. "description": "代码",
  39986. "type": "string"
  39987. },
  39988. "itemid": {
  39989. "description": "项id",
  39990. "type": "integer"
  39991. },
  39992. "itemname": {
  39993. "description": "名称",
  39994. "type": "string"
  39995. },
  39996. "itemtype": {
  39997. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  39998. "type": "integer"
  39999. }
  40000. }
  40001. },
  40002. "models.WrFinanceBuyApply": {
  40003. "type": "object",
  40004. "properties": {
  40005. "applydate": {
  40006. "description": "申请时间",
  40007. "type": "string"
  40008. },
  40009. "applystatus": {
  40010. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40011. "type": "integer"
  40012. },
  40013. "applyuserid": {
  40014. "description": "申请人",
  40015. "type": "integer"
  40016. },
  40017. "auditdate": {
  40018. "description": "审核时间",
  40019. "type": "string"
  40020. },
  40021. "auditremark": {
  40022. "description": "审核备注",
  40023. "type": "string"
  40024. },
  40025. "audituserid": {
  40026. "description": "审核人",
  40027. "type": "integer"
  40028. },
  40029. "buyaccountid": {
  40030. "description": "买方资金账号",
  40031. "type": "integer"
  40032. },
  40033. "buyorsell": {
  40034. "description": "买卖 - 0:买 1:卖",
  40035. "type": "integer"
  40036. },
  40037. "buyuserid": {
  40038. "description": "买方用户ID",
  40039. "type": "integer"
  40040. },
  40041. "buyusername": {
  40042. "description": "买方名称",
  40043. "type": "string"
  40044. },
  40045. "buywrtradeorderid": {
  40046. "description": "融资方买委托单ID",
  40047. "type": "string"
  40048. },
  40049. "deliverygoodscode": {
  40050. "description": "品种代码",
  40051. "type": "string"
  40052. },
  40053. "deliverygoodsid": {
  40054. "description": "品种ID",
  40055. "type": "integer"
  40056. },
  40057. "deliverygoodsname": {
  40058. "description": "品种名称",
  40059. "type": "string"
  40060. },
  40061. "deliverymonth": {
  40062. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40063. "type": "string"
  40064. },
  40065. "enumdicname": {
  40066. "description": "单位名称",
  40067. "type": "string"
  40068. },
  40069. "financeaccountid": {
  40070. "description": "融资方资金帐户ID",
  40071. "type": "integer"
  40072. },
  40073. "financeapplyid": {
  40074. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40075. "type": "string"
  40076. },
  40077. "financeareauserid": {
  40078. "description": "融资方用户ID",
  40079. "type": "string"
  40080. },
  40081. "financename": {
  40082. "description": "融出方名称",
  40083. "type": "string"
  40084. },
  40085. "financetype": {
  40086. "description": "融资类型 1-融资回购",
  40087. "type": "integer"
  40088. },
  40089. "financingdays": {
  40090. "description": "天数(天)",
  40091. "type": "integer"
  40092. },
  40093. "freezebuymargin": {
  40094. "description": "冻结融资保证金(买方)",
  40095. "type": "number"
  40096. },
  40097. "handleremark": {
  40098. "description": "处理备注",
  40099. "type": "string"
  40100. },
  40101. "handlestatus": {
  40102. "description": "处理状态",
  40103. "type": "integer"
  40104. },
  40105. "interestminlen": {
  40106. "description": "最小起息天数",
  40107. "type": "integer"
  40108. },
  40109. "interestrate": {
  40110. "description": "利率",
  40111. "type": "number"
  40112. },
  40113. "interestratemode": {
  40114. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40115. "type": "integer"
  40116. },
  40117. "interestsettlemode": {
  40118. "description": "结息方式 - 1:按日结息 3:按月结息",
  40119. "type": "integer"
  40120. },
  40121. "interestsettlevalue": {
  40122. "description": "结息方式值",
  40123. "type": "integer"
  40124. },
  40125. "isautoloan": {
  40126. "description": "是否自动放款 - 0:手动 1:自动",
  40127. "type": "integer"
  40128. },
  40129. "marginratio": {
  40130. "description": "保证金比率质押率 - [仓单质押]",
  40131. "type": "number"
  40132. },
  40133. "marketid": {
  40134. "description": "市场ID",
  40135. "type": "integer"
  40136. },
  40137. "minivalue": {
  40138. "description": "现货商品最小变动值",
  40139. "type": "integer"
  40140. },
  40141. "optioncompare": {
  40142. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40143. "type": "string"
  40144. },
  40145. "orderqty": {
  40146. "description": "委托数量(商品数量)",
  40147. "type": "number"
  40148. },
  40149. "productdetailid": {
  40150. "description": "产品组合ID",
  40151. "type": "integer"
  40152. },
  40153. "productid": {
  40154. "description": "金融产品ID",
  40155. "type": "integer"
  40156. },
  40157. "productname": {
  40158. "description": "产品名称",
  40159. "type": "string"
  40160. },
  40161. "remark": {
  40162. "description": "备注",
  40163. "type": "string"
  40164. },
  40165. "scfcontractid": {
  40166. "description": "仓单回购合同ID",
  40167. "type": "string"
  40168. },
  40169. "sellaccountid": {
  40170. "description": "卖方资金账号",
  40171. "type": "integer"
  40172. },
  40173. "selluserid": {
  40174. "description": "卖方用户ID",
  40175. "type": "integer"
  40176. },
  40177. "sellwrtradeorderid": {
  40178. "description": "卖方委托单ID",
  40179. "type": "string"
  40180. },
  40181. "tradeamount": {
  40182. "description": "成交金额(借款金额)",
  40183. "type": "number"
  40184. },
  40185. "tradedate": {
  40186. "description": "交易日(yyyyMMdd)",
  40187. "type": "string"
  40188. },
  40189. "tradeprice": {
  40190. "description": "成交价格",
  40191. "type": "number"
  40192. },
  40193. "warehouseid": {
  40194. "description": "仓库ID",
  40195. "type": "integer"
  40196. },
  40197. "warehousename": {
  40198. "description": "仓库名称",
  40199. "type": "string"
  40200. },
  40201. "wrfactortypeid": {
  40202. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40203. "type": "string"
  40204. },
  40205. "wrfactortypename": {
  40206. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40207. "type": "string"
  40208. },
  40209. "wrpricetype": {
  40210. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40211. "type": "integer"
  40212. },
  40213. "wrstandardcode": {
  40214. "description": "现货商品代码",
  40215. "type": "string"
  40216. },
  40217. "wrstandardid": {
  40218. "description": "现货商品ID",
  40219. "type": "integer"
  40220. },
  40221. "wrstandardname": {
  40222. "description": "商品名称",
  40223. "type": "string"
  40224. },
  40225. "wrtypename": {
  40226. "description": "商品",
  40227. "type": "string"
  40228. }
  40229. }
  40230. },
  40231. "models.WrFriendApply": {
  40232. "type": "object",
  40233. "properties": {
  40234. "applicantid": {
  40235. "description": "申请人",
  40236. "type": "integer"
  40237. },
  40238. "applyname": {
  40239. "description": "申请人名称",
  40240. "type": "string"
  40241. },
  40242. "applysrc": {
  40243. "description": "申请来源 - 1:管理端 2:终端",
  40244. "type": "integer"
  40245. },
  40246. "applystatus": {
  40247. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40248. "type": "integer"
  40249. },
  40250. "applytime": {
  40251. "description": "申请时间",
  40252. "type": "string"
  40253. },
  40254. "auditname": {
  40255. "description": "审核人名称",
  40256. "type": "string"
  40257. },
  40258. "auditorid": {
  40259. "description": "审核人",
  40260. "type": "integer"
  40261. },
  40262. "auditremark": {
  40263. "description": "审核备注",
  40264. "type": "string"
  40265. },
  40266. "auditsrc": {
  40267. "description": "审核来源 - 1:管理端 2:终端",
  40268. "type": "integer"
  40269. },
  40270. "audittime": {
  40271. "description": "审核时间",
  40272. "type": "string"
  40273. },
  40274. "friendapplyid": {
  40275. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40276. "type": "string"
  40277. },
  40278. "friendname": {
  40279. "description": "好友名字(已脱敏)",
  40280. "type": "string"
  40281. },
  40282. "frienduserid": {
  40283. "description": "好友用户ID",
  40284. "type": "string"
  40285. },
  40286. "remark": {
  40287. "description": "备注",
  40288. "type": "string"
  40289. },
  40290. "userid": {
  40291. "description": "申请人用户ID",
  40292. "type": "integer"
  40293. }
  40294. }
  40295. },
  40296. "models.WrFtDeliveryGoods": {
  40297. "type": "object",
  40298. "properties": {
  40299. "deliverygoodscode": {
  40300. "description": "品种代码",
  40301. "type": "string"
  40302. },
  40303. "deliverygoodsid": {
  40304. "description": "品种ID",
  40305. "type": "integer"
  40306. },
  40307. "deliverygoodsname": {
  40308. "description": "品种名称",
  40309. "type": "string"
  40310. },
  40311. "wdlst": {
  40312. "description": "商品列表",
  40313. "type": "array",
  40314. "items": {
  40315. "$ref": "#/definitions/models.WrFtWrstandard"
  40316. }
  40317. }
  40318. }
  40319. },
  40320. "models.WrFtWrstandard": {
  40321. "type": "object",
  40322. "properties": {
  40323. "enumdicname": {
  40324. "description": "单位名称",
  40325. "type": "string"
  40326. },
  40327. "minivalue": {
  40328. "description": "最小变动值",
  40329. "type": "integer"
  40330. },
  40331. "wrstandardcode": {
  40332. "description": "现货商品代码",
  40333. "type": "string"
  40334. },
  40335. "wrstandardid": {
  40336. "description": "现货商品ID",
  40337. "type": "integer"
  40338. },
  40339. "wrstandardname": {
  40340. "description": "商品名称",
  40341. "type": "string"
  40342. }
  40343. }
  40344. },
  40345. "models.WrGoodsInfo": {
  40346. "type": "object",
  40347. "properties": {
  40348. "haswr": {
  40349. "description": "0:仓单预售 1:仓单贸易",
  40350. "type": "integer"
  40351. },
  40352. "lstitem": {
  40353. "description": "商品信息项",
  40354. "type": "array",
  40355. "items": {
  40356. "$ref": "#/definitions/models.WrTypeItem"
  40357. }
  40358. },
  40359. "lststep": {
  40360. "description": "履约规则",
  40361. "type": "array",
  40362. "items": {
  40363. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40364. }
  40365. },
  40366. "marketid": {
  40367. "description": "市场id",
  40368. "type": "integer"
  40369. }
  40370. }
  40371. },
  40372. "models.WrGoodsPerformanceStep": {
  40373. "type": "object",
  40374. "properties": {
  40375. "autoid": {
  40376. "description": "AutoID",
  40377. "type": "integer"
  40378. },
  40379. "isauto": {
  40380. "description": "是否自动 - 0:不自动 1:自动",
  40381. "type": "integer"
  40382. },
  40383. "remark": {
  40384. "description": "备注",
  40385. "type": "string"
  40386. },
  40387. "stepdate": {
  40388. "description": "天数信息(T+N)",
  40389. "type": "string"
  40390. },
  40391. "stepdays": {
  40392. "description": "距离上一步天数",
  40393. "type": "integer"
  40394. },
  40395. "stepindex": {
  40396. "description": "步骤序号",
  40397. "type": "integer"
  40398. },
  40399. "stepinfo": {
  40400. "description": "步骤信息(步骤名称+步骤值)",
  40401. "type": "string"
  40402. },
  40403. "steptypeid": {
  40404. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40405. "type": "integer"
  40406. },
  40407. "steptypename": {
  40408. "description": "步骤名称",
  40409. "type": "string"
  40410. },
  40411. "stepvalue": {
  40412. "description": "期初均价",
  40413. "type": "number"
  40414. },
  40415. "templateid": {
  40416. "description": "履约计划模板ID",
  40417. "type": "integer"
  40418. }
  40419. }
  40420. },
  40421. "models.WrHoldLB": {
  40422. "type": "object",
  40423. "properties": {
  40424. "accountid": {
  40425. "description": "持有人帐户ID",
  40426. "type": "integer"
  40427. },
  40428. "bannerpicurl": {
  40429. "description": "Banner图",
  40430. "type": "string"
  40431. },
  40432. "createtime": {
  40433. "description": "创建时间(过户时间)",
  40434. "type": "string"
  40435. },
  40436. "deliverygoodscode": {
  40437. "description": "品种代码",
  40438. "type": "string"
  40439. },
  40440. "deliverygoodsid": {
  40441. "description": "品种ID",
  40442. "type": "integer"
  40443. },
  40444. "deliverygoodsname": {
  40445. "description": "品种名称",
  40446. "type": "string"
  40447. },
  40448. "enableqty": {
  40449. "description": "可用数量",
  40450. "type": "number"
  40451. },
  40452. "enumdicname": {
  40453. "description": "单位名称",
  40454. "type": "string"
  40455. },
  40456. "freezerqty": {
  40457. "description": "冻结数量",
  40458. "type": "number"
  40459. },
  40460. "ladingbillid": {
  40461. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40462. "type": "string"
  40463. },
  40464. "minivalue": {
  40465. "description": "现货商品最小变动值",
  40466. "type": "integer"
  40467. },
  40468. "optioncompare": {
  40469. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40470. "type": "string"
  40471. },
  40472. "parentsubnum": {
  40473. "description": "拆分父子单号",
  40474. "type": "integer"
  40475. },
  40476. "pledgeqty": {
  40477. "description": "质押数量",
  40478. "type": "number"
  40479. },
  40480. "qty": {
  40481. "description": "数量",
  40482. "type": "number"
  40483. },
  40484. "subnum": {
  40485. "description": "提单子单号",
  40486. "type": "integer"
  40487. },
  40488. "thumurls": {
  40489. "description": "缩略图",
  40490. "type": "string"
  40491. },
  40492. "tradedate": {
  40493. "description": "交易日(yyyyMMdd)",
  40494. "type": "string"
  40495. },
  40496. "userid": {
  40497. "description": "持有人ID",
  40498. "type": "integer"
  40499. },
  40500. "warehouseid": {
  40501. "description": "仓库ID",
  40502. "type": "integer"
  40503. },
  40504. "warehousename": {
  40505. "description": "仓库名称",
  40506. "type": "string"
  40507. },
  40508. "wrfactortypeid": {
  40509. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40510. "type": "string"
  40511. },
  40512. "wrfactortypename": {
  40513. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40514. "type": "string"
  40515. },
  40516. "wrholdeno": {
  40517. "description": "仓单编号",
  40518. "type": "string"
  40519. },
  40520. "wrid": {
  40521. "description": "仓单变更ID",
  40522. "type": "string"
  40523. },
  40524. "wrstandardcode": {
  40525. "description": "现货商品代码",
  40526. "type": "string"
  40527. },
  40528. "wrstandardid": {
  40529. "description": "现货商品ID",
  40530. "type": "integer"
  40531. },
  40532. "wrstandardname": {
  40533. "description": "商品名称",
  40534. "type": "string"
  40535. },
  40536. "wrtypename": {
  40537. "description": "商品",
  40538. "type": "string"
  40539. }
  40540. }
  40541. },
  40542. "models.WrMarketTradeConfig": {
  40543. "type": "object",
  40544. "properties": {
  40545. "basisdownratio": {
  40546. "description": "浮动价基差下限比例(仓单贸易)",
  40547. "type": "number"
  40548. },
  40549. "basisupratio": {
  40550. "description": "浮动价基差上限比例(仓单贸易)",
  40551. "type": "number"
  40552. },
  40553. "buychargealgorithm": {
  40554. "description": "买方手续费收取方式 1:比率 2:固定",
  40555. "type": "integer"
  40556. },
  40557. "buychargealgorithm2": {
  40558. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40559. "type": "integer"
  40560. },
  40561. "buychargealgorithmvalue": {
  40562. "description": "买方手续费设置值(交易所部分)",
  40563. "type": "number"
  40564. },
  40565. "buychargealgorithmvalue2": {
  40566. "description": "买方手续费设置值(会员部分)",
  40567. "type": "number"
  40568. },
  40569. "buychargealgorithmvalue3": {
  40570. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  40571. "type": "number"
  40572. },
  40573. "buychargealgorithmvalue4": {
  40574. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  40575. "type": "number"
  40576. },
  40577. "buyfirstmarginalgorithm": {
  40578. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  40579. "type": "integer"
  40580. },
  40581. "buyfirstmarginvalue": {
  40582. "description": "买方出价保证金设置值 - [竞拍]",
  40583. "type": "number"
  40584. },
  40585. "buymarginalgorithm": {
  40586. "description": "买方保证金方式 - 1:比率 2:固定",
  40587. "type": "integer"
  40588. },
  40589. "buymarginvalue": {
  40590. "description": "买方保证金设置值",
  40591. "type": "number"
  40592. },
  40593. "buyreleaseratio": {
  40594. "description": "买方释放比率[2:分步履约]",
  40595. "type": "number"
  40596. },
  40597. "executemode": {
  40598. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  40599. "type": "integer"
  40600. },
  40601. "executeside": {
  40602. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  40603. "type": "integer"
  40604. },
  40605. "failedchargealgorithm": {
  40606. "description": "流拍手续费收取方式 1:比率 2:固定",
  40607. "type": "integer"
  40608. },
  40609. "failedchargevalue": {
  40610. "description": "流拍手续费设置值",
  40611. "type": "number"
  40612. },
  40613. "failedchargevalue2": {
  40614. "description": "流拍卖方手续费设置值",
  40615. "type": "number"
  40616. },
  40617. "holddays": {
  40618. "description": "合同期限[2:分步履约]",
  40619. "type": "integer"
  40620. },
  40621. "listingmode": {
  40622. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40623. "type": "integer"
  40624. },
  40625. "marketid": {
  40626. "description": "市场ID-仓单贸易、竞拍、预售",
  40627. "type": "integer"
  40628. },
  40629. "minqty": {
  40630. "description": "最小执行量[2:分步履约]",
  40631. "type": "number"
  40632. },
  40633. "modifierid": {
  40634. "description": "修改人",
  40635. "type": "integer"
  40636. },
  40637. "nowrquotaflag": {
  40638. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  40639. "type": "integer"
  40640. },
  40641. "performancetempid": {
  40642. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40643. "type": "integer"
  40644. },
  40645. "performancetempid2": {
  40646. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40647. "type": "integer"
  40648. },
  40649. "performancetempid2s": {
  40650. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40651. "type": "string"
  40652. },
  40653. "performancetempids": {
  40654. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40655. "type": "string"
  40656. },
  40657. "performanceway": {
  40658. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40659. "type": "integer"
  40660. },
  40661. "sellchargealgorithm": {
  40662. "description": "卖方手续费收取方式 1:比率 2:固定",
  40663. "type": "integer"
  40664. },
  40665. "sellchargealgorithm2": {
  40666. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40667. "type": "integer"
  40668. },
  40669. "sellchargealgorithmvalue": {
  40670. "description": "卖方手续费设置值(交易所部分)",
  40671. "type": "number"
  40672. },
  40673. "sellchargealgorithmvalue2": {
  40674. "description": "卖方手续费设置值(会员部分)",
  40675. "type": "number"
  40676. },
  40677. "sellchargealgorithmvalue3": {
  40678. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40679. "type": "number"
  40680. },
  40681. "sellchargealgorithmvalue4": {
  40682. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40683. "type": "number"
  40684. },
  40685. "sellmarginalgorithm": {
  40686. "description": "卖方保证金方式 - 1:比率 2:固定",
  40687. "type": "integer"
  40688. },
  40689. "sellmarginvalue": {
  40690. "description": "卖方保证金设置值",
  40691. "type": "number"
  40692. },
  40693. "sellmarginvalue2": {
  40694. "description": "卖方保证金设置值(无仓单)",
  40695. "type": "number"
  40696. },
  40697. "sellreleaseratio": {
  40698. "description": "卖方释放比率[2:分步履约]",
  40699. "type": "number"
  40700. },
  40701. "updatetime": {
  40702. "description": "更新时间",
  40703. "type": "string"
  40704. }
  40705. }
  40706. },
  40707. "models.WrOrderDetail": {
  40708. "type": "object",
  40709. "properties": {
  40710. "accountid": {
  40711. "description": "交易账号(资金账号)",
  40712. "type": "integer"
  40713. },
  40714. "allfriendsflag": {
  40715. "description": "是否全好友可见 - 0:否 1:是",
  40716. "type": "integer"
  40717. },
  40718. "amount": {
  40719. "description": "期初均价",
  40720. "type": "number"
  40721. },
  40722. "bannerpicurl": {
  40723. "description": "Banner图",
  40724. "type": "string"
  40725. },
  40726. "begindate": {
  40727. "description": "开始交易日(yyyymmdd)",
  40728. "type": "string"
  40729. },
  40730. "buyorsell": {
  40731. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  40732. "type": "integer"
  40733. },
  40734. "canbargain": {
  40735. "description": "是否可议价 - 0:不可 1:可",
  40736. "type": "integer"
  40737. },
  40738. "cancelqty": {
  40739. "description": "撤销数量",
  40740. "type": "number"
  40741. },
  40742. "canpart": {
  40743. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  40744. "type": "integer"
  40745. },
  40746. "delistminqty": {
  40747. "description": "起摘数量",
  40748. "type": "integer"
  40749. },
  40750. "deliverygoodscode": {
  40751. "description": "品种代码",
  40752. "type": "string"
  40753. },
  40754. "deliverygoodsid": {
  40755. "description": "品种ID",
  40756. "type": "integer"
  40757. },
  40758. "deliverygoodsname": {
  40759. "description": "品种名称",
  40760. "type": "string"
  40761. },
  40762. "deliverymonth": {
  40763. "description": "交收月",
  40764. "type": "string"
  40765. },
  40766. "enddate": {
  40767. "description": "结束交易日(yyyymmdd)",
  40768. "type": "string"
  40769. },
  40770. "enumdicname": {
  40771. "description": "单位名称",
  40772. "type": "string"
  40773. },
  40774. "fixedprice": {
  40775. "description": "固定价格 - [挂牌]",
  40776. "type": "number"
  40777. },
  40778. "freezecharge": {
  40779. "description": "期初均价",
  40780. "type": "number"
  40781. },
  40782. "freezemargin": {
  40783. "description": "期初均价",
  40784. "type": "number"
  40785. },
  40786. "futupricemove": {
  40787. "description": "期货升贴水",
  40788. "type": "number"
  40789. },
  40790. "futushow": {
  40791. "description": "期货合约/升贴水",
  40792. "type": "string"
  40793. },
  40794. "goodscode": {
  40795. "description": "期货合约",
  40796. "type": "string"
  40797. },
  40798. "goodsid": {
  40799. "description": "期货商品id",
  40800. "type": "integer"
  40801. },
  40802. "goodsname": {
  40803. "description": "商品名称",
  40804. "type": "string"
  40805. },
  40806. "haswr": {
  40807. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40808. "type": "integer"
  40809. },
  40810. "isspecified": {
  40811. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  40812. "type": "integer"
  40813. },
  40814. "ladingbillid": {
  40815. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40816. "type": "string"
  40817. },
  40818. "marginvalue": {
  40819. "description": "期初均价",
  40820. "type": "number"
  40821. },
  40822. "marketid": {
  40823. "description": "市场ID",
  40824. "type": "integer"
  40825. },
  40826. "matchusername": {
  40827. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  40828. "type": "string"
  40829. },
  40830. "minivalue": {
  40831. "description": "现货商品最小变动值",
  40832. "type": "integer"
  40833. },
  40834. "optioncompare": {
  40835. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40836. "type": "string"
  40837. },
  40838. "orderqty": {
  40839. "description": "委托数量",
  40840. "type": "number"
  40841. },
  40842. "ordertime": {
  40843. "description": "委托时间(挂牌时间)",
  40844. "type": "string"
  40845. },
  40846. "performancetemplateid": {
  40847. "description": "履约模板id",
  40848. "type": "integer"
  40849. },
  40850. "pricemove": {
  40851. "description": "升贴水(浮动价时填写) - [挂牌]",
  40852. "type": "number"
  40853. },
  40854. "taname": {
  40855. "description": "交易用户名称(资金账号名称)",
  40856. "type": "string"
  40857. },
  40858. "thumurls": {
  40859. "description": "缩略图",
  40860. "type": "string"
  40861. },
  40862. "tradedate": {
  40863. "description": "交易日(yyyyMMdd)",
  40864. "type": "string"
  40865. },
  40866. "tradeprice": {
  40867. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  40868. "type": "number"
  40869. },
  40870. "tradeqty": {
  40871. "description": "成交数量",
  40872. "type": "number"
  40873. },
  40874. "userid": {
  40875. "description": "用户ID",
  40876. "type": "integer"
  40877. },
  40878. "validtime": {
  40879. "description": "挂牌有效期",
  40880. "type": "string"
  40881. },
  40882. "validtype": {
  40883. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40884. "type": "integer"
  40885. },
  40886. "warehouseid": {
  40887. "description": "仓库ID",
  40888. "type": "integer"
  40889. },
  40890. "warehousename": {
  40891. "description": "仓库名称",
  40892. "type": "string"
  40893. },
  40894. "wrfactortypeid": {
  40895. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40896. "type": "string"
  40897. },
  40898. "wrfactortypename": {
  40899. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40900. "type": "string"
  40901. },
  40902. "wrpricetype": {
  40903. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40904. "type": "integer"
  40905. },
  40906. "wrstandardcode": {
  40907. "description": "现货商品代码",
  40908. "type": "string"
  40909. },
  40910. "wrstandardid": {
  40911. "description": "现货商品ID",
  40912. "type": "integer"
  40913. },
  40914. "wrstandardname": {
  40915. "description": "商品名称",
  40916. "type": "string"
  40917. },
  40918. "wrtradeorderid": {
  40919. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40920. "type": "string"
  40921. },
  40922. "wrtradeorderstatus": {
  40923. "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:撤单解冻贷款失败",
  40924. "type": "integer"
  40925. },
  40926. "wrtradetype": {
  40927. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40928. "type": "integer"
  40929. },
  40930. "wrtypename": {
  40931. "description": "商品",
  40932. "type": "string"
  40933. }
  40934. }
  40935. },
  40936. "models.WrOrderQuote": {
  40937. "type": "object",
  40938. "properties": {
  40939. "bannerpicurl": {
  40940. "description": "Banner图",
  40941. "type": "string"
  40942. },
  40943. "buyprice": {
  40944. "description": "买价",
  40945. "type": "number"
  40946. },
  40947. "buypricemove": {
  40948. "description": "买升贴水(基差)",
  40949. "type": "number"
  40950. },
  40951. "buyqty": {
  40952. "description": "买量",
  40953. "type": "number"
  40954. },
  40955. "deliverygoodscode": {
  40956. "description": "品种代码",
  40957. "type": "string"
  40958. },
  40959. "deliverygoodsid": {
  40960. "description": "品种id",
  40961. "type": "integer"
  40962. },
  40963. "deliverygoodsname": {
  40964. "description": "品种名称",
  40965. "type": "string"
  40966. },
  40967. "deliverymonth": {
  40968. "description": "交收月",
  40969. "type": "string"
  40970. },
  40971. "enumdicname": {
  40972. "description": "单位名称",
  40973. "type": "string"
  40974. },
  40975. "goodscode": {
  40976. "description": "商品合约(浮动价列表才有)",
  40977. "type": "string"
  40978. },
  40979. "goodsid": {
  40980. "description": "商品id(浮动价列表才有)",
  40981. "type": "integer"
  40982. },
  40983. "minivalue": {
  40984. "description": "现货商品最小变动值",
  40985. "type": "integer"
  40986. },
  40987. "pictureurls": {
  40988. "description": "详情图片(逗号分隔)",
  40989. "type": "string"
  40990. },
  40991. "sellprice": {
  40992. "description": "卖价",
  40993. "type": "number"
  40994. },
  40995. "sellpricemove": {
  40996. "description": "卖升贴水(基差)",
  40997. "type": "number"
  40998. },
  40999. "sellqty": {
  41000. "description": "卖量",
  41001. "type": "number"
  41002. },
  41003. "thumurls": {
  41004. "description": "缩略图片(1:1)(逗号分隔)",
  41005. "type": "string"
  41006. },
  41007. "warehousecode": {
  41008. "description": "仓库代码",
  41009. "type": "string"
  41010. },
  41011. "warehouseid": {
  41012. "description": "仓库id",
  41013. "type": "integer"
  41014. },
  41015. "warehousename": {
  41016. "description": "仓库名称",
  41017. "type": "string"
  41018. },
  41019. "wrfactortypeid": {
  41020. "description": "仓单要素id",
  41021. "type": "string"
  41022. },
  41023. "wrfactortypename": {
  41024. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41025. "type": "string"
  41026. },
  41027. "wrgoodsname": {
  41028. "description": "商品(商品名称+仓库要素名称 拼接)",
  41029. "type": "string"
  41030. },
  41031. "wrstandardcode": {
  41032. "description": "商品代码",
  41033. "type": "string"
  41034. },
  41035. "wrstandardid": {
  41036. "description": "商品id",
  41037. "type": "integer"
  41038. },
  41039. "wrstandardname": {
  41040. "description": "商品名称",
  41041. "type": "string"
  41042. }
  41043. }
  41044. },
  41045. "models.WrOrderQuoteDetail": {
  41046. "type": "object",
  41047. "properties": {
  41048. "buyorsell": {
  41049. "description": "买卖 - 0:买 1:卖",
  41050. "type": "integer"
  41051. },
  41052. "delistminqty": {
  41053. "description": "期初均价",
  41054. "type": "number"
  41055. },
  41056. "deliverymonth": {
  41057. "description": "交收月",
  41058. "type": "string"
  41059. },
  41060. "enumdicname": {
  41061. "description": "单位名称",
  41062. "type": "string"
  41063. },
  41064. "fixedprice": {
  41065. "description": "买(卖)价",
  41066. "type": "number"
  41067. },
  41068. "marketid": {
  41069. "description": "市场id",
  41070. "type": "integer"
  41071. },
  41072. "minivalue": {
  41073. "description": "现货商品最小变动值",
  41074. "type": "integer"
  41075. },
  41076. "orderqty": {
  41077. "description": "买(卖)量(=委托量-成交量)",
  41078. "type": "number"
  41079. },
  41080. "ordertime": {
  41081. "description": "委托时间",
  41082. "type": "string"
  41083. },
  41084. "pricemove": {
  41085. "description": "买(卖)升贴水- 基差",
  41086. "type": "number"
  41087. },
  41088. "userid": {
  41089. "description": "购买方(销售方)用户ID",
  41090. "type": "integer"
  41091. },
  41092. "username": {
  41093. "description": "购买方(销售方)",
  41094. "type": "string"
  41095. },
  41096. "wrtradeorderid": {
  41097. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41098. "type": "string"
  41099. }
  41100. }
  41101. },
  41102. "models.WrOutInApply": {
  41103. "type": "object",
  41104. "properties": {
  41105. "applyid": {
  41106. "description": "申请单id",
  41107. "type": "string"
  41108. },
  41109. "applystatus": {
  41110. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41111. "type": "integer"
  41112. },
  41113. "applytime": {
  41114. "description": "申请时间",
  41115. "type": "string"
  41116. },
  41117. "applytype": {
  41118. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41119. "type": "integer"
  41120. },
  41121. "bannerpicurl": {
  41122. "description": "Banner图",
  41123. "type": "string"
  41124. },
  41125. "begindate": {
  41126. "description": "开始交易日(yyyymmdd)",
  41127. "type": "string"
  41128. },
  41129. "deliverygoodscode": {
  41130. "description": "品种代码",
  41131. "type": "string"
  41132. },
  41133. "deliverygoodsid": {
  41134. "description": "品种ID",
  41135. "type": "integer"
  41136. },
  41137. "deliverygoodsname": {
  41138. "description": "品种名称",
  41139. "type": "string"
  41140. },
  41141. "enddate": {
  41142. "description": "结束交易日(yyyymmdd)",
  41143. "type": "string"
  41144. },
  41145. "enumdicname": {
  41146. "description": "单位名称",
  41147. "type": "string"
  41148. },
  41149. "expresscompany": {
  41150. "description": "物流公司",
  41151. "type": "string"
  41152. },
  41153. "expressnum": {
  41154. "description": "物流单号",
  41155. "type": "string"
  41156. },
  41157. "minivalue": {
  41158. "description": "现货商品最小变动值",
  41159. "type": "integer"
  41160. },
  41161. "optioncompare": {
  41162. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41163. "type": "string"
  41164. },
  41165. "qty": {
  41166. "description": "数量",
  41167. "type": "integer"
  41168. },
  41169. "userid": {
  41170. "description": "用户id",
  41171. "type": "integer"
  41172. },
  41173. "warehouseid": {
  41174. "description": "仓库ID",
  41175. "type": "integer"
  41176. },
  41177. "warehousename": {
  41178. "description": "仓库名称",
  41179. "type": "string"
  41180. },
  41181. "wrfactortypeid": {
  41182. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41183. "type": "string"
  41184. },
  41185. "wrfactortypename": {
  41186. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41187. "type": "string"
  41188. },
  41189. "wrstandardcode": {
  41190. "description": "现货商品代码",
  41191. "type": "string"
  41192. },
  41193. "wrstandardid": {
  41194. "description": "现货商品ID",
  41195. "type": "integer"
  41196. },
  41197. "wrstandardname": {
  41198. "description": "商品名称",
  41199. "type": "string"
  41200. },
  41201. "wrtypename": {
  41202. "description": "商品",
  41203. "type": "string"
  41204. }
  41205. }
  41206. },
  41207. "models.WrPerformancePlan": {
  41208. "type": "object",
  41209. "required": [
  41210. "userid"
  41211. ],
  41212. "properties": {
  41213. "activatemonth": {
  41214. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41215. "type": "string"
  41216. },
  41217. "amount": {
  41218. "description": "履约金额(总金额)",
  41219. "type": "number"
  41220. },
  41221. "begindate": {
  41222. "description": "开始交易日(yyyymmdd)",
  41223. "type": "string"
  41224. },
  41225. "buyaccountid": {
  41226. "description": "买方账号",
  41227. "type": "integer"
  41228. },
  41229. "buyerfreezeamount": {
  41230. "description": "履约冻结(买履约)",
  41231. "type": "number"
  41232. },
  41233. "buyerfreezeamountremain": {
  41234. "description": "履约冻结剩余(买履约)",
  41235. "type": "number"
  41236. },
  41237. "buyorsell": {
  41238. "description": "买卖方向 0-买 1-卖",
  41239. "type": "integer"
  41240. },
  41241. "buypaidamount": {
  41242. "description": "买方已冻/已扣金额 (已付金额)",
  41243. "type": "number"
  41244. },
  41245. "buyusername": {
  41246. "description": "买方名字",
  41247. "type": "string"
  41248. },
  41249. "contractid": {
  41250. "description": "合同ID",
  41251. "type": "integer"
  41252. },
  41253. "createtime": {
  41254. "description": "创建时间",
  41255. "type": "string"
  41256. },
  41257. "creatorid": {
  41258. "description": "创建人",
  41259. "type": "integer"
  41260. },
  41261. "curstepdeadline": {
  41262. "description": "当前步骤到期时间",
  41263. "type": "string"
  41264. },
  41265. "curstepid": {
  41266. "description": "当前步骤ID",
  41267. "type": "string"
  41268. },
  41269. "curstepname": {
  41270. "description": "当前步骤名称",
  41271. "type": "string"
  41272. },
  41273. "deliverygoodscode": {
  41274. "description": "品种代码",
  41275. "type": "string"
  41276. },
  41277. "deliverygoodsid": {
  41278. "description": "品种ID",
  41279. "type": "integer"
  41280. },
  41281. "deliverygoodsname": {
  41282. "description": "品种名称",
  41283. "type": "string"
  41284. },
  41285. "enddate": {
  41286. "description": "结束交易日(yyyymmdd)",
  41287. "type": "string"
  41288. },
  41289. "enumdicname": {
  41290. "description": "单位名称",
  41291. "type": "string"
  41292. },
  41293. "expressfee": {
  41294. "description": "运费",
  41295. "type": "number"
  41296. },
  41297. "expressfeeconfirmed": {
  41298. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41299. "type": "integer"
  41300. },
  41301. "hasovershort": {
  41302. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41303. "type": "integer"
  41304. },
  41305. "haswr": {
  41306. "description": "类型 0-仓单预售 1-仓单贸易",
  41307. "type": "integer"
  41308. },
  41309. "marketid": {
  41310. "description": "市场ID",
  41311. "type": "integer"
  41312. },
  41313. "middleaccountid": {
  41314. "description": "中间商资金账号ID",
  41315. "type": "integer"
  41316. },
  41317. "middleuserid": {
  41318. "description": "中间商用户ID",
  41319. "type": "integer"
  41320. },
  41321. "minivalue": {
  41322. "description": "现货商品最小变动值",
  41323. "type": "integer"
  41324. },
  41325. "optioncompare": {
  41326. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41327. "type": "string"
  41328. },
  41329. "overshortamount": {
  41330. "description": "溢短金额",
  41331. "type": "number"
  41332. },
  41333. "overshortqty": {
  41334. "description": "溢短数量",
  41335. "type": "number"
  41336. },
  41337. "paymenttype": {
  41338. "description": "付款方式 - 1:冻结 2:扣款",
  41339. "type": "integer"
  41340. },
  41341. "performanceplanid": {
  41342. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41343. "type": "string"
  41344. },
  41345. "performancestatus": {
  41346. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41347. "type": "integer"
  41348. },
  41349. "performancetype": {
  41350. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41351. "type": "integer"
  41352. },
  41353. "qty": {
  41354. "description": "履约数量",
  41355. "type": "number"
  41356. },
  41357. "relatedorderid": {
  41358. "description": "关联单号(履约类型的关联单号)",
  41359. "type": "string"
  41360. },
  41361. "remark": {
  41362. "description": "备注",
  41363. "type": "string"
  41364. },
  41365. "sellaccountid": {
  41366. "description": "卖方账号",
  41367. "type": "integer"
  41368. },
  41369. "sellerfreezeamount": {
  41370. "description": "履约冻结(卖履约)",
  41371. "type": "number"
  41372. },
  41373. "sellerfreezeamountremain": {
  41374. "description": "履约冻结剩余(卖履约)",
  41375. "type": "number"
  41376. },
  41377. "sellreceivedamount": {
  41378. "description": "卖方已收金额",
  41379. "type": "number"
  41380. },
  41381. "sellusername": {
  41382. "description": "卖方名字",
  41383. "type": "string"
  41384. },
  41385. "shipremark": {
  41386. "description": "发货备注[物流单号]",
  41387. "type": "string"
  41388. },
  41389. "starttime": {
  41390. "description": "开始时间",
  41391. "type": "string"
  41392. },
  41393. "steptypeid": {
  41394. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41395. "type": "integer"
  41396. },
  41397. "typename": {
  41398. "description": "履约类型 名称",
  41399. "type": "string"
  41400. },
  41401. "unpaidamount": {
  41402. "description": "期初均价",
  41403. "type": "number"
  41404. },
  41405. "userid": {
  41406. "description": "用户id",
  41407. "type": "integer"
  41408. },
  41409. "warehouseid": {
  41410. "description": "仓库ID",
  41411. "type": "integer"
  41412. },
  41413. "warehousename": {
  41414. "description": "仓库名称",
  41415. "type": "string"
  41416. },
  41417. "wrfactortypeid": {
  41418. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41419. "type": "string"
  41420. },
  41421. "wrfactortypename": {
  41422. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41423. "type": "string"
  41424. },
  41425. "wrstandardcode": {
  41426. "description": "现货商品代码",
  41427. "type": "string"
  41428. },
  41429. "wrstandardid": {
  41430. "description": "现货商品ID",
  41431. "type": "integer"
  41432. },
  41433. "wrstandardname": {
  41434. "description": "商品名称",
  41435. "type": "string"
  41436. },
  41437. "wrtransferuserid": {
  41438. "description": "仓单受让用户",
  41439. "type": "integer"
  41440. },
  41441. "wrtypename": {
  41442. "description": "商品",
  41443. "type": "string"
  41444. }
  41445. }
  41446. },
  41447. "models.WrPerformancePlanStep": {
  41448. "type": "object",
  41449. "properties": {
  41450. "delaydays": {
  41451. "description": "延期申请天数",
  41452. "type": "integer"
  41453. },
  41454. "deliverygoodscode": {
  41455. "description": "品种代码",
  41456. "type": "string"
  41457. },
  41458. "deliverygoodsid": {
  41459. "description": "品种ID",
  41460. "type": "integer"
  41461. },
  41462. "deliverygoodsname": {
  41463. "description": "品种名称",
  41464. "type": "string"
  41465. },
  41466. "endtime": {
  41467. "description": "结束日期",
  41468. "type": "string"
  41469. },
  41470. "enumdicname": {
  41471. "description": "单位名称",
  41472. "type": "string"
  41473. },
  41474. "executeside": {
  41475. "description": "步骤执行方 - 1:买方 2:卖方",
  41476. "type": "integer"
  41477. },
  41478. "handlestatus": {
  41479. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  41480. "type": "integer"
  41481. },
  41482. "isauto": {
  41483. "description": "是否自动 - 0:不自动 1:自动",
  41484. "type": "integer"
  41485. },
  41486. "islastreceivestep": {
  41487. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  41488. "type": "integer"
  41489. },
  41490. "minivalue": {
  41491. "description": "现货商品最小变动值",
  41492. "type": "integer"
  41493. },
  41494. "optioncompare": {
  41495. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41496. "type": "string"
  41497. },
  41498. "overdays": {
  41499. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  41500. "type": "integer"
  41501. },
  41502. "performancestepid": {
  41503. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  41504. "type": "string"
  41505. },
  41506. "planid": {
  41507. "description": "所属履约计划ID",
  41508. "type": "string"
  41509. },
  41510. "realamount": {
  41511. "description": "实际完成金额",
  41512. "type": "number"
  41513. },
  41514. "relatedorderid": {
  41515. "description": "关联单号",
  41516. "type": "string"
  41517. },
  41518. "remaindays": {
  41519. "description": "剩余天数",
  41520. "type": "integer"
  41521. },
  41522. "remark": {
  41523. "description": "错误备注",
  41524. "type": "string"
  41525. },
  41526. "starttime": {
  41527. "description": "开始日期",
  41528. "type": "string"
  41529. },
  41530. "stepamount": {
  41531. "description": "步骤金额",
  41532. "type": "number"
  41533. },
  41534. "stepdays": {
  41535. "description": "距离上一步天数(分钟)",
  41536. "type": "integer"
  41537. },
  41538. "stepindex": {
  41539. "description": "步骤序号",
  41540. "type": "integer"
  41541. },
  41542. "steplanchtype": {
  41543. "description": "步骤启动类型 - 1:系统自动 2:手动",
  41544. "type": "integer"
  41545. },
  41546. "stepremark": {
  41547. "description": "步骤备注",
  41548. "type": "string"
  41549. },
  41550. "stepstatus": {
  41551. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  41552. "type": "integer"
  41553. },
  41554. "steptypeid": {
  41555. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41556. "type": "integer"
  41557. },
  41558. "steptypename": {
  41559. "description": "步骤名称",
  41560. "type": "string"
  41561. },
  41562. "stepvalue": {
  41563. "description": "步骤值",
  41564. "type": "number"
  41565. },
  41566. "warehouseid": {
  41567. "description": "仓库ID",
  41568. "type": "integer"
  41569. },
  41570. "warehousename": {
  41571. "description": "仓库名称",
  41572. "type": "string"
  41573. },
  41574. "wrfactortypeid": {
  41575. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41576. "type": "string"
  41577. },
  41578. "wrfactortypename": {
  41579. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41580. "type": "string"
  41581. },
  41582. "wrstandardcode": {
  41583. "description": "现货商品代码",
  41584. "type": "string"
  41585. },
  41586. "wrstandardid": {
  41587. "description": "现货商品ID",
  41588. "type": "integer"
  41589. },
  41590. "wrstandardname": {
  41591. "description": "商品名称",
  41592. "type": "string"
  41593. },
  41594. "wrtypename": {
  41595. "description": "商品",
  41596. "type": "string"
  41597. }
  41598. }
  41599. },
  41600. "models.WrPerformanceStepType": {
  41601. "type": "object",
  41602. "properties": {
  41603. "canauto": {
  41604. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  41605. "type": "integer"
  41606. },
  41607. "steptypeid": {
  41608. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  41609. "type": "integer"
  41610. },
  41611. "steptypename": {
  41612. "description": "步骤类型名称",
  41613. "type": "string"
  41614. }
  41615. }
  41616. },
  41617. "models.WrPerformanceTemplateEx": {
  41618. "type": "object",
  41619. "properties": {
  41620. "autoid": {
  41621. "description": "AutoID 模板id",
  41622. "type": "integer"
  41623. },
  41624. "createtime": {
  41625. "description": "创建时间",
  41626. "type": "string"
  41627. },
  41628. "creatorid": {
  41629. "description": "创建人",
  41630. "type": "integer"
  41631. },
  41632. "lstStep": {
  41633. "description": "步骤信息列表",
  41634. "type": "array",
  41635. "items": {
  41636. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41637. }
  41638. },
  41639. "paymenttype": {
  41640. "description": "支付方式 - 1:冻结 2:扣款",
  41641. "type": "integer"
  41642. },
  41643. "takemode": {
  41644. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41645. "type": "integer"
  41646. },
  41647. "templatename": {
  41648. "description": "模板名称",
  41649. "type": "string"
  41650. },
  41651. "templatetype": {
  41652. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41653. "type": "integer"
  41654. },
  41655. "userid": {
  41656. "description": "所属用户",
  41657. "type": "integer"
  41658. }
  41659. }
  41660. },
  41661. "models.WrPosition": {
  41662. "type": "object",
  41663. "properties": {
  41664. "accountid": {
  41665. "description": "帐户ID",
  41666. "type": "integer"
  41667. },
  41668. "buyexcuteqty": {
  41669. "description": "采购履约中数量",
  41670. "type": "number"
  41671. },
  41672. "creditcurqty": {
  41673. "description": "授信当前数量(预售仓单:预售当前量)",
  41674. "type": "number"
  41675. },
  41676. "creditenableqty": {
  41677. "description": "授信可用数量(预售仓单: 可用数量)",
  41678. "type": "number"
  41679. },
  41680. "creditfreezeqty": {
  41681. "description": "授信冻结数量(预售仓单: 当前数量)",
  41682. "type": "number"
  41683. },
  41684. "credittotalqty": {
  41685. "description": "授信总数量(预售仓单:预售总量)",
  41686. "type": "number"
  41687. },
  41688. "credittradeqty": {
  41689. "description": "授信成交数量(预售仓单:成交总量)",
  41690. "type": "number"
  41691. },
  41692. "deliverygoodscode": {
  41693. "description": "品种代码",
  41694. "type": "string"
  41695. },
  41696. "deliverygoodsid": {
  41697. "description": "品种ID",
  41698. "type": "integer"
  41699. },
  41700. "deliverygoodsname": {
  41701. "description": "品种名称",
  41702. "type": "string"
  41703. },
  41704. "enalbeqty": {
  41705. "description": "可用数量",
  41706. "type": "number"
  41707. },
  41708. "enumdicname": {
  41709. "description": "单位名称",
  41710. "type": "string"
  41711. },
  41712. "freezeqty": {
  41713. "description": "总冻结数量",
  41714. "type": "number"
  41715. },
  41716. "haswr": {
  41717. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41718. "type": "integer"
  41719. },
  41720. "minivalue": {
  41721. "description": "现货商品最小变动值",
  41722. "type": "integer"
  41723. },
  41724. "modifytime": {
  41725. "description": "修改时间(过户时间)",
  41726. "type": "string"
  41727. },
  41728. "optioncompare": {
  41729. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41730. "type": "string"
  41731. },
  41732. "pledgeqty": {
  41733. "description": "质押数量",
  41734. "type": "number"
  41735. },
  41736. "querytype": {
  41737. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  41738. "type": "integer"
  41739. },
  41740. "sellexcuteqty": {
  41741. "description": "销售履约中数量",
  41742. "type": "number"
  41743. },
  41744. "totalqty": {
  41745. "description": "总数量(库存数量)",
  41746. "type": "number"
  41747. },
  41748. "warehouseid": {
  41749. "description": "仓库ID",
  41750. "type": "integer"
  41751. },
  41752. "warehousename": {
  41753. "description": "仓库名称",
  41754. "type": "string"
  41755. },
  41756. "wrfactortypeid": {
  41757. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41758. "type": "string"
  41759. },
  41760. "wrfactortypename": {
  41761. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41762. "type": "string"
  41763. },
  41764. "wrpositionid": {
  41765. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41766. "type": "string"
  41767. },
  41768. "wrpositionno": {
  41769. "description": "仓单编号",
  41770. "type": "string"
  41771. },
  41772. "wrstandardcode": {
  41773. "description": "现货商品代码",
  41774. "type": "string"
  41775. },
  41776. "wrstandardid": {
  41777. "description": "现货商品ID",
  41778. "type": "integer"
  41779. },
  41780. "wrstandardname": {
  41781. "description": "商品名称",
  41782. "type": "string"
  41783. },
  41784. "wrtypename": {
  41785. "description": "商品",
  41786. "type": "string"
  41787. },
  41788. "wruserid": {
  41789. "description": "持有人ID",
  41790. "type": "integer"
  41791. }
  41792. }
  41793. },
  41794. "models.WrPreSaleInfo": {
  41795. "type": "object",
  41796. "properties": {
  41797. "bannerpicurl": {
  41798. "description": "Banner图",
  41799. "type": "string"
  41800. },
  41801. "baseqty": {
  41802. "description": "中签基数",
  41803. "type": "number"
  41804. },
  41805. "createtime": {
  41806. "description": "创建时间",
  41807. "type": "string"
  41808. },
  41809. "deliverygoodsid": {
  41810. "description": "现货品种ID",
  41811. "type": "integer"
  41812. },
  41813. "enddate": {
  41814. "description": "预售结束日期",
  41815. "type": "string"
  41816. },
  41817. "enumdicname": {
  41818. "description": "单位名称",
  41819. "type": "string"
  41820. },
  41821. "lotteryflag": {
  41822. "description": "摇号标识 - 0:未摇号 1:已摇号",
  41823. "type": "integer"
  41824. },
  41825. "lotteryqty": {
  41826. "description": "摇号总量",
  41827. "type": "number"
  41828. },
  41829. "luckyqty": {
  41830. "description": "已中签量",
  41831. "type": "number"
  41832. },
  41833. "marketid": {
  41834. "description": "市场ID",
  41835. "type": "integer"
  41836. },
  41837. "maxbuyqty": {
  41838. "description": "单人最大申购量",
  41839. "type": "number"
  41840. },
  41841. "maxluckyqty": {
  41842. "description": "单人最大中签量",
  41843. "type": "number"
  41844. },
  41845. "pictureurls": {
  41846. "description": "详情图片(逗号分隔)",
  41847. "type": "string"
  41848. },
  41849. "placeqty": {
  41850. "description": "已配售量",
  41851. "type": "number"
  41852. },
  41853. "presaleapplyid": {
  41854. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41855. "type": "string",
  41856. "example": "0"
  41857. },
  41858. "presaleqty": {
  41859. "description": "预售总量",
  41860. "type": "number"
  41861. },
  41862. "presalestatus": {
  41863. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  41864. "type": "integer"
  41865. },
  41866. "sellaccountid": {
  41867. "description": "发行方资金账户ID",
  41868. "type": "integer"
  41869. },
  41870. "selluserid": {
  41871. "description": "发行方用户ID",
  41872. "type": "integer"
  41873. },
  41874. "sellwrtradeorderid": {
  41875. "description": "发行方卖委托单ID",
  41876. "type": "string"
  41877. },
  41878. "startdate": {
  41879. "description": "预售开始日期",
  41880. "type": "string"
  41881. },
  41882. "takestartdate": {
  41883. "description": "提货开始日期",
  41884. "type": "string"
  41885. },
  41886. "thumurls": {
  41887. "description": "缩略图片(1:1)(逗号分隔)",
  41888. "type": "string"
  41889. },
  41890. "tradedate": {
  41891. "description": "交易日",
  41892. "type": "string"
  41893. },
  41894. "unitid": {
  41895. "description": "单位ID",
  41896. "type": "integer"
  41897. },
  41898. "unitprice": {
  41899. "description": "商品单价",
  41900. "type": "number"
  41901. },
  41902. "username": {
  41903. "description": "发行方用户名称",
  41904. "type": "string"
  41905. },
  41906. "warehousecode": {
  41907. "description": "仓库代码(仓库简称)",
  41908. "type": "string"
  41909. },
  41910. "warehouseid": {
  41911. "description": "仓库ID",
  41912. "type": "integer"
  41913. },
  41914. "warehousename": {
  41915. "description": "仓库名称",
  41916. "type": "string"
  41917. },
  41918. "wrfactortypeid": {
  41919. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  41920. "type": "string",
  41921. "example": "0"
  41922. },
  41923. "wrstandardid": {
  41924. "description": "现货商品ID",
  41925. "type": "integer"
  41926. },
  41927. "wrstandardname": {
  41928. "description": "现货商品名称",
  41929. "type": "string"
  41930. }
  41931. }
  41932. },
  41933. "models.WrQuoteOrderMyq": {
  41934. "type": "object",
  41935. "properties": {
  41936. "buyorsell": {
  41937. "description": "买卖 - 0:买 1:卖",
  41938. "type": "integer"
  41939. },
  41940. "canbargain": {
  41941. "description": "是否可议价 - 0:不可 1:可",
  41942. "type": "integer"
  41943. },
  41944. "canpart": {
  41945. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41946. "type": "integer"
  41947. },
  41948. "delistminqty": {
  41949. "description": "期初均价",
  41950. "type": "number"
  41951. },
  41952. "deliverygoodscode": {
  41953. "description": "品种代码",
  41954. "type": "string"
  41955. },
  41956. "deliverygoodsid": {
  41957. "description": "品种ID",
  41958. "type": "integer"
  41959. },
  41960. "deliverygoodsname": {
  41961. "description": "品种名称",
  41962. "type": "string"
  41963. },
  41964. "deliverymonth": {
  41965. "description": "交收月",
  41966. "type": "string"
  41967. },
  41968. "enumdicname": {
  41969. "description": "单位名称",
  41970. "type": "string"
  41971. },
  41972. "fixedprice": {
  41973. "description": "买(卖)价",
  41974. "type": "number"
  41975. },
  41976. "goodscode": {
  41977. "description": "商品合约代码",
  41978. "type": "string"
  41979. },
  41980. "marginflag": {
  41981. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  41982. "type": "integer"
  41983. },
  41984. "marginvalue": {
  41985. "description": "保证金设置值",
  41986. "type": "number"
  41987. },
  41988. "minivalue": {
  41989. "description": "现货商品最小变动值",
  41990. "type": "integer"
  41991. },
  41992. "orderqty": {
  41993. "description": "买(卖)量(=委托量-成交量)",
  41994. "type": "number"
  41995. },
  41996. "ordertime": {
  41997. "description": "委托时间",
  41998. "type": "string"
  41999. },
  42000. "performancetemplateid": {
  42001. "description": "履约模板id",
  42002. "type": "integer"
  42003. },
  42004. "pricemove": {
  42005. "description": "买(卖)升贴水- 基差",
  42006. "type": "number"
  42007. },
  42008. "templatename": {
  42009. "description": "履约模板名称",
  42010. "type": "string"
  42011. },
  42012. "userid": {
  42013. "description": "购买方(销售方)用户ID",
  42014. "type": "integer"
  42015. },
  42016. "username": {
  42017. "description": "购买方(销售方)",
  42018. "type": "string"
  42019. },
  42020. "validtime": {
  42021. "description": "有效期限",
  42022. "type": "string"
  42023. },
  42024. "validtype": {
  42025. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42026. "type": "integer"
  42027. },
  42028. "warehousename": {
  42029. "description": "仓库名称",
  42030. "type": "string"
  42031. },
  42032. "wrfactortypeid": {
  42033. "description": "仓单要素id",
  42034. "type": "string"
  42035. },
  42036. "wrstandardcode": {
  42037. "description": "现货商品代码",
  42038. "type": "string"
  42039. },
  42040. "wrstandardid": {
  42041. "description": "现货商品ID",
  42042. "type": "integer"
  42043. },
  42044. "wrstandardname": {
  42045. "description": "商品名称",
  42046. "type": "string"
  42047. },
  42048. "wrtradeorderid": {
  42049. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42050. "type": "string"
  42051. },
  42052. "wrtypename": {
  42053. "description": "商品",
  42054. "type": "string"
  42055. }
  42056. }
  42057. },
  42058. "models.WrReckonSpotGoodsTradeSum": {
  42059. "type": "object",
  42060. "properties": {
  42061. "begindate": {
  42062. "description": "开始日期(结果含开始日期) yyyymmdd",
  42063. "type": "string"
  42064. },
  42065. "enddate": {
  42066. "description": "结束日期(结果含结束日期) yyyymmdd",
  42067. "type": "string"
  42068. },
  42069. "istoday": {
  42070. "description": "是否当日",
  42071. "type": "boolean"
  42072. },
  42073. "marketid": {
  42074. "description": "市场ID",
  42075. "type": "integer"
  42076. },
  42077. "price": {
  42078. "description": "价格 = 日成交金额 / 日成交数量",
  42079. "type": "string"
  42080. },
  42081. "reckondate": {
  42082. "description": "日期 格式 yyyymmdd",
  42083. "type": "string"
  42084. },
  42085. "tradeamount": {
  42086. "description": "期初均价",
  42087. "type": "number"
  42088. },
  42089. "tradeqty": {
  42090. "description": "期初均价",
  42091. "type": "number"
  42092. },
  42093. "wrstandardid": {
  42094. "description": "现货商品ID",
  42095. "type": "integer"
  42096. }
  42097. }
  42098. },
  42099. "models.WrScfContract": {
  42100. "type": "object",
  42101. "properties": {
  42102. "borroweruserid": {
  42103. "description": "借款用户ID",
  42104. "type": "integer"
  42105. },
  42106. "buybackwrpositionqty": {
  42107. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42108. "type": "number"
  42109. },
  42110. "closeinterest": {
  42111. "description": "已结利息 -\u003e 已结费用",
  42112. "type": "number"
  42113. },
  42114. "currisklevel": {
  42115. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42116. "type": "integer"
  42117. },
  42118. "deadline": {
  42119. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42120. "type": "string"
  42121. },
  42122. "deliverygoodscode": {
  42123. "description": "品种代码",
  42124. "type": "string"
  42125. },
  42126. "deliverygoodsid": {
  42127. "description": "品种ID",
  42128. "type": "integer"
  42129. },
  42130. "deliverygoodsname": {
  42131. "description": "品种名称",
  42132. "type": "string"
  42133. },
  42134. "enumdicname": {
  42135. "description": "单位名称",
  42136. "type": "string"
  42137. },
  42138. "financingdays": {
  42139. "description": "天数(天)",
  42140. "type": "integer"
  42141. },
  42142. "initmargin": {
  42143. "description": "保证金 - [仓单回购]",
  42144. "type": "number"
  42145. },
  42146. "interestamount": {
  42147. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42148. "type": "number"
  42149. },
  42150. "interestdebt": {
  42151. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42152. "type": "number"
  42153. },
  42154. "interestminlen": {
  42155. "description": "最小起息天数",
  42156. "type": "integer"
  42157. },
  42158. "interestrate": {
  42159. "description": "利率",
  42160. "type": "number"
  42161. },
  42162. "interestratemode": {
  42163. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42164. "type": "integer"
  42165. },
  42166. "interestsettlemode": {
  42167. "description": "结息方式 - 1:按日结息 3:按月结息",
  42168. "type": "integer"
  42169. },
  42170. "interestsettlevalue": {
  42171. "description": "结息方式值",
  42172. "type": "integer"
  42173. },
  42174. "isautoloan": {
  42175. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42176. "type": "integer"
  42177. },
  42178. "lastcloseinterestday": {
  42179. "description": "最近结息日(yyyyMMdd)",
  42180. "type": "string"
  42181. },
  42182. "lenderamount": {
  42183. "description": "贷款金额 -\u003e 借款金额",
  42184. "type": "number"
  42185. },
  42186. "lenderuserid": {
  42187. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42188. "type": "integer"
  42189. },
  42190. "lenderusername": {
  42191. "description": "融出方",
  42192. "type": "string"
  42193. },
  42194. "marginratio": {
  42195. "description": "保证金比率质押率 - [仓单质押]",
  42196. "type": "number"
  42197. },
  42198. "marketid": {
  42199. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42200. "type": "integer"
  42201. },
  42202. "minivalue": {
  42203. "description": "现货商品最小变动值",
  42204. "type": "integer"
  42205. },
  42206. "optioncompare": {
  42207. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42208. "type": "string"
  42209. },
  42210. "pricemove": {
  42211. "description": "估值升贴水值",
  42212. "type": "number"
  42213. },
  42214. "productdetailid": {
  42215. "description": "产品组合ID",
  42216. "type": "integer"
  42217. },
  42218. "productid": {
  42219. "description": "金融产品ID",
  42220. "type": "integer"
  42221. },
  42222. "productname": {
  42223. "description": "产品名称",
  42224. "type": "string"
  42225. },
  42226. "remainamount": {
  42227. "description": "合同剩余金额 -\u003e 剩余金额",
  42228. "type": "number"
  42229. },
  42230. "remainwrpositionqty": {
  42231. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42232. "type": "number"
  42233. },
  42234. "remark": {
  42235. "description": "备注",
  42236. "type": "string"
  42237. },
  42238. "scfcontractid": {
  42239. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42240. "type": "string"
  42241. },
  42242. "scfcontractstatus": {
  42243. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42244. "type": "integer"
  42245. },
  42246. "scfcontracttype": {
  42247. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42248. "type": "integer"
  42249. },
  42250. "startinterestday": {
  42251. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42252. "type": "string"
  42253. },
  42254. "totalinterest": {
  42255. "description": "已计利息 -\u003e 已计费用",
  42256. "type": "number"
  42257. },
  42258. "unpaidinterest": {
  42259. "description": "期初均价",
  42260. "type": "number"
  42261. },
  42262. "updatetime": {
  42263. "description": "更新时间",
  42264. "type": "string"
  42265. },
  42266. "warehouseid": {
  42267. "description": "仓库ID",
  42268. "type": "integer"
  42269. },
  42270. "warehousename": {
  42271. "description": "仓库名称",
  42272. "type": "string"
  42273. },
  42274. "wrfactortypeid": {
  42275. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42276. "type": "string"
  42277. },
  42278. "wrfactortypename": {
  42279. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42280. "type": "string"
  42281. },
  42282. "wrqty": {
  42283. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42284. "type": "number"
  42285. },
  42286. "wrstandardcode": {
  42287. "description": "现货商品代码",
  42288. "type": "string"
  42289. },
  42290. "wrstandardid": {
  42291. "description": "现货商品ID",
  42292. "type": "integer"
  42293. },
  42294. "wrstandardname": {
  42295. "description": "商品名称",
  42296. "type": "string"
  42297. },
  42298. "wrtypename": {
  42299. "description": "商品",
  42300. "type": "string"
  42301. }
  42302. }
  42303. },
  42304. "models.WrScfContractInterest": {
  42305. "type": "object",
  42306. "properties": {
  42307. "closeinterest": {
  42308. "description": "已结利息",
  42309. "type": "number"
  42310. },
  42311. "closeintereststatus": {
  42312. "description": "结息状态 - 1:未结 2:已结",
  42313. "type": "integer"
  42314. },
  42315. "closetime": {
  42316. "description": "结息时间",
  42317. "type": "string"
  42318. },
  42319. "closetradedate": {
  42320. "description": "结息交易日",
  42321. "type": "string"
  42322. },
  42323. "creatorid": {
  42324. "description": "操作人ID",
  42325. "type": "integer"
  42326. },
  42327. "dayrate": {
  42328. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42329. "type": "number"
  42330. },
  42331. "interest": {
  42332. "description": "利息",
  42333. "type": "number"
  42334. },
  42335. "interestamount": {
  42336. "description": "计息金额",
  42337. "type": "number"
  42338. },
  42339. "interestday": {
  42340. "description": "计息日(yyyyMMdd)",
  42341. "type": "string"
  42342. },
  42343. "scfcontractid": {
  42344. "description": "SCF合同ID",
  42345. "type": "string"
  42346. },
  42347. "scfcontractinterestid": {
  42348. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42349. "type": "integer"
  42350. },
  42351. "updatetime": {
  42352. "description": "更新时间",
  42353. "type": "string"
  42354. }
  42355. }
  42356. },
  42357. "models.WrSearchUser": {
  42358. "type": "object",
  42359. "required": [
  42360. "username"
  42361. ],
  42362. "properties": {
  42363. "userid": {
  42364. "description": "用户ID",
  42365. "type": "integer"
  42366. },
  42367. "username": {
  42368. "description": "用户名称(已脱敏)",
  42369. "type": "string"
  42370. },
  42371. "username2": {
  42372. "description": "用户名称(未脱敏)",
  42373. "type": "string"
  42374. },
  42375. "usertype": {
  42376. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42377. "type": "integer"
  42378. }
  42379. }
  42380. },
  42381. "models.WrSiteColumnDetail": {
  42382. "type": "object",
  42383. "properties": {
  42384. "brief": {
  42385. "description": "简介",
  42386. "type": "string"
  42387. },
  42388. "context": {
  42389. "description": "内容",
  42390. "type": "string"
  42391. },
  42392. "coverimage": {
  42393. "description": "封面图片",
  42394. "type": "string"
  42395. },
  42396. "creaedate": {
  42397. "description": "创建时间",
  42398. "type": "string"
  42399. },
  42400. "id": {
  42401. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42402. "type": "integer"
  42403. },
  42404. "istop": {
  42405. "description": "是否置顶 - 0:不置 1:置顶",
  42406. "type": "integer"
  42407. },
  42408. "publishdate": {
  42409. "description": "发布日期",
  42410. "type": "string"
  42411. },
  42412. "title": {
  42413. "description": "标题",
  42414. "type": "string"
  42415. },
  42416. "updatedate": {
  42417. "description": "修改时间",
  42418. "type": "string"
  42419. }
  42420. }
  42421. },
  42422. "models.WrSpecialMatchOrder": {
  42423. "type": "object",
  42424. "properties": {
  42425. "amount": {
  42426. "description": "金额 = 数量 * 价格",
  42427. "type": "number"
  42428. },
  42429. "buyorsell": {
  42430. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42431. "type": "integer"
  42432. },
  42433. "cancelqty": {
  42434. "description": "撤销数量",
  42435. "type": "number"
  42436. },
  42437. "deliverygoodscode": {
  42438. "description": "品种代码",
  42439. "type": "string"
  42440. },
  42441. "deliverygoodsid": {
  42442. "description": "品种ID",
  42443. "type": "integer"
  42444. },
  42445. "deliverygoodsname": {
  42446. "description": "品种名称",
  42447. "type": "string"
  42448. },
  42449. "enumdicname": {
  42450. "description": "单位名称",
  42451. "type": "string"
  42452. },
  42453. "fixedprice": {
  42454. "description": "固定价格(价格)",
  42455. "type": "number"
  42456. },
  42457. "haswr": {
  42458. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42459. "type": "integer"
  42460. },
  42461. "isspecified": {
  42462. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  42463. "type": "integer"
  42464. },
  42465. "marketid": {
  42466. "description": "市场ID",
  42467. "type": "integer"
  42468. },
  42469. "matchuserid": {
  42470. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  42471. "type": "integer"
  42472. },
  42473. "matchusername": {
  42474. "description": "指定方",
  42475. "type": "string"
  42476. },
  42477. "minivalue": {
  42478. "description": "现货商品最小变动值",
  42479. "type": "integer"
  42480. },
  42481. "optioncompare": {
  42482. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42483. "type": "string"
  42484. },
  42485. "orderqty": {
  42486. "description": "委托数量",
  42487. "type": "number"
  42488. },
  42489. "ordertime": {
  42490. "description": "委托时间",
  42491. "type": "string"
  42492. },
  42493. "pricemove": {
  42494. "description": "升贴水(浮动价时填写) - [挂牌]",
  42495. "type": "number"
  42496. },
  42497. "tradedate": {
  42498. "description": "交易日(yyyyMMdd)",
  42499. "type": "string"
  42500. },
  42501. "tradeprice": {
  42502. "description": "成交价格",
  42503. "type": "number"
  42504. },
  42505. "tradeqty": {
  42506. "description": "成交数量",
  42507. "type": "number"
  42508. },
  42509. "userid": {
  42510. "description": "用户ID",
  42511. "type": "integer"
  42512. },
  42513. "username": {
  42514. "description": "发起方",
  42515. "type": "string"
  42516. },
  42517. "warehouseid": {
  42518. "description": "仓库ID",
  42519. "type": "integer"
  42520. },
  42521. "warehousename": {
  42522. "description": "仓库名称",
  42523. "type": "string"
  42524. },
  42525. "wrfactortypeid": {
  42526. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42527. "type": "string"
  42528. },
  42529. "wrfactortypename": {
  42530. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42531. "type": "string"
  42532. },
  42533. "wrpricetype": {
  42534. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42535. "type": "integer"
  42536. },
  42537. "wrstandardcode": {
  42538. "description": "现货商品代码",
  42539. "type": "string"
  42540. },
  42541. "wrstandardid": {
  42542. "description": "现货商品ID",
  42543. "type": "integer"
  42544. },
  42545. "wrstandardname": {
  42546. "description": "商品名称",
  42547. "type": "string"
  42548. },
  42549. "wrtradeorderid": {
  42550. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42551. "type": "string"
  42552. },
  42553. "wrtradeorderstatus": {
  42554. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  42555. "type": "integer"
  42556. },
  42557. "wrtradetype": {
  42558. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42559. "type": "integer"
  42560. },
  42561. "wrtypename": {
  42562. "description": "商品",
  42563. "type": "string"
  42564. }
  42565. }
  42566. },
  42567. "models.WrSpotGroupTradeSum": {
  42568. "type": "object",
  42569. "properties": {
  42570. "deliverygoodscode": {
  42571. "description": "现货品种代码",
  42572. "type": "string"
  42573. },
  42574. "deliverygoodsid": {
  42575. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42576. "type": "integer"
  42577. },
  42578. "deliverygoodsname": {
  42579. "description": "现货品种名称",
  42580. "type": "string"
  42581. },
  42582. "lastavgprice": {
  42583. "description": "上上个交易日价格(前2天价格)",
  42584. "type": "string"
  42585. },
  42586. "lastreckondate": {
  42587. "description": "上上个交易日(前2天交易日)",
  42588. "type": "string"
  42589. },
  42590. "reckondate": {
  42591. "description": "上个交易日(前1天交易日)",
  42592. "type": "string"
  42593. },
  42594. "todayavgprice": {
  42595. "description": "上个交易日价格(前1天价格)",
  42596. "type": "string"
  42597. },
  42598. "updown": {
  42599. "description": "涨跌",
  42600. "type": "string"
  42601. },
  42602. "updownratio": {
  42603. "description": "涨幅(已格式化, 直接显示即可)",
  42604. "type": "string"
  42605. }
  42606. }
  42607. },
  42608. "models.WrSpotGroupTradeSumDetail": {
  42609. "type": "object",
  42610. "properties": {
  42611. "deliverygoodsid": {
  42612. "description": "现货商品id",
  42613. "type": "integer"
  42614. },
  42615. "price": {
  42616. "description": "价格",
  42617. "type": "number"
  42618. },
  42619. "reckondate": {
  42620. "description": "日期(yyymmdd, 如:20211031)",
  42621. "type": "string"
  42622. }
  42623. }
  42624. },
  42625. "models.WrSpotGroupTradeSumEx": {
  42626. "type": "object",
  42627. "properties": {
  42628. "lst": {
  42629. "description": "指数列表",
  42630. "type": "array",
  42631. "items": {
  42632. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  42633. }
  42634. },
  42635. "prereckondate": {
  42636. "description": "上上个交易日(yyymmdd)",
  42637. "type": "string"
  42638. },
  42639. "reckondate": {
  42640. "description": "上个交易日(yyyymmdd)",
  42641. "type": "string"
  42642. }
  42643. }
  42644. },
  42645. "models.WrStandardFactoryItem": {
  42646. "type": "object",
  42647. "properties": {
  42648. "dgfactoryitemid": {
  42649. "description": "选择项id",
  42650. "type": "integer"
  42651. },
  42652. "dgfactoryitemvalue": {
  42653. "description": "要素项值",
  42654. "type": "string"
  42655. },
  42656. "warehouseid": {
  42657. "description": "仓库id",
  42658. "type": "integer"
  42659. }
  42660. }
  42661. },
  42662. "models.WrStandardFactoryItemEx": {
  42663. "type": "object",
  42664. "properties": {
  42665. "dgfactoryitemtypeid": {
  42666. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42667. "type": "integer"
  42668. },
  42669. "itemlst": {
  42670. "description": "要素项列表",
  42671. "type": "array",
  42672. "items": {
  42673. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42674. }
  42675. },
  42676. "itemtypename": {
  42677. "description": "要素项类型名称",
  42678. "type": "string"
  42679. },
  42680. "wrstandardid": {
  42681. "description": "品类",
  42682. "type": "integer"
  42683. }
  42684. }
  42685. },
  42686. "models.WrTradeDetail": {
  42687. "type": "object",
  42688. "properties": {
  42689. "accountid": {
  42690. "description": "资金账号",
  42691. "type": "integer"
  42692. },
  42693. "bannerpicurl": {
  42694. "description": "Banner图",
  42695. "type": "string"
  42696. },
  42697. "begindate": {
  42698. "description": "开始交易日(yyyymmdd)",
  42699. "type": "string"
  42700. },
  42701. "buyorsell": {
  42702. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42703. "type": "integer"
  42704. },
  42705. "chargevalue": {
  42706. "description": "手续费",
  42707. "type": "number"
  42708. },
  42709. "deliverygoodscode": {
  42710. "description": "品种代码",
  42711. "type": "string"
  42712. },
  42713. "deliverygoodsid": {
  42714. "description": "品种ID",
  42715. "type": "integer"
  42716. },
  42717. "deliverygoodsname": {
  42718. "description": "品种名称",
  42719. "type": "string"
  42720. },
  42721. "deliverymonth": {
  42722. "description": "交收月",
  42723. "type": "string"
  42724. },
  42725. "enddate": {
  42726. "description": "结束交易日(yyyymmdd)",
  42727. "type": "string"
  42728. },
  42729. "enumdicname": {
  42730. "description": "单位名称",
  42731. "type": "string"
  42732. },
  42733. "haswr": {
  42734. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42735. "type": "integer"
  42736. },
  42737. "marketid": {
  42738. "description": "市场ID",
  42739. "type": "integer"
  42740. },
  42741. "matchaccountid": {
  42742. "description": "对手账号",
  42743. "type": "integer"
  42744. },
  42745. "matchusername": {
  42746. "description": "对手方",
  42747. "type": "string"
  42748. },
  42749. "minivalue": {
  42750. "description": "现货商品最小变动值",
  42751. "type": "integer"
  42752. },
  42753. "optioncompare": {
  42754. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42755. "type": "string"
  42756. },
  42757. "thumurls": {
  42758. "description": "缩略图",
  42759. "type": "string"
  42760. },
  42761. "tradedate": {
  42762. "description": "交易日(yyyyMMdd)",
  42763. "type": "string"
  42764. },
  42765. "tradeprice": {
  42766. "description": "成交价格",
  42767. "type": "number"
  42768. },
  42769. "tradeqty": {
  42770. "description": "成交数量",
  42771. "type": "number"
  42772. },
  42773. "tradetime": {
  42774. "description": "成交时间",
  42775. "type": "string"
  42776. },
  42777. "userid": {
  42778. "description": "用户ID",
  42779. "type": "integer"
  42780. },
  42781. "warehouseid": {
  42782. "description": "仓库ID",
  42783. "type": "integer"
  42784. },
  42785. "warehousename": {
  42786. "description": "仓库名称",
  42787. "type": "string"
  42788. },
  42789. "wrfactortypeid": {
  42790. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42791. "type": "string"
  42792. },
  42793. "wrfactortypename": {
  42794. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42795. "type": "string"
  42796. },
  42797. "wrstandardcode": {
  42798. "description": "现货商品代码",
  42799. "type": "string"
  42800. },
  42801. "wrstandardid": {
  42802. "description": "现货商品ID",
  42803. "type": "integer"
  42804. },
  42805. "wrstandardname": {
  42806. "description": "商品名称",
  42807. "type": "string"
  42808. },
  42809. "wrtradedetailid": {
  42810. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42811. "type": "string"
  42812. },
  42813. "wrtradetype": {
  42814. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42815. "type": "integer"
  42816. },
  42817. "wrtypename": {
  42818. "description": "商品",
  42819. "type": "string"
  42820. }
  42821. }
  42822. },
  42823. "models.WrTradeOrderDetail": {
  42824. "type": "object",
  42825. "properties": {
  42826. "buyorsell": {
  42827. "description": "买卖方向 0-买 1-卖",
  42828. "type": "integer"
  42829. },
  42830. "goodsid": {
  42831. "description": "商品id",
  42832. "type": "integer"
  42833. },
  42834. "orderid": {
  42835. "description": "委托单号",
  42836. "type": "string"
  42837. },
  42838. "orderprice": {
  42839. "description": "期初均价",
  42840. "type": "number"
  42841. },
  42842. "orderqty": {
  42843. "description": "委托数量",
  42844. "type": "integer"
  42845. },
  42846. "userid": {
  42847. "description": "用户id",
  42848. "type": "integer"
  42849. },
  42850. "username": {
  42851. "description": "用户名称(已脱敏)",
  42852. "type": "string"
  42853. }
  42854. }
  42855. },
  42856. "models.WrTypeItem": {
  42857. "type": "object",
  42858. "properties": {
  42859. "name": {
  42860. "description": "名称",
  42861. "type": "string"
  42862. },
  42863. "value": {
  42864. "description": "值",
  42865. "type": "string"
  42866. }
  42867. }
  42868. },
  42869. "models.WrUserFriend": {
  42870. "type": "object",
  42871. "properties": {
  42872. "friendname": {
  42873. "description": "朋友名称(已脱敏)",
  42874. "type": "string"
  42875. },
  42876. "frienduserid": {
  42877. "description": "朋友id",
  42878. "type": "integer"
  42879. },
  42880. "isfriend": {
  42881. "description": "是否好友 0-不是 1-是",
  42882. "type": "integer"
  42883. },
  42884. "userid": {
  42885. "description": "用户id",
  42886. "type": "integer"
  42887. }
  42888. }
  42889. },
  42890. "models.WrUserReceiptInfo": {
  42891. "type": "object",
  42892. "properties": {
  42893. "address": {
  42894. "description": "地址[发票类型:企业]",
  42895. "type": "string"
  42896. },
  42897. "autoid": {
  42898. "description": "AutoID",
  42899. "type": "integer"
  42900. },
  42901. "contactinfo": {
  42902. "description": "联系方式",
  42903. "type": "string"
  42904. },
  42905. "idnum": {
  42906. "description": "身份证号码[发票类型:个人]",
  42907. "type": "string"
  42908. },
  42909. "isdefault": {
  42910. "description": "是否默认地址 - 0:否 1:是",
  42911. "type": "integer"
  42912. },
  42913. "receiptaccount": {
  42914. "description": "发票帐号[发票类型:企业]",
  42915. "type": "string"
  42916. },
  42917. "receiptbank": {
  42918. "description": "发票开户行[发票类型:企业]",
  42919. "type": "string"
  42920. },
  42921. "receipttype": {
  42922. "description": "发票类型 - 1:个人 2:企业",
  42923. "type": "integer"
  42924. },
  42925. "taxpayerid": {
  42926. "description": "纳税人识别号",
  42927. "type": "string"
  42928. },
  42929. "userid": {
  42930. "description": "用户ID",
  42931. "type": "integer"
  42932. },
  42933. "username": {
  42934. "description": "户名(个人姓名或企业名称)",
  42935. "type": "string"
  42936. }
  42937. }
  42938. },
  42939. "models.Wrtradetradequote": {
  42940. "type": "object",
  42941. "properties": {
  42942. "begindate": {
  42943. "description": "开始日期(结果含开始日期) yyyymmdd",
  42944. "type": "string"
  42945. },
  42946. "buyaccountid": {
  42947. "description": "买方账号ID",
  42948. "type": "integer"
  42949. },
  42950. "buyuserid": {
  42951. "description": "买方用户ID",
  42952. "type": "integer"
  42953. },
  42954. "deliverygoodsid": {
  42955. "description": "现货品种ID",
  42956. "type": "integer"
  42957. },
  42958. "enddate": {
  42959. "description": "结束日期(结果含结束日期) yyyymmdd",
  42960. "type": "string"
  42961. },
  42962. "marketid": {
  42963. "description": "市场ID",
  42964. "type": "integer"
  42965. },
  42966. "sellaccountid": {
  42967. "description": "卖方账号ID",
  42968. "type": "integer"
  42969. },
  42970. "selluserid": {
  42971. "description": "卖方用户ID",
  42972. "type": "integer"
  42973. },
  42974. "tradeamount": {
  42975. "description": "成交金额",
  42976. "type": "number"
  42977. },
  42978. "tradedate": {
  42979. "description": "交易日(yyyyMMdd)",
  42980. "type": "string"
  42981. },
  42982. "tradeprice": {
  42983. "description": "成交价格",
  42984. "type": "number"
  42985. },
  42986. "tradeqty": {
  42987. "description": "成交数量",
  42988. "type": "integer"
  42989. },
  42990. "tradetime": {
  42991. "description": "成交时间",
  42992. "type": "string"
  42993. },
  42994. "wrfactortypeid": {
  42995. "description": "仓单要素类型ID",
  42996. "type": "integer"
  42997. },
  42998. "wrstandardid": {
  42999. "description": "现货商品ID",
  43000. "type": "integer"
  43001. },
  43002. "wrtradedetailid": {
  43003. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43004. "type": "string"
  43005. }
  43006. }
  43007. },
  43008. "models.XHBRAND": {
  43009. "type": "object",
  43010. "properties": {
  43011. "brandid": {
  43012. "description": "品牌id",
  43013. "type": "integer"
  43014. },
  43015. "brandname": {
  43016. "description": "品牌名称",
  43017. "type": "string"
  43018. },
  43019. "isvalid": {
  43020. "description": "是否有效 0-无效 1-有效",
  43021. "type": "integer"
  43022. }
  43023. }
  43024. },
  43025. "models.XHDeliveryGoods": {
  43026. "type": "object",
  43027. "properties": {
  43028. "areauserid": {
  43029. "description": "所属机构",
  43030. "type": "integer"
  43031. },
  43032. "bdlst": {
  43033. "description": "品牌列表",
  43034. "type": "array",
  43035. "items": {
  43036. "$ref": "#/definitions/models.XHBRAND"
  43037. }
  43038. },
  43039. "deliverygoodscode": {
  43040. "description": "现货品种代码",
  43041. "type": "string"
  43042. },
  43043. "deliverygoodsid": {
  43044. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43045. "type": "integer"
  43046. },
  43047. "deliverygoodsname": {
  43048. "description": "现货品种名称",
  43049. "type": "string"
  43050. },
  43051. "dgstatus": {
  43052. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43053. "type": "integer"
  43054. },
  43055. "filterSubEmpty": {
  43056. "description": "过滤下级为空的",
  43057. "type": "integer"
  43058. },
  43059. "isvalid": {
  43060. "description": "是否有效 - 0:无效 1:有效",
  43061. "type": "integer"
  43062. },
  43063. "remark": {
  43064. "description": "备注",
  43065. "type": "string"
  43066. },
  43067. "unitid": {
  43068. "description": "单位id(目前看,数据库中是空值)",
  43069. "type": "integer"
  43070. },
  43071. "wdlst": {
  43072. "description": "品类(现货商品)列表",
  43073. "type": "array",
  43074. "items": {
  43075. "$ref": "#/definitions/models.XHWrstandard"
  43076. }
  43077. }
  43078. }
  43079. },
  43080. "models.XHMiddleGoods": {
  43081. "type": "object",
  43082. "properties": {
  43083. "GPLST": {
  43084. "description": "期货品种列表",
  43085. "type": "array",
  43086. "items": {
  43087. "$ref": "#/definitions/models.TBGoodsGroup"
  43088. }
  43089. },
  43090. "convertratio": {
  43091. "description": "拆算系数",
  43092. "type": "number"
  43093. },
  43094. "costratio": {
  43095. "description": "成本权重",
  43096. "type": "number"
  43097. },
  43098. "deliverygoodsid": {
  43099. "description": "现货商品id",
  43100. "type": "integer"
  43101. },
  43102. "enumdicname": {
  43103. "description": "单位名称",
  43104. "type": "string"
  43105. },
  43106. "middlegoodscode": {
  43107. "description": "套保品种代码",
  43108. "type": "string"
  43109. },
  43110. "middlegoodsid": {
  43111. "description": "套保品种id",
  43112. "type": "integer"
  43113. },
  43114. "middlegoodsname": {
  43115. "description": "套保品种名称",
  43116. "type": "string"
  43117. },
  43118. "unitid": {
  43119. "description": "单位id",
  43120. "type": "integer"
  43121. }
  43122. }
  43123. },
  43124. "models.XHWrstandard": {
  43125. "type": "object",
  43126. "properties": {
  43127. "bannerpicurl": {
  43128. "description": "banner图",
  43129. "type": "string"
  43130. },
  43131. "deliverygoodsid": {
  43132. "description": "品种ID",
  43133. "type": "integer"
  43134. },
  43135. "enumdicname": {
  43136. "description": "单位名称",
  43137. "type": "string"
  43138. },
  43139. "mglst": {
  43140. "description": "套保品列表",
  43141. "type": "array",
  43142. "items": {
  43143. "$ref": "#/definitions/models.XHMiddleGoods"
  43144. }
  43145. },
  43146. "pictureurls": {
  43147. "description": "详情图片(逗号分隔)",
  43148. "type": "string"
  43149. },
  43150. "thumurls": {
  43151. "description": "缩略图片(1:1)(逗号分隔)",
  43152. "type": "string"
  43153. },
  43154. "unitid": {
  43155. "description": "单位id",
  43156. "type": "integer"
  43157. },
  43158. "vatrate": {
  43159. "description": "增值税率",
  43160. "type": "number"
  43161. },
  43162. "wrstandardcode": {
  43163. "description": "现货商品代码",
  43164. "type": "string"
  43165. },
  43166. "wrstandardid": {
  43167. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43168. "type": "integer"
  43169. },
  43170. "wrstandardname": {
  43171. "description": "现货商品名称",
  43172. "type": "string"
  43173. }
  43174. }
  43175. },
  43176. "models.XhcpSellBackApplyEx": {
  43177. "type": "object",
  43178. "required": [
  43179. "userid"
  43180. ],
  43181. "properties": {
  43182. "applyremark": {
  43183. "description": "申请备注",
  43184. "type": "string"
  43185. },
  43186. "expirytype": {
  43187. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43188. "type": "integer"
  43189. },
  43190. "goodsspec": {
  43191. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43192. "type": "integer"
  43193. },
  43194. "holeflag": {
  43195. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43196. "type": "integer"
  43197. },
  43198. "isunopened": {
  43199. "description": "是否原封 - 1:否 2:是",
  43200. "type": "integer"
  43201. },
  43202. "mpflag": {
  43203. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43204. "type": "integer"
  43205. },
  43206. "openflag": {
  43207. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43208. "type": "integer"
  43209. },
  43210. "phonenum": {
  43211. "description": "联系电话",
  43212. "type": "string"
  43213. },
  43214. "userid": {
  43215. "description": "所属用户ID",
  43216. "type": "integer"
  43217. },
  43218. "zpflag": {
  43219. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43220. "type": "integer"
  43221. }
  43222. }
  43223. },
  43224. "models.Xhcpsellbackapply": {
  43225. "type": "object",
  43226. "required": [
  43227. "userid"
  43228. ],
  43229. "properties": {
  43230. "applyid": {
  43231. "description": "申请人",
  43232. "type": "integer"
  43233. },
  43234. "applyremark": {
  43235. "description": "申请备注",
  43236. "type": "string"
  43237. },
  43238. "applysrc": {
  43239. "description": "申请来源 - 1:管理端 2:终端",
  43240. "type": "integer"
  43241. },
  43242. "applystatus": {
  43243. "description": "申请状态 - 1:待确认 2:已处理",
  43244. "type": "integer"
  43245. },
  43246. "applytime": {
  43247. "description": "申请时间",
  43248. "type": "string"
  43249. },
  43250. "auditremark": {
  43251. "description": "审核备注",
  43252. "type": "string"
  43253. },
  43254. "auditsrc": {
  43255. "description": "审核来源 - 1:管理端 2:终端",
  43256. "type": "integer"
  43257. },
  43258. "expirytype": {
  43259. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43260. "type": "integer"
  43261. },
  43262. "goodsspec": {
  43263. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43264. "type": "integer"
  43265. },
  43266. "holeflag": {
  43267. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43268. "type": "integer"
  43269. },
  43270. "isunopened": {
  43271. "description": "是否原封 - 1:否 2:是",
  43272. "type": "integer"
  43273. },
  43274. "mpflag": {
  43275. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43276. "type": "integer"
  43277. },
  43278. "openflag": {
  43279. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43280. "type": "integer"
  43281. },
  43282. "phonenum": {
  43283. "description": "联系电话",
  43284. "type": "string"
  43285. },
  43286. "sellbackapplyid": {
  43287. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43288. "type": "string"
  43289. },
  43290. "userid": {
  43291. "description": "所属用户ID",
  43292. "type": "integer"
  43293. },
  43294. "zpflag": {
  43295. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43296. "type": "integer"
  43297. }
  43298. }
  43299. },
  43300. "order.QueryHisTradeDetailRsp": {
  43301. "type": "object",
  43302. "required": [
  43303. "accountid",
  43304. "buyorsell",
  43305. "goodsid",
  43306. "histradedate",
  43307. "marketid",
  43308. "memberuserid",
  43309. "orderid",
  43310. "tradeamount",
  43311. "tradedate",
  43312. "tradeid",
  43313. "tradeprice",
  43314. "tradeqty",
  43315. "tradetime"
  43316. ],
  43317. "properties": {
  43318. "accountid": {
  43319. "description": "账户ID[报价币种]",
  43320. "type": "integer"
  43321. },
  43322. "advanceratio": {
  43323. "description": "首付比率",
  43324. "type": "number"
  43325. },
  43326. "buildtype": {
  43327. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43328. "type": "integer"
  43329. },
  43330. "buyorsell": {
  43331. "description": "方向 - 0:买 1:卖",
  43332. "type": "integer"
  43333. },
  43334. "charge": {
  43335. "description": "手续费",
  43336. "type": "number"
  43337. },
  43338. "closecharge": {
  43339. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43340. "type": "number"
  43341. },
  43342. "closeexchagechargevalue": {
  43343. "description": "平仓交易所手续费设置值",
  43344. "type": "number"
  43345. },
  43346. "closefeealgorithm": {
  43347. "description": "平仓手续费收取方式 1:比率 2:固定",
  43348. "type": "integer"
  43349. },
  43350. "closememberchargevalue": {
  43351. "description": "平仓会员手续费设置值",
  43352. "type": "number"
  43353. },
  43354. "closepl": {
  43355. "description": "平仓盈亏",
  43356. "type": "number"
  43357. },
  43358. "closepl2": {
  43359. "description": "平仓盈亏[逐笔]",
  43360. "type": "number"
  43361. },
  43362. "closeqty": {
  43363. "description": "平仓数量(先建后平操作 需要记录)",
  43364. "type": "number"
  43365. },
  43366. "creditamount": {
  43367. "description": "授信金额",
  43368. "type": "number"
  43369. },
  43370. "decimalplace": {
  43371. "description": "商品报价小数位",
  43372. "type": "integer"
  43373. },
  43374. "enumdicname": {
  43375. "description": "单位名称",
  43376. "type": "string"
  43377. },
  43378. "gcaccountid": {
  43379. "description": "账户ID[合约币种]",
  43380. "type": "integer"
  43381. },
  43382. "goodscode": {
  43383. "description": "商品代码",
  43384. "type": "string"
  43385. },
  43386. "goodsid": {
  43387. "description": "商品ID",
  43388. "type": "integer"
  43389. },
  43390. "goodsname": {
  43391. "description": "商品名称",
  43392. "type": "string"
  43393. },
  43394. "goodunitid": {
  43395. "description": "商品单位id",
  43396. "type": "integer"
  43397. },
  43398. "histradedate": {
  43399. "description": "历史交易日",
  43400. "type": "string"
  43401. },
  43402. "intclosepl": {
  43403. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43404. "type": "integer"
  43405. },
  43406. "isconfirmexercise": {
  43407. "description": "是否确认行权- 0:否 1:是",
  43408. "type": "integer"
  43409. },
  43410. "ismain": {
  43411. "description": "是否主单 - 0:不是 1:是",
  43412. "type": "integer"
  43413. },
  43414. "ispreexercise": {
  43415. "description": "是否预申报- 0:否 1:是",
  43416. "type": "integer"
  43417. },
  43418. "isreckoned": {
  43419. "description": "是否结算 - 0:未结算 1:已结算",
  43420. "type": "integer"
  43421. },
  43422. "isvaliddata": {
  43423. "description": "是否有效 - 0:无效 1:有效",
  43424. "type": "integer"
  43425. },
  43426. "listingselecttype": {
  43427. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43428. "type": "integer"
  43429. },
  43430. "marketid": {
  43431. "description": "市场ID",
  43432. "type": "integer"
  43433. },
  43434. "marketname": {
  43435. "description": "市场名称",
  43436. "type": "string"
  43437. },
  43438. "matchaccountid": {
  43439. "description": "对手账号id",
  43440. "type": "integer"
  43441. },
  43442. "memberuserid": {
  43443. "description": "会员id 个人投资者 需要填写",
  43444. "type": "integer"
  43445. },
  43446. "opencharge": {
  43447. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43448. "type": "number"
  43449. },
  43450. "openexchagechargevalue": {
  43451. "description": "建仓交易所手续费设置值",
  43452. "type": "number"
  43453. },
  43454. "openfeealgorithm": {
  43455. "description": "建仓手续费收取方式 1:比率 2:固定",
  43456. "type": "integer"
  43457. },
  43458. "openmemberchargevalue": {
  43459. "description": "建仓会员手续费设置值",
  43460. "type": "number"
  43461. },
  43462. "openqty": {
  43463. "description": "开仓数量(先建后平操作 需要记录)",
  43464. "type": "number"
  43465. },
  43466. "optiontype": {
  43467. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43468. "type": "integer"
  43469. },
  43470. "orderid": {
  43471. "description": "委托单号",
  43472. "type": "string"
  43473. },
  43474. "payamount": {
  43475. "description": "支付金额(付款金额)",
  43476. "type": "number"
  43477. },
  43478. "performanceplanid": {
  43479. "description": "履约计划ID[期权]",
  43480. "type": "integer"
  43481. },
  43482. "performancestatus": {
  43483. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43484. "type": "integer"
  43485. },
  43486. "preexerciseprice": {
  43487. "description": "预申报价格",
  43488. "type": "number"
  43489. },
  43490. "premium": {
  43491. "description": "权利金 - [持仓单的权利金]",
  43492. "type": "number"
  43493. },
  43494. "qtydecimalplace": {
  43495. "description": "商品报价小数位",
  43496. "type": "integer"
  43497. },
  43498. "recvamount": {
  43499. "description": "到账金额 = 成交金额 - 手续费",
  43500. "type": "number"
  43501. },
  43502. "relatedouttradeid": {
  43503. "description": "关联外部成交单ID",
  43504. "type": "integer"
  43505. },
  43506. "status": {
  43507. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43508. "type": "integer"
  43509. },
  43510. "totalamount": {
  43511. "description": "订单总额 = 成交金额 + 手续费",
  43512. "type": "number"
  43513. },
  43514. "tradeamount": {
  43515. "description": "成交金额[账户币种,用于所有权]",
  43516. "type": "number"
  43517. },
  43518. "tradedate": {
  43519. "description": "交易日(yyyyMMdd)",
  43520. "type": "string"
  43521. },
  43522. "tradeid": {
  43523. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43524. "type": "string"
  43525. },
  43526. "trademode": {
  43527. "description": "交易模式",
  43528. "type": "integer"
  43529. },
  43530. "tradeprice": {
  43531. "description": "成交价格",
  43532. "type": "number"
  43533. },
  43534. "tradeproperty": {
  43535. "description": "交易属性",
  43536. "type": "integer"
  43537. },
  43538. "tradeqty": {
  43539. "description": "成交数量",
  43540. "type": "number"
  43541. },
  43542. "tradetime": {
  43543. "description": "成交时间",
  43544. "type": "string"
  43545. },
  43546. "tradetype": {
  43547. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43548. "type": "integer"
  43549. }
  43550. }
  43551. },
  43552. "order.QueryHisTradeOrderDetailRsp": {
  43553. "type": "object",
  43554. "required": [
  43555. "accountid",
  43556. "buildtype",
  43557. "buyorsell",
  43558. "goodsid",
  43559. "histradedate",
  43560. "marketid",
  43561. "memberuserid",
  43562. "operatetype",
  43563. "orderid",
  43564. "orderqty",
  43565. "ordertime",
  43566. "pricemode",
  43567. "tradedate",
  43568. "validtype"
  43569. ],
  43570. "properties": {
  43571. "accountid": {
  43572. "description": "账户ID[报价币种]",
  43573. "type": "integer"
  43574. },
  43575. "buildtype": {
  43576. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43577. "type": "integer"
  43578. },
  43579. "buyorsell": {
  43580. "description": "买卖 - 0:买 1:卖",
  43581. "type": "integer"
  43582. },
  43583. "cancelorderid": {
  43584. "description": "撤单单号(撤单时填写)",
  43585. "type": "string"
  43586. },
  43587. "cancelqty": {
  43588. "description": "撤单数量",
  43589. "type": "number"
  43590. },
  43591. "clientordertime": {
  43592. "description": "客户端委托时间",
  43593. "type": "string"
  43594. },
  43595. "clientticket": {
  43596. "description": "客户端流水号",
  43597. "type": "string"
  43598. },
  43599. "clienttype": {
  43600. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43601. "type": "integer"
  43602. },
  43603. "closeexchagechargevalue": {
  43604. "description": "平仓交易所手续费设置值",
  43605. "type": "number"
  43606. },
  43607. "closefeealgorithm": {
  43608. "description": "平仓手续费收取方式 1:比率 2:固定",
  43609. "type": "integer"
  43610. },
  43611. "closefreezecharge": {
  43612. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43613. "type": "number"
  43614. },
  43615. "closememberchargevalue": {
  43616. "description": "平仓会员手续费设置值",
  43617. "type": "number"
  43618. },
  43619. "closeqty": {
  43620. "description": "平仓数量(先建后平操作 需要记录)",
  43621. "type": "number"
  43622. },
  43623. "closetradeqty": {
  43624. "description": "平仓成交数量(先建后平操作,需要记录)",
  43625. "type": "number"
  43626. },
  43627. "closeunfreezecharge": {
  43628. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43629. "type": "number"
  43630. },
  43631. "decimalplace": {
  43632. "description": "商品报价小数位",
  43633. "type": "integer"
  43634. },
  43635. "delistingtype": {
  43636. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43637. "type": "integer"
  43638. },
  43639. "enumdicname": {
  43640. "description": "单位名称",
  43641. "type": "string"
  43642. },
  43643. "freezecharge": {
  43644. "description": "冻结手续费",
  43645. "type": "number"
  43646. },
  43647. "freezemargin": {
  43648. "description": "冻结保证金(冻结交易金额)",
  43649. "type": "number"
  43650. },
  43651. "gcaccountid": {
  43652. "description": "账户ID[合约币种]",
  43653. "type": "integer"
  43654. },
  43655. "goodscode": {
  43656. "description": "商品代码",
  43657. "type": "string"
  43658. },
  43659. "goodsid": {
  43660. "description": "商品ID",
  43661. "type": "integer"
  43662. },
  43663. "goodsname": {
  43664. "description": "商品名称",
  43665. "type": "string"
  43666. },
  43667. "goodunitid": {
  43668. "description": "商品单位id",
  43669. "type": "integer"
  43670. },
  43671. "histradedate": {
  43672. "description": "历史交易日",
  43673. "type": "string"
  43674. },
  43675. "isconfirmexercise": {
  43676. "description": "是否确认行权- 0:否 1:是",
  43677. "type": "integer"
  43678. },
  43679. "ispreexercise": {
  43680. "description": "是否预申报- 0:否 1:是",
  43681. "type": "integer"
  43682. },
  43683. "isvaliddata": {
  43684. "description": "是否有效 - 0:无效 1:有效",
  43685. "type": "integer"
  43686. },
  43687. "listingselecttype": {
  43688. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43689. "type": "integer"
  43690. },
  43691. "marginalgorithm": {
  43692. "description": "保证金收取方式 1:比率 2:固定",
  43693. "type": "integer"
  43694. },
  43695. "marginvalue": {
  43696. "description": "即市保证金设置值",
  43697. "type": "number"
  43698. },
  43699. "marketid": {
  43700. "description": "市场ID",
  43701. "type": "integer"
  43702. },
  43703. "marketmaxsub": {
  43704. "description": "市价最大偏移范围",
  43705. "type": "number"
  43706. },
  43707. "marketname": {
  43708. "description": "市场名称",
  43709. "type": "string"
  43710. },
  43711. "memberuserid": {
  43712. "description": "所属会员UserID",
  43713. "type": "integer"
  43714. },
  43715. "openexchagechargevalue": {
  43716. "description": "建仓交易所手续费设置值",
  43717. "type": "number"
  43718. },
  43719. "openfeealgorithm": {
  43720. "description": "建仓手续费收取方式 1:比率 2:固定",
  43721. "type": "integer"
  43722. },
  43723. "openfreezecharge": {
  43724. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43725. "type": "number"
  43726. },
  43727. "openmemberchargevalue": {
  43728. "description": "建仓会员手续费设置值",
  43729. "type": "number"
  43730. },
  43731. "openqty": {
  43732. "description": "开仓数量(先建后平操作,需要记录)",
  43733. "type": "number"
  43734. },
  43735. "opentradeqty": {
  43736. "description": "开仓成交数量(先建后平操作,需要记录)",
  43737. "type": "number"
  43738. },
  43739. "openunfreezecharge": {
  43740. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43741. "type": "number"
  43742. },
  43743. "operatetype": {
  43744. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43745. "type": "integer"
  43746. },
  43747. "operatorid": {
  43748. "description": "登录账号(LoginID)",
  43749. "type": "integer"
  43750. },
  43751. "optiontype": {
  43752. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43753. "type": "integer"
  43754. },
  43755. "orderid": {
  43756. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43757. "type": "string"
  43758. },
  43759. "orderprice": {
  43760. "description": "委托价格",
  43761. "type": "number"
  43762. },
  43763. "orderqty": {
  43764. "description": "委托数量",
  43765. "type": "number"
  43766. },
  43767. "ordersrc": {
  43768. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43769. "type": "integer"
  43770. },
  43771. "orderstatus": {
  43772. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43773. "type": "integer"
  43774. },
  43775. "ordertime": {
  43776. "description": "委托时间",
  43777. "type": "string"
  43778. },
  43779. "preexerciseprice": {
  43780. "description": "预申报价格",
  43781. "type": "number"
  43782. },
  43783. "premium": {
  43784. "description": "权利金",
  43785. "type": "number"
  43786. },
  43787. "preorderid": {
  43788. "description": "关联预埋单号(止盈止损单时填写)",
  43789. "type": "string"
  43790. },
  43791. "pricemode": {
  43792. "description": "取价方式 - 1:市价 2: 限价",
  43793. "type": "integer"
  43794. },
  43795. "qtydecimalplace": {
  43796. "description": "成交量小数位",
  43797. "type": "integer"
  43798. },
  43799. "quoteid": {
  43800. "description": "报价单ID",
  43801. "type": "integer"
  43802. },
  43803. "relatedid": {
  43804. "description": "关联单号(交割单)",
  43805. "type": "string"
  43806. },
  43807. "retcode": {
  43808. "description": "错误代码",
  43809. "type": "integer"
  43810. },
  43811. "sessionid": {
  43812. "description": "会话ID",
  43813. "type": "integer"
  43814. },
  43815. "tradedate": {
  43816. "description": "交易日(yyyyMMdd)",
  43817. "type": "string"
  43818. },
  43819. "trademode": {
  43820. "description": "交易模式",
  43821. "type": "integer"
  43822. },
  43823. "tradeproperty": {
  43824. "description": "交易属性",
  43825. "type": "integer"
  43826. },
  43827. "tradeqty": {
  43828. "description": "成交数量",
  43829. "type": "number"
  43830. },
  43831. "unfreezecharge": {
  43832. "description": "解冻手续费",
  43833. "type": "number"
  43834. },
  43835. "unfreezemargin": {
  43836. "description": "解冻保证金",
  43837. "type": "number"
  43838. },
  43839. "updatetime": {
  43840. "description": "更新时间",
  43841. "type": "string"
  43842. },
  43843. "uuid": {
  43844. "description": "发起端唯一id",
  43845. "type": "string"
  43846. },
  43847. "validtime": {
  43848. "description": "有效期限",
  43849. "type": "string"
  43850. },
  43851. "validtype": {
  43852. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43853. "type": "integer"
  43854. },
  43855. "volumetype": {
  43856. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43857. "type": "integer"
  43858. }
  43859. }
  43860. },
  43861. "order.QueryTradeDetailRsp": {
  43862. "type": "object",
  43863. "required": [
  43864. "accountid",
  43865. "buyorsell",
  43866. "goodsid",
  43867. "marketid",
  43868. "memberuserid",
  43869. "orderid",
  43870. "tradeamount",
  43871. "tradedate",
  43872. "tradeid",
  43873. "tradeprice",
  43874. "tradeqty",
  43875. "tradetime"
  43876. ],
  43877. "properties": {
  43878. "accountid": {
  43879. "description": "账户ID[报价币种]",
  43880. "type": "integer"
  43881. },
  43882. "advanceratio": {
  43883. "description": "首付比率",
  43884. "type": "number"
  43885. },
  43886. "buildtype": {
  43887. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43888. "type": "integer"
  43889. },
  43890. "buyorsell": {
  43891. "description": "方向 - 0:买 1:卖",
  43892. "type": "integer"
  43893. },
  43894. "charge": {
  43895. "description": "手续费",
  43896. "type": "number"
  43897. },
  43898. "closecharge": {
  43899. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43900. "type": "number"
  43901. },
  43902. "closeexchagechargevalue": {
  43903. "description": "平仓交易所手续费设置值",
  43904. "type": "number"
  43905. },
  43906. "closefeealgorithm": {
  43907. "description": "平仓手续费收取方式 1:比率 2:固定",
  43908. "type": "integer"
  43909. },
  43910. "closememberchargevalue": {
  43911. "description": "平仓会员手续费设置值",
  43912. "type": "number"
  43913. },
  43914. "closepl": {
  43915. "description": "平仓盈亏",
  43916. "type": "number"
  43917. },
  43918. "closepl2": {
  43919. "description": "平仓盈亏[逐笔]",
  43920. "type": "number"
  43921. },
  43922. "closeqty": {
  43923. "description": "平仓数量(先建后平操作 需要记录)",
  43924. "type": "number"
  43925. },
  43926. "creditamount": {
  43927. "description": "授信金额",
  43928. "type": "number"
  43929. },
  43930. "decimalplace": {
  43931. "description": "商品报价小数位",
  43932. "type": "integer"
  43933. },
  43934. "enumdicname": {
  43935. "description": "单位名称",
  43936. "type": "string"
  43937. },
  43938. "gcaccountid": {
  43939. "description": "账户ID[合约币种]",
  43940. "type": "integer"
  43941. },
  43942. "goodscode": {
  43943. "description": "商品代码",
  43944. "type": "string"
  43945. },
  43946. "goodsid": {
  43947. "description": "商品ID",
  43948. "type": "integer"
  43949. },
  43950. "goodsname": {
  43951. "description": "商品名称",
  43952. "type": "string"
  43953. },
  43954. "goodunitid": {
  43955. "description": "商品单位id",
  43956. "type": "integer"
  43957. },
  43958. "intclosepl": {
  43959. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43960. "type": "integer"
  43961. },
  43962. "isconfirmexercise": {
  43963. "description": "是否确认行权- 0:否 1:是",
  43964. "type": "integer"
  43965. },
  43966. "ismain": {
  43967. "description": "是否主单 - 0:不是 1:是",
  43968. "type": "integer"
  43969. },
  43970. "ispreexercise": {
  43971. "description": "是否预申报- 0:否 1:是",
  43972. "type": "integer"
  43973. },
  43974. "isreckoned": {
  43975. "description": "是否结算 - 0:未结算 1:已结算",
  43976. "type": "integer"
  43977. },
  43978. "listingselecttype": {
  43979. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43980. "type": "integer"
  43981. },
  43982. "marketid": {
  43983. "description": "市场ID",
  43984. "type": "integer"
  43985. },
  43986. "marketname": {
  43987. "description": "市场名称",
  43988. "type": "string"
  43989. },
  43990. "matchaccountid": {
  43991. "description": "对手账号id",
  43992. "type": "integer"
  43993. },
  43994. "memberuserid": {
  43995. "description": "会员id 个人投资者 需要填写",
  43996. "type": "integer"
  43997. },
  43998. "opencharge": {
  43999. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44000. "type": "number"
  44001. },
  44002. "openexchagechargevalue": {
  44003. "description": "建仓交易所手续费设置值",
  44004. "type": "number"
  44005. },
  44006. "openfeealgorithm": {
  44007. "description": "建仓手续费收取方式 1:比率 2:固定",
  44008. "type": "integer"
  44009. },
  44010. "openmemberchargevalue": {
  44011. "description": "建仓会员手续费设置值",
  44012. "type": "number"
  44013. },
  44014. "openqty": {
  44015. "description": "开仓数量(先建后平操作 需要记录)",
  44016. "type": "number"
  44017. },
  44018. "optiontype": {
  44019. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44020. "type": "integer"
  44021. },
  44022. "orderid": {
  44023. "description": "委托单号",
  44024. "type": "string"
  44025. },
  44026. "payamount": {
  44027. "description": "支付金额(付款金额)",
  44028. "type": "number"
  44029. },
  44030. "performanceplanid": {
  44031. "description": "履约计划ID[期权]",
  44032. "type": "integer"
  44033. },
  44034. "performancestatus": {
  44035. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44036. "type": "integer"
  44037. },
  44038. "preexerciseprice": {
  44039. "description": "预申报价格",
  44040. "type": "number"
  44041. },
  44042. "premium": {
  44043. "description": "权利金 - [持仓单的权利金]",
  44044. "type": "number"
  44045. },
  44046. "qtydecimalplace": {
  44047. "description": "商品报价小数位",
  44048. "type": "integer"
  44049. },
  44050. "recvamount": {
  44051. "description": "到账金额 = 成交金额 - 手续费",
  44052. "type": "number"
  44053. },
  44054. "relatedouttradeid": {
  44055. "description": "关联外部成交单ID",
  44056. "type": "integer"
  44057. },
  44058. "status": {
  44059. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44060. "type": "integer"
  44061. },
  44062. "totalamount": {
  44063. "description": "订单总额 = 成交金额 + 手续费",
  44064. "type": "number"
  44065. },
  44066. "tradeamount": {
  44067. "description": "成交金额[账户币种,用于所有权]",
  44068. "type": "number"
  44069. },
  44070. "tradedate": {
  44071. "description": "交易日(yyyyMMdd)",
  44072. "type": "string"
  44073. },
  44074. "tradeid": {
  44075. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44076. "type": "string"
  44077. },
  44078. "trademode": {
  44079. "description": "交易模式",
  44080. "type": "integer"
  44081. },
  44082. "tradeprice": {
  44083. "description": "成交价格",
  44084. "type": "number"
  44085. },
  44086. "tradeproperty": {
  44087. "description": "交易属性",
  44088. "type": "integer"
  44089. },
  44090. "tradeqty": {
  44091. "description": "成交数量",
  44092. "type": "number"
  44093. },
  44094. "tradetime": {
  44095. "description": "成交时间",
  44096. "type": "string"
  44097. },
  44098. "tradetype": {
  44099. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44100. "type": "integer"
  44101. }
  44102. }
  44103. },
  44104. "order.QueryTradeOrderDetailRsp": {
  44105. "type": "object",
  44106. "required": [
  44107. "accountid",
  44108. "buildtype",
  44109. "buyorsell",
  44110. "goodsid",
  44111. "marketid",
  44112. "operatetype",
  44113. "orderqty",
  44114. "ordertime",
  44115. "pricemode",
  44116. "tradedate",
  44117. "validtype"
  44118. ],
  44119. "properties": {
  44120. "accountid": {
  44121. "description": "账户ID[报价币种]",
  44122. "type": "integer"
  44123. },
  44124. "buildtype": {
  44125. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44126. "type": "integer"
  44127. },
  44128. "buyorsell": {
  44129. "description": "买卖 - 0:买 1:卖",
  44130. "type": "integer"
  44131. },
  44132. "cancelorderid": {
  44133. "description": "撤单单号(撤单时填写)",
  44134. "type": "string"
  44135. },
  44136. "cancelqty": {
  44137. "description": "撤单数量",
  44138. "type": "number"
  44139. },
  44140. "clienttype": {
  44141. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44142. "type": "integer"
  44143. },
  44144. "closefreezecharge": {
  44145. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44146. "type": "number"
  44147. },
  44148. "closeqty": {
  44149. "description": "平仓数量(先建后平操作 需要记录)",
  44150. "type": "number"
  44151. },
  44152. "closetradeqty": {
  44153. "description": "平仓成交数量(先建后平操作,需要记录)",
  44154. "type": "number"
  44155. },
  44156. "closeunfreezecharge": {
  44157. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44158. "type": "number"
  44159. },
  44160. "decimalplace": {
  44161. "description": "商品报价小数位",
  44162. "type": "integer"
  44163. },
  44164. "delistingtype": {
  44165. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44166. "type": "integer"
  44167. },
  44168. "enableqty": {
  44169. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44170. "type": "number"
  44171. },
  44172. "enumdicname": {
  44173. "description": "单位名称",
  44174. "type": "string"
  44175. },
  44176. "freezecharge": {
  44177. "description": "冻结手续费",
  44178. "type": "number"
  44179. },
  44180. "freezemargin": {
  44181. "description": "冻结保证金(冻结交易金额)",
  44182. "type": "number"
  44183. },
  44184. "goodscode": {
  44185. "description": "商品代码",
  44186. "type": "string"
  44187. },
  44188. "goodsid": {
  44189. "description": "商品ID",
  44190. "type": "integer"
  44191. },
  44192. "goodsname": {
  44193. "description": "商品名称",
  44194. "type": "string"
  44195. },
  44196. "goodunitid": {
  44197. "description": "商品单位id",
  44198. "type": "integer"
  44199. },
  44200. "listingselecttype": {
  44201. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44202. "type": "integer"
  44203. },
  44204. "marketid": {
  44205. "description": "市场ID",
  44206. "type": "integer"
  44207. },
  44208. "marketname": {
  44209. "description": "市场名称",
  44210. "type": "string"
  44211. },
  44212. "openfreezecharge": {
  44213. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44214. "type": "number"
  44215. },
  44216. "openqty": {
  44217. "description": "开仓数量(先建后平操作,需要记录)",
  44218. "type": "number"
  44219. },
  44220. "opentradeqty": {
  44221. "description": "开仓成交数量(先建后平操作,需要记录)",
  44222. "type": "number"
  44223. },
  44224. "openunfreezecharge": {
  44225. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44226. "type": "number"
  44227. },
  44228. "operatetype": {
  44229. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44230. "type": "integer"
  44231. },
  44232. "operatorid": {
  44233. "description": "登录账号(LoginID)",
  44234. "type": "integer"
  44235. },
  44236. "orderid": {
  44237. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44238. "type": "string"
  44239. },
  44240. "orderprice": {
  44241. "description": "委托价格",
  44242. "type": "number"
  44243. },
  44244. "orderqty": {
  44245. "description": "委托数量",
  44246. "type": "number"
  44247. },
  44248. "ordersrc": {
  44249. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44250. "type": "integer"
  44251. },
  44252. "orderstatus": {
  44253. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44254. "type": "integer"
  44255. },
  44256. "ordertime": {
  44257. "description": "委托时间",
  44258. "type": "string"
  44259. },
  44260. "preorderid": {
  44261. "description": "关联预埋单号(止盈止损单时填写)",
  44262. "type": "string"
  44263. },
  44264. "pricemode": {
  44265. "description": "取价方式 - 1:市价 2: 限价",
  44266. "type": "integer"
  44267. },
  44268. "qtydecimalplace": {
  44269. "description": "商品报价小数位",
  44270. "type": "integer"
  44271. },
  44272. "relatedid": {
  44273. "description": "关联单号(交割单)",
  44274. "type": "string"
  44275. },
  44276. "tradedate": {
  44277. "description": "交易日(yyyyMMdd)",
  44278. "type": "string"
  44279. },
  44280. "trademode": {
  44281. "description": "交易模式",
  44282. "type": "integer"
  44283. },
  44284. "tradeqty": {
  44285. "description": "成交数量",
  44286. "type": "number"
  44287. },
  44288. "unfreezecharge": {
  44289. "description": "解冻手续费",
  44290. "type": "number"
  44291. },
  44292. "unfreezemargin": {
  44293. "description": "解冻保证金",
  44294. "type": "number"
  44295. },
  44296. "validtime": {
  44297. "description": "有效期限",
  44298. "type": "string"
  44299. },
  44300. "validtype": {
  44301. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44302. "type": "integer"
  44303. },
  44304. "volumetype": {
  44305. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44306. "type": "integer"
  44307. }
  44308. }
  44309. },
  44310. "order.QueryTradePositionRsp": {
  44311. "type": "object",
  44312. "required": [
  44313. "goodsid"
  44314. ],
  44315. "properties": {
  44316. "accountid": {
  44317. "description": "资金账户",
  44318. "type": "integer"
  44319. },
  44320. "agreeunit": {
  44321. "description": "合约单位",
  44322. "type": "number"
  44323. },
  44324. "averageprice": {
  44325. "description": "持仓均价",
  44326. "type": "number"
  44327. },
  44328. "buyorsell": {
  44329. "description": "方向 - 0:买 1:卖",
  44330. "type": "integer"
  44331. },
  44332. "closetotalqty": {
  44333. "description": "平仓总数量",
  44334. "type": "number"
  44335. },
  44336. "curholderamount": {
  44337. "description": "当前持仓总金额[商品币种]",
  44338. "type": "number"
  44339. },
  44340. "curpositionqty": {
  44341. "description": "当前持仓总数量",
  44342. "type": "number"
  44343. },
  44344. "currencyid": {
  44345. "description": "报价货币ID",
  44346. "type": "integer"
  44347. },
  44348. "curtdposition": {
  44349. "description": "期末今日头寸",
  44350. "type": "number"
  44351. },
  44352. "decimalplace": {
  44353. "description": "报价小数位",
  44354. "type": "integer"
  44355. },
  44356. "enableqty": {
  44357. "description": "可用量",
  44358. "type": "number"
  44359. },
  44360. "fretdposition": {
  44361. "description": "冻结今日头寸",
  44362. "type": "number"
  44363. },
  44364. "frozenqty": {
  44365. "description": "持仓冻结数量",
  44366. "type": "number"
  44367. },
  44368. "goodscode": {
  44369. "description": "商品代码",
  44370. "type": "string"
  44371. },
  44372. "goodsid": {
  44373. "description": "商品Id",
  44374. "type": "integer"
  44375. },
  44376. "goodsname": {
  44377. "description": "商品名称",
  44378. "type": "string"
  44379. },
  44380. "goodunit": {
  44381. "description": "报价单位",
  44382. "type": "string"
  44383. },
  44384. "goodunitid": {
  44385. "description": "报价单位ID",
  44386. "type": "integer"
  44387. },
  44388. "holderamount": {
  44389. "description": "期初持仓总金额[商品币种]",
  44390. "type": "number"
  44391. },
  44392. "lastprice": {
  44393. "description": "最新价",
  44394. "type": "number"
  44395. },
  44396. "marketamount": {
  44397. "description": "市值",
  44398. "type": "number"
  44399. },
  44400. "marketid": {
  44401. "description": "所属市场ID",
  44402. "type": "integer"
  44403. },
  44404. "openreqqty": {
  44405. "description": "开仓申请数量(用于比较最大持仓数量)",
  44406. "type": "number"
  44407. },
  44408. "opentotalqty": {
  44409. "description": "开仓总数量",
  44410. "type": "number"
  44411. },
  44412. "otherfrozenqty": {
  44413. "description": "持仓其他冻结数量(交割冻结)",
  44414. "type": "number"
  44415. },
  44416. "positionpl": {
  44417. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  44418. "type": "number"
  44419. },
  44420. "positionplrate": {
  44421. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  44422. "type": "number"
  44423. },
  44424. "positionqty": {
  44425. "description": "期初持仓数量",
  44426. "type": "number"
  44427. },
  44428. "qtydecimalplace": {
  44429. "description": "成交量小数位",
  44430. "type": "integer"
  44431. },
  44432. "refgoodscode": {
  44433. "description": "参考商品代码",
  44434. "type": "string"
  44435. },
  44436. "refgoodsid": {
  44437. "description": "参考商品ID",
  44438. "type": "integer"
  44439. },
  44440. "tnqty": {
  44441. "description": "T+N冻结总量",
  44442. "type": "number"
  44443. },
  44444. "tnusedqty": {
  44445. "description": "T+N使用量(可以使用T+N的冻结数量)",
  44446. "type": "number"
  44447. },
  44448. "trademode": {
  44449. "description": "交易模式",
  44450. "type": "integer"
  44451. },
  44452. "tradeproperty": {
  44453. "description": "交易属性",
  44454. "type": "integer"
  44455. },
  44456. "usedmargin": {
  44457. "description": "占用保证金[商品币种]",
  44458. "type": "number"
  44459. }
  44460. }
  44461. },
  44462. "pb.GoodsMarginCfgStruct": {
  44463. "type": "object",
  44464. "properties": {
  44465. "CustomerTypeID": {
  44466. "description": "投资者客户类型",
  44467. "type": "integer"
  44468. },
  44469. "GoodsID": {
  44470. "description": "商品ID",
  44471. "type": "integer"
  44472. },
  44473. "IsDefault": {
  44474. "description": "是否默认标志位",
  44475. "type": "integer"
  44476. },
  44477. "LockMarginValue": {
  44478. "description": "锁仓保证金",
  44479. "type": "number"
  44480. },
  44481. "MarginAlgorithm": {
  44482. "description": "保证金计算方式",
  44483. "type": "integer"
  44484. },
  44485. "MarketMarginValue": {
  44486. "description": "即市保证金值",
  44487. "type": "number"
  44488. },
  44489. "RealMarginAlgorithm": {
  44490. "description": "实付保证金计算方式",
  44491. "type": "integer"
  44492. },
  44493. "RealMarginValue": {
  44494. "description": "实付比例",
  44495. "type": "number"
  44496. },
  44497. "ReckonMarginValue": {
  44498. "description": "结算保证金值",
  44499. "type": "number"
  44500. }
  44501. }
  44502. },
  44503. "quote.HistoryData": {
  44504. "type": "object",
  44505. "properties": {
  44506. "c": {
  44507. "description": "收盘价",
  44508. "type": "number"
  44509. },
  44510. "f": {
  44511. "description": "是否补充数据",
  44512. "type": "boolean"
  44513. },
  44514. "h": {
  44515. "description": "最高价",
  44516. "type": "number"
  44517. },
  44518. "hv": {
  44519. "description": "持仓量",
  44520. "type": "integer"
  44521. },
  44522. "l": {
  44523. "description": "最低价",
  44524. "type": "number"
  44525. },
  44526. "o": {
  44527. "description": "开盘价",
  44528. "type": "number"
  44529. },
  44530. "s": {
  44531. "description": "结算价,日线周期(包括)以上才有",
  44532. "type": "number"
  44533. },
  44534. "ts": {
  44535. "description": "时间",
  44536. "type": "string"
  44537. },
  44538. "tt": {
  44539. "description": "总金额",
  44540. "type": "number"
  44541. },
  44542. "tv": {
  44543. "description": "总量(成交量)",
  44544. "type": "integer"
  44545. }
  44546. }
  44547. },
  44548. "quote.HistoryTikData": {
  44549. "type": "object",
  44550. "properties": {
  44551. "AV": {
  44552. "description": "卖量",
  44553. "type": "integer"
  44554. },
  44555. "Ask": {
  44556. "description": "卖价",
  44557. "type": "number"
  44558. },
  44559. "BV": {
  44560. "description": "买量",
  44561. "type": "integer"
  44562. },
  44563. "Bid": {
  44564. "description": "买价",
  44565. "type": "number"
  44566. },
  44567. "HI": {
  44568. "description": "单笔持仓",
  44569. "type": "integer"
  44570. },
  44571. "HV": {
  44572. "description": "持仓量",
  44573. "type": "integer"
  44574. },
  44575. "PE": {
  44576. "description": "现价",
  44577. "type": "number"
  44578. },
  44579. "TDR": {
  44580. "description": "交易方向,0:买 1:卖",
  44581. "type": "integer"
  44582. },
  44583. "TK": {
  44584. "description": "交易类型",
  44585. "type": "integer"
  44586. },
  44587. "TS": {
  44588. "description": "行情时间文本",
  44589. "type": "string"
  44590. },
  44591. "TT": {
  44592. "description": "现金额",
  44593. "type": "number"
  44594. },
  44595. "Vol": {
  44596. "description": "现量",
  44597. "type": "integer"
  44598. }
  44599. }
  44600. },
  44601. "quote.QueryQuoteDayRsp": {
  44602. "type": "object",
  44603. "properties": {
  44604. "ask": {
  44605. "description": "卖1",
  44606. "type": "number"
  44607. },
  44608. "ask10": {
  44609. "description": "卖10",
  44610. "type": "number"
  44611. },
  44612. "ask2": {
  44613. "description": "卖2",
  44614. "type": "number"
  44615. },
  44616. "ask3": {
  44617. "description": "卖3",
  44618. "type": "number"
  44619. },
  44620. "ask4": {
  44621. "description": "卖4",
  44622. "type": "number"
  44623. },
  44624. "ask5": {
  44625. "description": "卖5",
  44626. "type": "number"
  44627. },
  44628. "ask6": {
  44629. "description": "卖6",
  44630. "type": "number"
  44631. },
  44632. "ask7": {
  44633. "description": "卖7",
  44634. "type": "number"
  44635. },
  44636. "ask8": {
  44637. "description": "卖8",
  44638. "type": "number"
  44639. },
  44640. "ask9": {
  44641. "description": "卖9",
  44642. "type": "number"
  44643. },
  44644. "askorderid": {
  44645. "description": "卖单号1",
  44646. "type": "integer"
  44647. },
  44648. "askorderid2": {
  44649. "description": "卖单号2",
  44650. "type": "integer"
  44651. },
  44652. "askorderid3": {
  44653. "description": "卖单号3",
  44654. "type": "integer"
  44655. },
  44656. "askorderid4": {
  44657. "description": "卖单号4",
  44658. "type": "integer"
  44659. },
  44660. "askorderid5": {
  44661. "description": "卖单号5",
  44662. "type": "integer"
  44663. },
  44664. "askordervolume": {
  44665. "description": "卖单量1",
  44666. "type": "integer"
  44667. },
  44668. "askordervolume10": {
  44669. "description": "卖单量10",
  44670. "type": "integer"
  44671. },
  44672. "askordervolume2": {
  44673. "description": "卖单量2",
  44674. "type": "integer"
  44675. },
  44676. "askordervolume3": {
  44677. "description": "卖单量3",
  44678. "type": "integer"
  44679. },
  44680. "askordervolume4": {
  44681. "description": "卖单量4",
  44682. "type": "integer"
  44683. },
  44684. "askordervolume5": {
  44685. "description": "卖单量5",
  44686. "type": "integer"
  44687. },
  44688. "askordervolume6": {
  44689. "description": "卖单量6",
  44690. "type": "integer"
  44691. },
  44692. "askordervolume7": {
  44693. "description": "卖单量7",
  44694. "type": "integer"
  44695. },
  44696. "askordervolume8": {
  44697. "description": "卖单量8",
  44698. "type": "integer"
  44699. },
  44700. "askordervolume9": {
  44701. "description": "卖单量9",
  44702. "type": "integer"
  44703. },
  44704. "askqueueinfo": {
  44705. "description": "大利市卖港股用",
  44706. "type": "string"
  44707. },
  44708. "askvolume": {
  44709. "description": "卖量1",
  44710. "type": "integer"
  44711. },
  44712. "askvolume10": {
  44713. "description": "卖量10",
  44714. "type": "integer"
  44715. },
  44716. "askvolume2": {
  44717. "description": "卖量2",
  44718. "type": "integer"
  44719. },
  44720. "askvolume3": {
  44721. "description": "卖量3",
  44722. "type": "integer"
  44723. },
  44724. "askvolume4": {
  44725. "description": "卖量4",
  44726. "type": "integer"
  44727. },
  44728. "askvolume5": {
  44729. "description": "卖量5",
  44730. "type": "integer"
  44731. },
  44732. "askvolume6": {
  44733. "description": "卖量6",
  44734. "type": "integer"
  44735. },
  44736. "askvolume7": {
  44737. "description": "卖量7",
  44738. "type": "integer"
  44739. },
  44740. "askvolume8": {
  44741. "description": "卖量8",
  44742. "type": "integer"
  44743. },
  44744. "askvolume9": {
  44745. "description": "卖量9",
  44746. "type": "integer"
  44747. },
  44748. "averageprice": {
  44749. "description": "均价",
  44750. "type": "number"
  44751. },
  44752. "bid": {
  44753. "description": "买1",
  44754. "type": "number"
  44755. },
  44756. "bid10": {
  44757. "description": "买10",
  44758. "type": "number"
  44759. },
  44760. "bid2": {
  44761. "description": "买2",
  44762. "type": "number"
  44763. },
  44764. "bid3": {
  44765. "description": "买3",
  44766. "type": "number"
  44767. },
  44768. "bid4": {
  44769. "description": "买4",
  44770. "type": "number"
  44771. },
  44772. "bid5": {
  44773. "description": "买5",
  44774. "type": "number"
  44775. },
  44776. "bid6": {
  44777. "description": "买6",
  44778. "type": "number"
  44779. },
  44780. "bid7": {
  44781. "description": "买7",
  44782. "type": "number"
  44783. },
  44784. "bid8": {
  44785. "description": "买8",
  44786. "type": "number"
  44787. },
  44788. "bid9": {
  44789. "description": "买9",
  44790. "type": "number"
  44791. },
  44792. "bidorderid": {
  44793. "description": "买单号1",
  44794. "type": "integer"
  44795. },
  44796. "bidorderid2": {
  44797. "description": "买单号2",
  44798. "type": "integer"
  44799. },
  44800. "bidorderid3": {
  44801. "description": "买单号3",
  44802. "type": "integer"
  44803. },
  44804. "bidorderid4": {
  44805. "description": "买单号4",
  44806. "type": "integer"
  44807. },
  44808. "bidorderid5": {
  44809. "description": "买单号5",
  44810. "type": "integer"
  44811. },
  44812. "bidordervolume": {
  44813. "description": "买单量1",
  44814. "type": "integer"
  44815. },
  44816. "bidordervolume10": {
  44817. "description": "买单量10",
  44818. "type": "integer"
  44819. },
  44820. "bidordervolume2": {
  44821. "description": "买单量2",
  44822. "type": "integer"
  44823. },
  44824. "bidordervolume3": {
  44825. "description": "买单量3",
  44826. "type": "integer"
  44827. },
  44828. "bidordervolume4": {
  44829. "description": "买单量4",
  44830. "type": "integer"
  44831. },
  44832. "bidordervolume5": {
  44833. "description": "买单量5",
  44834. "type": "integer"
  44835. },
  44836. "bidordervolume6": {
  44837. "description": "买单量6",
  44838. "type": "integer"
  44839. },
  44840. "bidordervolume7": {
  44841. "description": "买单量7",
  44842. "type": "integer"
  44843. },
  44844. "bidordervolume8": {
  44845. "description": "买单量8",
  44846. "type": "integer"
  44847. },
  44848. "bidordervolume9": {
  44849. "description": "买单量9",
  44850. "type": "integer"
  44851. },
  44852. "bidqueueinfo": {
  44853. "description": "大利市买港股用",
  44854. "type": "string"
  44855. },
  44856. "bidvolume": {
  44857. "description": "买量1",
  44858. "type": "integer"
  44859. },
  44860. "bidvolume10": {
  44861. "description": "买量10",
  44862. "type": "integer"
  44863. },
  44864. "bidvolume2": {
  44865. "description": "买量2",
  44866. "type": "integer"
  44867. },
  44868. "bidvolume3": {
  44869. "description": "买量3",
  44870. "type": "integer"
  44871. },
  44872. "bidvolume4": {
  44873. "description": "买量4",
  44874. "type": "integer"
  44875. },
  44876. "bidvolume5": {
  44877. "description": "买量5",
  44878. "type": "integer"
  44879. },
  44880. "bidvolume6": {
  44881. "description": "买量6",
  44882. "type": "integer"
  44883. },
  44884. "bidvolume7": {
  44885. "description": "买量7",
  44886. "type": "integer"
  44887. },
  44888. "bidvolume8": {
  44889. "description": "买量8",
  44890. "type": "integer"
  44891. },
  44892. "bidvolume9": {
  44893. "description": "买量9",
  44894. "type": "integer"
  44895. },
  44896. "calloptionpremiums": {
  44897. "description": "认购期权1",
  44898. "type": "integer"
  44899. },
  44900. "calloptionpremiums2": {
  44901. "description": "认购期权2",
  44902. "type": "integer"
  44903. },
  44904. "calloptionpremiums3": {
  44905. "description": "认购期权3",
  44906. "type": "integer"
  44907. },
  44908. "calloptionpremiums4": {
  44909. "description": "认购期权4",
  44910. "type": "integer"
  44911. },
  44912. "calloptionpremiums5": {
  44913. "description": "认购期权5",
  44914. "type": "integer"
  44915. },
  44916. "cleartime": {
  44917. "description": "清盘时间",
  44918. "type": "integer"
  44919. },
  44920. "exchangecode": {
  44921. "description": "交易所代码",
  44922. "type": "integer"
  44923. },
  44924. "exchangedate": {
  44925. "description": "交易日",
  44926. "type": "integer"
  44927. },
  44928. "goodscode": {
  44929. "description": "商品代码",
  44930. "type": "string"
  44931. },
  44932. "grepmarketprice": {
  44933. "description": "暗盘价 港股专用",
  44934. "type": "number"
  44935. },
  44936. "highest": {
  44937. "description": "最高价",
  44938. "type": "number"
  44939. },
  44940. "holdincrement": {
  44941. "description": "单笔持仓",
  44942. "type": "integer"
  44943. },
  44944. "holdvolume": {
  44945. "description": "持仓",
  44946. "type": "integer"
  44947. },
  44948. "iep": {
  44949. "description": "平衡价 港股专用",
  44950. "type": "number"
  44951. },
  44952. "iev": {
  44953. "description": "平衡量 港股专用",
  44954. "type": "number"
  44955. },
  44956. "inventory": {
  44957. "description": "库存",
  44958. "type": "integer"
  44959. },
  44960. "iscleared": {
  44961. "description": "是否清盘标志",
  44962. "type": "integer"
  44963. },
  44964. "issettled": {
  44965. "description": "是否结算标志",
  44966. "type": "integer"
  44967. },
  44968. "last": {
  44969. "description": "最新价",
  44970. "type": "number"
  44971. },
  44972. "lastlot": {
  44973. "description": "最新成交手数",
  44974. "type": "integer"
  44975. },
  44976. "lasttime": {
  44977. "description": "行情时间(只有现价变化行情时间才变化)",
  44978. "type": "string"
  44979. },
  44980. "lastturnover": {
  44981. "description": "最新成交金额",
  44982. "type": "number"
  44983. },
  44984. "lastvolume": {
  44985. "description": "最新成交量",
  44986. "type": "integer"
  44987. },
  44988. "limitdown": {
  44989. "description": "跌停价",
  44990. "type": "number"
  44991. },
  44992. "limitup": {
  44993. "description": "涨停价",
  44994. "type": "number"
  44995. },
  44996. "lowest": {
  44997. "description": "最低价",
  44998. "type": "number"
  44999. },
  45000. "nontotalholdervolume": {
  45001. "description": "非交易持仓量",
  45002. "type": "integer"
  45003. },
  45004. "nontotallot": {
  45005. "description": "非交易总手数",
  45006. "type": "integer"
  45007. },
  45008. "nontotalturnover": {
  45009. "description": "非交易总金额",
  45010. "type": "integer"
  45011. },
  45012. "nontotalvolume": {
  45013. "description": "非交易总量",
  45014. "type": "integer"
  45015. },
  45016. "opened": {
  45017. "description": "开盘价",
  45018. "type": "number"
  45019. },
  45020. "opentime": {
  45021. "description": "开盘时间",
  45022. "type": "string"
  45023. },
  45024. "orderid": {
  45025. "description": "序号",
  45026. "type": "integer"
  45027. },
  45028. "preclose": {
  45029. "description": "昨收",
  45030. "type": "number"
  45031. },
  45032. "preholdvolume": {
  45033. "description": "昨持仓",
  45034. "type": "integer"
  45035. },
  45036. "presettle": {
  45037. "description": "昨结价",
  45038. "type": "number"
  45039. },
  45040. "publictradetype": {
  45041. "description": "公共交易标志类型 港股专用",
  45042. "type": "string"
  45043. },
  45044. "putoptionpremiums": {
  45045. "description": "认沽期权1",
  45046. "type": "integer"
  45047. },
  45048. "putoptionpremiums2": {
  45049. "description": "认沽期权2",
  45050. "type": "integer"
  45051. },
  45052. "putoptionpremiums3": {
  45053. "description": "认沽期权3",
  45054. "type": "integer"
  45055. },
  45056. "putoptionpremiums4": {
  45057. "description": "认沽期权4",
  45058. "type": "integer"
  45059. },
  45060. "putoptionpremiums5": {
  45061. "description": "认沽期权5",
  45062. "type": "integer"
  45063. },
  45064. "settle": {
  45065. "description": "结算价",
  45066. "type": "number"
  45067. },
  45068. "strikeprice": {
  45069. "description": "发行价",
  45070. "type": "number"
  45071. },
  45072. "totalaskvolume": {
  45073. "description": "内盘",
  45074. "type": "integer"
  45075. },
  45076. "totalbidvolume": {
  45077. "description": "外盘",
  45078. "type": "integer"
  45079. },
  45080. "totallot": {
  45081. "description": "总手数",
  45082. "type": "integer"
  45083. },
  45084. "totalturnover": {
  45085. "description": "总金额",
  45086. "type": "number"
  45087. },
  45088. "totalvolume": {
  45089. "description": "总量",
  45090. "type": "integer"
  45091. },
  45092. "utclasttime": {
  45093. "description": "utc的行情时间",
  45094. "type": "string"
  45095. }
  45096. }
  45097. },
  45098. "quote.QueryTSDataRsp": {
  45099. "type": "object",
  45100. "properties": {
  45101. "Count": {
  45102. "description": "交易日应有数据个数",
  45103. "type": "integer"
  45104. },
  45105. "decimalPlace": {
  45106. "description": "小数位",
  45107. "type": "integer"
  45108. },
  45109. "endTime": {
  45110. "description": "结束时间",
  45111. "type": "string"
  45112. },
  45113. "goodsCode": {
  45114. "description": "商品代码",
  45115. "type": "string"
  45116. },
  45117. "historyDatas": {
  45118. "description": "历史数据",
  45119. "type": "array",
  45120. "items": {
  45121. "$ref": "#/definitions/quote.HistoryData"
  45122. }
  45123. },
  45124. "outGoodsCode": {
  45125. "description": "外部商品代码",
  45126. "type": "string"
  45127. },
  45128. "preSettle": {
  45129. "description": "昨结价",
  45130. "type": "number"
  45131. },
  45132. "runSteps": {
  45133. "description": "交易日开休市计划",
  45134. "type": "array",
  45135. "items": {
  45136. "$ref": "#/definitions/quote.TSDataRunStep"
  45137. }
  45138. },
  45139. "startTime": {
  45140. "description": "开始时间",
  45141. "type": "string"
  45142. },
  45143. "tradeDate": {
  45144. "description": "交易日",
  45145. "type": "string"
  45146. }
  45147. }
  45148. },
  45149. "quote.TSDataRunStep": {
  45150. "type": "object",
  45151. "properties": {
  45152. "end": {
  45153. "description": "真实结束时间",
  45154. "type": "string"
  45155. },
  45156. "endflag": {
  45157. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45158. "type": "integer"
  45159. },
  45160. "endtime": {
  45161. "description": "结束时间(HH:mm)",
  45162. "type": "string"
  45163. },
  45164. "endweekday": {
  45165. "description": "结束周几",
  45166. "type": "integer"
  45167. },
  45168. "groupid": {
  45169. "description": "分组ID",
  45170. "type": "integer"
  45171. },
  45172. "runstep": {
  45173. "description": "运行阶段 - 2:连续交易",
  45174. "type": "integer"
  45175. },
  45176. "sectionid": {
  45177. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45178. "type": "integer"
  45179. },
  45180. "start": {
  45181. "description": "真实开始时间",
  45182. "type": "string"
  45183. },
  45184. "startflag": {
  45185. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45186. "type": "integer"
  45187. },
  45188. "starttime": {
  45189. "description": "起始时间(HH:mm)",
  45190. "type": "string"
  45191. },
  45192. "startweekday": {
  45193. "description": "起始周几",
  45194. "type": "integer"
  45195. },
  45196. "tradeweekday": {
  45197. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45198. "type": "integer"
  45199. }
  45200. }
  45201. },
  45202. "szdz.QueryConvertLogRsp": {
  45203. "type": "object",
  45204. "required": [
  45205. "logid"
  45206. ],
  45207. "properties": {
  45208. "accountid": {
  45209. "description": "资金账户ID",
  45210. "type": "integer"
  45211. },
  45212. "clientticket": {
  45213. "description": "客户端流水号",
  45214. "type": "string"
  45215. },
  45216. "converttype": {
  45217. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45218. "type": "integer"
  45219. },
  45220. "createtime": {
  45221. "description": "记账时间",
  45222. "type": "string"
  45223. },
  45224. "daymaxvalue": {
  45225. "description": "配置当日最大转入限制",
  45226. "type": "number"
  45227. },
  45228. "daymaxvalue2": {
  45229. "description": "配置当日最大转入限制(转入)",
  45230. "type": "number"
  45231. },
  45232. "goodscode": {
  45233. "description": "商品代码",
  45234. "type": "string"
  45235. },
  45236. "goodsname": {
  45237. "description": "商品名称",
  45238. "type": "string"
  45239. },
  45240. "handlestatus": {
  45241. "description": "处理状态",
  45242. "type": "integer"
  45243. },
  45244. "innergoodsid": {
  45245. "description": "内部商品ID",
  45246. "type": "integer"
  45247. },
  45248. "inratio": {
  45249. "description": "配置转入比值",
  45250. "type": "integer"
  45251. },
  45252. "invalue": {
  45253. "description": "目标值",
  45254. "type": "number"
  45255. },
  45256. "logid": {
  45257. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45258. "type": "integer"
  45259. },
  45260. "mobile": {
  45261. "description": "手机号码(加密存储)",
  45262. "type": "string"
  45263. },
  45264. "outergoodscode": {
  45265. "description": "外部商品代码[JD\\PD]",
  45266. "type": "string"
  45267. },
  45268. "outratio": {
  45269. "description": "配置转出比值",
  45270. "type": "integer"
  45271. },
  45272. "outvalue": {
  45273. "description": "源值",
  45274. "type": "number"
  45275. },
  45276. "pddecimalplace": {
  45277. "description": "PD小数位",
  45278. "type": "integer"
  45279. },
  45280. "qty": {
  45281. "description": "数量",
  45282. "type": "string"
  45283. },
  45284. "remark": {
  45285. "description": "备注",
  45286. "type": "string"
  45287. },
  45288. "sessionid": {
  45289. "description": "会话ID",
  45290. "type": "integer"
  45291. },
  45292. "timemaxvalue": {
  45293. "description": "配置单次最大转入限制",
  45294. "type": "number"
  45295. },
  45296. "timemaxvalue2": {
  45297. "description": "配置单次最大转入限制(转入)",
  45298. "type": "number"
  45299. },
  45300. "timeminvalue": {
  45301. "description": "配置单次最小数量限制",
  45302. "type": "number"
  45303. },
  45304. "timeminvalue2": {
  45305. "description": "配置单次最小数量限制(转入)",
  45306. "type": "number"
  45307. },
  45308. "tradedate": {
  45309. "description": "交易日(yyyyMMdd)",
  45310. "type": "string"
  45311. },
  45312. "userid": {
  45313. "description": "用户ID",
  45314. "type": "integer"
  45315. }
  45316. }
  45317. },
  45318. "szdz.QueryGoodsPickupRsp": {
  45319. "type": "object",
  45320. "required": [
  45321. "takeorderid"
  45322. ],
  45323. "properties": {
  45324. "accountid": {
  45325. "description": "账户ID",
  45326. "type": "integer"
  45327. },
  45328. "address": {
  45329. "description": "提货人详细地址",
  45330. "type": "string"
  45331. },
  45332. "auditer": {
  45333. "description": "审核人",
  45334. "type": "integer"
  45335. },
  45336. "audittime": {
  45337. "description": "审核时间",
  45338. "type": "string"
  45339. },
  45340. "cardnum": {
  45341. "description": "提货人证件号码",
  45342. "type": "string"
  45343. },
  45344. "cardtypeid": {
  45345. "description": "提货人证件类型",
  45346. "type": "integer"
  45347. },
  45348. "checkremark": {
  45349. "description": "审核备注",
  45350. "type": "string"
  45351. },
  45352. "goodscode": {
  45353. "description": "商品代码",
  45354. "type": "string"
  45355. },
  45356. "goodsid": {
  45357. "description": "商品ID",
  45358. "type": "integer"
  45359. },
  45360. "goodsname": {
  45361. "description": "商品名称",
  45362. "type": "string"
  45363. },
  45364. "handlestatus": {
  45365. "description": "处理状态",
  45366. "type": "integer"
  45367. },
  45368. "marketid": {
  45369. "description": "市场ID",
  45370. "type": "integer"
  45371. },
  45372. "phonenum": {
  45373. "description": "提货人联系方式",
  45374. "type": "string"
  45375. },
  45376. "qty": {
  45377. "description": "提货数量",
  45378. "type": "number"
  45379. },
  45380. "recivername": {
  45381. "description": "提货人姓名",
  45382. "type": "string"
  45383. },
  45384. "reqtime": {
  45385. "description": "更新时间",
  45386. "type": "string"
  45387. },
  45388. "takemode": {
  45389. "description": "提货方式 - 2:自提 3:配送",
  45390. "type": "integer"
  45391. },
  45392. "takeorderid": {
  45393. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45394. "type": "string"
  45395. },
  45396. "takeorderstatus": {
  45397. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45398. "type": "integer"
  45399. },
  45400. "takeremark": {
  45401. "description": "提货备注",
  45402. "type": "string"
  45403. },
  45404. "tradedate": {
  45405. "description": "交易日(yyyyMMdd)",
  45406. "type": "string"
  45407. },
  45408. "userid": {
  45409. "description": "用户ID",
  45410. "type": "integer"
  45411. }
  45412. }
  45413. },
  45414. "szdz.QueryRecieptOrderRsp": {
  45415. "type": "object",
  45416. "required": [
  45417. "ordertime"
  45418. ],
  45419. "properties": {
  45420. "accountName": {
  45421. "description": "所属账号名称(已脱敏)",
  45422. "type": "string"
  45423. },
  45424. "accountid": {
  45425. "description": "资金账号",
  45426. "type": "integer"
  45427. },
  45428. "buyorsell": {
  45429. "description": "方向 - 0:买 1:卖",
  45430. "type": "integer"
  45431. },
  45432. "enableqty": {
  45433. "description": "可摘数量",
  45434. "type": "integer"
  45435. },
  45436. "goodscode": {
  45437. "description": "商品代码",
  45438. "type": "string"
  45439. },
  45440. "goodsid": {
  45441. "description": "商品ID",
  45442. "type": "integer"
  45443. },
  45444. "goodsname": {
  45445. "description": "商品名称",
  45446. "type": "string"
  45447. },
  45448. "orderid": {
  45449. "description": "委托单号",
  45450. "type": "string"
  45451. },
  45452. "orderprice": {
  45453. "description": "委托价格",
  45454. "type": "number"
  45455. },
  45456. "ordertime": {
  45457. "description": "委托时间",
  45458. "type": "string"
  45459. },
  45460. "tradedate": {
  45461. "description": "交易日(yyyyMMdd)",
  45462. "type": "string"
  45463. }
  45464. }
  45465. },
  45466. "szdz.QuerySZDZTradePositionRsp": {
  45467. "type": "object",
  45468. "properties": {
  45469. "accountid": {
  45470. "description": "账号Id",
  45471. "type": "integer"
  45472. },
  45473. "agreeunit": {
  45474. "description": "合约单位",
  45475. "type": "number"
  45476. },
  45477. "averageprice": {
  45478. "description": "持仓均价",
  45479. "type": "number"
  45480. },
  45481. "buyorsell": {
  45482. "description": "方向 - 0:买 1:卖",
  45483. "type": "integer"
  45484. },
  45485. "closetotalqty": {
  45486. "description": "平仓总数量",
  45487. "type": "integer"
  45488. },
  45489. "curholderamount": {
  45490. "description": "当前持仓总金额",
  45491. "type": "number"
  45492. },
  45493. "curpositionqty": {
  45494. "description": "当前持仓总数量",
  45495. "type": "integer"
  45496. },
  45497. "currencyid": {
  45498. "description": "报价货币ID",
  45499. "type": "integer"
  45500. },
  45501. "curtdposition": {
  45502. "description": "期末今日头寸",
  45503. "type": "integer"
  45504. },
  45505. "decimalplace": {
  45506. "description": "报价小数位",
  45507. "type": "integer"
  45508. },
  45509. "enableqty": {
  45510. "description": "可用量",
  45511. "type": "integer"
  45512. },
  45513. "fretdposition": {
  45514. "description": "冻结今日头寸",
  45515. "type": "integer"
  45516. },
  45517. "frozenqty": {
  45518. "description": "持仓冻结数量",
  45519. "type": "integer"
  45520. },
  45521. "goodscode": {
  45522. "description": "商品代码(内部)",
  45523. "type": "string"
  45524. },
  45525. "goodsid": {
  45526. "description": "商品Id",
  45527. "type": "integer"
  45528. },
  45529. "goodsname": {
  45530. "description": "商品名称",
  45531. "type": "string"
  45532. },
  45533. "goodunit": {
  45534. "description": "报价单位",
  45535. "type": "string"
  45536. },
  45537. "goodunitid": {
  45538. "description": "报价单位ID",
  45539. "type": "integer"
  45540. },
  45541. "holderamount": {
  45542. "description": "期初持仓总金额",
  45543. "type": "number"
  45544. },
  45545. "marketid": {
  45546. "description": "市场ID",
  45547. "type": "integer"
  45548. },
  45549. "openreqqty": {
  45550. "description": "开仓申请数量",
  45551. "type": "integer"
  45552. },
  45553. "opentotalqty": {
  45554. "description": "开仓总数量",
  45555. "type": "integer"
  45556. },
  45557. "otherfrozenqty": {
  45558. "description": "持仓其他冻结数量(交割冻结)",
  45559. "type": "integer"
  45560. },
  45561. "positionqty": {
  45562. "description": "期初持仓数量",
  45563. "type": "integer"
  45564. },
  45565. "szdz3freezqty": {
  45566. "description": "尚志大宗转换冻结总数量",
  45567. "type": "integer"
  45568. },
  45569. "tnqty": {
  45570. "description": "T+N冻结总量",
  45571. "type": "integer"
  45572. },
  45573. "tnusedqty": {
  45574. "description": "T+N使用量",
  45575. "type": "integer"
  45576. },
  45577. "trademode": {
  45578. "description": "交易模式",
  45579. "type": "integer"
  45580. },
  45581. "usedmargin": {
  45582. "description": "占用保证金",
  45583. "type": "number"
  45584. }
  45585. }
  45586. },
  45587. "taaccount.QueryAmountLogRsp": {
  45588. "type": "object",
  45589. "required": [
  45590. "accountid",
  45591. "amount",
  45592. "amountadjusttype",
  45593. "autoid",
  45594. "balance",
  45595. "createtime",
  45596. "currentbalance",
  45597. "operatetype"
  45598. ],
  45599. "properties": {
  45600. "OPERATETYPENAME": {
  45601. "description": "资金操作类型名称",
  45602. "type": "string"
  45603. },
  45604. "accountid": {
  45605. "description": "资金账户ID",
  45606. "type": "integer"
  45607. },
  45608. "agoodscode": {
  45609. "description": "竞拍商品代码",
  45610. "type": "string"
  45611. },
  45612. "agoodsname": {
  45613. "description": "竞拍商品名称",
  45614. "type": "string"
  45615. },
  45616. "amount": {
  45617. "description": "资金金额",
  45618. "type": "number"
  45619. },
  45620. "amountadjusttype": {
  45621. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45622. "type": "integer"
  45623. },
  45624. "autoid": {
  45625. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45626. "type": "integer"
  45627. },
  45628. "balance": {
  45629. "description": "期初余额",
  45630. "type": "number"
  45631. },
  45632. "businesscode": {
  45633. "description": "业务编号",
  45634. "type": "integer"
  45635. },
  45636. "createtime": {
  45637. "description": "发生时间",
  45638. "type": "string"
  45639. },
  45640. "currencyid": {
  45641. "description": "币种ID",
  45642. "type": "integer"
  45643. },
  45644. "currentbalance": {
  45645. "description": "期末余额(变动后金额)",
  45646. "type": "number"
  45647. },
  45648. "dgoodscode": {
  45649. "description": "交割商品代码",
  45650. "type": "string"
  45651. },
  45652. "dgoodsname": {
  45653. "description": "交割商品名称",
  45654. "type": "string"
  45655. },
  45656. "goodscode": {
  45657. "description": "商品代码",
  45658. "type": "string"
  45659. },
  45660. "goodsid": {
  45661. "description": "商品ID",
  45662. "type": "integer"
  45663. },
  45664. "goodsname": {
  45665. "description": "商品名称",
  45666. "type": "string"
  45667. },
  45668. "marketid": {
  45669. "description": "市场ID",
  45670. "type": "integer"
  45671. },
  45672. "marketname": {
  45673. "description": "市场名称",
  45674. "type": "string"
  45675. },
  45676. "moneyticket": {
  45677. "description": "资金流水号:银行端流水号",
  45678. "type": "integer"
  45679. },
  45680. "operatetype": {
  45681. "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:营销收款",
  45682. "type": "integer"
  45683. },
  45684. "relationorderid": {
  45685. "description": "关联单号",
  45686. "type": "string"
  45687. },
  45688. "remark": {
  45689. "description": "备注",
  45690. "type": "string"
  45691. },
  45692. "trademode": {
  45693. "description": "交易模式",
  45694. "type": "integer"
  45695. }
  45696. }
  45697. },
  45698. "taaccount.QueryHisAmountLogRsp": {
  45699. "type": "object",
  45700. "required": [
  45701. "accountid",
  45702. "amount",
  45703. "amountadjusttype",
  45704. "autoid",
  45705. "balance",
  45706. "createtime",
  45707. "currentbalance",
  45708. "histradedate",
  45709. "operatetype"
  45710. ],
  45711. "properties": {
  45712. "OPERATETYPENAME": {
  45713. "description": "资金操作类型名称",
  45714. "type": "string"
  45715. },
  45716. "accountid": {
  45717. "description": "资金账户ID",
  45718. "type": "integer"
  45719. },
  45720. "agoodscode": {
  45721. "description": "竞拍商品代码",
  45722. "type": "string"
  45723. },
  45724. "agoodsname": {
  45725. "description": "竞拍商品名称",
  45726. "type": "string"
  45727. },
  45728. "amount": {
  45729. "description": "资金金额",
  45730. "type": "number"
  45731. },
  45732. "amountadjusttype": {
  45733. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45734. "type": "integer"
  45735. },
  45736. "autoid": {
  45737. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45738. "type": "integer"
  45739. },
  45740. "balance": {
  45741. "description": "期初余额",
  45742. "type": "number"
  45743. },
  45744. "businesscode": {
  45745. "description": "业务编号",
  45746. "type": "integer"
  45747. },
  45748. "createtime": {
  45749. "description": "发生时间",
  45750. "type": "string"
  45751. },
  45752. "currencyid": {
  45753. "description": "币种ID",
  45754. "type": "integer"
  45755. },
  45756. "currentbalance": {
  45757. "description": "期末余额(变动后金额)",
  45758. "type": "number"
  45759. },
  45760. "dgoodscode": {
  45761. "description": "交割商品代码",
  45762. "type": "string"
  45763. },
  45764. "dgoodsname": {
  45765. "description": "交割商品名称",
  45766. "type": "string"
  45767. },
  45768. "goodscode": {
  45769. "description": "商品代码",
  45770. "type": "string"
  45771. },
  45772. "goodsid": {
  45773. "description": "商品ID",
  45774. "type": "integer"
  45775. },
  45776. "goodsname": {
  45777. "description": "商品名称",
  45778. "type": "string"
  45779. },
  45780. "histradedate": {
  45781. "description": "历史交易日",
  45782. "type": "string"
  45783. },
  45784. "isvaliddata": {
  45785. "description": "是否有效 - 0:无效 1:有效",
  45786. "type": "integer"
  45787. },
  45788. "marketid": {
  45789. "description": "市场ID",
  45790. "type": "integer"
  45791. },
  45792. "marketname": {
  45793. "description": "市场名称",
  45794. "type": "string"
  45795. },
  45796. "moneyticket": {
  45797. "description": "资金流水号:银行端流水号",
  45798. "type": "integer"
  45799. },
  45800. "operatetype": {
  45801. "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:营销收款",
  45802. "type": "integer"
  45803. },
  45804. "relationorderid": {
  45805. "description": "关联单号",
  45806. "type": "string"
  45807. },
  45808. "remark": {
  45809. "description": "备注",
  45810. "type": "string"
  45811. },
  45812. "trademode": {
  45813. "description": "交易模式",
  45814. "type": "integer"
  45815. }
  45816. }
  45817. },
  45818. "trade.QueryRecieptOrderRsp": {
  45819. "type": "object",
  45820. "required": [
  45821. "ordertime"
  45822. ],
  45823. "properties": {
  45824. "accountName": {
  45825. "description": "所属账号名称(已脱敏)",
  45826. "type": "string"
  45827. },
  45828. "accountid": {
  45829. "description": "资金账号",
  45830. "type": "integer"
  45831. },
  45832. "buyorsell": {
  45833. "description": "方向 - 0:买 1:卖",
  45834. "type": "integer"
  45835. },
  45836. "enableqty": {
  45837. "description": "可摘数量",
  45838. "type": "integer"
  45839. },
  45840. "goodscode": {
  45841. "description": "商品代码",
  45842. "type": "string"
  45843. },
  45844. "goodsid": {
  45845. "description": "商品ID",
  45846. "type": "integer"
  45847. },
  45848. "goodsname": {
  45849. "description": "商品名称",
  45850. "type": "string"
  45851. },
  45852. "orderid": {
  45853. "description": "委托单号",
  45854. "type": "string"
  45855. },
  45856. "orderprice": {
  45857. "description": "委托价格",
  45858. "type": "number"
  45859. },
  45860. "ordertime": {
  45861. "description": "委托时间",
  45862. "type": "string"
  45863. },
  45864. "tradedate": {
  45865. "description": "交易日(yyyyMMdd)",
  45866. "type": "string"
  45867. }
  45868. }
  45869. },
  45870. "user.LoginQueryRsp": {
  45871. "type": "object",
  45872. "properties": {
  45873. "areaRoles": {
  45874. "description": "所属角色信息",
  45875. "type": "array",
  45876. "items": {
  45877. "$ref": "#/definitions/models.Arearole"
  45878. }
  45879. },
  45880. "externalExchanges": {
  45881. "description": "外部交易所",
  45882. "type": "array",
  45883. "items": {
  45884. "$ref": "#/definitions/models.Externalexchange"
  45885. }
  45886. },
  45887. "goodsgroups": {
  45888. "description": "商品组",
  45889. "type": "array",
  45890. "items": {
  45891. "$ref": "#/definitions/models.Goodsgroup"
  45892. }
  45893. },
  45894. "loginAccount": {
  45895. "description": "登录账号",
  45896. "$ref": "#/definitions/models.Loginaccount"
  45897. },
  45898. "markets": {
  45899. "description": "市场",
  45900. "type": "array",
  45901. "items": {
  45902. "$ref": "#/definitions/models.Market"
  45903. }
  45904. },
  45905. "systemParams": {
  45906. "description": "系统参数",
  45907. "type": "array",
  45908. "items": {
  45909. "$ref": "#/definitions/models.Systemparam"
  45910. }
  45911. },
  45912. "userAccount": {
  45913. "description": "用户账号",
  45914. "$ref": "#/definitions/models.Useraccount"
  45915. },
  45916. "userInfo": {
  45917. "description": "用户信息",
  45918. "$ref": "#/definitions/models.Userinfo"
  45919. },
  45920. "username": {
  45921. "description": "用户姓名",
  45922. "type": "string"
  45923. }
  45924. }
  45925. }
  45926. },
  45927. "securityDefinitions": {
  45928. "ApiKeyAuth": {
  45929. "type": "apiKey",
  45930. "name": "Authorization",
  45931. "in": "header"
  45932. },
  45933. "Group": {
  45934. "type": "apiKey",
  45935. "name": "Group",
  45936. "in": "header"
  45937. },
  45938. "LoginID": {
  45939. "type": "apiKey",
  45940. "name": "LoginID",
  45941. "in": "header"
  45942. }
  45943. }
  45944. }`
  45945. // SwaggerInfo holds exported Swagger Info so clients can modify it
  45946. var SwaggerInfo = &swag.Spec{
  45947. Version: "1.0",
  45948. Host: "",
  45949. BasePath: "",
  45950. Schemes: []string{},
  45951. Title: "MTP2.0 查询服务 API",
  45952. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  45953. InfoInstanceName: "swagger",
  45954. SwaggerTemplate: docTemplate,
  45955. }
  45956. func init() {
  45957. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  45958. }