docs.go 1.6 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005
  1. // Package docs GENERATED BY SWAG; DO NOT EDIT
  2. // This file was generated by swaggo/swag
  3. package docs
  4. import "github.com/swaggo/swag"
  5. const docTemplate = `{
  6. "schemes": {{ marshal .Schemes }},
  7. "swagger": "2.0",
  8. "info": {
  9. "description": "{{escape .Description}}",
  10. "title": "{{.Title}}",
  11. "termsOfService": "http://www.muchinfo.cn",
  12. "contact": {},
  13. "version": "{{.Version}}"
  14. },
  15. "host": "{{.Host}}",
  16. "basePath": "{{.BasePath}}",
  17. "paths": {
  18. "/CPTrade/QueryCPTradeMyBidInfos": {
  19. "get": {
  20. "security": [
  21. {
  22. "ApiKeyAuth": []
  23. }
  24. ],
  25. "produces": [
  26. "application/json"
  27. ],
  28. "tags": [
  29. "产能预售"
  30. ],
  31. "summary": "查询产能预售我的出价信息",
  32. "parameters": [
  33. {
  34. "type": "integer",
  35. "description": "资金账户",
  36. "name": "accountid",
  37. "in": "query",
  38. "required": true
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售市场ID",
  43. "name": "marketid",
  44. "in": "query"
  45. },
  46. {
  47. "type": "integer",
  48. "description": "预售商品ID",
  49. "name": "goodsid",
  50. "in": "query"
  51. }
  52. ],
  53. "responses": {
  54. "200": {
  55. "description": "OK",
  56. "schema": {
  57. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  58. }
  59. },
  60. "500": {
  61. "description": "Internal Server Error",
  62. "schema": {
  63. "$ref": "#/definitions/app.Response"
  64. }
  65. }
  66. }
  67. }
  68. },
  69. "/CPTrade/QueryCPTradeOrderDetail": {
  70. "get": {
  71. "security": [
  72. {
  73. "ApiKeyAuth": []
  74. }
  75. ],
  76. "produces": [
  77. "application/json"
  78. ],
  79. "tags": [
  80. "产能预售"
  81. ],
  82. "summary": "查询产能预售委托单信息",
  83. "parameters": [
  84. {
  85. "type": "integer",
  86. "description": "预售商品ID",
  87. "name": "goodsid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "integer",
  92. "description": "预售市场ID",
  93. "name": "marketid",
  94. "in": "query"
  95. },
  96. {
  97. "type": "string",
  98. "description": "预售商品ID列表 - 格式:1,2,3",
  99. "name": "goodsids",
  100. "in": "query"
  101. }
  102. ],
  103. "responses": {
  104. "200": {
  105. "description": "OK",
  106. "schema": {
  107. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  108. }
  109. },
  110. "500": {
  111. "description": "Internal Server Error",
  112. "schema": {
  113. "$ref": "#/definitions/app.Response"
  114. }
  115. }
  116. }
  117. }
  118. },
  119. "/CPTrade/QueryMyCPTradeGoods": {
  120. "get": {
  121. "security": [
  122. {
  123. "ApiKeyAuth": []
  124. }
  125. ],
  126. "produces": [
  127. "application/json"
  128. ],
  129. "tags": [
  130. "产能预售"
  131. ],
  132. "summary": "查询我的预售信息",
  133. "parameters": [
  134. {
  135. "type": "integer",
  136. "description": "资金账户",
  137. "name": "accountid",
  138. "in": "query",
  139. "required": true
  140. }
  141. ],
  142. "responses": {
  143. "200": {
  144. "description": "OK",
  145. "schema": {
  146. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  147. }
  148. },
  149. "500": {
  150. "description": "Internal Server Error",
  151. "schema": {
  152. "$ref": "#/definitions/app.Response"
  153. }
  154. }
  155. }
  156. }
  157. },
  158. "/CPTrade/QueryPositionCancel": {
  159. "get": {
  160. "security": [
  161. {
  162. "ApiKeyAuth": []
  163. }
  164. ],
  165. "produces": [
  166. "application/json"
  167. ],
  168. "tags": [
  169. "产能预售"
  170. ],
  171. "summary": "查询远期订单注销申请信息",
  172. "parameters": [
  173. {
  174. "type": "integer",
  175. "description": "账户ID",
  176. "name": "userid",
  177. "in": "query",
  178. "required": true
  179. },
  180. {
  181. "type": "integer",
  182. "description": "注销ID",
  183. "name": "cancelid",
  184. "in": "query"
  185. },
  186. {
  187. "type": "integer",
  188. "description": "资金账户ID",
  189. "name": "accountid",
  190. "in": "query"
  191. }
  192. ],
  193. "responses": {
  194. "200": {
  195. "description": "OK",
  196. "schema": {
  197. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  198. }
  199. },
  200. "500": {
  201. "description": "Internal Server Error",
  202. "schema": {
  203. "$ref": "#/definitions/app.Response"
  204. }
  205. }
  206. }
  207. }
  208. },
  209. "/CPTrade/QueryPreasleApply": {
  210. "get": {
  211. "security": [
  212. {
  213. "ApiKeyAuth": []
  214. }
  215. ],
  216. "produces": [
  217. "application/json"
  218. ],
  219. "tags": [
  220. "产能预售"
  221. ],
  222. "summary": "查询产能预售申请信息",
  223. "parameters": [
  224. {
  225. "type": "integer",
  226. "description": "账户ID",
  227. "name": "userid",
  228. "in": "query",
  229. "required": true
  230. },
  231. {
  232. "type": "integer",
  233. "description": "申请ID",
  234. "name": "applyid",
  235. "in": "query"
  236. },
  237. {
  238. "type": "integer",
  239. "description": "资金账户ID",
  240. "name": "accountid",
  241. "in": "query"
  242. }
  243. ],
  244. "responses": {
  245. "200": {
  246. "description": "OK",
  247. "schema": {
  248. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  249. }
  250. },
  251. "500": {
  252. "description": "Internal Server Error",
  253. "schema": {
  254. "$ref": "#/definitions/app.Response"
  255. }
  256. }
  257. }
  258. }
  259. },
  260. "/CPTrade/QueryPresaleGoodsEx": {
  261. "get": {
  262. "security": [
  263. {
  264. "ApiKeyAuth": []
  265. }
  266. ],
  267. "produces": [
  268. "application/json"
  269. ],
  270. "tags": [
  271. "产能预售"
  272. ],
  273. "summary": "查询产能预售商品扩展信息",
  274. "parameters": [
  275. {
  276. "type": "integer",
  277. "description": "预售商品ID",
  278. "name": "goodsid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售市场ID",
  284. "name": "marketid",
  285. "in": "query"
  286. },
  287. {
  288. "type": "integer",
  289. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  290. "name": "presalemode",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品ID列表 - 格式:1,2,3",
  296. "name": "goodsids",
  297. "in": "query"
  298. },
  299. {
  300. "type": "string",
  301. "description": "预售商品代码",
  302. "name": "goodscode",
  303. "in": "query"
  304. }
  305. ],
  306. "responses": {
  307. "200": {
  308. "description": "OK",
  309. "schema": {
  310. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  311. }
  312. },
  313. "500": {
  314. "description": "Internal Server Error",
  315. "schema": {
  316. "$ref": "#/definitions/app.Response"
  317. }
  318. }
  319. }
  320. }
  321. },
  322. "/CPTrade/QueryUserGoodsData": {
  323. "get": {
  324. "security": [
  325. {
  326. "ApiKeyAuth": []
  327. }
  328. ],
  329. "produces": [
  330. "application/json"
  331. ],
  332. "tags": [
  333. "产能预售"
  334. ],
  335. "summary": "查询远期订单信息",
  336. "parameters": [
  337. {
  338. "type": "integer",
  339. "description": "资金账户ID",
  340. "name": "accountid",
  341. "in": "query",
  342. "required": true
  343. }
  344. ],
  345. "responses": {
  346. "200": {
  347. "description": "OK",
  348. "schema": {
  349. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  350. }
  351. },
  352. "500": {
  353. "description": "Internal Server Error",
  354. "schema": {
  355. "$ref": "#/definitions/app.Response"
  356. }
  357. }
  358. }
  359. }
  360. },
  361. "/Common/DeleteNewFuncmenu": {
  362. "delete": {
  363. "security": [
  364. {
  365. "ApiKeyAuth": []
  366. }
  367. ],
  368. "consumes": [
  369. "application/json"
  370. ],
  371. "produces": [
  372. "application/json"
  373. ],
  374. "tags": [
  375. "通用服务"
  376. ],
  377. "summary": "删除菜单表数据",
  378. "parameters": [
  379. {
  380. "description": "菜单表数据,只需要resourcecode字段即可",
  381. "name": "data",
  382. "in": "body",
  383. "required": true,
  384. "schema": {
  385. "$ref": "#/definitions/models.NewFuncmenulist"
  386. }
  387. }
  388. ],
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/FindNewFuncmenu": {
  406. "get": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "获取菜单表数据",
  419. "parameters": [
  420. {
  421. "type": "string",
  422. "description": "资源代码",
  423. "name": "resourcecode",
  424. "in": "query"
  425. },
  426. {
  427. "type": "string",
  428. "description": "上级资源代码",
  429. "name": "parentcode",
  430. "in": "query"
  431. },
  432. {
  433. "type": "string",
  434. "description": "资源名(Title), 模糊查询",
  435. "name": "resourcename",
  436. "in": "query"
  437. },
  438. {
  439. "type": "string",
  440. "description": "菜单类型(格式:1,2,3) - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  441. "name": "menutype",
  442. "in": "query"
  443. }
  444. ],
  445. "responses": {
  446. "200": {
  447. "description": "OK",
  448. "schema": {
  449. "type": "array",
  450. "items": {
  451. "$ref": "#/definitions/models.NewFuncmenulist"
  452. }
  453. }
  454. },
  455. "500": {
  456. "description": "Internal Server Error",
  457. "schema": {
  458. "$ref": "#/definitions/app.Response"
  459. }
  460. }
  461. }
  462. }
  463. },
  464. "/Common/GetAllEnums": {
  465. "get": {
  466. "description": "autoid传入后则返回这个ID之后的数据;如不传则返回所有",
  467. "produces": [
  468. "application/json"
  469. ],
  470. "tags": [
  471. "通用服务"
  472. ],
  473. "summary": "获取所有枚举信息",
  474. "parameters": [
  475. {
  476. "type": "integer",
  477. "description": "起始自增ID",
  478. "name": "autoid",
  479. "in": "query"
  480. }
  481. ],
  482. "responses": {
  483. "200": {
  484. "description": "OK",
  485. "schema": {
  486. "$ref": "#/definitions/models.Enumdicitem"
  487. }
  488. },
  489. "500": {
  490. "description": "Internal Server Error",
  491. "schema": {
  492. "$ref": "#/definitions/app.Response"
  493. }
  494. }
  495. }
  496. }
  497. },
  498. "/Common/GetClientMenus": {
  499. "get": {
  500. "security": [
  501. {
  502. "ApiKeyAuth": []
  503. }
  504. ],
  505. "produces": [
  506. "application/json"
  507. ],
  508. "tags": [
  509. "通用服务"
  510. ],
  511. "summary": "获取交易端菜单",
  512. "parameters": [
  513. {
  514. "type": "integer",
  515. "description": "登录账号",
  516. "name": "loginID",
  517. "in": "query",
  518. "required": true
  519. },
  520. {
  521. "type": "integer",
  522. "description": "终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据",
  523. "name": "clientType",
  524. "in": "query"
  525. },
  526. {
  527. "type": "string",
  528. "description": "分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台",
  529. "name": "name",
  530. "in": "query"
  531. }
  532. ],
  533. "responses": {
  534. "200": {
  535. "description": "OK",
  536. "schema": {
  537. "type": "array",
  538. "items": {
  539. "$ref": "#/definitions/common.ClientMenu"
  540. }
  541. }
  542. },
  543. "500": {
  544. "description": "Internal Server Error",
  545. "schema": {
  546. "$ref": "#/definitions/app.Response"
  547. }
  548. }
  549. }
  550. }
  551. },
  552. "/Common/GetClientNewFuncmenu": {
  553. "get": {
  554. "security": [
  555. {
  556. "ApiKeyAuth": []
  557. }
  558. ],
  559. "produces": [
  560. "application/json"
  561. ],
  562. "tags": [
  563. "通用服务"
  564. ],
  565. "summary": "获取终端菜单",
  566. "parameters": [
  567. {
  568. "type": "integer",
  569. "description": "登录账号",
  570. "name": "loginid",
  571. "in": "query",
  572. "required": true
  573. },
  574. {
  575. "type": "integer",
  576. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  577. "name": "menutype",
  578. "in": "query",
  579. "required": true
  580. }
  581. ],
  582. "responses": {
  583. "200": {
  584. "description": "OK",
  585. "schema": {
  586. "type": "array",
  587. "items": {
  588. "$ref": "#/definitions/models.NewFuncmenulist"
  589. }
  590. }
  591. },
  592. "500": {
  593. "description": "Internal Server Error",
  594. "schema": {
  595. "$ref": "#/definitions/app.Response"
  596. }
  597. }
  598. }
  599. }
  600. },
  601. "/Common/GetDivisions": {
  602. "get": {
  603. "produces": [
  604. "application/json"
  605. ],
  606. "tags": [
  607. "通用服务"
  608. ],
  609. "summary": "查询区域信息",
  610. "responses": {
  611. "200": {
  612. "description": "OK",
  613. "schema": {
  614. "$ref": "#/definitions/models.Division"
  615. }
  616. },
  617. "500": {
  618. "description": "Internal Server Error",
  619. "schema": {
  620. "$ref": "#/definitions/app.Response"
  621. }
  622. }
  623. }
  624. }
  625. },
  626. "/Common/GetPCWebMenus": {
  627. "get": {
  628. "security": [
  629. {
  630. "ApiKeyAuth": []
  631. }
  632. ],
  633. "produces": [
  634. "application/json"
  635. ],
  636. "tags": [
  637. "通用服务"
  638. ],
  639. "summary": "获取PCWeb交易端菜单",
  640. "parameters": [
  641. {
  642. "type": "integer",
  643. "description": "登录账号",
  644. "name": "loginID",
  645. "in": "query",
  646. "required": true
  647. },
  648. {
  649. "type": "string",
  650. "description": "分支名称,ermcp:风管云平台,不传默认返回ermcp",
  651. "name": "name",
  652. "in": "query"
  653. }
  654. ],
  655. "responses": {
  656. "200": {
  657. "description": "OK",
  658. "schema": {
  659. "type": "array",
  660. "items": {
  661. "$ref": "#/definitions/common.PCWebMenu"
  662. }
  663. }
  664. },
  665. "500": {
  666. "description": "Internal Server Error",
  667. "schema": {
  668. "$ref": "#/definitions/app.Response"
  669. }
  670. }
  671. }
  672. }
  673. },
  674. "/Common/GetServerTime": {
  675. "get": {
  676. "produces": [
  677. "application/json"
  678. ],
  679. "tags": [
  680. "通用服务"
  681. ],
  682. "summary": "获取服务器时间",
  683. "responses": {
  684. "200": {
  685. "description": "OK",
  686. "schema": {
  687. "$ref": "#/definitions/app.Response"
  688. }
  689. },
  690. "500": {
  691. "description": "Internal Server Error",
  692. "schema": {
  693. "$ref": "#/definitions/app.Response"
  694. }
  695. }
  696. }
  697. }
  698. },
  699. "/Common/InsertNewFuncmenu": {
  700. "post": {
  701. "security": [
  702. {
  703. "ApiKeyAuth": []
  704. }
  705. ],
  706. "consumes": [
  707. "application/json"
  708. ],
  709. "produces": [
  710. "application/json"
  711. ],
  712. "tags": [
  713. "通用服务"
  714. ],
  715. "summary": "插入菜单表数据",
  716. "parameters": [
  717. {
  718. "description": "菜单表数据",
  719. "name": "data",
  720. "in": "body",
  721. "required": true,
  722. "schema": {
  723. "$ref": "#/definitions/models.NewFuncmenulist"
  724. }
  725. }
  726. ],
  727. "responses": {
  728. "200": {
  729. "description": "OK",
  730. "schema": {
  731. "$ref": "#/definitions/app.Response"
  732. }
  733. },
  734. "500": {
  735. "description": "Internal Server Error",
  736. "schema": {
  737. "$ref": "#/definitions/app.Response"
  738. }
  739. }
  740. }
  741. }
  742. },
  743. "/Common/NoticeReaded": {
  744. "post": {
  745. "security": [
  746. {
  747. "ApiKeyAuth": []
  748. }
  749. ],
  750. "produces": [
  751. "application/json"
  752. ],
  753. "tags": [
  754. "通用服务"
  755. ],
  756. "summary": "通知公告设置已读请求",
  757. "parameters": [
  758. {
  759. "type": "integer",
  760. "description": "登录账号",
  761. "name": "loginID",
  762. "in": "query",
  763. "required": true
  764. },
  765. {
  766. "type": "integer",
  767. "description": "通知公告ID",
  768. "name": "noticeID",
  769. "in": "query",
  770. "required": true
  771. }
  772. ],
  773. "responses": {
  774. "200": {
  775. "description": "OK",
  776. "schema": {
  777. "$ref": "#/definitions/app.Response"
  778. }
  779. },
  780. "500": {
  781. "description": "Internal Server Error",
  782. "schema": {
  783. "$ref": "#/definitions/app.Response"
  784. }
  785. }
  786. }
  787. }
  788. },
  789. "/Common/QueryErrorInfos": {
  790. "get": {
  791. "description": "如果传入rowNumber,则返回此rowNumber后的数据",
  792. "produces": [
  793. "application/json"
  794. ],
  795. "tags": [
  796. "通用服务"
  797. ],
  798. "summary": "获取数据库错误信息",
  799. "parameters": [
  800. {
  801. "type": "string",
  802. "description": "起始行号前索引",
  803. "name": "rowNumber",
  804. "in": "query"
  805. }
  806. ],
  807. "responses": {
  808. "200": {
  809. "description": "OK",
  810. "schema": {
  811. "$ref": "#/definitions/models.QueryErrorInfosRsp"
  812. }
  813. },
  814. "500": {
  815. "description": "Internal Server Error",
  816. "schema": {
  817. "$ref": "#/definitions/app.Response"
  818. }
  819. }
  820. }
  821. }
  822. },
  823. "/Common/QueryImageConfigs": {
  824. "get": {
  825. "produces": [
  826. "application/json"
  827. ],
  828. "tags": [
  829. "通用服务"
  830. ],
  831. "summary": "查询轮播图配置信息",
  832. "parameters": [
  833. {
  834. "type": "integer",
  835. "description": "用户id",
  836. "name": "userId",
  837. "in": "query"
  838. },
  839. {
  840. "type": "integer",
  841. "description": "类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)",
  842. "name": "imageType",
  843. "in": "query"
  844. }
  845. ],
  846. "responses": {
  847. "200": {
  848. "description": "OK",
  849. "schema": {
  850. "$ref": "#/definitions/common.QueryImageConfigsRsp"
  851. }
  852. },
  853. "500": {
  854. "description": "Internal Server Error",
  855. "schema": {
  856. "$ref": "#/definitions/app.Response"
  857. }
  858. }
  859. }
  860. }
  861. },
  862. "/Common/QueryNotice": {
  863. "get": {
  864. "security": [
  865. {
  866. "ApiKeyAuth": []
  867. }
  868. ],
  869. "produces": [
  870. "application/json"
  871. ],
  872. "tags": [
  873. "通用服务"
  874. ],
  875. "summary": "通知公告系统消息查询",
  876. "parameters": [
  877. {
  878. "type": "integer",
  879. "description": "页码",
  880. "name": "page",
  881. "in": "query"
  882. },
  883. {
  884. "type": "integer",
  885. "description": "每页条数",
  886. "name": "pagesize",
  887. "in": "query"
  888. },
  889. {
  890. "type": "integer",
  891. "description": "登录账号",
  892. "name": "loginID",
  893. "in": "query",
  894. "required": true
  895. },
  896. {
  897. "type": "integer",
  898. "description": "消息类型 - 1:公告通知 2:系统消息",
  899. "name": "msgType",
  900. "in": "query"
  901. },
  902. {
  903. "type": "boolean",
  904. "description": "是否只获取未读信息",
  905. "name": "onlyUnRead",
  906. "in": "query"
  907. },
  908. {
  909. "type": "integer",
  910. "description": "自增ID,传入后会返回这个ID后面的记录",
  911. "name": "lastID",
  912. "in": "query"
  913. }
  914. ],
  915. "responses": {
  916. "200": {
  917. "description": "OK",
  918. "schema": {
  919. "$ref": "#/definitions/common.QueryNoticeRsp"
  920. }
  921. },
  922. "500": {
  923. "description": "Internal Server Error",
  924. "schema": {
  925. "$ref": "#/definitions/app.Response"
  926. }
  927. }
  928. }
  929. }
  930. },
  931. "/Common/QueryProvincesAndCities": {
  932. "get": {
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "通用服务"
  938. ],
  939. "summary": "查询省市信息(不包括区)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "省ID",
  944. "name": "provinceID",
  945. "in": "query"
  946. }
  947. ],
  948. "responses": {
  949. "200": {
  950. "description": "OK",
  951. "schema": {
  952. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  953. }
  954. },
  955. "500": {
  956. "description": "Internal Server Error",
  957. "schema": {
  958. "$ref": "#/definitions/app.Response"
  959. }
  960. }
  961. }
  962. }
  963. },
  964. "/Common/QueryRates": {
  965. "get": {
  966. "security": [
  967. {
  968. "ApiKeyAuth": []
  969. },
  970. {
  971. "LoginID": []
  972. },
  973. {
  974. "Group": []
  975. }
  976. ],
  977. "produces": [
  978. "application/json"
  979. ],
  980. "tags": [
  981. "通用服务"
  982. ],
  983. "summary": "查询汇率信息",
  984. "parameters": [
  985. {
  986. "type": "integer",
  987. "description": "页码",
  988. "name": "page",
  989. "in": "query"
  990. },
  991. {
  992. "type": "integer",
  993. "description": "每页条数",
  994. "name": "pagesize",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "源币种ID",
  1000. "name": "oricurrencyid",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "目标币种ID",
  1006. "name": "descurrencyid",
  1007. "in": "query"
  1008. }
  1009. ],
  1010. "responses": {
  1011. "200": {
  1012. "description": "OK",
  1013. "schema": {
  1014. "type": "array",
  1015. "items": {
  1016. "$ref": "#/definitions/models.Exchangerateconfig"
  1017. }
  1018. }
  1019. },
  1020. "500": {
  1021. "description": "Internal Server Error",
  1022. "schema": {
  1023. "$ref": "#/definitions/app.Response"
  1024. }
  1025. }
  1026. }
  1027. }
  1028. },
  1029. "/Common/QueryTableDefine": {
  1030. "get": {
  1031. "produces": [
  1032. "application/json"
  1033. ],
  1034. "tags": [
  1035. "通用服务"
  1036. ],
  1037. "summary": "查询交易端列表头信息",
  1038. "parameters": [
  1039. {
  1040. "type": "string",
  1041. "description": "表key",
  1042. "name": "tableKey",
  1043. "in": "query"
  1044. },
  1045. {
  1046. "type": "integer",
  1047. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1048. "name": "tableType",
  1049. "in": "query"
  1050. }
  1051. ],
  1052. "responses": {
  1053. "200": {
  1054. "description": "OK",
  1055. "schema": {
  1056. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1057. }
  1058. },
  1059. "500": {
  1060. "description": "Internal Server Error",
  1061. "schema": {
  1062. "$ref": "#/definitions/app.Response"
  1063. }
  1064. }
  1065. }
  1066. }
  1067. },
  1068. "/Common/QueryTraderMenu": {
  1069. "get": {
  1070. "produces": [
  1071. "application/json"
  1072. ],
  1073. "tags": [
  1074. "通用服务"
  1075. ],
  1076. "summary": "查询交易端菜单",
  1077. "parameters": [
  1078. {
  1079. "type": "integer",
  1080. "description": "登录账号",
  1081. "name": "loginid",
  1082. "in": "query",
  1083. "required": true
  1084. }
  1085. ],
  1086. "responses": {
  1087. "200": {
  1088. "description": "OK",
  1089. "schema": {
  1090. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1091. }
  1092. },
  1093. "500": {
  1094. "description": "Internal Server Error",
  1095. "schema": {
  1096. "$ref": "#/definitions/app.Response"
  1097. }
  1098. }
  1099. }
  1100. }
  1101. },
  1102. "/Common/UpdateNewFuncmenu": {
  1103. "put": {
  1104. "security": [
  1105. {
  1106. "ApiKeyAuth": []
  1107. }
  1108. ],
  1109. "consumes": [
  1110. "application/json"
  1111. ],
  1112. "produces": [
  1113. "application/json"
  1114. ],
  1115. "tags": [
  1116. "通用服务"
  1117. ],
  1118. "summary": "更新菜单表数据",
  1119. "parameters": [
  1120. {
  1121. "description": "菜单表数据",
  1122. "name": "data",
  1123. "in": "body",
  1124. "required": true,
  1125. "schema": {
  1126. "$ref": "#/definitions/models.NewFuncmenulist"
  1127. }
  1128. }
  1129. ],
  1130. "responses": {
  1131. "200": {
  1132. "description": "OK",
  1133. "schema": {
  1134. "$ref": "#/definitions/app.Response"
  1135. }
  1136. },
  1137. "500": {
  1138. "description": "Internal Server Error",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. }
  1143. }
  1144. }
  1145. },
  1146. "/Delivery/QueryDeliveryRelation": {
  1147. "get": {
  1148. "security": [
  1149. {
  1150. "ApiKeyAuth": []
  1151. }
  1152. ],
  1153. "produces": [
  1154. "application/json"
  1155. ],
  1156. "tags": [
  1157. "交割服务"
  1158. ],
  1159. "summary": "查询商品交割关系表",
  1160. "parameters": [
  1161. {
  1162. "type": "integer",
  1163. "description": "商品ID",
  1164. "name": "goodsid",
  1165. "in": "query"
  1166. },
  1167. {
  1168. "type": "integer",
  1169. "description": "品种ID",
  1170. "name": "deliverygoodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "市场ID",
  1176. "name": "marketid",
  1177. "in": "query"
  1178. }
  1179. ],
  1180. "responses": {
  1181. "200": {
  1182. "description": "OK",
  1183. "schema": {
  1184. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1185. }
  1186. },
  1187. "500": {
  1188. "description": "Internal Server Error",
  1189. "schema": {
  1190. "$ref": "#/definitions/app.Response"
  1191. }
  1192. }
  1193. }
  1194. }
  1195. },
  1196. "/Ermcp/GetErmcpGoods": {
  1197. "get": {
  1198. "security": [
  1199. {
  1200. "ApiKeyAuth": []
  1201. }
  1202. ],
  1203. "produces": [
  1204. "application/json"
  1205. ],
  1206. "tags": [
  1207. "企业风险管理(app)"
  1208. ],
  1209. "summary": "查询企业风管期货商品信息",
  1210. "parameters": [
  1211. {
  1212. "type": "integer",
  1213. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1214. "name": "userid",
  1215. "in": "query"
  1216. },
  1217. {
  1218. "type": "string",
  1219. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1220. "name": "lastUpdateTime",
  1221. "in": "query"
  1222. }
  1223. ],
  1224. "responses": {
  1225. "200": {
  1226. "description": "OK",
  1227. "schema": {
  1228. "$ref": "#/definitions/models.ErmcpGoods"
  1229. }
  1230. },
  1231. "500": {
  1232. "description": "Internal Server Error",
  1233. "schema": {
  1234. "$ref": "#/definitions/app.Response"
  1235. }
  1236. }
  1237. }
  1238. }
  1239. },
  1240. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1241. "get": {
  1242. "security": [
  1243. {
  1244. "ApiKeyAuth": []
  1245. }
  1246. ],
  1247. "produces": [
  1248. "application/json"
  1249. ],
  1250. "tags": [
  1251. "企业风险管理(app)"
  1252. ],
  1253. "summary": "查询企业风管期货主力、次主力商品信息",
  1254. "parameters": [
  1255. {
  1256. "type": "string",
  1257. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1258. "name": "sortIndex",
  1259. "in": "query"
  1260. }
  1261. ],
  1262. "responses": {
  1263. "200": {
  1264. "description": "OK",
  1265. "schema": {
  1266. "$ref": "#/definitions/models.Goodssortbypreposition"
  1267. }
  1268. },
  1269. "500": {
  1270. "description": "Internal Server Error",
  1271. "schema": {
  1272. "$ref": "#/definitions/app.Response"
  1273. }
  1274. }
  1275. }
  1276. }
  1277. },
  1278. "/Ermcp/GetErmcpOutAccountStatus": {
  1279. "get": {
  1280. "security": [
  1281. {
  1282. "ApiKeyAuth": []
  1283. }
  1284. ],
  1285. "produces": [
  1286. "application/json"
  1287. ],
  1288. "tags": [
  1289. "企业风险管理(app)"
  1290. ],
  1291. "summary": "获取目标登录账号当前对冲账号在线状态",
  1292. "parameters": [
  1293. {
  1294. "type": "integer",
  1295. "description": "登录账号",
  1296. "name": "loginID",
  1297. "in": "query",
  1298. "required": true
  1299. }
  1300. ],
  1301. "responses": {
  1302. "200": {
  1303. "description": "OK",
  1304. "schema": {
  1305. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1306. }
  1307. },
  1308. "500": {
  1309. "description": "Internal Server Error",
  1310. "schema": {
  1311. "$ref": "#/definitions/app.Response"
  1312. }
  1313. }
  1314. }
  1315. }
  1316. },
  1317. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1318. "get": {
  1319. "security": [
  1320. {
  1321. "ApiKeyAuth": []
  1322. }
  1323. ],
  1324. "produces": [
  1325. "application/json"
  1326. ],
  1327. "tags": [
  1328. "企业风险管理(app)"
  1329. ],
  1330. "summary": "获取企业风管终端权限",
  1331. "parameters": [
  1332. {
  1333. "type": "integer",
  1334. "description": "登录账号",
  1335. "name": "loginID",
  1336. "in": "query",
  1337. "required": true
  1338. }
  1339. ],
  1340. "responses": {
  1341. "200": {
  1342. "description": "OK",
  1343. "schema": {
  1344. "$ref": "#/definitions/models.Funcmenulist"
  1345. }
  1346. },
  1347. "500": {
  1348. "description": "Internal Server Error",
  1349. "schema": {
  1350. "$ref": "#/definitions/app.Response"
  1351. }
  1352. }
  1353. }
  1354. }
  1355. },
  1356. "/Ermcp/QueryAccMgrBizGroupSet": {
  1357. "get": {
  1358. "security": [
  1359. {
  1360. "ApiKeyAuth": []
  1361. }
  1362. ],
  1363. "produces": [
  1364. "application/json"
  1365. ],
  1366. "tags": [
  1367. "企业风险管理(app)"
  1368. ],
  1369. "summary": "查询业务类型分组(账户管理/账户设置)",
  1370. "parameters": [
  1371. {
  1372. "type": "integer",
  1373. "description": "用户ID",
  1374. "name": "userid",
  1375. "in": "query",
  1376. "required": true
  1377. },
  1378. {
  1379. "type": "integer",
  1380. "description": "现货商品id",
  1381. "name": "deliverygoodsid",
  1382. "in": "query"
  1383. }
  1384. ],
  1385. "responses": {
  1386. "200": {
  1387. "description": "OK",
  1388. "schema": {
  1389. "type": "array",
  1390. "items": {
  1391. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1392. }
  1393. }
  1394. },
  1395. "500": {
  1396. "description": "Internal Server Error",
  1397. "schema": {
  1398. "$ref": "#/definitions/app.Response"
  1399. }
  1400. }
  1401. }
  1402. }
  1403. },
  1404. "/Ermcp/QueryAccMgrLoginUser": {
  1405. "get": {
  1406. "security": [
  1407. {
  1408. "ApiKeyAuth": []
  1409. }
  1410. ],
  1411. "produces": [
  1412. "application/json"
  1413. ],
  1414. "tags": [
  1415. "企业风险管理(app)"
  1416. ],
  1417. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1418. "parameters": [
  1419. {
  1420. "type": "integer",
  1421. "description": "用户ID",
  1422. "name": "userid",
  1423. "in": "query",
  1424. "required": true
  1425. },
  1426. {
  1427. "type": "integer",
  1428. "description": "用户类型 2-机构 7-企业成员",
  1429. "name": "usertype",
  1430. "in": "query"
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1435. "name": "querytype",
  1436. "in": "query",
  1437. "required": true
  1438. }
  1439. ],
  1440. "responses": {
  1441. "200": {
  1442. "description": "OK",
  1443. "schema": {
  1444. "type": "array",
  1445. "items": {
  1446. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1447. }
  1448. }
  1449. },
  1450. "500": {
  1451. "description": "Internal Server Error",
  1452. "schema": {
  1453. "$ref": "#/definitions/app.Response"
  1454. }
  1455. }
  1456. }
  1457. }
  1458. },
  1459. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1460. "get": {
  1461. "security": [
  1462. {
  1463. "ApiKeyAuth": []
  1464. }
  1465. ],
  1466. "produces": [
  1467. "application/json"
  1468. ],
  1469. "tags": [
  1470. "企业风险管理(app)"
  1471. ],
  1472. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1473. "parameters": [
  1474. {
  1475. "type": "integer",
  1476. "description": "用户ID",
  1477. "name": "userid",
  1478. "in": "query"
  1479. },
  1480. {
  1481. "type": "integer",
  1482. "description": "主账号id",
  1483. "name": "accountid",
  1484. "in": "query"
  1485. }
  1486. ],
  1487. "responses": {
  1488. "200": {
  1489. "description": "OK",
  1490. "schema": {
  1491. "type": "array",
  1492. "items": {
  1493. "$ref": "#/definitions/models.MainAccountInfo"
  1494. }
  1495. }
  1496. },
  1497. "500": {
  1498. "description": "Internal Server Error",
  1499. "schema": {
  1500. "$ref": "#/definitions/app.Response"
  1501. }
  1502. }
  1503. }
  1504. }
  1505. },
  1506. "/Ermcp/QueryAccMgrRole": {
  1507. "get": {
  1508. "security": [
  1509. {
  1510. "ApiKeyAuth": []
  1511. }
  1512. ],
  1513. "produces": [
  1514. "application/json"
  1515. ],
  1516. "tags": [
  1517. "企业风险管理(app)"
  1518. ],
  1519. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1520. "parameters": [
  1521. {
  1522. "type": "integer",
  1523. "description": "用户ID",
  1524. "name": "userid",
  1525. "in": "query",
  1526. "required": true
  1527. }
  1528. ],
  1529. "responses": {
  1530. "200": {
  1531. "description": "OK",
  1532. "schema": {
  1533. "type": "array",
  1534. "items": {
  1535. "$ref": "#/definitions/models.ErmcpRole"
  1536. }
  1537. }
  1538. },
  1539. "500": {
  1540. "description": "Internal Server Error",
  1541. "schema": {
  1542. "$ref": "#/definitions/app.Response"
  1543. }
  1544. }
  1545. }
  1546. }
  1547. },
  1548. "/Ermcp/QueryAccMgrRoleMenu": {
  1549. "get": {
  1550. "security": [
  1551. {
  1552. "ApiKeyAuth": []
  1553. }
  1554. ],
  1555. "produces": [
  1556. "application/json"
  1557. ],
  1558. "tags": [
  1559. "企业风险管理(app)"
  1560. ],
  1561. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1562. "parameters": [
  1563. {
  1564. "type": "integer",
  1565. "description": "用户ID",
  1566. "name": "userid",
  1567. "in": "query",
  1568. "required": true
  1569. },
  1570. {
  1571. "type": "string",
  1572. "description": "角色id(可多个,逗号隔开)",
  1573. "name": "roleid",
  1574. "in": "query"
  1575. },
  1576. {
  1577. "type": "integer",
  1578. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1579. "name": "menutype",
  1580. "in": "query"
  1581. }
  1582. ],
  1583. "responses": {
  1584. "200": {
  1585. "description": "OK",
  1586. "schema": {
  1587. "type": "array",
  1588. "items": {
  1589. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1590. }
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "企业风险管理(app)"
  1614. ],
  1615. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "用户ID",
  1620. "name": "userid",
  1621. "in": "query",
  1622. "required": true
  1623. },
  1624. {
  1625. "type": "integer",
  1626. "description": "账号id",
  1627. "name": "accountid",
  1628. "in": "query"
  1629. }
  1630. ],
  1631. "responses": {
  1632. "200": {
  1633. "description": "OK",
  1634. "schema": {
  1635. "type": "array",
  1636. "items": {
  1637. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1638. }
  1639. }
  1640. },
  1641. "500": {
  1642. "description": "Internal Server Error",
  1643. "schema": {
  1644. "$ref": "#/definitions/app.Response"
  1645. }
  1646. }
  1647. }
  1648. }
  1649. },
  1650. "/Ermcp/QueryAccMgrTaaccount": {
  1651. "get": {
  1652. "security": [
  1653. {
  1654. "ApiKeyAuth": []
  1655. }
  1656. ],
  1657. "produces": [
  1658. "application/json"
  1659. ],
  1660. "tags": [
  1661. "企业风险管理(app)"
  1662. ],
  1663. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1664. "parameters": [
  1665. {
  1666. "type": "integer",
  1667. "description": "用户ID",
  1668. "name": "userid",
  1669. "in": "query",
  1670. "required": true
  1671. }
  1672. ],
  1673. "responses": {
  1674. "200": {
  1675. "description": "OK",
  1676. "schema": {
  1677. "type": "array",
  1678. "items": {
  1679. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1680. }
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/Ermcp/QueryAvaildGoodsGroup": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "企业风险管理(app)"
  1704. ],
  1705. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "所属机构ID",
  1710. "name": "userid",
  1711. "in": "query",
  1712. "required": true
  1713. }
  1714. ],
  1715. "responses": {
  1716. "200": {
  1717. "description": "OK",
  1718. "schema": {
  1719. "type": "array",
  1720. "items": {
  1721. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1722. }
  1723. }
  1724. },
  1725. "500": {
  1726. "description": "Internal Server Error",
  1727. "schema": {
  1728. "$ref": "#/definitions/app.Response"
  1729. }
  1730. }
  1731. }
  1732. }
  1733. },
  1734. "/Ermcp/QueryBusinessDj": {
  1735. "get": {
  1736. "security": [
  1737. {
  1738. "ApiKeyAuth": []
  1739. }
  1740. ],
  1741. "produces": [
  1742. "application/json"
  1743. ],
  1744. "tags": [
  1745. "企业风险管理(app)"
  1746. ],
  1747. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1748. "parameters": [
  1749. {
  1750. "type": "integer",
  1751. "description": "用户ID",
  1752. "name": "UserId",
  1753. "in": "query",
  1754. "required": true
  1755. },
  1756. {
  1757. "type": "integer",
  1758. "description": "用户类型 2-机构 7-企业成员",
  1759. "name": "usertype",
  1760. "in": "query"
  1761. },
  1762. {
  1763. "type": "string",
  1764. "description": "现货合同ID, 不填则查所有",
  1765. "name": "relatedid",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1771. "name": "applystatus",
  1772. "in": "query"
  1773. }
  1774. ],
  1775. "responses": {
  1776. "200": {
  1777. "description": "OK",
  1778. "schema": {
  1779. "type": "array",
  1780. "items": {
  1781. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1782. }
  1783. }
  1784. },
  1785. "500": {
  1786. "description": "Internal Server Error",
  1787. "schema": {
  1788. "$ref": "#/definitions/app.Response"
  1789. }
  1790. }
  1791. }
  1792. }
  1793. },
  1794. "/Ermcp/QueryBusinessFp": {
  1795. "get": {
  1796. "security": [
  1797. {
  1798. "ApiKeyAuth": []
  1799. }
  1800. ],
  1801. "produces": [
  1802. "application/json"
  1803. ],
  1804. "tags": [
  1805. "企业风险管理(app)"
  1806. ],
  1807. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1808. "parameters": [
  1809. {
  1810. "type": "integer",
  1811. "description": "用户ID",
  1812. "name": "UserId",
  1813. "in": "query",
  1814. "required": true
  1815. },
  1816. {
  1817. "type": "integer",
  1818. "description": "用户类型 2-机构 7-企业成员",
  1819. "name": "usertype",
  1820. "in": "query"
  1821. },
  1822. {
  1823. "type": "string",
  1824. "description": "现货合同ID, 不填则查所有",
  1825. "name": "relatedid",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1831. "name": "applystatus",
  1832. "in": "query"
  1833. }
  1834. ],
  1835. "responses": {
  1836. "200": {
  1837. "description": "OK",
  1838. "schema": {
  1839. "type": "array",
  1840. "items": {
  1841. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1842. }
  1843. }
  1844. },
  1845. "500": {
  1846. "description": "Internal Server Error",
  1847. "schema": {
  1848. "$ref": "#/definitions/app.Response"
  1849. }
  1850. }
  1851. }
  1852. }
  1853. },
  1854. "/Ermcp/QueryBusinessJs": {
  1855. "get": {
  1856. "security": [
  1857. {
  1858. "ApiKeyAuth": []
  1859. }
  1860. ],
  1861. "produces": [
  1862. "application/json"
  1863. ],
  1864. "tags": [
  1865. "企业风险管理(app)"
  1866. ],
  1867. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1868. "parameters": [
  1869. {
  1870. "type": "integer",
  1871. "description": "用户ID",
  1872. "name": "UserId",
  1873. "in": "query",
  1874. "required": true
  1875. },
  1876. {
  1877. "type": "integer",
  1878. "description": "用户类型 2-机构 7-企业成员",
  1879. "name": "usertype",
  1880. "in": "query"
  1881. },
  1882. {
  1883. "type": "string",
  1884. "description": "现货合同ID, 不填则查所有",
  1885. "name": "relatedid",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "操作申请id",
  1891. "name": "operateapplyid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1897. "name": "applystatus",
  1898. "in": "query"
  1899. }
  1900. ],
  1901. "responses": {
  1902. "200": {
  1903. "description": "OK",
  1904. "schema": {
  1905. "type": "array",
  1906. "items": {
  1907. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1908. }
  1909. }
  1910. },
  1911. "500": {
  1912. "description": "Internal Server Error",
  1913. "schema": {
  1914. "$ref": "#/definitions/app.Response"
  1915. }
  1916. }
  1917. }
  1918. }
  1919. },
  1920. "/Ermcp/QueryBusinessJsEx": {
  1921. "get": {
  1922. "security": [
  1923. {
  1924. "ApiKeyAuth": []
  1925. }
  1926. ],
  1927. "produces": [
  1928. "application/json"
  1929. ],
  1930. "tags": [
  1931. "企业风险管理(app)"
  1932. ],
  1933. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1934. "parameters": [
  1935. {
  1936. "type": "integer",
  1937. "description": "用户ID",
  1938. "name": "UserId",
  1939. "in": "query",
  1940. "required": true
  1941. },
  1942. {
  1943. "type": "integer",
  1944. "description": "用户类型 2-机构 7-企业成员",
  1945. "name": "usertype",
  1946. "in": "query"
  1947. },
  1948. {
  1949. "type": "string",
  1950. "description": "现货合同ID, 不填则查所有",
  1951. "name": "relatedid",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1957. "name": "applystatus",
  1958. "in": "query"
  1959. }
  1960. ],
  1961. "responses": {
  1962. "200": {
  1963. "description": "OK",
  1964. "schema": {
  1965. "type": "array",
  1966. "items": {
  1967. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1968. }
  1969. }
  1970. },
  1971. "500": {
  1972. "description": "Internal Server Error",
  1973. "schema": {
  1974. "$ref": "#/definitions/app.Response"
  1975. }
  1976. }
  1977. }
  1978. }
  1979. },
  1980. "/Ermcp/QueryBusinessKx": {
  1981. "get": {
  1982. "security": [
  1983. {
  1984. "ApiKeyAuth": []
  1985. }
  1986. ],
  1987. "produces": [
  1988. "application/json"
  1989. ],
  1990. "tags": [
  1991. "企业风险管理(app)"
  1992. ],
  1993. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  1994. "parameters": [
  1995. {
  1996. "type": "integer",
  1997. "description": "用户ID",
  1998. "name": "UserId",
  1999. "in": "query",
  2000. "required": true
  2001. },
  2002. {
  2003. "type": "integer",
  2004. "description": "用户类型 2-机构 7-企业成员",
  2005. "name": "usertype",
  2006. "in": "query"
  2007. },
  2008. {
  2009. "type": "string",
  2010. "description": "现货合同ID, 不填则查所有",
  2011. "name": "relatedid",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2017. "name": "applystatus",
  2018. "in": "query"
  2019. }
  2020. ],
  2021. "responses": {
  2022. "200": {
  2023. "description": "OK",
  2024. "schema": {
  2025. "type": "array",
  2026. "items": {
  2027. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2028. }
  2029. }
  2030. },
  2031. "500": {
  2032. "description": "Internal Server Error",
  2033. "schema": {
  2034. "$ref": "#/definitions/app.Response"
  2035. }
  2036. }
  2037. }
  2038. }
  2039. },
  2040. "/Ermcp/QueryChangeLog": {
  2041. "get": {
  2042. "security": [
  2043. {
  2044. "ApiKeyAuth": []
  2045. }
  2046. ],
  2047. "produces": [
  2048. "application/json"
  2049. ],
  2050. "tags": [
  2051. "企业风险管理(app)"
  2052. ],
  2053. "summary": "查询变更记录",
  2054. "parameters": [
  2055. {
  2056. "type": "string",
  2057. "description": "合同ID",
  2058. "name": "RelatedId",
  2059. "in": "query",
  2060. "required": true
  2061. }
  2062. ],
  2063. "responses": {
  2064. "200": {
  2065. "description": "OK",
  2066. "schema": {
  2067. "type": "array",
  2068. "items": {
  2069. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2070. }
  2071. }
  2072. },
  2073. "500": {
  2074. "description": "Internal Server Error",
  2075. "schema": {
  2076. "$ref": "#/definitions/app.Response"
  2077. }
  2078. }
  2079. }
  2080. }
  2081. },
  2082. "/Ermcp/QueryErmcpHisOrderDetails": {
  2083. "get": {
  2084. "security": [
  2085. {
  2086. "ApiKeyAuth": []
  2087. }
  2088. ],
  2089. "produces": [
  2090. "application/json"
  2091. ],
  2092. "tags": [
  2093. "企业风险管理(app)"
  2094. ],
  2095. "summary": "获取企业风管期货历史委托单信息",
  2096. "parameters": [
  2097. {
  2098. "type": "integer",
  2099. "description": "资金账户ID",
  2100. "name": "accountID",
  2101. "in": "query",
  2102. "required": true
  2103. },
  2104. {
  2105. "type": "string",
  2106. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2107. "name": "startDate",
  2108. "in": "query"
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "endDate",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/Ermcp/QueryErmcpHisTradeDetails": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "企业风险管理(app)"
  2145. ],
  2146. "summary": "获取企业风管期货历史成交单信息",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "资金账户ID",
  2151. "name": "accountID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "商品ID",
  2158. "name": "goodsID",
  2159. "in": "query"
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "买卖方向,0:买 1:卖",
  2164. "name": "buyOrSell",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "关联委托单号",
  2170. "name": "orderID",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "string",
  2175. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2176. "name": "startDate",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "endDate",
  2183. "in": "query"
  2184. }
  2185. ],
  2186. "responses": {
  2187. "200": {
  2188. "description": "OK",
  2189. "schema": {
  2190. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2191. }
  2192. },
  2193. "500": {
  2194. "description": "Internal Server Error",
  2195. "schema": {
  2196. "$ref": "#/definitions/app.Response"
  2197. }
  2198. }
  2199. }
  2200. }
  2201. },
  2202. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2203. "get": {
  2204. "security": [
  2205. {
  2206. "ApiKeyAuth": []
  2207. }
  2208. ],
  2209. "produces": [
  2210. "application/json"
  2211. ],
  2212. "tags": [
  2213. "企业风险管理(app)"
  2214. ],
  2215. "summary": "获取企业风管期货内部持仓单信息",
  2216. "parameters": [
  2217. {
  2218. "type": "integer",
  2219. "description": "资金账户ID",
  2220. "name": "accountID",
  2221. "in": "query",
  2222. "required": true
  2223. },
  2224. {
  2225. "type": "integer",
  2226. "description": "商品ID",
  2227. "name": "goodsID",
  2228. "in": "query"
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "买卖方向,0:买 1:卖",
  2233. "name": "buyOrSell",
  2234. "in": "query"
  2235. }
  2236. ],
  2237. "responses": {
  2238. "200": {
  2239. "description": "OK",
  2240. "schema": {
  2241. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2242. }
  2243. },
  2244. "500": {
  2245. "description": "Internal Server Error",
  2246. "schema": {
  2247. "$ref": "#/definitions/app.Response"
  2248. }
  2249. }
  2250. }
  2251. }
  2252. },
  2253. "/Ermcp/QueryErmcpOrderDetails": {
  2254. "get": {
  2255. "security": [
  2256. {
  2257. "ApiKeyAuth": []
  2258. }
  2259. ],
  2260. "produces": [
  2261. "application/json"
  2262. ],
  2263. "tags": [
  2264. "企业风险管理(app)"
  2265. ],
  2266. "summary": "获取企业风管期货委托单信息",
  2267. "parameters": [
  2268. {
  2269. "type": "integer",
  2270. "description": "资金账户ID",
  2271. "name": "accountID",
  2272. "in": "query",
  2273. "required": true
  2274. }
  2275. ],
  2276. "responses": {
  2277. "200": {
  2278. "description": "OK",
  2279. "schema": {
  2280. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2281. }
  2282. },
  2283. "500": {
  2284. "description": "Internal Server Error",
  2285. "schema": {
  2286. "$ref": "#/definitions/app.Response"
  2287. }
  2288. }
  2289. }
  2290. }
  2291. },
  2292. "/Ermcp/QueryErmcpTradeDetails": {
  2293. "get": {
  2294. "security": [
  2295. {
  2296. "ApiKeyAuth": []
  2297. }
  2298. ],
  2299. "produces": [
  2300. "application/json"
  2301. ],
  2302. "tags": [
  2303. "企业风险管理(app)"
  2304. ],
  2305. "summary": "获取企业风管期货成交单信息",
  2306. "parameters": [
  2307. {
  2308. "type": "integer",
  2309. "description": "资金账户ID",
  2310. "name": "accountID",
  2311. "in": "query",
  2312. "required": true
  2313. },
  2314. {
  2315. "type": "integer",
  2316. "description": "商品ID",
  2317. "name": "goodsID",
  2318. "in": "query"
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "买卖方向,0:买 1:卖",
  2323. "name": "buyOrSell",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "关联委托单号",
  2329. "name": "orderID",
  2330. "in": "query"
  2331. }
  2332. ],
  2333. "responses": {
  2334. "200": {
  2335. "description": "OK",
  2336. "schema": {
  2337. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2338. }
  2339. },
  2340. "500": {
  2341. "description": "Internal Server Error",
  2342. "schema": {
  2343. "$ref": "#/definitions/app.Response"
  2344. }
  2345. }
  2346. }
  2347. }
  2348. },
  2349. "/Ermcp/QueryErmcpTradePosition": {
  2350. "get": {
  2351. "security": [
  2352. {
  2353. "ApiKeyAuth": []
  2354. }
  2355. ],
  2356. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2357. "produces": [
  2358. "application/json"
  2359. ],
  2360. "tags": [
  2361. "企业风险管理(app)"
  2362. ],
  2363. "summary": "获取企业风管期货持仓头寸信息",
  2364. "parameters": [
  2365. {
  2366. "type": "integer",
  2367. "description": "资金账户ID",
  2368. "name": "accountID",
  2369. "in": "query",
  2370. "required": true
  2371. },
  2372. {
  2373. "type": "integer",
  2374. "description": "所属市场ID",
  2375. "name": "marketID",
  2376. "in": "query"
  2377. }
  2378. ],
  2379. "responses": {
  2380. "200": {
  2381. "description": "OK",
  2382. "schema": {
  2383. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2384. }
  2385. },
  2386. "500": {
  2387. "description": "Internal Server Error",
  2388. "schema": {
  2389. "$ref": "#/definitions/app.Response"
  2390. }
  2391. }
  2392. }
  2393. }
  2394. },
  2395. "/Ermcp/QueryExposureDetail": {
  2396. "get": {
  2397. "security": [
  2398. {
  2399. "ApiKeyAuth": []
  2400. }
  2401. ],
  2402. "produces": [
  2403. "application/json"
  2404. ],
  2405. "tags": [
  2406. "企业风险管理(app)"
  2407. ],
  2408. "summary": "查询敞口现货明细",
  2409. "parameters": [
  2410. {
  2411. "type": "integer",
  2412. "description": "所属机构ID",
  2413. "name": "areaUserId",
  2414. "in": "query",
  2415. "required": true
  2416. },
  2417. {
  2418. "type": "integer",
  2419. "description": "套保商品",
  2420. "name": "middleGoodsId",
  2421. "in": "query",
  2422. "required": true
  2423. }
  2424. ],
  2425. "responses": {
  2426. "200": {
  2427. "description": "OK",
  2428. "schema": {
  2429. "type": "array",
  2430. "items": {
  2431. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2432. }
  2433. }
  2434. },
  2435. "500": {
  2436. "description": "Internal Server Error",
  2437. "schema": {
  2438. "$ref": "#/definitions/app.Response"
  2439. }
  2440. }
  2441. }
  2442. }
  2443. },
  2444. "/Ermcp/QueryExposureGoods": {
  2445. "get": {
  2446. "security": [
  2447. {
  2448. "ApiKeyAuth": []
  2449. }
  2450. ],
  2451. "produces": [
  2452. "application/json"
  2453. ],
  2454. "tags": [
  2455. "企业风险管理(app)"
  2456. ],
  2457. "summary": "查询敞口主力合约",
  2458. "parameters": [
  2459. {
  2460. "type": "integer",
  2461. "description": "套保商品id",
  2462. "name": "middlegoodsid",
  2463. "in": "query",
  2464. "required": true
  2465. }
  2466. ],
  2467. "responses": {
  2468. "200": {
  2469. "description": "OK",
  2470. "schema": {
  2471. "type": "array",
  2472. "items": {
  2473. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2474. }
  2475. }
  2476. },
  2477. "500": {
  2478. "description": "Internal Server Error",
  2479. "schema": {
  2480. "$ref": "#/definitions/app.Response"
  2481. }
  2482. }
  2483. }
  2484. }
  2485. },
  2486. "/Ermcp/QueryExposureHedgePosition": {
  2487. "get": {
  2488. "security": [
  2489. {
  2490. "ApiKeyAuth": []
  2491. }
  2492. ],
  2493. "produces": [
  2494. "application/json"
  2495. ],
  2496. "tags": [
  2497. "企业风险管理(app)"
  2498. ],
  2499. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2500. "parameters": [
  2501. {
  2502. "type": "integer",
  2503. "description": "用户id",
  2504. "name": "userid",
  2505. "in": "query",
  2506. "required": true
  2507. }
  2508. ],
  2509. "responses": {
  2510. "200": {
  2511. "description": "OK",
  2512. "schema": {
  2513. "type": "array",
  2514. "items": {
  2515. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2516. }
  2517. }
  2518. },
  2519. "500": {
  2520. "description": "Internal Server Error",
  2521. "schema": {
  2522. "$ref": "#/definitions/app.Response"
  2523. }
  2524. }
  2525. }
  2526. }
  2527. },
  2528. "/Ermcp/QueryExposureHedgePositionDetail": {
  2529. "get": {
  2530. "security": [
  2531. {
  2532. "ApiKeyAuth": []
  2533. }
  2534. ],
  2535. "produces": [
  2536. "application/json"
  2537. ],
  2538. "tags": [
  2539. "企业风险管理(app)"
  2540. ],
  2541. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2542. "parameters": [
  2543. {
  2544. "type": "integer",
  2545. "description": "所属机构ID",
  2546. "name": "userid",
  2547. "in": "query",
  2548. "required": true
  2549. },
  2550. {
  2551. "type": "integer",
  2552. "description": "商品id",
  2553. "name": "goodsId",
  2554. "in": "query",
  2555. "required": true
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "type": "array",
  2563. "items": {
  2564. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2565. }
  2566. }
  2567. },
  2568. "500": {
  2569. "description": "Internal Server Error",
  2570. "schema": {
  2571. "$ref": "#/definitions/app.Response"
  2572. }
  2573. }
  2574. }
  2575. }
  2576. },
  2577. "/Ermcp/QueryExposureSpot": {
  2578. "get": {
  2579. "security": [
  2580. {
  2581. "ApiKeyAuth": []
  2582. }
  2583. ],
  2584. "produces": [
  2585. "application/json"
  2586. ],
  2587. "tags": [
  2588. "企业风险管理(app)"
  2589. ],
  2590. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2591. "parameters": [
  2592. {
  2593. "type": "integer",
  2594. "description": "所属机构ID",
  2595. "name": "areaUserId",
  2596. "in": "query",
  2597. "required": true
  2598. }
  2599. ],
  2600. "responses": {
  2601. "200": {
  2602. "description": "OK",
  2603. "schema": {
  2604. "type": "array",
  2605. "items": {
  2606. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2607. }
  2608. }
  2609. },
  2610. "500": {
  2611. "description": "Internal Server Error",
  2612. "schema": {
  2613. "$ref": "#/definitions/app.Response"
  2614. }
  2615. }
  2616. }
  2617. }
  2618. },
  2619. "/Ermcp/QueryExposureSpotDetail": {
  2620. "get": {
  2621. "security": [
  2622. {
  2623. "ApiKeyAuth": []
  2624. }
  2625. ],
  2626. "produces": [
  2627. "application/json"
  2628. ],
  2629. "tags": [
  2630. "企业风险管理(app)"
  2631. ],
  2632. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2633. "parameters": [
  2634. {
  2635. "type": "integer",
  2636. "description": "所属机构ID",
  2637. "name": "areaUserId",
  2638. "in": "query",
  2639. "required": true
  2640. },
  2641. {
  2642. "type": "integer",
  2643. "description": "现货品种ID",
  2644. "name": "wrstandardId",
  2645. "in": "query",
  2646. "required": true
  2647. }
  2648. ],
  2649. "responses": {
  2650. "200": {
  2651. "description": "OK",
  2652. "schema": {
  2653. "type": "array",
  2654. "items": {
  2655. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2656. }
  2657. }
  2658. },
  2659. "500": {
  2660. "description": "Internal Server Error",
  2661. "schema": {
  2662. "$ref": "#/definitions/app.Response"
  2663. }
  2664. }
  2665. }
  2666. }
  2667. },
  2668. "/Ermcp/QueryFuturesCompany": {
  2669. "get": {
  2670. "security": [
  2671. {
  2672. "ApiKeyAuth": []
  2673. }
  2674. ],
  2675. "produces": [
  2676. "application/json"
  2677. ],
  2678. "tags": [
  2679. "企业风险管理(app)"
  2680. ],
  2681. "summary": "查询期货公司",
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "type": "array",
  2687. "items": {
  2688. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2689. }
  2690. }
  2691. },
  2692. "500": {
  2693. "description": "Internal Server Error",
  2694. "schema": {
  2695. "$ref": "#/definitions/app.Response"
  2696. }
  2697. }
  2698. }
  2699. }
  2700. },
  2701. "/Ermcp/QueryGGConvertConfig": {
  2702. "get": {
  2703. "security": [
  2704. {
  2705. "ApiKeyAuth": []
  2706. }
  2707. ],
  2708. "produces": [
  2709. "application/json"
  2710. ],
  2711. "tags": [
  2712. "企业风险管理(app)"
  2713. ],
  2714. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2715. "parameters": [
  2716. {
  2717. "type": "integer",
  2718. "description": "品种id(不填则查所有)",
  2719. "name": "goodsgroupid",
  2720. "in": "query"
  2721. }
  2722. ],
  2723. "responses": {
  2724. "200": {
  2725. "description": "OK",
  2726. "schema": {
  2727. "type": "array",
  2728. "items": {
  2729. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2730. }
  2731. }
  2732. },
  2733. "500": {
  2734. "description": "Internal Server Error",
  2735. "schema": {
  2736. "$ref": "#/definitions/app.Response"
  2737. }
  2738. }
  2739. }
  2740. }
  2741. },
  2742. "/Ermcp/QueryGoodsBrand": {
  2743. "get": {
  2744. "security": [
  2745. {
  2746. "ApiKeyAuth": []
  2747. }
  2748. ],
  2749. "produces": [
  2750. "application/json"
  2751. ],
  2752. "tags": [
  2753. "企业风险管理(app)"
  2754. ],
  2755. "summary": "查询商品品牌",
  2756. "parameters": [
  2757. {
  2758. "type": "integer",
  2759. "description": "用户ID",
  2760. "name": "userid",
  2761. "in": "query",
  2762. "required": true
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "现货商品ID",
  2767. "name": "wrstandardid",
  2768. "in": "query"
  2769. }
  2770. ],
  2771. "responses": {
  2772. "200": {
  2773. "description": "OK",
  2774. "schema": {
  2775. "type": "array",
  2776. "items": {
  2777. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2778. }
  2779. }
  2780. },
  2781. "500": {
  2782. "description": "Internal Server Error",
  2783. "schema": {
  2784. "$ref": "#/definitions/app.Response"
  2785. }
  2786. }
  2787. }
  2788. }
  2789. },
  2790. "/Ermcp/QueryGoodsModel": {
  2791. "get": {
  2792. "security": [
  2793. {
  2794. "ApiKeyAuth": []
  2795. }
  2796. ],
  2797. "produces": [
  2798. "application/json"
  2799. ],
  2800. "tags": [
  2801. "企业风险管理(app)"
  2802. ],
  2803. "summary": "查询商品型号",
  2804. "parameters": [
  2805. {
  2806. "type": "integer",
  2807. "description": "用户ID",
  2808. "name": "userid",
  2809. "in": "query",
  2810. "required": true
  2811. }
  2812. ],
  2813. "responses": {
  2814. "200": {
  2815. "description": "OK",
  2816. "schema": {
  2817. "type": "array",
  2818. "items": {
  2819. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2820. }
  2821. }
  2822. },
  2823. "500": {
  2824. "description": "Internal Server Error",
  2825. "schema": {
  2826. "$ref": "#/definitions/app.Response"
  2827. }
  2828. }
  2829. }
  2830. }
  2831. },
  2832. "/Ermcp/QueryHisExposure": {
  2833. "get": {
  2834. "security": [
  2835. {
  2836. "ApiKeyAuth": []
  2837. }
  2838. ],
  2839. "produces": [
  2840. "application/json"
  2841. ],
  2842. "tags": [
  2843. "企业风险管理(app)"
  2844. ],
  2845. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2846. "parameters": [
  2847. {
  2848. "type": "integer",
  2849. "description": "用户id",
  2850. "name": "userid",
  2851. "in": "query",
  2852. "required": true
  2853. },
  2854. {
  2855. "type": "integer",
  2856. "description": "每个品种记录数",
  2857. "name": "lastNum",
  2858. "in": "query",
  2859. "required": true
  2860. }
  2861. ],
  2862. "responses": {
  2863. "200": {
  2864. "description": "OK",
  2865. "schema": {
  2866. "type": "array",
  2867. "items": {
  2868. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2869. }
  2870. }
  2871. },
  2872. "500": {
  2873. "description": "Internal Server Error",
  2874. "schema": {
  2875. "$ref": "#/definitions/app.Response"
  2876. }
  2877. }
  2878. }
  2879. }
  2880. },
  2881. "/Ermcp/QueryMiddleGoods": {
  2882. "get": {
  2883. "security": [
  2884. {
  2885. "ApiKeyAuth": []
  2886. }
  2887. ],
  2888. "produces": [
  2889. "application/json"
  2890. ],
  2891. "tags": [
  2892. "企业风险管理(app)"
  2893. ],
  2894. "summary": "查询套保品种(菜单:套保品种)",
  2895. "parameters": [
  2896. {
  2897. "type": "integer",
  2898. "description": "所属机构ID",
  2899. "name": "userid",
  2900. "in": "query",
  2901. "required": true
  2902. },
  2903. {
  2904. "type": "integer",
  2905. "description": "状态 0-停用 1-正常",
  2906. "name": "status",
  2907. "in": "query",
  2908. "required": true
  2909. }
  2910. ],
  2911. "responses": {
  2912. "200": {
  2913. "description": "OK",
  2914. "schema": {
  2915. "type": "array",
  2916. "items": {
  2917. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2918. }
  2919. }
  2920. },
  2921. "500": {
  2922. "description": "Internal Server Error",
  2923. "schema": {
  2924. "$ref": "#/definitions/app.Response"
  2925. }
  2926. }
  2927. }
  2928. }
  2929. },
  2930. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2931. "get": {
  2932. "security": [
  2933. {
  2934. "ApiKeyAuth": []
  2935. }
  2936. ],
  2937. "produces": [
  2938. "application/json"
  2939. ],
  2940. "tags": [
  2941. "企业风险管理(app)"
  2942. ],
  2943. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2944. "parameters": [
  2945. {
  2946. "type": "integer",
  2947. "description": "所属机构ID",
  2948. "name": "userid",
  2949. "in": "query",
  2950. "required": true
  2951. },
  2952. {
  2953. "type": "integer",
  2954. "description": "套保品种id",
  2955. "name": "middlegoodsid",
  2956. "in": "query",
  2957. "required": true
  2958. }
  2959. ],
  2960. "responses": {
  2961. "200": {
  2962. "description": "OK",
  2963. "schema": {
  2964. "type": "array",
  2965. "items": {
  2966. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2967. }
  2968. }
  2969. },
  2970. "500": {
  2971. "description": "Internal Server Error",
  2972. "schema": {
  2973. "$ref": "#/definitions/app.Response"
  2974. }
  2975. }
  2976. }
  2977. }
  2978. },
  2979. "/Ermcp/QueryMiddleGoodsDetail": {
  2980. "get": {
  2981. "security": [
  2982. {
  2983. "ApiKeyAuth": []
  2984. }
  2985. ],
  2986. "produces": [
  2987. "application/json"
  2988. ],
  2989. "tags": [
  2990. "企业风险管理(app)"
  2991. ],
  2992. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2993. "parameters": [
  2994. {
  2995. "type": "integer",
  2996. "description": "所属机构ID",
  2997. "name": "userid",
  2998. "in": "query",
  2999. "required": true
  3000. },
  3001. {
  3002. "type": "integer",
  3003. "description": "套保品种id",
  3004. "name": "middlegoodsid",
  3005. "in": "query"
  3006. }
  3007. ],
  3008. "responses": {
  3009. "200": {
  3010. "description": "OK",
  3011. "schema": {
  3012. "type": "array",
  3013. "items": {
  3014. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3015. }
  3016. }
  3017. },
  3018. "500": {
  3019. "description": "Internal Server Error",
  3020. "schema": {
  3021. "$ref": "#/definitions/app.Response"
  3022. }
  3023. }
  3024. }
  3025. }
  3026. },
  3027. "/Ermcp/QueryPendingAuditInfo": {
  3028. "get": {
  3029. "security": [
  3030. {
  3031. "ApiKeyAuth": []
  3032. }
  3033. ],
  3034. "produces": [
  3035. "application/json"
  3036. ],
  3037. "tags": [
  3038. "企业风险管理(app)"
  3039. ],
  3040. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3041. "parameters": [
  3042. {
  3043. "type": "integer",
  3044. "description": "用户ID",
  3045. "name": "UserId",
  3046. "in": "query",
  3047. "required": true
  3048. }
  3049. ],
  3050. "responses": {
  3051. "200": {
  3052. "description": "OK",
  3053. "schema": {
  3054. "type": "array",
  3055. "items": {
  3056. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3057. }
  3058. }
  3059. },
  3060. "500": {
  3061. "description": "Internal Server Error",
  3062. "schema": {
  3063. "$ref": "#/definitions/app.Response"
  3064. }
  3065. }
  3066. }
  3067. }
  3068. },
  3069. "/Ermcp/QueryRealtimeExposure": {
  3070. "get": {
  3071. "security": [
  3072. {
  3073. "ApiKeyAuth": []
  3074. }
  3075. ],
  3076. "produces": [
  3077. "application/json"
  3078. ],
  3079. "tags": [
  3080. "企业风险管理(app)"
  3081. ],
  3082. "summary": "查询实时敞口",
  3083. "parameters": [
  3084. {
  3085. "type": "integer",
  3086. "description": "所属机构ID",
  3087. "name": "userid",
  3088. "in": "query",
  3089. "required": true
  3090. }
  3091. ],
  3092. "responses": {
  3093. "200": {
  3094. "description": "OK",
  3095. "schema": {
  3096. "type": "array",
  3097. "items": {
  3098. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3099. }
  3100. }
  3101. },
  3102. "500": {
  3103. "description": "Internal Server Error",
  3104. "schema": {
  3105. "$ref": "#/definitions/app.Response"
  3106. }
  3107. }
  3108. }
  3109. }
  3110. },
  3111. "/Ermcp/QueryRealtimeExposurePosition": {
  3112. "get": {
  3113. "security": [
  3114. {
  3115. "ApiKeyAuth": []
  3116. }
  3117. ],
  3118. "produces": [
  3119. "application/json"
  3120. ],
  3121. "tags": [
  3122. "企业风险管理(app)"
  3123. ],
  3124. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3125. "parameters": [
  3126. {
  3127. "type": "integer",
  3128. "description": "用户id",
  3129. "name": "userid",
  3130. "in": "query",
  3131. "required": true
  3132. },
  3133. {
  3134. "type": "integer",
  3135. "description": "套保商品ID",
  3136. "name": "middleGoodsId",
  3137. "in": "query",
  3138. "required": true
  3139. }
  3140. ],
  3141. "responses": {
  3142. "200": {
  3143. "description": "OK",
  3144. "schema": {
  3145. "type": "array",
  3146. "items": {
  3147. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3148. }
  3149. }
  3150. },
  3151. "500": {
  3152. "description": "Internal Server Error",
  3153. "schema": {
  3154. "$ref": "#/definitions/app.Response"
  3155. }
  3156. }
  3157. }
  3158. }
  3159. },
  3160. "/Ermcp/QueryRoleMenu": {
  3161. "get": {
  3162. "security": [
  3163. {
  3164. "ApiKeyAuth": []
  3165. }
  3166. ],
  3167. "produces": [
  3168. "application/json"
  3169. ],
  3170. "tags": [
  3171. "企业风险管理(app)"
  3172. ],
  3173. "summary": "查询角色菜单和权限",
  3174. "parameters": [
  3175. {
  3176. "type": "integer",
  3177. "description": "登录ID",
  3178. "name": "loginid",
  3179. "in": "query",
  3180. "required": true
  3181. },
  3182. {
  3183. "type": "integer",
  3184. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3185. "name": "menutype",
  3186. "in": "query"
  3187. }
  3188. ],
  3189. "responses": {
  3190. "200": {
  3191. "description": "OK",
  3192. "schema": {
  3193. "type": "array",
  3194. "items": {
  3195. "$ref": "#/definitions/models.RoleMenu"
  3196. }
  3197. }
  3198. },
  3199. "500": {
  3200. "description": "Internal Server Error",
  3201. "schema": {
  3202. "$ref": "#/definitions/app.Response"
  3203. }
  3204. }
  3205. }
  3206. }
  3207. },
  3208. "/Ermcp/QueryTradeConfigTMP": {
  3209. "get": {
  3210. "security": [
  3211. {
  3212. "ApiKeyAuth": []
  3213. }
  3214. ],
  3215. "produces": [
  3216. "application/json"
  3217. ],
  3218. "tags": [
  3219. "企业风险管理(app)"
  3220. ],
  3221. "summary": "查询交易模板配置",
  3222. "parameters": [
  3223. {
  3224. "type": "integer",
  3225. "description": "所属机构id",
  3226. "name": "areauserid",
  3227. "in": "query"
  3228. }
  3229. ],
  3230. "responses": {
  3231. "200": {
  3232. "description": "OK",
  3233. "schema": {
  3234. "type": "array",
  3235. "items": {
  3236. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3237. }
  3238. }
  3239. },
  3240. "500": {
  3241. "description": "Internal Server Error",
  3242. "schema": {
  3243. "$ref": "#/definitions/app.Response"
  3244. }
  3245. }
  3246. }
  3247. }
  3248. },
  3249. "/Ermcp/QueryUserInfo": {
  3250. "get": {
  3251. "security": [
  3252. {
  3253. "ApiKeyAuth": []
  3254. }
  3255. ],
  3256. "produces": [
  3257. "application/json"
  3258. ],
  3259. "tags": [
  3260. "企业风险管理(app)"
  3261. ],
  3262. "summary": "查询客户资料",
  3263. "parameters": [
  3264. {
  3265. "type": "integer",
  3266. "description": "所属机构用户ID",
  3267. "name": "MemberUserID",
  3268. "in": "query",
  3269. "required": true
  3270. },
  3271. {
  3272. "type": "integer",
  3273. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3274. "name": "queryType",
  3275. "in": "query",
  3276. "required": true
  3277. }
  3278. ],
  3279. "responses": {
  3280. "200": {
  3281. "description": "OK",
  3282. "schema": {
  3283. "type": "array",
  3284. "items": {
  3285. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3286. }
  3287. }
  3288. },
  3289. "500": {
  3290. "description": "Internal Server Error",
  3291. "schema": {
  3292. "$ref": "#/definitions/app.Response"
  3293. }
  3294. }
  3295. }
  3296. }
  3297. },
  3298. "/Ermcp/QueryWarehouseInfo": {
  3299. "get": {
  3300. "security": [
  3301. {
  3302. "ApiKeyAuth": []
  3303. }
  3304. ],
  3305. "produces": [
  3306. "application/json"
  3307. ],
  3308. "tags": [
  3309. "企业风险管理(app)"
  3310. ],
  3311. "summary": "查询仓库信息",
  3312. "parameters": [
  3313. {
  3314. "type": "integer",
  3315. "description": "用户ID",
  3316. "name": "userid",
  3317. "in": "query",
  3318. "required": true
  3319. },
  3320. {
  3321. "type": "string",
  3322. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3323. "name": "status",
  3324. "in": "query"
  3325. }
  3326. ],
  3327. "responses": {
  3328. "200": {
  3329. "description": "OK",
  3330. "schema": {
  3331. "type": "array",
  3332. "items": {
  3333. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3334. }
  3335. }
  3336. },
  3337. "500": {
  3338. "description": "Internal Server Error",
  3339. "schema": {
  3340. "$ref": "#/definitions/app.Response"
  3341. }
  3342. }
  3343. }
  3344. }
  3345. },
  3346. "/Ermcp3/QryAreaExpourseContractDetail": {
  3347. "get": {
  3348. "security": [
  3349. {
  3350. "ApiKeyAuth": []
  3351. }
  3352. ],
  3353. "produces": [
  3354. "application/json"
  3355. ],
  3356. "tags": [
  3357. "企业风险管理v3(app)"
  3358. ],
  3359. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3360. "parameters": [
  3361. {
  3362. "type": "integer",
  3363. "description": "用户ID",
  3364. "name": "userid",
  3365. "in": "query",
  3366. "required": true
  3367. },
  3368. {
  3369. "type": "integer",
  3370. "description": "套保商品id",
  3371. "name": "middlegoodsid",
  3372. "in": "query",
  3373. "required": true
  3374. },
  3375. {
  3376. "type": "integer",
  3377. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3378. "name": "cycletype",
  3379. "in": "query",
  3380. "required": true
  3381. },
  3382. {
  3383. "type": "string",
  3384. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3385. "name": "cycletime",
  3386. "in": "query",
  3387. "required": true
  3388. }
  3389. ],
  3390. "responses": {
  3391. "200": {
  3392. "description": "OK",
  3393. "schema": {
  3394. "type": "array",
  3395. "items": {
  3396. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3397. }
  3398. }
  3399. },
  3400. "500": {
  3401. "description": "Internal Server Error",
  3402. "schema": {
  3403. "$ref": "#/definitions/app.Response"
  3404. }
  3405. }
  3406. }
  3407. }
  3408. },
  3409. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3410. "get": {
  3411. "security": [
  3412. {
  3413. "ApiKeyAuth": []
  3414. }
  3415. ],
  3416. "produces": [
  3417. "application/json"
  3418. ],
  3419. "tags": [
  3420. "企业风险管理v3(app)"
  3421. ],
  3422. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3423. "parameters": [
  3424. {
  3425. "type": "integer",
  3426. "description": "用户ID",
  3427. "name": "userid",
  3428. "in": "query",
  3429. "required": true
  3430. },
  3431. {
  3432. "type": "integer",
  3433. "description": "套保商品id",
  3434. "name": "middlegoodsid",
  3435. "in": "query",
  3436. "required": true
  3437. },
  3438. {
  3439. "type": "integer",
  3440. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3441. "name": "cycletype",
  3442. "in": "query",
  3443. "required": true
  3444. },
  3445. {
  3446. "type": "string",
  3447. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3448. "name": "cycletime",
  3449. "in": "query",
  3450. "required": true
  3451. }
  3452. ],
  3453. "responses": {
  3454. "200": {
  3455. "description": "OK",
  3456. "schema": {
  3457. "type": "array",
  3458. "items": {
  3459. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3460. }
  3461. }
  3462. },
  3463. "500": {
  3464. "description": "Internal Server Error",
  3465. "schema": {
  3466. "$ref": "#/definitions/app.Response"
  3467. }
  3468. }
  3469. }
  3470. }
  3471. },
  3472. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3473. "get": {
  3474. "security": [
  3475. {
  3476. "ApiKeyAuth": []
  3477. }
  3478. ],
  3479. "produces": [
  3480. "application/json"
  3481. ],
  3482. "tags": [
  3483. "企业风险管理v3(app)"
  3484. ],
  3485. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3486. "parameters": [
  3487. {
  3488. "type": "integer",
  3489. "description": "用户ID",
  3490. "name": "userid",
  3491. "in": "query",
  3492. "required": true
  3493. },
  3494. {
  3495. "type": "integer",
  3496. "description": "套保商品id",
  3497. "name": "middlegoodsid",
  3498. "in": "query",
  3499. "required": true
  3500. },
  3501. {
  3502. "type": "integer",
  3503. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3504. "name": "cycletype",
  3505. "in": "query",
  3506. "required": true
  3507. },
  3508. {
  3509. "type": "string",
  3510. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3511. "name": "cycletime",
  3512. "in": "query",
  3513. "required": true
  3514. }
  3515. ],
  3516. "responses": {
  3517. "200": {
  3518. "description": "OK",
  3519. "schema": {
  3520. "type": "array",
  3521. "items": {
  3522. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3523. }
  3524. }
  3525. },
  3526. "500": {
  3527. "description": "Internal Server Error",
  3528. "schema": {
  3529. "$ref": "#/definitions/app.Response"
  3530. }
  3531. }
  3532. }
  3533. }
  3534. },
  3535. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3536. "get": {
  3537. "security": [
  3538. {
  3539. "ApiKeyAuth": []
  3540. }
  3541. ],
  3542. "produces": [
  3543. "application/json"
  3544. ],
  3545. "tags": [
  3546. "企业风险管理v3(app)"
  3547. ],
  3548. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3549. "parameters": [
  3550. {
  3551. "type": "integer",
  3552. "description": "用户ID",
  3553. "name": "userid",
  3554. "in": "query",
  3555. "required": true
  3556. },
  3557. {
  3558. "type": "integer",
  3559. "description": "套保商品id",
  3560. "name": "middlegoodsid",
  3561. "in": "query",
  3562. "required": true
  3563. },
  3564. {
  3565. "type": "integer",
  3566. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3567. "name": "cycletype",
  3568. "in": "query",
  3569. "required": true
  3570. },
  3571. {
  3572. "type": "string",
  3573. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3574. "name": "cycletime",
  3575. "in": "query",
  3576. "required": true
  3577. }
  3578. ],
  3579. "responses": {
  3580. "200": {
  3581. "description": "OK",
  3582. "schema": {
  3583. "type": "array",
  3584. "items": {
  3585. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3586. }
  3587. }
  3588. },
  3589. "500": {
  3590. "description": "Internal Server Error",
  3591. "schema": {
  3592. "$ref": "#/definitions/app.Response"
  3593. }
  3594. }
  3595. }
  3596. }
  3597. },
  3598. "/Ermcp3/QryAreaExpourseReport": {
  3599. "get": {
  3600. "security": [
  3601. {
  3602. "ApiKeyAuth": []
  3603. }
  3604. ],
  3605. "produces": [
  3606. "application/json"
  3607. ],
  3608. "tags": [
  3609. "企业风险管理v3(app)"
  3610. ],
  3611. "summary": "查询敞口报表",
  3612. "parameters": [
  3613. {
  3614. "type": "integer",
  3615. "description": "用户ID",
  3616. "name": "userid",
  3617. "in": "query",
  3618. "required": true
  3619. },
  3620. {
  3621. "type": "integer",
  3622. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3623. "name": "querytype",
  3624. "in": "query",
  3625. "required": true
  3626. },
  3627. {
  3628. "type": "integer",
  3629. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3630. "name": "cycletype",
  3631. "in": "query",
  3632. "required": true
  3633. },
  3634. {
  3635. "type": "string",
  3636. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3637. "name": "cycletime",
  3638. "in": "query",
  3639. "required": true
  3640. }
  3641. ],
  3642. "responses": {
  3643. "200": {
  3644. "description": "OK",
  3645. "schema": {
  3646. "type": "array",
  3647. "items": {
  3648. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3649. }
  3650. }
  3651. },
  3652. "500": {
  3653. "description": "Internal Server Error",
  3654. "schema": {
  3655. "$ref": "#/definitions/app.Response"
  3656. }
  3657. }
  3658. }
  3659. }
  3660. },
  3661. "/Ermcp3/QryAreaSpotplReport": {
  3662. "get": {
  3663. "security": [
  3664. {
  3665. "ApiKeyAuth": []
  3666. }
  3667. ],
  3668. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3669. "produces": [
  3670. "application/json"
  3671. ],
  3672. "tags": [
  3673. "企业风险管理v3(app)"
  3674. ],
  3675. "summary": "查询现货报表",
  3676. "parameters": [
  3677. {
  3678. "type": "integer",
  3679. "description": "用户ID",
  3680. "name": "userid",
  3681. "in": "query",
  3682. "required": true
  3683. },
  3684. {
  3685. "type": "integer",
  3686. "description": "查询类型 1-报表 2-报表明细",
  3687. "name": "querytype",
  3688. "in": "query",
  3689. "required": true
  3690. },
  3691. {
  3692. "type": "integer",
  3693. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3694. "name": "cycletype",
  3695. "in": "query",
  3696. "required": true
  3697. },
  3698. {
  3699. "type": "string",
  3700. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3701. "name": "cycletime",
  3702. "in": "query",
  3703. "required": true
  3704. },
  3705. {
  3706. "type": "integer",
  3707. "description": "现货品种id(明细必填)",
  3708. "name": "deliverygoodsid",
  3709. "in": "query"
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "币种id(明细必填)",
  3714. "name": "currencyid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "日/周/月报表汇总维度 1:品种+品类",
  3720. "name": "sumflag",
  3721. "in": "query"
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "type": "array",
  3729. "items": {
  3730. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3731. }
  3732. }
  3733. },
  3734. "500": {
  3735. "description": "Internal Server Error",
  3736. "schema": {
  3737. "$ref": "#/definitions/app.Response"
  3738. }
  3739. }
  3740. }
  3741. }
  3742. },
  3743. "/Ermcp3/QryAreaStockReport": {
  3744. "get": {
  3745. "security": [
  3746. {
  3747. "ApiKeyAuth": []
  3748. }
  3749. ],
  3750. "produces": [
  3751. "application/json"
  3752. ],
  3753. "tags": [
  3754. "企业风险管理v3(app)"
  3755. ],
  3756. "summary": "查询库存报表",
  3757. "parameters": [
  3758. {
  3759. "type": "integer",
  3760. "description": "用户ID",
  3761. "name": "userid",
  3762. "in": "query",
  3763. "required": true
  3764. },
  3765. {
  3766. "type": "integer",
  3767. "description": "查询类型 1-报表 2-报表明细",
  3768. "name": "querytype",
  3769. "in": "query",
  3770. "required": true
  3771. },
  3772. {
  3773. "type": "integer",
  3774. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3775. "name": "cycletype",
  3776. "in": "query",
  3777. "required": true
  3778. },
  3779. {
  3780. "type": "string",
  3781. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3782. "name": "cycletime",
  3783. "in": "query",
  3784. "required": true
  3785. },
  3786. {
  3787. "type": "string",
  3788. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3789. "name": "sumfields",
  3790. "in": "query"
  3791. },
  3792. {
  3793. "type": "integer",
  3794. "description": "品种ID",
  3795. "name": "deliverygoodsid",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品类ID",
  3801. "name": "wrstandardid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品牌ID",
  3807. "name": "spotgoodsbrandid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "仓库ID",
  3813. "name": "warehouseinfoid",
  3814. "in": "query"
  3815. }
  3816. ],
  3817. "responses": {
  3818. "200": {
  3819. "description": "OK",
  3820. "schema": {
  3821. "type": "array",
  3822. "items": {
  3823. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3824. }
  3825. }
  3826. },
  3827. "500": {
  3828. "description": "Internal Server Error",
  3829. "schema": {
  3830. "$ref": "#/definitions/app.Response"
  3831. }
  3832. }
  3833. }
  3834. }
  3835. },
  3836. "/Ermcp3/QryAreaSumPL": {
  3837. "get": {
  3838. "security": [
  3839. {
  3840. "ApiKeyAuth": []
  3841. }
  3842. ],
  3843. "produces": [
  3844. "application/json"
  3845. ],
  3846. "tags": [
  3847. "企业风险管理v3(app)"
  3848. ],
  3849. "summary": "查询汇总损益表",
  3850. "parameters": [
  3851. {
  3852. "type": "integer",
  3853. "description": "用户ID",
  3854. "name": "userid",
  3855. "in": "query",
  3856. "required": true
  3857. },
  3858. {
  3859. "type": "integer",
  3860. "description": "查询类型 1-报表 2-报表明细",
  3861. "name": "querytype",
  3862. "in": "query",
  3863. "required": true
  3864. },
  3865. {
  3866. "type": "integer",
  3867. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3868. "name": "cycletype",
  3869. "in": "query",
  3870. "required": true
  3871. },
  3872. {
  3873. "type": "string",
  3874. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3875. "name": "cycletime",
  3876. "in": "query",
  3877. "required": true
  3878. },
  3879. {
  3880. "type": "integer",
  3881. "description": "币种id(明细必填)",
  3882. "name": "currencyid",
  3883. "in": "query"
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "套保品种ID, 查询类型为2时起效",
  3888. "name": "middlegoodsid",
  3889. "in": "query"
  3890. }
  3891. ],
  3892. "responses": {
  3893. "200": {
  3894. "description": "OK",
  3895. "schema": {
  3896. "type": "array",
  3897. "items": {
  3898. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3899. }
  3900. }
  3901. },
  3902. "500": {
  3903. "description": "Internal Server Error",
  3904. "schema": {
  3905. "$ref": "#/definitions/app.Response"
  3906. }
  3907. }
  3908. }
  3909. }
  3910. },
  3911. "/Ermcp3/QryFinanceReport": {
  3912. "get": {
  3913. "security": [
  3914. {
  3915. "ApiKeyAuth": []
  3916. }
  3917. ],
  3918. "produces": [
  3919. "application/json"
  3920. ],
  3921. "tags": [
  3922. "企业风险管理v3(app)"
  3923. ],
  3924. "summary": "查询财务报表",
  3925. "parameters": [
  3926. {
  3927. "type": "integer",
  3928. "description": "用户ID",
  3929. "name": "userid",
  3930. "in": "query",
  3931. "required": true
  3932. },
  3933. {
  3934. "type": "integer",
  3935. "description": "查询类型 1-报表 2-报表明细",
  3936. "name": "querytype",
  3937. "in": "query",
  3938. "required": true
  3939. },
  3940. {
  3941. "type": "integer",
  3942. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3943. "name": "cycletype",
  3944. "in": "query",
  3945. "required": true
  3946. },
  3947. {
  3948. "type": "string",
  3949. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3950. "name": "cycletime",
  3951. "in": "query",
  3952. "required": true
  3953. },
  3954. {
  3955. "type": "integer",
  3956. "description": "币种id(报表明细必填)",
  3957. "name": "currencyid",
  3958. "in": "query"
  3959. },
  3960. {
  3961. "type": "string",
  3962. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3963. "name": "sumfields",
  3964. "in": "query"
  3965. }
  3966. ],
  3967. "responses": {
  3968. "200": {
  3969. "description": "OK",
  3970. "schema": {
  3971. "type": "array",
  3972. "items": {
  3973. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3974. }
  3975. }
  3976. },
  3977. "500": {
  3978. "description": "Internal Server Error",
  3979. "schema": {
  3980. "$ref": "#/definitions/app.Response"
  3981. }
  3982. }
  3983. }
  3984. }
  3985. },
  3986. "/Ermcp3/QrySCMiddleGoodsReport": {
  3987. "get": {
  3988. "security": [
  3989. {
  3990. "ApiKeyAuth": []
  3991. }
  3992. ],
  3993. "produces": [
  3994. "application/json"
  3995. ],
  3996. "tags": [
  3997. "企业风险管理v3(app)"
  3998. ],
  3999. "summary": "查询定价报表",
  4000. "parameters": [
  4001. {
  4002. "type": "integer",
  4003. "description": "用户ID",
  4004. "name": "userid",
  4005. "in": "query",
  4006. "required": true
  4007. },
  4008. {
  4009. "type": "integer",
  4010. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4011. "name": "cycletype",
  4012. "in": "query",
  4013. "required": true
  4014. },
  4015. {
  4016. "type": "string",
  4017. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4018. "name": "cycletime",
  4019. "in": "query",
  4020. "required": true
  4021. },
  4022. {
  4023. "type": "integer",
  4024. "description": "合同id",
  4025. "name": "spotcontractid",
  4026. "in": "query"
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "套保品种id",
  4031. "name": "middlegoodsid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "现货品种id",
  4037. "name": "deliverygoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货商品id",
  4043. "name": "wrstandardid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "string",
  4048. "description": "合同编号(模糊匹配)",
  4049. "name": "contractno",
  4050. "in": "query"
  4051. }
  4052. ],
  4053. "responses": {
  4054. "200": {
  4055. "description": "OK",
  4056. "schema": {
  4057. "type": "array",
  4058. "items": {
  4059. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4060. }
  4061. }
  4062. },
  4063. "500": {
  4064. "description": "Internal Server Error",
  4065. "schema": {
  4066. "$ref": "#/definitions/app.Response"
  4067. }
  4068. }
  4069. }
  4070. }
  4071. },
  4072. "/Ermcp3/QryTaFutureDataReport": {
  4073. "get": {
  4074. "security": [
  4075. {
  4076. "ApiKeyAuth": []
  4077. }
  4078. ],
  4079. "produces": [
  4080. "application/json"
  4081. ],
  4082. "tags": [
  4083. "企业风险管理v3(app)"
  4084. ],
  4085. "summary": "查询期货报表",
  4086. "parameters": [
  4087. {
  4088. "type": "integer",
  4089. "description": "用户ID",
  4090. "name": "userid",
  4091. "in": "query",
  4092. "required": true
  4093. },
  4094. {
  4095. "type": "integer",
  4096. "description": "查询类型 1-报表 2-报表明细",
  4097. "name": "querytype",
  4098. "in": "query",
  4099. "required": true
  4100. },
  4101. {
  4102. "type": "integer",
  4103. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4104. "name": "cycletype",
  4105. "in": "query",
  4106. "required": true
  4107. },
  4108. {
  4109. "type": "string",
  4110. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4111. "name": "cycletime",
  4112. "in": "query",
  4113. "required": true
  4114. },
  4115. {
  4116. "type": "integer",
  4117. "description": "币种id(查明细必填)",
  4118. "name": "currencyid",
  4119. "in": "query"
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "品种id(查明细必填)",
  4124. "name": "goodsgroupid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "商品id(查明细必填)",
  4130. "name": "goodsid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "买卖方向(查明细必填)",
  4136. "name": "buyorsell",
  4137. "in": "query"
  4138. }
  4139. ],
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "type": "array",
  4145. "items": {
  4146. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4147. }
  4148. }
  4149. },
  4150. "500": {
  4151. "description": "Internal Server Error",
  4152. "schema": {
  4153. "$ref": "#/definitions/app.Response"
  4154. }
  4155. }
  4156. }
  4157. }
  4158. },
  4159. "/Ermcp3/QueryAreaStock": {
  4160. "get": {
  4161. "security": [
  4162. {
  4163. "ApiKeyAuth": []
  4164. }
  4165. ],
  4166. "produces": [
  4167. "application/json"
  4168. ],
  4169. "tags": [
  4170. "企业风险管理v3(app)"
  4171. ],
  4172. "summary": "查询机构库存(库存管理/当前库存)",
  4173. "parameters": [
  4174. {
  4175. "type": "integer",
  4176. "description": "用户ID",
  4177. "name": "userid",
  4178. "in": "query",
  4179. "required": true
  4180. }
  4181. ],
  4182. "responses": {
  4183. "200": {
  4184. "description": "OK",
  4185. "schema": {
  4186. "type": "array",
  4187. "items": {
  4188. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4189. }
  4190. }
  4191. },
  4192. "500": {
  4193. "description": "Internal Server Error",
  4194. "schema": {
  4195. "$ref": "#/definitions/app.Response"
  4196. }
  4197. }
  4198. }
  4199. }
  4200. },
  4201. "/Ermcp3/QueryAreaStockApply": {
  4202. "get": {
  4203. "security": [
  4204. {
  4205. "ApiKeyAuth": []
  4206. }
  4207. ],
  4208. "produces": [
  4209. "application/json"
  4210. ],
  4211. "tags": [
  4212. "企业风险管理v3(app)"
  4213. ],
  4214. "summary": "查询库存申请(出入库记录|库存审核)",
  4215. "parameters": [
  4216. {
  4217. "type": "integer",
  4218. "description": "用户ID",
  4219. "name": "userid",
  4220. "in": "query",
  4221. "required": true
  4222. },
  4223. {
  4224. "type": "integer",
  4225. "description": "用户类型 2-机构 7-企业成员",
  4226. "name": "usertype",
  4227. "in": "query"
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "现货商品ID",
  4232. "name": "deliverygoodsid",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "string",
  4237. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4238. "name": "inouttype",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "integer",
  4243. "description": "合同ID",
  4244. "name": "spotcontractid",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "品类ID",
  4250. "name": "wrstandardid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品牌ID",
  4256. "name": "spotgoodsbrandid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "仓库ID",
  4262. "name": "warehouseinfoid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "string",
  4267. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4268. "name": "applystatus",
  4269. "in": "query"
  4270. }
  4271. ],
  4272. "responses": {
  4273. "200": {
  4274. "description": "OK",
  4275. "schema": {
  4276. "type": "array",
  4277. "items": {
  4278. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4279. }
  4280. }
  4281. },
  4282. "500": {
  4283. "description": "Internal Server Error",
  4284. "schema": {
  4285. "$ref": "#/definitions/app.Response"
  4286. }
  4287. }
  4288. }
  4289. }
  4290. },
  4291. "/Ermcp3/QueryAreaStockApplySum": {
  4292. "get": {
  4293. "security": [
  4294. {
  4295. "ApiKeyAuth": []
  4296. }
  4297. ],
  4298. "produces": [
  4299. "application/json"
  4300. ],
  4301. "tags": [
  4302. "企业风险管理v3(app)"
  4303. ],
  4304. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4305. "parameters": [
  4306. {
  4307. "type": "integer",
  4308. "description": "合同ID",
  4309. "name": "spotcontractid",
  4310. "in": "query",
  4311. "required": true
  4312. }
  4313. ],
  4314. "responses": {
  4315. "200": {
  4316. "description": "OK",
  4317. "schema": {
  4318. "type": "array",
  4319. "items": {
  4320. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4321. }
  4322. }
  4323. },
  4324. "500": {
  4325. "description": "Internal Server Error",
  4326. "schema": {
  4327. "$ref": "#/definitions/app.Response"
  4328. }
  4329. }
  4330. }
  4331. }
  4332. },
  4333. "/Ermcp3/QueryDGFactoryItem": {
  4334. "get": {
  4335. "security": [
  4336. {
  4337. "ApiKeyAuth": []
  4338. }
  4339. ],
  4340. "produces": [
  4341. "application/json"
  4342. ],
  4343. "tags": [
  4344. "企业风险管理v3(app)"
  4345. ],
  4346. "summary": "查询品种要素定义项",
  4347. "parameters": [
  4348. {
  4349. "type": "integer",
  4350. "description": "用户id",
  4351. "name": "userid",
  4352. "in": "query"
  4353. },
  4354. {
  4355. "type": "integer",
  4356. "description": "用户类型 2-机构 7-企业成员",
  4357. "name": "usertype",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4363. "name": "dgfactoryitemid",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "现货品种ID",
  4369. "name": "deliverygoodsid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "要素项类型",
  4375. "name": "dgfactoryitemtypeid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "顺序",
  4381. "name": "orderindex",
  4382. "in": "query"
  4383. }
  4384. ],
  4385. "responses": {
  4386. "200": {
  4387. "description": "OK",
  4388. "schema": {
  4389. "type": "array",
  4390. "items": {
  4391. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4392. }
  4393. }
  4394. },
  4395. "500": {
  4396. "description": "Internal Server Error",
  4397. "schema": {
  4398. "$ref": "#/definitions/app.Response"
  4399. }
  4400. }
  4401. }
  4402. }
  4403. },
  4404. "/Ermcp3/QueryDeliveryGoods": {
  4405. "get": {
  4406. "security": [
  4407. {
  4408. "ApiKeyAuth": []
  4409. }
  4410. ],
  4411. "produces": [
  4412. "application/json"
  4413. ],
  4414. "tags": [
  4415. "企业风险管理v3(app)"
  4416. ],
  4417. "summary": "查询现货商品",
  4418. "parameters": [
  4419. {
  4420. "type": "integer",
  4421. "description": "用户id",
  4422. "name": "userid",
  4423. "in": "query",
  4424. "required": true
  4425. },
  4426. {
  4427. "type": "integer",
  4428. "description": "用户类型 2-机构 7-企业成员",
  4429. "name": "usertype",
  4430. "in": "query"
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4435. "name": "excludecfg",
  4436. "in": "query"
  4437. }
  4438. ],
  4439. "responses": {
  4440. "200": {
  4441. "description": "OK",
  4442. "schema": {
  4443. "type": "array",
  4444. "items": {
  4445. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4446. }
  4447. }
  4448. },
  4449. "500": {
  4450. "description": "Internal Server Error",
  4451. "schema": {
  4452. "$ref": "#/definitions/app.Response"
  4453. }
  4454. }
  4455. }
  4456. }
  4457. },
  4458. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4459. "get": {
  4460. "security": [
  4461. {
  4462. "ApiKeyAuth": []
  4463. }
  4464. ],
  4465. "produces": [
  4466. "application/json"
  4467. ],
  4468. "tags": [
  4469. "企业风险管理v3(app)"
  4470. ],
  4471. "summary": "查询现货商品详情",
  4472. "parameters": [
  4473. {
  4474. "type": "integer",
  4475. "description": "用户id",
  4476. "name": "userid",
  4477. "in": "query",
  4478. "required": true
  4479. },
  4480. {
  4481. "type": "integer",
  4482. "description": "用户类型 2-机构 7-企业成员",
  4483. "name": "usertype",
  4484. "in": "query"
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "现货商品id",
  4489. "name": "deliverygoodsid",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4495. "name": "filtersubempty",
  4496. "in": "query"
  4497. }
  4498. ],
  4499. "responses": {
  4500. "200": {
  4501. "description": "OK",
  4502. "schema": {
  4503. "type": "array",
  4504. "items": {
  4505. "$ref": "#/definitions/models.XHDeliveryGoods"
  4506. }
  4507. }
  4508. },
  4509. "500": {
  4510. "description": "Internal Server Error",
  4511. "schema": {
  4512. "$ref": "#/definitions/app.Response"
  4513. }
  4514. }
  4515. }
  4516. }
  4517. },
  4518. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4519. "get": {
  4520. "security": [
  4521. {
  4522. "ApiKeyAuth": []
  4523. }
  4524. ],
  4525. "produces": [
  4526. "application/json"
  4527. ],
  4528. "tags": [
  4529. "企业风险管理v3(app)"
  4530. ],
  4531. "summary": "查询现货合同期现配置信息",
  4532. "parameters": [
  4533. {
  4534. "type": "string",
  4535. "description": "合同id",
  4536. "name": "spotcontractid",
  4537. "in": "query",
  4538. "required": true
  4539. }
  4540. ],
  4541. "responses": {
  4542. "200": {
  4543. "description": "OK",
  4544. "schema": {
  4545. "type": "array",
  4546. "items": {
  4547. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4548. }
  4549. }
  4550. },
  4551. "500": {
  4552. "description": "Internal Server Error",
  4553. "schema": {
  4554. "$ref": "#/definitions/app.Response"
  4555. }
  4556. }
  4557. }
  4558. }
  4559. },
  4560. "/Ermcp3/QueryExposureDetail": {
  4561. "get": {
  4562. "security": [
  4563. {
  4564. "ApiKeyAuth": []
  4565. }
  4566. ],
  4567. "produces": [
  4568. "application/json"
  4569. ],
  4570. "tags": [
  4571. "企业风险管理v3(app)"
  4572. ],
  4573. "summary": "查询敞口现货明细",
  4574. "parameters": [
  4575. {
  4576. "type": "integer",
  4577. "description": "用户id",
  4578. "name": "userid",
  4579. "in": "query",
  4580. "required": true
  4581. },
  4582. {
  4583. "type": "integer",
  4584. "description": "用户类型 2-机构 7-企业成员",
  4585. "name": "usertype",
  4586. "in": "query"
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "套保商品",
  4591. "name": "middlegoodsid",
  4592. "in": "query",
  4593. "required": true
  4594. }
  4595. ],
  4596. "responses": {
  4597. "200": {
  4598. "description": "OK",
  4599. "schema": {
  4600. "type": "array",
  4601. "items": {
  4602. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4603. }
  4604. }
  4605. },
  4606. "500": {
  4607. "description": "Internal Server Error",
  4608. "schema": {
  4609. "$ref": "#/definitions/app.Response"
  4610. }
  4611. }
  4612. }
  4613. }
  4614. },
  4615. "/Ermcp3/QueryExposureSpot": {
  4616. "get": {
  4617. "security": [
  4618. {
  4619. "ApiKeyAuth": []
  4620. }
  4621. ],
  4622. "produces": [
  4623. "application/json"
  4624. ],
  4625. "tags": [
  4626. "企业风险管理v3(app)"
  4627. ],
  4628. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4629. "parameters": [
  4630. {
  4631. "type": "integer",
  4632. "description": "用户id",
  4633. "name": "userid",
  4634. "in": "query",
  4635. "required": true
  4636. },
  4637. {
  4638. "type": "integer",
  4639. "description": "用户类型 2-机构 7-企业成员",
  4640. "name": "usertype",
  4641. "in": "query"
  4642. }
  4643. ],
  4644. "responses": {
  4645. "200": {
  4646. "description": "OK",
  4647. "schema": {
  4648. "type": "array",
  4649. "items": {
  4650. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4651. }
  4652. }
  4653. },
  4654. "500": {
  4655. "description": "Internal Server Error",
  4656. "schema": {
  4657. "$ref": "#/definitions/app.Response"
  4658. }
  4659. }
  4660. }
  4661. }
  4662. },
  4663. "/Ermcp3/QueryExposureSpotDetail": {
  4664. "get": {
  4665. "security": [
  4666. {
  4667. "ApiKeyAuth": []
  4668. }
  4669. ],
  4670. "produces": [
  4671. "application/json"
  4672. ],
  4673. "tags": [
  4674. "企业风险管理v3(app)"
  4675. ],
  4676. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4677. "parameters": [
  4678. {
  4679. "type": "integer",
  4680. "description": "用户id",
  4681. "name": "userid",
  4682. "in": "query",
  4683. "required": true
  4684. },
  4685. {
  4686. "type": "integer",
  4687. "description": "用户类型 2-机构 7-企业成员",
  4688. "name": "usertype",
  4689. "in": "query"
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "现货商品ID",
  4694. "name": "wrstandardid",
  4695. "in": "query",
  4696. "required": true
  4697. }
  4698. ],
  4699. "responses": {
  4700. "200": {
  4701. "description": "OK",
  4702. "schema": {
  4703. "type": "array",
  4704. "items": {
  4705. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4706. }
  4707. }
  4708. },
  4709. "500": {
  4710. "description": "Internal Server Error",
  4711. "schema": {
  4712. "$ref": "#/definitions/app.Response"
  4713. }
  4714. }
  4715. }
  4716. }
  4717. },
  4718. "/Ermcp3/QueryGoodsGroup": {
  4719. "get": {
  4720. "security": [
  4721. {
  4722. "ApiKeyAuth": []
  4723. }
  4724. ],
  4725. "produces": [
  4726. "application/json"
  4727. ],
  4728. "tags": [
  4729. "企业风险管理v3(app)"
  4730. ],
  4731. "summary": "查询期货商品组",
  4732. "parameters": [
  4733. {
  4734. "type": "integer",
  4735. "description": "用户id",
  4736. "name": "userid",
  4737. "in": "query",
  4738. "required": true
  4739. },
  4740. {
  4741. "type": "integer",
  4742. "description": "用户类型 2-机构 7-企业成员",
  4743. "name": "usertype",
  4744. "in": "query"
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "排除套保品中已关联的商品组 1-排除",
  4749. "name": "excludecfg",
  4750. "in": "query"
  4751. }
  4752. ],
  4753. "responses": {
  4754. "200": {
  4755. "description": "OK",
  4756. "schema": {
  4757. "type": "array",
  4758. "items": {
  4759. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4760. }
  4761. }
  4762. },
  4763. "500": {
  4764. "description": "Internal Server Error",
  4765. "schema": {
  4766. "$ref": "#/definitions/app.Response"
  4767. }
  4768. }
  4769. }
  4770. }
  4771. },
  4772. "/Ermcp3/QueryGoodsWrstandard": {
  4773. "get": {
  4774. "security": [
  4775. {
  4776. "ApiKeyAuth": []
  4777. }
  4778. ],
  4779. "produces": [
  4780. "application/json"
  4781. ],
  4782. "tags": [
  4783. "企业风险管理v3(app)"
  4784. ],
  4785. "summary": "查询商品品类",
  4786. "parameters": [
  4787. {
  4788. "type": "integer",
  4789. "description": "用户id",
  4790. "name": "userid",
  4791. "in": "query",
  4792. "required": true
  4793. },
  4794. {
  4795. "type": "integer",
  4796. "description": "用户类型 2-机构 7-企业成员",
  4797. "name": "usertype",
  4798. "in": "query"
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "现货商品id",
  4803. "name": "deliverygoodsid",
  4804. "in": "query"
  4805. }
  4806. ],
  4807. "responses": {
  4808. "200": {
  4809. "description": "OK",
  4810. "schema": {
  4811. "type": "array",
  4812. "items": {
  4813. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4814. }
  4815. }
  4816. },
  4817. "500": {
  4818. "description": "Internal Server Error",
  4819. "schema": {
  4820. "$ref": "#/definitions/app.Response"
  4821. }
  4822. }
  4823. }
  4824. }
  4825. },
  4826. "/Ermcp3/QueryGoodsbrand": {
  4827. "get": {
  4828. "security": [
  4829. {
  4830. "ApiKeyAuth": []
  4831. }
  4832. ],
  4833. "produces": [
  4834. "application/json"
  4835. ],
  4836. "tags": [
  4837. "企业风险管理v3(app)"
  4838. ],
  4839. "summary": "查询商品品牌",
  4840. "parameters": [
  4841. {
  4842. "type": "integer",
  4843. "description": "用户id",
  4844. "name": "userid",
  4845. "in": "query",
  4846. "required": true
  4847. },
  4848. {
  4849. "type": "integer",
  4850. "description": "用户类型 2-机构 7-企业成员",
  4851. "name": "usertype",
  4852. "in": "query"
  4853. }
  4854. ],
  4855. "responses": {
  4856. "200": {
  4857. "description": "OK",
  4858. "schema": {
  4859. "type": "array",
  4860. "items": {
  4861. "$ref": "#/definitions/models.Ermcp3Brand"
  4862. }
  4863. }
  4864. },
  4865. "500": {
  4866. "description": "Internal Server Error",
  4867. "schema": {
  4868. "$ref": "#/definitions/app.Response"
  4869. }
  4870. }
  4871. }
  4872. }
  4873. },
  4874. "/Ermcp3/QueryHPMiddleGoods": {
  4875. "get": {
  4876. "security": [
  4877. {
  4878. "ApiKeyAuth": []
  4879. }
  4880. ],
  4881. "produces": [
  4882. "application/json"
  4883. ],
  4884. "tags": [
  4885. "企业风险管理v3(app)"
  4886. ],
  4887. "summary": "查询可关联套保计划",
  4888. "parameters": [
  4889. {
  4890. "type": "integer",
  4891. "description": "用户ID(填登录用户的userid)",
  4892. "name": "userid",
  4893. "in": "query",
  4894. "required": true
  4895. },
  4896. {
  4897. "type": "integer",
  4898. "description": "买卖方向 0-买 1-卖",
  4899. "name": "buyorsell",
  4900. "in": "query",
  4901. "required": true
  4902. },
  4903. {
  4904. "type": "integer",
  4905. "description": "商品组id",
  4906. "name": "goodsgroupid",
  4907. "in": "query",
  4908. "required": true
  4909. },
  4910. {
  4911. "type": "string",
  4912. "description": "套保计划编号(模糊匹配)",
  4913. "name": "hedgeplanno",
  4914. "in": "query"
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "现货商品名称(模糊匹配)",
  4919. "name": "wrstandardname",
  4920. "in": "query"
  4921. }
  4922. ],
  4923. "responses": {
  4924. "200": {
  4925. "description": "OK",
  4926. "schema": {
  4927. "type": "array",
  4928. "items": {
  4929. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4930. }
  4931. }
  4932. },
  4933. "500": {
  4934. "description": "Internal Server Error",
  4935. "schema": {
  4936. "$ref": "#/definitions/app.Response"
  4937. }
  4938. }
  4939. }
  4940. }
  4941. },
  4942. "/Ermcp3/QueryHedgePlan": {
  4943. "get": {
  4944. "security": [
  4945. {
  4946. "ApiKeyAuth": []
  4947. }
  4948. ],
  4949. "produces": [
  4950. "application/json"
  4951. ],
  4952. "tags": [
  4953. "企业风险管理v3(app)"
  4954. ],
  4955. "summary": "查询套保计划",
  4956. "parameters": [
  4957. {
  4958. "type": "integer",
  4959. "description": "用户ID",
  4960. "name": "userid",
  4961. "in": "query",
  4962. "required": true
  4963. },
  4964. {
  4965. "type": "integer",
  4966. "description": "用户类型 2-机构 7-企业成员",
  4967. "name": "usertype",
  4968. "in": "query"
  4969. },
  4970. {
  4971. "type": "string",
  4972. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4973. "name": "hedgeplanstatus",
  4974. "in": "query",
  4975. "required": true
  4976. }
  4977. ],
  4978. "responses": {
  4979. "200": {
  4980. "description": "OK",
  4981. "schema": {
  4982. "type": "array",
  4983. "items": {
  4984. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4985. }
  4986. }
  4987. },
  4988. "500": {
  4989. "description": "Internal Server Error",
  4990. "schema": {
  4991. "$ref": "#/definitions/app.Response"
  4992. }
  4993. }
  4994. }
  4995. }
  4996. },
  4997. "/Ermcp3/QueryInnerTradeLink": {
  4998. "get": {
  4999. "security": [
  5000. {
  5001. "ApiKeyAuth": []
  5002. }
  5003. ],
  5004. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5005. "produces": [
  5006. "application/json"
  5007. ],
  5008. "tags": [
  5009. "企业风险管理v3(app)"
  5010. ],
  5011. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5012. "parameters": [
  5013. {
  5014. "type": "integer",
  5015. "description": "外部成交单号",
  5016. "name": "outtradeid",
  5017. "in": "query",
  5018. "required": true
  5019. }
  5020. ],
  5021. "responses": {
  5022. "200": {
  5023. "description": "OK",
  5024. "schema": {
  5025. "type": "array",
  5026. "items": {
  5027. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5028. }
  5029. }
  5030. },
  5031. "500": {
  5032. "description": "Internal Server Error",
  5033. "schema": {
  5034. "$ref": "#/definitions/app.Response"
  5035. }
  5036. }
  5037. }
  5038. }
  5039. },
  5040. "/Ermcp3/QueryMiddleGoodsDetail": {
  5041. "get": {
  5042. "security": [
  5043. {
  5044. "ApiKeyAuth": []
  5045. }
  5046. ],
  5047. "produces": [
  5048. "application/json"
  5049. ],
  5050. "tags": [
  5051. "企业风险管理v3(app)"
  5052. ],
  5053. "summary": "查询套保品种详情(套保品种/商品详情)",
  5054. "parameters": [
  5055. {
  5056. "type": "integer",
  5057. "description": "用户id",
  5058. "name": "userid",
  5059. "in": "query",
  5060. "required": true
  5061. },
  5062. {
  5063. "type": "integer",
  5064. "description": "用户类型 2-机构 7-企业成员",
  5065. "name": "usertype",
  5066. "in": "query"
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "套保品种id",
  5071. "name": "middlegoodsid",
  5072. "in": "query"
  5073. }
  5074. ],
  5075. "responses": {
  5076. "200": {
  5077. "description": "OK",
  5078. "schema": {
  5079. "type": "array",
  5080. "items": {
  5081. "$ref": "#/definitions/models.TBMiddleGoods"
  5082. }
  5083. }
  5084. },
  5085. "500": {
  5086. "description": "Internal Server Error",
  5087. "schema": {
  5088. "$ref": "#/definitions/app.Response"
  5089. }
  5090. }
  5091. }
  5092. }
  5093. },
  5094. "/Ermcp3/QueryOutTradeLink": {
  5095. "get": {
  5096. "security": [
  5097. {
  5098. "ApiKeyAuth": []
  5099. }
  5100. ],
  5101. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5102. "produces": [
  5103. "application/json"
  5104. ],
  5105. "tags": [
  5106. "企业风险管理v3(app)"
  5107. ],
  5108. "summary": "查询外部成交单关联",
  5109. "parameters": [
  5110. {
  5111. "type": "integer",
  5112. "description": "用户ID(填登录用户的userid)",
  5113. "name": "userid",
  5114. "in": "query",
  5115. "required": true
  5116. },
  5117. {
  5118. "type": "string",
  5119. "description": "外部订单号(模糊匹配)",
  5120. "name": "outtradeid",
  5121. "in": "query"
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "合约名称/代码(模糊匹配)",
  5126. "name": "goodsname",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "integer",
  5131. "description": "关联状态 0-未关联 1-已关联",
  5132. "name": "hasinnerorder",
  5133. "in": "query"
  5134. }
  5135. ],
  5136. "responses": {
  5137. "200": {
  5138. "description": "OK",
  5139. "schema": {
  5140. "type": "array",
  5141. "items": {
  5142. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5143. }
  5144. }
  5145. },
  5146. "500": {
  5147. "description": "Internal Server Error",
  5148. "schema": {
  5149. "$ref": "#/definitions/app.Response"
  5150. }
  5151. }
  5152. }
  5153. }
  5154. },
  5155. "/Ermcp3/QueryPaAreaAuditCfg": {
  5156. "get": {
  5157. "security": [
  5158. {
  5159. "ApiKeyAuth": []
  5160. }
  5161. ],
  5162. "produces": [
  5163. "application/json"
  5164. ],
  5165. "tags": [
  5166. "企业风险管理v3(app)"
  5167. ],
  5168. "summary": "查询审核设置",
  5169. "parameters": [
  5170. {
  5171. "type": "integer",
  5172. "description": "用户id",
  5173. "name": "userid",
  5174. "in": "query",
  5175. "required": true
  5176. }
  5177. ],
  5178. "responses": {
  5179. "200": {
  5180. "description": "OK",
  5181. "schema": {
  5182. "type": "array",
  5183. "items": {
  5184. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5185. }
  5186. }
  5187. },
  5188. "500": {
  5189. "description": "Internal Server Error",
  5190. "schema": {
  5191. "$ref": "#/definitions/app.Response"
  5192. }
  5193. }
  5194. }
  5195. }
  5196. },
  5197. "/Ermcp3/QueryPaAreaSubject": {
  5198. "get": {
  5199. "security": [
  5200. {
  5201. "ApiKeyAuth": []
  5202. }
  5203. ],
  5204. "produces": [
  5205. "application/json"
  5206. ],
  5207. "tags": [
  5208. "企业风险管理v3(app)"
  5209. ],
  5210. "summary": "查询交易主体",
  5211. "parameters": [
  5212. {
  5213. "type": "integer",
  5214. "description": "用户id",
  5215. "name": "userid",
  5216. "in": "query",
  5217. "required": true
  5218. },
  5219. {
  5220. "type": "integer",
  5221. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5222. "name": "subjectid",
  5223. "in": "query"
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体类型 - 1:交易主体 2:业务部门",
  5228. "name": "subjecttype",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体状态 - 1:正常 2: 停用",
  5234. "name": "subjectstatus",
  5235. "in": "query"
  5236. }
  5237. ],
  5238. "responses": {
  5239. "200": {
  5240. "description": "OK",
  5241. "schema": {
  5242. "type": "array",
  5243. "items": {
  5244. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5245. }
  5246. }
  5247. },
  5248. "500": {
  5249. "description": "Internal Server Error",
  5250. "schema": {
  5251. "$ref": "#/definitions/app.Response"
  5252. }
  5253. }
  5254. }
  5255. }
  5256. },
  5257. "/Ermcp3/QueryPaTradeLink": {
  5258. "get": {
  5259. "security": [
  5260. {
  5261. "ApiKeyAuth": []
  5262. }
  5263. ],
  5264. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5265. "produces": [
  5266. "application/json"
  5267. ],
  5268. "tags": [
  5269. "企业风险管理v3(app)"
  5270. ],
  5271. "summary": "查询期现单据关联",
  5272. "parameters": [
  5273. {
  5274. "type": "integer",
  5275. "description": "用户ID",
  5276. "name": "userid",
  5277. "in": "query",
  5278. "required": true
  5279. }
  5280. ],
  5281. "responses": {
  5282. "200": {
  5283. "description": "OK",
  5284. "schema": {
  5285. "type": "array",
  5286. "items": {
  5287. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5288. }
  5289. }
  5290. },
  5291. "500": {
  5292. "description": "Internal Server Error",
  5293. "schema": {
  5294. "$ref": "#/definitions/app.Response"
  5295. }
  5296. }
  5297. }
  5298. }
  5299. },
  5300. "/Ermcp3/QueryPaTradeLinkDetail": {
  5301. "get": {
  5302. "security": [
  5303. {
  5304. "ApiKeyAuth": []
  5305. }
  5306. ],
  5307. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5308. "produces": [
  5309. "application/json"
  5310. ],
  5311. "tags": [
  5312. "企业风险管理v3(app)"
  5313. ],
  5314. "summary": "查询期现关联记录",
  5315. "parameters": [
  5316. {
  5317. "type": "integer",
  5318. "description": "用户ID(填登录用户的userid)",
  5319. "name": "userid",
  5320. "in": "query",
  5321. "required": true
  5322. },
  5323. {
  5324. "type": "integer",
  5325. "description": "关联状态 1:成功 2:失败 3:解绑",
  5326. "name": "linkstatus",
  5327. "in": "query"
  5328. },
  5329. {
  5330. "type": "string",
  5331. "description": "期货订单号(模糊匹配)",
  5332. "name": "tradeid",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "现货编号(模糊匹配)",
  5338. "name": "contractno",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "期货账户(模糊匹配)",
  5344. "name": "taname",
  5345. "in": "query"
  5346. }
  5347. ],
  5348. "responses": {
  5349. "200": {
  5350. "description": "OK",
  5351. "schema": {
  5352. "type": "array",
  5353. "items": {
  5354. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5355. }
  5356. }
  5357. },
  5358. "500": {
  5359. "description": "Internal Server Error",
  5360. "schema": {
  5361. "$ref": "#/definitions/app.Response"
  5362. }
  5363. }
  5364. }
  5365. }
  5366. },
  5367. "/Ermcp3/QueryParamChangeApp": {
  5368. "get": {
  5369. "security": [
  5370. {
  5371. "ApiKeyAuth": []
  5372. }
  5373. ],
  5374. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5375. "produces": [
  5376. "application/json"
  5377. ],
  5378. "tags": [
  5379. "企业风险管理v3(app)"
  5380. ],
  5381. "summary": "查询现货商品参数变更申请(流水)",
  5382. "parameters": [
  5383. {
  5384. "type": "integer",
  5385. "description": "用户ID",
  5386. "name": "userid",
  5387. "in": "query",
  5388. "required": true
  5389. },
  5390. {
  5391. "type": "integer",
  5392. "description": "现货品种id",
  5393. "name": "deliverygoodsid",
  5394. "in": "query"
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货商品id",
  5399. "name": "wrstandardid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "套保商品id",
  5405. "name": "middlegoodsid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "操作类型 1:新增 2:修改",
  5411. "name": "operatetype",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5417. "name": "paramchangetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "string",
  5422. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5423. "name": "ftstatus",
  5424. "in": "query"
  5425. }
  5426. ],
  5427. "responses": {
  5428. "200": {
  5429. "description": "OK",
  5430. "schema": {
  5431. "type": "array",
  5432. "items": {
  5433. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5434. }
  5435. }
  5436. },
  5437. "500": {
  5438. "description": "Internal Server Error",
  5439. "schema": {
  5440. "$ref": "#/definitions/app.Response"
  5441. }
  5442. }
  5443. }
  5444. }
  5445. },
  5446. "/Ermcp3/QueryRootUserAccount": {
  5447. "get": {
  5448. "security": [
  5449. {
  5450. "ApiKeyAuth": []
  5451. }
  5452. ],
  5453. "produces": [
  5454. "application/json"
  5455. ],
  5456. "tags": [
  5457. "企业风险管理v3(app)"
  5458. ],
  5459. "summary": "查询顶级用户信息",
  5460. "parameters": [
  5461. {
  5462. "type": "integer",
  5463. "description": "用户ID",
  5464. "name": "userid",
  5465. "in": "query",
  5466. "required": true
  5467. }
  5468. ],
  5469. "responses": {
  5470. "200": {
  5471. "description": "OK",
  5472. "schema": {
  5473. "type": "array",
  5474. "items": {
  5475. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5476. }
  5477. }
  5478. },
  5479. "500": {
  5480. "description": "Internal Server Error",
  5481. "schema": {
  5482. "$ref": "#/definitions/app.Response"
  5483. }
  5484. }
  5485. }
  5486. }
  5487. },
  5488. "/Ermcp3/QuerySCMiddleGoods": {
  5489. "get": {
  5490. "security": [
  5491. {
  5492. "ApiKeyAuth": []
  5493. }
  5494. ],
  5495. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5496. "produces": [
  5497. "application/json"
  5498. ],
  5499. "tags": [
  5500. "企业风险管理v3(app)"
  5501. ],
  5502. "summary": "查询现货订单",
  5503. "parameters": [
  5504. {
  5505. "type": "integer",
  5506. "description": "用户ID(填登录用户的userid)",
  5507. "name": "userid",
  5508. "in": "query",
  5509. "required": true
  5510. },
  5511. {
  5512. "type": "integer",
  5513. "description": "买卖方向 0-买 1-卖",
  5514. "name": "buyorsell",
  5515. "in": "query",
  5516. "required": true
  5517. },
  5518. {
  5519. "type": "integer",
  5520. "description": "商品组id",
  5521. "name": "goodsgroupid",
  5522. "in": "query",
  5523. "required": true
  5524. },
  5525. {
  5526. "type": "integer",
  5527. "description": "业务类型 1:套保 2:套利",
  5528. "name": "biztype",
  5529. "in": "query"
  5530. },
  5531. {
  5532. "type": "string",
  5533. "description": "现货编号(模糊匹配)",
  5534. "name": "contractno",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "对手方(模糊匹配)",
  5540. "name": "customername",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "现货商品名称(模糊匹配)",
  5546. "name": "wrstandardname",
  5547. "in": "query"
  5548. }
  5549. ],
  5550. "responses": {
  5551. "200": {
  5552. "description": "OK",
  5553. "schema": {
  5554. "type": "array",
  5555. "items": {
  5556. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5557. }
  5558. }
  5559. },
  5560. "500": {
  5561. "description": "Internal Server Error",
  5562. "schema": {
  5563. "$ref": "#/definitions/app.Response"
  5564. }
  5565. }
  5566. }
  5567. }
  5568. },
  5569. "/Ermcp3/QuerySpotContract": {
  5570. "get": {
  5571. "security": [
  5572. {
  5573. "ApiKeyAuth": []
  5574. }
  5575. ],
  5576. "produces": [
  5577. "application/json"
  5578. ],
  5579. "tags": [
  5580. "企业风险管理v3(app)"
  5581. ],
  5582. "summary": "查询现货合同",
  5583. "parameters": [
  5584. {
  5585. "type": "integer",
  5586. "description": "用户id(当指定contractid, userid可不填)",
  5587. "name": "userid",
  5588. "in": "query",
  5589. "required": true
  5590. },
  5591. {
  5592. "type": "integer",
  5593. "description": "用户类型 2-机构 7-企业成员",
  5594. "name": "usertype",
  5595. "in": "query"
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "合同类型 1-采购, -1-销售",
  5600. "name": "contracttype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "string",
  5605. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5606. "name": "querytype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "合同ID(SpotContractId)",
  5612. "name": "contractid",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同编号(模糊匹配)",
  5618. "name": "contractno",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "商品名称(模糊匹配)",
  5624. "name": "wrstandardname",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5630. "name": "status",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "integer",
  5635. "description": "是否只查今日的合同 1-查今日合同",
  5636. "name": "istoday",
  5637. "in": "query"
  5638. }
  5639. ],
  5640. "responses": {
  5641. "200": {
  5642. "description": "OK",
  5643. "schema": {
  5644. "type": "array",
  5645. "items": {
  5646. "$ref": "#/definitions/models.Ermcp3Contract"
  5647. }
  5648. }
  5649. },
  5650. "500": {
  5651. "description": "Internal Server Error",
  5652. "schema": {
  5653. "$ref": "#/definitions/app.Response"
  5654. }
  5655. }
  5656. }
  5657. }
  5658. },
  5659. "/Ermcp3/QuerySpotContractBS": {
  5660. "get": {
  5661. "security": [
  5662. {
  5663. "ApiKeyAuth": []
  5664. }
  5665. ],
  5666. "produces": [
  5667. "application/json"
  5668. ],
  5669. "tags": [
  5670. "企业风险管理v3(app)"
  5671. ],
  5672. "summary": "查询合同(采购/销售)",
  5673. "parameters": [
  5674. {
  5675. "type": "integer",
  5676. "description": "用户id",
  5677. "name": "userid",
  5678. "in": "query",
  5679. "required": true
  5680. },
  5681. {
  5682. "type": "integer",
  5683. "description": "用户类型 2-机构 7-企业成员",
  5684. "name": "usertype",
  5685. "in": "query"
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "合同类型 1-采购, -1-销售",
  5690. "name": "contracttype",
  5691. "in": "query",
  5692. "required": true
  5693. },
  5694. {
  5695. "type": "integer",
  5696. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5697. "name": "querytype",
  5698. "in": "query"
  5699. },
  5700. {
  5701. "type": "string",
  5702. "description": "合同ID(SpotContractId)",
  5703. "name": "contractid",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5709. "name": "status",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "integer",
  5714. "description": "是否只查今日的合同 1-查今日合同",
  5715. "name": "istoday",
  5716. "in": "query"
  5717. }
  5718. ],
  5719. "responses": {
  5720. "200": {
  5721. "description": "OK",
  5722. "schema": {
  5723. "type": "array",
  5724. "items": {
  5725. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5726. }
  5727. }
  5728. },
  5729. "500": {
  5730. "description": "Internal Server Error",
  5731. "schema": {
  5732. "$ref": "#/definitions/app.Response"
  5733. }
  5734. }
  5735. }
  5736. }
  5737. },
  5738. "/Ermcp3/QuerySpotGoodsPrice": {
  5739. "get": {
  5740. "security": [
  5741. {
  5742. "ApiKeyAuth": []
  5743. }
  5744. ],
  5745. "produces": [
  5746. "application/json"
  5747. ],
  5748. "tags": [
  5749. "企业风险管理v3(app)"
  5750. ],
  5751. "summary": "查询现货市价(现货市价)",
  5752. "parameters": [
  5753. {
  5754. "type": "integer",
  5755. "description": "用户ID",
  5756. "name": "userid",
  5757. "in": "query",
  5758. "required": true
  5759. }
  5760. ],
  5761. "responses": {
  5762. "200": {
  5763. "description": "OK",
  5764. "schema": {
  5765. "type": "array",
  5766. "items": {
  5767. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5768. }
  5769. }
  5770. },
  5771. "500": {
  5772. "description": "Internal Server Error",
  5773. "schema": {
  5774. "$ref": "#/definitions/app.Response"
  5775. }
  5776. }
  5777. }
  5778. }
  5779. },
  5780. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5781. "get": {
  5782. "security": [
  5783. {
  5784. "ApiKeyAuth": []
  5785. }
  5786. ],
  5787. "produces": [
  5788. "application/json"
  5789. ],
  5790. "tags": [
  5791. "企业风险管理v3(app)"
  5792. ],
  5793. "summary": "查询现货市价详情(现货市价/详情)",
  5794. "parameters": [
  5795. {
  5796. "type": "integer",
  5797. "description": "用户ID",
  5798. "name": "userid",
  5799. "in": "query",
  5800. "required": true
  5801. },
  5802. {
  5803. "type": "integer",
  5804. "description": "现货商品ID",
  5805. "name": "deliverygoodsid",
  5806. "in": "query",
  5807. "required": true
  5808. },
  5809. {
  5810. "type": "integer",
  5811. "description": "品牌ID",
  5812. "name": "brandid",
  5813. "in": "query"
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品类ID",
  5818. "name": "wrstandardid",
  5819. "in": "query"
  5820. }
  5821. ],
  5822. "responses": {
  5823. "200": {
  5824. "description": "OK",
  5825. "schema": {
  5826. "type": "array",
  5827. "items": {
  5828. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5829. }
  5830. }
  5831. },
  5832. "500": {
  5833. "description": "Internal Server Error",
  5834. "schema": {
  5835. "$ref": "#/definitions/app.Response"
  5836. }
  5837. }
  5838. }
  5839. }
  5840. },
  5841. "/Ermcp3/QuerySubTaaccount": {
  5842. "get": {
  5843. "security": [
  5844. {
  5845. "ApiKeyAuth": []
  5846. }
  5847. ],
  5848. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5849. "produces": [
  5850. "application/json"
  5851. ],
  5852. "tags": [
  5853. "企业风险管理v3(app)"
  5854. ],
  5855. "summary": "查询期货子账户",
  5856. "parameters": [
  5857. {
  5858. "type": "integer",
  5859. "description": "母账号id",
  5860. "name": "parentaccountid",
  5861. "in": "query"
  5862. },
  5863. {
  5864. "type": "string",
  5865. "description": "母账号代码",
  5866. "name": "parentaccountcode",
  5867. "in": "query"
  5868. }
  5869. ],
  5870. "responses": {
  5871. "200": {
  5872. "description": "OK",
  5873. "schema": {
  5874. "type": "array",
  5875. "items": {
  5876. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5877. }
  5878. }
  5879. },
  5880. "500": {
  5881. "description": "Internal Server Error",
  5882. "schema": {
  5883. "$ref": "#/definitions/app.Response"
  5884. }
  5885. }
  5886. }
  5887. }
  5888. },
  5889. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5890. "get": {
  5891. "security": [
  5892. {
  5893. "ApiKeyAuth": []
  5894. }
  5895. ],
  5896. "produces": [
  5897. "application/json"
  5898. ],
  5899. "tags": [
  5900. "企业风险管理v8"
  5901. ],
  5902. "summary": "现货成交明细查询",
  5903. "parameters": [
  5904. {
  5905. "type": "integer",
  5906. "description": "套期项目ID",
  5907. "name": "hedgeditemid",
  5908. "in": "query",
  5909. "required": true
  5910. }
  5911. ],
  5912. "responses": {
  5913. "200": {
  5914. "description": "OK",
  5915. "schema": {
  5916. "type": "array",
  5917. "items": {
  5918. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5919. }
  5920. }
  5921. },
  5922. "500": {
  5923. "description": "Internal Server Error",
  5924. "schema": {
  5925. "$ref": "#/definitions/app.Response"
  5926. }
  5927. }
  5928. }
  5929. }
  5930. },
  5931. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5932. "get": {
  5933. "security": [
  5934. {
  5935. "ApiKeyAuth": []
  5936. }
  5937. ],
  5938. "produces": [
  5939. "application/json"
  5940. ],
  5941. "tags": [
  5942. "企业风险管理v8"
  5943. ],
  5944. "summary": "套期计划明细查询",
  5945. "parameters": [
  5946. {
  5947. "type": "integer",
  5948. "description": "套期项目ID",
  5949. "name": "hedgeditemid",
  5950. "in": "query",
  5951. "required": true
  5952. }
  5953. ],
  5954. "responses": {
  5955. "200": {
  5956. "description": "OK",
  5957. "schema": {
  5958. "type": "array",
  5959. "items": {
  5960. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5961. }
  5962. }
  5963. },
  5964. "500": {
  5965. "description": "Internal Server Error",
  5966. "schema": {
  5967. "$ref": "#/definitions/app.Response"
  5968. }
  5969. }
  5970. }
  5971. }
  5972. },
  5973. "/Ermcp8/QueryERMCPJRLinkPos": {
  5974. "get": {
  5975. "security": [
  5976. {
  5977. "ApiKeyAuth": []
  5978. }
  5979. ],
  5980. "produces": [
  5981. "application/json"
  5982. ],
  5983. "tags": [
  5984. "企业风险管理v8"
  5985. ],
  5986. "summary": "期货持仓明细查询",
  5987. "parameters": [
  5988. {
  5989. "type": "integer",
  5990. "description": "套期项目ID",
  5991. "name": "hedgeditemid",
  5992. "in": "query",
  5993. "required": true
  5994. }
  5995. ],
  5996. "responses": {
  5997. "200": {
  5998. "description": "OK",
  5999. "schema": {
  6000. "type": "array",
  6001. "items": {
  6002. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6003. }
  6004. }
  6005. },
  6006. "500": {
  6007. "description": "Internal Server Error",
  6008. "schema": {
  6009. "$ref": "#/definitions/app.Response"
  6010. }
  6011. }
  6012. }
  6013. }
  6014. },
  6015. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6016. "get": {
  6017. "security": [
  6018. {
  6019. "ApiKeyAuth": []
  6020. }
  6021. ],
  6022. "produces": [
  6023. "application/json"
  6024. ],
  6025. "tags": [
  6026. "企业风险管理v8"
  6027. ],
  6028. "summary": "期货成交单明细查询",
  6029. "parameters": [
  6030. {
  6031. "type": "integer",
  6032. "description": "套期项目ID",
  6033. "name": "hedgeditemid",
  6034. "in": "query",
  6035. "required": true
  6036. }
  6037. ],
  6038. "responses": {
  6039. "200": {
  6040. "description": "OK",
  6041. "schema": {
  6042. "type": "array",
  6043. "items": {
  6044. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6045. }
  6046. }
  6047. },
  6048. "500": {
  6049. "description": "Internal Server Error",
  6050. "schema": {
  6051. "$ref": "#/definitions/app.Response"
  6052. }
  6053. }
  6054. }
  6055. }
  6056. },
  6057. "/Ermcp8/QueryErmcp2AreaExposure": {
  6058. "get": {
  6059. "security": [
  6060. {
  6061. "ApiKeyAuth": []
  6062. }
  6063. ],
  6064. "produces": [
  6065. "application/json"
  6066. ],
  6067. "tags": [
  6068. "企业风险管理v8"
  6069. ],
  6070. "summary": "企业敞口查询",
  6071. "parameters": [
  6072. {
  6073. "type": "string",
  6074. "description": "用户ID",
  6075. "name": "userid",
  6076. "in": "query",
  6077. "required": true
  6078. }
  6079. ],
  6080. "responses": {
  6081. "200": {
  6082. "description": "OK",
  6083. "schema": {
  6084. "type": "array",
  6085. "items": {
  6086. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6087. }
  6088. }
  6089. },
  6090. "500": {
  6091. "description": "Internal Server Error",
  6092. "schema": {
  6093. "$ref": "#/definitions/app.Response"
  6094. }
  6095. }
  6096. }
  6097. }
  6098. },
  6099. "/Ermcp8/QueryErmcp2HedgedItem": {
  6100. "get": {
  6101. "security": [
  6102. {
  6103. "ApiKeyAuth": []
  6104. }
  6105. ],
  6106. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6107. "produces": [
  6108. "application/json"
  6109. ],
  6110. "tags": [
  6111. "企业风险管理v8"
  6112. ],
  6113. "summary": "查询被套期项目信息",
  6114. "parameters": [
  6115. {
  6116. "type": "string",
  6117. "description": "用户ID",
  6118. "name": "userid",
  6119. "in": "query",
  6120. "required": true
  6121. },
  6122. {
  6123. "type": "integer",
  6124. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6125. "name": "hedgedtype",
  6126. "in": "query"
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6131. "name": "hedgeditemstatus",
  6132. "in": "query"
  6133. }
  6134. ],
  6135. "responses": {
  6136. "200": {
  6137. "description": "OK",
  6138. "schema": {
  6139. "type": "array",
  6140. "items": {
  6141. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6142. }
  6143. }
  6144. },
  6145. "500": {
  6146. "description": "Internal Server Error",
  6147. "schema": {
  6148. "$ref": "#/definitions/app.Response"
  6149. }
  6150. }
  6151. }
  6152. }
  6153. },
  6154. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6155. "get": {
  6156. "security": [
  6157. {
  6158. "ApiKeyAuth": []
  6159. }
  6160. ],
  6161. "produces": [
  6162. "application/json"
  6163. ],
  6164. "tags": [
  6165. "企业风险管理v8"
  6166. ],
  6167. "summary": "现货合同关联被套期项目查询",
  6168. "parameters": [
  6169. {
  6170. "type": "integer",
  6171. "description": "现货合同ID",
  6172. "name": "spotcontractid",
  6173. "in": "query",
  6174. "required": true
  6175. }
  6176. ],
  6177. "responses": {
  6178. "200": {
  6179. "description": "OK",
  6180. "schema": {
  6181. "type": "array",
  6182. "items": {
  6183. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6184. }
  6185. }
  6186. },
  6187. "500": {
  6188. "description": "Internal Server Error",
  6189. "schema": {
  6190. "$ref": "#/definitions/app.Response"
  6191. }
  6192. }
  6193. }
  6194. }
  6195. },
  6196. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6197. "get": {
  6198. "security": [
  6199. {
  6200. "ApiKeyAuth": []
  6201. }
  6202. ],
  6203. "produces": [
  6204. "application/json"
  6205. ],
  6206. "tags": [
  6207. "企业风险管理v8"
  6208. ],
  6209. "summary": "敞口明细 - 计划变动明细",
  6210. "parameters": [
  6211. {
  6212. "type": "integer",
  6213. "description": "用户ID",
  6214. "name": "userid",
  6215. "in": "query",
  6216. "required": true
  6217. },
  6218. {
  6219. "type": "integer",
  6220. "description": "套保品种ID",
  6221. "name": "middlegoodsid",
  6222. "in": "query",
  6223. "required": true
  6224. }
  6225. ],
  6226. "responses": {
  6227. "200": {
  6228. "description": "OK",
  6229. "schema": {
  6230. "type": "array",
  6231. "items": {
  6232. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6233. }
  6234. }
  6235. },
  6236. "500": {
  6237. "description": "Internal Server Error",
  6238. "schema": {
  6239. "$ref": "#/definitions/app.Response"
  6240. }
  6241. }
  6242. }
  6243. }
  6244. },
  6245. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6246. "get": {
  6247. "security": [
  6248. {
  6249. "ApiKeyAuth": []
  6250. }
  6251. ],
  6252. "produces": [
  6253. "application/json"
  6254. ],
  6255. "tags": [
  6256. "企业风险管理v8"
  6257. ],
  6258. "summary": "敞口明细 - 现货变动明细查询",
  6259. "parameters": [
  6260. {
  6261. "type": "integer",
  6262. "description": "用户ID",
  6263. "name": "userid",
  6264. "in": "query",
  6265. "required": true
  6266. },
  6267. {
  6268. "type": "integer",
  6269. "description": "套保品种ID",
  6270. "name": "middlegoodsid",
  6271. "in": "query",
  6272. "required": true
  6273. }
  6274. ],
  6275. "responses": {
  6276. "200": {
  6277. "description": "OK",
  6278. "schema": {
  6279. "type": "array",
  6280. "items": {
  6281. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6282. }
  6283. }
  6284. },
  6285. "500": {
  6286. "description": "Internal Server Error",
  6287. "schema": {
  6288. "$ref": "#/definitions/app.Response"
  6289. }
  6290. }
  6291. }
  6292. }
  6293. },
  6294. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6295. "get": {
  6296. "security": [
  6297. {
  6298. "ApiKeyAuth": []
  6299. }
  6300. ],
  6301. "produces": [
  6302. "application/json"
  6303. ],
  6304. "tags": [
  6305. "企业风险管理v8"
  6306. ],
  6307. "summary": "可关联项目查询",
  6308. "parameters": [
  6309. {
  6310. "type": "integer",
  6311. "description": "用户ID",
  6312. "name": "userid",
  6313. "in": "query",
  6314. "required": true
  6315. },
  6316. {
  6317. "type": "integer",
  6318. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6319. "name": "spottype",
  6320. "in": "query",
  6321. "required": true
  6322. },
  6323. {
  6324. "type": "integer",
  6325. "description": "现货商品ID",
  6326. "name": "wrstandardid",
  6327. "in": "query"
  6328. }
  6329. ],
  6330. "responses": {
  6331. "200": {
  6332. "description": "OK",
  6333. "schema": {
  6334. "type": "array",
  6335. "items": {
  6336. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6337. }
  6338. }
  6339. },
  6340. "500": {
  6341. "description": "Internal Server Error",
  6342. "schema": {
  6343. "$ref": "#/definitions/app.Response"
  6344. }
  6345. }
  6346. }
  6347. }
  6348. },
  6349. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6350. "get": {
  6351. "security": [
  6352. {
  6353. "ApiKeyAuth": []
  6354. }
  6355. ],
  6356. "produces": [
  6357. "application/json"
  6358. ],
  6359. "tags": [
  6360. "企业风险管理v8"
  6361. ],
  6362. "summary": "套期项目报表查询",
  6363. "parameters": [
  6364. {
  6365. "type": "integer",
  6366. "description": "用户ID",
  6367. "name": "userid",
  6368. "in": "query",
  6369. "required": true
  6370. },
  6371. {
  6372. "type": "integer",
  6373. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6374. "name": "cycletype",
  6375. "in": "query"
  6376. },
  6377. {
  6378. "type": "string",
  6379. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6380. "name": "cycletime",
  6381. "in": "query",
  6382. "required": true
  6383. },
  6384. {
  6385. "type": "integer",
  6386. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6387. "name": "hedgedtype",
  6388. "in": "query"
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6393. "name": "hedgeditemstatus",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "string",
  6398. "description": "项目编号,模糊查询",
  6399. "name": "hedgeditemnum",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "integer",
  6404. "description": "现货商品ID",
  6405. "name": "wrstandardid",
  6406. "in": "query"
  6407. }
  6408. ],
  6409. "responses": {
  6410. "200": {
  6411. "description": "OK",
  6412. "schema": {
  6413. "type": "array",
  6414. "items": {
  6415. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6416. }
  6417. }
  6418. },
  6419. "500": {
  6420. "description": "Internal Server Error",
  6421. "schema": {
  6422. "$ref": "#/definitions/app.Response"
  6423. }
  6424. }
  6425. }
  6426. }
  6427. },
  6428. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6429. "get": {
  6430. "security": [
  6431. {
  6432. "ApiKeyAuth": []
  6433. }
  6434. ],
  6435. "produces": [
  6436. "application/json"
  6437. ],
  6438. "tags": [
  6439. "企业风险管理v8"
  6440. ],
  6441. "summary": "查询执行中项目查询信息",
  6442. "parameters": [
  6443. {
  6444. "type": "string",
  6445. "description": "用户ID",
  6446. "name": "userid",
  6447. "in": "query",
  6448. "required": true
  6449. }
  6450. ],
  6451. "responses": {
  6452. "200": {
  6453. "description": "OK",
  6454. "schema": {
  6455. "type": "array",
  6456. "items": {
  6457. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6458. }
  6459. }
  6460. },
  6461. "500": {
  6462. "description": "Internal Server Error",
  6463. "schema": {
  6464. "$ref": "#/definitions/app.Response"
  6465. }
  6466. }
  6467. }
  6468. }
  6469. },
  6470. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6471. "get": {
  6472. "security": [
  6473. {
  6474. "ApiKeyAuth": []
  6475. }
  6476. ],
  6477. "produces": [
  6478. "application/json"
  6479. ],
  6480. "tags": [
  6481. "企业风险管理v8"
  6482. ],
  6483. "summary": "内部成交单可关联项目查询",
  6484. "parameters": [
  6485. {
  6486. "type": "integer",
  6487. "description": "企业ID",
  6488. "name": "areauserid",
  6489. "in": "query",
  6490. "required": true
  6491. },
  6492. {
  6493. "type": "integer",
  6494. "description": "期货合约ID",
  6495. "name": "goodsid",
  6496. "in": "query",
  6497. "required": true
  6498. },
  6499. {
  6500. "type": "integer",
  6501. "description": "交易用户ID",
  6502. "name": "tradeuserid",
  6503. "in": "query",
  6504. "required": true
  6505. }
  6506. ],
  6507. "responses": {
  6508. "200": {
  6509. "description": "OK",
  6510. "schema": {
  6511. "type": "array",
  6512. "items": {
  6513. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6514. }
  6515. }
  6516. },
  6517. "500": {
  6518. "description": "Internal Server Error",
  6519. "schema": {
  6520. "$ref": "#/definitions/app.Response"
  6521. }
  6522. }
  6523. }
  6524. }
  6525. },
  6526. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6527. "get": {
  6528. "security": [
  6529. {
  6530. "ApiKeyAuth": []
  6531. }
  6532. ],
  6533. "produces": [
  6534. "application/json"
  6535. ],
  6536. "tags": [
  6537. "企业风险管理v8"
  6538. ],
  6539. "summary": "内部未关联成交单查询",
  6540. "parameters": [
  6541. {
  6542. "type": "integer",
  6543. "description": "用户编号",
  6544. "name": "userid",
  6545. "in": "query",
  6546. "required": true
  6547. },
  6548. {
  6549. "type": "string",
  6550. "description": "起始日期(格式yyyymmdd)",
  6551. "name": "begindate",
  6552. "in": "query"
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "终止日期(格式yyyymmdd)",
  6557. "name": "enddate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "合约代码",
  6563. "name": "goodscode",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约名称",
  6569. "name": "goodsname",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "integer",
  6574. "description": "成交单号",
  6575. "name": "tradeid",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "方向 - 0:买 1:卖",
  6581. "name": "buyorsell",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "string",
  6586. "description": "套期主体",
  6587. "name": "accountname",
  6588. "in": "query"
  6589. }
  6590. ],
  6591. "responses": {
  6592. "200": {
  6593. "description": "OK",
  6594. "schema": {
  6595. "type": "array",
  6596. "items": {
  6597. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6598. }
  6599. }
  6600. },
  6601. "500": {
  6602. "description": "Internal Server Error",
  6603. "schema": {
  6604. "$ref": "#/definitions/app.Response"
  6605. }
  6606. }
  6607. }
  6608. }
  6609. },
  6610. "/Ermcp8/QueryMarketCalendar": {
  6611. "get": {
  6612. "security": [
  6613. {
  6614. "ApiKeyAuth": []
  6615. }
  6616. ],
  6617. "produces": [
  6618. "application/json"
  6619. ],
  6620. "tags": [
  6621. "企业风险管理v8"
  6622. ],
  6623. "summary": "市场节假日查询",
  6624. "parameters": [
  6625. {
  6626. "type": "integer",
  6627. "description": "市场ID",
  6628. "name": "marketid",
  6629. "in": "query"
  6630. }
  6631. ],
  6632. "responses": {
  6633. "200": {
  6634. "description": "OK",
  6635. "schema": {
  6636. "type": "array",
  6637. "items": {
  6638. "$ref": "#/definitions/models.Marketcalendar"
  6639. }
  6640. }
  6641. },
  6642. "500": {
  6643. "description": "Internal Server Error",
  6644. "schema": {
  6645. "$ref": "#/definitions/app.Response"
  6646. }
  6647. }
  6648. }
  6649. }
  6650. },
  6651. "/Ermcp8/QueryPatradeLinkDetail": {
  6652. "get": {
  6653. "security": [
  6654. {
  6655. "ApiKeyAuth": []
  6656. }
  6657. ],
  6658. "produces": [
  6659. "application/json"
  6660. ],
  6661. "tags": [
  6662. "企业风险管理v8"
  6663. ],
  6664. "summary": "敞口明细 - 期货变动明细",
  6665. "parameters": [
  6666. {
  6667. "type": "integer",
  6668. "description": "用户ID",
  6669. "name": "userid",
  6670. "in": "query",
  6671. "required": true
  6672. },
  6673. {
  6674. "type": "integer",
  6675. "description": "套保品种ID",
  6676. "name": "middlegoodsid",
  6677. "in": "query",
  6678. "required": true
  6679. }
  6680. ],
  6681. "responses": {
  6682. "200": {
  6683. "description": "OK",
  6684. "schema": {
  6685. "type": "array",
  6686. "items": {
  6687. "$ref": "#/definitions/models.Patradelinkdetail"
  6688. }
  6689. }
  6690. },
  6691. "500": {
  6692. "description": "Internal Server Error",
  6693. "schema": {
  6694. "$ref": "#/definitions/app.Response"
  6695. }
  6696. }
  6697. }
  6698. }
  6699. },
  6700. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6701. "get": {
  6702. "security": [
  6703. {
  6704. "ApiKeyAuth": []
  6705. }
  6706. ],
  6707. "produces": [
  6708. "application/json"
  6709. ],
  6710. "tags": [
  6711. "企业风险管理v8"
  6712. ],
  6713. "summary": "未关联购销计划",
  6714. "parameters": [
  6715. {
  6716. "type": "integer",
  6717. "description": "企业ID",
  6718. "name": "areauserid",
  6719. "in": "query",
  6720. "required": true
  6721. },
  6722. {
  6723. "type": "integer",
  6724. "description": "计划类型 - 1:采购 -1:销售",
  6725. "name": "contracttype",
  6726. "in": "query"
  6727. },
  6728. {
  6729. "type": "string",
  6730. "description": "计划编号,模糊查询",
  6731. "name": "hedgeplanno",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "现货商品,模糊查询",
  6737. "name": "wrstandardname",
  6738. "in": "query"
  6739. }
  6740. ],
  6741. "responses": {
  6742. "200": {
  6743. "description": "OK",
  6744. "schema": {
  6745. "type": "array",
  6746. "items": {
  6747. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6748. }
  6749. }
  6750. },
  6751. "500": {
  6752. "description": "Internal Server Error",
  6753. "schema": {
  6754. "$ref": "#/definitions/app.Response"
  6755. }
  6756. }
  6757. }
  6758. }
  6759. },
  6760. "/Ermcp8/QueryUnLinkSpotContract": {
  6761. "get": {
  6762. "security": [
  6763. {
  6764. "ApiKeyAuth": []
  6765. }
  6766. ],
  6767. "produces": [
  6768. "application/json"
  6769. ],
  6770. "tags": [
  6771. "企业风险管理v8"
  6772. ],
  6773. "summary": "未关联合同查询",
  6774. "parameters": [
  6775. {
  6776. "type": "integer",
  6777. "description": "用户ID",
  6778. "name": "userid",
  6779. "in": "query",
  6780. "required": true
  6781. },
  6782. {
  6783. "type": "integer",
  6784. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6785. "name": "pricetype",
  6786. "in": "query"
  6787. },
  6788. {
  6789. "type": "string",
  6790. "description": "合同编号, 模拟查询",
  6791. "name": "contractno",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "对手方, 模拟查询",
  6797. "name": "customername",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "integer",
  6802. "description": "项合同类型 - 1:采购 -1:销售",
  6803. "name": "contracttype",
  6804. "in": "query"
  6805. }
  6806. ],
  6807. "responses": {
  6808. "200": {
  6809. "description": "OK",
  6810. "schema": {
  6811. "type": "array",
  6812. "items": {
  6813. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6814. }
  6815. }
  6816. },
  6817. "500": {
  6818. "description": "Internal Server Error",
  6819. "schema": {
  6820. "$ref": "#/definitions/app.Response"
  6821. }
  6822. }
  6823. }
  6824. }
  6825. },
  6826. "/Erms2/QueryArbitrageStrategy": {
  6827. "get": {
  6828. "security": [
  6829. {
  6830. "ApiKeyAuth": []
  6831. }
  6832. ],
  6833. "produces": [
  6834. "application/json"
  6835. ],
  6836. "tags": [
  6837. "风险管理"
  6838. ],
  6839. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6840. "parameters": [
  6841. {
  6842. "type": "integer",
  6843. "description": "账户ID",
  6844. "name": "userid",
  6845. "in": "query",
  6846. "required": true
  6847. },
  6848. {
  6849. "type": "string",
  6850. "description": "商品组ID(品种ID)",
  6851. "name": "goodsgroupid",
  6852. "in": "query"
  6853. }
  6854. ],
  6855. "responses": {
  6856. "200": {
  6857. "description": "OK",
  6858. "schema": {
  6859. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6860. }
  6861. },
  6862. "500": {
  6863. "description": "Internal Server Error",
  6864. "schema": {
  6865. "$ref": "#/definitions/app.Response"
  6866. }
  6867. }
  6868. }
  6869. }
  6870. },
  6871. "/Erms2/QueryInnerTradeDetail": {
  6872. "get": {
  6873. "security": [
  6874. {
  6875. "ApiKeyAuth": []
  6876. }
  6877. ],
  6878. "produces": [
  6879. "application/json"
  6880. ],
  6881. "tags": [
  6882. "风险管理"
  6883. ],
  6884. "summary": "查询内部成交单信息",
  6885. "parameters": [
  6886. {
  6887. "type": "integer",
  6888. "description": "资金账户",
  6889. "name": "accountid",
  6890. "in": "query",
  6891. "required": true
  6892. }
  6893. ],
  6894. "responses": {
  6895. "200": {
  6896. "description": "OK",
  6897. "schema": {
  6898. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6899. }
  6900. },
  6901. "500": {
  6902. "description": "Internal Server Error",
  6903. "schema": {
  6904. "$ref": "#/definitions/app.Response"
  6905. }
  6906. }
  6907. }
  6908. }
  6909. },
  6910. "/Erms2/QuerySpotContract": {
  6911. "get": {
  6912. "security": [
  6913. {
  6914. "ApiKeyAuth": []
  6915. }
  6916. ],
  6917. "produces": [
  6918. "application/json"
  6919. ],
  6920. "tags": [
  6921. "风险管理"
  6922. ],
  6923. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6924. "parameters": [
  6925. {
  6926. "type": "integer",
  6927. "description": "策略申请ID",
  6928. "name": "asapplyid",
  6929. "in": "query",
  6930. "required": true
  6931. },
  6932. {
  6933. "type": "integer",
  6934. "description": "现货合同ID",
  6935. "name": "spotcontractid",
  6936. "in": "query"
  6937. }
  6938. ],
  6939. "responses": {
  6940. "200": {
  6941. "description": "OK",
  6942. "schema": {
  6943. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6944. }
  6945. },
  6946. "500": {
  6947. "description": "Internal Server Error",
  6948. "schema": {
  6949. "$ref": "#/definitions/app.Response"
  6950. }
  6951. }
  6952. }
  6953. }
  6954. },
  6955. "/Erms3/AddErms2ASApply": {
  6956. "post": {
  6957. "security": [
  6958. {
  6959. "ApiKeyAuth": []
  6960. }
  6961. ],
  6962. "produces": [
  6963. "application/json"
  6964. ],
  6965. "tags": [
  6966. "风险管理v3"
  6967. ],
  6968. "summary": "新增期现套利业务申请",
  6969. "parameters": [
  6970. {
  6971. "description": "申请参数",
  6972. "name": "jsonBody",
  6973. "in": "body",
  6974. "required": true,
  6975. "schema": {
  6976. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6977. }
  6978. }
  6979. ],
  6980. "responses": {
  6981. "200": {
  6982. "description": "OK",
  6983. "schema": {
  6984. "$ref": "#/definitions/app.Response"
  6985. }
  6986. },
  6987. "500": {
  6988. "description": "Internal Server Error",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. }
  6993. }
  6994. }
  6995. },
  6996. "/Erms3/AddErms2SpotTradeApply": {
  6997. "post": {
  6998. "security": [
  6999. {
  7000. "ApiKeyAuth": []
  7001. }
  7002. ],
  7003. "produces": [
  7004. "application/json"
  7005. ],
  7006. "tags": [
  7007. "风险管理v3"
  7008. ],
  7009. "summary": "新增现货贸易业务申请",
  7010. "parameters": [
  7011. {
  7012. "description": "申请参数",
  7013. "name": "jsonBody",
  7014. "in": "body",
  7015. "required": true,
  7016. "schema": {
  7017. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7018. }
  7019. }
  7020. ],
  7021. "responses": {
  7022. "200": {
  7023. "description": "OK",
  7024. "schema": {
  7025. "$ref": "#/definitions/app.Response"
  7026. }
  7027. },
  7028. "500": {
  7029. "description": "Internal Server Error",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. }
  7034. }
  7035. }
  7036. },
  7037. "/Erms3/AddSpotContractApply": {
  7038. "post": {
  7039. "security": [
  7040. {
  7041. "ApiKeyAuth": []
  7042. }
  7043. ],
  7044. "produces": [
  7045. "application/json"
  7046. ],
  7047. "tags": [
  7048. "风险管理v3"
  7049. ],
  7050. "summary": "新增现货合同申请",
  7051. "parameters": [
  7052. {
  7053. "description": "申请参数",
  7054. "name": "jsonBody",
  7055. "in": "body",
  7056. "required": true,
  7057. "schema": {
  7058. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7059. }
  7060. }
  7061. ],
  7062. "responses": {
  7063. "200": {
  7064. "description": "OK",
  7065. "schema": {
  7066. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7067. }
  7068. },
  7069. "500": {
  7070. "description": "Internal Server Error",
  7071. "schema": {
  7072. "$ref": "#/definitions/app.Response"
  7073. }
  7074. }
  7075. }
  7076. }
  7077. },
  7078. "/Erms3/AddUserInfoApply": {
  7079. "post": {
  7080. "security": [
  7081. {
  7082. "ApiKeyAuth": []
  7083. }
  7084. ],
  7085. "produces": [
  7086. "application/json"
  7087. ],
  7088. "tags": [
  7089. "风险管理v3"
  7090. ],
  7091. "summary": "新增客户申请",
  7092. "parameters": [
  7093. {
  7094. "description": "用户信息",
  7095. "name": "jsonBody",
  7096. "in": "body",
  7097. "required": true,
  7098. "schema": {
  7099. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7100. }
  7101. }
  7102. ],
  7103. "responses": {
  7104. "200": {
  7105. "description": "OK",
  7106. "schema": {
  7107. "$ref": "#/definitions/app.Response"
  7108. }
  7109. },
  7110. "500": {
  7111. "description": "Internal Server Error",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. }
  7116. }
  7117. }
  7118. },
  7119. "/Erms3/DeleteUserInfoApply": {
  7120. "get": {
  7121. "security": [
  7122. {
  7123. "ApiKeyAuth": []
  7124. }
  7125. ],
  7126. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7127. "produces": [
  7128. "application/json"
  7129. ],
  7130. "tags": [
  7131. "风险管理v3"
  7132. ],
  7133. "summary": "删除客户申请",
  7134. "parameters": [
  7135. {
  7136. "type": "integer",
  7137. "description": "用户ID",
  7138. "name": "userID",
  7139. "in": "query",
  7140. "required": true
  7141. }
  7142. ],
  7143. "responses": {
  7144. "200": {
  7145. "description": "OK",
  7146. "schema": {
  7147. "$ref": "#/definitions/app.Response"
  7148. }
  7149. },
  7150. "500": {
  7151. "description": "Internal Server Error",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. }
  7156. }
  7157. }
  7158. },
  7159. "/Erms3/ModifyUserInfoApply": {
  7160. "post": {
  7161. "security": [
  7162. {
  7163. "ApiKeyAuth": []
  7164. }
  7165. ],
  7166. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7167. "produces": [
  7168. "application/json"
  7169. ],
  7170. "tags": [
  7171. "风险管理v3"
  7172. ],
  7173. "summary": "修改客户申请",
  7174. "parameters": [
  7175. {
  7176. "description": "用户信息",
  7177. "name": "jsonBody",
  7178. "in": "body",
  7179. "required": true,
  7180. "schema": {
  7181. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7182. }
  7183. }
  7184. ],
  7185. "responses": {
  7186. "200": {
  7187. "description": "OK",
  7188. "schema": {
  7189. "$ref": "#/definitions/app.Response"
  7190. }
  7191. },
  7192. "500": {
  7193. "description": "Internal Server Error",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. }
  7198. }
  7199. }
  7200. },
  7201. "/Erms3/QueryBusinessInfo": {
  7202. "get": {
  7203. "security": [
  7204. {
  7205. "ApiKeyAuth": []
  7206. }
  7207. ],
  7208. "produces": [
  7209. "application/json"
  7210. ],
  7211. "tags": [
  7212. "风险管理v3"
  7213. ],
  7214. "summary": "查询业务表单数据",
  7215. "parameters": [
  7216. {
  7217. "type": "string",
  7218. "description": "资金账号ID列表,用逗号分隔",
  7219. "name": "accountids",
  7220. "in": "query",
  7221. "required": true
  7222. },
  7223. {
  7224. "type": "integer",
  7225. "description": "状态,0为未结束 1为已结束",
  7226. "name": "status",
  7227. "in": "query",
  7228. "required": true
  7229. }
  7230. ],
  7231. "responses": {
  7232. "200": {
  7233. "description": "OK",
  7234. "schema": {
  7235. "type": "array",
  7236. "items": {
  7237. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7238. }
  7239. }
  7240. },
  7241. "500": {
  7242. "description": "Internal Server Error",
  7243. "schema": {
  7244. "$ref": "#/definitions/app.Response"
  7245. }
  7246. }
  7247. }
  7248. }
  7249. },
  7250. "/Erms3/QueryPendingAuditContract": {
  7251. "get": {
  7252. "security": [
  7253. {
  7254. "ApiKeyAuth": []
  7255. }
  7256. ],
  7257. "produces": [
  7258. "application/json"
  7259. ],
  7260. "tags": [
  7261. "风险管理v3"
  7262. ],
  7263. "summary": "查询待审核合同",
  7264. "parameters": [
  7265. {
  7266. "type": "string",
  7267. "description": "资金账号ID列表,逗号隔开",
  7268. "name": "accountids",
  7269. "in": "query",
  7270. "required": true
  7271. },
  7272. {
  7273. "type": "integer",
  7274. "description": "合同类型 1-采购 -1-销售",
  7275. "name": "contracttype",
  7276. "in": "query",
  7277. "required": true
  7278. },
  7279. {
  7280. "type": "integer",
  7281. "description": "合同模式 1-普通 2-回购",
  7282. "name": "contractmode",
  7283. "in": "query",
  7284. "required": true
  7285. }
  7286. ],
  7287. "responses": {
  7288. "200": {
  7289. "description": "OK",
  7290. "schema": {
  7291. "type": "array",
  7292. "items": {
  7293. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7294. }
  7295. }
  7296. },
  7297. "500": {
  7298. "description": "Internal Server Error",
  7299. "schema": {
  7300. "$ref": "#/definitions/app.Response"
  7301. }
  7302. }
  7303. }
  7304. }
  7305. },
  7306. "/Erms3/QueryPendingBusiness": {
  7307. "get": {
  7308. "security": [
  7309. {
  7310. "ApiKeyAuth": []
  7311. }
  7312. ],
  7313. "produces": [
  7314. "application/json"
  7315. ],
  7316. "tags": [
  7317. "风险管理v3"
  7318. ],
  7319. "summary": "查询待审核基差贸易业务",
  7320. "parameters": [
  7321. {
  7322. "type": "string",
  7323. "description": "资金账号ID列表,逗号隔开",
  7324. "name": "accountids",
  7325. "in": "query",
  7326. "required": true
  7327. }
  7328. ],
  7329. "responses": {
  7330. "200": {
  7331. "description": "OK",
  7332. "schema": {
  7333. "type": "array",
  7334. "items": {
  7335. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7336. }
  7337. }
  7338. },
  7339. "500": {
  7340. "description": "Internal Server Error",
  7341. "schema": {
  7342. "$ref": "#/definitions/app.Response"
  7343. }
  7344. }
  7345. }
  7346. }
  7347. },
  7348. "/Erms3/QuerySpotContractAppleForm": {
  7349. "get": {
  7350. "security": [
  7351. {
  7352. "ApiKeyAuth": []
  7353. }
  7354. ],
  7355. "produces": [
  7356. "application/json"
  7357. ],
  7358. "tags": [
  7359. "风险管理v3"
  7360. ],
  7361. "summary": "查询合同申请表单数据",
  7362. "parameters": [
  7363. {
  7364. "type": "integer",
  7365. "description": "登录账号",
  7366. "name": "loginID",
  7367. "in": "query",
  7368. "required": true
  7369. }
  7370. ],
  7371. "responses": {
  7372. "200": {
  7373. "description": "OK",
  7374. "schema": {
  7375. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7376. }
  7377. },
  7378. "500": {
  7379. "description": "Internal Server Error",
  7380. "schema": {
  7381. "$ref": "#/definitions/app.Response"
  7382. }
  7383. }
  7384. }
  7385. }
  7386. },
  7387. "/Erms3/QuerySpotContractDetail": {
  7388. "get": {
  7389. "security": [
  7390. {
  7391. "ApiKeyAuth": []
  7392. }
  7393. ],
  7394. "produces": [
  7395. "application/json"
  7396. ],
  7397. "tags": [
  7398. "风险管理v3"
  7399. ],
  7400. "summary": "查询合同详细信息",
  7401. "parameters": [
  7402. {
  7403. "type": "string",
  7404. "description": "资金账号ID列表,用逗号分隔",
  7405. "name": "accountids",
  7406. "in": "query",
  7407. "required": true
  7408. },
  7409. {
  7410. "type": "integer",
  7411. "description": "合同类型,1为采购合同 -1为销售合同",
  7412. "name": "contracttype",
  7413. "in": "query",
  7414. "required": true
  7415. },
  7416. {
  7417. "type": "integer",
  7418. "description": "合同模式,1为普通合同 2为回购销售合同",
  7419. "name": "contractmode",
  7420. "in": "query",
  7421. "required": true
  7422. },
  7423. {
  7424. "type": "integer",
  7425. "description": "状态,0为履约中 1为已完成",
  7426. "name": "status",
  7427. "in": "query",
  7428. "required": true
  7429. }
  7430. ],
  7431. "responses": {
  7432. "200": {
  7433. "description": "OK",
  7434. "schema": {
  7435. "type": "array",
  7436. "items": {
  7437. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7438. }
  7439. }
  7440. },
  7441. "500": {
  7442. "description": "Internal Server Error",
  7443. "schema": {
  7444. "$ref": "#/definitions/app.Response"
  7445. }
  7446. }
  7447. }
  7448. }
  7449. },
  7450. "/Erms3/QueryUserInfoApplies": {
  7451. "get": {
  7452. "security": [
  7453. {
  7454. "ApiKeyAuth": []
  7455. }
  7456. ],
  7457. "produces": [
  7458. "application/json"
  7459. ],
  7460. "tags": [
  7461. "风险管理v3"
  7462. ],
  7463. "summary": "客户申请信息查询",
  7464. "parameters": [
  7465. {
  7466. "type": "integer",
  7467. "description": "页码",
  7468. "name": "page",
  7469. "in": "query"
  7470. },
  7471. {
  7472. "type": "integer",
  7473. "description": "每页条数",
  7474. "name": "pagesize",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "string",
  7479. "description": "客户名称,支持模糊查询",
  7480. "name": "userName",
  7481. "in": "query"
  7482. }
  7483. ],
  7484. "responses": {
  7485. "200": {
  7486. "description": "OK",
  7487. "schema": {
  7488. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7489. }
  7490. },
  7491. "500": {
  7492. "description": "Internal Server Error",
  7493. "schema": {
  7494. "$ref": "#/definitions/app.Response"
  7495. }
  7496. }
  7497. }
  7498. }
  7499. },
  7500. "/Erms3/QueryUserInfos": {
  7501. "get": {
  7502. "security": [
  7503. {
  7504. "ApiKeyAuth": []
  7505. }
  7506. ],
  7507. "produces": [
  7508. "application/json"
  7509. ],
  7510. "tags": [
  7511. "风险管理v3"
  7512. ],
  7513. "summary": "客户信息查询",
  7514. "parameters": [
  7515. {
  7516. "type": "integer",
  7517. "description": "页码",
  7518. "name": "page",
  7519. "in": "query"
  7520. },
  7521. {
  7522. "type": "integer",
  7523. "description": "每页条数",
  7524. "name": "pagesize",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "string",
  7529. "description": "客户名称,支持模糊查询",
  7530. "name": "userName",
  7531. "in": "query"
  7532. }
  7533. ],
  7534. "responses": {
  7535. "200": {
  7536. "description": "OK",
  7537. "schema": {
  7538. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7539. }
  7540. },
  7541. "500": {
  7542. "description": "Internal Server Error",
  7543. "schema": {
  7544. "$ref": "#/definitions/app.Response"
  7545. }
  7546. }
  7547. }
  7548. }
  7549. },
  7550. "/Guangzuan/GetGoods": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. },
  7556. {
  7557. "LoginID": []
  7558. },
  7559. {
  7560. "Group": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "广钻"
  7568. ],
  7569. "summary": "获取钻石详情",
  7570. "parameters": [
  7571. {
  7572. "type": "string",
  7573. "description": "商品编号",
  7574. "name": "goodsno",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "$ref": "#/definitions/models.GZGoods"
  7584. }
  7585. },
  7586. "500": {
  7587. "description": "Internal Server Error",
  7588. "schema": {
  7589. "$ref": "#/definitions/app.Response"
  7590. }
  7591. }
  7592. }
  7593. }
  7594. },
  7595. "/Guangzuan/QueryBuyOrder": {
  7596. "get": {
  7597. "security": [
  7598. {
  7599. "ApiKeyAuth": []
  7600. },
  7601. {
  7602. "LoginID": []
  7603. },
  7604. {
  7605. "Group": []
  7606. }
  7607. ],
  7608. "produces": [
  7609. "application/json"
  7610. ],
  7611. "tags": [
  7612. "广钻"
  7613. ],
  7614. "summary": "查询求购大厅委托单",
  7615. "parameters": [
  7616. {
  7617. "type": "integer",
  7618. "description": "页码",
  7619. "name": "page",
  7620. "in": "query"
  7621. },
  7622. {
  7623. "type": "integer",
  7624. "description": "每页条数",
  7625. "name": "pagesize",
  7626. "in": "query"
  7627. },
  7628. {
  7629. "type": "string",
  7630. "description": "商品(查询字段-模糊查询)",
  7631. "name": "zsallproperties",
  7632. "in": "query"
  7633. },
  7634. {
  7635. "type": "string",
  7636. "description": "钻石分类, 格式:1,2,3",
  7637. "name": "zscategorys",
  7638. "in": "query"
  7639. },
  7640. {
  7641. "type": "integer",
  7642. "description": "委托单号",
  7643. "name": "wrtradeorderid",
  7644. "in": "query"
  7645. },
  7646. {
  7647. "type": "string",
  7648. "description": "买方(查询字段-模糊查询)",
  7649. "name": "buyusername",
  7650. "in": "query"
  7651. }
  7652. ],
  7653. "responses": {
  7654. "200": {
  7655. "description": "OK",
  7656. "schema": {
  7657. "type": "array",
  7658. "items": {
  7659. "$ref": "#/definitions/models.BuyOrder"
  7660. }
  7661. }
  7662. },
  7663. "500": {
  7664. "description": "Internal Server Error",
  7665. "schema": {
  7666. "$ref": "#/definitions/app.Response"
  7667. }
  7668. }
  7669. }
  7670. }
  7671. },
  7672. "/Guangzuan/QueryDiamond": {
  7673. "post": {
  7674. "security": [
  7675. {
  7676. "ApiKeyAuth": []
  7677. },
  7678. {
  7679. "LoginID": []
  7680. },
  7681. {
  7682. "Group": []
  7683. }
  7684. ],
  7685. "produces": [
  7686. "application/json"
  7687. ],
  7688. "tags": [
  7689. "广钻"
  7690. ],
  7691. "summary": "钻石搜索",
  7692. "parameters": [
  7693. {
  7694. "description": "钻石搜索入参",
  7695. "name": "data",
  7696. "in": "body",
  7697. "required": true,
  7698. "schema": {
  7699. "$ref": "#/definitions/models.SellOrderQueryReq"
  7700. }
  7701. }
  7702. ],
  7703. "responses": {
  7704. "200": {
  7705. "description": "OK",
  7706. "schema": {
  7707. "type": "array",
  7708. "items": {
  7709. "$ref": "#/definitions/models.SellOrder"
  7710. }
  7711. }
  7712. },
  7713. "500": {
  7714. "description": "Internal Server Error",
  7715. "schema": {
  7716. "$ref": "#/definitions/app.Response"
  7717. }
  7718. }
  7719. }
  7720. }
  7721. },
  7722. "/Guangzuan/QueryMyBargainApply": {
  7723. "get": {
  7724. "security": [
  7725. {
  7726. "ApiKeyAuth": []
  7727. },
  7728. {
  7729. "LoginID": []
  7730. },
  7731. {
  7732. "Group": []
  7733. }
  7734. ],
  7735. "produces": [
  7736. "application/json"
  7737. ],
  7738. "tags": [
  7739. "广钻"
  7740. ],
  7741. "summary": "查询询价-求购",
  7742. "parameters": [
  7743. {
  7744. "type": "integer",
  7745. "description": "用户ID",
  7746. "name": "userid",
  7747. "in": "query",
  7748. "required": true
  7749. },
  7750. {
  7751. "type": "integer",
  7752. "description": "页码",
  7753. "name": "page",
  7754. "in": "query"
  7755. },
  7756. {
  7757. "type": "integer",
  7758. "description": "每页条数",
  7759. "name": "pagesize",
  7760. "in": "query"
  7761. },
  7762. {
  7763. "type": "integer",
  7764. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  7765. "name": "applystatus",
  7766. "in": "query"
  7767. },
  7768. {
  7769. "type": "integer",
  7770. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  7771. "name": "type",
  7772. "in": "query"
  7773. },
  7774. {
  7775. "type": "string",
  7776. "description": "关联委托单ID",
  7777. "name": "wrtradeorderid",
  7778. "in": "query"
  7779. }
  7780. ],
  7781. "responses": {
  7782. "200": {
  7783. "description": "OK",
  7784. "schema": {
  7785. "type": "array",
  7786. "items": {
  7787. "$ref": "#/definitions/models.MyBargainApply"
  7788. }
  7789. }
  7790. },
  7791. "500": {
  7792. "description": "Internal Server Error",
  7793. "schema": {
  7794. "$ref": "#/definitions/app.Response"
  7795. }
  7796. }
  7797. }
  7798. }
  7799. },
  7800. "/Guangzuan/QueryMyBuyOrder": {
  7801. "get": {
  7802. "security": [
  7803. {
  7804. "ApiKeyAuth": []
  7805. },
  7806. {
  7807. "LoginID": []
  7808. },
  7809. {
  7810. "Group": []
  7811. }
  7812. ],
  7813. "produces": [
  7814. "application/json"
  7815. ],
  7816. "tags": [
  7817. "广钻"
  7818. ],
  7819. "summary": "查询我的求购",
  7820. "parameters": [
  7821. {
  7822. "type": "integer",
  7823. "description": "用户ID",
  7824. "name": "userid",
  7825. "in": "query",
  7826. "required": true
  7827. },
  7828. {
  7829. "type": "integer",
  7830. "description": "页码",
  7831. "name": "page",
  7832. "in": "query"
  7833. },
  7834. {
  7835. "type": "integer",
  7836. "description": "每页条数",
  7837. "name": "pagesize",
  7838. "in": "query"
  7839. },
  7840. {
  7841. "type": "string",
  7842. "description": "商品(查询字段-模糊查询)",
  7843. "name": "zsallproperties",
  7844. "in": "query"
  7845. },
  7846. {
  7847. "type": "string",
  7848. "description": "钻石分类, 格式:1,2,3",
  7849. "name": "zscategorys",
  7850. "in": "query"
  7851. },
  7852. {
  7853. "type": "integer",
  7854. "description": "委托单号",
  7855. "name": "wrtradeorderid",
  7856. "in": "query"
  7857. },
  7858. {
  7859. "type": "boolean",
  7860. "description": "是否历史查询",
  7861. "name": "ishis",
  7862. "in": "query"
  7863. },
  7864. {
  7865. "type": "string",
  7866. "description": "开始交易日(yyyymmdd)",
  7867. "name": "begindate",
  7868. "in": "query"
  7869. },
  7870. {
  7871. "type": "string",
  7872. "description": "结束交易日(yyyymmdd)",
  7873. "name": "enddate",
  7874. "in": "query"
  7875. }
  7876. ],
  7877. "responses": {
  7878. "200": {
  7879. "description": "OK",
  7880. "schema": {
  7881. "type": "array",
  7882. "items": {
  7883. "$ref": "#/definitions/models.MyBuyOrder"
  7884. }
  7885. }
  7886. },
  7887. "500": {
  7888. "description": "Internal Server Error",
  7889. "schema": {
  7890. "$ref": "#/definitions/app.Response"
  7891. }
  7892. }
  7893. }
  7894. }
  7895. },
  7896. "/Guangzuan/QueryMyDeListing": {
  7897. "get": {
  7898. "security": [
  7899. {
  7900. "ApiKeyAuth": []
  7901. },
  7902. {
  7903. "LoginID": []
  7904. },
  7905. {
  7906. "Group": []
  7907. }
  7908. ],
  7909. "produces": [
  7910. "application/json"
  7911. ],
  7912. "tags": [
  7913. "广钻"
  7914. ],
  7915. "summary": "查询我的摘牌",
  7916. "parameters": [
  7917. {
  7918. "type": "integer",
  7919. "description": "用户ID",
  7920. "name": "userid",
  7921. "in": "query",
  7922. "required": true
  7923. },
  7924. {
  7925. "type": "integer",
  7926. "description": "页码",
  7927. "name": "page",
  7928. "in": "query"
  7929. },
  7930. {
  7931. "type": "integer",
  7932. "description": "每页条数",
  7933. "name": "pagesize",
  7934. "in": "query"
  7935. },
  7936. {
  7937. "type": "string",
  7938. "description": "商品(查询字段-模糊查询)",
  7939. "name": "zsallproperties",
  7940. "in": "query"
  7941. },
  7942. {
  7943. "type": "string",
  7944. "description": "钻石分类, 格式:1,2,3",
  7945. "name": "zscategorys",
  7946. "in": "query"
  7947. },
  7948. {
  7949. "type": "integer",
  7950. "description": "成交单号",
  7951. "name": "wrtradedetailid",
  7952. "in": "query"
  7953. },
  7954. {
  7955. "type": "integer",
  7956. "description": "方向,0-购买 1-出售",
  7957. "name": "buyorsell",
  7958. "in": "query"
  7959. },
  7960. {
  7961. "type": "string",
  7962. "description": "对手方(模糊匹配)",
  7963. "name": "matchusername",
  7964. "in": "query"
  7965. },
  7966. {
  7967. "type": "string",
  7968. "description": "开始交易日(yyyymmdd)",
  7969. "name": "begindate",
  7970. "in": "query"
  7971. },
  7972. {
  7973. "type": "string",
  7974. "description": "结束交易日(yyyymmdd)",
  7975. "name": "enddate",
  7976. "in": "query"
  7977. }
  7978. ],
  7979. "responses": {
  7980. "200": {
  7981. "description": "OK",
  7982. "schema": {
  7983. "type": "array",
  7984. "items": {
  7985. "$ref": "#/definitions/models.MyDeListing"
  7986. }
  7987. }
  7988. },
  7989. "500": {
  7990. "description": "Internal Server Error",
  7991. "schema": {
  7992. "$ref": "#/definitions/app.Response"
  7993. }
  7994. }
  7995. }
  7996. }
  7997. },
  7998. "/Guangzuan/QueryMyDelistingApply": {
  7999. "get": {
  8000. "security": [
  8001. {
  8002. "ApiKeyAuth": []
  8003. },
  8004. {
  8005. "LoginID": []
  8006. },
  8007. {
  8008. "Group": []
  8009. }
  8010. ],
  8011. "produces": [
  8012. "application/json"
  8013. ],
  8014. "tags": [
  8015. "广钻"
  8016. ],
  8017. "summary": "查询询价-出售",
  8018. "parameters": [
  8019. {
  8020. "type": "integer",
  8021. "description": "用户ID",
  8022. "name": "userid",
  8023. "in": "query",
  8024. "required": true
  8025. },
  8026. {
  8027. "type": "integer",
  8028. "description": "页码",
  8029. "name": "page",
  8030. "in": "query"
  8031. },
  8032. {
  8033. "type": "integer",
  8034. "description": "每页条数",
  8035. "name": "pagesize",
  8036. "in": "query"
  8037. },
  8038. {
  8039. "type": "integer",
  8040. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8041. "name": "applystatus",
  8042. "in": "query"
  8043. },
  8044. {
  8045. "type": "integer",
  8046. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8047. "name": "type",
  8048. "in": "query"
  8049. },
  8050. {
  8051. "type": "string",
  8052. "description": "买委托单ID",
  8053. "name": "buywrtradeorderid",
  8054. "in": "query"
  8055. }
  8056. ],
  8057. "responses": {
  8058. "200": {
  8059. "description": "OK",
  8060. "schema": {
  8061. "type": "array",
  8062. "items": {
  8063. "$ref": "#/definitions/models.MyDelistingApply"
  8064. }
  8065. }
  8066. },
  8067. "500": {
  8068. "description": "Internal Server Error",
  8069. "schema": {
  8070. "$ref": "#/definitions/app.Response"
  8071. }
  8072. }
  8073. }
  8074. }
  8075. },
  8076. "/Guangzuan/QueryMyFavorite": {
  8077. "get": {
  8078. "security": [
  8079. {
  8080. "ApiKeyAuth": []
  8081. },
  8082. {
  8083. "LoginID": []
  8084. },
  8085. {
  8086. "Group": []
  8087. }
  8088. ],
  8089. "produces": [
  8090. "application/json"
  8091. ],
  8092. "tags": [
  8093. "广钻"
  8094. ],
  8095. "summary": "查询我的收藏",
  8096. "parameters": [
  8097. {
  8098. "type": "integer",
  8099. "description": "用户ID",
  8100. "name": "userid",
  8101. "in": "query",
  8102. "required": true
  8103. },
  8104. {
  8105. "type": "integer",
  8106. "description": "页码",
  8107. "name": "page",
  8108. "in": "query"
  8109. },
  8110. {
  8111. "type": "integer",
  8112. "description": "每页条数",
  8113. "name": "pagesize",
  8114. "in": "query"
  8115. },
  8116. {
  8117. "type": "string",
  8118. "description": "钻石分类, 格式:1,2,3",
  8119. "name": "zscategorys",
  8120. "in": "query"
  8121. }
  8122. ],
  8123. "responses": {
  8124. "200": {
  8125. "description": "OK",
  8126. "schema": {
  8127. "type": "array",
  8128. "items": {
  8129. "$ref": "#/definitions/models.MyFavorite"
  8130. }
  8131. }
  8132. },
  8133. "500": {
  8134. "description": "Internal Server Error",
  8135. "schema": {
  8136. "$ref": "#/definitions/app.Response"
  8137. }
  8138. }
  8139. }
  8140. }
  8141. },
  8142. "/Guangzuan/QueryMyPerformanc": {
  8143. "get": {
  8144. "security": [
  8145. {
  8146. "ApiKeyAuth": []
  8147. },
  8148. {
  8149. "LoginID": []
  8150. },
  8151. {
  8152. "Group": []
  8153. }
  8154. ],
  8155. "produces": [
  8156. "application/json"
  8157. ],
  8158. "tags": [
  8159. "广钻"
  8160. ],
  8161. "summary": "查询我的履约",
  8162. "parameters": [
  8163. {
  8164. "type": "integer",
  8165. "description": "用户ID",
  8166. "name": "userid",
  8167. "in": "query",
  8168. "required": true
  8169. },
  8170. {
  8171. "type": "integer",
  8172. "description": "页码",
  8173. "name": "page",
  8174. "in": "query"
  8175. },
  8176. {
  8177. "type": "integer",
  8178. "description": "每页条数",
  8179. "name": "pagesize",
  8180. "in": "query"
  8181. },
  8182. {
  8183. "type": "string",
  8184. "description": "商品(查询字段-模糊查询)",
  8185. "name": "zsallproperties",
  8186. "in": "query"
  8187. },
  8188. {
  8189. "type": "integer",
  8190. "description": "方向,0-买 1-卖",
  8191. "name": "buyorsell",
  8192. "in": "query"
  8193. },
  8194. {
  8195. "type": "boolean",
  8196. "description": "是否历史查询",
  8197. "name": "ishis",
  8198. "in": "query"
  8199. },
  8200. {
  8201. "type": "string",
  8202. "description": "开始交易日(yyyymmdd)",
  8203. "name": "begindate",
  8204. "in": "query"
  8205. },
  8206. {
  8207. "type": "string",
  8208. "description": "结束交易日(yyyymmdd)",
  8209. "name": "enddate",
  8210. "in": "query"
  8211. }
  8212. ],
  8213. "responses": {
  8214. "200": {
  8215. "description": "OK",
  8216. "schema": {
  8217. "type": "array",
  8218. "items": {
  8219. "$ref": "#/definitions/models.MyPerformanc"
  8220. }
  8221. }
  8222. },
  8223. "500": {
  8224. "description": "Internal Server Error",
  8225. "schema": {
  8226. "$ref": "#/definitions/app.Response"
  8227. }
  8228. }
  8229. }
  8230. }
  8231. },
  8232. "/Guangzuan/QueryMySellOrder": {
  8233. "get": {
  8234. "security": [
  8235. {
  8236. "ApiKeyAuth": []
  8237. },
  8238. {
  8239. "LoginID": []
  8240. },
  8241. {
  8242. "Group": []
  8243. }
  8244. ],
  8245. "produces": [
  8246. "application/json"
  8247. ],
  8248. "tags": [
  8249. "广钻"
  8250. ],
  8251. "summary": "查询我的出售",
  8252. "parameters": [
  8253. {
  8254. "type": "integer",
  8255. "description": "用户ID",
  8256. "name": "userid",
  8257. "in": "query",
  8258. "required": true
  8259. },
  8260. {
  8261. "type": "integer",
  8262. "description": "页码",
  8263. "name": "page",
  8264. "in": "query"
  8265. },
  8266. {
  8267. "type": "integer",
  8268. "description": "每页条数",
  8269. "name": "pagesize",
  8270. "in": "query"
  8271. },
  8272. {
  8273. "type": "string",
  8274. "description": "商品(查询字段-模糊查询)",
  8275. "name": "zsallproperties",
  8276. "in": "query"
  8277. },
  8278. {
  8279. "type": "string",
  8280. "description": "钻石分类, 格式:1,2,3",
  8281. "name": "zscategorys",
  8282. "in": "query"
  8283. },
  8284. {
  8285. "type": "integer",
  8286. "description": "委托单号",
  8287. "name": "wrtradeorderid",
  8288. "in": "query"
  8289. },
  8290. {
  8291. "type": "boolean",
  8292. "description": "是否历史查询",
  8293. "name": "ishis",
  8294. "in": "query"
  8295. },
  8296. {
  8297. "type": "string",
  8298. "description": "开始交易日(yyyymmdd)",
  8299. "name": "begindate",
  8300. "in": "query"
  8301. },
  8302. {
  8303. "type": "string",
  8304. "description": "结束交易日(yyyymmdd)",
  8305. "name": "enddate",
  8306. "in": "query"
  8307. }
  8308. ],
  8309. "responses": {
  8310. "200": {
  8311. "description": "OK",
  8312. "schema": {
  8313. "type": "array",
  8314. "items": {
  8315. "$ref": "#/definitions/models.MySellOrder"
  8316. }
  8317. }
  8318. },
  8319. "500": {
  8320. "description": "Internal Server Error",
  8321. "schema": {
  8322. "$ref": "#/definitions/app.Response"
  8323. }
  8324. }
  8325. }
  8326. }
  8327. },
  8328. "/Guangzuan/QueryMyWRPosition": {
  8329. "get": {
  8330. "security": [
  8331. {
  8332. "ApiKeyAuth": []
  8333. },
  8334. {
  8335. "LoginID": []
  8336. },
  8337. {
  8338. "Group": []
  8339. }
  8340. ],
  8341. "produces": [
  8342. "application/json"
  8343. ],
  8344. "tags": [
  8345. "广钻"
  8346. ],
  8347. "summary": "查询我的库存",
  8348. "parameters": [
  8349. {
  8350. "type": "integer",
  8351. "description": "页码",
  8352. "name": "page",
  8353. "in": "query"
  8354. },
  8355. {
  8356. "type": "integer",
  8357. "description": "每页条数",
  8358. "name": "pagesize",
  8359. "in": "query"
  8360. },
  8361. {
  8362. "type": "integer",
  8363. "description": "登录用户ID",
  8364. "name": "wruserid",
  8365. "in": "query",
  8366. "required": true
  8367. },
  8368. {
  8369. "type": "string",
  8370. "description": "商品(查询字段-模糊查询)",
  8371. "name": "zsallproperties",
  8372. "in": "query"
  8373. },
  8374. {
  8375. "type": "string",
  8376. "description": "钻石分类, 格式:1,2,3",
  8377. "name": "zscategorys",
  8378. "in": "query"
  8379. },
  8380. {
  8381. "type": "integer",
  8382. "description": "仓库ID",
  8383. "name": "warehouseid",
  8384. "in": "query"
  8385. },
  8386. {
  8387. "type": "integer",
  8388. "description": "是否上架,0-全部 1-是 2-否",
  8389. "name": "marketflag",
  8390. "in": "query"
  8391. }
  8392. ],
  8393. "responses": {
  8394. "200": {
  8395. "description": "OK",
  8396. "schema": {
  8397. "type": "array",
  8398. "items": {
  8399. "$ref": "#/definitions/models.MyWRPosition"
  8400. }
  8401. }
  8402. },
  8403. "500": {
  8404. "description": "Internal Server Error",
  8405. "schema": {
  8406. "$ref": "#/definitions/app.Response"
  8407. }
  8408. }
  8409. }
  8410. }
  8411. },
  8412. "/Guangzuan/QuerySellOrder": {
  8413. "get": {
  8414. "security": [
  8415. {
  8416. "ApiKeyAuth": []
  8417. },
  8418. {
  8419. "LoginID": []
  8420. },
  8421. {
  8422. "Group": []
  8423. }
  8424. ],
  8425. "produces": [
  8426. "application/json"
  8427. ],
  8428. "tags": [
  8429. "广钻"
  8430. ],
  8431. "summary": "查询出售大厅委托单",
  8432. "parameters": [
  8433. {
  8434. "type": "integer",
  8435. "description": "页码",
  8436. "name": "page",
  8437. "in": "query"
  8438. },
  8439. {
  8440. "type": "integer",
  8441. "description": "每页条数",
  8442. "name": "pagesize",
  8443. "in": "query"
  8444. },
  8445. {
  8446. "type": "string",
  8447. "description": "商品(查询字段-模糊查询)",
  8448. "name": "zsallproperties",
  8449. "in": "query"
  8450. },
  8451. {
  8452. "type": "string",
  8453. "description": "钻石分类, 格式:1,2,3",
  8454. "name": "zscategorys",
  8455. "in": "query"
  8456. },
  8457. {
  8458. "type": "integer",
  8459. "description": "委托单号",
  8460. "name": "wrtradeorderid",
  8461. "in": "query"
  8462. },
  8463. {
  8464. "type": "string",
  8465. "description": "卖方(查询字段-模糊查询)",
  8466. "name": "buyusername",
  8467. "in": "query"
  8468. }
  8469. ],
  8470. "responses": {
  8471. "200": {
  8472. "description": "OK",
  8473. "schema": {
  8474. "type": "array",
  8475. "items": {
  8476. "$ref": "#/definitions/models.SellOrder"
  8477. }
  8478. }
  8479. },
  8480. "500": {
  8481. "description": "Internal Server Error",
  8482. "schema": {
  8483. "$ref": "#/definitions/app.Response"
  8484. }
  8485. }
  8486. }
  8487. }
  8488. },
  8489. "/Guangzuan/QueryWarehouseInfo": {
  8490. "get": {
  8491. "security": [
  8492. {
  8493. "ApiKeyAuth": []
  8494. },
  8495. {
  8496. "LoginID": []
  8497. },
  8498. {
  8499. "Group": []
  8500. }
  8501. ],
  8502. "produces": [
  8503. "application/json"
  8504. ],
  8505. "tags": [
  8506. "广钻"
  8507. ],
  8508. "summary": "查询仓库信息",
  8509. "parameters": [
  8510. {
  8511. "type": "integer",
  8512. "description": "页码",
  8513. "name": "page",
  8514. "in": "query"
  8515. },
  8516. {
  8517. "type": "integer",
  8518. "description": "每页条数",
  8519. "name": "pagesize",
  8520. "in": "query"
  8521. },
  8522. {
  8523. "type": "integer",
  8524. "description": "用户ID",
  8525. "name": "userid",
  8526. "in": "query",
  8527. "required": true
  8528. },
  8529. {
  8530. "type": "string",
  8531. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  8532. "name": "status",
  8533. "in": "query"
  8534. },
  8535. {
  8536. "type": "boolean",
  8537. "description": "是返回交易所仓库",
  8538. "name": "isincludeexchange",
  8539. "in": "query"
  8540. }
  8541. ],
  8542. "responses": {
  8543. "200": {
  8544. "description": "OK",
  8545. "schema": {
  8546. "type": "array",
  8547. "items": {
  8548. "$ref": "#/definitions/models.GZWarehouseinfo"
  8549. }
  8550. }
  8551. },
  8552. "500": {
  8553. "description": "Internal Server Error",
  8554. "schema": {
  8555. "$ref": "#/definitions/app.Response"
  8556. }
  8557. }
  8558. }
  8559. }
  8560. },
  8561. "/Market/GetAllExExchanges": {
  8562. "get": {
  8563. "security": [
  8564. {
  8565. "ApiKeyAuth": []
  8566. }
  8567. ],
  8568. "produces": [
  8569. "application/json"
  8570. ],
  8571. "tags": [
  8572. "通用市场"
  8573. ],
  8574. "summary": "获取所有外部交易所信息",
  8575. "responses": {
  8576. "200": {
  8577. "description": "OK",
  8578. "schema": {
  8579. "$ref": "#/definitions/models.Goods"
  8580. }
  8581. },
  8582. "500": {
  8583. "description": "Internal Server Error",
  8584. "schema": {
  8585. "$ref": "#/definitions/app.Response"
  8586. }
  8587. }
  8588. }
  8589. }
  8590. },
  8591. "/Market/QueryGoodsesByLoginID": {
  8592. "get": {
  8593. "security": [
  8594. {
  8595. "ApiKeyAuth": []
  8596. }
  8597. ],
  8598. "produces": [
  8599. "application/json"
  8600. ],
  8601. "tags": [
  8602. "通用市场"
  8603. ],
  8604. "summary": "获取登录账号有权限的商品信息",
  8605. "parameters": [
  8606. {
  8607. "type": "integer",
  8608. "description": "登录账号",
  8609. "name": "loginID",
  8610. "in": "query",
  8611. "required": true
  8612. },
  8613. {
  8614. "type": "string",
  8615. "description": "市场ID列表,格式:1,2,3",
  8616. "name": "marketIDs",
  8617. "in": "query"
  8618. }
  8619. ],
  8620. "responses": {
  8621. "200": {
  8622. "description": "OK",
  8623. "schema": {
  8624. "$ref": "#/definitions/models.Goods"
  8625. }
  8626. },
  8627. "500": {
  8628. "description": "Internal Server Error",
  8629. "schema": {
  8630. "$ref": "#/definitions/app.Response"
  8631. }
  8632. }
  8633. }
  8634. }
  8635. },
  8636. "/Market/QueryMarketRun": {
  8637. "get": {
  8638. "security": [
  8639. {
  8640. "ApiKeyAuth": []
  8641. }
  8642. ],
  8643. "produces": [
  8644. "application/json"
  8645. ],
  8646. "tags": [
  8647. "通用市场"
  8648. ],
  8649. "summary": "查询市场运行信息",
  8650. "parameters": [
  8651. {
  8652. "type": "integer",
  8653. "description": "市场ID,不传返回所有",
  8654. "name": "marketID",
  8655. "in": "query"
  8656. }
  8657. ],
  8658. "responses": {
  8659. "200": {
  8660. "description": "OK",
  8661. "schema": {
  8662. "$ref": "#/definitions/models.Marketrun"
  8663. }
  8664. },
  8665. "500": {
  8666. "description": "Internal Server Error",
  8667. "schema": {
  8668. "$ref": "#/definitions/app.Response"
  8669. }
  8670. }
  8671. }
  8672. }
  8673. },
  8674. "/Market/QueryMarketsByLoginID": {
  8675. "get": {
  8676. "security": [
  8677. {
  8678. "ApiKeyAuth": []
  8679. }
  8680. ],
  8681. "produces": [
  8682. "application/json"
  8683. ],
  8684. "tags": [
  8685. "通用市场"
  8686. ],
  8687. "summary": "获取登录账号有权限的市场信息",
  8688. "parameters": [
  8689. {
  8690. "type": "integer",
  8691. "description": "登录账号",
  8692. "name": "loginID",
  8693. "in": "query",
  8694. "required": true
  8695. }
  8696. ],
  8697. "responses": {
  8698. "200": {
  8699. "description": "OK",
  8700. "schema": {
  8701. "$ref": "#/definitions/models.Market"
  8702. }
  8703. },
  8704. "500": {
  8705. "description": "Internal Server Error",
  8706. "schema": {
  8707. "$ref": "#/definitions/app.Response"
  8708. }
  8709. }
  8710. }
  8711. }
  8712. },
  8713. "/Order/QueryHisTradeDetail": {
  8714. "get": {
  8715. "security": [
  8716. {
  8717. "ApiKeyAuth": []
  8718. }
  8719. ],
  8720. "produces": [
  8721. "application/json"
  8722. ],
  8723. "tags": [
  8724. "通用单据"
  8725. ],
  8726. "summary": "历史成交单查询(合约市场)",
  8727. "parameters": [
  8728. {
  8729. "type": "string",
  8730. "description": "资金账户 - 格式:1,2,3",
  8731. "name": "accountID",
  8732. "in": "query",
  8733. "required": true
  8734. },
  8735. {
  8736. "type": "integer",
  8737. "description": "成交单号",
  8738. "name": "tradeID",
  8739. "in": "query"
  8740. },
  8741. {
  8742. "type": "integer",
  8743. "description": "委托单号",
  8744. "name": "orderID",
  8745. "in": "query"
  8746. },
  8747. {
  8748. "type": "integer",
  8749. "description": "商品ID",
  8750. "name": "goodsID",
  8751. "in": "query"
  8752. },
  8753. {
  8754. "type": "string",
  8755. "description": "交易模式 - 格式:1,2,3",
  8756. "name": "tradeMode",
  8757. "in": "query"
  8758. },
  8759. {
  8760. "type": "integer",
  8761. "description": "委托单据类型",
  8762. "name": "buildType",
  8763. "in": "query"
  8764. },
  8765. {
  8766. "type": "string",
  8767. "description": "成交类别 - 格式:1,2,3",
  8768. "name": "tradeType",
  8769. "in": "query"
  8770. },
  8771. {
  8772. "type": "string",
  8773. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8774. "name": "startDate",
  8775. "in": "query"
  8776. },
  8777. {
  8778. "type": "string",
  8779. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8780. "name": "endDate",
  8781. "in": "query"
  8782. }
  8783. ],
  8784. "responses": {
  8785. "200": {
  8786. "description": "OK",
  8787. "schema": {
  8788. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  8789. }
  8790. },
  8791. "500": {
  8792. "description": "Internal Server Error",
  8793. "schema": {
  8794. "$ref": "#/definitions/app.Response"
  8795. }
  8796. }
  8797. }
  8798. }
  8799. },
  8800. "/Order/QueryHisTradeOrderDetail": {
  8801. "get": {
  8802. "security": [
  8803. {
  8804. "ApiKeyAuth": []
  8805. }
  8806. ],
  8807. "produces": [
  8808. "application/json"
  8809. ],
  8810. "tags": [
  8811. "通用单据"
  8812. ],
  8813. "summary": "历史委托单查询请求(合约市场)",
  8814. "parameters": [
  8815. {
  8816. "type": "string",
  8817. "description": "资金账户 - 格式:1,2,3",
  8818. "name": "accountID",
  8819. "in": "query",
  8820. "required": true
  8821. },
  8822. {
  8823. "type": "string",
  8824. "description": "交易模式 - 格式:1,2,3",
  8825. "name": "tradeMode",
  8826. "in": "query"
  8827. },
  8828. {
  8829. "type": "string",
  8830. "description": "委托状态 - 格式:1,2,3",
  8831. "name": "orderStatus",
  8832. "in": "query"
  8833. },
  8834. {
  8835. "type": "integer",
  8836. "description": "委托单号",
  8837. "name": "orderID",
  8838. "in": "query"
  8839. },
  8840. {
  8841. "type": "string",
  8842. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  8843. "name": "startDate",
  8844. "in": "query"
  8845. },
  8846. {
  8847. "type": "string",
  8848. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  8849. "name": "endDate",
  8850. "in": "query"
  8851. }
  8852. ],
  8853. "responses": {
  8854. "200": {
  8855. "description": "OK",
  8856. "schema": {
  8857. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  8858. }
  8859. },
  8860. "500": {
  8861. "description": "Internal Server Error",
  8862. "schema": {
  8863. "$ref": "#/definitions/app.Response"
  8864. }
  8865. }
  8866. }
  8867. }
  8868. },
  8869. "/Order/QueryTradeDetail": {
  8870. "get": {
  8871. "security": [
  8872. {
  8873. "ApiKeyAuth": []
  8874. }
  8875. ],
  8876. "produces": [
  8877. "application/json"
  8878. ],
  8879. "tags": [
  8880. "通用单据"
  8881. ],
  8882. "summary": "成交单查询(合约市场)",
  8883. "parameters": [
  8884. {
  8885. "type": "string",
  8886. "description": "资金账户 - 格式:1,2,3",
  8887. "name": "accountID",
  8888. "in": "query",
  8889. "required": true
  8890. },
  8891. {
  8892. "type": "integer",
  8893. "description": "成交单号",
  8894. "name": "tradeID",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "integer",
  8899. "description": "委托单号",
  8900. "name": "orderID",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "交易模式 - 格式:1,2,3",
  8906. "name": "tradeMode",
  8907. "in": "query"
  8908. },
  8909. {
  8910. "type": "integer",
  8911. "description": "委托单据类型",
  8912. "name": "buildType",
  8913. "in": "query"
  8914. },
  8915. {
  8916. "type": "string",
  8917. "description": "成交类别 - 格式:1,2,3",
  8918. "name": "tradeType",
  8919. "in": "query"
  8920. },
  8921. {
  8922. "type": "integer",
  8923. "description": "商品ID",
  8924. "name": "goodsID",
  8925. "in": "query"
  8926. }
  8927. ],
  8928. "responses": {
  8929. "200": {
  8930. "description": "OK",
  8931. "schema": {
  8932. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  8933. }
  8934. },
  8935. "500": {
  8936. "description": "Internal Server Error",
  8937. "schema": {
  8938. "$ref": "#/definitions/app.Response"
  8939. }
  8940. }
  8941. }
  8942. }
  8943. },
  8944. "/Order/QueryTradeHolderDetail": {
  8945. "get": {
  8946. "security": [
  8947. {
  8948. "ApiKeyAuth": []
  8949. }
  8950. ],
  8951. "produces": [
  8952. "application/json"
  8953. ],
  8954. "tags": [
  8955. "通用单据"
  8956. ],
  8957. "summary": "查询持仓明细",
  8958. "parameters": [
  8959. {
  8960. "type": "integer",
  8961. "description": "用户id",
  8962. "name": "userid",
  8963. "in": "query"
  8964. },
  8965. {
  8966. "type": "string",
  8967. "description": "资金账号, 格式 1,2,3",
  8968. "name": "accids",
  8969. "in": "query"
  8970. },
  8971. {
  8972. "type": "string",
  8973. "description": "交易模式, 格式 1,2,3",
  8974. "name": "trademodes",
  8975. "in": "query"
  8976. },
  8977. {
  8978. "type": "string",
  8979. "description": "市场id, 格式 1,2,3",
  8980. "name": "marketids",
  8981. "in": "query"
  8982. },
  8983. {
  8984. "type": "integer",
  8985. "description": "商品id",
  8986. "name": "goodsid",
  8987. "in": "query"
  8988. },
  8989. {
  8990. "type": "integer",
  8991. "description": "买卖方向 0-买 1-卖",
  8992. "name": "buyorsell",
  8993. "in": "query"
  8994. }
  8995. ],
  8996. "responses": {
  8997. "200": {
  8998. "description": "OK",
  8999. "schema": {
  9000. "type": "array",
  9001. "items": {
  9002. "$ref": "#/definitions/models.TradeHolderDetail"
  9003. }
  9004. }
  9005. },
  9006. "500": {
  9007. "description": "Internal Server Error",
  9008. "schema": {
  9009. "$ref": "#/definitions/app.Response"
  9010. }
  9011. }
  9012. }
  9013. }
  9014. },
  9015. "/Order/QueryTradeOrderDetail": {
  9016. "get": {
  9017. "security": [
  9018. {
  9019. "ApiKeyAuth": []
  9020. }
  9021. ],
  9022. "produces": [
  9023. "application/json"
  9024. ],
  9025. "tags": [
  9026. "通用单据"
  9027. ],
  9028. "summary": "委托单查询请求(合约市场)",
  9029. "parameters": [
  9030. {
  9031. "type": "string",
  9032. "description": "资金账户 - 格式:1,2,3",
  9033. "name": "accountID",
  9034. "in": "query",
  9035. "required": true
  9036. },
  9037. {
  9038. "type": "string",
  9039. "description": "交易模式 - 格式:1,2,3",
  9040. "name": "tradeMode",
  9041. "in": "query"
  9042. },
  9043. {
  9044. "type": "string",
  9045. "description": "委托状态 - 格式:1,2,3",
  9046. "name": "orderStatus",
  9047. "in": "query"
  9048. },
  9049. {
  9050. "type": "integer",
  9051. "description": "委托单号",
  9052. "name": "orderID",
  9053. "in": "query"
  9054. }
  9055. ],
  9056. "responses": {
  9057. "200": {
  9058. "description": "OK",
  9059. "schema": {
  9060. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9061. }
  9062. },
  9063. "500": {
  9064. "description": "Internal Server Error",
  9065. "schema": {
  9066. "$ref": "#/definitions/app.Response"
  9067. }
  9068. }
  9069. }
  9070. }
  9071. },
  9072. "/Order/QueryTradePosition": {
  9073. "get": {
  9074. "security": [
  9075. {
  9076. "ApiKeyAuth": []
  9077. }
  9078. ],
  9079. "produces": [
  9080. "application/json"
  9081. ],
  9082. "tags": [
  9083. "通用单据"
  9084. ],
  9085. "summary": "持仓汇总查询(合约市场)",
  9086. "parameters": [
  9087. {
  9088. "type": "string",
  9089. "description": "资金账户 - 格式:1,2,3",
  9090. "name": "accountID",
  9091. "in": "query",
  9092. "required": true
  9093. },
  9094. {
  9095. "type": "string",
  9096. "description": "交易模式 - 格式:1,2,3",
  9097. "name": "tradeMode",
  9098. "in": "query"
  9099. }
  9100. ],
  9101. "responses": {
  9102. "200": {
  9103. "description": "OK",
  9104. "schema": {
  9105. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9106. }
  9107. },
  9108. "500": {
  9109. "description": "Internal Server Error",
  9110. "schema": {
  9111. "$ref": "#/definitions/app.Response"
  9112. }
  9113. }
  9114. }
  9115. }
  9116. },
  9117. "/Qhj/QueryAccountInOutApply": {
  9118. "get": {
  9119. "security": [
  9120. {
  9121. "ApiKeyAuth": []
  9122. }
  9123. ],
  9124. "produces": [
  9125. "application/json"
  9126. ],
  9127. "tags": [
  9128. "大连千海金"
  9129. ],
  9130. "summary": "查询充值提现",
  9131. "parameters": [
  9132. {
  9133. "type": "integer",
  9134. "description": "用户ID",
  9135. "name": "userid",
  9136. "in": "query",
  9137. "required": true
  9138. },
  9139. {
  9140. "type": "string",
  9141. "description": "申请起始日期(格式yyyymmdd)",
  9142. "name": "begindate",
  9143. "in": "query"
  9144. },
  9145. {
  9146. "type": "string",
  9147. "description": "申请截止日期(格式yyyymmdd)",
  9148. "name": "enddate",
  9149. "in": "query"
  9150. },
  9151. {
  9152. "type": "string",
  9153. "description": "模糊搜索名称",
  9154. "name": "likename",
  9155. "in": "query"
  9156. },
  9157. {
  9158. "type": "integer",
  9159. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9160. "name": "applystatus",
  9161. "in": "query"
  9162. },
  9163. {
  9164. "type": "integer",
  9165. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  9166. "name": "querytype",
  9167. "in": "query"
  9168. }
  9169. ],
  9170. "responses": {
  9171. "200": {
  9172. "description": "OK",
  9173. "schema": {
  9174. "type": "array",
  9175. "items": {
  9176. "$ref": "#/definitions/models.QhjAccountOutInApply"
  9177. }
  9178. }
  9179. },
  9180. "500": {
  9181. "description": "Internal Server Error",
  9182. "schema": {
  9183. "$ref": "#/definitions/app.Response"
  9184. }
  9185. }
  9186. }
  9187. }
  9188. },
  9189. "/Qhj/QueryAreaFinanceConfig": {
  9190. "get": {
  9191. "security": [
  9192. {
  9193. "ApiKeyAuth": []
  9194. }
  9195. ],
  9196. "produces": [
  9197. "application/json"
  9198. ],
  9199. "tags": [
  9200. "大连千海金"
  9201. ],
  9202. "summary": "查询企业配置表",
  9203. "parameters": [
  9204. {
  9205. "type": "integer",
  9206. "description": "机构用户ID 其他做市关系,都设置为 1",
  9207. "name": "userid",
  9208. "in": "query"
  9209. }
  9210. ],
  9211. "responses": {
  9212. "200": {
  9213. "description": "OK",
  9214. "schema": {
  9215. "type": "array",
  9216. "items": {
  9217. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  9218. }
  9219. }
  9220. },
  9221. "500": {
  9222. "description": "Internal Server Error",
  9223. "schema": {
  9224. "$ref": "#/definitions/app.Response"
  9225. }
  9226. }
  9227. }
  9228. }
  9229. },
  9230. "/Qhj/QueryBankAccountSign": {
  9231. "get": {
  9232. "security": [
  9233. {
  9234. "ApiKeyAuth": []
  9235. }
  9236. ],
  9237. "produces": [
  9238. "application/json"
  9239. ],
  9240. "tags": [
  9241. "大连千海金"
  9242. ],
  9243. "summary": "查询签约银行信息(提现账户管理)",
  9244. "parameters": [
  9245. {
  9246. "type": "integer",
  9247. "description": "用户ID",
  9248. "name": "userid",
  9249. "in": "query",
  9250. "required": true
  9251. }
  9252. ],
  9253. "responses": {
  9254. "200": {
  9255. "description": "OK",
  9256. "schema": {
  9257. "type": "array",
  9258. "items": {
  9259. "$ref": "#/definitions/models.QhjBankAccountSign"
  9260. }
  9261. }
  9262. },
  9263. "500": {
  9264. "description": "Internal Server Error",
  9265. "schema": {
  9266. "$ref": "#/definitions/app.Response"
  9267. }
  9268. }
  9269. }
  9270. }
  9271. },
  9272. "/Qhj/QueryBankInfo": {
  9273. "get": {
  9274. "security": [
  9275. {
  9276. "ApiKeyAuth": []
  9277. }
  9278. ],
  9279. "produces": [
  9280. "application/json"
  9281. ],
  9282. "tags": [
  9283. "大连千海金"
  9284. ],
  9285. "summary": "查询开户行",
  9286. "responses": {
  9287. "200": {
  9288. "description": "OK",
  9289. "schema": {
  9290. "type": "array",
  9291. "items": {
  9292. "$ref": "#/definitions/models.QhjBankInfo"
  9293. }
  9294. }
  9295. },
  9296. "500": {
  9297. "description": "Internal Server Error",
  9298. "schema": {
  9299. "$ref": "#/definitions/app.Response"
  9300. }
  9301. }
  9302. }
  9303. }
  9304. },
  9305. "/Qhj/QueryBrokerApply": {
  9306. "get": {
  9307. "security": [
  9308. {
  9309. "ApiKeyAuth": []
  9310. }
  9311. ],
  9312. "produces": [
  9313. "application/json"
  9314. ],
  9315. "tags": [
  9316. "大连千海金"
  9317. ],
  9318. "summary": "查询经纪人申请",
  9319. "parameters": [
  9320. {
  9321. "type": "integer",
  9322. "description": "所属机构ID",
  9323. "name": "userid",
  9324. "in": "query"
  9325. },
  9326. {
  9327. "type": "string",
  9328. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  9329. "name": "filterstatus",
  9330. "in": "query"
  9331. }
  9332. ],
  9333. "responses": {
  9334. "200": {
  9335. "description": "OK",
  9336. "schema": {
  9337. "type": "array",
  9338. "items": {
  9339. "$ref": "#/definitions/models.QhjBrokerApply"
  9340. }
  9341. }
  9342. },
  9343. "500": {
  9344. "description": "Internal Server Error",
  9345. "schema": {
  9346. "$ref": "#/definitions/app.Response"
  9347. }
  9348. }
  9349. }
  9350. }
  9351. },
  9352. "/Qhj/QueryBrokerApplyEx": {
  9353. "get": {
  9354. "security": [
  9355. {
  9356. "ApiKeyAuth": []
  9357. }
  9358. ],
  9359. "produces": [
  9360. "application/json"
  9361. ],
  9362. "tags": [
  9363. "大连千海金"
  9364. ],
  9365. "summary": "查询经纪人信息和申请记录",
  9366. "parameters": [
  9367. {
  9368. "type": "integer",
  9369. "description": "所属机构ID",
  9370. "name": "userid",
  9371. "in": "query"
  9372. }
  9373. ],
  9374. "responses": {
  9375. "200": {
  9376. "description": "OK",
  9377. "schema": {
  9378. "type": "array",
  9379. "items": {
  9380. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  9381. }
  9382. }
  9383. },
  9384. "500": {
  9385. "description": "Internal Server Error",
  9386. "schema": {
  9387. "$ref": "#/definitions/app.Response"
  9388. }
  9389. }
  9390. }
  9391. }
  9392. },
  9393. "/Qhj/QueryBrokerRewardLog": {
  9394. "get": {
  9395. "security": [
  9396. {
  9397. "ApiKeyAuth": []
  9398. }
  9399. ],
  9400. "produces": [
  9401. "application/json"
  9402. ],
  9403. "tags": [
  9404. "大连千海金"
  9405. ],
  9406. "summary": "查询奖励流水(我的奖励)",
  9407. "parameters": [
  9408. {
  9409. "type": "integer",
  9410. "description": "用户ID",
  9411. "name": "userid",
  9412. "in": "query",
  9413. "required": true
  9414. },
  9415. {
  9416. "type": "string",
  9417. "description": "开始交易日(yyyymmdd)",
  9418. "name": "begindate",
  9419. "in": "query"
  9420. },
  9421. {
  9422. "type": "string",
  9423. "description": "结束交易日(yyyymmdd)",
  9424. "name": "enddate",
  9425. "in": "query"
  9426. }
  9427. ],
  9428. "responses": {
  9429. "200": {
  9430. "description": "OK",
  9431. "schema": {
  9432. "type": "array",
  9433. "items": {
  9434. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  9435. }
  9436. }
  9437. },
  9438. "500": {
  9439. "description": "Internal Server Error",
  9440. "schema": {
  9441. "$ref": "#/definitions/app.Response"
  9442. }
  9443. }
  9444. }
  9445. }
  9446. },
  9447. "/Qhj/QueryContract": {
  9448. "get": {
  9449. "security": [
  9450. {
  9451. "ApiKeyAuth": []
  9452. }
  9453. ],
  9454. "produces": [
  9455. "application/json"
  9456. ],
  9457. "tags": [
  9458. "大连千海金"
  9459. ],
  9460. "summary": "查询融资明细(合同)",
  9461. "parameters": [
  9462. {
  9463. "type": "integer",
  9464. "description": "用户ID",
  9465. "name": "userid",
  9466. "in": "query"
  9467. },
  9468. {
  9469. "type": "integer",
  9470. "description": "scf合同id",
  9471. "name": "scfcontractid",
  9472. "in": "query"
  9473. }
  9474. ],
  9475. "responses": {
  9476. "200": {
  9477. "description": "OK",
  9478. "schema": {
  9479. "type": "array",
  9480. "items": {
  9481. "$ref": "#/definitions/models.QhjContract"
  9482. }
  9483. }
  9484. },
  9485. "500": {
  9486. "description": "Internal Server Error",
  9487. "schema": {
  9488. "$ref": "#/definitions/app.Response"
  9489. }
  9490. }
  9491. }
  9492. }
  9493. },
  9494. "/Qhj/QueryContractLog": {
  9495. "get": {
  9496. "security": [
  9497. {
  9498. "ApiKeyAuth": []
  9499. }
  9500. ],
  9501. "produces": [
  9502. "application/json"
  9503. ],
  9504. "tags": [
  9505. "大连千海金"
  9506. ],
  9507. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  9508. "parameters": [
  9509. {
  9510. "type": "integer",
  9511. "description": "scf合同id",
  9512. "name": "scfcontractid",
  9513. "in": "query",
  9514. "required": true
  9515. },
  9516. {
  9517. "type": "string",
  9518. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  9519. "name": "amounttype",
  9520. "in": "query"
  9521. }
  9522. ],
  9523. "responses": {
  9524. "200": {
  9525. "description": "OK",
  9526. "schema": {
  9527. "type": "array",
  9528. "items": {
  9529. "$ref": "#/definitions/models.QhjContractLog"
  9530. }
  9531. }
  9532. },
  9533. "500": {
  9534. "description": "Internal Server Error",
  9535. "schema": {
  9536. "$ref": "#/definitions/app.Response"
  9537. }
  9538. }
  9539. }
  9540. }
  9541. },
  9542. "/Qhj/QueryCusBankSignBank": {
  9543. "get": {
  9544. "security": [
  9545. {
  9546. "ApiKeyAuth": []
  9547. }
  9548. ],
  9549. "produces": [
  9550. "application/json"
  9551. ],
  9552. "tags": [
  9553. "大连千海金"
  9554. ],
  9555. "summary": "查询托管银行",
  9556. "responses": {
  9557. "200": {
  9558. "description": "OK",
  9559. "schema": {
  9560. "type": "array",
  9561. "items": {
  9562. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  9563. }
  9564. }
  9565. },
  9566. "500": {
  9567. "description": "Internal Server Error",
  9568. "schema": {
  9569. "$ref": "#/definitions/app.Response"
  9570. }
  9571. }
  9572. }
  9573. }
  9574. },
  9575. "/Qhj/QueryCustomerInfo": {
  9576. "get": {
  9577. "security": [
  9578. {
  9579. "ApiKeyAuth": []
  9580. }
  9581. ],
  9582. "produces": [
  9583. "application/json"
  9584. ],
  9585. "tags": [
  9586. "大连千海金"
  9587. ],
  9588. "summary": "查询客户资料",
  9589. "parameters": [
  9590. {
  9591. "type": "integer",
  9592. "description": "用户ID",
  9593. "name": "userid",
  9594. "in": "query",
  9595. "required": true
  9596. },
  9597. {
  9598. "type": "integer",
  9599. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  9600. "name": "querytype",
  9601. "in": "query",
  9602. "required": true
  9603. },
  9604. {
  9605. "type": "integer",
  9606. "description": "客户类型 1-个人 2-企业",
  9607. "name": "userinfotype",
  9608. "in": "query"
  9609. },
  9610. {
  9611. "type": "string",
  9612. "description": "客户名称(模糊匹配)",
  9613. "name": "customername",
  9614. "in": "query"
  9615. },
  9616. {
  9617. "type": "string",
  9618. "description": "昵称(模糊匹配)",
  9619. "name": "nickname",
  9620. "in": "query"
  9621. },
  9622. {
  9623. "type": "integer",
  9624. "description": "是否包含子级 1-包含",
  9625. "name": "includesub",
  9626. "in": "query"
  9627. }
  9628. ],
  9629. "responses": {
  9630. "200": {
  9631. "description": "OK",
  9632. "schema": {
  9633. "type": "array",
  9634. "items": {
  9635. "$ref": "#/definitions/models.QhjCustomer"
  9636. }
  9637. }
  9638. },
  9639. "500": {
  9640. "description": "Internal Server Error",
  9641. "schema": {
  9642. "$ref": "#/definitions/app.Response"
  9643. }
  9644. }
  9645. }
  9646. }
  9647. },
  9648. "/Qhj/QueryGoodsEx": {
  9649. "get": {
  9650. "security": [
  9651. {
  9652. "ApiKeyAuth": []
  9653. }
  9654. ],
  9655. "produces": [
  9656. "application/json"
  9657. ],
  9658. "tags": [
  9659. "大连千海金"
  9660. ],
  9661. "summary": "交易商品扩展表",
  9662. "parameters": [
  9663. {
  9664. "type": "integer",
  9665. "description": "商品id",
  9666. "name": "goodsid",
  9667. "in": "query"
  9668. }
  9669. ],
  9670. "responses": {
  9671. "200": {
  9672. "description": "OK",
  9673. "schema": {
  9674. "type": "array",
  9675. "items": {
  9676. "$ref": "#/definitions/models.Qhjgoodsex"
  9677. }
  9678. }
  9679. },
  9680. "500": {
  9681. "description": "Internal Server Error",
  9682. "schema": {
  9683. "$ref": "#/definitions/app.Response"
  9684. }
  9685. }
  9686. }
  9687. }
  9688. },
  9689. "/Qhj/QueryMyTeam": {
  9690. "get": {
  9691. "security": [
  9692. {
  9693. "ApiKeyAuth": []
  9694. }
  9695. ],
  9696. "produces": [
  9697. "application/json"
  9698. ],
  9699. "tags": [
  9700. "大连千海金"
  9701. ],
  9702. "summary": "查询我的团队",
  9703. "parameters": [
  9704. {
  9705. "type": "integer",
  9706. "description": "用户ID",
  9707. "name": "userid",
  9708. "in": "query",
  9709. "required": true
  9710. }
  9711. ],
  9712. "responses": {
  9713. "200": {
  9714. "description": "OK",
  9715. "schema": {
  9716. "type": "array",
  9717. "items": {
  9718. "$ref": "#/definitions/models.QhjMyTeamEx"
  9719. }
  9720. }
  9721. },
  9722. "500": {
  9723. "description": "Internal Server Error",
  9724. "schema": {
  9725. "$ref": "#/definitions/app.Response"
  9726. }
  9727. }
  9728. }
  9729. }
  9730. },
  9731. "/Qhj/QueryMyTeamOrder": {
  9732. "get": {
  9733. "security": [
  9734. {
  9735. "ApiKeyAuth": []
  9736. }
  9737. ],
  9738. "produces": [
  9739. "application/json"
  9740. ],
  9741. "tags": [
  9742. "大连千海金"
  9743. ],
  9744. "summary": "查询团队订单(我的团队/团队订单)",
  9745. "parameters": [
  9746. {
  9747. "type": "integer",
  9748. "description": "页码",
  9749. "name": "page",
  9750. "in": "query"
  9751. },
  9752. {
  9753. "type": "integer",
  9754. "description": "每页条数",
  9755. "name": "pagesize",
  9756. "in": "query"
  9757. },
  9758. {
  9759. "type": "integer",
  9760. "description": "用户ID",
  9761. "name": "userid",
  9762. "in": "query",
  9763. "required": true
  9764. },
  9765. {
  9766. "type": "integer",
  9767. "description": "交易模式",
  9768. "name": "trademode",
  9769. "in": "query"
  9770. },
  9771. {
  9772. "type": "string",
  9773. "description": "名称(模糊搜索账户)",
  9774. "name": "filtername",
  9775. "in": "query"
  9776. }
  9777. ],
  9778. "responses": {
  9779. "200": {
  9780. "description": "OK",
  9781. "schema": {
  9782. "type": "array",
  9783. "items": {
  9784. "$ref": "#/definitions/models.QhjTeamOrder"
  9785. }
  9786. }
  9787. },
  9788. "500": {
  9789. "description": "Internal Server Error",
  9790. "schema": {
  9791. "$ref": "#/definitions/app.Response"
  9792. }
  9793. }
  9794. }
  9795. }
  9796. },
  9797. "/Qhj/QueryParentAreaList": {
  9798. "get": {
  9799. "security": [
  9800. {
  9801. "ApiKeyAuth": []
  9802. }
  9803. ],
  9804. "produces": [
  9805. "application/json"
  9806. ],
  9807. "tags": [
  9808. "大连千海金"
  9809. ],
  9810. "summary": "查询所属机构列表",
  9811. "parameters": [
  9812. {
  9813. "type": "integer",
  9814. "description": "用户ID",
  9815. "name": "userid",
  9816. "in": "query",
  9817. "required": true
  9818. }
  9819. ],
  9820. "responses": {
  9821. "200": {
  9822. "description": "OK",
  9823. "schema": {
  9824. "type": "array",
  9825. "items": {
  9826. "$ref": "#/definitions/models.QhjParentAreaList"
  9827. }
  9828. }
  9829. },
  9830. "500": {
  9831. "description": "Internal Server Error",
  9832. "schema": {
  9833. "$ref": "#/definitions/app.Response"
  9834. }
  9835. }
  9836. }
  9837. }
  9838. },
  9839. "/Qhj/QueryPayOrder": {
  9840. "get": {
  9841. "security": [
  9842. {
  9843. "ApiKeyAuth": []
  9844. }
  9845. ],
  9846. "produces": [
  9847. "application/json"
  9848. ],
  9849. "tags": [
  9850. "大连千海金"
  9851. ],
  9852. "summary": "查询待付款单据",
  9853. "parameters": [
  9854. {
  9855. "type": "integer",
  9856. "description": "资金账号id",
  9857. "name": "accountid",
  9858. "in": "query",
  9859. "required": true
  9860. },
  9861. {
  9862. "type": "integer",
  9863. "description": "成交单号",
  9864. "name": "tradeid",
  9865. "in": "query"
  9866. },
  9867. {
  9868. "type": "string",
  9869. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  9870. "name": "payflag",
  9871. "in": "query"
  9872. }
  9873. ],
  9874. "responses": {
  9875. "200": {
  9876. "description": "OK",
  9877. "schema": {
  9878. "type": "array",
  9879. "items": {
  9880. "$ref": "#/definitions/models.QhjPayOrder"
  9881. }
  9882. }
  9883. },
  9884. "500": {
  9885. "description": "Internal Server Error",
  9886. "schema": {
  9887. "$ref": "#/definitions/app.Response"
  9888. }
  9889. }
  9890. }
  9891. }
  9892. },
  9893. "/Qhj/QueryPickArea": {
  9894. "get": {
  9895. "security": [
  9896. {
  9897. "ApiKeyAuth": []
  9898. }
  9899. ],
  9900. "produces": [
  9901. "application/json"
  9902. ],
  9903. "tags": [
  9904. "大连千海金"
  9905. ],
  9906. "summary": "查询提货门店",
  9907. "parameters": [
  9908. {
  9909. "type": "integer",
  9910. "description": "用户ID",
  9911. "name": "userid",
  9912. "in": "query"
  9913. }
  9914. ],
  9915. "responses": {
  9916. "200": {
  9917. "description": "OK",
  9918. "schema": {
  9919. "type": "array",
  9920. "items": {
  9921. "$ref": "#/definitions/models.QhjPickArea"
  9922. }
  9923. }
  9924. },
  9925. "500": {
  9926. "description": "Internal Server Error",
  9927. "schema": {
  9928. "$ref": "#/definitions/app.Response"
  9929. }
  9930. }
  9931. }
  9932. }
  9933. },
  9934. "/Qhj/QueryPickGoods": {
  9935. "get": {
  9936. "security": [
  9937. {
  9938. "ApiKeyAuth": []
  9939. }
  9940. ],
  9941. "produces": [
  9942. "application/json"
  9943. ],
  9944. "tags": [
  9945. "大连千海金"
  9946. ],
  9947. "summary": "查询提货商品",
  9948. "parameters": [
  9949. {
  9950. "type": "integer",
  9951. "description": "交易商品id",
  9952. "name": "goodsid",
  9953. "in": "query",
  9954. "required": true
  9955. },
  9956. {
  9957. "type": "string",
  9958. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  9959. "name": "status",
  9960. "in": "query"
  9961. }
  9962. ],
  9963. "responses": {
  9964. "200": {
  9965. "description": "OK",
  9966. "schema": {
  9967. "type": "array",
  9968. "items": {
  9969. "$ref": "#/definitions/models.QhjPickGoods"
  9970. }
  9971. }
  9972. },
  9973. "500": {
  9974. "description": "Internal Server Error",
  9975. "schema": {
  9976. "$ref": "#/definitions/app.Response"
  9977. }
  9978. }
  9979. }
  9980. }
  9981. },
  9982. "/Qhj/QueryRSTriggerLog": {
  9983. "get": {
  9984. "security": [
  9985. {
  9986. "ApiKeyAuth": []
  9987. }
  9988. ],
  9989. "produces": [
  9990. "application/json"
  9991. ],
  9992. "tags": [
  9993. "大连千海金"
  9994. ],
  9995. "summary": "查询定投记录(定投管理/详情/定投记录)",
  9996. "parameters": [
  9997. {
  9998. "type": "integer",
  9999. "description": "用户ID",
  10000. "name": "userid",
  10001. "in": "query"
  10002. },
  10003. {
  10004. "type": "integer",
  10005. "description": "定投策略id",
  10006. "name": "regularlystrategyid",
  10007. "in": "query"
  10008. },
  10009. {
  10010. "type": "integer",
  10011. "description": "商品id",
  10012. "name": "goodsid",
  10013. "in": "query"
  10014. },
  10015. {
  10016. "type": "string",
  10017. "description": "开始交易日(yyyymmdd)",
  10018. "name": "begindate",
  10019. "in": "query"
  10020. },
  10021. {
  10022. "type": "string",
  10023. "description": "结束交易日(yyyymmdd)",
  10024. "name": "enddate",
  10025. "in": "query"
  10026. },
  10027. {
  10028. "type": "string",
  10029. "description": "名称(模糊搜索账户)",
  10030. "name": "filtername",
  10031. "in": "query"
  10032. }
  10033. ],
  10034. "responses": {
  10035. "200": {
  10036. "description": "OK",
  10037. "schema": {
  10038. "type": "array",
  10039. "items": {
  10040. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10041. }
  10042. }
  10043. },
  10044. "500": {
  10045. "description": "Internal Server Error",
  10046. "schema": {
  10047. "$ref": "#/definitions/app.Response"
  10048. }
  10049. }
  10050. }
  10051. }
  10052. },
  10053. "/Qhj/QueryRStrategy": {
  10054. "get": {
  10055. "security": [
  10056. {
  10057. "ApiKeyAuth": []
  10058. }
  10059. ],
  10060. "produces": [
  10061. "application/json"
  10062. ],
  10063. "tags": [
  10064. "大连千海金"
  10065. ],
  10066. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10067. "parameters": [
  10068. {
  10069. "type": "integer",
  10070. "description": "用户ID",
  10071. "name": "userid",
  10072. "in": "query"
  10073. },
  10074. {
  10075. "type": "integer",
  10076. "description": "商品id",
  10077. "name": "goodsid",
  10078. "in": "query"
  10079. },
  10080. {
  10081. "type": "string",
  10082. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10083. "name": "status",
  10084. "in": "query"
  10085. },
  10086. {
  10087. "type": "string",
  10088. "description": "名称(模糊搜索账户)",
  10089. "name": "filtername",
  10090. "in": "query"
  10091. }
  10092. ],
  10093. "responses": {
  10094. "200": {
  10095. "description": "OK",
  10096. "schema": {
  10097. "type": "array",
  10098. "items": {
  10099. "$ref": "#/definitions/models.QhjRStrategy"
  10100. }
  10101. }
  10102. },
  10103. "500": {
  10104. "description": "Internal Server Error",
  10105. "schema": {
  10106. "$ref": "#/definitions/app.Response"
  10107. }
  10108. }
  10109. }
  10110. }
  10111. },
  10112. "/Qhj/QueryReckonPriceLog": {
  10113. "get": {
  10114. "security": [
  10115. {
  10116. "ApiKeyAuth": []
  10117. }
  10118. ],
  10119. "produces": [
  10120. "application/json"
  10121. ],
  10122. "tags": [
  10123. "大连千海金"
  10124. ],
  10125. "summary": "查询定投价(结算价)",
  10126. "parameters": [
  10127. {
  10128. "type": "integer",
  10129. "description": "商品ID",
  10130. "name": "goodsid",
  10131. "in": "query"
  10132. },
  10133. {
  10134. "type": "string",
  10135. "description": "交易日 格式(yyyymmdd)",
  10136. "name": "tradedate",
  10137. "in": "query"
  10138. }
  10139. ],
  10140. "responses": {
  10141. "200": {
  10142. "description": "OK",
  10143. "schema": {
  10144. "type": "array",
  10145. "items": {
  10146. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10147. }
  10148. }
  10149. },
  10150. "500": {
  10151. "description": "Internal Server Error",
  10152. "schema": {
  10153. "$ref": "#/definitions/app.Response"
  10154. }
  10155. }
  10156. }
  10157. }
  10158. },
  10159. "/Qhj/QueryScoreLog": {
  10160. "get": {
  10161. "security": [
  10162. {
  10163. "ApiKeyAuth": []
  10164. }
  10165. ],
  10166. "produces": [
  10167. "application/json"
  10168. ],
  10169. "tags": [
  10170. "大连千海金"
  10171. ],
  10172. "summary": "查询积分流水(我的积分)",
  10173. "parameters": [
  10174. {
  10175. "type": "integer",
  10176. "description": "用户ID",
  10177. "name": "userid",
  10178. "in": "query",
  10179. "required": true
  10180. },
  10181. {
  10182. "type": "string",
  10183. "description": "开始交易日(yyyymmdd)",
  10184. "name": "begindate",
  10185. "in": "query"
  10186. },
  10187. {
  10188. "type": "string",
  10189. "description": "结束交易日(yyyymmdd)",
  10190. "name": "enddate",
  10191. "in": "query"
  10192. },
  10193. {
  10194. "type": "integer",
  10195. "description": "最近多少条",
  10196. "name": "lastnum",
  10197. "in": "query"
  10198. }
  10199. ],
  10200. "responses": {
  10201. "200": {
  10202. "description": "OK",
  10203. "schema": {
  10204. "type": "array",
  10205. "items": {
  10206. "$ref": "#/definitions/models.QhjScoreLog"
  10207. }
  10208. }
  10209. },
  10210. "500": {
  10211. "description": "Internal Server Error",
  10212. "schema": {
  10213. "$ref": "#/definitions/app.Response"
  10214. }
  10215. }
  10216. }
  10217. }
  10218. },
  10219. "/Qhj/QuerySiteColumnDetail": {
  10220. "get": {
  10221. "security": [
  10222. {
  10223. "ApiKeyAuth": []
  10224. }
  10225. ],
  10226. "produces": [
  10227. "application/json"
  10228. ],
  10229. "tags": [
  10230. "大连千海金"
  10231. ],
  10232. "summary": "查询资讯",
  10233. "parameters": [
  10234. {
  10235. "type": "integer",
  10236. "description": "用户ID",
  10237. "name": "userid",
  10238. "in": "query",
  10239. "required": true
  10240. }
  10241. ],
  10242. "responses": {
  10243. "200": {
  10244. "description": "OK",
  10245. "schema": {
  10246. "type": "array",
  10247. "items": {
  10248. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  10249. }
  10250. }
  10251. },
  10252. "500": {
  10253. "description": "Internal Server Error",
  10254. "schema": {
  10255. "$ref": "#/definitions/app.Response"
  10256. }
  10257. }
  10258. }
  10259. }
  10260. },
  10261. "/Qhj/QueryTradeGoodsPickup": {
  10262. "get": {
  10263. "security": [
  10264. {
  10265. "ApiKeyAuth": []
  10266. }
  10267. ],
  10268. "produces": [
  10269. "application/json"
  10270. ],
  10271. "tags": [
  10272. "大连千海金"
  10273. ],
  10274. "summary": "查询提货",
  10275. "parameters": [
  10276. {
  10277. "type": "integer",
  10278. "description": "用户ID",
  10279. "name": "userid",
  10280. "in": "query",
  10281. "required": true
  10282. },
  10283. {
  10284. "type": "integer",
  10285. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  10286. "name": "takeorderstatus",
  10287. "in": "query"
  10288. }
  10289. ],
  10290. "responses": {
  10291. "200": {
  10292. "description": "OK",
  10293. "schema": {
  10294. "type": "array",
  10295. "items": {
  10296. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  10297. }
  10298. }
  10299. },
  10300. "500": {
  10301. "description": "Internal Server Error",
  10302. "schema": {
  10303. "$ref": "#/definitions/app.Response"
  10304. }
  10305. }
  10306. }
  10307. }
  10308. },
  10309. "/Qhj/QueryUserCollectConfig": {
  10310. "get": {
  10311. "security": [
  10312. {
  10313. "ApiKeyAuth": []
  10314. }
  10315. ],
  10316. "produces": [
  10317. "application/json"
  10318. ],
  10319. "tags": [
  10320. "大连千海金"
  10321. ],
  10322. "summary": "查询提现账户设置",
  10323. "parameters": [
  10324. {
  10325. "type": "integer",
  10326. "description": "用户ID",
  10327. "name": "userid",
  10328. "in": "query",
  10329. "required": true
  10330. }
  10331. ],
  10332. "responses": {
  10333. "200": {
  10334. "description": "OK",
  10335. "schema": {
  10336. "type": "array",
  10337. "items": {
  10338. "$ref": "#/definitions/models.UserCollectConfig"
  10339. }
  10340. }
  10341. },
  10342. "500": {
  10343. "description": "Internal Server Error",
  10344. "schema": {
  10345. "$ref": "#/definitions/app.Response"
  10346. }
  10347. }
  10348. }
  10349. }
  10350. },
  10351. "/Qhj/QueryUserReceiveInfo": {
  10352. "get": {
  10353. "security": [
  10354. {
  10355. "ApiKeyAuth": []
  10356. }
  10357. ],
  10358. "produces": [
  10359. "application/json"
  10360. ],
  10361. "tags": [
  10362. "大连千海金"
  10363. ],
  10364. "summary": "查询收货地址信息",
  10365. "parameters": [
  10366. {
  10367. "type": "integer",
  10368. "description": "用户ID",
  10369. "name": "userid",
  10370. "in": "query",
  10371. "required": true
  10372. }
  10373. ],
  10374. "responses": {
  10375. "200": {
  10376. "description": "OK",
  10377. "schema": {
  10378. "type": "array",
  10379. "items": {
  10380. "$ref": "#/definitions/models.UserReceiveInfo"
  10381. }
  10382. }
  10383. },
  10384. "500": {
  10385. "description": "Internal Server Error",
  10386. "schema": {
  10387. "$ref": "#/definitions/app.Response"
  10388. }
  10389. }
  10390. }
  10391. }
  10392. },
  10393. "/QhjMgr/QueryAccountInOutApply": {
  10394. "get": {
  10395. "security": [
  10396. {
  10397. "ApiKeyAuth": []
  10398. }
  10399. ],
  10400. "produces": [
  10401. "application/json"
  10402. ],
  10403. "tags": [
  10404. "大连千海金(PCWeb)"
  10405. ],
  10406. "summary": "查询充值提现",
  10407. "parameters": [
  10408. {
  10409. "type": "integer",
  10410. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  10411. "name": "querytype",
  10412. "in": "query",
  10413. "required": true
  10414. },
  10415. {
  10416. "type": "integer",
  10417. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10418. "name": "applystatus",
  10419. "in": "query"
  10420. },
  10421. {
  10422. "type": "string",
  10423. "description": "申请起始日期(格式yyyymmdd)",
  10424. "name": "begindate",
  10425. "in": "query"
  10426. },
  10427. {
  10428. "type": "string",
  10429. "description": "申请截止日期(格式yyyymmdd)",
  10430. "name": "enddate",
  10431. "in": "query"
  10432. },
  10433. {
  10434. "type": "string",
  10435. "description": "模糊搜索名称",
  10436. "name": "likename",
  10437. "in": "query"
  10438. }
  10439. ],
  10440. "responses": {
  10441. "200": {
  10442. "description": "OK",
  10443. "schema": {
  10444. "type": "array",
  10445. "items": {
  10446. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  10447. }
  10448. }
  10449. },
  10450. "500": {
  10451. "description": "Internal Server Error",
  10452. "schema": {
  10453. "$ref": "#/definitions/app.Response"
  10454. }
  10455. }
  10456. }
  10457. }
  10458. },
  10459. "/QhjMgr/QueryBrokerApply": {
  10460. "get": {
  10461. "security": [
  10462. {
  10463. "ApiKeyAuth": []
  10464. }
  10465. ],
  10466. "produces": [
  10467. "application/json"
  10468. ],
  10469. "tags": [
  10470. "大连千海金(PCWeb)"
  10471. ],
  10472. "summary": "查询经纪人申请",
  10473. "parameters": [
  10474. {
  10475. "type": "integer",
  10476. "description": "所属机构ID",
  10477. "name": "userid",
  10478. "in": "query"
  10479. },
  10480. {
  10481. "type": "string",
  10482. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10483. "name": "filterstatus",
  10484. "in": "query"
  10485. },
  10486. {
  10487. "type": "string",
  10488. "description": "名称(模糊匹配)",
  10489. "name": "filtername",
  10490. "in": "query"
  10491. },
  10492. {
  10493. "type": "integer",
  10494. "description": "是否包含子级 1-包含",
  10495. "name": "includesub",
  10496. "in": "query"
  10497. }
  10498. ],
  10499. "responses": {
  10500. "200": {
  10501. "description": "OK",
  10502. "schema": {
  10503. "type": "array",
  10504. "items": {
  10505. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  10506. }
  10507. }
  10508. },
  10509. "500": {
  10510. "description": "Internal Server Error",
  10511. "schema": {
  10512. "$ref": "#/definitions/app.Response"
  10513. }
  10514. }
  10515. }
  10516. }
  10517. },
  10518. "/QhjMgr/QueryBrokerRewardReport": {
  10519. "get": {
  10520. "security": [
  10521. {
  10522. "ApiKeyAuth": []
  10523. }
  10524. ],
  10525. "produces": [
  10526. "application/json"
  10527. ],
  10528. "tags": [
  10529. "大连千海金(PCWeb)"
  10530. ],
  10531. "summary": "查询经纪人奖励报表(废弃)",
  10532. "parameters": [
  10533. {
  10534. "type": "integer",
  10535. "description": "所属机构ID",
  10536. "name": "userid",
  10537. "in": "query",
  10538. "required": true
  10539. },
  10540. {
  10541. "type": "integer",
  10542. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  10543. "name": "cycletype",
  10544. "in": "query",
  10545. "required": true
  10546. },
  10547. {
  10548. "type": "string",
  10549. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  10550. "name": "cycletime",
  10551. "in": "query",
  10552. "required": true
  10553. },
  10554. {
  10555. "type": "string",
  10556. "description": "名称(模糊匹配)",
  10557. "name": "filtername",
  10558. "in": "query"
  10559. },
  10560. {
  10561. "type": "integer",
  10562. "description": "是否包含子级 1-包含",
  10563. "name": "includesub",
  10564. "in": "query"
  10565. }
  10566. ],
  10567. "responses": {
  10568. "200": {
  10569. "description": "OK",
  10570. "schema": {
  10571. "type": "array",
  10572. "items": {
  10573. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  10574. }
  10575. }
  10576. },
  10577. "500": {
  10578. "description": "Internal Server Error",
  10579. "schema": {
  10580. "$ref": "#/definitions/app.Response"
  10581. }
  10582. }
  10583. }
  10584. }
  10585. },
  10586. "/QhjMgr/QueryContract": {
  10587. "get": {
  10588. "security": [
  10589. {
  10590. "ApiKeyAuth": []
  10591. }
  10592. ],
  10593. "produces": [
  10594. "application/json"
  10595. ],
  10596. "tags": [
  10597. "大连千海金(PCWeb)"
  10598. ],
  10599. "summary": "查询融资信息(合同)",
  10600. "parameters": [
  10601. {
  10602. "type": "integer",
  10603. "description": "用户ID",
  10604. "name": "userid",
  10605. "in": "query"
  10606. },
  10607. {
  10608. "type": "integer",
  10609. "description": "商品id",
  10610. "name": "goodsid",
  10611. "in": "query"
  10612. },
  10613. {
  10614. "type": "string",
  10615. "description": "名称(模糊搜索账户)",
  10616. "name": "filtername",
  10617. "in": "query"
  10618. },
  10619. {
  10620. "type": "string",
  10621. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  10622. "name": "risklevel",
  10623. "in": "query"
  10624. },
  10625. {
  10626. "type": "string",
  10627. "description": "开始交易日(yyyymmdd)",
  10628. "name": "begindate",
  10629. "in": "query"
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "结束交易日(yyyymmdd)",
  10634. "name": "enddate",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "type": "array",
  10643. "items": {
  10644. "$ref": "#/definitions/models.QhjMgrContract"
  10645. }
  10646. }
  10647. },
  10648. "500": {
  10649. "description": "Internal Server Error",
  10650. "schema": {
  10651. "$ref": "#/definitions/app.Response"
  10652. }
  10653. }
  10654. }
  10655. }
  10656. },
  10657. "/QhjMgr/QueryCustomerInfo": {
  10658. "get": {
  10659. "security": [
  10660. {
  10661. "ApiKeyAuth": []
  10662. }
  10663. ],
  10664. "produces": [
  10665. "application/json"
  10666. ],
  10667. "tags": [
  10668. "大连千海金(PCWeb)"
  10669. ],
  10670. "summary": "查询客户资料",
  10671. "parameters": [
  10672. {
  10673. "type": "integer",
  10674. "description": "用户ID",
  10675. "name": "userid",
  10676. "in": "query",
  10677. "required": true
  10678. },
  10679. {
  10680. "type": "integer",
  10681. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10682. "name": "querytype",
  10683. "in": "query",
  10684. "required": true
  10685. },
  10686. {
  10687. "type": "integer",
  10688. "description": "客户类型 1-个人 2-企业",
  10689. "name": "userinfotype",
  10690. "in": "query"
  10691. },
  10692. {
  10693. "type": "string",
  10694. "description": "客户名称(模糊匹配)",
  10695. "name": "customername",
  10696. "in": "query"
  10697. },
  10698. {
  10699. "type": "string",
  10700. "description": "昵称(模糊匹配)",
  10701. "name": "nickname",
  10702. "in": "query"
  10703. },
  10704. {
  10705. "type": "string",
  10706. "description": "所属客户经理(模糊匹配)",
  10707. "name": "brokername",
  10708. "in": "query"
  10709. },
  10710. {
  10711. "type": "string",
  10712. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  10713. "name": "birthday",
  10714. "in": "query"
  10715. },
  10716. {
  10717. "type": "integer",
  10718. "description": "是否包含子级 1-包含",
  10719. "name": "includesub",
  10720. "in": "query"
  10721. }
  10722. ],
  10723. "responses": {
  10724. "200": {
  10725. "description": "OK",
  10726. "schema": {
  10727. "type": "array",
  10728. "items": {
  10729. "$ref": "#/definitions/models.QhjMgrCustomer"
  10730. }
  10731. }
  10732. },
  10733. "500": {
  10734. "description": "Internal Server Error",
  10735. "schema": {
  10736. "$ref": "#/definitions/app.Response"
  10737. }
  10738. }
  10739. }
  10740. }
  10741. },
  10742. "/QhjMgr/QueryPickGoods": {
  10743. "get": {
  10744. "security": [
  10745. {
  10746. "ApiKeyAuth": []
  10747. }
  10748. ],
  10749. "produces": [
  10750. "application/json"
  10751. ],
  10752. "tags": [
  10753. "大连千海金(PCWeb)"
  10754. ],
  10755. "summary": "查询提货商品",
  10756. "parameters": [
  10757. {
  10758. "type": "string",
  10759. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10760. "name": "status",
  10761. "in": "query"
  10762. }
  10763. ],
  10764. "responses": {
  10765. "200": {
  10766. "description": "OK",
  10767. "schema": {
  10768. "type": "array",
  10769. "items": {
  10770. "$ref": "#/definitions/models.QhjMgrPickGoods"
  10771. }
  10772. }
  10773. },
  10774. "500": {
  10775. "description": "Internal Server Error",
  10776. "schema": {
  10777. "$ref": "#/definitions/app.Response"
  10778. }
  10779. }
  10780. }
  10781. }
  10782. },
  10783. "/QhjMgr/QuerySubArea": {
  10784. "get": {
  10785. "security": [
  10786. {
  10787. "ApiKeyAuth": []
  10788. }
  10789. ],
  10790. "produces": [
  10791. "application/json"
  10792. ],
  10793. "tags": [
  10794. "大连千海金(PCWeb)"
  10795. ],
  10796. "summary": "查询子机构列表",
  10797. "parameters": [
  10798. {
  10799. "type": "integer",
  10800. "description": "用户ID",
  10801. "name": "userid",
  10802. "in": "query",
  10803. "required": true
  10804. }
  10805. ],
  10806. "responses": {
  10807. "200": {
  10808. "description": "OK",
  10809. "schema": {
  10810. "type": "array",
  10811. "items": {
  10812. "$ref": "#/definitions/models.QhjMgrSubArea"
  10813. }
  10814. }
  10815. },
  10816. "500": {
  10817. "description": "Internal Server Error",
  10818. "schema": {
  10819. "$ref": "#/definitions/app.Response"
  10820. }
  10821. }
  10822. }
  10823. }
  10824. },
  10825. "/QhjMgr/QueryTradeDetail": {
  10826. "get": {
  10827. "security": [
  10828. {
  10829. "ApiKeyAuth": []
  10830. }
  10831. ],
  10832. "produces": [
  10833. "application/json"
  10834. ],
  10835. "tags": [
  10836. "大连千海金(PCWeb)"
  10837. ],
  10838. "summary": "查询成交明细",
  10839. "parameters": [
  10840. {
  10841. "type": "integer",
  10842. "description": "用户ID",
  10843. "name": "userid",
  10844. "in": "query",
  10845. "required": true
  10846. },
  10847. {
  10848. "type": "integer",
  10849. "description": "用户类型 1-个人 2-企业",
  10850. "name": "userinfotype",
  10851. "in": "query"
  10852. },
  10853. {
  10854. "type": "integer",
  10855. "description": "交易模式",
  10856. "name": "trademode",
  10857. "in": "query"
  10858. },
  10859. {
  10860. "type": "integer",
  10861. "description": "商品id",
  10862. "name": "goodsid",
  10863. "in": "query"
  10864. },
  10865. {
  10866. "type": "string",
  10867. "description": "名称(模糊搜索账户)",
  10868. "name": "filtername",
  10869. "in": "query"
  10870. },
  10871. {
  10872. "type": "string",
  10873. "description": "开始交易日(yyyymmdd)",
  10874. "name": "begindate",
  10875. "in": "query"
  10876. },
  10877. {
  10878. "type": "string",
  10879. "description": "结束交易日(yyyymmdd)",
  10880. "name": "enddate",
  10881. "in": "query"
  10882. },
  10883. {
  10884. "type": "integer",
  10885. "description": "是否包含子级 1-包含",
  10886. "name": "includesub",
  10887. "in": "query"
  10888. }
  10889. ],
  10890. "responses": {
  10891. "200": {
  10892. "description": "OK",
  10893. "schema": {
  10894. "type": "array",
  10895. "items": {
  10896. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  10897. }
  10898. }
  10899. },
  10900. "500": {
  10901. "description": "Internal Server Error",
  10902. "schema": {
  10903. "$ref": "#/definitions/app.Response"
  10904. }
  10905. }
  10906. }
  10907. }
  10908. },
  10909. "/QhjMgr/QueryTradeOrderDetail": {
  10910. "get": {
  10911. "security": [
  10912. {
  10913. "ApiKeyAuth": []
  10914. }
  10915. ],
  10916. "produces": [
  10917. "application/json"
  10918. ],
  10919. "tags": [
  10920. "大连千海金(PCWeb)"
  10921. ],
  10922. "summary": "查询委托明细",
  10923. "parameters": [
  10924. {
  10925. "type": "integer",
  10926. "description": "用户ID",
  10927. "name": "userid",
  10928. "in": "query",
  10929. "required": true
  10930. },
  10931. {
  10932. "type": "integer",
  10933. "description": "用户类型 1-个人 2-企业",
  10934. "name": "userinfotype",
  10935. "in": "query"
  10936. },
  10937. {
  10938. "type": "integer",
  10939. "description": "交易模式",
  10940. "name": "trademode",
  10941. "in": "query"
  10942. },
  10943. {
  10944. "type": "integer",
  10945. "description": "商品id",
  10946. "name": "goodsid",
  10947. "in": "query"
  10948. },
  10949. {
  10950. "type": "string",
  10951. "description": "名称(模糊搜索账户)",
  10952. "name": "filtername",
  10953. "in": "query"
  10954. },
  10955. {
  10956. "type": "string",
  10957. "description": "开始交易日(yyyymmdd)",
  10958. "name": "begindate",
  10959. "in": "query"
  10960. },
  10961. {
  10962. "type": "string",
  10963. "description": "结束交易日(yyyymmdd)",
  10964. "name": "enddate",
  10965. "in": "query"
  10966. },
  10967. {
  10968. "type": "integer",
  10969. "description": "是否包含子级 1-包含",
  10970. "name": "includesub",
  10971. "in": "query"
  10972. }
  10973. ],
  10974. "responses": {
  10975. "200": {
  10976. "description": "OK",
  10977. "schema": {
  10978. "type": "array",
  10979. "items": {
  10980. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  10981. }
  10982. }
  10983. },
  10984. "500": {
  10985. "description": "Internal Server Error",
  10986. "schema": {
  10987. "$ref": "#/definitions/app.Response"
  10988. }
  10989. }
  10990. }
  10991. }
  10992. },
  10993. "/QhjMgr/QueryTradePayOrder": {
  10994. "get": {
  10995. "security": [
  10996. {
  10997. "ApiKeyAuth": []
  10998. }
  10999. ],
  11000. "produces": [
  11001. "application/json"
  11002. ],
  11003. "tags": [
  11004. "大连千海金(PCWeb)"
  11005. ],
  11006. "summary": "查询待付款单",
  11007. "parameters": [
  11008. {
  11009. "type": "integer",
  11010. "description": "用户ID",
  11011. "name": "userid",
  11012. "in": "query",
  11013. "required": true
  11014. },
  11015. {
  11016. "type": "string",
  11017. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11018. "name": "payflag",
  11019. "in": "query"
  11020. },
  11021. {
  11022. "type": "integer",
  11023. "description": "用户类型 1-个人 2-企业",
  11024. "name": "userinfotype",
  11025. "in": "query"
  11026. },
  11027. {
  11028. "type": "integer",
  11029. "description": "交易模式",
  11030. "name": "trademode",
  11031. "in": "query"
  11032. },
  11033. {
  11034. "type": "integer",
  11035. "description": "商品id",
  11036. "name": "goodsid",
  11037. "in": "query"
  11038. },
  11039. {
  11040. "type": "string",
  11041. "description": "名称(模糊搜索账户)",
  11042. "name": "filtername",
  11043. "in": "query"
  11044. },
  11045. {
  11046. "type": "string",
  11047. "description": "开始交易日(yyyymmdd)",
  11048. "name": "begindate",
  11049. "in": "query"
  11050. },
  11051. {
  11052. "type": "string",
  11053. "description": "结束交易日(yyyymmdd)",
  11054. "name": "enddate",
  11055. "in": "query"
  11056. },
  11057. {
  11058. "type": "integer",
  11059. "description": "是否包含子级 1-包含",
  11060. "name": "includesub",
  11061. "in": "query"
  11062. }
  11063. ],
  11064. "responses": {
  11065. "200": {
  11066. "description": "OK",
  11067. "schema": {
  11068. "type": "array",
  11069. "items": {
  11070. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11071. }
  11072. }
  11073. },
  11074. "500": {
  11075. "description": "Internal Server Error",
  11076. "schema": {
  11077. "$ref": "#/definitions/app.Response"
  11078. }
  11079. }
  11080. }
  11081. }
  11082. },
  11083. "/QhjMgr/QueryTradePosition": {
  11084. "get": {
  11085. "security": [
  11086. {
  11087. "ApiKeyAuth": []
  11088. }
  11089. ],
  11090. "produces": [
  11091. "application/json"
  11092. ],
  11093. "tags": [
  11094. "大连千海金(PCWeb)"
  11095. ],
  11096. "summary": "查询持仓汇总",
  11097. "parameters": [
  11098. {
  11099. "type": "integer",
  11100. "description": "用户ID",
  11101. "name": "userid",
  11102. "in": "query",
  11103. "required": true
  11104. },
  11105. {
  11106. "type": "integer",
  11107. "description": "用户类型 1-个人 2-企业",
  11108. "name": "userinfotype",
  11109. "in": "query"
  11110. },
  11111. {
  11112. "type": "integer",
  11113. "description": "交易模式",
  11114. "name": "trademode",
  11115. "in": "query"
  11116. },
  11117. {
  11118. "type": "integer",
  11119. "description": "商品id",
  11120. "name": "goodsid",
  11121. "in": "query"
  11122. },
  11123. {
  11124. "type": "string",
  11125. "description": "名称(模糊搜索账户)",
  11126. "name": "filtername",
  11127. "in": "query"
  11128. },
  11129. {
  11130. "type": "integer",
  11131. "description": "是否包含子级 1-包含",
  11132. "name": "includesub",
  11133. "in": "query"
  11134. }
  11135. ],
  11136. "responses": {
  11137. "200": {
  11138. "description": "OK",
  11139. "schema": {
  11140. "type": "array",
  11141. "items": {
  11142. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11143. }
  11144. }
  11145. },
  11146. "500": {
  11147. "description": "Internal Server Error",
  11148. "schema": {
  11149. "$ref": "#/definitions/app.Response"
  11150. }
  11151. }
  11152. }
  11153. }
  11154. },
  11155. "/QhjSys/QueryAgreementChangeLog": {
  11156. "get": {
  11157. "security": [
  11158. {
  11159. "ApiKeyAuth": []
  11160. }
  11161. ],
  11162. "produces": [
  11163. "application/json"
  11164. ],
  11165. "tags": [
  11166. "大连千海金(协议和签约信息)"
  11167. ],
  11168. "summary": "查询协议配置变更流水",
  11169. "parameters": [
  11170. {
  11171. "type": "integer",
  11172. "description": "协议ID",
  11173. "name": "agreementid",
  11174. "in": "query"
  11175. },
  11176. {
  11177. "type": "integer",
  11178. "description": "协议版本号",
  11179. "name": "agreementversion",
  11180. "in": "query"
  11181. },
  11182. {
  11183. "type": "integer",
  11184. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11185. "name": "agreementtype",
  11186. "in": "query"
  11187. },
  11188. {
  11189. "type": "string",
  11190. "description": "协议编号(模糊匹配)",
  11191. "name": "agreementno",
  11192. "in": "query"
  11193. },
  11194. {
  11195. "type": "string",
  11196. "description": "协议名称(模糊匹配)",
  11197. "name": "agreementname",
  11198. "in": "query"
  11199. }
  11200. ],
  11201. "responses": {
  11202. "200": {
  11203. "description": "OK",
  11204. "schema": {
  11205. "type": "array",
  11206. "items": {
  11207. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  11208. }
  11209. }
  11210. },
  11211. "500": {
  11212. "description": "Internal Server Error",
  11213. "schema": {
  11214. "$ref": "#/definitions/app.Response"
  11215. }
  11216. }
  11217. }
  11218. }
  11219. },
  11220. "/QhjSys/QueryAgreementConfig": {
  11221. "get": {
  11222. "security": [
  11223. {
  11224. "ApiKeyAuth": []
  11225. }
  11226. ],
  11227. "produces": [
  11228. "application/json"
  11229. ],
  11230. "tags": [
  11231. "大连千海金(协议和签约信息)"
  11232. ],
  11233. "summary": "查询协议配置",
  11234. "parameters": [
  11235. {
  11236. "type": "integer",
  11237. "description": "协议ID",
  11238. "name": "agreementid",
  11239. "in": "query"
  11240. },
  11241. {
  11242. "type": "integer",
  11243. "description": "协议版本号",
  11244. "name": "agreementversion",
  11245. "in": "query"
  11246. },
  11247. {
  11248. "type": "integer",
  11249. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11250. "name": "agreementtype",
  11251. "in": "query"
  11252. },
  11253. {
  11254. "type": "integer",
  11255. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  11256. "name": "isvalid",
  11257. "in": "query"
  11258. },
  11259. {
  11260. "type": "string",
  11261. "description": "协议编号(模糊匹配)",
  11262. "name": "agreementno",
  11263. "in": "query"
  11264. },
  11265. {
  11266. "type": "string",
  11267. "description": "协议名称(模糊匹配)",
  11268. "name": "agreementname",
  11269. "in": "query"
  11270. }
  11271. ],
  11272. "responses": {
  11273. "200": {
  11274. "description": "OK",
  11275. "schema": {
  11276. "type": "array",
  11277. "items": {
  11278. "$ref": "#/definitions/models.QhjAgreementConfig"
  11279. }
  11280. }
  11281. },
  11282. "500": {
  11283. "description": "Internal Server Error",
  11284. "schema": {
  11285. "$ref": "#/definitions/app.Response"
  11286. }
  11287. }
  11288. }
  11289. }
  11290. },
  11291. "/QhjSys/QueryCustomerSignStatus": {
  11292. "get": {
  11293. "security": [
  11294. {
  11295. "ApiKeyAuth": []
  11296. }
  11297. ],
  11298. "produces": [
  11299. "application/json"
  11300. ],
  11301. "tags": [
  11302. "大连千海金(协议和签约信息)"
  11303. ],
  11304. "summary": "查询客户协议签约状态",
  11305. "parameters": [
  11306. {
  11307. "type": "integer",
  11308. "description": "客户ID",
  11309. "name": "userid",
  11310. "in": "query"
  11311. },
  11312. {
  11313. "type": "integer",
  11314. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  11315. "name": "nodetype",
  11316. "in": "query"
  11317. },
  11318. {
  11319. "type": "integer",
  11320. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11321. "name": "goodsid",
  11322. "in": "query"
  11323. },
  11324. {
  11325. "type": "string",
  11326. "description": "创建交易日(yyyyMMdd)",
  11327. "name": "tradedate",
  11328. "in": "query"
  11329. },
  11330. {
  11331. "type": "string",
  11332. "description": "用户名称(模糊匹配)",
  11333. "name": "username",
  11334. "in": "query"
  11335. }
  11336. ],
  11337. "responses": {
  11338. "200": {
  11339. "description": "OK",
  11340. "schema": {
  11341. "type": "array",
  11342. "items": {
  11343. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  11344. }
  11345. }
  11346. },
  11347. "500": {
  11348. "description": "Internal Server Error",
  11349. "schema": {
  11350. "$ref": "#/definitions/app.Response"
  11351. }
  11352. }
  11353. }
  11354. }
  11355. },
  11356. "/QhjSys/QueryNodeAgreementConfig": {
  11357. "get": {
  11358. "security": [
  11359. {
  11360. "ApiKeyAuth": []
  11361. }
  11362. ],
  11363. "produces": [
  11364. "application/json"
  11365. ],
  11366. "tags": [
  11367. "大连千海金(协议和签约信息)"
  11368. ],
  11369. "summary": "查询协议节点配置",
  11370. "parameters": [
  11371. {
  11372. "type": "integer",
  11373. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11374. "name": "configid",
  11375. "in": "query"
  11376. },
  11377. {
  11378. "type": "integer",
  11379. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11380. "name": "nodetype",
  11381. "in": "query"
  11382. },
  11383. {
  11384. "type": "integer",
  11385. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11386. "name": "goodsid",
  11387. "in": "query"
  11388. },
  11389. {
  11390. "type": "integer",
  11391. "description": "协议ID",
  11392. "name": "agreementid",
  11393. "in": "query"
  11394. },
  11395. {
  11396. "type": "integer",
  11397. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11398. "name": "agreementtype",
  11399. "in": "query"
  11400. },
  11401. {
  11402. "type": "integer",
  11403. "description": "协议版本号",
  11404. "name": "agreementversion",
  11405. "in": "query"
  11406. },
  11407. {
  11408. "type": "string",
  11409. "description": "协议编号(模糊匹配)",
  11410. "name": "agreementno",
  11411. "in": "query"
  11412. },
  11413. {
  11414. "type": "string",
  11415. "description": "协议名称(模糊匹配)",
  11416. "name": "agreementname",
  11417. "in": "query"
  11418. }
  11419. ],
  11420. "responses": {
  11421. "200": {
  11422. "description": "OK",
  11423. "schema": {
  11424. "type": "array",
  11425. "items": {
  11426. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  11427. }
  11428. }
  11429. },
  11430. "500": {
  11431. "description": "Internal Server Error",
  11432. "schema": {
  11433. "$ref": "#/definitions/app.Response"
  11434. }
  11435. }
  11436. }
  11437. }
  11438. },
  11439. "/QhjSys/QueryQhjCustomerSignLog": {
  11440. "get": {
  11441. "security": [
  11442. {
  11443. "ApiKeyAuth": []
  11444. }
  11445. ],
  11446. "produces": [
  11447. "application/json"
  11448. ],
  11449. "tags": [
  11450. "大连千海金(协议和签约信息)"
  11451. ],
  11452. "summary": "查询客户协议签约流水",
  11453. "parameters": [
  11454. {
  11455. "type": "integer",
  11456. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  11457. "name": "logid",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "integer",
  11462. "description": "客户ID",
  11463. "name": "userid",
  11464. "in": "query"
  11465. },
  11466. {
  11467. "type": "integer",
  11468. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11469. "name": "nodetype",
  11470. "in": "query"
  11471. },
  11472. {
  11473. "type": "integer",
  11474. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11475. "name": "goodsid",
  11476. "in": "query"
  11477. },
  11478. {
  11479. "type": "integer",
  11480. "description": "协议ID",
  11481. "name": "agreementid",
  11482. "in": "query"
  11483. },
  11484. {
  11485. "type": "string",
  11486. "description": "用户名称(模糊匹配)",
  11487. "name": "username",
  11488. "in": "query"
  11489. },
  11490. {
  11491. "type": "string",
  11492. "description": "协议编号(模糊匹配)",
  11493. "name": "agreementno",
  11494. "in": "query"
  11495. },
  11496. {
  11497. "type": "string",
  11498. "description": "协议名称(模糊匹配)",
  11499. "name": "agreementname",
  11500. "in": "query"
  11501. }
  11502. ],
  11503. "responses": {
  11504. "200": {
  11505. "description": "OK",
  11506. "schema": {
  11507. "type": "array",
  11508. "items": {
  11509. "$ref": "#/definitions/models.QhjCustomerSignLog"
  11510. }
  11511. }
  11512. },
  11513. "500": {
  11514. "description": "Internal Server Error",
  11515. "schema": {
  11516. "$ref": "#/definitions/app.Response"
  11517. }
  11518. }
  11519. }
  11520. }
  11521. },
  11522. "/QhjSys/QueryUserNodeCfgAndStatus": {
  11523. "get": {
  11524. "security": [
  11525. {
  11526. "ApiKeyAuth": []
  11527. }
  11528. ],
  11529. "produces": [
  11530. "application/json"
  11531. ],
  11532. "tags": [
  11533. "大连千海金(协议和签约信息)"
  11534. ],
  11535. "summary": "查询用户协议节点配置和状态",
  11536. "parameters": [
  11537. {
  11538. "type": "integer",
  11539. "description": "客户ID",
  11540. "name": "userid",
  11541. "in": "query"
  11542. },
  11543. {
  11544. "type": "integer",
  11545. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  11546. "name": "configid",
  11547. "in": "query"
  11548. },
  11549. {
  11550. "type": "string",
  11551. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  11552. "name": "nodetype",
  11553. "in": "query"
  11554. },
  11555. {
  11556. "type": "integer",
  11557. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  11558. "name": "goodsid",
  11559. "in": "query"
  11560. },
  11561. {
  11562. "type": "integer",
  11563. "description": "协议ID",
  11564. "name": "agreementid",
  11565. "in": "query"
  11566. },
  11567. {
  11568. "type": "integer",
  11569. "description": "协议类型 - 1:注册 2:登录 3:交易",
  11570. "name": "agreementtype",
  11571. "in": "query"
  11572. },
  11573. {
  11574. "type": "integer",
  11575. "description": "协议版本号",
  11576. "name": "agreementversion",
  11577. "in": "query"
  11578. },
  11579. {
  11580. "type": "string",
  11581. "description": "协议编号(模糊匹配)",
  11582. "name": "agreementno",
  11583. "in": "query"
  11584. },
  11585. {
  11586. "type": "string",
  11587. "description": "协议名称(模糊匹配)",
  11588. "name": "agreementname",
  11589. "in": "query"
  11590. }
  11591. ],
  11592. "responses": {
  11593. "200": {
  11594. "description": "OK",
  11595. "schema": {
  11596. "type": "array",
  11597. "items": {
  11598. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  11599. }
  11600. }
  11601. },
  11602. "500": {
  11603. "description": "Internal Server Error",
  11604. "schema": {
  11605. "$ref": "#/definitions/app.Response"
  11606. }
  11607. }
  11608. }
  11609. }
  11610. },
  11611. "/Quote/QueryHistoryDatas": {
  11612. "get": {
  11613. "security": [
  11614. {
  11615. "ApiKeyAuth": []
  11616. }
  11617. ],
  11618. "produces": [
  11619. "application/json"
  11620. ],
  11621. "tags": [
  11622. "行情服务"
  11623. ],
  11624. "summary": "查询行情历史数据",
  11625. "parameters": [
  11626. {
  11627. "type": "integer",
  11628. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  11629. "name": "cycleType",
  11630. "in": "query",
  11631. "required": true
  11632. },
  11633. {
  11634. "type": "string",
  11635. "description": "商品代码",
  11636. "name": "goodsCode",
  11637. "in": "query",
  11638. "required": true
  11639. },
  11640. {
  11641. "type": "string",
  11642. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11643. "name": "startTime",
  11644. "in": "query"
  11645. },
  11646. {
  11647. "type": "string",
  11648. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11649. "name": "endTime",
  11650. "in": "query"
  11651. },
  11652. {
  11653. "type": "integer",
  11654. "description": "条数",
  11655. "name": "count",
  11656. "in": "query"
  11657. },
  11658. {
  11659. "type": "boolean",
  11660. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11661. "name": "isAsc",
  11662. "in": "query"
  11663. }
  11664. ],
  11665. "responses": {
  11666. "200": {
  11667. "description": "OK",
  11668. "schema": {
  11669. "$ref": "#/definitions/quote.HistoryData"
  11670. }
  11671. },
  11672. "500": {
  11673. "description": "Internal Server Error",
  11674. "schema": {
  11675. "$ref": "#/definitions/app.Response"
  11676. }
  11677. }
  11678. }
  11679. }
  11680. },
  11681. "/Quote/QueryHistoryTikDatas": {
  11682. "get": {
  11683. "security": [
  11684. {
  11685. "ApiKeyAuth": []
  11686. }
  11687. ],
  11688. "produces": [
  11689. "application/json"
  11690. ],
  11691. "tags": [
  11692. "行情服务"
  11693. ],
  11694. "summary": "查询行情Tik数据",
  11695. "parameters": [
  11696. {
  11697. "type": "string",
  11698. "description": "商品代码",
  11699. "name": "goodsCode",
  11700. "in": "query",
  11701. "required": true
  11702. },
  11703. {
  11704. "type": "string",
  11705. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  11706. "name": "startTime",
  11707. "in": "query"
  11708. },
  11709. {
  11710. "type": "string",
  11711. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  11712. "name": "endTime",
  11713. "in": "query"
  11714. },
  11715. {
  11716. "type": "integer",
  11717. "description": "条数",
  11718. "name": "count",
  11719. "in": "query"
  11720. },
  11721. {
  11722. "type": "boolean",
  11723. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  11724. "name": "isAsc",
  11725. "in": "query"
  11726. }
  11727. ],
  11728. "responses": {
  11729. "200": {
  11730. "description": "OK",
  11731. "schema": {
  11732. "$ref": "#/definitions/quote.HistoryTikData"
  11733. }
  11734. },
  11735. "500": {
  11736. "description": "Internal Server Error",
  11737. "schema": {
  11738. "$ref": "#/definitions/app.Response"
  11739. }
  11740. }
  11741. }
  11742. }
  11743. },
  11744. "/Quote/QueryQuoteDay": {
  11745. "get": {
  11746. "security": [
  11747. {
  11748. "ApiKeyAuth": []
  11749. }
  11750. ],
  11751. "produces": [
  11752. "application/json"
  11753. ],
  11754. "tags": [
  11755. "行情服务"
  11756. ],
  11757. "summary": "获取商品盘面信息",
  11758. "parameters": [
  11759. {
  11760. "type": "string",
  11761. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  11762. "name": "goodsCodes",
  11763. "in": "query"
  11764. }
  11765. ],
  11766. "responses": {
  11767. "200": {
  11768. "description": "OK",
  11769. "schema": {
  11770. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  11771. }
  11772. },
  11773. "500": {
  11774. "description": "Internal Server Error",
  11775. "schema": {
  11776. "$ref": "#/definitions/app.Response"
  11777. }
  11778. }
  11779. }
  11780. }
  11781. },
  11782. "/Quote/QueryTSData": {
  11783. "get": {
  11784. "security": [
  11785. {
  11786. "ApiKeyAuth": []
  11787. }
  11788. ],
  11789. "produces": [
  11790. "application/json"
  11791. ],
  11792. "tags": [
  11793. "行情服务"
  11794. ],
  11795. "summary": "分时图数据查询",
  11796. "parameters": [
  11797. {
  11798. "type": "string",
  11799. "description": "商品代码",
  11800. "name": "goodsCode",
  11801. "in": "query",
  11802. "required": true
  11803. }
  11804. ],
  11805. "responses": {
  11806. "200": {
  11807. "description": "OK",
  11808. "schema": {
  11809. "$ref": "#/definitions/quote.QueryTSDataRsp"
  11810. }
  11811. },
  11812. "500": {
  11813. "description": "Internal Server Error",
  11814. "schema": {
  11815. "$ref": "#/definitions/app.Response"
  11816. }
  11817. }
  11818. }
  11819. }
  11820. },
  11821. "/SZDZ/QueryConvertConfig": {
  11822. "get": {
  11823. "security": [
  11824. {
  11825. "ApiKeyAuth": []
  11826. }
  11827. ],
  11828. "produces": [
  11829. "application/json"
  11830. ],
  11831. "tags": [
  11832. "定制【尚志大宗】"
  11833. ],
  11834. "summary": "查询交易系统转换设置",
  11835. "parameters": [
  11836. {
  11837. "type": "integer",
  11838. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  11839. "name": "convertType",
  11840. "in": "query"
  11841. },
  11842. {
  11843. "type": "string",
  11844. "description": "外部商品代码[JD\\PD]",
  11845. "name": "outerGoodsCode",
  11846. "in": "query"
  11847. },
  11848. {
  11849. "type": "string",
  11850. "description": "内部商品ID列表[交易],格式:1,2,3",
  11851. "name": "innerGoodsIDs",
  11852. "in": "query"
  11853. }
  11854. ],
  11855. "responses": {
  11856. "200": {
  11857. "description": "OK",
  11858. "schema": {
  11859. "$ref": "#/definitions/models.Szdz3convertconfig"
  11860. }
  11861. },
  11862. "500": {
  11863. "description": "Internal Server Error",
  11864. "schema": {
  11865. "$ref": "#/definitions/app.Response"
  11866. }
  11867. }
  11868. }
  11869. }
  11870. },
  11871. "/SZDZ/QueryConvertLog": {
  11872. "get": {
  11873. "security": [
  11874. {
  11875. "ApiKeyAuth": []
  11876. }
  11877. ],
  11878. "produces": [
  11879. "application/json"
  11880. ],
  11881. "tags": [
  11882. "定制【尚志大宗】"
  11883. ],
  11884. "summary": "交易系统转换流水查询",
  11885. "parameters": [
  11886. {
  11887. "type": "string",
  11888. "description": "资金账户 - 格式:1,2,3",
  11889. "name": "accountID",
  11890. "in": "query",
  11891. "required": true
  11892. },
  11893. {
  11894. "type": "string",
  11895. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11896. "name": "startDate",
  11897. "in": "query"
  11898. },
  11899. {
  11900. "type": "string",
  11901. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  11902. "name": "endDate",
  11903. "in": "query"
  11904. }
  11905. ],
  11906. "responses": {
  11907. "200": {
  11908. "description": "OK",
  11909. "schema": {
  11910. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  11911. }
  11912. },
  11913. "500": {
  11914. "description": "Internal Server Error",
  11915. "schema": {
  11916. "$ref": "#/definitions/app.Response"
  11917. }
  11918. }
  11919. }
  11920. }
  11921. },
  11922. "/SZDZ/QueryGoodsPickup": {
  11923. "get": {
  11924. "security": [
  11925. {
  11926. "ApiKeyAuth": []
  11927. }
  11928. ],
  11929. "produces": [
  11930. "application/json"
  11931. ],
  11932. "tags": [
  11933. "定制【尚志大宗】"
  11934. ],
  11935. "summary": "商品提货单查询",
  11936. "parameters": [
  11937. {
  11938. "type": "string",
  11939. "description": "资金账户 - 格式:1,2,3",
  11940. "name": "accountID",
  11941. "in": "query",
  11942. "required": true
  11943. },
  11944. {
  11945. "type": "integer",
  11946. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11947. "name": "takeOrderStatus",
  11948. "in": "query"
  11949. }
  11950. ],
  11951. "responses": {
  11952. "200": {
  11953. "description": "OK",
  11954. "schema": {
  11955. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  11956. }
  11957. },
  11958. "500": {
  11959. "description": "Internal Server Error",
  11960. "schema": {
  11961. "$ref": "#/definitions/app.Response"
  11962. }
  11963. }
  11964. }
  11965. }
  11966. },
  11967. "/SZDZ/QueryRecieptOrder": {
  11968. "get": {
  11969. "security": [
  11970. {
  11971. "ApiKeyAuth": []
  11972. }
  11973. ],
  11974. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  11975. "produces": [
  11976. "application/json"
  11977. ],
  11978. "tags": [
  11979. "定制【尚志大宗】"
  11980. ],
  11981. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  11982. "parameters": [
  11983. {
  11984. "type": "integer",
  11985. "description": "页码",
  11986. "name": "page",
  11987. "in": "query"
  11988. },
  11989. {
  11990. "type": "integer",
  11991. "description": "每页条数",
  11992. "name": "pagesize",
  11993. "in": "query"
  11994. },
  11995. {
  11996. "type": "integer",
  11997. "description": "商品ID",
  11998. "name": "goodsID",
  11999. "in": "query",
  12000. "required": true
  12001. },
  12002. {
  12003. "type": "string",
  12004. "description": "所属账户名称",
  12005. "name": "accountName",
  12006. "in": "query"
  12007. },
  12008. {
  12009. "type": "integer",
  12010. "description": "市场ID",
  12011. "name": "marketID",
  12012. "in": "query"
  12013. },
  12014. {
  12015. "type": "integer",
  12016. "description": "方向 - 0:买 1:卖",
  12017. "name": "buyorsell",
  12018. "in": "query",
  12019. "required": true
  12020. }
  12021. ],
  12022. "responses": {
  12023. "200": {
  12024. "description": "OK",
  12025. "schema": {
  12026. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12027. }
  12028. },
  12029. "500": {
  12030. "description": "Internal Server Error",
  12031. "schema": {
  12032. "$ref": "#/definitions/app.Response"
  12033. }
  12034. }
  12035. }
  12036. }
  12037. },
  12038. "/SZDZ/QuerySZDZTradePosition": {
  12039. "get": {
  12040. "security": [
  12041. {
  12042. "ApiKeyAuth": []
  12043. }
  12044. ],
  12045. "produces": [
  12046. "application/json"
  12047. ],
  12048. "tags": [
  12049. "定制【尚志大宗】"
  12050. ],
  12051. "summary": "持仓汇总查询(尚志大宗)",
  12052. "parameters": [
  12053. {
  12054. "type": "integer",
  12055. "description": "资金账户",
  12056. "name": "accountID",
  12057. "in": "query",
  12058. "required": true
  12059. }
  12060. ],
  12061. "responses": {
  12062. "200": {
  12063. "description": "OK",
  12064. "schema": {
  12065. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12066. }
  12067. },
  12068. "500": {
  12069. "description": "Internal Server Error",
  12070. "schema": {
  12071. "$ref": "#/definitions/app.Response"
  12072. }
  12073. }
  12074. }
  12075. }
  12076. },
  12077. "/SZDZ/SearchWhite": {
  12078. "get": {
  12079. "security": [
  12080. {
  12081. "ApiKeyAuth": []
  12082. }
  12083. ],
  12084. "produces": [
  12085. "application/json"
  12086. ],
  12087. "tags": [
  12088. "定制【尚志大宗】"
  12089. ],
  12090. "summary": "搜索白名单",
  12091. "parameters": [
  12092. {
  12093. "type": "integer",
  12094. "description": "用户ID",
  12095. "name": "userID",
  12096. "in": "query",
  12097. "required": true
  12098. }
  12099. ],
  12100. "responses": {
  12101. "200": {
  12102. "description": "OK",
  12103. "schema": {
  12104. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12105. }
  12106. },
  12107. "500": {
  12108. "description": "Internal Server Error",
  12109. "schema": {
  12110. "$ref": "#/definitions/app.Response"
  12111. }
  12112. }
  12113. }
  12114. }
  12115. },
  12116. "/Search/SearchGoodses": {
  12117. "get": {
  12118. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12119. "produces": [
  12120. "application/json"
  12121. ],
  12122. "tags": [
  12123. "检索服务"
  12124. ],
  12125. "summary": "检索商品信息",
  12126. "parameters": [
  12127. {
  12128. "type": "string",
  12129. "description": "检索内容",
  12130. "name": "content",
  12131. "in": "query",
  12132. "required": true
  12133. },
  12134. {
  12135. "type": "string",
  12136. "description": "交易模式,格式:1,2,3",
  12137. "name": "tradeModes",
  12138. "in": "query"
  12139. }
  12140. ],
  12141. "responses": {
  12142. "200": {
  12143. "description": "OK",
  12144. "schema": {
  12145. "$ref": "#/definitions/models.SearchGoods"
  12146. }
  12147. },
  12148. "500": {
  12149. "description": "Internal Server Error",
  12150. "schema": {
  12151. "$ref": "#/definitions/app.Response"
  12152. }
  12153. }
  12154. }
  12155. }
  12156. },
  12157. "/TaAccount/GetTaAccounts": {
  12158. "get": {
  12159. "security": [
  12160. {
  12161. "ApiKeyAuth": []
  12162. }
  12163. ],
  12164. "produces": [
  12165. "application/json"
  12166. ],
  12167. "tags": [
  12168. "资金账户"
  12169. ],
  12170. "summary": "获取资金账户信息",
  12171. "parameters": [
  12172. {
  12173. "type": "integer",
  12174. "description": "登录账户",
  12175. "name": "loginID",
  12176. "in": "query",
  12177. "required": true
  12178. },
  12179. {
  12180. "type": "integer",
  12181. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  12182. "name": "taAccountType",
  12183. "in": "query"
  12184. }
  12185. ],
  12186. "responses": {
  12187. "200": {
  12188. "description": "OK",
  12189. "schema": {
  12190. "$ref": "#/definitions/models.Taaccount"
  12191. }
  12192. },
  12193. "500": {
  12194. "description": "Internal Server Error",
  12195. "schema": {
  12196. "$ref": "#/definitions/app.Response"
  12197. }
  12198. }
  12199. }
  12200. }
  12201. },
  12202. "/TaAccount/QueryAmountLog": {
  12203. "get": {
  12204. "security": [
  12205. {
  12206. "ApiKeyAuth": []
  12207. }
  12208. ],
  12209. "produces": [
  12210. "application/json"
  12211. ],
  12212. "tags": [
  12213. "资金账户"
  12214. ],
  12215. "summary": "资金流水查询(当前)",
  12216. "parameters": [
  12217. {
  12218. "type": "integer",
  12219. "description": "页码",
  12220. "name": "page",
  12221. "in": "query"
  12222. },
  12223. {
  12224. "type": "integer",
  12225. "description": "每页条数",
  12226. "name": "pagesize",
  12227. "in": "query"
  12228. },
  12229. {
  12230. "type": "string",
  12231. "description": "资金账户 - 格式:1,2,3",
  12232. "name": "accountID",
  12233. "in": "query",
  12234. "required": true
  12235. },
  12236. {
  12237. "type": "string",
  12238. "description": "资金操作类型 - 格式:1,2,3",
  12239. "name": "OperateType",
  12240. "in": "query"
  12241. }
  12242. ],
  12243. "responses": {
  12244. "200": {
  12245. "description": "OK",
  12246. "schema": {
  12247. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  12248. }
  12249. },
  12250. "500": {
  12251. "description": "Internal Server Error",
  12252. "schema": {
  12253. "$ref": "#/definitions/app.Response"
  12254. }
  12255. }
  12256. }
  12257. }
  12258. },
  12259. "/TaAccount/QueryHisAmountLog": {
  12260. "get": {
  12261. "security": [
  12262. {
  12263. "ApiKeyAuth": []
  12264. }
  12265. ],
  12266. "produces": [
  12267. "application/json"
  12268. ],
  12269. "tags": [
  12270. "资金账户"
  12271. ],
  12272. "summary": "资金流水查询(历史)",
  12273. "parameters": [
  12274. {
  12275. "type": "integer",
  12276. "description": "页码",
  12277. "name": "page",
  12278. "in": "query"
  12279. },
  12280. {
  12281. "type": "integer",
  12282. "description": "每页条数",
  12283. "name": "pagesize",
  12284. "in": "query"
  12285. },
  12286. {
  12287. "type": "string",
  12288. "description": "资金账户 - 格式:1,2,3",
  12289. "name": "accountID",
  12290. "in": "query",
  12291. "required": true
  12292. },
  12293. {
  12294. "type": "string",
  12295. "description": "资金操作类型 - 格式:1,2,3",
  12296. "name": "OperateType",
  12297. "in": "query"
  12298. },
  12299. {
  12300. "type": "string",
  12301. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  12302. "name": "startDate",
  12303. "in": "query"
  12304. },
  12305. {
  12306. "type": "string",
  12307. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  12308. "name": "endDate",
  12309. "in": "query"
  12310. }
  12311. ],
  12312. "responses": {
  12313. "200": {
  12314. "description": "OK",
  12315. "schema": {
  12316. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  12317. }
  12318. },
  12319. "500": {
  12320. "description": "Internal Server Error",
  12321. "schema": {
  12322. "$ref": "#/definitions/app.Response"
  12323. }
  12324. }
  12325. }
  12326. }
  12327. },
  12328. "/TaAccount/QueryRelatedTaAccount": {
  12329. "get": {
  12330. "security": [
  12331. {
  12332. "ApiKeyAuth": []
  12333. }
  12334. ],
  12335. "produces": [
  12336. "application/json"
  12337. ],
  12338. "tags": [
  12339. "资金账户"
  12340. ],
  12341. "summary": "查询关联资金账户信息",
  12342. "parameters": [
  12343. {
  12344. "type": "integer",
  12345. "description": "关联UserID",
  12346. "name": "relateduserid",
  12347. "in": "query",
  12348. "required": true
  12349. }
  12350. ],
  12351. "responses": {
  12352. "200": {
  12353. "description": "OK",
  12354. "schema": {
  12355. "type": "array",
  12356. "items": {
  12357. "$ref": "#/definitions/models.RelatedTaAccount"
  12358. }
  12359. }
  12360. },
  12361. "500": {
  12362. "description": "Internal Server Error",
  12363. "schema": {
  12364. "$ref": "#/definitions/app.Response"
  12365. }
  12366. }
  12367. }
  12368. }
  12369. },
  12370. "/Tjmd/QueryQuoteGoodsList": {
  12371. "get": {
  12372. "security": [
  12373. {
  12374. "ApiKeyAuth": []
  12375. }
  12376. ],
  12377. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  12378. "produces": [
  12379. "application/json"
  12380. ],
  12381. "tags": [
  12382. "天津麦顿"
  12383. ],
  12384. "summary": "查询掉期报价列表",
  12385. "parameters": [
  12386. {
  12387. "type": "integer",
  12388. "description": "用户类型",
  12389. "name": "usertype",
  12390. "in": "query",
  12391. "required": true
  12392. },
  12393. {
  12394. "type": "string",
  12395. "description": "市场id, 格式 1,2,3",
  12396. "name": "marketids",
  12397. "in": "query"
  12398. },
  12399. {
  12400. "type": "integer",
  12401. "description": "商品组id",
  12402. "name": "goodsgroupid",
  12403. "in": "query"
  12404. },
  12405. {
  12406. "type": "integer",
  12407. "description": "商品id",
  12408. "name": "goodsid",
  12409. "in": "query"
  12410. }
  12411. ],
  12412. "responses": {
  12413. "200": {
  12414. "description": "OK",
  12415. "schema": {
  12416. "type": "array",
  12417. "items": {
  12418. "$ref": "#/definitions/models.TjmdQuoteGoods"
  12419. }
  12420. }
  12421. },
  12422. "500": {
  12423. "description": "Internal Server Error",
  12424. "schema": {
  12425. "$ref": "#/definitions/app.Response"
  12426. }
  12427. }
  12428. }
  12429. }
  12430. },
  12431. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  12432. "get": {
  12433. "security": [
  12434. {
  12435. "ApiKeyAuth": []
  12436. }
  12437. ],
  12438. "produces": [
  12439. "application/json"
  12440. ],
  12441. "tags": [
  12442. "天津麦顿"
  12443. ],
  12444. "summary": "掉期商品订单详情(交易确认书)",
  12445. "parameters": [
  12446. {
  12447. "type": "string",
  12448. "description": "成交单号",
  12449. "name": "tradeid",
  12450. "in": "query",
  12451. "required": true
  12452. }
  12453. ],
  12454. "responses": {
  12455. "200": {
  12456. "description": "OK",
  12457. "schema": {
  12458. "type": "array",
  12459. "items": {
  12460. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  12461. }
  12462. }
  12463. },
  12464. "500": {
  12465. "description": "Internal Server Error",
  12466. "schema": {
  12467. "$ref": "#/definitions/app.Response"
  12468. }
  12469. }
  12470. }
  12471. }
  12472. },
  12473. "/Tjmd/QueryTjmdMarketSection": {
  12474. "get": {
  12475. "security": [
  12476. {
  12477. "ApiKeyAuth": []
  12478. }
  12479. ],
  12480. "produces": [
  12481. "application/json"
  12482. ],
  12483. "tags": [
  12484. "天津麦顿"
  12485. ],
  12486. "summary": "查询市场板块",
  12487. "responses": {
  12488. "200": {
  12489. "description": "OK",
  12490. "schema": {
  12491. "type": "array",
  12492. "items": {
  12493. "$ref": "#/definitions/models.TjmdMarketSection"
  12494. }
  12495. }
  12496. },
  12497. "500": {
  12498. "description": "Internal Server Error",
  12499. "schema": {
  12500. "$ref": "#/definitions/app.Response"
  12501. }
  12502. }
  12503. }
  12504. }
  12505. },
  12506. "/Tjmd/QueryTjmdTodayAccountMargin": {
  12507. "get": {
  12508. "security": [
  12509. {
  12510. "ApiKeyAuth": []
  12511. }
  12512. ],
  12513. "produces": [
  12514. "application/json"
  12515. ],
  12516. "tags": [
  12517. "天津麦顿"
  12518. ],
  12519. "summary": "查询今日账户保证金配置",
  12520. "parameters": [
  12521. {
  12522. "type": "string",
  12523. "description": "市场id",
  12524. "name": "marketid",
  12525. "in": "query"
  12526. },
  12527. {
  12528. "type": "string",
  12529. "description": "商品id",
  12530. "name": "goodsid",
  12531. "in": "query"
  12532. },
  12533. {
  12534. "type": "string",
  12535. "description": "资金账号",
  12536. "name": "accountid",
  12537. "in": "query"
  12538. }
  12539. ],
  12540. "responses": {
  12541. "200": {
  12542. "description": "OK",
  12543. "schema": {
  12544. "type": "array",
  12545. "items": {
  12546. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  12547. }
  12548. }
  12549. },
  12550. "500": {
  12551. "description": "Internal Server Error",
  12552. "schema": {
  12553. "$ref": "#/definitions/app.Response"
  12554. }
  12555. }
  12556. }
  12557. }
  12558. },
  12559. "/Tjmd/QueryTjmdTradeOrderDetail": {
  12560. "get": {
  12561. "security": [
  12562. {
  12563. "ApiKeyAuth": []
  12564. }
  12565. ],
  12566. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  12567. "produces": [
  12568. "application/json"
  12569. ],
  12570. "tags": [
  12571. "天津麦顿"
  12572. ],
  12573. "summary": "查询掉期买卖大厅",
  12574. "parameters": [
  12575. {
  12576. "type": "integer",
  12577. "description": "页码",
  12578. "name": "page",
  12579. "in": "query"
  12580. },
  12581. {
  12582. "type": "integer",
  12583. "description": "每页条数",
  12584. "name": "pagesize",
  12585. "in": "query"
  12586. },
  12587. {
  12588. "type": "integer",
  12589. "description": "用户id",
  12590. "name": "userid",
  12591. "in": "query",
  12592. "required": true
  12593. },
  12594. {
  12595. "type": "integer",
  12596. "description": "用户类型",
  12597. "name": "usertype",
  12598. "in": "query",
  12599. "required": true
  12600. },
  12601. {
  12602. "type": "string",
  12603. "description": "市场id, 格式 1,2,3",
  12604. "name": "marketids",
  12605. "in": "query"
  12606. },
  12607. {
  12608. "type": "integer",
  12609. "description": "商品id",
  12610. "name": "goodsid",
  12611. "in": "query",
  12612. "required": true
  12613. },
  12614. {
  12615. "type": "integer",
  12616. "description": "买卖方向 0-买 1-卖",
  12617. "name": "buyorsell",
  12618. "in": "query",
  12619. "required": true
  12620. }
  12621. ],
  12622. "responses": {
  12623. "200": {
  12624. "description": "OK",
  12625. "schema": {
  12626. "type": "array",
  12627. "items": {
  12628. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  12629. }
  12630. }
  12631. },
  12632. "500": {
  12633. "description": "Internal Server Error",
  12634. "schema": {
  12635. "$ref": "#/definitions/app.Response"
  12636. }
  12637. }
  12638. }
  12639. }
  12640. },
  12641. "/Tjmd/QueryTjmdTransferApply": {
  12642. "get": {
  12643. "security": [
  12644. {
  12645. "ApiKeyAuth": []
  12646. }
  12647. ],
  12648. "produces": [
  12649. "application/json"
  12650. ],
  12651. "tags": [
  12652. "天津麦顿"
  12653. ],
  12654. "summary": "查询掉期协议单",
  12655. "parameters": [
  12656. {
  12657. "type": "integer",
  12658. "description": "类型 1-我的申请 2-对方申请",
  12659. "name": "applytype",
  12660. "in": "query",
  12661. "required": true
  12662. },
  12663. {
  12664. "type": "string",
  12665. "description": "市场id, 格式 1,2,3",
  12666. "name": "marketids",
  12667. "in": "query"
  12668. },
  12669. {
  12670. "type": "string",
  12671. "description": "资金账号, 格式 25000000001,25000000003",
  12672. "name": "accountids",
  12673. "in": "query"
  12674. },
  12675. {
  12676. "type": "string",
  12677. "description": "开始交易日(yyyymmdd)",
  12678. "name": "begindate",
  12679. "in": "query"
  12680. },
  12681. {
  12682. "type": "string",
  12683. "description": "结束交易日(yyyymmdd)",
  12684. "name": "enddate",
  12685. "in": "query"
  12686. }
  12687. ],
  12688. "responses": {
  12689. "200": {
  12690. "description": "OK",
  12691. "schema": {
  12692. "type": "array",
  12693. "items": {
  12694. "$ref": "#/definitions/models.TjmdTransferApply"
  12695. }
  12696. }
  12697. },
  12698. "500": {
  12699. "description": "Internal Server Error",
  12700. "schema": {
  12701. "$ref": "#/definitions/app.Response"
  12702. }
  12703. }
  12704. }
  12705. }
  12706. },
  12707. "/Trade/QueryRecieptOrder": {
  12708. "get": {
  12709. "security": [
  12710. {
  12711. "ApiKeyAuth": []
  12712. }
  12713. ],
  12714. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12715. "produces": [
  12716. "application/json"
  12717. ],
  12718. "tags": [
  12719. "通用交易"
  12720. ],
  12721. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  12722. "parameters": [
  12723. {
  12724. "type": "integer",
  12725. "description": "页码",
  12726. "name": "page",
  12727. "in": "query"
  12728. },
  12729. {
  12730. "type": "integer",
  12731. "description": "每页条数",
  12732. "name": "pagesize",
  12733. "in": "query"
  12734. },
  12735. {
  12736. "type": "integer",
  12737. "description": "商品ID",
  12738. "name": "goodsID",
  12739. "in": "query",
  12740. "required": true
  12741. },
  12742. {
  12743. "type": "string",
  12744. "description": "所属账户名称",
  12745. "name": "accountName",
  12746. "in": "query"
  12747. },
  12748. {
  12749. "type": "integer",
  12750. "description": "市场ID",
  12751. "name": "marketID",
  12752. "in": "query"
  12753. },
  12754. {
  12755. "type": "integer",
  12756. "description": "方向 - 0:买 1:卖",
  12757. "name": "buyorsell",
  12758. "in": "query",
  12759. "required": true
  12760. }
  12761. ],
  12762. "responses": {
  12763. "200": {
  12764. "description": "OK",
  12765. "schema": {
  12766. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  12767. }
  12768. },
  12769. "500": {
  12770. "description": "Internal Server Error",
  12771. "schema": {
  12772. "$ref": "#/definitions/app.Response"
  12773. }
  12774. }
  12775. }
  12776. }
  12777. },
  12778. "/User/AddMessageBoard": {
  12779. "post": {
  12780. "security": [
  12781. {
  12782. "ApiKeyAuth": []
  12783. }
  12784. ],
  12785. "produces": [
  12786. "application/json"
  12787. ],
  12788. "tags": [
  12789. "用户信息"
  12790. ],
  12791. "summary": "添加用户留言板信息",
  12792. "parameters": [
  12793. {
  12794. "type": "integer",
  12795. "description": "用户ID",
  12796. "name": "userID",
  12797. "in": "query",
  12798. "required": true
  12799. },
  12800. {
  12801. "type": "string",
  12802. "description": "留言信息",
  12803. "name": "message",
  12804. "in": "query",
  12805. "required": true
  12806. },
  12807. {
  12808. "type": "string",
  12809. "description": "联系电话",
  12810. "name": "contactNum",
  12811. "in": "query",
  12812. "required": true
  12813. }
  12814. ],
  12815. "responses": {
  12816. "200": {
  12817. "description": "OK",
  12818. "schema": {
  12819. "$ref": "#/definitions/app.Response"
  12820. }
  12821. },
  12822. "500": {
  12823. "description": "Internal Server Error",
  12824. "schema": {
  12825. "$ref": "#/definitions/app.Response"
  12826. }
  12827. }
  12828. }
  12829. }
  12830. },
  12831. "/User/AddUserFavoriteGoods": {
  12832. "post": {
  12833. "security": [
  12834. {
  12835. "ApiKeyAuth": []
  12836. }
  12837. ],
  12838. "produces": [
  12839. "application/json"
  12840. ],
  12841. "tags": [
  12842. "用户信息"
  12843. ],
  12844. "summary": "添加用户商品收藏信息",
  12845. "parameters": [
  12846. {
  12847. "type": "integer",
  12848. "description": "用户ID",
  12849. "name": "userID",
  12850. "in": "query",
  12851. "required": true
  12852. },
  12853. {
  12854. "type": "integer",
  12855. "description": "商品ID",
  12856. "name": "goodsID",
  12857. "in": "query",
  12858. "required": true
  12859. }
  12860. ],
  12861. "responses": {
  12862. "200": {
  12863. "description": "OK",
  12864. "schema": {
  12865. "$ref": "#/definitions/app.Response"
  12866. }
  12867. },
  12868. "500": {
  12869. "description": "Internal Server Error",
  12870. "schema": {
  12871. "$ref": "#/definitions/app.Response"
  12872. }
  12873. }
  12874. }
  12875. }
  12876. },
  12877. "/User/GetLoginID": {
  12878. "get": {
  12879. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  12880. "produces": [
  12881. "application/json"
  12882. ],
  12883. "tags": [
  12884. "用户信息"
  12885. ],
  12886. "summary": "获取登录ID",
  12887. "parameters": [
  12888. {
  12889. "type": "string",
  12890. "description": "登录代码",
  12891. "name": "username",
  12892. "in": "query",
  12893. "required": true
  12894. }
  12895. ],
  12896. "responses": {
  12897. "200": {
  12898. "description": "OK",
  12899. "schema": {
  12900. "$ref": "#/definitions/app.Response"
  12901. }
  12902. },
  12903. "500": {
  12904. "description": "Internal Server Error",
  12905. "schema": {
  12906. "$ref": "#/definitions/app.Response"
  12907. }
  12908. }
  12909. }
  12910. }
  12911. },
  12912. "/User/GetUserAccount": {
  12913. "get": {
  12914. "security": [
  12915. {
  12916. "ApiKeyAuth": []
  12917. }
  12918. ],
  12919. "produces": [
  12920. "application/json"
  12921. ],
  12922. "tags": [
  12923. "用户信息"
  12924. ],
  12925. "summary": "获取用户账号信息",
  12926. "parameters": [
  12927. {
  12928. "type": "integer",
  12929. "description": "用户ID",
  12930. "name": "userID",
  12931. "in": "query",
  12932. "required": true
  12933. }
  12934. ],
  12935. "responses": {
  12936. "200": {
  12937. "description": "OK",
  12938. "schema": {
  12939. "$ref": "#/definitions/models.Useraccount"
  12940. }
  12941. },
  12942. "500": {
  12943. "description": "Internal Server Error",
  12944. "schema": {
  12945. "$ref": "#/definitions/app.Response"
  12946. }
  12947. }
  12948. }
  12949. }
  12950. },
  12951. "/User/GetUserAuthStatus": {
  12952. "get": {
  12953. "security": [
  12954. {
  12955. "ApiKeyAuth": []
  12956. }
  12957. ],
  12958. "produces": [
  12959. "application/json"
  12960. ],
  12961. "tags": [
  12962. "用户信息"
  12963. ],
  12964. "summary": "获取用户实名认证状态",
  12965. "parameters": [
  12966. {
  12967. "type": "integer",
  12968. "description": "用户ID",
  12969. "name": "userID",
  12970. "in": "query",
  12971. "required": true
  12972. }
  12973. ],
  12974. "responses": {
  12975. "200": {
  12976. "description": "OK",
  12977. "schema": {
  12978. "$ref": "#/definitions/app.Response"
  12979. }
  12980. },
  12981. "500": {
  12982. "description": "Internal Server Error",
  12983. "schema": {
  12984. "$ref": "#/definitions/app.Response"
  12985. }
  12986. }
  12987. }
  12988. }
  12989. },
  12990. "/User/LoginQuery": {
  12991. "get": {
  12992. "security": [
  12993. {
  12994. "ApiKeyAuth": []
  12995. }
  12996. ],
  12997. "produces": [
  12998. "application/json"
  12999. ],
  13000. "tags": [
  13001. "用户信息"
  13002. ],
  13003. "summary": "账户登录后信息查询",
  13004. "parameters": [
  13005. {
  13006. "type": "integer",
  13007. "description": "登录账号",
  13008. "name": "loginID",
  13009. "in": "query",
  13010. "required": true
  13011. }
  13012. ],
  13013. "responses": {
  13014. "200": {
  13015. "description": "OK",
  13016. "schema": {
  13017. "$ref": "#/definitions/user.LoginQueryRsp"
  13018. }
  13019. },
  13020. "500": {
  13021. "description": "Internal Server Error",
  13022. "schema": {
  13023. "$ref": "#/definitions/app.Response"
  13024. }
  13025. }
  13026. }
  13027. }
  13028. },
  13029. "/User/QueryMessageBoard": {
  13030. "get": {
  13031. "security": [
  13032. {
  13033. "ApiKeyAuth": []
  13034. }
  13035. ],
  13036. "produces": [
  13037. "application/json"
  13038. ],
  13039. "tags": [
  13040. "用户信息"
  13041. ],
  13042. "summary": "获取用户留言板信息",
  13043. "parameters": [
  13044. {
  13045. "type": "integer",
  13046. "description": "用户ID",
  13047. "name": "userID",
  13048. "in": "query",
  13049. "required": true
  13050. }
  13051. ],
  13052. "responses": {
  13053. "200": {
  13054. "description": "OK",
  13055. "schema": {
  13056. "$ref": "#/definitions/models.Messageboard"
  13057. }
  13058. },
  13059. "500": {
  13060. "description": "Internal Server Error",
  13061. "schema": {
  13062. "$ref": "#/definitions/app.Response"
  13063. }
  13064. }
  13065. }
  13066. }
  13067. },
  13068. "/User/QueryUserFavoriteGoodses": {
  13069. "get": {
  13070. "security": [
  13071. {
  13072. "ApiKeyAuth": []
  13073. }
  13074. ],
  13075. "produces": [
  13076. "application/json"
  13077. ],
  13078. "tags": [
  13079. "用户信息"
  13080. ],
  13081. "summary": "获取用户商品收藏信息",
  13082. "parameters": [
  13083. {
  13084. "type": "integer",
  13085. "description": "用户ID",
  13086. "name": "userID",
  13087. "in": "query",
  13088. "required": true
  13089. }
  13090. ],
  13091. "responses": {
  13092. "200": {
  13093. "description": "OK",
  13094. "schema": {
  13095. "$ref": "#/definitions/models.Userfavoritegoods"
  13096. }
  13097. },
  13098. "500": {
  13099. "description": "Internal Server Error",
  13100. "schema": {
  13101. "$ref": "#/definitions/app.Response"
  13102. }
  13103. }
  13104. }
  13105. }
  13106. },
  13107. "/User/QueryUserInfo": {
  13108. "get": {
  13109. "security": [
  13110. {
  13111. "ApiKeyAuth": []
  13112. }
  13113. ],
  13114. "produces": [
  13115. "application/json"
  13116. ],
  13117. "tags": [
  13118. "用户信息"
  13119. ],
  13120. "summary": "获取用户信息",
  13121. "parameters": [
  13122. {
  13123. "type": "integer",
  13124. "description": "用户ID",
  13125. "name": "userID",
  13126. "in": "query",
  13127. "required": true
  13128. },
  13129. {
  13130. "type": "boolean",
  13131. "description": "是否解密",
  13132. "name": "isDecrypt",
  13133. "in": "query"
  13134. }
  13135. ],
  13136. "responses": {
  13137. "200": {
  13138. "description": "OK",
  13139. "schema": {
  13140. "$ref": "#/definitions/models.Userinfo"
  13141. }
  13142. },
  13143. "500": {
  13144. "description": "Internal Server Error",
  13145. "schema": {
  13146. "$ref": "#/definitions/app.Response"
  13147. }
  13148. }
  13149. }
  13150. }
  13151. },
  13152. "/User/QueryUserReferNum": {
  13153. "get": {
  13154. "produces": [
  13155. "application/json"
  13156. ],
  13157. "tags": [
  13158. "用户信息"
  13159. ],
  13160. "summary": "获取用户邀请码",
  13161. "parameters": [
  13162. {
  13163. "type": "integer",
  13164. "description": "用户ID",
  13165. "name": "userID",
  13166. "in": "query",
  13167. "required": true
  13168. }
  13169. ],
  13170. "responses": {
  13171. "200": {
  13172. "description": "OK",
  13173. "schema": {
  13174. "$ref": "#/definitions/app.Response"
  13175. }
  13176. },
  13177. "500": {
  13178. "description": "Internal Server Error",
  13179. "schema": {
  13180. "$ref": "#/definitions/app.Response"
  13181. }
  13182. }
  13183. }
  13184. }
  13185. },
  13186. "/User/RemoveUserFavoriteGoods": {
  13187. "post": {
  13188. "security": [
  13189. {
  13190. "ApiKeyAuth": []
  13191. }
  13192. ],
  13193. "produces": [
  13194. "application/json"
  13195. ],
  13196. "tags": [
  13197. "用户信息"
  13198. ],
  13199. "summary": "移除用户商品收藏信息",
  13200. "parameters": [
  13201. {
  13202. "type": "integer",
  13203. "description": "用户ID",
  13204. "name": "userID",
  13205. "in": "query",
  13206. "required": true
  13207. },
  13208. {
  13209. "type": "integer",
  13210. "description": "商品ID",
  13211. "name": "goodsID",
  13212. "in": "query",
  13213. "required": true
  13214. }
  13215. ],
  13216. "responses": {
  13217. "200": {
  13218. "description": "OK",
  13219. "schema": {
  13220. "$ref": "#/definitions/app.Response"
  13221. }
  13222. },
  13223. "500": {
  13224. "description": "Internal Server Error",
  13225. "schema": {
  13226. "$ref": "#/definitions/app.Response"
  13227. }
  13228. }
  13229. }
  13230. }
  13231. },
  13232. "/User/UpdateUserAccountStatus": {
  13233. "post": {
  13234. "security": [
  13235. {
  13236. "ApiKeyAuth": []
  13237. }
  13238. ],
  13239. "produces": [
  13240. "application/json"
  13241. ],
  13242. "tags": [
  13243. "用户信息"
  13244. ],
  13245. "summary": "更新用户状态",
  13246. "parameters": [
  13247. {
  13248. "type": "integer",
  13249. "description": "用户ID",
  13250. "name": "userID",
  13251. "in": "query",
  13252. "required": true
  13253. },
  13254. {
  13255. "type": "integer",
  13256. "description": "账户状态 - 4:正常 6:注销(停用)",
  13257. "name": "accountStatus",
  13258. "in": "query",
  13259. "required": true
  13260. }
  13261. ],
  13262. "responses": {
  13263. "200": {
  13264. "description": "OK",
  13265. "schema": {
  13266. "$ref": "#/definitions/app.Response"
  13267. }
  13268. },
  13269. "500": {
  13270. "description": "Internal Server Error",
  13271. "schema": {
  13272. "$ref": "#/definitions/app.Response"
  13273. }
  13274. }
  13275. }
  13276. }
  13277. },
  13278. "/WRTrade/GetAllDeliveryGoods": {
  13279. "get": {
  13280. "security": [
  13281. {
  13282. "ApiKeyAuth": []
  13283. }
  13284. ],
  13285. "produces": [
  13286. "application/json"
  13287. ],
  13288. "tags": [
  13289. "仓单贸易",
  13290. "仓单贸易"
  13291. ],
  13292. "summary": "获取带仓单分类的种类信息",
  13293. "responses": {
  13294. "200": {
  13295. "description": "OK",
  13296. "schema": {
  13297. "$ref": "#/definitions/app.Response"
  13298. }
  13299. },
  13300. "500": {
  13301. "description": "Internal Server Error",
  13302. "schema": {
  13303. "$ref": "#/definitions/app.Response"
  13304. }
  13305. }
  13306. }
  13307. }
  13308. },
  13309. "/WrTrade2/InsertXhcpSellBackApply": {
  13310. "post": {
  13311. "security": [
  13312. {
  13313. "ApiKeyAuth": []
  13314. }
  13315. ],
  13316. "produces": [
  13317. "application/json"
  13318. ],
  13319. "tags": [
  13320. "仓单贸易v2"
  13321. ],
  13322. "summary": "新增回收申请(新会陈皮)",
  13323. "parameters": [
  13324. {
  13325. "description": "回收申请",
  13326. "name": "jsonBody",
  13327. "in": "body",
  13328. "required": true,
  13329. "schema": {
  13330. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  13331. }
  13332. }
  13333. ],
  13334. "responses": {
  13335. "200": {
  13336. "description": "OK",
  13337. "schema": {
  13338. "$ref": "#/definitions/app.Response"
  13339. }
  13340. },
  13341. "500": {
  13342. "description": "Internal Server Error",
  13343. "schema": {
  13344. "$ref": "#/definitions/app.Response"
  13345. }
  13346. }
  13347. }
  13348. }
  13349. },
  13350. "/WrTrade2/QueryDeliveryGoodsSection": {
  13351. "get": {
  13352. "security": [
  13353. {
  13354. "ApiKeyAuth": []
  13355. }
  13356. ],
  13357. "produces": [
  13358. "application/json"
  13359. ],
  13360. "tags": [
  13361. "仓单贸易v2"
  13362. ],
  13363. "summary": "查询板块(分类)",
  13364. "responses": {
  13365. "200": {
  13366. "description": "OK",
  13367. "schema": {
  13368. "type": "array",
  13369. "items": {
  13370. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  13371. }
  13372. }
  13373. },
  13374. "500": {
  13375. "description": "Internal Server Error",
  13376. "schema": {
  13377. "$ref": "#/definitions/app.Response"
  13378. }
  13379. }
  13380. }
  13381. }
  13382. },
  13383. "/WrTrade2/QueryFaProductDetail": {
  13384. "get": {
  13385. "security": [
  13386. {
  13387. "ApiKeyAuth": []
  13388. }
  13389. ],
  13390. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  13391. "produces": [
  13392. "application/json"
  13393. ],
  13394. "tags": [
  13395. "仓单贸易v2"
  13396. ],
  13397. "summary": "查询融资产品列表",
  13398. "parameters": [
  13399. {
  13400. "type": "integer",
  13401. "description": "仓单要素id",
  13402. "name": "wrfactortypeid",
  13403. "in": "query",
  13404. "required": true
  13405. }
  13406. ],
  13407. "responses": {
  13408. "200": {
  13409. "description": "OK",
  13410. "schema": {
  13411. "type": "array",
  13412. "items": {
  13413. "$ref": "#/definitions/models.WrFAProductDetail"
  13414. }
  13415. }
  13416. },
  13417. "500": {
  13418. "description": "Internal Server Error",
  13419. "schema": {
  13420. "$ref": "#/definitions/app.Response"
  13421. }
  13422. }
  13423. }
  13424. }
  13425. },
  13426. "/WrTrade2/QueryFilterItem": {
  13427. "get": {
  13428. "security": [
  13429. {
  13430. "ApiKeyAuth": []
  13431. }
  13432. ],
  13433. "produces": [
  13434. "application/json"
  13435. ],
  13436. "tags": [
  13437. "仓单贸易v2"
  13438. ],
  13439. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  13440. "parameters": [
  13441. {
  13442. "type": "string",
  13443. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  13444. "name": "itype",
  13445. "in": "query",
  13446. "required": true
  13447. }
  13448. ],
  13449. "responses": {
  13450. "200": {
  13451. "description": "OK",
  13452. "schema": {
  13453. "type": "array",
  13454. "items": {
  13455. "$ref": "#/definitions/models.WrFilterItem"
  13456. }
  13457. }
  13458. },
  13459. "500": {
  13460. "description": "Internal Server Error",
  13461. "schema": {
  13462. "$ref": "#/definitions/app.Response"
  13463. }
  13464. }
  13465. }
  13466. }
  13467. },
  13468. "/WrTrade2/QueryFtDeliveryGoods": {
  13469. "get": {
  13470. "security": [
  13471. {
  13472. "ApiKeyAuth": []
  13473. }
  13474. ],
  13475. "produces": [
  13476. "application/json"
  13477. ],
  13478. "tags": [
  13479. "仓单贸易v2"
  13480. ],
  13481. "summary": "查询品种品类筛选框列表",
  13482. "responses": {
  13483. "200": {
  13484. "description": "OK",
  13485. "schema": {
  13486. "type": "array",
  13487. "items": {
  13488. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  13489. }
  13490. }
  13491. },
  13492. "500": {
  13493. "description": "Internal Server Error",
  13494. "schema": {
  13495. "$ref": "#/definitions/app.Response"
  13496. }
  13497. }
  13498. }
  13499. }
  13500. },
  13501. "/WrTrade2/QueryHoldLB": {
  13502. "get": {
  13503. "security": [
  13504. {
  13505. "ApiKeyAuth": []
  13506. }
  13507. ],
  13508. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  13509. "produces": [
  13510. "application/json"
  13511. ],
  13512. "tags": [
  13513. "仓单贸易v2"
  13514. ],
  13515. "summary": "查询仓单持有记录",
  13516. "parameters": [
  13517. {
  13518. "type": "integer",
  13519. "description": "资金账号",
  13520. "name": "accountid",
  13521. "in": "query",
  13522. "required": true
  13523. },
  13524. {
  13525. "type": "integer",
  13526. "description": "仓库id",
  13527. "name": "warehouseid",
  13528. "in": "query"
  13529. },
  13530. {
  13531. "type": "integer",
  13532. "description": "品种id",
  13533. "name": "deliverygoodsid",
  13534. "in": "query"
  13535. },
  13536. {
  13537. "type": "integer",
  13538. "description": "品类id",
  13539. "name": "wrstandardid",
  13540. "in": "query"
  13541. },
  13542. {
  13543. "type": "integer",
  13544. "description": "仓单要素id",
  13545. "name": "wrfactortypeid",
  13546. "in": "query"
  13547. },
  13548. {
  13549. "type": "string",
  13550. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13551. "name": "dgitemname",
  13552. "in": "query"
  13553. }
  13554. ],
  13555. "responses": {
  13556. "200": {
  13557. "description": "OK",
  13558. "schema": {
  13559. "type": "array",
  13560. "items": {
  13561. "$ref": "#/definitions/models.WrHoldLB"
  13562. }
  13563. }
  13564. },
  13565. "500": {
  13566. "description": "Internal Server Error",
  13567. "schema": {
  13568. "$ref": "#/definitions/app.Response"
  13569. }
  13570. }
  13571. }
  13572. }
  13573. },
  13574. "/WrTrade2/QueryOrderQuote": {
  13575. "get": {
  13576. "security": [
  13577. {
  13578. "ApiKeyAuth": []
  13579. }
  13580. ],
  13581. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  13582. "produces": [
  13583. "application/json"
  13584. ],
  13585. "tags": [
  13586. "仓单贸易v2"
  13587. ],
  13588. "summary": "查询大厅行情列表",
  13589. "parameters": [
  13590. {
  13591. "type": "integer",
  13592. "description": "页码",
  13593. "name": "page",
  13594. "in": "query"
  13595. },
  13596. {
  13597. "type": "integer",
  13598. "description": "每页条数",
  13599. "name": "pagesize",
  13600. "in": "query"
  13601. },
  13602. {
  13603. "type": "integer",
  13604. "description": "仓单贸易市场id",
  13605. "name": "marketid",
  13606. "in": "query"
  13607. },
  13608. {
  13609. "type": "integer",
  13610. "description": "价格方式 - 1:固定价 2-浮动价",
  13611. "name": "wrpricetype",
  13612. "in": "query",
  13613. "required": true
  13614. },
  13615. {
  13616. "type": "integer",
  13617. "description": "0:仓单预售 1:仓单贸易",
  13618. "name": "haswr",
  13619. "in": "query"
  13620. },
  13621. {
  13622. "type": "string",
  13623. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13624. "name": "dgitemname",
  13625. "in": "query"
  13626. },
  13627. {
  13628. "type": "integer",
  13629. "description": "仓库id(筛选条件)",
  13630. "name": "warehouseid",
  13631. "in": "query"
  13632. },
  13633. {
  13634. "type": "integer",
  13635. "description": "品种id",
  13636. "name": "deliverygoodsid",
  13637. "in": "query"
  13638. },
  13639. {
  13640. "type": "integer",
  13641. "description": "品类id",
  13642. "name": "wrstandardid",
  13643. "in": "query"
  13644. },
  13645. {
  13646. "type": "integer",
  13647. "description": "品牌id(dgfactoryitemid)",
  13648. "name": "brandid",
  13649. "in": "query"
  13650. },
  13651. {
  13652. "type": "integer",
  13653. "description": "年份id(dgfactoryitemid)",
  13654. "name": "yearsid",
  13655. "in": "query"
  13656. },
  13657. {
  13658. "type": "integer",
  13659. "description": "仓单要素id",
  13660. "name": "wrfactortypeid",
  13661. "in": "query"
  13662. },
  13663. {
  13664. "type": "string",
  13665. "description": "交收月(yyyy-mm) 仓单预售填写",
  13666. "name": "deliverymonth",
  13667. "in": "query"
  13668. }
  13669. ],
  13670. "responses": {
  13671. "200": {
  13672. "description": "OK",
  13673. "schema": {
  13674. "type": "array",
  13675. "items": {
  13676. "$ref": "#/definitions/models.WrOrderQuote"
  13677. }
  13678. }
  13679. },
  13680. "500": {
  13681. "description": "Internal Server Error",
  13682. "schema": {
  13683. "$ref": "#/definitions/app.Response"
  13684. }
  13685. }
  13686. }
  13687. }
  13688. },
  13689. "/WrTrade2/QueryOrderQuoteDetail": {
  13690. "get": {
  13691. "security": [
  13692. {
  13693. "ApiKeyAuth": []
  13694. }
  13695. ],
  13696. "produces": [
  13697. "application/json"
  13698. ],
  13699. "tags": [
  13700. "仓单贸易v2"
  13701. ],
  13702. "summary": "查询买卖大厅",
  13703. "parameters": [
  13704. {
  13705. "type": "integer",
  13706. "description": "页码",
  13707. "name": "page",
  13708. "in": "query"
  13709. },
  13710. {
  13711. "type": "integer",
  13712. "description": "每页条数",
  13713. "name": "pagesize",
  13714. "in": "query"
  13715. },
  13716. {
  13717. "type": "integer",
  13718. "description": "仓单贸易市场id",
  13719. "name": "marketid",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "价格方式 - 1:固定价 2-浮动价",
  13725. "name": "wrpricetype",
  13726. "in": "query",
  13727. "required": true
  13728. },
  13729. {
  13730. "type": "integer",
  13731. "description": "0:仓单预售 1:仓单贸易",
  13732. "name": "haswr",
  13733. "in": "query"
  13734. },
  13735. {
  13736. "type": "integer",
  13737. "description": "仓单要素id",
  13738. "name": "wrfactortypeid",
  13739. "in": "query",
  13740. "required": true
  13741. },
  13742. {
  13743. "type": "integer",
  13744. "description": "期货商品id(浮动价方式时填)",
  13745. "name": "goodsid",
  13746. "in": "query"
  13747. },
  13748. {
  13749. "type": "integer",
  13750. "description": "买卖方向 0-买 1-卖",
  13751. "name": "buyorsell",
  13752. "in": "query",
  13753. "required": true
  13754. },
  13755. {
  13756. "type": "string",
  13757. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  13758. "name": "deliverymonth",
  13759. "in": "query"
  13760. }
  13761. ],
  13762. "responses": {
  13763. "200": {
  13764. "description": "OK",
  13765. "schema": {
  13766. "type": "array",
  13767. "items": {
  13768. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  13769. }
  13770. }
  13771. },
  13772. "500": {
  13773. "description": "Internal Server Error",
  13774. "schema": {
  13775. "$ref": "#/definitions/app.Response"
  13776. }
  13777. }
  13778. }
  13779. }
  13780. },
  13781. "/WrTrade2/QueryOrderQuoteMyq": {
  13782. "get": {
  13783. "security": [
  13784. {
  13785. "ApiKeyAuth": []
  13786. }
  13787. ],
  13788. "produces": [
  13789. "application/json"
  13790. ],
  13791. "tags": [
  13792. "仓单贸易v2"
  13793. ],
  13794. "summary": "查询贸易圈挂牌大厅",
  13795. "parameters": [
  13796. {
  13797. "type": "integer",
  13798. "description": "页码",
  13799. "name": "page",
  13800. "in": "query"
  13801. },
  13802. {
  13803. "type": "integer",
  13804. "description": "每页条数",
  13805. "name": "pagesize",
  13806. "in": "query"
  13807. },
  13808. {
  13809. "type": "integer",
  13810. "description": "用户id",
  13811. "name": "userid",
  13812. "in": "query",
  13813. "required": true
  13814. },
  13815. {
  13816. "type": "integer",
  13817. "description": "仓单贸易市场id",
  13818. "name": "marketid",
  13819. "in": "query"
  13820. },
  13821. {
  13822. "type": "integer",
  13823. "description": "0:仓单预售 1:仓单贸易",
  13824. "name": "haswr",
  13825. "in": "query"
  13826. },
  13827. {
  13828. "type": "integer",
  13829. "description": "买卖方向 0-买 1-卖",
  13830. "name": "buyorsell",
  13831. "in": "query",
  13832. "required": true
  13833. },
  13834. {
  13835. "type": "integer",
  13836. "description": "品种id",
  13837. "name": "deliverygoodsid",
  13838. "in": "query"
  13839. },
  13840. {
  13841. "type": "integer",
  13842. "description": "品类id",
  13843. "name": "wrstandardid",
  13844. "in": "query"
  13845. },
  13846. {
  13847. "type": "string",
  13848. "description": "交收月(yyyy-mm) 仓单预售填写",
  13849. "name": "deliverymonth",
  13850. "in": "query"
  13851. },
  13852. {
  13853. "type": "string",
  13854. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  13855. "name": "dgitemname",
  13856. "in": "query"
  13857. }
  13858. ],
  13859. "responses": {
  13860. "200": {
  13861. "description": "OK",
  13862. "schema": {
  13863. "type": "array",
  13864. "items": {
  13865. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  13866. }
  13867. }
  13868. },
  13869. "500": {
  13870. "description": "Internal Server Error",
  13871. "schema": {
  13872. "$ref": "#/definitions/app.Response"
  13873. }
  13874. }
  13875. }
  13876. }
  13877. },
  13878. "/WrTrade2/QueryPerformancePlan": {
  13879. "get": {
  13880. "security": [
  13881. {
  13882. "ApiKeyAuth": []
  13883. }
  13884. ],
  13885. "produces": [
  13886. "application/json"
  13887. ],
  13888. "tags": [
  13889. "仓单贸易v2"
  13890. ],
  13891. "summary": "查询履约信息",
  13892. "parameters": [
  13893. {
  13894. "type": "integer",
  13895. "description": "用户id",
  13896. "name": "userid",
  13897. "in": "query",
  13898. "required": true
  13899. },
  13900. {
  13901. "type": "integer",
  13902. "description": "买卖方向 0-买 1-卖",
  13903. "name": "buyorsell",
  13904. "in": "query",
  13905. "required": true
  13906. },
  13907. {
  13908. "type": "string",
  13909. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  13910. "name": "status",
  13911. "in": "query"
  13912. },
  13913. {
  13914. "type": "string",
  13915. "description": "开始交易日(yyyymmdd)",
  13916. "name": "begindate",
  13917. "in": "query"
  13918. },
  13919. {
  13920. "type": "string",
  13921. "description": "结束交易日(yyyymmdd)",
  13922. "name": "enddate",
  13923. "in": "query"
  13924. }
  13925. ],
  13926. "responses": {
  13927. "200": {
  13928. "description": "OK",
  13929. "schema": {
  13930. "type": "array",
  13931. "items": {
  13932. "$ref": "#/definitions/models.WrPerformancePlan"
  13933. }
  13934. }
  13935. },
  13936. "500": {
  13937. "description": "Internal Server Error",
  13938. "schema": {
  13939. "$ref": "#/definitions/app.Response"
  13940. }
  13941. }
  13942. }
  13943. }
  13944. },
  13945. "/WrTrade2/QueryPermancePlanTmp": {
  13946. "get": {
  13947. "security": [
  13948. {
  13949. "ApiKeyAuth": []
  13950. }
  13951. ],
  13952. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  13953. "produces": [
  13954. "application/json"
  13955. ],
  13956. "tags": [
  13957. "仓单贸易v2"
  13958. ],
  13959. "summary": "查询履约模板",
  13960. "parameters": [
  13961. {
  13962. "type": "integer",
  13963. "description": "用户id",
  13964. "name": "userid",
  13965. "in": "query"
  13966. },
  13967. {
  13968. "type": "string",
  13969. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  13970. "name": "tmptype",
  13971. "in": "query"
  13972. },
  13973. {
  13974. "type": "integer",
  13975. "description": "是否包含公共模板(用户id为空的) 1-包含",
  13976. "name": "includepub",
  13977. "in": "query"
  13978. },
  13979. {
  13980. "type": "integer",
  13981. "description": "市场id(天津麦顿指定此参数,其它不用)",
  13982. "name": "marketid",
  13983. "in": "query"
  13984. }
  13985. ],
  13986. "responses": {
  13987. "200": {
  13988. "description": "OK",
  13989. "schema": {
  13990. "type": "array",
  13991. "items": {
  13992. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  13993. }
  13994. }
  13995. },
  13996. "500": {
  13997. "description": "Internal Server Error",
  13998. "schema": {
  13999. "$ref": "#/definitions/app.Response"
  14000. }
  14001. }
  14002. }
  14003. }
  14004. },
  14005. "/WrTrade2/QuerySiteColumnDetail": {
  14006. "get": {
  14007. "security": [
  14008. {
  14009. "ApiKeyAuth": []
  14010. }
  14011. ],
  14012. "produces": [
  14013. "application/json"
  14014. ],
  14015. "tags": [
  14016. "仓单贸易v2"
  14017. ],
  14018. "summary": "查询资讯",
  14019. "parameters": [
  14020. {
  14021. "type": "integer",
  14022. "description": "页码",
  14023. "name": "page",
  14024. "in": "query"
  14025. },
  14026. {
  14027. "type": "integer",
  14028. "description": "每页条数",
  14029. "name": "pagesize",
  14030. "in": "query"
  14031. },
  14032. {
  14033. "type": "integer",
  14034. "description": "所属栏目id",
  14035. "name": "columnid",
  14036. "in": "query"
  14037. }
  14038. ],
  14039. "responses": {
  14040. "200": {
  14041. "description": "OK",
  14042. "schema": {
  14043. "type": "array",
  14044. "items": {
  14045. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14046. }
  14047. }
  14048. },
  14049. "500": {
  14050. "description": "Internal Server Error",
  14051. "schema": {
  14052. "$ref": "#/definitions/app.Response"
  14053. }
  14054. }
  14055. }
  14056. }
  14057. },
  14058. "/WrTrade2/QuerySpotGroupTradeSum": {
  14059. "get": {
  14060. "security": [
  14061. {
  14062. "ApiKeyAuth": []
  14063. }
  14064. ],
  14065. "produces": [
  14066. "application/json"
  14067. ],
  14068. "tags": [
  14069. "仓单贸易v2"
  14070. ],
  14071. "summary": "查询指数",
  14072. "responses": {
  14073. "200": {
  14074. "description": "OK",
  14075. "schema": {
  14076. "type": "array",
  14077. "items": {
  14078. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14079. }
  14080. }
  14081. },
  14082. "500": {
  14083. "description": "Internal Server Error",
  14084. "schema": {
  14085. "$ref": "#/definitions/app.Response"
  14086. }
  14087. }
  14088. }
  14089. }
  14090. },
  14091. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14092. "get": {
  14093. "security": [
  14094. {
  14095. "ApiKeyAuth": []
  14096. }
  14097. ],
  14098. "description": "查询的结果将会按日期 从小到大 排序",
  14099. "produces": [
  14100. "application/json"
  14101. ],
  14102. "tags": [
  14103. "仓单贸易v2"
  14104. ],
  14105. "summary": "查询指数详细(价格走势图)",
  14106. "parameters": [
  14107. {
  14108. "type": "integer",
  14109. "description": "现货商品id",
  14110. "name": "deliverygoodsid",
  14111. "in": "query",
  14112. "required": true
  14113. },
  14114. {
  14115. "type": "integer",
  14116. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14117. "name": "lastnum",
  14118. "in": "query"
  14119. }
  14120. ],
  14121. "responses": {
  14122. "200": {
  14123. "description": "OK",
  14124. "schema": {
  14125. "type": "array",
  14126. "items": {
  14127. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14128. }
  14129. }
  14130. },
  14131. "500": {
  14132. "description": "Internal Server Error",
  14133. "schema": {
  14134. "$ref": "#/definitions/app.Response"
  14135. }
  14136. }
  14137. }
  14138. }
  14139. },
  14140. "/WrTrade2/QueryWrAverageTradePrice": {
  14141. "get": {
  14142. "security": [
  14143. {
  14144. "ApiKeyAuth": []
  14145. }
  14146. ],
  14147. "produces": [
  14148. "application/json"
  14149. ],
  14150. "tags": [
  14151. "仓单贸易v2"
  14152. ],
  14153. "summary": "查询成交价(历史走势)",
  14154. "parameters": [
  14155. {
  14156. "type": "integer",
  14157. "description": "页码",
  14158. "name": "page",
  14159. "in": "query"
  14160. },
  14161. {
  14162. "type": "integer",
  14163. "description": "每页条数",
  14164. "name": "pagesize",
  14165. "in": "query"
  14166. },
  14167. {
  14168. "type": "integer",
  14169. "description": "0:仓单预售 1:仓单贸易",
  14170. "name": "haswr",
  14171. "in": "query",
  14172. "required": true
  14173. },
  14174. {
  14175. "type": "integer",
  14176. "description": "仓单要素id",
  14177. "name": "wrfactortypeid",
  14178. "in": "query",
  14179. "required": true
  14180. }
  14181. ],
  14182. "responses": {
  14183. "200": {
  14184. "description": "OK",
  14185. "schema": {
  14186. "type": "array",
  14187. "items": {
  14188. "$ref": "#/definitions/models.WrAverageTradePrice"
  14189. }
  14190. }
  14191. },
  14192. "500": {
  14193. "description": "Internal Server Error",
  14194. "schema": {
  14195. "$ref": "#/definitions/app.Response"
  14196. }
  14197. }
  14198. }
  14199. }
  14200. },
  14201. "/WrTrade2/QueryWrBrandAndYears": {
  14202. "get": {
  14203. "security": [
  14204. {
  14205. "ApiKeyAuth": []
  14206. }
  14207. ],
  14208. "produces": [
  14209. "application/json"
  14210. ],
  14211. "tags": [
  14212. "仓单贸易v2"
  14213. ],
  14214. "summary": "查询品牌和年份",
  14215. "responses": {
  14216. "200": {
  14217. "description": "OK",
  14218. "schema": {
  14219. "type": "array",
  14220. "items": {
  14221. "$ref": "#/definitions/models.WrBrandAndYears"
  14222. }
  14223. }
  14224. },
  14225. "500": {
  14226. "description": "Internal Server Error",
  14227. "schema": {
  14228. "$ref": "#/definitions/app.Response"
  14229. }
  14230. }
  14231. }
  14232. }
  14233. },
  14234. "/WrTrade2/QueryWrBsGoodsInfo": {
  14235. "get": {
  14236. "security": [
  14237. {
  14238. "ApiKeyAuth": []
  14239. }
  14240. ],
  14241. "description": "合约交易/买卖大厅/详情",
  14242. "produces": [
  14243. "application/json"
  14244. ],
  14245. "tags": [
  14246. "仓单贸易v2"
  14247. ],
  14248. "summary": "查询合约交易买卖大厅详情",
  14249. "parameters": [
  14250. {
  14251. "type": "integer",
  14252. "description": "商品id",
  14253. "name": "goodsid",
  14254. "in": "query",
  14255. "required": true
  14256. }
  14257. ],
  14258. "responses": {
  14259. "200": {
  14260. "description": "OK",
  14261. "schema": {
  14262. "type": "array",
  14263. "items": {
  14264. "$ref": "#/definitions/models.WrBsGoodsInfo"
  14265. }
  14266. }
  14267. },
  14268. "500": {
  14269. "description": "Internal Server Error",
  14270. "schema": {
  14271. "$ref": "#/definitions/app.Response"
  14272. }
  14273. }
  14274. }
  14275. }
  14276. },
  14277. "/WrTrade2/QueryWrBuybackDetail": {
  14278. "get": {
  14279. "security": [
  14280. {
  14281. "ApiKeyAuth": []
  14282. }
  14283. ],
  14284. "produces": [
  14285. "application/json"
  14286. ],
  14287. "tags": [
  14288. "仓单贸易v2"
  14289. ],
  14290. "summary": "查询仓单回购明细",
  14291. "parameters": [
  14292. {
  14293. "type": "integer",
  14294. "description": "融资合同id",
  14295. "name": "scfcontractid",
  14296. "in": "query"
  14297. }
  14298. ],
  14299. "responses": {
  14300. "200": {
  14301. "description": "OK",
  14302. "schema": {
  14303. "type": "array",
  14304. "items": {
  14305. "$ref": "#/definitions/models.WrBuybackDetail"
  14306. }
  14307. }
  14308. },
  14309. "500": {
  14310. "description": "Internal Server Error",
  14311. "schema": {
  14312. "$ref": "#/definitions/app.Response"
  14313. }
  14314. }
  14315. }
  14316. }
  14317. },
  14318. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  14319. "get": {
  14320. "security": [
  14321. {
  14322. "ApiKeyAuth": []
  14323. }
  14324. ],
  14325. "produces": [
  14326. "application/json"
  14327. ],
  14328. "tags": [
  14329. "仓单贸易v2"
  14330. ],
  14331. "summary": "查询固定广告配置",
  14332. "responses": {
  14333. "200": {
  14334. "description": "OK",
  14335. "schema": {
  14336. "type": "array",
  14337. "items": {
  14338. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  14339. }
  14340. }
  14341. },
  14342. "500": {
  14343. "description": "Internal Server Error",
  14344. "schema": {
  14345. "$ref": "#/definitions/app.Response"
  14346. }
  14347. }
  14348. }
  14349. }
  14350. },
  14351. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  14352. "get": {
  14353. "security": [
  14354. {
  14355. "ApiKeyAuth": []
  14356. }
  14357. ],
  14358. "produces": [
  14359. "application/json"
  14360. ],
  14361. "tags": [
  14362. "仓单贸易v2"
  14363. ],
  14364. "summary": "查询合约交收可点选仓单",
  14365. "parameters": [
  14366. {
  14367. "type": "integer",
  14368. "description": "资金账号",
  14369. "name": "accountid",
  14370. "in": "query",
  14371. "required": true
  14372. },
  14373. {
  14374. "type": "integer",
  14375. "description": "商品id",
  14376. "name": "goodsid",
  14377. "in": "query",
  14378. "required": true
  14379. }
  14380. ],
  14381. "responses": {
  14382. "200": {
  14383. "description": "OK",
  14384. "schema": {
  14385. "type": "array",
  14386. "items": {
  14387. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  14388. }
  14389. }
  14390. },
  14391. "500": {
  14392. "description": "Internal Server Error",
  14393. "schema": {
  14394. "$ref": "#/definitions/app.Response"
  14395. }
  14396. }
  14397. }
  14398. }
  14399. },
  14400. "/WrTrade2/QueryWrDeliveryDetail": {
  14401. "get": {
  14402. "security": [
  14403. {
  14404. "ApiKeyAuth": []
  14405. }
  14406. ],
  14407. "produces": [
  14408. "application/json"
  14409. ],
  14410. "tags": [
  14411. "仓单贸易v2"
  14412. ],
  14413. "summary": "查询交收",
  14414. "parameters": [
  14415. {
  14416. "type": "integer",
  14417. "description": "用户id",
  14418. "name": "userid",
  14419. "in": "query",
  14420. "required": true
  14421. },
  14422. {
  14423. "type": "integer",
  14424. "description": "资金账号id",
  14425. "name": "accountid",
  14426. "in": "query"
  14427. },
  14428. {
  14429. "type": "string",
  14430. "description": "开始交易日(yyyymmdd)",
  14431. "name": "begindate",
  14432. "in": "query"
  14433. },
  14434. {
  14435. "type": "string",
  14436. "description": "结束交易日(yyyymmdd)",
  14437. "name": "enddate",
  14438. "in": "query"
  14439. }
  14440. ],
  14441. "responses": {
  14442. "200": {
  14443. "description": "OK",
  14444. "schema": {
  14445. "type": "array",
  14446. "items": {
  14447. "$ref": "#/definitions/models.WrDeliveryDetail"
  14448. }
  14449. }
  14450. },
  14451. "500": {
  14452. "description": "Internal Server Error",
  14453. "schema": {
  14454. "$ref": "#/definitions/app.Response"
  14455. }
  14456. }
  14457. }
  14458. }
  14459. },
  14460. "/WrTrade2/QueryWrDraftUserInfo": {
  14461. "get": {
  14462. "security": [
  14463. {
  14464. "ApiKeyAuth": []
  14465. }
  14466. ],
  14467. "produces": [
  14468. "application/json"
  14469. ],
  14470. "tags": [
  14471. "仓单贸易v2"
  14472. ],
  14473. "summary": "查询实名认证信息",
  14474. "parameters": [
  14475. {
  14476. "type": "integer",
  14477. "description": "用户ID",
  14478. "name": "userid",
  14479. "in": "query",
  14480. "required": true
  14481. },
  14482. {
  14483. "type": "integer",
  14484. "description": "用户状态 1:正常 2:注销",
  14485. "name": "userstatus",
  14486. "in": "query"
  14487. }
  14488. ],
  14489. "responses": {
  14490. "200": {
  14491. "description": "OK",
  14492. "schema": {
  14493. "type": "array",
  14494. "items": {
  14495. "$ref": "#/definitions/models.WrDraftUserInfo"
  14496. }
  14497. }
  14498. },
  14499. "500": {
  14500. "description": "Internal Server Error",
  14501. "schema": {
  14502. "$ref": "#/definitions/app.Response"
  14503. }
  14504. }
  14505. }
  14506. }
  14507. },
  14508. "/WrTrade2/QueryWrFactorTypeInfo": {
  14509. "get": {
  14510. "security": [
  14511. {
  14512. "ApiKeyAuth": []
  14513. }
  14514. ],
  14515. "produces": [
  14516. "application/json"
  14517. ],
  14518. "tags": [
  14519. "仓单贸易v2"
  14520. ],
  14521. "summary": "查询仓单要素详细信息",
  14522. "parameters": [
  14523. {
  14524. "type": "integer",
  14525. "description": "仓单要素id",
  14526. "name": "wrfactortypeid",
  14527. "in": "query",
  14528. "required": true
  14529. }
  14530. ],
  14531. "responses": {
  14532. "200": {
  14533. "description": "OK",
  14534. "schema": {
  14535. "type": "array",
  14536. "items": {
  14537. "$ref": "#/definitions/models.WrFactorTypeInfo"
  14538. }
  14539. }
  14540. },
  14541. "500": {
  14542. "description": "Internal Server Error",
  14543. "schema": {
  14544. "$ref": "#/definitions/app.Response"
  14545. }
  14546. }
  14547. }
  14548. }
  14549. },
  14550. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  14551. "get": {
  14552. "security": [
  14553. {
  14554. "ApiKeyAuth": []
  14555. }
  14556. ],
  14557. "produces": [
  14558. "application/json"
  14559. ],
  14560. "tags": [
  14561. "仓单贸易v2"
  14562. ],
  14563. "summary": "查询仓单要素详细信息列表项",
  14564. "parameters": [
  14565. {
  14566. "type": "integer",
  14567. "description": "仓单要素id",
  14568. "name": "wrfactortypeid",
  14569. "in": "query",
  14570. "required": true
  14571. }
  14572. ],
  14573. "responses": {
  14574. "200": {
  14575. "description": "OK",
  14576. "schema": {
  14577. "type": "array",
  14578. "items": {
  14579. "$ref": "#/definitions/models.WrTypeItem"
  14580. }
  14581. }
  14582. },
  14583. "500": {
  14584. "description": "Internal Server Error",
  14585. "schema": {
  14586. "$ref": "#/definitions/app.Response"
  14587. }
  14588. }
  14589. }
  14590. }
  14591. },
  14592. "/WrTrade2/QueryWrFinanceBuyApply": {
  14593. "get": {
  14594. "security": [
  14595. {
  14596. "ApiKeyAuth": []
  14597. }
  14598. ],
  14599. "description": "页面 融资信息+ / 申请单",
  14600. "produces": [
  14601. "application/json"
  14602. ],
  14603. "tags": [
  14604. "仓单贸易v2"
  14605. ],
  14606. "summary": "查询融资购买申请",
  14607. "parameters": [
  14608. {
  14609. "type": "integer",
  14610. "description": "用户id",
  14611. "name": "userid",
  14612. "in": "query",
  14613. "required": true
  14614. }
  14615. ],
  14616. "responses": {
  14617. "200": {
  14618. "description": "OK",
  14619. "schema": {
  14620. "type": "array",
  14621. "items": {
  14622. "$ref": "#/definitions/models.WrFinanceBuyApply"
  14623. }
  14624. }
  14625. },
  14626. "500": {
  14627. "description": "Internal Server Error",
  14628. "schema": {
  14629. "$ref": "#/definitions/app.Response"
  14630. }
  14631. }
  14632. }
  14633. }
  14634. },
  14635. "/WrTrade2/QueryWrFriendApply": {
  14636. "get": {
  14637. "security": [
  14638. {
  14639. "ApiKeyAuth": []
  14640. }
  14641. ],
  14642. "produces": [
  14643. "application/json"
  14644. ],
  14645. "tags": [
  14646. "仓单贸易v2"
  14647. ],
  14648. "summary": "查询好友申请记录",
  14649. "parameters": [
  14650. {
  14651. "type": "integer",
  14652. "description": "用户id",
  14653. "name": "userid",
  14654. "in": "query",
  14655. "required": true
  14656. }
  14657. ],
  14658. "responses": {
  14659. "200": {
  14660. "description": "OK",
  14661. "schema": {
  14662. "type": "array",
  14663. "items": {
  14664. "$ref": "#/definitions/models.WrFriendApply"
  14665. }
  14666. }
  14667. },
  14668. "500": {
  14669. "description": "Internal Server Error",
  14670. "schema": {
  14671. "$ref": "#/definitions/app.Response"
  14672. }
  14673. }
  14674. }
  14675. }
  14676. },
  14677. "/WrTrade2/QueryWrGoodsInfo": {
  14678. "get": {
  14679. "security": [
  14680. {
  14681. "ApiKeyAuth": []
  14682. }
  14683. ],
  14684. "produces": [
  14685. "application/json"
  14686. ],
  14687. "tags": [
  14688. "仓单贸易v2"
  14689. ],
  14690. "summary": "查询仓单商品信息",
  14691. "parameters": [
  14692. {
  14693. "type": "integer",
  14694. "description": "仓单贸易市场id",
  14695. "name": "marketid",
  14696. "in": "query"
  14697. },
  14698. {
  14699. "type": "integer",
  14700. "description": "0:仓单预售 1:仓单贸易",
  14701. "name": "haswr",
  14702. "in": "query",
  14703. "required": true
  14704. },
  14705. {
  14706. "type": "integer",
  14707. "description": "仓单要素id",
  14708. "name": "wrfactortypeid",
  14709. "in": "query",
  14710. "required": true
  14711. },
  14712. {
  14713. "type": "integer",
  14714. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  14715. "name": "tmplateid",
  14716. "in": "query"
  14717. }
  14718. ],
  14719. "responses": {
  14720. "200": {
  14721. "description": "OK",
  14722. "schema": {
  14723. "type": "array",
  14724. "items": {
  14725. "$ref": "#/definitions/models.WrGoodsInfo"
  14726. }
  14727. }
  14728. },
  14729. "500": {
  14730. "description": "Internal Server Error",
  14731. "schema": {
  14732. "$ref": "#/definitions/app.Response"
  14733. }
  14734. }
  14735. }
  14736. }
  14737. },
  14738. "/WrTrade2/QueryWrMarketTradeConfig": {
  14739. "get": {
  14740. "security": [
  14741. {
  14742. "ApiKeyAuth": []
  14743. }
  14744. ],
  14745. "produces": [
  14746. "application/json"
  14747. ],
  14748. "tags": [
  14749. "仓单贸易v2"
  14750. ],
  14751. "summary": "查询市场交易参数配置",
  14752. "parameters": [
  14753. {
  14754. "type": "integer",
  14755. "description": "市场id",
  14756. "name": "marketid",
  14757. "in": "query"
  14758. }
  14759. ],
  14760. "responses": {
  14761. "200": {
  14762. "description": "OK",
  14763. "schema": {
  14764. "type": "array",
  14765. "items": {
  14766. "$ref": "#/definitions/models.WrMarketTradeConfig"
  14767. }
  14768. }
  14769. },
  14770. "500": {
  14771. "description": "Internal Server Error",
  14772. "schema": {
  14773. "$ref": "#/definitions/app.Response"
  14774. }
  14775. }
  14776. }
  14777. }
  14778. },
  14779. "/WrTrade2/QueryWrOrderDetail": {
  14780. "get": {
  14781. "security": [
  14782. {
  14783. "ApiKeyAuth": []
  14784. }
  14785. ],
  14786. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  14787. "produces": [
  14788. "application/json"
  14789. ],
  14790. "tags": [
  14791. "仓单贸易v2"
  14792. ],
  14793. "summary": "查询仓单委托单",
  14794. "parameters": [
  14795. {
  14796. "type": "integer",
  14797. "description": "页码",
  14798. "name": "page",
  14799. "in": "query"
  14800. },
  14801. {
  14802. "type": "integer",
  14803. "description": "每页条数",
  14804. "name": "pagesize",
  14805. "in": "query"
  14806. },
  14807. {
  14808. "type": "integer",
  14809. "description": "用户id",
  14810. "name": "userid",
  14811. "in": "query",
  14812. "required": true
  14813. },
  14814. {
  14815. "type": "integer",
  14816. "description": "仓单贸易市场id",
  14817. "name": "marketid",
  14818. "in": "query"
  14819. },
  14820. {
  14821. "type": "integer",
  14822. "description": "0:仓单预售 1:仓单贸易",
  14823. "name": "haswr",
  14824. "in": "query",
  14825. "required": true
  14826. },
  14827. {
  14828. "type": "integer",
  14829. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  14830. "name": "bcancel",
  14831. "in": "query"
  14832. },
  14833. {
  14834. "type": "integer",
  14835. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  14836. "name": "wrtradetype",
  14837. "in": "query"
  14838. },
  14839. {
  14840. "type": "string",
  14841. "description": "开始交易日(yyyymmdd)",
  14842. "name": "begindate",
  14843. "in": "query"
  14844. },
  14845. {
  14846. "type": "string",
  14847. "description": "结束交易日(yyyymmdd)",
  14848. "name": "enddate",
  14849. "in": "query"
  14850. }
  14851. ],
  14852. "responses": {
  14853. "200": {
  14854. "description": "OK",
  14855. "schema": {
  14856. "type": "array",
  14857. "items": {
  14858. "$ref": "#/definitions/models.WrOrderDetail"
  14859. }
  14860. }
  14861. },
  14862. "500": {
  14863. "description": "Internal Server Error",
  14864. "schema": {
  14865. "$ref": "#/definitions/app.Response"
  14866. }
  14867. }
  14868. }
  14869. }
  14870. },
  14871. "/WrTrade2/QueryWrOutInApply": {
  14872. "get": {
  14873. "security": [
  14874. {
  14875. "ApiKeyAuth": []
  14876. }
  14877. ],
  14878. "produces": [
  14879. "application/json"
  14880. ],
  14881. "tags": [
  14882. "仓单贸易v2"
  14883. ],
  14884. "summary": "查询提货申请",
  14885. "parameters": [
  14886. {
  14887. "type": "integer",
  14888. "description": "页码",
  14889. "name": "page",
  14890. "in": "query"
  14891. },
  14892. {
  14893. "type": "integer",
  14894. "description": "每页条数",
  14895. "name": "pagesize",
  14896. "in": "query"
  14897. },
  14898. {
  14899. "type": "integer",
  14900. "description": "用户id",
  14901. "name": "userid",
  14902. "in": "query",
  14903. "required": true
  14904. },
  14905. {
  14906. "type": "string",
  14907. "description": "开始交易日(yyyymmdd)",
  14908. "name": "begindate",
  14909. "in": "query"
  14910. },
  14911. {
  14912. "type": "string",
  14913. "description": "结束交易日(yyyymmdd)",
  14914. "name": "enddate",
  14915. "in": "query"
  14916. }
  14917. ],
  14918. "responses": {
  14919. "200": {
  14920. "description": "OK",
  14921. "schema": {
  14922. "type": "array",
  14923. "items": {
  14924. "$ref": "#/definitions/models.WrOutInApply"
  14925. }
  14926. }
  14927. },
  14928. "500": {
  14929. "description": "Internal Server Error",
  14930. "schema": {
  14931. "$ref": "#/definitions/app.Response"
  14932. }
  14933. }
  14934. }
  14935. }
  14936. },
  14937. "/WrTrade2/QueryWrPerformancePlanStep": {
  14938. "get": {
  14939. "security": [
  14940. {
  14941. "ApiKeyAuth": []
  14942. }
  14943. ],
  14944. "produces": [
  14945. "application/json"
  14946. ],
  14947. "tags": [
  14948. "仓单贸易v2"
  14949. ],
  14950. "summary": "查询履约信息详情",
  14951. "parameters": [
  14952. {
  14953. "type": "integer",
  14954. "description": "履约计划id(performanceplanid)",
  14955. "name": "planid",
  14956. "in": "query",
  14957. "required": true
  14958. },
  14959. {
  14960. "type": "integer",
  14961. "description": "当前步骤id",
  14962. "name": "curstepid",
  14963. "in": "query"
  14964. }
  14965. ],
  14966. "responses": {
  14967. "200": {
  14968. "description": "OK",
  14969. "schema": {
  14970. "type": "array",
  14971. "items": {
  14972. "$ref": "#/definitions/models.WrPerformancePlanStep"
  14973. }
  14974. }
  14975. },
  14976. "500": {
  14977. "description": "Internal Server Error",
  14978. "schema": {
  14979. "$ref": "#/definitions/app.Response"
  14980. }
  14981. }
  14982. }
  14983. }
  14984. },
  14985. "/WrTrade2/QueryWrPerformanceStepType": {
  14986. "get": {
  14987. "security": [
  14988. {
  14989. "ApiKeyAuth": []
  14990. }
  14991. ],
  14992. "produces": [
  14993. "application/json"
  14994. ],
  14995. "tags": [
  14996. "仓单贸易v2"
  14997. ],
  14998. "summary": "查询履约步骤枚举",
  14999. "responses": {
  15000. "200": {
  15001. "description": "OK",
  15002. "schema": {
  15003. "type": "array",
  15004. "items": {
  15005. "$ref": "#/definitions/models.WrPerformanceStepType"
  15006. }
  15007. }
  15008. },
  15009. "500": {
  15010. "description": "Internal Server Error",
  15011. "schema": {
  15012. "$ref": "#/definitions/app.Response"
  15013. }
  15014. }
  15015. }
  15016. }
  15017. },
  15018. "/WrTrade2/QueryWrPosition": {
  15019. "get": {
  15020. "security": [
  15021. {
  15022. "ApiKeyAuth": []
  15023. }
  15024. ],
  15025. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  15026. "produces": [
  15027. "application/json"
  15028. ],
  15029. "tags": [
  15030. "仓单贸易v2"
  15031. ],
  15032. "summary": "查询现货(预售)仓单持仓",
  15033. "parameters": [
  15034. {
  15035. "type": "integer",
  15036. "description": "用户id",
  15037. "name": "userid",
  15038. "in": "query",
  15039. "required": true
  15040. },
  15041. {
  15042. "type": "integer",
  15043. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15044. "name": "querytype",
  15045. "in": "query",
  15046. "required": true
  15047. },
  15048. {
  15049. "type": "integer",
  15050. "description": "0:仓单预售 1:仓单贸易",
  15051. "name": "haswr",
  15052. "in": "query",
  15053. "required": true
  15054. },
  15055. {
  15056. "type": "string",
  15057. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15058. "name": "dgitemname",
  15059. "in": "query"
  15060. },
  15061. {
  15062. "type": "integer",
  15063. "description": "仓库id(筛选条件)",
  15064. "name": "warehouseid",
  15065. "in": "query"
  15066. },
  15067. {
  15068. "type": "integer",
  15069. "description": "品种id",
  15070. "name": "deliverygoodsid",
  15071. "in": "query"
  15072. },
  15073. {
  15074. "type": "integer",
  15075. "description": "品类id",
  15076. "name": "wrstandardid",
  15077. "in": "query"
  15078. }
  15079. ],
  15080. "responses": {
  15081. "200": {
  15082. "description": "OK",
  15083. "schema": {
  15084. "type": "array",
  15085. "items": {
  15086. "$ref": "#/definitions/models.WrPosition"
  15087. }
  15088. }
  15089. },
  15090. "500": {
  15091. "description": "Internal Server Error",
  15092. "schema": {
  15093. "$ref": "#/definitions/app.Response"
  15094. }
  15095. }
  15096. }
  15097. }
  15098. },
  15099. "/WrTrade2/QueryWrPreSaleInfo": {
  15100. "get": {
  15101. "security": [
  15102. {
  15103. "ApiKeyAuth": []
  15104. }
  15105. ],
  15106. "produces": [
  15107. "application/json"
  15108. ],
  15109. "tags": [
  15110. "仓单贸易v2"
  15111. ],
  15112. "summary": "查询新品发布",
  15113. "parameters": [
  15114. {
  15115. "type": "integer",
  15116. "description": "市场id",
  15117. "name": "marketid",
  15118. "in": "query"
  15119. },
  15120. {
  15121. "type": "string",
  15122. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15123. "name": "presalestatus",
  15124. "in": "query"
  15125. },
  15126. {
  15127. "type": "integer",
  15128. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15129. "name": "lotteryflag",
  15130. "in": "query"
  15131. },
  15132. {
  15133. "type": "integer",
  15134. "description": "最近多少条记录(按创建时间倒序)",
  15135. "name": "lastnum",
  15136. "in": "query"
  15137. }
  15138. ],
  15139. "responses": {
  15140. "200": {
  15141. "description": "OK",
  15142. "schema": {
  15143. "type": "array",
  15144. "items": {
  15145. "$ref": "#/definitions/models.WrPreSaleInfo"
  15146. }
  15147. }
  15148. },
  15149. "500": {
  15150. "description": "Internal Server Error",
  15151. "schema": {
  15152. "$ref": "#/definitions/app.Response"
  15153. }
  15154. }
  15155. }
  15156. }
  15157. },
  15158. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15159. "get": {
  15160. "security": [
  15161. {
  15162. "ApiKeyAuth": []
  15163. }
  15164. ],
  15165. "produces": [
  15166. "application/json"
  15167. ],
  15168. "tags": [
  15169. "仓单贸易v2"
  15170. ],
  15171. "summary": "查询价格走势",
  15172. "parameters": [
  15173. {
  15174. "type": "integer",
  15175. "description": "市场id",
  15176. "name": "marketid",
  15177. "in": "query",
  15178. "required": true
  15179. },
  15180. {
  15181. "type": "integer",
  15182. "description": "现货商品id",
  15183. "name": "wrstandardid",
  15184. "in": "query",
  15185. "required": true
  15186. },
  15187. {
  15188. "type": "string",
  15189. "description": "开始交易日(yyyymmdd)",
  15190. "name": "begindate",
  15191. "in": "query"
  15192. },
  15193. {
  15194. "type": "string",
  15195. "description": "结束交易日(yyyymmdd)",
  15196. "name": "enddate",
  15197. "in": "query"
  15198. },
  15199. {
  15200. "type": "integer",
  15201. "description": "最近多少条记录(按交易日倒序)",
  15202. "name": "lastnum",
  15203. "in": "query"
  15204. },
  15205. {
  15206. "type": "boolean",
  15207. "description": "是否今日",
  15208. "name": "istoday",
  15209. "in": "query"
  15210. }
  15211. ],
  15212. "responses": {
  15213. "200": {
  15214. "description": "OK",
  15215. "schema": {
  15216. "type": "array",
  15217. "items": {
  15218. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  15219. }
  15220. }
  15221. },
  15222. "500": {
  15223. "description": "Internal Server Error",
  15224. "schema": {
  15225. "$ref": "#/definitions/app.Response"
  15226. }
  15227. }
  15228. }
  15229. }
  15230. },
  15231. "/WrTrade2/QueryWrScfContract": {
  15232. "get": {
  15233. "security": [
  15234. {
  15235. "ApiKeyAuth": []
  15236. }
  15237. ],
  15238. "produces": [
  15239. "application/json"
  15240. ],
  15241. "tags": [
  15242. "仓单贸易v2"
  15243. ],
  15244. "summary": "查询仓单贸易融资合同",
  15245. "parameters": [
  15246. {
  15247. "type": "integer",
  15248. "description": "用户id",
  15249. "name": "userid",
  15250. "in": "query",
  15251. "required": true
  15252. },
  15253. {
  15254. "type": "integer",
  15255. "description": "融资合同id",
  15256. "name": "scfcontractid",
  15257. "in": "query"
  15258. }
  15259. ],
  15260. "responses": {
  15261. "200": {
  15262. "description": "OK",
  15263. "schema": {
  15264. "type": "array",
  15265. "items": {
  15266. "$ref": "#/definitions/models.WrScfContract"
  15267. }
  15268. }
  15269. },
  15270. "500": {
  15271. "description": "Internal Server Error",
  15272. "schema": {
  15273. "$ref": "#/definitions/app.Response"
  15274. }
  15275. }
  15276. }
  15277. }
  15278. },
  15279. "/WrTrade2/QueryWrScfContractInterest": {
  15280. "get": {
  15281. "security": [
  15282. {
  15283. "ApiKeyAuth": []
  15284. }
  15285. ],
  15286. "produces": [
  15287. "application/json"
  15288. ],
  15289. "tags": [
  15290. "仓单贸易v2"
  15291. ],
  15292. "summary": "查询融资合同费用明细",
  15293. "parameters": [
  15294. {
  15295. "type": "integer",
  15296. "description": "融资合同id",
  15297. "name": "scfcontractid",
  15298. "in": "query"
  15299. }
  15300. ],
  15301. "responses": {
  15302. "200": {
  15303. "description": "OK",
  15304. "schema": {
  15305. "type": "array",
  15306. "items": {
  15307. "$ref": "#/definitions/models.WrScfContractInterest"
  15308. }
  15309. }
  15310. },
  15311. "500": {
  15312. "description": "Internal Server Error",
  15313. "schema": {
  15314. "$ref": "#/definitions/app.Response"
  15315. }
  15316. }
  15317. }
  15318. }
  15319. },
  15320. "/WrTrade2/QueryWrSearchUser": {
  15321. "get": {
  15322. "security": [
  15323. {
  15324. "ApiKeyAuth": []
  15325. }
  15326. ],
  15327. "produces": [
  15328. "application/json"
  15329. ],
  15330. "tags": [
  15331. "仓单贸易v2"
  15332. ],
  15333. "summary": "查询用户",
  15334. "parameters": [
  15335. {
  15336. "type": "string",
  15337. "description": "用户名称(模糊匹配)",
  15338. "name": "username",
  15339. "in": "query",
  15340. "required": true
  15341. }
  15342. ],
  15343. "responses": {
  15344. "200": {
  15345. "description": "OK",
  15346. "schema": {
  15347. "type": "array",
  15348. "items": {
  15349. "$ref": "#/definitions/models.WrSearchUser"
  15350. }
  15351. }
  15352. },
  15353. "500": {
  15354. "description": "Internal Server Error",
  15355. "schema": {
  15356. "$ref": "#/definitions/app.Response"
  15357. }
  15358. }
  15359. }
  15360. }
  15361. },
  15362. "/WrTrade2/QueryWrSpecialMatchOrder": {
  15363. "get": {
  15364. "security": [
  15365. {
  15366. "ApiKeyAuth": []
  15367. }
  15368. ],
  15369. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  15370. "produces": [
  15371. "application/json"
  15372. ],
  15373. "tags": [
  15374. "仓单贸易v2"
  15375. ],
  15376. "summary": "查询指定成交",
  15377. "parameters": [
  15378. {
  15379. "type": "integer",
  15380. "description": "页码",
  15381. "name": "page",
  15382. "in": "query"
  15383. },
  15384. {
  15385. "type": "integer",
  15386. "description": "每页条数",
  15387. "name": "pagesize",
  15388. "in": "query"
  15389. },
  15390. {
  15391. "type": "integer",
  15392. "description": "用户id",
  15393. "name": "userid",
  15394. "in": "query",
  15395. "required": true
  15396. },
  15397. {
  15398. "type": "integer",
  15399. "description": "仓单贸易市场id",
  15400. "name": "marketid",
  15401. "in": "query"
  15402. },
  15403. {
  15404. "type": "integer",
  15405. "description": "0:仓单预售 1:仓单贸易",
  15406. "name": "haswr",
  15407. "in": "query",
  15408. "required": true
  15409. },
  15410. {
  15411. "type": "integer",
  15412. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  15413. "name": "isspecified",
  15414. "in": "query"
  15415. }
  15416. ],
  15417. "responses": {
  15418. "200": {
  15419. "description": "OK",
  15420. "schema": {
  15421. "type": "array",
  15422. "items": {
  15423. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  15424. }
  15425. }
  15426. },
  15427. "500": {
  15428. "description": "Internal Server Error",
  15429. "schema": {
  15430. "$ref": "#/definitions/app.Response"
  15431. }
  15432. }
  15433. }
  15434. }
  15435. },
  15436. "/WrTrade2/QueryWrStandardFactoryItem": {
  15437. "get": {
  15438. "security": [
  15439. {
  15440. "ApiKeyAuth": []
  15441. }
  15442. ],
  15443. "produces": [
  15444. "application/json"
  15445. ],
  15446. "tags": [
  15447. "仓单贸易v2"
  15448. ],
  15449. "summary": "查询品类要素定义项",
  15450. "parameters": [
  15451. {
  15452. "type": "integer",
  15453. "description": "品类id",
  15454. "name": "wrstandardid",
  15455. "in": "query",
  15456. "required": true
  15457. }
  15458. ],
  15459. "responses": {
  15460. "200": {
  15461. "description": "OK",
  15462. "schema": {
  15463. "type": "array",
  15464. "items": {
  15465. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  15466. }
  15467. }
  15468. },
  15469. "500": {
  15470. "description": "Internal Server Error",
  15471. "schema": {
  15472. "$ref": "#/definitions/app.Response"
  15473. }
  15474. }
  15475. }
  15476. }
  15477. },
  15478. "/WrTrade2/QueryWrTradeBargainApply": {
  15479. "get": {
  15480. "security": [
  15481. {
  15482. "ApiKeyAuth": []
  15483. }
  15484. ],
  15485. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  15486. "produces": [
  15487. "application/json"
  15488. ],
  15489. "tags": [
  15490. "仓单贸易v2"
  15491. ],
  15492. "summary": "查询议价单",
  15493. "parameters": [
  15494. {
  15495. "type": "integer",
  15496. "description": "议价人id(摘牌方)",
  15497. "name": "userid",
  15498. "in": "query"
  15499. },
  15500. {
  15501. "type": "integer",
  15502. "description": "挂牌方id(查对方议价时,填写此项)",
  15503. "name": "matchuserid",
  15504. "in": "query"
  15505. },
  15506. {
  15507. "type": "integer",
  15508. "description": "关联委托单id",
  15509. "name": "wrtradeorderid",
  15510. "in": "query"
  15511. },
  15512. {
  15513. "type": "integer",
  15514. "description": "0:仓单预售 1:仓单贸易",
  15515. "name": "haswr",
  15516. "in": "query",
  15517. "required": true
  15518. },
  15519. {
  15520. "type": "string",
  15521. "description": "开始交易日(yyyymmdd)",
  15522. "name": "begindate",
  15523. "in": "query"
  15524. },
  15525. {
  15526. "type": "string",
  15527. "description": "结束交易日(yyyymmdd)",
  15528. "name": "enddate",
  15529. "in": "query"
  15530. }
  15531. ],
  15532. "responses": {
  15533. "200": {
  15534. "description": "OK",
  15535. "schema": {
  15536. "type": "array",
  15537. "items": {
  15538. "$ref": "#/definitions/models.WRTradeBargainApply"
  15539. }
  15540. }
  15541. },
  15542. "500": {
  15543. "description": "Internal Server Error",
  15544. "schema": {
  15545. "$ref": "#/definitions/app.Response"
  15546. }
  15547. }
  15548. }
  15549. }
  15550. },
  15551. "/WrTrade2/QueryWrTradeDetail": {
  15552. "get": {
  15553. "security": [
  15554. {
  15555. "ApiKeyAuth": []
  15556. }
  15557. ],
  15558. "produces": [
  15559. "application/json"
  15560. ],
  15561. "tags": [
  15562. "仓单贸易v2"
  15563. ],
  15564. "summary": "查询仓单成交明细",
  15565. "parameters": [
  15566. {
  15567. "type": "integer",
  15568. "description": "页码",
  15569. "name": "page",
  15570. "in": "query"
  15571. },
  15572. {
  15573. "type": "integer",
  15574. "description": "每页条数",
  15575. "name": "pagesize",
  15576. "in": "query"
  15577. },
  15578. {
  15579. "type": "integer",
  15580. "description": "用户id",
  15581. "name": "userid",
  15582. "in": "query",
  15583. "required": true
  15584. },
  15585. {
  15586. "type": "integer",
  15587. "description": "仓单贸易市场id",
  15588. "name": "marketid",
  15589. "in": "query"
  15590. },
  15591. {
  15592. "type": "integer",
  15593. "description": "0:仓单预售 1:仓单贸易",
  15594. "name": "haswr",
  15595. "in": "query",
  15596. "required": true
  15597. },
  15598. {
  15599. "type": "string",
  15600. "description": "开始交易日(yyyymmdd)",
  15601. "name": "begindate",
  15602. "in": "query"
  15603. },
  15604. {
  15605. "type": "string",
  15606. "description": "结束交易日(yyyymmdd)",
  15607. "name": "enddate",
  15608. "in": "query"
  15609. }
  15610. ],
  15611. "responses": {
  15612. "200": {
  15613. "description": "OK",
  15614. "schema": {
  15615. "type": "array",
  15616. "items": {
  15617. "$ref": "#/definitions/models.WrTradeDetail"
  15618. }
  15619. }
  15620. },
  15621. "500": {
  15622. "description": "Internal Server Error",
  15623. "schema": {
  15624. "$ref": "#/definitions/app.Response"
  15625. }
  15626. }
  15627. }
  15628. }
  15629. },
  15630. "/WrTrade2/QueryWrTradeOrderDetail": {
  15631. "get": {
  15632. "security": [
  15633. {
  15634. "ApiKeyAuth": []
  15635. }
  15636. ],
  15637. "produces": [
  15638. "application/json"
  15639. ],
  15640. "tags": [
  15641. "仓单贸易v2"
  15642. ],
  15643. "summary": "查询合约交易买卖大厅",
  15644. "parameters": [
  15645. {
  15646. "type": "integer",
  15647. "description": "页码",
  15648. "name": "page",
  15649. "in": "query"
  15650. },
  15651. {
  15652. "type": "integer",
  15653. "description": "每页条数",
  15654. "name": "pagesize",
  15655. "in": "query"
  15656. },
  15657. {
  15658. "type": "integer",
  15659. "description": "商品id",
  15660. "name": "goodsid",
  15661. "in": "query",
  15662. "required": true
  15663. },
  15664. {
  15665. "type": "integer",
  15666. "description": "买卖方向 0-买 1-卖",
  15667. "name": "buyorsell",
  15668. "in": "query",
  15669. "required": true
  15670. }
  15671. ],
  15672. "responses": {
  15673. "200": {
  15674. "description": "OK",
  15675. "schema": {
  15676. "type": "array",
  15677. "items": {
  15678. "$ref": "#/definitions/models.WrTradeOrderDetail"
  15679. }
  15680. }
  15681. },
  15682. "500": {
  15683. "description": "Internal Server Error",
  15684. "schema": {
  15685. "$ref": "#/definitions/app.Response"
  15686. }
  15687. }
  15688. }
  15689. }
  15690. },
  15691. "/WrTrade2/QueryWrTradeQuote": {
  15692. "get": {
  15693. "security": [
  15694. {
  15695. "ApiKeyAuth": []
  15696. }
  15697. ],
  15698. "produces": [
  15699. "application/json"
  15700. ],
  15701. "tags": [
  15702. "仓单贸易v2"
  15703. ],
  15704. "summary": "查询仓单贸易成交行情",
  15705. "parameters": [
  15706. {
  15707. "type": "integer",
  15708. "description": "现货商品id",
  15709. "name": "wrstandardid",
  15710. "in": "query",
  15711. "required": true
  15712. },
  15713. {
  15714. "type": "string",
  15715. "description": "开始日期(yyyymmdd)",
  15716. "name": "begindate",
  15717. "in": "query",
  15718. "required": true
  15719. },
  15720. {
  15721. "type": "string",
  15722. "description": "结束日期(yyyymmdd)",
  15723. "name": "enddate",
  15724. "in": "query",
  15725. "required": true
  15726. },
  15727. {
  15728. "type": "integer",
  15729. "description": "市场id",
  15730. "name": "marketid",
  15731. "in": "query"
  15732. }
  15733. ],
  15734. "responses": {
  15735. "200": {
  15736. "description": "OK",
  15737. "schema": {
  15738. "type": "array",
  15739. "items": {
  15740. "$ref": "#/definitions/models.Wrtradetradequote"
  15741. }
  15742. }
  15743. },
  15744. "500": {
  15745. "description": "Internal Server Error",
  15746. "schema": {
  15747. "$ref": "#/definitions/app.Response"
  15748. }
  15749. }
  15750. }
  15751. }
  15752. },
  15753. "/WrTrade2/QueryWrUserFriend": {
  15754. "get": {
  15755. "security": [
  15756. {
  15757. "ApiKeyAuth": []
  15758. }
  15759. ],
  15760. "produces": [
  15761. "application/json"
  15762. ],
  15763. "tags": [
  15764. "仓单贸易v2"
  15765. ],
  15766. "summary": "查询我的朋友",
  15767. "parameters": [
  15768. {
  15769. "type": "integer",
  15770. "description": "用户id",
  15771. "name": "userid",
  15772. "in": "query",
  15773. "required": true
  15774. },
  15775. {
  15776. "type": "integer",
  15777. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  15778. "name": "newuserid",
  15779. "in": "query"
  15780. }
  15781. ],
  15782. "responses": {
  15783. "200": {
  15784. "description": "OK",
  15785. "schema": {
  15786. "type": "array",
  15787. "items": {
  15788. "$ref": "#/definitions/models.WrUserFriend"
  15789. }
  15790. }
  15791. },
  15792. "500": {
  15793. "description": "Internal Server Error",
  15794. "schema": {
  15795. "$ref": "#/definitions/app.Response"
  15796. }
  15797. }
  15798. }
  15799. }
  15800. },
  15801. "/WrTrade2/QueryWrUserReceiptInfo": {
  15802. "get": {
  15803. "security": [
  15804. {
  15805. "ApiKeyAuth": []
  15806. }
  15807. ],
  15808. "produces": [
  15809. "application/json"
  15810. ],
  15811. "tags": [
  15812. "仓单贸易v2"
  15813. ],
  15814. "summary": "查询发票信息",
  15815. "parameters": [
  15816. {
  15817. "type": "integer",
  15818. "description": "用户id",
  15819. "name": "userid",
  15820. "in": "query"
  15821. },
  15822. {
  15823. "type": "integer",
  15824. "description": "发票类型 - 1:个人 2:企业",
  15825. "name": "receipttype",
  15826. "in": "query"
  15827. }
  15828. ],
  15829. "responses": {
  15830. "200": {
  15831. "description": "OK",
  15832. "schema": {
  15833. "type": "array",
  15834. "items": {
  15835. "$ref": "#/definitions/models.WrUserReceiptInfo"
  15836. }
  15837. }
  15838. },
  15839. "500": {
  15840. "description": "Internal Server Error",
  15841. "schema": {
  15842. "$ref": "#/definitions/app.Response"
  15843. }
  15844. }
  15845. }
  15846. }
  15847. },
  15848. "/WrTrade2/QueryXhcpSellBackApply": {
  15849. "get": {
  15850. "security": [
  15851. {
  15852. "ApiKeyAuth": []
  15853. }
  15854. ],
  15855. "produces": [
  15856. "application/json"
  15857. ],
  15858. "tags": [
  15859. "仓单贸易v2"
  15860. ],
  15861. "summary": "查询我的回收申请(新会陈皮)",
  15862. "parameters": [
  15863. {
  15864. "type": "integer",
  15865. "description": "用户ID",
  15866. "name": "userid",
  15867. "in": "query",
  15868. "required": true
  15869. }
  15870. ],
  15871. "responses": {
  15872. "200": {
  15873. "description": "OK",
  15874. "schema": {
  15875. "type": "array",
  15876. "items": {
  15877. "$ref": "#/definitions/models.Xhcpsellbackapply"
  15878. }
  15879. }
  15880. },
  15881. "500": {
  15882. "description": "Internal Server Error",
  15883. "schema": {
  15884. "$ref": "#/definitions/app.Response"
  15885. }
  15886. }
  15887. }
  15888. }
  15889. },
  15890. "/ZJ/GetBankTip": {
  15891. "get": {
  15892. "produces": [
  15893. "application/json"
  15894. ],
  15895. "tags": [
  15896. "中江"
  15897. ],
  15898. "summary": "获取中江网银端出入金提示信息",
  15899. "responses": {
  15900. "200": {
  15901. "description": "OK",
  15902. "schema": {
  15903. "type": "string"
  15904. }
  15905. },
  15906. "500": {
  15907. "description": "Internal Server Error",
  15908. "schema": {
  15909. "$ref": "#/definitions/app.Response"
  15910. }
  15911. }
  15912. }
  15913. }
  15914. },
  15915. "/ZJ/GetCusBankChannels": {
  15916. "get": {
  15917. "produces": [
  15918. "application/json"
  15919. ],
  15920. "tags": [
  15921. "中江"
  15922. ],
  15923. "summary": "获取中江出入金渠道显示列表",
  15924. "responses": {
  15925. "200": {
  15926. "description": "OK",
  15927. "schema": {
  15928. "type": "array",
  15929. "items": {
  15930. "type": "string"
  15931. }
  15932. }
  15933. },
  15934. "500": {
  15935. "description": "Internal Server Error",
  15936. "schema": {
  15937. "$ref": "#/definitions/app.Response"
  15938. }
  15939. }
  15940. }
  15941. }
  15942. }
  15943. },
  15944. "definitions": {
  15945. "app.Response": {
  15946. "type": "object",
  15947. "properties": {
  15948. "code": {
  15949. "type": "integer"
  15950. },
  15951. "data": {},
  15952. "msg": {
  15953. "type": "string"
  15954. },
  15955. "page": {
  15956. "description": "页码",
  15957. "type": "integer"
  15958. },
  15959. "pagesize": {
  15960. "description": "每页条数",
  15961. "type": "integer"
  15962. },
  15963. "total": {
  15964. "description": "总条数",
  15965. "type": "integer"
  15966. }
  15967. }
  15968. },
  15969. "common.ClientMenu": {
  15970. "type": "object",
  15971. "properties": {
  15972. "children": {
  15973. "description": "子菜单列表",
  15974. "type": "array",
  15975. "items": {
  15976. "$ref": "#/definitions/common.ClientMenu"
  15977. }
  15978. },
  15979. "code": {
  15980. "description": "ID",
  15981. "type": "string"
  15982. },
  15983. "isshow": {
  15984. "description": "是否显示",
  15985. "type": "boolean"
  15986. },
  15987. "remark": {
  15988. "description": "备注",
  15989. "type": "string"
  15990. },
  15991. "rulekey": {
  15992. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  15993. "type": "string"
  15994. },
  15995. "sort": {
  15996. "description": "排序",
  15997. "type": "integer"
  15998. },
  15999. "title": {
  16000. "description": "标题",
  16001. "type": "string"
  16002. },
  16003. "type": {
  16004. "description": "类型,1:菜单 2:按钮",
  16005. "type": "integer"
  16006. },
  16007. "url": {
  16008. "description": "URL",
  16009. "type": "string"
  16010. }
  16011. }
  16012. },
  16013. "common.PCWebMenu": {
  16014. "type": "object",
  16015. "properties": {
  16016. "auth": {
  16017. "description": "页面权限列表",
  16018. "type": "array",
  16019. "items": {
  16020. "$ref": "#/definitions/common.PCWebMenuAuth"
  16021. }
  16022. },
  16023. "children": {
  16024. "description": "子菜单列表",
  16025. "type": "array",
  16026. "items": {
  16027. "$ref": "#/definitions/common.PCWebMenu"
  16028. }
  16029. },
  16030. "code": {
  16031. "description": "ID,新版本中权限KEY也是这个字段",
  16032. "type": "string"
  16033. },
  16034. "component": {
  16035. "description": "路由组件",
  16036. "type": "string"
  16037. },
  16038. "isshow": {
  16039. "description": "是否显示",
  16040. "type": "boolean"
  16041. },
  16042. "path": {
  16043. "description": "路由路径",
  16044. "type": "string"
  16045. },
  16046. "remark": {
  16047. "description": "备注",
  16048. "type": "string"
  16049. },
  16050. "rulekey": {
  16051. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16052. "type": "string"
  16053. },
  16054. "sort": {
  16055. "description": "排序",
  16056. "type": "integer"
  16057. },
  16058. "title": {
  16059. "description": "标题",
  16060. "type": "string"
  16061. },
  16062. "url": {
  16063. "description": "URL",
  16064. "type": "string"
  16065. }
  16066. }
  16067. },
  16068. "common.PCWebMenuAuth": {
  16069. "type": "object",
  16070. "properties": {
  16071. "code": {
  16072. "description": "ID,新版本中权限KEY也是这个字段",
  16073. "type": "string"
  16074. },
  16075. "isshow": {
  16076. "description": "是否显示",
  16077. "type": "boolean"
  16078. },
  16079. "label": {
  16080. "description": "标题",
  16081. "type": "string"
  16082. },
  16083. "remark": {
  16084. "description": "备注",
  16085. "type": "string"
  16086. },
  16087. "rulekey": {
  16088. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16089. "type": "string"
  16090. }
  16091. }
  16092. },
  16093. "common.QueryImageConfigsRsp": {
  16094. "type": "object",
  16095. "required": [
  16096. "configid"
  16097. ],
  16098. "properties": {
  16099. "areauserid": {
  16100. "description": "所属机构ID",
  16101. "type": "integer"
  16102. },
  16103. "configid": {
  16104. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16105. "type": "integer"
  16106. },
  16107. "createdate": {
  16108. "description": "创建时间",
  16109. "type": "string"
  16110. },
  16111. "creatorid": {
  16112. "description": "创建人",
  16113. "type": "integer"
  16114. },
  16115. "imagedetailpath": {
  16116. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16117. "type": "string"
  16118. },
  16119. "imagepath": {
  16120. "description": "图片",
  16121. "type": "string"
  16122. },
  16123. "imagetype": {
  16124. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16125. "type": "integer"
  16126. },
  16127. "isshow": {
  16128. "description": "是否展示 - 0:不展示 1:展示",
  16129. "type": "integer"
  16130. },
  16131. "marketid": {
  16132. "description": "市场ID",
  16133. "type": "integer"
  16134. },
  16135. "modifierid": {
  16136. "description": "操作人",
  16137. "type": "integer"
  16138. },
  16139. "sort": {
  16140. "description": "排序",
  16141. "type": "integer"
  16142. },
  16143. "title": {
  16144. "description": "标题",
  16145. "type": "string"
  16146. },
  16147. "trademode": {
  16148. "description": "交易模式",
  16149. "type": "integer"
  16150. },
  16151. "updatedate": {
  16152. "description": "修改时间",
  16153. "type": "string"
  16154. },
  16155. "url": {
  16156. "description": "链接(地址或商品ID)",
  16157. "type": "string"
  16158. },
  16159. "urltype": {
  16160. "description": "链接类型 - 1:直接地址 2:商品ID",
  16161. "type": "integer"
  16162. }
  16163. }
  16164. },
  16165. "common.QueryNoticeRsp": {
  16166. "type": "object",
  16167. "required": [
  16168. "autoid"
  16169. ],
  16170. "properties": {
  16171. "auditoruserid": {
  16172. "description": "审核人",
  16173. "type": "integer"
  16174. },
  16175. "auditremark": {
  16176. "description": "审核备注",
  16177. "type": "string"
  16178. },
  16179. "audittime": {
  16180. "description": "审核日期",
  16181. "type": "string"
  16182. },
  16183. "autoid": {
  16184. "description": "自增ID",
  16185. "type": "integer"
  16186. },
  16187. "content": {
  16188. "description": "内容",
  16189. "type": "string"
  16190. },
  16191. "createtime": {
  16192. "description": "创建时间",
  16193. "type": "string"
  16194. },
  16195. "creatorid": {
  16196. "description": "建仓人",
  16197. "type": "integer"
  16198. },
  16199. "endtime": {
  16200. "description": "结束时间",
  16201. "type": "string"
  16202. },
  16203. "istop": {
  16204. "description": "是否置顶 - 0:不置顶 1:置顶",
  16205. "type": "integer"
  16206. },
  16207. "msgiconurl": {
  16208. "description": "消息图标Url",
  16209. "type": "string"
  16210. },
  16211. "msgtype": {
  16212. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  16213. "type": "integer"
  16214. },
  16215. "publisher": {
  16216. "description": "消息发布者",
  16217. "type": "string"
  16218. },
  16219. "readed": {
  16220. "description": "是否已读",
  16221. "type": "boolean"
  16222. },
  16223. "scheduletime": {
  16224. "description": "计划发送时间",
  16225. "type": "string"
  16226. },
  16227. "sendtype": {
  16228. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  16229. "type": "integer"
  16230. },
  16231. "sentstatus": {
  16232. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  16233. "type": "integer"
  16234. },
  16235. "title": {
  16236. "description": "标题",
  16237. "type": "string"
  16238. },
  16239. "userid": {
  16240. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  16241. "type": "integer"
  16242. }
  16243. }
  16244. },
  16245. "common.QueryProvincesAndCitiesRsp": {
  16246. "type": "object",
  16247. "properties": {
  16248. "cities": {
  16249. "description": "市",
  16250. "type": "array",
  16251. "items": {
  16252. "$ref": "#/definitions/models.Division"
  16253. }
  16254. },
  16255. "province": {
  16256. "description": "省",
  16257. "$ref": "#/definitions/models.Division"
  16258. }
  16259. }
  16260. },
  16261. "common.QueryTableDefineRsp": {
  16262. "type": "object",
  16263. "required": [
  16264. "tablekey"
  16265. ],
  16266. "properties": {
  16267. "columns": {
  16268. "description": "列头信息数组",
  16269. "type": "array",
  16270. "items": {
  16271. "$ref": "#/definitions/models.Tablecolumnconfig"
  16272. }
  16273. },
  16274. "remark": {
  16275. "description": "Remark",
  16276. "type": "string"
  16277. },
  16278. "tabelmenu": {
  16279. "description": "列表菜单",
  16280. "type": "string"
  16281. },
  16282. "tablekey": {
  16283. "description": "列表Key",
  16284. "type": "string"
  16285. },
  16286. "tablename": {
  16287. "description": "列表名称",
  16288. "type": "string"
  16289. },
  16290. "tabletype": {
  16291. "description": "列表类型 - 1:管理端 2:终端",
  16292. "type": "integer"
  16293. }
  16294. }
  16295. },
  16296. "common.QueryTraderMenuRsp": {
  16297. "type": "object",
  16298. "properties": {
  16299. "OperationMenu": {
  16300. "description": "功能菜单",
  16301. "type": "array",
  16302. "items": {
  16303. "$ref": "#/definitions/models.OperationPrimaryMenu"
  16304. }
  16305. },
  16306. "QuoteMenu": {
  16307. "description": "报价牌分类菜单",
  16308. "type": "array",
  16309. "items": {
  16310. "$ref": "#/definitions/models.QuotePrimaryMenu"
  16311. }
  16312. }
  16313. }
  16314. },
  16315. "cptrade.Cptradepositioncancel": {
  16316. "type": "object",
  16317. "required": [
  16318. "cancelid"
  16319. ],
  16320. "properties": {
  16321. "accountid": {
  16322. "description": "申请人账户ID",
  16323. "type": "integer"
  16324. },
  16325. "applystatus": {
  16326. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16327. "type": "integer"
  16328. },
  16329. "applytime": {
  16330. "description": "申请时间",
  16331. "type": "string"
  16332. },
  16333. "cancelid": {
  16334. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  16335. "type": "integer"
  16336. },
  16337. "cancelqty": {
  16338. "description": "注销数量",
  16339. "type": "integer"
  16340. },
  16341. "createtime": {
  16342. "description": "创建时间",
  16343. "type": "string"
  16344. },
  16345. "creatorid": {
  16346. "description": "创建人ID",
  16347. "type": "integer"
  16348. },
  16349. "creatorname": {
  16350. "description": "创建人",
  16351. "type": "string"
  16352. },
  16353. "goodscode": {
  16354. "description": "订单商品代码",
  16355. "type": "string"
  16356. },
  16357. "goodsid": {
  16358. "description": "商品ID",
  16359. "type": "integer"
  16360. },
  16361. "goodsname": {
  16362. "description": "订单商品名称",
  16363. "type": "string"
  16364. },
  16365. "goodunit": {
  16366. "description": "报价单位",
  16367. "type": "string"
  16368. },
  16369. "handlestatus": {
  16370. "description": "处理状态",
  16371. "type": "integer"
  16372. },
  16373. "marketid": {
  16374. "description": "市场ID",
  16375. "type": "integer"
  16376. },
  16377. "marketname": {
  16378. "description": "市场名称",
  16379. "type": "string"
  16380. },
  16381. "tradedate": {
  16382. "description": "交易日(yyyyMMdd)",
  16383. "type": "string"
  16384. },
  16385. "userid": {
  16386. "description": "申请人ID",
  16387. "type": "integer"
  16388. }
  16389. }
  16390. },
  16391. "cptrade.Cptradepresaleapply": {
  16392. "type": "object",
  16393. "required": [
  16394. "applyid"
  16395. ],
  16396. "properties": {
  16397. "accountid": {
  16398. "description": "申请人账户ID",
  16399. "type": "integer"
  16400. },
  16401. "applyid": {
  16402. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  16403. "type": "integer"
  16404. },
  16405. "applyremark": {
  16406. "description": "申请备注",
  16407. "type": "string"
  16408. },
  16409. "applystatus": {
  16410. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  16411. "type": "integer"
  16412. },
  16413. "applytime": {
  16414. "description": "申请时间",
  16415. "type": "string"
  16416. },
  16417. "attachmenturl": {
  16418. "description": "附件地址",
  16419. "type": "string"
  16420. },
  16421. "endtime": {
  16422. "description": "预售结束时间",
  16423. "type": "string"
  16424. },
  16425. "goodscode": {
  16426. "description": "商品代码",
  16427. "type": "string"
  16428. },
  16429. "goodsid": {
  16430. "description": "商品ID",
  16431. "type": "integer"
  16432. },
  16433. "goodsname": {
  16434. "description": "商品名称",
  16435. "type": "string"
  16436. },
  16437. "goodunit": {
  16438. "description": "报价单位",
  16439. "type": "string"
  16440. },
  16441. "handlestatus": {
  16442. "description": "处理状态",
  16443. "type": "integer"
  16444. },
  16445. "marketid": {
  16446. "description": "预售市场ID",
  16447. "type": "integer"
  16448. },
  16449. "marketname": {
  16450. "description": "预售市场名称",
  16451. "type": "string"
  16452. },
  16453. "presaleqty": {
  16454. "description": "预售数量",
  16455. "type": "integer"
  16456. },
  16457. "relatedgoodscode": {
  16458. "description": "关联交易合约代码",
  16459. "type": "string"
  16460. },
  16461. "relatedgoodsid": {
  16462. "description": "关联交易合约ID",
  16463. "type": "integer"
  16464. },
  16465. "relatedgoodsname": {
  16466. "description": "关联交易合约名称",
  16467. "type": "string"
  16468. },
  16469. "starttime": {
  16470. "description": "预售开始时间",
  16471. "type": "string"
  16472. },
  16473. "tradedate": {
  16474. "description": "交易日(yyyyMMdd)",
  16475. "type": "string"
  16476. },
  16477. "trademode": {
  16478. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  16479. "type": "integer"
  16480. },
  16481. "userid": {
  16482. "description": "申请人ID",
  16483. "type": "integer"
  16484. }
  16485. }
  16486. },
  16487. "cptrade.Cptradeusergoodsdata": {
  16488. "type": "object",
  16489. "required": [
  16490. "accountid",
  16491. "goodsid"
  16492. ],
  16493. "properties": {
  16494. "EnabledQty": {
  16495. "description": "可用量",
  16496. "type": "integer"
  16497. },
  16498. "GoodsCode": {
  16499. "description": "订单商品代码",
  16500. "type": "string"
  16501. },
  16502. "GoodsName": {
  16503. "description": "订单商品名称",
  16504. "type": "string"
  16505. },
  16506. "WRStandardCode": {
  16507. "description": "仓单标准代码",
  16508. "type": "string"
  16509. },
  16510. "WRStandardName": {
  16511. "description": "仓单标准名称",
  16512. "type": "string"
  16513. },
  16514. "accountid": {
  16515. "description": "账户ID",
  16516. "type": "integer"
  16517. },
  16518. "cancelqty": {
  16519. "description": "注销量",
  16520. "type": "integer"
  16521. },
  16522. "curpresaleqty": {
  16523. "description": "当前预售量",
  16524. "type": "integer"
  16525. },
  16526. "deliveryqty": {
  16527. "description": "交割量",
  16528. "type": "integer"
  16529. },
  16530. "freezeamount": {
  16531. "description": "冻结金额",
  16532. "type": "number"
  16533. },
  16534. "goodsid": {
  16535. "description": "商品ID",
  16536. "type": "integer"
  16537. },
  16538. "goodunit": {
  16539. "description": "报价单位",
  16540. "type": "string"
  16541. },
  16542. "hasspotfreeze": {
  16543. "description": "是否有现货冻结 - 0:否 1:有",
  16544. "type": "integer"
  16545. },
  16546. "inqty": {
  16547. "description": "转入量(总数量)",
  16548. "type": "integer"
  16549. },
  16550. "marketid": {
  16551. "description": "市场ID",
  16552. "type": "integer"
  16553. },
  16554. "presaledamount": {
  16555. "description": "已预售总金额",
  16556. "type": "integer"
  16557. },
  16558. "presaledqty": {
  16559. "description": "已预售量",
  16560. "type": "integer"
  16561. },
  16562. "userid": {
  16563. "description": "用户ID",
  16564. "type": "integer"
  16565. },
  16566. "wrstandardid": {
  16567. "description": "仓单标准ID",
  16568. "type": "integer"
  16569. }
  16570. }
  16571. },
  16572. "cptrade.QueryCPTradeMyBidRsp": {
  16573. "type": "object",
  16574. "required": [
  16575. "accountid",
  16576. "goodsid",
  16577. "marketid",
  16578. "orderid",
  16579. "orderqty",
  16580. "ordertime",
  16581. "tradeprice",
  16582. "tradeqty"
  16583. ],
  16584. "properties": {
  16585. "accountid": {
  16586. "description": "账户ID[报价币种]",
  16587. "type": "integer"
  16588. },
  16589. "goodsid": {
  16590. "description": "商品ID",
  16591. "type": "integer"
  16592. },
  16593. "goodunit": {
  16594. "description": "报价单位",
  16595. "type": "string"
  16596. },
  16597. "marketid": {
  16598. "description": "市场ID",
  16599. "type": "integer"
  16600. },
  16601. "orderid": {
  16602. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  16603. "type": "integer"
  16604. },
  16605. "orderprice": {
  16606. "description": "委托价格",
  16607. "type": "number"
  16608. },
  16609. "orderqty": {
  16610. "description": "委托数量",
  16611. "type": "integer"
  16612. },
  16613. "ordertime": {
  16614. "description": "委托时间",
  16615. "type": "string"
  16616. },
  16617. "ordertotalprice": {
  16618. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  16619. "type": "number"
  16620. },
  16621. "ordertotalweight": {
  16622. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  16623. "type": "integer"
  16624. },
  16625. "totaltotalprice": {
  16626. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  16627. "type": "number"
  16628. },
  16629. "tradeprice": {
  16630. "description": "成交价格",
  16631. "type": "number"
  16632. },
  16633. "tradeqty": {
  16634. "description": "成交数量",
  16635. "type": "integer"
  16636. }
  16637. }
  16638. },
  16639. "cptrade.QueryCPTradeOrderDetailRsq": {
  16640. "type": "object",
  16641. "required": [
  16642. "accountid",
  16643. "buildtype",
  16644. "buyorsell",
  16645. "goodsid",
  16646. "marketid",
  16647. "memberuserid",
  16648. "operatetype",
  16649. "orderqty",
  16650. "ordertime",
  16651. "pricemode",
  16652. "strorderid",
  16653. "tradedate",
  16654. "validtype"
  16655. ],
  16656. "properties": {
  16657. "accountid": {
  16658. "description": "账户ID[报价币种]",
  16659. "type": "integer"
  16660. },
  16661. "buildtype": {
  16662. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  16663. "type": "integer"
  16664. },
  16665. "buyorsell": {
  16666. "description": "买卖 - 0:买 1:卖",
  16667. "type": "integer"
  16668. },
  16669. "cancelorderid": {
  16670. "description": "撤单单号(撤单时填写)",
  16671. "type": "integer"
  16672. },
  16673. "cancelqty": {
  16674. "description": "撤单数量",
  16675. "type": "integer"
  16676. },
  16677. "clientordertime": {
  16678. "description": "客户端委托时间",
  16679. "type": "string"
  16680. },
  16681. "clientticket": {
  16682. "description": "客户端流水号",
  16683. "type": "string"
  16684. },
  16685. "clienttype": {
  16686. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  16687. "type": "integer"
  16688. },
  16689. "closeexchagechargevalue": {
  16690. "description": "平仓交易所手续费设置值",
  16691. "type": "number"
  16692. },
  16693. "closefeealgorithm": {
  16694. "description": "平仓手续费收取方式 1:比率 2:固定",
  16695. "type": "integer"
  16696. },
  16697. "closefreezecharge": {
  16698. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  16699. "type": "number"
  16700. },
  16701. "closememberchargevalue": {
  16702. "description": "平仓会员手续费设置值",
  16703. "type": "number"
  16704. },
  16705. "closeqty": {
  16706. "description": "平仓数量(先建后平操作 需要记录)",
  16707. "type": "integer"
  16708. },
  16709. "closetradeqty": {
  16710. "description": "平仓成交数量(先建后平操作,需要记录)",
  16711. "type": "integer"
  16712. },
  16713. "closeunfreezecharge": {
  16714. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  16715. "type": "number"
  16716. },
  16717. "delistingtype": {
  16718. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  16719. "type": "integer"
  16720. },
  16721. "freezecharge": {
  16722. "description": "冻结手续费",
  16723. "type": "number"
  16724. },
  16725. "freezemargin": {
  16726. "description": "冻结保证金(冻结交易金额)",
  16727. "type": "number"
  16728. },
  16729. "gcaccountid": {
  16730. "description": "账户ID[合约币种]",
  16731. "type": "integer"
  16732. },
  16733. "goodsid": {
  16734. "description": "商品ID",
  16735. "type": "integer"
  16736. },
  16737. "isconfirmexercise": {
  16738. "description": "是否确认行权- 0:否 1:是",
  16739. "type": "integer"
  16740. },
  16741. "ispreexercise": {
  16742. "description": "是否预申报- 0:否 1:是",
  16743. "type": "integer"
  16744. },
  16745. "listingselecttype": {
  16746. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  16747. "type": "integer"
  16748. },
  16749. "marginalgorithm": {
  16750. "description": "保证金收取方式 1:比率 2:固定",
  16751. "type": "integer"
  16752. },
  16753. "marginvalue": {
  16754. "description": "即市保证金设置值",
  16755. "type": "number"
  16756. },
  16757. "marketid": {
  16758. "description": "市场ID",
  16759. "type": "integer"
  16760. },
  16761. "marketmaxsub": {
  16762. "description": "市价最大偏移范围",
  16763. "type": "number"
  16764. },
  16765. "memberuserid": {
  16766. "description": "所属会员UserID",
  16767. "type": "integer"
  16768. },
  16769. "openexchagechargevalue": {
  16770. "description": "建仓交易所手续费设置值",
  16771. "type": "number"
  16772. },
  16773. "openfeealgorithm": {
  16774. "description": "建仓手续费收取方式 1:比率 2:固定",
  16775. "type": "integer"
  16776. },
  16777. "openfreezecharge": {
  16778. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  16779. "type": "number"
  16780. },
  16781. "openmemberchargevalue": {
  16782. "description": "建仓会员手续费设置值",
  16783. "type": "number"
  16784. },
  16785. "openqty": {
  16786. "description": "开仓数量(先建后平操作,需要记录)",
  16787. "type": "integer"
  16788. },
  16789. "opentradeqty": {
  16790. "description": "开仓成交数量(先建后平操作,需要记录)",
  16791. "type": "integer"
  16792. },
  16793. "openunfreezecharge": {
  16794. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  16795. "type": "number"
  16796. },
  16797. "operatetype": {
  16798. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  16799. "type": "integer"
  16800. },
  16801. "operatorid": {
  16802. "description": "登录账号(LoginID)",
  16803. "type": "integer"
  16804. },
  16805. "optiontype": {
  16806. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  16807. "type": "integer"
  16808. },
  16809. "orderprice": {
  16810. "description": "委托价格",
  16811. "type": "number"
  16812. },
  16813. "orderqty": {
  16814. "description": "委托数量",
  16815. "type": "integer"
  16816. },
  16817. "ordersrc": {
  16818. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  16819. "type": "integer"
  16820. },
  16821. "orderstatus": {
  16822. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  16823. "type": "integer"
  16824. },
  16825. "ordertime": {
  16826. "description": "委托时间",
  16827. "type": "string"
  16828. },
  16829. "preexerciseprice": {
  16830. "description": "预申报价格",
  16831. "type": "number"
  16832. },
  16833. "premium": {
  16834. "description": "权利金",
  16835. "type": "number"
  16836. },
  16837. "preorderid": {
  16838. "description": "关联预埋单号(止盈止损单时填写)",
  16839. "type": "integer"
  16840. },
  16841. "pricemode": {
  16842. "description": "取价方式 - 1:市价 2: 限价",
  16843. "type": "integer"
  16844. },
  16845. "quoteid": {
  16846. "description": "报价单ID",
  16847. "type": "integer"
  16848. },
  16849. "relatedid": {
  16850. "description": "关联单号(交割单)",
  16851. "type": "integer"
  16852. },
  16853. "retcode": {
  16854. "description": "错误代码",
  16855. "type": "integer"
  16856. },
  16857. "sessionid": {
  16858. "description": "会话ID",
  16859. "type": "integer"
  16860. },
  16861. "strorderid": {
  16862. "description": "委托单号",
  16863. "type": "string"
  16864. },
  16865. "tradedate": {
  16866. "description": "交易日(yyyyMMdd)",
  16867. "type": "string"
  16868. },
  16869. "tradeproperty": {
  16870. "description": "交易属性",
  16871. "type": "integer"
  16872. },
  16873. "tradeqty": {
  16874. "description": "成交数量",
  16875. "type": "integer"
  16876. },
  16877. "unfreezecharge": {
  16878. "description": "解冻手续费",
  16879. "type": "number"
  16880. },
  16881. "unfreezemargin": {
  16882. "description": "解冻保证金",
  16883. "type": "number"
  16884. },
  16885. "updatetime": {
  16886. "description": "更新时间",
  16887. "type": "string"
  16888. },
  16889. "uuid": {
  16890. "description": "发起端唯一id",
  16891. "type": "string"
  16892. },
  16893. "validtime": {
  16894. "description": "有效期限",
  16895. "type": "string"
  16896. },
  16897. "validtype": {
  16898. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  16899. "type": "integer"
  16900. },
  16901. "volumetype": {
  16902. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  16903. "type": "integer"
  16904. }
  16905. }
  16906. },
  16907. "cptrade.QueryMyCPTradeGoodsRsp": {
  16908. "type": "object",
  16909. "required": [
  16910. "goodscode",
  16911. "goodsid",
  16912. "goodsname",
  16913. "marketid",
  16914. "relatedgoodscode",
  16915. "relatedgoodsname"
  16916. ],
  16917. "properties": {
  16918. "accountid": {
  16919. "description": "卖方账户ID",
  16920. "type": "integer"
  16921. },
  16922. "agreeunit": {
  16923. "description": "合约单位",
  16924. "type": "number"
  16925. },
  16926. "applyid": {
  16927. "description": "关联申请ID",
  16928. "type": "integer"
  16929. },
  16930. "attachmenturl": {
  16931. "description": "附件地址",
  16932. "type": "string"
  16933. },
  16934. "createtime": {
  16935. "description": "创建时间",
  16936. "type": "string"
  16937. },
  16938. "currencyid": {
  16939. "description": "报价货币ID",
  16940. "type": "integer"
  16941. },
  16942. "decimalplace": {
  16943. "description": "报价小数位",
  16944. "type": "integer"
  16945. },
  16946. "endtime": {
  16947. "description": "预售结束时间",
  16948. "type": "string"
  16949. },
  16950. "floorprice": {
  16951. "description": "底价[大宗式竞拍]",
  16952. "type": "number"
  16953. },
  16954. "goodscode": {
  16955. "description": "商品代码(预售)",
  16956. "type": "string"
  16957. },
  16958. "goodsdetail": {
  16959. "description": "详情[大宗]",
  16960. "type": "string"
  16961. },
  16962. "goodsid": {
  16963. "description": "商品ID(自增ID SEQ_GOODS)",
  16964. "type": "integer"
  16965. },
  16966. "goodsname": {
  16967. "description": "商品名称(预售)",
  16968. "type": "string"
  16969. },
  16970. "goodunit": {
  16971. "description": "报价单位",
  16972. "type": "string"
  16973. },
  16974. "goodunitid": {
  16975. "description": "报价单位ID",
  16976. "type": "integer"
  16977. },
  16978. "marketid": {
  16979. "description": "所属市场ID",
  16980. "type": "integer"
  16981. },
  16982. "marketname": {
  16983. "description": "预售市场名称",
  16984. "type": "string"
  16985. },
  16986. "presaledamount": {
  16987. "description": "已预售总金额(预售结束时更新)",
  16988. "type": "number"
  16989. },
  16990. "presaledqty": {
  16991. "description": "已预售量(预售结束时更新)",
  16992. "type": "integer"
  16993. },
  16994. "presalemode": {
  16995. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  16996. "type": "integer"
  16997. },
  16998. "presaleqty": {
  16999. "description": "预售数量",
  17000. "type": "integer"
  17001. },
  17002. "refprice": {
  17003. "description": "参考价格[一口价]",
  17004. "type": "number"
  17005. },
  17006. "relatedgoodscode": {
  17007. "description": "商品代码(订单)",
  17008. "type": "string"
  17009. },
  17010. "relatedgoodsid": {
  17011. "description": "关联交易合约ID",
  17012. "type": "integer"
  17013. },
  17014. "relatedgoodsname": {
  17015. "description": "商品名称(订单)",
  17016. "type": "string"
  17017. },
  17018. "relatedmarketid": {
  17019. "description": "关联交易合约市场ID",
  17020. "type": "integer"
  17021. },
  17022. "sellstatus": {
  17023. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17024. "type": "integer"
  17025. },
  17026. "startprice": {
  17027. "description": "起拍价[大宗式竞拍]",
  17028. "type": "number"
  17029. },
  17030. "starttime": {
  17031. "description": "预售开始时间",
  17032. "type": "string"
  17033. },
  17034. "tradedate": {
  17035. "description": "交易日(yyyyMMdd)",
  17036. "type": "string"
  17037. },
  17038. "tradeprice": {
  17039. "description": "成交价[大宗]",
  17040. "type": "number"
  17041. },
  17042. "userid": {
  17043. "description": "卖方用户ID",
  17044. "type": "integer"
  17045. }
  17046. }
  17047. },
  17048. "cptrade.QueryPresaleGoodsExRsp": {
  17049. "type": "object",
  17050. "required": [
  17051. "goodsid"
  17052. ],
  17053. "properties": {
  17054. "attachmenturl": {
  17055. "description": "附件地址",
  17056. "type": "string"
  17057. },
  17058. "createtime": {
  17059. "description": "创建时间",
  17060. "type": "string"
  17061. },
  17062. "endtime": {
  17063. "description": "预售结束时间",
  17064. "type": "string"
  17065. },
  17066. "floorprice": {
  17067. "description": "底价[大宗式竞拍]",
  17068. "type": "number"
  17069. },
  17070. "goodsdetail": {
  17071. "description": "详情[大宗]",
  17072. "type": "string"
  17073. },
  17074. "goodsid": {
  17075. "description": "商品ID(预售)",
  17076. "type": "integer"
  17077. },
  17078. "goodunit": {
  17079. "description": "报价单位",
  17080. "type": "string"
  17081. },
  17082. "marketid": {
  17083. "description": "预售市场ID - 根据预售模式选择市场",
  17084. "type": "integer"
  17085. },
  17086. "presaledamount": {
  17087. "description": "已预售总金额(预售结束时更新)",
  17088. "type": "number"
  17089. },
  17090. "presaledqty": {
  17091. "description": "已预售量(预售结束时更新)",
  17092. "type": "integer"
  17093. },
  17094. "presalemode": {
  17095. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17096. "type": "integer"
  17097. },
  17098. "presaleqty": {
  17099. "description": "预售数量",
  17100. "type": "integer"
  17101. },
  17102. "refprice": {
  17103. "description": "参考价格[一口价]",
  17104. "type": "number"
  17105. },
  17106. "relatedgoodsid": {
  17107. "description": "关联交易合约ID",
  17108. "type": "integer"
  17109. },
  17110. "relatedmarketid": {
  17111. "description": "关联交易合约市场ID",
  17112. "type": "integer"
  17113. },
  17114. "sellstatus": {
  17115. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17116. "type": "integer"
  17117. },
  17118. "startprice": {
  17119. "description": "起拍价[大宗式竞拍]",
  17120. "type": "number"
  17121. },
  17122. "starttime": {
  17123. "description": "预售开始时间",
  17124. "type": "string"
  17125. },
  17126. "tradedate": {
  17127. "description": "交易日(yyyyMMdd)",
  17128. "type": "string"
  17129. },
  17130. "tradeprice": {
  17131. "description": "成交价[大宗]",
  17132. "type": "number"
  17133. }
  17134. }
  17135. },
  17136. "delivery.QueryDeliveryRelationRsp": {
  17137. "type": "object",
  17138. "required": [
  17139. "begindate",
  17140. "enddate",
  17141. "goodsid",
  17142. "mindeliveryqty",
  17143. "xdeliveryratio"
  17144. ],
  17145. "properties": {
  17146. "begindate": {
  17147. "description": "起始日期(yyyyMMdd)",
  17148. "type": "string"
  17149. },
  17150. "buytemplateid": {
  17151. "description": "买履约计划模板ID",
  17152. "type": "integer"
  17153. },
  17154. "deliverygoodscode": {
  17155. "description": "品种代码",
  17156. "type": "string"
  17157. },
  17158. "deliverygoodsid": {
  17159. "description": "交割商品",
  17160. "type": "integer"
  17161. },
  17162. "deliverygoodsname": {
  17163. "description": "品种名称",
  17164. "type": "string"
  17165. },
  17166. "deliverymode": {
  17167. "description": "交割方式 - 1:点选式 2:申报式",
  17168. "type": "integer"
  17169. },
  17170. "deliverypricerule": {
  17171. "description": "交割价规则- 1:行情价 2:建仓价",
  17172. "type": "integer"
  17173. },
  17174. "deliverytype": {
  17175. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  17176. "type": "integer"
  17177. },
  17178. "enddate": {
  17179. "description": "结束日期(yyyyMMdd)",
  17180. "type": "string"
  17181. },
  17182. "enumdicname": {
  17183. "description": "品类单位名称",
  17184. "type": "string"
  17185. },
  17186. "goodscode": {
  17187. "description": "商品代码",
  17188. "type": "string"
  17189. },
  17190. "goodsid": {
  17191. "description": "交易合约ID",
  17192. "type": "integer"
  17193. },
  17194. "goodsname": {
  17195. "description": "商品名称",
  17196. "type": "string"
  17197. },
  17198. "marketid": {
  17199. "description": "市场ID",
  17200. "type": "integer"
  17201. },
  17202. "mindeliveryqty": {
  17203. "description": "最小交割系数(K)",
  17204. "type": "integer"
  17205. },
  17206. "p2deliveryprice": {
  17207. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  17208. "type": "number"
  17209. },
  17210. "p2deliveryratio": {
  17211. "description": "P2合约系数(p)",
  17212. "type": "integer"
  17213. },
  17214. "p2goodsid": {
  17215. "description": "P2合约ID",
  17216. "type": "integer"
  17217. },
  17218. "p2pricemode": {
  17219. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  17220. "type": "integer"
  17221. },
  17222. "pdeliveryprice": {
  17223. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  17224. "type": "number"
  17225. },
  17226. "pdeliveryratio": {
  17227. "description": "P合约系数(n)",
  17228. "type": "integer"
  17229. },
  17230. "pgoodscode": {
  17231. "description": "p合约代码",
  17232. "type": "string"
  17233. },
  17234. "pgoodsid": {
  17235. "description": "P合约ID",
  17236. "type": "integer"
  17237. },
  17238. "ppricemode": {
  17239. "description": "P合约价格方式 - 1:商品价 2:固定值",
  17240. "type": "integer"
  17241. },
  17242. "rratio": {
  17243. "description": "兑换系数(R)",
  17244. "type": "integer"
  17245. },
  17246. "rratio1": {
  17247. "description": "兑换系数(交易合约)(R1)",
  17248. "type": "integer"
  17249. },
  17250. "rratio2": {
  17251. "description": "兑换系数(仓单标准)(R2)",
  17252. "type": "integer"
  17253. },
  17254. "selltemplateid": {
  17255. "description": "卖履约计划模板ID",
  17256. "type": "integer"
  17257. },
  17258. "wrstandardid": {
  17259. "description": "仓单标准ID",
  17260. "type": "integer"
  17261. },
  17262. "xdeliveryratio": {
  17263. "description": "交易合约系数(m)",
  17264. "type": "integer"
  17265. }
  17266. }
  17267. },
  17268. "ermcp.ExposureDetailRsp": {
  17269. "type": "object",
  17270. "properties": {
  17271. "areauserid": {
  17272. "description": "机构ID",
  17273. "type": "integer"
  17274. },
  17275. "changeQty": {
  17276. "description": "套保变动量",
  17277. "type": "number"
  17278. },
  17279. "contracttype": {
  17280. "description": "现货合同类型 - 1:采购 -1:销售",
  17281. "type": "integer"
  17282. },
  17283. "convertfactor": {
  17284. "description": "标仓系数",
  17285. "type": "number"
  17286. },
  17287. "convertratio": {
  17288. "description": "套保系数",
  17289. "type": "number"
  17290. },
  17291. "createtime": {
  17292. "description": "时间",
  17293. "type": "string"
  17294. },
  17295. "enumdicname": {
  17296. "description": "现货商品单位名称",
  17297. "type": "string"
  17298. },
  17299. "logtype": {
  17300. "description": "类型 - 1:套保计划 2:现货合同",
  17301. "type": "integer"
  17302. },
  17303. "middlegoodsId": {
  17304. "description": "套保商品id",
  17305. "type": "integer"
  17306. },
  17307. "middlegoodscode": {
  17308. "description": "套保商品代码",
  17309. "type": "string"
  17310. },
  17311. "middlegoodsname": {
  17312. "description": "套保商品名称",
  17313. "type": "string"
  17314. },
  17315. "qty": {
  17316. "description": "数量",
  17317. "type": "number"
  17318. },
  17319. "relateNo": {
  17320. "description": "现货合同/套保计划编号",
  17321. "type": "string"
  17322. },
  17323. "wrstandardcode": {
  17324. "description": "现货商品代码",
  17325. "type": "string"
  17326. },
  17327. "wrstandardid": {
  17328. "description": "现货商品ID",
  17329. "type": "integer"
  17330. },
  17331. "wrstandardname": {
  17332. "description": "现货商品名称",
  17333. "type": "string"
  17334. }
  17335. }
  17336. },
  17337. "ermcp.ExposureHedgePosDetailRsp": {
  17338. "type": "object",
  17339. "properties": {
  17340. "buyorsell": {
  17341. "description": "买卖方向 0-买 1-卖",
  17342. "type": "integer"
  17343. },
  17344. "channelbuildtype": {
  17345. "description": "开平方向 1-建仓 2-平仓",
  17346. "type": "integer"
  17347. },
  17348. "goodscode": {
  17349. "description": "商品代码",
  17350. "type": "string"
  17351. },
  17352. "goodsname": {
  17353. "description": "商品名称",
  17354. "type": "string"
  17355. },
  17356. "hedgegoodsid": {
  17357. "description": "商品id",
  17358. "type": "integer"
  17359. },
  17360. "tradeqty": {
  17361. "description": "数量(成交数量)",
  17362. "type": "integer"
  17363. },
  17364. "tradetime": {
  17365. "description": "时间(成交时间)",
  17366. "type": "string"
  17367. }
  17368. }
  17369. },
  17370. "ermcp.ExposureHedgePositionRsp": {
  17371. "type": "object",
  17372. "properties": {
  17373. "accountid": {
  17374. "description": "资金账号[外部母账户]",
  17375. "type": "integer"
  17376. },
  17377. "curbuyposition": {
  17378. "description": "期末买头寸",
  17379. "type": "integer"
  17380. },
  17381. "cursellposition": {
  17382. "description": "期末卖头寸",
  17383. "type": "integer"
  17384. },
  17385. "curtdbuyposition": {
  17386. "description": "期末今日买头寸",
  17387. "type": "integer"
  17388. },
  17389. "curtdsellposition": {
  17390. "description": "期末今日卖头寸",
  17391. "type": "integer"
  17392. },
  17393. "curydbuyposition": {
  17394. "description": "期末上日买头寸",
  17395. "type": "integer"
  17396. },
  17397. "curydsellposition": {
  17398. "description": "期末上日卖头寸",
  17399. "type": "integer"
  17400. },
  17401. "decreaseqty": {
  17402. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  17403. "type": "integer"
  17404. },
  17405. "fretdbuyposition": {
  17406. "description": "冻结今日买头寸",
  17407. "type": "integer"
  17408. },
  17409. "fretdsellposition": {
  17410. "description": "冻结今日卖头寸",
  17411. "type": "integer"
  17412. },
  17413. "freydbuyposition": {
  17414. "description": "冻结上日买头寸",
  17415. "type": "integer"
  17416. },
  17417. "freydsellposition": {
  17418. "description": "冻结上日卖头寸",
  17419. "type": "integer"
  17420. },
  17421. "goodscode": {
  17422. "description": "商品代码",
  17423. "type": "string"
  17424. },
  17425. "goodsid": {
  17426. "description": "商品id",
  17427. "type": "integer"
  17428. },
  17429. "goodsname": {
  17430. "description": "商品名称",
  17431. "type": "string"
  17432. },
  17433. "hedgeaccountcode": {
  17434. "description": "对冲账号",
  17435. "type": "string"
  17436. },
  17437. "hedgegoodsid": {
  17438. "description": "对冲合约ID",
  17439. "type": "integer"
  17440. },
  17441. "increaseqty": {
  17442. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  17443. "type": "integer"
  17444. },
  17445. "marketid": {
  17446. "description": "市场ID",
  17447. "type": "integer"
  17448. },
  17449. "relateduserid": {
  17450. "description": "关联用户id",
  17451. "type": "integer"
  17452. },
  17453. "totalcurqty": {
  17454. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  17455. "type": "integer"
  17456. },
  17457. "totalydqty": {
  17458. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  17459. "type": "integer"
  17460. },
  17461. "tradedate": {
  17462. "description": "交易日(yyyyMMdd)",
  17463. "type": "string"
  17464. },
  17465. "ydbuyposition": {
  17466. "description": "期初买头寸",
  17467. "type": "integer"
  17468. },
  17469. "ydsellposition": {
  17470. "description": "期初卖头寸",
  17471. "type": "integer"
  17472. }
  17473. }
  17474. },
  17475. "ermcp.ExposureSpotDetailRsp": {
  17476. "type": "object",
  17477. "properties": {
  17478. "contracttype": {
  17479. "description": "合同类型 1-采购 -1-销售",
  17480. "type": "integer"
  17481. },
  17482. "createtime": {
  17483. "description": "创建时间",
  17484. "type": "string"
  17485. },
  17486. "enumdicname": {
  17487. "description": "现货商品单位名称",
  17488. "type": "string"
  17489. },
  17490. "logtype": {
  17491. "description": "记录类型 1-套保 2-现货合同",
  17492. "type": "integer"
  17493. },
  17494. "qty": {
  17495. "description": "数量",
  17496. "type": "number"
  17497. },
  17498. "recordname": {
  17499. "description": "类型名称",
  17500. "type": "string"
  17501. },
  17502. "relatedid": {
  17503. "description": "套保计划ID/现货合同ID",
  17504. "type": "string"
  17505. },
  17506. "relatedno": {
  17507. "description": "编号",
  17508. "type": "string"
  17509. },
  17510. "strtime": {
  17511. "description": "时间",
  17512. "type": "string"
  17513. },
  17514. "wrstandardcode": {
  17515. "description": "现货商品代码",
  17516. "type": "string"
  17517. },
  17518. "wrstandardname": {
  17519. "description": "现货商品名称",
  17520. "type": "string"
  17521. }
  17522. }
  17523. },
  17524. "ermcp.ExposureSpotRsp": {
  17525. "type": "object",
  17526. "properties": {
  17527. "areauserid": {
  17528. "description": "所属机构",
  17529. "type": "integer"
  17530. },
  17531. "decreaseqty": {
  17532. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  17533. "type": "number"
  17534. },
  17535. "increaseqty": {
  17536. "description": "增加数量=销售计划数量+采购已定价数量",
  17537. "type": "number"
  17538. },
  17539. "oritoalspotqty": {
  17540. "description": "昨日数量",
  17541. "type": "number"
  17542. },
  17543. "totalspotqty": {
  17544. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  17545. "type": "number"
  17546. },
  17547. "updatetime": {
  17548. "description": "更新时间",
  17549. "type": "string"
  17550. },
  17551. "wrstandardcode": {
  17552. "description": "现货品种代码",
  17553. "type": "string"
  17554. },
  17555. "wrstandardid": {
  17556. "description": "现货商品ID",
  17557. "type": "integer"
  17558. },
  17559. "wrstandardname": {
  17560. "description": "现货品种",
  17561. "type": "string"
  17562. }
  17563. }
  17564. },
  17565. "ermcp.HisExposureRsp": {
  17566. "type": "object",
  17567. "properties": {
  17568. "data": {
  17569. "description": "历史敞口",
  17570. "type": "array",
  17571. "items": {
  17572. "$ref": "#/definitions/models.ErmcpHisExposure"
  17573. }
  17574. },
  17575. "enumdicname": {
  17576. "description": "单位名称",
  17577. "type": "string"
  17578. },
  17579. "middlegoodscode": {
  17580. "description": "套保品种代码",
  17581. "type": "string"
  17582. },
  17583. "middlegoodsid": {
  17584. "description": "套保品种ID",
  17585. "type": "integer"
  17586. },
  17587. "middlegoodsname": {
  17588. "description": "套保品种名称",
  17589. "type": "string"
  17590. }
  17591. }
  17592. },
  17593. "ermcp.PendingAuditCntRsp": {
  17594. "type": "object",
  17595. "properties": {
  17596. "areastockqty": {
  17597. "description": "待审核数量: 库存申请",
  17598. "type": "integer"
  17599. },
  17600. "businessdjqty": {
  17601. "description": "待审核数量: 点价",
  17602. "type": "integer"
  17603. },
  17604. "businessfpqty": {
  17605. "description": "待审核数量: 发票",
  17606. "type": "integer"
  17607. },
  17608. "businessjsqty": {
  17609. "description": "待审核数量: 结算",
  17610. "type": "integer"
  17611. },
  17612. "businesskxqty": {
  17613. "description": "待审核数量: 款项",
  17614. "type": "integer"
  17615. },
  17616. "hedgeplanqty": {
  17617. "description": "待审核数量: 套保计划",
  17618. "type": "integer"
  17619. },
  17620. "spotcontractqty": {
  17621. "description": "待审核数量: 现货合同",
  17622. "type": "integer"
  17623. },
  17624. "userqty": {
  17625. "description": "待审核数量: 用户",
  17626. "type": "integer"
  17627. }
  17628. }
  17629. },
  17630. "ermcp.QryAvalidGPRsp": {
  17631. "type": "object",
  17632. "properties": {
  17633. "goodsgroupid": {
  17634. "description": "期货品种id",
  17635. "type": "integer"
  17636. },
  17637. "goodsgroupname": {
  17638. "description": "期货品种名称",
  17639. "type": "string"
  17640. },
  17641. "goodunitid": {
  17642. "description": "品种单位id",
  17643. "type": "integer"
  17644. },
  17645. "goodunitname": {
  17646. "description": "品种单位名称",
  17647. "type": "string"
  17648. },
  17649. "outergroupcode": {
  17650. "description": "期货品种代码",
  17651. "type": "string"
  17652. }
  17653. }
  17654. },
  17655. "ermcp.QryBusinessDjRsp": {
  17656. "type": "object",
  17657. "properties": {
  17658. "amount": {
  17659. "description": "期初均价",
  17660. "type": "number"
  17661. },
  17662. "applyid": {
  17663. "description": "申请人",
  17664. "type": "string"
  17665. },
  17666. "applyname": {
  17667. "description": "申请人名称",
  17668. "type": "string"
  17669. },
  17670. "applystatus": {
  17671. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17672. "type": "integer"
  17673. },
  17674. "applytime": {
  17675. "description": "申请时间",
  17676. "type": "string"
  17677. },
  17678. "attachurl": {
  17679. "description": "附件",
  17680. "type": "string"
  17681. },
  17682. "auditid": {
  17683. "description": "审核人ID",
  17684. "type": "string"
  17685. },
  17686. "auditname": {
  17687. "description": "审核人名称",
  17688. "type": "string"
  17689. },
  17690. "auditremark": {
  17691. "description": "审核备注",
  17692. "type": "string"
  17693. },
  17694. "audittime": {
  17695. "description": "审核时间",
  17696. "type": "string"
  17697. },
  17698. "buyusername": {
  17699. "description": "采购方名称",
  17700. "type": "string"
  17701. },
  17702. "contractno": {
  17703. "description": "合同编号",
  17704. "type": "string"
  17705. },
  17706. "contractstatus": {
  17707. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17708. "type": "integer"
  17709. },
  17710. "contracttype": {
  17711. "description": "现货合同类型 - 1:采购 -1:销售",
  17712. "type": "integer"
  17713. },
  17714. "deliverygoodscode": {
  17715. "description": "现货品种代码",
  17716. "type": "string"
  17717. },
  17718. "deliverygoodsid": {
  17719. "description": "现货商品ID",
  17720. "type": "integer"
  17721. },
  17722. "deliverygoodsname": {
  17723. "description": "现货品种名称",
  17724. "type": "string"
  17725. },
  17726. "enumdicname": {
  17727. "description": "单位名称",
  17728. "type": "string"
  17729. },
  17730. "goodscode": {
  17731. "description": "点价合约",
  17732. "type": "string"
  17733. },
  17734. "goodsname": {
  17735. "description": "商品名称",
  17736. "type": "string"
  17737. },
  17738. "operateapplyid": {
  17739. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17740. "type": "string"
  17741. },
  17742. "operateapplytype": {
  17743. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17744. "type": "integer"
  17745. },
  17746. "pricedPrice": {
  17747. "description": "点价价格(非必填)",
  17748. "type": "number"
  17749. },
  17750. "pricedQty": {
  17751. "description": "点价数量(非必填)",
  17752. "type": "number"
  17753. },
  17754. "pricemove": {
  17755. "description": "升贴水",
  17756. "type": "number"
  17757. },
  17758. "pricetype": {
  17759. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17760. "type": "integer"
  17761. },
  17762. "relatedid": {
  17763. "description": "现货合同ID",
  17764. "type": "string"
  17765. },
  17766. "sellusername": {
  17767. "description": "销售方名字",
  17768. "type": "string"
  17769. },
  17770. "userid": {
  17771. "description": "用户ID",
  17772. "type": "integer"
  17773. },
  17774. "wrstandardcode": {
  17775. "description": "品类代码",
  17776. "type": "string"
  17777. },
  17778. "wrstandardid": {
  17779. "description": "品类id",
  17780. "type": "integer"
  17781. },
  17782. "wrstandardname": {
  17783. "description": "品类名称",
  17784. "type": "string"
  17785. }
  17786. }
  17787. },
  17788. "ermcp.QryBussinessFpRsp": {
  17789. "type": "object",
  17790. "properties": {
  17791. "applyid": {
  17792. "description": "申请人",
  17793. "type": "string"
  17794. },
  17795. "applyname": {
  17796. "description": "申请人名称",
  17797. "type": "string"
  17798. },
  17799. "applystatus": {
  17800. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17801. "type": "integer"
  17802. },
  17803. "applytime": {
  17804. "description": "申请时间",
  17805. "type": "string"
  17806. },
  17807. "attachurl": {
  17808. "description": "附件",
  17809. "type": "string"
  17810. },
  17811. "auditid": {
  17812. "description": "审核人ID",
  17813. "type": "string"
  17814. },
  17815. "auditname": {
  17816. "description": "审核人名称",
  17817. "type": "string"
  17818. },
  17819. "auditremark": {
  17820. "description": "审核备注",
  17821. "type": "string"
  17822. },
  17823. "audittime": {
  17824. "description": "审核时间",
  17825. "type": "string"
  17826. },
  17827. "buyusername": {
  17828. "description": "采购方名称",
  17829. "type": "string"
  17830. },
  17831. "contractno": {
  17832. "description": "合同编号",
  17833. "type": "string"
  17834. },
  17835. "contractstatus": {
  17836. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17837. "type": "integer"
  17838. },
  17839. "contracttype": {
  17840. "description": "现货合同类型 - 1:采购 -1:销售",
  17841. "type": "integer"
  17842. },
  17843. "deliverygoodscode": {
  17844. "description": "现货品种代码",
  17845. "type": "string"
  17846. },
  17847. "deliverygoodsid": {
  17848. "description": "现货商品ID",
  17849. "type": "integer"
  17850. },
  17851. "deliverygoodsname": {
  17852. "description": "现货品种名称",
  17853. "type": "string"
  17854. },
  17855. "enumdicname": {
  17856. "description": "单位名称",
  17857. "type": "string"
  17858. },
  17859. "goodscode": {
  17860. "description": "点价合约",
  17861. "type": "string"
  17862. },
  17863. "goodsname": {
  17864. "description": "商品名称",
  17865. "type": "string"
  17866. },
  17867. "invoiceamount": {
  17868. "description": "已开收票金额(销售为开票,采购为收票)",
  17869. "type": "number"
  17870. },
  17871. "operateapplyid": {
  17872. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17873. "type": "string"
  17874. },
  17875. "operateapplytype": {
  17876. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17877. "type": "integer"
  17878. },
  17879. "pricemove": {
  17880. "description": "升贴水",
  17881. "type": "number"
  17882. },
  17883. "pricetype": {
  17884. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  17885. "type": "integer"
  17886. },
  17887. "relatedid": {
  17888. "description": "现货合同ID",
  17889. "type": "string"
  17890. },
  17891. "sellusername": {
  17892. "description": "销售方名字",
  17893. "type": "string"
  17894. },
  17895. "userid": {
  17896. "description": "用户ID",
  17897. "type": "integer"
  17898. },
  17899. "wrstandardcode": {
  17900. "description": "品类代码",
  17901. "type": "string"
  17902. },
  17903. "wrstandardid": {
  17904. "description": "品类id",
  17905. "type": "integer"
  17906. },
  17907. "wrstandardname": {
  17908. "description": "品类名称",
  17909. "type": "string"
  17910. }
  17911. }
  17912. },
  17913. "ermcp.QryBussinessJsExRsp": {
  17914. "type": "object",
  17915. "properties": {
  17916. "applyid": {
  17917. "description": "申请人",
  17918. "type": "string"
  17919. },
  17920. "applyname": {
  17921. "description": "申请人名称",
  17922. "type": "string"
  17923. },
  17924. "applystatus": {
  17925. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  17926. "type": "integer"
  17927. },
  17928. "applytime": {
  17929. "description": "申请时间",
  17930. "type": "string"
  17931. },
  17932. "attachurl": {
  17933. "description": "附件",
  17934. "type": "string"
  17935. },
  17936. "auditid": {
  17937. "description": "审核人ID",
  17938. "type": "string"
  17939. },
  17940. "auditname": {
  17941. "description": "审核人名称",
  17942. "type": "string"
  17943. },
  17944. "auditremark": {
  17945. "description": "审核备注",
  17946. "type": "string"
  17947. },
  17948. "audittime": {
  17949. "description": "审核时间",
  17950. "type": "string"
  17951. },
  17952. "buyusername": {
  17953. "description": "采购方名称",
  17954. "type": "string"
  17955. },
  17956. "contractno": {
  17957. "description": "合同编号",
  17958. "type": "string"
  17959. },
  17960. "contractstatus": {
  17961. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  17962. "type": "integer"
  17963. },
  17964. "contracttype": {
  17965. "description": "现货合同类型 - 1:采购 -1:销售",
  17966. "type": "integer"
  17967. },
  17968. "deliverygoodscode": {
  17969. "description": "现货品种代码",
  17970. "type": "string"
  17971. },
  17972. "deliverygoodsid": {
  17973. "description": "现货商品ID",
  17974. "type": "integer"
  17975. },
  17976. "deliverygoodsname": {
  17977. "description": "现货品种名称",
  17978. "type": "string"
  17979. },
  17980. "enumdicname": {
  17981. "description": "单位名称",
  17982. "type": "string"
  17983. },
  17984. "goodscode": {
  17985. "description": "点价合约",
  17986. "type": "string"
  17987. },
  17988. "goodsname": {
  17989. "description": "商品名称",
  17990. "type": "string"
  17991. },
  17992. "operateapplyid": {
  17993. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  17994. "type": "string"
  17995. },
  17996. "operateapplytype": {
  17997. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  17998. "type": "integer"
  17999. },
  18000. "pricemove": {
  18001. "description": "升贴水",
  18002. "type": "number"
  18003. },
  18004. "pricetype": {
  18005. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18006. "type": "integer"
  18007. },
  18008. "reckontype": {
  18009. "description": "结算类型",
  18010. "type": "string"
  18011. },
  18012. "reckonvalue": {
  18013. "description": "值",
  18014. "type": "number"
  18015. },
  18016. "relatedid": {
  18017. "description": "现货合同ID",
  18018. "type": "string"
  18019. },
  18020. "sellusername": {
  18021. "description": "销售方名字",
  18022. "type": "string"
  18023. },
  18024. "userid": {
  18025. "description": "用户ID",
  18026. "type": "integer"
  18027. },
  18028. "wrstandardcode": {
  18029. "description": "品类代码",
  18030. "type": "string"
  18031. },
  18032. "wrstandardid": {
  18033. "description": "品类id",
  18034. "type": "integer"
  18035. },
  18036. "wrstandardname": {
  18037. "description": "品类名称",
  18038. "type": "string"
  18039. }
  18040. }
  18041. },
  18042. "ermcp.QryBussinessJsRsp": {
  18043. "type": "object",
  18044. "properties": {
  18045. "addmargin": {
  18046. "description": "追加保证金(非必填)",
  18047. "type": "number"
  18048. },
  18049. "applyid": {
  18050. "description": "申请人",
  18051. "type": "string"
  18052. },
  18053. "applyname": {
  18054. "description": "申请人名称",
  18055. "type": "string"
  18056. },
  18057. "applystatus": {
  18058. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18059. "type": "integer"
  18060. },
  18061. "applytime": {
  18062. "description": "申请时间",
  18063. "type": "string"
  18064. },
  18065. "attachurl": {
  18066. "description": "附件",
  18067. "type": "string"
  18068. },
  18069. "auditid": {
  18070. "description": "审核人ID",
  18071. "type": "string"
  18072. },
  18073. "auditname": {
  18074. "description": "审核人名称",
  18075. "type": "string"
  18076. },
  18077. "auditremark": {
  18078. "description": "审核备注",
  18079. "type": "string"
  18080. },
  18081. "audittime": {
  18082. "description": "审核时间",
  18083. "type": "string"
  18084. },
  18085. "buyusername": {
  18086. "description": "采购方名称",
  18087. "type": "string"
  18088. },
  18089. "contractno": {
  18090. "description": "合同编号",
  18091. "type": "string"
  18092. },
  18093. "contractstatus": {
  18094. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18095. "type": "integer"
  18096. },
  18097. "contracttype": {
  18098. "description": "现货合同类型 - 1:采购 -1:销售",
  18099. "type": "integer"
  18100. },
  18101. "decmargin": {
  18102. "description": "减少保证金(非必填)",
  18103. "type": "number"
  18104. },
  18105. "deliverygoodscode": {
  18106. "description": "现货品种代码",
  18107. "type": "string"
  18108. },
  18109. "deliverygoodsid": {
  18110. "description": "现货商品ID",
  18111. "type": "integer"
  18112. },
  18113. "deliverygoodsname": {
  18114. "description": "现货品种名称",
  18115. "type": "string"
  18116. },
  18117. "enumdicname": {
  18118. "description": "单位名称",
  18119. "type": "string"
  18120. },
  18121. "goodscode": {
  18122. "description": "点价合约",
  18123. "type": "string"
  18124. },
  18125. "goodsname": {
  18126. "description": "商品名称",
  18127. "type": "string"
  18128. },
  18129. "operateapplyid": {
  18130. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18131. "type": "string"
  18132. },
  18133. "operateapplytype": {
  18134. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18135. "type": "integer"
  18136. },
  18137. "pricemove": {
  18138. "description": "升贴水",
  18139. "type": "number"
  18140. },
  18141. "pricetype": {
  18142. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18143. "type": "integer"
  18144. },
  18145. "reckonadjustamount": {
  18146. "description": "结算调整金额(非必填)",
  18147. "type": "number"
  18148. },
  18149. "reckonosamount": {
  18150. "description": "结算溢短金额(非必填)",
  18151. "type": "number"
  18152. },
  18153. "reckonotheramount": {
  18154. "description": "结算其他费用(非必填)",
  18155. "type": "number"
  18156. },
  18157. "reckonrealqty": {
  18158. "description": "结算实际数量(非必填)",
  18159. "type": "number"
  18160. },
  18161. "relatedid": {
  18162. "description": "现货合同ID",
  18163. "type": "string"
  18164. },
  18165. "sellusername": {
  18166. "description": "销售方名字",
  18167. "type": "string"
  18168. },
  18169. "userid": {
  18170. "description": "用户ID",
  18171. "type": "integer"
  18172. },
  18173. "wrstandardcode": {
  18174. "description": "品类代码",
  18175. "type": "string"
  18176. },
  18177. "wrstandardid": {
  18178. "description": "品类id",
  18179. "type": "integer"
  18180. },
  18181. "wrstandardname": {
  18182. "description": "品类名称",
  18183. "type": "string"
  18184. }
  18185. }
  18186. },
  18187. "ermcp.QryBussinessKxRsp": {
  18188. "type": "object",
  18189. "properties": {
  18190. "applyid": {
  18191. "description": "申请人",
  18192. "type": "string"
  18193. },
  18194. "applyname": {
  18195. "description": "申请人名称",
  18196. "type": "string"
  18197. },
  18198. "applystatus": {
  18199. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18200. "type": "integer"
  18201. },
  18202. "applytime": {
  18203. "description": "申请时间",
  18204. "type": "string"
  18205. },
  18206. "attachurl": {
  18207. "description": "附件",
  18208. "type": "string"
  18209. },
  18210. "auditid": {
  18211. "description": "审核人ID",
  18212. "type": "string"
  18213. },
  18214. "auditname": {
  18215. "description": "审核人名称",
  18216. "type": "string"
  18217. },
  18218. "auditremark": {
  18219. "description": "审核备注",
  18220. "type": "string"
  18221. },
  18222. "audittime": {
  18223. "description": "审核时间",
  18224. "type": "string"
  18225. },
  18226. "buyusername": {
  18227. "description": "采购方名称",
  18228. "type": "string"
  18229. },
  18230. "contractno": {
  18231. "description": "合同编号",
  18232. "type": "string"
  18233. },
  18234. "contractstatus": {
  18235. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18236. "type": "integer"
  18237. },
  18238. "contracttype": {
  18239. "description": "现货合同类型 - 1:采购 -1:销售",
  18240. "type": "integer"
  18241. },
  18242. "deductamount": {
  18243. "description": "期初均价",
  18244. "type": "number"
  18245. },
  18246. "deliverygoodscode": {
  18247. "description": "现货品种代码",
  18248. "type": "string"
  18249. },
  18250. "deliverygoodsid": {
  18251. "description": "现货商品ID",
  18252. "type": "integer"
  18253. },
  18254. "deliverygoodsname": {
  18255. "description": "现货品种名称",
  18256. "type": "string"
  18257. },
  18258. "enumdicname": {
  18259. "description": "单位名称",
  18260. "type": "string"
  18261. },
  18262. "goodscode": {
  18263. "description": "点价合约",
  18264. "type": "string"
  18265. },
  18266. "goodsname": {
  18267. "description": "商品名称",
  18268. "type": "string"
  18269. },
  18270. "kxtype": {
  18271. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  18272. "type": "integer"
  18273. },
  18274. "operateapplyid": {
  18275. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18276. "type": "string"
  18277. },
  18278. "operateapplytype": {
  18279. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18280. "type": "integer"
  18281. },
  18282. "payamount": {
  18283. "description": "期初均价",
  18284. "type": "number"
  18285. },
  18286. "pricemove": {
  18287. "description": "升贴水",
  18288. "type": "number"
  18289. },
  18290. "pricetype": {
  18291. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18292. "type": "integer"
  18293. },
  18294. "relatedid": {
  18295. "description": "现货合同ID",
  18296. "type": "string"
  18297. },
  18298. "sellusername": {
  18299. "description": "销售方名字",
  18300. "type": "string"
  18301. },
  18302. "userid": {
  18303. "description": "用户ID",
  18304. "type": "integer"
  18305. },
  18306. "wrstandardcode": {
  18307. "description": "品类代码",
  18308. "type": "string"
  18309. },
  18310. "wrstandardid": {
  18311. "description": "品类id",
  18312. "type": "integer"
  18313. },
  18314. "wrstandardname": {
  18315. "description": "品类名称",
  18316. "type": "string"
  18317. }
  18318. }
  18319. },
  18320. "ermcp.QryGGCovertCfgRsp": {
  18321. "type": "object",
  18322. "properties": {
  18323. "convertratio": {
  18324. "description": "折算系数",
  18325. "type": "number"
  18326. },
  18327. "destgoodsgroupid": {
  18328. "description": "目标品种ID",
  18329. "type": "integer"
  18330. },
  18331. "dstcode": {
  18332. "description": "目录品种代码",
  18333. "type": "string"
  18334. },
  18335. "dstexchangecode": {
  18336. "description": "目标期货交易所",
  18337. "type": "string"
  18338. },
  18339. "dstname": {
  18340. "description": "目标品种名称",
  18341. "type": "string"
  18342. },
  18343. "dstunitid": {
  18344. "description": "目标品种单位ID",
  18345. "type": "integer"
  18346. },
  18347. "dstunitidname": {
  18348. "description": "目标品种单位名称",
  18349. "type": "string"
  18350. },
  18351. "modifytime": {
  18352. "description": "修改时间",
  18353. "type": "string"
  18354. },
  18355. "srccode": {
  18356. "description": "源品种代码",
  18357. "type": "string"
  18358. },
  18359. "srcexchangecode": {
  18360. "description": "源期货交易所",
  18361. "type": "string"
  18362. },
  18363. "srcgoodsgroupid": {
  18364. "description": "源品种ID",
  18365. "type": "integer"
  18366. },
  18367. "srcname": {
  18368. "description": "源品种名称",
  18369. "type": "string"
  18370. },
  18371. "srcunitid": {
  18372. "description": "源品种单位ID",
  18373. "type": "integer"
  18374. },
  18375. "srcunitidname": {
  18376. "description": "源品种单位名称",
  18377. "type": "string"
  18378. }
  18379. }
  18380. },
  18381. "ermcp.QryMGChangeLogRsp": {
  18382. "type": "object",
  18383. "properties": {
  18384. "aftervalue": {
  18385. "description": "变更后",
  18386. "type": "number"
  18387. },
  18388. "applyid": {
  18389. "description": "操作人",
  18390. "type": "integer"
  18391. },
  18392. "applyname": {
  18393. "description": "操作人名称",
  18394. "type": "string"
  18395. },
  18396. "applysrc": {
  18397. "description": "操作来源 - 1:管理端 2:终端",
  18398. "type": "integer"
  18399. },
  18400. "beforevalue": {
  18401. "description": "变更前",
  18402. "type": "number"
  18403. },
  18404. "changelogtype": {
  18405. "description": "变更流水类型 - 1:套保比率变更",
  18406. "type": "integer"
  18407. },
  18408. "handlestatus": {
  18409. "description": "处理状态",
  18410. "type": "integer"
  18411. },
  18412. "logdatetime": {
  18413. "description": "流水日期",
  18414. "type": "string"
  18415. },
  18416. "logid": {
  18417. "description": "流水ID",
  18418. "type": "integer"
  18419. },
  18420. "logremark": {
  18421. "description": "流水备注",
  18422. "type": "string"
  18423. },
  18424. "middlegoodsid": {
  18425. "description": "套保品种ID",
  18426. "type": "integer"
  18427. },
  18428. "tradedate": {
  18429. "description": "交易日(yyyyMMdd)",
  18430. "type": "string"
  18431. },
  18432. "updatetime": {
  18433. "description": "更新时间",
  18434. "type": "string"
  18435. }
  18436. }
  18437. },
  18438. "ermcp.QryMiddleGoodsDetailRsp": {
  18439. "type": "object",
  18440. "properties": {
  18441. "cvList": {
  18442. "description": "期货品种折算列表",
  18443. "type": "array",
  18444. "items": {
  18445. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  18446. }
  18447. },
  18448. "mg": {
  18449. "description": "套保品种基本信息",
  18450. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  18451. },
  18452. "wrcList": {
  18453. "description": "现货品种列表(现货商品折算配置)",
  18454. "type": "array",
  18455. "items": {
  18456. "$ref": "#/definitions/models.WRSConverTDetail"
  18457. }
  18458. }
  18459. }
  18460. },
  18461. "ermcp.QryMiddleGoodsRsp": {
  18462. "type": "object",
  18463. "properties": {
  18464. "areauserid": {
  18465. "description": "机构用户ID",
  18466. "type": "integer"
  18467. },
  18468. "createtime": {
  18469. "description": "修改时间",
  18470. "type": "string"
  18471. },
  18472. "enumdicname": {
  18473. "description": "单位名称",
  18474. "type": "string"
  18475. },
  18476. "evaluateratio": {
  18477. "description": "估价系数",
  18478. "type": "number"
  18479. },
  18480. "goodsgroupid": {
  18481. "description": "关联期货品种ID",
  18482. "type": "integer"
  18483. },
  18484. "goodsunitid": {
  18485. "description": "单位ID",
  18486. "type": "integer"
  18487. },
  18488. "isvalid": {
  18489. "description": "状态 0-无效(停用) 1-有效(正常)",
  18490. "type": "integer"
  18491. },
  18492. "middlegoodscode": {
  18493. "description": "套保品种代码",
  18494. "type": "string"
  18495. },
  18496. "middlegoodsid": {
  18497. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  18498. "type": "integer"
  18499. },
  18500. "middlegoodsname": {
  18501. "description": "套保品种名称",
  18502. "type": "string"
  18503. },
  18504. "modifytime": {
  18505. "description": "修改时间",
  18506. "type": "string"
  18507. },
  18508. "needarbitrageratio": {
  18509. "description": "套利比例",
  18510. "type": "number"
  18511. },
  18512. "needhedgeratio": {
  18513. "description": "套保比率",
  18514. "type": "number"
  18515. },
  18516. "qtydecimalplace": {
  18517. "description": "数量小数位",
  18518. "type": "integer"
  18519. },
  18520. "relatedgoodsid": {
  18521. "description": "关联交易商品ID",
  18522. "type": "integer"
  18523. },
  18524. "relatedgoodstype": {
  18525. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  18526. "type": "integer"
  18527. },
  18528. "remark": {
  18529. "description": "备注",
  18530. "type": "string"
  18531. }
  18532. }
  18533. },
  18534. "ermcp.QryOPLogRsp": {
  18535. "type": "object",
  18536. "properties": {
  18537. "aftervalue": {
  18538. "description": "变更后",
  18539. "type": "number"
  18540. },
  18541. "applyid": {
  18542. "description": "操作人ID",
  18543. "type": "string"
  18544. },
  18545. "applyname": {
  18546. "description": "操作人名称",
  18547. "type": "string"
  18548. },
  18549. "beforevalue": {
  18550. "description": "变更前",
  18551. "type": "number"
  18552. },
  18553. "biztype": {
  18554. "description": "业务类型 - 1:套保计划 2:现货合同",
  18555. "type": "integer"
  18556. },
  18557. "contracttype": {
  18558. "description": "现货合同类型 - 1:采购 -1:销售",
  18559. "type": "integer"
  18560. },
  18561. "logvalue": {
  18562. "description": "数值",
  18563. "type": "number"
  18564. },
  18565. "operatelogtype": {
  18566. "description": "操作流水类型",
  18567. "type": "integer"
  18568. },
  18569. "operatelogtypedesc": {
  18570. "description": "操作流水类型名称",
  18571. "type": "string"
  18572. },
  18573. "relatedid": {
  18574. "description": "现货合同ID\\套保计划",
  18575. "type": "string"
  18576. },
  18577. "updatetime": {
  18578. "description": "更新时间",
  18579. "type": "string"
  18580. }
  18581. }
  18582. },
  18583. "ermcp.QryUserInfoRsp": {
  18584. "type": "object",
  18585. "properties": {
  18586. "address": {
  18587. "description": "通讯地址",
  18588. "type": "string"
  18589. },
  18590. "attachment1": {
  18591. "description": "附件1",
  18592. "type": "string"
  18593. },
  18594. "audittime": {
  18595. "description": "审核时间",
  18596. "type": "string"
  18597. },
  18598. "cardbackphotourl": {
  18599. "description": "证件反面图片地址",
  18600. "type": "string"
  18601. },
  18602. "cardfrontphotourl": {
  18603. "description": "证件正面图片地址",
  18604. "type": "string"
  18605. },
  18606. "cardnum": {
  18607. "description": "证件号码",
  18608. "type": "string"
  18609. },
  18610. "cardtype": {
  18611. "description": "证件类型",
  18612. "type": "integer"
  18613. },
  18614. "cardtypename": {
  18615. "description": "证件类型名称",
  18616. "type": "string"
  18617. },
  18618. "cityid": {
  18619. "description": "市",
  18620. "type": "integer"
  18621. },
  18622. "contactname": {
  18623. "description": "联系人",
  18624. "type": "string"
  18625. },
  18626. "countryid": {
  18627. "description": "国家",
  18628. "type": "integer"
  18629. },
  18630. "createtime": {
  18631. "description": "创建时间",
  18632. "type": "string"
  18633. },
  18634. "customername": {
  18635. "description": "企业名称",
  18636. "type": "string"
  18637. },
  18638. "districtid": {
  18639. "description": "区域",
  18640. "type": "integer"
  18641. },
  18642. "email": {
  18643. "description": "邮件",
  18644. "type": "string"
  18645. },
  18646. "legalpersonname": {
  18647. "description": "法人姓名(企业)",
  18648. "type": "string"
  18649. },
  18650. "memberuserid": {
  18651. "description": "所属机构ID",
  18652. "type": "integer"
  18653. },
  18654. "mobile": {
  18655. "description": "手机号码",
  18656. "type": "string"
  18657. },
  18658. "modifytime": {
  18659. "description": "修改时间",
  18660. "type": "string"
  18661. },
  18662. "nickname": {
  18663. "description": "昵称",
  18664. "type": "string"
  18665. },
  18666. "provinceid": {
  18667. "description": "省",
  18668. "type": "integer"
  18669. },
  18670. "remark": {
  18671. "description": "备注",
  18672. "type": "string"
  18673. },
  18674. "status": {
  18675. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  18676. "type": "integer"
  18677. },
  18678. "statusdesc": {
  18679. "description": "账户状态中文描述",
  18680. "type": "string"
  18681. },
  18682. "taxpayernum": {
  18683. "description": "纳税人识别号",
  18684. "type": "string"
  18685. },
  18686. "telphone": {
  18687. "description": "联系电话",
  18688. "type": "string"
  18689. },
  18690. "userid": {
  18691. "description": "用户ID",
  18692. "type": "integer"
  18693. },
  18694. "userinfotype": {
  18695. "description": "客户类型",
  18696. "type": "string"
  18697. }
  18698. }
  18699. },
  18700. "ermcp.QryWarehouseRsp": {
  18701. "type": "object",
  18702. "properties": {
  18703. "address": {
  18704. "description": "详细地址",
  18705. "type": "string"
  18706. },
  18707. "areauserid": {
  18708. "description": "所属机构",
  18709. "type": "integer"
  18710. },
  18711. "autoid": {
  18712. "description": "自增ID(仓库ID)",
  18713. "type": "integer"
  18714. },
  18715. "cityid": {
  18716. "description": "市",
  18717. "type": "integer"
  18718. },
  18719. "contactname": {
  18720. "description": "联系人",
  18721. "type": "string"
  18722. },
  18723. "contactnum": {
  18724. "description": "联系电话",
  18725. "type": "string"
  18726. },
  18727. "countryid": {
  18728. "description": "国家",
  18729. "type": "integer"
  18730. },
  18731. "createtime": {
  18732. "description": "创建时间",
  18733. "type": "string"
  18734. },
  18735. "districtid": {
  18736. "description": "区",
  18737. "type": "integer"
  18738. },
  18739. "hasvideo": {
  18740. "description": "是否有视频 - 0:无 1:有",
  18741. "type": "integer"
  18742. },
  18743. "provinceid": {
  18744. "description": "省",
  18745. "type": "integer"
  18746. },
  18747. "remark": {
  18748. "description": "审核备注",
  18749. "type": "string"
  18750. },
  18751. "videourl": {
  18752. "description": "视频地址",
  18753. "type": "string"
  18754. },
  18755. "warehousecode": {
  18756. "description": "仓库代码",
  18757. "type": "string"
  18758. },
  18759. "warehousename": {
  18760. "description": "仓库名称",
  18761. "type": "string"
  18762. },
  18763. "warehousestatus": {
  18764. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  18765. "type": "integer"
  18766. },
  18767. "warehousetype": {
  18768. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  18769. "type": "integer"
  18770. }
  18771. }
  18772. },
  18773. "ermcp.QueryErmcpTradePositionRsp": {
  18774. "type": "object",
  18775. "properties": {
  18776. "agreeunit": {
  18777. "description": "合约单位",
  18778. "type": "number"
  18779. },
  18780. "buyorsell": {
  18781. "description": "方向 - 0:买 1:卖",
  18782. "type": "integer"
  18783. },
  18784. "curpositionqty": {
  18785. "description": "持仓(总仓数量, 期末头寸)",
  18786. "type": "integer"
  18787. },
  18788. "curtdposition": {
  18789. "description": "今仓数量(期末今日头寸)",
  18790. "type": "integer"
  18791. },
  18792. "curtdpositionenabled": {
  18793. "description": "今仓可用",
  18794. "type": "integer"
  18795. },
  18796. "decimalplace": {
  18797. "description": "报价小数位",
  18798. "type": "integer"
  18799. },
  18800. "enableqty": {
  18801. "description": "可用(总仓可用)",
  18802. "type": "integer"
  18803. },
  18804. "exexchangename": {
  18805. "description": "外部交易所名称",
  18806. "type": "string"
  18807. },
  18808. "exexehangecode": {
  18809. "description": "外部交易所代码",
  18810. "type": "string"
  18811. },
  18812. "exexehangeid": {
  18813. "description": "外部交易所id",
  18814. "type": "integer"
  18815. },
  18816. "goodscode": {
  18817. "description": "商品代码(内部)",
  18818. "type": "string"
  18819. },
  18820. "goodsid": {
  18821. "description": "商品ID(自增ID SEQ_GOODS)",
  18822. "type": "integer"
  18823. },
  18824. "goodsname": {
  18825. "description": "商品名称",
  18826. "type": "string"
  18827. },
  18828. "last": {
  18829. "description": "现价",
  18830. "type": "number"
  18831. },
  18832. "marketid": {
  18833. "description": "所属市场ID",
  18834. "type": "integer"
  18835. },
  18836. "openaverageprice": {
  18837. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  18838. "type": "number"
  18839. },
  18840. "opencost": {
  18841. "description": "开仓成本",
  18842. "type": "number"
  18843. },
  18844. "openpl": {
  18845. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18846. "type": "number"
  18847. },
  18848. "outgoodscode": {
  18849. "description": "商品代码(外部)",
  18850. "type": "string"
  18851. },
  18852. "positionaverageprice": {
  18853. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  18854. "type": "number"
  18855. },
  18856. "positioncost": {
  18857. "description": "持仓成本",
  18858. "type": "number"
  18859. },
  18860. "positionpl": {
  18861. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  18862. "type": "number"
  18863. },
  18864. "positionplrate": {
  18865. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  18866. "type": "number"
  18867. },
  18868. "usedmargin": {
  18869. "description": "占用保证金",
  18870. "type": "number"
  18871. }
  18872. }
  18873. },
  18874. "ermcp.RealtimeExposurePositionRsp": {
  18875. "type": "object",
  18876. "properties": {
  18877. "agreeunit": {
  18878. "description": "合约单位",
  18879. "type": "string"
  18880. },
  18881. "areauserid": {
  18882. "description": "所属机构id",
  18883. "type": "integer"
  18884. },
  18885. "convertratio": {
  18886. "description": "期货品种系数(折算系数)",
  18887. "type": "number"
  18888. },
  18889. "curhedgeqty": {
  18890. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  18891. "type": "number"
  18892. },
  18893. "curqty": {
  18894. "description": "当前持仓",
  18895. "type": "integer"
  18896. },
  18897. "diffhedgeqty": {
  18898. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  18899. "type": "number"
  18900. },
  18901. "diffqty": {
  18902. "description": "持仓变动量=当前持仓-昨日持仓",
  18903. "type": "integer"
  18904. },
  18905. "goodscode": {
  18906. "description": "商品代码",
  18907. "type": "string"
  18908. },
  18909. "goodsid": {
  18910. "description": "商品id",
  18911. "type": "integer"
  18912. },
  18913. "goodsname": {
  18914. "description": "商品名称",
  18915. "type": "string"
  18916. },
  18917. "hedgeaccountcode": {
  18918. "description": "对冲账号(只有外部账号才有值)",
  18919. "type": "string"
  18920. },
  18921. "middlegoodscode": {
  18922. "description": "套保商品代码",
  18923. "type": "string"
  18924. },
  18925. "middlegoodsid": {
  18926. "description": "套保商品id",
  18927. "type": "integer"
  18928. },
  18929. "middlegoodsname": {
  18930. "description": "套保商品名称",
  18931. "type": "string"
  18932. },
  18933. "ydqty": {
  18934. "description": "昨日持仓",
  18935. "type": "integer"
  18936. }
  18937. }
  18938. },
  18939. "ermcp.RealtimeExposureRsp": {
  18940. "type": "object",
  18941. "properties": {
  18942. "AreaUserID": {
  18943. "description": "所属机构",
  18944. "type": "integer"
  18945. },
  18946. "BuyFutureQty": {
  18947. "description": "买入期货数量",
  18948. "type": "number"
  18949. },
  18950. "BuyPlanQty": {
  18951. "description": "采购计划数量",
  18952. "type": "number"
  18953. },
  18954. "BuyPricedQty": {
  18955. "description": "采购合同已定价数量",
  18956. "type": "number"
  18957. },
  18958. "MiddleGoodsCode": {
  18959. "description": "套保品种代码",
  18960. "type": "string"
  18961. },
  18962. "MiddleGoodsHedgeRatio": {
  18963. "description": "套保比例",
  18964. "type": "number"
  18965. },
  18966. "MiddleGoodsID": {
  18967. "description": "套保品种",
  18968. "type": "integer"
  18969. },
  18970. "MiddleGoodsName": {
  18971. "description": "套保品种名称",
  18972. "type": "string"
  18973. },
  18974. "NeedHedgeExposoure": {
  18975. "description": "应套保敞口(套保敞口)",
  18976. "type": "number"
  18977. },
  18978. "NeedHedgeRatio": {
  18979. "description": "应套保敞口比例",
  18980. "type": "number"
  18981. },
  18982. "OriBuyFutureQty": {
  18983. "description": "期初买入期货数量",
  18984. "type": "number"
  18985. },
  18986. "OriBuyPlanQty": {
  18987. "description": "期初采购计划数量",
  18988. "type": "number"
  18989. },
  18990. "OriBuyPricedQty": {
  18991. "description": "期初采购合同已定价数量",
  18992. "type": "number"
  18993. },
  18994. "OriSellFutureQty": {
  18995. "description": "期初卖出期货数量",
  18996. "type": "number"
  18997. },
  18998. "OriSellPlanQty": {
  18999. "description": "期初销售计划数量",
  19000. "type": "number"
  19001. },
  19002. "OriSellPricedQty": {
  19003. "description": "期初销售合同已定价数量",
  19004. "type": "number"
  19005. },
  19006. "OriTotalSpotQty": {
  19007. "description": "期初现货总量",
  19008. "type": "number"
  19009. },
  19010. "SellFutureQty": {
  19011. "description": "卖出期货数量",
  19012. "type": "number"
  19013. },
  19014. "SellPlanQty": {
  19015. "description": "销售计划数量",
  19016. "type": "number"
  19017. },
  19018. "SellPricedQty": {
  19019. "description": "销售合同已定价数量",
  19020. "type": "number"
  19021. },
  19022. "TotalExposure": {
  19023. "description": "总敞口 平安:净敞口",
  19024. "type": "number"
  19025. },
  19026. "TotalFutureQty": {
  19027. "description": "期货总量 平安:保值净持仓量",
  19028. "type": "number"
  19029. },
  19030. "TotalHedgeRatio": {
  19031. "description": "敞口比例",
  19032. "type": "number"
  19033. },
  19034. "TotalNeedHedgeQty": {
  19035. "description": "应套保总量(现货应套保总量)",
  19036. "type": "number"
  19037. },
  19038. "TotalSpotQty": {
  19039. "description": "现货总量 平安:采销定价净值",
  19040. "type": "number"
  19041. },
  19042. "arbitrageqty": {
  19043. "description": "套利量",
  19044. "type": "number"
  19045. },
  19046. "diffArbitrageQty": {
  19047. "description": "期初均价",
  19048. "type": "number"
  19049. },
  19050. "diffExposoureQty": {
  19051. "description": "期初均价",
  19052. "type": "number"
  19053. },
  19054. "diffFutuQty": {
  19055. "description": "期初均价",
  19056. "type": "number"
  19057. },
  19058. "diffHedgeQty": {
  19059. "description": "期初均价",
  19060. "type": "number"
  19061. },
  19062. "diffQty": {
  19063. "description": "期初均价",
  19064. "type": "number"
  19065. },
  19066. "diffSpotHedgeQty": {
  19067. "description": "期初均价",
  19068. "type": "number"
  19069. },
  19070. "diffSpotQty": {
  19071. "description": "期初均价",
  19072. "type": "number"
  19073. },
  19074. "enumdicname": {
  19075. "description": "单位名称",
  19076. "type": "string"
  19077. },
  19078. "hedgeqty": {
  19079. "description": "套保量",
  19080. "type": "number"
  19081. },
  19082. "needarbitrageqty": {
  19083. "description": "应套利量",
  19084. "type": "number"
  19085. },
  19086. "needarbitrageratio": {
  19087. "description": "套利比例",
  19088. "type": "number"
  19089. },
  19090. "needhedgeqty": {
  19091. "description": "应套保量",
  19092. "type": "number"
  19093. },
  19094. "oriarbitrageqty": {
  19095. "description": "期初套利量",
  19096. "type": "number"
  19097. },
  19098. "orihedgeqty": {
  19099. "description": "期初套保量",
  19100. "type": "number"
  19101. },
  19102. "orineedhedgeexposoure": {
  19103. "description": "期初套保敞口",
  19104. "type": "number"
  19105. },
  19106. "oritotalexposure": {
  19107. "description": "期初总敞口",
  19108. "type": "number"
  19109. },
  19110. "oritotalfutureqty": {
  19111. "description": "期初期货总量",
  19112. "type": "number"
  19113. },
  19114. "oritotalneedhedgeqty": {
  19115. "description": "期初现货应套保量",
  19116. "type": "number"
  19117. }
  19118. }
  19119. },
  19120. "erms2.QueryArbitrageStrategyRsp": {
  19121. "type": "object",
  19122. "required": [
  19123. "asapplyid"
  19124. ],
  19125. "properties": {
  19126. "applybasis": {
  19127. "description": "申请基差",
  19128. "type": "number"
  19129. },
  19130. "asapplyid": {
  19131. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19132. "type": "string"
  19133. },
  19134. "asname": {
  19135. "description": "策略名称",
  19136. "type": "string"
  19137. },
  19138. "asno": {
  19139. "description": "策略编号",
  19140. "type": "string"
  19141. },
  19142. "basischangepl": {
  19143. "description": "基差变动损益[结算更新]",
  19144. "type": "number"
  19145. },
  19146. "biztype": {
  19147. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19148. "type": "integer"
  19149. },
  19150. "closetradedate": {
  19151. "description": "完结交易日(yyyyMMdd)",
  19152. "type": "string"
  19153. },
  19154. "curbasis": {
  19155. "description": "当前基差[结算更新]",
  19156. "type": "number"
  19157. },
  19158. "deliverygoodsid": {
  19159. "description": "现货品种ID",
  19160. "type": "integer"
  19161. },
  19162. "futureavgprice": {
  19163. "description": "期货建仓均价",
  19164. "type": "number"
  19165. },
  19166. "futurecloseamount": {
  19167. "description": "期货平仓金额",
  19168. "type": "number"
  19169. },
  19170. "futurecloseqty": {
  19171. "description": "期货平仓数量",
  19172. "type": "number"
  19173. },
  19174. "futureopenamount": {
  19175. "description": "期货开仓金额",
  19176. "type": "number"
  19177. },
  19178. "futureopenqty": {
  19179. "description": "期货开仓数量",
  19180. "type": "number"
  19181. },
  19182. "futurepl": {
  19183. "description": "期货总盈亏[结算更新]",
  19184. "type": "number"
  19185. },
  19186. "futureqty": {
  19187. "description": "期货持仓数量",
  19188. "type": "number"
  19189. },
  19190. "futurequote": {
  19191. "description": "期货额度",
  19192. "type": "number"
  19193. },
  19194. "goodsgroupid": {
  19195. "description": "期货品种ID",
  19196. "type": "integer"
  19197. },
  19198. "marketid": {
  19199. "description": "市场ID",
  19200. "type": "integer"
  19201. },
  19202. "netexposure": {
  19203. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  19204. "type": "number"
  19205. },
  19206. "netexposurepl": {
  19207. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  19208. "type": "number"
  19209. },
  19210. "netexposurerate": {
  19211. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  19212. "type": "number"
  19213. },
  19214. "openbasis": {
  19215. "description": "建仓基差",
  19216. "type": "number"
  19217. },
  19218. "pricedspotqty": {
  19219. "description": "已定价现货数量",
  19220. "type": "number"
  19221. },
  19222. "pricedspotqtynotax": {
  19223. "description": "已定价现货不含税数量",
  19224. "type": "number"
  19225. },
  19226. "remark": {
  19227. "description": "备注",
  19228. "type": "string"
  19229. },
  19230. "spotavgprice": {
  19231. "description": "现货均价",
  19232. "type": "number"
  19233. },
  19234. "spotbuyamount": {
  19235. "description": "现货采购金额",
  19236. "type": "number"
  19237. },
  19238. "spotbuyqty": {
  19239. "description": "现货采购数量",
  19240. "type": "number"
  19241. },
  19242. "spotpl": {
  19243. "description": "现货总盈亏[结算更新]",
  19244. "type": "number"
  19245. },
  19246. "spotquota": {
  19247. "description": "现货额度",
  19248. "type": "number"
  19249. },
  19250. "spotsellamount": {
  19251. "description": "现货销售金额",
  19252. "type": "number"
  19253. },
  19254. "spotsellqty": {
  19255. "description": "现货销售数量",
  19256. "type": "number"
  19257. },
  19258. "spotusedquota": {
  19259. "description": "现货占用资金",
  19260. "type": "number"
  19261. },
  19262. "strategystatus": {
  19263. "description": "策略状态 - 0:未结束 1:已结束",
  19264. "type": "integer"
  19265. },
  19266. "totalpl": {
  19267. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  19268. "type": "number"
  19269. },
  19270. "tradedate": {
  19271. "description": "交易日(yyyyMMdd)",
  19272. "type": "string"
  19273. },
  19274. "updatetime": {
  19275. "description": "更新时间",
  19276. "type": "string"
  19277. },
  19278. "usedquota": {
  19279. "description": "已占用资金",
  19280. "type": "number"
  19281. },
  19282. "userid": {
  19283. "description": "所属机构",
  19284. "type": "integer"
  19285. }
  19286. }
  19287. },
  19288. "erms2.QueryInnerTradeDetailRsp": {
  19289. "type": "object",
  19290. "required": [
  19291. "asapplyid",
  19292. "buyorsell",
  19293. "goodscode",
  19294. "goodsgroupid",
  19295. "goodsgroupname",
  19296. "goodsname",
  19297. "tradeid"
  19298. ],
  19299. "properties": {
  19300. "accountid": {
  19301. "description": "账号ID",
  19302. "type": "integer"
  19303. },
  19304. "agreeunit": {
  19305. "description": "合约单位",
  19306. "type": "number"
  19307. },
  19308. "asapplyid": {
  19309. "description": "策略申请ID",
  19310. "type": "integer"
  19311. },
  19312. "asname": {
  19313. "description": "策略名称",
  19314. "type": "string"
  19315. },
  19316. "asno": {
  19317. "description": "策略编号",
  19318. "type": "string"
  19319. },
  19320. "buyorsell": {
  19321. "description": "方向 - 0:买 1:卖",
  19322. "type": "integer"
  19323. },
  19324. "channelbuildtype": {
  19325. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  19326. "type": "integer"
  19327. },
  19328. "closetype": {
  19329. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  19330. "type": "integer"
  19331. },
  19332. "decimalplace": {
  19333. "description": "报价小数位",
  19334. "type": "integer"
  19335. },
  19336. "detailtype": {
  19337. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  19338. "type": "integer"
  19339. },
  19340. "exexchangecode": {
  19341. "description": "外部交易所代码",
  19342. "type": "string"
  19343. },
  19344. "exexchangename": {
  19345. "description": "外部交易所名称",
  19346. "type": "string"
  19347. },
  19348. "goodscode": {
  19349. "description": "商品代码(合约)",
  19350. "type": "string"
  19351. },
  19352. "goodsgroupid": {
  19353. "description": "商品组ID(品种ID)",
  19354. "type": "integer"
  19355. },
  19356. "goodsgroupname": {
  19357. "description": "商品组名称(品种)",
  19358. "type": "string"
  19359. },
  19360. "goodsid": {
  19361. "description": "商品ID",
  19362. "type": "integer"
  19363. },
  19364. "goodsname": {
  19365. "description": "商品名称(合约)",
  19366. "type": "string"
  19367. },
  19368. "goodunit": {
  19369. "description": "报价单位",
  19370. "type": "string"
  19371. },
  19372. "marketid": {
  19373. "description": "市场ID",
  19374. "type": "integer"
  19375. },
  19376. "orderid": {
  19377. "description": "委托单号",
  19378. "type": "string"
  19379. },
  19380. "outgoodscode": {
  19381. "description": "商品代码(外部)",
  19382. "type": "string"
  19383. },
  19384. "relatedouttradeid": {
  19385. "description": "关联外部成交单ID",
  19386. "type": "string"
  19387. },
  19388. "remark": {
  19389. "description": "备注",
  19390. "type": "string"
  19391. },
  19392. "spotcontractid": {
  19393. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  19394. "type": "integer"
  19395. },
  19396. "spotcontractno": {
  19397. "description": "现货合同编号",
  19398. "type": "string"
  19399. },
  19400. "tradeid": {
  19401. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  19402. "type": "string"
  19403. },
  19404. "tradeprice": {
  19405. "description": "成交价格",
  19406. "type": "number"
  19407. },
  19408. "tradeqty": {
  19409. "description": "成交数量",
  19410. "type": "integer"
  19411. },
  19412. "tradetime": {
  19413. "description": "成交时间",
  19414. "type": "string"
  19415. },
  19416. "updatetime": {
  19417. "description": "更新时间",
  19418. "type": "string"
  19419. }
  19420. }
  19421. },
  19422. "erms2.QuerySpotContractRsp": {
  19423. "type": "object",
  19424. "required": [
  19425. "spotcontractid"
  19426. ],
  19427. "properties": {
  19428. "accountid": {
  19429. "description": "资金账户ID",
  19430. "type": "integer"
  19431. },
  19432. "areauserid": {
  19433. "description": "所属机构",
  19434. "type": "integer"
  19435. },
  19436. "closedate": {
  19437. "description": "终止日期",
  19438. "type": "string"
  19439. },
  19440. "closeremark": {
  19441. "description": "结束备注",
  19442. "type": "string"
  19443. },
  19444. "closetradedate": {
  19445. "description": "完结交易日(yyyyMMdd)",
  19446. "type": "string"
  19447. },
  19448. "closetype": {
  19449. "description": "终止类型 - 1:违约 2:提前终止",
  19450. "type": "integer"
  19451. },
  19452. "contractamount": {
  19453. "description": "合同金额",
  19454. "type": "number"
  19455. },
  19456. "contractattachment": {
  19457. "description": "合同附件",
  19458. "type": "string"
  19459. },
  19460. "contractno": {
  19461. "description": "现货合同编号",
  19462. "type": "string"
  19463. },
  19464. "contractqty": {
  19465. "description": "合同数量(数值) (用于计算)",
  19466. "type": "number"
  19467. },
  19468. "contractqtychar": {
  19469. "description": "合同数量\\已订价数量 (用于显示)",
  19470. "type": "string"
  19471. },
  19472. "contractstatus": {
  19473. "description": "合同状态 - 0:未结束 1:已结束",
  19474. "type": "integer"
  19475. },
  19476. "contracttype": {
  19477. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  19478. "type": "integer"
  19479. },
  19480. "customeraccountid": {
  19481. "description": "客户资金账户ID",
  19482. "type": "integer"
  19483. },
  19484. "customeruserid": {
  19485. "description": "客户ID",
  19486. "type": "integer"
  19487. },
  19488. "deliverygoodsdesc": {
  19489. "description": "品种说明",
  19490. "type": "string"
  19491. },
  19492. "deliverygoodsid": {
  19493. "description": "现货品种ID",
  19494. "type": "integer"
  19495. },
  19496. "handlestatus": {
  19497. "description": "处理状态",
  19498. "type": "integer"
  19499. },
  19500. "invoiceatt": {
  19501. "description": "发票附件",
  19502. "type": "string"
  19503. },
  19504. "invoicedatetime": {
  19505. "description": "开收票更新时间",
  19506. "type": "string"
  19507. },
  19508. "invoiceopentime": {
  19509. "description": "开票时间",
  19510. "type": "string"
  19511. },
  19512. "invoiceremark": {
  19513. "description": "发票备注",
  19514. "type": "string"
  19515. },
  19516. "invoicestatus": {
  19517. "description": "开收票状态 - 0:未开票 1:已开票",
  19518. "type": "integer"
  19519. },
  19520. "lastdate": {
  19521. "description": "交货时间",
  19522. "type": "string"
  19523. },
  19524. "marketid": {
  19525. "description": "市场ID",
  19526. "type": "integer"
  19527. },
  19528. "paydatetime": {
  19529. "description": "收付款更新时间",
  19530. "type": "string"
  19531. },
  19532. "payremark": {
  19533. "description": "收付款备注",
  19534. "type": "string"
  19535. },
  19536. "paystatus": {
  19537. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  19538. "type": "integer"
  19539. },
  19540. "positionqty": {
  19541. "description": "头寸数量 - 合同数量去小数部分",
  19542. "type": "integer"
  19543. },
  19544. "producttype": {
  19545. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  19546. "type": "integer"
  19547. },
  19548. "relatedqty": {
  19549. "description": "已关联数量",
  19550. "type": "number"
  19551. },
  19552. "relatedstatus": {
  19553. "description": "关联完结状态 - 0:未结束 1:已结束",
  19554. "type": "integer"
  19555. },
  19556. "remark": {
  19557. "description": "备注",
  19558. "type": "string"
  19559. },
  19560. "signdate": {
  19561. "description": "签订日期",
  19562. "type": "string"
  19563. },
  19564. "spotcontractid": {
  19565. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  19566. "type": "string"
  19567. },
  19568. "spotdatetime": {
  19569. "description": "收发货更新时间",
  19570. "type": "string"
  19571. },
  19572. "spotprice": {
  19573. "description": "价格",
  19574. "type": "number"
  19575. },
  19576. "spotremark": {
  19577. "description": "收发货备注",
  19578. "type": "string"
  19579. },
  19580. "spotstatus": {
  19581. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  19582. "type": "integer"
  19583. },
  19584. "tradedate": {
  19585. "description": "交易日(yyyyMMdd)",
  19586. "type": "string"
  19587. },
  19588. "userid": {
  19589. "description": "业务员用户ID",
  19590. "type": "integer"
  19591. },
  19592. "warehouseid": {
  19593. "description": "仓库ID",
  19594. "type": "integer"
  19595. },
  19596. "wrfactortypeid": {
  19597. "description": "仓单要素类型ID",
  19598. "type": "integer"
  19599. },
  19600. "wrstandardid": {
  19601. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  19602. "type": "integer"
  19603. }
  19604. }
  19605. },
  19606. "erms3.AddErms2ASApplyReq": {
  19607. "type": "object",
  19608. "required": [
  19609. "asapplyid"
  19610. ],
  19611. "properties": {
  19612. "applybasis": {
  19613. "description": "申请基差",
  19614. "type": "number"
  19615. },
  19616. "applystatus": {
  19617. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19618. "type": "integer"
  19619. },
  19620. "asapplyid": {
  19621. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  19622. "type": "integer"
  19623. },
  19624. "asname": {
  19625. "description": "策略名称",
  19626. "type": "string"
  19627. },
  19628. "asno": {
  19629. "description": "策略编号",
  19630. "type": "string"
  19631. },
  19632. "auditid": {
  19633. "description": "审核人",
  19634. "type": "integer"
  19635. },
  19636. "auditremark": {
  19637. "description": "审核备注",
  19638. "type": "string"
  19639. },
  19640. "audittime": {
  19641. "description": "审核时间",
  19642. "type": "string"
  19643. },
  19644. "biztype": {
  19645. "description": "业务类型 - 1:正向套利 2:反向套利",
  19646. "type": "integer"
  19647. },
  19648. "createtime": {
  19649. "description": "创建时间",
  19650. "type": "string"
  19651. },
  19652. "creatorid": {
  19653. "description": "创建人",
  19654. "type": "integer"
  19655. },
  19656. "deliverygoodsid": {
  19657. "description": "现货品种ID",
  19658. "type": "integer"
  19659. },
  19660. "futurequote": {
  19661. "description": "期货额度",
  19662. "type": "number"
  19663. },
  19664. "goodsgroupid": {
  19665. "description": "期货品种ID",
  19666. "type": "integer"
  19667. },
  19668. "marketid": {
  19669. "description": "市场ID",
  19670. "type": "integer"
  19671. },
  19672. "remark": {
  19673. "description": "备注",
  19674. "type": "string"
  19675. },
  19676. "spotquota": {
  19677. "description": "现货额度",
  19678. "type": "number"
  19679. },
  19680. "tradedate": {
  19681. "description": "交易日(yyyyMMdd)",
  19682. "type": "string"
  19683. },
  19684. "userid": {
  19685. "description": "所属机构",
  19686. "type": "integer"
  19687. }
  19688. }
  19689. },
  19690. "erms3.AddErms2SpotTradeApplyReq": {
  19691. "type": "object",
  19692. "required": [
  19693. "spottradeid"
  19694. ],
  19695. "properties": {
  19696. "applyjsondetail": {
  19697. "description": "申请明细(JSON)",
  19698. "type": "string"
  19699. },
  19700. "applystatus": {
  19701. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  19702. "type": "integer"
  19703. },
  19704. "areauserid": {
  19705. "description": "所属机构",
  19706. "type": "integer"
  19707. },
  19708. "auditid": {
  19709. "description": "审核人",
  19710. "type": "integer"
  19711. },
  19712. "auditremark": {
  19713. "description": "审核备注",
  19714. "type": "string"
  19715. },
  19716. "audittime": {
  19717. "description": "审核时间",
  19718. "type": "string"
  19719. },
  19720. "createtime": {
  19721. "description": "创建时间",
  19722. "type": "string"
  19723. },
  19724. "creatorid": {
  19725. "description": "创建人",
  19726. "type": "integer"
  19727. },
  19728. "deliverygoodsid": {
  19729. "description": "现货品种ID",
  19730. "type": "integer"
  19731. },
  19732. "futureaccountid": {
  19733. "description": "期货资金账户",
  19734. "type": "integer"
  19735. },
  19736. "goodsgroupid": {
  19737. "description": "期货品种",
  19738. "type": "integer"
  19739. },
  19740. "marketid": {
  19741. "description": "市场ID",
  19742. "type": "integer"
  19743. },
  19744. "remark": {
  19745. "description": "备注",
  19746. "type": "string"
  19747. },
  19748. "spotaccountid": {
  19749. "description": "现货资金账户",
  19750. "type": "integer"
  19751. },
  19752. "spottradeid": {
  19753. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  19754. "type": "integer"
  19755. },
  19756. "spottradename": {
  19757. "description": "业务名称",
  19758. "type": "string"
  19759. },
  19760. "spottradeno": {
  19761. "description": "业务编号",
  19762. "type": "string"
  19763. },
  19764. "tradedate": {
  19765. "description": "交易日(yyyyMMdd)",
  19766. "type": "string"
  19767. },
  19768. "wrstandardid": {
  19769. "description": "仓单标准ID",
  19770. "type": "integer"
  19771. }
  19772. }
  19773. },
  19774. "erms3.AddSpotContractApplyReq": {
  19775. "type": "object",
  19776. "required": [
  19777. "accountid",
  19778. "areauserid",
  19779. "contractno",
  19780. "contracttype",
  19781. "customeraccountid",
  19782. "customeruserid",
  19783. "details",
  19784. "orimargin",
  19785. "signdate"
  19786. ],
  19787. "properties": {
  19788. "accountid": {
  19789. "description": "资金账户ID",
  19790. "type": "integer"
  19791. },
  19792. "areauserid": {
  19793. "description": "所属机构",
  19794. "type": "integer"
  19795. },
  19796. "contractattachment": {
  19797. "description": "合同附件",
  19798. "type": "string"
  19799. },
  19800. "contractno": {
  19801. "description": "现货合同编号",
  19802. "type": "string"
  19803. },
  19804. "contracttype": {
  19805. "description": "现货合同类型 - 1:采购 -1:销售",
  19806. "type": "integer"
  19807. },
  19808. "creatorid": {
  19809. "description": "申请人",
  19810. "type": "integer"
  19811. },
  19812. "customeraccountid": {
  19813. "description": "客户资金账户ID",
  19814. "type": "integer"
  19815. },
  19816. "customeruserid": {
  19817. "description": "客户ID",
  19818. "type": "integer"
  19819. },
  19820. "details": {
  19821. "description": "明细",
  19822. "type": "array",
  19823. "items": {
  19824. "$ref": "#/definitions/erms3.SoptContractDetail"
  19825. }
  19826. },
  19827. "orimargin": {
  19828. "description": "初始保证金",
  19829. "type": "number"
  19830. },
  19831. "remark": {
  19832. "description": "备注",
  19833. "type": "string"
  19834. },
  19835. "signdate": {
  19836. "description": "签订日期",
  19837. "type": "string"
  19838. }
  19839. }
  19840. },
  19841. "erms3.AddSpotContractApplyRsp": {
  19842. "type": "object",
  19843. "required": [
  19844. "contractno"
  19845. ],
  19846. "properties": {
  19847. "contractno": {
  19848. "description": "现货合同编号",
  19849. "type": "string"
  19850. },
  19851. "spotcontractid": {
  19852. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  19853. "type": "integer"
  19854. }
  19855. }
  19856. },
  19857. "erms3.AddUserInfoApplyReq": {
  19858. "type": "object",
  19859. "required": [
  19860. "userid"
  19861. ],
  19862. "properties": {
  19863. "accountid": {
  19864. "description": "交易系统帐号Id (加密存储)",
  19865. "type": "integer"
  19866. },
  19867. "areacode": {
  19868. "description": "机构代码",
  19869. "type": "string"
  19870. },
  19871. "areaid": {
  19872. "description": "机构Id",
  19873. "type": "integer"
  19874. },
  19875. "attachment1": {
  19876. "description": "附件1",
  19877. "type": "string"
  19878. },
  19879. "attachment2": {
  19880. "description": "附件2",
  19881. "type": "string"
  19882. },
  19883. "attachment3": {
  19884. "description": "附件3",
  19885. "type": "string"
  19886. },
  19887. "attachment4": {
  19888. "description": "附件4",
  19889. "type": "string"
  19890. },
  19891. "attachment5": {
  19892. "description": "附件5",
  19893. "type": "string"
  19894. },
  19895. "auditedby": {
  19896. "description": "审核人",
  19897. "type": "string"
  19898. },
  19899. "auditime": {
  19900. "description": "审核时间",
  19901. "type": "string"
  19902. },
  19903. "auditsrc": {
  19904. "description": "审核来源 - 1:管理端 2:终端",
  19905. "type": "integer"
  19906. },
  19907. "bankaccount": {
  19908. "description": "银行帐号 (加密存储)",
  19909. "type": "string"
  19910. },
  19911. "bankaccountname": {
  19912. "description": "收款人名称",
  19913. "type": "string"
  19914. },
  19915. "bankcardbackphotourl": {
  19916. "description": "银行卡背面照地址",
  19917. "type": "string"
  19918. },
  19919. "bankcardfrontphotourl": {
  19920. "description": "银行卡正面照地址",
  19921. "type": "string"
  19922. },
  19923. "bankid": {
  19924. "description": "银行编码",
  19925. "type": "string"
  19926. },
  19927. "bankname": {
  19928. "description": "银行名称",
  19929. "type": "string"
  19930. },
  19931. "bankpictureurl": {
  19932. "description": "银行卡正面地址",
  19933. "type": "string"
  19934. },
  19935. "biznature": {
  19936. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  19937. "type": "integer"
  19938. },
  19939. "bizscope": {
  19940. "description": "企业经营范围(企业)",
  19941. "type": "string"
  19942. },
  19943. "biztype": {
  19944. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  19945. "type": "integer"
  19946. },
  19947. "brokerid": {
  19948. "description": "经纪人ID(加密存储)",
  19949. "type": "string"
  19950. },
  19951. "cardaddress": {
  19952. "description": "证件地址 (加密存储)",
  19953. "type": "string"
  19954. },
  19955. "cardbackphotourl": {
  19956. "description": "背面证件照地址",
  19957. "type": "string"
  19958. },
  19959. "cardfrontphotourl": {
  19960. "description": "正面证件照地址",
  19961. "type": "string"
  19962. },
  19963. "cardnum": {
  19964. "description": "证件号码 (加密存储)",
  19965. "type": "string"
  19966. },
  19967. "cardtype": {
  19968. "description": "证件类型",
  19969. "type": "integer"
  19970. },
  19971. "cityid": {
  19972. "description": "市",
  19973. "type": "integer"
  19974. },
  19975. "company": {
  19976. "description": "公司(个人)",
  19977. "type": "string"
  19978. },
  19979. "contactcardbackphotourl": {
  19980. "description": "联系人证件背面图片地址",
  19981. "type": "string"
  19982. },
  19983. "contactcardfrontphotourl": {
  19984. "description": "联系人证件正面图片地址",
  19985. "type": "string"
  19986. },
  19987. "contactname": {
  19988. "description": "联系人",
  19989. "type": "string"
  19990. },
  19991. "countryid": {
  19992. "description": "国家",
  19993. "type": "integer"
  19994. },
  19995. "createtime": {
  19996. "description": "开户申请时间",
  19997. "type": "string"
  19998. },
  19999. "cusbankid": {
  20000. "description": "签约类型",
  20001. "type": "string"
  20002. },
  20003. "cusbankname": {
  20004. "description": "签约类型名称",
  20005. "type": "string"
  20006. },
  20007. "customername": {
  20008. "description": "客户名称(企业名称)",
  20009. "type": "string"
  20010. },
  20011. "districtid": {
  20012. "description": "地区",
  20013. "type": "integer"
  20014. },
  20015. "email": {
  20016. "description": "Email地址(加密存储)",
  20017. "type": "string"
  20018. },
  20019. "halfbodyphotourl": {
  20020. "description": "半身照地址",
  20021. "type": "string"
  20022. },
  20023. "headurl": {
  20024. "description": "头像地址",
  20025. "type": "string"
  20026. },
  20027. "ipaddress": {
  20028. "description": "IP地址",
  20029. "type": "string"
  20030. },
  20031. "isvalidate": {
  20032. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20033. "type": "string"
  20034. },
  20035. "legalcardbackphotourl": {
  20036. "description": "法人身份证背面照地址",
  20037. "type": "string"
  20038. },
  20039. "legalcardfrontphotourl": {
  20040. "description": "法人身份证正面照地址",
  20041. "type": "string"
  20042. },
  20043. "legalpersonname": {
  20044. "description": "法人姓名(企业)",
  20045. "type": "string"
  20046. },
  20047. "logincode": {
  20048. "description": "登录帐号 (加密存储)",
  20049. "type": "string"
  20050. },
  20051. "memberareaid": {
  20052. "description": "所属会员ID",
  20053. "type": "integer"
  20054. },
  20055. "mobile2": {
  20056. "description": "手机号码[明文-尚志]",
  20057. "type": "string"
  20058. },
  20059. "mobilephone": {
  20060. "description": "手机号码 (加密存储)",
  20061. "type": "string"
  20062. },
  20063. "modifiedby": {
  20064. "description": "修改人帐号",
  20065. "type": "integer"
  20066. },
  20067. "modifiedtime": {
  20068. "description": "修改时间",
  20069. "type": "string"
  20070. },
  20071. "nickname": {
  20072. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20073. "type": "string"
  20074. },
  20075. "openmode": {
  20076. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20077. "type": "integer"
  20078. },
  20079. "otherurl": {
  20080. "description": "其它图片地址[使用分号分隔]",
  20081. "type": "string"
  20082. },
  20083. "postalcode": {
  20084. "description": "邮政编码",
  20085. "type": "string"
  20086. },
  20087. "provinceid": {
  20088. "description": "省",
  20089. "type": "integer"
  20090. },
  20091. "proxystatementurl": {
  20092. "description": "授权委托书",
  20093. "type": "string"
  20094. },
  20095. "qq": {
  20096. "description": "QQ(加密存储",
  20097. "type": "string"
  20098. },
  20099. "referral": {
  20100. "description": "推荐人编码",
  20101. "type": "string"
  20102. },
  20103. "remark": {
  20104. "description": "备注",
  20105. "type": "string"
  20106. },
  20107. "removebeforestatus": {
  20108. "description": "REMOVEBEFORESTATUS",
  20109. "type": "integer"
  20110. },
  20111. "sex": {
  20112. "description": "性别 - 0:女 1:男",
  20113. "type": "integer"
  20114. },
  20115. "signedstatus": {
  20116. "description": "账户一号签签约状态",
  20117. "type": "integer"
  20118. },
  20119. "signpdfurl": {
  20120. "description": "签约pdf文件",
  20121. "type": "string"
  20122. },
  20123. "subbranch": {
  20124. "description": "开户支行",
  20125. "type": "string"
  20126. },
  20127. "taxpayernum": {
  20128. "description": "纳税人识别号",
  20129. "type": "string"
  20130. },
  20131. "telphone": {
  20132. "description": "联系电话(加密存储)",
  20133. "type": "string"
  20134. },
  20135. "userid": {
  20136. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20137. "type": "integer"
  20138. },
  20139. "userinfotype": {
  20140. "description": "用户信息类型 - 1:个人 2:企业",
  20141. "type": "integer"
  20142. },
  20143. "username": {
  20144. "description": "用户姓名",
  20145. "type": "string"
  20146. },
  20147. "userstate": {
  20148. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20149. "type": "integer"
  20150. },
  20151. "usertype": {
  20152. "description": "用户类型 - 1:投资者 2:机构",
  20153. "type": "integer"
  20154. },
  20155. "videourl": {
  20156. "description": "视频地址",
  20157. "type": "string"
  20158. },
  20159. "wechat": {
  20160. "description": "微信号 (加密存储)",
  20161. "type": "string"
  20162. }
  20163. }
  20164. },
  20165. "erms3.CustomerInfo": {
  20166. "type": "object",
  20167. "required": [
  20168. "userid"
  20169. ],
  20170. "properties": {
  20171. "accountids": {
  20172. "description": "资金账户ID列表",
  20173. "type": "array",
  20174. "items": {
  20175. "type": "integer"
  20176. }
  20177. },
  20178. "customername": {
  20179. "description": "名称(企业名称)",
  20180. "type": "string"
  20181. },
  20182. "mobile": {
  20183. "description": "手机号码",
  20184. "type": "string"
  20185. },
  20186. "userid": {
  20187. "description": "用户ID",
  20188. "type": "integer"
  20189. }
  20190. }
  20191. },
  20192. "erms3.ModifyUserInfoApplyReq": {
  20193. "type": "object",
  20194. "required": [
  20195. "userid"
  20196. ],
  20197. "properties": {
  20198. "accountid": {
  20199. "description": "交易系统帐号Id (加密存储)",
  20200. "type": "integer"
  20201. },
  20202. "areacode": {
  20203. "description": "机构代码",
  20204. "type": "string"
  20205. },
  20206. "areaid": {
  20207. "description": "机构Id",
  20208. "type": "integer"
  20209. },
  20210. "attachment1": {
  20211. "description": "附件1",
  20212. "type": "string"
  20213. },
  20214. "attachment2": {
  20215. "description": "附件2",
  20216. "type": "string"
  20217. },
  20218. "attachment3": {
  20219. "description": "附件3",
  20220. "type": "string"
  20221. },
  20222. "attachment4": {
  20223. "description": "附件4",
  20224. "type": "string"
  20225. },
  20226. "attachment5": {
  20227. "description": "附件5",
  20228. "type": "string"
  20229. },
  20230. "auditedby": {
  20231. "description": "审核人",
  20232. "type": "string"
  20233. },
  20234. "auditime": {
  20235. "description": "审核时间",
  20236. "type": "string"
  20237. },
  20238. "auditsrc": {
  20239. "description": "审核来源 - 1:管理端 2:终端",
  20240. "type": "integer"
  20241. },
  20242. "bankaccount": {
  20243. "description": "银行帐号 (加密存储)",
  20244. "type": "string"
  20245. },
  20246. "bankaccountname": {
  20247. "description": "收款人名称",
  20248. "type": "string"
  20249. },
  20250. "bankcardbackphotourl": {
  20251. "description": "银行卡背面照地址",
  20252. "type": "string"
  20253. },
  20254. "bankcardfrontphotourl": {
  20255. "description": "银行卡正面照地址",
  20256. "type": "string"
  20257. },
  20258. "bankid": {
  20259. "description": "银行编码",
  20260. "type": "string"
  20261. },
  20262. "bankname": {
  20263. "description": "银行名称",
  20264. "type": "string"
  20265. },
  20266. "bankpictureurl": {
  20267. "description": "银行卡正面地址",
  20268. "type": "string"
  20269. },
  20270. "biznature": {
  20271. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20272. "type": "integer"
  20273. },
  20274. "bizscope": {
  20275. "description": "企业经营范围(企业)",
  20276. "type": "string"
  20277. },
  20278. "biztype": {
  20279. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20280. "type": "integer"
  20281. },
  20282. "brokerid": {
  20283. "description": "经纪人ID(加密存储)",
  20284. "type": "string"
  20285. },
  20286. "cardaddress": {
  20287. "description": "证件地址 (加密存储)",
  20288. "type": "string"
  20289. },
  20290. "cardbackphotourl": {
  20291. "description": "背面证件照地址",
  20292. "type": "string"
  20293. },
  20294. "cardfrontphotourl": {
  20295. "description": "正面证件照地址",
  20296. "type": "string"
  20297. },
  20298. "cardnum": {
  20299. "description": "证件号码 (加密存储)",
  20300. "type": "string"
  20301. },
  20302. "cardtype": {
  20303. "description": "证件类型",
  20304. "type": "integer"
  20305. },
  20306. "cityid": {
  20307. "description": "市",
  20308. "type": "integer"
  20309. },
  20310. "company": {
  20311. "description": "公司(个人)",
  20312. "type": "string"
  20313. },
  20314. "contactcardbackphotourl": {
  20315. "description": "联系人证件背面图片地址",
  20316. "type": "string"
  20317. },
  20318. "contactcardfrontphotourl": {
  20319. "description": "联系人证件正面图片地址",
  20320. "type": "string"
  20321. },
  20322. "contactname": {
  20323. "description": "联系人",
  20324. "type": "string"
  20325. },
  20326. "countryid": {
  20327. "description": "国家",
  20328. "type": "integer"
  20329. },
  20330. "createtime": {
  20331. "description": "开户申请时间",
  20332. "type": "string"
  20333. },
  20334. "cusbankid": {
  20335. "description": "签约类型",
  20336. "type": "string"
  20337. },
  20338. "cusbankname": {
  20339. "description": "签约类型名称",
  20340. "type": "string"
  20341. },
  20342. "customername": {
  20343. "description": "客户名称(企业名称)",
  20344. "type": "string"
  20345. },
  20346. "districtid": {
  20347. "description": "地区",
  20348. "type": "integer"
  20349. },
  20350. "email": {
  20351. "description": "Email地址(加密存储)",
  20352. "type": "string"
  20353. },
  20354. "halfbodyphotourl": {
  20355. "description": "半身照地址",
  20356. "type": "string"
  20357. },
  20358. "headurl": {
  20359. "description": "头像地址",
  20360. "type": "string"
  20361. },
  20362. "ipaddress": {
  20363. "description": "IP地址",
  20364. "type": "string"
  20365. },
  20366. "isvalidate": {
  20367. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20368. "type": "string"
  20369. },
  20370. "legalcardbackphotourl": {
  20371. "description": "法人身份证背面照地址",
  20372. "type": "string"
  20373. },
  20374. "legalcardfrontphotourl": {
  20375. "description": "法人身份证正面照地址",
  20376. "type": "string"
  20377. },
  20378. "legalpersonname": {
  20379. "description": "法人姓名(企业)",
  20380. "type": "string"
  20381. },
  20382. "logincode": {
  20383. "description": "登录帐号 (加密存储)",
  20384. "type": "string"
  20385. },
  20386. "memberareaid": {
  20387. "description": "所属会员ID",
  20388. "type": "integer"
  20389. },
  20390. "mobile2": {
  20391. "description": "手机号码[明文-尚志]",
  20392. "type": "string"
  20393. },
  20394. "mobilephone": {
  20395. "description": "手机号码 (加密存储)",
  20396. "type": "string"
  20397. },
  20398. "modifiedby": {
  20399. "description": "修改人帐号",
  20400. "type": "integer"
  20401. },
  20402. "modifiedtime": {
  20403. "description": "修改时间",
  20404. "type": "string"
  20405. },
  20406. "nickname": {
  20407. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20408. "type": "string"
  20409. },
  20410. "openmode": {
  20411. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20412. "type": "integer"
  20413. },
  20414. "otherurl": {
  20415. "description": "其它图片地址[使用分号分隔]",
  20416. "type": "string"
  20417. },
  20418. "postalcode": {
  20419. "description": "邮政编码",
  20420. "type": "string"
  20421. },
  20422. "provinceid": {
  20423. "description": "省",
  20424. "type": "integer"
  20425. },
  20426. "proxystatementurl": {
  20427. "description": "授权委托书",
  20428. "type": "string"
  20429. },
  20430. "qq": {
  20431. "description": "QQ(加密存储",
  20432. "type": "string"
  20433. },
  20434. "referral": {
  20435. "description": "推荐人编码",
  20436. "type": "string"
  20437. },
  20438. "remark": {
  20439. "description": "备注",
  20440. "type": "string"
  20441. },
  20442. "removebeforestatus": {
  20443. "description": "REMOVEBEFORESTATUS",
  20444. "type": "integer"
  20445. },
  20446. "sex": {
  20447. "description": "性别 - 0:女 1:男",
  20448. "type": "integer"
  20449. },
  20450. "signedstatus": {
  20451. "description": "账户一号签签约状态",
  20452. "type": "integer"
  20453. },
  20454. "signpdfurl": {
  20455. "description": "签约pdf文件",
  20456. "type": "string"
  20457. },
  20458. "subbranch": {
  20459. "description": "开户支行",
  20460. "type": "string"
  20461. },
  20462. "taxpayernum": {
  20463. "description": "纳税人识别号",
  20464. "type": "string"
  20465. },
  20466. "telphone": {
  20467. "description": "联系电话(加密存储)",
  20468. "type": "string"
  20469. },
  20470. "userid": {
  20471. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20472. "type": "integer"
  20473. },
  20474. "userinfotype": {
  20475. "description": "用户信息类型 - 1:个人 2:企业",
  20476. "type": "integer"
  20477. },
  20478. "username": {
  20479. "description": "用户姓名",
  20480. "type": "string"
  20481. },
  20482. "userstate": {
  20483. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20484. "type": "integer"
  20485. },
  20486. "usertype": {
  20487. "description": "用户类型 - 1:投资者 2:机构",
  20488. "type": "integer"
  20489. },
  20490. "videourl": {
  20491. "description": "视频地址",
  20492. "type": "string"
  20493. },
  20494. "wechat": {
  20495. "description": "微信号 (加密存储)",
  20496. "type": "string"
  20497. }
  20498. }
  20499. },
  20500. "erms3.QryAuditContractRsp": {
  20501. "type": "object",
  20502. "required": [
  20503. "matchcustomername",
  20504. "spotcontractid"
  20505. ],
  20506. "properties": {
  20507. "accountid": {
  20508. "description": "交易员ID",
  20509. "type": "string"
  20510. },
  20511. "applystatus": {
  20512. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20513. "type": "integer"
  20514. },
  20515. "curdeliveryqty": {
  20516. "description": "未交收量",
  20517. "type": "integer"
  20518. },
  20519. "customername": {
  20520. "description": "采购方ID",
  20521. "type": "string"
  20522. },
  20523. "deliverygoodsid": {
  20524. "description": "品种ID",
  20525. "type": "string"
  20526. },
  20527. "deliveryqty": {
  20528. "description": "交收量",
  20529. "type": "integer"
  20530. },
  20531. "enumdicname": {
  20532. "description": "单位名称",
  20533. "type": "string"
  20534. },
  20535. "matchaccountid": {
  20536. "description": "业务员ID",
  20537. "type": "string"
  20538. },
  20539. "matchcustomername": {
  20540. "description": "销售方ID",
  20541. "type": "string"
  20542. },
  20543. "pricedqty": {
  20544. "description": "定价量",
  20545. "type": "number"
  20546. },
  20547. "signdate": {
  20548. "description": "签订日期",
  20549. "type": "string"
  20550. },
  20551. "spotcontractid": {
  20552. "description": "合同ID",
  20553. "type": "string"
  20554. },
  20555. "totaldqty": {
  20556. "description": "合同量",
  20557. "type": "number"
  20558. },
  20559. "unpricedqty": {
  20560. "description": "未定价量",
  20561. "type": "number"
  20562. },
  20563. "wrstandardname": {
  20564. "description": "商品名称",
  20565. "type": "string"
  20566. }
  20567. }
  20568. },
  20569. "erms3.QryPendingBizRsp": {
  20570. "type": "object",
  20571. "properties": {
  20572. "accountid": {
  20573. "description": "现货账户",
  20574. "type": "string"
  20575. },
  20576. "areaname": {
  20577. "description": "所属部门",
  20578. "type": "string"
  20579. },
  20580. "bizid": {
  20581. "description": "业务ID",
  20582. "type": "string"
  20583. },
  20584. "bizname": {
  20585. "description": "业务名称",
  20586. "type": "string"
  20587. },
  20588. "status": {
  20589. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20590. "type": "integer"
  20591. },
  20592. "type": {
  20593. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  20594. "type": "integer"
  20595. }
  20596. }
  20597. },
  20598. "erms3.QueryBusinessInfoRsp": {
  20599. "type": "object",
  20600. "properties": {
  20601. "businessid": {
  20602. "description": "业务ID.",
  20603. "type": "integer"
  20604. },
  20605. "buyamount": {
  20606. "description": "采购额.",
  20607. "type": "number"
  20608. },
  20609. "buyqty": {
  20610. "description": "采购量.",
  20611. "type": "string"
  20612. },
  20613. "futurepl": {
  20614. "description": "期货盈亏.",
  20615. "type": "number"
  20616. },
  20617. "futureqty": {
  20618. "description": "期货敞口.",
  20619. "type": "string"
  20620. },
  20621. "goodsid": {
  20622. "description": "商品名称/商品代码.",
  20623. "type": "string"
  20624. },
  20625. "hedgingqty": {
  20626. "description": "套保量.",
  20627. "type": "string"
  20628. },
  20629. "sellamount": {
  20630. "description": "销售额.",
  20631. "type": "number"
  20632. },
  20633. "sellqty": {
  20634. "description": "销售量.",
  20635. "type": "string"
  20636. },
  20637. "spotmarketvalue": {
  20638. "description": "现货市值.",
  20639. "type": "number"
  20640. },
  20641. "spotpl": {
  20642. "description": "浮动权益.",
  20643. "type": "number"
  20644. },
  20645. "spotqty": {
  20646. "description": "现货量.",
  20647. "type": "string"
  20648. },
  20649. "statu": {
  20650. "description": "状态,0-未结束 1-已结束.",
  20651. "type": "integer"
  20652. },
  20653. "totalpl": {
  20654. "description": "总盈亏.",
  20655. "type": "number"
  20656. },
  20657. "totalqty": {
  20658. "description": "总敞口.",
  20659. "type": "string"
  20660. },
  20661. "type": {
  20662. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  20663. "type": "integer"
  20664. }
  20665. }
  20666. },
  20667. "erms3.QuerySpotContractAppleFormRsp": {
  20668. "type": "object",
  20669. "properties": {
  20670. "goodses": {
  20671. "description": "合约列表",
  20672. "type": "array",
  20673. "items": {
  20674. "$ref": "#/definitions/models.GoodsIDAndName"
  20675. }
  20676. },
  20677. "oppositeusers": {
  20678. "description": "对方账号列表",
  20679. "type": "array",
  20680. "items": {
  20681. "$ref": "#/definitions/erms3.CustomerInfo"
  20682. }
  20683. },
  20684. "ouruser": {
  20685. "description": "我方账号",
  20686. "$ref": "#/definitions/erms3.CustomerInfo"
  20687. },
  20688. "warehouseinfos": {
  20689. "description": "仓库信息列表",
  20690. "type": "array",
  20691. "items": {
  20692. "$ref": "#/definitions/models.Warehouseinfo"
  20693. }
  20694. },
  20695. "wrstandards": {
  20696. "description": "仓单标准列表",
  20697. "type": "array",
  20698. "items": {
  20699. "$ref": "#/definitions/models.WRStandardInfo"
  20700. }
  20701. }
  20702. }
  20703. },
  20704. "erms3.QuerySpotContractInfoRsp": {
  20705. "type": "object",
  20706. "properties": {
  20707. "accountid": {
  20708. "description": "表示交易员ID.",
  20709. "type": "integer"
  20710. },
  20711. "curdeliveryqty": {
  20712. "description": "表示未交收量.",
  20713. "type": "number"
  20714. },
  20715. "customername": {
  20716. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  20717. "type": "string"
  20718. },
  20719. "deliverygoodsid": {
  20720. "description": "表示品种ID.",
  20721. "type": "string"
  20722. },
  20723. "deliveryqty": {
  20724. "description": "表示交收量.",
  20725. "type": "number"
  20726. },
  20727. "matchaccountid": {
  20728. "description": "表示业务员ID.",
  20729. "type": "integer"
  20730. },
  20731. "matchcustomername": {
  20732. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  20733. "type": "string"
  20734. },
  20735. "priceqty": {
  20736. "description": "表示定价量.",
  20737. "type": "number"
  20738. },
  20739. "relatedbizid": {
  20740. "description": "表示业务ID.",
  20741. "type": "string"
  20742. },
  20743. "signdate": {
  20744. "description": "表示签订日期.",
  20745. "type": "string"
  20746. },
  20747. "spotcontractid": {
  20748. "description": "合同ID",
  20749. "type": "string"
  20750. },
  20751. "status": {
  20752. "description": "表示状态,0-履约中 1-已完成.",
  20753. "type": "integer"
  20754. },
  20755. "totalqty": {
  20756. "description": "表示合同量.",
  20757. "type": "number"
  20758. },
  20759. "unpricedqty": {
  20760. "description": "表示未定价量.",
  20761. "type": "number"
  20762. },
  20763. "wrstandardname": {
  20764. "description": "表示商品ID.",
  20765. "type": "string"
  20766. }
  20767. }
  20768. },
  20769. "erms3.QueryUserInfoAppliesRsp": {
  20770. "type": "object",
  20771. "required": [
  20772. "userid"
  20773. ],
  20774. "properties": {
  20775. "biznature": {
  20776. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20777. "type": "integer"
  20778. },
  20779. "contactname": {
  20780. "description": "联系人",
  20781. "type": "string"
  20782. },
  20783. "createtime": {
  20784. "description": "开户申请时间",
  20785. "type": "string"
  20786. },
  20787. "userid": {
  20788. "description": "用户ID(自增ID)",
  20789. "type": "integer"
  20790. },
  20791. "userinfotype": {
  20792. "description": "用户信息类型 - 1:个人 2:企业",
  20793. "type": "integer"
  20794. },
  20795. "username": {
  20796. "description": "用户姓名",
  20797. "type": "string"
  20798. },
  20799. "userstate": {
  20800. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20801. "type": "integer"
  20802. }
  20803. }
  20804. },
  20805. "erms3.QueryUserInfosRsp": {
  20806. "type": "object",
  20807. "required": [
  20808. "userid"
  20809. ],
  20810. "properties": {
  20811. "biznature": {
  20812. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20813. "type": "integer"
  20814. },
  20815. "contactname": {
  20816. "description": "联系人",
  20817. "type": "string"
  20818. },
  20819. "customername": {
  20820. "description": "客户名称(企业名称)",
  20821. "type": "string"
  20822. },
  20823. "userid": {
  20824. "description": "用户ID",
  20825. "type": "integer"
  20826. },
  20827. "userinfotype": {
  20828. "description": "用户信息类型 - 1:个人 2:企业",
  20829. "type": "integer"
  20830. },
  20831. "userstatus": {
  20832. "description": "用户状态 - 1:正常 2:注销",
  20833. "type": "integer"
  20834. }
  20835. }
  20836. },
  20837. "erms3.SoptContractDetail": {
  20838. "type": "object",
  20839. "required": [
  20840. "deliverygoodsid",
  20841. "producttype",
  20842. "unitname",
  20843. "warehouseid",
  20844. "wrstandardid",
  20845. "wrstandardname"
  20846. ],
  20847. "properties": {
  20848. "deliverygoodsdesc": {
  20849. "description": "现货品种说明",
  20850. "type": "string"
  20851. },
  20852. "deliverygoodsid": {
  20853. "description": "现货品种ID",
  20854. "type": "integer"
  20855. },
  20856. "deliverygoodsname": {
  20857. "description": "现货品种名称",
  20858. "type": "string"
  20859. },
  20860. "pointdesc": {
  20861. "description": "点价描述",
  20862. "type": "string"
  20863. },
  20864. "producttype": {
  20865. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  20866. "type": "integer"
  20867. },
  20868. "producttypename": {
  20869. "description": "产品类型名称",
  20870. "type": "string"
  20871. },
  20872. "spotPointOrderVoList": {
  20873. "description": "点价列表",
  20874. "type": "array",
  20875. "items": {
  20876. "$ref": "#/definitions/erms3.SpotPointOrder"
  20877. }
  20878. },
  20879. "spotPriceOrderList": {
  20880. "description": "定价列表",
  20881. "type": "array",
  20882. "items": {
  20883. "$ref": "#/definitions/erms3.SpotPriceOrder"
  20884. }
  20885. },
  20886. "unitname": {
  20887. "description": "单位名称",
  20888. "type": "string"
  20889. },
  20890. "warehouseid": {
  20891. "description": "仓库ID",
  20892. "type": "integer"
  20893. },
  20894. "warehousename": {
  20895. "description": "仓库名称",
  20896. "type": "string"
  20897. },
  20898. "wrstandardid": {
  20899. "description": "交易标的ID",
  20900. "type": "integer"
  20901. },
  20902. "wrstandardname": {
  20903. "description": "交易标的名称",
  20904. "type": "string"
  20905. }
  20906. }
  20907. },
  20908. "erms3.SpotPointOrder": {
  20909. "type": "object",
  20910. "required": [
  20911. "basic",
  20912. "goodsid",
  20913. "qty"
  20914. ],
  20915. "properties": {
  20916. "basic": {
  20917. "description": "基差",
  20918. "type": "number"
  20919. },
  20920. "deliveryenddate": {
  20921. "description": "交收结束日期",
  20922. "type": "string"
  20923. },
  20924. "deliverystartdate": {
  20925. "description": "交收开始日期",
  20926. "type": "string"
  20927. },
  20928. "enddate": {
  20929. "description": "点价结束日期",
  20930. "type": "string"
  20931. },
  20932. "goodsid": {
  20933. "description": "商品ID",
  20934. "type": "integer"
  20935. },
  20936. "goodsname": {
  20937. "description": "商品名称",
  20938. "type": "string"
  20939. },
  20940. "qty": {
  20941. "description": "数量",
  20942. "type": "number"
  20943. },
  20944. "startdate": {
  20945. "description": "点价开始日期",
  20946. "type": "string"
  20947. }
  20948. }
  20949. },
  20950. "erms3.SpotPriceOrder": {
  20951. "type": "object",
  20952. "required": [
  20953. "amount",
  20954. "price",
  20955. "qty"
  20956. ],
  20957. "properties": {
  20958. "amount": {
  20959. "description": "金额",
  20960. "type": "number"
  20961. },
  20962. "deliveryenddate": {
  20963. "description": "交收结束日期",
  20964. "type": "string"
  20965. },
  20966. "deliverystartdate": {
  20967. "description": "交收开始日期",
  20968. "type": "string"
  20969. },
  20970. "price": {
  20971. "description": "价格",
  20972. "type": "number"
  20973. },
  20974. "qty": {
  20975. "description": "数量",
  20976. "type": "number"
  20977. }
  20978. }
  20979. },
  20980. "models.Arearole": {
  20981. "type": "object",
  20982. "required": [
  20983. "roletype",
  20984. "userid"
  20985. ],
  20986. "properties": {
  20987. "createtime": {
  20988. "description": "创建时间",
  20989. "type": "string"
  20990. },
  20991. "creatorid": {
  20992. "description": "创建人ID",
  20993. "type": "integer"
  20994. },
  20995. "fromuserid": {
  20996. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  20997. "type": "integer"
  20998. },
  20999. "isreturnscore": {
  21000. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21001. "type": "integer"
  21002. },
  21003. "modifierid": {
  21004. "description": "修改人ID",
  21005. "type": "integer"
  21006. },
  21007. "modifytime": {
  21008. "description": "修改时间",
  21009. "type": "string"
  21010. },
  21011. "orgtype": {
  21012. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21013. "type": "integer"
  21014. },
  21015. "outuserid": {
  21016. "description": "外部账户[场外期权做市商]",
  21017. "type": "string"
  21018. },
  21019. "parentuserid": {
  21020. "description": "上级组织机构(组织机构)",
  21021. "type": "integer"
  21022. },
  21023. "roletype": {
  21024. "description": "角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店",
  21025. "type": "integer"
  21026. },
  21027. "rootuserid": {
  21028. "description": "顶级组织机构用户ID(组织机构)",
  21029. "type": "integer"
  21030. },
  21031. "shoppassword": {
  21032. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21033. "type": "string"
  21034. },
  21035. "sublevelpath": {
  21036. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21037. "type": "string"
  21038. },
  21039. "suborgtype": {
  21040. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21041. "type": "integer"
  21042. },
  21043. "tradeaccountid": {
  21044. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21045. "type": "integer"
  21046. },
  21047. "transurl": {
  21048. "description": "物流地址(物流机构)",
  21049. "type": "string"
  21050. },
  21051. "userid": {
  21052. "description": "机构用户ID其他做市关系,都设置为 1",
  21053. "type": "integer"
  21054. }
  21055. }
  21056. },
  21057. "models.BuyOrder": {
  21058. "type": "object",
  21059. "properties": {
  21060. "accountid": {
  21061. "description": "资金账户ID",
  21062. "type": "integer"
  21063. },
  21064. "buyusername": {
  21065. "description": "买方",
  21066. "type": "string"
  21067. },
  21068. "marketid": {
  21069. "description": "市场ID",
  21070. "type": "integer"
  21071. },
  21072. "ordertime": {
  21073. "description": "委托时间",
  21074. "type": "string"
  21075. },
  21076. "origin": {
  21077. "description": "原产地",
  21078. "type": "string"
  21079. },
  21080. "performancetemplateid": {
  21081. "description": "履约计划模板ID",
  21082. "type": "integer"
  21083. },
  21084. "remark": {
  21085. "description": "备注",
  21086. "type": "string"
  21087. },
  21088. "userid": {
  21089. "description": "用户ID",
  21090. "type": "integer"
  21091. },
  21092. "validtime": {
  21093. "description": "有效期限",
  21094. "type": "string"
  21095. },
  21096. "warehouseids": {
  21097. "description": "仓库ID - 多个, 逗号分隔",
  21098. "type": "string"
  21099. },
  21100. "warehouseinfosdisplay": {
  21101. "type": "string"
  21102. },
  21103. "wrtradeorderid": {
  21104. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21105. "type": "string"
  21106. },
  21107. "wrtradeorderstatus": {
  21108. "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、",
  21109. "type": "integer"
  21110. },
  21111. "zscategory": {
  21112. "description": "钻石分类 - 枚举”ZSCategory“",
  21113. "type": "integer"
  21114. },
  21115. "zscategorydisplay": {
  21116. "type": "string"
  21117. },
  21118. "zsclaritytype": {
  21119. "description": "净度 - 两个, 逗号分隔",
  21120. "type": "string"
  21121. },
  21122. "zsclaritytypedisplay": {
  21123. "type": "string"
  21124. },
  21125. "zscolortype": {
  21126. "description": "颜色 - 两个, 逗号分隔",
  21127. "type": "string"
  21128. },
  21129. "zscolortypedisplay": {
  21130. "type": "string"
  21131. },
  21132. "zscrystaltype": {
  21133. "description": "晶型 - 多个,逗号分隔",
  21134. "type": "string"
  21135. },
  21136. "zscrystaltypedisplay": {
  21137. "type": "string"
  21138. },
  21139. "zscurrencytype": {
  21140. "description": "货币类型 - 多个, 逗号分隔",
  21141. "type": "string"
  21142. },
  21143. "zscurrencytypedisplay": {
  21144. "type": "string"
  21145. },
  21146. "zscuttype": {
  21147. "description": "切工 - 两个, 逗号分隔",
  21148. "type": "string"
  21149. },
  21150. "zscuttypedisplay": {
  21151. "type": "string"
  21152. },
  21153. "zsczcolor1type": {
  21154. "description": "彩钻颜色1, 逗号分隔",
  21155. "type": "string"
  21156. },
  21157. "zsczcolor1typedisplay": {
  21158. "type": "string"
  21159. },
  21160. "zsczcolor2type": {
  21161. "description": "彩钻颜色2, 逗号分隔",
  21162. "type": "string"
  21163. },
  21164. "zsczcolor2typedisplay": {
  21165. "type": "string"
  21166. },
  21167. "zsczcolor3type": {
  21168. "description": "彩钻颜色3, 逗号分隔",
  21169. "type": "string"
  21170. },
  21171. "zsczcolor3typedisplay": {
  21172. "type": "string"
  21173. },
  21174. "zsfluorescencetype": {
  21175. "description": "荧光 - 多个, 逗号分隔",
  21176. "type": "string"
  21177. },
  21178. "zsfluorescencetypedisplay": {
  21179. "type": "string"
  21180. },
  21181. "zspolishtype": {
  21182. "description": "抛光度 - 两个, 逗号分隔",
  21183. "type": "string"
  21184. },
  21185. "zspolishtypedisplay": {
  21186. "type": "string"
  21187. },
  21188. "zsshapetype": {
  21189. "description": "形状 - 多个, 逗号分隔",
  21190. "type": "string"
  21191. },
  21192. "zsshapetypedisplay": {
  21193. "type": "string"
  21194. },
  21195. "zssize": {
  21196. "description": "尺寸 - 两个小数, 逗号分隔",
  21197. "type": "string"
  21198. },
  21199. "zsstyletype": {
  21200. "description": "款式 - 多个, 逗号分隔",
  21201. "type": "string"
  21202. },
  21203. "zsstyletypedisplay": {
  21204. "type": "string"
  21205. },
  21206. "zssymmetrytype": {
  21207. "description": "对称度 - 两个, 逗号分隔",
  21208. "type": "string"
  21209. },
  21210. "zssymmetrytypedisplay": {
  21211. "type": "string"
  21212. },
  21213. "zstabledisplay": {
  21214. "description": "求购信息",
  21215. "type": "string"
  21216. }
  21217. }
  21218. },
  21219. "models.DgFactoryItem": {
  21220. "type": "object",
  21221. "properties": {
  21222. "dgfactoryitemid": {
  21223. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  21224. "type": "integer"
  21225. },
  21226. "dgfactoryitemtypeid": {
  21227. "description": "要素项类型",
  21228. "type": "integer"
  21229. },
  21230. "dgfactoryitemvalue": {
  21231. "description": "要素项值(类型为仓库时填写仓库名称)",
  21232. "type": "string"
  21233. },
  21234. "orderindex": {
  21235. "description": "顺序",
  21236. "type": "integer"
  21237. }
  21238. }
  21239. },
  21240. "models.Division": {
  21241. "type": "object",
  21242. "required": [
  21243. "autoid",
  21244. "divisioncode"
  21245. ],
  21246. "properties": {
  21247. "autoid": {
  21248. "description": "自增ID",
  21249. "type": "integer"
  21250. },
  21251. "divisioncode": {
  21252. "description": "行政代码",
  21253. "type": "string"
  21254. },
  21255. "divisionlevel": {
  21256. "description": "行政级别",
  21257. "type": "string"
  21258. },
  21259. "divisionname": {
  21260. "description": "行政名称",
  21261. "type": "string"
  21262. },
  21263. "modifierid": {
  21264. "description": "修改人",
  21265. "type": "integer"
  21266. },
  21267. "modifytime": {
  21268. "description": "修改时间",
  21269. "type": "string"
  21270. },
  21271. "parentcode": {
  21272. "description": "上级行政代码",
  21273. "type": "string"
  21274. },
  21275. "pathname": {
  21276. "description": "路径名称",
  21277. "type": "string"
  21278. },
  21279. "postcode": {
  21280. "description": "邮政编码",
  21281. "type": "string"
  21282. },
  21283. "separablename": {
  21284. "description": "可拆分的全称",
  21285. "type": "string"
  21286. },
  21287. "shortcode": {
  21288. "description": "地区简码",
  21289. "type": "string"
  21290. }
  21291. }
  21292. },
  21293. "models.Enumdicitem": {
  21294. "type": "object",
  21295. "required": [
  21296. "autoid",
  21297. "enumdiccode",
  21298. "enumdicid",
  21299. "enumitemname"
  21300. ],
  21301. "properties": {
  21302. "autoid": {
  21303. "description": "自增ID",
  21304. "type": "integer"
  21305. },
  21306. "bankmappedvalue": {
  21307. "description": "银行服务对应值",
  21308. "type": "string"
  21309. },
  21310. "enumdiccode": {
  21311. "description": "所属枚举代码",
  21312. "type": "string"
  21313. },
  21314. "enumdicid": {
  21315. "description": "所属枚举ID",
  21316. "type": "integer"
  21317. },
  21318. "enumdicname": {
  21319. "description": "枚举项名称",
  21320. "type": "string"
  21321. },
  21322. "enumitemname": {
  21323. "description": "枚举项值",
  21324. "type": "integer"
  21325. },
  21326. "enumitemstatus": {
  21327. "description": "枚举项状态 - 1.启用 2.不启用",
  21328. "type": "integer"
  21329. },
  21330. "enumitemvalue": {
  21331. "description": "通用值 - [币种通用简写]",
  21332. "type": "string"
  21333. },
  21334. "param1": {
  21335. "description": "参数1[币种:币种小数位]",
  21336. "type": "string"
  21337. },
  21338. "param2": {
  21339. "description": "参数1[币种:币种显示单位]",
  21340. "type": "string"
  21341. },
  21342. "remark": {
  21343. "description": "备注",
  21344. "type": "string"
  21345. }
  21346. }
  21347. },
  21348. "models.Ermcp2AreaExposure": {
  21349. "type": "object",
  21350. "properties": {
  21351. "areauserid": {
  21352. "description": "所属机构",
  21353. "type": "integer"
  21354. },
  21355. "enumdicname": {
  21356. "description": "单位",
  21357. "type": "string"
  21358. },
  21359. "futureqty": {
  21360. "description": "期货套期量",
  21361. "type": "number"
  21362. },
  21363. "futureqtychange": {
  21364. "description": "期货变动量 = FutureQty - OriFutureQty",
  21365. "type": "number"
  21366. },
  21367. "goodsunitid": {
  21368. "description": "单位ID",
  21369. "type": "integer"
  21370. },
  21371. "hedgedspotexposure": {
  21372. "description": "被套期现货敞口量",
  21373. "type": "number"
  21374. },
  21375. "hedgedspratio": {
  21376. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  21377. "type": "number"
  21378. },
  21379. "hedgedtotalexposourechange": {
  21380. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  21381. "type": "number"
  21382. },
  21383. "hedgedtotalexposure": {
  21384. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  21385. "type": "number"
  21386. },
  21387. "hedgeplanqty": {
  21388. "description": "套期计划量",
  21389. "type": "number"
  21390. },
  21391. "hedgeplanqtychange": {
  21392. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  21393. "type": "number"
  21394. },
  21395. "hedgespotqty": {
  21396. "description": "被套期现货量",
  21397. "type": "number"
  21398. },
  21399. "middlegoodsid": {
  21400. "description": "套保品种",
  21401. "type": "integer"
  21402. },
  21403. "middlegoodsname": {
  21404. "description": "套保品种名称",
  21405. "type": "string"
  21406. },
  21407. "orifutureqty": {
  21408. "description": "期初期货套期量",
  21409. "type": "number"
  21410. },
  21411. "orihedgedspotexposure": {
  21412. "description": "期初被套期现货敞口量",
  21413. "type": "number"
  21414. },
  21415. "orihedgedtotalexposure": {
  21416. "description": "期初套期敞口量",
  21417. "type": "number"
  21418. },
  21419. "orihedgeplanqty": {
  21420. "description": "期初套期计划量",
  21421. "type": "number"
  21422. },
  21423. "orihedgespotqty": {
  21424. "description": "期初被套期现货量",
  21425. "type": "number"
  21426. },
  21427. "orispotexposure": {
  21428. "description": "期初现货敞口量",
  21429. "type": "number"
  21430. },
  21431. "orispotqty": {
  21432. "description": "期初现货总量",
  21433. "type": "number"
  21434. },
  21435. "oritotalexposure": {
  21436. "description": "期初总敞口量",
  21437. "type": "number"
  21438. },
  21439. "spotexposure": {
  21440. "description": "现货敞口量",
  21441. "type": "number"
  21442. },
  21443. "spotqty": {
  21444. "description": "现货总量",
  21445. "type": "number"
  21446. },
  21447. "spotqtychange": {
  21448. "description": "现货变动量 = SpotQty - OriSpotQty",
  21449. "type": "number"
  21450. },
  21451. "spratio": {
  21452. "description": "总期现比例 = 期货套期量/现货敞口量",
  21453. "type": "number"
  21454. },
  21455. "totalexposure": {
  21456. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  21457. "type": "number"
  21458. },
  21459. "totalexposurechange": {
  21460. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  21461. "type": "number"
  21462. },
  21463. "updatetime": {
  21464. "description": "更新时间 --DATE",
  21465. "type": "string"
  21466. }
  21467. }
  21468. },
  21469. "models.Ermcp2hedgeditem": {
  21470. "type": "object",
  21471. "properties": {
  21472. "accountname": {
  21473. "description": "套期主体",
  21474. "type": "string"
  21475. },
  21476. "applyid": {
  21477. "description": "申请人",
  21478. "type": "integer"
  21479. },
  21480. "applysrc": {
  21481. "description": "申请来源 - 1:管理端 2:终端",
  21482. "type": "integer"
  21483. },
  21484. "areauserid": {
  21485. "description": "企业ID",
  21486. "type": "integer"
  21487. },
  21488. "auditid": {
  21489. "description": "审核人",
  21490. "type": "integer"
  21491. },
  21492. "auditremark": {
  21493. "description": "审核备注",
  21494. "type": "string"
  21495. },
  21496. "auditsrc": {
  21497. "description": "审核来源 - 1:管理端 2:终端",
  21498. "type": "integer"
  21499. },
  21500. "audittime": {
  21501. "description": "审核时间",
  21502. "type": "string"
  21503. },
  21504. "audittradedate": {
  21505. "description": "审核交易日(yyyyMMdd)",
  21506. "type": "string"
  21507. },
  21508. "createtime": {
  21509. "description": "申请时间",
  21510. "type": "string"
  21511. },
  21512. "curprice": {
  21513. "description": "当前市场价",
  21514. "type": "number"
  21515. },
  21516. "curstock": {
  21517. "description": "期末库存量 = 采购总量 - 销售总量",
  21518. "type": "number"
  21519. },
  21520. "deliverygoodsid": {
  21521. "description": "现货品种ID",
  21522. "type": "integer"
  21523. },
  21524. "enddate": {
  21525. "description": "完成日期",
  21526. "type": "string"
  21527. },
  21528. "endtradedate": {
  21529. "description": "完成交易日",
  21530. "type": "string"
  21531. },
  21532. "enumdicname": {
  21533. "description": "单位",
  21534. "type": "string"
  21535. },
  21536. "exeamount": {
  21537. "description": "执行市价总额",
  21538. "type": "number"
  21539. },
  21540. "exeavgprice": {
  21541. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  21542. "type": "number"
  21543. },
  21544. "execontractamount": {
  21545. "description": "执行定价总额",
  21546. "type": "number"
  21547. },
  21548. "exeqty": {
  21549. "description": "执行现货量",
  21550. "type": "number"
  21551. },
  21552. "exerestamount": {
  21553. "description": "执行剩余市价总额【现货贸易】",
  21554. "type": "number"
  21555. },
  21556. "futurefloatpl": {
  21557. "description": "期货浮动损益",
  21558. "type": "number"
  21559. },
  21560. "futurehedgepl": {
  21561. "description": "期货实际损益",
  21562. "type": "number"
  21563. },
  21564. "futurehedgeplchange": {
  21565. "description": "期货实际损益变动",
  21566. "type": "number"
  21567. },
  21568. "futurepl": {
  21569. "description": "期货套期损益",
  21570. "type": "number"
  21571. },
  21572. "futureplchange": {
  21573. "description": "期货套期损益变动",
  21574. "type": "number"
  21575. },
  21576. "hedgeamount": {
  21577. "description": "套期市价总额",
  21578. "type": "number"
  21579. },
  21580. "hedgecontractamount": {
  21581. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  21582. "type": "number"
  21583. },
  21584. "hedgeditemid": {
  21585. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  21586. "type": "string"
  21587. },
  21588. "hedgeditemname": {
  21589. "description": "项目名称",
  21590. "type": "string"
  21591. },
  21592. "hedgeditemnum": {
  21593. "description": "项目编号",
  21594. "type": "string"
  21595. },
  21596. "hedgeditemstatus": {
  21597. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  21598. "type": "integer"
  21599. },
  21600. "hedgedtype": {
  21601. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21602. "type": "integer"
  21603. },
  21604. "hedgeqty": {
  21605. "description": "套期现货量",
  21606. "type": "number"
  21607. },
  21608. "hedgerate": {
  21609. "description": "套保比率",
  21610. "type": "number"
  21611. },
  21612. "hedgerestamount": {
  21613. "description": "套期剩余市价总额【现货贸易】",
  21614. "type": "number"
  21615. },
  21616. "hedgesumpl": {
  21617. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  21618. "type": "number"
  21619. },
  21620. "middlegoodslist": {
  21621. "description": "套期商品列表",
  21622. "type": "array",
  21623. "items": {
  21624. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  21625. }
  21626. },
  21627. "oriavgprice": {
  21628. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  21629. "type": "number"
  21630. },
  21631. "orifuturehedgepl": {
  21632. "description": "期初期货实际损益",
  21633. "type": "number"
  21634. },
  21635. "orifuturepl": {
  21636. "description": "期初期货套期损益",
  21637. "type": "number"
  21638. },
  21639. "orispothedgepl": {
  21640. "description": "期初现货实际损益",
  21641. "type": "number"
  21642. },
  21643. "orispotpl": {
  21644. "description": "期初现货套期损益",
  21645. "type": "number"
  21646. },
  21647. "planenddate": {
  21648. "description": "计划结束日期",
  21649. "type": "string"
  21650. },
  21651. "planstartdate": {
  21652. "description": "计划开始日期",
  21653. "type": "string"
  21654. },
  21655. "remark": {
  21656. "description": "备注",
  21657. "type": "string"
  21658. },
  21659. "spotbookamount": {
  21660. "description": "现货账面总额",
  21661. "type": "number"
  21662. },
  21663. "spotfloatpl": {
  21664. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21665. "type": "number"
  21666. },
  21667. "spothedgepl": {
  21668. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  21669. "type": "number"
  21670. },
  21671. "spothedgeplchange": {
  21672. "description": "现货实际损益变动",
  21673. "type": "number"
  21674. },
  21675. "spotpl": {
  21676. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  21677. "type": "number"
  21678. },
  21679. "spotplchange": {
  21680. "description": "现货套期损益变动",
  21681. "type": "number"
  21682. },
  21683. "spottradepl": {
  21684. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  21685. "type": "number"
  21686. },
  21687. "sumobspl": {
  21688. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  21689. "type": "number"
  21690. },
  21691. "tradeuserid": {
  21692. "description": "交易用户ID",
  21693. "type": "integer"
  21694. },
  21695. "unexeqty": {
  21696. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21697. "type": "number"
  21698. },
  21699. "updatetime": {
  21700. "description": "更新时间",
  21701. "type": "string"
  21702. },
  21703. "vatpl": {
  21704. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  21705. "type": "number"
  21706. },
  21707. "vatrate": {
  21708. "description": "增值税",
  21709. "type": "number"
  21710. },
  21711. "wrstandardid": {
  21712. "description": "现货商品ID",
  21713. "type": "integer"
  21714. },
  21715. "wrstandardname": {
  21716. "description": "商品名称",
  21717. "type": "string"
  21718. }
  21719. }
  21720. },
  21721. "models.Ermcp2hedgeditemlink": {
  21722. "type": "object",
  21723. "required": [
  21724. "relatedspotcontractid"
  21725. ],
  21726. "properties": {
  21727. "areauserid": {
  21728. "description": "企业ID",
  21729. "type": "integer"
  21730. },
  21731. "createtime": {
  21732. "description": "[关联时间]创建时间",
  21733. "type": "string"
  21734. },
  21735. "customeruserid": {
  21736. "description": "对手方 【3:采购合同 4:销售合同】",
  21737. "type": "integer"
  21738. },
  21739. "deliverygoodsid": {
  21740. "description": "现货品种ID",
  21741. "type": "integer"
  21742. },
  21743. "enumdicname": {
  21744. "description": "单位",
  21745. "type": "string"
  21746. },
  21747. "hedgeditemid": {
  21748. "description": "被套期项目ID",
  21749. "type": "integer"
  21750. },
  21751. "hedgeditemlinkid": {
  21752. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  21753. "type": "integer"
  21754. },
  21755. "hedgeditemnum": {
  21756. "description": "项目编号",
  21757. "type": "string"
  21758. },
  21759. "hedgedtype": {
  21760. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21761. "type": "integer"
  21762. },
  21763. "relatedamount": {
  21764. "description": "市价总额 = 关联数量 * 期初市场价",
  21765. "type": "number"
  21766. },
  21767. "relatedhedgeplanid": {
  21768. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21769. "type": "integer"
  21770. },
  21771. "relatedqty": {
  21772. "description": "关联数量",
  21773. "type": "number"
  21774. },
  21775. "relatedspotcontractid": {
  21776. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21777. "type": "integer"
  21778. },
  21779. "relatedtype": {
  21780. "description": "关联类型 - 1:套期关联 2:执行关联",
  21781. "type": "integer"
  21782. },
  21783. "spotgoodsbrandid": {
  21784. "description": "现货品牌ID",
  21785. "type": "integer"
  21786. },
  21787. "spotpricedamount": {
  21788. "description": "[关联定价总额]定价总额",
  21789. "type": "number"
  21790. },
  21791. "spotpricedavgprice": {
  21792. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  21793. "type": "number"
  21794. },
  21795. "spottype": {
  21796. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21797. "type": "integer"
  21798. },
  21799. "tradeuserid": {
  21800. "description": "交易用户ID",
  21801. "type": "integer"
  21802. },
  21803. "unexeqty": {
  21804. "description": "未执行现货量【项目关联时值】",
  21805. "type": "number"
  21806. },
  21807. "wrstandardid": {
  21808. "description": "现货商品ID",
  21809. "type": "integer"
  21810. },
  21811. "wrstandardname": {
  21812. "description": "现货商品",
  21813. "type": "string"
  21814. }
  21815. }
  21816. },
  21817. "models.Ermcp2hedgeditemsDetail": {
  21818. "type": "object",
  21819. "properties": {
  21820. "accountname": {
  21821. "description": "套期主体",
  21822. "type": "string"
  21823. },
  21824. "areauserid": {
  21825. "description": "企业ID",
  21826. "type": "integer"
  21827. },
  21828. "createtime": {
  21829. "description": "[日期时间]创建时间",
  21830. "type": "string"
  21831. },
  21832. "customeruserid": {
  21833. "description": "对手方 【3:采购合同 4:销售合同】",
  21834. "type": "integer"
  21835. },
  21836. "deliverygoodsid": {
  21837. "description": "现货品种ID",
  21838. "type": "integer"
  21839. },
  21840. "enumdicname": {
  21841. "description": "单位",
  21842. "type": "string"
  21843. },
  21844. "hedgeditemid": {
  21845. "description": "被套期项目ID",
  21846. "type": "string"
  21847. },
  21848. "hedgeditemspotid": {
  21849. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21850. "type": "string"
  21851. },
  21852. "hedgedtype": {
  21853. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21854. "type": "integer"
  21855. },
  21856. "hedgeplanno": {
  21857. "description": "计划编号",
  21858. "type": "string"
  21859. },
  21860. "middlegoodschange": {
  21861. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  21862. "type": "number"
  21863. },
  21864. "oriavgprice": {
  21865. "description": "期初市场价[当初市场价]",
  21866. "type": "number"
  21867. },
  21868. "relatedamount": {
  21869. "description": "市价总额 = 关联数量 * 期初市场价",
  21870. "type": "number"
  21871. },
  21872. "relatedhedgeplanid": {
  21873. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21874. "type": "integer"
  21875. },
  21876. "relatedqty": {
  21877. "description": "[期间变化量]关联数量",
  21878. "type": "number"
  21879. },
  21880. "relatedspotcontractid": {
  21881. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21882. "type": "integer"
  21883. },
  21884. "relatedtype": {
  21885. "description": "关联类型 - 1:套期关联 2:执行关联",
  21886. "type": "integer"
  21887. },
  21888. "spotgoodsbrandid": {
  21889. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21890. "type": "integer"
  21891. },
  21892. "spotpricedamount": {
  21893. "description": "定价总额",
  21894. "type": "number"
  21895. },
  21896. "spotpricedavgprice": {
  21897. "description": "现货均价 = 定价总额 / 关联数量",
  21898. "type": "number"
  21899. },
  21900. "spottype": {
  21901. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  21902. "type": "integer"
  21903. },
  21904. "tradeuserid": {
  21905. "description": "交易用户ID",
  21906. "type": "integer"
  21907. },
  21908. "unexeqty": {
  21909. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  21910. "type": "number"
  21911. },
  21912. "wrstandardid": {
  21913. "description": "现货商品ID",
  21914. "type": "integer"
  21915. },
  21916. "wrstandardname": {
  21917. "description": "现货商品",
  21918. "type": "string"
  21919. }
  21920. }
  21921. },
  21922. "models.Ermcp2hedgeditemspot": {
  21923. "type": "object",
  21924. "required": [
  21925. "hedgeditemid"
  21926. ],
  21927. "properties": {
  21928. "areauserid": {
  21929. "description": "企业ID",
  21930. "type": "integer"
  21931. },
  21932. "createtime": {
  21933. "description": "创建时间",
  21934. "type": "string"
  21935. },
  21936. "customeruserid": {
  21937. "description": "对手方 【3:采购合同 4:销售合同】",
  21938. "type": "integer"
  21939. },
  21940. "deliverygoodsid": {
  21941. "description": "现货品种ID",
  21942. "type": "integer"
  21943. },
  21944. "enumdicname": {
  21945. "description": "单位",
  21946. "type": "string"
  21947. },
  21948. "hedgeditemid": {
  21949. "description": "被套期项目ID",
  21950. "type": "string"
  21951. },
  21952. "hedgeditemspotid": {
  21953. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  21954. "type": "string"
  21955. },
  21956. "hedgedtype": {
  21957. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  21958. "type": "integer"
  21959. },
  21960. "hedgeplanno": {
  21961. "description": "计划编号",
  21962. "type": "string"
  21963. },
  21964. "oriavgprice": {
  21965. "description": "期初市场价[当初市场价]",
  21966. "type": "number"
  21967. },
  21968. "relatedamount": {
  21969. "description": "市价总额 = 关联数量 * 期初市场价",
  21970. "type": "number"
  21971. },
  21972. "relatedhedgeplanid": {
  21973. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  21974. "type": "integer"
  21975. },
  21976. "relatedqty": {
  21977. "description": "关联数量[数量]",
  21978. "type": "number"
  21979. },
  21980. "relatedspotcontractid": {
  21981. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  21982. "type": "integer"
  21983. },
  21984. "relatedtype": {
  21985. "description": "关联类型 - 1:套期关联 2:执行关联",
  21986. "type": "integer"
  21987. },
  21988. "spotgoodsbrandid": {
  21989. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  21990. "type": "integer"
  21991. },
  21992. "spotpricedamount": {
  21993. "description": "定价总额",
  21994. "type": "number"
  21995. },
  21996. "spotpricedavgprice": {
  21997. "description": "现货均价 = 定价总额 / 关联数量",
  21998. "type": "number"
  21999. },
  22000. "spottype": {
  22001. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22002. "type": "integer"
  22003. },
  22004. "tradeuserid": {
  22005. "description": "交易用户ID",
  22006. "type": "integer"
  22007. },
  22008. "wrstandardid": {
  22009. "description": "现货商品ID",
  22010. "type": "integer"
  22011. },
  22012. "wrstandardname": {
  22013. "description": "现货商品",
  22014. "type": "string"
  22015. }
  22016. }
  22017. },
  22018. "models.Ermcp2hedgeditemspotDetail": {
  22019. "type": "object",
  22020. "required": [
  22021. "hedgeditemid"
  22022. ],
  22023. "properties": {
  22024. "accountname": {
  22025. "description": "对手方",
  22026. "type": "string"
  22027. },
  22028. "areauserid": {
  22029. "description": "企业ID",
  22030. "type": "integer"
  22031. },
  22032. "brandname": {
  22033. "description": "品牌",
  22034. "type": "string"
  22035. },
  22036. "contractno": {
  22037. "description": "合同编号",
  22038. "type": "string"
  22039. },
  22040. "createtime": {
  22041. "description": "创建时间",
  22042. "type": "string"
  22043. },
  22044. "customeruserid": {
  22045. "description": "对手方 【3:采购合同 4:销售合同】",
  22046. "type": "integer"
  22047. },
  22048. "deliverygoodsid": {
  22049. "description": "现货品种ID",
  22050. "type": "integer"
  22051. },
  22052. "enumdicname": {
  22053. "description": "单位",
  22054. "type": "string"
  22055. },
  22056. "hedgeditemid": {
  22057. "description": "被套期项目ID",
  22058. "type": "string"
  22059. },
  22060. "hedgeditemspotid": {
  22061. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22062. "type": "string"
  22063. },
  22064. "hedgedtype": {
  22065. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22066. "type": "integer"
  22067. },
  22068. "oriavgprice": {
  22069. "description": "期初市场价[当初市场价]",
  22070. "type": "number"
  22071. },
  22072. "relatedamount": {
  22073. "description": "市价总额 = 关联数量 * 期初市场价",
  22074. "type": "number"
  22075. },
  22076. "relatedhedgeplanid": {
  22077. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22078. "type": "integer"
  22079. },
  22080. "relatedqty": {
  22081. "description": "关联数量[数量]",
  22082. "type": "number"
  22083. },
  22084. "relatedspotcontractid": {
  22085. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22086. "type": "integer"
  22087. },
  22088. "relatedtype": {
  22089. "description": "关联类型 - 1:套期关联 2:执行关联",
  22090. "type": "integer"
  22091. },
  22092. "spotgoodsbrandid": {
  22093. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22094. "type": "integer"
  22095. },
  22096. "spotpricedamount": {
  22097. "description": "定价总额[金额]",
  22098. "type": "number"
  22099. },
  22100. "spotpricedavgprice": {
  22101. "description": "现货均价 = 定价总额 / 关联数量",
  22102. "type": "number"
  22103. },
  22104. "spottype": {
  22105. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22106. "type": "integer"
  22107. },
  22108. "tradeuserid": {
  22109. "description": "交易用户ID",
  22110. "type": "integer"
  22111. },
  22112. "wrstandardid": {
  22113. "description": "现货商品ID",
  22114. "type": "integer"
  22115. },
  22116. "wrstandardname": {
  22117. "description": "现货商品",
  22118. "type": "string"
  22119. }
  22120. }
  22121. },
  22122. "models.Ermcp2himiddlegoods": {
  22123. "type": "object",
  22124. "required": [
  22125. "hedgeditemid",
  22126. "middlegoodsid"
  22127. ],
  22128. "properties": {
  22129. "futurehedgeqty": {
  22130. "description": "期货持仓套期量",
  22131. "type": "number"
  22132. },
  22133. "hedgeditemid": {
  22134. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22135. "type": "integer"
  22136. },
  22137. "hiexpsoure": {
  22138. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22139. "type": "number"
  22140. },
  22141. "middlegoodscode": {
  22142. "description": "套保商品代码",
  22143. "type": "string"
  22144. },
  22145. "middlegoodsid": {
  22146. "description": "套保品种ID",
  22147. "type": "integer"
  22148. },
  22149. "middlegoodsname": {
  22150. "description": "套保商品名称",
  22151. "type": "string"
  22152. },
  22153. "unexehedgeqty": {
  22154. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22155. "type": "number"
  22156. }
  22157. }
  22158. },
  22159. "models.Ermcp2stockspotchangelog": {
  22160. "type": "object",
  22161. "properties": {
  22162. "accountname": {
  22163. "description": "套期主体",
  22164. "type": "string"
  22165. },
  22166. "aftervalue": {
  22167. "description": "现货量",
  22168. "type": "number"
  22169. },
  22170. "beforevalue": {
  22171. "description": "变更前现货量",
  22172. "type": "number"
  22173. },
  22174. "contractno": {
  22175. "description": "[编号]现货合同编号",
  22176. "type": "string"
  22177. },
  22178. "contracttype": {
  22179. "description": "现货合同类型 - 1:采购 -1:销售",
  22180. "type": "integer"
  22181. },
  22182. "createtime": {
  22183. "description": "创建时间",
  22184. "type": "string"
  22185. },
  22186. "customerusername": {
  22187. "description": "对手方",
  22188. "type": "string"
  22189. },
  22190. "deliverygoodsid": {
  22191. "description": "现货品种ID",
  22192. "type": "integer"
  22193. },
  22194. "exetype": {
  22195. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  22196. "type": "integer"
  22197. },
  22198. "logid": {
  22199. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  22200. "type": "string"
  22201. },
  22202. "logvalue": {
  22203. "description": "[期间变化量]现货量变更值",
  22204. "type": "number"
  22205. },
  22206. "middlegoodschange": {
  22207. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  22208. "type": "number"
  22209. },
  22210. "operatelogtype": {
  22211. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  22212. "type": "integer"
  22213. },
  22214. "relatedid": {
  22215. "description": "现货合同ID",
  22216. "type": "integer"
  22217. },
  22218. "spotgoodsbrandid": {
  22219. "description": "现货品牌ID",
  22220. "type": "integer"
  22221. },
  22222. "tradedate": {
  22223. "description": "交易日(yyyyMMdd)",
  22224. "type": "string"
  22225. },
  22226. "userid": {
  22227. "description": "机构ID",
  22228. "type": "integer"
  22229. },
  22230. "warehouseinfoid": {
  22231. "description": "仓库ID",
  22232. "type": "integer"
  22233. },
  22234. "wrfactortypeid": {
  22235. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22236. "type": "integer"
  22237. },
  22238. "wrstandardid": {
  22239. "description": "现货商品ID",
  22240. "type": "integer"
  22241. },
  22242. "wrstandardname": {
  22243. "description": "商品名称",
  22244. "type": "string"
  22245. }
  22246. }
  22247. },
  22248. "models.Ermcp3AreaSpot": {
  22249. "type": "object",
  22250. "properties": {
  22251. "areauserid": {
  22252. "description": "所属机构",
  22253. "type": "integer"
  22254. },
  22255. "convertratio": {
  22256. "description": "套保系数",
  22257. "type": "number"
  22258. },
  22259. "decreaseqty": {
  22260. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  22261. "type": "number"
  22262. },
  22263. "enumdicname": {
  22264. "description": "单位名称",
  22265. "type": "string"
  22266. },
  22267. "increaseqty": {
  22268. "description": "增加数量=销售计划数量+采购已定价数量",
  22269. "type": "number"
  22270. },
  22271. "oritoalspotqty": {
  22272. "description": "昨日数量",
  22273. "type": "number"
  22274. },
  22275. "totalspotqty": {
  22276. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  22277. "type": "number"
  22278. },
  22279. "unitid": {
  22280. "description": "现货商品单位id",
  22281. "type": "integer"
  22282. },
  22283. "updatetime": {
  22284. "description": "更新时间",
  22285. "type": "string"
  22286. },
  22287. "wrstandardcode": {
  22288. "description": "现货商品代码",
  22289. "type": "string"
  22290. },
  22291. "wrstandardid": {
  22292. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22293. "type": "integer"
  22294. },
  22295. "wrstandardname": {
  22296. "description": "现货商品名称",
  22297. "type": "string"
  22298. }
  22299. }
  22300. },
  22301. "models.Ermcp3AreaSpotDetail": {
  22302. "type": "object",
  22303. "properties": {
  22304. "contracttype": {
  22305. "description": "合同类型 1-采购 -1-销售",
  22306. "type": "integer"
  22307. },
  22308. "createtime": {
  22309. "description": "创建时间",
  22310. "type": "string"
  22311. },
  22312. "enumdicname": {
  22313. "description": "现货商品单位名称",
  22314. "type": "string"
  22315. },
  22316. "logtype": {
  22317. "description": "记录类型 1-套保 2-现货合同",
  22318. "type": "integer"
  22319. },
  22320. "qty": {
  22321. "description": "数量",
  22322. "type": "number"
  22323. },
  22324. "recordname": {
  22325. "description": "类型名称",
  22326. "type": "string"
  22327. },
  22328. "relatedid": {
  22329. "description": "套保计划ID/现货合同ID",
  22330. "type": "string"
  22331. },
  22332. "relatedno": {
  22333. "description": "编号",
  22334. "type": "string"
  22335. },
  22336. "strtime": {
  22337. "description": "时间",
  22338. "type": "string"
  22339. },
  22340. "wrstandardcode": {
  22341. "description": "现货商品代码",
  22342. "type": "string"
  22343. },
  22344. "wrstandardid": {
  22345. "description": "现货商品ID(SEQ_WRSTANDARD)",
  22346. "type": "integer"
  22347. },
  22348. "wrstandardname": {
  22349. "description": "现货商品名称",
  22350. "type": "string"
  22351. }
  22352. }
  22353. },
  22354. "models.Ermcp3AreaSpotPLReport": {
  22355. "type": "object",
  22356. "properties": {
  22357. "accountid": {
  22358. "description": "期货账户ID (作废, 默认为0)",
  22359. "type": "integer"
  22360. },
  22361. "accountname": {
  22362. "description": "机构名称",
  22363. "type": "string"
  22364. },
  22365. "actualpl": {
  22366. "description": "现货损益",
  22367. "type": "number"
  22368. },
  22369. "areauserid": {
  22370. "description": "所属机构\\交易用户ID",
  22371. "type": "integer"
  22372. },
  22373. "begindate": {
  22374. "description": "开始交易日",
  22375. "type": "string"
  22376. },
  22377. "biztype": {
  22378. "description": "业务类型 - 1:套保 2:套利",
  22379. "type": "integer"
  22380. },
  22381. "brandname": {
  22382. "description": "品牌名称",
  22383. "type": "string"
  22384. },
  22385. "curamount": {
  22386. "description": "期末额",
  22387. "type": "number"
  22388. },
  22389. "curaverageprice": {
  22390. "description": "期初均价",
  22391. "type": "number"
  22392. },
  22393. "curbuyamount": {
  22394. "description": "期末采购总额",
  22395. "type": "number"
  22396. },
  22397. "curbuyqty": {
  22398. "description": "期末采购总量",
  22399. "type": "number"
  22400. },
  22401. "curmarketvalue": {
  22402. "description": "期初均价",
  22403. "type": "number"
  22404. },
  22405. "curqty": {
  22406. "description": "期末量",
  22407. "type": "number"
  22408. },
  22409. "currencyid": {
  22410. "description": "结算币种ID【原值】",
  22411. "type": "integer"
  22412. },
  22413. "currencyname": {
  22414. "description": "币种名称",
  22415. "type": "string"
  22416. },
  22417. "cursellamount": {
  22418. "description": "期末销售总额",
  22419. "type": "number"
  22420. },
  22421. "cursellqty": {
  22422. "description": "期末销售总量",
  22423. "type": "number"
  22424. },
  22425. "curspotprice": {
  22426. "description": "期初均价",
  22427. "type": "number"
  22428. },
  22429. "cycletime": {
  22430. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22431. "type": "string"
  22432. },
  22433. "cycletype": {
  22434. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22435. "type": "integer"
  22436. },
  22437. "deliverygoodscode": {
  22438. "description": "现货品种代码",
  22439. "type": "string"
  22440. },
  22441. "deliverygoodsid": {
  22442. "description": "现货品种ID",
  22443. "type": "integer"
  22444. },
  22445. "deliverygoodsname": {
  22446. "description": "现货品种名称",
  22447. "type": "string"
  22448. },
  22449. "enddate": {
  22450. "description": "结束交易日",
  22451. "type": "string"
  22452. },
  22453. "enumdicname": {
  22454. "description": "现货品种单位名称(作废)",
  22455. "type": "string"
  22456. },
  22457. "floatpl": {
  22458. "description": "期初均价",
  22459. "type": "number"
  22460. },
  22461. "goodsunitid": {
  22462. "description": "现货品种单位id(作废)",
  22463. "type": "integer"
  22464. },
  22465. "oriamount": {
  22466. "description": "期初额",
  22467. "type": "number"
  22468. },
  22469. "oriaverageprice": {
  22470. "description": "期初均价",
  22471. "type": "number"
  22472. },
  22473. "oribuyamount": {
  22474. "description": "期初采购总额",
  22475. "type": "number"
  22476. },
  22477. "oribuyqty": {
  22478. "description": "期初采购总量",
  22479. "type": "number"
  22480. },
  22481. "oriqty": {
  22482. "description": "期初量",
  22483. "type": "number"
  22484. },
  22485. "orisellamount": {
  22486. "description": "期初销售总额",
  22487. "type": "number"
  22488. },
  22489. "orisellqty": {
  22490. "description": "期初销售总量",
  22491. "type": "number"
  22492. },
  22493. "reckondate": {
  22494. "description": "日照时期(yyyyMMdd)",
  22495. "type": "string"
  22496. },
  22497. "spotgoodsbrandid": {
  22498. "description": "现货品牌ID",
  22499. "type": "integer"
  22500. },
  22501. "todaybuyamount": {
  22502. "description": "今日采购额(今采购额)",
  22503. "type": "number"
  22504. },
  22505. "todaybuyaverageprice": {
  22506. "description": "期初均价",
  22507. "type": "number"
  22508. },
  22509. "todaybuyqty": {
  22510. "description": "今日采购量(今采购量)",
  22511. "type": "number"
  22512. },
  22513. "todayinqty": {
  22514. "description": "今日入库量(今入库量)",
  22515. "type": "number"
  22516. },
  22517. "todayoutqty": {
  22518. "description": "今日出库量(今出库量)",
  22519. "type": "number"
  22520. },
  22521. "todaysellamount": {
  22522. "description": "今日销售额(今销售额)",
  22523. "type": "number"
  22524. },
  22525. "todaysellaverageprice": {
  22526. "description": "期初均价",
  22527. "type": "number"
  22528. },
  22529. "todaysellqty": {
  22530. "description": "今日销售量(今销售量)",
  22531. "type": "number"
  22532. },
  22533. "unitid": {
  22534. "description": "品类单位id",
  22535. "type": "integer"
  22536. },
  22537. "unitidname": {
  22538. "description": "品类单位名称",
  22539. "type": "string"
  22540. },
  22541. "updatetime": {
  22542. "description": "更新时间",
  22543. "type": "string"
  22544. },
  22545. "wrfactortypeid": {
  22546. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  22547. "type": "integer"
  22548. },
  22549. "wrstandardcode": {
  22550. "description": "现货商品(品类)代码",
  22551. "type": "string"
  22552. },
  22553. "wrstandardid": {
  22554. "description": "现货品类ID",
  22555. "type": "integer"
  22556. },
  22557. "wrstandardname": {
  22558. "description": "现货商品(品类)名称",
  22559. "type": "string"
  22560. }
  22561. }
  22562. },
  22563. "models.Ermcp3AreaStock": {
  22564. "type": "object",
  22565. "required": [
  22566. "userid"
  22567. ],
  22568. "properties": {
  22569. "brandname": {
  22570. "description": "品牌名称",
  22571. "type": "string"
  22572. },
  22573. "curstock": {
  22574. "description": "期末库存量(今日量)",
  22575. "type": "number"
  22576. },
  22577. "deliverygoodscode": {
  22578. "description": "现货品种代码",
  22579. "type": "string"
  22580. },
  22581. "deliverygoodsid": {
  22582. "description": "现货品种id",
  22583. "type": "integer"
  22584. },
  22585. "deliverygoodsname": {
  22586. "description": "现货品种名称",
  22587. "type": "string"
  22588. },
  22589. "enumdicname": {
  22590. "description": "单位名称",
  22591. "type": "string"
  22592. },
  22593. "goodsunitid": {
  22594. "description": "现货商品单位id",
  22595. "type": "integer"
  22596. },
  22597. "oristock": {
  22598. "description": "期初库存量(昨日量)",
  22599. "type": "number"
  22600. },
  22601. "spotgoodsbrandid": {
  22602. "description": "现货品牌ID",
  22603. "type": "integer"
  22604. },
  22605. "todaybuyinqty": {
  22606. "description": "今日采购入库量",
  22607. "type": "number"
  22608. },
  22609. "todayproduceinqty": {
  22610. "description": "今日生产入库量",
  22611. "type": "number"
  22612. },
  22613. "todayproduceoutqty": {
  22614. "description": "今日生产出库量",
  22615. "type": "number"
  22616. },
  22617. "todayselloutqty": {
  22618. "description": "今日销售出库量",
  22619. "type": "number"
  22620. },
  22621. "unitid": {
  22622. "description": "单位id",
  22623. "type": "integer"
  22624. },
  22625. "updatetime": {
  22626. "description": "更新时间",
  22627. "type": "string"
  22628. },
  22629. "userid": {
  22630. "description": "机构ID",
  22631. "type": "integer"
  22632. },
  22633. "username": {
  22634. "description": "机构名称",
  22635. "type": "string"
  22636. },
  22637. "warehousecode": {
  22638. "description": "仓库代码",
  22639. "type": "string"
  22640. },
  22641. "warehouseinfoid": {
  22642. "description": "仓库ID",
  22643. "type": "string"
  22644. },
  22645. "warehousename": {
  22646. "description": "仓库名称",
  22647. "type": "string"
  22648. },
  22649. "warehousetype": {
  22650. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22651. "type": "integer"
  22652. },
  22653. "wrstandardcode": {
  22654. "description": "品类代码",
  22655. "type": "string"
  22656. },
  22657. "wrstandardid": {
  22658. "description": "品类ID",
  22659. "type": "string"
  22660. },
  22661. "wrstandardname": {
  22662. "description": "品类名称",
  22663. "type": "string"
  22664. }
  22665. }
  22666. },
  22667. "models.Ermcp3AreaStockApply": {
  22668. "type": "object",
  22669. "properties": {
  22670. "applyid": {
  22671. "description": "申请人",
  22672. "type": "integer"
  22673. },
  22674. "applyname": {
  22675. "description": "申请人名称",
  22676. "type": "string"
  22677. },
  22678. "applyremark": {
  22679. "description": "申请备注",
  22680. "type": "string"
  22681. },
  22682. "applysrc": {
  22683. "description": "申请来源 - 1:管理端 2:终端",
  22684. "type": "integer"
  22685. },
  22686. "applystatus": {
  22687. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  22688. "type": "integer"
  22689. },
  22690. "applytime": {
  22691. "description": "申请时间",
  22692. "type": "string"
  22693. },
  22694. "auditid": {
  22695. "description": "审核人",
  22696. "type": "integer"
  22697. },
  22698. "auditname": {
  22699. "description": "审核人名称",
  22700. "type": "string"
  22701. },
  22702. "auditremark": {
  22703. "description": "审核备注",
  22704. "type": "string"
  22705. },
  22706. "auditsrc": {
  22707. "description": "审核来源 - 1:管理端 2:终端",
  22708. "type": "integer"
  22709. },
  22710. "audittime": {
  22711. "description": "审核时间",
  22712. "type": "string"
  22713. },
  22714. "audittradedate": {
  22715. "description": "审核交易日(yyyyMMdd)",
  22716. "type": "string"
  22717. },
  22718. "brandname": {
  22719. "description": "品牌名称",
  22720. "type": "string"
  22721. },
  22722. "buynickname": {
  22723. "description": "采购方昵称",
  22724. "type": "string"
  22725. },
  22726. "buyuserid": {
  22727. "description": "采购方userid",
  22728. "type": "integer"
  22729. },
  22730. "buyusername": {
  22731. "description": "采购方名称",
  22732. "type": "string"
  22733. },
  22734. "contractno": {
  22735. "description": "合同编号",
  22736. "type": "string"
  22737. },
  22738. "contractqty": {
  22739. "description": "合同量",
  22740. "type": "number"
  22741. },
  22742. "contracttype": {
  22743. "description": "现货合同类型 - 1:采购 -1:销售",
  22744. "type": "integer"
  22745. },
  22746. "deliverygoodscode": {
  22747. "description": "现货品种代码",
  22748. "type": "string"
  22749. },
  22750. "deliverygoodsid": {
  22751. "description": "现货品种id",
  22752. "type": "integer"
  22753. },
  22754. "deliverygoodsname": {
  22755. "description": "现货品种名称",
  22756. "type": "string"
  22757. },
  22758. "detailjson": {
  22759. "description": "明细数据",
  22760. "type": "string"
  22761. },
  22762. "enumdicname": {
  22763. "description": "现货商品单位名称",
  22764. "type": "string"
  22765. },
  22766. "inoutapplyid": {
  22767. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  22768. "type": "string"
  22769. },
  22770. "inouttype": {
  22771. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22772. "type": "integer"
  22773. },
  22774. "pricetype": {
  22775. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  22776. "type": "integer"
  22777. },
  22778. "qty": {
  22779. "description": "数量",
  22780. "type": "number"
  22781. },
  22782. "sellnickname": {
  22783. "description": "销售方昵称",
  22784. "type": "string"
  22785. },
  22786. "selluserid": {
  22787. "description": "销售方userid",
  22788. "type": "integer"
  22789. },
  22790. "sellusername": {
  22791. "description": "销售方名称",
  22792. "type": "string"
  22793. },
  22794. "spotcontractid": {
  22795. "description": "关联现货合同ID",
  22796. "type": "string"
  22797. },
  22798. "spotgoodsbrandid": {
  22799. "description": "现货品牌ID",
  22800. "type": "integer"
  22801. },
  22802. "unitid": {
  22803. "description": "单位id",
  22804. "type": "integer"
  22805. },
  22806. "userid": {
  22807. "description": "机构ID",
  22808. "type": "integer"
  22809. },
  22810. "warehousecode": {
  22811. "description": "仓库代码",
  22812. "type": "string"
  22813. },
  22814. "warehouseinfoid": {
  22815. "description": "现货仓库ID",
  22816. "type": "string"
  22817. },
  22818. "warehousename": {
  22819. "description": "仓库名称",
  22820. "type": "string"
  22821. },
  22822. "warehousetype": {
  22823. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22824. "type": "integer"
  22825. },
  22826. "wrstandardcode": {
  22827. "description": "品类代码",
  22828. "type": "string"
  22829. },
  22830. "wrstandardid": {
  22831. "description": "品类ID",
  22832. "type": "integer"
  22833. },
  22834. "wrstandardname": {
  22835. "description": "品类名称",
  22836. "type": "string"
  22837. }
  22838. }
  22839. },
  22840. "models.Ermcp3AreaStockApplySum": {
  22841. "type": "object",
  22842. "properties": {
  22843. "brandname": {
  22844. "description": "品牌名称",
  22845. "type": "string"
  22846. },
  22847. "inouttype": {
  22848. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  22849. "type": "integer"
  22850. },
  22851. "spotcontractid": {
  22852. "description": "关联现货合同ID",
  22853. "type": "string"
  22854. },
  22855. "spotgoodsbrandid": {
  22856. "description": "品牌id",
  22857. "type": "integer"
  22858. },
  22859. "totalqty": {
  22860. "description": "总数量",
  22861. "type": "number"
  22862. },
  22863. "wrstandardid": {
  22864. "description": "品类id",
  22865. "type": "integer"
  22866. },
  22867. "wrstandardname": {
  22868. "description": "品类名称",
  22869. "type": "string"
  22870. }
  22871. }
  22872. },
  22873. "models.Ermcp3AreaStockReportEx": {
  22874. "type": "object",
  22875. "properties": {
  22876. "begindate": {
  22877. "description": "开始交易日",
  22878. "type": "string"
  22879. },
  22880. "brandname": {
  22881. "description": "品牌名称",
  22882. "type": "string"
  22883. },
  22884. "curstock": {
  22885. "description": "期末库存量",
  22886. "type": "number"
  22887. },
  22888. "cycletime": {
  22889. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  22890. "type": "string"
  22891. },
  22892. "cycletype": {
  22893. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  22894. "type": "integer"
  22895. },
  22896. "deliverygoodscode": {
  22897. "description": "现货品种代码",
  22898. "type": "string"
  22899. },
  22900. "deliverygoodsid": {
  22901. "description": "现货品种id",
  22902. "type": "integer"
  22903. },
  22904. "deliverygoodsname": {
  22905. "description": "现货品种名称",
  22906. "type": "string"
  22907. },
  22908. "diffqty": {
  22909. "description": "库存变化量 = 期末 - 期初",
  22910. "type": "number"
  22911. },
  22912. "enddate": {
  22913. "description": "结束交易日",
  22914. "type": "string"
  22915. },
  22916. "enumdicname": {
  22917. "description": "单位名称",
  22918. "type": "string"
  22919. },
  22920. "goodsunitid": {
  22921. "description": "现货单位id",
  22922. "type": "integer"
  22923. },
  22924. "oristock": {
  22925. "description": "期初库存量",
  22926. "type": "number"
  22927. },
  22928. "reckondate": {
  22929. "description": "日照时期(yyyyMMdd)",
  22930. "type": "string"
  22931. },
  22932. "spotgoodsbrandid": {
  22933. "description": "现货品牌ID",
  22934. "type": "integer"
  22935. },
  22936. "todaybuyinqty": {
  22937. "description": "今采购入库量",
  22938. "type": "number"
  22939. },
  22940. "todayproduceinqty": {
  22941. "description": "今内部入库量",
  22942. "type": "number"
  22943. },
  22944. "todayproduceoutqty": {
  22945. "description": "今内部出库量",
  22946. "type": "number"
  22947. },
  22948. "todayselloutqty": {
  22949. "description": "今销售出库量",
  22950. "type": "number"
  22951. },
  22952. "unbuyinqty": {
  22953. "description": "采购未入库量(数据库未找到相关字段?)",
  22954. "type": "number"
  22955. },
  22956. "unitid": {
  22957. "description": "品类单位id",
  22958. "type": "integer"
  22959. },
  22960. "unselloutqty": {
  22961. "description": "销售未出库量(数据库未找到相关字段?)",
  22962. "type": "number"
  22963. },
  22964. "updatetime": {
  22965. "description": "更新时间",
  22966. "type": "string"
  22967. },
  22968. "userid": {
  22969. "description": "机构ID",
  22970. "type": "integer"
  22971. },
  22972. "username": {
  22973. "description": "机构名称",
  22974. "type": "string"
  22975. },
  22976. "warehousecode": {
  22977. "description": "仓库代码",
  22978. "type": "string"
  22979. },
  22980. "warehouseinfoid": {
  22981. "description": "仓库ID",
  22982. "type": "string"
  22983. },
  22984. "warehousename": {
  22985. "description": "仓库名称",
  22986. "type": "string"
  22987. },
  22988. "warehousetype": {
  22989. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  22990. "type": "integer"
  22991. },
  22992. "wrstandardcode": {
  22993. "description": "品类代码",
  22994. "type": "string"
  22995. },
  22996. "wrstandardid": {
  22997. "description": "品类ID",
  22998. "type": "integer"
  22999. },
  23000. "wrstandardname": {
  23001. "description": "品类名称",
  23002. "type": "string"
  23003. }
  23004. }
  23005. },
  23006. "models.Ermcp3ArealSumPL": {
  23007. "type": "object",
  23008. "properties": {
  23009. "accountname": {
  23010. "description": "机构名称",
  23011. "type": "string"
  23012. },
  23013. "areauserid": {
  23014. "description": "所属机构\\交易用户ID",
  23015. "type": "integer"
  23016. },
  23017. "begindate": {
  23018. "description": "开始交易日",
  23019. "type": "string"
  23020. },
  23021. "currencyid": {
  23022. "description": "结算币种ID",
  23023. "type": "integer"
  23024. },
  23025. "currencyname": {
  23026. "description": "币种名称",
  23027. "type": "string"
  23028. },
  23029. "cycletime": {
  23030. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23031. "type": "string"
  23032. },
  23033. "cycletype": {
  23034. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23035. "type": "integer"
  23036. },
  23037. "enddate": {
  23038. "description": "结束交易日",
  23039. "type": "string"
  23040. },
  23041. "enumdicname": {
  23042. "description": "单位名称(套保品种)",
  23043. "type": "string"
  23044. },
  23045. "futureactualpl": {
  23046. "description": "期货损益",
  23047. "type": "number"
  23048. },
  23049. "futurefloatpl": {
  23050. "description": "期货浮动损益",
  23051. "type": "number"
  23052. },
  23053. "futurespotratio": {
  23054. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23055. "type": "number"
  23056. },
  23057. "goodsunitid": {
  23058. "description": "套保品种单位id",
  23059. "type": "integer"
  23060. },
  23061. "hedgeexposurepl": {
  23062. "description": "套保敞口损益",
  23063. "type": "number"
  23064. },
  23065. "middlegoodscode": {
  23066. "description": "套保品种代码",
  23067. "type": "string"
  23068. },
  23069. "middlegoodsid": {
  23070. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23071. "type": "integer"
  23072. },
  23073. "middlegoodsname": {
  23074. "description": "套保品种名称",
  23075. "type": "string"
  23076. },
  23077. "reckondate": {
  23078. "description": "日照时期(yyyyMMdd)",
  23079. "type": "string"
  23080. },
  23081. "spotactualpl": {
  23082. "description": "现货损益",
  23083. "type": "number"
  23084. },
  23085. "spotfloatpl": {
  23086. "description": "现货浮动损益",
  23087. "type": "number"
  23088. },
  23089. "sumactualpl": {
  23090. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23091. "type": "number"
  23092. },
  23093. "sumpl": {
  23094. "description": "总敞口损益 | 汇总损益",
  23095. "type": "number"
  23096. },
  23097. "totalfutureqty": {
  23098. "description": "期货头寸总量",
  23099. "type": "number"
  23100. },
  23101. "totalneedhedgeqty": {
  23102. "description": "应套保总量",
  23103. "type": "number"
  23104. },
  23105. "totalspotqty": {
  23106. "description": "现货头寸总量",
  23107. "type": "number"
  23108. },
  23109. "updatetime": {
  23110. "description": "更新时间",
  23111. "type": "string"
  23112. }
  23113. }
  23114. },
  23115. "models.Ermcp3Brand": {
  23116. "type": "object",
  23117. "properties": {
  23118. "areauserid": {
  23119. "description": "用户id",
  23120. "type": "integer"
  23121. },
  23122. "brandid": {
  23123. "description": "品牌id",
  23124. "type": "integer"
  23125. },
  23126. "brandname": {
  23127. "description": "品牌名称",
  23128. "type": "string"
  23129. },
  23130. "deliverygoodsid": {
  23131. "description": "品种ID",
  23132. "type": "integer"
  23133. },
  23134. "isvalid": {
  23135. "description": "是否有效",
  23136. "type": "integer"
  23137. }
  23138. }
  23139. },
  23140. "models.Ermcp3Contract": {
  23141. "type": "object",
  23142. "properties": {
  23143. "accountid": {
  23144. "description": "期货账户id",
  23145. "type": "string"
  23146. },
  23147. "amount": {
  23148. "description": "金额 [1:一口价、3:暂定价]",
  23149. "type": "number"
  23150. },
  23151. "attachment": {
  23152. "description": "附件",
  23153. "type": "string"
  23154. },
  23155. "auditremark": {
  23156. "description": "审核意见",
  23157. "type": "string"
  23158. },
  23159. "audittime": {
  23160. "description": "审核时间",
  23161. "type": "string"
  23162. },
  23163. "biztype": {
  23164. "description": "业务类型 1-套保 2-套利",
  23165. "type": "integer"
  23166. },
  23167. "brandname": {
  23168. "description": "品牌名称",
  23169. "type": "string"
  23170. },
  23171. "buynickname": {
  23172. "description": "销售方昵称",
  23173. "type": "string"
  23174. },
  23175. "buyuserid": {
  23176. "description": "采购方ID",
  23177. "type": "integer"
  23178. },
  23179. "buyusername": {
  23180. "description": "采购方名称",
  23181. "type": "string"
  23182. },
  23183. "contracctstatus": {
  23184. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23185. "type": "integer"
  23186. },
  23187. "contractmargin": {
  23188. "description": "合同保证金",
  23189. "type": "number"
  23190. },
  23191. "contractno": {
  23192. "description": "现货合同编号",
  23193. "type": "string"
  23194. },
  23195. "contracttype": {
  23196. "description": "现货合同类型 - 1:采购 -1:销售",
  23197. "type": "integer"
  23198. },
  23199. "convertfactor": {
  23200. "description": "标仓系数(品类)",
  23201. "type": "number"
  23202. },
  23203. "createtime": {
  23204. "description": "创建时间",
  23205. "type": "string"
  23206. },
  23207. "currencyid": {
  23208. "description": "币种id",
  23209. "type": "integer"
  23210. },
  23211. "currencyname": {
  23212. "description": "币种名称",
  23213. "type": "string"
  23214. },
  23215. "deliveryenddate": {
  23216. "description": "交收期(结束)",
  23217. "type": "string"
  23218. },
  23219. "deliverygoodscode": {
  23220. "description": "现货品种代码",
  23221. "type": "string"
  23222. },
  23223. "deliverygoodsid": {
  23224. "description": "现货品种ID",
  23225. "type": "integer"
  23226. },
  23227. "deliverygoodsname": {
  23228. "description": "现货品种名称",
  23229. "type": "string"
  23230. },
  23231. "deliverystartdate": {
  23232. "description": "交收期(开始)",
  23233. "type": "string"
  23234. },
  23235. "enddate": {
  23236. "description": "点价结束日期 [2:点价 3:暂定价]",
  23237. "type": "string"
  23238. },
  23239. "enumdicname": {
  23240. "description": "单位名称",
  23241. "type": "string"
  23242. },
  23243. "goodscode": {
  23244. "description": "点价合约代码",
  23245. "type": "string"
  23246. },
  23247. "goodsid": {
  23248. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  23249. "type": "integer"
  23250. },
  23251. "goodsname": {
  23252. "description": "点价商品名称",
  23253. "type": "string"
  23254. },
  23255. "margin": {
  23256. "description": "当前保证金",
  23257. "type": "number"
  23258. },
  23259. "meruserid": {
  23260. "description": "跟单员id",
  23261. "type": "integer"
  23262. },
  23263. "meruserlogincode": {
  23264. "description": "跟单员登录代码",
  23265. "type": "string"
  23266. },
  23267. "merusername": {
  23268. "description": "跟单员名称",
  23269. "type": "string"
  23270. },
  23271. "pointdesc": {
  23272. "description": "点价备注",
  23273. "type": "string"
  23274. },
  23275. "price": {
  23276. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  23277. "type": "number"
  23278. },
  23279. "pricemove": {
  23280. "description": "升贴水 [2:点价 3:暂定价]",
  23281. "type": "number"
  23282. },
  23283. "pricetype": {
  23284. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23285. "type": "integer"
  23286. },
  23287. "producttype": {
  23288. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  23289. "type": "integer"
  23290. },
  23291. "qty": {
  23292. "description": "数量",
  23293. "type": "number"
  23294. },
  23295. "remark": {
  23296. "description": "备注",
  23297. "type": "string"
  23298. },
  23299. "saleuserid": {
  23300. "description": "业务员id",
  23301. "type": "integer"
  23302. },
  23303. "saleuserlogincode": {
  23304. "description": "业务员登录代码",
  23305. "type": "string"
  23306. },
  23307. "saleusername": {
  23308. "description": "业务员名称",
  23309. "type": "string"
  23310. },
  23311. "sellnickname": {
  23312. "description": "采购方昵称",
  23313. "type": "string"
  23314. },
  23315. "selluserid": {
  23316. "description": "销售方ID",
  23317. "type": "integer"
  23318. },
  23319. "sellusername": {
  23320. "description": "销售方名称",
  23321. "type": "string"
  23322. },
  23323. "spotcontractid": {
  23324. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23325. "type": "string"
  23326. },
  23327. "spotgoodsbrandid": {
  23328. "description": "现货品牌ID(DGFactoryItem表的ID)",
  23329. "type": "integer"
  23330. },
  23331. "spotgoodsdesc": {
  23332. "description": "商品型号",
  23333. "type": "string"
  23334. },
  23335. "startdate": {
  23336. "description": "点价开始日期 [2:点价 3:暂定价]",
  23337. "type": "string"
  23338. },
  23339. "subjectid": {
  23340. "description": "交易主体ID",
  23341. "type": "integer"
  23342. },
  23343. "subjectname": {
  23344. "description": "交易主体名称",
  23345. "type": "string"
  23346. },
  23347. "tradeuserid": {
  23348. "description": "交易员id",
  23349. "type": "integer"
  23350. },
  23351. "tradeuserlogincode": {
  23352. "description": "交易员登录代码",
  23353. "type": "string"
  23354. },
  23355. "tradeusername": {
  23356. "description": "交易员名称",
  23357. "type": "string"
  23358. },
  23359. "unitid": {
  23360. "description": "单位id(取品类上的单位id)",
  23361. "type": "integer"
  23362. },
  23363. "updatetime": {
  23364. "description": "更新时间",
  23365. "type": "string"
  23366. },
  23367. "userid": {
  23368. "description": "所属机构ID",
  23369. "type": "integer"
  23370. },
  23371. "vatrate": {
  23372. "description": "增值税率",
  23373. "type": "number"
  23374. },
  23375. "wrstandardcode": {
  23376. "description": "品类代码",
  23377. "type": "string"
  23378. },
  23379. "wrstandardid": {
  23380. "description": "品类ID",
  23381. "type": "integer"
  23382. },
  23383. "wrstandardname": {
  23384. "description": "品类名称",
  23385. "type": "string"
  23386. }
  23387. }
  23388. },
  23389. "models.Ermcp3ContractMiddleGoodsCfg": {
  23390. "type": "object",
  23391. "properties": {
  23392. "agreeunit": {
  23393. "description": "合约乘数",
  23394. "type": "number"
  23395. },
  23396. "convertratio": {
  23397. "description": "期货品种系数",
  23398. "type": "number"
  23399. },
  23400. "covertqty": {
  23401. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  23402. "type": "integer"
  23403. },
  23404. "middlegoodsid": {
  23405. "description": "套保品种ID",
  23406. "type": "integer"
  23407. },
  23408. "middlegoodspricedqty3": {
  23409. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  23410. "type": "string",
  23411. "example": "0"
  23412. },
  23413. "pendingpricedqty": {
  23414. "description": "待点价量",
  23415. "type": "string",
  23416. "example": "0"
  23417. },
  23418. "relatedmiddlegoodsqty": {
  23419. "description": "已关联量(套保品种-期货)",
  23420. "type": "string",
  23421. "example": "0"
  23422. },
  23423. "spotcontractid": {
  23424. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  23425. "type": "string"
  23426. }
  23427. }
  23428. },
  23429. "models.Ermcp3ExposureContractDetail": {
  23430. "type": "object",
  23431. "properties": {
  23432. "biztype": {
  23433. "description": "业务类型 1-套保 2-套利",
  23434. "type": "integer"
  23435. },
  23436. "brandname": {
  23437. "description": "品牌名称",
  23438. "type": "string"
  23439. },
  23440. "buyuserid": {
  23441. "description": "采购方id",
  23442. "type": "integer"
  23443. },
  23444. "buyusername": {
  23445. "description": "采购方名称",
  23446. "type": "string"
  23447. },
  23448. "contractno": {
  23449. "description": "合同编号",
  23450. "type": "string"
  23451. },
  23452. "contracttype": {
  23453. "description": "现货合同类型 - 1:采购 -1:销售",
  23454. "type": "integer"
  23455. },
  23456. "convertfactor": {
  23457. "description": "标仓系数",
  23458. "type": "number"
  23459. },
  23460. "convertratio": {
  23461. "description": "折算系数(套保品种)",
  23462. "type": "number"
  23463. },
  23464. "curqty": {
  23465. "description": "今定价量",
  23466. "type": "number"
  23467. },
  23468. "deliverygoodscode": {
  23469. "description": "现货品种代码",
  23470. "type": "string"
  23471. },
  23472. "deliverygoodsid": {
  23473. "description": "现货品种id",
  23474. "type": "integer"
  23475. },
  23476. "deliverygoodsname": {
  23477. "description": "现货品种名称",
  23478. "type": "string"
  23479. },
  23480. "diffhedgeqty": {
  23481. "description": "套保变动量",
  23482. "type": "number"
  23483. },
  23484. "diffneedhedgeqty": {
  23485. "description": "应套保变动量",
  23486. "type": "number"
  23487. },
  23488. "diffqty": {
  23489. "description": "套保品种今变动量",
  23490. "type": "number"
  23491. },
  23492. "enumdicname": {
  23493. "description": "单位名称",
  23494. "type": "string"
  23495. },
  23496. "mgunitname": {
  23497. "description": "套保品种单位名称",
  23498. "type": "string"
  23499. },
  23500. "middlegoodscode": {
  23501. "description": "套保品种代码",
  23502. "type": "string"
  23503. },
  23504. "middlegoodsid": {
  23505. "description": "套保品种id",
  23506. "type": "integer"
  23507. },
  23508. "middlegoodsname": {
  23509. "description": "套保品种名称",
  23510. "type": "string"
  23511. },
  23512. "needarbitrageratio": {
  23513. "description": "应套利比例",
  23514. "type": "number"
  23515. },
  23516. "needhedgeratio": {
  23517. "description": "应套保比例",
  23518. "type": "number"
  23519. },
  23520. "pricedqty": {
  23521. "description": "已定价量",
  23522. "type": "number"
  23523. },
  23524. "qty": {
  23525. "description": "合同量",
  23526. "type": "number"
  23527. },
  23528. "reckondate": {
  23529. "description": "交易日(reckondate)",
  23530. "type": "string"
  23531. },
  23532. "selluserid": {
  23533. "description": "销售方id",
  23534. "type": "integer"
  23535. },
  23536. "sellusername": {
  23537. "description": "销售方名称",
  23538. "type": "string"
  23539. },
  23540. "spotcontractid": {
  23541. "description": "合同id",
  23542. "type": "string"
  23543. },
  23544. "todaypricedqty": {
  23545. "description": "今定价量",
  23546. "type": "number"
  23547. },
  23548. "tradedate": {
  23549. "description": "交易日",
  23550. "type": "string"
  23551. },
  23552. "unitid": {
  23553. "description": "品类单位id",
  23554. "type": "integer"
  23555. },
  23556. "userid": {
  23557. "description": "机构id",
  23558. "type": "integer"
  23559. },
  23560. "username": {
  23561. "description": "交易用户",
  23562. "type": "string"
  23563. },
  23564. "wrstandardcode": {
  23565. "description": "现货商品代码",
  23566. "type": "string"
  23567. },
  23568. "wrstandardid": {
  23569. "description": "现货商品id",
  23570. "type": "integer"
  23571. },
  23572. "wrstandardname": {
  23573. "description": "现货商品名称",
  23574. "type": "string"
  23575. }
  23576. }
  23577. },
  23578. "models.Ermcp3ExposureDetail": {
  23579. "type": "object",
  23580. "properties": {
  23581. "areauserid": {
  23582. "description": "机构ID",
  23583. "type": "integer"
  23584. },
  23585. "changeQty": {
  23586. "description": "套保变动量",
  23587. "type": "number"
  23588. },
  23589. "contracttype": {
  23590. "description": "现货合同类型 - 1:采购 -1:销售",
  23591. "type": "integer"
  23592. },
  23593. "convertfactor": {
  23594. "description": "标仓系数",
  23595. "type": "number"
  23596. },
  23597. "convertratio": {
  23598. "description": "折算系数",
  23599. "type": "number"
  23600. },
  23601. "createtime": {
  23602. "description": "时间",
  23603. "type": "string"
  23604. },
  23605. "enumdicname": {
  23606. "description": "现货商品单位名称",
  23607. "type": "string"
  23608. },
  23609. "logtype": {
  23610. "description": "类型 - 1:套保计划 2:现货合同",
  23611. "type": "integer"
  23612. },
  23613. "mgunitid": {
  23614. "description": "套保品种单位id",
  23615. "type": "integer"
  23616. },
  23617. "mgunitidname": {
  23618. "description": "套保品种单位名称",
  23619. "type": "string"
  23620. },
  23621. "middlegoodsId": {
  23622. "description": "套保商品id",
  23623. "type": "integer"
  23624. },
  23625. "middlegoodscode": {
  23626. "description": "套保商品代码",
  23627. "type": "string"
  23628. },
  23629. "middlegoodsname": {
  23630. "description": "套保商品名称",
  23631. "type": "string"
  23632. },
  23633. "qty": {
  23634. "description": "数量",
  23635. "type": "number"
  23636. },
  23637. "relateNo": {
  23638. "description": "现货合同/套保计划编号",
  23639. "type": "string"
  23640. },
  23641. "unitid": {
  23642. "description": "现货商品单位id",
  23643. "type": "integer"
  23644. },
  23645. "wrstandardcode": {
  23646. "description": "现货商品代码",
  23647. "type": "string"
  23648. },
  23649. "wrstandardid": {
  23650. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23651. "type": "integer"
  23652. },
  23653. "wrstandardname": {
  23654. "description": "现货商品名称",
  23655. "type": "string"
  23656. }
  23657. }
  23658. },
  23659. "models.Ermcp3ExposureFutuDetail": {
  23660. "type": "object",
  23661. "properties": {
  23662. "accountid": {
  23663. "description": "交易账户id",
  23664. "type": "integer"
  23665. },
  23666. "accountname": {
  23667. "description": "交易账户",
  23668. "type": "string"
  23669. },
  23670. "begindate": {
  23671. "description": "开始交易日",
  23672. "type": "string"
  23673. },
  23674. "buyorsell": {
  23675. "description": "方向 0-买 1-卖",
  23676. "type": "integer"
  23677. },
  23678. "diffmgqty": {
  23679. "description": "套保品种今变化量",
  23680. "type": "number"
  23681. },
  23682. "diffneedqty": {
  23683. "description": "应套保总量变化量",
  23684. "type": "number"
  23685. },
  23686. "difftradeqty": {
  23687. "description": "交易品种今变化量",
  23688. "type": "number"
  23689. },
  23690. "enddate": {
  23691. "description": "结束交易日",
  23692. "type": "string"
  23693. },
  23694. "enumdicname": {
  23695. "description": "单位名称",
  23696. "type": "string"
  23697. },
  23698. "goodscode": {
  23699. "description": "商品代码",
  23700. "type": "string"
  23701. },
  23702. "goodsid": {
  23703. "description": "商品id",
  23704. "type": "integer"
  23705. },
  23706. "goodsname": {
  23707. "description": "商品名称",
  23708. "type": "string"
  23709. },
  23710. "holdqty": {
  23711. "description": "期末持仓量",
  23712. "type": "number"
  23713. },
  23714. "middlegoodscode": {
  23715. "description": "套保商品代码",
  23716. "type": "string"
  23717. },
  23718. "middlegoodsid": {
  23719. "description": "套保商品id",
  23720. "type": "integer"
  23721. },
  23722. "middlegoodsname": {
  23723. "description": "套保商品名称",
  23724. "type": "string"
  23725. },
  23726. "oriholdqty": {
  23727. "description": "期初持仓量",
  23728. "type": "number"
  23729. },
  23730. "reckondate": {
  23731. "description": "交易日(RECKONDATE)",
  23732. "type": "string"
  23733. },
  23734. "todaycloseqty": {
  23735. "description": "今平仓量",
  23736. "type": "number"
  23737. },
  23738. "todayopenqty": {
  23739. "description": "今开仓量",
  23740. "type": "number"
  23741. },
  23742. "tradedate": {
  23743. "description": "交易日(RECKONDATE)",
  23744. "type": "string"
  23745. },
  23746. "username": {
  23747. "description": "用户名称(交易用户)",
  23748. "type": "string"
  23749. }
  23750. }
  23751. },
  23752. "models.Ermcp3ExposureHedgeplanDetail": {
  23753. "type": "object",
  23754. "properties": {
  23755. "biztype": {
  23756. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  23757. "type": "integer"
  23758. },
  23759. "changqty": {
  23760. "description": "应套保总量变化量",
  23761. "type": "number"
  23762. },
  23763. "contracttype": {
  23764. "description": "计划类型 - 1:采购 -1:销售",
  23765. "type": "integer"
  23766. },
  23767. "convertratio": {
  23768. "description": "折算系数(套保品种)",
  23769. "type": "number"
  23770. },
  23771. "deliverygoodscode": {
  23772. "description": "现货商品代码",
  23773. "type": "string"
  23774. },
  23775. "deliverygoodsid": {
  23776. "description": "现货商品id",
  23777. "type": "integer"
  23778. },
  23779. "deliverygoodsname": {
  23780. "description": "现货商吕名称",
  23781. "type": "string"
  23782. },
  23783. "dgunitid": {
  23784. "description": "现货商品单位id",
  23785. "type": "integer"
  23786. },
  23787. "dgunitidname": {
  23788. "description": "单位名称(现货商品)",
  23789. "type": "string"
  23790. },
  23791. "diffqty": {
  23792. "description": "套保品种今变动量",
  23793. "type": "number"
  23794. },
  23795. "enumdicname": {
  23796. "description": "单位名称(品类)",
  23797. "type": "string"
  23798. },
  23799. "hedgeplanid": {
  23800. "description": "套保计划id",
  23801. "type": "string"
  23802. },
  23803. "hedgeplanno": {
  23804. "description": "套保计划名称",
  23805. "type": "string"
  23806. },
  23807. "hedgeplanstatus": {
  23808. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23809. "type": "integer"
  23810. },
  23811. "mgunitidname": {
  23812. "description": "单位名称(套保商品)",
  23813. "type": "string"
  23814. },
  23815. "middlegoodscode": {
  23816. "description": "套保品种代码",
  23817. "type": "string"
  23818. },
  23819. "middlegoodsid": {
  23820. "description": "套保品种id",
  23821. "type": "integer"
  23822. },
  23823. "middlegoodsname": {
  23824. "description": "套保品种名称",
  23825. "type": "string"
  23826. },
  23827. "needarbitrageratio": {
  23828. "description": "应套利比例",
  23829. "type": "number"
  23830. },
  23831. "needhedgeratio": {
  23832. "description": "应套保比例",
  23833. "type": "number"
  23834. },
  23835. "pricedqty": {
  23836. "description": "已定价量",
  23837. "type": "number"
  23838. },
  23839. "qty": {
  23840. "description": "合同量",
  23841. "type": "number"
  23842. },
  23843. "reckondate": {
  23844. "description": "交易日(reckondate)",
  23845. "type": "string"
  23846. },
  23847. "tradedate": {
  23848. "description": "交易日(登记日)",
  23849. "type": "string"
  23850. },
  23851. "unitid": {
  23852. "description": "品类单位id",
  23853. "type": "integer"
  23854. },
  23855. "userid": {
  23856. "description": "机构id",
  23857. "type": "integer"
  23858. },
  23859. "wrstandardcode": {
  23860. "description": "品类代码",
  23861. "type": "string"
  23862. },
  23863. "wrstandardid": {
  23864. "description": "品类id",
  23865. "type": "integer"
  23866. },
  23867. "wrstandardname": {
  23868. "description": "品类名称",
  23869. "type": "string"
  23870. }
  23871. }
  23872. },
  23873. "models.Ermcp3ExposureParamChLog": {
  23874. "type": "object",
  23875. "properties": {
  23876. "accountid": {
  23877. "description": "期货账户ID (作废, 默认为0)",
  23878. "type": "integer"
  23879. },
  23880. "aftervalue": {
  23881. "description": "应套保\\套利量变更后(调整后应套保总量)",
  23882. "type": "number"
  23883. },
  23884. "areauserid": {
  23885. "description": "所属机构\\交易用户ID",
  23886. "type": "integer"
  23887. },
  23888. "beforevalue": {
  23889. "description": "应套保\\套利量变更前(调整前应套保总量)",
  23890. "type": "number"
  23891. },
  23892. "begindate": {
  23893. "description": "开始交易日",
  23894. "type": "string"
  23895. },
  23896. "changelogtype": {
  23897. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  23898. "type": "integer"
  23899. },
  23900. "curvalue": {
  23901. "description": "当前套保\\套利量(套保总量|套利总量)",
  23902. "type": "number"
  23903. },
  23904. "diffvalue": {
  23905. "description": "应套保总量变化量",
  23906. "type": "number"
  23907. },
  23908. "enddate": {
  23909. "description": "结束交易日",
  23910. "type": "string"
  23911. },
  23912. "logdatetime": {
  23913. "description": "流水日期",
  23914. "type": "string"
  23915. },
  23916. "logid": {
  23917. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  23918. "type": "string"
  23919. },
  23920. "middlegoodscode": {
  23921. "description": "套保品种代码",
  23922. "type": "string"
  23923. },
  23924. "middlegoodsid": {
  23925. "description": "套保品种",
  23926. "type": "integer"
  23927. },
  23928. "middlegoodsname": {
  23929. "description": "套保品种名称",
  23930. "type": "string"
  23931. },
  23932. "paramaftervalue": {
  23933. "description": "参数变更后(调整后参数值)",
  23934. "type": "number"
  23935. },
  23936. "parambeforevalue": {
  23937. "description": "参数变更前(调整前参数值)",
  23938. "type": "number"
  23939. },
  23940. "reckondate": {
  23941. "description": "交易日(reckondate)",
  23942. "type": "string"
  23943. },
  23944. "tradedate": {
  23945. "description": "交易日(yyyyMMdd)",
  23946. "type": "string"
  23947. }
  23948. }
  23949. },
  23950. "models.Ermcp3ExpourseReport": {
  23951. "type": "object",
  23952. "properties": {
  23953. "accountid": {
  23954. "description": "期货账户ID (作废, 默认为0)",
  23955. "type": "integer"
  23956. },
  23957. "accountname": {
  23958. "description": "机构名称",
  23959. "type": "string"
  23960. },
  23961. "arbitrageqty": {
  23962. "description": "套利量",
  23963. "type": "number"
  23964. },
  23965. "areauserid": {
  23966. "description": "所属机构\\交易用户ID",
  23967. "type": "integer"
  23968. },
  23969. "begindate": {
  23970. "description": "开始交易日",
  23971. "type": "string"
  23972. },
  23973. "buyfutureqty": {
  23974. "description": "买入期货数量",
  23975. "type": "number"
  23976. },
  23977. "buyplanqty": {
  23978. "description": "采购计划数量",
  23979. "type": "number"
  23980. },
  23981. "buypricedqty": {
  23982. "description": "采购合同已定价数量",
  23983. "type": "number"
  23984. },
  23985. "cycletime": {
  23986. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23987. "type": "string"
  23988. },
  23989. "cycletype": {
  23990. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23991. "type": "integer"
  23992. },
  23993. "diffexposure": {
  23994. "description": "变动量(套保敞口)",
  23995. "type": "number"
  23996. },
  23997. "difffutuqty": {
  23998. "description": "变动量(期货)",
  23999. "type": "number"
  24000. },
  24001. "diffhedgeqty": {
  24002. "description": "变动量(现货应套保总量)",
  24003. "type": "number"
  24004. },
  24005. "diffmgqtya": {
  24006. "description": "套保变动量",
  24007. "type": "number"
  24008. },
  24009. "diffmgqtyb": {
  24010. "description": "套利变动量",
  24011. "type": "number"
  24012. },
  24013. "diffneedqty": {
  24014. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24015. "type": "number"
  24016. },
  24017. "diffqty": {
  24018. "description": "变动量(总敞口)",
  24019. "type": "number"
  24020. },
  24021. "diffspotqty": {
  24022. "description": "变动量(现货) | 除税变动量",
  24023. "type": "number"
  24024. },
  24025. "enddate": {
  24026. "description": "结束交易日",
  24027. "type": "string"
  24028. },
  24029. "enumdicname": {
  24030. "description": "单位名称",
  24031. "type": "string"
  24032. },
  24033. "hedgeqty": {
  24034. "description": "套保量",
  24035. "type": "number"
  24036. },
  24037. "mgneedhedgeratio": {
  24038. "description": "套保比例(套保品的)",
  24039. "type": "number"
  24040. },
  24041. "middlegoodsid": {
  24042. "description": "套保品种ID",
  24043. "type": "integer"
  24044. },
  24045. "middlegoodsname": {
  24046. "description": "套保商品名称",
  24047. "type": "string"
  24048. },
  24049. "middlgoodscode": {
  24050. "description": "套保商品代码",
  24051. "type": "string"
  24052. },
  24053. "needarbitrageqty": {
  24054. "description": "应套利量",
  24055. "type": "number"
  24056. },
  24057. "needarbitrageratio": {
  24058. "description": "套利比例(套保品的)",
  24059. "type": "number"
  24060. },
  24061. "needhedgeexposoure": {
  24062. "description": "应套保敞口(套保敞口)",
  24063. "type": "number"
  24064. },
  24065. "needhedgeqty": {
  24066. "description": "应套保量",
  24067. "type": "number"
  24068. },
  24069. "needhedgeratio": {
  24070. "description": "应套保敞口比例",
  24071. "type": "number"
  24072. },
  24073. "needqty": {
  24074. "description": "应套总量 = 应套保量 + 应套利量",
  24075. "type": "number"
  24076. },
  24077. "oriarbitrageqty": {
  24078. "description": "期初套利量",
  24079. "type": "number"
  24080. },
  24081. "oribuyfutureqty": {
  24082. "description": "期初买入期货数量",
  24083. "type": "number"
  24084. },
  24085. "oribuyplanqty": {
  24086. "description": "期初采购计划数量",
  24087. "type": "number"
  24088. },
  24089. "oribuypricedqty": {
  24090. "description": "期初采购合同已定价数量",
  24091. "type": "number"
  24092. },
  24093. "orihedgeqty": {
  24094. "description": "期初套保量",
  24095. "type": "number"
  24096. },
  24097. "orineedarbitrageqty": {
  24098. "description": "期初应套利量",
  24099. "type": "number"
  24100. },
  24101. "orineedhedgeexposoure": {
  24102. "description": "期初应套保敞口",
  24103. "type": "number"
  24104. },
  24105. "orineedhedgeqty": {
  24106. "description": "期初应套保量",
  24107. "type": "number"
  24108. },
  24109. "orisellfutureqty": {
  24110. "description": "期初卖出期货数量",
  24111. "type": "number"
  24112. },
  24113. "orisellplanqty": {
  24114. "description": "期初销售计划数量",
  24115. "type": "number"
  24116. },
  24117. "orisellpricedqty": {
  24118. "description": "期初销售合同已定价数量",
  24119. "type": "number"
  24120. },
  24121. "oritotalexposure": {
  24122. "description": "期初实时总敞口",
  24123. "type": "number"
  24124. },
  24125. "oritotalfutureqty": {
  24126. "description": "期初期货头寸总量",
  24127. "type": "number"
  24128. },
  24129. "oritotalneedhedgeqty": {
  24130. "description": "期初应套保总量",
  24131. "type": "number"
  24132. },
  24133. "oritotalspotqty": {
  24134. "description": "期初现货头寸总量",
  24135. "type": "number"
  24136. },
  24137. "reckondate": {
  24138. "description": "日照时期(yyyyMMdd)",
  24139. "type": "string"
  24140. },
  24141. "sellfutureqty": {
  24142. "description": "卖出期货数量",
  24143. "type": "number"
  24144. },
  24145. "sellplanqty": {
  24146. "description": "销售计划数量",
  24147. "type": "number"
  24148. },
  24149. "sellpricedqty": {
  24150. "description": "销售合同已定价数量",
  24151. "type": "number"
  24152. },
  24153. "totalexposure": {
  24154. "description": "实时总敞口(总敞口)",
  24155. "type": "number"
  24156. },
  24157. "totalfutureqty": {
  24158. "description": "期货头寸总量(期货总量)",
  24159. "type": "number"
  24160. },
  24161. "totalhedgeratio": {
  24162. "description": "敞口比例",
  24163. "type": "number"
  24164. },
  24165. "totalneedhedgeqty": {
  24166. "description": "应套保总量(现货应套保总量)",
  24167. "type": "number"
  24168. },
  24169. "totalspotqty": {
  24170. "description": "现货头寸总量 | 除税总量",
  24171. "type": "number"
  24172. },
  24173. "unitid": {
  24174. "description": "单位id",
  24175. "type": "integer"
  24176. },
  24177. "updatetime": {
  24178. "description": "更新时间",
  24179. "type": "string"
  24180. }
  24181. }
  24182. },
  24183. "models.Ermcp3FinanceReport": {
  24184. "type": "object",
  24185. "properties": {
  24186. "accountname": {
  24187. "description": "机构名称",
  24188. "type": "string"
  24189. },
  24190. "areauserid": {
  24191. "description": "所属机构\\交易用户ID",
  24192. "type": "integer"
  24193. },
  24194. "begindate": {
  24195. "description": "开始交易日",
  24196. "type": "string"
  24197. },
  24198. "biztype": {
  24199. "description": "业务类型 - 1:套保 2:套利",
  24200. "type": "integer"
  24201. },
  24202. "brandname": {
  24203. "description": "品牌名称",
  24204. "type": "string"
  24205. },
  24206. "buypreinvoicedamount": {
  24207. "description": "采购预收票额(预收票额)",
  24208. "type": "number"
  24209. },
  24210. "buyprepaidamount": {
  24211. "description": "采购预付款额(预付货款额)",
  24212. "type": "number"
  24213. },
  24214. "buytodayinvoiceamount": {
  24215. "description": "采购今收票额(今收票额)",
  24216. "type": "number"
  24217. },
  24218. "buytodayrefundamount": {
  24219. "description": "采购今收退款额(今收退款额)",
  24220. "type": "number"
  24221. },
  24222. "buytodaysettleamount": {
  24223. "description": "采购今付款额(今付货款额)",
  24224. "type": "number"
  24225. },
  24226. "buyuninvoicedamount": {
  24227. "description": "采购应收票额(应收票额)",
  24228. "type": "number"
  24229. },
  24230. "buyunpaidamount": {
  24231. "description": "采购应付款额(应付货款额)",
  24232. "type": "number"
  24233. },
  24234. "currencyid": {
  24235. "description": "结算币种ID",
  24236. "type": "integer"
  24237. },
  24238. "currencyname": {
  24239. "description": "币种名称",
  24240. "type": "string"
  24241. },
  24242. "cycletime": {
  24243. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24244. "type": "string"
  24245. },
  24246. "cycletype": {
  24247. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24248. "type": "integer"
  24249. },
  24250. "deliverygoodscode": {
  24251. "description": "现货品种代码",
  24252. "type": "string"
  24253. },
  24254. "deliverygoodsid": {
  24255. "description": "现货品种ID",
  24256. "type": "integer"
  24257. },
  24258. "deliverygoodsname": {
  24259. "description": "现货品种名称",
  24260. "type": "string"
  24261. },
  24262. "enddate": {
  24263. "description": "结束交易日",
  24264. "type": "string"
  24265. },
  24266. "reckondate": {
  24267. "description": "日照时期(yyyyMMdd)",
  24268. "type": "string"
  24269. },
  24270. "sellpreinvoicedamount": {
  24271. "description": "销售预开票额(预开票额)",
  24272. "type": "number"
  24273. },
  24274. "sellprepaidamount": {
  24275. "description": "销售预收款额(预收货款额)",
  24276. "type": "number"
  24277. },
  24278. "selltodayinvoiceamount": {
  24279. "description": "销售今开票额(今开票额)",
  24280. "type": "number"
  24281. },
  24282. "selltodayrefundamount": {
  24283. "description": "销售今付退款额(今付退款额)",
  24284. "type": "number"
  24285. },
  24286. "selltodaysettleamount": {
  24287. "description": "销售今收款额(今收货款额)",
  24288. "type": "number"
  24289. },
  24290. "selluninvoicedamount": {
  24291. "description": "销售应开票额(应开票额)",
  24292. "type": "number"
  24293. },
  24294. "sellunpaidamount": {
  24295. "description": "销售应收款额(应收货款额)",
  24296. "type": "number"
  24297. },
  24298. "spotgoodsbrandid": {
  24299. "description": "现货品牌ID",
  24300. "type": "integer"
  24301. },
  24302. "todaypaysum": {
  24303. "description": "今付款合计",
  24304. "type": "number"
  24305. },
  24306. "todayreceivesum": {
  24307. "description": "今收款合计",
  24308. "type": "number"
  24309. },
  24310. "updatetime": {
  24311. "description": "更新时间",
  24312. "type": "string"
  24313. },
  24314. "wrfactortypeid": {
  24315. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24316. "type": "integer"
  24317. },
  24318. "wrstandardcode": {
  24319. "description": "品类代码",
  24320. "type": "string"
  24321. },
  24322. "wrstandardid": {
  24323. "description": "现货商品ID",
  24324. "type": "integer"
  24325. },
  24326. "wrstandardname": {
  24327. "description": "品类名称",
  24328. "type": "string"
  24329. }
  24330. }
  24331. },
  24332. "models.Ermcp3GoodsGroup": {
  24333. "type": "object",
  24334. "required": [
  24335. "areauserid"
  24336. ],
  24337. "properties": {
  24338. "agreeunit": {
  24339. "description": "合约单位",
  24340. "type": "number"
  24341. },
  24342. "areauserid": {
  24343. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  24344. "type": "integer"
  24345. },
  24346. "canshort": {
  24347. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  24348. "type": "integer"
  24349. },
  24350. "closepricemode": {
  24351. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  24352. "type": "integer"
  24353. },
  24354. "createtime": {
  24355. "description": "创建时间",
  24356. "type": "string"
  24357. },
  24358. "creatorid": {
  24359. "description": "创建人",
  24360. "type": "integer"
  24361. },
  24362. "currencyid": {
  24363. "description": "报价货币ID",
  24364. "type": "integer"
  24365. },
  24366. "decimalplace": {
  24367. "description": "报价小数位",
  24368. "type": "integer"
  24369. },
  24370. "enumdicname": {
  24371. "description": "单位名称",
  24372. "type": "string"
  24373. },
  24374. "exchangefullname": {
  24375. "description": "交易所全称",
  24376. "type": "string"
  24377. },
  24378. "excludecfg": {
  24379. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  24380. "type": "integer"
  24381. },
  24382. "exexchangecode": {
  24383. "description": "交易所代码",
  24384. "type": "string"
  24385. },
  24386. "exexchangeid": {
  24387. "description": "外部交易所ID[通道交易]",
  24388. "type": "integer"
  24389. },
  24390. "exexchangename": {
  24391. "description": "交易所名称",
  24392. "type": "string"
  24393. },
  24394. "goodsgroupid": {
  24395. "description": "商品组ID(自增ID)",
  24396. "type": "integer"
  24397. },
  24398. "goodsgroupname": {
  24399. "description": "商品组名称",
  24400. "type": "string"
  24401. },
  24402. "goodsgroupstatus": {
  24403. "description": "商品组状态 - 1:正常 2:注销",
  24404. "type": "integer"
  24405. },
  24406. "goodunitid": {
  24407. "description": "报价单位ID",
  24408. "type": "integer"
  24409. },
  24410. "groupcategroyid": {
  24411. "description": "品种分类ID",
  24412. "type": "integer"
  24413. },
  24414. "innerdealmode": {
  24415. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  24416. "type": "integer"
  24417. },
  24418. "marketid": {
  24419. "description": "所属市场ID",
  24420. "type": "integer"
  24421. },
  24422. "modifierid": {
  24423. "description": "修改人",
  24424. "type": "integer"
  24425. },
  24426. "modifytime": {
  24427. "description": "修改时间",
  24428. "type": "string"
  24429. },
  24430. "outerdealmode": {
  24431. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  24432. "type": "integer"
  24433. },
  24434. "outergroupcode": {
  24435. "description": "外部商品组代码[通道交易]",
  24436. "type": "string"
  24437. },
  24438. "quoteminunit": {
  24439. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  24440. "type": "integer"
  24441. },
  24442. "quotesourcegroupid": {
  24443. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  24444. "type": "integer"
  24445. },
  24446. "syncgoodsqty": {
  24447. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  24448. "type": "integer"
  24449. }
  24450. }
  24451. },
  24452. "models.Ermcp3HPMiddleGoods": {
  24453. "type": "object",
  24454. "properties": {
  24455. "biztype": {
  24456. "description": "业务类型 1:套保 2:套利",
  24457. "type": "integer"
  24458. },
  24459. "contracttype": {
  24460. "description": "合同类型 1:采购 -1:销售",
  24461. "type": "integer"
  24462. },
  24463. "convertratio": {
  24464. "description": "折算系数",
  24465. "type": "number"
  24466. },
  24467. "customername": {
  24468. "description": "对手手名称",
  24469. "type": "string"
  24470. },
  24471. "customeruserid": {
  24472. "description": "对手id",
  24473. "type": "integer"
  24474. },
  24475. "enumdicname": {
  24476. "description": "现货单位名称",
  24477. "type": "string"
  24478. },
  24479. "hedgeplanid": {
  24480. "description": "计划id",
  24481. "type": "string"
  24482. },
  24483. "hedgeplanno": {
  24484. "description": "计划编号",
  24485. "type": "string"
  24486. },
  24487. "middlegoodsid": {
  24488. "description": "套保品种ID",
  24489. "type": "integer"
  24490. },
  24491. "middlegoodsplanqty3": {
  24492. "description": "应套保计划量",
  24493. "type": "number"
  24494. },
  24495. "needhedgeratio": {
  24496. "description": "套保比例",
  24497. "type": "number"
  24498. },
  24499. "pricedqty": {
  24500. "description": "已定价量",
  24501. "type": "number"
  24502. },
  24503. "relatedmiddlegoodsqty": {
  24504. "description": "已关联量(套保品种)(期货)",
  24505. "type": "number"
  24506. },
  24507. "unitid": {
  24508. "description": "现货单位id",
  24509. "type": "integer"
  24510. },
  24511. "userid": {
  24512. "description": "用户id",
  24513. "type": "integer"
  24514. },
  24515. "vatrate": {
  24516. "description": "增值税率",
  24517. "type": "number"
  24518. },
  24519. "wrstandardcode": {
  24520. "description": "现货商品代码",
  24521. "type": "string"
  24522. },
  24523. "wrstandardid": {
  24524. "description": "现货商品id",
  24525. "type": "integer"
  24526. },
  24527. "wrstandardname": {
  24528. "description": "现货商品名称",
  24529. "type": "string"
  24530. }
  24531. }
  24532. },
  24533. "models.Ermcp3HedgePlan": {
  24534. "type": "object",
  24535. "properties": {
  24536. "accountid": {
  24537. "description": "资金账号",
  24538. "type": "integer"
  24539. },
  24540. "areauserid": {
  24541. "description": "用户ID",
  24542. "type": "integer"
  24543. },
  24544. "auditid": {
  24545. "description": "审核id",
  24546. "type": "integer"
  24547. },
  24548. "auditname": {
  24549. "description": "审核人名称",
  24550. "type": "string"
  24551. },
  24552. "auditremark": {
  24553. "description": "审核备注",
  24554. "type": "string"
  24555. },
  24556. "auditsrc": {
  24557. "description": "审核来源 1-管理端 2-终端",
  24558. "type": "integer"
  24559. },
  24560. "audittime": {
  24561. "description": "审核时间",
  24562. "type": "string"
  24563. },
  24564. "contracttype": {
  24565. "description": "计划类型 - 1:采购 -1:销售",
  24566. "type": "integer"
  24567. },
  24568. "convertfactor": {
  24569. "description": "标仓系数",
  24570. "type": "number"
  24571. },
  24572. "createtime": {
  24573. "description": "创建时间",
  24574. "type": "string"
  24575. },
  24576. "currencyid": {
  24577. "description": "币种id",
  24578. "type": "integer"
  24579. },
  24580. "currencyname": {
  24581. "description": "币种名称",
  24582. "type": "string"
  24583. },
  24584. "deliverygoodscode": {
  24585. "description": "现货品种代码",
  24586. "type": "string"
  24587. },
  24588. "deliverygoodsid": {
  24589. "description": "现货品种ID",
  24590. "type": "integer"
  24591. },
  24592. "deliverygoodsname": {
  24593. "description": "现货品种名称",
  24594. "type": "string"
  24595. },
  24596. "enumdicname": {
  24597. "description": "单位名称(现货商品)",
  24598. "type": "string"
  24599. },
  24600. "hedgeplanid": {
  24601. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  24602. "type": "string"
  24603. },
  24604. "hedgeplanno": {
  24605. "description": "套保计划编号(名称)",
  24606. "type": "string"
  24607. },
  24608. "hedgeplanstatus": {
  24609. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24610. "type": "integer"
  24611. },
  24612. "planqty": {
  24613. "description": "计划数量",
  24614. "type": "number"
  24615. },
  24616. "plantime": {
  24617. "description": "计划时间",
  24618. "type": "string"
  24619. },
  24620. "producttype": {
  24621. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24622. "type": "integer"
  24623. },
  24624. "remark": {
  24625. "description": "备注",
  24626. "type": "string"
  24627. },
  24628. "spotgoodsdesc": {
  24629. "description": "商品型号",
  24630. "type": "string"
  24631. },
  24632. "taaccountname": {
  24633. "description": "资金账号名称",
  24634. "type": "string"
  24635. },
  24636. "tradeuserid": {
  24637. "description": "交易用户id",
  24638. "type": "integer"
  24639. },
  24640. "tradeusername": {
  24641. "description": "交易用户名称",
  24642. "type": "string"
  24643. },
  24644. "unitid": {
  24645. "description": "单位id(现货商品)",
  24646. "type": "integer"
  24647. },
  24648. "updatetime": {
  24649. "description": "更新时间",
  24650. "type": "string"
  24651. },
  24652. "vatrate": {
  24653. "description": "增值税率",
  24654. "type": "number"
  24655. },
  24656. "wrstandardcode": {
  24657. "description": "品类代码",
  24658. "type": "string"
  24659. },
  24660. "wrstandardid": {
  24661. "description": "品类id",
  24662. "type": "integer"
  24663. },
  24664. "wrstandardname": {
  24665. "description": "品类名称",
  24666. "type": "string"
  24667. },
  24668. "wrunitid": {
  24669. "description": "品类单位id",
  24670. "type": "integer"
  24671. },
  24672. "wrunitidame": {
  24673. "description": "品类单位名称",
  24674. "type": "string"
  24675. }
  24676. }
  24677. },
  24678. "models.Ermcp3InnerTradeLink": {
  24679. "type": "object",
  24680. "properties": {
  24681. "accountid": {
  24682. "description": "期货账号代码 | 资金账号ID",
  24683. "type": "integer"
  24684. },
  24685. "buyorsell": {
  24686. "description": "方向 - 0:买 1:卖",
  24687. "type": "integer"
  24688. },
  24689. "channelbuildtype": {
  24690. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24691. "type": "integer"
  24692. },
  24693. "currencyid": {
  24694. "description": "币种id",
  24695. "type": "integer"
  24696. },
  24697. "currencyname": {
  24698. "description": "结算币种 名称",
  24699. "type": "string"
  24700. },
  24701. "goodscode": {
  24702. "description": "商品代码",
  24703. "type": "string"
  24704. },
  24705. "goodsid": {
  24706. "description": "商品ID",
  24707. "type": "integer"
  24708. },
  24709. "goodsname": {
  24710. "description": "商品名称",
  24711. "type": "string"
  24712. },
  24713. "outtradeid": {
  24714. "description": "外部成交单号",
  24715. "type": "string"
  24716. },
  24717. "taname": {
  24718. "description": "期货账户名称",
  24719. "type": "string"
  24720. },
  24721. "tradeid": {
  24722. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24723. "type": "string"
  24724. },
  24725. "tradeprice": {
  24726. "description": "成交价格",
  24727. "type": "number"
  24728. },
  24729. "tradeqty": {
  24730. "description": "期货成交数量",
  24731. "type": "integer"
  24732. },
  24733. "tradetime": {
  24734. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  24735. "type": "string"
  24736. },
  24737. "username": {
  24738. "description": "用户名称",
  24739. "type": "string"
  24740. }
  24741. }
  24742. },
  24743. "models.Ermcp3OutTradeLink": {
  24744. "type": "object",
  24745. "properties": {
  24746. "buyorsell": {
  24747. "description": "买卖方向 - 0:买 1:卖",
  24748. "type": "integer"
  24749. },
  24750. "channelbuildtype": {
  24751. "description": "开平标志- 0:无 1:建仓 2:平仓",
  24752. "type": "integer"
  24753. },
  24754. "currencyname": {
  24755. "description": "币种名称",
  24756. "type": "string"
  24757. },
  24758. "exexchangecode": {
  24759. "description": "交易所代码",
  24760. "type": "string"
  24761. },
  24762. "exexchangename": {
  24763. "description": "交易所名称",
  24764. "type": "string"
  24765. },
  24766. "goodscode": {
  24767. "description": "合约代码",
  24768. "type": "string"
  24769. },
  24770. "goodsid": {
  24771. "description": "合约id",
  24772. "type": "integer"
  24773. },
  24774. "goodsname": {
  24775. "description": "合约名称",
  24776. "type": "string"
  24777. },
  24778. "hasinnerorder": {
  24779. "description": "是否有内部单关联 - 0:无 1:有",
  24780. "type": "integer"
  24781. },
  24782. "hedgeaccountcode": {
  24783. "description": "外部账号 | 对冲账号",
  24784. "type": "string"
  24785. },
  24786. "outtradeid": {
  24787. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  24788. "type": "string"
  24789. },
  24790. "tradeprice": {
  24791. "description": "成交价格",
  24792. "type": "number"
  24793. },
  24794. "tradeqty": {
  24795. "description": "成交数量",
  24796. "type": "integer"
  24797. },
  24798. "tradetime": {
  24799. "description": "成交时间",
  24800. "type": "string"
  24801. }
  24802. }
  24803. },
  24804. "models.Ermcp3PaAreaAuditCfg": {
  24805. "type": "object",
  24806. "properties": {
  24807. "areauserid": {
  24808. "description": "用户ID",
  24809. "type": "integer"
  24810. },
  24811. "buyinauditflag": {
  24812. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  24813. "type": "integer"
  24814. },
  24815. "costratioauditflag": {
  24816. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  24817. "type": "integer"
  24818. },
  24819. "customerauditflag": {
  24820. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  24821. "type": "integer"
  24822. },
  24823. "deliveryauditflag": {
  24824. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  24825. "type": "integer"
  24826. },
  24827. "invoiceauditflag": {
  24828. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  24829. "type": "integer"
  24830. },
  24831. "mgneedhedgeratioauditflag": {
  24832. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  24833. "type": "integer"
  24834. },
  24835. "moneyauditflag": {
  24836. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  24837. "type": "integer"
  24838. },
  24839. "operatorid": {
  24840. "description": "操作人",
  24841. "type": "integer"
  24842. },
  24843. "operatorsrc": {
  24844. "description": "操作来源 - 1:管理端 2:终端",
  24845. "type": "integer"
  24846. },
  24847. "pointpriceauditflag": {
  24848. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  24849. "type": "integer"
  24850. },
  24851. "produceinauditflag": {
  24852. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  24853. "type": "integer"
  24854. },
  24855. "produceoutauditflag": {
  24856. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  24857. "type": "integer"
  24858. },
  24859. "selloutauditflag": {
  24860. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  24861. "type": "integer"
  24862. },
  24863. "sgconvertratioauditflag": {
  24864. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  24865. "type": "integer"
  24866. },
  24867. "sgvtaratioauditflag": {
  24868. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  24869. "type": "integer"
  24870. },
  24871. "spotcontractauditflag": {
  24872. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  24873. "type": "integer"
  24874. },
  24875. "updatetime": {
  24876. "description": "更新时间",
  24877. "type": "string"
  24878. }
  24879. }
  24880. },
  24881. "models.Ermcp3PaAreaSubject": {
  24882. "type": "object",
  24883. "properties": {
  24884. "areauserid": {
  24885. "description": "所属机构",
  24886. "type": "integer"
  24887. },
  24888. "canmodify": {
  24889. "description": "是否可修改 - 0:否 1:是",
  24890. "type": "integer"
  24891. },
  24892. "createtime": {
  24893. "description": "创建时间",
  24894. "type": "string"
  24895. },
  24896. "creatorid": {
  24897. "description": "创建人ID",
  24898. "type": "string"
  24899. },
  24900. "creatorsrc": {
  24901. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  24902. "type": "integer"
  24903. },
  24904. "modifierid": {
  24905. "description": "修改人",
  24906. "type": "string"
  24907. },
  24908. "modifiersrc": {
  24909. "description": "修改人来源 - 1:管理端 2:终端",
  24910. "type": "integer"
  24911. },
  24912. "modifytime": {
  24913. "description": "修改时间",
  24914. "type": "string"
  24915. },
  24916. "parentsubjectid": {
  24917. "description": "上级主体ID",
  24918. "type": "string"
  24919. },
  24920. "remark": {
  24921. "description": "备注",
  24922. "type": "string"
  24923. },
  24924. "subjectid": {
  24925. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  24926. "type": "integer"
  24927. },
  24928. "subjectname": {
  24929. "description": "主体名称",
  24930. "type": "string"
  24931. },
  24932. "subjectstatus": {
  24933. "description": "主体状态 - 1:正常 2: 停用",
  24934. "type": "integer"
  24935. },
  24936. "subjecttype": {
  24937. "description": "主体类型 - 1:交易主体 2:业务部门",
  24938. "type": "integer"
  24939. }
  24940. }
  24941. },
  24942. "models.Ermcp3PaTradeLink": {
  24943. "type": "object",
  24944. "properties": {
  24945. "accountid": {
  24946. "description": "期货账户代码 | 账号ID",
  24947. "type": "integer"
  24948. },
  24949. "agreeunit": {
  24950. "description": "合约乘数",
  24951. "type": "number"
  24952. },
  24953. "buyorsell": {
  24954. "description": "方向 - 0:买 1:卖",
  24955. "type": "integer"
  24956. },
  24957. "channelbuildtype": {
  24958. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  24959. "type": "integer"
  24960. },
  24961. "charge": {
  24962. "description": "手续费",
  24963. "type": "number"
  24964. },
  24965. "closepl": {
  24966. "description": "平仓盈亏",
  24967. "type": "number"
  24968. },
  24969. "closetype": {
  24970. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  24971. "type": "integer"
  24972. },
  24973. "convertratio": {
  24974. "description": "折算系数",
  24975. "type": "number"
  24976. },
  24977. "enumdicname": {
  24978. "description": "单位名称",
  24979. "type": "string"
  24980. },
  24981. "executeprice": {
  24982. "description": "执行价 [期权]",
  24983. "type": "integer"
  24984. },
  24985. "goodscode": {
  24986. "description": "合约代码",
  24987. "type": "string"
  24988. },
  24989. "goodsgroupid": {
  24990. "description": "对冲品种ID[期货合约商品组ID]",
  24991. "type": "integer"
  24992. },
  24993. "goodsid": {
  24994. "description": "商品ID",
  24995. "type": "integer"
  24996. },
  24997. "goodsname": {
  24998. "description": "合约名称",
  24999. "type": "string"
  25000. },
  25001. "goodunitid": {
  25002. "description": "单位id",
  25003. "type": "integer"
  25004. },
  25005. "hedgeflag": {
  25006. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25007. "type": "integer"
  25008. },
  25009. "marketid": {
  25010. "description": "市场ID",
  25011. "type": "integer"
  25012. },
  25013. "middlegoodsid": {
  25014. "description": "套保品种ID",
  25015. "type": "integer"
  25016. },
  25017. "middlegoodsqty": {
  25018. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25019. "type": "number"
  25020. },
  25021. "optioncode": {
  25022. "description": "期权代码 [期权]",
  25023. "type": "string"
  25024. },
  25025. "ordertype": {
  25026. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25027. "type": "integer"
  25028. },
  25029. "ordertypename": {
  25030. "description": "订单类型",
  25031. "type": "string"
  25032. },
  25033. "parentaccountid": {
  25034. "description": "所属母账户",
  25035. "type": "integer"
  25036. },
  25037. "premium": {
  25038. "description": "权利金 [期权]",
  25039. "type": "number"
  25040. },
  25041. "relatedlot": {
  25042. "description": "已关联数量(已关联数量手) | db:关联手数",
  25043. "type": "number"
  25044. },
  25045. "relatedouttradeid": {
  25046. "description": "关联外部成交单ID",
  25047. "type": "string"
  25048. },
  25049. "relatedqty": {
  25050. "description": "关联数量",
  25051. "type": "number"
  25052. },
  25053. "spotcontractid": {
  25054. "description": "现货合同ID [4:套期保值\\10\\11]",
  25055. "type": "string"
  25056. },
  25057. "taname": {
  25058. "description": "期货账户名称",
  25059. "type": "string"
  25060. },
  25061. "tradeamount": {
  25062. "description": "成交金额(账户)",
  25063. "type": "number"
  25064. },
  25065. "tradedate": {
  25066. "description": "交易日(yyyyMMdd)",
  25067. "type": "string"
  25068. },
  25069. "tradeid": {
  25070. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25071. "type": "string"
  25072. },
  25073. "tradelot": {
  25074. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25075. "type": "integer"
  25076. },
  25077. "tradeprice": {
  25078. "description": "成交价格",
  25079. "type": "number"
  25080. },
  25081. "tradetime": {
  25082. "description": "时间 | db:成交时间",
  25083. "type": "string"
  25084. },
  25085. "tradetype": {
  25086. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25087. "type": "integer"
  25088. },
  25089. "userid": {
  25090. "description": "所属机构 - 所属母账户的UserID",
  25091. "type": "string"
  25092. },
  25093. "username": {
  25094. "description": "用户名称",
  25095. "type": "string"
  25096. }
  25097. }
  25098. },
  25099. "models.Ermcp3ParamChangeApp": {
  25100. "type": "object",
  25101. "properties": {
  25102. "aftervalue": {
  25103. "description": "变更后",
  25104. "type": "number"
  25105. },
  25106. "applicationid": {
  25107. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25108. "type": "string"
  25109. },
  25110. "applyid": {
  25111. "description": "申请人",
  25112. "type": "string"
  25113. },
  25114. "applyname": {
  25115. "description": "申请人名称(代码)",
  25116. "type": "string"
  25117. },
  25118. "applyremark": {
  25119. "description": "申请备注",
  25120. "type": "string"
  25121. },
  25122. "applysrc": {
  25123. "description": "申请来源 - 1:管理端 2:终端",
  25124. "type": "integer"
  25125. },
  25126. "applystatus": {
  25127. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25128. "type": "integer"
  25129. },
  25130. "applytime": {
  25131. "description": "申请时间",
  25132. "type": "string"
  25133. },
  25134. "areauserid": {
  25135. "description": "所属机构用户ID",
  25136. "type": "integer"
  25137. },
  25138. "auditid": {
  25139. "description": "审核人",
  25140. "type": "string"
  25141. },
  25142. "auditname": {
  25143. "description": "审核人名称(代码)",
  25144. "type": "string"
  25145. },
  25146. "auditremark": {
  25147. "description": "审核备注",
  25148. "type": "string"
  25149. },
  25150. "auditsrc": {
  25151. "description": "审核来源 - 1:管理端 2:终端",
  25152. "type": "integer"
  25153. },
  25154. "audittime": {
  25155. "description": "审核时间",
  25156. "type": "string"
  25157. },
  25158. "audittradedate": {
  25159. "description": "审核交易日(yyyyMMdd)",
  25160. "type": "string"
  25161. },
  25162. "beforevalue": {
  25163. "description": "变更前",
  25164. "type": "number"
  25165. },
  25166. "deliverygoodscode": {
  25167. "description": "品种代码",
  25168. "type": "string"
  25169. },
  25170. "deliverygoodsid": {
  25171. "description": "品种id",
  25172. "type": "integer"
  25173. },
  25174. "deliverygoodsname": {
  25175. "description": "品种名称",
  25176. "type": "string"
  25177. },
  25178. "middlegoodscode": {
  25179. "description": "套保品种代码",
  25180. "type": "string"
  25181. },
  25182. "middlegoodsid": {
  25183. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  25184. "type": "integer"
  25185. },
  25186. "middlegoodsname": {
  25187. "description": "套保品种名称",
  25188. "type": "string"
  25189. },
  25190. "operatetype": {
  25191. "description": "操作类型 - 1:新增 2:修改",
  25192. "type": "integer"
  25193. },
  25194. "paramchangetype": {
  25195. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  25196. "type": "integer"
  25197. },
  25198. "wrstandardcode": {
  25199. "description": "现货商品代码",
  25200. "type": "string"
  25201. },
  25202. "wrstandardid": {
  25203. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  25204. "type": "integer"
  25205. },
  25206. "wrstandardname": {
  25207. "description": "现货商品名称",
  25208. "type": "string"
  25209. }
  25210. }
  25211. },
  25212. "models.Ermcp3RootUserAccount": {
  25213. "type": "object",
  25214. "properties": {
  25215. "accountname": {
  25216. "description": "账户名称(机构名称)",
  25217. "type": "string"
  25218. },
  25219. "accountstatus": {
  25220. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  25221. "type": "integer"
  25222. },
  25223. "applysrc": {
  25224. "description": "申请来源 - 1:管理端 2:终端",
  25225. "type": "integer"
  25226. },
  25227. "auditremark": {
  25228. "description": "审核备注",
  25229. "type": "string"
  25230. },
  25231. "auditsrc": {
  25232. "description": "审核来源 - 1:管理端 2:终端",
  25233. "type": "integer"
  25234. },
  25235. "audittime": {
  25236. "description": "审核时间",
  25237. "type": "string"
  25238. },
  25239. "audituserid": {
  25240. "description": "审核人",
  25241. "type": "integer"
  25242. },
  25243. "broker": {
  25244. "description": "所属经纪人ID",
  25245. "type": "integer"
  25246. },
  25247. "canceltime": {
  25248. "description": "销户时间",
  25249. "type": "string"
  25250. },
  25251. "canceluserid": {
  25252. "description": "销户人",
  25253. "type": "integer"
  25254. },
  25255. "canrecommend": {
  25256. "description": "是否可推荐 - 0:不可 1;可",
  25257. "type": "integer"
  25258. },
  25259. "createtime": {
  25260. "description": "创建时间",
  25261. "type": "string"
  25262. },
  25263. "creatorid": {
  25264. "description": "创建人",
  25265. "type": "integer"
  25266. },
  25267. "hasauth": {
  25268. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  25269. "type": "integer"
  25270. },
  25271. "isanonymous": {
  25272. "description": "是否匿名下单 - 0:否 1:是",
  25273. "type": "integer"
  25274. },
  25275. "maxinvestornum": {
  25276. "description": "最大用户数(经纪会员下投资者个数)",
  25277. "type": "integer"
  25278. },
  25279. "memberuserid": {
  25280. "description": "所属会员ID",
  25281. "type": "integer"
  25282. },
  25283. "modifierid": {
  25284. "description": "修改人",
  25285. "type": "integer"
  25286. },
  25287. "modifyremark": {
  25288. "description": "变更备注",
  25289. "type": "string"
  25290. },
  25291. "modifystatus": {
  25292. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  25293. "type": "integer"
  25294. },
  25295. "modifytime": {
  25296. "description": "修改时间",
  25297. "type": "string"
  25298. },
  25299. "nickname": {
  25300. "description": "昵称",
  25301. "type": "string"
  25302. },
  25303. "parenttopuser": {
  25304. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  25305. "type": "string"
  25306. },
  25307. "parentuserid": {
  25308. "description": "所属机构ID",
  25309. "type": "integer"
  25310. },
  25311. "reckonaccountid": {
  25312. "description": "默认结算资金账号ID(机构分润使用) 作废",
  25313. "type": "integer"
  25314. },
  25315. "refercount": {
  25316. "description": "推荐总人数",
  25317. "type": "integer"
  25318. },
  25319. "refereeuserid": {
  25320. "description": "推荐人ID",
  25321. "type": "integer"
  25322. },
  25323. "refernum": {
  25324. "description": "推荐码",
  25325. "type": "string"
  25326. },
  25327. "rootuserid": {
  25328. "description": "根用户ID",
  25329. "type": "integer"
  25330. },
  25331. "subaccountlevel": {
  25332. "description": "子账户层数",
  25333. "type": "integer"
  25334. },
  25335. "subarealevelpath": {
  25336. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  25337. "type": "string"
  25338. },
  25339. "userid": {
  25340. "description": "用户ID",
  25341. "type": "integer"
  25342. },
  25343. "usertype": {
  25344. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  25345. "type": "integer"
  25346. }
  25347. }
  25348. },
  25349. "models.Ermcp3SCMiddleGoods": {
  25350. "type": "object",
  25351. "properties": {
  25352. "biztype": {
  25353. "description": "业务类型 1:套保 2:套利",
  25354. "type": "integer"
  25355. },
  25356. "contractno": {
  25357. "description": "合同编号",
  25358. "type": "string"
  25359. },
  25360. "contracttype": {
  25361. "description": "合同类型 1:采购 -1:销售",
  25362. "type": "integer"
  25363. },
  25364. "convertratio": {
  25365. "description": "折算系数",
  25366. "type": "number"
  25367. },
  25368. "customername": {
  25369. "description": "对手手名称",
  25370. "type": "string"
  25371. },
  25372. "customeruserid": {
  25373. "description": "对手id",
  25374. "type": "integer"
  25375. },
  25376. "deliverygoodscode": {
  25377. "description": "现货品种代码",
  25378. "type": "string"
  25379. },
  25380. "deliverygoodsid": {
  25381. "description": "现货品种ID",
  25382. "type": "integer"
  25383. },
  25384. "deliverygoodsname": {
  25385. "description": "现货品种名称",
  25386. "type": "string"
  25387. },
  25388. "enumdicname": {
  25389. "description": "现货单位名称",
  25390. "type": "string"
  25391. },
  25392. "middlegoodsid": {
  25393. "description": "套保品种ID",
  25394. "type": "integer"
  25395. },
  25396. "middlegoodspricedqty3": {
  25397. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  25398. "type": "number"
  25399. },
  25400. "needhedgeratio": {
  25401. "description": "套保比例",
  25402. "type": "number"
  25403. },
  25404. "pricedqty": {
  25405. "description": "已定价量",
  25406. "type": "number"
  25407. },
  25408. "relatedmiddlegoodsqty": {
  25409. "description": "已关联量(套保品种)(期货)",
  25410. "type": "number"
  25411. },
  25412. "spotcontractid": {
  25413. "description": "合同编号",
  25414. "type": "string"
  25415. },
  25416. "unitid": {
  25417. "description": "现货单位id",
  25418. "type": "integer"
  25419. },
  25420. "userid": {
  25421. "description": "用户id",
  25422. "type": "integer"
  25423. },
  25424. "vatrate": {
  25425. "description": "增值税率",
  25426. "type": "number"
  25427. },
  25428. "wrstandardcode": {
  25429. "description": "现货商品代码",
  25430. "type": "string"
  25431. },
  25432. "wrstandardid": {
  25433. "description": "现货商品id",
  25434. "type": "integer"
  25435. },
  25436. "wrstandardname": {
  25437. "description": "现货商品名称",
  25438. "type": "string"
  25439. }
  25440. }
  25441. },
  25442. "models.Ermcp3SCMiddleGoodsReport": {
  25443. "type": "object",
  25444. "properties": {
  25445. "begindate": {
  25446. "description": "开始交易日",
  25447. "type": "string"
  25448. },
  25449. "contractno": {
  25450. "description": "合同编号",
  25451. "type": "string"
  25452. },
  25453. "contracttype": {
  25454. "description": "合同类型 1:采购 -1:销售",
  25455. "type": "integer"
  25456. },
  25457. "convertratio": {
  25458. "description": "期初均价",
  25459. "type": "number"
  25460. },
  25461. "cycletime": {
  25462. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25463. "type": "string"
  25464. },
  25465. "cycletype": {
  25466. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25467. "type": "integer"
  25468. },
  25469. "deliverygoodscode": {
  25470. "description": "品种代码",
  25471. "type": "string"
  25472. },
  25473. "deliverygoodsid": {
  25474. "description": "现货品种ID",
  25475. "type": "integer"
  25476. },
  25477. "deliverygoodsname": {
  25478. "description": "品种名称",
  25479. "type": "string"
  25480. },
  25481. "diffprice": {
  25482. "description": "期初均价",
  25483. "type": "number"
  25484. },
  25485. "diffqty": {
  25486. "description": "期初均价",
  25487. "type": "number"
  25488. },
  25489. "enddate": {
  25490. "description": "结束交易日",
  25491. "type": "string"
  25492. },
  25493. "hedgeplanqty": {
  25494. "description": "期初均价",
  25495. "type": "number"
  25496. },
  25497. "matchname": {
  25498. "description": "交易对手方(个人:用户名称 企业:简称)",
  25499. "type": "string"
  25500. },
  25501. "matchnickname": {
  25502. "description": "交易对手方昵称",
  25503. "type": "string"
  25504. },
  25505. "middlegoodscode": {
  25506. "description": "套保品种代码",
  25507. "type": "string"
  25508. },
  25509. "middlegoodsid": {
  25510. "description": "套保品种ID",
  25511. "type": "integer"
  25512. },
  25513. "middlegoodsname": {
  25514. "description": "套保品种名称",
  25515. "type": "string"
  25516. },
  25517. "middlegoodspricedqty": {
  25518. "description": "期初均价",
  25519. "type": "number"
  25520. },
  25521. "middlegoodspricedqty2": {
  25522. "description": "期初均价",
  25523. "type": "number"
  25524. },
  25525. "middlegoodspricedqty3": {
  25526. "description": "期初均价",
  25527. "type": "number"
  25528. },
  25529. "needhedgeratio": {
  25530. "description": "期初均价",
  25531. "type": "number"
  25532. },
  25533. "pricedamount": {
  25534. "description": "期初均价",
  25535. "type": "number"
  25536. },
  25537. "pricedamount2": {
  25538. "description": "期初均价",
  25539. "type": "number"
  25540. },
  25541. "pricedqty": {
  25542. "description": "期初均价",
  25543. "type": "number"
  25544. },
  25545. "reckondate": {
  25546. "description": "日照时期(yyyyMMdd)",
  25547. "type": "string"
  25548. },
  25549. "relatedmiddlegoodsamount": {
  25550. "description": "期初均价",
  25551. "type": "number"
  25552. },
  25553. "relatedmiddlegoodsqty": {
  25554. "description": "期初均价",
  25555. "type": "number"
  25556. },
  25557. "spotcontractid": {
  25558. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25559. "type": "string"
  25560. },
  25561. "todayavgfutuprice": {
  25562. "description": "期初均价",
  25563. "type": "number"
  25564. },
  25565. "todayavgprice": {
  25566. "description": "期初均价",
  25567. "type": "number"
  25568. },
  25569. "todayavgprice2": {
  25570. "description": "期初均价",
  25571. "type": "number"
  25572. },
  25573. "todaypricedamount": {
  25574. "description": "期初均价",
  25575. "type": "number"
  25576. },
  25577. "todaypricedamount2": {
  25578. "description": "期初均价",
  25579. "type": "number"
  25580. },
  25581. "todaypricedqty": {
  25582. "description": "期初均价",
  25583. "type": "number"
  25584. },
  25585. "todayrelatedfutureqty": {
  25586. "description": "期初均价",
  25587. "type": "number"
  25588. },
  25589. "todayrelatedmiddlegoodsamount": {
  25590. "description": "期初均价",
  25591. "type": "number"
  25592. },
  25593. "todayrelatedmiddlegoodsqty": {
  25594. "description": "期初均价",
  25595. "type": "number"
  25596. },
  25597. "updatetime": {
  25598. "description": "更新时间",
  25599. "type": "string"
  25600. },
  25601. "userid": {
  25602. "description": "合同所属用户id",
  25603. "type": "integer"
  25604. },
  25605. "vatrate": {
  25606. "description": "期初均价",
  25607. "type": "number"
  25608. },
  25609. "wrstandardcode": {
  25610. "description": "商品(品类) 代码",
  25611. "type": "string"
  25612. },
  25613. "wrstandardid": {
  25614. "description": "现货商品ID",
  25615. "type": "integer"
  25616. },
  25617. "wrstandardname": {
  25618. "description": "商品(品类) 名称",
  25619. "type": "string"
  25620. }
  25621. }
  25622. },
  25623. "models.Ermcp3SellBuyContract": {
  25624. "type": "object",
  25625. "properties": {
  25626. "accountid": {
  25627. "description": "期货账户id",
  25628. "type": "string"
  25629. },
  25630. "accountname": {
  25631. "description": "账户名称",
  25632. "type": "string"
  25633. },
  25634. "attachment": {
  25635. "description": "附件",
  25636. "type": "string"
  25637. },
  25638. "audittime": {
  25639. "description": "审核时间",
  25640. "type": "string"
  25641. },
  25642. "bizsubjectid": {
  25643. "description": "归属业务部门ID - SubjectID",
  25644. "type": "integer"
  25645. },
  25646. "biztype": {
  25647. "description": "业务类型 1-套保 2-套利",
  25648. "type": "integer"
  25649. },
  25650. "brandname": {
  25651. "description": "品牌名称",
  25652. "type": "string"
  25653. },
  25654. "contracctstatus": {
  25655. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25656. "type": "integer"
  25657. },
  25658. "contractmargin": {
  25659. "description": "合同保证金",
  25660. "type": "number"
  25661. },
  25662. "contractno": {
  25663. "description": "合同编号",
  25664. "type": "string"
  25665. },
  25666. "contracttype": {
  25667. "description": "合同类型 1-采购, -1-销售",
  25668. "type": "integer"
  25669. },
  25670. "convertfactor": {
  25671. "description": "标仓系数(品类)",
  25672. "type": "number"
  25673. },
  25674. "createtime": {
  25675. "description": "创建时间",
  25676. "type": "string"
  25677. },
  25678. "currencyid": {
  25679. "description": "币种id",
  25680. "type": "integer"
  25681. },
  25682. "currencyname": {
  25683. "description": "币种名称",
  25684. "type": "string"
  25685. },
  25686. "daikaiamount": {
  25687. "description": "应收(开)票额 | 未收票额",
  25688. "type": "number"
  25689. },
  25690. "deliveryenddate": {
  25691. "description": "交割结束日",
  25692. "type": "string"
  25693. },
  25694. "deliverygoodscode": {
  25695. "description": "现货品种代码",
  25696. "type": "string"
  25697. },
  25698. "deliverygoodsid": {
  25699. "description": "现货商品ID",
  25700. "type": "integer"
  25701. },
  25702. "deliverygoodsname": {
  25703. "description": "现货品种名称",
  25704. "type": "string"
  25705. },
  25706. "deliverystartdate": {
  25707. "description": "交割开始日",
  25708. "type": "string"
  25709. },
  25710. "enddate": {
  25711. "description": "点价结束日",
  25712. "type": "string"
  25713. },
  25714. "enumdicname": {
  25715. "description": "单位名称",
  25716. "type": "string"
  25717. },
  25718. "goodscode": {
  25719. "description": "点价商品代码",
  25720. "type": "string"
  25721. },
  25722. "goodsgroupid": {
  25723. "description": "点价商品组id",
  25724. "type": "integer"
  25725. },
  25726. "goodsid": {
  25727. "description": "点价商品ID",
  25728. "type": "integer"
  25729. },
  25730. "goodsname": {
  25731. "description": "点价商品名称",
  25732. "type": "string"
  25733. },
  25734. "invoiceamount": {
  25735. "description": "已开票额",
  25736. "type": "number"
  25737. },
  25738. "loanamount": {
  25739. "description": "贷款总额=已定价额+调整金额",
  25740. "type": "number"
  25741. },
  25742. "margin": {
  25743. "description": "保证金",
  25744. "type": "number"
  25745. },
  25746. "meruserid": {
  25747. "description": "跟单员id",
  25748. "type": "integer"
  25749. },
  25750. "meruserlogincode": {
  25751. "description": "跟单员登录代码",
  25752. "type": "string"
  25753. },
  25754. "merusername": {
  25755. "description": "跟单员名称",
  25756. "type": "string"
  25757. },
  25758. "nickname": {
  25759. "description": "账户昵称",
  25760. "type": "string"
  25761. },
  25762. "orireckonrealqty": {
  25763. "description": "应交收量",
  25764. "type": "number"
  25765. },
  25766. "payamount": {
  25767. "description": "已收付额(收款或付款)",
  25768. "type": "number"
  25769. },
  25770. "preinvoiceamount": {
  25771. "description": "预收(开)票额",
  25772. "type": "number"
  25773. },
  25774. "prepayamount": {
  25775. "description": "预收付额",
  25776. "type": "number"
  25777. },
  25778. "price": {
  25779. "description": "价格",
  25780. "type": "number"
  25781. },
  25782. "pricedamount": {
  25783. "description": "已定价额",
  25784. "type": "number"
  25785. },
  25786. "pricedavg": {
  25787. "description": "已点均价",
  25788. "type": "number"
  25789. },
  25790. "pricedqty": {
  25791. "description": "已定价量",
  25792. "type": "number"
  25793. },
  25794. "pricemove": {
  25795. "description": "升贴水",
  25796. "type": "number"
  25797. },
  25798. "pricetype": {
  25799. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25800. "type": "integer"
  25801. },
  25802. "producttype": {
  25803. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25804. "type": "integer"
  25805. },
  25806. "qty": {
  25807. "description": "合同量",
  25808. "type": "number"
  25809. },
  25810. "reckonadjustamount": {
  25811. "description": "调整金额",
  25812. "type": "number"
  25813. },
  25814. "reckonedamount": {
  25815. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  25816. "type": "number"
  25817. },
  25818. "reckonotheramount": {
  25819. "description": "其它费用",
  25820. "type": "number"
  25821. },
  25822. "reckonrealqty": {
  25823. "description": "已交收量",
  25824. "type": "number"
  25825. },
  25826. "remark": {
  25827. "description": "备注",
  25828. "type": "string"
  25829. },
  25830. "saleuserid": {
  25831. "description": "业务员id",
  25832. "type": "integer"
  25833. },
  25834. "saleuserlogincode": {
  25835. "description": "业务员登录代码",
  25836. "type": "string"
  25837. },
  25838. "saleusername": {
  25839. "description": "业务员名称",
  25840. "type": "string"
  25841. },
  25842. "spotcontractid": {
  25843. "description": "合同ID",
  25844. "type": "string"
  25845. },
  25846. "spotgoodsbrandid": {
  25847. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25848. "type": "integer"
  25849. },
  25850. "spotgoodsdesc": {
  25851. "description": "商品型号(商品规格)",
  25852. "type": "string"
  25853. },
  25854. "startdate": {
  25855. "description": "点价开始日",
  25856. "type": "string"
  25857. },
  25858. "subjectid": {
  25859. "description": "交易主体ID",
  25860. "type": "integer"
  25861. },
  25862. "subjectname": {
  25863. "description": "交易主体名称",
  25864. "type": "string"
  25865. },
  25866. "totalamount": {
  25867. "description": "合计总额",
  25868. "type": "number"
  25869. },
  25870. "tradeuserid": {
  25871. "description": "交易员id",
  25872. "type": "integer"
  25873. },
  25874. "tradeuserlogincode": {
  25875. "description": "交易员登录代码",
  25876. "type": "string"
  25877. },
  25878. "tradeusername": {
  25879. "description": "交易员名称",
  25880. "type": "string"
  25881. },
  25882. "unpayamount": {
  25883. "description": "应收付款额(应支付或应收款) | 未付款额",
  25884. "type": "number"
  25885. },
  25886. "unpricedqty": {
  25887. "description": "未定价量",
  25888. "type": "number"
  25889. },
  25890. "unsureqty": {
  25891. "description": "未确定量 | 未交收量",
  25892. "type": "number"
  25893. },
  25894. "userid": {
  25895. "description": "机构ID",
  25896. "type": "integer"
  25897. },
  25898. "vatrate": {
  25899. "description": "增值税率",
  25900. "type": "number"
  25901. },
  25902. "wrstandardcode": {
  25903. "description": "品类代码",
  25904. "type": "string"
  25905. },
  25906. "wrstandardid": {
  25907. "description": "品类ID",
  25908. "type": "integer"
  25909. },
  25910. "wrstandardname": {
  25911. "description": "品类名称",
  25912. "type": "string"
  25913. }
  25914. }
  25915. },
  25916. "models.Ermcp3SpotGoodsPrice": {
  25917. "type": "object",
  25918. "properties": {
  25919. "areauserid": {
  25920. "description": "所属机构id",
  25921. "type": "integer"
  25922. },
  25923. "brandname": {
  25924. "description": "品牌名称",
  25925. "type": "string"
  25926. },
  25927. "currencyid": {
  25928. "description": "报价货币ID",
  25929. "type": "integer"
  25930. },
  25931. "currencyname": {
  25932. "description": "币种名称",
  25933. "type": "string"
  25934. },
  25935. "deliverygoodscode": {
  25936. "description": "现货商品代码",
  25937. "type": "string"
  25938. },
  25939. "deliverygoodsid": {
  25940. "description": "现货商品id",
  25941. "type": "integer"
  25942. },
  25943. "deliverygoodsname": {
  25944. "description": "现货商品名称",
  25945. "type": "string"
  25946. },
  25947. "enumdicname": {
  25948. "description": "现货商品单位名称",
  25949. "type": "string"
  25950. },
  25951. "gbenumdicname": {
  25952. "description": "品类单位名称",
  25953. "type": "string"
  25954. },
  25955. "gmunitid": {
  25956. "description": "品类单位id",
  25957. "type": "integer"
  25958. },
  25959. "isvalid": {
  25960. "description": "是否有效 - 0:无效 1:有效",
  25961. "type": "integer"
  25962. },
  25963. "operateid": {
  25964. "description": "最后操作人",
  25965. "type": "integer"
  25966. },
  25967. "operatesrc": {
  25968. "description": "最后操作来源 - 1:管理端 2:终端",
  25969. "type": "integer"
  25970. },
  25971. "operatetime": {
  25972. "description": "最后操作时间",
  25973. "type": "string"
  25974. },
  25975. "operatorname": {
  25976. "description": "操作人名称",
  25977. "type": "string"
  25978. },
  25979. "spotgoodsbrandid": {
  25980. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  25981. "type": "integer"
  25982. },
  25983. "spotgoodsprice": {
  25984. "description": "现货价格",
  25985. "type": "number"
  25986. },
  25987. "tradedate": {
  25988. "description": "交易日(yyyyMMdd)",
  25989. "type": "string"
  25990. },
  25991. "unitid": {
  25992. "description": "现货商品单位id",
  25993. "type": "integer"
  25994. },
  25995. "wrstandardcode": {
  25996. "description": "品类代码",
  25997. "type": "string"
  25998. },
  25999. "wrstandardid": {
  26000. "description": "现货品类ID(通用则为0)",
  26001. "type": "integer"
  26002. },
  26003. "wrstandardname": {
  26004. "description": "品类名称",
  26005. "type": "string"
  26006. }
  26007. }
  26008. },
  26009. "models.Ermcp3SpotGoodsPriceLog": {
  26010. "type": "object",
  26011. "properties": {
  26012. "areauserid": {
  26013. "description": "所属机构id",
  26014. "type": "integer"
  26015. },
  26016. "brandname": {
  26017. "description": "品牌名称",
  26018. "type": "string"
  26019. },
  26020. "currencyid": {
  26021. "description": "报价货币ID",
  26022. "type": "integer"
  26023. },
  26024. "deliverygoodscode": {
  26025. "description": "现货商品代码",
  26026. "type": "string"
  26027. },
  26028. "deliverygoodsid": {
  26029. "description": "现货商品id",
  26030. "type": "integer"
  26031. },
  26032. "deliverygoodsname": {
  26033. "description": "现货商品名称",
  26034. "type": "string"
  26035. },
  26036. "enumdicname": {
  26037. "description": "现货商品单位名称",
  26038. "type": "string"
  26039. },
  26040. "gbenumdicname": {
  26041. "description": "品类单位名称",
  26042. "type": "string"
  26043. },
  26044. "gmunitid": {
  26045. "description": "品类单位id",
  26046. "type": "integer"
  26047. },
  26048. "logid": {
  26049. "description": "日志id",
  26050. "type": "integer"
  26051. },
  26052. "operateid": {
  26053. "description": "最后操作人",
  26054. "type": "integer"
  26055. },
  26056. "operatesrc": {
  26057. "description": "最后操作来源 - 1:管理端 2:终端",
  26058. "type": "integer"
  26059. },
  26060. "operatetime": {
  26061. "description": "最后操作时间",
  26062. "type": "string"
  26063. },
  26064. "operatorname": {
  26065. "description": "操作人名称",
  26066. "type": "string"
  26067. },
  26068. "spotgoodsbrandid": {
  26069. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26070. "type": "integer"
  26071. },
  26072. "spotgoodsprice": {
  26073. "description": "现货价格",
  26074. "type": "number"
  26075. },
  26076. "tradedate": {
  26077. "description": "交易日(yyyyMMdd)",
  26078. "type": "string"
  26079. },
  26080. "unitid": {
  26081. "description": "现货商品单位id",
  26082. "type": "integer"
  26083. },
  26084. "wrstandardcode": {
  26085. "description": "品类代码",
  26086. "type": "string"
  26087. },
  26088. "wrstandardid": {
  26089. "description": "现货品类ID(通用则为0)",
  26090. "type": "integer"
  26091. },
  26092. "wrstandardname": {
  26093. "description": "品类名称",
  26094. "type": "string"
  26095. }
  26096. }
  26097. },
  26098. "models.Ermcp3SubTaaccount": {
  26099. "type": "object",
  26100. "properties": {
  26101. "accountid": {
  26102. "description": "资金账户ID",
  26103. "type": "integer"
  26104. },
  26105. "parentaccountcode": {
  26106. "description": "所属根账号代码(母账号代码)",
  26107. "type": "string"
  26108. },
  26109. "parentaccountid": {
  26110. "description": "所属根账号(母账号)",
  26111. "type": "integer"
  26112. },
  26113. "taname": {
  26114. "description": "资金账号名称",
  26115. "type": "string"
  26116. },
  26117. "tradestatus": {
  26118. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26119. "type": "integer"
  26120. },
  26121. "username": {
  26122. "description": "交易用户",
  26123. "type": "string"
  26124. }
  26125. }
  26126. },
  26127. "models.Ermcp3TaFutuReDataReport": {
  26128. "type": "object",
  26129. "properties": {
  26130. "accountid": {
  26131. "description": "交易账户",
  26132. "type": "integer"
  26133. },
  26134. "accountname": {
  26135. "description": "交易账号名称",
  26136. "type": "string"
  26137. },
  26138. "agreeunit": {
  26139. "description": "商品合约单位",
  26140. "type": "number"
  26141. },
  26142. "begindate": {
  26143. "description": "开始交易日",
  26144. "type": "string"
  26145. },
  26146. "buyorsell": {
  26147. "description": "持仓方向",
  26148. "type": "integer"
  26149. },
  26150. "charge": {
  26151. "description": "手续费",
  26152. "type": "number"
  26153. },
  26154. "closeavgprice": {
  26155. "description": "期初均价",
  26156. "type": "number"
  26157. },
  26158. "closepl": {
  26159. "description": "平仓损益",
  26160. "type": "number"
  26161. },
  26162. "currencyid": {
  26163. "description": "结算币种ID",
  26164. "type": "integer"
  26165. },
  26166. "currencyname": {
  26167. "description": "币种名称",
  26168. "type": "string"
  26169. },
  26170. "cycletime": {
  26171. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26172. "type": "string"
  26173. },
  26174. "cycletype": {
  26175. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26176. "type": "integer"
  26177. },
  26178. "enddate": {
  26179. "description": "结束交易日",
  26180. "type": "string"
  26181. },
  26182. "enumdicname": {
  26183. "description": "单位名称",
  26184. "type": "string"
  26185. },
  26186. "floatpl": {
  26187. "description": "浮动损益",
  26188. "type": "number"
  26189. },
  26190. "goodscode": {
  26191. "description": "交易合约代码",
  26192. "type": "string"
  26193. },
  26194. "goodsgroupid": {
  26195. "description": "交易品种",
  26196. "type": "integer"
  26197. },
  26198. "goodsgroupname": {
  26199. "description": "交易品种名称",
  26200. "type": "string"
  26201. },
  26202. "goodsgroupspotqty": {
  26203. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  26204. "type": "number"
  26205. },
  26206. "goodsid": {
  26207. "description": "交易合约",
  26208. "type": "integer"
  26209. },
  26210. "goodsname": {
  26211. "description": "交易合约名称",
  26212. "type": "string"
  26213. },
  26214. "goodunitid": {
  26215. "description": "交易合约单位id",
  26216. "type": "integer"
  26217. },
  26218. "holdamount": {
  26219. "description": "期末持仓额",
  26220. "type": "number"
  26221. },
  26222. "holdqty": {
  26223. "description": "期初均价",
  26224. "type": "number"
  26225. },
  26226. "lastholdamount": {
  26227. "description": "当前持仓额",
  26228. "type": "number"
  26229. },
  26230. "lastprice": {
  26231. "description": "最新价",
  26232. "type": "number"
  26233. },
  26234. "middlegoodsid": {
  26235. "description": "套保品种id",
  26236. "type": "integer"
  26237. },
  26238. "middlegoodsname": {
  26239. "description": "套保商品名称",
  26240. "type": "string"
  26241. },
  26242. "middlegoodsqty": {
  26243. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  26244. "type": "number"
  26245. },
  26246. "middlgoodscode": {
  26247. "description": "套保商品代码",
  26248. "type": "string"
  26249. },
  26250. "openamount": {
  26251. "description": "期末开仓额",
  26252. "type": "number"
  26253. },
  26254. "openavgprice": {
  26255. "description": "期初均价",
  26256. "type": "number"
  26257. },
  26258. "oriholdamount": {
  26259. "description": "期初持仓额",
  26260. "type": "number"
  26261. },
  26262. "oriholdqty": {
  26263. "description": "期初均价",
  26264. "type": "number"
  26265. },
  26266. "oriopenamount": {
  26267. "description": "期初开仓额",
  26268. "type": "number"
  26269. },
  26270. "outergroupcode": {
  26271. "description": "交易品种代码",
  26272. "type": "string"
  26273. },
  26274. "qtydecimalplace": {
  26275. "description": "成交量小数位",
  26276. "type": "integer"
  26277. },
  26278. "reckondate": {
  26279. "description": "日照时期(yyyyMMdd)",
  26280. "type": "string"
  26281. },
  26282. "reckonholdamount": {
  26283. "description": "结算持仓额",
  26284. "type": "number"
  26285. },
  26286. "reckonpl": {
  26287. "description": "结算损益",
  26288. "type": "number"
  26289. },
  26290. "reckonpl2": {
  26291. "description": "结算逐笔盈亏",
  26292. "type": "number"
  26293. },
  26294. "reckonprice": {
  26295. "description": "结算价",
  26296. "type": "number"
  26297. },
  26298. "relateduserid": {
  26299. "description": "账户关联用户ID",
  26300. "type": "integer"
  26301. },
  26302. "todaycloseamount": {
  26303. "description": "今平仓额",
  26304. "type": "number"
  26305. },
  26306. "todaycloseqty": {
  26307. "description": "期初均价",
  26308. "type": "number"
  26309. },
  26310. "todaygoodsgroupspotqty": {
  26311. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  26312. "type": "number"
  26313. },
  26314. "todaymiddlegoodsqty": {
  26315. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  26316. "type": "number"
  26317. },
  26318. "todayopenamount": {
  26319. "description": "今开仓额",
  26320. "type": "number"
  26321. },
  26322. "todayopenqty": {
  26323. "description": "期初均价",
  26324. "type": "number"
  26325. },
  26326. "userid": {
  26327. "description": "账户所属用户ID",
  26328. "type": "integer"
  26329. }
  26330. }
  26331. },
  26332. "models.Ermcp3TradeLinkDetail": {
  26333. "type": "object",
  26334. "properties": {
  26335. "accountid": {
  26336. "description": "资金账号",
  26337. "type": "integer"
  26338. },
  26339. "agreeunit": {
  26340. "description": "合约乘数",
  26341. "type": "number"
  26342. },
  26343. "areauserid": {
  26344. "description": "所属机构",
  26345. "type": "string"
  26346. },
  26347. "bizsubjectid": {
  26348. "description": "归属业务部门ID - SubjectID",
  26349. "type": "string"
  26350. },
  26351. "buyorsell": {
  26352. "description": "方向 - 0:买 1:卖",
  26353. "type": "integer"
  26354. },
  26355. "channelbuildtype": {
  26356. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26357. "type": "integer"
  26358. },
  26359. "contractno": {
  26360. "description": "现货编号 (合同编号)",
  26361. "type": "string"
  26362. },
  26363. "convertratio": {
  26364. "description": "折算系数",
  26365. "type": "number"
  26366. },
  26367. "createtime": {
  26368. "description": "关联时间 | 创建时间",
  26369. "type": "string"
  26370. },
  26371. "creatorid": {
  26372. "description": "创建人ID",
  26373. "type": "string"
  26374. },
  26375. "creatorsrc": {
  26376. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26377. "type": "integer"
  26378. },
  26379. "enumdicname": {
  26380. "description": "单位名称",
  26381. "type": "string"
  26382. },
  26383. "goodscode": {
  26384. "description": "合约代码",
  26385. "type": "string"
  26386. },
  26387. "goodsgroupid": {
  26388. "description": "对冲品种ID[期货合约商品组ID]",
  26389. "type": "integer"
  26390. },
  26391. "goodsid": {
  26392. "description": "商品ID",
  26393. "type": "integer"
  26394. },
  26395. "goodsname": {
  26396. "description": "合约名称",
  26397. "type": "string"
  26398. },
  26399. "hedgeflag": {
  26400. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26401. "type": "integer"
  26402. },
  26403. "linkdetailid": {
  26404. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  26405. "type": "string"
  26406. },
  26407. "linkstatus": {
  26408. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  26409. "type": "integer"
  26410. },
  26411. "middlegoodscode": {
  26412. "description": "套保品种代码",
  26413. "type": "string"
  26414. },
  26415. "middlegoodsid": {
  26416. "description": "套保品种ID",
  26417. "type": "integer"
  26418. },
  26419. "middlegoodsname": {
  26420. "description": "套保品种名称",
  26421. "type": "string"
  26422. },
  26423. "relatedlot": {
  26424. "description": "关联手数",
  26425. "type": "number"
  26426. },
  26427. "relatedmode": {
  26428. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  26429. "type": "integer"
  26430. },
  26431. "relatedqty": {
  26432. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  26433. "type": "number"
  26434. },
  26435. "retcode": {
  26436. "description": "返回码",
  26437. "type": "integer"
  26438. },
  26439. "saleuserid": {
  26440. "description": "业务员ID",
  26441. "type": "string"
  26442. },
  26443. "spotcontractid": {
  26444. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  26445. "type": "string"
  26446. },
  26447. "taname": {
  26448. "description": "期货账户",
  26449. "type": "string"
  26450. },
  26451. "tradedate": {
  26452. "description": "关联交易日(yyyyMMdd)",
  26453. "type": "string"
  26454. },
  26455. "tradeid": {
  26456. "description": "期货订单号 | 内部成交单ID",
  26457. "type": "string"
  26458. },
  26459. "tradelot": {
  26460. "description": "成交数量 | 成交手数",
  26461. "type": "integer"
  26462. },
  26463. "tradeprice": {
  26464. "description": "成交价格",
  26465. "type": "number"
  26466. },
  26467. "tradetime": {
  26468. "description": "期货成交时间",
  26469. "type": "string"
  26470. },
  26471. "tradetradedate": {
  26472. "description": "成交交易日(yyyyMMdd)",
  26473. "type": "string"
  26474. },
  26475. "username": {
  26476. "description": "用户名称",
  26477. "type": "string"
  26478. }
  26479. }
  26480. },
  26481. "models.Ermcp3Wrstandard": {
  26482. "type": "object",
  26483. "properties": {
  26484. "areauserid": {
  26485. "description": "所属机构",
  26486. "type": "integer"
  26487. },
  26488. "cantrade": {
  26489. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  26490. "type": "integer"
  26491. },
  26492. "convertfactor": {
  26493. "description": "标仓系数",
  26494. "type": "number"
  26495. },
  26496. "createtime": {
  26497. "description": "创建时间",
  26498. "type": "string"
  26499. },
  26500. "creatorid": {
  26501. "description": "创建人",
  26502. "type": "integer"
  26503. },
  26504. "deliverygoodsid": {
  26505. "description": "现货品种ID",
  26506. "type": "integer"
  26507. },
  26508. "enumdicname": {
  26509. "description": "品类单位名称",
  26510. "type": "string"
  26511. },
  26512. "isvalid": {
  26513. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  26514. "type": "integer"
  26515. },
  26516. "minivalue": {
  26517. "description": "最小变动值",
  26518. "type": "integer"
  26519. },
  26520. "minivaluedp": {
  26521. "description": "最小变动值小数位",
  26522. "type": "integer"
  26523. },
  26524. "realminivalue": {
  26525. "description": "实际最小变动值",
  26526. "type": "integer"
  26527. },
  26528. "realminivaluedp": {
  26529. "description": "实际最小变动值小数位",
  26530. "type": "integer"
  26531. },
  26532. "remark": {
  26533. "description": "备注",
  26534. "type": "string"
  26535. },
  26536. "unitid": {
  26537. "description": "品类单位ID",
  26538. "type": "integer"
  26539. },
  26540. "updatetime": {
  26541. "description": "更新时间",
  26542. "type": "string"
  26543. },
  26544. "wrstandardcode": {
  26545. "description": "品类代码",
  26546. "type": "string"
  26547. },
  26548. "wrstandardid": {
  26549. "description": "品类ID(SEQ_WRSTANDARD)",
  26550. "type": "integer"
  26551. },
  26552. "wrstandardname": {
  26553. "description": "品类名称",
  26554. "type": "string"
  26555. }
  26556. }
  26557. },
  26558. "models.Ermcp8EnableHedgeditem": {
  26559. "type": "object",
  26560. "properties": {
  26561. "accountname": {
  26562. "description": "套期主体",
  26563. "type": "string"
  26564. },
  26565. "hedgeditemid": {
  26566. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26567. "type": "string"
  26568. },
  26569. "hedgeditemname": {
  26570. "description": "项目名称",
  26571. "type": "string"
  26572. },
  26573. "hedgeditemnum": {
  26574. "description": "项目编号",
  26575. "type": "string"
  26576. },
  26577. "hedgedtype": {
  26578. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26579. "type": "integer"
  26580. },
  26581. "planenddate": {
  26582. "description": "计划结束日期",
  26583. "type": "string"
  26584. },
  26585. "planstartdate": {
  26586. "description": "计划开始日期",
  26587. "type": "string"
  26588. },
  26589. "wrstandardid": {
  26590. "description": "现货商品ID",
  26591. "type": "integer"
  26592. },
  26593. "wrstandardname": {
  26594. "description": "现货商品",
  26595. "type": "string"
  26596. }
  26597. }
  26598. },
  26599. "models.Ermcp8HedgeditemReport": {
  26600. "type": "object",
  26601. "properties": {
  26602. "accountname": {
  26603. "description": "套期主体",
  26604. "type": "string"
  26605. },
  26606. "areauserid": {
  26607. "description": "企业ID",
  26608. "type": "integer"
  26609. },
  26610. "curprice": {
  26611. "description": "[当日现货市场价]当前市场价",
  26612. "type": "number"
  26613. },
  26614. "enumdicname": {
  26615. "description": "单位",
  26616. "type": "string"
  26617. },
  26618. "exeamount": {
  26619. "description": "[执行现货金额]执行市价总额",
  26620. "type": "number"
  26621. },
  26622. "exeavgprice": {
  26623. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  26624. "type": "number"
  26625. },
  26626. "exeqty": {
  26627. "description": "[执行数量]执行现货量",
  26628. "type": "number"
  26629. },
  26630. "futurehedgepl": {
  26631. "description": "期货实际损益",
  26632. "type": "number"
  26633. },
  26634. "futurehedgeplchange": {
  26635. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  26636. "type": "number"
  26637. },
  26638. "futurepl": {
  26639. "description": "期货套期损益",
  26640. "type": "number"
  26641. },
  26642. "futureplchange": {
  26643. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  26644. "type": "number"
  26645. },
  26646. "hedgeamount": {
  26647. "description": "[套期现货金额]套期市价总额",
  26648. "type": "number"
  26649. },
  26650. "hedgeditemnum": {
  26651. "description": "项目编号,模糊查询",
  26652. "type": "string"
  26653. },
  26654. "hedgeditemstatus": {
  26655. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26656. "type": "integer"
  26657. },
  26658. "hedgedtype": {
  26659. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26660. "type": "integer"
  26661. },
  26662. "hedgeqty": {
  26663. "description": "[套期数量]套期现货量",
  26664. "type": "number"
  26665. },
  26666. "oriavgprice": {
  26667. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  26668. "type": "number"
  26669. },
  26670. "orifuturehedgepl": {
  26671. "description": "期初期货实际损益",
  26672. "type": "number"
  26673. },
  26674. "orifuturepl": {
  26675. "description": "期初期货套期损益",
  26676. "type": "number"
  26677. },
  26678. "orispothedgepl": {
  26679. "description": "期初现货实际损益",
  26680. "type": "number"
  26681. },
  26682. "orispotpl": {
  26683. "description": "期初现货套期损益",
  26684. "type": "number"
  26685. },
  26686. "planenddate": {
  26687. "description": "计划结束日期",
  26688. "type": "string"
  26689. },
  26690. "planstartdate": {
  26691. "description": "计划开始日期",
  26692. "type": "string"
  26693. },
  26694. "spothedgepl": {
  26695. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26696. "type": "number"
  26697. },
  26698. "spothedgeplchange": {
  26699. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  26700. "type": "number"
  26701. },
  26702. "spotpl": {
  26703. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26704. "type": "number"
  26705. },
  26706. "spotplchange": {
  26707. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  26708. "type": "number"
  26709. },
  26710. "tradeuserid": {
  26711. "description": "交易用户ID",
  26712. "type": "integer"
  26713. },
  26714. "unexeqty": {
  26715. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26716. "type": "number"
  26717. },
  26718. "wrstandardcode": {
  26719. "description": "现货品类代码",
  26720. "type": "string"
  26721. },
  26722. "wrstandardid": {
  26723. "description": "现货商品ID",
  26724. "type": "integer"
  26725. },
  26726. "wrstandardname": {
  26727. "description": "[现货商品]现货品类名称",
  26728. "type": "string"
  26729. }
  26730. }
  26731. },
  26732. "models.Ermcp8RunningHedgeditem": {
  26733. "type": "object",
  26734. "properties": {
  26735. "accountname": {
  26736. "description": "套期主体",
  26737. "type": "string"
  26738. },
  26739. "applyid": {
  26740. "description": "申请人",
  26741. "type": "integer"
  26742. },
  26743. "applysrc": {
  26744. "description": "申请来源 - 1:管理端 2:终端",
  26745. "type": "integer"
  26746. },
  26747. "areauserid": {
  26748. "description": "企业ID",
  26749. "type": "integer"
  26750. },
  26751. "auditid": {
  26752. "description": "审核人",
  26753. "type": "integer"
  26754. },
  26755. "auditremark": {
  26756. "description": "审核备注",
  26757. "type": "string"
  26758. },
  26759. "auditsrc": {
  26760. "description": "审核来源 - 1:管理端 2:终端",
  26761. "type": "integer"
  26762. },
  26763. "audittime": {
  26764. "description": "审核时间",
  26765. "type": "string"
  26766. },
  26767. "audittradedate": {
  26768. "description": "审核交易日(yyyyMMdd)",
  26769. "type": "string"
  26770. },
  26771. "createtime": {
  26772. "description": "申请时间",
  26773. "type": "string"
  26774. },
  26775. "curprice": {
  26776. "description": "当前市场价",
  26777. "type": "number"
  26778. },
  26779. "curstock": {
  26780. "description": "期末库存量 = 采购总量 - 销售总量",
  26781. "type": "number"
  26782. },
  26783. "deliverygoodsid": {
  26784. "description": "现货品种ID",
  26785. "type": "integer"
  26786. },
  26787. "enddate": {
  26788. "description": "完成日期",
  26789. "type": "string"
  26790. },
  26791. "endtradedate": {
  26792. "description": "完成交易日",
  26793. "type": "string"
  26794. },
  26795. "enumdicname": {
  26796. "description": "单位",
  26797. "type": "string"
  26798. },
  26799. "exeamount": {
  26800. "description": "执行市价总额",
  26801. "type": "number"
  26802. },
  26803. "exeavgprice": {
  26804. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  26805. "type": "number"
  26806. },
  26807. "execontractamount": {
  26808. "description": "执行定价总额",
  26809. "type": "number"
  26810. },
  26811. "exeqty": {
  26812. "description": "执行现货量",
  26813. "type": "number"
  26814. },
  26815. "exerestamount": {
  26816. "description": "执行剩余市价总额【现货贸易】",
  26817. "type": "number"
  26818. },
  26819. "futurefloatpl": {
  26820. "description": "期货浮动损益",
  26821. "type": "number"
  26822. },
  26823. "futurehedgepl": {
  26824. "description": "期货实际损益",
  26825. "type": "number"
  26826. },
  26827. "futurehedgeplchange": {
  26828. "description": "期货实际损益变动",
  26829. "type": "number"
  26830. },
  26831. "futurepl": {
  26832. "description": "期货套期损益",
  26833. "type": "number"
  26834. },
  26835. "futureplchange": {
  26836. "description": "期货套期损益变动",
  26837. "type": "number"
  26838. },
  26839. "hedgeamount": {
  26840. "description": "套期市价总额",
  26841. "type": "number"
  26842. },
  26843. "hedgecontractamount": {
  26844. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  26845. "type": "number"
  26846. },
  26847. "hedgeditemid": {
  26848. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  26849. "type": "string"
  26850. },
  26851. "hedgeditemname": {
  26852. "description": "项目名称",
  26853. "type": "string"
  26854. },
  26855. "hedgeditemnum": {
  26856. "description": "项目编号",
  26857. "type": "string"
  26858. },
  26859. "hedgeditemstatus": {
  26860. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26861. "type": "integer"
  26862. },
  26863. "hedgedtype": {
  26864. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  26865. "type": "integer"
  26866. },
  26867. "hedgeqty": {
  26868. "description": "套期现货量",
  26869. "type": "number"
  26870. },
  26871. "hedgerate": {
  26872. "description": "套保比率",
  26873. "type": "number"
  26874. },
  26875. "hedgerestamount": {
  26876. "description": "套期剩余市价总额【现货贸易】",
  26877. "type": "number"
  26878. },
  26879. "hedgesumpl": {
  26880. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  26881. "type": "number"
  26882. },
  26883. "middlegoodslist": {
  26884. "description": "套期商品列表",
  26885. "type": "array",
  26886. "items": {
  26887. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  26888. }
  26889. },
  26890. "oriavgprice": {
  26891. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  26892. "type": "number"
  26893. },
  26894. "orifuturehedgepl": {
  26895. "description": "期初期货实际损益",
  26896. "type": "number"
  26897. },
  26898. "orifuturepl": {
  26899. "description": "期初期货套期损益",
  26900. "type": "number"
  26901. },
  26902. "orispothedgepl": {
  26903. "description": "期初现货实际损益",
  26904. "type": "number"
  26905. },
  26906. "orispotpl": {
  26907. "description": "期初现货套期损益",
  26908. "type": "number"
  26909. },
  26910. "planenddate": {
  26911. "description": "计划结束日期",
  26912. "type": "string"
  26913. },
  26914. "planstartdate": {
  26915. "description": "计划开始日期",
  26916. "type": "string"
  26917. },
  26918. "remark": {
  26919. "description": "备注",
  26920. "type": "string"
  26921. },
  26922. "spotbookamount": {
  26923. "description": "现货账面总额",
  26924. "type": "number"
  26925. },
  26926. "spotfloatpl": {
  26927. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26928. "type": "number"
  26929. },
  26930. "spothedgepl": {
  26931. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  26932. "type": "number"
  26933. },
  26934. "spothedgeplchange": {
  26935. "description": "现货实际损益变动",
  26936. "type": "number"
  26937. },
  26938. "spotpl": {
  26939. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  26940. "type": "number"
  26941. },
  26942. "spotplchange": {
  26943. "description": "现货套期损益变动",
  26944. "type": "number"
  26945. },
  26946. "spottradepl": {
  26947. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  26948. "type": "number"
  26949. },
  26950. "sumobspl": {
  26951. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  26952. "type": "number"
  26953. },
  26954. "tradeuserid": {
  26955. "description": "交易用户ID",
  26956. "type": "integer"
  26957. },
  26958. "unexeqty": {
  26959. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  26960. "type": "number"
  26961. },
  26962. "updatetime": {
  26963. "description": "更新时间",
  26964. "type": "string"
  26965. },
  26966. "vatpl": {
  26967. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  26968. "type": "number"
  26969. },
  26970. "vatrate": {
  26971. "description": "增值税",
  26972. "type": "number"
  26973. },
  26974. "wrstandardid": {
  26975. "description": "现货商品ID",
  26976. "type": "integer"
  26977. },
  26978. "wrstandardname": {
  26979. "description": "商品名称",
  26980. "type": "string"
  26981. }
  26982. }
  26983. },
  26984. "models.ErmcpBizGroupEx": {
  26985. "type": "object",
  26986. "properties": {
  26987. "acclist": {
  26988. "description": "账号列表",
  26989. "type": "array",
  26990. "items": {
  26991. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  26992. }
  26993. },
  26994. "bizgroupid": {
  26995. "description": "业务分组id",
  26996. "type": "integer"
  26997. },
  26998. "biztype": {
  26999. "description": "业务类型 1-套保 2-套利",
  27000. "type": "integer"
  27001. },
  27002. "wrlist": {
  27003. "description": "现货商品表",
  27004. "type": "array",
  27005. "items": {
  27006. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27007. }
  27008. }
  27009. }
  27010. },
  27011. "models.ErmcpBizGroupSpotGoods": {
  27012. "type": "object",
  27013. "properties": {
  27014. "areauserid": {
  27015. "description": "所属机构id",
  27016. "type": "integer"
  27017. },
  27018. "bizgroupid": {
  27019. "description": "分组id",
  27020. "type": "integer"
  27021. },
  27022. "biztype": {
  27023. "description": "业务类型 1-套保 2-套利",
  27024. "type": "integer"
  27025. },
  27026. "deliverygoodscode": {
  27027. "description": "现货商品代码",
  27028. "type": "string"
  27029. },
  27030. "deliverygoodsid": {
  27031. "description": "现货商品id",
  27032. "type": "integer"
  27033. },
  27034. "deliverygoodsname": {
  27035. "description": "现货商品名称",
  27036. "type": "string"
  27037. },
  27038. "unitid": {
  27039. "description": "现货商品单位id",
  27040. "type": "integer"
  27041. }
  27042. }
  27043. },
  27044. "models.ErmcpBizGroupTaAccount": {
  27045. "type": "object",
  27046. "properties": {
  27047. "accountid": {
  27048. "description": "账号id",
  27049. "type": "integer"
  27050. },
  27051. "accountname": {
  27052. "description": "账号名称",
  27053. "type": "string"
  27054. },
  27055. "areauserid": {
  27056. "description": "所属机构id",
  27057. "type": "integer"
  27058. },
  27059. "bizgroupid": {
  27060. "description": "业务分组id",
  27061. "type": "integer"
  27062. },
  27063. "ismain": {
  27064. "description": "是否主账号 1-是 0-否",
  27065. "type": "integer"
  27066. }
  27067. }
  27068. },
  27069. "models.ErmcpDGFactoryItem": {
  27070. "type": "object",
  27071. "properties": {
  27072. "areauserid": {
  27073. "description": "用户id",
  27074. "type": "integer"
  27075. },
  27076. "deliverygoodsid": {
  27077. "description": "现货品种ID",
  27078. "type": "integer"
  27079. },
  27080. "dgfactoryitemid": {
  27081. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27082. "type": "integer"
  27083. },
  27084. "dgfactoryitemtypeid": {
  27085. "description": "要素项类型",
  27086. "type": "integer"
  27087. },
  27088. "dgfactoryitemvalue": {
  27089. "description": "要素项值(类型为仓库时填写仓库名称)",
  27090. "type": "string"
  27091. },
  27092. "isvalid": {
  27093. "description": "是否有效 - 0:无效 1:有效",
  27094. "type": "integer"
  27095. },
  27096. "orderindex": {
  27097. "description": "顺序",
  27098. "type": "integer"
  27099. },
  27100. "warehouseid": {
  27101. "description": "仓库ID(类型为仓库时填写)",
  27102. "type": "integer"
  27103. }
  27104. }
  27105. },
  27106. "models.ErmcpDeliveryGoods": {
  27107. "type": "object",
  27108. "properties": {
  27109. "agreeunit": {
  27110. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27111. "type": "integer"
  27112. },
  27113. "areauserid": {
  27114. "description": "所属机构",
  27115. "type": "integer"
  27116. },
  27117. "auditflag": {
  27118. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27119. "type": "integer"
  27120. },
  27121. "categoryid": {
  27122. "description": "类别ID(SEQ_WRCATEGORY)",
  27123. "type": "integer"
  27124. },
  27125. "deliverygoodscode": {
  27126. "description": "现货品种代码",
  27127. "type": "string"
  27128. },
  27129. "deliverygoodsid": {
  27130. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27131. "type": "integer"
  27132. },
  27133. "deliverygoodsname": {
  27134. "description": "现货品种名称",
  27135. "type": "string"
  27136. },
  27137. "deliverygoodstype": {
  27138. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27139. "type": "integer"
  27140. },
  27141. "dgstatus": {
  27142. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27143. "type": "integer"
  27144. },
  27145. "enumdicname": {
  27146. "description": "现货品种单位名称",
  27147. "type": "string"
  27148. },
  27149. "goodsunitid": {
  27150. "description": "现货品种单位ID",
  27151. "type": "integer"
  27152. },
  27153. "isvalid": {
  27154. "description": "是否有效 - 0:无效 1:有效",
  27155. "type": "integer"
  27156. },
  27157. "qtydecimalplace": {
  27158. "description": "成交量小数位",
  27159. "type": "integer"
  27160. },
  27161. "remark": {
  27162. "description": "备注",
  27163. "type": "string"
  27164. },
  27165. "standardqty": {
  27166. "description": "标准数量(库位数量) [标准品特有]",
  27167. "type": "integer"
  27168. },
  27169. "standardqtyrange": {
  27170. "description": "标准数量偏差范围 [标准品特有]",
  27171. "type": "integer"
  27172. }
  27173. }
  27174. },
  27175. "models.ErmcpFuturesCompany": {
  27176. "type": "object",
  27177. "properties": {
  27178. "brokerid": {
  27179. "description": "经纪公司代码",
  27180. "type": "string"
  27181. },
  27182. "channeladdress": {
  27183. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  27184. "type": "string"
  27185. },
  27186. "channelid": {
  27187. "description": "对冲渠道ID",
  27188. "type": "string"
  27189. },
  27190. "createtime": {
  27191. "description": "创建时间",
  27192. "type": "string"
  27193. },
  27194. "creatorid": {
  27195. "description": "创建人",
  27196. "type": "string"
  27197. },
  27198. "fcid": {
  27199. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  27200. "type": "integer"
  27201. },
  27202. "fcname": {
  27203. "description": "期货公司名称",
  27204. "type": "string"
  27205. },
  27206. "isvalid": {
  27207. "description": "是否有效 - 0:无效 1:有效",
  27208. "type": "integer"
  27209. },
  27210. "mhpaddress": {
  27211. "description": "MHP服务地址(IP:Port)",
  27212. "type": "string"
  27213. },
  27214. "riskrulegroupid": {
  27215. "description": "风控规则组ID",
  27216. "type": "string"
  27217. },
  27218. "tradefeetmpid": {
  27219. "description": "手续费模板ID[TradeConfigTmpType为2]",
  27220. "type": "string"
  27221. },
  27222. "trademargintmpid": {
  27223. "description": "保证金模板ID [TradeConfigTmpType为1]",
  27224. "type": "string"
  27225. },
  27226. "traderatetmpid": {
  27227. "description": "汇率模板ID[TradeConfigTmpType为3]",
  27228. "type": "string"
  27229. },
  27230. "updatetime": {
  27231. "description": "更新时间",
  27232. "type": "string"
  27233. },
  27234. "updatorid": {
  27235. "description": "更新人",
  27236. "type": "string"
  27237. }
  27238. }
  27239. },
  27240. "models.ErmcpGGConvertCfg": {
  27241. "type": "object",
  27242. "properties": {
  27243. "convertratio": {
  27244. "description": "折算系数",
  27245. "type": "number"
  27246. },
  27247. "destgoodsgroupid": {
  27248. "description": "目标品种ID",
  27249. "type": "integer"
  27250. },
  27251. "dstcode": {
  27252. "description": "目录品种代码",
  27253. "type": "string"
  27254. },
  27255. "dstexchangecode": {
  27256. "description": "目标期货交易所",
  27257. "type": "string"
  27258. },
  27259. "dstname": {
  27260. "description": "目标品种名称",
  27261. "type": "string"
  27262. },
  27263. "dstunitid": {
  27264. "description": "目标品种单位ID",
  27265. "type": "integer"
  27266. },
  27267. "dstunitidname": {
  27268. "description": "目标品种单位名称",
  27269. "type": "string"
  27270. },
  27271. "modifytime": {
  27272. "description": "修改时间",
  27273. "type": "string"
  27274. },
  27275. "srccode": {
  27276. "description": "源品种代码",
  27277. "type": "string"
  27278. },
  27279. "srcexchangecode": {
  27280. "description": "源期货交易所",
  27281. "type": "string"
  27282. },
  27283. "srcgoodsgroupid": {
  27284. "description": "源品种ID",
  27285. "type": "integer"
  27286. },
  27287. "srcname": {
  27288. "description": "源品种名称",
  27289. "type": "string"
  27290. },
  27291. "srcunitid": {
  27292. "description": "源品种单位ID",
  27293. "type": "integer"
  27294. },
  27295. "srcunitidname": {
  27296. "description": "源品种单位名称",
  27297. "type": "string"
  27298. }
  27299. }
  27300. },
  27301. "models.ErmcpGoods": {
  27302. "type": "object",
  27303. "required": [
  27304. "goodscode",
  27305. "goodsid",
  27306. "goodsname",
  27307. "marketid"
  27308. ],
  27309. "properties": {
  27310. "agreeunit": {
  27311. "description": "合约单位",
  27312. "type": "number"
  27313. },
  27314. "areauserid": {
  27315. "description": "所属机构",
  27316. "type": "integer"
  27317. },
  27318. "auditaccountid": {
  27319. "description": "审核操作员账号",
  27320. "type": "integer"
  27321. },
  27322. "audittime": {
  27323. "description": "审核时间",
  27324. "type": "string"
  27325. },
  27326. "cancelaccountid": {
  27327. "description": "注销操作员账号",
  27328. "type": "integer"
  27329. },
  27330. "canceltime": {
  27331. "description": "注销时间",
  27332. "type": "string"
  27333. },
  27334. "closepricemode": {
  27335. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  27336. "type": "integer"
  27337. },
  27338. "closepriceparam": {
  27339. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  27340. "type": "number"
  27341. },
  27342. "createtime": {
  27343. "description": "创建时间",
  27344. "type": "string"
  27345. },
  27346. "creatorid": {
  27347. "description": "创建人",
  27348. "type": "integer"
  27349. },
  27350. "currencyid": {
  27351. "description": "报价货币ID",
  27352. "type": "integer"
  27353. },
  27354. "cutmode": {
  27355. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  27356. "type": "integer"
  27357. },
  27358. "decimalplace": {
  27359. "description": "报价小数位",
  27360. "type": "integer"
  27361. },
  27362. "delistingdate": {
  27363. "description": "商品退市时间(状态:退市) -- 已作废",
  27364. "type": "string"
  27365. },
  27366. "delistingmode": {
  27367. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  27368. "type": "integer"
  27369. },
  27370. "deliveryflag": {
  27371. "description": "交割标志 - 0:不可交割 1:可交割",
  27372. "type": "integer"
  27373. },
  27374. "enumdicname": {
  27375. "description": "单位名称",
  27376. "type": "string"
  27377. },
  27378. "forceclosemode": {
  27379. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  27380. "type": "integer"
  27381. },
  27382. "forceclosevalue": {
  27383. "description": "定期强平参数 [收益权]",
  27384. "type": "integer"
  27385. },
  27386. "goodscode": {
  27387. "description": "商品代码(内部)",
  27388. "type": "string"
  27389. },
  27390. "goodscurrencyid": {
  27391. "description": "合约货币ID",
  27392. "type": "integer"
  27393. },
  27394. "goodsgroupid": {
  27395. "description": "所属商品组ID",
  27396. "type": "integer"
  27397. },
  27398. "goodsid": {
  27399. "description": "商品ID(自增ID SEQ_GOODS)",
  27400. "type": "integer"
  27401. },
  27402. "goodsname": {
  27403. "description": "商品名称",
  27404. "type": "string"
  27405. },
  27406. "goodsquotetype": {
  27407. "description": "合约报价类型: 1-直接报价 2-间接报价",
  27408. "type": "integer"
  27409. },
  27410. "goodsstatus": {
  27411. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  27412. "type": "integer"
  27413. },
  27414. "goodstradetype": {
  27415. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  27416. "type": "integer"
  27417. },
  27418. "goodunitid": {
  27419. "description": "报价单位ID",
  27420. "type": "integer"
  27421. },
  27422. "hasquoter": {
  27423. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  27424. "type": "integer"
  27425. },
  27426. "hqprotecttime": {
  27427. "description": "行情保护时间(秒)",
  27428. "type": "integer"
  27429. },
  27430. "innerdealmode": {
  27431. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  27432. "type": "integer"
  27433. },
  27434. "isbuylimited": {
  27435. "description": "是否限制建仓量 - 0:不限制 1:限制",
  27436. "type": "integer"
  27437. },
  27438. "isvisible": {
  27439. "description": "游客是否可见 - 0:不可见 1:可见",
  27440. "type": "integer"
  27441. },
  27442. "lasttradedate": {
  27443. "description": "最后交易日期(状态:待退市)",
  27444. "type": "string"
  27445. },
  27446. "listingdate": {
  27447. "description": "交易开始日期",
  27448. "type": "string"
  27449. },
  27450. "marketid": {
  27451. "description": "所属市场ID",
  27452. "type": "integer"
  27453. },
  27454. "modifierid": {
  27455. "description": "修改人",
  27456. "type": "integer"
  27457. },
  27458. "modifystatus": {
  27459. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  27460. "type": "integer"
  27461. },
  27462. "modifytime": {
  27463. "description": "修改时间",
  27464. "type": "string"
  27465. },
  27466. "outerdealmode": {
  27467. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  27468. "type": "integer"
  27469. },
  27470. "outgoodscode": {
  27471. "description": "商品代码(外部)",
  27472. "type": "string"
  27473. },
  27474. "pictureurl": {
  27475. "description": "商品图片",
  27476. "type": "string"
  27477. },
  27478. "qtydecimalplace": {
  27479. "description": "成交量小数位",
  27480. "type": "integer"
  27481. },
  27482. "quotegear": {
  27483. "description": "行情档位(1-10)",
  27484. "type": "integer"
  27485. },
  27486. "quoteminunit": {
  27487. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  27488. "type": "integer"
  27489. },
  27490. "quoteshowtype": {
  27491. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  27492. "type": "integer"
  27493. },
  27494. "quoteshowtypeinterval": {
  27495. "description": "行情报价间隔时间(秒)(成交价时为0)",
  27496. "type": "integer"
  27497. },
  27498. "relatedgoodsid": {
  27499. "description": "关联参考商品ID",
  27500. "type": "integer"
  27501. },
  27502. "remark": {
  27503. "description": "备注",
  27504. "type": "string"
  27505. },
  27506. "trademode": {
  27507. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  27508. "type": "integer"
  27509. }
  27510. }
  27511. },
  27512. "models.ErmcpGoodsBrand": {
  27513. "type": "object",
  27514. "properties": {
  27515. "areauserid": {
  27516. "description": "所属机构",
  27517. "type": "integer"
  27518. },
  27519. "brandid": {
  27520. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  27521. "type": "integer"
  27522. },
  27523. "brandname": {
  27524. "description": "品牌名称",
  27525. "type": "string"
  27526. },
  27527. "createtime": {
  27528. "description": "创建时间",
  27529. "type": "string"
  27530. },
  27531. "creatorid": {
  27532. "description": "创建人",
  27533. "type": "integer"
  27534. },
  27535. "creatorsrc": {
  27536. "description": "创建人来源 - 1:管理端 2:终端",
  27537. "type": "integer"
  27538. },
  27539. "deliverygoodsid": {
  27540. "description": "现货品种ID",
  27541. "type": "integer"
  27542. },
  27543. "isvalid": {
  27544. "description": "是否有效 - 0:无效 1:有效",
  27545. "type": "integer"
  27546. },
  27547. "updatetime": {
  27548. "description": "更新时间",
  27549. "type": "string"
  27550. },
  27551. "updatorid": {
  27552. "description": "更新人",
  27553. "type": "integer"
  27554. },
  27555. "updatorsrc": {
  27556. "description": "更新人来源 - 1:管理端 2:终端",
  27557. "type": "integer"
  27558. },
  27559. "wrstandardid": {
  27560. "description": "现货商品ID",
  27561. "type": "integer"
  27562. }
  27563. }
  27564. },
  27565. "models.ErmcpGoodsModel": {
  27566. "type": "object",
  27567. "properties": {
  27568. "areauserid": {
  27569. "description": "所属机构",
  27570. "type": "integer"
  27571. },
  27572. "convertfactor": {
  27573. "description": "标仓系数",
  27574. "type": "number"
  27575. },
  27576. "createtime": {
  27577. "description": "创建时间",
  27578. "type": "string"
  27579. },
  27580. "creatorid": {
  27581. "description": "创建人",
  27582. "type": "integer"
  27583. },
  27584. "creatorsrc": {
  27585. "description": "创建人来源 - 1:管理端 2:终端",
  27586. "type": "integer"
  27587. },
  27588. "deliverygoodsid": {
  27589. "description": "现货品种ID",
  27590. "type": "integer"
  27591. },
  27592. "isvalid": {
  27593. "description": "是否有效 - 0:无效 1:有效",
  27594. "type": "integer"
  27595. },
  27596. "modelid": {
  27597. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  27598. "type": "integer"
  27599. },
  27600. "modelname": {
  27601. "description": "型号名称",
  27602. "type": "string"
  27603. },
  27604. "updatetime": {
  27605. "description": "更新时间",
  27606. "type": "string"
  27607. },
  27608. "updatorid": {
  27609. "description": "更新人",
  27610. "type": "integer"
  27611. },
  27612. "updatorsrc": {
  27613. "description": "更新人来源 - 1:管理端 2:终端",
  27614. "type": "integer"
  27615. },
  27616. "wrstandardid": {
  27617. "description": "现货商品ID",
  27618. "type": "integer"
  27619. }
  27620. }
  27621. },
  27622. "models.ErmcpHisExposure": {
  27623. "type": "object",
  27624. "properties": {
  27625. "needhedgeexposoure": {
  27626. "description": "应套保敞口",
  27627. "type": "number"
  27628. },
  27629. "reckondate": {
  27630. "description": "日照时期(yyyyMMdd)",
  27631. "type": "string"
  27632. },
  27633. "totalexposure": {
  27634. "description": "总敞口",
  27635. "type": "number"
  27636. }
  27637. }
  27638. },
  27639. "models.ErmcpLoginTaAccount": {
  27640. "type": "object",
  27641. "properties": {
  27642. "accountid": {
  27643. "description": "账号id",
  27644. "type": "integer"
  27645. },
  27646. "accountname": {
  27647. "description": "账号名称",
  27648. "type": "string"
  27649. }
  27650. }
  27651. },
  27652. "models.ErmcpLoginUser": {
  27653. "type": "object",
  27654. "properties": {
  27655. "acclist": {
  27656. "description": "关联资金账号",
  27657. "type": "array",
  27658. "items": {
  27659. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  27660. }
  27661. },
  27662. "accountname": {
  27663. "description": "用户名称",
  27664. "type": "string"
  27665. },
  27666. "clientroleid": {
  27667. "description": "角色id(usertype=2)",
  27668. "type": "integer"
  27669. },
  27670. "createtime": {
  27671. "description": "创建时间",
  27672. "type": "string"
  27673. },
  27674. "logincode": {
  27675. "description": "登录代码",
  27676. "type": "string"
  27677. },
  27678. "loginid": {
  27679. "description": "登录id(LOGINID)",
  27680. "type": "integer"
  27681. },
  27682. "loginname": {
  27683. "description": "登录名称(loginaccount表中的accountname字段)",
  27684. "type": "string"
  27685. },
  27686. "loginstatus": {
  27687. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  27688. "type": "integer"
  27689. },
  27690. "memberuserid": {
  27691. "description": "所属会员id",
  27692. "type": "integer"
  27693. },
  27694. "mobile": {
  27695. "description": "手机号",
  27696. "type": "string"
  27697. },
  27698. "modifytime": {
  27699. "description": "修改时间",
  27700. "type": "string"
  27701. },
  27702. "password": {
  27703. "description": "密码(不可解密)",
  27704. "type": "string"
  27705. },
  27706. "rolename": {
  27707. "description": "角色名称",
  27708. "type": "string"
  27709. },
  27710. "rolestatus": {
  27711. "description": "角色状态 1-启用 2-停用",
  27712. "type": "integer"
  27713. },
  27714. "roletype": {
  27715. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  27716. "type": "string"
  27717. },
  27718. "userid": {
  27719. "description": "用户id",
  27720. "type": "integer"
  27721. },
  27722. "usertype": {
  27723. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27724. "type": "integer"
  27725. }
  27726. }
  27727. },
  27728. "models.ErmcpLoginUserEx": {
  27729. "type": "object",
  27730. "properties": {
  27731. "accountstatus": {
  27732. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27733. "type": "integer"
  27734. },
  27735. "mobile": {
  27736. "description": "手机号",
  27737. "type": "string"
  27738. },
  27739. "querytype": {
  27740. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  27741. "type": "integer"
  27742. },
  27743. "roleid": {
  27744. "description": "角色id(交易账户-\u003e用户id)",
  27745. "type": "integer"
  27746. },
  27747. "rolename": {
  27748. "description": "角色名称(交易账户-\u003e用户名称)",
  27749. "type": "string"
  27750. },
  27751. "userlist": {
  27752. "description": "用户列表",
  27753. "type": "array",
  27754. "items": {
  27755. "$ref": "#/definitions/models.ErmcpLoginUser"
  27756. }
  27757. },
  27758. "usertype": {
  27759. "description": "用户类型 2-机构 7-企业成员(云平台)",
  27760. "type": "integer"
  27761. }
  27762. }
  27763. },
  27764. "models.ErmcpMiddleGoodsModel": {
  27765. "type": "object",
  27766. "properties": {
  27767. "areauserid": {
  27768. "description": "机构用户ID",
  27769. "type": "integer"
  27770. },
  27771. "createtime": {
  27772. "description": "修改时间",
  27773. "type": "string"
  27774. },
  27775. "enumdicname": {
  27776. "description": "单位名称",
  27777. "type": "string"
  27778. },
  27779. "evaluateratio": {
  27780. "description": "估价系数",
  27781. "type": "number"
  27782. },
  27783. "goodsgroupid": {
  27784. "description": "关联期货品种ID",
  27785. "type": "integer"
  27786. },
  27787. "goodsunitid": {
  27788. "description": "单位ID",
  27789. "type": "integer"
  27790. },
  27791. "isvalid": {
  27792. "description": "状态 0-无效(停用) 1-有效(正常)",
  27793. "type": "integer"
  27794. },
  27795. "middlegoodscode": {
  27796. "description": "套保品种代码",
  27797. "type": "string"
  27798. },
  27799. "middlegoodsid": {
  27800. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  27801. "type": "integer"
  27802. },
  27803. "middlegoodsname": {
  27804. "description": "套保品种名称",
  27805. "type": "string"
  27806. },
  27807. "modifytime": {
  27808. "description": "修改时间",
  27809. "type": "string"
  27810. },
  27811. "needarbitrageratio": {
  27812. "description": "套利比例",
  27813. "type": "number"
  27814. },
  27815. "needhedgeratio": {
  27816. "description": "套保比率",
  27817. "type": "number"
  27818. },
  27819. "qtydecimalplace": {
  27820. "description": "数量小数位",
  27821. "type": "integer"
  27822. },
  27823. "relatedgoodsid": {
  27824. "description": "关联交易商品ID",
  27825. "type": "integer"
  27826. },
  27827. "relatedgoodstype": {
  27828. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  27829. "type": "integer"
  27830. },
  27831. "remark": {
  27832. "description": "备注",
  27833. "type": "string"
  27834. }
  27835. }
  27836. },
  27837. "models.ErmcpMiddlegoodsRelateGoods": {
  27838. "type": "object",
  27839. "properties": {
  27840. "agreeunit": {
  27841. "description": "合约乘数",
  27842. "type": "number"
  27843. },
  27844. "convertratio": {
  27845. "description": "折算系数",
  27846. "type": "number"
  27847. },
  27848. "enumdicname": {
  27849. "description": "单位名称(交易商品)",
  27850. "type": "string"
  27851. },
  27852. "goodscode": {
  27853. "description": "交易商品代码",
  27854. "type": "string"
  27855. },
  27856. "goodsgroupid": {
  27857. "description": "交易品种id",
  27858. "type": "integer"
  27859. },
  27860. "goodsid": {
  27861. "description": "商品Id",
  27862. "type": "integer"
  27863. },
  27864. "goodsname": {
  27865. "description": "交易商品名称",
  27866. "type": "string"
  27867. },
  27868. "goodunitid": {
  27869. "description": "交易商品单位id",
  27870. "type": "integer"
  27871. },
  27872. "middlegoodsid": {
  27873. "description": "套保商品id",
  27874. "type": "integer"
  27875. },
  27876. "middlegoodsname": {
  27877. "description": "套保商品名称",
  27878. "type": "string"
  27879. },
  27880. "middlegoodsswcode": {
  27881. "description": "套保商品代码",
  27882. "type": "string"
  27883. },
  27884. "needarbitrageratio": {
  27885. "description": "应套利比例",
  27886. "type": "number"
  27887. },
  27888. "needhedgeratio": {
  27889. "description": "应套保比例",
  27890. "type": "number"
  27891. }
  27892. }
  27893. },
  27894. "models.ErmcpRole": {
  27895. "type": "object",
  27896. "properties": {
  27897. "areauserid": {
  27898. "description": "所属机构",
  27899. "type": "integer"
  27900. },
  27901. "autoid": {
  27902. "description": "角色ID(自增ID)",
  27903. "type": "integer"
  27904. },
  27905. "modifierid": {
  27906. "description": "修改人(创建人)",
  27907. "type": "integer"
  27908. },
  27909. "modifiername": {
  27910. "description": "修改人名称",
  27911. "type": "string"
  27912. },
  27913. "modifytime": {
  27914. "description": "修改时间(创建时间)",
  27915. "type": "string"
  27916. },
  27917. "rolename": {
  27918. "description": "角色名称",
  27919. "type": "string"
  27920. },
  27921. "rolestatus": {
  27922. "description": "角色状态 - 1:启用 2:停用",
  27923. "type": "integer"
  27924. },
  27925. "roletype": {
  27926. "description": "角色类型 - 1- 管理端 2- 交易端",
  27927. "type": "integer"
  27928. }
  27929. }
  27930. },
  27931. "models.ErmcpRoleMenu": {
  27932. "type": "object",
  27933. "properties": {
  27934. "iconame": {
  27935. "description": "菜单图标",
  27936. "type": "string"
  27937. },
  27938. "ishadrole": {
  27939. "description": "是否有权限",
  27940. "type": "boolean"
  27941. },
  27942. "menutype": {
  27943. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  27944. "type": "integer"
  27945. },
  27946. "parentcode": {
  27947. "description": "上级资源代码",
  27948. "type": "string"
  27949. },
  27950. "remark": {
  27951. "description": "菜单备注",
  27952. "type": "string"
  27953. },
  27954. "resourcecode": {
  27955. "description": "菜单代码",
  27956. "type": "string"
  27957. },
  27958. "resourcelevel": {
  27959. "description": "级别",
  27960. "type": "integer"
  27961. },
  27962. "resourcename": {
  27963. "description": "菜单名称",
  27964. "type": "string"
  27965. },
  27966. "roleid": {
  27967. "description": "角色id",
  27968. "type": "integer"
  27969. },
  27970. "sort": {
  27971. "description": "排序",
  27972. "type": "integer"
  27973. },
  27974. "url": {
  27975. "description": "URL",
  27976. "type": "string"
  27977. },
  27978. "userid": {
  27979. "description": "用户id",
  27980. "type": "integer"
  27981. }
  27982. }
  27983. },
  27984. "models.ErmcpRoleMenuEx": {
  27985. "type": "object",
  27986. "properties": {
  27987. "menu": {
  27988. "description": "父级菜单",
  27989. "$ref": "#/definitions/models.ErmcpRoleMenu"
  27990. },
  27991. "subMenu": {
  27992. "description": "子级菜单",
  27993. "type": "array",
  27994. "items": {
  27995. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  27996. }
  27997. }
  27998. }
  27999. },
  28000. "models.ErmcpSpotContractModelEx": {
  28001. "type": "object",
  28002. "properties": {
  28003. "accountname": {
  28004. "description": "套期主体",
  28005. "type": "string"
  28006. },
  28007. "amount": {
  28008. "description": "金额 [1:一口价、3:暂定价]",
  28009. "type": "number"
  28010. },
  28011. "attachment": {
  28012. "description": "附件",
  28013. "type": "string"
  28014. },
  28015. "auditremark": {
  28016. "description": "审核意见",
  28017. "type": "string"
  28018. },
  28019. "audittime": {
  28020. "description": "审核时间",
  28021. "type": "string"
  28022. },
  28023. "avgprice": {
  28024. "description": "定价均价 = 已定价金额 / 已定价量",
  28025. "type": "number"
  28026. },
  28027. "brandname": {
  28028. "description": "品牌名称",
  28029. "type": "string"
  28030. },
  28031. "buyuserid": {
  28032. "description": "采购方ID",
  28033. "type": "integer"
  28034. },
  28035. "buyusername": {
  28036. "description": "采购方名称",
  28037. "type": "string"
  28038. },
  28039. "contracctstatus": {
  28040. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28041. "type": "integer"
  28042. },
  28043. "contractmargin": {
  28044. "description": "合同保证金",
  28045. "type": "number"
  28046. },
  28047. "contractno": {
  28048. "description": "[合同编号]现货合同编号",
  28049. "type": "string"
  28050. },
  28051. "contracttype": {
  28052. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28053. "type": "integer"
  28054. },
  28055. "convertfactor": {
  28056. "description": "标仓系数",
  28057. "type": "number"
  28058. },
  28059. "createtime": {
  28060. "description": "创建时间",
  28061. "type": "string"
  28062. },
  28063. "customername": {
  28064. "description": "对手方",
  28065. "type": "string"
  28066. },
  28067. "customeruserid": {
  28068. "description": "客户ID",
  28069. "type": "integer"
  28070. },
  28071. "deliveryenddate": {
  28072. "description": "交收期(结束)",
  28073. "type": "string"
  28074. },
  28075. "deliverygoodscode": {
  28076. "description": "现货品种代码",
  28077. "type": "string"
  28078. },
  28079. "deliverygoodsid": {
  28080. "description": "现货品种ID",
  28081. "type": "integer"
  28082. },
  28083. "deliverygoodsname": {
  28084. "description": "现货品种名称",
  28085. "type": "string"
  28086. },
  28087. "deliverystartdate": {
  28088. "description": "交收期(开始)",
  28089. "type": "string"
  28090. },
  28091. "enddate": {
  28092. "description": "点价结束日期 [2:点价 3:暂定价]",
  28093. "type": "string"
  28094. },
  28095. "enumdicname": {
  28096. "description": "单位名称",
  28097. "type": "string"
  28098. },
  28099. "goodscode": {
  28100. "description": "点价合约代码",
  28101. "type": "string"
  28102. },
  28103. "goodsid": {
  28104. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28105. "type": "integer"
  28106. },
  28107. "goodsname": {
  28108. "description": "点价商品名称",
  28109. "type": "string"
  28110. },
  28111. "isrelated": {
  28112. "description": "是否已关联计划项目 - 0:否 1:是",
  28113. "type": "integer"
  28114. },
  28115. "isrelated2": {
  28116. "description": "是否已关联现货项目 - 0:否 1:是",
  28117. "type": "integer"
  28118. },
  28119. "margin": {
  28120. "description": "当前保证金",
  28121. "type": "number"
  28122. },
  28123. "modelname": {
  28124. "description": "型号名称",
  28125. "type": "string"
  28126. },
  28127. "price": {
  28128. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28129. "type": "number"
  28130. },
  28131. "pricedamount": {
  28132. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28133. "type": "number"
  28134. },
  28135. "pricedqty": {
  28136. "description": "已定价量",
  28137. "type": "number"
  28138. },
  28139. "pricemove": {
  28140. "description": "升贴水 [2:点价 3:暂定价]",
  28141. "type": "number"
  28142. },
  28143. "pricetype": {
  28144. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28145. "type": "integer"
  28146. },
  28147. "producttype": {
  28148. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28149. "type": "integer"
  28150. },
  28151. "qty": {
  28152. "description": "[合同数量]数量",
  28153. "type": "number"
  28154. },
  28155. "remark": {
  28156. "description": "备注",
  28157. "type": "string"
  28158. },
  28159. "selluserid": {
  28160. "description": "销售方ID",
  28161. "type": "integer"
  28162. },
  28163. "sellusername": {
  28164. "description": "销售方名称",
  28165. "type": "string"
  28166. },
  28167. "spotamount": {
  28168. "description": "合同现货金额 [不含升贴水]",
  28169. "type": "number"
  28170. },
  28171. "spotavgprice": {
  28172. "description": "现货均价 = 合同现货金额 / 已定价量",
  28173. "type": "number"
  28174. },
  28175. "spotcontractid": {
  28176. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  28177. "type": "string"
  28178. },
  28179. "spotgoodsbrandid": {
  28180. "description": "现货品牌ID",
  28181. "type": "integer"
  28182. },
  28183. "spotgoodsdesc": {
  28184. "description": "商品型号",
  28185. "type": "string"
  28186. },
  28187. "spotgoodsmodelid": {
  28188. "description": "现货型号ID",
  28189. "type": "integer"
  28190. },
  28191. "startdate": {
  28192. "description": "点价开始日期 [2:点价 3:暂定价]",
  28193. "type": "string"
  28194. },
  28195. "tradeuserid": {
  28196. "description": "交易用户ID",
  28197. "type": "integer"
  28198. },
  28199. "unpricedqty": {
  28200. "description": "未定价量 = 合同数量 - 已定价量",
  28201. "type": "number"
  28202. },
  28203. "updatetime": {
  28204. "description": "更新时间",
  28205. "type": "string"
  28206. },
  28207. "userid": {
  28208. "description": "机构ID",
  28209. "type": "integer"
  28210. },
  28211. "wrstandardcode": {
  28212. "description": "现货商品代码",
  28213. "type": "string"
  28214. },
  28215. "wrstandardid": {
  28216. "description": "现货商品ID",
  28217. "type": "integer"
  28218. },
  28219. "wrstandardname": {
  28220. "description": "[现货商品]现货商品名称",
  28221. "type": "string"
  28222. }
  28223. }
  28224. },
  28225. "models.ErmcpTaAccount": {
  28226. "type": "object",
  28227. "properties": {
  28228. "accountid": {
  28229. "description": "账户id",
  28230. "type": "integer"
  28231. },
  28232. "accountname": {
  28233. "description": "账户名称",
  28234. "type": "string"
  28235. },
  28236. "currencyid": {
  28237. "description": "币种id",
  28238. "type": "integer"
  28239. },
  28240. "hedgeaccountcode": {
  28241. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28242. "type": "string"
  28243. },
  28244. "ismain": {
  28245. "description": "是否主账户 0-否 1-是",
  28246. "type": "integer"
  28247. },
  28248. "parentaccountid": {
  28249. "description": "父账户id",
  28250. "type": "integer"
  28251. },
  28252. "relateduserid": {
  28253. "description": "关联userid",
  28254. "type": "integer"
  28255. },
  28256. "tradefeetmpid": {
  28257. "description": "手续费模板id",
  28258. "type": "integer"
  28259. },
  28260. "tradefeetmpname": {
  28261. "description": "手续费模板名称",
  28262. "type": "string"
  28263. },
  28264. "trademargintmpid": {
  28265. "description": "保证金模板id",
  28266. "type": "integer"
  28267. },
  28268. "trademargintmpname": {
  28269. "description": "保证金模板名称",
  28270. "type": "string"
  28271. },
  28272. "traderatetmpid": {
  28273. "description": "汇率模板id",
  28274. "type": "integer"
  28275. },
  28276. "traderatetmpname": {
  28277. "description": "汇率模板名称",
  28278. "type": "string"
  28279. },
  28280. "tradestatus": {
  28281. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28282. "type": "integer"
  28283. },
  28284. "userid": {
  28285. "description": "用户id",
  28286. "type": "integer"
  28287. }
  28288. }
  28289. },
  28290. "models.ErmcpTaAccountEx": {
  28291. "type": "object",
  28292. "properties": {
  28293. "mainAcc": {
  28294. "description": "主账号",
  28295. "$ref": "#/definitions/models.ErmcpTaAccountM"
  28296. },
  28297. "subacclist": {
  28298. "description": "子账号列表",
  28299. "type": "array",
  28300. "items": {
  28301. "$ref": "#/definitions/models.ErmcpTaAccount"
  28302. }
  28303. }
  28304. }
  28305. },
  28306. "models.ErmcpTaAccountInfo": {
  28307. "type": "object",
  28308. "properties": {
  28309. "accountid": {
  28310. "description": "资金账户ID",
  28311. "type": "integer"
  28312. },
  28313. "accountname": {
  28314. "description": "账户名称",
  28315. "type": "string"
  28316. },
  28317. "balance": {
  28318. "description": "期初余额",
  28319. "type": "number"
  28320. },
  28321. "capitalbalance": {
  28322. "description": "本金余额[外部子账户实际出入金余额]",
  28323. "type": "number"
  28324. },
  28325. "closepl": {
  28326. "description": "今日平仓盈亏",
  28327. "type": "number"
  28328. },
  28329. "creditdecrease": {
  28330. "description": "今日授信减少",
  28331. "type": "number"
  28332. },
  28333. "creditincrease": {
  28334. "description": "今日授信增加",
  28335. "type": "number"
  28336. },
  28337. "curdebt": {
  28338. "description": "期末欠款",
  28339. "type": "number"
  28340. },
  28341. "currencyid": {
  28342. "description": "货币ID",
  28343. "type": "integer"
  28344. },
  28345. "currentbalance": {
  28346. "description": "期末余额",
  28347. "type": "number"
  28348. },
  28349. "freezecharge": {
  28350. "description": "手续费冻结",
  28351. "type": "number"
  28352. },
  28353. "freezemargin": {
  28354. "description": "冻结保证金",
  28355. "type": "number"
  28356. },
  28357. "fromaccountid": {
  28358. "description": "所属上级账户",
  28359. "type": "integer"
  28360. },
  28361. "inamount": {
  28362. "description": "今日入金金额(包括三方入金)",
  28363. "type": "number"
  28364. },
  28365. "ismain": {
  28366. "description": "是否母账号 0:不是母账户 1:是母账户",
  28367. "type": "integer"
  28368. },
  28369. "mortgagecredit": {
  28370. "description": "授信金额",
  28371. "type": "number"
  28372. },
  28373. "oridebt": {
  28374. "description": "期初欠款",
  28375. "type": "number"
  28376. },
  28377. "orifreezecharge": {
  28378. "description": "期初手续费冻结",
  28379. "type": "number"
  28380. },
  28381. "orifreezemargin": {
  28382. "description": "期初冻结保证金",
  28383. "type": "number"
  28384. },
  28385. "orimortgagecredit": {
  28386. "description": "期初授信金额",
  28387. "type": "number"
  28388. },
  28389. "oriothercredit": {
  28390. "description": "期初其它授信金额",
  28391. "type": "number"
  28392. },
  28393. "oriotherfreezemargin": {
  28394. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  28395. "type": "number"
  28396. },
  28397. "orioutamountfreeze": {
  28398. "description": "期初出金冻结",
  28399. "type": "number"
  28400. },
  28401. "oriusedmargin": {
  28402. "description": "期初占用保证金",
  28403. "type": "number"
  28404. },
  28405. "othercredit": {
  28406. "description": "其它授信金额",
  28407. "type": "number"
  28408. },
  28409. "othercreditdecrease": {
  28410. "description": "今日其它授信减少",
  28411. "type": "number"
  28412. },
  28413. "othercreditincrease": {
  28414. "description": "今日其它授信增加",
  28415. "type": "number"
  28416. },
  28417. "otherfreezemargin": {
  28418. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  28419. "type": "number"
  28420. },
  28421. "outamount": {
  28422. "description": "今日出金金额(包括三方出金)",
  28423. "type": "number"
  28424. },
  28425. "outamountfreeze": {
  28426. "description": "出金冻结",
  28427. "type": "number"
  28428. },
  28429. "outthreshold": {
  28430. "description": "出金阈值",
  28431. "type": "number"
  28432. },
  28433. "parentaccountid": {
  28434. "description": "所属根账号",
  28435. "type": "integer"
  28436. },
  28437. "paycharge": {
  28438. "description": "今日手续费支出",
  28439. "type": "number"
  28440. },
  28441. "relateduserid": {
  28442. "description": "关联用户",
  28443. "type": "integer"
  28444. },
  28445. "signstatus": {
  28446. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  28447. "type": "integer"
  28448. },
  28449. "sublevelpath": {
  28450. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  28451. "type": "string"
  28452. },
  28453. "taaccounttype": {
  28454. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  28455. "type": "integer"
  28456. },
  28457. "thirdinamount": {
  28458. "description": "今日三方入金",
  28459. "type": "number"
  28460. },
  28461. "thirdoutamount": {
  28462. "description": "今日三方出金",
  28463. "type": "number"
  28464. },
  28465. "tradestatus": {
  28466. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28467. "type": "integer"
  28468. },
  28469. "transferamount": {
  28470. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  28471. "type": "number"
  28472. },
  28473. "usedmargin": {
  28474. "description": "占用保证金",
  28475. "type": "number"
  28476. },
  28477. "userid": {
  28478. "description": "用户ID",
  28479. "type": "integer"
  28480. }
  28481. }
  28482. },
  28483. "models.ErmcpTaAccountM": {
  28484. "type": "object",
  28485. "properties": {
  28486. "accountid": {
  28487. "description": "账户id",
  28488. "type": "integer"
  28489. },
  28490. "accountname": {
  28491. "description": "账户名称",
  28492. "type": "string"
  28493. },
  28494. "currencyid": {
  28495. "description": "币种id",
  28496. "type": "integer"
  28497. },
  28498. "fcid": {
  28499. "description": "期货公司id",
  28500. "type": "integer"
  28501. },
  28502. "fcname": {
  28503. "description": "期货公司代码",
  28504. "type": "string"
  28505. },
  28506. "hedgeaccountcode": {
  28507. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  28508. "type": "string"
  28509. },
  28510. "ismain": {
  28511. "description": "是否主账户 0-否 1-是",
  28512. "type": "integer"
  28513. },
  28514. "parentaccountid": {
  28515. "description": "父账户id",
  28516. "type": "integer"
  28517. },
  28518. "relateduserid": {
  28519. "description": "关联userid",
  28520. "type": "integer"
  28521. },
  28522. "tradefeetmpid": {
  28523. "description": "手续费模板id",
  28524. "type": "integer"
  28525. },
  28526. "tradefeetmpname": {
  28527. "description": "手续费模板名称",
  28528. "type": "string"
  28529. },
  28530. "trademargintmpid": {
  28531. "description": "保证金模板id",
  28532. "type": "integer"
  28533. },
  28534. "trademargintmpname": {
  28535. "description": "保证金模板名称",
  28536. "type": "string"
  28537. },
  28538. "traderatetmpid": {
  28539. "description": "汇率模板id",
  28540. "type": "integer"
  28541. },
  28542. "traderatetmpname": {
  28543. "description": "汇率模板名称",
  28544. "type": "string"
  28545. },
  28546. "tradestatus": {
  28547. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  28548. "type": "integer"
  28549. },
  28550. "userid": {
  28551. "description": "用户id",
  28552. "type": "integer"
  28553. }
  28554. }
  28555. },
  28556. "models.ErmcpTradeConfigTMP": {
  28557. "type": "object",
  28558. "properties": {
  28559. "areauserid": {
  28560. "description": "所属机构",
  28561. "type": "integer"
  28562. },
  28563. "basiccurrencyid": {
  28564. "description": "基本币种ID[汇率] - 目标币种",
  28565. "type": "integer"
  28566. },
  28567. "mainaccountid": {
  28568. "description": "主账户ID",
  28569. "type": "integer"
  28570. },
  28571. "modifierid": {
  28572. "description": "修改人",
  28573. "type": "integer"
  28574. },
  28575. "remark": {
  28576. "description": "备注",
  28577. "type": "string"
  28578. },
  28579. "tradeconfigtmpid": {
  28580. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  28581. "type": "integer"
  28582. },
  28583. "tradeconfigtmpname": {
  28584. "description": "交易配置模板名称",
  28585. "type": "string"
  28586. },
  28587. "tradeconfigtmptype": {
  28588. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  28589. "type": "integer"
  28590. },
  28591. "updatetime": {
  28592. "description": "更新时间",
  28593. "type": "string"
  28594. }
  28595. }
  28596. },
  28597. "models.Ermcpjrlinkpos": {
  28598. "type": "object",
  28599. "required": [
  28600. "spotcontractid"
  28601. ],
  28602. "properties": {
  28603. "areauserid": {
  28604. "description": "所属企业",
  28605. "type": "integer"
  28606. },
  28607. "averageprice": {
  28608. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  28609. "type": "number"
  28610. },
  28611. "closepl": {
  28612. "description": "总平仓盈亏 [期货损益]",
  28613. "type": "number"
  28614. },
  28615. "executeprice": {
  28616. "description": "执行价 - 1:期货单 为 0",
  28617. "type": "integer"
  28618. },
  28619. "futurehedgeqty": {
  28620. "description": "期货套期量",
  28621. "type": "number"
  28622. },
  28623. "goodsid": {
  28624. "description": "期货合约",
  28625. "type": "integer"
  28626. },
  28627. "middlegoodscode": {
  28628. "description": "套保商品代码",
  28629. "type": "string"
  28630. },
  28631. "middlegoodsname": {
  28632. "description": "套保商品名称",
  28633. "type": "string"
  28634. },
  28635. "netqty": {
  28636. "description": "净头寸",
  28637. "type": "number"
  28638. },
  28639. "optioncode": {
  28640. "description": "期权代码",
  28641. "type": "string"
  28642. },
  28643. "ordertype": {
  28644. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28645. "type": "integer"
  28646. },
  28647. "reckonpl": {
  28648. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  28649. "type": "number"
  28650. },
  28651. "spotcontractid": {
  28652. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  28653. "type": "string"
  28654. },
  28655. "todayfutureclosepl": {
  28656. "description": "今日平仓盈亏",
  28657. "type": "number"
  28658. },
  28659. "totalbuyamount": {
  28660. "description": "买金额 [期货]",
  28661. "type": "number"
  28662. },
  28663. "totalbuyholdamount": {
  28664. "description": "买持仓总金额[期货]",
  28665. "type": "number"
  28666. },
  28667. "totalbuyqty": {
  28668. "description": "买数量",
  28669. "type": "number"
  28670. },
  28671. "totalcharge": {
  28672. "description": "手续费",
  28673. "type": "number"
  28674. },
  28675. "totalpremium": {
  28676. "description": "权利金 [期权]",
  28677. "type": "number"
  28678. },
  28679. "totalsellamount": {
  28680. "description": "卖金额 [期货]",
  28681. "type": "number"
  28682. },
  28683. "totalsellholdamount": {
  28684. "description": "卖持仓总金额[期货]",
  28685. "type": "number"
  28686. },
  28687. "totalsellqty": {
  28688. "description": "卖数量",
  28689. "type": "number"
  28690. },
  28691. "updatetime": {
  28692. "description": "更新时间",
  28693. "type": "string"
  28694. }
  28695. }
  28696. },
  28697. "models.Ermcppatradelinkdetail": {
  28698. "type": "object",
  28699. "required": [
  28700. "hedgeditemid"
  28701. ],
  28702. "properties": {
  28703. "agreeunit": {
  28704. "description": "合约乘数",
  28705. "type": "number"
  28706. },
  28707. "amount": {
  28708. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  28709. "type": "number"
  28710. },
  28711. "areauserid": {
  28712. "description": "所属机构",
  28713. "type": "integer"
  28714. },
  28715. "bizsubjectid": {
  28716. "description": "归属业务部门ID - SubjectID",
  28717. "type": "integer"
  28718. },
  28719. "buyorsell": {
  28720. "description": "方向 - 0:买 1:卖",
  28721. "type": "integer"
  28722. },
  28723. "convertratio": {
  28724. "description": "品种系数",
  28725. "type": "number"
  28726. },
  28727. "createtime": {
  28728. "description": "创建时间",
  28729. "type": "string"
  28730. },
  28731. "creatorid": {
  28732. "description": "创建人ID",
  28733. "type": "integer"
  28734. },
  28735. "creatorsrc": {
  28736. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28737. "type": "integer"
  28738. },
  28739. "goodsgroupid": {
  28740. "description": "对冲品种ID[期货合约商品组ID]",
  28741. "type": "integer"
  28742. },
  28743. "goodsid": {
  28744. "description": "商品ID",
  28745. "type": "integer"
  28746. },
  28747. "hedgeditemid": {
  28748. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  28749. "type": "integer"
  28750. },
  28751. "hedgeflag": {
  28752. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  28753. "type": "integer"
  28754. },
  28755. "linkdetailid": {
  28756. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28757. "type": "string"
  28758. },
  28759. "linkstatus": {
  28760. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28761. "type": "integer"
  28762. },
  28763. "middlegoodsid": {
  28764. "description": "套保品种ID",
  28765. "type": "integer"
  28766. },
  28767. "name": {
  28768. "description": "账户名/子账户",
  28769. "type": "string"
  28770. },
  28771. "optioncode": {
  28772. "description": "[期货合约]期权代码 [期权]",
  28773. "type": "string"
  28774. },
  28775. "ordertype": {
  28776. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  28777. "type": "integer"
  28778. },
  28779. "relatedlot": {
  28780. "description": "[数量]关联手数",
  28781. "type": "number"
  28782. },
  28783. "relatedmode": {
  28784. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28785. "type": "integer"
  28786. },
  28787. "relatedqty": {
  28788. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28789. "type": "number"
  28790. },
  28791. "retcode": {
  28792. "description": "返回码",
  28793. "type": "integer"
  28794. },
  28795. "saleuserid": {
  28796. "description": "业务员ID",
  28797. "type": "integer"
  28798. },
  28799. "tradedate": {
  28800. "description": "关联交易日(yyyyMMdd)",
  28801. "type": "string"
  28802. },
  28803. "tradeid": {
  28804. "description": "[成交单号]内部成交单ID",
  28805. "type": "string"
  28806. },
  28807. "tradelot": {
  28808. "description": "成交手数",
  28809. "type": "integer"
  28810. },
  28811. "tradeprice": {
  28812. "description": "[价格]成交价格",
  28813. "type": "number"
  28814. },
  28815. "tradetime": {
  28816. "description": "日期时间",
  28817. "type": "string"
  28818. },
  28819. "tradetradedate": {
  28820. "description": "成交交易日(yyyyMMdd)",
  28821. "type": "string"
  28822. }
  28823. }
  28824. },
  28825. "models.Exchangerateconfig": {
  28826. "type": "object",
  28827. "properties": {
  28828. "descurrencyid": {
  28829. "description": "目标币种ID",
  28830. "type": "integer"
  28831. },
  28832. "exchangerate": {
  28833. "description": "汇率",
  28834. "type": "number"
  28835. },
  28836. "oricurrencyid": {
  28837. "description": "源币种ID",
  28838. "type": "integer"
  28839. },
  28840. "remark": {
  28841. "description": "备注",
  28842. "type": "string"
  28843. }
  28844. }
  28845. },
  28846. "models.Externalexchange": {
  28847. "type": "object",
  28848. "required": [
  28849. "autoid"
  28850. ],
  28851. "properties": {
  28852. "autoid": {
  28853. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  28854. "type": "integer"
  28855. },
  28856. "exchangefullname": {
  28857. "description": "外部交易所全称",
  28858. "type": "string"
  28859. },
  28860. "exexchangecode": {
  28861. "description": "外部交易所代码",
  28862. "type": "string"
  28863. },
  28864. "exexchangename": {
  28865. "description": "外部交易所名称(简称)",
  28866. "type": "string"
  28867. },
  28868. "ismarketprice": {
  28869. "description": "是否支持市价 - 0:不支持 1:支持",
  28870. "type": "integer"
  28871. },
  28872. "quotegear": {
  28873. "description": "行情档位(1-10)",
  28874. "type": "integer"
  28875. },
  28876. "showbrokerflag": {
  28877. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  28878. "type": "integer"
  28879. },
  28880. "updatetime": {
  28881. "description": "更新时间",
  28882. "type": "string"
  28883. }
  28884. }
  28885. },
  28886. "models.Funcmenulist": {
  28887. "type": "object",
  28888. "required": [
  28889. "resourcecode"
  28890. ],
  28891. "properties": {
  28892. "iconame": {
  28893. "description": "菜单图标",
  28894. "type": "string"
  28895. },
  28896. "menutype": {
  28897. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  28898. "type": "integer"
  28899. },
  28900. "parentcode": {
  28901. "description": "上级资源代码",
  28902. "type": "string"
  28903. },
  28904. "remark": {
  28905. "description": "备注",
  28906. "type": "string"
  28907. },
  28908. "resourcecode": {
  28909. "description": "资源代码",
  28910. "type": "string"
  28911. },
  28912. "resourcelevel": {
  28913. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  28914. "type": "integer"
  28915. },
  28916. "resourcename": {
  28917. "description": "资源名",
  28918. "type": "string"
  28919. },
  28920. "sort": {
  28921. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  28922. "type": "integer"
  28923. },
  28924. "url": {
  28925. "description": "URL",
  28926. "type": "string"
  28927. }
  28928. }
  28929. },
  28930. "models.GZGoods": {
  28931. "type": "object",
  28932. "required": [
  28933. "goodsno"
  28934. ],
  28935. "properties": {
  28936. "cerno": {
  28937. "description": "证书编号 - 类型:2,4,5",
  28938. "type": "string"
  28939. },
  28940. "cpcertno": {
  28941. "description": "金伯利证书编号 - 类型:3",
  28942. "type": "string"
  28943. },
  28944. "goodsno": {
  28945. "description": "商品编号",
  28946. "type": "string"
  28947. },
  28948. "imagepath": {
  28949. "description": "商品照片(相对地址)",
  28950. "type": "string"
  28951. },
  28952. "isvalid": {
  28953. "description": "是否有效 - 0:无效 1:有效",
  28954. "type": "integer"
  28955. },
  28956. "kppath": {
  28957. "description": "金伯利证书图片(相对地址) - 类型:3",
  28958. "type": "string"
  28959. },
  28960. "kpweight": {
  28961. "description": "金伯利证书重量 - 类型:3",
  28962. "type": "string"
  28963. },
  28964. "marketprice": {
  28965. "description": "市场价",
  28966. "type": "string"
  28967. },
  28968. "mobile": {
  28969. "description": "手机号码",
  28970. "type": "string"
  28971. },
  28972. "origin": {
  28973. "description": "原产地 - 类型:3",
  28974. "type": "string"
  28975. },
  28976. "performancetemplateid": {
  28977. "description": "履约计划模板ID",
  28978. "type": "integer"
  28979. },
  28980. "price": {
  28981. "description": "总价(价格) - 类型:1,2,3,4,5",
  28982. "type": "number"
  28983. },
  28984. "priceper": {
  28985. "description": "克拉单价 - 类型:1,2,3,5",
  28986. "type": "string"
  28987. },
  28988. "remainqty": {
  28989. "description": "剩余重量",
  28990. "type": "number"
  28991. },
  28992. "remark": {
  28993. "description": "备注",
  28994. "type": "string"
  28995. },
  28996. "sellusername": {
  28997. "description": "账户名称(机构名称)",
  28998. "type": "string"
  28999. },
  29000. "settingmaterial": {
  29001. "description": "镶嵌材料 - 类型:4",
  29002. "type": "string"
  29003. },
  29004. "size1": {
  29005. "description": "尺寸1 - 类型:2,4,5",
  29006. "type": "string"
  29007. },
  29008. "size2": {
  29009. "description": "尺寸2 - 类型:2,4,5",
  29010. "type": "string"
  29011. },
  29012. "size3": {
  29013. "description": "尺寸3 - 类型:2,4,5",
  29014. "type": "string"
  29015. },
  29016. "stonedesc": {
  29017. "description": "配石描述 - 类型:4",
  29018. "type": "string"
  29019. },
  29020. "userid": {
  29021. "description": "用户ID",
  29022. "type": "integer"
  29023. },
  29024. "warehouseid": {
  29025. "description": "仓库ID",
  29026. "type": "integer"
  29027. },
  29028. "warehousenamedisplay": {
  29029. "type": "string"
  29030. },
  29031. "weight": {
  29032. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29033. "type": "number"
  29034. },
  29035. "weightavg": {
  29036. "description": "平均单颗重量 - 类型:1,3",
  29037. "type": "number"
  29038. },
  29039. "wrpath": {
  29040. "description": "仓单扫描件(相对地址)",
  29041. "type": "string"
  29042. },
  29043. "wrstandardid": {
  29044. "description": "现货商品ID",
  29045. "type": "integer"
  29046. },
  29047. "wrtradeorderid": {
  29048. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29049. "type": "string"
  29050. },
  29051. "zscategory": {
  29052. "description": "钻石分类 - 枚举”ZSCategory“",
  29053. "type": "integer"
  29054. },
  29055. "zscategorydisplay": {
  29056. "type": "string"
  29057. },
  29058. "zscerttype": {
  29059. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29060. "type": "integer"
  29061. },
  29062. "zscerttypedisplay": {
  29063. "type": "string"
  29064. },
  29065. "zsclaritytype1": {
  29066. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29067. "type": "integer"
  29068. },
  29069. "zsclaritytype1display": {
  29070. "type": "string"
  29071. },
  29072. "zsclaritytype2": {
  29073. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29074. "type": "integer"
  29075. },
  29076. "zsclaritytype2display": {
  29077. "type": "string"
  29078. },
  29079. "zscolortype1": {
  29080. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29081. "type": "integer"
  29082. },
  29083. "zscolortype1display": {
  29084. "type": "string"
  29085. },
  29086. "zscolortype2": {
  29087. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29088. "type": "integer"
  29089. },
  29090. "zscolortype2display": {
  29091. "type": "string"
  29092. },
  29093. "zscrystaltype": {
  29094. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29095. "type": "string"
  29096. },
  29097. "zscrystaltypedisplay": {
  29098. "type": "string"
  29099. },
  29100. "zscurrencytype": {
  29101. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29102. "type": "integer"
  29103. },
  29104. "zscurrencytypedisplay": {
  29105. "type": "string"
  29106. },
  29107. "zscurrencytypedisplayunit": {
  29108. "type": "string"
  29109. },
  29110. "zscuttype1": {
  29111. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29112. "type": "integer"
  29113. },
  29114. "zscuttype1display": {
  29115. "type": "string"
  29116. },
  29117. "zscuttype2": {
  29118. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29119. "type": "integer"
  29120. },
  29121. "zscuttype2display": {
  29122. "type": "string"
  29123. },
  29124. "zsczcolor1type": {
  29125. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29126. "type": "integer"
  29127. },
  29128. "zsczcolor1typedisplay": {
  29129. "type": "string"
  29130. },
  29131. "zsczcolor2type": {
  29132. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29133. "type": "integer"
  29134. },
  29135. "zsczcolor2typedisplay": {
  29136. "type": "string"
  29137. },
  29138. "zsczcolor3type": {
  29139. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29140. "type": "integer"
  29141. },
  29142. "zsczcolor3typedisplay": {
  29143. "type": "string"
  29144. },
  29145. "zsfluorescencetype1": {
  29146. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  29147. "type": "integer"
  29148. },
  29149. "zsfluorescencetype1display": {
  29150. "type": "string"
  29151. },
  29152. "zsfluorescencetype2": {
  29153. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  29154. "type": "integer"
  29155. },
  29156. "zsfluorescencetype2display": {
  29157. "type": "string"
  29158. },
  29159. "zspolishtype1": {
  29160. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  29161. "type": "integer"
  29162. },
  29163. "zspolishtype1display": {
  29164. "type": "string"
  29165. },
  29166. "zspolishtype2": {
  29167. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  29168. "type": "integer"
  29169. },
  29170. "zspolishtype2display": {
  29171. "type": "string"
  29172. },
  29173. "zsshapetype": {
  29174. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  29175. "type": "string"
  29176. },
  29177. "zsshapetypedisplay": {
  29178. "type": "string"
  29179. },
  29180. "zsstyletype": {
  29181. "description": "款式 - 类型:4",
  29182. "type": "integer"
  29183. },
  29184. "zsstyletypedisplay": {
  29185. "type": "string"
  29186. },
  29187. "zssymmetrytype1": {
  29188. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  29189. "type": "integer"
  29190. },
  29191. "zssymmetrytype1display": {
  29192. "type": "string"
  29193. },
  29194. "zssymmetrytype2": {
  29195. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  29196. "type": "integer"
  29197. },
  29198. "zssymmetrytype2display": {
  29199. "type": "string"
  29200. }
  29201. }
  29202. },
  29203. "models.GZWarehouseinfo": {
  29204. "type": "object",
  29205. "properties": {
  29206. "address": {
  29207. "description": "详细地址",
  29208. "type": "string"
  29209. },
  29210. "areauserid": {
  29211. "description": "所属机构",
  29212. "type": "integer"
  29213. },
  29214. "autoid": {
  29215. "description": "自增ID",
  29216. "type": "integer"
  29217. },
  29218. "cityid": {
  29219. "description": "市",
  29220. "type": "integer"
  29221. },
  29222. "contactname": {
  29223. "description": "联系人",
  29224. "type": "string"
  29225. },
  29226. "contactnum": {
  29227. "description": "联系电话",
  29228. "type": "string"
  29229. },
  29230. "countryid": {
  29231. "description": "国家",
  29232. "type": "integer"
  29233. },
  29234. "createtime": {
  29235. "description": "创建时间",
  29236. "type": "string"
  29237. },
  29238. "districtid": {
  29239. "description": "区",
  29240. "type": "integer"
  29241. },
  29242. "hasvideo": {
  29243. "description": "是否有视频 - 0:无 1:有",
  29244. "type": "integer"
  29245. },
  29246. "provinceid": {
  29247. "description": "省",
  29248. "type": "integer"
  29249. },
  29250. "remark": {
  29251. "description": "审核备注",
  29252. "type": "string"
  29253. },
  29254. "videourl": {
  29255. "description": "视频地址",
  29256. "type": "string"
  29257. },
  29258. "warehousecode": {
  29259. "description": "仓库代码",
  29260. "type": "string"
  29261. },
  29262. "warehousename": {
  29263. "description": "仓库名称",
  29264. "type": "string"
  29265. },
  29266. "warehousestatus": {
  29267. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  29268. "type": "integer"
  29269. },
  29270. "warehousetype": {
  29271. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  29272. "type": "integer"
  29273. }
  29274. }
  29275. },
  29276. "models.Goods": {
  29277. "type": "object",
  29278. "required": [
  29279. "goodscode",
  29280. "goodsid",
  29281. "goodsname",
  29282. "marketid"
  29283. ],
  29284. "properties": {
  29285. "agreeunit": {
  29286. "description": "合约单位",
  29287. "type": "number"
  29288. },
  29289. "areauserid": {
  29290. "description": "所属机构",
  29291. "type": "integer"
  29292. },
  29293. "auditaccountid": {
  29294. "description": "审核操作员账号",
  29295. "type": "integer"
  29296. },
  29297. "audittime": {
  29298. "description": "审核时间",
  29299. "type": "string"
  29300. },
  29301. "cancelaccountid": {
  29302. "description": "注销操作员账号",
  29303. "type": "integer"
  29304. },
  29305. "canceltime": {
  29306. "description": "注销时间",
  29307. "type": "string"
  29308. },
  29309. "closepricemode": {
  29310. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29311. "type": "integer"
  29312. },
  29313. "closepriceparam": {
  29314. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29315. "type": "number"
  29316. },
  29317. "createtime": {
  29318. "description": "创建时间",
  29319. "type": "string"
  29320. },
  29321. "creatorid": {
  29322. "description": "创建人",
  29323. "type": "integer"
  29324. },
  29325. "currencyid": {
  29326. "description": "报价货币ID",
  29327. "type": "integer"
  29328. },
  29329. "cutmode": {
  29330. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29331. "type": "integer"
  29332. },
  29333. "decimalplace": {
  29334. "description": "报价小数位",
  29335. "type": "integer"
  29336. },
  29337. "delistingdate": {
  29338. "description": "商品退市时间(状态:退市) -- 已作废",
  29339. "type": "string"
  29340. },
  29341. "delistingmode": {
  29342. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29343. "type": "integer"
  29344. },
  29345. "deliveryflag": {
  29346. "description": "交割标志 - 0:不可交割 1:可交割",
  29347. "type": "integer"
  29348. },
  29349. "forceclosemode": {
  29350. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29351. "type": "integer"
  29352. },
  29353. "forceclosevalue": {
  29354. "description": "定期强平参数 [收益权]",
  29355. "type": "integer"
  29356. },
  29357. "goodscode": {
  29358. "description": "商品代码(内部)",
  29359. "type": "string"
  29360. },
  29361. "goodscurrencyid": {
  29362. "description": "合约货币ID",
  29363. "type": "integer"
  29364. },
  29365. "goodsgroupid": {
  29366. "description": "所属商品组ID",
  29367. "type": "integer"
  29368. },
  29369. "goodsid": {
  29370. "description": "商品ID(自增ID SEQ_GOODS)",
  29371. "type": "integer"
  29372. },
  29373. "goodsname": {
  29374. "description": "商品名称",
  29375. "type": "string"
  29376. },
  29377. "goodsquotetype": {
  29378. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29379. "type": "integer"
  29380. },
  29381. "goodsstatus": {
  29382. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29383. "type": "integer"
  29384. },
  29385. "goodstradetype": {
  29386. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29387. "type": "integer"
  29388. },
  29389. "goodunitid": {
  29390. "description": "报价单位ID",
  29391. "type": "integer"
  29392. },
  29393. "hasquoter": {
  29394. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29395. "type": "integer"
  29396. },
  29397. "hqprotecttime": {
  29398. "description": "行情保护时间(秒)",
  29399. "type": "integer"
  29400. },
  29401. "innerdealmode": {
  29402. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29403. "type": "integer"
  29404. },
  29405. "isbuylimited": {
  29406. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29407. "type": "integer"
  29408. },
  29409. "isvisible": {
  29410. "description": "游客是否可见 - 0:不可见 1:可见",
  29411. "type": "integer"
  29412. },
  29413. "lasttradedate": {
  29414. "description": "最后交易日期(状态:待退市)",
  29415. "type": "string"
  29416. },
  29417. "listingdate": {
  29418. "description": "交易开始日期",
  29419. "type": "string"
  29420. },
  29421. "marketid": {
  29422. "description": "所属市场ID",
  29423. "type": "integer"
  29424. },
  29425. "modifierid": {
  29426. "description": "修改人",
  29427. "type": "integer"
  29428. },
  29429. "modifystatus": {
  29430. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29431. "type": "integer"
  29432. },
  29433. "modifytime": {
  29434. "description": "修改时间",
  29435. "type": "string"
  29436. },
  29437. "outerdealmode": {
  29438. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29439. "type": "integer"
  29440. },
  29441. "outgoodscode": {
  29442. "description": "商品代码(外部)",
  29443. "type": "string"
  29444. },
  29445. "pictureurl": {
  29446. "description": "商品图片",
  29447. "type": "string"
  29448. },
  29449. "qtydecimalplace": {
  29450. "description": "成交量小数位",
  29451. "type": "integer"
  29452. },
  29453. "quotegear": {
  29454. "description": "行情档位(1-10)",
  29455. "type": "integer"
  29456. },
  29457. "quoteminunit": {
  29458. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29459. "type": "integer"
  29460. },
  29461. "quoteshowtype": {
  29462. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29463. "type": "integer"
  29464. },
  29465. "quoteshowtypeinterval": {
  29466. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29467. "type": "integer"
  29468. },
  29469. "remark": {
  29470. "description": "备注",
  29471. "type": "string"
  29472. }
  29473. }
  29474. },
  29475. "models.GoodsIDAndName": {
  29476. "type": "object",
  29477. "required": [
  29478. "goodscode",
  29479. "goodsid",
  29480. "goodsname",
  29481. "marketid"
  29482. ],
  29483. "properties": {
  29484. "goodscode": {
  29485. "description": "商品代码(内部)",
  29486. "type": "string"
  29487. },
  29488. "goodsid": {
  29489. "description": "商品ID(自增ID SEQ_GOODS)",
  29490. "type": "integer"
  29491. },
  29492. "goodsname": {
  29493. "description": "商品名称",
  29494. "type": "string"
  29495. },
  29496. "marketid": {
  29497. "description": "所属市场ID",
  29498. "type": "integer"
  29499. }
  29500. }
  29501. },
  29502. "models.Goodsgroup": {
  29503. "type": "object",
  29504. "required": [
  29505. "goodsgroupid",
  29506. "goodsgroupname",
  29507. "goodsgroupstatus",
  29508. "marketid"
  29509. ],
  29510. "properties": {
  29511. "agreeunit": {
  29512. "description": "合约单位",
  29513. "type": "number"
  29514. },
  29515. "canshort": {
  29516. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  29517. "type": "integer"
  29518. },
  29519. "closepricemode": {
  29520. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29521. "type": "integer"
  29522. },
  29523. "closepriceparam": {
  29524. "description": "强平最新价浮动比例 - 方式为2时使用",
  29525. "type": "number"
  29526. },
  29527. "createtime": {
  29528. "description": "创建时间",
  29529. "type": "string"
  29530. },
  29531. "creatorid": {
  29532. "description": "创建人",
  29533. "type": "integer"
  29534. },
  29535. "currencyid": {
  29536. "description": "报价货币ID",
  29537. "type": "integer"
  29538. },
  29539. "decimalplace": {
  29540. "description": "报价小数位",
  29541. "type": "integer"
  29542. },
  29543. "exercisetype": {
  29544. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  29545. "type": "integer"
  29546. },
  29547. "exexchangeid": {
  29548. "description": "外部交易所ID[通道交易]",
  29549. "type": "integer"
  29550. },
  29551. "goodsgroupid": {
  29552. "description": "商品组ID(自增ID)",
  29553. "type": "integer"
  29554. },
  29555. "goodsgroupname": {
  29556. "description": "商品组名称",
  29557. "type": "string"
  29558. },
  29559. "goodsgroupstatus": {
  29560. "description": "商品组状态 - 1:正常 2:注销",
  29561. "type": "integer"
  29562. },
  29563. "goodunitid": {
  29564. "description": "报价单位ID",
  29565. "type": "integer"
  29566. },
  29567. "innerdealmode": {
  29568. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29569. "type": "integer"
  29570. },
  29571. "isbuylimited": {
  29572. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29573. "type": "integer"
  29574. },
  29575. "marketid": {
  29576. "description": "所属市场ID",
  29577. "type": "integer"
  29578. },
  29579. "modifierid": {
  29580. "description": "修改人",
  29581. "type": "integer"
  29582. },
  29583. "modifytime": {
  29584. "description": "修改时间",
  29585. "type": "string"
  29586. },
  29587. "outerdealmode": {
  29588. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29589. "type": "integer"
  29590. },
  29591. "outergroupcode": {
  29592. "description": "外部商品组代码[通道交易]",
  29593. "type": "string"
  29594. },
  29595. "premiumdecimalplace": {
  29596. "description": "权利金小数位[场外期权]",
  29597. "type": "integer"
  29598. },
  29599. "premiumspreadalgorithm": {
  29600. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  29601. "type": "integer"
  29602. },
  29603. "premiumspreadvalue": {
  29604. "description": "权利金点差值[场外期权]",
  29605. "type": "number"
  29606. },
  29607. "qtydecimalplace": {
  29608. "description": "成交量小数位",
  29609. "type": "integer"
  29610. },
  29611. "quotegear": {
  29612. "description": "行情档位(1-10)",
  29613. "type": "integer"
  29614. },
  29615. "quoteminunit": {
  29616. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29617. "type": "integer"
  29618. },
  29619. "quoterid": {
  29620. "description": "报价商ID[场外期权]",
  29621. "type": "integer"
  29622. },
  29623. "quotesourcegroupid": {
  29624. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  29625. "type": "integer"
  29626. },
  29627. "syncgoodsqty": {
  29628. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  29629. "type": "integer"
  29630. }
  29631. }
  29632. },
  29633. "models.Goodssortbypreposition": {
  29634. "type": "object",
  29635. "required": [
  29636. "goodscode",
  29637. "tradedate"
  29638. ],
  29639. "properties": {
  29640. "goodscode": {
  29641. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  29642. "type": "string"
  29643. },
  29644. "goodsgroupcode": {
  29645. "description": "品种代码",
  29646. "type": "string"
  29647. },
  29648. "prepositionqty": {
  29649. "description": "昨持仓量",
  29650. "type": "integer"
  29651. },
  29652. "sortindex": {
  29653. "description": "排序",
  29654. "type": "integer"
  29655. },
  29656. "tradedate": {
  29657. "description": "交易日",
  29658. "type": "string"
  29659. },
  29660. "updatetime": {
  29661. "description": "更新时间",
  29662. "type": "string"
  29663. }
  29664. }
  29665. },
  29666. "models.Hedgeinnerholderdetail": {
  29667. "type": "object",
  29668. "required": [
  29669. "buyorsell",
  29670. "tradeid"
  29671. ],
  29672. "properties": {
  29673. "accountid": {
  29674. "description": "账号ID",
  29675. "type": "integer"
  29676. },
  29677. "buyorsell": {
  29678. "description": "方向 - 0:买 1:卖",
  29679. "type": "integer"
  29680. },
  29681. "freezeqty": {
  29682. "description": "冻结数量 - 按单平使用",
  29683. "type": "integer"
  29684. },
  29685. "goodsid": {
  29686. "description": "商品ID",
  29687. "type": "integer"
  29688. },
  29689. "holderamount": {
  29690. "description": "持仓金额 [商品币种]",
  29691. "type": "number"
  29692. },
  29693. "holderdays": {
  29694. "description": "剩余冻结天数",
  29695. "type": "integer"
  29696. },
  29697. "holderprice": {
  29698. "description": "持仓价格",
  29699. "type": "number"
  29700. },
  29701. "holderqty": {
  29702. "description": "持仓数量",
  29703. "type": "integer"
  29704. },
  29705. "marketid": {
  29706. "description": "市场ID",
  29707. "type": "integer"
  29708. },
  29709. "openprice": {
  29710. "description": "建仓价格",
  29711. "type": "number"
  29712. },
  29713. "openqty": {
  29714. "description": "建仓数量",
  29715. "type": "integer"
  29716. },
  29717. "parentaccountid": {
  29718. "description": "所属母账户",
  29719. "type": "integer"
  29720. },
  29721. "releaseamount": {
  29722. "description": "释放持仓金额[商品币种]",
  29723. "type": "number"
  29724. },
  29725. "tradeamount": {
  29726. "description": "成交金额[账户]",
  29727. "type": "number"
  29728. },
  29729. "tradedate": {
  29730. "description": "交易日(yyyyMMdd)",
  29731. "type": "string"
  29732. },
  29733. "tradeid": {
  29734. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  29735. "type": "string"
  29736. },
  29737. "tradetime": {
  29738. "description": "交易时间",
  29739. "type": "string"
  29740. }
  29741. }
  29742. },
  29743. "models.Hedgemarketopenlog": {
  29744. "type": "object",
  29745. "required": [
  29746. "accountid"
  29747. ],
  29748. "properties": {
  29749. "accountid": {
  29750. "description": "资金账号[外部母账户]",
  29751. "type": "integer"
  29752. },
  29753. "fcname": {
  29754. "description": "期货公司名称",
  29755. "type": "string"
  29756. },
  29757. "handlestatus": {
  29758. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  29759. "type": "integer"
  29760. },
  29761. "marketid": {
  29762. "description": "市场ID",
  29763. "type": "integer"
  29764. },
  29765. "status": {
  29766. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  29767. "type": "integer"
  29768. },
  29769. "tradedate": {
  29770. "description": "交易日(yyyyMMdd)",
  29771. "type": "string"
  29772. },
  29773. "updatetime": {
  29774. "description": "更新时间",
  29775. "type": "string"
  29776. }
  29777. }
  29778. },
  29779. "models.InternalEnableTradeDetail": {
  29780. "type": "object",
  29781. "required": [
  29782. "areauserid",
  29783. "goodsid",
  29784. "tradeuserid"
  29785. ],
  29786. "properties": {
  29787. "agreeunit": {
  29788. "description": "合约乘数",
  29789. "type": "number"
  29790. },
  29791. "areauserid": {
  29792. "description": "企业ID",
  29793. "type": "integer"
  29794. },
  29795. "convertratio": {
  29796. "description": "品种系数",
  29797. "type": "number"
  29798. },
  29799. "deliverygoodscode": {
  29800. "description": "现货品种代码",
  29801. "type": "string"
  29802. },
  29803. "deliverygoodsid": {
  29804. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  29805. "type": "integer"
  29806. },
  29807. "deliverygoodsname": {
  29808. "description": "现货品种名称",
  29809. "type": "string"
  29810. },
  29811. "futurehedgeqty": {
  29812. "description": "[已关联数量]期货持仓套期量",
  29813. "type": "number"
  29814. },
  29815. "goodsid": {
  29816. "description": "期货合约ID",
  29817. "type": "integer"
  29818. },
  29819. "hedgeditemid": {
  29820. "description": "被套期项目ID",
  29821. "type": "string"
  29822. },
  29823. "hedgeditemnum": {
  29824. "description": "项目编号",
  29825. "type": "string"
  29826. },
  29827. "tradeuserid": {
  29828. "description": "交易用户ID",
  29829. "type": "integer"
  29830. },
  29831. "unexehedgeqty": {
  29832. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  29833. "type": "number"
  29834. },
  29835. "unexespotqty": {
  29836. "description": "未执行现货量",
  29837. "type": "number"
  29838. },
  29839. "wrstandardcode": {
  29840. "description": "现货品类代码",
  29841. "type": "string"
  29842. },
  29843. "wrstandardid": {
  29844. "description": "现货品类ID(SEQ_WRSTANDARD)",
  29845. "type": "integer"
  29846. },
  29847. "wrstandardname": {
  29848. "description": "现货品类名称",
  29849. "type": "string"
  29850. }
  29851. }
  29852. },
  29853. "models.InternalUncorrelatedTradeDetail": {
  29854. "type": "object",
  29855. "properties": {
  29856. "accountid": {
  29857. "description": "账号ID",
  29858. "type": "integer"
  29859. },
  29860. "accountname": {
  29861. "description": "套期主体",
  29862. "type": "string"
  29863. },
  29864. "agreeunit": {
  29865. "description": "合约乘数",
  29866. "type": "number"
  29867. },
  29868. "areauserid": {
  29869. "description": "所属机构",
  29870. "type": "integer"
  29871. },
  29872. "bizsubjectid": {
  29873. "description": "归属业务部门ID - SubjectID",
  29874. "type": "integer"
  29875. },
  29876. "buyorsell": {
  29877. "description": "方向 - 0:买 1:卖",
  29878. "type": "integer"
  29879. },
  29880. "channelbuildtype": {
  29881. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  29882. "type": "integer"
  29883. },
  29884. "convertratio": {
  29885. "description": "品种系数",
  29886. "type": "number"
  29887. },
  29888. "createtime": {
  29889. "description": "创建时间",
  29890. "type": "string"
  29891. },
  29892. "creatorid": {
  29893. "description": "创建人ID",
  29894. "type": "integer"
  29895. },
  29896. "creatorsrc": {
  29897. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29898. "type": "integer"
  29899. },
  29900. "enableqty": {
  29901. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  29902. "type": "number"
  29903. },
  29904. "enumdicname": {
  29905. "description": "单位",
  29906. "type": "string"
  29907. },
  29908. "goodscode": {
  29909. "description": "合约代码",
  29910. "type": "string"
  29911. },
  29912. "goodsgroupid": {
  29913. "description": "对冲品种ID[期货合约商品组ID]",
  29914. "type": "integer"
  29915. },
  29916. "goodsid": {
  29917. "description": "商品ID",
  29918. "type": "integer"
  29919. },
  29920. "goodsname": {
  29921. "description": "合约名称",
  29922. "type": "string"
  29923. },
  29924. "hedgeditemid": {
  29925. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29926. "type": "integer"
  29927. },
  29928. "hedgeflag": {
  29929. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29930. "type": "integer"
  29931. },
  29932. "linkdetailid": {
  29933. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29934. "type": "string"
  29935. },
  29936. "linkstatus": {
  29937. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29938. "type": "integer"
  29939. },
  29940. "middlegoodsid": {
  29941. "description": "套保品种ID",
  29942. "type": "integer"
  29943. },
  29944. "middlegoodsqty": {
  29945. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  29946. "type": "number"
  29947. },
  29948. "relatedlot": {
  29949. "description": "[数量]关联手数",
  29950. "type": "number"
  29951. },
  29952. "relatedmode": {
  29953. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29954. "type": "integer"
  29955. },
  29956. "relatedqty": {
  29957. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29958. "type": "number"
  29959. },
  29960. "retcode": {
  29961. "description": "返回码",
  29962. "type": "integer"
  29963. },
  29964. "saleuserid": {
  29965. "description": "业务员ID",
  29966. "type": "integer"
  29967. },
  29968. "tradedate": {
  29969. "description": "关联交易日(yyyyMMdd)",
  29970. "type": "string"
  29971. },
  29972. "tradeid": {
  29973. "description": "成交单号",
  29974. "type": "string"
  29975. },
  29976. "tradelot": {
  29977. "description": "成交手数",
  29978. "type": "integer"
  29979. },
  29980. "tradeprice": {
  29981. "description": "成交价",
  29982. "type": "number"
  29983. },
  29984. "tradetime": {
  29985. "description": "成交时间",
  29986. "type": "string"
  29987. },
  29988. "tradetradedate": {
  29989. "description": "成交交易日(yyyyMMdd)",
  29990. "type": "string"
  29991. },
  29992. "tradeuserid": {
  29993. "description": "交易用户ID",
  29994. "type": "integer"
  29995. }
  29996. }
  29997. },
  29998. "models.Loginaccount": {
  29999. "type": "object",
  30000. "required": [
  30001. "loginid"
  30002. ],
  30003. "properties": {
  30004. "accountname": {
  30005. "description": "账户名称",
  30006. "type": "string"
  30007. },
  30008. "canoutin": {
  30009. "description": "是否可出入金 - 0:不可 1:可",
  30010. "type": "integer"
  30011. },
  30012. "clientroleid": {
  30013. "description": "终端角色ID",
  30014. "type": "integer"
  30015. },
  30016. "haslogined": {
  30017. "description": "是否已登录 - 0:未登录 1:已登录",
  30018. "type": "integer"
  30019. },
  30020. "hasupdatedpwd": {
  30021. "description": "是否已更改密码 - 0:未修改 1:已修改",
  30022. "type": "integer"
  30023. },
  30024. "lastloginip": {
  30025. "description": "最新登录地址",
  30026. "type": "string"
  30027. },
  30028. "lastloginmode": {
  30029. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  30030. "type": "integer"
  30031. },
  30032. "lastloginremark": {
  30033. "description": "最新登录描述",
  30034. "type": "string"
  30035. },
  30036. "lastlogintime": {
  30037. "description": "最新登录时间",
  30038. "type": "string"
  30039. },
  30040. "logincode": {
  30041. "description": "登录代码",
  30042. "type": "string"
  30043. },
  30044. "loginfailnum": {
  30045. "description": "连续登录失败次数(登录成功时清零)",
  30046. "type": "integer"
  30047. },
  30048. "loginid": {
  30049. "description": "登陆账号",
  30050. "type": "integer"
  30051. },
  30052. "loginport": {
  30053. "description": "最新登录端口",
  30054. "type": "integer"
  30055. },
  30056. "loginstatus": {
  30057. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  30058. "type": "integer"
  30059. },
  30060. "loginusertype": {
  30061. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  30062. "type": "integer"
  30063. },
  30064. "mobile": {
  30065. "description": "手机号码(加密存储)",
  30066. "type": "string"
  30067. },
  30068. "modifierid": {
  30069. "description": "修改人",
  30070. "type": "integer"
  30071. },
  30072. "modifysrc": {
  30073. "description": "审核来源 - 1:管理端 2:终端",
  30074. "type": "integer"
  30075. },
  30076. "modifytime": {
  30077. "description": "修改时间",
  30078. "type": "string"
  30079. },
  30080. "pwdwrongcount": {
  30081. "description": "密码错误次数",
  30082. "type": "integer"
  30083. },
  30084. "relateduserid": {
  30085. "description": "关联用户ID(机构)",
  30086. "type": "integer"
  30087. },
  30088. "taaccountrighttype": {
  30089. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  30090. "type": "integer"
  30091. },
  30092. "unfreezetime": {
  30093. "description": "账户解冻时间",
  30094. "type": "string"
  30095. },
  30096. "userid": {
  30097. "description": "用户ID",
  30098. "type": "integer"
  30099. }
  30100. }
  30101. },
  30102. "models.MainAccountInfo": {
  30103. "type": "object",
  30104. "properties": {
  30105. "accountid": {
  30106. "description": "账号id",
  30107. "type": "integer"
  30108. },
  30109. "accountname": {
  30110. "description": "账号名称(taaccount表中的名称)",
  30111. "type": "string"
  30112. },
  30113. "appid": {
  30114. "description": "AppID",
  30115. "type": "string"
  30116. },
  30117. "authcode": {
  30118. "description": "授权码",
  30119. "type": "string"
  30120. },
  30121. "brokerid": {
  30122. "description": "经纪商id",
  30123. "type": "string"
  30124. },
  30125. "fcid": {
  30126. "description": "期货公司id",
  30127. "type": "integer"
  30128. },
  30129. "fcname": {
  30130. "description": "期货公司代码",
  30131. "type": "string"
  30132. },
  30133. "hedgeaccountcode": {
  30134. "description": "外部账号代码(主账号登录代码)",
  30135. "type": "string"
  30136. },
  30137. "hedgeaccountpwd": {
  30138. "description": "密码",
  30139. "type": "string"
  30140. },
  30141. "ismain": {
  30142. "description": "是否主账号",
  30143. "type": "integer"
  30144. },
  30145. "relateduserid": {
  30146. "description": "关联用户id",
  30147. "type": "integer"
  30148. },
  30149. "userid": {
  30150. "description": "关联用户id",
  30151. "type": "integer"
  30152. }
  30153. }
  30154. },
  30155. "models.Market": {
  30156. "type": "object",
  30157. "required": [
  30158. "marketid",
  30159. "marketstatus",
  30160. "openmethod",
  30161. "reckonpricealgorithm",
  30162. "trademode",
  30163. "tradeproperty"
  30164. ],
  30165. "properties": {
  30166. "auctionwrtype": {
  30167. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  30168. "type": "integer"
  30169. },
  30170. "canacceptquote": {
  30171. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  30172. "type": "integer"
  30173. },
  30174. "cangoodsexercise": {
  30175. "description": "[期权]是否可现货行权- 0:否 1:是",
  30176. "type": "integer"
  30177. },
  30178. "cangoodsexercisetype": {
  30179. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  30180. "type": "integer"
  30181. },
  30182. "canmanualquotestrike": {
  30183. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  30184. "type": "integer"
  30185. },
  30186. "canmutistage": {
  30187. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  30188. "type": "integer"
  30189. },
  30190. "canpreexercise": {
  30191. "description": "[期权]是否可预申报- 0:否 1:是",
  30192. "type": "integer"
  30193. },
  30194. "clearinterval": {
  30195. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  30196. "type": "integer"
  30197. },
  30198. "contracttmp": {
  30199. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  30200. "type": "string"
  30201. },
  30202. "exchareaid": {
  30203. "description": "所属交易所,可以没有",
  30204. "type": "integer"
  30205. },
  30206. "goodstype": {
  30207. "description": "商品类型 - 1:交易商品 2:仓单商品",
  30208. "type": "integer"
  30209. },
  30210. "hasrebate": {
  30211. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  30212. "type": "integer"
  30213. },
  30214. "hastradecredit": {
  30215. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  30216. "type": "integer"
  30217. },
  30218. "haswr": {
  30219. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  30220. "type": "integer"
  30221. },
  30222. "isdeductmargin": {
  30223. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  30224. "type": "integer"
  30225. },
  30226. "isrecordsource": {
  30227. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  30228. "type": "integer"
  30229. },
  30230. "isreleasemargin": {
  30231. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  30232. "type": "integer"
  30233. },
  30234. "marginformula": {
  30235. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30236. "type": "integer"
  30237. },
  30238. "marginformula2": {
  30239. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  30240. "type": "integer"
  30241. },
  30242. "marketid": {
  30243. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  30244. "type": "integer"
  30245. },
  30246. "marketname": {
  30247. "description": "市场名称",
  30248. "type": "string"
  30249. },
  30250. "marketserviceid": {
  30251. "description": "市场服务ID",
  30252. "type": "integer"
  30253. },
  30254. "marketstatus": {
  30255. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  30256. "type": "integer"
  30257. },
  30258. "markettype": {
  30259. "description": "市场类型- 1:非交易服务 2:交易服务",
  30260. "type": "integer"
  30261. },
  30262. "matchermode": {
  30263. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  30264. "type": "integer"
  30265. },
  30266. "openmethod": {
  30267. "description": "开盘模式 - 0 自动 1手动",
  30268. "type": "integer"
  30269. },
  30270. "otcuserid": {
  30271. "description": "场外期权做市商[场外期权]",
  30272. "type": "integer"
  30273. },
  30274. "outersynctime": {
  30275. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  30276. "type": "string"
  30277. },
  30278. "pendingflag": {
  30279. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  30280. "type": "integer"
  30281. },
  30282. "pendingtime": {
  30283. "description": "待开市时间[通道交易-对冲](HH:mm)",
  30284. "type": "string"
  30285. },
  30286. "performancetempid": {
  30287. "description": "履约计划模板ID - 作废",
  30288. "type": "integer"
  30289. },
  30290. "premiumquotemode": {
  30291. "description": "权利金报价方式 - 1:自动 2:手动",
  30292. "type": "integer"
  30293. },
  30294. "rebateratio": {
  30295. "description": "返利比率[竞价式]",
  30296. "type": "number"
  30297. },
  30298. "reckonorder": {
  30299. "description": "结算顺序",
  30300. "type": "integer"
  30301. },
  30302. "reckonpricealgorithm": {
  30303. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  30304. "type": "integer"
  30305. },
  30306. "reckonpriceparam": {
  30307. "description": "结算价参数",
  30308. "type": "integer"
  30309. },
  30310. "reckontime": {
  30311. "description": "结算时间[通道交易-对冲](HH:mm)",
  30312. "type": "string"
  30313. },
  30314. "roleprioritytype": {
  30315. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  30316. "type": "integer"
  30317. },
  30318. "selllistingauditflag": {
  30319. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  30320. "type": "integer"
  30321. },
  30322. "trademarkettype": {
  30323. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  30324. "type": "integer"
  30325. },
  30326. "trademode": {
  30327. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  30328. "type": "integer"
  30329. },
  30330. "tradeproperty": {
  30331. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  30332. "type": "integer"
  30333. },
  30334. "tradetype": {
  30335. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  30336. "type": "integer"
  30337. }
  30338. }
  30339. },
  30340. "models.Marketcalendar": {
  30341. "type": "object",
  30342. "properties": {
  30343. "holidaydate": {
  30344. "description": "节假日期(yyyy-MM-dd)",
  30345. "type": "string"
  30346. },
  30347. "marketid": {
  30348. "description": "市场ID",
  30349. "type": "integer"
  30350. }
  30351. }
  30352. },
  30353. "models.Marketrun": {
  30354. "type": "object",
  30355. "required": [
  30356. "marketid",
  30357. "nexttradedate",
  30358. "reckonflag",
  30359. "runstatus",
  30360. "tradedate",
  30361. "tradedate2"
  30362. ],
  30363. "properties": {
  30364. "afternexttradedate": {
  30365. "description": "下下交易日",
  30366. "type": "string"
  30367. },
  30368. "clearquoteflag": {
  30369. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  30370. "type": "integer"
  30371. },
  30372. "lastreckondate": {
  30373. "description": "最新交易日(结算成功)",
  30374. "type": "string"
  30375. },
  30376. "machinedate": {
  30377. "description": "机器时间",
  30378. "type": "string"
  30379. },
  30380. "manualflag": {
  30381. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  30382. "type": "integer"
  30383. },
  30384. "marketid": {
  30385. "description": "市场ID",
  30386. "type": "integer"
  30387. },
  30388. "nexttradedate": {
  30389. "description": "下一交易日",
  30390. "type": "string"
  30391. },
  30392. "pretradedate": {
  30393. "description": "上一交易日",
  30394. "type": "string"
  30395. },
  30396. "reckonflag": {
  30397. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  30398. "type": "integer"
  30399. },
  30400. "runstatus": {
  30401. "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.今日免清算",
  30402. "type": "integer"
  30403. },
  30404. "sectionid": {
  30405. "description": "时间段号[多时段时用]",
  30406. "type": "integer"
  30407. },
  30408. "tradedate": {
  30409. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  30410. "type": "string"
  30411. },
  30412. "tradedate2": {
  30413. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  30414. "type": "string"
  30415. },
  30416. "updatetime": {
  30417. "description": "更新时间",
  30418. "type": "string"
  30419. }
  30420. }
  30421. },
  30422. "models.Messageboard": {
  30423. "type": "object",
  30424. "required": [
  30425. "messageboardid"
  30426. ],
  30427. "properties": {
  30428. "contactnum": {
  30429. "description": "联系电话",
  30430. "type": "string"
  30431. },
  30432. "createtime": {
  30433. "description": "创建时间",
  30434. "type": "string"
  30435. },
  30436. "message": {
  30437. "description": "留言信息",
  30438. "type": "string"
  30439. },
  30440. "messageboardid": {
  30441. "description": "留言簿ID(SEQ_MessageBoard)",
  30442. "type": "integer"
  30443. },
  30444. "userid": {
  30445. "description": "用户ID",
  30446. "type": "integer"
  30447. }
  30448. }
  30449. },
  30450. "models.MyBargainApply": {
  30451. "type": "object",
  30452. "required": [
  30453. "userid"
  30454. ],
  30455. "properties": {
  30456. "accountid": {
  30457. "description": "摘牌资金账号",
  30458. "type": "integer"
  30459. },
  30460. "applyprice": {
  30461. "description": "申请价格",
  30462. "type": "string"
  30463. },
  30464. "applyremark": {
  30465. "description": "申请备注",
  30466. "type": "string"
  30467. },
  30468. "applystatus": {
  30469. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  30470. "type": "integer"
  30471. },
  30472. "applytime": {
  30473. "description": "申请时间",
  30474. "type": "string"
  30475. },
  30476. "buyorsell": {
  30477. "description": "买卖 - 0:买 1:卖",
  30478. "type": "integer"
  30479. },
  30480. "confirmprice": {
  30481. "description": "可接受价格(拒绝时填写)-作废",
  30482. "type": "number"
  30483. },
  30484. "confirmqty": {
  30485. "description": "可接受数量(拒绝时填写)-作废",
  30486. "type": "integer"
  30487. },
  30488. "confirmremark": {
  30489. "description": "确认备注",
  30490. "type": "string"
  30491. },
  30492. "confirmtime": {
  30493. "description": "确认时间",
  30494. "type": "string"
  30495. },
  30496. "confirmuserid": {
  30497. "description": "确认人",
  30498. "type": "integer"
  30499. },
  30500. "goodsno": {
  30501. "description": "商品编号",
  30502. "type": "string"
  30503. },
  30504. "handlestatus": {
  30505. "description": "处理状态",
  30506. "type": "integer"
  30507. },
  30508. "ladingbillid": {
  30509. "description": "摘牌方提单ID [卖]",
  30510. "type": "integer"
  30511. },
  30512. "marketid": {
  30513. "description": "市场ID",
  30514. "type": "integer"
  30515. },
  30516. "matchaccountid": {
  30517. "description": "挂牌方资金账号",
  30518. "type": "integer"
  30519. },
  30520. "matchuserid": {
  30521. "description": "挂牌方用户ID",
  30522. "type": "integer"
  30523. },
  30524. "performancetemplateid": {
  30525. "description": "履约计划模板ID",
  30526. "type": "integer"
  30527. },
  30528. "price": {
  30529. "description": "价格",
  30530. "type": "number"
  30531. },
  30532. "priceper": {
  30533. "description": "克拉单价 - 类型:1,2,3,5",
  30534. "type": "string"
  30535. },
  30536. "qty": {
  30537. "description": "申请数量",
  30538. "type": "number"
  30539. },
  30540. "refprice": {
  30541. "description": "参考价格",
  30542. "type": "string"
  30543. },
  30544. "retcode": {
  30545. "description": "委托返回代码",
  30546. "type": "integer"
  30547. },
  30548. "sellusername": {
  30549. "description": "卖方",
  30550. "type": "string"
  30551. },
  30552. "sizedisplay": {
  30553. "description": "尺寸",
  30554. "type": "string"
  30555. },
  30556. "subnum": {
  30557. "description": "摘牌方提单子单号 [卖]",
  30558. "type": "integer"
  30559. },
  30560. "tradedate": {
  30561. "description": "交易日(yyyyMMdd)",
  30562. "type": "string"
  30563. },
  30564. "userid": {
  30565. "description": "摘牌人用户ID",
  30566. "type": "integer"
  30567. },
  30568. "warehousenamedisplay": {
  30569. "type": "string"
  30570. },
  30571. "wrbargainid": {
  30572. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  30573. "type": "string"
  30574. },
  30575. "wrtradeorderid": {
  30576. "description": "关联委托单ID",
  30577. "type": "string"
  30578. },
  30579. "zscerttypedisplay": {
  30580. "type": "string"
  30581. },
  30582. "zsclaritytype1display": {
  30583. "type": "string"
  30584. },
  30585. "zsclaritytype2display": {
  30586. "type": "string"
  30587. },
  30588. "zscolortype1display": {
  30589. "type": "string"
  30590. },
  30591. "zscolortype2display": {
  30592. "type": "string"
  30593. },
  30594. "zscrystaltypedisplay": {
  30595. "type": "string"
  30596. },
  30597. "zscurrencytypedisplay": {
  30598. "type": "string"
  30599. },
  30600. "zscurrencytypedisplayunit": {
  30601. "type": "string"
  30602. },
  30603. "zscuttype1display": {
  30604. "type": "string"
  30605. },
  30606. "zscuttype2display": {
  30607. "type": "string"
  30608. },
  30609. "zsczcolor1typedisplay": {
  30610. "type": "string"
  30611. },
  30612. "zsczcolor2typedisplay": {
  30613. "type": "string"
  30614. },
  30615. "zsczcolor3typedisplay": {
  30616. "type": "string"
  30617. },
  30618. "zsfluorescencetype1display": {
  30619. "type": "string"
  30620. },
  30621. "zsfluorescencetype2display": {
  30622. "type": "string"
  30623. },
  30624. "zspolishtype1display": {
  30625. "type": "string"
  30626. },
  30627. "zspolishtype2display": {
  30628. "type": "string"
  30629. },
  30630. "zsshapetypedisplay": {
  30631. "type": "string"
  30632. },
  30633. "zsstyletypedisplay": {
  30634. "type": "string"
  30635. },
  30636. "zssymmetrytype1display": {
  30637. "type": "string"
  30638. },
  30639. "zssymmetrytype2display": {
  30640. "type": "string"
  30641. }
  30642. }
  30643. },
  30644. "models.MyBuyOrder": {
  30645. "type": "object",
  30646. "required": [
  30647. "userid"
  30648. ],
  30649. "properties": {
  30650. "accountid": {
  30651. "description": "资金账户ID",
  30652. "type": "integer"
  30653. },
  30654. "marketid": {
  30655. "description": "市场ID",
  30656. "type": "integer"
  30657. },
  30658. "ordertime": {
  30659. "description": "委托时间",
  30660. "type": "string"
  30661. },
  30662. "origin": {
  30663. "description": "原产地",
  30664. "type": "string"
  30665. },
  30666. "performancetemplateid": {
  30667. "description": "履约计划模板ID",
  30668. "type": "integer"
  30669. },
  30670. "remark": {
  30671. "description": "备注",
  30672. "type": "string"
  30673. },
  30674. "userid": {
  30675. "description": "用户ID",
  30676. "type": "integer"
  30677. },
  30678. "validtime": {
  30679. "description": "有效期限",
  30680. "type": "string"
  30681. },
  30682. "warehouseids": {
  30683. "description": "仓库ID - 多个, 逗号分隔",
  30684. "type": "string"
  30685. },
  30686. "warehouseinfosdisplay": {
  30687. "type": "string"
  30688. },
  30689. "wrtradeorderid": {
  30690. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30691. "type": "string"
  30692. },
  30693. "wrtradeorderstatus": {
  30694. "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、",
  30695. "type": "integer"
  30696. },
  30697. "zscategory": {
  30698. "description": "钻石分类 - 枚举”ZSCategory“",
  30699. "type": "integer"
  30700. },
  30701. "zscategorydisplay": {
  30702. "type": "string"
  30703. },
  30704. "zsclaritytype": {
  30705. "description": "净度 - 两个, 逗号分隔",
  30706. "type": "string"
  30707. },
  30708. "zsclaritytypedisplay": {
  30709. "type": "string"
  30710. },
  30711. "zscolortype": {
  30712. "description": "颜色 - 两个, 逗号分隔",
  30713. "type": "string"
  30714. },
  30715. "zscolortypedisplay": {
  30716. "type": "string"
  30717. },
  30718. "zscrystaltype": {
  30719. "description": "晶型 - 多个,逗号分隔",
  30720. "type": "string"
  30721. },
  30722. "zscrystaltypedisplay": {
  30723. "type": "string"
  30724. },
  30725. "zscurrencytype": {
  30726. "description": "货币类型 - 多个, 逗号分隔",
  30727. "type": "string"
  30728. },
  30729. "zscurrencytypedisplay": {
  30730. "type": "string"
  30731. },
  30732. "zscuttype": {
  30733. "description": "切工 - 两个, 逗号分隔",
  30734. "type": "string"
  30735. },
  30736. "zscuttypedisplay": {
  30737. "type": "string"
  30738. },
  30739. "zsczcolor1type": {
  30740. "description": "彩钻颜色1, 逗号分隔",
  30741. "type": "string"
  30742. },
  30743. "zsczcolor1typedisplay": {
  30744. "type": "string"
  30745. },
  30746. "zsczcolor2type": {
  30747. "description": "彩钻颜色2, 逗号分隔",
  30748. "type": "string"
  30749. },
  30750. "zsczcolor2typedisplay": {
  30751. "type": "string"
  30752. },
  30753. "zsczcolor3type": {
  30754. "description": "彩钻颜色3, 逗号分隔",
  30755. "type": "string"
  30756. },
  30757. "zsczcolor3typedisplay": {
  30758. "type": "string"
  30759. },
  30760. "zsfluorescencetype": {
  30761. "description": "荧光 - 多个, 逗号分隔",
  30762. "type": "string"
  30763. },
  30764. "zsfluorescencetypedisplay": {
  30765. "type": "string"
  30766. },
  30767. "zspolishtype": {
  30768. "description": "抛光度 - 两个, 逗号分隔",
  30769. "type": "string"
  30770. },
  30771. "zspolishtypedisplay": {
  30772. "type": "string"
  30773. },
  30774. "zsshapetype": {
  30775. "description": "形状 - 多个, 逗号分隔",
  30776. "type": "string"
  30777. },
  30778. "zsshapetypedisplay": {
  30779. "type": "string"
  30780. },
  30781. "zssize": {
  30782. "description": "尺寸 - 两个小数, 逗号分隔",
  30783. "type": "string"
  30784. },
  30785. "zsstyletype": {
  30786. "description": "款式 - 多个, 逗号分隔",
  30787. "type": "string"
  30788. },
  30789. "zsstyletypedisplay": {
  30790. "type": "string"
  30791. },
  30792. "zssymmetrytype": {
  30793. "description": "对称度 - 两个, 逗号分隔",
  30794. "type": "string"
  30795. },
  30796. "zssymmetrytypedisplay": {
  30797. "type": "string"
  30798. },
  30799. "zstabledisplay": {
  30800. "description": "求购信息",
  30801. "type": "string"
  30802. }
  30803. }
  30804. },
  30805. "models.MyDeListing": {
  30806. "type": "object",
  30807. "required": [
  30808. "userid"
  30809. ],
  30810. "properties": {
  30811. "buyaccountid": {
  30812. "description": "买方账号ID",
  30813. "type": "integer"
  30814. },
  30815. "buychargevalue": {
  30816. "description": "买方手续费",
  30817. "type": "number"
  30818. },
  30819. "buyuserid": {
  30820. "description": "买方用户ID",
  30821. "type": "integer"
  30822. },
  30823. "deliverygoodsid": {
  30824. "description": "现货品种ID",
  30825. "type": "integer"
  30826. },
  30827. "exchangerate": {
  30828. "description": "汇率",
  30829. "type": "number"
  30830. },
  30831. "goodsno": {
  30832. "description": "商品编号",
  30833. "type": "string"
  30834. },
  30835. "marketid": {
  30836. "description": "市场ID",
  30837. "type": "integer"
  30838. },
  30839. "matchusername": {
  30840. "description": "对手方",
  30841. "type": "string"
  30842. },
  30843. "oritradeamount": {
  30844. "description": "成交金额[商品币种]",
  30845. "type": "number"
  30846. },
  30847. "performanceplanid": {
  30848. "description": "履约计划ID/合同ID",
  30849. "type": "integer"
  30850. },
  30851. "price": {
  30852. "description": "价格",
  30853. "type": "number"
  30854. },
  30855. "qty": {
  30856. "description": "成交重量",
  30857. "type": "number"
  30858. },
  30859. "sellaccountid": {
  30860. "description": "卖方账号ID",
  30861. "type": "integer"
  30862. },
  30863. "sellchargevalue": {
  30864. "description": "卖方手续费",
  30865. "type": "number"
  30866. },
  30867. "selluserid": {
  30868. "description": "卖方用户ID",
  30869. "type": "integer"
  30870. },
  30871. "sizedisplay": {
  30872. "description": "尺寸",
  30873. "type": "string"
  30874. },
  30875. "tradeamount": {
  30876. "description": "成交金额",
  30877. "type": "number"
  30878. },
  30879. "tradedate": {
  30880. "description": "交易日(yyyyMMdd)",
  30881. "type": "string"
  30882. },
  30883. "tradeprice": {
  30884. "description": "成交价格",
  30885. "type": "number"
  30886. },
  30887. "tradetime": {
  30888. "description": "成交时间",
  30889. "type": "string"
  30890. },
  30891. "userid": {
  30892. "description": "用户ID",
  30893. "type": "integer"
  30894. },
  30895. "warehousenamedisplay": {
  30896. "type": "string"
  30897. },
  30898. "wrfactortypeid": {
  30899. "description": "仓单要素类型ID",
  30900. "type": "integer"
  30901. },
  30902. "wrstandardid": {
  30903. "description": "现货商品ID",
  30904. "type": "integer"
  30905. },
  30906. "wrtradedetailid": {
  30907. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  30908. "type": "string"
  30909. },
  30910. "zscategory": {
  30911. "description": "钻石分类 - 枚举”ZSCategory“",
  30912. "type": "integer"
  30913. },
  30914. "zscategorydisplay": {
  30915. "type": "string"
  30916. },
  30917. "zscerttypedisplay": {
  30918. "type": "string"
  30919. },
  30920. "zsclaritytype1display": {
  30921. "type": "string"
  30922. },
  30923. "zsclaritytype2display": {
  30924. "type": "string"
  30925. },
  30926. "zscolortype1display": {
  30927. "type": "string"
  30928. },
  30929. "zscolortype2display": {
  30930. "type": "string"
  30931. },
  30932. "zscrystaltypedisplay": {
  30933. "type": "string"
  30934. },
  30935. "zscurrencytype": {
  30936. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30937. "type": "integer"
  30938. },
  30939. "zscurrencytypedisplay": {
  30940. "type": "string"
  30941. },
  30942. "zscurrencytypedisplayunit": {
  30943. "type": "string"
  30944. },
  30945. "zscuttype1display": {
  30946. "type": "string"
  30947. },
  30948. "zscuttype2display": {
  30949. "type": "string"
  30950. },
  30951. "zsczcolor1typedisplay": {
  30952. "type": "string"
  30953. },
  30954. "zsczcolor2typedisplay": {
  30955. "type": "string"
  30956. },
  30957. "zsczcolor3typedisplay": {
  30958. "type": "string"
  30959. },
  30960. "zsfluorescencetype1display": {
  30961. "type": "string"
  30962. },
  30963. "zsfluorescencetype2display": {
  30964. "type": "string"
  30965. },
  30966. "zspolishtype1display": {
  30967. "type": "string"
  30968. },
  30969. "zspolishtype2display": {
  30970. "type": "string"
  30971. },
  30972. "zsshapetypedisplay": {
  30973. "type": "string"
  30974. },
  30975. "zsstyletypedisplay": {
  30976. "type": "string"
  30977. },
  30978. "zssymmetrytype1display": {
  30979. "type": "string"
  30980. },
  30981. "zssymmetrytype2display": {
  30982. "type": "string"
  30983. }
  30984. }
  30985. },
  30986. "models.MyDelistingApply": {
  30987. "type": "object",
  30988. "required": [
  30989. "selluserid"
  30990. ],
  30991. "properties": {
  30992. "applyprice": {
  30993. "description": "申请价格",
  30994. "type": "number"
  30995. },
  30996. "applyqty": {
  30997. "description": "申请数量",
  30998. "type": "number"
  30999. },
  31000. "applyremark": {
  31001. "description": "申请备注",
  31002. "type": "string"
  31003. },
  31004. "applystatus": {
  31005. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  31006. "type": "integer"
  31007. },
  31008. "applytime": {
  31009. "description": "申请时间",
  31010. "type": "string"
  31011. },
  31012. "auditremark": {
  31013. "description": "确认备注",
  31014. "type": "string"
  31015. },
  31016. "audittime": {
  31017. "description": "确认时间",
  31018. "type": "string"
  31019. },
  31020. "buyuserid": {
  31021. "description": "买方用户ID",
  31022. "type": "integer"
  31023. },
  31024. "buyusername": {
  31025. "type": "string"
  31026. },
  31027. "buywrtradeorderid": {
  31028. "description": "买委托单ID",
  31029. "type": "string"
  31030. },
  31031. "goodsno": {
  31032. "description": "商品编号",
  31033. "type": "string"
  31034. },
  31035. "ladingbillid": {
  31036. "description": "卖方提单ID",
  31037. "type": "string"
  31038. },
  31039. "marketid": {
  31040. "description": "市场ID",
  31041. "type": "integer"
  31042. },
  31043. "performancetemplateid": {
  31044. "description": "履约计划模板ID",
  31045. "type": "integer"
  31046. },
  31047. "price": {
  31048. "description": "价格",
  31049. "type": "number"
  31050. },
  31051. "sellaccountid": {
  31052. "description": "卖方账户ID",
  31053. "type": "integer"
  31054. },
  31055. "selldelistingapplyid": {
  31056. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  31057. "type": "string"
  31058. },
  31059. "selltradeorderid": {
  31060. "description": "卖方委托ID(买方确认成交后更新)",
  31061. "type": "string"
  31062. },
  31063. "selluserid": {
  31064. "description": "卖方用户ID",
  31065. "type": "integer"
  31066. },
  31067. "sizedisplay": {
  31068. "description": "尺寸",
  31069. "type": "string"
  31070. },
  31071. "subnum": {
  31072. "description": "卖方提单子单号",
  31073. "type": "integer"
  31074. },
  31075. "warehouseinfosdisplay": {
  31076. "type": "string"
  31077. },
  31078. "weight": {
  31079. "description": "克拉重量",
  31080. "type": "number"
  31081. },
  31082. "wrfactortypeid": {
  31083. "description": "仓单要素类型ID",
  31084. "type": "string"
  31085. },
  31086. "wrstandardid": {
  31087. "description": "现货商品ID",
  31088. "type": "integer"
  31089. },
  31090. "zsallproperties": {
  31091. "type": "string"
  31092. },
  31093. "zscategorydisplay": {
  31094. "type": "string"
  31095. },
  31096. "zsclaritytypedisplay": {
  31097. "type": "string"
  31098. },
  31099. "zscolortypedisplay": {
  31100. "type": "string"
  31101. },
  31102. "zscrystaltypedisplay": {
  31103. "type": "string"
  31104. },
  31105. "zscurrencytypedisplay": {
  31106. "type": "string"
  31107. },
  31108. "zscuttypedisplay": {
  31109. "type": "string"
  31110. },
  31111. "zsczcolor1typedisplay": {
  31112. "type": "string"
  31113. },
  31114. "zsczcolor2typedisplay": {
  31115. "type": "string"
  31116. },
  31117. "zsczcolor3typedisplay": {
  31118. "type": "string"
  31119. },
  31120. "zsfluorescencetypedisplay": {
  31121. "type": "string"
  31122. },
  31123. "zspolishtypedisplay": {
  31124. "type": "string"
  31125. },
  31126. "zsshapetypedisplay": {
  31127. "type": "string"
  31128. },
  31129. "zssizedisplay": {
  31130. "type": "string"
  31131. },
  31132. "zsstyletypedisplay": {
  31133. "type": "string"
  31134. },
  31135. "zssymmetrytypedisplay": {
  31136. "type": "string"
  31137. },
  31138. "zstabledisplay": {
  31139. "type": "string"
  31140. }
  31141. }
  31142. },
  31143. "models.MyFavorite": {
  31144. "type": "object",
  31145. "required": [
  31146. "userid"
  31147. ],
  31148. "properties": {
  31149. "buyorsell": {
  31150. "description": "买卖 - 0:买 1:卖",
  31151. "type": "integer"
  31152. },
  31153. "favoritestatus": {
  31154. "description": "收藏状态 - 1:正常 2:失效",
  31155. "type": "integer"
  31156. },
  31157. "goodsno": {
  31158. "description": "商品编号",
  31159. "type": "string"
  31160. },
  31161. "marketid": {
  31162. "description": "市场ID",
  31163. "type": "integer"
  31164. },
  31165. "price": {
  31166. "description": "价格",
  31167. "type": "number"
  31168. },
  31169. "priceper": {
  31170. "description": "克拉单价",
  31171. "type": "string"
  31172. },
  31173. "sizedisplay": {
  31174. "description": "尺寸",
  31175. "type": "string"
  31176. },
  31177. "userid": {
  31178. "description": "用户ID",
  31179. "type": "integer"
  31180. },
  31181. "warehousenamedisplay": {
  31182. "type": "string"
  31183. },
  31184. "weight": {
  31185. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31186. "type": "number"
  31187. },
  31188. "weightavg": {
  31189. "description": "平均单颗重量 - 类型:1,3",
  31190. "type": "number"
  31191. },
  31192. "wrfactortypeid": {
  31193. "description": "仓单要素类型ID/商品ID(77)",
  31194. "type": "string"
  31195. },
  31196. "wrstandardid": {
  31197. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  31198. "type": "integer"
  31199. },
  31200. "wrtradeorderid": {
  31201. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31202. "type": "string"
  31203. },
  31204. "zscategorydisplay": {
  31205. "type": "string"
  31206. },
  31207. "zscerttypedisplay": {
  31208. "type": "string"
  31209. },
  31210. "zsclaritytype1display": {
  31211. "type": "string"
  31212. },
  31213. "zsclaritytype2display": {
  31214. "type": "string"
  31215. },
  31216. "zscolortype1display": {
  31217. "type": "string"
  31218. },
  31219. "zscolortype2display": {
  31220. "type": "string"
  31221. },
  31222. "zscrystaltypedisplay": {
  31223. "type": "string"
  31224. },
  31225. "zscurrencytypedisplay": {
  31226. "type": "string"
  31227. },
  31228. "zscurrencytypedisplayunit": {
  31229. "type": "string"
  31230. },
  31231. "zscuttype1display": {
  31232. "type": "string"
  31233. },
  31234. "zscuttype2display": {
  31235. "type": "string"
  31236. },
  31237. "zsczcolor1typedisplay": {
  31238. "type": "string"
  31239. },
  31240. "zsczcolor2typedisplay": {
  31241. "type": "string"
  31242. },
  31243. "zsczcolor3typedisplay": {
  31244. "type": "string"
  31245. },
  31246. "zsfluorescencetype1display": {
  31247. "type": "string"
  31248. },
  31249. "zsfluorescencetype2display": {
  31250. "type": "string"
  31251. },
  31252. "zspolishtype1display": {
  31253. "type": "string"
  31254. },
  31255. "zspolishtype2display": {
  31256. "type": "string"
  31257. },
  31258. "zsshapetypedisplay": {
  31259. "type": "string"
  31260. },
  31261. "zsstyletypedisplay": {
  31262. "type": "string"
  31263. },
  31264. "zssymmetrytype1display": {
  31265. "type": "string"
  31266. },
  31267. "zssymmetrytype2display": {
  31268. "type": "string"
  31269. }
  31270. }
  31271. },
  31272. "models.MyPerformanc": {
  31273. "type": "object",
  31274. "properties": {
  31275. "accountname": {
  31276. "description": "[对手方]账户名称(机构名称)",
  31277. "type": "string"
  31278. },
  31279. "amount": {
  31280. "description": "履约金额",
  31281. "type": "number"
  31282. },
  31283. "buyaccountid": {
  31284. "description": "买方账号",
  31285. "type": "integer"
  31286. },
  31287. "buyerfreezeamount": {
  31288. "description": "买方履约前冻结资金",
  31289. "type": "number"
  31290. },
  31291. "buyerfreezeamountremain": {
  31292. "description": "买方履约前冻结资金剩余",
  31293. "type": "number"
  31294. },
  31295. "buyerinfo": {
  31296. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  31297. "type": "string"
  31298. },
  31299. "buyorsell": {
  31300. "description": "方向 - 0:买 1:卖",
  31301. "type": "integer"
  31302. },
  31303. "buypaidamount": {
  31304. "description": "买方已冻/已扣金额",
  31305. "type": "number"
  31306. },
  31307. "curstepid": {
  31308. "description": "当前步骤ID",
  31309. "type": "string"
  31310. },
  31311. "goodsno": {
  31312. "description": "商品编号",
  31313. "type": "string"
  31314. },
  31315. "overshortamount": {
  31316. "description": "溢短金额",
  31317. "type": "number"
  31318. },
  31319. "paymenttype": {
  31320. "description": "买方支付方式 - 1:冻结 2:扣款",
  31321. "type": "integer"
  31322. },
  31323. "performanceplanid": {
  31324. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  31325. "type": "string"
  31326. },
  31327. "performancestatus": {
  31328. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  31329. "type": "integer"
  31330. },
  31331. "price": {
  31332. "description": "价格",
  31333. "type": "number"
  31334. },
  31335. "priceper": {
  31336. "description": "克拉单价",
  31337. "type": "string"
  31338. },
  31339. "relatedorderid": {
  31340. "description": "关联单号(履约类型的关联单号)",
  31341. "type": "string"
  31342. },
  31343. "remaindays": {
  31344. "description": "剩余天数",
  31345. "type": "integer"
  31346. },
  31347. "sellerfreezeamount": {
  31348. "description": "卖方履约前冻结资金",
  31349. "type": "number"
  31350. },
  31351. "sellerfreezeamountremain": {
  31352. "description": "卖方履约前冻结资金剩余",
  31353. "type": "number"
  31354. },
  31355. "sellerinfo": {
  31356. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  31357. "type": "string"
  31358. },
  31359. "sellreceivedamount": {
  31360. "description": "卖方已收金额",
  31361. "type": "number"
  31362. },
  31363. "sizedisplay": {
  31364. "description": "尺寸",
  31365. "type": "string"
  31366. },
  31367. "steptypeid": {
  31368. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  31369. "type": "integer"
  31370. },
  31371. "warehousenamedisplay": {
  31372. "type": "string"
  31373. },
  31374. "zscategorydisplay": {
  31375. "type": "string"
  31376. },
  31377. "zscerttypedisplay": {
  31378. "type": "string"
  31379. },
  31380. "zsclaritytype1display": {
  31381. "type": "string"
  31382. },
  31383. "zsclaritytype2display": {
  31384. "type": "string"
  31385. },
  31386. "zscolortype1display": {
  31387. "type": "string"
  31388. },
  31389. "zscolortype2display": {
  31390. "type": "string"
  31391. },
  31392. "zscrystaltypedisplay": {
  31393. "type": "string"
  31394. },
  31395. "zscurrencytypedisplay": {
  31396. "type": "string"
  31397. },
  31398. "zscurrencytypedisplayunit": {
  31399. "type": "string"
  31400. },
  31401. "zscuttype1display": {
  31402. "type": "string"
  31403. },
  31404. "zscuttype2display": {
  31405. "type": "string"
  31406. },
  31407. "zsczcolor1typedisplay": {
  31408. "type": "string"
  31409. },
  31410. "zsczcolor2typedisplay": {
  31411. "type": "string"
  31412. },
  31413. "zsczcolor3typedisplay": {
  31414. "type": "string"
  31415. },
  31416. "zsfluorescencetype1display": {
  31417. "type": "string"
  31418. },
  31419. "zsfluorescencetype2display": {
  31420. "type": "string"
  31421. },
  31422. "zspolishtype1display": {
  31423. "type": "string"
  31424. },
  31425. "zspolishtype2display": {
  31426. "type": "string"
  31427. },
  31428. "zsshapetypedisplay": {
  31429. "type": "string"
  31430. },
  31431. "zsstyletypedisplay": {
  31432. "type": "string"
  31433. },
  31434. "zssymmetrytype1display": {
  31435. "type": "string"
  31436. },
  31437. "zssymmetrytype2display": {
  31438. "type": "string"
  31439. }
  31440. }
  31441. },
  31442. "models.MySellOrder": {
  31443. "type": "object",
  31444. "required": [
  31445. "userid"
  31446. ],
  31447. "properties": {
  31448. "accountid": {
  31449. "description": "资金账号",
  31450. "type": "integer"
  31451. },
  31452. "applyid": {
  31453. "description": "申请单ID",
  31454. "type": "integer"
  31455. },
  31456. "attachment1": {
  31457. "description": "附件1",
  31458. "type": "string"
  31459. },
  31460. "attachment2": {
  31461. "description": "附件2",
  31462. "type": "string"
  31463. },
  31464. "buyorsell": {
  31465. "description": "买卖 - 0:买 1:卖",
  31466. "type": "integer"
  31467. },
  31468. "canbargain": {
  31469. "description": "是否可议价 - 0:不可 1:可",
  31470. "type": "integer"
  31471. },
  31472. "cancelqty": {
  31473. "description": "撤销数量",
  31474. "type": "integer"
  31475. },
  31476. "canceltime": {
  31477. "description": "撤销时间",
  31478. "type": "string"
  31479. },
  31480. "cerno": {
  31481. "type": "string"
  31482. },
  31483. "chargealgorithm": {
  31484. "description": "手续费收取方式 1:比率 2:固定",
  31485. "type": "integer"
  31486. },
  31487. "chargealgorithmvalue": {
  31488. "description": "手续费设置值(交易所部分)",
  31489. "type": "number"
  31490. },
  31491. "chargealgorithmvalue2": {
  31492. "description": "手续费设置值(会员部分)",
  31493. "type": "number"
  31494. },
  31495. "clientordertime": {
  31496. "description": "客户端委托时间",
  31497. "type": "string"
  31498. },
  31499. "cpcertno": {
  31500. "type": "string"
  31501. },
  31502. "exchangerate": {
  31503. "description": "汇率[67]",
  31504. "type": "number"
  31505. },
  31506. "firstratio": {
  31507. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  31508. "type": "number"
  31509. },
  31510. "fixedprice": {
  31511. "description": "[克拉单价]固定价格 - [挂牌]",
  31512. "type": "number"
  31513. },
  31514. "freezecharge": {
  31515. "description": "冻结手续费",
  31516. "type": "number"
  31517. },
  31518. "freezefirstamount": {
  31519. "description": "冻结首付金额 - [摘牌]",
  31520. "type": "number"
  31521. },
  31522. "freezemargin": {
  31523. "description": "冻结保证金",
  31524. "type": "number"
  31525. },
  31526. "goodsno": {
  31527. "description": "商品编号",
  31528. "type": "string"
  31529. },
  31530. "imagepath": {
  31531. "type": "string"
  31532. },
  31533. "isspecified": {
  31534. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  31535. "type": "integer"
  31536. },
  31537. "kppath": {
  31538. "type": "string"
  31539. },
  31540. "kpweight": {
  31541. "type": "string"
  31542. },
  31543. "marginalgorithm": {
  31544. "description": "保证金方式 - 1:比率 2:固定",
  31545. "type": "integer"
  31546. },
  31547. "marginvalue": {
  31548. "description": "保证金设置值",
  31549. "type": "number"
  31550. },
  31551. "marketid": {
  31552. "description": "市场ID",
  31553. "type": "integer"
  31554. },
  31555. "marketprice": {
  31556. "type": "string"
  31557. },
  31558. "orderamount": {
  31559. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  31560. "type": "number"
  31561. },
  31562. "ordertime": {
  31563. "description": "委托时间",
  31564. "type": "string"
  31565. },
  31566. "performancetemplateid": {
  31567. "description": "履约计划模板ID",
  31568. "type": "integer"
  31569. },
  31570. "price": {
  31571. "description": "价格",
  31572. "type": "number"
  31573. },
  31574. "pricefactor": {
  31575. "description": "价格系数(浮动价时填写) - [挂牌]",
  31576. "type": "number"
  31577. },
  31578. "pricemove": {
  31579. "description": "升贴水(浮动价时填写) - [挂牌]",
  31580. "type": "number"
  31581. },
  31582. "priceper": {
  31583. "type": "string"
  31584. },
  31585. "relatedwrtradeorderid": {
  31586. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  31587. "type": "integer"
  31588. },
  31589. "remark": {
  31590. "type": "string"
  31591. },
  31592. "retcode": {
  31593. "description": "错误代码",
  31594. "type": "integer"
  31595. },
  31596. "selledqty": {
  31597. "description": "成交重量",
  31598. "type": "number"
  31599. },
  31600. "settingmaterial": {
  31601. "type": "string"
  31602. },
  31603. "size1": {
  31604. "type": "string"
  31605. },
  31606. "size2": {
  31607. "type": "string"
  31608. },
  31609. "size3": {
  31610. "type": "string"
  31611. },
  31612. "stonedesc": {
  31613. "type": "string"
  31614. },
  31615. "totalqty": {
  31616. "description": "总重量",
  31617. "type": "number"
  31618. },
  31619. "tradedate": {
  31620. "description": "交易日(yyyyMMdd)",
  31621. "type": "string"
  31622. },
  31623. "tradeprice": {
  31624. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  31625. "type": "number"
  31626. },
  31627. "unfreezecharge": {
  31628. "description": "解冻手续费",
  31629. "type": "number"
  31630. },
  31631. "unfreezefirstamount": {
  31632. "description": "解冻首付金额 - [摘牌]",
  31633. "type": "number"
  31634. },
  31635. "unfreezemargin": {
  31636. "description": "解冻保证金",
  31637. "type": "number"
  31638. },
  31639. "userid": {
  31640. "description": "用户ID",
  31641. "type": "integer"
  31642. },
  31643. "uuid": {
  31644. "description": "发起端唯一id",
  31645. "type": "string"
  31646. },
  31647. "validtime": {
  31648. "description": "有效期限",
  31649. "type": "string"
  31650. },
  31651. "validtype": {
  31652. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  31653. "type": "integer"
  31654. },
  31655. "warehousenamedisplay": {
  31656. "type": "string"
  31657. },
  31658. "wrbargainid": {
  31659. "description": "议价申请单ID",
  31660. "type": "integer"
  31661. },
  31662. "wrfactortypeid": {
  31663. "description": "仓单要素类型ID/商品ID(77)",
  31664. "type": "integer"
  31665. },
  31666. "wrpath": {
  31667. "type": "string"
  31668. },
  31669. "wrpricetype": {
  31670. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  31671. "type": "integer"
  31672. },
  31673. "wrstandardid": {
  31674. "description": "现货商品ID",
  31675. "type": "integer"
  31676. },
  31677. "wrtradeorderid": {
  31678. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31679. "type": "string"
  31680. },
  31681. "wrtradeorderstatus": {
  31682. "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:撤单解冻贷款失败",
  31683. "type": "integer"
  31684. },
  31685. "wrtradetype": {
  31686. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  31687. "type": "integer"
  31688. },
  31689. "wrtransferuserid": {
  31690. "description": "仓单受让用户 - [摘牌]",
  31691. "type": "integer"
  31692. },
  31693. "zscategory": {
  31694. "description": "钻石分类 - 枚举”ZSCategory“",
  31695. "type": "integer"
  31696. },
  31697. "zscategorydisplay": {
  31698. "description": "钻石分类 - 描述",
  31699. "type": "string"
  31700. },
  31701. "zscerttypedisplay": {
  31702. "type": "string"
  31703. },
  31704. "zsclaritytype1display": {
  31705. "type": "string"
  31706. },
  31707. "zsclaritytype2display": {
  31708. "type": "string"
  31709. },
  31710. "zscolortype1display": {
  31711. "type": "string"
  31712. },
  31713. "zscolortype2display": {
  31714. "type": "string"
  31715. },
  31716. "zscrystaltype": {
  31717. "type": "string"
  31718. },
  31719. "zscrystaltypedisplay": {
  31720. "type": "string"
  31721. },
  31722. "zscurrencytype": {
  31723. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31724. "type": "integer"
  31725. },
  31726. "zscurrencytypedisplay": {
  31727. "type": "string"
  31728. },
  31729. "zscurrencytypedisplayunit": {
  31730. "type": "string"
  31731. },
  31732. "zscuttype1display": {
  31733. "type": "string"
  31734. },
  31735. "zscuttype2display": {
  31736. "type": "string"
  31737. },
  31738. "zsczcolor1typedisplay": {
  31739. "type": "string"
  31740. },
  31741. "zsczcolor2typedisplay": {
  31742. "type": "string"
  31743. },
  31744. "zsczcolor3typedisplay": {
  31745. "type": "string"
  31746. },
  31747. "zsfluorescencetype1display": {
  31748. "type": "string"
  31749. },
  31750. "zsfluorescencetype2display": {
  31751. "type": "string"
  31752. },
  31753. "zspolishtype1display": {
  31754. "type": "string"
  31755. },
  31756. "zspolishtype2display": {
  31757. "type": "string"
  31758. },
  31759. "zsshapetypedisplay": {
  31760. "type": "string"
  31761. },
  31762. "zsstyletypedisplay": {
  31763. "type": "string"
  31764. },
  31765. "zssymmetrytype1display": {
  31766. "type": "string"
  31767. },
  31768. "zssymmetrytype2display": {
  31769. "type": "string"
  31770. }
  31771. }
  31772. },
  31773. "models.MyWRPosition": {
  31774. "type": "object",
  31775. "required": [
  31776. "wruserid"
  31777. ],
  31778. "properties": {
  31779. "cerno": {
  31780. "description": "证书编号 - 类型:2,4,5",
  31781. "type": "string"
  31782. },
  31783. "cpcertno": {
  31784. "description": "金伯利证书编号 - 类型:3",
  31785. "type": "string"
  31786. },
  31787. "ffreezeqty": {
  31788. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  31789. "type": "number"
  31790. },
  31791. "ftotalqty": {
  31792. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  31793. "type": "number"
  31794. },
  31795. "goodsno": {
  31796. "description": "商品编号",
  31797. "type": "string"
  31798. },
  31799. "imagepath": {
  31800. "description": "商品照片(相对地址)",
  31801. "type": "string"
  31802. },
  31803. "isvalid": {
  31804. "description": "是否有效 - 0:无效 1:有效",
  31805. "type": "integer"
  31806. },
  31807. "kppath": {
  31808. "description": "金伯利证书图片(相对地址) - 类型:3",
  31809. "type": "string"
  31810. },
  31811. "kpweight": {
  31812. "description": "金伯利证书重量 - 类型:3",
  31813. "type": "string"
  31814. },
  31815. "ladingbillid": {
  31816. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  31817. "type": "string"
  31818. },
  31819. "marketflag": {
  31820. "description": "是否上架,0-全部 1-是 2-否",
  31821. "type": "integer"
  31822. },
  31823. "marketprice": {
  31824. "description": "市场价",
  31825. "type": "string"
  31826. },
  31827. "origin": {
  31828. "description": "原产地 - 类型:3",
  31829. "type": "string"
  31830. },
  31831. "price": {
  31832. "description": "总价(价格) - 类型:1,2,3,4,5",
  31833. "type": "number"
  31834. },
  31835. "priceper": {
  31836. "description": "克拉单价 - 类型:1,2,3,5",
  31837. "type": "string"
  31838. },
  31839. "remark": {
  31840. "description": "备注",
  31841. "type": "string"
  31842. },
  31843. "sellmobile": {
  31844. "description": "手机号码(加密存储)",
  31845. "type": "string"
  31846. },
  31847. "sellusername": {
  31848. "description": "账户名称(机构名称)",
  31849. "type": "string"
  31850. },
  31851. "settingmaterial": {
  31852. "description": "镶嵌材料 - 类型:4",
  31853. "type": "string"
  31854. },
  31855. "size1": {
  31856. "description": "尺寸1 - 类型:2,4,5",
  31857. "type": "string"
  31858. },
  31859. "size2": {
  31860. "description": "尺寸2 - 类型:2,4,5",
  31861. "type": "string"
  31862. },
  31863. "size3": {
  31864. "description": "尺寸3 - 类型:2,4,5",
  31865. "type": "string"
  31866. },
  31867. "stonedesc": {
  31868. "description": "配石描述 - 类型:4",
  31869. "type": "string"
  31870. },
  31871. "subnum": {
  31872. "description": "提单子单号",
  31873. "type": "integer"
  31874. },
  31875. "userid": {
  31876. "description": "用户ID",
  31877. "type": "integer"
  31878. },
  31879. "warehouseid": {
  31880. "description": "仓库ID",
  31881. "type": "integer"
  31882. },
  31883. "warehousenamedisplay": {
  31884. "type": "string"
  31885. },
  31886. "weight": {
  31887. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31888. "type": "number"
  31889. },
  31890. "weightavg": {
  31891. "description": "平均单颗重量 - 类型:1,3",
  31892. "type": "number"
  31893. },
  31894. "wrpath": {
  31895. "description": "仓单扫描件(相对地址)",
  31896. "type": "string"
  31897. },
  31898. "wrstandardid": {
  31899. "description": "现货商品ID",
  31900. "type": "integer"
  31901. },
  31902. "wrtradeorderid": {
  31903. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31904. "type": "string"
  31905. },
  31906. "wruserid": {
  31907. "description": "登录用户ID",
  31908. "type": "integer"
  31909. },
  31910. "zscategory": {
  31911. "description": "钻石分类 - 枚举”ZSCategory“",
  31912. "type": "integer"
  31913. },
  31914. "zscategorydisplay": {
  31915. "type": "string"
  31916. },
  31917. "zscerttype": {
  31918. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  31919. "type": "integer"
  31920. },
  31921. "zscerttypedisplay": {
  31922. "type": "string"
  31923. },
  31924. "zsclaritytype1": {
  31925. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  31926. "type": "integer"
  31927. },
  31928. "zsclaritytype1display": {
  31929. "type": "string"
  31930. },
  31931. "zsclaritytype2": {
  31932. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  31933. "type": "integer"
  31934. },
  31935. "zsclaritytype2display": {
  31936. "type": "string"
  31937. },
  31938. "zscolortype1": {
  31939. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  31940. "type": "integer"
  31941. },
  31942. "zscolortype1display": {
  31943. "type": "string"
  31944. },
  31945. "zscolortype2": {
  31946. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  31947. "type": "integer"
  31948. },
  31949. "zscolortype2display": {
  31950. "type": "string"
  31951. },
  31952. "zscrystaltype": {
  31953. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  31954. "type": "string"
  31955. },
  31956. "zscrystaltypedisplay": {
  31957. "type": "string"
  31958. },
  31959. "zscurrencytype": {
  31960. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31961. "type": "integer"
  31962. },
  31963. "zscurrencytypedisplay": {
  31964. "type": "string"
  31965. },
  31966. "zscurrencytypedisplayunit": {
  31967. "type": "string"
  31968. },
  31969. "zscuttype1": {
  31970. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  31971. "type": "integer"
  31972. },
  31973. "zscuttype1display": {
  31974. "type": "string"
  31975. },
  31976. "zscuttype2": {
  31977. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  31978. "type": "integer"
  31979. },
  31980. "zscuttype2display": {
  31981. "type": "string"
  31982. },
  31983. "zsczcolor1type": {
  31984. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  31985. "type": "integer"
  31986. },
  31987. "zsczcolor1typedisplay": {
  31988. "type": "string"
  31989. },
  31990. "zsczcolor2type": {
  31991. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  31992. "type": "integer"
  31993. },
  31994. "zsczcolor2typedisplay": {
  31995. "type": "string"
  31996. },
  31997. "zsczcolor3type": {
  31998. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  31999. "type": "integer"
  32000. },
  32001. "zsczcolor3typedisplay": {
  32002. "type": "string"
  32003. },
  32004. "zsfluorescencetype1": {
  32005. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  32006. "type": "integer"
  32007. },
  32008. "zsfluorescencetype1display": {
  32009. "type": "string"
  32010. },
  32011. "zsfluorescencetype2": {
  32012. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  32013. "type": "integer"
  32014. },
  32015. "zsfluorescencetype2display": {
  32016. "type": "string"
  32017. },
  32018. "zspolishtype1": {
  32019. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  32020. "type": "integer"
  32021. },
  32022. "zspolishtype1display": {
  32023. "type": "string"
  32024. },
  32025. "zspolishtype2": {
  32026. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  32027. "type": "integer"
  32028. },
  32029. "zspolishtype2display": {
  32030. "type": "string"
  32031. },
  32032. "zsshapetype": {
  32033. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  32034. "type": "string"
  32035. },
  32036. "zsshapetypedisplay": {
  32037. "type": "string"
  32038. },
  32039. "zsstyletype": {
  32040. "description": "款式 - 类型:4",
  32041. "type": "integer"
  32042. },
  32043. "zsstyletypedisplay": {
  32044. "type": "string"
  32045. },
  32046. "zssymmetrytype1": {
  32047. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  32048. "type": "integer"
  32049. },
  32050. "zssymmetrytype1display": {
  32051. "type": "string"
  32052. },
  32053. "zssymmetrytype2": {
  32054. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  32055. "type": "integer"
  32056. },
  32057. "zssymmetrytype2display": {
  32058. "type": "string"
  32059. }
  32060. }
  32061. },
  32062. "models.NewFuncmenulist": {
  32063. "type": "object",
  32064. "required": [
  32065. "resourcecode"
  32066. ],
  32067. "properties": {
  32068. "authtype": {
  32069. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  32070. "type": "integer"
  32071. },
  32072. "buttonname": {
  32073. "description": "按钮名称",
  32074. "type": "string"
  32075. },
  32076. "buttontype": {
  32077. "description": "按钮类型 - 存按钮样式",
  32078. "type": "string"
  32079. },
  32080. "component": {
  32081. "description": "组件名或组件地址",
  32082. "type": "string"
  32083. },
  32084. "hidden": {
  32085. "description": "是否隐藏 - 0:显示 1:隐藏",
  32086. "type": "integer"
  32087. },
  32088. "iconame": {
  32089. "description": "菜单图标",
  32090. "type": "string"
  32091. },
  32092. "menutype": {
  32093. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  32094. "type": "integer"
  32095. },
  32096. "parentcode": {
  32097. "description": "上级资源代码",
  32098. "type": "string"
  32099. },
  32100. "remark": {
  32101. "description": "Remark",
  32102. "type": "string"
  32103. },
  32104. "resourcecode": {
  32105. "description": "资源代码",
  32106. "type": "string"
  32107. },
  32108. "resourcelevel": {
  32109. "description": "级别1-一级 2-二级 3-三级4-四级",
  32110. "type": "integer"
  32111. },
  32112. "resourcename": {
  32113. "description": "资源名(Title)",
  32114. "type": "string"
  32115. },
  32116. "sort": {
  32117. "description": "排序",
  32118. "type": "integer"
  32119. },
  32120. "url": {
  32121. "description": "Url",
  32122. "type": "string"
  32123. },
  32124. "urltype": {
  32125. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  32126. "type": "integer"
  32127. }
  32128. }
  32129. },
  32130. "models.OperationPrimaryMenu": {
  32131. "type": "object",
  32132. "properties": {
  32133. "Children": {
  32134. "description": "二级功能菜单",
  32135. "type": "array",
  32136. "items": {
  32137. "$ref": "#/definitions/models.OperationSecondaryMenu"
  32138. }
  32139. },
  32140. "Key": {
  32141. "description": "菜单KEY",
  32142. "type": "string"
  32143. },
  32144. "Label": {
  32145. "description": "菜单标题",
  32146. "type": "string"
  32147. }
  32148. }
  32149. },
  32150. "models.OperationSecondaryMenu": {
  32151. "type": "object",
  32152. "properties": {
  32153. "Key": {
  32154. "description": "菜单KEY",
  32155. "type": "string"
  32156. },
  32157. "Label": {
  32158. "description": "菜单标题",
  32159. "type": "string"
  32160. },
  32161. "TabList": {
  32162. "description": "三级功能菜单",
  32163. "type": "array",
  32164. "items": {
  32165. "$ref": "#/definitions/models.OperationTabMenu"
  32166. }
  32167. }
  32168. }
  32169. },
  32170. "models.OperationTabMenu": {
  32171. "type": "object",
  32172. "properties": {
  32173. "Key": {
  32174. "description": "菜单KEY",
  32175. "type": "string"
  32176. },
  32177. "Label": {
  32178. "description": "菜单标题",
  32179. "type": "string"
  32180. }
  32181. }
  32182. },
  32183. "models.Patradelinkdetail": {
  32184. "type": "object",
  32185. "properties": {
  32186. "accountname": {
  32187. "description": "套期主体",
  32188. "type": "string"
  32189. },
  32190. "agreeunit": {
  32191. "description": "合约乘数",
  32192. "type": "number"
  32193. },
  32194. "amount": {
  32195. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  32196. "type": "number"
  32197. },
  32198. "areauserid": {
  32199. "description": "所属机构",
  32200. "type": "integer"
  32201. },
  32202. "bizsubjectid": {
  32203. "description": "归属业务部门ID - SubjectID",
  32204. "type": "integer"
  32205. },
  32206. "buyorsell": {
  32207. "description": "方向 - 0:买 1:卖",
  32208. "type": "integer"
  32209. },
  32210. "convertratio": {
  32211. "description": "品种系数",
  32212. "type": "number"
  32213. },
  32214. "convertratiochange": {
  32215. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  32216. "type": "number"
  32217. },
  32218. "createtime": {
  32219. "description": "[日期时间]创建时间",
  32220. "type": "string"
  32221. },
  32222. "creatorid": {
  32223. "description": "创建人ID",
  32224. "type": "integer"
  32225. },
  32226. "creatorsrc": {
  32227. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32228. "type": "integer"
  32229. },
  32230. "goodscode": {
  32231. "description": "商品代码(内部)",
  32232. "type": "string"
  32233. },
  32234. "goodsgroupid": {
  32235. "description": "对冲品种ID[期货合约商品组ID]",
  32236. "type": "integer"
  32237. },
  32238. "goodsid": {
  32239. "description": "商品ID",
  32240. "type": "integer"
  32241. },
  32242. "hedgeditemid": {
  32243. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32244. "type": "integer"
  32245. },
  32246. "hedgeflag": {
  32247. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32248. "type": "integer"
  32249. },
  32250. "linkdetailid": {
  32251. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32252. "type": "string"
  32253. },
  32254. "linkstatus": {
  32255. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32256. "type": "integer"
  32257. },
  32258. "middlegoodsid": {
  32259. "description": "套保品种ID",
  32260. "type": "integer"
  32261. },
  32262. "name": {
  32263. "description": "账户名/子账户",
  32264. "type": "string"
  32265. },
  32266. "optioncode": {
  32267. "description": "[期货合约]期权代码 [期权]",
  32268. "type": "string"
  32269. },
  32270. "ordertype": {
  32271. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  32272. "type": "integer"
  32273. },
  32274. "relatedlot": {
  32275. "description": "[数量]关联手数",
  32276. "type": "number"
  32277. },
  32278. "relatedmode": {
  32279. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32280. "type": "integer"
  32281. },
  32282. "relatedqty": {
  32283. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32284. "type": "number"
  32285. },
  32286. "retcode": {
  32287. "description": "返回码",
  32288. "type": "integer"
  32289. },
  32290. "saleuserid": {
  32291. "description": "业务员ID",
  32292. "type": "integer"
  32293. },
  32294. "tradedate": {
  32295. "description": "关联交易日(yyyyMMdd)",
  32296. "type": "string"
  32297. },
  32298. "tradeid": {
  32299. "description": "[成交单号]内部成交单ID",
  32300. "type": "string"
  32301. },
  32302. "tradelot": {
  32303. "description": "成交手数",
  32304. "type": "integer"
  32305. },
  32306. "tradeprice": {
  32307. "description": "[价格]成交价格",
  32308. "type": "number"
  32309. },
  32310. "tradetradedate": {
  32311. "description": "成交交易日(yyyyMMdd)",
  32312. "type": "string"
  32313. }
  32314. }
  32315. },
  32316. "models.QhjAccountOutInApply": {
  32317. "type": "object",
  32318. "properties": {
  32319. "accountcode": {
  32320. "description": "资金账号",
  32321. "type": "string"
  32322. },
  32323. "accountname": {
  32324. "description": "用户名称(名称)",
  32325. "type": "string"
  32326. },
  32327. "accountpwd": {
  32328. "description": "资金密码",
  32329. "type": "string"
  32330. },
  32331. "accountticket": {
  32332. "description": "最新账户服务流水号",
  32333. "type": "string"
  32334. },
  32335. "amount": {
  32336. "description": "金额",
  32337. "type": "number"
  32338. },
  32339. "applyremark": {
  32340. "description": "申请备注",
  32341. "type": "string"
  32342. },
  32343. "applystatus": {
  32344. "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: 复审通过,账户冻结金额检查中;",
  32345. "type": "integer"
  32346. },
  32347. "auditid": {
  32348. "description": "审核人",
  32349. "type": "integer"
  32350. },
  32351. "audittime": {
  32352. "description": "审核时间",
  32353. "type": "string"
  32354. },
  32355. "bank_apply_ticket": {
  32356. "description": "银行申请流水",
  32357. "type": "string"
  32358. },
  32359. "bankaccountname": {
  32360. "description": "银行账户名",
  32361. "type": "string"
  32362. },
  32363. "bankaccountno": {
  32364. "description": "银行卡号",
  32365. "type": "string"
  32366. },
  32367. "bankid": {
  32368. "description": "银行编号",
  32369. "type": "string"
  32370. },
  32371. "bankticket": {
  32372. "description": "银行流水",
  32373. "type": "string"
  32374. },
  32375. "branchbankid": {
  32376. "description": "银行支行号",
  32377. "type": "string"
  32378. },
  32379. "branchbankname": {
  32380. "description": "银行支行名称",
  32381. "type": "string"
  32382. },
  32383. "capamountout": {
  32384. "description": "出金(劣后本金) - 外部子账户",
  32385. "type": "number"
  32386. },
  32387. "certificatephotourl": {
  32388. "description": "凭证地址",
  32389. "type": "string"
  32390. },
  32391. "charge": {
  32392. "description": "手续费",
  32393. "type": "number"
  32394. },
  32395. "checkerrorflag": {
  32396. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  32397. "type": "integer"
  32398. },
  32399. "currency": {
  32400. "description": "币种",
  32401. "type": "string"
  32402. },
  32403. "cusbankid": {
  32404. "description": "托管银行编号",
  32405. "type": "string"
  32406. },
  32407. "exchticket": {
  32408. "description": "银行服务流水号",
  32409. "type": "string"
  32410. },
  32411. "executetype": {
  32412. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  32413. "type": "integer"
  32414. },
  32415. "extendinfo": {
  32416. "description": "扩展信息",
  32417. "type": "string"
  32418. },
  32419. "extoperateid": {
  32420. "description": "交易服务流水号",
  32421. "type": "integer"
  32422. },
  32423. "infamount": {
  32424. "description": "劣后金额(自有)",
  32425. "type": "number"
  32426. },
  32427. "logincode": {
  32428. "description": "登录账号(账号)",
  32429. "type": "string"
  32430. },
  32431. "netaddr": {
  32432. "description": "调转网址",
  32433. "type": "string"
  32434. },
  32435. "priamount": {
  32436. "description": "优先金额(授信)",
  32437. "type": "number"
  32438. },
  32439. "reauditid": {
  32440. "description": "复审人",
  32441. "type": "integer"
  32442. },
  32443. "reauditremark": {
  32444. "description": "复审备注",
  32445. "type": "string"
  32446. },
  32447. "reaudittime": {
  32448. "description": "复审时间",
  32449. "type": "string"
  32450. },
  32451. "relatedorderid": {
  32452. "description": "三方关联ID",
  32453. "type": "string"
  32454. },
  32455. "remark": {
  32456. "description": "备注",
  32457. "type": "string"
  32458. },
  32459. "remark2": {
  32460. "description": "备注(失败原因)",
  32461. "type": "string"
  32462. },
  32463. "soucreamount": {
  32464. "description": "原始出入金金额",
  32465. "type": "number"
  32466. },
  32467. "soucrecurrencyid": {
  32468. "description": "原始出入金币种",
  32469. "type": "integer"
  32470. },
  32471. "tradedate": {
  32472. "description": "交易日(yyyyMMdd)",
  32473. "type": "string"
  32474. },
  32475. "updatetime": {
  32476. "description": "更新时间(申请时间)",
  32477. "type": "string"
  32478. },
  32479. "userid": {
  32480. "description": "用户id",
  32481. "type": "integer"
  32482. },
  32483. "userinfotype": {
  32484. "description": "账户类型 1-个人 2-企业",
  32485. "type": "integer"
  32486. }
  32487. }
  32488. },
  32489. "models.QhjAgreementChangeLog": {
  32490. "type": "object",
  32491. "properties": {
  32492. "agreementcontent": {
  32493. "description": "协议内容",
  32494. "type": "string"
  32495. },
  32496. "agreementfrequency": {
  32497. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32498. "type": "integer"
  32499. },
  32500. "agreementid": {
  32501. "description": "协议ID",
  32502. "type": "integer"
  32503. },
  32504. "agreementname": {
  32505. "description": "协议名称",
  32506. "type": "string"
  32507. },
  32508. "agreementno": {
  32509. "description": "协议编号",
  32510. "type": "string"
  32511. },
  32512. "agreementtype": {
  32513. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32514. "type": "integer"
  32515. },
  32516. "agreementversion": {
  32517. "description": "协议版本号",
  32518. "type": "integer"
  32519. },
  32520. "logid": {
  32521. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  32522. "type": "integer"
  32523. },
  32524. "reviserid": {
  32525. "description": "修改人",
  32526. "type": "integer"
  32527. },
  32528. "revisersrc": {
  32529. "description": "修改来源 - 1:管理端 2:终端",
  32530. "type": "integer"
  32531. },
  32532. "updatetime": {
  32533. "description": "更新时间",
  32534. "type": "string"
  32535. }
  32536. }
  32537. },
  32538. "models.QhjAgreementConfig": {
  32539. "type": "object",
  32540. "properties": {
  32541. "agreementcontent": {
  32542. "description": "协议内容",
  32543. "type": "string"
  32544. },
  32545. "agreementfrequency": {
  32546. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  32547. "type": "integer"
  32548. },
  32549. "agreementid": {
  32550. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  32551. "type": "integer"
  32552. },
  32553. "agreementname": {
  32554. "description": "协议名称",
  32555. "type": "string"
  32556. },
  32557. "agreementno": {
  32558. "description": "协议编号",
  32559. "type": "string"
  32560. },
  32561. "agreementtype": {
  32562. "description": "协议类型 - 1:注册 2:登录 3:交易",
  32563. "type": "integer"
  32564. },
  32565. "agreementversion": {
  32566. "description": "协议版本号(从1开始每次修改加1)",
  32567. "type": "integer"
  32568. },
  32569. "createtime": {
  32570. "description": "创建时间",
  32571. "type": "string"
  32572. },
  32573. "creatorid": {
  32574. "description": "创建人",
  32575. "type": "integer"
  32576. },
  32577. "creatorsrc": {
  32578. "description": "创建来源 - 1:管理端 2:终端",
  32579. "type": "integer"
  32580. },
  32581. "isvalid": {
  32582. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  32583. "type": "integer"
  32584. },
  32585. "reviserid": {
  32586. "description": "修改人",
  32587. "type": "integer"
  32588. },
  32589. "revisersrc": {
  32590. "description": "修改来源 - 1:管理端 2:终端",
  32591. "type": "integer"
  32592. },
  32593. "updatetime": {
  32594. "description": "更新时间",
  32595. "type": "string"
  32596. }
  32597. }
  32598. },
  32599. "models.QhjAreaFinanceConfig": {
  32600. "type": "object",
  32601. "properties": {
  32602. "additionalratio": {
  32603. "description": "追加款比例",
  32604. "type": "number"
  32605. },
  32606. "advanceratio": {
  32607. "description": "预付款比例",
  32608. "type": "number"
  32609. },
  32610. "alarmratio": {
  32611. "description": "告警比例",
  32612. "type": "number"
  32613. },
  32614. "consumptiondirectreward": {
  32615. "description": "消费直推奖励值",
  32616. "type": "number"
  32617. },
  32618. "consumptionenabled": {
  32619. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  32620. "type": "integer"
  32621. },
  32622. "consumptionindirectreward": {
  32623. "description": "消费间推奖励值",
  32624. "type": "number"
  32625. },
  32626. "consumptionmodel": {
  32627. "description": "消费奖励方式 - 1:比率 2:固定",
  32628. "type": "integer"
  32629. },
  32630. "customerservicenum": {
  32631. "description": "客服电话",
  32632. "type": "string"
  32633. },
  32634. "dayinterestrate": {
  32635. "description": "日利率",
  32636. "type": "number"
  32637. },
  32638. "disableconsumptiontips": {
  32639. "description": "关闭消费奖励提示",
  32640. "type": "string"
  32641. },
  32642. "modifierid": {
  32643. "description": "修改人ID",
  32644. "type": "integer"
  32645. },
  32646. "modifysrc": {
  32647. "description": "审核来源 - 1:管理端 2:终端",
  32648. "type": "integer"
  32649. },
  32650. "modifytime": {
  32651. "description": "修改时间",
  32652. "type": "string"
  32653. },
  32654. "promotionvalue": {
  32655. "description": "推广奖励值(固定)",
  32656. "type": "number"
  32657. },
  32658. "scoreconfigvalue1": {
  32659. "description": "提货积分配置1",
  32660. "type": "integer"
  32661. },
  32662. "scoreconfigvalue2": {
  32663. "description": "提货积分配置2",
  32664. "type": "integer"
  32665. },
  32666. "userid": {
  32667. "description": "机构用户ID其他做市关系,都设置为 1",
  32668. "type": "integer"
  32669. },
  32670. "username": {
  32671. "description": "用户名称",
  32672. "type": "string"
  32673. }
  32674. }
  32675. },
  32676. "models.QhjBankAccountSign": {
  32677. "type": "object",
  32678. "properties": {
  32679. "accountcode": {
  32680. "description": "资金账号",
  32681. "type": "string"
  32682. },
  32683. "accountname": {
  32684. "description": "资金账号对应的账号名(UserName)",
  32685. "type": "string"
  32686. },
  32687. "accountname2": {
  32688. "description": "资金账号对应的账号名(UserName) - 密文",
  32689. "type": "string"
  32690. },
  32691. "accounttype": {
  32692. "description": "账户类型(UserType)",
  32693. "type": "integer"
  32694. },
  32695. "applicationtime": {
  32696. "description": "最后一次更新的时间",
  32697. "type": "string"
  32698. },
  32699. "applyexchticket": {
  32700. "description": "申请流水",
  32701. "type": "string"
  32702. },
  32703. "auditid": {
  32704. "description": "审核人",
  32705. "type": "integer"
  32706. },
  32707. "audittime": {
  32708. "description": "审核时间",
  32709. "type": "string"
  32710. },
  32711. "bankaccountname": {
  32712. "description": "签约银行卡账号名",
  32713. "type": "string"
  32714. },
  32715. "bankaccountname2": {
  32716. "description": "签约银行卡账号名 - 密文",
  32717. "type": "string"
  32718. },
  32719. "bankaccountno": {
  32720. "description": "银行卡号",
  32721. "type": "string"
  32722. },
  32723. "bankaccountno2": {
  32724. "description": "银行卡号 - 密文",
  32725. "type": "string"
  32726. },
  32727. "bankaccounttype": {
  32728. "description": "银行账户类型 - 1-对私; 2-对公",
  32729. "type": "integer"
  32730. },
  32731. "bankcardtype": {
  32732. "description": "银行卡类型",
  32733. "type": "integer"
  32734. },
  32735. "bankchildaccount": {
  32736. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  32737. "type": "string"
  32738. },
  32739. "bankcity": {
  32740. "description": "开户行城市",
  32741. "type": "string"
  32742. },
  32743. "bankid": {
  32744. "description": "签约银行ID",
  32745. "type": "string"
  32746. },
  32747. "bankname": {
  32748. "description": "签约银行名称",
  32749. "type": "string"
  32750. },
  32751. "bankprovince": {
  32752. "description": "开户行省份",
  32753. "type": "string"
  32754. },
  32755. "branchbankid": {
  32756. "description": "签约银行支行号",
  32757. "type": "string"
  32758. },
  32759. "branchbankname": {
  32760. "description": "签约银行支行名称",
  32761. "type": "string"
  32762. },
  32763. "cardno": {
  32764. "description": "证件号码",
  32765. "type": "string"
  32766. },
  32767. "cardno2": {
  32768. "description": "证件号码 - 密文",
  32769. "type": "string"
  32770. },
  32771. "cardtype": {
  32772. "description": "证件类型",
  32773. "type": "string"
  32774. },
  32775. "currency": {
  32776. "description": "币种",
  32777. "type": "string"
  32778. },
  32779. "cusbankid": {
  32780. "description": "托管银行编号",
  32781. "type": "string"
  32782. },
  32783. "direct": {
  32784. "description": "方向(可以判断那方先发起的签约)",
  32785. "type": "integer"
  32786. },
  32787. "exchticket": {
  32788. "description": "最后一次签约成功的流水号",
  32789. "type": "string"
  32790. },
  32791. "extendinfo": {
  32792. "description": "扩展信息(JSON字符串)",
  32793. "type": "string"
  32794. },
  32795. "mobilephone": {
  32796. "description": "手机号",
  32797. "type": "string"
  32798. },
  32799. "mobilephone2": {
  32800. "description": "手机号 - 密文",
  32801. "type": "string"
  32802. },
  32803. "netaddr": {
  32804. "description": "调转网址",
  32805. "type": "string"
  32806. },
  32807. "relateduserid": {
  32808. "description": "关联使用者userid",
  32809. "type": "integer"
  32810. },
  32811. "signstatus": {
  32812. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  32813. "type": "integer"
  32814. },
  32815. "updatetime": {
  32816. "description": "更新时间(签解约更新时间)",
  32817. "type": "string"
  32818. }
  32819. }
  32820. },
  32821. "models.QhjBankInfo": {
  32822. "type": "object",
  32823. "properties": {
  32824. "bankid": {
  32825. "description": "银行ID",
  32826. "type": "string"
  32827. },
  32828. "bankname": {
  32829. "description": "银行名称",
  32830. "type": "string"
  32831. },
  32832. "clearbankno": {
  32833. "description": "清算系统银行编号",
  32834. "type": "string"
  32835. },
  32836. "orderindex": {
  32837. "description": "排序顺序",
  32838. "type": "integer"
  32839. },
  32840. "status": {
  32841. "description": "状态 - 0:正常 1:注销",
  32842. "type": "integer"
  32843. }
  32844. }
  32845. },
  32846. "models.QhjBrokerApply": {
  32847. "type": "object",
  32848. "properties": {
  32849. "applicantid": {
  32850. "description": "申请人",
  32851. "type": "integer"
  32852. },
  32853. "applysrc": {
  32854. "description": "申请来源 - 1:管理端 2:终端",
  32855. "type": "integer"
  32856. },
  32857. "applystatus": {
  32858. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  32859. "type": "integer"
  32860. },
  32861. "applytime": {
  32862. "description": "申请时间",
  32863. "type": "string"
  32864. },
  32865. "auditorid": {
  32866. "description": "审核人",
  32867. "type": "integer"
  32868. },
  32869. "auditremark": {
  32870. "description": "审核备注",
  32871. "type": "string"
  32872. },
  32873. "auditsrc": {
  32874. "description": "审核来源 - 1:管理端 2:终端",
  32875. "type": "integer"
  32876. },
  32877. "audittime": {
  32878. "description": "审核时间",
  32879. "type": "string"
  32880. },
  32881. "audittradedate": {
  32882. "description": "审核交易日(yyyyMMdd)",
  32883. "type": "string"
  32884. },
  32885. "brokerapplyid": {
  32886. "description": "申请ID(SEQ_BROKERAPPLY)",
  32887. "type": "integer"
  32888. },
  32889. "cardbackphotourl": {
  32890. "description": "证件背面图片地址",
  32891. "type": "string"
  32892. },
  32893. "cardfrontphotourl": {
  32894. "description": "证件正面图片地址",
  32895. "type": "string"
  32896. },
  32897. "cardnum": {
  32898. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  32899. "type": "string"
  32900. },
  32901. "customername": {
  32902. "description": "姓名",
  32903. "type": "string"
  32904. },
  32905. "logincode": {
  32906. "description": "登录代码",
  32907. "type": "string"
  32908. },
  32909. "mobile": {
  32910. "description": "手机号码",
  32911. "type": "string"
  32912. },
  32913. "parentuserid": {
  32914. "description": "所属机构id",
  32915. "type": "integer"
  32916. },
  32917. "parentusername": {
  32918. "description": "所属机构名称",
  32919. "type": "string"
  32920. },
  32921. "refereeuserid": {
  32922. "description": "推荐人id(经纪人)",
  32923. "type": "integer"
  32924. },
  32925. "refernum": {
  32926. "description": "推荐码",
  32927. "type": "string"
  32928. },
  32929. "remark": {
  32930. "description": "备注",
  32931. "type": "string"
  32932. },
  32933. "subarealevelpath": {
  32934. "description": "层级路径",
  32935. "type": "string"
  32936. },
  32937. "tradedate": {
  32938. "description": "交易日(yyyyMMdd)",
  32939. "type": "string"
  32940. },
  32941. "userid": {
  32942. "description": "申请人用户ID",
  32943. "type": "integer"
  32944. },
  32945. "userinfotype": {
  32946. "description": "用户类型 1-个人 2-企业",
  32947. "type": "integer"
  32948. },
  32949. "username": {
  32950. "description": "用户名称",
  32951. "type": "string"
  32952. }
  32953. }
  32954. },
  32955. "models.QhjBrokerApplyEx": {
  32956. "type": "object",
  32957. "properties": {
  32958. "applylist": {
  32959. "description": "经纪人申请记录(只返回最新一条)",
  32960. "type": "array",
  32961. "items": {
  32962. "$ref": "#/definitions/models.QhjBrokerApply"
  32963. }
  32964. },
  32965. "canrecommend": {
  32966. "description": "是否经纪人 0-不是 1-是",
  32967. "type": "integer"
  32968. },
  32969. "refernum": {
  32970. "description": "推荐码",
  32971. "type": "string"
  32972. },
  32973. "userid": {
  32974. "description": "用户id",
  32975. "type": "integer"
  32976. },
  32977. "userinfotype": {
  32978. "description": "用户类型 1-个人 2-企业",
  32979. "type": "integer"
  32980. }
  32981. }
  32982. },
  32983. "models.QhjBrokerRewardLog": {
  32984. "type": "object",
  32985. "properties": {
  32986. "accountid": {
  32987. "description": "资金账号ID",
  32988. "type": "integer"
  32989. },
  32990. "createtime": {
  32991. "description": "创建时间(时间)",
  32992. "type": "string"
  32993. },
  32994. "handlestatus": {
  32995. "description": "处理状态",
  32996. "type": "integer"
  32997. },
  32998. "logid": {
  32999. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33000. "type": "string"
  33001. },
  33002. "marketid": {
  33003. "description": "市场ID",
  33004. "type": "integer"
  33005. },
  33006. "mmaccountid": {
  33007. "description": "做市商资金账号ID",
  33008. "type": "string"
  33009. },
  33010. "mmuserid": {
  33011. "description": "做市商用户ID",
  33012. "type": "string"
  33013. },
  33014. "rewardamount": {
  33015. "description": "奖励金额",
  33016. "type": "number"
  33017. },
  33018. "rewardmodel": {
  33019. "description": "消费奖励方式 - 1:比率 2:固定",
  33020. "type": "integer"
  33021. },
  33022. "rewardtype": {
  33023. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  33024. "type": "integer"
  33025. },
  33026. "rewardvalue": {
  33027. "description": "配置奖励值",
  33028. "type": "number"
  33029. },
  33030. "srcamount": {
  33031. "description": "成交金额 [消费奖励] (金额)",
  33032. "type": "number"
  33033. },
  33034. "srcgoodsid": {
  33035. "description": "来源商品ID [消费奖励]",
  33036. "type": "string"
  33037. },
  33038. "srctime": {
  33039. "description": "来源时间 (成交时间) [消费奖励]",
  33040. "type": "string"
  33041. },
  33042. "srctradeid": {
  33043. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  33044. "type": "string"
  33045. },
  33046. "srcuserid": {
  33047. "description": "来源用户ID(推广账户)",
  33048. "type": "string"
  33049. },
  33050. "srcusername": {
  33051. "description": "推广账户名称",
  33052. "type": "string"
  33053. },
  33054. "tradedate": {
  33055. "description": "交易日(yyyyMMdd)",
  33056. "type": "string"
  33057. },
  33058. "userid": {
  33059. "description": "经纪人用户ID",
  33060. "type": "integer"
  33061. }
  33062. }
  33063. },
  33064. "models.QhjContract": {
  33065. "type": "object",
  33066. "properties": {
  33067. "contractconfirmtime": {
  33068. "description": "合同确认时间(时间)",
  33069. "type": "string"
  33070. },
  33071. "currisklevel": {
  33072. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33073. "type": "integer"
  33074. },
  33075. "decimalplace": {
  33076. "description": "商品报价小数位",
  33077. "type": "integer"
  33078. },
  33079. "enumdicname": {
  33080. "description": "单位名称",
  33081. "type": "string"
  33082. },
  33083. "goodscode": {
  33084. "description": "商品代码",
  33085. "type": "string"
  33086. },
  33087. "goodsid": {
  33088. "description": "商品ID [5:融资单]",
  33089. "type": "integer"
  33090. },
  33091. "goodsname": {
  33092. "description": "商品名称",
  33093. "type": "string"
  33094. },
  33095. "goodunitid": {
  33096. "description": "商品单位id",
  33097. "type": "integer"
  33098. },
  33099. "initmargin": {
  33100. "description": "初始保证金(首付款)",
  33101. "type": "number"
  33102. },
  33103. "lenderamount": {
  33104. "description": "贷款金额(总额|订单总额)",
  33105. "type": "number"
  33106. },
  33107. "marginratio": {
  33108. "description": "保证金比率(首付比例)",
  33109. "type": "number"
  33110. },
  33111. "payamount": {
  33112. "description": "已付(已付货款)",
  33113. "type": "number"
  33114. },
  33115. "reckonrecovermargin": {
  33116. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  33117. "type": "number"
  33118. },
  33119. "recoveredmargin": {
  33120. "description": "已追缴保证金",
  33121. "type": "number"
  33122. },
  33123. "remainamount": {
  33124. "description": "合同剩余金额(融资额)",
  33125. "type": "number"
  33126. },
  33127. "scfcontractid": {
  33128. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33129. "type": "string"
  33130. },
  33131. "scfcontractstatus": {
  33132. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  33133. "type": "integer"
  33134. },
  33135. "scfcontracttype": {
  33136. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  33137. "type": "integer"
  33138. },
  33139. "totalinterest": {
  33140. "description": "已计总利息(利息)",
  33141. "type": "number"
  33142. },
  33143. "tradeprice": {
  33144. "description": "成交价格(成本价格)",
  33145. "type": "number"
  33146. },
  33147. "userid": {
  33148. "description": "用户ID",
  33149. "type": "integer"
  33150. },
  33151. "username": {
  33152. "description": "用户名称",
  33153. "type": "string"
  33154. },
  33155. "wrqty": {
  33156. "description": "仓单数量(数量)",
  33157. "type": "number"
  33158. }
  33159. }
  33160. },
  33161. "models.QhjContractLog": {
  33162. "type": "object",
  33163. "properties": {
  33164. "amount": {
  33165. "description": "支付金额",
  33166. "type": "number"
  33167. },
  33168. "amounttype": {
  33169. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  33170. "type": "integer"
  33171. },
  33172. "logid": {
  33173. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  33174. "type": "string"
  33175. },
  33176. "remainamount": {
  33177. "description": "剩余货款",
  33178. "type": "number"
  33179. },
  33180. "scfcontractid": {
  33181. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  33182. "type": "integer"
  33183. },
  33184. "updatetime": {
  33185. "description": "更新时间",
  33186. "type": "string"
  33187. }
  33188. }
  33189. },
  33190. "models.QhjCusBankSignBankEx": {
  33191. "type": "object",
  33192. "properties": {
  33193. "banklst": {
  33194. "description": "银行列表",
  33195. "type": "array",
  33196. "items": {
  33197. "$ref": "#/definitions/models.QhjBankInfo"
  33198. }
  33199. },
  33200. "canallot": {
  33201. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  33202. "type": "integer"
  33203. },
  33204. "canallotquery": {
  33205. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  33206. "type": "integer"
  33207. },
  33208. "canbindcard": {
  33209. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  33210. "type": "integer"
  33211. },
  33212. "caninamount": {
  33213. "description": "是否可入金 - 0:不可 1:可以",
  33214. "type": "integer"
  33215. },
  33216. "caninamount2": {
  33217. "description": "是否可入金(网银端) - 0:不可 1:可以",
  33218. "type": "integer"
  33219. },
  33220. "canmodifybankcard": {
  33221. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  33222. "type": "integer"
  33223. },
  33224. "canmodifyphone": {
  33225. "description": "是否可修改手机号 - 0:不可 1:可以",
  33226. "type": "integer"
  33227. },
  33228. "canmodifysigninfo": {
  33229. "description": "是否可修改签约信息 - 0:不可 1:可以",
  33230. "type": "integer"
  33231. },
  33232. "canoutamount": {
  33233. "description": "是否可出金 - 0:不可 1:可以",
  33234. "type": "integer"
  33235. },
  33236. "canoutamount2": {
  33237. "description": "是否可出金(网银端) - 0:不可 1:可以",
  33238. "type": "integer"
  33239. },
  33240. "canrelease": {
  33241. "description": "是否可解约 - 0:不可 1:可以",
  33242. "type": "integer"
  33243. },
  33244. "canrelease2": {
  33245. "description": "是否可解约(网银端) - 0:不可 1:可以",
  33246. "type": "integer"
  33247. },
  33248. "cansign": {
  33249. "description": "是否可签约 - 0:不可 1:可以",
  33250. "type": "integer"
  33251. },
  33252. "cansign2": {
  33253. "description": "是否可签约(网银端) - 0:不可 1:可以",
  33254. "type": "integer"
  33255. },
  33256. "currency": {
  33257. "description": "币种",
  33258. "type": "string"
  33259. },
  33260. "cusbankid": {
  33261. "description": "托管银行编号(对应清算中心TRAN_NO)",
  33262. "type": "string"
  33263. },
  33264. "cusbankname": {
  33265. "description": "银行业务名称",
  33266. "type": "string"
  33267. },
  33268. "cusbankshortname": {
  33269. "description": "银行业务简称",
  33270. "type": "string"
  33271. },
  33272. "exchbankid": {
  33273. "description": "交易所开户银行ID",
  33274. "type": "string"
  33275. },
  33276. "exchpaybankaccname": {
  33277. "description": "交易所支出结算账户户名",
  33278. "type": "string"
  33279. },
  33280. "exchpaybankaccno": {
  33281. "description": "交易所支出结算账户",
  33282. "type": "string"
  33283. },
  33284. "isneedcheck": {
  33285. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  33286. "type": "integer"
  33287. },
  33288. "isneedclear": {
  33289. "description": "是否需要清算 - 0:不需要 1:需要",
  33290. "type": "integer"
  33291. },
  33292. "lastcheckstatus": {
  33293. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  33294. "type": "integer"
  33295. },
  33296. "lastchecktime": {
  33297. "description": "最后对账时间",
  33298. "type": "string"
  33299. },
  33300. "lastclearstatus": {
  33301. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  33302. "type": "integer"
  33303. },
  33304. "lastcleartime": {
  33305. "description": "最后清算时间",
  33306. "type": "string"
  33307. },
  33308. "lastsignintime": {
  33309. "description": "最后签到时间",
  33310. "type": "string"
  33311. },
  33312. "lastsignouttime": {
  33313. "description": "最后签退时间",
  33314. "type": "string"
  33315. },
  33316. "riskinfo": {
  33317. "description": "签约风险提示书",
  33318. "type": "string"
  33319. },
  33320. "signstatus": {
  33321. "description": "当前签到/签退状态 - 1:签到 2:签退",
  33322. "type": "integer"
  33323. },
  33324. "tradedate": {
  33325. "description": "交易日(yyyyMMdd)",
  33326. "type": "string"
  33327. },
  33328. "updatetime": {
  33329. "description": "当前签到/签退更新时间",
  33330. "type": "string"
  33331. }
  33332. }
  33333. },
  33334. "models.QhjCustomer": {
  33335. "type": "object",
  33336. "properties": {
  33337. "address": {
  33338. "description": "通讯地址",
  33339. "type": "string"
  33340. },
  33341. "attachment1": {
  33342. "description": "附件1",
  33343. "type": "string"
  33344. },
  33345. "attachment2": {
  33346. "description": "附件2",
  33347. "type": "string"
  33348. },
  33349. "audittime": {
  33350. "description": "审核时间",
  33351. "type": "string"
  33352. },
  33353. "cardbackphotourl": {
  33354. "description": "证件反面图片地址",
  33355. "type": "string"
  33356. },
  33357. "cardfrontphotourl": {
  33358. "description": "证件正面图片地址",
  33359. "type": "string"
  33360. },
  33361. "cardnum": {
  33362. "description": "证件号码",
  33363. "type": "string"
  33364. },
  33365. "cardtype": {
  33366. "description": "证件类型",
  33367. "type": "integer"
  33368. },
  33369. "cardtypename": {
  33370. "description": "证件类型名称",
  33371. "type": "string"
  33372. },
  33373. "cityid": {
  33374. "description": "市",
  33375. "type": "integer"
  33376. },
  33377. "cityname": {
  33378. "description": "城市名称",
  33379. "type": "string"
  33380. },
  33381. "contactname": {
  33382. "description": "联系人",
  33383. "type": "string"
  33384. },
  33385. "countryid": {
  33386. "description": "国家",
  33387. "type": "integer"
  33388. },
  33389. "countryname": {
  33390. "description": "国家名称",
  33391. "type": "string"
  33392. },
  33393. "createtime": {
  33394. "description": "创建时间",
  33395. "type": "string"
  33396. },
  33397. "customername": {
  33398. "description": "客户名称",
  33399. "type": "string"
  33400. },
  33401. "districtid": {
  33402. "description": "区域",
  33403. "type": "integer"
  33404. },
  33405. "districtname": {
  33406. "description": "地区名称",
  33407. "type": "string"
  33408. },
  33409. "email": {
  33410. "description": "邮件",
  33411. "type": "string"
  33412. },
  33413. "legalpersonname": {
  33414. "description": "法人姓名(企业)",
  33415. "type": "string"
  33416. },
  33417. "logincode": {
  33418. "description": "登录账号(代码)",
  33419. "type": "string"
  33420. },
  33421. "memberuserid": {
  33422. "description": "所属机构ID(所属会员)",
  33423. "type": "integer"
  33424. },
  33425. "memberusername": {
  33426. "description": "所属会员名称",
  33427. "type": "string"
  33428. },
  33429. "mobile": {
  33430. "description": "手机号码",
  33431. "type": "string"
  33432. },
  33433. "modifytime": {
  33434. "description": "修改时间",
  33435. "type": "string"
  33436. },
  33437. "nickname": {
  33438. "description": "昵称",
  33439. "type": "string"
  33440. },
  33441. "parentuserid": {
  33442. "description": "上级机构(所属机构)",
  33443. "type": "integer"
  33444. },
  33445. "parentusername": {
  33446. "description": "所属机构名称",
  33447. "type": "string"
  33448. },
  33449. "provinceid": {
  33450. "description": "省",
  33451. "type": "integer"
  33452. },
  33453. "provincename": {
  33454. "description": "省名称",
  33455. "type": "string"
  33456. },
  33457. "proxystatementurl": {
  33458. "description": "授权委托书",
  33459. "type": "string"
  33460. },
  33461. "remark": {
  33462. "description": "备注",
  33463. "type": "string"
  33464. },
  33465. "status": {
  33466. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  33467. "type": "integer"
  33468. },
  33469. "statusdesc": {
  33470. "description": "账户状态中文描述",
  33471. "type": "string"
  33472. },
  33473. "taxpayernum": {
  33474. "description": "纳税人识别号",
  33475. "type": "string"
  33476. },
  33477. "telphone": {
  33478. "description": "联系电话",
  33479. "type": "string"
  33480. },
  33481. "userid": {
  33482. "description": "用户ID",
  33483. "type": "integer"
  33484. },
  33485. "userinfotype": {
  33486. "description": "客户类型 1-个人 2-企业",
  33487. "type": "integer"
  33488. },
  33489. "username": {
  33490. "description": "用户名称",
  33491. "type": "string"
  33492. }
  33493. }
  33494. },
  33495. "models.QhjCustomerSignLog": {
  33496. "type": "object",
  33497. "properties": {
  33498. "agreementcontent": {
  33499. "description": "协议内容",
  33500. "type": "string"
  33501. },
  33502. "agreementid": {
  33503. "description": "协议ID",
  33504. "type": "integer"
  33505. },
  33506. "agreementname": {
  33507. "description": "协议名称",
  33508. "type": "string"
  33509. },
  33510. "agreementno": {
  33511. "description": "协议编号",
  33512. "type": "string"
  33513. },
  33514. "agreementtype": {
  33515. "description": "协议类型 - 1:注册 2:登录 3:交易",
  33516. "type": "integer"
  33517. },
  33518. "agreementversion": {
  33519. "description": "协议版本号",
  33520. "type": "integer"
  33521. },
  33522. "createtime": {
  33523. "description": "创建时间",
  33524. "type": "string"
  33525. },
  33526. "goodscode": {
  33527. "description": "商品代码",
  33528. "type": "string"
  33529. },
  33530. "goodsid": {
  33531. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33532. "type": "integer"
  33533. },
  33534. "goodsname": {
  33535. "description": "商品名称",
  33536. "type": "string"
  33537. },
  33538. "logid": {
  33539. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  33540. "type": "integer"
  33541. },
  33542. "nodetype": {
  33543. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  33544. "type": "integer"
  33545. },
  33546. "signadressurl": {
  33547. "description": "签约文件地址",
  33548. "type": "string"
  33549. },
  33550. "signtimestamp": {
  33551. "description": "签约状态时间戳",
  33552. "type": "string"
  33553. },
  33554. "userid": {
  33555. "description": "客户ID",
  33556. "type": "integer"
  33557. },
  33558. "username": {
  33559. "description": "客户名称",
  33560. "type": "string"
  33561. }
  33562. }
  33563. },
  33564. "models.QhjCustomerSignStatus": {
  33565. "type": "object",
  33566. "properties": {
  33567. "createtime": {
  33568. "description": "创建时间",
  33569. "type": "string"
  33570. },
  33571. "goodscode": {
  33572. "description": "商品代码",
  33573. "type": "string"
  33574. },
  33575. "goodsid": {
  33576. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  33577. "type": "integer"
  33578. },
  33579. "goodsname": {
  33580. "description": "商品名称",
  33581. "type": "string"
  33582. },
  33583. "nodetype": {
  33584. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  33585. "type": "integer"
  33586. },
  33587. "signtimestamp": {
  33588. "description": "签约状态时间戳",
  33589. "type": "string"
  33590. },
  33591. "tradedate": {
  33592. "description": "创建交易日(yyyyMMdd)",
  33593. "type": "string"
  33594. },
  33595. "updatetime": {
  33596. "description": "更新时间",
  33597. "type": "string"
  33598. },
  33599. "userid": {
  33600. "description": "客户ID",
  33601. "type": "integer"
  33602. },
  33603. "username": {
  33604. "description": "客户名称",
  33605. "type": "string"
  33606. }
  33607. }
  33608. },
  33609. "models.QhjMgrAccountOutInApply": {
  33610. "type": "object",
  33611. "properties": {
  33612. "accountcode": {
  33613. "description": "资金账号",
  33614. "type": "string"
  33615. },
  33616. "accountname": {
  33617. "description": "用户名称(名称)",
  33618. "type": "string"
  33619. },
  33620. "accountpwd": {
  33621. "description": "资金密码",
  33622. "type": "string"
  33623. },
  33624. "accountticket": {
  33625. "description": "最新账户服务流水号",
  33626. "type": "string"
  33627. },
  33628. "amount": {
  33629. "description": "金额",
  33630. "type": "number"
  33631. },
  33632. "applyremark": {
  33633. "description": "申请备注",
  33634. "type": "string"
  33635. },
  33636. "applystatus": {
  33637. "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: 复审通过,账户冻结金额检查中;",
  33638. "type": "integer"
  33639. },
  33640. "auditid": {
  33641. "description": "审核人",
  33642. "type": "integer"
  33643. },
  33644. "audittime": {
  33645. "description": "审核时间",
  33646. "type": "string"
  33647. },
  33648. "bank_apply_ticket": {
  33649. "description": "银行申请流水",
  33650. "type": "string"
  33651. },
  33652. "bankaccountname": {
  33653. "description": "银行账户名",
  33654. "type": "string"
  33655. },
  33656. "bankaccountno": {
  33657. "description": "银行卡号",
  33658. "type": "string"
  33659. },
  33660. "bankid": {
  33661. "description": "银行编号",
  33662. "type": "string"
  33663. },
  33664. "bankname": {
  33665. "description": "银行名称",
  33666. "type": "string"
  33667. },
  33668. "bankticket": {
  33669. "description": "银行流水",
  33670. "type": "string"
  33671. },
  33672. "branchbankid": {
  33673. "description": "银行支行号",
  33674. "type": "string"
  33675. },
  33676. "branchbankname": {
  33677. "description": "银行支行名称",
  33678. "type": "string"
  33679. },
  33680. "capamountout": {
  33681. "description": "出金(劣后本金) - 外部子账户",
  33682. "type": "number"
  33683. },
  33684. "certificatephotourl": {
  33685. "description": "凭证地址",
  33686. "type": "string"
  33687. },
  33688. "charge": {
  33689. "description": "手续费",
  33690. "type": "number"
  33691. },
  33692. "checkerrorflag": {
  33693. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33694. "type": "integer"
  33695. },
  33696. "currency": {
  33697. "description": "币种",
  33698. "type": "string"
  33699. },
  33700. "cusbankid": {
  33701. "description": "托管银行编号",
  33702. "type": "string"
  33703. },
  33704. "exchticket": {
  33705. "description": "银行服务流水号",
  33706. "type": "string"
  33707. },
  33708. "executetype": {
  33709. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  33710. "type": "integer"
  33711. },
  33712. "extendinfo": {
  33713. "description": "扩展信息",
  33714. "type": "string"
  33715. },
  33716. "extoperateid": {
  33717. "description": "交易服务流水号",
  33718. "type": "integer"
  33719. },
  33720. "infamount": {
  33721. "description": "劣后金额(自有)",
  33722. "type": "number"
  33723. },
  33724. "logincode": {
  33725. "description": "登录账号(账号)",
  33726. "type": "string"
  33727. },
  33728. "netaddr": {
  33729. "description": "调转网址",
  33730. "type": "string"
  33731. },
  33732. "priamount": {
  33733. "description": "优先金额(授信)",
  33734. "type": "number"
  33735. },
  33736. "reauditid": {
  33737. "description": "复审人",
  33738. "type": "integer"
  33739. },
  33740. "reauditremark": {
  33741. "description": "复审备注",
  33742. "type": "string"
  33743. },
  33744. "reaudittime": {
  33745. "description": "复审时间",
  33746. "type": "string"
  33747. },
  33748. "relatedorderid": {
  33749. "description": "三方关联ID",
  33750. "type": "string"
  33751. },
  33752. "remark": {
  33753. "description": "备注",
  33754. "type": "string"
  33755. },
  33756. "remark2": {
  33757. "description": "备注(失败原因)",
  33758. "type": "string"
  33759. },
  33760. "soucreamount": {
  33761. "description": "原始出入金金额",
  33762. "type": "number"
  33763. },
  33764. "soucrecurrencyid": {
  33765. "description": "原始出入金币种",
  33766. "type": "integer"
  33767. },
  33768. "tradedate": {
  33769. "description": "交易日(yyyyMMdd)",
  33770. "type": "string"
  33771. },
  33772. "updatetime": {
  33773. "description": "更新时间(申请时间)",
  33774. "type": "string"
  33775. },
  33776. "userid": {
  33777. "description": "用户id",
  33778. "type": "integer"
  33779. },
  33780. "userinfotype": {
  33781. "description": "账户类型 1-个人 2-企业",
  33782. "type": "integer"
  33783. }
  33784. }
  33785. },
  33786. "models.QhjMgrBrokerApply": {
  33787. "type": "object",
  33788. "properties": {
  33789. "applicantid": {
  33790. "description": "申请人",
  33791. "type": "integer"
  33792. },
  33793. "applysrc": {
  33794. "description": "申请来源 - 1:管理端 2:终端",
  33795. "type": "integer"
  33796. },
  33797. "applystatus": {
  33798. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  33799. "type": "integer"
  33800. },
  33801. "applytime": {
  33802. "description": "申请时间",
  33803. "type": "string"
  33804. },
  33805. "auditorid": {
  33806. "description": "审核人",
  33807. "type": "integer"
  33808. },
  33809. "auditremark": {
  33810. "description": "审核备注",
  33811. "type": "string"
  33812. },
  33813. "auditsrc": {
  33814. "description": "审核来源 - 1:管理端 2:终端",
  33815. "type": "integer"
  33816. },
  33817. "audittime": {
  33818. "description": "审核时间",
  33819. "type": "string"
  33820. },
  33821. "audittradedate": {
  33822. "description": "审核交易日(yyyyMMdd)",
  33823. "type": "string"
  33824. },
  33825. "brokerapplyid": {
  33826. "description": "申请ID(SEQ_BROKERAPPLY)",
  33827. "type": "integer"
  33828. },
  33829. "cardbackphotourl": {
  33830. "description": "证件背面图片地址",
  33831. "type": "string"
  33832. },
  33833. "cardfrontphotourl": {
  33834. "description": "证件正面图片地址",
  33835. "type": "string"
  33836. },
  33837. "cardnum": {
  33838. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  33839. "type": "string"
  33840. },
  33841. "customername": {
  33842. "description": "姓名",
  33843. "type": "string"
  33844. },
  33845. "filterstatus": {
  33846. "description": "筛选条件",
  33847. "type": "string"
  33848. },
  33849. "logincode": {
  33850. "description": "登录代码",
  33851. "type": "string"
  33852. },
  33853. "mobile": {
  33854. "description": "手机号码",
  33855. "type": "string"
  33856. },
  33857. "parentuserid": {
  33858. "description": "所属机构id",
  33859. "type": "integer"
  33860. },
  33861. "parentusername": {
  33862. "description": "所属机构名称",
  33863. "type": "string"
  33864. },
  33865. "refereeuserid": {
  33866. "description": "推荐人id(经纪人)",
  33867. "type": "integer"
  33868. },
  33869. "refernum": {
  33870. "description": "推荐码",
  33871. "type": "string"
  33872. },
  33873. "remark": {
  33874. "description": "备注",
  33875. "type": "string"
  33876. },
  33877. "subarealevelpath": {
  33878. "description": "层级路径",
  33879. "type": "string"
  33880. },
  33881. "tradedate": {
  33882. "description": "交易日(yyyyMMdd)",
  33883. "type": "string"
  33884. },
  33885. "userid": {
  33886. "description": "申请人用户ID",
  33887. "type": "integer"
  33888. },
  33889. "userinfotype": {
  33890. "description": "用户类型 1-个人 2-企业",
  33891. "type": "integer"
  33892. },
  33893. "username": {
  33894. "description": "用户名称",
  33895. "type": "string"
  33896. }
  33897. }
  33898. },
  33899. "models.QhjMgrBrokerRewardReport": {
  33900. "type": "object",
  33901. "properties": {
  33902. "createtime": {
  33903. "description": "创建时间(注册时间)",
  33904. "type": "string"
  33905. },
  33906. "cycletime": {
  33907. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  33908. "type": "string"
  33909. },
  33910. "cycletype": {
  33911. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  33912. "type": "integer"
  33913. },
  33914. "directtotalnum": {
  33915. "description": "直推总人数【期末】",
  33916. "type": "integer"
  33917. },
  33918. "indirecttotalnum": {
  33919. "description": "间推总人数【期末】",
  33920. "type": "integer"
  33921. },
  33922. "mobile": {
  33923. "description": "电话号码",
  33924. "type": "string"
  33925. },
  33926. "refereeuserid": {
  33927. "description": "推荐人id(经纪人id)",
  33928. "type": "integer"
  33929. },
  33930. "refereeusername": {
  33931. "description": "推荐人名称(经纪人) 上级经纪人名称",
  33932. "type": "string"
  33933. },
  33934. "refernum": {
  33935. "description": "推荐码",
  33936. "type": "string"
  33937. },
  33938. "subarealevelpath": {
  33939. "description": "用户层级路径",
  33940. "type": "string"
  33941. },
  33942. "todayrewardamount": {
  33943. "description": "奖励总金额【汇总】",
  33944. "type": "number"
  33945. },
  33946. "updatetime": {
  33947. "description": "更新时间",
  33948. "type": "string"
  33949. },
  33950. "userid": {
  33951. "description": "经纪人用户ID",
  33952. "type": "integer"
  33953. },
  33954. "userinfotype": {
  33955. "description": "用户类型 1-个人 2-企业",
  33956. "type": "integer"
  33957. },
  33958. "username": {
  33959. "description": "用户名称",
  33960. "type": "string"
  33961. }
  33962. }
  33963. },
  33964. "models.QhjMgrContract": {
  33965. "type": "object",
  33966. "properties": {
  33967. "contractconfirmtime": {
  33968. "description": "合同确认时间(时间)",
  33969. "type": "string"
  33970. },
  33971. "currisklevel": {
  33972. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  33973. "type": "integer"
  33974. },
  33975. "decimalplace": {
  33976. "description": "商品报价小数位",
  33977. "type": "integer"
  33978. },
  33979. "enumdicname": {
  33980. "description": "单位名称",
  33981. "type": "string"
  33982. },
  33983. "goodscode": {
  33984. "description": "商品代码",
  33985. "type": "string"
  33986. },
  33987. "goodsid": {
  33988. "description": "商品ID [5:融资单]",
  33989. "type": "integer"
  33990. },
  33991. "goodsname": {
  33992. "description": "商品名称",
  33993. "type": "string"
  33994. },
  33995. "goodunitid": {
  33996. "description": "商品单位id",
  33997. "type": "integer"
  33998. },
  33999. "initmargin": {
  34000. "description": "初始保证金(首付款)",
  34001. "type": "number"
  34002. },
  34003. "lenderamount": {
  34004. "description": "贷款金额(总额|订单总额)",
  34005. "type": "number"
  34006. },
  34007. "logincode": {
  34008. "description": "账号(登录代码)",
  34009. "type": "string"
  34010. },
  34011. "marginratio": {
  34012. "description": "保证金比率(首付比例)",
  34013. "type": "number"
  34014. },
  34015. "mobile": {
  34016. "description": "电话号码(用户资料里的电话)",
  34017. "type": "string"
  34018. },
  34019. "payamount": {
  34020. "description": "已付(已付货款)",
  34021. "type": "number"
  34022. },
  34023. "reckonrecovermargin": {
  34024. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34025. "type": "number"
  34026. },
  34027. "recoveredmargin": {
  34028. "description": "已追缴保证金",
  34029. "type": "number"
  34030. },
  34031. "remainamount": {
  34032. "description": "合同剩余金额(融资额)",
  34033. "type": "number"
  34034. },
  34035. "scfcontractid": {
  34036. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34037. "type": "string"
  34038. },
  34039. "scfcontractstatus": {
  34040. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34041. "type": "integer"
  34042. },
  34043. "scfcontracttype": {
  34044. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34045. "type": "integer"
  34046. },
  34047. "totalinterest": {
  34048. "description": "已计总利息(利息)",
  34049. "type": "number"
  34050. },
  34051. "tradedate": {
  34052. "description": "交易日",
  34053. "type": "string"
  34054. },
  34055. "tradeprice": {
  34056. "description": "成交价格(成本价格)",
  34057. "type": "number"
  34058. },
  34059. "userid": {
  34060. "description": "用户ID",
  34061. "type": "integer"
  34062. },
  34063. "userinfotype": {
  34064. "description": "用户类型 1-个人 2-企业",
  34065. "type": "integer"
  34066. },
  34067. "username": {
  34068. "description": "用户名称",
  34069. "type": "string"
  34070. },
  34071. "wrqty": {
  34072. "description": "仓单数量(数量)",
  34073. "type": "number"
  34074. }
  34075. }
  34076. },
  34077. "models.QhjMgrCustomer": {
  34078. "type": "object",
  34079. "properties": {
  34080. "address": {
  34081. "description": "通讯地址",
  34082. "type": "string"
  34083. },
  34084. "attachment1": {
  34085. "description": "附件1",
  34086. "type": "string"
  34087. },
  34088. "audittime": {
  34089. "description": "审核时间",
  34090. "type": "string"
  34091. },
  34092. "birthday": {
  34093. "description": "生日",
  34094. "type": "string"
  34095. },
  34096. "brokerid": {
  34097. "description": "所属客户经理id",
  34098. "type": "integer"
  34099. },
  34100. "brokername": {
  34101. "description": "所属客户经理名称",
  34102. "type": "string"
  34103. },
  34104. "cardbackphotourl": {
  34105. "description": "证件反面图片地址",
  34106. "type": "string"
  34107. },
  34108. "cardfrontphotourl": {
  34109. "description": "证件正面图片地址",
  34110. "type": "string"
  34111. },
  34112. "cardnum": {
  34113. "description": "证件号码",
  34114. "type": "string"
  34115. },
  34116. "cardtype": {
  34117. "description": "证件类型",
  34118. "type": "integer"
  34119. },
  34120. "cardtypename": {
  34121. "description": "证件类型名称",
  34122. "type": "string"
  34123. },
  34124. "cityid": {
  34125. "description": "市",
  34126. "type": "integer"
  34127. },
  34128. "cityname": {
  34129. "description": "城市名称",
  34130. "type": "string"
  34131. },
  34132. "contactname": {
  34133. "description": "联系人",
  34134. "type": "string"
  34135. },
  34136. "countryid": {
  34137. "description": "国家",
  34138. "type": "integer"
  34139. },
  34140. "countryname": {
  34141. "description": "国家名称",
  34142. "type": "string"
  34143. },
  34144. "createtime": {
  34145. "description": "创建时间",
  34146. "type": "string"
  34147. },
  34148. "customername": {
  34149. "description": "客户名称",
  34150. "type": "string"
  34151. },
  34152. "districtid": {
  34153. "description": "区域",
  34154. "type": "integer"
  34155. },
  34156. "districtname": {
  34157. "description": "地区名称",
  34158. "type": "string"
  34159. },
  34160. "email": {
  34161. "description": "邮件",
  34162. "type": "string"
  34163. },
  34164. "legalpersonname": {
  34165. "description": "法人姓名(企业)",
  34166. "type": "string"
  34167. },
  34168. "logincode": {
  34169. "description": "登录账号(代码)",
  34170. "type": "string"
  34171. },
  34172. "memberuserid": {
  34173. "description": "所属机构ID(所属会员)",
  34174. "type": "integer"
  34175. },
  34176. "memberusername": {
  34177. "description": "所属会员名称",
  34178. "type": "string"
  34179. },
  34180. "mobile": {
  34181. "description": "手机号码",
  34182. "type": "string"
  34183. },
  34184. "modifytime": {
  34185. "description": "修改时间",
  34186. "type": "string"
  34187. },
  34188. "nickname": {
  34189. "description": "昵称",
  34190. "type": "string"
  34191. },
  34192. "parentuserid": {
  34193. "description": "上级机构(所属机构)",
  34194. "type": "integer"
  34195. },
  34196. "parentusername": {
  34197. "description": "所属机构名称",
  34198. "type": "string"
  34199. },
  34200. "provinceid": {
  34201. "description": "省",
  34202. "type": "integer"
  34203. },
  34204. "provincename": {
  34205. "description": "省名称",
  34206. "type": "string"
  34207. },
  34208. "proxystatementurl": {
  34209. "description": "授权委托书",
  34210. "type": "string"
  34211. },
  34212. "querytype": {
  34213. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  34214. "type": "integer"
  34215. },
  34216. "remark": {
  34217. "description": "备注",
  34218. "type": "string"
  34219. },
  34220. "sex": {
  34221. "description": "性别 0-女 1-男",
  34222. "type": "integer"
  34223. },
  34224. "status": {
  34225. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34226. "type": "integer"
  34227. },
  34228. "statusdesc": {
  34229. "description": "账户状态中文描述",
  34230. "type": "string"
  34231. },
  34232. "taxpayernum": {
  34233. "description": "纳税人识别号",
  34234. "type": "string"
  34235. },
  34236. "telphone": {
  34237. "description": "联系电话",
  34238. "type": "string"
  34239. },
  34240. "userid": {
  34241. "description": "用户ID",
  34242. "type": "integer"
  34243. },
  34244. "userinfotype": {
  34245. "description": "客户类型 1-个人 2-企业",
  34246. "type": "integer"
  34247. },
  34248. "username": {
  34249. "description": "用户名称",
  34250. "type": "string"
  34251. }
  34252. }
  34253. },
  34254. "models.QhjMgrPickGoods": {
  34255. "type": "object",
  34256. "properties": {
  34257. "enumdicname": {
  34258. "description": "单位名称(提货商品)",
  34259. "type": "string"
  34260. },
  34261. "goodsid": {
  34262. "description": "商品id",
  34263. "type": "integer"
  34264. },
  34265. "imageaddress": {
  34266. "description": "图片",
  34267. "type": "string"
  34268. },
  34269. "modifierid": {
  34270. "description": "修改人",
  34271. "type": "integer"
  34272. },
  34273. "modifiername": {
  34274. "description": "修改人名称",
  34275. "type": "string"
  34276. },
  34277. "modifysrc": {
  34278. "description": "修改来源 - 1:管理端 2:终端",
  34279. "type": "integer"
  34280. },
  34281. "pickupgoodsagreeunit": {
  34282. "description": "合约乘数",
  34283. "type": "number"
  34284. },
  34285. "pickupgoodsdesc": {
  34286. "description": "描述",
  34287. "type": "string"
  34288. },
  34289. "pickupgoodsid": {
  34290. "description": "提货商品ID",
  34291. "type": "string"
  34292. },
  34293. "pickupgoodsname": {
  34294. "description": "提货商品名称",
  34295. "type": "string"
  34296. },
  34297. "pickupgoodsstatus": {
  34298. "description": "状态 - 1:正常 2:停用 3:注销",
  34299. "type": "integer"
  34300. },
  34301. "pickupgoodsunitid": {
  34302. "description": "单位ID",
  34303. "type": "integer"
  34304. },
  34305. "pickupratio": {
  34306. "description": "提货系数",
  34307. "type": "number"
  34308. },
  34309. "preparedays": {
  34310. "description": "备货期(天)",
  34311. "type": "integer"
  34312. },
  34313. "remark": {
  34314. "description": "备注",
  34315. "type": "string"
  34316. },
  34317. "updatetime": {
  34318. "description": "更新时间",
  34319. "type": "string"
  34320. }
  34321. }
  34322. },
  34323. "models.QhjMgrPositionRsp": {
  34324. "type": "object",
  34325. "properties": {
  34326. "accountid": {
  34327. "description": "账号Id",
  34328. "type": "integer"
  34329. },
  34330. "accountname": {
  34331. "description": "用户名称",
  34332. "type": "string"
  34333. },
  34334. "agreeunit": {
  34335. "description": "合约乘数",
  34336. "type": "number"
  34337. },
  34338. "averageprice": {
  34339. "description": "均价",
  34340. "type": "number"
  34341. },
  34342. "avialqty": {
  34343. "description": "可用数量",
  34344. "type": "number"
  34345. },
  34346. "decimalplace": {
  34347. "description": "报价小数位",
  34348. "type": "integer"
  34349. },
  34350. "enumdicname": {
  34351. "description": "单位名称(商品)",
  34352. "type": "string"
  34353. },
  34354. "frozenqty": {
  34355. "description": "冻结数量",
  34356. "type": "number"
  34357. },
  34358. "goodscode": {
  34359. "description": "商品代码(内部)",
  34360. "type": "string"
  34361. },
  34362. "goodsid": {
  34363. "description": "商品Id",
  34364. "type": "integer"
  34365. },
  34366. "goodsname": {
  34367. "description": "商品名称",
  34368. "type": "string"
  34369. },
  34370. "goodunitid": {
  34371. "description": "报价单位ID",
  34372. "type": "integer"
  34373. },
  34374. "holderamount": {
  34375. "description": "金额",
  34376. "type": "number"
  34377. },
  34378. "holderqty": {
  34379. "description": "持有数量",
  34380. "type": "number"
  34381. },
  34382. "holdertype": {
  34383. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  34384. "type": "integer"
  34385. },
  34386. "logincode": {
  34387. "description": "登录代码(账户)",
  34388. "type": "string"
  34389. },
  34390. "marketid": {
  34391. "description": "市场id",
  34392. "type": "integer"
  34393. },
  34394. "qtydecimalplace": {
  34395. "description": "成交量小数位",
  34396. "type": "integer"
  34397. },
  34398. "trademode": {
  34399. "description": "交易模式",
  34400. "type": "integer"
  34401. },
  34402. "userid": {
  34403. "description": "用户id",
  34404. "type": "integer"
  34405. },
  34406. "userinfotype": {
  34407. "description": "账户类型 1-个人 2-企业",
  34408. "type": "integer"
  34409. }
  34410. }
  34411. },
  34412. "models.QhjMgrSubArea": {
  34413. "type": "object",
  34414. "properties": {
  34415. "accountname": {
  34416. "description": "账户名称(机构名称)",
  34417. "type": "string"
  34418. },
  34419. "memberuserid": {
  34420. "description": "所属会员ID",
  34421. "type": "integer"
  34422. },
  34423. "parenttopuser": {
  34424. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  34425. "type": "string"
  34426. },
  34427. "parentuserid": {
  34428. "description": "所属机构ID",
  34429. "type": "integer"
  34430. },
  34431. "rootuserid": {
  34432. "description": "根用户ID",
  34433. "type": "string"
  34434. },
  34435. "subaccountlevel": {
  34436. "description": "子账户层数",
  34437. "type": "integer"
  34438. },
  34439. "subarealevelpath": {
  34440. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  34441. "type": "string"
  34442. },
  34443. "userid": {
  34444. "description": "用户ID",
  34445. "type": "integer"
  34446. },
  34447. "usertype": {
  34448. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34449. "type": "integer"
  34450. }
  34451. }
  34452. },
  34453. "models.QhjMgrTradeDetailRsp": {
  34454. "type": "object",
  34455. "properties": {
  34456. "accountid": {
  34457. "description": "资金账号",
  34458. "type": "integer"
  34459. },
  34460. "accountname": {
  34461. "description": "用户名称",
  34462. "type": "string"
  34463. },
  34464. "agreeunit": {
  34465. "description": "合约乘数",
  34466. "type": "number"
  34467. },
  34468. "buyorsell": {
  34469. "description": "成交类型(方向) 0:买 1:卖",
  34470. "type": "integer"
  34471. },
  34472. "decimalplace": {
  34473. "description": "报价小数位",
  34474. "type": "integer"
  34475. },
  34476. "enumdicname": {
  34477. "description": "单位名称(商品)",
  34478. "type": "string"
  34479. },
  34480. "goodscode": {
  34481. "description": "商品代码(内部)",
  34482. "type": "string"
  34483. },
  34484. "goodsid": {
  34485. "description": "商品id",
  34486. "type": "integer"
  34487. },
  34488. "goodsname": {
  34489. "description": "商品名称",
  34490. "type": "string"
  34491. },
  34492. "goodunitid": {
  34493. "description": "报价单位ID",
  34494. "type": "integer"
  34495. },
  34496. "logincode": {
  34497. "description": "登录代码(账户)",
  34498. "type": "string"
  34499. },
  34500. "marketid": {
  34501. "description": "市场id",
  34502. "type": "integer"
  34503. },
  34504. "orderid": {
  34505. "description": "关联委托单号",
  34506. "type": "string"
  34507. },
  34508. "qtydecimalplace": {
  34509. "description": "成交量小数位",
  34510. "type": "integer"
  34511. },
  34512. "tradeamount": {
  34513. "description": "金额",
  34514. "type": "number"
  34515. },
  34516. "tradedate": {
  34517. "description": "交易日",
  34518. "type": "string"
  34519. },
  34520. "tradeid": {
  34521. "description": "成交单号",
  34522. "type": "string"
  34523. },
  34524. "trademode": {
  34525. "description": "交易模式",
  34526. "type": "integer"
  34527. },
  34528. "tradeprice": {
  34529. "description": "价格",
  34530. "type": "number"
  34531. },
  34532. "tradeqty": {
  34533. "description": "数量",
  34534. "type": "number"
  34535. },
  34536. "tradetime": {
  34537. "description": "成交时间",
  34538. "type": "string"
  34539. },
  34540. "userid": {
  34541. "description": "用户id",
  34542. "type": "integer"
  34543. },
  34544. "userinfotype": {
  34545. "description": "账户类型 1-个人 2-企业",
  34546. "type": "integer"
  34547. }
  34548. }
  34549. },
  34550. "models.QhjMgrTradeOrderDetailRsp": {
  34551. "type": "object",
  34552. "properties": {
  34553. "accountid": {
  34554. "description": "资金账号",
  34555. "type": "integer"
  34556. },
  34557. "accountname": {
  34558. "description": "用户名称",
  34559. "type": "string"
  34560. },
  34561. "agreeunit": {
  34562. "description": "合约乘数",
  34563. "type": "number"
  34564. },
  34565. "amount": {
  34566. "description": "金额",
  34567. "type": "number"
  34568. },
  34569. "decimalplace": {
  34570. "description": "报价小数位",
  34571. "type": "integer"
  34572. },
  34573. "enumdicname": {
  34574. "description": "单位名称(商品)",
  34575. "type": "string"
  34576. },
  34577. "goodscode": {
  34578. "description": "商品代码(内部)",
  34579. "type": "string"
  34580. },
  34581. "goodsid": {
  34582. "description": "商品id",
  34583. "type": "integer"
  34584. },
  34585. "goodsname": {
  34586. "description": "商品名称",
  34587. "type": "string"
  34588. },
  34589. "goodunitid": {
  34590. "description": "报价单位ID",
  34591. "type": "integer"
  34592. },
  34593. "logincode": {
  34594. "description": "登录代码(账户)",
  34595. "type": "string"
  34596. },
  34597. "marketid": {
  34598. "description": "市场id",
  34599. "type": "integer"
  34600. },
  34601. "orderid": {
  34602. "description": "关联委托单号",
  34603. "type": "string"
  34604. },
  34605. "orderprice": {
  34606. "description": "价格",
  34607. "type": "number"
  34608. },
  34609. "orderqty": {
  34610. "description": "数量",
  34611. "type": "number"
  34612. },
  34613. "orderstatus": {
  34614. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  34615. "type": "integer"
  34616. },
  34617. "ordertime": {
  34618. "description": "委托时间",
  34619. "type": "string"
  34620. },
  34621. "qtydecimalplace": {
  34622. "description": "成交量小数位",
  34623. "type": "integer"
  34624. },
  34625. "tradedate": {
  34626. "description": "交易日",
  34627. "type": "string"
  34628. },
  34629. "trademode": {
  34630. "description": "交易模式",
  34631. "type": "integer"
  34632. },
  34633. "userid": {
  34634. "description": "用户id",
  34635. "type": "integer"
  34636. },
  34637. "userinfotype": {
  34638. "description": "账户类型 1-个人 2-企业",
  34639. "type": "integer"
  34640. }
  34641. }
  34642. },
  34643. "models.QhjMgrTradePayOrder": {
  34644. "type": "object",
  34645. "properties": {
  34646. "accountname": {
  34647. "description": "用户名称",
  34648. "type": "string"
  34649. },
  34650. "advanceratio": {
  34651. "description": "首付比率",
  34652. "type": "number"
  34653. },
  34654. "agreeunit": {
  34655. "description": "合约乘数",
  34656. "type": "number"
  34657. },
  34658. "buyaccountid": {
  34659. "description": "买方账号ID[报价币种]",
  34660. "type": "integer"
  34661. },
  34662. "buyorderid": {
  34663. "description": "买方委托单号(关联单号)",
  34664. "type": "string"
  34665. },
  34666. "createtime": {
  34667. "description": "创建时间",
  34668. "type": "string"
  34669. },
  34670. "decimalplace": {
  34671. "description": "报价小数位",
  34672. "type": "integer"
  34673. },
  34674. "enumdicname": {
  34675. "description": "单位名称(商品)",
  34676. "type": "string"
  34677. },
  34678. "goodscode": {
  34679. "description": "商品代码(内部)",
  34680. "type": "string"
  34681. },
  34682. "goodsid": {
  34683. "description": "商品ID",
  34684. "type": "integer"
  34685. },
  34686. "goodsname": {
  34687. "description": "商品名称",
  34688. "type": "string"
  34689. },
  34690. "goodunitid": {
  34691. "description": "报价单位ID",
  34692. "type": "integer"
  34693. },
  34694. "logincode": {
  34695. "description": "登录代码(账户)",
  34696. "type": "string"
  34697. },
  34698. "marketid": {
  34699. "description": "市场id",
  34700. "type": "integer"
  34701. },
  34702. "offamount": {
  34703. "description": "优惠金额",
  34704. "type": "number"
  34705. },
  34706. "operatetype": {
  34707. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34708. "type": "integer"
  34709. },
  34710. "payamount": {
  34711. "description": "支付金额(金额)",
  34712. "type": "number"
  34713. },
  34714. "payflag": {
  34715. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34716. "type": "integer"
  34717. },
  34718. "paylimitedtime": {
  34719. "description": "支付期限",
  34720. "type": "string"
  34721. },
  34722. "paytime": {
  34723. "description": "付款时间",
  34724. "type": "string"
  34725. },
  34726. "qtydecimalplace": {
  34727. "description": "成交量小数位",
  34728. "type": "integer"
  34729. },
  34730. "sellaccountid": {
  34731. "description": "卖方账号ID[报价币种]",
  34732. "type": "integer"
  34733. },
  34734. "sellorderid": {
  34735. "description": "卖方委托单号",
  34736. "type": "string"
  34737. },
  34738. "tradeamount": {
  34739. "description": "成交金额(优惠后金额)",
  34740. "type": "number"
  34741. },
  34742. "tradecharge": {
  34743. "description": "成交手续费(买方)",
  34744. "type": "number"
  34745. },
  34746. "tradedate": {
  34747. "description": "交易日(yyyyMMdd)",
  34748. "type": "string"
  34749. },
  34750. "tradeid": {
  34751. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34752. "type": "string"
  34753. },
  34754. "trademode": {
  34755. "description": "交易模式",
  34756. "type": "integer"
  34757. },
  34758. "tradeprice": {
  34759. "description": "成交价格(价格)",
  34760. "type": "number"
  34761. },
  34762. "tradeqty": {
  34763. "description": "成交数量(数量)",
  34764. "type": "number"
  34765. },
  34766. "tradetime": {
  34767. "description": "成交时间",
  34768. "type": "string"
  34769. },
  34770. "userid": {
  34771. "description": "用户id",
  34772. "type": "integer"
  34773. },
  34774. "userinfotype": {
  34775. "description": "账户类型 1-个人 2-企业",
  34776. "type": "integer"
  34777. }
  34778. }
  34779. },
  34780. "models.QhjMyTeamEx": {
  34781. "type": "object",
  34782. "properties": {
  34783. "accountname": {
  34784. "description": "用户名称",
  34785. "type": "string"
  34786. },
  34787. "accountstatus": {
  34788. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  34789. "type": "integer"
  34790. },
  34791. "createtime": {
  34792. "description": "创建时间",
  34793. "type": "string"
  34794. },
  34795. "mobile": {
  34796. "description": "手机号码",
  34797. "type": "string"
  34798. },
  34799. "refereeuserid": {
  34800. "description": "推荐人id",
  34801. "type": "integer"
  34802. },
  34803. "refernum": {
  34804. "description": "推荐码",
  34805. "type": "string"
  34806. },
  34807. "subList": {
  34808. "type": "array",
  34809. "items": {
  34810. "$ref": "#/definitions/models.QhjMyTeamEx"
  34811. }
  34812. },
  34813. "userid": {
  34814. "description": "用户id",
  34815. "type": "integer"
  34816. },
  34817. "userinfotype": {
  34818. "description": "用户类型 1-个人 2-企业",
  34819. "type": "integer"
  34820. }
  34821. }
  34822. },
  34823. "models.QhjNodeAgreementConfig": {
  34824. "type": "object",
  34825. "properties": {
  34826. "agreementcontent": {
  34827. "description": "协议内容",
  34828. "type": "string"
  34829. },
  34830. "agreementid": {
  34831. "description": "协议ID",
  34832. "type": "integer"
  34833. },
  34834. "agreementname": {
  34835. "description": "协议名称",
  34836. "type": "string"
  34837. },
  34838. "agreementno": {
  34839. "description": "协议编号",
  34840. "type": "string"
  34841. },
  34842. "agreementtype": {
  34843. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34844. "type": "integer"
  34845. },
  34846. "agreementversion": {
  34847. "description": "协议版本号",
  34848. "type": "integer"
  34849. },
  34850. "configid": {
  34851. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  34852. "type": "integer"
  34853. },
  34854. "createtime": {
  34855. "description": "创建时间",
  34856. "type": "string"
  34857. },
  34858. "goodsid": {
  34859. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  34860. "type": "integer"
  34861. },
  34862. "nodetype": {
  34863. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  34864. "type": "integer"
  34865. }
  34866. }
  34867. },
  34868. "models.QhjParentAreaList": {
  34869. "type": "object",
  34870. "properties": {
  34871. "accountname": {
  34872. "description": "账户名称(机构名称)",
  34873. "type": "string"
  34874. },
  34875. "userid": {
  34876. "description": "用户ID",
  34877. "type": "integer"
  34878. },
  34879. "usertype": {
  34880. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  34881. "type": "integer"
  34882. }
  34883. }
  34884. },
  34885. "models.QhjPayOrder": {
  34886. "type": "object",
  34887. "properties": {
  34888. "advanceratio": {
  34889. "description": "首付比率",
  34890. "type": "number"
  34891. },
  34892. "buyaccountid": {
  34893. "description": "买方账号ID[报价币种]",
  34894. "type": "integer"
  34895. },
  34896. "buyorderid": {
  34897. "description": "买方委托单号",
  34898. "type": "string"
  34899. },
  34900. "createtime": {
  34901. "description": "创建时间",
  34902. "type": "string"
  34903. },
  34904. "decimalplace": {
  34905. "description": "商品报价小数位",
  34906. "type": "integer"
  34907. },
  34908. "enumdicname": {
  34909. "description": "单位名称",
  34910. "type": "string"
  34911. },
  34912. "goodscode": {
  34913. "description": "商品代码",
  34914. "type": "string"
  34915. },
  34916. "goodsid": {
  34917. "description": "商品ID",
  34918. "type": "integer"
  34919. },
  34920. "goodsname": {
  34921. "description": "商品名称",
  34922. "type": "string"
  34923. },
  34924. "goodunitid": {
  34925. "description": "商品单位id",
  34926. "type": "integer"
  34927. },
  34928. "marketid": {
  34929. "description": "市场ID",
  34930. "type": "integer"
  34931. },
  34932. "offamount": {
  34933. "description": "优惠金额",
  34934. "type": "number"
  34935. },
  34936. "operatetype": {
  34937. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  34938. "type": "integer"
  34939. },
  34940. "payamount": {
  34941. "description": "支付金额",
  34942. "type": "number"
  34943. },
  34944. "payflag": {
  34945. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  34946. "type": "integer"
  34947. },
  34948. "paylimitedtime": {
  34949. "description": "支付期限",
  34950. "type": "string"
  34951. },
  34952. "paytime": {
  34953. "description": "付款时间",
  34954. "type": "string"
  34955. },
  34956. "qtydecimalplace": {
  34957. "description": "成交量小数位",
  34958. "type": "integer"
  34959. },
  34960. "sellaccountid": {
  34961. "description": "卖方账号ID[报价币种]",
  34962. "type": "integer"
  34963. },
  34964. "sellorderid": {
  34965. "description": "卖方委托单号",
  34966. "type": "string"
  34967. },
  34968. "tradeamount": {
  34969. "description": "成交金额(优惠后金额)",
  34970. "type": "number"
  34971. },
  34972. "tradecharge": {
  34973. "description": "成交手续费(买方)",
  34974. "type": "number"
  34975. },
  34976. "tradedate": {
  34977. "description": "交易日(yyyyMMdd)",
  34978. "type": "string"
  34979. },
  34980. "tradeid": {
  34981. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34982. "type": "string"
  34983. },
  34984. "tradeprice": {
  34985. "description": "成交价格",
  34986. "type": "number"
  34987. },
  34988. "tradeqty": {
  34989. "description": "成交数量",
  34990. "type": "number"
  34991. }
  34992. }
  34993. },
  34994. "models.QhjPickArea": {
  34995. "type": "object",
  34996. "properties": {
  34997. "address": {
  34998. "description": "详细地址",
  34999. "type": "string"
  35000. },
  35001. "cityid": {
  35002. "description": "市",
  35003. "type": "integer"
  35004. },
  35005. "cityname": {
  35006. "description": "城市名称",
  35007. "type": "string"
  35008. },
  35009. "countryid": {
  35010. "description": "国家",
  35011. "type": "integer"
  35012. },
  35013. "countryname": {
  35014. "description": "国家名称",
  35015. "type": "string"
  35016. },
  35017. "districtid": {
  35018. "description": "地区",
  35019. "type": "integer"
  35020. },
  35021. "districtname": {
  35022. "description": "地区名称",
  35023. "type": "string"
  35024. },
  35025. "fromuserid": {
  35026. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  35027. "type": "integer"
  35028. },
  35029. "fromusername": {
  35030. "description": "所属机构名称",
  35031. "type": "string"
  35032. },
  35033. "provinceid": {
  35034. "description": "省",
  35035. "type": "integer"
  35036. },
  35037. "provincename": {
  35038. "description": "省名称",
  35039. "type": "string"
  35040. },
  35041. "suborgtype": {
  35042. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  35043. "type": "integer"
  35044. },
  35045. "userid": {
  35046. "description": "机构用户ID 其他做市关系,都设置为 1",
  35047. "type": "integer"
  35048. },
  35049. "username": {
  35050. "description": "机构用户名称(门店门称)",
  35051. "type": "string"
  35052. }
  35053. }
  35054. },
  35055. "models.QhjPickGoods": {
  35056. "type": "object",
  35057. "properties": {
  35058. "enumdicname": {
  35059. "description": "单位名称(提货商品)",
  35060. "type": "string"
  35061. },
  35062. "goodsid": {
  35063. "description": "商品id",
  35064. "type": "integer"
  35065. },
  35066. "imageaddress": {
  35067. "description": "图片",
  35068. "type": "string"
  35069. },
  35070. "modifierid": {
  35071. "description": "修改人",
  35072. "type": "integer"
  35073. },
  35074. "modifiername": {
  35075. "description": "修改人名称",
  35076. "type": "string"
  35077. },
  35078. "modifysrc": {
  35079. "description": "修改来源 - 1:管理端 2:终端",
  35080. "type": "integer"
  35081. },
  35082. "pickupgoodsagreeunit": {
  35083. "description": "合约乘数",
  35084. "type": "number"
  35085. },
  35086. "pickupgoodsdesc": {
  35087. "description": "描述",
  35088. "type": "string"
  35089. },
  35090. "pickupgoodsid": {
  35091. "description": "提货商品ID",
  35092. "type": "string"
  35093. },
  35094. "pickupgoodsname": {
  35095. "description": "提货商品名称",
  35096. "type": "string"
  35097. },
  35098. "pickupgoodsstatus": {
  35099. "description": "状态 - 1:正常 2:停用 3:注销",
  35100. "type": "integer"
  35101. },
  35102. "pickupgoodsunitid": {
  35103. "description": "单位ID",
  35104. "type": "integer"
  35105. },
  35106. "pickupratio": {
  35107. "description": "提货系数",
  35108. "type": "number"
  35109. },
  35110. "preparedays": {
  35111. "description": "备货期(天)",
  35112. "type": "integer"
  35113. },
  35114. "remark": {
  35115. "description": "备注",
  35116. "type": "string"
  35117. },
  35118. "updatetime": {
  35119. "description": "更新时间",
  35120. "type": "string"
  35121. }
  35122. }
  35123. },
  35124. "models.QhjRSTriggerLog": {
  35125. "type": "object",
  35126. "properties": {
  35127. "accountid": {
  35128. "description": "用户资金账户",
  35129. "type": "integer"
  35130. },
  35131. "accountname": {
  35132. "description": "账号名称(ACCOUNTID对应的名称)",
  35133. "type": "string"
  35134. },
  35135. "currencyid": {
  35136. "description": "币种id",
  35137. "type": "integer"
  35138. },
  35139. "currencyname": {
  35140. "description": "币种名称",
  35141. "type": "string"
  35142. },
  35143. "decimalplace": {
  35144. "description": "商品报价小数位",
  35145. "type": "integer"
  35146. },
  35147. "enumdicname": {
  35148. "description": "单位名称",
  35149. "type": "string"
  35150. },
  35151. "goodscode": {
  35152. "description": "定投商品代码",
  35153. "type": "string"
  35154. },
  35155. "goodsid": {
  35156. "description": "定投商品ID",
  35157. "type": "integer"
  35158. },
  35159. "goodsname": {
  35160. "description": "定投商品名称",
  35161. "type": "string"
  35162. },
  35163. "goodunitid": {
  35164. "description": "定投商品单位id",
  35165. "type": "integer"
  35166. },
  35167. "logid": {
  35168. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  35169. "type": "string"
  35170. },
  35171. "logincode": {
  35172. "description": "账号(登录代码)",
  35173. "type": "string"
  35174. },
  35175. "qtydecimalplace": {
  35176. "description": "成交量小数位",
  35177. "type": "integer"
  35178. },
  35179. "regularlycycle": {
  35180. "description": "定投频率 - 1:每周 2:每月",
  35181. "type": "integer"
  35182. },
  35183. "regularlycyclevalue": {
  35184. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35185. "type": "string"
  35186. },
  35187. "regularlymode": {
  35188. "description": "定投方式 - 1:按数量 2:按金额",
  35189. "type": "integer"
  35190. },
  35191. "regularlymodevalue": {
  35192. "description": "定投方式值 - 数量或金额",
  35193. "type": "number"
  35194. },
  35195. "regularlystrategyid": {
  35196. "description": "定投策略ID",
  35197. "type": "integer"
  35198. },
  35199. "retcode": {
  35200. "description": "错误码",
  35201. "type": "string"
  35202. },
  35203. "tradeid": {
  35204. "description": "成交单ID",
  35205. "type": "string"
  35206. },
  35207. "triggeramount": {
  35208. "description": "触发金额",
  35209. "type": "number"
  35210. },
  35211. "triggerqty": {
  35212. "description": "触发数量",
  35213. "type": "number"
  35214. },
  35215. "triggerstatus": {
  35216. "description": "触发状态 - 1:成功 2:失败",
  35217. "type": "integer"
  35218. },
  35219. "triggertime": {
  35220. "description": "触发时间",
  35221. "type": "string"
  35222. },
  35223. "triggertradedate": {
  35224. "description": "触发交易日",
  35225. "type": "string"
  35226. },
  35227. "userid": {
  35228. "description": "所属用户ID",
  35229. "type": "integer"
  35230. },
  35231. "userinfotype": {
  35232. "description": "用户类型 1-个人 2-企业",
  35233. "type": "integer"
  35234. },
  35235. "username": {
  35236. "description": "用户名称(userid对应的名称)",
  35237. "type": "string"
  35238. }
  35239. }
  35240. },
  35241. "models.QhjRStrategy": {
  35242. "type": "object",
  35243. "properties": {
  35244. "accountid": {
  35245. "description": "用户资金账户",
  35246. "type": "integer"
  35247. },
  35248. "accountname": {
  35249. "description": "账号名称(ACCOUNTID对应的名称)",
  35250. "type": "string"
  35251. },
  35252. "currencyid": {
  35253. "description": "币种id",
  35254. "type": "integer"
  35255. },
  35256. "currencyname": {
  35257. "description": "币种名称",
  35258. "type": "string"
  35259. },
  35260. "decimalplace": {
  35261. "description": "商品报价小数位",
  35262. "type": "integer"
  35263. },
  35264. "enumdicname": {
  35265. "description": "单位名称",
  35266. "type": "string"
  35267. },
  35268. "goodscode": {
  35269. "description": "定投商品代码",
  35270. "type": "string"
  35271. },
  35272. "goodsid": {
  35273. "description": "定投商品ID",
  35274. "type": "integer"
  35275. },
  35276. "goodsname": {
  35277. "description": "定投商品名称",
  35278. "type": "string"
  35279. },
  35280. "goodunitid": {
  35281. "description": "定投商品单位id",
  35282. "type": "integer"
  35283. },
  35284. "lasteffecttradedate": {
  35285. "description": "最新生效交易日",
  35286. "type": "string"
  35287. },
  35288. "laststoptradedate": {
  35289. "description": "最新暂停交易日",
  35290. "type": "string"
  35291. },
  35292. "lasttriggertradedate": {
  35293. "description": "最新触发交易日",
  35294. "type": "string"
  35295. },
  35296. "logincode": {
  35297. "description": "账号(登录代码)",
  35298. "type": "string"
  35299. },
  35300. "nexttriggeramount": {
  35301. "description": "下次触发金额",
  35302. "type": "number"
  35303. },
  35304. "nexttriggerdate": {
  35305. "description": "下次触发日期",
  35306. "type": "string"
  35307. },
  35308. "nexttriggerqty": {
  35309. "description": "下次触发数量 [按小数位放大值]",
  35310. "type": "number"
  35311. },
  35312. "qtydecimalplace": {
  35313. "description": "成交量小数位",
  35314. "type": "integer"
  35315. },
  35316. "regularlycycle": {
  35317. "description": "定投频率 - 1:每周 2:每月",
  35318. "type": "integer"
  35319. },
  35320. "regularlycyclevalue": {
  35321. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  35322. "type": "string"
  35323. },
  35324. "regularlymode": {
  35325. "description": "定投方式 - 1:按数量 2:按金额",
  35326. "type": "integer"
  35327. },
  35328. "regularlymodevalue": {
  35329. "description": "定投方式值 - 数量或金额",
  35330. "type": "number"
  35331. },
  35332. "regularlystrategyid": {
  35333. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  35334. "type": "integer"
  35335. },
  35336. "regularlystrategystatus": {
  35337. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  35338. "type": "integer"
  35339. },
  35340. "remark": {
  35341. "description": "备注",
  35342. "type": "string"
  35343. },
  35344. "triggersuccesstimes": {
  35345. "description": "累计定投成功次数",
  35346. "type": "string"
  35347. },
  35348. "triggertotalamount": {
  35349. "description": "累计定投金额(成功)",
  35350. "type": "number"
  35351. },
  35352. "triggertotalqty": {
  35353. "description": "累计定投数量(成功) [按小数位放大值]",
  35354. "type": "number"
  35355. },
  35356. "triggertotaltimes": {
  35357. "description": "累计定投总次数",
  35358. "type": "string"
  35359. },
  35360. "updatesrc": {
  35361. "description": "更新来源 - 1:管理端 2:终端",
  35362. "type": "integer"
  35363. },
  35364. "updatetime": {
  35365. "description": "更新时间",
  35366. "type": "string"
  35367. },
  35368. "updatorid": {
  35369. "description": "更新人",
  35370. "type": "string"
  35371. },
  35372. "userid": {
  35373. "description": "所属用户ID",
  35374. "type": "integer"
  35375. },
  35376. "userinfotype": {
  35377. "description": "用户类型 1-个人 2-企业",
  35378. "type": "integer"
  35379. },
  35380. "username": {
  35381. "description": "用户名称(userid对应的名称)",
  35382. "type": "string"
  35383. }
  35384. }
  35385. },
  35386. "models.QhjReckonPriceLog": {
  35387. "type": "object",
  35388. "properties": {
  35389. "decimalplace": {
  35390. "description": "商品报价小数位",
  35391. "type": "integer"
  35392. },
  35393. "goodscode": {
  35394. "description": "商品代码",
  35395. "type": "string"
  35396. },
  35397. "goodsid": {
  35398. "description": "商品ID",
  35399. "type": "integer"
  35400. },
  35401. "goodsname": {
  35402. "description": "商品名称",
  35403. "type": "string"
  35404. },
  35405. "lastreckonprice": {
  35406. "description": "上日结算价",
  35407. "type": "number"
  35408. },
  35409. "nextdnlimitprice": {
  35410. "description": "下个交易日跌停价",
  35411. "type": "number"
  35412. },
  35413. "nexttrade": {
  35414. "description": "下个交易日",
  35415. "type": "string"
  35416. },
  35417. "nextuplimitprice": {
  35418. "description": "下个交易日涨停价",
  35419. "type": "number"
  35420. },
  35421. "reckonprice": {
  35422. "description": "今日结算价(定投价)",
  35423. "type": "number"
  35424. },
  35425. "reckontime": {
  35426. "description": "结算时间",
  35427. "type": "string"
  35428. },
  35429. "totalholderqty": {
  35430. "description": "总持仓数",
  35431. "type": "integer"
  35432. },
  35433. "totalstock": {
  35434. "description": "总库存",
  35435. "type": "integer"
  35436. },
  35437. "tradedate": {
  35438. "description": "交易日",
  35439. "type": "string"
  35440. },
  35441. "updowncount": {
  35442. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  35443. "type": "integer"
  35444. },
  35445. "updownflag": {
  35446. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  35447. "type": "integer"
  35448. },
  35449. "updownrate": {
  35450. "description": "今日涨跌幅",
  35451. "type": "number"
  35452. },
  35453. "updownrate_2d": {
  35454. "description": "连续两日涨跌幅",
  35455. "type": "number"
  35456. },
  35457. "updownrate_3d": {
  35458. "description": "连续三日涨跌幅",
  35459. "type": "number"
  35460. }
  35461. }
  35462. },
  35463. "models.QhjScoreLog": {
  35464. "type": "object",
  35465. "properties": {
  35466. "accountid": {
  35467. "description": "账户ID",
  35468. "type": "integer"
  35469. },
  35470. "createtime": {
  35471. "description": "创建时间(时间)",
  35472. "type": "string"
  35473. },
  35474. "goodsid": {
  35475. "description": "商品ID",
  35476. "type": "integer"
  35477. },
  35478. "hasuploaded": {
  35479. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  35480. "type": "integer"
  35481. },
  35482. "logid": {
  35483. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35484. "type": "string"
  35485. },
  35486. "marketid": {
  35487. "description": "市场ID",
  35488. "type": "integer"
  35489. },
  35490. "relatedamount": {
  35491. "description": "关联金额",
  35492. "type": "number"
  35493. },
  35494. "relatedorderid": {
  35495. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  35496. "type": "string"
  35497. },
  35498. "scoreconfigvalue1": {
  35499. "description": "积分配置1",
  35500. "type": "integer"
  35501. },
  35502. "scoreconfigvalue2": {
  35503. "description": "积分配置1",
  35504. "type": "integer"
  35505. },
  35506. "scoretype": {
  35507. "description": "积分类型 - 1:提货积分",
  35508. "type": "integer"
  35509. },
  35510. "scorevalue": {
  35511. "description": "积分",
  35512. "type": "number"
  35513. },
  35514. "tradedate": {
  35515. "description": "交易日(yyyyMMdd)",
  35516. "type": "string"
  35517. },
  35518. "uploadedtime": {
  35519. "description": "同步时间",
  35520. "type": "string"
  35521. },
  35522. "userid": {
  35523. "description": "用户ID",
  35524. "type": "integer"
  35525. }
  35526. }
  35527. },
  35528. "models.QhjSiteColumnDetail": {
  35529. "type": "object",
  35530. "properties": {
  35531. "author": {
  35532. "description": "作者",
  35533. "type": "string"
  35534. },
  35535. "brief": {
  35536. "description": "简介",
  35537. "type": "string"
  35538. },
  35539. "columnid": {
  35540. "description": "所属栏目",
  35541. "type": "integer"
  35542. },
  35543. "context": {
  35544. "description": "内容",
  35545. "type": "string"
  35546. },
  35547. "coverimage": {
  35548. "description": "封面图片",
  35549. "type": "string"
  35550. },
  35551. "creaedate": {
  35552. "description": "创建时间",
  35553. "type": "string"
  35554. },
  35555. "creatorid": {
  35556. "description": "创建人",
  35557. "type": "integer"
  35558. },
  35559. "hits": {
  35560. "description": "点击数",
  35561. "type": "integer"
  35562. },
  35563. "id": {
  35564. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  35565. "type": "integer"
  35566. },
  35567. "isshow": {
  35568. "description": "是否展示 - 0:不展示 1:展示",
  35569. "type": "integer"
  35570. },
  35571. "istop": {
  35572. "description": "是否置顶 - 0:不置 1:置顶",
  35573. "type": "integer"
  35574. },
  35575. "modifierid": {
  35576. "description": "操作人",
  35577. "type": "integer"
  35578. },
  35579. "publishdate": {
  35580. "description": "发布日期",
  35581. "type": "string"
  35582. },
  35583. "status": {
  35584. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  35585. "type": "integer"
  35586. },
  35587. "title": {
  35588. "description": "标题",
  35589. "type": "string"
  35590. },
  35591. "updatedate": {
  35592. "description": "修改时间",
  35593. "type": "string"
  35594. },
  35595. "userid": {
  35596. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  35597. "type": "integer"
  35598. },
  35599. "username": {
  35600. "description": "用户名称",
  35601. "type": "string"
  35602. }
  35603. }
  35604. },
  35605. "models.QhjTeamOrder": {
  35606. "type": "object",
  35607. "properties": {
  35608. "accountid": {
  35609. "description": "账户ID[报价币种]",
  35610. "type": "integer"
  35611. },
  35612. "accountname": {
  35613. "description": "账户名称",
  35614. "type": "string"
  35615. },
  35616. "agreeunit": {
  35617. "description": "合约乘数",
  35618. "type": "number"
  35619. },
  35620. "buyorsell": {
  35621. "description": "方向 - 0:买 1:卖",
  35622. "type": "integer"
  35623. },
  35624. "decimalplace": {
  35625. "description": "报价小数位",
  35626. "type": "integer"
  35627. },
  35628. "enumdicname": {
  35629. "description": "单位名称",
  35630. "type": "string"
  35631. },
  35632. "goodscode": {
  35633. "description": "商品代码(内部)",
  35634. "type": "string"
  35635. },
  35636. "goodsid": {
  35637. "description": "商品ID",
  35638. "type": "integer"
  35639. },
  35640. "goodsname": {
  35641. "description": "商品名称",
  35642. "type": "string"
  35643. },
  35644. "goodunitid": {
  35645. "description": "报价单位ID",
  35646. "type": "integer"
  35647. },
  35648. "marketid": {
  35649. "description": "市场ID",
  35650. "type": "integer"
  35651. },
  35652. "marketname": {
  35653. "description": "市场名称",
  35654. "type": "string"
  35655. },
  35656. "qtydecimalplace": {
  35657. "description": "成交量小数位",
  35658. "type": "integer"
  35659. },
  35660. "refereeuserid": {
  35661. "description": "推荐人ID",
  35662. "type": "integer"
  35663. },
  35664. "tradeamount": {
  35665. "description": "成交金额[账户币种,用于所有权]",
  35666. "type": "number"
  35667. },
  35668. "tradedate": {
  35669. "description": "交易日(yyyyMMdd)",
  35670. "type": "string"
  35671. },
  35672. "trademode": {
  35673. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  35674. "type": "integer"
  35675. },
  35676. "tradeprice": {
  35677. "description": "成交价格",
  35678. "type": "number"
  35679. },
  35680. "tradeqty": {
  35681. "description": "成交数量",
  35682. "type": "number"
  35683. },
  35684. "tradetime": {
  35685. "description": "成交时间",
  35686. "type": "string"
  35687. },
  35688. "userid": {
  35689. "description": "用户ID",
  35690. "type": "integer"
  35691. }
  35692. }
  35693. },
  35694. "models.QhjTradeGoodsPickup": {
  35695. "type": "object",
  35696. "properties": {
  35697. "accountid": {
  35698. "description": "账户ID",
  35699. "type": "integer"
  35700. },
  35701. "address": {
  35702. "description": "提货人详细地址",
  35703. "type": "string"
  35704. },
  35705. "amount": {
  35706. "description": "提货金额",
  35707. "type": "number"
  35708. },
  35709. "artradedate": {
  35710. "description": "自动收货交易日(yyyyMMdd)",
  35711. "type": "string"
  35712. },
  35713. "auditer": {
  35714. "description": "审核人",
  35715. "type": "integer"
  35716. },
  35717. "auditsrc": {
  35718. "description": "更新来源 - 1:管理端 2:终端",
  35719. "type": "integer"
  35720. },
  35721. "audittime": {
  35722. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  35723. "type": "string"
  35724. },
  35725. "audittradedate": {
  35726. "description": "审核交易日(yyyyMMdd)",
  35727. "type": "string"
  35728. },
  35729. "cardnum": {
  35730. "description": "提货人证件号码",
  35731. "type": "string"
  35732. },
  35733. "cardtypeid": {
  35734. "description": "提货人证件类型",
  35735. "type": "integer"
  35736. },
  35737. "checkremark": {
  35738. "description": "审核备注",
  35739. "type": "string"
  35740. },
  35741. "cityid": {
  35742. "description": "市",
  35743. "type": "integer"
  35744. },
  35745. "cityname": {
  35746. "description": "城市名称",
  35747. "type": "string"
  35748. },
  35749. "confirmtime": {
  35750. "description": "取货时间 或 收货时间",
  35751. "type": "string"
  35752. },
  35753. "countryid": {
  35754. "description": "国家",
  35755. "type": "integer"
  35756. },
  35757. "countryname": {
  35758. "description": "国家名称",
  35759. "type": "string"
  35760. },
  35761. "decimalplace": {
  35762. "description": "商品报价小数位",
  35763. "type": "integer"
  35764. },
  35765. "districtid": {
  35766. "description": "地区",
  35767. "type": "integer"
  35768. },
  35769. "districtname": {
  35770. "description": "地区名称",
  35771. "type": "string"
  35772. },
  35773. "enumdicname": {
  35774. "description": "单位名称(提货商品)",
  35775. "type": "string"
  35776. },
  35777. "expresscompany": {
  35778. "description": "物流公司",
  35779. "type": "string"
  35780. },
  35781. "expressnum": {
  35782. "description": "物流单号",
  35783. "type": "string"
  35784. },
  35785. "goodsagreeunit": {
  35786. "description": "交易商品乘数",
  35787. "type": "number"
  35788. },
  35789. "goodscode": {
  35790. "description": "商品代码",
  35791. "type": "string"
  35792. },
  35793. "goodsid": {
  35794. "description": "商品ID",
  35795. "type": "integer"
  35796. },
  35797. "goodsname": {
  35798. "description": "商品名称",
  35799. "type": "string"
  35800. },
  35801. "goodsqty": {
  35802. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  35803. "type": "number"
  35804. },
  35805. "handlestatus": {
  35806. "description": "处理状态",
  35807. "type": "integer"
  35808. },
  35809. "logincode": {
  35810. "description": "账号(登录代码, 有可能为空)",
  35811. "type": "string"
  35812. },
  35813. "marketid": {
  35814. "description": "市场ID",
  35815. "type": "integer"
  35816. },
  35817. "phonenum": {
  35818. "description": "提货人联系方式",
  35819. "type": "string"
  35820. },
  35821. "pickupgoodsagreeunit": {
  35822. "description": "提货商品合约乘数",
  35823. "type": "number"
  35824. },
  35825. "pickupgoodsid": {
  35826. "description": "提货商品ID",
  35827. "type": "string"
  35828. },
  35829. "pickupgoodsname": {
  35830. "description": "提货商品名称",
  35831. "type": "string"
  35832. },
  35833. "pickupgoodsqty": {
  35834. "description": "提货商品手数(数量)",
  35835. "type": "number"
  35836. },
  35837. "pickupgoodsunitid": {
  35838. "description": "单位ID(提货商品)",
  35839. "type": "integer"
  35840. },
  35841. "pickupratio": {
  35842. "description": "提货系数",
  35843. "type": "number"
  35844. },
  35845. "preparedays": {
  35846. "description": "备货期(天)-提货单明细表",
  35847. "type": "integer"
  35848. },
  35849. "provinceid": {
  35850. "description": "省",
  35851. "type": "integer"
  35852. },
  35853. "provincename": {
  35854. "description": "省名称",
  35855. "type": "string"
  35856. },
  35857. "qty": {
  35858. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  35859. "type": "number"
  35860. },
  35861. "qtydecimalplace": {
  35862. "description": "商品数量小数位",
  35863. "type": "integer"
  35864. },
  35865. "recivername": {
  35866. "description": "提货人姓名",
  35867. "type": "string"
  35868. },
  35869. "reqtime": {
  35870. "description": "提货申请时间",
  35871. "type": "string"
  35872. },
  35873. "storeuserid": {
  35874. "description": "门店用户ID (千海金)",
  35875. "type": "integer"
  35876. },
  35877. "storeusername": {
  35878. "description": "门店用户名称",
  35879. "type": "string"
  35880. },
  35881. "takemode": {
  35882. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  35883. "type": "integer"
  35884. },
  35885. "takeorderid": {
  35886. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  35887. "type": "string"
  35888. },
  35889. "takeorderstatus": {
  35890. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  35891. "type": "integer"
  35892. },
  35893. "takeremark": {
  35894. "description": "提货备注",
  35895. "type": "string"
  35896. },
  35897. "tradedate": {
  35898. "description": "交易日(yyyyMMdd)",
  35899. "type": "string"
  35900. },
  35901. "updatetime": {
  35902. "description": "更新时间",
  35903. "type": "string"
  35904. },
  35905. "userid": {
  35906. "description": "用户ID",
  35907. "type": "integer"
  35908. },
  35909. "userinfotype": {
  35910. "description": "客户类型 1-个人 2-企业",
  35911. "type": "integer"
  35912. },
  35913. "username": {
  35914. "description": "用户名称",
  35915. "type": "string"
  35916. }
  35917. }
  35918. },
  35919. "models.QhjUserNodeCfgAndStatus": {
  35920. "type": "object",
  35921. "properties": {
  35922. "agreementcontent": {
  35923. "description": "协议内容",
  35924. "type": "string"
  35925. },
  35926. "agreementid": {
  35927. "description": "协议ID",
  35928. "type": "integer"
  35929. },
  35930. "agreementname": {
  35931. "description": "协议名称",
  35932. "type": "string"
  35933. },
  35934. "agreementno": {
  35935. "description": "协议编号",
  35936. "type": "string"
  35937. },
  35938. "agreementtype": {
  35939. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35940. "type": "integer"
  35941. },
  35942. "agreementversion": {
  35943. "description": "协议版本号",
  35944. "type": "integer"
  35945. },
  35946. "configid": {
  35947. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  35948. "type": "integer"
  35949. },
  35950. "createtime": {
  35951. "description": "创建时间",
  35952. "type": "string"
  35953. },
  35954. "goodsid": {
  35955. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35956. "type": "integer"
  35957. },
  35958. "nodetype": {
  35959. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35960. "type": "integer"
  35961. },
  35962. "signtimestamp": {
  35963. "description": "签约状态时间戳(最近一次)",
  35964. "type": "string"
  35965. },
  35966. "tradedate": {
  35967. "description": "签约交易日(yyyyMMdd)",
  35968. "type": "string"
  35969. },
  35970. "userid": {
  35971. "description": "客户ID",
  35972. "type": "integer"
  35973. }
  35974. }
  35975. },
  35976. "models.Qhjgoodsex": {
  35977. "type": "object",
  35978. "properties": {
  35979. "canfinance": {
  35980. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  35981. "type": "integer"
  35982. },
  35983. "canregularlybuy": {
  35984. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  35985. "type": "integer"
  35986. },
  35987. "defaulttradeuserid": {
  35988. "description": "默认交易用户ID",
  35989. "type": "integer"
  35990. },
  35991. "deliverygoodsid": {
  35992. "description": "现货品种ID",
  35993. "type": "integer"
  35994. },
  35995. "goodsid": {
  35996. "description": "商品ID(自增ID SEQ_GOODS)",
  35997. "type": "integer"
  35998. },
  35999. "minamount": {
  36000. "description": "最小购买金额",
  36001. "type": "number"
  36002. },
  36003. "regularlybuyminamount": {
  36004. "description": "定投最小金额",
  36005. "type": "number"
  36006. },
  36007. "regularlybuyminqty": {
  36008. "description": "定投最小数量",
  36009. "type": "number"
  36010. },
  36011. "spotgoodsbrandid": {
  36012. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  36013. "type": "integer"
  36014. },
  36015. "visibilityforenterprise": {
  36016. "description": "企业客户是否可见 - 0:不可见 1:可见",
  36017. "type": "integer"
  36018. },
  36019. "visibilityforpersonal": {
  36020. "description": "个人客户是否可见 - 0:不可见 1:可见",
  36021. "type": "integer"
  36022. },
  36023. "wrstandardid": {
  36024. "description": "现货商品ID",
  36025. "type": "integer"
  36026. }
  36027. }
  36028. },
  36029. "models.QueryErrorInfosRsp": {
  36030. "type": "object",
  36031. "required": [
  36032. "errorid"
  36033. ],
  36034. "properties": {
  36035. "description": {
  36036. "description": "异常描述",
  36037. "type": "string"
  36038. },
  36039. "errorcode": {
  36040. "description": "异常代码",
  36041. "type": "string"
  36042. },
  36043. "errorid": {
  36044. "description": "异常ID",
  36045. "type": "integer"
  36046. },
  36047. "modulecode": {
  36048. "description": "所属模块",
  36049. "type": "string"
  36050. },
  36051. "operatecode": {
  36052. "description": "所属操作",
  36053. "type": "string"
  36054. },
  36055. "rownumber": {
  36056. "description": "行号",
  36057. "type": "string"
  36058. }
  36059. }
  36060. },
  36061. "models.QueryHedgeOrderDetailRsp": {
  36062. "type": "object",
  36063. "properties": {
  36064. "accountid": {
  36065. "description": "账户ID",
  36066. "type": "integer"
  36067. },
  36068. "buyorsell": {
  36069. "description": "买卖 - 0:买 1:卖",
  36070. "type": "integer"
  36071. },
  36072. "cancellogincode": {
  36073. "description": "撤单人",
  36074. "type": "string"
  36075. },
  36076. "channelbuildtype": {
  36077. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  36078. "type": "integer"
  36079. },
  36080. "channelinnerorderstatus": {
  36081. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  36082. "type": "integer"
  36083. },
  36084. "channeloperatetype": {
  36085. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  36086. "type": "integer"
  36087. },
  36088. "closetype": {
  36089. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36090. "type": "integer"
  36091. },
  36092. "curexchangerate": {
  36093. "description": "当前汇率",
  36094. "type": "number"
  36095. },
  36096. "decimalplace": {
  36097. "description": "商品报价小数位",
  36098. "type": "integer"
  36099. },
  36100. "exchangefullname": {
  36101. "description": "外部交易所全称",
  36102. "type": "string"
  36103. },
  36104. "goodscode": {
  36105. "description": "商品代码(内部)",
  36106. "type": "string"
  36107. },
  36108. "goodsid": {
  36109. "description": "商品ID",
  36110. "type": "integer"
  36111. },
  36112. "goodsname": {
  36113. "description": "商品名称",
  36114. "type": "string"
  36115. },
  36116. "marketid": {
  36117. "description": "市场ID",
  36118. "type": "integer"
  36119. },
  36120. "openfreezemargin": {
  36121. "description": "冻结保证金(冻结交易金额)",
  36122. "type": "number"
  36123. },
  36124. "orderid": {
  36125. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36126. "type": "string"
  36127. },
  36128. "orderlogincode": {
  36129. "description": "委托人",
  36130. "type": "string"
  36131. },
  36132. "orderprice": {
  36133. "description": "委托价格(账户)",
  36134. "type": "number"
  36135. },
  36136. "orderqty": {
  36137. "description": "委托数量",
  36138. "type": "integer"
  36139. },
  36140. "ordertime": {
  36141. "description": "委托时间",
  36142. "type": "string"
  36143. },
  36144. "pricemode": {
  36145. "description": "取价方式 - 1:市价 2: 限价",
  36146. "type": "integer"
  36147. },
  36148. "tradedate": {
  36149. "description": "交易日(yyyyMMdd)",
  36150. "type": "string"
  36151. },
  36152. "tradeqty": {
  36153. "description": "成交数量",
  36154. "type": "integer"
  36155. }
  36156. }
  36157. },
  36158. "models.QueryHedgeTradeDetailRsp": {
  36159. "type": "object",
  36160. "properties": {
  36161. "accountid": {
  36162. "description": "账号ID",
  36163. "type": "integer"
  36164. },
  36165. "buyorsell": {
  36166. "description": "方向 - 0:买 1:卖",
  36167. "type": "integer"
  36168. },
  36169. "channelbuildtype": {
  36170. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  36171. "type": "integer"
  36172. },
  36173. "closecharge": {
  36174. "description": "平仓手续费(账户)",
  36175. "type": "number"
  36176. },
  36177. "closecharge2": {
  36178. "description": "平仓手续费(商品)",
  36179. "type": "number"
  36180. },
  36181. "closepl": {
  36182. "description": "平仓盈亏(账户)",
  36183. "type": "number"
  36184. },
  36185. "closepl2": {
  36186. "description": "平仓盈亏(商品)",
  36187. "type": "number"
  36188. },
  36189. "closepl3": {
  36190. "description": "平仓盈亏(账户)(逐笔)",
  36191. "type": "number"
  36192. },
  36193. "closepl4": {
  36194. "description": "平仓盈亏(商品)(逐笔)",
  36195. "type": "number"
  36196. },
  36197. "closetype": {
  36198. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  36199. "type": "integer"
  36200. },
  36201. "curexchangerate": {
  36202. "description": "当前汇率",
  36203. "type": "number"
  36204. },
  36205. "decimalplace": {
  36206. "description": "商品报价小数位",
  36207. "type": "integer"
  36208. },
  36209. "exchangefullname": {
  36210. "description": "外部交易所全称",
  36211. "type": "string"
  36212. },
  36213. "goodscode": {
  36214. "description": "商品代码(内部)",
  36215. "type": "string"
  36216. },
  36217. "goodsid": {
  36218. "description": "商品ID",
  36219. "type": "integer"
  36220. },
  36221. "goodsname": {
  36222. "description": "商品名称",
  36223. "type": "string"
  36224. },
  36225. "marketid": {
  36226. "description": "市场ID",
  36227. "type": "integer"
  36228. },
  36229. "opencharge": {
  36230. "description": "建仓手续费(账户)",
  36231. "type": "number"
  36232. },
  36233. "opencharge2": {
  36234. "description": "建仓手续费(商品)",
  36235. "type": "number"
  36236. },
  36237. "orderid": {
  36238. "description": "委托单号",
  36239. "type": "string"
  36240. },
  36241. "orderlogincode": {
  36242. "description": "委托人",
  36243. "type": "string"
  36244. },
  36245. "tradeamount": {
  36246. "description": "成交金额(账户)",
  36247. "type": "number"
  36248. },
  36249. "tradedate": {
  36250. "description": "交易日(yyyyMMdd)",
  36251. "type": "string"
  36252. },
  36253. "tradeid": {
  36254. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36255. "type": "string"
  36256. },
  36257. "tradeprice": {
  36258. "description": "成交价格",
  36259. "type": "number"
  36260. },
  36261. "tradeqty": {
  36262. "description": "成交数量",
  36263. "type": "integer"
  36264. },
  36265. "tradetime": {
  36266. "description": "成交时间",
  36267. "type": "string"
  36268. },
  36269. "tradetype": {
  36270. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  36271. "type": "integer"
  36272. }
  36273. }
  36274. },
  36275. "models.QuotePrimaryMenu": {
  36276. "type": "object",
  36277. "properties": {
  36278. "Index": {
  36279. "description": "序号",
  36280. "type": "integer"
  36281. },
  36282. "Key": {
  36283. "description": "键名",
  36284. "type": "string"
  36285. },
  36286. "Name": {
  36287. "description": "菜单名称",
  36288. "type": "string"
  36289. },
  36290. "SubMenus": {
  36291. "description": "子菜单",
  36292. "type": "array",
  36293. "items": {
  36294. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  36295. }
  36296. },
  36297. "SubTitleType": {
  36298. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  36299. "type": "integer"
  36300. },
  36301. "TradeModes": {
  36302. "description": "包含市场交易类型",
  36303. "type": "string"
  36304. }
  36305. }
  36306. },
  36307. "models.QuoteSecondaryMenu": {
  36308. "type": "object",
  36309. "properties": {
  36310. "ExExchangeCode": {
  36311. "description": "外部交易所代码",
  36312. "type": "string"
  36313. },
  36314. "ExExchangeID": {
  36315. "description": "外部交易所ID",
  36316. "type": "integer"
  36317. },
  36318. "GoodsGroupIDs": {
  36319. "description": "商品组ID列表",
  36320. "type": "array",
  36321. "items": {
  36322. "type": "integer"
  36323. }
  36324. },
  36325. "Index": {
  36326. "description": "序号",
  36327. "type": "integer"
  36328. },
  36329. "MarketID": {
  36330. "description": "市场ID",
  36331. "type": "integer"
  36332. },
  36333. "MenuTitle": {
  36334. "description": "菜单标题(市场名称或外部交易所名称)",
  36335. "type": "string"
  36336. },
  36337. "TradeMode": {
  36338. "description": "交易模式",
  36339. "type": "integer"
  36340. }
  36341. }
  36342. },
  36343. "models.RelatedTaAccount": {
  36344. "type": "object",
  36345. "properties": {
  36346. "accountid": {
  36347. "description": "资金账户ID",
  36348. "type": "integer"
  36349. }
  36350. }
  36351. },
  36352. "models.RoleMenu": {
  36353. "type": "object",
  36354. "properties": {
  36355. "hasright": {
  36356. "description": "是否有权限 0-没有权限 1-有权限",
  36357. "type": "integer"
  36358. },
  36359. "iconame": {
  36360. "description": "菜单图标",
  36361. "type": "string"
  36362. },
  36363. "menutype": {
  36364. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  36365. "type": "integer"
  36366. },
  36367. "parentcode": {
  36368. "description": "上级资源代码",
  36369. "type": "string"
  36370. },
  36371. "remark": {
  36372. "description": "菜单备注",
  36373. "type": "string"
  36374. },
  36375. "resourcecode": {
  36376. "description": "菜单代码",
  36377. "type": "string"
  36378. },
  36379. "resourcelevel": {
  36380. "description": "级别",
  36381. "type": "integer"
  36382. },
  36383. "resourcename": {
  36384. "description": "菜单名称",
  36385. "type": "string"
  36386. },
  36387. "roleid": {
  36388. "description": "角色id",
  36389. "type": "integer"
  36390. },
  36391. "sort": {
  36392. "description": "排序",
  36393. "type": "integer"
  36394. },
  36395. "subMenu": {
  36396. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  36397. "type": "array",
  36398. "items": {
  36399. "$ref": "#/definitions/models.RoleMenu"
  36400. }
  36401. },
  36402. "url": {
  36403. "description": "URL",
  36404. "type": "string"
  36405. },
  36406. "userid": {
  36407. "description": "用户id",
  36408. "type": "integer"
  36409. }
  36410. }
  36411. },
  36412. "models.SearchGoods": {
  36413. "type": "object",
  36414. "required": [
  36415. "goodscode",
  36416. "goodsid",
  36417. "goodsname",
  36418. "marketid",
  36419. "trademode"
  36420. ],
  36421. "properties": {
  36422. "goodscode": {
  36423. "description": "商品代码(内部)",
  36424. "type": "string"
  36425. },
  36426. "goodsid": {
  36427. "description": "商品ID(自增ID SEQ_GOODS)",
  36428. "type": "integer"
  36429. },
  36430. "goodsname": {
  36431. "description": "商品名称",
  36432. "type": "string"
  36433. },
  36434. "marketid": {
  36435. "description": "所属市场ID",
  36436. "type": "integer"
  36437. },
  36438. "marketname": {
  36439. "description": "市场名称",
  36440. "type": "string"
  36441. },
  36442. "trademode": {
  36443. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  36444. "type": "integer"
  36445. }
  36446. }
  36447. },
  36448. "models.SellOrder": {
  36449. "type": "object",
  36450. "properties": {
  36451. "accountid": {
  36452. "description": "资金账号",
  36453. "type": "integer"
  36454. },
  36455. "applyid": {
  36456. "description": "申请单ID",
  36457. "type": "integer"
  36458. },
  36459. "attachment1": {
  36460. "description": "附件1",
  36461. "type": "string"
  36462. },
  36463. "attachment2": {
  36464. "description": "附件2",
  36465. "type": "string"
  36466. },
  36467. "buyorsell": {
  36468. "description": "买卖 - 0:买 1:卖",
  36469. "type": "integer"
  36470. },
  36471. "canbargain": {
  36472. "description": "是否可议价 - 0:不可 1:可",
  36473. "type": "integer"
  36474. },
  36475. "cancelqty": {
  36476. "description": "撤销数量",
  36477. "type": "integer"
  36478. },
  36479. "canceltime": {
  36480. "description": "撤销时间",
  36481. "type": "string"
  36482. },
  36483. "cerno": {
  36484. "type": "string"
  36485. },
  36486. "chargealgorithm": {
  36487. "description": "手续费收取方式 1:比率 2:固定",
  36488. "type": "integer"
  36489. },
  36490. "chargealgorithmvalue": {
  36491. "description": "手续费设置值(交易所部分)",
  36492. "type": "number"
  36493. },
  36494. "chargealgorithmvalue2": {
  36495. "description": "手续费设置值(会员部分)",
  36496. "type": "number"
  36497. },
  36498. "clientordertime": {
  36499. "description": "客户端委托时间",
  36500. "type": "string"
  36501. },
  36502. "cpcertno": {
  36503. "type": "string"
  36504. },
  36505. "exchangerate": {
  36506. "description": "汇率[67]",
  36507. "type": "number"
  36508. },
  36509. "firstratio": {
  36510. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  36511. "type": "number"
  36512. },
  36513. "fixedprice": {
  36514. "description": "[克拉单价]固定价格 - [挂牌]",
  36515. "type": "number"
  36516. },
  36517. "freezecharge": {
  36518. "description": "冻结手续费",
  36519. "type": "number"
  36520. },
  36521. "freezefirstamount": {
  36522. "description": "冻结首付金额 - [摘牌]",
  36523. "type": "number"
  36524. },
  36525. "freezemargin": {
  36526. "description": "冻结保证金",
  36527. "type": "number"
  36528. },
  36529. "goodsno": {
  36530. "description": "商品编号",
  36531. "type": "string"
  36532. },
  36533. "imagepath": {
  36534. "type": "string"
  36535. },
  36536. "isQueryDiamond": {
  36537. "description": "是否钻石查询",
  36538. "type": "boolean"
  36539. },
  36540. "isspecified": {
  36541. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  36542. "type": "integer"
  36543. },
  36544. "kppath": {
  36545. "type": "string"
  36546. },
  36547. "kpweight": {
  36548. "type": "string"
  36549. },
  36550. "marginalgorithm": {
  36551. "description": "保证金方式 - 1:比率 2:固定",
  36552. "type": "integer"
  36553. },
  36554. "marginvalue": {
  36555. "description": "保证金设置值",
  36556. "type": "number"
  36557. },
  36558. "marketid": {
  36559. "description": "市场ID",
  36560. "type": "integer"
  36561. },
  36562. "marketprice": {
  36563. "type": "string"
  36564. },
  36565. "orderamount": {
  36566. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  36567. "type": "number"
  36568. },
  36569. "ordertime": {
  36570. "description": "委托时间",
  36571. "type": "string"
  36572. },
  36573. "performancetemplateid": {
  36574. "description": "履约计划模板ID",
  36575. "type": "integer"
  36576. },
  36577. "price": {
  36578. "description": "价格",
  36579. "type": "number"
  36580. },
  36581. "pricefactor": {
  36582. "description": "价格系数(浮动价时填写) - [挂牌]",
  36583. "type": "number"
  36584. },
  36585. "pricemove": {
  36586. "description": "升贴水(浮动价时填写) - [挂牌]",
  36587. "type": "number"
  36588. },
  36589. "priceper": {
  36590. "type": "string"
  36591. },
  36592. "relatedwrtradeorderid": {
  36593. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  36594. "type": "integer"
  36595. },
  36596. "remainqty": {
  36597. "description": "剩余重量",
  36598. "type": "number"
  36599. },
  36600. "remark": {
  36601. "type": "string"
  36602. },
  36603. "retcode": {
  36604. "description": "错误代码",
  36605. "type": "integer"
  36606. },
  36607. "sellusername": {
  36608. "description": "卖方(查询字段-模糊查询)",
  36609. "type": "string"
  36610. },
  36611. "settingmaterial": {
  36612. "type": "string"
  36613. },
  36614. "size1": {
  36615. "type": "string"
  36616. },
  36617. "size2": {
  36618. "type": "string"
  36619. },
  36620. "size3": {
  36621. "type": "string"
  36622. },
  36623. "sizedisplay": {
  36624. "description": "尺寸",
  36625. "type": "string"
  36626. },
  36627. "stonedesc": {
  36628. "type": "string"
  36629. },
  36630. "totalqty": {
  36631. "description": "总重量",
  36632. "type": "number"
  36633. },
  36634. "tradedate": {
  36635. "description": "交易日(yyyyMMdd)",
  36636. "type": "string"
  36637. },
  36638. "tradeprice": {
  36639. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  36640. "type": "number"
  36641. },
  36642. "unfreezecharge": {
  36643. "description": "解冻手续费",
  36644. "type": "number"
  36645. },
  36646. "unfreezefirstamount": {
  36647. "description": "解冻首付金额 - [摘牌]",
  36648. "type": "number"
  36649. },
  36650. "unfreezemargin": {
  36651. "description": "解冻保证金",
  36652. "type": "number"
  36653. },
  36654. "userid": {
  36655. "description": "用户ID",
  36656. "type": "integer"
  36657. },
  36658. "uuid": {
  36659. "description": "发起端唯一id",
  36660. "type": "string"
  36661. },
  36662. "validtime": {
  36663. "description": "有效期限",
  36664. "type": "string"
  36665. },
  36666. "validtype": {
  36667. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  36668. "type": "integer"
  36669. },
  36670. "warehousenamedisplay": {
  36671. "type": "string"
  36672. },
  36673. "wrbargainid": {
  36674. "description": "议价申请单ID",
  36675. "type": "integer"
  36676. },
  36677. "wrfactortypeid": {
  36678. "description": "仓单要素类型ID/商品ID(77)",
  36679. "type": "integer"
  36680. },
  36681. "wrpath": {
  36682. "type": "string"
  36683. },
  36684. "wrpricetype": {
  36685. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  36686. "type": "integer"
  36687. },
  36688. "wrstandardid": {
  36689. "description": "现货商品ID",
  36690. "type": "integer"
  36691. },
  36692. "wrtradeorderid": {
  36693. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  36694. "type": "string"
  36695. },
  36696. "wrtradeorderstatus": {
  36697. "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:撤单解冻贷款失败",
  36698. "type": "integer"
  36699. },
  36700. "wrtradetype": {
  36701. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  36702. "type": "integer"
  36703. },
  36704. "wrtransferuserid": {
  36705. "description": "仓单受让用户 - [摘牌]",
  36706. "type": "integer"
  36707. },
  36708. "zscategory": {
  36709. "description": "钻石分类 - 枚举”ZSCategory“",
  36710. "type": "integer"
  36711. },
  36712. "zscategorydisplay": {
  36713. "description": "钻石分类 - 描述",
  36714. "type": "string"
  36715. },
  36716. "zscerttypedisplay": {
  36717. "type": "string"
  36718. },
  36719. "zsclaritytype1display": {
  36720. "type": "string"
  36721. },
  36722. "zsclaritytype2display": {
  36723. "type": "string"
  36724. },
  36725. "zscolortype1display": {
  36726. "type": "string"
  36727. },
  36728. "zscolortype2display": {
  36729. "type": "string"
  36730. },
  36731. "zscrystaltype": {
  36732. "type": "string"
  36733. },
  36734. "zscrystaltypedisplay": {
  36735. "type": "string"
  36736. },
  36737. "zscurrencytype": {
  36738. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36739. "type": "integer"
  36740. },
  36741. "zscurrencytypedisplay": {
  36742. "type": "string"
  36743. },
  36744. "zscurrencytypedisplayunit": {
  36745. "type": "string"
  36746. },
  36747. "zscuttype1display": {
  36748. "type": "string"
  36749. },
  36750. "zscuttype2display": {
  36751. "type": "string"
  36752. },
  36753. "zsczcolor1typedisplay": {
  36754. "type": "string"
  36755. },
  36756. "zsczcolor2typedisplay": {
  36757. "type": "string"
  36758. },
  36759. "zsczcolor3typedisplay": {
  36760. "type": "string"
  36761. },
  36762. "zsfluorescencetype1display": {
  36763. "type": "string"
  36764. },
  36765. "zsfluorescencetype2display": {
  36766. "type": "string"
  36767. },
  36768. "zspolishtype1display": {
  36769. "type": "string"
  36770. },
  36771. "zspolishtype2display": {
  36772. "type": "string"
  36773. },
  36774. "zsshapetypedisplay": {
  36775. "type": "string"
  36776. },
  36777. "zsstyletypedisplay": {
  36778. "type": "string"
  36779. },
  36780. "zssymmetrytype1display": {
  36781. "type": "string"
  36782. },
  36783. "zssymmetrytype2display": {
  36784. "type": "string"
  36785. }
  36786. }
  36787. },
  36788. "models.SellOrderQueryReq": {
  36789. "type": "object",
  36790. "required": [
  36791. "zscategory"
  36792. ],
  36793. "properties": {
  36794. "origin": {
  36795. "description": "原产地",
  36796. "type": "string"
  36797. },
  36798. "page": {
  36799. "description": "页码",
  36800. "type": "integer"
  36801. },
  36802. "pagesize": {
  36803. "description": "每页大小",
  36804. "type": "integer"
  36805. },
  36806. "total": {
  36807. "description": "总条数",
  36808. "type": "integer"
  36809. },
  36810. "warehouseid": {
  36811. "description": "仓库ID",
  36812. "type": "integer"
  36813. },
  36814. "weight1": {
  36815. "description": "总重量(克拉重量)-从",
  36816. "type": "number"
  36817. },
  36818. "weight2": {
  36819. "description": "总重量(克拉重量)-至",
  36820. "type": "number"
  36821. },
  36822. "weightavg1": {
  36823. "description": "平均单颗重量-从",
  36824. "type": "number"
  36825. },
  36826. "weightavg2": {
  36827. "description": "平均单颗重量-至",
  36828. "type": "number"
  36829. },
  36830. "zscategory": {
  36831. "description": "钻石分类 - 枚举”ZSCategory“",
  36832. "type": "integer"
  36833. },
  36834. "zscerttype": {
  36835. "description": "证书类型",
  36836. "type": "array",
  36837. "items": {
  36838. "type": "string"
  36839. }
  36840. },
  36841. "zsclaritytype": {
  36842. "description": "净度",
  36843. "type": "array",
  36844. "items": {
  36845. "type": "integer"
  36846. }
  36847. },
  36848. "zscolortype": {
  36849. "description": "颜色",
  36850. "type": "array",
  36851. "items": {
  36852. "type": "integer"
  36853. }
  36854. },
  36855. "zscurrencytype": {
  36856. "description": "货币类型 - 枚举“ZSCurrencyType”",
  36857. "type": "array",
  36858. "items": {
  36859. "type": "string"
  36860. }
  36861. },
  36862. "zscuttype": {
  36863. "description": "切工",
  36864. "type": "array",
  36865. "items": {
  36866. "type": "integer"
  36867. }
  36868. },
  36869. "zsczcolor1type": {
  36870. "description": "彩钻颜色1",
  36871. "type": "array",
  36872. "items": {
  36873. "type": "string"
  36874. }
  36875. },
  36876. "zsfluorescencetype": {
  36877. "description": "荧光",
  36878. "type": "array",
  36879. "items": {
  36880. "type": "integer"
  36881. }
  36882. },
  36883. "zspolishtype": {
  36884. "description": "抛光度",
  36885. "type": "array",
  36886. "items": {
  36887. "type": "integer"
  36888. }
  36889. },
  36890. "zsshapetype": {
  36891. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  36892. "type": "array",
  36893. "items": {
  36894. "type": "string"
  36895. }
  36896. },
  36897. "zsstyletype": {
  36898. "description": "款式",
  36899. "type": "array",
  36900. "items": {
  36901. "type": "string"
  36902. }
  36903. },
  36904. "zssymmetrytype": {
  36905. "description": "对称度",
  36906. "type": "array",
  36907. "items": {
  36908. "type": "integer"
  36909. }
  36910. }
  36911. }
  36912. },
  36913. "models.Systemparam": {
  36914. "type": "object",
  36915. "required": [
  36916. "paramcode"
  36917. ],
  36918. "properties": {
  36919. "loginid": {
  36920. "description": "更新用户账号,登录账号",
  36921. "type": "string"
  36922. },
  36923. "modifyflag": {
  36924. "description": "修改标志0 不允许修改 1 允许修改",
  36925. "type": "integer"
  36926. },
  36927. "paramcode": {
  36928. "description": "参数代码",
  36929. "type": "string"
  36930. },
  36931. "paramname": {
  36932. "description": "参数名",
  36933. "type": "string"
  36934. },
  36935. "paramtype": {
  36936. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  36937. "type": "integer"
  36938. },
  36939. "paramvalue": {
  36940. "description": "参数值",
  36941. "type": "string"
  36942. },
  36943. "paramvalue2": {
  36944. "description": "参数值(CLOB)",
  36945. "type": "string"
  36946. },
  36947. "regexpress": {
  36948. "description": "正则表达式",
  36949. "type": "string"
  36950. },
  36951. "remark": {
  36952. "description": "备注",
  36953. "type": "string"
  36954. },
  36955. "serverip": {
  36956. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  36957. "type": "string"
  36958. },
  36959. "showflag": {
  36960. "description": "是否显示0 不显示 1 显示",
  36961. "type": "integer"
  36962. },
  36963. "updatetime": {
  36964. "description": "更新时间",
  36965. "type": "string"
  36966. },
  36967. "userid": {
  36968. "description": "更新用户ID",
  36969. "type": "integer"
  36970. }
  36971. }
  36972. },
  36973. "models.Szdz3convertconfig": {
  36974. "type": "object",
  36975. "required": [
  36976. "converttype",
  36977. "innergoodsid",
  36978. "outergoodscode"
  36979. ],
  36980. "properties": {
  36981. "canin": {
  36982. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  36983. "type": "integer"
  36984. },
  36985. "canout": {
  36986. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  36987. "type": "integer"
  36988. },
  36989. "converttype": {
  36990. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  36991. "type": "integer"
  36992. },
  36993. "createtime": {
  36994. "description": "创建时间",
  36995. "type": "string"
  36996. },
  36997. "creatorid": {
  36998. "description": "创建人",
  36999. "type": "integer"
  37000. },
  37001. "daymaxvalue": {
  37002. "description": "当日最大转入限制",
  37003. "type": "number"
  37004. },
  37005. "freezedays": {
  37006. "description": "冻结天数 [5:花生米转交易]",
  37007. "type": "integer"
  37008. },
  37009. "innergoodsid": {
  37010. "description": "内部商品ID[交易]",
  37011. "type": "integer"
  37012. },
  37013. "inratio": {
  37014. "description": "目标值",
  37015. "type": "integer"
  37016. },
  37017. "modifierid": {
  37018. "description": "修改人",
  37019. "type": "integer"
  37020. },
  37021. "modifytime": {
  37022. "description": "修改时间",
  37023. "type": "string"
  37024. },
  37025. "outergoodscode": {
  37026. "description": "外部商品代码[JD\\PD]",
  37027. "type": "string"
  37028. },
  37029. "outratio": {
  37030. "description": "源值",
  37031. "type": "integer"
  37032. },
  37033. "pddecimalplace": {
  37034. "description": "PD小数位",
  37035. "type": "integer"
  37036. },
  37037. "timemaxvalue": {
  37038. "description": "单次最大转入限制",
  37039. "type": "number"
  37040. },
  37041. "timeminvalue": {
  37042. "description": "单次最小转入限制",
  37043. "type": "number"
  37044. }
  37045. }
  37046. },
  37047. "models.Szdz3searchwhitelist": {
  37048. "type": "object",
  37049. "required": [
  37050. "userid"
  37051. ],
  37052. "properties": {
  37053. "createtime": {
  37054. "description": "创建时间",
  37055. "type": "string"
  37056. },
  37057. "creatorid": {
  37058. "description": "创建人",
  37059. "type": "integer"
  37060. },
  37061. "modifierid": {
  37062. "description": "修改人",
  37063. "type": "integer"
  37064. },
  37065. "modifytime": {
  37066. "description": "修改时间",
  37067. "type": "string"
  37068. },
  37069. "userid": {
  37070. "description": "用户ID",
  37071. "type": "integer"
  37072. }
  37073. }
  37074. },
  37075. "models.TBGoods": {
  37076. "type": "object",
  37077. "properties": {
  37078. "agreeunit": {
  37079. "description": "合约乘数",
  37080. "type": "number"
  37081. },
  37082. "enumdicname": {
  37083. "description": "单位名称",
  37084. "type": "string"
  37085. },
  37086. "goodscode": {
  37087. "description": "商品代码(内部)",
  37088. "type": "string"
  37089. },
  37090. "goodsid": {
  37091. "description": "商品ID(自增ID SEQ_GOODS)",
  37092. "type": "integer"
  37093. },
  37094. "goodsname": {
  37095. "description": "商品名称",
  37096. "type": "string"
  37097. }
  37098. }
  37099. },
  37100. "models.TBGoodsGroup": {
  37101. "type": "object",
  37102. "properties": {
  37103. "GDLST": {
  37104. "description": "商品列表",
  37105. "type": "array",
  37106. "items": {
  37107. "$ref": "#/definitions/models.TBGoods"
  37108. }
  37109. },
  37110. "convertratio": {
  37111. "description": "折算系数",
  37112. "type": "number"
  37113. },
  37114. "enumdicname": {
  37115. "description": "单位名称",
  37116. "type": "string"
  37117. },
  37118. "exexchangecode": {
  37119. "description": "交易所代码",
  37120. "type": "string"
  37121. },
  37122. "exexchangename": {
  37123. "description": "交易所名称",
  37124. "type": "string"
  37125. },
  37126. "goodsgroupid": {
  37127. "description": "商品组ID(自增ID)",
  37128. "type": "integer"
  37129. },
  37130. "goodsgroupname": {
  37131. "description": "商品组名称",
  37132. "type": "string"
  37133. },
  37134. "goodunitid": {
  37135. "description": "报价单位ID",
  37136. "type": "integer"
  37137. }
  37138. }
  37139. },
  37140. "models.TBMiddleGoods": {
  37141. "type": "object",
  37142. "properties": {
  37143. "GPLST": {
  37144. "description": "期货品种列表",
  37145. "type": "array",
  37146. "items": {
  37147. "$ref": "#/definitions/models.TBGoodsGroup"
  37148. }
  37149. },
  37150. "WDLST": {
  37151. "description": "商品信息列表(现货品类)",
  37152. "type": "array",
  37153. "items": {
  37154. "$ref": "#/definitions/models.TBWrstandard"
  37155. }
  37156. },
  37157. "areauserid": {
  37158. "description": "机构用户ID",
  37159. "type": "integer"
  37160. },
  37161. "enumdicname": {
  37162. "description": "单位名称",
  37163. "type": "string"
  37164. },
  37165. "goodsunitid": {
  37166. "description": "套保品种单位id",
  37167. "type": "integer"
  37168. },
  37169. "middlegoodscode": {
  37170. "description": "套保品种代码",
  37171. "type": "string"
  37172. },
  37173. "middlegoodsid": {
  37174. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  37175. "type": "integer"
  37176. },
  37177. "middlegoodsname": {
  37178. "description": "套保品种名称",
  37179. "type": "string"
  37180. },
  37181. "needarbitrageratio": {
  37182. "description": "套利比率",
  37183. "type": "number"
  37184. },
  37185. "needhedgeratio": {
  37186. "description": "套保比率",
  37187. "type": "number"
  37188. }
  37189. }
  37190. },
  37191. "models.TBWrstandard": {
  37192. "type": "object",
  37193. "properties": {
  37194. "convertratio": {
  37195. "description": "折算系数",
  37196. "type": "number"
  37197. },
  37198. "deliverygoodsname": {
  37199. "description": "品种名称",
  37200. "type": "string"
  37201. },
  37202. "enumdicname": {
  37203. "description": "单位名称",
  37204. "type": "string"
  37205. },
  37206. "vatrate": {
  37207. "description": "增值税率",
  37208. "type": "number"
  37209. },
  37210. "wrstandardcode": {
  37211. "description": "现货商品代码",
  37212. "type": "string"
  37213. },
  37214. "wrstandardid": {
  37215. "description": "现货商品ID(SEQ_WRSTANDARD)",
  37216. "type": "integer"
  37217. },
  37218. "wrstandardname": {
  37219. "description": "现货商品名称",
  37220. "type": "string"
  37221. }
  37222. }
  37223. },
  37224. "models.Taaccount": {
  37225. "type": "object",
  37226. "required": [
  37227. "accountid",
  37228. "userid"
  37229. ],
  37230. "properties": {
  37231. "accountflag": {
  37232. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  37233. "type": "integer"
  37234. },
  37235. "accountid": {
  37236. "description": "资金账户ID",
  37237. "type": "integer"
  37238. },
  37239. "accountname": {
  37240. "description": "账户名称",
  37241. "type": "string"
  37242. },
  37243. "balance": {
  37244. "description": "期初余额",
  37245. "type": "number"
  37246. },
  37247. "capitalbalance": {
  37248. "description": "本金余额[外部子账户实际出入金余额]",
  37249. "type": "number"
  37250. },
  37251. "changeflag": {
  37252. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37253. "type": "integer"
  37254. },
  37255. "changetime": {
  37256. "description": "账户状态变更时间",
  37257. "type": "string"
  37258. },
  37259. "closepl": {
  37260. "description": "今日平仓盈亏",
  37261. "type": "number"
  37262. },
  37263. "creditdecrease": {
  37264. "description": "今日授信减少",
  37265. "type": "number"
  37266. },
  37267. "creditincrease": {
  37268. "description": "今日授信增加",
  37269. "type": "number"
  37270. },
  37271. "curamount": {
  37272. "description": "总市值(从持仓中统计)",
  37273. "type": "number"
  37274. },
  37275. "currencyid": {
  37276. "description": "货币ID",
  37277. "type": "integer"
  37278. },
  37279. "currentbalance": {
  37280. "description": "期末余额",
  37281. "type": "number"
  37282. },
  37283. "freezecharge": {
  37284. "description": "手续费冻结",
  37285. "type": "number"
  37286. },
  37287. "freezemargin": {
  37288. "description": "冻结保证金",
  37289. "type": "number"
  37290. },
  37291. "fromaccountid": {
  37292. "description": "所属上级账户",
  37293. "type": "integer"
  37294. },
  37295. "inamount": {
  37296. "description": "今日入金金额(包括三方入金)",
  37297. "type": "number"
  37298. },
  37299. "ismain": {
  37300. "description": "是否母账号 0:不是母账户 1:是母账户",
  37301. "type": "integer"
  37302. },
  37303. "ismarketaccount": {
  37304. "description": "是否机构接单账号 0:不是 1:是",
  37305. "type": "integer"
  37306. },
  37307. "isreckonaccount": {
  37308. "description": "是否机构分润账号 0:不是 1:是",
  37309. "type": "integer"
  37310. },
  37311. "mortgagecredit": {
  37312. "description": "授信金额",
  37313. "type": "number"
  37314. },
  37315. "orifreezecharge": {
  37316. "description": "期初手续费冻结",
  37317. "type": "number"
  37318. },
  37319. "orifreezemargin": {
  37320. "description": "期初冻结保证金",
  37321. "type": "number"
  37322. },
  37323. "orimortgagecredit": {
  37324. "description": "期初授信金额",
  37325. "type": "number"
  37326. },
  37327. "oriothercredit": {
  37328. "description": "期初其它授信金额",
  37329. "type": "number"
  37330. },
  37331. "oriotherfreezemargin": {
  37332. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  37333. "type": "number"
  37334. },
  37335. "orioutamountfreeze": {
  37336. "description": "期初出金冻结",
  37337. "type": "number"
  37338. },
  37339. "oriusedmargin": {
  37340. "description": "期初占用保证金",
  37341. "type": "number"
  37342. },
  37343. "othercredit": {
  37344. "description": "其它授信金额",
  37345. "type": "number"
  37346. },
  37347. "othercreditdecrease": {
  37348. "description": "今日其它授信减少",
  37349. "type": "number"
  37350. },
  37351. "othercreditincrease": {
  37352. "description": "今日其它授信增加",
  37353. "type": "number"
  37354. },
  37355. "otherfreezemargin": {
  37356. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  37357. "type": "number"
  37358. },
  37359. "otherincome": {
  37360. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  37361. "type": "number"
  37362. },
  37363. "otherpay": {
  37364. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  37365. "type": "number"
  37366. },
  37367. "outamount": {
  37368. "description": "今日出金金额(包括三方出金)",
  37369. "type": "number"
  37370. },
  37371. "outamountfreeze": {
  37372. "description": "出金冻结",
  37373. "type": "number"
  37374. },
  37375. "outthreshold": {
  37376. "description": "出金阈值",
  37377. "type": "number"
  37378. },
  37379. "parentaccountid": {
  37380. "description": "所属根账号",
  37381. "type": "integer"
  37382. },
  37383. "paycharge": {
  37384. "description": "今日手续费支出",
  37385. "type": "number"
  37386. },
  37387. "relatedaccountstatus": {
  37388. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  37389. "type": "integer"
  37390. },
  37391. "relateduserid": {
  37392. "description": "关联用户",
  37393. "type": "integer"
  37394. },
  37395. "remainamount": {
  37396. "description": "融资额(从融资合同中统计)",
  37397. "type": "number"
  37398. },
  37399. "serivcegroup": {
  37400. "description": "服务分组",
  37401. "type": "integer"
  37402. },
  37403. "signstatus": {
  37404. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  37405. "type": "integer"
  37406. },
  37407. "sublevelpath": {
  37408. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  37409. "type": "string"
  37410. },
  37411. "taaccounttype": {
  37412. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  37413. "type": "integer"
  37414. },
  37415. "thirdinamount": {
  37416. "description": "今日三方入金",
  37417. "type": "number"
  37418. },
  37419. "thirdoutamount": {
  37420. "description": "今日三方出金",
  37421. "type": "number"
  37422. },
  37423. "tradestatus": {
  37424. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  37425. "type": "integer"
  37426. },
  37427. "tradestatuschangetime": {
  37428. "description": "激活时间",
  37429. "type": "string"
  37430. },
  37431. "transferamount": {
  37432. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  37433. "type": "number"
  37434. },
  37435. "usedmargin": {
  37436. "description": "占用保证金",
  37437. "type": "number"
  37438. },
  37439. "userid": {
  37440. "description": "用户ID",
  37441. "type": "integer"
  37442. }
  37443. }
  37444. },
  37445. "models.Tablecolumnconfig": {
  37446. "type": "object",
  37447. "required": [
  37448. "autoid"
  37449. ],
  37450. "properties": {
  37451. "aligntype": {
  37452. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  37453. "type": "integer"
  37454. },
  37455. "autoid": {
  37456. "description": "AutoID",
  37457. "type": "integer"
  37458. },
  37459. "columnfield": {
  37460. "description": "列字段",
  37461. "type": "string"
  37462. },
  37463. "columntitle": {
  37464. "description": "列Title",
  37465. "type": "string"
  37466. },
  37467. "columnwidth": {
  37468. "description": "列宽",
  37469. "type": "string"
  37470. },
  37471. "fixed": {
  37472. "description": "固定类型 - 空 | left | right",
  37473. "type": "string"
  37474. },
  37475. "formatterstring": {
  37476. "description": "格式化字符",
  37477. "type": "string"
  37478. },
  37479. "formattertype": {
  37480. "description": "格式化类型",
  37481. "type": "string"
  37482. },
  37483. "groupname": {
  37484. "description": "表头分组名称",
  37485. "type": "string"
  37486. },
  37487. "ismerge": {
  37488. "description": "是否合并显示 - 0:不合并 1:合并",
  37489. "type": "integer"
  37490. },
  37491. "isshow": {
  37492. "description": "是否显示 - 0:不显示 1:显示",
  37493. "type": "integer"
  37494. },
  37495. "needsummary": {
  37496. "description": "是否需要汇总 - 0:不需要 1:需要",
  37497. "type": "integer"
  37498. },
  37499. "orderindex": {
  37500. "description": "顺序",
  37501. "type": "integer"
  37502. },
  37503. "remark": {
  37504. "description": "备注",
  37505. "type": "string"
  37506. },
  37507. "summarytype": {
  37508. "description": "汇总类型 - 1:加总 2:最后一个",
  37509. "type": "integer"
  37510. },
  37511. "tablekey": {
  37512. "description": "列表Key",
  37513. "type": "string"
  37514. }
  37515. }
  37516. },
  37517. "models.TjmdHolderDetailTradeInfo": {
  37518. "type": "object",
  37519. "properties": {
  37520. "agreeunit": {
  37521. "description": "合约乘数",
  37522. "type": "number"
  37523. },
  37524. "buyaccountid": {
  37525. "description": "买方账户",
  37526. "type": "string"
  37527. },
  37528. "buyusername": {
  37529. "description": "买方",
  37530. "type": "string"
  37531. },
  37532. "delistingdate": {
  37533. "description": "最后结算日",
  37534. "type": "string"
  37535. },
  37536. "expiredate": {
  37537. "description": "到期结算价定价日",
  37538. "type": "string"
  37539. },
  37540. "exprieprice": {
  37541. "description": "到期清算价格",
  37542. "type": "string"
  37543. },
  37544. "goodscode": {
  37545. "description": "商品代码",
  37546. "type": "string"
  37547. },
  37548. "goodsid": {
  37549. "description": "商品ID",
  37550. "type": "integer"
  37551. },
  37552. "goodsname": {
  37553. "description": "商品名称(交易标的)",
  37554. "type": "string"
  37555. },
  37556. "lasttradedate": {
  37557. "description": "最后交易日",
  37558. "type": "string"
  37559. },
  37560. "listingdate": {
  37561. "description": "开始交易日",
  37562. "type": "string"
  37563. },
  37564. "openprice": {
  37565. "description": "成交价",
  37566. "type": "number"
  37567. },
  37568. "openqty": {
  37569. "description": "交易数量",
  37570. "type": "integer"
  37571. },
  37572. "sellaccountid": {
  37573. "description": "卖方账户",
  37574. "type": "string"
  37575. },
  37576. "sellusername": {
  37577. "description": "卖方",
  37578. "type": "string"
  37579. },
  37580. "tradeamount": {
  37581. "description": "初始名义价值",
  37582. "type": "number"
  37583. },
  37584. "tradedate": {
  37585. "description": "成交日期",
  37586. "type": "string"
  37587. },
  37588. "tradeid": {
  37589. "description": "成交编号",
  37590. "type": "string"
  37591. }
  37592. }
  37593. },
  37594. "models.TjmdMarketSection": {
  37595. "type": "object",
  37596. "properties": {
  37597. "marketsectionid": {
  37598. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37599. "type": "integer"
  37600. },
  37601. "marketsectionname": {
  37602. "description": "市场版块名称",
  37603. "type": "string"
  37604. },
  37605. "mlist": {
  37606. "description": "市场列表(板块下面有多少个市场)",
  37607. "type": "array",
  37608. "items": {
  37609. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  37610. }
  37611. },
  37612. "orderindex": {
  37613. "description": "排序",
  37614. "type": "integer"
  37615. },
  37616. "pictureurl": {
  37617. "description": "图片url, 规格(90*90)",
  37618. "type": "string"
  37619. },
  37620. "remark": {
  37621. "description": "备注",
  37622. "type": "string"
  37623. }
  37624. }
  37625. },
  37626. "models.TjmdMarketSectionConfig": {
  37627. "type": "object",
  37628. "properties": {
  37629. "auctionwrtype": {
  37630. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  37631. "type": "integer"
  37632. },
  37633. "canacceptquote": {
  37634. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  37635. "type": "integer"
  37636. },
  37637. "cangoodsexercise": {
  37638. "description": "[期权]是否可现货行权- 0:否 1:是",
  37639. "type": "integer"
  37640. },
  37641. "cangoodsexercisetype": {
  37642. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  37643. "type": "integer"
  37644. },
  37645. "canmanualquotestrike": {
  37646. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  37647. "type": "integer"
  37648. },
  37649. "canmutistage": {
  37650. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  37651. "type": "integer"
  37652. },
  37653. "canpreexercise": {
  37654. "description": "[期权]是否可预申报- 0:否 1:是",
  37655. "type": "integer"
  37656. },
  37657. "clearinterval": {
  37658. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  37659. "type": "integer"
  37660. },
  37661. "contracttmp": {
  37662. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  37663. "type": "string"
  37664. },
  37665. "exchareaid": {
  37666. "description": "所属交易所,可以没有",
  37667. "type": "integer"
  37668. },
  37669. "financemarketid": {
  37670. "description": "融资回购市场ID [仓单贸易]",
  37671. "type": "integer"
  37672. },
  37673. "goodstype": {
  37674. "description": "商品类型 - 1:交易商品 2:仓单商品",
  37675. "type": "integer"
  37676. },
  37677. "hasrebate": {
  37678. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  37679. "type": "integer"
  37680. },
  37681. "hastradecredit": {
  37682. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  37683. "type": "integer"
  37684. },
  37685. "haswr": {
  37686. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  37687. "type": "integer"
  37688. },
  37689. "isdeductmargin": {
  37690. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  37691. "type": "integer"
  37692. },
  37693. "isrecordsource": {
  37694. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  37695. "type": "integer"
  37696. },
  37697. "isreleasemargin": {
  37698. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  37699. "type": "integer"
  37700. },
  37701. "isupdatereckonprice": {
  37702. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  37703. "type": "integer"
  37704. },
  37705. "listingmode": {
  37706. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  37707. "type": "integer"
  37708. },
  37709. "marginformula": {
  37710. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37711. "type": "integer"
  37712. },
  37713. "marginformula2": {
  37714. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  37715. "type": "integer"
  37716. },
  37717. "marketid": {
  37718. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  37719. "type": "integer"
  37720. },
  37721. "marketname": {
  37722. "description": "市场名称",
  37723. "type": "string"
  37724. },
  37725. "marketsectionid": {
  37726. "description": "市场版块ID(SEQ_MARKETSECTION)",
  37727. "type": "integer"
  37728. },
  37729. "marketserviceid": {
  37730. "description": "市场服务ID",
  37731. "type": "integer"
  37732. },
  37733. "marketstatus": {
  37734. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  37735. "type": "integer"
  37736. },
  37737. "markettype": {
  37738. "description": "市场类型- 1:非交易服务 2:交易服务",
  37739. "type": "integer"
  37740. },
  37741. "matchermode": {
  37742. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  37743. "type": "integer"
  37744. },
  37745. "nowrquotaflag": {
  37746. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  37747. "type": "integer"
  37748. },
  37749. "openmethod": {
  37750. "description": "开盘模式 - 0 自动 1手动",
  37751. "type": "integer"
  37752. },
  37753. "orderindex": {
  37754. "description": "排序",
  37755. "type": "integer"
  37756. },
  37757. "otcuserid": {
  37758. "description": "场外期权做市商[场外期权]",
  37759. "type": "integer"
  37760. },
  37761. "outersynctime": {
  37762. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  37763. "type": "string"
  37764. },
  37765. "paylaterflag": {
  37766. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  37767. "type": "integer"
  37768. },
  37769. "pendingflag": {
  37770. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  37771. "type": "integer"
  37772. },
  37773. "pendingtime": {
  37774. "description": "待开市时间[通道交易-对冲](HH:mm)",
  37775. "type": "string"
  37776. },
  37777. "performancetempid": {
  37778. "description": "履约计划模板ID - 作废",
  37779. "type": "integer"
  37780. },
  37781. "premiumquotemode": {
  37782. "description": "权利金报价方式 - 1:自动 2:手动",
  37783. "type": "integer"
  37784. },
  37785. "rebateratio": {
  37786. "description": "返利比率[竞价式]",
  37787. "type": "number"
  37788. },
  37789. "reckonorder": {
  37790. "description": "结算顺序",
  37791. "type": "integer"
  37792. },
  37793. "reckonpricealgorithm": {
  37794. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  37795. "type": "integer"
  37796. },
  37797. "reckonpriceparam": {
  37798. "description": "结算价参数",
  37799. "type": "integer"
  37800. },
  37801. "reckontime": {
  37802. "description": "结算时间[通道交易-对冲](HH:mm)",
  37803. "type": "string"
  37804. },
  37805. "roleprioritytype": {
  37806. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  37807. "type": "integer"
  37808. },
  37809. "selllistingauditflag": {
  37810. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  37811. "type": "integer"
  37812. },
  37813. "trademarkettype": {
  37814. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  37815. "type": "integer"
  37816. },
  37817. "trademode": {
  37818. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37819. "type": "integer"
  37820. },
  37821. "tradeproperty": {
  37822. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  37823. "type": "integer"
  37824. },
  37825. "tradetype": {
  37826. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  37827. "type": "integer"
  37828. },
  37829. "updatereckonpriceinterval": {
  37830. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  37831. "type": "integer"
  37832. }
  37833. }
  37834. },
  37835. "models.TjmdQuoteGoods": {
  37836. "type": "object",
  37837. "properties": {
  37838. "buyqty": {
  37839. "description": "买量(暂不做, 无值, 保留字段)",
  37840. "type": "number"
  37841. },
  37842. "decimalplace": {
  37843. "description": "报价小数位",
  37844. "type": "integer"
  37845. },
  37846. "goodscode": {
  37847. "description": "合约代码",
  37848. "type": "string"
  37849. },
  37850. "goodsgroupid": {
  37851. "description": "商品组ID(自增ID)",
  37852. "type": "integer"
  37853. },
  37854. "goodsgroupname": {
  37855. "description": "商品组名称",
  37856. "type": "string"
  37857. },
  37858. "goodsid": {
  37859. "description": "合约id",
  37860. "type": "integer"
  37861. },
  37862. "goodsname": {
  37863. "description": "合约名称",
  37864. "type": "string"
  37865. },
  37866. "refgoodscode": {
  37867. "description": "标的合约代码",
  37868. "type": "string"
  37869. },
  37870. "refgoodsid": {
  37871. "description": "标的合约id",
  37872. "type": "integer"
  37873. },
  37874. "refgoodsname": {
  37875. "description": "标的合约名称",
  37876. "type": "string"
  37877. },
  37878. "sellqty": {
  37879. "description": "卖量(暂不做, 无值, 保留字段)",
  37880. "type": "number"
  37881. }
  37882. }
  37883. },
  37884. "models.TjmdTodayAccountMargin": {
  37885. "type": "object",
  37886. "properties": {
  37887. "accountid": {
  37888. "description": "账号ID",
  37889. "type": "integer"
  37890. },
  37891. "goodsid": {
  37892. "description": "商品ID",
  37893. "type": "integer"
  37894. },
  37895. "infoc": {
  37896. "description": "配置参数",
  37897. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  37898. },
  37899. "marketid": {
  37900. "description": "市场ID",
  37901. "type": "integer"
  37902. }
  37903. }
  37904. },
  37905. "models.TjmdTradeOrderDetail": {
  37906. "type": "object",
  37907. "properties": {
  37908. "buyorsell": {
  37909. "description": "买卖方向 0-买 1-卖",
  37910. "type": "integer"
  37911. },
  37912. "goodsid": {
  37913. "description": "商品id",
  37914. "type": "integer"
  37915. },
  37916. "marketmaxsub": {
  37917. "description": "市价最大偏移范围 [浮动价 - 点差]",
  37918. "type": "number"
  37919. },
  37920. "orderid": {
  37921. "description": "委托单号",
  37922. "type": "string"
  37923. },
  37924. "orderprice": {
  37925. "description": "期初均价",
  37926. "type": "number"
  37927. },
  37928. "orderqty": {
  37929. "description": "委托数量",
  37930. "type": "integer"
  37931. },
  37932. "pricemode": {
  37933. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  37934. "type": "integer"
  37935. },
  37936. "userid": {
  37937. "description": "用户id",
  37938. "type": "integer"
  37939. },
  37940. "username": {
  37941. "description": "用户名称(已脱敏)",
  37942. "type": "string"
  37943. }
  37944. }
  37945. },
  37946. "models.TjmdTransferApply": {
  37947. "type": "object",
  37948. "properties": {
  37949. "applyid": {
  37950. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  37951. "type": "integer"
  37952. },
  37953. "applystatus": {
  37954. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  37955. "type": "integer"
  37956. },
  37957. "applytime": {
  37958. "description": "申请时间(时间)",
  37959. "type": "string"
  37960. },
  37961. "auditremark": {
  37962. "description": "审核备注(拒绝原因?)",
  37963. "type": "string"
  37964. },
  37965. "begindate": {
  37966. "description": "开始交易日(yyyymmdd)",
  37967. "type": "string"
  37968. },
  37969. "buyorsell": {
  37970. "description": "买卖 - 0:买 1:卖",
  37971. "type": "integer"
  37972. },
  37973. "enddate": {
  37974. "description": "结束交易日(yyyymmdd)",
  37975. "type": "string"
  37976. },
  37977. "goodscode": {
  37978. "description": "商品代码",
  37979. "type": "string"
  37980. },
  37981. "goodsid": {
  37982. "description": "商品ID",
  37983. "type": "integer"
  37984. },
  37985. "goodsname": {
  37986. "description": "商品名称",
  37987. "type": "string"
  37988. },
  37989. "marketid": {
  37990. "description": "市场ID",
  37991. "type": "integer"
  37992. },
  37993. "qty": {
  37994. "description": "期初均价",
  37995. "type": "number"
  37996. },
  37997. "tradeid": {
  37998. "description": "成交单号(关联持仓)",
  37999. "type": "string"
  38000. },
  38001. "transferamount": {
  38002. "description": "转让总金额(金额)",
  38003. "type": "number"
  38004. },
  38005. "transferprice": {
  38006. "description": "转让价格(协议价格)",
  38007. "type": "number"
  38008. }
  38009. }
  38010. },
  38011. "models.TradeHolderDetail": {
  38012. "type": "object",
  38013. "properties": {
  38014. "accountid": {
  38015. "description": "账号ID",
  38016. "type": "integer"
  38017. },
  38018. "agreeunit": {
  38019. "description": "合约乘数",
  38020. "type": "number"
  38021. },
  38022. "buyorsell": {
  38023. "description": "方向 - 0:买 1:卖",
  38024. "type": "integer"
  38025. },
  38026. "currencyid": {
  38027. "description": "商品币种id",
  38028. "type": "integer"
  38029. },
  38030. "currencyname": {
  38031. "description": "币种名称",
  38032. "type": "string"
  38033. },
  38034. "decimalplace": {
  38035. "description": "商品价格小数位",
  38036. "type": "integer"
  38037. },
  38038. "enumdicname": {
  38039. "description": "商品单位名称",
  38040. "type": "string"
  38041. },
  38042. "expirecycle": {
  38043. "description": "行权周期(天) - 1:滚动行权时填写",
  38044. "type": "integer"
  38045. },
  38046. "expiredate": {
  38047. "description": "行权日(yyyyMMdd) - 到期日",
  38048. "type": "string"
  38049. },
  38050. "expiretype": {
  38051. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  38052. "type": "integer"
  38053. },
  38054. "freezeqty": {
  38055. "description": "期初均价",
  38056. "type": "number"
  38057. },
  38058. "goodscode": {
  38059. "description": "商品代码",
  38060. "type": "string"
  38061. },
  38062. "goodsid": {
  38063. "description": "商品ID",
  38064. "type": "integer"
  38065. },
  38066. "goodsname": {
  38067. "description": "商品名称",
  38068. "type": "string"
  38069. },
  38070. "goodunitid": {
  38071. "description": "商品单位id",
  38072. "type": "integer"
  38073. },
  38074. "holderamount": {
  38075. "description": "持仓金额",
  38076. "type": "number"
  38077. },
  38078. "holdercredit": {
  38079. "description": "持仓授信金额",
  38080. "type": "number"
  38081. },
  38082. "holderdays": {
  38083. "description": "剩余冻结天数",
  38084. "type": "integer"
  38085. },
  38086. "holderprice": {
  38087. "description": "持仓价格",
  38088. "type": "number"
  38089. },
  38090. "holderqty": {
  38091. "description": "期初均价",
  38092. "type": "number"
  38093. },
  38094. "isconfirmexercise": {
  38095. "description": "是否确认行权- 0:否 1:是",
  38096. "type": "integer"
  38097. },
  38098. "ispreexercise": {
  38099. "description": "是否预申报- 0:否 1:是 2:不可行权",
  38100. "type": "integer"
  38101. },
  38102. "marketid": {
  38103. "description": "市场id",
  38104. "type": "integer"
  38105. },
  38106. "marketname": {
  38107. "description": "市场名称",
  38108. "type": "string"
  38109. },
  38110. "openprice": {
  38111. "description": "建仓价格",
  38112. "type": "number"
  38113. },
  38114. "openqty": {
  38115. "description": "期初均价",
  38116. "type": "number"
  38117. },
  38118. "optiontype": {
  38119. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  38120. "type": "integer"
  38121. },
  38122. "preexerciseprice": {
  38123. "description": "预申报价格",
  38124. "type": "number"
  38125. },
  38126. "premium": {
  38127. "description": "权利金",
  38128. "type": "number"
  38129. },
  38130. "qtydecimalplace": {
  38131. "description": "商品成交量小数位",
  38132. "type": "integer"
  38133. },
  38134. "refgoodscode": {
  38135. "description": "标的合约代码",
  38136. "type": "string"
  38137. },
  38138. "refgoodsid": {
  38139. "description": "标的合约id",
  38140. "type": "integer"
  38141. },
  38142. "releaseamount": {
  38143. "description": "释放持仓金额",
  38144. "type": "number"
  38145. },
  38146. "releaseholdercredit": {
  38147. "description": "释放持仓授信金额",
  38148. "type": "number"
  38149. },
  38150. "taname": {
  38151. "description": "资金账号名称",
  38152. "type": "string"
  38153. },
  38154. "tradeamount": {
  38155. "description": "成交金额",
  38156. "type": "number"
  38157. },
  38158. "tradedate": {
  38159. "description": "交易日(yyyyMMdd)",
  38160. "type": "string"
  38161. },
  38162. "tradeid": {
  38163. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38164. "type": "string"
  38165. },
  38166. "trademode": {
  38167. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  38168. "type": "integer"
  38169. },
  38170. "tradeproperty": {
  38171. "description": "交易属性",
  38172. "type": "integer"
  38173. },
  38174. "tradetime": {
  38175. "description": "交易时间",
  38176. "type": "string"
  38177. },
  38178. "userid": {
  38179. "description": "用户id",
  38180. "type": "integer"
  38181. },
  38182. "username": {
  38183. "description": "用户名称",
  38184. "type": "string"
  38185. }
  38186. }
  38187. },
  38188. "models.Unlinkermcphedgeplan": {
  38189. "type": "object",
  38190. "required": [
  38191. "areauserid"
  38192. ],
  38193. "properties": {
  38194. "accountid": {
  38195. "description": "期货账户ID - 作废",
  38196. "type": "integer"
  38197. },
  38198. "accountname": {
  38199. "description": "交易用户",
  38200. "type": "string"
  38201. },
  38202. "applyid": {
  38203. "description": "申请人",
  38204. "type": "integer"
  38205. },
  38206. "applysrc": {
  38207. "description": "申请来源 - 1:管理端 2:终端",
  38208. "type": "integer"
  38209. },
  38210. "applytime": {
  38211. "description": "申请时间",
  38212. "type": "string"
  38213. },
  38214. "areauserid": {
  38215. "description": "[企业ID]机构ID",
  38216. "type": "integer"
  38217. },
  38218. "auditid": {
  38219. "description": "审核人",
  38220. "type": "integer"
  38221. },
  38222. "auditremark": {
  38223. "description": "审核备注",
  38224. "type": "string"
  38225. },
  38226. "auditsrc": {
  38227. "description": "审核来源 - 1:管理端 2:终端",
  38228. "type": "integer"
  38229. },
  38230. "audittime": {
  38231. "description": "审核时间",
  38232. "type": "string"
  38233. },
  38234. "audittradedate": {
  38235. "description": "审核交易日(yyyyMMdd)",
  38236. "type": "string"
  38237. },
  38238. "biztype": {
  38239. "description": "业务类型 - 1:套保",
  38240. "type": "integer"
  38241. },
  38242. "contracttype": {
  38243. "description": "计划类型 - 1:采购 -1:销售",
  38244. "type": "integer"
  38245. },
  38246. "convertfactor": {
  38247. "description": "标仓系数 - 作废",
  38248. "type": "number"
  38249. },
  38250. "createtime": {
  38251. "description": "创建时间",
  38252. "type": "string"
  38253. },
  38254. "currencyid": {
  38255. "description": "结算币种ID - 作废",
  38256. "type": "integer"
  38257. },
  38258. "deliverygoodsid": {
  38259. "description": "现货品种ID",
  38260. "type": "integer"
  38261. },
  38262. "enumdicname": {
  38263. "description": "结算币种",
  38264. "type": "string"
  38265. },
  38266. "hedgeplanid": {
  38267. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  38268. "type": "string"
  38269. },
  38270. "hedgeplanno": {
  38271. "description": "[计划编号]套保计划编号,模糊查询",
  38272. "type": "string"
  38273. },
  38274. "hedgeplanstatus": {
  38275. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  38276. "type": "integer"
  38277. },
  38278. "isrelated": {
  38279. "description": "是否已关联计划项目 - 0:否 1:是",
  38280. "type": "integer"
  38281. },
  38282. "planqty": {
  38283. "description": "[计划量]计划数量",
  38284. "type": "number"
  38285. },
  38286. "plantime": {
  38287. "description": "计划时间",
  38288. "type": "string"
  38289. },
  38290. "producttype": {
  38291. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  38292. "type": "integer"
  38293. },
  38294. "remark": {
  38295. "description": "备注",
  38296. "type": "string"
  38297. },
  38298. "spotgoodsdesc": {
  38299. "description": "商品型号",
  38300. "type": "string"
  38301. },
  38302. "tradedate": {
  38303. "description": "交易日(yyyyMMdd)",
  38304. "type": "string"
  38305. },
  38306. "tradeuserid": {
  38307. "description": "交易用户ID",
  38308. "type": "integer"
  38309. },
  38310. "updatetime": {
  38311. "description": "更新时间",
  38312. "type": "string"
  38313. },
  38314. "wrstandardid": {
  38315. "description": "现货商品ID",
  38316. "type": "integer"
  38317. },
  38318. "wrstandardname": {
  38319. "description": "现货商品,模糊查询",
  38320. "type": "string"
  38321. }
  38322. }
  38323. },
  38324. "models.UserCollectConfig": {
  38325. "type": "object",
  38326. "properties": {
  38327. "accountstatus": {
  38328. "description": "账户状态 - 1:正常 2:停用 3:注销",
  38329. "type": "integer"
  38330. },
  38331. "collectaccountname": {
  38332. "description": "收款人账户名称",
  38333. "type": "string"
  38334. },
  38335. "collectaccountno": {
  38336. "description": "收款人账户",
  38337. "type": "string"
  38338. },
  38339. "collectbankname": {
  38340. "description": "收款人开户行",
  38341. "type": "string"
  38342. },
  38343. "collectbranchbankname": {
  38344. "description": "收款人开户支行",
  38345. "type": "string"
  38346. },
  38347. "collectconfigid": {
  38348. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  38349. "type": "string"
  38350. },
  38351. "remark": {
  38352. "description": "备注",
  38353. "type": "string"
  38354. },
  38355. "userid": {
  38356. "description": "收款人用户ID",
  38357. "type": "integer"
  38358. }
  38359. }
  38360. },
  38361. "models.UserReceiveInfo": {
  38362. "type": "object",
  38363. "properties": {
  38364. "address": {
  38365. "description": "提货人详细地址",
  38366. "type": "string"
  38367. },
  38368. "autoid": {
  38369. "description": "AutoID",
  38370. "type": "integer"
  38371. },
  38372. "cardnum": {
  38373. "description": "证件号码(加密存储)",
  38374. "type": "string"
  38375. },
  38376. "cardtypeid": {
  38377. "description": "证件类型",
  38378. "type": "integer"
  38379. },
  38380. "cityid": {
  38381. "description": "市",
  38382. "type": "integer"
  38383. },
  38384. "cityname": {
  38385. "description": "城市名称",
  38386. "type": "string"
  38387. },
  38388. "countryid": {
  38389. "description": "国家",
  38390. "type": "integer"
  38391. },
  38392. "countryname": {
  38393. "description": "国家名称",
  38394. "type": "string"
  38395. },
  38396. "districtid": {
  38397. "description": "地区",
  38398. "type": "integer"
  38399. },
  38400. "districtname": {
  38401. "description": "地区名称",
  38402. "type": "string"
  38403. },
  38404. "hasencrypt": {
  38405. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38406. "type": "integer"
  38407. },
  38408. "isdefault": {
  38409. "description": "是否默认地址 - 0:否 1:是",
  38410. "type": "integer"
  38411. },
  38412. "phonenum": {
  38413. "description": "提货人联系方式(加密存储)",
  38414. "type": "string"
  38415. },
  38416. "provinceid": {
  38417. "description": "省",
  38418. "type": "integer"
  38419. },
  38420. "provincename": {
  38421. "description": "省名称",
  38422. "type": "string"
  38423. },
  38424. "receivername": {
  38425. "description": "提货人姓名",
  38426. "type": "string"
  38427. },
  38428. "takeremark": {
  38429. "description": "提货备注",
  38430. "type": "string"
  38431. },
  38432. "userid": {
  38433. "description": "用户ID",
  38434. "type": "integer"
  38435. }
  38436. }
  38437. },
  38438. "models.Useraccount": {
  38439. "type": "object",
  38440. "required": [
  38441. "userid"
  38442. ],
  38443. "properties": {
  38444. "accountname": {
  38445. "description": "账户名称(机构名称)",
  38446. "type": "string"
  38447. },
  38448. "accountstatus": {
  38449. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  38450. "type": "integer"
  38451. },
  38452. "applysrc": {
  38453. "description": "申请来源 - 1:管理端 2:终端",
  38454. "type": "integer"
  38455. },
  38456. "auditremark": {
  38457. "description": "审核备注",
  38458. "type": "string"
  38459. },
  38460. "auditsrc": {
  38461. "description": "审核来源 - 1:管理端 2:终端",
  38462. "type": "integer"
  38463. },
  38464. "audittime": {
  38465. "description": "审核时间",
  38466. "type": "string"
  38467. },
  38468. "audituserid": {
  38469. "description": "审核人",
  38470. "type": "integer"
  38471. },
  38472. "broker": {
  38473. "description": "所属经纪人ID",
  38474. "type": "integer"
  38475. },
  38476. "canceltime": {
  38477. "description": "销户时间",
  38478. "type": "string"
  38479. },
  38480. "canceluserid": {
  38481. "description": "销户人",
  38482. "type": "integer"
  38483. },
  38484. "canrecommend": {
  38485. "description": "是否可推荐 - 0:不可 1;可",
  38486. "type": "integer"
  38487. },
  38488. "createtime": {
  38489. "description": "创建时间",
  38490. "type": "string"
  38491. },
  38492. "creatorid": {
  38493. "description": "创建人",
  38494. "type": "integer"
  38495. },
  38496. "hasauth": {
  38497. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  38498. "type": "integer"
  38499. },
  38500. "isanonymous": {
  38501. "description": "是否匿名下单 - 0:否 1:是",
  38502. "type": "integer"
  38503. },
  38504. "maxinvestornum": {
  38505. "description": "最大用户数(经纪会员下投资者个数)",
  38506. "type": "integer"
  38507. },
  38508. "memberuserid": {
  38509. "description": "所属会员ID",
  38510. "type": "integer"
  38511. },
  38512. "modifierid": {
  38513. "description": "修改人",
  38514. "type": "integer"
  38515. },
  38516. "modifyremark": {
  38517. "description": "变更备注",
  38518. "type": "string"
  38519. },
  38520. "modifystatus": {
  38521. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  38522. "type": "integer"
  38523. },
  38524. "modifytime": {
  38525. "description": "修改时间",
  38526. "type": "string"
  38527. },
  38528. "parenttopuser": {
  38529. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  38530. "type": "string"
  38531. },
  38532. "parentuserid": {
  38533. "description": "所属机构ID",
  38534. "type": "integer"
  38535. },
  38536. "reckonaccountid": {
  38537. "description": "默认结算资金账号ID(机构分润使用) 作废",
  38538. "type": "integer"
  38539. },
  38540. "refercount": {
  38541. "description": "推荐总人数",
  38542. "type": "integer"
  38543. },
  38544. "refereeuserid": {
  38545. "description": "推荐人ID",
  38546. "type": "integer"
  38547. },
  38548. "refernum": {
  38549. "description": "推荐码",
  38550. "type": "string"
  38551. },
  38552. "rootuserid": {
  38553. "description": "根用户ID",
  38554. "type": "integer"
  38555. },
  38556. "subaccountlevel": {
  38557. "description": "子账户层数",
  38558. "type": "integer"
  38559. },
  38560. "subarealevelpath": {
  38561. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  38562. "type": "string"
  38563. },
  38564. "userid": {
  38565. "description": "用户ID",
  38566. "type": "integer"
  38567. },
  38568. "usertype": {
  38569. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  38570. "type": "integer"
  38571. }
  38572. }
  38573. },
  38574. "models.Userfavoritegoods": {
  38575. "type": "object",
  38576. "required": [
  38577. "goodsid"
  38578. ],
  38579. "properties": {
  38580. "goodsid": {
  38581. "description": "商品ID",
  38582. "type": "integer"
  38583. }
  38584. }
  38585. },
  38586. "models.Userinfo": {
  38587. "type": "object",
  38588. "required": [
  38589. "userid"
  38590. ],
  38591. "properties": {
  38592. "address": {
  38593. "description": "地址",
  38594. "type": "string"
  38595. },
  38596. "attachment1": {
  38597. "description": "附件1",
  38598. "type": "string"
  38599. },
  38600. "attachment2": {
  38601. "description": "附件2",
  38602. "type": "string"
  38603. },
  38604. "bankaccount": {
  38605. "description": "银行帐号 (加密存储)",
  38606. "type": "string"
  38607. },
  38608. "bankaccountname": {
  38609. "description": "收款人名称",
  38610. "type": "string"
  38611. },
  38612. "bankcardfrontphotourl": {
  38613. "description": "银行卡正面照地址",
  38614. "type": "string"
  38615. },
  38616. "bankid": {
  38617. "description": "银行编码",
  38618. "type": "string"
  38619. },
  38620. "bankname": {
  38621. "description": "银行名称",
  38622. "type": "string"
  38623. },
  38624. "biznature": {
  38625. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  38626. "type": "integer"
  38627. },
  38628. "bizscope": {
  38629. "description": "企业经营范围(企业)",
  38630. "type": "string"
  38631. },
  38632. "cardbackphotourl": {
  38633. "description": "证件背面图片地址",
  38634. "type": "string"
  38635. },
  38636. "cardfrontphotourl": {
  38637. "description": "证件正面图片地址",
  38638. "type": "string"
  38639. },
  38640. "cardnum": {
  38641. "description": "证件号码(加密存储)",
  38642. "type": "string"
  38643. },
  38644. "cardtypeid": {
  38645. "description": "证件类型ID",
  38646. "type": "integer"
  38647. },
  38648. "cityid": {
  38649. "description": "市",
  38650. "type": "integer"
  38651. },
  38652. "company": {
  38653. "description": "公司(个人)",
  38654. "type": "string"
  38655. },
  38656. "contactname": {
  38657. "description": "联系人",
  38658. "type": "string"
  38659. },
  38660. "countryid": {
  38661. "description": "国家",
  38662. "type": "integer"
  38663. },
  38664. "createtime": {
  38665. "description": "创建时间",
  38666. "type": "string"
  38667. },
  38668. "creatorid": {
  38669. "description": "创建人",
  38670. "type": "integer"
  38671. },
  38672. "customername": {
  38673. "description": "客户名称(企业名称)",
  38674. "type": "string"
  38675. },
  38676. "districtid": {
  38677. "description": "地区",
  38678. "type": "integer"
  38679. },
  38680. "email": {
  38681. "description": "邮件(加密存储)",
  38682. "type": "string"
  38683. },
  38684. "fax": {
  38685. "description": "传真(加密存储)",
  38686. "type": "string"
  38687. },
  38688. "halfbodyphotourl": {
  38689. "description": "半身照地址",
  38690. "type": "string"
  38691. },
  38692. "hasencrypt": {
  38693. "description": "数据是否已加密 - 0:未加密 1:已加密",
  38694. "type": "integer"
  38695. },
  38696. "headurl": {
  38697. "description": "头像地址",
  38698. "type": "string"
  38699. },
  38700. "legalcardbackphotourl": {
  38701. "description": "法人身份证背面照地址",
  38702. "type": "string"
  38703. },
  38704. "legalcardfrontphotourl": {
  38705. "description": "法人身份证正面照地址",
  38706. "type": "string"
  38707. },
  38708. "legalpersonname": {
  38709. "description": "法人姓名(企业)",
  38710. "type": "string"
  38711. },
  38712. "mobile": {
  38713. "description": "手机号码(加密存储)",
  38714. "type": "string"
  38715. },
  38716. "mobile2": {
  38717. "description": "手机号码[明文-尚志]",
  38718. "type": "string"
  38719. },
  38720. "modifierid": {
  38721. "description": "修改人",
  38722. "type": "integer"
  38723. },
  38724. "modifiertime": {
  38725. "description": "修改时间",
  38726. "type": "string"
  38727. },
  38728. "needinvoice": {
  38729. "description": "是否需要发票 - 0:不需要 1:需要",
  38730. "type": "integer"
  38731. },
  38732. "nickname": {
  38733. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  38734. "type": "string"
  38735. },
  38736. "openmode": {
  38737. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  38738. "type": "integer"
  38739. },
  38740. "otherurl": {
  38741. "description": "其它图片地址[使用分号分隔]",
  38742. "type": "string"
  38743. },
  38744. "postalcode": {
  38745. "description": "邮政编码",
  38746. "type": "string"
  38747. },
  38748. "provinceid": {
  38749. "description": "省",
  38750. "type": "integer"
  38751. },
  38752. "qq": {
  38753. "description": "QQ(加密存储",
  38754. "type": "string"
  38755. },
  38756. "remark": {
  38757. "description": "备注",
  38758. "type": "string"
  38759. },
  38760. "sex": {
  38761. "description": "用户性别 0: 女 1: 男",
  38762. "type": "integer"
  38763. },
  38764. "signpdfurl": {
  38765. "description": "签约pdf文件",
  38766. "type": "string"
  38767. },
  38768. "telphone": {
  38769. "description": "联系电话(加密存储)",
  38770. "type": "string"
  38771. },
  38772. "userid": {
  38773. "description": "用户ID",
  38774. "type": "integer"
  38775. },
  38776. "userinfotype": {
  38777. "description": "用户信息类型 - 1:个人 2:企业",
  38778. "type": "integer"
  38779. },
  38780. "userstatus": {
  38781. "description": "用户状态 - 1:正常 2:注销",
  38782. "type": "integer"
  38783. },
  38784. "usertype": {
  38785. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  38786. "type": "integer"
  38787. },
  38788. "wechat": {
  38789. "description": "微信(加密存储)",
  38790. "type": "string"
  38791. },
  38792. "wskhinfo": {
  38793. "description": "开户申请信息(JSON)",
  38794. "type": "string"
  38795. }
  38796. }
  38797. },
  38798. "models.WRSConverTDetail": {
  38799. "type": "object",
  38800. "properties": {
  38801. "convertratio": {
  38802. "description": "套保系数",
  38803. "type": "number"
  38804. },
  38805. "deliverygoodscode": {
  38806. "description": "现货商品代码",
  38807. "type": "string"
  38808. },
  38809. "deliverygoodsid": {
  38810. "description": "现货品种ID",
  38811. "type": "integer"
  38812. },
  38813. "deliverygoodsname": {
  38814. "description": "现货商品名称",
  38815. "type": "string"
  38816. },
  38817. "enumdicname": {
  38818. "description": "单位名称",
  38819. "type": "string"
  38820. },
  38821. "goodsunitid": {
  38822. "description": "套保品种单位id",
  38823. "type": "integer"
  38824. },
  38825. "middlegoodscode": {
  38826. "description": "套保品种代码",
  38827. "type": "string"
  38828. },
  38829. "middlegoodsid": {
  38830. "description": "套保品种ID",
  38831. "type": "integer"
  38832. },
  38833. "middlegoodsname": {
  38834. "description": "套保品种名称",
  38835. "type": "string"
  38836. },
  38837. "modifytime": {
  38838. "description": "修改时间",
  38839. "type": "string"
  38840. },
  38841. "wrstandardid": {
  38842. "description": "品类ID",
  38843. "type": "integer"
  38844. }
  38845. }
  38846. },
  38847. "models.WRStandardInfo": {
  38848. "type": "object",
  38849. "required": [
  38850. "wrstandardid"
  38851. ],
  38852. "properties": {
  38853. "areauserid": {
  38854. "description": "所属机构",
  38855. "type": "integer"
  38856. },
  38857. "convertfactor": {
  38858. "description": "标仓系数",
  38859. "type": "number"
  38860. },
  38861. "createtime": {
  38862. "description": "创建时间",
  38863. "type": "string"
  38864. },
  38865. "creatorid": {
  38866. "description": "创建人",
  38867. "type": "integer"
  38868. },
  38869. "deliverygoodsid": {
  38870. "description": "品种ID",
  38871. "type": "integer"
  38872. },
  38873. "deliverygoodsname": {
  38874. "description": "交割商品名称",
  38875. "type": "string"
  38876. },
  38877. "factoryitemjson": {
  38878. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  38879. "type": "string"
  38880. },
  38881. "isvalid": {
  38882. "description": "是否有效 - 0:无效 1:有效",
  38883. "type": "integer"
  38884. },
  38885. "minivalue": {
  38886. "description": "最小变动值",
  38887. "type": "integer"
  38888. },
  38889. "minivaluedp": {
  38890. "description": "最小变动值小数位",
  38891. "type": "integer"
  38892. },
  38893. "realminivalue": {
  38894. "description": "实际最小变动值",
  38895. "type": "integer"
  38896. },
  38897. "realminivaluedp": {
  38898. "description": "实际最小变动值小数位",
  38899. "type": "integer"
  38900. },
  38901. "remark": {
  38902. "description": "备注",
  38903. "type": "string"
  38904. },
  38905. "unitid": {
  38906. "description": "单位ID",
  38907. "type": "integer"
  38908. },
  38909. "unitname": {
  38910. "description": "单位",
  38911. "type": "string"
  38912. },
  38913. "updatetime": {
  38914. "description": "更新时间",
  38915. "type": "string"
  38916. },
  38917. "updatorid": {
  38918. "description": "更新人",
  38919. "type": "integer"
  38920. },
  38921. "wrsstatus": {
  38922. "description": "状态 - 作废 - 0:未激活 1:正常",
  38923. "type": "integer"
  38924. },
  38925. "wrstandardcode": {
  38926. "description": "现货品类代码",
  38927. "type": "string"
  38928. },
  38929. "wrstandardid": {
  38930. "description": "现货品类ID(SEQ_WRSTANDARD)",
  38931. "type": "integer"
  38932. },
  38933. "wrstandardname": {
  38934. "description": "现货品类名称",
  38935. "type": "string"
  38936. }
  38937. }
  38938. },
  38939. "models.WRTradeBargainApply": {
  38940. "type": "object",
  38941. "properties": {
  38942. "accountid": {
  38943. "description": "摘牌资金账号",
  38944. "type": "integer"
  38945. },
  38946. "applyprice": {
  38947. "description": "申请价格(议价价格)",
  38948. "type": "string"
  38949. },
  38950. "applyqty": {
  38951. "description": "摘牌数量(议价数量)",
  38952. "type": "number"
  38953. },
  38954. "applyremark": {
  38955. "description": "申请备注",
  38956. "type": "string"
  38957. },
  38958. "applystatus": {
  38959. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  38960. "type": "integer"
  38961. },
  38962. "applytime": {
  38963. "description": "申请时间(议价时间)",
  38964. "type": "string"
  38965. },
  38966. "begindate": {
  38967. "description": "开始交易日(yyyymmdd)",
  38968. "type": "string"
  38969. },
  38970. "buyorsell": {
  38971. "description": "买卖(挂牌类型) - 0:买 1:卖",
  38972. "type": "integer"
  38973. },
  38974. "confirmremark": {
  38975. "description": "确认备注",
  38976. "type": "string"
  38977. },
  38978. "confirmtime": {
  38979. "description": "确认时间",
  38980. "type": "string"
  38981. },
  38982. "confirmuserid": {
  38983. "description": "确认人",
  38984. "type": "integer"
  38985. },
  38986. "deliverygoodscode": {
  38987. "description": "品种代码",
  38988. "type": "string"
  38989. },
  38990. "deliverygoodsid": {
  38991. "description": "品种ID",
  38992. "type": "integer"
  38993. },
  38994. "deliverygoodsname": {
  38995. "description": "品种名称",
  38996. "type": "string"
  38997. },
  38998. "deliverymonth": {
  38999. "description": "交收月",
  39000. "type": "string"
  39001. },
  39002. "enddate": {
  39003. "description": "结束交易日(yyyymmdd)",
  39004. "type": "string"
  39005. },
  39006. "enumdicname": {
  39007. "description": "单位名称",
  39008. "type": "string"
  39009. },
  39010. "fixedprice": {
  39011. "description": "期初均价",
  39012. "type": "number"
  39013. },
  39014. "handlestatus": {
  39015. "description": "处理状态",
  39016. "type": "integer"
  39017. },
  39018. "marginvalue": {
  39019. "description": "期初均价",
  39020. "type": "number"
  39021. },
  39022. "marketid": {
  39023. "description": "市场ID",
  39024. "type": "integer"
  39025. },
  39026. "matchaccountid": {
  39027. "description": "挂牌方资金账号",
  39028. "type": "integer"
  39029. },
  39030. "matchuserid": {
  39031. "description": "挂牌方用户id",
  39032. "type": "integer"
  39033. },
  39034. "matchusername": {
  39035. "description": "挂牌方用户名称(已脱敏)",
  39036. "type": "string"
  39037. },
  39038. "minivalue": {
  39039. "description": "现货商品最小变动值",
  39040. "type": "integer"
  39041. },
  39042. "optioncompare": {
  39043. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  39044. "type": "string"
  39045. },
  39046. "orderqty": {
  39047. "description": "挂牌数量",
  39048. "type": "integer"
  39049. },
  39050. "refprice": {
  39051. "description": "参考价格",
  39052. "type": "string"
  39053. },
  39054. "retcode": {
  39055. "description": "委托返回代码",
  39056. "type": "integer"
  39057. },
  39058. "templatename": {
  39059. "description": "履约方式(履约模板名称)",
  39060. "type": "string"
  39061. },
  39062. "tradedate": {
  39063. "description": "交易日(yyyyMMdd)",
  39064. "type": "string"
  39065. },
  39066. "userid": {
  39067. "description": "摘牌人用户ID(议价人ID)",
  39068. "type": "integer"
  39069. },
  39070. "username": {
  39071. "description": "议价人名字(已脱敏)",
  39072. "type": "string"
  39073. },
  39074. "validtime": {
  39075. "description": "有效期限",
  39076. "type": "string"
  39077. },
  39078. "warehouseid": {
  39079. "description": "仓库ID",
  39080. "type": "integer"
  39081. },
  39082. "warehousename": {
  39083. "description": "仓库名称",
  39084. "type": "string"
  39085. },
  39086. "wrbargainid": {
  39087. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  39088. "type": "string"
  39089. },
  39090. "wrfactortypeid": {
  39091. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  39092. "type": "string"
  39093. },
  39094. "wrfactortypename": {
  39095. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  39096. "type": "string"
  39097. },
  39098. "wrstandardcode": {
  39099. "description": "现货商品代码",
  39100. "type": "string"
  39101. },
  39102. "wrstandardid": {
  39103. "description": "现货商品ID",
  39104. "type": "integer"
  39105. },
  39106. "wrstandardname": {
  39107. "description": "商品名称",
  39108. "type": "string"
  39109. },
  39110. "wrtradeorderid": {
  39111. "description": "关联委托单ID",
  39112. "type": "string"
  39113. },
  39114. "wrtypename": {
  39115. "description": "商品",
  39116. "type": "string"
  39117. }
  39118. }
  39119. },
  39120. "models.Warehouseinfo": {
  39121. "type": "object",
  39122. "required": [
  39123. "autoid",
  39124. "warehousecode"
  39125. ],
  39126. "properties": {
  39127. "address": {
  39128. "description": "详细地址",
  39129. "type": "string"
  39130. },
  39131. "areauserid": {
  39132. "description": "所属机构",
  39133. "type": "integer"
  39134. },
  39135. "autoid": {
  39136. "description": "自增ID",
  39137. "type": "integer"
  39138. },
  39139. "cityid": {
  39140. "description": "市",
  39141. "type": "integer"
  39142. },
  39143. "contactname": {
  39144. "description": "联系人",
  39145. "type": "string"
  39146. },
  39147. "contactnum": {
  39148. "description": "联系电话",
  39149. "type": "string"
  39150. },
  39151. "countryid": {
  39152. "description": "国家",
  39153. "type": "integer"
  39154. },
  39155. "createtime": {
  39156. "description": "创建时间",
  39157. "type": "string"
  39158. },
  39159. "districtid": {
  39160. "description": "区",
  39161. "type": "integer"
  39162. },
  39163. "hasvideo": {
  39164. "description": "是否有视频 - 0:无 1:有",
  39165. "type": "integer"
  39166. },
  39167. "provinceid": {
  39168. "description": "省",
  39169. "type": "integer"
  39170. },
  39171. "remark": {
  39172. "description": "审核备注",
  39173. "type": "string"
  39174. },
  39175. "videourl": {
  39176. "description": "视频地址",
  39177. "type": "string"
  39178. },
  39179. "warehousecode": {
  39180. "description": "仓库代码",
  39181. "type": "string"
  39182. },
  39183. "warehousename": {
  39184. "description": "仓库名称",
  39185. "type": "string"
  39186. },
  39187. "warehousestatus": {
  39188. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  39189. "type": "integer"
  39190. },
  39191. "warehousetype": {
  39192. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  39193. "type": "integer"
  39194. }
  39195. }
  39196. },
  39197. "models.WrAverageTradePrice": {
  39198. "type": "object",
  39199. "properties": {
  39200. "averageprice": {
  39201. "description": "期初均价",
  39202. "type": "number"
  39203. },
  39204. "tradedate": {
  39205. "description": "交易日yyyymm",
  39206. "type": "string"
  39207. }
  39208. }
  39209. },
  39210. "models.WrBrandAndYears": {
  39211. "type": "object",
  39212. "properties": {
  39213. "brandlst": {
  39214. "description": "品牌列表",
  39215. "type": "array",
  39216. "items": {
  39217. "$ref": "#/definitions/models.DgFactoryItem"
  39218. }
  39219. },
  39220. "yearslst": {
  39221. "description": "年份列表",
  39222. "type": "array",
  39223. "items": {
  39224. "$ref": "#/definitions/models.DgFactoryItem"
  39225. }
  39226. }
  39227. }
  39228. },
  39229. "models.WrBsGoodsInfo": {
  39230. "type": "object",
  39231. "properties": {
  39232. "buyorsell": {
  39233. "description": "买卖方向 0-买 1-卖",
  39234. "type": "integer"
  39235. },
  39236. "goodsid": {
  39237. "description": "交易合约ID",
  39238. "type": "integer"
  39239. },
  39240. "lstitem": {
  39241. "description": "商品信息项",
  39242. "type": "array",
  39243. "items": {
  39244. "$ref": "#/definitions/models.WrTypeItem"
  39245. }
  39246. },
  39247. "lststep": {
  39248. "description": "履约规则",
  39249. "type": "array",
  39250. "items": {
  39251. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  39252. }
  39253. }
  39254. }
  39255. },
  39256. "models.WrBuybackDetail": {
  39257. "type": "object",
  39258. "properties": {
  39259. "buybackamount": {
  39260. "description": "回购金额",
  39261. "type": "number"
  39262. },
  39263. "buybackqty": {
  39264. "description": "回购数量",
  39265. "type": "number"
  39266. },
  39267. "buybackreleasemargin": {
  39268. "description": "回购释放保证金",
  39269. "type": "number"
  39270. },
  39271. "buybacktime": {
  39272. "description": "回购时间",
  39273. "type": "string"
  39274. },
  39275. "errordesc": {
  39276. "description": "错误描述",
  39277. "type": "string"
  39278. },
  39279. "handlestatus": {
  39280. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  39281. "type": "integer"
  39282. },
  39283. "relatedwrid": {
  39284. "description": "关联仓单ID",
  39285. "type": "integer"
  39286. },
  39287. "scfcontractid": {
  39288. "description": "SCF合同ID",
  39289. "type": "string"
  39290. },
  39291. "scfwrbuybackid": {
  39292. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  39293. "type": "integer"
  39294. },
  39295. "tradedate": {
  39296. "description": "交易日(yyyyMMdd)",
  39297. "type": "string"
  39298. }
  39299. }
  39300. },
  39301. "models.WrClientAdSpaceConfig": {
  39302. "type": "object",
  39303. "properties": {
  39304. "adspaceid": {
  39305. "description": "广告位ID",
  39306. "type": "integer"
  39307. },
  39308. "adspacename": {
  39309. "description": "广告位名称",
  39310. "type": "string"
  39311. },
  39312. "adspacetype": {
  39313. "description": "广告位类型 - 1:固定广告位",
  39314. "type": "integer"
  39315. },
  39316. "areauserid": {
  39317. "description": "所属机构ID",
  39318. "type": "integer"
  39319. },
  39320. "createdate": {
  39321. "description": "创建时间",
  39322. "type": "string"
  39323. },
  39324. "imagepath": {
  39325. "description": "图片",
  39326. "type": "string"
  39327. },
  39328. "modifierid": {
  39329. "description": "操作人",
  39330. "type": "integer"
  39331. },
  39332. "recsize": {
  39333. "description": "推荐尺寸",
  39334. "type": "string"
  39335. },
  39336. "title": {
  39337. "description": "标题",
  39338. "type": "string"
  39339. },
  39340. "updatedate": {
  39341. "description": "更新时间",
  39342. "type": "string"
  39343. },
  39344. "urlcontent": {
  39345. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  39346. "type": "string"
  39347. },
  39348. "urltype": {
  39349. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  39350. "type": "integer"
  39351. }
  39352. }
  39353. },
  39354. "models.WrDeliveryAvalidHoldLB": {
  39355. "type": "object",
  39356. "properties": {
  39357. "accountid": {
  39358. "description": "资金账号",
  39359. "type": "integer"
  39360. },
  39361. "avalidqty": {
  39362. "description": "数量(可点选数量)",
  39363. "type": "number"
  39364. },
  39365. "deliverygoodsid": {
  39366. "description": "品种id",
  39367. "type": "integer"
  39368. },
  39369. "enumdicname": {
  39370. "description": "单位名称",
  39371. "type": "string"
  39372. },
  39373. "goodsid": {
  39374. "description": "x合约商品id",
  39375. "type": "integer"
  39376. },
  39377. "ladingbillid": {
  39378. "description": "提单id",
  39379. "type": "string"
  39380. },
  39381. "pgoodscode": {
  39382. "description": "p商品代码(点价合约)",
  39383. "type": "string"
  39384. },
  39385. "pgoodsid": {
  39386. "description": "p商品id(点价合约)",
  39387. "type": "integer"
  39388. },
  39389. "pgoodsname": {
  39390. "description": "p商品名称(点价合约)",
  39391. "type": "string"
  39392. },
  39393. "pricemove": {
  39394. "description": "升贴水",
  39395. "type": "number"
  39396. },
  39397. "subnum": {
  39398. "description": "提单子id",
  39399. "type": "integer"
  39400. },
  39401. "userid": {
  39402. "description": "用户id",
  39403. "type": "integer"
  39404. },
  39405. "username": {
  39406. "description": "仓单持有人",
  39407. "type": "string"
  39408. },
  39409. "warehousecode": {
  39410. "description": "仓库代码",
  39411. "type": "string"
  39412. },
  39413. "warehouseid": {
  39414. "description": "仓库id",
  39415. "type": "integer"
  39416. },
  39417. "warehousename": {
  39418. "description": "仓库名称",
  39419. "type": "string"
  39420. },
  39421. "wrfactortypeid": {
  39422. "description": "仓单要素id",
  39423. "type": "string"
  39424. },
  39425. "wrstandardcode": {
  39426. "description": "品代码",
  39427. "type": "string"
  39428. },
  39429. "wrstandardid": {
  39430. "description": "品类d",
  39431. "type": "integer"
  39432. },
  39433. "wrstandardname": {
  39434. "description": "品类名称",
  39435. "type": "string"
  39436. },
  39437. "wrtypename": {
  39438. "description": "商品",
  39439. "type": "string"
  39440. },
  39441. "xgoodscode": {
  39442. "description": "x合约代码",
  39443. "type": "string"
  39444. },
  39445. "xgoodsname": {
  39446. "description": "x合约名称",
  39447. "type": "string"
  39448. }
  39449. }
  39450. },
  39451. "models.WrDeliveryDetail": {
  39452. "type": "object",
  39453. "properties": {
  39454. "accountid": {
  39455. "description": "账号ID",
  39456. "type": "integer"
  39457. },
  39458. "averageprice": {
  39459. "description": "期初均价",
  39460. "type": "number"
  39461. },
  39462. "begindate": {
  39463. "description": "开始交易日(yyyymmdd)",
  39464. "type": "string"
  39465. },
  39466. "buyorsell": {
  39467. "description": "方向 - 0:买 1:卖",
  39468. "type": "integer"
  39469. },
  39470. "deliveryamount": {
  39471. "description": "货款金额(X总货款+P总货款)",
  39472. "type": "number"
  39473. },
  39474. "deliveryid": {
  39475. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  39476. "type": "string"
  39477. },
  39478. "deliveryorderid": {
  39479. "description": "申报单号",
  39480. "type": "string"
  39481. },
  39482. "deliverypricemove": {
  39483. "description": "升贴水(升贴水总额)",
  39484. "type": "number"
  39485. },
  39486. "deliveryqty": {
  39487. "description": "交收数量(点选数量)",
  39488. "type": "number"
  39489. },
  39490. "deliverystatus": {
  39491. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  39492. "type": "integer"
  39493. },
  39494. "deliverytime": {
  39495. "description": "交割时间",
  39496. "type": "string"
  39497. },
  39498. "deliverytotalamount": {
  39499. "description": "交收金额",
  39500. "type": "number"
  39501. },
  39502. "enddate": {
  39503. "description": "结束交易日(yyyymmdd)",
  39504. "type": "string"
  39505. },
  39506. "enumdicname": {
  39507. "description": "单位名称",
  39508. "type": "string"
  39509. },
  39510. "matchaccountid": {
  39511. "description": "对手账号ID",
  39512. "type": "integer"
  39513. },
  39514. "matchusername": {
  39515. "description": "对手方名称(仓单持有人)",
  39516. "type": "string"
  39517. },
  39518. "p1goodsremainamount": {
  39519. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39520. "type": "number"
  39521. },
  39522. "pdeliverycloseqty": {
  39523. "description": "p合约平仓数量",
  39524. "type": "number"
  39525. },
  39526. "pdeliveryprice": {
  39527. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  39528. "type": "number"
  39529. },
  39530. "pgoodscode": {
  39531. "description": "商品代码",
  39532. "type": "string"
  39533. },
  39534. "pgoodsid": {
  39535. "description": "p点选合约id",
  39536. "type": "integer"
  39537. },
  39538. "pgoodsname": {
  39539. "description": "商品名称",
  39540. "type": "string"
  39541. },
  39542. "ppricemode": {
  39543. "description": "点价价格方式 - 1:商品价 2:固定值",
  39544. "type": "integer"
  39545. },
  39546. "tradedate": {
  39547. "description": "交易日(yyyymmdd)",
  39548. "type": "string"
  39549. },
  39550. "userid": {
  39551. "description": "用户id",
  39552. "type": "integer"
  39553. },
  39554. "username": {
  39555. "description": "用户名称",
  39556. "type": "string"
  39557. },
  39558. "warehousename": {
  39559. "description": "仓库名称",
  39560. "type": "string"
  39561. },
  39562. "wrfactortypeid": {
  39563. "description": "仓单要素类型ID",
  39564. "type": "string"
  39565. },
  39566. "wrtypename": {
  39567. "description": "商品",
  39568. "type": "string"
  39569. },
  39570. "xdeliverycloseqty": {
  39571. "description": "合约数量",
  39572. "type": "number"
  39573. },
  39574. "xgoodsamount": {
  39575. "description": "期初均价",
  39576. "type": "number"
  39577. },
  39578. "xgoodscode": {
  39579. "description": "商品代码",
  39580. "type": "string"
  39581. },
  39582. "xgoodsid": {
  39583. "description": "x交易合约ID",
  39584. "type": "integer"
  39585. },
  39586. "xgoodsname": {
  39587. "description": "商品名称",
  39588. "type": "string"
  39589. }
  39590. }
  39591. },
  39592. "models.WrDeliveryGoodsSection": {
  39593. "type": "object",
  39594. "properties": {
  39595. "dglst": {
  39596. "description": "板块商品列表",
  39597. "type": "array",
  39598. "items": {
  39599. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  39600. }
  39601. },
  39602. "imagepath": {
  39603. "description": "图片地址",
  39604. "type": "string"
  39605. },
  39606. "orderindex": {
  39607. "description": "排序",
  39608. "type": "integer"
  39609. },
  39610. "sectionid": {
  39611. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  39612. "type": "integer"
  39613. },
  39614. "sectionname": {
  39615. "description": "版块名称",
  39616. "type": "string"
  39617. },
  39618. "sectiontype": {
  39619. "description": "版块类型 - 1:指数版块 2:普通版块",
  39620. "type": "integer"
  39621. }
  39622. }
  39623. },
  39624. "models.WrDeliveryGoodsSectionConfig": {
  39625. "type": "object",
  39626. "properties": {
  39627. "deliverygoodscode": {
  39628. "description": "现货商品代码",
  39629. "type": "string"
  39630. },
  39631. "deliverygoodsid": {
  39632. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  39633. "type": "integer"
  39634. },
  39635. "deliverygoodsname": {
  39636. "description": "现货商品名称",
  39637. "type": "string"
  39638. },
  39639. "orderindex": {
  39640. "description": "排序",
  39641. "type": "integer"
  39642. }
  39643. }
  39644. },
  39645. "models.WrDraftUserInfo": {
  39646. "type": "object",
  39647. "properties": {
  39648. "address": {
  39649. "description": "地址",
  39650. "type": "string"
  39651. },
  39652. "attachment1": {
  39653. "description": "附件1",
  39654. "type": "string"
  39655. },
  39656. "attachment2": {
  39657. "description": "附件2",
  39658. "type": "string"
  39659. },
  39660. "attachment3": {
  39661. "description": "附件3",
  39662. "type": "string"
  39663. },
  39664. "attachment4": {
  39665. "description": "附件4",
  39666. "type": "string"
  39667. },
  39668. "attachment5": {
  39669. "description": "附件5",
  39670. "type": "string"
  39671. },
  39672. "bankaccount": {
  39673. "description": "银行帐号 (加密存储)",
  39674. "type": "string"
  39675. },
  39676. "bankaccountname": {
  39677. "description": "收款人名称",
  39678. "type": "string"
  39679. },
  39680. "bankcardfrontphotourl": {
  39681. "description": "银行卡正面照地址",
  39682. "type": "string"
  39683. },
  39684. "bankid": {
  39685. "description": "银行编码",
  39686. "type": "string"
  39687. },
  39688. "bankname": {
  39689. "description": "银行名称",
  39690. "type": "string"
  39691. },
  39692. "birthday": {
  39693. "description": "生日(个人:年月日)",
  39694. "type": "string"
  39695. },
  39696. "biznature": {
  39697. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  39698. "type": "integer"
  39699. },
  39700. "bizscope": {
  39701. "description": "企业经营范围(企业)",
  39702. "type": "string"
  39703. },
  39704. "biztype": {
  39705. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  39706. "type": "integer"
  39707. },
  39708. "cardbackphotourl": {
  39709. "description": "证件背面图片地址",
  39710. "type": "string"
  39711. },
  39712. "cardfrontphotourl": {
  39713. "description": "证件正面图片地址",
  39714. "type": "string"
  39715. },
  39716. "cardnum": {
  39717. "description": "证件号码(加密存储)",
  39718. "type": "string"
  39719. },
  39720. "cardtypeid": {
  39721. "description": "证件类型ID",
  39722. "type": "integer"
  39723. },
  39724. "cityid": {
  39725. "description": "市",
  39726. "type": "integer"
  39727. },
  39728. "company": {
  39729. "description": "公司(个人)",
  39730. "type": "string"
  39731. },
  39732. "contactcardbackphotourl": {
  39733. "description": "联系人证件背面图片地址",
  39734. "type": "string"
  39735. },
  39736. "contactcardfrontphotourl": {
  39737. "description": "联系人证件正面图片地址",
  39738. "type": "string"
  39739. },
  39740. "contactname": {
  39741. "description": "联系人",
  39742. "type": "string"
  39743. },
  39744. "countryid": {
  39745. "description": "国家",
  39746. "type": "integer"
  39747. },
  39748. "createtime": {
  39749. "description": "创建时间",
  39750. "type": "string"
  39751. },
  39752. "creatorid": {
  39753. "description": "创建人",
  39754. "type": "integer"
  39755. },
  39756. "creditquota": {
  39757. "description": "授信额度(金瑞)",
  39758. "type": "number"
  39759. },
  39760. "customername": {
  39761. "description": "客户名称(企业名称)",
  39762. "type": "string"
  39763. },
  39764. "districtid": {
  39765. "description": "地区",
  39766. "type": "integer"
  39767. },
  39768. "email": {
  39769. "description": "邮件(加密存储)",
  39770. "type": "string"
  39771. },
  39772. "fax": {
  39773. "description": "传真(加密存储)",
  39774. "type": "string"
  39775. },
  39776. "halfbodyphotourl": {
  39777. "description": "半身照地址",
  39778. "type": "string"
  39779. },
  39780. "hasencrypt": {
  39781. "description": "数据是否已加密 - 0:未加密 1:已加密",
  39782. "type": "integer"
  39783. },
  39784. "headurl": {
  39785. "description": "头像地址",
  39786. "type": "string"
  39787. },
  39788. "legalcardbackphotourl": {
  39789. "description": "法人身份证背面照地址",
  39790. "type": "string"
  39791. },
  39792. "legalcardfrontphotourl": {
  39793. "description": "法人身份证正面照地址",
  39794. "type": "string"
  39795. },
  39796. "legalpersonname": {
  39797. "description": "法人姓名(企业)",
  39798. "type": "string"
  39799. },
  39800. "mobile": {
  39801. "description": "手机号码(加密存储)",
  39802. "type": "string"
  39803. },
  39804. "mobile2": {
  39805. "description": "手机号码[明文-尚志]",
  39806. "type": "string"
  39807. },
  39808. "modifierid": {
  39809. "description": "修改人",
  39810. "type": "integer"
  39811. },
  39812. "modifiertime": {
  39813. "description": "修改时间",
  39814. "type": "string"
  39815. },
  39816. "needinvoice": {
  39817. "description": "是否需要发票 - 0:不需要 1:需要",
  39818. "type": "integer"
  39819. },
  39820. "nickname": {
  39821. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  39822. "type": "string"
  39823. },
  39824. "openmode": {
  39825. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  39826. "type": "integer"
  39827. },
  39828. "otherurl": {
  39829. "description": "其它图片地址[使用分号分隔]",
  39830. "type": "string"
  39831. },
  39832. "postalcode": {
  39833. "description": "邮政编码",
  39834. "type": "string"
  39835. },
  39836. "provinceid": {
  39837. "description": "省",
  39838. "type": "integer"
  39839. },
  39840. "proxystatementurl": {
  39841. "description": "授权委托书",
  39842. "type": "string"
  39843. },
  39844. "qq": {
  39845. "description": "QQ(加密存储",
  39846. "type": "string"
  39847. },
  39848. "remark": {
  39849. "description": "备注",
  39850. "type": "string"
  39851. },
  39852. "sex": {
  39853. "description": "用户性别 0: 女 1: 男",
  39854. "type": "integer"
  39855. },
  39856. "signpdfurl": {
  39857. "description": "签约pdf文件",
  39858. "type": "string"
  39859. },
  39860. "taxpayernum": {
  39861. "description": "纳税人识别号",
  39862. "type": "string"
  39863. },
  39864. "telphone": {
  39865. "description": "联系电话(加密存储)",
  39866. "type": "string"
  39867. },
  39868. "userid": {
  39869. "description": "用户ID",
  39870. "type": "integer"
  39871. },
  39872. "userinfotype": {
  39873. "description": "用户信息类型 - 1:个人 2:企业",
  39874. "type": "integer"
  39875. },
  39876. "userstatus": {
  39877. "description": "用户状态 - 1:正常 2:注销",
  39878. "type": "integer"
  39879. },
  39880. "usertype": {
  39881. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  39882. "type": "integer"
  39883. },
  39884. "wechat": {
  39885. "description": "微信(加密存储)",
  39886. "type": "string"
  39887. },
  39888. "wskhinfo": {
  39889. "description": "开户申请信息(JSON)",
  39890. "type": "string"
  39891. }
  39892. }
  39893. },
  39894. "models.WrFAProductDetail": {
  39895. "type": "object",
  39896. "properties": {
  39897. "accountid": {
  39898. "description": "资金账号",
  39899. "type": "integer"
  39900. },
  39901. "areauserid": {
  39902. "description": "金融机构ID",
  39903. "type": "integer"
  39904. },
  39905. "financingdays": {
  39906. "description": "天数(天)",
  39907. "type": "integer"
  39908. },
  39909. "interestminlen": {
  39910. "description": "最小起息天数",
  39911. "type": "integer"
  39912. },
  39913. "interestrate": {
  39914. "description": "利率",
  39915. "type": "number"
  39916. },
  39917. "interestratemode": {
  39918. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  39919. "type": "integer"
  39920. },
  39921. "interestsettlemode": {
  39922. "description": "结息方式 - 1:按日结息 3:按月结息",
  39923. "type": "integer"
  39924. },
  39925. "interestsettlevalue": {
  39926. "description": "结息方式值",
  39927. "type": "integer"
  39928. },
  39929. "isautoloan": {
  39930. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  39931. "type": "integer"
  39932. },
  39933. "loantag": {
  39934. "description": "放款标识: \"放款快\" 或者为空",
  39935. "type": "string"
  39936. },
  39937. "marginratio": {
  39938. "description": "保证金比率质押率 - [仓单质押]",
  39939. "type": "number"
  39940. },
  39941. "productdetailid": {
  39942. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  39943. "type": "integer"
  39944. },
  39945. "productid": {
  39946. "description": "金融产品ID",
  39947. "type": "integer"
  39948. },
  39949. "productname": {
  39950. "description": "产品名称",
  39951. "type": "string"
  39952. },
  39953. "updatetime": {
  39954. "description": "更新时间",
  39955. "type": "string"
  39956. },
  39957. "username": {
  39958. "description": "融出方",
  39959. "type": "string"
  39960. }
  39961. }
  39962. },
  39963. "models.WrFactorTypeInfo": {
  39964. "type": "object",
  39965. "properties": {
  39966. "deliverygoodscode": {
  39967. "description": "品种代码",
  39968. "type": "string"
  39969. },
  39970. "deliverygoodsname": {
  39971. "description": "品种名称",
  39972. "type": "string"
  39973. },
  39974. "dgfactoryitemid": {
  39975. "description": "选择项id",
  39976. "type": "integer"
  39977. },
  39978. "dgfactoryitemtypeid": {
  39979. "description": "要素选择项ID (1-仓库 2-品牌)",
  39980. "type": "integer"
  39981. },
  39982. "dgfactoryitemvalue": {
  39983. "description": "要素项值",
  39984. "type": "string"
  39985. },
  39986. "itemtypename": {
  39987. "description": "要素项名称",
  39988. "type": "string"
  39989. },
  39990. "optioncompare": {
  39991. "description": "选择比较串",
  39992. "type": "string"
  39993. },
  39994. "warehouseid": {
  39995. "description": "仓库id",
  39996. "type": "integer"
  39997. },
  39998. "wrfactortypeid": {
  39999. "description": "仓单要素ID",
  40000. "type": "string"
  40001. },
  40002. "wrfactortypename": {
  40003. "description": "要素名称",
  40004. "type": "string"
  40005. },
  40006. "wrfactortypename2": {
  40007. "description": "要素名称(不含仓库)",
  40008. "type": "string"
  40009. },
  40010. "wrstandardcode": {
  40011. "description": "品类代码",
  40012. "type": "string"
  40013. },
  40014. "wrstandardid": {
  40015. "description": "品类id",
  40016. "type": "integer"
  40017. },
  40018. "wrstandardname": {
  40019. "description": "品类名称",
  40020. "type": "string"
  40021. }
  40022. }
  40023. },
  40024. "models.WrFilterItem": {
  40025. "type": "object",
  40026. "properties": {
  40027. "itemcode": {
  40028. "description": "代码",
  40029. "type": "string"
  40030. },
  40031. "itemid": {
  40032. "description": "项id",
  40033. "type": "integer"
  40034. },
  40035. "itemname": {
  40036. "description": "名称",
  40037. "type": "string"
  40038. },
  40039. "itemtype": {
  40040. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  40041. "type": "integer"
  40042. }
  40043. }
  40044. },
  40045. "models.WrFinanceBuyApply": {
  40046. "type": "object",
  40047. "properties": {
  40048. "applydate": {
  40049. "description": "申请时间",
  40050. "type": "string"
  40051. },
  40052. "applystatus": {
  40053. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  40054. "type": "integer"
  40055. },
  40056. "applyuserid": {
  40057. "description": "申请人",
  40058. "type": "integer"
  40059. },
  40060. "auditdate": {
  40061. "description": "审核时间",
  40062. "type": "string"
  40063. },
  40064. "auditremark": {
  40065. "description": "审核备注",
  40066. "type": "string"
  40067. },
  40068. "audituserid": {
  40069. "description": "审核人",
  40070. "type": "integer"
  40071. },
  40072. "buyaccountid": {
  40073. "description": "买方资金账号",
  40074. "type": "integer"
  40075. },
  40076. "buyorsell": {
  40077. "description": "买卖 - 0:买 1:卖",
  40078. "type": "integer"
  40079. },
  40080. "buyuserid": {
  40081. "description": "买方用户ID",
  40082. "type": "integer"
  40083. },
  40084. "buyusername": {
  40085. "description": "买方名称",
  40086. "type": "string"
  40087. },
  40088. "buywrtradeorderid": {
  40089. "description": "融资方买委托单ID",
  40090. "type": "string"
  40091. },
  40092. "deliverygoodscode": {
  40093. "description": "品种代码",
  40094. "type": "string"
  40095. },
  40096. "deliverygoodsid": {
  40097. "description": "品种ID",
  40098. "type": "integer"
  40099. },
  40100. "deliverygoodsname": {
  40101. "description": "品种名称",
  40102. "type": "string"
  40103. },
  40104. "deliverymonth": {
  40105. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  40106. "type": "string"
  40107. },
  40108. "enumdicname": {
  40109. "description": "单位名称",
  40110. "type": "string"
  40111. },
  40112. "financeaccountid": {
  40113. "description": "融资方资金帐户ID",
  40114. "type": "integer"
  40115. },
  40116. "financeapplyid": {
  40117. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40118. "type": "string"
  40119. },
  40120. "financeareauserid": {
  40121. "description": "融资方用户ID",
  40122. "type": "string"
  40123. },
  40124. "financename": {
  40125. "description": "融出方名称",
  40126. "type": "string"
  40127. },
  40128. "financetype": {
  40129. "description": "融资类型 1-融资回购",
  40130. "type": "integer"
  40131. },
  40132. "financingdays": {
  40133. "description": "天数(天)",
  40134. "type": "integer"
  40135. },
  40136. "freezebuymargin": {
  40137. "description": "冻结融资保证金(买方)",
  40138. "type": "number"
  40139. },
  40140. "handleremark": {
  40141. "description": "处理备注",
  40142. "type": "string"
  40143. },
  40144. "handlestatus": {
  40145. "description": "处理状态",
  40146. "type": "integer"
  40147. },
  40148. "interestminlen": {
  40149. "description": "最小起息天数",
  40150. "type": "integer"
  40151. },
  40152. "interestrate": {
  40153. "description": "利率",
  40154. "type": "number"
  40155. },
  40156. "interestratemode": {
  40157. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  40158. "type": "integer"
  40159. },
  40160. "interestsettlemode": {
  40161. "description": "结息方式 - 1:按日结息 3:按月结息",
  40162. "type": "integer"
  40163. },
  40164. "interestsettlevalue": {
  40165. "description": "结息方式值",
  40166. "type": "integer"
  40167. },
  40168. "isautoloan": {
  40169. "description": "是否自动放款 - 0:手动 1:自动",
  40170. "type": "integer"
  40171. },
  40172. "marginratio": {
  40173. "description": "保证金比率质押率 - [仓单质押]",
  40174. "type": "number"
  40175. },
  40176. "marketid": {
  40177. "description": "市场ID",
  40178. "type": "integer"
  40179. },
  40180. "minivalue": {
  40181. "description": "现货商品最小变动值",
  40182. "type": "integer"
  40183. },
  40184. "optioncompare": {
  40185. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40186. "type": "string"
  40187. },
  40188. "orderqty": {
  40189. "description": "委托数量(商品数量)",
  40190. "type": "number"
  40191. },
  40192. "productdetailid": {
  40193. "description": "产品组合ID",
  40194. "type": "integer"
  40195. },
  40196. "productid": {
  40197. "description": "金融产品ID",
  40198. "type": "integer"
  40199. },
  40200. "productname": {
  40201. "description": "产品名称",
  40202. "type": "string"
  40203. },
  40204. "remark": {
  40205. "description": "备注",
  40206. "type": "string"
  40207. },
  40208. "scfcontractid": {
  40209. "description": "仓单回购合同ID",
  40210. "type": "string"
  40211. },
  40212. "sellaccountid": {
  40213. "description": "卖方资金账号",
  40214. "type": "integer"
  40215. },
  40216. "selluserid": {
  40217. "description": "卖方用户ID",
  40218. "type": "integer"
  40219. },
  40220. "sellwrtradeorderid": {
  40221. "description": "卖方委托单ID",
  40222. "type": "string"
  40223. },
  40224. "tradeamount": {
  40225. "description": "成交金额(借款金额)",
  40226. "type": "number"
  40227. },
  40228. "tradedate": {
  40229. "description": "交易日(yyyyMMdd)",
  40230. "type": "string"
  40231. },
  40232. "tradeprice": {
  40233. "description": "成交价格",
  40234. "type": "number"
  40235. },
  40236. "warehouseid": {
  40237. "description": "仓库ID",
  40238. "type": "integer"
  40239. },
  40240. "warehousename": {
  40241. "description": "仓库名称",
  40242. "type": "string"
  40243. },
  40244. "wrfactortypeid": {
  40245. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40246. "type": "string"
  40247. },
  40248. "wrfactortypename": {
  40249. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40250. "type": "string"
  40251. },
  40252. "wrpricetype": {
  40253. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  40254. "type": "integer"
  40255. },
  40256. "wrstandardcode": {
  40257. "description": "现货商品代码",
  40258. "type": "string"
  40259. },
  40260. "wrstandardid": {
  40261. "description": "现货商品ID",
  40262. "type": "integer"
  40263. },
  40264. "wrstandardname": {
  40265. "description": "商品名称",
  40266. "type": "string"
  40267. },
  40268. "wrtypename": {
  40269. "description": "商品",
  40270. "type": "string"
  40271. }
  40272. }
  40273. },
  40274. "models.WrFriendApply": {
  40275. "type": "object",
  40276. "properties": {
  40277. "applicantid": {
  40278. "description": "申请人",
  40279. "type": "integer"
  40280. },
  40281. "applyname": {
  40282. "description": "申请人名称",
  40283. "type": "string"
  40284. },
  40285. "applysrc": {
  40286. "description": "申请来源 - 1:管理端 2:终端",
  40287. "type": "integer"
  40288. },
  40289. "applystatus": {
  40290. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  40291. "type": "integer"
  40292. },
  40293. "applytime": {
  40294. "description": "申请时间",
  40295. "type": "string"
  40296. },
  40297. "auditname": {
  40298. "description": "审核人名称",
  40299. "type": "string"
  40300. },
  40301. "auditorid": {
  40302. "description": "审核人",
  40303. "type": "integer"
  40304. },
  40305. "auditremark": {
  40306. "description": "审核备注",
  40307. "type": "string"
  40308. },
  40309. "auditsrc": {
  40310. "description": "审核来源 - 1:管理端 2:终端",
  40311. "type": "integer"
  40312. },
  40313. "audittime": {
  40314. "description": "审核时间",
  40315. "type": "string"
  40316. },
  40317. "friendapplyid": {
  40318. "description": "申请ID(SEQ_FRIENDAPPLY)",
  40319. "type": "string"
  40320. },
  40321. "friendname": {
  40322. "description": "好友名字(已脱敏)",
  40323. "type": "string"
  40324. },
  40325. "frienduserid": {
  40326. "description": "好友用户ID",
  40327. "type": "string"
  40328. },
  40329. "remark": {
  40330. "description": "备注",
  40331. "type": "string"
  40332. },
  40333. "userid": {
  40334. "description": "申请人用户ID",
  40335. "type": "integer"
  40336. }
  40337. }
  40338. },
  40339. "models.WrFtDeliveryGoods": {
  40340. "type": "object",
  40341. "properties": {
  40342. "deliverygoodscode": {
  40343. "description": "品种代码",
  40344. "type": "string"
  40345. },
  40346. "deliverygoodsid": {
  40347. "description": "品种ID",
  40348. "type": "integer"
  40349. },
  40350. "deliverygoodsname": {
  40351. "description": "品种名称",
  40352. "type": "string"
  40353. },
  40354. "wdlst": {
  40355. "description": "商品列表",
  40356. "type": "array",
  40357. "items": {
  40358. "$ref": "#/definitions/models.WrFtWrstandard"
  40359. }
  40360. }
  40361. }
  40362. },
  40363. "models.WrFtWrstandard": {
  40364. "type": "object",
  40365. "properties": {
  40366. "enumdicname": {
  40367. "description": "单位名称",
  40368. "type": "string"
  40369. },
  40370. "minivalue": {
  40371. "description": "最小变动值",
  40372. "type": "integer"
  40373. },
  40374. "wrstandardcode": {
  40375. "description": "现货商品代码",
  40376. "type": "string"
  40377. },
  40378. "wrstandardid": {
  40379. "description": "现货商品ID",
  40380. "type": "integer"
  40381. },
  40382. "wrstandardname": {
  40383. "description": "商品名称",
  40384. "type": "string"
  40385. }
  40386. }
  40387. },
  40388. "models.WrGoodsInfo": {
  40389. "type": "object",
  40390. "properties": {
  40391. "haswr": {
  40392. "description": "0:仓单预售 1:仓单贸易",
  40393. "type": "integer"
  40394. },
  40395. "lstitem": {
  40396. "description": "商品信息项",
  40397. "type": "array",
  40398. "items": {
  40399. "$ref": "#/definitions/models.WrTypeItem"
  40400. }
  40401. },
  40402. "lststep": {
  40403. "description": "履约规则",
  40404. "type": "array",
  40405. "items": {
  40406. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  40407. }
  40408. },
  40409. "marketid": {
  40410. "description": "市场id",
  40411. "type": "integer"
  40412. }
  40413. }
  40414. },
  40415. "models.WrGoodsPerformanceStep": {
  40416. "type": "object",
  40417. "properties": {
  40418. "autoid": {
  40419. "description": "AutoID",
  40420. "type": "integer"
  40421. },
  40422. "isauto": {
  40423. "description": "是否自动 - 0:不自动 1:自动",
  40424. "type": "integer"
  40425. },
  40426. "remark": {
  40427. "description": "备注",
  40428. "type": "string"
  40429. },
  40430. "stepdate": {
  40431. "description": "天数信息(T+N)",
  40432. "type": "string"
  40433. },
  40434. "stepdays": {
  40435. "description": "距离上一步天数",
  40436. "type": "integer"
  40437. },
  40438. "stepindex": {
  40439. "description": "步骤序号",
  40440. "type": "integer"
  40441. },
  40442. "stepinfo": {
  40443. "description": "步骤信息(步骤名称+步骤值)",
  40444. "type": "string"
  40445. },
  40446. "steptypeid": {
  40447. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  40448. "type": "integer"
  40449. },
  40450. "steptypename": {
  40451. "description": "步骤名称",
  40452. "type": "string"
  40453. },
  40454. "stepvalue": {
  40455. "description": "期初均价",
  40456. "type": "number"
  40457. },
  40458. "templateid": {
  40459. "description": "履约计划模板ID",
  40460. "type": "integer"
  40461. }
  40462. }
  40463. },
  40464. "models.WrHoldLB": {
  40465. "type": "object",
  40466. "properties": {
  40467. "accountid": {
  40468. "description": "持有人帐户ID",
  40469. "type": "integer"
  40470. },
  40471. "bannerpicurl": {
  40472. "description": "Banner图",
  40473. "type": "string"
  40474. },
  40475. "createtime": {
  40476. "description": "创建时间(过户时间)",
  40477. "type": "string"
  40478. },
  40479. "deliverygoodscode": {
  40480. "description": "品种代码",
  40481. "type": "string"
  40482. },
  40483. "deliverygoodsid": {
  40484. "description": "品种ID",
  40485. "type": "integer"
  40486. },
  40487. "deliverygoodsname": {
  40488. "description": "品种名称",
  40489. "type": "string"
  40490. },
  40491. "enableqty": {
  40492. "description": "可用数量",
  40493. "type": "number"
  40494. },
  40495. "enumdicname": {
  40496. "description": "单位名称",
  40497. "type": "string"
  40498. },
  40499. "freezerqty": {
  40500. "description": "冻结数量",
  40501. "type": "number"
  40502. },
  40503. "ladingbillid": {
  40504. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40505. "type": "string"
  40506. },
  40507. "minivalue": {
  40508. "description": "现货商品最小变动值",
  40509. "type": "integer"
  40510. },
  40511. "optioncompare": {
  40512. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40513. "type": "string"
  40514. },
  40515. "parentsubnum": {
  40516. "description": "拆分父子单号",
  40517. "type": "integer"
  40518. },
  40519. "pledgeqty": {
  40520. "description": "质押数量",
  40521. "type": "number"
  40522. },
  40523. "qty": {
  40524. "description": "数量",
  40525. "type": "number"
  40526. },
  40527. "subnum": {
  40528. "description": "提单子单号",
  40529. "type": "integer"
  40530. },
  40531. "thumurls": {
  40532. "description": "缩略图",
  40533. "type": "string"
  40534. },
  40535. "tradedate": {
  40536. "description": "交易日(yyyyMMdd)",
  40537. "type": "string"
  40538. },
  40539. "userid": {
  40540. "description": "持有人ID",
  40541. "type": "integer"
  40542. },
  40543. "warehouseid": {
  40544. "description": "仓库ID",
  40545. "type": "integer"
  40546. },
  40547. "warehousename": {
  40548. "description": "仓库名称",
  40549. "type": "string"
  40550. },
  40551. "wrfactortypeid": {
  40552. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40553. "type": "string"
  40554. },
  40555. "wrfactortypename": {
  40556. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40557. "type": "string"
  40558. },
  40559. "wrholdeno": {
  40560. "description": "仓单编号",
  40561. "type": "string"
  40562. },
  40563. "wrid": {
  40564. "description": "仓单变更ID",
  40565. "type": "string"
  40566. },
  40567. "wrstandardcode": {
  40568. "description": "现货商品代码",
  40569. "type": "string"
  40570. },
  40571. "wrstandardid": {
  40572. "description": "现货商品ID",
  40573. "type": "integer"
  40574. },
  40575. "wrstandardname": {
  40576. "description": "商品名称",
  40577. "type": "string"
  40578. },
  40579. "wrtypename": {
  40580. "description": "商品",
  40581. "type": "string"
  40582. }
  40583. }
  40584. },
  40585. "models.WrMarketTradeConfig": {
  40586. "type": "object",
  40587. "properties": {
  40588. "basisdownratio": {
  40589. "description": "浮动价基差下限比例(仓单贸易)",
  40590. "type": "number"
  40591. },
  40592. "basisupratio": {
  40593. "description": "浮动价基差上限比例(仓单贸易)",
  40594. "type": "number"
  40595. },
  40596. "buychargealgorithm": {
  40597. "description": "买方手续费收取方式 1:比率 2:固定",
  40598. "type": "integer"
  40599. },
  40600. "buychargealgorithm2": {
  40601. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40602. "type": "integer"
  40603. },
  40604. "buychargealgorithmvalue": {
  40605. "description": "买方手续费设置值(交易所部分)",
  40606. "type": "number"
  40607. },
  40608. "buychargealgorithmvalue2": {
  40609. "description": "买方手续费设置值(会员部分)",
  40610. "type": "number"
  40611. },
  40612. "buychargealgorithmvalue3": {
  40613. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  40614. "type": "number"
  40615. },
  40616. "buychargealgorithmvalue4": {
  40617. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  40618. "type": "number"
  40619. },
  40620. "buyfirstmarginalgorithm": {
  40621. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  40622. "type": "integer"
  40623. },
  40624. "buyfirstmarginvalue": {
  40625. "description": "买方出价保证金设置值 - [竞拍]",
  40626. "type": "number"
  40627. },
  40628. "buymarginalgorithm": {
  40629. "description": "买方保证金方式 - 1:比率 2:固定",
  40630. "type": "integer"
  40631. },
  40632. "buymarginvalue": {
  40633. "description": "买方保证金设置值",
  40634. "type": "number"
  40635. },
  40636. "buyreleaseratio": {
  40637. "description": "买方释放比率[2:分步履约]",
  40638. "type": "number"
  40639. },
  40640. "executemode": {
  40641. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  40642. "type": "integer"
  40643. },
  40644. "executeside": {
  40645. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  40646. "type": "integer"
  40647. },
  40648. "failedchargealgorithm": {
  40649. "description": "流拍手续费收取方式 1:比率 2:固定",
  40650. "type": "integer"
  40651. },
  40652. "failedchargevalue": {
  40653. "description": "流拍手续费设置值",
  40654. "type": "number"
  40655. },
  40656. "failedchargevalue2": {
  40657. "description": "流拍卖方手续费设置值",
  40658. "type": "number"
  40659. },
  40660. "holddays": {
  40661. "description": "合同期限[2:分步履约]",
  40662. "type": "integer"
  40663. },
  40664. "listingmode": {
  40665. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40666. "type": "integer"
  40667. },
  40668. "marketid": {
  40669. "description": "市场ID-仓单贸易、竞拍、预售",
  40670. "type": "integer"
  40671. },
  40672. "minqty": {
  40673. "description": "最小执行量[2:分步履约]",
  40674. "type": "number"
  40675. },
  40676. "modifierid": {
  40677. "description": "修改人",
  40678. "type": "integer"
  40679. },
  40680. "nowrquotaflag": {
  40681. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  40682. "type": "integer"
  40683. },
  40684. "performancetempid": {
  40685. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40686. "type": "integer"
  40687. },
  40688. "performancetempid2": {
  40689. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40690. "type": "integer"
  40691. },
  40692. "performancetempid2s": {
  40693. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  40694. "type": "string"
  40695. },
  40696. "performancetempids": {
  40697. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  40698. "type": "string"
  40699. },
  40700. "performanceway": {
  40701. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  40702. "type": "integer"
  40703. },
  40704. "sellchargealgorithm": {
  40705. "description": "卖方手续费收取方式 1:比率 2:固定",
  40706. "type": "integer"
  40707. },
  40708. "sellchargealgorithm2": {
  40709. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  40710. "type": "integer"
  40711. },
  40712. "sellchargealgorithmvalue": {
  40713. "description": "卖方手续费设置值(交易所部分)",
  40714. "type": "number"
  40715. },
  40716. "sellchargealgorithmvalue2": {
  40717. "description": "卖方手续费设置值(会员部分)",
  40718. "type": "number"
  40719. },
  40720. "sellchargealgorithmvalue3": {
  40721. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  40722. "type": "number"
  40723. },
  40724. "sellchargealgorithmvalue4": {
  40725. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  40726. "type": "number"
  40727. },
  40728. "sellmarginalgorithm": {
  40729. "description": "卖方保证金方式 - 1:比率 2:固定",
  40730. "type": "integer"
  40731. },
  40732. "sellmarginvalue": {
  40733. "description": "卖方保证金设置值",
  40734. "type": "number"
  40735. },
  40736. "sellmarginvalue2": {
  40737. "description": "卖方保证金设置值(无仓单)",
  40738. "type": "number"
  40739. },
  40740. "sellreleaseratio": {
  40741. "description": "卖方释放比率[2:分步履约]",
  40742. "type": "number"
  40743. },
  40744. "updatetime": {
  40745. "description": "更新时间",
  40746. "type": "string"
  40747. }
  40748. }
  40749. },
  40750. "models.WrOrderDetail": {
  40751. "type": "object",
  40752. "properties": {
  40753. "accountid": {
  40754. "description": "交易账号(资金账号)",
  40755. "type": "integer"
  40756. },
  40757. "allfriendsflag": {
  40758. "description": "是否全好友可见 - 0:否 1:是",
  40759. "type": "integer"
  40760. },
  40761. "amount": {
  40762. "description": "期初均价",
  40763. "type": "number"
  40764. },
  40765. "bannerpicurl": {
  40766. "description": "Banner图",
  40767. "type": "string"
  40768. },
  40769. "begindate": {
  40770. "description": "开始交易日(yyyymmdd)",
  40771. "type": "string"
  40772. },
  40773. "buyorsell": {
  40774. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  40775. "type": "integer"
  40776. },
  40777. "canbargain": {
  40778. "description": "是否可议价 - 0:不可 1:可",
  40779. "type": "integer"
  40780. },
  40781. "cancelqty": {
  40782. "description": "撤销数量",
  40783. "type": "number"
  40784. },
  40785. "canpart": {
  40786. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  40787. "type": "integer"
  40788. },
  40789. "delistminqty": {
  40790. "description": "起摘数量",
  40791. "type": "integer"
  40792. },
  40793. "deliverygoodscode": {
  40794. "description": "品种代码",
  40795. "type": "string"
  40796. },
  40797. "deliverygoodsid": {
  40798. "description": "品种ID",
  40799. "type": "integer"
  40800. },
  40801. "deliverygoodsname": {
  40802. "description": "品种名称",
  40803. "type": "string"
  40804. },
  40805. "deliverymonth": {
  40806. "description": "交收月",
  40807. "type": "string"
  40808. },
  40809. "enddate": {
  40810. "description": "结束交易日(yyyymmdd)",
  40811. "type": "string"
  40812. },
  40813. "enumdicname": {
  40814. "description": "单位名称",
  40815. "type": "string"
  40816. },
  40817. "fixedprice": {
  40818. "description": "固定价格 - [挂牌]",
  40819. "type": "number"
  40820. },
  40821. "freezecharge": {
  40822. "description": "期初均价",
  40823. "type": "number"
  40824. },
  40825. "freezemargin": {
  40826. "description": "期初均价",
  40827. "type": "number"
  40828. },
  40829. "futupricemove": {
  40830. "description": "期货升贴水",
  40831. "type": "number"
  40832. },
  40833. "futushow": {
  40834. "description": "期货合约/升贴水",
  40835. "type": "string"
  40836. },
  40837. "goodscode": {
  40838. "description": "期货合约",
  40839. "type": "string"
  40840. },
  40841. "goodsid": {
  40842. "description": "期货商品id",
  40843. "type": "integer"
  40844. },
  40845. "goodsname": {
  40846. "description": "商品名称",
  40847. "type": "string"
  40848. },
  40849. "haswr": {
  40850. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  40851. "type": "integer"
  40852. },
  40853. "isspecified": {
  40854. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  40855. "type": "integer"
  40856. },
  40857. "ladingbillid": {
  40858. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  40859. "type": "string"
  40860. },
  40861. "marginvalue": {
  40862. "description": "期初均价",
  40863. "type": "number"
  40864. },
  40865. "marketid": {
  40866. "description": "市场ID",
  40867. "type": "integer"
  40868. },
  40869. "matchusername": {
  40870. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  40871. "type": "string"
  40872. },
  40873. "minivalue": {
  40874. "description": "现货商品最小变动值",
  40875. "type": "integer"
  40876. },
  40877. "optioncompare": {
  40878. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  40879. "type": "string"
  40880. },
  40881. "orderqty": {
  40882. "description": "委托数量",
  40883. "type": "number"
  40884. },
  40885. "ordertime": {
  40886. "description": "委托时间(挂牌时间)",
  40887. "type": "string"
  40888. },
  40889. "performancetemplateid": {
  40890. "description": "履约模板id",
  40891. "type": "integer"
  40892. },
  40893. "pricemove": {
  40894. "description": "升贴水(浮动价时填写) - [挂牌]",
  40895. "type": "number"
  40896. },
  40897. "taname": {
  40898. "description": "交易用户名称(资金账号名称)",
  40899. "type": "string"
  40900. },
  40901. "thumurls": {
  40902. "description": "缩略图",
  40903. "type": "string"
  40904. },
  40905. "tradedate": {
  40906. "description": "交易日(yyyyMMdd)",
  40907. "type": "string"
  40908. },
  40909. "tradeprice": {
  40910. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  40911. "type": "number"
  40912. },
  40913. "tradeqty": {
  40914. "description": "成交数量",
  40915. "type": "number"
  40916. },
  40917. "userid": {
  40918. "description": "用户ID",
  40919. "type": "integer"
  40920. },
  40921. "validtime": {
  40922. "description": "挂牌有效期",
  40923. "type": "string"
  40924. },
  40925. "validtype": {
  40926. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  40927. "type": "integer"
  40928. },
  40929. "warehouseid": {
  40930. "description": "仓库ID",
  40931. "type": "integer"
  40932. },
  40933. "warehousename": {
  40934. "description": "仓库名称",
  40935. "type": "string"
  40936. },
  40937. "wrfactortypeid": {
  40938. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  40939. "type": "string"
  40940. },
  40941. "wrfactortypename": {
  40942. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  40943. "type": "string"
  40944. },
  40945. "wrpricetype": {
  40946. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40947. "type": "integer"
  40948. },
  40949. "wrstandardcode": {
  40950. "description": "现货商品代码",
  40951. "type": "string"
  40952. },
  40953. "wrstandardid": {
  40954. "description": "现货商品ID",
  40955. "type": "integer"
  40956. },
  40957. "wrstandardname": {
  40958. "description": "商品名称",
  40959. "type": "string"
  40960. },
  40961. "wrtradeorderid": {
  40962. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40963. "type": "string"
  40964. },
  40965. "wrtradeorderstatus": {
  40966. "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:撤单解冻贷款失败",
  40967. "type": "integer"
  40968. },
  40969. "wrtradetype": {
  40970. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40971. "type": "integer"
  40972. },
  40973. "wrtypename": {
  40974. "description": "商品",
  40975. "type": "string"
  40976. }
  40977. }
  40978. },
  40979. "models.WrOrderQuote": {
  40980. "type": "object",
  40981. "properties": {
  40982. "bannerpicurl": {
  40983. "description": "Banner图",
  40984. "type": "string"
  40985. },
  40986. "buyprice": {
  40987. "description": "买价",
  40988. "type": "number"
  40989. },
  40990. "buypricemove": {
  40991. "description": "买升贴水(基差)",
  40992. "type": "number"
  40993. },
  40994. "buyqty": {
  40995. "description": "买量",
  40996. "type": "number"
  40997. },
  40998. "deliverygoodscode": {
  40999. "description": "品种代码",
  41000. "type": "string"
  41001. },
  41002. "deliverygoodsid": {
  41003. "description": "品种id",
  41004. "type": "integer"
  41005. },
  41006. "deliverygoodsname": {
  41007. "description": "品种名称",
  41008. "type": "string"
  41009. },
  41010. "deliverymonth": {
  41011. "description": "交收月",
  41012. "type": "string"
  41013. },
  41014. "enumdicname": {
  41015. "description": "单位名称",
  41016. "type": "string"
  41017. },
  41018. "goodscode": {
  41019. "description": "商品合约(浮动价列表才有)",
  41020. "type": "string"
  41021. },
  41022. "goodsid": {
  41023. "description": "商品id(浮动价列表才有)",
  41024. "type": "integer"
  41025. },
  41026. "minivalue": {
  41027. "description": "现货商品最小变动值",
  41028. "type": "integer"
  41029. },
  41030. "pictureurls": {
  41031. "description": "详情图片(逗号分隔)",
  41032. "type": "string"
  41033. },
  41034. "sellprice": {
  41035. "description": "卖价",
  41036. "type": "number"
  41037. },
  41038. "sellpricemove": {
  41039. "description": "卖升贴水(基差)",
  41040. "type": "number"
  41041. },
  41042. "sellqty": {
  41043. "description": "卖量",
  41044. "type": "number"
  41045. },
  41046. "thumurls": {
  41047. "description": "缩略图片(1:1)(逗号分隔)",
  41048. "type": "string"
  41049. },
  41050. "warehousecode": {
  41051. "description": "仓库代码",
  41052. "type": "string"
  41053. },
  41054. "warehouseid": {
  41055. "description": "仓库id",
  41056. "type": "integer"
  41057. },
  41058. "warehousename": {
  41059. "description": "仓库名称",
  41060. "type": "string"
  41061. },
  41062. "wrfactortypeid": {
  41063. "description": "仓单要素id",
  41064. "type": "string"
  41065. },
  41066. "wrfactortypename": {
  41067. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41068. "type": "string"
  41069. },
  41070. "wrgoodsname": {
  41071. "description": "商品(商品名称+仓库要素名称 拼接)",
  41072. "type": "string"
  41073. },
  41074. "wrstandardcode": {
  41075. "description": "商品代码",
  41076. "type": "string"
  41077. },
  41078. "wrstandardid": {
  41079. "description": "商品id",
  41080. "type": "integer"
  41081. },
  41082. "wrstandardname": {
  41083. "description": "商品名称",
  41084. "type": "string"
  41085. }
  41086. }
  41087. },
  41088. "models.WrOrderQuoteDetail": {
  41089. "type": "object",
  41090. "properties": {
  41091. "buyorsell": {
  41092. "description": "买卖 - 0:买 1:卖",
  41093. "type": "integer"
  41094. },
  41095. "delistminqty": {
  41096. "description": "期初均价",
  41097. "type": "number"
  41098. },
  41099. "deliverymonth": {
  41100. "description": "交收月",
  41101. "type": "string"
  41102. },
  41103. "enumdicname": {
  41104. "description": "单位名称",
  41105. "type": "string"
  41106. },
  41107. "fixedprice": {
  41108. "description": "买(卖)价",
  41109. "type": "number"
  41110. },
  41111. "marketid": {
  41112. "description": "市场id",
  41113. "type": "integer"
  41114. },
  41115. "minivalue": {
  41116. "description": "现货商品最小变动值",
  41117. "type": "integer"
  41118. },
  41119. "orderqty": {
  41120. "description": "买(卖)量(=委托量-成交量)",
  41121. "type": "number"
  41122. },
  41123. "ordertime": {
  41124. "description": "委托时间",
  41125. "type": "string"
  41126. },
  41127. "pricemove": {
  41128. "description": "买(卖)升贴水- 基差",
  41129. "type": "number"
  41130. },
  41131. "userid": {
  41132. "description": "购买方(销售方)用户ID",
  41133. "type": "integer"
  41134. },
  41135. "username": {
  41136. "description": "购买方(销售方)",
  41137. "type": "string"
  41138. },
  41139. "wrtradeorderid": {
  41140. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  41141. "type": "string"
  41142. }
  41143. }
  41144. },
  41145. "models.WrOutInApply": {
  41146. "type": "object",
  41147. "properties": {
  41148. "applyid": {
  41149. "description": "申请单id",
  41150. "type": "string"
  41151. },
  41152. "applystatus": {
  41153. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  41154. "type": "integer"
  41155. },
  41156. "applytime": {
  41157. "description": "申请时间",
  41158. "type": "string"
  41159. },
  41160. "applytype": {
  41161. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  41162. "type": "integer"
  41163. },
  41164. "bannerpicurl": {
  41165. "description": "Banner图",
  41166. "type": "string"
  41167. },
  41168. "begindate": {
  41169. "description": "开始交易日(yyyymmdd)",
  41170. "type": "string"
  41171. },
  41172. "deliverygoodscode": {
  41173. "description": "品种代码",
  41174. "type": "string"
  41175. },
  41176. "deliverygoodsid": {
  41177. "description": "品种ID",
  41178. "type": "integer"
  41179. },
  41180. "deliverygoodsname": {
  41181. "description": "品种名称",
  41182. "type": "string"
  41183. },
  41184. "enddate": {
  41185. "description": "结束交易日(yyyymmdd)",
  41186. "type": "string"
  41187. },
  41188. "enumdicname": {
  41189. "description": "单位名称",
  41190. "type": "string"
  41191. },
  41192. "expresscompany": {
  41193. "description": "物流公司",
  41194. "type": "string"
  41195. },
  41196. "expressnum": {
  41197. "description": "物流单号",
  41198. "type": "string"
  41199. },
  41200. "minivalue": {
  41201. "description": "现货商品最小变动值",
  41202. "type": "integer"
  41203. },
  41204. "optioncompare": {
  41205. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41206. "type": "string"
  41207. },
  41208. "qty": {
  41209. "description": "数量",
  41210. "type": "integer"
  41211. },
  41212. "userid": {
  41213. "description": "用户id",
  41214. "type": "integer"
  41215. },
  41216. "warehouseid": {
  41217. "description": "仓库ID",
  41218. "type": "integer"
  41219. },
  41220. "warehousename": {
  41221. "description": "仓库名称",
  41222. "type": "string"
  41223. },
  41224. "wrfactortypeid": {
  41225. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41226. "type": "string"
  41227. },
  41228. "wrfactortypename": {
  41229. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41230. "type": "string"
  41231. },
  41232. "wrstandardcode": {
  41233. "description": "现货商品代码",
  41234. "type": "string"
  41235. },
  41236. "wrstandardid": {
  41237. "description": "现货商品ID",
  41238. "type": "integer"
  41239. },
  41240. "wrstandardname": {
  41241. "description": "商品名称",
  41242. "type": "string"
  41243. },
  41244. "wrtypename": {
  41245. "description": "商品",
  41246. "type": "string"
  41247. }
  41248. }
  41249. },
  41250. "models.WrPerformancePlan": {
  41251. "type": "object",
  41252. "required": [
  41253. "userid"
  41254. ],
  41255. "properties": {
  41256. "activatemonth": {
  41257. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  41258. "type": "string"
  41259. },
  41260. "amount": {
  41261. "description": "履约金额(总金额)",
  41262. "type": "number"
  41263. },
  41264. "begindate": {
  41265. "description": "开始交易日(yyyymmdd)",
  41266. "type": "string"
  41267. },
  41268. "buyaccountid": {
  41269. "description": "买方账号",
  41270. "type": "integer"
  41271. },
  41272. "buyerfreezeamount": {
  41273. "description": "履约冻结(买履约)",
  41274. "type": "number"
  41275. },
  41276. "buyerfreezeamountremain": {
  41277. "description": "履约冻结剩余(买履约)",
  41278. "type": "number"
  41279. },
  41280. "buyorsell": {
  41281. "description": "买卖方向 0-买 1-卖",
  41282. "type": "integer"
  41283. },
  41284. "buypaidamount": {
  41285. "description": "买方已冻/已扣金额 (已付金额)",
  41286. "type": "number"
  41287. },
  41288. "buyusername": {
  41289. "description": "买方名字",
  41290. "type": "string"
  41291. },
  41292. "contractid": {
  41293. "description": "合同ID",
  41294. "type": "integer"
  41295. },
  41296. "createtime": {
  41297. "description": "创建时间",
  41298. "type": "string"
  41299. },
  41300. "creatorid": {
  41301. "description": "创建人",
  41302. "type": "integer"
  41303. },
  41304. "curstepdeadline": {
  41305. "description": "当前步骤到期时间",
  41306. "type": "string"
  41307. },
  41308. "curstepid": {
  41309. "description": "当前步骤ID",
  41310. "type": "string"
  41311. },
  41312. "curstepname": {
  41313. "description": "当前步骤名称",
  41314. "type": "string"
  41315. },
  41316. "deliverygoodscode": {
  41317. "description": "品种代码",
  41318. "type": "string"
  41319. },
  41320. "deliverygoodsid": {
  41321. "description": "品种ID",
  41322. "type": "integer"
  41323. },
  41324. "deliverygoodsname": {
  41325. "description": "品种名称",
  41326. "type": "string"
  41327. },
  41328. "enddate": {
  41329. "description": "结束交易日(yyyymmdd)",
  41330. "type": "string"
  41331. },
  41332. "enumdicname": {
  41333. "description": "单位名称",
  41334. "type": "string"
  41335. },
  41336. "expressfee": {
  41337. "description": "运费",
  41338. "type": "number"
  41339. },
  41340. "expressfeeconfirmed": {
  41341. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  41342. "type": "integer"
  41343. },
  41344. "hasovershort": {
  41345. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  41346. "type": "integer"
  41347. },
  41348. "haswr": {
  41349. "description": "类型 0-仓单预售 1-仓单贸易",
  41350. "type": "integer"
  41351. },
  41352. "marketid": {
  41353. "description": "市场ID",
  41354. "type": "integer"
  41355. },
  41356. "middleaccountid": {
  41357. "description": "中间商资金账号ID",
  41358. "type": "integer"
  41359. },
  41360. "middleuserid": {
  41361. "description": "中间商用户ID",
  41362. "type": "integer"
  41363. },
  41364. "minivalue": {
  41365. "description": "现货商品最小变动值",
  41366. "type": "integer"
  41367. },
  41368. "optioncompare": {
  41369. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41370. "type": "string"
  41371. },
  41372. "overshortamount": {
  41373. "description": "溢短金额",
  41374. "type": "number"
  41375. },
  41376. "overshortqty": {
  41377. "description": "溢短数量",
  41378. "type": "number"
  41379. },
  41380. "paymenttype": {
  41381. "description": "付款方式 - 1:冻结 2:扣款",
  41382. "type": "integer"
  41383. },
  41384. "performanceplanid": {
  41385. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  41386. "type": "string"
  41387. },
  41388. "performancestatus": {
  41389. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  41390. "type": "integer"
  41391. },
  41392. "performancetype": {
  41393. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  41394. "type": "integer"
  41395. },
  41396. "qty": {
  41397. "description": "履约数量",
  41398. "type": "number"
  41399. },
  41400. "relatedorderid": {
  41401. "description": "关联单号(履约类型的关联单号)",
  41402. "type": "string"
  41403. },
  41404. "remark": {
  41405. "description": "备注",
  41406. "type": "string"
  41407. },
  41408. "sellaccountid": {
  41409. "description": "卖方账号",
  41410. "type": "integer"
  41411. },
  41412. "sellerfreezeamount": {
  41413. "description": "履约冻结(卖履约)",
  41414. "type": "number"
  41415. },
  41416. "sellerfreezeamountremain": {
  41417. "description": "履约冻结剩余(卖履约)",
  41418. "type": "number"
  41419. },
  41420. "sellreceivedamount": {
  41421. "description": "卖方已收金额",
  41422. "type": "number"
  41423. },
  41424. "sellusername": {
  41425. "description": "卖方名字",
  41426. "type": "string"
  41427. },
  41428. "shipremark": {
  41429. "description": "发货备注[物流单号]",
  41430. "type": "string"
  41431. },
  41432. "starttime": {
  41433. "description": "开始时间",
  41434. "type": "string"
  41435. },
  41436. "steptypeid": {
  41437. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41438. "type": "integer"
  41439. },
  41440. "typename": {
  41441. "description": "履约类型 名称",
  41442. "type": "string"
  41443. },
  41444. "unpaidamount": {
  41445. "description": "期初均价",
  41446. "type": "number"
  41447. },
  41448. "userid": {
  41449. "description": "用户id",
  41450. "type": "integer"
  41451. },
  41452. "warehouseid": {
  41453. "description": "仓库ID",
  41454. "type": "integer"
  41455. },
  41456. "warehousename": {
  41457. "description": "仓库名称",
  41458. "type": "string"
  41459. },
  41460. "wrfactortypeid": {
  41461. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41462. "type": "string"
  41463. },
  41464. "wrfactortypename": {
  41465. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41466. "type": "string"
  41467. },
  41468. "wrstandardcode": {
  41469. "description": "现货商品代码",
  41470. "type": "string"
  41471. },
  41472. "wrstandardid": {
  41473. "description": "现货商品ID",
  41474. "type": "integer"
  41475. },
  41476. "wrstandardname": {
  41477. "description": "商品名称",
  41478. "type": "string"
  41479. },
  41480. "wrtransferuserid": {
  41481. "description": "仓单受让用户",
  41482. "type": "integer"
  41483. },
  41484. "wrtypename": {
  41485. "description": "商品",
  41486. "type": "string"
  41487. }
  41488. }
  41489. },
  41490. "models.WrPerformancePlanStep": {
  41491. "type": "object",
  41492. "properties": {
  41493. "delaydays": {
  41494. "description": "延期申请天数",
  41495. "type": "integer"
  41496. },
  41497. "deliverygoodscode": {
  41498. "description": "品种代码",
  41499. "type": "string"
  41500. },
  41501. "deliverygoodsid": {
  41502. "description": "品种ID",
  41503. "type": "integer"
  41504. },
  41505. "deliverygoodsname": {
  41506. "description": "品种名称",
  41507. "type": "string"
  41508. },
  41509. "endtime": {
  41510. "description": "结束日期",
  41511. "type": "string"
  41512. },
  41513. "enumdicname": {
  41514. "description": "单位名称",
  41515. "type": "string"
  41516. },
  41517. "executeside": {
  41518. "description": "步骤执行方 - 1:买方 2:卖方",
  41519. "type": "integer"
  41520. },
  41521. "handlestatus": {
  41522. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  41523. "type": "integer"
  41524. },
  41525. "isauto": {
  41526. "description": "是否自动 - 0:不自动 1:自动",
  41527. "type": "integer"
  41528. },
  41529. "islastreceivestep": {
  41530. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  41531. "type": "integer"
  41532. },
  41533. "minivalue": {
  41534. "description": "现货商品最小变动值",
  41535. "type": "integer"
  41536. },
  41537. "optioncompare": {
  41538. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41539. "type": "string"
  41540. },
  41541. "overdays": {
  41542. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  41543. "type": "integer"
  41544. },
  41545. "performancestepid": {
  41546. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  41547. "type": "string"
  41548. },
  41549. "planid": {
  41550. "description": "所属履约计划ID",
  41551. "type": "string"
  41552. },
  41553. "realamount": {
  41554. "description": "实际完成金额",
  41555. "type": "number"
  41556. },
  41557. "relatedorderid": {
  41558. "description": "关联单号",
  41559. "type": "string"
  41560. },
  41561. "remaindays": {
  41562. "description": "剩余天数",
  41563. "type": "integer"
  41564. },
  41565. "remark": {
  41566. "description": "错误备注",
  41567. "type": "string"
  41568. },
  41569. "starttime": {
  41570. "description": "开始日期",
  41571. "type": "string"
  41572. },
  41573. "stepamount": {
  41574. "description": "步骤金额",
  41575. "type": "number"
  41576. },
  41577. "stepdays": {
  41578. "description": "距离上一步天数(分钟)",
  41579. "type": "integer"
  41580. },
  41581. "stepindex": {
  41582. "description": "步骤序号",
  41583. "type": "integer"
  41584. },
  41585. "steplanchtype": {
  41586. "description": "步骤启动类型 - 1:系统自动 2:手动",
  41587. "type": "integer"
  41588. },
  41589. "stepremark": {
  41590. "description": "步骤备注",
  41591. "type": "string"
  41592. },
  41593. "stepstatus": {
  41594. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  41595. "type": "integer"
  41596. },
  41597. "steptypeid": {
  41598. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  41599. "type": "integer"
  41600. },
  41601. "steptypename": {
  41602. "description": "步骤名称",
  41603. "type": "string"
  41604. },
  41605. "stepvalue": {
  41606. "description": "步骤值",
  41607. "type": "number"
  41608. },
  41609. "warehouseid": {
  41610. "description": "仓库ID",
  41611. "type": "integer"
  41612. },
  41613. "warehousename": {
  41614. "description": "仓库名称",
  41615. "type": "string"
  41616. },
  41617. "wrfactortypeid": {
  41618. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41619. "type": "string"
  41620. },
  41621. "wrfactortypename": {
  41622. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41623. "type": "string"
  41624. },
  41625. "wrstandardcode": {
  41626. "description": "现货商品代码",
  41627. "type": "string"
  41628. },
  41629. "wrstandardid": {
  41630. "description": "现货商品ID",
  41631. "type": "integer"
  41632. },
  41633. "wrstandardname": {
  41634. "description": "商品名称",
  41635. "type": "string"
  41636. },
  41637. "wrtypename": {
  41638. "description": "商品",
  41639. "type": "string"
  41640. }
  41641. }
  41642. },
  41643. "models.WrPerformanceStepType": {
  41644. "type": "object",
  41645. "properties": {
  41646. "canauto": {
  41647. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  41648. "type": "integer"
  41649. },
  41650. "steptypeid": {
  41651. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  41652. "type": "integer"
  41653. },
  41654. "steptypename": {
  41655. "description": "步骤类型名称",
  41656. "type": "string"
  41657. }
  41658. }
  41659. },
  41660. "models.WrPerformanceTemplateEx": {
  41661. "type": "object",
  41662. "properties": {
  41663. "autoid": {
  41664. "description": "AutoID 模板id",
  41665. "type": "integer"
  41666. },
  41667. "createtime": {
  41668. "description": "创建时间",
  41669. "type": "string"
  41670. },
  41671. "creatorid": {
  41672. "description": "创建人",
  41673. "type": "integer"
  41674. },
  41675. "lstStep": {
  41676. "description": "步骤信息列表",
  41677. "type": "array",
  41678. "items": {
  41679. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41680. }
  41681. },
  41682. "paymenttype": {
  41683. "description": "支付方式 - 1:冻结 2:扣款",
  41684. "type": "integer"
  41685. },
  41686. "takemode": {
  41687. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  41688. "type": "integer"
  41689. },
  41690. "templatename": {
  41691. "description": "模板名称",
  41692. "type": "string"
  41693. },
  41694. "templatetype": {
  41695. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  41696. "type": "integer"
  41697. },
  41698. "userid": {
  41699. "description": "所属用户",
  41700. "type": "integer"
  41701. }
  41702. }
  41703. },
  41704. "models.WrPosition": {
  41705. "type": "object",
  41706. "properties": {
  41707. "accountid": {
  41708. "description": "帐户ID",
  41709. "type": "integer"
  41710. },
  41711. "buyexcuteqty": {
  41712. "description": "采购履约中数量",
  41713. "type": "number"
  41714. },
  41715. "creditcurqty": {
  41716. "description": "授信当前数量(预售仓单:预售当前量)",
  41717. "type": "number"
  41718. },
  41719. "creditenableqty": {
  41720. "description": "授信可用数量(预售仓单: 可用数量)",
  41721. "type": "number"
  41722. },
  41723. "creditfreezeqty": {
  41724. "description": "授信冻结数量(预售仓单: 当前数量)",
  41725. "type": "number"
  41726. },
  41727. "credittotalqty": {
  41728. "description": "授信总数量(预售仓单:预售总量)",
  41729. "type": "number"
  41730. },
  41731. "credittradeqty": {
  41732. "description": "授信成交数量(预售仓单:成交总量)",
  41733. "type": "number"
  41734. },
  41735. "deliverygoodscode": {
  41736. "description": "品种代码",
  41737. "type": "string"
  41738. },
  41739. "deliverygoodsid": {
  41740. "description": "品种ID",
  41741. "type": "integer"
  41742. },
  41743. "deliverygoodsname": {
  41744. "description": "品种名称",
  41745. "type": "string"
  41746. },
  41747. "enalbeqty": {
  41748. "description": "可用数量",
  41749. "type": "number"
  41750. },
  41751. "enumdicname": {
  41752. "description": "单位名称",
  41753. "type": "string"
  41754. },
  41755. "freezeqty": {
  41756. "description": "总冻结数量",
  41757. "type": "number"
  41758. },
  41759. "haswr": {
  41760. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  41761. "type": "integer"
  41762. },
  41763. "minivalue": {
  41764. "description": "现货商品最小变动值",
  41765. "type": "integer"
  41766. },
  41767. "modifytime": {
  41768. "description": "修改时间(过户时间)",
  41769. "type": "string"
  41770. },
  41771. "optioncompare": {
  41772. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41773. "type": "string"
  41774. },
  41775. "pledgeqty": {
  41776. "description": "质押数量",
  41777. "type": "number"
  41778. },
  41779. "querytype": {
  41780. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  41781. "type": "integer"
  41782. },
  41783. "sellexcuteqty": {
  41784. "description": "销售履约中数量",
  41785. "type": "number"
  41786. },
  41787. "totalqty": {
  41788. "description": "总数量(库存数量)",
  41789. "type": "number"
  41790. },
  41791. "warehouseid": {
  41792. "description": "仓库ID",
  41793. "type": "integer"
  41794. },
  41795. "warehousename": {
  41796. "description": "仓库名称",
  41797. "type": "string"
  41798. },
  41799. "wrfactortypeid": {
  41800. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41801. "type": "string"
  41802. },
  41803. "wrfactortypename": {
  41804. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41805. "type": "string"
  41806. },
  41807. "wrpositionid": {
  41808. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41809. "type": "string"
  41810. },
  41811. "wrpositionno": {
  41812. "description": "仓单编号",
  41813. "type": "string"
  41814. },
  41815. "wrstandardcode": {
  41816. "description": "现货商品代码",
  41817. "type": "string"
  41818. },
  41819. "wrstandardid": {
  41820. "description": "现货商品ID",
  41821. "type": "integer"
  41822. },
  41823. "wrstandardname": {
  41824. "description": "商品名称",
  41825. "type": "string"
  41826. },
  41827. "wrtypename": {
  41828. "description": "商品",
  41829. "type": "string"
  41830. },
  41831. "wruserid": {
  41832. "description": "持有人ID",
  41833. "type": "integer"
  41834. }
  41835. }
  41836. },
  41837. "models.WrPreSaleInfo": {
  41838. "type": "object",
  41839. "properties": {
  41840. "bannerpicurl": {
  41841. "description": "Banner图",
  41842. "type": "string"
  41843. },
  41844. "baseqty": {
  41845. "description": "中签基数",
  41846. "type": "number"
  41847. },
  41848. "createtime": {
  41849. "description": "创建时间",
  41850. "type": "string"
  41851. },
  41852. "deliverygoodsid": {
  41853. "description": "现货品种ID",
  41854. "type": "integer"
  41855. },
  41856. "enddate": {
  41857. "description": "预售结束日期",
  41858. "type": "string"
  41859. },
  41860. "enumdicname": {
  41861. "description": "单位名称",
  41862. "type": "string"
  41863. },
  41864. "lotteryflag": {
  41865. "description": "摇号标识 - 0:未摇号 1:已摇号",
  41866. "type": "integer"
  41867. },
  41868. "lotteryqty": {
  41869. "description": "摇号总量",
  41870. "type": "number"
  41871. },
  41872. "luckyqty": {
  41873. "description": "已中签量",
  41874. "type": "number"
  41875. },
  41876. "marketid": {
  41877. "description": "市场ID",
  41878. "type": "integer"
  41879. },
  41880. "maxbuyqty": {
  41881. "description": "单人最大申购量",
  41882. "type": "number"
  41883. },
  41884. "maxluckyqty": {
  41885. "description": "单人最大中签量",
  41886. "type": "number"
  41887. },
  41888. "pictureurls": {
  41889. "description": "详情图片(逗号分隔)",
  41890. "type": "string"
  41891. },
  41892. "placeqty": {
  41893. "description": "已配售量",
  41894. "type": "number"
  41895. },
  41896. "presaleapplyid": {
  41897. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41898. "type": "string",
  41899. "example": "0"
  41900. },
  41901. "presaleqty": {
  41902. "description": "预售总量",
  41903. "type": "number"
  41904. },
  41905. "presalestatus": {
  41906. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  41907. "type": "integer"
  41908. },
  41909. "sellaccountid": {
  41910. "description": "发行方资金账户ID",
  41911. "type": "integer"
  41912. },
  41913. "selluserid": {
  41914. "description": "发行方用户ID",
  41915. "type": "integer"
  41916. },
  41917. "sellwrtradeorderid": {
  41918. "description": "发行方卖委托单ID",
  41919. "type": "string"
  41920. },
  41921. "startdate": {
  41922. "description": "预售开始日期",
  41923. "type": "string"
  41924. },
  41925. "takestartdate": {
  41926. "description": "提货开始日期",
  41927. "type": "string"
  41928. },
  41929. "thumurls": {
  41930. "description": "缩略图片(1:1)(逗号分隔)",
  41931. "type": "string"
  41932. },
  41933. "tradedate": {
  41934. "description": "交易日",
  41935. "type": "string"
  41936. },
  41937. "unitid": {
  41938. "description": "单位ID",
  41939. "type": "integer"
  41940. },
  41941. "unitprice": {
  41942. "description": "商品单价",
  41943. "type": "number"
  41944. },
  41945. "username": {
  41946. "description": "发行方用户名称",
  41947. "type": "string"
  41948. },
  41949. "warehousecode": {
  41950. "description": "仓库代码(仓库简称)",
  41951. "type": "string"
  41952. },
  41953. "warehouseid": {
  41954. "description": "仓库ID",
  41955. "type": "integer"
  41956. },
  41957. "warehousename": {
  41958. "description": "仓库名称",
  41959. "type": "string"
  41960. },
  41961. "wrfactortypeid": {
  41962. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  41963. "type": "string",
  41964. "example": "0"
  41965. },
  41966. "wrstandardid": {
  41967. "description": "现货商品ID",
  41968. "type": "integer"
  41969. },
  41970. "wrstandardname": {
  41971. "description": "现货商品名称",
  41972. "type": "string"
  41973. }
  41974. }
  41975. },
  41976. "models.WrQuoteOrderMyq": {
  41977. "type": "object",
  41978. "properties": {
  41979. "buyorsell": {
  41980. "description": "买卖 - 0:买 1:卖",
  41981. "type": "integer"
  41982. },
  41983. "canbargain": {
  41984. "description": "是否可议价 - 0:不可 1:可",
  41985. "type": "integer"
  41986. },
  41987. "canpart": {
  41988. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  41989. "type": "integer"
  41990. },
  41991. "delistminqty": {
  41992. "description": "期初均价",
  41993. "type": "number"
  41994. },
  41995. "deliverygoodscode": {
  41996. "description": "品种代码",
  41997. "type": "string"
  41998. },
  41999. "deliverygoodsid": {
  42000. "description": "品种ID",
  42001. "type": "integer"
  42002. },
  42003. "deliverygoodsname": {
  42004. "description": "品种名称",
  42005. "type": "string"
  42006. },
  42007. "deliverymonth": {
  42008. "description": "交收月",
  42009. "type": "string"
  42010. },
  42011. "enumdicname": {
  42012. "description": "单位名称",
  42013. "type": "string"
  42014. },
  42015. "fixedprice": {
  42016. "description": "买(卖)价",
  42017. "type": "number"
  42018. },
  42019. "goodscode": {
  42020. "description": "商品合约代码",
  42021. "type": "string"
  42022. },
  42023. "marginflag": {
  42024. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  42025. "type": "integer"
  42026. },
  42027. "marginvalue": {
  42028. "description": "保证金设置值",
  42029. "type": "number"
  42030. },
  42031. "minivalue": {
  42032. "description": "现货商品最小变动值",
  42033. "type": "integer"
  42034. },
  42035. "orderqty": {
  42036. "description": "买(卖)量(=委托量-成交量)",
  42037. "type": "number"
  42038. },
  42039. "ordertime": {
  42040. "description": "委托时间",
  42041. "type": "string"
  42042. },
  42043. "performancetemplateid": {
  42044. "description": "履约模板id",
  42045. "type": "integer"
  42046. },
  42047. "pricemove": {
  42048. "description": "买(卖)升贴水- 基差",
  42049. "type": "number"
  42050. },
  42051. "templatename": {
  42052. "description": "履约模板名称",
  42053. "type": "string"
  42054. },
  42055. "userid": {
  42056. "description": "购买方(销售方)用户ID",
  42057. "type": "integer"
  42058. },
  42059. "username": {
  42060. "description": "购买方(销售方)",
  42061. "type": "string"
  42062. },
  42063. "validtime": {
  42064. "description": "有效期限",
  42065. "type": "string"
  42066. },
  42067. "validtype": {
  42068. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  42069. "type": "integer"
  42070. },
  42071. "warehousename": {
  42072. "description": "仓库名称",
  42073. "type": "string"
  42074. },
  42075. "wrfactortypeid": {
  42076. "description": "仓单要素id",
  42077. "type": "string"
  42078. },
  42079. "wrstandardcode": {
  42080. "description": "现货商品代码",
  42081. "type": "string"
  42082. },
  42083. "wrstandardid": {
  42084. "description": "现货商品ID",
  42085. "type": "integer"
  42086. },
  42087. "wrstandardname": {
  42088. "description": "商品名称",
  42089. "type": "string"
  42090. },
  42091. "wrtradeorderid": {
  42092. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42093. "type": "string"
  42094. },
  42095. "wrtypename": {
  42096. "description": "商品",
  42097. "type": "string"
  42098. }
  42099. }
  42100. },
  42101. "models.WrReckonSpotGoodsTradeSum": {
  42102. "type": "object",
  42103. "properties": {
  42104. "begindate": {
  42105. "description": "开始日期(结果含开始日期) yyyymmdd",
  42106. "type": "string"
  42107. },
  42108. "enddate": {
  42109. "description": "结束日期(结果含结束日期) yyyymmdd",
  42110. "type": "string"
  42111. },
  42112. "istoday": {
  42113. "description": "是否当日",
  42114. "type": "boolean"
  42115. },
  42116. "marketid": {
  42117. "description": "市场ID",
  42118. "type": "integer"
  42119. },
  42120. "price": {
  42121. "description": "价格 = 日成交金额 / 日成交数量",
  42122. "type": "string"
  42123. },
  42124. "reckondate": {
  42125. "description": "日期 格式 yyyymmdd",
  42126. "type": "string"
  42127. },
  42128. "tradeamount": {
  42129. "description": "期初均价",
  42130. "type": "number"
  42131. },
  42132. "tradeqty": {
  42133. "description": "期初均价",
  42134. "type": "number"
  42135. },
  42136. "wrstandardid": {
  42137. "description": "现货商品ID",
  42138. "type": "integer"
  42139. }
  42140. }
  42141. },
  42142. "models.WrScfContract": {
  42143. "type": "object",
  42144. "properties": {
  42145. "borroweruserid": {
  42146. "description": "借款用户ID",
  42147. "type": "integer"
  42148. },
  42149. "buybackwrpositionqty": {
  42150. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  42151. "type": "number"
  42152. },
  42153. "closeinterest": {
  42154. "description": "已结利息 -\u003e 已结费用",
  42155. "type": "number"
  42156. },
  42157. "currisklevel": {
  42158. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  42159. "type": "integer"
  42160. },
  42161. "deadline": {
  42162. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  42163. "type": "string"
  42164. },
  42165. "deliverygoodscode": {
  42166. "description": "品种代码",
  42167. "type": "string"
  42168. },
  42169. "deliverygoodsid": {
  42170. "description": "品种ID",
  42171. "type": "integer"
  42172. },
  42173. "deliverygoodsname": {
  42174. "description": "品种名称",
  42175. "type": "string"
  42176. },
  42177. "enumdicname": {
  42178. "description": "单位名称",
  42179. "type": "string"
  42180. },
  42181. "financingdays": {
  42182. "description": "天数(天)",
  42183. "type": "integer"
  42184. },
  42185. "initmargin": {
  42186. "description": "保证金 - [仓单回购]",
  42187. "type": "number"
  42188. },
  42189. "interestamount": {
  42190. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  42191. "type": "number"
  42192. },
  42193. "interestdebt": {
  42194. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  42195. "type": "number"
  42196. },
  42197. "interestminlen": {
  42198. "description": "最小起息天数",
  42199. "type": "integer"
  42200. },
  42201. "interestrate": {
  42202. "description": "利率",
  42203. "type": "number"
  42204. },
  42205. "interestratemode": {
  42206. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42207. "type": "integer"
  42208. },
  42209. "interestsettlemode": {
  42210. "description": "结息方式 - 1:按日结息 3:按月结息",
  42211. "type": "integer"
  42212. },
  42213. "interestsettlevalue": {
  42214. "description": "结息方式值",
  42215. "type": "integer"
  42216. },
  42217. "isautoloan": {
  42218. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  42219. "type": "integer"
  42220. },
  42221. "lastcloseinterestday": {
  42222. "description": "最近结息日(yyyyMMdd)",
  42223. "type": "string"
  42224. },
  42225. "lenderamount": {
  42226. "description": "贷款金额 -\u003e 借款金额",
  42227. "type": "number"
  42228. },
  42229. "lenderuserid": {
  42230. "description": "贷款方用户ID -\u003e 融出方用户ID",
  42231. "type": "integer"
  42232. },
  42233. "lenderusername": {
  42234. "description": "融出方",
  42235. "type": "string"
  42236. },
  42237. "marginratio": {
  42238. "description": "保证金比率质押率 - [仓单质押]",
  42239. "type": "number"
  42240. },
  42241. "marketid": {
  42242. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  42243. "type": "integer"
  42244. },
  42245. "minivalue": {
  42246. "description": "现货商品最小变动值",
  42247. "type": "integer"
  42248. },
  42249. "optioncompare": {
  42250. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42251. "type": "string"
  42252. },
  42253. "pricemove": {
  42254. "description": "估值升贴水值",
  42255. "type": "number"
  42256. },
  42257. "productdetailid": {
  42258. "description": "产品组合ID",
  42259. "type": "integer"
  42260. },
  42261. "productid": {
  42262. "description": "金融产品ID",
  42263. "type": "integer"
  42264. },
  42265. "productname": {
  42266. "description": "产品名称",
  42267. "type": "string"
  42268. },
  42269. "remainamount": {
  42270. "description": "合同剩余金额 -\u003e 剩余金额",
  42271. "type": "number"
  42272. },
  42273. "remainwrpositionqty": {
  42274. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  42275. "type": "number"
  42276. },
  42277. "remark": {
  42278. "description": "备注",
  42279. "type": "string"
  42280. },
  42281. "scfcontractid": {
  42282. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  42283. "type": "string"
  42284. },
  42285. "scfcontractstatus": {
  42286. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  42287. "type": "integer"
  42288. },
  42289. "scfcontracttype": {
  42290. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  42291. "type": "integer"
  42292. },
  42293. "startinterestday": {
  42294. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  42295. "type": "string"
  42296. },
  42297. "totalinterest": {
  42298. "description": "已计利息 -\u003e 已计费用",
  42299. "type": "number"
  42300. },
  42301. "unpaidinterest": {
  42302. "description": "期初均价",
  42303. "type": "number"
  42304. },
  42305. "updatetime": {
  42306. "description": "更新时间",
  42307. "type": "string"
  42308. },
  42309. "warehouseid": {
  42310. "description": "仓库ID",
  42311. "type": "integer"
  42312. },
  42313. "warehousename": {
  42314. "description": "仓库名称",
  42315. "type": "string"
  42316. },
  42317. "wrfactortypeid": {
  42318. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42319. "type": "string"
  42320. },
  42321. "wrfactortypename": {
  42322. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42323. "type": "string"
  42324. },
  42325. "wrqty": {
  42326. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  42327. "type": "number"
  42328. },
  42329. "wrstandardcode": {
  42330. "description": "现货商品代码",
  42331. "type": "string"
  42332. },
  42333. "wrstandardid": {
  42334. "description": "现货商品ID",
  42335. "type": "integer"
  42336. },
  42337. "wrstandardname": {
  42338. "description": "商品名称",
  42339. "type": "string"
  42340. },
  42341. "wrtypename": {
  42342. "description": "商品",
  42343. "type": "string"
  42344. }
  42345. }
  42346. },
  42347. "models.WrScfContractInterest": {
  42348. "type": "object",
  42349. "properties": {
  42350. "closeinterest": {
  42351. "description": "已结利息",
  42352. "type": "number"
  42353. },
  42354. "closeintereststatus": {
  42355. "description": "结息状态 - 1:未结 2:已结",
  42356. "type": "integer"
  42357. },
  42358. "closetime": {
  42359. "description": "结息时间",
  42360. "type": "string"
  42361. },
  42362. "closetradedate": {
  42363. "description": "结息交易日",
  42364. "type": "string"
  42365. },
  42366. "creatorid": {
  42367. "description": "操作人ID",
  42368. "type": "integer"
  42369. },
  42370. "dayrate": {
  42371. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  42372. "type": "number"
  42373. },
  42374. "interest": {
  42375. "description": "利息",
  42376. "type": "number"
  42377. },
  42378. "interestamount": {
  42379. "description": "计息金额",
  42380. "type": "number"
  42381. },
  42382. "interestday": {
  42383. "description": "计息日(yyyyMMdd)",
  42384. "type": "string"
  42385. },
  42386. "scfcontractid": {
  42387. "description": "SCF合同ID",
  42388. "type": "string"
  42389. },
  42390. "scfcontractinterestid": {
  42391. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  42392. "type": "integer"
  42393. },
  42394. "updatetime": {
  42395. "description": "更新时间",
  42396. "type": "string"
  42397. }
  42398. }
  42399. },
  42400. "models.WrSearchUser": {
  42401. "type": "object",
  42402. "required": [
  42403. "username"
  42404. ],
  42405. "properties": {
  42406. "userid": {
  42407. "description": "用户ID",
  42408. "type": "integer"
  42409. },
  42410. "username": {
  42411. "description": "用户名称(已脱敏)",
  42412. "type": "string"
  42413. },
  42414. "username2": {
  42415. "description": "用户名称(未脱敏)",
  42416. "type": "string"
  42417. },
  42418. "usertype": {
  42419. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42420. "type": "integer"
  42421. }
  42422. }
  42423. },
  42424. "models.WrSiteColumnDetail": {
  42425. "type": "object",
  42426. "properties": {
  42427. "brief": {
  42428. "description": "简介",
  42429. "type": "string"
  42430. },
  42431. "context": {
  42432. "description": "内容",
  42433. "type": "string"
  42434. },
  42435. "coverimage": {
  42436. "description": "封面图片",
  42437. "type": "string"
  42438. },
  42439. "creaedate": {
  42440. "description": "创建时间",
  42441. "type": "string"
  42442. },
  42443. "id": {
  42444. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  42445. "type": "integer"
  42446. },
  42447. "istop": {
  42448. "description": "是否置顶 - 0:不置 1:置顶",
  42449. "type": "integer"
  42450. },
  42451. "publishdate": {
  42452. "description": "发布日期",
  42453. "type": "string"
  42454. },
  42455. "title": {
  42456. "description": "标题",
  42457. "type": "string"
  42458. },
  42459. "updatedate": {
  42460. "description": "修改时间",
  42461. "type": "string"
  42462. }
  42463. }
  42464. },
  42465. "models.WrSpecialMatchOrder": {
  42466. "type": "object",
  42467. "properties": {
  42468. "amount": {
  42469. "description": "金额 = 数量 * 价格",
  42470. "type": "number"
  42471. },
  42472. "buyorsell": {
  42473. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42474. "type": "integer"
  42475. },
  42476. "cancelqty": {
  42477. "description": "撤销数量",
  42478. "type": "number"
  42479. },
  42480. "deliverygoodscode": {
  42481. "description": "品种代码",
  42482. "type": "string"
  42483. },
  42484. "deliverygoodsid": {
  42485. "description": "品种ID",
  42486. "type": "integer"
  42487. },
  42488. "deliverygoodsname": {
  42489. "description": "品种名称",
  42490. "type": "string"
  42491. },
  42492. "enumdicname": {
  42493. "description": "单位名称",
  42494. "type": "string"
  42495. },
  42496. "fixedprice": {
  42497. "description": "固定价格(价格)",
  42498. "type": "number"
  42499. },
  42500. "haswr": {
  42501. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42502. "type": "integer"
  42503. },
  42504. "isspecified": {
  42505. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  42506. "type": "integer"
  42507. },
  42508. "marketid": {
  42509. "description": "市场ID",
  42510. "type": "integer"
  42511. },
  42512. "matchuserid": {
  42513. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  42514. "type": "integer"
  42515. },
  42516. "matchusername": {
  42517. "description": "指定方",
  42518. "type": "string"
  42519. },
  42520. "minivalue": {
  42521. "description": "现货商品最小变动值",
  42522. "type": "integer"
  42523. },
  42524. "optioncompare": {
  42525. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42526. "type": "string"
  42527. },
  42528. "orderqty": {
  42529. "description": "委托数量",
  42530. "type": "number"
  42531. },
  42532. "ordertime": {
  42533. "description": "委托时间",
  42534. "type": "string"
  42535. },
  42536. "pricemove": {
  42537. "description": "升贴水(浮动价时填写) - [挂牌]",
  42538. "type": "number"
  42539. },
  42540. "tradedate": {
  42541. "description": "交易日(yyyyMMdd)",
  42542. "type": "string"
  42543. },
  42544. "tradeprice": {
  42545. "description": "成交价格",
  42546. "type": "number"
  42547. },
  42548. "tradeqty": {
  42549. "description": "成交数量",
  42550. "type": "number"
  42551. },
  42552. "userid": {
  42553. "description": "用户ID",
  42554. "type": "integer"
  42555. },
  42556. "username": {
  42557. "description": "发起方",
  42558. "type": "string"
  42559. },
  42560. "warehouseid": {
  42561. "description": "仓库ID",
  42562. "type": "integer"
  42563. },
  42564. "warehousename": {
  42565. "description": "仓库名称",
  42566. "type": "string"
  42567. },
  42568. "wrfactortypeid": {
  42569. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42570. "type": "string"
  42571. },
  42572. "wrfactortypename": {
  42573. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42574. "type": "string"
  42575. },
  42576. "wrpricetype": {
  42577. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  42578. "type": "integer"
  42579. },
  42580. "wrstandardcode": {
  42581. "description": "现货商品代码",
  42582. "type": "string"
  42583. },
  42584. "wrstandardid": {
  42585. "description": "现货商品ID",
  42586. "type": "integer"
  42587. },
  42588. "wrstandardname": {
  42589. "description": "商品名称",
  42590. "type": "string"
  42591. },
  42592. "wrtradeorderid": {
  42593. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42594. "type": "string"
  42595. },
  42596. "wrtradeorderstatus": {
  42597. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  42598. "type": "integer"
  42599. },
  42600. "wrtradetype": {
  42601. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42602. "type": "integer"
  42603. },
  42604. "wrtypename": {
  42605. "description": "商品",
  42606. "type": "string"
  42607. }
  42608. }
  42609. },
  42610. "models.WrSpotGroupTradeSum": {
  42611. "type": "object",
  42612. "properties": {
  42613. "deliverygoodscode": {
  42614. "description": "现货品种代码",
  42615. "type": "string"
  42616. },
  42617. "deliverygoodsid": {
  42618. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42619. "type": "integer"
  42620. },
  42621. "deliverygoodsname": {
  42622. "description": "现货品种名称",
  42623. "type": "string"
  42624. },
  42625. "lastavgprice": {
  42626. "description": "上上个交易日价格(前2天价格)",
  42627. "type": "string"
  42628. },
  42629. "lastreckondate": {
  42630. "description": "上上个交易日(前2天交易日)",
  42631. "type": "string"
  42632. },
  42633. "reckondate": {
  42634. "description": "上个交易日(前1天交易日)",
  42635. "type": "string"
  42636. },
  42637. "todayavgprice": {
  42638. "description": "上个交易日价格(前1天价格)",
  42639. "type": "string"
  42640. },
  42641. "updown": {
  42642. "description": "涨跌",
  42643. "type": "string"
  42644. },
  42645. "updownratio": {
  42646. "description": "涨幅(已格式化, 直接显示即可)",
  42647. "type": "string"
  42648. }
  42649. }
  42650. },
  42651. "models.WrSpotGroupTradeSumDetail": {
  42652. "type": "object",
  42653. "properties": {
  42654. "deliverygoodsid": {
  42655. "description": "现货商品id",
  42656. "type": "integer"
  42657. },
  42658. "price": {
  42659. "description": "价格",
  42660. "type": "number"
  42661. },
  42662. "reckondate": {
  42663. "description": "日期(yyymmdd, 如:20211031)",
  42664. "type": "string"
  42665. }
  42666. }
  42667. },
  42668. "models.WrSpotGroupTradeSumEx": {
  42669. "type": "object",
  42670. "properties": {
  42671. "lst": {
  42672. "description": "指数列表",
  42673. "type": "array",
  42674. "items": {
  42675. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  42676. }
  42677. },
  42678. "prereckondate": {
  42679. "description": "上上个交易日(yyymmdd)",
  42680. "type": "string"
  42681. },
  42682. "reckondate": {
  42683. "description": "上个交易日(yyyymmdd)",
  42684. "type": "string"
  42685. }
  42686. }
  42687. },
  42688. "models.WrStandardFactoryItem": {
  42689. "type": "object",
  42690. "properties": {
  42691. "dgfactoryitemid": {
  42692. "description": "选择项id",
  42693. "type": "integer"
  42694. },
  42695. "dgfactoryitemvalue": {
  42696. "description": "要素项值",
  42697. "type": "string"
  42698. },
  42699. "warehouseid": {
  42700. "description": "仓库id",
  42701. "type": "integer"
  42702. }
  42703. }
  42704. },
  42705. "models.WrStandardFactoryItemEx": {
  42706. "type": "object",
  42707. "properties": {
  42708. "dgfactoryitemtypeid": {
  42709. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  42710. "type": "integer"
  42711. },
  42712. "itemlst": {
  42713. "description": "要素项列表",
  42714. "type": "array",
  42715. "items": {
  42716. "$ref": "#/definitions/models.WrStandardFactoryItem"
  42717. }
  42718. },
  42719. "itemtypename": {
  42720. "description": "要素项类型名称",
  42721. "type": "string"
  42722. },
  42723. "wrstandardid": {
  42724. "description": "品类",
  42725. "type": "integer"
  42726. }
  42727. }
  42728. },
  42729. "models.WrTradeDetail": {
  42730. "type": "object",
  42731. "properties": {
  42732. "accountid": {
  42733. "description": "资金账号",
  42734. "type": "integer"
  42735. },
  42736. "bannerpicurl": {
  42737. "description": "Banner图",
  42738. "type": "string"
  42739. },
  42740. "begindate": {
  42741. "description": "开始交易日(yyyymmdd)",
  42742. "type": "string"
  42743. },
  42744. "buyorsell": {
  42745. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42746. "type": "integer"
  42747. },
  42748. "chargevalue": {
  42749. "description": "手续费",
  42750. "type": "number"
  42751. },
  42752. "deliverygoodscode": {
  42753. "description": "品种代码",
  42754. "type": "string"
  42755. },
  42756. "deliverygoodsid": {
  42757. "description": "品种ID",
  42758. "type": "integer"
  42759. },
  42760. "deliverygoodsname": {
  42761. "description": "品种名称",
  42762. "type": "string"
  42763. },
  42764. "deliverymonth": {
  42765. "description": "交收月",
  42766. "type": "string"
  42767. },
  42768. "enddate": {
  42769. "description": "结束交易日(yyyymmdd)",
  42770. "type": "string"
  42771. },
  42772. "enumdicname": {
  42773. "description": "单位名称",
  42774. "type": "string"
  42775. },
  42776. "haswr": {
  42777. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  42778. "type": "integer"
  42779. },
  42780. "marketid": {
  42781. "description": "市场ID",
  42782. "type": "integer"
  42783. },
  42784. "matchaccountid": {
  42785. "description": "对手账号",
  42786. "type": "integer"
  42787. },
  42788. "matchusername": {
  42789. "description": "对手方",
  42790. "type": "string"
  42791. },
  42792. "minivalue": {
  42793. "description": "现货商品最小变动值",
  42794. "type": "integer"
  42795. },
  42796. "optioncompare": {
  42797. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42798. "type": "string"
  42799. },
  42800. "thumurls": {
  42801. "description": "缩略图",
  42802. "type": "string"
  42803. },
  42804. "tradedate": {
  42805. "description": "交易日(yyyyMMdd)",
  42806. "type": "string"
  42807. },
  42808. "tradeprice": {
  42809. "description": "成交价格",
  42810. "type": "number"
  42811. },
  42812. "tradeqty": {
  42813. "description": "成交数量",
  42814. "type": "number"
  42815. },
  42816. "tradetime": {
  42817. "description": "成交时间",
  42818. "type": "string"
  42819. },
  42820. "userid": {
  42821. "description": "用户ID",
  42822. "type": "integer"
  42823. },
  42824. "warehouseid": {
  42825. "description": "仓库ID",
  42826. "type": "integer"
  42827. },
  42828. "warehousename": {
  42829. "description": "仓库名称",
  42830. "type": "string"
  42831. },
  42832. "wrfactortypeid": {
  42833. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42834. "type": "string"
  42835. },
  42836. "wrfactortypename": {
  42837. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42838. "type": "string"
  42839. },
  42840. "wrstandardcode": {
  42841. "description": "现货商品代码",
  42842. "type": "string"
  42843. },
  42844. "wrstandardid": {
  42845. "description": "现货商品ID",
  42846. "type": "integer"
  42847. },
  42848. "wrstandardname": {
  42849. "description": "商品名称",
  42850. "type": "string"
  42851. },
  42852. "wrtradedetailid": {
  42853. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  42854. "type": "string"
  42855. },
  42856. "wrtradetype": {
  42857. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  42858. "type": "integer"
  42859. },
  42860. "wrtypename": {
  42861. "description": "商品",
  42862. "type": "string"
  42863. }
  42864. }
  42865. },
  42866. "models.WrTradeOrderDetail": {
  42867. "type": "object",
  42868. "properties": {
  42869. "buyorsell": {
  42870. "description": "买卖方向 0-买 1-卖",
  42871. "type": "integer"
  42872. },
  42873. "goodsid": {
  42874. "description": "商品id",
  42875. "type": "integer"
  42876. },
  42877. "orderid": {
  42878. "description": "委托单号",
  42879. "type": "string"
  42880. },
  42881. "orderprice": {
  42882. "description": "期初均价",
  42883. "type": "number"
  42884. },
  42885. "orderqty": {
  42886. "description": "委托数量",
  42887. "type": "integer"
  42888. },
  42889. "userid": {
  42890. "description": "用户id",
  42891. "type": "integer"
  42892. },
  42893. "username": {
  42894. "description": "用户名称(已脱敏)",
  42895. "type": "string"
  42896. }
  42897. }
  42898. },
  42899. "models.WrTypeItem": {
  42900. "type": "object",
  42901. "properties": {
  42902. "name": {
  42903. "description": "名称",
  42904. "type": "string"
  42905. },
  42906. "value": {
  42907. "description": "值",
  42908. "type": "string"
  42909. }
  42910. }
  42911. },
  42912. "models.WrUserFriend": {
  42913. "type": "object",
  42914. "properties": {
  42915. "friendname": {
  42916. "description": "朋友名称(已脱敏)",
  42917. "type": "string"
  42918. },
  42919. "frienduserid": {
  42920. "description": "朋友id",
  42921. "type": "integer"
  42922. },
  42923. "isfriend": {
  42924. "description": "是否好友 0-不是 1-是",
  42925. "type": "integer"
  42926. },
  42927. "userid": {
  42928. "description": "用户id",
  42929. "type": "integer"
  42930. }
  42931. }
  42932. },
  42933. "models.WrUserReceiptInfo": {
  42934. "type": "object",
  42935. "properties": {
  42936. "address": {
  42937. "description": "地址[发票类型:企业]",
  42938. "type": "string"
  42939. },
  42940. "autoid": {
  42941. "description": "AutoID",
  42942. "type": "integer"
  42943. },
  42944. "contactinfo": {
  42945. "description": "联系方式",
  42946. "type": "string"
  42947. },
  42948. "idnum": {
  42949. "description": "身份证号码[发票类型:个人]",
  42950. "type": "string"
  42951. },
  42952. "isdefault": {
  42953. "description": "是否默认地址 - 0:否 1:是",
  42954. "type": "integer"
  42955. },
  42956. "receiptaccount": {
  42957. "description": "发票帐号[发票类型:企业]",
  42958. "type": "string"
  42959. },
  42960. "receiptbank": {
  42961. "description": "发票开户行[发票类型:企业]",
  42962. "type": "string"
  42963. },
  42964. "receipttype": {
  42965. "description": "发票类型 - 1:个人 2:企业",
  42966. "type": "integer"
  42967. },
  42968. "taxpayerid": {
  42969. "description": "纳税人识别号",
  42970. "type": "string"
  42971. },
  42972. "userid": {
  42973. "description": "用户ID",
  42974. "type": "integer"
  42975. },
  42976. "username": {
  42977. "description": "户名(个人姓名或企业名称)",
  42978. "type": "string"
  42979. }
  42980. }
  42981. },
  42982. "models.Wrtradetradequote": {
  42983. "type": "object",
  42984. "properties": {
  42985. "begindate": {
  42986. "description": "开始日期(结果含开始日期) yyyymmdd",
  42987. "type": "string"
  42988. },
  42989. "buyaccountid": {
  42990. "description": "买方账号ID",
  42991. "type": "integer"
  42992. },
  42993. "buyuserid": {
  42994. "description": "买方用户ID",
  42995. "type": "integer"
  42996. },
  42997. "deliverygoodsid": {
  42998. "description": "现货品种ID",
  42999. "type": "integer"
  43000. },
  43001. "enddate": {
  43002. "description": "结束日期(结果含结束日期) yyyymmdd",
  43003. "type": "string"
  43004. },
  43005. "marketid": {
  43006. "description": "市场ID",
  43007. "type": "integer"
  43008. },
  43009. "sellaccountid": {
  43010. "description": "卖方账号ID",
  43011. "type": "integer"
  43012. },
  43013. "selluserid": {
  43014. "description": "卖方用户ID",
  43015. "type": "integer"
  43016. },
  43017. "tradeamount": {
  43018. "description": "成交金额",
  43019. "type": "number"
  43020. },
  43021. "tradedate": {
  43022. "description": "交易日(yyyyMMdd)",
  43023. "type": "string"
  43024. },
  43025. "tradeprice": {
  43026. "description": "成交价格",
  43027. "type": "number"
  43028. },
  43029. "tradeqty": {
  43030. "description": "成交数量",
  43031. "type": "integer"
  43032. },
  43033. "tradetime": {
  43034. "description": "成交时间",
  43035. "type": "string"
  43036. },
  43037. "wrfactortypeid": {
  43038. "description": "仓单要素类型ID",
  43039. "type": "integer"
  43040. },
  43041. "wrstandardid": {
  43042. "description": "现货商品ID",
  43043. "type": "integer"
  43044. },
  43045. "wrtradedetailid": {
  43046. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  43047. "type": "string"
  43048. }
  43049. }
  43050. },
  43051. "models.XHBRAND": {
  43052. "type": "object",
  43053. "properties": {
  43054. "brandid": {
  43055. "description": "品牌id",
  43056. "type": "integer"
  43057. },
  43058. "brandname": {
  43059. "description": "品牌名称",
  43060. "type": "string"
  43061. },
  43062. "isvalid": {
  43063. "description": "是否有效 0-无效 1-有效",
  43064. "type": "integer"
  43065. }
  43066. }
  43067. },
  43068. "models.XHDeliveryGoods": {
  43069. "type": "object",
  43070. "properties": {
  43071. "areauserid": {
  43072. "description": "所属机构",
  43073. "type": "integer"
  43074. },
  43075. "bdlst": {
  43076. "description": "品牌列表",
  43077. "type": "array",
  43078. "items": {
  43079. "$ref": "#/definitions/models.XHBRAND"
  43080. }
  43081. },
  43082. "deliverygoodscode": {
  43083. "description": "现货品种代码",
  43084. "type": "string"
  43085. },
  43086. "deliverygoodsid": {
  43087. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43088. "type": "integer"
  43089. },
  43090. "deliverygoodsname": {
  43091. "description": "现货品种名称",
  43092. "type": "string"
  43093. },
  43094. "dgstatus": {
  43095. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  43096. "type": "integer"
  43097. },
  43098. "filterSubEmpty": {
  43099. "description": "过滤下级为空的",
  43100. "type": "integer"
  43101. },
  43102. "isvalid": {
  43103. "description": "是否有效 - 0:无效 1:有效",
  43104. "type": "integer"
  43105. },
  43106. "remark": {
  43107. "description": "备注",
  43108. "type": "string"
  43109. },
  43110. "unitid": {
  43111. "description": "单位id(目前看,数据库中是空值)",
  43112. "type": "integer"
  43113. },
  43114. "wdlst": {
  43115. "description": "品类(现货商品)列表",
  43116. "type": "array",
  43117. "items": {
  43118. "$ref": "#/definitions/models.XHWrstandard"
  43119. }
  43120. }
  43121. }
  43122. },
  43123. "models.XHMiddleGoods": {
  43124. "type": "object",
  43125. "properties": {
  43126. "GPLST": {
  43127. "description": "期货品种列表",
  43128. "type": "array",
  43129. "items": {
  43130. "$ref": "#/definitions/models.TBGoodsGroup"
  43131. }
  43132. },
  43133. "convertratio": {
  43134. "description": "拆算系数",
  43135. "type": "number"
  43136. },
  43137. "costratio": {
  43138. "description": "成本权重",
  43139. "type": "number"
  43140. },
  43141. "deliverygoodsid": {
  43142. "description": "现货商品id",
  43143. "type": "integer"
  43144. },
  43145. "enumdicname": {
  43146. "description": "单位名称",
  43147. "type": "string"
  43148. },
  43149. "middlegoodscode": {
  43150. "description": "套保品种代码",
  43151. "type": "string"
  43152. },
  43153. "middlegoodsid": {
  43154. "description": "套保品种id",
  43155. "type": "integer"
  43156. },
  43157. "middlegoodsname": {
  43158. "description": "套保品种名称",
  43159. "type": "string"
  43160. },
  43161. "unitid": {
  43162. "description": "单位id",
  43163. "type": "integer"
  43164. }
  43165. }
  43166. },
  43167. "models.XHWrstandard": {
  43168. "type": "object",
  43169. "properties": {
  43170. "bannerpicurl": {
  43171. "description": "banner图",
  43172. "type": "string"
  43173. },
  43174. "deliverygoodsid": {
  43175. "description": "品种ID",
  43176. "type": "integer"
  43177. },
  43178. "enumdicname": {
  43179. "description": "单位名称",
  43180. "type": "string"
  43181. },
  43182. "mglst": {
  43183. "description": "套保品列表",
  43184. "type": "array",
  43185. "items": {
  43186. "$ref": "#/definitions/models.XHMiddleGoods"
  43187. }
  43188. },
  43189. "pictureurls": {
  43190. "description": "详情图片(逗号分隔)",
  43191. "type": "string"
  43192. },
  43193. "thumurls": {
  43194. "description": "缩略图片(1:1)(逗号分隔)",
  43195. "type": "string"
  43196. },
  43197. "unitid": {
  43198. "description": "单位id",
  43199. "type": "integer"
  43200. },
  43201. "vatrate": {
  43202. "description": "增值税率",
  43203. "type": "number"
  43204. },
  43205. "wrstandardcode": {
  43206. "description": "现货商品代码",
  43207. "type": "string"
  43208. },
  43209. "wrstandardid": {
  43210. "description": "现货商品ID(SEQ_WRSTANDARD)",
  43211. "type": "integer"
  43212. },
  43213. "wrstandardname": {
  43214. "description": "现货商品名称",
  43215. "type": "string"
  43216. }
  43217. }
  43218. },
  43219. "models.XhcpSellBackApplyEx": {
  43220. "type": "object",
  43221. "required": [
  43222. "userid"
  43223. ],
  43224. "properties": {
  43225. "applyremark": {
  43226. "description": "申请备注",
  43227. "type": "string"
  43228. },
  43229. "expirytype": {
  43230. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43231. "type": "integer"
  43232. },
  43233. "goodsspec": {
  43234. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43235. "type": "integer"
  43236. },
  43237. "holeflag": {
  43238. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43239. "type": "integer"
  43240. },
  43241. "isunopened": {
  43242. "description": "是否原封 - 1:否 2:是",
  43243. "type": "integer"
  43244. },
  43245. "mpflag": {
  43246. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43247. "type": "integer"
  43248. },
  43249. "openflag": {
  43250. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43251. "type": "integer"
  43252. },
  43253. "phonenum": {
  43254. "description": "联系电话",
  43255. "type": "string"
  43256. },
  43257. "userid": {
  43258. "description": "所属用户ID",
  43259. "type": "integer"
  43260. },
  43261. "zpflag": {
  43262. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43263. "type": "integer"
  43264. }
  43265. }
  43266. },
  43267. "models.Xhcpsellbackapply": {
  43268. "type": "object",
  43269. "required": [
  43270. "userid"
  43271. ],
  43272. "properties": {
  43273. "applyid": {
  43274. "description": "申请人",
  43275. "type": "integer"
  43276. },
  43277. "applyremark": {
  43278. "description": "申请备注",
  43279. "type": "string"
  43280. },
  43281. "applysrc": {
  43282. "description": "申请来源 - 1:管理端 2:终端",
  43283. "type": "integer"
  43284. },
  43285. "applystatus": {
  43286. "description": "申请状态 - 1:待确认 2:已处理",
  43287. "type": "integer"
  43288. },
  43289. "applytime": {
  43290. "description": "申请时间",
  43291. "type": "string"
  43292. },
  43293. "auditremark": {
  43294. "description": "审核备注",
  43295. "type": "string"
  43296. },
  43297. "auditsrc": {
  43298. "description": "审核来源 - 1:管理端 2:终端",
  43299. "type": "integer"
  43300. },
  43301. "expirytype": {
  43302. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  43303. "type": "integer"
  43304. },
  43305. "goodsspec": {
  43306. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  43307. "type": "integer"
  43308. },
  43309. "holeflag": {
  43310. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  43311. "type": "integer"
  43312. },
  43313. "isunopened": {
  43314. "description": "是否原封 - 1:否 2:是",
  43315. "type": "integer"
  43316. },
  43317. "mpflag": {
  43318. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  43319. "type": "integer"
  43320. },
  43321. "openflag": {
  43322. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  43323. "type": "integer"
  43324. },
  43325. "phonenum": {
  43326. "description": "联系电话",
  43327. "type": "string"
  43328. },
  43329. "sellbackapplyid": {
  43330. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  43331. "type": "string"
  43332. },
  43333. "userid": {
  43334. "description": "所属用户ID",
  43335. "type": "integer"
  43336. },
  43337. "zpflag": {
  43338. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  43339. "type": "integer"
  43340. }
  43341. }
  43342. },
  43343. "order.QueryHisTradeDetailRsp": {
  43344. "type": "object",
  43345. "required": [
  43346. "accountid",
  43347. "buyorsell",
  43348. "goodsid",
  43349. "histradedate",
  43350. "marketid",
  43351. "memberuserid",
  43352. "orderid",
  43353. "tradeamount",
  43354. "tradedate",
  43355. "tradeid",
  43356. "tradeprice",
  43357. "tradeqty",
  43358. "tradetime"
  43359. ],
  43360. "properties": {
  43361. "accountid": {
  43362. "description": "账户ID[报价币种]",
  43363. "type": "integer"
  43364. },
  43365. "advanceratio": {
  43366. "description": "首付比率",
  43367. "type": "number"
  43368. },
  43369. "buildtype": {
  43370. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43371. "type": "integer"
  43372. },
  43373. "buyorsell": {
  43374. "description": "方向 - 0:买 1:卖",
  43375. "type": "integer"
  43376. },
  43377. "charge": {
  43378. "description": "手续费",
  43379. "type": "number"
  43380. },
  43381. "closecharge": {
  43382. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43383. "type": "number"
  43384. },
  43385. "closeexchagechargevalue": {
  43386. "description": "平仓交易所手续费设置值",
  43387. "type": "number"
  43388. },
  43389. "closefeealgorithm": {
  43390. "description": "平仓手续费收取方式 1:比率 2:固定",
  43391. "type": "integer"
  43392. },
  43393. "closememberchargevalue": {
  43394. "description": "平仓会员手续费设置值",
  43395. "type": "number"
  43396. },
  43397. "closepl": {
  43398. "description": "平仓盈亏",
  43399. "type": "number"
  43400. },
  43401. "closepl2": {
  43402. "description": "平仓盈亏[逐笔]",
  43403. "type": "number"
  43404. },
  43405. "closeqty": {
  43406. "description": "平仓数量(先建后平操作 需要记录)",
  43407. "type": "number"
  43408. },
  43409. "creditamount": {
  43410. "description": "授信金额",
  43411. "type": "number"
  43412. },
  43413. "decimalplace": {
  43414. "description": "商品报价小数位",
  43415. "type": "integer"
  43416. },
  43417. "enumdicname": {
  43418. "description": "单位名称",
  43419. "type": "string"
  43420. },
  43421. "gcaccountid": {
  43422. "description": "账户ID[合约币种]",
  43423. "type": "integer"
  43424. },
  43425. "goodscode": {
  43426. "description": "商品代码",
  43427. "type": "string"
  43428. },
  43429. "goodsid": {
  43430. "description": "商品ID",
  43431. "type": "integer"
  43432. },
  43433. "goodsname": {
  43434. "description": "商品名称",
  43435. "type": "string"
  43436. },
  43437. "goodunitid": {
  43438. "description": "商品单位id",
  43439. "type": "integer"
  43440. },
  43441. "histradedate": {
  43442. "description": "历史交易日",
  43443. "type": "string"
  43444. },
  43445. "intclosepl": {
  43446. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  43447. "type": "integer"
  43448. },
  43449. "isconfirmexercise": {
  43450. "description": "是否确认行权- 0:否 1:是",
  43451. "type": "integer"
  43452. },
  43453. "ismain": {
  43454. "description": "是否主单 - 0:不是 1:是",
  43455. "type": "integer"
  43456. },
  43457. "ispreexercise": {
  43458. "description": "是否预申报- 0:否 1:是",
  43459. "type": "integer"
  43460. },
  43461. "isreckoned": {
  43462. "description": "是否结算 - 0:未结算 1:已结算",
  43463. "type": "integer"
  43464. },
  43465. "isvaliddata": {
  43466. "description": "是否有效 - 0:无效 1:有效",
  43467. "type": "integer"
  43468. },
  43469. "listingselecttype": {
  43470. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43471. "type": "integer"
  43472. },
  43473. "marketid": {
  43474. "description": "市场ID",
  43475. "type": "integer"
  43476. },
  43477. "marketname": {
  43478. "description": "市场名称",
  43479. "type": "string"
  43480. },
  43481. "matchaccountid": {
  43482. "description": "对手账号id",
  43483. "type": "integer"
  43484. },
  43485. "memberuserid": {
  43486. "description": "会员id 个人投资者 需要填写",
  43487. "type": "integer"
  43488. },
  43489. "opencharge": {
  43490. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43491. "type": "number"
  43492. },
  43493. "openexchagechargevalue": {
  43494. "description": "建仓交易所手续费设置值",
  43495. "type": "number"
  43496. },
  43497. "openfeealgorithm": {
  43498. "description": "建仓手续费收取方式 1:比率 2:固定",
  43499. "type": "integer"
  43500. },
  43501. "openmemberchargevalue": {
  43502. "description": "建仓会员手续费设置值",
  43503. "type": "number"
  43504. },
  43505. "openqty": {
  43506. "description": "开仓数量(先建后平操作 需要记录)",
  43507. "type": "number"
  43508. },
  43509. "optiontype": {
  43510. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43511. "type": "integer"
  43512. },
  43513. "orderid": {
  43514. "description": "委托单号",
  43515. "type": "string"
  43516. },
  43517. "payamount": {
  43518. "description": "支付金额(付款金额)",
  43519. "type": "number"
  43520. },
  43521. "performanceplanid": {
  43522. "description": "履约计划ID[期权]",
  43523. "type": "integer"
  43524. },
  43525. "performancestatus": {
  43526. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  43527. "type": "integer"
  43528. },
  43529. "preexerciseprice": {
  43530. "description": "预申报价格",
  43531. "type": "number"
  43532. },
  43533. "premium": {
  43534. "description": "权利金 - [持仓单的权利金]",
  43535. "type": "number"
  43536. },
  43537. "qtydecimalplace": {
  43538. "description": "商品报价小数位",
  43539. "type": "integer"
  43540. },
  43541. "recvamount": {
  43542. "description": "到账金额 = 成交金额 - 手续费",
  43543. "type": "number"
  43544. },
  43545. "relatedouttradeid": {
  43546. "description": "关联外部成交单ID",
  43547. "type": "integer"
  43548. },
  43549. "status": {
  43550. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  43551. "type": "integer"
  43552. },
  43553. "totalamount": {
  43554. "description": "订单总额 = 成交金额 + 手续费",
  43555. "type": "number"
  43556. },
  43557. "tradeamount": {
  43558. "description": "成交金额[账户币种,用于所有权]",
  43559. "type": "number"
  43560. },
  43561. "tradedate": {
  43562. "description": "交易日(yyyyMMdd)",
  43563. "type": "string"
  43564. },
  43565. "tradeid": {
  43566. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43567. "type": "string"
  43568. },
  43569. "trademode": {
  43570. "description": "交易模式",
  43571. "type": "integer"
  43572. },
  43573. "tradeprice": {
  43574. "description": "成交价格",
  43575. "type": "number"
  43576. },
  43577. "tradeproperty": {
  43578. "description": "交易属性",
  43579. "type": "integer"
  43580. },
  43581. "tradeqty": {
  43582. "description": "成交数量",
  43583. "type": "number"
  43584. },
  43585. "tradetime": {
  43586. "description": "成交时间",
  43587. "type": "string"
  43588. },
  43589. "tradetype": {
  43590. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  43591. "type": "integer"
  43592. }
  43593. }
  43594. },
  43595. "order.QueryHisTradeOrderDetailRsp": {
  43596. "type": "object",
  43597. "required": [
  43598. "accountid",
  43599. "buildtype",
  43600. "buyorsell",
  43601. "goodsid",
  43602. "histradedate",
  43603. "marketid",
  43604. "memberuserid",
  43605. "operatetype",
  43606. "orderid",
  43607. "orderqty",
  43608. "ordertime",
  43609. "pricemode",
  43610. "tradedate",
  43611. "validtype"
  43612. ],
  43613. "properties": {
  43614. "accountid": {
  43615. "description": "账户ID[报价币种]",
  43616. "type": "integer"
  43617. },
  43618. "buildtype": {
  43619. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  43620. "type": "integer"
  43621. },
  43622. "buyorsell": {
  43623. "description": "买卖 - 0:买 1:卖",
  43624. "type": "integer"
  43625. },
  43626. "cancelorderid": {
  43627. "description": "撤单单号(撤单时填写)",
  43628. "type": "string"
  43629. },
  43630. "cancelqty": {
  43631. "description": "撤单数量",
  43632. "type": "number"
  43633. },
  43634. "clientordertime": {
  43635. "description": "客户端委托时间",
  43636. "type": "string"
  43637. },
  43638. "clientticket": {
  43639. "description": "客户端流水号",
  43640. "type": "string"
  43641. },
  43642. "clienttype": {
  43643. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  43644. "type": "integer"
  43645. },
  43646. "closeexchagechargevalue": {
  43647. "description": "平仓交易所手续费设置值",
  43648. "type": "number"
  43649. },
  43650. "closefeealgorithm": {
  43651. "description": "平仓手续费收取方式 1:比率 2:固定",
  43652. "type": "integer"
  43653. },
  43654. "closefreezecharge": {
  43655. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  43656. "type": "number"
  43657. },
  43658. "closememberchargevalue": {
  43659. "description": "平仓会员手续费设置值",
  43660. "type": "number"
  43661. },
  43662. "closeqty": {
  43663. "description": "平仓数量(先建后平操作 需要记录)",
  43664. "type": "number"
  43665. },
  43666. "closetradeqty": {
  43667. "description": "平仓成交数量(先建后平操作,需要记录)",
  43668. "type": "number"
  43669. },
  43670. "closeunfreezecharge": {
  43671. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  43672. "type": "number"
  43673. },
  43674. "decimalplace": {
  43675. "description": "商品报价小数位",
  43676. "type": "integer"
  43677. },
  43678. "delistingtype": {
  43679. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  43680. "type": "integer"
  43681. },
  43682. "enumdicname": {
  43683. "description": "单位名称",
  43684. "type": "string"
  43685. },
  43686. "freezecharge": {
  43687. "description": "冻结手续费",
  43688. "type": "number"
  43689. },
  43690. "freezemargin": {
  43691. "description": "冻结保证金(冻结交易金额)",
  43692. "type": "number"
  43693. },
  43694. "gcaccountid": {
  43695. "description": "账户ID[合约币种]",
  43696. "type": "integer"
  43697. },
  43698. "goodscode": {
  43699. "description": "商品代码",
  43700. "type": "string"
  43701. },
  43702. "goodsid": {
  43703. "description": "商品ID",
  43704. "type": "integer"
  43705. },
  43706. "goodsname": {
  43707. "description": "商品名称",
  43708. "type": "string"
  43709. },
  43710. "goodunitid": {
  43711. "description": "商品单位id",
  43712. "type": "integer"
  43713. },
  43714. "histradedate": {
  43715. "description": "历史交易日",
  43716. "type": "string"
  43717. },
  43718. "isconfirmexercise": {
  43719. "description": "是否确认行权- 0:否 1:是",
  43720. "type": "integer"
  43721. },
  43722. "ispreexercise": {
  43723. "description": "是否预申报- 0:否 1:是",
  43724. "type": "integer"
  43725. },
  43726. "isvaliddata": {
  43727. "description": "是否有效 - 0:无效 1:有效",
  43728. "type": "integer"
  43729. },
  43730. "listingselecttype": {
  43731. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  43732. "type": "integer"
  43733. },
  43734. "marginalgorithm": {
  43735. "description": "保证金收取方式 1:比率 2:固定",
  43736. "type": "integer"
  43737. },
  43738. "marginvalue": {
  43739. "description": "即市保证金设置值",
  43740. "type": "number"
  43741. },
  43742. "marketid": {
  43743. "description": "市场ID",
  43744. "type": "integer"
  43745. },
  43746. "marketmaxsub": {
  43747. "description": "市价最大偏移范围",
  43748. "type": "number"
  43749. },
  43750. "marketname": {
  43751. "description": "市场名称",
  43752. "type": "string"
  43753. },
  43754. "memberuserid": {
  43755. "description": "所属会员UserID",
  43756. "type": "integer"
  43757. },
  43758. "openexchagechargevalue": {
  43759. "description": "建仓交易所手续费设置值",
  43760. "type": "number"
  43761. },
  43762. "openfeealgorithm": {
  43763. "description": "建仓手续费收取方式 1:比率 2:固定",
  43764. "type": "integer"
  43765. },
  43766. "openfreezecharge": {
  43767. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  43768. "type": "number"
  43769. },
  43770. "openmemberchargevalue": {
  43771. "description": "建仓会员手续费设置值",
  43772. "type": "number"
  43773. },
  43774. "openqty": {
  43775. "description": "开仓数量(先建后平操作,需要记录)",
  43776. "type": "number"
  43777. },
  43778. "opentradeqty": {
  43779. "description": "开仓成交数量(先建后平操作,需要记录)",
  43780. "type": "number"
  43781. },
  43782. "openunfreezecharge": {
  43783. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  43784. "type": "number"
  43785. },
  43786. "operatetype": {
  43787. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  43788. "type": "integer"
  43789. },
  43790. "operatorid": {
  43791. "description": "登录账号(LoginID)",
  43792. "type": "integer"
  43793. },
  43794. "optiontype": {
  43795. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  43796. "type": "integer"
  43797. },
  43798. "orderid": {
  43799. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  43800. "type": "string"
  43801. },
  43802. "orderprice": {
  43803. "description": "委托价格",
  43804. "type": "number"
  43805. },
  43806. "orderqty": {
  43807. "description": "委托数量",
  43808. "type": "number"
  43809. },
  43810. "ordersrc": {
  43811. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  43812. "type": "integer"
  43813. },
  43814. "orderstatus": {
  43815. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  43816. "type": "integer"
  43817. },
  43818. "ordertime": {
  43819. "description": "委托时间",
  43820. "type": "string"
  43821. },
  43822. "preexerciseprice": {
  43823. "description": "预申报价格",
  43824. "type": "number"
  43825. },
  43826. "premium": {
  43827. "description": "权利金",
  43828. "type": "number"
  43829. },
  43830. "preorderid": {
  43831. "description": "关联预埋单号(止盈止损单时填写)",
  43832. "type": "string"
  43833. },
  43834. "pricemode": {
  43835. "description": "取价方式 - 1:市价 2: 限价",
  43836. "type": "integer"
  43837. },
  43838. "qtydecimalplace": {
  43839. "description": "成交量小数位",
  43840. "type": "integer"
  43841. },
  43842. "quoteid": {
  43843. "description": "报价单ID",
  43844. "type": "integer"
  43845. },
  43846. "relatedid": {
  43847. "description": "关联单号(交割单)",
  43848. "type": "string"
  43849. },
  43850. "retcode": {
  43851. "description": "错误代码",
  43852. "type": "integer"
  43853. },
  43854. "sessionid": {
  43855. "description": "会话ID",
  43856. "type": "integer"
  43857. },
  43858. "tradedate": {
  43859. "description": "交易日(yyyyMMdd)",
  43860. "type": "string"
  43861. },
  43862. "trademode": {
  43863. "description": "交易模式",
  43864. "type": "integer"
  43865. },
  43866. "tradeproperty": {
  43867. "description": "交易属性",
  43868. "type": "integer"
  43869. },
  43870. "tradeqty": {
  43871. "description": "成交数量",
  43872. "type": "number"
  43873. },
  43874. "unfreezecharge": {
  43875. "description": "解冻手续费",
  43876. "type": "number"
  43877. },
  43878. "unfreezemargin": {
  43879. "description": "解冻保证金",
  43880. "type": "number"
  43881. },
  43882. "updatetime": {
  43883. "description": "更新时间",
  43884. "type": "string"
  43885. },
  43886. "uuid": {
  43887. "description": "发起端唯一id",
  43888. "type": "string"
  43889. },
  43890. "validtime": {
  43891. "description": "有效期限",
  43892. "type": "string"
  43893. },
  43894. "validtype": {
  43895. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  43896. "type": "integer"
  43897. },
  43898. "volumetype": {
  43899. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  43900. "type": "integer"
  43901. }
  43902. }
  43903. },
  43904. "order.QueryTradeDetailRsp": {
  43905. "type": "object",
  43906. "required": [
  43907. "accountid",
  43908. "buyorsell",
  43909. "goodsid",
  43910. "marketid",
  43911. "memberuserid",
  43912. "orderid",
  43913. "tradeamount",
  43914. "tradedate",
  43915. "tradeid",
  43916. "tradeprice",
  43917. "tradeqty",
  43918. "tradetime"
  43919. ],
  43920. "properties": {
  43921. "accountid": {
  43922. "description": "账户ID[报价币种]",
  43923. "type": "integer"
  43924. },
  43925. "advanceratio": {
  43926. "description": "首付比率",
  43927. "type": "number"
  43928. },
  43929. "buildtype": {
  43930. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  43931. "type": "integer"
  43932. },
  43933. "buyorsell": {
  43934. "description": "方向 - 0:买 1:卖",
  43935. "type": "integer"
  43936. },
  43937. "charge": {
  43938. "description": "手续费",
  43939. "type": "number"
  43940. },
  43941. "closecharge": {
  43942. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  43943. "type": "number"
  43944. },
  43945. "closeexchagechargevalue": {
  43946. "description": "平仓交易所手续费设置值",
  43947. "type": "number"
  43948. },
  43949. "closefeealgorithm": {
  43950. "description": "平仓手续费收取方式 1:比率 2:固定",
  43951. "type": "integer"
  43952. },
  43953. "closememberchargevalue": {
  43954. "description": "平仓会员手续费设置值",
  43955. "type": "number"
  43956. },
  43957. "closepl": {
  43958. "description": "平仓盈亏",
  43959. "type": "number"
  43960. },
  43961. "closepl2": {
  43962. "description": "平仓盈亏[逐笔]",
  43963. "type": "number"
  43964. },
  43965. "closeqty": {
  43966. "description": "平仓数量(先建后平操作 需要记录)",
  43967. "type": "number"
  43968. },
  43969. "creditamount": {
  43970. "description": "授信金额",
  43971. "type": "number"
  43972. },
  43973. "decimalplace": {
  43974. "description": "商品报价小数位",
  43975. "type": "integer"
  43976. },
  43977. "enumdicname": {
  43978. "description": "单位名称",
  43979. "type": "string"
  43980. },
  43981. "gcaccountid": {
  43982. "description": "账户ID[合约币种]",
  43983. "type": "integer"
  43984. },
  43985. "goodscode": {
  43986. "description": "商品代码",
  43987. "type": "string"
  43988. },
  43989. "goodsid": {
  43990. "description": "商品ID",
  43991. "type": "integer"
  43992. },
  43993. "goodsname": {
  43994. "description": "商品名称",
  43995. "type": "string"
  43996. },
  43997. "goodunitid": {
  43998. "description": "商品单位id",
  43999. "type": "integer"
  44000. },
  44001. "intclosepl": {
  44002. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  44003. "type": "integer"
  44004. },
  44005. "isconfirmexercise": {
  44006. "description": "是否确认行权- 0:否 1:是",
  44007. "type": "integer"
  44008. },
  44009. "ismain": {
  44010. "description": "是否主单 - 0:不是 1:是",
  44011. "type": "integer"
  44012. },
  44013. "ispreexercise": {
  44014. "description": "是否预申报- 0:否 1:是",
  44015. "type": "integer"
  44016. },
  44017. "isreckoned": {
  44018. "description": "是否结算 - 0:未结算 1:已结算",
  44019. "type": "integer"
  44020. },
  44021. "listingselecttype": {
  44022. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44023. "type": "integer"
  44024. },
  44025. "marketid": {
  44026. "description": "市场ID",
  44027. "type": "integer"
  44028. },
  44029. "marketname": {
  44030. "description": "市场名称",
  44031. "type": "string"
  44032. },
  44033. "matchaccountid": {
  44034. "description": "对手账号id",
  44035. "type": "integer"
  44036. },
  44037. "memberuserid": {
  44038. "description": "会员id 个人投资者 需要填写",
  44039. "type": "integer"
  44040. },
  44041. "opencharge": {
  44042. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  44043. "type": "number"
  44044. },
  44045. "openexchagechargevalue": {
  44046. "description": "建仓交易所手续费设置值",
  44047. "type": "number"
  44048. },
  44049. "openfeealgorithm": {
  44050. "description": "建仓手续费收取方式 1:比率 2:固定",
  44051. "type": "integer"
  44052. },
  44053. "openmemberchargevalue": {
  44054. "description": "建仓会员手续费设置值",
  44055. "type": "number"
  44056. },
  44057. "openqty": {
  44058. "description": "开仓数量(先建后平操作 需要记录)",
  44059. "type": "number"
  44060. },
  44061. "optiontype": {
  44062. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  44063. "type": "integer"
  44064. },
  44065. "orderid": {
  44066. "description": "委托单号",
  44067. "type": "string"
  44068. },
  44069. "payamount": {
  44070. "description": "支付金额(付款金额)",
  44071. "type": "number"
  44072. },
  44073. "performanceplanid": {
  44074. "description": "履约计划ID[期权]",
  44075. "type": "integer"
  44076. },
  44077. "performancestatus": {
  44078. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  44079. "type": "integer"
  44080. },
  44081. "preexerciseprice": {
  44082. "description": "预申报价格",
  44083. "type": "number"
  44084. },
  44085. "premium": {
  44086. "description": "权利金 - [持仓单的权利金]",
  44087. "type": "number"
  44088. },
  44089. "qtydecimalplace": {
  44090. "description": "商品报价小数位",
  44091. "type": "integer"
  44092. },
  44093. "recvamount": {
  44094. "description": "到账金额 = 成交金额 - 手续费",
  44095. "type": "number"
  44096. },
  44097. "relatedouttradeid": {
  44098. "description": "关联外部成交单ID",
  44099. "type": "integer"
  44100. },
  44101. "status": {
  44102. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  44103. "type": "integer"
  44104. },
  44105. "totalamount": {
  44106. "description": "订单总额 = 成交金额 + 手续费",
  44107. "type": "number"
  44108. },
  44109. "tradeamount": {
  44110. "description": "成交金额[账户币种,用于所有权]",
  44111. "type": "number"
  44112. },
  44113. "tradedate": {
  44114. "description": "交易日(yyyyMMdd)",
  44115. "type": "string"
  44116. },
  44117. "tradeid": {
  44118. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44119. "type": "string"
  44120. },
  44121. "trademode": {
  44122. "description": "交易模式",
  44123. "type": "integer"
  44124. },
  44125. "tradeprice": {
  44126. "description": "成交价格",
  44127. "type": "number"
  44128. },
  44129. "tradeproperty": {
  44130. "description": "交易属性",
  44131. "type": "integer"
  44132. },
  44133. "tradeqty": {
  44134. "description": "成交数量",
  44135. "type": "number"
  44136. },
  44137. "tradetime": {
  44138. "description": "成交时间",
  44139. "type": "string"
  44140. },
  44141. "tradetype": {
  44142. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  44143. "type": "integer"
  44144. }
  44145. }
  44146. },
  44147. "order.QueryTradeOrderDetailRsp": {
  44148. "type": "object",
  44149. "required": [
  44150. "accountid",
  44151. "buildtype",
  44152. "buyorsell",
  44153. "goodsid",
  44154. "marketid",
  44155. "operatetype",
  44156. "orderqty",
  44157. "ordertime",
  44158. "pricemode",
  44159. "tradedate",
  44160. "validtype"
  44161. ],
  44162. "properties": {
  44163. "accountid": {
  44164. "description": "账户ID[报价币种]",
  44165. "type": "integer"
  44166. },
  44167. "buildtype": {
  44168. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  44169. "type": "integer"
  44170. },
  44171. "buyorsell": {
  44172. "description": "买卖 - 0:买 1:卖",
  44173. "type": "integer"
  44174. },
  44175. "cancelorderid": {
  44176. "description": "撤单单号(撤单时填写)",
  44177. "type": "string"
  44178. },
  44179. "cancelqty": {
  44180. "description": "撤单数量",
  44181. "type": "number"
  44182. },
  44183. "clienttype": {
  44184. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  44185. "type": "integer"
  44186. },
  44187. "closefreezecharge": {
  44188. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  44189. "type": "number"
  44190. },
  44191. "closeqty": {
  44192. "description": "平仓数量(先建后平操作 需要记录)",
  44193. "type": "number"
  44194. },
  44195. "closetradeqty": {
  44196. "description": "平仓成交数量(先建后平操作,需要记录)",
  44197. "type": "number"
  44198. },
  44199. "closeunfreezecharge": {
  44200. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  44201. "type": "number"
  44202. },
  44203. "decimalplace": {
  44204. "description": "商品报价小数位",
  44205. "type": "integer"
  44206. },
  44207. "delistingtype": {
  44208. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  44209. "type": "integer"
  44210. },
  44211. "enableqty": {
  44212. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  44213. "type": "number"
  44214. },
  44215. "enumdicname": {
  44216. "description": "单位名称",
  44217. "type": "string"
  44218. },
  44219. "freezecharge": {
  44220. "description": "冻结手续费",
  44221. "type": "number"
  44222. },
  44223. "freezemargin": {
  44224. "description": "冻结保证金(冻结交易金额)",
  44225. "type": "number"
  44226. },
  44227. "goodscode": {
  44228. "description": "商品代码",
  44229. "type": "string"
  44230. },
  44231. "goodsid": {
  44232. "description": "商品ID",
  44233. "type": "integer"
  44234. },
  44235. "goodsname": {
  44236. "description": "商品名称",
  44237. "type": "string"
  44238. },
  44239. "goodunitid": {
  44240. "description": "商品单位id",
  44241. "type": "integer"
  44242. },
  44243. "listingselecttype": {
  44244. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  44245. "type": "integer"
  44246. },
  44247. "marketid": {
  44248. "description": "市场ID",
  44249. "type": "integer"
  44250. },
  44251. "marketname": {
  44252. "description": "市场名称",
  44253. "type": "string"
  44254. },
  44255. "openfreezecharge": {
  44256. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  44257. "type": "number"
  44258. },
  44259. "openqty": {
  44260. "description": "开仓数量(先建后平操作,需要记录)",
  44261. "type": "number"
  44262. },
  44263. "opentradeqty": {
  44264. "description": "开仓成交数量(先建后平操作,需要记录)",
  44265. "type": "number"
  44266. },
  44267. "openunfreezecharge": {
  44268. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  44269. "type": "number"
  44270. },
  44271. "operatetype": {
  44272. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  44273. "type": "integer"
  44274. },
  44275. "operatorid": {
  44276. "description": "登录账号(LoginID)",
  44277. "type": "integer"
  44278. },
  44279. "orderid": {
  44280. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  44281. "type": "string"
  44282. },
  44283. "orderprice": {
  44284. "description": "委托价格",
  44285. "type": "number"
  44286. },
  44287. "orderqty": {
  44288. "description": "委托数量",
  44289. "type": "number"
  44290. },
  44291. "ordersrc": {
  44292. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  44293. "type": "integer"
  44294. },
  44295. "orderstatus": {
  44296. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  44297. "type": "integer"
  44298. },
  44299. "ordertime": {
  44300. "description": "委托时间",
  44301. "type": "string"
  44302. },
  44303. "preorderid": {
  44304. "description": "关联预埋单号(止盈止损单时填写)",
  44305. "type": "string"
  44306. },
  44307. "pricemode": {
  44308. "description": "取价方式 - 1:市价 2: 限价",
  44309. "type": "integer"
  44310. },
  44311. "qtydecimalplace": {
  44312. "description": "商品报价小数位",
  44313. "type": "integer"
  44314. },
  44315. "relatedid": {
  44316. "description": "关联单号(交割单)",
  44317. "type": "string"
  44318. },
  44319. "tradedate": {
  44320. "description": "交易日(yyyyMMdd)",
  44321. "type": "string"
  44322. },
  44323. "trademode": {
  44324. "description": "交易模式",
  44325. "type": "integer"
  44326. },
  44327. "tradeqty": {
  44328. "description": "成交数量",
  44329. "type": "number"
  44330. },
  44331. "unfreezecharge": {
  44332. "description": "解冻手续费",
  44333. "type": "number"
  44334. },
  44335. "unfreezemargin": {
  44336. "description": "解冻保证金",
  44337. "type": "number"
  44338. },
  44339. "validtime": {
  44340. "description": "有效期限",
  44341. "type": "string"
  44342. },
  44343. "validtype": {
  44344. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  44345. "type": "integer"
  44346. },
  44347. "volumetype": {
  44348. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  44349. "type": "integer"
  44350. }
  44351. }
  44352. },
  44353. "order.QueryTradePositionRsp": {
  44354. "type": "object",
  44355. "required": [
  44356. "goodsid"
  44357. ],
  44358. "properties": {
  44359. "accountid": {
  44360. "description": "资金账户",
  44361. "type": "integer"
  44362. },
  44363. "agreeunit": {
  44364. "description": "合约单位",
  44365. "type": "number"
  44366. },
  44367. "averageprice": {
  44368. "description": "持仓均价",
  44369. "type": "number"
  44370. },
  44371. "buyorsell": {
  44372. "description": "方向 - 0:买 1:卖",
  44373. "type": "integer"
  44374. },
  44375. "closetotalqty": {
  44376. "description": "平仓总数量",
  44377. "type": "number"
  44378. },
  44379. "curholderamount": {
  44380. "description": "当前持仓总金额[商品币种]",
  44381. "type": "number"
  44382. },
  44383. "curpositionqty": {
  44384. "description": "当前持仓总数量",
  44385. "type": "number"
  44386. },
  44387. "currencyid": {
  44388. "description": "报价货币ID",
  44389. "type": "integer"
  44390. },
  44391. "curtdposition": {
  44392. "description": "期末今日头寸",
  44393. "type": "number"
  44394. },
  44395. "decimalplace": {
  44396. "description": "报价小数位",
  44397. "type": "integer"
  44398. },
  44399. "enableqty": {
  44400. "description": "可用量",
  44401. "type": "number"
  44402. },
  44403. "fretdposition": {
  44404. "description": "冻结今日头寸",
  44405. "type": "number"
  44406. },
  44407. "frozenqty": {
  44408. "description": "持仓冻结数量",
  44409. "type": "number"
  44410. },
  44411. "goodscode": {
  44412. "description": "商品代码",
  44413. "type": "string"
  44414. },
  44415. "goodsid": {
  44416. "description": "商品Id",
  44417. "type": "integer"
  44418. },
  44419. "goodsname": {
  44420. "description": "商品名称",
  44421. "type": "string"
  44422. },
  44423. "goodunit": {
  44424. "description": "报价单位",
  44425. "type": "string"
  44426. },
  44427. "goodunitid": {
  44428. "description": "报价单位ID",
  44429. "type": "integer"
  44430. },
  44431. "holderamount": {
  44432. "description": "期初持仓总金额[商品币种]",
  44433. "type": "number"
  44434. },
  44435. "lastprice": {
  44436. "description": "最新价",
  44437. "type": "number"
  44438. },
  44439. "marketamount": {
  44440. "description": "市值",
  44441. "type": "number"
  44442. },
  44443. "marketid": {
  44444. "description": "所属市场ID",
  44445. "type": "integer"
  44446. },
  44447. "openreqqty": {
  44448. "description": "开仓申请数量(用于比较最大持仓数量)",
  44449. "type": "number"
  44450. },
  44451. "opentotalqty": {
  44452. "description": "开仓总数量",
  44453. "type": "number"
  44454. },
  44455. "otherfrozenqty": {
  44456. "description": "持仓其他冻结数量(交割冻结)",
  44457. "type": "number"
  44458. },
  44459. "positionpl": {
  44460. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  44461. "type": "number"
  44462. },
  44463. "positionplrate": {
  44464. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  44465. "type": "number"
  44466. },
  44467. "positionqty": {
  44468. "description": "期初持仓数量",
  44469. "type": "number"
  44470. },
  44471. "qtydecimalplace": {
  44472. "description": "成交量小数位",
  44473. "type": "integer"
  44474. },
  44475. "refgoodscode": {
  44476. "description": "参考商品代码",
  44477. "type": "string"
  44478. },
  44479. "refgoodsid": {
  44480. "description": "参考商品ID",
  44481. "type": "integer"
  44482. },
  44483. "tnqty": {
  44484. "description": "T+N冻结总量",
  44485. "type": "number"
  44486. },
  44487. "tnusedqty": {
  44488. "description": "T+N使用量(可以使用T+N的冻结数量)",
  44489. "type": "number"
  44490. },
  44491. "trademode": {
  44492. "description": "交易模式",
  44493. "type": "integer"
  44494. },
  44495. "tradeproperty": {
  44496. "description": "交易属性",
  44497. "type": "integer"
  44498. },
  44499. "usedmargin": {
  44500. "description": "占用保证金[商品币种]",
  44501. "type": "number"
  44502. }
  44503. }
  44504. },
  44505. "pb.GoodsMarginCfgStruct": {
  44506. "type": "object",
  44507. "properties": {
  44508. "CustomerTypeID": {
  44509. "description": "投资者客户类型",
  44510. "type": "integer"
  44511. },
  44512. "GoodsID": {
  44513. "description": "商品ID",
  44514. "type": "integer"
  44515. },
  44516. "IsDefault": {
  44517. "description": "是否默认标志位",
  44518. "type": "integer"
  44519. },
  44520. "LockMarginValue": {
  44521. "description": "锁仓保证金",
  44522. "type": "number"
  44523. },
  44524. "MarginAlgorithm": {
  44525. "description": "保证金计算方式",
  44526. "type": "integer"
  44527. },
  44528. "MarketMarginValue": {
  44529. "description": "即市保证金值",
  44530. "type": "number"
  44531. },
  44532. "RealMarginAlgorithm": {
  44533. "description": "实付保证金计算方式",
  44534. "type": "integer"
  44535. },
  44536. "RealMarginValue": {
  44537. "description": "实付比例",
  44538. "type": "number"
  44539. },
  44540. "ReckonMarginValue": {
  44541. "description": "结算保证金值",
  44542. "type": "number"
  44543. }
  44544. }
  44545. },
  44546. "quote.HistoryData": {
  44547. "type": "object",
  44548. "properties": {
  44549. "c": {
  44550. "description": "收盘价",
  44551. "type": "number"
  44552. },
  44553. "f": {
  44554. "description": "是否补充数据",
  44555. "type": "boolean"
  44556. },
  44557. "h": {
  44558. "description": "最高价",
  44559. "type": "number"
  44560. },
  44561. "hv": {
  44562. "description": "持仓量",
  44563. "type": "integer"
  44564. },
  44565. "l": {
  44566. "description": "最低价",
  44567. "type": "number"
  44568. },
  44569. "o": {
  44570. "description": "开盘价",
  44571. "type": "number"
  44572. },
  44573. "s": {
  44574. "description": "结算价,日线周期(包括)以上才有",
  44575. "type": "number"
  44576. },
  44577. "ts": {
  44578. "description": "时间",
  44579. "type": "string"
  44580. },
  44581. "tt": {
  44582. "description": "总金额",
  44583. "type": "number"
  44584. },
  44585. "tv": {
  44586. "description": "总量(成交量)",
  44587. "type": "integer"
  44588. }
  44589. }
  44590. },
  44591. "quote.HistoryTikData": {
  44592. "type": "object",
  44593. "properties": {
  44594. "AV": {
  44595. "description": "卖量",
  44596. "type": "integer"
  44597. },
  44598. "Ask": {
  44599. "description": "卖价",
  44600. "type": "number"
  44601. },
  44602. "BV": {
  44603. "description": "买量",
  44604. "type": "integer"
  44605. },
  44606. "Bid": {
  44607. "description": "买价",
  44608. "type": "number"
  44609. },
  44610. "HI": {
  44611. "description": "单笔持仓",
  44612. "type": "integer"
  44613. },
  44614. "HV": {
  44615. "description": "持仓量",
  44616. "type": "integer"
  44617. },
  44618. "PE": {
  44619. "description": "现价",
  44620. "type": "number"
  44621. },
  44622. "TDR": {
  44623. "description": "交易方向,0:买 1:卖",
  44624. "type": "integer"
  44625. },
  44626. "TK": {
  44627. "description": "交易类型",
  44628. "type": "integer"
  44629. },
  44630. "TS": {
  44631. "description": "行情时间文本",
  44632. "type": "string"
  44633. },
  44634. "TT": {
  44635. "description": "现金额",
  44636. "type": "number"
  44637. },
  44638. "Vol": {
  44639. "description": "现量",
  44640. "type": "integer"
  44641. }
  44642. }
  44643. },
  44644. "quote.QueryQuoteDayRsp": {
  44645. "type": "object",
  44646. "properties": {
  44647. "ask": {
  44648. "description": "卖1",
  44649. "type": "number"
  44650. },
  44651. "ask10": {
  44652. "description": "卖10",
  44653. "type": "number"
  44654. },
  44655. "ask2": {
  44656. "description": "卖2",
  44657. "type": "number"
  44658. },
  44659. "ask3": {
  44660. "description": "卖3",
  44661. "type": "number"
  44662. },
  44663. "ask4": {
  44664. "description": "卖4",
  44665. "type": "number"
  44666. },
  44667. "ask5": {
  44668. "description": "卖5",
  44669. "type": "number"
  44670. },
  44671. "ask6": {
  44672. "description": "卖6",
  44673. "type": "number"
  44674. },
  44675. "ask7": {
  44676. "description": "卖7",
  44677. "type": "number"
  44678. },
  44679. "ask8": {
  44680. "description": "卖8",
  44681. "type": "number"
  44682. },
  44683. "ask9": {
  44684. "description": "卖9",
  44685. "type": "number"
  44686. },
  44687. "askorderid": {
  44688. "description": "卖单号1",
  44689. "type": "integer"
  44690. },
  44691. "askorderid2": {
  44692. "description": "卖单号2",
  44693. "type": "integer"
  44694. },
  44695. "askorderid3": {
  44696. "description": "卖单号3",
  44697. "type": "integer"
  44698. },
  44699. "askorderid4": {
  44700. "description": "卖单号4",
  44701. "type": "integer"
  44702. },
  44703. "askorderid5": {
  44704. "description": "卖单号5",
  44705. "type": "integer"
  44706. },
  44707. "askordervolume": {
  44708. "description": "卖单量1",
  44709. "type": "integer"
  44710. },
  44711. "askordervolume10": {
  44712. "description": "卖单量10",
  44713. "type": "integer"
  44714. },
  44715. "askordervolume2": {
  44716. "description": "卖单量2",
  44717. "type": "integer"
  44718. },
  44719. "askordervolume3": {
  44720. "description": "卖单量3",
  44721. "type": "integer"
  44722. },
  44723. "askordervolume4": {
  44724. "description": "卖单量4",
  44725. "type": "integer"
  44726. },
  44727. "askordervolume5": {
  44728. "description": "卖单量5",
  44729. "type": "integer"
  44730. },
  44731. "askordervolume6": {
  44732. "description": "卖单量6",
  44733. "type": "integer"
  44734. },
  44735. "askordervolume7": {
  44736. "description": "卖单量7",
  44737. "type": "integer"
  44738. },
  44739. "askordervolume8": {
  44740. "description": "卖单量8",
  44741. "type": "integer"
  44742. },
  44743. "askordervolume9": {
  44744. "description": "卖单量9",
  44745. "type": "integer"
  44746. },
  44747. "askqueueinfo": {
  44748. "description": "大利市卖港股用",
  44749. "type": "string"
  44750. },
  44751. "askvolume": {
  44752. "description": "卖量1",
  44753. "type": "integer"
  44754. },
  44755. "askvolume10": {
  44756. "description": "卖量10",
  44757. "type": "integer"
  44758. },
  44759. "askvolume2": {
  44760. "description": "卖量2",
  44761. "type": "integer"
  44762. },
  44763. "askvolume3": {
  44764. "description": "卖量3",
  44765. "type": "integer"
  44766. },
  44767. "askvolume4": {
  44768. "description": "卖量4",
  44769. "type": "integer"
  44770. },
  44771. "askvolume5": {
  44772. "description": "卖量5",
  44773. "type": "integer"
  44774. },
  44775. "askvolume6": {
  44776. "description": "卖量6",
  44777. "type": "integer"
  44778. },
  44779. "askvolume7": {
  44780. "description": "卖量7",
  44781. "type": "integer"
  44782. },
  44783. "askvolume8": {
  44784. "description": "卖量8",
  44785. "type": "integer"
  44786. },
  44787. "askvolume9": {
  44788. "description": "卖量9",
  44789. "type": "integer"
  44790. },
  44791. "averageprice": {
  44792. "description": "均价",
  44793. "type": "number"
  44794. },
  44795. "bid": {
  44796. "description": "买1",
  44797. "type": "number"
  44798. },
  44799. "bid10": {
  44800. "description": "买10",
  44801. "type": "number"
  44802. },
  44803. "bid2": {
  44804. "description": "买2",
  44805. "type": "number"
  44806. },
  44807. "bid3": {
  44808. "description": "买3",
  44809. "type": "number"
  44810. },
  44811. "bid4": {
  44812. "description": "买4",
  44813. "type": "number"
  44814. },
  44815. "bid5": {
  44816. "description": "买5",
  44817. "type": "number"
  44818. },
  44819. "bid6": {
  44820. "description": "买6",
  44821. "type": "number"
  44822. },
  44823. "bid7": {
  44824. "description": "买7",
  44825. "type": "number"
  44826. },
  44827. "bid8": {
  44828. "description": "买8",
  44829. "type": "number"
  44830. },
  44831. "bid9": {
  44832. "description": "买9",
  44833. "type": "number"
  44834. },
  44835. "bidorderid": {
  44836. "description": "买单号1",
  44837. "type": "integer"
  44838. },
  44839. "bidorderid2": {
  44840. "description": "买单号2",
  44841. "type": "integer"
  44842. },
  44843. "bidorderid3": {
  44844. "description": "买单号3",
  44845. "type": "integer"
  44846. },
  44847. "bidorderid4": {
  44848. "description": "买单号4",
  44849. "type": "integer"
  44850. },
  44851. "bidorderid5": {
  44852. "description": "买单号5",
  44853. "type": "integer"
  44854. },
  44855. "bidordervolume": {
  44856. "description": "买单量1",
  44857. "type": "integer"
  44858. },
  44859. "bidordervolume10": {
  44860. "description": "买单量10",
  44861. "type": "integer"
  44862. },
  44863. "bidordervolume2": {
  44864. "description": "买单量2",
  44865. "type": "integer"
  44866. },
  44867. "bidordervolume3": {
  44868. "description": "买单量3",
  44869. "type": "integer"
  44870. },
  44871. "bidordervolume4": {
  44872. "description": "买单量4",
  44873. "type": "integer"
  44874. },
  44875. "bidordervolume5": {
  44876. "description": "买单量5",
  44877. "type": "integer"
  44878. },
  44879. "bidordervolume6": {
  44880. "description": "买单量6",
  44881. "type": "integer"
  44882. },
  44883. "bidordervolume7": {
  44884. "description": "买单量7",
  44885. "type": "integer"
  44886. },
  44887. "bidordervolume8": {
  44888. "description": "买单量8",
  44889. "type": "integer"
  44890. },
  44891. "bidordervolume9": {
  44892. "description": "买单量9",
  44893. "type": "integer"
  44894. },
  44895. "bidqueueinfo": {
  44896. "description": "大利市买港股用",
  44897. "type": "string"
  44898. },
  44899. "bidvolume": {
  44900. "description": "买量1",
  44901. "type": "integer"
  44902. },
  44903. "bidvolume10": {
  44904. "description": "买量10",
  44905. "type": "integer"
  44906. },
  44907. "bidvolume2": {
  44908. "description": "买量2",
  44909. "type": "integer"
  44910. },
  44911. "bidvolume3": {
  44912. "description": "买量3",
  44913. "type": "integer"
  44914. },
  44915. "bidvolume4": {
  44916. "description": "买量4",
  44917. "type": "integer"
  44918. },
  44919. "bidvolume5": {
  44920. "description": "买量5",
  44921. "type": "integer"
  44922. },
  44923. "bidvolume6": {
  44924. "description": "买量6",
  44925. "type": "integer"
  44926. },
  44927. "bidvolume7": {
  44928. "description": "买量7",
  44929. "type": "integer"
  44930. },
  44931. "bidvolume8": {
  44932. "description": "买量8",
  44933. "type": "integer"
  44934. },
  44935. "bidvolume9": {
  44936. "description": "买量9",
  44937. "type": "integer"
  44938. },
  44939. "calloptionpremiums": {
  44940. "description": "认购期权1",
  44941. "type": "integer"
  44942. },
  44943. "calloptionpremiums2": {
  44944. "description": "认购期权2",
  44945. "type": "integer"
  44946. },
  44947. "calloptionpremiums3": {
  44948. "description": "认购期权3",
  44949. "type": "integer"
  44950. },
  44951. "calloptionpremiums4": {
  44952. "description": "认购期权4",
  44953. "type": "integer"
  44954. },
  44955. "calloptionpremiums5": {
  44956. "description": "认购期权5",
  44957. "type": "integer"
  44958. },
  44959. "cleartime": {
  44960. "description": "清盘时间",
  44961. "type": "integer"
  44962. },
  44963. "exchangecode": {
  44964. "description": "交易所代码",
  44965. "type": "integer"
  44966. },
  44967. "exchangedate": {
  44968. "description": "交易日",
  44969. "type": "integer"
  44970. },
  44971. "goodscode": {
  44972. "description": "商品代码",
  44973. "type": "string"
  44974. },
  44975. "grepmarketprice": {
  44976. "description": "暗盘价 港股专用",
  44977. "type": "number"
  44978. },
  44979. "highest": {
  44980. "description": "最高价",
  44981. "type": "number"
  44982. },
  44983. "holdincrement": {
  44984. "description": "单笔持仓",
  44985. "type": "integer"
  44986. },
  44987. "holdvolume": {
  44988. "description": "持仓",
  44989. "type": "integer"
  44990. },
  44991. "iep": {
  44992. "description": "平衡价 港股专用",
  44993. "type": "number"
  44994. },
  44995. "iev": {
  44996. "description": "平衡量 港股专用",
  44997. "type": "number"
  44998. },
  44999. "inventory": {
  45000. "description": "库存",
  45001. "type": "integer"
  45002. },
  45003. "iscleared": {
  45004. "description": "是否清盘标志",
  45005. "type": "integer"
  45006. },
  45007. "issettled": {
  45008. "description": "是否结算标志",
  45009. "type": "integer"
  45010. },
  45011. "last": {
  45012. "description": "最新价",
  45013. "type": "number"
  45014. },
  45015. "lastlot": {
  45016. "description": "最新成交手数",
  45017. "type": "integer"
  45018. },
  45019. "lasttime": {
  45020. "description": "行情时间(只有现价变化行情时间才变化)",
  45021. "type": "string"
  45022. },
  45023. "lastturnover": {
  45024. "description": "最新成交金额",
  45025. "type": "number"
  45026. },
  45027. "lastvolume": {
  45028. "description": "最新成交量",
  45029. "type": "integer"
  45030. },
  45031. "limitdown": {
  45032. "description": "跌停价",
  45033. "type": "number"
  45034. },
  45035. "limitup": {
  45036. "description": "涨停价",
  45037. "type": "number"
  45038. },
  45039. "lowest": {
  45040. "description": "最低价",
  45041. "type": "number"
  45042. },
  45043. "nontotalholdervolume": {
  45044. "description": "非交易持仓量",
  45045. "type": "integer"
  45046. },
  45047. "nontotallot": {
  45048. "description": "非交易总手数",
  45049. "type": "integer"
  45050. },
  45051. "nontotalturnover": {
  45052. "description": "非交易总金额",
  45053. "type": "integer"
  45054. },
  45055. "nontotalvolume": {
  45056. "description": "非交易总量",
  45057. "type": "integer"
  45058. },
  45059. "opened": {
  45060. "description": "开盘价",
  45061. "type": "number"
  45062. },
  45063. "opentime": {
  45064. "description": "开盘时间",
  45065. "type": "string"
  45066. },
  45067. "orderid": {
  45068. "description": "序号",
  45069. "type": "integer"
  45070. },
  45071. "preclose": {
  45072. "description": "昨收",
  45073. "type": "number"
  45074. },
  45075. "preholdvolume": {
  45076. "description": "昨持仓",
  45077. "type": "integer"
  45078. },
  45079. "presettle": {
  45080. "description": "昨结价",
  45081. "type": "number"
  45082. },
  45083. "publictradetype": {
  45084. "description": "公共交易标志类型 港股专用",
  45085. "type": "string"
  45086. },
  45087. "putoptionpremiums": {
  45088. "description": "认沽期权1",
  45089. "type": "integer"
  45090. },
  45091. "putoptionpremiums2": {
  45092. "description": "认沽期权2",
  45093. "type": "integer"
  45094. },
  45095. "putoptionpremiums3": {
  45096. "description": "认沽期权3",
  45097. "type": "integer"
  45098. },
  45099. "putoptionpremiums4": {
  45100. "description": "认沽期权4",
  45101. "type": "integer"
  45102. },
  45103. "putoptionpremiums5": {
  45104. "description": "认沽期权5",
  45105. "type": "integer"
  45106. },
  45107. "settle": {
  45108. "description": "结算价",
  45109. "type": "number"
  45110. },
  45111. "strikeprice": {
  45112. "description": "发行价",
  45113. "type": "number"
  45114. },
  45115. "totalaskvolume": {
  45116. "description": "内盘",
  45117. "type": "integer"
  45118. },
  45119. "totalbidvolume": {
  45120. "description": "外盘",
  45121. "type": "integer"
  45122. },
  45123. "totallot": {
  45124. "description": "总手数",
  45125. "type": "integer"
  45126. },
  45127. "totalturnover": {
  45128. "description": "总金额",
  45129. "type": "number"
  45130. },
  45131. "totalvolume": {
  45132. "description": "总量",
  45133. "type": "integer"
  45134. },
  45135. "utclasttime": {
  45136. "description": "utc的行情时间",
  45137. "type": "string"
  45138. }
  45139. }
  45140. },
  45141. "quote.QueryTSDataRsp": {
  45142. "type": "object",
  45143. "properties": {
  45144. "Count": {
  45145. "description": "交易日应有数据个数",
  45146. "type": "integer"
  45147. },
  45148. "decimalPlace": {
  45149. "description": "小数位",
  45150. "type": "integer"
  45151. },
  45152. "endTime": {
  45153. "description": "结束时间",
  45154. "type": "string"
  45155. },
  45156. "goodsCode": {
  45157. "description": "商品代码",
  45158. "type": "string"
  45159. },
  45160. "historyDatas": {
  45161. "description": "历史数据",
  45162. "type": "array",
  45163. "items": {
  45164. "$ref": "#/definitions/quote.HistoryData"
  45165. }
  45166. },
  45167. "outGoodsCode": {
  45168. "description": "外部商品代码",
  45169. "type": "string"
  45170. },
  45171. "preSettle": {
  45172. "description": "昨结价",
  45173. "type": "number"
  45174. },
  45175. "runSteps": {
  45176. "description": "交易日开休市计划",
  45177. "type": "array",
  45178. "items": {
  45179. "$ref": "#/definitions/quote.TSDataRunStep"
  45180. }
  45181. },
  45182. "startTime": {
  45183. "description": "开始时间",
  45184. "type": "string"
  45185. },
  45186. "tradeDate": {
  45187. "description": "交易日",
  45188. "type": "string"
  45189. }
  45190. }
  45191. },
  45192. "quote.TSDataRunStep": {
  45193. "type": "object",
  45194. "properties": {
  45195. "end": {
  45196. "description": "真实结束时间",
  45197. "type": "string"
  45198. },
  45199. "endflag": {
  45200. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  45201. "type": "integer"
  45202. },
  45203. "endtime": {
  45204. "description": "结束时间(HH:mm)",
  45205. "type": "string"
  45206. },
  45207. "endweekday": {
  45208. "description": "结束周几",
  45209. "type": "integer"
  45210. },
  45211. "groupid": {
  45212. "description": "分组ID",
  45213. "type": "integer"
  45214. },
  45215. "runstep": {
  45216. "description": "运行阶段 - 2:连续交易",
  45217. "type": "integer"
  45218. },
  45219. "sectionid": {
  45220. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  45221. "type": "integer"
  45222. },
  45223. "start": {
  45224. "description": "真实开始时间",
  45225. "type": "string"
  45226. },
  45227. "startflag": {
  45228. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  45229. "type": "integer"
  45230. },
  45231. "starttime": {
  45232. "description": "起始时间(HH:mm)",
  45233. "type": "string"
  45234. },
  45235. "startweekday": {
  45236. "description": "起始周几",
  45237. "type": "integer"
  45238. },
  45239. "tradeweekday": {
  45240. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  45241. "type": "integer"
  45242. }
  45243. }
  45244. },
  45245. "szdz.QueryConvertLogRsp": {
  45246. "type": "object",
  45247. "required": [
  45248. "logid"
  45249. ],
  45250. "properties": {
  45251. "accountid": {
  45252. "description": "资金账户ID",
  45253. "type": "integer"
  45254. },
  45255. "clientticket": {
  45256. "description": "客户端流水号",
  45257. "type": "string"
  45258. },
  45259. "converttype": {
  45260. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  45261. "type": "integer"
  45262. },
  45263. "createtime": {
  45264. "description": "记账时间",
  45265. "type": "string"
  45266. },
  45267. "daymaxvalue": {
  45268. "description": "配置当日最大转入限制",
  45269. "type": "number"
  45270. },
  45271. "daymaxvalue2": {
  45272. "description": "配置当日最大转入限制(转入)",
  45273. "type": "number"
  45274. },
  45275. "goodscode": {
  45276. "description": "商品代码",
  45277. "type": "string"
  45278. },
  45279. "goodsname": {
  45280. "description": "商品名称",
  45281. "type": "string"
  45282. },
  45283. "handlestatus": {
  45284. "description": "处理状态",
  45285. "type": "integer"
  45286. },
  45287. "innergoodsid": {
  45288. "description": "内部商品ID",
  45289. "type": "integer"
  45290. },
  45291. "inratio": {
  45292. "description": "配置转入比值",
  45293. "type": "integer"
  45294. },
  45295. "invalue": {
  45296. "description": "目标值",
  45297. "type": "number"
  45298. },
  45299. "logid": {
  45300. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45301. "type": "integer"
  45302. },
  45303. "mobile": {
  45304. "description": "手机号码(加密存储)",
  45305. "type": "string"
  45306. },
  45307. "outergoodscode": {
  45308. "description": "外部商品代码[JD\\PD]",
  45309. "type": "string"
  45310. },
  45311. "outratio": {
  45312. "description": "配置转出比值",
  45313. "type": "integer"
  45314. },
  45315. "outvalue": {
  45316. "description": "源值",
  45317. "type": "number"
  45318. },
  45319. "pddecimalplace": {
  45320. "description": "PD小数位",
  45321. "type": "integer"
  45322. },
  45323. "qty": {
  45324. "description": "数量",
  45325. "type": "string"
  45326. },
  45327. "remark": {
  45328. "description": "备注",
  45329. "type": "string"
  45330. },
  45331. "sessionid": {
  45332. "description": "会话ID",
  45333. "type": "integer"
  45334. },
  45335. "timemaxvalue": {
  45336. "description": "配置单次最大转入限制",
  45337. "type": "number"
  45338. },
  45339. "timemaxvalue2": {
  45340. "description": "配置单次最大转入限制(转入)",
  45341. "type": "number"
  45342. },
  45343. "timeminvalue": {
  45344. "description": "配置单次最小数量限制",
  45345. "type": "number"
  45346. },
  45347. "timeminvalue2": {
  45348. "description": "配置单次最小数量限制(转入)",
  45349. "type": "number"
  45350. },
  45351. "tradedate": {
  45352. "description": "交易日(yyyyMMdd)",
  45353. "type": "string"
  45354. },
  45355. "userid": {
  45356. "description": "用户ID",
  45357. "type": "integer"
  45358. }
  45359. }
  45360. },
  45361. "szdz.QueryGoodsPickupRsp": {
  45362. "type": "object",
  45363. "required": [
  45364. "takeorderid"
  45365. ],
  45366. "properties": {
  45367. "accountid": {
  45368. "description": "账户ID",
  45369. "type": "integer"
  45370. },
  45371. "address": {
  45372. "description": "提货人详细地址",
  45373. "type": "string"
  45374. },
  45375. "auditer": {
  45376. "description": "审核人",
  45377. "type": "integer"
  45378. },
  45379. "audittime": {
  45380. "description": "审核时间",
  45381. "type": "string"
  45382. },
  45383. "cardnum": {
  45384. "description": "提货人证件号码",
  45385. "type": "string"
  45386. },
  45387. "cardtypeid": {
  45388. "description": "提货人证件类型",
  45389. "type": "integer"
  45390. },
  45391. "checkremark": {
  45392. "description": "审核备注",
  45393. "type": "string"
  45394. },
  45395. "goodscode": {
  45396. "description": "商品代码",
  45397. "type": "string"
  45398. },
  45399. "goodsid": {
  45400. "description": "商品ID",
  45401. "type": "integer"
  45402. },
  45403. "goodsname": {
  45404. "description": "商品名称",
  45405. "type": "string"
  45406. },
  45407. "handlestatus": {
  45408. "description": "处理状态",
  45409. "type": "integer"
  45410. },
  45411. "marketid": {
  45412. "description": "市场ID",
  45413. "type": "integer"
  45414. },
  45415. "phonenum": {
  45416. "description": "提货人联系方式",
  45417. "type": "string"
  45418. },
  45419. "qty": {
  45420. "description": "提货数量",
  45421. "type": "number"
  45422. },
  45423. "recivername": {
  45424. "description": "提货人姓名",
  45425. "type": "string"
  45426. },
  45427. "reqtime": {
  45428. "description": "更新时间",
  45429. "type": "string"
  45430. },
  45431. "takemode": {
  45432. "description": "提货方式 - 2:自提 3:配送",
  45433. "type": "integer"
  45434. },
  45435. "takeorderid": {
  45436. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  45437. "type": "string"
  45438. },
  45439. "takeorderstatus": {
  45440. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  45441. "type": "integer"
  45442. },
  45443. "takeremark": {
  45444. "description": "提货备注",
  45445. "type": "string"
  45446. },
  45447. "tradedate": {
  45448. "description": "交易日(yyyyMMdd)",
  45449. "type": "string"
  45450. },
  45451. "userid": {
  45452. "description": "用户ID",
  45453. "type": "integer"
  45454. }
  45455. }
  45456. },
  45457. "szdz.QueryRecieptOrderRsp": {
  45458. "type": "object",
  45459. "required": [
  45460. "ordertime"
  45461. ],
  45462. "properties": {
  45463. "accountName": {
  45464. "description": "所属账号名称(已脱敏)",
  45465. "type": "string"
  45466. },
  45467. "accountid": {
  45468. "description": "资金账号",
  45469. "type": "integer"
  45470. },
  45471. "buyorsell": {
  45472. "description": "方向 - 0:买 1:卖",
  45473. "type": "integer"
  45474. },
  45475. "enableqty": {
  45476. "description": "可摘数量",
  45477. "type": "integer"
  45478. },
  45479. "goodscode": {
  45480. "description": "商品代码",
  45481. "type": "string"
  45482. },
  45483. "goodsid": {
  45484. "description": "商品ID",
  45485. "type": "integer"
  45486. },
  45487. "goodsname": {
  45488. "description": "商品名称",
  45489. "type": "string"
  45490. },
  45491. "orderid": {
  45492. "description": "委托单号",
  45493. "type": "string"
  45494. },
  45495. "orderprice": {
  45496. "description": "委托价格",
  45497. "type": "number"
  45498. },
  45499. "ordertime": {
  45500. "description": "委托时间",
  45501. "type": "string"
  45502. },
  45503. "tradedate": {
  45504. "description": "交易日(yyyyMMdd)",
  45505. "type": "string"
  45506. }
  45507. }
  45508. },
  45509. "szdz.QuerySZDZTradePositionRsp": {
  45510. "type": "object",
  45511. "properties": {
  45512. "accountid": {
  45513. "description": "账号Id",
  45514. "type": "integer"
  45515. },
  45516. "agreeunit": {
  45517. "description": "合约单位",
  45518. "type": "number"
  45519. },
  45520. "averageprice": {
  45521. "description": "持仓均价",
  45522. "type": "number"
  45523. },
  45524. "buyorsell": {
  45525. "description": "方向 - 0:买 1:卖",
  45526. "type": "integer"
  45527. },
  45528. "closetotalqty": {
  45529. "description": "平仓总数量",
  45530. "type": "integer"
  45531. },
  45532. "curholderamount": {
  45533. "description": "当前持仓总金额",
  45534. "type": "number"
  45535. },
  45536. "curpositionqty": {
  45537. "description": "当前持仓总数量",
  45538. "type": "integer"
  45539. },
  45540. "currencyid": {
  45541. "description": "报价货币ID",
  45542. "type": "integer"
  45543. },
  45544. "curtdposition": {
  45545. "description": "期末今日头寸",
  45546. "type": "integer"
  45547. },
  45548. "decimalplace": {
  45549. "description": "报价小数位",
  45550. "type": "integer"
  45551. },
  45552. "enableqty": {
  45553. "description": "可用量",
  45554. "type": "integer"
  45555. },
  45556. "fretdposition": {
  45557. "description": "冻结今日头寸",
  45558. "type": "integer"
  45559. },
  45560. "frozenqty": {
  45561. "description": "持仓冻结数量",
  45562. "type": "integer"
  45563. },
  45564. "goodscode": {
  45565. "description": "商品代码(内部)",
  45566. "type": "string"
  45567. },
  45568. "goodsid": {
  45569. "description": "商品Id",
  45570. "type": "integer"
  45571. },
  45572. "goodsname": {
  45573. "description": "商品名称",
  45574. "type": "string"
  45575. },
  45576. "goodunit": {
  45577. "description": "报价单位",
  45578. "type": "string"
  45579. },
  45580. "goodunitid": {
  45581. "description": "报价单位ID",
  45582. "type": "integer"
  45583. },
  45584. "holderamount": {
  45585. "description": "期初持仓总金额",
  45586. "type": "number"
  45587. },
  45588. "marketid": {
  45589. "description": "市场ID",
  45590. "type": "integer"
  45591. },
  45592. "openreqqty": {
  45593. "description": "开仓申请数量",
  45594. "type": "integer"
  45595. },
  45596. "opentotalqty": {
  45597. "description": "开仓总数量",
  45598. "type": "integer"
  45599. },
  45600. "otherfrozenqty": {
  45601. "description": "持仓其他冻结数量(交割冻结)",
  45602. "type": "integer"
  45603. },
  45604. "positionqty": {
  45605. "description": "期初持仓数量",
  45606. "type": "integer"
  45607. },
  45608. "szdz3freezqty": {
  45609. "description": "尚志大宗转换冻结总数量",
  45610. "type": "integer"
  45611. },
  45612. "tnqty": {
  45613. "description": "T+N冻结总量",
  45614. "type": "integer"
  45615. },
  45616. "tnusedqty": {
  45617. "description": "T+N使用量",
  45618. "type": "integer"
  45619. },
  45620. "trademode": {
  45621. "description": "交易模式",
  45622. "type": "integer"
  45623. },
  45624. "usedmargin": {
  45625. "description": "占用保证金",
  45626. "type": "number"
  45627. }
  45628. }
  45629. },
  45630. "taaccount.QueryAmountLogRsp": {
  45631. "type": "object",
  45632. "required": [
  45633. "accountid",
  45634. "amount",
  45635. "amountadjusttype",
  45636. "autoid",
  45637. "balance",
  45638. "createtime",
  45639. "currentbalance",
  45640. "operatetype"
  45641. ],
  45642. "properties": {
  45643. "OPERATETYPENAME": {
  45644. "description": "资金操作类型名称",
  45645. "type": "string"
  45646. },
  45647. "accountid": {
  45648. "description": "资金账户ID",
  45649. "type": "integer"
  45650. },
  45651. "agoodscode": {
  45652. "description": "竞拍商品代码",
  45653. "type": "string"
  45654. },
  45655. "agoodsname": {
  45656. "description": "竞拍商品名称",
  45657. "type": "string"
  45658. },
  45659. "amount": {
  45660. "description": "资金金额",
  45661. "type": "number"
  45662. },
  45663. "amountadjusttype": {
  45664. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45665. "type": "integer"
  45666. },
  45667. "autoid": {
  45668. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45669. "type": "integer"
  45670. },
  45671. "balance": {
  45672. "description": "期初余额",
  45673. "type": "number"
  45674. },
  45675. "businesscode": {
  45676. "description": "业务编号",
  45677. "type": "integer"
  45678. },
  45679. "createtime": {
  45680. "description": "发生时间",
  45681. "type": "string"
  45682. },
  45683. "currencyid": {
  45684. "description": "币种ID",
  45685. "type": "integer"
  45686. },
  45687. "currentbalance": {
  45688. "description": "期末余额(变动后金额)",
  45689. "type": "number"
  45690. },
  45691. "dgoodscode": {
  45692. "description": "交割商品代码",
  45693. "type": "string"
  45694. },
  45695. "dgoodsname": {
  45696. "description": "交割商品名称",
  45697. "type": "string"
  45698. },
  45699. "goodscode": {
  45700. "description": "商品代码",
  45701. "type": "string"
  45702. },
  45703. "goodsid": {
  45704. "description": "商品ID",
  45705. "type": "integer"
  45706. },
  45707. "goodsname": {
  45708. "description": "商品名称",
  45709. "type": "string"
  45710. },
  45711. "marketid": {
  45712. "description": "市场ID",
  45713. "type": "integer"
  45714. },
  45715. "marketname": {
  45716. "description": "市场名称",
  45717. "type": "string"
  45718. },
  45719. "moneyticket": {
  45720. "description": "资金流水号:银行端流水号",
  45721. "type": "integer"
  45722. },
  45723. "operatetype": {
  45724. "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:营销收款",
  45725. "type": "integer"
  45726. },
  45727. "relationorderid": {
  45728. "description": "关联单号",
  45729. "type": "string"
  45730. },
  45731. "remark": {
  45732. "description": "备注",
  45733. "type": "string"
  45734. },
  45735. "trademode": {
  45736. "description": "交易模式",
  45737. "type": "integer"
  45738. }
  45739. }
  45740. },
  45741. "taaccount.QueryHisAmountLogRsp": {
  45742. "type": "object",
  45743. "required": [
  45744. "accountid",
  45745. "amount",
  45746. "amountadjusttype",
  45747. "autoid",
  45748. "balance",
  45749. "createtime",
  45750. "currentbalance",
  45751. "histradedate",
  45752. "operatetype"
  45753. ],
  45754. "properties": {
  45755. "OPERATETYPENAME": {
  45756. "description": "资金操作类型名称",
  45757. "type": "string"
  45758. },
  45759. "accountid": {
  45760. "description": "资金账户ID",
  45761. "type": "integer"
  45762. },
  45763. "agoodscode": {
  45764. "description": "竞拍商品代码",
  45765. "type": "string"
  45766. },
  45767. "agoodsname": {
  45768. "description": "竞拍商品名称",
  45769. "type": "string"
  45770. },
  45771. "amount": {
  45772. "description": "资金金额",
  45773. "type": "number"
  45774. },
  45775. "amountadjusttype": {
  45776. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  45777. "type": "integer"
  45778. },
  45779. "autoid": {
  45780. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  45781. "type": "integer"
  45782. },
  45783. "balance": {
  45784. "description": "期初余额",
  45785. "type": "number"
  45786. },
  45787. "businesscode": {
  45788. "description": "业务编号",
  45789. "type": "integer"
  45790. },
  45791. "createtime": {
  45792. "description": "发生时间",
  45793. "type": "string"
  45794. },
  45795. "currencyid": {
  45796. "description": "币种ID",
  45797. "type": "integer"
  45798. },
  45799. "currentbalance": {
  45800. "description": "期末余额(变动后金额)",
  45801. "type": "number"
  45802. },
  45803. "dgoodscode": {
  45804. "description": "交割商品代码",
  45805. "type": "string"
  45806. },
  45807. "dgoodsname": {
  45808. "description": "交割商品名称",
  45809. "type": "string"
  45810. },
  45811. "goodscode": {
  45812. "description": "商品代码",
  45813. "type": "string"
  45814. },
  45815. "goodsid": {
  45816. "description": "商品ID",
  45817. "type": "integer"
  45818. },
  45819. "goodsname": {
  45820. "description": "商品名称",
  45821. "type": "string"
  45822. },
  45823. "histradedate": {
  45824. "description": "历史交易日",
  45825. "type": "string"
  45826. },
  45827. "isvaliddata": {
  45828. "description": "是否有效 - 0:无效 1:有效",
  45829. "type": "integer"
  45830. },
  45831. "marketid": {
  45832. "description": "市场ID",
  45833. "type": "integer"
  45834. },
  45835. "marketname": {
  45836. "description": "市场名称",
  45837. "type": "string"
  45838. },
  45839. "moneyticket": {
  45840. "description": "资金流水号:银行端流水号",
  45841. "type": "integer"
  45842. },
  45843. "operatetype": {
  45844. "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:营销收款",
  45845. "type": "integer"
  45846. },
  45847. "relationorderid": {
  45848. "description": "关联单号",
  45849. "type": "string"
  45850. },
  45851. "remark": {
  45852. "description": "备注",
  45853. "type": "string"
  45854. },
  45855. "trademode": {
  45856. "description": "交易模式",
  45857. "type": "integer"
  45858. }
  45859. }
  45860. },
  45861. "trade.QueryRecieptOrderRsp": {
  45862. "type": "object",
  45863. "required": [
  45864. "ordertime"
  45865. ],
  45866. "properties": {
  45867. "accountName": {
  45868. "description": "所属账号名称(已脱敏)",
  45869. "type": "string"
  45870. },
  45871. "accountid": {
  45872. "description": "资金账号",
  45873. "type": "integer"
  45874. },
  45875. "buyorsell": {
  45876. "description": "方向 - 0:买 1:卖",
  45877. "type": "integer"
  45878. },
  45879. "enableqty": {
  45880. "description": "可摘数量",
  45881. "type": "integer"
  45882. },
  45883. "goodscode": {
  45884. "description": "商品代码",
  45885. "type": "string"
  45886. },
  45887. "goodsid": {
  45888. "description": "商品ID",
  45889. "type": "integer"
  45890. },
  45891. "goodsname": {
  45892. "description": "商品名称",
  45893. "type": "string"
  45894. },
  45895. "orderid": {
  45896. "description": "委托单号",
  45897. "type": "string"
  45898. },
  45899. "orderprice": {
  45900. "description": "委托价格",
  45901. "type": "number"
  45902. },
  45903. "ordertime": {
  45904. "description": "委托时间",
  45905. "type": "string"
  45906. },
  45907. "tradedate": {
  45908. "description": "交易日(yyyyMMdd)",
  45909. "type": "string"
  45910. }
  45911. }
  45912. },
  45913. "user.LoginQueryRsp": {
  45914. "type": "object",
  45915. "properties": {
  45916. "areaRoles": {
  45917. "description": "所属角色信息",
  45918. "type": "array",
  45919. "items": {
  45920. "$ref": "#/definitions/models.Arearole"
  45921. }
  45922. },
  45923. "externalExchanges": {
  45924. "description": "外部交易所",
  45925. "type": "array",
  45926. "items": {
  45927. "$ref": "#/definitions/models.Externalexchange"
  45928. }
  45929. },
  45930. "goodsgroups": {
  45931. "description": "商品组",
  45932. "type": "array",
  45933. "items": {
  45934. "$ref": "#/definitions/models.Goodsgroup"
  45935. }
  45936. },
  45937. "loginAccount": {
  45938. "description": "登录账号",
  45939. "$ref": "#/definitions/models.Loginaccount"
  45940. },
  45941. "markets": {
  45942. "description": "市场",
  45943. "type": "array",
  45944. "items": {
  45945. "$ref": "#/definitions/models.Market"
  45946. }
  45947. },
  45948. "systemParams": {
  45949. "description": "系统参数",
  45950. "type": "array",
  45951. "items": {
  45952. "$ref": "#/definitions/models.Systemparam"
  45953. }
  45954. },
  45955. "userAccount": {
  45956. "description": "用户账号",
  45957. "$ref": "#/definitions/models.Useraccount"
  45958. },
  45959. "userInfo": {
  45960. "description": "用户信息",
  45961. "$ref": "#/definitions/models.Userinfo"
  45962. },
  45963. "username": {
  45964. "description": "用户姓名",
  45965. "type": "string"
  45966. }
  45967. }
  45968. }
  45969. },
  45970. "securityDefinitions": {
  45971. "ApiKeyAuth": {
  45972. "type": "apiKey",
  45973. "name": "Authorization",
  45974. "in": "header"
  45975. },
  45976. "Group": {
  45977. "type": "apiKey",
  45978. "name": "Group",
  45979. "in": "header"
  45980. },
  45981. "LoginID": {
  45982. "type": "apiKey",
  45983. "name": "LoginID",
  45984. "in": "header"
  45985. }
  45986. }
  45987. }`
  45988. // SwaggerInfo holds exported Swagger Info so clients can modify it
  45989. var SwaggerInfo = &swag.Spec{
  45990. Version: "1.0",
  45991. Host: "",
  45992. BasePath: "",
  45993. Schemes: []string{},
  45994. Title: "MTP2.0 查询服务 API",
  45995. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  45996. InfoInstanceName: "swagger",
  45997. SwaggerTemplate: docTemplate,
  45998. }
  45999. func init() {
  46000. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  46001. }