docs.go 1.6 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询企业风管期货商品信息",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1214. "name": "userid",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GetGoods": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "获取钻石详情",
  7570. "parameters": [
  7571. {
  7572. "type": "string",
  7573. "description": "商品编号",
  7574. "name": "goodsno",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/models.GZGoods"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Guangzuan/QueryBuyOrder": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. },
  7601. {
  7602. "LoginID": []
  7603. },
  7604. {
  7605. "Group": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "广钻"
  7613. ],
  7614. "summary": "查询求购大厅委托单",
  7615. "parameters": [
  7616. {
  7617. "type": "integer",
  7618. "description": "页码",
  7619. "name": "page",
  7620. "in": "query"
  7621. },
  7622. {
  7623. "type": "integer",
  7624. "description": "每页条数",
  7625. "name": "pagesize",
  7626. "in": "query"
  7627. },
  7628. {
  7629. "type": "string",
  7630. "description": "商品(查询字段-模糊查询)",
  7631. "name": "zsallproperties",
  7632. "in": "query"
  7633. },
  7634. {
  7635. "type": "string",
  7636. "description": "钻石分类, 格式:1,2,3",
  7637. "name": "zscategorys",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "委托单号",
  7643. "name": "wrtradeorderid",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "买方(查询字段-模糊查询)",
  7649. "name": "buyusername",
  7650. "in": "query"
  7651. }
  7652. ],
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "type": "array",
  7658. "items": {
  7659. "$ref": "#/definitions/models.BuyOrder"
  7660. }
  7661. }
  7662. },
  7663. "500": {
  7664. "description": "Internal Server Error",
  7665. "schema": {
  7666. "$ref": "#/definitions/app.Response"
  7667. }
  7668. }
  7669. }
  7670. }
  7671. },
  7672. "/Guangzuan/QueryDiamond": {
  7673. "post": {
  7674. "security": [
  7675. {
  7676. "ApiKeyAuth": []
  7677. },
  7678. {
  7679. "LoginID": []
  7680. },
  7681. {
  7682. "Group": []
  7683. }
  7684. ],
  7685. "produces": [
  7686. "application/json"
  7687. ],
  7688. "tags": [
  7689. "广钻"
  7690. ],
  7691. "summary": "钻石搜索",
  7692. "parameters": [
  7693. {
  7694. "description": "钻石搜索入参",
  7695. "name": "data",
  7696. "in": "body",
  7697. "required": true,
  7698. "schema": {
  7699. "$ref": "#/definitions/models.SellOrderQueryReq"
  7700. }
  7701. }
  7702. ],
  7703. "responses": {
  7704. "200": {
  7705. "description": "OK",
  7706. "schema": {
  7707. "type": "array",
  7708. "items": {
  7709. "$ref": "#/definitions/models.SellOrder"
  7710. }
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/Guangzuan/QueryMyBargainApply": {
  7723. "get": {
  7724. "security": [
  7725. {
  7726. "ApiKeyAuth": []
  7727. },
  7728. {
  7729. "LoginID": []
  7730. },
  7731. {
  7732. "Group": []
  7733. }
  7734. ],
  7735. "produces": [
  7736. "application/json"
  7737. ],
  7738. "tags": [
  7739. "广钻"
  7740. ],
  7741. "summary": "查询我的询价-求购",
  7742. "parameters": [
  7743. {
  7744. "type": "integer",
  7745. "description": "用户ID",
  7746. "name": "userid",
  7747. "in": "query",
  7748. "required": true
  7749. },
  7750. {
  7751. "type": "integer",
  7752. "description": "页码",
  7753. "name": "page",
  7754. "in": "query"
  7755. },
  7756. {
  7757. "type": "integer",
  7758. "description": "每页条数",
  7759. "name": "pagesize",
  7760. "in": "query"
  7761. },
  7762. {
  7763. "type": "integer",
  7764. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7765. "name": "applystatus",
  7766. "in": "query"
  7767. },
  7768. {
  7769. "type": "integer",
  7770. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  7771. "name": "type",
  7772. "in": "query"
  7773. }
  7774. ],
  7775. "responses": {
  7776. "200": {
  7777. "description": "OK",
  7778. "schema": {
  7779. "type": "array",
  7780. "items": {
  7781. "$ref": "#/definitions/models.MyBargainApply"
  7782. }
  7783. }
  7784. },
  7785. "500": {
  7786. "description": "Internal Server Error",
  7787. "schema": {
  7788. "$ref": "#/definitions/app.Response"
  7789. }
  7790. }
  7791. }
  7792. }
  7793. },
  7794. "/Guangzuan/QueryMyBuyOrder": {
  7795. "get": {
  7796. "security": [
  7797. {
  7798. "ApiKeyAuth": []
  7799. },
  7800. {
  7801. "LoginID": []
  7802. },
  7803. {
  7804. "Group": []
  7805. }
  7806. ],
  7807. "produces": [
  7808. "application/json"
  7809. ],
  7810. "tags": [
  7811. "广钻"
  7812. ],
  7813. "summary": "查询我的求购",
  7814. "parameters": [
  7815. {
  7816. "type": "integer",
  7817. "description": "用户ID",
  7818. "name": "userid",
  7819. "in": "query",
  7820. "required": true
  7821. },
  7822. {
  7823. "type": "integer",
  7824. "description": "页码",
  7825. "name": "page",
  7826. "in": "query"
  7827. },
  7828. {
  7829. "type": "integer",
  7830. "description": "每页条数",
  7831. "name": "pagesize",
  7832. "in": "query"
  7833. },
  7834. {
  7835. "type": "string",
  7836. "description": "商品(查询字段-模糊查询)",
  7837. "name": "zsallproperties",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "string",
  7842. "description": "钻石分类, 格式:1,2,3",
  7843. "name": "zscategorys",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "integer",
  7848. "description": "委托单号",
  7849. "name": "wrtradeorderid",
  7850. "in": "query"
  7851. },
  7852. {
  7853. "type": "boolean",
  7854. "description": "是否历史查询",
  7855. "name": "ishis",
  7856. "in": "query"
  7857. },
  7858. {
  7859. "type": "string",
  7860. "description": "开始交易日(yyyymmdd)",
  7861. "name": "begindate",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "string",
  7866. "description": "结束交易日(yyyymmdd)",
  7867. "name": "enddate",
  7868. "in": "query"
  7869. }
  7870. ],
  7871. "responses": {
  7872. "200": {
  7873. "description": "OK",
  7874. "schema": {
  7875. "type": "array",
  7876. "items": {
  7877. "$ref": "#/definitions/models.MyBuyOrder"
  7878. }
  7879. }
  7880. },
  7881. "500": {
  7882. "description": "Internal Server Error",
  7883. "schema": {
  7884. "$ref": "#/definitions/app.Response"
  7885. }
  7886. }
  7887. }
  7888. }
  7889. },
  7890. "/Guangzuan/QueryMyDeListing": {
  7891. "get": {
  7892. "security": [
  7893. {
  7894. "ApiKeyAuth": []
  7895. },
  7896. {
  7897. "LoginID": []
  7898. },
  7899. {
  7900. "Group": []
  7901. }
  7902. ],
  7903. "produces": [
  7904. "application/json"
  7905. ],
  7906. "tags": [
  7907. "广钻"
  7908. ],
  7909. "summary": "查询我的摘牌",
  7910. "parameters": [
  7911. {
  7912. "type": "integer",
  7913. "description": "用户ID",
  7914. "name": "userid",
  7915. "in": "query",
  7916. "required": true
  7917. },
  7918. {
  7919. "type": "integer",
  7920. "description": "页码",
  7921. "name": "page",
  7922. "in": "query"
  7923. },
  7924. {
  7925. "type": "integer",
  7926. "description": "每页条数",
  7927. "name": "pagesize",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "string",
  7932. "description": "商品(查询字段-模糊查询)",
  7933. "name": "zsallproperties",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "钻石分类, 格式:1,2,3",
  7939. "name": "zscategorys",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "integer",
  7944. "description": "成交单号",
  7945. "name": "wrtradedetailid",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "integer",
  7950. "description": "方向,0-购买 1-出售",
  7951. "name": "buyorsell",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "string",
  7956. "description": "对手方(模糊匹配)",
  7957. "name": "matchusername",
  7958. "in": "query"
  7959. },
  7960. {
  7961. "type": "string",
  7962. "description": "开始交易日(yyyymmdd)",
  7963. "name": "begindate",
  7964. "in": "query"
  7965. },
  7966. {
  7967. "type": "string",
  7968. "description": "结束交易日(yyyymmdd)",
  7969. "name": "enddate",
  7970. "in": "query"
  7971. }
  7972. ],
  7973. "responses": {
  7974. "200": {
  7975. "description": "OK",
  7976. "schema": {
  7977. "type": "array",
  7978. "items": {
  7979. "$ref": "#/definitions/models.MyDeListing"
  7980. }
  7981. }
  7982. },
  7983. "500": {
  7984. "description": "Internal Server Error",
  7985. "schema": {
  7986. "$ref": "#/definitions/app.Response"
  7987. }
  7988. }
  7989. }
  7990. }
  7991. },
  7992. "/Guangzuan/QueryMyDelistingApply": {
  7993. "get": {
  7994. "security": [
  7995. {
  7996. "ApiKeyAuth": []
  7997. },
  7998. {
  7999. "LoginID": []
  8000. },
  8001. {
  8002. "Group": []
  8003. }
  8004. ],
  8005. "produces": [
  8006. "application/json"
  8007. ],
  8008. "tags": [
  8009. "广钻"
  8010. ],
  8011. "summary": "查询我的询价-出售",
  8012. "parameters": [
  8013. {
  8014. "type": "integer",
  8015. "description": "用户ID",
  8016. "name": "userid",
  8017. "in": "query",
  8018. "required": true
  8019. },
  8020. {
  8021. "type": "integer",
  8022. "description": "页码",
  8023. "name": "page",
  8024. "in": "query"
  8025. },
  8026. {
  8027. "type": "integer",
  8028. "description": "每页条数",
  8029. "name": "pagesize",
  8030. "in": "query"
  8031. },
  8032. {
  8033. "type": "integer",
  8034. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8035. "name": "applystatus",
  8036. "in": "query"
  8037. },
  8038. {
  8039. "type": "integer",
  8040. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8041. "name": "type",
  8042. "in": "query"
  8043. }
  8044. ],
  8045. "responses": {
  8046. "200": {
  8047. "description": "OK",
  8048. "schema": {
  8049. "type": "array",
  8050. "items": {
  8051. "$ref": "#/definitions/models.MyDelistingApply"
  8052. }
  8053. }
  8054. },
  8055. "500": {
  8056. "description": "Internal Server Error",
  8057. "schema": {
  8058. "$ref": "#/definitions/app.Response"
  8059. }
  8060. }
  8061. }
  8062. }
  8063. },
  8064. "/Guangzuan/QueryMyFavorite": {
  8065. "get": {
  8066. "security": [
  8067. {
  8068. "ApiKeyAuth": []
  8069. },
  8070. {
  8071. "LoginID": []
  8072. },
  8073. {
  8074. "Group": []
  8075. }
  8076. ],
  8077. "produces": [
  8078. "application/json"
  8079. ],
  8080. "tags": [
  8081. "广钻"
  8082. ],
  8083. "summary": "查询我的收藏",
  8084. "parameters": [
  8085. {
  8086. "type": "integer",
  8087. "description": "用户ID",
  8088. "name": "userid",
  8089. "in": "query",
  8090. "required": true
  8091. },
  8092. {
  8093. "type": "integer",
  8094. "description": "页码",
  8095. "name": "page",
  8096. "in": "query"
  8097. },
  8098. {
  8099. "type": "integer",
  8100. "description": "每页条数",
  8101. "name": "pagesize",
  8102. "in": "query"
  8103. },
  8104. {
  8105. "type": "string",
  8106. "description": "钻石分类, 格式:1,2,3",
  8107. "name": "zscategorys",
  8108. "in": "query"
  8109. }
  8110. ],
  8111. "responses": {
  8112. "200": {
  8113. "description": "OK",
  8114. "schema": {
  8115. "type": "array",
  8116. "items": {
  8117. "$ref": "#/definitions/models.MyFavorite"
  8118. }
  8119. }
  8120. },
  8121. "500": {
  8122. "description": "Internal Server Error",
  8123. "schema": {
  8124. "$ref": "#/definitions/app.Response"
  8125. }
  8126. }
  8127. }
  8128. }
  8129. },
  8130. "/Guangzuan/QueryMyPerformanc": {
  8131. "get": {
  8132. "security": [
  8133. {
  8134. "ApiKeyAuth": []
  8135. },
  8136. {
  8137. "LoginID": []
  8138. },
  8139. {
  8140. "Group": []
  8141. }
  8142. ],
  8143. "produces": [
  8144. "application/json"
  8145. ],
  8146. "tags": [
  8147. "广钻"
  8148. ],
  8149. "summary": "查询我的履约",
  8150. "parameters": [
  8151. {
  8152. "type": "integer",
  8153. "description": "用户ID",
  8154. "name": "userid",
  8155. "in": "query",
  8156. "required": true
  8157. },
  8158. {
  8159. "type": "integer",
  8160. "description": "页码",
  8161. "name": "page",
  8162. "in": "query"
  8163. },
  8164. {
  8165. "type": "integer",
  8166. "description": "每页条数",
  8167. "name": "pagesize",
  8168. "in": "query"
  8169. },
  8170. {
  8171. "type": "string",
  8172. "description": "商品(查询字段-模糊查询)",
  8173. "name": "zsallproperties",
  8174. "in": "query"
  8175. },
  8176. {
  8177. "type": "integer",
  8178. "description": "方向,0-买 1-卖",
  8179. "name": "buyorsell",
  8180. "in": "query"
  8181. },
  8182. {
  8183. "type": "boolean",
  8184. "description": "是否历史查询",
  8185. "name": "ishis",
  8186. "in": "query"
  8187. },
  8188. {
  8189. "type": "string",
  8190. "description": "开始交易日(yyyymmdd)",
  8191. "name": "begindate",
  8192. "in": "query"
  8193. },
  8194. {
  8195. "type": "string",
  8196. "description": "结束交易日(yyyymmdd)",
  8197. "name": "enddate",
  8198. "in": "query"
  8199. }
  8200. ],
  8201. "responses": {
  8202. "200": {
  8203. "description": "OK",
  8204. "schema": {
  8205. "type": "array",
  8206. "items": {
  8207. "$ref": "#/definitions/models.MyPerformanc"
  8208. }
  8209. }
  8210. },
  8211. "500": {
  8212. "description": "Internal Server Error",
  8213. "schema": {
  8214. "$ref": "#/definitions/app.Response"
  8215. }
  8216. }
  8217. }
  8218. }
  8219. },
  8220. "/Guangzuan/QueryMySellOrder": {
  8221. "get": {
  8222. "security": [
  8223. {
  8224. "ApiKeyAuth": []
  8225. },
  8226. {
  8227. "LoginID": []
  8228. },
  8229. {
  8230. "Group": []
  8231. }
  8232. ],
  8233. "produces": [
  8234. "application/json"
  8235. ],
  8236. "tags": [
  8237. "广钻"
  8238. ],
  8239. "summary": "查询我的出售",
  8240. "parameters": [
  8241. {
  8242. "type": "integer",
  8243. "description": "用户ID",
  8244. "name": "userid",
  8245. "in": "query",
  8246. "required": true
  8247. },
  8248. {
  8249. "type": "integer",
  8250. "description": "页码",
  8251. "name": "page",
  8252. "in": "query"
  8253. },
  8254. {
  8255. "type": "integer",
  8256. "description": "每页条数",
  8257. "name": "pagesize",
  8258. "in": "query"
  8259. },
  8260. {
  8261. "type": "string",
  8262. "description": "商品(查询字段-模糊查询)",
  8263. "name": "zsallproperties",
  8264. "in": "query"
  8265. },
  8266. {
  8267. "type": "string",
  8268. "description": "钻石分类, 格式:1,2,3",
  8269. "name": "zscategorys",
  8270. "in": "query"
  8271. },
  8272. {
  8273. "type": "integer",
  8274. "description": "委托单号",
  8275. "name": "wrtradeorderid",
  8276. "in": "query"
  8277. },
  8278. {
  8279. "type": "boolean",
  8280. "description": "是否历史查询",
  8281. "name": "ishis",
  8282. "in": "query"
  8283. },
  8284. {
  8285. "type": "string",
  8286. "description": "开始交易日(yyyymmdd)",
  8287. "name": "begindate",
  8288. "in": "query"
  8289. },
  8290. {
  8291. "type": "string",
  8292. "description": "结束交易日(yyyymmdd)",
  8293. "name": "enddate",
  8294. "in": "query"
  8295. }
  8296. ],
  8297. "responses": {
  8298. "200": {
  8299. "description": "OK",
  8300. "schema": {
  8301. "type": "array",
  8302. "items": {
  8303. "$ref": "#/definitions/models.MySellOrder"
  8304. }
  8305. }
  8306. },
  8307. "500": {
  8308. "description": "Internal Server Error",
  8309. "schema": {
  8310. "$ref": "#/definitions/app.Response"
  8311. }
  8312. }
  8313. }
  8314. }
  8315. },
  8316. "/Guangzuan/QueryMyWRPosition": {
  8317. "get": {
  8318. "security": [
  8319. {
  8320. "ApiKeyAuth": []
  8321. },
  8322. {
  8323. "LoginID": []
  8324. },
  8325. {
  8326. "Group": []
  8327. }
  8328. ],
  8329. "produces": [
  8330. "application/json"
  8331. ],
  8332. "tags": [
  8333. "广钻"
  8334. ],
  8335. "summary": "查询我的库存",
  8336. "parameters": [
  8337. {
  8338. "type": "integer",
  8339. "description": "页码",
  8340. "name": "page",
  8341. "in": "query"
  8342. },
  8343. {
  8344. "type": "integer",
  8345. "description": "每页条数",
  8346. "name": "pagesize",
  8347. "in": "query"
  8348. },
  8349. {
  8350. "type": "integer",
  8351. "description": "登录用户ID",
  8352. "name": "wruserid",
  8353. "in": "query",
  8354. "required": true
  8355. },
  8356. {
  8357. "type": "string",
  8358. "description": "商品(查询字段-模糊查询)",
  8359. "name": "zsallproperties",
  8360. "in": "query"
  8361. },
  8362. {
  8363. "type": "string",
  8364. "description": "钻石分类, 格式:1,2,3",
  8365. "name": "zscategorys",
  8366. "in": "query"
  8367. },
  8368. {
  8369. "type": "integer",
  8370. "description": "仓库ID",
  8371. "name": "warehouseid",
  8372. "in": "query"
  8373. },
  8374. {
  8375. "type": "integer",
  8376. "description": "是否上架,0-全部 1-是 2-否",
  8377. "name": "marketflag",
  8378. "in": "query"
  8379. }
  8380. ],
  8381. "responses": {
  8382. "200": {
  8383. "description": "OK",
  8384. "schema": {
  8385. "type": "array",
  8386. "items": {
  8387. "$ref": "#/definitions/models.MyWRPosition"
  8388. }
  8389. }
  8390. },
  8391. "500": {
  8392. "description": "Internal Server Error",
  8393. "schema": {
  8394. "$ref": "#/definitions/app.Response"
  8395. }
  8396. }
  8397. }
  8398. }
  8399. },
  8400. "/Guangzuan/QuerySellOrder": {
  8401. "get": {
  8402. "security": [
  8403. {
  8404. "ApiKeyAuth": []
  8405. },
  8406. {
  8407. "LoginID": []
  8408. },
  8409. {
  8410. "Group": []
  8411. }
  8412. ],
  8413. "produces": [
  8414. "application/json"
  8415. ],
  8416. "tags": [
  8417. "广钻"
  8418. ],
  8419. "summary": "查询出售大厅委托单",
  8420. "parameters": [
  8421. {
  8422. "type": "integer",
  8423. "description": "页码",
  8424. "name": "page",
  8425. "in": "query"
  8426. },
  8427. {
  8428. "type": "integer",
  8429. "description": "每页条数",
  8430. "name": "pagesize",
  8431. "in": "query"
  8432. },
  8433. {
  8434. "type": "string",
  8435. "description": "商品(查询字段-模糊查询)",
  8436. "name": "zsallproperties",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "string",
  8441. "description": "钻石分类, 格式:1,2,3",
  8442. "name": "zscategorys",
  8443. "in": "query"
  8444. },
  8445. {
  8446. "type": "integer",
  8447. "description": "委托单号",
  8448. "name": "wrtradeorderid",
  8449. "in": "query"
  8450. },
  8451. {
  8452. "type": "string",
  8453. "description": "卖方(查询字段-模糊查询)",
  8454. "name": "buyusername",
  8455. "in": "query"
  8456. }
  8457. ],
  8458. "responses": {
  8459. "200": {
  8460. "description": "OK",
  8461. "schema": {
  8462. "type": "array",
  8463. "items": {
  8464. "$ref": "#/definitions/models.SellOrder"
  8465. }
  8466. }
  8467. },
  8468. "500": {
  8469. "description": "Internal Server Error",
  8470. "schema": {
  8471. "$ref": "#/definitions/app.Response"
  8472. }
  8473. }
  8474. }
  8475. }
  8476. },
  8477. "/Guangzuan/QueryWarehouseInfo": {
  8478. "get": {
  8479. "security": [
  8480. {
  8481. "ApiKeyAuth": []
  8482. },
  8483. {
  8484. "LoginID": []
  8485. },
  8486. {
  8487. "Group": []
  8488. }
  8489. ],
  8490. "produces": [
  8491. "application/json"
  8492. ],
  8493. "tags": [
  8494. "广钻"
  8495. ],
  8496. "summary": "查询仓库信息",
  8497. "parameters": [
  8498. {
  8499. "type": "integer",
  8500. "description": "页码",
  8501. "name": "page",
  8502. "in": "query"
  8503. },
  8504. {
  8505. "type": "integer",
  8506. "description": "每页条数",
  8507. "name": "pagesize",
  8508. "in": "query"
  8509. },
  8510. {
  8511. "type": "integer",
  8512. "description": "用户ID",
  8513. "name": "userid",
  8514. "in": "query",
  8515. "required": true
  8516. },
  8517. {
  8518. "type": "string",
  8519. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8520. "name": "status",
  8521. "in": "query"
  8522. },
  8523. {
  8524. "type": "boolean",
  8525. "description": "是返回交易所仓库",
  8526. "name": "isincludeexchange",
  8527. "in": "query"
  8528. }
  8529. ],
  8530. "responses": {
  8531. "200": {
  8532. "description": "OK",
  8533. "schema": {
  8534. "type": "array",
  8535. "items": {
  8536. "$ref": "#/definitions/models.GZWarehouseinfo"
  8537. }
  8538. }
  8539. },
  8540. "500": {
  8541. "description": "Internal Server Error",
  8542. "schema": {
  8543. "$ref": "#/definitions/app.Response"
  8544. }
  8545. }
  8546. }
  8547. }
  8548. },
  8549. "/Market/GetAllExExchanges": {
  8550. "get": {
  8551. "security": [
  8552. {
  8553. "ApiKeyAuth": []
  8554. }
  8555. ],
  8556. "produces": [
  8557. "application/json"
  8558. ],
  8559. "tags": [
  8560. "通用市场"
  8561. ],
  8562. "summary": "获取所有外部交易所信息",
  8563. "responses": {
  8564. "200": {
  8565. "description": "OK",
  8566. "schema": {
  8567. "$ref": "#/definitions/models.Goods"
  8568. }
  8569. },
  8570. "500": {
  8571. "description": "Internal Server Error",
  8572. "schema": {
  8573. "$ref": "#/definitions/app.Response"
  8574. }
  8575. }
  8576. }
  8577. }
  8578. },
  8579. "/Market/QueryGoodsesByLoginID": {
  8580. "get": {
  8581. "security": [
  8582. {
  8583. "ApiKeyAuth": []
  8584. }
  8585. ],
  8586. "produces": [
  8587. "application/json"
  8588. ],
  8589. "tags": [
  8590. "通用市场"
  8591. ],
  8592. "summary": "获取登录账号有权限的商品信息",
  8593. "parameters": [
  8594. {
  8595. "type": "integer",
  8596. "description": "登录账号",
  8597. "name": "loginID",
  8598. "in": "query",
  8599. "required": true
  8600. },
  8601. {
  8602. "type": "string",
  8603. "description": "市场ID列表,格式:1,2,3",
  8604. "name": "marketIDs",
  8605. "in": "query"
  8606. }
  8607. ],
  8608. "responses": {
  8609. "200": {
  8610. "description": "OK",
  8611. "schema": {
  8612. "$ref": "#/definitions/models.Goods"
  8613. }
  8614. },
  8615. "500": {
  8616. "description": "Internal Server Error",
  8617. "schema": {
  8618. "$ref": "#/definitions/app.Response"
  8619. }
  8620. }
  8621. }
  8622. }
  8623. },
  8624. "/Market/QueryMarketRun": {
  8625. "get": {
  8626. "security": [
  8627. {
  8628. "ApiKeyAuth": []
  8629. }
  8630. ],
  8631. "produces": [
  8632. "application/json"
  8633. ],
  8634. "tags": [
  8635. "通用市场"
  8636. ],
  8637. "summary": "查询市场运行信息",
  8638. "parameters": [
  8639. {
  8640. "type": "integer",
  8641. "description": "市场ID,不传返回所有",
  8642. "name": "marketID",
  8643. "in": "query"
  8644. }
  8645. ],
  8646. "responses": {
  8647. "200": {
  8648. "description": "OK",
  8649. "schema": {
  8650. "$ref": "#/definitions/models.Marketrun"
  8651. }
  8652. },
  8653. "500": {
  8654. "description": "Internal Server Error",
  8655. "schema": {
  8656. "$ref": "#/definitions/app.Response"
  8657. }
  8658. }
  8659. }
  8660. }
  8661. },
  8662. "/Market/QueryMarketsByLoginID": {
  8663. "get": {
  8664. "security": [
  8665. {
  8666. "ApiKeyAuth": []
  8667. }
  8668. ],
  8669. "produces": [
  8670. "application/json"
  8671. ],
  8672. "tags": [
  8673. "通用市场"
  8674. ],
  8675. "summary": "获取登录账号有权限的市场信息",
  8676. "parameters": [
  8677. {
  8678. "type": "integer",
  8679. "description": "登录账号",
  8680. "name": "loginID",
  8681. "in": "query",
  8682. "required": true
  8683. }
  8684. ],
  8685. "responses": {
  8686. "200": {
  8687. "description": "OK",
  8688. "schema": {
  8689. "$ref": "#/definitions/models.Market"
  8690. }
  8691. },
  8692. "500": {
  8693. "description": "Internal Server Error",
  8694. "schema": {
  8695. "$ref": "#/definitions/app.Response"
  8696. }
  8697. }
  8698. }
  8699. }
  8700. },
  8701. "/Order/QueryHisTradeDetail": {
  8702. "get": {
  8703. "security": [
  8704. {
  8705. "ApiKeyAuth": []
  8706. }
  8707. ],
  8708. "produces": [
  8709. "application/json"
  8710. ],
  8711. "tags": [
  8712. "通用单据"
  8713. ],
  8714. "summary": "历史成交单查询(合约市场)",
  8715. "parameters": [
  8716. {
  8717. "type": "string",
  8718. "description": "资金账户 - 格式:1,2,3",
  8719. "name": "accountID",
  8720. "in": "query",
  8721. "required": true
  8722. },
  8723. {
  8724. "type": "integer",
  8725. "description": "成交单号",
  8726. "name": "tradeID",
  8727. "in": "query"
  8728. },
  8729. {
  8730. "type": "integer",
  8731. "description": "委托单号",
  8732. "name": "orderID",
  8733. "in": "query"
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "商品ID",
  8738. "name": "goodsID",
  8739. "in": "query"
  8740. },
  8741. {
  8742. "type": "string",
  8743. "description": "交易模式 - 格式:1,2,3",
  8744. "name": "tradeMode",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "integer",
  8749. "description": "委托单据类型",
  8750. "name": "buildType",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "string",
  8755. "description": "成交类别 - 格式:1,2,3",
  8756. "name": "tradeType",
  8757. "in": "query"
  8758. },
  8759. {
  8760. "type": "string",
  8761. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8762. "name": "startDate",
  8763. "in": "query"
  8764. },
  8765. {
  8766. "type": "string",
  8767. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8768. "name": "endDate",
  8769. "in": "query"
  8770. }
  8771. ],
  8772. "responses": {
  8773. "200": {
  8774. "description": "OK",
  8775. "schema": {
  8776. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8777. }
  8778. },
  8779. "500": {
  8780. "description": "Internal Server Error",
  8781. "schema": {
  8782. "$ref": "#/definitions/app.Response"
  8783. }
  8784. }
  8785. }
  8786. }
  8787. },
  8788. "/Order/QueryHisTradeOrderDetail": {
  8789. "get": {
  8790. "security": [
  8791. {
  8792. "ApiKeyAuth": []
  8793. }
  8794. ],
  8795. "produces": [
  8796. "application/json"
  8797. ],
  8798. "tags": [
  8799. "通用单据"
  8800. ],
  8801. "summary": "历史委托单查询请求(合约市场)",
  8802. "parameters": [
  8803. {
  8804. "type": "string",
  8805. "description": "资金账户 - 格式:1,2,3",
  8806. "name": "accountID",
  8807. "in": "query",
  8808. "required": true
  8809. },
  8810. {
  8811. "type": "string",
  8812. "description": "交易模式 - 格式:1,2,3",
  8813. "name": "tradeMode",
  8814. "in": "query"
  8815. },
  8816. {
  8817. "type": "string",
  8818. "description": "委托状态 - 格式:1,2,3",
  8819. "name": "orderStatus",
  8820. "in": "query"
  8821. },
  8822. {
  8823. "type": "integer",
  8824. "description": "委托单号",
  8825. "name": "orderID",
  8826. "in": "query"
  8827. },
  8828. {
  8829. "type": "string",
  8830. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8831. "name": "startDate",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "string",
  8836. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8837. "name": "endDate",
  8838. "in": "query"
  8839. }
  8840. ],
  8841. "responses": {
  8842. "200": {
  8843. "description": "OK",
  8844. "schema": {
  8845. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8846. }
  8847. },
  8848. "500": {
  8849. "description": "Internal Server Error",
  8850. "schema": {
  8851. "$ref": "#/definitions/app.Response"
  8852. }
  8853. }
  8854. }
  8855. }
  8856. },
  8857. "/Order/QueryTradeDetail": {
  8858. "get": {
  8859. "security": [
  8860. {
  8861. "ApiKeyAuth": []
  8862. }
  8863. ],
  8864. "produces": [
  8865. "application/json"
  8866. ],
  8867. "tags": [
  8868. "通用单据"
  8869. ],
  8870. "summary": "成交单查询(合约市场)",
  8871. "parameters": [
  8872. {
  8873. "type": "string",
  8874. "description": "资金账户 - 格式:1,2,3",
  8875. "name": "accountID",
  8876. "in": "query",
  8877. "required": true
  8878. },
  8879. {
  8880. "type": "integer",
  8881. "description": "成交单号",
  8882. "name": "tradeID",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "integer",
  8887. "description": "委托单号",
  8888. "name": "orderID",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "交易模式 - 格式:1,2,3",
  8894. "name": "tradeMode",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "委托单据类型",
  8900. "name": "buildType",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "成交类别 - 格式:1,2,3",
  8906. "name": "tradeType",
  8907. "in": "query"
  8908. },
  8909. {
  8910. "type": "integer",
  8911. "description": "商品ID",
  8912. "name": "goodsID",
  8913. "in": "query"
  8914. }
  8915. ],
  8916. "responses": {
  8917. "200": {
  8918. "description": "OK",
  8919. "schema": {
  8920. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8921. }
  8922. },
  8923. "500": {
  8924. "description": "Internal Server Error",
  8925. "schema": {
  8926. "$ref": "#/definitions/app.Response"
  8927. }
  8928. }
  8929. }
  8930. }
  8931. },
  8932. "/Order/QueryTradeHolderDetail": {
  8933. "get": {
  8934. "security": [
  8935. {
  8936. "ApiKeyAuth": []
  8937. }
  8938. ],
  8939. "produces": [
  8940. "application/json"
  8941. ],
  8942. "tags": [
  8943. "通用单据"
  8944. ],
  8945. "summary": "查询持仓明细",
  8946. "parameters": [
  8947. {
  8948. "type": "integer",
  8949. "description": "用户id",
  8950. "name": "userid",
  8951. "in": "query"
  8952. },
  8953. {
  8954. "type": "string",
  8955. "description": "资金账号, 格式 1,2,3",
  8956. "name": "accids",
  8957. "in": "query"
  8958. },
  8959. {
  8960. "type": "string",
  8961. "description": "交易模式, 格式 1,2,3",
  8962. "name": "trademodes",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "市场id, 格式 1,2,3",
  8968. "name": "marketids",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "integer",
  8973. "description": "商品id",
  8974. "name": "goodsid",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "integer",
  8979. "description": "买卖方向 0-买 1-卖",
  8980. "name": "buyorsell",
  8981. "in": "query"
  8982. }
  8983. ],
  8984. "responses": {
  8985. "200": {
  8986. "description": "OK",
  8987. "schema": {
  8988. "type": "array",
  8989. "items": {
  8990. "$ref": "#/definitions/models.TradeHolderDetail"
  8991. }
  8992. }
  8993. },
  8994. "500": {
  8995. "description": "Internal Server Error",
  8996. "schema": {
  8997. "$ref": "#/definitions/app.Response"
  8998. }
  8999. }
  9000. }
  9001. }
  9002. },
  9003. "/Order/QueryTradeOrderDetail": {
  9004. "get": {
  9005. "security": [
  9006. {
  9007. "ApiKeyAuth": []
  9008. }
  9009. ],
  9010. "produces": [
  9011. "application/json"
  9012. ],
  9013. "tags": [
  9014. "通用单据"
  9015. ],
  9016. "summary": "委托单查询请求(合约市场)",
  9017. "parameters": [
  9018. {
  9019. "type": "string",
  9020. "description": "资金账户 - 格式:1,2,3",
  9021. "name": "accountID",
  9022. "in": "query",
  9023. "required": true
  9024. },
  9025. {
  9026. "type": "string",
  9027. "description": "交易模式 - 格式:1,2,3",
  9028. "name": "tradeMode",
  9029. "in": "query"
  9030. },
  9031. {
  9032. "type": "string",
  9033. "description": "委托状态 - 格式:1,2,3",
  9034. "name": "orderStatus",
  9035. "in": "query"
  9036. },
  9037. {
  9038. "type": "integer",
  9039. "description": "委托单号",
  9040. "name": "orderID",
  9041. "in": "query"
  9042. }
  9043. ],
  9044. "responses": {
  9045. "200": {
  9046. "description": "OK",
  9047. "schema": {
  9048. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9049. }
  9050. },
  9051. "500": {
  9052. "description": "Internal Server Error",
  9053. "schema": {
  9054. "$ref": "#/definitions/app.Response"
  9055. }
  9056. }
  9057. }
  9058. }
  9059. },
  9060. "/Order/QueryTradePosition": {
  9061. "get": {
  9062. "security": [
  9063. {
  9064. "ApiKeyAuth": []
  9065. }
  9066. ],
  9067. "produces": [
  9068. "application/json"
  9069. ],
  9070. "tags": [
  9071. "通用单据"
  9072. ],
  9073. "summary": "持仓汇总查询(合约市场)",
  9074. "parameters": [
  9075. {
  9076. "type": "string",
  9077. "description": "资金账户 - 格式:1,2,3",
  9078. "name": "accountID",
  9079. "in": "query",
  9080. "required": true
  9081. },
  9082. {
  9083. "type": "string",
  9084. "description": "交易模式 - 格式:1,2,3",
  9085. "name": "tradeMode",
  9086. "in": "query"
  9087. }
  9088. ],
  9089. "responses": {
  9090. "200": {
  9091. "description": "OK",
  9092. "schema": {
  9093. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9094. }
  9095. },
  9096. "500": {
  9097. "description": "Internal Server Error",
  9098. "schema": {
  9099. "$ref": "#/definitions/app.Response"
  9100. }
  9101. }
  9102. }
  9103. }
  9104. },
  9105. "/Qhj/QueryAccountInOutApply": {
  9106. "get": {
  9107. "security": [
  9108. {
  9109. "ApiKeyAuth": []
  9110. }
  9111. ],
  9112. "produces": [
  9113. "application/json"
  9114. ],
  9115. "tags": [
  9116. "大连千海金"
  9117. ],
  9118. "summary": "查询充值提现",
  9119. "parameters": [
  9120. {
  9121. "type": "integer",
  9122. "description": "用户ID",
  9123. "name": "userid",
  9124. "in": "query",
  9125. "required": true
  9126. },
  9127. {
  9128. "type": "string",
  9129. "description": "申请起始日期(格式yyyymmdd)",
  9130. "name": "begindate",
  9131. "in": "query"
  9132. },
  9133. {
  9134. "type": "string",
  9135. "description": "申请截止日期(格式yyyymmdd)",
  9136. "name": "enddate",
  9137. "in": "query"
  9138. },
  9139. {
  9140. "type": "string",
  9141. "description": "模糊搜索名称",
  9142. "name": "likename",
  9143. "in": "query"
  9144. },
  9145. {
  9146. "type": "integer",
  9147. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9148. "name": "applystatus",
  9149. "in": "query"
  9150. },
  9151. {
  9152. "type": "integer",
  9153. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9154. "name": "querytype",
  9155. "in": "query"
  9156. }
  9157. ],
  9158. "responses": {
  9159. "200": {
  9160. "description": "OK",
  9161. "schema": {
  9162. "type": "array",
  9163. "items": {
  9164. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9165. }
  9166. }
  9167. },
  9168. "500": {
  9169. "description": "Internal Server Error",
  9170. "schema": {
  9171. "$ref": "#/definitions/app.Response"
  9172. }
  9173. }
  9174. }
  9175. }
  9176. },
  9177. "/Qhj/QueryAreaFinanceConfig": {
  9178. "get": {
  9179. "security": [
  9180. {
  9181. "ApiKeyAuth": []
  9182. }
  9183. ],
  9184. "produces": [
  9185. "application/json"
  9186. ],
  9187. "tags": [
  9188. "大连千海金"
  9189. ],
  9190. "summary": "查询企业配置表",
  9191. "parameters": [
  9192. {
  9193. "type": "integer",
  9194. "description": "机构用户ID 其他做市关系,都设置为 1",
  9195. "name": "userid",
  9196. "in": "query"
  9197. }
  9198. ],
  9199. "responses": {
  9200. "200": {
  9201. "description": "OK",
  9202. "schema": {
  9203. "type": "array",
  9204. "items": {
  9205. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9206. }
  9207. }
  9208. },
  9209. "500": {
  9210. "description": "Internal Server Error",
  9211. "schema": {
  9212. "$ref": "#/definitions/app.Response"
  9213. }
  9214. }
  9215. }
  9216. }
  9217. },
  9218. "/Qhj/QueryBankAccountSign": {
  9219. "get": {
  9220. "security": [
  9221. {
  9222. "ApiKeyAuth": []
  9223. }
  9224. ],
  9225. "produces": [
  9226. "application/json"
  9227. ],
  9228. "tags": [
  9229. "大连千海金"
  9230. ],
  9231. "summary": "查询签约银行信息(提现账户管理)",
  9232. "parameters": [
  9233. {
  9234. "type": "integer",
  9235. "description": "用户ID",
  9236. "name": "userid",
  9237. "in": "query",
  9238. "required": true
  9239. }
  9240. ],
  9241. "responses": {
  9242. "200": {
  9243. "description": "OK",
  9244. "schema": {
  9245. "type": "array",
  9246. "items": {
  9247. "$ref": "#/definitions/models.QhjBankAccountSign"
  9248. }
  9249. }
  9250. },
  9251. "500": {
  9252. "description": "Internal Server Error",
  9253. "schema": {
  9254. "$ref": "#/definitions/app.Response"
  9255. }
  9256. }
  9257. }
  9258. }
  9259. },
  9260. "/Qhj/QueryBankInfo": {
  9261. "get": {
  9262. "security": [
  9263. {
  9264. "ApiKeyAuth": []
  9265. }
  9266. ],
  9267. "produces": [
  9268. "application/json"
  9269. ],
  9270. "tags": [
  9271. "大连千海金"
  9272. ],
  9273. "summary": "查询开户行",
  9274. "responses": {
  9275. "200": {
  9276. "description": "OK",
  9277. "schema": {
  9278. "type": "array",
  9279. "items": {
  9280. "$ref": "#/definitions/models.QhjBankInfo"
  9281. }
  9282. }
  9283. },
  9284. "500": {
  9285. "description": "Internal Server Error",
  9286. "schema": {
  9287. "$ref": "#/definitions/app.Response"
  9288. }
  9289. }
  9290. }
  9291. }
  9292. },
  9293. "/Qhj/QueryBrokerApply": {
  9294. "get": {
  9295. "security": [
  9296. {
  9297. "ApiKeyAuth": []
  9298. }
  9299. ],
  9300. "produces": [
  9301. "application/json"
  9302. ],
  9303. "tags": [
  9304. "大连千海金"
  9305. ],
  9306. "summary": "查询经纪人申请",
  9307. "parameters": [
  9308. {
  9309. "type": "integer",
  9310. "description": "所属机构ID",
  9311. "name": "userid",
  9312. "in": "query"
  9313. },
  9314. {
  9315. "type": "string",
  9316. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9317. "name": "filterstatus",
  9318. "in": "query"
  9319. }
  9320. ],
  9321. "responses": {
  9322. "200": {
  9323. "description": "OK",
  9324. "schema": {
  9325. "type": "array",
  9326. "items": {
  9327. "$ref": "#/definitions/models.QhjBrokerApply"
  9328. }
  9329. }
  9330. },
  9331. "500": {
  9332. "description": "Internal Server Error",
  9333. "schema": {
  9334. "$ref": "#/definitions/app.Response"
  9335. }
  9336. }
  9337. }
  9338. }
  9339. },
  9340. "/Qhj/QueryBrokerApplyEx": {
  9341. "get": {
  9342. "security": [
  9343. {
  9344. "ApiKeyAuth": []
  9345. }
  9346. ],
  9347. "produces": [
  9348. "application/json"
  9349. ],
  9350. "tags": [
  9351. "大连千海金"
  9352. ],
  9353. "summary": "查询经纪人信息和申请记录",
  9354. "parameters": [
  9355. {
  9356. "type": "integer",
  9357. "description": "所属机构ID",
  9358. "name": "userid",
  9359. "in": "query"
  9360. }
  9361. ],
  9362. "responses": {
  9363. "200": {
  9364. "description": "OK",
  9365. "schema": {
  9366. "type": "array",
  9367. "items": {
  9368. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9369. }
  9370. }
  9371. },
  9372. "500": {
  9373. "description": "Internal Server Error",
  9374. "schema": {
  9375. "$ref": "#/definitions/app.Response"
  9376. }
  9377. }
  9378. }
  9379. }
  9380. },
  9381. "/Qhj/QueryBrokerRewardLog": {
  9382. "get": {
  9383. "security": [
  9384. {
  9385. "ApiKeyAuth": []
  9386. }
  9387. ],
  9388. "produces": [
  9389. "application/json"
  9390. ],
  9391. "tags": [
  9392. "大连千海金"
  9393. ],
  9394. "summary": "查询奖励流水(我的奖励)",
  9395. "parameters": [
  9396. {
  9397. "type": "integer",
  9398. "description": "用户ID",
  9399. "name": "userid",
  9400. "in": "query",
  9401. "required": true
  9402. },
  9403. {
  9404. "type": "string",
  9405. "description": "开始交易日(yyyymmdd)",
  9406. "name": "begindate",
  9407. "in": "query"
  9408. },
  9409. {
  9410. "type": "string",
  9411. "description": "结束交易日(yyyymmdd)",
  9412. "name": "enddate",
  9413. "in": "query"
  9414. }
  9415. ],
  9416. "responses": {
  9417. "200": {
  9418. "description": "OK",
  9419. "schema": {
  9420. "type": "array",
  9421. "items": {
  9422. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9423. }
  9424. }
  9425. },
  9426. "500": {
  9427. "description": "Internal Server Error",
  9428. "schema": {
  9429. "$ref": "#/definitions/app.Response"
  9430. }
  9431. }
  9432. }
  9433. }
  9434. },
  9435. "/Qhj/QueryContract": {
  9436. "get": {
  9437. "security": [
  9438. {
  9439. "ApiKeyAuth": []
  9440. }
  9441. ],
  9442. "produces": [
  9443. "application/json"
  9444. ],
  9445. "tags": [
  9446. "大连千海金"
  9447. ],
  9448. "summary": "查询融资明细(合同)",
  9449. "parameters": [
  9450. {
  9451. "type": "integer",
  9452. "description": "用户ID",
  9453. "name": "userid",
  9454. "in": "query"
  9455. },
  9456. {
  9457. "type": "integer",
  9458. "description": "scf合同id",
  9459. "name": "scfcontractid",
  9460. "in": "query"
  9461. }
  9462. ],
  9463. "responses": {
  9464. "200": {
  9465. "description": "OK",
  9466. "schema": {
  9467. "type": "array",
  9468. "items": {
  9469. "$ref": "#/definitions/models.QhjContract"
  9470. }
  9471. }
  9472. },
  9473. "500": {
  9474. "description": "Internal Server Error",
  9475. "schema": {
  9476. "$ref": "#/definitions/app.Response"
  9477. }
  9478. }
  9479. }
  9480. }
  9481. },
  9482. "/Qhj/QueryContractLog": {
  9483. "get": {
  9484. "security": [
  9485. {
  9486. "ApiKeyAuth": []
  9487. }
  9488. ],
  9489. "produces": [
  9490. "application/json"
  9491. ],
  9492. "tags": [
  9493. "大连千海金"
  9494. ],
  9495. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9496. "parameters": [
  9497. {
  9498. "type": "integer",
  9499. "description": "scf合同id",
  9500. "name": "scfcontractid",
  9501. "in": "query",
  9502. "required": true
  9503. },
  9504. {
  9505. "type": "string",
  9506. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9507. "name": "amounttype",
  9508. "in": "query"
  9509. }
  9510. ],
  9511. "responses": {
  9512. "200": {
  9513. "description": "OK",
  9514. "schema": {
  9515. "type": "array",
  9516. "items": {
  9517. "$ref": "#/definitions/models.QhjContractLog"
  9518. }
  9519. }
  9520. },
  9521. "500": {
  9522. "description": "Internal Server Error",
  9523. "schema": {
  9524. "$ref": "#/definitions/app.Response"
  9525. }
  9526. }
  9527. }
  9528. }
  9529. },
  9530. "/Qhj/QueryCusBankSignBank": {
  9531. "get": {
  9532. "security": [
  9533. {
  9534. "ApiKeyAuth": []
  9535. }
  9536. ],
  9537. "produces": [
  9538. "application/json"
  9539. ],
  9540. "tags": [
  9541. "大连千海金"
  9542. ],
  9543. "summary": "查询托管银行",
  9544. "responses": {
  9545. "200": {
  9546. "description": "OK",
  9547. "schema": {
  9548. "type": "array",
  9549. "items": {
  9550. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9551. }
  9552. }
  9553. },
  9554. "500": {
  9555. "description": "Internal Server Error",
  9556. "schema": {
  9557. "$ref": "#/definitions/app.Response"
  9558. }
  9559. }
  9560. }
  9561. }
  9562. },
  9563. "/Qhj/QueryCustomerInfo": {
  9564. "get": {
  9565. "security": [
  9566. {
  9567. "ApiKeyAuth": []
  9568. }
  9569. ],
  9570. "produces": [
  9571. "application/json"
  9572. ],
  9573. "tags": [
  9574. "大连千海金"
  9575. ],
  9576. "summary": "查询客户资料",
  9577. "parameters": [
  9578. {
  9579. "type": "integer",
  9580. "description": "用户ID",
  9581. "name": "userid",
  9582. "in": "query",
  9583. "required": true
  9584. },
  9585. {
  9586. "type": "integer",
  9587. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9588. "name": "querytype",
  9589. "in": "query",
  9590. "required": true
  9591. },
  9592. {
  9593. "type": "integer",
  9594. "description": "客户类型 1-个人 2-企业",
  9595. "name": "userinfotype",
  9596. "in": "query"
  9597. },
  9598. {
  9599. "type": "string",
  9600. "description": "客户名称(模糊匹配)",
  9601. "name": "customername",
  9602. "in": "query"
  9603. },
  9604. {
  9605. "type": "string",
  9606. "description": "昵称(模糊匹配)",
  9607. "name": "nickname",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "integer",
  9612. "description": "是否包含子级 1-包含",
  9613. "name": "includesub",
  9614. "in": "query"
  9615. }
  9616. ],
  9617. "responses": {
  9618. "200": {
  9619. "description": "OK",
  9620. "schema": {
  9621. "type": "array",
  9622. "items": {
  9623. "$ref": "#/definitions/models.QhjCustomer"
  9624. }
  9625. }
  9626. },
  9627. "500": {
  9628. "description": "Internal Server Error",
  9629. "schema": {
  9630. "$ref": "#/definitions/app.Response"
  9631. }
  9632. }
  9633. }
  9634. }
  9635. },
  9636. "/Qhj/QueryGoodsEx": {
  9637. "get": {
  9638. "security": [
  9639. {
  9640. "ApiKeyAuth": []
  9641. }
  9642. ],
  9643. "produces": [
  9644. "application/json"
  9645. ],
  9646. "tags": [
  9647. "大连千海金"
  9648. ],
  9649. "summary": "交易商品扩展表",
  9650. "parameters": [
  9651. {
  9652. "type": "integer",
  9653. "description": "商品id",
  9654. "name": "goodsid",
  9655. "in": "query"
  9656. }
  9657. ],
  9658. "responses": {
  9659. "200": {
  9660. "description": "OK",
  9661. "schema": {
  9662. "type": "array",
  9663. "items": {
  9664. "$ref": "#/definitions/models.Qhjgoodsex"
  9665. }
  9666. }
  9667. },
  9668. "500": {
  9669. "description": "Internal Server Error",
  9670. "schema": {
  9671. "$ref": "#/definitions/app.Response"
  9672. }
  9673. }
  9674. }
  9675. }
  9676. },
  9677. "/Qhj/QueryMyTeam": {
  9678. "get": {
  9679. "security": [
  9680. {
  9681. "ApiKeyAuth": []
  9682. }
  9683. ],
  9684. "produces": [
  9685. "application/json"
  9686. ],
  9687. "tags": [
  9688. "大连千海金"
  9689. ],
  9690. "summary": "查询我的团队",
  9691. "parameters": [
  9692. {
  9693. "type": "integer",
  9694. "description": "用户ID",
  9695. "name": "userid",
  9696. "in": "query",
  9697. "required": true
  9698. }
  9699. ],
  9700. "responses": {
  9701. "200": {
  9702. "description": "OK",
  9703. "schema": {
  9704. "type": "array",
  9705. "items": {
  9706. "$ref": "#/definitions/models.QhjMyTeamEx"
  9707. }
  9708. }
  9709. },
  9710. "500": {
  9711. "description": "Internal Server Error",
  9712. "schema": {
  9713. "$ref": "#/definitions/app.Response"
  9714. }
  9715. }
  9716. }
  9717. }
  9718. },
  9719. "/Qhj/QueryMyTeamOrder": {
  9720. "get": {
  9721. "security": [
  9722. {
  9723. "ApiKeyAuth": []
  9724. }
  9725. ],
  9726. "produces": [
  9727. "application/json"
  9728. ],
  9729. "tags": [
  9730. "大连千海金"
  9731. ],
  9732. "summary": "查询团队订单(我的团队/团队订单)",
  9733. "parameters": [
  9734. {
  9735. "type": "integer",
  9736. "description": "页码",
  9737. "name": "page",
  9738. "in": "query"
  9739. },
  9740. {
  9741. "type": "integer",
  9742. "description": "每页条数",
  9743. "name": "pagesize",
  9744. "in": "query"
  9745. },
  9746. {
  9747. "type": "integer",
  9748. "description": "用户ID",
  9749. "name": "userid",
  9750. "in": "query",
  9751. "required": true
  9752. },
  9753. {
  9754. "type": "integer",
  9755. "description": "交易模式",
  9756. "name": "trademode",
  9757. "in": "query"
  9758. },
  9759. {
  9760. "type": "string",
  9761. "description": "名称(模糊搜索账户)",
  9762. "name": "filtername",
  9763. "in": "query"
  9764. }
  9765. ],
  9766. "responses": {
  9767. "200": {
  9768. "description": "OK",
  9769. "schema": {
  9770. "type": "array",
  9771. "items": {
  9772. "$ref": "#/definitions/models.QhjTeamOrder"
  9773. }
  9774. }
  9775. },
  9776. "500": {
  9777. "description": "Internal Server Error",
  9778. "schema": {
  9779. "$ref": "#/definitions/app.Response"
  9780. }
  9781. }
  9782. }
  9783. }
  9784. },
  9785. "/Qhj/QueryParentAreaList": {
  9786. "get": {
  9787. "security": [
  9788. {
  9789. "ApiKeyAuth": []
  9790. }
  9791. ],
  9792. "produces": [
  9793. "application/json"
  9794. ],
  9795. "tags": [
  9796. "大连千海金"
  9797. ],
  9798. "summary": "查询所属机构列表",
  9799. "parameters": [
  9800. {
  9801. "type": "integer",
  9802. "description": "用户ID",
  9803. "name": "userid",
  9804. "in": "query",
  9805. "required": true
  9806. }
  9807. ],
  9808. "responses": {
  9809. "200": {
  9810. "description": "OK",
  9811. "schema": {
  9812. "type": "array",
  9813. "items": {
  9814. "$ref": "#/definitions/models.QhjParentAreaList"
  9815. }
  9816. }
  9817. },
  9818. "500": {
  9819. "description": "Internal Server Error",
  9820. "schema": {
  9821. "$ref": "#/definitions/app.Response"
  9822. }
  9823. }
  9824. }
  9825. }
  9826. },
  9827. "/Qhj/QueryPayOrder": {
  9828. "get": {
  9829. "security": [
  9830. {
  9831. "ApiKeyAuth": []
  9832. }
  9833. ],
  9834. "produces": [
  9835. "application/json"
  9836. ],
  9837. "tags": [
  9838. "大连千海金"
  9839. ],
  9840. "summary": "查询待付款单据",
  9841. "parameters": [
  9842. {
  9843. "type": "integer",
  9844. "description": "资金账号id",
  9845. "name": "accountid",
  9846. "in": "query",
  9847. "required": true
  9848. },
  9849. {
  9850. "type": "integer",
  9851. "description": "成交单号",
  9852. "name": "tradeid",
  9853. "in": "query"
  9854. },
  9855. {
  9856. "type": "string",
  9857. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9858. "name": "payflag",
  9859. "in": "query"
  9860. }
  9861. ],
  9862. "responses": {
  9863. "200": {
  9864. "description": "OK",
  9865. "schema": {
  9866. "type": "array",
  9867. "items": {
  9868. "$ref": "#/definitions/models.QhjPayOrder"
  9869. }
  9870. }
  9871. },
  9872. "500": {
  9873. "description": "Internal Server Error",
  9874. "schema": {
  9875. "$ref": "#/definitions/app.Response"
  9876. }
  9877. }
  9878. }
  9879. }
  9880. },
  9881. "/Qhj/QueryPickArea": {
  9882. "get": {
  9883. "security": [
  9884. {
  9885. "ApiKeyAuth": []
  9886. }
  9887. ],
  9888. "produces": [
  9889. "application/json"
  9890. ],
  9891. "tags": [
  9892. "大连千海金"
  9893. ],
  9894. "summary": "查询提货门店",
  9895. "parameters": [
  9896. {
  9897. "type": "integer",
  9898. "description": "用户ID",
  9899. "name": "userid",
  9900. "in": "query"
  9901. }
  9902. ],
  9903. "responses": {
  9904. "200": {
  9905. "description": "OK",
  9906. "schema": {
  9907. "type": "array",
  9908. "items": {
  9909. "$ref": "#/definitions/models.QhjPickArea"
  9910. }
  9911. }
  9912. },
  9913. "500": {
  9914. "description": "Internal Server Error",
  9915. "schema": {
  9916. "$ref": "#/definitions/app.Response"
  9917. }
  9918. }
  9919. }
  9920. }
  9921. },
  9922. "/Qhj/QueryPickGoods": {
  9923. "get": {
  9924. "security": [
  9925. {
  9926. "ApiKeyAuth": []
  9927. }
  9928. ],
  9929. "produces": [
  9930. "application/json"
  9931. ],
  9932. "tags": [
  9933. "大连千海金"
  9934. ],
  9935. "summary": "查询提货商品",
  9936. "parameters": [
  9937. {
  9938. "type": "integer",
  9939. "description": "交易商品id",
  9940. "name": "goodsid",
  9941. "in": "query",
  9942. "required": true
  9943. },
  9944. {
  9945. "type": "string",
  9946. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9947. "name": "status",
  9948. "in": "query"
  9949. }
  9950. ],
  9951. "responses": {
  9952. "200": {
  9953. "description": "OK",
  9954. "schema": {
  9955. "type": "array",
  9956. "items": {
  9957. "$ref": "#/definitions/models.QhjPickGoods"
  9958. }
  9959. }
  9960. },
  9961. "500": {
  9962. "description": "Internal Server Error",
  9963. "schema": {
  9964. "$ref": "#/definitions/app.Response"
  9965. }
  9966. }
  9967. }
  9968. }
  9969. },
  9970. "/Qhj/QueryRSTriggerLog": {
  9971. "get": {
  9972. "security": [
  9973. {
  9974. "ApiKeyAuth": []
  9975. }
  9976. ],
  9977. "produces": [
  9978. "application/json"
  9979. ],
  9980. "tags": [
  9981. "大连千海金"
  9982. ],
  9983. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9984. "parameters": [
  9985. {
  9986. "type": "integer",
  9987. "description": "用户ID",
  9988. "name": "userid",
  9989. "in": "query"
  9990. },
  9991. {
  9992. "type": "integer",
  9993. "description": "定投策略id",
  9994. "name": "regularlystrategyid",
  9995. "in": "query"
  9996. },
  9997. {
  9998. "type": "integer",
  9999. "description": "商品id",
  10000. "name": "goodsid",
  10001. "in": "query"
  10002. },
  10003. {
  10004. "type": "string",
  10005. "description": "开始交易日(yyyymmdd)",
  10006. "name": "begindate",
  10007. "in": "query"
  10008. },
  10009. {
  10010. "type": "string",
  10011. "description": "结束交易日(yyyymmdd)",
  10012. "name": "enddate",
  10013. "in": "query"
  10014. },
  10015. {
  10016. "type": "string",
  10017. "description": "名称(模糊搜索账户)",
  10018. "name": "filtername",
  10019. "in": "query"
  10020. }
  10021. ],
  10022. "responses": {
  10023. "200": {
  10024. "description": "OK",
  10025. "schema": {
  10026. "type": "array",
  10027. "items": {
  10028. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10029. }
  10030. }
  10031. },
  10032. "500": {
  10033. "description": "Internal Server Error",
  10034. "schema": {
  10035. "$ref": "#/definitions/app.Response"
  10036. }
  10037. }
  10038. }
  10039. }
  10040. },
  10041. "/Qhj/QueryRStrategy": {
  10042. "get": {
  10043. "security": [
  10044. {
  10045. "ApiKeyAuth": []
  10046. }
  10047. ],
  10048. "produces": [
  10049. "application/json"
  10050. ],
  10051. "tags": [
  10052. "大连千海金"
  10053. ],
  10054. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10055. "parameters": [
  10056. {
  10057. "type": "integer",
  10058. "description": "用户ID",
  10059. "name": "userid",
  10060. "in": "query"
  10061. },
  10062. {
  10063. "type": "integer",
  10064. "description": "商品id",
  10065. "name": "goodsid",
  10066. "in": "query"
  10067. },
  10068. {
  10069. "type": "string",
  10070. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10071. "name": "status",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "string",
  10076. "description": "名称(模糊搜索账户)",
  10077. "name": "filtername",
  10078. "in": "query"
  10079. }
  10080. ],
  10081. "responses": {
  10082. "200": {
  10083. "description": "OK",
  10084. "schema": {
  10085. "type": "array",
  10086. "items": {
  10087. "$ref": "#/definitions/models.QhjRStrategy"
  10088. }
  10089. }
  10090. },
  10091. "500": {
  10092. "description": "Internal Server Error",
  10093. "schema": {
  10094. "$ref": "#/definitions/app.Response"
  10095. }
  10096. }
  10097. }
  10098. }
  10099. },
  10100. "/Qhj/QueryReckonPriceLog": {
  10101. "get": {
  10102. "security": [
  10103. {
  10104. "ApiKeyAuth": []
  10105. }
  10106. ],
  10107. "produces": [
  10108. "application/json"
  10109. ],
  10110. "tags": [
  10111. "大连千海金"
  10112. ],
  10113. "summary": "查询定投价(结算价)",
  10114. "parameters": [
  10115. {
  10116. "type": "integer",
  10117. "description": "商品ID",
  10118. "name": "goodsid",
  10119. "in": "query"
  10120. },
  10121. {
  10122. "type": "string",
  10123. "description": "交易日 格式(yyyymmdd)",
  10124. "name": "tradedate",
  10125. "in": "query"
  10126. }
  10127. ],
  10128. "responses": {
  10129. "200": {
  10130. "description": "OK",
  10131. "schema": {
  10132. "type": "array",
  10133. "items": {
  10134. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10135. }
  10136. }
  10137. },
  10138. "500": {
  10139. "description": "Internal Server Error",
  10140. "schema": {
  10141. "$ref": "#/definitions/app.Response"
  10142. }
  10143. }
  10144. }
  10145. }
  10146. },
  10147. "/Qhj/QueryScoreLog": {
  10148. "get": {
  10149. "security": [
  10150. {
  10151. "ApiKeyAuth": []
  10152. }
  10153. ],
  10154. "produces": [
  10155. "application/json"
  10156. ],
  10157. "tags": [
  10158. "大连千海金"
  10159. ],
  10160. "summary": "查询积分流水(我的积分)",
  10161. "parameters": [
  10162. {
  10163. "type": "integer",
  10164. "description": "用户ID",
  10165. "name": "userid",
  10166. "in": "query",
  10167. "required": true
  10168. },
  10169. {
  10170. "type": "string",
  10171. "description": "开始交易日(yyyymmdd)",
  10172. "name": "begindate",
  10173. "in": "query"
  10174. },
  10175. {
  10176. "type": "string",
  10177. "description": "结束交易日(yyyymmdd)",
  10178. "name": "enddate",
  10179. "in": "query"
  10180. },
  10181. {
  10182. "type": "integer",
  10183. "description": "最近多少条",
  10184. "name": "lastnum",
  10185. "in": "query"
  10186. }
  10187. ],
  10188. "responses": {
  10189. "200": {
  10190. "description": "OK",
  10191. "schema": {
  10192. "type": "array",
  10193. "items": {
  10194. "$ref": "#/definitions/models.QhjScoreLog"
  10195. }
  10196. }
  10197. },
  10198. "500": {
  10199. "description": "Internal Server Error",
  10200. "schema": {
  10201. "$ref": "#/definitions/app.Response"
  10202. }
  10203. }
  10204. }
  10205. }
  10206. },
  10207. "/Qhj/QuerySiteColumnDetail": {
  10208. "get": {
  10209. "security": [
  10210. {
  10211. "ApiKeyAuth": []
  10212. }
  10213. ],
  10214. "produces": [
  10215. "application/json"
  10216. ],
  10217. "tags": [
  10218. "大连千海金"
  10219. ],
  10220. "summary": "查询资讯",
  10221. "parameters": [
  10222. {
  10223. "type": "integer",
  10224. "description": "用户ID",
  10225. "name": "userid",
  10226. "in": "query",
  10227. "required": true
  10228. }
  10229. ],
  10230. "responses": {
  10231. "200": {
  10232. "description": "OK",
  10233. "schema": {
  10234. "type": "array",
  10235. "items": {
  10236. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10237. }
  10238. }
  10239. },
  10240. "500": {
  10241. "description": "Internal Server Error",
  10242. "schema": {
  10243. "$ref": "#/definitions/app.Response"
  10244. }
  10245. }
  10246. }
  10247. }
  10248. },
  10249. "/Qhj/QueryTradeGoodsPickup": {
  10250. "get": {
  10251. "security": [
  10252. {
  10253. "ApiKeyAuth": []
  10254. }
  10255. ],
  10256. "produces": [
  10257. "application/json"
  10258. ],
  10259. "tags": [
  10260. "大连千海金"
  10261. ],
  10262. "summary": "查询提货",
  10263. "parameters": [
  10264. {
  10265. "type": "integer",
  10266. "description": "用户ID",
  10267. "name": "userid",
  10268. "in": "query",
  10269. "required": true
  10270. },
  10271. {
  10272. "type": "integer",
  10273. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10274. "name": "takeorderstatus",
  10275. "in": "query"
  10276. }
  10277. ],
  10278. "responses": {
  10279. "200": {
  10280. "description": "OK",
  10281. "schema": {
  10282. "type": "array",
  10283. "items": {
  10284. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10285. }
  10286. }
  10287. },
  10288. "500": {
  10289. "description": "Internal Server Error",
  10290. "schema": {
  10291. "$ref": "#/definitions/app.Response"
  10292. }
  10293. }
  10294. }
  10295. }
  10296. },
  10297. "/Qhj/QueryUserCollectConfig": {
  10298. "get": {
  10299. "security": [
  10300. {
  10301. "ApiKeyAuth": []
  10302. }
  10303. ],
  10304. "produces": [
  10305. "application/json"
  10306. ],
  10307. "tags": [
  10308. "大连千海金"
  10309. ],
  10310. "summary": "查询提现账户设置",
  10311. "parameters": [
  10312. {
  10313. "type": "integer",
  10314. "description": "用户ID",
  10315. "name": "userid",
  10316. "in": "query",
  10317. "required": true
  10318. }
  10319. ],
  10320. "responses": {
  10321. "200": {
  10322. "description": "OK",
  10323. "schema": {
  10324. "type": "array",
  10325. "items": {
  10326. "$ref": "#/definitions/models.UserCollectConfig"
  10327. }
  10328. }
  10329. },
  10330. "500": {
  10331. "description": "Internal Server Error",
  10332. "schema": {
  10333. "$ref": "#/definitions/app.Response"
  10334. }
  10335. }
  10336. }
  10337. }
  10338. },
  10339. "/Qhj/QueryUserReceiveInfo": {
  10340. "get": {
  10341. "security": [
  10342. {
  10343. "ApiKeyAuth": []
  10344. }
  10345. ],
  10346. "produces": [
  10347. "application/json"
  10348. ],
  10349. "tags": [
  10350. "大连千海金"
  10351. ],
  10352. "summary": "查询收货地址信息",
  10353. "parameters": [
  10354. {
  10355. "type": "integer",
  10356. "description": "用户ID",
  10357. "name": "userid",
  10358. "in": "query",
  10359. "required": true
  10360. }
  10361. ],
  10362. "responses": {
  10363. "200": {
  10364. "description": "OK",
  10365. "schema": {
  10366. "type": "array",
  10367. "items": {
  10368. "$ref": "#/definitions/models.UserReceiveInfo"
  10369. }
  10370. }
  10371. },
  10372. "500": {
  10373. "description": "Internal Server Error",
  10374. "schema": {
  10375. "$ref": "#/definitions/app.Response"
  10376. }
  10377. }
  10378. }
  10379. }
  10380. },
  10381. "/QhjMgr/QueryAccountInOutApply": {
  10382. "get": {
  10383. "security": [
  10384. {
  10385. "ApiKeyAuth": []
  10386. }
  10387. ],
  10388. "produces": [
  10389. "application/json"
  10390. ],
  10391. "tags": [
  10392. "大连千海金(PCWeb)"
  10393. ],
  10394. "summary": "查询充值提现",
  10395. "parameters": [
  10396. {
  10397. "type": "integer",
  10398. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10399. "name": "querytype",
  10400. "in": "query",
  10401. "required": true
  10402. },
  10403. {
  10404. "type": "integer",
  10405. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10406. "name": "applystatus",
  10407. "in": "query"
  10408. },
  10409. {
  10410. "type": "string",
  10411. "description": "申请起始日期(格式yyyymmdd)",
  10412. "name": "begindate",
  10413. "in": "query"
  10414. },
  10415. {
  10416. "type": "string",
  10417. "description": "申请截止日期(格式yyyymmdd)",
  10418. "name": "enddate",
  10419. "in": "query"
  10420. },
  10421. {
  10422. "type": "string",
  10423. "description": "模糊搜索名称",
  10424. "name": "likename",
  10425. "in": "query"
  10426. }
  10427. ],
  10428. "responses": {
  10429. "200": {
  10430. "description": "OK",
  10431. "schema": {
  10432. "type": "array",
  10433. "items": {
  10434. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10435. }
  10436. }
  10437. },
  10438. "500": {
  10439. "description": "Internal Server Error",
  10440. "schema": {
  10441. "$ref": "#/definitions/app.Response"
  10442. }
  10443. }
  10444. }
  10445. }
  10446. },
  10447. "/QhjMgr/QueryBrokerApply": {
  10448. "get": {
  10449. "security": [
  10450. {
  10451. "ApiKeyAuth": []
  10452. }
  10453. ],
  10454. "produces": [
  10455. "application/json"
  10456. ],
  10457. "tags": [
  10458. "大连千海金(PCWeb)"
  10459. ],
  10460. "summary": "查询经纪人申请",
  10461. "parameters": [
  10462. {
  10463. "type": "integer",
  10464. "description": "所属机构ID",
  10465. "name": "userid",
  10466. "in": "query"
  10467. },
  10468. {
  10469. "type": "string",
  10470. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10471. "name": "filterstatus",
  10472. "in": "query"
  10473. },
  10474. {
  10475. "type": "string",
  10476. "description": "名称(模糊匹配)",
  10477. "name": "filtername",
  10478. "in": "query"
  10479. },
  10480. {
  10481. "type": "integer",
  10482. "description": "是否包含子级 1-包含",
  10483. "name": "includesub",
  10484. "in": "query"
  10485. }
  10486. ],
  10487. "responses": {
  10488. "200": {
  10489. "description": "OK",
  10490. "schema": {
  10491. "type": "array",
  10492. "items": {
  10493. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10494. }
  10495. }
  10496. },
  10497. "500": {
  10498. "description": "Internal Server Error",
  10499. "schema": {
  10500. "$ref": "#/definitions/app.Response"
  10501. }
  10502. }
  10503. }
  10504. }
  10505. },
  10506. "/QhjMgr/QueryBrokerRewardReport": {
  10507. "get": {
  10508. "security": [
  10509. {
  10510. "ApiKeyAuth": []
  10511. }
  10512. ],
  10513. "produces": [
  10514. "application/json"
  10515. ],
  10516. "tags": [
  10517. "大连千海金(PCWeb)"
  10518. ],
  10519. "summary": "查询经纪人奖励报表(废弃)",
  10520. "parameters": [
  10521. {
  10522. "type": "integer",
  10523. "description": "所属机构ID",
  10524. "name": "userid",
  10525. "in": "query",
  10526. "required": true
  10527. },
  10528. {
  10529. "type": "integer",
  10530. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10531. "name": "cycletype",
  10532. "in": "query",
  10533. "required": true
  10534. },
  10535. {
  10536. "type": "string",
  10537. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10538. "name": "cycletime",
  10539. "in": "query",
  10540. "required": true
  10541. },
  10542. {
  10543. "type": "string",
  10544. "description": "名称(模糊匹配)",
  10545. "name": "filtername",
  10546. "in": "query"
  10547. },
  10548. {
  10549. "type": "integer",
  10550. "description": "是否包含子级 1-包含",
  10551. "name": "includesub",
  10552. "in": "query"
  10553. }
  10554. ],
  10555. "responses": {
  10556. "200": {
  10557. "description": "OK",
  10558. "schema": {
  10559. "type": "array",
  10560. "items": {
  10561. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10562. }
  10563. }
  10564. },
  10565. "500": {
  10566. "description": "Internal Server Error",
  10567. "schema": {
  10568. "$ref": "#/definitions/app.Response"
  10569. }
  10570. }
  10571. }
  10572. }
  10573. },
  10574. "/QhjMgr/QueryContract": {
  10575. "get": {
  10576. "security": [
  10577. {
  10578. "ApiKeyAuth": []
  10579. }
  10580. ],
  10581. "produces": [
  10582. "application/json"
  10583. ],
  10584. "tags": [
  10585. "大连千海金(PCWeb)"
  10586. ],
  10587. "summary": "查询融资信息(合同)",
  10588. "parameters": [
  10589. {
  10590. "type": "integer",
  10591. "description": "用户ID",
  10592. "name": "userid",
  10593. "in": "query"
  10594. },
  10595. {
  10596. "type": "integer",
  10597. "description": "商品id",
  10598. "name": "goodsid",
  10599. "in": "query"
  10600. },
  10601. {
  10602. "type": "string",
  10603. "description": "名称(模糊搜索账户)",
  10604. "name": "filtername",
  10605. "in": "query"
  10606. },
  10607. {
  10608. "type": "string",
  10609. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10610. "name": "risklevel",
  10611. "in": "query"
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "开始交易日(yyyymmdd)",
  10616. "name": "begindate",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "string",
  10621. "description": "结束交易日(yyyymmdd)",
  10622. "name": "enddate",
  10623. "in": "query"
  10624. }
  10625. ],
  10626. "responses": {
  10627. "200": {
  10628. "description": "OK",
  10629. "schema": {
  10630. "type": "array",
  10631. "items": {
  10632. "$ref": "#/definitions/models.QhjMgrContract"
  10633. }
  10634. }
  10635. },
  10636. "500": {
  10637. "description": "Internal Server Error",
  10638. "schema": {
  10639. "$ref": "#/definitions/app.Response"
  10640. }
  10641. }
  10642. }
  10643. }
  10644. },
  10645. "/QhjMgr/QueryCustomerInfo": {
  10646. "get": {
  10647. "security": [
  10648. {
  10649. "ApiKeyAuth": []
  10650. }
  10651. ],
  10652. "produces": [
  10653. "application/json"
  10654. ],
  10655. "tags": [
  10656. "大连千海金(PCWeb)"
  10657. ],
  10658. "summary": "查询客户资料",
  10659. "parameters": [
  10660. {
  10661. "type": "integer",
  10662. "description": "用户ID",
  10663. "name": "userid",
  10664. "in": "query",
  10665. "required": true
  10666. },
  10667. {
  10668. "type": "integer",
  10669. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10670. "name": "querytype",
  10671. "in": "query",
  10672. "required": true
  10673. },
  10674. {
  10675. "type": "integer",
  10676. "description": "客户类型 1-个人 2-企业",
  10677. "name": "userinfotype",
  10678. "in": "query"
  10679. },
  10680. {
  10681. "type": "string",
  10682. "description": "客户名称(模糊匹配)",
  10683. "name": "customername",
  10684. "in": "query"
  10685. },
  10686. {
  10687. "type": "string",
  10688. "description": "昵称(模糊匹配)",
  10689. "name": "nickname",
  10690. "in": "query"
  10691. },
  10692. {
  10693. "type": "string",
  10694. "description": "所属客户经理(模糊匹配)",
  10695. "name": "brokername",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "string",
  10700. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10701. "name": "birthday",
  10702. "in": "query"
  10703. },
  10704. {
  10705. "type": "integer",
  10706. "description": "是否包含子级 1-包含",
  10707. "name": "includesub",
  10708. "in": "query"
  10709. }
  10710. ],
  10711. "responses": {
  10712. "200": {
  10713. "description": "OK",
  10714. "schema": {
  10715. "type": "array",
  10716. "items": {
  10717. "$ref": "#/definitions/models.QhjMgrCustomer"
  10718. }
  10719. }
  10720. },
  10721. "500": {
  10722. "description": "Internal Server Error",
  10723. "schema": {
  10724. "$ref": "#/definitions/app.Response"
  10725. }
  10726. }
  10727. }
  10728. }
  10729. },
  10730. "/QhjMgr/QueryPickGoods": {
  10731. "get": {
  10732. "security": [
  10733. {
  10734. "ApiKeyAuth": []
  10735. }
  10736. ],
  10737. "produces": [
  10738. "application/json"
  10739. ],
  10740. "tags": [
  10741. "大连千海金(PCWeb)"
  10742. ],
  10743. "summary": "查询提货商品",
  10744. "parameters": [
  10745. {
  10746. "type": "string",
  10747. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10748. "name": "status",
  10749. "in": "query"
  10750. }
  10751. ],
  10752. "responses": {
  10753. "200": {
  10754. "description": "OK",
  10755. "schema": {
  10756. "type": "array",
  10757. "items": {
  10758. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10759. }
  10760. }
  10761. },
  10762. "500": {
  10763. "description": "Internal Server Error",
  10764. "schema": {
  10765. "$ref": "#/definitions/app.Response"
  10766. }
  10767. }
  10768. }
  10769. }
  10770. },
  10771. "/QhjMgr/QuerySubArea": {
  10772. "get": {
  10773. "security": [
  10774. {
  10775. "ApiKeyAuth": []
  10776. }
  10777. ],
  10778. "produces": [
  10779. "application/json"
  10780. ],
  10781. "tags": [
  10782. "大连千海金(PCWeb)"
  10783. ],
  10784. "summary": "查询子机构列表",
  10785. "parameters": [
  10786. {
  10787. "type": "integer",
  10788. "description": "用户ID",
  10789. "name": "userid",
  10790. "in": "query",
  10791. "required": true
  10792. }
  10793. ],
  10794. "responses": {
  10795. "200": {
  10796. "description": "OK",
  10797. "schema": {
  10798. "type": "array",
  10799. "items": {
  10800. "$ref": "#/definitions/models.QhjMgrSubArea"
  10801. }
  10802. }
  10803. },
  10804. "500": {
  10805. "description": "Internal Server Error",
  10806. "schema": {
  10807. "$ref": "#/definitions/app.Response"
  10808. }
  10809. }
  10810. }
  10811. }
  10812. },
  10813. "/QhjMgr/QueryTradeDetail": {
  10814. "get": {
  10815. "security": [
  10816. {
  10817. "ApiKeyAuth": []
  10818. }
  10819. ],
  10820. "produces": [
  10821. "application/json"
  10822. ],
  10823. "tags": [
  10824. "大连千海金(PCWeb)"
  10825. ],
  10826. "summary": "查询成交明细",
  10827. "parameters": [
  10828. {
  10829. "type": "integer",
  10830. "description": "用户ID",
  10831. "name": "userid",
  10832. "in": "query",
  10833. "required": true
  10834. },
  10835. {
  10836. "type": "integer",
  10837. "description": "用户类型 1-个人 2-企业",
  10838. "name": "userinfotype",
  10839. "in": "query"
  10840. },
  10841. {
  10842. "type": "integer",
  10843. "description": "交易模式",
  10844. "name": "trademode",
  10845. "in": "query"
  10846. },
  10847. {
  10848. "type": "integer",
  10849. "description": "商品id",
  10850. "name": "goodsid",
  10851. "in": "query"
  10852. },
  10853. {
  10854. "type": "string",
  10855. "description": "名称(模糊搜索账户)",
  10856. "name": "filtername",
  10857. "in": "query"
  10858. },
  10859. {
  10860. "type": "string",
  10861. "description": "开始交易日(yyyymmdd)",
  10862. "name": "begindate",
  10863. "in": "query"
  10864. },
  10865. {
  10866. "type": "string",
  10867. "description": "结束交易日(yyyymmdd)",
  10868. "name": "enddate",
  10869. "in": "query"
  10870. },
  10871. {
  10872. "type": "integer",
  10873. "description": "是否包含子级 1-包含",
  10874. "name": "includesub",
  10875. "in": "query"
  10876. }
  10877. ],
  10878. "responses": {
  10879. "200": {
  10880. "description": "OK",
  10881. "schema": {
  10882. "type": "array",
  10883. "items": {
  10884. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10885. }
  10886. }
  10887. },
  10888. "500": {
  10889. "description": "Internal Server Error",
  10890. "schema": {
  10891. "$ref": "#/definitions/app.Response"
  10892. }
  10893. }
  10894. }
  10895. }
  10896. },
  10897. "/QhjMgr/QueryTradeOrderDetail": {
  10898. "get": {
  10899. "security": [
  10900. {
  10901. "ApiKeyAuth": []
  10902. }
  10903. ],
  10904. "produces": [
  10905. "application/json"
  10906. ],
  10907. "tags": [
  10908. "大连千海金(PCWeb)"
  10909. ],
  10910. "summary": "查询委托明细",
  10911. "parameters": [
  10912. {
  10913. "type": "integer",
  10914. "description": "用户ID",
  10915. "name": "userid",
  10916. "in": "query",
  10917. "required": true
  10918. },
  10919. {
  10920. "type": "integer",
  10921. "description": "用户类型 1-个人 2-企业",
  10922. "name": "userinfotype",
  10923. "in": "query"
  10924. },
  10925. {
  10926. "type": "integer",
  10927. "description": "交易模式",
  10928. "name": "trademode",
  10929. "in": "query"
  10930. },
  10931. {
  10932. "type": "integer",
  10933. "description": "商品id",
  10934. "name": "goodsid",
  10935. "in": "query"
  10936. },
  10937. {
  10938. "type": "string",
  10939. "description": "名称(模糊搜索账户)",
  10940. "name": "filtername",
  10941. "in": "query"
  10942. },
  10943. {
  10944. "type": "string",
  10945. "description": "开始交易日(yyyymmdd)",
  10946. "name": "begindate",
  10947. "in": "query"
  10948. },
  10949. {
  10950. "type": "string",
  10951. "description": "结束交易日(yyyymmdd)",
  10952. "name": "enddate",
  10953. "in": "query"
  10954. },
  10955. {
  10956. "type": "integer",
  10957. "description": "是否包含子级 1-包含",
  10958. "name": "includesub",
  10959. "in": "query"
  10960. }
  10961. ],
  10962. "responses": {
  10963. "200": {
  10964. "description": "OK",
  10965. "schema": {
  10966. "type": "array",
  10967. "items": {
  10968. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10969. }
  10970. }
  10971. },
  10972. "500": {
  10973. "description": "Internal Server Error",
  10974. "schema": {
  10975. "$ref": "#/definitions/app.Response"
  10976. }
  10977. }
  10978. }
  10979. }
  10980. },
  10981. "/QhjMgr/QueryTradePayOrder": {
  10982. "get": {
  10983. "security": [
  10984. {
  10985. "ApiKeyAuth": []
  10986. }
  10987. ],
  10988. "produces": [
  10989. "application/json"
  10990. ],
  10991. "tags": [
  10992. "大连千海金(PCWeb)"
  10993. ],
  10994. "summary": "查询待付款单",
  10995. "parameters": [
  10996. {
  10997. "type": "integer",
  10998. "description": "用户ID",
  10999. "name": "userid",
  11000. "in": "query",
  11001. "required": true
  11002. },
  11003. {
  11004. "type": "string",
  11005. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11006. "name": "payflag",
  11007. "in": "query"
  11008. },
  11009. {
  11010. "type": "integer",
  11011. "description": "用户类型 1-个人 2-企业",
  11012. "name": "userinfotype",
  11013. "in": "query"
  11014. },
  11015. {
  11016. "type": "integer",
  11017. "description": "交易模式",
  11018. "name": "trademode",
  11019. "in": "query"
  11020. },
  11021. {
  11022. "type": "integer",
  11023. "description": "商品id",
  11024. "name": "goodsid",
  11025. "in": "query"
  11026. },
  11027. {
  11028. "type": "string",
  11029. "description": "名称(模糊搜索账户)",
  11030. "name": "filtername",
  11031. "in": "query"
  11032. },
  11033. {
  11034. "type": "string",
  11035. "description": "开始交易日(yyyymmdd)",
  11036. "name": "begindate",
  11037. "in": "query"
  11038. },
  11039. {
  11040. "type": "string",
  11041. "description": "结束交易日(yyyymmdd)",
  11042. "name": "enddate",
  11043. "in": "query"
  11044. },
  11045. {
  11046. "type": "integer",
  11047. "description": "是否包含子级 1-包含",
  11048. "name": "includesub",
  11049. "in": "query"
  11050. }
  11051. ],
  11052. "responses": {
  11053. "200": {
  11054. "description": "OK",
  11055. "schema": {
  11056. "type": "array",
  11057. "items": {
  11058. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11059. }
  11060. }
  11061. },
  11062. "500": {
  11063. "description": "Internal Server Error",
  11064. "schema": {
  11065. "$ref": "#/definitions/app.Response"
  11066. }
  11067. }
  11068. }
  11069. }
  11070. },
  11071. "/QhjMgr/QueryTradePosition": {
  11072. "get": {
  11073. "security": [
  11074. {
  11075. "ApiKeyAuth": []
  11076. }
  11077. ],
  11078. "produces": [
  11079. "application/json"
  11080. ],
  11081. "tags": [
  11082. "大连千海金(PCWeb)"
  11083. ],
  11084. "summary": "查询持仓汇总",
  11085. "parameters": [
  11086. {
  11087. "type": "integer",
  11088. "description": "用户ID",
  11089. "name": "userid",
  11090. "in": "query",
  11091. "required": true
  11092. },
  11093. {
  11094. "type": "integer",
  11095. "description": "用户类型 1-个人 2-企业",
  11096. "name": "userinfotype",
  11097. "in": "query"
  11098. },
  11099. {
  11100. "type": "integer",
  11101. "description": "交易模式",
  11102. "name": "trademode",
  11103. "in": "query"
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "商品id",
  11108. "name": "goodsid",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "string",
  11113. "description": "名称(模糊搜索账户)",
  11114. "name": "filtername",
  11115. "in": "query"
  11116. },
  11117. {
  11118. "type": "integer",
  11119. "description": "是否包含子级 1-包含",
  11120. "name": "includesub",
  11121. "in": "query"
  11122. }
  11123. ],
  11124. "responses": {
  11125. "200": {
  11126. "description": "OK",
  11127. "schema": {
  11128. "type": "array",
  11129. "items": {
  11130. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11131. }
  11132. }
  11133. },
  11134. "500": {
  11135. "description": "Internal Server Error",
  11136. "schema": {
  11137. "$ref": "#/definitions/app.Response"
  11138. }
  11139. }
  11140. }
  11141. }
  11142. },
  11143. "/QhjSys/QueryAgreementChangeLog": {
  11144. "get": {
  11145. "security": [
  11146. {
  11147. "ApiKeyAuth": []
  11148. }
  11149. ],
  11150. "produces": [
  11151. "application/json"
  11152. ],
  11153. "tags": [
  11154. "大连千海金(协议和签约信息)"
  11155. ],
  11156. "summary": "查询协议配置变更流水",
  11157. "parameters": [
  11158. {
  11159. "type": "integer",
  11160. "description": "协议ID",
  11161. "name": "agreementid",
  11162. "in": "query"
  11163. },
  11164. {
  11165. "type": "integer",
  11166. "description": "协议版本号",
  11167. "name": "agreementversion",
  11168. "in": "query"
  11169. },
  11170. {
  11171. "type": "integer",
  11172. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11173. "name": "agreementtype",
  11174. "in": "query"
  11175. },
  11176. {
  11177. "type": "string",
  11178. "description": "协议编号(模糊匹配)",
  11179. "name": "agreementno",
  11180. "in": "query"
  11181. },
  11182. {
  11183. "type": "string",
  11184. "description": "协议名称(模糊匹配)",
  11185. "name": "agreementname",
  11186. "in": "query"
  11187. }
  11188. ],
  11189. "responses": {
  11190. "200": {
  11191. "description": "OK",
  11192. "schema": {
  11193. "type": "array",
  11194. "items": {
  11195. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11196. }
  11197. }
  11198. },
  11199. "500": {
  11200. "description": "Internal Server Error",
  11201. "schema": {
  11202. "$ref": "#/definitions/app.Response"
  11203. }
  11204. }
  11205. }
  11206. }
  11207. },
  11208. "/QhjSys/QueryAgreementConfig": {
  11209. "get": {
  11210. "security": [
  11211. {
  11212. "ApiKeyAuth": []
  11213. }
  11214. ],
  11215. "produces": [
  11216. "application/json"
  11217. ],
  11218. "tags": [
  11219. "大连千海金(协议和签约信息)"
  11220. ],
  11221. "summary": "查询协议配置",
  11222. "parameters": [
  11223. {
  11224. "type": "integer",
  11225. "description": "协议ID",
  11226. "name": "agreementid",
  11227. "in": "query"
  11228. },
  11229. {
  11230. "type": "integer",
  11231. "description": "协议版本号",
  11232. "name": "agreementversion",
  11233. "in": "query"
  11234. },
  11235. {
  11236. "type": "integer",
  11237. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11238. "name": "agreementtype",
  11239. "in": "query"
  11240. },
  11241. {
  11242. "type": "integer",
  11243. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11244. "name": "isvalid",
  11245. "in": "query"
  11246. },
  11247. {
  11248. "type": "string",
  11249. "description": "协议编号(模糊匹配)",
  11250. "name": "agreementno",
  11251. "in": "query"
  11252. },
  11253. {
  11254. "type": "string",
  11255. "description": "协议名称(模糊匹配)",
  11256. "name": "agreementname",
  11257. "in": "query"
  11258. }
  11259. ],
  11260. "responses": {
  11261. "200": {
  11262. "description": "OK",
  11263. "schema": {
  11264. "type": "array",
  11265. "items": {
  11266. "$ref": "#/definitions/models.QhjAgreementConfig"
  11267. }
  11268. }
  11269. },
  11270. "500": {
  11271. "description": "Internal Server Error",
  11272. "schema": {
  11273. "$ref": "#/definitions/app.Response"
  11274. }
  11275. }
  11276. }
  11277. }
  11278. },
  11279. "/QhjSys/QueryCustomerSignStatus": {
  11280. "get": {
  11281. "security": [
  11282. {
  11283. "ApiKeyAuth": []
  11284. }
  11285. ],
  11286. "produces": [
  11287. "application/json"
  11288. ],
  11289. "tags": [
  11290. "大连千海金(协议和签约信息)"
  11291. ],
  11292. "summary": "查询客户协议签约状态",
  11293. "parameters": [
  11294. {
  11295. "type": "integer",
  11296. "description": "客户ID",
  11297. "name": "userid",
  11298. "in": "query"
  11299. },
  11300. {
  11301. "type": "integer",
  11302. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11303. "name": "nodetype",
  11304. "in": "query"
  11305. },
  11306. {
  11307. "type": "integer",
  11308. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11309. "name": "goodsid",
  11310. "in": "query"
  11311. },
  11312. {
  11313. "type": "string",
  11314. "description": "创建交易日(yyyyMMdd)",
  11315. "name": "tradedate",
  11316. "in": "query"
  11317. },
  11318. {
  11319. "type": "string",
  11320. "description": "用户名称(模糊匹配)",
  11321. "name": "username",
  11322. "in": "query"
  11323. }
  11324. ],
  11325. "responses": {
  11326. "200": {
  11327. "description": "OK",
  11328. "schema": {
  11329. "type": "array",
  11330. "items": {
  11331. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11332. }
  11333. }
  11334. },
  11335. "500": {
  11336. "description": "Internal Server Error",
  11337. "schema": {
  11338. "$ref": "#/definitions/app.Response"
  11339. }
  11340. }
  11341. }
  11342. }
  11343. },
  11344. "/QhjSys/QueryNodeAgreementConfig": {
  11345. "get": {
  11346. "security": [
  11347. {
  11348. "ApiKeyAuth": []
  11349. }
  11350. ],
  11351. "produces": [
  11352. "application/json"
  11353. ],
  11354. "tags": [
  11355. "大连千海金(协议和签约信息)"
  11356. ],
  11357. "summary": "查询协议节点配置",
  11358. "parameters": [
  11359. {
  11360. "type": "integer",
  11361. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11362. "name": "configid",
  11363. "in": "query"
  11364. },
  11365. {
  11366. "type": "integer",
  11367. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11368. "name": "nodetype",
  11369. "in": "query"
  11370. },
  11371. {
  11372. "type": "integer",
  11373. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11374. "name": "goodsid",
  11375. "in": "query"
  11376. },
  11377. {
  11378. "type": "integer",
  11379. "description": "协议ID",
  11380. "name": "agreementid",
  11381. "in": "query"
  11382. },
  11383. {
  11384. "type": "integer",
  11385. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11386. "name": "agreementtype",
  11387. "in": "query"
  11388. },
  11389. {
  11390. "type": "integer",
  11391. "description": "协议版本号",
  11392. "name": "agreementversion",
  11393. "in": "query"
  11394. },
  11395. {
  11396. "type": "string",
  11397. "description": "协议编号(模糊匹配)",
  11398. "name": "agreementno",
  11399. "in": "query"
  11400. },
  11401. {
  11402. "type": "string",
  11403. "description": "协议名称(模糊匹配)",
  11404. "name": "agreementname",
  11405. "in": "query"
  11406. }
  11407. ],
  11408. "responses": {
  11409. "200": {
  11410. "description": "OK",
  11411. "schema": {
  11412. "type": "array",
  11413. "items": {
  11414. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11415. }
  11416. }
  11417. },
  11418. "500": {
  11419. "description": "Internal Server Error",
  11420. "schema": {
  11421. "$ref": "#/definitions/app.Response"
  11422. }
  11423. }
  11424. }
  11425. }
  11426. },
  11427. "/QhjSys/QueryQhjCustomerSignLog": {
  11428. "get": {
  11429. "security": [
  11430. {
  11431. "ApiKeyAuth": []
  11432. }
  11433. ],
  11434. "produces": [
  11435. "application/json"
  11436. ],
  11437. "tags": [
  11438. "大连千海金(协议和签约信息)"
  11439. ],
  11440. "summary": "查询客户协议签约流水",
  11441. "parameters": [
  11442. {
  11443. "type": "integer",
  11444. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11445. "name": "logid",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "integer",
  11450. "description": "客户ID",
  11451. "name": "userid",
  11452. "in": "query"
  11453. },
  11454. {
  11455. "type": "integer",
  11456. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11457. "name": "nodetype",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "integer",
  11462. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11463. "name": "goodsid",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "协议ID",
  11469. "name": "agreementid",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "string",
  11474. "description": "用户名称(模糊匹配)",
  11475. "name": "username",
  11476. "in": "query"
  11477. },
  11478. {
  11479. "type": "string",
  11480. "description": "协议编号(模糊匹配)",
  11481. "name": "agreementno",
  11482. "in": "query"
  11483. },
  11484. {
  11485. "type": "string",
  11486. "description": "协议名称(模糊匹配)",
  11487. "name": "agreementname",
  11488. "in": "query"
  11489. }
  11490. ],
  11491. "responses": {
  11492. "200": {
  11493. "description": "OK",
  11494. "schema": {
  11495. "type": "array",
  11496. "items": {
  11497. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11498. }
  11499. }
  11500. },
  11501. "500": {
  11502. "description": "Internal Server Error",
  11503. "schema": {
  11504. "$ref": "#/definitions/app.Response"
  11505. }
  11506. }
  11507. }
  11508. }
  11509. },
  11510. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11511. "get": {
  11512. "security": [
  11513. {
  11514. "ApiKeyAuth": []
  11515. }
  11516. ],
  11517. "produces": [
  11518. "application/json"
  11519. ],
  11520. "tags": [
  11521. "大连千海金(协议和签约信息)"
  11522. ],
  11523. "summary": "查询用户协议节点配置和状态",
  11524. "parameters": [
  11525. {
  11526. "type": "integer",
  11527. "description": "客户ID",
  11528. "name": "userid",
  11529. "in": "query"
  11530. },
  11531. {
  11532. "type": "integer",
  11533. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11534. "name": "configid",
  11535. "in": "query"
  11536. },
  11537. {
  11538. "type": "string",
  11539. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11540. "name": "nodetype",
  11541. "in": "query"
  11542. },
  11543. {
  11544. "type": "integer",
  11545. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11546. "name": "goodsid",
  11547. "in": "query"
  11548. },
  11549. {
  11550. "type": "integer",
  11551. "description": "协议ID",
  11552. "name": "agreementid",
  11553. "in": "query"
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11558. "name": "agreementtype",
  11559. "in": "query"
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "协议版本号",
  11564. "name": "agreementversion",
  11565. "in": "query"
  11566. },
  11567. {
  11568. "type": "string",
  11569. "description": "协议编号(模糊匹配)",
  11570. "name": "agreementno",
  11571. "in": "query"
  11572. },
  11573. {
  11574. "type": "string",
  11575. "description": "协议名称(模糊匹配)",
  11576. "name": "agreementname",
  11577. "in": "query"
  11578. }
  11579. ],
  11580. "responses": {
  11581. "200": {
  11582. "description": "OK",
  11583. "schema": {
  11584. "type": "array",
  11585. "items": {
  11586. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11587. }
  11588. }
  11589. },
  11590. "500": {
  11591. "description": "Internal Server Error",
  11592. "schema": {
  11593. "$ref": "#/definitions/app.Response"
  11594. }
  11595. }
  11596. }
  11597. }
  11598. },
  11599. "/Quote/QueryHistoryDatas": {
  11600. "get": {
  11601. "security": [
  11602. {
  11603. "ApiKeyAuth": []
  11604. }
  11605. ],
  11606. "produces": [
  11607. "application/json"
  11608. ],
  11609. "tags": [
  11610. "行情服务"
  11611. ],
  11612. "summary": "查询行情历史数据",
  11613. "parameters": [
  11614. {
  11615. "type": "integer",
  11616. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11617. "name": "cycleType",
  11618. "in": "query",
  11619. "required": true
  11620. },
  11621. {
  11622. "type": "string",
  11623. "description": "商品代码",
  11624. "name": "goodsCode",
  11625. "in": "query",
  11626. "required": true
  11627. },
  11628. {
  11629. "type": "string",
  11630. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11631. "name": "startTime",
  11632. "in": "query"
  11633. },
  11634. {
  11635. "type": "string",
  11636. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11637. "name": "endTime",
  11638. "in": "query"
  11639. },
  11640. {
  11641. "type": "integer",
  11642. "description": "条数",
  11643. "name": "count",
  11644. "in": "query"
  11645. },
  11646. {
  11647. "type": "boolean",
  11648. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11649. "name": "isAsc",
  11650. "in": "query"
  11651. }
  11652. ],
  11653. "responses": {
  11654. "200": {
  11655. "description": "OK",
  11656. "schema": {
  11657. "$ref": "#/definitions/quote.HistoryData"
  11658. }
  11659. },
  11660. "500": {
  11661. "description": "Internal Server Error",
  11662. "schema": {
  11663. "$ref": "#/definitions/app.Response"
  11664. }
  11665. }
  11666. }
  11667. }
  11668. },
  11669. "/Quote/QueryHistoryTikDatas": {
  11670. "get": {
  11671. "security": [
  11672. {
  11673. "ApiKeyAuth": []
  11674. }
  11675. ],
  11676. "produces": [
  11677. "application/json"
  11678. ],
  11679. "tags": [
  11680. "行情服务"
  11681. ],
  11682. "summary": "查询行情Tik数据",
  11683. "parameters": [
  11684. {
  11685. "type": "string",
  11686. "description": "商品代码",
  11687. "name": "goodsCode",
  11688. "in": "query",
  11689. "required": true
  11690. },
  11691. {
  11692. "type": "string",
  11693. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11694. "name": "startTime",
  11695. "in": "query"
  11696. },
  11697. {
  11698. "type": "string",
  11699. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11700. "name": "endTime",
  11701. "in": "query"
  11702. },
  11703. {
  11704. "type": "integer",
  11705. "description": "条数",
  11706. "name": "count",
  11707. "in": "query"
  11708. },
  11709. {
  11710. "type": "boolean",
  11711. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11712. "name": "isAsc",
  11713. "in": "query"
  11714. }
  11715. ],
  11716. "responses": {
  11717. "200": {
  11718. "description": "OK",
  11719. "schema": {
  11720. "$ref": "#/definitions/quote.HistoryTikData"
  11721. }
  11722. },
  11723. "500": {
  11724. "description": "Internal Server Error",
  11725. "schema": {
  11726. "$ref": "#/definitions/app.Response"
  11727. }
  11728. }
  11729. }
  11730. }
  11731. },
  11732. "/Quote/QueryQuoteDay": {
  11733. "get": {
  11734. "security": [
  11735. {
  11736. "ApiKeyAuth": []
  11737. }
  11738. ],
  11739. "produces": [
  11740. "application/json"
  11741. ],
  11742. "tags": [
  11743. "行情服务"
  11744. ],
  11745. "summary": "获取商品盘面信息",
  11746. "parameters": [
  11747. {
  11748. "type": "string",
  11749. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11750. "name": "goodsCodes",
  11751. "in": "query"
  11752. }
  11753. ],
  11754. "responses": {
  11755. "200": {
  11756. "description": "OK",
  11757. "schema": {
  11758. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11759. }
  11760. },
  11761. "500": {
  11762. "description": "Internal Server Error",
  11763. "schema": {
  11764. "$ref": "#/definitions/app.Response"
  11765. }
  11766. }
  11767. }
  11768. }
  11769. },
  11770. "/Quote/QueryTSData": {
  11771. "get": {
  11772. "security": [
  11773. {
  11774. "ApiKeyAuth": []
  11775. }
  11776. ],
  11777. "produces": [
  11778. "application/json"
  11779. ],
  11780. "tags": [
  11781. "行情服务"
  11782. ],
  11783. "summary": "分时图数据查询",
  11784. "parameters": [
  11785. {
  11786. "type": "string",
  11787. "description": "商品代码",
  11788. "name": "goodsCode",
  11789. "in": "query",
  11790. "required": true
  11791. }
  11792. ],
  11793. "responses": {
  11794. "200": {
  11795. "description": "OK",
  11796. "schema": {
  11797. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11798. }
  11799. },
  11800. "500": {
  11801. "description": "Internal Server Error",
  11802. "schema": {
  11803. "$ref": "#/definitions/app.Response"
  11804. }
  11805. }
  11806. }
  11807. }
  11808. },
  11809. "/SZDZ/QueryConvertConfig": {
  11810. "get": {
  11811. "security": [
  11812. {
  11813. "ApiKeyAuth": []
  11814. }
  11815. ],
  11816. "produces": [
  11817. "application/json"
  11818. ],
  11819. "tags": [
  11820. "定制【尚志大宗】"
  11821. ],
  11822. "summary": "查询交易系统转换设置",
  11823. "parameters": [
  11824. {
  11825. "type": "integer",
  11826. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11827. "name": "convertType",
  11828. "in": "query"
  11829. },
  11830. {
  11831. "type": "string",
  11832. "description": "外部商品代码[JD\\PD]",
  11833. "name": "outerGoodsCode",
  11834. "in": "query"
  11835. },
  11836. {
  11837. "type": "string",
  11838. "description": "内部商品ID列表[交易],格式:1,2,3",
  11839. "name": "innerGoodsIDs",
  11840. "in": "query"
  11841. }
  11842. ],
  11843. "responses": {
  11844. "200": {
  11845. "description": "OK",
  11846. "schema": {
  11847. "$ref": "#/definitions/models.Szdz3convertconfig"
  11848. }
  11849. },
  11850. "500": {
  11851. "description": "Internal Server Error",
  11852. "schema": {
  11853. "$ref": "#/definitions/app.Response"
  11854. }
  11855. }
  11856. }
  11857. }
  11858. },
  11859. "/SZDZ/QueryConvertLog": {
  11860. "get": {
  11861. "security": [
  11862. {
  11863. "ApiKeyAuth": []
  11864. }
  11865. ],
  11866. "produces": [
  11867. "application/json"
  11868. ],
  11869. "tags": [
  11870. "定制【尚志大宗】"
  11871. ],
  11872. "summary": "交易系统转换流水查询",
  11873. "parameters": [
  11874. {
  11875. "type": "string",
  11876. "description": "资金账户 - 格式:1,2,3",
  11877. "name": "accountID",
  11878. "in": "query",
  11879. "required": true
  11880. },
  11881. {
  11882. "type": "string",
  11883. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11884. "name": "startDate",
  11885. "in": "query"
  11886. },
  11887. {
  11888. "type": "string",
  11889. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11890. "name": "endDate",
  11891. "in": "query"
  11892. }
  11893. ],
  11894. "responses": {
  11895. "200": {
  11896. "description": "OK",
  11897. "schema": {
  11898. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11899. }
  11900. },
  11901. "500": {
  11902. "description": "Internal Server Error",
  11903. "schema": {
  11904. "$ref": "#/definitions/app.Response"
  11905. }
  11906. }
  11907. }
  11908. }
  11909. },
  11910. "/SZDZ/QueryGoodsPickup": {
  11911. "get": {
  11912. "security": [
  11913. {
  11914. "ApiKeyAuth": []
  11915. }
  11916. ],
  11917. "produces": [
  11918. "application/json"
  11919. ],
  11920. "tags": [
  11921. "定制【尚志大宗】"
  11922. ],
  11923. "summary": "商品提货单查询",
  11924. "parameters": [
  11925. {
  11926. "type": "string",
  11927. "description": "资金账户 - 格式:1,2,3",
  11928. "name": "accountID",
  11929. "in": "query",
  11930. "required": true
  11931. },
  11932. {
  11933. "type": "integer",
  11934. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11935. "name": "takeOrderStatus",
  11936. "in": "query"
  11937. }
  11938. ],
  11939. "responses": {
  11940. "200": {
  11941. "description": "OK",
  11942. "schema": {
  11943. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11944. }
  11945. },
  11946. "500": {
  11947. "description": "Internal Server Error",
  11948. "schema": {
  11949. "$ref": "#/definitions/app.Response"
  11950. }
  11951. }
  11952. }
  11953. }
  11954. },
  11955. "/SZDZ/QueryRecieptOrder": {
  11956. "get": {
  11957. "security": [
  11958. {
  11959. "ApiKeyAuth": []
  11960. }
  11961. ],
  11962. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11963. "produces": [
  11964. "application/json"
  11965. ],
  11966. "tags": [
  11967. "定制【尚志大宗】"
  11968. ],
  11969. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11970. "parameters": [
  11971. {
  11972. "type": "integer",
  11973. "description": "页码",
  11974. "name": "page",
  11975. "in": "query"
  11976. },
  11977. {
  11978. "type": "integer",
  11979. "description": "每页条数",
  11980. "name": "pagesize",
  11981. "in": "query"
  11982. },
  11983. {
  11984. "type": "integer",
  11985. "description": "商品ID",
  11986. "name": "goodsID",
  11987. "in": "query",
  11988. "required": true
  11989. },
  11990. {
  11991. "type": "string",
  11992. "description": "所属账户名称",
  11993. "name": "accountName",
  11994. "in": "query"
  11995. },
  11996. {
  11997. "type": "integer",
  11998. "description": "市场ID",
  11999. "name": "marketID",
  12000. "in": "query"
  12001. },
  12002. {
  12003. "type": "integer",
  12004. "description": "方向 - 0:买 1:卖",
  12005. "name": "buyorsell",
  12006. "in": "query",
  12007. "required": true
  12008. }
  12009. ],
  12010. "responses": {
  12011. "200": {
  12012. "description": "OK",
  12013. "schema": {
  12014. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12015. }
  12016. },
  12017. "500": {
  12018. "description": "Internal Server Error",
  12019. "schema": {
  12020. "$ref": "#/definitions/app.Response"
  12021. }
  12022. }
  12023. }
  12024. }
  12025. },
  12026. "/SZDZ/QuerySZDZTradePosition": {
  12027. "get": {
  12028. "security": [
  12029. {
  12030. "ApiKeyAuth": []
  12031. }
  12032. ],
  12033. "produces": [
  12034. "application/json"
  12035. ],
  12036. "tags": [
  12037. "定制【尚志大宗】"
  12038. ],
  12039. "summary": "持仓汇总查询(尚志大宗)",
  12040. "parameters": [
  12041. {
  12042. "type": "integer",
  12043. "description": "资金账户",
  12044. "name": "accountID",
  12045. "in": "query",
  12046. "required": true
  12047. }
  12048. ],
  12049. "responses": {
  12050. "200": {
  12051. "description": "OK",
  12052. "schema": {
  12053. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12054. }
  12055. },
  12056. "500": {
  12057. "description": "Internal Server Error",
  12058. "schema": {
  12059. "$ref": "#/definitions/app.Response"
  12060. }
  12061. }
  12062. }
  12063. }
  12064. },
  12065. "/SZDZ/SearchWhite": {
  12066. "get": {
  12067. "security": [
  12068. {
  12069. "ApiKeyAuth": []
  12070. }
  12071. ],
  12072. "produces": [
  12073. "application/json"
  12074. ],
  12075. "tags": [
  12076. "定制【尚志大宗】"
  12077. ],
  12078. "summary": "搜索白名单",
  12079. "parameters": [
  12080. {
  12081. "type": "integer",
  12082. "description": "用户ID",
  12083. "name": "userID",
  12084. "in": "query",
  12085. "required": true
  12086. }
  12087. ],
  12088. "responses": {
  12089. "200": {
  12090. "description": "OK",
  12091. "schema": {
  12092. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12093. }
  12094. },
  12095. "500": {
  12096. "description": "Internal Server Error",
  12097. "schema": {
  12098. "$ref": "#/definitions/app.Response"
  12099. }
  12100. }
  12101. }
  12102. }
  12103. },
  12104. "/Search/SearchGoodses": {
  12105. "get": {
  12106. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12107. "produces": [
  12108. "application/json"
  12109. ],
  12110. "tags": [
  12111. "检索服务"
  12112. ],
  12113. "summary": "检索商品信息",
  12114. "parameters": [
  12115. {
  12116. "type": "string",
  12117. "description": "检索内容",
  12118. "name": "content",
  12119. "in": "query",
  12120. "required": true
  12121. },
  12122. {
  12123. "type": "string",
  12124. "description": "交易模式,格式:1,2,3",
  12125. "name": "tradeModes",
  12126. "in": "query"
  12127. }
  12128. ],
  12129. "responses": {
  12130. "200": {
  12131. "description": "OK",
  12132. "schema": {
  12133. "$ref": "#/definitions/models.SearchGoods"
  12134. }
  12135. },
  12136. "500": {
  12137. "description": "Internal Server Error",
  12138. "schema": {
  12139. "$ref": "#/definitions/app.Response"
  12140. }
  12141. }
  12142. }
  12143. }
  12144. },
  12145. "/TaAccount/GetTaAccounts": {
  12146. "get": {
  12147. "security": [
  12148. {
  12149. "ApiKeyAuth": []
  12150. }
  12151. ],
  12152. "produces": [
  12153. "application/json"
  12154. ],
  12155. "tags": [
  12156. "资金账户"
  12157. ],
  12158. "summary": "获取资金账户信息",
  12159. "parameters": [
  12160. {
  12161. "type": "integer",
  12162. "description": "登录账户",
  12163. "name": "loginID",
  12164. "in": "query",
  12165. "required": true
  12166. },
  12167. {
  12168. "type": "integer",
  12169. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12170. "name": "taAccountType",
  12171. "in": "query"
  12172. }
  12173. ],
  12174. "responses": {
  12175. "200": {
  12176. "description": "OK",
  12177. "schema": {
  12178. "$ref": "#/definitions/models.Taaccount"
  12179. }
  12180. },
  12181. "500": {
  12182. "description": "Internal Server Error",
  12183. "schema": {
  12184. "$ref": "#/definitions/app.Response"
  12185. }
  12186. }
  12187. }
  12188. }
  12189. },
  12190. "/TaAccount/QueryAmountLog": {
  12191. "get": {
  12192. "security": [
  12193. {
  12194. "ApiKeyAuth": []
  12195. }
  12196. ],
  12197. "produces": [
  12198. "application/json"
  12199. ],
  12200. "tags": [
  12201. "资金账户"
  12202. ],
  12203. "summary": "资金流水查询(当前)",
  12204. "parameters": [
  12205. {
  12206. "type": "integer",
  12207. "description": "页码",
  12208. "name": "page",
  12209. "in": "query"
  12210. },
  12211. {
  12212. "type": "integer",
  12213. "description": "每页条数",
  12214. "name": "pagesize",
  12215. "in": "query"
  12216. },
  12217. {
  12218. "type": "string",
  12219. "description": "资金账户 - 格式:1,2,3",
  12220. "name": "accountID",
  12221. "in": "query",
  12222. "required": true
  12223. },
  12224. {
  12225. "type": "string",
  12226. "description": "资金操作类型 - 格式:1,2,3",
  12227. "name": "OperateType",
  12228. "in": "query"
  12229. }
  12230. ],
  12231. "responses": {
  12232. "200": {
  12233. "description": "OK",
  12234. "schema": {
  12235. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12236. }
  12237. },
  12238. "500": {
  12239. "description": "Internal Server Error",
  12240. "schema": {
  12241. "$ref": "#/definitions/app.Response"
  12242. }
  12243. }
  12244. }
  12245. }
  12246. },
  12247. "/TaAccount/QueryHisAmountLog": {
  12248. "get": {
  12249. "security": [
  12250. {
  12251. "ApiKeyAuth": []
  12252. }
  12253. ],
  12254. "produces": [
  12255. "application/json"
  12256. ],
  12257. "tags": [
  12258. "资金账户"
  12259. ],
  12260. "summary": "资金流水查询(历史)",
  12261. "parameters": [
  12262. {
  12263. "type": "integer",
  12264. "description": "页码",
  12265. "name": "page",
  12266. "in": "query"
  12267. },
  12268. {
  12269. "type": "integer",
  12270. "description": "每页条数",
  12271. "name": "pagesize",
  12272. "in": "query"
  12273. },
  12274. {
  12275. "type": "string",
  12276. "description": "资金账户 - 格式:1,2,3",
  12277. "name": "accountID",
  12278. "in": "query",
  12279. "required": true
  12280. },
  12281. {
  12282. "type": "string",
  12283. "description": "资金操作类型 - 格式:1,2,3",
  12284. "name": "OperateType",
  12285. "in": "query"
  12286. },
  12287. {
  12288. "type": "string",
  12289. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12290. "name": "startDate",
  12291. "in": "query"
  12292. },
  12293. {
  12294. "type": "string",
  12295. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12296. "name": "endDate",
  12297. "in": "query"
  12298. }
  12299. ],
  12300. "responses": {
  12301. "200": {
  12302. "description": "OK",
  12303. "schema": {
  12304. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12305. }
  12306. },
  12307. "500": {
  12308. "description": "Internal Server Error",
  12309. "schema": {
  12310. "$ref": "#/definitions/app.Response"
  12311. }
  12312. }
  12313. }
  12314. }
  12315. },
  12316. "/TaAccount/QueryRelatedTaAccount": {
  12317. "get": {
  12318. "security": [
  12319. {
  12320. "ApiKeyAuth": []
  12321. }
  12322. ],
  12323. "produces": [
  12324. "application/json"
  12325. ],
  12326. "tags": [
  12327. "资金账户"
  12328. ],
  12329. "summary": "查询关联资金账户信息",
  12330. "parameters": [
  12331. {
  12332. "type": "integer",
  12333. "description": "关联UserID",
  12334. "name": "relateduserid",
  12335. "in": "query",
  12336. "required": true
  12337. }
  12338. ],
  12339. "responses": {
  12340. "200": {
  12341. "description": "OK",
  12342. "schema": {
  12343. "type": "array",
  12344. "items": {
  12345. "$ref": "#/definitions/models.RelatedTaAccount"
  12346. }
  12347. }
  12348. },
  12349. "500": {
  12350. "description": "Internal Server Error",
  12351. "schema": {
  12352. "$ref": "#/definitions/app.Response"
  12353. }
  12354. }
  12355. }
  12356. }
  12357. },
  12358. "/Tjmd/QueryQuoteGoodsList": {
  12359. "get": {
  12360. "security": [
  12361. {
  12362. "ApiKeyAuth": []
  12363. }
  12364. ],
  12365. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12366. "produces": [
  12367. "application/json"
  12368. ],
  12369. "tags": [
  12370. "天津麦顿"
  12371. ],
  12372. "summary": "查询掉期报价列表",
  12373. "parameters": [
  12374. {
  12375. "type": "integer",
  12376. "description": "用户类型",
  12377. "name": "usertype",
  12378. "in": "query",
  12379. "required": true
  12380. },
  12381. {
  12382. "type": "string",
  12383. "description": "市场id, 格式 1,2,3",
  12384. "name": "marketids",
  12385. "in": "query"
  12386. },
  12387. {
  12388. "type": "integer",
  12389. "description": "商品组id",
  12390. "name": "goodsgroupid",
  12391. "in": "query"
  12392. },
  12393. {
  12394. "type": "integer",
  12395. "description": "商品id",
  12396. "name": "goodsid",
  12397. "in": "query"
  12398. }
  12399. ],
  12400. "responses": {
  12401. "200": {
  12402. "description": "OK",
  12403. "schema": {
  12404. "type": "array",
  12405. "items": {
  12406. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12407. }
  12408. }
  12409. },
  12410. "500": {
  12411. "description": "Internal Server Error",
  12412. "schema": {
  12413. "$ref": "#/definitions/app.Response"
  12414. }
  12415. }
  12416. }
  12417. }
  12418. },
  12419. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12420. "get": {
  12421. "security": [
  12422. {
  12423. "ApiKeyAuth": []
  12424. }
  12425. ],
  12426. "produces": [
  12427. "application/json"
  12428. ],
  12429. "tags": [
  12430. "天津麦顿"
  12431. ],
  12432. "summary": "掉期商品订单详情(交易确认书)",
  12433. "parameters": [
  12434. {
  12435. "type": "string",
  12436. "description": "成交单号",
  12437. "name": "tradeid",
  12438. "in": "query",
  12439. "required": true
  12440. }
  12441. ],
  12442. "responses": {
  12443. "200": {
  12444. "description": "OK",
  12445. "schema": {
  12446. "type": "array",
  12447. "items": {
  12448. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12449. }
  12450. }
  12451. },
  12452. "500": {
  12453. "description": "Internal Server Error",
  12454. "schema": {
  12455. "$ref": "#/definitions/app.Response"
  12456. }
  12457. }
  12458. }
  12459. }
  12460. },
  12461. "/Tjmd/QueryTjmdMarketSection": {
  12462. "get": {
  12463. "security": [
  12464. {
  12465. "ApiKeyAuth": []
  12466. }
  12467. ],
  12468. "produces": [
  12469. "application/json"
  12470. ],
  12471. "tags": [
  12472. "天津麦顿"
  12473. ],
  12474. "summary": "查询市场板块",
  12475. "responses": {
  12476. "200": {
  12477. "description": "OK",
  12478. "schema": {
  12479. "type": "array",
  12480. "items": {
  12481. "$ref": "#/definitions/models.TjmdMarketSection"
  12482. }
  12483. }
  12484. },
  12485. "500": {
  12486. "description": "Internal Server Error",
  12487. "schema": {
  12488. "$ref": "#/definitions/app.Response"
  12489. }
  12490. }
  12491. }
  12492. }
  12493. },
  12494. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12495. "get": {
  12496. "security": [
  12497. {
  12498. "ApiKeyAuth": []
  12499. }
  12500. ],
  12501. "produces": [
  12502. "application/json"
  12503. ],
  12504. "tags": [
  12505. "天津麦顿"
  12506. ],
  12507. "summary": "查询今日账户保证金配置",
  12508. "parameters": [
  12509. {
  12510. "type": "string",
  12511. "description": "市场id",
  12512. "name": "marketid",
  12513. "in": "query"
  12514. },
  12515. {
  12516. "type": "string",
  12517. "description": "商品id",
  12518. "name": "goodsid",
  12519. "in": "query"
  12520. },
  12521. {
  12522. "type": "string",
  12523. "description": "资金账号",
  12524. "name": "accountid",
  12525. "in": "query"
  12526. }
  12527. ],
  12528. "responses": {
  12529. "200": {
  12530. "description": "OK",
  12531. "schema": {
  12532. "type": "array",
  12533. "items": {
  12534. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12535. }
  12536. }
  12537. },
  12538. "500": {
  12539. "description": "Internal Server Error",
  12540. "schema": {
  12541. "$ref": "#/definitions/app.Response"
  12542. }
  12543. }
  12544. }
  12545. }
  12546. },
  12547. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12548. "get": {
  12549. "security": [
  12550. {
  12551. "ApiKeyAuth": []
  12552. }
  12553. ],
  12554. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12555. "produces": [
  12556. "application/json"
  12557. ],
  12558. "tags": [
  12559. "天津麦顿"
  12560. ],
  12561. "summary": "查询掉期买卖大厅",
  12562. "parameters": [
  12563. {
  12564. "type": "integer",
  12565. "description": "页码",
  12566. "name": "page",
  12567. "in": "query"
  12568. },
  12569. {
  12570. "type": "integer",
  12571. "description": "每页条数",
  12572. "name": "pagesize",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "integer",
  12577. "description": "用户id",
  12578. "name": "userid",
  12579. "in": "query",
  12580. "required": true
  12581. },
  12582. {
  12583. "type": "integer",
  12584. "description": "用户类型",
  12585. "name": "usertype",
  12586. "in": "query",
  12587. "required": true
  12588. },
  12589. {
  12590. "type": "string",
  12591. "description": "市场id, 格式 1,2,3",
  12592. "name": "marketids",
  12593. "in": "query"
  12594. },
  12595. {
  12596. "type": "integer",
  12597. "description": "商品id",
  12598. "name": "goodsid",
  12599. "in": "query",
  12600. "required": true
  12601. },
  12602. {
  12603. "type": "integer",
  12604. "description": "买卖方向 0-买 1-卖",
  12605. "name": "buyorsell",
  12606. "in": "query",
  12607. "required": true
  12608. }
  12609. ],
  12610. "responses": {
  12611. "200": {
  12612. "description": "OK",
  12613. "schema": {
  12614. "type": "array",
  12615. "items": {
  12616. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12617. }
  12618. }
  12619. },
  12620. "500": {
  12621. "description": "Internal Server Error",
  12622. "schema": {
  12623. "$ref": "#/definitions/app.Response"
  12624. }
  12625. }
  12626. }
  12627. }
  12628. },
  12629. "/Tjmd/QueryTjmdTransferApply": {
  12630. "get": {
  12631. "security": [
  12632. {
  12633. "ApiKeyAuth": []
  12634. }
  12635. ],
  12636. "produces": [
  12637. "application/json"
  12638. ],
  12639. "tags": [
  12640. "天津麦顿"
  12641. ],
  12642. "summary": "查询掉期协议单",
  12643. "parameters": [
  12644. {
  12645. "type": "integer",
  12646. "description": "类型 1-我的申请 2-对方申请",
  12647. "name": "applytype",
  12648. "in": "query",
  12649. "required": true
  12650. },
  12651. {
  12652. "type": "string",
  12653. "description": "市场id, 格式 1,2,3",
  12654. "name": "marketids",
  12655. "in": "query"
  12656. },
  12657. {
  12658. "type": "string",
  12659. "description": "资金账号, 格式 25000000001,25000000003",
  12660. "name": "accountids",
  12661. "in": "query"
  12662. },
  12663. {
  12664. "type": "string",
  12665. "description": "开始交易日(yyyymmdd)",
  12666. "name": "begindate",
  12667. "in": "query"
  12668. },
  12669. {
  12670. "type": "string",
  12671. "description": "结束交易日(yyyymmdd)",
  12672. "name": "enddate",
  12673. "in": "query"
  12674. }
  12675. ],
  12676. "responses": {
  12677. "200": {
  12678. "description": "OK",
  12679. "schema": {
  12680. "type": "array",
  12681. "items": {
  12682. "$ref": "#/definitions/models.TjmdTransferApply"
  12683. }
  12684. }
  12685. },
  12686. "500": {
  12687. "description": "Internal Server Error",
  12688. "schema": {
  12689. "$ref": "#/definitions/app.Response"
  12690. }
  12691. }
  12692. }
  12693. }
  12694. },
  12695. "/Trade/QueryRecieptOrder": {
  12696. "get": {
  12697. "security": [
  12698. {
  12699. "ApiKeyAuth": []
  12700. }
  12701. ],
  12702. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12703. "produces": [
  12704. "application/json"
  12705. ],
  12706. "tags": [
  12707. "通用交易"
  12708. ],
  12709. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12710. "parameters": [
  12711. {
  12712. "type": "integer",
  12713. "description": "页码",
  12714. "name": "page",
  12715. "in": "query"
  12716. },
  12717. {
  12718. "type": "integer",
  12719. "description": "每页条数",
  12720. "name": "pagesize",
  12721. "in": "query"
  12722. },
  12723. {
  12724. "type": "integer",
  12725. "description": "商品ID",
  12726. "name": "goodsID",
  12727. "in": "query",
  12728. "required": true
  12729. },
  12730. {
  12731. "type": "string",
  12732. "description": "所属账户名称",
  12733. "name": "accountName",
  12734. "in": "query"
  12735. },
  12736. {
  12737. "type": "integer",
  12738. "description": "市场ID",
  12739. "name": "marketID",
  12740. "in": "query"
  12741. },
  12742. {
  12743. "type": "integer",
  12744. "description": "方向 - 0:买 1:卖",
  12745. "name": "buyorsell",
  12746. "in": "query",
  12747. "required": true
  12748. }
  12749. ],
  12750. "responses": {
  12751. "200": {
  12752. "description": "OK",
  12753. "schema": {
  12754. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12755. }
  12756. },
  12757. "500": {
  12758. "description": "Internal Server Error",
  12759. "schema": {
  12760. "$ref": "#/definitions/app.Response"
  12761. }
  12762. }
  12763. }
  12764. }
  12765. },
  12766. "/User/AddMessageBoard": {
  12767. "post": {
  12768. "security": [
  12769. {
  12770. "ApiKeyAuth": []
  12771. }
  12772. ],
  12773. "produces": [
  12774. "application/json"
  12775. ],
  12776. "tags": [
  12777. "用户信息"
  12778. ],
  12779. "summary": "添加用户留言板信息",
  12780. "parameters": [
  12781. {
  12782. "type": "integer",
  12783. "description": "用户ID",
  12784. "name": "userID",
  12785. "in": "query",
  12786. "required": true
  12787. },
  12788. {
  12789. "type": "string",
  12790. "description": "留言信息",
  12791. "name": "message",
  12792. "in": "query",
  12793. "required": true
  12794. },
  12795. {
  12796. "type": "string",
  12797. "description": "联系电话",
  12798. "name": "contactNum",
  12799. "in": "query",
  12800. "required": true
  12801. }
  12802. ],
  12803. "responses": {
  12804. "200": {
  12805. "description": "OK",
  12806. "schema": {
  12807. "$ref": "#/definitions/app.Response"
  12808. }
  12809. },
  12810. "500": {
  12811. "description": "Internal Server Error",
  12812. "schema": {
  12813. "$ref": "#/definitions/app.Response"
  12814. }
  12815. }
  12816. }
  12817. }
  12818. },
  12819. "/User/AddUserFavoriteGoods": {
  12820. "post": {
  12821. "security": [
  12822. {
  12823. "ApiKeyAuth": []
  12824. }
  12825. ],
  12826. "produces": [
  12827. "application/json"
  12828. ],
  12829. "tags": [
  12830. "用户信息"
  12831. ],
  12832. "summary": "添加用户商品收藏信息",
  12833. "parameters": [
  12834. {
  12835. "type": "integer",
  12836. "description": "用户ID",
  12837. "name": "userID",
  12838. "in": "query",
  12839. "required": true
  12840. },
  12841. {
  12842. "type": "integer",
  12843. "description": "商品ID",
  12844. "name": "goodsID",
  12845. "in": "query",
  12846. "required": true
  12847. }
  12848. ],
  12849. "responses": {
  12850. "200": {
  12851. "description": "OK",
  12852. "schema": {
  12853. "$ref": "#/definitions/app.Response"
  12854. }
  12855. },
  12856. "500": {
  12857. "description": "Internal Server Error",
  12858. "schema": {
  12859. "$ref": "#/definitions/app.Response"
  12860. }
  12861. }
  12862. }
  12863. }
  12864. },
  12865. "/User/GetLoginID": {
  12866. "get": {
  12867. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12868. "produces": [
  12869. "application/json"
  12870. ],
  12871. "tags": [
  12872. "用户信息"
  12873. ],
  12874. "summary": "获取登录ID",
  12875. "parameters": [
  12876. {
  12877. "type": "string",
  12878. "description": "登录代码",
  12879. "name": "username",
  12880. "in": "query",
  12881. "required": true
  12882. }
  12883. ],
  12884. "responses": {
  12885. "200": {
  12886. "description": "OK",
  12887. "schema": {
  12888. "$ref": "#/definitions/app.Response"
  12889. }
  12890. },
  12891. "500": {
  12892. "description": "Internal Server Error",
  12893. "schema": {
  12894. "$ref": "#/definitions/app.Response"
  12895. }
  12896. }
  12897. }
  12898. }
  12899. },
  12900. "/User/GetUserAccount": {
  12901. "get": {
  12902. "security": [
  12903. {
  12904. "ApiKeyAuth": []
  12905. }
  12906. ],
  12907. "produces": [
  12908. "application/json"
  12909. ],
  12910. "tags": [
  12911. "用户信息"
  12912. ],
  12913. "summary": "获取用户账号信息",
  12914. "parameters": [
  12915. {
  12916. "type": "integer",
  12917. "description": "用户ID",
  12918. "name": "userID",
  12919. "in": "query",
  12920. "required": true
  12921. }
  12922. ],
  12923. "responses": {
  12924. "200": {
  12925. "description": "OK",
  12926. "schema": {
  12927. "$ref": "#/definitions/models.Useraccount"
  12928. }
  12929. },
  12930. "500": {
  12931. "description": "Internal Server Error",
  12932. "schema": {
  12933. "$ref": "#/definitions/app.Response"
  12934. }
  12935. }
  12936. }
  12937. }
  12938. },
  12939. "/User/GetUserAuthStatus": {
  12940. "get": {
  12941. "security": [
  12942. {
  12943. "ApiKeyAuth": []
  12944. }
  12945. ],
  12946. "produces": [
  12947. "application/json"
  12948. ],
  12949. "tags": [
  12950. "用户信息"
  12951. ],
  12952. "summary": "获取用户实名认证状态",
  12953. "parameters": [
  12954. {
  12955. "type": "integer",
  12956. "description": "用户ID",
  12957. "name": "userID",
  12958. "in": "query",
  12959. "required": true
  12960. }
  12961. ],
  12962. "responses": {
  12963. "200": {
  12964. "description": "OK",
  12965. "schema": {
  12966. "$ref": "#/definitions/app.Response"
  12967. }
  12968. },
  12969. "500": {
  12970. "description": "Internal Server Error",
  12971. "schema": {
  12972. "$ref": "#/definitions/app.Response"
  12973. }
  12974. }
  12975. }
  12976. }
  12977. },
  12978. "/User/LoginQuery": {
  12979. "get": {
  12980. "security": [
  12981. {
  12982. "ApiKeyAuth": []
  12983. }
  12984. ],
  12985. "produces": [
  12986. "application/json"
  12987. ],
  12988. "tags": [
  12989. "用户信息"
  12990. ],
  12991. "summary": "账户登录后信息查询",
  12992. "parameters": [
  12993. {
  12994. "type": "integer",
  12995. "description": "登录账号",
  12996. "name": "loginID",
  12997. "in": "query",
  12998. "required": true
  12999. }
  13000. ],
  13001. "responses": {
  13002. "200": {
  13003. "description": "OK",
  13004. "schema": {
  13005. "$ref": "#/definitions/user.LoginQueryRsp"
  13006. }
  13007. },
  13008. "500": {
  13009. "description": "Internal Server Error",
  13010. "schema": {
  13011. "$ref": "#/definitions/app.Response"
  13012. }
  13013. }
  13014. }
  13015. }
  13016. },
  13017. "/User/QueryMessageBoard": {
  13018. "get": {
  13019. "security": [
  13020. {
  13021. "ApiKeyAuth": []
  13022. }
  13023. ],
  13024. "produces": [
  13025. "application/json"
  13026. ],
  13027. "tags": [
  13028. "用户信息"
  13029. ],
  13030. "summary": "获取用户留言板信息",
  13031. "parameters": [
  13032. {
  13033. "type": "integer",
  13034. "description": "用户ID",
  13035. "name": "userID",
  13036. "in": "query",
  13037. "required": true
  13038. }
  13039. ],
  13040. "responses": {
  13041. "200": {
  13042. "description": "OK",
  13043. "schema": {
  13044. "$ref": "#/definitions/models.Messageboard"
  13045. }
  13046. },
  13047. "500": {
  13048. "description": "Internal Server Error",
  13049. "schema": {
  13050. "$ref": "#/definitions/app.Response"
  13051. }
  13052. }
  13053. }
  13054. }
  13055. },
  13056. "/User/QueryUserFavoriteGoodses": {
  13057. "get": {
  13058. "security": [
  13059. {
  13060. "ApiKeyAuth": []
  13061. }
  13062. ],
  13063. "produces": [
  13064. "application/json"
  13065. ],
  13066. "tags": [
  13067. "用户信息"
  13068. ],
  13069. "summary": "获取用户商品收藏信息",
  13070. "parameters": [
  13071. {
  13072. "type": "integer",
  13073. "description": "用户ID",
  13074. "name": "userID",
  13075. "in": "query",
  13076. "required": true
  13077. }
  13078. ],
  13079. "responses": {
  13080. "200": {
  13081. "description": "OK",
  13082. "schema": {
  13083. "$ref": "#/definitions/models.Userfavoritegoods"
  13084. }
  13085. },
  13086. "500": {
  13087. "description": "Internal Server Error",
  13088. "schema": {
  13089. "$ref": "#/definitions/app.Response"
  13090. }
  13091. }
  13092. }
  13093. }
  13094. },
  13095. "/User/QueryUserInfo": {
  13096. "get": {
  13097. "security": [
  13098. {
  13099. "ApiKeyAuth": []
  13100. }
  13101. ],
  13102. "produces": [
  13103. "application/json"
  13104. ],
  13105. "tags": [
  13106. "用户信息"
  13107. ],
  13108. "summary": "获取用户信息",
  13109. "parameters": [
  13110. {
  13111. "type": "integer",
  13112. "description": "用户ID",
  13113. "name": "userID",
  13114. "in": "query",
  13115. "required": true
  13116. },
  13117. {
  13118. "type": "boolean",
  13119. "description": "是否解密",
  13120. "name": "isDecrypt",
  13121. "in": "query"
  13122. }
  13123. ],
  13124. "responses": {
  13125. "200": {
  13126. "description": "OK",
  13127. "schema": {
  13128. "$ref": "#/definitions/models.Userinfo"
  13129. }
  13130. },
  13131. "500": {
  13132. "description": "Internal Server Error",
  13133. "schema": {
  13134. "$ref": "#/definitions/app.Response"
  13135. }
  13136. }
  13137. }
  13138. }
  13139. },
  13140. "/User/QueryUserReferNum": {
  13141. "get": {
  13142. "produces": [
  13143. "application/json"
  13144. ],
  13145. "tags": [
  13146. "用户信息"
  13147. ],
  13148. "summary": "获取用户邀请码",
  13149. "parameters": [
  13150. {
  13151. "type": "integer",
  13152. "description": "用户ID",
  13153. "name": "userID",
  13154. "in": "query",
  13155. "required": true
  13156. }
  13157. ],
  13158. "responses": {
  13159. "200": {
  13160. "description": "OK",
  13161. "schema": {
  13162. "$ref": "#/definitions/app.Response"
  13163. }
  13164. },
  13165. "500": {
  13166. "description": "Internal Server Error",
  13167. "schema": {
  13168. "$ref": "#/definitions/app.Response"
  13169. }
  13170. }
  13171. }
  13172. }
  13173. },
  13174. "/User/RemoveUserFavoriteGoods": {
  13175. "post": {
  13176. "security": [
  13177. {
  13178. "ApiKeyAuth": []
  13179. }
  13180. ],
  13181. "produces": [
  13182. "application/json"
  13183. ],
  13184. "tags": [
  13185. "用户信息"
  13186. ],
  13187. "summary": "移除用户商品收藏信息",
  13188. "parameters": [
  13189. {
  13190. "type": "integer",
  13191. "description": "用户ID",
  13192. "name": "userID",
  13193. "in": "query",
  13194. "required": true
  13195. },
  13196. {
  13197. "type": "integer",
  13198. "description": "商品ID",
  13199. "name": "goodsID",
  13200. "in": "query",
  13201. "required": true
  13202. }
  13203. ],
  13204. "responses": {
  13205. "200": {
  13206. "description": "OK",
  13207. "schema": {
  13208. "$ref": "#/definitions/app.Response"
  13209. }
  13210. },
  13211. "500": {
  13212. "description": "Internal Server Error",
  13213. "schema": {
  13214. "$ref": "#/definitions/app.Response"
  13215. }
  13216. }
  13217. }
  13218. }
  13219. },
  13220. "/User/UpdateUserAccountStatus": {
  13221. "post": {
  13222. "security": [
  13223. {
  13224. "ApiKeyAuth": []
  13225. }
  13226. ],
  13227. "produces": [
  13228. "application/json"
  13229. ],
  13230. "tags": [
  13231. "用户信息"
  13232. ],
  13233. "summary": "更新用户状态",
  13234. "parameters": [
  13235. {
  13236. "type": "integer",
  13237. "description": "用户ID",
  13238. "name": "userID",
  13239. "in": "query",
  13240. "required": true
  13241. },
  13242. {
  13243. "type": "integer",
  13244. "description": "账户状态 - 4:正常 6:注销(停用)",
  13245. "name": "accountStatus",
  13246. "in": "query",
  13247. "required": true
  13248. }
  13249. ],
  13250. "responses": {
  13251. "200": {
  13252. "description": "OK",
  13253. "schema": {
  13254. "$ref": "#/definitions/app.Response"
  13255. }
  13256. },
  13257. "500": {
  13258. "description": "Internal Server Error",
  13259. "schema": {
  13260. "$ref": "#/definitions/app.Response"
  13261. }
  13262. }
  13263. }
  13264. }
  13265. },
  13266. "/WRTrade/GetAllDeliveryGoods": {
  13267. "get": {
  13268. "security": [
  13269. {
  13270. "ApiKeyAuth": []
  13271. }
  13272. ],
  13273. "produces": [
  13274. "application/json"
  13275. ],
  13276. "tags": [
  13277. "仓单贸易",
  13278. "仓单贸易"
  13279. ],
  13280. "summary": "获取带仓单分类的种类信息",
  13281. "responses": {
  13282. "200": {
  13283. "description": "OK",
  13284. "schema": {
  13285. "$ref": "#/definitions/app.Response"
  13286. }
  13287. },
  13288. "500": {
  13289. "description": "Internal Server Error",
  13290. "schema": {
  13291. "$ref": "#/definitions/app.Response"
  13292. }
  13293. }
  13294. }
  13295. }
  13296. },
  13297. "/WrTrade2/InsertXhcpSellBackApply": {
  13298. "post": {
  13299. "security": [
  13300. {
  13301. "ApiKeyAuth": []
  13302. }
  13303. ],
  13304. "produces": [
  13305. "application/json"
  13306. ],
  13307. "tags": [
  13308. "仓单贸易v2"
  13309. ],
  13310. "summary": "新增回收申请(新会陈皮)",
  13311. "parameters": [
  13312. {
  13313. "description": "回收申请",
  13314. "name": "jsonBody",
  13315. "in": "body",
  13316. "required": true,
  13317. "schema": {
  13318. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13319. }
  13320. }
  13321. ],
  13322. "responses": {
  13323. "200": {
  13324. "description": "OK",
  13325. "schema": {
  13326. "$ref": "#/definitions/app.Response"
  13327. }
  13328. },
  13329. "500": {
  13330. "description": "Internal Server Error",
  13331. "schema": {
  13332. "$ref": "#/definitions/app.Response"
  13333. }
  13334. }
  13335. }
  13336. }
  13337. },
  13338. "/WrTrade2/QueryDeliveryGoodsSection": {
  13339. "get": {
  13340. "security": [
  13341. {
  13342. "ApiKeyAuth": []
  13343. }
  13344. ],
  13345. "produces": [
  13346. "application/json"
  13347. ],
  13348. "tags": [
  13349. "仓单贸易v2"
  13350. ],
  13351. "summary": "查询板块(分类)",
  13352. "responses": {
  13353. "200": {
  13354. "description": "OK",
  13355. "schema": {
  13356. "type": "array",
  13357. "items": {
  13358. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13359. }
  13360. }
  13361. },
  13362. "500": {
  13363. "description": "Internal Server Error",
  13364. "schema": {
  13365. "$ref": "#/definitions/app.Response"
  13366. }
  13367. }
  13368. }
  13369. }
  13370. },
  13371. "/WrTrade2/QueryFaProductDetail": {
  13372. "get": {
  13373. "security": [
  13374. {
  13375. "ApiKeyAuth": []
  13376. }
  13377. ],
  13378. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13379. "produces": [
  13380. "application/json"
  13381. ],
  13382. "tags": [
  13383. "仓单贸易v2"
  13384. ],
  13385. "summary": "查询融资产品列表",
  13386. "parameters": [
  13387. {
  13388. "type": "integer",
  13389. "description": "仓单要素id",
  13390. "name": "wrfactortypeid",
  13391. "in": "query",
  13392. "required": true
  13393. }
  13394. ],
  13395. "responses": {
  13396. "200": {
  13397. "description": "OK",
  13398. "schema": {
  13399. "type": "array",
  13400. "items": {
  13401. "$ref": "#/definitions/models.WrFAProductDetail"
  13402. }
  13403. }
  13404. },
  13405. "500": {
  13406. "description": "Internal Server Error",
  13407. "schema": {
  13408. "$ref": "#/definitions/app.Response"
  13409. }
  13410. }
  13411. }
  13412. }
  13413. },
  13414. "/WrTrade2/QueryFilterItem": {
  13415. "get": {
  13416. "security": [
  13417. {
  13418. "ApiKeyAuth": []
  13419. }
  13420. ],
  13421. "produces": [
  13422. "application/json"
  13423. ],
  13424. "tags": [
  13425. "仓单贸易v2"
  13426. ],
  13427. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13428. "parameters": [
  13429. {
  13430. "type": "string",
  13431. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13432. "name": "itype",
  13433. "in": "query",
  13434. "required": true
  13435. }
  13436. ],
  13437. "responses": {
  13438. "200": {
  13439. "description": "OK",
  13440. "schema": {
  13441. "type": "array",
  13442. "items": {
  13443. "$ref": "#/definitions/models.WrFilterItem"
  13444. }
  13445. }
  13446. },
  13447. "500": {
  13448. "description": "Internal Server Error",
  13449. "schema": {
  13450. "$ref": "#/definitions/app.Response"
  13451. }
  13452. }
  13453. }
  13454. }
  13455. },
  13456. "/WrTrade2/QueryFtDeliveryGoods": {
  13457. "get": {
  13458. "security": [
  13459. {
  13460. "ApiKeyAuth": []
  13461. }
  13462. ],
  13463. "produces": [
  13464. "application/json"
  13465. ],
  13466. "tags": [
  13467. "仓单贸易v2"
  13468. ],
  13469. "summary": "查询品种品类筛选框列表",
  13470. "responses": {
  13471. "200": {
  13472. "description": "OK",
  13473. "schema": {
  13474. "type": "array",
  13475. "items": {
  13476. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13477. }
  13478. }
  13479. },
  13480. "500": {
  13481. "description": "Internal Server Error",
  13482. "schema": {
  13483. "$ref": "#/definitions/app.Response"
  13484. }
  13485. }
  13486. }
  13487. }
  13488. },
  13489. "/WrTrade2/QueryHoldLB": {
  13490. "get": {
  13491. "security": [
  13492. {
  13493. "ApiKeyAuth": []
  13494. }
  13495. ],
  13496. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13497. "produces": [
  13498. "application/json"
  13499. ],
  13500. "tags": [
  13501. "仓单贸易v2"
  13502. ],
  13503. "summary": "查询仓单持有记录",
  13504. "parameters": [
  13505. {
  13506. "type": "integer",
  13507. "description": "资金账号",
  13508. "name": "accountid",
  13509. "in": "query",
  13510. "required": true
  13511. },
  13512. {
  13513. "type": "integer",
  13514. "description": "仓库id",
  13515. "name": "warehouseid",
  13516. "in": "query"
  13517. },
  13518. {
  13519. "type": "integer",
  13520. "description": "品种id",
  13521. "name": "deliverygoodsid",
  13522. "in": "query"
  13523. },
  13524. {
  13525. "type": "integer",
  13526. "description": "品类id",
  13527. "name": "wrstandardid",
  13528. "in": "query"
  13529. },
  13530. {
  13531. "type": "integer",
  13532. "description": "仓单要素id",
  13533. "name": "wrfactortypeid",
  13534. "in": "query"
  13535. },
  13536. {
  13537. "type": "string",
  13538. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13539. "name": "dgitemname",
  13540. "in": "query"
  13541. }
  13542. ],
  13543. "responses": {
  13544. "200": {
  13545. "description": "OK",
  13546. "schema": {
  13547. "type": "array",
  13548. "items": {
  13549. "$ref": "#/definitions/models.WrHoldLB"
  13550. }
  13551. }
  13552. },
  13553. "500": {
  13554. "description": "Internal Server Error",
  13555. "schema": {
  13556. "$ref": "#/definitions/app.Response"
  13557. }
  13558. }
  13559. }
  13560. }
  13561. },
  13562. "/WrTrade2/QueryOrderQuote": {
  13563. "get": {
  13564. "security": [
  13565. {
  13566. "ApiKeyAuth": []
  13567. }
  13568. ],
  13569. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13570. "produces": [
  13571. "application/json"
  13572. ],
  13573. "tags": [
  13574. "仓单贸易v2"
  13575. ],
  13576. "summary": "查询大厅行情列表",
  13577. "parameters": [
  13578. {
  13579. "type": "integer",
  13580. "description": "页码",
  13581. "name": "page",
  13582. "in": "query"
  13583. },
  13584. {
  13585. "type": "integer",
  13586. "description": "每页条数",
  13587. "name": "pagesize",
  13588. "in": "query"
  13589. },
  13590. {
  13591. "type": "integer",
  13592. "description": "仓单贸易市场id",
  13593. "name": "marketid",
  13594. "in": "query"
  13595. },
  13596. {
  13597. "type": "integer",
  13598. "description": "价格方式 - 1:固定价 2-浮动价",
  13599. "name": "wrpricetype",
  13600. "in": "query",
  13601. "required": true
  13602. },
  13603. {
  13604. "type": "integer",
  13605. "description": "0:仓单预售 1:仓单贸易",
  13606. "name": "haswr",
  13607. "in": "query"
  13608. },
  13609. {
  13610. "type": "string",
  13611. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13612. "name": "dgitemname",
  13613. "in": "query"
  13614. },
  13615. {
  13616. "type": "integer",
  13617. "description": "仓库id(筛选条件)",
  13618. "name": "warehouseid",
  13619. "in": "query"
  13620. },
  13621. {
  13622. "type": "integer",
  13623. "description": "品种id",
  13624. "name": "deliverygoodsid",
  13625. "in": "query"
  13626. },
  13627. {
  13628. "type": "integer",
  13629. "description": "品类id",
  13630. "name": "wrstandardid",
  13631. "in": "query"
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "品牌id(dgfactoryitemid)",
  13636. "name": "brandid",
  13637. "in": "query"
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "年份id(dgfactoryitemid)",
  13642. "name": "yearsid",
  13643. "in": "query"
  13644. },
  13645. {
  13646. "type": "integer",
  13647. "description": "仓单要素id",
  13648. "name": "wrfactortypeid",
  13649. "in": "query"
  13650. },
  13651. {
  13652. "type": "string",
  13653. "description": "交收月(yyyy-mm) 仓单预售填写",
  13654. "name": "deliverymonth",
  13655. "in": "query"
  13656. }
  13657. ],
  13658. "responses": {
  13659. "200": {
  13660. "description": "OK",
  13661. "schema": {
  13662. "type": "array",
  13663. "items": {
  13664. "$ref": "#/definitions/models.WrOrderQuote"
  13665. }
  13666. }
  13667. },
  13668. "500": {
  13669. "description": "Internal Server Error",
  13670. "schema": {
  13671. "$ref": "#/definitions/app.Response"
  13672. }
  13673. }
  13674. }
  13675. }
  13676. },
  13677. "/WrTrade2/QueryOrderQuoteDetail": {
  13678. "get": {
  13679. "security": [
  13680. {
  13681. "ApiKeyAuth": []
  13682. }
  13683. ],
  13684. "produces": [
  13685. "application/json"
  13686. ],
  13687. "tags": [
  13688. "仓单贸易v2"
  13689. ],
  13690. "summary": "查询买卖大厅",
  13691. "parameters": [
  13692. {
  13693. "type": "integer",
  13694. "description": "页码",
  13695. "name": "page",
  13696. "in": "query"
  13697. },
  13698. {
  13699. "type": "integer",
  13700. "description": "每页条数",
  13701. "name": "pagesize",
  13702. "in": "query"
  13703. },
  13704. {
  13705. "type": "integer",
  13706. "description": "仓单贸易市场id",
  13707. "name": "marketid",
  13708. "in": "query"
  13709. },
  13710. {
  13711. "type": "integer",
  13712. "description": "价格方式 - 1:固定价 2-浮动价",
  13713. "name": "wrpricetype",
  13714. "in": "query",
  13715. "required": true
  13716. },
  13717. {
  13718. "type": "integer",
  13719. "description": "0:仓单预售 1:仓单贸易",
  13720. "name": "haswr",
  13721. "in": "query"
  13722. },
  13723. {
  13724. "type": "integer",
  13725. "description": "仓单要素id",
  13726. "name": "wrfactortypeid",
  13727. "in": "query",
  13728. "required": true
  13729. },
  13730. {
  13731. "type": "integer",
  13732. "description": "期货商品id(浮动价方式时填)",
  13733. "name": "goodsid",
  13734. "in": "query"
  13735. },
  13736. {
  13737. "type": "integer",
  13738. "description": "买卖方向 0-买 1-卖",
  13739. "name": "buyorsell",
  13740. "in": "query",
  13741. "required": true
  13742. },
  13743. {
  13744. "type": "string",
  13745. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13746. "name": "deliverymonth",
  13747. "in": "query"
  13748. }
  13749. ],
  13750. "responses": {
  13751. "200": {
  13752. "description": "OK",
  13753. "schema": {
  13754. "type": "array",
  13755. "items": {
  13756. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13757. }
  13758. }
  13759. },
  13760. "500": {
  13761. "description": "Internal Server Error",
  13762. "schema": {
  13763. "$ref": "#/definitions/app.Response"
  13764. }
  13765. }
  13766. }
  13767. }
  13768. },
  13769. "/WrTrade2/QueryOrderQuoteMyq": {
  13770. "get": {
  13771. "security": [
  13772. {
  13773. "ApiKeyAuth": []
  13774. }
  13775. ],
  13776. "produces": [
  13777. "application/json"
  13778. ],
  13779. "tags": [
  13780. "仓单贸易v2"
  13781. ],
  13782. "summary": "查询贸易圈挂牌大厅",
  13783. "parameters": [
  13784. {
  13785. "type": "integer",
  13786. "description": "页码",
  13787. "name": "page",
  13788. "in": "query"
  13789. },
  13790. {
  13791. "type": "integer",
  13792. "description": "每页条数",
  13793. "name": "pagesize",
  13794. "in": "query"
  13795. },
  13796. {
  13797. "type": "integer",
  13798. "description": "用户id",
  13799. "name": "userid",
  13800. "in": "query",
  13801. "required": true
  13802. },
  13803. {
  13804. "type": "integer",
  13805. "description": "仓单贸易市场id",
  13806. "name": "marketid",
  13807. "in": "query"
  13808. },
  13809. {
  13810. "type": "integer",
  13811. "description": "0:仓单预售 1:仓单贸易",
  13812. "name": "haswr",
  13813. "in": "query"
  13814. },
  13815. {
  13816. "type": "integer",
  13817. "description": "买卖方向 0-买 1-卖",
  13818. "name": "buyorsell",
  13819. "in": "query",
  13820. "required": true
  13821. },
  13822. {
  13823. "type": "integer",
  13824. "description": "品种id",
  13825. "name": "deliverygoodsid",
  13826. "in": "query"
  13827. },
  13828. {
  13829. "type": "integer",
  13830. "description": "品类id",
  13831. "name": "wrstandardid",
  13832. "in": "query"
  13833. },
  13834. {
  13835. "type": "string",
  13836. "description": "交收月(yyyy-mm) 仓单预售填写",
  13837. "name": "deliverymonth",
  13838. "in": "query"
  13839. },
  13840. {
  13841. "type": "string",
  13842. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13843. "name": "dgitemname",
  13844. "in": "query"
  13845. }
  13846. ],
  13847. "responses": {
  13848. "200": {
  13849. "description": "OK",
  13850. "schema": {
  13851. "type": "array",
  13852. "items": {
  13853. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13854. }
  13855. }
  13856. },
  13857. "500": {
  13858. "description": "Internal Server Error",
  13859. "schema": {
  13860. "$ref": "#/definitions/app.Response"
  13861. }
  13862. }
  13863. }
  13864. }
  13865. },
  13866. "/WrTrade2/QueryPerformancePlan": {
  13867. "get": {
  13868. "security": [
  13869. {
  13870. "ApiKeyAuth": []
  13871. }
  13872. ],
  13873. "produces": [
  13874. "application/json"
  13875. ],
  13876. "tags": [
  13877. "仓单贸易v2"
  13878. ],
  13879. "summary": "查询履约信息",
  13880. "parameters": [
  13881. {
  13882. "type": "integer",
  13883. "description": "用户id",
  13884. "name": "userid",
  13885. "in": "query",
  13886. "required": true
  13887. },
  13888. {
  13889. "type": "integer",
  13890. "description": "买卖方向 0-买 1-卖",
  13891. "name": "buyorsell",
  13892. "in": "query",
  13893. "required": true
  13894. },
  13895. {
  13896. "type": "string",
  13897. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13898. "name": "status",
  13899. "in": "query"
  13900. },
  13901. {
  13902. "type": "string",
  13903. "description": "开始交易日(yyyymmdd)",
  13904. "name": "begindate",
  13905. "in": "query"
  13906. },
  13907. {
  13908. "type": "string",
  13909. "description": "结束交易日(yyyymmdd)",
  13910. "name": "enddate",
  13911. "in": "query"
  13912. }
  13913. ],
  13914. "responses": {
  13915. "200": {
  13916. "description": "OK",
  13917. "schema": {
  13918. "type": "array",
  13919. "items": {
  13920. "$ref": "#/definitions/models.WrPerformancePlan"
  13921. }
  13922. }
  13923. },
  13924. "500": {
  13925. "description": "Internal Server Error",
  13926. "schema": {
  13927. "$ref": "#/definitions/app.Response"
  13928. }
  13929. }
  13930. }
  13931. }
  13932. },
  13933. "/WrTrade2/QueryPermancePlanTmp": {
  13934. "get": {
  13935. "security": [
  13936. {
  13937. "ApiKeyAuth": []
  13938. }
  13939. ],
  13940. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13941. "produces": [
  13942. "application/json"
  13943. ],
  13944. "tags": [
  13945. "仓单贸易v2"
  13946. ],
  13947. "summary": "查询履约模板",
  13948. "parameters": [
  13949. {
  13950. "type": "integer",
  13951. "description": "用户id",
  13952. "name": "userid",
  13953. "in": "query"
  13954. },
  13955. {
  13956. "type": "string",
  13957. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13958. "name": "tmptype",
  13959. "in": "query"
  13960. },
  13961. {
  13962. "type": "integer",
  13963. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13964. "name": "includepub",
  13965. "in": "query"
  13966. },
  13967. {
  13968. "type": "integer",
  13969. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13970. "name": "marketid",
  13971. "in": "query"
  13972. }
  13973. ],
  13974. "responses": {
  13975. "200": {
  13976. "description": "OK",
  13977. "schema": {
  13978. "type": "array",
  13979. "items": {
  13980. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13981. }
  13982. }
  13983. },
  13984. "500": {
  13985. "description": "Internal Server Error",
  13986. "schema": {
  13987. "$ref": "#/definitions/app.Response"
  13988. }
  13989. }
  13990. }
  13991. }
  13992. },
  13993. "/WrTrade2/QuerySiteColumnDetail": {
  13994. "get": {
  13995. "security": [
  13996. {
  13997. "ApiKeyAuth": []
  13998. }
  13999. ],
  14000. "produces": [
  14001. "application/json"
  14002. ],
  14003. "tags": [
  14004. "仓单贸易v2"
  14005. ],
  14006. "summary": "查询资讯",
  14007. "parameters": [
  14008. {
  14009. "type": "integer",
  14010. "description": "页码",
  14011. "name": "page",
  14012. "in": "query"
  14013. },
  14014. {
  14015. "type": "integer",
  14016. "description": "每页条数",
  14017. "name": "pagesize",
  14018. "in": "query"
  14019. },
  14020. {
  14021. "type": "integer",
  14022. "description": "所属栏目id",
  14023. "name": "columnid",
  14024. "in": "query"
  14025. }
  14026. ],
  14027. "responses": {
  14028. "200": {
  14029. "description": "OK",
  14030. "schema": {
  14031. "type": "array",
  14032. "items": {
  14033. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14034. }
  14035. }
  14036. },
  14037. "500": {
  14038. "description": "Internal Server Error",
  14039. "schema": {
  14040. "$ref": "#/definitions/app.Response"
  14041. }
  14042. }
  14043. }
  14044. }
  14045. },
  14046. "/WrTrade2/QuerySpotGroupTradeSum": {
  14047. "get": {
  14048. "security": [
  14049. {
  14050. "ApiKeyAuth": []
  14051. }
  14052. ],
  14053. "produces": [
  14054. "application/json"
  14055. ],
  14056. "tags": [
  14057. "仓单贸易v2"
  14058. ],
  14059. "summary": "查询指数",
  14060. "responses": {
  14061. "200": {
  14062. "description": "OK",
  14063. "schema": {
  14064. "type": "array",
  14065. "items": {
  14066. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14067. }
  14068. }
  14069. },
  14070. "500": {
  14071. "description": "Internal Server Error",
  14072. "schema": {
  14073. "$ref": "#/definitions/app.Response"
  14074. }
  14075. }
  14076. }
  14077. }
  14078. },
  14079. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14080. "get": {
  14081. "security": [
  14082. {
  14083. "ApiKeyAuth": []
  14084. }
  14085. ],
  14086. "description": "查询的结果将会按日期 从小到大 排序",
  14087. "produces": [
  14088. "application/json"
  14089. ],
  14090. "tags": [
  14091. "仓单贸易v2"
  14092. ],
  14093. "summary": "查询指数详细(价格走势图)",
  14094. "parameters": [
  14095. {
  14096. "type": "integer",
  14097. "description": "现货商品id",
  14098. "name": "deliverygoodsid",
  14099. "in": "query",
  14100. "required": true
  14101. },
  14102. {
  14103. "type": "integer",
  14104. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14105. "name": "lastnum",
  14106. "in": "query"
  14107. }
  14108. ],
  14109. "responses": {
  14110. "200": {
  14111. "description": "OK",
  14112. "schema": {
  14113. "type": "array",
  14114. "items": {
  14115. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14116. }
  14117. }
  14118. },
  14119. "500": {
  14120. "description": "Internal Server Error",
  14121. "schema": {
  14122. "$ref": "#/definitions/app.Response"
  14123. }
  14124. }
  14125. }
  14126. }
  14127. },
  14128. "/WrTrade2/QueryWrAverageTradePrice": {
  14129. "get": {
  14130. "security": [
  14131. {
  14132. "ApiKeyAuth": []
  14133. }
  14134. ],
  14135. "produces": [
  14136. "application/json"
  14137. ],
  14138. "tags": [
  14139. "仓单贸易v2"
  14140. ],
  14141. "summary": "查询成交价(历史走势)",
  14142. "parameters": [
  14143. {
  14144. "type": "integer",
  14145. "description": "页码",
  14146. "name": "page",
  14147. "in": "query"
  14148. },
  14149. {
  14150. "type": "integer",
  14151. "description": "每页条数",
  14152. "name": "pagesize",
  14153. "in": "query"
  14154. },
  14155. {
  14156. "type": "integer",
  14157. "description": "0:仓单预售 1:仓单贸易",
  14158. "name": "haswr",
  14159. "in": "query",
  14160. "required": true
  14161. },
  14162. {
  14163. "type": "integer",
  14164. "description": "仓单要素id",
  14165. "name": "wrfactortypeid",
  14166. "in": "query",
  14167. "required": true
  14168. }
  14169. ],
  14170. "responses": {
  14171. "200": {
  14172. "description": "OK",
  14173. "schema": {
  14174. "type": "array",
  14175. "items": {
  14176. "$ref": "#/definitions/models.WrAverageTradePrice"
  14177. }
  14178. }
  14179. },
  14180. "500": {
  14181. "description": "Internal Server Error",
  14182. "schema": {
  14183. "$ref": "#/definitions/app.Response"
  14184. }
  14185. }
  14186. }
  14187. }
  14188. },
  14189. "/WrTrade2/QueryWrBrandAndYears": {
  14190. "get": {
  14191. "security": [
  14192. {
  14193. "ApiKeyAuth": []
  14194. }
  14195. ],
  14196. "produces": [
  14197. "application/json"
  14198. ],
  14199. "tags": [
  14200. "仓单贸易v2"
  14201. ],
  14202. "summary": "查询品牌和年份",
  14203. "responses": {
  14204. "200": {
  14205. "description": "OK",
  14206. "schema": {
  14207. "type": "array",
  14208. "items": {
  14209. "$ref": "#/definitions/models.WrBrandAndYears"
  14210. }
  14211. }
  14212. },
  14213. "500": {
  14214. "description": "Internal Server Error",
  14215. "schema": {
  14216. "$ref": "#/definitions/app.Response"
  14217. }
  14218. }
  14219. }
  14220. }
  14221. },
  14222. "/WrTrade2/QueryWrBsGoodsInfo": {
  14223. "get": {
  14224. "security": [
  14225. {
  14226. "ApiKeyAuth": []
  14227. }
  14228. ],
  14229. "description": "合约交易/买卖大厅/详情",
  14230. "produces": [
  14231. "application/json"
  14232. ],
  14233. "tags": [
  14234. "仓单贸易v2"
  14235. ],
  14236. "summary": "查询合约交易买卖大厅详情",
  14237. "parameters": [
  14238. {
  14239. "type": "integer",
  14240. "description": "商品id",
  14241. "name": "goodsid",
  14242. "in": "query",
  14243. "required": true
  14244. }
  14245. ],
  14246. "responses": {
  14247. "200": {
  14248. "description": "OK",
  14249. "schema": {
  14250. "type": "array",
  14251. "items": {
  14252. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14253. }
  14254. }
  14255. },
  14256. "500": {
  14257. "description": "Internal Server Error",
  14258. "schema": {
  14259. "$ref": "#/definitions/app.Response"
  14260. }
  14261. }
  14262. }
  14263. }
  14264. },
  14265. "/WrTrade2/QueryWrBuybackDetail": {
  14266. "get": {
  14267. "security": [
  14268. {
  14269. "ApiKeyAuth": []
  14270. }
  14271. ],
  14272. "produces": [
  14273. "application/json"
  14274. ],
  14275. "tags": [
  14276. "仓单贸易v2"
  14277. ],
  14278. "summary": "查询仓单回购明细",
  14279. "parameters": [
  14280. {
  14281. "type": "integer",
  14282. "description": "融资合同id",
  14283. "name": "scfcontractid",
  14284. "in": "query"
  14285. }
  14286. ],
  14287. "responses": {
  14288. "200": {
  14289. "description": "OK",
  14290. "schema": {
  14291. "type": "array",
  14292. "items": {
  14293. "$ref": "#/definitions/models.WrBuybackDetail"
  14294. }
  14295. }
  14296. },
  14297. "500": {
  14298. "description": "Internal Server Error",
  14299. "schema": {
  14300. "$ref": "#/definitions/app.Response"
  14301. }
  14302. }
  14303. }
  14304. }
  14305. },
  14306. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14307. "get": {
  14308. "security": [
  14309. {
  14310. "ApiKeyAuth": []
  14311. }
  14312. ],
  14313. "produces": [
  14314. "application/json"
  14315. ],
  14316. "tags": [
  14317. "仓单贸易v2"
  14318. ],
  14319. "summary": "查询固定广告配置",
  14320. "responses": {
  14321. "200": {
  14322. "description": "OK",
  14323. "schema": {
  14324. "type": "array",
  14325. "items": {
  14326. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14327. }
  14328. }
  14329. },
  14330. "500": {
  14331. "description": "Internal Server Error",
  14332. "schema": {
  14333. "$ref": "#/definitions/app.Response"
  14334. }
  14335. }
  14336. }
  14337. }
  14338. },
  14339. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14340. "get": {
  14341. "security": [
  14342. {
  14343. "ApiKeyAuth": []
  14344. }
  14345. ],
  14346. "produces": [
  14347. "application/json"
  14348. ],
  14349. "tags": [
  14350. "仓单贸易v2"
  14351. ],
  14352. "summary": "查询合约交收可点选仓单",
  14353. "parameters": [
  14354. {
  14355. "type": "integer",
  14356. "description": "资金账号",
  14357. "name": "accountid",
  14358. "in": "query",
  14359. "required": true
  14360. },
  14361. {
  14362. "type": "integer",
  14363. "description": "商品id",
  14364. "name": "goodsid",
  14365. "in": "query",
  14366. "required": true
  14367. }
  14368. ],
  14369. "responses": {
  14370. "200": {
  14371. "description": "OK",
  14372. "schema": {
  14373. "type": "array",
  14374. "items": {
  14375. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14376. }
  14377. }
  14378. },
  14379. "500": {
  14380. "description": "Internal Server Error",
  14381. "schema": {
  14382. "$ref": "#/definitions/app.Response"
  14383. }
  14384. }
  14385. }
  14386. }
  14387. },
  14388. "/WrTrade2/QueryWrDeliveryDetail": {
  14389. "get": {
  14390. "security": [
  14391. {
  14392. "ApiKeyAuth": []
  14393. }
  14394. ],
  14395. "produces": [
  14396. "application/json"
  14397. ],
  14398. "tags": [
  14399. "仓单贸易v2"
  14400. ],
  14401. "summary": "查询交收",
  14402. "parameters": [
  14403. {
  14404. "type": "integer",
  14405. "description": "用户id",
  14406. "name": "userid",
  14407. "in": "query",
  14408. "required": true
  14409. },
  14410. {
  14411. "type": "integer",
  14412. "description": "资金账号id",
  14413. "name": "accountid",
  14414. "in": "query"
  14415. },
  14416. {
  14417. "type": "string",
  14418. "description": "开始交易日(yyyymmdd)",
  14419. "name": "begindate",
  14420. "in": "query"
  14421. },
  14422. {
  14423. "type": "string",
  14424. "description": "结束交易日(yyyymmdd)",
  14425. "name": "enddate",
  14426. "in": "query"
  14427. }
  14428. ],
  14429. "responses": {
  14430. "200": {
  14431. "description": "OK",
  14432. "schema": {
  14433. "type": "array",
  14434. "items": {
  14435. "$ref": "#/definitions/models.WrDeliveryDetail"
  14436. }
  14437. }
  14438. },
  14439. "500": {
  14440. "description": "Internal Server Error",
  14441. "schema": {
  14442. "$ref": "#/definitions/app.Response"
  14443. }
  14444. }
  14445. }
  14446. }
  14447. },
  14448. "/WrTrade2/QueryWrDraftUserInfo": {
  14449. "get": {
  14450. "security": [
  14451. {
  14452. "ApiKeyAuth": []
  14453. }
  14454. ],
  14455. "produces": [
  14456. "application/json"
  14457. ],
  14458. "tags": [
  14459. "仓单贸易v2"
  14460. ],
  14461. "summary": "查询实名认证信息",
  14462. "parameters": [
  14463. {
  14464. "type": "integer",
  14465. "description": "用户ID",
  14466. "name": "userid",
  14467. "in": "query",
  14468. "required": true
  14469. },
  14470. {
  14471. "type": "integer",
  14472. "description": "用户状态 1:正常 2:注销",
  14473. "name": "userstatus",
  14474. "in": "query"
  14475. }
  14476. ],
  14477. "responses": {
  14478. "200": {
  14479. "description": "OK",
  14480. "schema": {
  14481. "type": "array",
  14482. "items": {
  14483. "$ref": "#/definitions/models.WrDraftUserInfo"
  14484. }
  14485. }
  14486. },
  14487. "500": {
  14488. "description": "Internal Server Error",
  14489. "schema": {
  14490. "$ref": "#/definitions/app.Response"
  14491. }
  14492. }
  14493. }
  14494. }
  14495. },
  14496. "/WrTrade2/QueryWrFactorTypeInfo": {
  14497. "get": {
  14498. "security": [
  14499. {
  14500. "ApiKeyAuth": []
  14501. }
  14502. ],
  14503. "produces": [
  14504. "application/json"
  14505. ],
  14506. "tags": [
  14507. "仓单贸易v2"
  14508. ],
  14509. "summary": "查询仓单要素详细信息",
  14510. "parameters": [
  14511. {
  14512. "type": "integer",
  14513. "description": "仓单要素id",
  14514. "name": "wrfactortypeid",
  14515. "in": "query",
  14516. "required": true
  14517. }
  14518. ],
  14519. "responses": {
  14520. "200": {
  14521. "description": "OK",
  14522. "schema": {
  14523. "type": "array",
  14524. "items": {
  14525. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14526. }
  14527. }
  14528. },
  14529. "500": {
  14530. "description": "Internal Server Error",
  14531. "schema": {
  14532. "$ref": "#/definitions/app.Response"
  14533. }
  14534. }
  14535. }
  14536. }
  14537. },
  14538. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14539. "get": {
  14540. "security": [
  14541. {
  14542. "ApiKeyAuth": []
  14543. }
  14544. ],
  14545. "produces": [
  14546. "application/json"
  14547. ],
  14548. "tags": [
  14549. "仓单贸易v2"
  14550. ],
  14551. "summary": "查询仓单要素详细信息列表项",
  14552. "parameters": [
  14553. {
  14554. "type": "integer",
  14555. "description": "仓单要素id",
  14556. "name": "wrfactortypeid",
  14557. "in": "query",
  14558. "required": true
  14559. }
  14560. ],
  14561. "responses": {
  14562. "200": {
  14563. "description": "OK",
  14564. "schema": {
  14565. "type": "array",
  14566. "items": {
  14567. "$ref": "#/definitions/models.WrTypeItem"
  14568. }
  14569. }
  14570. },
  14571. "500": {
  14572. "description": "Internal Server Error",
  14573. "schema": {
  14574. "$ref": "#/definitions/app.Response"
  14575. }
  14576. }
  14577. }
  14578. }
  14579. },
  14580. "/WrTrade2/QueryWrFinanceBuyApply": {
  14581. "get": {
  14582. "security": [
  14583. {
  14584. "ApiKeyAuth": []
  14585. }
  14586. ],
  14587. "description": "页面 融资信息+ / 申请单",
  14588. "produces": [
  14589. "application/json"
  14590. ],
  14591. "tags": [
  14592. "仓单贸易v2"
  14593. ],
  14594. "summary": "查询融资购买申请",
  14595. "parameters": [
  14596. {
  14597. "type": "integer",
  14598. "description": "用户id",
  14599. "name": "userid",
  14600. "in": "query",
  14601. "required": true
  14602. }
  14603. ],
  14604. "responses": {
  14605. "200": {
  14606. "description": "OK",
  14607. "schema": {
  14608. "type": "array",
  14609. "items": {
  14610. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14611. }
  14612. }
  14613. },
  14614. "500": {
  14615. "description": "Internal Server Error",
  14616. "schema": {
  14617. "$ref": "#/definitions/app.Response"
  14618. }
  14619. }
  14620. }
  14621. }
  14622. },
  14623. "/WrTrade2/QueryWrFriendApply": {
  14624. "get": {
  14625. "security": [
  14626. {
  14627. "ApiKeyAuth": []
  14628. }
  14629. ],
  14630. "produces": [
  14631. "application/json"
  14632. ],
  14633. "tags": [
  14634. "仓单贸易v2"
  14635. ],
  14636. "summary": "查询好友申请记录",
  14637. "parameters": [
  14638. {
  14639. "type": "integer",
  14640. "description": "用户id",
  14641. "name": "userid",
  14642. "in": "query",
  14643. "required": true
  14644. }
  14645. ],
  14646. "responses": {
  14647. "200": {
  14648. "description": "OK",
  14649. "schema": {
  14650. "type": "array",
  14651. "items": {
  14652. "$ref": "#/definitions/models.WrFriendApply"
  14653. }
  14654. }
  14655. },
  14656. "500": {
  14657. "description": "Internal Server Error",
  14658. "schema": {
  14659. "$ref": "#/definitions/app.Response"
  14660. }
  14661. }
  14662. }
  14663. }
  14664. },
  14665. "/WrTrade2/QueryWrGoodsInfo": {
  14666. "get": {
  14667. "security": [
  14668. {
  14669. "ApiKeyAuth": []
  14670. }
  14671. ],
  14672. "produces": [
  14673. "application/json"
  14674. ],
  14675. "tags": [
  14676. "仓单贸易v2"
  14677. ],
  14678. "summary": "查询仓单商品信息",
  14679. "parameters": [
  14680. {
  14681. "type": "integer",
  14682. "description": "仓单贸易市场id",
  14683. "name": "marketid",
  14684. "in": "query"
  14685. },
  14686. {
  14687. "type": "integer",
  14688. "description": "0:仓单预售 1:仓单贸易",
  14689. "name": "haswr",
  14690. "in": "query",
  14691. "required": true
  14692. },
  14693. {
  14694. "type": "integer",
  14695. "description": "仓单要素id",
  14696. "name": "wrfactortypeid",
  14697. "in": "query",
  14698. "required": true
  14699. },
  14700. {
  14701. "type": "integer",
  14702. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14703. "name": "tmplateid",
  14704. "in": "query"
  14705. }
  14706. ],
  14707. "responses": {
  14708. "200": {
  14709. "description": "OK",
  14710. "schema": {
  14711. "type": "array",
  14712. "items": {
  14713. "$ref": "#/definitions/models.WrGoodsInfo"
  14714. }
  14715. }
  14716. },
  14717. "500": {
  14718. "description": "Internal Server Error",
  14719. "schema": {
  14720. "$ref": "#/definitions/app.Response"
  14721. }
  14722. }
  14723. }
  14724. }
  14725. },
  14726. "/WrTrade2/QueryWrMarketTradeConfig": {
  14727. "get": {
  14728. "security": [
  14729. {
  14730. "ApiKeyAuth": []
  14731. }
  14732. ],
  14733. "produces": [
  14734. "application/json"
  14735. ],
  14736. "tags": [
  14737. "仓单贸易v2"
  14738. ],
  14739. "summary": "查询市场交易参数配置",
  14740. "parameters": [
  14741. {
  14742. "type": "integer",
  14743. "description": "市场id",
  14744. "name": "marketid",
  14745. "in": "query"
  14746. }
  14747. ],
  14748. "responses": {
  14749. "200": {
  14750. "description": "OK",
  14751. "schema": {
  14752. "type": "array",
  14753. "items": {
  14754. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14755. }
  14756. }
  14757. },
  14758. "500": {
  14759. "description": "Internal Server Error",
  14760. "schema": {
  14761. "$ref": "#/definitions/app.Response"
  14762. }
  14763. }
  14764. }
  14765. }
  14766. },
  14767. "/WrTrade2/QueryWrOrderDetail": {
  14768. "get": {
  14769. "security": [
  14770. {
  14771. "ApiKeyAuth": []
  14772. }
  14773. ],
  14774. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14775. "produces": [
  14776. "application/json"
  14777. ],
  14778. "tags": [
  14779. "仓单贸易v2"
  14780. ],
  14781. "summary": "查询仓单委托单",
  14782. "parameters": [
  14783. {
  14784. "type": "integer",
  14785. "description": "页码",
  14786. "name": "page",
  14787. "in": "query"
  14788. },
  14789. {
  14790. "type": "integer",
  14791. "description": "每页条数",
  14792. "name": "pagesize",
  14793. "in": "query"
  14794. },
  14795. {
  14796. "type": "integer",
  14797. "description": "用户id",
  14798. "name": "userid",
  14799. "in": "query",
  14800. "required": true
  14801. },
  14802. {
  14803. "type": "integer",
  14804. "description": "仓单贸易市场id",
  14805. "name": "marketid",
  14806. "in": "query"
  14807. },
  14808. {
  14809. "type": "integer",
  14810. "description": "0:仓单预售 1:仓单贸易",
  14811. "name": "haswr",
  14812. "in": "query",
  14813. "required": true
  14814. },
  14815. {
  14816. "type": "integer",
  14817. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14818. "name": "bcancel",
  14819. "in": "query"
  14820. },
  14821. {
  14822. "type": "integer",
  14823. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14824. "name": "wrtradetype",
  14825. "in": "query"
  14826. },
  14827. {
  14828. "type": "string",
  14829. "description": "开始交易日(yyyymmdd)",
  14830. "name": "begindate",
  14831. "in": "query"
  14832. },
  14833. {
  14834. "type": "string",
  14835. "description": "结束交易日(yyyymmdd)",
  14836. "name": "enddate",
  14837. "in": "query"
  14838. }
  14839. ],
  14840. "responses": {
  14841. "200": {
  14842. "description": "OK",
  14843. "schema": {
  14844. "type": "array",
  14845. "items": {
  14846. "$ref": "#/definitions/models.WrOrderDetail"
  14847. }
  14848. }
  14849. },
  14850. "500": {
  14851. "description": "Internal Server Error",
  14852. "schema": {
  14853. "$ref": "#/definitions/app.Response"
  14854. }
  14855. }
  14856. }
  14857. }
  14858. },
  14859. "/WrTrade2/QueryWrOutInApply": {
  14860. "get": {
  14861. "security": [
  14862. {
  14863. "ApiKeyAuth": []
  14864. }
  14865. ],
  14866. "produces": [
  14867. "application/json"
  14868. ],
  14869. "tags": [
  14870. "仓单贸易v2"
  14871. ],
  14872. "summary": "查询提货申请",
  14873. "parameters": [
  14874. {
  14875. "type": "integer",
  14876. "description": "页码",
  14877. "name": "page",
  14878. "in": "query"
  14879. },
  14880. {
  14881. "type": "integer",
  14882. "description": "每页条数",
  14883. "name": "pagesize",
  14884. "in": "query"
  14885. },
  14886. {
  14887. "type": "integer",
  14888. "description": "用户id",
  14889. "name": "userid",
  14890. "in": "query",
  14891. "required": true
  14892. },
  14893. {
  14894. "type": "string",
  14895. "description": "开始交易日(yyyymmdd)",
  14896. "name": "begindate",
  14897. "in": "query"
  14898. },
  14899. {
  14900. "type": "string",
  14901. "description": "结束交易日(yyyymmdd)",
  14902. "name": "enddate",
  14903. "in": "query"
  14904. }
  14905. ],
  14906. "responses": {
  14907. "200": {
  14908. "description": "OK",
  14909. "schema": {
  14910. "type": "array",
  14911. "items": {
  14912. "$ref": "#/definitions/models.WrOutInApply"
  14913. }
  14914. }
  14915. },
  14916. "500": {
  14917. "description": "Internal Server Error",
  14918. "schema": {
  14919. "$ref": "#/definitions/app.Response"
  14920. }
  14921. }
  14922. }
  14923. }
  14924. },
  14925. "/WrTrade2/QueryWrPerformancePlanStep": {
  14926. "get": {
  14927. "security": [
  14928. {
  14929. "ApiKeyAuth": []
  14930. }
  14931. ],
  14932. "produces": [
  14933. "application/json"
  14934. ],
  14935. "tags": [
  14936. "仓单贸易v2"
  14937. ],
  14938. "summary": "查询履约信息详情",
  14939. "parameters": [
  14940. {
  14941. "type": "integer",
  14942. "description": "履约计划id(performanceplanid)",
  14943. "name": "planid",
  14944. "in": "query",
  14945. "required": true
  14946. },
  14947. {
  14948. "type": "integer",
  14949. "description": "当前步骤id",
  14950. "name": "curstepid",
  14951. "in": "query"
  14952. }
  14953. ],
  14954. "responses": {
  14955. "200": {
  14956. "description": "OK",
  14957. "schema": {
  14958. "type": "array",
  14959. "items": {
  14960. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14961. }
  14962. }
  14963. },
  14964. "500": {
  14965. "description": "Internal Server Error",
  14966. "schema": {
  14967. "$ref": "#/definitions/app.Response"
  14968. }
  14969. }
  14970. }
  14971. }
  14972. },
  14973. "/WrTrade2/QueryWrPerformanceStepType": {
  14974. "get": {
  14975. "security": [
  14976. {
  14977. "ApiKeyAuth": []
  14978. }
  14979. ],
  14980. "produces": [
  14981. "application/json"
  14982. ],
  14983. "tags": [
  14984. "仓单贸易v2"
  14985. ],
  14986. "summary": "查询履约步骤枚举",
  14987. "responses": {
  14988. "200": {
  14989. "description": "OK",
  14990. "schema": {
  14991. "type": "array",
  14992. "items": {
  14993. "$ref": "#/definitions/models.WrPerformanceStepType"
  14994. }
  14995. }
  14996. },
  14997. "500": {
  14998. "description": "Internal Server Error",
  14999. "schema": {
  15000. "$ref": "#/definitions/app.Response"
  15001. }
  15002. }
  15003. }
  15004. }
  15005. },
  15006. "/WrTrade2/QueryWrPosition": {
  15007. "get": {
  15008. "security": [
  15009. {
  15010. "ApiKeyAuth": []
  15011. }
  15012. ],
  15013. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15014. "produces": [
  15015. "application/json"
  15016. ],
  15017. "tags": [
  15018. "仓单贸易v2"
  15019. ],
  15020. "summary": "查询现货(预售)仓单持仓",
  15021. "parameters": [
  15022. {
  15023. "type": "integer",
  15024. "description": "用户id",
  15025. "name": "userid",
  15026. "in": "query",
  15027. "required": true
  15028. },
  15029. {
  15030. "type": "integer",
  15031. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15032. "name": "querytype",
  15033. "in": "query",
  15034. "required": true
  15035. },
  15036. {
  15037. "type": "integer",
  15038. "description": "0:仓单预售 1:仓单贸易",
  15039. "name": "haswr",
  15040. "in": "query",
  15041. "required": true
  15042. },
  15043. {
  15044. "type": "string",
  15045. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15046. "name": "dgitemname",
  15047. "in": "query"
  15048. },
  15049. {
  15050. "type": "integer",
  15051. "description": "仓库id(筛选条件)",
  15052. "name": "warehouseid",
  15053. "in": "query"
  15054. },
  15055. {
  15056. "type": "integer",
  15057. "description": "品种id",
  15058. "name": "deliverygoodsid",
  15059. "in": "query"
  15060. },
  15061. {
  15062. "type": "integer",
  15063. "description": "品类id",
  15064. "name": "wrstandardid",
  15065. "in": "query"
  15066. }
  15067. ],
  15068. "responses": {
  15069. "200": {
  15070. "description": "OK",
  15071. "schema": {
  15072. "type": "array",
  15073. "items": {
  15074. "$ref": "#/definitions/models.WrPosition"
  15075. }
  15076. }
  15077. },
  15078. "500": {
  15079. "description": "Internal Server Error",
  15080. "schema": {
  15081. "$ref": "#/definitions/app.Response"
  15082. }
  15083. }
  15084. }
  15085. }
  15086. },
  15087. "/WrTrade2/QueryWrPreSaleInfo": {
  15088. "get": {
  15089. "security": [
  15090. {
  15091. "ApiKeyAuth": []
  15092. }
  15093. ],
  15094. "produces": [
  15095. "application/json"
  15096. ],
  15097. "tags": [
  15098. "仓单贸易v2"
  15099. ],
  15100. "summary": "查询新品发布",
  15101. "parameters": [
  15102. {
  15103. "type": "integer",
  15104. "description": "市场id",
  15105. "name": "marketid",
  15106. "in": "query"
  15107. },
  15108. {
  15109. "type": "string",
  15110. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15111. "name": "presalestatus",
  15112. "in": "query"
  15113. },
  15114. {
  15115. "type": "integer",
  15116. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15117. "name": "lotteryflag",
  15118. "in": "query"
  15119. },
  15120. {
  15121. "type": "integer",
  15122. "description": "最近多少条记录(按创建时间倒序)",
  15123. "name": "lastnum",
  15124. "in": "query"
  15125. }
  15126. ],
  15127. "responses": {
  15128. "200": {
  15129. "description": "OK",
  15130. "schema": {
  15131. "type": "array",
  15132. "items": {
  15133. "$ref": "#/definitions/models.WrPreSaleInfo"
  15134. }
  15135. }
  15136. },
  15137. "500": {
  15138. "description": "Internal Server Error",
  15139. "schema": {
  15140. "$ref": "#/definitions/app.Response"
  15141. }
  15142. }
  15143. }
  15144. }
  15145. },
  15146. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15147. "get": {
  15148. "security": [
  15149. {
  15150. "ApiKeyAuth": []
  15151. }
  15152. ],
  15153. "produces": [
  15154. "application/json"
  15155. ],
  15156. "tags": [
  15157. "仓单贸易v2"
  15158. ],
  15159. "summary": "查询价格走势",
  15160. "parameters": [
  15161. {
  15162. "type": "integer",
  15163. "description": "市场id",
  15164. "name": "marketid",
  15165. "in": "query",
  15166. "required": true
  15167. },
  15168. {
  15169. "type": "integer",
  15170. "description": "现货商品id",
  15171. "name": "wrstandardid",
  15172. "in": "query",
  15173. "required": true
  15174. },
  15175. {
  15176. "type": "string",
  15177. "description": "开始交易日(yyyymmdd)",
  15178. "name": "begindate",
  15179. "in": "query"
  15180. },
  15181. {
  15182. "type": "string",
  15183. "description": "结束交易日(yyyymmdd)",
  15184. "name": "enddate",
  15185. "in": "query"
  15186. },
  15187. {
  15188. "type": "integer",
  15189. "description": "最近多少条记录(按交易日倒序)",
  15190. "name": "lastnum",
  15191. "in": "query"
  15192. },
  15193. {
  15194. "type": "boolean",
  15195. "description": "是否今日",
  15196. "name": "istoday",
  15197. "in": "query"
  15198. }
  15199. ],
  15200. "responses": {
  15201. "200": {
  15202. "description": "OK",
  15203. "schema": {
  15204. "type": "array",
  15205. "items": {
  15206. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15207. }
  15208. }
  15209. },
  15210. "500": {
  15211. "description": "Internal Server Error",
  15212. "schema": {
  15213. "$ref": "#/definitions/app.Response"
  15214. }
  15215. }
  15216. }
  15217. }
  15218. },
  15219. "/WrTrade2/QueryWrScfContract": {
  15220. "get": {
  15221. "security": [
  15222. {
  15223. "ApiKeyAuth": []
  15224. }
  15225. ],
  15226. "produces": [
  15227. "application/json"
  15228. ],
  15229. "tags": [
  15230. "仓单贸易v2"
  15231. ],
  15232. "summary": "查询仓单贸易融资合同",
  15233. "parameters": [
  15234. {
  15235. "type": "integer",
  15236. "description": "用户id",
  15237. "name": "userid",
  15238. "in": "query",
  15239. "required": true
  15240. },
  15241. {
  15242. "type": "integer",
  15243. "description": "融资合同id",
  15244. "name": "scfcontractid",
  15245. "in": "query"
  15246. }
  15247. ],
  15248. "responses": {
  15249. "200": {
  15250. "description": "OK",
  15251. "schema": {
  15252. "type": "array",
  15253. "items": {
  15254. "$ref": "#/definitions/models.WrScfContract"
  15255. }
  15256. }
  15257. },
  15258. "500": {
  15259. "description": "Internal Server Error",
  15260. "schema": {
  15261. "$ref": "#/definitions/app.Response"
  15262. }
  15263. }
  15264. }
  15265. }
  15266. },
  15267. "/WrTrade2/QueryWrScfContractInterest": {
  15268. "get": {
  15269. "security": [
  15270. {
  15271. "ApiKeyAuth": []
  15272. }
  15273. ],
  15274. "produces": [
  15275. "application/json"
  15276. ],
  15277. "tags": [
  15278. "仓单贸易v2"
  15279. ],
  15280. "summary": "查询融资合同费用明细",
  15281. "parameters": [
  15282. {
  15283. "type": "integer",
  15284. "description": "融资合同id",
  15285. "name": "scfcontractid",
  15286. "in": "query"
  15287. }
  15288. ],
  15289. "responses": {
  15290. "200": {
  15291. "description": "OK",
  15292. "schema": {
  15293. "type": "array",
  15294. "items": {
  15295. "$ref": "#/definitions/models.WrScfContractInterest"
  15296. }
  15297. }
  15298. },
  15299. "500": {
  15300. "description": "Internal Server Error",
  15301. "schema": {
  15302. "$ref": "#/definitions/app.Response"
  15303. }
  15304. }
  15305. }
  15306. }
  15307. },
  15308. "/WrTrade2/QueryWrSearchUser": {
  15309. "get": {
  15310. "security": [
  15311. {
  15312. "ApiKeyAuth": []
  15313. }
  15314. ],
  15315. "produces": [
  15316. "application/json"
  15317. ],
  15318. "tags": [
  15319. "仓单贸易v2"
  15320. ],
  15321. "summary": "查询用户",
  15322. "parameters": [
  15323. {
  15324. "type": "string",
  15325. "description": "用户名称(模糊匹配)",
  15326. "name": "username",
  15327. "in": "query",
  15328. "required": true
  15329. }
  15330. ],
  15331. "responses": {
  15332. "200": {
  15333. "description": "OK",
  15334. "schema": {
  15335. "type": "array",
  15336. "items": {
  15337. "$ref": "#/definitions/models.WrSearchUser"
  15338. }
  15339. }
  15340. },
  15341. "500": {
  15342. "description": "Internal Server Error",
  15343. "schema": {
  15344. "$ref": "#/definitions/app.Response"
  15345. }
  15346. }
  15347. }
  15348. }
  15349. },
  15350. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15351. "get": {
  15352. "security": [
  15353. {
  15354. "ApiKeyAuth": []
  15355. }
  15356. ],
  15357. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15358. "produces": [
  15359. "application/json"
  15360. ],
  15361. "tags": [
  15362. "仓单贸易v2"
  15363. ],
  15364. "summary": "查询指定成交",
  15365. "parameters": [
  15366. {
  15367. "type": "integer",
  15368. "description": "页码",
  15369. "name": "page",
  15370. "in": "query"
  15371. },
  15372. {
  15373. "type": "integer",
  15374. "description": "每页条数",
  15375. "name": "pagesize",
  15376. "in": "query"
  15377. },
  15378. {
  15379. "type": "integer",
  15380. "description": "用户id",
  15381. "name": "userid",
  15382. "in": "query",
  15383. "required": true
  15384. },
  15385. {
  15386. "type": "integer",
  15387. "description": "仓单贸易市场id",
  15388. "name": "marketid",
  15389. "in": "query"
  15390. },
  15391. {
  15392. "type": "integer",
  15393. "description": "0:仓单预售 1:仓单贸易",
  15394. "name": "haswr",
  15395. "in": "query",
  15396. "required": true
  15397. },
  15398. {
  15399. "type": "integer",
  15400. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15401. "name": "isspecified",
  15402. "in": "query"
  15403. }
  15404. ],
  15405. "responses": {
  15406. "200": {
  15407. "description": "OK",
  15408. "schema": {
  15409. "type": "array",
  15410. "items": {
  15411. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15412. }
  15413. }
  15414. },
  15415. "500": {
  15416. "description": "Internal Server Error",
  15417. "schema": {
  15418. "$ref": "#/definitions/app.Response"
  15419. }
  15420. }
  15421. }
  15422. }
  15423. },
  15424. "/WrTrade2/QueryWrStandardFactoryItem": {
  15425. "get": {
  15426. "security": [
  15427. {
  15428. "ApiKeyAuth": []
  15429. }
  15430. ],
  15431. "produces": [
  15432. "application/json"
  15433. ],
  15434. "tags": [
  15435. "仓单贸易v2"
  15436. ],
  15437. "summary": "查询品类要素定义项",
  15438. "parameters": [
  15439. {
  15440. "type": "integer",
  15441. "description": "品类id",
  15442. "name": "wrstandardid",
  15443. "in": "query",
  15444. "required": true
  15445. }
  15446. ],
  15447. "responses": {
  15448. "200": {
  15449. "description": "OK",
  15450. "schema": {
  15451. "type": "array",
  15452. "items": {
  15453. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15454. }
  15455. }
  15456. },
  15457. "500": {
  15458. "description": "Internal Server Error",
  15459. "schema": {
  15460. "$ref": "#/definitions/app.Response"
  15461. }
  15462. }
  15463. }
  15464. }
  15465. },
  15466. "/WrTrade2/QueryWrTradeBargainApply": {
  15467. "get": {
  15468. "security": [
  15469. {
  15470. "ApiKeyAuth": []
  15471. }
  15472. ],
  15473. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15474. "produces": [
  15475. "application/json"
  15476. ],
  15477. "tags": [
  15478. "仓单贸易v2"
  15479. ],
  15480. "summary": "查询议价单",
  15481. "parameters": [
  15482. {
  15483. "type": "integer",
  15484. "description": "议价人id(摘牌方)",
  15485. "name": "userid",
  15486. "in": "query"
  15487. },
  15488. {
  15489. "type": "integer",
  15490. "description": "挂牌方id(查对方议价时,填写此项)",
  15491. "name": "matchuserid",
  15492. "in": "query"
  15493. },
  15494. {
  15495. "type": "integer",
  15496. "description": "关联委托单id",
  15497. "name": "wrtradeorderid",
  15498. "in": "query"
  15499. },
  15500. {
  15501. "type": "integer",
  15502. "description": "0:仓单预售 1:仓单贸易",
  15503. "name": "haswr",
  15504. "in": "query",
  15505. "required": true
  15506. },
  15507. {
  15508. "type": "string",
  15509. "description": "开始交易日(yyyymmdd)",
  15510. "name": "begindate",
  15511. "in": "query"
  15512. },
  15513. {
  15514. "type": "string",
  15515. "description": "结束交易日(yyyymmdd)",
  15516. "name": "enddate",
  15517. "in": "query"
  15518. }
  15519. ],
  15520. "responses": {
  15521. "200": {
  15522. "description": "OK",
  15523. "schema": {
  15524. "type": "array",
  15525. "items": {
  15526. "$ref": "#/definitions/models.WRTradeBargainApply"
  15527. }
  15528. }
  15529. },
  15530. "500": {
  15531. "description": "Internal Server Error",
  15532. "schema": {
  15533. "$ref": "#/definitions/app.Response"
  15534. }
  15535. }
  15536. }
  15537. }
  15538. },
  15539. "/WrTrade2/QueryWrTradeDetail": {
  15540. "get": {
  15541. "security": [
  15542. {
  15543. "ApiKeyAuth": []
  15544. }
  15545. ],
  15546. "produces": [
  15547. "application/json"
  15548. ],
  15549. "tags": [
  15550. "仓单贸易v2"
  15551. ],
  15552. "summary": "查询仓单成交明细",
  15553. "parameters": [
  15554. {
  15555. "type": "integer",
  15556. "description": "页码",
  15557. "name": "page",
  15558. "in": "query"
  15559. },
  15560. {
  15561. "type": "integer",
  15562. "description": "每页条数",
  15563. "name": "pagesize",
  15564. "in": "query"
  15565. },
  15566. {
  15567. "type": "integer",
  15568. "description": "用户id",
  15569. "name": "userid",
  15570. "in": "query",
  15571. "required": true
  15572. },
  15573. {
  15574. "type": "integer",
  15575. "description": "仓单贸易市场id",
  15576. "name": "marketid",
  15577. "in": "query"
  15578. },
  15579. {
  15580. "type": "integer",
  15581. "description": "0:仓单预售 1:仓单贸易",
  15582. "name": "haswr",
  15583. "in": "query",
  15584. "required": true
  15585. },
  15586. {
  15587. "type": "string",
  15588. "description": "开始交易日(yyyymmdd)",
  15589. "name": "begindate",
  15590. "in": "query"
  15591. },
  15592. {
  15593. "type": "string",
  15594. "description": "结束交易日(yyyymmdd)",
  15595. "name": "enddate",
  15596. "in": "query"
  15597. }
  15598. ],
  15599. "responses": {
  15600. "200": {
  15601. "description": "OK",
  15602. "schema": {
  15603. "type": "array",
  15604. "items": {
  15605. "$ref": "#/definitions/models.WrTradeDetail"
  15606. }
  15607. }
  15608. },
  15609. "500": {
  15610. "description": "Internal Server Error",
  15611. "schema": {
  15612. "$ref": "#/definitions/app.Response"
  15613. }
  15614. }
  15615. }
  15616. }
  15617. },
  15618. "/WrTrade2/QueryWrTradeOrderDetail": {
  15619. "get": {
  15620. "security": [
  15621. {
  15622. "ApiKeyAuth": []
  15623. }
  15624. ],
  15625. "produces": [
  15626. "application/json"
  15627. ],
  15628. "tags": [
  15629. "仓单贸易v2"
  15630. ],
  15631. "summary": "查询合约交易买卖大厅",
  15632. "parameters": [
  15633. {
  15634. "type": "integer",
  15635. "description": "页码",
  15636. "name": "page",
  15637. "in": "query"
  15638. },
  15639. {
  15640. "type": "integer",
  15641. "description": "每页条数",
  15642. "name": "pagesize",
  15643. "in": "query"
  15644. },
  15645. {
  15646. "type": "integer",
  15647. "description": "商品id",
  15648. "name": "goodsid",
  15649. "in": "query",
  15650. "required": true
  15651. },
  15652. {
  15653. "type": "integer",
  15654. "description": "买卖方向 0-买 1-卖",
  15655. "name": "buyorsell",
  15656. "in": "query",
  15657. "required": true
  15658. }
  15659. ],
  15660. "responses": {
  15661. "200": {
  15662. "description": "OK",
  15663. "schema": {
  15664. "type": "array",
  15665. "items": {
  15666. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15667. }
  15668. }
  15669. },
  15670. "500": {
  15671. "description": "Internal Server Error",
  15672. "schema": {
  15673. "$ref": "#/definitions/app.Response"
  15674. }
  15675. }
  15676. }
  15677. }
  15678. },
  15679. "/WrTrade2/QueryWrTradeQuote": {
  15680. "get": {
  15681. "security": [
  15682. {
  15683. "ApiKeyAuth": []
  15684. }
  15685. ],
  15686. "produces": [
  15687. "application/json"
  15688. ],
  15689. "tags": [
  15690. "仓单贸易v2"
  15691. ],
  15692. "summary": "查询仓单贸易成交行情",
  15693. "parameters": [
  15694. {
  15695. "type": "integer",
  15696. "description": "现货商品id",
  15697. "name": "wrstandardid",
  15698. "in": "query",
  15699. "required": true
  15700. },
  15701. {
  15702. "type": "string",
  15703. "description": "开始日期(yyyymmdd)",
  15704. "name": "begindate",
  15705. "in": "query",
  15706. "required": true
  15707. },
  15708. {
  15709. "type": "string",
  15710. "description": "结束日期(yyyymmdd)",
  15711. "name": "enddate",
  15712. "in": "query",
  15713. "required": true
  15714. },
  15715. {
  15716. "type": "integer",
  15717. "description": "市场id",
  15718. "name": "marketid",
  15719. "in": "query"
  15720. }
  15721. ],
  15722. "responses": {
  15723. "200": {
  15724. "description": "OK",
  15725. "schema": {
  15726. "type": "array",
  15727. "items": {
  15728. "$ref": "#/definitions/models.Wrtradetradequote"
  15729. }
  15730. }
  15731. },
  15732. "500": {
  15733. "description": "Internal Server Error",
  15734. "schema": {
  15735. "$ref": "#/definitions/app.Response"
  15736. }
  15737. }
  15738. }
  15739. }
  15740. },
  15741. "/WrTrade2/QueryWrUserFriend": {
  15742. "get": {
  15743. "security": [
  15744. {
  15745. "ApiKeyAuth": []
  15746. }
  15747. ],
  15748. "produces": [
  15749. "application/json"
  15750. ],
  15751. "tags": [
  15752. "仓单贸易v2"
  15753. ],
  15754. "summary": "查询我的朋友",
  15755. "parameters": [
  15756. {
  15757. "type": "integer",
  15758. "description": "用户id",
  15759. "name": "userid",
  15760. "in": "query",
  15761. "required": true
  15762. },
  15763. {
  15764. "type": "integer",
  15765. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15766. "name": "newuserid",
  15767. "in": "query"
  15768. }
  15769. ],
  15770. "responses": {
  15771. "200": {
  15772. "description": "OK",
  15773. "schema": {
  15774. "type": "array",
  15775. "items": {
  15776. "$ref": "#/definitions/models.WrUserFriend"
  15777. }
  15778. }
  15779. },
  15780. "500": {
  15781. "description": "Internal Server Error",
  15782. "schema": {
  15783. "$ref": "#/definitions/app.Response"
  15784. }
  15785. }
  15786. }
  15787. }
  15788. },
  15789. "/WrTrade2/QueryWrUserReceiptInfo": {
  15790. "get": {
  15791. "security": [
  15792. {
  15793. "ApiKeyAuth": []
  15794. }
  15795. ],
  15796. "produces": [
  15797. "application/json"
  15798. ],
  15799. "tags": [
  15800. "仓单贸易v2"
  15801. ],
  15802. "summary": "查询发票信息",
  15803. "parameters": [
  15804. {
  15805. "type": "integer",
  15806. "description": "用户id",
  15807. "name": "userid",
  15808. "in": "query"
  15809. },
  15810. {
  15811. "type": "integer",
  15812. "description": "发票类型 - 1:个人 2:企业",
  15813. "name": "receipttype",
  15814. "in": "query"
  15815. }
  15816. ],
  15817. "responses": {
  15818. "200": {
  15819. "description": "OK",
  15820. "schema": {
  15821. "type": "array",
  15822. "items": {
  15823. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15824. }
  15825. }
  15826. },
  15827. "500": {
  15828. "description": "Internal Server Error",
  15829. "schema": {
  15830. "$ref": "#/definitions/app.Response"
  15831. }
  15832. }
  15833. }
  15834. }
  15835. },
  15836. "/WrTrade2/QueryXhcpSellBackApply": {
  15837. "get": {
  15838. "security": [
  15839. {
  15840. "ApiKeyAuth": []
  15841. }
  15842. ],
  15843. "produces": [
  15844. "application/json"
  15845. ],
  15846. "tags": [
  15847. "仓单贸易v2"
  15848. ],
  15849. "summary": "查询我的回收申请(新会陈皮)",
  15850. "parameters": [
  15851. {
  15852. "type": "integer",
  15853. "description": "用户ID",
  15854. "name": "userid",
  15855. "in": "query",
  15856. "required": true
  15857. }
  15858. ],
  15859. "responses": {
  15860. "200": {
  15861. "description": "OK",
  15862. "schema": {
  15863. "type": "array",
  15864. "items": {
  15865. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15866. }
  15867. }
  15868. },
  15869. "500": {
  15870. "description": "Internal Server Error",
  15871. "schema": {
  15872. "$ref": "#/definitions/app.Response"
  15873. }
  15874. }
  15875. }
  15876. }
  15877. },
  15878. "/ZJ/GetBankTip": {
  15879. "get": {
  15880. "produces": [
  15881. "application/json"
  15882. ],
  15883. "tags": [
  15884. "中江"
  15885. ],
  15886. "summary": "获取中江网银端出入金提示信息",
  15887. "responses": {
  15888. "200": {
  15889. "description": "OK",
  15890. "schema": {
  15891. "type": "string"
  15892. }
  15893. },
  15894. "500": {
  15895. "description": "Internal Server Error",
  15896. "schema": {
  15897. "$ref": "#/definitions/app.Response"
  15898. }
  15899. }
  15900. }
  15901. }
  15902. },
  15903. "/ZJ/GetCusBankChannels": {
  15904. "get": {
  15905. "produces": [
  15906. "application/json"
  15907. ],
  15908. "tags": [
  15909. "中江"
  15910. ],
  15911. "summary": "获取中江出入金渠道显示列表",
  15912. "responses": {
  15913. "200": {
  15914. "description": "OK",
  15915. "schema": {
  15916. "type": "array",
  15917. "items": {
  15918. "type": "string"
  15919. }
  15920. }
  15921. },
  15922. "500": {
  15923. "description": "Internal Server Error",
  15924. "schema": {
  15925. "$ref": "#/definitions/app.Response"
  15926. }
  15927. }
  15928. }
  15929. }
  15930. }
  15931. },
  15932. "definitions": {
  15933. "app.Response": {
  15934. "type": "object",
  15935. "properties": {
  15936. "code": {
  15937. "type": "integer"
  15938. },
  15939. "data": {},
  15940. "msg": {
  15941. "type": "string"
  15942. },
  15943. "page": {
  15944. "description": "页码",
  15945. "type": "integer"
  15946. },
  15947. "pagesize": {
  15948. "description": "每页条数",
  15949. "type": "integer"
  15950. },
  15951. "total": {
  15952. "description": "总条数",
  15953. "type": "integer"
  15954. }
  15955. }
  15956. },
  15957. "common.ClientMenu": {
  15958. "type": "object",
  15959. "properties": {
  15960. "children": {
  15961. "description": "子菜单列表",
  15962. "type": "array",
  15963. "items": {
  15964. "$ref": "#/definitions/common.ClientMenu"
  15965. }
  15966. },
  15967. "code": {
  15968. "description": "ID",
  15969. "type": "string"
  15970. },
  15971. "isshow": {
  15972. "description": "是否显示",
  15973. "type": "boolean"
  15974. },
  15975. "remark": {
  15976. "description": "备注",
  15977. "type": "string"
  15978. },
  15979. "rulekey": {
  15980. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15981. "type": "string"
  15982. },
  15983. "sort": {
  15984. "description": "排序",
  15985. "type": "integer"
  15986. },
  15987. "title": {
  15988. "description": "标题",
  15989. "type": "string"
  15990. },
  15991. "type": {
  15992. "description": "类型,1:菜单 2:按钮",
  15993. "type": "integer"
  15994. },
  15995. "url": {
  15996. "description": "URL",
  15997. "type": "string"
  15998. }
  15999. }
  16000. },
  16001. "common.PCWebMenu": {
  16002. "type": "object",
  16003. "properties": {
  16004. "auth": {
  16005. "description": "页面权限列表",
  16006. "type": "array",
  16007. "items": {
  16008. "$ref": "#/definitions/common.PCWebMenuAuth"
  16009. }
  16010. },
  16011. "children": {
  16012. "description": "子菜单列表",
  16013. "type": "array",
  16014. "items": {
  16015. "$ref": "#/definitions/common.PCWebMenu"
  16016. }
  16017. },
  16018. "code": {
  16019. "description": "ID,新版本中权限KEY也是这个字段",
  16020. "type": "string"
  16021. },
  16022. "component": {
  16023. "description": "路由组件",
  16024. "type": "string"
  16025. },
  16026. "isshow": {
  16027. "description": "是否显示",
  16028. "type": "boolean"
  16029. },
  16030. "path": {
  16031. "description": "路由路径",
  16032. "type": "string"
  16033. },
  16034. "remark": {
  16035. "description": "备注",
  16036. "type": "string"
  16037. },
  16038. "rulekey": {
  16039. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16040. "type": "string"
  16041. },
  16042. "sort": {
  16043. "description": "排序",
  16044. "type": "integer"
  16045. },
  16046. "title": {
  16047. "description": "标题",
  16048. "type": "string"
  16049. },
  16050. "url": {
  16051. "description": "URL",
  16052. "type": "string"
  16053. }
  16054. }
  16055. },
  16056. "common.PCWebMenuAuth": {
  16057. "type": "object",
  16058. "properties": {
  16059. "code": {
  16060. "description": "ID,新版本中权限KEY也是这个字段",
  16061. "type": "string"
  16062. },
  16063. "isshow": {
  16064. "description": "是否显示",
  16065. "type": "boolean"
  16066. },
  16067. "label": {
  16068. "description": "标题",
  16069. "type": "string"
  16070. },
  16071. "remark": {
  16072. "description": "备注",
  16073. "type": "string"
  16074. },
  16075. "rulekey": {
  16076. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16077. "type": "string"
  16078. }
  16079. }
  16080. },
  16081. "common.QueryImageConfigsRsp": {
  16082. "type": "object",
  16083. "required": [
  16084. "configid"
  16085. ],
  16086. "properties": {
  16087. "areauserid": {
  16088. "description": "所属机构ID",
  16089. "type": "integer"
  16090. },
  16091. "configid": {
  16092. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16093. "type": "integer"
  16094. },
  16095. "createdate": {
  16096. "description": "创建时间",
  16097. "type": "string"
  16098. },
  16099. "creatorid": {
  16100. "description": "创建人",
  16101. "type": "integer"
  16102. },
  16103. "imagedetailpath": {
  16104. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16105. "type": "string"
  16106. },
  16107. "imagepath": {
  16108. "description": "图片",
  16109. "type": "string"
  16110. },
  16111. "imagetype": {
  16112. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16113. "type": "integer"
  16114. },
  16115. "isshow": {
  16116. "description": "是否展示 - 0:不展示 1:展示",
  16117. "type": "integer"
  16118. },
  16119. "marketid": {
  16120. "description": "市场ID",
  16121. "type": "integer"
  16122. },
  16123. "modifierid": {
  16124. "description": "操作人",
  16125. "type": "integer"
  16126. },
  16127. "sort": {
  16128. "description": "排序",
  16129. "type": "integer"
  16130. },
  16131. "title": {
  16132. "description": "标题",
  16133. "type": "string"
  16134. },
  16135. "trademode": {
  16136. "description": "交易模式",
  16137. "type": "integer"
  16138. },
  16139. "updatedate": {
  16140. "description": "修改时间",
  16141. "type": "string"
  16142. },
  16143. "url": {
  16144. "description": "链接(地址或商品ID)",
  16145. "type": "string"
  16146. },
  16147. "urltype": {
  16148. "description": "链接类型 - 1:直接地址 2:商品ID",
  16149. "type": "integer"
  16150. }
  16151. }
  16152. },
  16153. "common.QueryNoticeRsp": {
  16154. "type": "object",
  16155. "required": [
  16156. "autoid"
  16157. ],
  16158. "properties": {
  16159. "auditoruserid": {
  16160. "description": "审核人",
  16161. "type": "integer"
  16162. },
  16163. "auditremark": {
  16164. "description": "审核备注",
  16165. "type": "string"
  16166. },
  16167. "audittime": {
  16168. "description": "审核日期",
  16169. "type": "string"
  16170. },
  16171. "autoid": {
  16172. "description": "自增ID",
  16173. "type": "integer"
  16174. },
  16175. "content": {
  16176. "description": "内容",
  16177. "type": "string"
  16178. },
  16179. "createtime": {
  16180. "description": "创建时间",
  16181. "type": "string"
  16182. },
  16183. "creatorid": {
  16184. "description": "建仓人",
  16185. "type": "integer"
  16186. },
  16187. "endtime": {
  16188. "description": "结束时间",
  16189. "type": "string"
  16190. },
  16191. "istop": {
  16192. "description": "是否置顶 - 0:不置顶 1:置顶",
  16193. "type": "integer"
  16194. },
  16195. "msgiconurl": {
  16196. "description": "消息图标Url",
  16197. "type": "string"
  16198. },
  16199. "msgtype": {
  16200. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16201. "type": "integer"
  16202. },
  16203. "publisher": {
  16204. "description": "消息发布者",
  16205. "type": "string"
  16206. },
  16207. "readed": {
  16208. "description": "是否已读",
  16209. "type": "boolean"
  16210. },
  16211. "scheduletime": {
  16212. "description": "计划发送时间",
  16213. "type": "string"
  16214. },
  16215. "sendtype": {
  16216. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16217. "type": "integer"
  16218. },
  16219. "sentstatus": {
  16220. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16221. "type": "integer"
  16222. },
  16223. "title": {
  16224. "description": "标题",
  16225. "type": "string"
  16226. },
  16227. "userid": {
  16228. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16229. "type": "integer"
  16230. }
  16231. }
  16232. },
  16233. "common.QueryProvincesAndCitiesRsp": {
  16234. "type": "object",
  16235. "properties": {
  16236. "cities": {
  16237. "description": "市",
  16238. "type": "array",
  16239. "items": {
  16240. "$ref": "#/definitions/models.Division"
  16241. }
  16242. },
  16243. "province": {
  16244. "description": "省",
  16245. "$ref": "#/definitions/models.Division"
  16246. }
  16247. }
  16248. },
  16249. "common.QueryTableDefineRsp": {
  16250. "type": "object",
  16251. "required": [
  16252. "tablekey"
  16253. ],
  16254. "properties": {
  16255. "columns": {
  16256. "description": "列头信息数组",
  16257. "type": "array",
  16258. "items": {
  16259. "$ref": "#/definitions/models.Tablecolumnconfig"
  16260. }
  16261. },
  16262. "remark": {
  16263. "description": "Remark",
  16264. "type": "string"
  16265. },
  16266. "tabelmenu": {
  16267. "description": "列表菜单",
  16268. "type": "string"
  16269. },
  16270. "tablekey": {
  16271. "description": "列表Key",
  16272. "type": "string"
  16273. },
  16274. "tablename": {
  16275. "description": "列表名称",
  16276. "type": "string"
  16277. },
  16278. "tabletype": {
  16279. "description": "列表类型 - 1:管理端 2:终端",
  16280. "type": "integer"
  16281. }
  16282. }
  16283. },
  16284. "common.QueryTraderMenuRsp": {
  16285. "type": "object",
  16286. "properties": {
  16287. "OperationMenu": {
  16288. "description": "功能菜单",
  16289. "type": "array",
  16290. "items": {
  16291. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16292. }
  16293. },
  16294. "QuoteMenu": {
  16295. "description": "报价牌分类菜单",
  16296. "type": "array",
  16297. "items": {
  16298. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16299. }
  16300. }
  16301. }
  16302. },
  16303. "cptrade.Cptradepositioncancel": {
  16304. "type": "object",
  16305. "required": [
  16306. "cancelid"
  16307. ],
  16308. "properties": {
  16309. "accountid": {
  16310. "description": "申请人账户ID",
  16311. "type": "integer"
  16312. },
  16313. "applystatus": {
  16314. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16315. "type": "integer"
  16316. },
  16317. "applytime": {
  16318. "description": "申请时间",
  16319. "type": "string"
  16320. },
  16321. "cancelid": {
  16322. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16323. "type": "integer"
  16324. },
  16325. "cancelqty": {
  16326. "description": "注销数量",
  16327. "type": "integer"
  16328. },
  16329. "createtime": {
  16330. "description": "创建时间",
  16331. "type": "string"
  16332. },
  16333. "creatorid": {
  16334. "description": "创建人ID",
  16335. "type": "integer"
  16336. },
  16337. "creatorname": {
  16338. "description": "创建人",
  16339. "type": "string"
  16340. },
  16341. "goodscode": {
  16342. "description": "订单商品代码",
  16343. "type": "string"
  16344. },
  16345. "goodsid": {
  16346. "description": "商品ID",
  16347. "type": "integer"
  16348. },
  16349. "goodsname": {
  16350. "description": "订单商品名称",
  16351. "type": "string"
  16352. },
  16353. "goodunit": {
  16354. "description": "报价单位",
  16355. "type": "string"
  16356. },
  16357. "handlestatus": {
  16358. "description": "处理状态",
  16359. "type": "integer"
  16360. },
  16361. "marketid": {
  16362. "description": "市场ID",
  16363. "type": "integer"
  16364. },
  16365. "marketname": {
  16366. "description": "市场名称",
  16367. "type": "string"
  16368. },
  16369. "tradedate": {
  16370. "description": "交易日(yyyyMMdd)",
  16371. "type": "string"
  16372. },
  16373. "userid": {
  16374. "description": "申请人ID",
  16375. "type": "integer"
  16376. }
  16377. }
  16378. },
  16379. "cptrade.Cptradepresaleapply": {
  16380. "type": "object",
  16381. "required": [
  16382. "applyid"
  16383. ],
  16384. "properties": {
  16385. "accountid": {
  16386. "description": "申请人账户ID",
  16387. "type": "integer"
  16388. },
  16389. "applyid": {
  16390. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16391. "type": "integer"
  16392. },
  16393. "applyremark": {
  16394. "description": "申请备注",
  16395. "type": "string"
  16396. },
  16397. "applystatus": {
  16398. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16399. "type": "integer"
  16400. },
  16401. "applytime": {
  16402. "description": "申请时间",
  16403. "type": "string"
  16404. },
  16405. "attachmenturl": {
  16406. "description": "附件地址",
  16407. "type": "string"
  16408. },
  16409. "endtime": {
  16410. "description": "预售结束时间",
  16411. "type": "string"
  16412. },
  16413. "goodscode": {
  16414. "description": "商品代码",
  16415. "type": "string"
  16416. },
  16417. "goodsid": {
  16418. "description": "商品ID",
  16419. "type": "integer"
  16420. },
  16421. "goodsname": {
  16422. "description": "商品名称",
  16423. "type": "string"
  16424. },
  16425. "goodunit": {
  16426. "description": "报价单位",
  16427. "type": "string"
  16428. },
  16429. "handlestatus": {
  16430. "description": "处理状态",
  16431. "type": "integer"
  16432. },
  16433. "marketid": {
  16434. "description": "预售市场ID",
  16435. "type": "integer"
  16436. },
  16437. "marketname": {
  16438. "description": "预售市场名称",
  16439. "type": "string"
  16440. },
  16441. "presaleqty": {
  16442. "description": "预售数量",
  16443. "type": "integer"
  16444. },
  16445. "relatedgoodscode": {
  16446. "description": "关联交易合约代码",
  16447. "type": "string"
  16448. },
  16449. "relatedgoodsid": {
  16450. "description": "关联交易合约ID",
  16451. "type": "integer"
  16452. },
  16453. "relatedgoodsname": {
  16454. "description": "关联交易合约名称",
  16455. "type": "string"
  16456. },
  16457. "starttime": {
  16458. "description": "预售开始时间",
  16459. "type": "string"
  16460. },
  16461. "tradedate": {
  16462. "description": "交易日(yyyyMMdd)",
  16463. "type": "string"
  16464. },
  16465. "trademode": {
  16466. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16467. "type": "integer"
  16468. },
  16469. "userid": {
  16470. "description": "申请人ID",
  16471. "type": "integer"
  16472. }
  16473. }
  16474. },
  16475. "cptrade.Cptradeusergoodsdata": {
  16476. "type": "object",
  16477. "required": [
  16478. "accountid",
  16479. "goodsid"
  16480. ],
  16481. "properties": {
  16482. "EnabledQty": {
  16483. "description": "可用量",
  16484. "type": "integer"
  16485. },
  16486. "GoodsCode": {
  16487. "description": "订单商品代码",
  16488. "type": "string"
  16489. },
  16490. "GoodsName": {
  16491. "description": "订单商品名称",
  16492. "type": "string"
  16493. },
  16494. "WRStandardCode": {
  16495. "description": "仓单标准代码",
  16496. "type": "string"
  16497. },
  16498. "WRStandardName": {
  16499. "description": "仓单标准名称",
  16500. "type": "string"
  16501. },
  16502. "accountid": {
  16503. "description": "账户ID",
  16504. "type": "integer"
  16505. },
  16506. "cancelqty": {
  16507. "description": "注销量",
  16508. "type": "integer"
  16509. },
  16510. "curpresaleqty": {
  16511. "description": "当前预售量",
  16512. "type": "integer"
  16513. },
  16514. "deliveryqty": {
  16515. "description": "交割量",
  16516. "type": "integer"
  16517. },
  16518. "freezeamount": {
  16519. "description": "冻结金额",
  16520. "type": "number"
  16521. },
  16522. "goodsid": {
  16523. "description": "商品ID",
  16524. "type": "integer"
  16525. },
  16526. "goodunit": {
  16527. "description": "报价单位",
  16528. "type": "string"
  16529. },
  16530. "hasspotfreeze": {
  16531. "description": "是否有现货冻结 - 0:否 1:有",
  16532. "type": "integer"
  16533. },
  16534. "inqty": {
  16535. "description": "转入量(总数量)",
  16536. "type": "integer"
  16537. },
  16538. "marketid": {
  16539. "description": "市场ID",
  16540. "type": "integer"
  16541. },
  16542. "presaledamount": {
  16543. "description": "已预售总金额",
  16544. "type": "integer"
  16545. },
  16546. "presaledqty": {
  16547. "description": "已预售量",
  16548. "type": "integer"
  16549. },
  16550. "userid": {
  16551. "description": "用户ID",
  16552. "type": "integer"
  16553. },
  16554. "wrstandardid": {
  16555. "description": "仓单标准ID",
  16556. "type": "integer"
  16557. }
  16558. }
  16559. },
  16560. "cptrade.QueryCPTradeMyBidRsp": {
  16561. "type": "object",
  16562. "required": [
  16563. "accountid",
  16564. "goodsid",
  16565. "marketid",
  16566. "orderid",
  16567. "orderqty",
  16568. "ordertime",
  16569. "tradeprice",
  16570. "tradeqty"
  16571. ],
  16572. "properties": {
  16573. "accountid": {
  16574. "description": "账户ID[报价币种]",
  16575. "type": "integer"
  16576. },
  16577. "goodsid": {
  16578. "description": "商品ID",
  16579. "type": "integer"
  16580. },
  16581. "goodunit": {
  16582. "description": "报价单位",
  16583. "type": "string"
  16584. },
  16585. "marketid": {
  16586. "description": "市场ID",
  16587. "type": "integer"
  16588. },
  16589. "orderid": {
  16590. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16591. "type": "integer"
  16592. },
  16593. "orderprice": {
  16594. "description": "委托价格",
  16595. "type": "number"
  16596. },
  16597. "orderqty": {
  16598. "description": "委托数量",
  16599. "type": "integer"
  16600. },
  16601. "ordertime": {
  16602. "description": "委托时间",
  16603. "type": "string"
  16604. },
  16605. "ordertotalprice": {
  16606. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16607. "type": "number"
  16608. },
  16609. "ordertotalweight": {
  16610. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16611. "type": "integer"
  16612. },
  16613. "totaltotalprice": {
  16614. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16615. "type": "number"
  16616. },
  16617. "tradeprice": {
  16618. "description": "成交价格",
  16619. "type": "number"
  16620. },
  16621. "tradeqty": {
  16622. "description": "成交数量",
  16623. "type": "integer"
  16624. }
  16625. }
  16626. },
  16627. "cptrade.QueryCPTradeOrderDetailRsq": {
  16628. "type": "object",
  16629. "required": [
  16630. "accountid",
  16631. "buildtype",
  16632. "buyorsell",
  16633. "goodsid",
  16634. "marketid",
  16635. "memberuserid",
  16636. "operatetype",
  16637. "orderqty",
  16638. "ordertime",
  16639. "pricemode",
  16640. "strorderid",
  16641. "tradedate",
  16642. "validtype"
  16643. ],
  16644. "properties": {
  16645. "accountid": {
  16646. "description": "账户ID[报价币种]",
  16647. "type": "integer"
  16648. },
  16649. "buildtype": {
  16650. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16651. "type": "integer"
  16652. },
  16653. "buyorsell": {
  16654. "description": "买卖 - 0:买 1:卖",
  16655. "type": "integer"
  16656. },
  16657. "cancelorderid": {
  16658. "description": "撤单单号(撤单时填写)",
  16659. "type": "integer"
  16660. },
  16661. "cancelqty": {
  16662. "description": "撤单数量",
  16663. "type": "integer"
  16664. },
  16665. "clientordertime": {
  16666. "description": "客户端委托时间",
  16667. "type": "string"
  16668. },
  16669. "clientticket": {
  16670. "description": "客户端流水号",
  16671. "type": "string"
  16672. },
  16673. "clienttype": {
  16674. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16675. "type": "integer"
  16676. },
  16677. "closeexchagechargevalue": {
  16678. "description": "平仓交易所手续费设置值",
  16679. "type": "number"
  16680. },
  16681. "closefeealgorithm": {
  16682. "description": "平仓手续费收取方式 1:比率 2:固定",
  16683. "type": "integer"
  16684. },
  16685. "closefreezecharge": {
  16686. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16687. "type": "number"
  16688. },
  16689. "closememberchargevalue": {
  16690. "description": "平仓会员手续费设置值",
  16691. "type": "number"
  16692. },
  16693. "closeqty": {
  16694. "description": "平仓数量(先建后平操作 需要记录)",
  16695. "type": "integer"
  16696. },
  16697. "closetradeqty": {
  16698. "description": "平仓成交数量(先建后平操作,需要记录)",
  16699. "type": "integer"
  16700. },
  16701. "closeunfreezecharge": {
  16702. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16703. "type": "number"
  16704. },
  16705. "delistingtype": {
  16706. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16707. "type": "integer"
  16708. },
  16709. "freezecharge": {
  16710. "description": "冻结手续费",
  16711. "type": "number"
  16712. },
  16713. "freezemargin": {
  16714. "description": "冻结保证金(冻结交易金额)",
  16715. "type": "number"
  16716. },
  16717. "gcaccountid": {
  16718. "description": "账户ID[合约币种]",
  16719. "type": "integer"
  16720. },
  16721. "goodsid": {
  16722. "description": "商品ID",
  16723. "type": "integer"
  16724. },
  16725. "isconfirmexercise": {
  16726. "description": "是否确认行权- 0:否 1:是",
  16727. "type": "integer"
  16728. },
  16729. "ispreexercise": {
  16730. "description": "是否预申报- 0:否 1:是",
  16731. "type": "integer"
  16732. },
  16733. "listingselecttype": {
  16734. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16735. "type": "integer"
  16736. },
  16737. "marginalgorithm": {
  16738. "description": "保证金收取方式 1:比率 2:固定",
  16739. "type": "integer"
  16740. },
  16741. "marginvalue": {
  16742. "description": "即市保证金设置值",
  16743. "type": "number"
  16744. },
  16745. "marketid": {
  16746. "description": "市场ID",
  16747. "type": "integer"
  16748. },
  16749. "marketmaxsub": {
  16750. "description": "市价最大偏移范围",
  16751. "type": "number"
  16752. },
  16753. "memberuserid": {
  16754. "description": "所属会员UserID",
  16755. "type": "integer"
  16756. },
  16757. "openexchagechargevalue": {
  16758. "description": "建仓交易所手续费设置值",
  16759. "type": "number"
  16760. },
  16761. "openfeealgorithm": {
  16762. "description": "建仓手续费收取方式 1:比率 2:固定",
  16763. "type": "integer"
  16764. },
  16765. "openfreezecharge": {
  16766. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16767. "type": "number"
  16768. },
  16769. "openmemberchargevalue": {
  16770. "description": "建仓会员手续费设置值",
  16771. "type": "number"
  16772. },
  16773. "openqty": {
  16774. "description": "开仓数量(先建后平操作,需要记录)",
  16775. "type": "integer"
  16776. },
  16777. "opentradeqty": {
  16778. "description": "开仓成交数量(先建后平操作,需要记录)",
  16779. "type": "integer"
  16780. },
  16781. "openunfreezecharge": {
  16782. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16783. "type": "number"
  16784. },
  16785. "operatetype": {
  16786. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16787. "type": "integer"
  16788. },
  16789. "operatorid": {
  16790. "description": "登录账号(LoginID)",
  16791. "type": "integer"
  16792. },
  16793. "optiontype": {
  16794. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16795. "type": "integer"
  16796. },
  16797. "orderprice": {
  16798. "description": "委托价格",
  16799. "type": "number"
  16800. },
  16801. "orderqty": {
  16802. "description": "委托数量",
  16803. "type": "integer"
  16804. },
  16805. "ordersrc": {
  16806. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16807. "type": "integer"
  16808. },
  16809. "orderstatus": {
  16810. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16811. "type": "integer"
  16812. },
  16813. "ordertime": {
  16814. "description": "委托时间",
  16815. "type": "string"
  16816. },
  16817. "preexerciseprice": {
  16818. "description": "预申报价格",
  16819. "type": "number"
  16820. },
  16821. "premium": {
  16822. "description": "权利金",
  16823. "type": "number"
  16824. },
  16825. "preorderid": {
  16826. "description": "关联预埋单号(止盈止损单时填写)",
  16827. "type": "integer"
  16828. },
  16829. "pricemode": {
  16830. "description": "取价方式 - 1:市价 2: 限价",
  16831. "type": "integer"
  16832. },
  16833. "quoteid": {
  16834. "description": "报价单ID",
  16835. "type": "integer"
  16836. },
  16837. "relatedid": {
  16838. "description": "关联单号(交割单)",
  16839. "type": "integer"
  16840. },
  16841. "retcode": {
  16842. "description": "错误代码",
  16843. "type": "integer"
  16844. },
  16845. "sessionid": {
  16846. "description": "会话ID",
  16847. "type": "integer"
  16848. },
  16849. "strorderid": {
  16850. "description": "委托单号",
  16851. "type": "string"
  16852. },
  16853. "tradedate": {
  16854. "description": "交易日(yyyyMMdd)",
  16855. "type": "string"
  16856. },
  16857. "tradeproperty": {
  16858. "description": "交易属性",
  16859. "type": "integer"
  16860. },
  16861. "tradeqty": {
  16862. "description": "成交数量",
  16863. "type": "integer"
  16864. },
  16865. "unfreezecharge": {
  16866. "description": "解冻手续费",
  16867. "type": "number"
  16868. },
  16869. "unfreezemargin": {
  16870. "description": "解冻保证金",
  16871. "type": "number"
  16872. },
  16873. "updatetime": {
  16874. "description": "更新时间",
  16875. "type": "string"
  16876. },
  16877. "uuid": {
  16878. "description": "发起端唯一id",
  16879. "type": "string"
  16880. },
  16881. "validtime": {
  16882. "description": "有效期限",
  16883. "type": "string"
  16884. },
  16885. "validtype": {
  16886. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16887. "type": "integer"
  16888. },
  16889. "volumetype": {
  16890. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16891. "type": "integer"
  16892. }
  16893. }
  16894. },
  16895. "cptrade.QueryMyCPTradeGoodsRsp": {
  16896. "type": "object",
  16897. "required": [
  16898. "goodscode",
  16899. "goodsid",
  16900. "goodsname",
  16901. "marketid",
  16902. "relatedgoodscode",
  16903. "relatedgoodsname"
  16904. ],
  16905. "properties": {
  16906. "accountid": {
  16907. "description": "卖方账户ID",
  16908. "type": "integer"
  16909. },
  16910. "agreeunit": {
  16911. "description": "合约单位",
  16912. "type": "number"
  16913. },
  16914. "applyid": {
  16915. "description": "关联申请ID",
  16916. "type": "integer"
  16917. },
  16918. "attachmenturl": {
  16919. "description": "附件地址",
  16920. "type": "string"
  16921. },
  16922. "createtime": {
  16923. "description": "创建时间",
  16924. "type": "string"
  16925. },
  16926. "currencyid": {
  16927. "description": "报价货币ID",
  16928. "type": "integer"
  16929. },
  16930. "decimalplace": {
  16931. "description": "报价小数位",
  16932. "type": "integer"
  16933. },
  16934. "endtime": {
  16935. "description": "预售结束时间",
  16936. "type": "string"
  16937. },
  16938. "floorprice": {
  16939. "description": "底价[大宗式竞拍]",
  16940. "type": "number"
  16941. },
  16942. "goodscode": {
  16943. "description": "商品代码(预售)",
  16944. "type": "string"
  16945. },
  16946. "goodsdetail": {
  16947. "description": "详情[大宗]",
  16948. "type": "string"
  16949. },
  16950. "goodsid": {
  16951. "description": "商品ID(自增ID SEQ_GOODS)",
  16952. "type": "integer"
  16953. },
  16954. "goodsname": {
  16955. "description": "商品名称(预售)",
  16956. "type": "string"
  16957. },
  16958. "goodunit": {
  16959. "description": "报价单位",
  16960. "type": "string"
  16961. },
  16962. "goodunitid": {
  16963. "description": "报价单位ID",
  16964. "type": "integer"
  16965. },
  16966. "marketid": {
  16967. "description": "所属市场ID",
  16968. "type": "integer"
  16969. },
  16970. "marketname": {
  16971. "description": "预售市场名称",
  16972. "type": "string"
  16973. },
  16974. "presaledamount": {
  16975. "description": "已预售总金额(预售结束时更新)",
  16976. "type": "number"
  16977. },
  16978. "presaledqty": {
  16979. "description": "已预售量(预售结束时更新)",
  16980. "type": "integer"
  16981. },
  16982. "presalemode": {
  16983. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16984. "type": "integer"
  16985. },
  16986. "presaleqty": {
  16987. "description": "预售数量",
  16988. "type": "integer"
  16989. },
  16990. "refprice": {
  16991. "description": "参考价格[一口价]",
  16992. "type": "number"
  16993. },
  16994. "relatedgoodscode": {
  16995. "description": "商品代码(订单)",
  16996. "type": "string"
  16997. },
  16998. "relatedgoodsid": {
  16999. "description": "关联交易合约ID",
  17000. "type": "integer"
  17001. },
  17002. "relatedgoodsname": {
  17003. "description": "商品名称(订单)",
  17004. "type": "string"
  17005. },
  17006. "relatedmarketid": {
  17007. "description": "关联交易合约市场ID",
  17008. "type": "integer"
  17009. },
  17010. "sellstatus": {
  17011. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17012. "type": "integer"
  17013. },
  17014. "startprice": {
  17015. "description": "起拍价[大宗式竞拍]",
  17016. "type": "number"
  17017. },
  17018. "starttime": {
  17019. "description": "预售开始时间",
  17020. "type": "string"
  17021. },
  17022. "tradedate": {
  17023. "description": "交易日(yyyyMMdd)",
  17024. "type": "string"
  17025. },
  17026. "tradeprice": {
  17027. "description": "成交价[大宗]",
  17028. "type": "number"
  17029. },
  17030. "userid": {
  17031. "description": "卖方用户ID",
  17032. "type": "integer"
  17033. }
  17034. }
  17035. },
  17036. "cptrade.QueryPresaleGoodsExRsp": {
  17037. "type": "object",
  17038. "required": [
  17039. "goodsid"
  17040. ],
  17041. "properties": {
  17042. "attachmenturl": {
  17043. "description": "附件地址",
  17044. "type": "string"
  17045. },
  17046. "createtime": {
  17047. "description": "创建时间",
  17048. "type": "string"
  17049. },
  17050. "endtime": {
  17051. "description": "预售结束时间",
  17052. "type": "string"
  17053. },
  17054. "floorprice": {
  17055. "description": "底价[大宗式竞拍]",
  17056. "type": "number"
  17057. },
  17058. "goodsdetail": {
  17059. "description": "详情[大宗]",
  17060. "type": "string"
  17061. },
  17062. "goodsid": {
  17063. "description": "商品ID(预售)",
  17064. "type": "integer"
  17065. },
  17066. "goodunit": {
  17067. "description": "报价单位",
  17068. "type": "string"
  17069. },
  17070. "marketid": {
  17071. "description": "预售市场ID - 根据预售模式选择市场",
  17072. "type": "integer"
  17073. },
  17074. "presaledamount": {
  17075. "description": "已预售总金额(预售结束时更新)",
  17076. "type": "number"
  17077. },
  17078. "presaledqty": {
  17079. "description": "已预售量(预售结束时更新)",
  17080. "type": "integer"
  17081. },
  17082. "presalemode": {
  17083. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17084. "type": "integer"
  17085. },
  17086. "presaleqty": {
  17087. "description": "预售数量",
  17088. "type": "integer"
  17089. },
  17090. "refprice": {
  17091. "description": "参考价格[一口价]",
  17092. "type": "number"
  17093. },
  17094. "relatedgoodsid": {
  17095. "description": "关联交易合约ID",
  17096. "type": "integer"
  17097. },
  17098. "relatedmarketid": {
  17099. "description": "关联交易合约市场ID",
  17100. "type": "integer"
  17101. },
  17102. "sellstatus": {
  17103. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17104. "type": "integer"
  17105. },
  17106. "startprice": {
  17107. "description": "起拍价[大宗式竞拍]",
  17108. "type": "number"
  17109. },
  17110. "starttime": {
  17111. "description": "预售开始时间",
  17112. "type": "string"
  17113. },
  17114. "tradedate": {
  17115. "description": "交易日(yyyyMMdd)",
  17116. "type": "string"
  17117. },
  17118. "tradeprice": {
  17119. "description": "成交价[大宗]",
  17120. "type": "number"
  17121. }
  17122. }
  17123. },
  17124. "delivery.QueryDeliveryRelationRsp": {
  17125. "type": "object",
  17126. "required": [
  17127. "begindate",
  17128. "enddate",
  17129. "goodsid",
  17130. "mindeliveryqty",
  17131. "xdeliveryratio"
  17132. ],
  17133. "properties": {
  17134. "begindate": {
  17135. "description": "起始日期(yyyyMMdd)",
  17136. "type": "string"
  17137. },
  17138. "buytemplateid": {
  17139. "description": "买履约计划模板ID",
  17140. "type": "integer"
  17141. },
  17142. "deliverygoodscode": {
  17143. "description": "品种代码",
  17144. "type": "string"
  17145. },
  17146. "deliverygoodsid": {
  17147. "description": "交割商品",
  17148. "type": "integer"
  17149. },
  17150. "deliverygoodsname": {
  17151. "description": "品种名称",
  17152. "type": "string"
  17153. },
  17154. "deliverymode": {
  17155. "description": "交割方式 - 1:点选式 2:申报式",
  17156. "type": "integer"
  17157. },
  17158. "deliverypricerule": {
  17159. "description": "交割价规则- 1:行情价 2:建仓价",
  17160. "type": "integer"
  17161. },
  17162. "deliverytype": {
  17163. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17164. "type": "integer"
  17165. },
  17166. "enddate": {
  17167. "description": "结束日期(yyyyMMdd)",
  17168. "type": "string"
  17169. },
  17170. "enumdicname": {
  17171. "description": "品类单位名称",
  17172. "type": "string"
  17173. },
  17174. "goodscode": {
  17175. "description": "商品代码",
  17176. "type": "string"
  17177. },
  17178. "goodsid": {
  17179. "description": "交易合约ID",
  17180. "type": "integer"
  17181. },
  17182. "goodsname": {
  17183. "description": "商品名称",
  17184. "type": "string"
  17185. },
  17186. "marketid": {
  17187. "description": "市场ID",
  17188. "type": "integer"
  17189. },
  17190. "mindeliveryqty": {
  17191. "description": "最小交割系数(K)",
  17192. "type": "integer"
  17193. },
  17194. "p2deliveryprice": {
  17195. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17196. "type": "number"
  17197. },
  17198. "p2deliveryratio": {
  17199. "description": "P2合约系数(p)",
  17200. "type": "integer"
  17201. },
  17202. "p2goodsid": {
  17203. "description": "P2合约ID",
  17204. "type": "integer"
  17205. },
  17206. "p2pricemode": {
  17207. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17208. "type": "integer"
  17209. },
  17210. "pdeliveryprice": {
  17211. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17212. "type": "number"
  17213. },
  17214. "pdeliveryratio": {
  17215. "description": "P合约系数(n)",
  17216. "type": "integer"
  17217. },
  17218. "pgoodscode": {
  17219. "description": "p合约代码",
  17220. "type": "string"
  17221. },
  17222. "pgoodsid": {
  17223. "description": "P合约ID",
  17224. "type": "integer"
  17225. },
  17226. "ppricemode": {
  17227. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17228. "type": "integer"
  17229. },
  17230. "rratio": {
  17231. "description": "兑换系数(R)",
  17232. "type": "integer"
  17233. },
  17234. "rratio1": {
  17235. "description": "兑换系数(交易合约)(R1)",
  17236. "type": "integer"
  17237. },
  17238. "rratio2": {
  17239. "description": "兑换系数(仓单标准)(R2)",
  17240. "type": "integer"
  17241. },
  17242. "selltemplateid": {
  17243. "description": "卖履约计划模板ID",
  17244. "type": "integer"
  17245. },
  17246. "wrstandardid": {
  17247. "description": "仓单标准ID",
  17248. "type": "integer"
  17249. },
  17250. "xdeliveryratio": {
  17251. "description": "交易合约系数(m)",
  17252. "type": "integer"
  17253. }
  17254. }
  17255. },
  17256. "ermcp.ExposureDetailRsp": {
  17257. "type": "object",
  17258. "properties": {
  17259. "areauserid": {
  17260. "description": "机构ID",
  17261. "type": "integer"
  17262. },
  17263. "changeQty": {
  17264. "description": "套保变动量",
  17265. "type": "number"
  17266. },
  17267. "contracttype": {
  17268. "description": "现货合同类型 - 1:采购 -1:销售",
  17269. "type": "integer"
  17270. },
  17271. "convertfactor": {
  17272. "description": "标仓系数",
  17273. "type": "number"
  17274. },
  17275. "convertratio": {
  17276. "description": "套保系数",
  17277. "type": "number"
  17278. },
  17279. "createtime": {
  17280. "description": "时间",
  17281. "type": "string"
  17282. },
  17283. "enumdicname": {
  17284. "description": "现货商品单位名称",
  17285. "type": "string"
  17286. },
  17287. "logtype": {
  17288. "description": "类型 - 1:套保计划 2:现货合同",
  17289. "type": "integer"
  17290. },
  17291. "middlegoodsId": {
  17292. "description": "套保商品id",
  17293. "type": "integer"
  17294. },
  17295. "middlegoodscode": {
  17296. "description": "套保商品代码",
  17297. "type": "string"
  17298. },
  17299. "middlegoodsname": {
  17300. "description": "套保商品名称",
  17301. "type": "string"
  17302. },
  17303. "qty": {
  17304. "description": "数量",
  17305. "type": "number"
  17306. },
  17307. "relateNo": {
  17308. "description": "现货合同/套保计划编号",
  17309. "type": "string"
  17310. },
  17311. "wrstandardcode": {
  17312. "description": "现货商品代码",
  17313. "type": "string"
  17314. },
  17315. "wrstandardid": {
  17316. "description": "现货商品ID",
  17317. "type": "integer"
  17318. },
  17319. "wrstandardname": {
  17320. "description": "现货商品名称",
  17321. "type": "string"
  17322. }
  17323. }
  17324. },
  17325. "ermcp.ExposureHedgePosDetailRsp": {
  17326. "type": "object",
  17327. "properties": {
  17328. "buyorsell": {
  17329. "description": "买卖方向 0-买 1-卖",
  17330. "type": "integer"
  17331. },
  17332. "channelbuildtype": {
  17333. "description": "开平方向 1-建仓 2-平仓",
  17334. "type": "integer"
  17335. },
  17336. "goodscode": {
  17337. "description": "商品代码",
  17338. "type": "string"
  17339. },
  17340. "goodsname": {
  17341. "description": "商品名称",
  17342. "type": "string"
  17343. },
  17344. "hedgegoodsid": {
  17345. "description": "商品id",
  17346. "type": "integer"
  17347. },
  17348. "tradeqty": {
  17349. "description": "数量(成交数量)",
  17350. "type": "integer"
  17351. },
  17352. "tradetime": {
  17353. "description": "时间(成交时间)",
  17354. "type": "string"
  17355. }
  17356. }
  17357. },
  17358. "ermcp.ExposureHedgePositionRsp": {
  17359. "type": "object",
  17360. "properties": {
  17361. "accountid": {
  17362. "description": "资金账号[外部母账户]",
  17363. "type": "integer"
  17364. },
  17365. "curbuyposition": {
  17366. "description": "期末买头寸",
  17367. "type": "integer"
  17368. },
  17369. "cursellposition": {
  17370. "description": "期末卖头寸",
  17371. "type": "integer"
  17372. },
  17373. "curtdbuyposition": {
  17374. "description": "期末今日买头寸",
  17375. "type": "integer"
  17376. },
  17377. "curtdsellposition": {
  17378. "description": "期末今日卖头寸",
  17379. "type": "integer"
  17380. },
  17381. "curydbuyposition": {
  17382. "description": "期末上日买头寸",
  17383. "type": "integer"
  17384. },
  17385. "curydsellposition": {
  17386. "description": "期末上日卖头寸",
  17387. "type": "integer"
  17388. },
  17389. "decreaseqty": {
  17390. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17391. "type": "integer"
  17392. },
  17393. "fretdbuyposition": {
  17394. "description": "冻结今日买头寸",
  17395. "type": "integer"
  17396. },
  17397. "fretdsellposition": {
  17398. "description": "冻结今日卖头寸",
  17399. "type": "integer"
  17400. },
  17401. "freydbuyposition": {
  17402. "description": "冻结上日买头寸",
  17403. "type": "integer"
  17404. },
  17405. "freydsellposition": {
  17406. "description": "冻结上日卖头寸",
  17407. "type": "integer"
  17408. },
  17409. "goodscode": {
  17410. "description": "商品代码",
  17411. "type": "string"
  17412. },
  17413. "goodsid": {
  17414. "description": "商品id",
  17415. "type": "integer"
  17416. },
  17417. "goodsname": {
  17418. "description": "商品名称",
  17419. "type": "string"
  17420. },
  17421. "hedgeaccountcode": {
  17422. "description": "对冲账号",
  17423. "type": "string"
  17424. },
  17425. "hedgegoodsid": {
  17426. "description": "对冲合约ID",
  17427. "type": "integer"
  17428. },
  17429. "increaseqty": {
  17430. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17431. "type": "integer"
  17432. },
  17433. "marketid": {
  17434. "description": "市场ID",
  17435. "type": "integer"
  17436. },
  17437. "relateduserid": {
  17438. "description": "关联用户id",
  17439. "type": "integer"
  17440. },
  17441. "totalcurqty": {
  17442. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17443. "type": "integer"
  17444. },
  17445. "totalydqty": {
  17446. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17447. "type": "integer"
  17448. },
  17449. "tradedate": {
  17450. "description": "交易日(yyyyMMdd)",
  17451. "type": "string"
  17452. },
  17453. "ydbuyposition": {
  17454. "description": "期初买头寸",
  17455. "type": "integer"
  17456. },
  17457. "ydsellposition": {
  17458. "description": "期初卖头寸",
  17459. "type": "integer"
  17460. }
  17461. }
  17462. },
  17463. "ermcp.ExposureSpotDetailRsp": {
  17464. "type": "object",
  17465. "properties": {
  17466. "contracttype": {
  17467. "description": "合同类型 1-采购 -1-销售",
  17468. "type": "integer"
  17469. },
  17470. "createtime": {
  17471. "description": "创建时间",
  17472. "type": "string"
  17473. },
  17474. "enumdicname": {
  17475. "description": "现货商品单位名称",
  17476. "type": "string"
  17477. },
  17478. "logtype": {
  17479. "description": "记录类型 1-套保 2-现货合同",
  17480. "type": "integer"
  17481. },
  17482. "qty": {
  17483. "description": "数量",
  17484. "type": "number"
  17485. },
  17486. "recordname": {
  17487. "description": "类型名称",
  17488. "type": "string"
  17489. },
  17490. "relatedid": {
  17491. "description": "套保计划ID/现货合同ID",
  17492. "type": "string"
  17493. },
  17494. "relatedno": {
  17495. "description": "编号",
  17496. "type": "string"
  17497. },
  17498. "strtime": {
  17499. "description": "时间",
  17500. "type": "string"
  17501. },
  17502. "wrstandardcode": {
  17503. "description": "现货商品代码",
  17504. "type": "string"
  17505. },
  17506. "wrstandardname": {
  17507. "description": "现货商品名称",
  17508. "type": "string"
  17509. }
  17510. }
  17511. },
  17512. "ermcp.ExposureSpotRsp": {
  17513. "type": "object",
  17514. "properties": {
  17515. "areauserid": {
  17516. "description": "所属机构",
  17517. "type": "integer"
  17518. },
  17519. "decreaseqty": {
  17520. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17521. "type": "number"
  17522. },
  17523. "increaseqty": {
  17524. "description": "增加数量=销售计划数量+采购已定价数量",
  17525. "type": "number"
  17526. },
  17527. "oritoalspotqty": {
  17528. "description": "昨日数量",
  17529. "type": "number"
  17530. },
  17531. "totalspotqty": {
  17532. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17533. "type": "number"
  17534. },
  17535. "updatetime": {
  17536. "description": "更新时间",
  17537. "type": "string"
  17538. },
  17539. "wrstandardcode": {
  17540. "description": "现货品种代码",
  17541. "type": "string"
  17542. },
  17543. "wrstandardid": {
  17544. "description": "现货商品ID",
  17545. "type": "integer"
  17546. },
  17547. "wrstandardname": {
  17548. "description": "现货品种",
  17549. "type": "string"
  17550. }
  17551. }
  17552. },
  17553. "ermcp.HisExposureRsp": {
  17554. "type": "object",
  17555. "properties": {
  17556. "data": {
  17557. "description": "历史敞口",
  17558. "type": "array",
  17559. "items": {
  17560. "$ref": "#/definitions/models.ErmcpHisExposure"
  17561. }
  17562. },
  17563. "enumdicname": {
  17564. "description": "单位名称",
  17565. "type": "string"
  17566. },
  17567. "middlegoodscode": {
  17568. "description": "套保品种代码",
  17569. "type": "string"
  17570. },
  17571. "middlegoodsid": {
  17572. "description": "套保品种ID",
  17573. "type": "integer"
  17574. },
  17575. "middlegoodsname": {
  17576. "description": "套保品种名称",
  17577. "type": "string"
  17578. }
  17579. }
  17580. },
  17581. "ermcp.PendingAuditCntRsp": {
  17582. "type": "object",
  17583. "properties": {
  17584. "areastockqty": {
  17585. "description": "待审核数量: 库存申请",
  17586. "type": "integer"
  17587. },
  17588. "businessdjqty": {
  17589. "description": "待审核数量: 点价",
  17590. "type": "integer"
  17591. },
  17592. "businessfpqty": {
  17593. "description": "待审核数量: 发票",
  17594. "type": "integer"
  17595. },
  17596. "businessjsqty": {
  17597. "description": "待审核数量: 结算",
  17598. "type": "integer"
  17599. },
  17600. "businesskxqty": {
  17601. "description": "待审核数量: 款项",
  17602. "type": "integer"
  17603. },
  17604. "hedgeplanqty": {
  17605. "description": "待审核数量: 套保计划",
  17606. "type": "integer"
  17607. },
  17608. "spotcontractqty": {
  17609. "description": "待审核数量: 现货合同",
  17610. "type": "integer"
  17611. },
  17612. "userqty": {
  17613. "description": "待审核数量: 用户",
  17614. "type": "integer"
  17615. }
  17616. }
  17617. },
  17618. "ermcp.QryAvalidGPRsp": {
  17619. "type": "object",
  17620. "properties": {
  17621. "goodsgroupid": {
  17622. "description": "期货品种id",
  17623. "type": "integer"
  17624. },
  17625. "goodsgroupname": {
  17626. "description": "期货品种名称",
  17627. "type": "string"
  17628. },
  17629. "goodunitid": {
  17630. "description": "品种单位id",
  17631. "type": "integer"
  17632. },
  17633. "goodunitname": {
  17634. "description": "品种单位名称",
  17635. "type": "string"
  17636. },
  17637. "outergroupcode": {
  17638. "description": "期货品种代码",
  17639. "type": "string"
  17640. }
  17641. }
  17642. },
  17643. "ermcp.QryBusinessDjRsp": {
  17644. "type": "object",
  17645. "properties": {
  17646. "amount": {
  17647. "description": "期初均价",
  17648. "type": "number"
  17649. },
  17650. "applyid": {
  17651. "description": "申请人",
  17652. "type": "string"
  17653. },
  17654. "applyname": {
  17655. "description": "申请人名称",
  17656. "type": "string"
  17657. },
  17658. "applystatus": {
  17659. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17660. "type": "integer"
  17661. },
  17662. "applytime": {
  17663. "description": "申请时间",
  17664. "type": "string"
  17665. },
  17666. "attachurl": {
  17667. "description": "附件",
  17668. "type": "string"
  17669. },
  17670. "auditid": {
  17671. "description": "审核人ID",
  17672. "type": "string"
  17673. },
  17674. "auditname": {
  17675. "description": "审核人名称",
  17676. "type": "string"
  17677. },
  17678. "auditremark": {
  17679. "description": "审核备注",
  17680. "type": "string"
  17681. },
  17682. "audittime": {
  17683. "description": "审核时间",
  17684. "type": "string"
  17685. },
  17686. "buyusername": {
  17687. "description": "采购方名称",
  17688. "type": "string"
  17689. },
  17690. "contractno": {
  17691. "description": "合同编号",
  17692. "type": "string"
  17693. },
  17694. "contractstatus": {
  17695. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17696. "type": "integer"
  17697. },
  17698. "contracttype": {
  17699. "description": "现货合同类型 - 1:采购 -1:销售",
  17700. "type": "integer"
  17701. },
  17702. "deliverygoodscode": {
  17703. "description": "现货品种代码",
  17704. "type": "string"
  17705. },
  17706. "deliverygoodsid": {
  17707. "description": "现货商品ID",
  17708. "type": "integer"
  17709. },
  17710. "deliverygoodsname": {
  17711. "description": "现货品种名称",
  17712. "type": "string"
  17713. },
  17714. "enumdicname": {
  17715. "description": "单位名称",
  17716. "type": "string"
  17717. },
  17718. "goodscode": {
  17719. "description": "点价合约",
  17720. "type": "string"
  17721. },
  17722. "goodsname": {
  17723. "description": "商品名称",
  17724. "type": "string"
  17725. },
  17726. "operateapplyid": {
  17727. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17728. "type": "string"
  17729. },
  17730. "operateapplytype": {
  17731. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17732. "type": "integer"
  17733. },
  17734. "pricedPrice": {
  17735. "description": "点价价格(非必填)",
  17736. "type": "number"
  17737. },
  17738. "pricedQty": {
  17739. "description": "点价数量(非必填)",
  17740. "type": "number"
  17741. },
  17742. "pricemove": {
  17743. "description": "升贴水",
  17744. "type": "number"
  17745. },
  17746. "pricetype": {
  17747. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17748. "type": "integer"
  17749. },
  17750. "relatedid": {
  17751. "description": "现货合同ID",
  17752. "type": "string"
  17753. },
  17754. "sellusername": {
  17755. "description": "销售方名字",
  17756. "type": "string"
  17757. },
  17758. "userid": {
  17759. "description": "用户ID",
  17760. "type": "integer"
  17761. },
  17762. "wrstandardcode": {
  17763. "description": "品类代码",
  17764. "type": "string"
  17765. },
  17766. "wrstandardid": {
  17767. "description": "品类id",
  17768. "type": "integer"
  17769. },
  17770. "wrstandardname": {
  17771. "description": "品类名称",
  17772. "type": "string"
  17773. }
  17774. }
  17775. },
  17776. "ermcp.QryBussinessFpRsp": {
  17777. "type": "object",
  17778. "properties": {
  17779. "applyid": {
  17780. "description": "申请人",
  17781. "type": "string"
  17782. },
  17783. "applyname": {
  17784. "description": "申请人名称",
  17785. "type": "string"
  17786. },
  17787. "applystatus": {
  17788. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17789. "type": "integer"
  17790. },
  17791. "applytime": {
  17792. "description": "申请时间",
  17793. "type": "string"
  17794. },
  17795. "attachurl": {
  17796. "description": "附件",
  17797. "type": "string"
  17798. },
  17799. "auditid": {
  17800. "description": "审核人ID",
  17801. "type": "string"
  17802. },
  17803. "auditname": {
  17804. "description": "审核人名称",
  17805. "type": "string"
  17806. },
  17807. "auditremark": {
  17808. "description": "审核备注",
  17809. "type": "string"
  17810. },
  17811. "audittime": {
  17812. "description": "审核时间",
  17813. "type": "string"
  17814. },
  17815. "buyusername": {
  17816. "description": "采购方名称",
  17817. "type": "string"
  17818. },
  17819. "contractno": {
  17820. "description": "合同编号",
  17821. "type": "string"
  17822. },
  17823. "contractstatus": {
  17824. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17825. "type": "integer"
  17826. },
  17827. "contracttype": {
  17828. "description": "现货合同类型 - 1:采购 -1:销售",
  17829. "type": "integer"
  17830. },
  17831. "deliverygoodscode": {
  17832. "description": "现货品种代码",
  17833. "type": "string"
  17834. },
  17835. "deliverygoodsid": {
  17836. "description": "现货商品ID",
  17837. "type": "integer"
  17838. },
  17839. "deliverygoodsname": {
  17840. "description": "现货品种名称",
  17841. "type": "string"
  17842. },
  17843. "enumdicname": {
  17844. "description": "单位名称",
  17845. "type": "string"
  17846. },
  17847. "goodscode": {
  17848. "description": "点价合约",
  17849. "type": "string"
  17850. },
  17851. "goodsname": {
  17852. "description": "商品名称",
  17853. "type": "string"
  17854. },
  17855. "invoiceamount": {
  17856. "description": "已开收票金额(销售为开票,采购为收票)",
  17857. "type": "number"
  17858. },
  17859. "operateapplyid": {
  17860. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17861. "type": "string"
  17862. },
  17863. "operateapplytype": {
  17864. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17865. "type": "integer"
  17866. },
  17867. "pricemove": {
  17868. "description": "升贴水",
  17869. "type": "number"
  17870. },
  17871. "pricetype": {
  17872. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17873. "type": "integer"
  17874. },
  17875. "relatedid": {
  17876. "description": "现货合同ID",
  17877. "type": "string"
  17878. },
  17879. "sellusername": {
  17880. "description": "销售方名字",
  17881. "type": "string"
  17882. },
  17883. "userid": {
  17884. "description": "用户ID",
  17885. "type": "integer"
  17886. },
  17887. "wrstandardcode": {
  17888. "description": "品类代码",
  17889. "type": "string"
  17890. },
  17891. "wrstandardid": {
  17892. "description": "品类id",
  17893. "type": "integer"
  17894. },
  17895. "wrstandardname": {
  17896. "description": "品类名称",
  17897. "type": "string"
  17898. }
  17899. }
  17900. },
  17901. "ermcp.QryBussinessJsExRsp": {
  17902. "type": "object",
  17903. "properties": {
  17904. "applyid": {
  17905. "description": "申请人",
  17906. "type": "string"
  17907. },
  17908. "applyname": {
  17909. "description": "申请人名称",
  17910. "type": "string"
  17911. },
  17912. "applystatus": {
  17913. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17914. "type": "integer"
  17915. },
  17916. "applytime": {
  17917. "description": "申请时间",
  17918. "type": "string"
  17919. },
  17920. "attachurl": {
  17921. "description": "附件",
  17922. "type": "string"
  17923. },
  17924. "auditid": {
  17925. "description": "审核人ID",
  17926. "type": "string"
  17927. },
  17928. "auditname": {
  17929. "description": "审核人名称",
  17930. "type": "string"
  17931. },
  17932. "auditremark": {
  17933. "description": "审核备注",
  17934. "type": "string"
  17935. },
  17936. "audittime": {
  17937. "description": "审核时间",
  17938. "type": "string"
  17939. },
  17940. "buyusername": {
  17941. "description": "采购方名称",
  17942. "type": "string"
  17943. },
  17944. "contractno": {
  17945. "description": "合同编号",
  17946. "type": "string"
  17947. },
  17948. "contractstatus": {
  17949. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17950. "type": "integer"
  17951. },
  17952. "contracttype": {
  17953. "description": "现货合同类型 - 1:采购 -1:销售",
  17954. "type": "integer"
  17955. },
  17956. "deliverygoodscode": {
  17957. "description": "现货品种代码",
  17958. "type": "string"
  17959. },
  17960. "deliverygoodsid": {
  17961. "description": "现货商品ID",
  17962. "type": "integer"
  17963. },
  17964. "deliverygoodsname": {
  17965. "description": "现货品种名称",
  17966. "type": "string"
  17967. },
  17968. "enumdicname": {
  17969. "description": "单位名称",
  17970. "type": "string"
  17971. },
  17972. "goodscode": {
  17973. "description": "点价合约",
  17974. "type": "string"
  17975. },
  17976. "goodsname": {
  17977. "description": "商品名称",
  17978. "type": "string"
  17979. },
  17980. "operateapplyid": {
  17981. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17982. "type": "string"
  17983. },
  17984. "operateapplytype": {
  17985. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17986. "type": "integer"
  17987. },
  17988. "pricemove": {
  17989. "description": "升贴水",
  17990. "type": "number"
  17991. },
  17992. "pricetype": {
  17993. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17994. "type": "integer"
  17995. },
  17996. "reckontype": {
  17997. "description": "结算类型",
  17998. "type": "string"
  17999. },
  18000. "reckonvalue": {
  18001. "description": "值",
  18002. "type": "number"
  18003. },
  18004. "relatedid": {
  18005. "description": "现货合同ID",
  18006. "type": "string"
  18007. },
  18008. "sellusername": {
  18009. "description": "销售方名字",
  18010. "type": "string"
  18011. },
  18012. "userid": {
  18013. "description": "用户ID",
  18014. "type": "integer"
  18015. },
  18016. "wrstandardcode": {
  18017. "description": "品类代码",
  18018. "type": "string"
  18019. },
  18020. "wrstandardid": {
  18021. "description": "品类id",
  18022. "type": "integer"
  18023. },
  18024. "wrstandardname": {
  18025. "description": "品类名称",
  18026. "type": "string"
  18027. }
  18028. }
  18029. },
  18030. "ermcp.QryBussinessJsRsp": {
  18031. "type": "object",
  18032. "properties": {
  18033. "addmargin": {
  18034. "description": "追加保证金(非必填)",
  18035. "type": "number"
  18036. },
  18037. "applyid": {
  18038. "description": "申请人",
  18039. "type": "string"
  18040. },
  18041. "applyname": {
  18042. "description": "申请人名称",
  18043. "type": "string"
  18044. },
  18045. "applystatus": {
  18046. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18047. "type": "integer"
  18048. },
  18049. "applytime": {
  18050. "description": "申请时间",
  18051. "type": "string"
  18052. },
  18053. "attachurl": {
  18054. "description": "附件",
  18055. "type": "string"
  18056. },
  18057. "auditid": {
  18058. "description": "审核人ID",
  18059. "type": "string"
  18060. },
  18061. "auditname": {
  18062. "description": "审核人名称",
  18063. "type": "string"
  18064. },
  18065. "auditremark": {
  18066. "description": "审核备注",
  18067. "type": "string"
  18068. },
  18069. "audittime": {
  18070. "description": "审核时间",
  18071. "type": "string"
  18072. },
  18073. "buyusername": {
  18074. "description": "采购方名称",
  18075. "type": "string"
  18076. },
  18077. "contractno": {
  18078. "description": "合同编号",
  18079. "type": "string"
  18080. },
  18081. "contractstatus": {
  18082. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18083. "type": "integer"
  18084. },
  18085. "contracttype": {
  18086. "description": "现货合同类型 - 1:采购 -1:销售",
  18087. "type": "integer"
  18088. },
  18089. "decmargin": {
  18090. "description": "减少保证金(非必填)",
  18091. "type": "number"
  18092. },
  18093. "deliverygoodscode": {
  18094. "description": "现货品种代码",
  18095. "type": "string"
  18096. },
  18097. "deliverygoodsid": {
  18098. "description": "现货商品ID",
  18099. "type": "integer"
  18100. },
  18101. "deliverygoodsname": {
  18102. "description": "现货品种名称",
  18103. "type": "string"
  18104. },
  18105. "enumdicname": {
  18106. "description": "单位名称",
  18107. "type": "string"
  18108. },
  18109. "goodscode": {
  18110. "description": "点价合约",
  18111. "type": "string"
  18112. },
  18113. "goodsname": {
  18114. "description": "商品名称",
  18115. "type": "string"
  18116. },
  18117. "operateapplyid": {
  18118. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18119. "type": "string"
  18120. },
  18121. "operateapplytype": {
  18122. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18123. "type": "integer"
  18124. },
  18125. "pricemove": {
  18126. "description": "升贴水",
  18127. "type": "number"
  18128. },
  18129. "pricetype": {
  18130. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18131. "type": "integer"
  18132. },
  18133. "reckonadjustamount": {
  18134. "description": "结算调整金额(非必填)",
  18135. "type": "number"
  18136. },
  18137. "reckonosamount": {
  18138. "description": "结算溢短金额(非必填)",
  18139. "type": "number"
  18140. },
  18141. "reckonotheramount": {
  18142. "description": "结算其他费用(非必填)",
  18143. "type": "number"
  18144. },
  18145. "reckonrealqty": {
  18146. "description": "结算实际数量(非必填)",
  18147. "type": "number"
  18148. },
  18149. "relatedid": {
  18150. "description": "现货合同ID",
  18151. "type": "string"
  18152. },
  18153. "sellusername": {
  18154. "description": "销售方名字",
  18155. "type": "string"
  18156. },
  18157. "userid": {
  18158. "description": "用户ID",
  18159. "type": "integer"
  18160. },
  18161. "wrstandardcode": {
  18162. "description": "品类代码",
  18163. "type": "string"
  18164. },
  18165. "wrstandardid": {
  18166. "description": "品类id",
  18167. "type": "integer"
  18168. },
  18169. "wrstandardname": {
  18170. "description": "品类名称",
  18171. "type": "string"
  18172. }
  18173. }
  18174. },
  18175. "ermcp.QryBussinessKxRsp": {
  18176. "type": "object",
  18177. "properties": {
  18178. "applyid": {
  18179. "description": "申请人",
  18180. "type": "string"
  18181. },
  18182. "applyname": {
  18183. "description": "申请人名称",
  18184. "type": "string"
  18185. },
  18186. "applystatus": {
  18187. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18188. "type": "integer"
  18189. },
  18190. "applytime": {
  18191. "description": "申请时间",
  18192. "type": "string"
  18193. },
  18194. "attachurl": {
  18195. "description": "附件",
  18196. "type": "string"
  18197. },
  18198. "auditid": {
  18199. "description": "审核人ID",
  18200. "type": "string"
  18201. },
  18202. "auditname": {
  18203. "description": "审核人名称",
  18204. "type": "string"
  18205. },
  18206. "auditremark": {
  18207. "description": "审核备注",
  18208. "type": "string"
  18209. },
  18210. "audittime": {
  18211. "description": "审核时间",
  18212. "type": "string"
  18213. },
  18214. "buyusername": {
  18215. "description": "采购方名称",
  18216. "type": "string"
  18217. },
  18218. "contractno": {
  18219. "description": "合同编号",
  18220. "type": "string"
  18221. },
  18222. "contractstatus": {
  18223. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18224. "type": "integer"
  18225. },
  18226. "contracttype": {
  18227. "description": "现货合同类型 - 1:采购 -1:销售",
  18228. "type": "integer"
  18229. },
  18230. "deductamount": {
  18231. "description": "期初均价",
  18232. "type": "number"
  18233. },
  18234. "deliverygoodscode": {
  18235. "description": "现货品种代码",
  18236. "type": "string"
  18237. },
  18238. "deliverygoodsid": {
  18239. "description": "现货商品ID",
  18240. "type": "integer"
  18241. },
  18242. "deliverygoodsname": {
  18243. "description": "现货品种名称",
  18244. "type": "string"
  18245. },
  18246. "enumdicname": {
  18247. "description": "单位名称",
  18248. "type": "string"
  18249. },
  18250. "goodscode": {
  18251. "description": "点价合约",
  18252. "type": "string"
  18253. },
  18254. "goodsname": {
  18255. "description": "商品名称",
  18256. "type": "string"
  18257. },
  18258. "kxtype": {
  18259. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18260. "type": "integer"
  18261. },
  18262. "operateapplyid": {
  18263. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18264. "type": "string"
  18265. },
  18266. "operateapplytype": {
  18267. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18268. "type": "integer"
  18269. },
  18270. "payamount": {
  18271. "description": "期初均价",
  18272. "type": "number"
  18273. },
  18274. "pricemove": {
  18275. "description": "升贴水",
  18276. "type": "number"
  18277. },
  18278. "pricetype": {
  18279. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18280. "type": "integer"
  18281. },
  18282. "relatedid": {
  18283. "description": "现货合同ID",
  18284. "type": "string"
  18285. },
  18286. "sellusername": {
  18287. "description": "销售方名字",
  18288. "type": "string"
  18289. },
  18290. "userid": {
  18291. "description": "用户ID",
  18292. "type": "integer"
  18293. },
  18294. "wrstandardcode": {
  18295. "description": "品类代码",
  18296. "type": "string"
  18297. },
  18298. "wrstandardid": {
  18299. "description": "品类id",
  18300. "type": "integer"
  18301. },
  18302. "wrstandardname": {
  18303. "description": "品类名称",
  18304. "type": "string"
  18305. }
  18306. }
  18307. },
  18308. "ermcp.QryGGCovertCfgRsp": {
  18309. "type": "object",
  18310. "properties": {
  18311. "convertratio": {
  18312. "description": "折算系数",
  18313. "type": "number"
  18314. },
  18315. "destgoodsgroupid": {
  18316. "description": "目标品种ID",
  18317. "type": "integer"
  18318. },
  18319. "dstcode": {
  18320. "description": "目录品种代码",
  18321. "type": "string"
  18322. },
  18323. "dstexchangecode": {
  18324. "description": "目标期货交易所",
  18325. "type": "string"
  18326. },
  18327. "dstname": {
  18328. "description": "目标品种名称",
  18329. "type": "string"
  18330. },
  18331. "dstunitid": {
  18332. "description": "目标品种单位ID",
  18333. "type": "integer"
  18334. },
  18335. "dstunitidname": {
  18336. "description": "目标品种单位名称",
  18337. "type": "string"
  18338. },
  18339. "modifytime": {
  18340. "description": "修改时间",
  18341. "type": "string"
  18342. },
  18343. "srccode": {
  18344. "description": "源品种代码",
  18345. "type": "string"
  18346. },
  18347. "srcexchangecode": {
  18348. "description": "源期货交易所",
  18349. "type": "string"
  18350. },
  18351. "srcgoodsgroupid": {
  18352. "description": "源品种ID",
  18353. "type": "integer"
  18354. },
  18355. "srcname": {
  18356. "description": "源品种名称",
  18357. "type": "string"
  18358. },
  18359. "srcunitid": {
  18360. "description": "源品种单位ID",
  18361. "type": "integer"
  18362. },
  18363. "srcunitidname": {
  18364. "description": "源品种单位名称",
  18365. "type": "string"
  18366. }
  18367. }
  18368. },
  18369. "ermcp.QryMGChangeLogRsp": {
  18370. "type": "object",
  18371. "properties": {
  18372. "aftervalue": {
  18373. "description": "变更后",
  18374. "type": "number"
  18375. },
  18376. "applyid": {
  18377. "description": "操作人",
  18378. "type": "integer"
  18379. },
  18380. "applyname": {
  18381. "description": "操作人名称",
  18382. "type": "string"
  18383. },
  18384. "applysrc": {
  18385. "description": "操作来源 - 1:管理端 2:终端",
  18386. "type": "integer"
  18387. },
  18388. "beforevalue": {
  18389. "description": "变更前",
  18390. "type": "number"
  18391. },
  18392. "changelogtype": {
  18393. "description": "变更流水类型 - 1:套保比率变更",
  18394. "type": "integer"
  18395. },
  18396. "handlestatus": {
  18397. "description": "处理状态",
  18398. "type": "integer"
  18399. },
  18400. "logdatetime": {
  18401. "description": "流水日期",
  18402. "type": "string"
  18403. },
  18404. "logid": {
  18405. "description": "流水ID",
  18406. "type": "integer"
  18407. },
  18408. "logremark": {
  18409. "description": "流水备注",
  18410. "type": "string"
  18411. },
  18412. "middlegoodsid": {
  18413. "description": "套保品种ID",
  18414. "type": "integer"
  18415. },
  18416. "tradedate": {
  18417. "description": "交易日(yyyyMMdd)",
  18418. "type": "string"
  18419. },
  18420. "updatetime": {
  18421. "description": "更新时间",
  18422. "type": "string"
  18423. }
  18424. }
  18425. },
  18426. "ermcp.QryMiddleGoodsDetailRsp": {
  18427. "type": "object",
  18428. "properties": {
  18429. "cvList": {
  18430. "description": "期货品种折算列表",
  18431. "type": "array",
  18432. "items": {
  18433. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18434. }
  18435. },
  18436. "mg": {
  18437. "description": "套保品种基本信息",
  18438. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18439. },
  18440. "wrcList": {
  18441. "description": "现货品种列表(现货商品折算配置)",
  18442. "type": "array",
  18443. "items": {
  18444. "$ref": "#/definitions/models.WRSConverTDetail"
  18445. }
  18446. }
  18447. }
  18448. },
  18449. "ermcp.QryMiddleGoodsRsp": {
  18450. "type": "object",
  18451. "properties": {
  18452. "areauserid": {
  18453. "description": "机构用户ID",
  18454. "type": "integer"
  18455. },
  18456. "createtime": {
  18457. "description": "修改时间",
  18458. "type": "string"
  18459. },
  18460. "enumdicname": {
  18461. "description": "单位名称",
  18462. "type": "string"
  18463. },
  18464. "evaluateratio": {
  18465. "description": "估价系数",
  18466. "type": "number"
  18467. },
  18468. "goodsgroupid": {
  18469. "description": "关联期货品种ID",
  18470. "type": "integer"
  18471. },
  18472. "goodsunitid": {
  18473. "description": "单位ID",
  18474. "type": "integer"
  18475. },
  18476. "isvalid": {
  18477. "description": "状态 0-无效(停用) 1-有效(正常)",
  18478. "type": "integer"
  18479. },
  18480. "middlegoodscode": {
  18481. "description": "套保品种代码",
  18482. "type": "string"
  18483. },
  18484. "middlegoodsid": {
  18485. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18486. "type": "integer"
  18487. },
  18488. "middlegoodsname": {
  18489. "description": "套保品种名称",
  18490. "type": "string"
  18491. },
  18492. "modifytime": {
  18493. "description": "修改时间",
  18494. "type": "string"
  18495. },
  18496. "needarbitrageratio": {
  18497. "description": "套利比例",
  18498. "type": "number"
  18499. },
  18500. "needhedgeratio": {
  18501. "description": "套保比率",
  18502. "type": "number"
  18503. },
  18504. "qtydecimalplace": {
  18505. "description": "数量小数位",
  18506. "type": "integer"
  18507. },
  18508. "relatedgoodsid": {
  18509. "description": "关联交易商品ID",
  18510. "type": "integer"
  18511. },
  18512. "relatedgoodstype": {
  18513. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18514. "type": "integer"
  18515. },
  18516. "remark": {
  18517. "description": "备注",
  18518. "type": "string"
  18519. }
  18520. }
  18521. },
  18522. "ermcp.QryOPLogRsp": {
  18523. "type": "object",
  18524. "properties": {
  18525. "aftervalue": {
  18526. "description": "变更后",
  18527. "type": "number"
  18528. },
  18529. "applyid": {
  18530. "description": "操作人ID",
  18531. "type": "string"
  18532. },
  18533. "applyname": {
  18534. "description": "操作人名称",
  18535. "type": "string"
  18536. },
  18537. "beforevalue": {
  18538. "description": "变更前",
  18539. "type": "number"
  18540. },
  18541. "biztype": {
  18542. "description": "业务类型 - 1:套保计划 2:现货合同",
  18543. "type": "integer"
  18544. },
  18545. "contracttype": {
  18546. "description": "现货合同类型 - 1:采购 -1:销售",
  18547. "type": "integer"
  18548. },
  18549. "logvalue": {
  18550. "description": "数值",
  18551. "type": "number"
  18552. },
  18553. "operatelogtype": {
  18554. "description": "操作流水类型",
  18555. "type": "integer"
  18556. },
  18557. "operatelogtypedesc": {
  18558. "description": "操作流水类型名称",
  18559. "type": "string"
  18560. },
  18561. "relatedid": {
  18562. "description": "现货合同ID\\套保计划",
  18563. "type": "string"
  18564. },
  18565. "updatetime": {
  18566. "description": "更新时间",
  18567. "type": "string"
  18568. }
  18569. }
  18570. },
  18571. "ermcp.QryUserInfoRsp": {
  18572. "type": "object",
  18573. "properties": {
  18574. "address": {
  18575. "description": "通讯地址",
  18576. "type": "string"
  18577. },
  18578. "attachment1": {
  18579. "description": "附件1",
  18580. "type": "string"
  18581. },
  18582. "audittime": {
  18583. "description": "审核时间",
  18584. "type": "string"
  18585. },
  18586. "cardbackphotourl": {
  18587. "description": "证件反面图片地址",
  18588. "type": "string"
  18589. },
  18590. "cardfrontphotourl": {
  18591. "description": "证件正面图片地址",
  18592. "type": "string"
  18593. },
  18594. "cardnum": {
  18595. "description": "证件号码",
  18596. "type": "string"
  18597. },
  18598. "cardtype": {
  18599. "description": "证件类型",
  18600. "type": "integer"
  18601. },
  18602. "cardtypename": {
  18603. "description": "证件类型名称",
  18604. "type": "string"
  18605. },
  18606. "cityid": {
  18607. "description": "市",
  18608. "type": "integer"
  18609. },
  18610. "contactname": {
  18611. "description": "联系人",
  18612. "type": "string"
  18613. },
  18614. "countryid": {
  18615. "description": "国家",
  18616. "type": "integer"
  18617. },
  18618. "createtime": {
  18619. "description": "创建时间",
  18620. "type": "string"
  18621. },
  18622. "customername": {
  18623. "description": "企业名称",
  18624. "type": "string"
  18625. },
  18626. "districtid": {
  18627. "description": "区域",
  18628. "type": "integer"
  18629. },
  18630. "email": {
  18631. "description": "邮件",
  18632. "type": "string"
  18633. },
  18634. "legalpersonname": {
  18635. "description": "法人姓名(企业)",
  18636. "type": "string"
  18637. },
  18638. "memberuserid": {
  18639. "description": "所属机构ID",
  18640. "type": "integer"
  18641. },
  18642. "mobile": {
  18643. "description": "手机号码",
  18644. "type": "string"
  18645. },
  18646. "modifytime": {
  18647. "description": "修改时间",
  18648. "type": "string"
  18649. },
  18650. "nickname": {
  18651. "description": "昵称",
  18652. "type": "string"
  18653. },
  18654. "provinceid": {
  18655. "description": "省",
  18656. "type": "integer"
  18657. },
  18658. "remark": {
  18659. "description": "备注",
  18660. "type": "string"
  18661. },
  18662. "status": {
  18663. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18664. "type": "integer"
  18665. },
  18666. "statusdesc": {
  18667. "description": "账户状态中文描述",
  18668. "type": "string"
  18669. },
  18670. "taxpayernum": {
  18671. "description": "纳税人识别号",
  18672. "type": "string"
  18673. },
  18674. "telphone": {
  18675. "description": "联系电话",
  18676. "type": "string"
  18677. },
  18678. "userid": {
  18679. "description": "用户ID",
  18680. "type": "integer"
  18681. },
  18682. "userinfotype": {
  18683. "description": "客户类型",
  18684. "type": "string"
  18685. }
  18686. }
  18687. },
  18688. "ermcp.QryWarehouseRsp": {
  18689. "type": "object",
  18690. "properties": {
  18691. "address": {
  18692. "description": "详细地址",
  18693. "type": "string"
  18694. },
  18695. "areauserid": {
  18696. "description": "所属机构",
  18697. "type": "integer"
  18698. },
  18699. "autoid": {
  18700. "description": "自增ID(仓库ID)",
  18701. "type": "integer"
  18702. },
  18703. "cityid": {
  18704. "description": "市",
  18705. "type": "integer"
  18706. },
  18707. "contactname": {
  18708. "description": "联系人",
  18709. "type": "string"
  18710. },
  18711. "contactnum": {
  18712. "description": "联系电话",
  18713. "type": "string"
  18714. },
  18715. "countryid": {
  18716. "description": "国家",
  18717. "type": "integer"
  18718. },
  18719. "createtime": {
  18720. "description": "创建时间",
  18721. "type": "string"
  18722. },
  18723. "districtid": {
  18724. "description": "区",
  18725. "type": "integer"
  18726. },
  18727. "hasvideo": {
  18728. "description": "是否有视频 - 0:无 1:有",
  18729. "type": "integer"
  18730. },
  18731. "provinceid": {
  18732. "description": "省",
  18733. "type": "integer"
  18734. },
  18735. "remark": {
  18736. "description": "审核备注",
  18737. "type": "string"
  18738. },
  18739. "videourl": {
  18740. "description": "视频地址",
  18741. "type": "string"
  18742. },
  18743. "warehousecode": {
  18744. "description": "仓库代码",
  18745. "type": "string"
  18746. },
  18747. "warehousename": {
  18748. "description": "仓库名称",
  18749. "type": "string"
  18750. },
  18751. "warehousestatus": {
  18752. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18753. "type": "integer"
  18754. },
  18755. "warehousetype": {
  18756. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18757. "type": "integer"
  18758. }
  18759. }
  18760. },
  18761. "ermcp.QueryErmcpTradePositionRsp": {
  18762. "type": "object",
  18763. "properties": {
  18764. "agreeunit": {
  18765. "description": "合约单位",
  18766. "type": "number"
  18767. },
  18768. "buyorsell": {
  18769. "description": "方向 - 0:买 1:卖",
  18770. "type": "integer"
  18771. },
  18772. "curpositionqty": {
  18773. "description": "持仓(总仓数量, 期末头寸)",
  18774. "type": "integer"
  18775. },
  18776. "curtdposition": {
  18777. "description": "今仓数量(期末今日头寸)",
  18778. "type": "integer"
  18779. },
  18780. "curtdpositionenabled": {
  18781. "description": "今仓可用",
  18782. "type": "integer"
  18783. },
  18784. "decimalplace": {
  18785. "description": "报价小数位",
  18786. "type": "integer"
  18787. },
  18788. "enableqty": {
  18789. "description": "可用(总仓可用)",
  18790. "type": "integer"
  18791. },
  18792. "exexchangename": {
  18793. "description": "外部交易所名称",
  18794. "type": "string"
  18795. },
  18796. "exexehangecode": {
  18797. "description": "外部交易所代码",
  18798. "type": "string"
  18799. },
  18800. "exexehangeid": {
  18801. "description": "外部交易所id",
  18802. "type": "integer"
  18803. },
  18804. "goodscode": {
  18805. "description": "商品代码(内部)",
  18806. "type": "string"
  18807. },
  18808. "goodsid": {
  18809. "description": "商品ID(自增ID SEQ_GOODS)",
  18810. "type": "integer"
  18811. },
  18812. "goodsname": {
  18813. "description": "商品名称",
  18814. "type": "string"
  18815. },
  18816. "last": {
  18817. "description": "现价",
  18818. "type": "number"
  18819. },
  18820. "marketid": {
  18821. "description": "所属市场ID",
  18822. "type": "integer"
  18823. },
  18824. "openaverageprice": {
  18825. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18826. "type": "number"
  18827. },
  18828. "opencost": {
  18829. "description": "开仓成本",
  18830. "type": "number"
  18831. },
  18832. "openpl": {
  18833. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18834. "type": "number"
  18835. },
  18836. "outgoodscode": {
  18837. "description": "商品代码(外部)",
  18838. "type": "string"
  18839. },
  18840. "positionaverageprice": {
  18841. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18842. "type": "number"
  18843. },
  18844. "positioncost": {
  18845. "description": "持仓成本",
  18846. "type": "number"
  18847. },
  18848. "positionpl": {
  18849. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18850. "type": "number"
  18851. },
  18852. "positionplrate": {
  18853. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18854. "type": "number"
  18855. },
  18856. "usedmargin": {
  18857. "description": "占用保证金",
  18858. "type": "number"
  18859. }
  18860. }
  18861. },
  18862. "ermcp.RealtimeExposurePositionRsp": {
  18863. "type": "object",
  18864. "properties": {
  18865. "agreeunit": {
  18866. "description": "合约单位",
  18867. "type": "string"
  18868. },
  18869. "areauserid": {
  18870. "description": "所属机构id",
  18871. "type": "integer"
  18872. },
  18873. "convertratio": {
  18874. "description": "期货品种系数(折算系数)",
  18875. "type": "number"
  18876. },
  18877. "curhedgeqty": {
  18878. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18879. "type": "number"
  18880. },
  18881. "curqty": {
  18882. "description": "当前持仓",
  18883. "type": "integer"
  18884. },
  18885. "diffhedgeqty": {
  18886. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18887. "type": "number"
  18888. },
  18889. "diffqty": {
  18890. "description": "持仓变动量=当前持仓-昨日持仓",
  18891. "type": "integer"
  18892. },
  18893. "goodscode": {
  18894. "description": "商品代码",
  18895. "type": "string"
  18896. },
  18897. "goodsid": {
  18898. "description": "商品id",
  18899. "type": "integer"
  18900. },
  18901. "goodsname": {
  18902. "description": "商品名称",
  18903. "type": "string"
  18904. },
  18905. "hedgeaccountcode": {
  18906. "description": "对冲账号(只有外部账号才有值)",
  18907. "type": "string"
  18908. },
  18909. "middlegoodscode": {
  18910. "description": "套保商品代码",
  18911. "type": "string"
  18912. },
  18913. "middlegoodsid": {
  18914. "description": "套保商品id",
  18915. "type": "integer"
  18916. },
  18917. "middlegoodsname": {
  18918. "description": "套保商品名称",
  18919. "type": "string"
  18920. },
  18921. "ydqty": {
  18922. "description": "昨日持仓",
  18923. "type": "integer"
  18924. }
  18925. }
  18926. },
  18927. "ermcp.RealtimeExposureRsp": {
  18928. "type": "object",
  18929. "properties": {
  18930. "AreaUserID": {
  18931. "description": "所属机构",
  18932. "type": "integer"
  18933. },
  18934. "BuyFutureQty": {
  18935. "description": "买入期货数量",
  18936. "type": "number"
  18937. },
  18938. "BuyPlanQty": {
  18939. "description": "采购计划数量",
  18940. "type": "number"
  18941. },
  18942. "BuyPricedQty": {
  18943. "description": "采购合同已定价数量",
  18944. "type": "number"
  18945. },
  18946. "MiddleGoodsCode": {
  18947. "description": "套保品种代码",
  18948. "type": "string"
  18949. },
  18950. "MiddleGoodsHedgeRatio": {
  18951. "description": "套保比例",
  18952. "type": "number"
  18953. },
  18954. "MiddleGoodsID": {
  18955. "description": "套保品种",
  18956. "type": "integer"
  18957. },
  18958. "MiddleGoodsName": {
  18959. "description": "套保品种名称",
  18960. "type": "string"
  18961. },
  18962. "NeedHedgeExposoure": {
  18963. "description": "应套保敞口(套保敞口)",
  18964. "type": "number"
  18965. },
  18966. "NeedHedgeRatio": {
  18967. "description": "应套保敞口比例",
  18968. "type": "number"
  18969. },
  18970. "OriBuyFutureQty": {
  18971. "description": "期初买入期货数量",
  18972. "type": "number"
  18973. },
  18974. "OriBuyPlanQty": {
  18975. "description": "期初采购计划数量",
  18976. "type": "number"
  18977. },
  18978. "OriBuyPricedQty": {
  18979. "description": "期初采购合同已定价数量",
  18980. "type": "number"
  18981. },
  18982. "OriSellFutureQty": {
  18983. "description": "期初卖出期货数量",
  18984. "type": "number"
  18985. },
  18986. "OriSellPlanQty": {
  18987. "description": "期初销售计划数量",
  18988. "type": "number"
  18989. },
  18990. "OriSellPricedQty": {
  18991. "description": "期初销售合同已定价数量",
  18992. "type": "number"
  18993. },
  18994. "OriTotalSpotQty": {
  18995. "description": "期初现货总量",
  18996. "type": "number"
  18997. },
  18998. "SellFutureQty": {
  18999. "description": "卖出期货数量",
  19000. "type": "number"
  19001. },
  19002. "SellPlanQty": {
  19003. "description": "销售计划数量",
  19004. "type": "number"
  19005. },
  19006. "SellPricedQty": {
  19007. "description": "销售合同已定价数量",
  19008. "type": "number"
  19009. },
  19010. "TotalExposure": {
  19011. "description": "总敞口 平安:净敞口",
  19012. "type": "number"
  19013. },
  19014. "TotalFutureQty": {
  19015. "description": "期货总量 平安:保值净持仓量",
  19016. "type": "number"
  19017. },
  19018. "TotalHedgeRatio": {
  19019. "description": "敞口比例",
  19020. "type": "number"
  19021. },
  19022. "TotalNeedHedgeQty": {
  19023. "description": "应套保总量(现货应套保总量)",
  19024. "type": "number"
  19025. },
  19026. "TotalSpotQty": {
  19027. "description": "现货总量 平安:采销定价净值",
  19028. "type": "number"
  19029. },
  19030. "arbitrageqty": {
  19031. "description": "套利量",
  19032. "type": "number"
  19033. },
  19034. "diffArbitrageQty": {
  19035. "description": "期初均价",
  19036. "type": "number"
  19037. },
  19038. "diffExposoureQty": {
  19039. "description": "期初均价",
  19040. "type": "number"
  19041. },
  19042. "diffFutuQty": {
  19043. "description": "期初均价",
  19044. "type": "number"
  19045. },
  19046. "diffHedgeQty": {
  19047. "description": "期初均价",
  19048. "type": "number"
  19049. },
  19050. "diffQty": {
  19051. "description": "期初均价",
  19052. "type": "number"
  19053. },
  19054. "diffSpotHedgeQty": {
  19055. "description": "期初均价",
  19056. "type": "number"
  19057. },
  19058. "diffSpotQty": {
  19059. "description": "期初均价",
  19060. "type": "number"
  19061. },
  19062. "enumdicname": {
  19063. "description": "单位名称",
  19064. "type": "string"
  19065. },
  19066. "hedgeqty": {
  19067. "description": "套保量",
  19068. "type": "number"
  19069. },
  19070. "needarbitrageqty": {
  19071. "description": "应套利量",
  19072. "type": "number"
  19073. },
  19074. "needarbitrageratio": {
  19075. "description": "套利比例",
  19076. "type": "number"
  19077. },
  19078. "needhedgeqty": {
  19079. "description": "应套保量",
  19080. "type": "number"
  19081. },
  19082. "oriarbitrageqty": {
  19083. "description": "期初套利量",
  19084. "type": "number"
  19085. },
  19086. "orihedgeqty": {
  19087. "description": "期初套保量",
  19088. "type": "number"
  19089. },
  19090. "orineedhedgeexposoure": {
  19091. "description": "期初套保敞口",
  19092. "type": "number"
  19093. },
  19094. "oritotalexposure": {
  19095. "description": "期初总敞口",
  19096. "type": "number"
  19097. },
  19098. "oritotalfutureqty": {
  19099. "description": "期初期货总量",
  19100. "type": "number"
  19101. },
  19102. "oritotalneedhedgeqty": {
  19103. "description": "期初现货应套保量",
  19104. "type": "number"
  19105. }
  19106. }
  19107. },
  19108. "erms2.QueryArbitrageStrategyRsp": {
  19109. "type": "object",
  19110. "required": [
  19111. "asapplyid"
  19112. ],
  19113. "properties": {
  19114. "applybasis": {
  19115. "description": "申请基差",
  19116. "type": "number"
  19117. },
  19118. "asapplyid": {
  19119. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19120. "type": "string"
  19121. },
  19122. "asname": {
  19123. "description": "策略名称",
  19124. "type": "string"
  19125. },
  19126. "asno": {
  19127. "description": "策略编号",
  19128. "type": "string"
  19129. },
  19130. "basischangepl": {
  19131. "description": "基差变动损益[结算更新]",
  19132. "type": "number"
  19133. },
  19134. "biztype": {
  19135. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19136. "type": "integer"
  19137. },
  19138. "closetradedate": {
  19139. "description": "完结交易日(yyyyMMdd)",
  19140. "type": "string"
  19141. },
  19142. "curbasis": {
  19143. "description": "当前基差[结算更新]",
  19144. "type": "number"
  19145. },
  19146. "deliverygoodsid": {
  19147. "description": "现货品种ID",
  19148. "type": "integer"
  19149. },
  19150. "futureavgprice": {
  19151. "description": "期货建仓均价",
  19152. "type": "number"
  19153. },
  19154. "futurecloseamount": {
  19155. "description": "期货平仓金额",
  19156. "type": "number"
  19157. },
  19158. "futurecloseqty": {
  19159. "description": "期货平仓数量",
  19160. "type": "number"
  19161. },
  19162. "futureopenamount": {
  19163. "description": "期货开仓金额",
  19164. "type": "number"
  19165. },
  19166. "futureopenqty": {
  19167. "description": "期货开仓数量",
  19168. "type": "number"
  19169. },
  19170. "futurepl": {
  19171. "description": "期货总盈亏[结算更新]",
  19172. "type": "number"
  19173. },
  19174. "futureqty": {
  19175. "description": "期货持仓数量",
  19176. "type": "number"
  19177. },
  19178. "futurequote": {
  19179. "description": "期货额度",
  19180. "type": "number"
  19181. },
  19182. "goodsgroupid": {
  19183. "description": "期货品种ID",
  19184. "type": "integer"
  19185. },
  19186. "marketid": {
  19187. "description": "市场ID",
  19188. "type": "integer"
  19189. },
  19190. "netexposure": {
  19191. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19192. "type": "number"
  19193. },
  19194. "netexposurepl": {
  19195. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19196. "type": "number"
  19197. },
  19198. "netexposurerate": {
  19199. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19200. "type": "number"
  19201. },
  19202. "openbasis": {
  19203. "description": "建仓基差",
  19204. "type": "number"
  19205. },
  19206. "pricedspotqty": {
  19207. "description": "已定价现货数量",
  19208. "type": "number"
  19209. },
  19210. "pricedspotqtynotax": {
  19211. "description": "已定价现货不含税数量",
  19212. "type": "number"
  19213. },
  19214. "remark": {
  19215. "description": "备注",
  19216. "type": "string"
  19217. },
  19218. "spotavgprice": {
  19219. "description": "现货均价",
  19220. "type": "number"
  19221. },
  19222. "spotbuyamount": {
  19223. "description": "现货采购金额",
  19224. "type": "number"
  19225. },
  19226. "spotbuyqty": {
  19227. "description": "现货采购数量",
  19228. "type": "number"
  19229. },
  19230. "spotpl": {
  19231. "description": "现货总盈亏[结算更新]",
  19232. "type": "number"
  19233. },
  19234. "spotquota": {
  19235. "description": "现货额度",
  19236. "type": "number"
  19237. },
  19238. "spotsellamount": {
  19239. "description": "现货销售金额",
  19240. "type": "number"
  19241. },
  19242. "spotsellqty": {
  19243. "description": "现货销售数量",
  19244. "type": "number"
  19245. },
  19246. "spotusedquota": {
  19247. "description": "现货占用资金",
  19248. "type": "number"
  19249. },
  19250. "strategystatus": {
  19251. "description": "策略状态 - 0:未结束 1:已结束",
  19252. "type": "integer"
  19253. },
  19254. "totalpl": {
  19255. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19256. "type": "number"
  19257. },
  19258. "tradedate": {
  19259. "description": "交易日(yyyyMMdd)",
  19260. "type": "string"
  19261. },
  19262. "updatetime": {
  19263. "description": "更新时间",
  19264. "type": "string"
  19265. },
  19266. "usedquota": {
  19267. "description": "已占用资金",
  19268. "type": "number"
  19269. },
  19270. "userid": {
  19271. "description": "所属机构",
  19272. "type": "integer"
  19273. }
  19274. }
  19275. },
  19276. "erms2.QueryInnerTradeDetailRsp": {
  19277. "type": "object",
  19278. "required": [
  19279. "asapplyid",
  19280. "buyorsell",
  19281. "goodscode",
  19282. "goodsgroupid",
  19283. "goodsgroupname",
  19284. "goodsname",
  19285. "tradeid"
  19286. ],
  19287. "properties": {
  19288. "accountid": {
  19289. "description": "账号ID",
  19290. "type": "integer"
  19291. },
  19292. "agreeunit": {
  19293. "description": "合约单位",
  19294. "type": "number"
  19295. },
  19296. "asapplyid": {
  19297. "description": "策略申请ID",
  19298. "type": "integer"
  19299. },
  19300. "asname": {
  19301. "description": "策略名称",
  19302. "type": "string"
  19303. },
  19304. "asno": {
  19305. "description": "策略编号",
  19306. "type": "string"
  19307. },
  19308. "buyorsell": {
  19309. "description": "方向 - 0:买 1:卖",
  19310. "type": "integer"
  19311. },
  19312. "channelbuildtype": {
  19313. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19314. "type": "integer"
  19315. },
  19316. "closetype": {
  19317. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19318. "type": "integer"
  19319. },
  19320. "decimalplace": {
  19321. "description": "报价小数位",
  19322. "type": "integer"
  19323. },
  19324. "detailtype": {
  19325. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19326. "type": "integer"
  19327. },
  19328. "exexchangecode": {
  19329. "description": "外部交易所代码",
  19330. "type": "string"
  19331. },
  19332. "exexchangename": {
  19333. "description": "外部交易所名称",
  19334. "type": "string"
  19335. },
  19336. "goodscode": {
  19337. "description": "商品代码(合约)",
  19338. "type": "string"
  19339. },
  19340. "goodsgroupid": {
  19341. "description": "商品组ID(品种ID)",
  19342. "type": "integer"
  19343. },
  19344. "goodsgroupname": {
  19345. "description": "商品组名称(品种)",
  19346. "type": "string"
  19347. },
  19348. "goodsid": {
  19349. "description": "商品ID",
  19350. "type": "integer"
  19351. },
  19352. "goodsname": {
  19353. "description": "商品名称(合约)",
  19354. "type": "string"
  19355. },
  19356. "goodunit": {
  19357. "description": "报价单位",
  19358. "type": "string"
  19359. },
  19360. "marketid": {
  19361. "description": "市场ID",
  19362. "type": "integer"
  19363. },
  19364. "orderid": {
  19365. "description": "委托单号",
  19366. "type": "string"
  19367. },
  19368. "outgoodscode": {
  19369. "description": "商品代码(外部)",
  19370. "type": "string"
  19371. },
  19372. "relatedouttradeid": {
  19373. "description": "关联外部成交单ID",
  19374. "type": "string"
  19375. },
  19376. "remark": {
  19377. "description": "备注",
  19378. "type": "string"
  19379. },
  19380. "spotcontractid": {
  19381. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19382. "type": "integer"
  19383. },
  19384. "spotcontractno": {
  19385. "description": "现货合同编号",
  19386. "type": "string"
  19387. },
  19388. "tradeid": {
  19389. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19390. "type": "string"
  19391. },
  19392. "tradeprice": {
  19393. "description": "成交价格",
  19394. "type": "number"
  19395. },
  19396. "tradeqty": {
  19397. "description": "成交数量",
  19398. "type": "integer"
  19399. },
  19400. "tradetime": {
  19401. "description": "成交时间",
  19402. "type": "string"
  19403. },
  19404. "updatetime": {
  19405. "description": "更新时间",
  19406. "type": "string"
  19407. }
  19408. }
  19409. },
  19410. "erms2.QuerySpotContractRsp": {
  19411. "type": "object",
  19412. "required": [
  19413. "spotcontractid"
  19414. ],
  19415. "properties": {
  19416. "accountid": {
  19417. "description": "资金账户ID",
  19418. "type": "integer"
  19419. },
  19420. "areauserid": {
  19421. "description": "所属机构",
  19422. "type": "integer"
  19423. },
  19424. "closedate": {
  19425. "description": "终止日期",
  19426. "type": "string"
  19427. },
  19428. "closeremark": {
  19429. "description": "结束备注",
  19430. "type": "string"
  19431. },
  19432. "closetradedate": {
  19433. "description": "完结交易日(yyyyMMdd)",
  19434. "type": "string"
  19435. },
  19436. "closetype": {
  19437. "description": "终止类型 - 1:违约 2:提前终止",
  19438. "type": "integer"
  19439. },
  19440. "contractamount": {
  19441. "description": "合同金额",
  19442. "type": "number"
  19443. },
  19444. "contractattachment": {
  19445. "description": "合同附件",
  19446. "type": "string"
  19447. },
  19448. "contractno": {
  19449. "description": "现货合同编号",
  19450. "type": "string"
  19451. },
  19452. "contractqty": {
  19453. "description": "合同数量(数值) (用于计算)",
  19454. "type": "number"
  19455. },
  19456. "contractqtychar": {
  19457. "description": "合同数量\\已订价数量 (用于显示)",
  19458. "type": "string"
  19459. },
  19460. "contractstatus": {
  19461. "description": "合同状态 - 0:未结束 1:已结束",
  19462. "type": "integer"
  19463. },
  19464. "contracttype": {
  19465. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19466. "type": "integer"
  19467. },
  19468. "customeraccountid": {
  19469. "description": "客户资金账户ID",
  19470. "type": "integer"
  19471. },
  19472. "customeruserid": {
  19473. "description": "客户ID",
  19474. "type": "integer"
  19475. },
  19476. "deliverygoodsdesc": {
  19477. "description": "品种说明",
  19478. "type": "string"
  19479. },
  19480. "deliverygoodsid": {
  19481. "description": "现货品种ID",
  19482. "type": "integer"
  19483. },
  19484. "handlestatus": {
  19485. "description": "处理状态",
  19486. "type": "integer"
  19487. },
  19488. "invoiceatt": {
  19489. "description": "发票附件",
  19490. "type": "string"
  19491. },
  19492. "invoicedatetime": {
  19493. "description": "开收票更新时间",
  19494. "type": "string"
  19495. },
  19496. "invoiceopentime": {
  19497. "description": "开票时间",
  19498. "type": "string"
  19499. },
  19500. "invoiceremark": {
  19501. "description": "发票备注",
  19502. "type": "string"
  19503. },
  19504. "invoicestatus": {
  19505. "description": "开收票状态 - 0:未开票 1:已开票",
  19506. "type": "integer"
  19507. },
  19508. "lastdate": {
  19509. "description": "交货时间",
  19510. "type": "string"
  19511. },
  19512. "marketid": {
  19513. "description": "市场ID",
  19514. "type": "integer"
  19515. },
  19516. "paydatetime": {
  19517. "description": "收付款更新时间",
  19518. "type": "string"
  19519. },
  19520. "payremark": {
  19521. "description": "收付款备注",
  19522. "type": "string"
  19523. },
  19524. "paystatus": {
  19525. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19526. "type": "integer"
  19527. },
  19528. "positionqty": {
  19529. "description": "头寸数量 - 合同数量去小数部分",
  19530. "type": "integer"
  19531. },
  19532. "producttype": {
  19533. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19534. "type": "integer"
  19535. },
  19536. "relatedqty": {
  19537. "description": "已关联数量",
  19538. "type": "number"
  19539. },
  19540. "relatedstatus": {
  19541. "description": "关联完结状态 - 0:未结束 1:已结束",
  19542. "type": "integer"
  19543. },
  19544. "remark": {
  19545. "description": "备注",
  19546. "type": "string"
  19547. },
  19548. "signdate": {
  19549. "description": "签订日期",
  19550. "type": "string"
  19551. },
  19552. "spotcontractid": {
  19553. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19554. "type": "string"
  19555. },
  19556. "spotdatetime": {
  19557. "description": "收发货更新时间",
  19558. "type": "string"
  19559. },
  19560. "spotprice": {
  19561. "description": "价格",
  19562. "type": "number"
  19563. },
  19564. "spotremark": {
  19565. "description": "收发货备注",
  19566. "type": "string"
  19567. },
  19568. "spotstatus": {
  19569. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19570. "type": "integer"
  19571. },
  19572. "tradedate": {
  19573. "description": "交易日(yyyyMMdd)",
  19574. "type": "string"
  19575. },
  19576. "userid": {
  19577. "description": "业务员用户ID",
  19578. "type": "integer"
  19579. },
  19580. "warehouseid": {
  19581. "description": "仓库ID",
  19582. "type": "integer"
  19583. },
  19584. "wrfactortypeid": {
  19585. "description": "仓单要素类型ID",
  19586. "type": "integer"
  19587. },
  19588. "wrstandardid": {
  19589. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19590. "type": "integer"
  19591. }
  19592. }
  19593. },
  19594. "erms3.AddErms2ASApplyReq": {
  19595. "type": "object",
  19596. "required": [
  19597. "asapplyid"
  19598. ],
  19599. "properties": {
  19600. "applybasis": {
  19601. "description": "申请基差",
  19602. "type": "number"
  19603. },
  19604. "applystatus": {
  19605. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19606. "type": "integer"
  19607. },
  19608. "asapplyid": {
  19609. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19610. "type": "integer"
  19611. },
  19612. "asname": {
  19613. "description": "策略名称",
  19614. "type": "string"
  19615. },
  19616. "asno": {
  19617. "description": "策略编号",
  19618. "type": "string"
  19619. },
  19620. "auditid": {
  19621. "description": "审核人",
  19622. "type": "integer"
  19623. },
  19624. "auditremark": {
  19625. "description": "审核备注",
  19626. "type": "string"
  19627. },
  19628. "audittime": {
  19629. "description": "审核时间",
  19630. "type": "string"
  19631. },
  19632. "biztype": {
  19633. "description": "业务类型 - 1:正向套利 2:反向套利",
  19634. "type": "integer"
  19635. },
  19636. "createtime": {
  19637. "description": "创建时间",
  19638. "type": "string"
  19639. },
  19640. "creatorid": {
  19641. "description": "创建人",
  19642. "type": "integer"
  19643. },
  19644. "deliverygoodsid": {
  19645. "description": "现货品种ID",
  19646. "type": "integer"
  19647. },
  19648. "futurequote": {
  19649. "description": "期货额度",
  19650. "type": "number"
  19651. },
  19652. "goodsgroupid": {
  19653. "description": "期货品种ID",
  19654. "type": "integer"
  19655. },
  19656. "marketid": {
  19657. "description": "市场ID",
  19658. "type": "integer"
  19659. },
  19660. "remark": {
  19661. "description": "备注",
  19662. "type": "string"
  19663. },
  19664. "spotquota": {
  19665. "description": "现货额度",
  19666. "type": "number"
  19667. },
  19668. "tradedate": {
  19669. "description": "交易日(yyyyMMdd)",
  19670. "type": "string"
  19671. },
  19672. "userid": {
  19673. "description": "所属机构",
  19674. "type": "integer"
  19675. }
  19676. }
  19677. },
  19678. "erms3.AddErms2SpotTradeApplyReq": {
  19679. "type": "object",
  19680. "required": [
  19681. "spottradeid"
  19682. ],
  19683. "properties": {
  19684. "applyjsondetail": {
  19685. "description": "申请明细(JSON)",
  19686. "type": "string"
  19687. },
  19688. "applystatus": {
  19689. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19690. "type": "integer"
  19691. },
  19692. "areauserid": {
  19693. "description": "所属机构",
  19694. "type": "integer"
  19695. },
  19696. "auditid": {
  19697. "description": "审核人",
  19698. "type": "integer"
  19699. },
  19700. "auditremark": {
  19701. "description": "审核备注",
  19702. "type": "string"
  19703. },
  19704. "audittime": {
  19705. "description": "审核时间",
  19706. "type": "string"
  19707. },
  19708. "createtime": {
  19709. "description": "创建时间",
  19710. "type": "string"
  19711. },
  19712. "creatorid": {
  19713. "description": "创建人",
  19714. "type": "integer"
  19715. },
  19716. "deliverygoodsid": {
  19717. "description": "现货品种ID",
  19718. "type": "integer"
  19719. },
  19720. "futureaccountid": {
  19721. "description": "期货资金账户",
  19722. "type": "integer"
  19723. },
  19724. "goodsgroupid": {
  19725. "description": "期货品种",
  19726. "type": "integer"
  19727. },
  19728. "marketid": {
  19729. "description": "市场ID",
  19730. "type": "integer"
  19731. },
  19732. "remark": {
  19733. "description": "备注",
  19734. "type": "string"
  19735. },
  19736. "spotaccountid": {
  19737. "description": "现货资金账户",
  19738. "type": "integer"
  19739. },
  19740. "spottradeid": {
  19741. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19742. "type": "integer"
  19743. },
  19744. "spottradename": {
  19745. "description": "业务名称",
  19746. "type": "string"
  19747. },
  19748. "spottradeno": {
  19749. "description": "业务编号",
  19750. "type": "string"
  19751. },
  19752. "tradedate": {
  19753. "description": "交易日(yyyyMMdd)",
  19754. "type": "string"
  19755. },
  19756. "wrstandardid": {
  19757. "description": "仓单标准ID",
  19758. "type": "integer"
  19759. }
  19760. }
  19761. },
  19762. "erms3.AddSpotContractApplyReq": {
  19763. "type": "object",
  19764. "required": [
  19765. "accountid",
  19766. "areauserid",
  19767. "contractno",
  19768. "contracttype",
  19769. "customeraccountid",
  19770. "customeruserid",
  19771. "details",
  19772. "orimargin",
  19773. "signdate"
  19774. ],
  19775. "properties": {
  19776. "accountid": {
  19777. "description": "资金账户ID",
  19778. "type": "integer"
  19779. },
  19780. "areauserid": {
  19781. "description": "所属机构",
  19782. "type": "integer"
  19783. },
  19784. "contractattachment": {
  19785. "description": "合同附件",
  19786. "type": "string"
  19787. },
  19788. "contractno": {
  19789. "description": "现货合同编号",
  19790. "type": "string"
  19791. },
  19792. "contracttype": {
  19793. "description": "现货合同类型 - 1:采购 -1:销售",
  19794. "type": "integer"
  19795. },
  19796. "creatorid": {
  19797. "description": "申请人",
  19798. "type": "integer"
  19799. },
  19800. "customeraccountid": {
  19801. "description": "客户资金账户ID",
  19802. "type": "integer"
  19803. },
  19804. "customeruserid": {
  19805. "description": "客户ID",
  19806. "type": "integer"
  19807. },
  19808. "details": {
  19809. "description": "明细",
  19810. "type": "array",
  19811. "items": {
  19812. "$ref": "#/definitions/erms3.SoptContractDetail"
  19813. }
  19814. },
  19815. "orimargin": {
  19816. "description": "初始保证金",
  19817. "type": "number"
  19818. },
  19819. "remark": {
  19820. "description": "备注",
  19821. "type": "string"
  19822. },
  19823. "signdate": {
  19824. "description": "签订日期",
  19825. "type": "string"
  19826. }
  19827. }
  19828. },
  19829. "erms3.AddSpotContractApplyRsp": {
  19830. "type": "object",
  19831. "required": [
  19832. "contractno"
  19833. ],
  19834. "properties": {
  19835. "contractno": {
  19836. "description": "现货合同编号",
  19837. "type": "string"
  19838. },
  19839. "spotcontractid": {
  19840. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19841. "type": "integer"
  19842. }
  19843. }
  19844. },
  19845. "erms3.AddUserInfoApplyReq": {
  19846. "type": "object",
  19847. "required": [
  19848. "userid"
  19849. ],
  19850. "properties": {
  19851. "accountid": {
  19852. "description": "交易系统帐号Id (加密存储)",
  19853. "type": "integer"
  19854. },
  19855. "areacode": {
  19856. "description": "机构代码",
  19857. "type": "string"
  19858. },
  19859. "areaid": {
  19860. "description": "机构Id",
  19861. "type": "integer"
  19862. },
  19863. "attachment1": {
  19864. "description": "附件1",
  19865. "type": "string"
  19866. },
  19867. "attachment2": {
  19868. "description": "附件2",
  19869. "type": "string"
  19870. },
  19871. "attachment3": {
  19872. "description": "附件3",
  19873. "type": "string"
  19874. },
  19875. "attachment4": {
  19876. "description": "附件4",
  19877. "type": "string"
  19878. },
  19879. "attachment5": {
  19880. "description": "附件5",
  19881. "type": "string"
  19882. },
  19883. "auditedby": {
  19884. "description": "审核人",
  19885. "type": "string"
  19886. },
  19887. "auditime": {
  19888. "description": "审核时间",
  19889. "type": "string"
  19890. },
  19891. "auditsrc": {
  19892. "description": "审核来源 - 1:管理端 2:终端",
  19893. "type": "integer"
  19894. },
  19895. "bankaccount": {
  19896. "description": "银行帐号 (加密存储)",
  19897. "type": "string"
  19898. },
  19899. "bankaccountname": {
  19900. "description": "收款人名称",
  19901. "type": "string"
  19902. },
  19903. "bankcardbackphotourl": {
  19904. "description": "银行卡背面照地址",
  19905. "type": "string"
  19906. },
  19907. "bankcardfrontphotourl": {
  19908. "description": "银行卡正面照地址",
  19909. "type": "string"
  19910. },
  19911. "bankid": {
  19912. "description": "银行编码",
  19913. "type": "string"
  19914. },
  19915. "bankname": {
  19916. "description": "银行名称",
  19917. "type": "string"
  19918. },
  19919. "bankpictureurl": {
  19920. "description": "银行卡正面地址",
  19921. "type": "string"
  19922. },
  19923. "biznature": {
  19924. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19925. "type": "integer"
  19926. },
  19927. "bizscope": {
  19928. "description": "企业经营范围(企业)",
  19929. "type": "string"
  19930. },
  19931. "biztype": {
  19932. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19933. "type": "integer"
  19934. },
  19935. "brokerid": {
  19936. "description": "经纪人ID(加密存储)",
  19937. "type": "string"
  19938. },
  19939. "cardaddress": {
  19940. "description": "证件地址 (加密存储)",
  19941. "type": "string"
  19942. },
  19943. "cardbackphotourl": {
  19944. "description": "背面证件照地址",
  19945. "type": "string"
  19946. },
  19947. "cardfrontphotourl": {
  19948. "description": "正面证件照地址",
  19949. "type": "string"
  19950. },
  19951. "cardnum": {
  19952. "description": "证件号码 (加密存储)",
  19953. "type": "string"
  19954. },
  19955. "cardtype": {
  19956. "description": "证件类型",
  19957. "type": "integer"
  19958. },
  19959. "cityid": {
  19960. "description": "市",
  19961. "type": "integer"
  19962. },
  19963. "company": {
  19964. "description": "公司(个人)",
  19965. "type": "string"
  19966. },
  19967. "contactcardbackphotourl": {
  19968. "description": "联系人证件背面图片地址",
  19969. "type": "string"
  19970. },
  19971. "contactcardfrontphotourl": {
  19972. "description": "联系人证件正面图片地址",
  19973. "type": "string"
  19974. },
  19975. "contactname": {
  19976. "description": "联系人",
  19977. "type": "string"
  19978. },
  19979. "countryid": {
  19980. "description": "国家",
  19981. "type": "integer"
  19982. },
  19983. "createtime": {
  19984. "description": "开户申请时间",
  19985. "type": "string"
  19986. },
  19987. "cusbankid": {
  19988. "description": "签约类型",
  19989. "type": "string"
  19990. },
  19991. "cusbankname": {
  19992. "description": "签约类型名称",
  19993. "type": "string"
  19994. },
  19995. "customername": {
  19996. "description": "客户名称(企业名称)",
  19997. "type": "string"
  19998. },
  19999. "districtid": {
  20000. "description": "地区",
  20001. "type": "integer"
  20002. },
  20003. "email": {
  20004. "description": "Email地址(加密存储)",
  20005. "type": "string"
  20006. },
  20007. "halfbodyphotourl": {
  20008. "description": "半身照地址",
  20009. "type": "string"
  20010. },
  20011. "headurl": {
  20012. "description": "头像地址",
  20013. "type": "string"
  20014. },
  20015. "ipaddress": {
  20016. "description": "IP地址",
  20017. "type": "string"
  20018. },
  20019. "isvalidate": {
  20020. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20021. "type": "string"
  20022. },
  20023. "legalcardbackphotourl": {
  20024. "description": "法人身份证背面照地址",
  20025. "type": "string"
  20026. },
  20027. "legalcardfrontphotourl": {
  20028. "description": "法人身份证正面照地址",
  20029. "type": "string"
  20030. },
  20031. "legalpersonname": {
  20032. "description": "法人姓名(企业)",
  20033. "type": "string"
  20034. },
  20035. "logincode": {
  20036. "description": "登录帐号 (加密存储)",
  20037. "type": "string"
  20038. },
  20039. "memberareaid": {
  20040. "description": "所属会员ID",
  20041. "type": "integer"
  20042. },
  20043. "mobile2": {
  20044. "description": "手机号码[明文-尚志]",
  20045. "type": "string"
  20046. },
  20047. "mobilephone": {
  20048. "description": "手机号码 (加密存储)",
  20049. "type": "string"
  20050. },
  20051. "modifiedby": {
  20052. "description": "修改人帐号",
  20053. "type": "integer"
  20054. },
  20055. "modifiedtime": {
  20056. "description": "修改时间",
  20057. "type": "string"
  20058. },
  20059. "nickname": {
  20060. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20061. "type": "string"
  20062. },
  20063. "openmode": {
  20064. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20065. "type": "integer"
  20066. },
  20067. "otherurl": {
  20068. "description": "其它图片地址[使用分号分隔]",
  20069. "type": "string"
  20070. },
  20071. "postalcode": {
  20072. "description": "邮政编码",
  20073. "type": "string"
  20074. },
  20075. "provinceid": {
  20076. "description": "省",
  20077. "type": "integer"
  20078. },
  20079. "proxystatementurl": {
  20080. "description": "授权委托书",
  20081. "type": "string"
  20082. },
  20083. "qq": {
  20084. "description": "QQ(加密存储",
  20085. "type": "string"
  20086. },
  20087. "referral": {
  20088. "description": "推荐人编码",
  20089. "type": "string"
  20090. },
  20091. "remark": {
  20092. "description": "备注",
  20093. "type": "string"
  20094. },
  20095. "removebeforestatus": {
  20096. "description": "REMOVEBEFORESTATUS",
  20097. "type": "integer"
  20098. },
  20099. "sex": {
  20100. "description": "性别 - 0:女 1:男",
  20101. "type": "integer"
  20102. },
  20103. "signedstatus": {
  20104. "description": "账户一号签签约状态",
  20105. "type": "integer"
  20106. },
  20107. "signpdfurl": {
  20108. "description": "签约pdf文件",
  20109. "type": "string"
  20110. },
  20111. "subbranch": {
  20112. "description": "开户支行",
  20113. "type": "string"
  20114. },
  20115. "taxpayernum": {
  20116. "description": "纳税人识别号",
  20117. "type": "string"
  20118. },
  20119. "telphone": {
  20120. "description": "联系电话(加密存储)",
  20121. "type": "string"
  20122. },
  20123. "userid": {
  20124. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20125. "type": "integer"
  20126. },
  20127. "userinfotype": {
  20128. "description": "用户信息类型 - 1:个人 2:企业",
  20129. "type": "integer"
  20130. },
  20131. "username": {
  20132. "description": "用户姓名",
  20133. "type": "string"
  20134. },
  20135. "userstate": {
  20136. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20137. "type": "integer"
  20138. },
  20139. "usertype": {
  20140. "description": "用户类型 - 1:投资者 2:机构",
  20141. "type": "integer"
  20142. },
  20143. "videourl": {
  20144. "description": "视频地址",
  20145. "type": "string"
  20146. },
  20147. "wechat": {
  20148. "description": "微信号 (加密存储)",
  20149. "type": "string"
  20150. }
  20151. }
  20152. },
  20153. "erms3.CustomerInfo": {
  20154. "type": "object",
  20155. "required": [
  20156. "userid"
  20157. ],
  20158. "properties": {
  20159. "accountids": {
  20160. "description": "资金账户ID列表",
  20161. "type": "array",
  20162. "items": {
  20163. "type": "integer"
  20164. }
  20165. },
  20166. "customername": {
  20167. "description": "名称(企业名称)",
  20168. "type": "string"
  20169. },
  20170. "mobile": {
  20171. "description": "手机号码",
  20172. "type": "string"
  20173. },
  20174. "userid": {
  20175. "description": "用户ID",
  20176. "type": "integer"
  20177. }
  20178. }
  20179. },
  20180. "erms3.ModifyUserInfoApplyReq": {
  20181. "type": "object",
  20182. "required": [
  20183. "userid"
  20184. ],
  20185. "properties": {
  20186. "accountid": {
  20187. "description": "交易系统帐号Id (加密存储)",
  20188. "type": "integer"
  20189. },
  20190. "areacode": {
  20191. "description": "机构代码",
  20192. "type": "string"
  20193. },
  20194. "areaid": {
  20195. "description": "机构Id",
  20196. "type": "integer"
  20197. },
  20198. "attachment1": {
  20199. "description": "附件1",
  20200. "type": "string"
  20201. },
  20202. "attachment2": {
  20203. "description": "附件2",
  20204. "type": "string"
  20205. },
  20206. "attachment3": {
  20207. "description": "附件3",
  20208. "type": "string"
  20209. },
  20210. "attachment4": {
  20211. "description": "附件4",
  20212. "type": "string"
  20213. },
  20214. "attachment5": {
  20215. "description": "附件5",
  20216. "type": "string"
  20217. },
  20218. "auditedby": {
  20219. "description": "审核人",
  20220. "type": "string"
  20221. },
  20222. "auditime": {
  20223. "description": "审核时间",
  20224. "type": "string"
  20225. },
  20226. "auditsrc": {
  20227. "description": "审核来源 - 1:管理端 2:终端",
  20228. "type": "integer"
  20229. },
  20230. "bankaccount": {
  20231. "description": "银行帐号 (加密存储)",
  20232. "type": "string"
  20233. },
  20234. "bankaccountname": {
  20235. "description": "收款人名称",
  20236. "type": "string"
  20237. },
  20238. "bankcardbackphotourl": {
  20239. "description": "银行卡背面照地址",
  20240. "type": "string"
  20241. },
  20242. "bankcardfrontphotourl": {
  20243. "description": "银行卡正面照地址",
  20244. "type": "string"
  20245. },
  20246. "bankid": {
  20247. "description": "银行编码",
  20248. "type": "string"
  20249. },
  20250. "bankname": {
  20251. "description": "银行名称",
  20252. "type": "string"
  20253. },
  20254. "bankpictureurl": {
  20255. "description": "银行卡正面地址",
  20256. "type": "string"
  20257. },
  20258. "biznature": {
  20259. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20260. "type": "integer"
  20261. },
  20262. "bizscope": {
  20263. "description": "企业经营范围(企业)",
  20264. "type": "string"
  20265. },
  20266. "biztype": {
  20267. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20268. "type": "integer"
  20269. },
  20270. "brokerid": {
  20271. "description": "经纪人ID(加密存储)",
  20272. "type": "string"
  20273. },
  20274. "cardaddress": {
  20275. "description": "证件地址 (加密存储)",
  20276. "type": "string"
  20277. },
  20278. "cardbackphotourl": {
  20279. "description": "背面证件照地址",
  20280. "type": "string"
  20281. },
  20282. "cardfrontphotourl": {
  20283. "description": "正面证件照地址",
  20284. "type": "string"
  20285. },
  20286. "cardnum": {
  20287. "description": "证件号码 (加密存储)",
  20288. "type": "string"
  20289. },
  20290. "cardtype": {
  20291. "description": "证件类型",
  20292. "type": "integer"
  20293. },
  20294. "cityid": {
  20295. "description": "市",
  20296. "type": "integer"
  20297. },
  20298. "company": {
  20299. "description": "公司(个人)",
  20300. "type": "string"
  20301. },
  20302. "contactcardbackphotourl": {
  20303. "description": "联系人证件背面图片地址",
  20304. "type": "string"
  20305. },
  20306. "contactcardfrontphotourl": {
  20307. "description": "联系人证件正面图片地址",
  20308. "type": "string"
  20309. },
  20310. "contactname": {
  20311. "description": "联系人",
  20312. "type": "string"
  20313. },
  20314. "countryid": {
  20315. "description": "国家",
  20316. "type": "integer"
  20317. },
  20318. "createtime": {
  20319. "description": "开户申请时间",
  20320. "type": "string"
  20321. },
  20322. "cusbankid": {
  20323. "description": "签约类型",
  20324. "type": "string"
  20325. },
  20326. "cusbankname": {
  20327. "description": "签约类型名称",
  20328. "type": "string"
  20329. },
  20330. "customername": {
  20331. "description": "客户名称(企业名称)",
  20332. "type": "string"
  20333. },
  20334. "districtid": {
  20335. "description": "地区",
  20336. "type": "integer"
  20337. },
  20338. "email": {
  20339. "description": "Email地址(加密存储)",
  20340. "type": "string"
  20341. },
  20342. "halfbodyphotourl": {
  20343. "description": "半身照地址",
  20344. "type": "string"
  20345. },
  20346. "headurl": {
  20347. "description": "头像地址",
  20348. "type": "string"
  20349. },
  20350. "ipaddress": {
  20351. "description": "IP地址",
  20352. "type": "string"
  20353. },
  20354. "isvalidate": {
  20355. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20356. "type": "string"
  20357. },
  20358. "legalcardbackphotourl": {
  20359. "description": "法人身份证背面照地址",
  20360. "type": "string"
  20361. },
  20362. "legalcardfrontphotourl": {
  20363. "description": "法人身份证正面照地址",
  20364. "type": "string"
  20365. },
  20366. "legalpersonname": {
  20367. "description": "法人姓名(企业)",
  20368. "type": "string"
  20369. },
  20370. "logincode": {
  20371. "description": "登录帐号 (加密存储)",
  20372. "type": "string"
  20373. },
  20374. "memberareaid": {
  20375. "description": "所属会员ID",
  20376. "type": "integer"
  20377. },
  20378. "mobile2": {
  20379. "description": "手机号码[明文-尚志]",
  20380. "type": "string"
  20381. },
  20382. "mobilephone": {
  20383. "description": "手机号码 (加密存储)",
  20384. "type": "string"
  20385. },
  20386. "modifiedby": {
  20387. "description": "修改人帐号",
  20388. "type": "integer"
  20389. },
  20390. "modifiedtime": {
  20391. "description": "修改时间",
  20392. "type": "string"
  20393. },
  20394. "nickname": {
  20395. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20396. "type": "string"
  20397. },
  20398. "openmode": {
  20399. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20400. "type": "integer"
  20401. },
  20402. "otherurl": {
  20403. "description": "其它图片地址[使用分号分隔]",
  20404. "type": "string"
  20405. },
  20406. "postalcode": {
  20407. "description": "邮政编码",
  20408. "type": "string"
  20409. },
  20410. "provinceid": {
  20411. "description": "省",
  20412. "type": "integer"
  20413. },
  20414. "proxystatementurl": {
  20415. "description": "授权委托书",
  20416. "type": "string"
  20417. },
  20418. "qq": {
  20419. "description": "QQ(加密存储",
  20420. "type": "string"
  20421. },
  20422. "referral": {
  20423. "description": "推荐人编码",
  20424. "type": "string"
  20425. },
  20426. "remark": {
  20427. "description": "备注",
  20428. "type": "string"
  20429. },
  20430. "removebeforestatus": {
  20431. "description": "REMOVEBEFORESTATUS",
  20432. "type": "integer"
  20433. },
  20434. "sex": {
  20435. "description": "性别 - 0:女 1:男",
  20436. "type": "integer"
  20437. },
  20438. "signedstatus": {
  20439. "description": "账户一号签签约状态",
  20440. "type": "integer"
  20441. },
  20442. "signpdfurl": {
  20443. "description": "签约pdf文件",
  20444. "type": "string"
  20445. },
  20446. "subbranch": {
  20447. "description": "开户支行",
  20448. "type": "string"
  20449. },
  20450. "taxpayernum": {
  20451. "description": "纳税人识别号",
  20452. "type": "string"
  20453. },
  20454. "telphone": {
  20455. "description": "联系电话(加密存储)",
  20456. "type": "string"
  20457. },
  20458. "userid": {
  20459. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20460. "type": "integer"
  20461. },
  20462. "userinfotype": {
  20463. "description": "用户信息类型 - 1:个人 2:企业",
  20464. "type": "integer"
  20465. },
  20466. "username": {
  20467. "description": "用户姓名",
  20468. "type": "string"
  20469. },
  20470. "userstate": {
  20471. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20472. "type": "integer"
  20473. },
  20474. "usertype": {
  20475. "description": "用户类型 - 1:投资者 2:机构",
  20476. "type": "integer"
  20477. },
  20478. "videourl": {
  20479. "description": "视频地址",
  20480. "type": "string"
  20481. },
  20482. "wechat": {
  20483. "description": "微信号 (加密存储)",
  20484. "type": "string"
  20485. }
  20486. }
  20487. },
  20488. "erms3.QryAuditContractRsp": {
  20489. "type": "object",
  20490. "required": [
  20491. "matchcustomername",
  20492. "spotcontractid"
  20493. ],
  20494. "properties": {
  20495. "accountid": {
  20496. "description": "交易员ID",
  20497. "type": "string"
  20498. },
  20499. "applystatus": {
  20500. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20501. "type": "integer"
  20502. },
  20503. "curdeliveryqty": {
  20504. "description": "未交收量",
  20505. "type": "integer"
  20506. },
  20507. "customername": {
  20508. "description": "采购方ID",
  20509. "type": "string"
  20510. },
  20511. "deliverygoodsid": {
  20512. "description": "品种ID",
  20513. "type": "string"
  20514. },
  20515. "deliveryqty": {
  20516. "description": "交收量",
  20517. "type": "integer"
  20518. },
  20519. "enumdicname": {
  20520. "description": "单位名称",
  20521. "type": "string"
  20522. },
  20523. "matchaccountid": {
  20524. "description": "业务员ID",
  20525. "type": "string"
  20526. },
  20527. "matchcustomername": {
  20528. "description": "销售方ID",
  20529. "type": "string"
  20530. },
  20531. "pricedqty": {
  20532. "description": "定价量",
  20533. "type": "number"
  20534. },
  20535. "signdate": {
  20536. "description": "签订日期",
  20537. "type": "string"
  20538. },
  20539. "spotcontractid": {
  20540. "description": "合同ID",
  20541. "type": "string"
  20542. },
  20543. "totaldqty": {
  20544. "description": "合同量",
  20545. "type": "number"
  20546. },
  20547. "unpricedqty": {
  20548. "description": "未定价量",
  20549. "type": "number"
  20550. },
  20551. "wrstandardname": {
  20552. "description": "商品名称",
  20553. "type": "string"
  20554. }
  20555. }
  20556. },
  20557. "erms3.QryPendingBizRsp": {
  20558. "type": "object",
  20559. "properties": {
  20560. "accountid": {
  20561. "description": "现货账户",
  20562. "type": "string"
  20563. },
  20564. "areaname": {
  20565. "description": "所属部门",
  20566. "type": "string"
  20567. },
  20568. "bizid": {
  20569. "description": "业务ID",
  20570. "type": "string"
  20571. },
  20572. "bizname": {
  20573. "description": "业务名称",
  20574. "type": "string"
  20575. },
  20576. "status": {
  20577. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20578. "type": "integer"
  20579. },
  20580. "type": {
  20581. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20582. "type": "integer"
  20583. }
  20584. }
  20585. },
  20586. "erms3.QueryBusinessInfoRsp": {
  20587. "type": "object",
  20588. "properties": {
  20589. "businessid": {
  20590. "description": "业务ID.",
  20591. "type": "integer"
  20592. },
  20593. "buyamount": {
  20594. "description": "采购额.",
  20595. "type": "number"
  20596. },
  20597. "buyqty": {
  20598. "description": "采购量.",
  20599. "type": "string"
  20600. },
  20601. "futurepl": {
  20602. "description": "期货盈亏.",
  20603. "type": "number"
  20604. },
  20605. "futureqty": {
  20606. "description": "期货敞口.",
  20607. "type": "string"
  20608. },
  20609. "goodsid": {
  20610. "description": "商品名称/商品代码.",
  20611. "type": "string"
  20612. },
  20613. "hedgingqty": {
  20614. "description": "套保量.",
  20615. "type": "string"
  20616. },
  20617. "sellamount": {
  20618. "description": "销售额.",
  20619. "type": "number"
  20620. },
  20621. "sellqty": {
  20622. "description": "销售量.",
  20623. "type": "string"
  20624. },
  20625. "spotmarketvalue": {
  20626. "description": "现货市值.",
  20627. "type": "number"
  20628. },
  20629. "spotpl": {
  20630. "description": "浮动权益.",
  20631. "type": "number"
  20632. },
  20633. "spotqty": {
  20634. "description": "现货量.",
  20635. "type": "string"
  20636. },
  20637. "statu": {
  20638. "description": "状态,0-未结束 1-已结束.",
  20639. "type": "integer"
  20640. },
  20641. "totalpl": {
  20642. "description": "总盈亏.",
  20643. "type": "number"
  20644. },
  20645. "totalqty": {
  20646. "description": "总敞口.",
  20647. "type": "string"
  20648. },
  20649. "type": {
  20650. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20651. "type": "integer"
  20652. }
  20653. }
  20654. },
  20655. "erms3.QuerySpotContractAppleFormRsp": {
  20656. "type": "object",
  20657. "properties": {
  20658. "goodses": {
  20659. "description": "合约列表",
  20660. "type": "array",
  20661. "items": {
  20662. "$ref": "#/definitions/models.GoodsIDAndName"
  20663. }
  20664. },
  20665. "oppositeusers": {
  20666. "description": "对方账号列表",
  20667. "type": "array",
  20668. "items": {
  20669. "$ref": "#/definitions/erms3.CustomerInfo"
  20670. }
  20671. },
  20672. "ouruser": {
  20673. "description": "我方账号",
  20674. "$ref": "#/definitions/erms3.CustomerInfo"
  20675. },
  20676. "warehouseinfos": {
  20677. "description": "仓库信息列表",
  20678. "type": "array",
  20679. "items": {
  20680. "$ref": "#/definitions/models.Warehouseinfo"
  20681. }
  20682. },
  20683. "wrstandards": {
  20684. "description": "仓单标准列表",
  20685. "type": "array",
  20686. "items": {
  20687. "$ref": "#/definitions/models.WRStandardInfo"
  20688. }
  20689. }
  20690. }
  20691. },
  20692. "erms3.QuerySpotContractInfoRsp": {
  20693. "type": "object",
  20694. "properties": {
  20695. "accountid": {
  20696. "description": "表示交易员ID.",
  20697. "type": "integer"
  20698. },
  20699. "curdeliveryqty": {
  20700. "description": "表示未交收量.",
  20701. "type": "number"
  20702. },
  20703. "customername": {
  20704. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20705. "type": "string"
  20706. },
  20707. "deliverygoodsid": {
  20708. "description": "表示品种ID.",
  20709. "type": "string"
  20710. },
  20711. "deliveryqty": {
  20712. "description": "表示交收量.",
  20713. "type": "number"
  20714. },
  20715. "matchaccountid": {
  20716. "description": "表示业务员ID.",
  20717. "type": "integer"
  20718. },
  20719. "matchcustomername": {
  20720. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20721. "type": "string"
  20722. },
  20723. "priceqty": {
  20724. "description": "表示定价量.",
  20725. "type": "number"
  20726. },
  20727. "relatedbizid": {
  20728. "description": "表示业务ID.",
  20729. "type": "string"
  20730. },
  20731. "signdate": {
  20732. "description": "表示签订日期.",
  20733. "type": "string"
  20734. },
  20735. "spotcontractid": {
  20736. "description": "合同ID",
  20737. "type": "string"
  20738. },
  20739. "status": {
  20740. "description": "表示状态,0-履约中 1-已完成.",
  20741. "type": "integer"
  20742. },
  20743. "totalqty": {
  20744. "description": "表示合同量.",
  20745. "type": "number"
  20746. },
  20747. "unpricedqty": {
  20748. "description": "表示未定价量.",
  20749. "type": "number"
  20750. },
  20751. "wrstandardname": {
  20752. "description": "表示商品ID.",
  20753. "type": "string"
  20754. }
  20755. }
  20756. },
  20757. "erms3.QueryUserInfoAppliesRsp": {
  20758. "type": "object",
  20759. "required": [
  20760. "userid"
  20761. ],
  20762. "properties": {
  20763. "biznature": {
  20764. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20765. "type": "integer"
  20766. },
  20767. "contactname": {
  20768. "description": "联系人",
  20769. "type": "string"
  20770. },
  20771. "createtime": {
  20772. "description": "开户申请时间",
  20773. "type": "string"
  20774. },
  20775. "userid": {
  20776. "description": "用户ID(自增ID)",
  20777. "type": "integer"
  20778. },
  20779. "userinfotype": {
  20780. "description": "用户信息类型 - 1:个人 2:企业",
  20781. "type": "integer"
  20782. },
  20783. "username": {
  20784. "description": "用户姓名",
  20785. "type": "string"
  20786. },
  20787. "userstate": {
  20788. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20789. "type": "integer"
  20790. }
  20791. }
  20792. },
  20793. "erms3.QueryUserInfosRsp": {
  20794. "type": "object",
  20795. "required": [
  20796. "userid"
  20797. ],
  20798. "properties": {
  20799. "biznature": {
  20800. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20801. "type": "integer"
  20802. },
  20803. "contactname": {
  20804. "description": "联系人",
  20805. "type": "string"
  20806. },
  20807. "customername": {
  20808. "description": "客户名称(企业名称)",
  20809. "type": "string"
  20810. },
  20811. "userid": {
  20812. "description": "用户ID",
  20813. "type": "integer"
  20814. },
  20815. "userinfotype": {
  20816. "description": "用户信息类型 - 1:个人 2:企业",
  20817. "type": "integer"
  20818. },
  20819. "userstatus": {
  20820. "description": "用户状态 - 1:正常 2:注销",
  20821. "type": "integer"
  20822. }
  20823. }
  20824. },
  20825. "erms3.SoptContractDetail": {
  20826. "type": "object",
  20827. "required": [
  20828. "deliverygoodsid",
  20829. "producttype",
  20830. "unitname",
  20831. "warehouseid",
  20832. "wrstandardid",
  20833. "wrstandardname"
  20834. ],
  20835. "properties": {
  20836. "deliverygoodsdesc": {
  20837. "description": "现货品种说明",
  20838. "type": "string"
  20839. },
  20840. "deliverygoodsid": {
  20841. "description": "现货品种ID",
  20842. "type": "integer"
  20843. },
  20844. "deliverygoodsname": {
  20845. "description": "现货品种名称",
  20846. "type": "string"
  20847. },
  20848. "pointdesc": {
  20849. "description": "点价描述",
  20850. "type": "string"
  20851. },
  20852. "producttype": {
  20853. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20854. "type": "integer"
  20855. },
  20856. "producttypename": {
  20857. "description": "产品类型名称",
  20858. "type": "string"
  20859. },
  20860. "spotPointOrderVoList": {
  20861. "description": "点价列表",
  20862. "type": "array",
  20863. "items": {
  20864. "$ref": "#/definitions/erms3.SpotPointOrder"
  20865. }
  20866. },
  20867. "spotPriceOrderList": {
  20868. "description": "定价列表",
  20869. "type": "array",
  20870. "items": {
  20871. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20872. }
  20873. },
  20874. "unitname": {
  20875. "description": "单位名称",
  20876. "type": "string"
  20877. },
  20878. "warehouseid": {
  20879. "description": "仓库ID",
  20880. "type": "integer"
  20881. },
  20882. "warehousename": {
  20883. "description": "仓库名称",
  20884. "type": "string"
  20885. },
  20886. "wrstandardid": {
  20887. "description": "交易标的ID",
  20888. "type": "integer"
  20889. },
  20890. "wrstandardname": {
  20891. "description": "交易标的名称",
  20892. "type": "string"
  20893. }
  20894. }
  20895. },
  20896. "erms3.SpotPointOrder": {
  20897. "type": "object",
  20898. "required": [
  20899. "basic",
  20900. "goodsid",
  20901. "qty"
  20902. ],
  20903. "properties": {
  20904. "basic": {
  20905. "description": "基差",
  20906. "type": "number"
  20907. },
  20908. "deliveryenddate": {
  20909. "description": "交收结束日期",
  20910. "type": "string"
  20911. },
  20912. "deliverystartdate": {
  20913. "description": "交收开始日期",
  20914. "type": "string"
  20915. },
  20916. "enddate": {
  20917. "description": "点价结束日期",
  20918. "type": "string"
  20919. },
  20920. "goodsid": {
  20921. "description": "商品ID",
  20922. "type": "integer"
  20923. },
  20924. "goodsname": {
  20925. "description": "商品名称",
  20926. "type": "string"
  20927. },
  20928. "qty": {
  20929. "description": "数量",
  20930. "type": "number"
  20931. },
  20932. "startdate": {
  20933. "description": "点价开始日期",
  20934. "type": "string"
  20935. }
  20936. }
  20937. },
  20938. "erms3.SpotPriceOrder": {
  20939. "type": "object",
  20940. "required": [
  20941. "amount",
  20942. "price",
  20943. "qty"
  20944. ],
  20945. "properties": {
  20946. "amount": {
  20947. "description": "金额",
  20948. "type": "number"
  20949. },
  20950. "deliveryenddate": {
  20951. "description": "交收结束日期",
  20952. "type": "string"
  20953. },
  20954. "deliverystartdate": {
  20955. "description": "交收开始日期",
  20956. "type": "string"
  20957. },
  20958. "price": {
  20959. "description": "价格",
  20960. "type": "number"
  20961. },
  20962. "qty": {
  20963. "description": "数量",
  20964. "type": "number"
  20965. }
  20966. }
  20967. },
  20968. "models.Arearole": {
  20969. "type": "object",
  20970. "required": [
  20971. "roletype",
  20972. "userid"
  20973. ],
  20974. "properties": {
  20975. "createtime": {
  20976. "description": "创建时间",
  20977. "type": "string"
  20978. },
  20979. "creatorid": {
  20980. "description": "创建人ID",
  20981. "type": "integer"
  20982. },
  20983. "fromuserid": {
  20984. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20985. "type": "integer"
  20986. },
  20987. "isreturnscore": {
  20988. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  20989. "type": "integer"
  20990. },
  20991. "modifierid": {
  20992. "description": "修改人ID",
  20993. "type": "integer"
  20994. },
  20995. "modifytime": {
  20996. "description": "修改时间",
  20997. "type": "string"
  20998. },
  20999. "orgtype": {
  21000. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21001. "type": "integer"
  21002. },
  21003. "outuserid": {
  21004. "description": "外部账户[场外期权做市商]",
  21005. "type": "string"
  21006. },
  21007. "parentuserid": {
  21008. "description": "上级组织机构(组织机构)",
  21009. "type": "integer"
  21010. },
  21011. "roletype": {
  21012. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  21013. "type": "integer"
  21014. },
  21015. "rootuserid": {
  21016. "description": "顶级组织机构用户ID(组织机构)",
  21017. "type": "integer"
  21018. },
  21019. "shoppassword": {
  21020. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21021. "type": "string"
  21022. },
  21023. "sublevelpath": {
  21024. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21025. "type": "string"
  21026. },
  21027. "suborgtype": {
  21028. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21029. "type": "integer"
  21030. },
  21031. "tradeaccountid": {
  21032. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21033. "type": "integer"
  21034. },
  21035. "transurl": {
  21036. "description": "物流地址(物流机构)",
  21037. "type": "string"
  21038. },
  21039. "userid": {
  21040. "description": "机构用户ID其他做市关系,都设置为 1",
  21041. "type": "integer"
  21042. }
  21043. }
  21044. },
  21045. "models.BuyOrder": {
  21046. "type": "object",
  21047. "properties": {
  21048. "accountid": {
  21049. "description": "资金账户ID",
  21050. "type": "integer"
  21051. },
  21052. "buyusername": {
  21053. "description": "买方",
  21054. "type": "string"
  21055. },
  21056. "marketid": {
  21057. "description": "市场ID",
  21058. "type": "integer"
  21059. },
  21060. "ordertime": {
  21061. "description": "委托时间",
  21062. "type": "string"
  21063. },
  21064. "origin": {
  21065. "description": "原产地",
  21066. "type": "string"
  21067. },
  21068. "remark": {
  21069. "description": "备注",
  21070. "type": "string"
  21071. },
  21072. "userid": {
  21073. "description": "用户ID",
  21074. "type": "integer"
  21075. },
  21076. "validtime": {
  21077. "description": "有效期限",
  21078. "type": "string"
  21079. },
  21080. "warehouseids": {
  21081. "description": "仓库ID - 多个, 逗号分隔",
  21082. "type": "string"
  21083. },
  21084. "warehouseinfosdisplay": {
  21085. "type": "string"
  21086. },
  21087. "wrtradeorderid": {
  21088. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21089. "type": "string"
  21090. },
  21091. "wrtradeorderstatus": {
  21092. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、",
  21093. "type": "integer"
  21094. },
  21095. "zscategory": {
  21096. "description": "钻石分类 - 枚举”ZSCategory“",
  21097. "type": "integer"
  21098. },
  21099. "zscategorydisplay": {
  21100. "type": "string"
  21101. },
  21102. "zsclaritytype": {
  21103. "description": "净度 - 两个, 逗号分隔",
  21104. "type": "string"
  21105. },
  21106. "zsclaritytypedisplay": {
  21107. "type": "string"
  21108. },
  21109. "zscolortype": {
  21110. "description": "颜色 - 两个, 逗号分隔",
  21111. "type": "string"
  21112. },
  21113. "zscolortypedisplay": {
  21114. "type": "string"
  21115. },
  21116. "zscrystaltype": {
  21117. "description": "晶型 - 多个,逗号分隔",
  21118. "type": "string"
  21119. },
  21120. "zscrystaltypedisplay": {
  21121. "type": "string"
  21122. },
  21123. "zscurrencytype": {
  21124. "description": "货币类型 - 多个, 逗号分隔",
  21125. "type": "string"
  21126. },
  21127. "zscurrencytypedisplay": {
  21128. "type": "string"
  21129. },
  21130. "zscuttype": {
  21131. "description": "切工 - 两个, 逗号分隔",
  21132. "type": "string"
  21133. },
  21134. "zscuttypedisplay": {
  21135. "type": "string"
  21136. },
  21137. "zsczcolor1type": {
  21138. "description": "彩钻颜色1, 逗号分隔",
  21139. "type": "string"
  21140. },
  21141. "zsczcolor1typedisplay": {
  21142. "type": "string"
  21143. },
  21144. "zsczcolor2type": {
  21145. "description": "彩钻颜色2, 逗号分隔",
  21146. "type": "string"
  21147. },
  21148. "zsczcolor2typedisplay": {
  21149. "type": "string"
  21150. },
  21151. "zsczcolor3type": {
  21152. "description": "彩钻颜色3, 逗号分隔",
  21153. "type": "string"
  21154. },
  21155. "zsczcolor3typedisplay": {
  21156. "type": "string"
  21157. },
  21158. "zsfluorescencetype": {
  21159. "description": "荧光 - 多个, 逗号分隔",
  21160. "type": "string"
  21161. },
  21162. "zsfluorescencetypedisplay": {
  21163. "type": "string"
  21164. },
  21165. "zspolishtype": {
  21166. "description": "抛光度 - 两个, 逗号分隔",
  21167. "type": "string"
  21168. },
  21169. "zspolishtypedisplay": {
  21170. "type": "string"
  21171. },
  21172. "zsshapetype": {
  21173. "description": "形状 - 多个, 逗号分隔",
  21174. "type": "string"
  21175. },
  21176. "zsshapetypedisplay": {
  21177. "type": "string"
  21178. },
  21179. "zssize": {
  21180. "description": "尺寸 - 两个小数, 逗号分隔",
  21181. "type": "string"
  21182. },
  21183. "zsstyletype": {
  21184. "description": "款式 - 多个, 逗号分隔",
  21185. "type": "string"
  21186. },
  21187. "zsstyletypedisplay": {
  21188. "type": "string"
  21189. },
  21190. "zssymmetrytype": {
  21191. "description": "对称度 - 两个, 逗号分隔",
  21192. "type": "string"
  21193. },
  21194. "zssymmetrytypedisplay": {
  21195. "type": "string"
  21196. },
  21197. "zstabledisplay": {
  21198. "description": "求购信息",
  21199. "type": "string"
  21200. }
  21201. }
  21202. },
  21203. "models.DgFactoryItem": {
  21204. "type": "object",
  21205. "properties": {
  21206. "dgfactoryitemid": {
  21207. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21208. "type": "integer"
  21209. },
  21210. "dgfactoryitemtypeid": {
  21211. "description": "要素项类型",
  21212. "type": "integer"
  21213. },
  21214. "dgfactoryitemvalue": {
  21215. "description": "要素项值(类型为仓库时填写仓库名称)",
  21216. "type": "string"
  21217. },
  21218. "orderindex": {
  21219. "description": "顺序",
  21220. "type": "integer"
  21221. }
  21222. }
  21223. },
  21224. "models.Division": {
  21225. "type": "object",
  21226. "required": [
  21227. "autoid",
  21228. "divisioncode"
  21229. ],
  21230. "properties": {
  21231. "autoid": {
  21232. "description": "自增ID",
  21233. "type": "integer"
  21234. },
  21235. "divisioncode": {
  21236. "description": "行政代码",
  21237. "type": "string"
  21238. },
  21239. "divisionlevel": {
  21240. "description": "行政级别",
  21241. "type": "string"
  21242. },
  21243. "divisionname": {
  21244. "description": "行政名称",
  21245. "type": "string"
  21246. },
  21247. "modifierid": {
  21248. "description": "修改人",
  21249. "type": "integer"
  21250. },
  21251. "modifytime": {
  21252. "description": "修改时间",
  21253. "type": "string"
  21254. },
  21255. "parentcode": {
  21256. "description": "上级行政代码",
  21257. "type": "string"
  21258. },
  21259. "pathname": {
  21260. "description": "路径名称",
  21261. "type": "string"
  21262. },
  21263. "postcode": {
  21264. "description": "邮政编码",
  21265. "type": "string"
  21266. },
  21267. "separablename": {
  21268. "description": "可拆分的全称",
  21269. "type": "string"
  21270. },
  21271. "shortcode": {
  21272. "description": "地区简码",
  21273. "type": "string"
  21274. }
  21275. }
  21276. },
  21277. "models.Enumdicitem": {
  21278. "type": "object",
  21279. "required": [
  21280. "autoid",
  21281. "enumdiccode",
  21282. "enumdicid",
  21283. "enumitemname"
  21284. ],
  21285. "properties": {
  21286. "autoid": {
  21287. "description": "自增ID",
  21288. "type": "integer"
  21289. },
  21290. "bankmappedvalue": {
  21291. "description": "银行服务对应值",
  21292. "type": "string"
  21293. },
  21294. "enumdiccode": {
  21295. "description": "所属枚举代码",
  21296. "type": "string"
  21297. },
  21298. "enumdicid": {
  21299. "description": "所属枚举ID",
  21300. "type": "integer"
  21301. },
  21302. "enumdicname": {
  21303. "description": "枚举项名称",
  21304. "type": "string"
  21305. },
  21306. "enumitemname": {
  21307. "description": "枚举项值",
  21308. "type": "integer"
  21309. },
  21310. "enumitemstatus": {
  21311. "description": "枚举项状态 - 1.启用 2.不启用",
  21312. "type": "integer"
  21313. },
  21314. "enumitemvalue": {
  21315. "description": "通用值 - [币种通用简写]",
  21316. "type": "string"
  21317. },
  21318. "param1": {
  21319. "description": "参数1[币种:币种小数位]",
  21320. "type": "string"
  21321. },
  21322. "param2": {
  21323. "description": "参数1[币种:币种显示单位]",
  21324. "type": "string"
  21325. },
  21326. "remark": {
  21327. "description": "备注",
  21328. "type": "string"
  21329. }
  21330. }
  21331. },
  21332. "models.Ermcp2AreaExposure": {
  21333. "type": "object",
  21334. "properties": {
  21335. "areauserid": {
  21336. "description": "所属机构",
  21337. "type": "integer"
  21338. },
  21339. "enumdicname": {
  21340. "description": "单位",
  21341. "type": "string"
  21342. },
  21343. "futureqty": {
  21344. "description": "期货套期量",
  21345. "type": "number"
  21346. },
  21347. "futureqtychange": {
  21348. "description": "期货变动量 = FutureQty - OriFutureQty",
  21349. "type": "number"
  21350. },
  21351. "goodsunitid": {
  21352. "description": "单位ID",
  21353. "type": "integer"
  21354. },
  21355. "hedgedspotexposure": {
  21356. "description": "被套期现货敞口量",
  21357. "type": "number"
  21358. },
  21359. "hedgedspratio": {
  21360. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21361. "type": "number"
  21362. },
  21363. "hedgedtotalexposourechange": {
  21364. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21365. "type": "number"
  21366. },
  21367. "hedgedtotalexposure": {
  21368. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21369. "type": "number"
  21370. },
  21371. "hedgeplanqty": {
  21372. "description": "套期计划量",
  21373. "type": "number"
  21374. },
  21375. "hedgeplanqtychange": {
  21376. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21377. "type": "number"
  21378. },
  21379. "hedgespotqty": {
  21380. "description": "被套期现货量",
  21381. "type": "number"
  21382. },
  21383. "middlegoodsid": {
  21384. "description": "套保品种",
  21385. "type": "integer"
  21386. },
  21387. "middlegoodsname": {
  21388. "description": "套保品种名称",
  21389. "type": "string"
  21390. },
  21391. "orifutureqty": {
  21392. "description": "期初期货套期量",
  21393. "type": "number"
  21394. },
  21395. "orihedgedspotexposure": {
  21396. "description": "期初被套期现货敞口量",
  21397. "type": "number"
  21398. },
  21399. "orihedgedtotalexposure": {
  21400. "description": "期初套期敞口量",
  21401. "type": "number"
  21402. },
  21403. "orihedgeplanqty": {
  21404. "description": "期初套期计划量",
  21405. "type": "number"
  21406. },
  21407. "orihedgespotqty": {
  21408. "description": "期初被套期现货量",
  21409. "type": "number"
  21410. },
  21411. "orispotexposure": {
  21412. "description": "期初现货敞口量",
  21413. "type": "number"
  21414. },
  21415. "orispotqty": {
  21416. "description": "期初现货总量",
  21417. "type": "number"
  21418. },
  21419. "oritotalexposure": {
  21420. "description": "期初总敞口量",
  21421. "type": "number"
  21422. },
  21423. "spotexposure": {
  21424. "description": "现货敞口量",
  21425. "type": "number"
  21426. },
  21427. "spotqty": {
  21428. "description": "现货总量",
  21429. "type": "number"
  21430. },
  21431. "spotqtychange": {
  21432. "description": "现货变动量 = SpotQty - OriSpotQty",
  21433. "type": "number"
  21434. },
  21435. "spratio": {
  21436. "description": "总期现比例 = 期货套期量/现货敞口量",
  21437. "type": "number"
  21438. },
  21439. "totalexposure": {
  21440. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21441. "type": "number"
  21442. },
  21443. "totalexposurechange": {
  21444. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21445. "type": "number"
  21446. },
  21447. "updatetime": {
  21448. "description": "更新时间 --DATE",
  21449. "type": "string"
  21450. }
  21451. }
  21452. },
  21453. "models.Ermcp2hedgeditem": {
  21454. "type": "object",
  21455. "properties": {
  21456. "accountname": {
  21457. "description": "套期主体",
  21458. "type": "string"
  21459. },
  21460. "applyid": {
  21461. "description": "申请人",
  21462. "type": "integer"
  21463. },
  21464. "applysrc": {
  21465. "description": "申请来源 - 1:管理端 2:终端",
  21466. "type": "integer"
  21467. },
  21468. "areauserid": {
  21469. "description": "企业ID",
  21470. "type": "integer"
  21471. },
  21472. "auditid": {
  21473. "description": "审核人",
  21474. "type": "integer"
  21475. },
  21476. "auditremark": {
  21477. "description": "审核备注",
  21478. "type": "string"
  21479. },
  21480. "auditsrc": {
  21481. "description": "审核来源 - 1:管理端 2:终端",
  21482. "type": "integer"
  21483. },
  21484. "audittime": {
  21485. "description": "审核时间",
  21486. "type": "string"
  21487. },
  21488. "audittradedate": {
  21489. "description": "审核交易日(yyyyMMdd)",
  21490. "type": "string"
  21491. },
  21492. "createtime": {
  21493. "description": "申请时间",
  21494. "type": "string"
  21495. },
  21496. "curprice": {
  21497. "description": "当前市场价",
  21498. "type": "number"
  21499. },
  21500. "curstock": {
  21501. "description": "期末库存量 = 采购总量 - 销售总量",
  21502. "type": "number"
  21503. },
  21504. "deliverygoodsid": {
  21505. "description": "现货品种ID",
  21506. "type": "integer"
  21507. },
  21508. "enddate": {
  21509. "description": "完成日期",
  21510. "type": "string"
  21511. },
  21512. "endtradedate": {
  21513. "description": "完成交易日",
  21514. "type": "string"
  21515. },
  21516. "enumdicname": {
  21517. "description": "单位",
  21518. "type": "string"
  21519. },
  21520. "exeamount": {
  21521. "description": "执行市价总额",
  21522. "type": "number"
  21523. },
  21524. "exeavgprice": {
  21525. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21526. "type": "number"
  21527. },
  21528. "execontractamount": {
  21529. "description": "执行定价总额",
  21530. "type": "number"
  21531. },
  21532. "exeqty": {
  21533. "description": "执行现货量",
  21534. "type": "number"
  21535. },
  21536. "exerestamount": {
  21537. "description": "执行剩余市价总额【现货贸易】",
  21538. "type": "number"
  21539. },
  21540. "futurefloatpl": {
  21541. "description": "期货浮动损益",
  21542. "type": "number"
  21543. },
  21544. "futurehedgepl": {
  21545. "description": "期货实际损益",
  21546. "type": "number"
  21547. },
  21548. "futurehedgeplchange": {
  21549. "description": "期货实际损益变动",
  21550. "type": "number"
  21551. },
  21552. "futurepl": {
  21553. "description": "期货套期损益",
  21554. "type": "number"
  21555. },
  21556. "futureplchange": {
  21557. "description": "期货套期损益变动",
  21558. "type": "number"
  21559. },
  21560. "hedgeamount": {
  21561. "description": "套期市价总额",
  21562. "type": "number"
  21563. },
  21564. "hedgecontractamount": {
  21565. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21566. "type": "number"
  21567. },
  21568. "hedgeditemid": {
  21569. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21570. "type": "string"
  21571. },
  21572. "hedgeditemname": {
  21573. "description": "项目名称",
  21574. "type": "string"
  21575. },
  21576. "hedgeditemnum": {
  21577. "description": "项目编号",
  21578. "type": "string"
  21579. },
  21580. "hedgeditemstatus": {
  21581. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21582. "type": "integer"
  21583. },
  21584. "hedgedtype": {
  21585. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21586. "type": "integer"
  21587. },
  21588. "hedgeqty": {
  21589. "description": "套期现货量",
  21590. "type": "number"
  21591. },
  21592. "hedgerate": {
  21593. "description": "套保比率",
  21594. "type": "number"
  21595. },
  21596. "hedgerestamount": {
  21597. "description": "套期剩余市价总额【现货贸易】",
  21598. "type": "number"
  21599. },
  21600. "hedgesumpl": {
  21601. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21602. "type": "number"
  21603. },
  21604. "middlegoodslist": {
  21605. "description": "套期商品列表",
  21606. "type": "array",
  21607. "items": {
  21608. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21609. }
  21610. },
  21611. "oriavgprice": {
  21612. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21613. "type": "number"
  21614. },
  21615. "orifuturehedgepl": {
  21616. "description": "期初期货实际损益",
  21617. "type": "number"
  21618. },
  21619. "orifuturepl": {
  21620. "description": "期初期货套期损益",
  21621. "type": "number"
  21622. },
  21623. "orispothedgepl": {
  21624. "description": "期初现货实际损益",
  21625. "type": "number"
  21626. },
  21627. "orispotpl": {
  21628. "description": "期初现货套期损益",
  21629. "type": "number"
  21630. },
  21631. "planenddate": {
  21632. "description": "计划结束日期",
  21633. "type": "string"
  21634. },
  21635. "planstartdate": {
  21636. "description": "计划开始日期",
  21637. "type": "string"
  21638. },
  21639. "remark": {
  21640. "description": "备注",
  21641. "type": "string"
  21642. },
  21643. "spotbookamount": {
  21644. "description": "现货账面总额",
  21645. "type": "number"
  21646. },
  21647. "spotfloatpl": {
  21648. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21649. "type": "number"
  21650. },
  21651. "spothedgepl": {
  21652. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21653. "type": "number"
  21654. },
  21655. "spothedgeplchange": {
  21656. "description": "现货实际损益变动",
  21657. "type": "number"
  21658. },
  21659. "spotpl": {
  21660. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21661. "type": "number"
  21662. },
  21663. "spotplchange": {
  21664. "description": "现货套期损益变动",
  21665. "type": "number"
  21666. },
  21667. "spottradepl": {
  21668. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21669. "type": "number"
  21670. },
  21671. "sumobspl": {
  21672. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21673. "type": "number"
  21674. },
  21675. "tradeuserid": {
  21676. "description": "交易用户ID",
  21677. "type": "integer"
  21678. },
  21679. "unexeqty": {
  21680. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21681. "type": "number"
  21682. },
  21683. "updatetime": {
  21684. "description": "更新时间",
  21685. "type": "string"
  21686. },
  21687. "vatpl": {
  21688. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21689. "type": "number"
  21690. },
  21691. "vatrate": {
  21692. "description": "增值税",
  21693. "type": "number"
  21694. },
  21695. "wrstandardid": {
  21696. "description": "现货商品ID",
  21697. "type": "integer"
  21698. },
  21699. "wrstandardname": {
  21700. "description": "商品名称",
  21701. "type": "string"
  21702. }
  21703. }
  21704. },
  21705. "models.Ermcp2hedgeditemlink": {
  21706. "type": "object",
  21707. "required": [
  21708. "relatedspotcontractid"
  21709. ],
  21710. "properties": {
  21711. "areauserid": {
  21712. "description": "企业ID",
  21713. "type": "integer"
  21714. },
  21715. "createtime": {
  21716. "description": "[关联时间]创建时间",
  21717. "type": "string"
  21718. },
  21719. "customeruserid": {
  21720. "description": "对手方 【3:采购合同 4:销售合同】",
  21721. "type": "integer"
  21722. },
  21723. "deliverygoodsid": {
  21724. "description": "现货品种ID",
  21725. "type": "integer"
  21726. },
  21727. "enumdicname": {
  21728. "description": "单位",
  21729. "type": "string"
  21730. },
  21731. "hedgeditemid": {
  21732. "description": "被套期项目ID",
  21733. "type": "integer"
  21734. },
  21735. "hedgeditemlinkid": {
  21736. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21737. "type": "integer"
  21738. },
  21739. "hedgeditemnum": {
  21740. "description": "项目编号",
  21741. "type": "string"
  21742. },
  21743. "hedgedtype": {
  21744. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21745. "type": "integer"
  21746. },
  21747. "relatedamount": {
  21748. "description": "市价总额 = 关联数量 * 期初市场价",
  21749. "type": "number"
  21750. },
  21751. "relatedhedgeplanid": {
  21752. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21753. "type": "integer"
  21754. },
  21755. "relatedqty": {
  21756. "description": "关联数量",
  21757. "type": "number"
  21758. },
  21759. "relatedspotcontractid": {
  21760. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21761. "type": "integer"
  21762. },
  21763. "relatedtype": {
  21764. "description": "关联类型 - 1:套期关联 2:执行关联",
  21765. "type": "integer"
  21766. },
  21767. "spotgoodsbrandid": {
  21768. "description": "现货品牌ID",
  21769. "type": "integer"
  21770. },
  21771. "spotpricedamount": {
  21772. "description": "[关联定价总额]定价总额",
  21773. "type": "number"
  21774. },
  21775. "spotpricedavgprice": {
  21776. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21777. "type": "number"
  21778. },
  21779. "spottype": {
  21780. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21781. "type": "integer"
  21782. },
  21783. "tradeuserid": {
  21784. "description": "交易用户ID",
  21785. "type": "integer"
  21786. },
  21787. "unexeqty": {
  21788. "description": "未执行现货量【项目关联时值】",
  21789. "type": "number"
  21790. },
  21791. "wrstandardid": {
  21792. "description": "现货商品ID",
  21793. "type": "integer"
  21794. },
  21795. "wrstandardname": {
  21796. "description": "现货商品",
  21797. "type": "string"
  21798. }
  21799. }
  21800. },
  21801. "models.Ermcp2hedgeditemsDetail": {
  21802. "type": "object",
  21803. "properties": {
  21804. "accountname": {
  21805. "description": "套期主体",
  21806. "type": "string"
  21807. },
  21808. "areauserid": {
  21809. "description": "企业ID",
  21810. "type": "integer"
  21811. },
  21812. "createtime": {
  21813. "description": "[日期时间]创建时间",
  21814. "type": "string"
  21815. },
  21816. "customeruserid": {
  21817. "description": "对手方 【3:采购合同 4:销售合同】",
  21818. "type": "integer"
  21819. },
  21820. "deliverygoodsid": {
  21821. "description": "现货品种ID",
  21822. "type": "integer"
  21823. },
  21824. "enumdicname": {
  21825. "description": "单位",
  21826. "type": "string"
  21827. },
  21828. "hedgeditemid": {
  21829. "description": "被套期项目ID",
  21830. "type": "string"
  21831. },
  21832. "hedgeditemspotid": {
  21833. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21834. "type": "string"
  21835. },
  21836. "hedgedtype": {
  21837. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21838. "type": "integer"
  21839. },
  21840. "hedgeplanno": {
  21841. "description": "计划编号",
  21842. "type": "string"
  21843. },
  21844. "middlegoodschange": {
  21845. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21846. "type": "number"
  21847. },
  21848. "oriavgprice": {
  21849. "description": "期初市场价[当初市场价]",
  21850. "type": "number"
  21851. },
  21852. "relatedamount": {
  21853. "description": "市价总额 = 关联数量 * 期初市场价",
  21854. "type": "number"
  21855. },
  21856. "relatedhedgeplanid": {
  21857. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21858. "type": "integer"
  21859. },
  21860. "relatedqty": {
  21861. "description": "[期间变化量]关联数量",
  21862. "type": "number"
  21863. },
  21864. "relatedspotcontractid": {
  21865. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21866. "type": "integer"
  21867. },
  21868. "relatedtype": {
  21869. "description": "关联类型 - 1:套期关联 2:执行关联",
  21870. "type": "integer"
  21871. },
  21872. "spotgoodsbrandid": {
  21873. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21874. "type": "integer"
  21875. },
  21876. "spotpricedamount": {
  21877. "description": "定价总额",
  21878. "type": "number"
  21879. },
  21880. "spotpricedavgprice": {
  21881. "description": "现货均价 = 定价总额 / 关联数量",
  21882. "type": "number"
  21883. },
  21884. "spottype": {
  21885. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21886. "type": "integer"
  21887. },
  21888. "tradeuserid": {
  21889. "description": "交易用户ID",
  21890. "type": "integer"
  21891. },
  21892. "unexeqty": {
  21893. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21894. "type": "number"
  21895. },
  21896. "wrstandardid": {
  21897. "description": "现货商品ID",
  21898. "type": "integer"
  21899. },
  21900. "wrstandardname": {
  21901. "description": "现货商品",
  21902. "type": "string"
  21903. }
  21904. }
  21905. },
  21906. "models.Ermcp2hedgeditemspot": {
  21907. "type": "object",
  21908. "required": [
  21909. "hedgeditemid"
  21910. ],
  21911. "properties": {
  21912. "areauserid": {
  21913. "description": "企业ID",
  21914. "type": "integer"
  21915. },
  21916. "createtime": {
  21917. "description": "创建时间",
  21918. "type": "string"
  21919. },
  21920. "customeruserid": {
  21921. "description": "对手方 【3:采购合同 4:销售合同】",
  21922. "type": "integer"
  21923. },
  21924. "deliverygoodsid": {
  21925. "description": "现货品种ID",
  21926. "type": "integer"
  21927. },
  21928. "enumdicname": {
  21929. "description": "单位",
  21930. "type": "string"
  21931. },
  21932. "hedgeditemid": {
  21933. "description": "被套期项目ID",
  21934. "type": "string"
  21935. },
  21936. "hedgeditemspotid": {
  21937. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21938. "type": "string"
  21939. },
  21940. "hedgedtype": {
  21941. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21942. "type": "integer"
  21943. },
  21944. "hedgeplanno": {
  21945. "description": "计划编号",
  21946. "type": "string"
  21947. },
  21948. "oriavgprice": {
  21949. "description": "期初市场价[当初市场价]",
  21950. "type": "number"
  21951. },
  21952. "relatedamount": {
  21953. "description": "市价总额 = 关联数量 * 期初市场价",
  21954. "type": "number"
  21955. },
  21956. "relatedhedgeplanid": {
  21957. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21958. "type": "integer"
  21959. },
  21960. "relatedqty": {
  21961. "description": "关联数量[数量]",
  21962. "type": "number"
  21963. },
  21964. "relatedspotcontractid": {
  21965. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21966. "type": "integer"
  21967. },
  21968. "relatedtype": {
  21969. "description": "关联类型 - 1:套期关联 2:执行关联",
  21970. "type": "integer"
  21971. },
  21972. "spotgoodsbrandid": {
  21973. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21974. "type": "integer"
  21975. },
  21976. "spotpricedamount": {
  21977. "description": "定价总额",
  21978. "type": "number"
  21979. },
  21980. "spotpricedavgprice": {
  21981. "description": "现货均价 = 定价总额 / 关联数量",
  21982. "type": "number"
  21983. },
  21984. "spottype": {
  21985. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21986. "type": "integer"
  21987. },
  21988. "tradeuserid": {
  21989. "description": "交易用户ID",
  21990. "type": "integer"
  21991. },
  21992. "wrstandardid": {
  21993. "description": "现货商品ID",
  21994. "type": "integer"
  21995. },
  21996. "wrstandardname": {
  21997. "description": "现货商品",
  21998. "type": "string"
  21999. }
  22000. }
  22001. },
  22002. "models.Ermcp2hedgeditemspotDetail": {
  22003. "type": "object",
  22004. "required": [
  22005. "hedgeditemid"
  22006. ],
  22007. "properties": {
  22008. "accountname": {
  22009. "description": "对手方",
  22010. "type": "string"
  22011. },
  22012. "areauserid": {
  22013. "description": "企业ID",
  22014. "type": "integer"
  22015. },
  22016. "brandname": {
  22017. "description": "品牌",
  22018. "type": "string"
  22019. },
  22020. "contractno": {
  22021. "description": "合同编号",
  22022. "type": "string"
  22023. },
  22024. "createtime": {
  22025. "description": "创建时间",
  22026. "type": "string"
  22027. },
  22028. "customeruserid": {
  22029. "description": "对手方 【3:采购合同 4:销售合同】",
  22030. "type": "integer"
  22031. },
  22032. "deliverygoodsid": {
  22033. "description": "现货品种ID",
  22034. "type": "integer"
  22035. },
  22036. "enumdicname": {
  22037. "description": "单位",
  22038. "type": "string"
  22039. },
  22040. "hedgeditemid": {
  22041. "description": "被套期项目ID",
  22042. "type": "string"
  22043. },
  22044. "hedgeditemspotid": {
  22045. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22046. "type": "string"
  22047. },
  22048. "hedgedtype": {
  22049. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22050. "type": "integer"
  22051. },
  22052. "oriavgprice": {
  22053. "description": "期初市场价[当初市场价]",
  22054. "type": "number"
  22055. },
  22056. "relatedamount": {
  22057. "description": "市价总额 = 关联数量 * 期初市场价",
  22058. "type": "number"
  22059. },
  22060. "relatedhedgeplanid": {
  22061. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22062. "type": "integer"
  22063. },
  22064. "relatedqty": {
  22065. "description": "关联数量[数量]",
  22066. "type": "number"
  22067. },
  22068. "relatedspotcontractid": {
  22069. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22070. "type": "integer"
  22071. },
  22072. "relatedtype": {
  22073. "description": "关联类型 - 1:套期关联 2:执行关联",
  22074. "type": "integer"
  22075. },
  22076. "spotgoodsbrandid": {
  22077. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22078. "type": "integer"
  22079. },
  22080. "spotpricedamount": {
  22081. "description": "定价总额[金额]",
  22082. "type": "number"
  22083. },
  22084. "spotpricedavgprice": {
  22085. "description": "现货均价 = 定价总额 / 关联数量",
  22086. "type": "number"
  22087. },
  22088. "spottype": {
  22089. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22090. "type": "integer"
  22091. },
  22092. "tradeuserid": {
  22093. "description": "交易用户ID",
  22094. "type": "integer"
  22095. },
  22096. "wrstandardid": {
  22097. "description": "现货商品ID",
  22098. "type": "integer"
  22099. },
  22100. "wrstandardname": {
  22101. "description": "现货商品",
  22102. "type": "string"
  22103. }
  22104. }
  22105. },
  22106. "models.Ermcp2himiddlegoods": {
  22107. "type": "object",
  22108. "required": [
  22109. "hedgeditemid",
  22110. "middlegoodsid"
  22111. ],
  22112. "properties": {
  22113. "futurehedgeqty": {
  22114. "description": "期货持仓套期量",
  22115. "type": "number"
  22116. },
  22117. "hedgeditemid": {
  22118. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22119. "type": "integer"
  22120. },
  22121. "hiexpsoure": {
  22122. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22123. "type": "number"
  22124. },
  22125. "middlegoodscode": {
  22126. "description": "套保商品代码",
  22127. "type": "string"
  22128. },
  22129. "middlegoodsid": {
  22130. "description": "套保品种ID",
  22131. "type": "integer"
  22132. },
  22133. "middlegoodsname": {
  22134. "description": "套保商品名称",
  22135. "type": "string"
  22136. },
  22137. "unexehedgeqty": {
  22138. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22139. "type": "number"
  22140. }
  22141. }
  22142. },
  22143. "models.Ermcp2stockspotchangelog": {
  22144. "type": "object",
  22145. "properties": {
  22146. "accountname": {
  22147. "description": "套期主体",
  22148. "type": "string"
  22149. },
  22150. "aftervalue": {
  22151. "description": "现货量",
  22152. "type": "number"
  22153. },
  22154. "beforevalue": {
  22155. "description": "变更前现货量",
  22156. "type": "number"
  22157. },
  22158. "contractno": {
  22159. "description": "[编号]现货合同编号",
  22160. "type": "string"
  22161. },
  22162. "contracttype": {
  22163. "description": "现货合同类型 - 1:采购 -1:销售",
  22164. "type": "integer"
  22165. },
  22166. "createtime": {
  22167. "description": "创建时间",
  22168. "type": "string"
  22169. },
  22170. "customerusername": {
  22171. "description": "对手方",
  22172. "type": "string"
  22173. },
  22174. "deliverygoodsid": {
  22175. "description": "现货品种ID",
  22176. "type": "integer"
  22177. },
  22178. "exetype": {
  22179. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22180. "type": "integer"
  22181. },
  22182. "logid": {
  22183. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22184. "type": "string"
  22185. },
  22186. "logvalue": {
  22187. "description": "[期间变化量]现货量变更值",
  22188. "type": "number"
  22189. },
  22190. "middlegoodschange": {
  22191. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22192. "type": "number"
  22193. },
  22194. "operatelogtype": {
  22195. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22196. "type": "integer"
  22197. },
  22198. "relatedid": {
  22199. "description": "现货合同ID",
  22200. "type": "integer"
  22201. },
  22202. "spotgoodsbrandid": {
  22203. "description": "现货品牌ID",
  22204. "type": "integer"
  22205. },
  22206. "tradedate": {
  22207. "description": "交易日(yyyyMMdd)",
  22208. "type": "string"
  22209. },
  22210. "userid": {
  22211. "description": "机构ID",
  22212. "type": "integer"
  22213. },
  22214. "warehouseinfoid": {
  22215. "description": "仓库ID",
  22216. "type": "integer"
  22217. },
  22218. "wrfactortypeid": {
  22219. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22220. "type": "integer"
  22221. },
  22222. "wrstandardid": {
  22223. "description": "现货商品ID",
  22224. "type": "integer"
  22225. },
  22226. "wrstandardname": {
  22227. "description": "商品名称",
  22228. "type": "string"
  22229. }
  22230. }
  22231. },
  22232. "models.Ermcp3AreaSpot": {
  22233. "type": "object",
  22234. "properties": {
  22235. "areauserid": {
  22236. "description": "所属机构",
  22237. "type": "integer"
  22238. },
  22239. "convertratio": {
  22240. "description": "套保系数",
  22241. "type": "number"
  22242. },
  22243. "decreaseqty": {
  22244. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22245. "type": "number"
  22246. },
  22247. "enumdicname": {
  22248. "description": "单位名称",
  22249. "type": "string"
  22250. },
  22251. "increaseqty": {
  22252. "description": "增加数量=销售计划数量+采购已定价数量",
  22253. "type": "number"
  22254. },
  22255. "oritoalspotqty": {
  22256. "description": "昨日数量",
  22257. "type": "number"
  22258. },
  22259. "totalspotqty": {
  22260. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22261. "type": "number"
  22262. },
  22263. "unitid": {
  22264. "description": "现货商品单位id",
  22265. "type": "integer"
  22266. },
  22267. "updatetime": {
  22268. "description": "更新时间",
  22269. "type": "string"
  22270. },
  22271. "wrstandardcode": {
  22272. "description": "现货商品代码",
  22273. "type": "string"
  22274. },
  22275. "wrstandardid": {
  22276. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22277. "type": "integer"
  22278. },
  22279. "wrstandardname": {
  22280. "description": "现货商品名称",
  22281. "type": "string"
  22282. }
  22283. }
  22284. },
  22285. "models.Ermcp3AreaSpotDetail": {
  22286. "type": "object",
  22287. "properties": {
  22288. "contracttype": {
  22289. "description": "合同类型 1-采购 -1-销售",
  22290. "type": "integer"
  22291. },
  22292. "createtime": {
  22293. "description": "创建时间",
  22294. "type": "string"
  22295. },
  22296. "enumdicname": {
  22297. "description": "现货商品单位名称",
  22298. "type": "string"
  22299. },
  22300. "logtype": {
  22301. "description": "记录类型 1-套保 2-现货合同",
  22302. "type": "integer"
  22303. },
  22304. "qty": {
  22305. "description": "数量",
  22306. "type": "number"
  22307. },
  22308. "recordname": {
  22309. "description": "类型名称",
  22310. "type": "string"
  22311. },
  22312. "relatedid": {
  22313. "description": "套保计划ID/现货合同ID",
  22314. "type": "string"
  22315. },
  22316. "relatedno": {
  22317. "description": "编号",
  22318. "type": "string"
  22319. },
  22320. "strtime": {
  22321. "description": "时间",
  22322. "type": "string"
  22323. },
  22324. "wrstandardcode": {
  22325. "description": "现货商品代码",
  22326. "type": "string"
  22327. },
  22328. "wrstandardid": {
  22329. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22330. "type": "integer"
  22331. },
  22332. "wrstandardname": {
  22333. "description": "现货商品名称",
  22334. "type": "string"
  22335. }
  22336. }
  22337. },
  22338. "models.Ermcp3AreaSpotPLReport": {
  22339. "type": "object",
  22340. "properties": {
  22341. "accountid": {
  22342. "description": "期货账户ID (作废, 默认为0)",
  22343. "type": "integer"
  22344. },
  22345. "accountname": {
  22346. "description": "机构名称",
  22347. "type": "string"
  22348. },
  22349. "actualpl": {
  22350. "description": "现货损益",
  22351. "type": "number"
  22352. },
  22353. "areauserid": {
  22354. "description": "所属机构\\交易用户ID",
  22355. "type": "integer"
  22356. },
  22357. "begindate": {
  22358. "description": "开始交易日",
  22359. "type": "string"
  22360. },
  22361. "biztype": {
  22362. "description": "业务类型 - 1:套保 2:套利",
  22363. "type": "integer"
  22364. },
  22365. "brandname": {
  22366. "description": "品牌名称",
  22367. "type": "string"
  22368. },
  22369. "curamount": {
  22370. "description": "期末额",
  22371. "type": "number"
  22372. },
  22373. "curaverageprice": {
  22374. "description": "期初均价",
  22375. "type": "number"
  22376. },
  22377. "curbuyamount": {
  22378. "description": "期末采购总额",
  22379. "type": "number"
  22380. },
  22381. "curbuyqty": {
  22382. "description": "期末采购总量",
  22383. "type": "number"
  22384. },
  22385. "curmarketvalue": {
  22386. "description": "期初均价",
  22387. "type": "number"
  22388. },
  22389. "curqty": {
  22390. "description": "期末量",
  22391. "type": "number"
  22392. },
  22393. "currencyid": {
  22394. "description": "结算币种ID【原值】",
  22395. "type": "integer"
  22396. },
  22397. "currencyname": {
  22398. "description": "币种名称",
  22399. "type": "string"
  22400. },
  22401. "cursellamount": {
  22402. "description": "期末销售总额",
  22403. "type": "number"
  22404. },
  22405. "cursellqty": {
  22406. "description": "期末销售总量",
  22407. "type": "number"
  22408. },
  22409. "curspotprice": {
  22410. "description": "期初均价",
  22411. "type": "number"
  22412. },
  22413. "cycletime": {
  22414. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22415. "type": "string"
  22416. },
  22417. "cycletype": {
  22418. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22419. "type": "integer"
  22420. },
  22421. "deliverygoodscode": {
  22422. "description": "现货品种代码",
  22423. "type": "string"
  22424. },
  22425. "deliverygoodsid": {
  22426. "description": "现货品种ID",
  22427. "type": "integer"
  22428. },
  22429. "deliverygoodsname": {
  22430. "description": "现货品种名称",
  22431. "type": "string"
  22432. },
  22433. "enddate": {
  22434. "description": "结束交易日",
  22435. "type": "string"
  22436. },
  22437. "enumdicname": {
  22438. "description": "现货品种单位名称(作废)",
  22439. "type": "string"
  22440. },
  22441. "floatpl": {
  22442. "description": "期初均价",
  22443. "type": "number"
  22444. },
  22445. "goodsunitid": {
  22446. "description": "现货品种单位id(作废)",
  22447. "type": "integer"
  22448. },
  22449. "oriamount": {
  22450. "description": "期初额",
  22451. "type": "number"
  22452. },
  22453. "oriaverageprice": {
  22454. "description": "期初均价",
  22455. "type": "number"
  22456. },
  22457. "oribuyamount": {
  22458. "description": "期初采购总额",
  22459. "type": "number"
  22460. },
  22461. "oribuyqty": {
  22462. "description": "期初采购总量",
  22463. "type": "number"
  22464. },
  22465. "oriqty": {
  22466. "description": "期初量",
  22467. "type": "number"
  22468. },
  22469. "orisellamount": {
  22470. "description": "期初销售总额",
  22471. "type": "number"
  22472. },
  22473. "orisellqty": {
  22474. "description": "期初销售总量",
  22475. "type": "number"
  22476. },
  22477. "reckondate": {
  22478. "description": "日照时期(yyyyMMdd)",
  22479. "type": "string"
  22480. },
  22481. "spotgoodsbrandid": {
  22482. "description": "现货品牌ID",
  22483. "type": "integer"
  22484. },
  22485. "todaybuyamount": {
  22486. "description": "今日采购额(今采购额)",
  22487. "type": "number"
  22488. },
  22489. "todaybuyaverageprice": {
  22490. "description": "期初均价",
  22491. "type": "number"
  22492. },
  22493. "todaybuyqty": {
  22494. "description": "今日采购量(今采购量)",
  22495. "type": "number"
  22496. },
  22497. "todayinqty": {
  22498. "description": "今日入库量(今入库量)",
  22499. "type": "number"
  22500. },
  22501. "todayoutqty": {
  22502. "description": "今日出库量(今出库量)",
  22503. "type": "number"
  22504. },
  22505. "todaysellamount": {
  22506. "description": "今日销售额(今销售额)",
  22507. "type": "number"
  22508. },
  22509. "todaysellaverageprice": {
  22510. "description": "期初均价",
  22511. "type": "number"
  22512. },
  22513. "todaysellqty": {
  22514. "description": "今日销售量(今销售量)",
  22515. "type": "number"
  22516. },
  22517. "unitid": {
  22518. "description": "品类单位id",
  22519. "type": "integer"
  22520. },
  22521. "unitidname": {
  22522. "description": "品类单位名称",
  22523. "type": "string"
  22524. },
  22525. "updatetime": {
  22526. "description": "更新时间",
  22527. "type": "string"
  22528. },
  22529. "wrfactortypeid": {
  22530. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22531. "type": "integer"
  22532. },
  22533. "wrstandardcode": {
  22534. "description": "现货商品(品类)代码",
  22535. "type": "string"
  22536. },
  22537. "wrstandardid": {
  22538. "description": "现货品类ID",
  22539. "type": "integer"
  22540. },
  22541. "wrstandardname": {
  22542. "description": "现货商品(品类)名称",
  22543. "type": "string"
  22544. }
  22545. }
  22546. },
  22547. "models.Ermcp3AreaStock": {
  22548. "type": "object",
  22549. "required": [
  22550. "userid"
  22551. ],
  22552. "properties": {
  22553. "brandname": {
  22554. "description": "品牌名称",
  22555. "type": "string"
  22556. },
  22557. "curstock": {
  22558. "description": "期末库存量(今日量)",
  22559. "type": "number"
  22560. },
  22561. "deliverygoodscode": {
  22562. "description": "现货品种代码",
  22563. "type": "string"
  22564. },
  22565. "deliverygoodsid": {
  22566. "description": "现货品种id",
  22567. "type": "integer"
  22568. },
  22569. "deliverygoodsname": {
  22570. "description": "现货品种名称",
  22571. "type": "string"
  22572. },
  22573. "enumdicname": {
  22574. "description": "单位名称",
  22575. "type": "string"
  22576. },
  22577. "goodsunitid": {
  22578. "description": "现货商品单位id",
  22579. "type": "integer"
  22580. },
  22581. "oristock": {
  22582. "description": "期初库存量(昨日量)",
  22583. "type": "number"
  22584. },
  22585. "spotgoodsbrandid": {
  22586. "description": "现货品牌ID",
  22587. "type": "integer"
  22588. },
  22589. "todaybuyinqty": {
  22590. "description": "今日采购入库量",
  22591. "type": "number"
  22592. },
  22593. "todayproduceinqty": {
  22594. "description": "今日生产入库量",
  22595. "type": "number"
  22596. },
  22597. "todayproduceoutqty": {
  22598. "description": "今日生产出库量",
  22599. "type": "number"
  22600. },
  22601. "todayselloutqty": {
  22602. "description": "今日销售出库量",
  22603. "type": "number"
  22604. },
  22605. "unitid": {
  22606. "description": "单位id",
  22607. "type": "integer"
  22608. },
  22609. "updatetime": {
  22610. "description": "更新时间",
  22611. "type": "string"
  22612. },
  22613. "userid": {
  22614. "description": "机构ID",
  22615. "type": "integer"
  22616. },
  22617. "username": {
  22618. "description": "机构名称",
  22619. "type": "string"
  22620. },
  22621. "warehousecode": {
  22622. "description": "仓库代码",
  22623. "type": "string"
  22624. },
  22625. "warehouseinfoid": {
  22626. "description": "仓库ID",
  22627. "type": "string"
  22628. },
  22629. "warehousename": {
  22630. "description": "仓库名称",
  22631. "type": "string"
  22632. },
  22633. "warehousetype": {
  22634. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22635. "type": "integer"
  22636. },
  22637. "wrstandardcode": {
  22638. "description": "品类代码",
  22639. "type": "string"
  22640. },
  22641. "wrstandardid": {
  22642. "description": "品类ID",
  22643. "type": "string"
  22644. },
  22645. "wrstandardname": {
  22646. "description": "品类名称",
  22647. "type": "string"
  22648. }
  22649. }
  22650. },
  22651. "models.Ermcp3AreaStockApply": {
  22652. "type": "object",
  22653. "properties": {
  22654. "applyid": {
  22655. "description": "申请人",
  22656. "type": "integer"
  22657. },
  22658. "applyname": {
  22659. "description": "申请人名称",
  22660. "type": "string"
  22661. },
  22662. "applyremark": {
  22663. "description": "申请备注",
  22664. "type": "string"
  22665. },
  22666. "applysrc": {
  22667. "description": "申请来源 - 1:管理端 2:终端",
  22668. "type": "integer"
  22669. },
  22670. "applystatus": {
  22671. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22672. "type": "integer"
  22673. },
  22674. "applytime": {
  22675. "description": "申请时间",
  22676. "type": "string"
  22677. },
  22678. "auditid": {
  22679. "description": "审核人",
  22680. "type": "integer"
  22681. },
  22682. "auditname": {
  22683. "description": "审核人名称",
  22684. "type": "string"
  22685. },
  22686. "auditremark": {
  22687. "description": "审核备注",
  22688. "type": "string"
  22689. },
  22690. "auditsrc": {
  22691. "description": "审核来源 - 1:管理端 2:终端",
  22692. "type": "integer"
  22693. },
  22694. "audittime": {
  22695. "description": "审核时间",
  22696. "type": "string"
  22697. },
  22698. "audittradedate": {
  22699. "description": "审核交易日(yyyyMMdd)",
  22700. "type": "string"
  22701. },
  22702. "brandname": {
  22703. "description": "品牌名称",
  22704. "type": "string"
  22705. },
  22706. "buynickname": {
  22707. "description": "采购方昵称",
  22708. "type": "string"
  22709. },
  22710. "buyuserid": {
  22711. "description": "采购方userid",
  22712. "type": "integer"
  22713. },
  22714. "buyusername": {
  22715. "description": "采购方名称",
  22716. "type": "string"
  22717. },
  22718. "contractno": {
  22719. "description": "合同编号",
  22720. "type": "string"
  22721. },
  22722. "contractqty": {
  22723. "description": "合同量",
  22724. "type": "number"
  22725. },
  22726. "contracttype": {
  22727. "description": "现货合同类型 - 1:采购 -1:销售",
  22728. "type": "integer"
  22729. },
  22730. "deliverygoodscode": {
  22731. "description": "现货品种代码",
  22732. "type": "string"
  22733. },
  22734. "deliverygoodsid": {
  22735. "description": "现货品种id",
  22736. "type": "integer"
  22737. },
  22738. "deliverygoodsname": {
  22739. "description": "现货品种名称",
  22740. "type": "string"
  22741. },
  22742. "detailjson": {
  22743. "description": "明细数据",
  22744. "type": "string"
  22745. },
  22746. "enumdicname": {
  22747. "description": "现货商品单位名称",
  22748. "type": "string"
  22749. },
  22750. "inoutapplyid": {
  22751. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22752. "type": "string"
  22753. },
  22754. "inouttype": {
  22755. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22756. "type": "integer"
  22757. },
  22758. "pricetype": {
  22759. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22760. "type": "integer"
  22761. },
  22762. "qty": {
  22763. "description": "数量",
  22764. "type": "number"
  22765. },
  22766. "sellnickname": {
  22767. "description": "销售方昵称",
  22768. "type": "string"
  22769. },
  22770. "selluserid": {
  22771. "description": "销售方userid",
  22772. "type": "integer"
  22773. },
  22774. "sellusername": {
  22775. "description": "销售方名称",
  22776. "type": "string"
  22777. },
  22778. "spotcontractid": {
  22779. "description": "关联现货合同ID",
  22780. "type": "string"
  22781. },
  22782. "spotgoodsbrandid": {
  22783. "description": "现货品牌ID",
  22784. "type": "integer"
  22785. },
  22786. "unitid": {
  22787. "description": "单位id",
  22788. "type": "integer"
  22789. },
  22790. "userid": {
  22791. "description": "机构ID",
  22792. "type": "integer"
  22793. },
  22794. "warehousecode": {
  22795. "description": "仓库代码",
  22796. "type": "string"
  22797. },
  22798. "warehouseinfoid": {
  22799. "description": "现货仓库ID",
  22800. "type": "string"
  22801. },
  22802. "warehousename": {
  22803. "description": "仓库名称",
  22804. "type": "string"
  22805. },
  22806. "warehousetype": {
  22807. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22808. "type": "integer"
  22809. },
  22810. "wrstandardcode": {
  22811. "description": "品类代码",
  22812. "type": "string"
  22813. },
  22814. "wrstandardid": {
  22815. "description": "品类ID",
  22816. "type": "integer"
  22817. },
  22818. "wrstandardname": {
  22819. "description": "品类名称",
  22820. "type": "string"
  22821. }
  22822. }
  22823. },
  22824. "models.Ermcp3AreaStockApplySum": {
  22825. "type": "object",
  22826. "properties": {
  22827. "brandname": {
  22828. "description": "品牌名称",
  22829. "type": "string"
  22830. },
  22831. "inouttype": {
  22832. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22833. "type": "integer"
  22834. },
  22835. "spotcontractid": {
  22836. "description": "关联现货合同ID",
  22837. "type": "string"
  22838. },
  22839. "spotgoodsbrandid": {
  22840. "description": "品牌id",
  22841. "type": "integer"
  22842. },
  22843. "totalqty": {
  22844. "description": "总数量",
  22845. "type": "number"
  22846. },
  22847. "wrstandardid": {
  22848. "description": "品类id",
  22849. "type": "integer"
  22850. },
  22851. "wrstandardname": {
  22852. "description": "品类名称",
  22853. "type": "string"
  22854. }
  22855. }
  22856. },
  22857. "models.Ermcp3AreaStockReportEx": {
  22858. "type": "object",
  22859. "properties": {
  22860. "begindate": {
  22861. "description": "开始交易日",
  22862. "type": "string"
  22863. },
  22864. "brandname": {
  22865. "description": "品牌名称",
  22866. "type": "string"
  22867. },
  22868. "curstock": {
  22869. "description": "期末库存量",
  22870. "type": "number"
  22871. },
  22872. "cycletime": {
  22873. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22874. "type": "string"
  22875. },
  22876. "cycletype": {
  22877. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22878. "type": "integer"
  22879. },
  22880. "deliverygoodscode": {
  22881. "description": "现货品种代码",
  22882. "type": "string"
  22883. },
  22884. "deliverygoodsid": {
  22885. "description": "现货品种id",
  22886. "type": "integer"
  22887. },
  22888. "deliverygoodsname": {
  22889. "description": "现货品种名称",
  22890. "type": "string"
  22891. },
  22892. "diffqty": {
  22893. "description": "库存变化量 = 期末 - 期初",
  22894. "type": "number"
  22895. },
  22896. "enddate": {
  22897. "description": "结束交易日",
  22898. "type": "string"
  22899. },
  22900. "enumdicname": {
  22901. "description": "单位名称",
  22902. "type": "string"
  22903. },
  22904. "goodsunitid": {
  22905. "description": "现货单位id",
  22906. "type": "integer"
  22907. },
  22908. "oristock": {
  22909. "description": "期初库存量",
  22910. "type": "number"
  22911. },
  22912. "reckondate": {
  22913. "description": "日照时期(yyyyMMdd)",
  22914. "type": "string"
  22915. },
  22916. "spotgoodsbrandid": {
  22917. "description": "现货品牌ID",
  22918. "type": "integer"
  22919. },
  22920. "todaybuyinqty": {
  22921. "description": "今采购入库量",
  22922. "type": "number"
  22923. },
  22924. "todayproduceinqty": {
  22925. "description": "今内部入库量",
  22926. "type": "number"
  22927. },
  22928. "todayproduceoutqty": {
  22929. "description": "今内部出库量",
  22930. "type": "number"
  22931. },
  22932. "todayselloutqty": {
  22933. "description": "今销售出库量",
  22934. "type": "number"
  22935. },
  22936. "unbuyinqty": {
  22937. "description": "采购未入库量(数据库未找到相关字段?)",
  22938. "type": "number"
  22939. },
  22940. "unitid": {
  22941. "description": "品类单位id",
  22942. "type": "integer"
  22943. },
  22944. "unselloutqty": {
  22945. "description": "销售未出库量(数据库未找到相关字段?)",
  22946. "type": "number"
  22947. },
  22948. "updatetime": {
  22949. "description": "更新时间",
  22950. "type": "string"
  22951. },
  22952. "userid": {
  22953. "description": "机构ID",
  22954. "type": "integer"
  22955. },
  22956. "username": {
  22957. "description": "机构名称",
  22958. "type": "string"
  22959. },
  22960. "warehousecode": {
  22961. "description": "仓库代码",
  22962. "type": "string"
  22963. },
  22964. "warehouseinfoid": {
  22965. "description": "仓库ID",
  22966. "type": "string"
  22967. },
  22968. "warehousename": {
  22969. "description": "仓库名称",
  22970. "type": "string"
  22971. },
  22972. "warehousetype": {
  22973. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22974. "type": "integer"
  22975. },
  22976. "wrstandardcode": {
  22977. "description": "品类代码",
  22978. "type": "string"
  22979. },
  22980. "wrstandardid": {
  22981. "description": "品类ID",
  22982. "type": "integer"
  22983. },
  22984. "wrstandardname": {
  22985. "description": "品类名称",
  22986. "type": "string"
  22987. }
  22988. }
  22989. },
  22990. "models.Ermcp3ArealSumPL": {
  22991. "type": "object",
  22992. "properties": {
  22993. "accountname": {
  22994. "description": "机构名称",
  22995. "type": "string"
  22996. },
  22997. "areauserid": {
  22998. "description": "所属机构\\交易用户ID",
  22999. "type": "integer"
  23000. },
  23001. "begindate": {
  23002. "description": "开始交易日",
  23003. "type": "string"
  23004. },
  23005. "currencyid": {
  23006. "description": "结算币种ID",
  23007. "type": "integer"
  23008. },
  23009. "currencyname": {
  23010. "description": "币种名称",
  23011. "type": "string"
  23012. },
  23013. "cycletime": {
  23014. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23015. "type": "string"
  23016. },
  23017. "cycletype": {
  23018. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23019. "type": "integer"
  23020. },
  23021. "enddate": {
  23022. "description": "结束交易日",
  23023. "type": "string"
  23024. },
  23025. "enumdicname": {
  23026. "description": "单位名称(套保品种)",
  23027. "type": "string"
  23028. },
  23029. "futureactualpl": {
  23030. "description": "期货损益",
  23031. "type": "number"
  23032. },
  23033. "futurefloatpl": {
  23034. "description": "期货浮动损益",
  23035. "type": "number"
  23036. },
  23037. "futurespotratio": {
  23038. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23039. "type": "number"
  23040. },
  23041. "goodsunitid": {
  23042. "description": "套保品种单位id",
  23043. "type": "integer"
  23044. },
  23045. "hedgeexposurepl": {
  23046. "description": "套保敞口损益",
  23047. "type": "number"
  23048. },
  23049. "middlegoodscode": {
  23050. "description": "套保品种代码",
  23051. "type": "string"
  23052. },
  23053. "middlegoodsid": {
  23054. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23055. "type": "integer"
  23056. },
  23057. "middlegoodsname": {
  23058. "description": "套保品种名称",
  23059. "type": "string"
  23060. },
  23061. "reckondate": {
  23062. "description": "日照时期(yyyyMMdd)",
  23063. "type": "string"
  23064. },
  23065. "spotactualpl": {
  23066. "description": "现货损益",
  23067. "type": "number"
  23068. },
  23069. "spotfloatpl": {
  23070. "description": "现货浮动损益",
  23071. "type": "number"
  23072. },
  23073. "sumactualpl": {
  23074. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23075. "type": "number"
  23076. },
  23077. "sumpl": {
  23078. "description": "总敞口损益 | 汇总损益",
  23079. "type": "number"
  23080. },
  23081. "totalfutureqty": {
  23082. "description": "期货头寸总量",
  23083. "type": "number"
  23084. },
  23085. "totalneedhedgeqty": {
  23086. "description": "应套保总量",
  23087. "type": "number"
  23088. },
  23089. "totalspotqty": {
  23090. "description": "现货头寸总量",
  23091. "type": "number"
  23092. },
  23093. "updatetime": {
  23094. "description": "更新时间",
  23095. "type": "string"
  23096. }
  23097. }
  23098. },
  23099. "models.Ermcp3Brand": {
  23100. "type": "object",
  23101. "properties": {
  23102. "areauserid": {
  23103. "description": "用户id",
  23104. "type": "integer"
  23105. },
  23106. "brandid": {
  23107. "description": "品牌id",
  23108. "type": "integer"
  23109. },
  23110. "brandname": {
  23111. "description": "品牌名称",
  23112. "type": "string"
  23113. },
  23114. "deliverygoodsid": {
  23115. "description": "品种ID",
  23116. "type": "integer"
  23117. },
  23118. "isvalid": {
  23119. "description": "是否有效",
  23120. "type": "integer"
  23121. }
  23122. }
  23123. },
  23124. "models.Ermcp3Contract": {
  23125. "type": "object",
  23126. "properties": {
  23127. "accountid": {
  23128. "description": "期货账户id",
  23129. "type": "string"
  23130. },
  23131. "amount": {
  23132. "description": "金额 [1:一口价、3:暂定价]",
  23133. "type": "number"
  23134. },
  23135. "attachment": {
  23136. "description": "附件",
  23137. "type": "string"
  23138. },
  23139. "auditremark": {
  23140. "description": "审核意见",
  23141. "type": "string"
  23142. },
  23143. "audittime": {
  23144. "description": "审核时间",
  23145. "type": "string"
  23146. },
  23147. "biztype": {
  23148. "description": "业务类型 1-套保 2-套利",
  23149. "type": "integer"
  23150. },
  23151. "brandname": {
  23152. "description": "品牌名称",
  23153. "type": "string"
  23154. },
  23155. "buynickname": {
  23156. "description": "销售方昵称",
  23157. "type": "string"
  23158. },
  23159. "buyuserid": {
  23160. "description": "采购方ID",
  23161. "type": "integer"
  23162. },
  23163. "buyusername": {
  23164. "description": "采购方名称",
  23165. "type": "string"
  23166. },
  23167. "contracctstatus": {
  23168. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23169. "type": "integer"
  23170. },
  23171. "contractmargin": {
  23172. "description": "合同保证金",
  23173. "type": "number"
  23174. },
  23175. "contractno": {
  23176. "description": "现货合同编号",
  23177. "type": "string"
  23178. },
  23179. "contracttype": {
  23180. "description": "现货合同类型 - 1:采购 -1:销售",
  23181. "type": "integer"
  23182. },
  23183. "convertfactor": {
  23184. "description": "标仓系数(品类)",
  23185. "type": "number"
  23186. },
  23187. "createtime": {
  23188. "description": "创建时间",
  23189. "type": "string"
  23190. },
  23191. "currencyid": {
  23192. "description": "币种id",
  23193. "type": "integer"
  23194. },
  23195. "currencyname": {
  23196. "description": "币种名称",
  23197. "type": "string"
  23198. },
  23199. "deliveryenddate": {
  23200. "description": "交收期(结束)",
  23201. "type": "string"
  23202. },
  23203. "deliverygoodscode": {
  23204. "description": "现货品种代码",
  23205. "type": "string"
  23206. },
  23207. "deliverygoodsid": {
  23208. "description": "现货品种ID",
  23209. "type": "integer"
  23210. },
  23211. "deliverygoodsname": {
  23212. "description": "现货品种名称",
  23213. "type": "string"
  23214. },
  23215. "deliverystartdate": {
  23216. "description": "交收期(开始)",
  23217. "type": "string"
  23218. },
  23219. "enddate": {
  23220. "description": "点价结束日期 [2:点价 3:暂定价]",
  23221. "type": "string"
  23222. },
  23223. "enumdicname": {
  23224. "description": "单位名称",
  23225. "type": "string"
  23226. },
  23227. "goodscode": {
  23228. "description": "点价合约代码",
  23229. "type": "string"
  23230. },
  23231. "goodsid": {
  23232. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23233. "type": "integer"
  23234. },
  23235. "goodsname": {
  23236. "description": "点价商品名称",
  23237. "type": "string"
  23238. },
  23239. "margin": {
  23240. "description": "当前保证金",
  23241. "type": "number"
  23242. },
  23243. "meruserid": {
  23244. "description": "跟单员id",
  23245. "type": "integer"
  23246. },
  23247. "meruserlogincode": {
  23248. "description": "跟单员登录代码",
  23249. "type": "string"
  23250. },
  23251. "merusername": {
  23252. "description": "跟单员名称",
  23253. "type": "string"
  23254. },
  23255. "pointdesc": {
  23256. "description": "点价备注",
  23257. "type": "string"
  23258. },
  23259. "price": {
  23260. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23261. "type": "number"
  23262. },
  23263. "pricemove": {
  23264. "description": "升贴水 [2:点价 3:暂定价]",
  23265. "type": "number"
  23266. },
  23267. "pricetype": {
  23268. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23269. "type": "integer"
  23270. },
  23271. "producttype": {
  23272. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23273. "type": "integer"
  23274. },
  23275. "qty": {
  23276. "description": "数量",
  23277. "type": "number"
  23278. },
  23279. "remark": {
  23280. "description": "备注",
  23281. "type": "string"
  23282. },
  23283. "saleuserid": {
  23284. "description": "业务员id",
  23285. "type": "integer"
  23286. },
  23287. "saleuserlogincode": {
  23288. "description": "业务员登录代码",
  23289. "type": "string"
  23290. },
  23291. "saleusername": {
  23292. "description": "业务员名称",
  23293. "type": "string"
  23294. },
  23295. "sellnickname": {
  23296. "description": "采购方昵称",
  23297. "type": "string"
  23298. },
  23299. "selluserid": {
  23300. "description": "销售方ID",
  23301. "type": "integer"
  23302. },
  23303. "sellusername": {
  23304. "description": "销售方名称",
  23305. "type": "string"
  23306. },
  23307. "spotcontractid": {
  23308. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23309. "type": "string"
  23310. },
  23311. "spotgoodsbrandid": {
  23312. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23313. "type": "integer"
  23314. },
  23315. "spotgoodsdesc": {
  23316. "description": "商品型号",
  23317. "type": "string"
  23318. },
  23319. "startdate": {
  23320. "description": "点价开始日期 [2:点价 3:暂定价]",
  23321. "type": "string"
  23322. },
  23323. "subjectid": {
  23324. "description": "交易主体ID",
  23325. "type": "integer"
  23326. },
  23327. "subjectname": {
  23328. "description": "交易主体名称",
  23329. "type": "string"
  23330. },
  23331. "tradeuserid": {
  23332. "description": "交易员id",
  23333. "type": "integer"
  23334. },
  23335. "tradeuserlogincode": {
  23336. "description": "交易员登录代码",
  23337. "type": "string"
  23338. },
  23339. "tradeusername": {
  23340. "description": "交易员名称",
  23341. "type": "string"
  23342. },
  23343. "unitid": {
  23344. "description": "单位id(取品类上的单位id)",
  23345. "type": "integer"
  23346. },
  23347. "updatetime": {
  23348. "description": "更新时间",
  23349. "type": "string"
  23350. },
  23351. "userid": {
  23352. "description": "所属机构ID",
  23353. "type": "integer"
  23354. },
  23355. "vatrate": {
  23356. "description": "增值税率",
  23357. "type": "number"
  23358. },
  23359. "wrstandardcode": {
  23360. "description": "品类代码",
  23361. "type": "string"
  23362. },
  23363. "wrstandardid": {
  23364. "description": "品类ID",
  23365. "type": "integer"
  23366. },
  23367. "wrstandardname": {
  23368. "description": "品类名称",
  23369. "type": "string"
  23370. }
  23371. }
  23372. },
  23373. "models.Ermcp3ContractMiddleGoodsCfg": {
  23374. "type": "object",
  23375. "properties": {
  23376. "agreeunit": {
  23377. "description": "合约乘数",
  23378. "type": "number"
  23379. },
  23380. "convertratio": {
  23381. "description": "期货品种系数",
  23382. "type": "number"
  23383. },
  23384. "covertqty": {
  23385. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23386. "type": "integer"
  23387. },
  23388. "middlegoodsid": {
  23389. "description": "套保品种ID",
  23390. "type": "integer"
  23391. },
  23392. "middlegoodspricedqty3": {
  23393. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23394. "type": "string",
  23395. "example": "0"
  23396. },
  23397. "pendingpricedqty": {
  23398. "description": "待点价量",
  23399. "type": "string",
  23400. "example": "0"
  23401. },
  23402. "relatedmiddlegoodsqty": {
  23403. "description": "已关联量(套保品种-期货)",
  23404. "type": "string",
  23405. "example": "0"
  23406. },
  23407. "spotcontractid": {
  23408. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23409. "type": "string"
  23410. }
  23411. }
  23412. },
  23413. "models.Ermcp3ExposureContractDetail": {
  23414. "type": "object",
  23415. "properties": {
  23416. "biztype": {
  23417. "description": "业务类型 1-套保 2-套利",
  23418. "type": "integer"
  23419. },
  23420. "brandname": {
  23421. "description": "品牌名称",
  23422. "type": "string"
  23423. },
  23424. "buyuserid": {
  23425. "description": "采购方id",
  23426. "type": "integer"
  23427. },
  23428. "buyusername": {
  23429. "description": "采购方名称",
  23430. "type": "string"
  23431. },
  23432. "contractno": {
  23433. "description": "合同编号",
  23434. "type": "string"
  23435. },
  23436. "contracttype": {
  23437. "description": "现货合同类型 - 1:采购 -1:销售",
  23438. "type": "integer"
  23439. },
  23440. "convertfactor": {
  23441. "description": "标仓系数",
  23442. "type": "number"
  23443. },
  23444. "convertratio": {
  23445. "description": "折算系数(套保品种)",
  23446. "type": "number"
  23447. },
  23448. "curqty": {
  23449. "description": "今定价量",
  23450. "type": "number"
  23451. },
  23452. "deliverygoodscode": {
  23453. "description": "现货品种代码",
  23454. "type": "string"
  23455. },
  23456. "deliverygoodsid": {
  23457. "description": "现货品种id",
  23458. "type": "integer"
  23459. },
  23460. "deliverygoodsname": {
  23461. "description": "现货品种名称",
  23462. "type": "string"
  23463. },
  23464. "diffhedgeqty": {
  23465. "description": "套保变动量",
  23466. "type": "number"
  23467. },
  23468. "diffneedhedgeqty": {
  23469. "description": "应套保变动量",
  23470. "type": "number"
  23471. },
  23472. "diffqty": {
  23473. "description": "套保品种今变动量",
  23474. "type": "number"
  23475. },
  23476. "enumdicname": {
  23477. "description": "单位名称",
  23478. "type": "string"
  23479. },
  23480. "mgunitname": {
  23481. "description": "套保品种单位名称",
  23482. "type": "string"
  23483. },
  23484. "middlegoodscode": {
  23485. "description": "套保品种代码",
  23486. "type": "string"
  23487. },
  23488. "middlegoodsid": {
  23489. "description": "套保品种id",
  23490. "type": "integer"
  23491. },
  23492. "middlegoodsname": {
  23493. "description": "套保品种名称",
  23494. "type": "string"
  23495. },
  23496. "needarbitrageratio": {
  23497. "description": "应套利比例",
  23498. "type": "number"
  23499. },
  23500. "needhedgeratio": {
  23501. "description": "应套保比例",
  23502. "type": "number"
  23503. },
  23504. "pricedqty": {
  23505. "description": "已定价量",
  23506. "type": "number"
  23507. },
  23508. "qty": {
  23509. "description": "合同量",
  23510. "type": "number"
  23511. },
  23512. "reckondate": {
  23513. "description": "交易日(reckondate)",
  23514. "type": "string"
  23515. },
  23516. "selluserid": {
  23517. "description": "销售方id",
  23518. "type": "integer"
  23519. },
  23520. "sellusername": {
  23521. "description": "销售方名称",
  23522. "type": "string"
  23523. },
  23524. "spotcontractid": {
  23525. "description": "合同id",
  23526. "type": "string"
  23527. },
  23528. "todaypricedqty": {
  23529. "description": "今定价量",
  23530. "type": "number"
  23531. },
  23532. "tradedate": {
  23533. "description": "交易日",
  23534. "type": "string"
  23535. },
  23536. "unitid": {
  23537. "description": "品类单位id",
  23538. "type": "integer"
  23539. },
  23540. "userid": {
  23541. "description": "机构id",
  23542. "type": "integer"
  23543. },
  23544. "username": {
  23545. "description": "交易用户",
  23546. "type": "string"
  23547. },
  23548. "wrstandardcode": {
  23549. "description": "现货商品代码",
  23550. "type": "string"
  23551. },
  23552. "wrstandardid": {
  23553. "description": "现货商品id",
  23554. "type": "integer"
  23555. },
  23556. "wrstandardname": {
  23557. "description": "现货商品名称",
  23558. "type": "string"
  23559. }
  23560. }
  23561. },
  23562. "models.Ermcp3ExposureDetail": {
  23563. "type": "object",
  23564. "properties": {
  23565. "areauserid": {
  23566. "description": "机构ID",
  23567. "type": "integer"
  23568. },
  23569. "changeQty": {
  23570. "description": "套保变动量",
  23571. "type": "number"
  23572. },
  23573. "contracttype": {
  23574. "description": "现货合同类型 - 1:采购 -1:销售",
  23575. "type": "integer"
  23576. },
  23577. "convertfactor": {
  23578. "description": "标仓系数",
  23579. "type": "number"
  23580. },
  23581. "convertratio": {
  23582. "description": "折算系数",
  23583. "type": "number"
  23584. },
  23585. "createtime": {
  23586. "description": "时间",
  23587. "type": "string"
  23588. },
  23589. "enumdicname": {
  23590. "description": "现货商品单位名称",
  23591. "type": "string"
  23592. },
  23593. "logtype": {
  23594. "description": "类型 - 1:套保计划 2:现货合同",
  23595. "type": "integer"
  23596. },
  23597. "mgunitid": {
  23598. "description": "套保品种单位id",
  23599. "type": "integer"
  23600. },
  23601. "mgunitidname": {
  23602. "description": "套保品种单位名称",
  23603. "type": "string"
  23604. },
  23605. "middlegoodsId": {
  23606. "description": "套保商品id",
  23607. "type": "integer"
  23608. },
  23609. "middlegoodscode": {
  23610. "description": "套保商品代码",
  23611. "type": "string"
  23612. },
  23613. "middlegoodsname": {
  23614. "description": "套保商品名称",
  23615. "type": "string"
  23616. },
  23617. "qty": {
  23618. "description": "数量",
  23619. "type": "number"
  23620. },
  23621. "relateNo": {
  23622. "description": "现货合同/套保计划编号",
  23623. "type": "string"
  23624. },
  23625. "unitid": {
  23626. "description": "现货商品单位id",
  23627. "type": "integer"
  23628. },
  23629. "wrstandardcode": {
  23630. "description": "现货商品代码",
  23631. "type": "string"
  23632. },
  23633. "wrstandardid": {
  23634. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23635. "type": "integer"
  23636. },
  23637. "wrstandardname": {
  23638. "description": "现货商品名称",
  23639. "type": "string"
  23640. }
  23641. }
  23642. },
  23643. "models.Ermcp3ExposureFutuDetail": {
  23644. "type": "object",
  23645. "properties": {
  23646. "accountid": {
  23647. "description": "交易账户id",
  23648. "type": "integer"
  23649. },
  23650. "accountname": {
  23651. "description": "交易账户",
  23652. "type": "string"
  23653. },
  23654. "begindate": {
  23655. "description": "开始交易日",
  23656. "type": "string"
  23657. },
  23658. "buyorsell": {
  23659. "description": "方向 0-买 1-卖",
  23660. "type": "integer"
  23661. },
  23662. "diffmgqty": {
  23663. "description": "套保品种今变化量",
  23664. "type": "number"
  23665. },
  23666. "diffneedqty": {
  23667. "description": "应套保总量变化量",
  23668. "type": "number"
  23669. },
  23670. "difftradeqty": {
  23671. "description": "交易品种今变化量",
  23672. "type": "number"
  23673. },
  23674. "enddate": {
  23675. "description": "结束交易日",
  23676. "type": "string"
  23677. },
  23678. "enumdicname": {
  23679. "description": "单位名称",
  23680. "type": "string"
  23681. },
  23682. "goodscode": {
  23683. "description": "商品代码",
  23684. "type": "string"
  23685. },
  23686. "goodsid": {
  23687. "description": "商品id",
  23688. "type": "integer"
  23689. },
  23690. "goodsname": {
  23691. "description": "商品名称",
  23692. "type": "string"
  23693. },
  23694. "holdqty": {
  23695. "description": "期末持仓量",
  23696. "type": "number"
  23697. },
  23698. "middlegoodscode": {
  23699. "description": "套保商品代码",
  23700. "type": "string"
  23701. },
  23702. "middlegoodsid": {
  23703. "description": "套保商品id",
  23704. "type": "integer"
  23705. },
  23706. "middlegoodsname": {
  23707. "description": "套保商品名称",
  23708. "type": "string"
  23709. },
  23710. "oriholdqty": {
  23711. "description": "期初持仓量",
  23712. "type": "number"
  23713. },
  23714. "reckondate": {
  23715. "description": "交易日(RECKONDATE)",
  23716. "type": "string"
  23717. },
  23718. "todaycloseqty": {
  23719. "description": "今平仓量",
  23720. "type": "number"
  23721. },
  23722. "todayopenqty": {
  23723. "description": "今开仓量",
  23724. "type": "number"
  23725. },
  23726. "tradedate": {
  23727. "description": "交易日(RECKONDATE)",
  23728. "type": "string"
  23729. },
  23730. "username": {
  23731. "description": "用户名称(交易用户)",
  23732. "type": "string"
  23733. }
  23734. }
  23735. },
  23736. "models.Ermcp3ExposureHedgeplanDetail": {
  23737. "type": "object",
  23738. "properties": {
  23739. "biztype": {
  23740. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23741. "type": "integer"
  23742. },
  23743. "changqty": {
  23744. "description": "应套保总量变化量",
  23745. "type": "number"
  23746. },
  23747. "contracttype": {
  23748. "description": "计划类型 - 1:采购 -1:销售",
  23749. "type": "integer"
  23750. },
  23751. "convertratio": {
  23752. "description": "折算系数(套保品种)",
  23753. "type": "number"
  23754. },
  23755. "deliverygoodscode": {
  23756. "description": "现货商品代码",
  23757. "type": "string"
  23758. },
  23759. "deliverygoodsid": {
  23760. "description": "现货商品id",
  23761. "type": "integer"
  23762. },
  23763. "deliverygoodsname": {
  23764. "description": "现货商吕名称",
  23765. "type": "string"
  23766. },
  23767. "dgunitid": {
  23768. "description": "现货商品单位id",
  23769. "type": "integer"
  23770. },
  23771. "dgunitidname": {
  23772. "description": "单位名称(现货商品)",
  23773. "type": "string"
  23774. },
  23775. "diffqty": {
  23776. "description": "套保品种今变动量",
  23777. "type": "number"
  23778. },
  23779. "enumdicname": {
  23780. "description": "单位名称(品类)",
  23781. "type": "string"
  23782. },
  23783. "hedgeplanid": {
  23784. "description": "套保计划id",
  23785. "type": "string"
  23786. },
  23787. "hedgeplanno": {
  23788. "description": "套保计划名称",
  23789. "type": "string"
  23790. },
  23791. "hedgeplanstatus": {
  23792. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23793. "type": "integer"
  23794. },
  23795. "mgunitidname": {
  23796. "description": "单位名称(套保商品)",
  23797. "type": "string"
  23798. },
  23799. "middlegoodscode": {
  23800. "description": "套保品种代码",
  23801. "type": "string"
  23802. },
  23803. "middlegoodsid": {
  23804. "description": "套保品种id",
  23805. "type": "integer"
  23806. },
  23807. "middlegoodsname": {
  23808. "description": "套保品种名称",
  23809. "type": "string"
  23810. },
  23811. "needarbitrageratio": {
  23812. "description": "应套利比例",
  23813. "type": "number"
  23814. },
  23815. "needhedgeratio": {
  23816. "description": "应套保比例",
  23817. "type": "number"
  23818. },
  23819. "pricedqty": {
  23820. "description": "已定价量",
  23821. "type": "number"
  23822. },
  23823. "qty": {
  23824. "description": "合同量",
  23825. "type": "number"
  23826. },
  23827. "reckondate": {
  23828. "description": "交易日(reckondate)",
  23829. "type": "string"
  23830. },
  23831. "tradedate": {
  23832. "description": "交易日(登记日)",
  23833. "type": "string"
  23834. },
  23835. "unitid": {
  23836. "description": "品类单位id",
  23837. "type": "integer"
  23838. },
  23839. "userid": {
  23840. "description": "机构id",
  23841. "type": "integer"
  23842. },
  23843. "wrstandardcode": {
  23844. "description": "品类代码",
  23845. "type": "string"
  23846. },
  23847. "wrstandardid": {
  23848. "description": "品类id",
  23849. "type": "integer"
  23850. },
  23851. "wrstandardname": {
  23852. "description": "品类名称",
  23853. "type": "string"
  23854. }
  23855. }
  23856. },
  23857. "models.Ermcp3ExposureParamChLog": {
  23858. "type": "object",
  23859. "properties": {
  23860. "accountid": {
  23861. "description": "期货账户ID (作废, 默认为0)",
  23862. "type": "integer"
  23863. },
  23864. "aftervalue": {
  23865. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23866. "type": "number"
  23867. },
  23868. "areauserid": {
  23869. "description": "所属机构\\交易用户ID",
  23870. "type": "integer"
  23871. },
  23872. "beforevalue": {
  23873. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23874. "type": "number"
  23875. },
  23876. "begindate": {
  23877. "description": "开始交易日",
  23878. "type": "string"
  23879. },
  23880. "changelogtype": {
  23881. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23882. "type": "integer"
  23883. },
  23884. "curvalue": {
  23885. "description": "当前套保\\套利量(套保总量|套利总量)",
  23886. "type": "number"
  23887. },
  23888. "diffvalue": {
  23889. "description": "应套保总量变化量",
  23890. "type": "number"
  23891. },
  23892. "enddate": {
  23893. "description": "结束交易日",
  23894. "type": "string"
  23895. },
  23896. "logdatetime": {
  23897. "description": "流水日期",
  23898. "type": "string"
  23899. },
  23900. "logid": {
  23901. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23902. "type": "string"
  23903. },
  23904. "middlegoodscode": {
  23905. "description": "套保品种代码",
  23906. "type": "string"
  23907. },
  23908. "middlegoodsid": {
  23909. "description": "套保品种",
  23910. "type": "integer"
  23911. },
  23912. "middlegoodsname": {
  23913. "description": "套保品种名称",
  23914. "type": "string"
  23915. },
  23916. "paramaftervalue": {
  23917. "description": "参数变更后(调整后参数值)",
  23918. "type": "number"
  23919. },
  23920. "parambeforevalue": {
  23921. "description": "参数变更前(调整前参数值)",
  23922. "type": "number"
  23923. },
  23924. "reckondate": {
  23925. "description": "交易日(reckondate)",
  23926. "type": "string"
  23927. },
  23928. "tradedate": {
  23929. "description": "交易日(yyyyMMdd)",
  23930. "type": "string"
  23931. }
  23932. }
  23933. },
  23934. "models.Ermcp3ExpourseReport": {
  23935. "type": "object",
  23936. "properties": {
  23937. "accountid": {
  23938. "description": "期货账户ID (作废, 默认为0)",
  23939. "type": "integer"
  23940. },
  23941. "accountname": {
  23942. "description": "机构名称",
  23943. "type": "string"
  23944. },
  23945. "arbitrageqty": {
  23946. "description": "套利量",
  23947. "type": "number"
  23948. },
  23949. "areauserid": {
  23950. "description": "所属机构\\交易用户ID",
  23951. "type": "integer"
  23952. },
  23953. "begindate": {
  23954. "description": "开始交易日",
  23955. "type": "string"
  23956. },
  23957. "buyfutureqty": {
  23958. "description": "买入期货数量",
  23959. "type": "number"
  23960. },
  23961. "buyplanqty": {
  23962. "description": "采购计划数量",
  23963. "type": "number"
  23964. },
  23965. "buypricedqty": {
  23966. "description": "采购合同已定价数量",
  23967. "type": "number"
  23968. },
  23969. "cycletime": {
  23970. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23971. "type": "string"
  23972. },
  23973. "cycletype": {
  23974. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23975. "type": "integer"
  23976. },
  23977. "diffexposure": {
  23978. "description": "变动量(套保敞口)",
  23979. "type": "number"
  23980. },
  23981. "difffutuqty": {
  23982. "description": "变动量(期货)",
  23983. "type": "number"
  23984. },
  23985. "diffhedgeqty": {
  23986. "description": "变动量(现货应套保总量)",
  23987. "type": "number"
  23988. },
  23989. "diffmgqtya": {
  23990. "description": "套保变动量",
  23991. "type": "number"
  23992. },
  23993. "diffmgqtyb": {
  23994. "description": "套利变动量",
  23995. "type": "number"
  23996. },
  23997. "diffneedqty": {
  23998. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  23999. "type": "number"
  24000. },
  24001. "diffqty": {
  24002. "description": "变动量(总敞口)",
  24003. "type": "number"
  24004. },
  24005. "diffspotqty": {
  24006. "description": "变动量(现货) | 除税变动量",
  24007. "type": "number"
  24008. },
  24009. "enddate": {
  24010. "description": "结束交易日",
  24011. "type": "string"
  24012. },
  24013. "enumdicname": {
  24014. "description": "单位名称",
  24015. "type": "string"
  24016. },
  24017. "hedgeqty": {
  24018. "description": "套保量",
  24019. "type": "number"
  24020. },
  24021. "mgneedhedgeratio": {
  24022. "description": "套保比例(套保品的)",
  24023. "type": "number"
  24024. },
  24025. "middlegoodsid": {
  24026. "description": "套保品种ID",
  24027. "type": "integer"
  24028. },
  24029. "middlegoodsname": {
  24030. "description": "套保商品名称",
  24031. "type": "string"
  24032. },
  24033. "middlgoodscode": {
  24034. "description": "套保商品代码",
  24035. "type": "string"
  24036. },
  24037. "needarbitrageqty": {
  24038. "description": "应套利量",
  24039. "type": "number"
  24040. },
  24041. "needarbitrageratio": {
  24042. "description": "套利比例(套保品的)",
  24043. "type": "number"
  24044. },
  24045. "needhedgeexposoure": {
  24046. "description": "应套保敞口(套保敞口)",
  24047. "type": "number"
  24048. },
  24049. "needhedgeqty": {
  24050. "description": "应套保量",
  24051. "type": "number"
  24052. },
  24053. "needhedgeratio": {
  24054. "description": "应套保敞口比例",
  24055. "type": "number"
  24056. },
  24057. "needqty": {
  24058. "description": "应套总量 = 应套保量 + 应套利量",
  24059. "type": "number"
  24060. },
  24061. "oriarbitrageqty": {
  24062. "description": "期初套利量",
  24063. "type": "number"
  24064. },
  24065. "oribuyfutureqty": {
  24066. "description": "期初买入期货数量",
  24067. "type": "number"
  24068. },
  24069. "oribuyplanqty": {
  24070. "description": "期初采购计划数量",
  24071. "type": "number"
  24072. },
  24073. "oribuypricedqty": {
  24074. "description": "期初采购合同已定价数量",
  24075. "type": "number"
  24076. },
  24077. "orihedgeqty": {
  24078. "description": "期初套保量",
  24079. "type": "number"
  24080. },
  24081. "orineedarbitrageqty": {
  24082. "description": "期初应套利量",
  24083. "type": "number"
  24084. },
  24085. "orineedhedgeexposoure": {
  24086. "description": "期初应套保敞口",
  24087. "type": "number"
  24088. },
  24089. "orineedhedgeqty": {
  24090. "description": "期初应套保量",
  24091. "type": "number"
  24092. },
  24093. "orisellfutureqty": {
  24094. "description": "期初卖出期货数量",
  24095. "type": "number"
  24096. },
  24097. "orisellplanqty": {
  24098. "description": "期初销售计划数量",
  24099. "type": "number"
  24100. },
  24101. "orisellpricedqty": {
  24102. "description": "期初销售合同已定价数量",
  24103. "type": "number"
  24104. },
  24105. "oritotalexposure": {
  24106. "description": "期初实时总敞口",
  24107. "type": "number"
  24108. },
  24109. "oritotalfutureqty": {
  24110. "description": "期初期货头寸总量",
  24111. "type": "number"
  24112. },
  24113. "oritotalneedhedgeqty": {
  24114. "description": "期初应套保总量",
  24115. "type": "number"
  24116. },
  24117. "oritotalspotqty": {
  24118. "description": "期初现货头寸总量",
  24119. "type": "number"
  24120. },
  24121. "reckondate": {
  24122. "description": "日照时期(yyyyMMdd)",
  24123. "type": "string"
  24124. },
  24125. "sellfutureqty": {
  24126. "description": "卖出期货数量",
  24127. "type": "number"
  24128. },
  24129. "sellplanqty": {
  24130. "description": "销售计划数量",
  24131. "type": "number"
  24132. },
  24133. "sellpricedqty": {
  24134. "description": "销售合同已定价数量",
  24135. "type": "number"
  24136. },
  24137. "totalexposure": {
  24138. "description": "实时总敞口(总敞口)",
  24139. "type": "number"
  24140. },
  24141. "totalfutureqty": {
  24142. "description": "期货头寸总量(期货总量)",
  24143. "type": "number"
  24144. },
  24145. "totalhedgeratio": {
  24146. "description": "敞口比例",
  24147. "type": "number"
  24148. },
  24149. "totalneedhedgeqty": {
  24150. "description": "应套保总量(现货应套保总量)",
  24151. "type": "number"
  24152. },
  24153. "totalspotqty": {
  24154. "description": "现货头寸总量 | 除税总量",
  24155. "type": "number"
  24156. },
  24157. "unitid": {
  24158. "description": "单位id",
  24159. "type": "integer"
  24160. },
  24161. "updatetime": {
  24162. "description": "更新时间",
  24163. "type": "string"
  24164. }
  24165. }
  24166. },
  24167. "models.Ermcp3FinanceReport": {
  24168. "type": "object",
  24169. "properties": {
  24170. "accountname": {
  24171. "description": "机构名称",
  24172. "type": "string"
  24173. },
  24174. "areauserid": {
  24175. "description": "所属机构\\交易用户ID",
  24176. "type": "integer"
  24177. },
  24178. "begindate": {
  24179. "description": "开始交易日",
  24180. "type": "string"
  24181. },
  24182. "biztype": {
  24183. "description": "业务类型 - 1:套保 2:套利",
  24184. "type": "integer"
  24185. },
  24186. "brandname": {
  24187. "description": "品牌名称",
  24188. "type": "string"
  24189. },
  24190. "buypreinvoicedamount": {
  24191. "description": "采购预收票额(预收票额)",
  24192. "type": "number"
  24193. },
  24194. "buyprepaidamount": {
  24195. "description": "采购预付款额(预付货款额)",
  24196. "type": "number"
  24197. },
  24198. "buytodayinvoiceamount": {
  24199. "description": "采购今收票额(今收票额)",
  24200. "type": "number"
  24201. },
  24202. "buytodayrefundamount": {
  24203. "description": "采购今收退款额(今收退款额)",
  24204. "type": "number"
  24205. },
  24206. "buytodaysettleamount": {
  24207. "description": "采购今付款额(今付货款额)",
  24208. "type": "number"
  24209. },
  24210. "buyuninvoicedamount": {
  24211. "description": "采购应收票额(应收票额)",
  24212. "type": "number"
  24213. },
  24214. "buyunpaidamount": {
  24215. "description": "采购应付款额(应付货款额)",
  24216. "type": "number"
  24217. },
  24218. "currencyid": {
  24219. "description": "结算币种ID",
  24220. "type": "integer"
  24221. },
  24222. "currencyname": {
  24223. "description": "币种名称",
  24224. "type": "string"
  24225. },
  24226. "cycletime": {
  24227. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24228. "type": "string"
  24229. },
  24230. "cycletype": {
  24231. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24232. "type": "integer"
  24233. },
  24234. "deliverygoodscode": {
  24235. "description": "现货品种代码",
  24236. "type": "string"
  24237. },
  24238. "deliverygoodsid": {
  24239. "description": "现货品种ID",
  24240. "type": "integer"
  24241. },
  24242. "deliverygoodsname": {
  24243. "description": "现货品种名称",
  24244. "type": "string"
  24245. },
  24246. "enddate": {
  24247. "description": "结束交易日",
  24248. "type": "string"
  24249. },
  24250. "reckondate": {
  24251. "description": "日照时期(yyyyMMdd)",
  24252. "type": "string"
  24253. },
  24254. "sellpreinvoicedamount": {
  24255. "description": "销售预开票额(预开票额)",
  24256. "type": "number"
  24257. },
  24258. "sellprepaidamount": {
  24259. "description": "销售预收款额(预收货款额)",
  24260. "type": "number"
  24261. },
  24262. "selltodayinvoiceamount": {
  24263. "description": "销售今开票额(今开票额)",
  24264. "type": "number"
  24265. },
  24266. "selltodayrefundamount": {
  24267. "description": "销售今付退款额(今付退款额)",
  24268. "type": "number"
  24269. },
  24270. "selltodaysettleamount": {
  24271. "description": "销售今收款额(今收货款额)",
  24272. "type": "number"
  24273. },
  24274. "selluninvoicedamount": {
  24275. "description": "销售应开票额(应开票额)",
  24276. "type": "number"
  24277. },
  24278. "sellunpaidamount": {
  24279. "description": "销售应收款额(应收货款额)",
  24280. "type": "number"
  24281. },
  24282. "spotgoodsbrandid": {
  24283. "description": "现货品牌ID",
  24284. "type": "integer"
  24285. },
  24286. "todaypaysum": {
  24287. "description": "今付款合计",
  24288. "type": "number"
  24289. },
  24290. "todayreceivesum": {
  24291. "description": "今收款合计",
  24292. "type": "number"
  24293. },
  24294. "updatetime": {
  24295. "description": "更新时间",
  24296. "type": "string"
  24297. },
  24298. "wrfactortypeid": {
  24299. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24300. "type": "integer"
  24301. },
  24302. "wrstandardcode": {
  24303. "description": "品类代码",
  24304. "type": "string"
  24305. },
  24306. "wrstandardid": {
  24307. "description": "现货商品ID",
  24308. "type": "integer"
  24309. },
  24310. "wrstandardname": {
  24311. "description": "品类名称",
  24312. "type": "string"
  24313. }
  24314. }
  24315. },
  24316. "models.Ermcp3GoodsGroup": {
  24317. "type": "object",
  24318. "required": [
  24319. "areauserid"
  24320. ],
  24321. "properties": {
  24322. "agreeunit": {
  24323. "description": "合约单位",
  24324. "type": "number"
  24325. },
  24326. "areauserid": {
  24327. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24328. "type": "integer"
  24329. },
  24330. "canshort": {
  24331. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24332. "type": "integer"
  24333. },
  24334. "closepricemode": {
  24335. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24336. "type": "integer"
  24337. },
  24338. "createtime": {
  24339. "description": "创建时间",
  24340. "type": "string"
  24341. },
  24342. "creatorid": {
  24343. "description": "创建人",
  24344. "type": "integer"
  24345. },
  24346. "currencyid": {
  24347. "description": "报价货币ID",
  24348. "type": "integer"
  24349. },
  24350. "decimalplace": {
  24351. "description": "报价小数位",
  24352. "type": "integer"
  24353. },
  24354. "enumdicname": {
  24355. "description": "单位名称",
  24356. "type": "string"
  24357. },
  24358. "exchangefullname": {
  24359. "description": "交易所全称",
  24360. "type": "string"
  24361. },
  24362. "excludecfg": {
  24363. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24364. "type": "integer"
  24365. },
  24366. "exexchangecode": {
  24367. "description": "交易所代码",
  24368. "type": "string"
  24369. },
  24370. "exexchangeid": {
  24371. "description": "外部交易所ID[通道交易]",
  24372. "type": "integer"
  24373. },
  24374. "exexchangename": {
  24375. "description": "交易所名称",
  24376. "type": "string"
  24377. },
  24378. "goodsgroupid": {
  24379. "description": "商品组ID(自增ID)",
  24380. "type": "integer"
  24381. },
  24382. "goodsgroupname": {
  24383. "description": "商品组名称",
  24384. "type": "string"
  24385. },
  24386. "goodsgroupstatus": {
  24387. "description": "商品组状态 - 1:正常 2:注销",
  24388. "type": "integer"
  24389. },
  24390. "goodunitid": {
  24391. "description": "报价单位ID",
  24392. "type": "integer"
  24393. },
  24394. "groupcategroyid": {
  24395. "description": "品种分类ID",
  24396. "type": "integer"
  24397. },
  24398. "innerdealmode": {
  24399. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24400. "type": "integer"
  24401. },
  24402. "marketid": {
  24403. "description": "所属市场ID",
  24404. "type": "integer"
  24405. },
  24406. "modifierid": {
  24407. "description": "修改人",
  24408. "type": "integer"
  24409. },
  24410. "modifytime": {
  24411. "description": "修改时间",
  24412. "type": "string"
  24413. },
  24414. "outerdealmode": {
  24415. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24416. "type": "integer"
  24417. },
  24418. "outergroupcode": {
  24419. "description": "外部商品组代码[通道交易]",
  24420. "type": "string"
  24421. },
  24422. "quoteminunit": {
  24423. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24424. "type": "integer"
  24425. },
  24426. "quotesourcegroupid": {
  24427. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24428. "type": "integer"
  24429. },
  24430. "syncgoodsqty": {
  24431. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24432. "type": "integer"
  24433. }
  24434. }
  24435. },
  24436. "models.Ermcp3HPMiddleGoods": {
  24437. "type": "object",
  24438. "properties": {
  24439. "biztype": {
  24440. "description": "业务类型 1:套保 2:套利",
  24441. "type": "integer"
  24442. },
  24443. "contracttype": {
  24444. "description": "合同类型 1:采购 -1:销售",
  24445. "type": "integer"
  24446. },
  24447. "convertratio": {
  24448. "description": "折算系数",
  24449. "type": "number"
  24450. },
  24451. "customername": {
  24452. "description": "对手手名称",
  24453. "type": "string"
  24454. },
  24455. "customeruserid": {
  24456. "description": "对手id",
  24457. "type": "integer"
  24458. },
  24459. "enumdicname": {
  24460. "description": "现货单位名称",
  24461. "type": "string"
  24462. },
  24463. "hedgeplanid": {
  24464. "description": "计划id",
  24465. "type": "string"
  24466. },
  24467. "hedgeplanno": {
  24468. "description": "计划编号",
  24469. "type": "string"
  24470. },
  24471. "middlegoodsid": {
  24472. "description": "套保品种ID",
  24473. "type": "integer"
  24474. },
  24475. "middlegoodsplanqty3": {
  24476. "description": "应套保计划量",
  24477. "type": "number"
  24478. },
  24479. "needhedgeratio": {
  24480. "description": "套保比例",
  24481. "type": "number"
  24482. },
  24483. "pricedqty": {
  24484. "description": "已定价量",
  24485. "type": "number"
  24486. },
  24487. "relatedmiddlegoodsqty": {
  24488. "description": "已关联量(套保品种)(期货)",
  24489. "type": "number"
  24490. },
  24491. "unitid": {
  24492. "description": "现货单位id",
  24493. "type": "integer"
  24494. },
  24495. "userid": {
  24496. "description": "用户id",
  24497. "type": "integer"
  24498. },
  24499. "vatrate": {
  24500. "description": "增值税率",
  24501. "type": "number"
  24502. },
  24503. "wrstandardcode": {
  24504. "description": "现货商品代码",
  24505. "type": "string"
  24506. },
  24507. "wrstandardid": {
  24508. "description": "现货商品id",
  24509. "type": "integer"
  24510. },
  24511. "wrstandardname": {
  24512. "description": "现货商品名称",
  24513. "type": "string"
  24514. }
  24515. }
  24516. },
  24517. "models.Ermcp3HedgePlan": {
  24518. "type": "object",
  24519. "properties": {
  24520. "accountid": {
  24521. "description": "资金账号",
  24522. "type": "integer"
  24523. },
  24524. "areauserid": {
  24525. "description": "用户ID",
  24526. "type": "integer"
  24527. },
  24528. "auditid": {
  24529. "description": "审核id",
  24530. "type": "integer"
  24531. },
  24532. "auditname": {
  24533. "description": "审核人名称",
  24534. "type": "string"
  24535. },
  24536. "auditremark": {
  24537. "description": "审核备注",
  24538. "type": "string"
  24539. },
  24540. "auditsrc": {
  24541. "description": "审核来源 1-管理端 2-终端",
  24542. "type": "integer"
  24543. },
  24544. "audittime": {
  24545. "description": "审核时间",
  24546. "type": "string"
  24547. },
  24548. "contracttype": {
  24549. "description": "计划类型 - 1:采购 -1:销售",
  24550. "type": "integer"
  24551. },
  24552. "convertfactor": {
  24553. "description": "标仓系数",
  24554. "type": "number"
  24555. },
  24556. "createtime": {
  24557. "description": "创建时间",
  24558. "type": "string"
  24559. },
  24560. "currencyid": {
  24561. "description": "币种id",
  24562. "type": "integer"
  24563. },
  24564. "currencyname": {
  24565. "description": "币种名称",
  24566. "type": "string"
  24567. },
  24568. "deliverygoodscode": {
  24569. "description": "现货品种代码",
  24570. "type": "string"
  24571. },
  24572. "deliverygoodsid": {
  24573. "description": "现货品种ID",
  24574. "type": "integer"
  24575. },
  24576. "deliverygoodsname": {
  24577. "description": "现货品种名称",
  24578. "type": "string"
  24579. },
  24580. "enumdicname": {
  24581. "description": "单位名称(现货商品)",
  24582. "type": "string"
  24583. },
  24584. "hedgeplanid": {
  24585. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24586. "type": "string"
  24587. },
  24588. "hedgeplanno": {
  24589. "description": "套保计划编号(名称)",
  24590. "type": "string"
  24591. },
  24592. "hedgeplanstatus": {
  24593. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24594. "type": "integer"
  24595. },
  24596. "planqty": {
  24597. "description": "计划数量",
  24598. "type": "number"
  24599. },
  24600. "plantime": {
  24601. "description": "计划时间",
  24602. "type": "string"
  24603. },
  24604. "producttype": {
  24605. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24606. "type": "integer"
  24607. },
  24608. "remark": {
  24609. "description": "备注",
  24610. "type": "string"
  24611. },
  24612. "spotgoodsdesc": {
  24613. "description": "商品型号",
  24614. "type": "string"
  24615. },
  24616. "taaccountname": {
  24617. "description": "资金账号名称",
  24618. "type": "string"
  24619. },
  24620. "tradeuserid": {
  24621. "description": "交易用户id",
  24622. "type": "integer"
  24623. },
  24624. "tradeusername": {
  24625. "description": "交易用户名称",
  24626. "type": "string"
  24627. },
  24628. "unitid": {
  24629. "description": "单位id(现货商品)",
  24630. "type": "integer"
  24631. },
  24632. "updatetime": {
  24633. "description": "更新时间",
  24634. "type": "string"
  24635. },
  24636. "vatrate": {
  24637. "description": "增值税率",
  24638. "type": "number"
  24639. },
  24640. "wrstandardcode": {
  24641. "description": "品类代码",
  24642. "type": "string"
  24643. },
  24644. "wrstandardid": {
  24645. "description": "品类id",
  24646. "type": "integer"
  24647. },
  24648. "wrstandardname": {
  24649. "description": "品类名称",
  24650. "type": "string"
  24651. },
  24652. "wrunitid": {
  24653. "description": "品类单位id",
  24654. "type": "integer"
  24655. },
  24656. "wrunitidame": {
  24657. "description": "品类单位名称",
  24658. "type": "string"
  24659. }
  24660. }
  24661. },
  24662. "models.Ermcp3InnerTradeLink": {
  24663. "type": "object",
  24664. "properties": {
  24665. "accountid": {
  24666. "description": "期货账号代码 | 资金账号ID",
  24667. "type": "integer"
  24668. },
  24669. "buyorsell": {
  24670. "description": "方向 - 0:买 1:卖",
  24671. "type": "integer"
  24672. },
  24673. "channelbuildtype": {
  24674. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24675. "type": "integer"
  24676. },
  24677. "currencyid": {
  24678. "description": "币种id",
  24679. "type": "integer"
  24680. },
  24681. "currencyname": {
  24682. "description": "结算币种 名称",
  24683. "type": "string"
  24684. },
  24685. "goodscode": {
  24686. "description": "商品代码",
  24687. "type": "string"
  24688. },
  24689. "goodsid": {
  24690. "description": "商品ID",
  24691. "type": "integer"
  24692. },
  24693. "goodsname": {
  24694. "description": "商品名称",
  24695. "type": "string"
  24696. },
  24697. "outtradeid": {
  24698. "description": "外部成交单号",
  24699. "type": "string"
  24700. },
  24701. "taname": {
  24702. "description": "期货账户名称",
  24703. "type": "string"
  24704. },
  24705. "tradeid": {
  24706. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24707. "type": "string"
  24708. },
  24709. "tradeprice": {
  24710. "description": "成交价格",
  24711. "type": "number"
  24712. },
  24713. "tradeqty": {
  24714. "description": "期货成交数量",
  24715. "type": "integer"
  24716. },
  24717. "tradetime": {
  24718. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24719. "type": "string"
  24720. },
  24721. "username": {
  24722. "description": "用户名称",
  24723. "type": "string"
  24724. }
  24725. }
  24726. },
  24727. "models.Ermcp3OutTradeLink": {
  24728. "type": "object",
  24729. "properties": {
  24730. "buyorsell": {
  24731. "description": "买卖方向 - 0:买 1:卖",
  24732. "type": "integer"
  24733. },
  24734. "channelbuildtype": {
  24735. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24736. "type": "integer"
  24737. },
  24738. "currencyname": {
  24739. "description": "币种名称",
  24740. "type": "string"
  24741. },
  24742. "exexchangecode": {
  24743. "description": "交易所代码",
  24744. "type": "string"
  24745. },
  24746. "exexchangename": {
  24747. "description": "交易所名称",
  24748. "type": "string"
  24749. },
  24750. "goodscode": {
  24751. "description": "合约代码",
  24752. "type": "string"
  24753. },
  24754. "goodsid": {
  24755. "description": "合约id",
  24756. "type": "integer"
  24757. },
  24758. "goodsname": {
  24759. "description": "合约名称",
  24760. "type": "string"
  24761. },
  24762. "hasinnerorder": {
  24763. "description": "是否有内部单关联 - 0:无 1:有",
  24764. "type": "integer"
  24765. },
  24766. "hedgeaccountcode": {
  24767. "description": "外部账号 | 对冲账号",
  24768. "type": "string"
  24769. },
  24770. "outtradeid": {
  24771. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24772. "type": "string"
  24773. },
  24774. "tradeprice": {
  24775. "description": "成交价格",
  24776. "type": "number"
  24777. },
  24778. "tradeqty": {
  24779. "description": "成交数量",
  24780. "type": "integer"
  24781. },
  24782. "tradetime": {
  24783. "description": "成交时间",
  24784. "type": "string"
  24785. }
  24786. }
  24787. },
  24788. "models.Ermcp3PaAreaAuditCfg": {
  24789. "type": "object",
  24790. "properties": {
  24791. "areauserid": {
  24792. "description": "用户ID",
  24793. "type": "integer"
  24794. },
  24795. "buyinauditflag": {
  24796. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24797. "type": "integer"
  24798. },
  24799. "costratioauditflag": {
  24800. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24801. "type": "integer"
  24802. },
  24803. "customerauditflag": {
  24804. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24805. "type": "integer"
  24806. },
  24807. "deliveryauditflag": {
  24808. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24809. "type": "integer"
  24810. },
  24811. "invoiceauditflag": {
  24812. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24813. "type": "integer"
  24814. },
  24815. "mgneedhedgeratioauditflag": {
  24816. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24817. "type": "integer"
  24818. },
  24819. "moneyauditflag": {
  24820. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24821. "type": "integer"
  24822. },
  24823. "operatorid": {
  24824. "description": "操作人",
  24825. "type": "integer"
  24826. },
  24827. "operatorsrc": {
  24828. "description": "操作来源 - 1:管理端 2:终端",
  24829. "type": "integer"
  24830. },
  24831. "pointpriceauditflag": {
  24832. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24833. "type": "integer"
  24834. },
  24835. "produceinauditflag": {
  24836. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24837. "type": "integer"
  24838. },
  24839. "produceoutauditflag": {
  24840. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24841. "type": "integer"
  24842. },
  24843. "selloutauditflag": {
  24844. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24845. "type": "integer"
  24846. },
  24847. "sgconvertratioauditflag": {
  24848. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24849. "type": "integer"
  24850. },
  24851. "sgvtaratioauditflag": {
  24852. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24853. "type": "integer"
  24854. },
  24855. "spotcontractauditflag": {
  24856. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24857. "type": "integer"
  24858. },
  24859. "updatetime": {
  24860. "description": "更新时间",
  24861. "type": "string"
  24862. }
  24863. }
  24864. },
  24865. "models.Ermcp3PaAreaSubject": {
  24866. "type": "object",
  24867. "properties": {
  24868. "areauserid": {
  24869. "description": "所属机构",
  24870. "type": "integer"
  24871. },
  24872. "canmodify": {
  24873. "description": "是否可修改 - 0:否 1:是",
  24874. "type": "integer"
  24875. },
  24876. "createtime": {
  24877. "description": "创建时间",
  24878. "type": "string"
  24879. },
  24880. "creatorid": {
  24881. "description": "创建人ID",
  24882. "type": "string"
  24883. },
  24884. "creatorsrc": {
  24885. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24886. "type": "integer"
  24887. },
  24888. "modifierid": {
  24889. "description": "修改人",
  24890. "type": "string"
  24891. },
  24892. "modifiersrc": {
  24893. "description": "修改人来源 - 1:管理端 2:终端",
  24894. "type": "integer"
  24895. },
  24896. "modifytime": {
  24897. "description": "修改时间",
  24898. "type": "string"
  24899. },
  24900. "parentsubjectid": {
  24901. "description": "上级主体ID",
  24902. "type": "string"
  24903. },
  24904. "remark": {
  24905. "description": "备注",
  24906. "type": "string"
  24907. },
  24908. "subjectid": {
  24909. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24910. "type": "integer"
  24911. },
  24912. "subjectname": {
  24913. "description": "主体名称",
  24914. "type": "string"
  24915. },
  24916. "subjectstatus": {
  24917. "description": "主体状态 - 1:正常 2: 停用",
  24918. "type": "integer"
  24919. },
  24920. "subjecttype": {
  24921. "description": "主体类型 - 1:交易主体 2:业务部门",
  24922. "type": "integer"
  24923. }
  24924. }
  24925. },
  24926. "models.Ermcp3PaTradeLink": {
  24927. "type": "object",
  24928. "properties": {
  24929. "accountid": {
  24930. "description": "期货账户代码 | 账号ID",
  24931. "type": "integer"
  24932. },
  24933. "agreeunit": {
  24934. "description": "合约乘数",
  24935. "type": "number"
  24936. },
  24937. "buyorsell": {
  24938. "description": "方向 - 0:买 1:卖",
  24939. "type": "integer"
  24940. },
  24941. "channelbuildtype": {
  24942. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24943. "type": "integer"
  24944. },
  24945. "charge": {
  24946. "description": "手续费",
  24947. "type": "number"
  24948. },
  24949. "closepl": {
  24950. "description": "平仓盈亏",
  24951. "type": "number"
  24952. },
  24953. "closetype": {
  24954. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24955. "type": "integer"
  24956. },
  24957. "convertratio": {
  24958. "description": "折算系数",
  24959. "type": "number"
  24960. },
  24961. "enumdicname": {
  24962. "description": "单位名称",
  24963. "type": "string"
  24964. },
  24965. "executeprice": {
  24966. "description": "执行价 [期权]",
  24967. "type": "integer"
  24968. },
  24969. "goodscode": {
  24970. "description": "合约代码",
  24971. "type": "string"
  24972. },
  24973. "goodsgroupid": {
  24974. "description": "对冲品种ID[期货合约商品组ID]",
  24975. "type": "integer"
  24976. },
  24977. "goodsid": {
  24978. "description": "商品ID",
  24979. "type": "integer"
  24980. },
  24981. "goodsname": {
  24982. "description": "合约名称",
  24983. "type": "string"
  24984. },
  24985. "goodunitid": {
  24986. "description": "单位id",
  24987. "type": "integer"
  24988. },
  24989. "hedgeflag": {
  24990. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  24991. "type": "integer"
  24992. },
  24993. "marketid": {
  24994. "description": "市场ID",
  24995. "type": "integer"
  24996. },
  24997. "middlegoodsid": {
  24998. "description": "套保品种ID",
  24999. "type": "integer"
  25000. },
  25001. "middlegoodsqty": {
  25002. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25003. "type": "number"
  25004. },
  25005. "optioncode": {
  25006. "description": "期权代码 [期权]",
  25007. "type": "string"
  25008. },
  25009. "ordertype": {
  25010. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25011. "type": "integer"
  25012. },
  25013. "ordertypename": {
  25014. "description": "订单类型",
  25015. "type": "string"
  25016. },
  25017. "parentaccountid": {
  25018. "description": "所属母账户",
  25019. "type": "integer"
  25020. },
  25021. "premium": {
  25022. "description": "权利金 [期权]",
  25023. "type": "number"
  25024. },
  25025. "relatedlot": {
  25026. "description": "已关联数量(已关联数量手) | db:关联手数",
  25027. "type": "number"
  25028. },
  25029. "relatedouttradeid": {
  25030. "description": "关联外部成交单ID",
  25031. "type": "string"
  25032. },
  25033. "relatedqty": {
  25034. "description": "关联数量",
  25035. "type": "number"
  25036. },
  25037. "spotcontractid": {
  25038. "description": "现货合同ID [4:套期保值\\10\\11]",
  25039. "type": "string"
  25040. },
  25041. "taname": {
  25042. "description": "期货账户名称",
  25043. "type": "string"
  25044. },
  25045. "tradeamount": {
  25046. "description": "成交金额(账户)",
  25047. "type": "number"
  25048. },
  25049. "tradedate": {
  25050. "description": "交易日(yyyyMMdd)",
  25051. "type": "string"
  25052. },
  25053. "tradeid": {
  25054. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25055. "type": "string"
  25056. },
  25057. "tradelot": {
  25058. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25059. "type": "integer"
  25060. },
  25061. "tradeprice": {
  25062. "description": "成交价格",
  25063. "type": "number"
  25064. },
  25065. "tradetime": {
  25066. "description": "时间 | db:成交时间",
  25067. "type": "string"
  25068. },
  25069. "tradetype": {
  25070. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25071. "type": "integer"
  25072. },
  25073. "userid": {
  25074. "description": "所属机构 - 所属母账户的UserID",
  25075. "type": "string"
  25076. },
  25077. "username": {
  25078. "description": "用户名称",
  25079. "type": "string"
  25080. }
  25081. }
  25082. },
  25083. "models.Ermcp3ParamChangeApp": {
  25084. "type": "object",
  25085. "properties": {
  25086. "aftervalue": {
  25087. "description": "变更后",
  25088. "type": "number"
  25089. },
  25090. "applicationid": {
  25091. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25092. "type": "string"
  25093. },
  25094. "applyid": {
  25095. "description": "申请人",
  25096. "type": "string"
  25097. },
  25098. "applyname": {
  25099. "description": "申请人名称(代码)",
  25100. "type": "string"
  25101. },
  25102. "applyremark": {
  25103. "description": "申请备注",
  25104. "type": "string"
  25105. },
  25106. "applysrc": {
  25107. "description": "申请来源 - 1:管理端 2:终端",
  25108. "type": "integer"
  25109. },
  25110. "applystatus": {
  25111. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25112. "type": "integer"
  25113. },
  25114. "applytime": {
  25115. "description": "申请时间",
  25116. "type": "string"
  25117. },
  25118. "areauserid": {
  25119. "description": "所属机构用户ID",
  25120. "type": "integer"
  25121. },
  25122. "auditid": {
  25123. "description": "审核人",
  25124. "type": "string"
  25125. },
  25126. "auditname": {
  25127. "description": "审核人名称(代码)",
  25128. "type": "string"
  25129. },
  25130. "auditremark": {
  25131. "description": "审核备注",
  25132. "type": "string"
  25133. },
  25134. "auditsrc": {
  25135. "description": "审核来源 - 1:管理端 2:终端",
  25136. "type": "integer"
  25137. },
  25138. "audittime": {
  25139. "description": "审核时间",
  25140. "type": "string"
  25141. },
  25142. "audittradedate": {
  25143. "description": "审核交易日(yyyyMMdd)",
  25144. "type": "string"
  25145. },
  25146. "beforevalue": {
  25147. "description": "变更前",
  25148. "type": "number"
  25149. },
  25150. "deliverygoodscode": {
  25151. "description": "品种代码",
  25152. "type": "string"
  25153. },
  25154. "deliverygoodsid": {
  25155. "description": "品种id",
  25156. "type": "integer"
  25157. },
  25158. "deliverygoodsname": {
  25159. "description": "品种名称",
  25160. "type": "string"
  25161. },
  25162. "middlegoodscode": {
  25163. "description": "套保品种代码",
  25164. "type": "string"
  25165. },
  25166. "middlegoodsid": {
  25167. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25168. "type": "integer"
  25169. },
  25170. "middlegoodsname": {
  25171. "description": "套保品种名称",
  25172. "type": "string"
  25173. },
  25174. "operatetype": {
  25175. "description": "操作类型 - 1:新增 2:修改",
  25176. "type": "integer"
  25177. },
  25178. "paramchangetype": {
  25179. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25180. "type": "integer"
  25181. },
  25182. "wrstandardcode": {
  25183. "description": "现货商品代码",
  25184. "type": "string"
  25185. },
  25186. "wrstandardid": {
  25187. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25188. "type": "integer"
  25189. },
  25190. "wrstandardname": {
  25191. "description": "现货商品名称",
  25192. "type": "string"
  25193. }
  25194. }
  25195. },
  25196. "models.Ermcp3RootUserAccount": {
  25197. "type": "object",
  25198. "properties": {
  25199. "accountname": {
  25200. "description": "账户名称(机构名称)",
  25201. "type": "string"
  25202. },
  25203. "accountstatus": {
  25204. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25205. "type": "integer"
  25206. },
  25207. "applysrc": {
  25208. "description": "申请来源 - 1:管理端 2:终端",
  25209. "type": "integer"
  25210. },
  25211. "auditremark": {
  25212. "description": "审核备注",
  25213. "type": "string"
  25214. },
  25215. "auditsrc": {
  25216. "description": "审核来源 - 1:管理端 2:终端",
  25217. "type": "integer"
  25218. },
  25219. "audittime": {
  25220. "description": "审核时间",
  25221. "type": "string"
  25222. },
  25223. "audituserid": {
  25224. "description": "审核人",
  25225. "type": "integer"
  25226. },
  25227. "broker": {
  25228. "description": "所属经纪人ID",
  25229. "type": "integer"
  25230. },
  25231. "canceltime": {
  25232. "description": "销户时间",
  25233. "type": "string"
  25234. },
  25235. "canceluserid": {
  25236. "description": "销户人",
  25237. "type": "integer"
  25238. },
  25239. "canrecommend": {
  25240. "description": "是否可推荐 - 0:不可 1;可",
  25241. "type": "integer"
  25242. },
  25243. "createtime": {
  25244. "description": "创建时间",
  25245. "type": "string"
  25246. },
  25247. "creatorid": {
  25248. "description": "创建人",
  25249. "type": "integer"
  25250. },
  25251. "hasauth": {
  25252. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25253. "type": "integer"
  25254. },
  25255. "isanonymous": {
  25256. "description": "是否匿名下单 - 0:否 1:是",
  25257. "type": "integer"
  25258. },
  25259. "maxinvestornum": {
  25260. "description": "最大用户数(经纪会员下投资者个数)",
  25261. "type": "integer"
  25262. },
  25263. "memberuserid": {
  25264. "description": "所属会员ID",
  25265. "type": "integer"
  25266. },
  25267. "modifierid": {
  25268. "description": "修改人",
  25269. "type": "integer"
  25270. },
  25271. "modifyremark": {
  25272. "description": "变更备注",
  25273. "type": "string"
  25274. },
  25275. "modifystatus": {
  25276. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25277. "type": "integer"
  25278. },
  25279. "modifytime": {
  25280. "description": "修改时间",
  25281. "type": "string"
  25282. },
  25283. "nickname": {
  25284. "description": "昵称",
  25285. "type": "string"
  25286. },
  25287. "parenttopuser": {
  25288. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25289. "type": "string"
  25290. },
  25291. "parentuserid": {
  25292. "description": "所属机构ID",
  25293. "type": "integer"
  25294. },
  25295. "reckonaccountid": {
  25296. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25297. "type": "integer"
  25298. },
  25299. "refercount": {
  25300. "description": "推荐总人数",
  25301. "type": "integer"
  25302. },
  25303. "refereeuserid": {
  25304. "description": "推荐人ID",
  25305. "type": "integer"
  25306. },
  25307. "refernum": {
  25308. "description": "推荐码",
  25309. "type": "string"
  25310. },
  25311. "rootuserid": {
  25312. "description": "根用户ID",
  25313. "type": "integer"
  25314. },
  25315. "subaccountlevel": {
  25316. "description": "子账户层数",
  25317. "type": "integer"
  25318. },
  25319. "subarealevelpath": {
  25320. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25321. "type": "string"
  25322. },
  25323. "userid": {
  25324. "description": "用户ID",
  25325. "type": "integer"
  25326. },
  25327. "usertype": {
  25328. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25329. "type": "integer"
  25330. }
  25331. }
  25332. },
  25333. "models.Ermcp3SCMiddleGoods": {
  25334. "type": "object",
  25335. "properties": {
  25336. "biztype": {
  25337. "description": "业务类型 1:套保 2:套利",
  25338. "type": "integer"
  25339. },
  25340. "contractno": {
  25341. "description": "合同编号",
  25342. "type": "string"
  25343. },
  25344. "contracttype": {
  25345. "description": "合同类型 1:采购 -1:销售",
  25346. "type": "integer"
  25347. },
  25348. "convertratio": {
  25349. "description": "折算系数",
  25350. "type": "number"
  25351. },
  25352. "customername": {
  25353. "description": "对手手名称",
  25354. "type": "string"
  25355. },
  25356. "customeruserid": {
  25357. "description": "对手id",
  25358. "type": "integer"
  25359. },
  25360. "deliverygoodscode": {
  25361. "description": "现货品种代码",
  25362. "type": "string"
  25363. },
  25364. "deliverygoodsid": {
  25365. "description": "现货品种ID",
  25366. "type": "integer"
  25367. },
  25368. "deliverygoodsname": {
  25369. "description": "现货品种名称",
  25370. "type": "string"
  25371. },
  25372. "enumdicname": {
  25373. "description": "现货单位名称",
  25374. "type": "string"
  25375. },
  25376. "middlegoodsid": {
  25377. "description": "套保品种ID",
  25378. "type": "integer"
  25379. },
  25380. "middlegoodspricedqty3": {
  25381. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25382. "type": "number"
  25383. },
  25384. "needhedgeratio": {
  25385. "description": "套保比例",
  25386. "type": "number"
  25387. },
  25388. "pricedqty": {
  25389. "description": "已定价量",
  25390. "type": "number"
  25391. },
  25392. "relatedmiddlegoodsqty": {
  25393. "description": "已关联量(套保品种)(期货)",
  25394. "type": "number"
  25395. },
  25396. "spotcontractid": {
  25397. "description": "合同编号",
  25398. "type": "string"
  25399. },
  25400. "unitid": {
  25401. "description": "现货单位id",
  25402. "type": "integer"
  25403. },
  25404. "userid": {
  25405. "description": "用户id",
  25406. "type": "integer"
  25407. },
  25408. "vatrate": {
  25409. "description": "增值税率",
  25410. "type": "number"
  25411. },
  25412. "wrstandardcode": {
  25413. "description": "现货商品代码",
  25414. "type": "string"
  25415. },
  25416. "wrstandardid": {
  25417. "description": "现货商品id",
  25418. "type": "integer"
  25419. },
  25420. "wrstandardname": {
  25421. "description": "现货商品名称",
  25422. "type": "string"
  25423. }
  25424. }
  25425. },
  25426. "models.Ermcp3SCMiddleGoodsReport": {
  25427. "type": "object",
  25428. "properties": {
  25429. "begindate": {
  25430. "description": "开始交易日",
  25431. "type": "string"
  25432. },
  25433. "contractno": {
  25434. "description": "合同编号",
  25435. "type": "string"
  25436. },
  25437. "contracttype": {
  25438. "description": "合同类型 1:采购 -1:销售",
  25439. "type": "integer"
  25440. },
  25441. "convertratio": {
  25442. "description": "期初均价",
  25443. "type": "number"
  25444. },
  25445. "cycletime": {
  25446. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25447. "type": "string"
  25448. },
  25449. "cycletype": {
  25450. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25451. "type": "integer"
  25452. },
  25453. "deliverygoodscode": {
  25454. "description": "品种代码",
  25455. "type": "string"
  25456. },
  25457. "deliverygoodsid": {
  25458. "description": "现货品种ID",
  25459. "type": "integer"
  25460. },
  25461. "deliverygoodsname": {
  25462. "description": "品种名称",
  25463. "type": "string"
  25464. },
  25465. "diffprice": {
  25466. "description": "期初均价",
  25467. "type": "number"
  25468. },
  25469. "diffqty": {
  25470. "description": "期初均价",
  25471. "type": "number"
  25472. },
  25473. "enddate": {
  25474. "description": "结束交易日",
  25475. "type": "string"
  25476. },
  25477. "hedgeplanqty": {
  25478. "description": "期初均价",
  25479. "type": "number"
  25480. },
  25481. "matchname": {
  25482. "description": "交易对手方(个人:用户名称 企业:简称)",
  25483. "type": "string"
  25484. },
  25485. "matchnickname": {
  25486. "description": "交易对手方昵称",
  25487. "type": "string"
  25488. },
  25489. "middlegoodscode": {
  25490. "description": "套保品种代码",
  25491. "type": "string"
  25492. },
  25493. "middlegoodsid": {
  25494. "description": "套保品种ID",
  25495. "type": "integer"
  25496. },
  25497. "middlegoodsname": {
  25498. "description": "套保品种名称",
  25499. "type": "string"
  25500. },
  25501. "middlegoodspricedqty": {
  25502. "description": "期初均价",
  25503. "type": "number"
  25504. },
  25505. "middlegoodspricedqty2": {
  25506. "description": "期初均价",
  25507. "type": "number"
  25508. },
  25509. "middlegoodspricedqty3": {
  25510. "description": "期初均价",
  25511. "type": "number"
  25512. },
  25513. "needhedgeratio": {
  25514. "description": "期初均价",
  25515. "type": "number"
  25516. },
  25517. "pricedamount": {
  25518. "description": "期初均价",
  25519. "type": "number"
  25520. },
  25521. "pricedamount2": {
  25522. "description": "期初均价",
  25523. "type": "number"
  25524. },
  25525. "pricedqty": {
  25526. "description": "期初均价",
  25527. "type": "number"
  25528. },
  25529. "reckondate": {
  25530. "description": "日照时期(yyyyMMdd)",
  25531. "type": "string"
  25532. },
  25533. "relatedmiddlegoodsamount": {
  25534. "description": "期初均价",
  25535. "type": "number"
  25536. },
  25537. "relatedmiddlegoodsqty": {
  25538. "description": "期初均价",
  25539. "type": "number"
  25540. },
  25541. "spotcontractid": {
  25542. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25543. "type": "string"
  25544. },
  25545. "todayavgfutuprice": {
  25546. "description": "期初均价",
  25547. "type": "number"
  25548. },
  25549. "todayavgprice": {
  25550. "description": "期初均价",
  25551. "type": "number"
  25552. },
  25553. "todayavgprice2": {
  25554. "description": "期初均价",
  25555. "type": "number"
  25556. },
  25557. "todaypricedamount": {
  25558. "description": "期初均价",
  25559. "type": "number"
  25560. },
  25561. "todaypricedamount2": {
  25562. "description": "期初均价",
  25563. "type": "number"
  25564. },
  25565. "todaypricedqty": {
  25566. "description": "期初均价",
  25567. "type": "number"
  25568. },
  25569. "todayrelatedfutureqty": {
  25570. "description": "期初均价",
  25571. "type": "number"
  25572. },
  25573. "todayrelatedmiddlegoodsamount": {
  25574. "description": "期初均价",
  25575. "type": "number"
  25576. },
  25577. "todayrelatedmiddlegoodsqty": {
  25578. "description": "期初均价",
  25579. "type": "number"
  25580. },
  25581. "updatetime": {
  25582. "description": "更新时间",
  25583. "type": "string"
  25584. },
  25585. "userid": {
  25586. "description": "合同所属用户id",
  25587. "type": "integer"
  25588. },
  25589. "vatrate": {
  25590. "description": "期初均价",
  25591. "type": "number"
  25592. },
  25593. "wrstandardcode": {
  25594. "description": "商品(品类) 代码",
  25595. "type": "string"
  25596. },
  25597. "wrstandardid": {
  25598. "description": "现货商品ID",
  25599. "type": "integer"
  25600. },
  25601. "wrstandardname": {
  25602. "description": "商品(品类) 名称",
  25603. "type": "string"
  25604. }
  25605. }
  25606. },
  25607. "models.Ermcp3SellBuyContract": {
  25608. "type": "object",
  25609. "properties": {
  25610. "accountid": {
  25611. "description": "期货账户id",
  25612. "type": "string"
  25613. },
  25614. "accountname": {
  25615. "description": "账户名称",
  25616. "type": "string"
  25617. },
  25618. "attachment": {
  25619. "description": "附件",
  25620. "type": "string"
  25621. },
  25622. "audittime": {
  25623. "description": "审核时间",
  25624. "type": "string"
  25625. },
  25626. "bizsubjectid": {
  25627. "description": "归属业务部门ID - SubjectID",
  25628. "type": "integer"
  25629. },
  25630. "biztype": {
  25631. "description": "业务类型 1-套保 2-套利",
  25632. "type": "integer"
  25633. },
  25634. "brandname": {
  25635. "description": "品牌名称",
  25636. "type": "string"
  25637. },
  25638. "contracctstatus": {
  25639. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25640. "type": "integer"
  25641. },
  25642. "contractmargin": {
  25643. "description": "合同保证金",
  25644. "type": "number"
  25645. },
  25646. "contractno": {
  25647. "description": "合同编号",
  25648. "type": "string"
  25649. },
  25650. "contracttype": {
  25651. "description": "合同类型 1-采购, -1-销售",
  25652. "type": "integer"
  25653. },
  25654. "convertfactor": {
  25655. "description": "标仓系数(品类)",
  25656. "type": "number"
  25657. },
  25658. "createtime": {
  25659. "description": "创建时间",
  25660. "type": "string"
  25661. },
  25662. "currencyid": {
  25663. "description": "币种id",
  25664. "type": "integer"
  25665. },
  25666. "currencyname": {
  25667. "description": "币种名称",
  25668. "type": "string"
  25669. },
  25670. "daikaiamount": {
  25671. "description": "应收(开)票额 | 未收票额",
  25672. "type": "number"
  25673. },
  25674. "deliveryenddate": {
  25675. "description": "交割结束日",
  25676. "type": "string"
  25677. },
  25678. "deliverygoodscode": {
  25679. "description": "现货品种代码",
  25680. "type": "string"
  25681. },
  25682. "deliverygoodsid": {
  25683. "description": "现货商品ID",
  25684. "type": "integer"
  25685. },
  25686. "deliverygoodsname": {
  25687. "description": "现货品种名称",
  25688. "type": "string"
  25689. },
  25690. "deliverystartdate": {
  25691. "description": "交割开始日",
  25692. "type": "string"
  25693. },
  25694. "enddate": {
  25695. "description": "点价结束日",
  25696. "type": "string"
  25697. },
  25698. "enumdicname": {
  25699. "description": "单位名称",
  25700. "type": "string"
  25701. },
  25702. "goodscode": {
  25703. "description": "点价商品代码",
  25704. "type": "string"
  25705. },
  25706. "goodsgroupid": {
  25707. "description": "点价商品组id",
  25708. "type": "integer"
  25709. },
  25710. "goodsid": {
  25711. "description": "点价商品ID",
  25712. "type": "integer"
  25713. },
  25714. "goodsname": {
  25715. "description": "点价商品名称",
  25716. "type": "string"
  25717. },
  25718. "invoiceamount": {
  25719. "description": "已开票额",
  25720. "type": "number"
  25721. },
  25722. "loanamount": {
  25723. "description": "贷款总额=已定价额+调整金额",
  25724. "type": "number"
  25725. },
  25726. "margin": {
  25727. "description": "保证金",
  25728. "type": "number"
  25729. },
  25730. "meruserid": {
  25731. "description": "跟单员id",
  25732. "type": "integer"
  25733. },
  25734. "meruserlogincode": {
  25735. "description": "跟单员登录代码",
  25736. "type": "string"
  25737. },
  25738. "merusername": {
  25739. "description": "跟单员名称",
  25740. "type": "string"
  25741. },
  25742. "nickname": {
  25743. "description": "账户昵称",
  25744. "type": "string"
  25745. },
  25746. "orireckonrealqty": {
  25747. "description": "应交收量",
  25748. "type": "number"
  25749. },
  25750. "payamount": {
  25751. "description": "已收付额(收款或付款)",
  25752. "type": "number"
  25753. },
  25754. "preinvoiceamount": {
  25755. "description": "预收(开)票额",
  25756. "type": "number"
  25757. },
  25758. "prepayamount": {
  25759. "description": "预收付额",
  25760. "type": "number"
  25761. },
  25762. "price": {
  25763. "description": "价格",
  25764. "type": "number"
  25765. },
  25766. "pricedamount": {
  25767. "description": "已定价额",
  25768. "type": "number"
  25769. },
  25770. "pricedavg": {
  25771. "description": "已点均价",
  25772. "type": "number"
  25773. },
  25774. "pricedqty": {
  25775. "description": "已定价量",
  25776. "type": "number"
  25777. },
  25778. "pricemove": {
  25779. "description": "升贴水",
  25780. "type": "number"
  25781. },
  25782. "pricetype": {
  25783. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25784. "type": "integer"
  25785. },
  25786. "producttype": {
  25787. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25788. "type": "integer"
  25789. },
  25790. "qty": {
  25791. "description": "合同量",
  25792. "type": "number"
  25793. },
  25794. "reckonadjustamount": {
  25795. "description": "调整金额",
  25796. "type": "number"
  25797. },
  25798. "reckonedamount": {
  25799. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25800. "type": "number"
  25801. },
  25802. "reckonotheramount": {
  25803. "description": "其它费用",
  25804. "type": "number"
  25805. },
  25806. "reckonrealqty": {
  25807. "description": "已交收量",
  25808. "type": "number"
  25809. },
  25810. "remark": {
  25811. "description": "备注",
  25812. "type": "string"
  25813. },
  25814. "saleuserid": {
  25815. "description": "业务员id",
  25816. "type": "integer"
  25817. },
  25818. "saleuserlogincode": {
  25819. "description": "业务员登录代码",
  25820. "type": "string"
  25821. },
  25822. "saleusername": {
  25823. "description": "业务员名称",
  25824. "type": "string"
  25825. },
  25826. "spotcontractid": {
  25827. "description": "合同ID",
  25828. "type": "string"
  25829. },
  25830. "spotgoodsbrandid": {
  25831. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25832. "type": "integer"
  25833. },
  25834. "spotgoodsdesc": {
  25835. "description": "商品型号(商品规格)",
  25836. "type": "string"
  25837. },
  25838. "startdate": {
  25839. "description": "点价开始日",
  25840. "type": "string"
  25841. },
  25842. "subjectid": {
  25843. "description": "交易主体ID",
  25844. "type": "integer"
  25845. },
  25846. "subjectname": {
  25847. "description": "交易主体名称",
  25848. "type": "string"
  25849. },
  25850. "totalamount": {
  25851. "description": "合计总额",
  25852. "type": "number"
  25853. },
  25854. "tradeuserid": {
  25855. "description": "交易员id",
  25856. "type": "integer"
  25857. },
  25858. "tradeuserlogincode": {
  25859. "description": "交易员登录代码",
  25860. "type": "string"
  25861. },
  25862. "tradeusername": {
  25863. "description": "交易员名称",
  25864. "type": "string"
  25865. },
  25866. "unpayamount": {
  25867. "description": "应收付款额(应支付或应收款) | 未付款额",
  25868. "type": "number"
  25869. },
  25870. "unpricedqty": {
  25871. "description": "未定价量",
  25872. "type": "number"
  25873. },
  25874. "unsureqty": {
  25875. "description": "未确定量 | 未交收量",
  25876. "type": "number"
  25877. },
  25878. "userid": {
  25879. "description": "机构ID",
  25880. "type": "integer"
  25881. },
  25882. "vatrate": {
  25883. "description": "增值税率",
  25884. "type": "number"
  25885. },
  25886. "wrstandardcode": {
  25887. "description": "品类代码",
  25888. "type": "string"
  25889. },
  25890. "wrstandardid": {
  25891. "description": "品类ID",
  25892. "type": "integer"
  25893. },
  25894. "wrstandardname": {
  25895. "description": "品类名称",
  25896. "type": "string"
  25897. }
  25898. }
  25899. },
  25900. "models.Ermcp3SpotGoodsPrice": {
  25901. "type": "object",
  25902. "properties": {
  25903. "areauserid": {
  25904. "description": "所属机构id",
  25905. "type": "integer"
  25906. },
  25907. "brandname": {
  25908. "description": "品牌名称",
  25909. "type": "string"
  25910. },
  25911. "currencyid": {
  25912. "description": "报价货币ID",
  25913. "type": "integer"
  25914. },
  25915. "currencyname": {
  25916. "description": "币种名称",
  25917. "type": "string"
  25918. },
  25919. "deliverygoodscode": {
  25920. "description": "现货商品代码",
  25921. "type": "string"
  25922. },
  25923. "deliverygoodsid": {
  25924. "description": "现货商品id",
  25925. "type": "integer"
  25926. },
  25927. "deliverygoodsname": {
  25928. "description": "现货商品名称",
  25929. "type": "string"
  25930. },
  25931. "enumdicname": {
  25932. "description": "现货商品单位名称",
  25933. "type": "string"
  25934. },
  25935. "gbenumdicname": {
  25936. "description": "品类单位名称",
  25937. "type": "string"
  25938. },
  25939. "gmunitid": {
  25940. "description": "品类单位id",
  25941. "type": "integer"
  25942. },
  25943. "isvalid": {
  25944. "description": "是否有效 - 0:无效 1:有效",
  25945. "type": "integer"
  25946. },
  25947. "operateid": {
  25948. "description": "最后操作人",
  25949. "type": "integer"
  25950. },
  25951. "operatesrc": {
  25952. "description": "最后操作来源 - 1:管理端 2:终端",
  25953. "type": "integer"
  25954. },
  25955. "operatetime": {
  25956. "description": "最后操作时间",
  25957. "type": "string"
  25958. },
  25959. "operatorname": {
  25960. "description": "操作人名称",
  25961. "type": "string"
  25962. },
  25963. "spotgoodsbrandid": {
  25964. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25965. "type": "integer"
  25966. },
  25967. "spotgoodsprice": {
  25968. "description": "现货价格",
  25969. "type": "number"
  25970. },
  25971. "tradedate": {
  25972. "description": "交易日(yyyyMMdd)",
  25973. "type": "string"
  25974. },
  25975. "unitid": {
  25976. "description": "现货商品单位id",
  25977. "type": "integer"
  25978. },
  25979. "wrstandardcode": {
  25980. "description": "品类代码",
  25981. "type": "string"
  25982. },
  25983. "wrstandardid": {
  25984. "description": "现货品类ID(通用则为0)",
  25985. "type": "integer"
  25986. },
  25987. "wrstandardname": {
  25988. "description": "品类名称",
  25989. "type": "string"
  25990. }
  25991. }
  25992. },
  25993. "models.Ermcp3SpotGoodsPriceLog": {
  25994. "type": "object",
  25995. "properties": {
  25996. "areauserid": {
  25997. "description": "所属机构id",
  25998. "type": "integer"
  25999. },
  26000. "brandname": {
  26001. "description": "品牌名称",
  26002. "type": "string"
  26003. },
  26004. "currencyid": {
  26005. "description": "报价货币ID",
  26006. "type": "integer"
  26007. },
  26008. "deliverygoodscode": {
  26009. "description": "现货商品代码",
  26010. "type": "string"
  26011. },
  26012. "deliverygoodsid": {
  26013. "description": "现货商品id",
  26014. "type": "integer"
  26015. },
  26016. "deliverygoodsname": {
  26017. "description": "现货商品名称",
  26018. "type": "string"
  26019. },
  26020. "enumdicname": {
  26021. "description": "现货商品单位名称",
  26022. "type": "string"
  26023. },
  26024. "gbenumdicname": {
  26025. "description": "品类单位名称",
  26026. "type": "string"
  26027. },
  26028. "gmunitid": {
  26029. "description": "品类单位id",
  26030. "type": "integer"
  26031. },
  26032. "logid": {
  26033. "description": "日志id",
  26034. "type": "integer"
  26035. },
  26036. "operateid": {
  26037. "description": "最后操作人",
  26038. "type": "integer"
  26039. },
  26040. "operatesrc": {
  26041. "description": "最后操作来源 - 1:管理端 2:终端",
  26042. "type": "integer"
  26043. },
  26044. "operatetime": {
  26045. "description": "最后操作时间",
  26046. "type": "string"
  26047. },
  26048. "operatorname": {
  26049. "description": "操作人名称",
  26050. "type": "string"
  26051. },
  26052. "spotgoodsbrandid": {
  26053. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26054. "type": "integer"
  26055. },
  26056. "spotgoodsprice": {
  26057. "description": "现货价格",
  26058. "type": "number"
  26059. },
  26060. "tradedate": {
  26061. "description": "交易日(yyyyMMdd)",
  26062. "type": "string"
  26063. },
  26064. "unitid": {
  26065. "description": "现货商品单位id",
  26066. "type": "integer"
  26067. },
  26068. "wrstandardcode": {
  26069. "description": "品类代码",
  26070. "type": "string"
  26071. },
  26072. "wrstandardid": {
  26073. "description": "现货品类ID(通用则为0)",
  26074. "type": "integer"
  26075. },
  26076. "wrstandardname": {
  26077. "description": "品类名称",
  26078. "type": "string"
  26079. }
  26080. }
  26081. },
  26082. "models.Ermcp3SubTaaccount": {
  26083. "type": "object",
  26084. "properties": {
  26085. "accountid": {
  26086. "description": "资金账户ID",
  26087. "type": "integer"
  26088. },
  26089. "parentaccountcode": {
  26090. "description": "所属根账号代码(母账号代码)",
  26091. "type": "string"
  26092. },
  26093. "parentaccountid": {
  26094. "description": "所属根账号(母账号)",
  26095. "type": "integer"
  26096. },
  26097. "taname": {
  26098. "description": "资金账号名称",
  26099. "type": "string"
  26100. },
  26101. "tradestatus": {
  26102. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26103. "type": "integer"
  26104. },
  26105. "username": {
  26106. "description": "交易用户",
  26107. "type": "string"
  26108. }
  26109. }
  26110. },
  26111. "models.Ermcp3TaFutuReDataReport": {
  26112. "type": "object",
  26113. "properties": {
  26114. "accountid": {
  26115. "description": "交易账户",
  26116. "type": "integer"
  26117. },
  26118. "accountname": {
  26119. "description": "交易账号名称",
  26120. "type": "string"
  26121. },
  26122. "agreeunit": {
  26123. "description": "商品合约单位",
  26124. "type": "number"
  26125. },
  26126. "begindate": {
  26127. "description": "开始交易日",
  26128. "type": "string"
  26129. },
  26130. "buyorsell": {
  26131. "description": "持仓方向",
  26132. "type": "integer"
  26133. },
  26134. "charge": {
  26135. "description": "手续费",
  26136. "type": "number"
  26137. },
  26138. "closeavgprice": {
  26139. "description": "期初均价",
  26140. "type": "number"
  26141. },
  26142. "closepl": {
  26143. "description": "平仓损益",
  26144. "type": "number"
  26145. },
  26146. "currencyid": {
  26147. "description": "结算币种ID",
  26148. "type": "integer"
  26149. },
  26150. "currencyname": {
  26151. "description": "币种名称",
  26152. "type": "string"
  26153. },
  26154. "cycletime": {
  26155. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26156. "type": "string"
  26157. },
  26158. "cycletype": {
  26159. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26160. "type": "integer"
  26161. },
  26162. "enddate": {
  26163. "description": "结束交易日",
  26164. "type": "string"
  26165. },
  26166. "enumdicname": {
  26167. "description": "单位名称",
  26168. "type": "string"
  26169. },
  26170. "floatpl": {
  26171. "description": "浮动损益",
  26172. "type": "number"
  26173. },
  26174. "goodscode": {
  26175. "description": "交易合约代码",
  26176. "type": "string"
  26177. },
  26178. "goodsgroupid": {
  26179. "description": "交易品种",
  26180. "type": "integer"
  26181. },
  26182. "goodsgroupname": {
  26183. "description": "交易品种名称",
  26184. "type": "string"
  26185. },
  26186. "goodsgroupspotqty": {
  26187. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26188. "type": "number"
  26189. },
  26190. "goodsid": {
  26191. "description": "交易合约",
  26192. "type": "integer"
  26193. },
  26194. "goodsname": {
  26195. "description": "交易合约名称",
  26196. "type": "string"
  26197. },
  26198. "goodunitid": {
  26199. "description": "交易合约单位id",
  26200. "type": "integer"
  26201. },
  26202. "holdamount": {
  26203. "description": "期末持仓额",
  26204. "type": "number"
  26205. },
  26206. "holdqty": {
  26207. "description": "期初均价",
  26208. "type": "number"
  26209. },
  26210. "lastholdamount": {
  26211. "description": "当前持仓额",
  26212. "type": "number"
  26213. },
  26214. "lastprice": {
  26215. "description": "最新价",
  26216. "type": "number"
  26217. },
  26218. "middlegoodsid": {
  26219. "description": "套保品种id",
  26220. "type": "integer"
  26221. },
  26222. "middlegoodsname": {
  26223. "description": "套保商品名称",
  26224. "type": "string"
  26225. },
  26226. "middlegoodsqty": {
  26227. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26228. "type": "number"
  26229. },
  26230. "middlgoodscode": {
  26231. "description": "套保商品代码",
  26232. "type": "string"
  26233. },
  26234. "openamount": {
  26235. "description": "期末开仓额",
  26236. "type": "number"
  26237. },
  26238. "openavgprice": {
  26239. "description": "期初均价",
  26240. "type": "number"
  26241. },
  26242. "oriholdamount": {
  26243. "description": "期初持仓额",
  26244. "type": "number"
  26245. },
  26246. "oriholdqty": {
  26247. "description": "期初均价",
  26248. "type": "number"
  26249. },
  26250. "oriopenamount": {
  26251. "description": "期初开仓额",
  26252. "type": "number"
  26253. },
  26254. "outergroupcode": {
  26255. "description": "交易品种代码",
  26256. "type": "string"
  26257. },
  26258. "qtydecimalplace": {
  26259. "description": "成交量小数位",
  26260. "type": "integer"
  26261. },
  26262. "reckondate": {
  26263. "description": "日照时期(yyyyMMdd)",
  26264. "type": "string"
  26265. },
  26266. "reckonholdamount": {
  26267. "description": "结算持仓额",
  26268. "type": "number"
  26269. },
  26270. "reckonpl": {
  26271. "description": "结算损益",
  26272. "type": "number"
  26273. },
  26274. "reckonpl2": {
  26275. "description": "结算逐笔盈亏",
  26276. "type": "number"
  26277. },
  26278. "reckonprice": {
  26279. "description": "结算价",
  26280. "type": "number"
  26281. },
  26282. "relateduserid": {
  26283. "description": "账户关联用户ID",
  26284. "type": "integer"
  26285. },
  26286. "todaycloseamount": {
  26287. "description": "今平仓额",
  26288. "type": "number"
  26289. },
  26290. "todaycloseqty": {
  26291. "description": "期初均价",
  26292. "type": "number"
  26293. },
  26294. "todaygoodsgroupspotqty": {
  26295. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26296. "type": "number"
  26297. },
  26298. "todaymiddlegoodsqty": {
  26299. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26300. "type": "number"
  26301. },
  26302. "todayopenamount": {
  26303. "description": "今开仓额",
  26304. "type": "number"
  26305. },
  26306. "todayopenqty": {
  26307. "description": "期初均价",
  26308. "type": "number"
  26309. },
  26310. "userid": {
  26311. "description": "账户所属用户ID",
  26312. "type": "integer"
  26313. }
  26314. }
  26315. },
  26316. "models.Ermcp3TradeLinkDetail": {
  26317. "type": "object",
  26318. "properties": {
  26319. "accountid": {
  26320. "description": "资金账号",
  26321. "type": "integer"
  26322. },
  26323. "agreeunit": {
  26324. "description": "合约乘数",
  26325. "type": "number"
  26326. },
  26327. "areauserid": {
  26328. "description": "所属机构",
  26329. "type": "string"
  26330. },
  26331. "bizsubjectid": {
  26332. "description": "归属业务部门ID - SubjectID",
  26333. "type": "string"
  26334. },
  26335. "buyorsell": {
  26336. "description": "方向 - 0:买 1:卖",
  26337. "type": "integer"
  26338. },
  26339. "channelbuildtype": {
  26340. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26341. "type": "integer"
  26342. },
  26343. "contractno": {
  26344. "description": "现货编号 (合同编号)",
  26345. "type": "string"
  26346. },
  26347. "convertratio": {
  26348. "description": "折算系数",
  26349. "type": "number"
  26350. },
  26351. "createtime": {
  26352. "description": "关联时间 | 创建时间",
  26353. "type": "string"
  26354. },
  26355. "creatorid": {
  26356. "description": "创建人ID",
  26357. "type": "string"
  26358. },
  26359. "creatorsrc": {
  26360. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26361. "type": "integer"
  26362. },
  26363. "enumdicname": {
  26364. "description": "单位名称",
  26365. "type": "string"
  26366. },
  26367. "goodscode": {
  26368. "description": "合约代码",
  26369. "type": "string"
  26370. },
  26371. "goodsgroupid": {
  26372. "description": "对冲品种ID[期货合约商品组ID]",
  26373. "type": "integer"
  26374. },
  26375. "goodsid": {
  26376. "description": "商品ID",
  26377. "type": "integer"
  26378. },
  26379. "goodsname": {
  26380. "description": "合约名称",
  26381. "type": "string"
  26382. },
  26383. "hedgeflag": {
  26384. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26385. "type": "integer"
  26386. },
  26387. "linkdetailid": {
  26388. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26389. "type": "string"
  26390. },
  26391. "linkstatus": {
  26392. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26393. "type": "integer"
  26394. },
  26395. "middlegoodscode": {
  26396. "description": "套保品种代码",
  26397. "type": "string"
  26398. },
  26399. "middlegoodsid": {
  26400. "description": "套保品种ID",
  26401. "type": "integer"
  26402. },
  26403. "middlegoodsname": {
  26404. "description": "套保品种名称",
  26405. "type": "string"
  26406. },
  26407. "relatedlot": {
  26408. "description": "关联手数",
  26409. "type": "number"
  26410. },
  26411. "relatedmode": {
  26412. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26413. "type": "integer"
  26414. },
  26415. "relatedqty": {
  26416. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26417. "type": "number"
  26418. },
  26419. "retcode": {
  26420. "description": "返回码",
  26421. "type": "integer"
  26422. },
  26423. "saleuserid": {
  26424. "description": "业务员ID",
  26425. "type": "string"
  26426. },
  26427. "spotcontractid": {
  26428. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26429. "type": "string"
  26430. },
  26431. "taname": {
  26432. "description": "期货账户",
  26433. "type": "string"
  26434. },
  26435. "tradedate": {
  26436. "description": "关联交易日(yyyyMMdd)",
  26437. "type": "string"
  26438. },
  26439. "tradeid": {
  26440. "description": "期货订单号 | 内部成交单ID",
  26441. "type": "string"
  26442. },
  26443. "tradelot": {
  26444. "description": "成交数量 | 成交手数",
  26445. "type": "integer"
  26446. },
  26447. "tradeprice": {
  26448. "description": "成交价格",
  26449. "type": "number"
  26450. },
  26451. "tradetime": {
  26452. "description": "期货成交时间",
  26453. "type": "string"
  26454. },
  26455. "tradetradedate": {
  26456. "description": "成交交易日(yyyyMMdd)",
  26457. "type": "string"
  26458. },
  26459. "username": {
  26460. "description": "用户名称",
  26461. "type": "string"
  26462. }
  26463. }
  26464. },
  26465. "models.Ermcp3Wrstandard": {
  26466. "type": "object",
  26467. "properties": {
  26468. "areauserid": {
  26469. "description": "所属机构",
  26470. "type": "integer"
  26471. },
  26472. "cantrade": {
  26473. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26474. "type": "integer"
  26475. },
  26476. "convertfactor": {
  26477. "description": "标仓系数",
  26478. "type": "number"
  26479. },
  26480. "createtime": {
  26481. "description": "创建时间",
  26482. "type": "string"
  26483. },
  26484. "creatorid": {
  26485. "description": "创建人",
  26486. "type": "integer"
  26487. },
  26488. "deliverygoodsid": {
  26489. "description": "现货品种ID",
  26490. "type": "integer"
  26491. },
  26492. "enumdicname": {
  26493. "description": "品类单位名称",
  26494. "type": "string"
  26495. },
  26496. "isvalid": {
  26497. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26498. "type": "integer"
  26499. },
  26500. "minivalue": {
  26501. "description": "最小变动值",
  26502. "type": "integer"
  26503. },
  26504. "minivaluedp": {
  26505. "description": "最小变动值小数位",
  26506. "type": "integer"
  26507. },
  26508. "realminivalue": {
  26509. "description": "实际最小变动值",
  26510. "type": "integer"
  26511. },
  26512. "realminivaluedp": {
  26513. "description": "实际最小变动值小数位",
  26514. "type": "integer"
  26515. },
  26516. "remark": {
  26517. "description": "备注",
  26518. "type": "string"
  26519. },
  26520. "unitid": {
  26521. "description": "品类单位ID",
  26522. "type": "integer"
  26523. },
  26524. "updatetime": {
  26525. "description": "更新时间",
  26526. "type": "string"
  26527. },
  26528. "wrstandardcode": {
  26529. "description": "品类代码",
  26530. "type": "string"
  26531. },
  26532. "wrstandardid": {
  26533. "description": "品类ID(SEQ_WRSTANDARD)",
  26534. "type": "integer"
  26535. },
  26536. "wrstandardname": {
  26537. "description": "品类名称",
  26538. "type": "string"
  26539. }
  26540. }
  26541. },
  26542. "models.Ermcp8EnableHedgeditem": {
  26543. "type": "object",
  26544. "properties": {
  26545. "accountname": {
  26546. "description": "套期主体",
  26547. "type": "string"
  26548. },
  26549. "hedgeditemid": {
  26550. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26551. "type": "string"
  26552. },
  26553. "hedgeditemname": {
  26554. "description": "项目名称",
  26555. "type": "string"
  26556. },
  26557. "hedgeditemnum": {
  26558. "description": "项目编号",
  26559. "type": "string"
  26560. },
  26561. "hedgedtype": {
  26562. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26563. "type": "integer"
  26564. },
  26565. "planenddate": {
  26566. "description": "计划结束日期",
  26567. "type": "string"
  26568. },
  26569. "planstartdate": {
  26570. "description": "计划开始日期",
  26571. "type": "string"
  26572. },
  26573. "wrstandardid": {
  26574. "description": "现货商品ID",
  26575. "type": "integer"
  26576. },
  26577. "wrstandardname": {
  26578. "description": "现货商品",
  26579. "type": "string"
  26580. }
  26581. }
  26582. },
  26583. "models.Ermcp8HedgeditemReport": {
  26584. "type": "object",
  26585. "properties": {
  26586. "accountname": {
  26587. "description": "套期主体",
  26588. "type": "string"
  26589. },
  26590. "areauserid": {
  26591. "description": "企业ID",
  26592. "type": "integer"
  26593. },
  26594. "curprice": {
  26595. "description": "[当日现货市场价]当前市场价",
  26596. "type": "number"
  26597. },
  26598. "enumdicname": {
  26599. "description": "单位",
  26600. "type": "string"
  26601. },
  26602. "exeamount": {
  26603. "description": "[执行现货金额]执行市价总额",
  26604. "type": "number"
  26605. },
  26606. "exeavgprice": {
  26607. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26608. "type": "number"
  26609. },
  26610. "exeqty": {
  26611. "description": "[执行数量]执行现货量",
  26612. "type": "number"
  26613. },
  26614. "futurehedgepl": {
  26615. "description": "期货实际损益",
  26616. "type": "number"
  26617. },
  26618. "futurehedgeplchange": {
  26619. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26620. "type": "number"
  26621. },
  26622. "futurepl": {
  26623. "description": "期货套期损益",
  26624. "type": "number"
  26625. },
  26626. "futureplchange": {
  26627. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26628. "type": "number"
  26629. },
  26630. "hedgeamount": {
  26631. "description": "[套期现货金额]套期市价总额",
  26632. "type": "number"
  26633. },
  26634. "hedgeditemnum": {
  26635. "description": "项目编号,模糊查询",
  26636. "type": "string"
  26637. },
  26638. "hedgeditemstatus": {
  26639. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26640. "type": "integer"
  26641. },
  26642. "hedgedtype": {
  26643. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26644. "type": "integer"
  26645. },
  26646. "hedgeqty": {
  26647. "description": "[套期数量]套期现货量",
  26648. "type": "number"
  26649. },
  26650. "oriavgprice": {
  26651. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26652. "type": "number"
  26653. },
  26654. "orifuturehedgepl": {
  26655. "description": "期初期货实际损益",
  26656. "type": "number"
  26657. },
  26658. "orifuturepl": {
  26659. "description": "期初期货套期损益",
  26660. "type": "number"
  26661. },
  26662. "orispothedgepl": {
  26663. "description": "期初现货实际损益",
  26664. "type": "number"
  26665. },
  26666. "orispotpl": {
  26667. "description": "期初现货套期损益",
  26668. "type": "number"
  26669. },
  26670. "planenddate": {
  26671. "description": "计划结束日期",
  26672. "type": "string"
  26673. },
  26674. "planstartdate": {
  26675. "description": "计划开始日期",
  26676. "type": "string"
  26677. },
  26678. "spothedgepl": {
  26679. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26680. "type": "number"
  26681. },
  26682. "spothedgeplchange": {
  26683. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26684. "type": "number"
  26685. },
  26686. "spotpl": {
  26687. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26688. "type": "number"
  26689. },
  26690. "spotplchange": {
  26691. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26692. "type": "number"
  26693. },
  26694. "tradeuserid": {
  26695. "description": "交易用户ID",
  26696. "type": "integer"
  26697. },
  26698. "unexeqty": {
  26699. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26700. "type": "number"
  26701. },
  26702. "wrstandardcode": {
  26703. "description": "现货品类代码",
  26704. "type": "string"
  26705. },
  26706. "wrstandardid": {
  26707. "description": "现货商品ID",
  26708. "type": "integer"
  26709. },
  26710. "wrstandardname": {
  26711. "description": "[现货商品]现货品类名称",
  26712. "type": "string"
  26713. }
  26714. }
  26715. },
  26716. "models.Ermcp8RunningHedgeditem": {
  26717. "type": "object",
  26718. "properties": {
  26719. "accountname": {
  26720. "description": "套期主体",
  26721. "type": "string"
  26722. },
  26723. "applyid": {
  26724. "description": "申请人",
  26725. "type": "integer"
  26726. },
  26727. "applysrc": {
  26728. "description": "申请来源 - 1:管理端 2:终端",
  26729. "type": "integer"
  26730. },
  26731. "areauserid": {
  26732. "description": "企业ID",
  26733. "type": "integer"
  26734. },
  26735. "auditid": {
  26736. "description": "审核人",
  26737. "type": "integer"
  26738. },
  26739. "auditremark": {
  26740. "description": "审核备注",
  26741. "type": "string"
  26742. },
  26743. "auditsrc": {
  26744. "description": "审核来源 - 1:管理端 2:终端",
  26745. "type": "integer"
  26746. },
  26747. "audittime": {
  26748. "description": "审核时间",
  26749. "type": "string"
  26750. },
  26751. "audittradedate": {
  26752. "description": "审核交易日(yyyyMMdd)",
  26753. "type": "string"
  26754. },
  26755. "createtime": {
  26756. "description": "申请时间",
  26757. "type": "string"
  26758. },
  26759. "curprice": {
  26760. "description": "当前市场价",
  26761. "type": "number"
  26762. },
  26763. "curstock": {
  26764. "description": "期末库存量 = 采购总量 - 销售总量",
  26765. "type": "number"
  26766. },
  26767. "deliverygoodsid": {
  26768. "description": "现货品种ID",
  26769. "type": "integer"
  26770. },
  26771. "enddate": {
  26772. "description": "完成日期",
  26773. "type": "string"
  26774. },
  26775. "endtradedate": {
  26776. "description": "完成交易日",
  26777. "type": "string"
  26778. },
  26779. "enumdicname": {
  26780. "description": "单位",
  26781. "type": "string"
  26782. },
  26783. "exeamount": {
  26784. "description": "执行市价总额",
  26785. "type": "number"
  26786. },
  26787. "exeavgprice": {
  26788. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26789. "type": "number"
  26790. },
  26791. "execontractamount": {
  26792. "description": "执行定价总额",
  26793. "type": "number"
  26794. },
  26795. "exeqty": {
  26796. "description": "执行现货量",
  26797. "type": "number"
  26798. },
  26799. "exerestamount": {
  26800. "description": "执行剩余市价总额【现货贸易】",
  26801. "type": "number"
  26802. },
  26803. "futurefloatpl": {
  26804. "description": "期货浮动损益",
  26805. "type": "number"
  26806. },
  26807. "futurehedgepl": {
  26808. "description": "期货实际损益",
  26809. "type": "number"
  26810. },
  26811. "futurehedgeplchange": {
  26812. "description": "期货实际损益变动",
  26813. "type": "number"
  26814. },
  26815. "futurepl": {
  26816. "description": "期货套期损益",
  26817. "type": "number"
  26818. },
  26819. "futureplchange": {
  26820. "description": "期货套期损益变动",
  26821. "type": "number"
  26822. },
  26823. "hedgeamount": {
  26824. "description": "套期市价总额",
  26825. "type": "number"
  26826. },
  26827. "hedgecontractamount": {
  26828. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26829. "type": "number"
  26830. },
  26831. "hedgeditemid": {
  26832. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26833. "type": "string"
  26834. },
  26835. "hedgeditemname": {
  26836. "description": "项目名称",
  26837. "type": "string"
  26838. },
  26839. "hedgeditemnum": {
  26840. "description": "项目编号",
  26841. "type": "string"
  26842. },
  26843. "hedgeditemstatus": {
  26844. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26845. "type": "integer"
  26846. },
  26847. "hedgedtype": {
  26848. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26849. "type": "integer"
  26850. },
  26851. "hedgeqty": {
  26852. "description": "套期现货量",
  26853. "type": "number"
  26854. },
  26855. "hedgerate": {
  26856. "description": "套保比率",
  26857. "type": "number"
  26858. },
  26859. "hedgerestamount": {
  26860. "description": "套期剩余市价总额【现货贸易】",
  26861. "type": "number"
  26862. },
  26863. "hedgesumpl": {
  26864. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26865. "type": "number"
  26866. },
  26867. "middlegoodslist": {
  26868. "description": "套期商品列表",
  26869. "type": "array",
  26870. "items": {
  26871. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26872. }
  26873. },
  26874. "oriavgprice": {
  26875. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26876. "type": "number"
  26877. },
  26878. "orifuturehedgepl": {
  26879. "description": "期初期货实际损益",
  26880. "type": "number"
  26881. },
  26882. "orifuturepl": {
  26883. "description": "期初期货套期损益",
  26884. "type": "number"
  26885. },
  26886. "orispothedgepl": {
  26887. "description": "期初现货实际损益",
  26888. "type": "number"
  26889. },
  26890. "orispotpl": {
  26891. "description": "期初现货套期损益",
  26892. "type": "number"
  26893. },
  26894. "planenddate": {
  26895. "description": "计划结束日期",
  26896. "type": "string"
  26897. },
  26898. "planstartdate": {
  26899. "description": "计划开始日期",
  26900. "type": "string"
  26901. },
  26902. "remark": {
  26903. "description": "备注",
  26904. "type": "string"
  26905. },
  26906. "spotbookamount": {
  26907. "description": "现货账面总额",
  26908. "type": "number"
  26909. },
  26910. "spotfloatpl": {
  26911. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26912. "type": "number"
  26913. },
  26914. "spothedgepl": {
  26915. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26916. "type": "number"
  26917. },
  26918. "spothedgeplchange": {
  26919. "description": "现货实际损益变动",
  26920. "type": "number"
  26921. },
  26922. "spotpl": {
  26923. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26924. "type": "number"
  26925. },
  26926. "spotplchange": {
  26927. "description": "现货套期损益变动",
  26928. "type": "number"
  26929. },
  26930. "spottradepl": {
  26931. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26932. "type": "number"
  26933. },
  26934. "sumobspl": {
  26935. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26936. "type": "number"
  26937. },
  26938. "tradeuserid": {
  26939. "description": "交易用户ID",
  26940. "type": "integer"
  26941. },
  26942. "unexeqty": {
  26943. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26944. "type": "number"
  26945. },
  26946. "updatetime": {
  26947. "description": "更新时间",
  26948. "type": "string"
  26949. },
  26950. "vatpl": {
  26951. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26952. "type": "number"
  26953. },
  26954. "vatrate": {
  26955. "description": "增值税",
  26956. "type": "number"
  26957. },
  26958. "wrstandardid": {
  26959. "description": "现货商品ID",
  26960. "type": "integer"
  26961. },
  26962. "wrstandardname": {
  26963. "description": "商品名称",
  26964. "type": "string"
  26965. }
  26966. }
  26967. },
  26968. "models.ErmcpBizGroupEx": {
  26969. "type": "object",
  26970. "properties": {
  26971. "acclist": {
  26972. "description": "账号列表",
  26973. "type": "array",
  26974. "items": {
  26975. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26976. }
  26977. },
  26978. "bizgroupid": {
  26979. "description": "业务分组id",
  26980. "type": "integer"
  26981. },
  26982. "biztype": {
  26983. "description": "业务类型 1-套保 2-套利",
  26984. "type": "integer"
  26985. },
  26986. "wrlist": {
  26987. "description": "现货商品表",
  26988. "type": "array",
  26989. "items": {
  26990. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  26991. }
  26992. }
  26993. }
  26994. },
  26995. "models.ErmcpBizGroupSpotGoods": {
  26996. "type": "object",
  26997. "properties": {
  26998. "areauserid": {
  26999. "description": "所属机构id",
  27000. "type": "integer"
  27001. },
  27002. "bizgroupid": {
  27003. "description": "分组id",
  27004. "type": "integer"
  27005. },
  27006. "biztype": {
  27007. "description": "业务类型 1-套保 2-套利",
  27008. "type": "integer"
  27009. },
  27010. "deliverygoodscode": {
  27011. "description": "现货商品代码",
  27012. "type": "string"
  27013. },
  27014. "deliverygoodsid": {
  27015. "description": "现货商品id",
  27016. "type": "integer"
  27017. },
  27018. "deliverygoodsname": {
  27019. "description": "现货商品名称",
  27020. "type": "string"
  27021. },
  27022. "unitid": {
  27023. "description": "现货商品单位id",
  27024. "type": "integer"
  27025. }
  27026. }
  27027. },
  27028. "models.ErmcpBizGroupTaAccount": {
  27029. "type": "object",
  27030. "properties": {
  27031. "accountid": {
  27032. "description": "账号id",
  27033. "type": "integer"
  27034. },
  27035. "accountname": {
  27036. "description": "账号名称",
  27037. "type": "string"
  27038. },
  27039. "areauserid": {
  27040. "description": "所属机构id",
  27041. "type": "integer"
  27042. },
  27043. "bizgroupid": {
  27044. "description": "业务分组id",
  27045. "type": "integer"
  27046. },
  27047. "ismain": {
  27048. "description": "是否主账号 1-是 0-否",
  27049. "type": "integer"
  27050. }
  27051. }
  27052. },
  27053. "models.ErmcpDGFactoryItem": {
  27054. "type": "object",
  27055. "properties": {
  27056. "areauserid": {
  27057. "description": "用户id",
  27058. "type": "integer"
  27059. },
  27060. "deliverygoodsid": {
  27061. "description": "现货品种ID",
  27062. "type": "integer"
  27063. },
  27064. "dgfactoryitemid": {
  27065. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27066. "type": "integer"
  27067. },
  27068. "dgfactoryitemtypeid": {
  27069. "description": "要素项类型",
  27070. "type": "integer"
  27071. },
  27072. "dgfactoryitemvalue": {
  27073. "description": "要素项值(类型为仓库时填写仓库名称)",
  27074. "type": "string"
  27075. },
  27076. "isvalid": {
  27077. "description": "是否有效 - 0:无效 1:有效",
  27078. "type": "integer"
  27079. },
  27080. "orderindex": {
  27081. "description": "顺序",
  27082. "type": "integer"
  27083. },
  27084. "warehouseid": {
  27085. "description": "仓库ID(类型为仓库时填写)",
  27086. "type": "integer"
  27087. }
  27088. }
  27089. },
  27090. "models.ErmcpDeliveryGoods": {
  27091. "type": "object",
  27092. "properties": {
  27093. "agreeunit": {
  27094. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27095. "type": "integer"
  27096. },
  27097. "areauserid": {
  27098. "description": "所属机构",
  27099. "type": "integer"
  27100. },
  27101. "auditflag": {
  27102. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27103. "type": "integer"
  27104. },
  27105. "categoryid": {
  27106. "description": "类别ID(SEQ_WRCATEGORY)",
  27107. "type": "integer"
  27108. },
  27109. "deliverygoodscode": {
  27110. "description": "现货品种代码",
  27111. "type": "string"
  27112. },
  27113. "deliverygoodsid": {
  27114. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27115. "type": "integer"
  27116. },
  27117. "deliverygoodsname": {
  27118. "description": "现货品种名称",
  27119. "type": "string"
  27120. },
  27121. "deliverygoodstype": {
  27122. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27123. "type": "integer"
  27124. },
  27125. "dgstatus": {
  27126. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27127. "type": "integer"
  27128. },
  27129. "enumdicname": {
  27130. "description": "现货品种单位名称",
  27131. "type": "string"
  27132. },
  27133. "goodsunitid": {
  27134. "description": "现货品种单位ID",
  27135. "type": "integer"
  27136. },
  27137. "isvalid": {
  27138. "description": "是否有效 - 0:无效 1:有效",
  27139. "type": "integer"
  27140. },
  27141. "qtydecimalplace": {
  27142. "description": "成交量小数位",
  27143. "type": "integer"
  27144. },
  27145. "remark": {
  27146. "description": "备注",
  27147. "type": "string"
  27148. },
  27149. "standardqty": {
  27150. "description": "标准数量(库位数量) [标准品特有]",
  27151. "type": "integer"
  27152. },
  27153. "standardqtyrange": {
  27154. "description": "标准数量偏差范围 [标准品特有]",
  27155. "type": "integer"
  27156. }
  27157. }
  27158. },
  27159. "models.ErmcpFuturesCompany": {
  27160. "type": "object",
  27161. "properties": {
  27162. "brokerid": {
  27163. "description": "经纪公司代码",
  27164. "type": "string"
  27165. },
  27166. "channeladdress": {
  27167. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27168. "type": "string"
  27169. },
  27170. "channelid": {
  27171. "description": "对冲渠道ID",
  27172. "type": "string"
  27173. },
  27174. "createtime": {
  27175. "description": "创建时间",
  27176. "type": "string"
  27177. },
  27178. "creatorid": {
  27179. "description": "创建人",
  27180. "type": "string"
  27181. },
  27182. "fcid": {
  27183. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27184. "type": "integer"
  27185. },
  27186. "fcname": {
  27187. "description": "期货公司名称",
  27188. "type": "string"
  27189. },
  27190. "isvalid": {
  27191. "description": "是否有效 - 0:无效 1:有效",
  27192. "type": "integer"
  27193. },
  27194. "mhpaddress": {
  27195. "description": "MHP服务地址(IP:Port)",
  27196. "type": "string"
  27197. },
  27198. "riskrulegroupid": {
  27199. "description": "风控规则组ID",
  27200. "type": "string"
  27201. },
  27202. "tradefeetmpid": {
  27203. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27204. "type": "string"
  27205. },
  27206. "trademargintmpid": {
  27207. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27208. "type": "string"
  27209. },
  27210. "traderatetmpid": {
  27211. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27212. "type": "string"
  27213. },
  27214. "updatetime": {
  27215. "description": "更新时间",
  27216. "type": "string"
  27217. },
  27218. "updatorid": {
  27219. "description": "更新人",
  27220. "type": "string"
  27221. }
  27222. }
  27223. },
  27224. "models.ErmcpGGConvertCfg": {
  27225. "type": "object",
  27226. "properties": {
  27227. "convertratio": {
  27228. "description": "折算系数",
  27229. "type": "number"
  27230. },
  27231. "destgoodsgroupid": {
  27232. "description": "目标品种ID",
  27233. "type": "integer"
  27234. },
  27235. "dstcode": {
  27236. "description": "目录品种代码",
  27237. "type": "string"
  27238. },
  27239. "dstexchangecode": {
  27240. "description": "目标期货交易所",
  27241. "type": "string"
  27242. },
  27243. "dstname": {
  27244. "description": "目标品种名称",
  27245. "type": "string"
  27246. },
  27247. "dstunitid": {
  27248. "description": "目标品种单位ID",
  27249. "type": "integer"
  27250. },
  27251. "dstunitidname": {
  27252. "description": "目标品种单位名称",
  27253. "type": "string"
  27254. },
  27255. "modifytime": {
  27256. "description": "修改时间",
  27257. "type": "string"
  27258. },
  27259. "srccode": {
  27260. "description": "源品种代码",
  27261. "type": "string"
  27262. },
  27263. "srcexchangecode": {
  27264. "description": "源期货交易所",
  27265. "type": "string"
  27266. },
  27267. "srcgoodsgroupid": {
  27268. "description": "源品种ID",
  27269. "type": "integer"
  27270. },
  27271. "srcname": {
  27272. "description": "源品种名称",
  27273. "type": "string"
  27274. },
  27275. "srcunitid": {
  27276. "description": "源品种单位ID",
  27277. "type": "integer"
  27278. },
  27279. "srcunitidname": {
  27280. "description": "源品种单位名称",
  27281. "type": "string"
  27282. }
  27283. }
  27284. },
  27285. "models.ErmcpGoods": {
  27286. "type": "object",
  27287. "required": [
  27288. "goodscode",
  27289. "goodsid",
  27290. "goodsname",
  27291. "marketid"
  27292. ],
  27293. "properties": {
  27294. "agreeunit": {
  27295. "description": "合约单位",
  27296. "type": "number"
  27297. },
  27298. "areauserid": {
  27299. "description": "所属机构",
  27300. "type": "integer"
  27301. },
  27302. "auditaccountid": {
  27303. "description": "审核操作员账号",
  27304. "type": "integer"
  27305. },
  27306. "audittime": {
  27307. "description": "审核时间",
  27308. "type": "string"
  27309. },
  27310. "cancelaccountid": {
  27311. "description": "注销操作员账号",
  27312. "type": "integer"
  27313. },
  27314. "canceltime": {
  27315. "description": "注销时间",
  27316. "type": "string"
  27317. },
  27318. "closepricemode": {
  27319. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27320. "type": "integer"
  27321. },
  27322. "closepriceparam": {
  27323. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27324. "type": "number"
  27325. },
  27326. "createtime": {
  27327. "description": "创建时间",
  27328. "type": "string"
  27329. },
  27330. "creatorid": {
  27331. "description": "创建人",
  27332. "type": "integer"
  27333. },
  27334. "currencyid": {
  27335. "description": "报价货币ID",
  27336. "type": "integer"
  27337. },
  27338. "cutmode": {
  27339. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27340. "type": "integer"
  27341. },
  27342. "decimalplace": {
  27343. "description": "报价小数位",
  27344. "type": "integer"
  27345. },
  27346. "delistingdate": {
  27347. "description": "商品退市时间(状态:退市) -- 已作废",
  27348. "type": "string"
  27349. },
  27350. "delistingmode": {
  27351. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27352. "type": "integer"
  27353. },
  27354. "deliveryflag": {
  27355. "description": "交割标志 - 0:不可交割 1:可交割",
  27356. "type": "integer"
  27357. },
  27358. "enumdicname": {
  27359. "description": "单位名称",
  27360. "type": "string"
  27361. },
  27362. "forceclosemode": {
  27363. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27364. "type": "integer"
  27365. },
  27366. "forceclosevalue": {
  27367. "description": "定期强平参数 [收益权]",
  27368. "type": "integer"
  27369. },
  27370. "goodscode": {
  27371. "description": "商品代码(内部)",
  27372. "type": "string"
  27373. },
  27374. "goodscurrencyid": {
  27375. "description": "合约货币ID",
  27376. "type": "integer"
  27377. },
  27378. "goodsgroupid": {
  27379. "description": "所属商品组ID",
  27380. "type": "integer"
  27381. },
  27382. "goodsid": {
  27383. "description": "商品ID(自增ID SEQ_GOODS)",
  27384. "type": "integer"
  27385. },
  27386. "goodsname": {
  27387. "description": "商品名称",
  27388. "type": "string"
  27389. },
  27390. "goodsquotetype": {
  27391. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27392. "type": "integer"
  27393. },
  27394. "goodsstatus": {
  27395. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27396. "type": "integer"
  27397. },
  27398. "goodstradetype": {
  27399. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27400. "type": "integer"
  27401. },
  27402. "goodunitid": {
  27403. "description": "报价单位ID",
  27404. "type": "integer"
  27405. },
  27406. "hasquoter": {
  27407. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27408. "type": "integer"
  27409. },
  27410. "hqprotecttime": {
  27411. "description": "行情保护时间(秒)",
  27412. "type": "integer"
  27413. },
  27414. "innerdealmode": {
  27415. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27416. "type": "integer"
  27417. },
  27418. "isbuylimited": {
  27419. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27420. "type": "integer"
  27421. },
  27422. "isvisible": {
  27423. "description": "游客是否可见 - 0:不可见 1:可见",
  27424. "type": "integer"
  27425. },
  27426. "lasttradedate": {
  27427. "description": "最后交易日期(状态:待退市)",
  27428. "type": "string"
  27429. },
  27430. "listingdate": {
  27431. "description": "交易开始日期",
  27432. "type": "string"
  27433. },
  27434. "marketid": {
  27435. "description": "所属市场ID",
  27436. "type": "integer"
  27437. },
  27438. "modifierid": {
  27439. "description": "修改人",
  27440. "type": "integer"
  27441. },
  27442. "modifystatus": {
  27443. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27444. "type": "integer"
  27445. },
  27446. "modifytime": {
  27447. "description": "修改时间",
  27448. "type": "string"
  27449. },
  27450. "outerdealmode": {
  27451. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27452. "type": "integer"
  27453. },
  27454. "outgoodscode": {
  27455. "description": "商品代码(外部)",
  27456. "type": "string"
  27457. },
  27458. "pictureurl": {
  27459. "description": "商品图片",
  27460. "type": "string"
  27461. },
  27462. "qtydecimalplace": {
  27463. "description": "成交量小数位",
  27464. "type": "integer"
  27465. },
  27466. "quotegear": {
  27467. "description": "行情档位(1-10)",
  27468. "type": "integer"
  27469. },
  27470. "quoteminunit": {
  27471. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27472. "type": "integer"
  27473. },
  27474. "quoteshowtype": {
  27475. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27476. "type": "integer"
  27477. },
  27478. "quoteshowtypeinterval": {
  27479. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27480. "type": "integer"
  27481. },
  27482. "relatedgoodsid": {
  27483. "description": "关联参考商品ID",
  27484. "type": "integer"
  27485. },
  27486. "remark": {
  27487. "description": "备注",
  27488. "type": "string"
  27489. },
  27490. "trademode": {
  27491. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27492. "type": "integer"
  27493. }
  27494. }
  27495. },
  27496. "models.ErmcpGoodsBrand": {
  27497. "type": "object",
  27498. "properties": {
  27499. "areauserid": {
  27500. "description": "所属机构",
  27501. "type": "integer"
  27502. },
  27503. "brandid": {
  27504. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27505. "type": "integer"
  27506. },
  27507. "brandname": {
  27508. "description": "品牌名称",
  27509. "type": "string"
  27510. },
  27511. "createtime": {
  27512. "description": "创建时间",
  27513. "type": "string"
  27514. },
  27515. "creatorid": {
  27516. "description": "创建人",
  27517. "type": "integer"
  27518. },
  27519. "creatorsrc": {
  27520. "description": "创建人来源 - 1:管理端 2:终端",
  27521. "type": "integer"
  27522. },
  27523. "deliverygoodsid": {
  27524. "description": "现货品种ID",
  27525. "type": "integer"
  27526. },
  27527. "isvalid": {
  27528. "description": "是否有效 - 0:无效 1:有效",
  27529. "type": "integer"
  27530. },
  27531. "updatetime": {
  27532. "description": "更新时间",
  27533. "type": "string"
  27534. },
  27535. "updatorid": {
  27536. "description": "更新人",
  27537. "type": "integer"
  27538. },
  27539. "updatorsrc": {
  27540. "description": "更新人来源 - 1:管理端 2:终端",
  27541. "type": "integer"
  27542. },
  27543. "wrstandardid": {
  27544. "description": "现货商品ID",
  27545. "type": "integer"
  27546. }
  27547. }
  27548. },
  27549. "models.ErmcpGoodsModel": {
  27550. "type": "object",
  27551. "properties": {
  27552. "areauserid": {
  27553. "description": "所属机构",
  27554. "type": "integer"
  27555. },
  27556. "convertfactor": {
  27557. "description": "标仓系数",
  27558. "type": "number"
  27559. },
  27560. "createtime": {
  27561. "description": "创建时间",
  27562. "type": "string"
  27563. },
  27564. "creatorid": {
  27565. "description": "创建人",
  27566. "type": "integer"
  27567. },
  27568. "creatorsrc": {
  27569. "description": "创建人来源 - 1:管理端 2:终端",
  27570. "type": "integer"
  27571. },
  27572. "deliverygoodsid": {
  27573. "description": "现货品种ID",
  27574. "type": "integer"
  27575. },
  27576. "isvalid": {
  27577. "description": "是否有效 - 0:无效 1:有效",
  27578. "type": "integer"
  27579. },
  27580. "modelid": {
  27581. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27582. "type": "integer"
  27583. },
  27584. "modelname": {
  27585. "description": "型号名称",
  27586. "type": "string"
  27587. },
  27588. "updatetime": {
  27589. "description": "更新时间",
  27590. "type": "string"
  27591. },
  27592. "updatorid": {
  27593. "description": "更新人",
  27594. "type": "integer"
  27595. },
  27596. "updatorsrc": {
  27597. "description": "更新人来源 - 1:管理端 2:终端",
  27598. "type": "integer"
  27599. },
  27600. "wrstandardid": {
  27601. "description": "现货商品ID",
  27602. "type": "integer"
  27603. }
  27604. }
  27605. },
  27606. "models.ErmcpHisExposure": {
  27607. "type": "object",
  27608. "properties": {
  27609. "needhedgeexposoure": {
  27610. "description": "应套保敞口",
  27611. "type": "number"
  27612. },
  27613. "reckondate": {
  27614. "description": "日照时期(yyyyMMdd)",
  27615. "type": "string"
  27616. },
  27617. "totalexposure": {
  27618. "description": "总敞口",
  27619. "type": "number"
  27620. }
  27621. }
  27622. },
  27623. "models.ErmcpLoginTaAccount": {
  27624. "type": "object",
  27625. "properties": {
  27626. "accountid": {
  27627. "description": "账号id",
  27628. "type": "integer"
  27629. },
  27630. "accountname": {
  27631. "description": "账号名称",
  27632. "type": "string"
  27633. }
  27634. }
  27635. },
  27636. "models.ErmcpLoginUser": {
  27637. "type": "object",
  27638. "properties": {
  27639. "acclist": {
  27640. "description": "关联资金账号",
  27641. "type": "array",
  27642. "items": {
  27643. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27644. }
  27645. },
  27646. "accountname": {
  27647. "description": "用户名称",
  27648. "type": "string"
  27649. },
  27650. "clientroleid": {
  27651. "description": "角色id(usertype=2)",
  27652. "type": "integer"
  27653. },
  27654. "createtime": {
  27655. "description": "创建时间",
  27656. "type": "string"
  27657. },
  27658. "logincode": {
  27659. "description": "登录代码",
  27660. "type": "string"
  27661. },
  27662. "loginid": {
  27663. "description": "登录id(LOGINID)",
  27664. "type": "integer"
  27665. },
  27666. "loginname": {
  27667. "description": "登录名称(loginaccount表中的accountname字段)",
  27668. "type": "string"
  27669. },
  27670. "loginstatus": {
  27671. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27672. "type": "integer"
  27673. },
  27674. "memberuserid": {
  27675. "description": "所属会员id",
  27676. "type": "integer"
  27677. },
  27678. "mobile": {
  27679. "description": "手机号",
  27680. "type": "string"
  27681. },
  27682. "modifytime": {
  27683. "description": "修改时间",
  27684. "type": "string"
  27685. },
  27686. "password": {
  27687. "description": "密码(不可解密)",
  27688. "type": "string"
  27689. },
  27690. "rolename": {
  27691. "description": "角色名称",
  27692. "type": "string"
  27693. },
  27694. "rolestatus": {
  27695. "description": "角色状态 1-启用 2-停用",
  27696. "type": "integer"
  27697. },
  27698. "roletype": {
  27699. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27700. "type": "string"
  27701. },
  27702. "userid": {
  27703. "description": "用户id",
  27704. "type": "integer"
  27705. },
  27706. "usertype": {
  27707. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27708. "type": "integer"
  27709. }
  27710. }
  27711. },
  27712. "models.ErmcpLoginUserEx": {
  27713. "type": "object",
  27714. "properties": {
  27715. "accountstatus": {
  27716. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27717. "type": "integer"
  27718. },
  27719. "mobile": {
  27720. "description": "手机号",
  27721. "type": "string"
  27722. },
  27723. "querytype": {
  27724. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27725. "type": "integer"
  27726. },
  27727. "roleid": {
  27728. "description": "角色id(交易账户-\u003e用户id)",
  27729. "type": "integer"
  27730. },
  27731. "rolename": {
  27732. "description": "角色名称(交易账户-\u003e用户名称)",
  27733. "type": "string"
  27734. },
  27735. "userlist": {
  27736. "description": "用户列表",
  27737. "type": "array",
  27738. "items": {
  27739. "$ref": "#/definitions/models.ErmcpLoginUser"
  27740. }
  27741. },
  27742. "usertype": {
  27743. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27744. "type": "integer"
  27745. }
  27746. }
  27747. },
  27748. "models.ErmcpMiddleGoodsModel": {
  27749. "type": "object",
  27750. "properties": {
  27751. "areauserid": {
  27752. "description": "机构用户ID",
  27753. "type": "integer"
  27754. },
  27755. "createtime": {
  27756. "description": "修改时间",
  27757. "type": "string"
  27758. },
  27759. "enumdicname": {
  27760. "description": "单位名称",
  27761. "type": "string"
  27762. },
  27763. "evaluateratio": {
  27764. "description": "估价系数",
  27765. "type": "number"
  27766. },
  27767. "goodsgroupid": {
  27768. "description": "关联期货品种ID",
  27769. "type": "integer"
  27770. },
  27771. "goodsunitid": {
  27772. "description": "单位ID",
  27773. "type": "integer"
  27774. },
  27775. "isvalid": {
  27776. "description": "状态 0-无效(停用) 1-有效(正常)",
  27777. "type": "integer"
  27778. },
  27779. "middlegoodscode": {
  27780. "description": "套保品种代码",
  27781. "type": "string"
  27782. },
  27783. "middlegoodsid": {
  27784. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27785. "type": "integer"
  27786. },
  27787. "middlegoodsname": {
  27788. "description": "套保品种名称",
  27789. "type": "string"
  27790. },
  27791. "modifytime": {
  27792. "description": "修改时间",
  27793. "type": "string"
  27794. },
  27795. "needarbitrageratio": {
  27796. "description": "套利比例",
  27797. "type": "number"
  27798. },
  27799. "needhedgeratio": {
  27800. "description": "套保比率",
  27801. "type": "number"
  27802. },
  27803. "qtydecimalplace": {
  27804. "description": "数量小数位",
  27805. "type": "integer"
  27806. },
  27807. "relatedgoodsid": {
  27808. "description": "关联交易商品ID",
  27809. "type": "integer"
  27810. },
  27811. "relatedgoodstype": {
  27812. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27813. "type": "integer"
  27814. },
  27815. "remark": {
  27816. "description": "备注",
  27817. "type": "string"
  27818. }
  27819. }
  27820. },
  27821. "models.ErmcpMiddlegoodsRelateGoods": {
  27822. "type": "object",
  27823. "properties": {
  27824. "agreeunit": {
  27825. "description": "合约乘数",
  27826. "type": "number"
  27827. },
  27828. "convertratio": {
  27829. "description": "折算系数",
  27830. "type": "number"
  27831. },
  27832. "enumdicname": {
  27833. "description": "单位名称(交易商品)",
  27834. "type": "string"
  27835. },
  27836. "goodscode": {
  27837. "description": "交易商品代码",
  27838. "type": "string"
  27839. },
  27840. "goodsgroupid": {
  27841. "description": "交易品种id",
  27842. "type": "integer"
  27843. },
  27844. "goodsid": {
  27845. "description": "商品Id",
  27846. "type": "integer"
  27847. },
  27848. "goodsname": {
  27849. "description": "交易商品名称",
  27850. "type": "string"
  27851. },
  27852. "goodunitid": {
  27853. "description": "交易商品单位id",
  27854. "type": "integer"
  27855. },
  27856. "middlegoodsid": {
  27857. "description": "套保商品id",
  27858. "type": "integer"
  27859. },
  27860. "middlegoodsname": {
  27861. "description": "套保商品名称",
  27862. "type": "string"
  27863. },
  27864. "middlegoodsswcode": {
  27865. "description": "套保商品代码",
  27866. "type": "string"
  27867. },
  27868. "needarbitrageratio": {
  27869. "description": "应套利比例",
  27870. "type": "number"
  27871. },
  27872. "needhedgeratio": {
  27873. "description": "应套保比例",
  27874. "type": "number"
  27875. }
  27876. }
  27877. },
  27878. "models.ErmcpRole": {
  27879. "type": "object",
  27880. "properties": {
  27881. "areauserid": {
  27882. "description": "所属机构",
  27883. "type": "integer"
  27884. },
  27885. "autoid": {
  27886. "description": "角色ID(自增ID)",
  27887. "type": "integer"
  27888. },
  27889. "modifierid": {
  27890. "description": "修改人(创建人)",
  27891. "type": "integer"
  27892. },
  27893. "modifiername": {
  27894. "description": "修改人名称",
  27895. "type": "string"
  27896. },
  27897. "modifytime": {
  27898. "description": "修改时间(创建时间)",
  27899. "type": "string"
  27900. },
  27901. "rolename": {
  27902. "description": "角色名称",
  27903. "type": "string"
  27904. },
  27905. "rolestatus": {
  27906. "description": "角色状态 - 1:启用 2:停用",
  27907. "type": "integer"
  27908. },
  27909. "roletype": {
  27910. "description": "角色类型 - 1- 管理端 2- 交易端",
  27911. "type": "integer"
  27912. }
  27913. }
  27914. },
  27915. "models.ErmcpRoleMenu": {
  27916. "type": "object",
  27917. "properties": {
  27918. "iconame": {
  27919. "description": "菜单图标",
  27920. "type": "string"
  27921. },
  27922. "ishadrole": {
  27923. "description": "是否有权限",
  27924. "type": "boolean"
  27925. },
  27926. "menutype": {
  27927. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27928. "type": "integer"
  27929. },
  27930. "parentcode": {
  27931. "description": "上级资源代码",
  27932. "type": "string"
  27933. },
  27934. "remark": {
  27935. "description": "菜单备注",
  27936. "type": "string"
  27937. },
  27938. "resourcecode": {
  27939. "description": "菜单代码",
  27940. "type": "string"
  27941. },
  27942. "resourcelevel": {
  27943. "description": "级别",
  27944. "type": "integer"
  27945. },
  27946. "resourcename": {
  27947. "description": "菜单名称",
  27948. "type": "string"
  27949. },
  27950. "roleid": {
  27951. "description": "角色id",
  27952. "type": "integer"
  27953. },
  27954. "sort": {
  27955. "description": "排序",
  27956. "type": "integer"
  27957. },
  27958. "url": {
  27959. "description": "URL",
  27960. "type": "string"
  27961. },
  27962. "userid": {
  27963. "description": "用户id",
  27964. "type": "integer"
  27965. }
  27966. }
  27967. },
  27968. "models.ErmcpRoleMenuEx": {
  27969. "type": "object",
  27970. "properties": {
  27971. "menu": {
  27972. "description": "父级菜单",
  27973. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27974. },
  27975. "subMenu": {
  27976. "description": "子级菜单",
  27977. "type": "array",
  27978. "items": {
  27979. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27980. }
  27981. }
  27982. }
  27983. },
  27984. "models.ErmcpSpotContractModelEx": {
  27985. "type": "object",
  27986. "properties": {
  27987. "accountname": {
  27988. "description": "套期主体",
  27989. "type": "string"
  27990. },
  27991. "amount": {
  27992. "description": "金额 [1:一口价、3:暂定价]",
  27993. "type": "number"
  27994. },
  27995. "attachment": {
  27996. "description": "附件",
  27997. "type": "string"
  27998. },
  27999. "auditremark": {
  28000. "description": "审核意见",
  28001. "type": "string"
  28002. },
  28003. "audittime": {
  28004. "description": "审核时间",
  28005. "type": "string"
  28006. },
  28007. "avgprice": {
  28008. "description": "定价均价 = 已定价金额 / 已定价量",
  28009. "type": "number"
  28010. },
  28011. "brandname": {
  28012. "description": "品牌名称",
  28013. "type": "string"
  28014. },
  28015. "buyuserid": {
  28016. "description": "采购方ID",
  28017. "type": "integer"
  28018. },
  28019. "buyusername": {
  28020. "description": "采购方名称",
  28021. "type": "string"
  28022. },
  28023. "contracctstatus": {
  28024. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28025. "type": "integer"
  28026. },
  28027. "contractmargin": {
  28028. "description": "合同保证金",
  28029. "type": "number"
  28030. },
  28031. "contractno": {
  28032. "description": "[合同编号]现货合同编号",
  28033. "type": "string"
  28034. },
  28035. "contracttype": {
  28036. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28037. "type": "integer"
  28038. },
  28039. "convertfactor": {
  28040. "description": "标仓系数",
  28041. "type": "number"
  28042. },
  28043. "createtime": {
  28044. "description": "创建时间",
  28045. "type": "string"
  28046. },
  28047. "customername": {
  28048. "description": "对手方",
  28049. "type": "string"
  28050. },
  28051. "customeruserid": {
  28052. "description": "客户ID",
  28053. "type": "integer"
  28054. },
  28055. "deliveryenddate": {
  28056. "description": "交收期(结束)",
  28057. "type": "string"
  28058. },
  28059. "deliverygoodscode": {
  28060. "description": "现货品种代码",
  28061. "type": "string"
  28062. },
  28063. "deliverygoodsid": {
  28064. "description": "现货品种ID",
  28065. "type": "integer"
  28066. },
  28067. "deliverygoodsname": {
  28068. "description": "现货品种名称",
  28069. "type": "string"
  28070. },
  28071. "deliverystartdate": {
  28072. "description": "交收期(开始)",
  28073. "type": "string"
  28074. },
  28075. "enddate": {
  28076. "description": "点价结束日期 [2:点价 3:暂定价]",
  28077. "type": "string"
  28078. },
  28079. "enumdicname": {
  28080. "description": "单位名称",
  28081. "type": "string"
  28082. },
  28083. "goodscode": {
  28084. "description": "点价合约代码",
  28085. "type": "string"
  28086. },
  28087. "goodsid": {
  28088. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28089. "type": "integer"
  28090. },
  28091. "goodsname": {
  28092. "description": "点价商品名称",
  28093. "type": "string"
  28094. },
  28095. "isrelated": {
  28096. "description": "是否已关联计划项目 - 0:否 1:是",
  28097. "type": "integer"
  28098. },
  28099. "isrelated2": {
  28100. "description": "是否已关联现货项目 - 0:否 1:是",
  28101. "type": "integer"
  28102. },
  28103. "margin": {
  28104. "description": "当前保证金",
  28105. "type": "number"
  28106. },
  28107. "modelname": {
  28108. "description": "型号名称",
  28109. "type": "string"
  28110. },
  28111. "price": {
  28112. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28113. "type": "number"
  28114. },
  28115. "pricedamount": {
  28116. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28117. "type": "number"
  28118. },
  28119. "pricedqty": {
  28120. "description": "已定价量",
  28121. "type": "number"
  28122. },
  28123. "pricemove": {
  28124. "description": "升贴水 [2:点价 3:暂定价]",
  28125. "type": "number"
  28126. },
  28127. "pricetype": {
  28128. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28129. "type": "integer"
  28130. },
  28131. "producttype": {
  28132. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28133. "type": "integer"
  28134. },
  28135. "qty": {
  28136. "description": "[合同数量]数量",
  28137. "type": "number"
  28138. },
  28139. "remark": {
  28140. "description": "备注",
  28141. "type": "string"
  28142. },
  28143. "selluserid": {
  28144. "description": "销售方ID",
  28145. "type": "integer"
  28146. },
  28147. "sellusername": {
  28148. "description": "销售方名称",
  28149. "type": "string"
  28150. },
  28151. "spotamount": {
  28152. "description": "合同现货金额 [不含升贴水]",
  28153. "type": "number"
  28154. },
  28155. "spotavgprice": {
  28156. "description": "现货均价 = 合同现货金额 / 已定价量",
  28157. "type": "number"
  28158. },
  28159. "spotcontractid": {
  28160. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28161. "type": "string"
  28162. },
  28163. "spotgoodsbrandid": {
  28164. "description": "现货品牌ID",
  28165. "type": "integer"
  28166. },
  28167. "spotgoodsdesc": {
  28168. "description": "商品型号",
  28169. "type": "string"
  28170. },
  28171. "spotgoodsmodelid": {
  28172. "description": "现货型号ID",
  28173. "type": "integer"
  28174. },
  28175. "startdate": {
  28176. "description": "点价开始日期 [2:点价 3:暂定价]",
  28177. "type": "string"
  28178. },
  28179. "tradeuserid": {
  28180. "description": "交易用户ID",
  28181. "type": "integer"
  28182. },
  28183. "unpricedqty": {
  28184. "description": "未定价量 = 合同数量 - 已定价量",
  28185. "type": "number"
  28186. },
  28187. "updatetime": {
  28188. "description": "更新时间",
  28189. "type": "string"
  28190. },
  28191. "userid": {
  28192. "description": "机构ID",
  28193. "type": "integer"
  28194. },
  28195. "wrstandardcode": {
  28196. "description": "现货商品代码",
  28197. "type": "string"
  28198. },
  28199. "wrstandardid": {
  28200. "description": "现货商品ID",
  28201. "type": "integer"
  28202. },
  28203. "wrstandardname": {
  28204. "description": "[现货商品]现货商品名称",
  28205. "type": "string"
  28206. }
  28207. }
  28208. },
  28209. "models.ErmcpTaAccount": {
  28210. "type": "object",
  28211. "properties": {
  28212. "accountid": {
  28213. "description": "账户id",
  28214. "type": "integer"
  28215. },
  28216. "accountname": {
  28217. "description": "账户名称",
  28218. "type": "string"
  28219. },
  28220. "currencyid": {
  28221. "description": "币种id",
  28222. "type": "integer"
  28223. },
  28224. "hedgeaccountcode": {
  28225. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28226. "type": "string"
  28227. },
  28228. "ismain": {
  28229. "description": "是否主账户 0-否 1-是",
  28230. "type": "integer"
  28231. },
  28232. "parentaccountid": {
  28233. "description": "父账户id",
  28234. "type": "integer"
  28235. },
  28236. "relateduserid": {
  28237. "description": "关联userid",
  28238. "type": "integer"
  28239. },
  28240. "tradefeetmpid": {
  28241. "description": "手续费模板id",
  28242. "type": "integer"
  28243. },
  28244. "tradefeetmpname": {
  28245. "description": "手续费模板名称",
  28246. "type": "string"
  28247. },
  28248. "trademargintmpid": {
  28249. "description": "保证金模板id",
  28250. "type": "integer"
  28251. },
  28252. "trademargintmpname": {
  28253. "description": "保证金模板名称",
  28254. "type": "string"
  28255. },
  28256. "traderatetmpid": {
  28257. "description": "汇率模板id",
  28258. "type": "integer"
  28259. },
  28260. "traderatetmpname": {
  28261. "description": "汇率模板名称",
  28262. "type": "string"
  28263. },
  28264. "tradestatus": {
  28265. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28266. "type": "integer"
  28267. },
  28268. "userid": {
  28269. "description": "用户id",
  28270. "type": "integer"
  28271. }
  28272. }
  28273. },
  28274. "models.ErmcpTaAccountEx": {
  28275. "type": "object",
  28276. "properties": {
  28277. "mainAcc": {
  28278. "description": "主账号",
  28279. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28280. },
  28281. "subacclist": {
  28282. "description": "子账号列表",
  28283. "type": "array",
  28284. "items": {
  28285. "$ref": "#/definitions/models.ErmcpTaAccount"
  28286. }
  28287. }
  28288. }
  28289. },
  28290. "models.ErmcpTaAccountInfo": {
  28291. "type": "object",
  28292. "properties": {
  28293. "accountid": {
  28294. "description": "资金账户ID",
  28295. "type": "integer"
  28296. },
  28297. "accountname": {
  28298. "description": "账户名称",
  28299. "type": "string"
  28300. },
  28301. "balance": {
  28302. "description": "期初余额",
  28303. "type": "number"
  28304. },
  28305. "capitalbalance": {
  28306. "description": "本金余额[外部子账户实际出入金余额]",
  28307. "type": "number"
  28308. },
  28309. "closepl": {
  28310. "description": "今日平仓盈亏",
  28311. "type": "number"
  28312. },
  28313. "creditdecrease": {
  28314. "description": "今日授信减少",
  28315. "type": "number"
  28316. },
  28317. "creditincrease": {
  28318. "description": "今日授信增加",
  28319. "type": "number"
  28320. },
  28321. "curdebt": {
  28322. "description": "期末欠款",
  28323. "type": "number"
  28324. },
  28325. "currencyid": {
  28326. "description": "货币ID",
  28327. "type": "integer"
  28328. },
  28329. "currentbalance": {
  28330. "description": "期末余额",
  28331. "type": "number"
  28332. },
  28333. "freezecharge": {
  28334. "description": "手续费冻结",
  28335. "type": "number"
  28336. },
  28337. "freezemargin": {
  28338. "description": "冻结保证金",
  28339. "type": "number"
  28340. },
  28341. "fromaccountid": {
  28342. "description": "所属上级账户",
  28343. "type": "integer"
  28344. },
  28345. "inamount": {
  28346. "description": "今日入金金额(包括三方入金)",
  28347. "type": "number"
  28348. },
  28349. "ismain": {
  28350. "description": "是否母账号 0:不是母账户 1:是母账户",
  28351. "type": "integer"
  28352. },
  28353. "mortgagecredit": {
  28354. "description": "授信金额",
  28355. "type": "number"
  28356. },
  28357. "oridebt": {
  28358. "description": "期初欠款",
  28359. "type": "number"
  28360. },
  28361. "orifreezecharge": {
  28362. "description": "期初手续费冻结",
  28363. "type": "number"
  28364. },
  28365. "orifreezemargin": {
  28366. "description": "期初冻结保证金",
  28367. "type": "number"
  28368. },
  28369. "orimortgagecredit": {
  28370. "description": "期初授信金额",
  28371. "type": "number"
  28372. },
  28373. "oriothercredit": {
  28374. "description": "期初其它授信金额",
  28375. "type": "number"
  28376. },
  28377. "oriotherfreezemargin": {
  28378. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28379. "type": "number"
  28380. },
  28381. "orioutamountfreeze": {
  28382. "description": "期初出金冻结",
  28383. "type": "number"
  28384. },
  28385. "oriusedmargin": {
  28386. "description": "期初占用保证金",
  28387. "type": "number"
  28388. },
  28389. "othercredit": {
  28390. "description": "其它授信金额",
  28391. "type": "number"
  28392. },
  28393. "othercreditdecrease": {
  28394. "description": "今日其它授信减少",
  28395. "type": "number"
  28396. },
  28397. "othercreditincrease": {
  28398. "description": "今日其它授信增加",
  28399. "type": "number"
  28400. },
  28401. "otherfreezemargin": {
  28402. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28403. "type": "number"
  28404. },
  28405. "outamount": {
  28406. "description": "今日出金金额(包括三方出金)",
  28407. "type": "number"
  28408. },
  28409. "outamountfreeze": {
  28410. "description": "出金冻结",
  28411. "type": "number"
  28412. },
  28413. "outthreshold": {
  28414. "description": "出金阈值",
  28415. "type": "number"
  28416. },
  28417. "parentaccountid": {
  28418. "description": "所属根账号",
  28419. "type": "integer"
  28420. },
  28421. "paycharge": {
  28422. "description": "今日手续费支出",
  28423. "type": "number"
  28424. },
  28425. "relateduserid": {
  28426. "description": "关联用户",
  28427. "type": "integer"
  28428. },
  28429. "signstatus": {
  28430. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28431. "type": "integer"
  28432. },
  28433. "sublevelpath": {
  28434. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28435. "type": "string"
  28436. },
  28437. "taaccounttype": {
  28438. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28439. "type": "integer"
  28440. },
  28441. "thirdinamount": {
  28442. "description": "今日三方入金",
  28443. "type": "number"
  28444. },
  28445. "thirdoutamount": {
  28446. "description": "今日三方出金",
  28447. "type": "number"
  28448. },
  28449. "tradestatus": {
  28450. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28451. "type": "integer"
  28452. },
  28453. "transferamount": {
  28454. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28455. "type": "number"
  28456. },
  28457. "usedmargin": {
  28458. "description": "占用保证金",
  28459. "type": "number"
  28460. },
  28461. "userid": {
  28462. "description": "用户ID",
  28463. "type": "integer"
  28464. }
  28465. }
  28466. },
  28467. "models.ErmcpTaAccountM": {
  28468. "type": "object",
  28469. "properties": {
  28470. "accountid": {
  28471. "description": "账户id",
  28472. "type": "integer"
  28473. },
  28474. "accountname": {
  28475. "description": "账户名称",
  28476. "type": "string"
  28477. },
  28478. "currencyid": {
  28479. "description": "币种id",
  28480. "type": "integer"
  28481. },
  28482. "fcid": {
  28483. "description": "期货公司id",
  28484. "type": "integer"
  28485. },
  28486. "fcname": {
  28487. "description": "期货公司代码",
  28488. "type": "string"
  28489. },
  28490. "hedgeaccountcode": {
  28491. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28492. "type": "string"
  28493. },
  28494. "ismain": {
  28495. "description": "是否主账户 0-否 1-是",
  28496. "type": "integer"
  28497. },
  28498. "parentaccountid": {
  28499. "description": "父账户id",
  28500. "type": "integer"
  28501. },
  28502. "relateduserid": {
  28503. "description": "关联userid",
  28504. "type": "integer"
  28505. },
  28506. "tradefeetmpid": {
  28507. "description": "手续费模板id",
  28508. "type": "integer"
  28509. },
  28510. "tradefeetmpname": {
  28511. "description": "手续费模板名称",
  28512. "type": "string"
  28513. },
  28514. "trademargintmpid": {
  28515. "description": "保证金模板id",
  28516. "type": "integer"
  28517. },
  28518. "trademargintmpname": {
  28519. "description": "保证金模板名称",
  28520. "type": "string"
  28521. },
  28522. "traderatetmpid": {
  28523. "description": "汇率模板id",
  28524. "type": "integer"
  28525. },
  28526. "traderatetmpname": {
  28527. "description": "汇率模板名称",
  28528. "type": "string"
  28529. },
  28530. "tradestatus": {
  28531. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28532. "type": "integer"
  28533. },
  28534. "userid": {
  28535. "description": "用户id",
  28536. "type": "integer"
  28537. }
  28538. }
  28539. },
  28540. "models.ErmcpTradeConfigTMP": {
  28541. "type": "object",
  28542. "properties": {
  28543. "areauserid": {
  28544. "description": "所属机构",
  28545. "type": "integer"
  28546. },
  28547. "basiccurrencyid": {
  28548. "description": "基本币种ID[汇率] - 目标币种",
  28549. "type": "integer"
  28550. },
  28551. "mainaccountid": {
  28552. "description": "主账户ID",
  28553. "type": "integer"
  28554. },
  28555. "modifierid": {
  28556. "description": "修改人",
  28557. "type": "integer"
  28558. },
  28559. "remark": {
  28560. "description": "备注",
  28561. "type": "string"
  28562. },
  28563. "tradeconfigtmpid": {
  28564. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28565. "type": "integer"
  28566. },
  28567. "tradeconfigtmpname": {
  28568. "description": "交易配置模板名称",
  28569. "type": "string"
  28570. },
  28571. "tradeconfigtmptype": {
  28572. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28573. "type": "integer"
  28574. },
  28575. "updatetime": {
  28576. "description": "更新时间",
  28577. "type": "string"
  28578. }
  28579. }
  28580. },
  28581. "models.Ermcpjrlinkpos": {
  28582. "type": "object",
  28583. "required": [
  28584. "spotcontractid"
  28585. ],
  28586. "properties": {
  28587. "areauserid": {
  28588. "description": "所属企业",
  28589. "type": "integer"
  28590. },
  28591. "averageprice": {
  28592. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28593. "type": "number"
  28594. },
  28595. "closepl": {
  28596. "description": "总平仓盈亏 [期货损益]",
  28597. "type": "number"
  28598. },
  28599. "executeprice": {
  28600. "description": "执行价 - 1:期货单 为 0",
  28601. "type": "integer"
  28602. },
  28603. "futurehedgeqty": {
  28604. "description": "期货套期量",
  28605. "type": "number"
  28606. },
  28607. "goodsid": {
  28608. "description": "期货合约",
  28609. "type": "integer"
  28610. },
  28611. "middlegoodscode": {
  28612. "description": "套保商品代码",
  28613. "type": "string"
  28614. },
  28615. "middlegoodsname": {
  28616. "description": "套保商品名称",
  28617. "type": "string"
  28618. },
  28619. "netqty": {
  28620. "description": "净头寸",
  28621. "type": "number"
  28622. },
  28623. "optioncode": {
  28624. "description": "期权代码",
  28625. "type": "string"
  28626. },
  28627. "ordertype": {
  28628. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28629. "type": "integer"
  28630. },
  28631. "reckonpl": {
  28632. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28633. "type": "number"
  28634. },
  28635. "spotcontractid": {
  28636. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28637. "type": "string"
  28638. },
  28639. "todayfutureclosepl": {
  28640. "description": "今日平仓盈亏",
  28641. "type": "number"
  28642. },
  28643. "totalbuyamount": {
  28644. "description": "买金额 [期货]",
  28645. "type": "number"
  28646. },
  28647. "totalbuyholdamount": {
  28648. "description": "买持仓总金额[期货]",
  28649. "type": "number"
  28650. },
  28651. "totalbuyqty": {
  28652. "description": "买数量",
  28653. "type": "number"
  28654. },
  28655. "totalcharge": {
  28656. "description": "手续费",
  28657. "type": "number"
  28658. },
  28659. "totalpremium": {
  28660. "description": "权利金 [期权]",
  28661. "type": "number"
  28662. },
  28663. "totalsellamount": {
  28664. "description": "卖金额 [期货]",
  28665. "type": "number"
  28666. },
  28667. "totalsellholdamount": {
  28668. "description": "卖持仓总金额[期货]",
  28669. "type": "number"
  28670. },
  28671. "totalsellqty": {
  28672. "description": "卖数量",
  28673. "type": "number"
  28674. },
  28675. "updatetime": {
  28676. "description": "更新时间",
  28677. "type": "string"
  28678. }
  28679. }
  28680. },
  28681. "models.Ermcppatradelinkdetail": {
  28682. "type": "object",
  28683. "required": [
  28684. "hedgeditemid"
  28685. ],
  28686. "properties": {
  28687. "agreeunit": {
  28688. "description": "合约乘数",
  28689. "type": "number"
  28690. },
  28691. "amount": {
  28692. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28693. "type": "number"
  28694. },
  28695. "areauserid": {
  28696. "description": "所属机构",
  28697. "type": "integer"
  28698. },
  28699. "bizsubjectid": {
  28700. "description": "归属业务部门ID - SubjectID",
  28701. "type": "integer"
  28702. },
  28703. "buyorsell": {
  28704. "description": "方向 - 0:买 1:卖",
  28705. "type": "integer"
  28706. },
  28707. "convertratio": {
  28708. "description": "品种系数",
  28709. "type": "number"
  28710. },
  28711. "createtime": {
  28712. "description": "创建时间",
  28713. "type": "string"
  28714. },
  28715. "creatorid": {
  28716. "description": "创建人ID",
  28717. "type": "integer"
  28718. },
  28719. "creatorsrc": {
  28720. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28721. "type": "integer"
  28722. },
  28723. "goodsgroupid": {
  28724. "description": "对冲品种ID[期货合约商品组ID]",
  28725. "type": "integer"
  28726. },
  28727. "goodsid": {
  28728. "description": "商品ID",
  28729. "type": "integer"
  28730. },
  28731. "hedgeditemid": {
  28732. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28733. "type": "integer"
  28734. },
  28735. "hedgeflag": {
  28736. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28737. "type": "integer"
  28738. },
  28739. "linkdetailid": {
  28740. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28741. "type": "string"
  28742. },
  28743. "linkstatus": {
  28744. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28745. "type": "integer"
  28746. },
  28747. "middlegoodsid": {
  28748. "description": "套保品种ID",
  28749. "type": "integer"
  28750. },
  28751. "name": {
  28752. "description": "账户名/子账户",
  28753. "type": "string"
  28754. },
  28755. "optioncode": {
  28756. "description": "[期货合约]期权代码 [期权]",
  28757. "type": "string"
  28758. },
  28759. "ordertype": {
  28760. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28761. "type": "integer"
  28762. },
  28763. "relatedlot": {
  28764. "description": "[数量]关联手数",
  28765. "type": "number"
  28766. },
  28767. "relatedmode": {
  28768. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28769. "type": "integer"
  28770. },
  28771. "relatedqty": {
  28772. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28773. "type": "number"
  28774. },
  28775. "retcode": {
  28776. "description": "返回码",
  28777. "type": "integer"
  28778. },
  28779. "saleuserid": {
  28780. "description": "业务员ID",
  28781. "type": "integer"
  28782. },
  28783. "tradedate": {
  28784. "description": "关联交易日(yyyyMMdd)",
  28785. "type": "string"
  28786. },
  28787. "tradeid": {
  28788. "description": "[成交单号]内部成交单ID",
  28789. "type": "string"
  28790. },
  28791. "tradelot": {
  28792. "description": "成交手数",
  28793. "type": "integer"
  28794. },
  28795. "tradeprice": {
  28796. "description": "[价格]成交价格",
  28797. "type": "number"
  28798. },
  28799. "tradetime": {
  28800. "description": "日期时间",
  28801. "type": "string"
  28802. },
  28803. "tradetradedate": {
  28804. "description": "成交交易日(yyyyMMdd)",
  28805. "type": "string"
  28806. }
  28807. }
  28808. },
  28809. "models.Exchangerateconfig": {
  28810. "type": "object",
  28811. "properties": {
  28812. "descurrencyid": {
  28813. "description": "目标币种ID",
  28814. "type": "integer"
  28815. },
  28816. "exchangerate": {
  28817. "description": "汇率",
  28818. "type": "number"
  28819. },
  28820. "oricurrencyid": {
  28821. "description": "源币种ID",
  28822. "type": "integer"
  28823. },
  28824. "remark": {
  28825. "description": "备注",
  28826. "type": "string"
  28827. }
  28828. }
  28829. },
  28830. "models.Externalexchange": {
  28831. "type": "object",
  28832. "required": [
  28833. "autoid"
  28834. ],
  28835. "properties": {
  28836. "autoid": {
  28837. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28838. "type": "integer"
  28839. },
  28840. "exchangefullname": {
  28841. "description": "外部交易所全称",
  28842. "type": "string"
  28843. },
  28844. "exexchangecode": {
  28845. "description": "外部交易所代码",
  28846. "type": "string"
  28847. },
  28848. "exexchangename": {
  28849. "description": "外部交易所名称(简称)",
  28850. "type": "string"
  28851. },
  28852. "ismarketprice": {
  28853. "description": "是否支持市价 - 0:不支持 1:支持",
  28854. "type": "integer"
  28855. },
  28856. "quotegear": {
  28857. "description": "行情档位(1-10)",
  28858. "type": "integer"
  28859. },
  28860. "showbrokerflag": {
  28861. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28862. "type": "integer"
  28863. },
  28864. "updatetime": {
  28865. "description": "更新时间",
  28866. "type": "string"
  28867. }
  28868. }
  28869. },
  28870. "models.Funcmenulist": {
  28871. "type": "object",
  28872. "required": [
  28873. "resourcecode"
  28874. ],
  28875. "properties": {
  28876. "iconame": {
  28877. "description": "菜单图标",
  28878. "type": "string"
  28879. },
  28880. "menutype": {
  28881. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28882. "type": "integer"
  28883. },
  28884. "parentcode": {
  28885. "description": "上级资源代码",
  28886. "type": "string"
  28887. },
  28888. "remark": {
  28889. "description": "备注",
  28890. "type": "string"
  28891. },
  28892. "resourcecode": {
  28893. "description": "资源代码",
  28894. "type": "string"
  28895. },
  28896. "resourcelevel": {
  28897. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28898. "type": "integer"
  28899. },
  28900. "resourcename": {
  28901. "description": "资源名",
  28902. "type": "string"
  28903. },
  28904. "sort": {
  28905. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28906. "type": "integer"
  28907. },
  28908. "url": {
  28909. "description": "URL",
  28910. "type": "string"
  28911. }
  28912. }
  28913. },
  28914. "models.GZGoods": {
  28915. "type": "object",
  28916. "required": [
  28917. "goodsno"
  28918. ],
  28919. "properties": {
  28920. "cerno": {
  28921. "description": "证书编号 - 类型:2,4,5",
  28922. "type": "string"
  28923. },
  28924. "cpcertno": {
  28925. "description": "金伯利证书编号 - 类型:3",
  28926. "type": "string"
  28927. },
  28928. "goodsno": {
  28929. "description": "商品编号",
  28930. "type": "string"
  28931. },
  28932. "imagepath": {
  28933. "description": "商品照片(相对地址)",
  28934. "type": "string"
  28935. },
  28936. "isvalid": {
  28937. "description": "是否有效 - 0:无效 1:有效",
  28938. "type": "integer"
  28939. },
  28940. "kppath": {
  28941. "description": "金伯利证书图片(相对地址) - 类型:3",
  28942. "type": "string"
  28943. },
  28944. "kpweight": {
  28945. "description": "金伯利证书重量 - 类型:3",
  28946. "type": "string"
  28947. },
  28948. "marketprice": {
  28949. "description": "市场价",
  28950. "type": "string"
  28951. },
  28952. "mobile": {
  28953. "description": "手机号码",
  28954. "type": "string"
  28955. },
  28956. "origin": {
  28957. "description": "原产地 - 类型:3",
  28958. "type": "string"
  28959. },
  28960. "price": {
  28961. "description": "总价(价格) - 类型:1,2,3,4,5",
  28962. "type": "number"
  28963. },
  28964. "priceper": {
  28965. "description": "克拉单价 - 类型:1,2,3,5",
  28966. "type": "string"
  28967. },
  28968. "remainqty": {
  28969. "description": "剩余重量",
  28970. "type": "number"
  28971. },
  28972. "remark": {
  28973. "description": "备注",
  28974. "type": "string"
  28975. },
  28976. "sellusername": {
  28977. "description": "账户名称(机构名称)",
  28978. "type": "string"
  28979. },
  28980. "settingmaterial": {
  28981. "description": "镶嵌材料 - 类型:4",
  28982. "type": "string"
  28983. },
  28984. "size1": {
  28985. "description": "尺寸1 - 类型:2,4,5",
  28986. "type": "string"
  28987. },
  28988. "size2": {
  28989. "description": "尺寸2 - 类型:2,4,5",
  28990. "type": "string"
  28991. },
  28992. "size3": {
  28993. "description": "尺寸3 - 类型:2,4,5",
  28994. "type": "string"
  28995. },
  28996. "stonedesc": {
  28997. "description": "配石描述 - 类型:4",
  28998. "type": "string"
  28999. },
  29000. "userid": {
  29001. "description": "用户ID",
  29002. "type": "integer"
  29003. },
  29004. "warehouseid": {
  29005. "description": "仓库ID",
  29006. "type": "integer"
  29007. },
  29008. "warehousenamedisplay": {
  29009. "type": "string"
  29010. },
  29011. "weight": {
  29012. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29013. "type": "number"
  29014. },
  29015. "weightavg": {
  29016. "description": "平均单颗重量 - 类型:1,3",
  29017. "type": "number"
  29018. },
  29019. "wrpath": {
  29020. "description": "仓单扫描件(相对地址)",
  29021. "type": "string"
  29022. },
  29023. "wrstandardid": {
  29024. "description": "现货商品ID",
  29025. "type": "integer"
  29026. },
  29027. "wrtradeorderid": {
  29028. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29029. "type": "string"
  29030. },
  29031. "zscategory": {
  29032. "description": "钻石分类 - 枚举”ZSCategory“",
  29033. "type": "integer"
  29034. },
  29035. "zscategorydisplay": {
  29036. "type": "string"
  29037. },
  29038. "zscerttype": {
  29039. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29040. "type": "integer"
  29041. },
  29042. "zscerttypedisplay": {
  29043. "type": "string"
  29044. },
  29045. "zsclaritytype1": {
  29046. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29047. "type": "integer"
  29048. },
  29049. "zsclaritytype1display": {
  29050. "type": "string"
  29051. },
  29052. "zsclaritytype2": {
  29053. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29054. "type": "integer"
  29055. },
  29056. "zsclaritytype2display": {
  29057. "type": "string"
  29058. },
  29059. "zscolortype1": {
  29060. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29061. "type": "integer"
  29062. },
  29063. "zscolortype1display": {
  29064. "type": "string"
  29065. },
  29066. "zscolortype2": {
  29067. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29068. "type": "integer"
  29069. },
  29070. "zscolortype2display": {
  29071. "type": "string"
  29072. },
  29073. "zscrystaltype": {
  29074. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29075. "type": "string"
  29076. },
  29077. "zscrystaltypedisplay": {
  29078. "type": "string"
  29079. },
  29080. "zscurrencytype": {
  29081. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29082. "type": "integer"
  29083. },
  29084. "zscurrencytypedisplay": {
  29085. "type": "string"
  29086. },
  29087. "zscurrencytypedisplayunit": {
  29088. "type": "string"
  29089. },
  29090. "zscuttype1": {
  29091. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29092. "type": "integer"
  29093. },
  29094. "zscuttype1display": {
  29095. "type": "string"
  29096. },
  29097. "zscuttype2": {
  29098. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29099. "type": "integer"
  29100. },
  29101. "zscuttype2display": {
  29102. "type": "string"
  29103. },
  29104. "zsczcolor1type": {
  29105. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29106. "type": "integer"
  29107. },
  29108. "zsczcolor1typedisplay": {
  29109. "type": "string"
  29110. },
  29111. "zsczcolor2type": {
  29112. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29113. "type": "integer"
  29114. },
  29115. "zsczcolor2typedisplay": {
  29116. "type": "string"
  29117. },
  29118. "zsczcolor3type": {
  29119. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29120. "type": "integer"
  29121. },
  29122. "zsczcolor3typedisplay": {
  29123. "type": "string"
  29124. },
  29125. "zsfluorescencetype1": {
  29126. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29127. "type": "integer"
  29128. },
  29129. "zsfluorescencetype1display": {
  29130. "type": "string"
  29131. },
  29132. "zsfluorescencetype2": {
  29133. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29134. "type": "integer"
  29135. },
  29136. "zsfluorescencetype2display": {
  29137. "type": "string"
  29138. },
  29139. "zspolishtype1": {
  29140. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29141. "type": "integer"
  29142. },
  29143. "zspolishtype1display": {
  29144. "type": "string"
  29145. },
  29146. "zspolishtype2": {
  29147. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29148. "type": "integer"
  29149. },
  29150. "zspolishtype2display": {
  29151. "type": "string"
  29152. },
  29153. "zsshapetype": {
  29154. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29155. "type": "string"
  29156. },
  29157. "zsshapetypedisplay": {
  29158. "type": "string"
  29159. },
  29160. "zsstyletype": {
  29161. "description": "款式 - 类型:4",
  29162. "type": "integer"
  29163. },
  29164. "zsstyletypedisplay": {
  29165. "type": "string"
  29166. },
  29167. "zssymmetrytype1": {
  29168. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29169. "type": "integer"
  29170. },
  29171. "zssymmetrytype1display": {
  29172. "type": "string"
  29173. },
  29174. "zssymmetrytype2": {
  29175. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29176. "type": "integer"
  29177. },
  29178. "zssymmetrytype2display": {
  29179. "type": "string"
  29180. }
  29181. }
  29182. },
  29183. "models.GZWarehouseinfo": {
  29184. "type": "object",
  29185. "properties": {
  29186. "address": {
  29187. "description": "详细地址",
  29188. "type": "string"
  29189. },
  29190. "areauserid": {
  29191. "description": "所属机构",
  29192. "type": "integer"
  29193. },
  29194. "autoid": {
  29195. "description": "自增ID",
  29196. "type": "integer"
  29197. },
  29198. "cityid": {
  29199. "description": "市",
  29200. "type": "integer"
  29201. },
  29202. "contactname": {
  29203. "description": "联系人",
  29204. "type": "string"
  29205. },
  29206. "contactnum": {
  29207. "description": "联系电话",
  29208. "type": "string"
  29209. },
  29210. "countryid": {
  29211. "description": "国家",
  29212. "type": "integer"
  29213. },
  29214. "createtime": {
  29215. "description": "创建时间",
  29216. "type": "string"
  29217. },
  29218. "districtid": {
  29219. "description": "区",
  29220. "type": "integer"
  29221. },
  29222. "hasvideo": {
  29223. "description": "是否有视频 - 0:无 1:有",
  29224. "type": "integer"
  29225. },
  29226. "provinceid": {
  29227. "description": "省",
  29228. "type": "integer"
  29229. },
  29230. "remark": {
  29231. "description": "审核备注",
  29232. "type": "string"
  29233. },
  29234. "videourl": {
  29235. "description": "视频地址",
  29236. "type": "string"
  29237. },
  29238. "warehousecode": {
  29239. "description": "仓库代码",
  29240. "type": "string"
  29241. },
  29242. "warehousename": {
  29243. "description": "仓库名称",
  29244. "type": "string"
  29245. },
  29246. "warehousestatus": {
  29247. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29248. "type": "integer"
  29249. },
  29250. "warehousetype": {
  29251. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29252. "type": "integer"
  29253. }
  29254. }
  29255. },
  29256. "models.Goods": {
  29257. "type": "object",
  29258. "required": [
  29259. "goodscode",
  29260. "goodsid",
  29261. "goodsname",
  29262. "marketid"
  29263. ],
  29264. "properties": {
  29265. "agreeunit": {
  29266. "description": "合约单位",
  29267. "type": "number"
  29268. },
  29269. "areauserid": {
  29270. "description": "所属机构",
  29271. "type": "integer"
  29272. },
  29273. "auditaccountid": {
  29274. "description": "审核操作员账号",
  29275. "type": "integer"
  29276. },
  29277. "audittime": {
  29278. "description": "审核时间",
  29279. "type": "string"
  29280. },
  29281. "cancelaccountid": {
  29282. "description": "注销操作员账号",
  29283. "type": "integer"
  29284. },
  29285. "canceltime": {
  29286. "description": "注销时间",
  29287. "type": "string"
  29288. },
  29289. "closepricemode": {
  29290. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29291. "type": "integer"
  29292. },
  29293. "closepriceparam": {
  29294. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29295. "type": "number"
  29296. },
  29297. "createtime": {
  29298. "description": "创建时间",
  29299. "type": "string"
  29300. },
  29301. "creatorid": {
  29302. "description": "创建人",
  29303. "type": "integer"
  29304. },
  29305. "currencyid": {
  29306. "description": "报价货币ID",
  29307. "type": "integer"
  29308. },
  29309. "cutmode": {
  29310. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29311. "type": "integer"
  29312. },
  29313. "decimalplace": {
  29314. "description": "报价小数位",
  29315. "type": "integer"
  29316. },
  29317. "delistingdate": {
  29318. "description": "商品退市时间(状态:退市) -- 已作废",
  29319. "type": "string"
  29320. },
  29321. "delistingmode": {
  29322. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29323. "type": "integer"
  29324. },
  29325. "deliveryflag": {
  29326. "description": "交割标志 - 0:不可交割 1:可交割",
  29327. "type": "integer"
  29328. },
  29329. "forceclosemode": {
  29330. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29331. "type": "integer"
  29332. },
  29333. "forceclosevalue": {
  29334. "description": "定期强平参数 [收益权]",
  29335. "type": "integer"
  29336. },
  29337. "goodscode": {
  29338. "description": "商品代码(内部)",
  29339. "type": "string"
  29340. },
  29341. "goodscurrencyid": {
  29342. "description": "合约货币ID",
  29343. "type": "integer"
  29344. },
  29345. "goodsgroupid": {
  29346. "description": "所属商品组ID",
  29347. "type": "integer"
  29348. },
  29349. "goodsid": {
  29350. "description": "商品ID(自增ID SEQ_GOODS)",
  29351. "type": "integer"
  29352. },
  29353. "goodsname": {
  29354. "description": "商品名称",
  29355. "type": "string"
  29356. },
  29357. "goodsquotetype": {
  29358. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29359. "type": "integer"
  29360. },
  29361. "goodsstatus": {
  29362. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29363. "type": "integer"
  29364. },
  29365. "goodstradetype": {
  29366. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29367. "type": "integer"
  29368. },
  29369. "goodunitid": {
  29370. "description": "报价单位ID",
  29371. "type": "integer"
  29372. },
  29373. "hasquoter": {
  29374. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29375. "type": "integer"
  29376. },
  29377. "hqprotecttime": {
  29378. "description": "行情保护时间(秒)",
  29379. "type": "integer"
  29380. },
  29381. "innerdealmode": {
  29382. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29383. "type": "integer"
  29384. },
  29385. "isbuylimited": {
  29386. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29387. "type": "integer"
  29388. },
  29389. "isvisible": {
  29390. "description": "游客是否可见 - 0:不可见 1:可见",
  29391. "type": "integer"
  29392. },
  29393. "lasttradedate": {
  29394. "description": "最后交易日期(状态:待退市)",
  29395. "type": "string"
  29396. },
  29397. "listingdate": {
  29398. "description": "交易开始日期",
  29399. "type": "string"
  29400. },
  29401. "marketid": {
  29402. "description": "所属市场ID",
  29403. "type": "integer"
  29404. },
  29405. "modifierid": {
  29406. "description": "修改人",
  29407. "type": "integer"
  29408. },
  29409. "modifystatus": {
  29410. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29411. "type": "integer"
  29412. },
  29413. "modifytime": {
  29414. "description": "修改时间",
  29415. "type": "string"
  29416. },
  29417. "outerdealmode": {
  29418. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29419. "type": "integer"
  29420. },
  29421. "outgoodscode": {
  29422. "description": "商品代码(外部)",
  29423. "type": "string"
  29424. },
  29425. "pictureurl": {
  29426. "description": "商品图片",
  29427. "type": "string"
  29428. },
  29429. "qtydecimalplace": {
  29430. "description": "成交量小数位",
  29431. "type": "integer"
  29432. },
  29433. "quotegear": {
  29434. "description": "行情档位(1-10)",
  29435. "type": "integer"
  29436. },
  29437. "quoteminunit": {
  29438. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29439. "type": "integer"
  29440. },
  29441. "quoteshowtype": {
  29442. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29443. "type": "integer"
  29444. },
  29445. "quoteshowtypeinterval": {
  29446. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29447. "type": "integer"
  29448. },
  29449. "remark": {
  29450. "description": "备注",
  29451. "type": "string"
  29452. }
  29453. }
  29454. },
  29455. "models.GoodsIDAndName": {
  29456. "type": "object",
  29457. "required": [
  29458. "goodscode",
  29459. "goodsid",
  29460. "goodsname",
  29461. "marketid"
  29462. ],
  29463. "properties": {
  29464. "goodscode": {
  29465. "description": "商品代码(内部)",
  29466. "type": "string"
  29467. },
  29468. "goodsid": {
  29469. "description": "商品ID(自增ID SEQ_GOODS)",
  29470. "type": "integer"
  29471. },
  29472. "goodsname": {
  29473. "description": "商品名称",
  29474. "type": "string"
  29475. },
  29476. "marketid": {
  29477. "description": "所属市场ID",
  29478. "type": "integer"
  29479. }
  29480. }
  29481. },
  29482. "models.Goodsgroup": {
  29483. "type": "object",
  29484. "required": [
  29485. "goodsgroupid",
  29486. "goodsgroupname",
  29487. "goodsgroupstatus",
  29488. "marketid"
  29489. ],
  29490. "properties": {
  29491. "agreeunit": {
  29492. "description": "合约单位",
  29493. "type": "number"
  29494. },
  29495. "canshort": {
  29496. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29497. "type": "integer"
  29498. },
  29499. "closepricemode": {
  29500. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29501. "type": "integer"
  29502. },
  29503. "closepriceparam": {
  29504. "description": "强平最新价浮动比例 - 方式为2时使用",
  29505. "type": "number"
  29506. },
  29507. "createtime": {
  29508. "description": "创建时间",
  29509. "type": "string"
  29510. },
  29511. "creatorid": {
  29512. "description": "创建人",
  29513. "type": "integer"
  29514. },
  29515. "currencyid": {
  29516. "description": "报价货币ID",
  29517. "type": "integer"
  29518. },
  29519. "decimalplace": {
  29520. "description": "报价小数位",
  29521. "type": "integer"
  29522. },
  29523. "exercisetype": {
  29524. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29525. "type": "integer"
  29526. },
  29527. "exexchangeid": {
  29528. "description": "外部交易所ID[通道交易]",
  29529. "type": "integer"
  29530. },
  29531. "goodsgroupid": {
  29532. "description": "商品组ID(自增ID)",
  29533. "type": "integer"
  29534. },
  29535. "goodsgroupname": {
  29536. "description": "商品组名称",
  29537. "type": "string"
  29538. },
  29539. "goodsgroupstatus": {
  29540. "description": "商品组状态 - 1:正常 2:注销",
  29541. "type": "integer"
  29542. },
  29543. "goodunitid": {
  29544. "description": "报价单位ID",
  29545. "type": "integer"
  29546. },
  29547. "innerdealmode": {
  29548. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29549. "type": "integer"
  29550. },
  29551. "isbuylimited": {
  29552. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29553. "type": "integer"
  29554. },
  29555. "marketid": {
  29556. "description": "所属市场ID",
  29557. "type": "integer"
  29558. },
  29559. "modifierid": {
  29560. "description": "修改人",
  29561. "type": "integer"
  29562. },
  29563. "modifytime": {
  29564. "description": "修改时间",
  29565. "type": "string"
  29566. },
  29567. "outerdealmode": {
  29568. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29569. "type": "integer"
  29570. },
  29571. "outergroupcode": {
  29572. "description": "外部商品组代码[通道交易]",
  29573. "type": "string"
  29574. },
  29575. "premiumdecimalplace": {
  29576. "description": "权利金小数位[场外期权]",
  29577. "type": "integer"
  29578. },
  29579. "premiumspreadalgorithm": {
  29580. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29581. "type": "integer"
  29582. },
  29583. "premiumspreadvalue": {
  29584. "description": "权利金点差值[场外期权]",
  29585. "type": "number"
  29586. },
  29587. "qtydecimalplace": {
  29588. "description": "成交量小数位",
  29589. "type": "integer"
  29590. },
  29591. "quotegear": {
  29592. "description": "行情档位(1-10)",
  29593. "type": "integer"
  29594. },
  29595. "quoteminunit": {
  29596. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29597. "type": "integer"
  29598. },
  29599. "quoterid": {
  29600. "description": "报价商ID[场外期权]",
  29601. "type": "integer"
  29602. },
  29603. "quotesourcegroupid": {
  29604. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29605. "type": "integer"
  29606. },
  29607. "syncgoodsqty": {
  29608. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29609. "type": "integer"
  29610. }
  29611. }
  29612. },
  29613. "models.Goodssortbypreposition": {
  29614. "type": "object",
  29615. "required": [
  29616. "goodscode",
  29617. "tradedate"
  29618. ],
  29619. "properties": {
  29620. "goodscode": {
  29621. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29622. "type": "string"
  29623. },
  29624. "goodsgroupcode": {
  29625. "description": "品种代码",
  29626. "type": "string"
  29627. },
  29628. "prepositionqty": {
  29629. "description": "昨持仓量",
  29630. "type": "integer"
  29631. },
  29632. "sortindex": {
  29633. "description": "排序",
  29634. "type": "integer"
  29635. },
  29636. "tradedate": {
  29637. "description": "交易日",
  29638. "type": "string"
  29639. },
  29640. "updatetime": {
  29641. "description": "更新时间",
  29642. "type": "string"
  29643. }
  29644. }
  29645. },
  29646. "models.Hedgeinnerholderdetail": {
  29647. "type": "object",
  29648. "required": [
  29649. "buyorsell",
  29650. "tradeid"
  29651. ],
  29652. "properties": {
  29653. "accountid": {
  29654. "description": "账号ID",
  29655. "type": "integer"
  29656. },
  29657. "buyorsell": {
  29658. "description": "方向 - 0:买 1:卖",
  29659. "type": "integer"
  29660. },
  29661. "freezeqty": {
  29662. "description": "冻结数量 - 按单平使用",
  29663. "type": "integer"
  29664. },
  29665. "goodsid": {
  29666. "description": "商品ID",
  29667. "type": "integer"
  29668. },
  29669. "holderamount": {
  29670. "description": "持仓金额 [商品币种]",
  29671. "type": "number"
  29672. },
  29673. "holderdays": {
  29674. "description": "剩余冻结天数",
  29675. "type": "integer"
  29676. },
  29677. "holderprice": {
  29678. "description": "持仓价格",
  29679. "type": "number"
  29680. },
  29681. "holderqty": {
  29682. "description": "持仓数量",
  29683. "type": "integer"
  29684. },
  29685. "marketid": {
  29686. "description": "市场ID",
  29687. "type": "integer"
  29688. },
  29689. "openprice": {
  29690. "description": "建仓价格",
  29691. "type": "number"
  29692. },
  29693. "openqty": {
  29694. "description": "建仓数量",
  29695. "type": "integer"
  29696. },
  29697. "parentaccountid": {
  29698. "description": "所属母账户",
  29699. "type": "integer"
  29700. },
  29701. "releaseamount": {
  29702. "description": "释放持仓金额[商品币种]",
  29703. "type": "number"
  29704. },
  29705. "tradeamount": {
  29706. "description": "成交金额[账户]",
  29707. "type": "number"
  29708. },
  29709. "tradedate": {
  29710. "description": "交易日(yyyyMMdd)",
  29711. "type": "string"
  29712. },
  29713. "tradeid": {
  29714. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29715. "type": "string"
  29716. },
  29717. "tradetime": {
  29718. "description": "交易时间",
  29719. "type": "string"
  29720. }
  29721. }
  29722. },
  29723. "models.Hedgemarketopenlog": {
  29724. "type": "object",
  29725. "required": [
  29726. "accountid"
  29727. ],
  29728. "properties": {
  29729. "accountid": {
  29730. "description": "资金账号[外部母账户]",
  29731. "type": "integer"
  29732. },
  29733. "fcname": {
  29734. "description": "期货公司名称",
  29735. "type": "string"
  29736. },
  29737. "handlestatus": {
  29738. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29739. "type": "integer"
  29740. },
  29741. "marketid": {
  29742. "description": "市场ID",
  29743. "type": "integer"
  29744. },
  29745. "status": {
  29746. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29747. "type": "integer"
  29748. },
  29749. "tradedate": {
  29750. "description": "交易日(yyyyMMdd)",
  29751. "type": "string"
  29752. },
  29753. "updatetime": {
  29754. "description": "更新时间",
  29755. "type": "string"
  29756. }
  29757. }
  29758. },
  29759. "models.InternalEnableTradeDetail": {
  29760. "type": "object",
  29761. "required": [
  29762. "areauserid",
  29763. "goodsid",
  29764. "tradeuserid"
  29765. ],
  29766. "properties": {
  29767. "agreeunit": {
  29768. "description": "合约乘数",
  29769. "type": "number"
  29770. },
  29771. "areauserid": {
  29772. "description": "企业ID",
  29773. "type": "integer"
  29774. },
  29775. "convertratio": {
  29776. "description": "品种系数",
  29777. "type": "number"
  29778. },
  29779. "deliverygoodscode": {
  29780. "description": "现货品种代码",
  29781. "type": "string"
  29782. },
  29783. "deliverygoodsid": {
  29784. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  29785. "type": "integer"
  29786. },
  29787. "deliverygoodsname": {
  29788. "description": "现货品种名称",
  29789. "type": "string"
  29790. },
  29791. "futurehedgeqty": {
  29792. "description": "[已关联数量]期货持仓套期量",
  29793. "type": "number"
  29794. },
  29795. "goodsid": {
  29796. "description": "期货合约ID",
  29797. "type": "integer"
  29798. },
  29799. "hedgeditemid": {
  29800. "description": "被套期项目ID",
  29801. "type": "string"
  29802. },
  29803. "hedgeditemnum": {
  29804. "description": "项目编号",
  29805. "type": "string"
  29806. },
  29807. "tradeuserid": {
  29808. "description": "交易用户ID",
  29809. "type": "integer"
  29810. },
  29811. "unexehedgeqty": {
  29812. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  29813. "type": "number"
  29814. },
  29815. "unexespotqty": {
  29816. "description": "未执行现货量",
  29817. "type": "number"
  29818. },
  29819. "wrstandardcode": {
  29820. "description": "现货品类代码",
  29821. "type": "string"
  29822. },
  29823. "wrstandardid": {
  29824. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29825. "type": "integer"
  29826. },
  29827. "wrstandardname": {
  29828. "description": "现货品类名称",
  29829. "type": "string"
  29830. }
  29831. }
  29832. },
  29833. "models.InternalUncorrelatedTradeDetail": {
  29834. "type": "object",
  29835. "properties": {
  29836. "accountid": {
  29837. "description": "账号ID",
  29838. "type": "integer"
  29839. },
  29840. "accountname": {
  29841. "description": "套期主体",
  29842. "type": "string"
  29843. },
  29844. "agreeunit": {
  29845. "description": "合约乘数",
  29846. "type": "number"
  29847. },
  29848. "areauserid": {
  29849. "description": "所属机构",
  29850. "type": "integer"
  29851. },
  29852. "bizsubjectid": {
  29853. "description": "归属业务部门ID - SubjectID",
  29854. "type": "integer"
  29855. },
  29856. "buyorsell": {
  29857. "description": "方向 - 0:买 1:卖",
  29858. "type": "integer"
  29859. },
  29860. "channelbuildtype": {
  29861. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29862. "type": "integer"
  29863. },
  29864. "convertratio": {
  29865. "description": "品种系数",
  29866. "type": "number"
  29867. },
  29868. "createtime": {
  29869. "description": "创建时间",
  29870. "type": "string"
  29871. },
  29872. "creatorid": {
  29873. "description": "创建人ID",
  29874. "type": "integer"
  29875. },
  29876. "creatorsrc": {
  29877. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29878. "type": "integer"
  29879. },
  29880. "enableqty": {
  29881. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  29882. "type": "number"
  29883. },
  29884. "enumdicname": {
  29885. "description": "单位",
  29886. "type": "string"
  29887. },
  29888. "goodscode": {
  29889. "description": "合约代码",
  29890. "type": "string"
  29891. },
  29892. "goodsgroupid": {
  29893. "description": "对冲品种ID[期货合约商品组ID]",
  29894. "type": "integer"
  29895. },
  29896. "goodsid": {
  29897. "description": "商品ID",
  29898. "type": "integer"
  29899. },
  29900. "goodsname": {
  29901. "description": "合约名称",
  29902. "type": "string"
  29903. },
  29904. "hedgeditemid": {
  29905. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29906. "type": "integer"
  29907. },
  29908. "hedgeflag": {
  29909. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29910. "type": "integer"
  29911. },
  29912. "linkdetailid": {
  29913. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29914. "type": "string"
  29915. },
  29916. "linkstatus": {
  29917. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29918. "type": "integer"
  29919. },
  29920. "middlegoodsid": {
  29921. "description": "套保品种ID",
  29922. "type": "integer"
  29923. },
  29924. "middlegoodsqty": {
  29925. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  29926. "type": "number"
  29927. },
  29928. "relatedlot": {
  29929. "description": "[数量]关联手数",
  29930. "type": "number"
  29931. },
  29932. "relatedmode": {
  29933. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29934. "type": "integer"
  29935. },
  29936. "relatedqty": {
  29937. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29938. "type": "number"
  29939. },
  29940. "retcode": {
  29941. "description": "返回码",
  29942. "type": "integer"
  29943. },
  29944. "saleuserid": {
  29945. "description": "业务员ID",
  29946. "type": "integer"
  29947. },
  29948. "tradedate": {
  29949. "description": "关联交易日(yyyyMMdd)",
  29950. "type": "string"
  29951. },
  29952. "tradeid": {
  29953. "description": "成交单号",
  29954. "type": "string"
  29955. },
  29956. "tradelot": {
  29957. "description": "成交手数",
  29958. "type": "integer"
  29959. },
  29960. "tradeprice": {
  29961. "description": "成交价",
  29962. "type": "number"
  29963. },
  29964. "tradetime": {
  29965. "description": "成交时间",
  29966. "type": "string"
  29967. },
  29968. "tradetradedate": {
  29969. "description": "成交交易日(yyyyMMdd)",
  29970. "type": "string"
  29971. },
  29972. "tradeuserid": {
  29973. "description": "交易用户ID",
  29974. "type": "integer"
  29975. }
  29976. }
  29977. },
  29978. "models.Loginaccount": {
  29979. "type": "object",
  29980. "required": [
  29981. "loginid"
  29982. ],
  29983. "properties": {
  29984. "accountname": {
  29985. "description": "账户名称",
  29986. "type": "string"
  29987. },
  29988. "canoutin": {
  29989. "description": "是否可出入金 - 0:不可 1:可",
  29990. "type": "integer"
  29991. },
  29992. "clientroleid": {
  29993. "description": "终端角色ID",
  29994. "type": "integer"
  29995. },
  29996. "haslogined": {
  29997. "description": "是否已登录 - 0:未登录 1:已登录",
  29998. "type": "integer"
  29999. },
  30000. "hasupdatedpwd": {
  30001. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30002. "type": "integer"
  30003. },
  30004. "lastloginip": {
  30005. "description": "最新登录地址",
  30006. "type": "string"
  30007. },
  30008. "lastloginmode": {
  30009. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30010. "type": "integer"
  30011. },
  30012. "lastloginremark": {
  30013. "description": "最新登录描述",
  30014. "type": "string"
  30015. },
  30016. "lastlogintime": {
  30017. "description": "最新登录时间",
  30018. "type": "string"
  30019. },
  30020. "logincode": {
  30021. "description": "登录代码",
  30022. "type": "string"
  30023. },
  30024. "loginfailnum": {
  30025. "description": "连续登录失败次数(登录成功时清零)",
  30026. "type": "integer"
  30027. },
  30028. "loginid": {
  30029. "description": "登陆账号",
  30030. "type": "integer"
  30031. },
  30032. "loginport": {
  30033. "description": "最新登录端口",
  30034. "type": "integer"
  30035. },
  30036. "loginstatus": {
  30037. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30038. "type": "integer"
  30039. },
  30040. "loginusertype": {
  30041. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30042. "type": "integer"
  30043. },
  30044. "mobile": {
  30045. "description": "手机号码(加密存储)",
  30046. "type": "string"
  30047. },
  30048. "modifierid": {
  30049. "description": "修改人",
  30050. "type": "integer"
  30051. },
  30052. "modifysrc": {
  30053. "description": "审核来源 - 1:管理端 2:终端",
  30054. "type": "integer"
  30055. },
  30056. "modifytime": {
  30057. "description": "修改时间",
  30058. "type": "string"
  30059. },
  30060. "pwdwrongcount": {
  30061. "description": "密码错误次数",
  30062. "type": "integer"
  30063. },
  30064. "relateduserid": {
  30065. "description": "关联用户ID(机构)",
  30066. "type": "integer"
  30067. },
  30068. "taaccountrighttype": {
  30069. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30070. "type": "integer"
  30071. },
  30072. "unfreezetime": {
  30073. "description": "账户解冻时间",
  30074. "type": "string"
  30075. },
  30076. "userid": {
  30077. "description": "用户ID",
  30078. "type": "integer"
  30079. }
  30080. }
  30081. },
  30082. "models.MainAccountInfo": {
  30083. "type": "object",
  30084. "properties": {
  30085. "accountid": {
  30086. "description": "账号id",
  30087. "type": "integer"
  30088. },
  30089. "accountname": {
  30090. "description": "账号名称(taaccount表中的名称)",
  30091. "type": "string"
  30092. },
  30093. "appid": {
  30094. "description": "AppID",
  30095. "type": "string"
  30096. },
  30097. "authcode": {
  30098. "description": "授权码",
  30099. "type": "string"
  30100. },
  30101. "brokerid": {
  30102. "description": "经纪商id",
  30103. "type": "string"
  30104. },
  30105. "fcid": {
  30106. "description": "期货公司id",
  30107. "type": "integer"
  30108. },
  30109. "fcname": {
  30110. "description": "期货公司代码",
  30111. "type": "string"
  30112. },
  30113. "hedgeaccountcode": {
  30114. "description": "外部账号代码(主账号登录代码)",
  30115. "type": "string"
  30116. },
  30117. "hedgeaccountpwd": {
  30118. "description": "密码",
  30119. "type": "string"
  30120. },
  30121. "ismain": {
  30122. "description": "是否主账号",
  30123. "type": "integer"
  30124. },
  30125. "relateduserid": {
  30126. "description": "关联用户id",
  30127. "type": "integer"
  30128. },
  30129. "userid": {
  30130. "description": "关联用户id",
  30131. "type": "integer"
  30132. }
  30133. }
  30134. },
  30135. "models.Market": {
  30136. "type": "object",
  30137. "required": [
  30138. "marketid",
  30139. "marketstatus",
  30140. "openmethod",
  30141. "reckonpricealgorithm",
  30142. "trademode",
  30143. "tradeproperty"
  30144. ],
  30145. "properties": {
  30146. "auctionwrtype": {
  30147. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30148. "type": "integer"
  30149. },
  30150. "canacceptquote": {
  30151. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30152. "type": "integer"
  30153. },
  30154. "cangoodsexercise": {
  30155. "description": "[期权]是否可现货行权- 0:否 1:是",
  30156. "type": "integer"
  30157. },
  30158. "cangoodsexercisetype": {
  30159. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30160. "type": "integer"
  30161. },
  30162. "canmanualquotestrike": {
  30163. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30164. "type": "integer"
  30165. },
  30166. "canmutistage": {
  30167. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30168. "type": "integer"
  30169. },
  30170. "canpreexercise": {
  30171. "description": "[期权]是否可预申报- 0:否 1:是",
  30172. "type": "integer"
  30173. },
  30174. "clearinterval": {
  30175. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30176. "type": "integer"
  30177. },
  30178. "contracttmp": {
  30179. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30180. "type": "string"
  30181. },
  30182. "exchareaid": {
  30183. "description": "所属交易所,可以没有",
  30184. "type": "integer"
  30185. },
  30186. "goodstype": {
  30187. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30188. "type": "integer"
  30189. },
  30190. "hasrebate": {
  30191. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30192. "type": "integer"
  30193. },
  30194. "hastradecredit": {
  30195. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30196. "type": "integer"
  30197. },
  30198. "haswr": {
  30199. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30200. "type": "integer"
  30201. },
  30202. "isdeductmargin": {
  30203. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30204. "type": "integer"
  30205. },
  30206. "isrecordsource": {
  30207. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30208. "type": "integer"
  30209. },
  30210. "isreleasemargin": {
  30211. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30212. "type": "integer"
  30213. },
  30214. "marginformula": {
  30215. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30216. "type": "integer"
  30217. },
  30218. "marginformula2": {
  30219. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30220. "type": "integer"
  30221. },
  30222. "marketid": {
  30223. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30224. "type": "integer"
  30225. },
  30226. "marketname": {
  30227. "description": "市场名称",
  30228. "type": "string"
  30229. },
  30230. "marketserviceid": {
  30231. "description": "市场服务ID",
  30232. "type": "integer"
  30233. },
  30234. "marketstatus": {
  30235. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30236. "type": "integer"
  30237. },
  30238. "markettype": {
  30239. "description": "市场类型- 1:非交易服务 2:交易服务",
  30240. "type": "integer"
  30241. },
  30242. "matchermode": {
  30243. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30244. "type": "integer"
  30245. },
  30246. "openmethod": {
  30247. "description": "开盘模式 - 0 自动 1手动",
  30248. "type": "integer"
  30249. },
  30250. "otcuserid": {
  30251. "description": "场外期权做市商[场外期权]",
  30252. "type": "integer"
  30253. },
  30254. "outersynctime": {
  30255. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30256. "type": "string"
  30257. },
  30258. "pendingflag": {
  30259. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30260. "type": "integer"
  30261. },
  30262. "pendingtime": {
  30263. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30264. "type": "string"
  30265. },
  30266. "performancetempid": {
  30267. "description": "履约计划模板ID - 作废",
  30268. "type": "integer"
  30269. },
  30270. "premiumquotemode": {
  30271. "description": "权利金报价方式 - 1:自动 2:手动",
  30272. "type": "integer"
  30273. },
  30274. "rebateratio": {
  30275. "description": "返利比率[竞价式]",
  30276. "type": "number"
  30277. },
  30278. "reckonorder": {
  30279. "description": "结算顺序",
  30280. "type": "integer"
  30281. },
  30282. "reckonpricealgorithm": {
  30283. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30284. "type": "integer"
  30285. },
  30286. "reckonpriceparam": {
  30287. "description": "结算价参数",
  30288. "type": "integer"
  30289. },
  30290. "reckontime": {
  30291. "description": "结算时间[通道交易-对冲](HH:mm)",
  30292. "type": "string"
  30293. },
  30294. "roleprioritytype": {
  30295. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30296. "type": "integer"
  30297. },
  30298. "selllistingauditflag": {
  30299. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30300. "type": "integer"
  30301. },
  30302. "trademarkettype": {
  30303. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30304. "type": "integer"
  30305. },
  30306. "trademode": {
  30307. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30308. "type": "integer"
  30309. },
  30310. "tradeproperty": {
  30311. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30312. "type": "integer"
  30313. },
  30314. "tradetype": {
  30315. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30316. "type": "integer"
  30317. }
  30318. }
  30319. },
  30320. "models.Marketcalendar": {
  30321. "type": "object",
  30322. "properties": {
  30323. "holidaydate": {
  30324. "description": "节假日期(yyyy-MM-dd)",
  30325. "type": "string"
  30326. },
  30327. "marketid": {
  30328. "description": "市场ID",
  30329. "type": "integer"
  30330. }
  30331. }
  30332. },
  30333. "models.Marketrun": {
  30334. "type": "object",
  30335. "required": [
  30336. "marketid",
  30337. "nexttradedate",
  30338. "reckonflag",
  30339. "runstatus",
  30340. "tradedate",
  30341. "tradedate2"
  30342. ],
  30343. "properties": {
  30344. "afternexttradedate": {
  30345. "description": "下下交易日",
  30346. "type": "string"
  30347. },
  30348. "clearquoteflag": {
  30349. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  30350. "type": "integer"
  30351. },
  30352. "lastreckondate": {
  30353. "description": "最新交易日(结算成功)",
  30354. "type": "string"
  30355. },
  30356. "machinedate": {
  30357. "description": "机器时间",
  30358. "type": "string"
  30359. },
  30360. "manualflag": {
  30361. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  30362. "type": "integer"
  30363. },
  30364. "marketid": {
  30365. "description": "市场ID",
  30366. "type": "integer"
  30367. },
  30368. "nexttradedate": {
  30369. "description": "下一交易日",
  30370. "type": "string"
  30371. },
  30372. "pretradedate": {
  30373. "description": "上一交易日",
  30374. "type": "string"
  30375. },
  30376. "reckonflag": {
  30377. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  30378. "type": "integer"
  30379. },
  30380. "runstatus": {
  30381. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  30382. "type": "integer"
  30383. },
  30384. "sectionid": {
  30385. "description": "时间段号[多时段时用]",
  30386. "type": "integer"
  30387. },
  30388. "tradedate": {
  30389. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  30390. "type": "string"
  30391. },
  30392. "tradedate2": {
  30393. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  30394. "type": "string"
  30395. },
  30396. "updatetime": {
  30397. "description": "更新时间",
  30398. "type": "string"
  30399. }
  30400. }
  30401. },
  30402. "models.Messageboard": {
  30403. "type": "object",
  30404. "required": [
  30405. "messageboardid"
  30406. ],
  30407. "properties": {
  30408. "contactnum": {
  30409. "description": "联系电话",
  30410. "type": "string"
  30411. },
  30412. "createtime": {
  30413. "description": "创建时间",
  30414. "type": "string"
  30415. },
  30416. "message": {
  30417. "description": "留言信息",
  30418. "type": "string"
  30419. },
  30420. "messageboardid": {
  30421. "description": "留言簿ID(SEQ_MessageBoard)",
  30422. "type": "integer"
  30423. },
  30424. "userid": {
  30425. "description": "用户ID",
  30426. "type": "integer"
  30427. }
  30428. }
  30429. },
  30430. "models.MyBargainApply": {
  30431. "type": "object",
  30432. "required": [
  30433. "userid"
  30434. ],
  30435. "properties": {
  30436. "accountid": {
  30437. "description": "摘牌资金账号",
  30438. "type": "integer"
  30439. },
  30440. "applyprice": {
  30441. "description": "申请价格",
  30442. "type": "string"
  30443. },
  30444. "applyremark": {
  30445. "description": "申请备注",
  30446. "type": "string"
  30447. },
  30448. "applystatus": {
  30449. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30450. "type": "integer"
  30451. },
  30452. "applytime": {
  30453. "description": "申请时间",
  30454. "type": "string"
  30455. },
  30456. "buyorsell": {
  30457. "description": "买卖 - 0:买 1:卖",
  30458. "type": "integer"
  30459. },
  30460. "confirmprice": {
  30461. "description": "可接受价格(拒绝时填写)-作废",
  30462. "type": "number"
  30463. },
  30464. "confirmqty": {
  30465. "description": "可接受数量(拒绝时填写)-作废",
  30466. "type": "integer"
  30467. },
  30468. "confirmremark": {
  30469. "description": "确认备注",
  30470. "type": "string"
  30471. },
  30472. "confirmtime": {
  30473. "description": "确认时间",
  30474. "type": "string"
  30475. },
  30476. "confirmuserid": {
  30477. "description": "确认人",
  30478. "type": "integer"
  30479. },
  30480. "handlestatus": {
  30481. "description": "处理状态",
  30482. "type": "integer"
  30483. },
  30484. "ladingbillid": {
  30485. "description": "摘牌方提单ID [卖]",
  30486. "type": "integer"
  30487. },
  30488. "marketid": {
  30489. "description": "市场ID",
  30490. "type": "integer"
  30491. },
  30492. "matchaccountid": {
  30493. "description": "挂牌方资金账号",
  30494. "type": "integer"
  30495. },
  30496. "matchuserid": {
  30497. "description": "挂牌方用户ID",
  30498. "type": "integer"
  30499. },
  30500. "price": {
  30501. "description": "价格",
  30502. "type": "number"
  30503. },
  30504. "priceper": {
  30505. "description": "克拉单价 - 类型:1,2,3,5",
  30506. "type": "string"
  30507. },
  30508. "qty": {
  30509. "description": "申请数量",
  30510. "type": "number"
  30511. },
  30512. "refprice": {
  30513. "description": "参考价格",
  30514. "type": "string"
  30515. },
  30516. "retcode": {
  30517. "description": "委托返回代码",
  30518. "type": "integer"
  30519. },
  30520. "sellusername": {
  30521. "description": "卖方",
  30522. "type": "string"
  30523. },
  30524. "sizedisplay": {
  30525. "description": "尺寸",
  30526. "type": "string"
  30527. },
  30528. "subnum": {
  30529. "description": "摘牌方提单子单号 [卖]",
  30530. "type": "integer"
  30531. },
  30532. "tradedate": {
  30533. "description": "交易日(yyyyMMdd)",
  30534. "type": "string"
  30535. },
  30536. "userid": {
  30537. "description": "摘牌人用户ID",
  30538. "type": "integer"
  30539. },
  30540. "warehousenamedisplay": {
  30541. "type": "string"
  30542. },
  30543. "wrbargainid": {
  30544. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30545. "type": "string"
  30546. },
  30547. "wrtradeorderid": {
  30548. "description": "关联委托单ID",
  30549. "type": "integer"
  30550. },
  30551. "zscerttypedisplay": {
  30552. "type": "string"
  30553. },
  30554. "zsclaritytype1display": {
  30555. "type": "string"
  30556. },
  30557. "zsclaritytype2display": {
  30558. "type": "string"
  30559. },
  30560. "zscolortype1display": {
  30561. "type": "string"
  30562. },
  30563. "zscolortype2display": {
  30564. "type": "string"
  30565. },
  30566. "zscrystaltypedisplay": {
  30567. "type": "string"
  30568. },
  30569. "zscurrencytypedisplay": {
  30570. "type": "string"
  30571. },
  30572. "zscurrencytypedisplayunit": {
  30573. "type": "string"
  30574. },
  30575. "zscuttype1display": {
  30576. "type": "string"
  30577. },
  30578. "zscuttype2display": {
  30579. "type": "string"
  30580. },
  30581. "zsczcolor1typedisplay": {
  30582. "type": "string"
  30583. },
  30584. "zsczcolor2typedisplay": {
  30585. "type": "string"
  30586. },
  30587. "zsczcolor3typedisplay": {
  30588. "type": "string"
  30589. },
  30590. "zsfluorescencetype1display": {
  30591. "type": "string"
  30592. },
  30593. "zsfluorescencetype2display": {
  30594. "type": "string"
  30595. },
  30596. "zspolishtype1display": {
  30597. "type": "string"
  30598. },
  30599. "zspolishtype2display": {
  30600. "type": "string"
  30601. },
  30602. "zsshapetypedisplay": {
  30603. "type": "string"
  30604. },
  30605. "zsstyletypedisplay": {
  30606. "type": "string"
  30607. },
  30608. "zssymmetrytype1display": {
  30609. "type": "string"
  30610. },
  30611. "zssymmetrytype2display": {
  30612. "type": "string"
  30613. }
  30614. }
  30615. },
  30616. "models.MyBuyOrder": {
  30617. "type": "object",
  30618. "required": [
  30619. "userid"
  30620. ],
  30621. "properties": {
  30622. "accountid": {
  30623. "description": "资金账户ID",
  30624. "type": "integer"
  30625. },
  30626. "marketid": {
  30627. "description": "市场ID",
  30628. "type": "integer"
  30629. },
  30630. "ordertime": {
  30631. "description": "委托时间",
  30632. "type": "string"
  30633. },
  30634. "origin": {
  30635. "description": "原产地",
  30636. "type": "string"
  30637. },
  30638. "remark": {
  30639. "description": "备注",
  30640. "type": "string"
  30641. },
  30642. "userid": {
  30643. "description": "用户ID",
  30644. "type": "integer"
  30645. },
  30646. "validtime": {
  30647. "description": "有效期限",
  30648. "type": "string"
  30649. },
  30650. "warehouseids": {
  30651. "description": "仓库ID - 多个, 逗号分隔",
  30652. "type": "string"
  30653. },
  30654. "warehouseinfosdisplay": {
  30655. "type": "string"
  30656. },
  30657. "wrtradeorderid": {
  30658. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30659. "type": "string"
  30660. },
  30661. "wrtradeorderstatus": {
  30662. "description": "委托状态 - 参考枚举'WRTradeOrderStatus' - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:部成 8:已成 9:部成部撤 10:成交失败 11:委托拒绝 12:经过摘牌(先摘后挂专用) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用) 17:冻结PD成功 18:冻结PD失败 19:冻结能量成功 20:冻结能量失败 21:预约已报价 22:过期未付 23:优惠券处理中 24:仓单生成失败 25:首付扣款失败 26:履约失败 27:撤单解冻贷款失败WRTrade_OrderDetail、",
  30663. "type": "integer"
  30664. },
  30665. "zscategory": {
  30666. "description": "钻石分类 - 枚举”ZSCategory“",
  30667. "type": "integer"
  30668. },
  30669. "zscategorydisplay": {
  30670. "type": "string"
  30671. },
  30672. "zsclaritytype": {
  30673. "description": "净度 - 两个, 逗号分隔",
  30674. "type": "string"
  30675. },
  30676. "zsclaritytypedisplay": {
  30677. "type": "string"
  30678. },
  30679. "zscolortype": {
  30680. "description": "颜色 - 两个, 逗号分隔",
  30681. "type": "string"
  30682. },
  30683. "zscolortypedisplay": {
  30684. "type": "string"
  30685. },
  30686. "zscrystaltype": {
  30687. "description": "晶型 - 多个,逗号分隔",
  30688. "type": "string"
  30689. },
  30690. "zscrystaltypedisplay": {
  30691. "type": "string"
  30692. },
  30693. "zscurrencytype": {
  30694. "description": "货币类型 - 多个, 逗号分隔",
  30695. "type": "string"
  30696. },
  30697. "zscurrencytypedisplay": {
  30698. "type": "string"
  30699. },
  30700. "zscuttype": {
  30701. "description": "切工 - 两个, 逗号分隔",
  30702. "type": "string"
  30703. },
  30704. "zscuttypedisplay": {
  30705. "type": "string"
  30706. },
  30707. "zsczcolor1type": {
  30708. "description": "彩钻颜色1, 逗号分隔",
  30709. "type": "string"
  30710. },
  30711. "zsczcolor1typedisplay": {
  30712. "type": "string"
  30713. },
  30714. "zsczcolor2type": {
  30715. "description": "彩钻颜色2, 逗号分隔",
  30716. "type": "string"
  30717. },
  30718. "zsczcolor2typedisplay": {
  30719. "type": "string"
  30720. },
  30721. "zsczcolor3type": {
  30722. "description": "彩钻颜色3, 逗号分隔",
  30723. "type": "string"
  30724. },
  30725. "zsczcolor3typedisplay": {
  30726. "type": "string"
  30727. },
  30728. "zsfluorescencetype": {
  30729. "description": "荧光 - 多个, 逗号分隔",
  30730. "type": "string"
  30731. },
  30732. "zsfluorescencetypedisplay": {
  30733. "type": "string"
  30734. },
  30735. "zspolishtype": {
  30736. "description": "抛光度 - 两个, 逗号分隔",
  30737. "type": "string"
  30738. },
  30739. "zspolishtypedisplay": {
  30740. "type": "string"
  30741. },
  30742. "zsshapetype": {
  30743. "description": "形状 - 多个, 逗号分隔",
  30744. "type": "string"
  30745. },
  30746. "zsshapetypedisplay": {
  30747. "type": "string"
  30748. },
  30749. "zssize": {
  30750. "description": "尺寸 - 两个小数, 逗号分隔",
  30751. "type": "string"
  30752. },
  30753. "zsstyletype": {
  30754. "description": "款式 - 多个, 逗号分隔",
  30755. "type": "string"
  30756. },
  30757. "zsstyletypedisplay": {
  30758. "type": "string"
  30759. },
  30760. "zssymmetrytype": {
  30761. "description": "对称度 - 两个, 逗号分隔",
  30762. "type": "string"
  30763. },
  30764. "zssymmetrytypedisplay": {
  30765. "type": "string"
  30766. },
  30767. "zstabledisplay": {
  30768. "description": "求购信息",
  30769. "type": "string"
  30770. }
  30771. }
  30772. },
  30773. "models.MyDeListing": {
  30774. "type": "object",
  30775. "required": [
  30776. "userid"
  30777. ],
  30778. "properties": {
  30779. "buyaccountid": {
  30780. "description": "买方账号ID",
  30781. "type": "integer"
  30782. },
  30783. "buychargevalue": {
  30784. "description": "买方手续费",
  30785. "type": "number"
  30786. },
  30787. "buyorsell": {
  30788. "description": "方向 - 0:买 1:卖",
  30789. "type": "integer"
  30790. },
  30791. "buyuserid": {
  30792. "description": "买方用户ID",
  30793. "type": "integer"
  30794. },
  30795. "deliverygoodsid": {
  30796. "description": "现货品种ID",
  30797. "type": "integer"
  30798. },
  30799. "exchangerate": {
  30800. "description": "汇率",
  30801. "type": "number"
  30802. },
  30803. "goodsno": {
  30804. "description": "商品编号",
  30805. "type": "string"
  30806. },
  30807. "marketid": {
  30808. "description": "市场ID",
  30809. "type": "integer"
  30810. },
  30811. "matchusername": {
  30812. "description": "对手方",
  30813. "type": "string"
  30814. },
  30815. "oritradeamount": {
  30816. "description": "成交金额[商品币种]",
  30817. "type": "number"
  30818. },
  30819. "performanceplanid": {
  30820. "description": "履约计划ID/合同ID",
  30821. "type": "integer"
  30822. },
  30823. "price": {
  30824. "description": "价格",
  30825. "type": "number"
  30826. },
  30827. "qty": {
  30828. "description": "成交重量",
  30829. "type": "number"
  30830. },
  30831. "sellaccountid": {
  30832. "description": "卖方账号ID",
  30833. "type": "integer"
  30834. },
  30835. "sellchargevalue": {
  30836. "description": "卖方手续费",
  30837. "type": "number"
  30838. },
  30839. "selluserid": {
  30840. "description": "卖方用户ID",
  30841. "type": "integer"
  30842. },
  30843. "sizedisplay": {
  30844. "description": "尺寸",
  30845. "type": "string"
  30846. },
  30847. "tradeamount": {
  30848. "description": "成交金额",
  30849. "type": "number"
  30850. },
  30851. "tradedate": {
  30852. "description": "交易日(yyyyMMdd)",
  30853. "type": "string"
  30854. },
  30855. "tradeprice": {
  30856. "description": "成交价格",
  30857. "type": "number"
  30858. },
  30859. "tradetime": {
  30860. "description": "成交时间",
  30861. "type": "string"
  30862. },
  30863. "userid": {
  30864. "description": "用户ID",
  30865. "type": "integer"
  30866. },
  30867. "warehousenamedisplay": {
  30868. "type": "string"
  30869. },
  30870. "wrfactortypeid": {
  30871. "description": "仓单要素类型ID",
  30872. "type": "integer"
  30873. },
  30874. "wrstandardid": {
  30875. "description": "现货商品ID",
  30876. "type": "integer"
  30877. },
  30878. "wrtradedetailid": {
  30879. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30880. "type": "string"
  30881. },
  30882. "zscategory": {
  30883. "description": "钻石分类 - 枚举”ZSCategory“",
  30884. "type": "integer"
  30885. },
  30886. "zscategorydisplay": {
  30887. "type": "string"
  30888. },
  30889. "zscerttypedisplay": {
  30890. "type": "string"
  30891. },
  30892. "zsclaritytype1display": {
  30893. "type": "string"
  30894. },
  30895. "zsclaritytype2display": {
  30896. "type": "string"
  30897. },
  30898. "zscolortype1display": {
  30899. "type": "string"
  30900. },
  30901. "zscolortype2display": {
  30902. "type": "string"
  30903. },
  30904. "zscrystaltypedisplay": {
  30905. "type": "string"
  30906. },
  30907. "zscurrencytype": {
  30908. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30909. "type": "integer"
  30910. },
  30911. "zscurrencytypedisplay": {
  30912. "type": "string"
  30913. },
  30914. "zscurrencytypedisplayunit": {
  30915. "type": "string"
  30916. },
  30917. "zscuttype1display": {
  30918. "type": "string"
  30919. },
  30920. "zscuttype2display": {
  30921. "type": "string"
  30922. },
  30923. "zsczcolor1typedisplay": {
  30924. "type": "string"
  30925. },
  30926. "zsczcolor2typedisplay": {
  30927. "type": "string"
  30928. },
  30929. "zsczcolor3typedisplay": {
  30930. "type": "string"
  30931. },
  30932. "zsfluorescencetype1display": {
  30933. "type": "string"
  30934. },
  30935. "zsfluorescencetype2display": {
  30936. "type": "string"
  30937. },
  30938. "zspolishtype1display": {
  30939. "type": "string"
  30940. },
  30941. "zspolishtype2display": {
  30942. "type": "string"
  30943. },
  30944. "zsshapetypedisplay": {
  30945. "type": "string"
  30946. },
  30947. "zsstyletypedisplay": {
  30948. "type": "string"
  30949. },
  30950. "zssymmetrytype1display": {
  30951. "type": "string"
  30952. },
  30953. "zssymmetrytype2display": {
  30954. "type": "string"
  30955. }
  30956. }
  30957. },
  30958. "models.MyDelistingApply": {
  30959. "type": "object",
  30960. "required": [
  30961. "selluserid"
  30962. ],
  30963. "properties": {
  30964. "applyprice": {
  30965. "description": "申请价格",
  30966. "type": "number"
  30967. },
  30968. "applyqty": {
  30969. "description": "申请数量",
  30970. "type": "number"
  30971. },
  30972. "applyremark": {
  30973. "description": "申请备注",
  30974. "type": "string"
  30975. },
  30976. "applystatus": {
  30977. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30978. "type": "integer"
  30979. },
  30980. "applytime": {
  30981. "description": "申请时间",
  30982. "type": "string"
  30983. },
  30984. "auditremark": {
  30985. "description": "确认备注",
  30986. "type": "string"
  30987. },
  30988. "audittime": {
  30989. "description": "确认时间",
  30990. "type": "string"
  30991. },
  30992. "buyuserid": {
  30993. "description": "买方用户ID",
  30994. "type": "integer"
  30995. },
  30996. "buyusername": {
  30997. "type": "string"
  30998. },
  30999. "buywrtradeorderid": {
  31000. "description": "买委托单ID",
  31001. "type": "string"
  31002. },
  31003. "goodsno": {
  31004. "description": "-- view_GZ_WRStandard_Ex_Query --",
  31005. "type": "string"
  31006. },
  31007. "ladingbillid": {
  31008. "description": "卖方提单ID",
  31009. "type": "string"
  31010. },
  31011. "marketid": {
  31012. "description": "市场ID",
  31013. "type": "integer"
  31014. },
  31015. "price": {
  31016. "description": "价格",
  31017. "type": "number"
  31018. },
  31019. "sellaccountid": {
  31020. "description": "卖方账户ID",
  31021. "type": "integer"
  31022. },
  31023. "selldelistingapplyid": {
  31024. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  31025. "type": "string"
  31026. },
  31027. "selltradeorderid": {
  31028. "description": "卖方委托ID(买方确认成交后更新)",
  31029. "type": "string"
  31030. },
  31031. "selluserid": {
  31032. "description": "卖方用户ID",
  31033. "type": "integer"
  31034. },
  31035. "subnum": {
  31036. "description": "卖方提单子单号",
  31037. "type": "integer"
  31038. },
  31039. "warehouseinfosdisplay": {
  31040. "type": "string"
  31041. },
  31042. "weight": {
  31043. "description": "克拉重量",
  31044. "type": "number"
  31045. },
  31046. "wrfactortypeid": {
  31047. "description": "仓单要素类型ID",
  31048. "type": "string"
  31049. },
  31050. "wrstandardid": {
  31051. "description": "现货商品ID",
  31052. "type": "integer"
  31053. },
  31054. "zsallproperties": {
  31055. "description": "-- VIEW_GZ_BUYORDERDETAIL_QUERY",
  31056. "type": "string"
  31057. },
  31058. "zscategorydisplay": {
  31059. "type": "string"
  31060. },
  31061. "zsclaritytypedisplay": {
  31062. "type": "string"
  31063. },
  31064. "zscolortypedisplay": {
  31065. "type": "string"
  31066. },
  31067. "zscrystaltypedisplay": {
  31068. "type": "string"
  31069. },
  31070. "zscurrencytypedisplay": {
  31071. "type": "string"
  31072. },
  31073. "zscuttypedisplay": {
  31074. "type": "string"
  31075. },
  31076. "zsczcolor1typedisplay": {
  31077. "type": "string"
  31078. },
  31079. "zsczcolor2typedisplay": {
  31080. "type": "string"
  31081. },
  31082. "zsczcolor3typedisplay": {
  31083. "type": "string"
  31084. },
  31085. "zsfluorescencetypedisplay": {
  31086. "type": "string"
  31087. },
  31088. "zspolishtypedisplay": {
  31089. "type": "string"
  31090. },
  31091. "zsshapetypedisplay": {
  31092. "type": "string"
  31093. },
  31094. "zssizedisplay": {
  31095. "type": "string"
  31096. },
  31097. "zsstyletypedisplay": {
  31098. "type": "string"
  31099. },
  31100. "zssymmetrytypedisplay": {
  31101. "type": "string"
  31102. },
  31103. "zstabledisplay": {
  31104. "type": "string"
  31105. }
  31106. }
  31107. },
  31108. "models.MyFavorite": {
  31109. "type": "object",
  31110. "required": [
  31111. "userid"
  31112. ],
  31113. "properties": {
  31114. "buyorsell": {
  31115. "description": "买卖 - 0:买 1:卖",
  31116. "type": "integer"
  31117. },
  31118. "favoritestatus": {
  31119. "description": "收藏状态 - 1:正常 2:失效",
  31120. "type": "integer"
  31121. },
  31122. "goodsno": {
  31123. "description": "商品编号",
  31124. "type": "string"
  31125. },
  31126. "marketid": {
  31127. "description": "市场ID",
  31128. "type": "integer"
  31129. },
  31130. "price": {
  31131. "description": "价格",
  31132. "type": "number"
  31133. },
  31134. "priceper": {
  31135. "description": "克拉单价",
  31136. "type": "string"
  31137. },
  31138. "sizedisplay": {
  31139. "description": "尺寸",
  31140. "type": "string"
  31141. },
  31142. "userid": {
  31143. "description": "用户ID",
  31144. "type": "integer"
  31145. },
  31146. "warehousenamedisplay": {
  31147. "type": "string"
  31148. },
  31149. "weight": {
  31150. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31151. "type": "number"
  31152. },
  31153. "weightavg": {
  31154. "description": "平均单颗重量 - 类型:1,3",
  31155. "type": "number"
  31156. },
  31157. "wrfactortypeid": {
  31158. "description": "仓单要素类型ID/商品ID(77)",
  31159. "type": "string"
  31160. },
  31161. "wrstandardid": {
  31162. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  31163. "type": "integer"
  31164. },
  31165. "wrtradeorderid": {
  31166. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31167. "type": "string"
  31168. },
  31169. "zscategorydisplay": {
  31170. "type": "string"
  31171. },
  31172. "zscerttypedisplay": {
  31173. "type": "string"
  31174. },
  31175. "zsclaritytype1display": {
  31176. "type": "string"
  31177. },
  31178. "zsclaritytype2display": {
  31179. "type": "string"
  31180. },
  31181. "zscolortype1display": {
  31182. "type": "string"
  31183. },
  31184. "zscolortype2display": {
  31185. "type": "string"
  31186. },
  31187. "zscrystaltypedisplay": {
  31188. "type": "string"
  31189. },
  31190. "zscurrencytypedisplay": {
  31191. "type": "string"
  31192. },
  31193. "zscurrencytypedisplayunit": {
  31194. "type": "string"
  31195. },
  31196. "zscuttype1display": {
  31197. "type": "string"
  31198. },
  31199. "zscuttype2display": {
  31200. "type": "string"
  31201. },
  31202. "zsczcolor1typedisplay": {
  31203. "type": "string"
  31204. },
  31205. "zsczcolor2typedisplay": {
  31206. "type": "string"
  31207. },
  31208. "zsczcolor3typedisplay": {
  31209. "type": "string"
  31210. },
  31211. "zsfluorescencetype1display": {
  31212. "type": "string"
  31213. },
  31214. "zsfluorescencetype2display": {
  31215. "type": "string"
  31216. },
  31217. "zspolishtype1display": {
  31218. "type": "string"
  31219. },
  31220. "zspolishtype2display": {
  31221. "type": "string"
  31222. },
  31223. "zsshapetypedisplay": {
  31224. "type": "string"
  31225. },
  31226. "zsstyletypedisplay": {
  31227. "type": "string"
  31228. },
  31229. "zssymmetrytype1display": {
  31230. "type": "string"
  31231. },
  31232. "zssymmetrytype2display": {
  31233. "type": "string"
  31234. }
  31235. }
  31236. },
  31237. "models.MyPerformanc": {
  31238. "type": "object",
  31239. "properties": {
  31240. "accountname": {
  31241. "description": "[对手方]账户名称(机构名称)",
  31242. "type": "string"
  31243. },
  31244. "amount": {
  31245. "description": "履约金额",
  31246. "type": "number"
  31247. },
  31248. "buyaccountid": {
  31249. "description": "买方账号",
  31250. "type": "integer"
  31251. },
  31252. "buyerfreezeamount": {
  31253. "description": "买方履约前冻结资金",
  31254. "type": "number"
  31255. },
  31256. "buyerfreezeamountremain": {
  31257. "description": "买方履约前冻结资金剩余",
  31258. "type": "number"
  31259. },
  31260. "buyerinfo": {
  31261. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  31262. "type": "string"
  31263. },
  31264. "buyorsell": {
  31265. "description": "方向 - 0:买 1:卖",
  31266. "type": "integer"
  31267. },
  31268. "buypaidamount": {
  31269. "description": "买方已冻/已扣金额",
  31270. "type": "number"
  31271. },
  31272. "curstepid": {
  31273. "description": "当前步骤ID",
  31274. "type": "string"
  31275. },
  31276. "goodsno": {
  31277. "description": "商品编号",
  31278. "type": "string"
  31279. },
  31280. "overshortamount": {
  31281. "description": "溢短金额",
  31282. "type": "number"
  31283. },
  31284. "paymenttype": {
  31285. "description": "买方支付方式 - 1:冻结 2:扣款",
  31286. "type": "integer"
  31287. },
  31288. "performanceplanid": {
  31289. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31290. "type": "string"
  31291. },
  31292. "performancestatus": {
  31293. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31294. "type": "integer"
  31295. },
  31296. "price": {
  31297. "description": "价格",
  31298. "type": "number"
  31299. },
  31300. "priceper": {
  31301. "description": "克拉单价",
  31302. "type": "string"
  31303. },
  31304. "relatedorderid": {
  31305. "description": "关联单号(履约类型的关联单号)",
  31306. "type": "string"
  31307. },
  31308. "remaindays": {
  31309. "description": "剩余天数",
  31310. "type": "integer"
  31311. },
  31312. "sellerfreezeamount": {
  31313. "description": "卖方履约前冻结资金",
  31314. "type": "number"
  31315. },
  31316. "sellerfreezeamountremain": {
  31317. "description": "卖方履约前冻结资金剩余",
  31318. "type": "number"
  31319. },
  31320. "sellerinfo": {
  31321. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  31322. "type": "string"
  31323. },
  31324. "sellreceivedamount": {
  31325. "description": "卖方已收金额",
  31326. "type": "number"
  31327. },
  31328. "sizedisplay": {
  31329. "description": "尺寸",
  31330. "type": "string"
  31331. },
  31332. "steptypeid": {
  31333. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31334. "type": "integer"
  31335. },
  31336. "warehousenamedisplay": {
  31337. "type": "string"
  31338. },
  31339. "zscategorydisplay": {
  31340. "type": "string"
  31341. },
  31342. "zscerttypedisplay": {
  31343. "type": "string"
  31344. },
  31345. "zsclaritytype1display": {
  31346. "type": "string"
  31347. },
  31348. "zsclaritytype2display": {
  31349. "type": "string"
  31350. },
  31351. "zscolortype1display": {
  31352. "type": "string"
  31353. },
  31354. "zscolortype2display": {
  31355. "type": "string"
  31356. },
  31357. "zscrystaltypedisplay": {
  31358. "type": "string"
  31359. },
  31360. "zscurrencytypedisplay": {
  31361. "type": "string"
  31362. },
  31363. "zscurrencytypedisplayunit": {
  31364. "type": "string"
  31365. },
  31366. "zscuttype1display": {
  31367. "type": "string"
  31368. },
  31369. "zscuttype2display": {
  31370. "type": "string"
  31371. },
  31372. "zsczcolor1typedisplay": {
  31373. "type": "string"
  31374. },
  31375. "zsczcolor2typedisplay": {
  31376. "type": "string"
  31377. },
  31378. "zsczcolor3typedisplay": {
  31379. "type": "string"
  31380. },
  31381. "zsfluorescencetype1display": {
  31382. "type": "string"
  31383. },
  31384. "zsfluorescencetype2display": {
  31385. "type": "string"
  31386. },
  31387. "zspolishtype1display": {
  31388. "type": "string"
  31389. },
  31390. "zspolishtype2display": {
  31391. "type": "string"
  31392. },
  31393. "zsshapetypedisplay": {
  31394. "type": "string"
  31395. },
  31396. "zsstyletypedisplay": {
  31397. "type": "string"
  31398. },
  31399. "zssymmetrytype1display": {
  31400. "type": "string"
  31401. },
  31402. "zssymmetrytype2display": {
  31403. "type": "string"
  31404. }
  31405. }
  31406. },
  31407. "models.MySellOrder": {
  31408. "type": "object",
  31409. "required": [
  31410. "userid"
  31411. ],
  31412. "properties": {
  31413. "accountid": {
  31414. "description": "资金账号",
  31415. "type": "integer"
  31416. },
  31417. "applyid": {
  31418. "description": "申请单ID",
  31419. "type": "integer"
  31420. },
  31421. "attachment1": {
  31422. "description": "附件1",
  31423. "type": "string"
  31424. },
  31425. "attachment2": {
  31426. "description": "附件2",
  31427. "type": "string"
  31428. },
  31429. "buyorsell": {
  31430. "description": "买卖 - 0:买 1:卖",
  31431. "type": "integer"
  31432. },
  31433. "canbargain": {
  31434. "description": "是否可议价 - 0:不可 1:可",
  31435. "type": "integer"
  31436. },
  31437. "cancelqty": {
  31438. "description": "撤销数量",
  31439. "type": "integer"
  31440. },
  31441. "canceltime": {
  31442. "description": "撤销时间",
  31443. "type": "string"
  31444. },
  31445. "cerno": {
  31446. "type": "string"
  31447. },
  31448. "chargealgorithm": {
  31449. "description": "手续费收取方式 1:比率 2:固定",
  31450. "type": "integer"
  31451. },
  31452. "chargealgorithmvalue": {
  31453. "description": "手续费设置值(交易所部分)",
  31454. "type": "number"
  31455. },
  31456. "chargealgorithmvalue2": {
  31457. "description": "手续费设置值(会员部分)",
  31458. "type": "number"
  31459. },
  31460. "clientordertime": {
  31461. "description": "客户端委托时间",
  31462. "type": "string"
  31463. },
  31464. "cpcertno": {
  31465. "type": "string"
  31466. },
  31467. "exchangerate": {
  31468. "description": "汇率[67]",
  31469. "type": "number"
  31470. },
  31471. "firstratio": {
  31472. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  31473. "type": "number"
  31474. },
  31475. "fixedprice": {
  31476. "description": "[克拉单价]固定价格 - [挂牌]",
  31477. "type": "number"
  31478. },
  31479. "freezecharge": {
  31480. "description": "冻结手续费",
  31481. "type": "number"
  31482. },
  31483. "freezefirstamount": {
  31484. "description": "冻结首付金额 - [摘牌]",
  31485. "type": "number"
  31486. },
  31487. "freezemargin": {
  31488. "description": "冻结保证金",
  31489. "type": "number"
  31490. },
  31491. "goodsno": {
  31492. "description": "商品编号",
  31493. "type": "string"
  31494. },
  31495. "imagepath": {
  31496. "type": "string"
  31497. },
  31498. "isspecified": {
  31499. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  31500. "type": "integer"
  31501. },
  31502. "kppath": {
  31503. "type": "string"
  31504. },
  31505. "kpweight": {
  31506. "type": "string"
  31507. },
  31508. "marginalgorithm": {
  31509. "description": "保证金方式 - 1:比率 2:固定",
  31510. "type": "integer"
  31511. },
  31512. "marginvalue": {
  31513. "description": "保证金设置值",
  31514. "type": "number"
  31515. },
  31516. "marketid": {
  31517. "description": "市场ID",
  31518. "type": "integer"
  31519. },
  31520. "marketprice": {
  31521. "type": "string"
  31522. },
  31523. "orderamount": {
  31524. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  31525. "type": "number"
  31526. },
  31527. "ordertime": {
  31528. "description": "委托时间",
  31529. "type": "string"
  31530. },
  31531. "performancetemplateid": {
  31532. "description": "履约计划模板ID",
  31533. "type": "integer"
  31534. },
  31535. "price": {
  31536. "description": "价格",
  31537. "type": "number"
  31538. },
  31539. "pricefactor": {
  31540. "description": "价格系数(浮动价时填写) - [挂牌]",
  31541. "type": "number"
  31542. },
  31543. "pricemove": {
  31544. "description": "升贴水(浮动价时填写) - [挂牌]",
  31545. "type": "number"
  31546. },
  31547. "priceper": {
  31548. "type": "string"
  31549. },
  31550. "relatedwrtradeorderid": {
  31551. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  31552. "type": "integer"
  31553. },
  31554. "remark": {
  31555. "type": "string"
  31556. },
  31557. "retcode": {
  31558. "description": "错误代码",
  31559. "type": "integer"
  31560. },
  31561. "selledqty": {
  31562. "description": "成交重量",
  31563. "type": "number"
  31564. },
  31565. "settingmaterial": {
  31566. "type": "string"
  31567. },
  31568. "size1": {
  31569. "type": "string"
  31570. },
  31571. "size2": {
  31572. "type": "string"
  31573. },
  31574. "size3": {
  31575. "type": "string"
  31576. },
  31577. "stonedesc": {
  31578. "type": "string"
  31579. },
  31580. "totalqty": {
  31581. "description": "总重量",
  31582. "type": "number"
  31583. },
  31584. "tradedate": {
  31585. "description": "交易日(yyyyMMdd)",
  31586. "type": "string"
  31587. },
  31588. "tradeprice": {
  31589. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31590. "type": "number"
  31591. },
  31592. "unfreezecharge": {
  31593. "description": "解冻手续费",
  31594. "type": "number"
  31595. },
  31596. "unfreezefirstamount": {
  31597. "description": "解冻首付金额 - [摘牌]",
  31598. "type": "number"
  31599. },
  31600. "unfreezemargin": {
  31601. "description": "解冻保证金",
  31602. "type": "number"
  31603. },
  31604. "userid": {
  31605. "description": "用户ID",
  31606. "type": "integer"
  31607. },
  31608. "uuid": {
  31609. "description": "发起端唯一id",
  31610. "type": "string"
  31611. },
  31612. "validtime": {
  31613. "description": "有效期限",
  31614. "type": "string"
  31615. },
  31616. "validtype": {
  31617. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  31618. "type": "integer"
  31619. },
  31620. "warehousenamedisplay": {
  31621. "type": "string"
  31622. },
  31623. "wrbargainid": {
  31624. "description": "议价申请单ID",
  31625. "type": "integer"
  31626. },
  31627. "wrfactortypeid": {
  31628. "description": "仓单要素类型ID/商品ID(77)",
  31629. "type": "integer"
  31630. },
  31631. "wrpath": {
  31632. "type": "string"
  31633. },
  31634. "wrpricetype": {
  31635. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31636. "type": "integer"
  31637. },
  31638. "wrstandardid": {
  31639. "description": "现货商品ID",
  31640. "type": "integer"
  31641. },
  31642. "wrtradeorderid": {
  31643. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31644. "type": "string"
  31645. },
  31646. "wrtradeorderstatus": {
  31647. "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:撤单解冻贷款失败",
  31648. "type": "integer"
  31649. },
  31650. "wrtradetype": {
  31651. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31652. "type": "integer"
  31653. },
  31654. "wrtransferuserid": {
  31655. "description": "仓单受让用户 - [摘牌]",
  31656. "type": "integer"
  31657. },
  31658. "zscategory": {
  31659. "description": "钻石分类 - 枚举”ZSCategory“",
  31660. "type": "integer"
  31661. },
  31662. "zscategorydisplay": {
  31663. "description": "钻石分类 - 描述",
  31664. "type": "string"
  31665. },
  31666. "zscerttypedisplay": {
  31667. "type": "string"
  31668. },
  31669. "zsclaritytype1display": {
  31670. "type": "string"
  31671. },
  31672. "zsclaritytype2display": {
  31673. "type": "string"
  31674. },
  31675. "zscolortype1display": {
  31676. "type": "string"
  31677. },
  31678. "zscolortype2display": {
  31679. "type": "string"
  31680. },
  31681. "zscrystaltype": {
  31682. "type": "string"
  31683. },
  31684. "zscrystaltypedisplay": {
  31685. "type": "string"
  31686. },
  31687. "zscurrencytype": {
  31688. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31689. "type": "integer"
  31690. },
  31691. "zscurrencytypedisplay": {
  31692. "type": "string"
  31693. },
  31694. "zscurrencytypedisplayunit": {
  31695. "type": "string"
  31696. },
  31697. "zscuttype1display": {
  31698. "type": "string"
  31699. },
  31700. "zscuttype2display": {
  31701. "type": "string"
  31702. },
  31703. "zsczcolor1typedisplay": {
  31704. "type": "string"
  31705. },
  31706. "zsczcolor2typedisplay": {
  31707. "type": "string"
  31708. },
  31709. "zsczcolor3typedisplay": {
  31710. "type": "string"
  31711. },
  31712. "zsfluorescencetype1display": {
  31713. "type": "string"
  31714. },
  31715. "zsfluorescencetype2display": {
  31716. "type": "string"
  31717. },
  31718. "zspolishtype1display": {
  31719. "type": "string"
  31720. },
  31721. "zspolishtype2display": {
  31722. "type": "string"
  31723. },
  31724. "zsshapetypedisplay": {
  31725. "type": "string"
  31726. },
  31727. "zsstyletypedisplay": {
  31728. "type": "string"
  31729. },
  31730. "zssymmetrytype1display": {
  31731. "type": "string"
  31732. },
  31733. "zssymmetrytype2display": {
  31734. "type": "string"
  31735. }
  31736. }
  31737. },
  31738. "models.MyWRPosition": {
  31739. "type": "object",
  31740. "required": [
  31741. "wruserid"
  31742. ],
  31743. "properties": {
  31744. "cerno": {
  31745. "description": "证书编号 - 类型:2,4,5",
  31746. "type": "string"
  31747. },
  31748. "cpcertno": {
  31749. "description": "金伯利证书编号 - 类型:3",
  31750. "type": "string"
  31751. },
  31752. "ffreezeqty": {
  31753. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  31754. "type": "number"
  31755. },
  31756. "ftotalqty": {
  31757. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  31758. "type": "number"
  31759. },
  31760. "goodsno": {
  31761. "description": "商品编号",
  31762. "type": "string"
  31763. },
  31764. "imagepath": {
  31765. "description": "商品照片(相对地址)",
  31766. "type": "string"
  31767. },
  31768. "isvalid": {
  31769. "description": "是否有效 - 0:无效 1:有效",
  31770. "type": "integer"
  31771. },
  31772. "kppath": {
  31773. "description": "金伯利证书图片(相对地址) - 类型:3",
  31774. "type": "string"
  31775. },
  31776. "kpweight": {
  31777. "description": "金伯利证书重量 - 类型:3",
  31778. "type": "string"
  31779. },
  31780. "ladingbillid": {
  31781. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31782. "type": "string"
  31783. },
  31784. "marketflag": {
  31785. "description": "是否上架,0-全部 1-是 2-否",
  31786. "type": "integer"
  31787. },
  31788. "marketprice": {
  31789. "description": "市场价",
  31790. "type": "string"
  31791. },
  31792. "origin": {
  31793. "description": "原产地 - 类型:3",
  31794. "type": "string"
  31795. },
  31796. "price": {
  31797. "description": "总价(价格) - 类型:1,2,3,4,5",
  31798. "type": "number"
  31799. },
  31800. "priceper": {
  31801. "description": "克拉单价 - 类型:1,2,3,5",
  31802. "type": "string"
  31803. },
  31804. "remark": {
  31805. "description": "备注",
  31806. "type": "string"
  31807. },
  31808. "sellmobile": {
  31809. "description": "手机号码(加密存储)",
  31810. "type": "string"
  31811. },
  31812. "sellusername": {
  31813. "description": "账户名称(机构名称)",
  31814. "type": "string"
  31815. },
  31816. "settingmaterial": {
  31817. "description": "镶嵌材料 - 类型:4",
  31818. "type": "string"
  31819. },
  31820. "size1": {
  31821. "description": "尺寸1 - 类型:2,4,5",
  31822. "type": "string"
  31823. },
  31824. "size2": {
  31825. "description": "尺寸2 - 类型:2,4,5",
  31826. "type": "string"
  31827. },
  31828. "size3": {
  31829. "description": "尺寸3 - 类型:2,4,5",
  31830. "type": "string"
  31831. },
  31832. "stonedesc": {
  31833. "description": "配石描述 - 类型:4",
  31834. "type": "string"
  31835. },
  31836. "subnum": {
  31837. "description": "提单子单号",
  31838. "type": "integer"
  31839. },
  31840. "userid": {
  31841. "description": "用户ID",
  31842. "type": "integer"
  31843. },
  31844. "warehouseid": {
  31845. "description": "仓库ID",
  31846. "type": "integer"
  31847. },
  31848. "warehousenamedisplay": {
  31849. "type": "string"
  31850. },
  31851. "weight": {
  31852. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31853. "type": "number"
  31854. },
  31855. "weightavg": {
  31856. "description": "平均单颗重量 - 类型:1,3",
  31857. "type": "number"
  31858. },
  31859. "wrpath": {
  31860. "description": "仓单扫描件(相对地址)",
  31861. "type": "string"
  31862. },
  31863. "wrstandardid": {
  31864. "description": "现货商品ID",
  31865. "type": "integer"
  31866. },
  31867. "wrtradeorderid": {
  31868. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31869. "type": "string"
  31870. },
  31871. "wruserid": {
  31872. "description": "登录用户ID",
  31873. "type": "integer"
  31874. },
  31875. "zscategory": {
  31876. "description": "钻石分类 - 枚举”ZSCategory“",
  31877. "type": "integer"
  31878. },
  31879. "zscategorydisplay": {
  31880. "type": "string"
  31881. },
  31882. "zscerttype": {
  31883. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  31884. "type": "integer"
  31885. },
  31886. "zscerttypedisplay": {
  31887. "type": "string"
  31888. },
  31889. "zsclaritytype1": {
  31890. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  31891. "type": "integer"
  31892. },
  31893. "zsclaritytype1display": {
  31894. "type": "string"
  31895. },
  31896. "zsclaritytype2": {
  31897. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  31898. "type": "integer"
  31899. },
  31900. "zsclaritytype2display": {
  31901. "type": "string"
  31902. },
  31903. "zscolortype1": {
  31904. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  31905. "type": "integer"
  31906. },
  31907. "zscolortype1display": {
  31908. "type": "string"
  31909. },
  31910. "zscolortype2": {
  31911. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  31912. "type": "integer"
  31913. },
  31914. "zscolortype2display": {
  31915. "type": "string"
  31916. },
  31917. "zscrystaltype": {
  31918. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  31919. "type": "string"
  31920. },
  31921. "zscrystaltypedisplay": {
  31922. "type": "string"
  31923. },
  31924. "zscurrencytype": {
  31925. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31926. "type": "integer"
  31927. },
  31928. "zscurrencytypedisplay": {
  31929. "type": "string"
  31930. },
  31931. "zscurrencytypedisplayunit": {
  31932. "type": "string"
  31933. },
  31934. "zscuttype1": {
  31935. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  31936. "type": "integer"
  31937. },
  31938. "zscuttype1display": {
  31939. "type": "string"
  31940. },
  31941. "zscuttype2": {
  31942. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  31943. "type": "integer"
  31944. },
  31945. "zscuttype2display": {
  31946. "type": "string"
  31947. },
  31948. "zsczcolor1type": {
  31949. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  31950. "type": "integer"
  31951. },
  31952. "zsczcolor1typedisplay": {
  31953. "type": "string"
  31954. },
  31955. "zsczcolor2type": {
  31956. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  31957. "type": "integer"
  31958. },
  31959. "zsczcolor2typedisplay": {
  31960. "type": "string"
  31961. },
  31962. "zsczcolor3type": {
  31963. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  31964. "type": "integer"
  31965. },
  31966. "zsczcolor3typedisplay": {
  31967. "type": "string"
  31968. },
  31969. "zsfluorescencetype1": {
  31970. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  31971. "type": "integer"
  31972. },
  31973. "zsfluorescencetype1display": {
  31974. "type": "string"
  31975. },
  31976. "zsfluorescencetype2": {
  31977. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  31978. "type": "integer"
  31979. },
  31980. "zsfluorescencetype2display": {
  31981. "type": "string"
  31982. },
  31983. "zspolishtype1": {
  31984. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  31985. "type": "integer"
  31986. },
  31987. "zspolishtype1display": {
  31988. "type": "string"
  31989. },
  31990. "zspolishtype2": {
  31991. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  31992. "type": "integer"
  31993. },
  31994. "zspolishtype2display": {
  31995. "type": "string"
  31996. },
  31997. "zsshapetype": {
  31998. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  31999. "type": "string"
  32000. },
  32001. "zsshapetypedisplay": {
  32002. "type": "string"
  32003. },
  32004. "zsstyletype": {
  32005. "description": "款式 - 类型:4",
  32006. "type": "integer"
  32007. },
  32008. "zsstyletypedisplay": {
  32009. "type": "string"
  32010. },
  32011. "zssymmetrytype1": {
  32012. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32013. "type": "integer"
  32014. },
  32015. "zssymmetrytype1display": {
  32016. "type": "string"
  32017. },
  32018. "zssymmetrytype2": {
  32019. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32020. "type": "integer"
  32021. },
  32022. "zssymmetrytype2display": {
  32023. "type": "string"
  32024. }
  32025. }
  32026. },
  32027. "models.NewFuncmenulist": {
  32028. "type": "object",
  32029. "required": [
  32030. "resourcecode"
  32031. ],
  32032. "properties": {
  32033. "authtype": {
  32034. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32035. "type": "integer"
  32036. },
  32037. "buttonname": {
  32038. "description": "按钮名称",
  32039. "type": "string"
  32040. },
  32041. "buttontype": {
  32042. "description": "按钮类型 - 存按钮样式",
  32043. "type": "string"
  32044. },
  32045. "component": {
  32046. "description": "组件名或组件地址",
  32047. "type": "string"
  32048. },
  32049. "hidden": {
  32050. "description": "是否隐藏 - 0:显示 1:隐藏",
  32051. "type": "integer"
  32052. },
  32053. "iconame": {
  32054. "description": "菜单图标",
  32055. "type": "string"
  32056. },
  32057. "menutype": {
  32058. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32059. "type": "integer"
  32060. },
  32061. "parentcode": {
  32062. "description": "上级资源代码",
  32063. "type": "string"
  32064. },
  32065. "remark": {
  32066. "description": "Remark",
  32067. "type": "string"
  32068. },
  32069. "resourcecode": {
  32070. "description": "资源代码",
  32071. "type": "string"
  32072. },
  32073. "resourcelevel": {
  32074. "description": "级别1-一级 2-二级 3-三级4-四级",
  32075. "type": "integer"
  32076. },
  32077. "resourcename": {
  32078. "description": "资源名(Title)",
  32079. "type": "string"
  32080. },
  32081. "sort": {
  32082. "description": "排序",
  32083. "type": "integer"
  32084. },
  32085. "url": {
  32086. "description": "Url",
  32087. "type": "string"
  32088. },
  32089. "urltype": {
  32090. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32091. "type": "integer"
  32092. }
  32093. }
  32094. },
  32095. "models.OperationPrimaryMenu": {
  32096. "type": "object",
  32097. "properties": {
  32098. "Children": {
  32099. "description": "二级功能菜单",
  32100. "type": "array",
  32101. "items": {
  32102. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32103. }
  32104. },
  32105. "Key": {
  32106. "description": "菜单KEY",
  32107. "type": "string"
  32108. },
  32109. "Label": {
  32110. "description": "菜单标题",
  32111. "type": "string"
  32112. }
  32113. }
  32114. },
  32115. "models.OperationSecondaryMenu": {
  32116. "type": "object",
  32117. "properties": {
  32118. "Key": {
  32119. "description": "菜单KEY",
  32120. "type": "string"
  32121. },
  32122. "Label": {
  32123. "description": "菜单标题",
  32124. "type": "string"
  32125. },
  32126. "TabList": {
  32127. "description": "三级功能菜单",
  32128. "type": "array",
  32129. "items": {
  32130. "$ref": "#/definitions/models.OperationTabMenu"
  32131. }
  32132. }
  32133. }
  32134. },
  32135. "models.OperationTabMenu": {
  32136. "type": "object",
  32137. "properties": {
  32138. "Key": {
  32139. "description": "菜单KEY",
  32140. "type": "string"
  32141. },
  32142. "Label": {
  32143. "description": "菜单标题",
  32144. "type": "string"
  32145. }
  32146. }
  32147. },
  32148. "models.Patradelinkdetail": {
  32149. "type": "object",
  32150. "properties": {
  32151. "accountname": {
  32152. "description": "套期主体",
  32153. "type": "string"
  32154. },
  32155. "agreeunit": {
  32156. "description": "合约乘数",
  32157. "type": "number"
  32158. },
  32159. "amount": {
  32160. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32161. "type": "number"
  32162. },
  32163. "areauserid": {
  32164. "description": "所属机构",
  32165. "type": "integer"
  32166. },
  32167. "bizsubjectid": {
  32168. "description": "归属业务部门ID - SubjectID",
  32169. "type": "integer"
  32170. },
  32171. "buyorsell": {
  32172. "description": "方向 - 0:买 1:卖",
  32173. "type": "integer"
  32174. },
  32175. "convertratio": {
  32176. "description": "品种系数",
  32177. "type": "number"
  32178. },
  32179. "convertratiochange": {
  32180. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32181. "type": "number"
  32182. },
  32183. "createtime": {
  32184. "description": "[日期时间]创建时间",
  32185. "type": "string"
  32186. },
  32187. "creatorid": {
  32188. "description": "创建人ID",
  32189. "type": "integer"
  32190. },
  32191. "creatorsrc": {
  32192. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32193. "type": "integer"
  32194. },
  32195. "goodscode": {
  32196. "description": "商品代码(内部)",
  32197. "type": "string"
  32198. },
  32199. "goodsgroupid": {
  32200. "description": "对冲品种ID[期货合约商品组ID]",
  32201. "type": "integer"
  32202. },
  32203. "goodsid": {
  32204. "description": "商品ID",
  32205. "type": "integer"
  32206. },
  32207. "hedgeditemid": {
  32208. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32209. "type": "integer"
  32210. },
  32211. "hedgeflag": {
  32212. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32213. "type": "integer"
  32214. },
  32215. "linkdetailid": {
  32216. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32217. "type": "string"
  32218. },
  32219. "linkstatus": {
  32220. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32221. "type": "integer"
  32222. },
  32223. "middlegoodsid": {
  32224. "description": "套保品种ID",
  32225. "type": "integer"
  32226. },
  32227. "name": {
  32228. "description": "账户名/子账户",
  32229. "type": "string"
  32230. },
  32231. "optioncode": {
  32232. "description": "[期货合约]期权代码 [期权]",
  32233. "type": "string"
  32234. },
  32235. "ordertype": {
  32236. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32237. "type": "integer"
  32238. },
  32239. "relatedlot": {
  32240. "description": "[数量]关联手数",
  32241. "type": "number"
  32242. },
  32243. "relatedmode": {
  32244. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32245. "type": "integer"
  32246. },
  32247. "relatedqty": {
  32248. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32249. "type": "number"
  32250. },
  32251. "retcode": {
  32252. "description": "返回码",
  32253. "type": "integer"
  32254. },
  32255. "saleuserid": {
  32256. "description": "业务员ID",
  32257. "type": "integer"
  32258. },
  32259. "tradedate": {
  32260. "description": "关联交易日(yyyyMMdd)",
  32261. "type": "string"
  32262. },
  32263. "tradeid": {
  32264. "description": "[成交单号]内部成交单ID",
  32265. "type": "string"
  32266. },
  32267. "tradelot": {
  32268. "description": "成交手数",
  32269. "type": "integer"
  32270. },
  32271. "tradeprice": {
  32272. "description": "[价格]成交价格",
  32273. "type": "number"
  32274. },
  32275. "tradetradedate": {
  32276. "description": "成交交易日(yyyyMMdd)",
  32277. "type": "string"
  32278. }
  32279. }
  32280. },
  32281. "models.QhjAccountOutInApply": {
  32282. "type": "object",
  32283. "properties": {
  32284. "accountcode": {
  32285. "description": "资金账号",
  32286. "type": "string"
  32287. },
  32288. "accountname": {
  32289. "description": "用户名称(名称)",
  32290. "type": "string"
  32291. },
  32292. "accountpwd": {
  32293. "description": "资金密码",
  32294. "type": "string"
  32295. },
  32296. "accountticket": {
  32297. "description": "最新账户服务流水号",
  32298. "type": "string"
  32299. },
  32300. "amount": {
  32301. "description": "金额",
  32302. "type": "number"
  32303. },
  32304. "applyremark": {
  32305. "description": "申请备注",
  32306. "type": "string"
  32307. },
  32308. "applystatus": {
  32309. "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: 复审通过,账户冻结金额检查中;",
  32310. "type": "integer"
  32311. },
  32312. "auditid": {
  32313. "description": "审核人",
  32314. "type": "integer"
  32315. },
  32316. "audittime": {
  32317. "description": "审核时间",
  32318. "type": "string"
  32319. },
  32320. "bank_apply_ticket": {
  32321. "description": "银行申请流水",
  32322. "type": "string"
  32323. },
  32324. "bankaccountname": {
  32325. "description": "银行账户名",
  32326. "type": "string"
  32327. },
  32328. "bankaccountno": {
  32329. "description": "银行卡号",
  32330. "type": "string"
  32331. },
  32332. "bankid": {
  32333. "description": "银行编号",
  32334. "type": "string"
  32335. },
  32336. "bankticket": {
  32337. "description": "银行流水",
  32338. "type": "string"
  32339. },
  32340. "branchbankid": {
  32341. "description": "银行支行号",
  32342. "type": "string"
  32343. },
  32344. "branchbankname": {
  32345. "description": "银行支行名称",
  32346. "type": "string"
  32347. },
  32348. "capamountout": {
  32349. "description": "出金(劣后本金) - 外部子账户",
  32350. "type": "number"
  32351. },
  32352. "certificatephotourl": {
  32353. "description": "凭证地址",
  32354. "type": "string"
  32355. },
  32356. "charge": {
  32357. "description": "手续费",
  32358. "type": "number"
  32359. },
  32360. "checkerrorflag": {
  32361. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32362. "type": "integer"
  32363. },
  32364. "currency": {
  32365. "description": "币种",
  32366. "type": "string"
  32367. },
  32368. "cusbankid": {
  32369. "description": "托管银行编号",
  32370. "type": "string"
  32371. },
  32372. "exchticket": {
  32373. "description": "银行服务流水号",
  32374. "type": "string"
  32375. },
  32376. "executetype": {
  32377. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32378. "type": "integer"
  32379. },
  32380. "extendinfo": {
  32381. "description": "扩展信息",
  32382. "type": "string"
  32383. },
  32384. "extoperateid": {
  32385. "description": "交易服务流水号",
  32386. "type": "integer"
  32387. },
  32388. "infamount": {
  32389. "description": "劣后金额(自有)",
  32390. "type": "number"
  32391. },
  32392. "logincode": {
  32393. "description": "登录账号(账号)",
  32394. "type": "string"
  32395. },
  32396. "netaddr": {
  32397. "description": "调转网址",
  32398. "type": "string"
  32399. },
  32400. "priamount": {
  32401. "description": "优先金额(授信)",
  32402. "type": "number"
  32403. },
  32404. "reauditid": {
  32405. "description": "复审人",
  32406. "type": "integer"
  32407. },
  32408. "reauditremark": {
  32409. "description": "复审备注",
  32410. "type": "string"
  32411. },
  32412. "reaudittime": {
  32413. "description": "复审时间",
  32414. "type": "string"
  32415. },
  32416. "relatedorderid": {
  32417. "description": "三方关联ID",
  32418. "type": "string"
  32419. },
  32420. "remark": {
  32421. "description": "备注",
  32422. "type": "string"
  32423. },
  32424. "remark2": {
  32425. "description": "备注(失败原因)",
  32426. "type": "string"
  32427. },
  32428. "soucreamount": {
  32429. "description": "原始出入金金额",
  32430. "type": "number"
  32431. },
  32432. "soucrecurrencyid": {
  32433. "description": "原始出入金币种",
  32434. "type": "integer"
  32435. },
  32436. "tradedate": {
  32437. "description": "交易日(yyyyMMdd)",
  32438. "type": "string"
  32439. },
  32440. "updatetime": {
  32441. "description": "更新时间(申请时间)",
  32442. "type": "string"
  32443. },
  32444. "userid": {
  32445. "description": "用户id",
  32446. "type": "integer"
  32447. },
  32448. "userinfotype": {
  32449. "description": "账户类型 1-个人 2-企业",
  32450. "type": "integer"
  32451. }
  32452. }
  32453. },
  32454. "models.QhjAgreementChangeLog": {
  32455. "type": "object",
  32456. "properties": {
  32457. "agreementcontent": {
  32458. "description": "协议内容",
  32459. "type": "string"
  32460. },
  32461. "agreementfrequency": {
  32462. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32463. "type": "integer"
  32464. },
  32465. "agreementid": {
  32466. "description": "协议ID",
  32467. "type": "integer"
  32468. },
  32469. "agreementname": {
  32470. "description": "协议名称",
  32471. "type": "string"
  32472. },
  32473. "agreementno": {
  32474. "description": "协议编号",
  32475. "type": "string"
  32476. },
  32477. "agreementtype": {
  32478. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32479. "type": "integer"
  32480. },
  32481. "agreementversion": {
  32482. "description": "协议版本号",
  32483. "type": "integer"
  32484. },
  32485. "logid": {
  32486. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32487. "type": "integer"
  32488. },
  32489. "reviserid": {
  32490. "description": "修改人",
  32491. "type": "integer"
  32492. },
  32493. "revisersrc": {
  32494. "description": "修改来源 - 1:管理端 2:终端",
  32495. "type": "integer"
  32496. },
  32497. "updatetime": {
  32498. "description": "更新时间",
  32499. "type": "string"
  32500. }
  32501. }
  32502. },
  32503. "models.QhjAgreementConfig": {
  32504. "type": "object",
  32505. "properties": {
  32506. "agreementcontent": {
  32507. "description": "协议内容",
  32508. "type": "string"
  32509. },
  32510. "agreementfrequency": {
  32511. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32512. "type": "integer"
  32513. },
  32514. "agreementid": {
  32515. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32516. "type": "integer"
  32517. },
  32518. "agreementname": {
  32519. "description": "协议名称",
  32520. "type": "string"
  32521. },
  32522. "agreementno": {
  32523. "description": "协议编号",
  32524. "type": "string"
  32525. },
  32526. "agreementtype": {
  32527. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32528. "type": "integer"
  32529. },
  32530. "agreementversion": {
  32531. "description": "协议版本号(从1开始每次修改加1)",
  32532. "type": "integer"
  32533. },
  32534. "createtime": {
  32535. "description": "创建时间",
  32536. "type": "string"
  32537. },
  32538. "creatorid": {
  32539. "description": "创建人",
  32540. "type": "integer"
  32541. },
  32542. "creatorsrc": {
  32543. "description": "创建来源 - 1:管理端 2:终端",
  32544. "type": "integer"
  32545. },
  32546. "isvalid": {
  32547. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32548. "type": "integer"
  32549. },
  32550. "reviserid": {
  32551. "description": "修改人",
  32552. "type": "integer"
  32553. },
  32554. "revisersrc": {
  32555. "description": "修改来源 - 1:管理端 2:终端",
  32556. "type": "integer"
  32557. },
  32558. "updatetime": {
  32559. "description": "更新时间",
  32560. "type": "string"
  32561. }
  32562. }
  32563. },
  32564. "models.QhjAreaFinanceConfig": {
  32565. "type": "object",
  32566. "properties": {
  32567. "additionalratio": {
  32568. "description": "追加款比例",
  32569. "type": "number"
  32570. },
  32571. "advanceratio": {
  32572. "description": "预付款比例",
  32573. "type": "number"
  32574. },
  32575. "alarmratio": {
  32576. "description": "告警比例",
  32577. "type": "number"
  32578. },
  32579. "consumptiondirectreward": {
  32580. "description": "消费直推奖励值",
  32581. "type": "number"
  32582. },
  32583. "consumptionenabled": {
  32584. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32585. "type": "integer"
  32586. },
  32587. "consumptionindirectreward": {
  32588. "description": "消费间推奖励值",
  32589. "type": "number"
  32590. },
  32591. "consumptionmodel": {
  32592. "description": "消费奖励方式 - 1:比率 2:固定",
  32593. "type": "integer"
  32594. },
  32595. "customerservicenum": {
  32596. "description": "客服电话",
  32597. "type": "string"
  32598. },
  32599. "dayinterestrate": {
  32600. "description": "日利率",
  32601. "type": "number"
  32602. },
  32603. "disableconsumptiontips": {
  32604. "description": "关闭消费奖励提示",
  32605. "type": "string"
  32606. },
  32607. "modifierid": {
  32608. "description": "修改人ID",
  32609. "type": "integer"
  32610. },
  32611. "modifysrc": {
  32612. "description": "审核来源 - 1:管理端 2:终端",
  32613. "type": "integer"
  32614. },
  32615. "modifytime": {
  32616. "description": "修改时间",
  32617. "type": "string"
  32618. },
  32619. "promotionvalue": {
  32620. "description": "推广奖励值(固定)",
  32621. "type": "number"
  32622. },
  32623. "scoreconfigvalue1": {
  32624. "description": "提货积分配置1",
  32625. "type": "integer"
  32626. },
  32627. "scoreconfigvalue2": {
  32628. "description": "提货积分配置2",
  32629. "type": "integer"
  32630. },
  32631. "userid": {
  32632. "description": "机构用户ID其他做市关系,都设置为 1",
  32633. "type": "integer"
  32634. },
  32635. "username": {
  32636. "description": "用户名称",
  32637. "type": "string"
  32638. }
  32639. }
  32640. },
  32641. "models.QhjBankAccountSign": {
  32642. "type": "object",
  32643. "properties": {
  32644. "accountcode": {
  32645. "description": "资金账号",
  32646. "type": "string"
  32647. },
  32648. "accountname": {
  32649. "description": "资金账号对应的账号名(UserName)",
  32650. "type": "string"
  32651. },
  32652. "accountname2": {
  32653. "description": "资金账号对应的账号名(UserName) - 密文",
  32654. "type": "string"
  32655. },
  32656. "accounttype": {
  32657. "description": "账户类型(UserType)",
  32658. "type": "integer"
  32659. },
  32660. "applicationtime": {
  32661. "description": "最后一次更新的时间",
  32662. "type": "string"
  32663. },
  32664. "applyexchticket": {
  32665. "description": "申请流水",
  32666. "type": "string"
  32667. },
  32668. "auditid": {
  32669. "description": "审核人",
  32670. "type": "integer"
  32671. },
  32672. "audittime": {
  32673. "description": "审核时间",
  32674. "type": "string"
  32675. },
  32676. "bankaccountname": {
  32677. "description": "签约银行卡账号名",
  32678. "type": "string"
  32679. },
  32680. "bankaccountname2": {
  32681. "description": "签约银行卡账号名 - 密文",
  32682. "type": "string"
  32683. },
  32684. "bankaccountno": {
  32685. "description": "银行卡号",
  32686. "type": "string"
  32687. },
  32688. "bankaccountno2": {
  32689. "description": "银行卡号 - 密文",
  32690. "type": "string"
  32691. },
  32692. "bankaccounttype": {
  32693. "description": "银行账户类型 - 1-对私; 2-对公",
  32694. "type": "integer"
  32695. },
  32696. "bankcardtype": {
  32697. "description": "银行卡类型",
  32698. "type": "integer"
  32699. },
  32700. "bankchildaccount": {
  32701. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32702. "type": "string"
  32703. },
  32704. "bankcity": {
  32705. "description": "开户行城市",
  32706. "type": "string"
  32707. },
  32708. "bankid": {
  32709. "description": "签约银行ID",
  32710. "type": "string"
  32711. },
  32712. "bankname": {
  32713. "description": "签约银行名称",
  32714. "type": "string"
  32715. },
  32716. "bankprovince": {
  32717. "description": "开户行省份",
  32718. "type": "string"
  32719. },
  32720. "branchbankid": {
  32721. "description": "签约银行支行号",
  32722. "type": "string"
  32723. },
  32724. "branchbankname": {
  32725. "description": "签约银行支行名称",
  32726. "type": "string"
  32727. },
  32728. "cardno": {
  32729. "description": "证件号码",
  32730. "type": "string"
  32731. },
  32732. "cardno2": {
  32733. "description": "证件号码 - 密文",
  32734. "type": "string"
  32735. },
  32736. "cardtype": {
  32737. "description": "证件类型",
  32738. "type": "string"
  32739. },
  32740. "currency": {
  32741. "description": "币种",
  32742. "type": "string"
  32743. },
  32744. "cusbankid": {
  32745. "description": "托管银行编号",
  32746. "type": "string"
  32747. },
  32748. "direct": {
  32749. "description": "方向(可以判断那方先发起的签约)",
  32750. "type": "integer"
  32751. },
  32752. "exchticket": {
  32753. "description": "最后一次签约成功的流水号",
  32754. "type": "string"
  32755. },
  32756. "extendinfo": {
  32757. "description": "扩展信息(JSON字符串)",
  32758. "type": "string"
  32759. },
  32760. "mobilephone": {
  32761. "description": "手机号",
  32762. "type": "string"
  32763. },
  32764. "mobilephone2": {
  32765. "description": "手机号 - 密文",
  32766. "type": "string"
  32767. },
  32768. "netaddr": {
  32769. "description": "调转网址",
  32770. "type": "string"
  32771. },
  32772. "relateduserid": {
  32773. "description": "关联使用者userid",
  32774. "type": "integer"
  32775. },
  32776. "signstatus": {
  32777. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32778. "type": "integer"
  32779. },
  32780. "updatetime": {
  32781. "description": "更新时间(签解约更新时间)",
  32782. "type": "string"
  32783. }
  32784. }
  32785. },
  32786. "models.QhjBankInfo": {
  32787. "type": "object",
  32788. "properties": {
  32789. "bankid": {
  32790. "description": "银行ID",
  32791. "type": "string"
  32792. },
  32793. "bankname": {
  32794. "description": "银行名称",
  32795. "type": "string"
  32796. },
  32797. "clearbankno": {
  32798. "description": "清算系统银行编号",
  32799. "type": "string"
  32800. },
  32801. "orderindex": {
  32802. "description": "排序顺序",
  32803. "type": "integer"
  32804. },
  32805. "status": {
  32806. "description": "状态 - 0:正常 1:注销",
  32807. "type": "integer"
  32808. }
  32809. }
  32810. },
  32811. "models.QhjBrokerApply": {
  32812. "type": "object",
  32813. "properties": {
  32814. "applicantid": {
  32815. "description": "申请人",
  32816. "type": "integer"
  32817. },
  32818. "applysrc": {
  32819. "description": "申请来源 - 1:管理端 2:终端",
  32820. "type": "integer"
  32821. },
  32822. "applystatus": {
  32823. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32824. "type": "integer"
  32825. },
  32826. "applytime": {
  32827. "description": "申请时间",
  32828. "type": "string"
  32829. },
  32830. "auditorid": {
  32831. "description": "审核人",
  32832. "type": "integer"
  32833. },
  32834. "auditremark": {
  32835. "description": "审核备注",
  32836. "type": "string"
  32837. },
  32838. "auditsrc": {
  32839. "description": "审核来源 - 1:管理端 2:终端",
  32840. "type": "integer"
  32841. },
  32842. "audittime": {
  32843. "description": "审核时间",
  32844. "type": "string"
  32845. },
  32846. "audittradedate": {
  32847. "description": "审核交易日(yyyyMMdd)",
  32848. "type": "string"
  32849. },
  32850. "brokerapplyid": {
  32851. "description": "申请ID(SEQ_BROKERAPPLY)",
  32852. "type": "integer"
  32853. },
  32854. "cardbackphotourl": {
  32855. "description": "证件背面图片地址",
  32856. "type": "string"
  32857. },
  32858. "cardfrontphotourl": {
  32859. "description": "证件正面图片地址",
  32860. "type": "string"
  32861. },
  32862. "cardnum": {
  32863. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32864. "type": "string"
  32865. },
  32866. "customername": {
  32867. "description": "姓名",
  32868. "type": "string"
  32869. },
  32870. "logincode": {
  32871. "description": "登录代码",
  32872. "type": "string"
  32873. },
  32874. "mobile": {
  32875. "description": "手机号码",
  32876. "type": "string"
  32877. },
  32878. "parentuserid": {
  32879. "description": "所属机构id",
  32880. "type": "integer"
  32881. },
  32882. "parentusername": {
  32883. "description": "所属机构名称",
  32884. "type": "string"
  32885. },
  32886. "refereeuserid": {
  32887. "description": "推荐人id(经纪人)",
  32888. "type": "integer"
  32889. },
  32890. "refernum": {
  32891. "description": "推荐码",
  32892. "type": "string"
  32893. },
  32894. "remark": {
  32895. "description": "备注",
  32896. "type": "string"
  32897. },
  32898. "subarealevelpath": {
  32899. "description": "层级路径",
  32900. "type": "string"
  32901. },
  32902. "tradedate": {
  32903. "description": "交易日(yyyyMMdd)",
  32904. "type": "string"
  32905. },
  32906. "userid": {
  32907. "description": "申请人用户ID",
  32908. "type": "integer"
  32909. },
  32910. "userinfotype": {
  32911. "description": "用户类型 1-个人 2-企业",
  32912. "type": "integer"
  32913. },
  32914. "username": {
  32915. "description": "用户名称",
  32916. "type": "string"
  32917. }
  32918. }
  32919. },
  32920. "models.QhjBrokerApplyEx": {
  32921. "type": "object",
  32922. "properties": {
  32923. "applylist": {
  32924. "description": "经纪人申请记录(只返回最新一条)",
  32925. "type": "array",
  32926. "items": {
  32927. "$ref": "#/definitions/models.QhjBrokerApply"
  32928. }
  32929. },
  32930. "canrecommend": {
  32931. "description": "是否经纪人 0-不是 1-是",
  32932. "type": "integer"
  32933. },
  32934. "refernum": {
  32935. "description": "推荐码",
  32936. "type": "string"
  32937. },
  32938. "userid": {
  32939. "description": "用户id",
  32940. "type": "integer"
  32941. },
  32942. "userinfotype": {
  32943. "description": "用户类型 1-个人 2-企业",
  32944. "type": "integer"
  32945. }
  32946. }
  32947. },
  32948. "models.QhjBrokerRewardLog": {
  32949. "type": "object",
  32950. "properties": {
  32951. "accountid": {
  32952. "description": "资金账号ID",
  32953. "type": "integer"
  32954. },
  32955. "createtime": {
  32956. "description": "创建时间(时间)",
  32957. "type": "string"
  32958. },
  32959. "handlestatus": {
  32960. "description": "处理状态",
  32961. "type": "integer"
  32962. },
  32963. "logid": {
  32964. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32965. "type": "string"
  32966. },
  32967. "marketid": {
  32968. "description": "市场ID",
  32969. "type": "integer"
  32970. },
  32971. "mmaccountid": {
  32972. "description": "做市商资金账号ID",
  32973. "type": "string"
  32974. },
  32975. "mmuserid": {
  32976. "description": "做市商用户ID",
  32977. "type": "string"
  32978. },
  32979. "rewardamount": {
  32980. "description": "奖励金额",
  32981. "type": "number"
  32982. },
  32983. "rewardmodel": {
  32984. "description": "消费奖励方式 - 1:比率 2:固定",
  32985. "type": "integer"
  32986. },
  32987. "rewardtype": {
  32988. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  32989. "type": "integer"
  32990. },
  32991. "rewardvalue": {
  32992. "description": "配置奖励值",
  32993. "type": "number"
  32994. },
  32995. "srcamount": {
  32996. "description": "成交金额 [消费奖励] (金额)",
  32997. "type": "number"
  32998. },
  32999. "srcgoodsid": {
  33000. "description": "来源商品ID [消费奖励]",
  33001. "type": "string"
  33002. },
  33003. "srctime": {
  33004. "description": "来源时间 (成交时间) [消费奖励]",
  33005. "type": "string"
  33006. },
  33007. "srctradeid": {
  33008. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33009. "type": "string"
  33010. },
  33011. "srcuserid": {
  33012. "description": "来源用户ID(推广账户)",
  33013. "type": "string"
  33014. },
  33015. "srcusername": {
  33016. "description": "推广账户名称",
  33017. "type": "string"
  33018. },
  33019. "tradedate": {
  33020. "description": "交易日(yyyyMMdd)",
  33021. "type": "string"
  33022. },
  33023. "userid": {
  33024. "description": "经纪人用户ID",
  33025. "type": "integer"
  33026. }
  33027. }
  33028. },
  33029. "models.QhjContract": {
  33030. "type": "object",
  33031. "properties": {
  33032. "contractconfirmtime": {
  33033. "description": "合同确认时间(时间)",
  33034. "type": "string"
  33035. },
  33036. "currisklevel": {
  33037. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33038. "type": "integer"
  33039. },
  33040. "decimalplace": {
  33041. "description": "商品报价小数位",
  33042. "type": "integer"
  33043. },
  33044. "enumdicname": {
  33045. "description": "单位名称",
  33046. "type": "string"
  33047. },
  33048. "goodscode": {
  33049. "description": "商品代码",
  33050. "type": "string"
  33051. },
  33052. "goodsid": {
  33053. "description": "商品ID [5:融资单]",
  33054. "type": "integer"
  33055. },
  33056. "goodsname": {
  33057. "description": "商品名称",
  33058. "type": "string"
  33059. },
  33060. "goodunitid": {
  33061. "description": "商品单位id",
  33062. "type": "integer"
  33063. },
  33064. "initmargin": {
  33065. "description": "初始保证金(首付款)",
  33066. "type": "number"
  33067. },
  33068. "lenderamount": {
  33069. "description": "贷款金额(总额|订单总额)",
  33070. "type": "number"
  33071. },
  33072. "marginratio": {
  33073. "description": "保证金比率(首付比例)",
  33074. "type": "number"
  33075. },
  33076. "payamount": {
  33077. "description": "已付(已付货款)",
  33078. "type": "number"
  33079. },
  33080. "reckonrecovermargin": {
  33081. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33082. "type": "number"
  33083. },
  33084. "recoveredmargin": {
  33085. "description": "已追缴保证金",
  33086. "type": "number"
  33087. },
  33088. "remainamount": {
  33089. "description": "合同剩余金额(融资额)",
  33090. "type": "number"
  33091. },
  33092. "scfcontractid": {
  33093. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33094. "type": "string"
  33095. },
  33096. "scfcontractstatus": {
  33097. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33098. "type": "integer"
  33099. },
  33100. "scfcontracttype": {
  33101. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33102. "type": "integer"
  33103. },
  33104. "totalinterest": {
  33105. "description": "已计总利息(利息)",
  33106. "type": "number"
  33107. },
  33108. "tradeprice": {
  33109. "description": "成交价格(成本价格)",
  33110. "type": "number"
  33111. },
  33112. "userid": {
  33113. "description": "用户ID",
  33114. "type": "integer"
  33115. },
  33116. "username": {
  33117. "description": "用户名称",
  33118. "type": "string"
  33119. },
  33120. "wrqty": {
  33121. "description": "仓单数量(数量)",
  33122. "type": "number"
  33123. }
  33124. }
  33125. },
  33126. "models.QhjContractLog": {
  33127. "type": "object",
  33128. "properties": {
  33129. "amount": {
  33130. "description": "支付金额",
  33131. "type": "number"
  33132. },
  33133. "amounttype": {
  33134. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33135. "type": "integer"
  33136. },
  33137. "logid": {
  33138. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33139. "type": "string"
  33140. },
  33141. "remainamount": {
  33142. "description": "剩余货款",
  33143. "type": "number"
  33144. },
  33145. "scfcontractid": {
  33146. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33147. "type": "integer"
  33148. },
  33149. "updatetime": {
  33150. "description": "更新时间",
  33151. "type": "string"
  33152. }
  33153. }
  33154. },
  33155. "models.QhjCusBankSignBankEx": {
  33156. "type": "object",
  33157. "properties": {
  33158. "banklst": {
  33159. "description": "银行列表",
  33160. "type": "array",
  33161. "items": {
  33162. "$ref": "#/definitions/models.QhjBankInfo"
  33163. }
  33164. },
  33165. "canallot": {
  33166. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33167. "type": "integer"
  33168. },
  33169. "canallotquery": {
  33170. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33171. "type": "integer"
  33172. },
  33173. "canbindcard": {
  33174. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33175. "type": "integer"
  33176. },
  33177. "caninamount": {
  33178. "description": "是否可入金 - 0:不可 1:可以",
  33179. "type": "integer"
  33180. },
  33181. "caninamount2": {
  33182. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33183. "type": "integer"
  33184. },
  33185. "canmodifybankcard": {
  33186. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33187. "type": "integer"
  33188. },
  33189. "canmodifyphone": {
  33190. "description": "是否可修改手机号 - 0:不可 1:可以",
  33191. "type": "integer"
  33192. },
  33193. "canmodifysigninfo": {
  33194. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33195. "type": "integer"
  33196. },
  33197. "canoutamount": {
  33198. "description": "是否可出金 - 0:不可 1:可以",
  33199. "type": "integer"
  33200. },
  33201. "canoutamount2": {
  33202. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33203. "type": "integer"
  33204. },
  33205. "canrelease": {
  33206. "description": "是否可解约 - 0:不可 1:可以",
  33207. "type": "integer"
  33208. },
  33209. "canrelease2": {
  33210. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33211. "type": "integer"
  33212. },
  33213. "cansign": {
  33214. "description": "是否可签约 - 0:不可 1:可以",
  33215. "type": "integer"
  33216. },
  33217. "cansign2": {
  33218. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33219. "type": "integer"
  33220. },
  33221. "currency": {
  33222. "description": "币种",
  33223. "type": "string"
  33224. },
  33225. "cusbankid": {
  33226. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33227. "type": "string"
  33228. },
  33229. "cusbankname": {
  33230. "description": "银行业务名称",
  33231. "type": "string"
  33232. },
  33233. "cusbankshortname": {
  33234. "description": "银行业务简称",
  33235. "type": "string"
  33236. },
  33237. "exchbankid": {
  33238. "description": "交易所开户银行ID",
  33239. "type": "string"
  33240. },
  33241. "exchpaybankaccname": {
  33242. "description": "交易所支出结算账户户名",
  33243. "type": "string"
  33244. },
  33245. "exchpaybankaccno": {
  33246. "description": "交易所支出结算账户",
  33247. "type": "string"
  33248. },
  33249. "isneedcheck": {
  33250. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33251. "type": "integer"
  33252. },
  33253. "isneedclear": {
  33254. "description": "是否需要清算 - 0:不需要 1:需要",
  33255. "type": "integer"
  33256. },
  33257. "lastcheckstatus": {
  33258. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33259. "type": "integer"
  33260. },
  33261. "lastchecktime": {
  33262. "description": "最后对账时间",
  33263. "type": "string"
  33264. },
  33265. "lastclearstatus": {
  33266. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33267. "type": "integer"
  33268. },
  33269. "lastcleartime": {
  33270. "description": "最后清算时间",
  33271. "type": "string"
  33272. },
  33273. "lastsignintime": {
  33274. "description": "最后签到时间",
  33275. "type": "string"
  33276. },
  33277. "lastsignouttime": {
  33278. "description": "最后签退时间",
  33279. "type": "string"
  33280. },
  33281. "riskinfo": {
  33282. "description": "签约风险提示书",
  33283. "type": "string"
  33284. },
  33285. "signstatus": {
  33286. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33287. "type": "integer"
  33288. },
  33289. "tradedate": {
  33290. "description": "交易日(yyyyMMdd)",
  33291. "type": "string"
  33292. },
  33293. "updatetime": {
  33294. "description": "当前签到/签退更新时间",
  33295. "type": "string"
  33296. }
  33297. }
  33298. },
  33299. "models.QhjCustomer": {
  33300. "type": "object",
  33301. "properties": {
  33302. "address": {
  33303. "description": "通讯地址",
  33304. "type": "string"
  33305. },
  33306. "attachment1": {
  33307. "description": "附件1",
  33308. "type": "string"
  33309. },
  33310. "attachment2": {
  33311. "description": "附件2",
  33312. "type": "string"
  33313. },
  33314. "audittime": {
  33315. "description": "审核时间",
  33316. "type": "string"
  33317. },
  33318. "cardbackphotourl": {
  33319. "description": "证件反面图片地址",
  33320. "type": "string"
  33321. },
  33322. "cardfrontphotourl": {
  33323. "description": "证件正面图片地址",
  33324. "type": "string"
  33325. },
  33326. "cardnum": {
  33327. "description": "证件号码",
  33328. "type": "string"
  33329. },
  33330. "cardtype": {
  33331. "description": "证件类型",
  33332. "type": "integer"
  33333. },
  33334. "cardtypename": {
  33335. "description": "证件类型名称",
  33336. "type": "string"
  33337. },
  33338. "cityid": {
  33339. "description": "市",
  33340. "type": "integer"
  33341. },
  33342. "cityname": {
  33343. "description": "城市名称",
  33344. "type": "string"
  33345. },
  33346. "contactname": {
  33347. "description": "联系人",
  33348. "type": "string"
  33349. },
  33350. "countryid": {
  33351. "description": "国家",
  33352. "type": "integer"
  33353. },
  33354. "countryname": {
  33355. "description": "国家名称",
  33356. "type": "string"
  33357. },
  33358. "createtime": {
  33359. "description": "创建时间",
  33360. "type": "string"
  33361. },
  33362. "customername": {
  33363. "description": "客户名称",
  33364. "type": "string"
  33365. },
  33366. "districtid": {
  33367. "description": "区域",
  33368. "type": "integer"
  33369. },
  33370. "districtname": {
  33371. "description": "地区名称",
  33372. "type": "string"
  33373. },
  33374. "email": {
  33375. "description": "邮件",
  33376. "type": "string"
  33377. },
  33378. "legalpersonname": {
  33379. "description": "法人姓名(企业)",
  33380. "type": "string"
  33381. },
  33382. "logincode": {
  33383. "description": "登录账号(代码)",
  33384. "type": "string"
  33385. },
  33386. "memberuserid": {
  33387. "description": "所属机构ID(所属会员)",
  33388. "type": "integer"
  33389. },
  33390. "memberusername": {
  33391. "description": "所属会员名称",
  33392. "type": "string"
  33393. },
  33394. "mobile": {
  33395. "description": "手机号码",
  33396. "type": "string"
  33397. },
  33398. "modifytime": {
  33399. "description": "修改时间",
  33400. "type": "string"
  33401. },
  33402. "nickname": {
  33403. "description": "昵称",
  33404. "type": "string"
  33405. },
  33406. "parentuserid": {
  33407. "description": "上级机构(所属机构)",
  33408. "type": "integer"
  33409. },
  33410. "parentusername": {
  33411. "description": "所属机构名称",
  33412. "type": "string"
  33413. },
  33414. "provinceid": {
  33415. "description": "省",
  33416. "type": "integer"
  33417. },
  33418. "provincename": {
  33419. "description": "省名称",
  33420. "type": "string"
  33421. },
  33422. "proxystatementurl": {
  33423. "description": "授权委托书",
  33424. "type": "string"
  33425. },
  33426. "remark": {
  33427. "description": "备注",
  33428. "type": "string"
  33429. },
  33430. "status": {
  33431. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33432. "type": "integer"
  33433. },
  33434. "statusdesc": {
  33435. "description": "账户状态中文描述",
  33436. "type": "string"
  33437. },
  33438. "taxpayernum": {
  33439. "description": "纳税人识别号",
  33440. "type": "string"
  33441. },
  33442. "telphone": {
  33443. "description": "联系电话",
  33444. "type": "string"
  33445. },
  33446. "userid": {
  33447. "description": "用户ID",
  33448. "type": "integer"
  33449. },
  33450. "userinfotype": {
  33451. "description": "客户类型 1-个人 2-企业",
  33452. "type": "integer"
  33453. },
  33454. "username": {
  33455. "description": "用户名称",
  33456. "type": "string"
  33457. }
  33458. }
  33459. },
  33460. "models.QhjCustomerSignLog": {
  33461. "type": "object",
  33462. "properties": {
  33463. "agreementcontent": {
  33464. "description": "协议内容",
  33465. "type": "string"
  33466. },
  33467. "agreementid": {
  33468. "description": "协议ID",
  33469. "type": "integer"
  33470. },
  33471. "agreementname": {
  33472. "description": "协议名称",
  33473. "type": "string"
  33474. },
  33475. "agreementno": {
  33476. "description": "协议编号",
  33477. "type": "string"
  33478. },
  33479. "agreementtype": {
  33480. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33481. "type": "integer"
  33482. },
  33483. "agreementversion": {
  33484. "description": "协议版本号",
  33485. "type": "integer"
  33486. },
  33487. "createtime": {
  33488. "description": "创建时间",
  33489. "type": "string"
  33490. },
  33491. "goodscode": {
  33492. "description": "商品代码",
  33493. "type": "string"
  33494. },
  33495. "goodsid": {
  33496. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33497. "type": "integer"
  33498. },
  33499. "goodsname": {
  33500. "description": "商品名称",
  33501. "type": "string"
  33502. },
  33503. "logid": {
  33504. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33505. "type": "integer"
  33506. },
  33507. "nodetype": {
  33508. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33509. "type": "integer"
  33510. },
  33511. "signadressurl": {
  33512. "description": "签约文件地址",
  33513. "type": "string"
  33514. },
  33515. "signtimestamp": {
  33516. "description": "签约状态时间戳",
  33517. "type": "string"
  33518. },
  33519. "userid": {
  33520. "description": "客户ID",
  33521. "type": "integer"
  33522. },
  33523. "username": {
  33524. "description": "客户名称",
  33525. "type": "string"
  33526. }
  33527. }
  33528. },
  33529. "models.QhjCustomerSignStatus": {
  33530. "type": "object",
  33531. "properties": {
  33532. "createtime": {
  33533. "description": "创建时间",
  33534. "type": "string"
  33535. },
  33536. "goodscode": {
  33537. "description": "商品代码",
  33538. "type": "string"
  33539. },
  33540. "goodsid": {
  33541. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33542. "type": "integer"
  33543. },
  33544. "goodsname": {
  33545. "description": "商品名称",
  33546. "type": "string"
  33547. },
  33548. "nodetype": {
  33549. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33550. "type": "integer"
  33551. },
  33552. "signtimestamp": {
  33553. "description": "签约状态时间戳",
  33554. "type": "string"
  33555. },
  33556. "tradedate": {
  33557. "description": "创建交易日(yyyyMMdd)",
  33558. "type": "string"
  33559. },
  33560. "updatetime": {
  33561. "description": "更新时间",
  33562. "type": "string"
  33563. },
  33564. "userid": {
  33565. "description": "客户ID",
  33566. "type": "integer"
  33567. },
  33568. "username": {
  33569. "description": "客户名称",
  33570. "type": "string"
  33571. }
  33572. }
  33573. },
  33574. "models.QhjMgrAccountOutInApply": {
  33575. "type": "object",
  33576. "properties": {
  33577. "accountcode": {
  33578. "description": "资金账号",
  33579. "type": "string"
  33580. },
  33581. "accountname": {
  33582. "description": "用户名称(名称)",
  33583. "type": "string"
  33584. },
  33585. "accountpwd": {
  33586. "description": "资金密码",
  33587. "type": "string"
  33588. },
  33589. "accountticket": {
  33590. "description": "最新账户服务流水号",
  33591. "type": "string"
  33592. },
  33593. "amount": {
  33594. "description": "金额",
  33595. "type": "number"
  33596. },
  33597. "applyremark": {
  33598. "description": "申请备注",
  33599. "type": "string"
  33600. },
  33601. "applystatus": {
  33602. "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: 复审通过,账户冻结金额检查中;",
  33603. "type": "integer"
  33604. },
  33605. "auditid": {
  33606. "description": "审核人",
  33607. "type": "integer"
  33608. },
  33609. "audittime": {
  33610. "description": "审核时间",
  33611. "type": "string"
  33612. },
  33613. "bank_apply_ticket": {
  33614. "description": "银行申请流水",
  33615. "type": "string"
  33616. },
  33617. "bankaccountname": {
  33618. "description": "银行账户名",
  33619. "type": "string"
  33620. },
  33621. "bankaccountno": {
  33622. "description": "银行卡号",
  33623. "type": "string"
  33624. },
  33625. "bankid": {
  33626. "description": "银行编号",
  33627. "type": "string"
  33628. },
  33629. "bankname": {
  33630. "description": "银行名称",
  33631. "type": "string"
  33632. },
  33633. "bankticket": {
  33634. "description": "银行流水",
  33635. "type": "string"
  33636. },
  33637. "branchbankid": {
  33638. "description": "银行支行号",
  33639. "type": "string"
  33640. },
  33641. "branchbankname": {
  33642. "description": "银行支行名称",
  33643. "type": "string"
  33644. },
  33645. "capamountout": {
  33646. "description": "出金(劣后本金) - 外部子账户",
  33647. "type": "number"
  33648. },
  33649. "certificatephotourl": {
  33650. "description": "凭证地址",
  33651. "type": "string"
  33652. },
  33653. "charge": {
  33654. "description": "手续费",
  33655. "type": "number"
  33656. },
  33657. "checkerrorflag": {
  33658. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33659. "type": "integer"
  33660. },
  33661. "currency": {
  33662. "description": "币种",
  33663. "type": "string"
  33664. },
  33665. "cusbankid": {
  33666. "description": "托管银行编号",
  33667. "type": "string"
  33668. },
  33669. "exchticket": {
  33670. "description": "银行服务流水号",
  33671. "type": "string"
  33672. },
  33673. "executetype": {
  33674. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33675. "type": "integer"
  33676. },
  33677. "extendinfo": {
  33678. "description": "扩展信息",
  33679. "type": "string"
  33680. },
  33681. "extoperateid": {
  33682. "description": "交易服务流水号",
  33683. "type": "integer"
  33684. },
  33685. "infamount": {
  33686. "description": "劣后金额(自有)",
  33687. "type": "number"
  33688. },
  33689. "logincode": {
  33690. "description": "登录账号(账号)",
  33691. "type": "string"
  33692. },
  33693. "netaddr": {
  33694. "description": "调转网址",
  33695. "type": "string"
  33696. },
  33697. "priamount": {
  33698. "description": "优先金额(授信)",
  33699. "type": "number"
  33700. },
  33701. "reauditid": {
  33702. "description": "复审人",
  33703. "type": "integer"
  33704. },
  33705. "reauditremark": {
  33706. "description": "复审备注",
  33707. "type": "string"
  33708. },
  33709. "reaudittime": {
  33710. "description": "复审时间",
  33711. "type": "string"
  33712. },
  33713. "relatedorderid": {
  33714. "description": "三方关联ID",
  33715. "type": "string"
  33716. },
  33717. "remark": {
  33718. "description": "备注",
  33719. "type": "string"
  33720. },
  33721. "remark2": {
  33722. "description": "备注(失败原因)",
  33723. "type": "string"
  33724. },
  33725. "soucreamount": {
  33726. "description": "原始出入金金额",
  33727. "type": "number"
  33728. },
  33729. "soucrecurrencyid": {
  33730. "description": "原始出入金币种",
  33731. "type": "integer"
  33732. },
  33733. "tradedate": {
  33734. "description": "交易日(yyyyMMdd)",
  33735. "type": "string"
  33736. },
  33737. "updatetime": {
  33738. "description": "更新时间(申请时间)",
  33739. "type": "string"
  33740. },
  33741. "userid": {
  33742. "description": "用户id",
  33743. "type": "integer"
  33744. },
  33745. "userinfotype": {
  33746. "description": "账户类型 1-个人 2-企业",
  33747. "type": "integer"
  33748. }
  33749. }
  33750. },
  33751. "models.QhjMgrBrokerApply": {
  33752. "type": "object",
  33753. "properties": {
  33754. "applicantid": {
  33755. "description": "申请人",
  33756. "type": "integer"
  33757. },
  33758. "applysrc": {
  33759. "description": "申请来源 - 1:管理端 2:终端",
  33760. "type": "integer"
  33761. },
  33762. "applystatus": {
  33763. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33764. "type": "integer"
  33765. },
  33766. "applytime": {
  33767. "description": "申请时间",
  33768. "type": "string"
  33769. },
  33770. "auditorid": {
  33771. "description": "审核人",
  33772. "type": "integer"
  33773. },
  33774. "auditremark": {
  33775. "description": "审核备注",
  33776. "type": "string"
  33777. },
  33778. "auditsrc": {
  33779. "description": "审核来源 - 1:管理端 2:终端",
  33780. "type": "integer"
  33781. },
  33782. "audittime": {
  33783. "description": "审核时间",
  33784. "type": "string"
  33785. },
  33786. "audittradedate": {
  33787. "description": "审核交易日(yyyyMMdd)",
  33788. "type": "string"
  33789. },
  33790. "brokerapplyid": {
  33791. "description": "申请ID(SEQ_BROKERAPPLY)",
  33792. "type": "integer"
  33793. },
  33794. "cardbackphotourl": {
  33795. "description": "证件背面图片地址",
  33796. "type": "string"
  33797. },
  33798. "cardfrontphotourl": {
  33799. "description": "证件正面图片地址",
  33800. "type": "string"
  33801. },
  33802. "cardnum": {
  33803. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33804. "type": "string"
  33805. },
  33806. "customername": {
  33807. "description": "姓名",
  33808. "type": "string"
  33809. },
  33810. "filterstatus": {
  33811. "description": "筛选条件",
  33812. "type": "string"
  33813. },
  33814. "logincode": {
  33815. "description": "登录代码",
  33816. "type": "string"
  33817. },
  33818. "mobile": {
  33819. "description": "手机号码",
  33820. "type": "string"
  33821. },
  33822. "parentuserid": {
  33823. "description": "所属机构id",
  33824. "type": "integer"
  33825. },
  33826. "parentusername": {
  33827. "description": "所属机构名称",
  33828. "type": "string"
  33829. },
  33830. "refereeuserid": {
  33831. "description": "推荐人id(经纪人)",
  33832. "type": "integer"
  33833. },
  33834. "refernum": {
  33835. "description": "推荐码",
  33836. "type": "string"
  33837. },
  33838. "remark": {
  33839. "description": "备注",
  33840. "type": "string"
  33841. },
  33842. "subarealevelpath": {
  33843. "description": "层级路径",
  33844. "type": "string"
  33845. },
  33846. "tradedate": {
  33847. "description": "交易日(yyyyMMdd)",
  33848. "type": "string"
  33849. },
  33850. "userid": {
  33851. "description": "申请人用户ID",
  33852. "type": "integer"
  33853. },
  33854. "userinfotype": {
  33855. "description": "用户类型 1-个人 2-企业",
  33856. "type": "integer"
  33857. },
  33858. "username": {
  33859. "description": "用户名称",
  33860. "type": "string"
  33861. }
  33862. }
  33863. },
  33864. "models.QhjMgrBrokerRewardReport": {
  33865. "type": "object",
  33866. "properties": {
  33867. "createtime": {
  33868. "description": "创建时间(注册时间)",
  33869. "type": "string"
  33870. },
  33871. "cycletime": {
  33872. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33873. "type": "string"
  33874. },
  33875. "cycletype": {
  33876. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33877. "type": "integer"
  33878. },
  33879. "directtotalnum": {
  33880. "description": "直推总人数【期末】",
  33881. "type": "integer"
  33882. },
  33883. "indirecttotalnum": {
  33884. "description": "间推总人数【期末】",
  33885. "type": "integer"
  33886. },
  33887. "mobile": {
  33888. "description": "电话号码",
  33889. "type": "string"
  33890. },
  33891. "refereeuserid": {
  33892. "description": "推荐人id(经纪人id)",
  33893. "type": "integer"
  33894. },
  33895. "refereeusername": {
  33896. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33897. "type": "string"
  33898. },
  33899. "refernum": {
  33900. "description": "推荐码",
  33901. "type": "string"
  33902. },
  33903. "subarealevelpath": {
  33904. "description": "用户层级路径",
  33905. "type": "string"
  33906. },
  33907. "todayrewardamount": {
  33908. "description": "奖励总金额【汇总】",
  33909. "type": "number"
  33910. },
  33911. "updatetime": {
  33912. "description": "更新时间",
  33913. "type": "string"
  33914. },
  33915. "userid": {
  33916. "description": "经纪人用户ID",
  33917. "type": "integer"
  33918. },
  33919. "userinfotype": {
  33920. "description": "用户类型 1-个人 2-企业",
  33921. "type": "integer"
  33922. },
  33923. "username": {
  33924. "description": "用户名称",
  33925. "type": "string"
  33926. }
  33927. }
  33928. },
  33929. "models.QhjMgrContract": {
  33930. "type": "object",
  33931. "properties": {
  33932. "contractconfirmtime": {
  33933. "description": "合同确认时间(时间)",
  33934. "type": "string"
  33935. },
  33936. "currisklevel": {
  33937. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33938. "type": "integer"
  33939. },
  33940. "decimalplace": {
  33941. "description": "商品报价小数位",
  33942. "type": "integer"
  33943. },
  33944. "enumdicname": {
  33945. "description": "单位名称",
  33946. "type": "string"
  33947. },
  33948. "goodscode": {
  33949. "description": "商品代码",
  33950. "type": "string"
  33951. },
  33952. "goodsid": {
  33953. "description": "商品ID [5:融资单]",
  33954. "type": "integer"
  33955. },
  33956. "goodsname": {
  33957. "description": "商品名称",
  33958. "type": "string"
  33959. },
  33960. "goodunitid": {
  33961. "description": "商品单位id",
  33962. "type": "integer"
  33963. },
  33964. "initmargin": {
  33965. "description": "初始保证金(首付款)",
  33966. "type": "number"
  33967. },
  33968. "lenderamount": {
  33969. "description": "贷款金额(总额|订单总额)",
  33970. "type": "number"
  33971. },
  33972. "logincode": {
  33973. "description": "账号(登录代码)",
  33974. "type": "string"
  33975. },
  33976. "marginratio": {
  33977. "description": "保证金比率(首付比例)",
  33978. "type": "number"
  33979. },
  33980. "mobile": {
  33981. "description": "电话号码(用户资料里的电话)",
  33982. "type": "string"
  33983. },
  33984. "payamount": {
  33985. "description": "已付(已付货款)",
  33986. "type": "number"
  33987. },
  33988. "reckonrecovermargin": {
  33989. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33990. "type": "number"
  33991. },
  33992. "recoveredmargin": {
  33993. "description": "已追缴保证金",
  33994. "type": "number"
  33995. },
  33996. "remainamount": {
  33997. "description": "合同剩余金额(融资额)",
  33998. "type": "number"
  33999. },
  34000. "scfcontractid": {
  34001. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34002. "type": "string"
  34003. },
  34004. "scfcontractstatus": {
  34005. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34006. "type": "integer"
  34007. },
  34008. "scfcontracttype": {
  34009. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34010. "type": "integer"
  34011. },
  34012. "totalinterest": {
  34013. "description": "已计总利息(利息)",
  34014. "type": "number"
  34015. },
  34016. "tradedate": {
  34017. "description": "交易日",
  34018. "type": "string"
  34019. },
  34020. "tradeprice": {
  34021. "description": "成交价格(成本价格)",
  34022. "type": "number"
  34023. },
  34024. "userid": {
  34025. "description": "用户ID",
  34026. "type": "integer"
  34027. },
  34028. "userinfotype": {
  34029. "description": "用户类型 1-个人 2-企业",
  34030. "type": "integer"
  34031. },
  34032. "username": {
  34033. "description": "用户名称",
  34034. "type": "string"
  34035. },
  34036. "wrqty": {
  34037. "description": "仓单数量(数量)",
  34038. "type": "number"
  34039. }
  34040. }
  34041. },
  34042. "models.QhjMgrCustomer": {
  34043. "type": "object",
  34044. "properties": {
  34045. "address": {
  34046. "description": "通讯地址",
  34047. "type": "string"
  34048. },
  34049. "attachment1": {
  34050. "description": "附件1",
  34051. "type": "string"
  34052. },
  34053. "audittime": {
  34054. "description": "审核时间",
  34055. "type": "string"
  34056. },
  34057. "birthday": {
  34058. "description": "生日",
  34059. "type": "string"
  34060. },
  34061. "brokerid": {
  34062. "description": "所属客户经理id",
  34063. "type": "integer"
  34064. },
  34065. "brokername": {
  34066. "description": "所属客户经理名称",
  34067. "type": "string"
  34068. },
  34069. "cardbackphotourl": {
  34070. "description": "证件反面图片地址",
  34071. "type": "string"
  34072. },
  34073. "cardfrontphotourl": {
  34074. "description": "证件正面图片地址",
  34075. "type": "string"
  34076. },
  34077. "cardnum": {
  34078. "description": "证件号码",
  34079. "type": "string"
  34080. },
  34081. "cardtype": {
  34082. "description": "证件类型",
  34083. "type": "integer"
  34084. },
  34085. "cardtypename": {
  34086. "description": "证件类型名称",
  34087. "type": "string"
  34088. },
  34089. "cityid": {
  34090. "description": "市",
  34091. "type": "integer"
  34092. },
  34093. "cityname": {
  34094. "description": "城市名称",
  34095. "type": "string"
  34096. },
  34097. "contactname": {
  34098. "description": "联系人",
  34099. "type": "string"
  34100. },
  34101. "countryid": {
  34102. "description": "国家",
  34103. "type": "integer"
  34104. },
  34105. "countryname": {
  34106. "description": "国家名称",
  34107. "type": "string"
  34108. },
  34109. "createtime": {
  34110. "description": "创建时间",
  34111. "type": "string"
  34112. },
  34113. "customername": {
  34114. "description": "客户名称",
  34115. "type": "string"
  34116. },
  34117. "districtid": {
  34118. "description": "区域",
  34119. "type": "integer"
  34120. },
  34121. "districtname": {
  34122. "description": "地区名称",
  34123. "type": "string"
  34124. },
  34125. "email": {
  34126. "description": "邮件",
  34127. "type": "string"
  34128. },
  34129. "legalpersonname": {
  34130. "description": "法人姓名(企业)",
  34131. "type": "string"
  34132. },
  34133. "logincode": {
  34134. "description": "登录账号(代码)",
  34135. "type": "string"
  34136. },
  34137. "memberuserid": {
  34138. "description": "所属机构ID(所属会员)",
  34139. "type": "integer"
  34140. },
  34141. "memberusername": {
  34142. "description": "所属会员名称",
  34143. "type": "string"
  34144. },
  34145. "mobile": {
  34146. "description": "手机号码",
  34147. "type": "string"
  34148. },
  34149. "modifytime": {
  34150. "description": "修改时间",
  34151. "type": "string"
  34152. },
  34153. "nickname": {
  34154. "description": "昵称",
  34155. "type": "string"
  34156. },
  34157. "parentuserid": {
  34158. "description": "上级机构(所属机构)",
  34159. "type": "integer"
  34160. },
  34161. "parentusername": {
  34162. "description": "所属机构名称",
  34163. "type": "string"
  34164. },
  34165. "provinceid": {
  34166. "description": "省",
  34167. "type": "integer"
  34168. },
  34169. "provincename": {
  34170. "description": "省名称",
  34171. "type": "string"
  34172. },
  34173. "proxystatementurl": {
  34174. "description": "授权委托书",
  34175. "type": "string"
  34176. },
  34177. "querytype": {
  34178. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34179. "type": "integer"
  34180. },
  34181. "remark": {
  34182. "description": "备注",
  34183. "type": "string"
  34184. },
  34185. "sex": {
  34186. "description": "性别 0-女 1-男",
  34187. "type": "integer"
  34188. },
  34189. "status": {
  34190. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34191. "type": "integer"
  34192. },
  34193. "statusdesc": {
  34194. "description": "账户状态中文描述",
  34195. "type": "string"
  34196. },
  34197. "taxpayernum": {
  34198. "description": "纳税人识别号",
  34199. "type": "string"
  34200. },
  34201. "telphone": {
  34202. "description": "联系电话",
  34203. "type": "string"
  34204. },
  34205. "userid": {
  34206. "description": "用户ID",
  34207. "type": "integer"
  34208. },
  34209. "userinfotype": {
  34210. "description": "客户类型 1-个人 2-企业",
  34211. "type": "integer"
  34212. },
  34213. "username": {
  34214. "description": "用户名称",
  34215. "type": "string"
  34216. }
  34217. }
  34218. },
  34219. "models.QhjMgrPickGoods": {
  34220. "type": "object",
  34221. "properties": {
  34222. "enumdicname": {
  34223. "description": "单位名称(提货商品)",
  34224. "type": "string"
  34225. },
  34226. "goodsid": {
  34227. "description": "商品id",
  34228. "type": "integer"
  34229. },
  34230. "imageaddress": {
  34231. "description": "图片",
  34232. "type": "string"
  34233. },
  34234. "modifierid": {
  34235. "description": "修改人",
  34236. "type": "integer"
  34237. },
  34238. "modifiername": {
  34239. "description": "修改人名称",
  34240. "type": "string"
  34241. },
  34242. "modifysrc": {
  34243. "description": "修改来源 - 1:管理端 2:终端",
  34244. "type": "integer"
  34245. },
  34246. "pickupgoodsagreeunit": {
  34247. "description": "合约乘数",
  34248. "type": "number"
  34249. },
  34250. "pickupgoodsdesc": {
  34251. "description": "描述",
  34252. "type": "string"
  34253. },
  34254. "pickupgoodsid": {
  34255. "description": "提货商品ID",
  34256. "type": "string"
  34257. },
  34258. "pickupgoodsname": {
  34259. "description": "提货商品名称",
  34260. "type": "string"
  34261. },
  34262. "pickupgoodsstatus": {
  34263. "description": "状态 - 1:正常 2:停用 3:注销",
  34264. "type": "integer"
  34265. },
  34266. "pickupgoodsunitid": {
  34267. "description": "单位ID",
  34268. "type": "integer"
  34269. },
  34270. "pickupratio": {
  34271. "description": "提货系数",
  34272. "type": "number"
  34273. },
  34274. "preparedays": {
  34275. "description": "备货期(天)",
  34276. "type": "integer"
  34277. },
  34278. "remark": {
  34279. "description": "备注",
  34280. "type": "string"
  34281. },
  34282. "updatetime": {
  34283. "description": "更新时间",
  34284. "type": "string"
  34285. }
  34286. }
  34287. },
  34288. "models.QhjMgrPositionRsp": {
  34289. "type": "object",
  34290. "properties": {
  34291. "accountid": {
  34292. "description": "账号Id",
  34293. "type": "integer"
  34294. },
  34295. "accountname": {
  34296. "description": "用户名称",
  34297. "type": "string"
  34298. },
  34299. "agreeunit": {
  34300. "description": "合约乘数",
  34301. "type": "number"
  34302. },
  34303. "averageprice": {
  34304. "description": "均价",
  34305. "type": "number"
  34306. },
  34307. "avialqty": {
  34308. "description": "可用数量",
  34309. "type": "number"
  34310. },
  34311. "decimalplace": {
  34312. "description": "报价小数位",
  34313. "type": "integer"
  34314. },
  34315. "enumdicname": {
  34316. "description": "单位名称(商品)",
  34317. "type": "string"
  34318. },
  34319. "frozenqty": {
  34320. "description": "冻结数量",
  34321. "type": "number"
  34322. },
  34323. "goodscode": {
  34324. "description": "商品代码(内部)",
  34325. "type": "string"
  34326. },
  34327. "goodsid": {
  34328. "description": "商品Id",
  34329. "type": "integer"
  34330. },
  34331. "goodsname": {
  34332. "description": "商品名称",
  34333. "type": "string"
  34334. },
  34335. "goodunitid": {
  34336. "description": "报价单位ID",
  34337. "type": "integer"
  34338. },
  34339. "holderamount": {
  34340. "description": "金额",
  34341. "type": "number"
  34342. },
  34343. "holderqty": {
  34344. "description": "持有数量",
  34345. "type": "number"
  34346. },
  34347. "holdertype": {
  34348. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34349. "type": "integer"
  34350. },
  34351. "logincode": {
  34352. "description": "登录代码(账户)",
  34353. "type": "string"
  34354. },
  34355. "marketid": {
  34356. "description": "市场id",
  34357. "type": "integer"
  34358. },
  34359. "qtydecimalplace": {
  34360. "description": "成交量小数位",
  34361. "type": "integer"
  34362. },
  34363. "trademode": {
  34364. "description": "交易模式",
  34365. "type": "integer"
  34366. },
  34367. "userid": {
  34368. "description": "用户id",
  34369. "type": "integer"
  34370. },
  34371. "userinfotype": {
  34372. "description": "账户类型 1-个人 2-企业",
  34373. "type": "integer"
  34374. }
  34375. }
  34376. },
  34377. "models.QhjMgrSubArea": {
  34378. "type": "object",
  34379. "properties": {
  34380. "accountname": {
  34381. "description": "账户名称(机构名称)",
  34382. "type": "string"
  34383. },
  34384. "memberuserid": {
  34385. "description": "所属会员ID",
  34386. "type": "integer"
  34387. },
  34388. "parenttopuser": {
  34389. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34390. "type": "string"
  34391. },
  34392. "parentuserid": {
  34393. "description": "所属机构ID",
  34394. "type": "integer"
  34395. },
  34396. "rootuserid": {
  34397. "description": "根用户ID",
  34398. "type": "string"
  34399. },
  34400. "subaccountlevel": {
  34401. "description": "子账户层数",
  34402. "type": "integer"
  34403. },
  34404. "subarealevelpath": {
  34405. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34406. "type": "string"
  34407. },
  34408. "userid": {
  34409. "description": "用户ID",
  34410. "type": "integer"
  34411. },
  34412. "usertype": {
  34413. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34414. "type": "integer"
  34415. }
  34416. }
  34417. },
  34418. "models.QhjMgrTradeDetailRsp": {
  34419. "type": "object",
  34420. "properties": {
  34421. "accountid": {
  34422. "description": "资金账号",
  34423. "type": "integer"
  34424. },
  34425. "accountname": {
  34426. "description": "用户名称",
  34427. "type": "string"
  34428. },
  34429. "agreeunit": {
  34430. "description": "合约乘数",
  34431. "type": "number"
  34432. },
  34433. "buyorsell": {
  34434. "description": "成交类型(方向) 0:买 1:卖",
  34435. "type": "integer"
  34436. },
  34437. "decimalplace": {
  34438. "description": "报价小数位",
  34439. "type": "integer"
  34440. },
  34441. "enumdicname": {
  34442. "description": "单位名称(商品)",
  34443. "type": "string"
  34444. },
  34445. "goodscode": {
  34446. "description": "商品代码(内部)",
  34447. "type": "string"
  34448. },
  34449. "goodsid": {
  34450. "description": "商品id",
  34451. "type": "integer"
  34452. },
  34453. "goodsname": {
  34454. "description": "商品名称",
  34455. "type": "string"
  34456. },
  34457. "goodunitid": {
  34458. "description": "报价单位ID",
  34459. "type": "integer"
  34460. },
  34461. "logincode": {
  34462. "description": "登录代码(账户)",
  34463. "type": "string"
  34464. },
  34465. "marketid": {
  34466. "description": "市场id",
  34467. "type": "integer"
  34468. },
  34469. "orderid": {
  34470. "description": "关联委托单号",
  34471. "type": "string"
  34472. },
  34473. "qtydecimalplace": {
  34474. "description": "成交量小数位",
  34475. "type": "integer"
  34476. },
  34477. "tradeamount": {
  34478. "description": "金额",
  34479. "type": "number"
  34480. },
  34481. "tradedate": {
  34482. "description": "交易日",
  34483. "type": "string"
  34484. },
  34485. "tradeid": {
  34486. "description": "成交单号",
  34487. "type": "string"
  34488. },
  34489. "trademode": {
  34490. "description": "交易模式",
  34491. "type": "integer"
  34492. },
  34493. "tradeprice": {
  34494. "description": "价格",
  34495. "type": "number"
  34496. },
  34497. "tradeqty": {
  34498. "description": "数量",
  34499. "type": "number"
  34500. },
  34501. "tradetime": {
  34502. "description": "成交时间",
  34503. "type": "string"
  34504. },
  34505. "userid": {
  34506. "description": "用户id",
  34507. "type": "integer"
  34508. },
  34509. "userinfotype": {
  34510. "description": "账户类型 1-个人 2-企业",
  34511. "type": "integer"
  34512. }
  34513. }
  34514. },
  34515. "models.QhjMgrTradeOrderDetailRsp": {
  34516. "type": "object",
  34517. "properties": {
  34518. "accountid": {
  34519. "description": "资金账号",
  34520. "type": "integer"
  34521. },
  34522. "accountname": {
  34523. "description": "用户名称",
  34524. "type": "string"
  34525. },
  34526. "agreeunit": {
  34527. "description": "合约乘数",
  34528. "type": "number"
  34529. },
  34530. "amount": {
  34531. "description": "金额",
  34532. "type": "number"
  34533. },
  34534. "decimalplace": {
  34535. "description": "报价小数位",
  34536. "type": "integer"
  34537. },
  34538. "enumdicname": {
  34539. "description": "单位名称(商品)",
  34540. "type": "string"
  34541. },
  34542. "goodscode": {
  34543. "description": "商品代码(内部)",
  34544. "type": "string"
  34545. },
  34546. "goodsid": {
  34547. "description": "商品id",
  34548. "type": "integer"
  34549. },
  34550. "goodsname": {
  34551. "description": "商品名称",
  34552. "type": "string"
  34553. },
  34554. "goodunitid": {
  34555. "description": "报价单位ID",
  34556. "type": "integer"
  34557. },
  34558. "logincode": {
  34559. "description": "登录代码(账户)",
  34560. "type": "string"
  34561. },
  34562. "marketid": {
  34563. "description": "市场id",
  34564. "type": "integer"
  34565. },
  34566. "orderid": {
  34567. "description": "关联委托单号",
  34568. "type": "string"
  34569. },
  34570. "orderprice": {
  34571. "description": "价格",
  34572. "type": "number"
  34573. },
  34574. "orderqty": {
  34575. "description": "数量",
  34576. "type": "number"
  34577. },
  34578. "orderstatus": {
  34579. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34580. "type": "integer"
  34581. },
  34582. "ordertime": {
  34583. "description": "委托时间",
  34584. "type": "string"
  34585. },
  34586. "qtydecimalplace": {
  34587. "description": "成交量小数位",
  34588. "type": "integer"
  34589. },
  34590. "tradedate": {
  34591. "description": "交易日",
  34592. "type": "string"
  34593. },
  34594. "trademode": {
  34595. "description": "交易模式",
  34596. "type": "integer"
  34597. },
  34598. "userid": {
  34599. "description": "用户id",
  34600. "type": "integer"
  34601. },
  34602. "userinfotype": {
  34603. "description": "账户类型 1-个人 2-企业",
  34604. "type": "integer"
  34605. }
  34606. }
  34607. },
  34608. "models.QhjMgrTradePayOrder": {
  34609. "type": "object",
  34610. "properties": {
  34611. "accountname": {
  34612. "description": "用户名称",
  34613. "type": "string"
  34614. },
  34615. "advanceratio": {
  34616. "description": "首付比率",
  34617. "type": "number"
  34618. },
  34619. "agreeunit": {
  34620. "description": "合约乘数",
  34621. "type": "number"
  34622. },
  34623. "buyaccountid": {
  34624. "description": "买方账号ID[报价币种]",
  34625. "type": "integer"
  34626. },
  34627. "buyorderid": {
  34628. "description": "买方委托单号(关联单号)",
  34629. "type": "string"
  34630. },
  34631. "createtime": {
  34632. "description": "创建时间",
  34633. "type": "string"
  34634. },
  34635. "decimalplace": {
  34636. "description": "报价小数位",
  34637. "type": "integer"
  34638. },
  34639. "enumdicname": {
  34640. "description": "单位名称(商品)",
  34641. "type": "string"
  34642. },
  34643. "goodscode": {
  34644. "description": "商品代码(内部)",
  34645. "type": "string"
  34646. },
  34647. "goodsid": {
  34648. "description": "商品ID",
  34649. "type": "integer"
  34650. },
  34651. "goodsname": {
  34652. "description": "商品名称",
  34653. "type": "string"
  34654. },
  34655. "goodunitid": {
  34656. "description": "报价单位ID",
  34657. "type": "integer"
  34658. },
  34659. "logincode": {
  34660. "description": "登录代码(账户)",
  34661. "type": "string"
  34662. },
  34663. "marketid": {
  34664. "description": "市场id",
  34665. "type": "integer"
  34666. },
  34667. "offamount": {
  34668. "description": "优惠金额",
  34669. "type": "number"
  34670. },
  34671. "operatetype": {
  34672. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34673. "type": "integer"
  34674. },
  34675. "payamount": {
  34676. "description": "支付金额(金额)",
  34677. "type": "number"
  34678. },
  34679. "payflag": {
  34680. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34681. "type": "integer"
  34682. },
  34683. "paylimitedtime": {
  34684. "description": "支付期限",
  34685. "type": "string"
  34686. },
  34687. "paytime": {
  34688. "description": "付款时间",
  34689. "type": "string"
  34690. },
  34691. "qtydecimalplace": {
  34692. "description": "成交量小数位",
  34693. "type": "integer"
  34694. },
  34695. "sellaccountid": {
  34696. "description": "卖方账号ID[报价币种]",
  34697. "type": "integer"
  34698. },
  34699. "sellorderid": {
  34700. "description": "卖方委托单号",
  34701. "type": "string"
  34702. },
  34703. "tradeamount": {
  34704. "description": "成交金额(优惠后金额)",
  34705. "type": "number"
  34706. },
  34707. "tradecharge": {
  34708. "description": "成交手续费(买方)",
  34709. "type": "number"
  34710. },
  34711. "tradedate": {
  34712. "description": "交易日(yyyyMMdd)",
  34713. "type": "string"
  34714. },
  34715. "tradeid": {
  34716. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34717. "type": "string"
  34718. },
  34719. "trademode": {
  34720. "description": "交易模式",
  34721. "type": "integer"
  34722. },
  34723. "tradeprice": {
  34724. "description": "成交价格(价格)",
  34725. "type": "number"
  34726. },
  34727. "tradeqty": {
  34728. "description": "成交数量(数量)",
  34729. "type": "number"
  34730. },
  34731. "tradetime": {
  34732. "description": "成交时间",
  34733. "type": "string"
  34734. },
  34735. "userid": {
  34736. "description": "用户id",
  34737. "type": "integer"
  34738. },
  34739. "userinfotype": {
  34740. "description": "账户类型 1-个人 2-企业",
  34741. "type": "integer"
  34742. }
  34743. }
  34744. },
  34745. "models.QhjMyTeamEx": {
  34746. "type": "object",
  34747. "properties": {
  34748. "accountname": {
  34749. "description": "用户名称",
  34750. "type": "string"
  34751. },
  34752. "accountstatus": {
  34753. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34754. "type": "integer"
  34755. },
  34756. "createtime": {
  34757. "description": "创建时间",
  34758. "type": "string"
  34759. },
  34760. "mobile": {
  34761. "description": "手机号码",
  34762. "type": "string"
  34763. },
  34764. "refereeuserid": {
  34765. "description": "推荐人id",
  34766. "type": "integer"
  34767. },
  34768. "refernum": {
  34769. "description": "推荐码",
  34770. "type": "string"
  34771. },
  34772. "subList": {
  34773. "type": "array",
  34774. "items": {
  34775. "$ref": "#/definitions/models.QhjMyTeamEx"
  34776. }
  34777. },
  34778. "userid": {
  34779. "description": "用户id",
  34780. "type": "integer"
  34781. },
  34782. "userinfotype": {
  34783. "description": "用户类型 1-个人 2-企业",
  34784. "type": "integer"
  34785. }
  34786. }
  34787. },
  34788. "models.QhjNodeAgreementConfig": {
  34789. "type": "object",
  34790. "properties": {
  34791. "agreementcontent": {
  34792. "description": "协议内容",
  34793. "type": "string"
  34794. },
  34795. "agreementid": {
  34796. "description": "协议ID",
  34797. "type": "integer"
  34798. },
  34799. "agreementname": {
  34800. "description": "协议名称",
  34801. "type": "string"
  34802. },
  34803. "agreementno": {
  34804. "description": "协议编号",
  34805. "type": "string"
  34806. },
  34807. "agreementtype": {
  34808. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34809. "type": "integer"
  34810. },
  34811. "agreementversion": {
  34812. "description": "协议版本号",
  34813. "type": "integer"
  34814. },
  34815. "configid": {
  34816. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34817. "type": "integer"
  34818. },
  34819. "createtime": {
  34820. "description": "创建时间",
  34821. "type": "string"
  34822. },
  34823. "goodsid": {
  34824. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34825. "type": "integer"
  34826. },
  34827. "nodetype": {
  34828. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34829. "type": "integer"
  34830. }
  34831. }
  34832. },
  34833. "models.QhjParentAreaList": {
  34834. "type": "object",
  34835. "properties": {
  34836. "accountname": {
  34837. "description": "账户名称(机构名称)",
  34838. "type": "string"
  34839. },
  34840. "userid": {
  34841. "description": "用户ID",
  34842. "type": "integer"
  34843. },
  34844. "usertype": {
  34845. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34846. "type": "integer"
  34847. }
  34848. }
  34849. },
  34850. "models.QhjPayOrder": {
  34851. "type": "object",
  34852. "properties": {
  34853. "advanceratio": {
  34854. "description": "首付比率",
  34855. "type": "number"
  34856. },
  34857. "buyaccountid": {
  34858. "description": "买方账号ID[报价币种]",
  34859. "type": "integer"
  34860. },
  34861. "buyorderid": {
  34862. "description": "买方委托单号",
  34863. "type": "string"
  34864. },
  34865. "createtime": {
  34866. "description": "创建时间",
  34867. "type": "string"
  34868. },
  34869. "decimalplace": {
  34870. "description": "商品报价小数位",
  34871. "type": "integer"
  34872. },
  34873. "enumdicname": {
  34874. "description": "单位名称",
  34875. "type": "string"
  34876. },
  34877. "goodscode": {
  34878. "description": "商品代码",
  34879. "type": "string"
  34880. },
  34881. "goodsid": {
  34882. "description": "商品ID",
  34883. "type": "integer"
  34884. },
  34885. "goodsname": {
  34886. "description": "商品名称",
  34887. "type": "string"
  34888. },
  34889. "goodunitid": {
  34890. "description": "商品单位id",
  34891. "type": "integer"
  34892. },
  34893. "marketid": {
  34894. "description": "市场ID",
  34895. "type": "integer"
  34896. },
  34897. "offamount": {
  34898. "description": "优惠金额",
  34899. "type": "number"
  34900. },
  34901. "operatetype": {
  34902. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34903. "type": "integer"
  34904. },
  34905. "payamount": {
  34906. "description": "支付金额",
  34907. "type": "number"
  34908. },
  34909. "payflag": {
  34910. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34911. "type": "integer"
  34912. },
  34913. "paylimitedtime": {
  34914. "description": "支付期限",
  34915. "type": "string"
  34916. },
  34917. "paytime": {
  34918. "description": "付款时间",
  34919. "type": "string"
  34920. },
  34921. "qtydecimalplace": {
  34922. "description": "成交量小数位",
  34923. "type": "integer"
  34924. },
  34925. "sellaccountid": {
  34926. "description": "卖方账号ID[报价币种]",
  34927. "type": "integer"
  34928. },
  34929. "sellorderid": {
  34930. "description": "卖方委托单号",
  34931. "type": "string"
  34932. },
  34933. "tradeamount": {
  34934. "description": "成交金额(优惠后金额)",
  34935. "type": "number"
  34936. },
  34937. "tradecharge": {
  34938. "description": "成交手续费(买方)",
  34939. "type": "number"
  34940. },
  34941. "tradedate": {
  34942. "description": "交易日(yyyyMMdd)",
  34943. "type": "string"
  34944. },
  34945. "tradeid": {
  34946. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34947. "type": "string"
  34948. },
  34949. "tradeprice": {
  34950. "description": "成交价格",
  34951. "type": "number"
  34952. },
  34953. "tradeqty": {
  34954. "description": "成交数量",
  34955. "type": "number"
  34956. }
  34957. }
  34958. },
  34959. "models.QhjPickArea": {
  34960. "type": "object",
  34961. "properties": {
  34962. "address": {
  34963. "description": "详细地址",
  34964. "type": "string"
  34965. },
  34966. "cityid": {
  34967. "description": "市",
  34968. "type": "integer"
  34969. },
  34970. "cityname": {
  34971. "description": "城市名称",
  34972. "type": "string"
  34973. },
  34974. "countryid": {
  34975. "description": "国家",
  34976. "type": "integer"
  34977. },
  34978. "countryname": {
  34979. "description": "国家名称",
  34980. "type": "string"
  34981. },
  34982. "districtid": {
  34983. "description": "地区",
  34984. "type": "integer"
  34985. },
  34986. "districtname": {
  34987. "description": "地区名称",
  34988. "type": "string"
  34989. },
  34990. "fromuserid": {
  34991. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  34992. "type": "integer"
  34993. },
  34994. "fromusername": {
  34995. "description": "所属机构名称",
  34996. "type": "string"
  34997. },
  34998. "provinceid": {
  34999. "description": "省",
  35000. "type": "integer"
  35001. },
  35002. "provincename": {
  35003. "description": "省名称",
  35004. "type": "string"
  35005. },
  35006. "suborgtype": {
  35007. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35008. "type": "integer"
  35009. },
  35010. "userid": {
  35011. "description": "机构用户ID 其他做市关系,都设置为 1",
  35012. "type": "integer"
  35013. },
  35014. "username": {
  35015. "description": "机构用户名称(门店门称)",
  35016. "type": "string"
  35017. }
  35018. }
  35019. },
  35020. "models.QhjPickGoods": {
  35021. "type": "object",
  35022. "properties": {
  35023. "enumdicname": {
  35024. "description": "单位名称(提货商品)",
  35025. "type": "string"
  35026. },
  35027. "goodsid": {
  35028. "description": "商品id",
  35029. "type": "integer"
  35030. },
  35031. "imageaddress": {
  35032. "description": "图片",
  35033. "type": "string"
  35034. },
  35035. "modifierid": {
  35036. "description": "修改人",
  35037. "type": "integer"
  35038. },
  35039. "modifiername": {
  35040. "description": "修改人名称",
  35041. "type": "string"
  35042. },
  35043. "modifysrc": {
  35044. "description": "修改来源 - 1:管理端 2:终端",
  35045. "type": "integer"
  35046. },
  35047. "pickupgoodsagreeunit": {
  35048. "description": "合约乘数",
  35049. "type": "number"
  35050. },
  35051. "pickupgoodsdesc": {
  35052. "description": "描述",
  35053. "type": "string"
  35054. },
  35055. "pickupgoodsid": {
  35056. "description": "提货商品ID",
  35057. "type": "string"
  35058. },
  35059. "pickupgoodsname": {
  35060. "description": "提货商品名称",
  35061. "type": "string"
  35062. },
  35063. "pickupgoodsstatus": {
  35064. "description": "状态 - 1:正常 2:停用 3:注销",
  35065. "type": "integer"
  35066. },
  35067. "pickupgoodsunitid": {
  35068. "description": "单位ID",
  35069. "type": "integer"
  35070. },
  35071. "pickupratio": {
  35072. "description": "提货系数",
  35073. "type": "number"
  35074. },
  35075. "preparedays": {
  35076. "description": "备货期(天)",
  35077. "type": "integer"
  35078. },
  35079. "remark": {
  35080. "description": "备注",
  35081. "type": "string"
  35082. },
  35083. "updatetime": {
  35084. "description": "更新时间",
  35085. "type": "string"
  35086. }
  35087. }
  35088. },
  35089. "models.QhjRSTriggerLog": {
  35090. "type": "object",
  35091. "properties": {
  35092. "accountid": {
  35093. "description": "用户资金账户",
  35094. "type": "integer"
  35095. },
  35096. "accountname": {
  35097. "description": "账号名称(ACCOUNTID对应的名称)",
  35098. "type": "string"
  35099. },
  35100. "currencyid": {
  35101. "description": "币种id",
  35102. "type": "integer"
  35103. },
  35104. "currencyname": {
  35105. "description": "币种名称",
  35106. "type": "string"
  35107. },
  35108. "decimalplace": {
  35109. "description": "商品报价小数位",
  35110. "type": "integer"
  35111. },
  35112. "enumdicname": {
  35113. "description": "单位名称",
  35114. "type": "string"
  35115. },
  35116. "goodscode": {
  35117. "description": "定投商品代码",
  35118. "type": "string"
  35119. },
  35120. "goodsid": {
  35121. "description": "定投商品ID",
  35122. "type": "integer"
  35123. },
  35124. "goodsname": {
  35125. "description": "定投商品名称",
  35126. "type": "string"
  35127. },
  35128. "goodunitid": {
  35129. "description": "定投商品单位id",
  35130. "type": "integer"
  35131. },
  35132. "logid": {
  35133. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35134. "type": "string"
  35135. },
  35136. "logincode": {
  35137. "description": "账号(登录代码)",
  35138. "type": "string"
  35139. },
  35140. "qtydecimalplace": {
  35141. "description": "成交量小数位",
  35142. "type": "integer"
  35143. },
  35144. "regularlycycle": {
  35145. "description": "定投频率 - 1:每周 2:每月",
  35146. "type": "integer"
  35147. },
  35148. "regularlycyclevalue": {
  35149. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35150. "type": "string"
  35151. },
  35152. "regularlymode": {
  35153. "description": "定投方式 - 1:按数量 2:按金额",
  35154. "type": "integer"
  35155. },
  35156. "regularlymodevalue": {
  35157. "description": "定投方式值 - 数量或金额",
  35158. "type": "number"
  35159. },
  35160. "regularlystrategyid": {
  35161. "description": "定投策略ID",
  35162. "type": "integer"
  35163. },
  35164. "retcode": {
  35165. "description": "错误码",
  35166. "type": "string"
  35167. },
  35168. "tradeid": {
  35169. "description": "成交单ID",
  35170. "type": "string"
  35171. },
  35172. "triggeramount": {
  35173. "description": "触发金额",
  35174. "type": "number"
  35175. },
  35176. "triggerqty": {
  35177. "description": "触发数量",
  35178. "type": "number"
  35179. },
  35180. "triggerstatus": {
  35181. "description": "触发状态 - 1:成功 2:失败",
  35182. "type": "integer"
  35183. },
  35184. "triggertime": {
  35185. "description": "触发时间",
  35186. "type": "string"
  35187. },
  35188. "triggertradedate": {
  35189. "description": "触发交易日",
  35190. "type": "string"
  35191. },
  35192. "userid": {
  35193. "description": "所属用户ID",
  35194. "type": "integer"
  35195. },
  35196. "userinfotype": {
  35197. "description": "用户类型 1-个人 2-企业",
  35198. "type": "integer"
  35199. },
  35200. "username": {
  35201. "description": "用户名称(userid对应的名称)",
  35202. "type": "string"
  35203. }
  35204. }
  35205. },
  35206. "models.QhjRStrategy": {
  35207. "type": "object",
  35208. "properties": {
  35209. "accountid": {
  35210. "description": "用户资金账户",
  35211. "type": "integer"
  35212. },
  35213. "accountname": {
  35214. "description": "账号名称(ACCOUNTID对应的名称)",
  35215. "type": "string"
  35216. },
  35217. "currencyid": {
  35218. "description": "币种id",
  35219. "type": "integer"
  35220. },
  35221. "currencyname": {
  35222. "description": "币种名称",
  35223. "type": "string"
  35224. },
  35225. "decimalplace": {
  35226. "description": "商品报价小数位",
  35227. "type": "integer"
  35228. },
  35229. "enumdicname": {
  35230. "description": "单位名称",
  35231. "type": "string"
  35232. },
  35233. "goodscode": {
  35234. "description": "定投商品代码",
  35235. "type": "string"
  35236. },
  35237. "goodsid": {
  35238. "description": "定投商品ID",
  35239. "type": "integer"
  35240. },
  35241. "goodsname": {
  35242. "description": "定投商品名称",
  35243. "type": "string"
  35244. },
  35245. "goodunitid": {
  35246. "description": "定投商品单位id",
  35247. "type": "integer"
  35248. },
  35249. "lasteffecttradedate": {
  35250. "description": "最新生效交易日",
  35251. "type": "string"
  35252. },
  35253. "laststoptradedate": {
  35254. "description": "最新暂停交易日",
  35255. "type": "string"
  35256. },
  35257. "lasttriggertradedate": {
  35258. "description": "最新触发交易日",
  35259. "type": "string"
  35260. },
  35261. "logincode": {
  35262. "description": "账号(登录代码)",
  35263. "type": "string"
  35264. },
  35265. "nexttriggeramount": {
  35266. "description": "下次触发金额",
  35267. "type": "number"
  35268. },
  35269. "nexttriggerdate": {
  35270. "description": "下次触发日期",
  35271. "type": "string"
  35272. },
  35273. "nexttriggerqty": {
  35274. "description": "下次触发数量 [按小数位放大值]",
  35275. "type": "number"
  35276. },
  35277. "qtydecimalplace": {
  35278. "description": "成交量小数位",
  35279. "type": "integer"
  35280. },
  35281. "regularlycycle": {
  35282. "description": "定投频率 - 1:每周 2:每月",
  35283. "type": "integer"
  35284. },
  35285. "regularlycyclevalue": {
  35286. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35287. "type": "string"
  35288. },
  35289. "regularlymode": {
  35290. "description": "定投方式 - 1:按数量 2:按金额",
  35291. "type": "integer"
  35292. },
  35293. "regularlymodevalue": {
  35294. "description": "定投方式值 - 数量或金额",
  35295. "type": "number"
  35296. },
  35297. "regularlystrategyid": {
  35298. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35299. "type": "integer"
  35300. },
  35301. "regularlystrategystatus": {
  35302. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35303. "type": "integer"
  35304. },
  35305. "remark": {
  35306. "description": "备注",
  35307. "type": "string"
  35308. },
  35309. "triggersuccesstimes": {
  35310. "description": "累计定投成功次数",
  35311. "type": "string"
  35312. },
  35313. "triggertotalamount": {
  35314. "description": "累计定投金额(成功)",
  35315. "type": "number"
  35316. },
  35317. "triggertotalqty": {
  35318. "description": "累计定投数量(成功) [按小数位放大值]",
  35319. "type": "number"
  35320. },
  35321. "triggertotaltimes": {
  35322. "description": "累计定投总次数",
  35323. "type": "string"
  35324. },
  35325. "updatesrc": {
  35326. "description": "更新来源 - 1:管理端 2:终端",
  35327. "type": "integer"
  35328. },
  35329. "updatetime": {
  35330. "description": "更新时间",
  35331. "type": "string"
  35332. },
  35333. "updatorid": {
  35334. "description": "更新人",
  35335. "type": "string"
  35336. },
  35337. "userid": {
  35338. "description": "所属用户ID",
  35339. "type": "integer"
  35340. },
  35341. "userinfotype": {
  35342. "description": "用户类型 1-个人 2-企业",
  35343. "type": "integer"
  35344. },
  35345. "username": {
  35346. "description": "用户名称(userid对应的名称)",
  35347. "type": "string"
  35348. }
  35349. }
  35350. },
  35351. "models.QhjReckonPriceLog": {
  35352. "type": "object",
  35353. "properties": {
  35354. "decimalplace": {
  35355. "description": "商品报价小数位",
  35356. "type": "integer"
  35357. },
  35358. "goodscode": {
  35359. "description": "商品代码",
  35360. "type": "string"
  35361. },
  35362. "goodsid": {
  35363. "description": "商品ID",
  35364. "type": "integer"
  35365. },
  35366. "goodsname": {
  35367. "description": "商品名称",
  35368. "type": "string"
  35369. },
  35370. "lastreckonprice": {
  35371. "description": "上日结算价",
  35372. "type": "number"
  35373. },
  35374. "nextdnlimitprice": {
  35375. "description": "下个交易日跌停价",
  35376. "type": "number"
  35377. },
  35378. "nexttrade": {
  35379. "description": "下个交易日",
  35380. "type": "string"
  35381. },
  35382. "nextuplimitprice": {
  35383. "description": "下个交易日涨停价",
  35384. "type": "number"
  35385. },
  35386. "reckonprice": {
  35387. "description": "今日结算价(定投价)",
  35388. "type": "number"
  35389. },
  35390. "reckontime": {
  35391. "description": "结算时间",
  35392. "type": "string"
  35393. },
  35394. "totalholderqty": {
  35395. "description": "总持仓数",
  35396. "type": "integer"
  35397. },
  35398. "totalstock": {
  35399. "description": "总库存",
  35400. "type": "integer"
  35401. },
  35402. "tradedate": {
  35403. "description": "交易日",
  35404. "type": "string"
  35405. },
  35406. "updowncount": {
  35407. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35408. "type": "integer"
  35409. },
  35410. "updownflag": {
  35411. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35412. "type": "integer"
  35413. },
  35414. "updownrate": {
  35415. "description": "今日涨跌幅",
  35416. "type": "number"
  35417. },
  35418. "updownrate_2d": {
  35419. "description": "连续两日涨跌幅",
  35420. "type": "number"
  35421. },
  35422. "updownrate_3d": {
  35423. "description": "连续三日涨跌幅",
  35424. "type": "number"
  35425. }
  35426. }
  35427. },
  35428. "models.QhjScoreLog": {
  35429. "type": "object",
  35430. "properties": {
  35431. "accountid": {
  35432. "description": "账户ID",
  35433. "type": "integer"
  35434. },
  35435. "createtime": {
  35436. "description": "创建时间(时间)",
  35437. "type": "string"
  35438. },
  35439. "goodsid": {
  35440. "description": "商品ID",
  35441. "type": "integer"
  35442. },
  35443. "hasuploaded": {
  35444. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35445. "type": "integer"
  35446. },
  35447. "logid": {
  35448. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35449. "type": "string"
  35450. },
  35451. "marketid": {
  35452. "description": "市场ID",
  35453. "type": "integer"
  35454. },
  35455. "relatedamount": {
  35456. "description": "关联金额",
  35457. "type": "number"
  35458. },
  35459. "relatedorderid": {
  35460. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35461. "type": "string"
  35462. },
  35463. "scoreconfigvalue1": {
  35464. "description": "积分配置1",
  35465. "type": "integer"
  35466. },
  35467. "scoreconfigvalue2": {
  35468. "description": "积分配置1",
  35469. "type": "integer"
  35470. },
  35471. "scoretype": {
  35472. "description": "积分类型 - 1:提货积分",
  35473. "type": "integer"
  35474. },
  35475. "scorevalue": {
  35476. "description": "积分",
  35477. "type": "number"
  35478. },
  35479. "tradedate": {
  35480. "description": "交易日(yyyyMMdd)",
  35481. "type": "string"
  35482. },
  35483. "uploadedtime": {
  35484. "description": "同步时间",
  35485. "type": "string"
  35486. },
  35487. "userid": {
  35488. "description": "用户ID",
  35489. "type": "integer"
  35490. }
  35491. }
  35492. },
  35493. "models.QhjSiteColumnDetail": {
  35494. "type": "object",
  35495. "properties": {
  35496. "author": {
  35497. "description": "作者",
  35498. "type": "string"
  35499. },
  35500. "brief": {
  35501. "description": "简介",
  35502. "type": "string"
  35503. },
  35504. "columnid": {
  35505. "description": "所属栏目",
  35506. "type": "integer"
  35507. },
  35508. "context": {
  35509. "description": "内容",
  35510. "type": "string"
  35511. },
  35512. "coverimage": {
  35513. "description": "封面图片",
  35514. "type": "string"
  35515. },
  35516. "creaedate": {
  35517. "description": "创建时间",
  35518. "type": "string"
  35519. },
  35520. "creatorid": {
  35521. "description": "创建人",
  35522. "type": "integer"
  35523. },
  35524. "hits": {
  35525. "description": "点击数",
  35526. "type": "integer"
  35527. },
  35528. "id": {
  35529. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35530. "type": "integer"
  35531. },
  35532. "isshow": {
  35533. "description": "是否展示 - 0:不展示 1:展示",
  35534. "type": "integer"
  35535. },
  35536. "istop": {
  35537. "description": "是否置顶 - 0:不置 1:置顶",
  35538. "type": "integer"
  35539. },
  35540. "modifierid": {
  35541. "description": "操作人",
  35542. "type": "integer"
  35543. },
  35544. "publishdate": {
  35545. "description": "发布日期",
  35546. "type": "string"
  35547. },
  35548. "status": {
  35549. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35550. "type": "integer"
  35551. },
  35552. "title": {
  35553. "description": "标题",
  35554. "type": "string"
  35555. },
  35556. "updatedate": {
  35557. "description": "修改时间",
  35558. "type": "string"
  35559. },
  35560. "userid": {
  35561. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35562. "type": "integer"
  35563. },
  35564. "username": {
  35565. "description": "用户名称",
  35566. "type": "string"
  35567. }
  35568. }
  35569. },
  35570. "models.QhjTeamOrder": {
  35571. "type": "object",
  35572. "properties": {
  35573. "accountid": {
  35574. "description": "账户ID[报价币种]",
  35575. "type": "integer"
  35576. },
  35577. "accountname": {
  35578. "description": "账户名称",
  35579. "type": "string"
  35580. },
  35581. "agreeunit": {
  35582. "description": "合约乘数",
  35583. "type": "number"
  35584. },
  35585. "buyorsell": {
  35586. "description": "方向 - 0:买 1:卖",
  35587. "type": "integer"
  35588. },
  35589. "decimalplace": {
  35590. "description": "报价小数位",
  35591. "type": "integer"
  35592. },
  35593. "enumdicname": {
  35594. "description": "单位名称",
  35595. "type": "string"
  35596. },
  35597. "goodscode": {
  35598. "description": "商品代码(内部)",
  35599. "type": "string"
  35600. },
  35601. "goodsid": {
  35602. "description": "商品ID",
  35603. "type": "integer"
  35604. },
  35605. "goodsname": {
  35606. "description": "商品名称",
  35607. "type": "string"
  35608. },
  35609. "goodunitid": {
  35610. "description": "报价单位ID",
  35611. "type": "integer"
  35612. },
  35613. "marketid": {
  35614. "description": "市场ID",
  35615. "type": "integer"
  35616. },
  35617. "marketname": {
  35618. "description": "市场名称",
  35619. "type": "string"
  35620. },
  35621. "qtydecimalplace": {
  35622. "description": "成交量小数位",
  35623. "type": "integer"
  35624. },
  35625. "refereeuserid": {
  35626. "description": "推荐人ID",
  35627. "type": "integer"
  35628. },
  35629. "tradeamount": {
  35630. "description": "成交金额[账户币种,用于所有权]",
  35631. "type": "number"
  35632. },
  35633. "tradedate": {
  35634. "description": "交易日(yyyyMMdd)",
  35635. "type": "string"
  35636. },
  35637. "trademode": {
  35638. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35639. "type": "integer"
  35640. },
  35641. "tradeprice": {
  35642. "description": "成交价格",
  35643. "type": "number"
  35644. },
  35645. "tradeqty": {
  35646. "description": "成交数量",
  35647. "type": "number"
  35648. },
  35649. "tradetime": {
  35650. "description": "成交时间",
  35651. "type": "string"
  35652. },
  35653. "userid": {
  35654. "description": "用户ID",
  35655. "type": "integer"
  35656. }
  35657. }
  35658. },
  35659. "models.QhjTradeGoodsPickup": {
  35660. "type": "object",
  35661. "properties": {
  35662. "accountid": {
  35663. "description": "账户ID",
  35664. "type": "integer"
  35665. },
  35666. "address": {
  35667. "description": "提货人详细地址",
  35668. "type": "string"
  35669. },
  35670. "amount": {
  35671. "description": "提货金额",
  35672. "type": "number"
  35673. },
  35674. "artradedate": {
  35675. "description": "自动收货交易日(yyyyMMdd)",
  35676. "type": "string"
  35677. },
  35678. "auditer": {
  35679. "description": "审核人",
  35680. "type": "integer"
  35681. },
  35682. "auditsrc": {
  35683. "description": "更新来源 - 1:管理端 2:终端",
  35684. "type": "integer"
  35685. },
  35686. "audittime": {
  35687. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35688. "type": "string"
  35689. },
  35690. "audittradedate": {
  35691. "description": "审核交易日(yyyyMMdd)",
  35692. "type": "string"
  35693. },
  35694. "cardnum": {
  35695. "description": "提货人证件号码",
  35696. "type": "string"
  35697. },
  35698. "cardtypeid": {
  35699. "description": "提货人证件类型",
  35700. "type": "integer"
  35701. },
  35702. "checkremark": {
  35703. "description": "审核备注",
  35704. "type": "string"
  35705. },
  35706. "cityid": {
  35707. "description": "市",
  35708. "type": "integer"
  35709. },
  35710. "cityname": {
  35711. "description": "城市名称",
  35712. "type": "string"
  35713. },
  35714. "confirmtime": {
  35715. "description": "取货时间 或 收货时间",
  35716. "type": "string"
  35717. },
  35718. "countryid": {
  35719. "description": "国家",
  35720. "type": "integer"
  35721. },
  35722. "countryname": {
  35723. "description": "国家名称",
  35724. "type": "string"
  35725. },
  35726. "decimalplace": {
  35727. "description": "商品报价小数位",
  35728. "type": "integer"
  35729. },
  35730. "districtid": {
  35731. "description": "地区",
  35732. "type": "integer"
  35733. },
  35734. "districtname": {
  35735. "description": "地区名称",
  35736. "type": "string"
  35737. },
  35738. "enumdicname": {
  35739. "description": "单位名称(提货商品)",
  35740. "type": "string"
  35741. },
  35742. "expresscompany": {
  35743. "description": "物流公司",
  35744. "type": "string"
  35745. },
  35746. "expressnum": {
  35747. "description": "物流单号",
  35748. "type": "string"
  35749. },
  35750. "goodsagreeunit": {
  35751. "description": "交易商品乘数",
  35752. "type": "number"
  35753. },
  35754. "goodscode": {
  35755. "description": "商品代码",
  35756. "type": "string"
  35757. },
  35758. "goodsid": {
  35759. "description": "商品ID",
  35760. "type": "integer"
  35761. },
  35762. "goodsname": {
  35763. "description": "商品名称",
  35764. "type": "string"
  35765. },
  35766. "goodsqty": {
  35767. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35768. "type": "number"
  35769. },
  35770. "handlestatus": {
  35771. "description": "处理状态",
  35772. "type": "integer"
  35773. },
  35774. "logincode": {
  35775. "description": "账号(登录代码, 有可能为空)",
  35776. "type": "string"
  35777. },
  35778. "marketid": {
  35779. "description": "市场ID",
  35780. "type": "integer"
  35781. },
  35782. "phonenum": {
  35783. "description": "提货人联系方式",
  35784. "type": "string"
  35785. },
  35786. "pickupgoodsagreeunit": {
  35787. "description": "提货商品合约乘数",
  35788. "type": "number"
  35789. },
  35790. "pickupgoodsid": {
  35791. "description": "提货商品ID",
  35792. "type": "string"
  35793. },
  35794. "pickupgoodsname": {
  35795. "description": "提货商品名称",
  35796. "type": "string"
  35797. },
  35798. "pickupgoodsqty": {
  35799. "description": "提货商品手数(数量)",
  35800. "type": "number"
  35801. },
  35802. "pickupgoodsunitid": {
  35803. "description": "单位ID(提货商品)",
  35804. "type": "integer"
  35805. },
  35806. "pickupratio": {
  35807. "description": "提货系数",
  35808. "type": "number"
  35809. },
  35810. "preparedays": {
  35811. "description": "备货期(天)-提货单明细表",
  35812. "type": "integer"
  35813. },
  35814. "provinceid": {
  35815. "description": "省",
  35816. "type": "integer"
  35817. },
  35818. "provincename": {
  35819. "description": "省名称",
  35820. "type": "string"
  35821. },
  35822. "qty": {
  35823. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35824. "type": "number"
  35825. },
  35826. "qtydecimalplace": {
  35827. "description": "商品数量小数位",
  35828. "type": "integer"
  35829. },
  35830. "recivername": {
  35831. "description": "提货人姓名",
  35832. "type": "string"
  35833. },
  35834. "reqtime": {
  35835. "description": "提货申请时间",
  35836. "type": "string"
  35837. },
  35838. "storeuserid": {
  35839. "description": "门店用户ID (千海金)",
  35840. "type": "integer"
  35841. },
  35842. "storeusername": {
  35843. "description": "门店用户名称",
  35844. "type": "string"
  35845. },
  35846. "takemode": {
  35847. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35848. "type": "integer"
  35849. },
  35850. "takeorderid": {
  35851. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35852. "type": "string"
  35853. },
  35854. "takeorderstatus": {
  35855. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35856. "type": "integer"
  35857. },
  35858. "takeremark": {
  35859. "description": "提货备注",
  35860. "type": "string"
  35861. },
  35862. "tradedate": {
  35863. "description": "交易日(yyyyMMdd)",
  35864. "type": "string"
  35865. },
  35866. "updatetime": {
  35867. "description": "更新时间",
  35868. "type": "string"
  35869. },
  35870. "userid": {
  35871. "description": "用户ID",
  35872. "type": "integer"
  35873. },
  35874. "userinfotype": {
  35875. "description": "客户类型 1-个人 2-企业",
  35876. "type": "integer"
  35877. },
  35878. "username": {
  35879. "description": "用户名称",
  35880. "type": "string"
  35881. }
  35882. }
  35883. },
  35884. "models.QhjUserNodeCfgAndStatus": {
  35885. "type": "object",
  35886. "properties": {
  35887. "agreementcontent": {
  35888. "description": "协议内容",
  35889. "type": "string"
  35890. },
  35891. "agreementid": {
  35892. "description": "协议ID",
  35893. "type": "integer"
  35894. },
  35895. "agreementname": {
  35896. "description": "协议名称",
  35897. "type": "string"
  35898. },
  35899. "agreementno": {
  35900. "description": "协议编号",
  35901. "type": "string"
  35902. },
  35903. "agreementtype": {
  35904. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35905. "type": "integer"
  35906. },
  35907. "agreementversion": {
  35908. "description": "协议版本号",
  35909. "type": "integer"
  35910. },
  35911. "configid": {
  35912. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35913. "type": "integer"
  35914. },
  35915. "createtime": {
  35916. "description": "创建时间",
  35917. "type": "string"
  35918. },
  35919. "goodsid": {
  35920. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35921. "type": "integer"
  35922. },
  35923. "nodetype": {
  35924. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35925. "type": "integer"
  35926. },
  35927. "signtimestamp": {
  35928. "description": "签约状态时间戳(最近一次)",
  35929. "type": "string"
  35930. },
  35931. "tradedate": {
  35932. "description": "签约交易日(yyyyMMdd)",
  35933. "type": "string"
  35934. },
  35935. "userid": {
  35936. "description": "客户ID",
  35937. "type": "integer"
  35938. }
  35939. }
  35940. },
  35941. "models.Qhjgoodsex": {
  35942. "type": "object",
  35943. "properties": {
  35944. "canfinance": {
  35945. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35946. "type": "integer"
  35947. },
  35948. "canregularlybuy": {
  35949. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35950. "type": "integer"
  35951. },
  35952. "defaulttradeuserid": {
  35953. "description": "默认交易用户ID",
  35954. "type": "integer"
  35955. },
  35956. "deliverygoodsid": {
  35957. "description": "现货品种ID",
  35958. "type": "integer"
  35959. },
  35960. "goodsid": {
  35961. "description": "商品ID(自增ID SEQ_GOODS)",
  35962. "type": "integer"
  35963. },
  35964. "minamount": {
  35965. "description": "最小购买金额",
  35966. "type": "number"
  35967. },
  35968. "regularlybuyminamount": {
  35969. "description": "定投最小金额",
  35970. "type": "number"
  35971. },
  35972. "regularlybuyminqty": {
  35973. "description": "定投最小数量",
  35974. "type": "number"
  35975. },
  35976. "spotgoodsbrandid": {
  35977. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  35978. "type": "integer"
  35979. },
  35980. "visibilityforenterprise": {
  35981. "description": "企业客户是否可见 - 0:不可见 1:可见",
  35982. "type": "integer"
  35983. },
  35984. "visibilityforpersonal": {
  35985. "description": "个人客户是否可见 - 0:不可见 1:可见",
  35986. "type": "integer"
  35987. },
  35988. "wrstandardid": {
  35989. "description": "现货商品ID",
  35990. "type": "integer"
  35991. }
  35992. }
  35993. },
  35994. "models.QueryErrorInfosRsp": {
  35995. "type": "object",
  35996. "required": [
  35997. "errorid"
  35998. ],
  35999. "properties": {
  36000. "description": {
  36001. "description": "异常描述",
  36002. "type": "string"
  36003. },
  36004. "errorcode": {
  36005. "description": "异常代码",
  36006. "type": "string"
  36007. },
  36008. "errorid": {
  36009. "description": "异常ID",
  36010. "type": "integer"
  36011. },
  36012. "modulecode": {
  36013. "description": "所属模块",
  36014. "type": "string"
  36015. },
  36016. "operatecode": {
  36017. "description": "所属操作",
  36018. "type": "string"
  36019. },
  36020. "rownumber": {
  36021. "description": "行号",
  36022. "type": "string"
  36023. }
  36024. }
  36025. },
  36026. "models.QueryHedgeOrderDetailRsp": {
  36027. "type": "object",
  36028. "properties": {
  36029. "accountid": {
  36030. "description": "账户ID",
  36031. "type": "integer"
  36032. },
  36033. "buyorsell": {
  36034. "description": "买卖 - 0:买 1:卖",
  36035. "type": "integer"
  36036. },
  36037. "cancellogincode": {
  36038. "description": "撤单人",
  36039. "type": "string"
  36040. },
  36041. "channelbuildtype": {
  36042. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36043. "type": "integer"
  36044. },
  36045. "channelinnerorderstatus": {
  36046. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36047. "type": "integer"
  36048. },
  36049. "channeloperatetype": {
  36050. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36051. "type": "integer"
  36052. },
  36053. "closetype": {
  36054. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36055. "type": "integer"
  36056. },
  36057. "curexchangerate": {
  36058. "description": "当前汇率",
  36059. "type": "number"
  36060. },
  36061. "decimalplace": {
  36062. "description": "商品报价小数位",
  36063. "type": "integer"
  36064. },
  36065. "exchangefullname": {
  36066. "description": "外部交易所全称",
  36067. "type": "string"
  36068. },
  36069. "goodscode": {
  36070. "description": "商品代码(内部)",
  36071. "type": "string"
  36072. },
  36073. "goodsid": {
  36074. "description": "商品ID",
  36075. "type": "integer"
  36076. },
  36077. "goodsname": {
  36078. "description": "商品名称",
  36079. "type": "string"
  36080. },
  36081. "marketid": {
  36082. "description": "市场ID",
  36083. "type": "integer"
  36084. },
  36085. "openfreezemargin": {
  36086. "description": "冻结保证金(冻结交易金额)",
  36087. "type": "number"
  36088. },
  36089. "orderid": {
  36090. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36091. "type": "string"
  36092. },
  36093. "orderlogincode": {
  36094. "description": "委托人",
  36095. "type": "string"
  36096. },
  36097. "orderprice": {
  36098. "description": "委托价格(账户)",
  36099. "type": "number"
  36100. },
  36101. "orderqty": {
  36102. "description": "委托数量",
  36103. "type": "integer"
  36104. },
  36105. "ordertime": {
  36106. "description": "委托时间",
  36107. "type": "string"
  36108. },
  36109. "pricemode": {
  36110. "description": "取价方式 - 1:市价 2: 限价",
  36111. "type": "integer"
  36112. },
  36113. "tradedate": {
  36114. "description": "交易日(yyyyMMdd)",
  36115. "type": "string"
  36116. },
  36117. "tradeqty": {
  36118. "description": "成交数量",
  36119. "type": "integer"
  36120. }
  36121. }
  36122. },
  36123. "models.QueryHedgeTradeDetailRsp": {
  36124. "type": "object",
  36125. "properties": {
  36126. "accountid": {
  36127. "description": "账号ID",
  36128. "type": "integer"
  36129. },
  36130. "buyorsell": {
  36131. "description": "方向 - 0:买 1:卖",
  36132. "type": "integer"
  36133. },
  36134. "channelbuildtype": {
  36135. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36136. "type": "integer"
  36137. },
  36138. "closecharge": {
  36139. "description": "平仓手续费(账户)",
  36140. "type": "number"
  36141. },
  36142. "closecharge2": {
  36143. "description": "平仓手续费(商品)",
  36144. "type": "number"
  36145. },
  36146. "closepl": {
  36147. "description": "平仓盈亏(账户)",
  36148. "type": "number"
  36149. },
  36150. "closepl2": {
  36151. "description": "平仓盈亏(商品)",
  36152. "type": "number"
  36153. },
  36154. "closepl3": {
  36155. "description": "平仓盈亏(账户)(逐笔)",
  36156. "type": "number"
  36157. },
  36158. "closepl4": {
  36159. "description": "平仓盈亏(商品)(逐笔)",
  36160. "type": "number"
  36161. },
  36162. "closetype": {
  36163. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36164. "type": "integer"
  36165. },
  36166. "curexchangerate": {
  36167. "description": "当前汇率",
  36168. "type": "number"
  36169. },
  36170. "decimalplace": {
  36171. "description": "商品报价小数位",
  36172. "type": "integer"
  36173. },
  36174. "exchangefullname": {
  36175. "description": "外部交易所全称",
  36176. "type": "string"
  36177. },
  36178. "goodscode": {
  36179. "description": "商品代码(内部)",
  36180. "type": "string"
  36181. },
  36182. "goodsid": {
  36183. "description": "商品ID",
  36184. "type": "integer"
  36185. },
  36186. "goodsname": {
  36187. "description": "商品名称",
  36188. "type": "string"
  36189. },
  36190. "marketid": {
  36191. "description": "市场ID",
  36192. "type": "integer"
  36193. },
  36194. "opencharge": {
  36195. "description": "建仓手续费(账户)",
  36196. "type": "number"
  36197. },
  36198. "opencharge2": {
  36199. "description": "建仓手续费(商品)",
  36200. "type": "number"
  36201. },
  36202. "orderid": {
  36203. "description": "委托单号",
  36204. "type": "string"
  36205. },
  36206. "orderlogincode": {
  36207. "description": "委托人",
  36208. "type": "string"
  36209. },
  36210. "tradeamount": {
  36211. "description": "成交金额(账户)",
  36212. "type": "number"
  36213. },
  36214. "tradedate": {
  36215. "description": "交易日(yyyyMMdd)",
  36216. "type": "string"
  36217. },
  36218. "tradeid": {
  36219. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36220. "type": "string"
  36221. },
  36222. "tradeprice": {
  36223. "description": "成交价格",
  36224. "type": "number"
  36225. },
  36226. "tradeqty": {
  36227. "description": "成交数量",
  36228. "type": "integer"
  36229. },
  36230. "tradetime": {
  36231. "description": "成交时间",
  36232. "type": "string"
  36233. },
  36234. "tradetype": {
  36235. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36236. "type": "integer"
  36237. }
  36238. }
  36239. },
  36240. "models.QuotePrimaryMenu": {
  36241. "type": "object",
  36242. "properties": {
  36243. "Index": {
  36244. "description": "序号",
  36245. "type": "integer"
  36246. },
  36247. "Key": {
  36248. "description": "键名",
  36249. "type": "string"
  36250. },
  36251. "Name": {
  36252. "description": "菜单名称",
  36253. "type": "string"
  36254. },
  36255. "SubMenus": {
  36256. "description": "子菜单",
  36257. "type": "array",
  36258. "items": {
  36259. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36260. }
  36261. },
  36262. "SubTitleType": {
  36263. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36264. "type": "integer"
  36265. },
  36266. "TradeModes": {
  36267. "description": "包含市场交易类型",
  36268. "type": "string"
  36269. }
  36270. }
  36271. },
  36272. "models.QuoteSecondaryMenu": {
  36273. "type": "object",
  36274. "properties": {
  36275. "ExExchangeCode": {
  36276. "description": "外部交易所代码",
  36277. "type": "string"
  36278. },
  36279. "ExExchangeID": {
  36280. "description": "外部交易所ID",
  36281. "type": "integer"
  36282. },
  36283. "GoodsGroupIDs": {
  36284. "description": "商品组ID列表",
  36285. "type": "array",
  36286. "items": {
  36287. "type": "integer"
  36288. }
  36289. },
  36290. "Index": {
  36291. "description": "序号",
  36292. "type": "integer"
  36293. },
  36294. "MarketID": {
  36295. "description": "市场ID",
  36296. "type": "integer"
  36297. },
  36298. "MenuTitle": {
  36299. "description": "菜单标题(市场名称或外部交易所名称)",
  36300. "type": "string"
  36301. },
  36302. "TradeMode": {
  36303. "description": "交易模式",
  36304. "type": "integer"
  36305. }
  36306. }
  36307. },
  36308. "models.RelatedTaAccount": {
  36309. "type": "object",
  36310. "properties": {
  36311. "accountid": {
  36312. "description": "资金账户ID",
  36313. "type": "integer"
  36314. }
  36315. }
  36316. },
  36317. "models.RoleMenu": {
  36318. "type": "object",
  36319. "properties": {
  36320. "hasright": {
  36321. "description": "是否有权限 0-没有权限 1-有权限",
  36322. "type": "integer"
  36323. },
  36324. "iconame": {
  36325. "description": "菜单图标",
  36326. "type": "string"
  36327. },
  36328. "menutype": {
  36329. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36330. "type": "integer"
  36331. },
  36332. "parentcode": {
  36333. "description": "上级资源代码",
  36334. "type": "string"
  36335. },
  36336. "remark": {
  36337. "description": "菜单备注",
  36338. "type": "string"
  36339. },
  36340. "resourcecode": {
  36341. "description": "菜单代码",
  36342. "type": "string"
  36343. },
  36344. "resourcelevel": {
  36345. "description": "级别",
  36346. "type": "integer"
  36347. },
  36348. "resourcename": {
  36349. "description": "菜单名称",
  36350. "type": "string"
  36351. },
  36352. "roleid": {
  36353. "description": "角色id",
  36354. "type": "integer"
  36355. },
  36356. "sort": {
  36357. "description": "排序",
  36358. "type": "integer"
  36359. },
  36360. "subMenu": {
  36361. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36362. "type": "array",
  36363. "items": {
  36364. "$ref": "#/definitions/models.RoleMenu"
  36365. }
  36366. },
  36367. "url": {
  36368. "description": "URL",
  36369. "type": "string"
  36370. },
  36371. "userid": {
  36372. "description": "用户id",
  36373. "type": "integer"
  36374. }
  36375. }
  36376. },
  36377. "models.SearchGoods": {
  36378. "type": "object",
  36379. "required": [
  36380. "goodscode",
  36381. "goodsid",
  36382. "goodsname",
  36383. "marketid",
  36384. "trademode"
  36385. ],
  36386. "properties": {
  36387. "goodscode": {
  36388. "description": "商品代码(内部)",
  36389. "type": "string"
  36390. },
  36391. "goodsid": {
  36392. "description": "商品ID(自增ID SEQ_GOODS)",
  36393. "type": "integer"
  36394. },
  36395. "goodsname": {
  36396. "description": "商品名称",
  36397. "type": "string"
  36398. },
  36399. "marketid": {
  36400. "description": "所属市场ID",
  36401. "type": "integer"
  36402. },
  36403. "marketname": {
  36404. "description": "市场名称",
  36405. "type": "string"
  36406. },
  36407. "trademode": {
  36408. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36409. "type": "integer"
  36410. }
  36411. }
  36412. },
  36413. "models.SellOrder": {
  36414. "type": "object",
  36415. "properties": {
  36416. "accountid": {
  36417. "description": "资金账号",
  36418. "type": "integer"
  36419. },
  36420. "applyid": {
  36421. "description": "申请单ID",
  36422. "type": "integer"
  36423. },
  36424. "attachment1": {
  36425. "description": "附件1",
  36426. "type": "string"
  36427. },
  36428. "attachment2": {
  36429. "description": "附件2",
  36430. "type": "string"
  36431. },
  36432. "buyorsell": {
  36433. "description": "买卖 - 0:买 1:卖",
  36434. "type": "integer"
  36435. },
  36436. "canbargain": {
  36437. "description": "是否可议价 - 0:不可 1:可",
  36438. "type": "integer"
  36439. },
  36440. "cancelqty": {
  36441. "description": "撤销数量",
  36442. "type": "integer"
  36443. },
  36444. "canceltime": {
  36445. "description": "撤销时间",
  36446. "type": "string"
  36447. },
  36448. "cerno": {
  36449. "type": "string"
  36450. },
  36451. "chargealgorithm": {
  36452. "description": "手续费收取方式 1:比率 2:固定",
  36453. "type": "integer"
  36454. },
  36455. "chargealgorithmvalue": {
  36456. "description": "手续费设置值(交易所部分)",
  36457. "type": "number"
  36458. },
  36459. "chargealgorithmvalue2": {
  36460. "description": "手续费设置值(会员部分)",
  36461. "type": "number"
  36462. },
  36463. "clientordertime": {
  36464. "description": "客户端委托时间",
  36465. "type": "string"
  36466. },
  36467. "cpcertno": {
  36468. "type": "string"
  36469. },
  36470. "exchangerate": {
  36471. "description": "汇率[67]",
  36472. "type": "number"
  36473. },
  36474. "firstratio": {
  36475. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  36476. "type": "number"
  36477. },
  36478. "fixedprice": {
  36479. "description": "[克拉单价]固定价格 - [挂牌]",
  36480. "type": "number"
  36481. },
  36482. "freezecharge": {
  36483. "description": "冻结手续费",
  36484. "type": "number"
  36485. },
  36486. "freezefirstamount": {
  36487. "description": "冻结首付金额 - [摘牌]",
  36488. "type": "number"
  36489. },
  36490. "freezemargin": {
  36491. "description": "冻结保证金",
  36492. "type": "number"
  36493. },
  36494. "goodsno": {
  36495. "description": "商品编号",
  36496. "type": "string"
  36497. },
  36498. "imagepath": {
  36499. "type": "string"
  36500. },
  36501. "isQueryDiamond": {
  36502. "description": "是否钻石查询",
  36503. "type": "boolean"
  36504. },
  36505. "isspecified": {
  36506. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36507. "type": "integer"
  36508. },
  36509. "kppath": {
  36510. "type": "string"
  36511. },
  36512. "kpweight": {
  36513. "type": "string"
  36514. },
  36515. "marginalgorithm": {
  36516. "description": "保证金方式 - 1:比率 2:固定",
  36517. "type": "integer"
  36518. },
  36519. "marginvalue": {
  36520. "description": "保证金设置值",
  36521. "type": "number"
  36522. },
  36523. "marketid": {
  36524. "description": "市场ID",
  36525. "type": "integer"
  36526. },
  36527. "marketprice": {
  36528. "type": "string"
  36529. },
  36530. "orderamount": {
  36531. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  36532. "type": "number"
  36533. },
  36534. "ordertime": {
  36535. "description": "委托时间",
  36536. "type": "string"
  36537. },
  36538. "performancetemplateid": {
  36539. "description": "履约计划模板ID",
  36540. "type": "integer"
  36541. },
  36542. "price": {
  36543. "description": "价格",
  36544. "type": "number"
  36545. },
  36546. "pricefactor": {
  36547. "description": "价格系数(浮动价时填写) - [挂牌]",
  36548. "type": "number"
  36549. },
  36550. "pricemove": {
  36551. "description": "升贴水(浮动价时填写) - [挂牌]",
  36552. "type": "number"
  36553. },
  36554. "priceper": {
  36555. "type": "string"
  36556. },
  36557. "relatedwrtradeorderid": {
  36558. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  36559. "type": "integer"
  36560. },
  36561. "remainqty": {
  36562. "description": "剩余重量",
  36563. "type": "number"
  36564. },
  36565. "remark": {
  36566. "type": "string"
  36567. },
  36568. "retcode": {
  36569. "description": "错误代码",
  36570. "type": "integer"
  36571. },
  36572. "sellusername": {
  36573. "description": "卖方(查询字段-模糊查询)",
  36574. "type": "string"
  36575. },
  36576. "settingmaterial": {
  36577. "type": "string"
  36578. },
  36579. "size1": {
  36580. "type": "string"
  36581. },
  36582. "size2": {
  36583. "type": "string"
  36584. },
  36585. "size3": {
  36586. "type": "string"
  36587. },
  36588. "sizedisplay": {
  36589. "description": "尺寸",
  36590. "type": "string"
  36591. },
  36592. "stonedesc": {
  36593. "type": "string"
  36594. },
  36595. "totalqty": {
  36596. "description": "总重量",
  36597. "type": "number"
  36598. },
  36599. "tradedate": {
  36600. "description": "交易日(yyyyMMdd)",
  36601. "type": "string"
  36602. },
  36603. "tradeprice": {
  36604. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36605. "type": "number"
  36606. },
  36607. "unfreezecharge": {
  36608. "description": "解冻手续费",
  36609. "type": "number"
  36610. },
  36611. "unfreezefirstamount": {
  36612. "description": "解冻首付金额 - [摘牌]",
  36613. "type": "number"
  36614. },
  36615. "unfreezemargin": {
  36616. "description": "解冻保证金",
  36617. "type": "number"
  36618. },
  36619. "userid": {
  36620. "description": "用户ID",
  36621. "type": "integer"
  36622. },
  36623. "uuid": {
  36624. "description": "发起端唯一id",
  36625. "type": "string"
  36626. },
  36627. "validtime": {
  36628. "description": "有效期限",
  36629. "type": "string"
  36630. },
  36631. "validtype": {
  36632. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36633. "type": "integer"
  36634. },
  36635. "warehousenamedisplay": {
  36636. "type": "string"
  36637. },
  36638. "wrbargainid": {
  36639. "description": "议价申请单ID",
  36640. "type": "integer"
  36641. },
  36642. "wrfactortypeid": {
  36643. "description": "仓单要素类型ID/商品ID(77)",
  36644. "type": "integer"
  36645. },
  36646. "wrpath": {
  36647. "type": "string"
  36648. },
  36649. "wrpricetype": {
  36650. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36651. "type": "integer"
  36652. },
  36653. "wrstandardid": {
  36654. "description": "现货商品ID",
  36655. "type": "integer"
  36656. },
  36657. "wrtradeorderid": {
  36658. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36659. "type": "string"
  36660. },
  36661. "wrtradeorderstatus": {
  36662. "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:撤单解冻贷款失败",
  36663. "type": "integer"
  36664. },
  36665. "wrtradetype": {
  36666. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36667. "type": "integer"
  36668. },
  36669. "wrtransferuserid": {
  36670. "description": "仓单受让用户 - [摘牌]",
  36671. "type": "integer"
  36672. },
  36673. "zscategory": {
  36674. "description": "钻石分类 - 枚举”ZSCategory“",
  36675. "type": "integer"
  36676. },
  36677. "zscategorydisplay": {
  36678. "description": "钻石分类 - 描述",
  36679. "type": "string"
  36680. },
  36681. "zscerttypedisplay": {
  36682. "type": "string"
  36683. },
  36684. "zsclaritytype1display": {
  36685. "type": "string"
  36686. },
  36687. "zsclaritytype2display": {
  36688. "type": "string"
  36689. },
  36690. "zscolortype1display": {
  36691. "type": "string"
  36692. },
  36693. "zscolortype2display": {
  36694. "type": "string"
  36695. },
  36696. "zscrystaltype": {
  36697. "type": "string"
  36698. },
  36699. "zscrystaltypedisplay": {
  36700. "type": "string"
  36701. },
  36702. "zscurrencytype": {
  36703. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36704. "type": "integer"
  36705. },
  36706. "zscurrencytypedisplay": {
  36707. "type": "string"
  36708. },
  36709. "zscurrencytypedisplayunit": {
  36710. "type": "string"
  36711. },
  36712. "zscuttype1display": {
  36713. "type": "string"
  36714. },
  36715. "zscuttype2display": {
  36716. "type": "string"
  36717. },
  36718. "zsczcolor1typedisplay": {
  36719. "type": "string"
  36720. },
  36721. "zsczcolor2typedisplay": {
  36722. "type": "string"
  36723. },
  36724. "zsczcolor3typedisplay": {
  36725. "type": "string"
  36726. },
  36727. "zsfluorescencetype1display": {
  36728. "type": "string"
  36729. },
  36730. "zsfluorescencetype2display": {
  36731. "type": "string"
  36732. },
  36733. "zspolishtype1display": {
  36734. "type": "string"
  36735. },
  36736. "zspolishtype2display": {
  36737. "type": "string"
  36738. },
  36739. "zsshapetypedisplay": {
  36740. "type": "string"
  36741. },
  36742. "zsstyletypedisplay": {
  36743. "type": "string"
  36744. },
  36745. "zssymmetrytype1display": {
  36746. "type": "string"
  36747. },
  36748. "zssymmetrytype2display": {
  36749. "type": "string"
  36750. }
  36751. }
  36752. },
  36753. "models.SellOrderQueryReq": {
  36754. "type": "object",
  36755. "required": [
  36756. "zscategory"
  36757. ],
  36758. "properties": {
  36759. "origin": {
  36760. "description": "原产地",
  36761. "type": "string"
  36762. },
  36763. "page": {
  36764. "description": "页码",
  36765. "type": "integer"
  36766. },
  36767. "pagesize": {
  36768. "description": "每页大小",
  36769. "type": "integer"
  36770. },
  36771. "total": {
  36772. "description": "总条数",
  36773. "type": "integer"
  36774. },
  36775. "warehouseid": {
  36776. "description": "仓库ID",
  36777. "type": "integer"
  36778. },
  36779. "weight1": {
  36780. "description": "总重量(克拉重量)-从",
  36781. "type": "number"
  36782. },
  36783. "weight2": {
  36784. "description": "总重量(克拉重量)-至",
  36785. "type": "number"
  36786. },
  36787. "weightavg1": {
  36788. "description": "平均单颗重量-从",
  36789. "type": "number"
  36790. },
  36791. "weightavg2": {
  36792. "description": "平均单颗重量-至",
  36793. "type": "number"
  36794. },
  36795. "zscategory": {
  36796. "description": "钻石分类 - 枚举”ZSCategory“",
  36797. "type": "integer"
  36798. },
  36799. "zscerttype": {
  36800. "description": "证书类型",
  36801. "type": "array",
  36802. "items": {
  36803. "type": "string"
  36804. }
  36805. },
  36806. "zsclaritytype": {
  36807. "description": "净度",
  36808. "type": "array",
  36809. "items": {
  36810. "type": "integer"
  36811. }
  36812. },
  36813. "zscolortype": {
  36814. "description": "颜色",
  36815. "type": "array",
  36816. "items": {
  36817. "type": "integer"
  36818. }
  36819. },
  36820. "zscurrencytype": {
  36821. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36822. "type": "array",
  36823. "items": {
  36824. "type": "string"
  36825. }
  36826. },
  36827. "zscuttype": {
  36828. "description": "切工",
  36829. "type": "array",
  36830. "items": {
  36831. "type": "integer"
  36832. }
  36833. },
  36834. "zsczcolor1type": {
  36835. "description": "彩钻颜色1",
  36836. "type": "array",
  36837. "items": {
  36838. "type": "string"
  36839. }
  36840. },
  36841. "zsfluorescencetype": {
  36842. "description": "荧光",
  36843. "type": "array",
  36844. "items": {
  36845. "type": "integer"
  36846. }
  36847. },
  36848. "zspolishtype": {
  36849. "description": "抛光度",
  36850. "type": "array",
  36851. "items": {
  36852. "type": "integer"
  36853. }
  36854. },
  36855. "zsshapetype": {
  36856. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  36857. "type": "array",
  36858. "items": {
  36859. "type": "string"
  36860. }
  36861. },
  36862. "zsstyletype": {
  36863. "description": "款式",
  36864. "type": "array",
  36865. "items": {
  36866. "type": "string"
  36867. }
  36868. },
  36869. "zssymmetrytype": {
  36870. "description": "对称度",
  36871. "type": "array",
  36872. "items": {
  36873. "type": "integer"
  36874. }
  36875. }
  36876. }
  36877. },
  36878. "models.Systemparam": {
  36879. "type": "object",
  36880. "required": [
  36881. "paramcode"
  36882. ],
  36883. "properties": {
  36884. "loginid": {
  36885. "description": "更新用户账号,登录账号",
  36886. "type": "string"
  36887. },
  36888. "modifyflag": {
  36889. "description": "修改标志0 不允许修改 1 允许修改",
  36890. "type": "integer"
  36891. },
  36892. "paramcode": {
  36893. "description": "参数代码",
  36894. "type": "string"
  36895. },
  36896. "paramname": {
  36897. "description": "参数名",
  36898. "type": "string"
  36899. },
  36900. "paramtype": {
  36901. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  36902. "type": "integer"
  36903. },
  36904. "paramvalue": {
  36905. "description": "参数值",
  36906. "type": "string"
  36907. },
  36908. "paramvalue2": {
  36909. "description": "参数值(CLOB)",
  36910. "type": "string"
  36911. },
  36912. "regexpress": {
  36913. "description": "正则表达式",
  36914. "type": "string"
  36915. },
  36916. "remark": {
  36917. "description": "备注",
  36918. "type": "string"
  36919. },
  36920. "serverip": {
  36921. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  36922. "type": "string"
  36923. },
  36924. "showflag": {
  36925. "description": "是否显示0 不显示 1 显示",
  36926. "type": "integer"
  36927. },
  36928. "updatetime": {
  36929. "description": "更新时间",
  36930. "type": "string"
  36931. },
  36932. "userid": {
  36933. "description": "更新用户ID",
  36934. "type": "integer"
  36935. }
  36936. }
  36937. },
  36938. "models.Szdz3convertconfig": {
  36939. "type": "object",
  36940. "required": [
  36941. "converttype",
  36942. "innergoodsid",
  36943. "outergoodscode"
  36944. ],
  36945. "properties": {
  36946. "canin": {
  36947. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36948. "type": "integer"
  36949. },
  36950. "canout": {
  36951. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36952. "type": "integer"
  36953. },
  36954. "converttype": {
  36955. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36956. "type": "integer"
  36957. },
  36958. "createtime": {
  36959. "description": "创建时间",
  36960. "type": "string"
  36961. },
  36962. "creatorid": {
  36963. "description": "创建人",
  36964. "type": "integer"
  36965. },
  36966. "daymaxvalue": {
  36967. "description": "当日最大转入限制",
  36968. "type": "number"
  36969. },
  36970. "freezedays": {
  36971. "description": "冻结天数 [5:花生米转交易]",
  36972. "type": "integer"
  36973. },
  36974. "innergoodsid": {
  36975. "description": "内部商品ID[交易]",
  36976. "type": "integer"
  36977. },
  36978. "inratio": {
  36979. "description": "目标值",
  36980. "type": "integer"
  36981. },
  36982. "modifierid": {
  36983. "description": "修改人",
  36984. "type": "integer"
  36985. },
  36986. "modifytime": {
  36987. "description": "修改时间",
  36988. "type": "string"
  36989. },
  36990. "outergoodscode": {
  36991. "description": "外部商品代码[JD\\PD]",
  36992. "type": "string"
  36993. },
  36994. "outratio": {
  36995. "description": "源值",
  36996. "type": "integer"
  36997. },
  36998. "pddecimalplace": {
  36999. "description": "PD小数位",
  37000. "type": "integer"
  37001. },
  37002. "timemaxvalue": {
  37003. "description": "单次最大转入限制",
  37004. "type": "number"
  37005. },
  37006. "timeminvalue": {
  37007. "description": "单次最小转入限制",
  37008. "type": "number"
  37009. }
  37010. }
  37011. },
  37012. "models.Szdz3searchwhitelist": {
  37013. "type": "object",
  37014. "required": [
  37015. "userid"
  37016. ],
  37017. "properties": {
  37018. "createtime": {
  37019. "description": "创建时间",
  37020. "type": "string"
  37021. },
  37022. "creatorid": {
  37023. "description": "创建人",
  37024. "type": "integer"
  37025. },
  37026. "modifierid": {
  37027. "description": "修改人",
  37028. "type": "integer"
  37029. },
  37030. "modifytime": {
  37031. "description": "修改时间",
  37032. "type": "string"
  37033. },
  37034. "userid": {
  37035. "description": "用户ID",
  37036. "type": "integer"
  37037. }
  37038. }
  37039. },
  37040. "models.TBGoods": {
  37041. "type": "object",
  37042. "properties": {
  37043. "agreeunit": {
  37044. "description": "合约乘数",
  37045. "type": "number"
  37046. },
  37047. "enumdicname": {
  37048. "description": "单位名称",
  37049. "type": "string"
  37050. },
  37051. "goodscode": {
  37052. "description": "商品代码(内部)",
  37053. "type": "string"
  37054. },
  37055. "goodsid": {
  37056. "description": "商品ID(自增ID SEQ_GOODS)",
  37057. "type": "integer"
  37058. },
  37059. "goodsname": {
  37060. "description": "商品名称",
  37061. "type": "string"
  37062. }
  37063. }
  37064. },
  37065. "models.TBGoodsGroup": {
  37066. "type": "object",
  37067. "properties": {
  37068. "GDLST": {
  37069. "description": "商品列表",
  37070. "type": "array",
  37071. "items": {
  37072. "$ref": "#/definitions/models.TBGoods"
  37073. }
  37074. },
  37075. "convertratio": {
  37076. "description": "折算系数",
  37077. "type": "number"
  37078. },
  37079. "enumdicname": {
  37080. "description": "单位名称",
  37081. "type": "string"
  37082. },
  37083. "exexchangecode": {
  37084. "description": "交易所代码",
  37085. "type": "string"
  37086. },
  37087. "exexchangename": {
  37088. "description": "交易所名称",
  37089. "type": "string"
  37090. },
  37091. "goodsgroupid": {
  37092. "description": "商品组ID(自增ID)",
  37093. "type": "integer"
  37094. },
  37095. "goodsgroupname": {
  37096. "description": "商品组名称",
  37097. "type": "string"
  37098. },
  37099. "goodunitid": {
  37100. "description": "报价单位ID",
  37101. "type": "integer"
  37102. }
  37103. }
  37104. },
  37105. "models.TBMiddleGoods": {
  37106. "type": "object",
  37107. "properties": {
  37108. "GPLST": {
  37109. "description": "期货品种列表",
  37110. "type": "array",
  37111. "items": {
  37112. "$ref": "#/definitions/models.TBGoodsGroup"
  37113. }
  37114. },
  37115. "WDLST": {
  37116. "description": "商品信息列表(现货品类)",
  37117. "type": "array",
  37118. "items": {
  37119. "$ref": "#/definitions/models.TBWrstandard"
  37120. }
  37121. },
  37122. "areauserid": {
  37123. "description": "机构用户ID",
  37124. "type": "integer"
  37125. },
  37126. "enumdicname": {
  37127. "description": "单位名称",
  37128. "type": "string"
  37129. },
  37130. "goodsunitid": {
  37131. "description": "套保品种单位id",
  37132. "type": "integer"
  37133. },
  37134. "middlegoodscode": {
  37135. "description": "套保品种代码",
  37136. "type": "string"
  37137. },
  37138. "middlegoodsid": {
  37139. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37140. "type": "integer"
  37141. },
  37142. "middlegoodsname": {
  37143. "description": "套保品种名称",
  37144. "type": "string"
  37145. },
  37146. "needarbitrageratio": {
  37147. "description": "套利比率",
  37148. "type": "number"
  37149. },
  37150. "needhedgeratio": {
  37151. "description": "套保比率",
  37152. "type": "number"
  37153. }
  37154. }
  37155. },
  37156. "models.TBWrstandard": {
  37157. "type": "object",
  37158. "properties": {
  37159. "convertratio": {
  37160. "description": "折算系数",
  37161. "type": "number"
  37162. },
  37163. "deliverygoodsname": {
  37164. "description": "品种名称",
  37165. "type": "string"
  37166. },
  37167. "enumdicname": {
  37168. "description": "单位名称",
  37169. "type": "string"
  37170. },
  37171. "vatrate": {
  37172. "description": "增值税率",
  37173. "type": "number"
  37174. },
  37175. "wrstandardcode": {
  37176. "description": "现货商品代码",
  37177. "type": "string"
  37178. },
  37179. "wrstandardid": {
  37180. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37181. "type": "integer"
  37182. },
  37183. "wrstandardname": {
  37184. "description": "现货商品名称",
  37185. "type": "string"
  37186. }
  37187. }
  37188. },
  37189. "models.Taaccount": {
  37190. "type": "object",
  37191. "required": [
  37192. "accountid",
  37193. "userid"
  37194. ],
  37195. "properties": {
  37196. "accountflag": {
  37197. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37198. "type": "integer"
  37199. },
  37200. "accountid": {
  37201. "description": "资金账户ID",
  37202. "type": "integer"
  37203. },
  37204. "accountname": {
  37205. "description": "账户名称",
  37206. "type": "string"
  37207. },
  37208. "balance": {
  37209. "description": "期初余额",
  37210. "type": "number"
  37211. },
  37212. "capitalbalance": {
  37213. "description": "本金余额[外部子账户实际出入金余额]",
  37214. "type": "number"
  37215. },
  37216. "changeflag": {
  37217. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37218. "type": "integer"
  37219. },
  37220. "changetime": {
  37221. "description": "账户状态变更时间",
  37222. "type": "string"
  37223. },
  37224. "closepl": {
  37225. "description": "今日平仓盈亏",
  37226. "type": "number"
  37227. },
  37228. "creditdecrease": {
  37229. "description": "今日授信减少",
  37230. "type": "number"
  37231. },
  37232. "creditincrease": {
  37233. "description": "今日授信增加",
  37234. "type": "number"
  37235. },
  37236. "curamount": {
  37237. "description": "总市值(从持仓中统计)",
  37238. "type": "number"
  37239. },
  37240. "currencyid": {
  37241. "description": "货币ID",
  37242. "type": "integer"
  37243. },
  37244. "currentbalance": {
  37245. "description": "期末余额",
  37246. "type": "number"
  37247. },
  37248. "freezecharge": {
  37249. "description": "手续费冻结",
  37250. "type": "number"
  37251. },
  37252. "freezemargin": {
  37253. "description": "冻结保证金",
  37254. "type": "number"
  37255. },
  37256. "fromaccountid": {
  37257. "description": "所属上级账户",
  37258. "type": "integer"
  37259. },
  37260. "inamount": {
  37261. "description": "今日入金金额(包括三方入金)",
  37262. "type": "number"
  37263. },
  37264. "ismain": {
  37265. "description": "是否母账号 0:不是母账户 1:是母账户",
  37266. "type": "integer"
  37267. },
  37268. "ismarketaccount": {
  37269. "description": "是否机构接单账号 0:不是 1:是",
  37270. "type": "integer"
  37271. },
  37272. "isreckonaccount": {
  37273. "description": "是否机构分润账号 0:不是 1:是",
  37274. "type": "integer"
  37275. },
  37276. "mortgagecredit": {
  37277. "description": "授信金额",
  37278. "type": "number"
  37279. },
  37280. "orifreezecharge": {
  37281. "description": "期初手续费冻结",
  37282. "type": "number"
  37283. },
  37284. "orifreezemargin": {
  37285. "description": "期初冻结保证金",
  37286. "type": "number"
  37287. },
  37288. "orimortgagecredit": {
  37289. "description": "期初授信金额",
  37290. "type": "number"
  37291. },
  37292. "oriothercredit": {
  37293. "description": "期初其它授信金额",
  37294. "type": "number"
  37295. },
  37296. "oriotherfreezemargin": {
  37297. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37298. "type": "number"
  37299. },
  37300. "orioutamountfreeze": {
  37301. "description": "期初出金冻结",
  37302. "type": "number"
  37303. },
  37304. "oriusedmargin": {
  37305. "description": "期初占用保证金",
  37306. "type": "number"
  37307. },
  37308. "othercredit": {
  37309. "description": "其它授信金额",
  37310. "type": "number"
  37311. },
  37312. "othercreditdecrease": {
  37313. "description": "今日其它授信减少",
  37314. "type": "number"
  37315. },
  37316. "othercreditincrease": {
  37317. "description": "今日其它授信增加",
  37318. "type": "number"
  37319. },
  37320. "otherfreezemargin": {
  37321. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37322. "type": "number"
  37323. },
  37324. "otherincome": {
  37325. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37326. "type": "number"
  37327. },
  37328. "otherpay": {
  37329. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37330. "type": "number"
  37331. },
  37332. "outamount": {
  37333. "description": "今日出金金额(包括三方出金)",
  37334. "type": "number"
  37335. },
  37336. "outamountfreeze": {
  37337. "description": "出金冻结",
  37338. "type": "number"
  37339. },
  37340. "outthreshold": {
  37341. "description": "出金阈值",
  37342. "type": "number"
  37343. },
  37344. "parentaccountid": {
  37345. "description": "所属根账号",
  37346. "type": "integer"
  37347. },
  37348. "paycharge": {
  37349. "description": "今日手续费支出",
  37350. "type": "number"
  37351. },
  37352. "relatedaccountstatus": {
  37353. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37354. "type": "integer"
  37355. },
  37356. "relateduserid": {
  37357. "description": "关联用户",
  37358. "type": "integer"
  37359. },
  37360. "remainamount": {
  37361. "description": "融资额(从融资合同中统计)",
  37362. "type": "number"
  37363. },
  37364. "serivcegroup": {
  37365. "description": "服务分组",
  37366. "type": "integer"
  37367. },
  37368. "signstatus": {
  37369. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37370. "type": "integer"
  37371. },
  37372. "sublevelpath": {
  37373. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37374. "type": "string"
  37375. },
  37376. "taaccounttype": {
  37377. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37378. "type": "integer"
  37379. },
  37380. "thirdinamount": {
  37381. "description": "今日三方入金",
  37382. "type": "number"
  37383. },
  37384. "thirdoutamount": {
  37385. "description": "今日三方出金",
  37386. "type": "number"
  37387. },
  37388. "tradestatus": {
  37389. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37390. "type": "integer"
  37391. },
  37392. "tradestatuschangetime": {
  37393. "description": "激活时间",
  37394. "type": "string"
  37395. },
  37396. "transferamount": {
  37397. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37398. "type": "number"
  37399. },
  37400. "usedmargin": {
  37401. "description": "占用保证金",
  37402. "type": "number"
  37403. },
  37404. "userid": {
  37405. "description": "用户ID",
  37406. "type": "integer"
  37407. }
  37408. }
  37409. },
  37410. "models.Tablecolumnconfig": {
  37411. "type": "object",
  37412. "required": [
  37413. "autoid"
  37414. ],
  37415. "properties": {
  37416. "aligntype": {
  37417. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37418. "type": "integer"
  37419. },
  37420. "autoid": {
  37421. "description": "AutoID",
  37422. "type": "integer"
  37423. },
  37424. "columnfield": {
  37425. "description": "列字段",
  37426. "type": "string"
  37427. },
  37428. "columntitle": {
  37429. "description": "列Title",
  37430. "type": "string"
  37431. },
  37432. "columnwidth": {
  37433. "description": "列宽",
  37434. "type": "string"
  37435. },
  37436. "fixed": {
  37437. "description": "固定类型 - 空 | left | right",
  37438. "type": "string"
  37439. },
  37440. "formatterstring": {
  37441. "description": "格式化字符",
  37442. "type": "string"
  37443. },
  37444. "formattertype": {
  37445. "description": "格式化类型",
  37446. "type": "string"
  37447. },
  37448. "groupname": {
  37449. "description": "表头分组名称",
  37450. "type": "string"
  37451. },
  37452. "ismerge": {
  37453. "description": "是否合并显示 - 0:不合并 1:合并",
  37454. "type": "integer"
  37455. },
  37456. "isshow": {
  37457. "description": "是否显示 - 0:不显示 1:显示",
  37458. "type": "integer"
  37459. },
  37460. "needsummary": {
  37461. "description": "是否需要汇总 - 0:不需要 1:需要",
  37462. "type": "integer"
  37463. },
  37464. "orderindex": {
  37465. "description": "顺序",
  37466. "type": "integer"
  37467. },
  37468. "remark": {
  37469. "description": "备注",
  37470. "type": "string"
  37471. },
  37472. "summarytype": {
  37473. "description": "汇总类型 - 1:加总 2:最后一个",
  37474. "type": "integer"
  37475. },
  37476. "tablekey": {
  37477. "description": "列表Key",
  37478. "type": "string"
  37479. }
  37480. }
  37481. },
  37482. "models.TjmdHolderDetailTradeInfo": {
  37483. "type": "object",
  37484. "properties": {
  37485. "agreeunit": {
  37486. "description": "合约乘数",
  37487. "type": "number"
  37488. },
  37489. "buyaccountid": {
  37490. "description": "买方账户",
  37491. "type": "string"
  37492. },
  37493. "buyusername": {
  37494. "description": "买方",
  37495. "type": "string"
  37496. },
  37497. "delistingdate": {
  37498. "description": "最后结算日",
  37499. "type": "string"
  37500. },
  37501. "expiredate": {
  37502. "description": "到期结算价定价日",
  37503. "type": "string"
  37504. },
  37505. "exprieprice": {
  37506. "description": "到期清算价格",
  37507. "type": "string"
  37508. },
  37509. "goodscode": {
  37510. "description": "商品代码",
  37511. "type": "string"
  37512. },
  37513. "goodsid": {
  37514. "description": "商品ID",
  37515. "type": "integer"
  37516. },
  37517. "goodsname": {
  37518. "description": "商品名称(交易标的)",
  37519. "type": "string"
  37520. },
  37521. "lasttradedate": {
  37522. "description": "最后交易日",
  37523. "type": "string"
  37524. },
  37525. "listingdate": {
  37526. "description": "开始交易日",
  37527. "type": "string"
  37528. },
  37529. "openprice": {
  37530. "description": "成交价",
  37531. "type": "number"
  37532. },
  37533. "openqty": {
  37534. "description": "交易数量",
  37535. "type": "integer"
  37536. },
  37537. "sellaccountid": {
  37538. "description": "卖方账户",
  37539. "type": "string"
  37540. },
  37541. "sellusername": {
  37542. "description": "卖方",
  37543. "type": "string"
  37544. },
  37545. "tradeamount": {
  37546. "description": "初始名义价值",
  37547. "type": "number"
  37548. },
  37549. "tradedate": {
  37550. "description": "成交日期",
  37551. "type": "string"
  37552. },
  37553. "tradeid": {
  37554. "description": "成交编号",
  37555. "type": "string"
  37556. }
  37557. }
  37558. },
  37559. "models.TjmdMarketSection": {
  37560. "type": "object",
  37561. "properties": {
  37562. "marketsectionid": {
  37563. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37564. "type": "integer"
  37565. },
  37566. "marketsectionname": {
  37567. "description": "市场版块名称",
  37568. "type": "string"
  37569. },
  37570. "mlist": {
  37571. "description": "市场列表(板块下面有多少个市场)",
  37572. "type": "array",
  37573. "items": {
  37574. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  37575. }
  37576. },
  37577. "orderindex": {
  37578. "description": "排序",
  37579. "type": "integer"
  37580. },
  37581. "pictureurl": {
  37582. "description": "图片url, 规格(90*90)",
  37583. "type": "string"
  37584. },
  37585. "remark": {
  37586. "description": "备注",
  37587. "type": "string"
  37588. }
  37589. }
  37590. },
  37591. "models.TjmdMarketSectionConfig": {
  37592. "type": "object",
  37593. "properties": {
  37594. "auctionwrtype": {
  37595. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  37596. "type": "integer"
  37597. },
  37598. "canacceptquote": {
  37599. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  37600. "type": "integer"
  37601. },
  37602. "cangoodsexercise": {
  37603. "description": "[期权]是否可现货行权- 0:否 1:是",
  37604. "type": "integer"
  37605. },
  37606. "cangoodsexercisetype": {
  37607. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  37608. "type": "integer"
  37609. },
  37610. "canmanualquotestrike": {
  37611. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  37612. "type": "integer"
  37613. },
  37614. "canmutistage": {
  37615. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  37616. "type": "integer"
  37617. },
  37618. "canpreexercise": {
  37619. "description": "[期权]是否可预申报- 0:否 1:是",
  37620. "type": "integer"
  37621. },
  37622. "clearinterval": {
  37623. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  37624. "type": "integer"
  37625. },
  37626. "contracttmp": {
  37627. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  37628. "type": "string"
  37629. },
  37630. "exchareaid": {
  37631. "description": "所属交易所,可以没有",
  37632. "type": "integer"
  37633. },
  37634. "financemarketid": {
  37635. "description": "融资回购市场ID [仓单贸易]",
  37636. "type": "integer"
  37637. },
  37638. "goodstype": {
  37639. "description": "商品类型 - 1:交易商品 2:仓单商品",
  37640. "type": "integer"
  37641. },
  37642. "hasrebate": {
  37643. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  37644. "type": "integer"
  37645. },
  37646. "hastradecredit": {
  37647. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  37648. "type": "integer"
  37649. },
  37650. "haswr": {
  37651. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37652. "type": "integer"
  37653. },
  37654. "isdeductmargin": {
  37655. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37656. "type": "integer"
  37657. },
  37658. "isrecordsource": {
  37659. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37660. "type": "integer"
  37661. },
  37662. "isreleasemargin": {
  37663. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37664. "type": "integer"
  37665. },
  37666. "isupdatereckonprice": {
  37667. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37668. "type": "integer"
  37669. },
  37670. "listingmode": {
  37671. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37672. "type": "integer"
  37673. },
  37674. "marginformula": {
  37675. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37676. "type": "integer"
  37677. },
  37678. "marginformula2": {
  37679. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37680. "type": "integer"
  37681. },
  37682. "marketid": {
  37683. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37684. "type": "integer"
  37685. },
  37686. "marketname": {
  37687. "description": "市场名称",
  37688. "type": "string"
  37689. },
  37690. "marketsectionid": {
  37691. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37692. "type": "integer"
  37693. },
  37694. "marketserviceid": {
  37695. "description": "市场服务ID",
  37696. "type": "integer"
  37697. },
  37698. "marketstatus": {
  37699. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37700. "type": "integer"
  37701. },
  37702. "markettype": {
  37703. "description": "市场类型- 1:非交易服务 2:交易服务",
  37704. "type": "integer"
  37705. },
  37706. "matchermode": {
  37707. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37708. "type": "integer"
  37709. },
  37710. "nowrquotaflag": {
  37711. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37712. "type": "integer"
  37713. },
  37714. "openmethod": {
  37715. "description": "开盘模式 - 0 自动 1手动",
  37716. "type": "integer"
  37717. },
  37718. "orderindex": {
  37719. "description": "排序",
  37720. "type": "integer"
  37721. },
  37722. "otcuserid": {
  37723. "description": "场外期权做市商[场外期权]",
  37724. "type": "integer"
  37725. },
  37726. "outersynctime": {
  37727. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  37728. "type": "string"
  37729. },
  37730. "paylaterflag": {
  37731. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  37732. "type": "integer"
  37733. },
  37734. "pendingflag": {
  37735. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  37736. "type": "integer"
  37737. },
  37738. "pendingtime": {
  37739. "description": "待开市时间[通道交易-对冲](HH:mm)",
  37740. "type": "string"
  37741. },
  37742. "performancetempid": {
  37743. "description": "履约计划模板ID - 作废",
  37744. "type": "integer"
  37745. },
  37746. "premiumquotemode": {
  37747. "description": "权利金报价方式 - 1:自动 2:手动",
  37748. "type": "integer"
  37749. },
  37750. "rebateratio": {
  37751. "description": "返利比率[竞价式]",
  37752. "type": "number"
  37753. },
  37754. "reckonorder": {
  37755. "description": "结算顺序",
  37756. "type": "integer"
  37757. },
  37758. "reckonpricealgorithm": {
  37759. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  37760. "type": "integer"
  37761. },
  37762. "reckonpriceparam": {
  37763. "description": "结算价参数",
  37764. "type": "integer"
  37765. },
  37766. "reckontime": {
  37767. "description": "结算时间[通道交易-对冲](HH:mm)",
  37768. "type": "string"
  37769. },
  37770. "roleprioritytype": {
  37771. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  37772. "type": "integer"
  37773. },
  37774. "selllistingauditflag": {
  37775. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  37776. "type": "integer"
  37777. },
  37778. "trademarkettype": {
  37779. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  37780. "type": "integer"
  37781. },
  37782. "trademode": {
  37783. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37784. "type": "integer"
  37785. },
  37786. "tradeproperty": {
  37787. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  37788. "type": "integer"
  37789. },
  37790. "tradetype": {
  37791. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  37792. "type": "integer"
  37793. },
  37794. "updatereckonpriceinterval": {
  37795. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  37796. "type": "integer"
  37797. }
  37798. }
  37799. },
  37800. "models.TjmdQuoteGoods": {
  37801. "type": "object",
  37802. "properties": {
  37803. "buyqty": {
  37804. "description": "买量(暂不做, 无值, 保留字段)",
  37805. "type": "number"
  37806. },
  37807. "decimalplace": {
  37808. "description": "报价小数位",
  37809. "type": "integer"
  37810. },
  37811. "goodscode": {
  37812. "description": "合约代码",
  37813. "type": "string"
  37814. },
  37815. "goodsgroupid": {
  37816. "description": "商品组ID(自增ID)",
  37817. "type": "integer"
  37818. },
  37819. "goodsgroupname": {
  37820. "description": "商品组名称",
  37821. "type": "string"
  37822. },
  37823. "goodsid": {
  37824. "description": "合约id",
  37825. "type": "integer"
  37826. },
  37827. "goodsname": {
  37828. "description": "合约名称",
  37829. "type": "string"
  37830. },
  37831. "refgoodscode": {
  37832. "description": "标的合约代码",
  37833. "type": "string"
  37834. },
  37835. "refgoodsid": {
  37836. "description": "标的合约id",
  37837. "type": "integer"
  37838. },
  37839. "refgoodsname": {
  37840. "description": "标的合约名称",
  37841. "type": "string"
  37842. },
  37843. "sellqty": {
  37844. "description": "卖量(暂不做, 无值, 保留字段)",
  37845. "type": "number"
  37846. }
  37847. }
  37848. },
  37849. "models.TjmdTodayAccountMargin": {
  37850. "type": "object",
  37851. "properties": {
  37852. "accountid": {
  37853. "description": "账号ID",
  37854. "type": "integer"
  37855. },
  37856. "goodsid": {
  37857. "description": "商品ID",
  37858. "type": "integer"
  37859. },
  37860. "infoc": {
  37861. "description": "配置参数",
  37862. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  37863. },
  37864. "marketid": {
  37865. "description": "市场ID",
  37866. "type": "integer"
  37867. }
  37868. }
  37869. },
  37870. "models.TjmdTradeOrderDetail": {
  37871. "type": "object",
  37872. "properties": {
  37873. "buyorsell": {
  37874. "description": "买卖方向 0-买 1-卖",
  37875. "type": "integer"
  37876. },
  37877. "goodsid": {
  37878. "description": "商品id",
  37879. "type": "integer"
  37880. },
  37881. "marketmaxsub": {
  37882. "description": "市价最大偏移范围 [浮动价 - 点差]",
  37883. "type": "number"
  37884. },
  37885. "orderid": {
  37886. "description": "委托单号",
  37887. "type": "string"
  37888. },
  37889. "orderprice": {
  37890. "description": "期初均价",
  37891. "type": "number"
  37892. },
  37893. "orderqty": {
  37894. "description": "委托数量",
  37895. "type": "integer"
  37896. },
  37897. "pricemode": {
  37898. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  37899. "type": "integer"
  37900. },
  37901. "userid": {
  37902. "description": "用户id",
  37903. "type": "integer"
  37904. },
  37905. "username": {
  37906. "description": "用户名称(已脱敏)",
  37907. "type": "string"
  37908. }
  37909. }
  37910. },
  37911. "models.TjmdTransferApply": {
  37912. "type": "object",
  37913. "properties": {
  37914. "applyid": {
  37915. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  37916. "type": "integer"
  37917. },
  37918. "applystatus": {
  37919. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  37920. "type": "integer"
  37921. },
  37922. "applytime": {
  37923. "description": "申请时间(时间)",
  37924. "type": "string"
  37925. },
  37926. "auditremark": {
  37927. "description": "审核备注(拒绝原因?)",
  37928. "type": "string"
  37929. },
  37930. "begindate": {
  37931. "description": "开始交易日(yyyymmdd)",
  37932. "type": "string"
  37933. },
  37934. "buyorsell": {
  37935. "description": "买卖 - 0:买 1:卖",
  37936. "type": "integer"
  37937. },
  37938. "enddate": {
  37939. "description": "结束交易日(yyyymmdd)",
  37940. "type": "string"
  37941. },
  37942. "goodscode": {
  37943. "description": "商品代码",
  37944. "type": "string"
  37945. },
  37946. "goodsid": {
  37947. "description": "商品ID",
  37948. "type": "integer"
  37949. },
  37950. "goodsname": {
  37951. "description": "商品名称",
  37952. "type": "string"
  37953. },
  37954. "marketid": {
  37955. "description": "市场ID",
  37956. "type": "integer"
  37957. },
  37958. "qty": {
  37959. "description": "期初均价",
  37960. "type": "number"
  37961. },
  37962. "tradeid": {
  37963. "description": "成交单号(关联持仓)",
  37964. "type": "string"
  37965. },
  37966. "transferamount": {
  37967. "description": "转让总金额(金额)",
  37968. "type": "number"
  37969. },
  37970. "transferprice": {
  37971. "description": "转让价格(协议价格)",
  37972. "type": "number"
  37973. }
  37974. }
  37975. },
  37976. "models.TradeHolderDetail": {
  37977. "type": "object",
  37978. "properties": {
  37979. "accountid": {
  37980. "description": "账号ID",
  37981. "type": "integer"
  37982. },
  37983. "agreeunit": {
  37984. "description": "合约乘数",
  37985. "type": "number"
  37986. },
  37987. "buyorsell": {
  37988. "description": "方向 - 0:买 1:卖",
  37989. "type": "integer"
  37990. },
  37991. "currencyid": {
  37992. "description": "商品币种id",
  37993. "type": "integer"
  37994. },
  37995. "currencyname": {
  37996. "description": "币种名称",
  37997. "type": "string"
  37998. },
  37999. "decimalplace": {
  38000. "description": "商品价格小数位",
  38001. "type": "integer"
  38002. },
  38003. "enumdicname": {
  38004. "description": "商品单位名称",
  38005. "type": "string"
  38006. },
  38007. "expirecycle": {
  38008. "description": "行权周期(天) - 1:滚动行权时填写",
  38009. "type": "integer"
  38010. },
  38011. "expiredate": {
  38012. "description": "行权日(yyyyMMdd) - 到期日",
  38013. "type": "string"
  38014. },
  38015. "expiretype": {
  38016. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38017. "type": "integer"
  38018. },
  38019. "freezeqty": {
  38020. "description": "期初均价",
  38021. "type": "number"
  38022. },
  38023. "goodscode": {
  38024. "description": "商品代码",
  38025. "type": "string"
  38026. },
  38027. "goodsid": {
  38028. "description": "商品ID",
  38029. "type": "integer"
  38030. },
  38031. "goodsname": {
  38032. "description": "商品名称",
  38033. "type": "string"
  38034. },
  38035. "goodunitid": {
  38036. "description": "商品单位id",
  38037. "type": "integer"
  38038. },
  38039. "holderamount": {
  38040. "description": "持仓金额",
  38041. "type": "number"
  38042. },
  38043. "holdercredit": {
  38044. "description": "持仓授信金额",
  38045. "type": "number"
  38046. },
  38047. "holderdays": {
  38048. "description": "剩余冻结天数",
  38049. "type": "integer"
  38050. },
  38051. "holderprice": {
  38052. "description": "持仓价格",
  38053. "type": "number"
  38054. },
  38055. "holderqty": {
  38056. "description": "期初均价",
  38057. "type": "number"
  38058. },
  38059. "isconfirmexercise": {
  38060. "description": "是否确认行权- 0:否 1:是",
  38061. "type": "integer"
  38062. },
  38063. "ispreexercise": {
  38064. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38065. "type": "integer"
  38066. },
  38067. "marketid": {
  38068. "description": "市场id",
  38069. "type": "integer"
  38070. },
  38071. "marketname": {
  38072. "description": "市场名称",
  38073. "type": "string"
  38074. },
  38075. "openprice": {
  38076. "description": "建仓价格",
  38077. "type": "number"
  38078. },
  38079. "openqty": {
  38080. "description": "期初均价",
  38081. "type": "number"
  38082. },
  38083. "optiontype": {
  38084. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38085. "type": "integer"
  38086. },
  38087. "preexerciseprice": {
  38088. "description": "预申报价格",
  38089. "type": "number"
  38090. },
  38091. "premium": {
  38092. "description": "权利金",
  38093. "type": "number"
  38094. },
  38095. "qtydecimalplace": {
  38096. "description": "商品成交量小数位",
  38097. "type": "integer"
  38098. },
  38099. "refgoodscode": {
  38100. "description": "标的合约代码",
  38101. "type": "string"
  38102. },
  38103. "refgoodsid": {
  38104. "description": "标的合约id",
  38105. "type": "integer"
  38106. },
  38107. "releaseamount": {
  38108. "description": "释放持仓金额",
  38109. "type": "number"
  38110. },
  38111. "releaseholdercredit": {
  38112. "description": "释放持仓授信金额",
  38113. "type": "number"
  38114. },
  38115. "taname": {
  38116. "description": "资金账号名称",
  38117. "type": "string"
  38118. },
  38119. "tradeamount": {
  38120. "description": "成交金额",
  38121. "type": "number"
  38122. },
  38123. "tradedate": {
  38124. "description": "交易日(yyyyMMdd)",
  38125. "type": "string"
  38126. },
  38127. "tradeid": {
  38128. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38129. "type": "string"
  38130. },
  38131. "trademode": {
  38132. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38133. "type": "integer"
  38134. },
  38135. "tradeproperty": {
  38136. "description": "交易属性",
  38137. "type": "integer"
  38138. },
  38139. "tradetime": {
  38140. "description": "交易时间",
  38141. "type": "string"
  38142. },
  38143. "userid": {
  38144. "description": "用户id",
  38145. "type": "integer"
  38146. },
  38147. "username": {
  38148. "description": "用户名称",
  38149. "type": "string"
  38150. }
  38151. }
  38152. },
  38153. "models.Unlinkermcphedgeplan": {
  38154. "type": "object",
  38155. "required": [
  38156. "areauserid"
  38157. ],
  38158. "properties": {
  38159. "accountid": {
  38160. "description": "期货账户ID - 作废",
  38161. "type": "integer"
  38162. },
  38163. "accountname": {
  38164. "description": "交易用户",
  38165. "type": "string"
  38166. },
  38167. "applyid": {
  38168. "description": "申请人",
  38169. "type": "integer"
  38170. },
  38171. "applysrc": {
  38172. "description": "申请来源 - 1:管理端 2:终端",
  38173. "type": "integer"
  38174. },
  38175. "applytime": {
  38176. "description": "申请时间",
  38177. "type": "string"
  38178. },
  38179. "areauserid": {
  38180. "description": "[企业ID]机构ID",
  38181. "type": "integer"
  38182. },
  38183. "auditid": {
  38184. "description": "审核人",
  38185. "type": "integer"
  38186. },
  38187. "auditremark": {
  38188. "description": "审核备注",
  38189. "type": "string"
  38190. },
  38191. "auditsrc": {
  38192. "description": "审核来源 - 1:管理端 2:终端",
  38193. "type": "integer"
  38194. },
  38195. "audittime": {
  38196. "description": "审核时间",
  38197. "type": "string"
  38198. },
  38199. "audittradedate": {
  38200. "description": "审核交易日(yyyyMMdd)",
  38201. "type": "string"
  38202. },
  38203. "biztype": {
  38204. "description": "业务类型 - 1:套保",
  38205. "type": "integer"
  38206. },
  38207. "contracttype": {
  38208. "description": "计划类型 - 1:采购 -1:销售",
  38209. "type": "integer"
  38210. },
  38211. "convertfactor": {
  38212. "description": "标仓系数 - 作废",
  38213. "type": "number"
  38214. },
  38215. "createtime": {
  38216. "description": "创建时间",
  38217. "type": "string"
  38218. },
  38219. "currencyid": {
  38220. "description": "结算币种ID - 作废",
  38221. "type": "integer"
  38222. },
  38223. "deliverygoodsid": {
  38224. "description": "现货品种ID",
  38225. "type": "integer"
  38226. },
  38227. "enumdicname": {
  38228. "description": "结算币种",
  38229. "type": "string"
  38230. },
  38231. "hedgeplanid": {
  38232. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38233. "type": "string"
  38234. },
  38235. "hedgeplanno": {
  38236. "description": "[计划编号]套保计划编号,模糊查询",
  38237. "type": "string"
  38238. },
  38239. "hedgeplanstatus": {
  38240. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38241. "type": "integer"
  38242. },
  38243. "isrelated": {
  38244. "description": "是否已关联计划项目 - 0:否 1:是",
  38245. "type": "integer"
  38246. },
  38247. "planqty": {
  38248. "description": "[计划量]计划数量",
  38249. "type": "number"
  38250. },
  38251. "plantime": {
  38252. "description": "计划时间",
  38253. "type": "string"
  38254. },
  38255. "producttype": {
  38256. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38257. "type": "integer"
  38258. },
  38259. "remark": {
  38260. "description": "备注",
  38261. "type": "string"
  38262. },
  38263. "spotgoodsdesc": {
  38264. "description": "商品型号",
  38265. "type": "string"
  38266. },
  38267. "tradedate": {
  38268. "description": "交易日(yyyyMMdd)",
  38269. "type": "string"
  38270. },
  38271. "tradeuserid": {
  38272. "description": "交易用户ID",
  38273. "type": "integer"
  38274. },
  38275. "updatetime": {
  38276. "description": "更新时间",
  38277. "type": "string"
  38278. },
  38279. "wrstandardid": {
  38280. "description": "现货商品ID",
  38281. "type": "integer"
  38282. },
  38283. "wrstandardname": {
  38284. "description": "现货商品,模糊查询",
  38285. "type": "string"
  38286. }
  38287. }
  38288. },
  38289. "models.UserCollectConfig": {
  38290. "type": "object",
  38291. "properties": {
  38292. "accountstatus": {
  38293. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38294. "type": "integer"
  38295. },
  38296. "collectaccountname": {
  38297. "description": "收款人账户名称",
  38298. "type": "string"
  38299. },
  38300. "collectaccountno": {
  38301. "description": "收款人账户",
  38302. "type": "string"
  38303. },
  38304. "collectbankname": {
  38305. "description": "收款人开户行",
  38306. "type": "string"
  38307. },
  38308. "collectbranchbankname": {
  38309. "description": "收款人开户支行",
  38310. "type": "string"
  38311. },
  38312. "collectconfigid": {
  38313. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38314. "type": "string"
  38315. },
  38316. "remark": {
  38317. "description": "备注",
  38318. "type": "string"
  38319. },
  38320. "userid": {
  38321. "description": "收款人用户ID",
  38322. "type": "integer"
  38323. }
  38324. }
  38325. },
  38326. "models.UserReceiveInfo": {
  38327. "type": "object",
  38328. "properties": {
  38329. "address": {
  38330. "description": "提货人详细地址",
  38331. "type": "string"
  38332. },
  38333. "autoid": {
  38334. "description": "AutoID",
  38335. "type": "integer"
  38336. },
  38337. "cardnum": {
  38338. "description": "证件号码(加密存储)",
  38339. "type": "string"
  38340. },
  38341. "cardtypeid": {
  38342. "description": "证件类型",
  38343. "type": "integer"
  38344. },
  38345. "cityid": {
  38346. "description": "市",
  38347. "type": "integer"
  38348. },
  38349. "cityname": {
  38350. "description": "城市名称",
  38351. "type": "string"
  38352. },
  38353. "countryid": {
  38354. "description": "国家",
  38355. "type": "integer"
  38356. },
  38357. "countryname": {
  38358. "description": "国家名称",
  38359. "type": "string"
  38360. },
  38361. "districtid": {
  38362. "description": "地区",
  38363. "type": "integer"
  38364. },
  38365. "districtname": {
  38366. "description": "地区名称",
  38367. "type": "string"
  38368. },
  38369. "hasencrypt": {
  38370. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38371. "type": "integer"
  38372. },
  38373. "isdefault": {
  38374. "description": "是否默认地址 - 0:否 1:是",
  38375. "type": "integer"
  38376. },
  38377. "phonenum": {
  38378. "description": "提货人联系方式(加密存储)",
  38379. "type": "string"
  38380. },
  38381. "provinceid": {
  38382. "description": "省",
  38383. "type": "integer"
  38384. },
  38385. "provincename": {
  38386. "description": "省名称",
  38387. "type": "string"
  38388. },
  38389. "receivername": {
  38390. "description": "提货人姓名",
  38391. "type": "string"
  38392. },
  38393. "takeremark": {
  38394. "description": "提货备注",
  38395. "type": "string"
  38396. },
  38397. "userid": {
  38398. "description": "用户ID",
  38399. "type": "integer"
  38400. }
  38401. }
  38402. },
  38403. "models.Useraccount": {
  38404. "type": "object",
  38405. "required": [
  38406. "userid"
  38407. ],
  38408. "properties": {
  38409. "accountname": {
  38410. "description": "账户名称(机构名称)",
  38411. "type": "string"
  38412. },
  38413. "accountstatus": {
  38414. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38415. "type": "integer"
  38416. },
  38417. "applysrc": {
  38418. "description": "申请来源 - 1:管理端 2:终端",
  38419. "type": "integer"
  38420. },
  38421. "auditremark": {
  38422. "description": "审核备注",
  38423. "type": "string"
  38424. },
  38425. "auditsrc": {
  38426. "description": "审核来源 - 1:管理端 2:终端",
  38427. "type": "integer"
  38428. },
  38429. "audittime": {
  38430. "description": "审核时间",
  38431. "type": "string"
  38432. },
  38433. "audituserid": {
  38434. "description": "审核人",
  38435. "type": "integer"
  38436. },
  38437. "broker": {
  38438. "description": "所属经纪人ID",
  38439. "type": "integer"
  38440. },
  38441. "canceltime": {
  38442. "description": "销户时间",
  38443. "type": "string"
  38444. },
  38445. "canceluserid": {
  38446. "description": "销户人",
  38447. "type": "integer"
  38448. },
  38449. "canrecommend": {
  38450. "description": "是否可推荐 - 0:不可 1;可",
  38451. "type": "integer"
  38452. },
  38453. "createtime": {
  38454. "description": "创建时间",
  38455. "type": "string"
  38456. },
  38457. "creatorid": {
  38458. "description": "创建人",
  38459. "type": "integer"
  38460. },
  38461. "hasauth": {
  38462. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  38463. "type": "integer"
  38464. },
  38465. "isanonymous": {
  38466. "description": "是否匿名下单 - 0:否 1:是",
  38467. "type": "integer"
  38468. },
  38469. "maxinvestornum": {
  38470. "description": "最大用户数(经纪会员下投资者个数)",
  38471. "type": "integer"
  38472. },
  38473. "memberuserid": {
  38474. "description": "所属会员ID",
  38475. "type": "integer"
  38476. },
  38477. "modifierid": {
  38478. "description": "修改人",
  38479. "type": "integer"
  38480. },
  38481. "modifyremark": {
  38482. "description": "变更备注",
  38483. "type": "string"
  38484. },
  38485. "modifystatus": {
  38486. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  38487. "type": "integer"
  38488. },
  38489. "modifytime": {
  38490. "description": "修改时间",
  38491. "type": "string"
  38492. },
  38493. "parenttopuser": {
  38494. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  38495. "type": "string"
  38496. },
  38497. "parentuserid": {
  38498. "description": "所属机构ID",
  38499. "type": "integer"
  38500. },
  38501. "reckonaccountid": {
  38502. "description": "默认结算资金账号ID(机构分润使用) 作废",
  38503. "type": "integer"
  38504. },
  38505. "refercount": {
  38506. "description": "推荐总人数",
  38507. "type": "integer"
  38508. },
  38509. "refereeuserid": {
  38510. "description": "推荐人ID",
  38511. "type": "integer"
  38512. },
  38513. "refernum": {
  38514. "description": "推荐码",
  38515. "type": "string"
  38516. },
  38517. "rootuserid": {
  38518. "description": "根用户ID",
  38519. "type": "integer"
  38520. },
  38521. "subaccountlevel": {
  38522. "description": "子账户层数",
  38523. "type": "integer"
  38524. },
  38525. "subarealevelpath": {
  38526. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  38527. "type": "string"
  38528. },
  38529. "userid": {
  38530. "description": "用户ID",
  38531. "type": "integer"
  38532. },
  38533. "usertype": {
  38534. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38535. "type": "integer"
  38536. }
  38537. }
  38538. },
  38539. "models.Userfavoritegoods": {
  38540. "type": "object",
  38541. "required": [
  38542. "goodsid"
  38543. ],
  38544. "properties": {
  38545. "goodsid": {
  38546. "description": "商品ID",
  38547. "type": "integer"
  38548. }
  38549. }
  38550. },
  38551. "models.Userinfo": {
  38552. "type": "object",
  38553. "required": [
  38554. "userid"
  38555. ],
  38556. "properties": {
  38557. "address": {
  38558. "description": "地址",
  38559. "type": "string"
  38560. },
  38561. "attachment1": {
  38562. "description": "附件1",
  38563. "type": "string"
  38564. },
  38565. "attachment2": {
  38566. "description": "附件2",
  38567. "type": "string"
  38568. },
  38569. "bankaccount": {
  38570. "description": "银行帐号 (加密存储)",
  38571. "type": "string"
  38572. },
  38573. "bankaccountname": {
  38574. "description": "收款人名称",
  38575. "type": "string"
  38576. },
  38577. "bankcardfrontphotourl": {
  38578. "description": "银行卡正面照地址",
  38579. "type": "string"
  38580. },
  38581. "bankid": {
  38582. "description": "银行编码",
  38583. "type": "string"
  38584. },
  38585. "bankname": {
  38586. "description": "银行名称",
  38587. "type": "string"
  38588. },
  38589. "biznature": {
  38590. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38591. "type": "integer"
  38592. },
  38593. "bizscope": {
  38594. "description": "企业经营范围(企业)",
  38595. "type": "string"
  38596. },
  38597. "cardbackphotourl": {
  38598. "description": "证件背面图片地址",
  38599. "type": "string"
  38600. },
  38601. "cardfrontphotourl": {
  38602. "description": "证件正面图片地址",
  38603. "type": "string"
  38604. },
  38605. "cardnum": {
  38606. "description": "证件号码(加密存储)",
  38607. "type": "string"
  38608. },
  38609. "cardtypeid": {
  38610. "description": "证件类型ID",
  38611. "type": "integer"
  38612. },
  38613. "cityid": {
  38614. "description": "市",
  38615. "type": "integer"
  38616. },
  38617. "company": {
  38618. "description": "公司(个人)",
  38619. "type": "string"
  38620. },
  38621. "contactname": {
  38622. "description": "联系人",
  38623. "type": "string"
  38624. },
  38625. "countryid": {
  38626. "description": "国家",
  38627. "type": "integer"
  38628. },
  38629. "createtime": {
  38630. "description": "创建时间",
  38631. "type": "string"
  38632. },
  38633. "creatorid": {
  38634. "description": "创建人",
  38635. "type": "integer"
  38636. },
  38637. "customername": {
  38638. "description": "客户名称(企业名称)",
  38639. "type": "string"
  38640. },
  38641. "districtid": {
  38642. "description": "地区",
  38643. "type": "integer"
  38644. },
  38645. "email": {
  38646. "description": "邮件(加密存储)",
  38647. "type": "string"
  38648. },
  38649. "fax": {
  38650. "description": "传真(加密存储)",
  38651. "type": "string"
  38652. },
  38653. "halfbodyphotourl": {
  38654. "description": "半身照地址",
  38655. "type": "string"
  38656. },
  38657. "hasencrypt": {
  38658. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38659. "type": "integer"
  38660. },
  38661. "headurl": {
  38662. "description": "头像地址",
  38663. "type": "string"
  38664. },
  38665. "legalcardbackphotourl": {
  38666. "description": "法人身份证背面照地址",
  38667. "type": "string"
  38668. },
  38669. "legalcardfrontphotourl": {
  38670. "description": "法人身份证正面照地址",
  38671. "type": "string"
  38672. },
  38673. "legalpersonname": {
  38674. "description": "法人姓名(企业)",
  38675. "type": "string"
  38676. },
  38677. "mobile": {
  38678. "description": "手机号码(加密存储)",
  38679. "type": "string"
  38680. },
  38681. "mobile2": {
  38682. "description": "手机号码[明文-尚志]",
  38683. "type": "string"
  38684. },
  38685. "modifierid": {
  38686. "description": "修改人",
  38687. "type": "integer"
  38688. },
  38689. "modifiertime": {
  38690. "description": "修改时间",
  38691. "type": "string"
  38692. },
  38693. "needinvoice": {
  38694. "description": "是否需要发票 - 0:不需要 1:需要",
  38695. "type": "integer"
  38696. },
  38697. "nickname": {
  38698. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38699. "type": "string"
  38700. },
  38701. "openmode": {
  38702. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38703. "type": "integer"
  38704. },
  38705. "otherurl": {
  38706. "description": "其它图片地址[使用分号分隔]",
  38707. "type": "string"
  38708. },
  38709. "postalcode": {
  38710. "description": "邮政编码",
  38711. "type": "string"
  38712. },
  38713. "provinceid": {
  38714. "description": "省",
  38715. "type": "integer"
  38716. },
  38717. "qq": {
  38718. "description": "QQ(加密存储",
  38719. "type": "string"
  38720. },
  38721. "remark": {
  38722. "description": "备注",
  38723. "type": "string"
  38724. },
  38725. "sex": {
  38726. "description": "用户性别 0: 女 1: 男",
  38727. "type": "integer"
  38728. },
  38729. "signpdfurl": {
  38730. "description": "签约pdf文件",
  38731. "type": "string"
  38732. },
  38733. "telphone": {
  38734. "description": "联系电话(加密存储)",
  38735. "type": "string"
  38736. },
  38737. "userid": {
  38738. "description": "用户ID",
  38739. "type": "integer"
  38740. },
  38741. "userinfotype": {
  38742. "description": "用户信息类型 - 1:个人 2:企业",
  38743. "type": "integer"
  38744. },
  38745. "userstatus": {
  38746. "description": "用户状态 - 1:正常 2:注销",
  38747. "type": "integer"
  38748. },
  38749. "usertype": {
  38750. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  38751. "type": "integer"
  38752. },
  38753. "wechat": {
  38754. "description": "微信(加密存储)",
  38755. "type": "string"
  38756. },
  38757. "wskhinfo": {
  38758. "description": "开户申请信息(JSON)",
  38759. "type": "string"
  38760. }
  38761. }
  38762. },
  38763. "models.WRSConverTDetail": {
  38764. "type": "object",
  38765. "properties": {
  38766. "convertratio": {
  38767. "description": "套保系数",
  38768. "type": "number"
  38769. },
  38770. "deliverygoodscode": {
  38771. "description": "现货商品代码",
  38772. "type": "string"
  38773. },
  38774. "deliverygoodsid": {
  38775. "description": "现货品种ID",
  38776. "type": "integer"
  38777. },
  38778. "deliverygoodsname": {
  38779. "description": "现货商品名称",
  38780. "type": "string"
  38781. },
  38782. "enumdicname": {
  38783. "description": "单位名称",
  38784. "type": "string"
  38785. },
  38786. "goodsunitid": {
  38787. "description": "套保品种单位id",
  38788. "type": "integer"
  38789. },
  38790. "middlegoodscode": {
  38791. "description": "套保品种代码",
  38792. "type": "string"
  38793. },
  38794. "middlegoodsid": {
  38795. "description": "套保品种ID",
  38796. "type": "integer"
  38797. },
  38798. "middlegoodsname": {
  38799. "description": "套保品种名称",
  38800. "type": "string"
  38801. },
  38802. "modifytime": {
  38803. "description": "修改时间",
  38804. "type": "string"
  38805. },
  38806. "wrstandardid": {
  38807. "description": "品类ID",
  38808. "type": "integer"
  38809. }
  38810. }
  38811. },
  38812. "models.WRStandardInfo": {
  38813. "type": "object",
  38814. "required": [
  38815. "wrstandardid"
  38816. ],
  38817. "properties": {
  38818. "areauserid": {
  38819. "description": "所属机构",
  38820. "type": "integer"
  38821. },
  38822. "convertfactor": {
  38823. "description": "标仓系数",
  38824. "type": "number"
  38825. },
  38826. "createtime": {
  38827. "description": "创建时间",
  38828. "type": "string"
  38829. },
  38830. "creatorid": {
  38831. "description": "创建人",
  38832. "type": "integer"
  38833. },
  38834. "deliverygoodsid": {
  38835. "description": "品种ID",
  38836. "type": "integer"
  38837. },
  38838. "deliverygoodsname": {
  38839. "description": "交割商品名称",
  38840. "type": "string"
  38841. },
  38842. "factoryitemjson": {
  38843. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  38844. "type": "string"
  38845. },
  38846. "isvalid": {
  38847. "description": "是否有效 - 0:无效 1:有效",
  38848. "type": "integer"
  38849. },
  38850. "minivalue": {
  38851. "description": "最小变动值",
  38852. "type": "integer"
  38853. },
  38854. "minivaluedp": {
  38855. "description": "最小变动值小数位",
  38856. "type": "integer"
  38857. },
  38858. "realminivalue": {
  38859. "description": "实际最小变动值",
  38860. "type": "integer"
  38861. },
  38862. "realminivaluedp": {
  38863. "description": "实际最小变动值小数位",
  38864. "type": "integer"
  38865. },
  38866. "remark": {
  38867. "description": "备注",
  38868. "type": "string"
  38869. },
  38870. "unitid": {
  38871. "description": "单位ID",
  38872. "type": "integer"
  38873. },
  38874. "unitname": {
  38875. "description": "单位",
  38876. "type": "string"
  38877. },
  38878. "updatetime": {
  38879. "description": "更新时间",
  38880. "type": "string"
  38881. },
  38882. "updatorid": {
  38883. "description": "更新人",
  38884. "type": "integer"
  38885. },
  38886. "wrsstatus": {
  38887. "description": "状态 - 作废 - 0:未激活 1:正常",
  38888. "type": "integer"
  38889. },
  38890. "wrstandardcode": {
  38891. "description": "现货品类代码",
  38892. "type": "string"
  38893. },
  38894. "wrstandardid": {
  38895. "description": "现货品类ID(SEQ_WRSTANDARD)",
  38896. "type": "integer"
  38897. },
  38898. "wrstandardname": {
  38899. "description": "现货品类名称",
  38900. "type": "string"
  38901. }
  38902. }
  38903. },
  38904. "models.WRTradeBargainApply": {
  38905. "type": "object",
  38906. "properties": {
  38907. "accountid": {
  38908. "description": "摘牌资金账号",
  38909. "type": "integer"
  38910. },
  38911. "applyprice": {
  38912. "description": "申请价格(议价价格)",
  38913. "type": "string"
  38914. },
  38915. "applyqty": {
  38916. "description": "摘牌数量(议价数量)",
  38917. "type": "number"
  38918. },
  38919. "applyremark": {
  38920. "description": "申请备注",
  38921. "type": "string"
  38922. },
  38923. "applystatus": {
  38924. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  38925. "type": "integer"
  38926. },
  38927. "applytime": {
  38928. "description": "申请时间(议价时间)",
  38929. "type": "string"
  38930. },
  38931. "begindate": {
  38932. "description": "开始交易日(yyyymmdd)",
  38933. "type": "string"
  38934. },
  38935. "buyorsell": {
  38936. "description": "买卖(挂牌类型) - 0:买 1:卖",
  38937. "type": "integer"
  38938. },
  38939. "confirmremark": {
  38940. "description": "确认备注",
  38941. "type": "string"
  38942. },
  38943. "confirmtime": {
  38944. "description": "确认时间",
  38945. "type": "string"
  38946. },
  38947. "confirmuserid": {
  38948. "description": "确认人",
  38949. "type": "integer"
  38950. },
  38951. "deliverygoodscode": {
  38952. "description": "品种代码",
  38953. "type": "string"
  38954. },
  38955. "deliverygoodsid": {
  38956. "description": "品种ID",
  38957. "type": "integer"
  38958. },
  38959. "deliverygoodsname": {
  38960. "description": "品种名称",
  38961. "type": "string"
  38962. },
  38963. "deliverymonth": {
  38964. "description": "交收月",
  38965. "type": "string"
  38966. },
  38967. "enddate": {
  38968. "description": "结束交易日(yyyymmdd)",
  38969. "type": "string"
  38970. },
  38971. "enumdicname": {
  38972. "description": "单位名称",
  38973. "type": "string"
  38974. },
  38975. "fixedprice": {
  38976. "description": "期初均价",
  38977. "type": "number"
  38978. },
  38979. "handlestatus": {
  38980. "description": "处理状态",
  38981. "type": "integer"
  38982. },
  38983. "marginvalue": {
  38984. "description": "期初均价",
  38985. "type": "number"
  38986. },
  38987. "marketid": {
  38988. "description": "市场ID",
  38989. "type": "integer"
  38990. },
  38991. "matchaccountid": {
  38992. "description": "挂牌方资金账号",
  38993. "type": "integer"
  38994. },
  38995. "matchuserid": {
  38996. "description": "挂牌方用户id",
  38997. "type": "integer"
  38998. },
  38999. "matchusername": {
  39000. "description": "挂牌方用户名称(已脱敏)",
  39001. "type": "string"
  39002. },
  39003. "minivalue": {
  39004. "description": "现货商品最小变动值",
  39005. "type": "integer"
  39006. },
  39007. "optioncompare": {
  39008. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39009. "type": "string"
  39010. },
  39011. "orderqty": {
  39012. "description": "挂牌数量",
  39013. "type": "integer"
  39014. },
  39015. "refprice": {
  39016. "description": "参考价格",
  39017. "type": "string"
  39018. },
  39019. "retcode": {
  39020. "description": "委托返回代码",
  39021. "type": "integer"
  39022. },
  39023. "templatename": {
  39024. "description": "履约方式(履约模板名称)",
  39025. "type": "string"
  39026. },
  39027. "tradedate": {
  39028. "description": "交易日(yyyyMMdd)",
  39029. "type": "string"
  39030. },
  39031. "userid": {
  39032. "description": "摘牌人用户ID(议价人ID)",
  39033. "type": "integer"
  39034. },
  39035. "username": {
  39036. "description": "议价人名字(已脱敏)",
  39037. "type": "string"
  39038. },
  39039. "validtime": {
  39040. "description": "有效期限",
  39041. "type": "string"
  39042. },
  39043. "warehouseid": {
  39044. "description": "仓库ID",
  39045. "type": "integer"
  39046. },
  39047. "warehousename": {
  39048. "description": "仓库名称",
  39049. "type": "string"
  39050. },
  39051. "wrbargainid": {
  39052. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39053. "type": "string"
  39054. },
  39055. "wrfactortypeid": {
  39056. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39057. "type": "string"
  39058. },
  39059. "wrfactortypename": {
  39060. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39061. "type": "string"
  39062. },
  39063. "wrstandardcode": {
  39064. "description": "现货商品代码",
  39065. "type": "string"
  39066. },
  39067. "wrstandardid": {
  39068. "description": "现货商品ID",
  39069. "type": "integer"
  39070. },
  39071. "wrstandardname": {
  39072. "description": "商品名称",
  39073. "type": "string"
  39074. },
  39075. "wrtradeorderid": {
  39076. "description": "关联委托单ID",
  39077. "type": "string"
  39078. },
  39079. "wrtypename": {
  39080. "description": "商品",
  39081. "type": "string"
  39082. }
  39083. }
  39084. },
  39085. "models.Warehouseinfo": {
  39086. "type": "object",
  39087. "required": [
  39088. "autoid",
  39089. "warehousecode"
  39090. ],
  39091. "properties": {
  39092. "address": {
  39093. "description": "详细地址",
  39094. "type": "string"
  39095. },
  39096. "areauserid": {
  39097. "description": "所属机构",
  39098. "type": "integer"
  39099. },
  39100. "autoid": {
  39101. "description": "自增ID",
  39102. "type": "integer"
  39103. },
  39104. "cityid": {
  39105. "description": "市",
  39106. "type": "integer"
  39107. },
  39108. "contactname": {
  39109. "description": "联系人",
  39110. "type": "string"
  39111. },
  39112. "contactnum": {
  39113. "description": "联系电话",
  39114. "type": "string"
  39115. },
  39116. "countryid": {
  39117. "description": "国家",
  39118. "type": "integer"
  39119. },
  39120. "createtime": {
  39121. "description": "创建时间",
  39122. "type": "string"
  39123. },
  39124. "districtid": {
  39125. "description": "区",
  39126. "type": "integer"
  39127. },
  39128. "hasvideo": {
  39129. "description": "是否有视频 - 0:无 1:有",
  39130. "type": "integer"
  39131. },
  39132. "provinceid": {
  39133. "description": "省",
  39134. "type": "integer"
  39135. },
  39136. "remark": {
  39137. "description": "审核备注",
  39138. "type": "string"
  39139. },
  39140. "videourl": {
  39141. "description": "视频地址",
  39142. "type": "string"
  39143. },
  39144. "warehousecode": {
  39145. "description": "仓库代码",
  39146. "type": "string"
  39147. },
  39148. "warehousename": {
  39149. "description": "仓库名称",
  39150. "type": "string"
  39151. },
  39152. "warehousestatus": {
  39153. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39154. "type": "integer"
  39155. },
  39156. "warehousetype": {
  39157. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39158. "type": "integer"
  39159. }
  39160. }
  39161. },
  39162. "models.WrAverageTradePrice": {
  39163. "type": "object",
  39164. "properties": {
  39165. "averageprice": {
  39166. "description": "期初均价",
  39167. "type": "number"
  39168. },
  39169. "tradedate": {
  39170. "description": "交易日yyyymm",
  39171. "type": "string"
  39172. }
  39173. }
  39174. },
  39175. "models.WrBrandAndYears": {
  39176. "type": "object",
  39177. "properties": {
  39178. "brandlst": {
  39179. "description": "品牌列表",
  39180. "type": "array",
  39181. "items": {
  39182. "$ref": "#/definitions/models.DgFactoryItem"
  39183. }
  39184. },
  39185. "yearslst": {
  39186. "description": "年份列表",
  39187. "type": "array",
  39188. "items": {
  39189. "$ref": "#/definitions/models.DgFactoryItem"
  39190. }
  39191. }
  39192. }
  39193. },
  39194. "models.WrBsGoodsInfo": {
  39195. "type": "object",
  39196. "properties": {
  39197. "buyorsell": {
  39198. "description": "买卖方向 0-买 1-卖",
  39199. "type": "integer"
  39200. },
  39201. "goodsid": {
  39202. "description": "交易合约ID",
  39203. "type": "integer"
  39204. },
  39205. "lstitem": {
  39206. "description": "商品信息项",
  39207. "type": "array",
  39208. "items": {
  39209. "$ref": "#/definitions/models.WrTypeItem"
  39210. }
  39211. },
  39212. "lststep": {
  39213. "description": "履约规则",
  39214. "type": "array",
  39215. "items": {
  39216. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39217. }
  39218. }
  39219. }
  39220. },
  39221. "models.WrBuybackDetail": {
  39222. "type": "object",
  39223. "properties": {
  39224. "buybackamount": {
  39225. "description": "回购金额",
  39226. "type": "number"
  39227. },
  39228. "buybackqty": {
  39229. "description": "回购数量",
  39230. "type": "number"
  39231. },
  39232. "buybackreleasemargin": {
  39233. "description": "回购释放保证金",
  39234. "type": "number"
  39235. },
  39236. "buybacktime": {
  39237. "description": "回购时间",
  39238. "type": "string"
  39239. },
  39240. "errordesc": {
  39241. "description": "错误描述",
  39242. "type": "string"
  39243. },
  39244. "handlestatus": {
  39245. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39246. "type": "integer"
  39247. },
  39248. "relatedwrid": {
  39249. "description": "关联仓单ID",
  39250. "type": "integer"
  39251. },
  39252. "scfcontractid": {
  39253. "description": "SCF合同ID",
  39254. "type": "string"
  39255. },
  39256. "scfwrbuybackid": {
  39257. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39258. "type": "integer"
  39259. },
  39260. "tradedate": {
  39261. "description": "交易日(yyyyMMdd)",
  39262. "type": "string"
  39263. }
  39264. }
  39265. },
  39266. "models.WrClientAdSpaceConfig": {
  39267. "type": "object",
  39268. "properties": {
  39269. "adspaceid": {
  39270. "description": "广告位ID",
  39271. "type": "integer"
  39272. },
  39273. "adspacename": {
  39274. "description": "广告位名称",
  39275. "type": "string"
  39276. },
  39277. "adspacetype": {
  39278. "description": "广告位类型 - 1:固定广告位",
  39279. "type": "integer"
  39280. },
  39281. "areauserid": {
  39282. "description": "所属机构ID",
  39283. "type": "integer"
  39284. },
  39285. "createdate": {
  39286. "description": "创建时间",
  39287. "type": "string"
  39288. },
  39289. "imagepath": {
  39290. "description": "图片",
  39291. "type": "string"
  39292. },
  39293. "modifierid": {
  39294. "description": "操作人",
  39295. "type": "integer"
  39296. },
  39297. "recsize": {
  39298. "description": "推荐尺寸",
  39299. "type": "string"
  39300. },
  39301. "title": {
  39302. "description": "标题",
  39303. "type": "string"
  39304. },
  39305. "updatedate": {
  39306. "description": "更新时间",
  39307. "type": "string"
  39308. },
  39309. "urlcontent": {
  39310. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39311. "type": "string"
  39312. },
  39313. "urltype": {
  39314. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39315. "type": "integer"
  39316. }
  39317. }
  39318. },
  39319. "models.WrDeliveryAvalidHoldLB": {
  39320. "type": "object",
  39321. "properties": {
  39322. "accountid": {
  39323. "description": "资金账号",
  39324. "type": "integer"
  39325. },
  39326. "avalidqty": {
  39327. "description": "数量(可点选数量)",
  39328. "type": "number"
  39329. },
  39330. "deliverygoodsid": {
  39331. "description": "品种id",
  39332. "type": "integer"
  39333. },
  39334. "enumdicname": {
  39335. "description": "单位名称",
  39336. "type": "string"
  39337. },
  39338. "goodsid": {
  39339. "description": "x合约商品id",
  39340. "type": "integer"
  39341. },
  39342. "ladingbillid": {
  39343. "description": "提单id",
  39344. "type": "string"
  39345. },
  39346. "pgoodscode": {
  39347. "description": "p商品代码(点价合约)",
  39348. "type": "string"
  39349. },
  39350. "pgoodsid": {
  39351. "description": "p商品id(点价合约)",
  39352. "type": "integer"
  39353. },
  39354. "pgoodsname": {
  39355. "description": "p商品名称(点价合约)",
  39356. "type": "string"
  39357. },
  39358. "pricemove": {
  39359. "description": "升贴水",
  39360. "type": "number"
  39361. },
  39362. "subnum": {
  39363. "description": "提单子id",
  39364. "type": "integer"
  39365. },
  39366. "userid": {
  39367. "description": "用户id",
  39368. "type": "integer"
  39369. },
  39370. "username": {
  39371. "description": "仓单持有人",
  39372. "type": "string"
  39373. },
  39374. "warehousecode": {
  39375. "description": "仓库代码",
  39376. "type": "string"
  39377. },
  39378. "warehouseid": {
  39379. "description": "仓库id",
  39380. "type": "integer"
  39381. },
  39382. "warehousename": {
  39383. "description": "仓库名称",
  39384. "type": "string"
  39385. },
  39386. "wrfactortypeid": {
  39387. "description": "仓单要素id",
  39388. "type": "string"
  39389. },
  39390. "wrstandardcode": {
  39391. "description": "品代码",
  39392. "type": "string"
  39393. },
  39394. "wrstandardid": {
  39395. "description": "品类d",
  39396. "type": "integer"
  39397. },
  39398. "wrstandardname": {
  39399. "description": "品类名称",
  39400. "type": "string"
  39401. },
  39402. "wrtypename": {
  39403. "description": "商品",
  39404. "type": "string"
  39405. },
  39406. "xgoodscode": {
  39407. "description": "x合约代码",
  39408. "type": "string"
  39409. },
  39410. "xgoodsname": {
  39411. "description": "x合约名称",
  39412. "type": "string"
  39413. }
  39414. }
  39415. },
  39416. "models.WrDeliveryDetail": {
  39417. "type": "object",
  39418. "properties": {
  39419. "accountid": {
  39420. "description": "账号ID",
  39421. "type": "integer"
  39422. },
  39423. "averageprice": {
  39424. "description": "期初均价",
  39425. "type": "number"
  39426. },
  39427. "begindate": {
  39428. "description": "开始交易日(yyyymmdd)",
  39429. "type": "string"
  39430. },
  39431. "buyorsell": {
  39432. "description": "方向 - 0:买 1:卖",
  39433. "type": "integer"
  39434. },
  39435. "deliveryamount": {
  39436. "description": "货款金额(X总货款+P总货款)",
  39437. "type": "number"
  39438. },
  39439. "deliveryid": {
  39440. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  39441. "type": "string"
  39442. },
  39443. "deliveryorderid": {
  39444. "description": "申报单号",
  39445. "type": "string"
  39446. },
  39447. "deliverypricemove": {
  39448. "description": "升贴水(升贴水总额)",
  39449. "type": "number"
  39450. },
  39451. "deliveryqty": {
  39452. "description": "交收数量(点选数量)",
  39453. "type": "number"
  39454. },
  39455. "deliverystatus": {
  39456. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  39457. "type": "integer"
  39458. },
  39459. "deliverytime": {
  39460. "description": "交割时间",
  39461. "type": "string"
  39462. },
  39463. "deliverytotalamount": {
  39464. "description": "交收金额",
  39465. "type": "number"
  39466. },
  39467. "enddate": {
  39468. "description": "结束交易日(yyyymmdd)",
  39469. "type": "string"
  39470. },
  39471. "enumdicname": {
  39472. "description": "单位名称",
  39473. "type": "string"
  39474. },
  39475. "matchaccountid": {
  39476. "description": "对手账号ID",
  39477. "type": "integer"
  39478. },
  39479. "matchusername": {
  39480. "description": "对手方名称(仓单持有人)",
  39481. "type": "string"
  39482. },
  39483. "p1goodsremainamount": {
  39484. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39485. "type": "number"
  39486. },
  39487. "pdeliverycloseqty": {
  39488. "description": "p合约平仓数量",
  39489. "type": "number"
  39490. },
  39491. "pdeliveryprice": {
  39492. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39493. "type": "number"
  39494. },
  39495. "pgoodscode": {
  39496. "description": "商品代码",
  39497. "type": "string"
  39498. },
  39499. "pgoodsid": {
  39500. "description": "p点选合约id",
  39501. "type": "integer"
  39502. },
  39503. "pgoodsname": {
  39504. "description": "商品名称",
  39505. "type": "string"
  39506. },
  39507. "ppricemode": {
  39508. "description": "点价价格方式 - 1:商品价 2:固定值",
  39509. "type": "integer"
  39510. },
  39511. "tradedate": {
  39512. "description": "交易日(yyyymmdd)",
  39513. "type": "string"
  39514. },
  39515. "userid": {
  39516. "description": "用户id",
  39517. "type": "integer"
  39518. },
  39519. "username": {
  39520. "description": "用户名称",
  39521. "type": "string"
  39522. },
  39523. "warehousename": {
  39524. "description": "仓库名称",
  39525. "type": "string"
  39526. },
  39527. "wrfactortypeid": {
  39528. "description": "仓单要素类型ID",
  39529. "type": "string"
  39530. },
  39531. "wrtypename": {
  39532. "description": "商品",
  39533. "type": "string"
  39534. },
  39535. "xdeliverycloseqty": {
  39536. "description": "合约数量",
  39537. "type": "number"
  39538. },
  39539. "xgoodsamount": {
  39540. "description": "期初均价",
  39541. "type": "number"
  39542. },
  39543. "xgoodscode": {
  39544. "description": "商品代码",
  39545. "type": "string"
  39546. },
  39547. "xgoodsid": {
  39548. "description": "x交易合约ID",
  39549. "type": "integer"
  39550. },
  39551. "xgoodsname": {
  39552. "description": "商品名称",
  39553. "type": "string"
  39554. }
  39555. }
  39556. },
  39557. "models.WrDeliveryGoodsSection": {
  39558. "type": "object",
  39559. "properties": {
  39560. "dglst": {
  39561. "description": "板块商品列表",
  39562. "type": "array",
  39563. "items": {
  39564. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  39565. }
  39566. },
  39567. "imagepath": {
  39568. "description": "图片地址",
  39569. "type": "string"
  39570. },
  39571. "orderindex": {
  39572. "description": "排序",
  39573. "type": "integer"
  39574. },
  39575. "sectionid": {
  39576. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  39577. "type": "integer"
  39578. },
  39579. "sectionname": {
  39580. "description": "版块名称",
  39581. "type": "string"
  39582. },
  39583. "sectiontype": {
  39584. "description": "版块类型 - 1:指数版块 2:普通版块",
  39585. "type": "integer"
  39586. }
  39587. }
  39588. },
  39589. "models.WrDeliveryGoodsSectionConfig": {
  39590. "type": "object",
  39591. "properties": {
  39592. "deliverygoodscode": {
  39593. "description": "现货商品代码",
  39594. "type": "string"
  39595. },
  39596. "deliverygoodsid": {
  39597. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39598. "type": "integer"
  39599. },
  39600. "deliverygoodsname": {
  39601. "description": "现货商品名称",
  39602. "type": "string"
  39603. },
  39604. "orderindex": {
  39605. "description": "排序",
  39606. "type": "integer"
  39607. }
  39608. }
  39609. },
  39610. "models.WrDraftUserInfo": {
  39611. "type": "object",
  39612. "properties": {
  39613. "address": {
  39614. "description": "地址",
  39615. "type": "string"
  39616. },
  39617. "attachment1": {
  39618. "description": "附件1",
  39619. "type": "string"
  39620. },
  39621. "attachment2": {
  39622. "description": "附件2",
  39623. "type": "string"
  39624. },
  39625. "attachment3": {
  39626. "description": "附件3",
  39627. "type": "string"
  39628. },
  39629. "attachment4": {
  39630. "description": "附件4",
  39631. "type": "string"
  39632. },
  39633. "attachment5": {
  39634. "description": "附件5",
  39635. "type": "string"
  39636. },
  39637. "bankaccount": {
  39638. "description": "银行帐号 (加密存储)",
  39639. "type": "string"
  39640. },
  39641. "bankaccountname": {
  39642. "description": "收款人名称",
  39643. "type": "string"
  39644. },
  39645. "bankcardfrontphotourl": {
  39646. "description": "银行卡正面照地址",
  39647. "type": "string"
  39648. },
  39649. "bankid": {
  39650. "description": "银行编码",
  39651. "type": "string"
  39652. },
  39653. "bankname": {
  39654. "description": "银行名称",
  39655. "type": "string"
  39656. },
  39657. "birthday": {
  39658. "description": "生日(个人:年月日)",
  39659. "type": "string"
  39660. },
  39661. "biznature": {
  39662. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39663. "type": "integer"
  39664. },
  39665. "bizscope": {
  39666. "description": "企业经营范围(企业)",
  39667. "type": "string"
  39668. },
  39669. "biztype": {
  39670. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39671. "type": "integer"
  39672. },
  39673. "cardbackphotourl": {
  39674. "description": "证件背面图片地址",
  39675. "type": "string"
  39676. },
  39677. "cardfrontphotourl": {
  39678. "description": "证件正面图片地址",
  39679. "type": "string"
  39680. },
  39681. "cardnum": {
  39682. "description": "证件号码(加密存储)",
  39683. "type": "string"
  39684. },
  39685. "cardtypeid": {
  39686. "description": "证件类型ID",
  39687. "type": "integer"
  39688. },
  39689. "cityid": {
  39690. "description": "市",
  39691. "type": "integer"
  39692. },
  39693. "company": {
  39694. "description": "公司(个人)",
  39695. "type": "string"
  39696. },
  39697. "contactcardbackphotourl": {
  39698. "description": "联系人证件背面图片地址",
  39699. "type": "string"
  39700. },
  39701. "contactcardfrontphotourl": {
  39702. "description": "联系人证件正面图片地址",
  39703. "type": "string"
  39704. },
  39705. "contactname": {
  39706. "description": "联系人",
  39707. "type": "string"
  39708. },
  39709. "countryid": {
  39710. "description": "国家",
  39711. "type": "integer"
  39712. },
  39713. "createtime": {
  39714. "description": "创建时间",
  39715. "type": "string"
  39716. },
  39717. "creatorid": {
  39718. "description": "创建人",
  39719. "type": "integer"
  39720. },
  39721. "creditquota": {
  39722. "description": "授信额度(金瑞)",
  39723. "type": "number"
  39724. },
  39725. "customername": {
  39726. "description": "客户名称(企业名称)",
  39727. "type": "string"
  39728. },
  39729. "districtid": {
  39730. "description": "地区",
  39731. "type": "integer"
  39732. },
  39733. "email": {
  39734. "description": "邮件(加密存储)",
  39735. "type": "string"
  39736. },
  39737. "fax": {
  39738. "description": "传真(加密存储)",
  39739. "type": "string"
  39740. },
  39741. "halfbodyphotourl": {
  39742. "description": "半身照地址",
  39743. "type": "string"
  39744. },
  39745. "hasencrypt": {
  39746. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39747. "type": "integer"
  39748. },
  39749. "headurl": {
  39750. "description": "头像地址",
  39751. "type": "string"
  39752. },
  39753. "legalcardbackphotourl": {
  39754. "description": "法人身份证背面照地址",
  39755. "type": "string"
  39756. },
  39757. "legalcardfrontphotourl": {
  39758. "description": "法人身份证正面照地址",
  39759. "type": "string"
  39760. },
  39761. "legalpersonname": {
  39762. "description": "法人姓名(企业)",
  39763. "type": "string"
  39764. },
  39765. "mobile": {
  39766. "description": "手机号码(加密存储)",
  39767. "type": "string"
  39768. },
  39769. "mobile2": {
  39770. "description": "手机号码[明文-尚志]",
  39771. "type": "string"
  39772. },
  39773. "modifierid": {
  39774. "description": "修改人",
  39775. "type": "integer"
  39776. },
  39777. "modifiertime": {
  39778. "description": "修改时间",
  39779. "type": "string"
  39780. },
  39781. "needinvoice": {
  39782. "description": "是否需要发票 - 0:不需要 1:需要",
  39783. "type": "integer"
  39784. },
  39785. "nickname": {
  39786. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39787. "type": "string"
  39788. },
  39789. "openmode": {
  39790. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  39791. "type": "integer"
  39792. },
  39793. "otherurl": {
  39794. "description": "其它图片地址[使用分号分隔]",
  39795. "type": "string"
  39796. },
  39797. "postalcode": {
  39798. "description": "邮政编码",
  39799. "type": "string"
  39800. },
  39801. "provinceid": {
  39802. "description": "省",
  39803. "type": "integer"
  39804. },
  39805. "proxystatementurl": {
  39806. "description": "授权委托书",
  39807. "type": "string"
  39808. },
  39809. "qq": {
  39810. "description": "QQ(加密存储",
  39811. "type": "string"
  39812. },
  39813. "remark": {
  39814. "description": "备注",
  39815. "type": "string"
  39816. },
  39817. "sex": {
  39818. "description": "用户性别 0: 女 1: 男",
  39819. "type": "integer"
  39820. },
  39821. "signpdfurl": {
  39822. "description": "签约pdf文件",
  39823. "type": "string"
  39824. },
  39825. "taxpayernum": {
  39826. "description": "纳税人识别号",
  39827. "type": "string"
  39828. },
  39829. "telphone": {
  39830. "description": "联系电话(加密存储)",
  39831. "type": "string"
  39832. },
  39833. "userid": {
  39834. "description": "用户ID",
  39835. "type": "integer"
  39836. },
  39837. "userinfotype": {
  39838. "description": "用户信息类型 - 1:个人 2:企业",
  39839. "type": "integer"
  39840. },
  39841. "userstatus": {
  39842. "description": "用户状态 - 1:正常 2:注销",
  39843. "type": "integer"
  39844. },
  39845. "usertype": {
  39846. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  39847. "type": "integer"
  39848. },
  39849. "wechat": {
  39850. "description": "微信(加密存储)",
  39851. "type": "string"
  39852. },
  39853. "wskhinfo": {
  39854. "description": "开户申请信息(JSON)",
  39855. "type": "string"
  39856. }
  39857. }
  39858. },
  39859. "models.WrFAProductDetail": {
  39860. "type": "object",
  39861. "properties": {
  39862. "accountid": {
  39863. "description": "资金账号",
  39864. "type": "integer"
  39865. },
  39866. "areauserid": {
  39867. "description": "金融机构ID",
  39868. "type": "integer"
  39869. },
  39870. "financingdays": {
  39871. "description": "天数(天)",
  39872. "type": "integer"
  39873. },
  39874. "interestminlen": {
  39875. "description": "最小起息天数",
  39876. "type": "integer"
  39877. },
  39878. "interestrate": {
  39879. "description": "利率",
  39880. "type": "number"
  39881. },
  39882. "interestratemode": {
  39883. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39884. "type": "integer"
  39885. },
  39886. "interestsettlemode": {
  39887. "description": "结息方式 - 1:按日结息 3:按月结息",
  39888. "type": "integer"
  39889. },
  39890. "interestsettlevalue": {
  39891. "description": "结息方式值",
  39892. "type": "integer"
  39893. },
  39894. "isautoloan": {
  39895. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  39896. "type": "integer"
  39897. },
  39898. "loantag": {
  39899. "description": "放款标识: \"放款快\" 或者为空",
  39900. "type": "string"
  39901. },
  39902. "marginratio": {
  39903. "description": "保证金比率质押率 - [仓单质押]",
  39904. "type": "number"
  39905. },
  39906. "productdetailid": {
  39907. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  39908. "type": "integer"
  39909. },
  39910. "productid": {
  39911. "description": "金融产品ID",
  39912. "type": "integer"
  39913. },
  39914. "productname": {
  39915. "description": "产品名称",
  39916. "type": "string"
  39917. },
  39918. "updatetime": {
  39919. "description": "更新时间",
  39920. "type": "string"
  39921. },
  39922. "username": {
  39923. "description": "融出方",
  39924. "type": "string"
  39925. }
  39926. }
  39927. },
  39928. "models.WrFactorTypeInfo": {
  39929. "type": "object",
  39930. "properties": {
  39931. "deliverygoodscode": {
  39932. "description": "品种代码",
  39933. "type": "string"
  39934. },
  39935. "deliverygoodsname": {
  39936. "description": "品种名称",
  39937. "type": "string"
  39938. },
  39939. "dgfactoryitemid": {
  39940. "description": "选择项id",
  39941. "type": "integer"
  39942. },
  39943. "dgfactoryitemtypeid": {
  39944. "description": "要素选择项ID (1-仓库 2-品牌)",
  39945. "type": "integer"
  39946. },
  39947. "dgfactoryitemvalue": {
  39948. "description": "要素项值",
  39949. "type": "string"
  39950. },
  39951. "itemtypename": {
  39952. "description": "要素项名称",
  39953. "type": "string"
  39954. },
  39955. "optioncompare": {
  39956. "description": "选择比较串",
  39957. "type": "string"
  39958. },
  39959. "warehouseid": {
  39960. "description": "仓库id",
  39961. "type": "integer"
  39962. },
  39963. "wrfactortypeid": {
  39964. "description": "仓单要素ID",
  39965. "type": "string"
  39966. },
  39967. "wrfactortypename": {
  39968. "description": "要素名称",
  39969. "type": "string"
  39970. },
  39971. "wrfactortypename2": {
  39972. "description": "要素名称(不含仓库)",
  39973. "type": "string"
  39974. },
  39975. "wrstandardcode": {
  39976. "description": "品类代码",
  39977. "type": "string"
  39978. },
  39979. "wrstandardid": {
  39980. "description": "品类id",
  39981. "type": "integer"
  39982. },
  39983. "wrstandardname": {
  39984. "description": "品类名称",
  39985. "type": "string"
  39986. }
  39987. }
  39988. },
  39989. "models.WrFilterItem": {
  39990. "type": "object",
  39991. "properties": {
  39992. "itemcode": {
  39993. "description": "代码",
  39994. "type": "string"
  39995. },
  39996. "itemid": {
  39997. "description": "项id",
  39998. "type": "integer"
  39999. },
  40000. "itemname": {
  40001. "description": "名称",
  40002. "type": "string"
  40003. },
  40004. "itemtype": {
  40005. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  40006. "type": "integer"
  40007. }
  40008. }
  40009. },
  40010. "models.WrFinanceBuyApply": {
  40011. "type": "object",
  40012. "properties": {
  40013. "applydate": {
  40014. "description": "申请时间",
  40015. "type": "string"
  40016. },
  40017. "applystatus": {
  40018. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40019. "type": "integer"
  40020. },
  40021. "applyuserid": {
  40022. "description": "申请人",
  40023. "type": "integer"
  40024. },
  40025. "auditdate": {
  40026. "description": "审核时间",
  40027. "type": "string"
  40028. },
  40029. "auditremark": {
  40030. "description": "审核备注",
  40031. "type": "string"
  40032. },
  40033. "audituserid": {
  40034. "description": "审核人",
  40035. "type": "integer"
  40036. },
  40037. "buyaccountid": {
  40038. "description": "买方资金账号",
  40039. "type": "integer"
  40040. },
  40041. "buyorsell": {
  40042. "description": "买卖 - 0:买 1:卖",
  40043. "type": "integer"
  40044. },
  40045. "buyuserid": {
  40046. "description": "买方用户ID",
  40047. "type": "integer"
  40048. },
  40049. "buyusername": {
  40050. "description": "买方名称",
  40051. "type": "string"
  40052. },
  40053. "buywrtradeorderid": {
  40054. "description": "融资方买委托单ID",
  40055. "type": "string"
  40056. },
  40057. "deliverygoodscode": {
  40058. "description": "品种代码",
  40059. "type": "string"
  40060. },
  40061. "deliverygoodsid": {
  40062. "description": "品种ID",
  40063. "type": "integer"
  40064. },
  40065. "deliverygoodsname": {
  40066. "description": "品种名称",
  40067. "type": "string"
  40068. },
  40069. "deliverymonth": {
  40070. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40071. "type": "string"
  40072. },
  40073. "enumdicname": {
  40074. "description": "单位名称",
  40075. "type": "string"
  40076. },
  40077. "financeaccountid": {
  40078. "description": "融资方资金帐户ID",
  40079. "type": "integer"
  40080. },
  40081. "financeapplyid": {
  40082. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40083. "type": "string"
  40084. },
  40085. "financeareauserid": {
  40086. "description": "融资方用户ID",
  40087. "type": "string"
  40088. },
  40089. "financename": {
  40090. "description": "融出方名称",
  40091. "type": "string"
  40092. },
  40093. "financetype": {
  40094. "description": "融资类型 1-融资回购",
  40095. "type": "integer"
  40096. },
  40097. "financingdays": {
  40098. "description": "天数(天)",
  40099. "type": "integer"
  40100. },
  40101. "freezebuymargin": {
  40102. "description": "冻结融资保证金(买方)",
  40103. "type": "number"
  40104. },
  40105. "handleremark": {
  40106. "description": "处理备注",
  40107. "type": "string"
  40108. },
  40109. "handlestatus": {
  40110. "description": "处理状态",
  40111. "type": "integer"
  40112. },
  40113. "interestminlen": {
  40114. "description": "最小起息天数",
  40115. "type": "integer"
  40116. },
  40117. "interestrate": {
  40118. "description": "利率",
  40119. "type": "number"
  40120. },
  40121. "interestratemode": {
  40122. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40123. "type": "integer"
  40124. },
  40125. "interestsettlemode": {
  40126. "description": "结息方式 - 1:按日结息 3:按月结息",
  40127. "type": "integer"
  40128. },
  40129. "interestsettlevalue": {
  40130. "description": "结息方式值",
  40131. "type": "integer"
  40132. },
  40133. "isautoloan": {
  40134. "description": "是否自动放款 - 0:手动 1:自动",
  40135. "type": "integer"
  40136. },
  40137. "marginratio": {
  40138. "description": "保证金比率质押率 - [仓单质押]",
  40139. "type": "number"
  40140. },
  40141. "marketid": {
  40142. "description": "市场ID",
  40143. "type": "integer"
  40144. },
  40145. "minivalue": {
  40146. "description": "现货商品最小变动值",
  40147. "type": "integer"
  40148. },
  40149. "optioncompare": {
  40150. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40151. "type": "string"
  40152. },
  40153. "orderqty": {
  40154. "description": "委托数量(商品数量)",
  40155. "type": "number"
  40156. },
  40157. "productdetailid": {
  40158. "description": "产品组合ID",
  40159. "type": "integer"
  40160. },
  40161. "productid": {
  40162. "description": "金融产品ID",
  40163. "type": "integer"
  40164. },
  40165. "productname": {
  40166. "description": "产品名称",
  40167. "type": "string"
  40168. },
  40169. "remark": {
  40170. "description": "备注",
  40171. "type": "string"
  40172. },
  40173. "scfcontractid": {
  40174. "description": "仓单回购合同ID",
  40175. "type": "string"
  40176. },
  40177. "sellaccountid": {
  40178. "description": "卖方资金账号",
  40179. "type": "integer"
  40180. },
  40181. "selluserid": {
  40182. "description": "卖方用户ID",
  40183. "type": "integer"
  40184. },
  40185. "sellwrtradeorderid": {
  40186. "description": "卖方委托单ID",
  40187. "type": "string"
  40188. },
  40189. "tradeamount": {
  40190. "description": "成交金额(借款金额)",
  40191. "type": "number"
  40192. },
  40193. "tradedate": {
  40194. "description": "交易日(yyyyMMdd)",
  40195. "type": "string"
  40196. },
  40197. "tradeprice": {
  40198. "description": "成交价格",
  40199. "type": "number"
  40200. },
  40201. "warehouseid": {
  40202. "description": "仓库ID",
  40203. "type": "integer"
  40204. },
  40205. "warehousename": {
  40206. "description": "仓库名称",
  40207. "type": "string"
  40208. },
  40209. "wrfactortypeid": {
  40210. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40211. "type": "string"
  40212. },
  40213. "wrfactortypename": {
  40214. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40215. "type": "string"
  40216. },
  40217. "wrpricetype": {
  40218. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40219. "type": "integer"
  40220. },
  40221. "wrstandardcode": {
  40222. "description": "现货商品代码",
  40223. "type": "string"
  40224. },
  40225. "wrstandardid": {
  40226. "description": "现货商品ID",
  40227. "type": "integer"
  40228. },
  40229. "wrstandardname": {
  40230. "description": "商品名称",
  40231. "type": "string"
  40232. },
  40233. "wrtypename": {
  40234. "description": "商品",
  40235. "type": "string"
  40236. }
  40237. }
  40238. },
  40239. "models.WrFriendApply": {
  40240. "type": "object",
  40241. "properties": {
  40242. "applicantid": {
  40243. "description": "申请人",
  40244. "type": "integer"
  40245. },
  40246. "applyname": {
  40247. "description": "申请人名称",
  40248. "type": "string"
  40249. },
  40250. "applysrc": {
  40251. "description": "申请来源 - 1:管理端 2:终端",
  40252. "type": "integer"
  40253. },
  40254. "applystatus": {
  40255. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40256. "type": "integer"
  40257. },
  40258. "applytime": {
  40259. "description": "申请时间",
  40260. "type": "string"
  40261. },
  40262. "auditname": {
  40263. "description": "审核人名称",
  40264. "type": "string"
  40265. },
  40266. "auditorid": {
  40267. "description": "审核人",
  40268. "type": "integer"
  40269. },
  40270. "auditremark": {
  40271. "description": "审核备注",
  40272. "type": "string"
  40273. },
  40274. "auditsrc": {
  40275. "description": "审核来源 - 1:管理端 2:终端",
  40276. "type": "integer"
  40277. },
  40278. "audittime": {
  40279. "description": "审核时间",
  40280. "type": "string"
  40281. },
  40282. "friendapplyid": {
  40283. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40284. "type": "string"
  40285. },
  40286. "friendname": {
  40287. "description": "好友名字(已脱敏)",
  40288. "type": "string"
  40289. },
  40290. "frienduserid": {
  40291. "description": "好友用户ID",
  40292. "type": "string"
  40293. },
  40294. "remark": {
  40295. "description": "备注",
  40296. "type": "string"
  40297. },
  40298. "userid": {
  40299. "description": "申请人用户ID",
  40300. "type": "integer"
  40301. }
  40302. }
  40303. },
  40304. "models.WrFtDeliveryGoods": {
  40305. "type": "object",
  40306. "properties": {
  40307. "deliverygoodscode": {
  40308. "description": "品种代码",
  40309. "type": "string"
  40310. },
  40311. "deliverygoodsid": {
  40312. "description": "品种ID",
  40313. "type": "integer"
  40314. },
  40315. "deliverygoodsname": {
  40316. "description": "品种名称",
  40317. "type": "string"
  40318. },
  40319. "wdlst": {
  40320. "description": "商品列表",
  40321. "type": "array",
  40322. "items": {
  40323. "$ref": "#/definitions/models.WrFtWrstandard"
  40324. }
  40325. }
  40326. }
  40327. },
  40328. "models.WrFtWrstandard": {
  40329. "type": "object",
  40330. "properties": {
  40331. "enumdicname": {
  40332. "description": "单位名称",
  40333. "type": "string"
  40334. },
  40335. "minivalue": {
  40336. "description": "最小变动值",
  40337. "type": "integer"
  40338. },
  40339. "wrstandardcode": {
  40340. "description": "现货商品代码",
  40341. "type": "string"
  40342. },
  40343. "wrstandardid": {
  40344. "description": "现货商品ID",
  40345. "type": "integer"
  40346. },
  40347. "wrstandardname": {
  40348. "description": "商品名称",
  40349. "type": "string"
  40350. }
  40351. }
  40352. },
  40353. "models.WrGoodsInfo": {
  40354. "type": "object",
  40355. "properties": {
  40356. "haswr": {
  40357. "description": "0:仓单预售 1:仓单贸易",
  40358. "type": "integer"
  40359. },
  40360. "lstitem": {
  40361. "description": "商品信息项",
  40362. "type": "array",
  40363. "items": {
  40364. "$ref": "#/definitions/models.WrTypeItem"
  40365. }
  40366. },
  40367. "lststep": {
  40368. "description": "履约规则",
  40369. "type": "array",
  40370. "items": {
  40371. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40372. }
  40373. },
  40374. "marketid": {
  40375. "description": "市场id",
  40376. "type": "integer"
  40377. }
  40378. }
  40379. },
  40380. "models.WrGoodsPerformanceStep": {
  40381. "type": "object",
  40382. "properties": {
  40383. "autoid": {
  40384. "description": "AutoID",
  40385. "type": "integer"
  40386. },
  40387. "isauto": {
  40388. "description": "是否自动 - 0:不自动 1:自动",
  40389. "type": "integer"
  40390. },
  40391. "remark": {
  40392. "description": "备注",
  40393. "type": "string"
  40394. },
  40395. "stepdate": {
  40396. "description": "天数信息(T+N)",
  40397. "type": "string"
  40398. },
  40399. "stepdays": {
  40400. "description": "距离上一步天数",
  40401. "type": "integer"
  40402. },
  40403. "stepindex": {
  40404. "description": "步骤序号",
  40405. "type": "integer"
  40406. },
  40407. "stepinfo": {
  40408. "description": "步骤信息(步骤名称+步骤值)",
  40409. "type": "string"
  40410. },
  40411. "steptypeid": {
  40412. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40413. "type": "integer"
  40414. },
  40415. "steptypename": {
  40416. "description": "步骤名称",
  40417. "type": "string"
  40418. },
  40419. "stepvalue": {
  40420. "description": "期初均价",
  40421. "type": "number"
  40422. },
  40423. "templateid": {
  40424. "description": "履约计划模板ID",
  40425. "type": "integer"
  40426. }
  40427. }
  40428. },
  40429. "models.WrHoldLB": {
  40430. "type": "object",
  40431. "properties": {
  40432. "accountid": {
  40433. "description": "持有人帐户ID",
  40434. "type": "integer"
  40435. },
  40436. "bannerpicurl": {
  40437. "description": "Banner图",
  40438. "type": "string"
  40439. },
  40440. "createtime": {
  40441. "description": "创建时间(过户时间)",
  40442. "type": "string"
  40443. },
  40444. "deliverygoodscode": {
  40445. "description": "品种代码",
  40446. "type": "string"
  40447. },
  40448. "deliverygoodsid": {
  40449. "description": "品种ID",
  40450. "type": "integer"
  40451. },
  40452. "deliverygoodsname": {
  40453. "description": "品种名称",
  40454. "type": "string"
  40455. },
  40456. "enableqty": {
  40457. "description": "可用数量",
  40458. "type": "number"
  40459. },
  40460. "enumdicname": {
  40461. "description": "单位名称",
  40462. "type": "string"
  40463. },
  40464. "freezerqty": {
  40465. "description": "冻结数量",
  40466. "type": "number"
  40467. },
  40468. "ladingbillid": {
  40469. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40470. "type": "string"
  40471. },
  40472. "minivalue": {
  40473. "description": "现货商品最小变动值",
  40474. "type": "integer"
  40475. },
  40476. "optioncompare": {
  40477. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40478. "type": "string"
  40479. },
  40480. "parentsubnum": {
  40481. "description": "拆分父子单号",
  40482. "type": "integer"
  40483. },
  40484. "pledgeqty": {
  40485. "description": "质押数量",
  40486. "type": "number"
  40487. },
  40488. "qty": {
  40489. "description": "数量",
  40490. "type": "number"
  40491. },
  40492. "subnum": {
  40493. "description": "提单子单号",
  40494. "type": "integer"
  40495. },
  40496. "thumurls": {
  40497. "description": "缩略图",
  40498. "type": "string"
  40499. },
  40500. "tradedate": {
  40501. "description": "交易日(yyyyMMdd)",
  40502. "type": "string"
  40503. },
  40504. "userid": {
  40505. "description": "持有人ID",
  40506. "type": "integer"
  40507. },
  40508. "warehouseid": {
  40509. "description": "仓库ID",
  40510. "type": "integer"
  40511. },
  40512. "warehousename": {
  40513. "description": "仓库名称",
  40514. "type": "string"
  40515. },
  40516. "wrfactortypeid": {
  40517. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40518. "type": "string"
  40519. },
  40520. "wrfactortypename": {
  40521. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40522. "type": "string"
  40523. },
  40524. "wrholdeno": {
  40525. "description": "仓单编号",
  40526. "type": "string"
  40527. },
  40528. "wrid": {
  40529. "description": "仓单变更ID",
  40530. "type": "string"
  40531. },
  40532. "wrstandardcode": {
  40533. "description": "现货商品代码",
  40534. "type": "string"
  40535. },
  40536. "wrstandardid": {
  40537. "description": "现货商品ID",
  40538. "type": "integer"
  40539. },
  40540. "wrstandardname": {
  40541. "description": "商品名称",
  40542. "type": "string"
  40543. },
  40544. "wrtypename": {
  40545. "description": "商品",
  40546. "type": "string"
  40547. }
  40548. }
  40549. },
  40550. "models.WrMarketTradeConfig": {
  40551. "type": "object",
  40552. "properties": {
  40553. "basisdownratio": {
  40554. "description": "浮动价基差下限比例(仓单贸易)",
  40555. "type": "number"
  40556. },
  40557. "basisupratio": {
  40558. "description": "浮动价基差上限比例(仓单贸易)",
  40559. "type": "number"
  40560. },
  40561. "buychargealgorithm": {
  40562. "description": "买方手续费收取方式 1:比率 2:固定",
  40563. "type": "integer"
  40564. },
  40565. "buychargealgorithm2": {
  40566. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40567. "type": "integer"
  40568. },
  40569. "buychargealgorithmvalue": {
  40570. "description": "买方手续费设置值(交易所部分)",
  40571. "type": "number"
  40572. },
  40573. "buychargealgorithmvalue2": {
  40574. "description": "买方手续费设置值(会员部分)",
  40575. "type": "number"
  40576. },
  40577. "buychargealgorithmvalue3": {
  40578. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  40579. "type": "number"
  40580. },
  40581. "buychargealgorithmvalue4": {
  40582. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  40583. "type": "number"
  40584. },
  40585. "buyfirstmarginalgorithm": {
  40586. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  40587. "type": "integer"
  40588. },
  40589. "buyfirstmarginvalue": {
  40590. "description": "买方出价保证金设置值 - [竞拍]",
  40591. "type": "number"
  40592. },
  40593. "buymarginalgorithm": {
  40594. "description": "买方保证金方式 - 1:比率 2:固定",
  40595. "type": "integer"
  40596. },
  40597. "buymarginvalue": {
  40598. "description": "买方保证金设置值",
  40599. "type": "number"
  40600. },
  40601. "buyreleaseratio": {
  40602. "description": "买方释放比率[2:分步履约]",
  40603. "type": "number"
  40604. },
  40605. "executemode": {
  40606. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  40607. "type": "integer"
  40608. },
  40609. "executeside": {
  40610. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  40611. "type": "integer"
  40612. },
  40613. "failedchargealgorithm": {
  40614. "description": "流拍手续费收取方式 1:比率 2:固定",
  40615. "type": "integer"
  40616. },
  40617. "failedchargevalue": {
  40618. "description": "流拍手续费设置值",
  40619. "type": "number"
  40620. },
  40621. "failedchargevalue2": {
  40622. "description": "流拍卖方手续费设置值",
  40623. "type": "number"
  40624. },
  40625. "holddays": {
  40626. "description": "合同期限[2:分步履约]",
  40627. "type": "integer"
  40628. },
  40629. "listingmode": {
  40630. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40631. "type": "integer"
  40632. },
  40633. "marketid": {
  40634. "description": "市场ID-仓单贸易、竞拍、预售",
  40635. "type": "integer"
  40636. },
  40637. "minqty": {
  40638. "description": "最小执行量[2:分步履约]",
  40639. "type": "number"
  40640. },
  40641. "modifierid": {
  40642. "description": "修改人",
  40643. "type": "integer"
  40644. },
  40645. "nowrquotaflag": {
  40646. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  40647. "type": "integer"
  40648. },
  40649. "performancetempid": {
  40650. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40651. "type": "integer"
  40652. },
  40653. "performancetempid2": {
  40654. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40655. "type": "integer"
  40656. },
  40657. "performancetempid2s": {
  40658. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40659. "type": "string"
  40660. },
  40661. "performancetempids": {
  40662. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40663. "type": "string"
  40664. },
  40665. "performanceway": {
  40666. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40667. "type": "integer"
  40668. },
  40669. "sellchargealgorithm": {
  40670. "description": "卖方手续费收取方式 1:比率 2:固定",
  40671. "type": "integer"
  40672. },
  40673. "sellchargealgorithm2": {
  40674. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40675. "type": "integer"
  40676. },
  40677. "sellchargealgorithmvalue": {
  40678. "description": "卖方手续费设置值(交易所部分)",
  40679. "type": "number"
  40680. },
  40681. "sellchargealgorithmvalue2": {
  40682. "description": "卖方手续费设置值(会员部分)",
  40683. "type": "number"
  40684. },
  40685. "sellchargealgorithmvalue3": {
  40686. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40687. "type": "number"
  40688. },
  40689. "sellchargealgorithmvalue4": {
  40690. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40691. "type": "number"
  40692. },
  40693. "sellmarginalgorithm": {
  40694. "description": "卖方保证金方式 - 1:比率 2:固定",
  40695. "type": "integer"
  40696. },
  40697. "sellmarginvalue": {
  40698. "description": "卖方保证金设置值",
  40699. "type": "number"
  40700. },
  40701. "sellmarginvalue2": {
  40702. "description": "卖方保证金设置值(无仓单)",
  40703. "type": "number"
  40704. },
  40705. "sellreleaseratio": {
  40706. "description": "卖方释放比率[2:分步履约]",
  40707. "type": "number"
  40708. },
  40709. "updatetime": {
  40710. "description": "更新时间",
  40711. "type": "string"
  40712. }
  40713. }
  40714. },
  40715. "models.WrOrderDetail": {
  40716. "type": "object",
  40717. "properties": {
  40718. "accountid": {
  40719. "description": "交易账号(资金账号)",
  40720. "type": "integer"
  40721. },
  40722. "allfriendsflag": {
  40723. "description": "是否全好友可见 - 0:否 1:是",
  40724. "type": "integer"
  40725. },
  40726. "amount": {
  40727. "description": "期初均价",
  40728. "type": "number"
  40729. },
  40730. "bannerpicurl": {
  40731. "description": "Banner图",
  40732. "type": "string"
  40733. },
  40734. "begindate": {
  40735. "description": "开始交易日(yyyymmdd)",
  40736. "type": "string"
  40737. },
  40738. "buyorsell": {
  40739. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  40740. "type": "integer"
  40741. },
  40742. "canbargain": {
  40743. "description": "是否可议价 - 0:不可 1:可",
  40744. "type": "integer"
  40745. },
  40746. "cancelqty": {
  40747. "description": "撤销数量",
  40748. "type": "number"
  40749. },
  40750. "canpart": {
  40751. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  40752. "type": "integer"
  40753. },
  40754. "delistminqty": {
  40755. "description": "起摘数量",
  40756. "type": "integer"
  40757. },
  40758. "deliverygoodscode": {
  40759. "description": "品种代码",
  40760. "type": "string"
  40761. },
  40762. "deliverygoodsid": {
  40763. "description": "品种ID",
  40764. "type": "integer"
  40765. },
  40766. "deliverygoodsname": {
  40767. "description": "品种名称",
  40768. "type": "string"
  40769. },
  40770. "deliverymonth": {
  40771. "description": "交收月",
  40772. "type": "string"
  40773. },
  40774. "enddate": {
  40775. "description": "结束交易日(yyyymmdd)",
  40776. "type": "string"
  40777. },
  40778. "enumdicname": {
  40779. "description": "单位名称",
  40780. "type": "string"
  40781. },
  40782. "fixedprice": {
  40783. "description": "固定价格 - [挂牌]",
  40784. "type": "number"
  40785. },
  40786. "freezecharge": {
  40787. "description": "期初均价",
  40788. "type": "number"
  40789. },
  40790. "freezemargin": {
  40791. "description": "期初均价",
  40792. "type": "number"
  40793. },
  40794. "futupricemove": {
  40795. "description": "期货升贴水",
  40796. "type": "number"
  40797. },
  40798. "futushow": {
  40799. "description": "期货合约/升贴水",
  40800. "type": "string"
  40801. },
  40802. "goodscode": {
  40803. "description": "期货合约",
  40804. "type": "string"
  40805. },
  40806. "goodsid": {
  40807. "description": "期货商品id",
  40808. "type": "integer"
  40809. },
  40810. "goodsname": {
  40811. "description": "商品名称",
  40812. "type": "string"
  40813. },
  40814. "haswr": {
  40815. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40816. "type": "integer"
  40817. },
  40818. "isspecified": {
  40819. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  40820. "type": "integer"
  40821. },
  40822. "ladingbillid": {
  40823. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40824. "type": "string"
  40825. },
  40826. "marginvalue": {
  40827. "description": "期初均价",
  40828. "type": "number"
  40829. },
  40830. "marketid": {
  40831. "description": "市场ID",
  40832. "type": "integer"
  40833. },
  40834. "matchusername": {
  40835. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  40836. "type": "string"
  40837. },
  40838. "minivalue": {
  40839. "description": "现货商品最小变动值",
  40840. "type": "integer"
  40841. },
  40842. "optioncompare": {
  40843. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40844. "type": "string"
  40845. },
  40846. "orderqty": {
  40847. "description": "委托数量",
  40848. "type": "number"
  40849. },
  40850. "ordertime": {
  40851. "description": "委托时间(挂牌时间)",
  40852. "type": "string"
  40853. },
  40854. "performancetemplateid": {
  40855. "description": "履约模板id",
  40856. "type": "integer"
  40857. },
  40858. "pricemove": {
  40859. "description": "升贴水(浮动价时填写) - [挂牌]",
  40860. "type": "number"
  40861. },
  40862. "taname": {
  40863. "description": "交易用户名称(资金账号名称)",
  40864. "type": "string"
  40865. },
  40866. "thumurls": {
  40867. "description": "缩略图",
  40868. "type": "string"
  40869. },
  40870. "tradedate": {
  40871. "description": "交易日(yyyyMMdd)",
  40872. "type": "string"
  40873. },
  40874. "tradeprice": {
  40875. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  40876. "type": "number"
  40877. },
  40878. "tradeqty": {
  40879. "description": "成交数量",
  40880. "type": "number"
  40881. },
  40882. "userid": {
  40883. "description": "用户ID",
  40884. "type": "integer"
  40885. },
  40886. "validtime": {
  40887. "description": "挂牌有效期",
  40888. "type": "string"
  40889. },
  40890. "validtype": {
  40891. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40892. "type": "integer"
  40893. },
  40894. "warehouseid": {
  40895. "description": "仓库ID",
  40896. "type": "integer"
  40897. },
  40898. "warehousename": {
  40899. "description": "仓库名称",
  40900. "type": "string"
  40901. },
  40902. "wrfactortypeid": {
  40903. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40904. "type": "string"
  40905. },
  40906. "wrfactortypename": {
  40907. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40908. "type": "string"
  40909. },
  40910. "wrpricetype": {
  40911. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40912. "type": "integer"
  40913. },
  40914. "wrstandardcode": {
  40915. "description": "现货商品代码",
  40916. "type": "string"
  40917. },
  40918. "wrstandardid": {
  40919. "description": "现货商品ID",
  40920. "type": "integer"
  40921. },
  40922. "wrstandardname": {
  40923. "description": "商品名称",
  40924. "type": "string"
  40925. },
  40926. "wrtradeorderid": {
  40927. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40928. "type": "string"
  40929. },
  40930. "wrtradeorderstatus": {
  40931. "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:撤单解冻贷款失败",
  40932. "type": "integer"
  40933. },
  40934. "wrtradetype": {
  40935. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40936. "type": "integer"
  40937. },
  40938. "wrtypename": {
  40939. "description": "商品",
  40940. "type": "string"
  40941. }
  40942. }
  40943. },
  40944. "models.WrOrderQuote": {
  40945. "type": "object",
  40946. "properties": {
  40947. "bannerpicurl": {
  40948. "description": "Banner图",
  40949. "type": "string"
  40950. },
  40951. "buyprice": {
  40952. "description": "买价",
  40953. "type": "number"
  40954. },
  40955. "buypricemove": {
  40956. "description": "买升贴水(基差)",
  40957. "type": "number"
  40958. },
  40959. "buyqty": {
  40960. "description": "买量",
  40961. "type": "number"
  40962. },
  40963. "deliverygoodscode": {
  40964. "description": "品种代码",
  40965. "type": "string"
  40966. },
  40967. "deliverygoodsid": {
  40968. "description": "品种id",
  40969. "type": "integer"
  40970. },
  40971. "deliverygoodsname": {
  40972. "description": "品种名称",
  40973. "type": "string"
  40974. },
  40975. "deliverymonth": {
  40976. "description": "交收月",
  40977. "type": "string"
  40978. },
  40979. "enumdicname": {
  40980. "description": "单位名称",
  40981. "type": "string"
  40982. },
  40983. "goodscode": {
  40984. "description": "商品合约(浮动价列表才有)",
  40985. "type": "string"
  40986. },
  40987. "goodsid": {
  40988. "description": "商品id(浮动价列表才有)",
  40989. "type": "integer"
  40990. },
  40991. "minivalue": {
  40992. "description": "现货商品最小变动值",
  40993. "type": "integer"
  40994. },
  40995. "pictureurls": {
  40996. "description": "详情图片(逗号分隔)",
  40997. "type": "string"
  40998. },
  40999. "sellprice": {
  41000. "description": "卖价",
  41001. "type": "number"
  41002. },
  41003. "sellpricemove": {
  41004. "description": "卖升贴水(基差)",
  41005. "type": "number"
  41006. },
  41007. "sellqty": {
  41008. "description": "卖量",
  41009. "type": "number"
  41010. },
  41011. "thumurls": {
  41012. "description": "缩略图片(1:1)(逗号分隔)",
  41013. "type": "string"
  41014. },
  41015. "warehousecode": {
  41016. "description": "仓库代码",
  41017. "type": "string"
  41018. },
  41019. "warehouseid": {
  41020. "description": "仓库id",
  41021. "type": "integer"
  41022. },
  41023. "warehousename": {
  41024. "description": "仓库名称",
  41025. "type": "string"
  41026. },
  41027. "wrfactortypeid": {
  41028. "description": "仓单要素id",
  41029. "type": "string"
  41030. },
  41031. "wrfactortypename": {
  41032. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41033. "type": "string"
  41034. },
  41035. "wrgoodsname": {
  41036. "description": "商品(商品名称+仓库要素名称 拼接)",
  41037. "type": "string"
  41038. },
  41039. "wrstandardcode": {
  41040. "description": "商品代码",
  41041. "type": "string"
  41042. },
  41043. "wrstandardid": {
  41044. "description": "商品id",
  41045. "type": "integer"
  41046. },
  41047. "wrstandardname": {
  41048. "description": "商品名称",
  41049. "type": "string"
  41050. }
  41051. }
  41052. },
  41053. "models.WrOrderQuoteDetail": {
  41054. "type": "object",
  41055. "properties": {
  41056. "buyorsell": {
  41057. "description": "买卖 - 0:买 1:卖",
  41058. "type": "integer"
  41059. },
  41060. "delistminqty": {
  41061. "description": "期初均价",
  41062. "type": "number"
  41063. },
  41064. "deliverymonth": {
  41065. "description": "交收月",
  41066. "type": "string"
  41067. },
  41068. "enumdicname": {
  41069. "description": "单位名称",
  41070. "type": "string"
  41071. },
  41072. "fixedprice": {
  41073. "description": "买(卖)价",
  41074. "type": "number"
  41075. },
  41076. "marketid": {
  41077. "description": "市场id",
  41078. "type": "integer"
  41079. },
  41080. "minivalue": {
  41081. "description": "现货商品最小变动值",
  41082. "type": "integer"
  41083. },
  41084. "orderqty": {
  41085. "description": "买(卖)量(=委托量-成交量)",
  41086. "type": "number"
  41087. },
  41088. "ordertime": {
  41089. "description": "委托时间",
  41090. "type": "string"
  41091. },
  41092. "pricemove": {
  41093. "description": "买(卖)升贴水- 基差",
  41094. "type": "number"
  41095. },
  41096. "userid": {
  41097. "description": "购买方(销售方)用户ID",
  41098. "type": "integer"
  41099. },
  41100. "username": {
  41101. "description": "购买方(销售方)",
  41102. "type": "string"
  41103. },
  41104. "wrtradeorderid": {
  41105. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41106. "type": "string"
  41107. }
  41108. }
  41109. },
  41110. "models.WrOutInApply": {
  41111. "type": "object",
  41112. "properties": {
  41113. "applyid": {
  41114. "description": "申请单id",
  41115. "type": "string"
  41116. },
  41117. "applystatus": {
  41118. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41119. "type": "integer"
  41120. },
  41121. "applytime": {
  41122. "description": "申请时间",
  41123. "type": "string"
  41124. },
  41125. "applytype": {
  41126. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41127. "type": "integer"
  41128. },
  41129. "bannerpicurl": {
  41130. "description": "Banner图",
  41131. "type": "string"
  41132. },
  41133. "begindate": {
  41134. "description": "开始交易日(yyyymmdd)",
  41135. "type": "string"
  41136. },
  41137. "deliverygoodscode": {
  41138. "description": "品种代码",
  41139. "type": "string"
  41140. },
  41141. "deliverygoodsid": {
  41142. "description": "品种ID",
  41143. "type": "integer"
  41144. },
  41145. "deliverygoodsname": {
  41146. "description": "品种名称",
  41147. "type": "string"
  41148. },
  41149. "enddate": {
  41150. "description": "结束交易日(yyyymmdd)",
  41151. "type": "string"
  41152. },
  41153. "enumdicname": {
  41154. "description": "单位名称",
  41155. "type": "string"
  41156. },
  41157. "expresscompany": {
  41158. "description": "物流公司",
  41159. "type": "string"
  41160. },
  41161. "expressnum": {
  41162. "description": "物流单号",
  41163. "type": "string"
  41164. },
  41165. "minivalue": {
  41166. "description": "现货商品最小变动值",
  41167. "type": "integer"
  41168. },
  41169. "optioncompare": {
  41170. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41171. "type": "string"
  41172. },
  41173. "qty": {
  41174. "description": "数量",
  41175. "type": "integer"
  41176. },
  41177. "userid": {
  41178. "description": "用户id",
  41179. "type": "integer"
  41180. },
  41181. "warehouseid": {
  41182. "description": "仓库ID",
  41183. "type": "integer"
  41184. },
  41185. "warehousename": {
  41186. "description": "仓库名称",
  41187. "type": "string"
  41188. },
  41189. "wrfactortypeid": {
  41190. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41191. "type": "string"
  41192. },
  41193. "wrfactortypename": {
  41194. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41195. "type": "string"
  41196. },
  41197. "wrstandardcode": {
  41198. "description": "现货商品代码",
  41199. "type": "string"
  41200. },
  41201. "wrstandardid": {
  41202. "description": "现货商品ID",
  41203. "type": "integer"
  41204. },
  41205. "wrstandardname": {
  41206. "description": "商品名称",
  41207. "type": "string"
  41208. },
  41209. "wrtypename": {
  41210. "description": "商品",
  41211. "type": "string"
  41212. }
  41213. }
  41214. },
  41215. "models.WrPerformancePlan": {
  41216. "type": "object",
  41217. "required": [
  41218. "userid"
  41219. ],
  41220. "properties": {
  41221. "activatemonth": {
  41222. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41223. "type": "string"
  41224. },
  41225. "amount": {
  41226. "description": "履约金额(总金额)",
  41227. "type": "number"
  41228. },
  41229. "begindate": {
  41230. "description": "开始交易日(yyyymmdd)",
  41231. "type": "string"
  41232. },
  41233. "buyaccountid": {
  41234. "description": "买方账号",
  41235. "type": "integer"
  41236. },
  41237. "buyerfreezeamount": {
  41238. "description": "履约冻结(买履约)",
  41239. "type": "number"
  41240. },
  41241. "buyerfreezeamountremain": {
  41242. "description": "履约冻结剩余(买履约)",
  41243. "type": "number"
  41244. },
  41245. "buyorsell": {
  41246. "description": "买卖方向 0-买 1-卖",
  41247. "type": "integer"
  41248. },
  41249. "buypaidamount": {
  41250. "description": "买方已冻/已扣金额 (已付金额)",
  41251. "type": "number"
  41252. },
  41253. "buyusername": {
  41254. "description": "买方名字",
  41255. "type": "string"
  41256. },
  41257. "contractid": {
  41258. "description": "合同ID",
  41259. "type": "integer"
  41260. },
  41261. "createtime": {
  41262. "description": "创建时间",
  41263. "type": "string"
  41264. },
  41265. "creatorid": {
  41266. "description": "创建人",
  41267. "type": "integer"
  41268. },
  41269. "curstepdeadline": {
  41270. "description": "当前步骤到期时间",
  41271. "type": "string"
  41272. },
  41273. "curstepid": {
  41274. "description": "当前步骤ID",
  41275. "type": "string"
  41276. },
  41277. "curstepname": {
  41278. "description": "当前步骤名称",
  41279. "type": "string"
  41280. },
  41281. "deliverygoodscode": {
  41282. "description": "品种代码",
  41283. "type": "string"
  41284. },
  41285. "deliverygoodsid": {
  41286. "description": "品种ID",
  41287. "type": "integer"
  41288. },
  41289. "deliverygoodsname": {
  41290. "description": "品种名称",
  41291. "type": "string"
  41292. },
  41293. "enddate": {
  41294. "description": "结束交易日(yyyymmdd)",
  41295. "type": "string"
  41296. },
  41297. "enumdicname": {
  41298. "description": "单位名称",
  41299. "type": "string"
  41300. },
  41301. "expressfee": {
  41302. "description": "运费",
  41303. "type": "number"
  41304. },
  41305. "expressfeeconfirmed": {
  41306. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41307. "type": "integer"
  41308. },
  41309. "hasovershort": {
  41310. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41311. "type": "integer"
  41312. },
  41313. "haswr": {
  41314. "description": "类型 0-仓单预售 1-仓单贸易",
  41315. "type": "integer"
  41316. },
  41317. "marketid": {
  41318. "description": "市场ID",
  41319. "type": "integer"
  41320. },
  41321. "middleaccountid": {
  41322. "description": "中间商资金账号ID",
  41323. "type": "integer"
  41324. },
  41325. "middleuserid": {
  41326. "description": "中间商用户ID",
  41327. "type": "integer"
  41328. },
  41329. "minivalue": {
  41330. "description": "现货商品最小变动值",
  41331. "type": "integer"
  41332. },
  41333. "optioncompare": {
  41334. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41335. "type": "string"
  41336. },
  41337. "overshortamount": {
  41338. "description": "溢短金额",
  41339. "type": "number"
  41340. },
  41341. "overshortqty": {
  41342. "description": "溢短数量",
  41343. "type": "number"
  41344. },
  41345. "paymenttype": {
  41346. "description": "付款方式 - 1:冻结 2:扣款",
  41347. "type": "integer"
  41348. },
  41349. "performanceplanid": {
  41350. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41351. "type": "string"
  41352. },
  41353. "performancestatus": {
  41354. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41355. "type": "integer"
  41356. },
  41357. "performancetype": {
  41358. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41359. "type": "integer"
  41360. },
  41361. "qty": {
  41362. "description": "履约数量",
  41363. "type": "number"
  41364. },
  41365. "relatedorderid": {
  41366. "description": "关联单号(履约类型的关联单号)",
  41367. "type": "string"
  41368. },
  41369. "remark": {
  41370. "description": "备注",
  41371. "type": "string"
  41372. },
  41373. "sellaccountid": {
  41374. "description": "卖方账号",
  41375. "type": "integer"
  41376. },
  41377. "sellerfreezeamount": {
  41378. "description": "履约冻结(卖履约)",
  41379. "type": "number"
  41380. },
  41381. "sellerfreezeamountremain": {
  41382. "description": "履约冻结剩余(卖履约)",
  41383. "type": "number"
  41384. },
  41385. "sellreceivedamount": {
  41386. "description": "卖方已收金额",
  41387. "type": "number"
  41388. },
  41389. "sellusername": {
  41390. "description": "卖方名字",
  41391. "type": "string"
  41392. },
  41393. "shipremark": {
  41394. "description": "发货备注[物流单号]",
  41395. "type": "string"
  41396. },
  41397. "starttime": {
  41398. "description": "开始时间",
  41399. "type": "string"
  41400. },
  41401. "steptypeid": {
  41402. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41403. "type": "integer"
  41404. },
  41405. "typename": {
  41406. "description": "履约类型 名称",
  41407. "type": "string"
  41408. },
  41409. "unpaidamount": {
  41410. "description": "期初均价",
  41411. "type": "number"
  41412. },
  41413. "userid": {
  41414. "description": "用户id",
  41415. "type": "integer"
  41416. },
  41417. "warehouseid": {
  41418. "description": "仓库ID",
  41419. "type": "integer"
  41420. },
  41421. "warehousename": {
  41422. "description": "仓库名称",
  41423. "type": "string"
  41424. },
  41425. "wrfactortypeid": {
  41426. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41427. "type": "string"
  41428. },
  41429. "wrfactortypename": {
  41430. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41431. "type": "string"
  41432. },
  41433. "wrstandardcode": {
  41434. "description": "现货商品代码",
  41435. "type": "string"
  41436. },
  41437. "wrstandardid": {
  41438. "description": "现货商品ID",
  41439. "type": "integer"
  41440. },
  41441. "wrstandardname": {
  41442. "description": "商品名称",
  41443. "type": "string"
  41444. },
  41445. "wrtransferuserid": {
  41446. "description": "仓单受让用户",
  41447. "type": "integer"
  41448. },
  41449. "wrtypename": {
  41450. "description": "商品",
  41451. "type": "string"
  41452. }
  41453. }
  41454. },
  41455. "models.WrPerformancePlanStep": {
  41456. "type": "object",
  41457. "properties": {
  41458. "delaydays": {
  41459. "description": "延期申请天数",
  41460. "type": "integer"
  41461. },
  41462. "deliverygoodscode": {
  41463. "description": "品种代码",
  41464. "type": "string"
  41465. },
  41466. "deliverygoodsid": {
  41467. "description": "品种ID",
  41468. "type": "integer"
  41469. },
  41470. "deliverygoodsname": {
  41471. "description": "品种名称",
  41472. "type": "string"
  41473. },
  41474. "endtime": {
  41475. "description": "结束日期",
  41476. "type": "string"
  41477. },
  41478. "enumdicname": {
  41479. "description": "单位名称",
  41480. "type": "string"
  41481. },
  41482. "executeside": {
  41483. "description": "步骤执行方 - 1:买方 2:卖方",
  41484. "type": "integer"
  41485. },
  41486. "handlestatus": {
  41487. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  41488. "type": "integer"
  41489. },
  41490. "isauto": {
  41491. "description": "是否自动 - 0:不自动 1:自动",
  41492. "type": "integer"
  41493. },
  41494. "islastreceivestep": {
  41495. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  41496. "type": "integer"
  41497. },
  41498. "minivalue": {
  41499. "description": "现货商品最小变动值",
  41500. "type": "integer"
  41501. },
  41502. "optioncompare": {
  41503. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41504. "type": "string"
  41505. },
  41506. "overdays": {
  41507. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  41508. "type": "integer"
  41509. },
  41510. "performancestepid": {
  41511. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  41512. "type": "string"
  41513. },
  41514. "planid": {
  41515. "description": "所属履约计划ID",
  41516. "type": "string"
  41517. },
  41518. "realamount": {
  41519. "description": "实际完成金额",
  41520. "type": "number"
  41521. },
  41522. "relatedorderid": {
  41523. "description": "关联单号",
  41524. "type": "string"
  41525. },
  41526. "remaindays": {
  41527. "description": "剩余天数",
  41528. "type": "integer"
  41529. },
  41530. "remark": {
  41531. "description": "错误备注",
  41532. "type": "string"
  41533. },
  41534. "starttime": {
  41535. "description": "开始日期",
  41536. "type": "string"
  41537. },
  41538. "stepamount": {
  41539. "description": "步骤金额",
  41540. "type": "number"
  41541. },
  41542. "stepdays": {
  41543. "description": "距离上一步天数(分钟)",
  41544. "type": "integer"
  41545. },
  41546. "stepindex": {
  41547. "description": "步骤序号",
  41548. "type": "integer"
  41549. },
  41550. "steplanchtype": {
  41551. "description": "步骤启动类型 - 1:系统自动 2:手动",
  41552. "type": "integer"
  41553. },
  41554. "stepremark": {
  41555. "description": "步骤备注",
  41556. "type": "string"
  41557. },
  41558. "stepstatus": {
  41559. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  41560. "type": "integer"
  41561. },
  41562. "steptypeid": {
  41563. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41564. "type": "integer"
  41565. },
  41566. "steptypename": {
  41567. "description": "步骤名称",
  41568. "type": "string"
  41569. },
  41570. "stepvalue": {
  41571. "description": "步骤值",
  41572. "type": "number"
  41573. },
  41574. "warehouseid": {
  41575. "description": "仓库ID",
  41576. "type": "integer"
  41577. },
  41578. "warehousename": {
  41579. "description": "仓库名称",
  41580. "type": "string"
  41581. },
  41582. "wrfactortypeid": {
  41583. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41584. "type": "string"
  41585. },
  41586. "wrfactortypename": {
  41587. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41588. "type": "string"
  41589. },
  41590. "wrstandardcode": {
  41591. "description": "现货商品代码",
  41592. "type": "string"
  41593. },
  41594. "wrstandardid": {
  41595. "description": "现货商品ID",
  41596. "type": "integer"
  41597. },
  41598. "wrstandardname": {
  41599. "description": "商品名称",
  41600. "type": "string"
  41601. },
  41602. "wrtypename": {
  41603. "description": "商品",
  41604. "type": "string"
  41605. }
  41606. }
  41607. },
  41608. "models.WrPerformanceStepType": {
  41609. "type": "object",
  41610. "properties": {
  41611. "canauto": {
  41612. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  41613. "type": "integer"
  41614. },
  41615. "steptypeid": {
  41616. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  41617. "type": "integer"
  41618. },
  41619. "steptypename": {
  41620. "description": "步骤类型名称",
  41621. "type": "string"
  41622. }
  41623. }
  41624. },
  41625. "models.WrPerformanceTemplateEx": {
  41626. "type": "object",
  41627. "properties": {
  41628. "autoid": {
  41629. "description": "AutoID 模板id",
  41630. "type": "integer"
  41631. },
  41632. "createtime": {
  41633. "description": "创建时间",
  41634. "type": "string"
  41635. },
  41636. "creatorid": {
  41637. "description": "创建人",
  41638. "type": "integer"
  41639. },
  41640. "lstStep": {
  41641. "description": "步骤信息列表",
  41642. "type": "array",
  41643. "items": {
  41644. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41645. }
  41646. },
  41647. "paymenttype": {
  41648. "description": "支付方式 - 1:冻结 2:扣款",
  41649. "type": "integer"
  41650. },
  41651. "takemode": {
  41652. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41653. "type": "integer"
  41654. },
  41655. "templatename": {
  41656. "description": "模板名称",
  41657. "type": "string"
  41658. },
  41659. "templatetype": {
  41660. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41661. "type": "integer"
  41662. },
  41663. "userid": {
  41664. "description": "所属用户",
  41665. "type": "integer"
  41666. }
  41667. }
  41668. },
  41669. "models.WrPosition": {
  41670. "type": "object",
  41671. "properties": {
  41672. "accountid": {
  41673. "description": "帐户ID",
  41674. "type": "integer"
  41675. },
  41676. "buyexcuteqty": {
  41677. "description": "采购履约中数量",
  41678. "type": "number"
  41679. },
  41680. "creditcurqty": {
  41681. "description": "授信当前数量(预售仓单:预售当前量)",
  41682. "type": "number"
  41683. },
  41684. "creditenableqty": {
  41685. "description": "授信可用数量(预售仓单: 可用数量)",
  41686. "type": "number"
  41687. },
  41688. "creditfreezeqty": {
  41689. "description": "授信冻结数量(预售仓单: 当前数量)",
  41690. "type": "number"
  41691. },
  41692. "credittotalqty": {
  41693. "description": "授信总数量(预售仓单:预售总量)",
  41694. "type": "number"
  41695. },
  41696. "credittradeqty": {
  41697. "description": "授信成交数量(预售仓单:成交总量)",
  41698. "type": "number"
  41699. },
  41700. "deliverygoodscode": {
  41701. "description": "品种代码",
  41702. "type": "string"
  41703. },
  41704. "deliverygoodsid": {
  41705. "description": "品种ID",
  41706. "type": "integer"
  41707. },
  41708. "deliverygoodsname": {
  41709. "description": "品种名称",
  41710. "type": "string"
  41711. },
  41712. "enalbeqty": {
  41713. "description": "可用数量",
  41714. "type": "number"
  41715. },
  41716. "enumdicname": {
  41717. "description": "单位名称",
  41718. "type": "string"
  41719. },
  41720. "freezeqty": {
  41721. "description": "总冻结数量",
  41722. "type": "number"
  41723. },
  41724. "haswr": {
  41725. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41726. "type": "integer"
  41727. },
  41728. "minivalue": {
  41729. "description": "现货商品最小变动值",
  41730. "type": "integer"
  41731. },
  41732. "modifytime": {
  41733. "description": "修改时间(过户时间)",
  41734. "type": "string"
  41735. },
  41736. "optioncompare": {
  41737. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41738. "type": "string"
  41739. },
  41740. "pledgeqty": {
  41741. "description": "质押数量",
  41742. "type": "number"
  41743. },
  41744. "querytype": {
  41745. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  41746. "type": "integer"
  41747. },
  41748. "sellexcuteqty": {
  41749. "description": "销售履约中数量",
  41750. "type": "number"
  41751. },
  41752. "totalqty": {
  41753. "description": "总数量(库存数量)",
  41754. "type": "number"
  41755. },
  41756. "warehouseid": {
  41757. "description": "仓库ID",
  41758. "type": "integer"
  41759. },
  41760. "warehousename": {
  41761. "description": "仓库名称",
  41762. "type": "string"
  41763. },
  41764. "wrfactortypeid": {
  41765. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41766. "type": "string"
  41767. },
  41768. "wrfactortypename": {
  41769. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41770. "type": "string"
  41771. },
  41772. "wrpositionid": {
  41773. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41774. "type": "string"
  41775. },
  41776. "wrpositionno": {
  41777. "description": "仓单编号",
  41778. "type": "string"
  41779. },
  41780. "wrstandardcode": {
  41781. "description": "现货商品代码",
  41782. "type": "string"
  41783. },
  41784. "wrstandardid": {
  41785. "description": "现货商品ID",
  41786. "type": "integer"
  41787. },
  41788. "wrstandardname": {
  41789. "description": "商品名称",
  41790. "type": "string"
  41791. },
  41792. "wrtypename": {
  41793. "description": "商品",
  41794. "type": "string"
  41795. },
  41796. "wruserid": {
  41797. "description": "持有人ID",
  41798. "type": "integer"
  41799. }
  41800. }
  41801. },
  41802. "models.WrPreSaleInfo": {
  41803. "type": "object",
  41804. "properties": {
  41805. "bannerpicurl": {
  41806. "description": "Banner图",
  41807. "type": "string"
  41808. },
  41809. "baseqty": {
  41810. "description": "中签基数",
  41811. "type": "number"
  41812. },
  41813. "createtime": {
  41814. "description": "创建时间",
  41815. "type": "string"
  41816. },
  41817. "deliverygoodsid": {
  41818. "description": "现货品种ID",
  41819. "type": "integer"
  41820. },
  41821. "enddate": {
  41822. "description": "预售结束日期",
  41823. "type": "string"
  41824. },
  41825. "enumdicname": {
  41826. "description": "单位名称",
  41827. "type": "string"
  41828. },
  41829. "lotteryflag": {
  41830. "description": "摇号标识 - 0:未摇号 1:已摇号",
  41831. "type": "integer"
  41832. },
  41833. "lotteryqty": {
  41834. "description": "摇号总量",
  41835. "type": "number"
  41836. },
  41837. "luckyqty": {
  41838. "description": "已中签量",
  41839. "type": "number"
  41840. },
  41841. "marketid": {
  41842. "description": "市场ID",
  41843. "type": "integer"
  41844. },
  41845. "maxbuyqty": {
  41846. "description": "单人最大申购量",
  41847. "type": "number"
  41848. },
  41849. "maxluckyqty": {
  41850. "description": "单人最大中签量",
  41851. "type": "number"
  41852. },
  41853. "pictureurls": {
  41854. "description": "详情图片(逗号分隔)",
  41855. "type": "string"
  41856. },
  41857. "placeqty": {
  41858. "description": "已配售量",
  41859. "type": "number"
  41860. },
  41861. "presaleapplyid": {
  41862. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41863. "type": "string",
  41864. "example": "0"
  41865. },
  41866. "presaleqty": {
  41867. "description": "预售总量",
  41868. "type": "number"
  41869. },
  41870. "presalestatus": {
  41871. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  41872. "type": "integer"
  41873. },
  41874. "sellaccountid": {
  41875. "description": "发行方资金账户ID",
  41876. "type": "integer"
  41877. },
  41878. "selluserid": {
  41879. "description": "发行方用户ID",
  41880. "type": "integer"
  41881. },
  41882. "sellwrtradeorderid": {
  41883. "description": "发行方卖委托单ID",
  41884. "type": "string"
  41885. },
  41886. "startdate": {
  41887. "description": "预售开始日期",
  41888. "type": "string"
  41889. },
  41890. "takestartdate": {
  41891. "description": "提货开始日期",
  41892. "type": "string"
  41893. },
  41894. "thumurls": {
  41895. "description": "缩略图片(1:1)(逗号分隔)",
  41896. "type": "string"
  41897. },
  41898. "tradedate": {
  41899. "description": "交易日",
  41900. "type": "string"
  41901. },
  41902. "unitid": {
  41903. "description": "单位ID",
  41904. "type": "integer"
  41905. },
  41906. "unitprice": {
  41907. "description": "商品单价",
  41908. "type": "number"
  41909. },
  41910. "username": {
  41911. "description": "发行方用户名称",
  41912. "type": "string"
  41913. },
  41914. "warehousecode": {
  41915. "description": "仓库代码(仓库简称)",
  41916. "type": "string"
  41917. },
  41918. "warehouseid": {
  41919. "description": "仓库ID",
  41920. "type": "integer"
  41921. },
  41922. "warehousename": {
  41923. "description": "仓库名称",
  41924. "type": "string"
  41925. },
  41926. "wrfactortypeid": {
  41927. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  41928. "type": "string",
  41929. "example": "0"
  41930. },
  41931. "wrstandardid": {
  41932. "description": "现货商品ID",
  41933. "type": "integer"
  41934. },
  41935. "wrstandardname": {
  41936. "description": "现货商品名称",
  41937. "type": "string"
  41938. }
  41939. }
  41940. },
  41941. "models.WrQuoteOrderMyq": {
  41942. "type": "object",
  41943. "properties": {
  41944. "buyorsell": {
  41945. "description": "买卖 - 0:买 1:卖",
  41946. "type": "integer"
  41947. },
  41948. "canbargain": {
  41949. "description": "是否可议价 - 0:不可 1:可",
  41950. "type": "integer"
  41951. },
  41952. "canpart": {
  41953. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41954. "type": "integer"
  41955. },
  41956. "delistminqty": {
  41957. "description": "期初均价",
  41958. "type": "number"
  41959. },
  41960. "deliverygoodscode": {
  41961. "description": "品种代码",
  41962. "type": "string"
  41963. },
  41964. "deliverygoodsid": {
  41965. "description": "品种ID",
  41966. "type": "integer"
  41967. },
  41968. "deliverygoodsname": {
  41969. "description": "品种名称",
  41970. "type": "string"
  41971. },
  41972. "deliverymonth": {
  41973. "description": "交收月",
  41974. "type": "string"
  41975. },
  41976. "enumdicname": {
  41977. "description": "单位名称",
  41978. "type": "string"
  41979. },
  41980. "fixedprice": {
  41981. "description": "买(卖)价",
  41982. "type": "number"
  41983. },
  41984. "goodscode": {
  41985. "description": "商品合约代码",
  41986. "type": "string"
  41987. },
  41988. "marginflag": {
  41989. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  41990. "type": "integer"
  41991. },
  41992. "marginvalue": {
  41993. "description": "保证金设置值",
  41994. "type": "number"
  41995. },
  41996. "minivalue": {
  41997. "description": "现货商品最小变动值",
  41998. "type": "integer"
  41999. },
  42000. "orderqty": {
  42001. "description": "买(卖)量(=委托量-成交量)",
  42002. "type": "number"
  42003. },
  42004. "ordertime": {
  42005. "description": "委托时间",
  42006. "type": "string"
  42007. },
  42008. "performancetemplateid": {
  42009. "description": "履约模板id",
  42010. "type": "integer"
  42011. },
  42012. "pricemove": {
  42013. "description": "买(卖)升贴水- 基差",
  42014. "type": "number"
  42015. },
  42016. "templatename": {
  42017. "description": "履约模板名称",
  42018. "type": "string"
  42019. },
  42020. "userid": {
  42021. "description": "购买方(销售方)用户ID",
  42022. "type": "integer"
  42023. },
  42024. "username": {
  42025. "description": "购买方(销售方)",
  42026. "type": "string"
  42027. },
  42028. "validtime": {
  42029. "description": "有效期限",
  42030. "type": "string"
  42031. },
  42032. "validtype": {
  42033. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42034. "type": "integer"
  42035. },
  42036. "warehousename": {
  42037. "description": "仓库名称",
  42038. "type": "string"
  42039. },
  42040. "wrfactortypeid": {
  42041. "description": "仓单要素id",
  42042. "type": "string"
  42043. },
  42044. "wrstandardcode": {
  42045. "description": "现货商品代码",
  42046. "type": "string"
  42047. },
  42048. "wrstandardid": {
  42049. "description": "现货商品ID",
  42050. "type": "integer"
  42051. },
  42052. "wrstandardname": {
  42053. "description": "商品名称",
  42054. "type": "string"
  42055. },
  42056. "wrtradeorderid": {
  42057. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42058. "type": "string"
  42059. },
  42060. "wrtypename": {
  42061. "description": "商品",
  42062. "type": "string"
  42063. }
  42064. }
  42065. },
  42066. "models.WrReckonSpotGoodsTradeSum": {
  42067. "type": "object",
  42068. "properties": {
  42069. "begindate": {
  42070. "description": "开始日期(结果含开始日期) yyyymmdd",
  42071. "type": "string"
  42072. },
  42073. "enddate": {
  42074. "description": "结束日期(结果含结束日期) yyyymmdd",
  42075. "type": "string"
  42076. },
  42077. "istoday": {
  42078. "description": "是否当日",
  42079. "type": "boolean"
  42080. },
  42081. "marketid": {
  42082. "description": "市场ID",
  42083. "type": "integer"
  42084. },
  42085. "price": {
  42086. "description": "价格 = 日成交金额 / 日成交数量",
  42087. "type": "string"
  42088. },
  42089. "reckondate": {
  42090. "description": "日期 格式 yyyymmdd",
  42091. "type": "string"
  42092. },
  42093. "tradeamount": {
  42094. "description": "期初均价",
  42095. "type": "number"
  42096. },
  42097. "tradeqty": {
  42098. "description": "期初均价",
  42099. "type": "number"
  42100. },
  42101. "wrstandardid": {
  42102. "description": "现货商品ID",
  42103. "type": "integer"
  42104. }
  42105. }
  42106. },
  42107. "models.WrScfContract": {
  42108. "type": "object",
  42109. "properties": {
  42110. "borroweruserid": {
  42111. "description": "借款用户ID",
  42112. "type": "integer"
  42113. },
  42114. "buybackwrpositionqty": {
  42115. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42116. "type": "number"
  42117. },
  42118. "closeinterest": {
  42119. "description": "已结利息 -\u003e 已结费用",
  42120. "type": "number"
  42121. },
  42122. "currisklevel": {
  42123. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42124. "type": "integer"
  42125. },
  42126. "deadline": {
  42127. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42128. "type": "string"
  42129. },
  42130. "deliverygoodscode": {
  42131. "description": "品种代码",
  42132. "type": "string"
  42133. },
  42134. "deliverygoodsid": {
  42135. "description": "品种ID",
  42136. "type": "integer"
  42137. },
  42138. "deliverygoodsname": {
  42139. "description": "品种名称",
  42140. "type": "string"
  42141. },
  42142. "enumdicname": {
  42143. "description": "单位名称",
  42144. "type": "string"
  42145. },
  42146. "financingdays": {
  42147. "description": "天数(天)",
  42148. "type": "integer"
  42149. },
  42150. "initmargin": {
  42151. "description": "保证金 - [仓单回购]",
  42152. "type": "number"
  42153. },
  42154. "interestamount": {
  42155. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42156. "type": "number"
  42157. },
  42158. "interestdebt": {
  42159. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42160. "type": "number"
  42161. },
  42162. "interestminlen": {
  42163. "description": "最小起息天数",
  42164. "type": "integer"
  42165. },
  42166. "interestrate": {
  42167. "description": "利率",
  42168. "type": "number"
  42169. },
  42170. "interestratemode": {
  42171. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42172. "type": "integer"
  42173. },
  42174. "interestsettlemode": {
  42175. "description": "结息方式 - 1:按日结息 3:按月结息",
  42176. "type": "integer"
  42177. },
  42178. "interestsettlevalue": {
  42179. "description": "结息方式值",
  42180. "type": "integer"
  42181. },
  42182. "isautoloan": {
  42183. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42184. "type": "integer"
  42185. },
  42186. "lastcloseinterestday": {
  42187. "description": "最近结息日(yyyyMMdd)",
  42188. "type": "string"
  42189. },
  42190. "lenderamount": {
  42191. "description": "贷款金额 -\u003e 借款金额",
  42192. "type": "number"
  42193. },
  42194. "lenderuserid": {
  42195. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42196. "type": "integer"
  42197. },
  42198. "lenderusername": {
  42199. "description": "融出方",
  42200. "type": "string"
  42201. },
  42202. "marginratio": {
  42203. "description": "保证金比率质押率 - [仓单质押]",
  42204. "type": "number"
  42205. },
  42206. "marketid": {
  42207. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42208. "type": "integer"
  42209. },
  42210. "minivalue": {
  42211. "description": "现货商品最小变动值",
  42212. "type": "integer"
  42213. },
  42214. "optioncompare": {
  42215. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42216. "type": "string"
  42217. },
  42218. "pricemove": {
  42219. "description": "估值升贴水值",
  42220. "type": "number"
  42221. },
  42222. "productdetailid": {
  42223. "description": "产品组合ID",
  42224. "type": "integer"
  42225. },
  42226. "productid": {
  42227. "description": "金融产品ID",
  42228. "type": "integer"
  42229. },
  42230. "productname": {
  42231. "description": "产品名称",
  42232. "type": "string"
  42233. },
  42234. "remainamount": {
  42235. "description": "合同剩余金额 -\u003e 剩余金额",
  42236. "type": "number"
  42237. },
  42238. "remainwrpositionqty": {
  42239. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42240. "type": "number"
  42241. },
  42242. "remark": {
  42243. "description": "备注",
  42244. "type": "string"
  42245. },
  42246. "scfcontractid": {
  42247. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42248. "type": "string"
  42249. },
  42250. "scfcontractstatus": {
  42251. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42252. "type": "integer"
  42253. },
  42254. "scfcontracttype": {
  42255. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42256. "type": "integer"
  42257. },
  42258. "startinterestday": {
  42259. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42260. "type": "string"
  42261. },
  42262. "totalinterest": {
  42263. "description": "已计利息 -\u003e 已计费用",
  42264. "type": "number"
  42265. },
  42266. "unpaidinterest": {
  42267. "description": "期初均价",
  42268. "type": "number"
  42269. },
  42270. "updatetime": {
  42271. "description": "更新时间",
  42272. "type": "string"
  42273. },
  42274. "warehouseid": {
  42275. "description": "仓库ID",
  42276. "type": "integer"
  42277. },
  42278. "warehousename": {
  42279. "description": "仓库名称",
  42280. "type": "string"
  42281. },
  42282. "wrfactortypeid": {
  42283. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42284. "type": "string"
  42285. },
  42286. "wrfactortypename": {
  42287. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42288. "type": "string"
  42289. },
  42290. "wrqty": {
  42291. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42292. "type": "number"
  42293. },
  42294. "wrstandardcode": {
  42295. "description": "现货商品代码",
  42296. "type": "string"
  42297. },
  42298. "wrstandardid": {
  42299. "description": "现货商品ID",
  42300. "type": "integer"
  42301. },
  42302. "wrstandardname": {
  42303. "description": "商品名称",
  42304. "type": "string"
  42305. },
  42306. "wrtypename": {
  42307. "description": "商品",
  42308. "type": "string"
  42309. }
  42310. }
  42311. },
  42312. "models.WrScfContractInterest": {
  42313. "type": "object",
  42314. "properties": {
  42315. "closeinterest": {
  42316. "description": "已结利息",
  42317. "type": "number"
  42318. },
  42319. "closeintereststatus": {
  42320. "description": "结息状态 - 1:未结 2:已结",
  42321. "type": "integer"
  42322. },
  42323. "closetime": {
  42324. "description": "结息时间",
  42325. "type": "string"
  42326. },
  42327. "closetradedate": {
  42328. "description": "结息交易日",
  42329. "type": "string"
  42330. },
  42331. "creatorid": {
  42332. "description": "操作人ID",
  42333. "type": "integer"
  42334. },
  42335. "dayrate": {
  42336. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42337. "type": "number"
  42338. },
  42339. "interest": {
  42340. "description": "利息",
  42341. "type": "number"
  42342. },
  42343. "interestamount": {
  42344. "description": "计息金额",
  42345. "type": "number"
  42346. },
  42347. "interestday": {
  42348. "description": "计息日(yyyyMMdd)",
  42349. "type": "string"
  42350. },
  42351. "scfcontractid": {
  42352. "description": "SCF合同ID",
  42353. "type": "string"
  42354. },
  42355. "scfcontractinterestid": {
  42356. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42357. "type": "integer"
  42358. },
  42359. "updatetime": {
  42360. "description": "更新时间",
  42361. "type": "string"
  42362. }
  42363. }
  42364. },
  42365. "models.WrSearchUser": {
  42366. "type": "object",
  42367. "required": [
  42368. "username"
  42369. ],
  42370. "properties": {
  42371. "userid": {
  42372. "description": "用户ID",
  42373. "type": "integer"
  42374. },
  42375. "username": {
  42376. "description": "用户名称(已脱敏)",
  42377. "type": "string"
  42378. },
  42379. "username2": {
  42380. "description": "用户名称(未脱敏)",
  42381. "type": "string"
  42382. },
  42383. "usertype": {
  42384. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42385. "type": "integer"
  42386. }
  42387. }
  42388. },
  42389. "models.WrSiteColumnDetail": {
  42390. "type": "object",
  42391. "properties": {
  42392. "brief": {
  42393. "description": "简介",
  42394. "type": "string"
  42395. },
  42396. "context": {
  42397. "description": "内容",
  42398. "type": "string"
  42399. },
  42400. "coverimage": {
  42401. "description": "封面图片",
  42402. "type": "string"
  42403. },
  42404. "creaedate": {
  42405. "description": "创建时间",
  42406. "type": "string"
  42407. },
  42408. "id": {
  42409. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42410. "type": "integer"
  42411. },
  42412. "istop": {
  42413. "description": "是否置顶 - 0:不置 1:置顶",
  42414. "type": "integer"
  42415. },
  42416. "publishdate": {
  42417. "description": "发布日期",
  42418. "type": "string"
  42419. },
  42420. "title": {
  42421. "description": "标题",
  42422. "type": "string"
  42423. },
  42424. "updatedate": {
  42425. "description": "修改时间",
  42426. "type": "string"
  42427. }
  42428. }
  42429. },
  42430. "models.WrSpecialMatchOrder": {
  42431. "type": "object",
  42432. "properties": {
  42433. "amount": {
  42434. "description": "金额 = 数量 * 价格",
  42435. "type": "number"
  42436. },
  42437. "buyorsell": {
  42438. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42439. "type": "integer"
  42440. },
  42441. "cancelqty": {
  42442. "description": "撤销数量",
  42443. "type": "number"
  42444. },
  42445. "deliverygoodscode": {
  42446. "description": "品种代码",
  42447. "type": "string"
  42448. },
  42449. "deliverygoodsid": {
  42450. "description": "品种ID",
  42451. "type": "integer"
  42452. },
  42453. "deliverygoodsname": {
  42454. "description": "品种名称",
  42455. "type": "string"
  42456. },
  42457. "enumdicname": {
  42458. "description": "单位名称",
  42459. "type": "string"
  42460. },
  42461. "fixedprice": {
  42462. "description": "固定价格(价格)",
  42463. "type": "number"
  42464. },
  42465. "haswr": {
  42466. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42467. "type": "integer"
  42468. },
  42469. "isspecified": {
  42470. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  42471. "type": "integer"
  42472. },
  42473. "marketid": {
  42474. "description": "市场ID",
  42475. "type": "integer"
  42476. },
  42477. "matchuserid": {
  42478. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  42479. "type": "integer"
  42480. },
  42481. "matchusername": {
  42482. "description": "指定方",
  42483. "type": "string"
  42484. },
  42485. "minivalue": {
  42486. "description": "现货商品最小变动值",
  42487. "type": "integer"
  42488. },
  42489. "optioncompare": {
  42490. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42491. "type": "string"
  42492. },
  42493. "orderqty": {
  42494. "description": "委托数量",
  42495. "type": "number"
  42496. },
  42497. "ordertime": {
  42498. "description": "委托时间",
  42499. "type": "string"
  42500. },
  42501. "pricemove": {
  42502. "description": "升贴水(浮动价时填写) - [挂牌]",
  42503. "type": "number"
  42504. },
  42505. "tradedate": {
  42506. "description": "交易日(yyyyMMdd)",
  42507. "type": "string"
  42508. },
  42509. "tradeprice": {
  42510. "description": "成交价格",
  42511. "type": "number"
  42512. },
  42513. "tradeqty": {
  42514. "description": "成交数量",
  42515. "type": "number"
  42516. },
  42517. "userid": {
  42518. "description": "用户ID",
  42519. "type": "integer"
  42520. },
  42521. "username": {
  42522. "description": "发起方",
  42523. "type": "string"
  42524. },
  42525. "warehouseid": {
  42526. "description": "仓库ID",
  42527. "type": "integer"
  42528. },
  42529. "warehousename": {
  42530. "description": "仓库名称",
  42531. "type": "string"
  42532. },
  42533. "wrfactortypeid": {
  42534. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42535. "type": "string"
  42536. },
  42537. "wrfactortypename": {
  42538. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42539. "type": "string"
  42540. },
  42541. "wrpricetype": {
  42542. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42543. "type": "integer"
  42544. },
  42545. "wrstandardcode": {
  42546. "description": "现货商品代码",
  42547. "type": "string"
  42548. },
  42549. "wrstandardid": {
  42550. "description": "现货商品ID",
  42551. "type": "integer"
  42552. },
  42553. "wrstandardname": {
  42554. "description": "商品名称",
  42555. "type": "string"
  42556. },
  42557. "wrtradeorderid": {
  42558. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42559. "type": "string"
  42560. },
  42561. "wrtradeorderstatus": {
  42562. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  42563. "type": "integer"
  42564. },
  42565. "wrtradetype": {
  42566. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42567. "type": "integer"
  42568. },
  42569. "wrtypename": {
  42570. "description": "商品",
  42571. "type": "string"
  42572. }
  42573. }
  42574. },
  42575. "models.WrSpotGroupTradeSum": {
  42576. "type": "object",
  42577. "properties": {
  42578. "deliverygoodscode": {
  42579. "description": "现货品种代码",
  42580. "type": "string"
  42581. },
  42582. "deliverygoodsid": {
  42583. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42584. "type": "integer"
  42585. },
  42586. "deliverygoodsname": {
  42587. "description": "现货品种名称",
  42588. "type": "string"
  42589. },
  42590. "lastavgprice": {
  42591. "description": "上上个交易日价格(前2天价格)",
  42592. "type": "string"
  42593. },
  42594. "lastreckondate": {
  42595. "description": "上上个交易日(前2天交易日)",
  42596. "type": "string"
  42597. },
  42598. "reckondate": {
  42599. "description": "上个交易日(前1天交易日)",
  42600. "type": "string"
  42601. },
  42602. "todayavgprice": {
  42603. "description": "上个交易日价格(前1天价格)",
  42604. "type": "string"
  42605. },
  42606. "updown": {
  42607. "description": "涨跌",
  42608. "type": "string"
  42609. },
  42610. "updownratio": {
  42611. "description": "涨幅(已格式化, 直接显示即可)",
  42612. "type": "string"
  42613. }
  42614. }
  42615. },
  42616. "models.WrSpotGroupTradeSumDetail": {
  42617. "type": "object",
  42618. "properties": {
  42619. "deliverygoodsid": {
  42620. "description": "现货商品id",
  42621. "type": "integer"
  42622. },
  42623. "price": {
  42624. "description": "价格",
  42625. "type": "number"
  42626. },
  42627. "reckondate": {
  42628. "description": "日期(yyymmdd, 如:20211031)",
  42629. "type": "string"
  42630. }
  42631. }
  42632. },
  42633. "models.WrSpotGroupTradeSumEx": {
  42634. "type": "object",
  42635. "properties": {
  42636. "lst": {
  42637. "description": "指数列表",
  42638. "type": "array",
  42639. "items": {
  42640. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  42641. }
  42642. },
  42643. "prereckondate": {
  42644. "description": "上上个交易日(yyymmdd)",
  42645. "type": "string"
  42646. },
  42647. "reckondate": {
  42648. "description": "上个交易日(yyyymmdd)",
  42649. "type": "string"
  42650. }
  42651. }
  42652. },
  42653. "models.WrStandardFactoryItem": {
  42654. "type": "object",
  42655. "properties": {
  42656. "dgfactoryitemid": {
  42657. "description": "选择项id",
  42658. "type": "integer"
  42659. },
  42660. "dgfactoryitemvalue": {
  42661. "description": "要素项值",
  42662. "type": "string"
  42663. },
  42664. "warehouseid": {
  42665. "description": "仓库id",
  42666. "type": "integer"
  42667. }
  42668. }
  42669. },
  42670. "models.WrStandardFactoryItemEx": {
  42671. "type": "object",
  42672. "properties": {
  42673. "dgfactoryitemtypeid": {
  42674. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42675. "type": "integer"
  42676. },
  42677. "itemlst": {
  42678. "description": "要素项列表",
  42679. "type": "array",
  42680. "items": {
  42681. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42682. }
  42683. },
  42684. "itemtypename": {
  42685. "description": "要素项类型名称",
  42686. "type": "string"
  42687. },
  42688. "wrstandardid": {
  42689. "description": "品类",
  42690. "type": "integer"
  42691. }
  42692. }
  42693. },
  42694. "models.WrTradeDetail": {
  42695. "type": "object",
  42696. "properties": {
  42697. "accountid": {
  42698. "description": "资金账号",
  42699. "type": "integer"
  42700. },
  42701. "bannerpicurl": {
  42702. "description": "Banner图",
  42703. "type": "string"
  42704. },
  42705. "begindate": {
  42706. "description": "开始交易日(yyyymmdd)",
  42707. "type": "string"
  42708. },
  42709. "buyorsell": {
  42710. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42711. "type": "integer"
  42712. },
  42713. "chargevalue": {
  42714. "description": "手续费",
  42715. "type": "number"
  42716. },
  42717. "deliverygoodscode": {
  42718. "description": "品种代码",
  42719. "type": "string"
  42720. },
  42721. "deliverygoodsid": {
  42722. "description": "品种ID",
  42723. "type": "integer"
  42724. },
  42725. "deliverygoodsname": {
  42726. "description": "品种名称",
  42727. "type": "string"
  42728. },
  42729. "deliverymonth": {
  42730. "description": "交收月",
  42731. "type": "string"
  42732. },
  42733. "enddate": {
  42734. "description": "结束交易日(yyyymmdd)",
  42735. "type": "string"
  42736. },
  42737. "enumdicname": {
  42738. "description": "单位名称",
  42739. "type": "string"
  42740. },
  42741. "haswr": {
  42742. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42743. "type": "integer"
  42744. },
  42745. "marketid": {
  42746. "description": "市场ID",
  42747. "type": "integer"
  42748. },
  42749. "matchaccountid": {
  42750. "description": "对手账号",
  42751. "type": "integer"
  42752. },
  42753. "matchusername": {
  42754. "description": "对手方",
  42755. "type": "string"
  42756. },
  42757. "minivalue": {
  42758. "description": "现货商品最小变动值",
  42759. "type": "integer"
  42760. },
  42761. "optioncompare": {
  42762. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42763. "type": "string"
  42764. },
  42765. "thumurls": {
  42766. "description": "缩略图",
  42767. "type": "string"
  42768. },
  42769. "tradedate": {
  42770. "description": "交易日(yyyyMMdd)",
  42771. "type": "string"
  42772. },
  42773. "tradeprice": {
  42774. "description": "成交价格",
  42775. "type": "number"
  42776. },
  42777. "tradeqty": {
  42778. "description": "成交数量",
  42779. "type": "number"
  42780. },
  42781. "tradetime": {
  42782. "description": "成交时间",
  42783. "type": "string"
  42784. },
  42785. "userid": {
  42786. "description": "用户ID",
  42787. "type": "integer"
  42788. },
  42789. "warehouseid": {
  42790. "description": "仓库ID",
  42791. "type": "integer"
  42792. },
  42793. "warehousename": {
  42794. "description": "仓库名称",
  42795. "type": "string"
  42796. },
  42797. "wrfactortypeid": {
  42798. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42799. "type": "string"
  42800. },
  42801. "wrfactortypename": {
  42802. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42803. "type": "string"
  42804. },
  42805. "wrstandardcode": {
  42806. "description": "现货商品代码",
  42807. "type": "string"
  42808. },
  42809. "wrstandardid": {
  42810. "description": "现货商品ID",
  42811. "type": "integer"
  42812. },
  42813. "wrstandardname": {
  42814. "description": "商品名称",
  42815. "type": "string"
  42816. },
  42817. "wrtradedetailid": {
  42818. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42819. "type": "string"
  42820. },
  42821. "wrtradetype": {
  42822. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42823. "type": "integer"
  42824. },
  42825. "wrtypename": {
  42826. "description": "商品",
  42827. "type": "string"
  42828. }
  42829. }
  42830. },
  42831. "models.WrTradeOrderDetail": {
  42832. "type": "object",
  42833. "properties": {
  42834. "buyorsell": {
  42835. "description": "买卖方向 0-买 1-卖",
  42836. "type": "integer"
  42837. },
  42838. "goodsid": {
  42839. "description": "商品id",
  42840. "type": "integer"
  42841. },
  42842. "orderid": {
  42843. "description": "委托单号",
  42844. "type": "string"
  42845. },
  42846. "orderprice": {
  42847. "description": "期初均价",
  42848. "type": "number"
  42849. },
  42850. "orderqty": {
  42851. "description": "委托数量",
  42852. "type": "integer"
  42853. },
  42854. "userid": {
  42855. "description": "用户id",
  42856. "type": "integer"
  42857. },
  42858. "username": {
  42859. "description": "用户名称(已脱敏)",
  42860. "type": "string"
  42861. }
  42862. }
  42863. },
  42864. "models.WrTypeItem": {
  42865. "type": "object",
  42866. "properties": {
  42867. "name": {
  42868. "description": "名称",
  42869. "type": "string"
  42870. },
  42871. "value": {
  42872. "description": "值",
  42873. "type": "string"
  42874. }
  42875. }
  42876. },
  42877. "models.WrUserFriend": {
  42878. "type": "object",
  42879. "properties": {
  42880. "friendname": {
  42881. "description": "朋友名称(已脱敏)",
  42882. "type": "string"
  42883. },
  42884. "frienduserid": {
  42885. "description": "朋友id",
  42886. "type": "integer"
  42887. },
  42888. "isfriend": {
  42889. "description": "是否好友 0-不是 1-是",
  42890. "type": "integer"
  42891. },
  42892. "userid": {
  42893. "description": "用户id",
  42894. "type": "integer"
  42895. }
  42896. }
  42897. },
  42898. "models.WrUserReceiptInfo": {
  42899. "type": "object",
  42900. "properties": {
  42901. "address": {
  42902. "description": "地址[发票类型:企业]",
  42903. "type": "string"
  42904. },
  42905. "autoid": {
  42906. "description": "AutoID",
  42907. "type": "integer"
  42908. },
  42909. "contactinfo": {
  42910. "description": "联系方式",
  42911. "type": "string"
  42912. },
  42913. "idnum": {
  42914. "description": "身份证号码[发票类型:个人]",
  42915. "type": "string"
  42916. },
  42917. "isdefault": {
  42918. "description": "是否默认地址 - 0:否 1:是",
  42919. "type": "integer"
  42920. },
  42921. "receiptaccount": {
  42922. "description": "发票帐号[发票类型:企业]",
  42923. "type": "string"
  42924. },
  42925. "receiptbank": {
  42926. "description": "发票开户行[发票类型:企业]",
  42927. "type": "string"
  42928. },
  42929. "receipttype": {
  42930. "description": "发票类型 - 1:个人 2:企业",
  42931. "type": "integer"
  42932. },
  42933. "taxpayerid": {
  42934. "description": "纳税人识别号",
  42935. "type": "string"
  42936. },
  42937. "userid": {
  42938. "description": "用户ID",
  42939. "type": "integer"
  42940. },
  42941. "username": {
  42942. "description": "户名(个人姓名或企业名称)",
  42943. "type": "string"
  42944. }
  42945. }
  42946. },
  42947. "models.Wrtradetradequote": {
  42948. "type": "object",
  42949. "properties": {
  42950. "begindate": {
  42951. "description": "开始日期(结果含开始日期) yyyymmdd",
  42952. "type": "string"
  42953. },
  42954. "buyaccountid": {
  42955. "description": "买方账号ID",
  42956. "type": "integer"
  42957. },
  42958. "buyuserid": {
  42959. "description": "买方用户ID",
  42960. "type": "integer"
  42961. },
  42962. "deliverygoodsid": {
  42963. "description": "现货品种ID",
  42964. "type": "integer"
  42965. },
  42966. "enddate": {
  42967. "description": "结束日期(结果含结束日期) yyyymmdd",
  42968. "type": "string"
  42969. },
  42970. "marketid": {
  42971. "description": "市场ID",
  42972. "type": "integer"
  42973. },
  42974. "sellaccountid": {
  42975. "description": "卖方账号ID",
  42976. "type": "integer"
  42977. },
  42978. "selluserid": {
  42979. "description": "卖方用户ID",
  42980. "type": "integer"
  42981. },
  42982. "tradeamount": {
  42983. "description": "成交金额",
  42984. "type": "number"
  42985. },
  42986. "tradedate": {
  42987. "description": "交易日(yyyyMMdd)",
  42988. "type": "string"
  42989. },
  42990. "tradeprice": {
  42991. "description": "成交价格",
  42992. "type": "number"
  42993. },
  42994. "tradeqty": {
  42995. "description": "成交数量",
  42996. "type": "integer"
  42997. },
  42998. "tradetime": {
  42999. "description": "成交时间",
  43000. "type": "string"
  43001. },
  43002. "wrfactortypeid": {
  43003. "description": "仓单要素类型ID",
  43004. "type": "integer"
  43005. },
  43006. "wrstandardid": {
  43007. "description": "现货商品ID",
  43008. "type": "integer"
  43009. },
  43010. "wrtradedetailid": {
  43011. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43012. "type": "string"
  43013. }
  43014. }
  43015. },
  43016. "models.XHBRAND": {
  43017. "type": "object",
  43018. "properties": {
  43019. "brandid": {
  43020. "description": "品牌id",
  43021. "type": "integer"
  43022. },
  43023. "brandname": {
  43024. "description": "品牌名称",
  43025. "type": "string"
  43026. },
  43027. "isvalid": {
  43028. "description": "是否有效 0-无效 1-有效",
  43029. "type": "integer"
  43030. }
  43031. }
  43032. },
  43033. "models.XHDeliveryGoods": {
  43034. "type": "object",
  43035. "properties": {
  43036. "areauserid": {
  43037. "description": "所属机构",
  43038. "type": "integer"
  43039. },
  43040. "bdlst": {
  43041. "description": "品牌列表",
  43042. "type": "array",
  43043. "items": {
  43044. "$ref": "#/definitions/models.XHBRAND"
  43045. }
  43046. },
  43047. "deliverygoodscode": {
  43048. "description": "现货品种代码",
  43049. "type": "string"
  43050. },
  43051. "deliverygoodsid": {
  43052. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43053. "type": "integer"
  43054. },
  43055. "deliverygoodsname": {
  43056. "description": "现货品种名称",
  43057. "type": "string"
  43058. },
  43059. "dgstatus": {
  43060. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43061. "type": "integer"
  43062. },
  43063. "filterSubEmpty": {
  43064. "description": "过滤下级为空的",
  43065. "type": "integer"
  43066. },
  43067. "isvalid": {
  43068. "description": "是否有效 - 0:无效 1:有效",
  43069. "type": "integer"
  43070. },
  43071. "remark": {
  43072. "description": "备注",
  43073. "type": "string"
  43074. },
  43075. "unitid": {
  43076. "description": "单位id(目前看,数据库中是空值)",
  43077. "type": "integer"
  43078. },
  43079. "wdlst": {
  43080. "description": "品类(现货商品)列表",
  43081. "type": "array",
  43082. "items": {
  43083. "$ref": "#/definitions/models.XHWrstandard"
  43084. }
  43085. }
  43086. }
  43087. },
  43088. "models.XHMiddleGoods": {
  43089. "type": "object",
  43090. "properties": {
  43091. "GPLST": {
  43092. "description": "期货品种列表",
  43093. "type": "array",
  43094. "items": {
  43095. "$ref": "#/definitions/models.TBGoodsGroup"
  43096. }
  43097. },
  43098. "convertratio": {
  43099. "description": "拆算系数",
  43100. "type": "number"
  43101. },
  43102. "costratio": {
  43103. "description": "成本权重",
  43104. "type": "number"
  43105. },
  43106. "deliverygoodsid": {
  43107. "description": "现货商品id",
  43108. "type": "integer"
  43109. },
  43110. "enumdicname": {
  43111. "description": "单位名称",
  43112. "type": "string"
  43113. },
  43114. "middlegoodscode": {
  43115. "description": "套保品种代码",
  43116. "type": "string"
  43117. },
  43118. "middlegoodsid": {
  43119. "description": "套保品种id",
  43120. "type": "integer"
  43121. },
  43122. "middlegoodsname": {
  43123. "description": "套保品种名称",
  43124. "type": "string"
  43125. },
  43126. "unitid": {
  43127. "description": "单位id",
  43128. "type": "integer"
  43129. }
  43130. }
  43131. },
  43132. "models.XHWrstandard": {
  43133. "type": "object",
  43134. "properties": {
  43135. "bannerpicurl": {
  43136. "description": "banner图",
  43137. "type": "string"
  43138. },
  43139. "deliverygoodsid": {
  43140. "description": "品种ID",
  43141. "type": "integer"
  43142. },
  43143. "enumdicname": {
  43144. "description": "单位名称",
  43145. "type": "string"
  43146. },
  43147. "mglst": {
  43148. "description": "套保品列表",
  43149. "type": "array",
  43150. "items": {
  43151. "$ref": "#/definitions/models.XHMiddleGoods"
  43152. }
  43153. },
  43154. "pictureurls": {
  43155. "description": "详情图片(逗号分隔)",
  43156. "type": "string"
  43157. },
  43158. "thumurls": {
  43159. "description": "缩略图片(1:1)(逗号分隔)",
  43160. "type": "string"
  43161. },
  43162. "unitid": {
  43163. "description": "单位id",
  43164. "type": "integer"
  43165. },
  43166. "vatrate": {
  43167. "description": "增值税率",
  43168. "type": "number"
  43169. },
  43170. "wrstandardcode": {
  43171. "description": "现货商品代码",
  43172. "type": "string"
  43173. },
  43174. "wrstandardid": {
  43175. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43176. "type": "integer"
  43177. },
  43178. "wrstandardname": {
  43179. "description": "现货商品名称",
  43180. "type": "string"
  43181. }
  43182. }
  43183. },
  43184. "models.XhcpSellBackApplyEx": {
  43185. "type": "object",
  43186. "required": [
  43187. "userid"
  43188. ],
  43189. "properties": {
  43190. "applyremark": {
  43191. "description": "申请备注",
  43192. "type": "string"
  43193. },
  43194. "expirytype": {
  43195. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43196. "type": "integer"
  43197. },
  43198. "goodsspec": {
  43199. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43200. "type": "integer"
  43201. },
  43202. "holeflag": {
  43203. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43204. "type": "integer"
  43205. },
  43206. "isunopened": {
  43207. "description": "是否原封 - 1:否 2:是",
  43208. "type": "integer"
  43209. },
  43210. "mpflag": {
  43211. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43212. "type": "integer"
  43213. },
  43214. "openflag": {
  43215. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43216. "type": "integer"
  43217. },
  43218. "phonenum": {
  43219. "description": "联系电话",
  43220. "type": "string"
  43221. },
  43222. "userid": {
  43223. "description": "所属用户ID",
  43224. "type": "integer"
  43225. },
  43226. "zpflag": {
  43227. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43228. "type": "integer"
  43229. }
  43230. }
  43231. },
  43232. "models.Xhcpsellbackapply": {
  43233. "type": "object",
  43234. "required": [
  43235. "userid"
  43236. ],
  43237. "properties": {
  43238. "applyid": {
  43239. "description": "申请人",
  43240. "type": "integer"
  43241. },
  43242. "applyremark": {
  43243. "description": "申请备注",
  43244. "type": "string"
  43245. },
  43246. "applysrc": {
  43247. "description": "申请来源 - 1:管理端 2:终端",
  43248. "type": "integer"
  43249. },
  43250. "applystatus": {
  43251. "description": "申请状态 - 1:待确认 2:已处理",
  43252. "type": "integer"
  43253. },
  43254. "applytime": {
  43255. "description": "申请时间",
  43256. "type": "string"
  43257. },
  43258. "auditremark": {
  43259. "description": "审核备注",
  43260. "type": "string"
  43261. },
  43262. "auditsrc": {
  43263. "description": "审核来源 - 1:管理端 2:终端",
  43264. "type": "integer"
  43265. },
  43266. "expirytype": {
  43267. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43268. "type": "integer"
  43269. },
  43270. "goodsspec": {
  43271. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43272. "type": "integer"
  43273. },
  43274. "holeflag": {
  43275. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43276. "type": "integer"
  43277. },
  43278. "isunopened": {
  43279. "description": "是否原封 - 1:否 2:是",
  43280. "type": "integer"
  43281. },
  43282. "mpflag": {
  43283. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43284. "type": "integer"
  43285. },
  43286. "openflag": {
  43287. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43288. "type": "integer"
  43289. },
  43290. "phonenum": {
  43291. "description": "联系电话",
  43292. "type": "string"
  43293. },
  43294. "sellbackapplyid": {
  43295. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43296. "type": "string"
  43297. },
  43298. "userid": {
  43299. "description": "所属用户ID",
  43300. "type": "integer"
  43301. },
  43302. "zpflag": {
  43303. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43304. "type": "integer"
  43305. }
  43306. }
  43307. },
  43308. "order.QueryHisTradeDetailRsp": {
  43309. "type": "object",
  43310. "required": [
  43311. "accountid",
  43312. "buyorsell",
  43313. "goodsid",
  43314. "histradedate",
  43315. "marketid",
  43316. "memberuserid",
  43317. "orderid",
  43318. "tradeamount",
  43319. "tradedate",
  43320. "tradeid",
  43321. "tradeprice",
  43322. "tradeqty",
  43323. "tradetime"
  43324. ],
  43325. "properties": {
  43326. "accountid": {
  43327. "description": "账户ID[报价币种]",
  43328. "type": "integer"
  43329. },
  43330. "advanceratio": {
  43331. "description": "首付比率",
  43332. "type": "number"
  43333. },
  43334. "buildtype": {
  43335. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43336. "type": "integer"
  43337. },
  43338. "buyorsell": {
  43339. "description": "方向 - 0:买 1:卖",
  43340. "type": "integer"
  43341. },
  43342. "charge": {
  43343. "description": "手续费",
  43344. "type": "number"
  43345. },
  43346. "closecharge": {
  43347. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43348. "type": "number"
  43349. },
  43350. "closeexchagechargevalue": {
  43351. "description": "平仓交易所手续费设置值",
  43352. "type": "number"
  43353. },
  43354. "closefeealgorithm": {
  43355. "description": "平仓手续费收取方式 1:比率 2:固定",
  43356. "type": "integer"
  43357. },
  43358. "closememberchargevalue": {
  43359. "description": "平仓会员手续费设置值",
  43360. "type": "number"
  43361. },
  43362. "closepl": {
  43363. "description": "平仓盈亏",
  43364. "type": "number"
  43365. },
  43366. "closepl2": {
  43367. "description": "平仓盈亏[逐笔]",
  43368. "type": "number"
  43369. },
  43370. "closeqty": {
  43371. "description": "平仓数量(先建后平操作 需要记录)",
  43372. "type": "number"
  43373. },
  43374. "creditamount": {
  43375. "description": "授信金额",
  43376. "type": "number"
  43377. },
  43378. "decimalplace": {
  43379. "description": "商品报价小数位",
  43380. "type": "integer"
  43381. },
  43382. "enumdicname": {
  43383. "description": "单位名称",
  43384. "type": "string"
  43385. },
  43386. "gcaccountid": {
  43387. "description": "账户ID[合约币种]",
  43388. "type": "integer"
  43389. },
  43390. "goodscode": {
  43391. "description": "商品代码",
  43392. "type": "string"
  43393. },
  43394. "goodsid": {
  43395. "description": "商品ID",
  43396. "type": "integer"
  43397. },
  43398. "goodsname": {
  43399. "description": "商品名称",
  43400. "type": "string"
  43401. },
  43402. "goodunitid": {
  43403. "description": "商品单位id",
  43404. "type": "integer"
  43405. },
  43406. "histradedate": {
  43407. "description": "历史交易日",
  43408. "type": "string"
  43409. },
  43410. "intclosepl": {
  43411. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43412. "type": "integer"
  43413. },
  43414. "isconfirmexercise": {
  43415. "description": "是否确认行权- 0:否 1:是",
  43416. "type": "integer"
  43417. },
  43418. "ismain": {
  43419. "description": "是否主单 - 0:不是 1:是",
  43420. "type": "integer"
  43421. },
  43422. "ispreexercise": {
  43423. "description": "是否预申报- 0:否 1:是",
  43424. "type": "integer"
  43425. },
  43426. "isreckoned": {
  43427. "description": "是否结算 - 0:未结算 1:已结算",
  43428. "type": "integer"
  43429. },
  43430. "isvaliddata": {
  43431. "description": "是否有效 - 0:无效 1:有效",
  43432. "type": "integer"
  43433. },
  43434. "listingselecttype": {
  43435. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43436. "type": "integer"
  43437. },
  43438. "marketid": {
  43439. "description": "市场ID",
  43440. "type": "integer"
  43441. },
  43442. "marketname": {
  43443. "description": "市场名称",
  43444. "type": "string"
  43445. },
  43446. "matchaccountid": {
  43447. "description": "对手账号id",
  43448. "type": "integer"
  43449. },
  43450. "memberuserid": {
  43451. "description": "会员id 个人投资者 需要填写",
  43452. "type": "integer"
  43453. },
  43454. "opencharge": {
  43455. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43456. "type": "number"
  43457. },
  43458. "openexchagechargevalue": {
  43459. "description": "建仓交易所手续费设置值",
  43460. "type": "number"
  43461. },
  43462. "openfeealgorithm": {
  43463. "description": "建仓手续费收取方式 1:比率 2:固定",
  43464. "type": "integer"
  43465. },
  43466. "openmemberchargevalue": {
  43467. "description": "建仓会员手续费设置值",
  43468. "type": "number"
  43469. },
  43470. "openqty": {
  43471. "description": "开仓数量(先建后平操作 需要记录)",
  43472. "type": "number"
  43473. },
  43474. "optiontype": {
  43475. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43476. "type": "integer"
  43477. },
  43478. "orderid": {
  43479. "description": "委托单号",
  43480. "type": "string"
  43481. },
  43482. "payamount": {
  43483. "description": "支付金额(付款金额)",
  43484. "type": "number"
  43485. },
  43486. "performanceplanid": {
  43487. "description": "履约计划ID[期权]",
  43488. "type": "integer"
  43489. },
  43490. "performancestatus": {
  43491. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43492. "type": "integer"
  43493. },
  43494. "preexerciseprice": {
  43495. "description": "预申报价格",
  43496. "type": "number"
  43497. },
  43498. "premium": {
  43499. "description": "权利金 - [持仓单的权利金]",
  43500. "type": "number"
  43501. },
  43502. "qtydecimalplace": {
  43503. "description": "商品报价小数位",
  43504. "type": "integer"
  43505. },
  43506. "recvamount": {
  43507. "description": "到账金额 = 成交金额 - 手续费",
  43508. "type": "number"
  43509. },
  43510. "relatedouttradeid": {
  43511. "description": "关联外部成交单ID",
  43512. "type": "integer"
  43513. },
  43514. "status": {
  43515. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43516. "type": "integer"
  43517. },
  43518. "totalamount": {
  43519. "description": "订单总额 = 成交金额 + 手续费",
  43520. "type": "number"
  43521. },
  43522. "tradeamount": {
  43523. "description": "成交金额[账户币种,用于所有权]",
  43524. "type": "number"
  43525. },
  43526. "tradedate": {
  43527. "description": "交易日(yyyyMMdd)",
  43528. "type": "string"
  43529. },
  43530. "tradeid": {
  43531. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43532. "type": "string"
  43533. },
  43534. "trademode": {
  43535. "description": "交易模式",
  43536. "type": "integer"
  43537. },
  43538. "tradeprice": {
  43539. "description": "成交价格",
  43540. "type": "number"
  43541. },
  43542. "tradeproperty": {
  43543. "description": "交易属性",
  43544. "type": "integer"
  43545. },
  43546. "tradeqty": {
  43547. "description": "成交数量",
  43548. "type": "number"
  43549. },
  43550. "tradetime": {
  43551. "description": "成交时间",
  43552. "type": "string"
  43553. },
  43554. "tradetype": {
  43555. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43556. "type": "integer"
  43557. }
  43558. }
  43559. },
  43560. "order.QueryHisTradeOrderDetailRsp": {
  43561. "type": "object",
  43562. "required": [
  43563. "accountid",
  43564. "buildtype",
  43565. "buyorsell",
  43566. "goodsid",
  43567. "histradedate",
  43568. "marketid",
  43569. "memberuserid",
  43570. "operatetype",
  43571. "orderid",
  43572. "orderqty",
  43573. "ordertime",
  43574. "pricemode",
  43575. "tradedate",
  43576. "validtype"
  43577. ],
  43578. "properties": {
  43579. "accountid": {
  43580. "description": "账户ID[报价币种]",
  43581. "type": "integer"
  43582. },
  43583. "buildtype": {
  43584. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43585. "type": "integer"
  43586. },
  43587. "buyorsell": {
  43588. "description": "买卖 - 0:买 1:卖",
  43589. "type": "integer"
  43590. },
  43591. "cancelorderid": {
  43592. "description": "撤单单号(撤单时填写)",
  43593. "type": "string"
  43594. },
  43595. "cancelqty": {
  43596. "description": "撤单数量",
  43597. "type": "number"
  43598. },
  43599. "clientordertime": {
  43600. "description": "客户端委托时间",
  43601. "type": "string"
  43602. },
  43603. "clientticket": {
  43604. "description": "客户端流水号",
  43605. "type": "string"
  43606. },
  43607. "clienttype": {
  43608. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43609. "type": "integer"
  43610. },
  43611. "closeexchagechargevalue": {
  43612. "description": "平仓交易所手续费设置值",
  43613. "type": "number"
  43614. },
  43615. "closefeealgorithm": {
  43616. "description": "平仓手续费收取方式 1:比率 2:固定",
  43617. "type": "integer"
  43618. },
  43619. "closefreezecharge": {
  43620. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43621. "type": "number"
  43622. },
  43623. "closememberchargevalue": {
  43624. "description": "平仓会员手续费设置值",
  43625. "type": "number"
  43626. },
  43627. "closeqty": {
  43628. "description": "平仓数量(先建后平操作 需要记录)",
  43629. "type": "number"
  43630. },
  43631. "closetradeqty": {
  43632. "description": "平仓成交数量(先建后平操作,需要记录)",
  43633. "type": "number"
  43634. },
  43635. "closeunfreezecharge": {
  43636. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43637. "type": "number"
  43638. },
  43639. "decimalplace": {
  43640. "description": "商品报价小数位",
  43641. "type": "integer"
  43642. },
  43643. "delistingtype": {
  43644. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43645. "type": "integer"
  43646. },
  43647. "enumdicname": {
  43648. "description": "单位名称",
  43649. "type": "string"
  43650. },
  43651. "freezecharge": {
  43652. "description": "冻结手续费",
  43653. "type": "number"
  43654. },
  43655. "freezemargin": {
  43656. "description": "冻结保证金(冻结交易金额)",
  43657. "type": "number"
  43658. },
  43659. "gcaccountid": {
  43660. "description": "账户ID[合约币种]",
  43661. "type": "integer"
  43662. },
  43663. "goodscode": {
  43664. "description": "商品代码",
  43665. "type": "string"
  43666. },
  43667. "goodsid": {
  43668. "description": "商品ID",
  43669. "type": "integer"
  43670. },
  43671. "goodsname": {
  43672. "description": "商品名称",
  43673. "type": "string"
  43674. },
  43675. "goodunitid": {
  43676. "description": "商品单位id",
  43677. "type": "integer"
  43678. },
  43679. "histradedate": {
  43680. "description": "历史交易日",
  43681. "type": "string"
  43682. },
  43683. "isconfirmexercise": {
  43684. "description": "是否确认行权- 0:否 1:是",
  43685. "type": "integer"
  43686. },
  43687. "ispreexercise": {
  43688. "description": "是否预申报- 0:否 1:是",
  43689. "type": "integer"
  43690. },
  43691. "isvaliddata": {
  43692. "description": "是否有效 - 0:无效 1:有效",
  43693. "type": "integer"
  43694. },
  43695. "listingselecttype": {
  43696. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43697. "type": "integer"
  43698. },
  43699. "marginalgorithm": {
  43700. "description": "保证金收取方式 1:比率 2:固定",
  43701. "type": "integer"
  43702. },
  43703. "marginvalue": {
  43704. "description": "即市保证金设置值",
  43705. "type": "number"
  43706. },
  43707. "marketid": {
  43708. "description": "市场ID",
  43709. "type": "integer"
  43710. },
  43711. "marketmaxsub": {
  43712. "description": "市价最大偏移范围",
  43713. "type": "number"
  43714. },
  43715. "marketname": {
  43716. "description": "市场名称",
  43717. "type": "string"
  43718. },
  43719. "memberuserid": {
  43720. "description": "所属会员UserID",
  43721. "type": "integer"
  43722. },
  43723. "openexchagechargevalue": {
  43724. "description": "建仓交易所手续费设置值",
  43725. "type": "number"
  43726. },
  43727. "openfeealgorithm": {
  43728. "description": "建仓手续费收取方式 1:比率 2:固定",
  43729. "type": "integer"
  43730. },
  43731. "openfreezecharge": {
  43732. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43733. "type": "number"
  43734. },
  43735. "openmemberchargevalue": {
  43736. "description": "建仓会员手续费设置值",
  43737. "type": "number"
  43738. },
  43739. "openqty": {
  43740. "description": "开仓数量(先建后平操作,需要记录)",
  43741. "type": "number"
  43742. },
  43743. "opentradeqty": {
  43744. "description": "开仓成交数量(先建后平操作,需要记录)",
  43745. "type": "number"
  43746. },
  43747. "openunfreezecharge": {
  43748. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43749. "type": "number"
  43750. },
  43751. "operatetype": {
  43752. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43753. "type": "integer"
  43754. },
  43755. "operatorid": {
  43756. "description": "登录账号(LoginID)",
  43757. "type": "integer"
  43758. },
  43759. "optiontype": {
  43760. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43761. "type": "integer"
  43762. },
  43763. "orderid": {
  43764. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43765. "type": "string"
  43766. },
  43767. "orderprice": {
  43768. "description": "委托价格",
  43769. "type": "number"
  43770. },
  43771. "orderqty": {
  43772. "description": "委托数量",
  43773. "type": "number"
  43774. },
  43775. "ordersrc": {
  43776. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43777. "type": "integer"
  43778. },
  43779. "orderstatus": {
  43780. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43781. "type": "integer"
  43782. },
  43783. "ordertime": {
  43784. "description": "委托时间",
  43785. "type": "string"
  43786. },
  43787. "preexerciseprice": {
  43788. "description": "预申报价格",
  43789. "type": "number"
  43790. },
  43791. "premium": {
  43792. "description": "权利金",
  43793. "type": "number"
  43794. },
  43795. "preorderid": {
  43796. "description": "关联预埋单号(止盈止损单时填写)",
  43797. "type": "string"
  43798. },
  43799. "pricemode": {
  43800. "description": "取价方式 - 1:市价 2: 限价",
  43801. "type": "integer"
  43802. },
  43803. "qtydecimalplace": {
  43804. "description": "成交量小数位",
  43805. "type": "integer"
  43806. },
  43807. "quoteid": {
  43808. "description": "报价单ID",
  43809. "type": "integer"
  43810. },
  43811. "relatedid": {
  43812. "description": "关联单号(交割单)",
  43813. "type": "string"
  43814. },
  43815. "retcode": {
  43816. "description": "错误代码",
  43817. "type": "integer"
  43818. },
  43819. "sessionid": {
  43820. "description": "会话ID",
  43821. "type": "integer"
  43822. },
  43823. "tradedate": {
  43824. "description": "交易日(yyyyMMdd)",
  43825. "type": "string"
  43826. },
  43827. "trademode": {
  43828. "description": "交易模式",
  43829. "type": "integer"
  43830. },
  43831. "tradeproperty": {
  43832. "description": "交易属性",
  43833. "type": "integer"
  43834. },
  43835. "tradeqty": {
  43836. "description": "成交数量",
  43837. "type": "number"
  43838. },
  43839. "unfreezecharge": {
  43840. "description": "解冻手续费",
  43841. "type": "number"
  43842. },
  43843. "unfreezemargin": {
  43844. "description": "解冻保证金",
  43845. "type": "number"
  43846. },
  43847. "updatetime": {
  43848. "description": "更新时间",
  43849. "type": "string"
  43850. },
  43851. "uuid": {
  43852. "description": "发起端唯一id",
  43853. "type": "string"
  43854. },
  43855. "validtime": {
  43856. "description": "有效期限",
  43857. "type": "string"
  43858. },
  43859. "validtype": {
  43860. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43861. "type": "integer"
  43862. },
  43863. "volumetype": {
  43864. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43865. "type": "integer"
  43866. }
  43867. }
  43868. },
  43869. "order.QueryTradeDetailRsp": {
  43870. "type": "object",
  43871. "required": [
  43872. "accountid",
  43873. "buyorsell",
  43874. "goodsid",
  43875. "marketid",
  43876. "memberuserid",
  43877. "orderid",
  43878. "tradeamount",
  43879. "tradedate",
  43880. "tradeid",
  43881. "tradeprice",
  43882. "tradeqty",
  43883. "tradetime"
  43884. ],
  43885. "properties": {
  43886. "accountid": {
  43887. "description": "账户ID[报价币种]",
  43888. "type": "integer"
  43889. },
  43890. "advanceratio": {
  43891. "description": "首付比率",
  43892. "type": "number"
  43893. },
  43894. "buildtype": {
  43895. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43896. "type": "integer"
  43897. },
  43898. "buyorsell": {
  43899. "description": "方向 - 0:买 1:卖",
  43900. "type": "integer"
  43901. },
  43902. "charge": {
  43903. "description": "手续费",
  43904. "type": "number"
  43905. },
  43906. "closecharge": {
  43907. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43908. "type": "number"
  43909. },
  43910. "closeexchagechargevalue": {
  43911. "description": "平仓交易所手续费设置值",
  43912. "type": "number"
  43913. },
  43914. "closefeealgorithm": {
  43915. "description": "平仓手续费收取方式 1:比率 2:固定",
  43916. "type": "integer"
  43917. },
  43918. "closememberchargevalue": {
  43919. "description": "平仓会员手续费设置值",
  43920. "type": "number"
  43921. },
  43922. "closepl": {
  43923. "description": "平仓盈亏",
  43924. "type": "number"
  43925. },
  43926. "closepl2": {
  43927. "description": "平仓盈亏[逐笔]",
  43928. "type": "number"
  43929. },
  43930. "closeqty": {
  43931. "description": "平仓数量(先建后平操作 需要记录)",
  43932. "type": "number"
  43933. },
  43934. "creditamount": {
  43935. "description": "授信金额",
  43936. "type": "number"
  43937. },
  43938. "decimalplace": {
  43939. "description": "商品报价小数位",
  43940. "type": "integer"
  43941. },
  43942. "enumdicname": {
  43943. "description": "单位名称",
  43944. "type": "string"
  43945. },
  43946. "gcaccountid": {
  43947. "description": "账户ID[合约币种]",
  43948. "type": "integer"
  43949. },
  43950. "goodscode": {
  43951. "description": "商品代码",
  43952. "type": "string"
  43953. },
  43954. "goodsid": {
  43955. "description": "商品ID",
  43956. "type": "integer"
  43957. },
  43958. "goodsname": {
  43959. "description": "商品名称",
  43960. "type": "string"
  43961. },
  43962. "goodunitid": {
  43963. "description": "商品单位id",
  43964. "type": "integer"
  43965. },
  43966. "intclosepl": {
  43967. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43968. "type": "integer"
  43969. },
  43970. "isconfirmexercise": {
  43971. "description": "是否确认行权- 0:否 1:是",
  43972. "type": "integer"
  43973. },
  43974. "ismain": {
  43975. "description": "是否主单 - 0:不是 1:是",
  43976. "type": "integer"
  43977. },
  43978. "ispreexercise": {
  43979. "description": "是否预申报- 0:否 1:是",
  43980. "type": "integer"
  43981. },
  43982. "isreckoned": {
  43983. "description": "是否结算 - 0:未结算 1:已结算",
  43984. "type": "integer"
  43985. },
  43986. "listingselecttype": {
  43987. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43988. "type": "integer"
  43989. },
  43990. "marketid": {
  43991. "description": "市场ID",
  43992. "type": "integer"
  43993. },
  43994. "marketname": {
  43995. "description": "市场名称",
  43996. "type": "string"
  43997. },
  43998. "matchaccountid": {
  43999. "description": "对手账号id",
  44000. "type": "integer"
  44001. },
  44002. "memberuserid": {
  44003. "description": "会员id 个人投资者 需要填写",
  44004. "type": "integer"
  44005. },
  44006. "opencharge": {
  44007. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44008. "type": "number"
  44009. },
  44010. "openexchagechargevalue": {
  44011. "description": "建仓交易所手续费设置值",
  44012. "type": "number"
  44013. },
  44014. "openfeealgorithm": {
  44015. "description": "建仓手续费收取方式 1:比率 2:固定",
  44016. "type": "integer"
  44017. },
  44018. "openmemberchargevalue": {
  44019. "description": "建仓会员手续费设置值",
  44020. "type": "number"
  44021. },
  44022. "openqty": {
  44023. "description": "开仓数量(先建后平操作 需要记录)",
  44024. "type": "number"
  44025. },
  44026. "optiontype": {
  44027. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44028. "type": "integer"
  44029. },
  44030. "orderid": {
  44031. "description": "委托单号",
  44032. "type": "string"
  44033. },
  44034. "payamount": {
  44035. "description": "支付金额(付款金额)",
  44036. "type": "number"
  44037. },
  44038. "performanceplanid": {
  44039. "description": "履约计划ID[期权]",
  44040. "type": "integer"
  44041. },
  44042. "performancestatus": {
  44043. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44044. "type": "integer"
  44045. },
  44046. "preexerciseprice": {
  44047. "description": "预申报价格",
  44048. "type": "number"
  44049. },
  44050. "premium": {
  44051. "description": "权利金 - [持仓单的权利金]",
  44052. "type": "number"
  44053. },
  44054. "qtydecimalplace": {
  44055. "description": "商品报价小数位",
  44056. "type": "integer"
  44057. },
  44058. "recvamount": {
  44059. "description": "到账金额 = 成交金额 - 手续费",
  44060. "type": "number"
  44061. },
  44062. "relatedouttradeid": {
  44063. "description": "关联外部成交单ID",
  44064. "type": "integer"
  44065. },
  44066. "status": {
  44067. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44068. "type": "integer"
  44069. },
  44070. "totalamount": {
  44071. "description": "订单总额 = 成交金额 + 手续费",
  44072. "type": "number"
  44073. },
  44074. "tradeamount": {
  44075. "description": "成交金额[账户币种,用于所有权]",
  44076. "type": "number"
  44077. },
  44078. "tradedate": {
  44079. "description": "交易日(yyyyMMdd)",
  44080. "type": "string"
  44081. },
  44082. "tradeid": {
  44083. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44084. "type": "string"
  44085. },
  44086. "trademode": {
  44087. "description": "交易模式",
  44088. "type": "integer"
  44089. },
  44090. "tradeprice": {
  44091. "description": "成交价格",
  44092. "type": "number"
  44093. },
  44094. "tradeproperty": {
  44095. "description": "交易属性",
  44096. "type": "integer"
  44097. },
  44098. "tradeqty": {
  44099. "description": "成交数量",
  44100. "type": "number"
  44101. },
  44102. "tradetime": {
  44103. "description": "成交时间",
  44104. "type": "string"
  44105. },
  44106. "tradetype": {
  44107. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44108. "type": "integer"
  44109. }
  44110. }
  44111. },
  44112. "order.QueryTradeOrderDetailRsp": {
  44113. "type": "object",
  44114. "required": [
  44115. "accountid",
  44116. "buildtype",
  44117. "buyorsell",
  44118. "goodsid",
  44119. "marketid",
  44120. "operatetype",
  44121. "orderqty",
  44122. "ordertime",
  44123. "pricemode",
  44124. "tradedate",
  44125. "validtype"
  44126. ],
  44127. "properties": {
  44128. "accountid": {
  44129. "description": "账户ID[报价币种]",
  44130. "type": "integer"
  44131. },
  44132. "buildtype": {
  44133. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44134. "type": "integer"
  44135. },
  44136. "buyorsell": {
  44137. "description": "买卖 - 0:买 1:卖",
  44138. "type": "integer"
  44139. },
  44140. "cancelorderid": {
  44141. "description": "撤单单号(撤单时填写)",
  44142. "type": "string"
  44143. },
  44144. "cancelqty": {
  44145. "description": "撤单数量",
  44146. "type": "number"
  44147. },
  44148. "clienttype": {
  44149. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44150. "type": "integer"
  44151. },
  44152. "closefreezecharge": {
  44153. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44154. "type": "number"
  44155. },
  44156. "closeqty": {
  44157. "description": "平仓数量(先建后平操作 需要记录)",
  44158. "type": "number"
  44159. },
  44160. "closetradeqty": {
  44161. "description": "平仓成交数量(先建后平操作,需要记录)",
  44162. "type": "number"
  44163. },
  44164. "closeunfreezecharge": {
  44165. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44166. "type": "number"
  44167. },
  44168. "decimalplace": {
  44169. "description": "商品报价小数位",
  44170. "type": "integer"
  44171. },
  44172. "delistingtype": {
  44173. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44174. "type": "integer"
  44175. },
  44176. "enableqty": {
  44177. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44178. "type": "number"
  44179. },
  44180. "enumdicname": {
  44181. "description": "单位名称",
  44182. "type": "string"
  44183. },
  44184. "freezecharge": {
  44185. "description": "冻结手续费",
  44186. "type": "number"
  44187. },
  44188. "freezemargin": {
  44189. "description": "冻结保证金(冻结交易金额)",
  44190. "type": "number"
  44191. },
  44192. "goodscode": {
  44193. "description": "商品代码",
  44194. "type": "string"
  44195. },
  44196. "goodsid": {
  44197. "description": "商品ID",
  44198. "type": "integer"
  44199. },
  44200. "goodsname": {
  44201. "description": "商品名称",
  44202. "type": "string"
  44203. },
  44204. "goodunitid": {
  44205. "description": "商品单位id",
  44206. "type": "integer"
  44207. },
  44208. "listingselecttype": {
  44209. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44210. "type": "integer"
  44211. },
  44212. "marketid": {
  44213. "description": "市场ID",
  44214. "type": "integer"
  44215. },
  44216. "marketname": {
  44217. "description": "市场名称",
  44218. "type": "string"
  44219. },
  44220. "openfreezecharge": {
  44221. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44222. "type": "number"
  44223. },
  44224. "openqty": {
  44225. "description": "开仓数量(先建后平操作,需要记录)",
  44226. "type": "number"
  44227. },
  44228. "opentradeqty": {
  44229. "description": "开仓成交数量(先建后平操作,需要记录)",
  44230. "type": "number"
  44231. },
  44232. "openunfreezecharge": {
  44233. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44234. "type": "number"
  44235. },
  44236. "operatetype": {
  44237. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44238. "type": "integer"
  44239. },
  44240. "operatorid": {
  44241. "description": "登录账号(LoginID)",
  44242. "type": "integer"
  44243. },
  44244. "orderid": {
  44245. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44246. "type": "string"
  44247. },
  44248. "orderprice": {
  44249. "description": "委托价格",
  44250. "type": "number"
  44251. },
  44252. "orderqty": {
  44253. "description": "委托数量",
  44254. "type": "number"
  44255. },
  44256. "ordersrc": {
  44257. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44258. "type": "integer"
  44259. },
  44260. "orderstatus": {
  44261. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44262. "type": "integer"
  44263. },
  44264. "ordertime": {
  44265. "description": "委托时间",
  44266. "type": "string"
  44267. },
  44268. "preorderid": {
  44269. "description": "关联预埋单号(止盈止损单时填写)",
  44270. "type": "string"
  44271. },
  44272. "pricemode": {
  44273. "description": "取价方式 - 1:市价 2: 限价",
  44274. "type": "integer"
  44275. },
  44276. "qtydecimalplace": {
  44277. "description": "商品报价小数位",
  44278. "type": "integer"
  44279. },
  44280. "relatedid": {
  44281. "description": "关联单号(交割单)",
  44282. "type": "string"
  44283. },
  44284. "tradedate": {
  44285. "description": "交易日(yyyyMMdd)",
  44286. "type": "string"
  44287. },
  44288. "trademode": {
  44289. "description": "交易模式",
  44290. "type": "integer"
  44291. },
  44292. "tradeqty": {
  44293. "description": "成交数量",
  44294. "type": "number"
  44295. },
  44296. "unfreezecharge": {
  44297. "description": "解冻手续费",
  44298. "type": "number"
  44299. },
  44300. "unfreezemargin": {
  44301. "description": "解冻保证金",
  44302. "type": "number"
  44303. },
  44304. "validtime": {
  44305. "description": "有效期限",
  44306. "type": "string"
  44307. },
  44308. "validtype": {
  44309. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44310. "type": "integer"
  44311. },
  44312. "volumetype": {
  44313. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44314. "type": "integer"
  44315. }
  44316. }
  44317. },
  44318. "order.QueryTradePositionRsp": {
  44319. "type": "object",
  44320. "required": [
  44321. "goodsid"
  44322. ],
  44323. "properties": {
  44324. "accountid": {
  44325. "description": "资金账户",
  44326. "type": "integer"
  44327. },
  44328. "agreeunit": {
  44329. "description": "合约单位",
  44330. "type": "number"
  44331. },
  44332. "averageprice": {
  44333. "description": "持仓均价",
  44334. "type": "number"
  44335. },
  44336. "buyorsell": {
  44337. "description": "方向 - 0:买 1:卖",
  44338. "type": "integer"
  44339. },
  44340. "closetotalqty": {
  44341. "description": "平仓总数量",
  44342. "type": "number"
  44343. },
  44344. "curholderamount": {
  44345. "description": "当前持仓总金额[商品币种]",
  44346. "type": "number"
  44347. },
  44348. "curpositionqty": {
  44349. "description": "当前持仓总数量",
  44350. "type": "number"
  44351. },
  44352. "currencyid": {
  44353. "description": "报价货币ID",
  44354. "type": "integer"
  44355. },
  44356. "curtdposition": {
  44357. "description": "期末今日头寸",
  44358. "type": "number"
  44359. },
  44360. "decimalplace": {
  44361. "description": "报价小数位",
  44362. "type": "integer"
  44363. },
  44364. "enableqty": {
  44365. "description": "可用量",
  44366. "type": "number"
  44367. },
  44368. "fretdposition": {
  44369. "description": "冻结今日头寸",
  44370. "type": "number"
  44371. },
  44372. "frozenqty": {
  44373. "description": "持仓冻结数量",
  44374. "type": "number"
  44375. },
  44376. "goodscode": {
  44377. "description": "商品代码",
  44378. "type": "string"
  44379. },
  44380. "goodsid": {
  44381. "description": "商品Id",
  44382. "type": "integer"
  44383. },
  44384. "goodsname": {
  44385. "description": "商品名称",
  44386. "type": "string"
  44387. },
  44388. "goodunit": {
  44389. "description": "报价单位",
  44390. "type": "string"
  44391. },
  44392. "goodunitid": {
  44393. "description": "报价单位ID",
  44394. "type": "integer"
  44395. },
  44396. "holderamount": {
  44397. "description": "期初持仓总金额[商品币种]",
  44398. "type": "number"
  44399. },
  44400. "lastprice": {
  44401. "description": "最新价",
  44402. "type": "number"
  44403. },
  44404. "marketamount": {
  44405. "description": "市值",
  44406. "type": "number"
  44407. },
  44408. "marketid": {
  44409. "description": "所属市场ID",
  44410. "type": "integer"
  44411. },
  44412. "openreqqty": {
  44413. "description": "开仓申请数量(用于比较最大持仓数量)",
  44414. "type": "number"
  44415. },
  44416. "opentotalqty": {
  44417. "description": "开仓总数量",
  44418. "type": "number"
  44419. },
  44420. "otherfrozenqty": {
  44421. "description": "持仓其他冻结数量(交割冻结)",
  44422. "type": "number"
  44423. },
  44424. "positionpl": {
  44425. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  44426. "type": "number"
  44427. },
  44428. "positionplrate": {
  44429. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  44430. "type": "number"
  44431. },
  44432. "positionqty": {
  44433. "description": "期初持仓数量",
  44434. "type": "number"
  44435. },
  44436. "qtydecimalplace": {
  44437. "description": "成交量小数位",
  44438. "type": "integer"
  44439. },
  44440. "refgoodscode": {
  44441. "description": "参考商品代码",
  44442. "type": "string"
  44443. },
  44444. "refgoodsid": {
  44445. "description": "参考商品ID",
  44446. "type": "integer"
  44447. },
  44448. "tnqty": {
  44449. "description": "T+N冻结总量",
  44450. "type": "number"
  44451. },
  44452. "tnusedqty": {
  44453. "description": "T+N使用量(可以使用T+N的冻结数量)",
  44454. "type": "number"
  44455. },
  44456. "trademode": {
  44457. "description": "交易模式",
  44458. "type": "integer"
  44459. },
  44460. "tradeproperty": {
  44461. "description": "交易属性",
  44462. "type": "integer"
  44463. },
  44464. "usedmargin": {
  44465. "description": "占用保证金[商品币种]",
  44466. "type": "number"
  44467. }
  44468. }
  44469. },
  44470. "pb.GoodsMarginCfgStruct": {
  44471. "type": "object",
  44472. "properties": {
  44473. "CustomerTypeID": {
  44474. "description": "投资者客户类型",
  44475. "type": "integer"
  44476. },
  44477. "GoodsID": {
  44478. "description": "商品ID",
  44479. "type": "integer"
  44480. },
  44481. "IsDefault": {
  44482. "description": "是否默认标志位",
  44483. "type": "integer"
  44484. },
  44485. "LockMarginValue": {
  44486. "description": "锁仓保证金",
  44487. "type": "number"
  44488. },
  44489. "MarginAlgorithm": {
  44490. "description": "保证金计算方式",
  44491. "type": "integer"
  44492. },
  44493. "MarketMarginValue": {
  44494. "description": "即市保证金值",
  44495. "type": "number"
  44496. },
  44497. "RealMarginAlgorithm": {
  44498. "description": "实付保证金计算方式",
  44499. "type": "integer"
  44500. },
  44501. "RealMarginValue": {
  44502. "description": "实付比例",
  44503. "type": "number"
  44504. },
  44505. "ReckonMarginValue": {
  44506. "description": "结算保证金值",
  44507. "type": "number"
  44508. }
  44509. }
  44510. },
  44511. "quote.HistoryData": {
  44512. "type": "object",
  44513. "properties": {
  44514. "c": {
  44515. "description": "收盘价",
  44516. "type": "number"
  44517. },
  44518. "f": {
  44519. "description": "是否补充数据",
  44520. "type": "boolean"
  44521. },
  44522. "h": {
  44523. "description": "最高价",
  44524. "type": "number"
  44525. },
  44526. "hv": {
  44527. "description": "持仓量",
  44528. "type": "integer"
  44529. },
  44530. "l": {
  44531. "description": "最低价",
  44532. "type": "number"
  44533. },
  44534. "o": {
  44535. "description": "开盘价",
  44536. "type": "number"
  44537. },
  44538. "s": {
  44539. "description": "结算价,日线周期(包括)以上才有",
  44540. "type": "number"
  44541. },
  44542. "ts": {
  44543. "description": "时间",
  44544. "type": "string"
  44545. },
  44546. "tt": {
  44547. "description": "总金额",
  44548. "type": "number"
  44549. },
  44550. "tv": {
  44551. "description": "总量(成交量)",
  44552. "type": "integer"
  44553. }
  44554. }
  44555. },
  44556. "quote.HistoryTikData": {
  44557. "type": "object",
  44558. "properties": {
  44559. "AV": {
  44560. "description": "卖量",
  44561. "type": "integer"
  44562. },
  44563. "Ask": {
  44564. "description": "卖价",
  44565. "type": "number"
  44566. },
  44567. "BV": {
  44568. "description": "买量",
  44569. "type": "integer"
  44570. },
  44571. "Bid": {
  44572. "description": "买价",
  44573. "type": "number"
  44574. },
  44575. "HI": {
  44576. "description": "单笔持仓",
  44577. "type": "integer"
  44578. },
  44579. "HV": {
  44580. "description": "持仓量",
  44581. "type": "integer"
  44582. },
  44583. "PE": {
  44584. "description": "现价",
  44585. "type": "number"
  44586. },
  44587. "TDR": {
  44588. "description": "交易方向,0:买 1:卖",
  44589. "type": "integer"
  44590. },
  44591. "TK": {
  44592. "description": "交易类型",
  44593. "type": "integer"
  44594. },
  44595. "TS": {
  44596. "description": "行情时间文本",
  44597. "type": "string"
  44598. },
  44599. "TT": {
  44600. "description": "现金额",
  44601. "type": "number"
  44602. },
  44603. "Vol": {
  44604. "description": "现量",
  44605. "type": "integer"
  44606. }
  44607. }
  44608. },
  44609. "quote.QueryQuoteDayRsp": {
  44610. "type": "object",
  44611. "properties": {
  44612. "ask": {
  44613. "description": "卖1",
  44614. "type": "number"
  44615. },
  44616. "ask10": {
  44617. "description": "卖10",
  44618. "type": "number"
  44619. },
  44620. "ask2": {
  44621. "description": "卖2",
  44622. "type": "number"
  44623. },
  44624. "ask3": {
  44625. "description": "卖3",
  44626. "type": "number"
  44627. },
  44628. "ask4": {
  44629. "description": "卖4",
  44630. "type": "number"
  44631. },
  44632. "ask5": {
  44633. "description": "卖5",
  44634. "type": "number"
  44635. },
  44636. "ask6": {
  44637. "description": "卖6",
  44638. "type": "number"
  44639. },
  44640. "ask7": {
  44641. "description": "卖7",
  44642. "type": "number"
  44643. },
  44644. "ask8": {
  44645. "description": "卖8",
  44646. "type": "number"
  44647. },
  44648. "ask9": {
  44649. "description": "卖9",
  44650. "type": "number"
  44651. },
  44652. "askorderid": {
  44653. "description": "卖单号1",
  44654. "type": "integer"
  44655. },
  44656. "askorderid2": {
  44657. "description": "卖单号2",
  44658. "type": "integer"
  44659. },
  44660. "askorderid3": {
  44661. "description": "卖单号3",
  44662. "type": "integer"
  44663. },
  44664. "askorderid4": {
  44665. "description": "卖单号4",
  44666. "type": "integer"
  44667. },
  44668. "askorderid5": {
  44669. "description": "卖单号5",
  44670. "type": "integer"
  44671. },
  44672. "askordervolume": {
  44673. "description": "卖单量1",
  44674. "type": "integer"
  44675. },
  44676. "askordervolume10": {
  44677. "description": "卖单量10",
  44678. "type": "integer"
  44679. },
  44680. "askordervolume2": {
  44681. "description": "卖单量2",
  44682. "type": "integer"
  44683. },
  44684. "askordervolume3": {
  44685. "description": "卖单量3",
  44686. "type": "integer"
  44687. },
  44688. "askordervolume4": {
  44689. "description": "卖单量4",
  44690. "type": "integer"
  44691. },
  44692. "askordervolume5": {
  44693. "description": "卖单量5",
  44694. "type": "integer"
  44695. },
  44696. "askordervolume6": {
  44697. "description": "卖单量6",
  44698. "type": "integer"
  44699. },
  44700. "askordervolume7": {
  44701. "description": "卖单量7",
  44702. "type": "integer"
  44703. },
  44704. "askordervolume8": {
  44705. "description": "卖单量8",
  44706. "type": "integer"
  44707. },
  44708. "askordervolume9": {
  44709. "description": "卖单量9",
  44710. "type": "integer"
  44711. },
  44712. "askqueueinfo": {
  44713. "description": "大利市卖港股用",
  44714. "type": "string"
  44715. },
  44716. "askvolume": {
  44717. "description": "卖量1",
  44718. "type": "integer"
  44719. },
  44720. "askvolume10": {
  44721. "description": "卖量10",
  44722. "type": "integer"
  44723. },
  44724. "askvolume2": {
  44725. "description": "卖量2",
  44726. "type": "integer"
  44727. },
  44728. "askvolume3": {
  44729. "description": "卖量3",
  44730. "type": "integer"
  44731. },
  44732. "askvolume4": {
  44733. "description": "卖量4",
  44734. "type": "integer"
  44735. },
  44736. "askvolume5": {
  44737. "description": "卖量5",
  44738. "type": "integer"
  44739. },
  44740. "askvolume6": {
  44741. "description": "卖量6",
  44742. "type": "integer"
  44743. },
  44744. "askvolume7": {
  44745. "description": "卖量7",
  44746. "type": "integer"
  44747. },
  44748. "askvolume8": {
  44749. "description": "卖量8",
  44750. "type": "integer"
  44751. },
  44752. "askvolume9": {
  44753. "description": "卖量9",
  44754. "type": "integer"
  44755. },
  44756. "averageprice": {
  44757. "description": "均价",
  44758. "type": "number"
  44759. },
  44760. "bid": {
  44761. "description": "买1",
  44762. "type": "number"
  44763. },
  44764. "bid10": {
  44765. "description": "买10",
  44766. "type": "number"
  44767. },
  44768. "bid2": {
  44769. "description": "买2",
  44770. "type": "number"
  44771. },
  44772. "bid3": {
  44773. "description": "买3",
  44774. "type": "number"
  44775. },
  44776. "bid4": {
  44777. "description": "买4",
  44778. "type": "number"
  44779. },
  44780. "bid5": {
  44781. "description": "买5",
  44782. "type": "number"
  44783. },
  44784. "bid6": {
  44785. "description": "买6",
  44786. "type": "number"
  44787. },
  44788. "bid7": {
  44789. "description": "买7",
  44790. "type": "number"
  44791. },
  44792. "bid8": {
  44793. "description": "买8",
  44794. "type": "number"
  44795. },
  44796. "bid9": {
  44797. "description": "买9",
  44798. "type": "number"
  44799. },
  44800. "bidorderid": {
  44801. "description": "买单号1",
  44802. "type": "integer"
  44803. },
  44804. "bidorderid2": {
  44805. "description": "买单号2",
  44806. "type": "integer"
  44807. },
  44808. "bidorderid3": {
  44809. "description": "买单号3",
  44810. "type": "integer"
  44811. },
  44812. "bidorderid4": {
  44813. "description": "买单号4",
  44814. "type": "integer"
  44815. },
  44816. "bidorderid5": {
  44817. "description": "买单号5",
  44818. "type": "integer"
  44819. },
  44820. "bidordervolume": {
  44821. "description": "买单量1",
  44822. "type": "integer"
  44823. },
  44824. "bidordervolume10": {
  44825. "description": "买单量10",
  44826. "type": "integer"
  44827. },
  44828. "bidordervolume2": {
  44829. "description": "买单量2",
  44830. "type": "integer"
  44831. },
  44832. "bidordervolume3": {
  44833. "description": "买单量3",
  44834. "type": "integer"
  44835. },
  44836. "bidordervolume4": {
  44837. "description": "买单量4",
  44838. "type": "integer"
  44839. },
  44840. "bidordervolume5": {
  44841. "description": "买单量5",
  44842. "type": "integer"
  44843. },
  44844. "bidordervolume6": {
  44845. "description": "买单量6",
  44846. "type": "integer"
  44847. },
  44848. "bidordervolume7": {
  44849. "description": "买单量7",
  44850. "type": "integer"
  44851. },
  44852. "bidordervolume8": {
  44853. "description": "买单量8",
  44854. "type": "integer"
  44855. },
  44856. "bidordervolume9": {
  44857. "description": "买单量9",
  44858. "type": "integer"
  44859. },
  44860. "bidqueueinfo": {
  44861. "description": "大利市买港股用",
  44862. "type": "string"
  44863. },
  44864. "bidvolume": {
  44865. "description": "买量1",
  44866. "type": "integer"
  44867. },
  44868. "bidvolume10": {
  44869. "description": "买量10",
  44870. "type": "integer"
  44871. },
  44872. "bidvolume2": {
  44873. "description": "买量2",
  44874. "type": "integer"
  44875. },
  44876. "bidvolume3": {
  44877. "description": "买量3",
  44878. "type": "integer"
  44879. },
  44880. "bidvolume4": {
  44881. "description": "买量4",
  44882. "type": "integer"
  44883. },
  44884. "bidvolume5": {
  44885. "description": "买量5",
  44886. "type": "integer"
  44887. },
  44888. "bidvolume6": {
  44889. "description": "买量6",
  44890. "type": "integer"
  44891. },
  44892. "bidvolume7": {
  44893. "description": "买量7",
  44894. "type": "integer"
  44895. },
  44896. "bidvolume8": {
  44897. "description": "买量8",
  44898. "type": "integer"
  44899. },
  44900. "bidvolume9": {
  44901. "description": "买量9",
  44902. "type": "integer"
  44903. },
  44904. "calloptionpremiums": {
  44905. "description": "认购期权1",
  44906. "type": "integer"
  44907. },
  44908. "calloptionpremiums2": {
  44909. "description": "认购期权2",
  44910. "type": "integer"
  44911. },
  44912. "calloptionpremiums3": {
  44913. "description": "认购期权3",
  44914. "type": "integer"
  44915. },
  44916. "calloptionpremiums4": {
  44917. "description": "认购期权4",
  44918. "type": "integer"
  44919. },
  44920. "calloptionpremiums5": {
  44921. "description": "认购期权5",
  44922. "type": "integer"
  44923. },
  44924. "cleartime": {
  44925. "description": "清盘时间",
  44926. "type": "integer"
  44927. },
  44928. "exchangecode": {
  44929. "description": "交易所代码",
  44930. "type": "integer"
  44931. },
  44932. "exchangedate": {
  44933. "description": "交易日",
  44934. "type": "integer"
  44935. },
  44936. "goodscode": {
  44937. "description": "商品代码",
  44938. "type": "string"
  44939. },
  44940. "grepmarketprice": {
  44941. "description": "暗盘价 港股专用",
  44942. "type": "number"
  44943. },
  44944. "highest": {
  44945. "description": "最高价",
  44946. "type": "number"
  44947. },
  44948. "holdincrement": {
  44949. "description": "单笔持仓",
  44950. "type": "integer"
  44951. },
  44952. "holdvolume": {
  44953. "description": "持仓",
  44954. "type": "integer"
  44955. },
  44956. "iep": {
  44957. "description": "平衡价 港股专用",
  44958. "type": "number"
  44959. },
  44960. "iev": {
  44961. "description": "平衡量 港股专用",
  44962. "type": "number"
  44963. },
  44964. "inventory": {
  44965. "description": "库存",
  44966. "type": "integer"
  44967. },
  44968. "iscleared": {
  44969. "description": "是否清盘标志",
  44970. "type": "integer"
  44971. },
  44972. "issettled": {
  44973. "description": "是否结算标志",
  44974. "type": "integer"
  44975. },
  44976. "last": {
  44977. "description": "最新价",
  44978. "type": "number"
  44979. },
  44980. "lastlot": {
  44981. "description": "最新成交手数",
  44982. "type": "integer"
  44983. },
  44984. "lasttime": {
  44985. "description": "行情时间(只有现价变化行情时间才变化)",
  44986. "type": "string"
  44987. },
  44988. "lastturnover": {
  44989. "description": "最新成交金额",
  44990. "type": "number"
  44991. },
  44992. "lastvolume": {
  44993. "description": "最新成交量",
  44994. "type": "integer"
  44995. },
  44996. "limitdown": {
  44997. "description": "跌停价",
  44998. "type": "number"
  44999. },
  45000. "limitup": {
  45001. "description": "涨停价",
  45002. "type": "number"
  45003. },
  45004. "lowest": {
  45005. "description": "最低价",
  45006. "type": "number"
  45007. },
  45008. "nontotalholdervolume": {
  45009. "description": "非交易持仓量",
  45010. "type": "integer"
  45011. },
  45012. "nontotallot": {
  45013. "description": "非交易总手数",
  45014. "type": "integer"
  45015. },
  45016. "nontotalturnover": {
  45017. "description": "非交易总金额",
  45018. "type": "integer"
  45019. },
  45020. "nontotalvolume": {
  45021. "description": "非交易总量",
  45022. "type": "integer"
  45023. },
  45024. "opened": {
  45025. "description": "开盘价",
  45026. "type": "number"
  45027. },
  45028. "opentime": {
  45029. "description": "开盘时间",
  45030. "type": "string"
  45031. },
  45032. "orderid": {
  45033. "description": "序号",
  45034. "type": "integer"
  45035. },
  45036. "preclose": {
  45037. "description": "昨收",
  45038. "type": "number"
  45039. },
  45040. "preholdvolume": {
  45041. "description": "昨持仓",
  45042. "type": "integer"
  45043. },
  45044. "presettle": {
  45045. "description": "昨结价",
  45046. "type": "number"
  45047. },
  45048. "publictradetype": {
  45049. "description": "公共交易标志类型 港股专用",
  45050. "type": "string"
  45051. },
  45052. "putoptionpremiums": {
  45053. "description": "认沽期权1",
  45054. "type": "integer"
  45055. },
  45056. "putoptionpremiums2": {
  45057. "description": "认沽期权2",
  45058. "type": "integer"
  45059. },
  45060. "putoptionpremiums3": {
  45061. "description": "认沽期权3",
  45062. "type": "integer"
  45063. },
  45064. "putoptionpremiums4": {
  45065. "description": "认沽期权4",
  45066. "type": "integer"
  45067. },
  45068. "putoptionpremiums5": {
  45069. "description": "认沽期权5",
  45070. "type": "integer"
  45071. },
  45072. "settle": {
  45073. "description": "结算价",
  45074. "type": "number"
  45075. },
  45076. "strikeprice": {
  45077. "description": "发行价",
  45078. "type": "number"
  45079. },
  45080. "totalaskvolume": {
  45081. "description": "内盘",
  45082. "type": "integer"
  45083. },
  45084. "totalbidvolume": {
  45085. "description": "外盘",
  45086. "type": "integer"
  45087. },
  45088. "totallot": {
  45089. "description": "总手数",
  45090. "type": "integer"
  45091. },
  45092. "totalturnover": {
  45093. "description": "总金额",
  45094. "type": "number"
  45095. },
  45096. "totalvolume": {
  45097. "description": "总量",
  45098. "type": "integer"
  45099. },
  45100. "utclasttime": {
  45101. "description": "utc的行情时间",
  45102. "type": "string"
  45103. }
  45104. }
  45105. },
  45106. "quote.QueryTSDataRsp": {
  45107. "type": "object",
  45108. "properties": {
  45109. "Count": {
  45110. "description": "交易日应有数据个数",
  45111. "type": "integer"
  45112. },
  45113. "decimalPlace": {
  45114. "description": "小数位",
  45115. "type": "integer"
  45116. },
  45117. "endTime": {
  45118. "description": "结束时间",
  45119. "type": "string"
  45120. },
  45121. "goodsCode": {
  45122. "description": "商品代码",
  45123. "type": "string"
  45124. },
  45125. "historyDatas": {
  45126. "description": "历史数据",
  45127. "type": "array",
  45128. "items": {
  45129. "$ref": "#/definitions/quote.HistoryData"
  45130. }
  45131. },
  45132. "outGoodsCode": {
  45133. "description": "外部商品代码",
  45134. "type": "string"
  45135. },
  45136. "preSettle": {
  45137. "description": "昨结价",
  45138. "type": "number"
  45139. },
  45140. "runSteps": {
  45141. "description": "交易日开休市计划",
  45142. "type": "array",
  45143. "items": {
  45144. "$ref": "#/definitions/quote.TSDataRunStep"
  45145. }
  45146. },
  45147. "startTime": {
  45148. "description": "开始时间",
  45149. "type": "string"
  45150. },
  45151. "tradeDate": {
  45152. "description": "交易日",
  45153. "type": "string"
  45154. }
  45155. }
  45156. },
  45157. "quote.TSDataRunStep": {
  45158. "type": "object",
  45159. "properties": {
  45160. "end": {
  45161. "description": "真实结束时间",
  45162. "type": "string"
  45163. },
  45164. "endflag": {
  45165. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45166. "type": "integer"
  45167. },
  45168. "endtime": {
  45169. "description": "结束时间(HH:mm)",
  45170. "type": "string"
  45171. },
  45172. "endweekday": {
  45173. "description": "结束周几",
  45174. "type": "integer"
  45175. },
  45176. "groupid": {
  45177. "description": "分组ID",
  45178. "type": "integer"
  45179. },
  45180. "runstep": {
  45181. "description": "运行阶段 - 2:连续交易",
  45182. "type": "integer"
  45183. },
  45184. "sectionid": {
  45185. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45186. "type": "integer"
  45187. },
  45188. "start": {
  45189. "description": "真实开始时间",
  45190. "type": "string"
  45191. },
  45192. "startflag": {
  45193. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45194. "type": "integer"
  45195. },
  45196. "starttime": {
  45197. "description": "起始时间(HH:mm)",
  45198. "type": "string"
  45199. },
  45200. "startweekday": {
  45201. "description": "起始周几",
  45202. "type": "integer"
  45203. },
  45204. "tradeweekday": {
  45205. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45206. "type": "integer"
  45207. }
  45208. }
  45209. },
  45210. "szdz.QueryConvertLogRsp": {
  45211. "type": "object",
  45212. "required": [
  45213. "logid"
  45214. ],
  45215. "properties": {
  45216. "accountid": {
  45217. "description": "资金账户ID",
  45218. "type": "integer"
  45219. },
  45220. "clientticket": {
  45221. "description": "客户端流水号",
  45222. "type": "string"
  45223. },
  45224. "converttype": {
  45225. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45226. "type": "integer"
  45227. },
  45228. "createtime": {
  45229. "description": "记账时间",
  45230. "type": "string"
  45231. },
  45232. "daymaxvalue": {
  45233. "description": "配置当日最大转入限制",
  45234. "type": "number"
  45235. },
  45236. "daymaxvalue2": {
  45237. "description": "配置当日最大转入限制(转入)",
  45238. "type": "number"
  45239. },
  45240. "goodscode": {
  45241. "description": "商品代码",
  45242. "type": "string"
  45243. },
  45244. "goodsname": {
  45245. "description": "商品名称",
  45246. "type": "string"
  45247. },
  45248. "handlestatus": {
  45249. "description": "处理状态",
  45250. "type": "integer"
  45251. },
  45252. "innergoodsid": {
  45253. "description": "内部商品ID",
  45254. "type": "integer"
  45255. },
  45256. "inratio": {
  45257. "description": "配置转入比值",
  45258. "type": "integer"
  45259. },
  45260. "invalue": {
  45261. "description": "目标值",
  45262. "type": "number"
  45263. },
  45264. "logid": {
  45265. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45266. "type": "integer"
  45267. },
  45268. "mobile": {
  45269. "description": "手机号码(加密存储)",
  45270. "type": "string"
  45271. },
  45272. "outergoodscode": {
  45273. "description": "外部商品代码[JD\\PD]",
  45274. "type": "string"
  45275. },
  45276. "outratio": {
  45277. "description": "配置转出比值",
  45278. "type": "integer"
  45279. },
  45280. "outvalue": {
  45281. "description": "源值",
  45282. "type": "number"
  45283. },
  45284. "pddecimalplace": {
  45285. "description": "PD小数位",
  45286. "type": "integer"
  45287. },
  45288. "qty": {
  45289. "description": "数量",
  45290. "type": "string"
  45291. },
  45292. "remark": {
  45293. "description": "备注",
  45294. "type": "string"
  45295. },
  45296. "sessionid": {
  45297. "description": "会话ID",
  45298. "type": "integer"
  45299. },
  45300. "timemaxvalue": {
  45301. "description": "配置单次最大转入限制",
  45302. "type": "number"
  45303. },
  45304. "timemaxvalue2": {
  45305. "description": "配置单次最大转入限制(转入)",
  45306. "type": "number"
  45307. },
  45308. "timeminvalue": {
  45309. "description": "配置单次最小数量限制",
  45310. "type": "number"
  45311. },
  45312. "timeminvalue2": {
  45313. "description": "配置单次最小数量限制(转入)",
  45314. "type": "number"
  45315. },
  45316. "tradedate": {
  45317. "description": "交易日(yyyyMMdd)",
  45318. "type": "string"
  45319. },
  45320. "userid": {
  45321. "description": "用户ID",
  45322. "type": "integer"
  45323. }
  45324. }
  45325. },
  45326. "szdz.QueryGoodsPickupRsp": {
  45327. "type": "object",
  45328. "required": [
  45329. "takeorderid"
  45330. ],
  45331. "properties": {
  45332. "accountid": {
  45333. "description": "账户ID",
  45334. "type": "integer"
  45335. },
  45336. "address": {
  45337. "description": "提货人详细地址",
  45338. "type": "string"
  45339. },
  45340. "auditer": {
  45341. "description": "审核人",
  45342. "type": "integer"
  45343. },
  45344. "audittime": {
  45345. "description": "审核时间",
  45346. "type": "string"
  45347. },
  45348. "cardnum": {
  45349. "description": "提货人证件号码",
  45350. "type": "string"
  45351. },
  45352. "cardtypeid": {
  45353. "description": "提货人证件类型",
  45354. "type": "integer"
  45355. },
  45356. "checkremark": {
  45357. "description": "审核备注",
  45358. "type": "string"
  45359. },
  45360. "goodscode": {
  45361. "description": "商品代码",
  45362. "type": "string"
  45363. },
  45364. "goodsid": {
  45365. "description": "商品ID",
  45366. "type": "integer"
  45367. },
  45368. "goodsname": {
  45369. "description": "商品名称",
  45370. "type": "string"
  45371. },
  45372. "handlestatus": {
  45373. "description": "处理状态",
  45374. "type": "integer"
  45375. },
  45376. "marketid": {
  45377. "description": "市场ID",
  45378. "type": "integer"
  45379. },
  45380. "phonenum": {
  45381. "description": "提货人联系方式",
  45382. "type": "string"
  45383. },
  45384. "qty": {
  45385. "description": "提货数量",
  45386. "type": "number"
  45387. },
  45388. "recivername": {
  45389. "description": "提货人姓名",
  45390. "type": "string"
  45391. },
  45392. "reqtime": {
  45393. "description": "更新时间",
  45394. "type": "string"
  45395. },
  45396. "takemode": {
  45397. "description": "提货方式 - 2:自提 3:配送",
  45398. "type": "integer"
  45399. },
  45400. "takeorderid": {
  45401. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45402. "type": "string"
  45403. },
  45404. "takeorderstatus": {
  45405. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45406. "type": "integer"
  45407. },
  45408. "takeremark": {
  45409. "description": "提货备注",
  45410. "type": "string"
  45411. },
  45412. "tradedate": {
  45413. "description": "交易日(yyyyMMdd)",
  45414. "type": "string"
  45415. },
  45416. "userid": {
  45417. "description": "用户ID",
  45418. "type": "integer"
  45419. }
  45420. }
  45421. },
  45422. "szdz.QueryRecieptOrderRsp": {
  45423. "type": "object",
  45424. "required": [
  45425. "ordertime"
  45426. ],
  45427. "properties": {
  45428. "accountName": {
  45429. "description": "所属账号名称(已脱敏)",
  45430. "type": "string"
  45431. },
  45432. "accountid": {
  45433. "description": "资金账号",
  45434. "type": "integer"
  45435. },
  45436. "buyorsell": {
  45437. "description": "方向 - 0:买 1:卖",
  45438. "type": "integer"
  45439. },
  45440. "enableqty": {
  45441. "description": "可摘数量",
  45442. "type": "integer"
  45443. },
  45444. "goodscode": {
  45445. "description": "商品代码",
  45446. "type": "string"
  45447. },
  45448. "goodsid": {
  45449. "description": "商品ID",
  45450. "type": "integer"
  45451. },
  45452. "goodsname": {
  45453. "description": "商品名称",
  45454. "type": "string"
  45455. },
  45456. "orderid": {
  45457. "description": "委托单号",
  45458. "type": "string"
  45459. },
  45460. "orderprice": {
  45461. "description": "委托价格",
  45462. "type": "number"
  45463. },
  45464. "ordertime": {
  45465. "description": "委托时间",
  45466. "type": "string"
  45467. },
  45468. "tradedate": {
  45469. "description": "交易日(yyyyMMdd)",
  45470. "type": "string"
  45471. }
  45472. }
  45473. },
  45474. "szdz.QuerySZDZTradePositionRsp": {
  45475. "type": "object",
  45476. "properties": {
  45477. "accountid": {
  45478. "description": "账号Id",
  45479. "type": "integer"
  45480. },
  45481. "agreeunit": {
  45482. "description": "合约单位",
  45483. "type": "number"
  45484. },
  45485. "averageprice": {
  45486. "description": "持仓均价",
  45487. "type": "number"
  45488. },
  45489. "buyorsell": {
  45490. "description": "方向 - 0:买 1:卖",
  45491. "type": "integer"
  45492. },
  45493. "closetotalqty": {
  45494. "description": "平仓总数量",
  45495. "type": "integer"
  45496. },
  45497. "curholderamount": {
  45498. "description": "当前持仓总金额",
  45499. "type": "number"
  45500. },
  45501. "curpositionqty": {
  45502. "description": "当前持仓总数量",
  45503. "type": "integer"
  45504. },
  45505. "currencyid": {
  45506. "description": "报价货币ID",
  45507. "type": "integer"
  45508. },
  45509. "curtdposition": {
  45510. "description": "期末今日头寸",
  45511. "type": "integer"
  45512. },
  45513. "decimalplace": {
  45514. "description": "报价小数位",
  45515. "type": "integer"
  45516. },
  45517. "enableqty": {
  45518. "description": "可用量",
  45519. "type": "integer"
  45520. },
  45521. "fretdposition": {
  45522. "description": "冻结今日头寸",
  45523. "type": "integer"
  45524. },
  45525. "frozenqty": {
  45526. "description": "持仓冻结数量",
  45527. "type": "integer"
  45528. },
  45529. "goodscode": {
  45530. "description": "商品代码(内部)",
  45531. "type": "string"
  45532. },
  45533. "goodsid": {
  45534. "description": "商品Id",
  45535. "type": "integer"
  45536. },
  45537. "goodsname": {
  45538. "description": "商品名称",
  45539. "type": "string"
  45540. },
  45541. "goodunit": {
  45542. "description": "报价单位",
  45543. "type": "string"
  45544. },
  45545. "goodunitid": {
  45546. "description": "报价单位ID",
  45547. "type": "integer"
  45548. },
  45549. "holderamount": {
  45550. "description": "期初持仓总金额",
  45551. "type": "number"
  45552. },
  45553. "marketid": {
  45554. "description": "市场ID",
  45555. "type": "integer"
  45556. },
  45557. "openreqqty": {
  45558. "description": "开仓申请数量",
  45559. "type": "integer"
  45560. },
  45561. "opentotalqty": {
  45562. "description": "开仓总数量",
  45563. "type": "integer"
  45564. },
  45565. "otherfrozenqty": {
  45566. "description": "持仓其他冻结数量(交割冻结)",
  45567. "type": "integer"
  45568. },
  45569. "positionqty": {
  45570. "description": "期初持仓数量",
  45571. "type": "integer"
  45572. },
  45573. "szdz3freezqty": {
  45574. "description": "尚志大宗转换冻结总数量",
  45575. "type": "integer"
  45576. },
  45577. "tnqty": {
  45578. "description": "T+N冻结总量",
  45579. "type": "integer"
  45580. },
  45581. "tnusedqty": {
  45582. "description": "T+N使用量",
  45583. "type": "integer"
  45584. },
  45585. "trademode": {
  45586. "description": "交易模式",
  45587. "type": "integer"
  45588. },
  45589. "usedmargin": {
  45590. "description": "占用保证金",
  45591. "type": "number"
  45592. }
  45593. }
  45594. },
  45595. "taaccount.QueryAmountLogRsp": {
  45596. "type": "object",
  45597. "required": [
  45598. "accountid",
  45599. "amount",
  45600. "amountadjusttype",
  45601. "autoid",
  45602. "balance",
  45603. "createtime",
  45604. "currentbalance",
  45605. "operatetype"
  45606. ],
  45607. "properties": {
  45608. "OPERATETYPENAME": {
  45609. "description": "资金操作类型名称",
  45610. "type": "string"
  45611. },
  45612. "accountid": {
  45613. "description": "资金账户ID",
  45614. "type": "integer"
  45615. },
  45616. "agoodscode": {
  45617. "description": "竞拍商品代码",
  45618. "type": "string"
  45619. },
  45620. "agoodsname": {
  45621. "description": "竞拍商品名称",
  45622. "type": "string"
  45623. },
  45624. "amount": {
  45625. "description": "资金金额",
  45626. "type": "number"
  45627. },
  45628. "amountadjusttype": {
  45629. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45630. "type": "integer"
  45631. },
  45632. "autoid": {
  45633. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45634. "type": "integer"
  45635. },
  45636. "balance": {
  45637. "description": "期初余额",
  45638. "type": "number"
  45639. },
  45640. "businesscode": {
  45641. "description": "业务编号",
  45642. "type": "integer"
  45643. },
  45644. "createtime": {
  45645. "description": "发生时间",
  45646. "type": "string"
  45647. },
  45648. "currencyid": {
  45649. "description": "币种ID",
  45650. "type": "integer"
  45651. },
  45652. "currentbalance": {
  45653. "description": "期末余额(变动后金额)",
  45654. "type": "number"
  45655. },
  45656. "dgoodscode": {
  45657. "description": "交割商品代码",
  45658. "type": "string"
  45659. },
  45660. "dgoodsname": {
  45661. "description": "交割商品名称",
  45662. "type": "string"
  45663. },
  45664. "goodscode": {
  45665. "description": "商品代码",
  45666. "type": "string"
  45667. },
  45668. "goodsid": {
  45669. "description": "商品ID",
  45670. "type": "integer"
  45671. },
  45672. "goodsname": {
  45673. "description": "商品名称",
  45674. "type": "string"
  45675. },
  45676. "marketid": {
  45677. "description": "市场ID",
  45678. "type": "integer"
  45679. },
  45680. "marketname": {
  45681. "description": "市场名称",
  45682. "type": "string"
  45683. },
  45684. "moneyticket": {
  45685. "description": "资金流水号:银行端流水号",
  45686. "type": "integer"
  45687. },
  45688. "operatetype": {
  45689. "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:营销收款",
  45690. "type": "integer"
  45691. },
  45692. "relationorderid": {
  45693. "description": "关联单号",
  45694. "type": "string"
  45695. },
  45696. "remark": {
  45697. "description": "备注",
  45698. "type": "string"
  45699. },
  45700. "trademode": {
  45701. "description": "交易模式",
  45702. "type": "integer"
  45703. }
  45704. }
  45705. },
  45706. "taaccount.QueryHisAmountLogRsp": {
  45707. "type": "object",
  45708. "required": [
  45709. "accountid",
  45710. "amount",
  45711. "amountadjusttype",
  45712. "autoid",
  45713. "balance",
  45714. "createtime",
  45715. "currentbalance",
  45716. "histradedate",
  45717. "operatetype"
  45718. ],
  45719. "properties": {
  45720. "OPERATETYPENAME": {
  45721. "description": "资金操作类型名称",
  45722. "type": "string"
  45723. },
  45724. "accountid": {
  45725. "description": "资金账户ID",
  45726. "type": "integer"
  45727. },
  45728. "agoodscode": {
  45729. "description": "竞拍商品代码",
  45730. "type": "string"
  45731. },
  45732. "agoodsname": {
  45733. "description": "竞拍商品名称",
  45734. "type": "string"
  45735. },
  45736. "amount": {
  45737. "description": "资金金额",
  45738. "type": "number"
  45739. },
  45740. "amountadjusttype": {
  45741. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45742. "type": "integer"
  45743. },
  45744. "autoid": {
  45745. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45746. "type": "integer"
  45747. },
  45748. "balance": {
  45749. "description": "期初余额",
  45750. "type": "number"
  45751. },
  45752. "businesscode": {
  45753. "description": "业务编号",
  45754. "type": "integer"
  45755. },
  45756. "createtime": {
  45757. "description": "发生时间",
  45758. "type": "string"
  45759. },
  45760. "currencyid": {
  45761. "description": "币种ID",
  45762. "type": "integer"
  45763. },
  45764. "currentbalance": {
  45765. "description": "期末余额(变动后金额)",
  45766. "type": "number"
  45767. },
  45768. "dgoodscode": {
  45769. "description": "交割商品代码",
  45770. "type": "string"
  45771. },
  45772. "dgoodsname": {
  45773. "description": "交割商品名称",
  45774. "type": "string"
  45775. },
  45776. "goodscode": {
  45777. "description": "商品代码",
  45778. "type": "string"
  45779. },
  45780. "goodsid": {
  45781. "description": "商品ID",
  45782. "type": "integer"
  45783. },
  45784. "goodsname": {
  45785. "description": "商品名称",
  45786. "type": "string"
  45787. },
  45788. "histradedate": {
  45789. "description": "历史交易日",
  45790. "type": "string"
  45791. },
  45792. "isvaliddata": {
  45793. "description": "是否有效 - 0:无效 1:有效",
  45794. "type": "integer"
  45795. },
  45796. "marketid": {
  45797. "description": "市场ID",
  45798. "type": "integer"
  45799. },
  45800. "marketname": {
  45801. "description": "市场名称",
  45802. "type": "string"
  45803. },
  45804. "moneyticket": {
  45805. "description": "资金流水号:银行端流水号",
  45806. "type": "integer"
  45807. },
  45808. "operatetype": {
  45809. "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:营销收款",
  45810. "type": "integer"
  45811. },
  45812. "relationorderid": {
  45813. "description": "关联单号",
  45814. "type": "string"
  45815. },
  45816. "remark": {
  45817. "description": "备注",
  45818. "type": "string"
  45819. },
  45820. "trademode": {
  45821. "description": "交易模式",
  45822. "type": "integer"
  45823. }
  45824. }
  45825. },
  45826. "trade.QueryRecieptOrderRsp": {
  45827. "type": "object",
  45828. "required": [
  45829. "ordertime"
  45830. ],
  45831. "properties": {
  45832. "accountName": {
  45833. "description": "所属账号名称(已脱敏)",
  45834. "type": "string"
  45835. },
  45836. "accountid": {
  45837. "description": "资金账号",
  45838. "type": "integer"
  45839. },
  45840. "buyorsell": {
  45841. "description": "方向 - 0:买 1:卖",
  45842. "type": "integer"
  45843. },
  45844. "enableqty": {
  45845. "description": "可摘数量",
  45846. "type": "integer"
  45847. },
  45848. "goodscode": {
  45849. "description": "商品代码",
  45850. "type": "string"
  45851. },
  45852. "goodsid": {
  45853. "description": "商品ID",
  45854. "type": "integer"
  45855. },
  45856. "goodsname": {
  45857. "description": "商品名称",
  45858. "type": "string"
  45859. },
  45860. "orderid": {
  45861. "description": "委托单号",
  45862. "type": "string"
  45863. },
  45864. "orderprice": {
  45865. "description": "委托价格",
  45866. "type": "number"
  45867. },
  45868. "ordertime": {
  45869. "description": "委托时间",
  45870. "type": "string"
  45871. },
  45872. "tradedate": {
  45873. "description": "交易日(yyyyMMdd)",
  45874. "type": "string"
  45875. }
  45876. }
  45877. },
  45878. "user.LoginQueryRsp": {
  45879. "type": "object",
  45880. "properties": {
  45881. "areaRoles": {
  45882. "description": "所属角色信息",
  45883. "type": "array",
  45884. "items": {
  45885. "$ref": "#/definitions/models.Arearole"
  45886. }
  45887. },
  45888. "externalExchanges": {
  45889. "description": "外部交易所",
  45890. "type": "array",
  45891. "items": {
  45892. "$ref": "#/definitions/models.Externalexchange"
  45893. }
  45894. },
  45895. "goodsgroups": {
  45896. "description": "商品组",
  45897. "type": "array",
  45898. "items": {
  45899. "$ref": "#/definitions/models.Goodsgroup"
  45900. }
  45901. },
  45902. "loginAccount": {
  45903. "description": "登录账号",
  45904. "$ref": "#/definitions/models.Loginaccount"
  45905. },
  45906. "markets": {
  45907. "description": "市场",
  45908. "type": "array",
  45909. "items": {
  45910. "$ref": "#/definitions/models.Market"
  45911. }
  45912. },
  45913. "systemParams": {
  45914. "description": "系统参数",
  45915. "type": "array",
  45916. "items": {
  45917. "$ref": "#/definitions/models.Systemparam"
  45918. }
  45919. },
  45920. "userAccount": {
  45921. "description": "用户账号",
  45922. "$ref": "#/definitions/models.Useraccount"
  45923. },
  45924. "userInfo": {
  45925. "description": "用户信息",
  45926. "$ref": "#/definitions/models.Userinfo"
  45927. },
  45928. "username": {
  45929. "description": "用户姓名",
  45930. "type": "string"
  45931. }
  45932. }
  45933. }
  45934. },
  45935. "securityDefinitions": {
  45936. "ApiKeyAuth": {
  45937. "type": "apiKey",
  45938. "name": "Authorization",
  45939. "in": "header"
  45940. },
  45941. "Group": {
  45942. "type": "apiKey",
  45943. "name": "Group",
  45944. "in": "header"
  45945. },
  45946. "LoginID": {
  45947. "type": "apiKey",
  45948. "name": "LoginID",
  45949. "in": "header"
  45950. }
  45951. }
  45952. }`
  45953. // SwaggerInfo holds exported Swagger Info so clients can modify it
  45954. var SwaggerInfo = &swag.Spec{
  45955. Version: "1.0",
  45956. Host: "",
  45957. BasePath: "",
  45958. Schemes: []string{},
  45959. Title: "MTP2.0 查询服务 API",
  45960. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  45961. InfoInstanceName: "swagger",
  45962. SwaggerTemplate: docTemplate,
  45963. }
  45964. func init() {
  45965. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  45966. }