docs.go 1.6 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985
  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. "type": "string",
  7776. "description": "关联委托单ID",
  7777. "name": "wrtradeorderid",
  7778. "in": "query"
  7779. }
  7780. ],
  7781. "responses": {
  7782. "200": {
  7783. "description": "OK",
  7784. "schema": {
  7785. "type": "array",
  7786. "items": {
  7787. "$ref": "#/definitions/models.MyBargainApply"
  7788. }
  7789. }
  7790. },
  7791. "500": {
  7792. "description": "Internal Server Error",
  7793. "schema": {
  7794. "$ref": "#/definitions/app.Response"
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "/Guangzuan/QueryMyBuyOrder": {
  7801. "get": {
  7802. "security": [
  7803. {
  7804. "ApiKeyAuth": []
  7805. },
  7806. {
  7807. "LoginID": []
  7808. },
  7809. {
  7810. "Group": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "广钻"
  7818. ],
  7819. "summary": "查询我的求购",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. },
  7828. {
  7829. "type": "integer",
  7830. "description": "页码",
  7831. "name": "page",
  7832. "in": "query"
  7833. },
  7834. {
  7835. "type": "integer",
  7836. "description": "每页条数",
  7837. "name": "pagesize",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "string",
  7842. "description": "商品(查询字段-模糊查询)",
  7843. "name": "zsallproperties",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "string",
  7848. "description": "钻石分类, 格式:1,2,3",
  7849. "name": "zscategorys",
  7850. "in": "query"
  7851. },
  7852. {
  7853. "type": "integer",
  7854. "description": "委托单号",
  7855. "name": "wrtradeorderid",
  7856. "in": "query"
  7857. },
  7858. {
  7859. "type": "boolean",
  7860. "description": "是否历史查询",
  7861. "name": "ishis",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "string",
  7866. "description": "开始交易日(yyyymmdd)",
  7867. "name": "begindate",
  7868. "in": "query"
  7869. },
  7870. {
  7871. "type": "string",
  7872. "description": "结束交易日(yyyymmdd)",
  7873. "name": "enddate",
  7874. "in": "query"
  7875. }
  7876. ],
  7877. "responses": {
  7878. "200": {
  7879. "description": "OK",
  7880. "schema": {
  7881. "type": "array",
  7882. "items": {
  7883. "$ref": "#/definitions/models.MyBuyOrder"
  7884. }
  7885. }
  7886. },
  7887. "500": {
  7888. "description": "Internal Server Error",
  7889. "schema": {
  7890. "$ref": "#/definitions/app.Response"
  7891. }
  7892. }
  7893. }
  7894. }
  7895. },
  7896. "/Guangzuan/QueryMyDeListing": {
  7897. "get": {
  7898. "security": [
  7899. {
  7900. "ApiKeyAuth": []
  7901. },
  7902. {
  7903. "LoginID": []
  7904. },
  7905. {
  7906. "Group": []
  7907. }
  7908. ],
  7909. "produces": [
  7910. "application/json"
  7911. ],
  7912. "tags": [
  7913. "广钻"
  7914. ],
  7915. "summary": "查询我的摘牌",
  7916. "parameters": [
  7917. {
  7918. "type": "integer",
  7919. "description": "用户ID",
  7920. "name": "userid",
  7921. "in": "query",
  7922. "required": true
  7923. },
  7924. {
  7925. "type": "integer",
  7926. "description": "页码",
  7927. "name": "page",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "每页条数",
  7933. "name": "pagesize",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "商品(查询字段-模糊查询)",
  7939. "name": "zsallproperties",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "string",
  7944. "description": "钻石分类, 格式:1,2,3",
  7945. "name": "zscategorys",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "integer",
  7950. "description": "成交单号",
  7951. "name": "wrtradedetailid",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "integer",
  7956. "description": "方向,0-购买 1-出售",
  7957. "name": "buyorsell",
  7958. "in": "query"
  7959. },
  7960. {
  7961. "type": "string",
  7962. "description": "对手方(模糊匹配)",
  7963. "name": "matchusername",
  7964. "in": "query"
  7965. },
  7966. {
  7967. "type": "string",
  7968. "description": "开始交易日(yyyymmdd)",
  7969. "name": "begindate",
  7970. "in": "query"
  7971. },
  7972. {
  7973. "type": "string",
  7974. "description": "结束交易日(yyyymmdd)",
  7975. "name": "enddate",
  7976. "in": "query"
  7977. }
  7978. ],
  7979. "responses": {
  7980. "200": {
  7981. "description": "OK",
  7982. "schema": {
  7983. "type": "array",
  7984. "items": {
  7985. "$ref": "#/definitions/models.MyDeListing"
  7986. }
  7987. }
  7988. },
  7989. "500": {
  7990. "description": "Internal Server Error",
  7991. "schema": {
  7992. "$ref": "#/definitions/app.Response"
  7993. }
  7994. }
  7995. }
  7996. }
  7997. },
  7998. "/Guangzuan/QueryMyDelistingApply": {
  7999. "get": {
  8000. "security": [
  8001. {
  8002. "ApiKeyAuth": []
  8003. },
  8004. {
  8005. "LoginID": []
  8006. },
  8007. {
  8008. "Group": []
  8009. }
  8010. ],
  8011. "produces": [
  8012. "application/json"
  8013. ],
  8014. "tags": [
  8015. "广钻"
  8016. ],
  8017. "summary": "查询询价-出售",
  8018. "parameters": [
  8019. {
  8020. "type": "integer",
  8021. "description": "用户ID",
  8022. "name": "userid",
  8023. "in": "query",
  8024. "required": true
  8025. },
  8026. {
  8027. "type": "integer",
  8028. "description": "页码",
  8029. "name": "page",
  8030. "in": "query"
  8031. },
  8032. {
  8033. "type": "integer",
  8034. "description": "每页条数",
  8035. "name": "pagesize",
  8036. "in": "query"
  8037. },
  8038. {
  8039. "type": "integer",
  8040. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8041. "name": "applystatus",
  8042. "in": "query"
  8043. },
  8044. {
  8045. "type": "integer",
  8046. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8047. "name": "type",
  8048. "in": "query"
  8049. },
  8050. {
  8051. "type": "string",
  8052. "description": "买委托单ID",
  8053. "name": "buywrtradeorderid",
  8054. "in": "query"
  8055. }
  8056. ],
  8057. "responses": {
  8058. "200": {
  8059. "description": "OK",
  8060. "schema": {
  8061. "type": "array",
  8062. "items": {
  8063. "$ref": "#/definitions/models.MyDelistingApply"
  8064. }
  8065. }
  8066. },
  8067. "500": {
  8068. "description": "Internal Server Error",
  8069. "schema": {
  8070. "$ref": "#/definitions/app.Response"
  8071. }
  8072. }
  8073. }
  8074. }
  8075. },
  8076. "/Guangzuan/QueryMyFavorite": {
  8077. "get": {
  8078. "security": [
  8079. {
  8080. "ApiKeyAuth": []
  8081. },
  8082. {
  8083. "LoginID": []
  8084. },
  8085. {
  8086. "Group": []
  8087. }
  8088. ],
  8089. "produces": [
  8090. "application/json"
  8091. ],
  8092. "tags": [
  8093. "广钻"
  8094. ],
  8095. "summary": "查询我的收藏",
  8096. "parameters": [
  8097. {
  8098. "type": "integer",
  8099. "description": "用户ID",
  8100. "name": "userid",
  8101. "in": "query",
  8102. "required": true
  8103. },
  8104. {
  8105. "type": "integer",
  8106. "description": "页码",
  8107. "name": "page",
  8108. "in": "query"
  8109. },
  8110. {
  8111. "type": "integer",
  8112. "description": "每页条数",
  8113. "name": "pagesize",
  8114. "in": "query"
  8115. },
  8116. {
  8117. "type": "string",
  8118. "description": "钻石分类, 格式:1,2,3",
  8119. "name": "zscategorys",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "type": "array",
  8128. "items": {
  8129. "$ref": "#/definitions/models.MyFavorite"
  8130. }
  8131. }
  8132. },
  8133. "500": {
  8134. "description": "Internal Server Error",
  8135. "schema": {
  8136. "$ref": "#/definitions/app.Response"
  8137. }
  8138. }
  8139. }
  8140. }
  8141. },
  8142. "/Guangzuan/QueryMyPerformanc": {
  8143. "get": {
  8144. "security": [
  8145. {
  8146. "ApiKeyAuth": []
  8147. },
  8148. {
  8149. "LoginID": []
  8150. },
  8151. {
  8152. "Group": []
  8153. }
  8154. ],
  8155. "produces": [
  8156. "application/json"
  8157. ],
  8158. "tags": [
  8159. "广钻"
  8160. ],
  8161. "summary": "查询我的履约",
  8162. "parameters": [
  8163. {
  8164. "type": "integer",
  8165. "description": "用户ID",
  8166. "name": "userid",
  8167. "in": "query",
  8168. "required": true
  8169. },
  8170. {
  8171. "type": "integer",
  8172. "description": "页码",
  8173. "name": "page",
  8174. "in": "query"
  8175. },
  8176. {
  8177. "type": "integer",
  8178. "description": "每页条数",
  8179. "name": "pagesize",
  8180. "in": "query"
  8181. },
  8182. {
  8183. "type": "string",
  8184. "description": "商品(查询字段-模糊查询)",
  8185. "name": "zsallproperties",
  8186. "in": "query"
  8187. },
  8188. {
  8189. "type": "integer",
  8190. "description": "方向,0-买 1-卖",
  8191. "name": "buyorsell",
  8192. "in": "query"
  8193. },
  8194. {
  8195. "type": "boolean",
  8196. "description": "是否历史查询",
  8197. "name": "ishis",
  8198. "in": "query"
  8199. },
  8200. {
  8201. "type": "string",
  8202. "description": "开始交易日(yyyymmdd)",
  8203. "name": "begindate",
  8204. "in": "query"
  8205. },
  8206. {
  8207. "type": "string",
  8208. "description": "结束交易日(yyyymmdd)",
  8209. "name": "enddate",
  8210. "in": "query"
  8211. }
  8212. ],
  8213. "responses": {
  8214. "200": {
  8215. "description": "OK",
  8216. "schema": {
  8217. "type": "array",
  8218. "items": {
  8219. "$ref": "#/definitions/models.MyPerformanc"
  8220. }
  8221. }
  8222. },
  8223. "500": {
  8224. "description": "Internal Server Error",
  8225. "schema": {
  8226. "$ref": "#/definitions/app.Response"
  8227. }
  8228. }
  8229. }
  8230. }
  8231. },
  8232. "/Guangzuan/QueryMySellOrder": {
  8233. "get": {
  8234. "security": [
  8235. {
  8236. "ApiKeyAuth": []
  8237. },
  8238. {
  8239. "LoginID": []
  8240. },
  8241. {
  8242. "Group": []
  8243. }
  8244. ],
  8245. "produces": [
  8246. "application/json"
  8247. ],
  8248. "tags": [
  8249. "广钻"
  8250. ],
  8251. "summary": "查询我的出售",
  8252. "parameters": [
  8253. {
  8254. "type": "integer",
  8255. "description": "用户ID",
  8256. "name": "userid",
  8257. "in": "query",
  8258. "required": true
  8259. },
  8260. {
  8261. "type": "integer",
  8262. "description": "页码",
  8263. "name": "page",
  8264. "in": "query"
  8265. },
  8266. {
  8267. "type": "integer",
  8268. "description": "每页条数",
  8269. "name": "pagesize",
  8270. "in": "query"
  8271. },
  8272. {
  8273. "type": "string",
  8274. "description": "商品(查询字段-模糊查询)",
  8275. "name": "zsallproperties",
  8276. "in": "query"
  8277. },
  8278. {
  8279. "type": "string",
  8280. "description": "钻石分类, 格式:1,2,3",
  8281. "name": "zscategorys",
  8282. "in": "query"
  8283. },
  8284. {
  8285. "type": "integer",
  8286. "description": "委托单号",
  8287. "name": "wrtradeorderid",
  8288. "in": "query"
  8289. },
  8290. {
  8291. "type": "boolean",
  8292. "description": "是否历史查询",
  8293. "name": "ishis",
  8294. "in": "query"
  8295. },
  8296. {
  8297. "type": "string",
  8298. "description": "开始交易日(yyyymmdd)",
  8299. "name": "begindate",
  8300. "in": "query"
  8301. },
  8302. {
  8303. "type": "string",
  8304. "description": "结束交易日(yyyymmdd)",
  8305. "name": "enddate",
  8306. "in": "query"
  8307. }
  8308. ],
  8309. "responses": {
  8310. "200": {
  8311. "description": "OK",
  8312. "schema": {
  8313. "type": "array",
  8314. "items": {
  8315. "$ref": "#/definitions/models.MySellOrder"
  8316. }
  8317. }
  8318. },
  8319. "500": {
  8320. "description": "Internal Server Error",
  8321. "schema": {
  8322. "$ref": "#/definitions/app.Response"
  8323. }
  8324. }
  8325. }
  8326. }
  8327. },
  8328. "/Guangzuan/QueryMyWRPosition": {
  8329. "get": {
  8330. "security": [
  8331. {
  8332. "ApiKeyAuth": []
  8333. },
  8334. {
  8335. "LoginID": []
  8336. },
  8337. {
  8338. "Group": []
  8339. }
  8340. ],
  8341. "produces": [
  8342. "application/json"
  8343. ],
  8344. "tags": [
  8345. "广钻"
  8346. ],
  8347. "summary": "查询我的库存",
  8348. "parameters": [
  8349. {
  8350. "type": "integer",
  8351. "description": "页码",
  8352. "name": "page",
  8353. "in": "query"
  8354. },
  8355. {
  8356. "type": "integer",
  8357. "description": "每页条数",
  8358. "name": "pagesize",
  8359. "in": "query"
  8360. },
  8361. {
  8362. "type": "integer",
  8363. "description": "登录用户ID",
  8364. "name": "wruserid",
  8365. "in": "query",
  8366. "required": true
  8367. },
  8368. {
  8369. "type": "string",
  8370. "description": "商品(查询字段-模糊查询)",
  8371. "name": "zsallproperties",
  8372. "in": "query"
  8373. },
  8374. {
  8375. "type": "string",
  8376. "description": "钻石分类, 格式:1,2,3",
  8377. "name": "zscategorys",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "仓库ID",
  8383. "name": "warehouseid",
  8384. "in": "query"
  8385. },
  8386. {
  8387. "type": "integer",
  8388. "description": "是否上架,0-全部 1-是 2-否",
  8389. "name": "marketflag",
  8390. "in": "query"
  8391. }
  8392. ],
  8393. "responses": {
  8394. "200": {
  8395. "description": "OK",
  8396. "schema": {
  8397. "type": "array",
  8398. "items": {
  8399. "$ref": "#/definitions/models.MyWRPosition"
  8400. }
  8401. }
  8402. },
  8403. "500": {
  8404. "description": "Internal Server Error",
  8405. "schema": {
  8406. "$ref": "#/definitions/app.Response"
  8407. }
  8408. }
  8409. }
  8410. }
  8411. },
  8412. "/Guangzuan/QuerySellOrder": {
  8413. "get": {
  8414. "security": [
  8415. {
  8416. "ApiKeyAuth": []
  8417. },
  8418. {
  8419. "LoginID": []
  8420. },
  8421. {
  8422. "Group": []
  8423. }
  8424. ],
  8425. "produces": [
  8426. "application/json"
  8427. ],
  8428. "tags": [
  8429. "广钻"
  8430. ],
  8431. "summary": "查询出售大厅委托单",
  8432. "parameters": [
  8433. {
  8434. "type": "integer",
  8435. "description": "页码",
  8436. "name": "page",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "integer",
  8441. "description": "每页条数",
  8442. "name": "pagesize",
  8443. "in": "query"
  8444. },
  8445. {
  8446. "type": "string",
  8447. "description": "商品(查询字段-模糊查询)",
  8448. "name": "zsallproperties",
  8449. "in": "query"
  8450. },
  8451. {
  8452. "type": "string",
  8453. "description": "钻石分类, 格式:1,2,3",
  8454. "name": "zscategorys",
  8455. "in": "query"
  8456. },
  8457. {
  8458. "type": "integer",
  8459. "description": "委托单号",
  8460. "name": "wrtradeorderid",
  8461. "in": "query"
  8462. },
  8463. {
  8464. "type": "string",
  8465. "description": "卖方(查询字段-模糊查询)",
  8466. "name": "buyusername",
  8467. "in": "query"
  8468. }
  8469. ],
  8470. "responses": {
  8471. "200": {
  8472. "description": "OK",
  8473. "schema": {
  8474. "type": "array",
  8475. "items": {
  8476. "$ref": "#/definitions/models.SellOrder"
  8477. }
  8478. }
  8479. },
  8480. "500": {
  8481. "description": "Internal Server Error",
  8482. "schema": {
  8483. "$ref": "#/definitions/app.Response"
  8484. }
  8485. }
  8486. }
  8487. }
  8488. },
  8489. "/Guangzuan/QueryWarehouseInfo": {
  8490. "get": {
  8491. "security": [
  8492. {
  8493. "ApiKeyAuth": []
  8494. },
  8495. {
  8496. "LoginID": []
  8497. },
  8498. {
  8499. "Group": []
  8500. }
  8501. ],
  8502. "produces": [
  8503. "application/json"
  8504. ],
  8505. "tags": [
  8506. "广钻"
  8507. ],
  8508. "summary": "查询仓库信息",
  8509. "parameters": [
  8510. {
  8511. "type": "integer",
  8512. "description": "页码",
  8513. "name": "page",
  8514. "in": "query"
  8515. },
  8516. {
  8517. "type": "integer",
  8518. "description": "每页条数",
  8519. "name": "pagesize",
  8520. "in": "query"
  8521. },
  8522. {
  8523. "type": "integer",
  8524. "description": "用户ID",
  8525. "name": "userid",
  8526. "in": "query",
  8527. "required": true
  8528. },
  8529. {
  8530. "type": "string",
  8531. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8532. "name": "status",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "boolean",
  8537. "description": "是返回交易所仓库",
  8538. "name": "isincludeexchange",
  8539. "in": "query"
  8540. }
  8541. ],
  8542. "responses": {
  8543. "200": {
  8544. "description": "OK",
  8545. "schema": {
  8546. "type": "array",
  8547. "items": {
  8548. "$ref": "#/definitions/models.GZWarehouseinfo"
  8549. }
  8550. }
  8551. },
  8552. "500": {
  8553. "description": "Internal Server Error",
  8554. "schema": {
  8555. "$ref": "#/definitions/app.Response"
  8556. }
  8557. }
  8558. }
  8559. }
  8560. },
  8561. "/Market/GetAllExExchanges": {
  8562. "get": {
  8563. "security": [
  8564. {
  8565. "ApiKeyAuth": []
  8566. }
  8567. ],
  8568. "produces": [
  8569. "application/json"
  8570. ],
  8571. "tags": [
  8572. "通用市场"
  8573. ],
  8574. "summary": "获取所有外部交易所信息",
  8575. "responses": {
  8576. "200": {
  8577. "description": "OK",
  8578. "schema": {
  8579. "$ref": "#/definitions/models.Goods"
  8580. }
  8581. },
  8582. "500": {
  8583. "description": "Internal Server Error",
  8584. "schema": {
  8585. "$ref": "#/definitions/app.Response"
  8586. }
  8587. }
  8588. }
  8589. }
  8590. },
  8591. "/Market/QueryGoodsesByLoginID": {
  8592. "get": {
  8593. "security": [
  8594. {
  8595. "ApiKeyAuth": []
  8596. }
  8597. ],
  8598. "produces": [
  8599. "application/json"
  8600. ],
  8601. "tags": [
  8602. "通用市场"
  8603. ],
  8604. "summary": "获取登录账号有权限的商品信息",
  8605. "parameters": [
  8606. {
  8607. "type": "integer",
  8608. "description": "登录账号",
  8609. "name": "loginID",
  8610. "in": "query",
  8611. "required": true
  8612. },
  8613. {
  8614. "type": "string",
  8615. "description": "市场ID列表,格式:1,2,3",
  8616. "name": "marketIDs",
  8617. "in": "query"
  8618. }
  8619. ],
  8620. "responses": {
  8621. "200": {
  8622. "description": "OK",
  8623. "schema": {
  8624. "$ref": "#/definitions/models.Goods"
  8625. }
  8626. },
  8627. "500": {
  8628. "description": "Internal Server Error",
  8629. "schema": {
  8630. "$ref": "#/definitions/app.Response"
  8631. }
  8632. }
  8633. }
  8634. }
  8635. },
  8636. "/Market/QueryMarketRun": {
  8637. "get": {
  8638. "security": [
  8639. {
  8640. "ApiKeyAuth": []
  8641. }
  8642. ],
  8643. "produces": [
  8644. "application/json"
  8645. ],
  8646. "tags": [
  8647. "通用市场"
  8648. ],
  8649. "summary": "查询市场运行信息",
  8650. "parameters": [
  8651. {
  8652. "type": "integer",
  8653. "description": "市场ID,不传返回所有",
  8654. "name": "marketID",
  8655. "in": "query"
  8656. }
  8657. ],
  8658. "responses": {
  8659. "200": {
  8660. "description": "OK",
  8661. "schema": {
  8662. "$ref": "#/definitions/models.Marketrun"
  8663. }
  8664. },
  8665. "500": {
  8666. "description": "Internal Server Error",
  8667. "schema": {
  8668. "$ref": "#/definitions/app.Response"
  8669. }
  8670. }
  8671. }
  8672. }
  8673. },
  8674. "/Market/QueryMarketsByLoginID": {
  8675. "get": {
  8676. "security": [
  8677. {
  8678. "ApiKeyAuth": []
  8679. }
  8680. ],
  8681. "produces": [
  8682. "application/json"
  8683. ],
  8684. "tags": [
  8685. "通用市场"
  8686. ],
  8687. "summary": "获取登录账号有权限的市场信息",
  8688. "parameters": [
  8689. {
  8690. "type": "integer",
  8691. "description": "登录账号",
  8692. "name": "loginID",
  8693. "in": "query",
  8694. "required": true
  8695. }
  8696. ],
  8697. "responses": {
  8698. "200": {
  8699. "description": "OK",
  8700. "schema": {
  8701. "$ref": "#/definitions/models.Market"
  8702. }
  8703. },
  8704. "500": {
  8705. "description": "Internal Server Error",
  8706. "schema": {
  8707. "$ref": "#/definitions/app.Response"
  8708. }
  8709. }
  8710. }
  8711. }
  8712. },
  8713. "/Order/QueryHisTradeDetail": {
  8714. "get": {
  8715. "security": [
  8716. {
  8717. "ApiKeyAuth": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "通用单据"
  8725. ],
  8726. "summary": "历史成交单查询(合约市场)",
  8727. "parameters": [
  8728. {
  8729. "type": "string",
  8730. "description": "资金账户 - 格式:1,2,3",
  8731. "name": "accountID",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "成交单号",
  8738. "name": "tradeID",
  8739. "in": "query"
  8740. },
  8741. {
  8742. "type": "integer",
  8743. "description": "委托单号",
  8744. "name": "orderID",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "integer",
  8749. "description": "商品ID",
  8750. "name": "goodsID",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "string",
  8755. "description": "交易模式 - 格式:1,2,3",
  8756. "name": "tradeMode",
  8757. "in": "query"
  8758. },
  8759. {
  8760. "type": "integer",
  8761. "description": "委托单据类型",
  8762. "name": "buildType",
  8763. "in": "query"
  8764. },
  8765. {
  8766. "type": "string",
  8767. "description": "成交类别 - 格式:1,2,3",
  8768. "name": "tradeType",
  8769. "in": "query"
  8770. },
  8771. {
  8772. "type": "string",
  8773. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8774. "name": "startDate",
  8775. "in": "query"
  8776. },
  8777. {
  8778. "type": "string",
  8779. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8780. "name": "endDate",
  8781. "in": "query"
  8782. }
  8783. ],
  8784. "responses": {
  8785. "200": {
  8786. "description": "OK",
  8787. "schema": {
  8788. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8789. }
  8790. },
  8791. "500": {
  8792. "description": "Internal Server Error",
  8793. "schema": {
  8794. "$ref": "#/definitions/app.Response"
  8795. }
  8796. }
  8797. }
  8798. }
  8799. },
  8800. "/Order/QueryHisTradeOrderDetail": {
  8801. "get": {
  8802. "security": [
  8803. {
  8804. "ApiKeyAuth": []
  8805. }
  8806. ],
  8807. "produces": [
  8808. "application/json"
  8809. ],
  8810. "tags": [
  8811. "通用单据"
  8812. ],
  8813. "summary": "历史委托单查询请求(合约市场)",
  8814. "parameters": [
  8815. {
  8816. "type": "string",
  8817. "description": "资金账户 - 格式:1,2,3",
  8818. "name": "accountID",
  8819. "in": "query",
  8820. "required": true
  8821. },
  8822. {
  8823. "type": "string",
  8824. "description": "交易模式 - 格式:1,2,3",
  8825. "name": "tradeMode",
  8826. "in": "query"
  8827. },
  8828. {
  8829. "type": "string",
  8830. "description": "委托状态 - 格式:1,2,3",
  8831. "name": "orderStatus",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "integer",
  8836. "description": "委托单号",
  8837. "name": "orderID",
  8838. "in": "query"
  8839. },
  8840. {
  8841. "type": "string",
  8842. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8843. "name": "startDate",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "string",
  8848. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8849. "name": "endDate",
  8850. "in": "query"
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8858. }
  8859. },
  8860. "500": {
  8861. "description": "Internal Server Error",
  8862. "schema": {
  8863. "$ref": "#/definitions/app.Response"
  8864. }
  8865. }
  8866. }
  8867. }
  8868. },
  8869. "/Order/QueryTradeDetail": {
  8870. "get": {
  8871. "security": [
  8872. {
  8873. "ApiKeyAuth": []
  8874. }
  8875. ],
  8876. "produces": [
  8877. "application/json"
  8878. ],
  8879. "tags": [
  8880. "通用单据"
  8881. ],
  8882. "summary": "成交单查询(合约市场)",
  8883. "parameters": [
  8884. {
  8885. "type": "string",
  8886. "description": "资金账户 - 格式:1,2,3",
  8887. "name": "accountID",
  8888. "in": "query",
  8889. "required": true
  8890. },
  8891. {
  8892. "type": "integer",
  8893. "description": "成交单号",
  8894. "name": "tradeID",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "委托单号",
  8900. "name": "orderID",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "交易模式 - 格式:1,2,3",
  8906. "name": "tradeMode",
  8907. "in": "query"
  8908. },
  8909. {
  8910. "type": "integer",
  8911. "description": "委托单据类型",
  8912. "name": "buildType",
  8913. "in": "query"
  8914. },
  8915. {
  8916. "type": "string",
  8917. "description": "成交类别 - 格式:1,2,3",
  8918. "name": "tradeType",
  8919. "in": "query"
  8920. },
  8921. {
  8922. "type": "integer",
  8923. "description": "商品ID",
  8924. "name": "goodsID",
  8925. "in": "query"
  8926. }
  8927. ],
  8928. "responses": {
  8929. "200": {
  8930. "description": "OK",
  8931. "schema": {
  8932. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8933. }
  8934. },
  8935. "500": {
  8936. "description": "Internal Server Error",
  8937. "schema": {
  8938. "$ref": "#/definitions/app.Response"
  8939. }
  8940. }
  8941. }
  8942. }
  8943. },
  8944. "/Order/QueryTradeHolderDetail": {
  8945. "get": {
  8946. "security": [
  8947. {
  8948. "ApiKeyAuth": []
  8949. }
  8950. ],
  8951. "produces": [
  8952. "application/json"
  8953. ],
  8954. "tags": [
  8955. "通用单据"
  8956. ],
  8957. "summary": "查询持仓明细",
  8958. "parameters": [
  8959. {
  8960. "type": "integer",
  8961. "description": "用户id",
  8962. "name": "userid",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "资金账号, 格式 1,2,3",
  8968. "name": "accids",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "string",
  8973. "description": "交易模式, 格式 1,2,3",
  8974. "name": "trademodes",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "string",
  8979. "description": "市场id, 格式 1,2,3",
  8980. "name": "marketids",
  8981. "in": "query"
  8982. },
  8983. {
  8984. "type": "integer",
  8985. "description": "商品id",
  8986. "name": "goodsid",
  8987. "in": "query"
  8988. },
  8989. {
  8990. "type": "integer",
  8991. "description": "买卖方向 0-买 1-卖",
  8992. "name": "buyorsell",
  8993. "in": "query"
  8994. }
  8995. ],
  8996. "responses": {
  8997. "200": {
  8998. "description": "OK",
  8999. "schema": {
  9000. "type": "array",
  9001. "items": {
  9002. "$ref": "#/definitions/models.TradeHolderDetail"
  9003. }
  9004. }
  9005. },
  9006. "500": {
  9007. "description": "Internal Server Error",
  9008. "schema": {
  9009. "$ref": "#/definitions/app.Response"
  9010. }
  9011. }
  9012. }
  9013. }
  9014. },
  9015. "/Order/QueryTradeOrderDetail": {
  9016. "get": {
  9017. "security": [
  9018. {
  9019. "ApiKeyAuth": []
  9020. }
  9021. ],
  9022. "produces": [
  9023. "application/json"
  9024. ],
  9025. "tags": [
  9026. "通用单据"
  9027. ],
  9028. "summary": "委托单查询请求(合约市场)",
  9029. "parameters": [
  9030. {
  9031. "type": "string",
  9032. "description": "资金账户 - 格式:1,2,3",
  9033. "name": "accountID",
  9034. "in": "query",
  9035. "required": true
  9036. },
  9037. {
  9038. "type": "string",
  9039. "description": "交易模式 - 格式:1,2,3",
  9040. "name": "tradeMode",
  9041. "in": "query"
  9042. },
  9043. {
  9044. "type": "string",
  9045. "description": "委托状态 - 格式:1,2,3",
  9046. "name": "orderStatus",
  9047. "in": "query"
  9048. },
  9049. {
  9050. "type": "integer",
  9051. "description": "委托单号",
  9052. "name": "orderID",
  9053. "in": "query"
  9054. }
  9055. ],
  9056. "responses": {
  9057. "200": {
  9058. "description": "OK",
  9059. "schema": {
  9060. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9061. }
  9062. },
  9063. "500": {
  9064. "description": "Internal Server Error",
  9065. "schema": {
  9066. "$ref": "#/definitions/app.Response"
  9067. }
  9068. }
  9069. }
  9070. }
  9071. },
  9072. "/Order/QueryTradePosition": {
  9073. "get": {
  9074. "security": [
  9075. {
  9076. "ApiKeyAuth": []
  9077. }
  9078. ],
  9079. "produces": [
  9080. "application/json"
  9081. ],
  9082. "tags": [
  9083. "通用单据"
  9084. ],
  9085. "summary": "持仓汇总查询(合约市场)",
  9086. "parameters": [
  9087. {
  9088. "type": "string",
  9089. "description": "资金账户 - 格式:1,2,3",
  9090. "name": "accountID",
  9091. "in": "query",
  9092. "required": true
  9093. },
  9094. {
  9095. "type": "string",
  9096. "description": "交易模式 - 格式:1,2,3",
  9097. "name": "tradeMode",
  9098. "in": "query"
  9099. }
  9100. ],
  9101. "responses": {
  9102. "200": {
  9103. "description": "OK",
  9104. "schema": {
  9105. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9106. }
  9107. },
  9108. "500": {
  9109. "description": "Internal Server Error",
  9110. "schema": {
  9111. "$ref": "#/definitions/app.Response"
  9112. }
  9113. }
  9114. }
  9115. }
  9116. },
  9117. "/Qhj/QueryAccountInOutApply": {
  9118. "get": {
  9119. "security": [
  9120. {
  9121. "ApiKeyAuth": []
  9122. }
  9123. ],
  9124. "produces": [
  9125. "application/json"
  9126. ],
  9127. "tags": [
  9128. "大连千海金"
  9129. ],
  9130. "summary": "查询充值提现",
  9131. "parameters": [
  9132. {
  9133. "type": "integer",
  9134. "description": "用户ID",
  9135. "name": "userid",
  9136. "in": "query",
  9137. "required": true
  9138. },
  9139. {
  9140. "type": "string",
  9141. "description": "申请起始日期(格式yyyymmdd)",
  9142. "name": "begindate",
  9143. "in": "query"
  9144. },
  9145. {
  9146. "type": "string",
  9147. "description": "申请截止日期(格式yyyymmdd)",
  9148. "name": "enddate",
  9149. "in": "query"
  9150. },
  9151. {
  9152. "type": "string",
  9153. "description": "模糊搜索名称",
  9154. "name": "likename",
  9155. "in": "query"
  9156. },
  9157. {
  9158. "type": "integer",
  9159. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9160. "name": "applystatus",
  9161. "in": "query"
  9162. },
  9163. {
  9164. "type": "integer",
  9165. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9166. "name": "querytype",
  9167. "in": "query"
  9168. }
  9169. ],
  9170. "responses": {
  9171. "200": {
  9172. "description": "OK",
  9173. "schema": {
  9174. "type": "array",
  9175. "items": {
  9176. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9177. }
  9178. }
  9179. },
  9180. "500": {
  9181. "description": "Internal Server Error",
  9182. "schema": {
  9183. "$ref": "#/definitions/app.Response"
  9184. }
  9185. }
  9186. }
  9187. }
  9188. },
  9189. "/Qhj/QueryAreaFinanceConfig": {
  9190. "get": {
  9191. "security": [
  9192. {
  9193. "ApiKeyAuth": []
  9194. }
  9195. ],
  9196. "produces": [
  9197. "application/json"
  9198. ],
  9199. "tags": [
  9200. "大连千海金"
  9201. ],
  9202. "summary": "查询企业配置表",
  9203. "parameters": [
  9204. {
  9205. "type": "integer",
  9206. "description": "机构用户ID 其他做市关系,都设置为 1",
  9207. "name": "userid",
  9208. "in": "query"
  9209. }
  9210. ],
  9211. "responses": {
  9212. "200": {
  9213. "description": "OK",
  9214. "schema": {
  9215. "type": "array",
  9216. "items": {
  9217. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9218. }
  9219. }
  9220. },
  9221. "500": {
  9222. "description": "Internal Server Error",
  9223. "schema": {
  9224. "$ref": "#/definitions/app.Response"
  9225. }
  9226. }
  9227. }
  9228. }
  9229. },
  9230. "/Qhj/QueryBankAccountSign": {
  9231. "get": {
  9232. "security": [
  9233. {
  9234. "ApiKeyAuth": []
  9235. }
  9236. ],
  9237. "produces": [
  9238. "application/json"
  9239. ],
  9240. "tags": [
  9241. "大连千海金"
  9242. ],
  9243. "summary": "查询签约银行信息(提现账户管理)",
  9244. "parameters": [
  9245. {
  9246. "type": "integer",
  9247. "description": "用户ID",
  9248. "name": "userid",
  9249. "in": "query",
  9250. "required": true
  9251. }
  9252. ],
  9253. "responses": {
  9254. "200": {
  9255. "description": "OK",
  9256. "schema": {
  9257. "type": "array",
  9258. "items": {
  9259. "$ref": "#/definitions/models.QhjBankAccountSign"
  9260. }
  9261. }
  9262. },
  9263. "500": {
  9264. "description": "Internal Server Error",
  9265. "schema": {
  9266. "$ref": "#/definitions/app.Response"
  9267. }
  9268. }
  9269. }
  9270. }
  9271. },
  9272. "/Qhj/QueryBankInfo": {
  9273. "get": {
  9274. "security": [
  9275. {
  9276. "ApiKeyAuth": []
  9277. }
  9278. ],
  9279. "produces": [
  9280. "application/json"
  9281. ],
  9282. "tags": [
  9283. "大连千海金"
  9284. ],
  9285. "summary": "查询开户行",
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "type": "array",
  9291. "items": {
  9292. "$ref": "#/definitions/models.QhjBankInfo"
  9293. }
  9294. }
  9295. },
  9296. "500": {
  9297. "description": "Internal Server Error",
  9298. "schema": {
  9299. "$ref": "#/definitions/app.Response"
  9300. }
  9301. }
  9302. }
  9303. }
  9304. },
  9305. "/Qhj/QueryBrokerApply": {
  9306. "get": {
  9307. "security": [
  9308. {
  9309. "ApiKeyAuth": []
  9310. }
  9311. ],
  9312. "produces": [
  9313. "application/json"
  9314. ],
  9315. "tags": [
  9316. "大连千海金"
  9317. ],
  9318. "summary": "查询经纪人申请",
  9319. "parameters": [
  9320. {
  9321. "type": "integer",
  9322. "description": "所属机构ID",
  9323. "name": "userid",
  9324. "in": "query"
  9325. },
  9326. {
  9327. "type": "string",
  9328. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9329. "name": "filterstatus",
  9330. "in": "query"
  9331. }
  9332. ],
  9333. "responses": {
  9334. "200": {
  9335. "description": "OK",
  9336. "schema": {
  9337. "type": "array",
  9338. "items": {
  9339. "$ref": "#/definitions/models.QhjBrokerApply"
  9340. }
  9341. }
  9342. },
  9343. "500": {
  9344. "description": "Internal Server Error",
  9345. "schema": {
  9346. "$ref": "#/definitions/app.Response"
  9347. }
  9348. }
  9349. }
  9350. }
  9351. },
  9352. "/Qhj/QueryBrokerApplyEx": {
  9353. "get": {
  9354. "security": [
  9355. {
  9356. "ApiKeyAuth": []
  9357. }
  9358. ],
  9359. "produces": [
  9360. "application/json"
  9361. ],
  9362. "tags": [
  9363. "大连千海金"
  9364. ],
  9365. "summary": "查询经纪人信息和申请记录",
  9366. "parameters": [
  9367. {
  9368. "type": "integer",
  9369. "description": "所属机构ID",
  9370. "name": "userid",
  9371. "in": "query"
  9372. }
  9373. ],
  9374. "responses": {
  9375. "200": {
  9376. "description": "OK",
  9377. "schema": {
  9378. "type": "array",
  9379. "items": {
  9380. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9381. }
  9382. }
  9383. },
  9384. "500": {
  9385. "description": "Internal Server Error",
  9386. "schema": {
  9387. "$ref": "#/definitions/app.Response"
  9388. }
  9389. }
  9390. }
  9391. }
  9392. },
  9393. "/Qhj/QueryBrokerRewardLog": {
  9394. "get": {
  9395. "security": [
  9396. {
  9397. "ApiKeyAuth": []
  9398. }
  9399. ],
  9400. "produces": [
  9401. "application/json"
  9402. ],
  9403. "tags": [
  9404. "大连千海金"
  9405. ],
  9406. "summary": "查询奖励流水(我的奖励)",
  9407. "parameters": [
  9408. {
  9409. "type": "integer",
  9410. "description": "用户ID",
  9411. "name": "userid",
  9412. "in": "query",
  9413. "required": true
  9414. },
  9415. {
  9416. "type": "string",
  9417. "description": "开始交易日(yyyymmdd)",
  9418. "name": "begindate",
  9419. "in": "query"
  9420. },
  9421. {
  9422. "type": "string",
  9423. "description": "结束交易日(yyyymmdd)",
  9424. "name": "enddate",
  9425. "in": "query"
  9426. }
  9427. ],
  9428. "responses": {
  9429. "200": {
  9430. "description": "OK",
  9431. "schema": {
  9432. "type": "array",
  9433. "items": {
  9434. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9435. }
  9436. }
  9437. },
  9438. "500": {
  9439. "description": "Internal Server Error",
  9440. "schema": {
  9441. "$ref": "#/definitions/app.Response"
  9442. }
  9443. }
  9444. }
  9445. }
  9446. },
  9447. "/Qhj/QueryContract": {
  9448. "get": {
  9449. "security": [
  9450. {
  9451. "ApiKeyAuth": []
  9452. }
  9453. ],
  9454. "produces": [
  9455. "application/json"
  9456. ],
  9457. "tags": [
  9458. "大连千海金"
  9459. ],
  9460. "summary": "查询融资明细(合同)",
  9461. "parameters": [
  9462. {
  9463. "type": "integer",
  9464. "description": "用户ID",
  9465. "name": "userid",
  9466. "in": "query"
  9467. },
  9468. {
  9469. "type": "integer",
  9470. "description": "scf合同id",
  9471. "name": "scfcontractid",
  9472. "in": "query"
  9473. }
  9474. ],
  9475. "responses": {
  9476. "200": {
  9477. "description": "OK",
  9478. "schema": {
  9479. "type": "array",
  9480. "items": {
  9481. "$ref": "#/definitions/models.QhjContract"
  9482. }
  9483. }
  9484. },
  9485. "500": {
  9486. "description": "Internal Server Error",
  9487. "schema": {
  9488. "$ref": "#/definitions/app.Response"
  9489. }
  9490. }
  9491. }
  9492. }
  9493. },
  9494. "/Qhj/QueryContractLog": {
  9495. "get": {
  9496. "security": [
  9497. {
  9498. "ApiKeyAuth": []
  9499. }
  9500. ],
  9501. "produces": [
  9502. "application/json"
  9503. ],
  9504. "tags": [
  9505. "大连千海金"
  9506. ],
  9507. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9508. "parameters": [
  9509. {
  9510. "type": "integer",
  9511. "description": "scf合同id",
  9512. "name": "scfcontractid",
  9513. "in": "query",
  9514. "required": true
  9515. },
  9516. {
  9517. "type": "string",
  9518. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9519. "name": "amounttype",
  9520. "in": "query"
  9521. }
  9522. ],
  9523. "responses": {
  9524. "200": {
  9525. "description": "OK",
  9526. "schema": {
  9527. "type": "array",
  9528. "items": {
  9529. "$ref": "#/definitions/models.QhjContractLog"
  9530. }
  9531. }
  9532. },
  9533. "500": {
  9534. "description": "Internal Server Error",
  9535. "schema": {
  9536. "$ref": "#/definitions/app.Response"
  9537. }
  9538. }
  9539. }
  9540. }
  9541. },
  9542. "/Qhj/QueryCusBankSignBank": {
  9543. "get": {
  9544. "security": [
  9545. {
  9546. "ApiKeyAuth": []
  9547. }
  9548. ],
  9549. "produces": [
  9550. "application/json"
  9551. ],
  9552. "tags": [
  9553. "大连千海金"
  9554. ],
  9555. "summary": "查询托管银行",
  9556. "responses": {
  9557. "200": {
  9558. "description": "OK",
  9559. "schema": {
  9560. "type": "array",
  9561. "items": {
  9562. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9563. }
  9564. }
  9565. },
  9566. "500": {
  9567. "description": "Internal Server Error",
  9568. "schema": {
  9569. "$ref": "#/definitions/app.Response"
  9570. }
  9571. }
  9572. }
  9573. }
  9574. },
  9575. "/Qhj/QueryCustomerInfo": {
  9576. "get": {
  9577. "security": [
  9578. {
  9579. "ApiKeyAuth": []
  9580. }
  9581. ],
  9582. "produces": [
  9583. "application/json"
  9584. ],
  9585. "tags": [
  9586. "大连千海金"
  9587. ],
  9588. "summary": "查询客户资料",
  9589. "parameters": [
  9590. {
  9591. "type": "integer",
  9592. "description": "用户ID",
  9593. "name": "userid",
  9594. "in": "query",
  9595. "required": true
  9596. },
  9597. {
  9598. "type": "integer",
  9599. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9600. "name": "querytype",
  9601. "in": "query",
  9602. "required": true
  9603. },
  9604. {
  9605. "type": "integer",
  9606. "description": "客户类型 1-个人 2-企业",
  9607. "name": "userinfotype",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "string",
  9612. "description": "客户名称(模糊匹配)",
  9613. "name": "customername",
  9614. "in": "query"
  9615. },
  9616. {
  9617. "type": "string",
  9618. "description": "昵称(模糊匹配)",
  9619. "name": "nickname",
  9620. "in": "query"
  9621. },
  9622. {
  9623. "type": "integer",
  9624. "description": "是否包含子级 1-包含",
  9625. "name": "includesub",
  9626. "in": "query"
  9627. }
  9628. ],
  9629. "responses": {
  9630. "200": {
  9631. "description": "OK",
  9632. "schema": {
  9633. "type": "array",
  9634. "items": {
  9635. "$ref": "#/definitions/models.QhjCustomer"
  9636. }
  9637. }
  9638. },
  9639. "500": {
  9640. "description": "Internal Server Error",
  9641. "schema": {
  9642. "$ref": "#/definitions/app.Response"
  9643. }
  9644. }
  9645. }
  9646. }
  9647. },
  9648. "/Qhj/QueryGoodsEx": {
  9649. "get": {
  9650. "security": [
  9651. {
  9652. "ApiKeyAuth": []
  9653. }
  9654. ],
  9655. "produces": [
  9656. "application/json"
  9657. ],
  9658. "tags": [
  9659. "大连千海金"
  9660. ],
  9661. "summary": "交易商品扩展表",
  9662. "parameters": [
  9663. {
  9664. "type": "integer",
  9665. "description": "商品id",
  9666. "name": "goodsid",
  9667. "in": "query"
  9668. }
  9669. ],
  9670. "responses": {
  9671. "200": {
  9672. "description": "OK",
  9673. "schema": {
  9674. "type": "array",
  9675. "items": {
  9676. "$ref": "#/definitions/models.Qhjgoodsex"
  9677. }
  9678. }
  9679. },
  9680. "500": {
  9681. "description": "Internal Server Error",
  9682. "schema": {
  9683. "$ref": "#/definitions/app.Response"
  9684. }
  9685. }
  9686. }
  9687. }
  9688. },
  9689. "/Qhj/QueryMyTeam": {
  9690. "get": {
  9691. "security": [
  9692. {
  9693. "ApiKeyAuth": []
  9694. }
  9695. ],
  9696. "produces": [
  9697. "application/json"
  9698. ],
  9699. "tags": [
  9700. "大连千海金"
  9701. ],
  9702. "summary": "查询我的团队",
  9703. "parameters": [
  9704. {
  9705. "type": "integer",
  9706. "description": "用户ID",
  9707. "name": "userid",
  9708. "in": "query",
  9709. "required": true
  9710. }
  9711. ],
  9712. "responses": {
  9713. "200": {
  9714. "description": "OK",
  9715. "schema": {
  9716. "type": "array",
  9717. "items": {
  9718. "$ref": "#/definitions/models.QhjMyTeamEx"
  9719. }
  9720. }
  9721. },
  9722. "500": {
  9723. "description": "Internal Server Error",
  9724. "schema": {
  9725. "$ref": "#/definitions/app.Response"
  9726. }
  9727. }
  9728. }
  9729. }
  9730. },
  9731. "/Qhj/QueryMyTeamOrder": {
  9732. "get": {
  9733. "security": [
  9734. {
  9735. "ApiKeyAuth": []
  9736. }
  9737. ],
  9738. "produces": [
  9739. "application/json"
  9740. ],
  9741. "tags": [
  9742. "大连千海金"
  9743. ],
  9744. "summary": "查询团队订单(我的团队/团队订单)",
  9745. "parameters": [
  9746. {
  9747. "type": "integer",
  9748. "description": "页码",
  9749. "name": "page",
  9750. "in": "query"
  9751. },
  9752. {
  9753. "type": "integer",
  9754. "description": "每页条数",
  9755. "name": "pagesize",
  9756. "in": "query"
  9757. },
  9758. {
  9759. "type": "integer",
  9760. "description": "用户ID",
  9761. "name": "userid",
  9762. "in": "query",
  9763. "required": true
  9764. },
  9765. {
  9766. "type": "integer",
  9767. "description": "交易模式",
  9768. "name": "trademode",
  9769. "in": "query"
  9770. },
  9771. {
  9772. "type": "string",
  9773. "description": "名称(模糊搜索账户)",
  9774. "name": "filtername",
  9775. "in": "query"
  9776. }
  9777. ],
  9778. "responses": {
  9779. "200": {
  9780. "description": "OK",
  9781. "schema": {
  9782. "type": "array",
  9783. "items": {
  9784. "$ref": "#/definitions/models.QhjTeamOrder"
  9785. }
  9786. }
  9787. },
  9788. "500": {
  9789. "description": "Internal Server Error",
  9790. "schema": {
  9791. "$ref": "#/definitions/app.Response"
  9792. }
  9793. }
  9794. }
  9795. }
  9796. },
  9797. "/Qhj/QueryParentAreaList": {
  9798. "get": {
  9799. "security": [
  9800. {
  9801. "ApiKeyAuth": []
  9802. }
  9803. ],
  9804. "produces": [
  9805. "application/json"
  9806. ],
  9807. "tags": [
  9808. "大连千海金"
  9809. ],
  9810. "summary": "查询所属机构列表",
  9811. "parameters": [
  9812. {
  9813. "type": "integer",
  9814. "description": "用户ID",
  9815. "name": "userid",
  9816. "in": "query",
  9817. "required": true
  9818. }
  9819. ],
  9820. "responses": {
  9821. "200": {
  9822. "description": "OK",
  9823. "schema": {
  9824. "type": "array",
  9825. "items": {
  9826. "$ref": "#/definitions/models.QhjParentAreaList"
  9827. }
  9828. }
  9829. },
  9830. "500": {
  9831. "description": "Internal Server Error",
  9832. "schema": {
  9833. "$ref": "#/definitions/app.Response"
  9834. }
  9835. }
  9836. }
  9837. }
  9838. },
  9839. "/Qhj/QueryPayOrder": {
  9840. "get": {
  9841. "security": [
  9842. {
  9843. "ApiKeyAuth": []
  9844. }
  9845. ],
  9846. "produces": [
  9847. "application/json"
  9848. ],
  9849. "tags": [
  9850. "大连千海金"
  9851. ],
  9852. "summary": "查询待付款单据",
  9853. "parameters": [
  9854. {
  9855. "type": "integer",
  9856. "description": "资金账号id",
  9857. "name": "accountid",
  9858. "in": "query",
  9859. "required": true
  9860. },
  9861. {
  9862. "type": "integer",
  9863. "description": "成交单号",
  9864. "name": "tradeid",
  9865. "in": "query"
  9866. },
  9867. {
  9868. "type": "string",
  9869. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9870. "name": "payflag",
  9871. "in": "query"
  9872. }
  9873. ],
  9874. "responses": {
  9875. "200": {
  9876. "description": "OK",
  9877. "schema": {
  9878. "type": "array",
  9879. "items": {
  9880. "$ref": "#/definitions/models.QhjPayOrder"
  9881. }
  9882. }
  9883. },
  9884. "500": {
  9885. "description": "Internal Server Error",
  9886. "schema": {
  9887. "$ref": "#/definitions/app.Response"
  9888. }
  9889. }
  9890. }
  9891. }
  9892. },
  9893. "/Qhj/QueryPickArea": {
  9894. "get": {
  9895. "security": [
  9896. {
  9897. "ApiKeyAuth": []
  9898. }
  9899. ],
  9900. "produces": [
  9901. "application/json"
  9902. ],
  9903. "tags": [
  9904. "大连千海金"
  9905. ],
  9906. "summary": "查询提货门店",
  9907. "parameters": [
  9908. {
  9909. "type": "integer",
  9910. "description": "用户ID",
  9911. "name": "userid",
  9912. "in": "query"
  9913. }
  9914. ],
  9915. "responses": {
  9916. "200": {
  9917. "description": "OK",
  9918. "schema": {
  9919. "type": "array",
  9920. "items": {
  9921. "$ref": "#/definitions/models.QhjPickArea"
  9922. }
  9923. }
  9924. },
  9925. "500": {
  9926. "description": "Internal Server Error",
  9927. "schema": {
  9928. "$ref": "#/definitions/app.Response"
  9929. }
  9930. }
  9931. }
  9932. }
  9933. },
  9934. "/Qhj/QueryPickGoods": {
  9935. "get": {
  9936. "security": [
  9937. {
  9938. "ApiKeyAuth": []
  9939. }
  9940. ],
  9941. "produces": [
  9942. "application/json"
  9943. ],
  9944. "tags": [
  9945. "大连千海金"
  9946. ],
  9947. "summary": "查询提货商品",
  9948. "parameters": [
  9949. {
  9950. "type": "integer",
  9951. "description": "交易商品id",
  9952. "name": "goodsid",
  9953. "in": "query",
  9954. "required": true
  9955. },
  9956. {
  9957. "type": "string",
  9958. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9959. "name": "status",
  9960. "in": "query"
  9961. }
  9962. ],
  9963. "responses": {
  9964. "200": {
  9965. "description": "OK",
  9966. "schema": {
  9967. "type": "array",
  9968. "items": {
  9969. "$ref": "#/definitions/models.QhjPickGoods"
  9970. }
  9971. }
  9972. },
  9973. "500": {
  9974. "description": "Internal Server Error",
  9975. "schema": {
  9976. "$ref": "#/definitions/app.Response"
  9977. }
  9978. }
  9979. }
  9980. }
  9981. },
  9982. "/Qhj/QueryRSTriggerLog": {
  9983. "get": {
  9984. "security": [
  9985. {
  9986. "ApiKeyAuth": []
  9987. }
  9988. ],
  9989. "produces": [
  9990. "application/json"
  9991. ],
  9992. "tags": [
  9993. "大连千海金"
  9994. ],
  9995. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9996. "parameters": [
  9997. {
  9998. "type": "integer",
  9999. "description": "用户ID",
  10000. "name": "userid",
  10001. "in": "query"
  10002. },
  10003. {
  10004. "type": "integer",
  10005. "description": "定投策略id",
  10006. "name": "regularlystrategyid",
  10007. "in": "query"
  10008. },
  10009. {
  10010. "type": "integer",
  10011. "description": "商品id",
  10012. "name": "goodsid",
  10013. "in": "query"
  10014. },
  10015. {
  10016. "type": "string",
  10017. "description": "开始交易日(yyyymmdd)",
  10018. "name": "begindate",
  10019. "in": "query"
  10020. },
  10021. {
  10022. "type": "string",
  10023. "description": "结束交易日(yyyymmdd)",
  10024. "name": "enddate",
  10025. "in": "query"
  10026. },
  10027. {
  10028. "type": "string",
  10029. "description": "名称(模糊搜索账户)",
  10030. "name": "filtername",
  10031. "in": "query"
  10032. }
  10033. ],
  10034. "responses": {
  10035. "200": {
  10036. "description": "OK",
  10037. "schema": {
  10038. "type": "array",
  10039. "items": {
  10040. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10041. }
  10042. }
  10043. },
  10044. "500": {
  10045. "description": "Internal Server Error",
  10046. "schema": {
  10047. "$ref": "#/definitions/app.Response"
  10048. }
  10049. }
  10050. }
  10051. }
  10052. },
  10053. "/Qhj/QueryRStrategy": {
  10054. "get": {
  10055. "security": [
  10056. {
  10057. "ApiKeyAuth": []
  10058. }
  10059. ],
  10060. "produces": [
  10061. "application/json"
  10062. ],
  10063. "tags": [
  10064. "大连千海金"
  10065. ],
  10066. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10067. "parameters": [
  10068. {
  10069. "type": "integer",
  10070. "description": "用户ID",
  10071. "name": "userid",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "integer",
  10076. "description": "商品id",
  10077. "name": "goodsid",
  10078. "in": "query"
  10079. },
  10080. {
  10081. "type": "string",
  10082. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10083. "name": "status",
  10084. "in": "query"
  10085. },
  10086. {
  10087. "type": "string",
  10088. "description": "名称(模糊搜索账户)",
  10089. "name": "filtername",
  10090. "in": "query"
  10091. }
  10092. ],
  10093. "responses": {
  10094. "200": {
  10095. "description": "OK",
  10096. "schema": {
  10097. "type": "array",
  10098. "items": {
  10099. "$ref": "#/definitions/models.QhjRStrategy"
  10100. }
  10101. }
  10102. },
  10103. "500": {
  10104. "description": "Internal Server Error",
  10105. "schema": {
  10106. "$ref": "#/definitions/app.Response"
  10107. }
  10108. }
  10109. }
  10110. }
  10111. },
  10112. "/Qhj/QueryReckonPriceLog": {
  10113. "get": {
  10114. "security": [
  10115. {
  10116. "ApiKeyAuth": []
  10117. }
  10118. ],
  10119. "produces": [
  10120. "application/json"
  10121. ],
  10122. "tags": [
  10123. "大连千海金"
  10124. ],
  10125. "summary": "查询定投价(结算价)",
  10126. "parameters": [
  10127. {
  10128. "type": "integer",
  10129. "description": "商品ID",
  10130. "name": "goodsid",
  10131. "in": "query"
  10132. },
  10133. {
  10134. "type": "string",
  10135. "description": "交易日 格式(yyyymmdd)",
  10136. "name": "tradedate",
  10137. "in": "query"
  10138. }
  10139. ],
  10140. "responses": {
  10141. "200": {
  10142. "description": "OK",
  10143. "schema": {
  10144. "type": "array",
  10145. "items": {
  10146. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10147. }
  10148. }
  10149. },
  10150. "500": {
  10151. "description": "Internal Server Error",
  10152. "schema": {
  10153. "$ref": "#/definitions/app.Response"
  10154. }
  10155. }
  10156. }
  10157. }
  10158. },
  10159. "/Qhj/QueryScoreLog": {
  10160. "get": {
  10161. "security": [
  10162. {
  10163. "ApiKeyAuth": []
  10164. }
  10165. ],
  10166. "produces": [
  10167. "application/json"
  10168. ],
  10169. "tags": [
  10170. "大连千海金"
  10171. ],
  10172. "summary": "查询积分流水(我的积分)",
  10173. "parameters": [
  10174. {
  10175. "type": "integer",
  10176. "description": "用户ID",
  10177. "name": "userid",
  10178. "in": "query",
  10179. "required": true
  10180. },
  10181. {
  10182. "type": "string",
  10183. "description": "开始交易日(yyyymmdd)",
  10184. "name": "begindate",
  10185. "in": "query"
  10186. },
  10187. {
  10188. "type": "string",
  10189. "description": "结束交易日(yyyymmdd)",
  10190. "name": "enddate",
  10191. "in": "query"
  10192. },
  10193. {
  10194. "type": "integer",
  10195. "description": "最近多少条",
  10196. "name": "lastnum",
  10197. "in": "query"
  10198. }
  10199. ],
  10200. "responses": {
  10201. "200": {
  10202. "description": "OK",
  10203. "schema": {
  10204. "type": "array",
  10205. "items": {
  10206. "$ref": "#/definitions/models.QhjScoreLog"
  10207. }
  10208. }
  10209. },
  10210. "500": {
  10211. "description": "Internal Server Error",
  10212. "schema": {
  10213. "$ref": "#/definitions/app.Response"
  10214. }
  10215. }
  10216. }
  10217. }
  10218. },
  10219. "/Qhj/QuerySiteColumnDetail": {
  10220. "get": {
  10221. "security": [
  10222. {
  10223. "ApiKeyAuth": []
  10224. }
  10225. ],
  10226. "produces": [
  10227. "application/json"
  10228. ],
  10229. "tags": [
  10230. "大连千海金"
  10231. ],
  10232. "summary": "查询资讯",
  10233. "parameters": [
  10234. {
  10235. "type": "integer",
  10236. "description": "用户ID",
  10237. "name": "userid",
  10238. "in": "query",
  10239. "required": true
  10240. }
  10241. ],
  10242. "responses": {
  10243. "200": {
  10244. "description": "OK",
  10245. "schema": {
  10246. "type": "array",
  10247. "items": {
  10248. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10249. }
  10250. }
  10251. },
  10252. "500": {
  10253. "description": "Internal Server Error",
  10254. "schema": {
  10255. "$ref": "#/definitions/app.Response"
  10256. }
  10257. }
  10258. }
  10259. }
  10260. },
  10261. "/Qhj/QueryTradeGoodsPickup": {
  10262. "get": {
  10263. "security": [
  10264. {
  10265. "ApiKeyAuth": []
  10266. }
  10267. ],
  10268. "produces": [
  10269. "application/json"
  10270. ],
  10271. "tags": [
  10272. "大连千海金"
  10273. ],
  10274. "summary": "查询提货",
  10275. "parameters": [
  10276. {
  10277. "type": "integer",
  10278. "description": "用户ID",
  10279. "name": "userid",
  10280. "in": "query",
  10281. "required": true
  10282. },
  10283. {
  10284. "type": "integer",
  10285. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10286. "name": "takeorderstatus",
  10287. "in": "query"
  10288. }
  10289. ],
  10290. "responses": {
  10291. "200": {
  10292. "description": "OK",
  10293. "schema": {
  10294. "type": "array",
  10295. "items": {
  10296. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10297. }
  10298. }
  10299. },
  10300. "500": {
  10301. "description": "Internal Server Error",
  10302. "schema": {
  10303. "$ref": "#/definitions/app.Response"
  10304. }
  10305. }
  10306. }
  10307. }
  10308. },
  10309. "/Qhj/QueryUserCollectConfig": {
  10310. "get": {
  10311. "security": [
  10312. {
  10313. "ApiKeyAuth": []
  10314. }
  10315. ],
  10316. "produces": [
  10317. "application/json"
  10318. ],
  10319. "tags": [
  10320. "大连千海金"
  10321. ],
  10322. "summary": "查询提现账户设置",
  10323. "parameters": [
  10324. {
  10325. "type": "integer",
  10326. "description": "用户ID",
  10327. "name": "userid",
  10328. "in": "query",
  10329. "required": true
  10330. }
  10331. ],
  10332. "responses": {
  10333. "200": {
  10334. "description": "OK",
  10335. "schema": {
  10336. "type": "array",
  10337. "items": {
  10338. "$ref": "#/definitions/models.UserCollectConfig"
  10339. }
  10340. }
  10341. },
  10342. "500": {
  10343. "description": "Internal Server Error",
  10344. "schema": {
  10345. "$ref": "#/definitions/app.Response"
  10346. }
  10347. }
  10348. }
  10349. }
  10350. },
  10351. "/Qhj/QueryUserReceiveInfo": {
  10352. "get": {
  10353. "security": [
  10354. {
  10355. "ApiKeyAuth": []
  10356. }
  10357. ],
  10358. "produces": [
  10359. "application/json"
  10360. ],
  10361. "tags": [
  10362. "大连千海金"
  10363. ],
  10364. "summary": "查询收货地址信息",
  10365. "parameters": [
  10366. {
  10367. "type": "integer",
  10368. "description": "用户ID",
  10369. "name": "userid",
  10370. "in": "query",
  10371. "required": true
  10372. }
  10373. ],
  10374. "responses": {
  10375. "200": {
  10376. "description": "OK",
  10377. "schema": {
  10378. "type": "array",
  10379. "items": {
  10380. "$ref": "#/definitions/models.UserReceiveInfo"
  10381. }
  10382. }
  10383. },
  10384. "500": {
  10385. "description": "Internal Server Error",
  10386. "schema": {
  10387. "$ref": "#/definitions/app.Response"
  10388. }
  10389. }
  10390. }
  10391. }
  10392. },
  10393. "/QhjMgr/QueryAccountInOutApply": {
  10394. "get": {
  10395. "security": [
  10396. {
  10397. "ApiKeyAuth": []
  10398. }
  10399. ],
  10400. "produces": [
  10401. "application/json"
  10402. ],
  10403. "tags": [
  10404. "大连千海金(PCWeb)"
  10405. ],
  10406. "summary": "查询充值提现",
  10407. "parameters": [
  10408. {
  10409. "type": "integer",
  10410. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10411. "name": "querytype",
  10412. "in": "query",
  10413. "required": true
  10414. },
  10415. {
  10416. "type": "integer",
  10417. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10418. "name": "applystatus",
  10419. "in": "query"
  10420. },
  10421. {
  10422. "type": "string",
  10423. "description": "申请起始日期(格式yyyymmdd)",
  10424. "name": "begindate",
  10425. "in": "query"
  10426. },
  10427. {
  10428. "type": "string",
  10429. "description": "申请截止日期(格式yyyymmdd)",
  10430. "name": "enddate",
  10431. "in": "query"
  10432. },
  10433. {
  10434. "type": "string",
  10435. "description": "模糊搜索名称",
  10436. "name": "likename",
  10437. "in": "query"
  10438. }
  10439. ],
  10440. "responses": {
  10441. "200": {
  10442. "description": "OK",
  10443. "schema": {
  10444. "type": "array",
  10445. "items": {
  10446. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10447. }
  10448. }
  10449. },
  10450. "500": {
  10451. "description": "Internal Server Error",
  10452. "schema": {
  10453. "$ref": "#/definitions/app.Response"
  10454. }
  10455. }
  10456. }
  10457. }
  10458. },
  10459. "/QhjMgr/QueryBrokerApply": {
  10460. "get": {
  10461. "security": [
  10462. {
  10463. "ApiKeyAuth": []
  10464. }
  10465. ],
  10466. "produces": [
  10467. "application/json"
  10468. ],
  10469. "tags": [
  10470. "大连千海金(PCWeb)"
  10471. ],
  10472. "summary": "查询经纪人申请",
  10473. "parameters": [
  10474. {
  10475. "type": "integer",
  10476. "description": "所属机构ID",
  10477. "name": "userid",
  10478. "in": "query"
  10479. },
  10480. {
  10481. "type": "string",
  10482. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10483. "name": "filterstatus",
  10484. "in": "query"
  10485. },
  10486. {
  10487. "type": "string",
  10488. "description": "名称(模糊匹配)",
  10489. "name": "filtername",
  10490. "in": "query"
  10491. },
  10492. {
  10493. "type": "integer",
  10494. "description": "是否包含子级 1-包含",
  10495. "name": "includesub",
  10496. "in": "query"
  10497. }
  10498. ],
  10499. "responses": {
  10500. "200": {
  10501. "description": "OK",
  10502. "schema": {
  10503. "type": "array",
  10504. "items": {
  10505. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10506. }
  10507. }
  10508. },
  10509. "500": {
  10510. "description": "Internal Server Error",
  10511. "schema": {
  10512. "$ref": "#/definitions/app.Response"
  10513. }
  10514. }
  10515. }
  10516. }
  10517. },
  10518. "/QhjMgr/QueryBrokerRewardReport": {
  10519. "get": {
  10520. "security": [
  10521. {
  10522. "ApiKeyAuth": []
  10523. }
  10524. ],
  10525. "produces": [
  10526. "application/json"
  10527. ],
  10528. "tags": [
  10529. "大连千海金(PCWeb)"
  10530. ],
  10531. "summary": "查询经纪人奖励报表(废弃)",
  10532. "parameters": [
  10533. {
  10534. "type": "integer",
  10535. "description": "所属机构ID",
  10536. "name": "userid",
  10537. "in": "query",
  10538. "required": true
  10539. },
  10540. {
  10541. "type": "integer",
  10542. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10543. "name": "cycletype",
  10544. "in": "query",
  10545. "required": true
  10546. },
  10547. {
  10548. "type": "string",
  10549. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10550. "name": "cycletime",
  10551. "in": "query",
  10552. "required": true
  10553. },
  10554. {
  10555. "type": "string",
  10556. "description": "名称(模糊匹配)",
  10557. "name": "filtername",
  10558. "in": "query"
  10559. },
  10560. {
  10561. "type": "integer",
  10562. "description": "是否包含子级 1-包含",
  10563. "name": "includesub",
  10564. "in": "query"
  10565. }
  10566. ],
  10567. "responses": {
  10568. "200": {
  10569. "description": "OK",
  10570. "schema": {
  10571. "type": "array",
  10572. "items": {
  10573. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10574. }
  10575. }
  10576. },
  10577. "500": {
  10578. "description": "Internal Server Error",
  10579. "schema": {
  10580. "$ref": "#/definitions/app.Response"
  10581. }
  10582. }
  10583. }
  10584. }
  10585. },
  10586. "/QhjMgr/QueryContract": {
  10587. "get": {
  10588. "security": [
  10589. {
  10590. "ApiKeyAuth": []
  10591. }
  10592. ],
  10593. "produces": [
  10594. "application/json"
  10595. ],
  10596. "tags": [
  10597. "大连千海金(PCWeb)"
  10598. ],
  10599. "summary": "查询融资信息(合同)",
  10600. "parameters": [
  10601. {
  10602. "type": "integer",
  10603. "description": "用户ID",
  10604. "name": "userid",
  10605. "in": "query"
  10606. },
  10607. {
  10608. "type": "integer",
  10609. "description": "商品id",
  10610. "name": "goodsid",
  10611. "in": "query"
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "名称(模糊搜索账户)",
  10616. "name": "filtername",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "string",
  10621. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10622. "name": "risklevel",
  10623. "in": "query"
  10624. },
  10625. {
  10626. "type": "string",
  10627. "description": "开始交易日(yyyymmdd)",
  10628. "name": "begindate",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "结束交易日(yyyymmdd)",
  10634. "name": "enddate",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "type": "array",
  10643. "items": {
  10644. "$ref": "#/definitions/models.QhjMgrContract"
  10645. }
  10646. }
  10647. },
  10648. "500": {
  10649. "description": "Internal Server Error",
  10650. "schema": {
  10651. "$ref": "#/definitions/app.Response"
  10652. }
  10653. }
  10654. }
  10655. }
  10656. },
  10657. "/QhjMgr/QueryCustomerInfo": {
  10658. "get": {
  10659. "security": [
  10660. {
  10661. "ApiKeyAuth": []
  10662. }
  10663. ],
  10664. "produces": [
  10665. "application/json"
  10666. ],
  10667. "tags": [
  10668. "大连千海金(PCWeb)"
  10669. ],
  10670. "summary": "查询客户资料",
  10671. "parameters": [
  10672. {
  10673. "type": "integer",
  10674. "description": "用户ID",
  10675. "name": "userid",
  10676. "in": "query",
  10677. "required": true
  10678. },
  10679. {
  10680. "type": "integer",
  10681. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10682. "name": "querytype",
  10683. "in": "query",
  10684. "required": true
  10685. },
  10686. {
  10687. "type": "integer",
  10688. "description": "客户类型 1-个人 2-企业",
  10689. "name": "userinfotype",
  10690. "in": "query"
  10691. },
  10692. {
  10693. "type": "string",
  10694. "description": "客户名称(模糊匹配)",
  10695. "name": "customername",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "string",
  10700. "description": "昵称(模糊匹配)",
  10701. "name": "nickname",
  10702. "in": "query"
  10703. },
  10704. {
  10705. "type": "string",
  10706. "description": "所属客户经理(模糊匹配)",
  10707. "name": "brokername",
  10708. "in": "query"
  10709. },
  10710. {
  10711. "type": "string",
  10712. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10713. "name": "birthday",
  10714. "in": "query"
  10715. },
  10716. {
  10717. "type": "integer",
  10718. "description": "是否包含子级 1-包含",
  10719. "name": "includesub",
  10720. "in": "query"
  10721. }
  10722. ],
  10723. "responses": {
  10724. "200": {
  10725. "description": "OK",
  10726. "schema": {
  10727. "type": "array",
  10728. "items": {
  10729. "$ref": "#/definitions/models.QhjMgrCustomer"
  10730. }
  10731. }
  10732. },
  10733. "500": {
  10734. "description": "Internal Server Error",
  10735. "schema": {
  10736. "$ref": "#/definitions/app.Response"
  10737. }
  10738. }
  10739. }
  10740. }
  10741. },
  10742. "/QhjMgr/QueryPickGoods": {
  10743. "get": {
  10744. "security": [
  10745. {
  10746. "ApiKeyAuth": []
  10747. }
  10748. ],
  10749. "produces": [
  10750. "application/json"
  10751. ],
  10752. "tags": [
  10753. "大连千海金(PCWeb)"
  10754. ],
  10755. "summary": "查询提货商品",
  10756. "parameters": [
  10757. {
  10758. "type": "string",
  10759. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10760. "name": "status",
  10761. "in": "query"
  10762. }
  10763. ],
  10764. "responses": {
  10765. "200": {
  10766. "description": "OK",
  10767. "schema": {
  10768. "type": "array",
  10769. "items": {
  10770. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10771. }
  10772. }
  10773. },
  10774. "500": {
  10775. "description": "Internal Server Error",
  10776. "schema": {
  10777. "$ref": "#/definitions/app.Response"
  10778. }
  10779. }
  10780. }
  10781. }
  10782. },
  10783. "/QhjMgr/QuerySubArea": {
  10784. "get": {
  10785. "security": [
  10786. {
  10787. "ApiKeyAuth": []
  10788. }
  10789. ],
  10790. "produces": [
  10791. "application/json"
  10792. ],
  10793. "tags": [
  10794. "大连千海金(PCWeb)"
  10795. ],
  10796. "summary": "查询子机构列表",
  10797. "parameters": [
  10798. {
  10799. "type": "integer",
  10800. "description": "用户ID",
  10801. "name": "userid",
  10802. "in": "query",
  10803. "required": true
  10804. }
  10805. ],
  10806. "responses": {
  10807. "200": {
  10808. "description": "OK",
  10809. "schema": {
  10810. "type": "array",
  10811. "items": {
  10812. "$ref": "#/definitions/models.QhjMgrSubArea"
  10813. }
  10814. }
  10815. },
  10816. "500": {
  10817. "description": "Internal Server Error",
  10818. "schema": {
  10819. "$ref": "#/definitions/app.Response"
  10820. }
  10821. }
  10822. }
  10823. }
  10824. },
  10825. "/QhjMgr/QueryTradeDetail": {
  10826. "get": {
  10827. "security": [
  10828. {
  10829. "ApiKeyAuth": []
  10830. }
  10831. ],
  10832. "produces": [
  10833. "application/json"
  10834. ],
  10835. "tags": [
  10836. "大连千海金(PCWeb)"
  10837. ],
  10838. "summary": "查询成交明细",
  10839. "parameters": [
  10840. {
  10841. "type": "integer",
  10842. "description": "用户ID",
  10843. "name": "userid",
  10844. "in": "query",
  10845. "required": true
  10846. },
  10847. {
  10848. "type": "integer",
  10849. "description": "用户类型 1-个人 2-企业",
  10850. "name": "userinfotype",
  10851. "in": "query"
  10852. },
  10853. {
  10854. "type": "integer",
  10855. "description": "交易模式",
  10856. "name": "trademode",
  10857. "in": "query"
  10858. },
  10859. {
  10860. "type": "integer",
  10861. "description": "商品id",
  10862. "name": "goodsid",
  10863. "in": "query"
  10864. },
  10865. {
  10866. "type": "string",
  10867. "description": "名称(模糊搜索账户)",
  10868. "name": "filtername",
  10869. "in": "query"
  10870. },
  10871. {
  10872. "type": "string",
  10873. "description": "开始交易日(yyyymmdd)",
  10874. "name": "begindate",
  10875. "in": "query"
  10876. },
  10877. {
  10878. "type": "string",
  10879. "description": "结束交易日(yyyymmdd)",
  10880. "name": "enddate",
  10881. "in": "query"
  10882. },
  10883. {
  10884. "type": "integer",
  10885. "description": "是否包含子级 1-包含",
  10886. "name": "includesub",
  10887. "in": "query"
  10888. }
  10889. ],
  10890. "responses": {
  10891. "200": {
  10892. "description": "OK",
  10893. "schema": {
  10894. "type": "array",
  10895. "items": {
  10896. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10897. }
  10898. }
  10899. },
  10900. "500": {
  10901. "description": "Internal Server Error",
  10902. "schema": {
  10903. "$ref": "#/definitions/app.Response"
  10904. }
  10905. }
  10906. }
  10907. }
  10908. },
  10909. "/QhjMgr/QueryTradeOrderDetail": {
  10910. "get": {
  10911. "security": [
  10912. {
  10913. "ApiKeyAuth": []
  10914. }
  10915. ],
  10916. "produces": [
  10917. "application/json"
  10918. ],
  10919. "tags": [
  10920. "大连千海金(PCWeb)"
  10921. ],
  10922. "summary": "查询委托明细",
  10923. "parameters": [
  10924. {
  10925. "type": "integer",
  10926. "description": "用户ID",
  10927. "name": "userid",
  10928. "in": "query",
  10929. "required": true
  10930. },
  10931. {
  10932. "type": "integer",
  10933. "description": "用户类型 1-个人 2-企业",
  10934. "name": "userinfotype",
  10935. "in": "query"
  10936. },
  10937. {
  10938. "type": "integer",
  10939. "description": "交易模式",
  10940. "name": "trademode",
  10941. "in": "query"
  10942. },
  10943. {
  10944. "type": "integer",
  10945. "description": "商品id",
  10946. "name": "goodsid",
  10947. "in": "query"
  10948. },
  10949. {
  10950. "type": "string",
  10951. "description": "名称(模糊搜索账户)",
  10952. "name": "filtername",
  10953. "in": "query"
  10954. },
  10955. {
  10956. "type": "string",
  10957. "description": "开始交易日(yyyymmdd)",
  10958. "name": "begindate",
  10959. "in": "query"
  10960. },
  10961. {
  10962. "type": "string",
  10963. "description": "结束交易日(yyyymmdd)",
  10964. "name": "enddate",
  10965. "in": "query"
  10966. },
  10967. {
  10968. "type": "integer",
  10969. "description": "是否包含子级 1-包含",
  10970. "name": "includesub",
  10971. "in": "query"
  10972. }
  10973. ],
  10974. "responses": {
  10975. "200": {
  10976. "description": "OK",
  10977. "schema": {
  10978. "type": "array",
  10979. "items": {
  10980. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10981. }
  10982. }
  10983. },
  10984. "500": {
  10985. "description": "Internal Server Error",
  10986. "schema": {
  10987. "$ref": "#/definitions/app.Response"
  10988. }
  10989. }
  10990. }
  10991. }
  10992. },
  10993. "/QhjMgr/QueryTradePayOrder": {
  10994. "get": {
  10995. "security": [
  10996. {
  10997. "ApiKeyAuth": []
  10998. }
  10999. ],
  11000. "produces": [
  11001. "application/json"
  11002. ],
  11003. "tags": [
  11004. "大连千海金(PCWeb)"
  11005. ],
  11006. "summary": "查询待付款单",
  11007. "parameters": [
  11008. {
  11009. "type": "integer",
  11010. "description": "用户ID",
  11011. "name": "userid",
  11012. "in": "query",
  11013. "required": true
  11014. },
  11015. {
  11016. "type": "string",
  11017. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11018. "name": "payflag",
  11019. "in": "query"
  11020. },
  11021. {
  11022. "type": "integer",
  11023. "description": "用户类型 1-个人 2-企业",
  11024. "name": "userinfotype",
  11025. "in": "query"
  11026. },
  11027. {
  11028. "type": "integer",
  11029. "description": "交易模式",
  11030. "name": "trademode",
  11031. "in": "query"
  11032. },
  11033. {
  11034. "type": "integer",
  11035. "description": "商品id",
  11036. "name": "goodsid",
  11037. "in": "query"
  11038. },
  11039. {
  11040. "type": "string",
  11041. "description": "名称(模糊搜索账户)",
  11042. "name": "filtername",
  11043. "in": "query"
  11044. },
  11045. {
  11046. "type": "string",
  11047. "description": "开始交易日(yyyymmdd)",
  11048. "name": "begindate",
  11049. "in": "query"
  11050. },
  11051. {
  11052. "type": "string",
  11053. "description": "结束交易日(yyyymmdd)",
  11054. "name": "enddate",
  11055. "in": "query"
  11056. },
  11057. {
  11058. "type": "integer",
  11059. "description": "是否包含子级 1-包含",
  11060. "name": "includesub",
  11061. "in": "query"
  11062. }
  11063. ],
  11064. "responses": {
  11065. "200": {
  11066. "description": "OK",
  11067. "schema": {
  11068. "type": "array",
  11069. "items": {
  11070. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11071. }
  11072. }
  11073. },
  11074. "500": {
  11075. "description": "Internal Server Error",
  11076. "schema": {
  11077. "$ref": "#/definitions/app.Response"
  11078. }
  11079. }
  11080. }
  11081. }
  11082. },
  11083. "/QhjMgr/QueryTradePosition": {
  11084. "get": {
  11085. "security": [
  11086. {
  11087. "ApiKeyAuth": []
  11088. }
  11089. ],
  11090. "produces": [
  11091. "application/json"
  11092. ],
  11093. "tags": [
  11094. "大连千海金(PCWeb)"
  11095. ],
  11096. "summary": "查询持仓汇总",
  11097. "parameters": [
  11098. {
  11099. "type": "integer",
  11100. "description": "用户ID",
  11101. "name": "userid",
  11102. "in": "query",
  11103. "required": true
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "用户类型 1-个人 2-企业",
  11108. "name": "userinfotype",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "integer",
  11113. "description": "交易模式",
  11114. "name": "trademode",
  11115. "in": "query"
  11116. },
  11117. {
  11118. "type": "integer",
  11119. "description": "商品id",
  11120. "name": "goodsid",
  11121. "in": "query"
  11122. },
  11123. {
  11124. "type": "string",
  11125. "description": "名称(模糊搜索账户)",
  11126. "name": "filtername",
  11127. "in": "query"
  11128. },
  11129. {
  11130. "type": "integer",
  11131. "description": "是否包含子级 1-包含",
  11132. "name": "includesub",
  11133. "in": "query"
  11134. }
  11135. ],
  11136. "responses": {
  11137. "200": {
  11138. "description": "OK",
  11139. "schema": {
  11140. "type": "array",
  11141. "items": {
  11142. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11143. }
  11144. }
  11145. },
  11146. "500": {
  11147. "description": "Internal Server Error",
  11148. "schema": {
  11149. "$ref": "#/definitions/app.Response"
  11150. }
  11151. }
  11152. }
  11153. }
  11154. },
  11155. "/QhjSys/QueryAgreementChangeLog": {
  11156. "get": {
  11157. "security": [
  11158. {
  11159. "ApiKeyAuth": []
  11160. }
  11161. ],
  11162. "produces": [
  11163. "application/json"
  11164. ],
  11165. "tags": [
  11166. "大连千海金(协议和签约信息)"
  11167. ],
  11168. "summary": "查询协议配置变更流水",
  11169. "parameters": [
  11170. {
  11171. "type": "integer",
  11172. "description": "协议ID",
  11173. "name": "agreementid",
  11174. "in": "query"
  11175. },
  11176. {
  11177. "type": "integer",
  11178. "description": "协议版本号",
  11179. "name": "agreementversion",
  11180. "in": "query"
  11181. },
  11182. {
  11183. "type": "integer",
  11184. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11185. "name": "agreementtype",
  11186. "in": "query"
  11187. },
  11188. {
  11189. "type": "string",
  11190. "description": "协议编号(模糊匹配)",
  11191. "name": "agreementno",
  11192. "in": "query"
  11193. },
  11194. {
  11195. "type": "string",
  11196. "description": "协议名称(模糊匹配)",
  11197. "name": "agreementname",
  11198. "in": "query"
  11199. }
  11200. ],
  11201. "responses": {
  11202. "200": {
  11203. "description": "OK",
  11204. "schema": {
  11205. "type": "array",
  11206. "items": {
  11207. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11208. }
  11209. }
  11210. },
  11211. "500": {
  11212. "description": "Internal Server Error",
  11213. "schema": {
  11214. "$ref": "#/definitions/app.Response"
  11215. }
  11216. }
  11217. }
  11218. }
  11219. },
  11220. "/QhjSys/QueryAgreementConfig": {
  11221. "get": {
  11222. "security": [
  11223. {
  11224. "ApiKeyAuth": []
  11225. }
  11226. ],
  11227. "produces": [
  11228. "application/json"
  11229. ],
  11230. "tags": [
  11231. "大连千海金(协议和签约信息)"
  11232. ],
  11233. "summary": "查询协议配置",
  11234. "parameters": [
  11235. {
  11236. "type": "integer",
  11237. "description": "协议ID",
  11238. "name": "agreementid",
  11239. "in": "query"
  11240. },
  11241. {
  11242. "type": "integer",
  11243. "description": "协议版本号",
  11244. "name": "agreementversion",
  11245. "in": "query"
  11246. },
  11247. {
  11248. "type": "integer",
  11249. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11250. "name": "agreementtype",
  11251. "in": "query"
  11252. },
  11253. {
  11254. "type": "integer",
  11255. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11256. "name": "isvalid",
  11257. "in": "query"
  11258. },
  11259. {
  11260. "type": "string",
  11261. "description": "协议编号(模糊匹配)",
  11262. "name": "agreementno",
  11263. "in": "query"
  11264. },
  11265. {
  11266. "type": "string",
  11267. "description": "协议名称(模糊匹配)",
  11268. "name": "agreementname",
  11269. "in": "query"
  11270. }
  11271. ],
  11272. "responses": {
  11273. "200": {
  11274. "description": "OK",
  11275. "schema": {
  11276. "type": "array",
  11277. "items": {
  11278. "$ref": "#/definitions/models.QhjAgreementConfig"
  11279. }
  11280. }
  11281. },
  11282. "500": {
  11283. "description": "Internal Server Error",
  11284. "schema": {
  11285. "$ref": "#/definitions/app.Response"
  11286. }
  11287. }
  11288. }
  11289. }
  11290. },
  11291. "/QhjSys/QueryCustomerSignStatus": {
  11292. "get": {
  11293. "security": [
  11294. {
  11295. "ApiKeyAuth": []
  11296. }
  11297. ],
  11298. "produces": [
  11299. "application/json"
  11300. ],
  11301. "tags": [
  11302. "大连千海金(协议和签约信息)"
  11303. ],
  11304. "summary": "查询客户协议签约状态",
  11305. "parameters": [
  11306. {
  11307. "type": "integer",
  11308. "description": "客户ID",
  11309. "name": "userid",
  11310. "in": "query"
  11311. },
  11312. {
  11313. "type": "integer",
  11314. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11315. "name": "nodetype",
  11316. "in": "query"
  11317. },
  11318. {
  11319. "type": "integer",
  11320. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11321. "name": "goodsid",
  11322. "in": "query"
  11323. },
  11324. {
  11325. "type": "string",
  11326. "description": "创建交易日(yyyyMMdd)",
  11327. "name": "tradedate",
  11328. "in": "query"
  11329. },
  11330. {
  11331. "type": "string",
  11332. "description": "用户名称(模糊匹配)",
  11333. "name": "username",
  11334. "in": "query"
  11335. }
  11336. ],
  11337. "responses": {
  11338. "200": {
  11339. "description": "OK",
  11340. "schema": {
  11341. "type": "array",
  11342. "items": {
  11343. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11344. }
  11345. }
  11346. },
  11347. "500": {
  11348. "description": "Internal Server Error",
  11349. "schema": {
  11350. "$ref": "#/definitions/app.Response"
  11351. }
  11352. }
  11353. }
  11354. }
  11355. },
  11356. "/QhjSys/QueryNodeAgreementConfig": {
  11357. "get": {
  11358. "security": [
  11359. {
  11360. "ApiKeyAuth": []
  11361. }
  11362. ],
  11363. "produces": [
  11364. "application/json"
  11365. ],
  11366. "tags": [
  11367. "大连千海金(协议和签约信息)"
  11368. ],
  11369. "summary": "查询协议节点配置",
  11370. "parameters": [
  11371. {
  11372. "type": "integer",
  11373. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11374. "name": "configid",
  11375. "in": "query"
  11376. },
  11377. {
  11378. "type": "integer",
  11379. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11380. "name": "nodetype",
  11381. "in": "query"
  11382. },
  11383. {
  11384. "type": "integer",
  11385. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11386. "name": "goodsid",
  11387. "in": "query"
  11388. },
  11389. {
  11390. "type": "integer",
  11391. "description": "协议ID",
  11392. "name": "agreementid",
  11393. "in": "query"
  11394. },
  11395. {
  11396. "type": "integer",
  11397. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11398. "name": "agreementtype",
  11399. "in": "query"
  11400. },
  11401. {
  11402. "type": "integer",
  11403. "description": "协议版本号",
  11404. "name": "agreementversion",
  11405. "in": "query"
  11406. },
  11407. {
  11408. "type": "string",
  11409. "description": "协议编号(模糊匹配)",
  11410. "name": "agreementno",
  11411. "in": "query"
  11412. },
  11413. {
  11414. "type": "string",
  11415. "description": "协议名称(模糊匹配)",
  11416. "name": "agreementname",
  11417. "in": "query"
  11418. }
  11419. ],
  11420. "responses": {
  11421. "200": {
  11422. "description": "OK",
  11423. "schema": {
  11424. "type": "array",
  11425. "items": {
  11426. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11427. }
  11428. }
  11429. },
  11430. "500": {
  11431. "description": "Internal Server Error",
  11432. "schema": {
  11433. "$ref": "#/definitions/app.Response"
  11434. }
  11435. }
  11436. }
  11437. }
  11438. },
  11439. "/QhjSys/QueryQhjCustomerSignLog": {
  11440. "get": {
  11441. "security": [
  11442. {
  11443. "ApiKeyAuth": []
  11444. }
  11445. ],
  11446. "produces": [
  11447. "application/json"
  11448. ],
  11449. "tags": [
  11450. "大连千海金(协议和签约信息)"
  11451. ],
  11452. "summary": "查询客户协议签约流水",
  11453. "parameters": [
  11454. {
  11455. "type": "integer",
  11456. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11457. "name": "logid",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "integer",
  11462. "description": "客户ID",
  11463. "name": "userid",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11469. "name": "nodetype",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "integer",
  11474. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11475. "name": "goodsid",
  11476. "in": "query"
  11477. },
  11478. {
  11479. "type": "integer",
  11480. "description": "协议ID",
  11481. "name": "agreementid",
  11482. "in": "query"
  11483. },
  11484. {
  11485. "type": "string",
  11486. "description": "用户名称(模糊匹配)",
  11487. "name": "username",
  11488. "in": "query"
  11489. },
  11490. {
  11491. "type": "string",
  11492. "description": "协议编号(模糊匹配)",
  11493. "name": "agreementno",
  11494. "in": "query"
  11495. },
  11496. {
  11497. "type": "string",
  11498. "description": "协议名称(模糊匹配)",
  11499. "name": "agreementname",
  11500. "in": "query"
  11501. }
  11502. ],
  11503. "responses": {
  11504. "200": {
  11505. "description": "OK",
  11506. "schema": {
  11507. "type": "array",
  11508. "items": {
  11509. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11510. }
  11511. }
  11512. },
  11513. "500": {
  11514. "description": "Internal Server Error",
  11515. "schema": {
  11516. "$ref": "#/definitions/app.Response"
  11517. }
  11518. }
  11519. }
  11520. }
  11521. },
  11522. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11523. "get": {
  11524. "security": [
  11525. {
  11526. "ApiKeyAuth": []
  11527. }
  11528. ],
  11529. "produces": [
  11530. "application/json"
  11531. ],
  11532. "tags": [
  11533. "大连千海金(协议和签约信息)"
  11534. ],
  11535. "summary": "查询用户协议节点配置和状态",
  11536. "parameters": [
  11537. {
  11538. "type": "integer",
  11539. "description": "客户ID",
  11540. "name": "userid",
  11541. "in": "query"
  11542. },
  11543. {
  11544. "type": "integer",
  11545. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11546. "name": "configid",
  11547. "in": "query"
  11548. },
  11549. {
  11550. "type": "string",
  11551. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11552. "name": "nodetype",
  11553. "in": "query"
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11558. "name": "goodsid",
  11559. "in": "query"
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "协议ID",
  11564. "name": "agreementid",
  11565. "in": "query"
  11566. },
  11567. {
  11568. "type": "integer",
  11569. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11570. "name": "agreementtype",
  11571. "in": "query"
  11572. },
  11573. {
  11574. "type": "integer",
  11575. "description": "协议版本号",
  11576. "name": "agreementversion",
  11577. "in": "query"
  11578. },
  11579. {
  11580. "type": "string",
  11581. "description": "协议编号(模糊匹配)",
  11582. "name": "agreementno",
  11583. "in": "query"
  11584. },
  11585. {
  11586. "type": "string",
  11587. "description": "协议名称(模糊匹配)",
  11588. "name": "agreementname",
  11589. "in": "query"
  11590. }
  11591. ],
  11592. "responses": {
  11593. "200": {
  11594. "description": "OK",
  11595. "schema": {
  11596. "type": "array",
  11597. "items": {
  11598. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11599. }
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/Quote/QueryHistoryDatas": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "produces": [
  11619. "application/json"
  11620. ],
  11621. "tags": [
  11622. "行情服务"
  11623. ],
  11624. "summary": "查询行情历史数据",
  11625. "parameters": [
  11626. {
  11627. "type": "integer",
  11628. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11629. "name": "cycleType",
  11630. "in": "query",
  11631. "required": true
  11632. },
  11633. {
  11634. "type": "string",
  11635. "description": "商品代码",
  11636. "name": "goodsCode",
  11637. "in": "query",
  11638. "required": true
  11639. },
  11640. {
  11641. "type": "string",
  11642. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11643. "name": "startTime",
  11644. "in": "query"
  11645. },
  11646. {
  11647. "type": "string",
  11648. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11649. "name": "endTime",
  11650. "in": "query"
  11651. },
  11652. {
  11653. "type": "integer",
  11654. "description": "条数",
  11655. "name": "count",
  11656. "in": "query"
  11657. },
  11658. {
  11659. "type": "boolean",
  11660. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11661. "name": "isAsc",
  11662. "in": "query"
  11663. }
  11664. ],
  11665. "responses": {
  11666. "200": {
  11667. "description": "OK",
  11668. "schema": {
  11669. "$ref": "#/definitions/quote.HistoryData"
  11670. }
  11671. },
  11672. "500": {
  11673. "description": "Internal Server Error",
  11674. "schema": {
  11675. "$ref": "#/definitions/app.Response"
  11676. }
  11677. }
  11678. }
  11679. }
  11680. },
  11681. "/Quote/QueryHistoryTikDatas": {
  11682. "get": {
  11683. "security": [
  11684. {
  11685. "ApiKeyAuth": []
  11686. }
  11687. ],
  11688. "produces": [
  11689. "application/json"
  11690. ],
  11691. "tags": [
  11692. "行情服务"
  11693. ],
  11694. "summary": "查询行情Tik数据",
  11695. "parameters": [
  11696. {
  11697. "type": "string",
  11698. "description": "商品代码",
  11699. "name": "goodsCode",
  11700. "in": "query",
  11701. "required": true
  11702. },
  11703. {
  11704. "type": "string",
  11705. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11706. "name": "startTime",
  11707. "in": "query"
  11708. },
  11709. {
  11710. "type": "string",
  11711. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11712. "name": "endTime",
  11713. "in": "query"
  11714. },
  11715. {
  11716. "type": "integer",
  11717. "description": "条数",
  11718. "name": "count",
  11719. "in": "query"
  11720. },
  11721. {
  11722. "type": "boolean",
  11723. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11724. "name": "isAsc",
  11725. "in": "query"
  11726. }
  11727. ],
  11728. "responses": {
  11729. "200": {
  11730. "description": "OK",
  11731. "schema": {
  11732. "$ref": "#/definitions/quote.HistoryTikData"
  11733. }
  11734. },
  11735. "500": {
  11736. "description": "Internal Server Error",
  11737. "schema": {
  11738. "$ref": "#/definitions/app.Response"
  11739. }
  11740. }
  11741. }
  11742. }
  11743. },
  11744. "/Quote/QueryQuoteDay": {
  11745. "get": {
  11746. "security": [
  11747. {
  11748. "ApiKeyAuth": []
  11749. }
  11750. ],
  11751. "produces": [
  11752. "application/json"
  11753. ],
  11754. "tags": [
  11755. "行情服务"
  11756. ],
  11757. "summary": "获取商品盘面信息",
  11758. "parameters": [
  11759. {
  11760. "type": "string",
  11761. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11762. "name": "goodsCodes",
  11763. "in": "query"
  11764. }
  11765. ],
  11766. "responses": {
  11767. "200": {
  11768. "description": "OK",
  11769. "schema": {
  11770. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11771. }
  11772. },
  11773. "500": {
  11774. "description": "Internal Server Error",
  11775. "schema": {
  11776. "$ref": "#/definitions/app.Response"
  11777. }
  11778. }
  11779. }
  11780. }
  11781. },
  11782. "/Quote/QueryTSData": {
  11783. "get": {
  11784. "security": [
  11785. {
  11786. "ApiKeyAuth": []
  11787. }
  11788. ],
  11789. "produces": [
  11790. "application/json"
  11791. ],
  11792. "tags": [
  11793. "行情服务"
  11794. ],
  11795. "summary": "分时图数据查询",
  11796. "parameters": [
  11797. {
  11798. "type": "string",
  11799. "description": "商品代码",
  11800. "name": "goodsCode",
  11801. "in": "query",
  11802. "required": true
  11803. }
  11804. ],
  11805. "responses": {
  11806. "200": {
  11807. "description": "OK",
  11808. "schema": {
  11809. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11810. }
  11811. },
  11812. "500": {
  11813. "description": "Internal Server Error",
  11814. "schema": {
  11815. "$ref": "#/definitions/app.Response"
  11816. }
  11817. }
  11818. }
  11819. }
  11820. },
  11821. "/SZDZ/QueryConvertConfig": {
  11822. "get": {
  11823. "security": [
  11824. {
  11825. "ApiKeyAuth": []
  11826. }
  11827. ],
  11828. "produces": [
  11829. "application/json"
  11830. ],
  11831. "tags": [
  11832. "定制【尚志大宗】"
  11833. ],
  11834. "summary": "查询交易系统转换设置",
  11835. "parameters": [
  11836. {
  11837. "type": "integer",
  11838. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11839. "name": "convertType",
  11840. "in": "query"
  11841. },
  11842. {
  11843. "type": "string",
  11844. "description": "外部商品代码[JD\\PD]",
  11845. "name": "outerGoodsCode",
  11846. "in": "query"
  11847. },
  11848. {
  11849. "type": "string",
  11850. "description": "内部商品ID列表[交易],格式:1,2,3",
  11851. "name": "innerGoodsIDs",
  11852. "in": "query"
  11853. }
  11854. ],
  11855. "responses": {
  11856. "200": {
  11857. "description": "OK",
  11858. "schema": {
  11859. "$ref": "#/definitions/models.Szdz3convertconfig"
  11860. }
  11861. },
  11862. "500": {
  11863. "description": "Internal Server Error",
  11864. "schema": {
  11865. "$ref": "#/definitions/app.Response"
  11866. }
  11867. }
  11868. }
  11869. }
  11870. },
  11871. "/SZDZ/QueryConvertLog": {
  11872. "get": {
  11873. "security": [
  11874. {
  11875. "ApiKeyAuth": []
  11876. }
  11877. ],
  11878. "produces": [
  11879. "application/json"
  11880. ],
  11881. "tags": [
  11882. "定制【尚志大宗】"
  11883. ],
  11884. "summary": "交易系统转换流水查询",
  11885. "parameters": [
  11886. {
  11887. "type": "string",
  11888. "description": "资金账户 - 格式:1,2,3",
  11889. "name": "accountID",
  11890. "in": "query",
  11891. "required": true
  11892. },
  11893. {
  11894. "type": "string",
  11895. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11896. "name": "startDate",
  11897. "in": "query"
  11898. },
  11899. {
  11900. "type": "string",
  11901. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11902. "name": "endDate",
  11903. "in": "query"
  11904. }
  11905. ],
  11906. "responses": {
  11907. "200": {
  11908. "description": "OK",
  11909. "schema": {
  11910. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11911. }
  11912. },
  11913. "500": {
  11914. "description": "Internal Server Error",
  11915. "schema": {
  11916. "$ref": "#/definitions/app.Response"
  11917. }
  11918. }
  11919. }
  11920. }
  11921. },
  11922. "/SZDZ/QueryGoodsPickup": {
  11923. "get": {
  11924. "security": [
  11925. {
  11926. "ApiKeyAuth": []
  11927. }
  11928. ],
  11929. "produces": [
  11930. "application/json"
  11931. ],
  11932. "tags": [
  11933. "定制【尚志大宗】"
  11934. ],
  11935. "summary": "商品提货单查询",
  11936. "parameters": [
  11937. {
  11938. "type": "string",
  11939. "description": "资金账户 - 格式:1,2,3",
  11940. "name": "accountID",
  11941. "in": "query",
  11942. "required": true
  11943. },
  11944. {
  11945. "type": "integer",
  11946. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11947. "name": "takeOrderStatus",
  11948. "in": "query"
  11949. }
  11950. ],
  11951. "responses": {
  11952. "200": {
  11953. "description": "OK",
  11954. "schema": {
  11955. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11956. }
  11957. },
  11958. "500": {
  11959. "description": "Internal Server Error",
  11960. "schema": {
  11961. "$ref": "#/definitions/app.Response"
  11962. }
  11963. }
  11964. }
  11965. }
  11966. },
  11967. "/SZDZ/QueryRecieptOrder": {
  11968. "get": {
  11969. "security": [
  11970. {
  11971. "ApiKeyAuth": []
  11972. }
  11973. ],
  11974. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11975. "produces": [
  11976. "application/json"
  11977. ],
  11978. "tags": [
  11979. "定制【尚志大宗】"
  11980. ],
  11981. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11982. "parameters": [
  11983. {
  11984. "type": "integer",
  11985. "description": "页码",
  11986. "name": "page",
  11987. "in": "query"
  11988. },
  11989. {
  11990. "type": "integer",
  11991. "description": "每页条数",
  11992. "name": "pagesize",
  11993. "in": "query"
  11994. },
  11995. {
  11996. "type": "integer",
  11997. "description": "商品ID",
  11998. "name": "goodsID",
  11999. "in": "query",
  12000. "required": true
  12001. },
  12002. {
  12003. "type": "string",
  12004. "description": "所属账户名称",
  12005. "name": "accountName",
  12006. "in": "query"
  12007. },
  12008. {
  12009. "type": "integer",
  12010. "description": "市场ID",
  12011. "name": "marketID",
  12012. "in": "query"
  12013. },
  12014. {
  12015. "type": "integer",
  12016. "description": "方向 - 0:买 1:卖",
  12017. "name": "buyorsell",
  12018. "in": "query",
  12019. "required": true
  12020. }
  12021. ],
  12022. "responses": {
  12023. "200": {
  12024. "description": "OK",
  12025. "schema": {
  12026. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12027. }
  12028. },
  12029. "500": {
  12030. "description": "Internal Server Error",
  12031. "schema": {
  12032. "$ref": "#/definitions/app.Response"
  12033. }
  12034. }
  12035. }
  12036. }
  12037. },
  12038. "/SZDZ/QuerySZDZTradePosition": {
  12039. "get": {
  12040. "security": [
  12041. {
  12042. "ApiKeyAuth": []
  12043. }
  12044. ],
  12045. "produces": [
  12046. "application/json"
  12047. ],
  12048. "tags": [
  12049. "定制【尚志大宗】"
  12050. ],
  12051. "summary": "持仓汇总查询(尚志大宗)",
  12052. "parameters": [
  12053. {
  12054. "type": "integer",
  12055. "description": "资金账户",
  12056. "name": "accountID",
  12057. "in": "query",
  12058. "required": true
  12059. }
  12060. ],
  12061. "responses": {
  12062. "200": {
  12063. "description": "OK",
  12064. "schema": {
  12065. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12066. }
  12067. },
  12068. "500": {
  12069. "description": "Internal Server Error",
  12070. "schema": {
  12071. "$ref": "#/definitions/app.Response"
  12072. }
  12073. }
  12074. }
  12075. }
  12076. },
  12077. "/SZDZ/SearchWhite": {
  12078. "get": {
  12079. "security": [
  12080. {
  12081. "ApiKeyAuth": []
  12082. }
  12083. ],
  12084. "produces": [
  12085. "application/json"
  12086. ],
  12087. "tags": [
  12088. "定制【尚志大宗】"
  12089. ],
  12090. "summary": "搜索白名单",
  12091. "parameters": [
  12092. {
  12093. "type": "integer",
  12094. "description": "用户ID",
  12095. "name": "userID",
  12096. "in": "query",
  12097. "required": true
  12098. }
  12099. ],
  12100. "responses": {
  12101. "200": {
  12102. "description": "OK",
  12103. "schema": {
  12104. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12105. }
  12106. },
  12107. "500": {
  12108. "description": "Internal Server Error",
  12109. "schema": {
  12110. "$ref": "#/definitions/app.Response"
  12111. }
  12112. }
  12113. }
  12114. }
  12115. },
  12116. "/Search/SearchGoodses": {
  12117. "get": {
  12118. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12119. "produces": [
  12120. "application/json"
  12121. ],
  12122. "tags": [
  12123. "检索服务"
  12124. ],
  12125. "summary": "检索商品信息",
  12126. "parameters": [
  12127. {
  12128. "type": "string",
  12129. "description": "检索内容",
  12130. "name": "content",
  12131. "in": "query",
  12132. "required": true
  12133. },
  12134. {
  12135. "type": "string",
  12136. "description": "交易模式,格式:1,2,3",
  12137. "name": "tradeModes",
  12138. "in": "query"
  12139. }
  12140. ],
  12141. "responses": {
  12142. "200": {
  12143. "description": "OK",
  12144. "schema": {
  12145. "$ref": "#/definitions/models.SearchGoods"
  12146. }
  12147. },
  12148. "500": {
  12149. "description": "Internal Server Error",
  12150. "schema": {
  12151. "$ref": "#/definitions/app.Response"
  12152. }
  12153. }
  12154. }
  12155. }
  12156. },
  12157. "/TaAccount/GetTaAccounts": {
  12158. "get": {
  12159. "security": [
  12160. {
  12161. "ApiKeyAuth": []
  12162. }
  12163. ],
  12164. "produces": [
  12165. "application/json"
  12166. ],
  12167. "tags": [
  12168. "资金账户"
  12169. ],
  12170. "summary": "获取资金账户信息",
  12171. "parameters": [
  12172. {
  12173. "type": "integer",
  12174. "description": "登录账户",
  12175. "name": "loginID",
  12176. "in": "query",
  12177. "required": true
  12178. },
  12179. {
  12180. "type": "integer",
  12181. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12182. "name": "taAccountType",
  12183. "in": "query"
  12184. }
  12185. ],
  12186. "responses": {
  12187. "200": {
  12188. "description": "OK",
  12189. "schema": {
  12190. "$ref": "#/definitions/models.Taaccount"
  12191. }
  12192. },
  12193. "500": {
  12194. "description": "Internal Server Error",
  12195. "schema": {
  12196. "$ref": "#/definitions/app.Response"
  12197. }
  12198. }
  12199. }
  12200. }
  12201. },
  12202. "/TaAccount/QueryAmountLog": {
  12203. "get": {
  12204. "security": [
  12205. {
  12206. "ApiKeyAuth": []
  12207. }
  12208. ],
  12209. "produces": [
  12210. "application/json"
  12211. ],
  12212. "tags": [
  12213. "资金账户"
  12214. ],
  12215. "summary": "资金流水查询(当前)",
  12216. "parameters": [
  12217. {
  12218. "type": "integer",
  12219. "description": "页码",
  12220. "name": "page",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "每页条数",
  12226. "name": "pagesize",
  12227. "in": "query"
  12228. },
  12229. {
  12230. "type": "string",
  12231. "description": "资金账户 - 格式:1,2,3",
  12232. "name": "accountID",
  12233. "in": "query",
  12234. "required": true
  12235. },
  12236. {
  12237. "type": "string",
  12238. "description": "资金操作类型 - 格式:1,2,3",
  12239. "name": "OperateType",
  12240. "in": "query"
  12241. }
  12242. ],
  12243. "responses": {
  12244. "200": {
  12245. "description": "OK",
  12246. "schema": {
  12247. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12248. }
  12249. },
  12250. "500": {
  12251. "description": "Internal Server Error",
  12252. "schema": {
  12253. "$ref": "#/definitions/app.Response"
  12254. }
  12255. }
  12256. }
  12257. }
  12258. },
  12259. "/TaAccount/QueryHisAmountLog": {
  12260. "get": {
  12261. "security": [
  12262. {
  12263. "ApiKeyAuth": []
  12264. }
  12265. ],
  12266. "produces": [
  12267. "application/json"
  12268. ],
  12269. "tags": [
  12270. "资金账户"
  12271. ],
  12272. "summary": "资金流水查询(历史)",
  12273. "parameters": [
  12274. {
  12275. "type": "integer",
  12276. "description": "页码",
  12277. "name": "page",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "每页条数",
  12283. "name": "pagesize",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "资金账户 - 格式:1,2,3",
  12289. "name": "accountID",
  12290. "in": "query",
  12291. "required": true
  12292. },
  12293. {
  12294. "type": "string",
  12295. "description": "资金操作类型 - 格式:1,2,3",
  12296. "name": "OperateType",
  12297. "in": "query"
  12298. },
  12299. {
  12300. "type": "string",
  12301. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12302. "name": "startDate",
  12303. "in": "query"
  12304. },
  12305. {
  12306. "type": "string",
  12307. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12308. "name": "endDate",
  12309. "in": "query"
  12310. }
  12311. ],
  12312. "responses": {
  12313. "200": {
  12314. "description": "OK",
  12315. "schema": {
  12316. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12317. }
  12318. },
  12319. "500": {
  12320. "description": "Internal Server Error",
  12321. "schema": {
  12322. "$ref": "#/definitions/app.Response"
  12323. }
  12324. }
  12325. }
  12326. }
  12327. },
  12328. "/TaAccount/QueryRelatedTaAccount": {
  12329. "get": {
  12330. "security": [
  12331. {
  12332. "ApiKeyAuth": []
  12333. }
  12334. ],
  12335. "produces": [
  12336. "application/json"
  12337. ],
  12338. "tags": [
  12339. "资金账户"
  12340. ],
  12341. "summary": "查询关联资金账户信息",
  12342. "parameters": [
  12343. {
  12344. "type": "integer",
  12345. "description": "关联UserID",
  12346. "name": "relateduserid",
  12347. "in": "query",
  12348. "required": true
  12349. }
  12350. ],
  12351. "responses": {
  12352. "200": {
  12353. "description": "OK",
  12354. "schema": {
  12355. "type": "array",
  12356. "items": {
  12357. "$ref": "#/definitions/models.RelatedTaAccount"
  12358. }
  12359. }
  12360. },
  12361. "500": {
  12362. "description": "Internal Server Error",
  12363. "schema": {
  12364. "$ref": "#/definitions/app.Response"
  12365. }
  12366. }
  12367. }
  12368. }
  12369. },
  12370. "/Tjmd/QueryQuoteGoodsList": {
  12371. "get": {
  12372. "security": [
  12373. {
  12374. "ApiKeyAuth": []
  12375. }
  12376. ],
  12377. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12378. "produces": [
  12379. "application/json"
  12380. ],
  12381. "tags": [
  12382. "天津麦顿"
  12383. ],
  12384. "summary": "查询掉期报价列表",
  12385. "parameters": [
  12386. {
  12387. "type": "integer",
  12388. "description": "用户类型",
  12389. "name": "usertype",
  12390. "in": "query",
  12391. "required": true
  12392. },
  12393. {
  12394. "type": "string",
  12395. "description": "市场id, 格式 1,2,3",
  12396. "name": "marketids",
  12397. "in": "query"
  12398. },
  12399. {
  12400. "type": "integer",
  12401. "description": "商品组id",
  12402. "name": "goodsgroupid",
  12403. "in": "query"
  12404. },
  12405. {
  12406. "type": "integer",
  12407. "description": "商品id",
  12408. "name": "goodsid",
  12409. "in": "query"
  12410. }
  12411. ],
  12412. "responses": {
  12413. "200": {
  12414. "description": "OK",
  12415. "schema": {
  12416. "type": "array",
  12417. "items": {
  12418. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12419. }
  12420. }
  12421. },
  12422. "500": {
  12423. "description": "Internal Server Error",
  12424. "schema": {
  12425. "$ref": "#/definitions/app.Response"
  12426. }
  12427. }
  12428. }
  12429. }
  12430. },
  12431. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12432. "get": {
  12433. "security": [
  12434. {
  12435. "ApiKeyAuth": []
  12436. }
  12437. ],
  12438. "produces": [
  12439. "application/json"
  12440. ],
  12441. "tags": [
  12442. "天津麦顿"
  12443. ],
  12444. "summary": "掉期商品订单详情(交易确认书)",
  12445. "parameters": [
  12446. {
  12447. "type": "string",
  12448. "description": "成交单号",
  12449. "name": "tradeid",
  12450. "in": "query",
  12451. "required": true
  12452. }
  12453. ],
  12454. "responses": {
  12455. "200": {
  12456. "description": "OK",
  12457. "schema": {
  12458. "type": "array",
  12459. "items": {
  12460. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12461. }
  12462. }
  12463. },
  12464. "500": {
  12465. "description": "Internal Server Error",
  12466. "schema": {
  12467. "$ref": "#/definitions/app.Response"
  12468. }
  12469. }
  12470. }
  12471. }
  12472. },
  12473. "/Tjmd/QueryTjmdMarketSection": {
  12474. "get": {
  12475. "security": [
  12476. {
  12477. "ApiKeyAuth": []
  12478. }
  12479. ],
  12480. "produces": [
  12481. "application/json"
  12482. ],
  12483. "tags": [
  12484. "天津麦顿"
  12485. ],
  12486. "summary": "查询市场板块",
  12487. "responses": {
  12488. "200": {
  12489. "description": "OK",
  12490. "schema": {
  12491. "type": "array",
  12492. "items": {
  12493. "$ref": "#/definitions/models.TjmdMarketSection"
  12494. }
  12495. }
  12496. },
  12497. "500": {
  12498. "description": "Internal Server Error",
  12499. "schema": {
  12500. "$ref": "#/definitions/app.Response"
  12501. }
  12502. }
  12503. }
  12504. }
  12505. },
  12506. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12507. "get": {
  12508. "security": [
  12509. {
  12510. "ApiKeyAuth": []
  12511. }
  12512. ],
  12513. "produces": [
  12514. "application/json"
  12515. ],
  12516. "tags": [
  12517. "天津麦顿"
  12518. ],
  12519. "summary": "查询今日账户保证金配置",
  12520. "parameters": [
  12521. {
  12522. "type": "string",
  12523. "description": "市场id",
  12524. "name": "marketid",
  12525. "in": "query"
  12526. },
  12527. {
  12528. "type": "string",
  12529. "description": "商品id",
  12530. "name": "goodsid",
  12531. "in": "query"
  12532. },
  12533. {
  12534. "type": "string",
  12535. "description": "资金账号",
  12536. "name": "accountid",
  12537. "in": "query"
  12538. }
  12539. ],
  12540. "responses": {
  12541. "200": {
  12542. "description": "OK",
  12543. "schema": {
  12544. "type": "array",
  12545. "items": {
  12546. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12547. }
  12548. }
  12549. },
  12550. "500": {
  12551. "description": "Internal Server Error",
  12552. "schema": {
  12553. "$ref": "#/definitions/app.Response"
  12554. }
  12555. }
  12556. }
  12557. }
  12558. },
  12559. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12560. "get": {
  12561. "security": [
  12562. {
  12563. "ApiKeyAuth": []
  12564. }
  12565. ],
  12566. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12567. "produces": [
  12568. "application/json"
  12569. ],
  12570. "tags": [
  12571. "天津麦顿"
  12572. ],
  12573. "summary": "查询掉期买卖大厅",
  12574. "parameters": [
  12575. {
  12576. "type": "integer",
  12577. "description": "页码",
  12578. "name": "page",
  12579. "in": "query"
  12580. },
  12581. {
  12582. "type": "integer",
  12583. "description": "每页条数",
  12584. "name": "pagesize",
  12585. "in": "query"
  12586. },
  12587. {
  12588. "type": "integer",
  12589. "description": "用户id",
  12590. "name": "userid",
  12591. "in": "query",
  12592. "required": true
  12593. },
  12594. {
  12595. "type": "integer",
  12596. "description": "用户类型",
  12597. "name": "usertype",
  12598. "in": "query",
  12599. "required": true
  12600. },
  12601. {
  12602. "type": "string",
  12603. "description": "市场id, 格式 1,2,3",
  12604. "name": "marketids",
  12605. "in": "query"
  12606. },
  12607. {
  12608. "type": "integer",
  12609. "description": "商品id",
  12610. "name": "goodsid",
  12611. "in": "query",
  12612. "required": true
  12613. },
  12614. {
  12615. "type": "integer",
  12616. "description": "买卖方向 0-买 1-卖",
  12617. "name": "buyorsell",
  12618. "in": "query",
  12619. "required": true
  12620. }
  12621. ],
  12622. "responses": {
  12623. "200": {
  12624. "description": "OK",
  12625. "schema": {
  12626. "type": "array",
  12627. "items": {
  12628. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12629. }
  12630. }
  12631. },
  12632. "500": {
  12633. "description": "Internal Server Error",
  12634. "schema": {
  12635. "$ref": "#/definitions/app.Response"
  12636. }
  12637. }
  12638. }
  12639. }
  12640. },
  12641. "/Tjmd/QueryTjmdTransferApply": {
  12642. "get": {
  12643. "security": [
  12644. {
  12645. "ApiKeyAuth": []
  12646. }
  12647. ],
  12648. "produces": [
  12649. "application/json"
  12650. ],
  12651. "tags": [
  12652. "天津麦顿"
  12653. ],
  12654. "summary": "查询掉期协议单",
  12655. "parameters": [
  12656. {
  12657. "type": "integer",
  12658. "description": "类型 1-我的申请 2-对方申请",
  12659. "name": "applytype",
  12660. "in": "query",
  12661. "required": true
  12662. },
  12663. {
  12664. "type": "string",
  12665. "description": "市场id, 格式 1,2,3",
  12666. "name": "marketids",
  12667. "in": "query"
  12668. },
  12669. {
  12670. "type": "string",
  12671. "description": "资金账号, 格式 25000000001,25000000003",
  12672. "name": "accountids",
  12673. "in": "query"
  12674. },
  12675. {
  12676. "type": "string",
  12677. "description": "开始交易日(yyyymmdd)",
  12678. "name": "begindate",
  12679. "in": "query"
  12680. },
  12681. {
  12682. "type": "string",
  12683. "description": "结束交易日(yyyymmdd)",
  12684. "name": "enddate",
  12685. "in": "query"
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "type": "array",
  12693. "items": {
  12694. "$ref": "#/definitions/models.TjmdTransferApply"
  12695. }
  12696. }
  12697. },
  12698. "500": {
  12699. "description": "Internal Server Error",
  12700. "schema": {
  12701. "$ref": "#/definitions/app.Response"
  12702. }
  12703. }
  12704. }
  12705. }
  12706. },
  12707. "/Trade/QueryRecieptOrder": {
  12708. "get": {
  12709. "security": [
  12710. {
  12711. "ApiKeyAuth": []
  12712. }
  12713. ],
  12714. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12715. "produces": [
  12716. "application/json"
  12717. ],
  12718. "tags": [
  12719. "通用交易"
  12720. ],
  12721. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12722. "parameters": [
  12723. {
  12724. "type": "integer",
  12725. "description": "页码",
  12726. "name": "page",
  12727. "in": "query"
  12728. },
  12729. {
  12730. "type": "integer",
  12731. "description": "每页条数",
  12732. "name": "pagesize",
  12733. "in": "query"
  12734. },
  12735. {
  12736. "type": "integer",
  12737. "description": "商品ID",
  12738. "name": "goodsID",
  12739. "in": "query",
  12740. "required": true
  12741. },
  12742. {
  12743. "type": "string",
  12744. "description": "所属账户名称",
  12745. "name": "accountName",
  12746. "in": "query"
  12747. },
  12748. {
  12749. "type": "integer",
  12750. "description": "市场ID",
  12751. "name": "marketID",
  12752. "in": "query"
  12753. },
  12754. {
  12755. "type": "integer",
  12756. "description": "方向 - 0:买 1:卖",
  12757. "name": "buyorsell",
  12758. "in": "query",
  12759. "required": true
  12760. }
  12761. ],
  12762. "responses": {
  12763. "200": {
  12764. "description": "OK",
  12765. "schema": {
  12766. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12767. }
  12768. },
  12769. "500": {
  12770. "description": "Internal Server Error",
  12771. "schema": {
  12772. "$ref": "#/definitions/app.Response"
  12773. }
  12774. }
  12775. }
  12776. }
  12777. },
  12778. "/User/AddMessageBoard": {
  12779. "post": {
  12780. "security": [
  12781. {
  12782. "ApiKeyAuth": []
  12783. }
  12784. ],
  12785. "produces": [
  12786. "application/json"
  12787. ],
  12788. "tags": [
  12789. "用户信息"
  12790. ],
  12791. "summary": "添加用户留言板信息",
  12792. "parameters": [
  12793. {
  12794. "type": "integer",
  12795. "description": "用户ID",
  12796. "name": "userID",
  12797. "in": "query",
  12798. "required": true
  12799. },
  12800. {
  12801. "type": "string",
  12802. "description": "留言信息",
  12803. "name": "message",
  12804. "in": "query",
  12805. "required": true
  12806. },
  12807. {
  12808. "type": "string",
  12809. "description": "联系电话",
  12810. "name": "contactNum",
  12811. "in": "query",
  12812. "required": true
  12813. }
  12814. ],
  12815. "responses": {
  12816. "200": {
  12817. "description": "OK",
  12818. "schema": {
  12819. "$ref": "#/definitions/app.Response"
  12820. }
  12821. },
  12822. "500": {
  12823. "description": "Internal Server Error",
  12824. "schema": {
  12825. "$ref": "#/definitions/app.Response"
  12826. }
  12827. }
  12828. }
  12829. }
  12830. },
  12831. "/User/AddUserFavoriteGoods": {
  12832. "post": {
  12833. "security": [
  12834. {
  12835. "ApiKeyAuth": []
  12836. }
  12837. ],
  12838. "produces": [
  12839. "application/json"
  12840. ],
  12841. "tags": [
  12842. "用户信息"
  12843. ],
  12844. "summary": "添加用户商品收藏信息",
  12845. "parameters": [
  12846. {
  12847. "type": "integer",
  12848. "description": "用户ID",
  12849. "name": "userID",
  12850. "in": "query",
  12851. "required": true
  12852. },
  12853. {
  12854. "type": "integer",
  12855. "description": "商品ID",
  12856. "name": "goodsID",
  12857. "in": "query",
  12858. "required": true
  12859. }
  12860. ],
  12861. "responses": {
  12862. "200": {
  12863. "description": "OK",
  12864. "schema": {
  12865. "$ref": "#/definitions/app.Response"
  12866. }
  12867. },
  12868. "500": {
  12869. "description": "Internal Server Error",
  12870. "schema": {
  12871. "$ref": "#/definitions/app.Response"
  12872. }
  12873. }
  12874. }
  12875. }
  12876. },
  12877. "/User/GetLoginID": {
  12878. "get": {
  12879. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12880. "produces": [
  12881. "application/json"
  12882. ],
  12883. "tags": [
  12884. "用户信息"
  12885. ],
  12886. "summary": "获取登录ID",
  12887. "parameters": [
  12888. {
  12889. "type": "string",
  12890. "description": "登录代码",
  12891. "name": "username",
  12892. "in": "query",
  12893. "required": true
  12894. }
  12895. ],
  12896. "responses": {
  12897. "200": {
  12898. "description": "OK",
  12899. "schema": {
  12900. "$ref": "#/definitions/app.Response"
  12901. }
  12902. },
  12903. "500": {
  12904. "description": "Internal Server Error",
  12905. "schema": {
  12906. "$ref": "#/definitions/app.Response"
  12907. }
  12908. }
  12909. }
  12910. }
  12911. },
  12912. "/User/GetUserAccount": {
  12913. "get": {
  12914. "security": [
  12915. {
  12916. "ApiKeyAuth": []
  12917. }
  12918. ],
  12919. "produces": [
  12920. "application/json"
  12921. ],
  12922. "tags": [
  12923. "用户信息"
  12924. ],
  12925. "summary": "获取用户账号信息",
  12926. "parameters": [
  12927. {
  12928. "type": "integer",
  12929. "description": "用户ID",
  12930. "name": "userID",
  12931. "in": "query",
  12932. "required": true
  12933. }
  12934. ],
  12935. "responses": {
  12936. "200": {
  12937. "description": "OK",
  12938. "schema": {
  12939. "$ref": "#/definitions/models.Useraccount"
  12940. }
  12941. },
  12942. "500": {
  12943. "description": "Internal Server Error",
  12944. "schema": {
  12945. "$ref": "#/definitions/app.Response"
  12946. }
  12947. }
  12948. }
  12949. }
  12950. },
  12951. "/User/GetUserAuthStatus": {
  12952. "get": {
  12953. "security": [
  12954. {
  12955. "ApiKeyAuth": []
  12956. }
  12957. ],
  12958. "produces": [
  12959. "application/json"
  12960. ],
  12961. "tags": [
  12962. "用户信息"
  12963. ],
  12964. "summary": "获取用户实名认证状态",
  12965. "parameters": [
  12966. {
  12967. "type": "integer",
  12968. "description": "用户ID",
  12969. "name": "userID",
  12970. "in": "query",
  12971. "required": true
  12972. }
  12973. ],
  12974. "responses": {
  12975. "200": {
  12976. "description": "OK",
  12977. "schema": {
  12978. "$ref": "#/definitions/app.Response"
  12979. }
  12980. },
  12981. "500": {
  12982. "description": "Internal Server Error",
  12983. "schema": {
  12984. "$ref": "#/definitions/app.Response"
  12985. }
  12986. }
  12987. }
  12988. }
  12989. },
  12990. "/User/LoginQuery": {
  12991. "get": {
  12992. "security": [
  12993. {
  12994. "ApiKeyAuth": []
  12995. }
  12996. ],
  12997. "produces": [
  12998. "application/json"
  12999. ],
  13000. "tags": [
  13001. "用户信息"
  13002. ],
  13003. "summary": "账户登录后信息查询",
  13004. "parameters": [
  13005. {
  13006. "type": "integer",
  13007. "description": "登录账号",
  13008. "name": "loginID",
  13009. "in": "query",
  13010. "required": true
  13011. }
  13012. ],
  13013. "responses": {
  13014. "200": {
  13015. "description": "OK",
  13016. "schema": {
  13017. "$ref": "#/definitions/user.LoginQueryRsp"
  13018. }
  13019. },
  13020. "500": {
  13021. "description": "Internal Server Error",
  13022. "schema": {
  13023. "$ref": "#/definitions/app.Response"
  13024. }
  13025. }
  13026. }
  13027. }
  13028. },
  13029. "/User/QueryMessageBoard": {
  13030. "get": {
  13031. "security": [
  13032. {
  13033. "ApiKeyAuth": []
  13034. }
  13035. ],
  13036. "produces": [
  13037. "application/json"
  13038. ],
  13039. "tags": [
  13040. "用户信息"
  13041. ],
  13042. "summary": "获取用户留言板信息",
  13043. "parameters": [
  13044. {
  13045. "type": "integer",
  13046. "description": "用户ID",
  13047. "name": "userID",
  13048. "in": "query",
  13049. "required": true
  13050. }
  13051. ],
  13052. "responses": {
  13053. "200": {
  13054. "description": "OK",
  13055. "schema": {
  13056. "$ref": "#/definitions/models.Messageboard"
  13057. }
  13058. },
  13059. "500": {
  13060. "description": "Internal Server Error",
  13061. "schema": {
  13062. "$ref": "#/definitions/app.Response"
  13063. }
  13064. }
  13065. }
  13066. }
  13067. },
  13068. "/User/QueryUserFavoriteGoodses": {
  13069. "get": {
  13070. "security": [
  13071. {
  13072. "ApiKeyAuth": []
  13073. }
  13074. ],
  13075. "produces": [
  13076. "application/json"
  13077. ],
  13078. "tags": [
  13079. "用户信息"
  13080. ],
  13081. "summary": "获取用户商品收藏信息",
  13082. "parameters": [
  13083. {
  13084. "type": "integer",
  13085. "description": "用户ID",
  13086. "name": "userID",
  13087. "in": "query",
  13088. "required": true
  13089. }
  13090. ],
  13091. "responses": {
  13092. "200": {
  13093. "description": "OK",
  13094. "schema": {
  13095. "$ref": "#/definitions/models.Userfavoritegoods"
  13096. }
  13097. },
  13098. "500": {
  13099. "description": "Internal Server Error",
  13100. "schema": {
  13101. "$ref": "#/definitions/app.Response"
  13102. }
  13103. }
  13104. }
  13105. }
  13106. },
  13107. "/User/QueryUserInfo": {
  13108. "get": {
  13109. "security": [
  13110. {
  13111. "ApiKeyAuth": []
  13112. }
  13113. ],
  13114. "produces": [
  13115. "application/json"
  13116. ],
  13117. "tags": [
  13118. "用户信息"
  13119. ],
  13120. "summary": "获取用户信息",
  13121. "parameters": [
  13122. {
  13123. "type": "integer",
  13124. "description": "用户ID",
  13125. "name": "userID",
  13126. "in": "query",
  13127. "required": true
  13128. },
  13129. {
  13130. "type": "boolean",
  13131. "description": "是否解密",
  13132. "name": "isDecrypt",
  13133. "in": "query"
  13134. }
  13135. ],
  13136. "responses": {
  13137. "200": {
  13138. "description": "OK",
  13139. "schema": {
  13140. "$ref": "#/definitions/models.Userinfo"
  13141. }
  13142. },
  13143. "500": {
  13144. "description": "Internal Server Error",
  13145. "schema": {
  13146. "$ref": "#/definitions/app.Response"
  13147. }
  13148. }
  13149. }
  13150. }
  13151. },
  13152. "/User/QueryUserReferNum": {
  13153. "get": {
  13154. "produces": [
  13155. "application/json"
  13156. ],
  13157. "tags": [
  13158. "用户信息"
  13159. ],
  13160. "summary": "获取用户邀请码",
  13161. "parameters": [
  13162. {
  13163. "type": "integer",
  13164. "description": "用户ID",
  13165. "name": "userID",
  13166. "in": "query",
  13167. "required": true
  13168. }
  13169. ],
  13170. "responses": {
  13171. "200": {
  13172. "description": "OK",
  13173. "schema": {
  13174. "$ref": "#/definitions/app.Response"
  13175. }
  13176. },
  13177. "500": {
  13178. "description": "Internal Server Error",
  13179. "schema": {
  13180. "$ref": "#/definitions/app.Response"
  13181. }
  13182. }
  13183. }
  13184. }
  13185. },
  13186. "/User/RemoveUserFavoriteGoods": {
  13187. "post": {
  13188. "security": [
  13189. {
  13190. "ApiKeyAuth": []
  13191. }
  13192. ],
  13193. "produces": [
  13194. "application/json"
  13195. ],
  13196. "tags": [
  13197. "用户信息"
  13198. ],
  13199. "summary": "移除用户商品收藏信息",
  13200. "parameters": [
  13201. {
  13202. "type": "integer",
  13203. "description": "用户ID",
  13204. "name": "userID",
  13205. "in": "query",
  13206. "required": true
  13207. },
  13208. {
  13209. "type": "integer",
  13210. "description": "商品ID",
  13211. "name": "goodsID",
  13212. "in": "query",
  13213. "required": true
  13214. }
  13215. ],
  13216. "responses": {
  13217. "200": {
  13218. "description": "OK",
  13219. "schema": {
  13220. "$ref": "#/definitions/app.Response"
  13221. }
  13222. },
  13223. "500": {
  13224. "description": "Internal Server Error",
  13225. "schema": {
  13226. "$ref": "#/definitions/app.Response"
  13227. }
  13228. }
  13229. }
  13230. }
  13231. },
  13232. "/User/UpdateUserAccountStatus": {
  13233. "post": {
  13234. "security": [
  13235. {
  13236. "ApiKeyAuth": []
  13237. }
  13238. ],
  13239. "produces": [
  13240. "application/json"
  13241. ],
  13242. "tags": [
  13243. "用户信息"
  13244. ],
  13245. "summary": "更新用户状态",
  13246. "parameters": [
  13247. {
  13248. "type": "integer",
  13249. "description": "用户ID",
  13250. "name": "userID",
  13251. "in": "query",
  13252. "required": true
  13253. },
  13254. {
  13255. "type": "integer",
  13256. "description": "账户状态 - 4:正常 6:注销(停用)",
  13257. "name": "accountStatus",
  13258. "in": "query",
  13259. "required": true
  13260. }
  13261. ],
  13262. "responses": {
  13263. "200": {
  13264. "description": "OK",
  13265. "schema": {
  13266. "$ref": "#/definitions/app.Response"
  13267. }
  13268. },
  13269. "500": {
  13270. "description": "Internal Server Error",
  13271. "schema": {
  13272. "$ref": "#/definitions/app.Response"
  13273. }
  13274. }
  13275. }
  13276. }
  13277. },
  13278. "/WRTrade/GetAllDeliveryGoods": {
  13279. "get": {
  13280. "security": [
  13281. {
  13282. "ApiKeyAuth": []
  13283. }
  13284. ],
  13285. "produces": [
  13286. "application/json"
  13287. ],
  13288. "tags": [
  13289. "仓单贸易",
  13290. "仓单贸易"
  13291. ],
  13292. "summary": "获取带仓单分类的种类信息",
  13293. "responses": {
  13294. "200": {
  13295. "description": "OK",
  13296. "schema": {
  13297. "$ref": "#/definitions/app.Response"
  13298. }
  13299. },
  13300. "500": {
  13301. "description": "Internal Server Error",
  13302. "schema": {
  13303. "$ref": "#/definitions/app.Response"
  13304. }
  13305. }
  13306. }
  13307. }
  13308. },
  13309. "/WrTrade2/InsertXhcpSellBackApply": {
  13310. "post": {
  13311. "security": [
  13312. {
  13313. "ApiKeyAuth": []
  13314. }
  13315. ],
  13316. "produces": [
  13317. "application/json"
  13318. ],
  13319. "tags": [
  13320. "仓单贸易v2"
  13321. ],
  13322. "summary": "新增回收申请(新会陈皮)",
  13323. "parameters": [
  13324. {
  13325. "description": "回收申请",
  13326. "name": "jsonBody",
  13327. "in": "body",
  13328. "required": true,
  13329. "schema": {
  13330. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13331. }
  13332. }
  13333. ],
  13334. "responses": {
  13335. "200": {
  13336. "description": "OK",
  13337. "schema": {
  13338. "$ref": "#/definitions/app.Response"
  13339. }
  13340. },
  13341. "500": {
  13342. "description": "Internal Server Error",
  13343. "schema": {
  13344. "$ref": "#/definitions/app.Response"
  13345. }
  13346. }
  13347. }
  13348. }
  13349. },
  13350. "/WrTrade2/QueryDeliveryGoodsSection": {
  13351. "get": {
  13352. "security": [
  13353. {
  13354. "ApiKeyAuth": []
  13355. }
  13356. ],
  13357. "produces": [
  13358. "application/json"
  13359. ],
  13360. "tags": [
  13361. "仓单贸易v2"
  13362. ],
  13363. "summary": "查询板块(分类)",
  13364. "responses": {
  13365. "200": {
  13366. "description": "OK",
  13367. "schema": {
  13368. "type": "array",
  13369. "items": {
  13370. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13371. }
  13372. }
  13373. },
  13374. "500": {
  13375. "description": "Internal Server Error",
  13376. "schema": {
  13377. "$ref": "#/definitions/app.Response"
  13378. }
  13379. }
  13380. }
  13381. }
  13382. },
  13383. "/WrTrade2/QueryFaProductDetail": {
  13384. "get": {
  13385. "security": [
  13386. {
  13387. "ApiKeyAuth": []
  13388. }
  13389. ],
  13390. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13391. "produces": [
  13392. "application/json"
  13393. ],
  13394. "tags": [
  13395. "仓单贸易v2"
  13396. ],
  13397. "summary": "查询融资产品列表",
  13398. "parameters": [
  13399. {
  13400. "type": "integer",
  13401. "description": "仓单要素id",
  13402. "name": "wrfactortypeid",
  13403. "in": "query",
  13404. "required": true
  13405. }
  13406. ],
  13407. "responses": {
  13408. "200": {
  13409. "description": "OK",
  13410. "schema": {
  13411. "type": "array",
  13412. "items": {
  13413. "$ref": "#/definitions/models.WrFAProductDetail"
  13414. }
  13415. }
  13416. },
  13417. "500": {
  13418. "description": "Internal Server Error",
  13419. "schema": {
  13420. "$ref": "#/definitions/app.Response"
  13421. }
  13422. }
  13423. }
  13424. }
  13425. },
  13426. "/WrTrade2/QueryFilterItem": {
  13427. "get": {
  13428. "security": [
  13429. {
  13430. "ApiKeyAuth": []
  13431. }
  13432. ],
  13433. "produces": [
  13434. "application/json"
  13435. ],
  13436. "tags": [
  13437. "仓单贸易v2"
  13438. ],
  13439. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13440. "parameters": [
  13441. {
  13442. "type": "string",
  13443. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13444. "name": "itype",
  13445. "in": "query",
  13446. "required": true
  13447. }
  13448. ],
  13449. "responses": {
  13450. "200": {
  13451. "description": "OK",
  13452. "schema": {
  13453. "type": "array",
  13454. "items": {
  13455. "$ref": "#/definitions/models.WrFilterItem"
  13456. }
  13457. }
  13458. },
  13459. "500": {
  13460. "description": "Internal Server Error",
  13461. "schema": {
  13462. "$ref": "#/definitions/app.Response"
  13463. }
  13464. }
  13465. }
  13466. }
  13467. },
  13468. "/WrTrade2/QueryFtDeliveryGoods": {
  13469. "get": {
  13470. "security": [
  13471. {
  13472. "ApiKeyAuth": []
  13473. }
  13474. ],
  13475. "produces": [
  13476. "application/json"
  13477. ],
  13478. "tags": [
  13479. "仓单贸易v2"
  13480. ],
  13481. "summary": "查询品种品类筛选框列表",
  13482. "responses": {
  13483. "200": {
  13484. "description": "OK",
  13485. "schema": {
  13486. "type": "array",
  13487. "items": {
  13488. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13489. }
  13490. }
  13491. },
  13492. "500": {
  13493. "description": "Internal Server Error",
  13494. "schema": {
  13495. "$ref": "#/definitions/app.Response"
  13496. }
  13497. }
  13498. }
  13499. }
  13500. },
  13501. "/WrTrade2/QueryHoldLB": {
  13502. "get": {
  13503. "security": [
  13504. {
  13505. "ApiKeyAuth": []
  13506. }
  13507. ],
  13508. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13509. "produces": [
  13510. "application/json"
  13511. ],
  13512. "tags": [
  13513. "仓单贸易v2"
  13514. ],
  13515. "summary": "查询仓单持有记录",
  13516. "parameters": [
  13517. {
  13518. "type": "integer",
  13519. "description": "资金账号",
  13520. "name": "accountid",
  13521. "in": "query",
  13522. "required": true
  13523. },
  13524. {
  13525. "type": "integer",
  13526. "description": "仓库id",
  13527. "name": "warehouseid",
  13528. "in": "query"
  13529. },
  13530. {
  13531. "type": "integer",
  13532. "description": "品种id",
  13533. "name": "deliverygoodsid",
  13534. "in": "query"
  13535. },
  13536. {
  13537. "type": "integer",
  13538. "description": "品类id",
  13539. "name": "wrstandardid",
  13540. "in": "query"
  13541. },
  13542. {
  13543. "type": "integer",
  13544. "description": "仓单要素id",
  13545. "name": "wrfactortypeid",
  13546. "in": "query"
  13547. },
  13548. {
  13549. "type": "string",
  13550. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13551. "name": "dgitemname",
  13552. "in": "query"
  13553. }
  13554. ],
  13555. "responses": {
  13556. "200": {
  13557. "description": "OK",
  13558. "schema": {
  13559. "type": "array",
  13560. "items": {
  13561. "$ref": "#/definitions/models.WrHoldLB"
  13562. }
  13563. }
  13564. },
  13565. "500": {
  13566. "description": "Internal Server Error",
  13567. "schema": {
  13568. "$ref": "#/definitions/app.Response"
  13569. }
  13570. }
  13571. }
  13572. }
  13573. },
  13574. "/WrTrade2/QueryOrderQuote": {
  13575. "get": {
  13576. "security": [
  13577. {
  13578. "ApiKeyAuth": []
  13579. }
  13580. ],
  13581. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13582. "produces": [
  13583. "application/json"
  13584. ],
  13585. "tags": [
  13586. "仓单贸易v2"
  13587. ],
  13588. "summary": "查询大厅行情列表",
  13589. "parameters": [
  13590. {
  13591. "type": "integer",
  13592. "description": "页码",
  13593. "name": "page",
  13594. "in": "query"
  13595. },
  13596. {
  13597. "type": "integer",
  13598. "description": "每页条数",
  13599. "name": "pagesize",
  13600. "in": "query"
  13601. },
  13602. {
  13603. "type": "integer",
  13604. "description": "仓单贸易市场id",
  13605. "name": "marketid",
  13606. "in": "query"
  13607. },
  13608. {
  13609. "type": "integer",
  13610. "description": "价格方式 - 1:固定价 2-浮动价",
  13611. "name": "wrpricetype",
  13612. "in": "query",
  13613. "required": true
  13614. },
  13615. {
  13616. "type": "integer",
  13617. "description": "0:仓单预售 1:仓单贸易",
  13618. "name": "haswr",
  13619. "in": "query"
  13620. },
  13621. {
  13622. "type": "string",
  13623. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13624. "name": "dgitemname",
  13625. "in": "query"
  13626. },
  13627. {
  13628. "type": "integer",
  13629. "description": "仓库id(筛选条件)",
  13630. "name": "warehouseid",
  13631. "in": "query"
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "品种id",
  13636. "name": "deliverygoodsid",
  13637. "in": "query"
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "品类id",
  13642. "name": "wrstandardid",
  13643. "in": "query"
  13644. },
  13645. {
  13646. "type": "integer",
  13647. "description": "品牌id(dgfactoryitemid)",
  13648. "name": "brandid",
  13649. "in": "query"
  13650. },
  13651. {
  13652. "type": "integer",
  13653. "description": "年份id(dgfactoryitemid)",
  13654. "name": "yearsid",
  13655. "in": "query"
  13656. },
  13657. {
  13658. "type": "integer",
  13659. "description": "仓单要素id",
  13660. "name": "wrfactortypeid",
  13661. "in": "query"
  13662. },
  13663. {
  13664. "type": "string",
  13665. "description": "交收月(yyyy-mm) 仓单预售填写",
  13666. "name": "deliverymonth",
  13667. "in": "query"
  13668. }
  13669. ],
  13670. "responses": {
  13671. "200": {
  13672. "description": "OK",
  13673. "schema": {
  13674. "type": "array",
  13675. "items": {
  13676. "$ref": "#/definitions/models.WrOrderQuote"
  13677. }
  13678. }
  13679. },
  13680. "500": {
  13681. "description": "Internal Server Error",
  13682. "schema": {
  13683. "$ref": "#/definitions/app.Response"
  13684. }
  13685. }
  13686. }
  13687. }
  13688. },
  13689. "/WrTrade2/QueryOrderQuoteDetail": {
  13690. "get": {
  13691. "security": [
  13692. {
  13693. "ApiKeyAuth": []
  13694. }
  13695. ],
  13696. "produces": [
  13697. "application/json"
  13698. ],
  13699. "tags": [
  13700. "仓单贸易v2"
  13701. ],
  13702. "summary": "查询买卖大厅",
  13703. "parameters": [
  13704. {
  13705. "type": "integer",
  13706. "description": "页码",
  13707. "name": "page",
  13708. "in": "query"
  13709. },
  13710. {
  13711. "type": "integer",
  13712. "description": "每页条数",
  13713. "name": "pagesize",
  13714. "in": "query"
  13715. },
  13716. {
  13717. "type": "integer",
  13718. "description": "仓单贸易市场id",
  13719. "name": "marketid",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "价格方式 - 1:固定价 2-浮动价",
  13725. "name": "wrpricetype",
  13726. "in": "query",
  13727. "required": true
  13728. },
  13729. {
  13730. "type": "integer",
  13731. "description": "0:仓单预售 1:仓单贸易",
  13732. "name": "haswr",
  13733. "in": "query"
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "仓单要素id",
  13738. "name": "wrfactortypeid",
  13739. "in": "query",
  13740. "required": true
  13741. },
  13742. {
  13743. "type": "integer",
  13744. "description": "期货商品id(浮动价方式时填)",
  13745. "name": "goodsid",
  13746. "in": "query"
  13747. },
  13748. {
  13749. "type": "integer",
  13750. "description": "买卖方向 0-买 1-卖",
  13751. "name": "buyorsell",
  13752. "in": "query",
  13753. "required": true
  13754. },
  13755. {
  13756. "type": "string",
  13757. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13758. "name": "deliverymonth",
  13759. "in": "query"
  13760. }
  13761. ],
  13762. "responses": {
  13763. "200": {
  13764. "description": "OK",
  13765. "schema": {
  13766. "type": "array",
  13767. "items": {
  13768. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13769. }
  13770. }
  13771. },
  13772. "500": {
  13773. "description": "Internal Server Error",
  13774. "schema": {
  13775. "$ref": "#/definitions/app.Response"
  13776. }
  13777. }
  13778. }
  13779. }
  13780. },
  13781. "/WrTrade2/QueryOrderQuoteMyq": {
  13782. "get": {
  13783. "security": [
  13784. {
  13785. "ApiKeyAuth": []
  13786. }
  13787. ],
  13788. "produces": [
  13789. "application/json"
  13790. ],
  13791. "tags": [
  13792. "仓单贸易v2"
  13793. ],
  13794. "summary": "查询贸易圈挂牌大厅",
  13795. "parameters": [
  13796. {
  13797. "type": "integer",
  13798. "description": "页码",
  13799. "name": "page",
  13800. "in": "query"
  13801. },
  13802. {
  13803. "type": "integer",
  13804. "description": "每页条数",
  13805. "name": "pagesize",
  13806. "in": "query"
  13807. },
  13808. {
  13809. "type": "integer",
  13810. "description": "用户id",
  13811. "name": "userid",
  13812. "in": "query",
  13813. "required": true
  13814. },
  13815. {
  13816. "type": "integer",
  13817. "description": "仓单贸易市场id",
  13818. "name": "marketid",
  13819. "in": "query"
  13820. },
  13821. {
  13822. "type": "integer",
  13823. "description": "0:仓单预售 1:仓单贸易",
  13824. "name": "haswr",
  13825. "in": "query"
  13826. },
  13827. {
  13828. "type": "integer",
  13829. "description": "买卖方向 0-买 1-卖",
  13830. "name": "buyorsell",
  13831. "in": "query",
  13832. "required": true
  13833. },
  13834. {
  13835. "type": "integer",
  13836. "description": "品种id",
  13837. "name": "deliverygoodsid",
  13838. "in": "query"
  13839. },
  13840. {
  13841. "type": "integer",
  13842. "description": "品类id",
  13843. "name": "wrstandardid",
  13844. "in": "query"
  13845. },
  13846. {
  13847. "type": "string",
  13848. "description": "交收月(yyyy-mm) 仓单预售填写",
  13849. "name": "deliverymonth",
  13850. "in": "query"
  13851. },
  13852. {
  13853. "type": "string",
  13854. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13855. "name": "dgitemname",
  13856. "in": "query"
  13857. }
  13858. ],
  13859. "responses": {
  13860. "200": {
  13861. "description": "OK",
  13862. "schema": {
  13863. "type": "array",
  13864. "items": {
  13865. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13866. }
  13867. }
  13868. },
  13869. "500": {
  13870. "description": "Internal Server Error",
  13871. "schema": {
  13872. "$ref": "#/definitions/app.Response"
  13873. }
  13874. }
  13875. }
  13876. }
  13877. },
  13878. "/WrTrade2/QueryPerformancePlan": {
  13879. "get": {
  13880. "security": [
  13881. {
  13882. "ApiKeyAuth": []
  13883. }
  13884. ],
  13885. "produces": [
  13886. "application/json"
  13887. ],
  13888. "tags": [
  13889. "仓单贸易v2"
  13890. ],
  13891. "summary": "查询履约信息",
  13892. "parameters": [
  13893. {
  13894. "type": "integer",
  13895. "description": "用户id",
  13896. "name": "userid",
  13897. "in": "query",
  13898. "required": true
  13899. },
  13900. {
  13901. "type": "integer",
  13902. "description": "买卖方向 0-买 1-卖",
  13903. "name": "buyorsell",
  13904. "in": "query",
  13905. "required": true
  13906. },
  13907. {
  13908. "type": "string",
  13909. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13910. "name": "status",
  13911. "in": "query"
  13912. },
  13913. {
  13914. "type": "string",
  13915. "description": "开始交易日(yyyymmdd)",
  13916. "name": "begindate",
  13917. "in": "query"
  13918. },
  13919. {
  13920. "type": "string",
  13921. "description": "结束交易日(yyyymmdd)",
  13922. "name": "enddate",
  13923. "in": "query"
  13924. }
  13925. ],
  13926. "responses": {
  13927. "200": {
  13928. "description": "OK",
  13929. "schema": {
  13930. "type": "array",
  13931. "items": {
  13932. "$ref": "#/definitions/models.WrPerformancePlan"
  13933. }
  13934. }
  13935. },
  13936. "500": {
  13937. "description": "Internal Server Error",
  13938. "schema": {
  13939. "$ref": "#/definitions/app.Response"
  13940. }
  13941. }
  13942. }
  13943. }
  13944. },
  13945. "/WrTrade2/QueryPermancePlanTmp": {
  13946. "get": {
  13947. "security": [
  13948. {
  13949. "ApiKeyAuth": []
  13950. }
  13951. ],
  13952. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13953. "produces": [
  13954. "application/json"
  13955. ],
  13956. "tags": [
  13957. "仓单贸易v2"
  13958. ],
  13959. "summary": "查询履约模板",
  13960. "parameters": [
  13961. {
  13962. "type": "integer",
  13963. "description": "用户id",
  13964. "name": "userid",
  13965. "in": "query"
  13966. },
  13967. {
  13968. "type": "string",
  13969. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13970. "name": "tmptype",
  13971. "in": "query"
  13972. },
  13973. {
  13974. "type": "integer",
  13975. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13976. "name": "includepub",
  13977. "in": "query"
  13978. },
  13979. {
  13980. "type": "integer",
  13981. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13982. "name": "marketid",
  13983. "in": "query"
  13984. }
  13985. ],
  13986. "responses": {
  13987. "200": {
  13988. "description": "OK",
  13989. "schema": {
  13990. "type": "array",
  13991. "items": {
  13992. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13993. }
  13994. }
  13995. },
  13996. "500": {
  13997. "description": "Internal Server Error",
  13998. "schema": {
  13999. "$ref": "#/definitions/app.Response"
  14000. }
  14001. }
  14002. }
  14003. }
  14004. },
  14005. "/WrTrade2/QuerySiteColumnDetail": {
  14006. "get": {
  14007. "security": [
  14008. {
  14009. "ApiKeyAuth": []
  14010. }
  14011. ],
  14012. "produces": [
  14013. "application/json"
  14014. ],
  14015. "tags": [
  14016. "仓单贸易v2"
  14017. ],
  14018. "summary": "查询资讯",
  14019. "parameters": [
  14020. {
  14021. "type": "integer",
  14022. "description": "页码",
  14023. "name": "page",
  14024. "in": "query"
  14025. },
  14026. {
  14027. "type": "integer",
  14028. "description": "每页条数",
  14029. "name": "pagesize",
  14030. "in": "query"
  14031. },
  14032. {
  14033. "type": "integer",
  14034. "description": "所属栏目id",
  14035. "name": "columnid",
  14036. "in": "query"
  14037. }
  14038. ],
  14039. "responses": {
  14040. "200": {
  14041. "description": "OK",
  14042. "schema": {
  14043. "type": "array",
  14044. "items": {
  14045. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14046. }
  14047. }
  14048. },
  14049. "500": {
  14050. "description": "Internal Server Error",
  14051. "schema": {
  14052. "$ref": "#/definitions/app.Response"
  14053. }
  14054. }
  14055. }
  14056. }
  14057. },
  14058. "/WrTrade2/QuerySpotGroupTradeSum": {
  14059. "get": {
  14060. "security": [
  14061. {
  14062. "ApiKeyAuth": []
  14063. }
  14064. ],
  14065. "produces": [
  14066. "application/json"
  14067. ],
  14068. "tags": [
  14069. "仓单贸易v2"
  14070. ],
  14071. "summary": "查询指数",
  14072. "responses": {
  14073. "200": {
  14074. "description": "OK",
  14075. "schema": {
  14076. "type": "array",
  14077. "items": {
  14078. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14079. }
  14080. }
  14081. },
  14082. "500": {
  14083. "description": "Internal Server Error",
  14084. "schema": {
  14085. "$ref": "#/definitions/app.Response"
  14086. }
  14087. }
  14088. }
  14089. }
  14090. },
  14091. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14092. "get": {
  14093. "security": [
  14094. {
  14095. "ApiKeyAuth": []
  14096. }
  14097. ],
  14098. "description": "查询的结果将会按日期 从小到大 排序",
  14099. "produces": [
  14100. "application/json"
  14101. ],
  14102. "tags": [
  14103. "仓单贸易v2"
  14104. ],
  14105. "summary": "查询指数详细(价格走势图)",
  14106. "parameters": [
  14107. {
  14108. "type": "integer",
  14109. "description": "现货商品id",
  14110. "name": "deliverygoodsid",
  14111. "in": "query",
  14112. "required": true
  14113. },
  14114. {
  14115. "type": "integer",
  14116. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14117. "name": "lastnum",
  14118. "in": "query"
  14119. }
  14120. ],
  14121. "responses": {
  14122. "200": {
  14123. "description": "OK",
  14124. "schema": {
  14125. "type": "array",
  14126. "items": {
  14127. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14128. }
  14129. }
  14130. },
  14131. "500": {
  14132. "description": "Internal Server Error",
  14133. "schema": {
  14134. "$ref": "#/definitions/app.Response"
  14135. }
  14136. }
  14137. }
  14138. }
  14139. },
  14140. "/WrTrade2/QueryWrAverageTradePrice": {
  14141. "get": {
  14142. "security": [
  14143. {
  14144. "ApiKeyAuth": []
  14145. }
  14146. ],
  14147. "produces": [
  14148. "application/json"
  14149. ],
  14150. "tags": [
  14151. "仓单贸易v2"
  14152. ],
  14153. "summary": "查询成交价(历史走势)",
  14154. "parameters": [
  14155. {
  14156. "type": "integer",
  14157. "description": "页码",
  14158. "name": "page",
  14159. "in": "query"
  14160. },
  14161. {
  14162. "type": "integer",
  14163. "description": "每页条数",
  14164. "name": "pagesize",
  14165. "in": "query"
  14166. },
  14167. {
  14168. "type": "integer",
  14169. "description": "0:仓单预售 1:仓单贸易",
  14170. "name": "haswr",
  14171. "in": "query",
  14172. "required": true
  14173. },
  14174. {
  14175. "type": "integer",
  14176. "description": "仓单要素id",
  14177. "name": "wrfactortypeid",
  14178. "in": "query",
  14179. "required": true
  14180. }
  14181. ],
  14182. "responses": {
  14183. "200": {
  14184. "description": "OK",
  14185. "schema": {
  14186. "type": "array",
  14187. "items": {
  14188. "$ref": "#/definitions/models.WrAverageTradePrice"
  14189. }
  14190. }
  14191. },
  14192. "500": {
  14193. "description": "Internal Server Error",
  14194. "schema": {
  14195. "$ref": "#/definitions/app.Response"
  14196. }
  14197. }
  14198. }
  14199. }
  14200. },
  14201. "/WrTrade2/QueryWrBrandAndYears": {
  14202. "get": {
  14203. "security": [
  14204. {
  14205. "ApiKeyAuth": []
  14206. }
  14207. ],
  14208. "produces": [
  14209. "application/json"
  14210. ],
  14211. "tags": [
  14212. "仓单贸易v2"
  14213. ],
  14214. "summary": "查询品牌和年份",
  14215. "responses": {
  14216. "200": {
  14217. "description": "OK",
  14218. "schema": {
  14219. "type": "array",
  14220. "items": {
  14221. "$ref": "#/definitions/models.WrBrandAndYears"
  14222. }
  14223. }
  14224. },
  14225. "500": {
  14226. "description": "Internal Server Error",
  14227. "schema": {
  14228. "$ref": "#/definitions/app.Response"
  14229. }
  14230. }
  14231. }
  14232. }
  14233. },
  14234. "/WrTrade2/QueryWrBsGoodsInfo": {
  14235. "get": {
  14236. "security": [
  14237. {
  14238. "ApiKeyAuth": []
  14239. }
  14240. ],
  14241. "description": "合约交易/买卖大厅/详情",
  14242. "produces": [
  14243. "application/json"
  14244. ],
  14245. "tags": [
  14246. "仓单贸易v2"
  14247. ],
  14248. "summary": "查询合约交易买卖大厅详情",
  14249. "parameters": [
  14250. {
  14251. "type": "integer",
  14252. "description": "商品id",
  14253. "name": "goodsid",
  14254. "in": "query",
  14255. "required": true
  14256. }
  14257. ],
  14258. "responses": {
  14259. "200": {
  14260. "description": "OK",
  14261. "schema": {
  14262. "type": "array",
  14263. "items": {
  14264. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14265. }
  14266. }
  14267. },
  14268. "500": {
  14269. "description": "Internal Server Error",
  14270. "schema": {
  14271. "$ref": "#/definitions/app.Response"
  14272. }
  14273. }
  14274. }
  14275. }
  14276. },
  14277. "/WrTrade2/QueryWrBuybackDetail": {
  14278. "get": {
  14279. "security": [
  14280. {
  14281. "ApiKeyAuth": []
  14282. }
  14283. ],
  14284. "produces": [
  14285. "application/json"
  14286. ],
  14287. "tags": [
  14288. "仓单贸易v2"
  14289. ],
  14290. "summary": "查询仓单回购明细",
  14291. "parameters": [
  14292. {
  14293. "type": "integer",
  14294. "description": "融资合同id",
  14295. "name": "scfcontractid",
  14296. "in": "query"
  14297. }
  14298. ],
  14299. "responses": {
  14300. "200": {
  14301. "description": "OK",
  14302. "schema": {
  14303. "type": "array",
  14304. "items": {
  14305. "$ref": "#/definitions/models.WrBuybackDetail"
  14306. }
  14307. }
  14308. },
  14309. "500": {
  14310. "description": "Internal Server Error",
  14311. "schema": {
  14312. "$ref": "#/definitions/app.Response"
  14313. }
  14314. }
  14315. }
  14316. }
  14317. },
  14318. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14319. "get": {
  14320. "security": [
  14321. {
  14322. "ApiKeyAuth": []
  14323. }
  14324. ],
  14325. "produces": [
  14326. "application/json"
  14327. ],
  14328. "tags": [
  14329. "仓单贸易v2"
  14330. ],
  14331. "summary": "查询固定广告配置",
  14332. "responses": {
  14333. "200": {
  14334. "description": "OK",
  14335. "schema": {
  14336. "type": "array",
  14337. "items": {
  14338. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14339. }
  14340. }
  14341. },
  14342. "500": {
  14343. "description": "Internal Server Error",
  14344. "schema": {
  14345. "$ref": "#/definitions/app.Response"
  14346. }
  14347. }
  14348. }
  14349. }
  14350. },
  14351. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14352. "get": {
  14353. "security": [
  14354. {
  14355. "ApiKeyAuth": []
  14356. }
  14357. ],
  14358. "produces": [
  14359. "application/json"
  14360. ],
  14361. "tags": [
  14362. "仓单贸易v2"
  14363. ],
  14364. "summary": "查询合约交收可点选仓单",
  14365. "parameters": [
  14366. {
  14367. "type": "integer",
  14368. "description": "资金账号",
  14369. "name": "accountid",
  14370. "in": "query",
  14371. "required": true
  14372. },
  14373. {
  14374. "type": "integer",
  14375. "description": "商品id",
  14376. "name": "goodsid",
  14377. "in": "query",
  14378. "required": true
  14379. }
  14380. ],
  14381. "responses": {
  14382. "200": {
  14383. "description": "OK",
  14384. "schema": {
  14385. "type": "array",
  14386. "items": {
  14387. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14388. }
  14389. }
  14390. },
  14391. "500": {
  14392. "description": "Internal Server Error",
  14393. "schema": {
  14394. "$ref": "#/definitions/app.Response"
  14395. }
  14396. }
  14397. }
  14398. }
  14399. },
  14400. "/WrTrade2/QueryWrDeliveryDetail": {
  14401. "get": {
  14402. "security": [
  14403. {
  14404. "ApiKeyAuth": []
  14405. }
  14406. ],
  14407. "produces": [
  14408. "application/json"
  14409. ],
  14410. "tags": [
  14411. "仓单贸易v2"
  14412. ],
  14413. "summary": "查询交收",
  14414. "parameters": [
  14415. {
  14416. "type": "integer",
  14417. "description": "用户id",
  14418. "name": "userid",
  14419. "in": "query",
  14420. "required": true
  14421. },
  14422. {
  14423. "type": "integer",
  14424. "description": "资金账号id",
  14425. "name": "accountid",
  14426. "in": "query"
  14427. },
  14428. {
  14429. "type": "string",
  14430. "description": "开始交易日(yyyymmdd)",
  14431. "name": "begindate",
  14432. "in": "query"
  14433. },
  14434. {
  14435. "type": "string",
  14436. "description": "结束交易日(yyyymmdd)",
  14437. "name": "enddate",
  14438. "in": "query"
  14439. }
  14440. ],
  14441. "responses": {
  14442. "200": {
  14443. "description": "OK",
  14444. "schema": {
  14445. "type": "array",
  14446. "items": {
  14447. "$ref": "#/definitions/models.WrDeliveryDetail"
  14448. }
  14449. }
  14450. },
  14451. "500": {
  14452. "description": "Internal Server Error",
  14453. "schema": {
  14454. "$ref": "#/definitions/app.Response"
  14455. }
  14456. }
  14457. }
  14458. }
  14459. },
  14460. "/WrTrade2/QueryWrDraftUserInfo": {
  14461. "get": {
  14462. "security": [
  14463. {
  14464. "ApiKeyAuth": []
  14465. }
  14466. ],
  14467. "produces": [
  14468. "application/json"
  14469. ],
  14470. "tags": [
  14471. "仓单贸易v2"
  14472. ],
  14473. "summary": "查询实名认证信息",
  14474. "parameters": [
  14475. {
  14476. "type": "integer",
  14477. "description": "用户ID",
  14478. "name": "userid",
  14479. "in": "query",
  14480. "required": true
  14481. },
  14482. {
  14483. "type": "integer",
  14484. "description": "用户状态 1:正常 2:注销",
  14485. "name": "userstatus",
  14486. "in": "query"
  14487. }
  14488. ],
  14489. "responses": {
  14490. "200": {
  14491. "description": "OK",
  14492. "schema": {
  14493. "type": "array",
  14494. "items": {
  14495. "$ref": "#/definitions/models.WrDraftUserInfo"
  14496. }
  14497. }
  14498. },
  14499. "500": {
  14500. "description": "Internal Server Error",
  14501. "schema": {
  14502. "$ref": "#/definitions/app.Response"
  14503. }
  14504. }
  14505. }
  14506. }
  14507. },
  14508. "/WrTrade2/QueryWrFactorTypeInfo": {
  14509. "get": {
  14510. "security": [
  14511. {
  14512. "ApiKeyAuth": []
  14513. }
  14514. ],
  14515. "produces": [
  14516. "application/json"
  14517. ],
  14518. "tags": [
  14519. "仓单贸易v2"
  14520. ],
  14521. "summary": "查询仓单要素详细信息",
  14522. "parameters": [
  14523. {
  14524. "type": "integer",
  14525. "description": "仓单要素id",
  14526. "name": "wrfactortypeid",
  14527. "in": "query",
  14528. "required": true
  14529. }
  14530. ],
  14531. "responses": {
  14532. "200": {
  14533. "description": "OK",
  14534. "schema": {
  14535. "type": "array",
  14536. "items": {
  14537. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14538. }
  14539. }
  14540. },
  14541. "500": {
  14542. "description": "Internal Server Error",
  14543. "schema": {
  14544. "$ref": "#/definitions/app.Response"
  14545. }
  14546. }
  14547. }
  14548. }
  14549. },
  14550. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14551. "get": {
  14552. "security": [
  14553. {
  14554. "ApiKeyAuth": []
  14555. }
  14556. ],
  14557. "produces": [
  14558. "application/json"
  14559. ],
  14560. "tags": [
  14561. "仓单贸易v2"
  14562. ],
  14563. "summary": "查询仓单要素详细信息列表项",
  14564. "parameters": [
  14565. {
  14566. "type": "integer",
  14567. "description": "仓单要素id",
  14568. "name": "wrfactortypeid",
  14569. "in": "query",
  14570. "required": true
  14571. }
  14572. ],
  14573. "responses": {
  14574. "200": {
  14575. "description": "OK",
  14576. "schema": {
  14577. "type": "array",
  14578. "items": {
  14579. "$ref": "#/definitions/models.WrTypeItem"
  14580. }
  14581. }
  14582. },
  14583. "500": {
  14584. "description": "Internal Server Error",
  14585. "schema": {
  14586. "$ref": "#/definitions/app.Response"
  14587. }
  14588. }
  14589. }
  14590. }
  14591. },
  14592. "/WrTrade2/QueryWrFinanceBuyApply": {
  14593. "get": {
  14594. "security": [
  14595. {
  14596. "ApiKeyAuth": []
  14597. }
  14598. ],
  14599. "description": "页面 融资信息+ / 申请单",
  14600. "produces": [
  14601. "application/json"
  14602. ],
  14603. "tags": [
  14604. "仓单贸易v2"
  14605. ],
  14606. "summary": "查询融资购买申请",
  14607. "parameters": [
  14608. {
  14609. "type": "integer",
  14610. "description": "用户id",
  14611. "name": "userid",
  14612. "in": "query",
  14613. "required": true
  14614. }
  14615. ],
  14616. "responses": {
  14617. "200": {
  14618. "description": "OK",
  14619. "schema": {
  14620. "type": "array",
  14621. "items": {
  14622. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14623. }
  14624. }
  14625. },
  14626. "500": {
  14627. "description": "Internal Server Error",
  14628. "schema": {
  14629. "$ref": "#/definitions/app.Response"
  14630. }
  14631. }
  14632. }
  14633. }
  14634. },
  14635. "/WrTrade2/QueryWrFriendApply": {
  14636. "get": {
  14637. "security": [
  14638. {
  14639. "ApiKeyAuth": []
  14640. }
  14641. ],
  14642. "produces": [
  14643. "application/json"
  14644. ],
  14645. "tags": [
  14646. "仓单贸易v2"
  14647. ],
  14648. "summary": "查询好友申请记录",
  14649. "parameters": [
  14650. {
  14651. "type": "integer",
  14652. "description": "用户id",
  14653. "name": "userid",
  14654. "in": "query",
  14655. "required": true
  14656. }
  14657. ],
  14658. "responses": {
  14659. "200": {
  14660. "description": "OK",
  14661. "schema": {
  14662. "type": "array",
  14663. "items": {
  14664. "$ref": "#/definitions/models.WrFriendApply"
  14665. }
  14666. }
  14667. },
  14668. "500": {
  14669. "description": "Internal Server Error",
  14670. "schema": {
  14671. "$ref": "#/definitions/app.Response"
  14672. }
  14673. }
  14674. }
  14675. }
  14676. },
  14677. "/WrTrade2/QueryWrGoodsInfo": {
  14678. "get": {
  14679. "security": [
  14680. {
  14681. "ApiKeyAuth": []
  14682. }
  14683. ],
  14684. "produces": [
  14685. "application/json"
  14686. ],
  14687. "tags": [
  14688. "仓单贸易v2"
  14689. ],
  14690. "summary": "查询仓单商品信息",
  14691. "parameters": [
  14692. {
  14693. "type": "integer",
  14694. "description": "仓单贸易市场id",
  14695. "name": "marketid",
  14696. "in": "query"
  14697. },
  14698. {
  14699. "type": "integer",
  14700. "description": "0:仓单预售 1:仓单贸易",
  14701. "name": "haswr",
  14702. "in": "query",
  14703. "required": true
  14704. },
  14705. {
  14706. "type": "integer",
  14707. "description": "仓单要素id",
  14708. "name": "wrfactortypeid",
  14709. "in": "query",
  14710. "required": true
  14711. },
  14712. {
  14713. "type": "integer",
  14714. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14715. "name": "tmplateid",
  14716. "in": "query"
  14717. }
  14718. ],
  14719. "responses": {
  14720. "200": {
  14721. "description": "OK",
  14722. "schema": {
  14723. "type": "array",
  14724. "items": {
  14725. "$ref": "#/definitions/models.WrGoodsInfo"
  14726. }
  14727. }
  14728. },
  14729. "500": {
  14730. "description": "Internal Server Error",
  14731. "schema": {
  14732. "$ref": "#/definitions/app.Response"
  14733. }
  14734. }
  14735. }
  14736. }
  14737. },
  14738. "/WrTrade2/QueryWrMarketTradeConfig": {
  14739. "get": {
  14740. "security": [
  14741. {
  14742. "ApiKeyAuth": []
  14743. }
  14744. ],
  14745. "produces": [
  14746. "application/json"
  14747. ],
  14748. "tags": [
  14749. "仓单贸易v2"
  14750. ],
  14751. "summary": "查询市场交易参数配置",
  14752. "parameters": [
  14753. {
  14754. "type": "integer",
  14755. "description": "市场id",
  14756. "name": "marketid",
  14757. "in": "query"
  14758. }
  14759. ],
  14760. "responses": {
  14761. "200": {
  14762. "description": "OK",
  14763. "schema": {
  14764. "type": "array",
  14765. "items": {
  14766. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14767. }
  14768. }
  14769. },
  14770. "500": {
  14771. "description": "Internal Server Error",
  14772. "schema": {
  14773. "$ref": "#/definitions/app.Response"
  14774. }
  14775. }
  14776. }
  14777. }
  14778. },
  14779. "/WrTrade2/QueryWrOrderDetail": {
  14780. "get": {
  14781. "security": [
  14782. {
  14783. "ApiKeyAuth": []
  14784. }
  14785. ],
  14786. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14787. "produces": [
  14788. "application/json"
  14789. ],
  14790. "tags": [
  14791. "仓单贸易v2"
  14792. ],
  14793. "summary": "查询仓单委托单",
  14794. "parameters": [
  14795. {
  14796. "type": "integer",
  14797. "description": "页码",
  14798. "name": "page",
  14799. "in": "query"
  14800. },
  14801. {
  14802. "type": "integer",
  14803. "description": "每页条数",
  14804. "name": "pagesize",
  14805. "in": "query"
  14806. },
  14807. {
  14808. "type": "integer",
  14809. "description": "用户id",
  14810. "name": "userid",
  14811. "in": "query",
  14812. "required": true
  14813. },
  14814. {
  14815. "type": "integer",
  14816. "description": "仓单贸易市场id",
  14817. "name": "marketid",
  14818. "in": "query"
  14819. },
  14820. {
  14821. "type": "integer",
  14822. "description": "0:仓单预售 1:仓单贸易",
  14823. "name": "haswr",
  14824. "in": "query",
  14825. "required": true
  14826. },
  14827. {
  14828. "type": "integer",
  14829. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14830. "name": "bcancel",
  14831. "in": "query"
  14832. },
  14833. {
  14834. "type": "integer",
  14835. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14836. "name": "wrtradetype",
  14837. "in": "query"
  14838. },
  14839. {
  14840. "type": "string",
  14841. "description": "开始交易日(yyyymmdd)",
  14842. "name": "begindate",
  14843. "in": "query"
  14844. },
  14845. {
  14846. "type": "string",
  14847. "description": "结束交易日(yyyymmdd)",
  14848. "name": "enddate",
  14849. "in": "query"
  14850. }
  14851. ],
  14852. "responses": {
  14853. "200": {
  14854. "description": "OK",
  14855. "schema": {
  14856. "type": "array",
  14857. "items": {
  14858. "$ref": "#/definitions/models.WrOrderDetail"
  14859. }
  14860. }
  14861. },
  14862. "500": {
  14863. "description": "Internal Server Error",
  14864. "schema": {
  14865. "$ref": "#/definitions/app.Response"
  14866. }
  14867. }
  14868. }
  14869. }
  14870. },
  14871. "/WrTrade2/QueryWrOutInApply": {
  14872. "get": {
  14873. "security": [
  14874. {
  14875. "ApiKeyAuth": []
  14876. }
  14877. ],
  14878. "produces": [
  14879. "application/json"
  14880. ],
  14881. "tags": [
  14882. "仓单贸易v2"
  14883. ],
  14884. "summary": "查询提货申请",
  14885. "parameters": [
  14886. {
  14887. "type": "integer",
  14888. "description": "页码",
  14889. "name": "page",
  14890. "in": "query"
  14891. },
  14892. {
  14893. "type": "integer",
  14894. "description": "每页条数",
  14895. "name": "pagesize",
  14896. "in": "query"
  14897. },
  14898. {
  14899. "type": "integer",
  14900. "description": "用户id",
  14901. "name": "userid",
  14902. "in": "query",
  14903. "required": true
  14904. },
  14905. {
  14906. "type": "string",
  14907. "description": "开始交易日(yyyymmdd)",
  14908. "name": "begindate",
  14909. "in": "query"
  14910. },
  14911. {
  14912. "type": "string",
  14913. "description": "结束交易日(yyyymmdd)",
  14914. "name": "enddate",
  14915. "in": "query"
  14916. }
  14917. ],
  14918. "responses": {
  14919. "200": {
  14920. "description": "OK",
  14921. "schema": {
  14922. "type": "array",
  14923. "items": {
  14924. "$ref": "#/definitions/models.WrOutInApply"
  14925. }
  14926. }
  14927. },
  14928. "500": {
  14929. "description": "Internal Server Error",
  14930. "schema": {
  14931. "$ref": "#/definitions/app.Response"
  14932. }
  14933. }
  14934. }
  14935. }
  14936. },
  14937. "/WrTrade2/QueryWrPerformancePlanStep": {
  14938. "get": {
  14939. "security": [
  14940. {
  14941. "ApiKeyAuth": []
  14942. }
  14943. ],
  14944. "produces": [
  14945. "application/json"
  14946. ],
  14947. "tags": [
  14948. "仓单贸易v2"
  14949. ],
  14950. "summary": "查询履约信息详情",
  14951. "parameters": [
  14952. {
  14953. "type": "integer",
  14954. "description": "履约计划id(performanceplanid)",
  14955. "name": "planid",
  14956. "in": "query",
  14957. "required": true
  14958. },
  14959. {
  14960. "type": "integer",
  14961. "description": "当前步骤id",
  14962. "name": "curstepid",
  14963. "in": "query"
  14964. }
  14965. ],
  14966. "responses": {
  14967. "200": {
  14968. "description": "OK",
  14969. "schema": {
  14970. "type": "array",
  14971. "items": {
  14972. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14973. }
  14974. }
  14975. },
  14976. "500": {
  14977. "description": "Internal Server Error",
  14978. "schema": {
  14979. "$ref": "#/definitions/app.Response"
  14980. }
  14981. }
  14982. }
  14983. }
  14984. },
  14985. "/WrTrade2/QueryWrPerformanceStepType": {
  14986. "get": {
  14987. "security": [
  14988. {
  14989. "ApiKeyAuth": []
  14990. }
  14991. ],
  14992. "produces": [
  14993. "application/json"
  14994. ],
  14995. "tags": [
  14996. "仓单贸易v2"
  14997. ],
  14998. "summary": "查询履约步骤枚举",
  14999. "responses": {
  15000. "200": {
  15001. "description": "OK",
  15002. "schema": {
  15003. "type": "array",
  15004. "items": {
  15005. "$ref": "#/definitions/models.WrPerformanceStepType"
  15006. }
  15007. }
  15008. },
  15009. "500": {
  15010. "description": "Internal Server Error",
  15011. "schema": {
  15012. "$ref": "#/definitions/app.Response"
  15013. }
  15014. }
  15015. }
  15016. }
  15017. },
  15018. "/WrTrade2/QueryWrPosition": {
  15019. "get": {
  15020. "security": [
  15021. {
  15022. "ApiKeyAuth": []
  15023. }
  15024. ],
  15025. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15026. "produces": [
  15027. "application/json"
  15028. ],
  15029. "tags": [
  15030. "仓单贸易v2"
  15031. ],
  15032. "summary": "查询现货(预售)仓单持仓",
  15033. "parameters": [
  15034. {
  15035. "type": "integer",
  15036. "description": "用户id",
  15037. "name": "userid",
  15038. "in": "query",
  15039. "required": true
  15040. },
  15041. {
  15042. "type": "integer",
  15043. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15044. "name": "querytype",
  15045. "in": "query",
  15046. "required": true
  15047. },
  15048. {
  15049. "type": "integer",
  15050. "description": "0:仓单预售 1:仓单贸易",
  15051. "name": "haswr",
  15052. "in": "query",
  15053. "required": true
  15054. },
  15055. {
  15056. "type": "string",
  15057. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15058. "name": "dgitemname",
  15059. "in": "query"
  15060. },
  15061. {
  15062. "type": "integer",
  15063. "description": "仓库id(筛选条件)",
  15064. "name": "warehouseid",
  15065. "in": "query"
  15066. },
  15067. {
  15068. "type": "integer",
  15069. "description": "品种id",
  15070. "name": "deliverygoodsid",
  15071. "in": "query"
  15072. },
  15073. {
  15074. "type": "integer",
  15075. "description": "品类id",
  15076. "name": "wrstandardid",
  15077. "in": "query"
  15078. }
  15079. ],
  15080. "responses": {
  15081. "200": {
  15082. "description": "OK",
  15083. "schema": {
  15084. "type": "array",
  15085. "items": {
  15086. "$ref": "#/definitions/models.WrPosition"
  15087. }
  15088. }
  15089. },
  15090. "500": {
  15091. "description": "Internal Server Error",
  15092. "schema": {
  15093. "$ref": "#/definitions/app.Response"
  15094. }
  15095. }
  15096. }
  15097. }
  15098. },
  15099. "/WrTrade2/QueryWrPreSaleInfo": {
  15100. "get": {
  15101. "security": [
  15102. {
  15103. "ApiKeyAuth": []
  15104. }
  15105. ],
  15106. "produces": [
  15107. "application/json"
  15108. ],
  15109. "tags": [
  15110. "仓单贸易v2"
  15111. ],
  15112. "summary": "查询新品发布",
  15113. "parameters": [
  15114. {
  15115. "type": "integer",
  15116. "description": "市场id",
  15117. "name": "marketid",
  15118. "in": "query"
  15119. },
  15120. {
  15121. "type": "string",
  15122. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15123. "name": "presalestatus",
  15124. "in": "query"
  15125. },
  15126. {
  15127. "type": "integer",
  15128. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15129. "name": "lotteryflag",
  15130. "in": "query"
  15131. },
  15132. {
  15133. "type": "integer",
  15134. "description": "最近多少条记录(按创建时间倒序)",
  15135. "name": "lastnum",
  15136. "in": "query"
  15137. }
  15138. ],
  15139. "responses": {
  15140. "200": {
  15141. "description": "OK",
  15142. "schema": {
  15143. "type": "array",
  15144. "items": {
  15145. "$ref": "#/definitions/models.WrPreSaleInfo"
  15146. }
  15147. }
  15148. },
  15149. "500": {
  15150. "description": "Internal Server Error",
  15151. "schema": {
  15152. "$ref": "#/definitions/app.Response"
  15153. }
  15154. }
  15155. }
  15156. }
  15157. },
  15158. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15159. "get": {
  15160. "security": [
  15161. {
  15162. "ApiKeyAuth": []
  15163. }
  15164. ],
  15165. "produces": [
  15166. "application/json"
  15167. ],
  15168. "tags": [
  15169. "仓单贸易v2"
  15170. ],
  15171. "summary": "查询价格走势",
  15172. "parameters": [
  15173. {
  15174. "type": "integer",
  15175. "description": "市场id",
  15176. "name": "marketid",
  15177. "in": "query",
  15178. "required": true
  15179. },
  15180. {
  15181. "type": "integer",
  15182. "description": "现货商品id",
  15183. "name": "wrstandardid",
  15184. "in": "query",
  15185. "required": true
  15186. },
  15187. {
  15188. "type": "string",
  15189. "description": "开始交易日(yyyymmdd)",
  15190. "name": "begindate",
  15191. "in": "query"
  15192. },
  15193. {
  15194. "type": "string",
  15195. "description": "结束交易日(yyyymmdd)",
  15196. "name": "enddate",
  15197. "in": "query"
  15198. },
  15199. {
  15200. "type": "integer",
  15201. "description": "最近多少条记录(按交易日倒序)",
  15202. "name": "lastnum",
  15203. "in": "query"
  15204. },
  15205. {
  15206. "type": "boolean",
  15207. "description": "是否今日",
  15208. "name": "istoday",
  15209. "in": "query"
  15210. }
  15211. ],
  15212. "responses": {
  15213. "200": {
  15214. "description": "OK",
  15215. "schema": {
  15216. "type": "array",
  15217. "items": {
  15218. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15219. }
  15220. }
  15221. },
  15222. "500": {
  15223. "description": "Internal Server Error",
  15224. "schema": {
  15225. "$ref": "#/definitions/app.Response"
  15226. }
  15227. }
  15228. }
  15229. }
  15230. },
  15231. "/WrTrade2/QueryWrScfContract": {
  15232. "get": {
  15233. "security": [
  15234. {
  15235. "ApiKeyAuth": []
  15236. }
  15237. ],
  15238. "produces": [
  15239. "application/json"
  15240. ],
  15241. "tags": [
  15242. "仓单贸易v2"
  15243. ],
  15244. "summary": "查询仓单贸易融资合同",
  15245. "parameters": [
  15246. {
  15247. "type": "integer",
  15248. "description": "用户id",
  15249. "name": "userid",
  15250. "in": "query",
  15251. "required": true
  15252. },
  15253. {
  15254. "type": "integer",
  15255. "description": "融资合同id",
  15256. "name": "scfcontractid",
  15257. "in": "query"
  15258. }
  15259. ],
  15260. "responses": {
  15261. "200": {
  15262. "description": "OK",
  15263. "schema": {
  15264. "type": "array",
  15265. "items": {
  15266. "$ref": "#/definitions/models.WrScfContract"
  15267. }
  15268. }
  15269. },
  15270. "500": {
  15271. "description": "Internal Server Error",
  15272. "schema": {
  15273. "$ref": "#/definitions/app.Response"
  15274. }
  15275. }
  15276. }
  15277. }
  15278. },
  15279. "/WrTrade2/QueryWrScfContractInterest": {
  15280. "get": {
  15281. "security": [
  15282. {
  15283. "ApiKeyAuth": []
  15284. }
  15285. ],
  15286. "produces": [
  15287. "application/json"
  15288. ],
  15289. "tags": [
  15290. "仓单贸易v2"
  15291. ],
  15292. "summary": "查询融资合同费用明细",
  15293. "parameters": [
  15294. {
  15295. "type": "integer",
  15296. "description": "融资合同id",
  15297. "name": "scfcontractid",
  15298. "in": "query"
  15299. }
  15300. ],
  15301. "responses": {
  15302. "200": {
  15303. "description": "OK",
  15304. "schema": {
  15305. "type": "array",
  15306. "items": {
  15307. "$ref": "#/definitions/models.WrScfContractInterest"
  15308. }
  15309. }
  15310. },
  15311. "500": {
  15312. "description": "Internal Server Error",
  15313. "schema": {
  15314. "$ref": "#/definitions/app.Response"
  15315. }
  15316. }
  15317. }
  15318. }
  15319. },
  15320. "/WrTrade2/QueryWrSearchUser": {
  15321. "get": {
  15322. "security": [
  15323. {
  15324. "ApiKeyAuth": []
  15325. }
  15326. ],
  15327. "produces": [
  15328. "application/json"
  15329. ],
  15330. "tags": [
  15331. "仓单贸易v2"
  15332. ],
  15333. "summary": "查询用户",
  15334. "parameters": [
  15335. {
  15336. "type": "string",
  15337. "description": "用户名称(模糊匹配)",
  15338. "name": "username",
  15339. "in": "query",
  15340. "required": true
  15341. }
  15342. ],
  15343. "responses": {
  15344. "200": {
  15345. "description": "OK",
  15346. "schema": {
  15347. "type": "array",
  15348. "items": {
  15349. "$ref": "#/definitions/models.WrSearchUser"
  15350. }
  15351. }
  15352. },
  15353. "500": {
  15354. "description": "Internal Server Error",
  15355. "schema": {
  15356. "$ref": "#/definitions/app.Response"
  15357. }
  15358. }
  15359. }
  15360. }
  15361. },
  15362. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15363. "get": {
  15364. "security": [
  15365. {
  15366. "ApiKeyAuth": []
  15367. }
  15368. ],
  15369. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15370. "produces": [
  15371. "application/json"
  15372. ],
  15373. "tags": [
  15374. "仓单贸易v2"
  15375. ],
  15376. "summary": "查询指定成交",
  15377. "parameters": [
  15378. {
  15379. "type": "integer",
  15380. "description": "页码",
  15381. "name": "page",
  15382. "in": "query"
  15383. },
  15384. {
  15385. "type": "integer",
  15386. "description": "每页条数",
  15387. "name": "pagesize",
  15388. "in": "query"
  15389. },
  15390. {
  15391. "type": "integer",
  15392. "description": "用户id",
  15393. "name": "userid",
  15394. "in": "query",
  15395. "required": true
  15396. },
  15397. {
  15398. "type": "integer",
  15399. "description": "仓单贸易市场id",
  15400. "name": "marketid",
  15401. "in": "query"
  15402. },
  15403. {
  15404. "type": "integer",
  15405. "description": "0:仓单预售 1:仓单贸易",
  15406. "name": "haswr",
  15407. "in": "query",
  15408. "required": true
  15409. },
  15410. {
  15411. "type": "integer",
  15412. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15413. "name": "isspecified",
  15414. "in": "query"
  15415. }
  15416. ],
  15417. "responses": {
  15418. "200": {
  15419. "description": "OK",
  15420. "schema": {
  15421. "type": "array",
  15422. "items": {
  15423. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15424. }
  15425. }
  15426. },
  15427. "500": {
  15428. "description": "Internal Server Error",
  15429. "schema": {
  15430. "$ref": "#/definitions/app.Response"
  15431. }
  15432. }
  15433. }
  15434. }
  15435. },
  15436. "/WrTrade2/QueryWrStandardFactoryItem": {
  15437. "get": {
  15438. "security": [
  15439. {
  15440. "ApiKeyAuth": []
  15441. }
  15442. ],
  15443. "produces": [
  15444. "application/json"
  15445. ],
  15446. "tags": [
  15447. "仓单贸易v2"
  15448. ],
  15449. "summary": "查询品类要素定义项",
  15450. "parameters": [
  15451. {
  15452. "type": "integer",
  15453. "description": "品类id",
  15454. "name": "wrstandardid",
  15455. "in": "query",
  15456. "required": true
  15457. }
  15458. ],
  15459. "responses": {
  15460. "200": {
  15461. "description": "OK",
  15462. "schema": {
  15463. "type": "array",
  15464. "items": {
  15465. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15466. }
  15467. }
  15468. },
  15469. "500": {
  15470. "description": "Internal Server Error",
  15471. "schema": {
  15472. "$ref": "#/definitions/app.Response"
  15473. }
  15474. }
  15475. }
  15476. }
  15477. },
  15478. "/WrTrade2/QueryWrTradeBargainApply": {
  15479. "get": {
  15480. "security": [
  15481. {
  15482. "ApiKeyAuth": []
  15483. }
  15484. ],
  15485. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15486. "produces": [
  15487. "application/json"
  15488. ],
  15489. "tags": [
  15490. "仓单贸易v2"
  15491. ],
  15492. "summary": "查询议价单",
  15493. "parameters": [
  15494. {
  15495. "type": "integer",
  15496. "description": "议价人id(摘牌方)",
  15497. "name": "userid",
  15498. "in": "query"
  15499. },
  15500. {
  15501. "type": "integer",
  15502. "description": "挂牌方id(查对方议价时,填写此项)",
  15503. "name": "matchuserid",
  15504. "in": "query"
  15505. },
  15506. {
  15507. "type": "integer",
  15508. "description": "关联委托单id",
  15509. "name": "wrtradeorderid",
  15510. "in": "query"
  15511. },
  15512. {
  15513. "type": "integer",
  15514. "description": "0:仓单预售 1:仓单贸易",
  15515. "name": "haswr",
  15516. "in": "query",
  15517. "required": true
  15518. },
  15519. {
  15520. "type": "string",
  15521. "description": "开始交易日(yyyymmdd)",
  15522. "name": "begindate",
  15523. "in": "query"
  15524. },
  15525. {
  15526. "type": "string",
  15527. "description": "结束交易日(yyyymmdd)",
  15528. "name": "enddate",
  15529. "in": "query"
  15530. }
  15531. ],
  15532. "responses": {
  15533. "200": {
  15534. "description": "OK",
  15535. "schema": {
  15536. "type": "array",
  15537. "items": {
  15538. "$ref": "#/definitions/models.WRTradeBargainApply"
  15539. }
  15540. }
  15541. },
  15542. "500": {
  15543. "description": "Internal Server Error",
  15544. "schema": {
  15545. "$ref": "#/definitions/app.Response"
  15546. }
  15547. }
  15548. }
  15549. }
  15550. },
  15551. "/WrTrade2/QueryWrTradeDetail": {
  15552. "get": {
  15553. "security": [
  15554. {
  15555. "ApiKeyAuth": []
  15556. }
  15557. ],
  15558. "produces": [
  15559. "application/json"
  15560. ],
  15561. "tags": [
  15562. "仓单贸易v2"
  15563. ],
  15564. "summary": "查询仓单成交明细",
  15565. "parameters": [
  15566. {
  15567. "type": "integer",
  15568. "description": "页码",
  15569. "name": "page",
  15570. "in": "query"
  15571. },
  15572. {
  15573. "type": "integer",
  15574. "description": "每页条数",
  15575. "name": "pagesize",
  15576. "in": "query"
  15577. },
  15578. {
  15579. "type": "integer",
  15580. "description": "用户id",
  15581. "name": "userid",
  15582. "in": "query",
  15583. "required": true
  15584. },
  15585. {
  15586. "type": "integer",
  15587. "description": "仓单贸易市场id",
  15588. "name": "marketid",
  15589. "in": "query"
  15590. },
  15591. {
  15592. "type": "integer",
  15593. "description": "0:仓单预售 1:仓单贸易",
  15594. "name": "haswr",
  15595. "in": "query",
  15596. "required": true
  15597. },
  15598. {
  15599. "type": "string",
  15600. "description": "开始交易日(yyyymmdd)",
  15601. "name": "begindate",
  15602. "in": "query"
  15603. },
  15604. {
  15605. "type": "string",
  15606. "description": "结束交易日(yyyymmdd)",
  15607. "name": "enddate",
  15608. "in": "query"
  15609. }
  15610. ],
  15611. "responses": {
  15612. "200": {
  15613. "description": "OK",
  15614. "schema": {
  15615. "type": "array",
  15616. "items": {
  15617. "$ref": "#/definitions/models.WrTradeDetail"
  15618. }
  15619. }
  15620. },
  15621. "500": {
  15622. "description": "Internal Server Error",
  15623. "schema": {
  15624. "$ref": "#/definitions/app.Response"
  15625. }
  15626. }
  15627. }
  15628. }
  15629. },
  15630. "/WrTrade2/QueryWrTradeOrderDetail": {
  15631. "get": {
  15632. "security": [
  15633. {
  15634. "ApiKeyAuth": []
  15635. }
  15636. ],
  15637. "produces": [
  15638. "application/json"
  15639. ],
  15640. "tags": [
  15641. "仓单贸易v2"
  15642. ],
  15643. "summary": "查询合约交易买卖大厅",
  15644. "parameters": [
  15645. {
  15646. "type": "integer",
  15647. "description": "页码",
  15648. "name": "page",
  15649. "in": "query"
  15650. },
  15651. {
  15652. "type": "integer",
  15653. "description": "每页条数",
  15654. "name": "pagesize",
  15655. "in": "query"
  15656. },
  15657. {
  15658. "type": "integer",
  15659. "description": "商品id",
  15660. "name": "goodsid",
  15661. "in": "query",
  15662. "required": true
  15663. },
  15664. {
  15665. "type": "integer",
  15666. "description": "买卖方向 0-买 1-卖",
  15667. "name": "buyorsell",
  15668. "in": "query",
  15669. "required": true
  15670. }
  15671. ],
  15672. "responses": {
  15673. "200": {
  15674. "description": "OK",
  15675. "schema": {
  15676. "type": "array",
  15677. "items": {
  15678. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15679. }
  15680. }
  15681. },
  15682. "500": {
  15683. "description": "Internal Server Error",
  15684. "schema": {
  15685. "$ref": "#/definitions/app.Response"
  15686. }
  15687. }
  15688. }
  15689. }
  15690. },
  15691. "/WrTrade2/QueryWrTradeQuote": {
  15692. "get": {
  15693. "security": [
  15694. {
  15695. "ApiKeyAuth": []
  15696. }
  15697. ],
  15698. "produces": [
  15699. "application/json"
  15700. ],
  15701. "tags": [
  15702. "仓单贸易v2"
  15703. ],
  15704. "summary": "查询仓单贸易成交行情",
  15705. "parameters": [
  15706. {
  15707. "type": "integer",
  15708. "description": "现货商品id",
  15709. "name": "wrstandardid",
  15710. "in": "query",
  15711. "required": true
  15712. },
  15713. {
  15714. "type": "string",
  15715. "description": "开始日期(yyyymmdd)",
  15716. "name": "begindate",
  15717. "in": "query",
  15718. "required": true
  15719. },
  15720. {
  15721. "type": "string",
  15722. "description": "结束日期(yyyymmdd)",
  15723. "name": "enddate",
  15724. "in": "query",
  15725. "required": true
  15726. },
  15727. {
  15728. "type": "integer",
  15729. "description": "市场id",
  15730. "name": "marketid",
  15731. "in": "query"
  15732. }
  15733. ],
  15734. "responses": {
  15735. "200": {
  15736. "description": "OK",
  15737. "schema": {
  15738. "type": "array",
  15739. "items": {
  15740. "$ref": "#/definitions/models.Wrtradetradequote"
  15741. }
  15742. }
  15743. },
  15744. "500": {
  15745. "description": "Internal Server Error",
  15746. "schema": {
  15747. "$ref": "#/definitions/app.Response"
  15748. }
  15749. }
  15750. }
  15751. }
  15752. },
  15753. "/WrTrade2/QueryWrUserFriend": {
  15754. "get": {
  15755. "security": [
  15756. {
  15757. "ApiKeyAuth": []
  15758. }
  15759. ],
  15760. "produces": [
  15761. "application/json"
  15762. ],
  15763. "tags": [
  15764. "仓单贸易v2"
  15765. ],
  15766. "summary": "查询我的朋友",
  15767. "parameters": [
  15768. {
  15769. "type": "integer",
  15770. "description": "用户id",
  15771. "name": "userid",
  15772. "in": "query",
  15773. "required": true
  15774. },
  15775. {
  15776. "type": "integer",
  15777. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15778. "name": "newuserid",
  15779. "in": "query"
  15780. }
  15781. ],
  15782. "responses": {
  15783. "200": {
  15784. "description": "OK",
  15785. "schema": {
  15786. "type": "array",
  15787. "items": {
  15788. "$ref": "#/definitions/models.WrUserFriend"
  15789. }
  15790. }
  15791. },
  15792. "500": {
  15793. "description": "Internal Server Error",
  15794. "schema": {
  15795. "$ref": "#/definitions/app.Response"
  15796. }
  15797. }
  15798. }
  15799. }
  15800. },
  15801. "/WrTrade2/QueryWrUserReceiptInfo": {
  15802. "get": {
  15803. "security": [
  15804. {
  15805. "ApiKeyAuth": []
  15806. }
  15807. ],
  15808. "produces": [
  15809. "application/json"
  15810. ],
  15811. "tags": [
  15812. "仓单贸易v2"
  15813. ],
  15814. "summary": "查询发票信息",
  15815. "parameters": [
  15816. {
  15817. "type": "integer",
  15818. "description": "用户id",
  15819. "name": "userid",
  15820. "in": "query"
  15821. },
  15822. {
  15823. "type": "integer",
  15824. "description": "发票类型 - 1:个人 2:企业",
  15825. "name": "receipttype",
  15826. "in": "query"
  15827. }
  15828. ],
  15829. "responses": {
  15830. "200": {
  15831. "description": "OK",
  15832. "schema": {
  15833. "type": "array",
  15834. "items": {
  15835. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15836. }
  15837. }
  15838. },
  15839. "500": {
  15840. "description": "Internal Server Error",
  15841. "schema": {
  15842. "$ref": "#/definitions/app.Response"
  15843. }
  15844. }
  15845. }
  15846. }
  15847. },
  15848. "/WrTrade2/QueryXhcpSellBackApply": {
  15849. "get": {
  15850. "security": [
  15851. {
  15852. "ApiKeyAuth": []
  15853. }
  15854. ],
  15855. "produces": [
  15856. "application/json"
  15857. ],
  15858. "tags": [
  15859. "仓单贸易v2"
  15860. ],
  15861. "summary": "查询我的回收申请(新会陈皮)",
  15862. "parameters": [
  15863. {
  15864. "type": "integer",
  15865. "description": "用户ID",
  15866. "name": "userid",
  15867. "in": "query",
  15868. "required": true
  15869. }
  15870. ],
  15871. "responses": {
  15872. "200": {
  15873. "description": "OK",
  15874. "schema": {
  15875. "type": "array",
  15876. "items": {
  15877. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15878. }
  15879. }
  15880. },
  15881. "500": {
  15882. "description": "Internal Server Error",
  15883. "schema": {
  15884. "$ref": "#/definitions/app.Response"
  15885. }
  15886. }
  15887. }
  15888. }
  15889. },
  15890. "/ZJ/GetBankTip": {
  15891. "get": {
  15892. "produces": [
  15893. "application/json"
  15894. ],
  15895. "tags": [
  15896. "中江"
  15897. ],
  15898. "summary": "获取中江网银端出入金提示信息",
  15899. "responses": {
  15900. "200": {
  15901. "description": "OK",
  15902. "schema": {
  15903. "type": "string"
  15904. }
  15905. },
  15906. "500": {
  15907. "description": "Internal Server Error",
  15908. "schema": {
  15909. "$ref": "#/definitions/app.Response"
  15910. }
  15911. }
  15912. }
  15913. }
  15914. },
  15915. "/ZJ/GetCusBankChannels": {
  15916. "get": {
  15917. "produces": [
  15918. "application/json"
  15919. ],
  15920. "tags": [
  15921. "中江"
  15922. ],
  15923. "summary": "获取中江出入金渠道显示列表",
  15924. "responses": {
  15925. "200": {
  15926. "description": "OK",
  15927. "schema": {
  15928. "type": "array",
  15929. "items": {
  15930. "type": "string"
  15931. }
  15932. }
  15933. },
  15934. "500": {
  15935. "description": "Internal Server Error",
  15936. "schema": {
  15937. "$ref": "#/definitions/app.Response"
  15938. }
  15939. }
  15940. }
  15941. }
  15942. }
  15943. },
  15944. "definitions": {
  15945. "app.Response": {
  15946. "type": "object",
  15947. "properties": {
  15948. "code": {
  15949. "type": "integer"
  15950. },
  15951. "data": {},
  15952. "msg": {
  15953. "type": "string"
  15954. },
  15955. "page": {
  15956. "description": "页码",
  15957. "type": "integer"
  15958. },
  15959. "pagesize": {
  15960. "description": "每页条数",
  15961. "type": "integer"
  15962. },
  15963. "total": {
  15964. "description": "总条数",
  15965. "type": "integer"
  15966. }
  15967. }
  15968. },
  15969. "common.ClientMenu": {
  15970. "type": "object",
  15971. "properties": {
  15972. "children": {
  15973. "description": "子菜单列表",
  15974. "type": "array",
  15975. "items": {
  15976. "$ref": "#/definitions/common.ClientMenu"
  15977. }
  15978. },
  15979. "code": {
  15980. "description": "ID",
  15981. "type": "string"
  15982. },
  15983. "isshow": {
  15984. "description": "是否显示",
  15985. "type": "boolean"
  15986. },
  15987. "remark": {
  15988. "description": "备注",
  15989. "type": "string"
  15990. },
  15991. "rulekey": {
  15992. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15993. "type": "string"
  15994. },
  15995. "sort": {
  15996. "description": "排序",
  15997. "type": "integer"
  15998. },
  15999. "title": {
  16000. "description": "标题",
  16001. "type": "string"
  16002. },
  16003. "type": {
  16004. "description": "类型,1:菜单 2:按钮",
  16005. "type": "integer"
  16006. },
  16007. "url": {
  16008. "description": "URL",
  16009. "type": "string"
  16010. }
  16011. }
  16012. },
  16013. "common.PCWebMenu": {
  16014. "type": "object",
  16015. "properties": {
  16016. "auth": {
  16017. "description": "页面权限列表",
  16018. "type": "array",
  16019. "items": {
  16020. "$ref": "#/definitions/common.PCWebMenuAuth"
  16021. }
  16022. },
  16023. "children": {
  16024. "description": "子菜单列表",
  16025. "type": "array",
  16026. "items": {
  16027. "$ref": "#/definitions/common.PCWebMenu"
  16028. }
  16029. },
  16030. "code": {
  16031. "description": "ID,新版本中权限KEY也是这个字段",
  16032. "type": "string"
  16033. },
  16034. "component": {
  16035. "description": "路由组件",
  16036. "type": "string"
  16037. },
  16038. "isshow": {
  16039. "description": "是否显示",
  16040. "type": "boolean"
  16041. },
  16042. "path": {
  16043. "description": "路由路径",
  16044. "type": "string"
  16045. },
  16046. "remark": {
  16047. "description": "备注",
  16048. "type": "string"
  16049. },
  16050. "rulekey": {
  16051. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16052. "type": "string"
  16053. },
  16054. "sort": {
  16055. "description": "排序",
  16056. "type": "integer"
  16057. },
  16058. "title": {
  16059. "description": "标题",
  16060. "type": "string"
  16061. },
  16062. "url": {
  16063. "description": "URL",
  16064. "type": "string"
  16065. }
  16066. }
  16067. },
  16068. "common.PCWebMenuAuth": {
  16069. "type": "object",
  16070. "properties": {
  16071. "code": {
  16072. "description": "ID,新版本中权限KEY也是这个字段",
  16073. "type": "string"
  16074. },
  16075. "isshow": {
  16076. "description": "是否显示",
  16077. "type": "boolean"
  16078. },
  16079. "label": {
  16080. "description": "标题",
  16081. "type": "string"
  16082. },
  16083. "remark": {
  16084. "description": "备注",
  16085. "type": "string"
  16086. },
  16087. "rulekey": {
  16088. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16089. "type": "string"
  16090. }
  16091. }
  16092. },
  16093. "common.QueryImageConfigsRsp": {
  16094. "type": "object",
  16095. "required": [
  16096. "configid"
  16097. ],
  16098. "properties": {
  16099. "areauserid": {
  16100. "description": "所属机构ID",
  16101. "type": "integer"
  16102. },
  16103. "configid": {
  16104. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16105. "type": "integer"
  16106. },
  16107. "createdate": {
  16108. "description": "创建时间",
  16109. "type": "string"
  16110. },
  16111. "creatorid": {
  16112. "description": "创建人",
  16113. "type": "integer"
  16114. },
  16115. "imagedetailpath": {
  16116. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16117. "type": "string"
  16118. },
  16119. "imagepath": {
  16120. "description": "图片",
  16121. "type": "string"
  16122. },
  16123. "imagetype": {
  16124. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16125. "type": "integer"
  16126. },
  16127. "isshow": {
  16128. "description": "是否展示 - 0:不展示 1:展示",
  16129. "type": "integer"
  16130. },
  16131. "marketid": {
  16132. "description": "市场ID",
  16133. "type": "integer"
  16134. },
  16135. "modifierid": {
  16136. "description": "操作人",
  16137. "type": "integer"
  16138. },
  16139. "sort": {
  16140. "description": "排序",
  16141. "type": "integer"
  16142. },
  16143. "title": {
  16144. "description": "标题",
  16145. "type": "string"
  16146. },
  16147. "trademode": {
  16148. "description": "交易模式",
  16149. "type": "integer"
  16150. },
  16151. "updatedate": {
  16152. "description": "修改时间",
  16153. "type": "string"
  16154. },
  16155. "url": {
  16156. "description": "链接(地址或商品ID)",
  16157. "type": "string"
  16158. },
  16159. "urltype": {
  16160. "description": "链接类型 - 1:直接地址 2:商品ID",
  16161. "type": "integer"
  16162. }
  16163. }
  16164. },
  16165. "common.QueryNoticeRsp": {
  16166. "type": "object",
  16167. "required": [
  16168. "autoid"
  16169. ],
  16170. "properties": {
  16171. "auditoruserid": {
  16172. "description": "审核人",
  16173. "type": "integer"
  16174. },
  16175. "auditremark": {
  16176. "description": "审核备注",
  16177. "type": "string"
  16178. },
  16179. "audittime": {
  16180. "description": "审核日期",
  16181. "type": "string"
  16182. },
  16183. "autoid": {
  16184. "description": "自增ID",
  16185. "type": "integer"
  16186. },
  16187. "content": {
  16188. "description": "内容",
  16189. "type": "string"
  16190. },
  16191. "createtime": {
  16192. "description": "创建时间",
  16193. "type": "string"
  16194. },
  16195. "creatorid": {
  16196. "description": "建仓人",
  16197. "type": "integer"
  16198. },
  16199. "endtime": {
  16200. "description": "结束时间",
  16201. "type": "string"
  16202. },
  16203. "istop": {
  16204. "description": "是否置顶 - 0:不置顶 1:置顶",
  16205. "type": "integer"
  16206. },
  16207. "msgiconurl": {
  16208. "description": "消息图标Url",
  16209. "type": "string"
  16210. },
  16211. "msgtype": {
  16212. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16213. "type": "integer"
  16214. },
  16215. "publisher": {
  16216. "description": "消息发布者",
  16217. "type": "string"
  16218. },
  16219. "readed": {
  16220. "description": "是否已读",
  16221. "type": "boolean"
  16222. },
  16223. "scheduletime": {
  16224. "description": "计划发送时间",
  16225. "type": "string"
  16226. },
  16227. "sendtype": {
  16228. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16229. "type": "integer"
  16230. },
  16231. "sentstatus": {
  16232. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16233. "type": "integer"
  16234. },
  16235. "title": {
  16236. "description": "标题",
  16237. "type": "string"
  16238. },
  16239. "userid": {
  16240. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16241. "type": "integer"
  16242. }
  16243. }
  16244. },
  16245. "common.QueryProvincesAndCitiesRsp": {
  16246. "type": "object",
  16247. "properties": {
  16248. "cities": {
  16249. "description": "市",
  16250. "type": "array",
  16251. "items": {
  16252. "$ref": "#/definitions/models.Division"
  16253. }
  16254. },
  16255. "province": {
  16256. "description": "省",
  16257. "$ref": "#/definitions/models.Division"
  16258. }
  16259. }
  16260. },
  16261. "common.QueryTableDefineRsp": {
  16262. "type": "object",
  16263. "required": [
  16264. "tablekey"
  16265. ],
  16266. "properties": {
  16267. "columns": {
  16268. "description": "列头信息数组",
  16269. "type": "array",
  16270. "items": {
  16271. "$ref": "#/definitions/models.Tablecolumnconfig"
  16272. }
  16273. },
  16274. "remark": {
  16275. "description": "Remark",
  16276. "type": "string"
  16277. },
  16278. "tabelmenu": {
  16279. "description": "列表菜单",
  16280. "type": "string"
  16281. },
  16282. "tablekey": {
  16283. "description": "列表Key",
  16284. "type": "string"
  16285. },
  16286. "tablename": {
  16287. "description": "列表名称",
  16288. "type": "string"
  16289. },
  16290. "tabletype": {
  16291. "description": "列表类型 - 1:管理端 2:终端",
  16292. "type": "integer"
  16293. }
  16294. }
  16295. },
  16296. "common.QueryTraderMenuRsp": {
  16297. "type": "object",
  16298. "properties": {
  16299. "OperationMenu": {
  16300. "description": "功能菜单",
  16301. "type": "array",
  16302. "items": {
  16303. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16304. }
  16305. },
  16306. "QuoteMenu": {
  16307. "description": "报价牌分类菜单",
  16308. "type": "array",
  16309. "items": {
  16310. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16311. }
  16312. }
  16313. }
  16314. },
  16315. "cptrade.Cptradepositioncancel": {
  16316. "type": "object",
  16317. "required": [
  16318. "cancelid"
  16319. ],
  16320. "properties": {
  16321. "accountid": {
  16322. "description": "申请人账户ID",
  16323. "type": "integer"
  16324. },
  16325. "applystatus": {
  16326. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16327. "type": "integer"
  16328. },
  16329. "applytime": {
  16330. "description": "申请时间",
  16331. "type": "string"
  16332. },
  16333. "cancelid": {
  16334. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16335. "type": "integer"
  16336. },
  16337. "cancelqty": {
  16338. "description": "注销数量",
  16339. "type": "integer"
  16340. },
  16341. "createtime": {
  16342. "description": "创建时间",
  16343. "type": "string"
  16344. },
  16345. "creatorid": {
  16346. "description": "创建人ID",
  16347. "type": "integer"
  16348. },
  16349. "creatorname": {
  16350. "description": "创建人",
  16351. "type": "string"
  16352. },
  16353. "goodscode": {
  16354. "description": "订单商品代码",
  16355. "type": "string"
  16356. },
  16357. "goodsid": {
  16358. "description": "商品ID",
  16359. "type": "integer"
  16360. },
  16361. "goodsname": {
  16362. "description": "订单商品名称",
  16363. "type": "string"
  16364. },
  16365. "goodunit": {
  16366. "description": "报价单位",
  16367. "type": "string"
  16368. },
  16369. "handlestatus": {
  16370. "description": "处理状态",
  16371. "type": "integer"
  16372. },
  16373. "marketid": {
  16374. "description": "市场ID",
  16375. "type": "integer"
  16376. },
  16377. "marketname": {
  16378. "description": "市场名称",
  16379. "type": "string"
  16380. },
  16381. "tradedate": {
  16382. "description": "交易日(yyyyMMdd)",
  16383. "type": "string"
  16384. },
  16385. "userid": {
  16386. "description": "申请人ID",
  16387. "type": "integer"
  16388. }
  16389. }
  16390. },
  16391. "cptrade.Cptradepresaleapply": {
  16392. "type": "object",
  16393. "required": [
  16394. "applyid"
  16395. ],
  16396. "properties": {
  16397. "accountid": {
  16398. "description": "申请人账户ID",
  16399. "type": "integer"
  16400. },
  16401. "applyid": {
  16402. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16403. "type": "integer"
  16404. },
  16405. "applyremark": {
  16406. "description": "申请备注",
  16407. "type": "string"
  16408. },
  16409. "applystatus": {
  16410. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16411. "type": "integer"
  16412. },
  16413. "applytime": {
  16414. "description": "申请时间",
  16415. "type": "string"
  16416. },
  16417. "attachmenturl": {
  16418. "description": "附件地址",
  16419. "type": "string"
  16420. },
  16421. "endtime": {
  16422. "description": "预售结束时间",
  16423. "type": "string"
  16424. },
  16425. "goodscode": {
  16426. "description": "商品代码",
  16427. "type": "string"
  16428. },
  16429. "goodsid": {
  16430. "description": "商品ID",
  16431. "type": "integer"
  16432. },
  16433. "goodsname": {
  16434. "description": "商品名称",
  16435. "type": "string"
  16436. },
  16437. "goodunit": {
  16438. "description": "报价单位",
  16439. "type": "string"
  16440. },
  16441. "handlestatus": {
  16442. "description": "处理状态",
  16443. "type": "integer"
  16444. },
  16445. "marketid": {
  16446. "description": "预售市场ID",
  16447. "type": "integer"
  16448. },
  16449. "marketname": {
  16450. "description": "预售市场名称",
  16451. "type": "string"
  16452. },
  16453. "presaleqty": {
  16454. "description": "预售数量",
  16455. "type": "integer"
  16456. },
  16457. "relatedgoodscode": {
  16458. "description": "关联交易合约代码",
  16459. "type": "string"
  16460. },
  16461. "relatedgoodsid": {
  16462. "description": "关联交易合约ID",
  16463. "type": "integer"
  16464. },
  16465. "relatedgoodsname": {
  16466. "description": "关联交易合约名称",
  16467. "type": "string"
  16468. },
  16469. "starttime": {
  16470. "description": "预售开始时间",
  16471. "type": "string"
  16472. },
  16473. "tradedate": {
  16474. "description": "交易日(yyyyMMdd)",
  16475. "type": "string"
  16476. },
  16477. "trademode": {
  16478. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16479. "type": "integer"
  16480. },
  16481. "userid": {
  16482. "description": "申请人ID",
  16483. "type": "integer"
  16484. }
  16485. }
  16486. },
  16487. "cptrade.Cptradeusergoodsdata": {
  16488. "type": "object",
  16489. "required": [
  16490. "accountid",
  16491. "goodsid"
  16492. ],
  16493. "properties": {
  16494. "EnabledQty": {
  16495. "description": "可用量",
  16496. "type": "integer"
  16497. },
  16498. "GoodsCode": {
  16499. "description": "订单商品代码",
  16500. "type": "string"
  16501. },
  16502. "GoodsName": {
  16503. "description": "订单商品名称",
  16504. "type": "string"
  16505. },
  16506. "WRStandardCode": {
  16507. "description": "仓单标准代码",
  16508. "type": "string"
  16509. },
  16510. "WRStandardName": {
  16511. "description": "仓单标准名称",
  16512. "type": "string"
  16513. },
  16514. "accountid": {
  16515. "description": "账户ID",
  16516. "type": "integer"
  16517. },
  16518. "cancelqty": {
  16519. "description": "注销量",
  16520. "type": "integer"
  16521. },
  16522. "curpresaleqty": {
  16523. "description": "当前预售量",
  16524. "type": "integer"
  16525. },
  16526. "deliveryqty": {
  16527. "description": "交割量",
  16528. "type": "integer"
  16529. },
  16530. "freezeamount": {
  16531. "description": "冻结金额",
  16532. "type": "number"
  16533. },
  16534. "goodsid": {
  16535. "description": "商品ID",
  16536. "type": "integer"
  16537. },
  16538. "goodunit": {
  16539. "description": "报价单位",
  16540. "type": "string"
  16541. },
  16542. "hasspotfreeze": {
  16543. "description": "是否有现货冻结 - 0:否 1:有",
  16544. "type": "integer"
  16545. },
  16546. "inqty": {
  16547. "description": "转入量(总数量)",
  16548. "type": "integer"
  16549. },
  16550. "marketid": {
  16551. "description": "市场ID",
  16552. "type": "integer"
  16553. },
  16554. "presaledamount": {
  16555. "description": "已预售总金额",
  16556. "type": "integer"
  16557. },
  16558. "presaledqty": {
  16559. "description": "已预售量",
  16560. "type": "integer"
  16561. },
  16562. "userid": {
  16563. "description": "用户ID",
  16564. "type": "integer"
  16565. },
  16566. "wrstandardid": {
  16567. "description": "仓单标准ID",
  16568. "type": "integer"
  16569. }
  16570. }
  16571. },
  16572. "cptrade.QueryCPTradeMyBidRsp": {
  16573. "type": "object",
  16574. "required": [
  16575. "accountid",
  16576. "goodsid",
  16577. "marketid",
  16578. "orderid",
  16579. "orderqty",
  16580. "ordertime",
  16581. "tradeprice",
  16582. "tradeqty"
  16583. ],
  16584. "properties": {
  16585. "accountid": {
  16586. "description": "账户ID[报价币种]",
  16587. "type": "integer"
  16588. },
  16589. "goodsid": {
  16590. "description": "商品ID",
  16591. "type": "integer"
  16592. },
  16593. "goodunit": {
  16594. "description": "报价单位",
  16595. "type": "string"
  16596. },
  16597. "marketid": {
  16598. "description": "市场ID",
  16599. "type": "integer"
  16600. },
  16601. "orderid": {
  16602. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16603. "type": "integer"
  16604. },
  16605. "orderprice": {
  16606. "description": "委托价格",
  16607. "type": "number"
  16608. },
  16609. "orderqty": {
  16610. "description": "委托数量",
  16611. "type": "integer"
  16612. },
  16613. "ordertime": {
  16614. "description": "委托时间",
  16615. "type": "string"
  16616. },
  16617. "ordertotalprice": {
  16618. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16619. "type": "number"
  16620. },
  16621. "ordertotalweight": {
  16622. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16623. "type": "integer"
  16624. },
  16625. "totaltotalprice": {
  16626. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16627. "type": "number"
  16628. },
  16629. "tradeprice": {
  16630. "description": "成交价格",
  16631. "type": "number"
  16632. },
  16633. "tradeqty": {
  16634. "description": "成交数量",
  16635. "type": "integer"
  16636. }
  16637. }
  16638. },
  16639. "cptrade.QueryCPTradeOrderDetailRsq": {
  16640. "type": "object",
  16641. "required": [
  16642. "accountid",
  16643. "buildtype",
  16644. "buyorsell",
  16645. "goodsid",
  16646. "marketid",
  16647. "memberuserid",
  16648. "operatetype",
  16649. "orderqty",
  16650. "ordertime",
  16651. "pricemode",
  16652. "strorderid",
  16653. "tradedate",
  16654. "validtype"
  16655. ],
  16656. "properties": {
  16657. "accountid": {
  16658. "description": "账户ID[报价币种]",
  16659. "type": "integer"
  16660. },
  16661. "buildtype": {
  16662. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16663. "type": "integer"
  16664. },
  16665. "buyorsell": {
  16666. "description": "买卖 - 0:买 1:卖",
  16667. "type": "integer"
  16668. },
  16669. "cancelorderid": {
  16670. "description": "撤单单号(撤单时填写)",
  16671. "type": "integer"
  16672. },
  16673. "cancelqty": {
  16674. "description": "撤单数量",
  16675. "type": "integer"
  16676. },
  16677. "clientordertime": {
  16678. "description": "客户端委托时间",
  16679. "type": "string"
  16680. },
  16681. "clientticket": {
  16682. "description": "客户端流水号",
  16683. "type": "string"
  16684. },
  16685. "clienttype": {
  16686. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16687. "type": "integer"
  16688. },
  16689. "closeexchagechargevalue": {
  16690. "description": "平仓交易所手续费设置值",
  16691. "type": "number"
  16692. },
  16693. "closefeealgorithm": {
  16694. "description": "平仓手续费收取方式 1:比率 2:固定",
  16695. "type": "integer"
  16696. },
  16697. "closefreezecharge": {
  16698. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16699. "type": "number"
  16700. },
  16701. "closememberchargevalue": {
  16702. "description": "平仓会员手续费设置值",
  16703. "type": "number"
  16704. },
  16705. "closeqty": {
  16706. "description": "平仓数量(先建后平操作 需要记录)",
  16707. "type": "integer"
  16708. },
  16709. "closetradeqty": {
  16710. "description": "平仓成交数量(先建后平操作,需要记录)",
  16711. "type": "integer"
  16712. },
  16713. "closeunfreezecharge": {
  16714. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16715. "type": "number"
  16716. },
  16717. "delistingtype": {
  16718. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16719. "type": "integer"
  16720. },
  16721. "freezecharge": {
  16722. "description": "冻结手续费",
  16723. "type": "number"
  16724. },
  16725. "freezemargin": {
  16726. "description": "冻结保证金(冻结交易金额)",
  16727. "type": "number"
  16728. },
  16729. "gcaccountid": {
  16730. "description": "账户ID[合约币种]",
  16731. "type": "integer"
  16732. },
  16733. "goodsid": {
  16734. "description": "商品ID",
  16735. "type": "integer"
  16736. },
  16737. "isconfirmexercise": {
  16738. "description": "是否确认行权- 0:否 1:是",
  16739. "type": "integer"
  16740. },
  16741. "ispreexercise": {
  16742. "description": "是否预申报- 0:否 1:是",
  16743. "type": "integer"
  16744. },
  16745. "listingselecttype": {
  16746. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16747. "type": "integer"
  16748. },
  16749. "marginalgorithm": {
  16750. "description": "保证金收取方式 1:比率 2:固定",
  16751. "type": "integer"
  16752. },
  16753. "marginvalue": {
  16754. "description": "即市保证金设置值",
  16755. "type": "number"
  16756. },
  16757. "marketid": {
  16758. "description": "市场ID",
  16759. "type": "integer"
  16760. },
  16761. "marketmaxsub": {
  16762. "description": "市价最大偏移范围",
  16763. "type": "number"
  16764. },
  16765. "memberuserid": {
  16766. "description": "所属会员UserID",
  16767. "type": "integer"
  16768. },
  16769. "openexchagechargevalue": {
  16770. "description": "建仓交易所手续费设置值",
  16771. "type": "number"
  16772. },
  16773. "openfeealgorithm": {
  16774. "description": "建仓手续费收取方式 1:比率 2:固定",
  16775. "type": "integer"
  16776. },
  16777. "openfreezecharge": {
  16778. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16779. "type": "number"
  16780. },
  16781. "openmemberchargevalue": {
  16782. "description": "建仓会员手续费设置值",
  16783. "type": "number"
  16784. },
  16785. "openqty": {
  16786. "description": "开仓数量(先建后平操作,需要记录)",
  16787. "type": "integer"
  16788. },
  16789. "opentradeqty": {
  16790. "description": "开仓成交数量(先建后平操作,需要记录)",
  16791. "type": "integer"
  16792. },
  16793. "openunfreezecharge": {
  16794. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16795. "type": "number"
  16796. },
  16797. "operatetype": {
  16798. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16799. "type": "integer"
  16800. },
  16801. "operatorid": {
  16802. "description": "登录账号(LoginID)",
  16803. "type": "integer"
  16804. },
  16805. "optiontype": {
  16806. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16807. "type": "integer"
  16808. },
  16809. "orderprice": {
  16810. "description": "委托价格",
  16811. "type": "number"
  16812. },
  16813. "orderqty": {
  16814. "description": "委托数量",
  16815. "type": "integer"
  16816. },
  16817. "ordersrc": {
  16818. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16819. "type": "integer"
  16820. },
  16821. "orderstatus": {
  16822. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16823. "type": "integer"
  16824. },
  16825. "ordertime": {
  16826. "description": "委托时间",
  16827. "type": "string"
  16828. },
  16829. "preexerciseprice": {
  16830. "description": "预申报价格",
  16831. "type": "number"
  16832. },
  16833. "premium": {
  16834. "description": "权利金",
  16835. "type": "number"
  16836. },
  16837. "preorderid": {
  16838. "description": "关联预埋单号(止盈止损单时填写)",
  16839. "type": "integer"
  16840. },
  16841. "pricemode": {
  16842. "description": "取价方式 - 1:市价 2: 限价",
  16843. "type": "integer"
  16844. },
  16845. "quoteid": {
  16846. "description": "报价单ID",
  16847. "type": "integer"
  16848. },
  16849. "relatedid": {
  16850. "description": "关联单号(交割单)",
  16851. "type": "integer"
  16852. },
  16853. "retcode": {
  16854. "description": "错误代码",
  16855. "type": "integer"
  16856. },
  16857. "sessionid": {
  16858. "description": "会话ID",
  16859. "type": "integer"
  16860. },
  16861. "strorderid": {
  16862. "description": "委托单号",
  16863. "type": "string"
  16864. },
  16865. "tradedate": {
  16866. "description": "交易日(yyyyMMdd)",
  16867. "type": "string"
  16868. },
  16869. "tradeproperty": {
  16870. "description": "交易属性",
  16871. "type": "integer"
  16872. },
  16873. "tradeqty": {
  16874. "description": "成交数量",
  16875. "type": "integer"
  16876. },
  16877. "unfreezecharge": {
  16878. "description": "解冻手续费",
  16879. "type": "number"
  16880. },
  16881. "unfreezemargin": {
  16882. "description": "解冻保证金",
  16883. "type": "number"
  16884. },
  16885. "updatetime": {
  16886. "description": "更新时间",
  16887. "type": "string"
  16888. },
  16889. "uuid": {
  16890. "description": "发起端唯一id",
  16891. "type": "string"
  16892. },
  16893. "validtime": {
  16894. "description": "有效期限",
  16895. "type": "string"
  16896. },
  16897. "validtype": {
  16898. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16899. "type": "integer"
  16900. },
  16901. "volumetype": {
  16902. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16903. "type": "integer"
  16904. }
  16905. }
  16906. },
  16907. "cptrade.QueryMyCPTradeGoodsRsp": {
  16908. "type": "object",
  16909. "required": [
  16910. "goodscode",
  16911. "goodsid",
  16912. "goodsname",
  16913. "marketid",
  16914. "relatedgoodscode",
  16915. "relatedgoodsname"
  16916. ],
  16917. "properties": {
  16918. "accountid": {
  16919. "description": "卖方账户ID",
  16920. "type": "integer"
  16921. },
  16922. "agreeunit": {
  16923. "description": "合约单位",
  16924. "type": "number"
  16925. },
  16926. "applyid": {
  16927. "description": "关联申请ID",
  16928. "type": "integer"
  16929. },
  16930. "attachmenturl": {
  16931. "description": "附件地址",
  16932. "type": "string"
  16933. },
  16934. "createtime": {
  16935. "description": "创建时间",
  16936. "type": "string"
  16937. },
  16938. "currencyid": {
  16939. "description": "报价货币ID",
  16940. "type": "integer"
  16941. },
  16942. "decimalplace": {
  16943. "description": "报价小数位",
  16944. "type": "integer"
  16945. },
  16946. "endtime": {
  16947. "description": "预售结束时间",
  16948. "type": "string"
  16949. },
  16950. "floorprice": {
  16951. "description": "底价[大宗式竞拍]",
  16952. "type": "number"
  16953. },
  16954. "goodscode": {
  16955. "description": "商品代码(预售)",
  16956. "type": "string"
  16957. },
  16958. "goodsdetail": {
  16959. "description": "详情[大宗]",
  16960. "type": "string"
  16961. },
  16962. "goodsid": {
  16963. "description": "商品ID(自增ID SEQ_GOODS)",
  16964. "type": "integer"
  16965. },
  16966. "goodsname": {
  16967. "description": "商品名称(预售)",
  16968. "type": "string"
  16969. },
  16970. "goodunit": {
  16971. "description": "报价单位",
  16972. "type": "string"
  16973. },
  16974. "goodunitid": {
  16975. "description": "报价单位ID",
  16976. "type": "integer"
  16977. },
  16978. "marketid": {
  16979. "description": "所属市场ID",
  16980. "type": "integer"
  16981. },
  16982. "marketname": {
  16983. "description": "预售市场名称",
  16984. "type": "string"
  16985. },
  16986. "presaledamount": {
  16987. "description": "已预售总金额(预售结束时更新)",
  16988. "type": "number"
  16989. },
  16990. "presaledqty": {
  16991. "description": "已预售量(预售结束时更新)",
  16992. "type": "integer"
  16993. },
  16994. "presalemode": {
  16995. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16996. "type": "integer"
  16997. },
  16998. "presaleqty": {
  16999. "description": "预售数量",
  17000. "type": "integer"
  17001. },
  17002. "refprice": {
  17003. "description": "参考价格[一口价]",
  17004. "type": "number"
  17005. },
  17006. "relatedgoodscode": {
  17007. "description": "商品代码(订单)",
  17008. "type": "string"
  17009. },
  17010. "relatedgoodsid": {
  17011. "description": "关联交易合约ID",
  17012. "type": "integer"
  17013. },
  17014. "relatedgoodsname": {
  17015. "description": "商品名称(订单)",
  17016. "type": "string"
  17017. },
  17018. "relatedmarketid": {
  17019. "description": "关联交易合约市场ID",
  17020. "type": "integer"
  17021. },
  17022. "sellstatus": {
  17023. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17024. "type": "integer"
  17025. },
  17026. "startprice": {
  17027. "description": "起拍价[大宗式竞拍]",
  17028. "type": "number"
  17029. },
  17030. "starttime": {
  17031. "description": "预售开始时间",
  17032. "type": "string"
  17033. },
  17034. "tradedate": {
  17035. "description": "交易日(yyyyMMdd)",
  17036. "type": "string"
  17037. },
  17038. "tradeprice": {
  17039. "description": "成交价[大宗]",
  17040. "type": "number"
  17041. },
  17042. "userid": {
  17043. "description": "卖方用户ID",
  17044. "type": "integer"
  17045. }
  17046. }
  17047. },
  17048. "cptrade.QueryPresaleGoodsExRsp": {
  17049. "type": "object",
  17050. "required": [
  17051. "goodsid"
  17052. ],
  17053. "properties": {
  17054. "attachmenturl": {
  17055. "description": "附件地址",
  17056. "type": "string"
  17057. },
  17058. "createtime": {
  17059. "description": "创建时间",
  17060. "type": "string"
  17061. },
  17062. "endtime": {
  17063. "description": "预售结束时间",
  17064. "type": "string"
  17065. },
  17066. "floorprice": {
  17067. "description": "底价[大宗式竞拍]",
  17068. "type": "number"
  17069. },
  17070. "goodsdetail": {
  17071. "description": "详情[大宗]",
  17072. "type": "string"
  17073. },
  17074. "goodsid": {
  17075. "description": "商品ID(预售)",
  17076. "type": "integer"
  17077. },
  17078. "goodunit": {
  17079. "description": "报价单位",
  17080. "type": "string"
  17081. },
  17082. "marketid": {
  17083. "description": "预售市场ID - 根据预售模式选择市场",
  17084. "type": "integer"
  17085. },
  17086. "presaledamount": {
  17087. "description": "已预售总金额(预售结束时更新)",
  17088. "type": "number"
  17089. },
  17090. "presaledqty": {
  17091. "description": "已预售量(预售结束时更新)",
  17092. "type": "integer"
  17093. },
  17094. "presalemode": {
  17095. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17096. "type": "integer"
  17097. },
  17098. "presaleqty": {
  17099. "description": "预售数量",
  17100. "type": "integer"
  17101. },
  17102. "refprice": {
  17103. "description": "参考价格[一口价]",
  17104. "type": "number"
  17105. },
  17106. "relatedgoodsid": {
  17107. "description": "关联交易合约ID",
  17108. "type": "integer"
  17109. },
  17110. "relatedmarketid": {
  17111. "description": "关联交易合约市场ID",
  17112. "type": "integer"
  17113. },
  17114. "sellstatus": {
  17115. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17116. "type": "integer"
  17117. },
  17118. "startprice": {
  17119. "description": "起拍价[大宗式竞拍]",
  17120. "type": "number"
  17121. },
  17122. "starttime": {
  17123. "description": "预售开始时间",
  17124. "type": "string"
  17125. },
  17126. "tradedate": {
  17127. "description": "交易日(yyyyMMdd)",
  17128. "type": "string"
  17129. },
  17130. "tradeprice": {
  17131. "description": "成交价[大宗]",
  17132. "type": "number"
  17133. }
  17134. }
  17135. },
  17136. "delivery.QueryDeliveryRelationRsp": {
  17137. "type": "object",
  17138. "required": [
  17139. "begindate",
  17140. "enddate",
  17141. "goodsid",
  17142. "mindeliveryqty",
  17143. "xdeliveryratio"
  17144. ],
  17145. "properties": {
  17146. "begindate": {
  17147. "description": "起始日期(yyyyMMdd)",
  17148. "type": "string"
  17149. },
  17150. "buytemplateid": {
  17151. "description": "买履约计划模板ID",
  17152. "type": "integer"
  17153. },
  17154. "deliverygoodscode": {
  17155. "description": "品种代码",
  17156. "type": "string"
  17157. },
  17158. "deliverygoodsid": {
  17159. "description": "交割商品",
  17160. "type": "integer"
  17161. },
  17162. "deliverygoodsname": {
  17163. "description": "品种名称",
  17164. "type": "string"
  17165. },
  17166. "deliverymode": {
  17167. "description": "交割方式 - 1:点选式 2:申报式",
  17168. "type": "integer"
  17169. },
  17170. "deliverypricerule": {
  17171. "description": "交割价规则- 1:行情价 2:建仓价",
  17172. "type": "integer"
  17173. },
  17174. "deliverytype": {
  17175. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17176. "type": "integer"
  17177. },
  17178. "enddate": {
  17179. "description": "结束日期(yyyyMMdd)",
  17180. "type": "string"
  17181. },
  17182. "enumdicname": {
  17183. "description": "品类单位名称",
  17184. "type": "string"
  17185. },
  17186. "goodscode": {
  17187. "description": "商品代码",
  17188. "type": "string"
  17189. },
  17190. "goodsid": {
  17191. "description": "交易合约ID",
  17192. "type": "integer"
  17193. },
  17194. "goodsname": {
  17195. "description": "商品名称",
  17196. "type": "string"
  17197. },
  17198. "marketid": {
  17199. "description": "市场ID",
  17200. "type": "integer"
  17201. },
  17202. "mindeliveryqty": {
  17203. "description": "最小交割系数(K)",
  17204. "type": "integer"
  17205. },
  17206. "p2deliveryprice": {
  17207. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17208. "type": "number"
  17209. },
  17210. "p2deliveryratio": {
  17211. "description": "P2合约系数(p)",
  17212. "type": "integer"
  17213. },
  17214. "p2goodsid": {
  17215. "description": "P2合约ID",
  17216. "type": "integer"
  17217. },
  17218. "p2pricemode": {
  17219. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17220. "type": "integer"
  17221. },
  17222. "pdeliveryprice": {
  17223. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17224. "type": "number"
  17225. },
  17226. "pdeliveryratio": {
  17227. "description": "P合约系数(n)",
  17228. "type": "integer"
  17229. },
  17230. "pgoodscode": {
  17231. "description": "p合约代码",
  17232. "type": "string"
  17233. },
  17234. "pgoodsid": {
  17235. "description": "P合约ID",
  17236. "type": "integer"
  17237. },
  17238. "ppricemode": {
  17239. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17240. "type": "integer"
  17241. },
  17242. "rratio": {
  17243. "description": "兑换系数(R)",
  17244. "type": "integer"
  17245. },
  17246. "rratio1": {
  17247. "description": "兑换系数(交易合约)(R1)",
  17248. "type": "integer"
  17249. },
  17250. "rratio2": {
  17251. "description": "兑换系数(仓单标准)(R2)",
  17252. "type": "integer"
  17253. },
  17254. "selltemplateid": {
  17255. "description": "卖履约计划模板ID",
  17256. "type": "integer"
  17257. },
  17258. "wrstandardid": {
  17259. "description": "仓单标准ID",
  17260. "type": "integer"
  17261. },
  17262. "xdeliveryratio": {
  17263. "description": "交易合约系数(m)",
  17264. "type": "integer"
  17265. }
  17266. }
  17267. },
  17268. "ermcp.ExposureDetailRsp": {
  17269. "type": "object",
  17270. "properties": {
  17271. "areauserid": {
  17272. "description": "机构ID",
  17273. "type": "integer"
  17274. },
  17275. "changeQty": {
  17276. "description": "套保变动量",
  17277. "type": "number"
  17278. },
  17279. "contracttype": {
  17280. "description": "现货合同类型 - 1:采购 -1:销售",
  17281. "type": "integer"
  17282. },
  17283. "convertfactor": {
  17284. "description": "标仓系数",
  17285. "type": "number"
  17286. },
  17287. "convertratio": {
  17288. "description": "套保系数",
  17289. "type": "number"
  17290. },
  17291. "createtime": {
  17292. "description": "时间",
  17293. "type": "string"
  17294. },
  17295. "enumdicname": {
  17296. "description": "现货商品单位名称",
  17297. "type": "string"
  17298. },
  17299. "logtype": {
  17300. "description": "类型 - 1:套保计划 2:现货合同",
  17301. "type": "integer"
  17302. },
  17303. "middlegoodsId": {
  17304. "description": "套保商品id",
  17305. "type": "integer"
  17306. },
  17307. "middlegoodscode": {
  17308. "description": "套保商品代码",
  17309. "type": "string"
  17310. },
  17311. "middlegoodsname": {
  17312. "description": "套保商品名称",
  17313. "type": "string"
  17314. },
  17315. "qty": {
  17316. "description": "数量",
  17317. "type": "number"
  17318. },
  17319. "relateNo": {
  17320. "description": "现货合同/套保计划编号",
  17321. "type": "string"
  17322. },
  17323. "wrstandardcode": {
  17324. "description": "现货商品代码",
  17325. "type": "string"
  17326. },
  17327. "wrstandardid": {
  17328. "description": "现货商品ID",
  17329. "type": "integer"
  17330. },
  17331. "wrstandardname": {
  17332. "description": "现货商品名称",
  17333. "type": "string"
  17334. }
  17335. }
  17336. },
  17337. "ermcp.ExposureHedgePosDetailRsp": {
  17338. "type": "object",
  17339. "properties": {
  17340. "buyorsell": {
  17341. "description": "买卖方向 0-买 1-卖",
  17342. "type": "integer"
  17343. },
  17344. "channelbuildtype": {
  17345. "description": "开平方向 1-建仓 2-平仓",
  17346. "type": "integer"
  17347. },
  17348. "goodscode": {
  17349. "description": "商品代码",
  17350. "type": "string"
  17351. },
  17352. "goodsname": {
  17353. "description": "商品名称",
  17354. "type": "string"
  17355. },
  17356. "hedgegoodsid": {
  17357. "description": "商品id",
  17358. "type": "integer"
  17359. },
  17360. "tradeqty": {
  17361. "description": "数量(成交数量)",
  17362. "type": "integer"
  17363. },
  17364. "tradetime": {
  17365. "description": "时间(成交时间)",
  17366. "type": "string"
  17367. }
  17368. }
  17369. },
  17370. "ermcp.ExposureHedgePositionRsp": {
  17371. "type": "object",
  17372. "properties": {
  17373. "accountid": {
  17374. "description": "资金账号[外部母账户]",
  17375. "type": "integer"
  17376. },
  17377. "curbuyposition": {
  17378. "description": "期末买头寸",
  17379. "type": "integer"
  17380. },
  17381. "cursellposition": {
  17382. "description": "期末卖头寸",
  17383. "type": "integer"
  17384. },
  17385. "curtdbuyposition": {
  17386. "description": "期末今日买头寸",
  17387. "type": "integer"
  17388. },
  17389. "curtdsellposition": {
  17390. "description": "期末今日卖头寸",
  17391. "type": "integer"
  17392. },
  17393. "curydbuyposition": {
  17394. "description": "期末上日买头寸",
  17395. "type": "integer"
  17396. },
  17397. "curydsellposition": {
  17398. "description": "期末上日卖头寸",
  17399. "type": "integer"
  17400. },
  17401. "decreaseqty": {
  17402. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17403. "type": "integer"
  17404. },
  17405. "fretdbuyposition": {
  17406. "description": "冻结今日买头寸",
  17407. "type": "integer"
  17408. },
  17409. "fretdsellposition": {
  17410. "description": "冻结今日卖头寸",
  17411. "type": "integer"
  17412. },
  17413. "freydbuyposition": {
  17414. "description": "冻结上日买头寸",
  17415. "type": "integer"
  17416. },
  17417. "freydsellposition": {
  17418. "description": "冻结上日卖头寸",
  17419. "type": "integer"
  17420. },
  17421. "goodscode": {
  17422. "description": "商品代码",
  17423. "type": "string"
  17424. },
  17425. "goodsid": {
  17426. "description": "商品id",
  17427. "type": "integer"
  17428. },
  17429. "goodsname": {
  17430. "description": "商品名称",
  17431. "type": "string"
  17432. },
  17433. "hedgeaccountcode": {
  17434. "description": "对冲账号",
  17435. "type": "string"
  17436. },
  17437. "hedgegoodsid": {
  17438. "description": "对冲合约ID",
  17439. "type": "integer"
  17440. },
  17441. "increaseqty": {
  17442. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17443. "type": "integer"
  17444. },
  17445. "marketid": {
  17446. "description": "市场ID",
  17447. "type": "integer"
  17448. },
  17449. "relateduserid": {
  17450. "description": "关联用户id",
  17451. "type": "integer"
  17452. },
  17453. "totalcurqty": {
  17454. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17455. "type": "integer"
  17456. },
  17457. "totalydqty": {
  17458. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17459. "type": "integer"
  17460. },
  17461. "tradedate": {
  17462. "description": "交易日(yyyyMMdd)",
  17463. "type": "string"
  17464. },
  17465. "ydbuyposition": {
  17466. "description": "期初买头寸",
  17467. "type": "integer"
  17468. },
  17469. "ydsellposition": {
  17470. "description": "期初卖头寸",
  17471. "type": "integer"
  17472. }
  17473. }
  17474. },
  17475. "ermcp.ExposureSpotDetailRsp": {
  17476. "type": "object",
  17477. "properties": {
  17478. "contracttype": {
  17479. "description": "合同类型 1-采购 -1-销售",
  17480. "type": "integer"
  17481. },
  17482. "createtime": {
  17483. "description": "创建时间",
  17484. "type": "string"
  17485. },
  17486. "enumdicname": {
  17487. "description": "现货商品单位名称",
  17488. "type": "string"
  17489. },
  17490. "logtype": {
  17491. "description": "记录类型 1-套保 2-现货合同",
  17492. "type": "integer"
  17493. },
  17494. "qty": {
  17495. "description": "数量",
  17496. "type": "number"
  17497. },
  17498. "recordname": {
  17499. "description": "类型名称",
  17500. "type": "string"
  17501. },
  17502. "relatedid": {
  17503. "description": "套保计划ID/现货合同ID",
  17504. "type": "string"
  17505. },
  17506. "relatedno": {
  17507. "description": "编号",
  17508. "type": "string"
  17509. },
  17510. "strtime": {
  17511. "description": "时间",
  17512. "type": "string"
  17513. },
  17514. "wrstandardcode": {
  17515. "description": "现货商品代码",
  17516. "type": "string"
  17517. },
  17518. "wrstandardname": {
  17519. "description": "现货商品名称",
  17520. "type": "string"
  17521. }
  17522. }
  17523. },
  17524. "ermcp.ExposureSpotRsp": {
  17525. "type": "object",
  17526. "properties": {
  17527. "areauserid": {
  17528. "description": "所属机构",
  17529. "type": "integer"
  17530. },
  17531. "decreaseqty": {
  17532. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17533. "type": "number"
  17534. },
  17535. "increaseqty": {
  17536. "description": "增加数量=销售计划数量+采购已定价数量",
  17537. "type": "number"
  17538. },
  17539. "oritoalspotqty": {
  17540. "description": "昨日数量",
  17541. "type": "number"
  17542. },
  17543. "totalspotqty": {
  17544. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17545. "type": "number"
  17546. },
  17547. "updatetime": {
  17548. "description": "更新时间",
  17549. "type": "string"
  17550. },
  17551. "wrstandardcode": {
  17552. "description": "现货品种代码",
  17553. "type": "string"
  17554. },
  17555. "wrstandardid": {
  17556. "description": "现货商品ID",
  17557. "type": "integer"
  17558. },
  17559. "wrstandardname": {
  17560. "description": "现货品种",
  17561. "type": "string"
  17562. }
  17563. }
  17564. },
  17565. "ermcp.HisExposureRsp": {
  17566. "type": "object",
  17567. "properties": {
  17568. "data": {
  17569. "description": "历史敞口",
  17570. "type": "array",
  17571. "items": {
  17572. "$ref": "#/definitions/models.ErmcpHisExposure"
  17573. }
  17574. },
  17575. "enumdicname": {
  17576. "description": "单位名称",
  17577. "type": "string"
  17578. },
  17579. "middlegoodscode": {
  17580. "description": "套保品种代码",
  17581. "type": "string"
  17582. },
  17583. "middlegoodsid": {
  17584. "description": "套保品种ID",
  17585. "type": "integer"
  17586. },
  17587. "middlegoodsname": {
  17588. "description": "套保品种名称",
  17589. "type": "string"
  17590. }
  17591. }
  17592. },
  17593. "ermcp.PendingAuditCntRsp": {
  17594. "type": "object",
  17595. "properties": {
  17596. "areastockqty": {
  17597. "description": "待审核数量: 库存申请",
  17598. "type": "integer"
  17599. },
  17600. "businessdjqty": {
  17601. "description": "待审核数量: 点价",
  17602. "type": "integer"
  17603. },
  17604. "businessfpqty": {
  17605. "description": "待审核数量: 发票",
  17606. "type": "integer"
  17607. },
  17608. "businessjsqty": {
  17609. "description": "待审核数量: 结算",
  17610. "type": "integer"
  17611. },
  17612. "businesskxqty": {
  17613. "description": "待审核数量: 款项",
  17614. "type": "integer"
  17615. },
  17616. "hedgeplanqty": {
  17617. "description": "待审核数量: 套保计划",
  17618. "type": "integer"
  17619. },
  17620. "spotcontractqty": {
  17621. "description": "待审核数量: 现货合同",
  17622. "type": "integer"
  17623. },
  17624. "userqty": {
  17625. "description": "待审核数量: 用户",
  17626. "type": "integer"
  17627. }
  17628. }
  17629. },
  17630. "ermcp.QryAvalidGPRsp": {
  17631. "type": "object",
  17632. "properties": {
  17633. "goodsgroupid": {
  17634. "description": "期货品种id",
  17635. "type": "integer"
  17636. },
  17637. "goodsgroupname": {
  17638. "description": "期货品种名称",
  17639. "type": "string"
  17640. },
  17641. "goodunitid": {
  17642. "description": "品种单位id",
  17643. "type": "integer"
  17644. },
  17645. "goodunitname": {
  17646. "description": "品种单位名称",
  17647. "type": "string"
  17648. },
  17649. "outergroupcode": {
  17650. "description": "期货品种代码",
  17651. "type": "string"
  17652. }
  17653. }
  17654. },
  17655. "ermcp.QryBusinessDjRsp": {
  17656. "type": "object",
  17657. "properties": {
  17658. "amount": {
  17659. "description": "期初均价",
  17660. "type": "number"
  17661. },
  17662. "applyid": {
  17663. "description": "申请人",
  17664. "type": "string"
  17665. },
  17666. "applyname": {
  17667. "description": "申请人名称",
  17668. "type": "string"
  17669. },
  17670. "applystatus": {
  17671. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17672. "type": "integer"
  17673. },
  17674. "applytime": {
  17675. "description": "申请时间",
  17676. "type": "string"
  17677. },
  17678. "attachurl": {
  17679. "description": "附件",
  17680. "type": "string"
  17681. },
  17682. "auditid": {
  17683. "description": "审核人ID",
  17684. "type": "string"
  17685. },
  17686. "auditname": {
  17687. "description": "审核人名称",
  17688. "type": "string"
  17689. },
  17690. "auditremark": {
  17691. "description": "审核备注",
  17692. "type": "string"
  17693. },
  17694. "audittime": {
  17695. "description": "审核时间",
  17696. "type": "string"
  17697. },
  17698. "buyusername": {
  17699. "description": "采购方名称",
  17700. "type": "string"
  17701. },
  17702. "contractno": {
  17703. "description": "合同编号",
  17704. "type": "string"
  17705. },
  17706. "contractstatus": {
  17707. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17708. "type": "integer"
  17709. },
  17710. "contracttype": {
  17711. "description": "现货合同类型 - 1:采购 -1:销售",
  17712. "type": "integer"
  17713. },
  17714. "deliverygoodscode": {
  17715. "description": "现货品种代码",
  17716. "type": "string"
  17717. },
  17718. "deliverygoodsid": {
  17719. "description": "现货商品ID",
  17720. "type": "integer"
  17721. },
  17722. "deliverygoodsname": {
  17723. "description": "现货品种名称",
  17724. "type": "string"
  17725. },
  17726. "enumdicname": {
  17727. "description": "单位名称",
  17728. "type": "string"
  17729. },
  17730. "goodscode": {
  17731. "description": "点价合约",
  17732. "type": "string"
  17733. },
  17734. "goodsname": {
  17735. "description": "商品名称",
  17736. "type": "string"
  17737. },
  17738. "operateapplyid": {
  17739. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17740. "type": "string"
  17741. },
  17742. "operateapplytype": {
  17743. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17744. "type": "integer"
  17745. },
  17746. "pricedPrice": {
  17747. "description": "点价价格(非必填)",
  17748. "type": "number"
  17749. },
  17750. "pricedQty": {
  17751. "description": "点价数量(非必填)",
  17752. "type": "number"
  17753. },
  17754. "pricemove": {
  17755. "description": "升贴水",
  17756. "type": "number"
  17757. },
  17758. "pricetype": {
  17759. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17760. "type": "integer"
  17761. },
  17762. "relatedid": {
  17763. "description": "现货合同ID",
  17764. "type": "string"
  17765. },
  17766. "sellusername": {
  17767. "description": "销售方名字",
  17768. "type": "string"
  17769. },
  17770. "userid": {
  17771. "description": "用户ID",
  17772. "type": "integer"
  17773. },
  17774. "wrstandardcode": {
  17775. "description": "品类代码",
  17776. "type": "string"
  17777. },
  17778. "wrstandardid": {
  17779. "description": "品类id",
  17780. "type": "integer"
  17781. },
  17782. "wrstandardname": {
  17783. "description": "品类名称",
  17784. "type": "string"
  17785. }
  17786. }
  17787. },
  17788. "ermcp.QryBussinessFpRsp": {
  17789. "type": "object",
  17790. "properties": {
  17791. "applyid": {
  17792. "description": "申请人",
  17793. "type": "string"
  17794. },
  17795. "applyname": {
  17796. "description": "申请人名称",
  17797. "type": "string"
  17798. },
  17799. "applystatus": {
  17800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17801. "type": "integer"
  17802. },
  17803. "applytime": {
  17804. "description": "申请时间",
  17805. "type": "string"
  17806. },
  17807. "attachurl": {
  17808. "description": "附件",
  17809. "type": "string"
  17810. },
  17811. "auditid": {
  17812. "description": "审核人ID",
  17813. "type": "string"
  17814. },
  17815. "auditname": {
  17816. "description": "审核人名称",
  17817. "type": "string"
  17818. },
  17819. "auditremark": {
  17820. "description": "审核备注",
  17821. "type": "string"
  17822. },
  17823. "audittime": {
  17824. "description": "审核时间",
  17825. "type": "string"
  17826. },
  17827. "buyusername": {
  17828. "description": "采购方名称",
  17829. "type": "string"
  17830. },
  17831. "contractno": {
  17832. "description": "合同编号",
  17833. "type": "string"
  17834. },
  17835. "contractstatus": {
  17836. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17837. "type": "integer"
  17838. },
  17839. "contracttype": {
  17840. "description": "现货合同类型 - 1:采购 -1:销售",
  17841. "type": "integer"
  17842. },
  17843. "deliverygoodscode": {
  17844. "description": "现货品种代码",
  17845. "type": "string"
  17846. },
  17847. "deliverygoodsid": {
  17848. "description": "现货商品ID",
  17849. "type": "integer"
  17850. },
  17851. "deliverygoodsname": {
  17852. "description": "现货品种名称",
  17853. "type": "string"
  17854. },
  17855. "enumdicname": {
  17856. "description": "单位名称",
  17857. "type": "string"
  17858. },
  17859. "goodscode": {
  17860. "description": "点价合约",
  17861. "type": "string"
  17862. },
  17863. "goodsname": {
  17864. "description": "商品名称",
  17865. "type": "string"
  17866. },
  17867. "invoiceamount": {
  17868. "description": "已开收票金额(销售为开票,采购为收票)",
  17869. "type": "number"
  17870. },
  17871. "operateapplyid": {
  17872. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17873. "type": "string"
  17874. },
  17875. "operateapplytype": {
  17876. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17877. "type": "integer"
  17878. },
  17879. "pricemove": {
  17880. "description": "升贴水",
  17881. "type": "number"
  17882. },
  17883. "pricetype": {
  17884. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17885. "type": "integer"
  17886. },
  17887. "relatedid": {
  17888. "description": "现货合同ID",
  17889. "type": "string"
  17890. },
  17891. "sellusername": {
  17892. "description": "销售方名字",
  17893. "type": "string"
  17894. },
  17895. "userid": {
  17896. "description": "用户ID",
  17897. "type": "integer"
  17898. },
  17899. "wrstandardcode": {
  17900. "description": "品类代码",
  17901. "type": "string"
  17902. },
  17903. "wrstandardid": {
  17904. "description": "品类id",
  17905. "type": "integer"
  17906. },
  17907. "wrstandardname": {
  17908. "description": "品类名称",
  17909. "type": "string"
  17910. }
  17911. }
  17912. },
  17913. "ermcp.QryBussinessJsExRsp": {
  17914. "type": "object",
  17915. "properties": {
  17916. "applyid": {
  17917. "description": "申请人",
  17918. "type": "string"
  17919. },
  17920. "applyname": {
  17921. "description": "申请人名称",
  17922. "type": "string"
  17923. },
  17924. "applystatus": {
  17925. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17926. "type": "integer"
  17927. },
  17928. "applytime": {
  17929. "description": "申请时间",
  17930. "type": "string"
  17931. },
  17932. "attachurl": {
  17933. "description": "附件",
  17934. "type": "string"
  17935. },
  17936. "auditid": {
  17937. "description": "审核人ID",
  17938. "type": "string"
  17939. },
  17940. "auditname": {
  17941. "description": "审核人名称",
  17942. "type": "string"
  17943. },
  17944. "auditremark": {
  17945. "description": "审核备注",
  17946. "type": "string"
  17947. },
  17948. "audittime": {
  17949. "description": "审核时间",
  17950. "type": "string"
  17951. },
  17952. "buyusername": {
  17953. "description": "采购方名称",
  17954. "type": "string"
  17955. },
  17956. "contractno": {
  17957. "description": "合同编号",
  17958. "type": "string"
  17959. },
  17960. "contractstatus": {
  17961. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17962. "type": "integer"
  17963. },
  17964. "contracttype": {
  17965. "description": "现货合同类型 - 1:采购 -1:销售",
  17966. "type": "integer"
  17967. },
  17968. "deliverygoodscode": {
  17969. "description": "现货品种代码",
  17970. "type": "string"
  17971. },
  17972. "deliverygoodsid": {
  17973. "description": "现货商品ID",
  17974. "type": "integer"
  17975. },
  17976. "deliverygoodsname": {
  17977. "description": "现货品种名称",
  17978. "type": "string"
  17979. },
  17980. "enumdicname": {
  17981. "description": "单位名称",
  17982. "type": "string"
  17983. },
  17984. "goodscode": {
  17985. "description": "点价合约",
  17986. "type": "string"
  17987. },
  17988. "goodsname": {
  17989. "description": "商品名称",
  17990. "type": "string"
  17991. },
  17992. "operateapplyid": {
  17993. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17994. "type": "string"
  17995. },
  17996. "operateapplytype": {
  17997. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17998. "type": "integer"
  17999. },
  18000. "pricemove": {
  18001. "description": "升贴水",
  18002. "type": "number"
  18003. },
  18004. "pricetype": {
  18005. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18006. "type": "integer"
  18007. },
  18008. "reckontype": {
  18009. "description": "结算类型",
  18010. "type": "string"
  18011. },
  18012. "reckonvalue": {
  18013. "description": "值",
  18014. "type": "number"
  18015. },
  18016. "relatedid": {
  18017. "description": "现货合同ID",
  18018. "type": "string"
  18019. },
  18020. "sellusername": {
  18021. "description": "销售方名字",
  18022. "type": "string"
  18023. },
  18024. "userid": {
  18025. "description": "用户ID",
  18026. "type": "integer"
  18027. },
  18028. "wrstandardcode": {
  18029. "description": "品类代码",
  18030. "type": "string"
  18031. },
  18032. "wrstandardid": {
  18033. "description": "品类id",
  18034. "type": "integer"
  18035. },
  18036. "wrstandardname": {
  18037. "description": "品类名称",
  18038. "type": "string"
  18039. }
  18040. }
  18041. },
  18042. "ermcp.QryBussinessJsRsp": {
  18043. "type": "object",
  18044. "properties": {
  18045. "addmargin": {
  18046. "description": "追加保证金(非必填)",
  18047. "type": "number"
  18048. },
  18049. "applyid": {
  18050. "description": "申请人",
  18051. "type": "string"
  18052. },
  18053. "applyname": {
  18054. "description": "申请人名称",
  18055. "type": "string"
  18056. },
  18057. "applystatus": {
  18058. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18059. "type": "integer"
  18060. },
  18061. "applytime": {
  18062. "description": "申请时间",
  18063. "type": "string"
  18064. },
  18065. "attachurl": {
  18066. "description": "附件",
  18067. "type": "string"
  18068. },
  18069. "auditid": {
  18070. "description": "审核人ID",
  18071. "type": "string"
  18072. },
  18073. "auditname": {
  18074. "description": "审核人名称",
  18075. "type": "string"
  18076. },
  18077. "auditremark": {
  18078. "description": "审核备注",
  18079. "type": "string"
  18080. },
  18081. "audittime": {
  18082. "description": "审核时间",
  18083. "type": "string"
  18084. },
  18085. "buyusername": {
  18086. "description": "采购方名称",
  18087. "type": "string"
  18088. },
  18089. "contractno": {
  18090. "description": "合同编号",
  18091. "type": "string"
  18092. },
  18093. "contractstatus": {
  18094. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18095. "type": "integer"
  18096. },
  18097. "contracttype": {
  18098. "description": "现货合同类型 - 1:采购 -1:销售",
  18099. "type": "integer"
  18100. },
  18101. "decmargin": {
  18102. "description": "减少保证金(非必填)",
  18103. "type": "number"
  18104. },
  18105. "deliverygoodscode": {
  18106. "description": "现货品种代码",
  18107. "type": "string"
  18108. },
  18109. "deliverygoodsid": {
  18110. "description": "现货商品ID",
  18111. "type": "integer"
  18112. },
  18113. "deliverygoodsname": {
  18114. "description": "现货品种名称",
  18115. "type": "string"
  18116. },
  18117. "enumdicname": {
  18118. "description": "单位名称",
  18119. "type": "string"
  18120. },
  18121. "goodscode": {
  18122. "description": "点价合约",
  18123. "type": "string"
  18124. },
  18125. "goodsname": {
  18126. "description": "商品名称",
  18127. "type": "string"
  18128. },
  18129. "operateapplyid": {
  18130. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18131. "type": "string"
  18132. },
  18133. "operateapplytype": {
  18134. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18135. "type": "integer"
  18136. },
  18137. "pricemove": {
  18138. "description": "升贴水",
  18139. "type": "number"
  18140. },
  18141. "pricetype": {
  18142. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18143. "type": "integer"
  18144. },
  18145. "reckonadjustamount": {
  18146. "description": "结算调整金额(非必填)",
  18147. "type": "number"
  18148. },
  18149. "reckonosamount": {
  18150. "description": "结算溢短金额(非必填)",
  18151. "type": "number"
  18152. },
  18153. "reckonotheramount": {
  18154. "description": "结算其他费用(非必填)",
  18155. "type": "number"
  18156. },
  18157. "reckonrealqty": {
  18158. "description": "结算实际数量(非必填)",
  18159. "type": "number"
  18160. },
  18161. "relatedid": {
  18162. "description": "现货合同ID",
  18163. "type": "string"
  18164. },
  18165. "sellusername": {
  18166. "description": "销售方名字",
  18167. "type": "string"
  18168. },
  18169. "userid": {
  18170. "description": "用户ID",
  18171. "type": "integer"
  18172. },
  18173. "wrstandardcode": {
  18174. "description": "品类代码",
  18175. "type": "string"
  18176. },
  18177. "wrstandardid": {
  18178. "description": "品类id",
  18179. "type": "integer"
  18180. },
  18181. "wrstandardname": {
  18182. "description": "品类名称",
  18183. "type": "string"
  18184. }
  18185. }
  18186. },
  18187. "ermcp.QryBussinessKxRsp": {
  18188. "type": "object",
  18189. "properties": {
  18190. "applyid": {
  18191. "description": "申请人",
  18192. "type": "string"
  18193. },
  18194. "applyname": {
  18195. "description": "申请人名称",
  18196. "type": "string"
  18197. },
  18198. "applystatus": {
  18199. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18200. "type": "integer"
  18201. },
  18202. "applytime": {
  18203. "description": "申请时间",
  18204. "type": "string"
  18205. },
  18206. "attachurl": {
  18207. "description": "附件",
  18208. "type": "string"
  18209. },
  18210. "auditid": {
  18211. "description": "审核人ID",
  18212. "type": "string"
  18213. },
  18214. "auditname": {
  18215. "description": "审核人名称",
  18216. "type": "string"
  18217. },
  18218. "auditremark": {
  18219. "description": "审核备注",
  18220. "type": "string"
  18221. },
  18222. "audittime": {
  18223. "description": "审核时间",
  18224. "type": "string"
  18225. },
  18226. "buyusername": {
  18227. "description": "采购方名称",
  18228. "type": "string"
  18229. },
  18230. "contractno": {
  18231. "description": "合同编号",
  18232. "type": "string"
  18233. },
  18234. "contractstatus": {
  18235. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18236. "type": "integer"
  18237. },
  18238. "contracttype": {
  18239. "description": "现货合同类型 - 1:采购 -1:销售",
  18240. "type": "integer"
  18241. },
  18242. "deductamount": {
  18243. "description": "期初均价",
  18244. "type": "number"
  18245. },
  18246. "deliverygoodscode": {
  18247. "description": "现货品种代码",
  18248. "type": "string"
  18249. },
  18250. "deliverygoodsid": {
  18251. "description": "现货商品ID",
  18252. "type": "integer"
  18253. },
  18254. "deliverygoodsname": {
  18255. "description": "现货品种名称",
  18256. "type": "string"
  18257. },
  18258. "enumdicname": {
  18259. "description": "单位名称",
  18260. "type": "string"
  18261. },
  18262. "goodscode": {
  18263. "description": "点价合约",
  18264. "type": "string"
  18265. },
  18266. "goodsname": {
  18267. "description": "商品名称",
  18268. "type": "string"
  18269. },
  18270. "kxtype": {
  18271. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18272. "type": "integer"
  18273. },
  18274. "operateapplyid": {
  18275. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18276. "type": "string"
  18277. },
  18278. "operateapplytype": {
  18279. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18280. "type": "integer"
  18281. },
  18282. "payamount": {
  18283. "description": "期初均价",
  18284. "type": "number"
  18285. },
  18286. "pricemove": {
  18287. "description": "升贴水",
  18288. "type": "number"
  18289. },
  18290. "pricetype": {
  18291. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18292. "type": "integer"
  18293. },
  18294. "relatedid": {
  18295. "description": "现货合同ID",
  18296. "type": "string"
  18297. },
  18298. "sellusername": {
  18299. "description": "销售方名字",
  18300. "type": "string"
  18301. },
  18302. "userid": {
  18303. "description": "用户ID",
  18304. "type": "integer"
  18305. },
  18306. "wrstandardcode": {
  18307. "description": "品类代码",
  18308. "type": "string"
  18309. },
  18310. "wrstandardid": {
  18311. "description": "品类id",
  18312. "type": "integer"
  18313. },
  18314. "wrstandardname": {
  18315. "description": "品类名称",
  18316. "type": "string"
  18317. }
  18318. }
  18319. },
  18320. "ermcp.QryGGCovertCfgRsp": {
  18321. "type": "object",
  18322. "properties": {
  18323. "convertratio": {
  18324. "description": "折算系数",
  18325. "type": "number"
  18326. },
  18327. "destgoodsgroupid": {
  18328. "description": "目标品种ID",
  18329. "type": "integer"
  18330. },
  18331. "dstcode": {
  18332. "description": "目录品种代码",
  18333. "type": "string"
  18334. },
  18335. "dstexchangecode": {
  18336. "description": "目标期货交易所",
  18337. "type": "string"
  18338. },
  18339. "dstname": {
  18340. "description": "目标品种名称",
  18341. "type": "string"
  18342. },
  18343. "dstunitid": {
  18344. "description": "目标品种单位ID",
  18345. "type": "integer"
  18346. },
  18347. "dstunitidname": {
  18348. "description": "目标品种单位名称",
  18349. "type": "string"
  18350. },
  18351. "modifytime": {
  18352. "description": "修改时间",
  18353. "type": "string"
  18354. },
  18355. "srccode": {
  18356. "description": "源品种代码",
  18357. "type": "string"
  18358. },
  18359. "srcexchangecode": {
  18360. "description": "源期货交易所",
  18361. "type": "string"
  18362. },
  18363. "srcgoodsgroupid": {
  18364. "description": "源品种ID",
  18365. "type": "integer"
  18366. },
  18367. "srcname": {
  18368. "description": "源品种名称",
  18369. "type": "string"
  18370. },
  18371. "srcunitid": {
  18372. "description": "源品种单位ID",
  18373. "type": "integer"
  18374. },
  18375. "srcunitidname": {
  18376. "description": "源品种单位名称",
  18377. "type": "string"
  18378. }
  18379. }
  18380. },
  18381. "ermcp.QryMGChangeLogRsp": {
  18382. "type": "object",
  18383. "properties": {
  18384. "aftervalue": {
  18385. "description": "变更后",
  18386. "type": "number"
  18387. },
  18388. "applyid": {
  18389. "description": "操作人",
  18390. "type": "integer"
  18391. },
  18392. "applyname": {
  18393. "description": "操作人名称",
  18394. "type": "string"
  18395. },
  18396. "applysrc": {
  18397. "description": "操作来源 - 1:管理端 2:终端",
  18398. "type": "integer"
  18399. },
  18400. "beforevalue": {
  18401. "description": "变更前",
  18402. "type": "number"
  18403. },
  18404. "changelogtype": {
  18405. "description": "变更流水类型 - 1:套保比率变更",
  18406. "type": "integer"
  18407. },
  18408. "handlestatus": {
  18409. "description": "处理状态",
  18410. "type": "integer"
  18411. },
  18412. "logdatetime": {
  18413. "description": "流水日期",
  18414. "type": "string"
  18415. },
  18416. "logid": {
  18417. "description": "流水ID",
  18418. "type": "integer"
  18419. },
  18420. "logremark": {
  18421. "description": "流水备注",
  18422. "type": "string"
  18423. },
  18424. "middlegoodsid": {
  18425. "description": "套保品种ID",
  18426. "type": "integer"
  18427. },
  18428. "tradedate": {
  18429. "description": "交易日(yyyyMMdd)",
  18430. "type": "string"
  18431. },
  18432. "updatetime": {
  18433. "description": "更新时间",
  18434. "type": "string"
  18435. }
  18436. }
  18437. },
  18438. "ermcp.QryMiddleGoodsDetailRsp": {
  18439. "type": "object",
  18440. "properties": {
  18441. "cvList": {
  18442. "description": "期货品种折算列表",
  18443. "type": "array",
  18444. "items": {
  18445. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18446. }
  18447. },
  18448. "mg": {
  18449. "description": "套保品种基本信息",
  18450. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18451. },
  18452. "wrcList": {
  18453. "description": "现货品种列表(现货商品折算配置)",
  18454. "type": "array",
  18455. "items": {
  18456. "$ref": "#/definitions/models.WRSConverTDetail"
  18457. }
  18458. }
  18459. }
  18460. },
  18461. "ermcp.QryMiddleGoodsRsp": {
  18462. "type": "object",
  18463. "properties": {
  18464. "areauserid": {
  18465. "description": "机构用户ID",
  18466. "type": "integer"
  18467. },
  18468. "createtime": {
  18469. "description": "修改时间",
  18470. "type": "string"
  18471. },
  18472. "enumdicname": {
  18473. "description": "单位名称",
  18474. "type": "string"
  18475. },
  18476. "evaluateratio": {
  18477. "description": "估价系数",
  18478. "type": "number"
  18479. },
  18480. "goodsgroupid": {
  18481. "description": "关联期货品种ID",
  18482. "type": "integer"
  18483. },
  18484. "goodsunitid": {
  18485. "description": "单位ID",
  18486. "type": "integer"
  18487. },
  18488. "isvalid": {
  18489. "description": "状态 0-无效(停用) 1-有效(正常)",
  18490. "type": "integer"
  18491. },
  18492. "middlegoodscode": {
  18493. "description": "套保品种代码",
  18494. "type": "string"
  18495. },
  18496. "middlegoodsid": {
  18497. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18498. "type": "integer"
  18499. },
  18500. "middlegoodsname": {
  18501. "description": "套保品种名称",
  18502. "type": "string"
  18503. },
  18504. "modifytime": {
  18505. "description": "修改时间",
  18506. "type": "string"
  18507. },
  18508. "needarbitrageratio": {
  18509. "description": "套利比例",
  18510. "type": "number"
  18511. },
  18512. "needhedgeratio": {
  18513. "description": "套保比率",
  18514. "type": "number"
  18515. },
  18516. "qtydecimalplace": {
  18517. "description": "数量小数位",
  18518. "type": "integer"
  18519. },
  18520. "relatedgoodsid": {
  18521. "description": "关联交易商品ID",
  18522. "type": "integer"
  18523. },
  18524. "relatedgoodstype": {
  18525. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18526. "type": "integer"
  18527. },
  18528. "remark": {
  18529. "description": "备注",
  18530. "type": "string"
  18531. }
  18532. }
  18533. },
  18534. "ermcp.QryOPLogRsp": {
  18535. "type": "object",
  18536. "properties": {
  18537. "aftervalue": {
  18538. "description": "变更后",
  18539. "type": "number"
  18540. },
  18541. "applyid": {
  18542. "description": "操作人ID",
  18543. "type": "string"
  18544. },
  18545. "applyname": {
  18546. "description": "操作人名称",
  18547. "type": "string"
  18548. },
  18549. "beforevalue": {
  18550. "description": "变更前",
  18551. "type": "number"
  18552. },
  18553. "biztype": {
  18554. "description": "业务类型 - 1:套保计划 2:现货合同",
  18555. "type": "integer"
  18556. },
  18557. "contracttype": {
  18558. "description": "现货合同类型 - 1:采购 -1:销售",
  18559. "type": "integer"
  18560. },
  18561. "logvalue": {
  18562. "description": "数值",
  18563. "type": "number"
  18564. },
  18565. "operatelogtype": {
  18566. "description": "操作流水类型",
  18567. "type": "integer"
  18568. },
  18569. "operatelogtypedesc": {
  18570. "description": "操作流水类型名称",
  18571. "type": "string"
  18572. },
  18573. "relatedid": {
  18574. "description": "现货合同ID\\套保计划",
  18575. "type": "string"
  18576. },
  18577. "updatetime": {
  18578. "description": "更新时间",
  18579. "type": "string"
  18580. }
  18581. }
  18582. },
  18583. "ermcp.QryUserInfoRsp": {
  18584. "type": "object",
  18585. "properties": {
  18586. "address": {
  18587. "description": "通讯地址",
  18588. "type": "string"
  18589. },
  18590. "attachment1": {
  18591. "description": "附件1",
  18592. "type": "string"
  18593. },
  18594. "audittime": {
  18595. "description": "审核时间",
  18596. "type": "string"
  18597. },
  18598. "cardbackphotourl": {
  18599. "description": "证件反面图片地址",
  18600. "type": "string"
  18601. },
  18602. "cardfrontphotourl": {
  18603. "description": "证件正面图片地址",
  18604. "type": "string"
  18605. },
  18606. "cardnum": {
  18607. "description": "证件号码",
  18608. "type": "string"
  18609. },
  18610. "cardtype": {
  18611. "description": "证件类型",
  18612. "type": "integer"
  18613. },
  18614. "cardtypename": {
  18615. "description": "证件类型名称",
  18616. "type": "string"
  18617. },
  18618. "cityid": {
  18619. "description": "市",
  18620. "type": "integer"
  18621. },
  18622. "contactname": {
  18623. "description": "联系人",
  18624. "type": "string"
  18625. },
  18626. "countryid": {
  18627. "description": "国家",
  18628. "type": "integer"
  18629. },
  18630. "createtime": {
  18631. "description": "创建时间",
  18632. "type": "string"
  18633. },
  18634. "customername": {
  18635. "description": "企业名称",
  18636. "type": "string"
  18637. },
  18638. "districtid": {
  18639. "description": "区域",
  18640. "type": "integer"
  18641. },
  18642. "email": {
  18643. "description": "邮件",
  18644. "type": "string"
  18645. },
  18646. "legalpersonname": {
  18647. "description": "法人姓名(企业)",
  18648. "type": "string"
  18649. },
  18650. "memberuserid": {
  18651. "description": "所属机构ID",
  18652. "type": "integer"
  18653. },
  18654. "mobile": {
  18655. "description": "手机号码",
  18656. "type": "string"
  18657. },
  18658. "modifytime": {
  18659. "description": "修改时间",
  18660. "type": "string"
  18661. },
  18662. "nickname": {
  18663. "description": "昵称",
  18664. "type": "string"
  18665. },
  18666. "provinceid": {
  18667. "description": "省",
  18668. "type": "integer"
  18669. },
  18670. "remark": {
  18671. "description": "备注",
  18672. "type": "string"
  18673. },
  18674. "status": {
  18675. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18676. "type": "integer"
  18677. },
  18678. "statusdesc": {
  18679. "description": "账户状态中文描述",
  18680. "type": "string"
  18681. },
  18682. "taxpayernum": {
  18683. "description": "纳税人识别号",
  18684. "type": "string"
  18685. },
  18686. "telphone": {
  18687. "description": "联系电话",
  18688. "type": "string"
  18689. },
  18690. "userid": {
  18691. "description": "用户ID",
  18692. "type": "integer"
  18693. },
  18694. "userinfotype": {
  18695. "description": "客户类型",
  18696. "type": "string"
  18697. }
  18698. }
  18699. },
  18700. "ermcp.QryWarehouseRsp": {
  18701. "type": "object",
  18702. "properties": {
  18703. "address": {
  18704. "description": "详细地址",
  18705. "type": "string"
  18706. },
  18707. "areauserid": {
  18708. "description": "所属机构",
  18709. "type": "integer"
  18710. },
  18711. "autoid": {
  18712. "description": "自增ID(仓库ID)",
  18713. "type": "integer"
  18714. },
  18715. "cityid": {
  18716. "description": "市",
  18717. "type": "integer"
  18718. },
  18719. "contactname": {
  18720. "description": "联系人",
  18721. "type": "string"
  18722. },
  18723. "contactnum": {
  18724. "description": "联系电话",
  18725. "type": "string"
  18726. },
  18727. "countryid": {
  18728. "description": "国家",
  18729. "type": "integer"
  18730. },
  18731. "createtime": {
  18732. "description": "创建时间",
  18733. "type": "string"
  18734. },
  18735. "districtid": {
  18736. "description": "区",
  18737. "type": "integer"
  18738. },
  18739. "hasvideo": {
  18740. "description": "是否有视频 - 0:无 1:有",
  18741. "type": "integer"
  18742. },
  18743. "provinceid": {
  18744. "description": "省",
  18745. "type": "integer"
  18746. },
  18747. "remark": {
  18748. "description": "审核备注",
  18749. "type": "string"
  18750. },
  18751. "videourl": {
  18752. "description": "视频地址",
  18753. "type": "string"
  18754. },
  18755. "warehousecode": {
  18756. "description": "仓库代码",
  18757. "type": "string"
  18758. },
  18759. "warehousename": {
  18760. "description": "仓库名称",
  18761. "type": "string"
  18762. },
  18763. "warehousestatus": {
  18764. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18765. "type": "integer"
  18766. },
  18767. "warehousetype": {
  18768. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18769. "type": "integer"
  18770. }
  18771. }
  18772. },
  18773. "ermcp.QueryErmcpTradePositionRsp": {
  18774. "type": "object",
  18775. "properties": {
  18776. "agreeunit": {
  18777. "description": "合约单位",
  18778. "type": "number"
  18779. },
  18780. "buyorsell": {
  18781. "description": "方向 - 0:买 1:卖",
  18782. "type": "integer"
  18783. },
  18784. "curpositionqty": {
  18785. "description": "持仓(总仓数量, 期末头寸)",
  18786. "type": "integer"
  18787. },
  18788. "curtdposition": {
  18789. "description": "今仓数量(期末今日头寸)",
  18790. "type": "integer"
  18791. },
  18792. "curtdpositionenabled": {
  18793. "description": "今仓可用",
  18794. "type": "integer"
  18795. },
  18796. "decimalplace": {
  18797. "description": "报价小数位",
  18798. "type": "integer"
  18799. },
  18800. "enableqty": {
  18801. "description": "可用(总仓可用)",
  18802. "type": "integer"
  18803. },
  18804. "exexchangename": {
  18805. "description": "外部交易所名称",
  18806. "type": "string"
  18807. },
  18808. "exexehangecode": {
  18809. "description": "外部交易所代码",
  18810. "type": "string"
  18811. },
  18812. "exexehangeid": {
  18813. "description": "外部交易所id",
  18814. "type": "integer"
  18815. },
  18816. "goodscode": {
  18817. "description": "商品代码(内部)",
  18818. "type": "string"
  18819. },
  18820. "goodsid": {
  18821. "description": "商品ID(自增ID SEQ_GOODS)",
  18822. "type": "integer"
  18823. },
  18824. "goodsname": {
  18825. "description": "商品名称",
  18826. "type": "string"
  18827. },
  18828. "last": {
  18829. "description": "现价",
  18830. "type": "number"
  18831. },
  18832. "marketid": {
  18833. "description": "所属市场ID",
  18834. "type": "integer"
  18835. },
  18836. "openaverageprice": {
  18837. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18838. "type": "number"
  18839. },
  18840. "opencost": {
  18841. "description": "开仓成本",
  18842. "type": "number"
  18843. },
  18844. "openpl": {
  18845. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18846. "type": "number"
  18847. },
  18848. "outgoodscode": {
  18849. "description": "商品代码(外部)",
  18850. "type": "string"
  18851. },
  18852. "positionaverageprice": {
  18853. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18854. "type": "number"
  18855. },
  18856. "positioncost": {
  18857. "description": "持仓成本",
  18858. "type": "number"
  18859. },
  18860. "positionpl": {
  18861. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18862. "type": "number"
  18863. },
  18864. "positionplrate": {
  18865. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18866. "type": "number"
  18867. },
  18868. "usedmargin": {
  18869. "description": "占用保证金",
  18870. "type": "number"
  18871. }
  18872. }
  18873. },
  18874. "ermcp.RealtimeExposurePositionRsp": {
  18875. "type": "object",
  18876. "properties": {
  18877. "agreeunit": {
  18878. "description": "合约单位",
  18879. "type": "string"
  18880. },
  18881. "areauserid": {
  18882. "description": "所属机构id",
  18883. "type": "integer"
  18884. },
  18885. "convertratio": {
  18886. "description": "期货品种系数(折算系数)",
  18887. "type": "number"
  18888. },
  18889. "curhedgeqty": {
  18890. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18891. "type": "number"
  18892. },
  18893. "curqty": {
  18894. "description": "当前持仓",
  18895. "type": "integer"
  18896. },
  18897. "diffhedgeqty": {
  18898. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18899. "type": "number"
  18900. },
  18901. "diffqty": {
  18902. "description": "持仓变动量=当前持仓-昨日持仓",
  18903. "type": "integer"
  18904. },
  18905. "goodscode": {
  18906. "description": "商品代码",
  18907. "type": "string"
  18908. },
  18909. "goodsid": {
  18910. "description": "商品id",
  18911. "type": "integer"
  18912. },
  18913. "goodsname": {
  18914. "description": "商品名称",
  18915. "type": "string"
  18916. },
  18917. "hedgeaccountcode": {
  18918. "description": "对冲账号(只有外部账号才有值)",
  18919. "type": "string"
  18920. },
  18921. "middlegoodscode": {
  18922. "description": "套保商品代码",
  18923. "type": "string"
  18924. },
  18925. "middlegoodsid": {
  18926. "description": "套保商品id",
  18927. "type": "integer"
  18928. },
  18929. "middlegoodsname": {
  18930. "description": "套保商品名称",
  18931. "type": "string"
  18932. },
  18933. "ydqty": {
  18934. "description": "昨日持仓",
  18935. "type": "integer"
  18936. }
  18937. }
  18938. },
  18939. "ermcp.RealtimeExposureRsp": {
  18940. "type": "object",
  18941. "properties": {
  18942. "AreaUserID": {
  18943. "description": "所属机构",
  18944. "type": "integer"
  18945. },
  18946. "BuyFutureQty": {
  18947. "description": "买入期货数量",
  18948. "type": "number"
  18949. },
  18950. "BuyPlanQty": {
  18951. "description": "采购计划数量",
  18952. "type": "number"
  18953. },
  18954. "BuyPricedQty": {
  18955. "description": "采购合同已定价数量",
  18956. "type": "number"
  18957. },
  18958. "MiddleGoodsCode": {
  18959. "description": "套保品种代码",
  18960. "type": "string"
  18961. },
  18962. "MiddleGoodsHedgeRatio": {
  18963. "description": "套保比例",
  18964. "type": "number"
  18965. },
  18966. "MiddleGoodsID": {
  18967. "description": "套保品种",
  18968. "type": "integer"
  18969. },
  18970. "MiddleGoodsName": {
  18971. "description": "套保品种名称",
  18972. "type": "string"
  18973. },
  18974. "NeedHedgeExposoure": {
  18975. "description": "应套保敞口(套保敞口)",
  18976. "type": "number"
  18977. },
  18978. "NeedHedgeRatio": {
  18979. "description": "应套保敞口比例",
  18980. "type": "number"
  18981. },
  18982. "OriBuyFutureQty": {
  18983. "description": "期初买入期货数量",
  18984. "type": "number"
  18985. },
  18986. "OriBuyPlanQty": {
  18987. "description": "期初采购计划数量",
  18988. "type": "number"
  18989. },
  18990. "OriBuyPricedQty": {
  18991. "description": "期初采购合同已定价数量",
  18992. "type": "number"
  18993. },
  18994. "OriSellFutureQty": {
  18995. "description": "期初卖出期货数量",
  18996. "type": "number"
  18997. },
  18998. "OriSellPlanQty": {
  18999. "description": "期初销售计划数量",
  19000. "type": "number"
  19001. },
  19002. "OriSellPricedQty": {
  19003. "description": "期初销售合同已定价数量",
  19004. "type": "number"
  19005. },
  19006. "OriTotalSpotQty": {
  19007. "description": "期初现货总量",
  19008. "type": "number"
  19009. },
  19010. "SellFutureQty": {
  19011. "description": "卖出期货数量",
  19012. "type": "number"
  19013. },
  19014. "SellPlanQty": {
  19015. "description": "销售计划数量",
  19016. "type": "number"
  19017. },
  19018. "SellPricedQty": {
  19019. "description": "销售合同已定价数量",
  19020. "type": "number"
  19021. },
  19022. "TotalExposure": {
  19023. "description": "总敞口 平安:净敞口",
  19024. "type": "number"
  19025. },
  19026. "TotalFutureQty": {
  19027. "description": "期货总量 平安:保值净持仓量",
  19028. "type": "number"
  19029. },
  19030. "TotalHedgeRatio": {
  19031. "description": "敞口比例",
  19032. "type": "number"
  19033. },
  19034. "TotalNeedHedgeQty": {
  19035. "description": "应套保总量(现货应套保总量)",
  19036. "type": "number"
  19037. },
  19038. "TotalSpotQty": {
  19039. "description": "现货总量 平安:采销定价净值",
  19040. "type": "number"
  19041. },
  19042. "arbitrageqty": {
  19043. "description": "套利量",
  19044. "type": "number"
  19045. },
  19046. "diffArbitrageQty": {
  19047. "description": "期初均价",
  19048. "type": "number"
  19049. },
  19050. "diffExposoureQty": {
  19051. "description": "期初均价",
  19052. "type": "number"
  19053. },
  19054. "diffFutuQty": {
  19055. "description": "期初均价",
  19056. "type": "number"
  19057. },
  19058. "diffHedgeQty": {
  19059. "description": "期初均价",
  19060. "type": "number"
  19061. },
  19062. "diffQty": {
  19063. "description": "期初均价",
  19064. "type": "number"
  19065. },
  19066. "diffSpotHedgeQty": {
  19067. "description": "期初均价",
  19068. "type": "number"
  19069. },
  19070. "diffSpotQty": {
  19071. "description": "期初均价",
  19072. "type": "number"
  19073. },
  19074. "enumdicname": {
  19075. "description": "单位名称",
  19076. "type": "string"
  19077. },
  19078. "hedgeqty": {
  19079. "description": "套保量",
  19080. "type": "number"
  19081. },
  19082. "needarbitrageqty": {
  19083. "description": "应套利量",
  19084. "type": "number"
  19085. },
  19086. "needarbitrageratio": {
  19087. "description": "套利比例",
  19088. "type": "number"
  19089. },
  19090. "needhedgeqty": {
  19091. "description": "应套保量",
  19092. "type": "number"
  19093. },
  19094. "oriarbitrageqty": {
  19095. "description": "期初套利量",
  19096. "type": "number"
  19097. },
  19098. "orihedgeqty": {
  19099. "description": "期初套保量",
  19100. "type": "number"
  19101. },
  19102. "orineedhedgeexposoure": {
  19103. "description": "期初套保敞口",
  19104. "type": "number"
  19105. },
  19106. "oritotalexposure": {
  19107. "description": "期初总敞口",
  19108. "type": "number"
  19109. },
  19110. "oritotalfutureqty": {
  19111. "description": "期初期货总量",
  19112. "type": "number"
  19113. },
  19114. "oritotalneedhedgeqty": {
  19115. "description": "期初现货应套保量",
  19116. "type": "number"
  19117. }
  19118. }
  19119. },
  19120. "erms2.QueryArbitrageStrategyRsp": {
  19121. "type": "object",
  19122. "required": [
  19123. "asapplyid"
  19124. ],
  19125. "properties": {
  19126. "applybasis": {
  19127. "description": "申请基差",
  19128. "type": "number"
  19129. },
  19130. "asapplyid": {
  19131. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19132. "type": "string"
  19133. },
  19134. "asname": {
  19135. "description": "策略名称",
  19136. "type": "string"
  19137. },
  19138. "asno": {
  19139. "description": "策略编号",
  19140. "type": "string"
  19141. },
  19142. "basischangepl": {
  19143. "description": "基差变动损益[结算更新]",
  19144. "type": "number"
  19145. },
  19146. "biztype": {
  19147. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19148. "type": "integer"
  19149. },
  19150. "closetradedate": {
  19151. "description": "完结交易日(yyyyMMdd)",
  19152. "type": "string"
  19153. },
  19154. "curbasis": {
  19155. "description": "当前基差[结算更新]",
  19156. "type": "number"
  19157. },
  19158. "deliverygoodsid": {
  19159. "description": "现货品种ID",
  19160. "type": "integer"
  19161. },
  19162. "futureavgprice": {
  19163. "description": "期货建仓均价",
  19164. "type": "number"
  19165. },
  19166. "futurecloseamount": {
  19167. "description": "期货平仓金额",
  19168. "type": "number"
  19169. },
  19170. "futurecloseqty": {
  19171. "description": "期货平仓数量",
  19172. "type": "number"
  19173. },
  19174. "futureopenamount": {
  19175. "description": "期货开仓金额",
  19176. "type": "number"
  19177. },
  19178. "futureopenqty": {
  19179. "description": "期货开仓数量",
  19180. "type": "number"
  19181. },
  19182. "futurepl": {
  19183. "description": "期货总盈亏[结算更新]",
  19184. "type": "number"
  19185. },
  19186. "futureqty": {
  19187. "description": "期货持仓数量",
  19188. "type": "number"
  19189. },
  19190. "futurequote": {
  19191. "description": "期货额度",
  19192. "type": "number"
  19193. },
  19194. "goodsgroupid": {
  19195. "description": "期货品种ID",
  19196. "type": "integer"
  19197. },
  19198. "marketid": {
  19199. "description": "市场ID",
  19200. "type": "integer"
  19201. },
  19202. "netexposure": {
  19203. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19204. "type": "number"
  19205. },
  19206. "netexposurepl": {
  19207. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19208. "type": "number"
  19209. },
  19210. "netexposurerate": {
  19211. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19212. "type": "number"
  19213. },
  19214. "openbasis": {
  19215. "description": "建仓基差",
  19216. "type": "number"
  19217. },
  19218. "pricedspotqty": {
  19219. "description": "已定价现货数量",
  19220. "type": "number"
  19221. },
  19222. "pricedspotqtynotax": {
  19223. "description": "已定价现货不含税数量",
  19224. "type": "number"
  19225. },
  19226. "remark": {
  19227. "description": "备注",
  19228. "type": "string"
  19229. },
  19230. "spotavgprice": {
  19231. "description": "现货均价",
  19232. "type": "number"
  19233. },
  19234. "spotbuyamount": {
  19235. "description": "现货采购金额",
  19236. "type": "number"
  19237. },
  19238. "spotbuyqty": {
  19239. "description": "现货采购数量",
  19240. "type": "number"
  19241. },
  19242. "spotpl": {
  19243. "description": "现货总盈亏[结算更新]",
  19244. "type": "number"
  19245. },
  19246. "spotquota": {
  19247. "description": "现货额度",
  19248. "type": "number"
  19249. },
  19250. "spotsellamount": {
  19251. "description": "现货销售金额",
  19252. "type": "number"
  19253. },
  19254. "spotsellqty": {
  19255. "description": "现货销售数量",
  19256. "type": "number"
  19257. },
  19258. "spotusedquota": {
  19259. "description": "现货占用资金",
  19260. "type": "number"
  19261. },
  19262. "strategystatus": {
  19263. "description": "策略状态 - 0:未结束 1:已结束",
  19264. "type": "integer"
  19265. },
  19266. "totalpl": {
  19267. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19268. "type": "number"
  19269. },
  19270. "tradedate": {
  19271. "description": "交易日(yyyyMMdd)",
  19272. "type": "string"
  19273. },
  19274. "updatetime": {
  19275. "description": "更新时间",
  19276. "type": "string"
  19277. },
  19278. "usedquota": {
  19279. "description": "已占用资金",
  19280. "type": "number"
  19281. },
  19282. "userid": {
  19283. "description": "所属机构",
  19284. "type": "integer"
  19285. }
  19286. }
  19287. },
  19288. "erms2.QueryInnerTradeDetailRsp": {
  19289. "type": "object",
  19290. "required": [
  19291. "asapplyid",
  19292. "buyorsell",
  19293. "goodscode",
  19294. "goodsgroupid",
  19295. "goodsgroupname",
  19296. "goodsname",
  19297. "tradeid"
  19298. ],
  19299. "properties": {
  19300. "accountid": {
  19301. "description": "账号ID",
  19302. "type": "integer"
  19303. },
  19304. "agreeunit": {
  19305. "description": "合约单位",
  19306. "type": "number"
  19307. },
  19308. "asapplyid": {
  19309. "description": "策略申请ID",
  19310. "type": "integer"
  19311. },
  19312. "asname": {
  19313. "description": "策略名称",
  19314. "type": "string"
  19315. },
  19316. "asno": {
  19317. "description": "策略编号",
  19318. "type": "string"
  19319. },
  19320. "buyorsell": {
  19321. "description": "方向 - 0:买 1:卖",
  19322. "type": "integer"
  19323. },
  19324. "channelbuildtype": {
  19325. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19326. "type": "integer"
  19327. },
  19328. "closetype": {
  19329. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19330. "type": "integer"
  19331. },
  19332. "decimalplace": {
  19333. "description": "报价小数位",
  19334. "type": "integer"
  19335. },
  19336. "detailtype": {
  19337. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19338. "type": "integer"
  19339. },
  19340. "exexchangecode": {
  19341. "description": "外部交易所代码",
  19342. "type": "string"
  19343. },
  19344. "exexchangename": {
  19345. "description": "外部交易所名称",
  19346. "type": "string"
  19347. },
  19348. "goodscode": {
  19349. "description": "商品代码(合约)",
  19350. "type": "string"
  19351. },
  19352. "goodsgroupid": {
  19353. "description": "商品组ID(品种ID)",
  19354. "type": "integer"
  19355. },
  19356. "goodsgroupname": {
  19357. "description": "商品组名称(品种)",
  19358. "type": "string"
  19359. },
  19360. "goodsid": {
  19361. "description": "商品ID",
  19362. "type": "integer"
  19363. },
  19364. "goodsname": {
  19365. "description": "商品名称(合约)",
  19366. "type": "string"
  19367. },
  19368. "goodunit": {
  19369. "description": "报价单位",
  19370. "type": "string"
  19371. },
  19372. "marketid": {
  19373. "description": "市场ID",
  19374. "type": "integer"
  19375. },
  19376. "orderid": {
  19377. "description": "委托单号",
  19378. "type": "string"
  19379. },
  19380. "outgoodscode": {
  19381. "description": "商品代码(外部)",
  19382. "type": "string"
  19383. },
  19384. "relatedouttradeid": {
  19385. "description": "关联外部成交单ID",
  19386. "type": "string"
  19387. },
  19388. "remark": {
  19389. "description": "备注",
  19390. "type": "string"
  19391. },
  19392. "spotcontractid": {
  19393. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19394. "type": "integer"
  19395. },
  19396. "spotcontractno": {
  19397. "description": "现货合同编号",
  19398. "type": "string"
  19399. },
  19400. "tradeid": {
  19401. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19402. "type": "string"
  19403. },
  19404. "tradeprice": {
  19405. "description": "成交价格",
  19406. "type": "number"
  19407. },
  19408. "tradeqty": {
  19409. "description": "成交数量",
  19410. "type": "integer"
  19411. },
  19412. "tradetime": {
  19413. "description": "成交时间",
  19414. "type": "string"
  19415. },
  19416. "updatetime": {
  19417. "description": "更新时间",
  19418. "type": "string"
  19419. }
  19420. }
  19421. },
  19422. "erms2.QuerySpotContractRsp": {
  19423. "type": "object",
  19424. "required": [
  19425. "spotcontractid"
  19426. ],
  19427. "properties": {
  19428. "accountid": {
  19429. "description": "资金账户ID",
  19430. "type": "integer"
  19431. },
  19432. "areauserid": {
  19433. "description": "所属机构",
  19434. "type": "integer"
  19435. },
  19436. "closedate": {
  19437. "description": "终止日期",
  19438. "type": "string"
  19439. },
  19440. "closeremark": {
  19441. "description": "结束备注",
  19442. "type": "string"
  19443. },
  19444. "closetradedate": {
  19445. "description": "完结交易日(yyyyMMdd)",
  19446. "type": "string"
  19447. },
  19448. "closetype": {
  19449. "description": "终止类型 - 1:违约 2:提前终止",
  19450. "type": "integer"
  19451. },
  19452. "contractamount": {
  19453. "description": "合同金额",
  19454. "type": "number"
  19455. },
  19456. "contractattachment": {
  19457. "description": "合同附件",
  19458. "type": "string"
  19459. },
  19460. "contractno": {
  19461. "description": "现货合同编号",
  19462. "type": "string"
  19463. },
  19464. "contractqty": {
  19465. "description": "合同数量(数值) (用于计算)",
  19466. "type": "number"
  19467. },
  19468. "contractqtychar": {
  19469. "description": "合同数量\\已订价数量 (用于显示)",
  19470. "type": "string"
  19471. },
  19472. "contractstatus": {
  19473. "description": "合同状态 - 0:未结束 1:已结束",
  19474. "type": "integer"
  19475. },
  19476. "contracttype": {
  19477. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19478. "type": "integer"
  19479. },
  19480. "customeraccountid": {
  19481. "description": "客户资金账户ID",
  19482. "type": "integer"
  19483. },
  19484. "customeruserid": {
  19485. "description": "客户ID",
  19486. "type": "integer"
  19487. },
  19488. "deliverygoodsdesc": {
  19489. "description": "品种说明",
  19490. "type": "string"
  19491. },
  19492. "deliverygoodsid": {
  19493. "description": "现货品种ID",
  19494. "type": "integer"
  19495. },
  19496. "handlestatus": {
  19497. "description": "处理状态",
  19498. "type": "integer"
  19499. },
  19500. "invoiceatt": {
  19501. "description": "发票附件",
  19502. "type": "string"
  19503. },
  19504. "invoicedatetime": {
  19505. "description": "开收票更新时间",
  19506. "type": "string"
  19507. },
  19508. "invoiceopentime": {
  19509. "description": "开票时间",
  19510. "type": "string"
  19511. },
  19512. "invoiceremark": {
  19513. "description": "发票备注",
  19514. "type": "string"
  19515. },
  19516. "invoicestatus": {
  19517. "description": "开收票状态 - 0:未开票 1:已开票",
  19518. "type": "integer"
  19519. },
  19520. "lastdate": {
  19521. "description": "交货时间",
  19522. "type": "string"
  19523. },
  19524. "marketid": {
  19525. "description": "市场ID",
  19526. "type": "integer"
  19527. },
  19528. "paydatetime": {
  19529. "description": "收付款更新时间",
  19530. "type": "string"
  19531. },
  19532. "payremark": {
  19533. "description": "收付款备注",
  19534. "type": "string"
  19535. },
  19536. "paystatus": {
  19537. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19538. "type": "integer"
  19539. },
  19540. "positionqty": {
  19541. "description": "头寸数量 - 合同数量去小数部分",
  19542. "type": "integer"
  19543. },
  19544. "producttype": {
  19545. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19546. "type": "integer"
  19547. },
  19548. "relatedqty": {
  19549. "description": "已关联数量",
  19550. "type": "number"
  19551. },
  19552. "relatedstatus": {
  19553. "description": "关联完结状态 - 0:未结束 1:已结束",
  19554. "type": "integer"
  19555. },
  19556. "remark": {
  19557. "description": "备注",
  19558. "type": "string"
  19559. },
  19560. "signdate": {
  19561. "description": "签订日期",
  19562. "type": "string"
  19563. },
  19564. "spotcontractid": {
  19565. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19566. "type": "string"
  19567. },
  19568. "spotdatetime": {
  19569. "description": "收发货更新时间",
  19570. "type": "string"
  19571. },
  19572. "spotprice": {
  19573. "description": "价格",
  19574. "type": "number"
  19575. },
  19576. "spotremark": {
  19577. "description": "收发货备注",
  19578. "type": "string"
  19579. },
  19580. "spotstatus": {
  19581. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19582. "type": "integer"
  19583. },
  19584. "tradedate": {
  19585. "description": "交易日(yyyyMMdd)",
  19586. "type": "string"
  19587. },
  19588. "userid": {
  19589. "description": "业务员用户ID",
  19590. "type": "integer"
  19591. },
  19592. "warehouseid": {
  19593. "description": "仓库ID",
  19594. "type": "integer"
  19595. },
  19596. "wrfactortypeid": {
  19597. "description": "仓单要素类型ID",
  19598. "type": "integer"
  19599. },
  19600. "wrstandardid": {
  19601. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19602. "type": "integer"
  19603. }
  19604. }
  19605. },
  19606. "erms3.AddErms2ASApplyReq": {
  19607. "type": "object",
  19608. "required": [
  19609. "asapplyid"
  19610. ],
  19611. "properties": {
  19612. "applybasis": {
  19613. "description": "申请基差",
  19614. "type": "number"
  19615. },
  19616. "applystatus": {
  19617. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19618. "type": "integer"
  19619. },
  19620. "asapplyid": {
  19621. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19622. "type": "integer"
  19623. },
  19624. "asname": {
  19625. "description": "策略名称",
  19626. "type": "string"
  19627. },
  19628. "asno": {
  19629. "description": "策略编号",
  19630. "type": "string"
  19631. },
  19632. "auditid": {
  19633. "description": "审核人",
  19634. "type": "integer"
  19635. },
  19636. "auditremark": {
  19637. "description": "审核备注",
  19638. "type": "string"
  19639. },
  19640. "audittime": {
  19641. "description": "审核时间",
  19642. "type": "string"
  19643. },
  19644. "biztype": {
  19645. "description": "业务类型 - 1:正向套利 2:反向套利",
  19646. "type": "integer"
  19647. },
  19648. "createtime": {
  19649. "description": "创建时间",
  19650. "type": "string"
  19651. },
  19652. "creatorid": {
  19653. "description": "创建人",
  19654. "type": "integer"
  19655. },
  19656. "deliverygoodsid": {
  19657. "description": "现货品种ID",
  19658. "type": "integer"
  19659. },
  19660. "futurequote": {
  19661. "description": "期货额度",
  19662. "type": "number"
  19663. },
  19664. "goodsgroupid": {
  19665. "description": "期货品种ID",
  19666. "type": "integer"
  19667. },
  19668. "marketid": {
  19669. "description": "市场ID",
  19670. "type": "integer"
  19671. },
  19672. "remark": {
  19673. "description": "备注",
  19674. "type": "string"
  19675. },
  19676. "spotquota": {
  19677. "description": "现货额度",
  19678. "type": "number"
  19679. },
  19680. "tradedate": {
  19681. "description": "交易日(yyyyMMdd)",
  19682. "type": "string"
  19683. },
  19684. "userid": {
  19685. "description": "所属机构",
  19686. "type": "integer"
  19687. }
  19688. }
  19689. },
  19690. "erms3.AddErms2SpotTradeApplyReq": {
  19691. "type": "object",
  19692. "required": [
  19693. "spottradeid"
  19694. ],
  19695. "properties": {
  19696. "applyjsondetail": {
  19697. "description": "申请明细(JSON)",
  19698. "type": "string"
  19699. },
  19700. "applystatus": {
  19701. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19702. "type": "integer"
  19703. },
  19704. "areauserid": {
  19705. "description": "所属机构",
  19706. "type": "integer"
  19707. },
  19708. "auditid": {
  19709. "description": "审核人",
  19710. "type": "integer"
  19711. },
  19712. "auditremark": {
  19713. "description": "审核备注",
  19714. "type": "string"
  19715. },
  19716. "audittime": {
  19717. "description": "审核时间",
  19718. "type": "string"
  19719. },
  19720. "createtime": {
  19721. "description": "创建时间",
  19722. "type": "string"
  19723. },
  19724. "creatorid": {
  19725. "description": "创建人",
  19726. "type": "integer"
  19727. },
  19728. "deliverygoodsid": {
  19729. "description": "现货品种ID",
  19730. "type": "integer"
  19731. },
  19732. "futureaccountid": {
  19733. "description": "期货资金账户",
  19734. "type": "integer"
  19735. },
  19736. "goodsgroupid": {
  19737. "description": "期货品种",
  19738. "type": "integer"
  19739. },
  19740. "marketid": {
  19741. "description": "市场ID",
  19742. "type": "integer"
  19743. },
  19744. "remark": {
  19745. "description": "备注",
  19746. "type": "string"
  19747. },
  19748. "spotaccountid": {
  19749. "description": "现货资金账户",
  19750. "type": "integer"
  19751. },
  19752. "spottradeid": {
  19753. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19754. "type": "integer"
  19755. },
  19756. "spottradename": {
  19757. "description": "业务名称",
  19758. "type": "string"
  19759. },
  19760. "spottradeno": {
  19761. "description": "业务编号",
  19762. "type": "string"
  19763. },
  19764. "tradedate": {
  19765. "description": "交易日(yyyyMMdd)",
  19766. "type": "string"
  19767. },
  19768. "wrstandardid": {
  19769. "description": "仓单标准ID",
  19770. "type": "integer"
  19771. }
  19772. }
  19773. },
  19774. "erms3.AddSpotContractApplyReq": {
  19775. "type": "object",
  19776. "required": [
  19777. "accountid",
  19778. "areauserid",
  19779. "contractno",
  19780. "contracttype",
  19781. "customeraccountid",
  19782. "customeruserid",
  19783. "details",
  19784. "orimargin",
  19785. "signdate"
  19786. ],
  19787. "properties": {
  19788. "accountid": {
  19789. "description": "资金账户ID",
  19790. "type": "integer"
  19791. },
  19792. "areauserid": {
  19793. "description": "所属机构",
  19794. "type": "integer"
  19795. },
  19796. "contractattachment": {
  19797. "description": "合同附件",
  19798. "type": "string"
  19799. },
  19800. "contractno": {
  19801. "description": "现货合同编号",
  19802. "type": "string"
  19803. },
  19804. "contracttype": {
  19805. "description": "现货合同类型 - 1:采购 -1:销售",
  19806. "type": "integer"
  19807. },
  19808. "creatorid": {
  19809. "description": "申请人",
  19810. "type": "integer"
  19811. },
  19812. "customeraccountid": {
  19813. "description": "客户资金账户ID",
  19814. "type": "integer"
  19815. },
  19816. "customeruserid": {
  19817. "description": "客户ID",
  19818. "type": "integer"
  19819. },
  19820. "details": {
  19821. "description": "明细",
  19822. "type": "array",
  19823. "items": {
  19824. "$ref": "#/definitions/erms3.SoptContractDetail"
  19825. }
  19826. },
  19827. "orimargin": {
  19828. "description": "初始保证金",
  19829. "type": "number"
  19830. },
  19831. "remark": {
  19832. "description": "备注",
  19833. "type": "string"
  19834. },
  19835. "signdate": {
  19836. "description": "签订日期",
  19837. "type": "string"
  19838. }
  19839. }
  19840. },
  19841. "erms3.AddSpotContractApplyRsp": {
  19842. "type": "object",
  19843. "required": [
  19844. "contractno"
  19845. ],
  19846. "properties": {
  19847. "contractno": {
  19848. "description": "现货合同编号",
  19849. "type": "string"
  19850. },
  19851. "spotcontractid": {
  19852. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19853. "type": "integer"
  19854. }
  19855. }
  19856. },
  19857. "erms3.AddUserInfoApplyReq": {
  19858. "type": "object",
  19859. "required": [
  19860. "userid"
  19861. ],
  19862. "properties": {
  19863. "accountid": {
  19864. "description": "交易系统帐号Id (加密存储)",
  19865. "type": "integer"
  19866. },
  19867. "areacode": {
  19868. "description": "机构代码",
  19869. "type": "string"
  19870. },
  19871. "areaid": {
  19872. "description": "机构Id",
  19873. "type": "integer"
  19874. },
  19875. "attachment1": {
  19876. "description": "附件1",
  19877. "type": "string"
  19878. },
  19879. "attachment2": {
  19880. "description": "附件2",
  19881. "type": "string"
  19882. },
  19883. "attachment3": {
  19884. "description": "附件3",
  19885. "type": "string"
  19886. },
  19887. "attachment4": {
  19888. "description": "附件4",
  19889. "type": "string"
  19890. },
  19891. "attachment5": {
  19892. "description": "附件5",
  19893. "type": "string"
  19894. },
  19895. "auditedby": {
  19896. "description": "审核人",
  19897. "type": "string"
  19898. },
  19899. "auditime": {
  19900. "description": "审核时间",
  19901. "type": "string"
  19902. },
  19903. "auditsrc": {
  19904. "description": "审核来源 - 1:管理端 2:终端",
  19905. "type": "integer"
  19906. },
  19907. "bankaccount": {
  19908. "description": "银行帐号 (加密存储)",
  19909. "type": "string"
  19910. },
  19911. "bankaccountname": {
  19912. "description": "收款人名称",
  19913. "type": "string"
  19914. },
  19915. "bankcardbackphotourl": {
  19916. "description": "银行卡背面照地址",
  19917. "type": "string"
  19918. },
  19919. "bankcardfrontphotourl": {
  19920. "description": "银行卡正面照地址",
  19921. "type": "string"
  19922. },
  19923. "bankid": {
  19924. "description": "银行编码",
  19925. "type": "string"
  19926. },
  19927. "bankname": {
  19928. "description": "银行名称",
  19929. "type": "string"
  19930. },
  19931. "bankpictureurl": {
  19932. "description": "银行卡正面地址",
  19933. "type": "string"
  19934. },
  19935. "biznature": {
  19936. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19937. "type": "integer"
  19938. },
  19939. "bizscope": {
  19940. "description": "企业经营范围(企业)",
  19941. "type": "string"
  19942. },
  19943. "biztype": {
  19944. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19945. "type": "integer"
  19946. },
  19947. "brokerid": {
  19948. "description": "经纪人ID(加密存储)",
  19949. "type": "string"
  19950. },
  19951. "cardaddress": {
  19952. "description": "证件地址 (加密存储)",
  19953. "type": "string"
  19954. },
  19955. "cardbackphotourl": {
  19956. "description": "背面证件照地址",
  19957. "type": "string"
  19958. },
  19959. "cardfrontphotourl": {
  19960. "description": "正面证件照地址",
  19961. "type": "string"
  19962. },
  19963. "cardnum": {
  19964. "description": "证件号码 (加密存储)",
  19965. "type": "string"
  19966. },
  19967. "cardtype": {
  19968. "description": "证件类型",
  19969. "type": "integer"
  19970. },
  19971. "cityid": {
  19972. "description": "市",
  19973. "type": "integer"
  19974. },
  19975. "company": {
  19976. "description": "公司(个人)",
  19977. "type": "string"
  19978. },
  19979. "contactcardbackphotourl": {
  19980. "description": "联系人证件背面图片地址",
  19981. "type": "string"
  19982. },
  19983. "contactcardfrontphotourl": {
  19984. "description": "联系人证件正面图片地址",
  19985. "type": "string"
  19986. },
  19987. "contactname": {
  19988. "description": "联系人",
  19989. "type": "string"
  19990. },
  19991. "countryid": {
  19992. "description": "国家",
  19993. "type": "integer"
  19994. },
  19995. "createtime": {
  19996. "description": "开户申请时间",
  19997. "type": "string"
  19998. },
  19999. "cusbankid": {
  20000. "description": "签约类型",
  20001. "type": "string"
  20002. },
  20003. "cusbankname": {
  20004. "description": "签约类型名称",
  20005. "type": "string"
  20006. },
  20007. "customername": {
  20008. "description": "客户名称(企业名称)",
  20009. "type": "string"
  20010. },
  20011. "districtid": {
  20012. "description": "地区",
  20013. "type": "integer"
  20014. },
  20015. "email": {
  20016. "description": "Email地址(加密存储)",
  20017. "type": "string"
  20018. },
  20019. "halfbodyphotourl": {
  20020. "description": "半身照地址",
  20021. "type": "string"
  20022. },
  20023. "headurl": {
  20024. "description": "头像地址",
  20025. "type": "string"
  20026. },
  20027. "ipaddress": {
  20028. "description": "IP地址",
  20029. "type": "string"
  20030. },
  20031. "isvalidate": {
  20032. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20033. "type": "string"
  20034. },
  20035. "legalcardbackphotourl": {
  20036. "description": "法人身份证背面照地址",
  20037. "type": "string"
  20038. },
  20039. "legalcardfrontphotourl": {
  20040. "description": "法人身份证正面照地址",
  20041. "type": "string"
  20042. },
  20043. "legalpersonname": {
  20044. "description": "法人姓名(企业)",
  20045. "type": "string"
  20046. },
  20047. "logincode": {
  20048. "description": "登录帐号 (加密存储)",
  20049. "type": "string"
  20050. },
  20051. "memberareaid": {
  20052. "description": "所属会员ID",
  20053. "type": "integer"
  20054. },
  20055. "mobile2": {
  20056. "description": "手机号码[明文-尚志]",
  20057. "type": "string"
  20058. },
  20059. "mobilephone": {
  20060. "description": "手机号码 (加密存储)",
  20061. "type": "string"
  20062. },
  20063. "modifiedby": {
  20064. "description": "修改人帐号",
  20065. "type": "integer"
  20066. },
  20067. "modifiedtime": {
  20068. "description": "修改时间",
  20069. "type": "string"
  20070. },
  20071. "nickname": {
  20072. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20073. "type": "string"
  20074. },
  20075. "openmode": {
  20076. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20077. "type": "integer"
  20078. },
  20079. "otherurl": {
  20080. "description": "其它图片地址[使用分号分隔]",
  20081. "type": "string"
  20082. },
  20083. "postalcode": {
  20084. "description": "邮政编码",
  20085. "type": "string"
  20086. },
  20087. "provinceid": {
  20088. "description": "省",
  20089. "type": "integer"
  20090. },
  20091. "proxystatementurl": {
  20092. "description": "授权委托书",
  20093. "type": "string"
  20094. },
  20095. "qq": {
  20096. "description": "QQ(加密存储",
  20097. "type": "string"
  20098. },
  20099. "referral": {
  20100. "description": "推荐人编码",
  20101. "type": "string"
  20102. },
  20103. "remark": {
  20104. "description": "备注",
  20105. "type": "string"
  20106. },
  20107. "removebeforestatus": {
  20108. "description": "REMOVEBEFORESTATUS",
  20109. "type": "integer"
  20110. },
  20111. "sex": {
  20112. "description": "性别 - 0:女 1:男",
  20113. "type": "integer"
  20114. },
  20115. "signedstatus": {
  20116. "description": "账户一号签签约状态",
  20117. "type": "integer"
  20118. },
  20119. "signpdfurl": {
  20120. "description": "签约pdf文件",
  20121. "type": "string"
  20122. },
  20123. "subbranch": {
  20124. "description": "开户支行",
  20125. "type": "string"
  20126. },
  20127. "taxpayernum": {
  20128. "description": "纳税人识别号",
  20129. "type": "string"
  20130. },
  20131. "telphone": {
  20132. "description": "联系电话(加密存储)",
  20133. "type": "string"
  20134. },
  20135. "userid": {
  20136. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20137. "type": "integer"
  20138. },
  20139. "userinfotype": {
  20140. "description": "用户信息类型 - 1:个人 2:企业",
  20141. "type": "integer"
  20142. },
  20143. "username": {
  20144. "description": "用户姓名",
  20145. "type": "string"
  20146. },
  20147. "userstate": {
  20148. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20149. "type": "integer"
  20150. },
  20151. "usertype": {
  20152. "description": "用户类型 - 1:投资者 2:机构",
  20153. "type": "integer"
  20154. },
  20155. "videourl": {
  20156. "description": "视频地址",
  20157. "type": "string"
  20158. },
  20159. "wechat": {
  20160. "description": "微信号 (加密存储)",
  20161. "type": "string"
  20162. }
  20163. }
  20164. },
  20165. "erms3.CustomerInfo": {
  20166. "type": "object",
  20167. "required": [
  20168. "userid"
  20169. ],
  20170. "properties": {
  20171. "accountids": {
  20172. "description": "资金账户ID列表",
  20173. "type": "array",
  20174. "items": {
  20175. "type": "integer"
  20176. }
  20177. },
  20178. "customername": {
  20179. "description": "名称(企业名称)",
  20180. "type": "string"
  20181. },
  20182. "mobile": {
  20183. "description": "手机号码",
  20184. "type": "string"
  20185. },
  20186. "userid": {
  20187. "description": "用户ID",
  20188. "type": "integer"
  20189. }
  20190. }
  20191. },
  20192. "erms3.ModifyUserInfoApplyReq": {
  20193. "type": "object",
  20194. "required": [
  20195. "userid"
  20196. ],
  20197. "properties": {
  20198. "accountid": {
  20199. "description": "交易系统帐号Id (加密存储)",
  20200. "type": "integer"
  20201. },
  20202. "areacode": {
  20203. "description": "机构代码",
  20204. "type": "string"
  20205. },
  20206. "areaid": {
  20207. "description": "机构Id",
  20208. "type": "integer"
  20209. },
  20210. "attachment1": {
  20211. "description": "附件1",
  20212. "type": "string"
  20213. },
  20214. "attachment2": {
  20215. "description": "附件2",
  20216. "type": "string"
  20217. },
  20218. "attachment3": {
  20219. "description": "附件3",
  20220. "type": "string"
  20221. },
  20222. "attachment4": {
  20223. "description": "附件4",
  20224. "type": "string"
  20225. },
  20226. "attachment5": {
  20227. "description": "附件5",
  20228. "type": "string"
  20229. },
  20230. "auditedby": {
  20231. "description": "审核人",
  20232. "type": "string"
  20233. },
  20234. "auditime": {
  20235. "description": "审核时间",
  20236. "type": "string"
  20237. },
  20238. "auditsrc": {
  20239. "description": "审核来源 - 1:管理端 2:终端",
  20240. "type": "integer"
  20241. },
  20242. "bankaccount": {
  20243. "description": "银行帐号 (加密存储)",
  20244. "type": "string"
  20245. },
  20246. "bankaccountname": {
  20247. "description": "收款人名称",
  20248. "type": "string"
  20249. },
  20250. "bankcardbackphotourl": {
  20251. "description": "银行卡背面照地址",
  20252. "type": "string"
  20253. },
  20254. "bankcardfrontphotourl": {
  20255. "description": "银行卡正面照地址",
  20256. "type": "string"
  20257. },
  20258. "bankid": {
  20259. "description": "银行编码",
  20260. "type": "string"
  20261. },
  20262. "bankname": {
  20263. "description": "银行名称",
  20264. "type": "string"
  20265. },
  20266. "bankpictureurl": {
  20267. "description": "银行卡正面地址",
  20268. "type": "string"
  20269. },
  20270. "biznature": {
  20271. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20272. "type": "integer"
  20273. },
  20274. "bizscope": {
  20275. "description": "企业经营范围(企业)",
  20276. "type": "string"
  20277. },
  20278. "biztype": {
  20279. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20280. "type": "integer"
  20281. },
  20282. "brokerid": {
  20283. "description": "经纪人ID(加密存储)",
  20284. "type": "string"
  20285. },
  20286. "cardaddress": {
  20287. "description": "证件地址 (加密存储)",
  20288. "type": "string"
  20289. },
  20290. "cardbackphotourl": {
  20291. "description": "背面证件照地址",
  20292. "type": "string"
  20293. },
  20294. "cardfrontphotourl": {
  20295. "description": "正面证件照地址",
  20296. "type": "string"
  20297. },
  20298. "cardnum": {
  20299. "description": "证件号码 (加密存储)",
  20300. "type": "string"
  20301. },
  20302. "cardtype": {
  20303. "description": "证件类型",
  20304. "type": "integer"
  20305. },
  20306. "cityid": {
  20307. "description": "市",
  20308. "type": "integer"
  20309. },
  20310. "company": {
  20311. "description": "公司(个人)",
  20312. "type": "string"
  20313. },
  20314. "contactcardbackphotourl": {
  20315. "description": "联系人证件背面图片地址",
  20316. "type": "string"
  20317. },
  20318. "contactcardfrontphotourl": {
  20319. "description": "联系人证件正面图片地址",
  20320. "type": "string"
  20321. },
  20322. "contactname": {
  20323. "description": "联系人",
  20324. "type": "string"
  20325. },
  20326. "countryid": {
  20327. "description": "国家",
  20328. "type": "integer"
  20329. },
  20330. "createtime": {
  20331. "description": "开户申请时间",
  20332. "type": "string"
  20333. },
  20334. "cusbankid": {
  20335. "description": "签约类型",
  20336. "type": "string"
  20337. },
  20338. "cusbankname": {
  20339. "description": "签约类型名称",
  20340. "type": "string"
  20341. },
  20342. "customername": {
  20343. "description": "客户名称(企业名称)",
  20344. "type": "string"
  20345. },
  20346. "districtid": {
  20347. "description": "地区",
  20348. "type": "integer"
  20349. },
  20350. "email": {
  20351. "description": "Email地址(加密存储)",
  20352. "type": "string"
  20353. },
  20354. "halfbodyphotourl": {
  20355. "description": "半身照地址",
  20356. "type": "string"
  20357. },
  20358. "headurl": {
  20359. "description": "头像地址",
  20360. "type": "string"
  20361. },
  20362. "ipaddress": {
  20363. "description": "IP地址",
  20364. "type": "string"
  20365. },
  20366. "isvalidate": {
  20367. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20368. "type": "string"
  20369. },
  20370. "legalcardbackphotourl": {
  20371. "description": "法人身份证背面照地址",
  20372. "type": "string"
  20373. },
  20374. "legalcardfrontphotourl": {
  20375. "description": "法人身份证正面照地址",
  20376. "type": "string"
  20377. },
  20378. "legalpersonname": {
  20379. "description": "法人姓名(企业)",
  20380. "type": "string"
  20381. },
  20382. "logincode": {
  20383. "description": "登录帐号 (加密存储)",
  20384. "type": "string"
  20385. },
  20386. "memberareaid": {
  20387. "description": "所属会员ID",
  20388. "type": "integer"
  20389. },
  20390. "mobile2": {
  20391. "description": "手机号码[明文-尚志]",
  20392. "type": "string"
  20393. },
  20394. "mobilephone": {
  20395. "description": "手机号码 (加密存储)",
  20396. "type": "string"
  20397. },
  20398. "modifiedby": {
  20399. "description": "修改人帐号",
  20400. "type": "integer"
  20401. },
  20402. "modifiedtime": {
  20403. "description": "修改时间",
  20404. "type": "string"
  20405. },
  20406. "nickname": {
  20407. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20408. "type": "string"
  20409. },
  20410. "openmode": {
  20411. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20412. "type": "integer"
  20413. },
  20414. "otherurl": {
  20415. "description": "其它图片地址[使用分号分隔]",
  20416. "type": "string"
  20417. },
  20418. "postalcode": {
  20419. "description": "邮政编码",
  20420. "type": "string"
  20421. },
  20422. "provinceid": {
  20423. "description": "省",
  20424. "type": "integer"
  20425. },
  20426. "proxystatementurl": {
  20427. "description": "授权委托书",
  20428. "type": "string"
  20429. },
  20430. "qq": {
  20431. "description": "QQ(加密存储",
  20432. "type": "string"
  20433. },
  20434. "referral": {
  20435. "description": "推荐人编码",
  20436. "type": "string"
  20437. },
  20438. "remark": {
  20439. "description": "备注",
  20440. "type": "string"
  20441. },
  20442. "removebeforestatus": {
  20443. "description": "REMOVEBEFORESTATUS",
  20444. "type": "integer"
  20445. },
  20446. "sex": {
  20447. "description": "性别 - 0:女 1:男",
  20448. "type": "integer"
  20449. },
  20450. "signedstatus": {
  20451. "description": "账户一号签签约状态",
  20452. "type": "integer"
  20453. },
  20454. "signpdfurl": {
  20455. "description": "签约pdf文件",
  20456. "type": "string"
  20457. },
  20458. "subbranch": {
  20459. "description": "开户支行",
  20460. "type": "string"
  20461. },
  20462. "taxpayernum": {
  20463. "description": "纳税人识别号",
  20464. "type": "string"
  20465. },
  20466. "telphone": {
  20467. "description": "联系电话(加密存储)",
  20468. "type": "string"
  20469. },
  20470. "userid": {
  20471. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20472. "type": "integer"
  20473. },
  20474. "userinfotype": {
  20475. "description": "用户信息类型 - 1:个人 2:企业",
  20476. "type": "integer"
  20477. },
  20478. "username": {
  20479. "description": "用户姓名",
  20480. "type": "string"
  20481. },
  20482. "userstate": {
  20483. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20484. "type": "integer"
  20485. },
  20486. "usertype": {
  20487. "description": "用户类型 - 1:投资者 2:机构",
  20488. "type": "integer"
  20489. },
  20490. "videourl": {
  20491. "description": "视频地址",
  20492. "type": "string"
  20493. },
  20494. "wechat": {
  20495. "description": "微信号 (加密存储)",
  20496. "type": "string"
  20497. }
  20498. }
  20499. },
  20500. "erms3.QryAuditContractRsp": {
  20501. "type": "object",
  20502. "required": [
  20503. "matchcustomername",
  20504. "spotcontractid"
  20505. ],
  20506. "properties": {
  20507. "accountid": {
  20508. "description": "交易员ID",
  20509. "type": "string"
  20510. },
  20511. "applystatus": {
  20512. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20513. "type": "integer"
  20514. },
  20515. "curdeliveryqty": {
  20516. "description": "未交收量",
  20517. "type": "integer"
  20518. },
  20519. "customername": {
  20520. "description": "采购方ID",
  20521. "type": "string"
  20522. },
  20523. "deliverygoodsid": {
  20524. "description": "品种ID",
  20525. "type": "string"
  20526. },
  20527. "deliveryqty": {
  20528. "description": "交收量",
  20529. "type": "integer"
  20530. },
  20531. "enumdicname": {
  20532. "description": "单位名称",
  20533. "type": "string"
  20534. },
  20535. "matchaccountid": {
  20536. "description": "业务员ID",
  20537. "type": "string"
  20538. },
  20539. "matchcustomername": {
  20540. "description": "销售方ID",
  20541. "type": "string"
  20542. },
  20543. "pricedqty": {
  20544. "description": "定价量",
  20545. "type": "number"
  20546. },
  20547. "signdate": {
  20548. "description": "签订日期",
  20549. "type": "string"
  20550. },
  20551. "spotcontractid": {
  20552. "description": "合同ID",
  20553. "type": "string"
  20554. },
  20555. "totaldqty": {
  20556. "description": "合同量",
  20557. "type": "number"
  20558. },
  20559. "unpricedqty": {
  20560. "description": "未定价量",
  20561. "type": "number"
  20562. },
  20563. "wrstandardname": {
  20564. "description": "商品名称",
  20565. "type": "string"
  20566. }
  20567. }
  20568. },
  20569. "erms3.QryPendingBizRsp": {
  20570. "type": "object",
  20571. "properties": {
  20572. "accountid": {
  20573. "description": "现货账户",
  20574. "type": "string"
  20575. },
  20576. "areaname": {
  20577. "description": "所属部门",
  20578. "type": "string"
  20579. },
  20580. "bizid": {
  20581. "description": "业务ID",
  20582. "type": "string"
  20583. },
  20584. "bizname": {
  20585. "description": "业务名称",
  20586. "type": "string"
  20587. },
  20588. "status": {
  20589. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20590. "type": "integer"
  20591. },
  20592. "type": {
  20593. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20594. "type": "integer"
  20595. }
  20596. }
  20597. },
  20598. "erms3.QueryBusinessInfoRsp": {
  20599. "type": "object",
  20600. "properties": {
  20601. "businessid": {
  20602. "description": "业务ID.",
  20603. "type": "integer"
  20604. },
  20605. "buyamount": {
  20606. "description": "采购额.",
  20607. "type": "number"
  20608. },
  20609. "buyqty": {
  20610. "description": "采购量.",
  20611. "type": "string"
  20612. },
  20613. "futurepl": {
  20614. "description": "期货盈亏.",
  20615. "type": "number"
  20616. },
  20617. "futureqty": {
  20618. "description": "期货敞口.",
  20619. "type": "string"
  20620. },
  20621. "goodsid": {
  20622. "description": "商品名称/商品代码.",
  20623. "type": "string"
  20624. },
  20625. "hedgingqty": {
  20626. "description": "套保量.",
  20627. "type": "string"
  20628. },
  20629. "sellamount": {
  20630. "description": "销售额.",
  20631. "type": "number"
  20632. },
  20633. "sellqty": {
  20634. "description": "销售量.",
  20635. "type": "string"
  20636. },
  20637. "spotmarketvalue": {
  20638. "description": "现货市值.",
  20639. "type": "number"
  20640. },
  20641. "spotpl": {
  20642. "description": "浮动权益.",
  20643. "type": "number"
  20644. },
  20645. "spotqty": {
  20646. "description": "现货量.",
  20647. "type": "string"
  20648. },
  20649. "statu": {
  20650. "description": "状态,0-未结束 1-已结束.",
  20651. "type": "integer"
  20652. },
  20653. "totalpl": {
  20654. "description": "总盈亏.",
  20655. "type": "number"
  20656. },
  20657. "totalqty": {
  20658. "description": "总敞口.",
  20659. "type": "string"
  20660. },
  20661. "type": {
  20662. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20663. "type": "integer"
  20664. }
  20665. }
  20666. },
  20667. "erms3.QuerySpotContractAppleFormRsp": {
  20668. "type": "object",
  20669. "properties": {
  20670. "goodses": {
  20671. "description": "合约列表",
  20672. "type": "array",
  20673. "items": {
  20674. "$ref": "#/definitions/models.GoodsIDAndName"
  20675. }
  20676. },
  20677. "oppositeusers": {
  20678. "description": "对方账号列表",
  20679. "type": "array",
  20680. "items": {
  20681. "$ref": "#/definitions/erms3.CustomerInfo"
  20682. }
  20683. },
  20684. "ouruser": {
  20685. "description": "我方账号",
  20686. "$ref": "#/definitions/erms3.CustomerInfo"
  20687. },
  20688. "warehouseinfos": {
  20689. "description": "仓库信息列表",
  20690. "type": "array",
  20691. "items": {
  20692. "$ref": "#/definitions/models.Warehouseinfo"
  20693. }
  20694. },
  20695. "wrstandards": {
  20696. "description": "仓单标准列表",
  20697. "type": "array",
  20698. "items": {
  20699. "$ref": "#/definitions/models.WRStandardInfo"
  20700. }
  20701. }
  20702. }
  20703. },
  20704. "erms3.QuerySpotContractInfoRsp": {
  20705. "type": "object",
  20706. "properties": {
  20707. "accountid": {
  20708. "description": "表示交易员ID.",
  20709. "type": "integer"
  20710. },
  20711. "curdeliveryqty": {
  20712. "description": "表示未交收量.",
  20713. "type": "number"
  20714. },
  20715. "customername": {
  20716. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20717. "type": "string"
  20718. },
  20719. "deliverygoodsid": {
  20720. "description": "表示品种ID.",
  20721. "type": "string"
  20722. },
  20723. "deliveryqty": {
  20724. "description": "表示交收量.",
  20725. "type": "number"
  20726. },
  20727. "matchaccountid": {
  20728. "description": "表示业务员ID.",
  20729. "type": "integer"
  20730. },
  20731. "matchcustomername": {
  20732. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20733. "type": "string"
  20734. },
  20735. "priceqty": {
  20736. "description": "表示定价量.",
  20737. "type": "number"
  20738. },
  20739. "relatedbizid": {
  20740. "description": "表示业务ID.",
  20741. "type": "string"
  20742. },
  20743. "signdate": {
  20744. "description": "表示签订日期.",
  20745. "type": "string"
  20746. },
  20747. "spotcontractid": {
  20748. "description": "合同ID",
  20749. "type": "string"
  20750. },
  20751. "status": {
  20752. "description": "表示状态,0-履约中 1-已完成.",
  20753. "type": "integer"
  20754. },
  20755. "totalqty": {
  20756. "description": "表示合同量.",
  20757. "type": "number"
  20758. },
  20759. "unpricedqty": {
  20760. "description": "表示未定价量.",
  20761. "type": "number"
  20762. },
  20763. "wrstandardname": {
  20764. "description": "表示商品ID.",
  20765. "type": "string"
  20766. }
  20767. }
  20768. },
  20769. "erms3.QueryUserInfoAppliesRsp": {
  20770. "type": "object",
  20771. "required": [
  20772. "userid"
  20773. ],
  20774. "properties": {
  20775. "biznature": {
  20776. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20777. "type": "integer"
  20778. },
  20779. "contactname": {
  20780. "description": "联系人",
  20781. "type": "string"
  20782. },
  20783. "createtime": {
  20784. "description": "开户申请时间",
  20785. "type": "string"
  20786. },
  20787. "userid": {
  20788. "description": "用户ID(自增ID)",
  20789. "type": "integer"
  20790. },
  20791. "userinfotype": {
  20792. "description": "用户信息类型 - 1:个人 2:企业",
  20793. "type": "integer"
  20794. },
  20795. "username": {
  20796. "description": "用户姓名",
  20797. "type": "string"
  20798. },
  20799. "userstate": {
  20800. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20801. "type": "integer"
  20802. }
  20803. }
  20804. },
  20805. "erms3.QueryUserInfosRsp": {
  20806. "type": "object",
  20807. "required": [
  20808. "userid"
  20809. ],
  20810. "properties": {
  20811. "biznature": {
  20812. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20813. "type": "integer"
  20814. },
  20815. "contactname": {
  20816. "description": "联系人",
  20817. "type": "string"
  20818. },
  20819. "customername": {
  20820. "description": "客户名称(企业名称)",
  20821. "type": "string"
  20822. },
  20823. "userid": {
  20824. "description": "用户ID",
  20825. "type": "integer"
  20826. },
  20827. "userinfotype": {
  20828. "description": "用户信息类型 - 1:个人 2:企业",
  20829. "type": "integer"
  20830. },
  20831. "userstatus": {
  20832. "description": "用户状态 - 1:正常 2:注销",
  20833. "type": "integer"
  20834. }
  20835. }
  20836. },
  20837. "erms3.SoptContractDetail": {
  20838. "type": "object",
  20839. "required": [
  20840. "deliverygoodsid",
  20841. "producttype",
  20842. "unitname",
  20843. "warehouseid",
  20844. "wrstandardid",
  20845. "wrstandardname"
  20846. ],
  20847. "properties": {
  20848. "deliverygoodsdesc": {
  20849. "description": "现货品种说明",
  20850. "type": "string"
  20851. },
  20852. "deliverygoodsid": {
  20853. "description": "现货品种ID",
  20854. "type": "integer"
  20855. },
  20856. "deliverygoodsname": {
  20857. "description": "现货品种名称",
  20858. "type": "string"
  20859. },
  20860. "pointdesc": {
  20861. "description": "点价描述",
  20862. "type": "string"
  20863. },
  20864. "producttype": {
  20865. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20866. "type": "integer"
  20867. },
  20868. "producttypename": {
  20869. "description": "产品类型名称",
  20870. "type": "string"
  20871. },
  20872. "spotPointOrderVoList": {
  20873. "description": "点价列表",
  20874. "type": "array",
  20875. "items": {
  20876. "$ref": "#/definitions/erms3.SpotPointOrder"
  20877. }
  20878. },
  20879. "spotPriceOrderList": {
  20880. "description": "定价列表",
  20881. "type": "array",
  20882. "items": {
  20883. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20884. }
  20885. },
  20886. "unitname": {
  20887. "description": "单位名称",
  20888. "type": "string"
  20889. },
  20890. "warehouseid": {
  20891. "description": "仓库ID",
  20892. "type": "integer"
  20893. },
  20894. "warehousename": {
  20895. "description": "仓库名称",
  20896. "type": "string"
  20897. },
  20898. "wrstandardid": {
  20899. "description": "交易标的ID",
  20900. "type": "integer"
  20901. },
  20902. "wrstandardname": {
  20903. "description": "交易标的名称",
  20904. "type": "string"
  20905. }
  20906. }
  20907. },
  20908. "erms3.SpotPointOrder": {
  20909. "type": "object",
  20910. "required": [
  20911. "basic",
  20912. "goodsid",
  20913. "qty"
  20914. ],
  20915. "properties": {
  20916. "basic": {
  20917. "description": "基差",
  20918. "type": "number"
  20919. },
  20920. "deliveryenddate": {
  20921. "description": "交收结束日期",
  20922. "type": "string"
  20923. },
  20924. "deliverystartdate": {
  20925. "description": "交收开始日期",
  20926. "type": "string"
  20927. },
  20928. "enddate": {
  20929. "description": "点价结束日期",
  20930. "type": "string"
  20931. },
  20932. "goodsid": {
  20933. "description": "商品ID",
  20934. "type": "integer"
  20935. },
  20936. "goodsname": {
  20937. "description": "商品名称",
  20938. "type": "string"
  20939. },
  20940. "qty": {
  20941. "description": "数量",
  20942. "type": "number"
  20943. },
  20944. "startdate": {
  20945. "description": "点价开始日期",
  20946. "type": "string"
  20947. }
  20948. }
  20949. },
  20950. "erms3.SpotPriceOrder": {
  20951. "type": "object",
  20952. "required": [
  20953. "amount",
  20954. "price",
  20955. "qty"
  20956. ],
  20957. "properties": {
  20958. "amount": {
  20959. "description": "金额",
  20960. "type": "number"
  20961. },
  20962. "deliveryenddate": {
  20963. "description": "交收结束日期",
  20964. "type": "string"
  20965. },
  20966. "deliverystartdate": {
  20967. "description": "交收开始日期",
  20968. "type": "string"
  20969. },
  20970. "price": {
  20971. "description": "价格",
  20972. "type": "number"
  20973. },
  20974. "qty": {
  20975. "description": "数量",
  20976. "type": "number"
  20977. }
  20978. }
  20979. },
  20980. "models.Arearole": {
  20981. "type": "object",
  20982. "required": [
  20983. "roletype",
  20984. "userid"
  20985. ],
  20986. "properties": {
  20987. "createtime": {
  20988. "description": "创建时间",
  20989. "type": "string"
  20990. },
  20991. "creatorid": {
  20992. "description": "创建人ID",
  20993. "type": "integer"
  20994. },
  20995. "fromuserid": {
  20996. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20997. "type": "integer"
  20998. },
  20999. "isreturnscore": {
  21000. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21001. "type": "integer"
  21002. },
  21003. "modifierid": {
  21004. "description": "修改人ID",
  21005. "type": "integer"
  21006. },
  21007. "modifytime": {
  21008. "description": "修改时间",
  21009. "type": "string"
  21010. },
  21011. "orgtype": {
  21012. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21013. "type": "integer"
  21014. },
  21015. "outuserid": {
  21016. "description": "外部账户[场外期权做市商]",
  21017. "type": "string"
  21018. },
  21019. "parentuserid": {
  21020. "description": "上级组织机构(组织机构)",
  21021. "type": "integer"
  21022. },
  21023. "roletype": {
  21024. "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:门店",
  21025. "type": "integer"
  21026. },
  21027. "rootuserid": {
  21028. "description": "顶级组织机构用户ID(组织机构)",
  21029. "type": "integer"
  21030. },
  21031. "shoppassword": {
  21032. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21033. "type": "string"
  21034. },
  21035. "sublevelpath": {
  21036. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21037. "type": "string"
  21038. },
  21039. "suborgtype": {
  21040. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21041. "type": "integer"
  21042. },
  21043. "tradeaccountid": {
  21044. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21045. "type": "integer"
  21046. },
  21047. "transurl": {
  21048. "description": "物流地址(物流机构)",
  21049. "type": "string"
  21050. },
  21051. "userid": {
  21052. "description": "机构用户ID其他做市关系,都设置为 1",
  21053. "type": "integer"
  21054. }
  21055. }
  21056. },
  21057. "models.BuyOrder": {
  21058. "type": "object",
  21059. "properties": {
  21060. "accountid": {
  21061. "description": "资金账户ID",
  21062. "type": "integer"
  21063. },
  21064. "buyusername": {
  21065. "description": "买方",
  21066. "type": "string"
  21067. },
  21068. "marketid": {
  21069. "description": "市场ID",
  21070. "type": "integer"
  21071. },
  21072. "ordertime": {
  21073. "description": "委托时间",
  21074. "type": "string"
  21075. },
  21076. "origin": {
  21077. "description": "原产地",
  21078. "type": "string"
  21079. },
  21080. "remark": {
  21081. "description": "备注",
  21082. "type": "string"
  21083. },
  21084. "userid": {
  21085. "description": "用户ID",
  21086. "type": "integer"
  21087. },
  21088. "validtime": {
  21089. "description": "有效期限",
  21090. "type": "string"
  21091. },
  21092. "warehouseids": {
  21093. "description": "仓库ID - 多个, 逗号分隔",
  21094. "type": "string"
  21095. },
  21096. "warehouseinfosdisplay": {
  21097. "type": "string"
  21098. },
  21099. "wrtradeorderid": {
  21100. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21101. "type": "string"
  21102. },
  21103. "wrtradeorderstatus": {
  21104. "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、",
  21105. "type": "integer"
  21106. },
  21107. "zscategory": {
  21108. "description": "钻石分类 - 枚举”ZSCategory“",
  21109. "type": "integer"
  21110. },
  21111. "zscategorydisplay": {
  21112. "type": "string"
  21113. },
  21114. "zsclaritytype": {
  21115. "description": "净度 - 两个, 逗号分隔",
  21116. "type": "string"
  21117. },
  21118. "zsclaritytypedisplay": {
  21119. "type": "string"
  21120. },
  21121. "zscolortype": {
  21122. "description": "颜色 - 两个, 逗号分隔",
  21123. "type": "string"
  21124. },
  21125. "zscolortypedisplay": {
  21126. "type": "string"
  21127. },
  21128. "zscrystaltype": {
  21129. "description": "晶型 - 多个,逗号分隔",
  21130. "type": "string"
  21131. },
  21132. "zscrystaltypedisplay": {
  21133. "type": "string"
  21134. },
  21135. "zscurrencytype": {
  21136. "description": "货币类型 - 多个, 逗号分隔",
  21137. "type": "string"
  21138. },
  21139. "zscurrencytypedisplay": {
  21140. "type": "string"
  21141. },
  21142. "zscuttype": {
  21143. "description": "切工 - 两个, 逗号分隔",
  21144. "type": "string"
  21145. },
  21146. "zscuttypedisplay": {
  21147. "type": "string"
  21148. },
  21149. "zsczcolor1type": {
  21150. "description": "彩钻颜色1, 逗号分隔",
  21151. "type": "string"
  21152. },
  21153. "zsczcolor1typedisplay": {
  21154. "type": "string"
  21155. },
  21156. "zsczcolor2type": {
  21157. "description": "彩钻颜色2, 逗号分隔",
  21158. "type": "string"
  21159. },
  21160. "zsczcolor2typedisplay": {
  21161. "type": "string"
  21162. },
  21163. "zsczcolor3type": {
  21164. "description": "彩钻颜色3, 逗号分隔",
  21165. "type": "string"
  21166. },
  21167. "zsczcolor3typedisplay": {
  21168. "type": "string"
  21169. },
  21170. "zsfluorescencetype": {
  21171. "description": "荧光 - 多个, 逗号分隔",
  21172. "type": "string"
  21173. },
  21174. "zsfluorescencetypedisplay": {
  21175. "type": "string"
  21176. },
  21177. "zspolishtype": {
  21178. "description": "抛光度 - 两个, 逗号分隔",
  21179. "type": "string"
  21180. },
  21181. "zspolishtypedisplay": {
  21182. "type": "string"
  21183. },
  21184. "zsshapetype": {
  21185. "description": "形状 - 多个, 逗号分隔",
  21186. "type": "string"
  21187. },
  21188. "zsshapetypedisplay": {
  21189. "type": "string"
  21190. },
  21191. "zssize": {
  21192. "description": "尺寸 - 两个小数, 逗号分隔",
  21193. "type": "string"
  21194. },
  21195. "zsstyletype": {
  21196. "description": "款式 - 多个, 逗号分隔",
  21197. "type": "string"
  21198. },
  21199. "zsstyletypedisplay": {
  21200. "type": "string"
  21201. },
  21202. "zssymmetrytype": {
  21203. "description": "对称度 - 两个, 逗号分隔",
  21204. "type": "string"
  21205. },
  21206. "zssymmetrytypedisplay": {
  21207. "type": "string"
  21208. },
  21209. "zstabledisplay": {
  21210. "description": "求购信息",
  21211. "type": "string"
  21212. }
  21213. }
  21214. },
  21215. "models.DgFactoryItem": {
  21216. "type": "object",
  21217. "properties": {
  21218. "dgfactoryitemid": {
  21219. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21220. "type": "integer"
  21221. },
  21222. "dgfactoryitemtypeid": {
  21223. "description": "要素项类型",
  21224. "type": "integer"
  21225. },
  21226. "dgfactoryitemvalue": {
  21227. "description": "要素项值(类型为仓库时填写仓库名称)",
  21228. "type": "string"
  21229. },
  21230. "orderindex": {
  21231. "description": "顺序",
  21232. "type": "integer"
  21233. }
  21234. }
  21235. },
  21236. "models.Division": {
  21237. "type": "object",
  21238. "required": [
  21239. "autoid",
  21240. "divisioncode"
  21241. ],
  21242. "properties": {
  21243. "autoid": {
  21244. "description": "自增ID",
  21245. "type": "integer"
  21246. },
  21247. "divisioncode": {
  21248. "description": "行政代码",
  21249. "type": "string"
  21250. },
  21251. "divisionlevel": {
  21252. "description": "行政级别",
  21253. "type": "string"
  21254. },
  21255. "divisionname": {
  21256. "description": "行政名称",
  21257. "type": "string"
  21258. },
  21259. "modifierid": {
  21260. "description": "修改人",
  21261. "type": "integer"
  21262. },
  21263. "modifytime": {
  21264. "description": "修改时间",
  21265. "type": "string"
  21266. },
  21267. "parentcode": {
  21268. "description": "上级行政代码",
  21269. "type": "string"
  21270. },
  21271. "pathname": {
  21272. "description": "路径名称",
  21273. "type": "string"
  21274. },
  21275. "postcode": {
  21276. "description": "邮政编码",
  21277. "type": "string"
  21278. },
  21279. "separablename": {
  21280. "description": "可拆分的全称",
  21281. "type": "string"
  21282. },
  21283. "shortcode": {
  21284. "description": "地区简码",
  21285. "type": "string"
  21286. }
  21287. }
  21288. },
  21289. "models.Enumdicitem": {
  21290. "type": "object",
  21291. "required": [
  21292. "autoid",
  21293. "enumdiccode",
  21294. "enumdicid",
  21295. "enumitemname"
  21296. ],
  21297. "properties": {
  21298. "autoid": {
  21299. "description": "自增ID",
  21300. "type": "integer"
  21301. },
  21302. "bankmappedvalue": {
  21303. "description": "银行服务对应值",
  21304. "type": "string"
  21305. },
  21306. "enumdiccode": {
  21307. "description": "所属枚举代码",
  21308. "type": "string"
  21309. },
  21310. "enumdicid": {
  21311. "description": "所属枚举ID",
  21312. "type": "integer"
  21313. },
  21314. "enumdicname": {
  21315. "description": "枚举项名称",
  21316. "type": "string"
  21317. },
  21318. "enumitemname": {
  21319. "description": "枚举项值",
  21320. "type": "integer"
  21321. },
  21322. "enumitemstatus": {
  21323. "description": "枚举项状态 - 1.启用 2.不启用",
  21324. "type": "integer"
  21325. },
  21326. "enumitemvalue": {
  21327. "description": "通用值 - [币种通用简写]",
  21328. "type": "string"
  21329. },
  21330. "param1": {
  21331. "description": "参数1[币种:币种小数位]",
  21332. "type": "string"
  21333. },
  21334. "param2": {
  21335. "description": "参数1[币种:币种显示单位]",
  21336. "type": "string"
  21337. },
  21338. "remark": {
  21339. "description": "备注",
  21340. "type": "string"
  21341. }
  21342. }
  21343. },
  21344. "models.Ermcp2AreaExposure": {
  21345. "type": "object",
  21346. "properties": {
  21347. "areauserid": {
  21348. "description": "所属机构",
  21349. "type": "integer"
  21350. },
  21351. "enumdicname": {
  21352. "description": "单位",
  21353. "type": "string"
  21354. },
  21355. "futureqty": {
  21356. "description": "期货套期量",
  21357. "type": "number"
  21358. },
  21359. "futureqtychange": {
  21360. "description": "期货变动量 = FutureQty - OriFutureQty",
  21361. "type": "number"
  21362. },
  21363. "goodsunitid": {
  21364. "description": "单位ID",
  21365. "type": "integer"
  21366. },
  21367. "hedgedspotexposure": {
  21368. "description": "被套期现货敞口量",
  21369. "type": "number"
  21370. },
  21371. "hedgedspratio": {
  21372. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21373. "type": "number"
  21374. },
  21375. "hedgedtotalexposourechange": {
  21376. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21377. "type": "number"
  21378. },
  21379. "hedgedtotalexposure": {
  21380. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21381. "type": "number"
  21382. },
  21383. "hedgeplanqty": {
  21384. "description": "套期计划量",
  21385. "type": "number"
  21386. },
  21387. "hedgeplanqtychange": {
  21388. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21389. "type": "number"
  21390. },
  21391. "hedgespotqty": {
  21392. "description": "被套期现货量",
  21393. "type": "number"
  21394. },
  21395. "middlegoodsid": {
  21396. "description": "套保品种",
  21397. "type": "integer"
  21398. },
  21399. "middlegoodsname": {
  21400. "description": "套保品种名称",
  21401. "type": "string"
  21402. },
  21403. "orifutureqty": {
  21404. "description": "期初期货套期量",
  21405. "type": "number"
  21406. },
  21407. "orihedgedspotexposure": {
  21408. "description": "期初被套期现货敞口量",
  21409. "type": "number"
  21410. },
  21411. "orihedgedtotalexposure": {
  21412. "description": "期初套期敞口量",
  21413. "type": "number"
  21414. },
  21415. "orihedgeplanqty": {
  21416. "description": "期初套期计划量",
  21417. "type": "number"
  21418. },
  21419. "orihedgespotqty": {
  21420. "description": "期初被套期现货量",
  21421. "type": "number"
  21422. },
  21423. "orispotexposure": {
  21424. "description": "期初现货敞口量",
  21425. "type": "number"
  21426. },
  21427. "orispotqty": {
  21428. "description": "期初现货总量",
  21429. "type": "number"
  21430. },
  21431. "oritotalexposure": {
  21432. "description": "期初总敞口量",
  21433. "type": "number"
  21434. },
  21435. "spotexposure": {
  21436. "description": "现货敞口量",
  21437. "type": "number"
  21438. },
  21439. "spotqty": {
  21440. "description": "现货总量",
  21441. "type": "number"
  21442. },
  21443. "spotqtychange": {
  21444. "description": "现货变动量 = SpotQty - OriSpotQty",
  21445. "type": "number"
  21446. },
  21447. "spratio": {
  21448. "description": "总期现比例 = 期货套期量/现货敞口量",
  21449. "type": "number"
  21450. },
  21451. "totalexposure": {
  21452. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21453. "type": "number"
  21454. },
  21455. "totalexposurechange": {
  21456. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21457. "type": "number"
  21458. },
  21459. "updatetime": {
  21460. "description": "更新时间 --DATE",
  21461. "type": "string"
  21462. }
  21463. }
  21464. },
  21465. "models.Ermcp2hedgeditem": {
  21466. "type": "object",
  21467. "properties": {
  21468. "accountname": {
  21469. "description": "套期主体",
  21470. "type": "string"
  21471. },
  21472. "applyid": {
  21473. "description": "申请人",
  21474. "type": "integer"
  21475. },
  21476. "applysrc": {
  21477. "description": "申请来源 - 1:管理端 2:终端",
  21478. "type": "integer"
  21479. },
  21480. "areauserid": {
  21481. "description": "企业ID",
  21482. "type": "integer"
  21483. },
  21484. "auditid": {
  21485. "description": "审核人",
  21486. "type": "integer"
  21487. },
  21488. "auditremark": {
  21489. "description": "审核备注",
  21490. "type": "string"
  21491. },
  21492. "auditsrc": {
  21493. "description": "审核来源 - 1:管理端 2:终端",
  21494. "type": "integer"
  21495. },
  21496. "audittime": {
  21497. "description": "审核时间",
  21498. "type": "string"
  21499. },
  21500. "audittradedate": {
  21501. "description": "审核交易日(yyyyMMdd)",
  21502. "type": "string"
  21503. },
  21504. "createtime": {
  21505. "description": "申请时间",
  21506. "type": "string"
  21507. },
  21508. "curprice": {
  21509. "description": "当前市场价",
  21510. "type": "number"
  21511. },
  21512. "curstock": {
  21513. "description": "期末库存量 = 采购总量 - 销售总量",
  21514. "type": "number"
  21515. },
  21516. "deliverygoodsid": {
  21517. "description": "现货品种ID",
  21518. "type": "integer"
  21519. },
  21520. "enddate": {
  21521. "description": "完成日期",
  21522. "type": "string"
  21523. },
  21524. "endtradedate": {
  21525. "description": "完成交易日",
  21526. "type": "string"
  21527. },
  21528. "enumdicname": {
  21529. "description": "单位",
  21530. "type": "string"
  21531. },
  21532. "exeamount": {
  21533. "description": "执行市价总额",
  21534. "type": "number"
  21535. },
  21536. "exeavgprice": {
  21537. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21538. "type": "number"
  21539. },
  21540. "execontractamount": {
  21541. "description": "执行定价总额",
  21542. "type": "number"
  21543. },
  21544. "exeqty": {
  21545. "description": "执行现货量",
  21546. "type": "number"
  21547. },
  21548. "exerestamount": {
  21549. "description": "执行剩余市价总额【现货贸易】",
  21550. "type": "number"
  21551. },
  21552. "futurefloatpl": {
  21553. "description": "期货浮动损益",
  21554. "type": "number"
  21555. },
  21556. "futurehedgepl": {
  21557. "description": "期货实际损益",
  21558. "type": "number"
  21559. },
  21560. "futurehedgeplchange": {
  21561. "description": "期货实际损益变动",
  21562. "type": "number"
  21563. },
  21564. "futurepl": {
  21565. "description": "期货套期损益",
  21566. "type": "number"
  21567. },
  21568. "futureplchange": {
  21569. "description": "期货套期损益变动",
  21570. "type": "number"
  21571. },
  21572. "hedgeamount": {
  21573. "description": "套期市价总额",
  21574. "type": "number"
  21575. },
  21576. "hedgecontractamount": {
  21577. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21578. "type": "number"
  21579. },
  21580. "hedgeditemid": {
  21581. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21582. "type": "string"
  21583. },
  21584. "hedgeditemname": {
  21585. "description": "项目名称",
  21586. "type": "string"
  21587. },
  21588. "hedgeditemnum": {
  21589. "description": "项目编号",
  21590. "type": "string"
  21591. },
  21592. "hedgeditemstatus": {
  21593. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21594. "type": "integer"
  21595. },
  21596. "hedgedtype": {
  21597. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21598. "type": "integer"
  21599. },
  21600. "hedgeqty": {
  21601. "description": "套期现货量",
  21602. "type": "number"
  21603. },
  21604. "hedgerate": {
  21605. "description": "套保比率",
  21606. "type": "number"
  21607. },
  21608. "hedgerestamount": {
  21609. "description": "套期剩余市价总额【现货贸易】",
  21610. "type": "number"
  21611. },
  21612. "hedgesumpl": {
  21613. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21614. "type": "number"
  21615. },
  21616. "middlegoodslist": {
  21617. "description": "套期商品列表",
  21618. "type": "array",
  21619. "items": {
  21620. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21621. }
  21622. },
  21623. "oriavgprice": {
  21624. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21625. "type": "number"
  21626. },
  21627. "orifuturehedgepl": {
  21628. "description": "期初期货实际损益",
  21629. "type": "number"
  21630. },
  21631. "orifuturepl": {
  21632. "description": "期初期货套期损益",
  21633. "type": "number"
  21634. },
  21635. "orispothedgepl": {
  21636. "description": "期初现货实际损益",
  21637. "type": "number"
  21638. },
  21639. "orispotpl": {
  21640. "description": "期初现货套期损益",
  21641. "type": "number"
  21642. },
  21643. "planenddate": {
  21644. "description": "计划结束日期",
  21645. "type": "string"
  21646. },
  21647. "planstartdate": {
  21648. "description": "计划开始日期",
  21649. "type": "string"
  21650. },
  21651. "remark": {
  21652. "description": "备注",
  21653. "type": "string"
  21654. },
  21655. "spotbookamount": {
  21656. "description": "现货账面总额",
  21657. "type": "number"
  21658. },
  21659. "spotfloatpl": {
  21660. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21661. "type": "number"
  21662. },
  21663. "spothedgepl": {
  21664. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21665. "type": "number"
  21666. },
  21667. "spothedgeplchange": {
  21668. "description": "现货实际损益变动",
  21669. "type": "number"
  21670. },
  21671. "spotpl": {
  21672. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21673. "type": "number"
  21674. },
  21675. "spotplchange": {
  21676. "description": "现货套期损益变动",
  21677. "type": "number"
  21678. },
  21679. "spottradepl": {
  21680. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21681. "type": "number"
  21682. },
  21683. "sumobspl": {
  21684. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21685. "type": "number"
  21686. },
  21687. "tradeuserid": {
  21688. "description": "交易用户ID",
  21689. "type": "integer"
  21690. },
  21691. "unexeqty": {
  21692. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21693. "type": "number"
  21694. },
  21695. "updatetime": {
  21696. "description": "更新时间",
  21697. "type": "string"
  21698. },
  21699. "vatpl": {
  21700. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21701. "type": "number"
  21702. },
  21703. "vatrate": {
  21704. "description": "增值税",
  21705. "type": "number"
  21706. },
  21707. "wrstandardid": {
  21708. "description": "现货商品ID",
  21709. "type": "integer"
  21710. },
  21711. "wrstandardname": {
  21712. "description": "商品名称",
  21713. "type": "string"
  21714. }
  21715. }
  21716. },
  21717. "models.Ermcp2hedgeditemlink": {
  21718. "type": "object",
  21719. "required": [
  21720. "relatedspotcontractid"
  21721. ],
  21722. "properties": {
  21723. "areauserid": {
  21724. "description": "企业ID",
  21725. "type": "integer"
  21726. },
  21727. "createtime": {
  21728. "description": "[关联时间]创建时间",
  21729. "type": "string"
  21730. },
  21731. "customeruserid": {
  21732. "description": "对手方 【3:采购合同 4:销售合同】",
  21733. "type": "integer"
  21734. },
  21735. "deliverygoodsid": {
  21736. "description": "现货品种ID",
  21737. "type": "integer"
  21738. },
  21739. "enumdicname": {
  21740. "description": "单位",
  21741. "type": "string"
  21742. },
  21743. "hedgeditemid": {
  21744. "description": "被套期项目ID",
  21745. "type": "integer"
  21746. },
  21747. "hedgeditemlinkid": {
  21748. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21749. "type": "integer"
  21750. },
  21751. "hedgeditemnum": {
  21752. "description": "项目编号",
  21753. "type": "string"
  21754. },
  21755. "hedgedtype": {
  21756. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21757. "type": "integer"
  21758. },
  21759. "relatedamount": {
  21760. "description": "市价总额 = 关联数量 * 期初市场价",
  21761. "type": "number"
  21762. },
  21763. "relatedhedgeplanid": {
  21764. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21765. "type": "integer"
  21766. },
  21767. "relatedqty": {
  21768. "description": "关联数量",
  21769. "type": "number"
  21770. },
  21771. "relatedspotcontractid": {
  21772. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21773. "type": "integer"
  21774. },
  21775. "relatedtype": {
  21776. "description": "关联类型 - 1:套期关联 2:执行关联",
  21777. "type": "integer"
  21778. },
  21779. "spotgoodsbrandid": {
  21780. "description": "现货品牌ID",
  21781. "type": "integer"
  21782. },
  21783. "spotpricedamount": {
  21784. "description": "[关联定价总额]定价总额",
  21785. "type": "number"
  21786. },
  21787. "spotpricedavgprice": {
  21788. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21789. "type": "number"
  21790. },
  21791. "spottype": {
  21792. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21793. "type": "integer"
  21794. },
  21795. "tradeuserid": {
  21796. "description": "交易用户ID",
  21797. "type": "integer"
  21798. },
  21799. "unexeqty": {
  21800. "description": "未执行现货量【项目关联时值】",
  21801. "type": "number"
  21802. },
  21803. "wrstandardid": {
  21804. "description": "现货商品ID",
  21805. "type": "integer"
  21806. },
  21807. "wrstandardname": {
  21808. "description": "现货商品",
  21809. "type": "string"
  21810. }
  21811. }
  21812. },
  21813. "models.Ermcp2hedgeditemsDetail": {
  21814. "type": "object",
  21815. "properties": {
  21816. "accountname": {
  21817. "description": "套期主体",
  21818. "type": "string"
  21819. },
  21820. "areauserid": {
  21821. "description": "企业ID",
  21822. "type": "integer"
  21823. },
  21824. "createtime": {
  21825. "description": "[日期时间]创建时间",
  21826. "type": "string"
  21827. },
  21828. "customeruserid": {
  21829. "description": "对手方 【3:采购合同 4:销售合同】",
  21830. "type": "integer"
  21831. },
  21832. "deliverygoodsid": {
  21833. "description": "现货品种ID",
  21834. "type": "integer"
  21835. },
  21836. "enumdicname": {
  21837. "description": "单位",
  21838. "type": "string"
  21839. },
  21840. "hedgeditemid": {
  21841. "description": "被套期项目ID",
  21842. "type": "string"
  21843. },
  21844. "hedgeditemspotid": {
  21845. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21846. "type": "string"
  21847. },
  21848. "hedgedtype": {
  21849. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21850. "type": "integer"
  21851. },
  21852. "hedgeplanno": {
  21853. "description": "计划编号",
  21854. "type": "string"
  21855. },
  21856. "middlegoodschange": {
  21857. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21858. "type": "number"
  21859. },
  21860. "oriavgprice": {
  21861. "description": "期初市场价[当初市场价]",
  21862. "type": "number"
  21863. },
  21864. "relatedamount": {
  21865. "description": "市价总额 = 关联数量 * 期初市场价",
  21866. "type": "number"
  21867. },
  21868. "relatedhedgeplanid": {
  21869. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21870. "type": "integer"
  21871. },
  21872. "relatedqty": {
  21873. "description": "[期间变化量]关联数量",
  21874. "type": "number"
  21875. },
  21876. "relatedspotcontractid": {
  21877. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21878. "type": "integer"
  21879. },
  21880. "relatedtype": {
  21881. "description": "关联类型 - 1:套期关联 2:执行关联",
  21882. "type": "integer"
  21883. },
  21884. "spotgoodsbrandid": {
  21885. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21886. "type": "integer"
  21887. },
  21888. "spotpricedamount": {
  21889. "description": "定价总额",
  21890. "type": "number"
  21891. },
  21892. "spotpricedavgprice": {
  21893. "description": "现货均价 = 定价总额 / 关联数量",
  21894. "type": "number"
  21895. },
  21896. "spottype": {
  21897. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21898. "type": "integer"
  21899. },
  21900. "tradeuserid": {
  21901. "description": "交易用户ID",
  21902. "type": "integer"
  21903. },
  21904. "unexeqty": {
  21905. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21906. "type": "number"
  21907. },
  21908. "wrstandardid": {
  21909. "description": "现货商品ID",
  21910. "type": "integer"
  21911. },
  21912. "wrstandardname": {
  21913. "description": "现货商品",
  21914. "type": "string"
  21915. }
  21916. }
  21917. },
  21918. "models.Ermcp2hedgeditemspot": {
  21919. "type": "object",
  21920. "required": [
  21921. "hedgeditemid"
  21922. ],
  21923. "properties": {
  21924. "areauserid": {
  21925. "description": "企业ID",
  21926. "type": "integer"
  21927. },
  21928. "createtime": {
  21929. "description": "创建时间",
  21930. "type": "string"
  21931. },
  21932. "customeruserid": {
  21933. "description": "对手方 【3:采购合同 4:销售合同】",
  21934. "type": "integer"
  21935. },
  21936. "deliverygoodsid": {
  21937. "description": "现货品种ID",
  21938. "type": "integer"
  21939. },
  21940. "enumdicname": {
  21941. "description": "单位",
  21942. "type": "string"
  21943. },
  21944. "hedgeditemid": {
  21945. "description": "被套期项目ID",
  21946. "type": "string"
  21947. },
  21948. "hedgeditemspotid": {
  21949. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21950. "type": "string"
  21951. },
  21952. "hedgedtype": {
  21953. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21954. "type": "integer"
  21955. },
  21956. "hedgeplanno": {
  21957. "description": "计划编号",
  21958. "type": "string"
  21959. },
  21960. "oriavgprice": {
  21961. "description": "期初市场价[当初市场价]",
  21962. "type": "number"
  21963. },
  21964. "relatedamount": {
  21965. "description": "市价总额 = 关联数量 * 期初市场价",
  21966. "type": "number"
  21967. },
  21968. "relatedhedgeplanid": {
  21969. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21970. "type": "integer"
  21971. },
  21972. "relatedqty": {
  21973. "description": "关联数量[数量]",
  21974. "type": "number"
  21975. },
  21976. "relatedspotcontractid": {
  21977. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21978. "type": "integer"
  21979. },
  21980. "relatedtype": {
  21981. "description": "关联类型 - 1:套期关联 2:执行关联",
  21982. "type": "integer"
  21983. },
  21984. "spotgoodsbrandid": {
  21985. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21986. "type": "integer"
  21987. },
  21988. "spotpricedamount": {
  21989. "description": "定价总额",
  21990. "type": "number"
  21991. },
  21992. "spotpricedavgprice": {
  21993. "description": "现货均价 = 定价总额 / 关联数量",
  21994. "type": "number"
  21995. },
  21996. "spottype": {
  21997. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21998. "type": "integer"
  21999. },
  22000. "tradeuserid": {
  22001. "description": "交易用户ID",
  22002. "type": "integer"
  22003. },
  22004. "wrstandardid": {
  22005. "description": "现货商品ID",
  22006. "type": "integer"
  22007. },
  22008. "wrstandardname": {
  22009. "description": "现货商品",
  22010. "type": "string"
  22011. }
  22012. }
  22013. },
  22014. "models.Ermcp2hedgeditemspotDetail": {
  22015. "type": "object",
  22016. "required": [
  22017. "hedgeditemid"
  22018. ],
  22019. "properties": {
  22020. "accountname": {
  22021. "description": "对手方",
  22022. "type": "string"
  22023. },
  22024. "areauserid": {
  22025. "description": "企业ID",
  22026. "type": "integer"
  22027. },
  22028. "brandname": {
  22029. "description": "品牌",
  22030. "type": "string"
  22031. },
  22032. "contractno": {
  22033. "description": "合同编号",
  22034. "type": "string"
  22035. },
  22036. "createtime": {
  22037. "description": "创建时间",
  22038. "type": "string"
  22039. },
  22040. "customeruserid": {
  22041. "description": "对手方 【3:采购合同 4:销售合同】",
  22042. "type": "integer"
  22043. },
  22044. "deliverygoodsid": {
  22045. "description": "现货品种ID",
  22046. "type": "integer"
  22047. },
  22048. "enumdicname": {
  22049. "description": "单位",
  22050. "type": "string"
  22051. },
  22052. "hedgeditemid": {
  22053. "description": "被套期项目ID",
  22054. "type": "string"
  22055. },
  22056. "hedgeditemspotid": {
  22057. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22058. "type": "string"
  22059. },
  22060. "hedgedtype": {
  22061. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22062. "type": "integer"
  22063. },
  22064. "oriavgprice": {
  22065. "description": "期初市场价[当初市场价]",
  22066. "type": "number"
  22067. },
  22068. "relatedamount": {
  22069. "description": "市价总额 = 关联数量 * 期初市场价",
  22070. "type": "number"
  22071. },
  22072. "relatedhedgeplanid": {
  22073. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22074. "type": "integer"
  22075. },
  22076. "relatedqty": {
  22077. "description": "关联数量[数量]",
  22078. "type": "number"
  22079. },
  22080. "relatedspotcontractid": {
  22081. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22082. "type": "integer"
  22083. },
  22084. "relatedtype": {
  22085. "description": "关联类型 - 1:套期关联 2:执行关联",
  22086. "type": "integer"
  22087. },
  22088. "spotgoodsbrandid": {
  22089. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22090. "type": "integer"
  22091. },
  22092. "spotpricedamount": {
  22093. "description": "定价总额[金额]",
  22094. "type": "number"
  22095. },
  22096. "spotpricedavgprice": {
  22097. "description": "现货均价 = 定价总额 / 关联数量",
  22098. "type": "number"
  22099. },
  22100. "spottype": {
  22101. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22102. "type": "integer"
  22103. },
  22104. "tradeuserid": {
  22105. "description": "交易用户ID",
  22106. "type": "integer"
  22107. },
  22108. "wrstandardid": {
  22109. "description": "现货商品ID",
  22110. "type": "integer"
  22111. },
  22112. "wrstandardname": {
  22113. "description": "现货商品",
  22114. "type": "string"
  22115. }
  22116. }
  22117. },
  22118. "models.Ermcp2himiddlegoods": {
  22119. "type": "object",
  22120. "required": [
  22121. "hedgeditemid",
  22122. "middlegoodsid"
  22123. ],
  22124. "properties": {
  22125. "futurehedgeqty": {
  22126. "description": "期货持仓套期量",
  22127. "type": "number"
  22128. },
  22129. "hedgeditemid": {
  22130. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22131. "type": "integer"
  22132. },
  22133. "hiexpsoure": {
  22134. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22135. "type": "number"
  22136. },
  22137. "middlegoodscode": {
  22138. "description": "套保商品代码",
  22139. "type": "string"
  22140. },
  22141. "middlegoodsid": {
  22142. "description": "套保品种ID",
  22143. "type": "integer"
  22144. },
  22145. "middlegoodsname": {
  22146. "description": "套保商品名称",
  22147. "type": "string"
  22148. },
  22149. "unexehedgeqty": {
  22150. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22151. "type": "number"
  22152. }
  22153. }
  22154. },
  22155. "models.Ermcp2stockspotchangelog": {
  22156. "type": "object",
  22157. "properties": {
  22158. "accountname": {
  22159. "description": "套期主体",
  22160. "type": "string"
  22161. },
  22162. "aftervalue": {
  22163. "description": "现货量",
  22164. "type": "number"
  22165. },
  22166. "beforevalue": {
  22167. "description": "变更前现货量",
  22168. "type": "number"
  22169. },
  22170. "contractno": {
  22171. "description": "[编号]现货合同编号",
  22172. "type": "string"
  22173. },
  22174. "contracttype": {
  22175. "description": "现货合同类型 - 1:采购 -1:销售",
  22176. "type": "integer"
  22177. },
  22178. "createtime": {
  22179. "description": "创建时间",
  22180. "type": "string"
  22181. },
  22182. "customerusername": {
  22183. "description": "对手方",
  22184. "type": "string"
  22185. },
  22186. "deliverygoodsid": {
  22187. "description": "现货品种ID",
  22188. "type": "integer"
  22189. },
  22190. "exetype": {
  22191. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22192. "type": "integer"
  22193. },
  22194. "logid": {
  22195. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22196. "type": "string"
  22197. },
  22198. "logvalue": {
  22199. "description": "[期间变化量]现货量变更值",
  22200. "type": "number"
  22201. },
  22202. "middlegoodschange": {
  22203. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22204. "type": "number"
  22205. },
  22206. "operatelogtype": {
  22207. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22208. "type": "integer"
  22209. },
  22210. "relatedid": {
  22211. "description": "现货合同ID",
  22212. "type": "integer"
  22213. },
  22214. "spotgoodsbrandid": {
  22215. "description": "现货品牌ID",
  22216. "type": "integer"
  22217. },
  22218. "tradedate": {
  22219. "description": "交易日(yyyyMMdd)",
  22220. "type": "string"
  22221. },
  22222. "userid": {
  22223. "description": "机构ID",
  22224. "type": "integer"
  22225. },
  22226. "warehouseinfoid": {
  22227. "description": "仓库ID",
  22228. "type": "integer"
  22229. },
  22230. "wrfactortypeid": {
  22231. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22232. "type": "integer"
  22233. },
  22234. "wrstandardid": {
  22235. "description": "现货商品ID",
  22236. "type": "integer"
  22237. },
  22238. "wrstandardname": {
  22239. "description": "商品名称",
  22240. "type": "string"
  22241. }
  22242. }
  22243. },
  22244. "models.Ermcp3AreaSpot": {
  22245. "type": "object",
  22246. "properties": {
  22247. "areauserid": {
  22248. "description": "所属机构",
  22249. "type": "integer"
  22250. },
  22251. "convertratio": {
  22252. "description": "套保系数",
  22253. "type": "number"
  22254. },
  22255. "decreaseqty": {
  22256. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22257. "type": "number"
  22258. },
  22259. "enumdicname": {
  22260. "description": "单位名称",
  22261. "type": "string"
  22262. },
  22263. "increaseqty": {
  22264. "description": "增加数量=销售计划数量+采购已定价数量",
  22265. "type": "number"
  22266. },
  22267. "oritoalspotqty": {
  22268. "description": "昨日数量",
  22269. "type": "number"
  22270. },
  22271. "totalspotqty": {
  22272. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22273. "type": "number"
  22274. },
  22275. "unitid": {
  22276. "description": "现货商品单位id",
  22277. "type": "integer"
  22278. },
  22279. "updatetime": {
  22280. "description": "更新时间",
  22281. "type": "string"
  22282. },
  22283. "wrstandardcode": {
  22284. "description": "现货商品代码",
  22285. "type": "string"
  22286. },
  22287. "wrstandardid": {
  22288. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22289. "type": "integer"
  22290. },
  22291. "wrstandardname": {
  22292. "description": "现货商品名称",
  22293. "type": "string"
  22294. }
  22295. }
  22296. },
  22297. "models.Ermcp3AreaSpotDetail": {
  22298. "type": "object",
  22299. "properties": {
  22300. "contracttype": {
  22301. "description": "合同类型 1-采购 -1-销售",
  22302. "type": "integer"
  22303. },
  22304. "createtime": {
  22305. "description": "创建时间",
  22306. "type": "string"
  22307. },
  22308. "enumdicname": {
  22309. "description": "现货商品单位名称",
  22310. "type": "string"
  22311. },
  22312. "logtype": {
  22313. "description": "记录类型 1-套保 2-现货合同",
  22314. "type": "integer"
  22315. },
  22316. "qty": {
  22317. "description": "数量",
  22318. "type": "number"
  22319. },
  22320. "recordname": {
  22321. "description": "类型名称",
  22322. "type": "string"
  22323. },
  22324. "relatedid": {
  22325. "description": "套保计划ID/现货合同ID",
  22326. "type": "string"
  22327. },
  22328. "relatedno": {
  22329. "description": "编号",
  22330. "type": "string"
  22331. },
  22332. "strtime": {
  22333. "description": "时间",
  22334. "type": "string"
  22335. },
  22336. "wrstandardcode": {
  22337. "description": "现货商品代码",
  22338. "type": "string"
  22339. },
  22340. "wrstandardid": {
  22341. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22342. "type": "integer"
  22343. },
  22344. "wrstandardname": {
  22345. "description": "现货商品名称",
  22346. "type": "string"
  22347. }
  22348. }
  22349. },
  22350. "models.Ermcp3AreaSpotPLReport": {
  22351. "type": "object",
  22352. "properties": {
  22353. "accountid": {
  22354. "description": "期货账户ID (作废, 默认为0)",
  22355. "type": "integer"
  22356. },
  22357. "accountname": {
  22358. "description": "机构名称",
  22359. "type": "string"
  22360. },
  22361. "actualpl": {
  22362. "description": "现货损益",
  22363. "type": "number"
  22364. },
  22365. "areauserid": {
  22366. "description": "所属机构\\交易用户ID",
  22367. "type": "integer"
  22368. },
  22369. "begindate": {
  22370. "description": "开始交易日",
  22371. "type": "string"
  22372. },
  22373. "biztype": {
  22374. "description": "业务类型 - 1:套保 2:套利",
  22375. "type": "integer"
  22376. },
  22377. "brandname": {
  22378. "description": "品牌名称",
  22379. "type": "string"
  22380. },
  22381. "curamount": {
  22382. "description": "期末额",
  22383. "type": "number"
  22384. },
  22385. "curaverageprice": {
  22386. "description": "期初均价",
  22387. "type": "number"
  22388. },
  22389. "curbuyamount": {
  22390. "description": "期末采购总额",
  22391. "type": "number"
  22392. },
  22393. "curbuyqty": {
  22394. "description": "期末采购总量",
  22395. "type": "number"
  22396. },
  22397. "curmarketvalue": {
  22398. "description": "期初均价",
  22399. "type": "number"
  22400. },
  22401. "curqty": {
  22402. "description": "期末量",
  22403. "type": "number"
  22404. },
  22405. "currencyid": {
  22406. "description": "结算币种ID【原值】",
  22407. "type": "integer"
  22408. },
  22409. "currencyname": {
  22410. "description": "币种名称",
  22411. "type": "string"
  22412. },
  22413. "cursellamount": {
  22414. "description": "期末销售总额",
  22415. "type": "number"
  22416. },
  22417. "cursellqty": {
  22418. "description": "期末销售总量",
  22419. "type": "number"
  22420. },
  22421. "curspotprice": {
  22422. "description": "期初均价",
  22423. "type": "number"
  22424. },
  22425. "cycletime": {
  22426. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22427. "type": "string"
  22428. },
  22429. "cycletype": {
  22430. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22431. "type": "integer"
  22432. },
  22433. "deliverygoodscode": {
  22434. "description": "现货品种代码",
  22435. "type": "string"
  22436. },
  22437. "deliverygoodsid": {
  22438. "description": "现货品种ID",
  22439. "type": "integer"
  22440. },
  22441. "deliverygoodsname": {
  22442. "description": "现货品种名称",
  22443. "type": "string"
  22444. },
  22445. "enddate": {
  22446. "description": "结束交易日",
  22447. "type": "string"
  22448. },
  22449. "enumdicname": {
  22450. "description": "现货品种单位名称(作废)",
  22451. "type": "string"
  22452. },
  22453. "floatpl": {
  22454. "description": "期初均价",
  22455. "type": "number"
  22456. },
  22457. "goodsunitid": {
  22458. "description": "现货品种单位id(作废)",
  22459. "type": "integer"
  22460. },
  22461. "oriamount": {
  22462. "description": "期初额",
  22463. "type": "number"
  22464. },
  22465. "oriaverageprice": {
  22466. "description": "期初均价",
  22467. "type": "number"
  22468. },
  22469. "oribuyamount": {
  22470. "description": "期初采购总额",
  22471. "type": "number"
  22472. },
  22473. "oribuyqty": {
  22474. "description": "期初采购总量",
  22475. "type": "number"
  22476. },
  22477. "oriqty": {
  22478. "description": "期初量",
  22479. "type": "number"
  22480. },
  22481. "orisellamount": {
  22482. "description": "期初销售总额",
  22483. "type": "number"
  22484. },
  22485. "orisellqty": {
  22486. "description": "期初销售总量",
  22487. "type": "number"
  22488. },
  22489. "reckondate": {
  22490. "description": "日照时期(yyyyMMdd)",
  22491. "type": "string"
  22492. },
  22493. "spotgoodsbrandid": {
  22494. "description": "现货品牌ID",
  22495. "type": "integer"
  22496. },
  22497. "todaybuyamount": {
  22498. "description": "今日采购额(今采购额)",
  22499. "type": "number"
  22500. },
  22501. "todaybuyaverageprice": {
  22502. "description": "期初均价",
  22503. "type": "number"
  22504. },
  22505. "todaybuyqty": {
  22506. "description": "今日采购量(今采购量)",
  22507. "type": "number"
  22508. },
  22509. "todayinqty": {
  22510. "description": "今日入库量(今入库量)",
  22511. "type": "number"
  22512. },
  22513. "todayoutqty": {
  22514. "description": "今日出库量(今出库量)",
  22515. "type": "number"
  22516. },
  22517. "todaysellamount": {
  22518. "description": "今日销售额(今销售额)",
  22519. "type": "number"
  22520. },
  22521. "todaysellaverageprice": {
  22522. "description": "期初均价",
  22523. "type": "number"
  22524. },
  22525. "todaysellqty": {
  22526. "description": "今日销售量(今销售量)",
  22527. "type": "number"
  22528. },
  22529. "unitid": {
  22530. "description": "品类单位id",
  22531. "type": "integer"
  22532. },
  22533. "unitidname": {
  22534. "description": "品类单位名称",
  22535. "type": "string"
  22536. },
  22537. "updatetime": {
  22538. "description": "更新时间",
  22539. "type": "string"
  22540. },
  22541. "wrfactortypeid": {
  22542. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22543. "type": "integer"
  22544. },
  22545. "wrstandardcode": {
  22546. "description": "现货商品(品类)代码",
  22547. "type": "string"
  22548. },
  22549. "wrstandardid": {
  22550. "description": "现货品类ID",
  22551. "type": "integer"
  22552. },
  22553. "wrstandardname": {
  22554. "description": "现货商品(品类)名称",
  22555. "type": "string"
  22556. }
  22557. }
  22558. },
  22559. "models.Ermcp3AreaStock": {
  22560. "type": "object",
  22561. "required": [
  22562. "userid"
  22563. ],
  22564. "properties": {
  22565. "brandname": {
  22566. "description": "品牌名称",
  22567. "type": "string"
  22568. },
  22569. "curstock": {
  22570. "description": "期末库存量(今日量)",
  22571. "type": "number"
  22572. },
  22573. "deliverygoodscode": {
  22574. "description": "现货品种代码",
  22575. "type": "string"
  22576. },
  22577. "deliverygoodsid": {
  22578. "description": "现货品种id",
  22579. "type": "integer"
  22580. },
  22581. "deliverygoodsname": {
  22582. "description": "现货品种名称",
  22583. "type": "string"
  22584. },
  22585. "enumdicname": {
  22586. "description": "单位名称",
  22587. "type": "string"
  22588. },
  22589. "goodsunitid": {
  22590. "description": "现货商品单位id",
  22591. "type": "integer"
  22592. },
  22593. "oristock": {
  22594. "description": "期初库存量(昨日量)",
  22595. "type": "number"
  22596. },
  22597. "spotgoodsbrandid": {
  22598. "description": "现货品牌ID",
  22599. "type": "integer"
  22600. },
  22601. "todaybuyinqty": {
  22602. "description": "今日采购入库量",
  22603. "type": "number"
  22604. },
  22605. "todayproduceinqty": {
  22606. "description": "今日生产入库量",
  22607. "type": "number"
  22608. },
  22609. "todayproduceoutqty": {
  22610. "description": "今日生产出库量",
  22611. "type": "number"
  22612. },
  22613. "todayselloutqty": {
  22614. "description": "今日销售出库量",
  22615. "type": "number"
  22616. },
  22617. "unitid": {
  22618. "description": "单位id",
  22619. "type": "integer"
  22620. },
  22621. "updatetime": {
  22622. "description": "更新时间",
  22623. "type": "string"
  22624. },
  22625. "userid": {
  22626. "description": "机构ID",
  22627. "type": "integer"
  22628. },
  22629. "username": {
  22630. "description": "机构名称",
  22631. "type": "string"
  22632. },
  22633. "warehousecode": {
  22634. "description": "仓库代码",
  22635. "type": "string"
  22636. },
  22637. "warehouseinfoid": {
  22638. "description": "仓库ID",
  22639. "type": "string"
  22640. },
  22641. "warehousename": {
  22642. "description": "仓库名称",
  22643. "type": "string"
  22644. },
  22645. "warehousetype": {
  22646. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22647. "type": "integer"
  22648. },
  22649. "wrstandardcode": {
  22650. "description": "品类代码",
  22651. "type": "string"
  22652. },
  22653. "wrstandardid": {
  22654. "description": "品类ID",
  22655. "type": "string"
  22656. },
  22657. "wrstandardname": {
  22658. "description": "品类名称",
  22659. "type": "string"
  22660. }
  22661. }
  22662. },
  22663. "models.Ermcp3AreaStockApply": {
  22664. "type": "object",
  22665. "properties": {
  22666. "applyid": {
  22667. "description": "申请人",
  22668. "type": "integer"
  22669. },
  22670. "applyname": {
  22671. "description": "申请人名称",
  22672. "type": "string"
  22673. },
  22674. "applyremark": {
  22675. "description": "申请备注",
  22676. "type": "string"
  22677. },
  22678. "applysrc": {
  22679. "description": "申请来源 - 1:管理端 2:终端",
  22680. "type": "integer"
  22681. },
  22682. "applystatus": {
  22683. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22684. "type": "integer"
  22685. },
  22686. "applytime": {
  22687. "description": "申请时间",
  22688. "type": "string"
  22689. },
  22690. "auditid": {
  22691. "description": "审核人",
  22692. "type": "integer"
  22693. },
  22694. "auditname": {
  22695. "description": "审核人名称",
  22696. "type": "string"
  22697. },
  22698. "auditremark": {
  22699. "description": "审核备注",
  22700. "type": "string"
  22701. },
  22702. "auditsrc": {
  22703. "description": "审核来源 - 1:管理端 2:终端",
  22704. "type": "integer"
  22705. },
  22706. "audittime": {
  22707. "description": "审核时间",
  22708. "type": "string"
  22709. },
  22710. "audittradedate": {
  22711. "description": "审核交易日(yyyyMMdd)",
  22712. "type": "string"
  22713. },
  22714. "brandname": {
  22715. "description": "品牌名称",
  22716. "type": "string"
  22717. },
  22718. "buynickname": {
  22719. "description": "采购方昵称",
  22720. "type": "string"
  22721. },
  22722. "buyuserid": {
  22723. "description": "采购方userid",
  22724. "type": "integer"
  22725. },
  22726. "buyusername": {
  22727. "description": "采购方名称",
  22728. "type": "string"
  22729. },
  22730. "contractno": {
  22731. "description": "合同编号",
  22732. "type": "string"
  22733. },
  22734. "contractqty": {
  22735. "description": "合同量",
  22736. "type": "number"
  22737. },
  22738. "contracttype": {
  22739. "description": "现货合同类型 - 1:采购 -1:销售",
  22740. "type": "integer"
  22741. },
  22742. "deliverygoodscode": {
  22743. "description": "现货品种代码",
  22744. "type": "string"
  22745. },
  22746. "deliverygoodsid": {
  22747. "description": "现货品种id",
  22748. "type": "integer"
  22749. },
  22750. "deliverygoodsname": {
  22751. "description": "现货品种名称",
  22752. "type": "string"
  22753. },
  22754. "detailjson": {
  22755. "description": "明细数据",
  22756. "type": "string"
  22757. },
  22758. "enumdicname": {
  22759. "description": "现货商品单位名称",
  22760. "type": "string"
  22761. },
  22762. "inoutapplyid": {
  22763. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22764. "type": "string"
  22765. },
  22766. "inouttype": {
  22767. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22768. "type": "integer"
  22769. },
  22770. "pricetype": {
  22771. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22772. "type": "integer"
  22773. },
  22774. "qty": {
  22775. "description": "数量",
  22776. "type": "number"
  22777. },
  22778. "sellnickname": {
  22779. "description": "销售方昵称",
  22780. "type": "string"
  22781. },
  22782. "selluserid": {
  22783. "description": "销售方userid",
  22784. "type": "integer"
  22785. },
  22786. "sellusername": {
  22787. "description": "销售方名称",
  22788. "type": "string"
  22789. },
  22790. "spotcontractid": {
  22791. "description": "关联现货合同ID",
  22792. "type": "string"
  22793. },
  22794. "spotgoodsbrandid": {
  22795. "description": "现货品牌ID",
  22796. "type": "integer"
  22797. },
  22798. "unitid": {
  22799. "description": "单位id",
  22800. "type": "integer"
  22801. },
  22802. "userid": {
  22803. "description": "机构ID",
  22804. "type": "integer"
  22805. },
  22806. "warehousecode": {
  22807. "description": "仓库代码",
  22808. "type": "string"
  22809. },
  22810. "warehouseinfoid": {
  22811. "description": "现货仓库ID",
  22812. "type": "string"
  22813. },
  22814. "warehousename": {
  22815. "description": "仓库名称",
  22816. "type": "string"
  22817. },
  22818. "warehousetype": {
  22819. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22820. "type": "integer"
  22821. },
  22822. "wrstandardcode": {
  22823. "description": "品类代码",
  22824. "type": "string"
  22825. },
  22826. "wrstandardid": {
  22827. "description": "品类ID",
  22828. "type": "integer"
  22829. },
  22830. "wrstandardname": {
  22831. "description": "品类名称",
  22832. "type": "string"
  22833. }
  22834. }
  22835. },
  22836. "models.Ermcp3AreaStockApplySum": {
  22837. "type": "object",
  22838. "properties": {
  22839. "brandname": {
  22840. "description": "品牌名称",
  22841. "type": "string"
  22842. },
  22843. "inouttype": {
  22844. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22845. "type": "integer"
  22846. },
  22847. "spotcontractid": {
  22848. "description": "关联现货合同ID",
  22849. "type": "string"
  22850. },
  22851. "spotgoodsbrandid": {
  22852. "description": "品牌id",
  22853. "type": "integer"
  22854. },
  22855. "totalqty": {
  22856. "description": "总数量",
  22857. "type": "number"
  22858. },
  22859. "wrstandardid": {
  22860. "description": "品类id",
  22861. "type": "integer"
  22862. },
  22863. "wrstandardname": {
  22864. "description": "品类名称",
  22865. "type": "string"
  22866. }
  22867. }
  22868. },
  22869. "models.Ermcp3AreaStockReportEx": {
  22870. "type": "object",
  22871. "properties": {
  22872. "begindate": {
  22873. "description": "开始交易日",
  22874. "type": "string"
  22875. },
  22876. "brandname": {
  22877. "description": "品牌名称",
  22878. "type": "string"
  22879. },
  22880. "curstock": {
  22881. "description": "期末库存量",
  22882. "type": "number"
  22883. },
  22884. "cycletime": {
  22885. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22886. "type": "string"
  22887. },
  22888. "cycletype": {
  22889. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22890. "type": "integer"
  22891. },
  22892. "deliverygoodscode": {
  22893. "description": "现货品种代码",
  22894. "type": "string"
  22895. },
  22896. "deliverygoodsid": {
  22897. "description": "现货品种id",
  22898. "type": "integer"
  22899. },
  22900. "deliverygoodsname": {
  22901. "description": "现货品种名称",
  22902. "type": "string"
  22903. },
  22904. "diffqty": {
  22905. "description": "库存变化量 = 期末 - 期初",
  22906. "type": "number"
  22907. },
  22908. "enddate": {
  22909. "description": "结束交易日",
  22910. "type": "string"
  22911. },
  22912. "enumdicname": {
  22913. "description": "单位名称",
  22914. "type": "string"
  22915. },
  22916. "goodsunitid": {
  22917. "description": "现货单位id",
  22918. "type": "integer"
  22919. },
  22920. "oristock": {
  22921. "description": "期初库存量",
  22922. "type": "number"
  22923. },
  22924. "reckondate": {
  22925. "description": "日照时期(yyyyMMdd)",
  22926. "type": "string"
  22927. },
  22928. "spotgoodsbrandid": {
  22929. "description": "现货品牌ID",
  22930. "type": "integer"
  22931. },
  22932. "todaybuyinqty": {
  22933. "description": "今采购入库量",
  22934. "type": "number"
  22935. },
  22936. "todayproduceinqty": {
  22937. "description": "今内部入库量",
  22938. "type": "number"
  22939. },
  22940. "todayproduceoutqty": {
  22941. "description": "今内部出库量",
  22942. "type": "number"
  22943. },
  22944. "todayselloutqty": {
  22945. "description": "今销售出库量",
  22946. "type": "number"
  22947. },
  22948. "unbuyinqty": {
  22949. "description": "采购未入库量(数据库未找到相关字段?)",
  22950. "type": "number"
  22951. },
  22952. "unitid": {
  22953. "description": "品类单位id",
  22954. "type": "integer"
  22955. },
  22956. "unselloutqty": {
  22957. "description": "销售未出库量(数据库未找到相关字段?)",
  22958. "type": "number"
  22959. },
  22960. "updatetime": {
  22961. "description": "更新时间",
  22962. "type": "string"
  22963. },
  22964. "userid": {
  22965. "description": "机构ID",
  22966. "type": "integer"
  22967. },
  22968. "username": {
  22969. "description": "机构名称",
  22970. "type": "string"
  22971. },
  22972. "warehousecode": {
  22973. "description": "仓库代码",
  22974. "type": "string"
  22975. },
  22976. "warehouseinfoid": {
  22977. "description": "仓库ID",
  22978. "type": "string"
  22979. },
  22980. "warehousename": {
  22981. "description": "仓库名称",
  22982. "type": "string"
  22983. },
  22984. "warehousetype": {
  22985. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22986. "type": "integer"
  22987. },
  22988. "wrstandardcode": {
  22989. "description": "品类代码",
  22990. "type": "string"
  22991. },
  22992. "wrstandardid": {
  22993. "description": "品类ID",
  22994. "type": "integer"
  22995. },
  22996. "wrstandardname": {
  22997. "description": "品类名称",
  22998. "type": "string"
  22999. }
  23000. }
  23001. },
  23002. "models.Ermcp3ArealSumPL": {
  23003. "type": "object",
  23004. "properties": {
  23005. "accountname": {
  23006. "description": "机构名称",
  23007. "type": "string"
  23008. },
  23009. "areauserid": {
  23010. "description": "所属机构\\交易用户ID",
  23011. "type": "integer"
  23012. },
  23013. "begindate": {
  23014. "description": "开始交易日",
  23015. "type": "string"
  23016. },
  23017. "currencyid": {
  23018. "description": "结算币种ID",
  23019. "type": "integer"
  23020. },
  23021. "currencyname": {
  23022. "description": "币种名称",
  23023. "type": "string"
  23024. },
  23025. "cycletime": {
  23026. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23027. "type": "string"
  23028. },
  23029. "cycletype": {
  23030. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23031. "type": "integer"
  23032. },
  23033. "enddate": {
  23034. "description": "结束交易日",
  23035. "type": "string"
  23036. },
  23037. "enumdicname": {
  23038. "description": "单位名称(套保品种)",
  23039. "type": "string"
  23040. },
  23041. "futureactualpl": {
  23042. "description": "期货损益",
  23043. "type": "number"
  23044. },
  23045. "futurefloatpl": {
  23046. "description": "期货浮动损益",
  23047. "type": "number"
  23048. },
  23049. "futurespotratio": {
  23050. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23051. "type": "number"
  23052. },
  23053. "goodsunitid": {
  23054. "description": "套保品种单位id",
  23055. "type": "integer"
  23056. },
  23057. "hedgeexposurepl": {
  23058. "description": "套保敞口损益",
  23059. "type": "number"
  23060. },
  23061. "middlegoodscode": {
  23062. "description": "套保品种代码",
  23063. "type": "string"
  23064. },
  23065. "middlegoodsid": {
  23066. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23067. "type": "integer"
  23068. },
  23069. "middlegoodsname": {
  23070. "description": "套保品种名称",
  23071. "type": "string"
  23072. },
  23073. "reckondate": {
  23074. "description": "日照时期(yyyyMMdd)",
  23075. "type": "string"
  23076. },
  23077. "spotactualpl": {
  23078. "description": "现货损益",
  23079. "type": "number"
  23080. },
  23081. "spotfloatpl": {
  23082. "description": "现货浮动损益",
  23083. "type": "number"
  23084. },
  23085. "sumactualpl": {
  23086. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23087. "type": "number"
  23088. },
  23089. "sumpl": {
  23090. "description": "总敞口损益 | 汇总损益",
  23091. "type": "number"
  23092. },
  23093. "totalfutureqty": {
  23094. "description": "期货头寸总量",
  23095. "type": "number"
  23096. },
  23097. "totalneedhedgeqty": {
  23098. "description": "应套保总量",
  23099. "type": "number"
  23100. },
  23101. "totalspotqty": {
  23102. "description": "现货头寸总量",
  23103. "type": "number"
  23104. },
  23105. "updatetime": {
  23106. "description": "更新时间",
  23107. "type": "string"
  23108. }
  23109. }
  23110. },
  23111. "models.Ermcp3Brand": {
  23112. "type": "object",
  23113. "properties": {
  23114. "areauserid": {
  23115. "description": "用户id",
  23116. "type": "integer"
  23117. },
  23118. "brandid": {
  23119. "description": "品牌id",
  23120. "type": "integer"
  23121. },
  23122. "brandname": {
  23123. "description": "品牌名称",
  23124. "type": "string"
  23125. },
  23126. "deliverygoodsid": {
  23127. "description": "品种ID",
  23128. "type": "integer"
  23129. },
  23130. "isvalid": {
  23131. "description": "是否有效",
  23132. "type": "integer"
  23133. }
  23134. }
  23135. },
  23136. "models.Ermcp3Contract": {
  23137. "type": "object",
  23138. "properties": {
  23139. "accountid": {
  23140. "description": "期货账户id",
  23141. "type": "string"
  23142. },
  23143. "amount": {
  23144. "description": "金额 [1:一口价、3:暂定价]",
  23145. "type": "number"
  23146. },
  23147. "attachment": {
  23148. "description": "附件",
  23149. "type": "string"
  23150. },
  23151. "auditremark": {
  23152. "description": "审核意见",
  23153. "type": "string"
  23154. },
  23155. "audittime": {
  23156. "description": "审核时间",
  23157. "type": "string"
  23158. },
  23159. "biztype": {
  23160. "description": "业务类型 1-套保 2-套利",
  23161. "type": "integer"
  23162. },
  23163. "brandname": {
  23164. "description": "品牌名称",
  23165. "type": "string"
  23166. },
  23167. "buynickname": {
  23168. "description": "销售方昵称",
  23169. "type": "string"
  23170. },
  23171. "buyuserid": {
  23172. "description": "采购方ID",
  23173. "type": "integer"
  23174. },
  23175. "buyusername": {
  23176. "description": "采购方名称",
  23177. "type": "string"
  23178. },
  23179. "contracctstatus": {
  23180. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23181. "type": "integer"
  23182. },
  23183. "contractmargin": {
  23184. "description": "合同保证金",
  23185. "type": "number"
  23186. },
  23187. "contractno": {
  23188. "description": "现货合同编号",
  23189. "type": "string"
  23190. },
  23191. "contracttype": {
  23192. "description": "现货合同类型 - 1:采购 -1:销售",
  23193. "type": "integer"
  23194. },
  23195. "convertfactor": {
  23196. "description": "标仓系数(品类)",
  23197. "type": "number"
  23198. },
  23199. "createtime": {
  23200. "description": "创建时间",
  23201. "type": "string"
  23202. },
  23203. "currencyid": {
  23204. "description": "币种id",
  23205. "type": "integer"
  23206. },
  23207. "currencyname": {
  23208. "description": "币种名称",
  23209. "type": "string"
  23210. },
  23211. "deliveryenddate": {
  23212. "description": "交收期(结束)",
  23213. "type": "string"
  23214. },
  23215. "deliverygoodscode": {
  23216. "description": "现货品种代码",
  23217. "type": "string"
  23218. },
  23219. "deliverygoodsid": {
  23220. "description": "现货品种ID",
  23221. "type": "integer"
  23222. },
  23223. "deliverygoodsname": {
  23224. "description": "现货品种名称",
  23225. "type": "string"
  23226. },
  23227. "deliverystartdate": {
  23228. "description": "交收期(开始)",
  23229. "type": "string"
  23230. },
  23231. "enddate": {
  23232. "description": "点价结束日期 [2:点价 3:暂定价]",
  23233. "type": "string"
  23234. },
  23235. "enumdicname": {
  23236. "description": "单位名称",
  23237. "type": "string"
  23238. },
  23239. "goodscode": {
  23240. "description": "点价合约代码",
  23241. "type": "string"
  23242. },
  23243. "goodsid": {
  23244. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23245. "type": "integer"
  23246. },
  23247. "goodsname": {
  23248. "description": "点价商品名称",
  23249. "type": "string"
  23250. },
  23251. "margin": {
  23252. "description": "当前保证金",
  23253. "type": "number"
  23254. },
  23255. "meruserid": {
  23256. "description": "跟单员id",
  23257. "type": "integer"
  23258. },
  23259. "meruserlogincode": {
  23260. "description": "跟单员登录代码",
  23261. "type": "string"
  23262. },
  23263. "merusername": {
  23264. "description": "跟单员名称",
  23265. "type": "string"
  23266. },
  23267. "pointdesc": {
  23268. "description": "点价备注",
  23269. "type": "string"
  23270. },
  23271. "price": {
  23272. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23273. "type": "number"
  23274. },
  23275. "pricemove": {
  23276. "description": "升贴水 [2:点价 3:暂定价]",
  23277. "type": "number"
  23278. },
  23279. "pricetype": {
  23280. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23281. "type": "integer"
  23282. },
  23283. "producttype": {
  23284. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23285. "type": "integer"
  23286. },
  23287. "qty": {
  23288. "description": "数量",
  23289. "type": "number"
  23290. },
  23291. "remark": {
  23292. "description": "备注",
  23293. "type": "string"
  23294. },
  23295. "saleuserid": {
  23296. "description": "业务员id",
  23297. "type": "integer"
  23298. },
  23299. "saleuserlogincode": {
  23300. "description": "业务员登录代码",
  23301. "type": "string"
  23302. },
  23303. "saleusername": {
  23304. "description": "业务员名称",
  23305. "type": "string"
  23306. },
  23307. "sellnickname": {
  23308. "description": "采购方昵称",
  23309. "type": "string"
  23310. },
  23311. "selluserid": {
  23312. "description": "销售方ID",
  23313. "type": "integer"
  23314. },
  23315. "sellusername": {
  23316. "description": "销售方名称",
  23317. "type": "string"
  23318. },
  23319. "spotcontractid": {
  23320. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23321. "type": "string"
  23322. },
  23323. "spotgoodsbrandid": {
  23324. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23325. "type": "integer"
  23326. },
  23327. "spotgoodsdesc": {
  23328. "description": "商品型号",
  23329. "type": "string"
  23330. },
  23331. "startdate": {
  23332. "description": "点价开始日期 [2:点价 3:暂定价]",
  23333. "type": "string"
  23334. },
  23335. "subjectid": {
  23336. "description": "交易主体ID",
  23337. "type": "integer"
  23338. },
  23339. "subjectname": {
  23340. "description": "交易主体名称",
  23341. "type": "string"
  23342. },
  23343. "tradeuserid": {
  23344. "description": "交易员id",
  23345. "type": "integer"
  23346. },
  23347. "tradeuserlogincode": {
  23348. "description": "交易员登录代码",
  23349. "type": "string"
  23350. },
  23351. "tradeusername": {
  23352. "description": "交易员名称",
  23353. "type": "string"
  23354. },
  23355. "unitid": {
  23356. "description": "单位id(取品类上的单位id)",
  23357. "type": "integer"
  23358. },
  23359. "updatetime": {
  23360. "description": "更新时间",
  23361. "type": "string"
  23362. },
  23363. "userid": {
  23364. "description": "所属机构ID",
  23365. "type": "integer"
  23366. },
  23367. "vatrate": {
  23368. "description": "增值税率",
  23369. "type": "number"
  23370. },
  23371. "wrstandardcode": {
  23372. "description": "品类代码",
  23373. "type": "string"
  23374. },
  23375. "wrstandardid": {
  23376. "description": "品类ID",
  23377. "type": "integer"
  23378. },
  23379. "wrstandardname": {
  23380. "description": "品类名称",
  23381. "type": "string"
  23382. }
  23383. }
  23384. },
  23385. "models.Ermcp3ContractMiddleGoodsCfg": {
  23386. "type": "object",
  23387. "properties": {
  23388. "agreeunit": {
  23389. "description": "合约乘数",
  23390. "type": "number"
  23391. },
  23392. "convertratio": {
  23393. "description": "期货品种系数",
  23394. "type": "number"
  23395. },
  23396. "covertqty": {
  23397. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23398. "type": "integer"
  23399. },
  23400. "middlegoodsid": {
  23401. "description": "套保品种ID",
  23402. "type": "integer"
  23403. },
  23404. "middlegoodspricedqty3": {
  23405. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23406. "type": "string",
  23407. "example": "0"
  23408. },
  23409. "pendingpricedqty": {
  23410. "description": "待点价量",
  23411. "type": "string",
  23412. "example": "0"
  23413. },
  23414. "relatedmiddlegoodsqty": {
  23415. "description": "已关联量(套保品种-期货)",
  23416. "type": "string",
  23417. "example": "0"
  23418. },
  23419. "spotcontractid": {
  23420. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23421. "type": "string"
  23422. }
  23423. }
  23424. },
  23425. "models.Ermcp3ExposureContractDetail": {
  23426. "type": "object",
  23427. "properties": {
  23428. "biztype": {
  23429. "description": "业务类型 1-套保 2-套利",
  23430. "type": "integer"
  23431. },
  23432. "brandname": {
  23433. "description": "品牌名称",
  23434. "type": "string"
  23435. },
  23436. "buyuserid": {
  23437. "description": "采购方id",
  23438. "type": "integer"
  23439. },
  23440. "buyusername": {
  23441. "description": "采购方名称",
  23442. "type": "string"
  23443. },
  23444. "contractno": {
  23445. "description": "合同编号",
  23446. "type": "string"
  23447. },
  23448. "contracttype": {
  23449. "description": "现货合同类型 - 1:采购 -1:销售",
  23450. "type": "integer"
  23451. },
  23452. "convertfactor": {
  23453. "description": "标仓系数",
  23454. "type": "number"
  23455. },
  23456. "convertratio": {
  23457. "description": "折算系数(套保品种)",
  23458. "type": "number"
  23459. },
  23460. "curqty": {
  23461. "description": "今定价量",
  23462. "type": "number"
  23463. },
  23464. "deliverygoodscode": {
  23465. "description": "现货品种代码",
  23466. "type": "string"
  23467. },
  23468. "deliverygoodsid": {
  23469. "description": "现货品种id",
  23470. "type": "integer"
  23471. },
  23472. "deliverygoodsname": {
  23473. "description": "现货品种名称",
  23474. "type": "string"
  23475. },
  23476. "diffhedgeqty": {
  23477. "description": "套保变动量",
  23478. "type": "number"
  23479. },
  23480. "diffneedhedgeqty": {
  23481. "description": "应套保变动量",
  23482. "type": "number"
  23483. },
  23484. "diffqty": {
  23485. "description": "套保品种今变动量",
  23486. "type": "number"
  23487. },
  23488. "enumdicname": {
  23489. "description": "单位名称",
  23490. "type": "string"
  23491. },
  23492. "mgunitname": {
  23493. "description": "套保品种单位名称",
  23494. "type": "string"
  23495. },
  23496. "middlegoodscode": {
  23497. "description": "套保品种代码",
  23498. "type": "string"
  23499. },
  23500. "middlegoodsid": {
  23501. "description": "套保品种id",
  23502. "type": "integer"
  23503. },
  23504. "middlegoodsname": {
  23505. "description": "套保品种名称",
  23506. "type": "string"
  23507. },
  23508. "needarbitrageratio": {
  23509. "description": "应套利比例",
  23510. "type": "number"
  23511. },
  23512. "needhedgeratio": {
  23513. "description": "应套保比例",
  23514. "type": "number"
  23515. },
  23516. "pricedqty": {
  23517. "description": "已定价量",
  23518. "type": "number"
  23519. },
  23520. "qty": {
  23521. "description": "合同量",
  23522. "type": "number"
  23523. },
  23524. "reckondate": {
  23525. "description": "交易日(reckondate)",
  23526. "type": "string"
  23527. },
  23528. "selluserid": {
  23529. "description": "销售方id",
  23530. "type": "integer"
  23531. },
  23532. "sellusername": {
  23533. "description": "销售方名称",
  23534. "type": "string"
  23535. },
  23536. "spotcontractid": {
  23537. "description": "合同id",
  23538. "type": "string"
  23539. },
  23540. "todaypricedqty": {
  23541. "description": "今定价量",
  23542. "type": "number"
  23543. },
  23544. "tradedate": {
  23545. "description": "交易日",
  23546. "type": "string"
  23547. },
  23548. "unitid": {
  23549. "description": "品类单位id",
  23550. "type": "integer"
  23551. },
  23552. "userid": {
  23553. "description": "机构id",
  23554. "type": "integer"
  23555. },
  23556. "username": {
  23557. "description": "交易用户",
  23558. "type": "string"
  23559. },
  23560. "wrstandardcode": {
  23561. "description": "现货商品代码",
  23562. "type": "string"
  23563. },
  23564. "wrstandardid": {
  23565. "description": "现货商品id",
  23566. "type": "integer"
  23567. },
  23568. "wrstandardname": {
  23569. "description": "现货商品名称",
  23570. "type": "string"
  23571. }
  23572. }
  23573. },
  23574. "models.Ermcp3ExposureDetail": {
  23575. "type": "object",
  23576. "properties": {
  23577. "areauserid": {
  23578. "description": "机构ID",
  23579. "type": "integer"
  23580. },
  23581. "changeQty": {
  23582. "description": "套保变动量",
  23583. "type": "number"
  23584. },
  23585. "contracttype": {
  23586. "description": "现货合同类型 - 1:采购 -1:销售",
  23587. "type": "integer"
  23588. },
  23589. "convertfactor": {
  23590. "description": "标仓系数",
  23591. "type": "number"
  23592. },
  23593. "convertratio": {
  23594. "description": "折算系数",
  23595. "type": "number"
  23596. },
  23597. "createtime": {
  23598. "description": "时间",
  23599. "type": "string"
  23600. },
  23601. "enumdicname": {
  23602. "description": "现货商品单位名称",
  23603. "type": "string"
  23604. },
  23605. "logtype": {
  23606. "description": "类型 - 1:套保计划 2:现货合同",
  23607. "type": "integer"
  23608. },
  23609. "mgunitid": {
  23610. "description": "套保品种单位id",
  23611. "type": "integer"
  23612. },
  23613. "mgunitidname": {
  23614. "description": "套保品种单位名称",
  23615. "type": "string"
  23616. },
  23617. "middlegoodsId": {
  23618. "description": "套保商品id",
  23619. "type": "integer"
  23620. },
  23621. "middlegoodscode": {
  23622. "description": "套保商品代码",
  23623. "type": "string"
  23624. },
  23625. "middlegoodsname": {
  23626. "description": "套保商品名称",
  23627. "type": "string"
  23628. },
  23629. "qty": {
  23630. "description": "数量",
  23631. "type": "number"
  23632. },
  23633. "relateNo": {
  23634. "description": "现货合同/套保计划编号",
  23635. "type": "string"
  23636. },
  23637. "unitid": {
  23638. "description": "现货商品单位id",
  23639. "type": "integer"
  23640. },
  23641. "wrstandardcode": {
  23642. "description": "现货商品代码",
  23643. "type": "string"
  23644. },
  23645. "wrstandardid": {
  23646. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23647. "type": "integer"
  23648. },
  23649. "wrstandardname": {
  23650. "description": "现货商品名称",
  23651. "type": "string"
  23652. }
  23653. }
  23654. },
  23655. "models.Ermcp3ExposureFutuDetail": {
  23656. "type": "object",
  23657. "properties": {
  23658. "accountid": {
  23659. "description": "交易账户id",
  23660. "type": "integer"
  23661. },
  23662. "accountname": {
  23663. "description": "交易账户",
  23664. "type": "string"
  23665. },
  23666. "begindate": {
  23667. "description": "开始交易日",
  23668. "type": "string"
  23669. },
  23670. "buyorsell": {
  23671. "description": "方向 0-买 1-卖",
  23672. "type": "integer"
  23673. },
  23674. "diffmgqty": {
  23675. "description": "套保品种今变化量",
  23676. "type": "number"
  23677. },
  23678. "diffneedqty": {
  23679. "description": "应套保总量变化量",
  23680. "type": "number"
  23681. },
  23682. "difftradeqty": {
  23683. "description": "交易品种今变化量",
  23684. "type": "number"
  23685. },
  23686. "enddate": {
  23687. "description": "结束交易日",
  23688. "type": "string"
  23689. },
  23690. "enumdicname": {
  23691. "description": "单位名称",
  23692. "type": "string"
  23693. },
  23694. "goodscode": {
  23695. "description": "商品代码",
  23696. "type": "string"
  23697. },
  23698. "goodsid": {
  23699. "description": "商品id",
  23700. "type": "integer"
  23701. },
  23702. "goodsname": {
  23703. "description": "商品名称",
  23704. "type": "string"
  23705. },
  23706. "holdqty": {
  23707. "description": "期末持仓量",
  23708. "type": "number"
  23709. },
  23710. "middlegoodscode": {
  23711. "description": "套保商品代码",
  23712. "type": "string"
  23713. },
  23714. "middlegoodsid": {
  23715. "description": "套保商品id",
  23716. "type": "integer"
  23717. },
  23718. "middlegoodsname": {
  23719. "description": "套保商品名称",
  23720. "type": "string"
  23721. },
  23722. "oriholdqty": {
  23723. "description": "期初持仓量",
  23724. "type": "number"
  23725. },
  23726. "reckondate": {
  23727. "description": "交易日(RECKONDATE)",
  23728. "type": "string"
  23729. },
  23730. "todaycloseqty": {
  23731. "description": "今平仓量",
  23732. "type": "number"
  23733. },
  23734. "todayopenqty": {
  23735. "description": "今开仓量",
  23736. "type": "number"
  23737. },
  23738. "tradedate": {
  23739. "description": "交易日(RECKONDATE)",
  23740. "type": "string"
  23741. },
  23742. "username": {
  23743. "description": "用户名称(交易用户)",
  23744. "type": "string"
  23745. }
  23746. }
  23747. },
  23748. "models.Ermcp3ExposureHedgeplanDetail": {
  23749. "type": "object",
  23750. "properties": {
  23751. "biztype": {
  23752. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23753. "type": "integer"
  23754. },
  23755. "changqty": {
  23756. "description": "应套保总量变化量",
  23757. "type": "number"
  23758. },
  23759. "contracttype": {
  23760. "description": "计划类型 - 1:采购 -1:销售",
  23761. "type": "integer"
  23762. },
  23763. "convertratio": {
  23764. "description": "折算系数(套保品种)",
  23765. "type": "number"
  23766. },
  23767. "deliverygoodscode": {
  23768. "description": "现货商品代码",
  23769. "type": "string"
  23770. },
  23771. "deliverygoodsid": {
  23772. "description": "现货商品id",
  23773. "type": "integer"
  23774. },
  23775. "deliverygoodsname": {
  23776. "description": "现货商吕名称",
  23777. "type": "string"
  23778. },
  23779. "dgunitid": {
  23780. "description": "现货商品单位id",
  23781. "type": "integer"
  23782. },
  23783. "dgunitidname": {
  23784. "description": "单位名称(现货商品)",
  23785. "type": "string"
  23786. },
  23787. "diffqty": {
  23788. "description": "套保品种今变动量",
  23789. "type": "number"
  23790. },
  23791. "enumdicname": {
  23792. "description": "单位名称(品类)",
  23793. "type": "string"
  23794. },
  23795. "hedgeplanid": {
  23796. "description": "套保计划id",
  23797. "type": "string"
  23798. },
  23799. "hedgeplanno": {
  23800. "description": "套保计划名称",
  23801. "type": "string"
  23802. },
  23803. "hedgeplanstatus": {
  23804. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23805. "type": "integer"
  23806. },
  23807. "mgunitidname": {
  23808. "description": "单位名称(套保商品)",
  23809. "type": "string"
  23810. },
  23811. "middlegoodscode": {
  23812. "description": "套保品种代码",
  23813. "type": "string"
  23814. },
  23815. "middlegoodsid": {
  23816. "description": "套保品种id",
  23817. "type": "integer"
  23818. },
  23819. "middlegoodsname": {
  23820. "description": "套保品种名称",
  23821. "type": "string"
  23822. },
  23823. "needarbitrageratio": {
  23824. "description": "应套利比例",
  23825. "type": "number"
  23826. },
  23827. "needhedgeratio": {
  23828. "description": "应套保比例",
  23829. "type": "number"
  23830. },
  23831. "pricedqty": {
  23832. "description": "已定价量",
  23833. "type": "number"
  23834. },
  23835. "qty": {
  23836. "description": "合同量",
  23837. "type": "number"
  23838. },
  23839. "reckondate": {
  23840. "description": "交易日(reckondate)",
  23841. "type": "string"
  23842. },
  23843. "tradedate": {
  23844. "description": "交易日(登记日)",
  23845. "type": "string"
  23846. },
  23847. "unitid": {
  23848. "description": "品类单位id",
  23849. "type": "integer"
  23850. },
  23851. "userid": {
  23852. "description": "机构id",
  23853. "type": "integer"
  23854. },
  23855. "wrstandardcode": {
  23856. "description": "品类代码",
  23857. "type": "string"
  23858. },
  23859. "wrstandardid": {
  23860. "description": "品类id",
  23861. "type": "integer"
  23862. },
  23863. "wrstandardname": {
  23864. "description": "品类名称",
  23865. "type": "string"
  23866. }
  23867. }
  23868. },
  23869. "models.Ermcp3ExposureParamChLog": {
  23870. "type": "object",
  23871. "properties": {
  23872. "accountid": {
  23873. "description": "期货账户ID (作废, 默认为0)",
  23874. "type": "integer"
  23875. },
  23876. "aftervalue": {
  23877. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23878. "type": "number"
  23879. },
  23880. "areauserid": {
  23881. "description": "所属机构\\交易用户ID",
  23882. "type": "integer"
  23883. },
  23884. "beforevalue": {
  23885. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23886. "type": "number"
  23887. },
  23888. "begindate": {
  23889. "description": "开始交易日",
  23890. "type": "string"
  23891. },
  23892. "changelogtype": {
  23893. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23894. "type": "integer"
  23895. },
  23896. "curvalue": {
  23897. "description": "当前套保\\套利量(套保总量|套利总量)",
  23898. "type": "number"
  23899. },
  23900. "diffvalue": {
  23901. "description": "应套保总量变化量",
  23902. "type": "number"
  23903. },
  23904. "enddate": {
  23905. "description": "结束交易日",
  23906. "type": "string"
  23907. },
  23908. "logdatetime": {
  23909. "description": "流水日期",
  23910. "type": "string"
  23911. },
  23912. "logid": {
  23913. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23914. "type": "string"
  23915. },
  23916. "middlegoodscode": {
  23917. "description": "套保品种代码",
  23918. "type": "string"
  23919. },
  23920. "middlegoodsid": {
  23921. "description": "套保品种",
  23922. "type": "integer"
  23923. },
  23924. "middlegoodsname": {
  23925. "description": "套保品种名称",
  23926. "type": "string"
  23927. },
  23928. "paramaftervalue": {
  23929. "description": "参数变更后(调整后参数值)",
  23930. "type": "number"
  23931. },
  23932. "parambeforevalue": {
  23933. "description": "参数变更前(调整前参数值)",
  23934. "type": "number"
  23935. },
  23936. "reckondate": {
  23937. "description": "交易日(reckondate)",
  23938. "type": "string"
  23939. },
  23940. "tradedate": {
  23941. "description": "交易日(yyyyMMdd)",
  23942. "type": "string"
  23943. }
  23944. }
  23945. },
  23946. "models.Ermcp3ExpourseReport": {
  23947. "type": "object",
  23948. "properties": {
  23949. "accountid": {
  23950. "description": "期货账户ID (作废, 默认为0)",
  23951. "type": "integer"
  23952. },
  23953. "accountname": {
  23954. "description": "机构名称",
  23955. "type": "string"
  23956. },
  23957. "arbitrageqty": {
  23958. "description": "套利量",
  23959. "type": "number"
  23960. },
  23961. "areauserid": {
  23962. "description": "所属机构\\交易用户ID",
  23963. "type": "integer"
  23964. },
  23965. "begindate": {
  23966. "description": "开始交易日",
  23967. "type": "string"
  23968. },
  23969. "buyfutureqty": {
  23970. "description": "买入期货数量",
  23971. "type": "number"
  23972. },
  23973. "buyplanqty": {
  23974. "description": "采购计划数量",
  23975. "type": "number"
  23976. },
  23977. "buypricedqty": {
  23978. "description": "采购合同已定价数量",
  23979. "type": "number"
  23980. },
  23981. "cycletime": {
  23982. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23983. "type": "string"
  23984. },
  23985. "cycletype": {
  23986. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23987. "type": "integer"
  23988. },
  23989. "diffexposure": {
  23990. "description": "变动量(套保敞口)",
  23991. "type": "number"
  23992. },
  23993. "difffutuqty": {
  23994. "description": "变动量(期货)",
  23995. "type": "number"
  23996. },
  23997. "diffhedgeqty": {
  23998. "description": "变动量(现货应套保总量)",
  23999. "type": "number"
  24000. },
  24001. "diffmgqtya": {
  24002. "description": "套保变动量",
  24003. "type": "number"
  24004. },
  24005. "diffmgqtyb": {
  24006. "description": "套利变动量",
  24007. "type": "number"
  24008. },
  24009. "diffneedqty": {
  24010. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24011. "type": "number"
  24012. },
  24013. "diffqty": {
  24014. "description": "变动量(总敞口)",
  24015. "type": "number"
  24016. },
  24017. "diffspotqty": {
  24018. "description": "变动量(现货) | 除税变动量",
  24019. "type": "number"
  24020. },
  24021. "enddate": {
  24022. "description": "结束交易日",
  24023. "type": "string"
  24024. },
  24025. "enumdicname": {
  24026. "description": "单位名称",
  24027. "type": "string"
  24028. },
  24029. "hedgeqty": {
  24030. "description": "套保量",
  24031. "type": "number"
  24032. },
  24033. "mgneedhedgeratio": {
  24034. "description": "套保比例(套保品的)",
  24035. "type": "number"
  24036. },
  24037. "middlegoodsid": {
  24038. "description": "套保品种ID",
  24039. "type": "integer"
  24040. },
  24041. "middlegoodsname": {
  24042. "description": "套保商品名称",
  24043. "type": "string"
  24044. },
  24045. "middlgoodscode": {
  24046. "description": "套保商品代码",
  24047. "type": "string"
  24048. },
  24049. "needarbitrageqty": {
  24050. "description": "应套利量",
  24051. "type": "number"
  24052. },
  24053. "needarbitrageratio": {
  24054. "description": "套利比例(套保品的)",
  24055. "type": "number"
  24056. },
  24057. "needhedgeexposoure": {
  24058. "description": "应套保敞口(套保敞口)",
  24059. "type": "number"
  24060. },
  24061. "needhedgeqty": {
  24062. "description": "应套保量",
  24063. "type": "number"
  24064. },
  24065. "needhedgeratio": {
  24066. "description": "应套保敞口比例",
  24067. "type": "number"
  24068. },
  24069. "needqty": {
  24070. "description": "应套总量 = 应套保量 + 应套利量",
  24071. "type": "number"
  24072. },
  24073. "oriarbitrageqty": {
  24074. "description": "期初套利量",
  24075. "type": "number"
  24076. },
  24077. "oribuyfutureqty": {
  24078. "description": "期初买入期货数量",
  24079. "type": "number"
  24080. },
  24081. "oribuyplanqty": {
  24082. "description": "期初采购计划数量",
  24083. "type": "number"
  24084. },
  24085. "oribuypricedqty": {
  24086. "description": "期初采购合同已定价数量",
  24087. "type": "number"
  24088. },
  24089. "orihedgeqty": {
  24090. "description": "期初套保量",
  24091. "type": "number"
  24092. },
  24093. "orineedarbitrageqty": {
  24094. "description": "期初应套利量",
  24095. "type": "number"
  24096. },
  24097. "orineedhedgeexposoure": {
  24098. "description": "期初应套保敞口",
  24099. "type": "number"
  24100. },
  24101. "orineedhedgeqty": {
  24102. "description": "期初应套保量",
  24103. "type": "number"
  24104. },
  24105. "orisellfutureqty": {
  24106. "description": "期初卖出期货数量",
  24107. "type": "number"
  24108. },
  24109. "orisellplanqty": {
  24110. "description": "期初销售计划数量",
  24111. "type": "number"
  24112. },
  24113. "orisellpricedqty": {
  24114. "description": "期初销售合同已定价数量",
  24115. "type": "number"
  24116. },
  24117. "oritotalexposure": {
  24118. "description": "期初实时总敞口",
  24119. "type": "number"
  24120. },
  24121. "oritotalfutureqty": {
  24122. "description": "期初期货头寸总量",
  24123. "type": "number"
  24124. },
  24125. "oritotalneedhedgeqty": {
  24126. "description": "期初应套保总量",
  24127. "type": "number"
  24128. },
  24129. "oritotalspotqty": {
  24130. "description": "期初现货头寸总量",
  24131. "type": "number"
  24132. },
  24133. "reckondate": {
  24134. "description": "日照时期(yyyyMMdd)",
  24135. "type": "string"
  24136. },
  24137. "sellfutureqty": {
  24138. "description": "卖出期货数量",
  24139. "type": "number"
  24140. },
  24141. "sellplanqty": {
  24142. "description": "销售计划数量",
  24143. "type": "number"
  24144. },
  24145. "sellpricedqty": {
  24146. "description": "销售合同已定价数量",
  24147. "type": "number"
  24148. },
  24149. "totalexposure": {
  24150. "description": "实时总敞口(总敞口)",
  24151. "type": "number"
  24152. },
  24153. "totalfutureqty": {
  24154. "description": "期货头寸总量(期货总量)",
  24155. "type": "number"
  24156. },
  24157. "totalhedgeratio": {
  24158. "description": "敞口比例",
  24159. "type": "number"
  24160. },
  24161. "totalneedhedgeqty": {
  24162. "description": "应套保总量(现货应套保总量)",
  24163. "type": "number"
  24164. },
  24165. "totalspotqty": {
  24166. "description": "现货头寸总量 | 除税总量",
  24167. "type": "number"
  24168. },
  24169. "unitid": {
  24170. "description": "单位id",
  24171. "type": "integer"
  24172. },
  24173. "updatetime": {
  24174. "description": "更新时间",
  24175. "type": "string"
  24176. }
  24177. }
  24178. },
  24179. "models.Ermcp3FinanceReport": {
  24180. "type": "object",
  24181. "properties": {
  24182. "accountname": {
  24183. "description": "机构名称",
  24184. "type": "string"
  24185. },
  24186. "areauserid": {
  24187. "description": "所属机构\\交易用户ID",
  24188. "type": "integer"
  24189. },
  24190. "begindate": {
  24191. "description": "开始交易日",
  24192. "type": "string"
  24193. },
  24194. "biztype": {
  24195. "description": "业务类型 - 1:套保 2:套利",
  24196. "type": "integer"
  24197. },
  24198. "brandname": {
  24199. "description": "品牌名称",
  24200. "type": "string"
  24201. },
  24202. "buypreinvoicedamount": {
  24203. "description": "采购预收票额(预收票额)",
  24204. "type": "number"
  24205. },
  24206. "buyprepaidamount": {
  24207. "description": "采购预付款额(预付货款额)",
  24208. "type": "number"
  24209. },
  24210. "buytodayinvoiceamount": {
  24211. "description": "采购今收票额(今收票额)",
  24212. "type": "number"
  24213. },
  24214. "buytodayrefundamount": {
  24215. "description": "采购今收退款额(今收退款额)",
  24216. "type": "number"
  24217. },
  24218. "buytodaysettleamount": {
  24219. "description": "采购今付款额(今付货款额)",
  24220. "type": "number"
  24221. },
  24222. "buyuninvoicedamount": {
  24223. "description": "采购应收票额(应收票额)",
  24224. "type": "number"
  24225. },
  24226. "buyunpaidamount": {
  24227. "description": "采购应付款额(应付货款额)",
  24228. "type": "number"
  24229. },
  24230. "currencyid": {
  24231. "description": "结算币种ID",
  24232. "type": "integer"
  24233. },
  24234. "currencyname": {
  24235. "description": "币种名称",
  24236. "type": "string"
  24237. },
  24238. "cycletime": {
  24239. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24240. "type": "string"
  24241. },
  24242. "cycletype": {
  24243. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24244. "type": "integer"
  24245. },
  24246. "deliverygoodscode": {
  24247. "description": "现货品种代码",
  24248. "type": "string"
  24249. },
  24250. "deliverygoodsid": {
  24251. "description": "现货品种ID",
  24252. "type": "integer"
  24253. },
  24254. "deliverygoodsname": {
  24255. "description": "现货品种名称",
  24256. "type": "string"
  24257. },
  24258. "enddate": {
  24259. "description": "结束交易日",
  24260. "type": "string"
  24261. },
  24262. "reckondate": {
  24263. "description": "日照时期(yyyyMMdd)",
  24264. "type": "string"
  24265. },
  24266. "sellpreinvoicedamount": {
  24267. "description": "销售预开票额(预开票额)",
  24268. "type": "number"
  24269. },
  24270. "sellprepaidamount": {
  24271. "description": "销售预收款额(预收货款额)",
  24272. "type": "number"
  24273. },
  24274. "selltodayinvoiceamount": {
  24275. "description": "销售今开票额(今开票额)",
  24276. "type": "number"
  24277. },
  24278. "selltodayrefundamount": {
  24279. "description": "销售今付退款额(今付退款额)",
  24280. "type": "number"
  24281. },
  24282. "selltodaysettleamount": {
  24283. "description": "销售今收款额(今收货款额)",
  24284. "type": "number"
  24285. },
  24286. "selluninvoicedamount": {
  24287. "description": "销售应开票额(应开票额)",
  24288. "type": "number"
  24289. },
  24290. "sellunpaidamount": {
  24291. "description": "销售应收款额(应收货款额)",
  24292. "type": "number"
  24293. },
  24294. "spotgoodsbrandid": {
  24295. "description": "现货品牌ID",
  24296. "type": "integer"
  24297. },
  24298. "todaypaysum": {
  24299. "description": "今付款合计",
  24300. "type": "number"
  24301. },
  24302. "todayreceivesum": {
  24303. "description": "今收款合计",
  24304. "type": "number"
  24305. },
  24306. "updatetime": {
  24307. "description": "更新时间",
  24308. "type": "string"
  24309. },
  24310. "wrfactortypeid": {
  24311. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24312. "type": "integer"
  24313. },
  24314. "wrstandardcode": {
  24315. "description": "品类代码",
  24316. "type": "string"
  24317. },
  24318. "wrstandardid": {
  24319. "description": "现货商品ID",
  24320. "type": "integer"
  24321. },
  24322. "wrstandardname": {
  24323. "description": "品类名称",
  24324. "type": "string"
  24325. }
  24326. }
  24327. },
  24328. "models.Ermcp3GoodsGroup": {
  24329. "type": "object",
  24330. "required": [
  24331. "areauserid"
  24332. ],
  24333. "properties": {
  24334. "agreeunit": {
  24335. "description": "合约单位",
  24336. "type": "number"
  24337. },
  24338. "areauserid": {
  24339. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24340. "type": "integer"
  24341. },
  24342. "canshort": {
  24343. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24344. "type": "integer"
  24345. },
  24346. "closepricemode": {
  24347. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24348. "type": "integer"
  24349. },
  24350. "createtime": {
  24351. "description": "创建时间",
  24352. "type": "string"
  24353. },
  24354. "creatorid": {
  24355. "description": "创建人",
  24356. "type": "integer"
  24357. },
  24358. "currencyid": {
  24359. "description": "报价货币ID",
  24360. "type": "integer"
  24361. },
  24362. "decimalplace": {
  24363. "description": "报价小数位",
  24364. "type": "integer"
  24365. },
  24366. "enumdicname": {
  24367. "description": "单位名称",
  24368. "type": "string"
  24369. },
  24370. "exchangefullname": {
  24371. "description": "交易所全称",
  24372. "type": "string"
  24373. },
  24374. "excludecfg": {
  24375. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24376. "type": "integer"
  24377. },
  24378. "exexchangecode": {
  24379. "description": "交易所代码",
  24380. "type": "string"
  24381. },
  24382. "exexchangeid": {
  24383. "description": "外部交易所ID[通道交易]",
  24384. "type": "integer"
  24385. },
  24386. "exexchangename": {
  24387. "description": "交易所名称",
  24388. "type": "string"
  24389. },
  24390. "goodsgroupid": {
  24391. "description": "商品组ID(自增ID)",
  24392. "type": "integer"
  24393. },
  24394. "goodsgroupname": {
  24395. "description": "商品组名称",
  24396. "type": "string"
  24397. },
  24398. "goodsgroupstatus": {
  24399. "description": "商品组状态 - 1:正常 2:注销",
  24400. "type": "integer"
  24401. },
  24402. "goodunitid": {
  24403. "description": "报价单位ID",
  24404. "type": "integer"
  24405. },
  24406. "groupcategroyid": {
  24407. "description": "品种分类ID",
  24408. "type": "integer"
  24409. },
  24410. "innerdealmode": {
  24411. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24412. "type": "integer"
  24413. },
  24414. "marketid": {
  24415. "description": "所属市场ID",
  24416. "type": "integer"
  24417. },
  24418. "modifierid": {
  24419. "description": "修改人",
  24420. "type": "integer"
  24421. },
  24422. "modifytime": {
  24423. "description": "修改时间",
  24424. "type": "string"
  24425. },
  24426. "outerdealmode": {
  24427. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24428. "type": "integer"
  24429. },
  24430. "outergroupcode": {
  24431. "description": "外部商品组代码[通道交易]",
  24432. "type": "string"
  24433. },
  24434. "quoteminunit": {
  24435. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24436. "type": "integer"
  24437. },
  24438. "quotesourcegroupid": {
  24439. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24440. "type": "integer"
  24441. },
  24442. "syncgoodsqty": {
  24443. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24444. "type": "integer"
  24445. }
  24446. }
  24447. },
  24448. "models.Ermcp3HPMiddleGoods": {
  24449. "type": "object",
  24450. "properties": {
  24451. "biztype": {
  24452. "description": "业务类型 1:套保 2:套利",
  24453. "type": "integer"
  24454. },
  24455. "contracttype": {
  24456. "description": "合同类型 1:采购 -1:销售",
  24457. "type": "integer"
  24458. },
  24459. "convertratio": {
  24460. "description": "折算系数",
  24461. "type": "number"
  24462. },
  24463. "customername": {
  24464. "description": "对手手名称",
  24465. "type": "string"
  24466. },
  24467. "customeruserid": {
  24468. "description": "对手id",
  24469. "type": "integer"
  24470. },
  24471. "enumdicname": {
  24472. "description": "现货单位名称",
  24473. "type": "string"
  24474. },
  24475. "hedgeplanid": {
  24476. "description": "计划id",
  24477. "type": "string"
  24478. },
  24479. "hedgeplanno": {
  24480. "description": "计划编号",
  24481. "type": "string"
  24482. },
  24483. "middlegoodsid": {
  24484. "description": "套保品种ID",
  24485. "type": "integer"
  24486. },
  24487. "middlegoodsplanqty3": {
  24488. "description": "应套保计划量",
  24489. "type": "number"
  24490. },
  24491. "needhedgeratio": {
  24492. "description": "套保比例",
  24493. "type": "number"
  24494. },
  24495. "pricedqty": {
  24496. "description": "已定价量",
  24497. "type": "number"
  24498. },
  24499. "relatedmiddlegoodsqty": {
  24500. "description": "已关联量(套保品种)(期货)",
  24501. "type": "number"
  24502. },
  24503. "unitid": {
  24504. "description": "现货单位id",
  24505. "type": "integer"
  24506. },
  24507. "userid": {
  24508. "description": "用户id",
  24509. "type": "integer"
  24510. },
  24511. "vatrate": {
  24512. "description": "增值税率",
  24513. "type": "number"
  24514. },
  24515. "wrstandardcode": {
  24516. "description": "现货商品代码",
  24517. "type": "string"
  24518. },
  24519. "wrstandardid": {
  24520. "description": "现货商品id",
  24521. "type": "integer"
  24522. },
  24523. "wrstandardname": {
  24524. "description": "现货商品名称",
  24525. "type": "string"
  24526. }
  24527. }
  24528. },
  24529. "models.Ermcp3HedgePlan": {
  24530. "type": "object",
  24531. "properties": {
  24532. "accountid": {
  24533. "description": "资金账号",
  24534. "type": "integer"
  24535. },
  24536. "areauserid": {
  24537. "description": "用户ID",
  24538. "type": "integer"
  24539. },
  24540. "auditid": {
  24541. "description": "审核id",
  24542. "type": "integer"
  24543. },
  24544. "auditname": {
  24545. "description": "审核人名称",
  24546. "type": "string"
  24547. },
  24548. "auditremark": {
  24549. "description": "审核备注",
  24550. "type": "string"
  24551. },
  24552. "auditsrc": {
  24553. "description": "审核来源 1-管理端 2-终端",
  24554. "type": "integer"
  24555. },
  24556. "audittime": {
  24557. "description": "审核时间",
  24558. "type": "string"
  24559. },
  24560. "contracttype": {
  24561. "description": "计划类型 - 1:采购 -1:销售",
  24562. "type": "integer"
  24563. },
  24564. "convertfactor": {
  24565. "description": "标仓系数",
  24566. "type": "number"
  24567. },
  24568. "createtime": {
  24569. "description": "创建时间",
  24570. "type": "string"
  24571. },
  24572. "currencyid": {
  24573. "description": "币种id",
  24574. "type": "integer"
  24575. },
  24576. "currencyname": {
  24577. "description": "币种名称",
  24578. "type": "string"
  24579. },
  24580. "deliverygoodscode": {
  24581. "description": "现货品种代码",
  24582. "type": "string"
  24583. },
  24584. "deliverygoodsid": {
  24585. "description": "现货品种ID",
  24586. "type": "integer"
  24587. },
  24588. "deliverygoodsname": {
  24589. "description": "现货品种名称",
  24590. "type": "string"
  24591. },
  24592. "enumdicname": {
  24593. "description": "单位名称(现货商品)",
  24594. "type": "string"
  24595. },
  24596. "hedgeplanid": {
  24597. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24598. "type": "string"
  24599. },
  24600. "hedgeplanno": {
  24601. "description": "套保计划编号(名称)",
  24602. "type": "string"
  24603. },
  24604. "hedgeplanstatus": {
  24605. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24606. "type": "integer"
  24607. },
  24608. "planqty": {
  24609. "description": "计划数量",
  24610. "type": "number"
  24611. },
  24612. "plantime": {
  24613. "description": "计划时间",
  24614. "type": "string"
  24615. },
  24616. "producttype": {
  24617. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24618. "type": "integer"
  24619. },
  24620. "remark": {
  24621. "description": "备注",
  24622. "type": "string"
  24623. },
  24624. "spotgoodsdesc": {
  24625. "description": "商品型号",
  24626. "type": "string"
  24627. },
  24628. "taaccountname": {
  24629. "description": "资金账号名称",
  24630. "type": "string"
  24631. },
  24632. "tradeuserid": {
  24633. "description": "交易用户id",
  24634. "type": "integer"
  24635. },
  24636. "tradeusername": {
  24637. "description": "交易用户名称",
  24638. "type": "string"
  24639. },
  24640. "unitid": {
  24641. "description": "单位id(现货商品)",
  24642. "type": "integer"
  24643. },
  24644. "updatetime": {
  24645. "description": "更新时间",
  24646. "type": "string"
  24647. },
  24648. "vatrate": {
  24649. "description": "增值税率",
  24650. "type": "number"
  24651. },
  24652. "wrstandardcode": {
  24653. "description": "品类代码",
  24654. "type": "string"
  24655. },
  24656. "wrstandardid": {
  24657. "description": "品类id",
  24658. "type": "integer"
  24659. },
  24660. "wrstandardname": {
  24661. "description": "品类名称",
  24662. "type": "string"
  24663. },
  24664. "wrunitid": {
  24665. "description": "品类单位id",
  24666. "type": "integer"
  24667. },
  24668. "wrunitidame": {
  24669. "description": "品类单位名称",
  24670. "type": "string"
  24671. }
  24672. }
  24673. },
  24674. "models.Ermcp3InnerTradeLink": {
  24675. "type": "object",
  24676. "properties": {
  24677. "accountid": {
  24678. "description": "期货账号代码 | 资金账号ID",
  24679. "type": "integer"
  24680. },
  24681. "buyorsell": {
  24682. "description": "方向 - 0:买 1:卖",
  24683. "type": "integer"
  24684. },
  24685. "channelbuildtype": {
  24686. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24687. "type": "integer"
  24688. },
  24689. "currencyid": {
  24690. "description": "币种id",
  24691. "type": "integer"
  24692. },
  24693. "currencyname": {
  24694. "description": "结算币种 名称",
  24695. "type": "string"
  24696. },
  24697. "goodscode": {
  24698. "description": "商品代码",
  24699. "type": "string"
  24700. },
  24701. "goodsid": {
  24702. "description": "商品ID",
  24703. "type": "integer"
  24704. },
  24705. "goodsname": {
  24706. "description": "商品名称",
  24707. "type": "string"
  24708. },
  24709. "outtradeid": {
  24710. "description": "外部成交单号",
  24711. "type": "string"
  24712. },
  24713. "taname": {
  24714. "description": "期货账户名称",
  24715. "type": "string"
  24716. },
  24717. "tradeid": {
  24718. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24719. "type": "string"
  24720. },
  24721. "tradeprice": {
  24722. "description": "成交价格",
  24723. "type": "number"
  24724. },
  24725. "tradeqty": {
  24726. "description": "期货成交数量",
  24727. "type": "integer"
  24728. },
  24729. "tradetime": {
  24730. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24731. "type": "string"
  24732. },
  24733. "username": {
  24734. "description": "用户名称",
  24735. "type": "string"
  24736. }
  24737. }
  24738. },
  24739. "models.Ermcp3OutTradeLink": {
  24740. "type": "object",
  24741. "properties": {
  24742. "buyorsell": {
  24743. "description": "买卖方向 - 0:买 1:卖",
  24744. "type": "integer"
  24745. },
  24746. "channelbuildtype": {
  24747. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24748. "type": "integer"
  24749. },
  24750. "currencyname": {
  24751. "description": "币种名称",
  24752. "type": "string"
  24753. },
  24754. "exexchangecode": {
  24755. "description": "交易所代码",
  24756. "type": "string"
  24757. },
  24758. "exexchangename": {
  24759. "description": "交易所名称",
  24760. "type": "string"
  24761. },
  24762. "goodscode": {
  24763. "description": "合约代码",
  24764. "type": "string"
  24765. },
  24766. "goodsid": {
  24767. "description": "合约id",
  24768. "type": "integer"
  24769. },
  24770. "goodsname": {
  24771. "description": "合约名称",
  24772. "type": "string"
  24773. },
  24774. "hasinnerorder": {
  24775. "description": "是否有内部单关联 - 0:无 1:有",
  24776. "type": "integer"
  24777. },
  24778. "hedgeaccountcode": {
  24779. "description": "外部账号 | 对冲账号",
  24780. "type": "string"
  24781. },
  24782. "outtradeid": {
  24783. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24784. "type": "string"
  24785. },
  24786. "tradeprice": {
  24787. "description": "成交价格",
  24788. "type": "number"
  24789. },
  24790. "tradeqty": {
  24791. "description": "成交数量",
  24792. "type": "integer"
  24793. },
  24794. "tradetime": {
  24795. "description": "成交时间",
  24796. "type": "string"
  24797. }
  24798. }
  24799. },
  24800. "models.Ermcp3PaAreaAuditCfg": {
  24801. "type": "object",
  24802. "properties": {
  24803. "areauserid": {
  24804. "description": "用户ID",
  24805. "type": "integer"
  24806. },
  24807. "buyinauditflag": {
  24808. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24809. "type": "integer"
  24810. },
  24811. "costratioauditflag": {
  24812. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24813. "type": "integer"
  24814. },
  24815. "customerauditflag": {
  24816. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24817. "type": "integer"
  24818. },
  24819. "deliveryauditflag": {
  24820. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24821. "type": "integer"
  24822. },
  24823. "invoiceauditflag": {
  24824. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24825. "type": "integer"
  24826. },
  24827. "mgneedhedgeratioauditflag": {
  24828. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24829. "type": "integer"
  24830. },
  24831. "moneyauditflag": {
  24832. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24833. "type": "integer"
  24834. },
  24835. "operatorid": {
  24836. "description": "操作人",
  24837. "type": "integer"
  24838. },
  24839. "operatorsrc": {
  24840. "description": "操作来源 - 1:管理端 2:终端",
  24841. "type": "integer"
  24842. },
  24843. "pointpriceauditflag": {
  24844. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24845. "type": "integer"
  24846. },
  24847. "produceinauditflag": {
  24848. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24849. "type": "integer"
  24850. },
  24851. "produceoutauditflag": {
  24852. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24853. "type": "integer"
  24854. },
  24855. "selloutauditflag": {
  24856. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24857. "type": "integer"
  24858. },
  24859. "sgconvertratioauditflag": {
  24860. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24861. "type": "integer"
  24862. },
  24863. "sgvtaratioauditflag": {
  24864. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24865. "type": "integer"
  24866. },
  24867. "spotcontractauditflag": {
  24868. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24869. "type": "integer"
  24870. },
  24871. "updatetime": {
  24872. "description": "更新时间",
  24873. "type": "string"
  24874. }
  24875. }
  24876. },
  24877. "models.Ermcp3PaAreaSubject": {
  24878. "type": "object",
  24879. "properties": {
  24880. "areauserid": {
  24881. "description": "所属机构",
  24882. "type": "integer"
  24883. },
  24884. "canmodify": {
  24885. "description": "是否可修改 - 0:否 1:是",
  24886. "type": "integer"
  24887. },
  24888. "createtime": {
  24889. "description": "创建时间",
  24890. "type": "string"
  24891. },
  24892. "creatorid": {
  24893. "description": "创建人ID",
  24894. "type": "string"
  24895. },
  24896. "creatorsrc": {
  24897. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24898. "type": "integer"
  24899. },
  24900. "modifierid": {
  24901. "description": "修改人",
  24902. "type": "string"
  24903. },
  24904. "modifiersrc": {
  24905. "description": "修改人来源 - 1:管理端 2:终端",
  24906. "type": "integer"
  24907. },
  24908. "modifytime": {
  24909. "description": "修改时间",
  24910. "type": "string"
  24911. },
  24912. "parentsubjectid": {
  24913. "description": "上级主体ID",
  24914. "type": "string"
  24915. },
  24916. "remark": {
  24917. "description": "备注",
  24918. "type": "string"
  24919. },
  24920. "subjectid": {
  24921. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24922. "type": "integer"
  24923. },
  24924. "subjectname": {
  24925. "description": "主体名称",
  24926. "type": "string"
  24927. },
  24928. "subjectstatus": {
  24929. "description": "主体状态 - 1:正常 2: 停用",
  24930. "type": "integer"
  24931. },
  24932. "subjecttype": {
  24933. "description": "主体类型 - 1:交易主体 2:业务部门",
  24934. "type": "integer"
  24935. }
  24936. }
  24937. },
  24938. "models.Ermcp3PaTradeLink": {
  24939. "type": "object",
  24940. "properties": {
  24941. "accountid": {
  24942. "description": "期货账户代码 | 账号ID",
  24943. "type": "integer"
  24944. },
  24945. "agreeunit": {
  24946. "description": "合约乘数",
  24947. "type": "number"
  24948. },
  24949. "buyorsell": {
  24950. "description": "方向 - 0:买 1:卖",
  24951. "type": "integer"
  24952. },
  24953. "channelbuildtype": {
  24954. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24955. "type": "integer"
  24956. },
  24957. "charge": {
  24958. "description": "手续费",
  24959. "type": "number"
  24960. },
  24961. "closepl": {
  24962. "description": "平仓盈亏",
  24963. "type": "number"
  24964. },
  24965. "closetype": {
  24966. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24967. "type": "integer"
  24968. },
  24969. "convertratio": {
  24970. "description": "折算系数",
  24971. "type": "number"
  24972. },
  24973. "enumdicname": {
  24974. "description": "单位名称",
  24975. "type": "string"
  24976. },
  24977. "executeprice": {
  24978. "description": "执行价 [期权]",
  24979. "type": "integer"
  24980. },
  24981. "goodscode": {
  24982. "description": "合约代码",
  24983. "type": "string"
  24984. },
  24985. "goodsgroupid": {
  24986. "description": "对冲品种ID[期货合约商品组ID]",
  24987. "type": "integer"
  24988. },
  24989. "goodsid": {
  24990. "description": "商品ID",
  24991. "type": "integer"
  24992. },
  24993. "goodsname": {
  24994. "description": "合约名称",
  24995. "type": "string"
  24996. },
  24997. "goodunitid": {
  24998. "description": "单位id",
  24999. "type": "integer"
  25000. },
  25001. "hedgeflag": {
  25002. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25003. "type": "integer"
  25004. },
  25005. "marketid": {
  25006. "description": "市场ID",
  25007. "type": "integer"
  25008. },
  25009. "middlegoodsid": {
  25010. "description": "套保品种ID",
  25011. "type": "integer"
  25012. },
  25013. "middlegoodsqty": {
  25014. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25015. "type": "number"
  25016. },
  25017. "optioncode": {
  25018. "description": "期权代码 [期权]",
  25019. "type": "string"
  25020. },
  25021. "ordertype": {
  25022. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25023. "type": "integer"
  25024. },
  25025. "ordertypename": {
  25026. "description": "订单类型",
  25027. "type": "string"
  25028. },
  25029. "parentaccountid": {
  25030. "description": "所属母账户",
  25031. "type": "integer"
  25032. },
  25033. "premium": {
  25034. "description": "权利金 [期权]",
  25035. "type": "number"
  25036. },
  25037. "relatedlot": {
  25038. "description": "已关联数量(已关联数量手) | db:关联手数",
  25039. "type": "number"
  25040. },
  25041. "relatedouttradeid": {
  25042. "description": "关联外部成交单ID",
  25043. "type": "string"
  25044. },
  25045. "relatedqty": {
  25046. "description": "关联数量",
  25047. "type": "number"
  25048. },
  25049. "spotcontractid": {
  25050. "description": "现货合同ID [4:套期保值\\10\\11]",
  25051. "type": "string"
  25052. },
  25053. "taname": {
  25054. "description": "期货账户名称",
  25055. "type": "string"
  25056. },
  25057. "tradeamount": {
  25058. "description": "成交金额(账户)",
  25059. "type": "number"
  25060. },
  25061. "tradedate": {
  25062. "description": "交易日(yyyyMMdd)",
  25063. "type": "string"
  25064. },
  25065. "tradeid": {
  25066. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25067. "type": "string"
  25068. },
  25069. "tradelot": {
  25070. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25071. "type": "integer"
  25072. },
  25073. "tradeprice": {
  25074. "description": "成交价格",
  25075. "type": "number"
  25076. },
  25077. "tradetime": {
  25078. "description": "时间 | db:成交时间",
  25079. "type": "string"
  25080. },
  25081. "tradetype": {
  25082. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25083. "type": "integer"
  25084. },
  25085. "userid": {
  25086. "description": "所属机构 - 所属母账户的UserID",
  25087. "type": "string"
  25088. },
  25089. "username": {
  25090. "description": "用户名称",
  25091. "type": "string"
  25092. }
  25093. }
  25094. },
  25095. "models.Ermcp3ParamChangeApp": {
  25096. "type": "object",
  25097. "properties": {
  25098. "aftervalue": {
  25099. "description": "变更后",
  25100. "type": "number"
  25101. },
  25102. "applicationid": {
  25103. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25104. "type": "string"
  25105. },
  25106. "applyid": {
  25107. "description": "申请人",
  25108. "type": "string"
  25109. },
  25110. "applyname": {
  25111. "description": "申请人名称(代码)",
  25112. "type": "string"
  25113. },
  25114. "applyremark": {
  25115. "description": "申请备注",
  25116. "type": "string"
  25117. },
  25118. "applysrc": {
  25119. "description": "申请来源 - 1:管理端 2:终端",
  25120. "type": "integer"
  25121. },
  25122. "applystatus": {
  25123. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25124. "type": "integer"
  25125. },
  25126. "applytime": {
  25127. "description": "申请时间",
  25128. "type": "string"
  25129. },
  25130. "areauserid": {
  25131. "description": "所属机构用户ID",
  25132. "type": "integer"
  25133. },
  25134. "auditid": {
  25135. "description": "审核人",
  25136. "type": "string"
  25137. },
  25138. "auditname": {
  25139. "description": "审核人名称(代码)",
  25140. "type": "string"
  25141. },
  25142. "auditremark": {
  25143. "description": "审核备注",
  25144. "type": "string"
  25145. },
  25146. "auditsrc": {
  25147. "description": "审核来源 - 1:管理端 2:终端",
  25148. "type": "integer"
  25149. },
  25150. "audittime": {
  25151. "description": "审核时间",
  25152. "type": "string"
  25153. },
  25154. "audittradedate": {
  25155. "description": "审核交易日(yyyyMMdd)",
  25156. "type": "string"
  25157. },
  25158. "beforevalue": {
  25159. "description": "变更前",
  25160. "type": "number"
  25161. },
  25162. "deliverygoodscode": {
  25163. "description": "品种代码",
  25164. "type": "string"
  25165. },
  25166. "deliverygoodsid": {
  25167. "description": "品种id",
  25168. "type": "integer"
  25169. },
  25170. "deliverygoodsname": {
  25171. "description": "品种名称",
  25172. "type": "string"
  25173. },
  25174. "middlegoodscode": {
  25175. "description": "套保品种代码",
  25176. "type": "string"
  25177. },
  25178. "middlegoodsid": {
  25179. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25180. "type": "integer"
  25181. },
  25182. "middlegoodsname": {
  25183. "description": "套保品种名称",
  25184. "type": "string"
  25185. },
  25186. "operatetype": {
  25187. "description": "操作类型 - 1:新增 2:修改",
  25188. "type": "integer"
  25189. },
  25190. "paramchangetype": {
  25191. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25192. "type": "integer"
  25193. },
  25194. "wrstandardcode": {
  25195. "description": "现货商品代码",
  25196. "type": "string"
  25197. },
  25198. "wrstandardid": {
  25199. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25200. "type": "integer"
  25201. },
  25202. "wrstandardname": {
  25203. "description": "现货商品名称",
  25204. "type": "string"
  25205. }
  25206. }
  25207. },
  25208. "models.Ermcp3RootUserAccount": {
  25209. "type": "object",
  25210. "properties": {
  25211. "accountname": {
  25212. "description": "账户名称(机构名称)",
  25213. "type": "string"
  25214. },
  25215. "accountstatus": {
  25216. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25217. "type": "integer"
  25218. },
  25219. "applysrc": {
  25220. "description": "申请来源 - 1:管理端 2:终端",
  25221. "type": "integer"
  25222. },
  25223. "auditremark": {
  25224. "description": "审核备注",
  25225. "type": "string"
  25226. },
  25227. "auditsrc": {
  25228. "description": "审核来源 - 1:管理端 2:终端",
  25229. "type": "integer"
  25230. },
  25231. "audittime": {
  25232. "description": "审核时间",
  25233. "type": "string"
  25234. },
  25235. "audituserid": {
  25236. "description": "审核人",
  25237. "type": "integer"
  25238. },
  25239. "broker": {
  25240. "description": "所属经纪人ID",
  25241. "type": "integer"
  25242. },
  25243. "canceltime": {
  25244. "description": "销户时间",
  25245. "type": "string"
  25246. },
  25247. "canceluserid": {
  25248. "description": "销户人",
  25249. "type": "integer"
  25250. },
  25251. "canrecommend": {
  25252. "description": "是否可推荐 - 0:不可 1;可",
  25253. "type": "integer"
  25254. },
  25255. "createtime": {
  25256. "description": "创建时间",
  25257. "type": "string"
  25258. },
  25259. "creatorid": {
  25260. "description": "创建人",
  25261. "type": "integer"
  25262. },
  25263. "hasauth": {
  25264. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25265. "type": "integer"
  25266. },
  25267. "isanonymous": {
  25268. "description": "是否匿名下单 - 0:否 1:是",
  25269. "type": "integer"
  25270. },
  25271. "maxinvestornum": {
  25272. "description": "最大用户数(经纪会员下投资者个数)",
  25273. "type": "integer"
  25274. },
  25275. "memberuserid": {
  25276. "description": "所属会员ID",
  25277. "type": "integer"
  25278. },
  25279. "modifierid": {
  25280. "description": "修改人",
  25281. "type": "integer"
  25282. },
  25283. "modifyremark": {
  25284. "description": "变更备注",
  25285. "type": "string"
  25286. },
  25287. "modifystatus": {
  25288. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25289. "type": "integer"
  25290. },
  25291. "modifytime": {
  25292. "description": "修改时间",
  25293. "type": "string"
  25294. },
  25295. "nickname": {
  25296. "description": "昵称",
  25297. "type": "string"
  25298. },
  25299. "parenttopuser": {
  25300. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25301. "type": "string"
  25302. },
  25303. "parentuserid": {
  25304. "description": "所属机构ID",
  25305. "type": "integer"
  25306. },
  25307. "reckonaccountid": {
  25308. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25309. "type": "integer"
  25310. },
  25311. "refercount": {
  25312. "description": "推荐总人数",
  25313. "type": "integer"
  25314. },
  25315. "refereeuserid": {
  25316. "description": "推荐人ID",
  25317. "type": "integer"
  25318. },
  25319. "refernum": {
  25320. "description": "推荐码",
  25321. "type": "string"
  25322. },
  25323. "rootuserid": {
  25324. "description": "根用户ID",
  25325. "type": "integer"
  25326. },
  25327. "subaccountlevel": {
  25328. "description": "子账户层数",
  25329. "type": "integer"
  25330. },
  25331. "subarealevelpath": {
  25332. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25333. "type": "string"
  25334. },
  25335. "userid": {
  25336. "description": "用户ID",
  25337. "type": "integer"
  25338. },
  25339. "usertype": {
  25340. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25341. "type": "integer"
  25342. }
  25343. }
  25344. },
  25345. "models.Ermcp3SCMiddleGoods": {
  25346. "type": "object",
  25347. "properties": {
  25348. "biztype": {
  25349. "description": "业务类型 1:套保 2:套利",
  25350. "type": "integer"
  25351. },
  25352. "contractno": {
  25353. "description": "合同编号",
  25354. "type": "string"
  25355. },
  25356. "contracttype": {
  25357. "description": "合同类型 1:采购 -1:销售",
  25358. "type": "integer"
  25359. },
  25360. "convertratio": {
  25361. "description": "折算系数",
  25362. "type": "number"
  25363. },
  25364. "customername": {
  25365. "description": "对手手名称",
  25366. "type": "string"
  25367. },
  25368. "customeruserid": {
  25369. "description": "对手id",
  25370. "type": "integer"
  25371. },
  25372. "deliverygoodscode": {
  25373. "description": "现货品种代码",
  25374. "type": "string"
  25375. },
  25376. "deliverygoodsid": {
  25377. "description": "现货品种ID",
  25378. "type": "integer"
  25379. },
  25380. "deliverygoodsname": {
  25381. "description": "现货品种名称",
  25382. "type": "string"
  25383. },
  25384. "enumdicname": {
  25385. "description": "现货单位名称",
  25386. "type": "string"
  25387. },
  25388. "middlegoodsid": {
  25389. "description": "套保品种ID",
  25390. "type": "integer"
  25391. },
  25392. "middlegoodspricedqty3": {
  25393. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25394. "type": "number"
  25395. },
  25396. "needhedgeratio": {
  25397. "description": "套保比例",
  25398. "type": "number"
  25399. },
  25400. "pricedqty": {
  25401. "description": "已定价量",
  25402. "type": "number"
  25403. },
  25404. "relatedmiddlegoodsqty": {
  25405. "description": "已关联量(套保品种)(期货)",
  25406. "type": "number"
  25407. },
  25408. "spotcontractid": {
  25409. "description": "合同编号",
  25410. "type": "string"
  25411. },
  25412. "unitid": {
  25413. "description": "现货单位id",
  25414. "type": "integer"
  25415. },
  25416. "userid": {
  25417. "description": "用户id",
  25418. "type": "integer"
  25419. },
  25420. "vatrate": {
  25421. "description": "增值税率",
  25422. "type": "number"
  25423. },
  25424. "wrstandardcode": {
  25425. "description": "现货商品代码",
  25426. "type": "string"
  25427. },
  25428. "wrstandardid": {
  25429. "description": "现货商品id",
  25430. "type": "integer"
  25431. },
  25432. "wrstandardname": {
  25433. "description": "现货商品名称",
  25434. "type": "string"
  25435. }
  25436. }
  25437. },
  25438. "models.Ermcp3SCMiddleGoodsReport": {
  25439. "type": "object",
  25440. "properties": {
  25441. "begindate": {
  25442. "description": "开始交易日",
  25443. "type": "string"
  25444. },
  25445. "contractno": {
  25446. "description": "合同编号",
  25447. "type": "string"
  25448. },
  25449. "contracttype": {
  25450. "description": "合同类型 1:采购 -1:销售",
  25451. "type": "integer"
  25452. },
  25453. "convertratio": {
  25454. "description": "期初均价",
  25455. "type": "number"
  25456. },
  25457. "cycletime": {
  25458. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25459. "type": "string"
  25460. },
  25461. "cycletype": {
  25462. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25463. "type": "integer"
  25464. },
  25465. "deliverygoodscode": {
  25466. "description": "品种代码",
  25467. "type": "string"
  25468. },
  25469. "deliverygoodsid": {
  25470. "description": "现货品种ID",
  25471. "type": "integer"
  25472. },
  25473. "deliverygoodsname": {
  25474. "description": "品种名称",
  25475. "type": "string"
  25476. },
  25477. "diffprice": {
  25478. "description": "期初均价",
  25479. "type": "number"
  25480. },
  25481. "diffqty": {
  25482. "description": "期初均价",
  25483. "type": "number"
  25484. },
  25485. "enddate": {
  25486. "description": "结束交易日",
  25487. "type": "string"
  25488. },
  25489. "hedgeplanqty": {
  25490. "description": "期初均价",
  25491. "type": "number"
  25492. },
  25493. "matchname": {
  25494. "description": "交易对手方(个人:用户名称 企业:简称)",
  25495. "type": "string"
  25496. },
  25497. "matchnickname": {
  25498. "description": "交易对手方昵称",
  25499. "type": "string"
  25500. },
  25501. "middlegoodscode": {
  25502. "description": "套保品种代码",
  25503. "type": "string"
  25504. },
  25505. "middlegoodsid": {
  25506. "description": "套保品种ID",
  25507. "type": "integer"
  25508. },
  25509. "middlegoodsname": {
  25510. "description": "套保品种名称",
  25511. "type": "string"
  25512. },
  25513. "middlegoodspricedqty": {
  25514. "description": "期初均价",
  25515. "type": "number"
  25516. },
  25517. "middlegoodspricedqty2": {
  25518. "description": "期初均价",
  25519. "type": "number"
  25520. },
  25521. "middlegoodspricedqty3": {
  25522. "description": "期初均价",
  25523. "type": "number"
  25524. },
  25525. "needhedgeratio": {
  25526. "description": "期初均价",
  25527. "type": "number"
  25528. },
  25529. "pricedamount": {
  25530. "description": "期初均价",
  25531. "type": "number"
  25532. },
  25533. "pricedamount2": {
  25534. "description": "期初均价",
  25535. "type": "number"
  25536. },
  25537. "pricedqty": {
  25538. "description": "期初均价",
  25539. "type": "number"
  25540. },
  25541. "reckondate": {
  25542. "description": "日照时期(yyyyMMdd)",
  25543. "type": "string"
  25544. },
  25545. "relatedmiddlegoodsamount": {
  25546. "description": "期初均价",
  25547. "type": "number"
  25548. },
  25549. "relatedmiddlegoodsqty": {
  25550. "description": "期初均价",
  25551. "type": "number"
  25552. },
  25553. "spotcontractid": {
  25554. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25555. "type": "string"
  25556. },
  25557. "todayavgfutuprice": {
  25558. "description": "期初均价",
  25559. "type": "number"
  25560. },
  25561. "todayavgprice": {
  25562. "description": "期初均价",
  25563. "type": "number"
  25564. },
  25565. "todayavgprice2": {
  25566. "description": "期初均价",
  25567. "type": "number"
  25568. },
  25569. "todaypricedamount": {
  25570. "description": "期初均价",
  25571. "type": "number"
  25572. },
  25573. "todaypricedamount2": {
  25574. "description": "期初均价",
  25575. "type": "number"
  25576. },
  25577. "todaypricedqty": {
  25578. "description": "期初均价",
  25579. "type": "number"
  25580. },
  25581. "todayrelatedfutureqty": {
  25582. "description": "期初均价",
  25583. "type": "number"
  25584. },
  25585. "todayrelatedmiddlegoodsamount": {
  25586. "description": "期初均价",
  25587. "type": "number"
  25588. },
  25589. "todayrelatedmiddlegoodsqty": {
  25590. "description": "期初均价",
  25591. "type": "number"
  25592. },
  25593. "updatetime": {
  25594. "description": "更新时间",
  25595. "type": "string"
  25596. },
  25597. "userid": {
  25598. "description": "合同所属用户id",
  25599. "type": "integer"
  25600. },
  25601. "vatrate": {
  25602. "description": "期初均价",
  25603. "type": "number"
  25604. },
  25605. "wrstandardcode": {
  25606. "description": "商品(品类) 代码",
  25607. "type": "string"
  25608. },
  25609. "wrstandardid": {
  25610. "description": "现货商品ID",
  25611. "type": "integer"
  25612. },
  25613. "wrstandardname": {
  25614. "description": "商品(品类) 名称",
  25615. "type": "string"
  25616. }
  25617. }
  25618. },
  25619. "models.Ermcp3SellBuyContract": {
  25620. "type": "object",
  25621. "properties": {
  25622. "accountid": {
  25623. "description": "期货账户id",
  25624. "type": "string"
  25625. },
  25626. "accountname": {
  25627. "description": "账户名称",
  25628. "type": "string"
  25629. },
  25630. "attachment": {
  25631. "description": "附件",
  25632. "type": "string"
  25633. },
  25634. "audittime": {
  25635. "description": "审核时间",
  25636. "type": "string"
  25637. },
  25638. "bizsubjectid": {
  25639. "description": "归属业务部门ID - SubjectID",
  25640. "type": "integer"
  25641. },
  25642. "biztype": {
  25643. "description": "业务类型 1-套保 2-套利",
  25644. "type": "integer"
  25645. },
  25646. "brandname": {
  25647. "description": "品牌名称",
  25648. "type": "string"
  25649. },
  25650. "contracctstatus": {
  25651. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25652. "type": "integer"
  25653. },
  25654. "contractmargin": {
  25655. "description": "合同保证金",
  25656. "type": "number"
  25657. },
  25658. "contractno": {
  25659. "description": "合同编号",
  25660. "type": "string"
  25661. },
  25662. "contracttype": {
  25663. "description": "合同类型 1-采购, -1-销售",
  25664. "type": "integer"
  25665. },
  25666. "convertfactor": {
  25667. "description": "标仓系数(品类)",
  25668. "type": "number"
  25669. },
  25670. "createtime": {
  25671. "description": "创建时间",
  25672. "type": "string"
  25673. },
  25674. "currencyid": {
  25675. "description": "币种id",
  25676. "type": "integer"
  25677. },
  25678. "currencyname": {
  25679. "description": "币种名称",
  25680. "type": "string"
  25681. },
  25682. "daikaiamount": {
  25683. "description": "应收(开)票额 | 未收票额",
  25684. "type": "number"
  25685. },
  25686. "deliveryenddate": {
  25687. "description": "交割结束日",
  25688. "type": "string"
  25689. },
  25690. "deliverygoodscode": {
  25691. "description": "现货品种代码",
  25692. "type": "string"
  25693. },
  25694. "deliverygoodsid": {
  25695. "description": "现货商品ID",
  25696. "type": "integer"
  25697. },
  25698. "deliverygoodsname": {
  25699. "description": "现货品种名称",
  25700. "type": "string"
  25701. },
  25702. "deliverystartdate": {
  25703. "description": "交割开始日",
  25704. "type": "string"
  25705. },
  25706. "enddate": {
  25707. "description": "点价结束日",
  25708. "type": "string"
  25709. },
  25710. "enumdicname": {
  25711. "description": "单位名称",
  25712. "type": "string"
  25713. },
  25714. "goodscode": {
  25715. "description": "点价商品代码",
  25716. "type": "string"
  25717. },
  25718. "goodsgroupid": {
  25719. "description": "点价商品组id",
  25720. "type": "integer"
  25721. },
  25722. "goodsid": {
  25723. "description": "点价商品ID",
  25724. "type": "integer"
  25725. },
  25726. "goodsname": {
  25727. "description": "点价商品名称",
  25728. "type": "string"
  25729. },
  25730. "invoiceamount": {
  25731. "description": "已开票额",
  25732. "type": "number"
  25733. },
  25734. "loanamount": {
  25735. "description": "贷款总额=已定价额+调整金额",
  25736. "type": "number"
  25737. },
  25738. "margin": {
  25739. "description": "保证金",
  25740. "type": "number"
  25741. },
  25742. "meruserid": {
  25743. "description": "跟单员id",
  25744. "type": "integer"
  25745. },
  25746. "meruserlogincode": {
  25747. "description": "跟单员登录代码",
  25748. "type": "string"
  25749. },
  25750. "merusername": {
  25751. "description": "跟单员名称",
  25752. "type": "string"
  25753. },
  25754. "nickname": {
  25755. "description": "账户昵称",
  25756. "type": "string"
  25757. },
  25758. "orireckonrealqty": {
  25759. "description": "应交收量",
  25760. "type": "number"
  25761. },
  25762. "payamount": {
  25763. "description": "已收付额(收款或付款)",
  25764. "type": "number"
  25765. },
  25766. "preinvoiceamount": {
  25767. "description": "预收(开)票额",
  25768. "type": "number"
  25769. },
  25770. "prepayamount": {
  25771. "description": "预收付额",
  25772. "type": "number"
  25773. },
  25774. "price": {
  25775. "description": "价格",
  25776. "type": "number"
  25777. },
  25778. "pricedamount": {
  25779. "description": "已定价额",
  25780. "type": "number"
  25781. },
  25782. "pricedavg": {
  25783. "description": "已点均价",
  25784. "type": "number"
  25785. },
  25786. "pricedqty": {
  25787. "description": "已定价量",
  25788. "type": "number"
  25789. },
  25790. "pricemove": {
  25791. "description": "升贴水",
  25792. "type": "number"
  25793. },
  25794. "pricetype": {
  25795. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25796. "type": "integer"
  25797. },
  25798. "producttype": {
  25799. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25800. "type": "integer"
  25801. },
  25802. "qty": {
  25803. "description": "合同量",
  25804. "type": "number"
  25805. },
  25806. "reckonadjustamount": {
  25807. "description": "调整金额",
  25808. "type": "number"
  25809. },
  25810. "reckonedamount": {
  25811. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25812. "type": "number"
  25813. },
  25814. "reckonotheramount": {
  25815. "description": "其它费用",
  25816. "type": "number"
  25817. },
  25818. "reckonrealqty": {
  25819. "description": "已交收量",
  25820. "type": "number"
  25821. },
  25822. "remark": {
  25823. "description": "备注",
  25824. "type": "string"
  25825. },
  25826. "saleuserid": {
  25827. "description": "业务员id",
  25828. "type": "integer"
  25829. },
  25830. "saleuserlogincode": {
  25831. "description": "业务员登录代码",
  25832. "type": "string"
  25833. },
  25834. "saleusername": {
  25835. "description": "业务员名称",
  25836. "type": "string"
  25837. },
  25838. "spotcontractid": {
  25839. "description": "合同ID",
  25840. "type": "string"
  25841. },
  25842. "spotgoodsbrandid": {
  25843. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25844. "type": "integer"
  25845. },
  25846. "spotgoodsdesc": {
  25847. "description": "商品型号(商品规格)",
  25848. "type": "string"
  25849. },
  25850. "startdate": {
  25851. "description": "点价开始日",
  25852. "type": "string"
  25853. },
  25854. "subjectid": {
  25855. "description": "交易主体ID",
  25856. "type": "integer"
  25857. },
  25858. "subjectname": {
  25859. "description": "交易主体名称",
  25860. "type": "string"
  25861. },
  25862. "totalamount": {
  25863. "description": "合计总额",
  25864. "type": "number"
  25865. },
  25866. "tradeuserid": {
  25867. "description": "交易员id",
  25868. "type": "integer"
  25869. },
  25870. "tradeuserlogincode": {
  25871. "description": "交易员登录代码",
  25872. "type": "string"
  25873. },
  25874. "tradeusername": {
  25875. "description": "交易员名称",
  25876. "type": "string"
  25877. },
  25878. "unpayamount": {
  25879. "description": "应收付款额(应支付或应收款) | 未付款额",
  25880. "type": "number"
  25881. },
  25882. "unpricedqty": {
  25883. "description": "未定价量",
  25884. "type": "number"
  25885. },
  25886. "unsureqty": {
  25887. "description": "未确定量 | 未交收量",
  25888. "type": "number"
  25889. },
  25890. "userid": {
  25891. "description": "机构ID",
  25892. "type": "integer"
  25893. },
  25894. "vatrate": {
  25895. "description": "增值税率",
  25896. "type": "number"
  25897. },
  25898. "wrstandardcode": {
  25899. "description": "品类代码",
  25900. "type": "string"
  25901. },
  25902. "wrstandardid": {
  25903. "description": "品类ID",
  25904. "type": "integer"
  25905. },
  25906. "wrstandardname": {
  25907. "description": "品类名称",
  25908. "type": "string"
  25909. }
  25910. }
  25911. },
  25912. "models.Ermcp3SpotGoodsPrice": {
  25913. "type": "object",
  25914. "properties": {
  25915. "areauserid": {
  25916. "description": "所属机构id",
  25917. "type": "integer"
  25918. },
  25919. "brandname": {
  25920. "description": "品牌名称",
  25921. "type": "string"
  25922. },
  25923. "currencyid": {
  25924. "description": "报价货币ID",
  25925. "type": "integer"
  25926. },
  25927. "currencyname": {
  25928. "description": "币种名称",
  25929. "type": "string"
  25930. },
  25931. "deliverygoodscode": {
  25932. "description": "现货商品代码",
  25933. "type": "string"
  25934. },
  25935. "deliverygoodsid": {
  25936. "description": "现货商品id",
  25937. "type": "integer"
  25938. },
  25939. "deliverygoodsname": {
  25940. "description": "现货商品名称",
  25941. "type": "string"
  25942. },
  25943. "enumdicname": {
  25944. "description": "现货商品单位名称",
  25945. "type": "string"
  25946. },
  25947. "gbenumdicname": {
  25948. "description": "品类单位名称",
  25949. "type": "string"
  25950. },
  25951. "gmunitid": {
  25952. "description": "品类单位id",
  25953. "type": "integer"
  25954. },
  25955. "isvalid": {
  25956. "description": "是否有效 - 0:无效 1:有效",
  25957. "type": "integer"
  25958. },
  25959. "operateid": {
  25960. "description": "最后操作人",
  25961. "type": "integer"
  25962. },
  25963. "operatesrc": {
  25964. "description": "最后操作来源 - 1:管理端 2:终端",
  25965. "type": "integer"
  25966. },
  25967. "operatetime": {
  25968. "description": "最后操作时间",
  25969. "type": "string"
  25970. },
  25971. "operatorname": {
  25972. "description": "操作人名称",
  25973. "type": "string"
  25974. },
  25975. "spotgoodsbrandid": {
  25976. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25977. "type": "integer"
  25978. },
  25979. "spotgoodsprice": {
  25980. "description": "现货价格",
  25981. "type": "number"
  25982. },
  25983. "tradedate": {
  25984. "description": "交易日(yyyyMMdd)",
  25985. "type": "string"
  25986. },
  25987. "unitid": {
  25988. "description": "现货商品单位id",
  25989. "type": "integer"
  25990. },
  25991. "wrstandardcode": {
  25992. "description": "品类代码",
  25993. "type": "string"
  25994. },
  25995. "wrstandardid": {
  25996. "description": "现货品类ID(通用则为0)",
  25997. "type": "integer"
  25998. },
  25999. "wrstandardname": {
  26000. "description": "品类名称",
  26001. "type": "string"
  26002. }
  26003. }
  26004. },
  26005. "models.Ermcp3SpotGoodsPriceLog": {
  26006. "type": "object",
  26007. "properties": {
  26008. "areauserid": {
  26009. "description": "所属机构id",
  26010. "type": "integer"
  26011. },
  26012. "brandname": {
  26013. "description": "品牌名称",
  26014. "type": "string"
  26015. },
  26016. "currencyid": {
  26017. "description": "报价货币ID",
  26018. "type": "integer"
  26019. },
  26020. "deliverygoodscode": {
  26021. "description": "现货商品代码",
  26022. "type": "string"
  26023. },
  26024. "deliverygoodsid": {
  26025. "description": "现货商品id",
  26026. "type": "integer"
  26027. },
  26028. "deliverygoodsname": {
  26029. "description": "现货商品名称",
  26030. "type": "string"
  26031. },
  26032. "enumdicname": {
  26033. "description": "现货商品单位名称",
  26034. "type": "string"
  26035. },
  26036. "gbenumdicname": {
  26037. "description": "品类单位名称",
  26038. "type": "string"
  26039. },
  26040. "gmunitid": {
  26041. "description": "品类单位id",
  26042. "type": "integer"
  26043. },
  26044. "logid": {
  26045. "description": "日志id",
  26046. "type": "integer"
  26047. },
  26048. "operateid": {
  26049. "description": "最后操作人",
  26050. "type": "integer"
  26051. },
  26052. "operatesrc": {
  26053. "description": "最后操作来源 - 1:管理端 2:终端",
  26054. "type": "integer"
  26055. },
  26056. "operatetime": {
  26057. "description": "最后操作时间",
  26058. "type": "string"
  26059. },
  26060. "operatorname": {
  26061. "description": "操作人名称",
  26062. "type": "string"
  26063. },
  26064. "spotgoodsbrandid": {
  26065. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26066. "type": "integer"
  26067. },
  26068. "spotgoodsprice": {
  26069. "description": "现货价格",
  26070. "type": "number"
  26071. },
  26072. "tradedate": {
  26073. "description": "交易日(yyyyMMdd)",
  26074. "type": "string"
  26075. },
  26076. "unitid": {
  26077. "description": "现货商品单位id",
  26078. "type": "integer"
  26079. },
  26080. "wrstandardcode": {
  26081. "description": "品类代码",
  26082. "type": "string"
  26083. },
  26084. "wrstandardid": {
  26085. "description": "现货品类ID(通用则为0)",
  26086. "type": "integer"
  26087. },
  26088. "wrstandardname": {
  26089. "description": "品类名称",
  26090. "type": "string"
  26091. }
  26092. }
  26093. },
  26094. "models.Ermcp3SubTaaccount": {
  26095. "type": "object",
  26096. "properties": {
  26097. "accountid": {
  26098. "description": "资金账户ID",
  26099. "type": "integer"
  26100. },
  26101. "parentaccountcode": {
  26102. "description": "所属根账号代码(母账号代码)",
  26103. "type": "string"
  26104. },
  26105. "parentaccountid": {
  26106. "description": "所属根账号(母账号)",
  26107. "type": "integer"
  26108. },
  26109. "taname": {
  26110. "description": "资金账号名称",
  26111. "type": "string"
  26112. },
  26113. "tradestatus": {
  26114. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26115. "type": "integer"
  26116. },
  26117. "username": {
  26118. "description": "交易用户",
  26119. "type": "string"
  26120. }
  26121. }
  26122. },
  26123. "models.Ermcp3TaFutuReDataReport": {
  26124. "type": "object",
  26125. "properties": {
  26126. "accountid": {
  26127. "description": "交易账户",
  26128. "type": "integer"
  26129. },
  26130. "accountname": {
  26131. "description": "交易账号名称",
  26132. "type": "string"
  26133. },
  26134. "agreeunit": {
  26135. "description": "商品合约单位",
  26136. "type": "number"
  26137. },
  26138. "begindate": {
  26139. "description": "开始交易日",
  26140. "type": "string"
  26141. },
  26142. "buyorsell": {
  26143. "description": "持仓方向",
  26144. "type": "integer"
  26145. },
  26146. "charge": {
  26147. "description": "手续费",
  26148. "type": "number"
  26149. },
  26150. "closeavgprice": {
  26151. "description": "期初均价",
  26152. "type": "number"
  26153. },
  26154. "closepl": {
  26155. "description": "平仓损益",
  26156. "type": "number"
  26157. },
  26158. "currencyid": {
  26159. "description": "结算币种ID",
  26160. "type": "integer"
  26161. },
  26162. "currencyname": {
  26163. "description": "币种名称",
  26164. "type": "string"
  26165. },
  26166. "cycletime": {
  26167. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26168. "type": "string"
  26169. },
  26170. "cycletype": {
  26171. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26172. "type": "integer"
  26173. },
  26174. "enddate": {
  26175. "description": "结束交易日",
  26176. "type": "string"
  26177. },
  26178. "enumdicname": {
  26179. "description": "单位名称",
  26180. "type": "string"
  26181. },
  26182. "floatpl": {
  26183. "description": "浮动损益",
  26184. "type": "number"
  26185. },
  26186. "goodscode": {
  26187. "description": "交易合约代码",
  26188. "type": "string"
  26189. },
  26190. "goodsgroupid": {
  26191. "description": "交易品种",
  26192. "type": "integer"
  26193. },
  26194. "goodsgroupname": {
  26195. "description": "交易品种名称",
  26196. "type": "string"
  26197. },
  26198. "goodsgroupspotqty": {
  26199. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26200. "type": "number"
  26201. },
  26202. "goodsid": {
  26203. "description": "交易合约",
  26204. "type": "integer"
  26205. },
  26206. "goodsname": {
  26207. "description": "交易合约名称",
  26208. "type": "string"
  26209. },
  26210. "goodunitid": {
  26211. "description": "交易合约单位id",
  26212. "type": "integer"
  26213. },
  26214. "holdamount": {
  26215. "description": "期末持仓额",
  26216. "type": "number"
  26217. },
  26218. "holdqty": {
  26219. "description": "期初均价",
  26220. "type": "number"
  26221. },
  26222. "lastholdamount": {
  26223. "description": "当前持仓额",
  26224. "type": "number"
  26225. },
  26226. "lastprice": {
  26227. "description": "最新价",
  26228. "type": "number"
  26229. },
  26230. "middlegoodsid": {
  26231. "description": "套保品种id",
  26232. "type": "integer"
  26233. },
  26234. "middlegoodsname": {
  26235. "description": "套保商品名称",
  26236. "type": "string"
  26237. },
  26238. "middlegoodsqty": {
  26239. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26240. "type": "number"
  26241. },
  26242. "middlgoodscode": {
  26243. "description": "套保商品代码",
  26244. "type": "string"
  26245. },
  26246. "openamount": {
  26247. "description": "期末开仓额",
  26248. "type": "number"
  26249. },
  26250. "openavgprice": {
  26251. "description": "期初均价",
  26252. "type": "number"
  26253. },
  26254. "oriholdamount": {
  26255. "description": "期初持仓额",
  26256. "type": "number"
  26257. },
  26258. "oriholdqty": {
  26259. "description": "期初均价",
  26260. "type": "number"
  26261. },
  26262. "oriopenamount": {
  26263. "description": "期初开仓额",
  26264. "type": "number"
  26265. },
  26266. "outergroupcode": {
  26267. "description": "交易品种代码",
  26268. "type": "string"
  26269. },
  26270. "qtydecimalplace": {
  26271. "description": "成交量小数位",
  26272. "type": "integer"
  26273. },
  26274. "reckondate": {
  26275. "description": "日照时期(yyyyMMdd)",
  26276. "type": "string"
  26277. },
  26278. "reckonholdamount": {
  26279. "description": "结算持仓额",
  26280. "type": "number"
  26281. },
  26282. "reckonpl": {
  26283. "description": "结算损益",
  26284. "type": "number"
  26285. },
  26286. "reckonpl2": {
  26287. "description": "结算逐笔盈亏",
  26288. "type": "number"
  26289. },
  26290. "reckonprice": {
  26291. "description": "结算价",
  26292. "type": "number"
  26293. },
  26294. "relateduserid": {
  26295. "description": "账户关联用户ID",
  26296. "type": "integer"
  26297. },
  26298. "todaycloseamount": {
  26299. "description": "今平仓额",
  26300. "type": "number"
  26301. },
  26302. "todaycloseqty": {
  26303. "description": "期初均价",
  26304. "type": "number"
  26305. },
  26306. "todaygoodsgroupspotqty": {
  26307. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26308. "type": "number"
  26309. },
  26310. "todaymiddlegoodsqty": {
  26311. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26312. "type": "number"
  26313. },
  26314. "todayopenamount": {
  26315. "description": "今开仓额",
  26316. "type": "number"
  26317. },
  26318. "todayopenqty": {
  26319. "description": "期初均价",
  26320. "type": "number"
  26321. },
  26322. "userid": {
  26323. "description": "账户所属用户ID",
  26324. "type": "integer"
  26325. }
  26326. }
  26327. },
  26328. "models.Ermcp3TradeLinkDetail": {
  26329. "type": "object",
  26330. "properties": {
  26331. "accountid": {
  26332. "description": "资金账号",
  26333. "type": "integer"
  26334. },
  26335. "agreeunit": {
  26336. "description": "合约乘数",
  26337. "type": "number"
  26338. },
  26339. "areauserid": {
  26340. "description": "所属机构",
  26341. "type": "string"
  26342. },
  26343. "bizsubjectid": {
  26344. "description": "归属业务部门ID - SubjectID",
  26345. "type": "string"
  26346. },
  26347. "buyorsell": {
  26348. "description": "方向 - 0:买 1:卖",
  26349. "type": "integer"
  26350. },
  26351. "channelbuildtype": {
  26352. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26353. "type": "integer"
  26354. },
  26355. "contractno": {
  26356. "description": "现货编号 (合同编号)",
  26357. "type": "string"
  26358. },
  26359. "convertratio": {
  26360. "description": "折算系数",
  26361. "type": "number"
  26362. },
  26363. "createtime": {
  26364. "description": "关联时间 | 创建时间",
  26365. "type": "string"
  26366. },
  26367. "creatorid": {
  26368. "description": "创建人ID",
  26369. "type": "string"
  26370. },
  26371. "creatorsrc": {
  26372. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26373. "type": "integer"
  26374. },
  26375. "enumdicname": {
  26376. "description": "单位名称",
  26377. "type": "string"
  26378. },
  26379. "goodscode": {
  26380. "description": "合约代码",
  26381. "type": "string"
  26382. },
  26383. "goodsgroupid": {
  26384. "description": "对冲品种ID[期货合约商品组ID]",
  26385. "type": "integer"
  26386. },
  26387. "goodsid": {
  26388. "description": "商品ID",
  26389. "type": "integer"
  26390. },
  26391. "goodsname": {
  26392. "description": "合约名称",
  26393. "type": "string"
  26394. },
  26395. "hedgeflag": {
  26396. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26397. "type": "integer"
  26398. },
  26399. "linkdetailid": {
  26400. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26401. "type": "string"
  26402. },
  26403. "linkstatus": {
  26404. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26405. "type": "integer"
  26406. },
  26407. "middlegoodscode": {
  26408. "description": "套保品种代码",
  26409. "type": "string"
  26410. },
  26411. "middlegoodsid": {
  26412. "description": "套保品种ID",
  26413. "type": "integer"
  26414. },
  26415. "middlegoodsname": {
  26416. "description": "套保品种名称",
  26417. "type": "string"
  26418. },
  26419. "relatedlot": {
  26420. "description": "关联手数",
  26421. "type": "number"
  26422. },
  26423. "relatedmode": {
  26424. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26425. "type": "integer"
  26426. },
  26427. "relatedqty": {
  26428. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26429. "type": "number"
  26430. },
  26431. "retcode": {
  26432. "description": "返回码",
  26433. "type": "integer"
  26434. },
  26435. "saleuserid": {
  26436. "description": "业务员ID",
  26437. "type": "string"
  26438. },
  26439. "spotcontractid": {
  26440. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26441. "type": "string"
  26442. },
  26443. "taname": {
  26444. "description": "期货账户",
  26445. "type": "string"
  26446. },
  26447. "tradedate": {
  26448. "description": "关联交易日(yyyyMMdd)",
  26449. "type": "string"
  26450. },
  26451. "tradeid": {
  26452. "description": "期货订单号 | 内部成交单ID",
  26453. "type": "string"
  26454. },
  26455. "tradelot": {
  26456. "description": "成交数量 | 成交手数",
  26457. "type": "integer"
  26458. },
  26459. "tradeprice": {
  26460. "description": "成交价格",
  26461. "type": "number"
  26462. },
  26463. "tradetime": {
  26464. "description": "期货成交时间",
  26465. "type": "string"
  26466. },
  26467. "tradetradedate": {
  26468. "description": "成交交易日(yyyyMMdd)",
  26469. "type": "string"
  26470. },
  26471. "username": {
  26472. "description": "用户名称",
  26473. "type": "string"
  26474. }
  26475. }
  26476. },
  26477. "models.Ermcp3Wrstandard": {
  26478. "type": "object",
  26479. "properties": {
  26480. "areauserid": {
  26481. "description": "所属机构",
  26482. "type": "integer"
  26483. },
  26484. "cantrade": {
  26485. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26486. "type": "integer"
  26487. },
  26488. "convertfactor": {
  26489. "description": "标仓系数",
  26490. "type": "number"
  26491. },
  26492. "createtime": {
  26493. "description": "创建时间",
  26494. "type": "string"
  26495. },
  26496. "creatorid": {
  26497. "description": "创建人",
  26498. "type": "integer"
  26499. },
  26500. "deliverygoodsid": {
  26501. "description": "现货品种ID",
  26502. "type": "integer"
  26503. },
  26504. "enumdicname": {
  26505. "description": "品类单位名称",
  26506. "type": "string"
  26507. },
  26508. "isvalid": {
  26509. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26510. "type": "integer"
  26511. },
  26512. "minivalue": {
  26513. "description": "最小变动值",
  26514. "type": "integer"
  26515. },
  26516. "minivaluedp": {
  26517. "description": "最小变动值小数位",
  26518. "type": "integer"
  26519. },
  26520. "realminivalue": {
  26521. "description": "实际最小变动值",
  26522. "type": "integer"
  26523. },
  26524. "realminivaluedp": {
  26525. "description": "实际最小变动值小数位",
  26526. "type": "integer"
  26527. },
  26528. "remark": {
  26529. "description": "备注",
  26530. "type": "string"
  26531. },
  26532. "unitid": {
  26533. "description": "品类单位ID",
  26534. "type": "integer"
  26535. },
  26536. "updatetime": {
  26537. "description": "更新时间",
  26538. "type": "string"
  26539. },
  26540. "wrstandardcode": {
  26541. "description": "品类代码",
  26542. "type": "string"
  26543. },
  26544. "wrstandardid": {
  26545. "description": "品类ID(SEQ_WRSTANDARD)",
  26546. "type": "integer"
  26547. },
  26548. "wrstandardname": {
  26549. "description": "品类名称",
  26550. "type": "string"
  26551. }
  26552. }
  26553. },
  26554. "models.Ermcp8EnableHedgeditem": {
  26555. "type": "object",
  26556. "properties": {
  26557. "accountname": {
  26558. "description": "套期主体",
  26559. "type": "string"
  26560. },
  26561. "hedgeditemid": {
  26562. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26563. "type": "string"
  26564. },
  26565. "hedgeditemname": {
  26566. "description": "项目名称",
  26567. "type": "string"
  26568. },
  26569. "hedgeditemnum": {
  26570. "description": "项目编号",
  26571. "type": "string"
  26572. },
  26573. "hedgedtype": {
  26574. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26575. "type": "integer"
  26576. },
  26577. "planenddate": {
  26578. "description": "计划结束日期",
  26579. "type": "string"
  26580. },
  26581. "planstartdate": {
  26582. "description": "计划开始日期",
  26583. "type": "string"
  26584. },
  26585. "wrstandardid": {
  26586. "description": "现货商品ID",
  26587. "type": "integer"
  26588. },
  26589. "wrstandardname": {
  26590. "description": "现货商品",
  26591. "type": "string"
  26592. }
  26593. }
  26594. },
  26595. "models.Ermcp8HedgeditemReport": {
  26596. "type": "object",
  26597. "properties": {
  26598. "accountname": {
  26599. "description": "套期主体",
  26600. "type": "string"
  26601. },
  26602. "areauserid": {
  26603. "description": "企业ID",
  26604. "type": "integer"
  26605. },
  26606. "curprice": {
  26607. "description": "[当日现货市场价]当前市场价",
  26608. "type": "number"
  26609. },
  26610. "enumdicname": {
  26611. "description": "单位",
  26612. "type": "string"
  26613. },
  26614. "exeamount": {
  26615. "description": "[执行现货金额]执行市价总额",
  26616. "type": "number"
  26617. },
  26618. "exeavgprice": {
  26619. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26620. "type": "number"
  26621. },
  26622. "exeqty": {
  26623. "description": "[执行数量]执行现货量",
  26624. "type": "number"
  26625. },
  26626. "futurehedgepl": {
  26627. "description": "期货实际损益",
  26628. "type": "number"
  26629. },
  26630. "futurehedgeplchange": {
  26631. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26632. "type": "number"
  26633. },
  26634. "futurepl": {
  26635. "description": "期货套期损益",
  26636. "type": "number"
  26637. },
  26638. "futureplchange": {
  26639. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26640. "type": "number"
  26641. },
  26642. "hedgeamount": {
  26643. "description": "[套期现货金额]套期市价总额",
  26644. "type": "number"
  26645. },
  26646. "hedgeditemnum": {
  26647. "description": "项目编号,模糊查询",
  26648. "type": "string"
  26649. },
  26650. "hedgeditemstatus": {
  26651. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26652. "type": "integer"
  26653. },
  26654. "hedgedtype": {
  26655. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26656. "type": "integer"
  26657. },
  26658. "hedgeqty": {
  26659. "description": "[套期数量]套期现货量",
  26660. "type": "number"
  26661. },
  26662. "oriavgprice": {
  26663. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26664. "type": "number"
  26665. },
  26666. "orifuturehedgepl": {
  26667. "description": "期初期货实际损益",
  26668. "type": "number"
  26669. },
  26670. "orifuturepl": {
  26671. "description": "期初期货套期损益",
  26672. "type": "number"
  26673. },
  26674. "orispothedgepl": {
  26675. "description": "期初现货实际损益",
  26676. "type": "number"
  26677. },
  26678. "orispotpl": {
  26679. "description": "期初现货套期损益",
  26680. "type": "number"
  26681. },
  26682. "planenddate": {
  26683. "description": "计划结束日期",
  26684. "type": "string"
  26685. },
  26686. "planstartdate": {
  26687. "description": "计划开始日期",
  26688. "type": "string"
  26689. },
  26690. "spothedgepl": {
  26691. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26692. "type": "number"
  26693. },
  26694. "spothedgeplchange": {
  26695. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26696. "type": "number"
  26697. },
  26698. "spotpl": {
  26699. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26700. "type": "number"
  26701. },
  26702. "spotplchange": {
  26703. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26704. "type": "number"
  26705. },
  26706. "tradeuserid": {
  26707. "description": "交易用户ID",
  26708. "type": "integer"
  26709. },
  26710. "unexeqty": {
  26711. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26712. "type": "number"
  26713. },
  26714. "wrstandardcode": {
  26715. "description": "现货品类代码",
  26716. "type": "string"
  26717. },
  26718. "wrstandardid": {
  26719. "description": "现货商品ID",
  26720. "type": "integer"
  26721. },
  26722. "wrstandardname": {
  26723. "description": "[现货商品]现货品类名称",
  26724. "type": "string"
  26725. }
  26726. }
  26727. },
  26728. "models.Ermcp8RunningHedgeditem": {
  26729. "type": "object",
  26730. "properties": {
  26731. "accountname": {
  26732. "description": "套期主体",
  26733. "type": "string"
  26734. },
  26735. "applyid": {
  26736. "description": "申请人",
  26737. "type": "integer"
  26738. },
  26739. "applysrc": {
  26740. "description": "申请来源 - 1:管理端 2:终端",
  26741. "type": "integer"
  26742. },
  26743. "areauserid": {
  26744. "description": "企业ID",
  26745. "type": "integer"
  26746. },
  26747. "auditid": {
  26748. "description": "审核人",
  26749. "type": "integer"
  26750. },
  26751. "auditremark": {
  26752. "description": "审核备注",
  26753. "type": "string"
  26754. },
  26755. "auditsrc": {
  26756. "description": "审核来源 - 1:管理端 2:终端",
  26757. "type": "integer"
  26758. },
  26759. "audittime": {
  26760. "description": "审核时间",
  26761. "type": "string"
  26762. },
  26763. "audittradedate": {
  26764. "description": "审核交易日(yyyyMMdd)",
  26765. "type": "string"
  26766. },
  26767. "createtime": {
  26768. "description": "申请时间",
  26769. "type": "string"
  26770. },
  26771. "curprice": {
  26772. "description": "当前市场价",
  26773. "type": "number"
  26774. },
  26775. "curstock": {
  26776. "description": "期末库存量 = 采购总量 - 销售总量",
  26777. "type": "number"
  26778. },
  26779. "deliverygoodsid": {
  26780. "description": "现货品种ID",
  26781. "type": "integer"
  26782. },
  26783. "enddate": {
  26784. "description": "完成日期",
  26785. "type": "string"
  26786. },
  26787. "endtradedate": {
  26788. "description": "完成交易日",
  26789. "type": "string"
  26790. },
  26791. "enumdicname": {
  26792. "description": "单位",
  26793. "type": "string"
  26794. },
  26795. "exeamount": {
  26796. "description": "执行市价总额",
  26797. "type": "number"
  26798. },
  26799. "exeavgprice": {
  26800. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26801. "type": "number"
  26802. },
  26803. "execontractamount": {
  26804. "description": "执行定价总额",
  26805. "type": "number"
  26806. },
  26807. "exeqty": {
  26808. "description": "执行现货量",
  26809. "type": "number"
  26810. },
  26811. "exerestamount": {
  26812. "description": "执行剩余市价总额【现货贸易】",
  26813. "type": "number"
  26814. },
  26815. "futurefloatpl": {
  26816. "description": "期货浮动损益",
  26817. "type": "number"
  26818. },
  26819. "futurehedgepl": {
  26820. "description": "期货实际损益",
  26821. "type": "number"
  26822. },
  26823. "futurehedgeplchange": {
  26824. "description": "期货实际损益变动",
  26825. "type": "number"
  26826. },
  26827. "futurepl": {
  26828. "description": "期货套期损益",
  26829. "type": "number"
  26830. },
  26831. "futureplchange": {
  26832. "description": "期货套期损益变动",
  26833. "type": "number"
  26834. },
  26835. "hedgeamount": {
  26836. "description": "套期市价总额",
  26837. "type": "number"
  26838. },
  26839. "hedgecontractamount": {
  26840. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26841. "type": "number"
  26842. },
  26843. "hedgeditemid": {
  26844. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26845. "type": "string"
  26846. },
  26847. "hedgeditemname": {
  26848. "description": "项目名称",
  26849. "type": "string"
  26850. },
  26851. "hedgeditemnum": {
  26852. "description": "项目编号",
  26853. "type": "string"
  26854. },
  26855. "hedgeditemstatus": {
  26856. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26857. "type": "integer"
  26858. },
  26859. "hedgedtype": {
  26860. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26861. "type": "integer"
  26862. },
  26863. "hedgeqty": {
  26864. "description": "套期现货量",
  26865. "type": "number"
  26866. },
  26867. "hedgerate": {
  26868. "description": "套保比率",
  26869. "type": "number"
  26870. },
  26871. "hedgerestamount": {
  26872. "description": "套期剩余市价总额【现货贸易】",
  26873. "type": "number"
  26874. },
  26875. "hedgesumpl": {
  26876. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26877. "type": "number"
  26878. },
  26879. "middlegoodslist": {
  26880. "description": "套期商品列表",
  26881. "type": "array",
  26882. "items": {
  26883. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26884. }
  26885. },
  26886. "oriavgprice": {
  26887. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26888. "type": "number"
  26889. },
  26890. "orifuturehedgepl": {
  26891. "description": "期初期货实际损益",
  26892. "type": "number"
  26893. },
  26894. "orifuturepl": {
  26895. "description": "期初期货套期损益",
  26896. "type": "number"
  26897. },
  26898. "orispothedgepl": {
  26899. "description": "期初现货实际损益",
  26900. "type": "number"
  26901. },
  26902. "orispotpl": {
  26903. "description": "期初现货套期损益",
  26904. "type": "number"
  26905. },
  26906. "planenddate": {
  26907. "description": "计划结束日期",
  26908. "type": "string"
  26909. },
  26910. "planstartdate": {
  26911. "description": "计划开始日期",
  26912. "type": "string"
  26913. },
  26914. "remark": {
  26915. "description": "备注",
  26916. "type": "string"
  26917. },
  26918. "spotbookamount": {
  26919. "description": "现货账面总额",
  26920. "type": "number"
  26921. },
  26922. "spotfloatpl": {
  26923. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26924. "type": "number"
  26925. },
  26926. "spothedgepl": {
  26927. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26928. "type": "number"
  26929. },
  26930. "spothedgeplchange": {
  26931. "description": "现货实际损益变动",
  26932. "type": "number"
  26933. },
  26934. "spotpl": {
  26935. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26936. "type": "number"
  26937. },
  26938. "spotplchange": {
  26939. "description": "现货套期损益变动",
  26940. "type": "number"
  26941. },
  26942. "spottradepl": {
  26943. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26944. "type": "number"
  26945. },
  26946. "sumobspl": {
  26947. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26948. "type": "number"
  26949. },
  26950. "tradeuserid": {
  26951. "description": "交易用户ID",
  26952. "type": "integer"
  26953. },
  26954. "unexeqty": {
  26955. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26956. "type": "number"
  26957. },
  26958. "updatetime": {
  26959. "description": "更新时间",
  26960. "type": "string"
  26961. },
  26962. "vatpl": {
  26963. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26964. "type": "number"
  26965. },
  26966. "vatrate": {
  26967. "description": "增值税",
  26968. "type": "number"
  26969. },
  26970. "wrstandardid": {
  26971. "description": "现货商品ID",
  26972. "type": "integer"
  26973. },
  26974. "wrstandardname": {
  26975. "description": "商品名称",
  26976. "type": "string"
  26977. }
  26978. }
  26979. },
  26980. "models.ErmcpBizGroupEx": {
  26981. "type": "object",
  26982. "properties": {
  26983. "acclist": {
  26984. "description": "账号列表",
  26985. "type": "array",
  26986. "items": {
  26987. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26988. }
  26989. },
  26990. "bizgroupid": {
  26991. "description": "业务分组id",
  26992. "type": "integer"
  26993. },
  26994. "biztype": {
  26995. "description": "业务类型 1-套保 2-套利",
  26996. "type": "integer"
  26997. },
  26998. "wrlist": {
  26999. "description": "现货商品表",
  27000. "type": "array",
  27001. "items": {
  27002. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27003. }
  27004. }
  27005. }
  27006. },
  27007. "models.ErmcpBizGroupSpotGoods": {
  27008. "type": "object",
  27009. "properties": {
  27010. "areauserid": {
  27011. "description": "所属机构id",
  27012. "type": "integer"
  27013. },
  27014. "bizgroupid": {
  27015. "description": "分组id",
  27016. "type": "integer"
  27017. },
  27018. "biztype": {
  27019. "description": "业务类型 1-套保 2-套利",
  27020. "type": "integer"
  27021. },
  27022. "deliverygoodscode": {
  27023. "description": "现货商品代码",
  27024. "type": "string"
  27025. },
  27026. "deliverygoodsid": {
  27027. "description": "现货商品id",
  27028. "type": "integer"
  27029. },
  27030. "deliverygoodsname": {
  27031. "description": "现货商品名称",
  27032. "type": "string"
  27033. },
  27034. "unitid": {
  27035. "description": "现货商品单位id",
  27036. "type": "integer"
  27037. }
  27038. }
  27039. },
  27040. "models.ErmcpBizGroupTaAccount": {
  27041. "type": "object",
  27042. "properties": {
  27043. "accountid": {
  27044. "description": "账号id",
  27045. "type": "integer"
  27046. },
  27047. "accountname": {
  27048. "description": "账号名称",
  27049. "type": "string"
  27050. },
  27051. "areauserid": {
  27052. "description": "所属机构id",
  27053. "type": "integer"
  27054. },
  27055. "bizgroupid": {
  27056. "description": "业务分组id",
  27057. "type": "integer"
  27058. },
  27059. "ismain": {
  27060. "description": "是否主账号 1-是 0-否",
  27061. "type": "integer"
  27062. }
  27063. }
  27064. },
  27065. "models.ErmcpDGFactoryItem": {
  27066. "type": "object",
  27067. "properties": {
  27068. "areauserid": {
  27069. "description": "用户id",
  27070. "type": "integer"
  27071. },
  27072. "deliverygoodsid": {
  27073. "description": "现货品种ID",
  27074. "type": "integer"
  27075. },
  27076. "dgfactoryitemid": {
  27077. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27078. "type": "integer"
  27079. },
  27080. "dgfactoryitemtypeid": {
  27081. "description": "要素项类型",
  27082. "type": "integer"
  27083. },
  27084. "dgfactoryitemvalue": {
  27085. "description": "要素项值(类型为仓库时填写仓库名称)",
  27086. "type": "string"
  27087. },
  27088. "isvalid": {
  27089. "description": "是否有效 - 0:无效 1:有效",
  27090. "type": "integer"
  27091. },
  27092. "orderindex": {
  27093. "description": "顺序",
  27094. "type": "integer"
  27095. },
  27096. "warehouseid": {
  27097. "description": "仓库ID(类型为仓库时填写)",
  27098. "type": "integer"
  27099. }
  27100. }
  27101. },
  27102. "models.ErmcpDeliveryGoods": {
  27103. "type": "object",
  27104. "properties": {
  27105. "agreeunit": {
  27106. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27107. "type": "integer"
  27108. },
  27109. "areauserid": {
  27110. "description": "所属机构",
  27111. "type": "integer"
  27112. },
  27113. "auditflag": {
  27114. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27115. "type": "integer"
  27116. },
  27117. "categoryid": {
  27118. "description": "类别ID(SEQ_WRCATEGORY)",
  27119. "type": "integer"
  27120. },
  27121. "deliverygoodscode": {
  27122. "description": "现货品种代码",
  27123. "type": "string"
  27124. },
  27125. "deliverygoodsid": {
  27126. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27127. "type": "integer"
  27128. },
  27129. "deliverygoodsname": {
  27130. "description": "现货品种名称",
  27131. "type": "string"
  27132. },
  27133. "deliverygoodstype": {
  27134. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27135. "type": "integer"
  27136. },
  27137. "dgstatus": {
  27138. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27139. "type": "integer"
  27140. },
  27141. "enumdicname": {
  27142. "description": "现货品种单位名称",
  27143. "type": "string"
  27144. },
  27145. "goodsunitid": {
  27146. "description": "现货品种单位ID",
  27147. "type": "integer"
  27148. },
  27149. "isvalid": {
  27150. "description": "是否有效 - 0:无效 1:有效",
  27151. "type": "integer"
  27152. },
  27153. "qtydecimalplace": {
  27154. "description": "成交量小数位",
  27155. "type": "integer"
  27156. },
  27157. "remark": {
  27158. "description": "备注",
  27159. "type": "string"
  27160. },
  27161. "standardqty": {
  27162. "description": "标准数量(库位数量) [标准品特有]",
  27163. "type": "integer"
  27164. },
  27165. "standardqtyrange": {
  27166. "description": "标准数量偏差范围 [标准品特有]",
  27167. "type": "integer"
  27168. }
  27169. }
  27170. },
  27171. "models.ErmcpFuturesCompany": {
  27172. "type": "object",
  27173. "properties": {
  27174. "brokerid": {
  27175. "description": "经纪公司代码",
  27176. "type": "string"
  27177. },
  27178. "channeladdress": {
  27179. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27180. "type": "string"
  27181. },
  27182. "channelid": {
  27183. "description": "对冲渠道ID",
  27184. "type": "string"
  27185. },
  27186. "createtime": {
  27187. "description": "创建时间",
  27188. "type": "string"
  27189. },
  27190. "creatorid": {
  27191. "description": "创建人",
  27192. "type": "string"
  27193. },
  27194. "fcid": {
  27195. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27196. "type": "integer"
  27197. },
  27198. "fcname": {
  27199. "description": "期货公司名称",
  27200. "type": "string"
  27201. },
  27202. "isvalid": {
  27203. "description": "是否有效 - 0:无效 1:有效",
  27204. "type": "integer"
  27205. },
  27206. "mhpaddress": {
  27207. "description": "MHP服务地址(IP:Port)",
  27208. "type": "string"
  27209. },
  27210. "riskrulegroupid": {
  27211. "description": "风控规则组ID",
  27212. "type": "string"
  27213. },
  27214. "tradefeetmpid": {
  27215. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27216. "type": "string"
  27217. },
  27218. "trademargintmpid": {
  27219. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27220. "type": "string"
  27221. },
  27222. "traderatetmpid": {
  27223. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27224. "type": "string"
  27225. },
  27226. "updatetime": {
  27227. "description": "更新时间",
  27228. "type": "string"
  27229. },
  27230. "updatorid": {
  27231. "description": "更新人",
  27232. "type": "string"
  27233. }
  27234. }
  27235. },
  27236. "models.ErmcpGGConvertCfg": {
  27237. "type": "object",
  27238. "properties": {
  27239. "convertratio": {
  27240. "description": "折算系数",
  27241. "type": "number"
  27242. },
  27243. "destgoodsgroupid": {
  27244. "description": "目标品种ID",
  27245. "type": "integer"
  27246. },
  27247. "dstcode": {
  27248. "description": "目录品种代码",
  27249. "type": "string"
  27250. },
  27251. "dstexchangecode": {
  27252. "description": "目标期货交易所",
  27253. "type": "string"
  27254. },
  27255. "dstname": {
  27256. "description": "目标品种名称",
  27257. "type": "string"
  27258. },
  27259. "dstunitid": {
  27260. "description": "目标品种单位ID",
  27261. "type": "integer"
  27262. },
  27263. "dstunitidname": {
  27264. "description": "目标品种单位名称",
  27265. "type": "string"
  27266. },
  27267. "modifytime": {
  27268. "description": "修改时间",
  27269. "type": "string"
  27270. },
  27271. "srccode": {
  27272. "description": "源品种代码",
  27273. "type": "string"
  27274. },
  27275. "srcexchangecode": {
  27276. "description": "源期货交易所",
  27277. "type": "string"
  27278. },
  27279. "srcgoodsgroupid": {
  27280. "description": "源品种ID",
  27281. "type": "integer"
  27282. },
  27283. "srcname": {
  27284. "description": "源品种名称",
  27285. "type": "string"
  27286. },
  27287. "srcunitid": {
  27288. "description": "源品种单位ID",
  27289. "type": "integer"
  27290. },
  27291. "srcunitidname": {
  27292. "description": "源品种单位名称",
  27293. "type": "string"
  27294. }
  27295. }
  27296. },
  27297. "models.ErmcpGoods": {
  27298. "type": "object",
  27299. "required": [
  27300. "goodscode",
  27301. "goodsid",
  27302. "goodsname",
  27303. "marketid"
  27304. ],
  27305. "properties": {
  27306. "agreeunit": {
  27307. "description": "合约单位",
  27308. "type": "number"
  27309. },
  27310. "areauserid": {
  27311. "description": "所属机构",
  27312. "type": "integer"
  27313. },
  27314. "auditaccountid": {
  27315. "description": "审核操作员账号",
  27316. "type": "integer"
  27317. },
  27318. "audittime": {
  27319. "description": "审核时间",
  27320. "type": "string"
  27321. },
  27322. "cancelaccountid": {
  27323. "description": "注销操作员账号",
  27324. "type": "integer"
  27325. },
  27326. "canceltime": {
  27327. "description": "注销时间",
  27328. "type": "string"
  27329. },
  27330. "closepricemode": {
  27331. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27332. "type": "integer"
  27333. },
  27334. "closepriceparam": {
  27335. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27336. "type": "number"
  27337. },
  27338. "createtime": {
  27339. "description": "创建时间",
  27340. "type": "string"
  27341. },
  27342. "creatorid": {
  27343. "description": "创建人",
  27344. "type": "integer"
  27345. },
  27346. "currencyid": {
  27347. "description": "报价货币ID",
  27348. "type": "integer"
  27349. },
  27350. "cutmode": {
  27351. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27352. "type": "integer"
  27353. },
  27354. "decimalplace": {
  27355. "description": "报价小数位",
  27356. "type": "integer"
  27357. },
  27358. "delistingdate": {
  27359. "description": "商品退市时间(状态:退市) -- 已作废",
  27360. "type": "string"
  27361. },
  27362. "delistingmode": {
  27363. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27364. "type": "integer"
  27365. },
  27366. "deliveryflag": {
  27367. "description": "交割标志 - 0:不可交割 1:可交割",
  27368. "type": "integer"
  27369. },
  27370. "enumdicname": {
  27371. "description": "单位名称",
  27372. "type": "string"
  27373. },
  27374. "forceclosemode": {
  27375. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27376. "type": "integer"
  27377. },
  27378. "forceclosevalue": {
  27379. "description": "定期强平参数 [收益权]",
  27380. "type": "integer"
  27381. },
  27382. "goodscode": {
  27383. "description": "商品代码(内部)",
  27384. "type": "string"
  27385. },
  27386. "goodscurrencyid": {
  27387. "description": "合约货币ID",
  27388. "type": "integer"
  27389. },
  27390. "goodsgroupid": {
  27391. "description": "所属商品组ID",
  27392. "type": "integer"
  27393. },
  27394. "goodsid": {
  27395. "description": "商品ID(自增ID SEQ_GOODS)",
  27396. "type": "integer"
  27397. },
  27398. "goodsname": {
  27399. "description": "商品名称",
  27400. "type": "string"
  27401. },
  27402. "goodsquotetype": {
  27403. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27404. "type": "integer"
  27405. },
  27406. "goodsstatus": {
  27407. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27408. "type": "integer"
  27409. },
  27410. "goodstradetype": {
  27411. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27412. "type": "integer"
  27413. },
  27414. "goodunitid": {
  27415. "description": "报价单位ID",
  27416. "type": "integer"
  27417. },
  27418. "hasquoter": {
  27419. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27420. "type": "integer"
  27421. },
  27422. "hqprotecttime": {
  27423. "description": "行情保护时间(秒)",
  27424. "type": "integer"
  27425. },
  27426. "innerdealmode": {
  27427. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27428. "type": "integer"
  27429. },
  27430. "isbuylimited": {
  27431. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27432. "type": "integer"
  27433. },
  27434. "isvisible": {
  27435. "description": "游客是否可见 - 0:不可见 1:可见",
  27436. "type": "integer"
  27437. },
  27438. "lasttradedate": {
  27439. "description": "最后交易日期(状态:待退市)",
  27440. "type": "string"
  27441. },
  27442. "listingdate": {
  27443. "description": "交易开始日期",
  27444. "type": "string"
  27445. },
  27446. "marketid": {
  27447. "description": "所属市场ID",
  27448. "type": "integer"
  27449. },
  27450. "modifierid": {
  27451. "description": "修改人",
  27452. "type": "integer"
  27453. },
  27454. "modifystatus": {
  27455. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27456. "type": "integer"
  27457. },
  27458. "modifytime": {
  27459. "description": "修改时间",
  27460. "type": "string"
  27461. },
  27462. "outerdealmode": {
  27463. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27464. "type": "integer"
  27465. },
  27466. "outgoodscode": {
  27467. "description": "商品代码(外部)",
  27468. "type": "string"
  27469. },
  27470. "pictureurl": {
  27471. "description": "商品图片",
  27472. "type": "string"
  27473. },
  27474. "qtydecimalplace": {
  27475. "description": "成交量小数位",
  27476. "type": "integer"
  27477. },
  27478. "quotegear": {
  27479. "description": "行情档位(1-10)",
  27480. "type": "integer"
  27481. },
  27482. "quoteminunit": {
  27483. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27484. "type": "integer"
  27485. },
  27486. "quoteshowtype": {
  27487. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27488. "type": "integer"
  27489. },
  27490. "quoteshowtypeinterval": {
  27491. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27492. "type": "integer"
  27493. },
  27494. "relatedgoodsid": {
  27495. "description": "关联参考商品ID",
  27496. "type": "integer"
  27497. },
  27498. "remark": {
  27499. "description": "备注",
  27500. "type": "string"
  27501. },
  27502. "trademode": {
  27503. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27504. "type": "integer"
  27505. }
  27506. }
  27507. },
  27508. "models.ErmcpGoodsBrand": {
  27509. "type": "object",
  27510. "properties": {
  27511. "areauserid": {
  27512. "description": "所属机构",
  27513. "type": "integer"
  27514. },
  27515. "brandid": {
  27516. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27517. "type": "integer"
  27518. },
  27519. "brandname": {
  27520. "description": "品牌名称",
  27521. "type": "string"
  27522. },
  27523. "createtime": {
  27524. "description": "创建时间",
  27525. "type": "string"
  27526. },
  27527. "creatorid": {
  27528. "description": "创建人",
  27529. "type": "integer"
  27530. },
  27531. "creatorsrc": {
  27532. "description": "创建人来源 - 1:管理端 2:终端",
  27533. "type": "integer"
  27534. },
  27535. "deliverygoodsid": {
  27536. "description": "现货品种ID",
  27537. "type": "integer"
  27538. },
  27539. "isvalid": {
  27540. "description": "是否有效 - 0:无效 1:有效",
  27541. "type": "integer"
  27542. },
  27543. "updatetime": {
  27544. "description": "更新时间",
  27545. "type": "string"
  27546. },
  27547. "updatorid": {
  27548. "description": "更新人",
  27549. "type": "integer"
  27550. },
  27551. "updatorsrc": {
  27552. "description": "更新人来源 - 1:管理端 2:终端",
  27553. "type": "integer"
  27554. },
  27555. "wrstandardid": {
  27556. "description": "现货商品ID",
  27557. "type": "integer"
  27558. }
  27559. }
  27560. },
  27561. "models.ErmcpGoodsModel": {
  27562. "type": "object",
  27563. "properties": {
  27564. "areauserid": {
  27565. "description": "所属机构",
  27566. "type": "integer"
  27567. },
  27568. "convertfactor": {
  27569. "description": "标仓系数",
  27570. "type": "number"
  27571. },
  27572. "createtime": {
  27573. "description": "创建时间",
  27574. "type": "string"
  27575. },
  27576. "creatorid": {
  27577. "description": "创建人",
  27578. "type": "integer"
  27579. },
  27580. "creatorsrc": {
  27581. "description": "创建人来源 - 1:管理端 2:终端",
  27582. "type": "integer"
  27583. },
  27584. "deliverygoodsid": {
  27585. "description": "现货品种ID",
  27586. "type": "integer"
  27587. },
  27588. "isvalid": {
  27589. "description": "是否有效 - 0:无效 1:有效",
  27590. "type": "integer"
  27591. },
  27592. "modelid": {
  27593. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27594. "type": "integer"
  27595. },
  27596. "modelname": {
  27597. "description": "型号名称",
  27598. "type": "string"
  27599. },
  27600. "updatetime": {
  27601. "description": "更新时间",
  27602. "type": "string"
  27603. },
  27604. "updatorid": {
  27605. "description": "更新人",
  27606. "type": "integer"
  27607. },
  27608. "updatorsrc": {
  27609. "description": "更新人来源 - 1:管理端 2:终端",
  27610. "type": "integer"
  27611. },
  27612. "wrstandardid": {
  27613. "description": "现货商品ID",
  27614. "type": "integer"
  27615. }
  27616. }
  27617. },
  27618. "models.ErmcpHisExposure": {
  27619. "type": "object",
  27620. "properties": {
  27621. "needhedgeexposoure": {
  27622. "description": "应套保敞口",
  27623. "type": "number"
  27624. },
  27625. "reckondate": {
  27626. "description": "日照时期(yyyyMMdd)",
  27627. "type": "string"
  27628. },
  27629. "totalexposure": {
  27630. "description": "总敞口",
  27631. "type": "number"
  27632. }
  27633. }
  27634. },
  27635. "models.ErmcpLoginTaAccount": {
  27636. "type": "object",
  27637. "properties": {
  27638. "accountid": {
  27639. "description": "账号id",
  27640. "type": "integer"
  27641. },
  27642. "accountname": {
  27643. "description": "账号名称",
  27644. "type": "string"
  27645. }
  27646. }
  27647. },
  27648. "models.ErmcpLoginUser": {
  27649. "type": "object",
  27650. "properties": {
  27651. "acclist": {
  27652. "description": "关联资金账号",
  27653. "type": "array",
  27654. "items": {
  27655. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27656. }
  27657. },
  27658. "accountname": {
  27659. "description": "用户名称",
  27660. "type": "string"
  27661. },
  27662. "clientroleid": {
  27663. "description": "角色id(usertype=2)",
  27664. "type": "integer"
  27665. },
  27666. "createtime": {
  27667. "description": "创建时间",
  27668. "type": "string"
  27669. },
  27670. "logincode": {
  27671. "description": "登录代码",
  27672. "type": "string"
  27673. },
  27674. "loginid": {
  27675. "description": "登录id(LOGINID)",
  27676. "type": "integer"
  27677. },
  27678. "loginname": {
  27679. "description": "登录名称(loginaccount表中的accountname字段)",
  27680. "type": "string"
  27681. },
  27682. "loginstatus": {
  27683. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27684. "type": "integer"
  27685. },
  27686. "memberuserid": {
  27687. "description": "所属会员id",
  27688. "type": "integer"
  27689. },
  27690. "mobile": {
  27691. "description": "手机号",
  27692. "type": "string"
  27693. },
  27694. "modifytime": {
  27695. "description": "修改时间",
  27696. "type": "string"
  27697. },
  27698. "password": {
  27699. "description": "密码(不可解密)",
  27700. "type": "string"
  27701. },
  27702. "rolename": {
  27703. "description": "角色名称",
  27704. "type": "string"
  27705. },
  27706. "rolestatus": {
  27707. "description": "角色状态 1-启用 2-停用",
  27708. "type": "integer"
  27709. },
  27710. "roletype": {
  27711. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27712. "type": "string"
  27713. },
  27714. "userid": {
  27715. "description": "用户id",
  27716. "type": "integer"
  27717. },
  27718. "usertype": {
  27719. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27720. "type": "integer"
  27721. }
  27722. }
  27723. },
  27724. "models.ErmcpLoginUserEx": {
  27725. "type": "object",
  27726. "properties": {
  27727. "accountstatus": {
  27728. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27729. "type": "integer"
  27730. },
  27731. "mobile": {
  27732. "description": "手机号",
  27733. "type": "string"
  27734. },
  27735. "querytype": {
  27736. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27737. "type": "integer"
  27738. },
  27739. "roleid": {
  27740. "description": "角色id(交易账户-\u003e用户id)",
  27741. "type": "integer"
  27742. },
  27743. "rolename": {
  27744. "description": "角色名称(交易账户-\u003e用户名称)",
  27745. "type": "string"
  27746. },
  27747. "userlist": {
  27748. "description": "用户列表",
  27749. "type": "array",
  27750. "items": {
  27751. "$ref": "#/definitions/models.ErmcpLoginUser"
  27752. }
  27753. },
  27754. "usertype": {
  27755. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27756. "type": "integer"
  27757. }
  27758. }
  27759. },
  27760. "models.ErmcpMiddleGoodsModel": {
  27761. "type": "object",
  27762. "properties": {
  27763. "areauserid": {
  27764. "description": "机构用户ID",
  27765. "type": "integer"
  27766. },
  27767. "createtime": {
  27768. "description": "修改时间",
  27769. "type": "string"
  27770. },
  27771. "enumdicname": {
  27772. "description": "单位名称",
  27773. "type": "string"
  27774. },
  27775. "evaluateratio": {
  27776. "description": "估价系数",
  27777. "type": "number"
  27778. },
  27779. "goodsgroupid": {
  27780. "description": "关联期货品种ID",
  27781. "type": "integer"
  27782. },
  27783. "goodsunitid": {
  27784. "description": "单位ID",
  27785. "type": "integer"
  27786. },
  27787. "isvalid": {
  27788. "description": "状态 0-无效(停用) 1-有效(正常)",
  27789. "type": "integer"
  27790. },
  27791. "middlegoodscode": {
  27792. "description": "套保品种代码",
  27793. "type": "string"
  27794. },
  27795. "middlegoodsid": {
  27796. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27797. "type": "integer"
  27798. },
  27799. "middlegoodsname": {
  27800. "description": "套保品种名称",
  27801. "type": "string"
  27802. },
  27803. "modifytime": {
  27804. "description": "修改时间",
  27805. "type": "string"
  27806. },
  27807. "needarbitrageratio": {
  27808. "description": "套利比例",
  27809. "type": "number"
  27810. },
  27811. "needhedgeratio": {
  27812. "description": "套保比率",
  27813. "type": "number"
  27814. },
  27815. "qtydecimalplace": {
  27816. "description": "数量小数位",
  27817. "type": "integer"
  27818. },
  27819. "relatedgoodsid": {
  27820. "description": "关联交易商品ID",
  27821. "type": "integer"
  27822. },
  27823. "relatedgoodstype": {
  27824. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27825. "type": "integer"
  27826. },
  27827. "remark": {
  27828. "description": "备注",
  27829. "type": "string"
  27830. }
  27831. }
  27832. },
  27833. "models.ErmcpMiddlegoodsRelateGoods": {
  27834. "type": "object",
  27835. "properties": {
  27836. "agreeunit": {
  27837. "description": "合约乘数",
  27838. "type": "number"
  27839. },
  27840. "convertratio": {
  27841. "description": "折算系数",
  27842. "type": "number"
  27843. },
  27844. "enumdicname": {
  27845. "description": "单位名称(交易商品)",
  27846. "type": "string"
  27847. },
  27848. "goodscode": {
  27849. "description": "交易商品代码",
  27850. "type": "string"
  27851. },
  27852. "goodsgroupid": {
  27853. "description": "交易品种id",
  27854. "type": "integer"
  27855. },
  27856. "goodsid": {
  27857. "description": "商品Id",
  27858. "type": "integer"
  27859. },
  27860. "goodsname": {
  27861. "description": "交易商品名称",
  27862. "type": "string"
  27863. },
  27864. "goodunitid": {
  27865. "description": "交易商品单位id",
  27866. "type": "integer"
  27867. },
  27868. "middlegoodsid": {
  27869. "description": "套保商品id",
  27870. "type": "integer"
  27871. },
  27872. "middlegoodsname": {
  27873. "description": "套保商品名称",
  27874. "type": "string"
  27875. },
  27876. "middlegoodsswcode": {
  27877. "description": "套保商品代码",
  27878. "type": "string"
  27879. },
  27880. "needarbitrageratio": {
  27881. "description": "应套利比例",
  27882. "type": "number"
  27883. },
  27884. "needhedgeratio": {
  27885. "description": "应套保比例",
  27886. "type": "number"
  27887. }
  27888. }
  27889. },
  27890. "models.ErmcpRole": {
  27891. "type": "object",
  27892. "properties": {
  27893. "areauserid": {
  27894. "description": "所属机构",
  27895. "type": "integer"
  27896. },
  27897. "autoid": {
  27898. "description": "角色ID(自增ID)",
  27899. "type": "integer"
  27900. },
  27901. "modifierid": {
  27902. "description": "修改人(创建人)",
  27903. "type": "integer"
  27904. },
  27905. "modifiername": {
  27906. "description": "修改人名称",
  27907. "type": "string"
  27908. },
  27909. "modifytime": {
  27910. "description": "修改时间(创建时间)",
  27911. "type": "string"
  27912. },
  27913. "rolename": {
  27914. "description": "角色名称",
  27915. "type": "string"
  27916. },
  27917. "rolestatus": {
  27918. "description": "角色状态 - 1:启用 2:停用",
  27919. "type": "integer"
  27920. },
  27921. "roletype": {
  27922. "description": "角色类型 - 1- 管理端 2- 交易端",
  27923. "type": "integer"
  27924. }
  27925. }
  27926. },
  27927. "models.ErmcpRoleMenu": {
  27928. "type": "object",
  27929. "properties": {
  27930. "iconame": {
  27931. "description": "菜单图标",
  27932. "type": "string"
  27933. },
  27934. "ishadrole": {
  27935. "description": "是否有权限",
  27936. "type": "boolean"
  27937. },
  27938. "menutype": {
  27939. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27940. "type": "integer"
  27941. },
  27942. "parentcode": {
  27943. "description": "上级资源代码",
  27944. "type": "string"
  27945. },
  27946. "remark": {
  27947. "description": "菜单备注",
  27948. "type": "string"
  27949. },
  27950. "resourcecode": {
  27951. "description": "菜单代码",
  27952. "type": "string"
  27953. },
  27954. "resourcelevel": {
  27955. "description": "级别",
  27956. "type": "integer"
  27957. },
  27958. "resourcename": {
  27959. "description": "菜单名称",
  27960. "type": "string"
  27961. },
  27962. "roleid": {
  27963. "description": "角色id",
  27964. "type": "integer"
  27965. },
  27966. "sort": {
  27967. "description": "排序",
  27968. "type": "integer"
  27969. },
  27970. "url": {
  27971. "description": "URL",
  27972. "type": "string"
  27973. },
  27974. "userid": {
  27975. "description": "用户id",
  27976. "type": "integer"
  27977. }
  27978. }
  27979. },
  27980. "models.ErmcpRoleMenuEx": {
  27981. "type": "object",
  27982. "properties": {
  27983. "menu": {
  27984. "description": "父级菜单",
  27985. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27986. },
  27987. "subMenu": {
  27988. "description": "子级菜单",
  27989. "type": "array",
  27990. "items": {
  27991. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27992. }
  27993. }
  27994. }
  27995. },
  27996. "models.ErmcpSpotContractModelEx": {
  27997. "type": "object",
  27998. "properties": {
  27999. "accountname": {
  28000. "description": "套期主体",
  28001. "type": "string"
  28002. },
  28003. "amount": {
  28004. "description": "金额 [1:一口价、3:暂定价]",
  28005. "type": "number"
  28006. },
  28007. "attachment": {
  28008. "description": "附件",
  28009. "type": "string"
  28010. },
  28011. "auditremark": {
  28012. "description": "审核意见",
  28013. "type": "string"
  28014. },
  28015. "audittime": {
  28016. "description": "审核时间",
  28017. "type": "string"
  28018. },
  28019. "avgprice": {
  28020. "description": "定价均价 = 已定价金额 / 已定价量",
  28021. "type": "number"
  28022. },
  28023. "brandname": {
  28024. "description": "品牌名称",
  28025. "type": "string"
  28026. },
  28027. "buyuserid": {
  28028. "description": "采购方ID",
  28029. "type": "integer"
  28030. },
  28031. "buyusername": {
  28032. "description": "采购方名称",
  28033. "type": "string"
  28034. },
  28035. "contracctstatus": {
  28036. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28037. "type": "integer"
  28038. },
  28039. "contractmargin": {
  28040. "description": "合同保证金",
  28041. "type": "number"
  28042. },
  28043. "contractno": {
  28044. "description": "[合同编号]现货合同编号",
  28045. "type": "string"
  28046. },
  28047. "contracttype": {
  28048. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28049. "type": "integer"
  28050. },
  28051. "convertfactor": {
  28052. "description": "标仓系数",
  28053. "type": "number"
  28054. },
  28055. "createtime": {
  28056. "description": "创建时间",
  28057. "type": "string"
  28058. },
  28059. "customername": {
  28060. "description": "对手方",
  28061. "type": "string"
  28062. },
  28063. "customeruserid": {
  28064. "description": "客户ID",
  28065. "type": "integer"
  28066. },
  28067. "deliveryenddate": {
  28068. "description": "交收期(结束)",
  28069. "type": "string"
  28070. },
  28071. "deliverygoodscode": {
  28072. "description": "现货品种代码",
  28073. "type": "string"
  28074. },
  28075. "deliverygoodsid": {
  28076. "description": "现货品种ID",
  28077. "type": "integer"
  28078. },
  28079. "deliverygoodsname": {
  28080. "description": "现货品种名称",
  28081. "type": "string"
  28082. },
  28083. "deliverystartdate": {
  28084. "description": "交收期(开始)",
  28085. "type": "string"
  28086. },
  28087. "enddate": {
  28088. "description": "点价结束日期 [2:点价 3:暂定价]",
  28089. "type": "string"
  28090. },
  28091. "enumdicname": {
  28092. "description": "单位名称",
  28093. "type": "string"
  28094. },
  28095. "goodscode": {
  28096. "description": "点价合约代码",
  28097. "type": "string"
  28098. },
  28099. "goodsid": {
  28100. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28101. "type": "integer"
  28102. },
  28103. "goodsname": {
  28104. "description": "点价商品名称",
  28105. "type": "string"
  28106. },
  28107. "isrelated": {
  28108. "description": "是否已关联计划项目 - 0:否 1:是",
  28109. "type": "integer"
  28110. },
  28111. "isrelated2": {
  28112. "description": "是否已关联现货项目 - 0:否 1:是",
  28113. "type": "integer"
  28114. },
  28115. "margin": {
  28116. "description": "当前保证金",
  28117. "type": "number"
  28118. },
  28119. "modelname": {
  28120. "description": "型号名称",
  28121. "type": "string"
  28122. },
  28123. "price": {
  28124. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28125. "type": "number"
  28126. },
  28127. "pricedamount": {
  28128. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28129. "type": "number"
  28130. },
  28131. "pricedqty": {
  28132. "description": "已定价量",
  28133. "type": "number"
  28134. },
  28135. "pricemove": {
  28136. "description": "升贴水 [2:点价 3:暂定价]",
  28137. "type": "number"
  28138. },
  28139. "pricetype": {
  28140. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28141. "type": "integer"
  28142. },
  28143. "producttype": {
  28144. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28145. "type": "integer"
  28146. },
  28147. "qty": {
  28148. "description": "[合同数量]数量",
  28149. "type": "number"
  28150. },
  28151. "remark": {
  28152. "description": "备注",
  28153. "type": "string"
  28154. },
  28155. "selluserid": {
  28156. "description": "销售方ID",
  28157. "type": "integer"
  28158. },
  28159. "sellusername": {
  28160. "description": "销售方名称",
  28161. "type": "string"
  28162. },
  28163. "spotamount": {
  28164. "description": "合同现货金额 [不含升贴水]",
  28165. "type": "number"
  28166. },
  28167. "spotavgprice": {
  28168. "description": "现货均价 = 合同现货金额 / 已定价量",
  28169. "type": "number"
  28170. },
  28171. "spotcontractid": {
  28172. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28173. "type": "string"
  28174. },
  28175. "spotgoodsbrandid": {
  28176. "description": "现货品牌ID",
  28177. "type": "integer"
  28178. },
  28179. "spotgoodsdesc": {
  28180. "description": "商品型号",
  28181. "type": "string"
  28182. },
  28183. "spotgoodsmodelid": {
  28184. "description": "现货型号ID",
  28185. "type": "integer"
  28186. },
  28187. "startdate": {
  28188. "description": "点价开始日期 [2:点价 3:暂定价]",
  28189. "type": "string"
  28190. },
  28191. "tradeuserid": {
  28192. "description": "交易用户ID",
  28193. "type": "integer"
  28194. },
  28195. "unpricedqty": {
  28196. "description": "未定价量 = 合同数量 - 已定价量",
  28197. "type": "number"
  28198. },
  28199. "updatetime": {
  28200. "description": "更新时间",
  28201. "type": "string"
  28202. },
  28203. "userid": {
  28204. "description": "机构ID",
  28205. "type": "integer"
  28206. },
  28207. "wrstandardcode": {
  28208. "description": "现货商品代码",
  28209. "type": "string"
  28210. },
  28211. "wrstandardid": {
  28212. "description": "现货商品ID",
  28213. "type": "integer"
  28214. },
  28215. "wrstandardname": {
  28216. "description": "[现货商品]现货商品名称",
  28217. "type": "string"
  28218. }
  28219. }
  28220. },
  28221. "models.ErmcpTaAccount": {
  28222. "type": "object",
  28223. "properties": {
  28224. "accountid": {
  28225. "description": "账户id",
  28226. "type": "integer"
  28227. },
  28228. "accountname": {
  28229. "description": "账户名称",
  28230. "type": "string"
  28231. },
  28232. "currencyid": {
  28233. "description": "币种id",
  28234. "type": "integer"
  28235. },
  28236. "hedgeaccountcode": {
  28237. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28238. "type": "string"
  28239. },
  28240. "ismain": {
  28241. "description": "是否主账户 0-否 1-是",
  28242. "type": "integer"
  28243. },
  28244. "parentaccountid": {
  28245. "description": "父账户id",
  28246. "type": "integer"
  28247. },
  28248. "relateduserid": {
  28249. "description": "关联userid",
  28250. "type": "integer"
  28251. },
  28252. "tradefeetmpid": {
  28253. "description": "手续费模板id",
  28254. "type": "integer"
  28255. },
  28256. "tradefeetmpname": {
  28257. "description": "手续费模板名称",
  28258. "type": "string"
  28259. },
  28260. "trademargintmpid": {
  28261. "description": "保证金模板id",
  28262. "type": "integer"
  28263. },
  28264. "trademargintmpname": {
  28265. "description": "保证金模板名称",
  28266. "type": "string"
  28267. },
  28268. "traderatetmpid": {
  28269. "description": "汇率模板id",
  28270. "type": "integer"
  28271. },
  28272. "traderatetmpname": {
  28273. "description": "汇率模板名称",
  28274. "type": "string"
  28275. },
  28276. "tradestatus": {
  28277. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28278. "type": "integer"
  28279. },
  28280. "userid": {
  28281. "description": "用户id",
  28282. "type": "integer"
  28283. }
  28284. }
  28285. },
  28286. "models.ErmcpTaAccountEx": {
  28287. "type": "object",
  28288. "properties": {
  28289. "mainAcc": {
  28290. "description": "主账号",
  28291. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28292. },
  28293. "subacclist": {
  28294. "description": "子账号列表",
  28295. "type": "array",
  28296. "items": {
  28297. "$ref": "#/definitions/models.ErmcpTaAccount"
  28298. }
  28299. }
  28300. }
  28301. },
  28302. "models.ErmcpTaAccountInfo": {
  28303. "type": "object",
  28304. "properties": {
  28305. "accountid": {
  28306. "description": "资金账户ID",
  28307. "type": "integer"
  28308. },
  28309. "accountname": {
  28310. "description": "账户名称",
  28311. "type": "string"
  28312. },
  28313. "balance": {
  28314. "description": "期初余额",
  28315. "type": "number"
  28316. },
  28317. "capitalbalance": {
  28318. "description": "本金余额[外部子账户实际出入金余额]",
  28319. "type": "number"
  28320. },
  28321. "closepl": {
  28322. "description": "今日平仓盈亏",
  28323. "type": "number"
  28324. },
  28325. "creditdecrease": {
  28326. "description": "今日授信减少",
  28327. "type": "number"
  28328. },
  28329. "creditincrease": {
  28330. "description": "今日授信增加",
  28331. "type": "number"
  28332. },
  28333. "curdebt": {
  28334. "description": "期末欠款",
  28335. "type": "number"
  28336. },
  28337. "currencyid": {
  28338. "description": "货币ID",
  28339. "type": "integer"
  28340. },
  28341. "currentbalance": {
  28342. "description": "期末余额",
  28343. "type": "number"
  28344. },
  28345. "freezecharge": {
  28346. "description": "手续费冻结",
  28347. "type": "number"
  28348. },
  28349. "freezemargin": {
  28350. "description": "冻结保证金",
  28351. "type": "number"
  28352. },
  28353. "fromaccountid": {
  28354. "description": "所属上级账户",
  28355. "type": "integer"
  28356. },
  28357. "inamount": {
  28358. "description": "今日入金金额(包括三方入金)",
  28359. "type": "number"
  28360. },
  28361. "ismain": {
  28362. "description": "是否母账号 0:不是母账户 1:是母账户",
  28363. "type": "integer"
  28364. },
  28365. "mortgagecredit": {
  28366. "description": "授信金额",
  28367. "type": "number"
  28368. },
  28369. "oridebt": {
  28370. "description": "期初欠款",
  28371. "type": "number"
  28372. },
  28373. "orifreezecharge": {
  28374. "description": "期初手续费冻结",
  28375. "type": "number"
  28376. },
  28377. "orifreezemargin": {
  28378. "description": "期初冻结保证金",
  28379. "type": "number"
  28380. },
  28381. "orimortgagecredit": {
  28382. "description": "期初授信金额",
  28383. "type": "number"
  28384. },
  28385. "oriothercredit": {
  28386. "description": "期初其它授信金额",
  28387. "type": "number"
  28388. },
  28389. "oriotherfreezemargin": {
  28390. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28391. "type": "number"
  28392. },
  28393. "orioutamountfreeze": {
  28394. "description": "期初出金冻结",
  28395. "type": "number"
  28396. },
  28397. "oriusedmargin": {
  28398. "description": "期初占用保证金",
  28399. "type": "number"
  28400. },
  28401. "othercredit": {
  28402. "description": "其它授信金额",
  28403. "type": "number"
  28404. },
  28405. "othercreditdecrease": {
  28406. "description": "今日其它授信减少",
  28407. "type": "number"
  28408. },
  28409. "othercreditincrease": {
  28410. "description": "今日其它授信增加",
  28411. "type": "number"
  28412. },
  28413. "otherfreezemargin": {
  28414. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28415. "type": "number"
  28416. },
  28417. "outamount": {
  28418. "description": "今日出金金额(包括三方出金)",
  28419. "type": "number"
  28420. },
  28421. "outamountfreeze": {
  28422. "description": "出金冻结",
  28423. "type": "number"
  28424. },
  28425. "outthreshold": {
  28426. "description": "出金阈值",
  28427. "type": "number"
  28428. },
  28429. "parentaccountid": {
  28430. "description": "所属根账号",
  28431. "type": "integer"
  28432. },
  28433. "paycharge": {
  28434. "description": "今日手续费支出",
  28435. "type": "number"
  28436. },
  28437. "relateduserid": {
  28438. "description": "关联用户",
  28439. "type": "integer"
  28440. },
  28441. "signstatus": {
  28442. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28443. "type": "integer"
  28444. },
  28445. "sublevelpath": {
  28446. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28447. "type": "string"
  28448. },
  28449. "taaccounttype": {
  28450. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28451. "type": "integer"
  28452. },
  28453. "thirdinamount": {
  28454. "description": "今日三方入金",
  28455. "type": "number"
  28456. },
  28457. "thirdoutamount": {
  28458. "description": "今日三方出金",
  28459. "type": "number"
  28460. },
  28461. "tradestatus": {
  28462. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28463. "type": "integer"
  28464. },
  28465. "transferamount": {
  28466. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28467. "type": "number"
  28468. },
  28469. "usedmargin": {
  28470. "description": "占用保证金",
  28471. "type": "number"
  28472. },
  28473. "userid": {
  28474. "description": "用户ID",
  28475. "type": "integer"
  28476. }
  28477. }
  28478. },
  28479. "models.ErmcpTaAccountM": {
  28480. "type": "object",
  28481. "properties": {
  28482. "accountid": {
  28483. "description": "账户id",
  28484. "type": "integer"
  28485. },
  28486. "accountname": {
  28487. "description": "账户名称",
  28488. "type": "string"
  28489. },
  28490. "currencyid": {
  28491. "description": "币种id",
  28492. "type": "integer"
  28493. },
  28494. "fcid": {
  28495. "description": "期货公司id",
  28496. "type": "integer"
  28497. },
  28498. "fcname": {
  28499. "description": "期货公司代码",
  28500. "type": "string"
  28501. },
  28502. "hedgeaccountcode": {
  28503. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28504. "type": "string"
  28505. },
  28506. "ismain": {
  28507. "description": "是否主账户 0-否 1-是",
  28508. "type": "integer"
  28509. },
  28510. "parentaccountid": {
  28511. "description": "父账户id",
  28512. "type": "integer"
  28513. },
  28514. "relateduserid": {
  28515. "description": "关联userid",
  28516. "type": "integer"
  28517. },
  28518. "tradefeetmpid": {
  28519. "description": "手续费模板id",
  28520. "type": "integer"
  28521. },
  28522. "tradefeetmpname": {
  28523. "description": "手续费模板名称",
  28524. "type": "string"
  28525. },
  28526. "trademargintmpid": {
  28527. "description": "保证金模板id",
  28528. "type": "integer"
  28529. },
  28530. "trademargintmpname": {
  28531. "description": "保证金模板名称",
  28532. "type": "string"
  28533. },
  28534. "traderatetmpid": {
  28535. "description": "汇率模板id",
  28536. "type": "integer"
  28537. },
  28538. "traderatetmpname": {
  28539. "description": "汇率模板名称",
  28540. "type": "string"
  28541. },
  28542. "tradestatus": {
  28543. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28544. "type": "integer"
  28545. },
  28546. "userid": {
  28547. "description": "用户id",
  28548. "type": "integer"
  28549. }
  28550. }
  28551. },
  28552. "models.ErmcpTradeConfigTMP": {
  28553. "type": "object",
  28554. "properties": {
  28555. "areauserid": {
  28556. "description": "所属机构",
  28557. "type": "integer"
  28558. },
  28559. "basiccurrencyid": {
  28560. "description": "基本币种ID[汇率] - 目标币种",
  28561. "type": "integer"
  28562. },
  28563. "mainaccountid": {
  28564. "description": "主账户ID",
  28565. "type": "integer"
  28566. },
  28567. "modifierid": {
  28568. "description": "修改人",
  28569. "type": "integer"
  28570. },
  28571. "remark": {
  28572. "description": "备注",
  28573. "type": "string"
  28574. },
  28575. "tradeconfigtmpid": {
  28576. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28577. "type": "integer"
  28578. },
  28579. "tradeconfigtmpname": {
  28580. "description": "交易配置模板名称",
  28581. "type": "string"
  28582. },
  28583. "tradeconfigtmptype": {
  28584. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28585. "type": "integer"
  28586. },
  28587. "updatetime": {
  28588. "description": "更新时间",
  28589. "type": "string"
  28590. }
  28591. }
  28592. },
  28593. "models.Ermcpjrlinkpos": {
  28594. "type": "object",
  28595. "required": [
  28596. "spotcontractid"
  28597. ],
  28598. "properties": {
  28599. "areauserid": {
  28600. "description": "所属企业",
  28601. "type": "integer"
  28602. },
  28603. "averageprice": {
  28604. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28605. "type": "number"
  28606. },
  28607. "closepl": {
  28608. "description": "总平仓盈亏 [期货损益]",
  28609. "type": "number"
  28610. },
  28611. "executeprice": {
  28612. "description": "执行价 - 1:期货单 为 0",
  28613. "type": "integer"
  28614. },
  28615. "futurehedgeqty": {
  28616. "description": "期货套期量",
  28617. "type": "number"
  28618. },
  28619. "goodsid": {
  28620. "description": "期货合约",
  28621. "type": "integer"
  28622. },
  28623. "middlegoodscode": {
  28624. "description": "套保商品代码",
  28625. "type": "string"
  28626. },
  28627. "middlegoodsname": {
  28628. "description": "套保商品名称",
  28629. "type": "string"
  28630. },
  28631. "netqty": {
  28632. "description": "净头寸",
  28633. "type": "number"
  28634. },
  28635. "optioncode": {
  28636. "description": "期权代码",
  28637. "type": "string"
  28638. },
  28639. "ordertype": {
  28640. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28641. "type": "integer"
  28642. },
  28643. "reckonpl": {
  28644. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28645. "type": "number"
  28646. },
  28647. "spotcontractid": {
  28648. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28649. "type": "string"
  28650. },
  28651. "todayfutureclosepl": {
  28652. "description": "今日平仓盈亏",
  28653. "type": "number"
  28654. },
  28655. "totalbuyamount": {
  28656. "description": "买金额 [期货]",
  28657. "type": "number"
  28658. },
  28659. "totalbuyholdamount": {
  28660. "description": "买持仓总金额[期货]",
  28661. "type": "number"
  28662. },
  28663. "totalbuyqty": {
  28664. "description": "买数量",
  28665. "type": "number"
  28666. },
  28667. "totalcharge": {
  28668. "description": "手续费",
  28669. "type": "number"
  28670. },
  28671. "totalpremium": {
  28672. "description": "权利金 [期权]",
  28673. "type": "number"
  28674. },
  28675. "totalsellamount": {
  28676. "description": "卖金额 [期货]",
  28677. "type": "number"
  28678. },
  28679. "totalsellholdamount": {
  28680. "description": "卖持仓总金额[期货]",
  28681. "type": "number"
  28682. },
  28683. "totalsellqty": {
  28684. "description": "卖数量",
  28685. "type": "number"
  28686. },
  28687. "updatetime": {
  28688. "description": "更新时间",
  28689. "type": "string"
  28690. }
  28691. }
  28692. },
  28693. "models.Ermcppatradelinkdetail": {
  28694. "type": "object",
  28695. "required": [
  28696. "hedgeditemid"
  28697. ],
  28698. "properties": {
  28699. "agreeunit": {
  28700. "description": "合约乘数",
  28701. "type": "number"
  28702. },
  28703. "amount": {
  28704. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28705. "type": "number"
  28706. },
  28707. "areauserid": {
  28708. "description": "所属机构",
  28709. "type": "integer"
  28710. },
  28711. "bizsubjectid": {
  28712. "description": "归属业务部门ID - SubjectID",
  28713. "type": "integer"
  28714. },
  28715. "buyorsell": {
  28716. "description": "方向 - 0:买 1:卖",
  28717. "type": "integer"
  28718. },
  28719. "convertratio": {
  28720. "description": "品种系数",
  28721. "type": "number"
  28722. },
  28723. "createtime": {
  28724. "description": "创建时间",
  28725. "type": "string"
  28726. },
  28727. "creatorid": {
  28728. "description": "创建人ID",
  28729. "type": "integer"
  28730. },
  28731. "creatorsrc": {
  28732. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28733. "type": "integer"
  28734. },
  28735. "goodsgroupid": {
  28736. "description": "对冲品种ID[期货合约商品组ID]",
  28737. "type": "integer"
  28738. },
  28739. "goodsid": {
  28740. "description": "商品ID",
  28741. "type": "integer"
  28742. },
  28743. "hedgeditemid": {
  28744. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28745. "type": "integer"
  28746. },
  28747. "hedgeflag": {
  28748. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28749. "type": "integer"
  28750. },
  28751. "linkdetailid": {
  28752. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28753. "type": "string"
  28754. },
  28755. "linkstatus": {
  28756. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28757. "type": "integer"
  28758. },
  28759. "middlegoodsid": {
  28760. "description": "套保品种ID",
  28761. "type": "integer"
  28762. },
  28763. "name": {
  28764. "description": "账户名/子账户",
  28765. "type": "string"
  28766. },
  28767. "optioncode": {
  28768. "description": "[期货合约]期权代码 [期权]",
  28769. "type": "string"
  28770. },
  28771. "ordertype": {
  28772. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28773. "type": "integer"
  28774. },
  28775. "relatedlot": {
  28776. "description": "[数量]关联手数",
  28777. "type": "number"
  28778. },
  28779. "relatedmode": {
  28780. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28781. "type": "integer"
  28782. },
  28783. "relatedqty": {
  28784. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28785. "type": "number"
  28786. },
  28787. "retcode": {
  28788. "description": "返回码",
  28789. "type": "integer"
  28790. },
  28791. "saleuserid": {
  28792. "description": "业务员ID",
  28793. "type": "integer"
  28794. },
  28795. "tradedate": {
  28796. "description": "关联交易日(yyyyMMdd)",
  28797. "type": "string"
  28798. },
  28799. "tradeid": {
  28800. "description": "[成交单号]内部成交单ID",
  28801. "type": "string"
  28802. },
  28803. "tradelot": {
  28804. "description": "成交手数",
  28805. "type": "integer"
  28806. },
  28807. "tradeprice": {
  28808. "description": "[价格]成交价格",
  28809. "type": "number"
  28810. },
  28811. "tradetime": {
  28812. "description": "日期时间",
  28813. "type": "string"
  28814. },
  28815. "tradetradedate": {
  28816. "description": "成交交易日(yyyyMMdd)",
  28817. "type": "string"
  28818. }
  28819. }
  28820. },
  28821. "models.Exchangerateconfig": {
  28822. "type": "object",
  28823. "properties": {
  28824. "descurrencyid": {
  28825. "description": "目标币种ID",
  28826. "type": "integer"
  28827. },
  28828. "exchangerate": {
  28829. "description": "汇率",
  28830. "type": "number"
  28831. },
  28832. "oricurrencyid": {
  28833. "description": "源币种ID",
  28834. "type": "integer"
  28835. },
  28836. "remark": {
  28837. "description": "备注",
  28838. "type": "string"
  28839. }
  28840. }
  28841. },
  28842. "models.Externalexchange": {
  28843. "type": "object",
  28844. "required": [
  28845. "autoid"
  28846. ],
  28847. "properties": {
  28848. "autoid": {
  28849. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28850. "type": "integer"
  28851. },
  28852. "exchangefullname": {
  28853. "description": "外部交易所全称",
  28854. "type": "string"
  28855. },
  28856. "exexchangecode": {
  28857. "description": "外部交易所代码",
  28858. "type": "string"
  28859. },
  28860. "exexchangename": {
  28861. "description": "外部交易所名称(简称)",
  28862. "type": "string"
  28863. },
  28864. "ismarketprice": {
  28865. "description": "是否支持市价 - 0:不支持 1:支持",
  28866. "type": "integer"
  28867. },
  28868. "quotegear": {
  28869. "description": "行情档位(1-10)",
  28870. "type": "integer"
  28871. },
  28872. "showbrokerflag": {
  28873. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28874. "type": "integer"
  28875. },
  28876. "updatetime": {
  28877. "description": "更新时间",
  28878. "type": "string"
  28879. }
  28880. }
  28881. },
  28882. "models.Funcmenulist": {
  28883. "type": "object",
  28884. "required": [
  28885. "resourcecode"
  28886. ],
  28887. "properties": {
  28888. "iconame": {
  28889. "description": "菜单图标",
  28890. "type": "string"
  28891. },
  28892. "menutype": {
  28893. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28894. "type": "integer"
  28895. },
  28896. "parentcode": {
  28897. "description": "上级资源代码",
  28898. "type": "string"
  28899. },
  28900. "remark": {
  28901. "description": "备注",
  28902. "type": "string"
  28903. },
  28904. "resourcecode": {
  28905. "description": "资源代码",
  28906. "type": "string"
  28907. },
  28908. "resourcelevel": {
  28909. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28910. "type": "integer"
  28911. },
  28912. "resourcename": {
  28913. "description": "资源名",
  28914. "type": "string"
  28915. },
  28916. "sort": {
  28917. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28918. "type": "integer"
  28919. },
  28920. "url": {
  28921. "description": "URL",
  28922. "type": "string"
  28923. }
  28924. }
  28925. },
  28926. "models.GZGoods": {
  28927. "type": "object",
  28928. "required": [
  28929. "goodsno"
  28930. ],
  28931. "properties": {
  28932. "cerno": {
  28933. "description": "证书编号 - 类型:2,4,5",
  28934. "type": "string"
  28935. },
  28936. "cpcertno": {
  28937. "description": "金伯利证书编号 - 类型:3",
  28938. "type": "string"
  28939. },
  28940. "goodsno": {
  28941. "description": "商品编号",
  28942. "type": "string"
  28943. },
  28944. "imagepath": {
  28945. "description": "商品照片(相对地址)",
  28946. "type": "string"
  28947. },
  28948. "isvalid": {
  28949. "description": "是否有效 - 0:无效 1:有效",
  28950. "type": "integer"
  28951. },
  28952. "kppath": {
  28953. "description": "金伯利证书图片(相对地址) - 类型:3",
  28954. "type": "string"
  28955. },
  28956. "kpweight": {
  28957. "description": "金伯利证书重量 - 类型:3",
  28958. "type": "string"
  28959. },
  28960. "marketprice": {
  28961. "description": "市场价",
  28962. "type": "string"
  28963. },
  28964. "mobile": {
  28965. "description": "手机号码",
  28966. "type": "string"
  28967. },
  28968. "origin": {
  28969. "description": "原产地 - 类型:3",
  28970. "type": "string"
  28971. },
  28972. "price": {
  28973. "description": "总价(价格) - 类型:1,2,3,4,5",
  28974. "type": "number"
  28975. },
  28976. "priceper": {
  28977. "description": "克拉单价 - 类型:1,2,3,5",
  28978. "type": "string"
  28979. },
  28980. "remainqty": {
  28981. "description": "剩余重量",
  28982. "type": "number"
  28983. },
  28984. "remark": {
  28985. "description": "备注",
  28986. "type": "string"
  28987. },
  28988. "sellusername": {
  28989. "description": "账户名称(机构名称)",
  28990. "type": "string"
  28991. },
  28992. "settingmaterial": {
  28993. "description": "镶嵌材料 - 类型:4",
  28994. "type": "string"
  28995. },
  28996. "size1": {
  28997. "description": "尺寸1 - 类型:2,4,5",
  28998. "type": "string"
  28999. },
  29000. "size2": {
  29001. "description": "尺寸2 - 类型:2,4,5",
  29002. "type": "string"
  29003. },
  29004. "size3": {
  29005. "description": "尺寸3 - 类型:2,4,5",
  29006. "type": "string"
  29007. },
  29008. "stonedesc": {
  29009. "description": "配石描述 - 类型:4",
  29010. "type": "string"
  29011. },
  29012. "userid": {
  29013. "description": "用户ID",
  29014. "type": "integer"
  29015. },
  29016. "warehouseid": {
  29017. "description": "仓库ID",
  29018. "type": "integer"
  29019. },
  29020. "warehousenamedisplay": {
  29021. "type": "string"
  29022. },
  29023. "weight": {
  29024. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29025. "type": "number"
  29026. },
  29027. "weightavg": {
  29028. "description": "平均单颗重量 - 类型:1,3",
  29029. "type": "number"
  29030. },
  29031. "wrpath": {
  29032. "description": "仓单扫描件(相对地址)",
  29033. "type": "string"
  29034. },
  29035. "wrstandardid": {
  29036. "description": "现货商品ID",
  29037. "type": "integer"
  29038. },
  29039. "wrtradeorderid": {
  29040. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29041. "type": "string"
  29042. },
  29043. "zscategory": {
  29044. "description": "钻石分类 - 枚举”ZSCategory“",
  29045. "type": "integer"
  29046. },
  29047. "zscategorydisplay": {
  29048. "type": "string"
  29049. },
  29050. "zscerttype": {
  29051. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29052. "type": "integer"
  29053. },
  29054. "zscerttypedisplay": {
  29055. "type": "string"
  29056. },
  29057. "zsclaritytype1": {
  29058. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29059. "type": "integer"
  29060. },
  29061. "zsclaritytype1display": {
  29062. "type": "string"
  29063. },
  29064. "zsclaritytype2": {
  29065. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29066. "type": "integer"
  29067. },
  29068. "zsclaritytype2display": {
  29069. "type": "string"
  29070. },
  29071. "zscolortype1": {
  29072. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29073. "type": "integer"
  29074. },
  29075. "zscolortype1display": {
  29076. "type": "string"
  29077. },
  29078. "zscolortype2": {
  29079. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29080. "type": "integer"
  29081. },
  29082. "zscolortype2display": {
  29083. "type": "string"
  29084. },
  29085. "zscrystaltype": {
  29086. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29087. "type": "string"
  29088. },
  29089. "zscrystaltypedisplay": {
  29090. "type": "string"
  29091. },
  29092. "zscurrencytype": {
  29093. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29094. "type": "integer"
  29095. },
  29096. "zscurrencytypedisplay": {
  29097. "type": "string"
  29098. },
  29099. "zscurrencytypedisplayunit": {
  29100. "type": "string"
  29101. },
  29102. "zscuttype1": {
  29103. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29104. "type": "integer"
  29105. },
  29106. "zscuttype1display": {
  29107. "type": "string"
  29108. },
  29109. "zscuttype2": {
  29110. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29111. "type": "integer"
  29112. },
  29113. "zscuttype2display": {
  29114. "type": "string"
  29115. },
  29116. "zsczcolor1type": {
  29117. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29118. "type": "integer"
  29119. },
  29120. "zsczcolor1typedisplay": {
  29121. "type": "string"
  29122. },
  29123. "zsczcolor2type": {
  29124. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29125. "type": "integer"
  29126. },
  29127. "zsczcolor2typedisplay": {
  29128. "type": "string"
  29129. },
  29130. "zsczcolor3type": {
  29131. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29132. "type": "integer"
  29133. },
  29134. "zsczcolor3typedisplay": {
  29135. "type": "string"
  29136. },
  29137. "zsfluorescencetype1": {
  29138. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29139. "type": "integer"
  29140. },
  29141. "zsfluorescencetype1display": {
  29142. "type": "string"
  29143. },
  29144. "zsfluorescencetype2": {
  29145. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29146. "type": "integer"
  29147. },
  29148. "zsfluorescencetype2display": {
  29149. "type": "string"
  29150. },
  29151. "zspolishtype1": {
  29152. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29153. "type": "integer"
  29154. },
  29155. "zspolishtype1display": {
  29156. "type": "string"
  29157. },
  29158. "zspolishtype2": {
  29159. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29160. "type": "integer"
  29161. },
  29162. "zspolishtype2display": {
  29163. "type": "string"
  29164. },
  29165. "zsshapetype": {
  29166. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29167. "type": "string"
  29168. },
  29169. "zsshapetypedisplay": {
  29170. "type": "string"
  29171. },
  29172. "zsstyletype": {
  29173. "description": "款式 - 类型:4",
  29174. "type": "integer"
  29175. },
  29176. "zsstyletypedisplay": {
  29177. "type": "string"
  29178. },
  29179. "zssymmetrytype1": {
  29180. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29181. "type": "integer"
  29182. },
  29183. "zssymmetrytype1display": {
  29184. "type": "string"
  29185. },
  29186. "zssymmetrytype2": {
  29187. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29188. "type": "integer"
  29189. },
  29190. "zssymmetrytype2display": {
  29191. "type": "string"
  29192. }
  29193. }
  29194. },
  29195. "models.GZWarehouseinfo": {
  29196. "type": "object",
  29197. "properties": {
  29198. "address": {
  29199. "description": "详细地址",
  29200. "type": "string"
  29201. },
  29202. "areauserid": {
  29203. "description": "所属机构",
  29204. "type": "integer"
  29205. },
  29206. "autoid": {
  29207. "description": "自增ID",
  29208. "type": "integer"
  29209. },
  29210. "cityid": {
  29211. "description": "市",
  29212. "type": "integer"
  29213. },
  29214. "contactname": {
  29215. "description": "联系人",
  29216. "type": "string"
  29217. },
  29218. "contactnum": {
  29219. "description": "联系电话",
  29220. "type": "string"
  29221. },
  29222. "countryid": {
  29223. "description": "国家",
  29224. "type": "integer"
  29225. },
  29226. "createtime": {
  29227. "description": "创建时间",
  29228. "type": "string"
  29229. },
  29230. "districtid": {
  29231. "description": "区",
  29232. "type": "integer"
  29233. },
  29234. "hasvideo": {
  29235. "description": "是否有视频 - 0:无 1:有",
  29236. "type": "integer"
  29237. },
  29238. "provinceid": {
  29239. "description": "省",
  29240. "type": "integer"
  29241. },
  29242. "remark": {
  29243. "description": "审核备注",
  29244. "type": "string"
  29245. },
  29246. "videourl": {
  29247. "description": "视频地址",
  29248. "type": "string"
  29249. },
  29250. "warehousecode": {
  29251. "description": "仓库代码",
  29252. "type": "string"
  29253. },
  29254. "warehousename": {
  29255. "description": "仓库名称",
  29256. "type": "string"
  29257. },
  29258. "warehousestatus": {
  29259. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29260. "type": "integer"
  29261. },
  29262. "warehousetype": {
  29263. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29264. "type": "integer"
  29265. }
  29266. }
  29267. },
  29268. "models.Goods": {
  29269. "type": "object",
  29270. "required": [
  29271. "goodscode",
  29272. "goodsid",
  29273. "goodsname",
  29274. "marketid"
  29275. ],
  29276. "properties": {
  29277. "agreeunit": {
  29278. "description": "合约单位",
  29279. "type": "number"
  29280. },
  29281. "areauserid": {
  29282. "description": "所属机构",
  29283. "type": "integer"
  29284. },
  29285. "auditaccountid": {
  29286. "description": "审核操作员账号",
  29287. "type": "integer"
  29288. },
  29289. "audittime": {
  29290. "description": "审核时间",
  29291. "type": "string"
  29292. },
  29293. "cancelaccountid": {
  29294. "description": "注销操作员账号",
  29295. "type": "integer"
  29296. },
  29297. "canceltime": {
  29298. "description": "注销时间",
  29299. "type": "string"
  29300. },
  29301. "closepricemode": {
  29302. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29303. "type": "integer"
  29304. },
  29305. "closepriceparam": {
  29306. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29307. "type": "number"
  29308. },
  29309. "createtime": {
  29310. "description": "创建时间",
  29311. "type": "string"
  29312. },
  29313. "creatorid": {
  29314. "description": "创建人",
  29315. "type": "integer"
  29316. },
  29317. "currencyid": {
  29318. "description": "报价货币ID",
  29319. "type": "integer"
  29320. },
  29321. "cutmode": {
  29322. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29323. "type": "integer"
  29324. },
  29325. "decimalplace": {
  29326. "description": "报价小数位",
  29327. "type": "integer"
  29328. },
  29329. "delistingdate": {
  29330. "description": "商品退市时间(状态:退市) -- 已作废",
  29331. "type": "string"
  29332. },
  29333. "delistingmode": {
  29334. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29335. "type": "integer"
  29336. },
  29337. "deliveryflag": {
  29338. "description": "交割标志 - 0:不可交割 1:可交割",
  29339. "type": "integer"
  29340. },
  29341. "forceclosemode": {
  29342. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29343. "type": "integer"
  29344. },
  29345. "forceclosevalue": {
  29346. "description": "定期强平参数 [收益权]",
  29347. "type": "integer"
  29348. },
  29349. "goodscode": {
  29350. "description": "商品代码(内部)",
  29351. "type": "string"
  29352. },
  29353. "goodscurrencyid": {
  29354. "description": "合约货币ID",
  29355. "type": "integer"
  29356. },
  29357. "goodsgroupid": {
  29358. "description": "所属商品组ID",
  29359. "type": "integer"
  29360. },
  29361. "goodsid": {
  29362. "description": "商品ID(自增ID SEQ_GOODS)",
  29363. "type": "integer"
  29364. },
  29365. "goodsname": {
  29366. "description": "商品名称",
  29367. "type": "string"
  29368. },
  29369. "goodsquotetype": {
  29370. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29371. "type": "integer"
  29372. },
  29373. "goodsstatus": {
  29374. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29375. "type": "integer"
  29376. },
  29377. "goodstradetype": {
  29378. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29379. "type": "integer"
  29380. },
  29381. "goodunitid": {
  29382. "description": "报价单位ID",
  29383. "type": "integer"
  29384. },
  29385. "hasquoter": {
  29386. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29387. "type": "integer"
  29388. },
  29389. "hqprotecttime": {
  29390. "description": "行情保护时间(秒)",
  29391. "type": "integer"
  29392. },
  29393. "innerdealmode": {
  29394. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29395. "type": "integer"
  29396. },
  29397. "isbuylimited": {
  29398. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29399. "type": "integer"
  29400. },
  29401. "isvisible": {
  29402. "description": "游客是否可见 - 0:不可见 1:可见",
  29403. "type": "integer"
  29404. },
  29405. "lasttradedate": {
  29406. "description": "最后交易日期(状态:待退市)",
  29407. "type": "string"
  29408. },
  29409. "listingdate": {
  29410. "description": "交易开始日期",
  29411. "type": "string"
  29412. },
  29413. "marketid": {
  29414. "description": "所属市场ID",
  29415. "type": "integer"
  29416. },
  29417. "modifierid": {
  29418. "description": "修改人",
  29419. "type": "integer"
  29420. },
  29421. "modifystatus": {
  29422. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29423. "type": "integer"
  29424. },
  29425. "modifytime": {
  29426. "description": "修改时间",
  29427. "type": "string"
  29428. },
  29429. "outerdealmode": {
  29430. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29431. "type": "integer"
  29432. },
  29433. "outgoodscode": {
  29434. "description": "商品代码(外部)",
  29435. "type": "string"
  29436. },
  29437. "pictureurl": {
  29438. "description": "商品图片",
  29439. "type": "string"
  29440. },
  29441. "qtydecimalplace": {
  29442. "description": "成交量小数位",
  29443. "type": "integer"
  29444. },
  29445. "quotegear": {
  29446. "description": "行情档位(1-10)",
  29447. "type": "integer"
  29448. },
  29449. "quoteminunit": {
  29450. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29451. "type": "integer"
  29452. },
  29453. "quoteshowtype": {
  29454. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29455. "type": "integer"
  29456. },
  29457. "quoteshowtypeinterval": {
  29458. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29459. "type": "integer"
  29460. },
  29461. "remark": {
  29462. "description": "备注",
  29463. "type": "string"
  29464. }
  29465. }
  29466. },
  29467. "models.GoodsIDAndName": {
  29468. "type": "object",
  29469. "required": [
  29470. "goodscode",
  29471. "goodsid",
  29472. "goodsname",
  29473. "marketid"
  29474. ],
  29475. "properties": {
  29476. "goodscode": {
  29477. "description": "商品代码(内部)",
  29478. "type": "string"
  29479. },
  29480. "goodsid": {
  29481. "description": "商品ID(自增ID SEQ_GOODS)",
  29482. "type": "integer"
  29483. },
  29484. "goodsname": {
  29485. "description": "商品名称",
  29486. "type": "string"
  29487. },
  29488. "marketid": {
  29489. "description": "所属市场ID",
  29490. "type": "integer"
  29491. }
  29492. }
  29493. },
  29494. "models.Goodsgroup": {
  29495. "type": "object",
  29496. "required": [
  29497. "goodsgroupid",
  29498. "goodsgroupname",
  29499. "goodsgroupstatus",
  29500. "marketid"
  29501. ],
  29502. "properties": {
  29503. "agreeunit": {
  29504. "description": "合约单位",
  29505. "type": "number"
  29506. },
  29507. "canshort": {
  29508. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29509. "type": "integer"
  29510. },
  29511. "closepricemode": {
  29512. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29513. "type": "integer"
  29514. },
  29515. "closepriceparam": {
  29516. "description": "强平最新价浮动比例 - 方式为2时使用",
  29517. "type": "number"
  29518. },
  29519. "createtime": {
  29520. "description": "创建时间",
  29521. "type": "string"
  29522. },
  29523. "creatorid": {
  29524. "description": "创建人",
  29525. "type": "integer"
  29526. },
  29527. "currencyid": {
  29528. "description": "报价货币ID",
  29529. "type": "integer"
  29530. },
  29531. "decimalplace": {
  29532. "description": "报价小数位",
  29533. "type": "integer"
  29534. },
  29535. "exercisetype": {
  29536. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29537. "type": "integer"
  29538. },
  29539. "exexchangeid": {
  29540. "description": "外部交易所ID[通道交易]",
  29541. "type": "integer"
  29542. },
  29543. "goodsgroupid": {
  29544. "description": "商品组ID(自增ID)",
  29545. "type": "integer"
  29546. },
  29547. "goodsgroupname": {
  29548. "description": "商品组名称",
  29549. "type": "string"
  29550. },
  29551. "goodsgroupstatus": {
  29552. "description": "商品组状态 - 1:正常 2:注销",
  29553. "type": "integer"
  29554. },
  29555. "goodunitid": {
  29556. "description": "报价单位ID",
  29557. "type": "integer"
  29558. },
  29559. "innerdealmode": {
  29560. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29561. "type": "integer"
  29562. },
  29563. "isbuylimited": {
  29564. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29565. "type": "integer"
  29566. },
  29567. "marketid": {
  29568. "description": "所属市场ID",
  29569. "type": "integer"
  29570. },
  29571. "modifierid": {
  29572. "description": "修改人",
  29573. "type": "integer"
  29574. },
  29575. "modifytime": {
  29576. "description": "修改时间",
  29577. "type": "string"
  29578. },
  29579. "outerdealmode": {
  29580. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29581. "type": "integer"
  29582. },
  29583. "outergroupcode": {
  29584. "description": "外部商品组代码[通道交易]",
  29585. "type": "string"
  29586. },
  29587. "premiumdecimalplace": {
  29588. "description": "权利金小数位[场外期权]",
  29589. "type": "integer"
  29590. },
  29591. "premiumspreadalgorithm": {
  29592. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29593. "type": "integer"
  29594. },
  29595. "premiumspreadvalue": {
  29596. "description": "权利金点差值[场外期权]",
  29597. "type": "number"
  29598. },
  29599. "qtydecimalplace": {
  29600. "description": "成交量小数位",
  29601. "type": "integer"
  29602. },
  29603. "quotegear": {
  29604. "description": "行情档位(1-10)",
  29605. "type": "integer"
  29606. },
  29607. "quoteminunit": {
  29608. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29609. "type": "integer"
  29610. },
  29611. "quoterid": {
  29612. "description": "报价商ID[场外期权]",
  29613. "type": "integer"
  29614. },
  29615. "quotesourcegroupid": {
  29616. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29617. "type": "integer"
  29618. },
  29619. "syncgoodsqty": {
  29620. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29621. "type": "integer"
  29622. }
  29623. }
  29624. },
  29625. "models.Goodssortbypreposition": {
  29626. "type": "object",
  29627. "required": [
  29628. "goodscode",
  29629. "tradedate"
  29630. ],
  29631. "properties": {
  29632. "goodscode": {
  29633. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29634. "type": "string"
  29635. },
  29636. "goodsgroupcode": {
  29637. "description": "品种代码",
  29638. "type": "string"
  29639. },
  29640. "prepositionqty": {
  29641. "description": "昨持仓量",
  29642. "type": "integer"
  29643. },
  29644. "sortindex": {
  29645. "description": "排序",
  29646. "type": "integer"
  29647. },
  29648. "tradedate": {
  29649. "description": "交易日",
  29650. "type": "string"
  29651. },
  29652. "updatetime": {
  29653. "description": "更新时间",
  29654. "type": "string"
  29655. }
  29656. }
  29657. },
  29658. "models.Hedgeinnerholderdetail": {
  29659. "type": "object",
  29660. "required": [
  29661. "buyorsell",
  29662. "tradeid"
  29663. ],
  29664. "properties": {
  29665. "accountid": {
  29666. "description": "账号ID",
  29667. "type": "integer"
  29668. },
  29669. "buyorsell": {
  29670. "description": "方向 - 0:买 1:卖",
  29671. "type": "integer"
  29672. },
  29673. "freezeqty": {
  29674. "description": "冻结数量 - 按单平使用",
  29675. "type": "integer"
  29676. },
  29677. "goodsid": {
  29678. "description": "商品ID",
  29679. "type": "integer"
  29680. },
  29681. "holderamount": {
  29682. "description": "持仓金额 [商品币种]",
  29683. "type": "number"
  29684. },
  29685. "holderdays": {
  29686. "description": "剩余冻结天数",
  29687. "type": "integer"
  29688. },
  29689. "holderprice": {
  29690. "description": "持仓价格",
  29691. "type": "number"
  29692. },
  29693. "holderqty": {
  29694. "description": "持仓数量",
  29695. "type": "integer"
  29696. },
  29697. "marketid": {
  29698. "description": "市场ID",
  29699. "type": "integer"
  29700. },
  29701. "openprice": {
  29702. "description": "建仓价格",
  29703. "type": "number"
  29704. },
  29705. "openqty": {
  29706. "description": "建仓数量",
  29707. "type": "integer"
  29708. },
  29709. "parentaccountid": {
  29710. "description": "所属母账户",
  29711. "type": "integer"
  29712. },
  29713. "releaseamount": {
  29714. "description": "释放持仓金额[商品币种]",
  29715. "type": "number"
  29716. },
  29717. "tradeamount": {
  29718. "description": "成交金额[账户]",
  29719. "type": "number"
  29720. },
  29721. "tradedate": {
  29722. "description": "交易日(yyyyMMdd)",
  29723. "type": "string"
  29724. },
  29725. "tradeid": {
  29726. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29727. "type": "string"
  29728. },
  29729. "tradetime": {
  29730. "description": "交易时间",
  29731. "type": "string"
  29732. }
  29733. }
  29734. },
  29735. "models.Hedgemarketopenlog": {
  29736. "type": "object",
  29737. "required": [
  29738. "accountid"
  29739. ],
  29740. "properties": {
  29741. "accountid": {
  29742. "description": "资金账号[外部母账户]",
  29743. "type": "integer"
  29744. },
  29745. "fcname": {
  29746. "description": "期货公司名称",
  29747. "type": "string"
  29748. },
  29749. "handlestatus": {
  29750. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29751. "type": "integer"
  29752. },
  29753. "marketid": {
  29754. "description": "市场ID",
  29755. "type": "integer"
  29756. },
  29757. "status": {
  29758. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29759. "type": "integer"
  29760. },
  29761. "tradedate": {
  29762. "description": "交易日(yyyyMMdd)",
  29763. "type": "string"
  29764. },
  29765. "updatetime": {
  29766. "description": "更新时间",
  29767. "type": "string"
  29768. }
  29769. }
  29770. },
  29771. "models.InternalEnableTradeDetail": {
  29772. "type": "object",
  29773. "required": [
  29774. "areauserid",
  29775. "goodsid",
  29776. "tradeuserid"
  29777. ],
  29778. "properties": {
  29779. "agreeunit": {
  29780. "description": "合约乘数",
  29781. "type": "number"
  29782. },
  29783. "areauserid": {
  29784. "description": "企业ID",
  29785. "type": "integer"
  29786. },
  29787. "convertratio": {
  29788. "description": "品种系数",
  29789. "type": "number"
  29790. },
  29791. "deliverygoodscode": {
  29792. "description": "现货品种代码",
  29793. "type": "string"
  29794. },
  29795. "deliverygoodsid": {
  29796. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  29797. "type": "integer"
  29798. },
  29799. "deliverygoodsname": {
  29800. "description": "现货品种名称",
  29801. "type": "string"
  29802. },
  29803. "futurehedgeqty": {
  29804. "description": "[已关联数量]期货持仓套期量",
  29805. "type": "number"
  29806. },
  29807. "goodsid": {
  29808. "description": "期货合约ID",
  29809. "type": "integer"
  29810. },
  29811. "hedgeditemid": {
  29812. "description": "被套期项目ID",
  29813. "type": "string"
  29814. },
  29815. "hedgeditemnum": {
  29816. "description": "项目编号",
  29817. "type": "string"
  29818. },
  29819. "tradeuserid": {
  29820. "description": "交易用户ID",
  29821. "type": "integer"
  29822. },
  29823. "unexehedgeqty": {
  29824. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  29825. "type": "number"
  29826. },
  29827. "unexespotqty": {
  29828. "description": "未执行现货量",
  29829. "type": "number"
  29830. },
  29831. "wrstandardcode": {
  29832. "description": "现货品类代码",
  29833. "type": "string"
  29834. },
  29835. "wrstandardid": {
  29836. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29837. "type": "integer"
  29838. },
  29839. "wrstandardname": {
  29840. "description": "现货品类名称",
  29841. "type": "string"
  29842. }
  29843. }
  29844. },
  29845. "models.InternalUncorrelatedTradeDetail": {
  29846. "type": "object",
  29847. "properties": {
  29848. "accountid": {
  29849. "description": "账号ID",
  29850. "type": "integer"
  29851. },
  29852. "accountname": {
  29853. "description": "套期主体",
  29854. "type": "string"
  29855. },
  29856. "agreeunit": {
  29857. "description": "合约乘数",
  29858. "type": "number"
  29859. },
  29860. "areauserid": {
  29861. "description": "所属机构",
  29862. "type": "integer"
  29863. },
  29864. "bizsubjectid": {
  29865. "description": "归属业务部门ID - SubjectID",
  29866. "type": "integer"
  29867. },
  29868. "buyorsell": {
  29869. "description": "方向 - 0:买 1:卖",
  29870. "type": "integer"
  29871. },
  29872. "channelbuildtype": {
  29873. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29874. "type": "integer"
  29875. },
  29876. "convertratio": {
  29877. "description": "品种系数",
  29878. "type": "number"
  29879. },
  29880. "createtime": {
  29881. "description": "创建时间",
  29882. "type": "string"
  29883. },
  29884. "creatorid": {
  29885. "description": "创建人ID",
  29886. "type": "integer"
  29887. },
  29888. "creatorsrc": {
  29889. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29890. "type": "integer"
  29891. },
  29892. "enableqty": {
  29893. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  29894. "type": "number"
  29895. },
  29896. "enumdicname": {
  29897. "description": "单位",
  29898. "type": "string"
  29899. },
  29900. "goodscode": {
  29901. "description": "合约代码",
  29902. "type": "string"
  29903. },
  29904. "goodsgroupid": {
  29905. "description": "对冲品种ID[期货合约商品组ID]",
  29906. "type": "integer"
  29907. },
  29908. "goodsid": {
  29909. "description": "商品ID",
  29910. "type": "integer"
  29911. },
  29912. "goodsname": {
  29913. "description": "合约名称",
  29914. "type": "string"
  29915. },
  29916. "hedgeditemid": {
  29917. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29918. "type": "integer"
  29919. },
  29920. "hedgeflag": {
  29921. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29922. "type": "integer"
  29923. },
  29924. "linkdetailid": {
  29925. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29926. "type": "string"
  29927. },
  29928. "linkstatus": {
  29929. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29930. "type": "integer"
  29931. },
  29932. "middlegoodsid": {
  29933. "description": "套保品种ID",
  29934. "type": "integer"
  29935. },
  29936. "middlegoodsqty": {
  29937. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  29938. "type": "number"
  29939. },
  29940. "relatedlot": {
  29941. "description": "[数量]关联手数",
  29942. "type": "number"
  29943. },
  29944. "relatedmode": {
  29945. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29946. "type": "integer"
  29947. },
  29948. "relatedqty": {
  29949. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29950. "type": "number"
  29951. },
  29952. "retcode": {
  29953. "description": "返回码",
  29954. "type": "integer"
  29955. },
  29956. "saleuserid": {
  29957. "description": "业务员ID",
  29958. "type": "integer"
  29959. },
  29960. "tradedate": {
  29961. "description": "关联交易日(yyyyMMdd)",
  29962. "type": "string"
  29963. },
  29964. "tradeid": {
  29965. "description": "成交单号",
  29966. "type": "string"
  29967. },
  29968. "tradelot": {
  29969. "description": "成交手数",
  29970. "type": "integer"
  29971. },
  29972. "tradeprice": {
  29973. "description": "成交价",
  29974. "type": "number"
  29975. },
  29976. "tradetime": {
  29977. "description": "成交时间",
  29978. "type": "string"
  29979. },
  29980. "tradetradedate": {
  29981. "description": "成交交易日(yyyyMMdd)",
  29982. "type": "string"
  29983. },
  29984. "tradeuserid": {
  29985. "description": "交易用户ID",
  29986. "type": "integer"
  29987. }
  29988. }
  29989. },
  29990. "models.Loginaccount": {
  29991. "type": "object",
  29992. "required": [
  29993. "loginid"
  29994. ],
  29995. "properties": {
  29996. "accountname": {
  29997. "description": "账户名称",
  29998. "type": "string"
  29999. },
  30000. "canoutin": {
  30001. "description": "是否可出入金 - 0:不可 1:可",
  30002. "type": "integer"
  30003. },
  30004. "clientroleid": {
  30005. "description": "终端角色ID",
  30006. "type": "integer"
  30007. },
  30008. "haslogined": {
  30009. "description": "是否已登录 - 0:未登录 1:已登录",
  30010. "type": "integer"
  30011. },
  30012. "hasupdatedpwd": {
  30013. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30014. "type": "integer"
  30015. },
  30016. "lastloginip": {
  30017. "description": "最新登录地址",
  30018. "type": "string"
  30019. },
  30020. "lastloginmode": {
  30021. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30022. "type": "integer"
  30023. },
  30024. "lastloginremark": {
  30025. "description": "最新登录描述",
  30026. "type": "string"
  30027. },
  30028. "lastlogintime": {
  30029. "description": "最新登录时间",
  30030. "type": "string"
  30031. },
  30032. "logincode": {
  30033. "description": "登录代码",
  30034. "type": "string"
  30035. },
  30036. "loginfailnum": {
  30037. "description": "连续登录失败次数(登录成功时清零)",
  30038. "type": "integer"
  30039. },
  30040. "loginid": {
  30041. "description": "登陆账号",
  30042. "type": "integer"
  30043. },
  30044. "loginport": {
  30045. "description": "最新登录端口",
  30046. "type": "integer"
  30047. },
  30048. "loginstatus": {
  30049. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30050. "type": "integer"
  30051. },
  30052. "loginusertype": {
  30053. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30054. "type": "integer"
  30055. },
  30056. "mobile": {
  30057. "description": "手机号码(加密存储)",
  30058. "type": "string"
  30059. },
  30060. "modifierid": {
  30061. "description": "修改人",
  30062. "type": "integer"
  30063. },
  30064. "modifysrc": {
  30065. "description": "审核来源 - 1:管理端 2:终端",
  30066. "type": "integer"
  30067. },
  30068. "modifytime": {
  30069. "description": "修改时间",
  30070. "type": "string"
  30071. },
  30072. "pwdwrongcount": {
  30073. "description": "密码错误次数",
  30074. "type": "integer"
  30075. },
  30076. "relateduserid": {
  30077. "description": "关联用户ID(机构)",
  30078. "type": "integer"
  30079. },
  30080. "taaccountrighttype": {
  30081. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30082. "type": "integer"
  30083. },
  30084. "unfreezetime": {
  30085. "description": "账户解冻时间",
  30086. "type": "string"
  30087. },
  30088. "userid": {
  30089. "description": "用户ID",
  30090. "type": "integer"
  30091. }
  30092. }
  30093. },
  30094. "models.MainAccountInfo": {
  30095. "type": "object",
  30096. "properties": {
  30097. "accountid": {
  30098. "description": "账号id",
  30099. "type": "integer"
  30100. },
  30101. "accountname": {
  30102. "description": "账号名称(taaccount表中的名称)",
  30103. "type": "string"
  30104. },
  30105. "appid": {
  30106. "description": "AppID",
  30107. "type": "string"
  30108. },
  30109. "authcode": {
  30110. "description": "授权码",
  30111. "type": "string"
  30112. },
  30113. "brokerid": {
  30114. "description": "经纪商id",
  30115. "type": "string"
  30116. },
  30117. "fcid": {
  30118. "description": "期货公司id",
  30119. "type": "integer"
  30120. },
  30121. "fcname": {
  30122. "description": "期货公司代码",
  30123. "type": "string"
  30124. },
  30125. "hedgeaccountcode": {
  30126. "description": "外部账号代码(主账号登录代码)",
  30127. "type": "string"
  30128. },
  30129. "hedgeaccountpwd": {
  30130. "description": "密码",
  30131. "type": "string"
  30132. },
  30133. "ismain": {
  30134. "description": "是否主账号",
  30135. "type": "integer"
  30136. },
  30137. "relateduserid": {
  30138. "description": "关联用户id",
  30139. "type": "integer"
  30140. },
  30141. "userid": {
  30142. "description": "关联用户id",
  30143. "type": "integer"
  30144. }
  30145. }
  30146. },
  30147. "models.Market": {
  30148. "type": "object",
  30149. "required": [
  30150. "marketid",
  30151. "marketstatus",
  30152. "openmethod",
  30153. "reckonpricealgorithm",
  30154. "trademode",
  30155. "tradeproperty"
  30156. ],
  30157. "properties": {
  30158. "auctionwrtype": {
  30159. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30160. "type": "integer"
  30161. },
  30162. "canacceptquote": {
  30163. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30164. "type": "integer"
  30165. },
  30166. "cangoodsexercise": {
  30167. "description": "[期权]是否可现货行权- 0:否 1:是",
  30168. "type": "integer"
  30169. },
  30170. "cangoodsexercisetype": {
  30171. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30172. "type": "integer"
  30173. },
  30174. "canmanualquotestrike": {
  30175. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30176. "type": "integer"
  30177. },
  30178. "canmutistage": {
  30179. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30180. "type": "integer"
  30181. },
  30182. "canpreexercise": {
  30183. "description": "[期权]是否可预申报- 0:否 1:是",
  30184. "type": "integer"
  30185. },
  30186. "clearinterval": {
  30187. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30188. "type": "integer"
  30189. },
  30190. "contracttmp": {
  30191. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30192. "type": "string"
  30193. },
  30194. "exchareaid": {
  30195. "description": "所属交易所,可以没有",
  30196. "type": "integer"
  30197. },
  30198. "goodstype": {
  30199. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30200. "type": "integer"
  30201. },
  30202. "hasrebate": {
  30203. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30204. "type": "integer"
  30205. },
  30206. "hastradecredit": {
  30207. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30208. "type": "integer"
  30209. },
  30210. "haswr": {
  30211. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30212. "type": "integer"
  30213. },
  30214. "isdeductmargin": {
  30215. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30216. "type": "integer"
  30217. },
  30218. "isrecordsource": {
  30219. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30220. "type": "integer"
  30221. },
  30222. "isreleasemargin": {
  30223. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30224. "type": "integer"
  30225. },
  30226. "marginformula": {
  30227. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30228. "type": "integer"
  30229. },
  30230. "marginformula2": {
  30231. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30232. "type": "integer"
  30233. },
  30234. "marketid": {
  30235. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30236. "type": "integer"
  30237. },
  30238. "marketname": {
  30239. "description": "市场名称",
  30240. "type": "string"
  30241. },
  30242. "marketserviceid": {
  30243. "description": "市场服务ID",
  30244. "type": "integer"
  30245. },
  30246. "marketstatus": {
  30247. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30248. "type": "integer"
  30249. },
  30250. "markettype": {
  30251. "description": "市场类型- 1:非交易服务 2:交易服务",
  30252. "type": "integer"
  30253. },
  30254. "matchermode": {
  30255. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30256. "type": "integer"
  30257. },
  30258. "openmethod": {
  30259. "description": "开盘模式 - 0 自动 1手动",
  30260. "type": "integer"
  30261. },
  30262. "otcuserid": {
  30263. "description": "场外期权做市商[场外期权]",
  30264. "type": "integer"
  30265. },
  30266. "outersynctime": {
  30267. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30268. "type": "string"
  30269. },
  30270. "pendingflag": {
  30271. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30272. "type": "integer"
  30273. },
  30274. "pendingtime": {
  30275. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30276. "type": "string"
  30277. },
  30278. "performancetempid": {
  30279. "description": "履约计划模板ID - 作废",
  30280. "type": "integer"
  30281. },
  30282. "premiumquotemode": {
  30283. "description": "权利金报价方式 - 1:自动 2:手动",
  30284. "type": "integer"
  30285. },
  30286. "rebateratio": {
  30287. "description": "返利比率[竞价式]",
  30288. "type": "number"
  30289. },
  30290. "reckonorder": {
  30291. "description": "结算顺序",
  30292. "type": "integer"
  30293. },
  30294. "reckonpricealgorithm": {
  30295. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30296. "type": "integer"
  30297. },
  30298. "reckonpriceparam": {
  30299. "description": "结算价参数",
  30300. "type": "integer"
  30301. },
  30302. "reckontime": {
  30303. "description": "结算时间[通道交易-对冲](HH:mm)",
  30304. "type": "string"
  30305. },
  30306. "roleprioritytype": {
  30307. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30308. "type": "integer"
  30309. },
  30310. "selllistingauditflag": {
  30311. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30312. "type": "integer"
  30313. },
  30314. "trademarkettype": {
  30315. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30316. "type": "integer"
  30317. },
  30318. "trademode": {
  30319. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30320. "type": "integer"
  30321. },
  30322. "tradeproperty": {
  30323. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30324. "type": "integer"
  30325. },
  30326. "tradetype": {
  30327. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30328. "type": "integer"
  30329. }
  30330. }
  30331. },
  30332. "models.Marketcalendar": {
  30333. "type": "object",
  30334. "properties": {
  30335. "holidaydate": {
  30336. "description": "节假日期(yyyy-MM-dd)",
  30337. "type": "string"
  30338. },
  30339. "marketid": {
  30340. "description": "市场ID",
  30341. "type": "integer"
  30342. }
  30343. }
  30344. },
  30345. "models.Marketrun": {
  30346. "type": "object",
  30347. "required": [
  30348. "marketid",
  30349. "nexttradedate",
  30350. "reckonflag",
  30351. "runstatus",
  30352. "tradedate",
  30353. "tradedate2"
  30354. ],
  30355. "properties": {
  30356. "afternexttradedate": {
  30357. "description": "下下交易日",
  30358. "type": "string"
  30359. },
  30360. "clearquoteflag": {
  30361. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  30362. "type": "integer"
  30363. },
  30364. "lastreckondate": {
  30365. "description": "最新交易日(结算成功)",
  30366. "type": "string"
  30367. },
  30368. "machinedate": {
  30369. "description": "机器时间",
  30370. "type": "string"
  30371. },
  30372. "manualflag": {
  30373. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  30374. "type": "integer"
  30375. },
  30376. "marketid": {
  30377. "description": "市场ID",
  30378. "type": "integer"
  30379. },
  30380. "nexttradedate": {
  30381. "description": "下一交易日",
  30382. "type": "string"
  30383. },
  30384. "pretradedate": {
  30385. "description": "上一交易日",
  30386. "type": "string"
  30387. },
  30388. "reckonflag": {
  30389. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  30390. "type": "integer"
  30391. },
  30392. "runstatus": {
  30393. "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.今日免清算",
  30394. "type": "integer"
  30395. },
  30396. "sectionid": {
  30397. "description": "时间段号[多时段时用]",
  30398. "type": "integer"
  30399. },
  30400. "tradedate": {
  30401. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  30402. "type": "string"
  30403. },
  30404. "tradedate2": {
  30405. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  30406. "type": "string"
  30407. },
  30408. "updatetime": {
  30409. "description": "更新时间",
  30410. "type": "string"
  30411. }
  30412. }
  30413. },
  30414. "models.Messageboard": {
  30415. "type": "object",
  30416. "required": [
  30417. "messageboardid"
  30418. ],
  30419. "properties": {
  30420. "contactnum": {
  30421. "description": "联系电话",
  30422. "type": "string"
  30423. },
  30424. "createtime": {
  30425. "description": "创建时间",
  30426. "type": "string"
  30427. },
  30428. "message": {
  30429. "description": "留言信息",
  30430. "type": "string"
  30431. },
  30432. "messageboardid": {
  30433. "description": "留言簿ID(SEQ_MessageBoard)",
  30434. "type": "integer"
  30435. },
  30436. "userid": {
  30437. "description": "用户ID",
  30438. "type": "integer"
  30439. }
  30440. }
  30441. },
  30442. "models.MyBargainApply": {
  30443. "type": "object",
  30444. "required": [
  30445. "userid"
  30446. ],
  30447. "properties": {
  30448. "accountid": {
  30449. "description": "摘牌资金账号",
  30450. "type": "integer"
  30451. },
  30452. "applyprice": {
  30453. "description": "申请价格",
  30454. "type": "string"
  30455. },
  30456. "applyremark": {
  30457. "description": "申请备注",
  30458. "type": "string"
  30459. },
  30460. "applystatus": {
  30461. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30462. "type": "integer"
  30463. },
  30464. "applytime": {
  30465. "description": "申请时间",
  30466. "type": "string"
  30467. },
  30468. "buyorsell": {
  30469. "description": "买卖 - 0:买 1:卖",
  30470. "type": "integer"
  30471. },
  30472. "confirmprice": {
  30473. "description": "可接受价格(拒绝时填写)-作废",
  30474. "type": "number"
  30475. },
  30476. "confirmqty": {
  30477. "description": "可接受数量(拒绝时填写)-作废",
  30478. "type": "integer"
  30479. },
  30480. "confirmremark": {
  30481. "description": "确认备注",
  30482. "type": "string"
  30483. },
  30484. "confirmtime": {
  30485. "description": "确认时间",
  30486. "type": "string"
  30487. },
  30488. "confirmuserid": {
  30489. "description": "确认人",
  30490. "type": "integer"
  30491. },
  30492. "goodsno": {
  30493. "description": "商品编号",
  30494. "type": "string"
  30495. },
  30496. "handlestatus": {
  30497. "description": "处理状态",
  30498. "type": "integer"
  30499. },
  30500. "ladingbillid": {
  30501. "description": "摘牌方提单ID [卖]",
  30502. "type": "integer"
  30503. },
  30504. "marketid": {
  30505. "description": "市场ID",
  30506. "type": "integer"
  30507. },
  30508. "matchaccountid": {
  30509. "description": "挂牌方资金账号",
  30510. "type": "integer"
  30511. },
  30512. "matchuserid": {
  30513. "description": "挂牌方用户ID",
  30514. "type": "integer"
  30515. },
  30516. "price": {
  30517. "description": "价格",
  30518. "type": "number"
  30519. },
  30520. "priceper": {
  30521. "description": "克拉单价 - 类型:1,2,3,5",
  30522. "type": "string"
  30523. },
  30524. "qty": {
  30525. "description": "申请数量",
  30526. "type": "number"
  30527. },
  30528. "refprice": {
  30529. "description": "参考价格",
  30530. "type": "string"
  30531. },
  30532. "retcode": {
  30533. "description": "委托返回代码",
  30534. "type": "integer"
  30535. },
  30536. "sellusername": {
  30537. "description": "卖方",
  30538. "type": "string"
  30539. },
  30540. "sizedisplay": {
  30541. "description": "尺寸",
  30542. "type": "string"
  30543. },
  30544. "subnum": {
  30545. "description": "摘牌方提单子单号 [卖]",
  30546. "type": "integer"
  30547. },
  30548. "tradedate": {
  30549. "description": "交易日(yyyyMMdd)",
  30550. "type": "string"
  30551. },
  30552. "userid": {
  30553. "description": "摘牌人用户ID",
  30554. "type": "integer"
  30555. },
  30556. "warehousenamedisplay": {
  30557. "type": "string"
  30558. },
  30559. "wrbargainid": {
  30560. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30561. "type": "string"
  30562. },
  30563. "wrtradeorderid": {
  30564. "description": "关联委托单ID",
  30565. "type": "string"
  30566. },
  30567. "zscerttypedisplay": {
  30568. "type": "string"
  30569. },
  30570. "zsclaritytype1display": {
  30571. "type": "string"
  30572. },
  30573. "zsclaritytype2display": {
  30574. "type": "string"
  30575. },
  30576. "zscolortype1display": {
  30577. "type": "string"
  30578. },
  30579. "zscolortype2display": {
  30580. "type": "string"
  30581. },
  30582. "zscrystaltypedisplay": {
  30583. "type": "string"
  30584. },
  30585. "zscurrencytypedisplay": {
  30586. "type": "string"
  30587. },
  30588. "zscurrencytypedisplayunit": {
  30589. "type": "string"
  30590. },
  30591. "zscuttype1display": {
  30592. "type": "string"
  30593. },
  30594. "zscuttype2display": {
  30595. "type": "string"
  30596. },
  30597. "zsczcolor1typedisplay": {
  30598. "type": "string"
  30599. },
  30600. "zsczcolor2typedisplay": {
  30601. "type": "string"
  30602. },
  30603. "zsczcolor3typedisplay": {
  30604. "type": "string"
  30605. },
  30606. "zsfluorescencetype1display": {
  30607. "type": "string"
  30608. },
  30609. "zsfluorescencetype2display": {
  30610. "type": "string"
  30611. },
  30612. "zspolishtype1display": {
  30613. "type": "string"
  30614. },
  30615. "zspolishtype2display": {
  30616. "type": "string"
  30617. },
  30618. "zsshapetypedisplay": {
  30619. "type": "string"
  30620. },
  30621. "zsstyletypedisplay": {
  30622. "type": "string"
  30623. },
  30624. "zssymmetrytype1display": {
  30625. "type": "string"
  30626. },
  30627. "zssymmetrytype2display": {
  30628. "type": "string"
  30629. }
  30630. }
  30631. },
  30632. "models.MyBuyOrder": {
  30633. "type": "object",
  30634. "required": [
  30635. "userid"
  30636. ],
  30637. "properties": {
  30638. "accountid": {
  30639. "description": "资金账户ID",
  30640. "type": "integer"
  30641. },
  30642. "marketid": {
  30643. "description": "市场ID",
  30644. "type": "integer"
  30645. },
  30646. "ordertime": {
  30647. "description": "委托时间",
  30648. "type": "string"
  30649. },
  30650. "origin": {
  30651. "description": "原产地",
  30652. "type": "string"
  30653. },
  30654. "remark": {
  30655. "description": "备注",
  30656. "type": "string"
  30657. },
  30658. "userid": {
  30659. "description": "用户ID",
  30660. "type": "integer"
  30661. },
  30662. "validtime": {
  30663. "description": "有效期限",
  30664. "type": "string"
  30665. },
  30666. "warehouseids": {
  30667. "description": "仓库ID - 多个, 逗号分隔",
  30668. "type": "string"
  30669. },
  30670. "warehouseinfosdisplay": {
  30671. "type": "string"
  30672. },
  30673. "wrtradeorderid": {
  30674. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30675. "type": "string"
  30676. },
  30677. "wrtradeorderstatus": {
  30678. "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、",
  30679. "type": "integer"
  30680. },
  30681. "zscategory": {
  30682. "description": "钻石分类 - 枚举”ZSCategory“",
  30683. "type": "integer"
  30684. },
  30685. "zscategorydisplay": {
  30686. "type": "string"
  30687. },
  30688. "zsclaritytype": {
  30689. "description": "净度 - 两个, 逗号分隔",
  30690. "type": "string"
  30691. },
  30692. "zsclaritytypedisplay": {
  30693. "type": "string"
  30694. },
  30695. "zscolortype": {
  30696. "description": "颜色 - 两个, 逗号分隔",
  30697. "type": "string"
  30698. },
  30699. "zscolortypedisplay": {
  30700. "type": "string"
  30701. },
  30702. "zscrystaltype": {
  30703. "description": "晶型 - 多个,逗号分隔",
  30704. "type": "string"
  30705. },
  30706. "zscrystaltypedisplay": {
  30707. "type": "string"
  30708. },
  30709. "zscurrencytype": {
  30710. "description": "货币类型 - 多个, 逗号分隔",
  30711. "type": "string"
  30712. },
  30713. "zscurrencytypedisplay": {
  30714. "type": "string"
  30715. },
  30716. "zscuttype": {
  30717. "description": "切工 - 两个, 逗号分隔",
  30718. "type": "string"
  30719. },
  30720. "zscuttypedisplay": {
  30721. "type": "string"
  30722. },
  30723. "zsczcolor1type": {
  30724. "description": "彩钻颜色1, 逗号分隔",
  30725. "type": "string"
  30726. },
  30727. "zsczcolor1typedisplay": {
  30728. "type": "string"
  30729. },
  30730. "zsczcolor2type": {
  30731. "description": "彩钻颜色2, 逗号分隔",
  30732. "type": "string"
  30733. },
  30734. "zsczcolor2typedisplay": {
  30735. "type": "string"
  30736. },
  30737. "zsczcolor3type": {
  30738. "description": "彩钻颜色3, 逗号分隔",
  30739. "type": "string"
  30740. },
  30741. "zsczcolor3typedisplay": {
  30742. "type": "string"
  30743. },
  30744. "zsfluorescencetype": {
  30745. "description": "荧光 - 多个, 逗号分隔",
  30746. "type": "string"
  30747. },
  30748. "zsfluorescencetypedisplay": {
  30749. "type": "string"
  30750. },
  30751. "zspolishtype": {
  30752. "description": "抛光度 - 两个, 逗号分隔",
  30753. "type": "string"
  30754. },
  30755. "zspolishtypedisplay": {
  30756. "type": "string"
  30757. },
  30758. "zsshapetype": {
  30759. "description": "形状 - 多个, 逗号分隔",
  30760. "type": "string"
  30761. },
  30762. "zsshapetypedisplay": {
  30763. "type": "string"
  30764. },
  30765. "zssize": {
  30766. "description": "尺寸 - 两个小数, 逗号分隔",
  30767. "type": "string"
  30768. },
  30769. "zsstyletype": {
  30770. "description": "款式 - 多个, 逗号分隔",
  30771. "type": "string"
  30772. },
  30773. "zsstyletypedisplay": {
  30774. "type": "string"
  30775. },
  30776. "zssymmetrytype": {
  30777. "description": "对称度 - 两个, 逗号分隔",
  30778. "type": "string"
  30779. },
  30780. "zssymmetrytypedisplay": {
  30781. "type": "string"
  30782. },
  30783. "zstabledisplay": {
  30784. "description": "求购信息",
  30785. "type": "string"
  30786. }
  30787. }
  30788. },
  30789. "models.MyDeListing": {
  30790. "type": "object",
  30791. "required": [
  30792. "userid"
  30793. ],
  30794. "properties": {
  30795. "buyaccountid": {
  30796. "description": "买方账号ID",
  30797. "type": "integer"
  30798. },
  30799. "buychargevalue": {
  30800. "description": "买方手续费",
  30801. "type": "number"
  30802. },
  30803. "buyuserid": {
  30804. "description": "买方用户ID",
  30805. "type": "integer"
  30806. },
  30807. "deliverygoodsid": {
  30808. "description": "现货品种ID",
  30809. "type": "integer"
  30810. },
  30811. "exchangerate": {
  30812. "description": "汇率",
  30813. "type": "number"
  30814. },
  30815. "goodsno": {
  30816. "description": "商品编号",
  30817. "type": "string"
  30818. },
  30819. "marketid": {
  30820. "description": "市场ID",
  30821. "type": "integer"
  30822. },
  30823. "matchusername": {
  30824. "description": "对手方",
  30825. "type": "string"
  30826. },
  30827. "oritradeamount": {
  30828. "description": "成交金额[商品币种]",
  30829. "type": "number"
  30830. },
  30831. "performanceplanid": {
  30832. "description": "履约计划ID/合同ID",
  30833. "type": "integer"
  30834. },
  30835. "price": {
  30836. "description": "价格",
  30837. "type": "number"
  30838. },
  30839. "qty": {
  30840. "description": "成交重量",
  30841. "type": "number"
  30842. },
  30843. "sellaccountid": {
  30844. "description": "卖方账号ID",
  30845. "type": "integer"
  30846. },
  30847. "sellchargevalue": {
  30848. "description": "卖方手续费",
  30849. "type": "number"
  30850. },
  30851. "selluserid": {
  30852. "description": "卖方用户ID",
  30853. "type": "integer"
  30854. },
  30855. "sizedisplay": {
  30856. "description": "尺寸",
  30857. "type": "string"
  30858. },
  30859. "tradeamount": {
  30860. "description": "成交金额",
  30861. "type": "number"
  30862. },
  30863. "tradedate": {
  30864. "description": "交易日(yyyyMMdd)",
  30865. "type": "string"
  30866. },
  30867. "tradeprice": {
  30868. "description": "成交价格",
  30869. "type": "number"
  30870. },
  30871. "tradetime": {
  30872. "description": "成交时间",
  30873. "type": "string"
  30874. },
  30875. "userid": {
  30876. "description": "用户ID",
  30877. "type": "integer"
  30878. },
  30879. "warehousenamedisplay": {
  30880. "type": "string"
  30881. },
  30882. "wrfactortypeid": {
  30883. "description": "仓单要素类型ID",
  30884. "type": "integer"
  30885. },
  30886. "wrstandardid": {
  30887. "description": "现货商品ID",
  30888. "type": "integer"
  30889. },
  30890. "wrtradedetailid": {
  30891. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30892. "type": "string"
  30893. },
  30894. "zscategory": {
  30895. "description": "钻石分类 - 枚举”ZSCategory“",
  30896. "type": "integer"
  30897. },
  30898. "zscategorydisplay": {
  30899. "type": "string"
  30900. },
  30901. "zscerttypedisplay": {
  30902. "type": "string"
  30903. },
  30904. "zsclaritytype1display": {
  30905. "type": "string"
  30906. },
  30907. "zsclaritytype2display": {
  30908. "type": "string"
  30909. },
  30910. "zscolortype1display": {
  30911. "type": "string"
  30912. },
  30913. "zscolortype2display": {
  30914. "type": "string"
  30915. },
  30916. "zscrystaltypedisplay": {
  30917. "type": "string"
  30918. },
  30919. "zscurrencytype": {
  30920. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30921. "type": "integer"
  30922. },
  30923. "zscurrencytypedisplay": {
  30924. "type": "string"
  30925. },
  30926. "zscurrencytypedisplayunit": {
  30927. "type": "string"
  30928. },
  30929. "zscuttype1display": {
  30930. "type": "string"
  30931. },
  30932. "zscuttype2display": {
  30933. "type": "string"
  30934. },
  30935. "zsczcolor1typedisplay": {
  30936. "type": "string"
  30937. },
  30938. "zsczcolor2typedisplay": {
  30939. "type": "string"
  30940. },
  30941. "zsczcolor3typedisplay": {
  30942. "type": "string"
  30943. },
  30944. "zsfluorescencetype1display": {
  30945. "type": "string"
  30946. },
  30947. "zsfluorescencetype2display": {
  30948. "type": "string"
  30949. },
  30950. "zspolishtype1display": {
  30951. "type": "string"
  30952. },
  30953. "zspolishtype2display": {
  30954. "type": "string"
  30955. },
  30956. "zsshapetypedisplay": {
  30957. "type": "string"
  30958. },
  30959. "zsstyletypedisplay": {
  30960. "type": "string"
  30961. },
  30962. "zssymmetrytype1display": {
  30963. "type": "string"
  30964. },
  30965. "zssymmetrytype2display": {
  30966. "type": "string"
  30967. }
  30968. }
  30969. },
  30970. "models.MyDelistingApply": {
  30971. "type": "object",
  30972. "required": [
  30973. "selluserid"
  30974. ],
  30975. "properties": {
  30976. "applyprice": {
  30977. "description": "申请价格",
  30978. "type": "number"
  30979. },
  30980. "applyqty": {
  30981. "description": "申请数量",
  30982. "type": "number"
  30983. },
  30984. "applyremark": {
  30985. "description": "申请备注",
  30986. "type": "string"
  30987. },
  30988. "applystatus": {
  30989. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30990. "type": "integer"
  30991. },
  30992. "applytime": {
  30993. "description": "申请时间",
  30994. "type": "string"
  30995. },
  30996. "auditremark": {
  30997. "description": "确认备注",
  30998. "type": "string"
  30999. },
  31000. "audittime": {
  31001. "description": "确认时间",
  31002. "type": "string"
  31003. },
  31004. "buyuserid": {
  31005. "description": "买方用户ID",
  31006. "type": "integer"
  31007. },
  31008. "buyusername": {
  31009. "type": "string"
  31010. },
  31011. "buywrtradeorderid": {
  31012. "description": "买委托单ID",
  31013. "type": "string"
  31014. },
  31015. "goodsno": {
  31016. "description": "商品编号",
  31017. "type": "string"
  31018. },
  31019. "ladingbillid": {
  31020. "description": "卖方提单ID",
  31021. "type": "string"
  31022. },
  31023. "marketid": {
  31024. "description": "市场ID",
  31025. "type": "integer"
  31026. },
  31027. "price": {
  31028. "description": "价格",
  31029. "type": "number"
  31030. },
  31031. "sellaccountid": {
  31032. "description": "卖方账户ID",
  31033. "type": "integer"
  31034. },
  31035. "selldelistingapplyid": {
  31036. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  31037. "type": "string"
  31038. },
  31039. "selltradeorderid": {
  31040. "description": "卖方委托ID(买方确认成交后更新)",
  31041. "type": "string"
  31042. },
  31043. "selluserid": {
  31044. "description": "卖方用户ID",
  31045. "type": "integer"
  31046. },
  31047. "sizedisplay": {
  31048. "description": "尺寸",
  31049. "type": "string"
  31050. },
  31051. "subnum": {
  31052. "description": "卖方提单子单号",
  31053. "type": "integer"
  31054. },
  31055. "warehouseinfosdisplay": {
  31056. "type": "string"
  31057. },
  31058. "weight": {
  31059. "description": "克拉重量",
  31060. "type": "number"
  31061. },
  31062. "wrfactortypeid": {
  31063. "description": "仓单要素类型ID",
  31064. "type": "string"
  31065. },
  31066. "wrstandardid": {
  31067. "description": "现货商品ID",
  31068. "type": "integer"
  31069. },
  31070. "zsallproperties": {
  31071. "type": "string"
  31072. },
  31073. "zscategorydisplay": {
  31074. "type": "string"
  31075. },
  31076. "zsclaritytypedisplay": {
  31077. "type": "string"
  31078. },
  31079. "zscolortypedisplay": {
  31080. "type": "string"
  31081. },
  31082. "zscrystaltypedisplay": {
  31083. "type": "string"
  31084. },
  31085. "zscurrencytypedisplay": {
  31086. "type": "string"
  31087. },
  31088. "zscuttypedisplay": {
  31089. "type": "string"
  31090. },
  31091. "zsczcolor1typedisplay": {
  31092. "type": "string"
  31093. },
  31094. "zsczcolor2typedisplay": {
  31095. "type": "string"
  31096. },
  31097. "zsczcolor3typedisplay": {
  31098. "type": "string"
  31099. },
  31100. "zsfluorescencetypedisplay": {
  31101. "type": "string"
  31102. },
  31103. "zspolishtypedisplay": {
  31104. "type": "string"
  31105. },
  31106. "zsshapetypedisplay": {
  31107. "type": "string"
  31108. },
  31109. "zssizedisplay": {
  31110. "type": "string"
  31111. },
  31112. "zsstyletypedisplay": {
  31113. "type": "string"
  31114. },
  31115. "zssymmetrytypedisplay": {
  31116. "type": "string"
  31117. },
  31118. "zstabledisplay": {
  31119. "type": "string"
  31120. }
  31121. }
  31122. },
  31123. "models.MyFavorite": {
  31124. "type": "object",
  31125. "required": [
  31126. "userid"
  31127. ],
  31128. "properties": {
  31129. "buyorsell": {
  31130. "description": "买卖 - 0:买 1:卖",
  31131. "type": "integer"
  31132. },
  31133. "favoritestatus": {
  31134. "description": "收藏状态 - 1:正常 2:失效",
  31135. "type": "integer"
  31136. },
  31137. "goodsno": {
  31138. "description": "商品编号",
  31139. "type": "string"
  31140. },
  31141. "marketid": {
  31142. "description": "市场ID",
  31143. "type": "integer"
  31144. },
  31145. "price": {
  31146. "description": "价格",
  31147. "type": "number"
  31148. },
  31149. "priceper": {
  31150. "description": "克拉单价",
  31151. "type": "string"
  31152. },
  31153. "sizedisplay": {
  31154. "description": "尺寸",
  31155. "type": "string"
  31156. },
  31157. "userid": {
  31158. "description": "用户ID",
  31159. "type": "integer"
  31160. },
  31161. "warehousenamedisplay": {
  31162. "type": "string"
  31163. },
  31164. "weight": {
  31165. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31166. "type": "number"
  31167. },
  31168. "weightavg": {
  31169. "description": "平均单颗重量 - 类型:1,3",
  31170. "type": "number"
  31171. },
  31172. "wrfactortypeid": {
  31173. "description": "仓单要素类型ID/商品ID(77)",
  31174. "type": "string"
  31175. },
  31176. "wrstandardid": {
  31177. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  31178. "type": "integer"
  31179. },
  31180. "wrtradeorderid": {
  31181. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31182. "type": "string"
  31183. },
  31184. "zscategorydisplay": {
  31185. "type": "string"
  31186. },
  31187. "zscerttypedisplay": {
  31188. "type": "string"
  31189. },
  31190. "zsclaritytype1display": {
  31191. "type": "string"
  31192. },
  31193. "zsclaritytype2display": {
  31194. "type": "string"
  31195. },
  31196. "zscolortype1display": {
  31197. "type": "string"
  31198. },
  31199. "zscolortype2display": {
  31200. "type": "string"
  31201. },
  31202. "zscrystaltypedisplay": {
  31203. "type": "string"
  31204. },
  31205. "zscurrencytypedisplay": {
  31206. "type": "string"
  31207. },
  31208. "zscurrencytypedisplayunit": {
  31209. "type": "string"
  31210. },
  31211. "zscuttype1display": {
  31212. "type": "string"
  31213. },
  31214. "zscuttype2display": {
  31215. "type": "string"
  31216. },
  31217. "zsczcolor1typedisplay": {
  31218. "type": "string"
  31219. },
  31220. "zsczcolor2typedisplay": {
  31221. "type": "string"
  31222. },
  31223. "zsczcolor3typedisplay": {
  31224. "type": "string"
  31225. },
  31226. "zsfluorescencetype1display": {
  31227. "type": "string"
  31228. },
  31229. "zsfluorescencetype2display": {
  31230. "type": "string"
  31231. },
  31232. "zspolishtype1display": {
  31233. "type": "string"
  31234. },
  31235. "zspolishtype2display": {
  31236. "type": "string"
  31237. },
  31238. "zsshapetypedisplay": {
  31239. "type": "string"
  31240. },
  31241. "zsstyletypedisplay": {
  31242. "type": "string"
  31243. },
  31244. "zssymmetrytype1display": {
  31245. "type": "string"
  31246. },
  31247. "zssymmetrytype2display": {
  31248. "type": "string"
  31249. }
  31250. }
  31251. },
  31252. "models.MyPerformanc": {
  31253. "type": "object",
  31254. "properties": {
  31255. "accountname": {
  31256. "description": "[对手方]账户名称(机构名称)",
  31257. "type": "string"
  31258. },
  31259. "amount": {
  31260. "description": "履约金额",
  31261. "type": "number"
  31262. },
  31263. "buyaccountid": {
  31264. "description": "买方账号",
  31265. "type": "integer"
  31266. },
  31267. "buyerfreezeamount": {
  31268. "description": "买方履约前冻结资金",
  31269. "type": "number"
  31270. },
  31271. "buyerfreezeamountremain": {
  31272. "description": "买方履约前冻结资金剩余",
  31273. "type": "number"
  31274. },
  31275. "buyerinfo": {
  31276. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  31277. "type": "string"
  31278. },
  31279. "buyorsell": {
  31280. "description": "方向 - 0:买 1:卖",
  31281. "type": "integer"
  31282. },
  31283. "buypaidamount": {
  31284. "description": "买方已冻/已扣金额",
  31285. "type": "number"
  31286. },
  31287. "curstepid": {
  31288. "description": "当前步骤ID",
  31289. "type": "string"
  31290. },
  31291. "goodsno": {
  31292. "description": "商品编号",
  31293. "type": "string"
  31294. },
  31295. "overshortamount": {
  31296. "description": "溢短金额",
  31297. "type": "number"
  31298. },
  31299. "paymenttype": {
  31300. "description": "买方支付方式 - 1:冻结 2:扣款",
  31301. "type": "integer"
  31302. },
  31303. "performanceplanid": {
  31304. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31305. "type": "string"
  31306. },
  31307. "performancestatus": {
  31308. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31309. "type": "integer"
  31310. },
  31311. "price": {
  31312. "description": "价格",
  31313. "type": "number"
  31314. },
  31315. "priceper": {
  31316. "description": "克拉单价",
  31317. "type": "string"
  31318. },
  31319. "relatedorderid": {
  31320. "description": "关联单号(履约类型的关联单号)",
  31321. "type": "string"
  31322. },
  31323. "remaindays": {
  31324. "description": "剩余天数",
  31325. "type": "integer"
  31326. },
  31327. "sellerfreezeamount": {
  31328. "description": "卖方履约前冻结资金",
  31329. "type": "number"
  31330. },
  31331. "sellerfreezeamountremain": {
  31332. "description": "卖方履约前冻结资金剩余",
  31333. "type": "number"
  31334. },
  31335. "sellerinfo": {
  31336. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  31337. "type": "string"
  31338. },
  31339. "sellreceivedamount": {
  31340. "description": "卖方已收金额",
  31341. "type": "number"
  31342. },
  31343. "sizedisplay": {
  31344. "description": "尺寸",
  31345. "type": "string"
  31346. },
  31347. "steptypeid": {
  31348. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31349. "type": "integer"
  31350. },
  31351. "warehousenamedisplay": {
  31352. "type": "string"
  31353. },
  31354. "zscategorydisplay": {
  31355. "type": "string"
  31356. },
  31357. "zscerttypedisplay": {
  31358. "type": "string"
  31359. },
  31360. "zsclaritytype1display": {
  31361. "type": "string"
  31362. },
  31363. "zsclaritytype2display": {
  31364. "type": "string"
  31365. },
  31366. "zscolortype1display": {
  31367. "type": "string"
  31368. },
  31369. "zscolortype2display": {
  31370. "type": "string"
  31371. },
  31372. "zscrystaltypedisplay": {
  31373. "type": "string"
  31374. },
  31375. "zscurrencytypedisplay": {
  31376. "type": "string"
  31377. },
  31378. "zscurrencytypedisplayunit": {
  31379. "type": "string"
  31380. },
  31381. "zscuttype1display": {
  31382. "type": "string"
  31383. },
  31384. "zscuttype2display": {
  31385. "type": "string"
  31386. },
  31387. "zsczcolor1typedisplay": {
  31388. "type": "string"
  31389. },
  31390. "zsczcolor2typedisplay": {
  31391. "type": "string"
  31392. },
  31393. "zsczcolor3typedisplay": {
  31394. "type": "string"
  31395. },
  31396. "zsfluorescencetype1display": {
  31397. "type": "string"
  31398. },
  31399. "zsfluorescencetype2display": {
  31400. "type": "string"
  31401. },
  31402. "zspolishtype1display": {
  31403. "type": "string"
  31404. },
  31405. "zspolishtype2display": {
  31406. "type": "string"
  31407. },
  31408. "zsshapetypedisplay": {
  31409. "type": "string"
  31410. },
  31411. "zsstyletypedisplay": {
  31412. "type": "string"
  31413. },
  31414. "zssymmetrytype1display": {
  31415. "type": "string"
  31416. },
  31417. "zssymmetrytype2display": {
  31418. "type": "string"
  31419. }
  31420. }
  31421. },
  31422. "models.MySellOrder": {
  31423. "type": "object",
  31424. "required": [
  31425. "userid"
  31426. ],
  31427. "properties": {
  31428. "accountid": {
  31429. "description": "资金账号",
  31430. "type": "integer"
  31431. },
  31432. "applyid": {
  31433. "description": "申请单ID",
  31434. "type": "integer"
  31435. },
  31436. "attachment1": {
  31437. "description": "附件1",
  31438. "type": "string"
  31439. },
  31440. "attachment2": {
  31441. "description": "附件2",
  31442. "type": "string"
  31443. },
  31444. "buyorsell": {
  31445. "description": "买卖 - 0:买 1:卖",
  31446. "type": "integer"
  31447. },
  31448. "canbargain": {
  31449. "description": "是否可议价 - 0:不可 1:可",
  31450. "type": "integer"
  31451. },
  31452. "cancelqty": {
  31453. "description": "撤销数量",
  31454. "type": "integer"
  31455. },
  31456. "canceltime": {
  31457. "description": "撤销时间",
  31458. "type": "string"
  31459. },
  31460. "cerno": {
  31461. "type": "string"
  31462. },
  31463. "chargealgorithm": {
  31464. "description": "手续费收取方式 1:比率 2:固定",
  31465. "type": "integer"
  31466. },
  31467. "chargealgorithmvalue": {
  31468. "description": "手续费设置值(交易所部分)",
  31469. "type": "number"
  31470. },
  31471. "chargealgorithmvalue2": {
  31472. "description": "手续费设置值(会员部分)",
  31473. "type": "number"
  31474. },
  31475. "clientordertime": {
  31476. "description": "客户端委托时间",
  31477. "type": "string"
  31478. },
  31479. "cpcertno": {
  31480. "type": "string"
  31481. },
  31482. "exchangerate": {
  31483. "description": "汇率[67]",
  31484. "type": "number"
  31485. },
  31486. "firstratio": {
  31487. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  31488. "type": "number"
  31489. },
  31490. "fixedprice": {
  31491. "description": "[克拉单价]固定价格 - [挂牌]",
  31492. "type": "number"
  31493. },
  31494. "freezecharge": {
  31495. "description": "冻结手续费",
  31496. "type": "number"
  31497. },
  31498. "freezefirstamount": {
  31499. "description": "冻结首付金额 - [摘牌]",
  31500. "type": "number"
  31501. },
  31502. "freezemargin": {
  31503. "description": "冻结保证金",
  31504. "type": "number"
  31505. },
  31506. "goodsno": {
  31507. "description": "商品编号",
  31508. "type": "string"
  31509. },
  31510. "imagepath": {
  31511. "type": "string"
  31512. },
  31513. "isspecified": {
  31514. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  31515. "type": "integer"
  31516. },
  31517. "kppath": {
  31518. "type": "string"
  31519. },
  31520. "kpweight": {
  31521. "type": "string"
  31522. },
  31523. "marginalgorithm": {
  31524. "description": "保证金方式 - 1:比率 2:固定",
  31525. "type": "integer"
  31526. },
  31527. "marginvalue": {
  31528. "description": "保证金设置值",
  31529. "type": "number"
  31530. },
  31531. "marketid": {
  31532. "description": "市场ID",
  31533. "type": "integer"
  31534. },
  31535. "marketprice": {
  31536. "type": "string"
  31537. },
  31538. "orderamount": {
  31539. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  31540. "type": "number"
  31541. },
  31542. "ordertime": {
  31543. "description": "委托时间",
  31544. "type": "string"
  31545. },
  31546. "performancetemplateid": {
  31547. "description": "履约计划模板ID",
  31548. "type": "integer"
  31549. },
  31550. "price": {
  31551. "description": "价格",
  31552. "type": "number"
  31553. },
  31554. "pricefactor": {
  31555. "description": "价格系数(浮动价时填写) - [挂牌]",
  31556. "type": "number"
  31557. },
  31558. "pricemove": {
  31559. "description": "升贴水(浮动价时填写) - [挂牌]",
  31560. "type": "number"
  31561. },
  31562. "priceper": {
  31563. "type": "string"
  31564. },
  31565. "relatedwrtradeorderid": {
  31566. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  31567. "type": "integer"
  31568. },
  31569. "remark": {
  31570. "type": "string"
  31571. },
  31572. "retcode": {
  31573. "description": "错误代码",
  31574. "type": "integer"
  31575. },
  31576. "selledqty": {
  31577. "description": "成交重量",
  31578. "type": "number"
  31579. },
  31580. "settingmaterial": {
  31581. "type": "string"
  31582. },
  31583. "size1": {
  31584. "type": "string"
  31585. },
  31586. "size2": {
  31587. "type": "string"
  31588. },
  31589. "size3": {
  31590. "type": "string"
  31591. },
  31592. "stonedesc": {
  31593. "type": "string"
  31594. },
  31595. "totalqty": {
  31596. "description": "总重量",
  31597. "type": "number"
  31598. },
  31599. "tradedate": {
  31600. "description": "交易日(yyyyMMdd)",
  31601. "type": "string"
  31602. },
  31603. "tradeprice": {
  31604. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31605. "type": "number"
  31606. },
  31607. "unfreezecharge": {
  31608. "description": "解冻手续费",
  31609. "type": "number"
  31610. },
  31611. "unfreezefirstamount": {
  31612. "description": "解冻首付金额 - [摘牌]",
  31613. "type": "number"
  31614. },
  31615. "unfreezemargin": {
  31616. "description": "解冻保证金",
  31617. "type": "number"
  31618. },
  31619. "userid": {
  31620. "description": "用户ID",
  31621. "type": "integer"
  31622. },
  31623. "uuid": {
  31624. "description": "发起端唯一id",
  31625. "type": "string"
  31626. },
  31627. "validtime": {
  31628. "description": "有效期限",
  31629. "type": "string"
  31630. },
  31631. "validtype": {
  31632. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  31633. "type": "integer"
  31634. },
  31635. "warehousenamedisplay": {
  31636. "type": "string"
  31637. },
  31638. "wrbargainid": {
  31639. "description": "议价申请单ID",
  31640. "type": "integer"
  31641. },
  31642. "wrfactortypeid": {
  31643. "description": "仓单要素类型ID/商品ID(77)",
  31644. "type": "integer"
  31645. },
  31646. "wrpath": {
  31647. "type": "string"
  31648. },
  31649. "wrpricetype": {
  31650. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31651. "type": "integer"
  31652. },
  31653. "wrstandardid": {
  31654. "description": "现货商品ID",
  31655. "type": "integer"
  31656. },
  31657. "wrtradeorderid": {
  31658. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31659. "type": "string"
  31660. },
  31661. "wrtradeorderstatus": {
  31662. "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:撤单解冻贷款失败",
  31663. "type": "integer"
  31664. },
  31665. "wrtradetype": {
  31666. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31667. "type": "integer"
  31668. },
  31669. "wrtransferuserid": {
  31670. "description": "仓单受让用户 - [摘牌]",
  31671. "type": "integer"
  31672. },
  31673. "zscategory": {
  31674. "description": "钻石分类 - 枚举”ZSCategory“",
  31675. "type": "integer"
  31676. },
  31677. "zscategorydisplay": {
  31678. "description": "钻石分类 - 描述",
  31679. "type": "string"
  31680. },
  31681. "zscerttypedisplay": {
  31682. "type": "string"
  31683. },
  31684. "zsclaritytype1display": {
  31685. "type": "string"
  31686. },
  31687. "zsclaritytype2display": {
  31688. "type": "string"
  31689. },
  31690. "zscolortype1display": {
  31691. "type": "string"
  31692. },
  31693. "zscolortype2display": {
  31694. "type": "string"
  31695. },
  31696. "zscrystaltype": {
  31697. "type": "string"
  31698. },
  31699. "zscrystaltypedisplay": {
  31700. "type": "string"
  31701. },
  31702. "zscurrencytype": {
  31703. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31704. "type": "integer"
  31705. },
  31706. "zscurrencytypedisplay": {
  31707. "type": "string"
  31708. },
  31709. "zscurrencytypedisplayunit": {
  31710. "type": "string"
  31711. },
  31712. "zscuttype1display": {
  31713. "type": "string"
  31714. },
  31715. "zscuttype2display": {
  31716. "type": "string"
  31717. },
  31718. "zsczcolor1typedisplay": {
  31719. "type": "string"
  31720. },
  31721. "zsczcolor2typedisplay": {
  31722. "type": "string"
  31723. },
  31724. "zsczcolor3typedisplay": {
  31725. "type": "string"
  31726. },
  31727. "zsfluorescencetype1display": {
  31728. "type": "string"
  31729. },
  31730. "zsfluorescencetype2display": {
  31731. "type": "string"
  31732. },
  31733. "zspolishtype1display": {
  31734. "type": "string"
  31735. },
  31736. "zspolishtype2display": {
  31737. "type": "string"
  31738. },
  31739. "zsshapetypedisplay": {
  31740. "type": "string"
  31741. },
  31742. "zsstyletypedisplay": {
  31743. "type": "string"
  31744. },
  31745. "zssymmetrytype1display": {
  31746. "type": "string"
  31747. },
  31748. "zssymmetrytype2display": {
  31749. "type": "string"
  31750. }
  31751. }
  31752. },
  31753. "models.MyWRPosition": {
  31754. "type": "object",
  31755. "required": [
  31756. "wruserid"
  31757. ],
  31758. "properties": {
  31759. "cerno": {
  31760. "description": "证书编号 - 类型:2,4,5",
  31761. "type": "string"
  31762. },
  31763. "cpcertno": {
  31764. "description": "金伯利证书编号 - 类型:3",
  31765. "type": "string"
  31766. },
  31767. "ffreezeqty": {
  31768. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  31769. "type": "number"
  31770. },
  31771. "ftotalqty": {
  31772. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  31773. "type": "number"
  31774. },
  31775. "goodsno": {
  31776. "description": "商品编号",
  31777. "type": "string"
  31778. },
  31779. "imagepath": {
  31780. "description": "商品照片(相对地址)",
  31781. "type": "string"
  31782. },
  31783. "isvalid": {
  31784. "description": "是否有效 - 0:无效 1:有效",
  31785. "type": "integer"
  31786. },
  31787. "kppath": {
  31788. "description": "金伯利证书图片(相对地址) - 类型:3",
  31789. "type": "string"
  31790. },
  31791. "kpweight": {
  31792. "description": "金伯利证书重量 - 类型:3",
  31793. "type": "string"
  31794. },
  31795. "ladingbillid": {
  31796. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31797. "type": "string"
  31798. },
  31799. "marketflag": {
  31800. "description": "是否上架,0-全部 1-是 2-否",
  31801. "type": "integer"
  31802. },
  31803. "marketprice": {
  31804. "description": "市场价",
  31805. "type": "string"
  31806. },
  31807. "origin": {
  31808. "description": "原产地 - 类型:3",
  31809. "type": "string"
  31810. },
  31811. "price": {
  31812. "description": "总价(价格) - 类型:1,2,3,4,5",
  31813. "type": "number"
  31814. },
  31815. "priceper": {
  31816. "description": "克拉单价 - 类型:1,2,3,5",
  31817. "type": "string"
  31818. },
  31819. "remark": {
  31820. "description": "备注",
  31821. "type": "string"
  31822. },
  31823. "sellmobile": {
  31824. "description": "手机号码(加密存储)",
  31825. "type": "string"
  31826. },
  31827. "sellusername": {
  31828. "description": "账户名称(机构名称)",
  31829. "type": "string"
  31830. },
  31831. "settingmaterial": {
  31832. "description": "镶嵌材料 - 类型:4",
  31833. "type": "string"
  31834. },
  31835. "size1": {
  31836. "description": "尺寸1 - 类型:2,4,5",
  31837. "type": "string"
  31838. },
  31839. "size2": {
  31840. "description": "尺寸2 - 类型:2,4,5",
  31841. "type": "string"
  31842. },
  31843. "size3": {
  31844. "description": "尺寸3 - 类型:2,4,5",
  31845. "type": "string"
  31846. },
  31847. "stonedesc": {
  31848. "description": "配石描述 - 类型:4",
  31849. "type": "string"
  31850. },
  31851. "subnum": {
  31852. "description": "提单子单号",
  31853. "type": "integer"
  31854. },
  31855. "userid": {
  31856. "description": "用户ID",
  31857. "type": "integer"
  31858. },
  31859. "warehouseid": {
  31860. "description": "仓库ID",
  31861. "type": "integer"
  31862. },
  31863. "warehousenamedisplay": {
  31864. "type": "string"
  31865. },
  31866. "weight": {
  31867. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31868. "type": "number"
  31869. },
  31870. "weightavg": {
  31871. "description": "平均单颗重量 - 类型:1,3",
  31872. "type": "number"
  31873. },
  31874. "wrpath": {
  31875. "description": "仓单扫描件(相对地址)",
  31876. "type": "string"
  31877. },
  31878. "wrstandardid": {
  31879. "description": "现货商品ID",
  31880. "type": "integer"
  31881. },
  31882. "wrtradeorderid": {
  31883. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31884. "type": "string"
  31885. },
  31886. "wruserid": {
  31887. "description": "登录用户ID",
  31888. "type": "integer"
  31889. },
  31890. "zscategory": {
  31891. "description": "钻石分类 - 枚举”ZSCategory“",
  31892. "type": "integer"
  31893. },
  31894. "zscategorydisplay": {
  31895. "type": "string"
  31896. },
  31897. "zscerttype": {
  31898. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  31899. "type": "integer"
  31900. },
  31901. "zscerttypedisplay": {
  31902. "type": "string"
  31903. },
  31904. "zsclaritytype1": {
  31905. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  31906. "type": "integer"
  31907. },
  31908. "zsclaritytype1display": {
  31909. "type": "string"
  31910. },
  31911. "zsclaritytype2": {
  31912. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  31913. "type": "integer"
  31914. },
  31915. "zsclaritytype2display": {
  31916. "type": "string"
  31917. },
  31918. "zscolortype1": {
  31919. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  31920. "type": "integer"
  31921. },
  31922. "zscolortype1display": {
  31923. "type": "string"
  31924. },
  31925. "zscolortype2": {
  31926. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  31927. "type": "integer"
  31928. },
  31929. "zscolortype2display": {
  31930. "type": "string"
  31931. },
  31932. "zscrystaltype": {
  31933. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  31934. "type": "string"
  31935. },
  31936. "zscrystaltypedisplay": {
  31937. "type": "string"
  31938. },
  31939. "zscurrencytype": {
  31940. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31941. "type": "integer"
  31942. },
  31943. "zscurrencytypedisplay": {
  31944. "type": "string"
  31945. },
  31946. "zscurrencytypedisplayunit": {
  31947. "type": "string"
  31948. },
  31949. "zscuttype1": {
  31950. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  31951. "type": "integer"
  31952. },
  31953. "zscuttype1display": {
  31954. "type": "string"
  31955. },
  31956. "zscuttype2": {
  31957. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  31958. "type": "integer"
  31959. },
  31960. "zscuttype2display": {
  31961. "type": "string"
  31962. },
  31963. "zsczcolor1type": {
  31964. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  31965. "type": "integer"
  31966. },
  31967. "zsczcolor1typedisplay": {
  31968. "type": "string"
  31969. },
  31970. "zsczcolor2type": {
  31971. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  31972. "type": "integer"
  31973. },
  31974. "zsczcolor2typedisplay": {
  31975. "type": "string"
  31976. },
  31977. "zsczcolor3type": {
  31978. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  31979. "type": "integer"
  31980. },
  31981. "zsczcolor3typedisplay": {
  31982. "type": "string"
  31983. },
  31984. "zsfluorescencetype1": {
  31985. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  31986. "type": "integer"
  31987. },
  31988. "zsfluorescencetype1display": {
  31989. "type": "string"
  31990. },
  31991. "zsfluorescencetype2": {
  31992. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  31993. "type": "integer"
  31994. },
  31995. "zsfluorescencetype2display": {
  31996. "type": "string"
  31997. },
  31998. "zspolishtype1": {
  31999. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  32000. "type": "integer"
  32001. },
  32002. "zspolishtype1display": {
  32003. "type": "string"
  32004. },
  32005. "zspolishtype2": {
  32006. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  32007. "type": "integer"
  32008. },
  32009. "zspolishtype2display": {
  32010. "type": "string"
  32011. },
  32012. "zsshapetype": {
  32013. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  32014. "type": "string"
  32015. },
  32016. "zsshapetypedisplay": {
  32017. "type": "string"
  32018. },
  32019. "zsstyletype": {
  32020. "description": "款式 - 类型:4",
  32021. "type": "integer"
  32022. },
  32023. "zsstyletypedisplay": {
  32024. "type": "string"
  32025. },
  32026. "zssymmetrytype1": {
  32027. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32028. "type": "integer"
  32029. },
  32030. "zssymmetrytype1display": {
  32031. "type": "string"
  32032. },
  32033. "zssymmetrytype2": {
  32034. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32035. "type": "integer"
  32036. },
  32037. "zssymmetrytype2display": {
  32038. "type": "string"
  32039. }
  32040. }
  32041. },
  32042. "models.NewFuncmenulist": {
  32043. "type": "object",
  32044. "required": [
  32045. "resourcecode"
  32046. ],
  32047. "properties": {
  32048. "authtype": {
  32049. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32050. "type": "integer"
  32051. },
  32052. "buttonname": {
  32053. "description": "按钮名称",
  32054. "type": "string"
  32055. },
  32056. "buttontype": {
  32057. "description": "按钮类型 - 存按钮样式",
  32058. "type": "string"
  32059. },
  32060. "component": {
  32061. "description": "组件名或组件地址",
  32062. "type": "string"
  32063. },
  32064. "hidden": {
  32065. "description": "是否隐藏 - 0:显示 1:隐藏",
  32066. "type": "integer"
  32067. },
  32068. "iconame": {
  32069. "description": "菜单图标",
  32070. "type": "string"
  32071. },
  32072. "menutype": {
  32073. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32074. "type": "integer"
  32075. },
  32076. "parentcode": {
  32077. "description": "上级资源代码",
  32078. "type": "string"
  32079. },
  32080. "remark": {
  32081. "description": "Remark",
  32082. "type": "string"
  32083. },
  32084. "resourcecode": {
  32085. "description": "资源代码",
  32086. "type": "string"
  32087. },
  32088. "resourcelevel": {
  32089. "description": "级别1-一级 2-二级 3-三级4-四级",
  32090. "type": "integer"
  32091. },
  32092. "resourcename": {
  32093. "description": "资源名(Title)",
  32094. "type": "string"
  32095. },
  32096. "sort": {
  32097. "description": "排序",
  32098. "type": "integer"
  32099. },
  32100. "url": {
  32101. "description": "Url",
  32102. "type": "string"
  32103. },
  32104. "urltype": {
  32105. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32106. "type": "integer"
  32107. }
  32108. }
  32109. },
  32110. "models.OperationPrimaryMenu": {
  32111. "type": "object",
  32112. "properties": {
  32113. "Children": {
  32114. "description": "二级功能菜单",
  32115. "type": "array",
  32116. "items": {
  32117. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32118. }
  32119. },
  32120. "Key": {
  32121. "description": "菜单KEY",
  32122. "type": "string"
  32123. },
  32124. "Label": {
  32125. "description": "菜单标题",
  32126. "type": "string"
  32127. }
  32128. }
  32129. },
  32130. "models.OperationSecondaryMenu": {
  32131. "type": "object",
  32132. "properties": {
  32133. "Key": {
  32134. "description": "菜单KEY",
  32135. "type": "string"
  32136. },
  32137. "Label": {
  32138. "description": "菜单标题",
  32139. "type": "string"
  32140. },
  32141. "TabList": {
  32142. "description": "三级功能菜单",
  32143. "type": "array",
  32144. "items": {
  32145. "$ref": "#/definitions/models.OperationTabMenu"
  32146. }
  32147. }
  32148. }
  32149. },
  32150. "models.OperationTabMenu": {
  32151. "type": "object",
  32152. "properties": {
  32153. "Key": {
  32154. "description": "菜单KEY",
  32155. "type": "string"
  32156. },
  32157. "Label": {
  32158. "description": "菜单标题",
  32159. "type": "string"
  32160. }
  32161. }
  32162. },
  32163. "models.Patradelinkdetail": {
  32164. "type": "object",
  32165. "properties": {
  32166. "accountname": {
  32167. "description": "套期主体",
  32168. "type": "string"
  32169. },
  32170. "agreeunit": {
  32171. "description": "合约乘数",
  32172. "type": "number"
  32173. },
  32174. "amount": {
  32175. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32176. "type": "number"
  32177. },
  32178. "areauserid": {
  32179. "description": "所属机构",
  32180. "type": "integer"
  32181. },
  32182. "bizsubjectid": {
  32183. "description": "归属业务部门ID - SubjectID",
  32184. "type": "integer"
  32185. },
  32186. "buyorsell": {
  32187. "description": "方向 - 0:买 1:卖",
  32188. "type": "integer"
  32189. },
  32190. "convertratio": {
  32191. "description": "品种系数",
  32192. "type": "number"
  32193. },
  32194. "convertratiochange": {
  32195. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32196. "type": "number"
  32197. },
  32198. "createtime": {
  32199. "description": "[日期时间]创建时间",
  32200. "type": "string"
  32201. },
  32202. "creatorid": {
  32203. "description": "创建人ID",
  32204. "type": "integer"
  32205. },
  32206. "creatorsrc": {
  32207. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32208. "type": "integer"
  32209. },
  32210. "goodscode": {
  32211. "description": "商品代码(内部)",
  32212. "type": "string"
  32213. },
  32214. "goodsgroupid": {
  32215. "description": "对冲品种ID[期货合约商品组ID]",
  32216. "type": "integer"
  32217. },
  32218. "goodsid": {
  32219. "description": "商品ID",
  32220. "type": "integer"
  32221. },
  32222. "hedgeditemid": {
  32223. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32224. "type": "integer"
  32225. },
  32226. "hedgeflag": {
  32227. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32228. "type": "integer"
  32229. },
  32230. "linkdetailid": {
  32231. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32232. "type": "string"
  32233. },
  32234. "linkstatus": {
  32235. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32236. "type": "integer"
  32237. },
  32238. "middlegoodsid": {
  32239. "description": "套保品种ID",
  32240. "type": "integer"
  32241. },
  32242. "name": {
  32243. "description": "账户名/子账户",
  32244. "type": "string"
  32245. },
  32246. "optioncode": {
  32247. "description": "[期货合约]期权代码 [期权]",
  32248. "type": "string"
  32249. },
  32250. "ordertype": {
  32251. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32252. "type": "integer"
  32253. },
  32254. "relatedlot": {
  32255. "description": "[数量]关联手数",
  32256. "type": "number"
  32257. },
  32258. "relatedmode": {
  32259. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32260. "type": "integer"
  32261. },
  32262. "relatedqty": {
  32263. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32264. "type": "number"
  32265. },
  32266. "retcode": {
  32267. "description": "返回码",
  32268. "type": "integer"
  32269. },
  32270. "saleuserid": {
  32271. "description": "业务员ID",
  32272. "type": "integer"
  32273. },
  32274. "tradedate": {
  32275. "description": "关联交易日(yyyyMMdd)",
  32276. "type": "string"
  32277. },
  32278. "tradeid": {
  32279. "description": "[成交单号]内部成交单ID",
  32280. "type": "string"
  32281. },
  32282. "tradelot": {
  32283. "description": "成交手数",
  32284. "type": "integer"
  32285. },
  32286. "tradeprice": {
  32287. "description": "[价格]成交价格",
  32288. "type": "number"
  32289. },
  32290. "tradetradedate": {
  32291. "description": "成交交易日(yyyyMMdd)",
  32292. "type": "string"
  32293. }
  32294. }
  32295. },
  32296. "models.QhjAccountOutInApply": {
  32297. "type": "object",
  32298. "properties": {
  32299. "accountcode": {
  32300. "description": "资金账号",
  32301. "type": "string"
  32302. },
  32303. "accountname": {
  32304. "description": "用户名称(名称)",
  32305. "type": "string"
  32306. },
  32307. "accountpwd": {
  32308. "description": "资金密码",
  32309. "type": "string"
  32310. },
  32311. "accountticket": {
  32312. "description": "最新账户服务流水号",
  32313. "type": "string"
  32314. },
  32315. "amount": {
  32316. "description": "金额",
  32317. "type": "number"
  32318. },
  32319. "applyremark": {
  32320. "description": "申请备注",
  32321. "type": "string"
  32322. },
  32323. "applystatus": {
  32324. "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: 复审通过,账户冻结金额检查中;",
  32325. "type": "integer"
  32326. },
  32327. "auditid": {
  32328. "description": "审核人",
  32329. "type": "integer"
  32330. },
  32331. "audittime": {
  32332. "description": "审核时间",
  32333. "type": "string"
  32334. },
  32335. "bank_apply_ticket": {
  32336. "description": "银行申请流水",
  32337. "type": "string"
  32338. },
  32339. "bankaccountname": {
  32340. "description": "银行账户名",
  32341. "type": "string"
  32342. },
  32343. "bankaccountno": {
  32344. "description": "银行卡号",
  32345. "type": "string"
  32346. },
  32347. "bankid": {
  32348. "description": "银行编号",
  32349. "type": "string"
  32350. },
  32351. "bankticket": {
  32352. "description": "银行流水",
  32353. "type": "string"
  32354. },
  32355. "branchbankid": {
  32356. "description": "银行支行号",
  32357. "type": "string"
  32358. },
  32359. "branchbankname": {
  32360. "description": "银行支行名称",
  32361. "type": "string"
  32362. },
  32363. "capamountout": {
  32364. "description": "出金(劣后本金) - 外部子账户",
  32365. "type": "number"
  32366. },
  32367. "certificatephotourl": {
  32368. "description": "凭证地址",
  32369. "type": "string"
  32370. },
  32371. "charge": {
  32372. "description": "手续费",
  32373. "type": "number"
  32374. },
  32375. "checkerrorflag": {
  32376. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32377. "type": "integer"
  32378. },
  32379. "currency": {
  32380. "description": "币种",
  32381. "type": "string"
  32382. },
  32383. "cusbankid": {
  32384. "description": "托管银行编号",
  32385. "type": "string"
  32386. },
  32387. "exchticket": {
  32388. "description": "银行服务流水号",
  32389. "type": "string"
  32390. },
  32391. "executetype": {
  32392. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32393. "type": "integer"
  32394. },
  32395. "extendinfo": {
  32396. "description": "扩展信息",
  32397. "type": "string"
  32398. },
  32399. "extoperateid": {
  32400. "description": "交易服务流水号",
  32401. "type": "integer"
  32402. },
  32403. "infamount": {
  32404. "description": "劣后金额(自有)",
  32405. "type": "number"
  32406. },
  32407. "logincode": {
  32408. "description": "登录账号(账号)",
  32409. "type": "string"
  32410. },
  32411. "netaddr": {
  32412. "description": "调转网址",
  32413. "type": "string"
  32414. },
  32415. "priamount": {
  32416. "description": "优先金额(授信)",
  32417. "type": "number"
  32418. },
  32419. "reauditid": {
  32420. "description": "复审人",
  32421. "type": "integer"
  32422. },
  32423. "reauditremark": {
  32424. "description": "复审备注",
  32425. "type": "string"
  32426. },
  32427. "reaudittime": {
  32428. "description": "复审时间",
  32429. "type": "string"
  32430. },
  32431. "relatedorderid": {
  32432. "description": "三方关联ID",
  32433. "type": "string"
  32434. },
  32435. "remark": {
  32436. "description": "备注",
  32437. "type": "string"
  32438. },
  32439. "remark2": {
  32440. "description": "备注(失败原因)",
  32441. "type": "string"
  32442. },
  32443. "soucreamount": {
  32444. "description": "原始出入金金额",
  32445. "type": "number"
  32446. },
  32447. "soucrecurrencyid": {
  32448. "description": "原始出入金币种",
  32449. "type": "integer"
  32450. },
  32451. "tradedate": {
  32452. "description": "交易日(yyyyMMdd)",
  32453. "type": "string"
  32454. },
  32455. "updatetime": {
  32456. "description": "更新时间(申请时间)",
  32457. "type": "string"
  32458. },
  32459. "userid": {
  32460. "description": "用户id",
  32461. "type": "integer"
  32462. },
  32463. "userinfotype": {
  32464. "description": "账户类型 1-个人 2-企业",
  32465. "type": "integer"
  32466. }
  32467. }
  32468. },
  32469. "models.QhjAgreementChangeLog": {
  32470. "type": "object",
  32471. "properties": {
  32472. "agreementcontent": {
  32473. "description": "协议内容",
  32474. "type": "string"
  32475. },
  32476. "agreementfrequency": {
  32477. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32478. "type": "integer"
  32479. },
  32480. "agreementid": {
  32481. "description": "协议ID",
  32482. "type": "integer"
  32483. },
  32484. "agreementname": {
  32485. "description": "协议名称",
  32486. "type": "string"
  32487. },
  32488. "agreementno": {
  32489. "description": "协议编号",
  32490. "type": "string"
  32491. },
  32492. "agreementtype": {
  32493. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32494. "type": "integer"
  32495. },
  32496. "agreementversion": {
  32497. "description": "协议版本号",
  32498. "type": "integer"
  32499. },
  32500. "logid": {
  32501. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32502. "type": "integer"
  32503. },
  32504. "reviserid": {
  32505. "description": "修改人",
  32506. "type": "integer"
  32507. },
  32508. "revisersrc": {
  32509. "description": "修改来源 - 1:管理端 2:终端",
  32510. "type": "integer"
  32511. },
  32512. "updatetime": {
  32513. "description": "更新时间",
  32514. "type": "string"
  32515. }
  32516. }
  32517. },
  32518. "models.QhjAgreementConfig": {
  32519. "type": "object",
  32520. "properties": {
  32521. "agreementcontent": {
  32522. "description": "协议内容",
  32523. "type": "string"
  32524. },
  32525. "agreementfrequency": {
  32526. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32527. "type": "integer"
  32528. },
  32529. "agreementid": {
  32530. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32531. "type": "integer"
  32532. },
  32533. "agreementname": {
  32534. "description": "协议名称",
  32535. "type": "string"
  32536. },
  32537. "agreementno": {
  32538. "description": "协议编号",
  32539. "type": "string"
  32540. },
  32541. "agreementtype": {
  32542. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32543. "type": "integer"
  32544. },
  32545. "agreementversion": {
  32546. "description": "协议版本号(从1开始每次修改加1)",
  32547. "type": "integer"
  32548. },
  32549. "createtime": {
  32550. "description": "创建时间",
  32551. "type": "string"
  32552. },
  32553. "creatorid": {
  32554. "description": "创建人",
  32555. "type": "integer"
  32556. },
  32557. "creatorsrc": {
  32558. "description": "创建来源 - 1:管理端 2:终端",
  32559. "type": "integer"
  32560. },
  32561. "isvalid": {
  32562. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32563. "type": "integer"
  32564. },
  32565. "reviserid": {
  32566. "description": "修改人",
  32567. "type": "integer"
  32568. },
  32569. "revisersrc": {
  32570. "description": "修改来源 - 1:管理端 2:终端",
  32571. "type": "integer"
  32572. },
  32573. "updatetime": {
  32574. "description": "更新时间",
  32575. "type": "string"
  32576. }
  32577. }
  32578. },
  32579. "models.QhjAreaFinanceConfig": {
  32580. "type": "object",
  32581. "properties": {
  32582. "additionalratio": {
  32583. "description": "追加款比例",
  32584. "type": "number"
  32585. },
  32586. "advanceratio": {
  32587. "description": "预付款比例",
  32588. "type": "number"
  32589. },
  32590. "alarmratio": {
  32591. "description": "告警比例",
  32592. "type": "number"
  32593. },
  32594. "consumptiondirectreward": {
  32595. "description": "消费直推奖励值",
  32596. "type": "number"
  32597. },
  32598. "consumptionenabled": {
  32599. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32600. "type": "integer"
  32601. },
  32602. "consumptionindirectreward": {
  32603. "description": "消费间推奖励值",
  32604. "type": "number"
  32605. },
  32606. "consumptionmodel": {
  32607. "description": "消费奖励方式 - 1:比率 2:固定",
  32608. "type": "integer"
  32609. },
  32610. "customerservicenum": {
  32611. "description": "客服电话",
  32612. "type": "string"
  32613. },
  32614. "dayinterestrate": {
  32615. "description": "日利率",
  32616. "type": "number"
  32617. },
  32618. "disableconsumptiontips": {
  32619. "description": "关闭消费奖励提示",
  32620. "type": "string"
  32621. },
  32622. "modifierid": {
  32623. "description": "修改人ID",
  32624. "type": "integer"
  32625. },
  32626. "modifysrc": {
  32627. "description": "审核来源 - 1:管理端 2:终端",
  32628. "type": "integer"
  32629. },
  32630. "modifytime": {
  32631. "description": "修改时间",
  32632. "type": "string"
  32633. },
  32634. "promotionvalue": {
  32635. "description": "推广奖励值(固定)",
  32636. "type": "number"
  32637. },
  32638. "scoreconfigvalue1": {
  32639. "description": "提货积分配置1",
  32640. "type": "integer"
  32641. },
  32642. "scoreconfigvalue2": {
  32643. "description": "提货积分配置2",
  32644. "type": "integer"
  32645. },
  32646. "userid": {
  32647. "description": "机构用户ID其他做市关系,都设置为 1",
  32648. "type": "integer"
  32649. },
  32650. "username": {
  32651. "description": "用户名称",
  32652. "type": "string"
  32653. }
  32654. }
  32655. },
  32656. "models.QhjBankAccountSign": {
  32657. "type": "object",
  32658. "properties": {
  32659. "accountcode": {
  32660. "description": "资金账号",
  32661. "type": "string"
  32662. },
  32663. "accountname": {
  32664. "description": "资金账号对应的账号名(UserName)",
  32665. "type": "string"
  32666. },
  32667. "accountname2": {
  32668. "description": "资金账号对应的账号名(UserName) - 密文",
  32669. "type": "string"
  32670. },
  32671. "accounttype": {
  32672. "description": "账户类型(UserType)",
  32673. "type": "integer"
  32674. },
  32675. "applicationtime": {
  32676. "description": "最后一次更新的时间",
  32677. "type": "string"
  32678. },
  32679. "applyexchticket": {
  32680. "description": "申请流水",
  32681. "type": "string"
  32682. },
  32683. "auditid": {
  32684. "description": "审核人",
  32685. "type": "integer"
  32686. },
  32687. "audittime": {
  32688. "description": "审核时间",
  32689. "type": "string"
  32690. },
  32691. "bankaccountname": {
  32692. "description": "签约银行卡账号名",
  32693. "type": "string"
  32694. },
  32695. "bankaccountname2": {
  32696. "description": "签约银行卡账号名 - 密文",
  32697. "type": "string"
  32698. },
  32699. "bankaccountno": {
  32700. "description": "银行卡号",
  32701. "type": "string"
  32702. },
  32703. "bankaccountno2": {
  32704. "description": "银行卡号 - 密文",
  32705. "type": "string"
  32706. },
  32707. "bankaccounttype": {
  32708. "description": "银行账户类型 - 1-对私; 2-对公",
  32709. "type": "integer"
  32710. },
  32711. "bankcardtype": {
  32712. "description": "银行卡类型",
  32713. "type": "integer"
  32714. },
  32715. "bankchildaccount": {
  32716. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32717. "type": "string"
  32718. },
  32719. "bankcity": {
  32720. "description": "开户行城市",
  32721. "type": "string"
  32722. },
  32723. "bankid": {
  32724. "description": "签约银行ID",
  32725. "type": "string"
  32726. },
  32727. "bankname": {
  32728. "description": "签约银行名称",
  32729. "type": "string"
  32730. },
  32731. "bankprovince": {
  32732. "description": "开户行省份",
  32733. "type": "string"
  32734. },
  32735. "branchbankid": {
  32736. "description": "签约银行支行号",
  32737. "type": "string"
  32738. },
  32739. "branchbankname": {
  32740. "description": "签约银行支行名称",
  32741. "type": "string"
  32742. },
  32743. "cardno": {
  32744. "description": "证件号码",
  32745. "type": "string"
  32746. },
  32747. "cardno2": {
  32748. "description": "证件号码 - 密文",
  32749. "type": "string"
  32750. },
  32751. "cardtype": {
  32752. "description": "证件类型",
  32753. "type": "string"
  32754. },
  32755. "currency": {
  32756. "description": "币种",
  32757. "type": "string"
  32758. },
  32759. "cusbankid": {
  32760. "description": "托管银行编号",
  32761. "type": "string"
  32762. },
  32763. "direct": {
  32764. "description": "方向(可以判断那方先发起的签约)",
  32765. "type": "integer"
  32766. },
  32767. "exchticket": {
  32768. "description": "最后一次签约成功的流水号",
  32769. "type": "string"
  32770. },
  32771. "extendinfo": {
  32772. "description": "扩展信息(JSON字符串)",
  32773. "type": "string"
  32774. },
  32775. "mobilephone": {
  32776. "description": "手机号",
  32777. "type": "string"
  32778. },
  32779. "mobilephone2": {
  32780. "description": "手机号 - 密文",
  32781. "type": "string"
  32782. },
  32783. "netaddr": {
  32784. "description": "调转网址",
  32785. "type": "string"
  32786. },
  32787. "relateduserid": {
  32788. "description": "关联使用者userid",
  32789. "type": "integer"
  32790. },
  32791. "signstatus": {
  32792. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32793. "type": "integer"
  32794. },
  32795. "updatetime": {
  32796. "description": "更新时间(签解约更新时间)",
  32797. "type": "string"
  32798. }
  32799. }
  32800. },
  32801. "models.QhjBankInfo": {
  32802. "type": "object",
  32803. "properties": {
  32804. "bankid": {
  32805. "description": "银行ID",
  32806. "type": "string"
  32807. },
  32808. "bankname": {
  32809. "description": "银行名称",
  32810. "type": "string"
  32811. },
  32812. "clearbankno": {
  32813. "description": "清算系统银行编号",
  32814. "type": "string"
  32815. },
  32816. "orderindex": {
  32817. "description": "排序顺序",
  32818. "type": "integer"
  32819. },
  32820. "status": {
  32821. "description": "状态 - 0:正常 1:注销",
  32822. "type": "integer"
  32823. }
  32824. }
  32825. },
  32826. "models.QhjBrokerApply": {
  32827. "type": "object",
  32828. "properties": {
  32829. "applicantid": {
  32830. "description": "申请人",
  32831. "type": "integer"
  32832. },
  32833. "applysrc": {
  32834. "description": "申请来源 - 1:管理端 2:终端",
  32835. "type": "integer"
  32836. },
  32837. "applystatus": {
  32838. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32839. "type": "integer"
  32840. },
  32841. "applytime": {
  32842. "description": "申请时间",
  32843. "type": "string"
  32844. },
  32845. "auditorid": {
  32846. "description": "审核人",
  32847. "type": "integer"
  32848. },
  32849. "auditremark": {
  32850. "description": "审核备注",
  32851. "type": "string"
  32852. },
  32853. "auditsrc": {
  32854. "description": "审核来源 - 1:管理端 2:终端",
  32855. "type": "integer"
  32856. },
  32857. "audittime": {
  32858. "description": "审核时间",
  32859. "type": "string"
  32860. },
  32861. "audittradedate": {
  32862. "description": "审核交易日(yyyyMMdd)",
  32863. "type": "string"
  32864. },
  32865. "brokerapplyid": {
  32866. "description": "申请ID(SEQ_BROKERAPPLY)",
  32867. "type": "integer"
  32868. },
  32869. "cardbackphotourl": {
  32870. "description": "证件背面图片地址",
  32871. "type": "string"
  32872. },
  32873. "cardfrontphotourl": {
  32874. "description": "证件正面图片地址",
  32875. "type": "string"
  32876. },
  32877. "cardnum": {
  32878. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32879. "type": "string"
  32880. },
  32881. "customername": {
  32882. "description": "姓名",
  32883. "type": "string"
  32884. },
  32885. "logincode": {
  32886. "description": "登录代码",
  32887. "type": "string"
  32888. },
  32889. "mobile": {
  32890. "description": "手机号码",
  32891. "type": "string"
  32892. },
  32893. "parentuserid": {
  32894. "description": "所属机构id",
  32895. "type": "integer"
  32896. },
  32897. "parentusername": {
  32898. "description": "所属机构名称",
  32899. "type": "string"
  32900. },
  32901. "refereeuserid": {
  32902. "description": "推荐人id(经纪人)",
  32903. "type": "integer"
  32904. },
  32905. "refernum": {
  32906. "description": "推荐码",
  32907. "type": "string"
  32908. },
  32909. "remark": {
  32910. "description": "备注",
  32911. "type": "string"
  32912. },
  32913. "subarealevelpath": {
  32914. "description": "层级路径",
  32915. "type": "string"
  32916. },
  32917. "tradedate": {
  32918. "description": "交易日(yyyyMMdd)",
  32919. "type": "string"
  32920. },
  32921. "userid": {
  32922. "description": "申请人用户ID",
  32923. "type": "integer"
  32924. },
  32925. "userinfotype": {
  32926. "description": "用户类型 1-个人 2-企业",
  32927. "type": "integer"
  32928. },
  32929. "username": {
  32930. "description": "用户名称",
  32931. "type": "string"
  32932. }
  32933. }
  32934. },
  32935. "models.QhjBrokerApplyEx": {
  32936. "type": "object",
  32937. "properties": {
  32938. "applylist": {
  32939. "description": "经纪人申请记录(只返回最新一条)",
  32940. "type": "array",
  32941. "items": {
  32942. "$ref": "#/definitions/models.QhjBrokerApply"
  32943. }
  32944. },
  32945. "canrecommend": {
  32946. "description": "是否经纪人 0-不是 1-是",
  32947. "type": "integer"
  32948. },
  32949. "refernum": {
  32950. "description": "推荐码",
  32951. "type": "string"
  32952. },
  32953. "userid": {
  32954. "description": "用户id",
  32955. "type": "integer"
  32956. },
  32957. "userinfotype": {
  32958. "description": "用户类型 1-个人 2-企业",
  32959. "type": "integer"
  32960. }
  32961. }
  32962. },
  32963. "models.QhjBrokerRewardLog": {
  32964. "type": "object",
  32965. "properties": {
  32966. "accountid": {
  32967. "description": "资金账号ID",
  32968. "type": "integer"
  32969. },
  32970. "createtime": {
  32971. "description": "创建时间(时间)",
  32972. "type": "string"
  32973. },
  32974. "handlestatus": {
  32975. "description": "处理状态",
  32976. "type": "integer"
  32977. },
  32978. "logid": {
  32979. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32980. "type": "string"
  32981. },
  32982. "marketid": {
  32983. "description": "市场ID",
  32984. "type": "integer"
  32985. },
  32986. "mmaccountid": {
  32987. "description": "做市商资金账号ID",
  32988. "type": "string"
  32989. },
  32990. "mmuserid": {
  32991. "description": "做市商用户ID",
  32992. "type": "string"
  32993. },
  32994. "rewardamount": {
  32995. "description": "奖励金额",
  32996. "type": "number"
  32997. },
  32998. "rewardmodel": {
  32999. "description": "消费奖励方式 - 1:比率 2:固定",
  33000. "type": "integer"
  33001. },
  33002. "rewardtype": {
  33003. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  33004. "type": "integer"
  33005. },
  33006. "rewardvalue": {
  33007. "description": "配置奖励值",
  33008. "type": "number"
  33009. },
  33010. "srcamount": {
  33011. "description": "成交金额 [消费奖励] (金额)",
  33012. "type": "number"
  33013. },
  33014. "srcgoodsid": {
  33015. "description": "来源商品ID [消费奖励]",
  33016. "type": "string"
  33017. },
  33018. "srctime": {
  33019. "description": "来源时间 (成交时间) [消费奖励]",
  33020. "type": "string"
  33021. },
  33022. "srctradeid": {
  33023. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33024. "type": "string"
  33025. },
  33026. "srcuserid": {
  33027. "description": "来源用户ID(推广账户)",
  33028. "type": "string"
  33029. },
  33030. "srcusername": {
  33031. "description": "推广账户名称",
  33032. "type": "string"
  33033. },
  33034. "tradedate": {
  33035. "description": "交易日(yyyyMMdd)",
  33036. "type": "string"
  33037. },
  33038. "userid": {
  33039. "description": "经纪人用户ID",
  33040. "type": "integer"
  33041. }
  33042. }
  33043. },
  33044. "models.QhjContract": {
  33045. "type": "object",
  33046. "properties": {
  33047. "contractconfirmtime": {
  33048. "description": "合同确认时间(时间)",
  33049. "type": "string"
  33050. },
  33051. "currisklevel": {
  33052. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33053. "type": "integer"
  33054. },
  33055. "decimalplace": {
  33056. "description": "商品报价小数位",
  33057. "type": "integer"
  33058. },
  33059. "enumdicname": {
  33060. "description": "单位名称",
  33061. "type": "string"
  33062. },
  33063. "goodscode": {
  33064. "description": "商品代码",
  33065. "type": "string"
  33066. },
  33067. "goodsid": {
  33068. "description": "商品ID [5:融资单]",
  33069. "type": "integer"
  33070. },
  33071. "goodsname": {
  33072. "description": "商品名称",
  33073. "type": "string"
  33074. },
  33075. "goodunitid": {
  33076. "description": "商品单位id",
  33077. "type": "integer"
  33078. },
  33079. "initmargin": {
  33080. "description": "初始保证金(首付款)",
  33081. "type": "number"
  33082. },
  33083. "lenderamount": {
  33084. "description": "贷款金额(总额|订单总额)",
  33085. "type": "number"
  33086. },
  33087. "marginratio": {
  33088. "description": "保证金比率(首付比例)",
  33089. "type": "number"
  33090. },
  33091. "payamount": {
  33092. "description": "已付(已付货款)",
  33093. "type": "number"
  33094. },
  33095. "reckonrecovermargin": {
  33096. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33097. "type": "number"
  33098. },
  33099. "recoveredmargin": {
  33100. "description": "已追缴保证金",
  33101. "type": "number"
  33102. },
  33103. "remainamount": {
  33104. "description": "合同剩余金额(融资额)",
  33105. "type": "number"
  33106. },
  33107. "scfcontractid": {
  33108. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33109. "type": "string"
  33110. },
  33111. "scfcontractstatus": {
  33112. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33113. "type": "integer"
  33114. },
  33115. "scfcontracttype": {
  33116. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33117. "type": "integer"
  33118. },
  33119. "totalinterest": {
  33120. "description": "已计总利息(利息)",
  33121. "type": "number"
  33122. },
  33123. "tradeprice": {
  33124. "description": "成交价格(成本价格)",
  33125. "type": "number"
  33126. },
  33127. "userid": {
  33128. "description": "用户ID",
  33129. "type": "integer"
  33130. },
  33131. "username": {
  33132. "description": "用户名称",
  33133. "type": "string"
  33134. },
  33135. "wrqty": {
  33136. "description": "仓单数量(数量)",
  33137. "type": "number"
  33138. }
  33139. }
  33140. },
  33141. "models.QhjContractLog": {
  33142. "type": "object",
  33143. "properties": {
  33144. "amount": {
  33145. "description": "支付金额",
  33146. "type": "number"
  33147. },
  33148. "amounttype": {
  33149. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33150. "type": "integer"
  33151. },
  33152. "logid": {
  33153. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33154. "type": "string"
  33155. },
  33156. "remainamount": {
  33157. "description": "剩余货款",
  33158. "type": "number"
  33159. },
  33160. "scfcontractid": {
  33161. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33162. "type": "integer"
  33163. },
  33164. "updatetime": {
  33165. "description": "更新时间",
  33166. "type": "string"
  33167. }
  33168. }
  33169. },
  33170. "models.QhjCusBankSignBankEx": {
  33171. "type": "object",
  33172. "properties": {
  33173. "banklst": {
  33174. "description": "银行列表",
  33175. "type": "array",
  33176. "items": {
  33177. "$ref": "#/definitions/models.QhjBankInfo"
  33178. }
  33179. },
  33180. "canallot": {
  33181. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33182. "type": "integer"
  33183. },
  33184. "canallotquery": {
  33185. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33186. "type": "integer"
  33187. },
  33188. "canbindcard": {
  33189. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33190. "type": "integer"
  33191. },
  33192. "caninamount": {
  33193. "description": "是否可入金 - 0:不可 1:可以",
  33194. "type": "integer"
  33195. },
  33196. "caninamount2": {
  33197. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33198. "type": "integer"
  33199. },
  33200. "canmodifybankcard": {
  33201. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33202. "type": "integer"
  33203. },
  33204. "canmodifyphone": {
  33205. "description": "是否可修改手机号 - 0:不可 1:可以",
  33206. "type": "integer"
  33207. },
  33208. "canmodifysigninfo": {
  33209. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33210. "type": "integer"
  33211. },
  33212. "canoutamount": {
  33213. "description": "是否可出金 - 0:不可 1:可以",
  33214. "type": "integer"
  33215. },
  33216. "canoutamount2": {
  33217. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33218. "type": "integer"
  33219. },
  33220. "canrelease": {
  33221. "description": "是否可解约 - 0:不可 1:可以",
  33222. "type": "integer"
  33223. },
  33224. "canrelease2": {
  33225. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33226. "type": "integer"
  33227. },
  33228. "cansign": {
  33229. "description": "是否可签约 - 0:不可 1:可以",
  33230. "type": "integer"
  33231. },
  33232. "cansign2": {
  33233. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33234. "type": "integer"
  33235. },
  33236. "currency": {
  33237. "description": "币种",
  33238. "type": "string"
  33239. },
  33240. "cusbankid": {
  33241. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33242. "type": "string"
  33243. },
  33244. "cusbankname": {
  33245. "description": "银行业务名称",
  33246. "type": "string"
  33247. },
  33248. "cusbankshortname": {
  33249. "description": "银行业务简称",
  33250. "type": "string"
  33251. },
  33252. "exchbankid": {
  33253. "description": "交易所开户银行ID",
  33254. "type": "string"
  33255. },
  33256. "exchpaybankaccname": {
  33257. "description": "交易所支出结算账户户名",
  33258. "type": "string"
  33259. },
  33260. "exchpaybankaccno": {
  33261. "description": "交易所支出结算账户",
  33262. "type": "string"
  33263. },
  33264. "isneedcheck": {
  33265. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33266. "type": "integer"
  33267. },
  33268. "isneedclear": {
  33269. "description": "是否需要清算 - 0:不需要 1:需要",
  33270. "type": "integer"
  33271. },
  33272. "lastcheckstatus": {
  33273. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33274. "type": "integer"
  33275. },
  33276. "lastchecktime": {
  33277. "description": "最后对账时间",
  33278. "type": "string"
  33279. },
  33280. "lastclearstatus": {
  33281. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33282. "type": "integer"
  33283. },
  33284. "lastcleartime": {
  33285. "description": "最后清算时间",
  33286. "type": "string"
  33287. },
  33288. "lastsignintime": {
  33289. "description": "最后签到时间",
  33290. "type": "string"
  33291. },
  33292. "lastsignouttime": {
  33293. "description": "最后签退时间",
  33294. "type": "string"
  33295. },
  33296. "riskinfo": {
  33297. "description": "签约风险提示书",
  33298. "type": "string"
  33299. },
  33300. "signstatus": {
  33301. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33302. "type": "integer"
  33303. },
  33304. "tradedate": {
  33305. "description": "交易日(yyyyMMdd)",
  33306. "type": "string"
  33307. },
  33308. "updatetime": {
  33309. "description": "当前签到/签退更新时间",
  33310. "type": "string"
  33311. }
  33312. }
  33313. },
  33314. "models.QhjCustomer": {
  33315. "type": "object",
  33316. "properties": {
  33317. "address": {
  33318. "description": "通讯地址",
  33319. "type": "string"
  33320. },
  33321. "attachment1": {
  33322. "description": "附件1",
  33323. "type": "string"
  33324. },
  33325. "attachment2": {
  33326. "description": "附件2",
  33327. "type": "string"
  33328. },
  33329. "audittime": {
  33330. "description": "审核时间",
  33331. "type": "string"
  33332. },
  33333. "cardbackphotourl": {
  33334. "description": "证件反面图片地址",
  33335. "type": "string"
  33336. },
  33337. "cardfrontphotourl": {
  33338. "description": "证件正面图片地址",
  33339. "type": "string"
  33340. },
  33341. "cardnum": {
  33342. "description": "证件号码",
  33343. "type": "string"
  33344. },
  33345. "cardtype": {
  33346. "description": "证件类型",
  33347. "type": "integer"
  33348. },
  33349. "cardtypename": {
  33350. "description": "证件类型名称",
  33351. "type": "string"
  33352. },
  33353. "cityid": {
  33354. "description": "市",
  33355. "type": "integer"
  33356. },
  33357. "cityname": {
  33358. "description": "城市名称",
  33359. "type": "string"
  33360. },
  33361. "contactname": {
  33362. "description": "联系人",
  33363. "type": "string"
  33364. },
  33365. "countryid": {
  33366. "description": "国家",
  33367. "type": "integer"
  33368. },
  33369. "countryname": {
  33370. "description": "国家名称",
  33371. "type": "string"
  33372. },
  33373. "createtime": {
  33374. "description": "创建时间",
  33375. "type": "string"
  33376. },
  33377. "customername": {
  33378. "description": "客户名称",
  33379. "type": "string"
  33380. },
  33381. "districtid": {
  33382. "description": "区域",
  33383. "type": "integer"
  33384. },
  33385. "districtname": {
  33386. "description": "地区名称",
  33387. "type": "string"
  33388. },
  33389. "email": {
  33390. "description": "邮件",
  33391. "type": "string"
  33392. },
  33393. "legalpersonname": {
  33394. "description": "法人姓名(企业)",
  33395. "type": "string"
  33396. },
  33397. "logincode": {
  33398. "description": "登录账号(代码)",
  33399. "type": "string"
  33400. },
  33401. "memberuserid": {
  33402. "description": "所属机构ID(所属会员)",
  33403. "type": "integer"
  33404. },
  33405. "memberusername": {
  33406. "description": "所属会员名称",
  33407. "type": "string"
  33408. },
  33409. "mobile": {
  33410. "description": "手机号码",
  33411. "type": "string"
  33412. },
  33413. "modifytime": {
  33414. "description": "修改时间",
  33415. "type": "string"
  33416. },
  33417. "nickname": {
  33418. "description": "昵称",
  33419. "type": "string"
  33420. },
  33421. "parentuserid": {
  33422. "description": "上级机构(所属机构)",
  33423. "type": "integer"
  33424. },
  33425. "parentusername": {
  33426. "description": "所属机构名称",
  33427. "type": "string"
  33428. },
  33429. "provinceid": {
  33430. "description": "省",
  33431. "type": "integer"
  33432. },
  33433. "provincename": {
  33434. "description": "省名称",
  33435. "type": "string"
  33436. },
  33437. "proxystatementurl": {
  33438. "description": "授权委托书",
  33439. "type": "string"
  33440. },
  33441. "remark": {
  33442. "description": "备注",
  33443. "type": "string"
  33444. },
  33445. "status": {
  33446. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33447. "type": "integer"
  33448. },
  33449. "statusdesc": {
  33450. "description": "账户状态中文描述",
  33451. "type": "string"
  33452. },
  33453. "taxpayernum": {
  33454. "description": "纳税人识别号",
  33455. "type": "string"
  33456. },
  33457. "telphone": {
  33458. "description": "联系电话",
  33459. "type": "string"
  33460. },
  33461. "userid": {
  33462. "description": "用户ID",
  33463. "type": "integer"
  33464. },
  33465. "userinfotype": {
  33466. "description": "客户类型 1-个人 2-企业",
  33467. "type": "integer"
  33468. },
  33469. "username": {
  33470. "description": "用户名称",
  33471. "type": "string"
  33472. }
  33473. }
  33474. },
  33475. "models.QhjCustomerSignLog": {
  33476. "type": "object",
  33477. "properties": {
  33478. "agreementcontent": {
  33479. "description": "协议内容",
  33480. "type": "string"
  33481. },
  33482. "agreementid": {
  33483. "description": "协议ID",
  33484. "type": "integer"
  33485. },
  33486. "agreementname": {
  33487. "description": "协议名称",
  33488. "type": "string"
  33489. },
  33490. "agreementno": {
  33491. "description": "协议编号",
  33492. "type": "string"
  33493. },
  33494. "agreementtype": {
  33495. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33496. "type": "integer"
  33497. },
  33498. "agreementversion": {
  33499. "description": "协议版本号",
  33500. "type": "integer"
  33501. },
  33502. "createtime": {
  33503. "description": "创建时间",
  33504. "type": "string"
  33505. },
  33506. "goodscode": {
  33507. "description": "商品代码",
  33508. "type": "string"
  33509. },
  33510. "goodsid": {
  33511. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33512. "type": "integer"
  33513. },
  33514. "goodsname": {
  33515. "description": "商品名称",
  33516. "type": "string"
  33517. },
  33518. "logid": {
  33519. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33520. "type": "integer"
  33521. },
  33522. "nodetype": {
  33523. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33524. "type": "integer"
  33525. },
  33526. "signadressurl": {
  33527. "description": "签约文件地址",
  33528. "type": "string"
  33529. },
  33530. "signtimestamp": {
  33531. "description": "签约状态时间戳",
  33532. "type": "string"
  33533. },
  33534. "userid": {
  33535. "description": "客户ID",
  33536. "type": "integer"
  33537. },
  33538. "username": {
  33539. "description": "客户名称",
  33540. "type": "string"
  33541. }
  33542. }
  33543. },
  33544. "models.QhjCustomerSignStatus": {
  33545. "type": "object",
  33546. "properties": {
  33547. "createtime": {
  33548. "description": "创建时间",
  33549. "type": "string"
  33550. },
  33551. "goodscode": {
  33552. "description": "商品代码",
  33553. "type": "string"
  33554. },
  33555. "goodsid": {
  33556. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33557. "type": "integer"
  33558. },
  33559. "goodsname": {
  33560. "description": "商品名称",
  33561. "type": "string"
  33562. },
  33563. "nodetype": {
  33564. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33565. "type": "integer"
  33566. },
  33567. "signtimestamp": {
  33568. "description": "签约状态时间戳",
  33569. "type": "string"
  33570. },
  33571. "tradedate": {
  33572. "description": "创建交易日(yyyyMMdd)",
  33573. "type": "string"
  33574. },
  33575. "updatetime": {
  33576. "description": "更新时间",
  33577. "type": "string"
  33578. },
  33579. "userid": {
  33580. "description": "客户ID",
  33581. "type": "integer"
  33582. },
  33583. "username": {
  33584. "description": "客户名称",
  33585. "type": "string"
  33586. }
  33587. }
  33588. },
  33589. "models.QhjMgrAccountOutInApply": {
  33590. "type": "object",
  33591. "properties": {
  33592. "accountcode": {
  33593. "description": "资金账号",
  33594. "type": "string"
  33595. },
  33596. "accountname": {
  33597. "description": "用户名称(名称)",
  33598. "type": "string"
  33599. },
  33600. "accountpwd": {
  33601. "description": "资金密码",
  33602. "type": "string"
  33603. },
  33604. "accountticket": {
  33605. "description": "最新账户服务流水号",
  33606. "type": "string"
  33607. },
  33608. "amount": {
  33609. "description": "金额",
  33610. "type": "number"
  33611. },
  33612. "applyremark": {
  33613. "description": "申请备注",
  33614. "type": "string"
  33615. },
  33616. "applystatus": {
  33617. "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: 复审通过,账户冻结金额检查中;",
  33618. "type": "integer"
  33619. },
  33620. "auditid": {
  33621. "description": "审核人",
  33622. "type": "integer"
  33623. },
  33624. "audittime": {
  33625. "description": "审核时间",
  33626. "type": "string"
  33627. },
  33628. "bank_apply_ticket": {
  33629. "description": "银行申请流水",
  33630. "type": "string"
  33631. },
  33632. "bankaccountname": {
  33633. "description": "银行账户名",
  33634. "type": "string"
  33635. },
  33636. "bankaccountno": {
  33637. "description": "银行卡号",
  33638. "type": "string"
  33639. },
  33640. "bankid": {
  33641. "description": "银行编号",
  33642. "type": "string"
  33643. },
  33644. "bankname": {
  33645. "description": "银行名称",
  33646. "type": "string"
  33647. },
  33648. "bankticket": {
  33649. "description": "银行流水",
  33650. "type": "string"
  33651. },
  33652. "branchbankid": {
  33653. "description": "银行支行号",
  33654. "type": "string"
  33655. },
  33656. "branchbankname": {
  33657. "description": "银行支行名称",
  33658. "type": "string"
  33659. },
  33660. "capamountout": {
  33661. "description": "出金(劣后本金) - 外部子账户",
  33662. "type": "number"
  33663. },
  33664. "certificatephotourl": {
  33665. "description": "凭证地址",
  33666. "type": "string"
  33667. },
  33668. "charge": {
  33669. "description": "手续费",
  33670. "type": "number"
  33671. },
  33672. "checkerrorflag": {
  33673. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33674. "type": "integer"
  33675. },
  33676. "currency": {
  33677. "description": "币种",
  33678. "type": "string"
  33679. },
  33680. "cusbankid": {
  33681. "description": "托管银行编号",
  33682. "type": "string"
  33683. },
  33684. "exchticket": {
  33685. "description": "银行服务流水号",
  33686. "type": "string"
  33687. },
  33688. "executetype": {
  33689. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33690. "type": "integer"
  33691. },
  33692. "extendinfo": {
  33693. "description": "扩展信息",
  33694. "type": "string"
  33695. },
  33696. "extoperateid": {
  33697. "description": "交易服务流水号",
  33698. "type": "integer"
  33699. },
  33700. "infamount": {
  33701. "description": "劣后金额(自有)",
  33702. "type": "number"
  33703. },
  33704. "logincode": {
  33705. "description": "登录账号(账号)",
  33706. "type": "string"
  33707. },
  33708. "netaddr": {
  33709. "description": "调转网址",
  33710. "type": "string"
  33711. },
  33712. "priamount": {
  33713. "description": "优先金额(授信)",
  33714. "type": "number"
  33715. },
  33716. "reauditid": {
  33717. "description": "复审人",
  33718. "type": "integer"
  33719. },
  33720. "reauditremark": {
  33721. "description": "复审备注",
  33722. "type": "string"
  33723. },
  33724. "reaudittime": {
  33725. "description": "复审时间",
  33726. "type": "string"
  33727. },
  33728. "relatedorderid": {
  33729. "description": "三方关联ID",
  33730. "type": "string"
  33731. },
  33732. "remark": {
  33733. "description": "备注",
  33734. "type": "string"
  33735. },
  33736. "remark2": {
  33737. "description": "备注(失败原因)",
  33738. "type": "string"
  33739. },
  33740. "soucreamount": {
  33741. "description": "原始出入金金额",
  33742. "type": "number"
  33743. },
  33744. "soucrecurrencyid": {
  33745. "description": "原始出入金币种",
  33746. "type": "integer"
  33747. },
  33748. "tradedate": {
  33749. "description": "交易日(yyyyMMdd)",
  33750. "type": "string"
  33751. },
  33752. "updatetime": {
  33753. "description": "更新时间(申请时间)",
  33754. "type": "string"
  33755. },
  33756. "userid": {
  33757. "description": "用户id",
  33758. "type": "integer"
  33759. },
  33760. "userinfotype": {
  33761. "description": "账户类型 1-个人 2-企业",
  33762. "type": "integer"
  33763. }
  33764. }
  33765. },
  33766. "models.QhjMgrBrokerApply": {
  33767. "type": "object",
  33768. "properties": {
  33769. "applicantid": {
  33770. "description": "申请人",
  33771. "type": "integer"
  33772. },
  33773. "applysrc": {
  33774. "description": "申请来源 - 1:管理端 2:终端",
  33775. "type": "integer"
  33776. },
  33777. "applystatus": {
  33778. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33779. "type": "integer"
  33780. },
  33781. "applytime": {
  33782. "description": "申请时间",
  33783. "type": "string"
  33784. },
  33785. "auditorid": {
  33786. "description": "审核人",
  33787. "type": "integer"
  33788. },
  33789. "auditremark": {
  33790. "description": "审核备注",
  33791. "type": "string"
  33792. },
  33793. "auditsrc": {
  33794. "description": "审核来源 - 1:管理端 2:终端",
  33795. "type": "integer"
  33796. },
  33797. "audittime": {
  33798. "description": "审核时间",
  33799. "type": "string"
  33800. },
  33801. "audittradedate": {
  33802. "description": "审核交易日(yyyyMMdd)",
  33803. "type": "string"
  33804. },
  33805. "brokerapplyid": {
  33806. "description": "申请ID(SEQ_BROKERAPPLY)",
  33807. "type": "integer"
  33808. },
  33809. "cardbackphotourl": {
  33810. "description": "证件背面图片地址",
  33811. "type": "string"
  33812. },
  33813. "cardfrontphotourl": {
  33814. "description": "证件正面图片地址",
  33815. "type": "string"
  33816. },
  33817. "cardnum": {
  33818. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33819. "type": "string"
  33820. },
  33821. "customername": {
  33822. "description": "姓名",
  33823. "type": "string"
  33824. },
  33825. "filterstatus": {
  33826. "description": "筛选条件",
  33827. "type": "string"
  33828. },
  33829. "logincode": {
  33830. "description": "登录代码",
  33831. "type": "string"
  33832. },
  33833. "mobile": {
  33834. "description": "手机号码",
  33835. "type": "string"
  33836. },
  33837. "parentuserid": {
  33838. "description": "所属机构id",
  33839. "type": "integer"
  33840. },
  33841. "parentusername": {
  33842. "description": "所属机构名称",
  33843. "type": "string"
  33844. },
  33845. "refereeuserid": {
  33846. "description": "推荐人id(经纪人)",
  33847. "type": "integer"
  33848. },
  33849. "refernum": {
  33850. "description": "推荐码",
  33851. "type": "string"
  33852. },
  33853. "remark": {
  33854. "description": "备注",
  33855. "type": "string"
  33856. },
  33857. "subarealevelpath": {
  33858. "description": "层级路径",
  33859. "type": "string"
  33860. },
  33861. "tradedate": {
  33862. "description": "交易日(yyyyMMdd)",
  33863. "type": "string"
  33864. },
  33865. "userid": {
  33866. "description": "申请人用户ID",
  33867. "type": "integer"
  33868. },
  33869. "userinfotype": {
  33870. "description": "用户类型 1-个人 2-企业",
  33871. "type": "integer"
  33872. },
  33873. "username": {
  33874. "description": "用户名称",
  33875. "type": "string"
  33876. }
  33877. }
  33878. },
  33879. "models.QhjMgrBrokerRewardReport": {
  33880. "type": "object",
  33881. "properties": {
  33882. "createtime": {
  33883. "description": "创建时间(注册时间)",
  33884. "type": "string"
  33885. },
  33886. "cycletime": {
  33887. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33888. "type": "string"
  33889. },
  33890. "cycletype": {
  33891. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33892. "type": "integer"
  33893. },
  33894. "directtotalnum": {
  33895. "description": "直推总人数【期末】",
  33896. "type": "integer"
  33897. },
  33898. "indirecttotalnum": {
  33899. "description": "间推总人数【期末】",
  33900. "type": "integer"
  33901. },
  33902. "mobile": {
  33903. "description": "电话号码",
  33904. "type": "string"
  33905. },
  33906. "refereeuserid": {
  33907. "description": "推荐人id(经纪人id)",
  33908. "type": "integer"
  33909. },
  33910. "refereeusername": {
  33911. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33912. "type": "string"
  33913. },
  33914. "refernum": {
  33915. "description": "推荐码",
  33916. "type": "string"
  33917. },
  33918. "subarealevelpath": {
  33919. "description": "用户层级路径",
  33920. "type": "string"
  33921. },
  33922. "todayrewardamount": {
  33923. "description": "奖励总金额【汇总】",
  33924. "type": "number"
  33925. },
  33926. "updatetime": {
  33927. "description": "更新时间",
  33928. "type": "string"
  33929. },
  33930. "userid": {
  33931. "description": "经纪人用户ID",
  33932. "type": "integer"
  33933. },
  33934. "userinfotype": {
  33935. "description": "用户类型 1-个人 2-企业",
  33936. "type": "integer"
  33937. },
  33938. "username": {
  33939. "description": "用户名称",
  33940. "type": "string"
  33941. }
  33942. }
  33943. },
  33944. "models.QhjMgrContract": {
  33945. "type": "object",
  33946. "properties": {
  33947. "contractconfirmtime": {
  33948. "description": "合同确认时间(时间)",
  33949. "type": "string"
  33950. },
  33951. "currisklevel": {
  33952. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33953. "type": "integer"
  33954. },
  33955. "decimalplace": {
  33956. "description": "商品报价小数位",
  33957. "type": "integer"
  33958. },
  33959. "enumdicname": {
  33960. "description": "单位名称",
  33961. "type": "string"
  33962. },
  33963. "goodscode": {
  33964. "description": "商品代码",
  33965. "type": "string"
  33966. },
  33967. "goodsid": {
  33968. "description": "商品ID [5:融资单]",
  33969. "type": "integer"
  33970. },
  33971. "goodsname": {
  33972. "description": "商品名称",
  33973. "type": "string"
  33974. },
  33975. "goodunitid": {
  33976. "description": "商品单位id",
  33977. "type": "integer"
  33978. },
  33979. "initmargin": {
  33980. "description": "初始保证金(首付款)",
  33981. "type": "number"
  33982. },
  33983. "lenderamount": {
  33984. "description": "贷款金额(总额|订单总额)",
  33985. "type": "number"
  33986. },
  33987. "logincode": {
  33988. "description": "账号(登录代码)",
  33989. "type": "string"
  33990. },
  33991. "marginratio": {
  33992. "description": "保证金比率(首付比例)",
  33993. "type": "number"
  33994. },
  33995. "mobile": {
  33996. "description": "电话号码(用户资料里的电话)",
  33997. "type": "string"
  33998. },
  33999. "payamount": {
  34000. "description": "已付(已付货款)",
  34001. "type": "number"
  34002. },
  34003. "reckonrecovermargin": {
  34004. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34005. "type": "number"
  34006. },
  34007. "recoveredmargin": {
  34008. "description": "已追缴保证金",
  34009. "type": "number"
  34010. },
  34011. "remainamount": {
  34012. "description": "合同剩余金额(融资额)",
  34013. "type": "number"
  34014. },
  34015. "scfcontractid": {
  34016. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34017. "type": "string"
  34018. },
  34019. "scfcontractstatus": {
  34020. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34021. "type": "integer"
  34022. },
  34023. "scfcontracttype": {
  34024. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34025. "type": "integer"
  34026. },
  34027. "totalinterest": {
  34028. "description": "已计总利息(利息)",
  34029. "type": "number"
  34030. },
  34031. "tradedate": {
  34032. "description": "交易日",
  34033. "type": "string"
  34034. },
  34035. "tradeprice": {
  34036. "description": "成交价格(成本价格)",
  34037. "type": "number"
  34038. },
  34039. "userid": {
  34040. "description": "用户ID",
  34041. "type": "integer"
  34042. },
  34043. "userinfotype": {
  34044. "description": "用户类型 1-个人 2-企业",
  34045. "type": "integer"
  34046. },
  34047. "username": {
  34048. "description": "用户名称",
  34049. "type": "string"
  34050. },
  34051. "wrqty": {
  34052. "description": "仓单数量(数量)",
  34053. "type": "number"
  34054. }
  34055. }
  34056. },
  34057. "models.QhjMgrCustomer": {
  34058. "type": "object",
  34059. "properties": {
  34060. "address": {
  34061. "description": "通讯地址",
  34062. "type": "string"
  34063. },
  34064. "attachment1": {
  34065. "description": "附件1",
  34066. "type": "string"
  34067. },
  34068. "audittime": {
  34069. "description": "审核时间",
  34070. "type": "string"
  34071. },
  34072. "birthday": {
  34073. "description": "生日",
  34074. "type": "string"
  34075. },
  34076. "brokerid": {
  34077. "description": "所属客户经理id",
  34078. "type": "integer"
  34079. },
  34080. "brokername": {
  34081. "description": "所属客户经理名称",
  34082. "type": "string"
  34083. },
  34084. "cardbackphotourl": {
  34085. "description": "证件反面图片地址",
  34086. "type": "string"
  34087. },
  34088. "cardfrontphotourl": {
  34089. "description": "证件正面图片地址",
  34090. "type": "string"
  34091. },
  34092. "cardnum": {
  34093. "description": "证件号码",
  34094. "type": "string"
  34095. },
  34096. "cardtype": {
  34097. "description": "证件类型",
  34098. "type": "integer"
  34099. },
  34100. "cardtypename": {
  34101. "description": "证件类型名称",
  34102. "type": "string"
  34103. },
  34104. "cityid": {
  34105. "description": "市",
  34106. "type": "integer"
  34107. },
  34108. "cityname": {
  34109. "description": "城市名称",
  34110. "type": "string"
  34111. },
  34112. "contactname": {
  34113. "description": "联系人",
  34114. "type": "string"
  34115. },
  34116. "countryid": {
  34117. "description": "国家",
  34118. "type": "integer"
  34119. },
  34120. "countryname": {
  34121. "description": "国家名称",
  34122. "type": "string"
  34123. },
  34124. "createtime": {
  34125. "description": "创建时间",
  34126. "type": "string"
  34127. },
  34128. "customername": {
  34129. "description": "客户名称",
  34130. "type": "string"
  34131. },
  34132. "districtid": {
  34133. "description": "区域",
  34134. "type": "integer"
  34135. },
  34136. "districtname": {
  34137. "description": "地区名称",
  34138. "type": "string"
  34139. },
  34140. "email": {
  34141. "description": "邮件",
  34142. "type": "string"
  34143. },
  34144. "legalpersonname": {
  34145. "description": "法人姓名(企业)",
  34146. "type": "string"
  34147. },
  34148. "logincode": {
  34149. "description": "登录账号(代码)",
  34150. "type": "string"
  34151. },
  34152. "memberuserid": {
  34153. "description": "所属机构ID(所属会员)",
  34154. "type": "integer"
  34155. },
  34156. "memberusername": {
  34157. "description": "所属会员名称",
  34158. "type": "string"
  34159. },
  34160. "mobile": {
  34161. "description": "手机号码",
  34162. "type": "string"
  34163. },
  34164. "modifytime": {
  34165. "description": "修改时间",
  34166. "type": "string"
  34167. },
  34168. "nickname": {
  34169. "description": "昵称",
  34170. "type": "string"
  34171. },
  34172. "parentuserid": {
  34173. "description": "上级机构(所属机构)",
  34174. "type": "integer"
  34175. },
  34176. "parentusername": {
  34177. "description": "所属机构名称",
  34178. "type": "string"
  34179. },
  34180. "provinceid": {
  34181. "description": "省",
  34182. "type": "integer"
  34183. },
  34184. "provincename": {
  34185. "description": "省名称",
  34186. "type": "string"
  34187. },
  34188. "proxystatementurl": {
  34189. "description": "授权委托书",
  34190. "type": "string"
  34191. },
  34192. "querytype": {
  34193. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34194. "type": "integer"
  34195. },
  34196. "remark": {
  34197. "description": "备注",
  34198. "type": "string"
  34199. },
  34200. "sex": {
  34201. "description": "性别 0-女 1-男",
  34202. "type": "integer"
  34203. },
  34204. "status": {
  34205. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34206. "type": "integer"
  34207. },
  34208. "statusdesc": {
  34209. "description": "账户状态中文描述",
  34210. "type": "string"
  34211. },
  34212. "taxpayernum": {
  34213. "description": "纳税人识别号",
  34214. "type": "string"
  34215. },
  34216. "telphone": {
  34217. "description": "联系电话",
  34218. "type": "string"
  34219. },
  34220. "userid": {
  34221. "description": "用户ID",
  34222. "type": "integer"
  34223. },
  34224. "userinfotype": {
  34225. "description": "客户类型 1-个人 2-企业",
  34226. "type": "integer"
  34227. },
  34228. "username": {
  34229. "description": "用户名称",
  34230. "type": "string"
  34231. }
  34232. }
  34233. },
  34234. "models.QhjMgrPickGoods": {
  34235. "type": "object",
  34236. "properties": {
  34237. "enumdicname": {
  34238. "description": "单位名称(提货商品)",
  34239. "type": "string"
  34240. },
  34241. "goodsid": {
  34242. "description": "商品id",
  34243. "type": "integer"
  34244. },
  34245. "imageaddress": {
  34246. "description": "图片",
  34247. "type": "string"
  34248. },
  34249. "modifierid": {
  34250. "description": "修改人",
  34251. "type": "integer"
  34252. },
  34253. "modifiername": {
  34254. "description": "修改人名称",
  34255. "type": "string"
  34256. },
  34257. "modifysrc": {
  34258. "description": "修改来源 - 1:管理端 2:终端",
  34259. "type": "integer"
  34260. },
  34261. "pickupgoodsagreeunit": {
  34262. "description": "合约乘数",
  34263. "type": "number"
  34264. },
  34265. "pickupgoodsdesc": {
  34266. "description": "描述",
  34267. "type": "string"
  34268. },
  34269. "pickupgoodsid": {
  34270. "description": "提货商品ID",
  34271. "type": "string"
  34272. },
  34273. "pickupgoodsname": {
  34274. "description": "提货商品名称",
  34275. "type": "string"
  34276. },
  34277. "pickupgoodsstatus": {
  34278. "description": "状态 - 1:正常 2:停用 3:注销",
  34279. "type": "integer"
  34280. },
  34281. "pickupgoodsunitid": {
  34282. "description": "单位ID",
  34283. "type": "integer"
  34284. },
  34285. "pickupratio": {
  34286. "description": "提货系数",
  34287. "type": "number"
  34288. },
  34289. "preparedays": {
  34290. "description": "备货期(天)",
  34291. "type": "integer"
  34292. },
  34293. "remark": {
  34294. "description": "备注",
  34295. "type": "string"
  34296. },
  34297. "updatetime": {
  34298. "description": "更新时间",
  34299. "type": "string"
  34300. }
  34301. }
  34302. },
  34303. "models.QhjMgrPositionRsp": {
  34304. "type": "object",
  34305. "properties": {
  34306. "accountid": {
  34307. "description": "账号Id",
  34308. "type": "integer"
  34309. },
  34310. "accountname": {
  34311. "description": "用户名称",
  34312. "type": "string"
  34313. },
  34314. "agreeunit": {
  34315. "description": "合约乘数",
  34316. "type": "number"
  34317. },
  34318. "averageprice": {
  34319. "description": "均价",
  34320. "type": "number"
  34321. },
  34322. "avialqty": {
  34323. "description": "可用数量",
  34324. "type": "number"
  34325. },
  34326. "decimalplace": {
  34327. "description": "报价小数位",
  34328. "type": "integer"
  34329. },
  34330. "enumdicname": {
  34331. "description": "单位名称(商品)",
  34332. "type": "string"
  34333. },
  34334. "frozenqty": {
  34335. "description": "冻结数量",
  34336. "type": "number"
  34337. },
  34338. "goodscode": {
  34339. "description": "商品代码(内部)",
  34340. "type": "string"
  34341. },
  34342. "goodsid": {
  34343. "description": "商品Id",
  34344. "type": "integer"
  34345. },
  34346. "goodsname": {
  34347. "description": "商品名称",
  34348. "type": "string"
  34349. },
  34350. "goodunitid": {
  34351. "description": "报价单位ID",
  34352. "type": "integer"
  34353. },
  34354. "holderamount": {
  34355. "description": "金额",
  34356. "type": "number"
  34357. },
  34358. "holderqty": {
  34359. "description": "持有数量",
  34360. "type": "number"
  34361. },
  34362. "holdertype": {
  34363. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34364. "type": "integer"
  34365. },
  34366. "logincode": {
  34367. "description": "登录代码(账户)",
  34368. "type": "string"
  34369. },
  34370. "marketid": {
  34371. "description": "市场id",
  34372. "type": "integer"
  34373. },
  34374. "qtydecimalplace": {
  34375. "description": "成交量小数位",
  34376. "type": "integer"
  34377. },
  34378. "trademode": {
  34379. "description": "交易模式",
  34380. "type": "integer"
  34381. },
  34382. "userid": {
  34383. "description": "用户id",
  34384. "type": "integer"
  34385. },
  34386. "userinfotype": {
  34387. "description": "账户类型 1-个人 2-企业",
  34388. "type": "integer"
  34389. }
  34390. }
  34391. },
  34392. "models.QhjMgrSubArea": {
  34393. "type": "object",
  34394. "properties": {
  34395. "accountname": {
  34396. "description": "账户名称(机构名称)",
  34397. "type": "string"
  34398. },
  34399. "memberuserid": {
  34400. "description": "所属会员ID",
  34401. "type": "integer"
  34402. },
  34403. "parenttopuser": {
  34404. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34405. "type": "string"
  34406. },
  34407. "parentuserid": {
  34408. "description": "所属机构ID",
  34409. "type": "integer"
  34410. },
  34411. "rootuserid": {
  34412. "description": "根用户ID",
  34413. "type": "string"
  34414. },
  34415. "subaccountlevel": {
  34416. "description": "子账户层数",
  34417. "type": "integer"
  34418. },
  34419. "subarealevelpath": {
  34420. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34421. "type": "string"
  34422. },
  34423. "userid": {
  34424. "description": "用户ID",
  34425. "type": "integer"
  34426. },
  34427. "usertype": {
  34428. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34429. "type": "integer"
  34430. }
  34431. }
  34432. },
  34433. "models.QhjMgrTradeDetailRsp": {
  34434. "type": "object",
  34435. "properties": {
  34436. "accountid": {
  34437. "description": "资金账号",
  34438. "type": "integer"
  34439. },
  34440. "accountname": {
  34441. "description": "用户名称",
  34442. "type": "string"
  34443. },
  34444. "agreeunit": {
  34445. "description": "合约乘数",
  34446. "type": "number"
  34447. },
  34448. "buyorsell": {
  34449. "description": "成交类型(方向) 0:买 1:卖",
  34450. "type": "integer"
  34451. },
  34452. "decimalplace": {
  34453. "description": "报价小数位",
  34454. "type": "integer"
  34455. },
  34456. "enumdicname": {
  34457. "description": "单位名称(商品)",
  34458. "type": "string"
  34459. },
  34460. "goodscode": {
  34461. "description": "商品代码(内部)",
  34462. "type": "string"
  34463. },
  34464. "goodsid": {
  34465. "description": "商品id",
  34466. "type": "integer"
  34467. },
  34468. "goodsname": {
  34469. "description": "商品名称",
  34470. "type": "string"
  34471. },
  34472. "goodunitid": {
  34473. "description": "报价单位ID",
  34474. "type": "integer"
  34475. },
  34476. "logincode": {
  34477. "description": "登录代码(账户)",
  34478. "type": "string"
  34479. },
  34480. "marketid": {
  34481. "description": "市场id",
  34482. "type": "integer"
  34483. },
  34484. "orderid": {
  34485. "description": "关联委托单号",
  34486. "type": "string"
  34487. },
  34488. "qtydecimalplace": {
  34489. "description": "成交量小数位",
  34490. "type": "integer"
  34491. },
  34492. "tradeamount": {
  34493. "description": "金额",
  34494. "type": "number"
  34495. },
  34496. "tradedate": {
  34497. "description": "交易日",
  34498. "type": "string"
  34499. },
  34500. "tradeid": {
  34501. "description": "成交单号",
  34502. "type": "string"
  34503. },
  34504. "trademode": {
  34505. "description": "交易模式",
  34506. "type": "integer"
  34507. },
  34508. "tradeprice": {
  34509. "description": "价格",
  34510. "type": "number"
  34511. },
  34512. "tradeqty": {
  34513. "description": "数量",
  34514. "type": "number"
  34515. },
  34516. "tradetime": {
  34517. "description": "成交时间",
  34518. "type": "string"
  34519. },
  34520. "userid": {
  34521. "description": "用户id",
  34522. "type": "integer"
  34523. },
  34524. "userinfotype": {
  34525. "description": "账户类型 1-个人 2-企业",
  34526. "type": "integer"
  34527. }
  34528. }
  34529. },
  34530. "models.QhjMgrTradeOrderDetailRsp": {
  34531. "type": "object",
  34532. "properties": {
  34533. "accountid": {
  34534. "description": "资金账号",
  34535. "type": "integer"
  34536. },
  34537. "accountname": {
  34538. "description": "用户名称",
  34539. "type": "string"
  34540. },
  34541. "agreeunit": {
  34542. "description": "合约乘数",
  34543. "type": "number"
  34544. },
  34545. "amount": {
  34546. "description": "金额",
  34547. "type": "number"
  34548. },
  34549. "decimalplace": {
  34550. "description": "报价小数位",
  34551. "type": "integer"
  34552. },
  34553. "enumdicname": {
  34554. "description": "单位名称(商品)",
  34555. "type": "string"
  34556. },
  34557. "goodscode": {
  34558. "description": "商品代码(内部)",
  34559. "type": "string"
  34560. },
  34561. "goodsid": {
  34562. "description": "商品id",
  34563. "type": "integer"
  34564. },
  34565. "goodsname": {
  34566. "description": "商品名称",
  34567. "type": "string"
  34568. },
  34569. "goodunitid": {
  34570. "description": "报价单位ID",
  34571. "type": "integer"
  34572. },
  34573. "logincode": {
  34574. "description": "登录代码(账户)",
  34575. "type": "string"
  34576. },
  34577. "marketid": {
  34578. "description": "市场id",
  34579. "type": "integer"
  34580. },
  34581. "orderid": {
  34582. "description": "关联委托单号",
  34583. "type": "string"
  34584. },
  34585. "orderprice": {
  34586. "description": "价格",
  34587. "type": "number"
  34588. },
  34589. "orderqty": {
  34590. "description": "数量",
  34591. "type": "number"
  34592. },
  34593. "orderstatus": {
  34594. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34595. "type": "integer"
  34596. },
  34597. "ordertime": {
  34598. "description": "委托时间",
  34599. "type": "string"
  34600. },
  34601. "qtydecimalplace": {
  34602. "description": "成交量小数位",
  34603. "type": "integer"
  34604. },
  34605. "tradedate": {
  34606. "description": "交易日",
  34607. "type": "string"
  34608. },
  34609. "trademode": {
  34610. "description": "交易模式",
  34611. "type": "integer"
  34612. },
  34613. "userid": {
  34614. "description": "用户id",
  34615. "type": "integer"
  34616. },
  34617. "userinfotype": {
  34618. "description": "账户类型 1-个人 2-企业",
  34619. "type": "integer"
  34620. }
  34621. }
  34622. },
  34623. "models.QhjMgrTradePayOrder": {
  34624. "type": "object",
  34625. "properties": {
  34626. "accountname": {
  34627. "description": "用户名称",
  34628. "type": "string"
  34629. },
  34630. "advanceratio": {
  34631. "description": "首付比率",
  34632. "type": "number"
  34633. },
  34634. "agreeunit": {
  34635. "description": "合约乘数",
  34636. "type": "number"
  34637. },
  34638. "buyaccountid": {
  34639. "description": "买方账号ID[报价币种]",
  34640. "type": "integer"
  34641. },
  34642. "buyorderid": {
  34643. "description": "买方委托单号(关联单号)",
  34644. "type": "string"
  34645. },
  34646. "createtime": {
  34647. "description": "创建时间",
  34648. "type": "string"
  34649. },
  34650. "decimalplace": {
  34651. "description": "报价小数位",
  34652. "type": "integer"
  34653. },
  34654. "enumdicname": {
  34655. "description": "单位名称(商品)",
  34656. "type": "string"
  34657. },
  34658. "goodscode": {
  34659. "description": "商品代码(内部)",
  34660. "type": "string"
  34661. },
  34662. "goodsid": {
  34663. "description": "商品ID",
  34664. "type": "integer"
  34665. },
  34666. "goodsname": {
  34667. "description": "商品名称",
  34668. "type": "string"
  34669. },
  34670. "goodunitid": {
  34671. "description": "报价单位ID",
  34672. "type": "integer"
  34673. },
  34674. "logincode": {
  34675. "description": "登录代码(账户)",
  34676. "type": "string"
  34677. },
  34678. "marketid": {
  34679. "description": "市场id",
  34680. "type": "integer"
  34681. },
  34682. "offamount": {
  34683. "description": "优惠金额",
  34684. "type": "number"
  34685. },
  34686. "operatetype": {
  34687. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34688. "type": "integer"
  34689. },
  34690. "payamount": {
  34691. "description": "支付金额(金额)",
  34692. "type": "number"
  34693. },
  34694. "payflag": {
  34695. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34696. "type": "integer"
  34697. },
  34698. "paylimitedtime": {
  34699. "description": "支付期限",
  34700. "type": "string"
  34701. },
  34702. "paytime": {
  34703. "description": "付款时间",
  34704. "type": "string"
  34705. },
  34706. "qtydecimalplace": {
  34707. "description": "成交量小数位",
  34708. "type": "integer"
  34709. },
  34710. "sellaccountid": {
  34711. "description": "卖方账号ID[报价币种]",
  34712. "type": "integer"
  34713. },
  34714. "sellorderid": {
  34715. "description": "卖方委托单号",
  34716. "type": "string"
  34717. },
  34718. "tradeamount": {
  34719. "description": "成交金额(优惠后金额)",
  34720. "type": "number"
  34721. },
  34722. "tradecharge": {
  34723. "description": "成交手续费(买方)",
  34724. "type": "number"
  34725. },
  34726. "tradedate": {
  34727. "description": "交易日(yyyyMMdd)",
  34728. "type": "string"
  34729. },
  34730. "tradeid": {
  34731. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34732. "type": "string"
  34733. },
  34734. "trademode": {
  34735. "description": "交易模式",
  34736. "type": "integer"
  34737. },
  34738. "tradeprice": {
  34739. "description": "成交价格(价格)",
  34740. "type": "number"
  34741. },
  34742. "tradeqty": {
  34743. "description": "成交数量(数量)",
  34744. "type": "number"
  34745. },
  34746. "tradetime": {
  34747. "description": "成交时间",
  34748. "type": "string"
  34749. },
  34750. "userid": {
  34751. "description": "用户id",
  34752. "type": "integer"
  34753. },
  34754. "userinfotype": {
  34755. "description": "账户类型 1-个人 2-企业",
  34756. "type": "integer"
  34757. }
  34758. }
  34759. },
  34760. "models.QhjMyTeamEx": {
  34761. "type": "object",
  34762. "properties": {
  34763. "accountname": {
  34764. "description": "用户名称",
  34765. "type": "string"
  34766. },
  34767. "accountstatus": {
  34768. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34769. "type": "integer"
  34770. },
  34771. "createtime": {
  34772. "description": "创建时间",
  34773. "type": "string"
  34774. },
  34775. "mobile": {
  34776. "description": "手机号码",
  34777. "type": "string"
  34778. },
  34779. "refereeuserid": {
  34780. "description": "推荐人id",
  34781. "type": "integer"
  34782. },
  34783. "refernum": {
  34784. "description": "推荐码",
  34785. "type": "string"
  34786. },
  34787. "subList": {
  34788. "type": "array",
  34789. "items": {
  34790. "$ref": "#/definitions/models.QhjMyTeamEx"
  34791. }
  34792. },
  34793. "userid": {
  34794. "description": "用户id",
  34795. "type": "integer"
  34796. },
  34797. "userinfotype": {
  34798. "description": "用户类型 1-个人 2-企业",
  34799. "type": "integer"
  34800. }
  34801. }
  34802. },
  34803. "models.QhjNodeAgreementConfig": {
  34804. "type": "object",
  34805. "properties": {
  34806. "agreementcontent": {
  34807. "description": "协议内容",
  34808. "type": "string"
  34809. },
  34810. "agreementid": {
  34811. "description": "协议ID",
  34812. "type": "integer"
  34813. },
  34814. "agreementname": {
  34815. "description": "协议名称",
  34816. "type": "string"
  34817. },
  34818. "agreementno": {
  34819. "description": "协议编号",
  34820. "type": "string"
  34821. },
  34822. "agreementtype": {
  34823. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34824. "type": "integer"
  34825. },
  34826. "agreementversion": {
  34827. "description": "协议版本号",
  34828. "type": "integer"
  34829. },
  34830. "configid": {
  34831. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34832. "type": "integer"
  34833. },
  34834. "createtime": {
  34835. "description": "创建时间",
  34836. "type": "string"
  34837. },
  34838. "goodsid": {
  34839. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34840. "type": "integer"
  34841. },
  34842. "nodetype": {
  34843. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34844. "type": "integer"
  34845. }
  34846. }
  34847. },
  34848. "models.QhjParentAreaList": {
  34849. "type": "object",
  34850. "properties": {
  34851. "accountname": {
  34852. "description": "账户名称(机构名称)",
  34853. "type": "string"
  34854. },
  34855. "userid": {
  34856. "description": "用户ID",
  34857. "type": "integer"
  34858. },
  34859. "usertype": {
  34860. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34861. "type": "integer"
  34862. }
  34863. }
  34864. },
  34865. "models.QhjPayOrder": {
  34866. "type": "object",
  34867. "properties": {
  34868. "advanceratio": {
  34869. "description": "首付比率",
  34870. "type": "number"
  34871. },
  34872. "buyaccountid": {
  34873. "description": "买方账号ID[报价币种]",
  34874. "type": "integer"
  34875. },
  34876. "buyorderid": {
  34877. "description": "买方委托单号",
  34878. "type": "string"
  34879. },
  34880. "createtime": {
  34881. "description": "创建时间",
  34882. "type": "string"
  34883. },
  34884. "decimalplace": {
  34885. "description": "商品报价小数位",
  34886. "type": "integer"
  34887. },
  34888. "enumdicname": {
  34889. "description": "单位名称",
  34890. "type": "string"
  34891. },
  34892. "goodscode": {
  34893. "description": "商品代码",
  34894. "type": "string"
  34895. },
  34896. "goodsid": {
  34897. "description": "商品ID",
  34898. "type": "integer"
  34899. },
  34900. "goodsname": {
  34901. "description": "商品名称",
  34902. "type": "string"
  34903. },
  34904. "goodunitid": {
  34905. "description": "商品单位id",
  34906. "type": "integer"
  34907. },
  34908. "marketid": {
  34909. "description": "市场ID",
  34910. "type": "integer"
  34911. },
  34912. "offamount": {
  34913. "description": "优惠金额",
  34914. "type": "number"
  34915. },
  34916. "operatetype": {
  34917. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34918. "type": "integer"
  34919. },
  34920. "payamount": {
  34921. "description": "支付金额",
  34922. "type": "number"
  34923. },
  34924. "payflag": {
  34925. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34926. "type": "integer"
  34927. },
  34928. "paylimitedtime": {
  34929. "description": "支付期限",
  34930. "type": "string"
  34931. },
  34932. "paytime": {
  34933. "description": "付款时间",
  34934. "type": "string"
  34935. },
  34936. "qtydecimalplace": {
  34937. "description": "成交量小数位",
  34938. "type": "integer"
  34939. },
  34940. "sellaccountid": {
  34941. "description": "卖方账号ID[报价币种]",
  34942. "type": "integer"
  34943. },
  34944. "sellorderid": {
  34945. "description": "卖方委托单号",
  34946. "type": "string"
  34947. },
  34948. "tradeamount": {
  34949. "description": "成交金额(优惠后金额)",
  34950. "type": "number"
  34951. },
  34952. "tradecharge": {
  34953. "description": "成交手续费(买方)",
  34954. "type": "number"
  34955. },
  34956. "tradedate": {
  34957. "description": "交易日(yyyyMMdd)",
  34958. "type": "string"
  34959. },
  34960. "tradeid": {
  34961. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34962. "type": "string"
  34963. },
  34964. "tradeprice": {
  34965. "description": "成交价格",
  34966. "type": "number"
  34967. },
  34968. "tradeqty": {
  34969. "description": "成交数量",
  34970. "type": "number"
  34971. }
  34972. }
  34973. },
  34974. "models.QhjPickArea": {
  34975. "type": "object",
  34976. "properties": {
  34977. "address": {
  34978. "description": "详细地址",
  34979. "type": "string"
  34980. },
  34981. "cityid": {
  34982. "description": "市",
  34983. "type": "integer"
  34984. },
  34985. "cityname": {
  34986. "description": "城市名称",
  34987. "type": "string"
  34988. },
  34989. "countryid": {
  34990. "description": "国家",
  34991. "type": "integer"
  34992. },
  34993. "countryname": {
  34994. "description": "国家名称",
  34995. "type": "string"
  34996. },
  34997. "districtid": {
  34998. "description": "地区",
  34999. "type": "integer"
  35000. },
  35001. "districtname": {
  35002. "description": "地区名称",
  35003. "type": "string"
  35004. },
  35005. "fromuserid": {
  35006. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  35007. "type": "integer"
  35008. },
  35009. "fromusername": {
  35010. "description": "所属机构名称",
  35011. "type": "string"
  35012. },
  35013. "provinceid": {
  35014. "description": "省",
  35015. "type": "integer"
  35016. },
  35017. "provincename": {
  35018. "description": "省名称",
  35019. "type": "string"
  35020. },
  35021. "suborgtype": {
  35022. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35023. "type": "integer"
  35024. },
  35025. "userid": {
  35026. "description": "机构用户ID 其他做市关系,都设置为 1",
  35027. "type": "integer"
  35028. },
  35029. "username": {
  35030. "description": "机构用户名称(门店门称)",
  35031. "type": "string"
  35032. }
  35033. }
  35034. },
  35035. "models.QhjPickGoods": {
  35036. "type": "object",
  35037. "properties": {
  35038. "enumdicname": {
  35039. "description": "单位名称(提货商品)",
  35040. "type": "string"
  35041. },
  35042. "goodsid": {
  35043. "description": "商品id",
  35044. "type": "integer"
  35045. },
  35046. "imageaddress": {
  35047. "description": "图片",
  35048. "type": "string"
  35049. },
  35050. "modifierid": {
  35051. "description": "修改人",
  35052. "type": "integer"
  35053. },
  35054. "modifiername": {
  35055. "description": "修改人名称",
  35056. "type": "string"
  35057. },
  35058. "modifysrc": {
  35059. "description": "修改来源 - 1:管理端 2:终端",
  35060. "type": "integer"
  35061. },
  35062. "pickupgoodsagreeunit": {
  35063. "description": "合约乘数",
  35064. "type": "number"
  35065. },
  35066. "pickupgoodsdesc": {
  35067. "description": "描述",
  35068. "type": "string"
  35069. },
  35070. "pickupgoodsid": {
  35071. "description": "提货商品ID",
  35072. "type": "string"
  35073. },
  35074. "pickupgoodsname": {
  35075. "description": "提货商品名称",
  35076. "type": "string"
  35077. },
  35078. "pickupgoodsstatus": {
  35079. "description": "状态 - 1:正常 2:停用 3:注销",
  35080. "type": "integer"
  35081. },
  35082. "pickupgoodsunitid": {
  35083. "description": "单位ID",
  35084. "type": "integer"
  35085. },
  35086. "pickupratio": {
  35087. "description": "提货系数",
  35088. "type": "number"
  35089. },
  35090. "preparedays": {
  35091. "description": "备货期(天)",
  35092. "type": "integer"
  35093. },
  35094. "remark": {
  35095. "description": "备注",
  35096. "type": "string"
  35097. },
  35098. "updatetime": {
  35099. "description": "更新时间",
  35100. "type": "string"
  35101. }
  35102. }
  35103. },
  35104. "models.QhjRSTriggerLog": {
  35105. "type": "object",
  35106. "properties": {
  35107. "accountid": {
  35108. "description": "用户资金账户",
  35109. "type": "integer"
  35110. },
  35111. "accountname": {
  35112. "description": "账号名称(ACCOUNTID对应的名称)",
  35113. "type": "string"
  35114. },
  35115. "currencyid": {
  35116. "description": "币种id",
  35117. "type": "integer"
  35118. },
  35119. "currencyname": {
  35120. "description": "币种名称",
  35121. "type": "string"
  35122. },
  35123. "decimalplace": {
  35124. "description": "商品报价小数位",
  35125. "type": "integer"
  35126. },
  35127. "enumdicname": {
  35128. "description": "单位名称",
  35129. "type": "string"
  35130. },
  35131. "goodscode": {
  35132. "description": "定投商品代码",
  35133. "type": "string"
  35134. },
  35135. "goodsid": {
  35136. "description": "定投商品ID",
  35137. "type": "integer"
  35138. },
  35139. "goodsname": {
  35140. "description": "定投商品名称",
  35141. "type": "string"
  35142. },
  35143. "goodunitid": {
  35144. "description": "定投商品单位id",
  35145. "type": "integer"
  35146. },
  35147. "logid": {
  35148. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35149. "type": "string"
  35150. },
  35151. "logincode": {
  35152. "description": "账号(登录代码)",
  35153. "type": "string"
  35154. },
  35155. "qtydecimalplace": {
  35156. "description": "成交量小数位",
  35157. "type": "integer"
  35158. },
  35159. "regularlycycle": {
  35160. "description": "定投频率 - 1:每周 2:每月",
  35161. "type": "integer"
  35162. },
  35163. "regularlycyclevalue": {
  35164. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35165. "type": "string"
  35166. },
  35167. "regularlymode": {
  35168. "description": "定投方式 - 1:按数量 2:按金额",
  35169. "type": "integer"
  35170. },
  35171. "regularlymodevalue": {
  35172. "description": "定投方式值 - 数量或金额",
  35173. "type": "number"
  35174. },
  35175. "regularlystrategyid": {
  35176. "description": "定投策略ID",
  35177. "type": "integer"
  35178. },
  35179. "retcode": {
  35180. "description": "错误码",
  35181. "type": "string"
  35182. },
  35183. "tradeid": {
  35184. "description": "成交单ID",
  35185. "type": "string"
  35186. },
  35187. "triggeramount": {
  35188. "description": "触发金额",
  35189. "type": "number"
  35190. },
  35191. "triggerqty": {
  35192. "description": "触发数量",
  35193. "type": "number"
  35194. },
  35195. "triggerstatus": {
  35196. "description": "触发状态 - 1:成功 2:失败",
  35197. "type": "integer"
  35198. },
  35199. "triggertime": {
  35200. "description": "触发时间",
  35201. "type": "string"
  35202. },
  35203. "triggertradedate": {
  35204. "description": "触发交易日",
  35205. "type": "string"
  35206. },
  35207. "userid": {
  35208. "description": "所属用户ID",
  35209. "type": "integer"
  35210. },
  35211. "userinfotype": {
  35212. "description": "用户类型 1-个人 2-企业",
  35213. "type": "integer"
  35214. },
  35215. "username": {
  35216. "description": "用户名称(userid对应的名称)",
  35217. "type": "string"
  35218. }
  35219. }
  35220. },
  35221. "models.QhjRStrategy": {
  35222. "type": "object",
  35223. "properties": {
  35224. "accountid": {
  35225. "description": "用户资金账户",
  35226. "type": "integer"
  35227. },
  35228. "accountname": {
  35229. "description": "账号名称(ACCOUNTID对应的名称)",
  35230. "type": "string"
  35231. },
  35232. "currencyid": {
  35233. "description": "币种id",
  35234. "type": "integer"
  35235. },
  35236. "currencyname": {
  35237. "description": "币种名称",
  35238. "type": "string"
  35239. },
  35240. "decimalplace": {
  35241. "description": "商品报价小数位",
  35242. "type": "integer"
  35243. },
  35244. "enumdicname": {
  35245. "description": "单位名称",
  35246. "type": "string"
  35247. },
  35248. "goodscode": {
  35249. "description": "定投商品代码",
  35250. "type": "string"
  35251. },
  35252. "goodsid": {
  35253. "description": "定投商品ID",
  35254. "type": "integer"
  35255. },
  35256. "goodsname": {
  35257. "description": "定投商品名称",
  35258. "type": "string"
  35259. },
  35260. "goodunitid": {
  35261. "description": "定投商品单位id",
  35262. "type": "integer"
  35263. },
  35264. "lasteffecttradedate": {
  35265. "description": "最新生效交易日",
  35266. "type": "string"
  35267. },
  35268. "laststoptradedate": {
  35269. "description": "最新暂停交易日",
  35270. "type": "string"
  35271. },
  35272. "lasttriggertradedate": {
  35273. "description": "最新触发交易日",
  35274. "type": "string"
  35275. },
  35276. "logincode": {
  35277. "description": "账号(登录代码)",
  35278. "type": "string"
  35279. },
  35280. "nexttriggeramount": {
  35281. "description": "下次触发金额",
  35282. "type": "number"
  35283. },
  35284. "nexttriggerdate": {
  35285. "description": "下次触发日期",
  35286. "type": "string"
  35287. },
  35288. "nexttriggerqty": {
  35289. "description": "下次触发数量 [按小数位放大值]",
  35290. "type": "number"
  35291. },
  35292. "qtydecimalplace": {
  35293. "description": "成交量小数位",
  35294. "type": "integer"
  35295. },
  35296. "regularlycycle": {
  35297. "description": "定投频率 - 1:每周 2:每月",
  35298. "type": "integer"
  35299. },
  35300. "regularlycyclevalue": {
  35301. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35302. "type": "string"
  35303. },
  35304. "regularlymode": {
  35305. "description": "定投方式 - 1:按数量 2:按金额",
  35306. "type": "integer"
  35307. },
  35308. "regularlymodevalue": {
  35309. "description": "定投方式值 - 数量或金额",
  35310. "type": "number"
  35311. },
  35312. "regularlystrategyid": {
  35313. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35314. "type": "integer"
  35315. },
  35316. "regularlystrategystatus": {
  35317. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35318. "type": "integer"
  35319. },
  35320. "remark": {
  35321. "description": "备注",
  35322. "type": "string"
  35323. },
  35324. "triggersuccesstimes": {
  35325. "description": "累计定投成功次数",
  35326. "type": "string"
  35327. },
  35328. "triggertotalamount": {
  35329. "description": "累计定投金额(成功)",
  35330. "type": "number"
  35331. },
  35332. "triggertotalqty": {
  35333. "description": "累计定投数量(成功) [按小数位放大值]",
  35334. "type": "number"
  35335. },
  35336. "triggertotaltimes": {
  35337. "description": "累计定投总次数",
  35338. "type": "string"
  35339. },
  35340. "updatesrc": {
  35341. "description": "更新来源 - 1:管理端 2:终端",
  35342. "type": "integer"
  35343. },
  35344. "updatetime": {
  35345. "description": "更新时间",
  35346. "type": "string"
  35347. },
  35348. "updatorid": {
  35349. "description": "更新人",
  35350. "type": "string"
  35351. },
  35352. "userid": {
  35353. "description": "所属用户ID",
  35354. "type": "integer"
  35355. },
  35356. "userinfotype": {
  35357. "description": "用户类型 1-个人 2-企业",
  35358. "type": "integer"
  35359. },
  35360. "username": {
  35361. "description": "用户名称(userid对应的名称)",
  35362. "type": "string"
  35363. }
  35364. }
  35365. },
  35366. "models.QhjReckonPriceLog": {
  35367. "type": "object",
  35368. "properties": {
  35369. "decimalplace": {
  35370. "description": "商品报价小数位",
  35371. "type": "integer"
  35372. },
  35373. "goodscode": {
  35374. "description": "商品代码",
  35375. "type": "string"
  35376. },
  35377. "goodsid": {
  35378. "description": "商品ID",
  35379. "type": "integer"
  35380. },
  35381. "goodsname": {
  35382. "description": "商品名称",
  35383. "type": "string"
  35384. },
  35385. "lastreckonprice": {
  35386. "description": "上日结算价",
  35387. "type": "number"
  35388. },
  35389. "nextdnlimitprice": {
  35390. "description": "下个交易日跌停价",
  35391. "type": "number"
  35392. },
  35393. "nexttrade": {
  35394. "description": "下个交易日",
  35395. "type": "string"
  35396. },
  35397. "nextuplimitprice": {
  35398. "description": "下个交易日涨停价",
  35399. "type": "number"
  35400. },
  35401. "reckonprice": {
  35402. "description": "今日结算价(定投价)",
  35403. "type": "number"
  35404. },
  35405. "reckontime": {
  35406. "description": "结算时间",
  35407. "type": "string"
  35408. },
  35409. "totalholderqty": {
  35410. "description": "总持仓数",
  35411. "type": "integer"
  35412. },
  35413. "totalstock": {
  35414. "description": "总库存",
  35415. "type": "integer"
  35416. },
  35417. "tradedate": {
  35418. "description": "交易日",
  35419. "type": "string"
  35420. },
  35421. "updowncount": {
  35422. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35423. "type": "integer"
  35424. },
  35425. "updownflag": {
  35426. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35427. "type": "integer"
  35428. },
  35429. "updownrate": {
  35430. "description": "今日涨跌幅",
  35431. "type": "number"
  35432. },
  35433. "updownrate_2d": {
  35434. "description": "连续两日涨跌幅",
  35435. "type": "number"
  35436. },
  35437. "updownrate_3d": {
  35438. "description": "连续三日涨跌幅",
  35439. "type": "number"
  35440. }
  35441. }
  35442. },
  35443. "models.QhjScoreLog": {
  35444. "type": "object",
  35445. "properties": {
  35446. "accountid": {
  35447. "description": "账户ID",
  35448. "type": "integer"
  35449. },
  35450. "createtime": {
  35451. "description": "创建时间(时间)",
  35452. "type": "string"
  35453. },
  35454. "goodsid": {
  35455. "description": "商品ID",
  35456. "type": "integer"
  35457. },
  35458. "hasuploaded": {
  35459. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35460. "type": "integer"
  35461. },
  35462. "logid": {
  35463. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35464. "type": "string"
  35465. },
  35466. "marketid": {
  35467. "description": "市场ID",
  35468. "type": "integer"
  35469. },
  35470. "relatedamount": {
  35471. "description": "关联金额",
  35472. "type": "number"
  35473. },
  35474. "relatedorderid": {
  35475. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35476. "type": "string"
  35477. },
  35478. "scoreconfigvalue1": {
  35479. "description": "积分配置1",
  35480. "type": "integer"
  35481. },
  35482. "scoreconfigvalue2": {
  35483. "description": "积分配置1",
  35484. "type": "integer"
  35485. },
  35486. "scoretype": {
  35487. "description": "积分类型 - 1:提货积分",
  35488. "type": "integer"
  35489. },
  35490. "scorevalue": {
  35491. "description": "积分",
  35492. "type": "number"
  35493. },
  35494. "tradedate": {
  35495. "description": "交易日(yyyyMMdd)",
  35496. "type": "string"
  35497. },
  35498. "uploadedtime": {
  35499. "description": "同步时间",
  35500. "type": "string"
  35501. },
  35502. "userid": {
  35503. "description": "用户ID",
  35504. "type": "integer"
  35505. }
  35506. }
  35507. },
  35508. "models.QhjSiteColumnDetail": {
  35509. "type": "object",
  35510. "properties": {
  35511. "author": {
  35512. "description": "作者",
  35513. "type": "string"
  35514. },
  35515. "brief": {
  35516. "description": "简介",
  35517. "type": "string"
  35518. },
  35519. "columnid": {
  35520. "description": "所属栏目",
  35521. "type": "integer"
  35522. },
  35523. "context": {
  35524. "description": "内容",
  35525. "type": "string"
  35526. },
  35527. "coverimage": {
  35528. "description": "封面图片",
  35529. "type": "string"
  35530. },
  35531. "creaedate": {
  35532. "description": "创建时间",
  35533. "type": "string"
  35534. },
  35535. "creatorid": {
  35536. "description": "创建人",
  35537. "type": "integer"
  35538. },
  35539. "hits": {
  35540. "description": "点击数",
  35541. "type": "integer"
  35542. },
  35543. "id": {
  35544. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35545. "type": "integer"
  35546. },
  35547. "isshow": {
  35548. "description": "是否展示 - 0:不展示 1:展示",
  35549. "type": "integer"
  35550. },
  35551. "istop": {
  35552. "description": "是否置顶 - 0:不置 1:置顶",
  35553. "type": "integer"
  35554. },
  35555. "modifierid": {
  35556. "description": "操作人",
  35557. "type": "integer"
  35558. },
  35559. "publishdate": {
  35560. "description": "发布日期",
  35561. "type": "string"
  35562. },
  35563. "status": {
  35564. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35565. "type": "integer"
  35566. },
  35567. "title": {
  35568. "description": "标题",
  35569. "type": "string"
  35570. },
  35571. "updatedate": {
  35572. "description": "修改时间",
  35573. "type": "string"
  35574. },
  35575. "userid": {
  35576. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35577. "type": "integer"
  35578. },
  35579. "username": {
  35580. "description": "用户名称",
  35581. "type": "string"
  35582. }
  35583. }
  35584. },
  35585. "models.QhjTeamOrder": {
  35586. "type": "object",
  35587. "properties": {
  35588. "accountid": {
  35589. "description": "账户ID[报价币种]",
  35590. "type": "integer"
  35591. },
  35592. "accountname": {
  35593. "description": "账户名称",
  35594. "type": "string"
  35595. },
  35596. "agreeunit": {
  35597. "description": "合约乘数",
  35598. "type": "number"
  35599. },
  35600. "buyorsell": {
  35601. "description": "方向 - 0:买 1:卖",
  35602. "type": "integer"
  35603. },
  35604. "decimalplace": {
  35605. "description": "报价小数位",
  35606. "type": "integer"
  35607. },
  35608. "enumdicname": {
  35609. "description": "单位名称",
  35610. "type": "string"
  35611. },
  35612. "goodscode": {
  35613. "description": "商品代码(内部)",
  35614. "type": "string"
  35615. },
  35616. "goodsid": {
  35617. "description": "商品ID",
  35618. "type": "integer"
  35619. },
  35620. "goodsname": {
  35621. "description": "商品名称",
  35622. "type": "string"
  35623. },
  35624. "goodunitid": {
  35625. "description": "报价单位ID",
  35626. "type": "integer"
  35627. },
  35628. "marketid": {
  35629. "description": "市场ID",
  35630. "type": "integer"
  35631. },
  35632. "marketname": {
  35633. "description": "市场名称",
  35634. "type": "string"
  35635. },
  35636. "qtydecimalplace": {
  35637. "description": "成交量小数位",
  35638. "type": "integer"
  35639. },
  35640. "refereeuserid": {
  35641. "description": "推荐人ID",
  35642. "type": "integer"
  35643. },
  35644. "tradeamount": {
  35645. "description": "成交金额[账户币种,用于所有权]",
  35646. "type": "number"
  35647. },
  35648. "tradedate": {
  35649. "description": "交易日(yyyyMMdd)",
  35650. "type": "string"
  35651. },
  35652. "trademode": {
  35653. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35654. "type": "integer"
  35655. },
  35656. "tradeprice": {
  35657. "description": "成交价格",
  35658. "type": "number"
  35659. },
  35660. "tradeqty": {
  35661. "description": "成交数量",
  35662. "type": "number"
  35663. },
  35664. "tradetime": {
  35665. "description": "成交时间",
  35666. "type": "string"
  35667. },
  35668. "userid": {
  35669. "description": "用户ID",
  35670. "type": "integer"
  35671. }
  35672. }
  35673. },
  35674. "models.QhjTradeGoodsPickup": {
  35675. "type": "object",
  35676. "properties": {
  35677. "accountid": {
  35678. "description": "账户ID",
  35679. "type": "integer"
  35680. },
  35681. "address": {
  35682. "description": "提货人详细地址",
  35683. "type": "string"
  35684. },
  35685. "amount": {
  35686. "description": "提货金额",
  35687. "type": "number"
  35688. },
  35689. "artradedate": {
  35690. "description": "自动收货交易日(yyyyMMdd)",
  35691. "type": "string"
  35692. },
  35693. "auditer": {
  35694. "description": "审核人",
  35695. "type": "integer"
  35696. },
  35697. "auditsrc": {
  35698. "description": "更新来源 - 1:管理端 2:终端",
  35699. "type": "integer"
  35700. },
  35701. "audittime": {
  35702. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35703. "type": "string"
  35704. },
  35705. "audittradedate": {
  35706. "description": "审核交易日(yyyyMMdd)",
  35707. "type": "string"
  35708. },
  35709. "cardnum": {
  35710. "description": "提货人证件号码",
  35711. "type": "string"
  35712. },
  35713. "cardtypeid": {
  35714. "description": "提货人证件类型",
  35715. "type": "integer"
  35716. },
  35717. "checkremark": {
  35718. "description": "审核备注",
  35719. "type": "string"
  35720. },
  35721. "cityid": {
  35722. "description": "市",
  35723. "type": "integer"
  35724. },
  35725. "cityname": {
  35726. "description": "城市名称",
  35727. "type": "string"
  35728. },
  35729. "confirmtime": {
  35730. "description": "取货时间 或 收货时间",
  35731. "type": "string"
  35732. },
  35733. "countryid": {
  35734. "description": "国家",
  35735. "type": "integer"
  35736. },
  35737. "countryname": {
  35738. "description": "国家名称",
  35739. "type": "string"
  35740. },
  35741. "decimalplace": {
  35742. "description": "商品报价小数位",
  35743. "type": "integer"
  35744. },
  35745. "districtid": {
  35746. "description": "地区",
  35747. "type": "integer"
  35748. },
  35749. "districtname": {
  35750. "description": "地区名称",
  35751. "type": "string"
  35752. },
  35753. "enumdicname": {
  35754. "description": "单位名称(提货商品)",
  35755. "type": "string"
  35756. },
  35757. "expresscompany": {
  35758. "description": "物流公司",
  35759. "type": "string"
  35760. },
  35761. "expressnum": {
  35762. "description": "物流单号",
  35763. "type": "string"
  35764. },
  35765. "goodsagreeunit": {
  35766. "description": "交易商品乘数",
  35767. "type": "number"
  35768. },
  35769. "goodscode": {
  35770. "description": "商品代码",
  35771. "type": "string"
  35772. },
  35773. "goodsid": {
  35774. "description": "商品ID",
  35775. "type": "integer"
  35776. },
  35777. "goodsname": {
  35778. "description": "商品名称",
  35779. "type": "string"
  35780. },
  35781. "goodsqty": {
  35782. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35783. "type": "number"
  35784. },
  35785. "handlestatus": {
  35786. "description": "处理状态",
  35787. "type": "integer"
  35788. },
  35789. "logincode": {
  35790. "description": "账号(登录代码, 有可能为空)",
  35791. "type": "string"
  35792. },
  35793. "marketid": {
  35794. "description": "市场ID",
  35795. "type": "integer"
  35796. },
  35797. "phonenum": {
  35798. "description": "提货人联系方式",
  35799. "type": "string"
  35800. },
  35801. "pickupgoodsagreeunit": {
  35802. "description": "提货商品合约乘数",
  35803. "type": "number"
  35804. },
  35805. "pickupgoodsid": {
  35806. "description": "提货商品ID",
  35807. "type": "string"
  35808. },
  35809. "pickupgoodsname": {
  35810. "description": "提货商品名称",
  35811. "type": "string"
  35812. },
  35813. "pickupgoodsqty": {
  35814. "description": "提货商品手数(数量)",
  35815. "type": "number"
  35816. },
  35817. "pickupgoodsunitid": {
  35818. "description": "单位ID(提货商品)",
  35819. "type": "integer"
  35820. },
  35821. "pickupratio": {
  35822. "description": "提货系数",
  35823. "type": "number"
  35824. },
  35825. "preparedays": {
  35826. "description": "备货期(天)-提货单明细表",
  35827. "type": "integer"
  35828. },
  35829. "provinceid": {
  35830. "description": "省",
  35831. "type": "integer"
  35832. },
  35833. "provincename": {
  35834. "description": "省名称",
  35835. "type": "string"
  35836. },
  35837. "qty": {
  35838. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35839. "type": "number"
  35840. },
  35841. "qtydecimalplace": {
  35842. "description": "商品数量小数位",
  35843. "type": "integer"
  35844. },
  35845. "recivername": {
  35846. "description": "提货人姓名",
  35847. "type": "string"
  35848. },
  35849. "reqtime": {
  35850. "description": "提货申请时间",
  35851. "type": "string"
  35852. },
  35853. "storeuserid": {
  35854. "description": "门店用户ID (千海金)",
  35855. "type": "integer"
  35856. },
  35857. "storeusername": {
  35858. "description": "门店用户名称",
  35859. "type": "string"
  35860. },
  35861. "takemode": {
  35862. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35863. "type": "integer"
  35864. },
  35865. "takeorderid": {
  35866. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35867. "type": "string"
  35868. },
  35869. "takeorderstatus": {
  35870. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35871. "type": "integer"
  35872. },
  35873. "takeremark": {
  35874. "description": "提货备注",
  35875. "type": "string"
  35876. },
  35877. "tradedate": {
  35878. "description": "交易日(yyyyMMdd)",
  35879. "type": "string"
  35880. },
  35881. "updatetime": {
  35882. "description": "更新时间",
  35883. "type": "string"
  35884. },
  35885. "userid": {
  35886. "description": "用户ID",
  35887. "type": "integer"
  35888. },
  35889. "userinfotype": {
  35890. "description": "客户类型 1-个人 2-企业",
  35891. "type": "integer"
  35892. },
  35893. "username": {
  35894. "description": "用户名称",
  35895. "type": "string"
  35896. }
  35897. }
  35898. },
  35899. "models.QhjUserNodeCfgAndStatus": {
  35900. "type": "object",
  35901. "properties": {
  35902. "agreementcontent": {
  35903. "description": "协议内容",
  35904. "type": "string"
  35905. },
  35906. "agreementid": {
  35907. "description": "协议ID",
  35908. "type": "integer"
  35909. },
  35910. "agreementname": {
  35911. "description": "协议名称",
  35912. "type": "string"
  35913. },
  35914. "agreementno": {
  35915. "description": "协议编号",
  35916. "type": "string"
  35917. },
  35918. "agreementtype": {
  35919. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35920. "type": "integer"
  35921. },
  35922. "agreementversion": {
  35923. "description": "协议版本号",
  35924. "type": "integer"
  35925. },
  35926. "configid": {
  35927. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35928. "type": "integer"
  35929. },
  35930. "createtime": {
  35931. "description": "创建时间",
  35932. "type": "string"
  35933. },
  35934. "goodsid": {
  35935. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35936. "type": "integer"
  35937. },
  35938. "nodetype": {
  35939. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35940. "type": "integer"
  35941. },
  35942. "signtimestamp": {
  35943. "description": "签约状态时间戳(最近一次)",
  35944. "type": "string"
  35945. },
  35946. "tradedate": {
  35947. "description": "签约交易日(yyyyMMdd)",
  35948. "type": "string"
  35949. },
  35950. "userid": {
  35951. "description": "客户ID",
  35952. "type": "integer"
  35953. }
  35954. }
  35955. },
  35956. "models.Qhjgoodsex": {
  35957. "type": "object",
  35958. "properties": {
  35959. "canfinance": {
  35960. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35961. "type": "integer"
  35962. },
  35963. "canregularlybuy": {
  35964. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35965. "type": "integer"
  35966. },
  35967. "defaulttradeuserid": {
  35968. "description": "默认交易用户ID",
  35969. "type": "integer"
  35970. },
  35971. "deliverygoodsid": {
  35972. "description": "现货品种ID",
  35973. "type": "integer"
  35974. },
  35975. "goodsid": {
  35976. "description": "商品ID(自增ID SEQ_GOODS)",
  35977. "type": "integer"
  35978. },
  35979. "minamount": {
  35980. "description": "最小购买金额",
  35981. "type": "number"
  35982. },
  35983. "regularlybuyminamount": {
  35984. "description": "定投最小金额",
  35985. "type": "number"
  35986. },
  35987. "regularlybuyminqty": {
  35988. "description": "定投最小数量",
  35989. "type": "number"
  35990. },
  35991. "spotgoodsbrandid": {
  35992. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35993. "type": "integer"
  35994. },
  35995. "visibilityforenterprise": {
  35996. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35997. "type": "integer"
  35998. },
  35999. "visibilityforpersonal": {
  36000. "description": "个人客户是否可见 - 0:不可见 1:可见",
  36001. "type": "integer"
  36002. },
  36003. "wrstandardid": {
  36004. "description": "现货商品ID",
  36005. "type": "integer"
  36006. }
  36007. }
  36008. },
  36009. "models.QueryErrorInfosRsp": {
  36010. "type": "object",
  36011. "required": [
  36012. "errorid"
  36013. ],
  36014. "properties": {
  36015. "description": {
  36016. "description": "异常描述",
  36017. "type": "string"
  36018. },
  36019. "errorcode": {
  36020. "description": "异常代码",
  36021. "type": "string"
  36022. },
  36023. "errorid": {
  36024. "description": "异常ID",
  36025. "type": "integer"
  36026. },
  36027. "modulecode": {
  36028. "description": "所属模块",
  36029. "type": "string"
  36030. },
  36031. "operatecode": {
  36032. "description": "所属操作",
  36033. "type": "string"
  36034. },
  36035. "rownumber": {
  36036. "description": "行号",
  36037. "type": "string"
  36038. }
  36039. }
  36040. },
  36041. "models.QueryHedgeOrderDetailRsp": {
  36042. "type": "object",
  36043. "properties": {
  36044. "accountid": {
  36045. "description": "账户ID",
  36046. "type": "integer"
  36047. },
  36048. "buyorsell": {
  36049. "description": "买卖 - 0:买 1:卖",
  36050. "type": "integer"
  36051. },
  36052. "cancellogincode": {
  36053. "description": "撤单人",
  36054. "type": "string"
  36055. },
  36056. "channelbuildtype": {
  36057. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36058. "type": "integer"
  36059. },
  36060. "channelinnerorderstatus": {
  36061. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36062. "type": "integer"
  36063. },
  36064. "channeloperatetype": {
  36065. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36066. "type": "integer"
  36067. },
  36068. "closetype": {
  36069. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36070. "type": "integer"
  36071. },
  36072. "curexchangerate": {
  36073. "description": "当前汇率",
  36074. "type": "number"
  36075. },
  36076. "decimalplace": {
  36077. "description": "商品报价小数位",
  36078. "type": "integer"
  36079. },
  36080. "exchangefullname": {
  36081. "description": "外部交易所全称",
  36082. "type": "string"
  36083. },
  36084. "goodscode": {
  36085. "description": "商品代码(内部)",
  36086. "type": "string"
  36087. },
  36088. "goodsid": {
  36089. "description": "商品ID",
  36090. "type": "integer"
  36091. },
  36092. "goodsname": {
  36093. "description": "商品名称",
  36094. "type": "string"
  36095. },
  36096. "marketid": {
  36097. "description": "市场ID",
  36098. "type": "integer"
  36099. },
  36100. "openfreezemargin": {
  36101. "description": "冻结保证金(冻结交易金额)",
  36102. "type": "number"
  36103. },
  36104. "orderid": {
  36105. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36106. "type": "string"
  36107. },
  36108. "orderlogincode": {
  36109. "description": "委托人",
  36110. "type": "string"
  36111. },
  36112. "orderprice": {
  36113. "description": "委托价格(账户)",
  36114. "type": "number"
  36115. },
  36116. "orderqty": {
  36117. "description": "委托数量",
  36118. "type": "integer"
  36119. },
  36120. "ordertime": {
  36121. "description": "委托时间",
  36122. "type": "string"
  36123. },
  36124. "pricemode": {
  36125. "description": "取价方式 - 1:市价 2: 限价",
  36126. "type": "integer"
  36127. },
  36128. "tradedate": {
  36129. "description": "交易日(yyyyMMdd)",
  36130. "type": "string"
  36131. },
  36132. "tradeqty": {
  36133. "description": "成交数量",
  36134. "type": "integer"
  36135. }
  36136. }
  36137. },
  36138. "models.QueryHedgeTradeDetailRsp": {
  36139. "type": "object",
  36140. "properties": {
  36141. "accountid": {
  36142. "description": "账号ID",
  36143. "type": "integer"
  36144. },
  36145. "buyorsell": {
  36146. "description": "方向 - 0:买 1:卖",
  36147. "type": "integer"
  36148. },
  36149. "channelbuildtype": {
  36150. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36151. "type": "integer"
  36152. },
  36153. "closecharge": {
  36154. "description": "平仓手续费(账户)",
  36155. "type": "number"
  36156. },
  36157. "closecharge2": {
  36158. "description": "平仓手续费(商品)",
  36159. "type": "number"
  36160. },
  36161. "closepl": {
  36162. "description": "平仓盈亏(账户)",
  36163. "type": "number"
  36164. },
  36165. "closepl2": {
  36166. "description": "平仓盈亏(商品)",
  36167. "type": "number"
  36168. },
  36169. "closepl3": {
  36170. "description": "平仓盈亏(账户)(逐笔)",
  36171. "type": "number"
  36172. },
  36173. "closepl4": {
  36174. "description": "平仓盈亏(商品)(逐笔)",
  36175. "type": "number"
  36176. },
  36177. "closetype": {
  36178. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36179. "type": "integer"
  36180. },
  36181. "curexchangerate": {
  36182. "description": "当前汇率",
  36183. "type": "number"
  36184. },
  36185. "decimalplace": {
  36186. "description": "商品报价小数位",
  36187. "type": "integer"
  36188. },
  36189. "exchangefullname": {
  36190. "description": "外部交易所全称",
  36191. "type": "string"
  36192. },
  36193. "goodscode": {
  36194. "description": "商品代码(内部)",
  36195. "type": "string"
  36196. },
  36197. "goodsid": {
  36198. "description": "商品ID",
  36199. "type": "integer"
  36200. },
  36201. "goodsname": {
  36202. "description": "商品名称",
  36203. "type": "string"
  36204. },
  36205. "marketid": {
  36206. "description": "市场ID",
  36207. "type": "integer"
  36208. },
  36209. "opencharge": {
  36210. "description": "建仓手续费(账户)",
  36211. "type": "number"
  36212. },
  36213. "opencharge2": {
  36214. "description": "建仓手续费(商品)",
  36215. "type": "number"
  36216. },
  36217. "orderid": {
  36218. "description": "委托单号",
  36219. "type": "string"
  36220. },
  36221. "orderlogincode": {
  36222. "description": "委托人",
  36223. "type": "string"
  36224. },
  36225. "tradeamount": {
  36226. "description": "成交金额(账户)",
  36227. "type": "number"
  36228. },
  36229. "tradedate": {
  36230. "description": "交易日(yyyyMMdd)",
  36231. "type": "string"
  36232. },
  36233. "tradeid": {
  36234. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36235. "type": "string"
  36236. },
  36237. "tradeprice": {
  36238. "description": "成交价格",
  36239. "type": "number"
  36240. },
  36241. "tradeqty": {
  36242. "description": "成交数量",
  36243. "type": "integer"
  36244. },
  36245. "tradetime": {
  36246. "description": "成交时间",
  36247. "type": "string"
  36248. },
  36249. "tradetype": {
  36250. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36251. "type": "integer"
  36252. }
  36253. }
  36254. },
  36255. "models.QuotePrimaryMenu": {
  36256. "type": "object",
  36257. "properties": {
  36258. "Index": {
  36259. "description": "序号",
  36260. "type": "integer"
  36261. },
  36262. "Key": {
  36263. "description": "键名",
  36264. "type": "string"
  36265. },
  36266. "Name": {
  36267. "description": "菜单名称",
  36268. "type": "string"
  36269. },
  36270. "SubMenus": {
  36271. "description": "子菜单",
  36272. "type": "array",
  36273. "items": {
  36274. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36275. }
  36276. },
  36277. "SubTitleType": {
  36278. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36279. "type": "integer"
  36280. },
  36281. "TradeModes": {
  36282. "description": "包含市场交易类型",
  36283. "type": "string"
  36284. }
  36285. }
  36286. },
  36287. "models.QuoteSecondaryMenu": {
  36288. "type": "object",
  36289. "properties": {
  36290. "ExExchangeCode": {
  36291. "description": "外部交易所代码",
  36292. "type": "string"
  36293. },
  36294. "ExExchangeID": {
  36295. "description": "外部交易所ID",
  36296. "type": "integer"
  36297. },
  36298. "GoodsGroupIDs": {
  36299. "description": "商品组ID列表",
  36300. "type": "array",
  36301. "items": {
  36302. "type": "integer"
  36303. }
  36304. },
  36305. "Index": {
  36306. "description": "序号",
  36307. "type": "integer"
  36308. },
  36309. "MarketID": {
  36310. "description": "市场ID",
  36311. "type": "integer"
  36312. },
  36313. "MenuTitle": {
  36314. "description": "菜单标题(市场名称或外部交易所名称)",
  36315. "type": "string"
  36316. },
  36317. "TradeMode": {
  36318. "description": "交易模式",
  36319. "type": "integer"
  36320. }
  36321. }
  36322. },
  36323. "models.RelatedTaAccount": {
  36324. "type": "object",
  36325. "properties": {
  36326. "accountid": {
  36327. "description": "资金账户ID",
  36328. "type": "integer"
  36329. }
  36330. }
  36331. },
  36332. "models.RoleMenu": {
  36333. "type": "object",
  36334. "properties": {
  36335. "hasright": {
  36336. "description": "是否有权限 0-没有权限 1-有权限",
  36337. "type": "integer"
  36338. },
  36339. "iconame": {
  36340. "description": "菜单图标",
  36341. "type": "string"
  36342. },
  36343. "menutype": {
  36344. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36345. "type": "integer"
  36346. },
  36347. "parentcode": {
  36348. "description": "上级资源代码",
  36349. "type": "string"
  36350. },
  36351. "remark": {
  36352. "description": "菜单备注",
  36353. "type": "string"
  36354. },
  36355. "resourcecode": {
  36356. "description": "菜单代码",
  36357. "type": "string"
  36358. },
  36359. "resourcelevel": {
  36360. "description": "级别",
  36361. "type": "integer"
  36362. },
  36363. "resourcename": {
  36364. "description": "菜单名称",
  36365. "type": "string"
  36366. },
  36367. "roleid": {
  36368. "description": "角色id",
  36369. "type": "integer"
  36370. },
  36371. "sort": {
  36372. "description": "排序",
  36373. "type": "integer"
  36374. },
  36375. "subMenu": {
  36376. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36377. "type": "array",
  36378. "items": {
  36379. "$ref": "#/definitions/models.RoleMenu"
  36380. }
  36381. },
  36382. "url": {
  36383. "description": "URL",
  36384. "type": "string"
  36385. },
  36386. "userid": {
  36387. "description": "用户id",
  36388. "type": "integer"
  36389. }
  36390. }
  36391. },
  36392. "models.SearchGoods": {
  36393. "type": "object",
  36394. "required": [
  36395. "goodscode",
  36396. "goodsid",
  36397. "goodsname",
  36398. "marketid",
  36399. "trademode"
  36400. ],
  36401. "properties": {
  36402. "goodscode": {
  36403. "description": "商品代码(内部)",
  36404. "type": "string"
  36405. },
  36406. "goodsid": {
  36407. "description": "商品ID(自增ID SEQ_GOODS)",
  36408. "type": "integer"
  36409. },
  36410. "goodsname": {
  36411. "description": "商品名称",
  36412. "type": "string"
  36413. },
  36414. "marketid": {
  36415. "description": "所属市场ID",
  36416. "type": "integer"
  36417. },
  36418. "marketname": {
  36419. "description": "市场名称",
  36420. "type": "string"
  36421. },
  36422. "trademode": {
  36423. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36424. "type": "integer"
  36425. }
  36426. }
  36427. },
  36428. "models.SellOrder": {
  36429. "type": "object",
  36430. "properties": {
  36431. "accountid": {
  36432. "description": "资金账号",
  36433. "type": "integer"
  36434. },
  36435. "applyid": {
  36436. "description": "申请单ID",
  36437. "type": "integer"
  36438. },
  36439. "attachment1": {
  36440. "description": "附件1",
  36441. "type": "string"
  36442. },
  36443. "attachment2": {
  36444. "description": "附件2",
  36445. "type": "string"
  36446. },
  36447. "buyorsell": {
  36448. "description": "买卖 - 0:买 1:卖",
  36449. "type": "integer"
  36450. },
  36451. "canbargain": {
  36452. "description": "是否可议价 - 0:不可 1:可",
  36453. "type": "integer"
  36454. },
  36455. "cancelqty": {
  36456. "description": "撤销数量",
  36457. "type": "integer"
  36458. },
  36459. "canceltime": {
  36460. "description": "撤销时间",
  36461. "type": "string"
  36462. },
  36463. "cerno": {
  36464. "type": "string"
  36465. },
  36466. "chargealgorithm": {
  36467. "description": "手续费收取方式 1:比率 2:固定",
  36468. "type": "integer"
  36469. },
  36470. "chargealgorithmvalue": {
  36471. "description": "手续费设置值(交易所部分)",
  36472. "type": "number"
  36473. },
  36474. "chargealgorithmvalue2": {
  36475. "description": "手续费设置值(会员部分)",
  36476. "type": "number"
  36477. },
  36478. "clientordertime": {
  36479. "description": "客户端委托时间",
  36480. "type": "string"
  36481. },
  36482. "cpcertno": {
  36483. "type": "string"
  36484. },
  36485. "exchangerate": {
  36486. "description": "汇率[67]",
  36487. "type": "number"
  36488. },
  36489. "firstratio": {
  36490. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  36491. "type": "number"
  36492. },
  36493. "fixedprice": {
  36494. "description": "[克拉单价]固定价格 - [挂牌]",
  36495. "type": "number"
  36496. },
  36497. "freezecharge": {
  36498. "description": "冻结手续费",
  36499. "type": "number"
  36500. },
  36501. "freezefirstamount": {
  36502. "description": "冻结首付金额 - [摘牌]",
  36503. "type": "number"
  36504. },
  36505. "freezemargin": {
  36506. "description": "冻结保证金",
  36507. "type": "number"
  36508. },
  36509. "goodsno": {
  36510. "description": "商品编号",
  36511. "type": "string"
  36512. },
  36513. "imagepath": {
  36514. "type": "string"
  36515. },
  36516. "isQueryDiamond": {
  36517. "description": "是否钻石查询",
  36518. "type": "boolean"
  36519. },
  36520. "isspecified": {
  36521. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36522. "type": "integer"
  36523. },
  36524. "kppath": {
  36525. "type": "string"
  36526. },
  36527. "kpweight": {
  36528. "type": "string"
  36529. },
  36530. "marginalgorithm": {
  36531. "description": "保证金方式 - 1:比率 2:固定",
  36532. "type": "integer"
  36533. },
  36534. "marginvalue": {
  36535. "description": "保证金设置值",
  36536. "type": "number"
  36537. },
  36538. "marketid": {
  36539. "description": "市场ID",
  36540. "type": "integer"
  36541. },
  36542. "marketprice": {
  36543. "type": "string"
  36544. },
  36545. "orderamount": {
  36546. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  36547. "type": "number"
  36548. },
  36549. "ordertime": {
  36550. "description": "委托时间",
  36551. "type": "string"
  36552. },
  36553. "performancetemplateid": {
  36554. "description": "履约计划模板ID",
  36555. "type": "integer"
  36556. },
  36557. "price": {
  36558. "description": "价格",
  36559. "type": "number"
  36560. },
  36561. "pricefactor": {
  36562. "description": "价格系数(浮动价时填写) - [挂牌]",
  36563. "type": "number"
  36564. },
  36565. "pricemove": {
  36566. "description": "升贴水(浮动价时填写) - [挂牌]",
  36567. "type": "number"
  36568. },
  36569. "priceper": {
  36570. "type": "string"
  36571. },
  36572. "relatedwrtradeorderid": {
  36573. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  36574. "type": "integer"
  36575. },
  36576. "remainqty": {
  36577. "description": "剩余重量",
  36578. "type": "number"
  36579. },
  36580. "remark": {
  36581. "type": "string"
  36582. },
  36583. "retcode": {
  36584. "description": "错误代码",
  36585. "type": "integer"
  36586. },
  36587. "sellusername": {
  36588. "description": "卖方(查询字段-模糊查询)",
  36589. "type": "string"
  36590. },
  36591. "settingmaterial": {
  36592. "type": "string"
  36593. },
  36594. "size1": {
  36595. "type": "string"
  36596. },
  36597. "size2": {
  36598. "type": "string"
  36599. },
  36600. "size3": {
  36601. "type": "string"
  36602. },
  36603. "sizedisplay": {
  36604. "description": "尺寸",
  36605. "type": "string"
  36606. },
  36607. "stonedesc": {
  36608. "type": "string"
  36609. },
  36610. "totalqty": {
  36611. "description": "总重量",
  36612. "type": "number"
  36613. },
  36614. "tradedate": {
  36615. "description": "交易日(yyyyMMdd)",
  36616. "type": "string"
  36617. },
  36618. "tradeprice": {
  36619. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36620. "type": "number"
  36621. },
  36622. "unfreezecharge": {
  36623. "description": "解冻手续费",
  36624. "type": "number"
  36625. },
  36626. "unfreezefirstamount": {
  36627. "description": "解冻首付金额 - [摘牌]",
  36628. "type": "number"
  36629. },
  36630. "unfreezemargin": {
  36631. "description": "解冻保证金",
  36632. "type": "number"
  36633. },
  36634. "userid": {
  36635. "description": "用户ID",
  36636. "type": "integer"
  36637. },
  36638. "uuid": {
  36639. "description": "发起端唯一id",
  36640. "type": "string"
  36641. },
  36642. "validtime": {
  36643. "description": "有效期限",
  36644. "type": "string"
  36645. },
  36646. "validtype": {
  36647. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36648. "type": "integer"
  36649. },
  36650. "warehousenamedisplay": {
  36651. "type": "string"
  36652. },
  36653. "wrbargainid": {
  36654. "description": "议价申请单ID",
  36655. "type": "integer"
  36656. },
  36657. "wrfactortypeid": {
  36658. "description": "仓单要素类型ID/商品ID(77)",
  36659. "type": "integer"
  36660. },
  36661. "wrpath": {
  36662. "type": "string"
  36663. },
  36664. "wrpricetype": {
  36665. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36666. "type": "integer"
  36667. },
  36668. "wrstandardid": {
  36669. "description": "现货商品ID",
  36670. "type": "integer"
  36671. },
  36672. "wrtradeorderid": {
  36673. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36674. "type": "string"
  36675. },
  36676. "wrtradeorderstatus": {
  36677. "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:撤单解冻贷款失败",
  36678. "type": "integer"
  36679. },
  36680. "wrtradetype": {
  36681. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36682. "type": "integer"
  36683. },
  36684. "wrtransferuserid": {
  36685. "description": "仓单受让用户 - [摘牌]",
  36686. "type": "integer"
  36687. },
  36688. "zscategory": {
  36689. "description": "钻石分类 - 枚举”ZSCategory“",
  36690. "type": "integer"
  36691. },
  36692. "zscategorydisplay": {
  36693. "description": "钻石分类 - 描述",
  36694. "type": "string"
  36695. },
  36696. "zscerttypedisplay": {
  36697. "type": "string"
  36698. },
  36699. "zsclaritytype1display": {
  36700. "type": "string"
  36701. },
  36702. "zsclaritytype2display": {
  36703. "type": "string"
  36704. },
  36705. "zscolortype1display": {
  36706. "type": "string"
  36707. },
  36708. "zscolortype2display": {
  36709. "type": "string"
  36710. },
  36711. "zscrystaltype": {
  36712. "type": "string"
  36713. },
  36714. "zscrystaltypedisplay": {
  36715. "type": "string"
  36716. },
  36717. "zscurrencytype": {
  36718. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36719. "type": "integer"
  36720. },
  36721. "zscurrencytypedisplay": {
  36722. "type": "string"
  36723. },
  36724. "zscurrencytypedisplayunit": {
  36725. "type": "string"
  36726. },
  36727. "zscuttype1display": {
  36728. "type": "string"
  36729. },
  36730. "zscuttype2display": {
  36731. "type": "string"
  36732. },
  36733. "zsczcolor1typedisplay": {
  36734. "type": "string"
  36735. },
  36736. "zsczcolor2typedisplay": {
  36737. "type": "string"
  36738. },
  36739. "zsczcolor3typedisplay": {
  36740. "type": "string"
  36741. },
  36742. "zsfluorescencetype1display": {
  36743. "type": "string"
  36744. },
  36745. "zsfluorescencetype2display": {
  36746. "type": "string"
  36747. },
  36748. "zspolishtype1display": {
  36749. "type": "string"
  36750. },
  36751. "zspolishtype2display": {
  36752. "type": "string"
  36753. },
  36754. "zsshapetypedisplay": {
  36755. "type": "string"
  36756. },
  36757. "zsstyletypedisplay": {
  36758. "type": "string"
  36759. },
  36760. "zssymmetrytype1display": {
  36761. "type": "string"
  36762. },
  36763. "zssymmetrytype2display": {
  36764. "type": "string"
  36765. }
  36766. }
  36767. },
  36768. "models.SellOrderQueryReq": {
  36769. "type": "object",
  36770. "required": [
  36771. "zscategory"
  36772. ],
  36773. "properties": {
  36774. "origin": {
  36775. "description": "原产地",
  36776. "type": "string"
  36777. },
  36778. "page": {
  36779. "description": "页码",
  36780. "type": "integer"
  36781. },
  36782. "pagesize": {
  36783. "description": "每页大小",
  36784. "type": "integer"
  36785. },
  36786. "total": {
  36787. "description": "总条数",
  36788. "type": "integer"
  36789. },
  36790. "warehouseid": {
  36791. "description": "仓库ID",
  36792. "type": "integer"
  36793. },
  36794. "weight1": {
  36795. "description": "总重量(克拉重量)-从",
  36796. "type": "number"
  36797. },
  36798. "weight2": {
  36799. "description": "总重量(克拉重量)-至",
  36800. "type": "number"
  36801. },
  36802. "weightavg1": {
  36803. "description": "平均单颗重量-从",
  36804. "type": "number"
  36805. },
  36806. "weightavg2": {
  36807. "description": "平均单颗重量-至",
  36808. "type": "number"
  36809. },
  36810. "zscategory": {
  36811. "description": "钻石分类 - 枚举”ZSCategory“",
  36812. "type": "integer"
  36813. },
  36814. "zscerttype": {
  36815. "description": "证书类型",
  36816. "type": "array",
  36817. "items": {
  36818. "type": "string"
  36819. }
  36820. },
  36821. "zsclaritytype": {
  36822. "description": "净度",
  36823. "type": "array",
  36824. "items": {
  36825. "type": "integer"
  36826. }
  36827. },
  36828. "zscolortype": {
  36829. "description": "颜色",
  36830. "type": "array",
  36831. "items": {
  36832. "type": "integer"
  36833. }
  36834. },
  36835. "zscurrencytype": {
  36836. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36837. "type": "array",
  36838. "items": {
  36839. "type": "string"
  36840. }
  36841. },
  36842. "zscuttype": {
  36843. "description": "切工",
  36844. "type": "array",
  36845. "items": {
  36846. "type": "integer"
  36847. }
  36848. },
  36849. "zsczcolor1type": {
  36850. "description": "彩钻颜色1",
  36851. "type": "array",
  36852. "items": {
  36853. "type": "string"
  36854. }
  36855. },
  36856. "zsfluorescencetype": {
  36857. "description": "荧光",
  36858. "type": "array",
  36859. "items": {
  36860. "type": "integer"
  36861. }
  36862. },
  36863. "zspolishtype": {
  36864. "description": "抛光度",
  36865. "type": "array",
  36866. "items": {
  36867. "type": "integer"
  36868. }
  36869. },
  36870. "zsshapetype": {
  36871. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  36872. "type": "array",
  36873. "items": {
  36874. "type": "string"
  36875. }
  36876. },
  36877. "zsstyletype": {
  36878. "description": "款式",
  36879. "type": "array",
  36880. "items": {
  36881. "type": "string"
  36882. }
  36883. },
  36884. "zssymmetrytype": {
  36885. "description": "对称度",
  36886. "type": "array",
  36887. "items": {
  36888. "type": "integer"
  36889. }
  36890. }
  36891. }
  36892. },
  36893. "models.Systemparam": {
  36894. "type": "object",
  36895. "required": [
  36896. "paramcode"
  36897. ],
  36898. "properties": {
  36899. "loginid": {
  36900. "description": "更新用户账号,登录账号",
  36901. "type": "string"
  36902. },
  36903. "modifyflag": {
  36904. "description": "修改标志0 不允许修改 1 允许修改",
  36905. "type": "integer"
  36906. },
  36907. "paramcode": {
  36908. "description": "参数代码",
  36909. "type": "string"
  36910. },
  36911. "paramname": {
  36912. "description": "参数名",
  36913. "type": "string"
  36914. },
  36915. "paramtype": {
  36916. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  36917. "type": "integer"
  36918. },
  36919. "paramvalue": {
  36920. "description": "参数值",
  36921. "type": "string"
  36922. },
  36923. "paramvalue2": {
  36924. "description": "参数值(CLOB)",
  36925. "type": "string"
  36926. },
  36927. "regexpress": {
  36928. "description": "正则表达式",
  36929. "type": "string"
  36930. },
  36931. "remark": {
  36932. "description": "备注",
  36933. "type": "string"
  36934. },
  36935. "serverip": {
  36936. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  36937. "type": "string"
  36938. },
  36939. "showflag": {
  36940. "description": "是否显示0 不显示 1 显示",
  36941. "type": "integer"
  36942. },
  36943. "updatetime": {
  36944. "description": "更新时间",
  36945. "type": "string"
  36946. },
  36947. "userid": {
  36948. "description": "更新用户ID",
  36949. "type": "integer"
  36950. }
  36951. }
  36952. },
  36953. "models.Szdz3convertconfig": {
  36954. "type": "object",
  36955. "required": [
  36956. "converttype",
  36957. "innergoodsid",
  36958. "outergoodscode"
  36959. ],
  36960. "properties": {
  36961. "canin": {
  36962. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36963. "type": "integer"
  36964. },
  36965. "canout": {
  36966. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36967. "type": "integer"
  36968. },
  36969. "converttype": {
  36970. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36971. "type": "integer"
  36972. },
  36973. "createtime": {
  36974. "description": "创建时间",
  36975. "type": "string"
  36976. },
  36977. "creatorid": {
  36978. "description": "创建人",
  36979. "type": "integer"
  36980. },
  36981. "daymaxvalue": {
  36982. "description": "当日最大转入限制",
  36983. "type": "number"
  36984. },
  36985. "freezedays": {
  36986. "description": "冻结天数 [5:花生米转交易]",
  36987. "type": "integer"
  36988. },
  36989. "innergoodsid": {
  36990. "description": "内部商品ID[交易]",
  36991. "type": "integer"
  36992. },
  36993. "inratio": {
  36994. "description": "目标值",
  36995. "type": "integer"
  36996. },
  36997. "modifierid": {
  36998. "description": "修改人",
  36999. "type": "integer"
  37000. },
  37001. "modifytime": {
  37002. "description": "修改时间",
  37003. "type": "string"
  37004. },
  37005. "outergoodscode": {
  37006. "description": "外部商品代码[JD\\PD]",
  37007. "type": "string"
  37008. },
  37009. "outratio": {
  37010. "description": "源值",
  37011. "type": "integer"
  37012. },
  37013. "pddecimalplace": {
  37014. "description": "PD小数位",
  37015. "type": "integer"
  37016. },
  37017. "timemaxvalue": {
  37018. "description": "单次最大转入限制",
  37019. "type": "number"
  37020. },
  37021. "timeminvalue": {
  37022. "description": "单次最小转入限制",
  37023. "type": "number"
  37024. }
  37025. }
  37026. },
  37027. "models.Szdz3searchwhitelist": {
  37028. "type": "object",
  37029. "required": [
  37030. "userid"
  37031. ],
  37032. "properties": {
  37033. "createtime": {
  37034. "description": "创建时间",
  37035. "type": "string"
  37036. },
  37037. "creatorid": {
  37038. "description": "创建人",
  37039. "type": "integer"
  37040. },
  37041. "modifierid": {
  37042. "description": "修改人",
  37043. "type": "integer"
  37044. },
  37045. "modifytime": {
  37046. "description": "修改时间",
  37047. "type": "string"
  37048. },
  37049. "userid": {
  37050. "description": "用户ID",
  37051. "type": "integer"
  37052. }
  37053. }
  37054. },
  37055. "models.TBGoods": {
  37056. "type": "object",
  37057. "properties": {
  37058. "agreeunit": {
  37059. "description": "合约乘数",
  37060. "type": "number"
  37061. },
  37062. "enumdicname": {
  37063. "description": "单位名称",
  37064. "type": "string"
  37065. },
  37066. "goodscode": {
  37067. "description": "商品代码(内部)",
  37068. "type": "string"
  37069. },
  37070. "goodsid": {
  37071. "description": "商品ID(自增ID SEQ_GOODS)",
  37072. "type": "integer"
  37073. },
  37074. "goodsname": {
  37075. "description": "商品名称",
  37076. "type": "string"
  37077. }
  37078. }
  37079. },
  37080. "models.TBGoodsGroup": {
  37081. "type": "object",
  37082. "properties": {
  37083. "GDLST": {
  37084. "description": "商品列表",
  37085. "type": "array",
  37086. "items": {
  37087. "$ref": "#/definitions/models.TBGoods"
  37088. }
  37089. },
  37090. "convertratio": {
  37091. "description": "折算系数",
  37092. "type": "number"
  37093. },
  37094. "enumdicname": {
  37095. "description": "单位名称",
  37096. "type": "string"
  37097. },
  37098. "exexchangecode": {
  37099. "description": "交易所代码",
  37100. "type": "string"
  37101. },
  37102. "exexchangename": {
  37103. "description": "交易所名称",
  37104. "type": "string"
  37105. },
  37106. "goodsgroupid": {
  37107. "description": "商品组ID(自增ID)",
  37108. "type": "integer"
  37109. },
  37110. "goodsgroupname": {
  37111. "description": "商品组名称",
  37112. "type": "string"
  37113. },
  37114. "goodunitid": {
  37115. "description": "报价单位ID",
  37116. "type": "integer"
  37117. }
  37118. }
  37119. },
  37120. "models.TBMiddleGoods": {
  37121. "type": "object",
  37122. "properties": {
  37123. "GPLST": {
  37124. "description": "期货品种列表",
  37125. "type": "array",
  37126. "items": {
  37127. "$ref": "#/definitions/models.TBGoodsGroup"
  37128. }
  37129. },
  37130. "WDLST": {
  37131. "description": "商品信息列表(现货品类)",
  37132. "type": "array",
  37133. "items": {
  37134. "$ref": "#/definitions/models.TBWrstandard"
  37135. }
  37136. },
  37137. "areauserid": {
  37138. "description": "机构用户ID",
  37139. "type": "integer"
  37140. },
  37141. "enumdicname": {
  37142. "description": "单位名称",
  37143. "type": "string"
  37144. },
  37145. "goodsunitid": {
  37146. "description": "套保品种单位id",
  37147. "type": "integer"
  37148. },
  37149. "middlegoodscode": {
  37150. "description": "套保品种代码",
  37151. "type": "string"
  37152. },
  37153. "middlegoodsid": {
  37154. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37155. "type": "integer"
  37156. },
  37157. "middlegoodsname": {
  37158. "description": "套保品种名称",
  37159. "type": "string"
  37160. },
  37161. "needarbitrageratio": {
  37162. "description": "套利比率",
  37163. "type": "number"
  37164. },
  37165. "needhedgeratio": {
  37166. "description": "套保比率",
  37167. "type": "number"
  37168. }
  37169. }
  37170. },
  37171. "models.TBWrstandard": {
  37172. "type": "object",
  37173. "properties": {
  37174. "convertratio": {
  37175. "description": "折算系数",
  37176. "type": "number"
  37177. },
  37178. "deliverygoodsname": {
  37179. "description": "品种名称",
  37180. "type": "string"
  37181. },
  37182. "enumdicname": {
  37183. "description": "单位名称",
  37184. "type": "string"
  37185. },
  37186. "vatrate": {
  37187. "description": "增值税率",
  37188. "type": "number"
  37189. },
  37190. "wrstandardcode": {
  37191. "description": "现货商品代码",
  37192. "type": "string"
  37193. },
  37194. "wrstandardid": {
  37195. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37196. "type": "integer"
  37197. },
  37198. "wrstandardname": {
  37199. "description": "现货商品名称",
  37200. "type": "string"
  37201. }
  37202. }
  37203. },
  37204. "models.Taaccount": {
  37205. "type": "object",
  37206. "required": [
  37207. "accountid",
  37208. "userid"
  37209. ],
  37210. "properties": {
  37211. "accountflag": {
  37212. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37213. "type": "integer"
  37214. },
  37215. "accountid": {
  37216. "description": "资金账户ID",
  37217. "type": "integer"
  37218. },
  37219. "accountname": {
  37220. "description": "账户名称",
  37221. "type": "string"
  37222. },
  37223. "balance": {
  37224. "description": "期初余额",
  37225. "type": "number"
  37226. },
  37227. "capitalbalance": {
  37228. "description": "本金余额[外部子账户实际出入金余额]",
  37229. "type": "number"
  37230. },
  37231. "changeflag": {
  37232. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37233. "type": "integer"
  37234. },
  37235. "changetime": {
  37236. "description": "账户状态变更时间",
  37237. "type": "string"
  37238. },
  37239. "closepl": {
  37240. "description": "今日平仓盈亏",
  37241. "type": "number"
  37242. },
  37243. "creditdecrease": {
  37244. "description": "今日授信减少",
  37245. "type": "number"
  37246. },
  37247. "creditincrease": {
  37248. "description": "今日授信增加",
  37249. "type": "number"
  37250. },
  37251. "curamount": {
  37252. "description": "总市值(从持仓中统计)",
  37253. "type": "number"
  37254. },
  37255. "currencyid": {
  37256. "description": "货币ID",
  37257. "type": "integer"
  37258. },
  37259. "currentbalance": {
  37260. "description": "期末余额",
  37261. "type": "number"
  37262. },
  37263. "freezecharge": {
  37264. "description": "手续费冻结",
  37265. "type": "number"
  37266. },
  37267. "freezemargin": {
  37268. "description": "冻结保证金",
  37269. "type": "number"
  37270. },
  37271. "fromaccountid": {
  37272. "description": "所属上级账户",
  37273. "type": "integer"
  37274. },
  37275. "inamount": {
  37276. "description": "今日入金金额(包括三方入金)",
  37277. "type": "number"
  37278. },
  37279. "ismain": {
  37280. "description": "是否母账号 0:不是母账户 1:是母账户",
  37281. "type": "integer"
  37282. },
  37283. "ismarketaccount": {
  37284. "description": "是否机构接单账号 0:不是 1:是",
  37285. "type": "integer"
  37286. },
  37287. "isreckonaccount": {
  37288. "description": "是否机构分润账号 0:不是 1:是",
  37289. "type": "integer"
  37290. },
  37291. "mortgagecredit": {
  37292. "description": "授信金额",
  37293. "type": "number"
  37294. },
  37295. "orifreezecharge": {
  37296. "description": "期初手续费冻结",
  37297. "type": "number"
  37298. },
  37299. "orifreezemargin": {
  37300. "description": "期初冻结保证金",
  37301. "type": "number"
  37302. },
  37303. "orimortgagecredit": {
  37304. "description": "期初授信金额",
  37305. "type": "number"
  37306. },
  37307. "oriothercredit": {
  37308. "description": "期初其它授信金额",
  37309. "type": "number"
  37310. },
  37311. "oriotherfreezemargin": {
  37312. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37313. "type": "number"
  37314. },
  37315. "orioutamountfreeze": {
  37316. "description": "期初出金冻结",
  37317. "type": "number"
  37318. },
  37319. "oriusedmargin": {
  37320. "description": "期初占用保证金",
  37321. "type": "number"
  37322. },
  37323. "othercredit": {
  37324. "description": "其它授信金额",
  37325. "type": "number"
  37326. },
  37327. "othercreditdecrease": {
  37328. "description": "今日其它授信减少",
  37329. "type": "number"
  37330. },
  37331. "othercreditincrease": {
  37332. "description": "今日其它授信增加",
  37333. "type": "number"
  37334. },
  37335. "otherfreezemargin": {
  37336. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37337. "type": "number"
  37338. },
  37339. "otherincome": {
  37340. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37341. "type": "number"
  37342. },
  37343. "otherpay": {
  37344. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37345. "type": "number"
  37346. },
  37347. "outamount": {
  37348. "description": "今日出金金额(包括三方出金)",
  37349. "type": "number"
  37350. },
  37351. "outamountfreeze": {
  37352. "description": "出金冻结",
  37353. "type": "number"
  37354. },
  37355. "outthreshold": {
  37356. "description": "出金阈值",
  37357. "type": "number"
  37358. },
  37359. "parentaccountid": {
  37360. "description": "所属根账号",
  37361. "type": "integer"
  37362. },
  37363. "paycharge": {
  37364. "description": "今日手续费支出",
  37365. "type": "number"
  37366. },
  37367. "relatedaccountstatus": {
  37368. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37369. "type": "integer"
  37370. },
  37371. "relateduserid": {
  37372. "description": "关联用户",
  37373. "type": "integer"
  37374. },
  37375. "remainamount": {
  37376. "description": "融资额(从融资合同中统计)",
  37377. "type": "number"
  37378. },
  37379. "serivcegroup": {
  37380. "description": "服务分组",
  37381. "type": "integer"
  37382. },
  37383. "signstatus": {
  37384. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37385. "type": "integer"
  37386. },
  37387. "sublevelpath": {
  37388. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37389. "type": "string"
  37390. },
  37391. "taaccounttype": {
  37392. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37393. "type": "integer"
  37394. },
  37395. "thirdinamount": {
  37396. "description": "今日三方入金",
  37397. "type": "number"
  37398. },
  37399. "thirdoutamount": {
  37400. "description": "今日三方出金",
  37401. "type": "number"
  37402. },
  37403. "tradestatus": {
  37404. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37405. "type": "integer"
  37406. },
  37407. "tradestatuschangetime": {
  37408. "description": "激活时间",
  37409. "type": "string"
  37410. },
  37411. "transferamount": {
  37412. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37413. "type": "number"
  37414. },
  37415. "usedmargin": {
  37416. "description": "占用保证金",
  37417. "type": "number"
  37418. },
  37419. "userid": {
  37420. "description": "用户ID",
  37421. "type": "integer"
  37422. }
  37423. }
  37424. },
  37425. "models.Tablecolumnconfig": {
  37426. "type": "object",
  37427. "required": [
  37428. "autoid"
  37429. ],
  37430. "properties": {
  37431. "aligntype": {
  37432. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37433. "type": "integer"
  37434. },
  37435. "autoid": {
  37436. "description": "AutoID",
  37437. "type": "integer"
  37438. },
  37439. "columnfield": {
  37440. "description": "列字段",
  37441. "type": "string"
  37442. },
  37443. "columntitle": {
  37444. "description": "列Title",
  37445. "type": "string"
  37446. },
  37447. "columnwidth": {
  37448. "description": "列宽",
  37449. "type": "string"
  37450. },
  37451. "fixed": {
  37452. "description": "固定类型 - 空 | left | right",
  37453. "type": "string"
  37454. },
  37455. "formatterstring": {
  37456. "description": "格式化字符",
  37457. "type": "string"
  37458. },
  37459. "formattertype": {
  37460. "description": "格式化类型",
  37461. "type": "string"
  37462. },
  37463. "groupname": {
  37464. "description": "表头分组名称",
  37465. "type": "string"
  37466. },
  37467. "ismerge": {
  37468. "description": "是否合并显示 - 0:不合并 1:合并",
  37469. "type": "integer"
  37470. },
  37471. "isshow": {
  37472. "description": "是否显示 - 0:不显示 1:显示",
  37473. "type": "integer"
  37474. },
  37475. "needsummary": {
  37476. "description": "是否需要汇总 - 0:不需要 1:需要",
  37477. "type": "integer"
  37478. },
  37479. "orderindex": {
  37480. "description": "顺序",
  37481. "type": "integer"
  37482. },
  37483. "remark": {
  37484. "description": "备注",
  37485. "type": "string"
  37486. },
  37487. "summarytype": {
  37488. "description": "汇总类型 - 1:加总 2:最后一个",
  37489. "type": "integer"
  37490. },
  37491. "tablekey": {
  37492. "description": "列表Key",
  37493. "type": "string"
  37494. }
  37495. }
  37496. },
  37497. "models.TjmdHolderDetailTradeInfo": {
  37498. "type": "object",
  37499. "properties": {
  37500. "agreeunit": {
  37501. "description": "合约乘数",
  37502. "type": "number"
  37503. },
  37504. "buyaccountid": {
  37505. "description": "买方账户",
  37506. "type": "string"
  37507. },
  37508. "buyusername": {
  37509. "description": "买方",
  37510. "type": "string"
  37511. },
  37512. "delistingdate": {
  37513. "description": "最后结算日",
  37514. "type": "string"
  37515. },
  37516. "expiredate": {
  37517. "description": "到期结算价定价日",
  37518. "type": "string"
  37519. },
  37520. "exprieprice": {
  37521. "description": "到期清算价格",
  37522. "type": "string"
  37523. },
  37524. "goodscode": {
  37525. "description": "商品代码",
  37526. "type": "string"
  37527. },
  37528. "goodsid": {
  37529. "description": "商品ID",
  37530. "type": "integer"
  37531. },
  37532. "goodsname": {
  37533. "description": "商品名称(交易标的)",
  37534. "type": "string"
  37535. },
  37536. "lasttradedate": {
  37537. "description": "最后交易日",
  37538. "type": "string"
  37539. },
  37540. "listingdate": {
  37541. "description": "开始交易日",
  37542. "type": "string"
  37543. },
  37544. "openprice": {
  37545. "description": "成交价",
  37546. "type": "number"
  37547. },
  37548. "openqty": {
  37549. "description": "交易数量",
  37550. "type": "integer"
  37551. },
  37552. "sellaccountid": {
  37553. "description": "卖方账户",
  37554. "type": "string"
  37555. },
  37556. "sellusername": {
  37557. "description": "卖方",
  37558. "type": "string"
  37559. },
  37560. "tradeamount": {
  37561. "description": "初始名义价值",
  37562. "type": "number"
  37563. },
  37564. "tradedate": {
  37565. "description": "成交日期",
  37566. "type": "string"
  37567. },
  37568. "tradeid": {
  37569. "description": "成交编号",
  37570. "type": "string"
  37571. }
  37572. }
  37573. },
  37574. "models.TjmdMarketSection": {
  37575. "type": "object",
  37576. "properties": {
  37577. "marketsectionid": {
  37578. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37579. "type": "integer"
  37580. },
  37581. "marketsectionname": {
  37582. "description": "市场版块名称",
  37583. "type": "string"
  37584. },
  37585. "mlist": {
  37586. "description": "市场列表(板块下面有多少个市场)",
  37587. "type": "array",
  37588. "items": {
  37589. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  37590. }
  37591. },
  37592. "orderindex": {
  37593. "description": "排序",
  37594. "type": "integer"
  37595. },
  37596. "pictureurl": {
  37597. "description": "图片url, 规格(90*90)",
  37598. "type": "string"
  37599. },
  37600. "remark": {
  37601. "description": "备注",
  37602. "type": "string"
  37603. }
  37604. }
  37605. },
  37606. "models.TjmdMarketSectionConfig": {
  37607. "type": "object",
  37608. "properties": {
  37609. "auctionwrtype": {
  37610. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  37611. "type": "integer"
  37612. },
  37613. "canacceptquote": {
  37614. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  37615. "type": "integer"
  37616. },
  37617. "cangoodsexercise": {
  37618. "description": "[期权]是否可现货行权- 0:否 1:是",
  37619. "type": "integer"
  37620. },
  37621. "cangoodsexercisetype": {
  37622. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  37623. "type": "integer"
  37624. },
  37625. "canmanualquotestrike": {
  37626. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  37627. "type": "integer"
  37628. },
  37629. "canmutistage": {
  37630. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  37631. "type": "integer"
  37632. },
  37633. "canpreexercise": {
  37634. "description": "[期权]是否可预申报- 0:否 1:是",
  37635. "type": "integer"
  37636. },
  37637. "clearinterval": {
  37638. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  37639. "type": "integer"
  37640. },
  37641. "contracttmp": {
  37642. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  37643. "type": "string"
  37644. },
  37645. "exchareaid": {
  37646. "description": "所属交易所,可以没有",
  37647. "type": "integer"
  37648. },
  37649. "financemarketid": {
  37650. "description": "融资回购市场ID [仓单贸易]",
  37651. "type": "integer"
  37652. },
  37653. "goodstype": {
  37654. "description": "商品类型 - 1:交易商品 2:仓单商品",
  37655. "type": "integer"
  37656. },
  37657. "hasrebate": {
  37658. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  37659. "type": "integer"
  37660. },
  37661. "hastradecredit": {
  37662. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  37663. "type": "integer"
  37664. },
  37665. "haswr": {
  37666. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37667. "type": "integer"
  37668. },
  37669. "isdeductmargin": {
  37670. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37671. "type": "integer"
  37672. },
  37673. "isrecordsource": {
  37674. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37675. "type": "integer"
  37676. },
  37677. "isreleasemargin": {
  37678. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37679. "type": "integer"
  37680. },
  37681. "isupdatereckonprice": {
  37682. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37683. "type": "integer"
  37684. },
  37685. "listingmode": {
  37686. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37687. "type": "integer"
  37688. },
  37689. "marginformula": {
  37690. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37691. "type": "integer"
  37692. },
  37693. "marginformula2": {
  37694. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37695. "type": "integer"
  37696. },
  37697. "marketid": {
  37698. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37699. "type": "integer"
  37700. },
  37701. "marketname": {
  37702. "description": "市场名称",
  37703. "type": "string"
  37704. },
  37705. "marketsectionid": {
  37706. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37707. "type": "integer"
  37708. },
  37709. "marketserviceid": {
  37710. "description": "市场服务ID",
  37711. "type": "integer"
  37712. },
  37713. "marketstatus": {
  37714. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37715. "type": "integer"
  37716. },
  37717. "markettype": {
  37718. "description": "市场类型- 1:非交易服务 2:交易服务",
  37719. "type": "integer"
  37720. },
  37721. "matchermode": {
  37722. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37723. "type": "integer"
  37724. },
  37725. "nowrquotaflag": {
  37726. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37727. "type": "integer"
  37728. },
  37729. "openmethod": {
  37730. "description": "开盘模式 - 0 自动 1手动",
  37731. "type": "integer"
  37732. },
  37733. "orderindex": {
  37734. "description": "排序",
  37735. "type": "integer"
  37736. },
  37737. "otcuserid": {
  37738. "description": "场外期权做市商[场外期权]",
  37739. "type": "integer"
  37740. },
  37741. "outersynctime": {
  37742. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  37743. "type": "string"
  37744. },
  37745. "paylaterflag": {
  37746. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  37747. "type": "integer"
  37748. },
  37749. "pendingflag": {
  37750. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  37751. "type": "integer"
  37752. },
  37753. "pendingtime": {
  37754. "description": "待开市时间[通道交易-对冲](HH:mm)",
  37755. "type": "string"
  37756. },
  37757. "performancetempid": {
  37758. "description": "履约计划模板ID - 作废",
  37759. "type": "integer"
  37760. },
  37761. "premiumquotemode": {
  37762. "description": "权利金报价方式 - 1:自动 2:手动",
  37763. "type": "integer"
  37764. },
  37765. "rebateratio": {
  37766. "description": "返利比率[竞价式]",
  37767. "type": "number"
  37768. },
  37769. "reckonorder": {
  37770. "description": "结算顺序",
  37771. "type": "integer"
  37772. },
  37773. "reckonpricealgorithm": {
  37774. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  37775. "type": "integer"
  37776. },
  37777. "reckonpriceparam": {
  37778. "description": "结算价参数",
  37779. "type": "integer"
  37780. },
  37781. "reckontime": {
  37782. "description": "结算时间[通道交易-对冲](HH:mm)",
  37783. "type": "string"
  37784. },
  37785. "roleprioritytype": {
  37786. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  37787. "type": "integer"
  37788. },
  37789. "selllistingauditflag": {
  37790. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  37791. "type": "integer"
  37792. },
  37793. "trademarkettype": {
  37794. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  37795. "type": "integer"
  37796. },
  37797. "trademode": {
  37798. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37799. "type": "integer"
  37800. },
  37801. "tradeproperty": {
  37802. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  37803. "type": "integer"
  37804. },
  37805. "tradetype": {
  37806. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  37807. "type": "integer"
  37808. },
  37809. "updatereckonpriceinterval": {
  37810. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  37811. "type": "integer"
  37812. }
  37813. }
  37814. },
  37815. "models.TjmdQuoteGoods": {
  37816. "type": "object",
  37817. "properties": {
  37818. "buyqty": {
  37819. "description": "买量(暂不做, 无值, 保留字段)",
  37820. "type": "number"
  37821. },
  37822. "decimalplace": {
  37823. "description": "报价小数位",
  37824. "type": "integer"
  37825. },
  37826. "goodscode": {
  37827. "description": "合约代码",
  37828. "type": "string"
  37829. },
  37830. "goodsgroupid": {
  37831. "description": "商品组ID(自增ID)",
  37832. "type": "integer"
  37833. },
  37834. "goodsgroupname": {
  37835. "description": "商品组名称",
  37836. "type": "string"
  37837. },
  37838. "goodsid": {
  37839. "description": "合约id",
  37840. "type": "integer"
  37841. },
  37842. "goodsname": {
  37843. "description": "合约名称",
  37844. "type": "string"
  37845. },
  37846. "refgoodscode": {
  37847. "description": "标的合约代码",
  37848. "type": "string"
  37849. },
  37850. "refgoodsid": {
  37851. "description": "标的合约id",
  37852. "type": "integer"
  37853. },
  37854. "refgoodsname": {
  37855. "description": "标的合约名称",
  37856. "type": "string"
  37857. },
  37858. "sellqty": {
  37859. "description": "卖量(暂不做, 无值, 保留字段)",
  37860. "type": "number"
  37861. }
  37862. }
  37863. },
  37864. "models.TjmdTodayAccountMargin": {
  37865. "type": "object",
  37866. "properties": {
  37867. "accountid": {
  37868. "description": "账号ID",
  37869. "type": "integer"
  37870. },
  37871. "goodsid": {
  37872. "description": "商品ID",
  37873. "type": "integer"
  37874. },
  37875. "infoc": {
  37876. "description": "配置参数",
  37877. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  37878. },
  37879. "marketid": {
  37880. "description": "市场ID",
  37881. "type": "integer"
  37882. }
  37883. }
  37884. },
  37885. "models.TjmdTradeOrderDetail": {
  37886. "type": "object",
  37887. "properties": {
  37888. "buyorsell": {
  37889. "description": "买卖方向 0-买 1-卖",
  37890. "type": "integer"
  37891. },
  37892. "goodsid": {
  37893. "description": "商品id",
  37894. "type": "integer"
  37895. },
  37896. "marketmaxsub": {
  37897. "description": "市价最大偏移范围 [浮动价 - 点差]",
  37898. "type": "number"
  37899. },
  37900. "orderid": {
  37901. "description": "委托单号",
  37902. "type": "string"
  37903. },
  37904. "orderprice": {
  37905. "description": "期初均价",
  37906. "type": "number"
  37907. },
  37908. "orderqty": {
  37909. "description": "委托数量",
  37910. "type": "integer"
  37911. },
  37912. "pricemode": {
  37913. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  37914. "type": "integer"
  37915. },
  37916. "userid": {
  37917. "description": "用户id",
  37918. "type": "integer"
  37919. },
  37920. "username": {
  37921. "description": "用户名称(已脱敏)",
  37922. "type": "string"
  37923. }
  37924. }
  37925. },
  37926. "models.TjmdTransferApply": {
  37927. "type": "object",
  37928. "properties": {
  37929. "applyid": {
  37930. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  37931. "type": "integer"
  37932. },
  37933. "applystatus": {
  37934. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  37935. "type": "integer"
  37936. },
  37937. "applytime": {
  37938. "description": "申请时间(时间)",
  37939. "type": "string"
  37940. },
  37941. "auditremark": {
  37942. "description": "审核备注(拒绝原因?)",
  37943. "type": "string"
  37944. },
  37945. "begindate": {
  37946. "description": "开始交易日(yyyymmdd)",
  37947. "type": "string"
  37948. },
  37949. "buyorsell": {
  37950. "description": "买卖 - 0:买 1:卖",
  37951. "type": "integer"
  37952. },
  37953. "enddate": {
  37954. "description": "结束交易日(yyyymmdd)",
  37955. "type": "string"
  37956. },
  37957. "goodscode": {
  37958. "description": "商品代码",
  37959. "type": "string"
  37960. },
  37961. "goodsid": {
  37962. "description": "商品ID",
  37963. "type": "integer"
  37964. },
  37965. "goodsname": {
  37966. "description": "商品名称",
  37967. "type": "string"
  37968. },
  37969. "marketid": {
  37970. "description": "市场ID",
  37971. "type": "integer"
  37972. },
  37973. "qty": {
  37974. "description": "期初均价",
  37975. "type": "number"
  37976. },
  37977. "tradeid": {
  37978. "description": "成交单号(关联持仓)",
  37979. "type": "string"
  37980. },
  37981. "transferamount": {
  37982. "description": "转让总金额(金额)",
  37983. "type": "number"
  37984. },
  37985. "transferprice": {
  37986. "description": "转让价格(协议价格)",
  37987. "type": "number"
  37988. }
  37989. }
  37990. },
  37991. "models.TradeHolderDetail": {
  37992. "type": "object",
  37993. "properties": {
  37994. "accountid": {
  37995. "description": "账号ID",
  37996. "type": "integer"
  37997. },
  37998. "agreeunit": {
  37999. "description": "合约乘数",
  38000. "type": "number"
  38001. },
  38002. "buyorsell": {
  38003. "description": "方向 - 0:买 1:卖",
  38004. "type": "integer"
  38005. },
  38006. "currencyid": {
  38007. "description": "商品币种id",
  38008. "type": "integer"
  38009. },
  38010. "currencyname": {
  38011. "description": "币种名称",
  38012. "type": "string"
  38013. },
  38014. "decimalplace": {
  38015. "description": "商品价格小数位",
  38016. "type": "integer"
  38017. },
  38018. "enumdicname": {
  38019. "description": "商品单位名称",
  38020. "type": "string"
  38021. },
  38022. "expirecycle": {
  38023. "description": "行权周期(天) - 1:滚动行权时填写",
  38024. "type": "integer"
  38025. },
  38026. "expiredate": {
  38027. "description": "行权日(yyyyMMdd) - 到期日",
  38028. "type": "string"
  38029. },
  38030. "expiretype": {
  38031. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38032. "type": "integer"
  38033. },
  38034. "freezeqty": {
  38035. "description": "期初均价",
  38036. "type": "number"
  38037. },
  38038. "goodscode": {
  38039. "description": "商品代码",
  38040. "type": "string"
  38041. },
  38042. "goodsid": {
  38043. "description": "商品ID",
  38044. "type": "integer"
  38045. },
  38046. "goodsname": {
  38047. "description": "商品名称",
  38048. "type": "string"
  38049. },
  38050. "goodunitid": {
  38051. "description": "商品单位id",
  38052. "type": "integer"
  38053. },
  38054. "holderamount": {
  38055. "description": "持仓金额",
  38056. "type": "number"
  38057. },
  38058. "holdercredit": {
  38059. "description": "持仓授信金额",
  38060. "type": "number"
  38061. },
  38062. "holderdays": {
  38063. "description": "剩余冻结天数",
  38064. "type": "integer"
  38065. },
  38066. "holderprice": {
  38067. "description": "持仓价格",
  38068. "type": "number"
  38069. },
  38070. "holderqty": {
  38071. "description": "期初均价",
  38072. "type": "number"
  38073. },
  38074. "isconfirmexercise": {
  38075. "description": "是否确认行权- 0:否 1:是",
  38076. "type": "integer"
  38077. },
  38078. "ispreexercise": {
  38079. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38080. "type": "integer"
  38081. },
  38082. "marketid": {
  38083. "description": "市场id",
  38084. "type": "integer"
  38085. },
  38086. "marketname": {
  38087. "description": "市场名称",
  38088. "type": "string"
  38089. },
  38090. "openprice": {
  38091. "description": "建仓价格",
  38092. "type": "number"
  38093. },
  38094. "openqty": {
  38095. "description": "期初均价",
  38096. "type": "number"
  38097. },
  38098. "optiontype": {
  38099. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38100. "type": "integer"
  38101. },
  38102. "preexerciseprice": {
  38103. "description": "预申报价格",
  38104. "type": "number"
  38105. },
  38106. "premium": {
  38107. "description": "权利金",
  38108. "type": "number"
  38109. },
  38110. "qtydecimalplace": {
  38111. "description": "商品成交量小数位",
  38112. "type": "integer"
  38113. },
  38114. "refgoodscode": {
  38115. "description": "标的合约代码",
  38116. "type": "string"
  38117. },
  38118. "refgoodsid": {
  38119. "description": "标的合约id",
  38120. "type": "integer"
  38121. },
  38122. "releaseamount": {
  38123. "description": "释放持仓金额",
  38124. "type": "number"
  38125. },
  38126. "releaseholdercredit": {
  38127. "description": "释放持仓授信金额",
  38128. "type": "number"
  38129. },
  38130. "taname": {
  38131. "description": "资金账号名称",
  38132. "type": "string"
  38133. },
  38134. "tradeamount": {
  38135. "description": "成交金额",
  38136. "type": "number"
  38137. },
  38138. "tradedate": {
  38139. "description": "交易日(yyyyMMdd)",
  38140. "type": "string"
  38141. },
  38142. "tradeid": {
  38143. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38144. "type": "string"
  38145. },
  38146. "trademode": {
  38147. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38148. "type": "integer"
  38149. },
  38150. "tradeproperty": {
  38151. "description": "交易属性",
  38152. "type": "integer"
  38153. },
  38154. "tradetime": {
  38155. "description": "交易时间",
  38156. "type": "string"
  38157. },
  38158. "userid": {
  38159. "description": "用户id",
  38160. "type": "integer"
  38161. },
  38162. "username": {
  38163. "description": "用户名称",
  38164. "type": "string"
  38165. }
  38166. }
  38167. },
  38168. "models.Unlinkermcphedgeplan": {
  38169. "type": "object",
  38170. "required": [
  38171. "areauserid"
  38172. ],
  38173. "properties": {
  38174. "accountid": {
  38175. "description": "期货账户ID - 作废",
  38176. "type": "integer"
  38177. },
  38178. "accountname": {
  38179. "description": "交易用户",
  38180. "type": "string"
  38181. },
  38182. "applyid": {
  38183. "description": "申请人",
  38184. "type": "integer"
  38185. },
  38186. "applysrc": {
  38187. "description": "申请来源 - 1:管理端 2:终端",
  38188. "type": "integer"
  38189. },
  38190. "applytime": {
  38191. "description": "申请时间",
  38192. "type": "string"
  38193. },
  38194. "areauserid": {
  38195. "description": "[企业ID]机构ID",
  38196. "type": "integer"
  38197. },
  38198. "auditid": {
  38199. "description": "审核人",
  38200. "type": "integer"
  38201. },
  38202. "auditremark": {
  38203. "description": "审核备注",
  38204. "type": "string"
  38205. },
  38206. "auditsrc": {
  38207. "description": "审核来源 - 1:管理端 2:终端",
  38208. "type": "integer"
  38209. },
  38210. "audittime": {
  38211. "description": "审核时间",
  38212. "type": "string"
  38213. },
  38214. "audittradedate": {
  38215. "description": "审核交易日(yyyyMMdd)",
  38216. "type": "string"
  38217. },
  38218. "biztype": {
  38219. "description": "业务类型 - 1:套保",
  38220. "type": "integer"
  38221. },
  38222. "contracttype": {
  38223. "description": "计划类型 - 1:采购 -1:销售",
  38224. "type": "integer"
  38225. },
  38226. "convertfactor": {
  38227. "description": "标仓系数 - 作废",
  38228. "type": "number"
  38229. },
  38230. "createtime": {
  38231. "description": "创建时间",
  38232. "type": "string"
  38233. },
  38234. "currencyid": {
  38235. "description": "结算币种ID - 作废",
  38236. "type": "integer"
  38237. },
  38238. "deliverygoodsid": {
  38239. "description": "现货品种ID",
  38240. "type": "integer"
  38241. },
  38242. "enumdicname": {
  38243. "description": "结算币种",
  38244. "type": "string"
  38245. },
  38246. "hedgeplanid": {
  38247. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38248. "type": "string"
  38249. },
  38250. "hedgeplanno": {
  38251. "description": "[计划编号]套保计划编号,模糊查询",
  38252. "type": "string"
  38253. },
  38254. "hedgeplanstatus": {
  38255. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38256. "type": "integer"
  38257. },
  38258. "isrelated": {
  38259. "description": "是否已关联计划项目 - 0:否 1:是",
  38260. "type": "integer"
  38261. },
  38262. "planqty": {
  38263. "description": "[计划量]计划数量",
  38264. "type": "number"
  38265. },
  38266. "plantime": {
  38267. "description": "计划时间",
  38268. "type": "string"
  38269. },
  38270. "producttype": {
  38271. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38272. "type": "integer"
  38273. },
  38274. "remark": {
  38275. "description": "备注",
  38276. "type": "string"
  38277. },
  38278. "spotgoodsdesc": {
  38279. "description": "商品型号",
  38280. "type": "string"
  38281. },
  38282. "tradedate": {
  38283. "description": "交易日(yyyyMMdd)",
  38284. "type": "string"
  38285. },
  38286. "tradeuserid": {
  38287. "description": "交易用户ID",
  38288. "type": "integer"
  38289. },
  38290. "updatetime": {
  38291. "description": "更新时间",
  38292. "type": "string"
  38293. },
  38294. "wrstandardid": {
  38295. "description": "现货商品ID",
  38296. "type": "integer"
  38297. },
  38298. "wrstandardname": {
  38299. "description": "现货商品,模糊查询",
  38300. "type": "string"
  38301. }
  38302. }
  38303. },
  38304. "models.UserCollectConfig": {
  38305. "type": "object",
  38306. "properties": {
  38307. "accountstatus": {
  38308. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38309. "type": "integer"
  38310. },
  38311. "collectaccountname": {
  38312. "description": "收款人账户名称",
  38313. "type": "string"
  38314. },
  38315. "collectaccountno": {
  38316. "description": "收款人账户",
  38317. "type": "string"
  38318. },
  38319. "collectbankname": {
  38320. "description": "收款人开户行",
  38321. "type": "string"
  38322. },
  38323. "collectbranchbankname": {
  38324. "description": "收款人开户支行",
  38325. "type": "string"
  38326. },
  38327. "collectconfigid": {
  38328. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38329. "type": "string"
  38330. },
  38331. "remark": {
  38332. "description": "备注",
  38333. "type": "string"
  38334. },
  38335. "userid": {
  38336. "description": "收款人用户ID",
  38337. "type": "integer"
  38338. }
  38339. }
  38340. },
  38341. "models.UserReceiveInfo": {
  38342. "type": "object",
  38343. "properties": {
  38344. "address": {
  38345. "description": "提货人详细地址",
  38346. "type": "string"
  38347. },
  38348. "autoid": {
  38349. "description": "AutoID",
  38350. "type": "integer"
  38351. },
  38352. "cardnum": {
  38353. "description": "证件号码(加密存储)",
  38354. "type": "string"
  38355. },
  38356. "cardtypeid": {
  38357. "description": "证件类型",
  38358. "type": "integer"
  38359. },
  38360. "cityid": {
  38361. "description": "市",
  38362. "type": "integer"
  38363. },
  38364. "cityname": {
  38365. "description": "城市名称",
  38366. "type": "string"
  38367. },
  38368. "countryid": {
  38369. "description": "国家",
  38370. "type": "integer"
  38371. },
  38372. "countryname": {
  38373. "description": "国家名称",
  38374. "type": "string"
  38375. },
  38376. "districtid": {
  38377. "description": "地区",
  38378. "type": "integer"
  38379. },
  38380. "districtname": {
  38381. "description": "地区名称",
  38382. "type": "string"
  38383. },
  38384. "hasencrypt": {
  38385. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38386. "type": "integer"
  38387. },
  38388. "isdefault": {
  38389. "description": "是否默认地址 - 0:否 1:是",
  38390. "type": "integer"
  38391. },
  38392. "phonenum": {
  38393. "description": "提货人联系方式(加密存储)",
  38394. "type": "string"
  38395. },
  38396. "provinceid": {
  38397. "description": "省",
  38398. "type": "integer"
  38399. },
  38400. "provincename": {
  38401. "description": "省名称",
  38402. "type": "string"
  38403. },
  38404. "receivername": {
  38405. "description": "提货人姓名",
  38406. "type": "string"
  38407. },
  38408. "takeremark": {
  38409. "description": "提货备注",
  38410. "type": "string"
  38411. },
  38412. "userid": {
  38413. "description": "用户ID",
  38414. "type": "integer"
  38415. }
  38416. }
  38417. },
  38418. "models.Useraccount": {
  38419. "type": "object",
  38420. "required": [
  38421. "userid"
  38422. ],
  38423. "properties": {
  38424. "accountname": {
  38425. "description": "账户名称(机构名称)",
  38426. "type": "string"
  38427. },
  38428. "accountstatus": {
  38429. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38430. "type": "integer"
  38431. },
  38432. "applysrc": {
  38433. "description": "申请来源 - 1:管理端 2:终端",
  38434. "type": "integer"
  38435. },
  38436. "auditremark": {
  38437. "description": "审核备注",
  38438. "type": "string"
  38439. },
  38440. "auditsrc": {
  38441. "description": "审核来源 - 1:管理端 2:终端",
  38442. "type": "integer"
  38443. },
  38444. "audittime": {
  38445. "description": "审核时间",
  38446. "type": "string"
  38447. },
  38448. "audituserid": {
  38449. "description": "审核人",
  38450. "type": "integer"
  38451. },
  38452. "broker": {
  38453. "description": "所属经纪人ID",
  38454. "type": "integer"
  38455. },
  38456. "canceltime": {
  38457. "description": "销户时间",
  38458. "type": "string"
  38459. },
  38460. "canceluserid": {
  38461. "description": "销户人",
  38462. "type": "integer"
  38463. },
  38464. "canrecommend": {
  38465. "description": "是否可推荐 - 0:不可 1;可",
  38466. "type": "integer"
  38467. },
  38468. "createtime": {
  38469. "description": "创建时间",
  38470. "type": "string"
  38471. },
  38472. "creatorid": {
  38473. "description": "创建人",
  38474. "type": "integer"
  38475. },
  38476. "hasauth": {
  38477. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  38478. "type": "integer"
  38479. },
  38480. "isanonymous": {
  38481. "description": "是否匿名下单 - 0:否 1:是",
  38482. "type": "integer"
  38483. },
  38484. "maxinvestornum": {
  38485. "description": "最大用户数(经纪会员下投资者个数)",
  38486. "type": "integer"
  38487. },
  38488. "memberuserid": {
  38489. "description": "所属会员ID",
  38490. "type": "integer"
  38491. },
  38492. "modifierid": {
  38493. "description": "修改人",
  38494. "type": "integer"
  38495. },
  38496. "modifyremark": {
  38497. "description": "变更备注",
  38498. "type": "string"
  38499. },
  38500. "modifystatus": {
  38501. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  38502. "type": "integer"
  38503. },
  38504. "modifytime": {
  38505. "description": "修改时间",
  38506. "type": "string"
  38507. },
  38508. "parenttopuser": {
  38509. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  38510. "type": "string"
  38511. },
  38512. "parentuserid": {
  38513. "description": "所属机构ID",
  38514. "type": "integer"
  38515. },
  38516. "reckonaccountid": {
  38517. "description": "默认结算资金账号ID(机构分润使用) 作废",
  38518. "type": "integer"
  38519. },
  38520. "refercount": {
  38521. "description": "推荐总人数",
  38522. "type": "integer"
  38523. },
  38524. "refereeuserid": {
  38525. "description": "推荐人ID",
  38526. "type": "integer"
  38527. },
  38528. "refernum": {
  38529. "description": "推荐码",
  38530. "type": "string"
  38531. },
  38532. "rootuserid": {
  38533. "description": "根用户ID",
  38534. "type": "integer"
  38535. },
  38536. "subaccountlevel": {
  38537. "description": "子账户层数",
  38538. "type": "integer"
  38539. },
  38540. "subarealevelpath": {
  38541. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  38542. "type": "string"
  38543. },
  38544. "userid": {
  38545. "description": "用户ID",
  38546. "type": "integer"
  38547. },
  38548. "usertype": {
  38549. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38550. "type": "integer"
  38551. }
  38552. }
  38553. },
  38554. "models.Userfavoritegoods": {
  38555. "type": "object",
  38556. "required": [
  38557. "goodsid"
  38558. ],
  38559. "properties": {
  38560. "goodsid": {
  38561. "description": "商品ID",
  38562. "type": "integer"
  38563. }
  38564. }
  38565. },
  38566. "models.Userinfo": {
  38567. "type": "object",
  38568. "required": [
  38569. "userid"
  38570. ],
  38571. "properties": {
  38572. "address": {
  38573. "description": "地址",
  38574. "type": "string"
  38575. },
  38576. "attachment1": {
  38577. "description": "附件1",
  38578. "type": "string"
  38579. },
  38580. "attachment2": {
  38581. "description": "附件2",
  38582. "type": "string"
  38583. },
  38584. "bankaccount": {
  38585. "description": "银行帐号 (加密存储)",
  38586. "type": "string"
  38587. },
  38588. "bankaccountname": {
  38589. "description": "收款人名称",
  38590. "type": "string"
  38591. },
  38592. "bankcardfrontphotourl": {
  38593. "description": "银行卡正面照地址",
  38594. "type": "string"
  38595. },
  38596. "bankid": {
  38597. "description": "银行编码",
  38598. "type": "string"
  38599. },
  38600. "bankname": {
  38601. "description": "银行名称",
  38602. "type": "string"
  38603. },
  38604. "biznature": {
  38605. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38606. "type": "integer"
  38607. },
  38608. "bizscope": {
  38609. "description": "企业经营范围(企业)",
  38610. "type": "string"
  38611. },
  38612. "cardbackphotourl": {
  38613. "description": "证件背面图片地址",
  38614. "type": "string"
  38615. },
  38616. "cardfrontphotourl": {
  38617. "description": "证件正面图片地址",
  38618. "type": "string"
  38619. },
  38620. "cardnum": {
  38621. "description": "证件号码(加密存储)",
  38622. "type": "string"
  38623. },
  38624. "cardtypeid": {
  38625. "description": "证件类型ID",
  38626. "type": "integer"
  38627. },
  38628. "cityid": {
  38629. "description": "市",
  38630. "type": "integer"
  38631. },
  38632. "company": {
  38633. "description": "公司(个人)",
  38634. "type": "string"
  38635. },
  38636. "contactname": {
  38637. "description": "联系人",
  38638. "type": "string"
  38639. },
  38640. "countryid": {
  38641. "description": "国家",
  38642. "type": "integer"
  38643. },
  38644. "createtime": {
  38645. "description": "创建时间",
  38646. "type": "string"
  38647. },
  38648. "creatorid": {
  38649. "description": "创建人",
  38650. "type": "integer"
  38651. },
  38652. "customername": {
  38653. "description": "客户名称(企业名称)",
  38654. "type": "string"
  38655. },
  38656. "districtid": {
  38657. "description": "地区",
  38658. "type": "integer"
  38659. },
  38660. "email": {
  38661. "description": "邮件(加密存储)",
  38662. "type": "string"
  38663. },
  38664. "fax": {
  38665. "description": "传真(加密存储)",
  38666. "type": "string"
  38667. },
  38668. "halfbodyphotourl": {
  38669. "description": "半身照地址",
  38670. "type": "string"
  38671. },
  38672. "hasencrypt": {
  38673. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38674. "type": "integer"
  38675. },
  38676. "headurl": {
  38677. "description": "头像地址",
  38678. "type": "string"
  38679. },
  38680. "legalcardbackphotourl": {
  38681. "description": "法人身份证背面照地址",
  38682. "type": "string"
  38683. },
  38684. "legalcardfrontphotourl": {
  38685. "description": "法人身份证正面照地址",
  38686. "type": "string"
  38687. },
  38688. "legalpersonname": {
  38689. "description": "法人姓名(企业)",
  38690. "type": "string"
  38691. },
  38692. "mobile": {
  38693. "description": "手机号码(加密存储)",
  38694. "type": "string"
  38695. },
  38696. "mobile2": {
  38697. "description": "手机号码[明文-尚志]",
  38698. "type": "string"
  38699. },
  38700. "modifierid": {
  38701. "description": "修改人",
  38702. "type": "integer"
  38703. },
  38704. "modifiertime": {
  38705. "description": "修改时间",
  38706. "type": "string"
  38707. },
  38708. "needinvoice": {
  38709. "description": "是否需要发票 - 0:不需要 1:需要",
  38710. "type": "integer"
  38711. },
  38712. "nickname": {
  38713. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38714. "type": "string"
  38715. },
  38716. "openmode": {
  38717. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38718. "type": "integer"
  38719. },
  38720. "otherurl": {
  38721. "description": "其它图片地址[使用分号分隔]",
  38722. "type": "string"
  38723. },
  38724. "postalcode": {
  38725. "description": "邮政编码",
  38726. "type": "string"
  38727. },
  38728. "provinceid": {
  38729. "description": "省",
  38730. "type": "integer"
  38731. },
  38732. "qq": {
  38733. "description": "QQ(加密存储",
  38734. "type": "string"
  38735. },
  38736. "remark": {
  38737. "description": "备注",
  38738. "type": "string"
  38739. },
  38740. "sex": {
  38741. "description": "用户性别 0: 女 1: 男",
  38742. "type": "integer"
  38743. },
  38744. "signpdfurl": {
  38745. "description": "签约pdf文件",
  38746. "type": "string"
  38747. },
  38748. "telphone": {
  38749. "description": "联系电话(加密存储)",
  38750. "type": "string"
  38751. },
  38752. "userid": {
  38753. "description": "用户ID",
  38754. "type": "integer"
  38755. },
  38756. "userinfotype": {
  38757. "description": "用户信息类型 - 1:个人 2:企业",
  38758. "type": "integer"
  38759. },
  38760. "userstatus": {
  38761. "description": "用户状态 - 1:正常 2:注销",
  38762. "type": "integer"
  38763. },
  38764. "usertype": {
  38765. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  38766. "type": "integer"
  38767. },
  38768. "wechat": {
  38769. "description": "微信(加密存储)",
  38770. "type": "string"
  38771. },
  38772. "wskhinfo": {
  38773. "description": "开户申请信息(JSON)",
  38774. "type": "string"
  38775. }
  38776. }
  38777. },
  38778. "models.WRSConverTDetail": {
  38779. "type": "object",
  38780. "properties": {
  38781. "convertratio": {
  38782. "description": "套保系数",
  38783. "type": "number"
  38784. },
  38785. "deliverygoodscode": {
  38786. "description": "现货商品代码",
  38787. "type": "string"
  38788. },
  38789. "deliverygoodsid": {
  38790. "description": "现货品种ID",
  38791. "type": "integer"
  38792. },
  38793. "deliverygoodsname": {
  38794. "description": "现货商品名称",
  38795. "type": "string"
  38796. },
  38797. "enumdicname": {
  38798. "description": "单位名称",
  38799. "type": "string"
  38800. },
  38801. "goodsunitid": {
  38802. "description": "套保品种单位id",
  38803. "type": "integer"
  38804. },
  38805. "middlegoodscode": {
  38806. "description": "套保品种代码",
  38807. "type": "string"
  38808. },
  38809. "middlegoodsid": {
  38810. "description": "套保品种ID",
  38811. "type": "integer"
  38812. },
  38813. "middlegoodsname": {
  38814. "description": "套保品种名称",
  38815. "type": "string"
  38816. },
  38817. "modifytime": {
  38818. "description": "修改时间",
  38819. "type": "string"
  38820. },
  38821. "wrstandardid": {
  38822. "description": "品类ID",
  38823. "type": "integer"
  38824. }
  38825. }
  38826. },
  38827. "models.WRStandardInfo": {
  38828. "type": "object",
  38829. "required": [
  38830. "wrstandardid"
  38831. ],
  38832. "properties": {
  38833. "areauserid": {
  38834. "description": "所属机构",
  38835. "type": "integer"
  38836. },
  38837. "convertfactor": {
  38838. "description": "标仓系数",
  38839. "type": "number"
  38840. },
  38841. "createtime": {
  38842. "description": "创建时间",
  38843. "type": "string"
  38844. },
  38845. "creatorid": {
  38846. "description": "创建人",
  38847. "type": "integer"
  38848. },
  38849. "deliverygoodsid": {
  38850. "description": "品种ID",
  38851. "type": "integer"
  38852. },
  38853. "deliverygoodsname": {
  38854. "description": "交割商品名称",
  38855. "type": "string"
  38856. },
  38857. "factoryitemjson": {
  38858. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  38859. "type": "string"
  38860. },
  38861. "isvalid": {
  38862. "description": "是否有效 - 0:无效 1:有效",
  38863. "type": "integer"
  38864. },
  38865. "minivalue": {
  38866. "description": "最小变动值",
  38867. "type": "integer"
  38868. },
  38869. "minivaluedp": {
  38870. "description": "最小变动值小数位",
  38871. "type": "integer"
  38872. },
  38873. "realminivalue": {
  38874. "description": "实际最小变动值",
  38875. "type": "integer"
  38876. },
  38877. "realminivaluedp": {
  38878. "description": "实际最小变动值小数位",
  38879. "type": "integer"
  38880. },
  38881. "remark": {
  38882. "description": "备注",
  38883. "type": "string"
  38884. },
  38885. "unitid": {
  38886. "description": "单位ID",
  38887. "type": "integer"
  38888. },
  38889. "unitname": {
  38890. "description": "单位",
  38891. "type": "string"
  38892. },
  38893. "updatetime": {
  38894. "description": "更新时间",
  38895. "type": "string"
  38896. },
  38897. "updatorid": {
  38898. "description": "更新人",
  38899. "type": "integer"
  38900. },
  38901. "wrsstatus": {
  38902. "description": "状态 - 作废 - 0:未激活 1:正常",
  38903. "type": "integer"
  38904. },
  38905. "wrstandardcode": {
  38906. "description": "现货品类代码",
  38907. "type": "string"
  38908. },
  38909. "wrstandardid": {
  38910. "description": "现货品类ID(SEQ_WRSTANDARD)",
  38911. "type": "integer"
  38912. },
  38913. "wrstandardname": {
  38914. "description": "现货品类名称",
  38915. "type": "string"
  38916. }
  38917. }
  38918. },
  38919. "models.WRTradeBargainApply": {
  38920. "type": "object",
  38921. "properties": {
  38922. "accountid": {
  38923. "description": "摘牌资金账号",
  38924. "type": "integer"
  38925. },
  38926. "applyprice": {
  38927. "description": "申请价格(议价价格)",
  38928. "type": "string"
  38929. },
  38930. "applyqty": {
  38931. "description": "摘牌数量(议价数量)",
  38932. "type": "number"
  38933. },
  38934. "applyremark": {
  38935. "description": "申请备注",
  38936. "type": "string"
  38937. },
  38938. "applystatus": {
  38939. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  38940. "type": "integer"
  38941. },
  38942. "applytime": {
  38943. "description": "申请时间(议价时间)",
  38944. "type": "string"
  38945. },
  38946. "begindate": {
  38947. "description": "开始交易日(yyyymmdd)",
  38948. "type": "string"
  38949. },
  38950. "buyorsell": {
  38951. "description": "买卖(挂牌类型) - 0:买 1:卖",
  38952. "type": "integer"
  38953. },
  38954. "confirmremark": {
  38955. "description": "确认备注",
  38956. "type": "string"
  38957. },
  38958. "confirmtime": {
  38959. "description": "确认时间",
  38960. "type": "string"
  38961. },
  38962. "confirmuserid": {
  38963. "description": "确认人",
  38964. "type": "integer"
  38965. },
  38966. "deliverygoodscode": {
  38967. "description": "品种代码",
  38968. "type": "string"
  38969. },
  38970. "deliverygoodsid": {
  38971. "description": "品种ID",
  38972. "type": "integer"
  38973. },
  38974. "deliverygoodsname": {
  38975. "description": "品种名称",
  38976. "type": "string"
  38977. },
  38978. "deliverymonth": {
  38979. "description": "交收月",
  38980. "type": "string"
  38981. },
  38982. "enddate": {
  38983. "description": "结束交易日(yyyymmdd)",
  38984. "type": "string"
  38985. },
  38986. "enumdicname": {
  38987. "description": "单位名称",
  38988. "type": "string"
  38989. },
  38990. "fixedprice": {
  38991. "description": "期初均价",
  38992. "type": "number"
  38993. },
  38994. "handlestatus": {
  38995. "description": "处理状态",
  38996. "type": "integer"
  38997. },
  38998. "marginvalue": {
  38999. "description": "期初均价",
  39000. "type": "number"
  39001. },
  39002. "marketid": {
  39003. "description": "市场ID",
  39004. "type": "integer"
  39005. },
  39006. "matchaccountid": {
  39007. "description": "挂牌方资金账号",
  39008. "type": "integer"
  39009. },
  39010. "matchuserid": {
  39011. "description": "挂牌方用户id",
  39012. "type": "integer"
  39013. },
  39014. "matchusername": {
  39015. "description": "挂牌方用户名称(已脱敏)",
  39016. "type": "string"
  39017. },
  39018. "minivalue": {
  39019. "description": "现货商品最小变动值",
  39020. "type": "integer"
  39021. },
  39022. "optioncompare": {
  39023. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39024. "type": "string"
  39025. },
  39026. "orderqty": {
  39027. "description": "挂牌数量",
  39028. "type": "integer"
  39029. },
  39030. "refprice": {
  39031. "description": "参考价格",
  39032. "type": "string"
  39033. },
  39034. "retcode": {
  39035. "description": "委托返回代码",
  39036. "type": "integer"
  39037. },
  39038. "templatename": {
  39039. "description": "履约方式(履约模板名称)",
  39040. "type": "string"
  39041. },
  39042. "tradedate": {
  39043. "description": "交易日(yyyyMMdd)",
  39044. "type": "string"
  39045. },
  39046. "userid": {
  39047. "description": "摘牌人用户ID(议价人ID)",
  39048. "type": "integer"
  39049. },
  39050. "username": {
  39051. "description": "议价人名字(已脱敏)",
  39052. "type": "string"
  39053. },
  39054. "validtime": {
  39055. "description": "有效期限",
  39056. "type": "string"
  39057. },
  39058. "warehouseid": {
  39059. "description": "仓库ID",
  39060. "type": "integer"
  39061. },
  39062. "warehousename": {
  39063. "description": "仓库名称",
  39064. "type": "string"
  39065. },
  39066. "wrbargainid": {
  39067. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39068. "type": "string"
  39069. },
  39070. "wrfactortypeid": {
  39071. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39072. "type": "string"
  39073. },
  39074. "wrfactortypename": {
  39075. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39076. "type": "string"
  39077. },
  39078. "wrstandardcode": {
  39079. "description": "现货商品代码",
  39080. "type": "string"
  39081. },
  39082. "wrstandardid": {
  39083. "description": "现货商品ID",
  39084. "type": "integer"
  39085. },
  39086. "wrstandardname": {
  39087. "description": "商品名称",
  39088. "type": "string"
  39089. },
  39090. "wrtradeorderid": {
  39091. "description": "关联委托单ID",
  39092. "type": "string"
  39093. },
  39094. "wrtypename": {
  39095. "description": "商品",
  39096. "type": "string"
  39097. }
  39098. }
  39099. },
  39100. "models.Warehouseinfo": {
  39101. "type": "object",
  39102. "required": [
  39103. "autoid",
  39104. "warehousecode"
  39105. ],
  39106. "properties": {
  39107. "address": {
  39108. "description": "详细地址",
  39109. "type": "string"
  39110. },
  39111. "areauserid": {
  39112. "description": "所属机构",
  39113. "type": "integer"
  39114. },
  39115. "autoid": {
  39116. "description": "自增ID",
  39117. "type": "integer"
  39118. },
  39119. "cityid": {
  39120. "description": "市",
  39121. "type": "integer"
  39122. },
  39123. "contactname": {
  39124. "description": "联系人",
  39125. "type": "string"
  39126. },
  39127. "contactnum": {
  39128. "description": "联系电话",
  39129. "type": "string"
  39130. },
  39131. "countryid": {
  39132. "description": "国家",
  39133. "type": "integer"
  39134. },
  39135. "createtime": {
  39136. "description": "创建时间",
  39137. "type": "string"
  39138. },
  39139. "districtid": {
  39140. "description": "区",
  39141. "type": "integer"
  39142. },
  39143. "hasvideo": {
  39144. "description": "是否有视频 - 0:无 1:有",
  39145. "type": "integer"
  39146. },
  39147. "provinceid": {
  39148. "description": "省",
  39149. "type": "integer"
  39150. },
  39151. "remark": {
  39152. "description": "审核备注",
  39153. "type": "string"
  39154. },
  39155. "videourl": {
  39156. "description": "视频地址",
  39157. "type": "string"
  39158. },
  39159. "warehousecode": {
  39160. "description": "仓库代码",
  39161. "type": "string"
  39162. },
  39163. "warehousename": {
  39164. "description": "仓库名称",
  39165. "type": "string"
  39166. },
  39167. "warehousestatus": {
  39168. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39169. "type": "integer"
  39170. },
  39171. "warehousetype": {
  39172. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39173. "type": "integer"
  39174. }
  39175. }
  39176. },
  39177. "models.WrAverageTradePrice": {
  39178. "type": "object",
  39179. "properties": {
  39180. "averageprice": {
  39181. "description": "期初均价",
  39182. "type": "number"
  39183. },
  39184. "tradedate": {
  39185. "description": "交易日yyyymm",
  39186. "type": "string"
  39187. }
  39188. }
  39189. },
  39190. "models.WrBrandAndYears": {
  39191. "type": "object",
  39192. "properties": {
  39193. "brandlst": {
  39194. "description": "品牌列表",
  39195. "type": "array",
  39196. "items": {
  39197. "$ref": "#/definitions/models.DgFactoryItem"
  39198. }
  39199. },
  39200. "yearslst": {
  39201. "description": "年份列表",
  39202. "type": "array",
  39203. "items": {
  39204. "$ref": "#/definitions/models.DgFactoryItem"
  39205. }
  39206. }
  39207. }
  39208. },
  39209. "models.WrBsGoodsInfo": {
  39210. "type": "object",
  39211. "properties": {
  39212. "buyorsell": {
  39213. "description": "买卖方向 0-买 1-卖",
  39214. "type": "integer"
  39215. },
  39216. "goodsid": {
  39217. "description": "交易合约ID",
  39218. "type": "integer"
  39219. },
  39220. "lstitem": {
  39221. "description": "商品信息项",
  39222. "type": "array",
  39223. "items": {
  39224. "$ref": "#/definitions/models.WrTypeItem"
  39225. }
  39226. },
  39227. "lststep": {
  39228. "description": "履约规则",
  39229. "type": "array",
  39230. "items": {
  39231. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39232. }
  39233. }
  39234. }
  39235. },
  39236. "models.WrBuybackDetail": {
  39237. "type": "object",
  39238. "properties": {
  39239. "buybackamount": {
  39240. "description": "回购金额",
  39241. "type": "number"
  39242. },
  39243. "buybackqty": {
  39244. "description": "回购数量",
  39245. "type": "number"
  39246. },
  39247. "buybackreleasemargin": {
  39248. "description": "回购释放保证金",
  39249. "type": "number"
  39250. },
  39251. "buybacktime": {
  39252. "description": "回购时间",
  39253. "type": "string"
  39254. },
  39255. "errordesc": {
  39256. "description": "错误描述",
  39257. "type": "string"
  39258. },
  39259. "handlestatus": {
  39260. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39261. "type": "integer"
  39262. },
  39263. "relatedwrid": {
  39264. "description": "关联仓单ID",
  39265. "type": "integer"
  39266. },
  39267. "scfcontractid": {
  39268. "description": "SCF合同ID",
  39269. "type": "string"
  39270. },
  39271. "scfwrbuybackid": {
  39272. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39273. "type": "integer"
  39274. },
  39275. "tradedate": {
  39276. "description": "交易日(yyyyMMdd)",
  39277. "type": "string"
  39278. }
  39279. }
  39280. },
  39281. "models.WrClientAdSpaceConfig": {
  39282. "type": "object",
  39283. "properties": {
  39284. "adspaceid": {
  39285. "description": "广告位ID",
  39286. "type": "integer"
  39287. },
  39288. "adspacename": {
  39289. "description": "广告位名称",
  39290. "type": "string"
  39291. },
  39292. "adspacetype": {
  39293. "description": "广告位类型 - 1:固定广告位",
  39294. "type": "integer"
  39295. },
  39296. "areauserid": {
  39297. "description": "所属机构ID",
  39298. "type": "integer"
  39299. },
  39300. "createdate": {
  39301. "description": "创建时间",
  39302. "type": "string"
  39303. },
  39304. "imagepath": {
  39305. "description": "图片",
  39306. "type": "string"
  39307. },
  39308. "modifierid": {
  39309. "description": "操作人",
  39310. "type": "integer"
  39311. },
  39312. "recsize": {
  39313. "description": "推荐尺寸",
  39314. "type": "string"
  39315. },
  39316. "title": {
  39317. "description": "标题",
  39318. "type": "string"
  39319. },
  39320. "updatedate": {
  39321. "description": "更新时间",
  39322. "type": "string"
  39323. },
  39324. "urlcontent": {
  39325. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39326. "type": "string"
  39327. },
  39328. "urltype": {
  39329. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39330. "type": "integer"
  39331. }
  39332. }
  39333. },
  39334. "models.WrDeliveryAvalidHoldLB": {
  39335. "type": "object",
  39336. "properties": {
  39337. "accountid": {
  39338. "description": "资金账号",
  39339. "type": "integer"
  39340. },
  39341. "avalidqty": {
  39342. "description": "数量(可点选数量)",
  39343. "type": "number"
  39344. },
  39345. "deliverygoodsid": {
  39346. "description": "品种id",
  39347. "type": "integer"
  39348. },
  39349. "enumdicname": {
  39350. "description": "单位名称",
  39351. "type": "string"
  39352. },
  39353. "goodsid": {
  39354. "description": "x合约商品id",
  39355. "type": "integer"
  39356. },
  39357. "ladingbillid": {
  39358. "description": "提单id",
  39359. "type": "string"
  39360. },
  39361. "pgoodscode": {
  39362. "description": "p商品代码(点价合约)",
  39363. "type": "string"
  39364. },
  39365. "pgoodsid": {
  39366. "description": "p商品id(点价合约)",
  39367. "type": "integer"
  39368. },
  39369. "pgoodsname": {
  39370. "description": "p商品名称(点价合约)",
  39371. "type": "string"
  39372. },
  39373. "pricemove": {
  39374. "description": "升贴水",
  39375. "type": "number"
  39376. },
  39377. "subnum": {
  39378. "description": "提单子id",
  39379. "type": "integer"
  39380. },
  39381. "userid": {
  39382. "description": "用户id",
  39383. "type": "integer"
  39384. },
  39385. "username": {
  39386. "description": "仓单持有人",
  39387. "type": "string"
  39388. },
  39389. "warehousecode": {
  39390. "description": "仓库代码",
  39391. "type": "string"
  39392. },
  39393. "warehouseid": {
  39394. "description": "仓库id",
  39395. "type": "integer"
  39396. },
  39397. "warehousename": {
  39398. "description": "仓库名称",
  39399. "type": "string"
  39400. },
  39401. "wrfactortypeid": {
  39402. "description": "仓单要素id",
  39403. "type": "string"
  39404. },
  39405. "wrstandardcode": {
  39406. "description": "品代码",
  39407. "type": "string"
  39408. },
  39409. "wrstandardid": {
  39410. "description": "品类d",
  39411. "type": "integer"
  39412. },
  39413. "wrstandardname": {
  39414. "description": "品类名称",
  39415. "type": "string"
  39416. },
  39417. "wrtypename": {
  39418. "description": "商品",
  39419. "type": "string"
  39420. },
  39421. "xgoodscode": {
  39422. "description": "x合约代码",
  39423. "type": "string"
  39424. },
  39425. "xgoodsname": {
  39426. "description": "x合约名称",
  39427. "type": "string"
  39428. }
  39429. }
  39430. },
  39431. "models.WrDeliveryDetail": {
  39432. "type": "object",
  39433. "properties": {
  39434. "accountid": {
  39435. "description": "账号ID",
  39436. "type": "integer"
  39437. },
  39438. "averageprice": {
  39439. "description": "期初均价",
  39440. "type": "number"
  39441. },
  39442. "begindate": {
  39443. "description": "开始交易日(yyyymmdd)",
  39444. "type": "string"
  39445. },
  39446. "buyorsell": {
  39447. "description": "方向 - 0:买 1:卖",
  39448. "type": "integer"
  39449. },
  39450. "deliveryamount": {
  39451. "description": "货款金额(X总货款+P总货款)",
  39452. "type": "number"
  39453. },
  39454. "deliveryid": {
  39455. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  39456. "type": "string"
  39457. },
  39458. "deliveryorderid": {
  39459. "description": "申报单号",
  39460. "type": "string"
  39461. },
  39462. "deliverypricemove": {
  39463. "description": "升贴水(升贴水总额)",
  39464. "type": "number"
  39465. },
  39466. "deliveryqty": {
  39467. "description": "交收数量(点选数量)",
  39468. "type": "number"
  39469. },
  39470. "deliverystatus": {
  39471. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  39472. "type": "integer"
  39473. },
  39474. "deliverytime": {
  39475. "description": "交割时间",
  39476. "type": "string"
  39477. },
  39478. "deliverytotalamount": {
  39479. "description": "交收金额",
  39480. "type": "number"
  39481. },
  39482. "enddate": {
  39483. "description": "结束交易日(yyyymmdd)",
  39484. "type": "string"
  39485. },
  39486. "enumdicname": {
  39487. "description": "单位名称",
  39488. "type": "string"
  39489. },
  39490. "matchaccountid": {
  39491. "description": "对手账号ID",
  39492. "type": "integer"
  39493. },
  39494. "matchusername": {
  39495. "description": "对手方名称(仓单持有人)",
  39496. "type": "string"
  39497. },
  39498. "p1goodsremainamount": {
  39499. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39500. "type": "number"
  39501. },
  39502. "pdeliverycloseqty": {
  39503. "description": "p合约平仓数量",
  39504. "type": "number"
  39505. },
  39506. "pdeliveryprice": {
  39507. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39508. "type": "number"
  39509. },
  39510. "pgoodscode": {
  39511. "description": "商品代码",
  39512. "type": "string"
  39513. },
  39514. "pgoodsid": {
  39515. "description": "p点选合约id",
  39516. "type": "integer"
  39517. },
  39518. "pgoodsname": {
  39519. "description": "商品名称",
  39520. "type": "string"
  39521. },
  39522. "ppricemode": {
  39523. "description": "点价价格方式 - 1:商品价 2:固定值",
  39524. "type": "integer"
  39525. },
  39526. "tradedate": {
  39527. "description": "交易日(yyyymmdd)",
  39528. "type": "string"
  39529. },
  39530. "userid": {
  39531. "description": "用户id",
  39532. "type": "integer"
  39533. },
  39534. "username": {
  39535. "description": "用户名称",
  39536. "type": "string"
  39537. },
  39538. "warehousename": {
  39539. "description": "仓库名称",
  39540. "type": "string"
  39541. },
  39542. "wrfactortypeid": {
  39543. "description": "仓单要素类型ID",
  39544. "type": "string"
  39545. },
  39546. "wrtypename": {
  39547. "description": "商品",
  39548. "type": "string"
  39549. },
  39550. "xdeliverycloseqty": {
  39551. "description": "合约数量",
  39552. "type": "number"
  39553. },
  39554. "xgoodsamount": {
  39555. "description": "期初均价",
  39556. "type": "number"
  39557. },
  39558. "xgoodscode": {
  39559. "description": "商品代码",
  39560. "type": "string"
  39561. },
  39562. "xgoodsid": {
  39563. "description": "x交易合约ID",
  39564. "type": "integer"
  39565. },
  39566. "xgoodsname": {
  39567. "description": "商品名称",
  39568. "type": "string"
  39569. }
  39570. }
  39571. },
  39572. "models.WrDeliveryGoodsSection": {
  39573. "type": "object",
  39574. "properties": {
  39575. "dglst": {
  39576. "description": "板块商品列表",
  39577. "type": "array",
  39578. "items": {
  39579. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  39580. }
  39581. },
  39582. "imagepath": {
  39583. "description": "图片地址",
  39584. "type": "string"
  39585. },
  39586. "orderindex": {
  39587. "description": "排序",
  39588. "type": "integer"
  39589. },
  39590. "sectionid": {
  39591. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  39592. "type": "integer"
  39593. },
  39594. "sectionname": {
  39595. "description": "版块名称",
  39596. "type": "string"
  39597. },
  39598. "sectiontype": {
  39599. "description": "版块类型 - 1:指数版块 2:普通版块",
  39600. "type": "integer"
  39601. }
  39602. }
  39603. },
  39604. "models.WrDeliveryGoodsSectionConfig": {
  39605. "type": "object",
  39606. "properties": {
  39607. "deliverygoodscode": {
  39608. "description": "现货商品代码",
  39609. "type": "string"
  39610. },
  39611. "deliverygoodsid": {
  39612. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39613. "type": "integer"
  39614. },
  39615. "deliverygoodsname": {
  39616. "description": "现货商品名称",
  39617. "type": "string"
  39618. },
  39619. "orderindex": {
  39620. "description": "排序",
  39621. "type": "integer"
  39622. }
  39623. }
  39624. },
  39625. "models.WrDraftUserInfo": {
  39626. "type": "object",
  39627. "properties": {
  39628. "address": {
  39629. "description": "地址",
  39630. "type": "string"
  39631. },
  39632. "attachment1": {
  39633. "description": "附件1",
  39634. "type": "string"
  39635. },
  39636. "attachment2": {
  39637. "description": "附件2",
  39638. "type": "string"
  39639. },
  39640. "attachment3": {
  39641. "description": "附件3",
  39642. "type": "string"
  39643. },
  39644. "attachment4": {
  39645. "description": "附件4",
  39646. "type": "string"
  39647. },
  39648. "attachment5": {
  39649. "description": "附件5",
  39650. "type": "string"
  39651. },
  39652. "bankaccount": {
  39653. "description": "银行帐号 (加密存储)",
  39654. "type": "string"
  39655. },
  39656. "bankaccountname": {
  39657. "description": "收款人名称",
  39658. "type": "string"
  39659. },
  39660. "bankcardfrontphotourl": {
  39661. "description": "银行卡正面照地址",
  39662. "type": "string"
  39663. },
  39664. "bankid": {
  39665. "description": "银行编码",
  39666. "type": "string"
  39667. },
  39668. "bankname": {
  39669. "description": "银行名称",
  39670. "type": "string"
  39671. },
  39672. "birthday": {
  39673. "description": "生日(个人:年月日)",
  39674. "type": "string"
  39675. },
  39676. "biznature": {
  39677. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39678. "type": "integer"
  39679. },
  39680. "bizscope": {
  39681. "description": "企业经营范围(企业)",
  39682. "type": "string"
  39683. },
  39684. "biztype": {
  39685. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39686. "type": "integer"
  39687. },
  39688. "cardbackphotourl": {
  39689. "description": "证件背面图片地址",
  39690. "type": "string"
  39691. },
  39692. "cardfrontphotourl": {
  39693. "description": "证件正面图片地址",
  39694. "type": "string"
  39695. },
  39696. "cardnum": {
  39697. "description": "证件号码(加密存储)",
  39698. "type": "string"
  39699. },
  39700. "cardtypeid": {
  39701. "description": "证件类型ID",
  39702. "type": "integer"
  39703. },
  39704. "cityid": {
  39705. "description": "市",
  39706. "type": "integer"
  39707. },
  39708. "company": {
  39709. "description": "公司(个人)",
  39710. "type": "string"
  39711. },
  39712. "contactcardbackphotourl": {
  39713. "description": "联系人证件背面图片地址",
  39714. "type": "string"
  39715. },
  39716. "contactcardfrontphotourl": {
  39717. "description": "联系人证件正面图片地址",
  39718. "type": "string"
  39719. },
  39720. "contactname": {
  39721. "description": "联系人",
  39722. "type": "string"
  39723. },
  39724. "countryid": {
  39725. "description": "国家",
  39726. "type": "integer"
  39727. },
  39728. "createtime": {
  39729. "description": "创建时间",
  39730. "type": "string"
  39731. },
  39732. "creatorid": {
  39733. "description": "创建人",
  39734. "type": "integer"
  39735. },
  39736. "creditquota": {
  39737. "description": "授信额度(金瑞)",
  39738. "type": "number"
  39739. },
  39740. "customername": {
  39741. "description": "客户名称(企业名称)",
  39742. "type": "string"
  39743. },
  39744. "districtid": {
  39745. "description": "地区",
  39746. "type": "integer"
  39747. },
  39748. "email": {
  39749. "description": "邮件(加密存储)",
  39750. "type": "string"
  39751. },
  39752. "fax": {
  39753. "description": "传真(加密存储)",
  39754. "type": "string"
  39755. },
  39756. "halfbodyphotourl": {
  39757. "description": "半身照地址",
  39758. "type": "string"
  39759. },
  39760. "hasencrypt": {
  39761. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39762. "type": "integer"
  39763. },
  39764. "headurl": {
  39765. "description": "头像地址",
  39766. "type": "string"
  39767. },
  39768. "legalcardbackphotourl": {
  39769. "description": "法人身份证背面照地址",
  39770. "type": "string"
  39771. },
  39772. "legalcardfrontphotourl": {
  39773. "description": "法人身份证正面照地址",
  39774. "type": "string"
  39775. },
  39776. "legalpersonname": {
  39777. "description": "法人姓名(企业)",
  39778. "type": "string"
  39779. },
  39780. "mobile": {
  39781. "description": "手机号码(加密存储)",
  39782. "type": "string"
  39783. },
  39784. "mobile2": {
  39785. "description": "手机号码[明文-尚志]",
  39786. "type": "string"
  39787. },
  39788. "modifierid": {
  39789. "description": "修改人",
  39790. "type": "integer"
  39791. },
  39792. "modifiertime": {
  39793. "description": "修改时间",
  39794. "type": "string"
  39795. },
  39796. "needinvoice": {
  39797. "description": "是否需要发票 - 0:不需要 1:需要",
  39798. "type": "integer"
  39799. },
  39800. "nickname": {
  39801. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39802. "type": "string"
  39803. },
  39804. "openmode": {
  39805. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  39806. "type": "integer"
  39807. },
  39808. "otherurl": {
  39809. "description": "其它图片地址[使用分号分隔]",
  39810. "type": "string"
  39811. },
  39812. "postalcode": {
  39813. "description": "邮政编码",
  39814. "type": "string"
  39815. },
  39816. "provinceid": {
  39817. "description": "省",
  39818. "type": "integer"
  39819. },
  39820. "proxystatementurl": {
  39821. "description": "授权委托书",
  39822. "type": "string"
  39823. },
  39824. "qq": {
  39825. "description": "QQ(加密存储",
  39826. "type": "string"
  39827. },
  39828. "remark": {
  39829. "description": "备注",
  39830. "type": "string"
  39831. },
  39832. "sex": {
  39833. "description": "用户性别 0: 女 1: 男",
  39834. "type": "integer"
  39835. },
  39836. "signpdfurl": {
  39837. "description": "签约pdf文件",
  39838. "type": "string"
  39839. },
  39840. "taxpayernum": {
  39841. "description": "纳税人识别号",
  39842. "type": "string"
  39843. },
  39844. "telphone": {
  39845. "description": "联系电话(加密存储)",
  39846. "type": "string"
  39847. },
  39848. "userid": {
  39849. "description": "用户ID",
  39850. "type": "integer"
  39851. },
  39852. "userinfotype": {
  39853. "description": "用户信息类型 - 1:个人 2:企业",
  39854. "type": "integer"
  39855. },
  39856. "userstatus": {
  39857. "description": "用户状态 - 1:正常 2:注销",
  39858. "type": "integer"
  39859. },
  39860. "usertype": {
  39861. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  39862. "type": "integer"
  39863. },
  39864. "wechat": {
  39865. "description": "微信(加密存储)",
  39866. "type": "string"
  39867. },
  39868. "wskhinfo": {
  39869. "description": "开户申请信息(JSON)",
  39870. "type": "string"
  39871. }
  39872. }
  39873. },
  39874. "models.WrFAProductDetail": {
  39875. "type": "object",
  39876. "properties": {
  39877. "accountid": {
  39878. "description": "资金账号",
  39879. "type": "integer"
  39880. },
  39881. "areauserid": {
  39882. "description": "金融机构ID",
  39883. "type": "integer"
  39884. },
  39885. "financingdays": {
  39886. "description": "天数(天)",
  39887. "type": "integer"
  39888. },
  39889. "interestminlen": {
  39890. "description": "最小起息天数",
  39891. "type": "integer"
  39892. },
  39893. "interestrate": {
  39894. "description": "利率",
  39895. "type": "number"
  39896. },
  39897. "interestratemode": {
  39898. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39899. "type": "integer"
  39900. },
  39901. "interestsettlemode": {
  39902. "description": "结息方式 - 1:按日结息 3:按月结息",
  39903. "type": "integer"
  39904. },
  39905. "interestsettlevalue": {
  39906. "description": "结息方式值",
  39907. "type": "integer"
  39908. },
  39909. "isautoloan": {
  39910. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  39911. "type": "integer"
  39912. },
  39913. "loantag": {
  39914. "description": "放款标识: \"放款快\" 或者为空",
  39915. "type": "string"
  39916. },
  39917. "marginratio": {
  39918. "description": "保证金比率质押率 - [仓单质押]",
  39919. "type": "number"
  39920. },
  39921. "productdetailid": {
  39922. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  39923. "type": "integer"
  39924. },
  39925. "productid": {
  39926. "description": "金融产品ID",
  39927. "type": "integer"
  39928. },
  39929. "productname": {
  39930. "description": "产品名称",
  39931. "type": "string"
  39932. },
  39933. "updatetime": {
  39934. "description": "更新时间",
  39935. "type": "string"
  39936. },
  39937. "username": {
  39938. "description": "融出方",
  39939. "type": "string"
  39940. }
  39941. }
  39942. },
  39943. "models.WrFactorTypeInfo": {
  39944. "type": "object",
  39945. "properties": {
  39946. "deliverygoodscode": {
  39947. "description": "品种代码",
  39948. "type": "string"
  39949. },
  39950. "deliverygoodsname": {
  39951. "description": "品种名称",
  39952. "type": "string"
  39953. },
  39954. "dgfactoryitemid": {
  39955. "description": "选择项id",
  39956. "type": "integer"
  39957. },
  39958. "dgfactoryitemtypeid": {
  39959. "description": "要素选择项ID (1-仓库 2-品牌)",
  39960. "type": "integer"
  39961. },
  39962. "dgfactoryitemvalue": {
  39963. "description": "要素项值",
  39964. "type": "string"
  39965. },
  39966. "itemtypename": {
  39967. "description": "要素项名称",
  39968. "type": "string"
  39969. },
  39970. "optioncompare": {
  39971. "description": "选择比较串",
  39972. "type": "string"
  39973. },
  39974. "warehouseid": {
  39975. "description": "仓库id",
  39976. "type": "integer"
  39977. },
  39978. "wrfactortypeid": {
  39979. "description": "仓单要素ID",
  39980. "type": "string"
  39981. },
  39982. "wrfactortypename": {
  39983. "description": "要素名称",
  39984. "type": "string"
  39985. },
  39986. "wrfactortypename2": {
  39987. "description": "要素名称(不含仓库)",
  39988. "type": "string"
  39989. },
  39990. "wrstandardcode": {
  39991. "description": "品类代码",
  39992. "type": "string"
  39993. },
  39994. "wrstandardid": {
  39995. "description": "品类id",
  39996. "type": "integer"
  39997. },
  39998. "wrstandardname": {
  39999. "description": "品类名称",
  40000. "type": "string"
  40001. }
  40002. }
  40003. },
  40004. "models.WrFilterItem": {
  40005. "type": "object",
  40006. "properties": {
  40007. "itemcode": {
  40008. "description": "代码",
  40009. "type": "string"
  40010. },
  40011. "itemid": {
  40012. "description": "项id",
  40013. "type": "integer"
  40014. },
  40015. "itemname": {
  40016. "description": "名称",
  40017. "type": "string"
  40018. },
  40019. "itemtype": {
  40020. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  40021. "type": "integer"
  40022. }
  40023. }
  40024. },
  40025. "models.WrFinanceBuyApply": {
  40026. "type": "object",
  40027. "properties": {
  40028. "applydate": {
  40029. "description": "申请时间",
  40030. "type": "string"
  40031. },
  40032. "applystatus": {
  40033. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40034. "type": "integer"
  40035. },
  40036. "applyuserid": {
  40037. "description": "申请人",
  40038. "type": "integer"
  40039. },
  40040. "auditdate": {
  40041. "description": "审核时间",
  40042. "type": "string"
  40043. },
  40044. "auditremark": {
  40045. "description": "审核备注",
  40046. "type": "string"
  40047. },
  40048. "audituserid": {
  40049. "description": "审核人",
  40050. "type": "integer"
  40051. },
  40052. "buyaccountid": {
  40053. "description": "买方资金账号",
  40054. "type": "integer"
  40055. },
  40056. "buyorsell": {
  40057. "description": "买卖 - 0:买 1:卖",
  40058. "type": "integer"
  40059. },
  40060. "buyuserid": {
  40061. "description": "买方用户ID",
  40062. "type": "integer"
  40063. },
  40064. "buyusername": {
  40065. "description": "买方名称",
  40066. "type": "string"
  40067. },
  40068. "buywrtradeorderid": {
  40069. "description": "融资方买委托单ID",
  40070. "type": "string"
  40071. },
  40072. "deliverygoodscode": {
  40073. "description": "品种代码",
  40074. "type": "string"
  40075. },
  40076. "deliverygoodsid": {
  40077. "description": "品种ID",
  40078. "type": "integer"
  40079. },
  40080. "deliverygoodsname": {
  40081. "description": "品种名称",
  40082. "type": "string"
  40083. },
  40084. "deliverymonth": {
  40085. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40086. "type": "string"
  40087. },
  40088. "enumdicname": {
  40089. "description": "单位名称",
  40090. "type": "string"
  40091. },
  40092. "financeaccountid": {
  40093. "description": "融资方资金帐户ID",
  40094. "type": "integer"
  40095. },
  40096. "financeapplyid": {
  40097. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40098. "type": "string"
  40099. },
  40100. "financeareauserid": {
  40101. "description": "融资方用户ID",
  40102. "type": "string"
  40103. },
  40104. "financename": {
  40105. "description": "融出方名称",
  40106. "type": "string"
  40107. },
  40108. "financetype": {
  40109. "description": "融资类型 1-融资回购",
  40110. "type": "integer"
  40111. },
  40112. "financingdays": {
  40113. "description": "天数(天)",
  40114. "type": "integer"
  40115. },
  40116. "freezebuymargin": {
  40117. "description": "冻结融资保证金(买方)",
  40118. "type": "number"
  40119. },
  40120. "handleremark": {
  40121. "description": "处理备注",
  40122. "type": "string"
  40123. },
  40124. "handlestatus": {
  40125. "description": "处理状态",
  40126. "type": "integer"
  40127. },
  40128. "interestminlen": {
  40129. "description": "最小起息天数",
  40130. "type": "integer"
  40131. },
  40132. "interestrate": {
  40133. "description": "利率",
  40134. "type": "number"
  40135. },
  40136. "interestratemode": {
  40137. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40138. "type": "integer"
  40139. },
  40140. "interestsettlemode": {
  40141. "description": "结息方式 - 1:按日结息 3:按月结息",
  40142. "type": "integer"
  40143. },
  40144. "interestsettlevalue": {
  40145. "description": "结息方式值",
  40146. "type": "integer"
  40147. },
  40148. "isautoloan": {
  40149. "description": "是否自动放款 - 0:手动 1:自动",
  40150. "type": "integer"
  40151. },
  40152. "marginratio": {
  40153. "description": "保证金比率质押率 - [仓单质押]",
  40154. "type": "number"
  40155. },
  40156. "marketid": {
  40157. "description": "市场ID",
  40158. "type": "integer"
  40159. },
  40160. "minivalue": {
  40161. "description": "现货商品最小变动值",
  40162. "type": "integer"
  40163. },
  40164. "optioncompare": {
  40165. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40166. "type": "string"
  40167. },
  40168. "orderqty": {
  40169. "description": "委托数量(商品数量)",
  40170. "type": "number"
  40171. },
  40172. "productdetailid": {
  40173. "description": "产品组合ID",
  40174. "type": "integer"
  40175. },
  40176. "productid": {
  40177. "description": "金融产品ID",
  40178. "type": "integer"
  40179. },
  40180. "productname": {
  40181. "description": "产品名称",
  40182. "type": "string"
  40183. },
  40184. "remark": {
  40185. "description": "备注",
  40186. "type": "string"
  40187. },
  40188. "scfcontractid": {
  40189. "description": "仓单回购合同ID",
  40190. "type": "string"
  40191. },
  40192. "sellaccountid": {
  40193. "description": "卖方资金账号",
  40194. "type": "integer"
  40195. },
  40196. "selluserid": {
  40197. "description": "卖方用户ID",
  40198. "type": "integer"
  40199. },
  40200. "sellwrtradeorderid": {
  40201. "description": "卖方委托单ID",
  40202. "type": "string"
  40203. },
  40204. "tradeamount": {
  40205. "description": "成交金额(借款金额)",
  40206. "type": "number"
  40207. },
  40208. "tradedate": {
  40209. "description": "交易日(yyyyMMdd)",
  40210. "type": "string"
  40211. },
  40212. "tradeprice": {
  40213. "description": "成交价格",
  40214. "type": "number"
  40215. },
  40216. "warehouseid": {
  40217. "description": "仓库ID",
  40218. "type": "integer"
  40219. },
  40220. "warehousename": {
  40221. "description": "仓库名称",
  40222. "type": "string"
  40223. },
  40224. "wrfactortypeid": {
  40225. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40226. "type": "string"
  40227. },
  40228. "wrfactortypename": {
  40229. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40230. "type": "string"
  40231. },
  40232. "wrpricetype": {
  40233. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40234. "type": "integer"
  40235. },
  40236. "wrstandardcode": {
  40237. "description": "现货商品代码",
  40238. "type": "string"
  40239. },
  40240. "wrstandardid": {
  40241. "description": "现货商品ID",
  40242. "type": "integer"
  40243. },
  40244. "wrstandardname": {
  40245. "description": "商品名称",
  40246. "type": "string"
  40247. },
  40248. "wrtypename": {
  40249. "description": "商品",
  40250. "type": "string"
  40251. }
  40252. }
  40253. },
  40254. "models.WrFriendApply": {
  40255. "type": "object",
  40256. "properties": {
  40257. "applicantid": {
  40258. "description": "申请人",
  40259. "type": "integer"
  40260. },
  40261. "applyname": {
  40262. "description": "申请人名称",
  40263. "type": "string"
  40264. },
  40265. "applysrc": {
  40266. "description": "申请来源 - 1:管理端 2:终端",
  40267. "type": "integer"
  40268. },
  40269. "applystatus": {
  40270. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40271. "type": "integer"
  40272. },
  40273. "applytime": {
  40274. "description": "申请时间",
  40275. "type": "string"
  40276. },
  40277. "auditname": {
  40278. "description": "审核人名称",
  40279. "type": "string"
  40280. },
  40281. "auditorid": {
  40282. "description": "审核人",
  40283. "type": "integer"
  40284. },
  40285. "auditremark": {
  40286. "description": "审核备注",
  40287. "type": "string"
  40288. },
  40289. "auditsrc": {
  40290. "description": "审核来源 - 1:管理端 2:终端",
  40291. "type": "integer"
  40292. },
  40293. "audittime": {
  40294. "description": "审核时间",
  40295. "type": "string"
  40296. },
  40297. "friendapplyid": {
  40298. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40299. "type": "string"
  40300. },
  40301. "friendname": {
  40302. "description": "好友名字(已脱敏)",
  40303. "type": "string"
  40304. },
  40305. "frienduserid": {
  40306. "description": "好友用户ID",
  40307. "type": "string"
  40308. },
  40309. "remark": {
  40310. "description": "备注",
  40311. "type": "string"
  40312. },
  40313. "userid": {
  40314. "description": "申请人用户ID",
  40315. "type": "integer"
  40316. }
  40317. }
  40318. },
  40319. "models.WrFtDeliveryGoods": {
  40320. "type": "object",
  40321. "properties": {
  40322. "deliverygoodscode": {
  40323. "description": "品种代码",
  40324. "type": "string"
  40325. },
  40326. "deliverygoodsid": {
  40327. "description": "品种ID",
  40328. "type": "integer"
  40329. },
  40330. "deliverygoodsname": {
  40331. "description": "品种名称",
  40332. "type": "string"
  40333. },
  40334. "wdlst": {
  40335. "description": "商品列表",
  40336. "type": "array",
  40337. "items": {
  40338. "$ref": "#/definitions/models.WrFtWrstandard"
  40339. }
  40340. }
  40341. }
  40342. },
  40343. "models.WrFtWrstandard": {
  40344. "type": "object",
  40345. "properties": {
  40346. "enumdicname": {
  40347. "description": "单位名称",
  40348. "type": "string"
  40349. },
  40350. "minivalue": {
  40351. "description": "最小变动值",
  40352. "type": "integer"
  40353. },
  40354. "wrstandardcode": {
  40355. "description": "现货商品代码",
  40356. "type": "string"
  40357. },
  40358. "wrstandardid": {
  40359. "description": "现货商品ID",
  40360. "type": "integer"
  40361. },
  40362. "wrstandardname": {
  40363. "description": "商品名称",
  40364. "type": "string"
  40365. }
  40366. }
  40367. },
  40368. "models.WrGoodsInfo": {
  40369. "type": "object",
  40370. "properties": {
  40371. "haswr": {
  40372. "description": "0:仓单预售 1:仓单贸易",
  40373. "type": "integer"
  40374. },
  40375. "lstitem": {
  40376. "description": "商品信息项",
  40377. "type": "array",
  40378. "items": {
  40379. "$ref": "#/definitions/models.WrTypeItem"
  40380. }
  40381. },
  40382. "lststep": {
  40383. "description": "履约规则",
  40384. "type": "array",
  40385. "items": {
  40386. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40387. }
  40388. },
  40389. "marketid": {
  40390. "description": "市场id",
  40391. "type": "integer"
  40392. }
  40393. }
  40394. },
  40395. "models.WrGoodsPerformanceStep": {
  40396. "type": "object",
  40397. "properties": {
  40398. "autoid": {
  40399. "description": "AutoID",
  40400. "type": "integer"
  40401. },
  40402. "isauto": {
  40403. "description": "是否自动 - 0:不自动 1:自动",
  40404. "type": "integer"
  40405. },
  40406. "remark": {
  40407. "description": "备注",
  40408. "type": "string"
  40409. },
  40410. "stepdate": {
  40411. "description": "天数信息(T+N)",
  40412. "type": "string"
  40413. },
  40414. "stepdays": {
  40415. "description": "距离上一步天数",
  40416. "type": "integer"
  40417. },
  40418. "stepindex": {
  40419. "description": "步骤序号",
  40420. "type": "integer"
  40421. },
  40422. "stepinfo": {
  40423. "description": "步骤信息(步骤名称+步骤值)",
  40424. "type": "string"
  40425. },
  40426. "steptypeid": {
  40427. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40428. "type": "integer"
  40429. },
  40430. "steptypename": {
  40431. "description": "步骤名称",
  40432. "type": "string"
  40433. },
  40434. "stepvalue": {
  40435. "description": "期初均价",
  40436. "type": "number"
  40437. },
  40438. "templateid": {
  40439. "description": "履约计划模板ID",
  40440. "type": "integer"
  40441. }
  40442. }
  40443. },
  40444. "models.WrHoldLB": {
  40445. "type": "object",
  40446. "properties": {
  40447. "accountid": {
  40448. "description": "持有人帐户ID",
  40449. "type": "integer"
  40450. },
  40451. "bannerpicurl": {
  40452. "description": "Banner图",
  40453. "type": "string"
  40454. },
  40455. "createtime": {
  40456. "description": "创建时间(过户时间)",
  40457. "type": "string"
  40458. },
  40459. "deliverygoodscode": {
  40460. "description": "品种代码",
  40461. "type": "string"
  40462. },
  40463. "deliverygoodsid": {
  40464. "description": "品种ID",
  40465. "type": "integer"
  40466. },
  40467. "deliverygoodsname": {
  40468. "description": "品种名称",
  40469. "type": "string"
  40470. },
  40471. "enableqty": {
  40472. "description": "可用数量",
  40473. "type": "number"
  40474. },
  40475. "enumdicname": {
  40476. "description": "单位名称",
  40477. "type": "string"
  40478. },
  40479. "freezerqty": {
  40480. "description": "冻结数量",
  40481. "type": "number"
  40482. },
  40483. "ladingbillid": {
  40484. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40485. "type": "string"
  40486. },
  40487. "minivalue": {
  40488. "description": "现货商品最小变动值",
  40489. "type": "integer"
  40490. },
  40491. "optioncompare": {
  40492. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40493. "type": "string"
  40494. },
  40495. "parentsubnum": {
  40496. "description": "拆分父子单号",
  40497. "type": "integer"
  40498. },
  40499. "pledgeqty": {
  40500. "description": "质押数量",
  40501. "type": "number"
  40502. },
  40503. "qty": {
  40504. "description": "数量",
  40505. "type": "number"
  40506. },
  40507. "subnum": {
  40508. "description": "提单子单号",
  40509. "type": "integer"
  40510. },
  40511. "thumurls": {
  40512. "description": "缩略图",
  40513. "type": "string"
  40514. },
  40515. "tradedate": {
  40516. "description": "交易日(yyyyMMdd)",
  40517. "type": "string"
  40518. },
  40519. "userid": {
  40520. "description": "持有人ID",
  40521. "type": "integer"
  40522. },
  40523. "warehouseid": {
  40524. "description": "仓库ID",
  40525. "type": "integer"
  40526. },
  40527. "warehousename": {
  40528. "description": "仓库名称",
  40529. "type": "string"
  40530. },
  40531. "wrfactortypeid": {
  40532. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40533. "type": "string"
  40534. },
  40535. "wrfactortypename": {
  40536. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40537. "type": "string"
  40538. },
  40539. "wrholdeno": {
  40540. "description": "仓单编号",
  40541. "type": "string"
  40542. },
  40543. "wrid": {
  40544. "description": "仓单变更ID",
  40545. "type": "string"
  40546. },
  40547. "wrstandardcode": {
  40548. "description": "现货商品代码",
  40549. "type": "string"
  40550. },
  40551. "wrstandardid": {
  40552. "description": "现货商品ID",
  40553. "type": "integer"
  40554. },
  40555. "wrstandardname": {
  40556. "description": "商品名称",
  40557. "type": "string"
  40558. },
  40559. "wrtypename": {
  40560. "description": "商品",
  40561. "type": "string"
  40562. }
  40563. }
  40564. },
  40565. "models.WrMarketTradeConfig": {
  40566. "type": "object",
  40567. "properties": {
  40568. "basisdownratio": {
  40569. "description": "浮动价基差下限比例(仓单贸易)",
  40570. "type": "number"
  40571. },
  40572. "basisupratio": {
  40573. "description": "浮动价基差上限比例(仓单贸易)",
  40574. "type": "number"
  40575. },
  40576. "buychargealgorithm": {
  40577. "description": "买方手续费收取方式 1:比率 2:固定",
  40578. "type": "integer"
  40579. },
  40580. "buychargealgorithm2": {
  40581. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40582. "type": "integer"
  40583. },
  40584. "buychargealgorithmvalue": {
  40585. "description": "买方手续费设置值(交易所部分)",
  40586. "type": "number"
  40587. },
  40588. "buychargealgorithmvalue2": {
  40589. "description": "买方手续费设置值(会员部分)",
  40590. "type": "number"
  40591. },
  40592. "buychargealgorithmvalue3": {
  40593. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  40594. "type": "number"
  40595. },
  40596. "buychargealgorithmvalue4": {
  40597. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  40598. "type": "number"
  40599. },
  40600. "buyfirstmarginalgorithm": {
  40601. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  40602. "type": "integer"
  40603. },
  40604. "buyfirstmarginvalue": {
  40605. "description": "买方出价保证金设置值 - [竞拍]",
  40606. "type": "number"
  40607. },
  40608. "buymarginalgorithm": {
  40609. "description": "买方保证金方式 - 1:比率 2:固定",
  40610. "type": "integer"
  40611. },
  40612. "buymarginvalue": {
  40613. "description": "买方保证金设置值",
  40614. "type": "number"
  40615. },
  40616. "buyreleaseratio": {
  40617. "description": "买方释放比率[2:分步履约]",
  40618. "type": "number"
  40619. },
  40620. "executemode": {
  40621. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  40622. "type": "integer"
  40623. },
  40624. "executeside": {
  40625. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  40626. "type": "integer"
  40627. },
  40628. "failedchargealgorithm": {
  40629. "description": "流拍手续费收取方式 1:比率 2:固定",
  40630. "type": "integer"
  40631. },
  40632. "failedchargevalue": {
  40633. "description": "流拍手续费设置值",
  40634. "type": "number"
  40635. },
  40636. "failedchargevalue2": {
  40637. "description": "流拍卖方手续费设置值",
  40638. "type": "number"
  40639. },
  40640. "holddays": {
  40641. "description": "合同期限[2:分步履约]",
  40642. "type": "integer"
  40643. },
  40644. "listingmode": {
  40645. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40646. "type": "integer"
  40647. },
  40648. "marketid": {
  40649. "description": "市场ID-仓单贸易、竞拍、预售",
  40650. "type": "integer"
  40651. },
  40652. "minqty": {
  40653. "description": "最小执行量[2:分步履约]",
  40654. "type": "number"
  40655. },
  40656. "modifierid": {
  40657. "description": "修改人",
  40658. "type": "integer"
  40659. },
  40660. "nowrquotaflag": {
  40661. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  40662. "type": "integer"
  40663. },
  40664. "performancetempid": {
  40665. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40666. "type": "integer"
  40667. },
  40668. "performancetempid2": {
  40669. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40670. "type": "integer"
  40671. },
  40672. "performancetempid2s": {
  40673. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40674. "type": "string"
  40675. },
  40676. "performancetempids": {
  40677. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40678. "type": "string"
  40679. },
  40680. "performanceway": {
  40681. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40682. "type": "integer"
  40683. },
  40684. "sellchargealgorithm": {
  40685. "description": "卖方手续费收取方式 1:比率 2:固定",
  40686. "type": "integer"
  40687. },
  40688. "sellchargealgorithm2": {
  40689. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40690. "type": "integer"
  40691. },
  40692. "sellchargealgorithmvalue": {
  40693. "description": "卖方手续费设置值(交易所部分)",
  40694. "type": "number"
  40695. },
  40696. "sellchargealgorithmvalue2": {
  40697. "description": "卖方手续费设置值(会员部分)",
  40698. "type": "number"
  40699. },
  40700. "sellchargealgorithmvalue3": {
  40701. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40702. "type": "number"
  40703. },
  40704. "sellchargealgorithmvalue4": {
  40705. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40706. "type": "number"
  40707. },
  40708. "sellmarginalgorithm": {
  40709. "description": "卖方保证金方式 - 1:比率 2:固定",
  40710. "type": "integer"
  40711. },
  40712. "sellmarginvalue": {
  40713. "description": "卖方保证金设置值",
  40714. "type": "number"
  40715. },
  40716. "sellmarginvalue2": {
  40717. "description": "卖方保证金设置值(无仓单)",
  40718. "type": "number"
  40719. },
  40720. "sellreleaseratio": {
  40721. "description": "卖方释放比率[2:分步履约]",
  40722. "type": "number"
  40723. },
  40724. "updatetime": {
  40725. "description": "更新时间",
  40726. "type": "string"
  40727. }
  40728. }
  40729. },
  40730. "models.WrOrderDetail": {
  40731. "type": "object",
  40732. "properties": {
  40733. "accountid": {
  40734. "description": "交易账号(资金账号)",
  40735. "type": "integer"
  40736. },
  40737. "allfriendsflag": {
  40738. "description": "是否全好友可见 - 0:否 1:是",
  40739. "type": "integer"
  40740. },
  40741. "amount": {
  40742. "description": "期初均价",
  40743. "type": "number"
  40744. },
  40745. "bannerpicurl": {
  40746. "description": "Banner图",
  40747. "type": "string"
  40748. },
  40749. "begindate": {
  40750. "description": "开始交易日(yyyymmdd)",
  40751. "type": "string"
  40752. },
  40753. "buyorsell": {
  40754. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  40755. "type": "integer"
  40756. },
  40757. "canbargain": {
  40758. "description": "是否可议价 - 0:不可 1:可",
  40759. "type": "integer"
  40760. },
  40761. "cancelqty": {
  40762. "description": "撤销数量",
  40763. "type": "number"
  40764. },
  40765. "canpart": {
  40766. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  40767. "type": "integer"
  40768. },
  40769. "delistminqty": {
  40770. "description": "起摘数量",
  40771. "type": "integer"
  40772. },
  40773. "deliverygoodscode": {
  40774. "description": "品种代码",
  40775. "type": "string"
  40776. },
  40777. "deliverygoodsid": {
  40778. "description": "品种ID",
  40779. "type": "integer"
  40780. },
  40781. "deliverygoodsname": {
  40782. "description": "品种名称",
  40783. "type": "string"
  40784. },
  40785. "deliverymonth": {
  40786. "description": "交收月",
  40787. "type": "string"
  40788. },
  40789. "enddate": {
  40790. "description": "结束交易日(yyyymmdd)",
  40791. "type": "string"
  40792. },
  40793. "enumdicname": {
  40794. "description": "单位名称",
  40795. "type": "string"
  40796. },
  40797. "fixedprice": {
  40798. "description": "固定价格 - [挂牌]",
  40799. "type": "number"
  40800. },
  40801. "freezecharge": {
  40802. "description": "期初均价",
  40803. "type": "number"
  40804. },
  40805. "freezemargin": {
  40806. "description": "期初均价",
  40807. "type": "number"
  40808. },
  40809. "futupricemove": {
  40810. "description": "期货升贴水",
  40811. "type": "number"
  40812. },
  40813. "futushow": {
  40814. "description": "期货合约/升贴水",
  40815. "type": "string"
  40816. },
  40817. "goodscode": {
  40818. "description": "期货合约",
  40819. "type": "string"
  40820. },
  40821. "goodsid": {
  40822. "description": "期货商品id",
  40823. "type": "integer"
  40824. },
  40825. "goodsname": {
  40826. "description": "商品名称",
  40827. "type": "string"
  40828. },
  40829. "haswr": {
  40830. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40831. "type": "integer"
  40832. },
  40833. "isspecified": {
  40834. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  40835. "type": "integer"
  40836. },
  40837. "ladingbillid": {
  40838. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40839. "type": "string"
  40840. },
  40841. "marginvalue": {
  40842. "description": "期初均价",
  40843. "type": "number"
  40844. },
  40845. "marketid": {
  40846. "description": "市场ID",
  40847. "type": "integer"
  40848. },
  40849. "matchusername": {
  40850. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  40851. "type": "string"
  40852. },
  40853. "minivalue": {
  40854. "description": "现货商品最小变动值",
  40855. "type": "integer"
  40856. },
  40857. "optioncompare": {
  40858. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40859. "type": "string"
  40860. },
  40861. "orderqty": {
  40862. "description": "委托数量",
  40863. "type": "number"
  40864. },
  40865. "ordertime": {
  40866. "description": "委托时间(挂牌时间)",
  40867. "type": "string"
  40868. },
  40869. "performancetemplateid": {
  40870. "description": "履约模板id",
  40871. "type": "integer"
  40872. },
  40873. "pricemove": {
  40874. "description": "升贴水(浮动价时填写) - [挂牌]",
  40875. "type": "number"
  40876. },
  40877. "taname": {
  40878. "description": "交易用户名称(资金账号名称)",
  40879. "type": "string"
  40880. },
  40881. "thumurls": {
  40882. "description": "缩略图",
  40883. "type": "string"
  40884. },
  40885. "tradedate": {
  40886. "description": "交易日(yyyyMMdd)",
  40887. "type": "string"
  40888. },
  40889. "tradeprice": {
  40890. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  40891. "type": "number"
  40892. },
  40893. "tradeqty": {
  40894. "description": "成交数量",
  40895. "type": "number"
  40896. },
  40897. "userid": {
  40898. "description": "用户ID",
  40899. "type": "integer"
  40900. },
  40901. "validtime": {
  40902. "description": "挂牌有效期",
  40903. "type": "string"
  40904. },
  40905. "validtype": {
  40906. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40907. "type": "integer"
  40908. },
  40909. "warehouseid": {
  40910. "description": "仓库ID",
  40911. "type": "integer"
  40912. },
  40913. "warehousename": {
  40914. "description": "仓库名称",
  40915. "type": "string"
  40916. },
  40917. "wrfactortypeid": {
  40918. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40919. "type": "string"
  40920. },
  40921. "wrfactortypename": {
  40922. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40923. "type": "string"
  40924. },
  40925. "wrpricetype": {
  40926. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40927. "type": "integer"
  40928. },
  40929. "wrstandardcode": {
  40930. "description": "现货商品代码",
  40931. "type": "string"
  40932. },
  40933. "wrstandardid": {
  40934. "description": "现货商品ID",
  40935. "type": "integer"
  40936. },
  40937. "wrstandardname": {
  40938. "description": "商品名称",
  40939. "type": "string"
  40940. },
  40941. "wrtradeorderid": {
  40942. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40943. "type": "string"
  40944. },
  40945. "wrtradeorderstatus": {
  40946. "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:撤单解冻贷款失败",
  40947. "type": "integer"
  40948. },
  40949. "wrtradetype": {
  40950. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40951. "type": "integer"
  40952. },
  40953. "wrtypename": {
  40954. "description": "商品",
  40955. "type": "string"
  40956. }
  40957. }
  40958. },
  40959. "models.WrOrderQuote": {
  40960. "type": "object",
  40961. "properties": {
  40962. "bannerpicurl": {
  40963. "description": "Banner图",
  40964. "type": "string"
  40965. },
  40966. "buyprice": {
  40967. "description": "买价",
  40968. "type": "number"
  40969. },
  40970. "buypricemove": {
  40971. "description": "买升贴水(基差)",
  40972. "type": "number"
  40973. },
  40974. "buyqty": {
  40975. "description": "买量",
  40976. "type": "number"
  40977. },
  40978. "deliverygoodscode": {
  40979. "description": "品种代码",
  40980. "type": "string"
  40981. },
  40982. "deliverygoodsid": {
  40983. "description": "品种id",
  40984. "type": "integer"
  40985. },
  40986. "deliverygoodsname": {
  40987. "description": "品种名称",
  40988. "type": "string"
  40989. },
  40990. "deliverymonth": {
  40991. "description": "交收月",
  40992. "type": "string"
  40993. },
  40994. "enumdicname": {
  40995. "description": "单位名称",
  40996. "type": "string"
  40997. },
  40998. "goodscode": {
  40999. "description": "商品合约(浮动价列表才有)",
  41000. "type": "string"
  41001. },
  41002. "goodsid": {
  41003. "description": "商品id(浮动价列表才有)",
  41004. "type": "integer"
  41005. },
  41006. "minivalue": {
  41007. "description": "现货商品最小变动值",
  41008. "type": "integer"
  41009. },
  41010. "pictureurls": {
  41011. "description": "详情图片(逗号分隔)",
  41012. "type": "string"
  41013. },
  41014. "sellprice": {
  41015. "description": "卖价",
  41016. "type": "number"
  41017. },
  41018. "sellpricemove": {
  41019. "description": "卖升贴水(基差)",
  41020. "type": "number"
  41021. },
  41022. "sellqty": {
  41023. "description": "卖量",
  41024. "type": "number"
  41025. },
  41026. "thumurls": {
  41027. "description": "缩略图片(1:1)(逗号分隔)",
  41028. "type": "string"
  41029. },
  41030. "warehousecode": {
  41031. "description": "仓库代码",
  41032. "type": "string"
  41033. },
  41034. "warehouseid": {
  41035. "description": "仓库id",
  41036. "type": "integer"
  41037. },
  41038. "warehousename": {
  41039. "description": "仓库名称",
  41040. "type": "string"
  41041. },
  41042. "wrfactortypeid": {
  41043. "description": "仓单要素id",
  41044. "type": "string"
  41045. },
  41046. "wrfactortypename": {
  41047. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41048. "type": "string"
  41049. },
  41050. "wrgoodsname": {
  41051. "description": "商品(商品名称+仓库要素名称 拼接)",
  41052. "type": "string"
  41053. },
  41054. "wrstandardcode": {
  41055. "description": "商品代码",
  41056. "type": "string"
  41057. },
  41058. "wrstandardid": {
  41059. "description": "商品id",
  41060. "type": "integer"
  41061. },
  41062. "wrstandardname": {
  41063. "description": "商品名称",
  41064. "type": "string"
  41065. }
  41066. }
  41067. },
  41068. "models.WrOrderQuoteDetail": {
  41069. "type": "object",
  41070. "properties": {
  41071. "buyorsell": {
  41072. "description": "买卖 - 0:买 1:卖",
  41073. "type": "integer"
  41074. },
  41075. "delistminqty": {
  41076. "description": "期初均价",
  41077. "type": "number"
  41078. },
  41079. "deliverymonth": {
  41080. "description": "交收月",
  41081. "type": "string"
  41082. },
  41083. "enumdicname": {
  41084. "description": "单位名称",
  41085. "type": "string"
  41086. },
  41087. "fixedprice": {
  41088. "description": "买(卖)价",
  41089. "type": "number"
  41090. },
  41091. "marketid": {
  41092. "description": "市场id",
  41093. "type": "integer"
  41094. },
  41095. "minivalue": {
  41096. "description": "现货商品最小变动值",
  41097. "type": "integer"
  41098. },
  41099. "orderqty": {
  41100. "description": "买(卖)量(=委托量-成交量)",
  41101. "type": "number"
  41102. },
  41103. "ordertime": {
  41104. "description": "委托时间",
  41105. "type": "string"
  41106. },
  41107. "pricemove": {
  41108. "description": "买(卖)升贴水- 基差",
  41109. "type": "number"
  41110. },
  41111. "userid": {
  41112. "description": "购买方(销售方)用户ID",
  41113. "type": "integer"
  41114. },
  41115. "username": {
  41116. "description": "购买方(销售方)",
  41117. "type": "string"
  41118. },
  41119. "wrtradeorderid": {
  41120. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41121. "type": "string"
  41122. }
  41123. }
  41124. },
  41125. "models.WrOutInApply": {
  41126. "type": "object",
  41127. "properties": {
  41128. "applyid": {
  41129. "description": "申请单id",
  41130. "type": "string"
  41131. },
  41132. "applystatus": {
  41133. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41134. "type": "integer"
  41135. },
  41136. "applytime": {
  41137. "description": "申请时间",
  41138. "type": "string"
  41139. },
  41140. "applytype": {
  41141. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41142. "type": "integer"
  41143. },
  41144. "bannerpicurl": {
  41145. "description": "Banner图",
  41146. "type": "string"
  41147. },
  41148. "begindate": {
  41149. "description": "开始交易日(yyyymmdd)",
  41150. "type": "string"
  41151. },
  41152. "deliverygoodscode": {
  41153. "description": "品种代码",
  41154. "type": "string"
  41155. },
  41156. "deliverygoodsid": {
  41157. "description": "品种ID",
  41158. "type": "integer"
  41159. },
  41160. "deliverygoodsname": {
  41161. "description": "品种名称",
  41162. "type": "string"
  41163. },
  41164. "enddate": {
  41165. "description": "结束交易日(yyyymmdd)",
  41166. "type": "string"
  41167. },
  41168. "enumdicname": {
  41169. "description": "单位名称",
  41170. "type": "string"
  41171. },
  41172. "expresscompany": {
  41173. "description": "物流公司",
  41174. "type": "string"
  41175. },
  41176. "expressnum": {
  41177. "description": "物流单号",
  41178. "type": "string"
  41179. },
  41180. "minivalue": {
  41181. "description": "现货商品最小变动值",
  41182. "type": "integer"
  41183. },
  41184. "optioncompare": {
  41185. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41186. "type": "string"
  41187. },
  41188. "qty": {
  41189. "description": "数量",
  41190. "type": "integer"
  41191. },
  41192. "userid": {
  41193. "description": "用户id",
  41194. "type": "integer"
  41195. },
  41196. "warehouseid": {
  41197. "description": "仓库ID",
  41198. "type": "integer"
  41199. },
  41200. "warehousename": {
  41201. "description": "仓库名称",
  41202. "type": "string"
  41203. },
  41204. "wrfactortypeid": {
  41205. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41206. "type": "string"
  41207. },
  41208. "wrfactortypename": {
  41209. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41210. "type": "string"
  41211. },
  41212. "wrstandardcode": {
  41213. "description": "现货商品代码",
  41214. "type": "string"
  41215. },
  41216. "wrstandardid": {
  41217. "description": "现货商品ID",
  41218. "type": "integer"
  41219. },
  41220. "wrstandardname": {
  41221. "description": "商品名称",
  41222. "type": "string"
  41223. },
  41224. "wrtypename": {
  41225. "description": "商品",
  41226. "type": "string"
  41227. }
  41228. }
  41229. },
  41230. "models.WrPerformancePlan": {
  41231. "type": "object",
  41232. "required": [
  41233. "userid"
  41234. ],
  41235. "properties": {
  41236. "activatemonth": {
  41237. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41238. "type": "string"
  41239. },
  41240. "amount": {
  41241. "description": "履约金额(总金额)",
  41242. "type": "number"
  41243. },
  41244. "begindate": {
  41245. "description": "开始交易日(yyyymmdd)",
  41246. "type": "string"
  41247. },
  41248. "buyaccountid": {
  41249. "description": "买方账号",
  41250. "type": "integer"
  41251. },
  41252. "buyerfreezeamount": {
  41253. "description": "履约冻结(买履约)",
  41254. "type": "number"
  41255. },
  41256. "buyerfreezeamountremain": {
  41257. "description": "履约冻结剩余(买履约)",
  41258. "type": "number"
  41259. },
  41260. "buyorsell": {
  41261. "description": "买卖方向 0-买 1-卖",
  41262. "type": "integer"
  41263. },
  41264. "buypaidamount": {
  41265. "description": "买方已冻/已扣金额 (已付金额)",
  41266. "type": "number"
  41267. },
  41268. "buyusername": {
  41269. "description": "买方名字",
  41270. "type": "string"
  41271. },
  41272. "contractid": {
  41273. "description": "合同ID",
  41274. "type": "integer"
  41275. },
  41276. "createtime": {
  41277. "description": "创建时间",
  41278. "type": "string"
  41279. },
  41280. "creatorid": {
  41281. "description": "创建人",
  41282. "type": "integer"
  41283. },
  41284. "curstepdeadline": {
  41285. "description": "当前步骤到期时间",
  41286. "type": "string"
  41287. },
  41288. "curstepid": {
  41289. "description": "当前步骤ID",
  41290. "type": "string"
  41291. },
  41292. "curstepname": {
  41293. "description": "当前步骤名称",
  41294. "type": "string"
  41295. },
  41296. "deliverygoodscode": {
  41297. "description": "品种代码",
  41298. "type": "string"
  41299. },
  41300. "deliverygoodsid": {
  41301. "description": "品种ID",
  41302. "type": "integer"
  41303. },
  41304. "deliverygoodsname": {
  41305. "description": "品种名称",
  41306. "type": "string"
  41307. },
  41308. "enddate": {
  41309. "description": "结束交易日(yyyymmdd)",
  41310. "type": "string"
  41311. },
  41312. "enumdicname": {
  41313. "description": "单位名称",
  41314. "type": "string"
  41315. },
  41316. "expressfee": {
  41317. "description": "运费",
  41318. "type": "number"
  41319. },
  41320. "expressfeeconfirmed": {
  41321. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41322. "type": "integer"
  41323. },
  41324. "hasovershort": {
  41325. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41326. "type": "integer"
  41327. },
  41328. "haswr": {
  41329. "description": "类型 0-仓单预售 1-仓单贸易",
  41330. "type": "integer"
  41331. },
  41332. "marketid": {
  41333. "description": "市场ID",
  41334. "type": "integer"
  41335. },
  41336. "middleaccountid": {
  41337. "description": "中间商资金账号ID",
  41338. "type": "integer"
  41339. },
  41340. "middleuserid": {
  41341. "description": "中间商用户ID",
  41342. "type": "integer"
  41343. },
  41344. "minivalue": {
  41345. "description": "现货商品最小变动值",
  41346. "type": "integer"
  41347. },
  41348. "optioncompare": {
  41349. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41350. "type": "string"
  41351. },
  41352. "overshortamount": {
  41353. "description": "溢短金额",
  41354. "type": "number"
  41355. },
  41356. "overshortqty": {
  41357. "description": "溢短数量",
  41358. "type": "number"
  41359. },
  41360. "paymenttype": {
  41361. "description": "付款方式 - 1:冻结 2:扣款",
  41362. "type": "integer"
  41363. },
  41364. "performanceplanid": {
  41365. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41366. "type": "string"
  41367. },
  41368. "performancestatus": {
  41369. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41370. "type": "integer"
  41371. },
  41372. "performancetype": {
  41373. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41374. "type": "integer"
  41375. },
  41376. "qty": {
  41377. "description": "履约数量",
  41378. "type": "number"
  41379. },
  41380. "relatedorderid": {
  41381. "description": "关联单号(履约类型的关联单号)",
  41382. "type": "string"
  41383. },
  41384. "remark": {
  41385. "description": "备注",
  41386. "type": "string"
  41387. },
  41388. "sellaccountid": {
  41389. "description": "卖方账号",
  41390. "type": "integer"
  41391. },
  41392. "sellerfreezeamount": {
  41393. "description": "履约冻结(卖履约)",
  41394. "type": "number"
  41395. },
  41396. "sellerfreezeamountremain": {
  41397. "description": "履约冻结剩余(卖履约)",
  41398. "type": "number"
  41399. },
  41400. "sellreceivedamount": {
  41401. "description": "卖方已收金额",
  41402. "type": "number"
  41403. },
  41404. "sellusername": {
  41405. "description": "卖方名字",
  41406. "type": "string"
  41407. },
  41408. "shipremark": {
  41409. "description": "发货备注[物流单号]",
  41410. "type": "string"
  41411. },
  41412. "starttime": {
  41413. "description": "开始时间",
  41414. "type": "string"
  41415. },
  41416. "steptypeid": {
  41417. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41418. "type": "integer"
  41419. },
  41420. "typename": {
  41421. "description": "履约类型 名称",
  41422. "type": "string"
  41423. },
  41424. "unpaidamount": {
  41425. "description": "期初均价",
  41426. "type": "number"
  41427. },
  41428. "userid": {
  41429. "description": "用户id",
  41430. "type": "integer"
  41431. },
  41432. "warehouseid": {
  41433. "description": "仓库ID",
  41434. "type": "integer"
  41435. },
  41436. "warehousename": {
  41437. "description": "仓库名称",
  41438. "type": "string"
  41439. },
  41440. "wrfactortypeid": {
  41441. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41442. "type": "string"
  41443. },
  41444. "wrfactortypename": {
  41445. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41446. "type": "string"
  41447. },
  41448. "wrstandardcode": {
  41449. "description": "现货商品代码",
  41450. "type": "string"
  41451. },
  41452. "wrstandardid": {
  41453. "description": "现货商品ID",
  41454. "type": "integer"
  41455. },
  41456. "wrstandardname": {
  41457. "description": "商品名称",
  41458. "type": "string"
  41459. },
  41460. "wrtransferuserid": {
  41461. "description": "仓单受让用户",
  41462. "type": "integer"
  41463. },
  41464. "wrtypename": {
  41465. "description": "商品",
  41466. "type": "string"
  41467. }
  41468. }
  41469. },
  41470. "models.WrPerformancePlanStep": {
  41471. "type": "object",
  41472. "properties": {
  41473. "delaydays": {
  41474. "description": "延期申请天数",
  41475. "type": "integer"
  41476. },
  41477. "deliverygoodscode": {
  41478. "description": "品种代码",
  41479. "type": "string"
  41480. },
  41481. "deliverygoodsid": {
  41482. "description": "品种ID",
  41483. "type": "integer"
  41484. },
  41485. "deliverygoodsname": {
  41486. "description": "品种名称",
  41487. "type": "string"
  41488. },
  41489. "endtime": {
  41490. "description": "结束日期",
  41491. "type": "string"
  41492. },
  41493. "enumdicname": {
  41494. "description": "单位名称",
  41495. "type": "string"
  41496. },
  41497. "executeside": {
  41498. "description": "步骤执行方 - 1:买方 2:卖方",
  41499. "type": "integer"
  41500. },
  41501. "handlestatus": {
  41502. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  41503. "type": "integer"
  41504. },
  41505. "isauto": {
  41506. "description": "是否自动 - 0:不自动 1:自动",
  41507. "type": "integer"
  41508. },
  41509. "islastreceivestep": {
  41510. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  41511. "type": "integer"
  41512. },
  41513. "minivalue": {
  41514. "description": "现货商品最小变动值",
  41515. "type": "integer"
  41516. },
  41517. "optioncompare": {
  41518. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41519. "type": "string"
  41520. },
  41521. "overdays": {
  41522. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  41523. "type": "integer"
  41524. },
  41525. "performancestepid": {
  41526. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  41527. "type": "string"
  41528. },
  41529. "planid": {
  41530. "description": "所属履约计划ID",
  41531. "type": "string"
  41532. },
  41533. "realamount": {
  41534. "description": "实际完成金额",
  41535. "type": "number"
  41536. },
  41537. "relatedorderid": {
  41538. "description": "关联单号",
  41539. "type": "string"
  41540. },
  41541. "remaindays": {
  41542. "description": "剩余天数",
  41543. "type": "integer"
  41544. },
  41545. "remark": {
  41546. "description": "错误备注",
  41547. "type": "string"
  41548. },
  41549. "starttime": {
  41550. "description": "开始日期",
  41551. "type": "string"
  41552. },
  41553. "stepamount": {
  41554. "description": "步骤金额",
  41555. "type": "number"
  41556. },
  41557. "stepdays": {
  41558. "description": "距离上一步天数(分钟)",
  41559. "type": "integer"
  41560. },
  41561. "stepindex": {
  41562. "description": "步骤序号",
  41563. "type": "integer"
  41564. },
  41565. "steplanchtype": {
  41566. "description": "步骤启动类型 - 1:系统自动 2:手动",
  41567. "type": "integer"
  41568. },
  41569. "stepremark": {
  41570. "description": "步骤备注",
  41571. "type": "string"
  41572. },
  41573. "stepstatus": {
  41574. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  41575. "type": "integer"
  41576. },
  41577. "steptypeid": {
  41578. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41579. "type": "integer"
  41580. },
  41581. "steptypename": {
  41582. "description": "步骤名称",
  41583. "type": "string"
  41584. },
  41585. "stepvalue": {
  41586. "description": "步骤值",
  41587. "type": "number"
  41588. },
  41589. "warehouseid": {
  41590. "description": "仓库ID",
  41591. "type": "integer"
  41592. },
  41593. "warehousename": {
  41594. "description": "仓库名称",
  41595. "type": "string"
  41596. },
  41597. "wrfactortypeid": {
  41598. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41599. "type": "string"
  41600. },
  41601. "wrfactortypename": {
  41602. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41603. "type": "string"
  41604. },
  41605. "wrstandardcode": {
  41606. "description": "现货商品代码",
  41607. "type": "string"
  41608. },
  41609. "wrstandardid": {
  41610. "description": "现货商品ID",
  41611. "type": "integer"
  41612. },
  41613. "wrstandardname": {
  41614. "description": "商品名称",
  41615. "type": "string"
  41616. },
  41617. "wrtypename": {
  41618. "description": "商品",
  41619. "type": "string"
  41620. }
  41621. }
  41622. },
  41623. "models.WrPerformanceStepType": {
  41624. "type": "object",
  41625. "properties": {
  41626. "canauto": {
  41627. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  41628. "type": "integer"
  41629. },
  41630. "steptypeid": {
  41631. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  41632. "type": "integer"
  41633. },
  41634. "steptypename": {
  41635. "description": "步骤类型名称",
  41636. "type": "string"
  41637. }
  41638. }
  41639. },
  41640. "models.WrPerformanceTemplateEx": {
  41641. "type": "object",
  41642. "properties": {
  41643. "autoid": {
  41644. "description": "AutoID 模板id",
  41645. "type": "integer"
  41646. },
  41647. "createtime": {
  41648. "description": "创建时间",
  41649. "type": "string"
  41650. },
  41651. "creatorid": {
  41652. "description": "创建人",
  41653. "type": "integer"
  41654. },
  41655. "lstStep": {
  41656. "description": "步骤信息列表",
  41657. "type": "array",
  41658. "items": {
  41659. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41660. }
  41661. },
  41662. "paymenttype": {
  41663. "description": "支付方式 - 1:冻结 2:扣款",
  41664. "type": "integer"
  41665. },
  41666. "takemode": {
  41667. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41668. "type": "integer"
  41669. },
  41670. "templatename": {
  41671. "description": "模板名称",
  41672. "type": "string"
  41673. },
  41674. "templatetype": {
  41675. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41676. "type": "integer"
  41677. },
  41678. "userid": {
  41679. "description": "所属用户",
  41680. "type": "integer"
  41681. }
  41682. }
  41683. },
  41684. "models.WrPosition": {
  41685. "type": "object",
  41686. "properties": {
  41687. "accountid": {
  41688. "description": "帐户ID",
  41689. "type": "integer"
  41690. },
  41691. "buyexcuteqty": {
  41692. "description": "采购履约中数量",
  41693. "type": "number"
  41694. },
  41695. "creditcurqty": {
  41696. "description": "授信当前数量(预售仓单:预售当前量)",
  41697. "type": "number"
  41698. },
  41699. "creditenableqty": {
  41700. "description": "授信可用数量(预售仓单: 可用数量)",
  41701. "type": "number"
  41702. },
  41703. "creditfreezeqty": {
  41704. "description": "授信冻结数量(预售仓单: 当前数量)",
  41705. "type": "number"
  41706. },
  41707. "credittotalqty": {
  41708. "description": "授信总数量(预售仓单:预售总量)",
  41709. "type": "number"
  41710. },
  41711. "credittradeqty": {
  41712. "description": "授信成交数量(预售仓单:成交总量)",
  41713. "type": "number"
  41714. },
  41715. "deliverygoodscode": {
  41716. "description": "品种代码",
  41717. "type": "string"
  41718. },
  41719. "deliverygoodsid": {
  41720. "description": "品种ID",
  41721. "type": "integer"
  41722. },
  41723. "deliverygoodsname": {
  41724. "description": "品种名称",
  41725. "type": "string"
  41726. },
  41727. "enalbeqty": {
  41728. "description": "可用数量",
  41729. "type": "number"
  41730. },
  41731. "enumdicname": {
  41732. "description": "单位名称",
  41733. "type": "string"
  41734. },
  41735. "freezeqty": {
  41736. "description": "总冻结数量",
  41737. "type": "number"
  41738. },
  41739. "haswr": {
  41740. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41741. "type": "integer"
  41742. },
  41743. "minivalue": {
  41744. "description": "现货商品最小变动值",
  41745. "type": "integer"
  41746. },
  41747. "modifytime": {
  41748. "description": "修改时间(过户时间)",
  41749. "type": "string"
  41750. },
  41751. "optioncompare": {
  41752. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41753. "type": "string"
  41754. },
  41755. "pledgeqty": {
  41756. "description": "质押数量",
  41757. "type": "number"
  41758. },
  41759. "querytype": {
  41760. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  41761. "type": "integer"
  41762. },
  41763. "sellexcuteqty": {
  41764. "description": "销售履约中数量",
  41765. "type": "number"
  41766. },
  41767. "totalqty": {
  41768. "description": "总数量(库存数量)",
  41769. "type": "number"
  41770. },
  41771. "warehouseid": {
  41772. "description": "仓库ID",
  41773. "type": "integer"
  41774. },
  41775. "warehousename": {
  41776. "description": "仓库名称",
  41777. "type": "string"
  41778. },
  41779. "wrfactortypeid": {
  41780. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41781. "type": "string"
  41782. },
  41783. "wrfactortypename": {
  41784. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41785. "type": "string"
  41786. },
  41787. "wrpositionid": {
  41788. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41789. "type": "string"
  41790. },
  41791. "wrpositionno": {
  41792. "description": "仓单编号",
  41793. "type": "string"
  41794. },
  41795. "wrstandardcode": {
  41796. "description": "现货商品代码",
  41797. "type": "string"
  41798. },
  41799. "wrstandardid": {
  41800. "description": "现货商品ID",
  41801. "type": "integer"
  41802. },
  41803. "wrstandardname": {
  41804. "description": "商品名称",
  41805. "type": "string"
  41806. },
  41807. "wrtypename": {
  41808. "description": "商品",
  41809. "type": "string"
  41810. },
  41811. "wruserid": {
  41812. "description": "持有人ID",
  41813. "type": "integer"
  41814. }
  41815. }
  41816. },
  41817. "models.WrPreSaleInfo": {
  41818. "type": "object",
  41819. "properties": {
  41820. "bannerpicurl": {
  41821. "description": "Banner图",
  41822. "type": "string"
  41823. },
  41824. "baseqty": {
  41825. "description": "中签基数",
  41826. "type": "number"
  41827. },
  41828. "createtime": {
  41829. "description": "创建时间",
  41830. "type": "string"
  41831. },
  41832. "deliverygoodsid": {
  41833. "description": "现货品种ID",
  41834. "type": "integer"
  41835. },
  41836. "enddate": {
  41837. "description": "预售结束日期",
  41838. "type": "string"
  41839. },
  41840. "enumdicname": {
  41841. "description": "单位名称",
  41842. "type": "string"
  41843. },
  41844. "lotteryflag": {
  41845. "description": "摇号标识 - 0:未摇号 1:已摇号",
  41846. "type": "integer"
  41847. },
  41848. "lotteryqty": {
  41849. "description": "摇号总量",
  41850. "type": "number"
  41851. },
  41852. "luckyqty": {
  41853. "description": "已中签量",
  41854. "type": "number"
  41855. },
  41856. "marketid": {
  41857. "description": "市场ID",
  41858. "type": "integer"
  41859. },
  41860. "maxbuyqty": {
  41861. "description": "单人最大申购量",
  41862. "type": "number"
  41863. },
  41864. "maxluckyqty": {
  41865. "description": "单人最大中签量",
  41866. "type": "number"
  41867. },
  41868. "pictureurls": {
  41869. "description": "详情图片(逗号分隔)",
  41870. "type": "string"
  41871. },
  41872. "placeqty": {
  41873. "description": "已配售量",
  41874. "type": "number"
  41875. },
  41876. "presaleapplyid": {
  41877. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41878. "type": "string",
  41879. "example": "0"
  41880. },
  41881. "presaleqty": {
  41882. "description": "预售总量",
  41883. "type": "number"
  41884. },
  41885. "presalestatus": {
  41886. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  41887. "type": "integer"
  41888. },
  41889. "sellaccountid": {
  41890. "description": "发行方资金账户ID",
  41891. "type": "integer"
  41892. },
  41893. "selluserid": {
  41894. "description": "发行方用户ID",
  41895. "type": "integer"
  41896. },
  41897. "sellwrtradeorderid": {
  41898. "description": "发行方卖委托单ID",
  41899. "type": "string"
  41900. },
  41901. "startdate": {
  41902. "description": "预售开始日期",
  41903. "type": "string"
  41904. },
  41905. "takestartdate": {
  41906. "description": "提货开始日期",
  41907. "type": "string"
  41908. },
  41909. "thumurls": {
  41910. "description": "缩略图片(1:1)(逗号分隔)",
  41911. "type": "string"
  41912. },
  41913. "tradedate": {
  41914. "description": "交易日",
  41915. "type": "string"
  41916. },
  41917. "unitid": {
  41918. "description": "单位ID",
  41919. "type": "integer"
  41920. },
  41921. "unitprice": {
  41922. "description": "商品单价",
  41923. "type": "number"
  41924. },
  41925. "username": {
  41926. "description": "发行方用户名称",
  41927. "type": "string"
  41928. },
  41929. "warehousecode": {
  41930. "description": "仓库代码(仓库简称)",
  41931. "type": "string"
  41932. },
  41933. "warehouseid": {
  41934. "description": "仓库ID",
  41935. "type": "integer"
  41936. },
  41937. "warehousename": {
  41938. "description": "仓库名称",
  41939. "type": "string"
  41940. },
  41941. "wrfactortypeid": {
  41942. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  41943. "type": "string",
  41944. "example": "0"
  41945. },
  41946. "wrstandardid": {
  41947. "description": "现货商品ID",
  41948. "type": "integer"
  41949. },
  41950. "wrstandardname": {
  41951. "description": "现货商品名称",
  41952. "type": "string"
  41953. }
  41954. }
  41955. },
  41956. "models.WrQuoteOrderMyq": {
  41957. "type": "object",
  41958. "properties": {
  41959. "buyorsell": {
  41960. "description": "买卖 - 0:买 1:卖",
  41961. "type": "integer"
  41962. },
  41963. "canbargain": {
  41964. "description": "是否可议价 - 0:不可 1:可",
  41965. "type": "integer"
  41966. },
  41967. "canpart": {
  41968. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41969. "type": "integer"
  41970. },
  41971. "delistminqty": {
  41972. "description": "期初均价",
  41973. "type": "number"
  41974. },
  41975. "deliverygoodscode": {
  41976. "description": "品种代码",
  41977. "type": "string"
  41978. },
  41979. "deliverygoodsid": {
  41980. "description": "品种ID",
  41981. "type": "integer"
  41982. },
  41983. "deliverygoodsname": {
  41984. "description": "品种名称",
  41985. "type": "string"
  41986. },
  41987. "deliverymonth": {
  41988. "description": "交收月",
  41989. "type": "string"
  41990. },
  41991. "enumdicname": {
  41992. "description": "单位名称",
  41993. "type": "string"
  41994. },
  41995. "fixedprice": {
  41996. "description": "买(卖)价",
  41997. "type": "number"
  41998. },
  41999. "goodscode": {
  42000. "description": "商品合约代码",
  42001. "type": "string"
  42002. },
  42003. "marginflag": {
  42004. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  42005. "type": "integer"
  42006. },
  42007. "marginvalue": {
  42008. "description": "保证金设置值",
  42009. "type": "number"
  42010. },
  42011. "minivalue": {
  42012. "description": "现货商品最小变动值",
  42013. "type": "integer"
  42014. },
  42015. "orderqty": {
  42016. "description": "买(卖)量(=委托量-成交量)",
  42017. "type": "number"
  42018. },
  42019. "ordertime": {
  42020. "description": "委托时间",
  42021. "type": "string"
  42022. },
  42023. "performancetemplateid": {
  42024. "description": "履约模板id",
  42025. "type": "integer"
  42026. },
  42027. "pricemove": {
  42028. "description": "买(卖)升贴水- 基差",
  42029. "type": "number"
  42030. },
  42031. "templatename": {
  42032. "description": "履约模板名称",
  42033. "type": "string"
  42034. },
  42035. "userid": {
  42036. "description": "购买方(销售方)用户ID",
  42037. "type": "integer"
  42038. },
  42039. "username": {
  42040. "description": "购买方(销售方)",
  42041. "type": "string"
  42042. },
  42043. "validtime": {
  42044. "description": "有效期限",
  42045. "type": "string"
  42046. },
  42047. "validtype": {
  42048. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42049. "type": "integer"
  42050. },
  42051. "warehousename": {
  42052. "description": "仓库名称",
  42053. "type": "string"
  42054. },
  42055. "wrfactortypeid": {
  42056. "description": "仓单要素id",
  42057. "type": "string"
  42058. },
  42059. "wrstandardcode": {
  42060. "description": "现货商品代码",
  42061. "type": "string"
  42062. },
  42063. "wrstandardid": {
  42064. "description": "现货商品ID",
  42065. "type": "integer"
  42066. },
  42067. "wrstandardname": {
  42068. "description": "商品名称",
  42069. "type": "string"
  42070. },
  42071. "wrtradeorderid": {
  42072. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42073. "type": "string"
  42074. },
  42075. "wrtypename": {
  42076. "description": "商品",
  42077. "type": "string"
  42078. }
  42079. }
  42080. },
  42081. "models.WrReckonSpotGoodsTradeSum": {
  42082. "type": "object",
  42083. "properties": {
  42084. "begindate": {
  42085. "description": "开始日期(结果含开始日期) yyyymmdd",
  42086. "type": "string"
  42087. },
  42088. "enddate": {
  42089. "description": "结束日期(结果含结束日期) yyyymmdd",
  42090. "type": "string"
  42091. },
  42092. "istoday": {
  42093. "description": "是否当日",
  42094. "type": "boolean"
  42095. },
  42096. "marketid": {
  42097. "description": "市场ID",
  42098. "type": "integer"
  42099. },
  42100. "price": {
  42101. "description": "价格 = 日成交金额 / 日成交数量",
  42102. "type": "string"
  42103. },
  42104. "reckondate": {
  42105. "description": "日期 格式 yyyymmdd",
  42106. "type": "string"
  42107. },
  42108. "tradeamount": {
  42109. "description": "期初均价",
  42110. "type": "number"
  42111. },
  42112. "tradeqty": {
  42113. "description": "期初均价",
  42114. "type": "number"
  42115. },
  42116. "wrstandardid": {
  42117. "description": "现货商品ID",
  42118. "type": "integer"
  42119. }
  42120. }
  42121. },
  42122. "models.WrScfContract": {
  42123. "type": "object",
  42124. "properties": {
  42125. "borroweruserid": {
  42126. "description": "借款用户ID",
  42127. "type": "integer"
  42128. },
  42129. "buybackwrpositionqty": {
  42130. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42131. "type": "number"
  42132. },
  42133. "closeinterest": {
  42134. "description": "已结利息 -\u003e 已结费用",
  42135. "type": "number"
  42136. },
  42137. "currisklevel": {
  42138. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42139. "type": "integer"
  42140. },
  42141. "deadline": {
  42142. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42143. "type": "string"
  42144. },
  42145. "deliverygoodscode": {
  42146. "description": "品种代码",
  42147. "type": "string"
  42148. },
  42149. "deliverygoodsid": {
  42150. "description": "品种ID",
  42151. "type": "integer"
  42152. },
  42153. "deliverygoodsname": {
  42154. "description": "品种名称",
  42155. "type": "string"
  42156. },
  42157. "enumdicname": {
  42158. "description": "单位名称",
  42159. "type": "string"
  42160. },
  42161. "financingdays": {
  42162. "description": "天数(天)",
  42163. "type": "integer"
  42164. },
  42165. "initmargin": {
  42166. "description": "保证金 - [仓单回购]",
  42167. "type": "number"
  42168. },
  42169. "interestamount": {
  42170. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42171. "type": "number"
  42172. },
  42173. "interestdebt": {
  42174. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42175. "type": "number"
  42176. },
  42177. "interestminlen": {
  42178. "description": "最小起息天数",
  42179. "type": "integer"
  42180. },
  42181. "interestrate": {
  42182. "description": "利率",
  42183. "type": "number"
  42184. },
  42185. "interestratemode": {
  42186. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42187. "type": "integer"
  42188. },
  42189. "interestsettlemode": {
  42190. "description": "结息方式 - 1:按日结息 3:按月结息",
  42191. "type": "integer"
  42192. },
  42193. "interestsettlevalue": {
  42194. "description": "结息方式值",
  42195. "type": "integer"
  42196. },
  42197. "isautoloan": {
  42198. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42199. "type": "integer"
  42200. },
  42201. "lastcloseinterestday": {
  42202. "description": "最近结息日(yyyyMMdd)",
  42203. "type": "string"
  42204. },
  42205. "lenderamount": {
  42206. "description": "贷款金额 -\u003e 借款金额",
  42207. "type": "number"
  42208. },
  42209. "lenderuserid": {
  42210. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42211. "type": "integer"
  42212. },
  42213. "lenderusername": {
  42214. "description": "融出方",
  42215. "type": "string"
  42216. },
  42217. "marginratio": {
  42218. "description": "保证金比率质押率 - [仓单质押]",
  42219. "type": "number"
  42220. },
  42221. "marketid": {
  42222. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42223. "type": "integer"
  42224. },
  42225. "minivalue": {
  42226. "description": "现货商品最小变动值",
  42227. "type": "integer"
  42228. },
  42229. "optioncompare": {
  42230. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42231. "type": "string"
  42232. },
  42233. "pricemove": {
  42234. "description": "估值升贴水值",
  42235. "type": "number"
  42236. },
  42237. "productdetailid": {
  42238. "description": "产品组合ID",
  42239. "type": "integer"
  42240. },
  42241. "productid": {
  42242. "description": "金融产品ID",
  42243. "type": "integer"
  42244. },
  42245. "productname": {
  42246. "description": "产品名称",
  42247. "type": "string"
  42248. },
  42249. "remainamount": {
  42250. "description": "合同剩余金额 -\u003e 剩余金额",
  42251. "type": "number"
  42252. },
  42253. "remainwrpositionqty": {
  42254. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42255. "type": "number"
  42256. },
  42257. "remark": {
  42258. "description": "备注",
  42259. "type": "string"
  42260. },
  42261. "scfcontractid": {
  42262. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42263. "type": "string"
  42264. },
  42265. "scfcontractstatus": {
  42266. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42267. "type": "integer"
  42268. },
  42269. "scfcontracttype": {
  42270. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42271. "type": "integer"
  42272. },
  42273. "startinterestday": {
  42274. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42275. "type": "string"
  42276. },
  42277. "totalinterest": {
  42278. "description": "已计利息 -\u003e 已计费用",
  42279. "type": "number"
  42280. },
  42281. "unpaidinterest": {
  42282. "description": "期初均价",
  42283. "type": "number"
  42284. },
  42285. "updatetime": {
  42286. "description": "更新时间",
  42287. "type": "string"
  42288. },
  42289. "warehouseid": {
  42290. "description": "仓库ID",
  42291. "type": "integer"
  42292. },
  42293. "warehousename": {
  42294. "description": "仓库名称",
  42295. "type": "string"
  42296. },
  42297. "wrfactortypeid": {
  42298. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42299. "type": "string"
  42300. },
  42301. "wrfactortypename": {
  42302. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42303. "type": "string"
  42304. },
  42305. "wrqty": {
  42306. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42307. "type": "number"
  42308. },
  42309. "wrstandardcode": {
  42310. "description": "现货商品代码",
  42311. "type": "string"
  42312. },
  42313. "wrstandardid": {
  42314. "description": "现货商品ID",
  42315. "type": "integer"
  42316. },
  42317. "wrstandardname": {
  42318. "description": "商品名称",
  42319. "type": "string"
  42320. },
  42321. "wrtypename": {
  42322. "description": "商品",
  42323. "type": "string"
  42324. }
  42325. }
  42326. },
  42327. "models.WrScfContractInterest": {
  42328. "type": "object",
  42329. "properties": {
  42330. "closeinterest": {
  42331. "description": "已结利息",
  42332. "type": "number"
  42333. },
  42334. "closeintereststatus": {
  42335. "description": "结息状态 - 1:未结 2:已结",
  42336. "type": "integer"
  42337. },
  42338. "closetime": {
  42339. "description": "结息时间",
  42340. "type": "string"
  42341. },
  42342. "closetradedate": {
  42343. "description": "结息交易日",
  42344. "type": "string"
  42345. },
  42346. "creatorid": {
  42347. "description": "操作人ID",
  42348. "type": "integer"
  42349. },
  42350. "dayrate": {
  42351. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42352. "type": "number"
  42353. },
  42354. "interest": {
  42355. "description": "利息",
  42356. "type": "number"
  42357. },
  42358. "interestamount": {
  42359. "description": "计息金额",
  42360. "type": "number"
  42361. },
  42362. "interestday": {
  42363. "description": "计息日(yyyyMMdd)",
  42364. "type": "string"
  42365. },
  42366. "scfcontractid": {
  42367. "description": "SCF合同ID",
  42368. "type": "string"
  42369. },
  42370. "scfcontractinterestid": {
  42371. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42372. "type": "integer"
  42373. },
  42374. "updatetime": {
  42375. "description": "更新时间",
  42376. "type": "string"
  42377. }
  42378. }
  42379. },
  42380. "models.WrSearchUser": {
  42381. "type": "object",
  42382. "required": [
  42383. "username"
  42384. ],
  42385. "properties": {
  42386. "userid": {
  42387. "description": "用户ID",
  42388. "type": "integer"
  42389. },
  42390. "username": {
  42391. "description": "用户名称(已脱敏)",
  42392. "type": "string"
  42393. },
  42394. "username2": {
  42395. "description": "用户名称(未脱敏)",
  42396. "type": "string"
  42397. },
  42398. "usertype": {
  42399. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42400. "type": "integer"
  42401. }
  42402. }
  42403. },
  42404. "models.WrSiteColumnDetail": {
  42405. "type": "object",
  42406. "properties": {
  42407. "brief": {
  42408. "description": "简介",
  42409. "type": "string"
  42410. },
  42411. "context": {
  42412. "description": "内容",
  42413. "type": "string"
  42414. },
  42415. "coverimage": {
  42416. "description": "封面图片",
  42417. "type": "string"
  42418. },
  42419. "creaedate": {
  42420. "description": "创建时间",
  42421. "type": "string"
  42422. },
  42423. "id": {
  42424. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42425. "type": "integer"
  42426. },
  42427. "istop": {
  42428. "description": "是否置顶 - 0:不置 1:置顶",
  42429. "type": "integer"
  42430. },
  42431. "publishdate": {
  42432. "description": "发布日期",
  42433. "type": "string"
  42434. },
  42435. "title": {
  42436. "description": "标题",
  42437. "type": "string"
  42438. },
  42439. "updatedate": {
  42440. "description": "修改时间",
  42441. "type": "string"
  42442. }
  42443. }
  42444. },
  42445. "models.WrSpecialMatchOrder": {
  42446. "type": "object",
  42447. "properties": {
  42448. "amount": {
  42449. "description": "金额 = 数量 * 价格",
  42450. "type": "number"
  42451. },
  42452. "buyorsell": {
  42453. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42454. "type": "integer"
  42455. },
  42456. "cancelqty": {
  42457. "description": "撤销数量",
  42458. "type": "number"
  42459. },
  42460. "deliverygoodscode": {
  42461. "description": "品种代码",
  42462. "type": "string"
  42463. },
  42464. "deliverygoodsid": {
  42465. "description": "品种ID",
  42466. "type": "integer"
  42467. },
  42468. "deliverygoodsname": {
  42469. "description": "品种名称",
  42470. "type": "string"
  42471. },
  42472. "enumdicname": {
  42473. "description": "单位名称",
  42474. "type": "string"
  42475. },
  42476. "fixedprice": {
  42477. "description": "固定价格(价格)",
  42478. "type": "number"
  42479. },
  42480. "haswr": {
  42481. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42482. "type": "integer"
  42483. },
  42484. "isspecified": {
  42485. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  42486. "type": "integer"
  42487. },
  42488. "marketid": {
  42489. "description": "市场ID",
  42490. "type": "integer"
  42491. },
  42492. "matchuserid": {
  42493. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  42494. "type": "integer"
  42495. },
  42496. "matchusername": {
  42497. "description": "指定方",
  42498. "type": "string"
  42499. },
  42500. "minivalue": {
  42501. "description": "现货商品最小变动值",
  42502. "type": "integer"
  42503. },
  42504. "optioncompare": {
  42505. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42506. "type": "string"
  42507. },
  42508. "orderqty": {
  42509. "description": "委托数量",
  42510. "type": "number"
  42511. },
  42512. "ordertime": {
  42513. "description": "委托时间",
  42514. "type": "string"
  42515. },
  42516. "pricemove": {
  42517. "description": "升贴水(浮动价时填写) - [挂牌]",
  42518. "type": "number"
  42519. },
  42520. "tradedate": {
  42521. "description": "交易日(yyyyMMdd)",
  42522. "type": "string"
  42523. },
  42524. "tradeprice": {
  42525. "description": "成交价格",
  42526. "type": "number"
  42527. },
  42528. "tradeqty": {
  42529. "description": "成交数量",
  42530. "type": "number"
  42531. },
  42532. "userid": {
  42533. "description": "用户ID",
  42534. "type": "integer"
  42535. },
  42536. "username": {
  42537. "description": "发起方",
  42538. "type": "string"
  42539. },
  42540. "warehouseid": {
  42541. "description": "仓库ID",
  42542. "type": "integer"
  42543. },
  42544. "warehousename": {
  42545. "description": "仓库名称",
  42546. "type": "string"
  42547. },
  42548. "wrfactortypeid": {
  42549. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42550. "type": "string"
  42551. },
  42552. "wrfactortypename": {
  42553. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42554. "type": "string"
  42555. },
  42556. "wrpricetype": {
  42557. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42558. "type": "integer"
  42559. },
  42560. "wrstandardcode": {
  42561. "description": "现货商品代码",
  42562. "type": "string"
  42563. },
  42564. "wrstandardid": {
  42565. "description": "现货商品ID",
  42566. "type": "integer"
  42567. },
  42568. "wrstandardname": {
  42569. "description": "商品名称",
  42570. "type": "string"
  42571. },
  42572. "wrtradeorderid": {
  42573. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42574. "type": "string"
  42575. },
  42576. "wrtradeorderstatus": {
  42577. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  42578. "type": "integer"
  42579. },
  42580. "wrtradetype": {
  42581. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42582. "type": "integer"
  42583. },
  42584. "wrtypename": {
  42585. "description": "商品",
  42586. "type": "string"
  42587. }
  42588. }
  42589. },
  42590. "models.WrSpotGroupTradeSum": {
  42591. "type": "object",
  42592. "properties": {
  42593. "deliverygoodscode": {
  42594. "description": "现货品种代码",
  42595. "type": "string"
  42596. },
  42597. "deliverygoodsid": {
  42598. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42599. "type": "integer"
  42600. },
  42601. "deliverygoodsname": {
  42602. "description": "现货品种名称",
  42603. "type": "string"
  42604. },
  42605. "lastavgprice": {
  42606. "description": "上上个交易日价格(前2天价格)",
  42607. "type": "string"
  42608. },
  42609. "lastreckondate": {
  42610. "description": "上上个交易日(前2天交易日)",
  42611. "type": "string"
  42612. },
  42613. "reckondate": {
  42614. "description": "上个交易日(前1天交易日)",
  42615. "type": "string"
  42616. },
  42617. "todayavgprice": {
  42618. "description": "上个交易日价格(前1天价格)",
  42619. "type": "string"
  42620. },
  42621. "updown": {
  42622. "description": "涨跌",
  42623. "type": "string"
  42624. },
  42625. "updownratio": {
  42626. "description": "涨幅(已格式化, 直接显示即可)",
  42627. "type": "string"
  42628. }
  42629. }
  42630. },
  42631. "models.WrSpotGroupTradeSumDetail": {
  42632. "type": "object",
  42633. "properties": {
  42634. "deliverygoodsid": {
  42635. "description": "现货商品id",
  42636. "type": "integer"
  42637. },
  42638. "price": {
  42639. "description": "价格",
  42640. "type": "number"
  42641. },
  42642. "reckondate": {
  42643. "description": "日期(yyymmdd, 如:20211031)",
  42644. "type": "string"
  42645. }
  42646. }
  42647. },
  42648. "models.WrSpotGroupTradeSumEx": {
  42649. "type": "object",
  42650. "properties": {
  42651. "lst": {
  42652. "description": "指数列表",
  42653. "type": "array",
  42654. "items": {
  42655. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  42656. }
  42657. },
  42658. "prereckondate": {
  42659. "description": "上上个交易日(yyymmdd)",
  42660. "type": "string"
  42661. },
  42662. "reckondate": {
  42663. "description": "上个交易日(yyyymmdd)",
  42664. "type": "string"
  42665. }
  42666. }
  42667. },
  42668. "models.WrStandardFactoryItem": {
  42669. "type": "object",
  42670. "properties": {
  42671. "dgfactoryitemid": {
  42672. "description": "选择项id",
  42673. "type": "integer"
  42674. },
  42675. "dgfactoryitemvalue": {
  42676. "description": "要素项值",
  42677. "type": "string"
  42678. },
  42679. "warehouseid": {
  42680. "description": "仓库id",
  42681. "type": "integer"
  42682. }
  42683. }
  42684. },
  42685. "models.WrStandardFactoryItemEx": {
  42686. "type": "object",
  42687. "properties": {
  42688. "dgfactoryitemtypeid": {
  42689. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42690. "type": "integer"
  42691. },
  42692. "itemlst": {
  42693. "description": "要素项列表",
  42694. "type": "array",
  42695. "items": {
  42696. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42697. }
  42698. },
  42699. "itemtypename": {
  42700. "description": "要素项类型名称",
  42701. "type": "string"
  42702. },
  42703. "wrstandardid": {
  42704. "description": "品类",
  42705. "type": "integer"
  42706. }
  42707. }
  42708. },
  42709. "models.WrTradeDetail": {
  42710. "type": "object",
  42711. "properties": {
  42712. "accountid": {
  42713. "description": "资金账号",
  42714. "type": "integer"
  42715. },
  42716. "bannerpicurl": {
  42717. "description": "Banner图",
  42718. "type": "string"
  42719. },
  42720. "begindate": {
  42721. "description": "开始交易日(yyyymmdd)",
  42722. "type": "string"
  42723. },
  42724. "buyorsell": {
  42725. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42726. "type": "integer"
  42727. },
  42728. "chargevalue": {
  42729. "description": "手续费",
  42730. "type": "number"
  42731. },
  42732. "deliverygoodscode": {
  42733. "description": "品种代码",
  42734. "type": "string"
  42735. },
  42736. "deliverygoodsid": {
  42737. "description": "品种ID",
  42738. "type": "integer"
  42739. },
  42740. "deliverygoodsname": {
  42741. "description": "品种名称",
  42742. "type": "string"
  42743. },
  42744. "deliverymonth": {
  42745. "description": "交收月",
  42746. "type": "string"
  42747. },
  42748. "enddate": {
  42749. "description": "结束交易日(yyyymmdd)",
  42750. "type": "string"
  42751. },
  42752. "enumdicname": {
  42753. "description": "单位名称",
  42754. "type": "string"
  42755. },
  42756. "haswr": {
  42757. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42758. "type": "integer"
  42759. },
  42760. "marketid": {
  42761. "description": "市场ID",
  42762. "type": "integer"
  42763. },
  42764. "matchaccountid": {
  42765. "description": "对手账号",
  42766. "type": "integer"
  42767. },
  42768. "matchusername": {
  42769. "description": "对手方",
  42770. "type": "string"
  42771. },
  42772. "minivalue": {
  42773. "description": "现货商品最小变动值",
  42774. "type": "integer"
  42775. },
  42776. "optioncompare": {
  42777. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42778. "type": "string"
  42779. },
  42780. "thumurls": {
  42781. "description": "缩略图",
  42782. "type": "string"
  42783. },
  42784. "tradedate": {
  42785. "description": "交易日(yyyyMMdd)",
  42786. "type": "string"
  42787. },
  42788. "tradeprice": {
  42789. "description": "成交价格",
  42790. "type": "number"
  42791. },
  42792. "tradeqty": {
  42793. "description": "成交数量",
  42794. "type": "number"
  42795. },
  42796. "tradetime": {
  42797. "description": "成交时间",
  42798. "type": "string"
  42799. },
  42800. "userid": {
  42801. "description": "用户ID",
  42802. "type": "integer"
  42803. },
  42804. "warehouseid": {
  42805. "description": "仓库ID",
  42806. "type": "integer"
  42807. },
  42808. "warehousename": {
  42809. "description": "仓库名称",
  42810. "type": "string"
  42811. },
  42812. "wrfactortypeid": {
  42813. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42814. "type": "string"
  42815. },
  42816. "wrfactortypename": {
  42817. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42818. "type": "string"
  42819. },
  42820. "wrstandardcode": {
  42821. "description": "现货商品代码",
  42822. "type": "string"
  42823. },
  42824. "wrstandardid": {
  42825. "description": "现货商品ID",
  42826. "type": "integer"
  42827. },
  42828. "wrstandardname": {
  42829. "description": "商品名称",
  42830. "type": "string"
  42831. },
  42832. "wrtradedetailid": {
  42833. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42834. "type": "string"
  42835. },
  42836. "wrtradetype": {
  42837. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42838. "type": "integer"
  42839. },
  42840. "wrtypename": {
  42841. "description": "商品",
  42842. "type": "string"
  42843. }
  42844. }
  42845. },
  42846. "models.WrTradeOrderDetail": {
  42847. "type": "object",
  42848. "properties": {
  42849. "buyorsell": {
  42850. "description": "买卖方向 0-买 1-卖",
  42851. "type": "integer"
  42852. },
  42853. "goodsid": {
  42854. "description": "商品id",
  42855. "type": "integer"
  42856. },
  42857. "orderid": {
  42858. "description": "委托单号",
  42859. "type": "string"
  42860. },
  42861. "orderprice": {
  42862. "description": "期初均价",
  42863. "type": "number"
  42864. },
  42865. "orderqty": {
  42866. "description": "委托数量",
  42867. "type": "integer"
  42868. },
  42869. "userid": {
  42870. "description": "用户id",
  42871. "type": "integer"
  42872. },
  42873. "username": {
  42874. "description": "用户名称(已脱敏)",
  42875. "type": "string"
  42876. }
  42877. }
  42878. },
  42879. "models.WrTypeItem": {
  42880. "type": "object",
  42881. "properties": {
  42882. "name": {
  42883. "description": "名称",
  42884. "type": "string"
  42885. },
  42886. "value": {
  42887. "description": "值",
  42888. "type": "string"
  42889. }
  42890. }
  42891. },
  42892. "models.WrUserFriend": {
  42893. "type": "object",
  42894. "properties": {
  42895. "friendname": {
  42896. "description": "朋友名称(已脱敏)",
  42897. "type": "string"
  42898. },
  42899. "frienduserid": {
  42900. "description": "朋友id",
  42901. "type": "integer"
  42902. },
  42903. "isfriend": {
  42904. "description": "是否好友 0-不是 1-是",
  42905. "type": "integer"
  42906. },
  42907. "userid": {
  42908. "description": "用户id",
  42909. "type": "integer"
  42910. }
  42911. }
  42912. },
  42913. "models.WrUserReceiptInfo": {
  42914. "type": "object",
  42915. "properties": {
  42916. "address": {
  42917. "description": "地址[发票类型:企业]",
  42918. "type": "string"
  42919. },
  42920. "autoid": {
  42921. "description": "AutoID",
  42922. "type": "integer"
  42923. },
  42924. "contactinfo": {
  42925. "description": "联系方式",
  42926. "type": "string"
  42927. },
  42928. "idnum": {
  42929. "description": "身份证号码[发票类型:个人]",
  42930. "type": "string"
  42931. },
  42932. "isdefault": {
  42933. "description": "是否默认地址 - 0:否 1:是",
  42934. "type": "integer"
  42935. },
  42936. "receiptaccount": {
  42937. "description": "发票帐号[发票类型:企业]",
  42938. "type": "string"
  42939. },
  42940. "receiptbank": {
  42941. "description": "发票开户行[发票类型:企业]",
  42942. "type": "string"
  42943. },
  42944. "receipttype": {
  42945. "description": "发票类型 - 1:个人 2:企业",
  42946. "type": "integer"
  42947. },
  42948. "taxpayerid": {
  42949. "description": "纳税人识别号",
  42950. "type": "string"
  42951. },
  42952. "userid": {
  42953. "description": "用户ID",
  42954. "type": "integer"
  42955. },
  42956. "username": {
  42957. "description": "户名(个人姓名或企业名称)",
  42958. "type": "string"
  42959. }
  42960. }
  42961. },
  42962. "models.Wrtradetradequote": {
  42963. "type": "object",
  42964. "properties": {
  42965. "begindate": {
  42966. "description": "开始日期(结果含开始日期) yyyymmdd",
  42967. "type": "string"
  42968. },
  42969. "buyaccountid": {
  42970. "description": "买方账号ID",
  42971. "type": "integer"
  42972. },
  42973. "buyuserid": {
  42974. "description": "买方用户ID",
  42975. "type": "integer"
  42976. },
  42977. "deliverygoodsid": {
  42978. "description": "现货品种ID",
  42979. "type": "integer"
  42980. },
  42981. "enddate": {
  42982. "description": "结束日期(结果含结束日期) yyyymmdd",
  42983. "type": "string"
  42984. },
  42985. "marketid": {
  42986. "description": "市场ID",
  42987. "type": "integer"
  42988. },
  42989. "sellaccountid": {
  42990. "description": "卖方账号ID",
  42991. "type": "integer"
  42992. },
  42993. "selluserid": {
  42994. "description": "卖方用户ID",
  42995. "type": "integer"
  42996. },
  42997. "tradeamount": {
  42998. "description": "成交金额",
  42999. "type": "number"
  43000. },
  43001. "tradedate": {
  43002. "description": "交易日(yyyyMMdd)",
  43003. "type": "string"
  43004. },
  43005. "tradeprice": {
  43006. "description": "成交价格",
  43007. "type": "number"
  43008. },
  43009. "tradeqty": {
  43010. "description": "成交数量",
  43011. "type": "integer"
  43012. },
  43013. "tradetime": {
  43014. "description": "成交时间",
  43015. "type": "string"
  43016. },
  43017. "wrfactortypeid": {
  43018. "description": "仓单要素类型ID",
  43019. "type": "integer"
  43020. },
  43021. "wrstandardid": {
  43022. "description": "现货商品ID",
  43023. "type": "integer"
  43024. },
  43025. "wrtradedetailid": {
  43026. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43027. "type": "string"
  43028. }
  43029. }
  43030. },
  43031. "models.XHBRAND": {
  43032. "type": "object",
  43033. "properties": {
  43034. "brandid": {
  43035. "description": "品牌id",
  43036. "type": "integer"
  43037. },
  43038. "brandname": {
  43039. "description": "品牌名称",
  43040. "type": "string"
  43041. },
  43042. "isvalid": {
  43043. "description": "是否有效 0-无效 1-有效",
  43044. "type": "integer"
  43045. }
  43046. }
  43047. },
  43048. "models.XHDeliveryGoods": {
  43049. "type": "object",
  43050. "properties": {
  43051. "areauserid": {
  43052. "description": "所属机构",
  43053. "type": "integer"
  43054. },
  43055. "bdlst": {
  43056. "description": "品牌列表",
  43057. "type": "array",
  43058. "items": {
  43059. "$ref": "#/definitions/models.XHBRAND"
  43060. }
  43061. },
  43062. "deliverygoodscode": {
  43063. "description": "现货品种代码",
  43064. "type": "string"
  43065. },
  43066. "deliverygoodsid": {
  43067. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43068. "type": "integer"
  43069. },
  43070. "deliverygoodsname": {
  43071. "description": "现货品种名称",
  43072. "type": "string"
  43073. },
  43074. "dgstatus": {
  43075. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43076. "type": "integer"
  43077. },
  43078. "filterSubEmpty": {
  43079. "description": "过滤下级为空的",
  43080. "type": "integer"
  43081. },
  43082. "isvalid": {
  43083. "description": "是否有效 - 0:无效 1:有效",
  43084. "type": "integer"
  43085. },
  43086. "remark": {
  43087. "description": "备注",
  43088. "type": "string"
  43089. },
  43090. "unitid": {
  43091. "description": "单位id(目前看,数据库中是空值)",
  43092. "type": "integer"
  43093. },
  43094. "wdlst": {
  43095. "description": "品类(现货商品)列表",
  43096. "type": "array",
  43097. "items": {
  43098. "$ref": "#/definitions/models.XHWrstandard"
  43099. }
  43100. }
  43101. }
  43102. },
  43103. "models.XHMiddleGoods": {
  43104. "type": "object",
  43105. "properties": {
  43106. "GPLST": {
  43107. "description": "期货品种列表",
  43108. "type": "array",
  43109. "items": {
  43110. "$ref": "#/definitions/models.TBGoodsGroup"
  43111. }
  43112. },
  43113. "convertratio": {
  43114. "description": "拆算系数",
  43115. "type": "number"
  43116. },
  43117. "costratio": {
  43118. "description": "成本权重",
  43119. "type": "number"
  43120. },
  43121. "deliverygoodsid": {
  43122. "description": "现货商品id",
  43123. "type": "integer"
  43124. },
  43125. "enumdicname": {
  43126. "description": "单位名称",
  43127. "type": "string"
  43128. },
  43129. "middlegoodscode": {
  43130. "description": "套保品种代码",
  43131. "type": "string"
  43132. },
  43133. "middlegoodsid": {
  43134. "description": "套保品种id",
  43135. "type": "integer"
  43136. },
  43137. "middlegoodsname": {
  43138. "description": "套保品种名称",
  43139. "type": "string"
  43140. },
  43141. "unitid": {
  43142. "description": "单位id",
  43143. "type": "integer"
  43144. }
  43145. }
  43146. },
  43147. "models.XHWrstandard": {
  43148. "type": "object",
  43149. "properties": {
  43150. "bannerpicurl": {
  43151. "description": "banner图",
  43152. "type": "string"
  43153. },
  43154. "deliverygoodsid": {
  43155. "description": "品种ID",
  43156. "type": "integer"
  43157. },
  43158. "enumdicname": {
  43159. "description": "单位名称",
  43160. "type": "string"
  43161. },
  43162. "mglst": {
  43163. "description": "套保品列表",
  43164. "type": "array",
  43165. "items": {
  43166. "$ref": "#/definitions/models.XHMiddleGoods"
  43167. }
  43168. },
  43169. "pictureurls": {
  43170. "description": "详情图片(逗号分隔)",
  43171. "type": "string"
  43172. },
  43173. "thumurls": {
  43174. "description": "缩略图片(1:1)(逗号分隔)",
  43175. "type": "string"
  43176. },
  43177. "unitid": {
  43178. "description": "单位id",
  43179. "type": "integer"
  43180. },
  43181. "vatrate": {
  43182. "description": "增值税率",
  43183. "type": "number"
  43184. },
  43185. "wrstandardcode": {
  43186. "description": "现货商品代码",
  43187. "type": "string"
  43188. },
  43189. "wrstandardid": {
  43190. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43191. "type": "integer"
  43192. },
  43193. "wrstandardname": {
  43194. "description": "现货商品名称",
  43195. "type": "string"
  43196. }
  43197. }
  43198. },
  43199. "models.XhcpSellBackApplyEx": {
  43200. "type": "object",
  43201. "required": [
  43202. "userid"
  43203. ],
  43204. "properties": {
  43205. "applyremark": {
  43206. "description": "申请备注",
  43207. "type": "string"
  43208. },
  43209. "expirytype": {
  43210. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43211. "type": "integer"
  43212. },
  43213. "goodsspec": {
  43214. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43215. "type": "integer"
  43216. },
  43217. "holeflag": {
  43218. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43219. "type": "integer"
  43220. },
  43221. "isunopened": {
  43222. "description": "是否原封 - 1:否 2:是",
  43223. "type": "integer"
  43224. },
  43225. "mpflag": {
  43226. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43227. "type": "integer"
  43228. },
  43229. "openflag": {
  43230. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43231. "type": "integer"
  43232. },
  43233. "phonenum": {
  43234. "description": "联系电话",
  43235. "type": "string"
  43236. },
  43237. "userid": {
  43238. "description": "所属用户ID",
  43239. "type": "integer"
  43240. },
  43241. "zpflag": {
  43242. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43243. "type": "integer"
  43244. }
  43245. }
  43246. },
  43247. "models.Xhcpsellbackapply": {
  43248. "type": "object",
  43249. "required": [
  43250. "userid"
  43251. ],
  43252. "properties": {
  43253. "applyid": {
  43254. "description": "申请人",
  43255. "type": "integer"
  43256. },
  43257. "applyremark": {
  43258. "description": "申请备注",
  43259. "type": "string"
  43260. },
  43261. "applysrc": {
  43262. "description": "申请来源 - 1:管理端 2:终端",
  43263. "type": "integer"
  43264. },
  43265. "applystatus": {
  43266. "description": "申请状态 - 1:待确认 2:已处理",
  43267. "type": "integer"
  43268. },
  43269. "applytime": {
  43270. "description": "申请时间",
  43271. "type": "string"
  43272. },
  43273. "auditremark": {
  43274. "description": "审核备注",
  43275. "type": "string"
  43276. },
  43277. "auditsrc": {
  43278. "description": "审核来源 - 1:管理端 2:终端",
  43279. "type": "integer"
  43280. },
  43281. "expirytype": {
  43282. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43283. "type": "integer"
  43284. },
  43285. "goodsspec": {
  43286. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43287. "type": "integer"
  43288. },
  43289. "holeflag": {
  43290. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43291. "type": "integer"
  43292. },
  43293. "isunopened": {
  43294. "description": "是否原封 - 1:否 2:是",
  43295. "type": "integer"
  43296. },
  43297. "mpflag": {
  43298. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43299. "type": "integer"
  43300. },
  43301. "openflag": {
  43302. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43303. "type": "integer"
  43304. },
  43305. "phonenum": {
  43306. "description": "联系电话",
  43307. "type": "string"
  43308. },
  43309. "sellbackapplyid": {
  43310. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43311. "type": "string"
  43312. },
  43313. "userid": {
  43314. "description": "所属用户ID",
  43315. "type": "integer"
  43316. },
  43317. "zpflag": {
  43318. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43319. "type": "integer"
  43320. }
  43321. }
  43322. },
  43323. "order.QueryHisTradeDetailRsp": {
  43324. "type": "object",
  43325. "required": [
  43326. "accountid",
  43327. "buyorsell",
  43328. "goodsid",
  43329. "histradedate",
  43330. "marketid",
  43331. "memberuserid",
  43332. "orderid",
  43333. "tradeamount",
  43334. "tradedate",
  43335. "tradeid",
  43336. "tradeprice",
  43337. "tradeqty",
  43338. "tradetime"
  43339. ],
  43340. "properties": {
  43341. "accountid": {
  43342. "description": "账户ID[报价币种]",
  43343. "type": "integer"
  43344. },
  43345. "advanceratio": {
  43346. "description": "首付比率",
  43347. "type": "number"
  43348. },
  43349. "buildtype": {
  43350. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43351. "type": "integer"
  43352. },
  43353. "buyorsell": {
  43354. "description": "方向 - 0:买 1:卖",
  43355. "type": "integer"
  43356. },
  43357. "charge": {
  43358. "description": "手续费",
  43359. "type": "number"
  43360. },
  43361. "closecharge": {
  43362. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43363. "type": "number"
  43364. },
  43365. "closeexchagechargevalue": {
  43366. "description": "平仓交易所手续费设置值",
  43367. "type": "number"
  43368. },
  43369. "closefeealgorithm": {
  43370. "description": "平仓手续费收取方式 1:比率 2:固定",
  43371. "type": "integer"
  43372. },
  43373. "closememberchargevalue": {
  43374. "description": "平仓会员手续费设置值",
  43375. "type": "number"
  43376. },
  43377. "closepl": {
  43378. "description": "平仓盈亏",
  43379. "type": "number"
  43380. },
  43381. "closepl2": {
  43382. "description": "平仓盈亏[逐笔]",
  43383. "type": "number"
  43384. },
  43385. "closeqty": {
  43386. "description": "平仓数量(先建后平操作 需要记录)",
  43387. "type": "number"
  43388. },
  43389. "creditamount": {
  43390. "description": "授信金额",
  43391. "type": "number"
  43392. },
  43393. "decimalplace": {
  43394. "description": "商品报价小数位",
  43395. "type": "integer"
  43396. },
  43397. "enumdicname": {
  43398. "description": "单位名称",
  43399. "type": "string"
  43400. },
  43401. "gcaccountid": {
  43402. "description": "账户ID[合约币种]",
  43403. "type": "integer"
  43404. },
  43405. "goodscode": {
  43406. "description": "商品代码",
  43407. "type": "string"
  43408. },
  43409. "goodsid": {
  43410. "description": "商品ID",
  43411. "type": "integer"
  43412. },
  43413. "goodsname": {
  43414. "description": "商品名称",
  43415. "type": "string"
  43416. },
  43417. "goodunitid": {
  43418. "description": "商品单位id",
  43419. "type": "integer"
  43420. },
  43421. "histradedate": {
  43422. "description": "历史交易日",
  43423. "type": "string"
  43424. },
  43425. "intclosepl": {
  43426. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43427. "type": "integer"
  43428. },
  43429. "isconfirmexercise": {
  43430. "description": "是否确认行权- 0:否 1:是",
  43431. "type": "integer"
  43432. },
  43433. "ismain": {
  43434. "description": "是否主单 - 0:不是 1:是",
  43435. "type": "integer"
  43436. },
  43437. "ispreexercise": {
  43438. "description": "是否预申报- 0:否 1:是",
  43439. "type": "integer"
  43440. },
  43441. "isreckoned": {
  43442. "description": "是否结算 - 0:未结算 1:已结算",
  43443. "type": "integer"
  43444. },
  43445. "isvaliddata": {
  43446. "description": "是否有效 - 0:无效 1:有效",
  43447. "type": "integer"
  43448. },
  43449. "listingselecttype": {
  43450. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43451. "type": "integer"
  43452. },
  43453. "marketid": {
  43454. "description": "市场ID",
  43455. "type": "integer"
  43456. },
  43457. "marketname": {
  43458. "description": "市场名称",
  43459. "type": "string"
  43460. },
  43461. "matchaccountid": {
  43462. "description": "对手账号id",
  43463. "type": "integer"
  43464. },
  43465. "memberuserid": {
  43466. "description": "会员id 个人投资者 需要填写",
  43467. "type": "integer"
  43468. },
  43469. "opencharge": {
  43470. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43471. "type": "number"
  43472. },
  43473. "openexchagechargevalue": {
  43474. "description": "建仓交易所手续费设置值",
  43475. "type": "number"
  43476. },
  43477. "openfeealgorithm": {
  43478. "description": "建仓手续费收取方式 1:比率 2:固定",
  43479. "type": "integer"
  43480. },
  43481. "openmemberchargevalue": {
  43482. "description": "建仓会员手续费设置值",
  43483. "type": "number"
  43484. },
  43485. "openqty": {
  43486. "description": "开仓数量(先建后平操作 需要记录)",
  43487. "type": "number"
  43488. },
  43489. "optiontype": {
  43490. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43491. "type": "integer"
  43492. },
  43493. "orderid": {
  43494. "description": "委托单号",
  43495. "type": "string"
  43496. },
  43497. "payamount": {
  43498. "description": "支付金额(付款金额)",
  43499. "type": "number"
  43500. },
  43501. "performanceplanid": {
  43502. "description": "履约计划ID[期权]",
  43503. "type": "integer"
  43504. },
  43505. "performancestatus": {
  43506. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43507. "type": "integer"
  43508. },
  43509. "preexerciseprice": {
  43510. "description": "预申报价格",
  43511. "type": "number"
  43512. },
  43513. "premium": {
  43514. "description": "权利金 - [持仓单的权利金]",
  43515. "type": "number"
  43516. },
  43517. "qtydecimalplace": {
  43518. "description": "商品报价小数位",
  43519. "type": "integer"
  43520. },
  43521. "recvamount": {
  43522. "description": "到账金额 = 成交金额 - 手续费",
  43523. "type": "number"
  43524. },
  43525. "relatedouttradeid": {
  43526. "description": "关联外部成交单ID",
  43527. "type": "integer"
  43528. },
  43529. "status": {
  43530. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43531. "type": "integer"
  43532. },
  43533. "totalamount": {
  43534. "description": "订单总额 = 成交金额 + 手续费",
  43535. "type": "number"
  43536. },
  43537. "tradeamount": {
  43538. "description": "成交金额[账户币种,用于所有权]",
  43539. "type": "number"
  43540. },
  43541. "tradedate": {
  43542. "description": "交易日(yyyyMMdd)",
  43543. "type": "string"
  43544. },
  43545. "tradeid": {
  43546. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43547. "type": "string"
  43548. },
  43549. "trademode": {
  43550. "description": "交易模式",
  43551. "type": "integer"
  43552. },
  43553. "tradeprice": {
  43554. "description": "成交价格",
  43555. "type": "number"
  43556. },
  43557. "tradeproperty": {
  43558. "description": "交易属性",
  43559. "type": "integer"
  43560. },
  43561. "tradeqty": {
  43562. "description": "成交数量",
  43563. "type": "number"
  43564. },
  43565. "tradetime": {
  43566. "description": "成交时间",
  43567. "type": "string"
  43568. },
  43569. "tradetype": {
  43570. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43571. "type": "integer"
  43572. }
  43573. }
  43574. },
  43575. "order.QueryHisTradeOrderDetailRsp": {
  43576. "type": "object",
  43577. "required": [
  43578. "accountid",
  43579. "buildtype",
  43580. "buyorsell",
  43581. "goodsid",
  43582. "histradedate",
  43583. "marketid",
  43584. "memberuserid",
  43585. "operatetype",
  43586. "orderid",
  43587. "orderqty",
  43588. "ordertime",
  43589. "pricemode",
  43590. "tradedate",
  43591. "validtype"
  43592. ],
  43593. "properties": {
  43594. "accountid": {
  43595. "description": "账户ID[报价币种]",
  43596. "type": "integer"
  43597. },
  43598. "buildtype": {
  43599. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43600. "type": "integer"
  43601. },
  43602. "buyorsell": {
  43603. "description": "买卖 - 0:买 1:卖",
  43604. "type": "integer"
  43605. },
  43606. "cancelorderid": {
  43607. "description": "撤单单号(撤单时填写)",
  43608. "type": "string"
  43609. },
  43610. "cancelqty": {
  43611. "description": "撤单数量",
  43612. "type": "number"
  43613. },
  43614. "clientordertime": {
  43615. "description": "客户端委托时间",
  43616. "type": "string"
  43617. },
  43618. "clientticket": {
  43619. "description": "客户端流水号",
  43620. "type": "string"
  43621. },
  43622. "clienttype": {
  43623. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43624. "type": "integer"
  43625. },
  43626. "closeexchagechargevalue": {
  43627. "description": "平仓交易所手续费设置值",
  43628. "type": "number"
  43629. },
  43630. "closefeealgorithm": {
  43631. "description": "平仓手续费收取方式 1:比率 2:固定",
  43632. "type": "integer"
  43633. },
  43634. "closefreezecharge": {
  43635. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43636. "type": "number"
  43637. },
  43638. "closememberchargevalue": {
  43639. "description": "平仓会员手续费设置值",
  43640. "type": "number"
  43641. },
  43642. "closeqty": {
  43643. "description": "平仓数量(先建后平操作 需要记录)",
  43644. "type": "number"
  43645. },
  43646. "closetradeqty": {
  43647. "description": "平仓成交数量(先建后平操作,需要记录)",
  43648. "type": "number"
  43649. },
  43650. "closeunfreezecharge": {
  43651. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43652. "type": "number"
  43653. },
  43654. "decimalplace": {
  43655. "description": "商品报价小数位",
  43656. "type": "integer"
  43657. },
  43658. "delistingtype": {
  43659. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43660. "type": "integer"
  43661. },
  43662. "enumdicname": {
  43663. "description": "单位名称",
  43664. "type": "string"
  43665. },
  43666. "freezecharge": {
  43667. "description": "冻结手续费",
  43668. "type": "number"
  43669. },
  43670. "freezemargin": {
  43671. "description": "冻结保证金(冻结交易金额)",
  43672. "type": "number"
  43673. },
  43674. "gcaccountid": {
  43675. "description": "账户ID[合约币种]",
  43676. "type": "integer"
  43677. },
  43678. "goodscode": {
  43679. "description": "商品代码",
  43680. "type": "string"
  43681. },
  43682. "goodsid": {
  43683. "description": "商品ID",
  43684. "type": "integer"
  43685. },
  43686. "goodsname": {
  43687. "description": "商品名称",
  43688. "type": "string"
  43689. },
  43690. "goodunitid": {
  43691. "description": "商品单位id",
  43692. "type": "integer"
  43693. },
  43694. "histradedate": {
  43695. "description": "历史交易日",
  43696. "type": "string"
  43697. },
  43698. "isconfirmexercise": {
  43699. "description": "是否确认行权- 0:否 1:是",
  43700. "type": "integer"
  43701. },
  43702. "ispreexercise": {
  43703. "description": "是否预申报- 0:否 1:是",
  43704. "type": "integer"
  43705. },
  43706. "isvaliddata": {
  43707. "description": "是否有效 - 0:无效 1:有效",
  43708. "type": "integer"
  43709. },
  43710. "listingselecttype": {
  43711. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43712. "type": "integer"
  43713. },
  43714. "marginalgorithm": {
  43715. "description": "保证金收取方式 1:比率 2:固定",
  43716. "type": "integer"
  43717. },
  43718. "marginvalue": {
  43719. "description": "即市保证金设置值",
  43720. "type": "number"
  43721. },
  43722. "marketid": {
  43723. "description": "市场ID",
  43724. "type": "integer"
  43725. },
  43726. "marketmaxsub": {
  43727. "description": "市价最大偏移范围",
  43728. "type": "number"
  43729. },
  43730. "marketname": {
  43731. "description": "市场名称",
  43732. "type": "string"
  43733. },
  43734. "memberuserid": {
  43735. "description": "所属会员UserID",
  43736. "type": "integer"
  43737. },
  43738. "openexchagechargevalue": {
  43739. "description": "建仓交易所手续费设置值",
  43740. "type": "number"
  43741. },
  43742. "openfeealgorithm": {
  43743. "description": "建仓手续费收取方式 1:比率 2:固定",
  43744. "type": "integer"
  43745. },
  43746. "openfreezecharge": {
  43747. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43748. "type": "number"
  43749. },
  43750. "openmemberchargevalue": {
  43751. "description": "建仓会员手续费设置值",
  43752. "type": "number"
  43753. },
  43754. "openqty": {
  43755. "description": "开仓数量(先建后平操作,需要记录)",
  43756. "type": "number"
  43757. },
  43758. "opentradeqty": {
  43759. "description": "开仓成交数量(先建后平操作,需要记录)",
  43760. "type": "number"
  43761. },
  43762. "openunfreezecharge": {
  43763. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43764. "type": "number"
  43765. },
  43766. "operatetype": {
  43767. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43768. "type": "integer"
  43769. },
  43770. "operatorid": {
  43771. "description": "登录账号(LoginID)",
  43772. "type": "integer"
  43773. },
  43774. "optiontype": {
  43775. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43776. "type": "integer"
  43777. },
  43778. "orderid": {
  43779. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43780. "type": "string"
  43781. },
  43782. "orderprice": {
  43783. "description": "委托价格",
  43784. "type": "number"
  43785. },
  43786. "orderqty": {
  43787. "description": "委托数量",
  43788. "type": "number"
  43789. },
  43790. "ordersrc": {
  43791. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43792. "type": "integer"
  43793. },
  43794. "orderstatus": {
  43795. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43796. "type": "integer"
  43797. },
  43798. "ordertime": {
  43799. "description": "委托时间",
  43800. "type": "string"
  43801. },
  43802. "preexerciseprice": {
  43803. "description": "预申报价格",
  43804. "type": "number"
  43805. },
  43806. "premium": {
  43807. "description": "权利金",
  43808. "type": "number"
  43809. },
  43810. "preorderid": {
  43811. "description": "关联预埋单号(止盈止损单时填写)",
  43812. "type": "string"
  43813. },
  43814. "pricemode": {
  43815. "description": "取价方式 - 1:市价 2: 限价",
  43816. "type": "integer"
  43817. },
  43818. "qtydecimalplace": {
  43819. "description": "成交量小数位",
  43820. "type": "integer"
  43821. },
  43822. "quoteid": {
  43823. "description": "报价单ID",
  43824. "type": "integer"
  43825. },
  43826. "relatedid": {
  43827. "description": "关联单号(交割单)",
  43828. "type": "string"
  43829. },
  43830. "retcode": {
  43831. "description": "错误代码",
  43832. "type": "integer"
  43833. },
  43834. "sessionid": {
  43835. "description": "会话ID",
  43836. "type": "integer"
  43837. },
  43838. "tradedate": {
  43839. "description": "交易日(yyyyMMdd)",
  43840. "type": "string"
  43841. },
  43842. "trademode": {
  43843. "description": "交易模式",
  43844. "type": "integer"
  43845. },
  43846. "tradeproperty": {
  43847. "description": "交易属性",
  43848. "type": "integer"
  43849. },
  43850. "tradeqty": {
  43851. "description": "成交数量",
  43852. "type": "number"
  43853. },
  43854. "unfreezecharge": {
  43855. "description": "解冻手续费",
  43856. "type": "number"
  43857. },
  43858. "unfreezemargin": {
  43859. "description": "解冻保证金",
  43860. "type": "number"
  43861. },
  43862. "updatetime": {
  43863. "description": "更新时间",
  43864. "type": "string"
  43865. },
  43866. "uuid": {
  43867. "description": "发起端唯一id",
  43868. "type": "string"
  43869. },
  43870. "validtime": {
  43871. "description": "有效期限",
  43872. "type": "string"
  43873. },
  43874. "validtype": {
  43875. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43876. "type": "integer"
  43877. },
  43878. "volumetype": {
  43879. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43880. "type": "integer"
  43881. }
  43882. }
  43883. },
  43884. "order.QueryTradeDetailRsp": {
  43885. "type": "object",
  43886. "required": [
  43887. "accountid",
  43888. "buyorsell",
  43889. "goodsid",
  43890. "marketid",
  43891. "memberuserid",
  43892. "orderid",
  43893. "tradeamount",
  43894. "tradedate",
  43895. "tradeid",
  43896. "tradeprice",
  43897. "tradeqty",
  43898. "tradetime"
  43899. ],
  43900. "properties": {
  43901. "accountid": {
  43902. "description": "账户ID[报价币种]",
  43903. "type": "integer"
  43904. },
  43905. "advanceratio": {
  43906. "description": "首付比率",
  43907. "type": "number"
  43908. },
  43909. "buildtype": {
  43910. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43911. "type": "integer"
  43912. },
  43913. "buyorsell": {
  43914. "description": "方向 - 0:买 1:卖",
  43915. "type": "integer"
  43916. },
  43917. "charge": {
  43918. "description": "手续费",
  43919. "type": "number"
  43920. },
  43921. "closecharge": {
  43922. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43923. "type": "number"
  43924. },
  43925. "closeexchagechargevalue": {
  43926. "description": "平仓交易所手续费设置值",
  43927. "type": "number"
  43928. },
  43929. "closefeealgorithm": {
  43930. "description": "平仓手续费收取方式 1:比率 2:固定",
  43931. "type": "integer"
  43932. },
  43933. "closememberchargevalue": {
  43934. "description": "平仓会员手续费设置值",
  43935. "type": "number"
  43936. },
  43937. "closepl": {
  43938. "description": "平仓盈亏",
  43939. "type": "number"
  43940. },
  43941. "closepl2": {
  43942. "description": "平仓盈亏[逐笔]",
  43943. "type": "number"
  43944. },
  43945. "closeqty": {
  43946. "description": "平仓数量(先建后平操作 需要记录)",
  43947. "type": "number"
  43948. },
  43949. "creditamount": {
  43950. "description": "授信金额",
  43951. "type": "number"
  43952. },
  43953. "decimalplace": {
  43954. "description": "商品报价小数位",
  43955. "type": "integer"
  43956. },
  43957. "enumdicname": {
  43958. "description": "单位名称",
  43959. "type": "string"
  43960. },
  43961. "gcaccountid": {
  43962. "description": "账户ID[合约币种]",
  43963. "type": "integer"
  43964. },
  43965. "goodscode": {
  43966. "description": "商品代码",
  43967. "type": "string"
  43968. },
  43969. "goodsid": {
  43970. "description": "商品ID",
  43971. "type": "integer"
  43972. },
  43973. "goodsname": {
  43974. "description": "商品名称",
  43975. "type": "string"
  43976. },
  43977. "goodunitid": {
  43978. "description": "商品单位id",
  43979. "type": "integer"
  43980. },
  43981. "intclosepl": {
  43982. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43983. "type": "integer"
  43984. },
  43985. "isconfirmexercise": {
  43986. "description": "是否确认行权- 0:否 1:是",
  43987. "type": "integer"
  43988. },
  43989. "ismain": {
  43990. "description": "是否主单 - 0:不是 1:是",
  43991. "type": "integer"
  43992. },
  43993. "ispreexercise": {
  43994. "description": "是否预申报- 0:否 1:是",
  43995. "type": "integer"
  43996. },
  43997. "isreckoned": {
  43998. "description": "是否结算 - 0:未结算 1:已结算",
  43999. "type": "integer"
  44000. },
  44001. "listingselecttype": {
  44002. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44003. "type": "integer"
  44004. },
  44005. "marketid": {
  44006. "description": "市场ID",
  44007. "type": "integer"
  44008. },
  44009. "marketname": {
  44010. "description": "市场名称",
  44011. "type": "string"
  44012. },
  44013. "matchaccountid": {
  44014. "description": "对手账号id",
  44015. "type": "integer"
  44016. },
  44017. "memberuserid": {
  44018. "description": "会员id 个人投资者 需要填写",
  44019. "type": "integer"
  44020. },
  44021. "opencharge": {
  44022. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44023. "type": "number"
  44024. },
  44025. "openexchagechargevalue": {
  44026. "description": "建仓交易所手续费设置值",
  44027. "type": "number"
  44028. },
  44029. "openfeealgorithm": {
  44030. "description": "建仓手续费收取方式 1:比率 2:固定",
  44031. "type": "integer"
  44032. },
  44033. "openmemberchargevalue": {
  44034. "description": "建仓会员手续费设置值",
  44035. "type": "number"
  44036. },
  44037. "openqty": {
  44038. "description": "开仓数量(先建后平操作 需要记录)",
  44039. "type": "number"
  44040. },
  44041. "optiontype": {
  44042. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44043. "type": "integer"
  44044. },
  44045. "orderid": {
  44046. "description": "委托单号",
  44047. "type": "string"
  44048. },
  44049. "payamount": {
  44050. "description": "支付金额(付款金额)",
  44051. "type": "number"
  44052. },
  44053. "performanceplanid": {
  44054. "description": "履约计划ID[期权]",
  44055. "type": "integer"
  44056. },
  44057. "performancestatus": {
  44058. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44059. "type": "integer"
  44060. },
  44061. "preexerciseprice": {
  44062. "description": "预申报价格",
  44063. "type": "number"
  44064. },
  44065. "premium": {
  44066. "description": "权利金 - [持仓单的权利金]",
  44067. "type": "number"
  44068. },
  44069. "qtydecimalplace": {
  44070. "description": "商品报价小数位",
  44071. "type": "integer"
  44072. },
  44073. "recvamount": {
  44074. "description": "到账金额 = 成交金额 - 手续费",
  44075. "type": "number"
  44076. },
  44077. "relatedouttradeid": {
  44078. "description": "关联外部成交单ID",
  44079. "type": "integer"
  44080. },
  44081. "status": {
  44082. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44083. "type": "integer"
  44084. },
  44085. "totalamount": {
  44086. "description": "订单总额 = 成交金额 + 手续费",
  44087. "type": "number"
  44088. },
  44089. "tradeamount": {
  44090. "description": "成交金额[账户币种,用于所有权]",
  44091. "type": "number"
  44092. },
  44093. "tradedate": {
  44094. "description": "交易日(yyyyMMdd)",
  44095. "type": "string"
  44096. },
  44097. "tradeid": {
  44098. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44099. "type": "string"
  44100. },
  44101. "trademode": {
  44102. "description": "交易模式",
  44103. "type": "integer"
  44104. },
  44105. "tradeprice": {
  44106. "description": "成交价格",
  44107. "type": "number"
  44108. },
  44109. "tradeproperty": {
  44110. "description": "交易属性",
  44111. "type": "integer"
  44112. },
  44113. "tradeqty": {
  44114. "description": "成交数量",
  44115. "type": "number"
  44116. },
  44117. "tradetime": {
  44118. "description": "成交时间",
  44119. "type": "string"
  44120. },
  44121. "tradetype": {
  44122. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44123. "type": "integer"
  44124. }
  44125. }
  44126. },
  44127. "order.QueryTradeOrderDetailRsp": {
  44128. "type": "object",
  44129. "required": [
  44130. "accountid",
  44131. "buildtype",
  44132. "buyorsell",
  44133. "goodsid",
  44134. "marketid",
  44135. "operatetype",
  44136. "orderqty",
  44137. "ordertime",
  44138. "pricemode",
  44139. "tradedate",
  44140. "validtype"
  44141. ],
  44142. "properties": {
  44143. "accountid": {
  44144. "description": "账户ID[报价币种]",
  44145. "type": "integer"
  44146. },
  44147. "buildtype": {
  44148. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44149. "type": "integer"
  44150. },
  44151. "buyorsell": {
  44152. "description": "买卖 - 0:买 1:卖",
  44153. "type": "integer"
  44154. },
  44155. "cancelorderid": {
  44156. "description": "撤单单号(撤单时填写)",
  44157. "type": "string"
  44158. },
  44159. "cancelqty": {
  44160. "description": "撤单数量",
  44161. "type": "number"
  44162. },
  44163. "clienttype": {
  44164. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44165. "type": "integer"
  44166. },
  44167. "closefreezecharge": {
  44168. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44169. "type": "number"
  44170. },
  44171. "closeqty": {
  44172. "description": "平仓数量(先建后平操作 需要记录)",
  44173. "type": "number"
  44174. },
  44175. "closetradeqty": {
  44176. "description": "平仓成交数量(先建后平操作,需要记录)",
  44177. "type": "number"
  44178. },
  44179. "closeunfreezecharge": {
  44180. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44181. "type": "number"
  44182. },
  44183. "decimalplace": {
  44184. "description": "商品报价小数位",
  44185. "type": "integer"
  44186. },
  44187. "delistingtype": {
  44188. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44189. "type": "integer"
  44190. },
  44191. "enableqty": {
  44192. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44193. "type": "number"
  44194. },
  44195. "enumdicname": {
  44196. "description": "单位名称",
  44197. "type": "string"
  44198. },
  44199. "freezecharge": {
  44200. "description": "冻结手续费",
  44201. "type": "number"
  44202. },
  44203. "freezemargin": {
  44204. "description": "冻结保证金(冻结交易金额)",
  44205. "type": "number"
  44206. },
  44207. "goodscode": {
  44208. "description": "商品代码",
  44209. "type": "string"
  44210. },
  44211. "goodsid": {
  44212. "description": "商品ID",
  44213. "type": "integer"
  44214. },
  44215. "goodsname": {
  44216. "description": "商品名称",
  44217. "type": "string"
  44218. },
  44219. "goodunitid": {
  44220. "description": "商品单位id",
  44221. "type": "integer"
  44222. },
  44223. "listingselecttype": {
  44224. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44225. "type": "integer"
  44226. },
  44227. "marketid": {
  44228. "description": "市场ID",
  44229. "type": "integer"
  44230. },
  44231. "marketname": {
  44232. "description": "市场名称",
  44233. "type": "string"
  44234. },
  44235. "openfreezecharge": {
  44236. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44237. "type": "number"
  44238. },
  44239. "openqty": {
  44240. "description": "开仓数量(先建后平操作,需要记录)",
  44241. "type": "number"
  44242. },
  44243. "opentradeqty": {
  44244. "description": "开仓成交数量(先建后平操作,需要记录)",
  44245. "type": "number"
  44246. },
  44247. "openunfreezecharge": {
  44248. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44249. "type": "number"
  44250. },
  44251. "operatetype": {
  44252. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44253. "type": "integer"
  44254. },
  44255. "operatorid": {
  44256. "description": "登录账号(LoginID)",
  44257. "type": "integer"
  44258. },
  44259. "orderid": {
  44260. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44261. "type": "string"
  44262. },
  44263. "orderprice": {
  44264. "description": "委托价格",
  44265. "type": "number"
  44266. },
  44267. "orderqty": {
  44268. "description": "委托数量",
  44269. "type": "number"
  44270. },
  44271. "ordersrc": {
  44272. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44273. "type": "integer"
  44274. },
  44275. "orderstatus": {
  44276. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44277. "type": "integer"
  44278. },
  44279. "ordertime": {
  44280. "description": "委托时间",
  44281. "type": "string"
  44282. },
  44283. "preorderid": {
  44284. "description": "关联预埋单号(止盈止损单时填写)",
  44285. "type": "string"
  44286. },
  44287. "pricemode": {
  44288. "description": "取价方式 - 1:市价 2: 限价",
  44289. "type": "integer"
  44290. },
  44291. "qtydecimalplace": {
  44292. "description": "商品报价小数位",
  44293. "type": "integer"
  44294. },
  44295. "relatedid": {
  44296. "description": "关联单号(交割单)",
  44297. "type": "string"
  44298. },
  44299. "tradedate": {
  44300. "description": "交易日(yyyyMMdd)",
  44301. "type": "string"
  44302. },
  44303. "trademode": {
  44304. "description": "交易模式",
  44305. "type": "integer"
  44306. },
  44307. "tradeqty": {
  44308. "description": "成交数量",
  44309. "type": "number"
  44310. },
  44311. "unfreezecharge": {
  44312. "description": "解冻手续费",
  44313. "type": "number"
  44314. },
  44315. "unfreezemargin": {
  44316. "description": "解冻保证金",
  44317. "type": "number"
  44318. },
  44319. "validtime": {
  44320. "description": "有效期限",
  44321. "type": "string"
  44322. },
  44323. "validtype": {
  44324. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44325. "type": "integer"
  44326. },
  44327. "volumetype": {
  44328. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44329. "type": "integer"
  44330. }
  44331. }
  44332. },
  44333. "order.QueryTradePositionRsp": {
  44334. "type": "object",
  44335. "required": [
  44336. "goodsid"
  44337. ],
  44338. "properties": {
  44339. "accountid": {
  44340. "description": "资金账户",
  44341. "type": "integer"
  44342. },
  44343. "agreeunit": {
  44344. "description": "合约单位",
  44345. "type": "number"
  44346. },
  44347. "averageprice": {
  44348. "description": "持仓均价",
  44349. "type": "number"
  44350. },
  44351. "buyorsell": {
  44352. "description": "方向 - 0:买 1:卖",
  44353. "type": "integer"
  44354. },
  44355. "closetotalqty": {
  44356. "description": "平仓总数量",
  44357. "type": "number"
  44358. },
  44359. "curholderamount": {
  44360. "description": "当前持仓总金额[商品币种]",
  44361. "type": "number"
  44362. },
  44363. "curpositionqty": {
  44364. "description": "当前持仓总数量",
  44365. "type": "number"
  44366. },
  44367. "currencyid": {
  44368. "description": "报价货币ID",
  44369. "type": "integer"
  44370. },
  44371. "curtdposition": {
  44372. "description": "期末今日头寸",
  44373. "type": "number"
  44374. },
  44375. "decimalplace": {
  44376. "description": "报价小数位",
  44377. "type": "integer"
  44378. },
  44379. "enableqty": {
  44380. "description": "可用量",
  44381. "type": "number"
  44382. },
  44383. "fretdposition": {
  44384. "description": "冻结今日头寸",
  44385. "type": "number"
  44386. },
  44387. "frozenqty": {
  44388. "description": "持仓冻结数量",
  44389. "type": "number"
  44390. },
  44391. "goodscode": {
  44392. "description": "商品代码",
  44393. "type": "string"
  44394. },
  44395. "goodsid": {
  44396. "description": "商品Id",
  44397. "type": "integer"
  44398. },
  44399. "goodsname": {
  44400. "description": "商品名称",
  44401. "type": "string"
  44402. },
  44403. "goodunit": {
  44404. "description": "报价单位",
  44405. "type": "string"
  44406. },
  44407. "goodunitid": {
  44408. "description": "报价单位ID",
  44409. "type": "integer"
  44410. },
  44411. "holderamount": {
  44412. "description": "期初持仓总金额[商品币种]",
  44413. "type": "number"
  44414. },
  44415. "lastprice": {
  44416. "description": "最新价",
  44417. "type": "number"
  44418. },
  44419. "marketamount": {
  44420. "description": "市值",
  44421. "type": "number"
  44422. },
  44423. "marketid": {
  44424. "description": "所属市场ID",
  44425. "type": "integer"
  44426. },
  44427. "openreqqty": {
  44428. "description": "开仓申请数量(用于比较最大持仓数量)",
  44429. "type": "number"
  44430. },
  44431. "opentotalqty": {
  44432. "description": "开仓总数量",
  44433. "type": "number"
  44434. },
  44435. "otherfrozenqty": {
  44436. "description": "持仓其他冻结数量(交割冻结)",
  44437. "type": "number"
  44438. },
  44439. "positionpl": {
  44440. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  44441. "type": "number"
  44442. },
  44443. "positionplrate": {
  44444. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  44445. "type": "number"
  44446. },
  44447. "positionqty": {
  44448. "description": "期初持仓数量",
  44449. "type": "number"
  44450. },
  44451. "qtydecimalplace": {
  44452. "description": "成交量小数位",
  44453. "type": "integer"
  44454. },
  44455. "refgoodscode": {
  44456. "description": "参考商品代码",
  44457. "type": "string"
  44458. },
  44459. "refgoodsid": {
  44460. "description": "参考商品ID",
  44461. "type": "integer"
  44462. },
  44463. "tnqty": {
  44464. "description": "T+N冻结总量",
  44465. "type": "number"
  44466. },
  44467. "tnusedqty": {
  44468. "description": "T+N使用量(可以使用T+N的冻结数量)",
  44469. "type": "number"
  44470. },
  44471. "trademode": {
  44472. "description": "交易模式",
  44473. "type": "integer"
  44474. },
  44475. "tradeproperty": {
  44476. "description": "交易属性",
  44477. "type": "integer"
  44478. },
  44479. "usedmargin": {
  44480. "description": "占用保证金[商品币种]",
  44481. "type": "number"
  44482. }
  44483. }
  44484. },
  44485. "pb.GoodsMarginCfgStruct": {
  44486. "type": "object",
  44487. "properties": {
  44488. "CustomerTypeID": {
  44489. "description": "投资者客户类型",
  44490. "type": "integer"
  44491. },
  44492. "GoodsID": {
  44493. "description": "商品ID",
  44494. "type": "integer"
  44495. },
  44496. "IsDefault": {
  44497. "description": "是否默认标志位",
  44498. "type": "integer"
  44499. },
  44500. "LockMarginValue": {
  44501. "description": "锁仓保证金",
  44502. "type": "number"
  44503. },
  44504. "MarginAlgorithm": {
  44505. "description": "保证金计算方式",
  44506. "type": "integer"
  44507. },
  44508. "MarketMarginValue": {
  44509. "description": "即市保证金值",
  44510. "type": "number"
  44511. },
  44512. "RealMarginAlgorithm": {
  44513. "description": "实付保证金计算方式",
  44514. "type": "integer"
  44515. },
  44516. "RealMarginValue": {
  44517. "description": "实付比例",
  44518. "type": "number"
  44519. },
  44520. "ReckonMarginValue": {
  44521. "description": "结算保证金值",
  44522. "type": "number"
  44523. }
  44524. }
  44525. },
  44526. "quote.HistoryData": {
  44527. "type": "object",
  44528. "properties": {
  44529. "c": {
  44530. "description": "收盘价",
  44531. "type": "number"
  44532. },
  44533. "f": {
  44534. "description": "是否补充数据",
  44535. "type": "boolean"
  44536. },
  44537. "h": {
  44538. "description": "最高价",
  44539. "type": "number"
  44540. },
  44541. "hv": {
  44542. "description": "持仓量",
  44543. "type": "integer"
  44544. },
  44545. "l": {
  44546. "description": "最低价",
  44547. "type": "number"
  44548. },
  44549. "o": {
  44550. "description": "开盘价",
  44551. "type": "number"
  44552. },
  44553. "s": {
  44554. "description": "结算价,日线周期(包括)以上才有",
  44555. "type": "number"
  44556. },
  44557. "ts": {
  44558. "description": "时间",
  44559. "type": "string"
  44560. },
  44561. "tt": {
  44562. "description": "总金额",
  44563. "type": "number"
  44564. },
  44565. "tv": {
  44566. "description": "总量(成交量)",
  44567. "type": "integer"
  44568. }
  44569. }
  44570. },
  44571. "quote.HistoryTikData": {
  44572. "type": "object",
  44573. "properties": {
  44574. "AV": {
  44575. "description": "卖量",
  44576. "type": "integer"
  44577. },
  44578. "Ask": {
  44579. "description": "卖价",
  44580. "type": "number"
  44581. },
  44582. "BV": {
  44583. "description": "买量",
  44584. "type": "integer"
  44585. },
  44586. "Bid": {
  44587. "description": "买价",
  44588. "type": "number"
  44589. },
  44590. "HI": {
  44591. "description": "单笔持仓",
  44592. "type": "integer"
  44593. },
  44594. "HV": {
  44595. "description": "持仓量",
  44596. "type": "integer"
  44597. },
  44598. "PE": {
  44599. "description": "现价",
  44600. "type": "number"
  44601. },
  44602. "TDR": {
  44603. "description": "交易方向,0:买 1:卖",
  44604. "type": "integer"
  44605. },
  44606. "TK": {
  44607. "description": "交易类型",
  44608. "type": "integer"
  44609. },
  44610. "TS": {
  44611. "description": "行情时间文本",
  44612. "type": "string"
  44613. },
  44614. "TT": {
  44615. "description": "现金额",
  44616. "type": "number"
  44617. },
  44618. "Vol": {
  44619. "description": "现量",
  44620. "type": "integer"
  44621. }
  44622. }
  44623. },
  44624. "quote.QueryQuoteDayRsp": {
  44625. "type": "object",
  44626. "properties": {
  44627. "ask": {
  44628. "description": "卖1",
  44629. "type": "number"
  44630. },
  44631. "ask10": {
  44632. "description": "卖10",
  44633. "type": "number"
  44634. },
  44635. "ask2": {
  44636. "description": "卖2",
  44637. "type": "number"
  44638. },
  44639. "ask3": {
  44640. "description": "卖3",
  44641. "type": "number"
  44642. },
  44643. "ask4": {
  44644. "description": "卖4",
  44645. "type": "number"
  44646. },
  44647. "ask5": {
  44648. "description": "卖5",
  44649. "type": "number"
  44650. },
  44651. "ask6": {
  44652. "description": "卖6",
  44653. "type": "number"
  44654. },
  44655. "ask7": {
  44656. "description": "卖7",
  44657. "type": "number"
  44658. },
  44659. "ask8": {
  44660. "description": "卖8",
  44661. "type": "number"
  44662. },
  44663. "ask9": {
  44664. "description": "卖9",
  44665. "type": "number"
  44666. },
  44667. "askorderid": {
  44668. "description": "卖单号1",
  44669. "type": "integer"
  44670. },
  44671. "askorderid2": {
  44672. "description": "卖单号2",
  44673. "type": "integer"
  44674. },
  44675. "askorderid3": {
  44676. "description": "卖单号3",
  44677. "type": "integer"
  44678. },
  44679. "askorderid4": {
  44680. "description": "卖单号4",
  44681. "type": "integer"
  44682. },
  44683. "askorderid5": {
  44684. "description": "卖单号5",
  44685. "type": "integer"
  44686. },
  44687. "askordervolume": {
  44688. "description": "卖单量1",
  44689. "type": "integer"
  44690. },
  44691. "askordervolume10": {
  44692. "description": "卖单量10",
  44693. "type": "integer"
  44694. },
  44695. "askordervolume2": {
  44696. "description": "卖单量2",
  44697. "type": "integer"
  44698. },
  44699. "askordervolume3": {
  44700. "description": "卖单量3",
  44701. "type": "integer"
  44702. },
  44703. "askordervolume4": {
  44704. "description": "卖单量4",
  44705. "type": "integer"
  44706. },
  44707. "askordervolume5": {
  44708. "description": "卖单量5",
  44709. "type": "integer"
  44710. },
  44711. "askordervolume6": {
  44712. "description": "卖单量6",
  44713. "type": "integer"
  44714. },
  44715. "askordervolume7": {
  44716. "description": "卖单量7",
  44717. "type": "integer"
  44718. },
  44719. "askordervolume8": {
  44720. "description": "卖单量8",
  44721. "type": "integer"
  44722. },
  44723. "askordervolume9": {
  44724. "description": "卖单量9",
  44725. "type": "integer"
  44726. },
  44727. "askqueueinfo": {
  44728. "description": "大利市卖港股用",
  44729. "type": "string"
  44730. },
  44731. "askvolume": {
  44732. "description": "卖量1",
  44733. "type": "integer"
  44734. },
  44735. "askvolume10": {
  44736. "description": "卖量10",
  44737. "type": "integer"
  44738. },
  44739. "askvolume2": {
  44740. "description": "卖量2",
  44741. "type": "integer"
  44742. },
  44743. "askvolume3": {
  44744. "description": "卖量3",
  44745. "type": "integer"
  44746. },
  44747. "askvolume4": {
  44748. "description": "卖量4",
  44749. "type": "integer"
  44750. },
  44751. "askvolume5": {
  44752. "description": "卖量5",
  44753. "type": "integer"
  44754. },
  44755. "askvolume6": {
  44756. "description": "卖量6",
  44757. "type": "integer"
  44758. },
  44759. "askvolume7": {
  44760. "description": "卖量7",
  44761. "type": "integer"
  44762. },
  44763. "askvolume8": {
  44764. "description": "卖量8",
  44765. "type": "integer"
  44766. },
  44767. "askvolume9": {
  44768. "description": "卖量9",
  44769. "type": "integer"
  44770. },
  44771. "averageprice": {
  44772. "description": "均价",
  44773. "type": "number"
  44774. },
  44775. "bid": {
  44776. "description": "买1",
  44777. "type": "number"
  44778. },
  44779. "bid10": {
  44780. "description": "买10",
  44781. "type": "number"
  44782. },
  44783. "bid2": {
  44784. "description": "买2",
  44785. "type": "number"
  44786. },
  44787. "bid3": {
  44788. "description": "买3",
  44789. "type": "number"
  44790. },
  44791. "bid4": {
  44792. "description": "买4",
  44793. "type": "number"
  44794. },
  44795. "bid5": {
  44796. "description": "买5",
  44797. "type": "number"
  44798. },
  44799. "bid6": {
  44800. "description": "买6",
  44801. "type": "number"
  44802. },
  44803. "bid7": {
  44804. "description": "买7",
  44805. "type": "number"
  44806. },
  44807. "bid8": {
  44808. "description": "买8",
  44809. "type": "number"
  44810. },
  44811. "bid9": {
  44812. "description": "买9",
  44813. "type": "number"
  44814. },
  44815. "bidorderid": {
  44816. "description": "买单号1",
  44817. "type": "integer"
  44818. },
  44819. "bidorderid2": {
  44820. "description": "买单号2",
  44821. "type": "integer"
  44822. },
  44823. "bidorderid3": {
  44824. "description": "买单号3",
  44825. "type": "integer"
  44826. },
  44827. "bidorderid4": {
  44828. "description": "买单号4",
  44829. "type": "integer"
  44830. },
  44831. "bidorderid5": {
  44832. "description": "买单号5",
  44833. "type": "integer"
  44834. },
  44835. "bidordervolume": {
  44836. "description": "买单量1",
  44837. "type": "integer"
  44838. },
  44839. "bidordervolume10": {
  44840. "description": "买单量10",
  44841. "type": "integer"
  44842. },
  44843. "bidordervolume2": {
  44844. "description": "买单量2",
  44845. "type": "integer"
  44846. },
  44847. "bidordervolume3": {
  44848. "description": "买单量3",
  44849. "type": "integer"
  44850. },
  44851. "bidordervolume4": {
  44852. "description": "买单量4",
  44853. "type": "integer"
  44854. },
  44855. "bidordervolume5": {
  44856. "description": "买单量5",
  44857. "type": "integer"
  44858. },
  44859. "bidordervolume6": {
  44860. "description": "买单量6",
  44861. "type": "integer"
  44862. },
  44863. "bidordervolume7": {
  44864. "description": "买单量7",
  44865. "type": "integer"
  44866. },
  44867. "bidordervolume8": {
  44868. "description": "买单量8",
  44869. "type": "integer"
  44870. },
  44871. "bidordervolume9": {
  44872. "description": "买单量9",
  44873. "type": "integer"
  44874. },
  44875. "bidqueueinfo": {
  44876. "description": "大利市买港股用",
  44877. "type": "string"
  44878. },
  44879. "bidvolume": {
  44880. "description": "买量1",
  44881. "type": "integer"
  44882. },
  44883. "bidvolume10": {
  44884. "description": "买量10",
  44885. "type": "integer"
  44886. },
  44887. "bidvolume2": {
  44888. "description": "买量2",
  44889. "type": "integer"
  44890. },
  44891. "bidvolume3": {
  44892. "description": "买量3",
  44893. "type": "integer"
  44894. },
  44895. "bidvolume4": {
  44896. "description": "买量4",
  44897. "type": "integer"
  44898. },
  44899. "bidvolume5": {
  44900. "description": "买量5",
  44901. "type": "integer"
  44902. },
  44903. "bidvolume6": {
  44904. "description": "买量6",
  44905. "type": "integer"
  44906. },
  44907. "bidvolume7": {
  44908. "description": "买量7",
  44909. "type": "integer"
  44910. },
  44911. "bidvolume8": {
  44912. "description": "买量8",
  44913. "type": "integer"
  44914. },
  44915. "bidvolume9": {
  44916. "description": "买量9",
  44917. "type": "integer"
  44918. },
  44919. "calloptionpremiums": {
  44920. "description": "认购期权1",
  44921. "type": "integer"
  44922. },
  44923. "calloptionpremiums2": {
  44924. "description": "认购期权2",
  44925. "type": "integer"
  44926. },
  44927. "calloptionpremiums3": {
  44928. "description": "认购期权3",
  44929. "type": "integer"
  44930. },
  44931. "calloptionpremiums4": {
  44932. "description": "认购期权4",
  44933. "type": "integer"
  44934. },
  44935. "calloptionpremiums5": {
  44936. "description": "认购期权5",
  44937. "type": "integer"
  44938. },
  44939. "cleartime": {
  44940. "description": "清盘时间",
  44941. "type": "integer"
  44942. },
  44943. "exchangecode": {
  44944. "description": "交易所代码",
  44945. "type": "integer"
  44946. },
  44947. "exchangedate": {
  44948. "description": "交易日",
  44949. "type": "integer"
  44950. },
  44951. "goodscode": {
  44952. "description": "商品代码",
  44953. "type": "string"
  44954. },
  44955. "grepmarketprice": {
  44956. "description": "暗盘价 港股专用",
  44957. "type": "number"
  44958. },
  44959. "highest": {
  44960. "description": "最高价",
  44961. "type": "number"
  44962. },
  44963. "holdincrement": {
  44964. "description": "单笔持仓",
  44965. "type": "integer"
  44966. },
  44967. "holdvolume": {
  44968. "description": "持仓",
  44969. "type": "integer"
  44970. },
  44971. "iep": {
  44972. "description": "平衡价 港股专用",
  44973. "type": "number"
  44974. },
  44975. "iev": {
  44976. "description": "平衡量 港股专用",
  44977. "type": "number"
  44978. },
  44979. "inventory": {
  44980. "description": "库存",
  44981. "type": "integer"
  44982. },
  44983. "iscleared": {
  44984. "description": "是否清盘标志",
  44985. "type": "integer"
  44986. },
  44987. "issettled": {
  44988. "description": "是否结算标志",
  44989. "type": "integer"
  44990. },
  44991. "last": {
  44992. "description": "最新价",
  44993. "type": "number"
  44994. },
  44995. "lastlot": {
  44996. "description": "最新成交手数",
  44997. "type": "integer"
  44998. },
  44999. "lasttime": {
  45000. "description": "行情时间(只有现价变化行情时间才变化)",
  45001. "type": "string"
  45002. },
  45003. "lastturnover": {
  45004. "description": "最新成交金额",
  45005. "type": "number"
  45006. },
  45007. "lastvolume": {
  45008. "description": "最新成交量",
  45009. "type": "integer"
  45010. },
  45011. "limitdown": {
  45012. "description": "跌停价",
  45013. "type": "number"
  45014. },
  45015. "limitup": {
  45016. "description": "涨停价",
  45017. "type": "number"
  45018. },
  45019. "lowest": {
  45020. "description": "最低价",
  45021. "type": "number"
  45022. },
  45023. "nontotalholdervolume": {
  45024. "description": "非交易持仓量",
  45025. "type": "integer"
  45026. },
  45027. "nontotallot": {
  45028. "description": "非交易总手数",
  45029. "type": "integer"
  45030. },
  45031. "nontotalturnover": {
  45032. "description": "非交易总金额",
  45033. "type": "integer"
  45034. },
  45035. "nontotalvolume": {
  45036. "description": "非交易总量",
  45037. "type": "integer"
  45038. },
  45039. "opened": {
  45040. "description": "开盘价",
  45041. "type": "number"
  45042. },
  45043. "opentime": {
  45044. "description": "开盘时间",
  45045. "type": "string"
  45046. },
  45047. "orderid": {
  45048. "description": "序号",
  45049. "type": "integer"
  45050. },
  45051. "preclose": {
  45052. "description": "昨收",
  45053. "type": "number"
  45054. },
  45055. "preholdvolume": {
  45056. "description": "昨持仓",
  45057. "type": "integer"
  45058. },
  45059. "presettle": {
  45060. "description": "昨结价",
  45061. "type": "number"
  45062. },
  45063. "publictradetype": {
  45064. "description": "公共交易标志类型 港股专用",
  45065. "type": "string"
  45066. },
  45067. "putoptionpremiums": {
  45068. "description": "认沽期权1",
  45069. "type": "integer"
  45070. },
  45071. "putoptionpremiums2": {
  45072. "description": "认沽期权2",
  45073. "type": "integer"
  45074. },
  45075. "putoptionpremiums3": {
  45076. "description": "认沽期权3",
  45077. "type": "integer"
  45078. },
  45079. "putoptionpremiums4": {
  45080. "description": "认沽期权4",
  45081. "type": "integer"
  45082. },
  45083. "putoptionpremiums5": {
  45084. "description": "认沽期权5",
  45085. "type": "integer"
  45086. },
  45087. "settle": {
  45088. "description": "结算价",
  45089. "type": "number"
  45090. },
  45091. "strikeprice": {
  45092. "description": "发行价",
  45093. "type": "number"
  45094. },
  45095. "totalaskvolume": {
  45096. "description": "内盘",
  45097. "type": "integer"
  45098. },
  45099. "totalbidvolume": {
  45100. "description": "外盘",
  45101. "type": "integer"
  45102. },
  45103. "totallot": {
  45104. "description": "总手数",
  45105. "type": "integer"
  45106. },
  45107. "totalturnover": {
  45108. "description": "总金额",
  45109. "type": "number"
  45110. },
  45111. "totalvolume": {
  45112. "description": "总量",
  45113. "type": "integer"
  45114. },
  45115. "utclasttime": {
  45116. "description": "utc的行情时间",
  45117. "type": "string"
  45118. }
  45119. }
  45120. },
  45121. "quote.QueryTSDataRsp": {
  45122. "type": "object",
  45123. "properties": {
  45124. "Count": {
  45125. "description": "交易日应有数据个数",
  45126. "type": "integer"
  45127. },
  45128. "decimalPlace": {
  45129. "description": "小数位",
  45130. "type": "integer"
  45131. },
  45132. "endTime": {
  45133. "description": "结束时间",
  45134. "type": "string"
  45135. },
  45136. "goodsCode": {
  45137. "description": "商品代码",
  45138. "type": "string"
  45139. },
  45140. "historyDatas": {
  45141. "description": "历史数据",
  45142. "type": "array",
  45143. "items": {
  45144. "$ref": "#/definitions/quote.HistoryData"
  45145. }
  45146. },
  45147. "outGoodsCode": {
  45148. "description": "外部商品代码",
  45149. "type": "string"
  45150. },
  45151. "preSettle": {
  45152. "description": "昨结价",
  45153. "type": "number"
  45154. },
  45155. "runSteps": {
  45156. "description": "交易日开休市计划",
  45157. "type": "array",
  45158. "items": {
  45159. "$ref": "#/definitions/quote.TSDataRunStep"
  45160. }
  45161. },
  45162. "startTime": {
  45163. "description": "开始时间",
  45164. "type": "string"
  45165. },
  45166. "tradeDate": {
  45167. "description": "交易日",
  45168. "type": "string"
  45169. }
  45170. }
  45171. },
  45172. "quote.TSDataRunStep": {
  45173. "type": "object",
  45174. "properties": {
  45175. "end": {
  45176. "description": "真实结束时间",
  45177. "type": "string"
  45178. },
  45179. "endflag": {
  45180. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45181. "type": "integer"
  45182. },
  45183. "endtime": {
  45184. "description": "结束时间(HH:mm)",
  45185. "type": "string"
  45186. },
  45187. "endweekday": {
  45188. "description": "结束周几",
  45189. "type": "integer"
  45190. },
  45191. "groupid": {
  45192. "description": "分组ID",
  45193. "type": "integer"
  45194. },
  45195. "runstep": {
  45196. "description": "运行阶段 - 2:连续交易",
  45197. "type": "integer"
  45198. },
  45199. "sectionid": {
  45200. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45201. "type": "integer"
  45202. },
  45203. "start": {
  45204. "description": "真实开始时间",
  45205. "type": "string"
  45206. },
  45207. "startflag": {
  45208. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45209. "type": "integer"
  45210. },
  45211. "starttime": {
  45212. "description": "起始时间(HH:mm)",
  45213. "type": "string"
  45214. },
  45215. "startweekday": {
  45216. "description": "起始周几",
  45217. "type": "integer"
  45218. },
  45219. "tradeweekday": {
  45220. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45221. "type": "integer"
  45222. }
  45223. }
  45224. },
  45225. "szdz.QueryConvertLogRsp": {
  45226. "type": "object",
  45227. "required": [
  45228. "logid"
  45229. ],
  45230. "properties": {
  45231. "accountid": {
  45232. "description": "资金账户ID",
  45233. "type": "integer"
  45234. },
  45235. "clientticket": {
  45236. "description": "客户端流水号",
  45237. "type": "string"
  45238. },
  45239. "converttype": {
  45240. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45241. "type": "integer"
  45242. },
  45243. "createtime": {
  45244. "description": "记账时间",
  45245. "type": "string"
  45246. },
  45247. "daymaxvalue": {
  45248. "description": "配置当日最大转入限制",
  45249. "type": "number"
  45250. },
  45251. "daymaxvalue2": {
  45252. "description": "配置当日最大转入限制(转入)",
  45253. "type": "number"
  45254. },
  45255. "goodscode": {
  45256. "description": "商品代码",
  45257. "type": "string"
  45258. },
  45259. "goodsname": {
  45260. "description": "商品名称",
  45261. "type": "string"
  45262. },
  45263. "handlestatus": {
  45264. "description": "处理状态",
  45265. "type": "integer"
  45266. },
  45267. "innergoodsid": {
  45268. "description": "内部商品ID",
  45269. "type": "integer"
  45270. },
  45271. "inratio": {
  45272. "description": "配置转入比值",
  45273. "type": "integer"
  45274. },
  45275. "invalue": {
  45276. "description": "目标值",
  45277. "type": "number"
  45278. },
  45279. "logid": {
  45280. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45281. "type": "integer"
  45282. },
  45283. "mobile": {
  45284. "description": "手机号码(加密存储)",
  45285. "type": "string"
  45286. },
  45287. "outergoodscode": {
  45288. "description": "外部商品代码[JD\\PD]",
  45289. "type": "string"
  45290. },
  45291. "outratio": {
  45292. "description": "配置转出比值",
  45293. "type": "integer"
  45294. },
  45295. "outvalue": {
  45296. "description": "源值",
  45297. "type": "number"
  45298. },
  45299. "pddecimalplace": {
  45300. "description": "PD小数位",
  45301. "type": "integer"
  45302. },
  45303. "qty": {
  45304. "description": "数量",
  45305. "type": "string"
  45306. },
  45307. "remark": {
  45308. "description": "备注",
  45309. "type": "string"
  45310. },
  45311. "sessionid": {
  45312. "description": "会话ID",
  45313. "type": "integer"
  45314. },
  45315. "timemaxvalue": {
  45316. "description": "配置单次最大转入限制",
  45317. "type": "number"
  45318. },
  45319. "timemaxvalue2": {
  45320. "description": "配置单次最大转入限制(转入)",
  45321. "type": "number"
  45322. },
  45323. "timeminvalue": {
  45324. "description": "配置单次最小数量限制",
  45325. "type": "number"
  45326. },
  45327. "timeminvalue2": {
  45328. "description": "配置单次最小数量限制(转入)",
  45329. "type": "number"
  45330. },
  45331. "tradedate": {
  45332. "description": "交易日(yyyyMMdd)",
  45333. "type": "string"
  45334. },
  45335. "userid": {
  45336. "description": "用户ID",
  45337. "type": "integer"
  45338. }
  45339. }
  45340. },
  45341. "szdz.QueryGoodsPickupRsp": {
  45342. "type": "object",
  45343. "required": [
  45344. "takeorderid"
  45345. ],
  45346. "properties": {
  45347. "accountid": {
  45348. "description": "账户ID",
  45349. "type": "integer"
  45350. },
  45351. "address": {
  45352. "description": "提货人详细地址",
  45353. "type": "string"
  45354. },
  45355. "auditer": {
  45356. "description": "审核人",
  45357. "type": "integer"
  45358. },
  45359. "audittime": {
  45360. "description": "审核时间",
  45361. "type": "string"
  45362. },
  45363. "cardnum": {
  45364. "description": "提货人证件号码",
  45365. "type": "string"
  45366. },
  45367. "cardtypeid": {
  45368. "description": "提货人证件类型",
  45369. "type": "integer"
  45370. },
  45371. "checkremark": {
  45372. "description": "审核备注",
  45373. "type": "string"
  45374. },
  45375. "goodscode": {
  45376. "description": "商品代码",
  45377. "type": "string"
  45378. },
  45379. "goodsid": {
  45380. "description": "商品ID",
  45381. "type": "integer"
  45382. },
  45383. "goodsname": {
  45384. "description": "商品名称",
  45385. "type": "string"
  45386. },
  45387. "handlestatus": {
  45388. "description": "处理状态",
  45389. "type": "integer"
  45390. },
  45391. "marketid": {
  45392. "description": "市场ID",
  45393. "type": "integer"
  45394. },
  45395. "phonenum": {
  45396. "description": "提货人联系方式",
  45397. "type": "string"
  45398. },
  45399. "qty": {
  45400. "description": "提货数量",
  45401. "type": "number"
  45402. },
  45403. "recivername": {
  45404. "description": "提货人姓名",
  45405. "type": "string"
  45406. },
  45407. "reqtime": {
  45408. "description": "更新时间",
  45409. "type": "string"
  45410. },
  45411. "takemode": {
  45412. "description": "提货方式 - 2:自提 3:配送",
  45413. "type": "integer"
  45414. },
  45415. "takeorderid": {
  45416. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45417. "type": "string"
  45418. },
  45419. "takeorderstatus": {
  45420. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45421. "type": "integer"
  45422. },
  45423. "takeremark": {
  45424. "description": "提货备注",
  45425. "type": "string"
  45426. },
  45427. "tradedate": {
  45428. "description": "交易日(yyyyMMdd)",
  45429. "type": "string"
  45430. },
  45431. "userid": {
  45432. "description": "用户ID",
  45433. "type": "integer"
  45434. }
  45435. }
  45436. },
  45437. "szdz.QueryRecieptOrderRsp": {
  45438. "type": "object",
  45439. "required": [
  45440. "ordertime"
  45441. ],
  45442. "properties": {
  45443. "accountName": {
  45444. "description": "所属账号名称(已脱敏)",
  45445. "type": "string"
  45446. },
  45447. "accountid": {
  45448. "description": "资金账号",
  45449. "type": "integer"
  45450. },
  45451. "buyorsell": {
  45452. "description": "方向 - 0:买 1:卖",
  45453. "type": "integer"
  45454. },
  45455. "enableqty": {
  45456. "description": "可摘数量",
  45457. "type": "integer"
  45458. },
  45459. "goodscode": {
  45460. "description": "商品代码",
  45461. "type": "string"
  45462. },
  45463. "goodsid": {
  45464. "description": "商品ID",
  45465. "type": "integer"
  45466. },
  45467. "goodsname": {
  45468. "description": "商品名称",
  45469. "type": "string"
  45470. },
  45471. "orderid": {
  45472. "description": "委托单号",
  45473. "type": "string"
  45474. },
  45475. "orderprice": {
  45476. "description": "委托价格",
  45477. "type": "number"
  45478. },
  45479. "ordertime": {
  45480. "description": "委托时间",
  45481. "type": "string"
  45482. },
  45483. "tradedate": {
  45484. "description": "交易日(yyyyMMdd)",
  45485. "type": "string"
  45486. }
  45487. }
  45488. },
  45489. "szdz.QuerySZDZTradePositionRsp": {
  45490. "type": "object",
  45491. "properties": {
  45492. "accountid": {
  45493. "description": "账号Id",
  45494. "type": "integer"
  45495. },
  45496. "agreeunit": {
  45497. "description": "合约单位",
  45498. "type": "number"
  45499. },
  45500. "averageprice": {
  45501. "description": "持仓均价",
  45502. "type": "number"
  45503. },
  45504. "buyorsell": {
  45505. "description": "方向 - 0:买 1:卖",
  45506. "type": "integer"
  45507. },
  45508. "closetotalqty": {
  45509. "description": "平仓总数量",
  45510. "type": "integer"
  45511. },
  45512. "curholderamount": {
  45513. "description": "当前持仓总金额",
  45514. "type": "number"
  45515. },
  45516. "curpositionqty": {
  45517. "description": "当前持仓总数量",
  45518. "type": "integer"
  45519. },
  45520. "currencyid": {
  45521. "description": "报价货币ID",
  45522. "type": "integer"
  45523. },
  45524. "curtdposition": {
  45525. "description": "期末今日头寸",
  45526. "type": "integer"
  45527. },
  45528. "decimalplace": {
  45529. "description": "报价小数位",
  45530. "type": "integer"
  45531. },
  45532. "enableqty": {
  45533. "description": "可用量",
  45534. "type": "integer"
  45535. },
  45536. "fretdposition": {
  45537. "description": "冻结今日头寸",
  45538. "type": "integer"
  45539. },
  45540. "frozenqty": {
  45541. "description": "持仓冻结数量",
  45542. "type": "integer"
  45543. },
  45544. "goodscode": {
  45545. "description": "商品代码(内部)",
  45546. "type": "string"
  45547. },
  45548. "goodsid": {
  45549. "description": "商品Id",
  45550. "type": "integer"
  45551. },
  45552. "goodsname": {
  45553. "description": "商品名称",
  45554. "type": "string"
  45555. },
  45556. "goodunit": {
  45557. "description": "报价单位",
  45558. "type": "string"
  45559. },
  45560. "goodunitid": {
  45561. "description": "报价单位ID",
  45562. "type": "integer"
  45563. },
  45564. "holderamount": {
  45565. "description": "期初持仓总金额",
  45566. "type": "number"
  45567. },
  45568. "marketid": {
  45569. "description": "市场ID",
  45570. "type": "integer"
  45571. },
  45572. "openreqqty": {
  45573. "description": "开仓申请数量",
  45574. "type": "integer"
  45575. },
  45576. "opentotalqty": {
  45577. "description": "开仓总数量",
  45578. "type": "integer"
  45579. },
  45580. "otherfrozenqty": {
  45581. "description": "持仓其他冻结数量(交割冻结)",
  45582. "type": "integer"
  45583. },
  45584. "positionqty": {
  45585. "description": "期初持仓数量",
  45586. "type": "integer"
  45587. },
  45588. "szdz3freezqty": {
  45589. "description": "尚志大宗转换冻结总数量",
  45590. "type": "integer"
  45591. },
  45592. "tnqty": {
  45593. "description": "T+N冻结总量",
  45594. "type": "integer"
  45595. },
  45596. "tnusedqty": {
  45597. "description": "T+N使用量",
  45598. "type": "integer"
  45599. },
  45600. "trademode": {
  45601. "description": "交易模式",
  45602. "type": "integer"
  45603. },
  45604. "usedmargin": {
  45605. "description": "占用保证金",
  45606. "type": "number"
  45607. }
  45608. }
  45609. },
  45610. "taaccount.QueryAmountLogRsp": {
  45611. "type": "object",
  45612. "required": [
  45613. "accountid",
  45614. "amount",
  45615. "amountadjusttype",
  45616. "autoid",
  45617. "balance",
  45618. "createtime",
  45619. "currentbalance",
  45620. "operatetype"
  45621. ],
  45622. "properties": {
  45623. "OPERATETYPENAME": {
  45624. "description": "资金操作类型名称",
  45625. "type": "string"
  45626. },
  45627. "accountid": {
  45628. "description": "资金账户ID",
  45629. "type": "integer"
  45630. },
  45631. "agoodscode": {
  45632. "description": "竞拍商品代码",
  45633. "type": "string"
  45634. },
  45635. "agoodsname": {
  45636. "description": "竞拍商品名称",
  45637. "type": "string"
  45638. },
  45639. "amount": {
  45640. "description": "资金金额",
  45641. "type": "number"
  45642. },
  45643. "amountadjusttype": {
  45644. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45645. "type": "integer"
  45646. },
  45647. "autoid": {
  45648. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45649. "type": "integer"
  45650. },
  45651. "balance": {
  45652. "description": "期初余额",
  45653. "type": "number"
  45654. },
  45655. "businesscode": {
  45656. "description": "业务编号",
  45657. "type": "integer"
  45658. },
  45659. "createtime": {
  45660. "description": "发生时间",
  45661. "type": "string"
  45662. },
  45663. "currencyid": {
  45664. "description": "币种ID",
  45665. "type": "integer"
  45666. },
  45667. "currentbalance": {
  45668. "description": "期末余额(变动后金额)",
  45669. "type": "number"
  45670. },
  45671. "dgoodscode": {
  45672. "description": "交割商品代码",
  45673. "type": "string"
  45674. },
  45675. "dgoodsname": {
  45676. "description": "交割商品名称",
  45677. "type": "string"
  45678. },
  45679. "goodscode": {
  45680. "description": "商品代码",
  45681. "type": "string"
  45682. },
  45683. "goodsid": {
  45684. "description": "商品ID",
  45685. "type": "integer"
  45686. },
  45687. "goodsname": {
  45688. "description": "商品名称",
  45689. "type": "string"
  45690. },
  45691. "marketid": {
  45692. "description": "市场ID",
  45693. "type": "integer"
  45694. },
  45695. "marketname": {
  45696. "description": "市场名称",
  45697. "type": "string"
  45698. },
  45699. "moneyticket": {
  45700. "description": "资金流水号:银行端流水号",
  45701. "type": "integer"
  45702. },
  45703. "operatetype": {
  45704. "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:营销收款",
  45705. "type": "integer"
  45706. },
  45707. "relationorderid": {
  45708. "description": "关联单号",
  45709. "type": "string"
  45710. },
  45711. "remark": {
  45712. "description": "备注",
  45713. "type": "string"
  45714. },
  45715. "trademode": {
  45716. "description": "交易模式",
  45717. "type": "integer"
  45718. }
  45719. }
  45720. },
  45721. "taaccount.QueryHisAmountLogRsp": {
  45722. "type": "object",
  45723. "required": [
  45724. "accountid",
  45725. "amount",
  45726. "amountadjusttype",
  45727. "autoid",
  45728. "balance",
  45729. "createtime",
  45730. "currentbalance",
  45731. "histradedate",
  45732. "operatetype"
  45733. ],
  45734. "properties": {
  45735. "OPERATETYPENAME": {
  45736. "description": "资金操作类型名称",
  45737. "type": "string"
  45738. },
  45739. "accountid": {
  45740. "description": "资金账户ID",
  45741. "type": "integer"
  45742. },
  45743. "agoodscode": {
  45744. "description": "竞拍商品代码",
  45745. "type": "string"
  45746. },
  45747. "agoodsname": {
  45748. "description": "竞拍商品名称",
  45749. "type": "string"
  45750. },
  45751. "amount": {
  45752. "description": "资金金额",
  45753. "type": "number"
  45754. },
  45755. "amountadjusttype": {
  45756. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45757. "type": "integer"
  45758. },
  45759. "autoid": {
  45760. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45761. "type": "integer"
  45762. },
  45763. "balance": {
  45764. "description": "期初余额",
  45765. "type": "number"
  45766. },
  45767. "businesscode": {
  45768. "description": "业务编号",
  45769. "type": "integer"
  45770. },
  45771. "createtime": {
  45772. "description": "发生时间",
  45773. "type": "string"
  45774. },
  45775. "currencyid": {
  45776. "description": "币种ID",
  45777. "type": "integer"
  45778. },
  45779. "currentbalance": {
  45780. "description": "期末余额(变动后金额)",
  45781. "type": "number"
  45782. },
  45783. "dgoodscode": {
  45784. "description": "交割商品代码",
  45785. "type": "string"
  45786. },
  45787. "dgoodsname": {
  45788. "description": "交割商品名称",
  45789. "type": "string"
  45790. },
  45791. "goodscode": {
  45792. "description": "商品代码",
  45793. "type": "string"
  45794. },
  45795. "goodsid": {
  45796. "description": "商品ID",
  45797. "type": "integer"
  45798. },
  45799. "goodsname": {
  45800. "description": "商品名称",
  45801. "type": "string"
  45802. },
  45803. "histradedate": {
  45804. "description": "历史交易日",
  45805. "type": "string"
  45806. },
  45807. "isvaliddata": {
  45808. "description": "是否有效 - 0:无效 1:有效",
  45809. "type": "integer"
  45810. },
  45811. "marketid": {
  45812. "description": "市场ID",
  45813. "type": "integer"
  45814. },
  45815. "marketname": {
  45816. "description": "市场名称",
  45817. "type": "string"
  45818. },
  45819. "moneyticket": {
  45820. "description": "资金流水号:银行端流水号",
  45821. "type": "integer"
  45822. },
  45823. "operatetype": {
  45824. "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:营销收款",
  45825. "type": "integer"
  45826. },
  45827. "relationorderid": {
  45828. "description": "关联单号",
  45829. "type": "string"
  45830. },
  45831. "remark": {
  45832. "description": "备注",
  45833. "type": "string"
  45834. },
  45835. "trademode": {
  45836. "description": "交易模式",
  45837. "type": "integer"
  45838. }
  45839. }
  45840. },
  45841. "trade.QueryRecieptOrderRsp": {
  45842. "type": "object",
  45843. "required": [
  45844. "ordertime"
  45845. ],
  45846. "properties": {
  45847. "accountName": {
  45848. "description": "所属账号名称(已脱敏)",
  45849. "type": "string"
  45850. },
  45851. "accountid": {
  45852. "description": "资金账号",
  45853. "type": "integer"
  45854. },
  45855. "buyorsell": {
  45856. "description": "方向 - 0:买 1:卖",
  45857. "type": "integer"
  45858. },
  45859. "enableqty": {
  45860. "description": "可摘数量",
  45861. "type": "integer"
  45862. },
  45863. "goodscode": {
  45864. "description": "商品代码",
  45865. "type": "string"
  45866. },
  45867. "goodsid": {
  45868. "description": "商品ID",
  45869. "type": "integer"
  45870. },
  45871. "goodsname": {
  45872. "description": "商品名称",
  45873. "type": "string"
  45874. },
  45875. "orderid": {
  45876. "description": "委托单号",
  45877. "type": "string"
  45878. },
  45879. "orderprice": {
  45880. "description": "委托价格",
  45881. "type": "number"
  45882. },
  45883. "ordertime": {
  45884. "description": "委托时间",
  45885. "type": "string"
  45886. },
  45887. "tradedate": {
  45888. "description": "交易日(yyyyMMdd)",
  45889. "type": "string"
  45890. }
  45891. }
  45892. },
  45893. "user.LoginQueryRsp": {
  45894. "type": "object",
  45895. "properties": {
  45896. "areaRoles": {
  45897. "description": "所属角色信息",
  45898. "type": "array",
  45899. "items": {
  45900. "$ref": "#/definitions/models.Arearole"
  45901. }
  45902. },
  45903. "externalExchanges": {
  45904. "description": "外部交易所",
  45905. "type": "array",
  45906. "items": {
  45907. "$ref": "#/definitions/models.Externalexchange"
  45908. }
  45909. },
  45910. "goodsgroups": {
  45911. "description": "商品组",
  45912. "type": "array",
  45913. "items": {
  45914. "$ref": "#/definitions/models.Goodsgroup"
  45915. }
  45916. },
  45917. "loginAccount": {
  45918. "description": "登录账号",
  45919. "$ref": "#/definitions/models.Loginaccount"
  45920. },
  45921. "markets": {
  45922. "description": "市场",
  45923. "type": "array",
  45924. "items": {
  45925. "$ref": "#/definitions/models.Market"
  45926. }
  45927. },
  45928. "systemParams": {
  45929. "description": "系统参数",
  45930. "type": "array",
  45931. "items": {
  45932. "$ref": "#/definitions/models.Systemparam"
  45933. }
  45934. },
  45935. "userAccount": {
  45936. "description": "用户账号",
  45937. "$ref": "#/definitions/models.Useraccount"
  45938. },
  45939. "userInfo": {
  45940. "description": "用户信息",
  45941. "$ref": "#/definitions/models.Userinfo"
  45942. },
  45943. "username": {
  45944. "description": "用户姓名",
  45945. "type": "string"
  45946. }
  45947. }
  45948. }
  45949. },
  45950. "securityDefinitions": {
  45951. "ApiKeyAuth": {
  45952. "type": "apiKey",
  45953. "name": "Authorization",
  45954. "in": "header"
  45955. },
  45956. "Group": {
  45957. "type": "apiKey",
  45958. "name": "Group",
  45959. "in": "header"
  45960. },
  45961. "LoginID": {
  45962. "type": "apiKey",
  45963. "name": "LoginID",
  45964. "in": "header"
  45965. }
  45966. }
  45967. }`
  45968. // SwaggerInfo holds exported Swagger Info so clients can modify it
  45969. var SwaggerInfo = &swag.Spec{
  45970. Version: "1.0",
  45971. Host: "",
  45972. BasePath: "",
  45973. Schemes: []string{},
  45974. Title: "MTP2.0 查询服务 API",
  45975. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  45976. InfoInstanceName: "swagger",
  45977. SwaggerTemplate: docTemplate,
  45978. }
  45979. func init() {
  45980. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  45981. }