docs.go 1.7 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205
  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/GZBSFWOrderOperate": {
  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": "integer",
  7573. "description": "单据ID",
  7574. "name": "orderid",
  7575. "in": "query",
  7576. "required": true
  7577. }
  7578. ],
  7579. "responses": {
  7580. "200": {
  7581. "description": "OK",
  7582. "schema": {
  7583. "type": "array",
  7584. "items": {
  7585. "$ref": "#/definitions/models.Gzbsfworderoperate"
  7586. }
  7587. }
  7588. },
  7589. "500": {
  7590. "description": "Internal Server Error",
  7591. "schema": {
  7592. "$ref": "#/definitions/app.Response"
  7593. }
  7594. }
  7595. }
  7596. }
  7597. },
  7598. "/Guangzuan/GetGoods": {
  7599. "get": {
  7600. "security": [
  7601. {
  7602. "ApiKeyAuth": []
  7603. },
  7604. {
  7605. "LoginID": []
  7606. },
  7607. {
  7608. "Group": []
  7609. }
  7610. ],
  7611. "produces": [
  7612. "application/json"
  7613. ],
  7614. "tags": [
  7615. "广钻"
  7616. ],
  7617. "summary": "获取钻石详情",
  7618. "parameters": [
  7619. {
  7620. "type": "string",
  7621. "description": "商品编号",
  7622. "name": "goodsno",
  7623. "in": "query",
  7624. "required": true
  7625. }
  7626. ],
  7627. "responses": {
  7628. "200": {
  7629. "description": "OK",
  7630. "schema": {
  7631. "$ref": "#/definitions/models.GZGoods"
  7632. }
  7633. },
  7634. "500": {
  7635. "description": "Internal Server Error",
  7636. "schema": {
  7637. "$ref": "#/definitions/app.Response"
  7638. }
  7639. }
  7640. }
  7641. }
  7642. },
  7643. "/Guangzuan/GzCertAddressConfig": {
  7644. "get": {
  7645. "security": [
  7646. {
  7647. "ApiKeyAuth": []
  7648. },
  7649. {
  7650. "LoginID": []
  7651. },
  7652. {
  7653. "Group": []
  7654. }
  7655. ],
  7656. "produces": [
  7657. "application/json"
  7658. ],
  7659. "tags": [
  7660. "广钻"
  7661. ],
  7662. "summary": "Rapaport最新报价表(广钻)",
  7663. "responses": {
  7664. "200": {
  7665. "description": "OK",
  7666. "schema": {
  7667. "type": "array",
  7668. "items": {
  7669. "$ref": "#/definitions/models.Gzcertaddressconfig"
  7670. }
  7671. }
  7672. },
  7673. "500": {
  7674. "description": "Internal Server Error",
  7675. "schema": {
  7676. "$ref": "#/definitions/app.Response"
  7677. }
  7678. }
  7679. }
  7680. }
  7681. },
  7682. "/Guangzuan/GzCertAddressParam": {
  7683. "get": {
  7684. "security": [
  7685. {
  7686. "ApiKeyAuth": []
  7687. },
  7688. {
  7689. "LoginID": []
  7690. },
  7691. {
  7692. "Group": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "广钻"
  7700. ],
  7701. "summary": "钻石证书地址参数",
  7702. "responses": {
  7703. "200": {
  7704. "description": "OK",
  7705. "schema": {
  7706. "type": "array",
  7707. "items": {
  7708. "$ref": "#/definitions/models.Gzcertaddressparam"
  7709. }
  7710. }
  7711. },
  7712. "500": {
  7713. "description": "Internal Server Error",
  7714. "schema": {
  7715. "$ref": "#/definitions/app.Response"
  7716. }
  7717. }
  7718. }
  7719. }
  7720. },
  7721. "/Guangzuan/HomeData": {
  7722. "get": {
  7723. "security": [
  7724. {
  7725. "ApiKeyAuth": []
  7726. },
  7727. {
  7728. "LoginID": []
  7729. },
  7730. {
  7731. "Group": []
  7732. }
  7733. ],
  7734. "produces": [
  7735. "application/json"
  7736. ],
  7737. "tags": [
  7738. "广钻"
  7739. ],
  7740. "summary": "首页统计数据",
  7741. "parameters": [
  7742. {
  7743. "type": "integer",
  7744. "description": "用户ID",
  7745. "name": "userid",
  7746. "in": "query",
  7747. "required": true
  7748. }
  7749. ],
  7750. "responses": {
  7751. "200": {
  7752. "description": "OK",
  7753. "schema": {
  7754. "$ref": "#/definitions/models.GZHomeData"
  7755. }
  7756. },
  7757. "500": {
  7758. "description": "Internal Server Error",
  7759. "schema": {
  7760. "$ref": "#/definitions/app.Response"
  7761. }
  7762. }
  7763. }
  7764. }
  7765. },
  7766. "/Guangzuan/PriceCalc": {
  7767. "get": {
  7768. "security": [
  7769. {
  7770. "ApiKeyAuth": []
  7771. },
  7772. {
  7773. "LoginID": []
  7774. },
  7775. {
  7776. "Group": []
  7777. }
  7778. ],
  7779. "produces": [
  7780. "application/json"
  7781. ],
  7782. "tags": [
  7783. "广钻"
  7784. ],
  7785. "summary": "钻石价格计算器",
  7786. "parameters": [
  7787. {
  7788. "type": "integer",
  7789. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  7790. "name": "zsshape",
  7791. "in": "query",
  7792. "required": true
  7793. },
  7794. {
  7795. "type": "string",
  7796. "description": "颜色(D-M)",
  7797. "name": "zscolor",
  7798. "in": "query",
  7799. "required": true
  7800. },
  7801. {
  7802. "type": "string",
  7803. "description": "净度",
  7804. "name": "zsclarity",
  7805. "in": "query",
  7806. "required": true
  7807. },
  7808. {
  7809. "type": "number",
  7810. "description": "重量",
  7811. "name": "weight",
  7812. "in": "query",
  7813. "required": true
  7814. },
  7815. {
  7816. "type": "number",
  7817. "description": "汇率",
  7818. "name": "rate",
  7819. "in": "query",
  7820. "required": true
  7821. },
  7822. {
  7823. "type": "number",
  7824. "description": "折扣(%), 方向(加:10, 减:-10 )",
  7825. "name": "discount",
  7826. "in": "query"
  7827. }
  7828. ],
  7829. "responses": {
  7830. "200": {
  7831. "description": "OK",
  7832. "schema": {
  7833. "type": "array",
  7834. "items": {
  7835. "$ref": "#/definitions/models.Gzrapaportprice"
  7836. }
  7837. }
  7838. },
  7839. "500": {
  7840. "description": "Internal Server Error",
  7841. "schema": {
  7842. "$ref": "#/definitions/app.Response"
  7843. }
  7844. }
  7845. }
  7846. }
  7847. },
  7848. "/Guangzuan/QueryBuyOrder": {
  7849. "get": {
  7850. "security": [
  7851. {
  7852. "ApiKeyAuth": []
  7853. },
  7854. {
  7855. "LoginID": []
  7856. },
  7857. {
  7858. "Group": []
  7859. }
  7860. ],
  7861. "produces": [
  7862. "application/json"
  7863. ],
  7864. "tags": [
  7865. "广钻"
  7866. ],
  7867. "summary": "查询求购大厅委托单",
  7868. "parameters": [
  7869. {
  7870. "type": "integer",
  7871. "description": "页码",
  7872. "name": "page",
  7873. "in": "query"
  7874. },
  7875. {
  7876. "type": "integer",
  7877. "description": "每页条数",
  7878. "name": "pagesize",
  7879. "in": "query"
  7880. },
  7881. {
  7882. "type": "string",
  7883. "description": "商品(查询字段-模糊查询)",
  7884. "name": "zsallproperties",
  7885. "in": "query"
  7886. },
  7887. {
  7888. "type": "string",
  7889. "description": "钻石分类, 格式:1,2,3",
  7890. "name": "zscategorys",
  7891. "in": "query"
  7892. },
  7893. {
  7894. "type": "integer",
  7895. "description": "委托单号",
  7896. "name": "wrtradeorderid",
  7897. "in": "query"
  7898. },
  7899. {
  7900. "type": "string",
  7901. "description": "买方(查询字段-模糊查询)",
  7902. "name": "buyusername",
  7903. "in": "query"
  7904. }
  7905. ],
  7906. "responses": {
  7907. "200": {
  7908. "description": "OK",
  7909. "schema": {
  7910. "type": "array",
  7911. "items": {
  7912. "$ref": "#/definitions/models.BuyOrder"
  7913. }
  7914. }
  7915. },
  7916. "500": {
  7917. "description": "Internal Server Error",
  7918. "schema": {
  7919. "$ref": "#/definitions/app.Response"
  7920. }
  7921. }
  7922. }
  7923. }
  7924. },
  7925. "/Guangzuan/QueryDiamond": {
  7926. "post": {
  7927. "security": [
  7928. {
  7929. "ApiKeyAuth": []
  7930. },
  7931. {
  7932. "LoginID": []
  7933. },
  7934. {
  7935. "Group": []
  7936. }
  7937. ],
  7938. "produces": [
  7939. "application/json"
  7940. ],
  7941. "tags": [
  7942. "广钻"
  7943. ],
  7944. "summary": "钻石搜索",
  7945. "parameters": [
  7946. {
  7947. "description": "钻石搜索入参",
  7948. "name": "data",
  7949. "in": "body",
  7950. "required": true,
  7951. "schema": {
  7952. "$ref": "#/definitions/models.SellOrderQueryReq"
  7953. }
  7954. }
  7955. ],
  7956. "responses": {
  7957. "200": {
  7958. "description": "OK",
  7959. "schema": {
  7960. "type": "array",
  7961. "items": {
  7962. "$ref": "#/definitions/models.SellOrder"
  7963. }
  7964. }
  7965. },
  7966. "500": {
  7967. "description": "Internal Server Error",
  7968. "schema": {
  7969. "$ref": "#/definitions/app.Response"
  7970. }
  7971. }
  7972. }
  7973. }
  7974. },
  7975. "/Guangzuan/QueryGZBSFWOrder": {
  7976. "get": {
  7977. "security": [
  7978. {
  7979. "ApiKeyAuth": []
  7980. },
  7981. {
  7982. "LoginID": []
  7983. },
  7984. {
  7985. "Group": []
  7986. }
  7987. ],
  7988. "produces": [
  7989. "application/json"
  7990. ],
  7991. "tags": [
  7992. "广钻"
  7993. ],
  7994. "summary": "查询保税服务单据",
  7995. "parameters": [
  7996. {
  7997. "type": "integer",
  7998. "description": "用户ID",
  7999. "name": "userid",
  8000. "in": "query",
  8001. "required": true
  8002. },
  8003. {
  8004. "type": "integer",
  8005. "description": "页码",
  8006. "name": "page",
  8007. "in": "query"
  8008. },
  8009. {
  8010. "type": "integer",
  8011. "description": "每页条数",
  8012. "name": "pagesize",
  8013. "in": "query"
  8014. }
  8015. ],
  8016. "responses": {
  8017. "200": {
  8018. "description": "OK",
  8019. "schema": {
  8020. "type": "array",
  8021. "items": {
  8022. "$ref": "#/definitions/models.GzbsfworderM"
  8023. }
  8024. }
  8025. },
  8026. "500": {
  8027. "description": "Internal Server Error",
  8028. "schema": {
  8029. "$ref": "#/definitions/app.Response"
  8030. }
  8031. }
  8032. }
  8033. }
  8034. },
  8035. "/Guangzuan/QueryGZBSFWOrderDetail": {
  8036. "get": {
  8037. "security": [
  8038. {
  8039. "ApiKeyAuth": []
  8040. },
  8041. {
  8042. "LoginID": []
  8043. },
  8044. {
  8045. "Group": []
  8046. }
  8047. ],
  8048. "produces": [
  8049. "application/json"
  8050. ],
  8051. "tags": [
  8052. "广钻"
  8053. ],
  8054. "summary": "查询保税服务单据明细",
  8055. "parameters": [
  8056. {
  8057. "type": "integer",
  8058. "description": "用户ID",
  8059. "name": "userid",
  8060. "in": "query",
  8061. "required": true
  8062. },
  8063. {
  8064. "type": "integer",
  8065. "description": "单据ID",
  8066. "name": "orderid",
  8067. "in": "query"
  8068. },
  8069. {
  8070. "type": "integer",
  8071. "description": "页码",
  8072. "name": "page",
  8073. "in": "query"
  8074. },
  8075. {
  8076. "type": "integer",
  8077. "description": "每页条数",
  8078. "name": "pagesize",
  8079. "in": "query"
  8080. }
  8081. ],
  8082. "responses": {
  8083. "200": {
  8084. "description": "OK",
  8085. "schema": {
  8086. "type": "array",
  8087. "items": {
  8088. "$ref": "#/definitions/models.GzbsfworderdetailM"
  8089. }
  8090. }
  8091. },
  8092. "500": {
  8093. "description": "Internal Server Error",
  8094. "schema": {
  8095. "$ref": "#/definitions/app.Response"
  8096. }
  8097. }
  8098. }
  8099. }
  8100. },
  8101. "/Guangzuan/QueryGZCJBSOrderFile": {
  8102. "get": {
  8103. "security": [
  8104. {
  8105. "ApiKeyAuth": []
  8106. },
  8107. {
  8108. "LoginID": []
  8109. },
  8110. {
  8111. "Group": []
  8112. }
  8113. ],
  8114. "produces": [
  8115. "application/json"
  8116. ],
  8117. "tags": [
  8118. "广钻"
  8119. ],
  8120. "summary": "出境保税单据文件",
  8121. "parameters": [
  8122. {
  8123. "type": "integer",
  8124. "description": "单据ID",
  8125. "name": "orderid",
  8126. "in": "query",
  8127. "required": true
  8128. },
  8129. {
  8130. "type": "integer",
  8131. "description": "页码",
  8132. "name": "page",
  8133. "in": "query"
  8134. },
  8135. {
  8136. "type": "integer",
  8137. "description": "每页条数",
  8138. "name": "pagesize",
  8139. "in": "query"
  8140. }
  8141. ],
  8142. "responses": {
  8143. "200": {
  8144. "description": "OK",
  8145. "schema": {
  8146. "type": "array",
  8147. "items": {
  8148. "$ref": "#/definitions/models.GzcjbsorderfileM"
  8149. }
  8150. }
  8151. },
  8152. "500": {
  8153. "description": "Internal Server Error",
  8154. "schema": {
  8155. "$ref": "#/definitions/app.Response"
  8156. }
  8157. }
  8158. }
  8159. }
  8160. },
  8161. "/Guangzuan/QueryGZCJJCOrder": {
  8162. "get": {
  8163. "security": [
  8164. {
  8165. "ApiKeyAuth": []
  8166. },
  8167. {
  8168. "LoginID": []
  8169. },
  8170. {
  8171. "Group": []
  8172. }
  8173. ],
  8174. "produces": [
  8175. "application/json"
  8176. ],
  8177. "tags": [
  8178. "广钻"
  8179. ],
  8180. "summary": "查询出境检测单据",
  8181. "parameters": [
  8182. {
  8183. "type": "integer",
  8184. "description": "用户ID",
  8185. "name": "userid",
  8186. "in": "query",
  8187. "required": true
  8188. },
  8189. {
  8190. "type": "integer",
  8191. "description": "页码",
  8192. "name": "page",
  8193. "in": "query"
  8194. },
  8195. {
  8196. "type": "integer",
  8197. "description": "每页条数",
  8198. "name": "pagesize",
  8199. "in": "query"
  8200. }
  8201. ],
  8202. "responses": {
  8203. "200": {
  8204. "description": "OK",
  8205. "schema": {
  8206. "type": "array",
  8207. "items": {
  8208. "$ref": "#/definitions/models.GzcjjcorderM"
  8209. }
  8210. }
  8211. },
  8212. "500": {
  8213. "description": "Internal Server Error",
  8214. "schema": {
  8215. "$ref": "#/definitions/app.Response"
  8216. }
  8217. }
  8218. }
  8219. }
  8220. },
  8221. "/Guangzuan/QueryGZCJJCOrderDetail": {
  8222. "get": {
  8223. "security": [
  8224. {
  8225. "ApiKeyAuth": []
  8226. },
  8227. {
  8228. "LoginID": []
  8229. },
  8230. {
  8231. "Group": []
  8232. }
  8233. ],
  8234. "produces": [
  8235. "application/json"
  8236. ],
  8237. "tags": [
  8238. "广钻"
  8239. ],
  8240. "summary": "查询出境检测单据明细(批次信息)",
  8241. "parameters": [
  8242. {
  8243. "type": "integer",
  8244. "description": "用户ID",
  8245. "name": "userid",
  8246. "in": "query",
  8247. "required": true
  8248. },
  8249. {
  8250. "type": "integer",
  8251. "description": "单据ID",
  8252. "name": "orderid",
  8253. "in": "query"
  8254. },
  8255. {
  8256. "type": "integer",
  8257. "description": "页码",
  8258. "name": "page",
  8259. "in": "query"
  8260. },
  8261. {
  8262. "type": "integer",
  8263. "description": "每页条数",
  8264. "name": "pagesize",
  8265. "in": "query"
  8266. }
  8267. ],
  8268. "responses": {
  8269. "200": {
  8270. "description": "OK",
  8271. "schema": {
  8272. "type": "array",
  8273. "items": {
  8274. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  8275. }
  8276. }
  8277. },
  8278. "500": {
  8279. "description": "Internal Server Error",
  8280. "schema": {
  8281. "$ref": "#/definitions/app.Response"
  8282. }
  8283. }
  8284. }
  8285. }
  8286. },
  8287. "/Guangzuan/QueryMemberReport": {
  8288. "get": {
  8289. "security": [
  8290. {
  8291. "ApiKeyAuth": []
  8292. },
  8293. {
  8294. "LoginID": []
  8295. },
  8296. {
  8297. "Group": []
  8298. }
  8299. ],
  8300. "produces": [
  8301. "application/json"
  8302. ],
  8303. "tags": [
  8304. "广钻"
  8305. ],
  8306. "summary": "查询会员报表",
  8307. "parameters": [
  8308. {
  8309. "type": "integer",
  8310. "description": "用户ID",
  8311. "name": "userid",
  8312. "in": "query",
  8313. "required": true
  8314. },
  8315. {
  8316. "type": "integer",
  8317. "description": "页码",
  8318. "name": "page",
  8319. "in": "query"
  8320. },
  8321. {
  8322. "type": "integer",
  8323. "description": "每页条数",
  8324. "name": "pagesize",
  8325. "in": "query"
  8326. },
  8327. {
  8328. "type": "string",
  8329. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  8330. "name": "cycletype",
  8331. "in": "query"
  8332. },
  8333. {
  8334. "type": "string",
  8335. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8336. "name": "begindate",
  8337. "in": "query",
  8338. "required": true
  8339. },
  8340. {
  8341. "type": "string",
  8342. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8343. "name": "enddate",
  8344. "in": "query",
  8345. "required": true
  8346. }
  8347. ],
  8348. "responses": {
  8349. "200": {
  8350. "description": "OK",
  8351. "schema": {
  8352. "type": "array",
  8353. "items": {
  8354. "$ref": "#/definitions/models.Reckondaytaaccount"
  8355. }
  8356. }
  8357. },
  8358. "500": {
  8359. "description": "Internal Server Error",
  8360. "schema": {
  8361. "$ref": "#/definitions/app.Response"
  8362. }
  8363. }
  8364. }
  8365. }
  8366. },
  8367. "/Guangzuan/QueryMyBargainApply": {
  8368. "get": {
  8369. "security": [
  8370. {
  8371. "ApiKeyAuth": []
  8372. },
  8373. {
  8374. "LoginID": []
  8375. },
  8376. {
  8377. "Group": []
  8378. }
  8379. ],
  8380. "produces": [
  8381. "application/json"
  8382. ],
  8383. "tags": [
  8384. "广钻"
  8385. ],
  8386. "summary": "查询询价-求购",
  8387. "parameters": [
  8388. {
  8389. "type": "integer",
  8390. "description": "用户ID",
  8391. "name": "userid",
  8392. "in": "query",
  8393. "required": true
  8394. },
  8395. {
  8396. "type": "integer",
  8397. "description": "页码",
  8398. "name": "page",
  8399. "in": "query"
  8400. },
  8401. {
  8402. "type": "integer",
  8403. "description": "每页条数",
  8404. "name": "pagesize",
  8405. "in": "query"
  8406. },
  8407. {
  8408. "type": "integer",
  8409. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8410. "name": "applystatus",
  8411. "in": "query"
  8412. },
  8413. {
  8414. "type": "integer",
  8415. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8416. "name": "type",
  8417. "in": "query"
  8418. },
  8419. {
  8420. "type": "string",
  8421. "description": "关联委托单ID",
  8422. "name": "wrtradeorderid",
  8423. "in": "query"
  8424. }
  8425. ],
  8426. "responses": {
  8427. "200": {
  8428. "description": "OK",
  8429. "schema": {
  8430. "type": "array",
  8431. "items": {
  8432. "$ref": "#/definitions/models.MyBargainApply"
  8433. }
  8434. }
  8435. },
  8436. "500": {
  8437. "description": "Internal Server Error",
  8438. "schema": {
  8439. "$ref": "#/definitions/app.Response"
  8440. }
  8441. }
  8442. }
  8443. }
  8444. },
  8445. "/Guangzuan/QueryMyBuyOrder": {
  8446. "get": {
  8447. "security": [
  8448. {
  8449. "ApiKeyAuth": []
  8450. },
  8451. {
  8452. "LoginID": []
  8453. },
  8454. {
  8455. "Group": []
  8456. }
  8457. ],
  8458. "produces": [
  8459. "application/json"
  8460. ],
  8461. "tags": [
  8462. "广钻"
  8463. ],
  8464. "summary": "查询我的求购",
  8465. "parameters": [
  8466. {
  8467. "type": "integer",
  8468. "description": "用户ID",
  8469. "name": "userid",
  8470. "in": "query",
  8471. "required": true
  8472. },
  8473. {
  8474. "type": "integer",
  8475. "description": "页码",
  8476. "name": "page",
  8477. "in": "query"
  8478. },
  8479. {
  8480. "type": "integer",
  8481. "description": "每页条数",
  8482. "name": "pagesize",
  8483. "in": "query"
  8484. },
  8485. {
  8486. "type": "string",
  8487. "description": "商品(查询字段-模糊查询)",
  8488. "name": "zsallproperties",
  8489. "in": "query"
  8490. },
  8491. {
  8492. "type": "string",
  8493. "description": "钻石分类, 格式:1,2,3",
  8494. "name": "zscategorys",
  8495. "in": "query"
  8496. },
  8497. {
  8498. "type": "integer",
  8499. "description": "委托单号",
  8500. "name": "wrtradeorderid",
  8501. "in": "query"
  8502. },
  8503. {
  8504. "type": "boolean",
  8505. "description": "是否历史查询",
  8506. "name": "ishis",
  8507. "in": "query"
  8508. },
  8509. {
  8510. "type": "string",
  8511. "description": "开始交易日(yyyymmdd)",
  8512. "name": "begindate",
  8513. "in": "query"
  8514. },
  8515. {
  8516. "type": "string",
  8517. "description": "结束交易日(yyyymmdd)",
  8518. "name": "enddate",
  8519. "in": "query"
  8520. }
  8521. ],
  8522. "responses": {
  8523. "200": {
  8524. "description": "OK",
  8525. "schema": {
  8526. "type": "array",
  8527. "items": {
  8528. "$ref": "#/definitions/models.MyBuyOrder"
  8529. }
  8530. }
  8531. },
  8532. "500": {
  8533. "description": "Internal Server Error",
  8534. "schema": {
  8535. "$ref": "#/definitions/app.Response"
  8536. }
  8537. }
  8538. }
  8539. }
  8540. },
  8541. "/Guangzuan/QueryMyDeListing": {
  8542. "get": {
  8543. "security": [
  8544. {
  8545. "ApiKeyAuth": []
  8546. },
  8547. {
  8548. "LoginID": []
  8549. },
  8550. {
  8551. "Group": []
  8552. }
  8553. ],
  8554. "produces": [
  8555. "application/json"
  8556. ],
  8557. "tags": [
  8558. "广钻"
  8559. ],
  8560. "summary": "查询我的摘牌",
  8561. "parameters": [
  8562. {
  8563. "type": "integer",
  8564. "description": "用户ID",
  8565. "name": "userid",
  8566. "in": "query",
  8567. "required": true
  8568. },
  8569. {
  8570. "type": "integer",
  8571. "description": "页码",
  8572. "name": "page",
  8573. "in": "query"
  8574. },
  8575. {
  8576. "type": "integer",
  8577. "description": "每页条数",
  8578. "name": "pagesize",
  8579. "in": "query"
  8580. },
  8581. {
  8582. "type": "string",
  8583. "description": "商品(查询字段-模糊查询)",
  8584. "name": "zsallproperties",
  8585. "in": "query"
  8586. },
  8587. {
  8588. "type": "string",
  8589. "description": "钻石分类, 格式:1,2,3",
  8590. "name": "zscategorys",
  8591. "in": "query"
  8592. },
  8593. {
  8594. "type": "integer",
  8595. "description": "成交单号",
  8596. "name": "wrtradedetailid",
  8597. "in": "query"
  8598. },
  8599. {
  8600. "type": "integer",
  8601. "description": "方向,0-购买 1-出售",
  8602. "name": "buyorsell",
  8603. "in": "query"
  8604. },
  8605. {
  8606. "type": "string",
  8607. "description": "对手方(模糊匹配)",
  8608. "name": "matchusername",
  8609. "in": "query"
  8610. },
  8611. {
  8612. "type": "string",
  8613. "description": "开始交易日(yyyymmdd)",
  8614. "name": "begindate",
  8615. "in": "query"
  8616. },
  8617. {
  8618. "type": "string",
  8619. "description": "结束交易日(yyyymmdd)",
  8620. "name": "enddate",
  8621. "in": "query"
  8622. }
  8623. ],
  8624. "responses": {
  8625. "200": {
  8626. "description": "OK",
  8627. "schema": {
  8628. "type": "array",
  8629. "items": {
  8630. "$ref": "#/definitions/models.MyDeListing"
  8631. }
  8632. }
  8633. },
  8634. "500": {
  8635. "description": "Internal Server Error",
  8636. "schema": {
  8637. "$ref": "#/definitions/app.Response"
  8638. }
  8639. }
  8640. }
  8641. }
  8642. },
  8643. "/Guangzuan/QueryMyDelistingApply": {
  8644. "get": {
  8645. "security": [
  8646. {
  8647. "ApiKeyAuth": []
  8648. },
  8649. {
  8650. "LoginID": []
  8651. },
  8652. {
  8653. "Group": []
  8654. }
  8655. ],
  8656. "produces": [
  8657. "application/json"
  8658. ],
  8659. "tags": [
  8660. "广钻"
  8661. ],
  8662. "summary": "查询询价-出售",
  8663. "parameters": [
  8664. {
  8665. "type": "integer",
  8666. "description": "用户ID",
  8667. "name": "userid",
  8668. "in": "query",
  8669. "required": true
  8670. },
  8671. {
  8672. "type": "integer",
  8673. "description": "页码",
  8674. "name": "page",
  8675. "in": "query"
  8676. },
  8677. {
  8678. "type": "integer",
  8679. "description": "每页条数",
  8680. "name": "pagesize",
  8681. "in": "query"
  8682. },
  8683. {
  8684. "type": "integer",
  8685. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8686. "name": "applystatus",
  8687. "in": "query"
  8688. },
  8689. {
  8690. "type": "integer",
  8691. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8692. "name": "type",
  8693. "in": "query"
  8694. },
  8695. {
  8696. "type": "string",
  8697. "description": "买委托单ID",
  8698. "name": "buywrtradeorderid",
  8699. "in": "query"
  8700. }
  8701. ],
  8702. "responses": {
  8703. "200": {
  8704. "description": "OK",
  8705. "schema": {
  8706. "type": "array",
  8707. "items": {
  8708. "$ref": "#/definitions/models.MyDelistingApply"
  8709. }
  8710. }
  8711. },
  8712. "500": {
  8713. "description": "Internal Server Error",
  8714. "schema": {
  8715. "$ref": "#/definitions/app.Response"
  8716. }
  8717. }
  8718. }
  8719. }
  8720. },
  8721. "/Guangzuan/QueryMyFavorite": {
  8722. "get": {
  8723. "security": [
  8724. {
  8725. "ApiKeyAuth": []
  8726. },
  8727. {
  8728. "LoginID": []
  8729. },
  8730. {
  8731. "Group": []
  8732. }
  8733. ],
  8734. "produces": [
  8735. "application/json"
  8736. ],
  8737. "tags": [
  8738. "广钻"
  8739. ],
  8740. "summary": "查询我的收藏",
  8741. "parameters": [
  8742. {
  8743. "type": "integer",
  8744. "description": "用户ID",
  8745. "name": "userid",
  8746. "in": "query",
  8747. "required": true
  8748. },
  8749. {
  8750. "type": "integer",
  8751. "description": "页码",
  8752. "name": "page",
  8753. "in": "query"
  8754. },
  8755. {
  8756. "type": "integer",
  8757. "description": "每页条数",
  8758. "name": "pagesize",
  8759. "in": "query"
  8760. },
  8761. {
  8762. "type": "string",
  8763. "description": "钻石分类, 格式:1,2,3",
  8764. "name": "zscategorys",
  8765. "in": "query"
  8766. }
  8767. ],
  8768. "responses": {
  8769. "200": {
  8770. "description": "OK",
  8771. "schema": {
  8772. "type": "array",
  8773. "items": {
  8774. "$ref": "#/definitions/models.MyFavorite"
  8775. }
  8776. }
  8777. },
  8778. "500": {
  8779. "description": "Internal Server Error",
  8780. "schema": {
  8781. "$ref": "#/definitions/app.Response"
  8782. }
  8783. }
  8784. }
  8785. }
  8786. },
  8787. "/Guangzuan/QueryMyPerformanc": {
  8788. "get": {
  8789. "security": [
  8790. {
  8791. "ApiKeyAuth": []
  8792. },
  8793. {
  8794. "LoginID": []
  8795. },
  8796. {
  8797. "Group": []
  8798. }
  8799. ],
  8800. "produces": [
  8801. "application/json"
  8802. ],
  8803. "tags": [
  8804. "广钻"
  8805. ],
  8806. "summary": "查询我的履约",
  8807. "parameters": [
  8808. {
  8809. "type": "integer",
  8810. "description": "用户ID",
  8811. "name": "userid",
  8812. "in": "query",
  8813. "required": true
  8814. },
  8815. {
  8816. "type": "integer",
  8817. "description": "页码",
  8818. "name": "page",
  8819. "in": "query"
  8820. },
  8821. {
  8822. "type": "integer",
  8823. "description": "每页条数",
  8824. "name": "pagesize",
  8825. "in": "query"
  8826. },
  8827. {
  8828. "type": "string",
  8829. "description": "商品(查询字段-模糊查询)",
  8830. "name": "zsallproperties",
  8831. "in": "query"
  8832. },
  8833. {
  8834. "type": "integer",
  8835. "description": "方向,0-买 1-卖",
  8836. "name": "buyorsell",
  8837. "in": "query"
  8838. },
  8839. {
  8840. "type": "boolean",
  8841. "description": "是否历史查询",
  8842. "name": "ishis",
  8843. "in": "query"
  8844. },
  8845. {
  8846. "type": "string",
  8847. "description": "开始交易日(yyyymmdd)",
  8848. "name": "begindate",
  8849. "in": "query"
  8850. },
  8851. {
  8852. "type": "string",
  8853. "description": "结束交易日(yyyymmdd)",
  8854. "name": "enddate",
  8855. "in": "query"
  8856. }
  8857. ],
  8858. "responses": {
  8859. "200": {
  8860. "description": "OK",
  8861. "schema": {
  8862. "type": "array",
  8863. "items": {
  8864. "$ref": "#/definitions/models.MyPerformanc"
  8865. }
  8866. }
  8867. },
  8868. "500": {
  8869. "description": "Internal Server Error",
  8870. "schema": {
  8871. "$ref": "#/definitions/app.Response"
  8872. }
  8873. }
  8874. }
  8875. }
  8876. },
  8877. "/Guangzuan/QueryMySellOrder": {
  8878. "get": {
  8879. "security": [
  8880. {
  8881. "ApiKeyAuth": []
  8882. },
  8883. {
  8884. "LoginID": []
  8885. },
  8886. {
  8887. "Group": []
  8888. }
  8889. ],
  8890. "produces": [
  8891. "application/json"
  8892. ],
  8893. "tags": [
  8894. "广钻"
  8895. ],
  8896. "summary": "查询我的出售",
  8897. "parameters": [
  8898. {
  8899. "type": "integer",
  8900. "description": "用户ID",
  8901. "name": "userid",
  8902. "in": "query",
  8903. "required": true
  8904. },
  8905. {
  8906. "type": "integer",
  8907. "description": "页码",
  8908. "name": "page",
  8909. "in": "query"
  8910. },
  8911. {
  8912. "type": "integer",
  8913. "description": "每页条数",
  8914. "name": "pagesize",
  8915. "in": "query"
  8916. },
  8917. {
  8918. "type": "string",
  8919. "description": "商品(查询字段-模糊查询)",
  8920. "name": "zsallproperties",
  8921. "in": "query"
  8922. },
  8923. {
  8924. "type": "string",
  8925. "description": "钻石分类, 格式:1,2,3",
  8926. "name": "zscategorys",
  8927. "in": "query"
  8928. },
  8929. {
  8930. "type": "integer",
  8931. "description": "委托单号",
  8932. "name": "wrtradeorderid",
  8933. "in": "query"
  8934. },
  8935. {
  8936. "type": "boolean",
  8937. "description": "是否历史查询",
  8938. "name": "ishis",
  8939. "in": "query"
  8940. },
  8941. {
  8942. "type": "string",
  8943. "description": "开始交易日(yyyymmdd)",
  8944. "name": "begindate",
  8945. "in": "query"
  8946. },
  8947. {
  8948. "type": "string",
  8949. "description": "结束交易日(yyyymmdd)",
  8950. "name": "enddate",
  8951. "in": "query"
  8952. }
  8953. ],
  8954. "responses": {
  8955. "200": {
  8956. "description": "OK",
  8957. "schema": {
  8958. "type": "array",
  8959. "items": {
  8960. "$ref": "#/definitions/models.MySellOrder"
  8961. }
  8962. }
  8963. },
  8964. "500": {
  8965. "description": "Internal Server Error",
  8966. "schema": {
  8967. "$ref": "#/definitions/app.Response"
  8968. }
  8969. }
  8970. }
  8971. }
  8972. },
  8973. "/Guangzuan/QueryMyWRPosition": {
  8974. "get": {
  8975. "security": [
  8976. {
  8977. "ApiKeyAuth": []
  8978. },
  8979. {
  8980. "LoginID": []
  8981. },
  8982. {
  8983. "Group": []
  8984. }
  8985. ],
  8986. "produces": [
  8987. "application/json"
  8988. ],
  8989. "tags": [
  8990. "广钻"
  8991. ],
  8992. "summary": "查询我的库存",
  8993. "parameters": [
  8994. {
  8995. "type": "integer",
  8996. "description": "页码",
  8997. "name": "page",
  8998. "in": "query"
  8999. },
  9000. {
  9001. "type": "integer",
  9002. "description": "每页条数",
  9003. "name": "pagesize",
  9004. "in": "query"
  9005. },
  9006. {
  9007. "type": "integer",
  9008. "description": "登录用户ID",
  9009. "name": "wruserid",
  9010. "in": "query",
  9011. "required": true
  9012. },
  9013. {
  9014. "type": "string",
  9015. "description": "商品(查询字段-模糊查询)",
  9016. "name": "zsallproperties",
  9017. "in": "query"
  9018. },
  9019. {
  9020. "type": "string",
  9021. "description": "钻石分类, 格式:1,2,3",
  9022. "name": "zscategorys",
  9023. "in": "query"
  9024. },
  9025. {
  9026. "type": "integer",
  9027. "description": "仓库ID",
  9028. "name": "warehouseid",
  9029. "in": "query"
  9030. },
  9031. {
  9032. "type": "integer",
  9033. "description": "是否上架,0-全部 1-是 2-否",
  9034. "name": "marketflag",
  9035. "in": "query"
  9036. }
  9037. ],
  9038. "responses": {
  9039. "200": {
  9040. "description": "OK",
  9041. "schema": {
  9042. "type": "array",
  9043. "items": {
  9044. "$ref": "#/definitions/models.MyWRPosition"
  9045. }
  9046. }
  9047. },
  9048. "500": {
  9049. "description": "Internal Server Error",
  9050. "schema": {
  9051. "$ref": "#/definitions/app.Response"
  9052. }
  9053. }
  9054. }
  9055. }
  9056. },
  9057. "/Guangzuan/QuerySellOrder": {
  9058. "get": {
  9059. "security": [
  9060. {
  9061. "ApiKeyAuth": []
  9062. },
  9063. {
  9064. "LoginID": []
  9065. },
  9066. {
  9067. "Group": []
  9068. }
  9069. ],
  9070. "produces": [
  9071. "application/json"
  9072. ],
  9073. "tags": [
  9074. "广钻"
  9075. ],
  9076. "summary": "查询出售大厅委托单",
  9077. "parameters": [
  9078. {
  9079. "type": "integer",
  9080. "description": "页码",
  9081. "name": "page",
  9082. "in": "query"
  9083. },
  9084. {
  9085. "type": "integer",
  9086. "description": "每页条数",
  9087. "name": "pagesize",
  9088. "in": "query"
  9089. },
  9090. {
  9091. "type": "string",
  9092. "description": "商品(查询字段-模糊查询)",
  9093. "name": "zsallproperties",
  9094. "in": "query"
  9095. },
  9096. {
  9097. "type": "string",
  9098. "description": "钻石分类, 格式:1,2,3",
  9099. "name": "zscategorys",
  9100. "in": "query"
  9101. },
  9102. {
  9103. "type": "integer",
  9104. "description": "委托单号",
  9105. "name": "wrtradeorderid",
  9106. "in": "query"
  9107. },
  9108. {
  9109. "type": "string",
  9110. "description": "卖方(查询字段-模糊查询)",
  9111. "name": "buyusername",
  9112. "in": "query"
  9113. }
  9114. ],
  9115. "responses": {
  9116. "200": {
  9117. "description": "OK",
  9118. "schema": {
  9119. "type": "array",
  9120. "items": {
  9121. "$ref": "#/definitions/models.SellOrder"
  9122. }
  9123. }
  9124. },
  9125. "500": {
  9126. "description": "Internal Server Error",
  9127. "schema": {
  9128. "$ref": "#/definitions/app.Response"
  9129. }
  9130. }
  9131. }
  9132. }
  9133. },
  9134. "/Guangzuan/QueryTradeReport": {
  9135. "get": {
  9136. "security": [
  9137. {
  9138. "ApiKeyAuth": []
  9139. },
  9140. {
  9141. "LoginID": []
  9142. },
  9143. {
  9144. "Group": []
  9145. }
  9146. ],
  9147. "produces": [
  9148. "application/json"
  9149. ],
  9150. "tags": [
  9151. "广钻"
  9152. ],
  9153. "summary": "查询交易报表",
  9154. "parameters": [
  9155. {
  9156. "type": "integer",
  9157. "description": "用户ID",
  9158. "name": "userid",
  9159. "in": "query",
  9160. "required": true
  9161. },
  9162. {
  9163. "type": "integer",
  9164. "description": "页码",
  9165. "name": "page",
  9166. "in": "query"
  9167. },
  9168. {
  9169. "type": "integer",
  9170. "description": "每页条数",
  9171. "name": "pagesize",
  9172. "in": "query"
  9173. },
  9174. {
  9175. "type": "string",
  9176. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9177. "name": "cycletype",
  9178. "in": "query"
  9179. },
  9180. {
  9181. "type": "string",
  9182. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9183. "name": "begindate",
  9184. "in": "query",
  9185. "required": true
  9186. },
  9187. {
  9188. "type": "string",
  9189. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9190. "name": "enddate",
  9191. "in": "query",
  9192. "required": true
  9193. },
  9194. {
  9195. "type": "integer",
  9196. "description": "商品分类",
  9197. "name": "zscategory",
  9198. "in": "query"
  9199. },
  9200. {
  9201. "type": "integer",
  9202. "description": "商品币种",
  9203. "name": "zscurrencytype",
  9204. "in": "query"
  9205. }
  9206. ],
  9207. "responses": {
  9208. "200": {
  9209. "description": "OK",
  9210. "schema": {
  9211. "type": "array",
  9212. "items": {
  9213. "$ref": "#/definitions/models.Reckongzmemtradesum"
  9214. }
  9215. }
  9216. },
  9217. "500": {
  9218. "description": "Internal Server Error",
  9219. "schema": {
  9220. "$ref": "#/definitions/app.Response"
  9221. }
  9222. }
  9223. }
  9224. }
  9225. },
  9226. "/Guangzuan/QueryWRPositionReport": {
  9227. "get": {
  9228. "security": [
  9229. {
  9230. "ApiKeyAuth": []
  9231. },
  9232. {
  9233. "LoginID": []
  9234. },
  9235. {
  9236. "Group": []
  9237. }
  9238. ],
  9239. "produces": [
  9240. "application/json"
  9241. ],
  9242. "tags": [
  9243. "广钻"
  9244. ],
  9245. "summary": "查询仓储报表",
  9246. "parameters": [
  9247. {
  9248. "type": "integer",
  9249. "description": "用户ID",
  9250. "name": "userid",
  9251. "in": "query",
  9252. "required": true
  9253. },
  9254. {
  9255. "type": "integer",
  9256. "description": "页码",
  9257. "name": "page",
  9258. "in": "query"
  9259. },
  9260. {
  9261. "type": "integer",
  9262. "description": "每页条数",
  9263. "name": "pagesize",
  9264. "in": "query"
  9265. },
  9266. {
  9267. "type": "string",
  9268. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9269. "name": "cycletype",
  9270. "in": "query"
  9271. },
  9272. {
  9273. "type": "string",
  9274. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9275. "name": "begindate",
  9276. "in": "query",
  9277. "required": true
  9278. },
  9279. {
  9280. "type": "string",
  9281. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9282. "name": "enddate",
  9283. "in": "query",
  9284. "required": true
  9285. },
  9286. {
  9287. "type": "integer",
  9288. "description": "商品分类",
  9289. "name": "zscategory",
  9290. "in": "query"
  9291. },
  9292. {
  9293. "type": "integer",
  9294. "description": "商品币种",
  9295. "name": "zscurrencytype",
  9296. "in": "query"
  9297. }
  9298. ],
  9299. "responses": {
  9300. "200": {
  9301. "description": "OK",
  9302. "schema": {
  9303. "type": "array",
  9304. "items": {
  9305. "$ref": "#/definitions/models.WRPositionReport"
  9306. }
  9307. }
  9308. },
  9309. "500": {
  9310. "description": "Internal Server Error",
  9311. "schema": {
  9312. "$ref": "#/definitions/app.Response"
  9313. }
  9314. }
  9315. }
  9316. }
  9317. },
  9318. "/Guangzuan/QueryWarehouseInfo": {
  9319. "get": {
  9320. "security": [
  9321. {
  9322. "ApiKeyAuth": []
  9323. },
  9324. {
  9325. "LoginID": []
  9326. },
  9327. {
  9328. "Group": []
  9329. }
  9330. ],
  9331. "produces": [
  9332. "application/json"
  9333. ],
  9334. "tags": [
  9335. "广钻"
  9336. ],
  9337. "summary": "查询仓库信息",
  9338. "parameters": [
  9339. {
  9340. "type": "integer",
  9341. "description": "页码",
  9342. "name": "page",
  9343. "in": "query"
  9344. },
  9345. {
  9346. "type": "integer",
  9347. "description": "每页条数",
  9348. "name": "pagesize",
  9349. "in": "query"
  9350. },
  9351. {
  9352. "type": "integer",
  9353. "description": "用户ID",
  9354. "name": "userid",
  9355. "in": "query",
  9356. "required": true
  9357. },
  9358. {
  9359. "type": "string",
  9360. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  9361. "name": "status",
  9362. "in": "query"
  9363. },
  9364. {
  9365. "type": "boolean",
  9366. "description": "是返回交易所仓库",
  9367. "name": "isincludeexchange",
  9368. "in": "query"
  9369. }
  9370. ],
  9371. "responses": {
  9372. "200": {
  9373. "description": "OK",
  9374. "schema": {
  9375. "type": "array",
  9376. "items": {
  9377. "$ref": "#/definitions/models.GZWarehouseinfo"
  9378. }
  9379. }
  9380. },
  9381. "500": {
  9382. "description": "Internal Server Error",
  9383. "schema": {
  9384. "$ref": "#/definitions/app.Response"
  9385. }
  9386. }
  9387. }
  9388. }
  9389. },
  9390. "/Market/GetAllExExchanges": {
  9391. "get": {
  9392. "security": [
  9393. {
  9394. "ApiKeyAuth": []
  9395. }
  9396. ],
  9397. "produces": [
  9398. "application/json"
  9399. ],
  9400. "tags": [
  9401. "通用市场"
  9402. ],
  9403. "summary": "获取所有外部交易所信息",
  9404. "responses": {
  9405. "200": {
  9406. "description": "OK",
  9407. "schema": {
  9408. "$ref": "#/definitions/models.Goods"
  9409. }
  9410. },
  9411. "500": {
  9412. "description": "Internal Server Error",
  9413. "schema": {
  9414. "$ref": "#/definitions/app.Response"
  9415. }
  9416. }
  9417. }
  9418. }
  9419. },
  9420. "/Market/QueryGoodsesByLoginID": {
  9421. "get": {
  9422. "security": [
  9423. {
  9424. "ApiKeyAuth": []
  9425. }
  9426. ],
  9427. "produces": [
  9428. "application/json"
  9429. ],
  9430. "tags": [
  9431. "通用市场"
  9432. ],
  9433. "summary": "获取登录账号有权限的商品信息",
  9434. "parameters": [
  9435. {
  9436. "type": "integer",
  9437. "description": "登录账号",
  9438. "name": "loginID",
  9439. "in": "query",
  9440. "required": true
  9441. },
  9442. {
  9443. "type": "string",
  9444. "description": "市场ID列表,格式:1,2,3",
  9445. "name": "marketIDs",
  9446. "in": "query"
  9447. }
  9448. ],
  9449. "responses": {
  9450. "200": {
  9451. "description": "OK",
  9452. "schema": {
  9453. "$ref": "#/definitions/models.Goods"
  9454. }
  9455. },
  9456. "500": {
  9457. "description": "Internal Server Error",
  9458. "schema": {
  9459. "$ref": "#/definitions/app.Response"
  9460. }
  9461. }
  9462. }
  9463. }
  9464. },
  9465. "/Market/QueryMarketRun": {
  9466. "get": {
  9467. "security": [
  9468. {
  9469. "ApiKeyAuth": []
  9470. }
  9471. ],
  9472. "produces": [
  9473. "application/json"
  9474. ],
  9475. "tags": [
  9476. "通用市场"
  9477. ],
  9478. "summary": "查询市场运行信息",
  9479. "parameters": [
  9480. {
  9481. "type": "integer",
  9482. "description": "市场ID,不传返回所有",
  9483. "name": "marketID",
  9484. "in": "query"
  9485. }
  9486. ],
  9487. "responses": {
  9488. "200": {
  9489. "description": "OK",
  9490. "schema": {
  9491. "$ref": "#/definitions/models.Marketrun"
  9492. }
  9493. },
  9494. "500": {
  9495. "description": "Internal Server Error",
  9496. "schema": {
  9497. "$ref": "#/definitions/app.Response"
  9498. }
  9499. }
  9500. }
  9501. }
  9502. },
  9503. "/Market/QueryMarketsByLoginID": {
  9504. "get": {
  9505. "security": [
  9506. {
  9507. "ApiKeyAuth": []
  9508. }
  9509. ],
  9510. "produces": [
  9511. "application/json"
  9512. ],
  9513. "tags": [
  9514. "通用市场"
  9515. ],
  9516. "summary": "获取登录账号有权限的市场信息",
  9517. "parameters": [
  9518. {
  9519. "type": "integer",
  9520. "description": "登录账号",
  9521. "name": "loginID",
  9522. "in": "query",
  9523. "required": true
  9524. }
  9525. ],
  9526. "responses": {
  9527. "200": {
  9528. "description": "OK",
  9529. "schema": {
  9530. "$ref": "#/definitions/models.Market"
  9531. }
  9532. },
  9533. "500": {
  9534. "description": "Internal Server Error",
  9535. "schema": {
  9536. "$ref": "#/definitions/app.Response"
  9537. }
  9538. }
  9539. }
  9540. }
  9541. },
  9542. "/Order/QueryHisTradeDetail": {
  9543. "get": {
  9544. "security": [
  9545. {
  9546. "ApiKeyAuth": []
  9547. }
  9548. ],
  9549. "produces": [
  9550. "application/json"
  9551. ],
  9552. "tags": [
  9553. "通用单据"
  9554. ],
  9555. "summary": "历史成交单查询(合约市场)",
  9556. "parameters": [
  9557. {
  9558. "type": "string",
  9559. "description": "资金账户 - 格式:1,2,3",
  9560. "name": "accountID",
  9561. "in": "query",
  9562. "required": true
  9563. },
  9564. {
  9565. "type": "integer",
  9566. "description": "成交单号",
  9567. "name": "tradeID",
  9568. "in": "query"
  9569. },
  9570. {
  9571. "type": "integer",
  9572. "description": "委托单号",
  9573. "name": "orderID",
  9574. "in": "query"
  9575. },
  9576. {
  9577. "type": "integer",
  9578. "description": "商品ID",
  9579. "name": "goodsID",
  9580. "in": "query"
  9581. },
  9582. {
  9583. "type": "string",
  9584. "description": "交易模式 - 格式:1,2,3",
  9585. "name": "tradeMode",
  9586. "in": "query"
  9587. },
  9588. {
  9589. "type": "integer",
  9590. "description": "委托单据类型",
  9591. "name": "buildType",
  9592. "in": "query"
  9593. },
  9594. {
  9595. "type": "string",
  9596. "description": "成交类别 - 格式:1,2,3",
  9597. "name": "tradeType",
  9598. "in": "query"
  9599. },
  9600. {
  9601. "type": "string",
  9602. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9603. "name": "startDate",
  9604. "in": "query"
  9605. },
  9606. {
  9607. "type": "string",
  9608. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9609. "name": "endDate",
  9610. "in": "query"
  9611. }
  9612. ],
  9613. "responses": {
  9614. "200": {
  9615. "description": "OK",
  9616. "schema": {
  9617. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9618. }
  9619. },
  9620. "500": {
  9621. "description": "Internal Server Error",
  9622. "schema": {
  9623. "$ref": "#/definitions/app.Response"
  9624. }
  9625. }
  9626. }
  9627. }
  9628. },
  9629. "/Order/QueryHisTradeOrderDetail": {
  9630. "get": {
  9631. "security": [
  9632. {
  9633. "ApiKeyAuth": []
  9634. }
  9635. ],
  9636. "produces": [
  9637. "application/json"
  9638. ],
  9639. "tags": [
  9640. "通用单据"
  9641. ],
  9642. "summary": "历史委托单查询请求(合约市场)",
  9643. "parameters": [
  9644. {
  9645. "type": "string",
  9646. "description": "资金账户 - 格式:1,2,3",
  9647. "name": "accountID",
  9648. "in": "query",
  9649. "required": true
  9650. },
  9651. {
  9652. "type": "string",
  9653. "description": "交易模式 - 格式:1,2,3",
  9654. "name": "tradeMode",
  9655. "in": "query"
  9656. },
  9657. {
  9658. "type": "string",
  9659. "description": "委托状态 - 格式:1,2,3",
  9660. "name": "orderStatus",
  9661. "in": "query"
  9662. },
  9663. {
  9664. "type": "integer",
  9665. "description": "委托单号",
  9666. "name": "orderID",
  9667. "in": "query"
  9668. },
  9669. {
  9670. "type": "string",
  9671. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9672. "name": "startDate",
  9673. "in": "query"
  9674. },
  9675. {
  9676. "type": "string",
  9677. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9678. "name": "endDate",
  9679. "in": "query"
  9680. }
  9681. ],
  9682. "responses": {
  9683. "200": {
  9684. "description": "OK",
  9685. "schema": {
  9686. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9687. }
  9688. },
  9689. "500": {
  9690. "description": "Internal Server Error",
  9691. "schema": {
  9692. "$ref": "#/definitions/app.Response"
  9693. }
  9694. }
  9695. }
  9696. }
  9697. },
  9698. "/Order/QueryTradeDetail": {
  9699. "get": {
  9700. "security": [
  9701. {
  9702. "ApiKeyAuth": []
  9703. }
  9704. ],
  9705. "produces": [
  9706. "application/json"
  9707. ],
  9708. "tags": [
  9709. "通用单据"
  9710. ],
  9711. "summary": "成交单查询(合约市场)",
  9712. "parameters": [
  9713. {
  9714. "type": "string",
  9715. "description": "资金账户 - 格式:1,2,3",
  9716. "name": "accountID",
  9717. "in": "query",
  9718. "required": true
  9719. },
  9720. {
  9721. "type": "integer",
  9722. "description": "成交单号",
  9723. "name": "tradeID",
  9724. "in": "query"
  9725. },
  9726. {
  9727. "type": "integer",
  9728. "description": "委托单号",
  9729. "name": "orderID",
  9730. "in": "query"
  9731. },
  9732. {
  9733. "type": "string",
  9734. "description": "交易模式 - 格式:1,2,3",
  9735. "name": "tradeMode",
  9736. "in": "query"
  9737. },
  9738. {
  9739. "type": "integer",
  9740. "description": "委托单据类型",
  9741. "name": "buildType",
  9742. "in": "query"
  9743. },
  9744. {
  9745. "type": "string",
  9746. "description": "成交类别 - 格式:1,2,3",
  9747. "name": "tradeType",
  9748. "in": "query"
  9749. },
  9750. {
  9751. "type": "integer",
  9752. "description": "商品ID",
  9753. "name": "goodsID",
  9754. "in": "query"
  9755. }
  9756. ],
  9757. "responses": {
  9758. "200": {
  9759. "description": "OK",
  9760. "schema": {
  9761. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  9762. }
  9763. },
  9764. "500": {
  9765. "description": "Internal Server Error",
  9766. "schema": {
  9767. "$ref": "#/definitions/app.Response"
  9768. }
  9769. }
  9770. }
  9771. }
  9772. },
  9773. "/Order/QueryTradeHolderDetail": {
  9774. "get": {
  9775. "security": [
  9776. {
  9777. "ApiKeyAuth": []
  9778. }
  9779. ],
  9780. "produces": [
  9781. "application/json"
  9782. ],
  9783. "tags": [
  9784. "通用单据"
  9785. ],
  9786. "summary": "查询持仓明细",
  9787. "parameters": [
  9788. {
  9789. "type": "integer",
  9790. "description": "用户id",
  9791. "name": "userid",
  9792. "in": "query"
  9793. },
  9794. {
  9795. "type": "string",
  9796. "description": "资金账号, 格式 1,2,3",
  9797. "name": "accids",
  9798. "in": "query"
  9799. },
  9800. {
  9801. "type": "string",
  9802. "description": "交易模式, 格式 1,2,3",
  9803. "name": "trademodes",
  9804. "in": "query"
  9805. },
  9806. {
  9807. "type": "string",
  9808. "description": "市场id, 格式 1,2,3",
  9809. "name": "marketids",
  9810. "in": "query"
  9811. },
  9812. {
  9813. "type": "integer",
  9814. "description": "商品id",
  9815. "name": "goodsid",
  9816. "in": "query"
  9817. },
  9818. {
  9819. "type": "integer",
  9820. "description": "买卖方向 0-买 1-卖",
  9821. "name": "buyorsell",
  9822. "in": "query"
  9823. }
  9824. ],
  9825. "responses": {
  9826. "200": {
  9827. "description": "OK",
  9828. "schema": {
  9829. "type": "array",
  9830. "items": {
  9831. "$ref": "#/definitions/models.TradeHolderDetail"
  9832. }
  9833. }
  9834. },
  9835. "500": {
  9836. "description": "Internal Server Error",
  9837. "schema": {
  9838. "$ref": "#/definitions/app.Response"
  9839. }
  9840. }
  9841. }
  9842. }
  9843. },
  9844. "/Order/QueryTradeOrderDetail": {
  9845. "get": {
  9846. "security": [
  9847. {
  9848. "ApiKeyAuth": []
  9849. }
  9850. ],
  9851. "produces": [
  9852. "application/json"
  9853. ],
  9854. "tags": [
  9855. "通用单据"
  9856. ],
  9857. "summary": "委托单查询请求(合约市场)",
  9858. "parameters": [
  9859. {
  9860. "type": "string",
  9861. "description": "资金账户 - 格式:1,2,3",
  9862. "name": "accountID",
  9863. "in": "query",
  9864. "required": true
  9865. },
  9866. {
  9867. "type": "string",
  9868. "description": "交易模式 - 格式:1,2,3",
  9869. "name": "tradeMode",
  9870. "in": "query"
  9871. },
  9872. {
  9873. "type": "string",
  9874. "description": "委托状态 - 格式:1,2,3",
  9875. "name": "orderStatus",
  9876. "in": "query"
  9877. },
  9878. {
  9879. "type": "integer",
  9880. "description": "委托单号",
  9881. "name": "orderID",
  9882. "in": "query"
  9883. }
  9884. ],
  9885. "responses": {
  9886. "200": {
  9887. "description": "OK",
  9888. "schema": {
  9889. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  9890. }
  9891. },
  9892. "500": {
  9893. "description": "Internal Server Error",
  9894. "schema": {
  9895. "$ref": "#/definitions/app.Response"
  9896. }
  9897. }
  9898. }
  9899. }
  9900. },
  9901. "/Order/QueryTradePosition": {
  9902. "get": {
  9903. "security": [
  9904. {
  9905. "ApiKeyAuth": []
  9906. }
  9907. ],
  9908. "produces": [
  9909. "application/json"
  9910. ],
  9911. "tags": [
  9912. "通用单据"
  9913. ],
  9914. "summary": "持仓汇总查询(合约市场)",
  9915. "parameters": [
  9916. {
  9917. "type": "string",
  9918. "description": "资金账户 - 格式:1,2,3",
  9919. "name": "accountID",
  9920. "in": "query",
  9921. "required": true
  9922. },
  9923. {
  9924. "type": "string",
  9925. "description": "交易模式 - 格式:1,2,3",
  9926. "name": "tradeMode",
  9927. "in": "query"
  9928. }
  9929. ],
  9930. "responses": {
  9931. "200": {
  9932. "description": "OK",
  9933. "schema": {
  9934. "$ref": "#/definitions/order.QueryTradePositionRsp"
  9935. }
  9936. },
  9937. "500": {
  9938. "description": "Internal Server Error",
  9939. "schema": {
  9940. "$ref": "#/definitions/app.Response"
  9941. }
  9942. }
  9943. }
  9944. }
  9945. },
  9946. "/Qhj/QueryAccountInOutApply": {
  9947. "get": {
  9948. "security": [
  9949. {
  9950. "ApiKeyAuth": []
  9951. }
  9952. ],
  9953. "produces": [
  9954. "application/json"
  9955. ],
  9956. "tags": [
  9957. "大连千海金"
  9958. ],
  9959. "summary": "查询充值提现",
  9960. "parameters": [
  9961. {
  9962. "type": "integer",
  9963. "description": "用户ID",
  9964. "name": "userid",
  9965. "in": "query",
  9966. "required": true
  9967. },
  9968. {
  9969. "type": "string",
  9970. "description": "申请起始日期(格式yyyymmdd)",
  9971. "name": "begindate",
  9972. "in": "query"
  9973. },
  9974. {
  9975. "type": "string",
  9976. "description": "申请截止日期(格式yyyymmdd)",
  9977. "name": "enddate",
  9978. "in": "query"
  9979. },
  9980. {
  9981. "type": "string",
  9982. "description": "模糊搜索名称",
  9983. "name": "likename",
  9984. "in": "query"
  9985. },
  9986. {
  9987. "type": "integer",
  9988. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  9989. "name": "applystatus",
  9990. "in": "query"
  9991. },
  9992. {
  9993. "type": "integer",
  9994. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  9995. "name": "querytype",
  9996. "in": "query"
  9997. }
  9998. ],
  9999. "responses": {
  10000. "200": {
  10001. "description": "OK",
  10002. "schema": {
  10003. "type": "array",
  10004. "items": {
  10005. "$ref": "#/definitions/models.QhjAccountOutInApply"
  10006. }
  10007. }
  10008. },
  10009. "500": {
  10010. "description": "Internal Server Error",
  10011. "schema": {
  10012. "$ref": "#/definitions/app.Response"
  10013. }
  10014. }
  10015. }
  10016. }
  10017. },
  10018. "/Qhj/QueryAreaFinanceConfig": {
  10019. "get": {
  10020. "security": [
  10021. {
  10022. "ApiKeyAuth": []
  10023. }
  10024. ],
  10025. "produces": [
  10026. "application/json"
  10027. ],
  10028. "tags": [
  10029. "大连千海金"
  10030. ],
  10031. "summary": "查询企业配置表",
  10032. "parameters": [
  10033. {
  10034. "type": "integer",
  10035. "description": "机构用户ID 其他做市关系,都设置为 1",
  10036. "name": "userid",
  10037. "in": "query"
  10038. }
  10039. ],
  10040. "responses": {
  10041. "200": {
  10042. "description": "OK",
  10043. "schema": {
  10044. "type": "array",
  10045. "items": {
  10046. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  10047. }
  10048. }
  10049. },
  10050. "500": {
  10051. "description": "Internal Server Error",
  10052. "schema": {
  10053. "$ref": "#/definitions/app.Response"
  10054. }
  10055. }
  10056. }
  10057. }
  10058. },
  10059. "/Qhj/QueryBankAccountSign": {
  10060. "get": {
  10061. "security": [
  10062. {
  10063. "ApiKeyAuth": []
  10064. }
  10065. ],
  10066. "produces": [
  10067. "application/json"
  10068. ],
  10069. "tags": [
  10070. "大连千海金"
  10071. ],
  10072. "summary": "查询签约银行信息(提现账户管理)",
  10073. "parameters": [
  10074. {
  10075. "type": "integer",
  10076. "description": "用户ID",
  10077. "name": "userid",
  10078. "in": "query",
  10079. "required": true
  10080. }
  10081. ],
  10082. "responses": {
  10083. "200": {
  10084. "description": "OK",
  10085. "schema": {
  10086. "type": "array",
  10087. "items": {
  10088. "$ref": "#/definitions/models.QhjBankAccountSign"
  10089. }
  10090. }
  10091. },
  10092. "500": {
  10093. "description": "Internal Server Error",
  10094. "schema": {
  10095. "$ref": "#/definitions/app.Response"
  10096. }
  10097. }
  10098. }
  10099. }
  10100. },
  10101. "/Qhj/QueryBankInfo": {
  10102. "get": {
  10103. "security": [
  10104. {
  10105. "ApiKeyAuth": []
  10106. }
  10107. ],
  10108. "produces": [
  10109. "application/json"
  10110. ],
  10111. "tags": [
  10112. "大连千海金"
  10113. ],
  10114. "summary": "查询开户行",
  10115. "responses": {
  10116. "200": {
  10117. "description": "OK",
  10118. "schema": {
  10119. "type": "array",
  10120. "items": {
  10121. "$ref": "#/definitions/models.QhjBankInfo"
  10122. }
  10123. }
  10124. },
  10125. "500": {
  10126. "description": "Internal Server Error",
  10127. "schema": {
  10128. "$ref": "#/definitions/app.Response"
  10129. }
  10130. }
  10131. }
  10132. }
  10133. },
  10134. "/Qhj/QueryBrokerApply": {
  10135. "get": {
  10136. "security": [
  10137. {
  10138. "ApiKeyAuth": []
  10139. }
  10140. ],
  10141. "produces": [
  10142. "application/json"
  10143. ],
  10144. "tags": [
  10145. "大连千海金"
  10146. ],
  10147. "summary": "查询经纪人申请",
  10148. "parameters": [
  10149. {
  10150. "type": "integer",
  10151. "description": "所属机构ID",
  10152. "name": "userid",
  10153. "in": "query"
  10154. },
  10155. {
  10156. "type": "string",
  10157. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10158. "name": "filterstatus",
  10159. "in": "query"
  10160. }
  10161. ],
  10162. "responses": {
  10163. "200": {
  10164. "description": "OK",
  10165. "schema": {
  10166. "type": "array",
  10167. "items": {
  10168. "$ref": "#/definitions/models.QhjBrokerApply"
  10169. }
  10170. }
  10171. },
  10172. "500": {
  10173. "description": "Internal Server Error",
  10174. "schema": {
  10175. "$ref": "#/definitions/app.Response"
  10176. }
  10177. }
  10178. }
  10179. }
  10180. },
  10181. "/Qhj/QueryBrokerApplyEx": {
  10182. "get": {
  10183. "security": [
  10184. {
  10185. "ApiKeyAuth": []
  10186. }
  10187. ],
  10188. "produces": [
  10189. "application/json"
  10190. ],
  10191. "tags": [
  10192. "大连千海金"
  10193. ],
  10194. "summary": "查询经纪人信息和申请记录",
  10195. "parameters": [
  10196. {
  10197. "type": "integer",
  10198. "description": "所属机构ID",
  10199. "name": "userid",
  10200. "in": "query"
  10201. }
  10202. ],
  10203. "responses": {
  10204. "200": {
  10205. "description": "OK",
  10206. "schema": {
  10207. "type": "array",
  10208. "items": {
  10209. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  10210. }
  10211. }
  10212. },
  10213. "500": {
  10214. "description": "Internal Server Error",
  10215. "schema": {
  10216. "$ref": "#/definitions/app.Response"
  10217. }
  10218. }
  10219. }
  10220. }
  10221. },
  10222. "/Qhj/QueryBrokerRewardLog": {
  10223. "get": {
  10224. "security": [
  10225. {
  10226. "ApiKeyAuth": []
  10227. }
  10228. ],
  10229. "produces": [
  10230. "application/json"
  10231. ],
  10232. "tags": [
  10233. "大连千海金"
  10234. ],
  10235. "summary": "查询奖励流水(我的奖励)",
  10236. "parameters": [
  10237. {
  10238. "type": "integer",
  10239. "description": "用户ID",
  10240. "name": "userid",
  10241. "in": "query",
  10242. "required": true
  10243. },
  10244. {
  10245. "type": "string",
  10246. "description": "开始交易日(yyyymmdd)",
  10247. "name": "begindate",
  10248. "in": "query"
  10249. },
  10250. {
  10251. "type": "string",
  10252. "description": "结束交易日(yyyymmdd)",
  10253. "name": "enddate",
  10254. "in": "query"
  10255. }
  10256. ],
  10257. "responses": {
  10258. "200": {
  10259. "description": "OK",
  10260. "schema": {
  10261. "type": "array",
  10262. "items": {
  10263. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10264. }
  10265. }
  10266. },
  10267. "500": {
  10268. "description": "Internal Server Error",
  10269. "schema": {
  10270. "$ref": "#/definitions/app.Response"
  10271. }
  10272. }
  10273. }
  10274. }
  10275. },
  10276. "/Qhj/QueryContract": {
  10277. "get": {
  10278. "security": [
  10279. {
  10280. "ApiKeyAuth": []
  10281. }
  10282. ],
  10283. "produces": [
  10284. "application/json"
  10285. ],
  10286. "tags": [
  10287. "大连千海金"
  10288. ],
  10289. "summary": "查询融资明细(合同)",
  10290. "parameters": [
  10291. {
  10292. "type": "integer",
  10293. "description": "用户ID",
  10294. "name": "userid",
  10295. "in": "query"
  10296. },
  10297. {
  10298. "type": "integer",
  10299. "description": "scf合同id",
  10300. "name": "scfcontractid",
  10301. "in": "query"
  10302. }
  10303. ],
  10304. "responses": {
  10305. "200": {
  10306. "description": "OK",
  10307. "schema": {
  10308. "type": "array",
  10309. "items": {
  10310. "$ref": "#/definitions/models.QhjContract"
  10311. }
  10312. }
  10313. },
  10314. "500": {
  10315. "description": "Internal Server Error",
  10316. "schema": {
  10317. "$ref": "#/definitions/app.Response"
  10318. }
  10319. }
  10320. }
  10321. }
  10322. },
  10323. "/Qhj/QueryContractLog": {
  10324. "get": {
  10325. "security": [
  10326. {
  10327. "ApiKeyAuth": []
  10328. }
  10329. ],
  10330. "produces": [
  10331. "application/json"
  10332. ],
  10333. "tags": [
  10334. "大连千海金"
  10335. ],
  10336. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10337. "parameters": [
  10338. {
  10339. "type": "integer",
  10340. "description": "scf合同id",
  10341. "name": "scfcontractid",
  10342. "in": "query",
  10343. "required": true
  10344. },
  10345. {
  10346. "type": "string",
  10347. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10348. "name": "amounttype",
  10349. "in": "query"
  10350. }
  10351. ],
  10352. "responses": {
  10353. "200": {
  10354. "description": "OK",
  10355. "schema": {
  10356. "type": "array",
  10357. "items": {
  10358. "$ref": "#/definitions/models.QhjContractLog"
  10359. }
  10360. }
  10361. },
  10362. "500": {
  10363. "description": "Internal Server Error",
  10364. "schema": {
  10365. "$ref": "#/definitions/app.Response"
  10366. }
  10367. }
  10368. }
  10369. }
  10370. },
  10371. "/Qhj/QueryCusBankSignBank": {
  10372. "get": {
  10373. "security": [
  10374. {
  10375. "ApiKeyAuth": []
  10376. }
  10377. ],
  10378. "produces": [
  10379. "application/json"
  10380. ],
  10381. "tags": [
  10382. "大连千海金"
  10383. ],
  10384. "summary": "查询托管银行",
  10385. "responses": {
  10386. "200": {
  10387. "description": "OK",
  10388. "schema": {
  10389. "type": "array",
  10390. "items": {
  10391. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10392. }
  10393. }
  10394. },
  10395. "500": {
  10396. "description": "Internal Server Error",
  10397. "schema": {
  10398. "$ref": "#/definitions/app.Response"
  10399. }
  10400. }
  10401. }
  10402. }
  10403. },
  10404. "/Qhj/QueryCustomerInfo": {
  10405. "get": {
  10406. "security": [
  10407. {
  10408. "ApiKeyAuth": []
  10409. }
  10410. ],
  10411. "produces": [
  10412. "application/json"
  10413. ],
  10414. "tags": [
  10415. "大连千海金"
  10416. ],
  10417. "summary": "查询客户资料",
  10418. "parameters": [
  10419. {
  10420. "type": "integer",
  10421. "description": "用户ID",
  10422. "name": "userid",
  10423. "in": "query",
  10424. "required": true
  10425. },
  10426. {
  10427. "type": "integer",
  10428. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10429. "name": "querytype",
  10430. "in": "query",
  10431. "required": true
  10432. },
  10433. {
  10434. "type": "integer",
  10435. "description": "客户类型 1-个人 2-企业",
  10436. "name": "userinfotype",
  10437. "in": "query"
  10438. },
  10439. {
  10440. "type": "string",
  10441. "description": "客户名称(模糊匹配)",
  10442. "name": "customername",
  10443. "in": "query"
  10444. },
  10445. {
  10446. "type": "string",
  10447. "description": "昵称(模糊匹配)",
  10448. "name": "nickname",
  10449. "in": "query"
  10450. },
  10451. {
  10452. "type": "integer",
  10453. "description": "是否包含子级 1-包含",
  10454. "name": "includesub",
  10455. "in": "query"
  10456. }
  10457. ],
  10458. "responses": {
  10459. "200": {
  10460. "description": "OK",
  10461. "schema": {
  10462. "type": "array",
  10463. "items": {
  10464. "$ref": "#/definitions/models.QhjCustomer"
  10465. }
  10466. }
  10467. },
  10468. "500": {
  10469. "description": "Internal Server Error",
  10470. "schema": {
  10471. "$ref": "#/definitions/app.Response"
  10472. }
  10473. }
  10474. }
  10475. }
  10476. },
  10477. "/Qhj/QueryGoodsEx": {
  10478. "get": {
  10479. "security": [
  10480. {
  10481. "ApiKeyAuth": []
  10482. }
  10483. ],
  10484. "produces": [
  10485. "application/json"
  10486. ],
  10487. "tags": [
  10488. "大连千海金"
  10489. ],
  10490. "summary": "交易商品扩展表",
  10491. "parameters": [
  10492. {
  10493. "type": "integer",
  10494. "description": "商品id",
  10495. "name": "goodsid",
  10496. "in": "query"
  10497. }
  10498. ],
  10499. "responses": {
  10500. "200": {
  10501. "description": "OK",
  10502. "schema": {
  10503. "type": "array",
  10504. "items": {
  10505. "$ref": "#/definitions/models.Qhjgoodsex"
  10506. }
  10507. }
  10508. },
  10509. "500": {
  10510. "description": "Internal Server Error",
  10511. "schema": {
  10512. "$ref": "#/definitions/app.Response"
  10513. }
  10514. }
  10515. }
  10516. }
  10517. },
  10518. "/Qhj/QueryMyTeam": {
  10519. "get": {
  10520. "security": [
  10521. {
  10522. "ApiKeyAuth": []
  10523. }
  10524. ],
  10525. "produces": [
  10526. "application/json"
  10527. ],
  10528. "tags": [
  10529. "大连千海金"
  10530. ],
  10531. "summary": "查询我的团队",
  10532. "parameters": [
  10533. {
  10534. "type": "integer",
  10535. "description": "用户ID",
  10536. "name": "userid",
  10537. "in": "query",
  10538. "required": true
  10539. }
  10540. ],
  10541. "responses": {
  10542. "200": {
  10543. "description": "OK",
  10544. "schema": {
  10545. "type": "array",
  10546. "items": {
  10547. "$ref": "#/definitions/models.QhjMyTeamEx"
  10548. }
  10549. }
  10550. },
  10551. "500": {
  10552. "description": "Internal Server Error",
  10553. "schema": {
  10554. "$ref": "#/definitions/app.Response"
  10555. }
  10556. }
  10557. }
  10558. }
  10559. },
  10560. "/Qhj/QueryMyTeamOrder": {
  10561. "get": {
  10562. "security": [
  10563. {
  10564. "ApiKeyAuth": []
  10565. }
  10566. ],
  10567. "produces": [
  10568. "application/json"
  10569. ],
  10570. "tags": [
  10571. "大连千海金"
  10572. ],
  10573. "summary": "查询团队订单(我的团队/团队订单)",
  10574. "parameters": [
  10575. {
  10576. "type": "integer",
  10577. "description": "页码",
  10578. "name": "page",
  10579. "in": "query"
  10580. },
  10581. {
  10582. "type": "integer",
  10583. "description": "每页条数",
  10584. "name": "pagesize",
  10585. "in": "query"
  10586. },
  10587. {
  10588. "type": "integer",
  10589. "description": "用户ID",
  10590. "name": "userid",
  10591. "in": "query",
  10592. "required": true
  10593. },
  10594. {
  10595. "type": "integer",
  10596. "description": "交易模式",
  10597. "name": "trademode",
  10598. "in": "query"
  10599. },
  10600. {
  10601. "type": "string",
  10602. "description": "名称(模糊搜索账户)",
  10603. "name": "filtername",
  10604. "in": "query"
  10605. }
  10606. ],
  10607. "responses": {
  10608. "200": {
  10609. "description": "OK",
  10610. "schema": {
  10611. "type": "array",
  10612. "items": {
  10613. "$ref": "#/definitions/models.QhjTeamOrder"
  10614. }
  10615. }
  10616. },
  10617. "500": {
  10618. "description": "Internal Server Error",
  10619. "schema": {
  10620. "$ref": "#/definitions/app.Response"
  10621. }
  10622. }
  10623. }
  10624. }
  10625. },
  10626. "/Qhj/QueryParentAreaList": {
  10627. "get": {
  10628. "security": [
  10629. {
  10630. "ApiKeyAuth": []
  10631. }
  10632. ],
  10633. "produces": [
  10634. "application/json"
  10635. ],
  10636. "tags": [
  10637. "大连千海金"
  10638. ],
  10639. "summary": "查询所属机构列表",
  10640. "parameters": [
  10641. {
  10642. "type": "integer",
  10643. "description": "用户ID",
  10644. "name": "userid",
  10645. "in": "query",
  10646. "required": true
  10647. }
  10648. ],
  10649. "responses": {
  10650. "200": {
  10651. "description": "OK",
  10652. "schema": {
  10653. "type": "array",
  10654. "items": {
  10655. "$ref": "#/definitions/models.QhjParentAreaList"
  10656. }
  10657. }
  10658. },
  10659. "500": {
  10660. "description": "Internal Server Error",
  10661. "schema": {
  10662. "$ref": "#/definitions/app.Response"
  10663. }
  10664. }
  10665. }
  10666. }
  10667. },
  10668. "/Qhj/QueryPayOrder": {
  10669. "get": {
  10670. "security": [
  10671. {
  10672. "ApiKeyAuth": []
  10673. }
  10674. ],
  10675. "produces": [
  10676. "application/json"
  10677. ],
  10678. "tags": [
  10679. "大连千海金"
  10680. ],
  10681. "summary": "查询待付款单据",
  10682. "parameters": [
  10683. {
  10684. "type": "integer",
  10685. "description": "资金账号id",
  10686. "name": "accountid",
  10687. "in": "query",
  10688. "required": true
  10689. },
  10690. {
  10691. "type": "integer",
  10692. "description": "成交单号",
  10693. "name": "tradeid",
  10694. "in": "query"
  10695. },
  10696. {
  10697. "type": "string",
  10698. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10699. "name": "payflag",
  10700. "in": "query"
  10701. }
  10702. ],
  10703. "responses": {
  10704. "200": {
  10705. "description": "OK",
  10706. "schema": {
  10707. "type": "array",
  10708. "items": {
  10709. "$ref": "#/definitions/models.QhjPayOrder"
  10710. }
  10711. }
  10712. },
  10713. "500": {
  10714. "description": "Internal Server Error",
  10715. "schema": {
  10716. "$ref": "#/definitions/app.Response"
  10717. }
  10718. }
  10719. }
  10720. }
  10721. },
  10722. "/Qhj/QueryPickArea": {
  10723. "get": {
  10724. "security": [
  10725. {
  10726. "ApiKeyAuth": []
  10727. }
  10728. ],
  10729. "produces": [
  10730. "application/json"
  10731. ],
  10732. "tags": [
  10733. "大连千海金"
  10734. ],
  10735. "summary": "查询提货门店",
  10736. "parameters": [
  10737. {
  10738. "type": "integer",
  10739. "description": "用户ID",
  10740. "name": "userid",
  10741. "in": "query"
  10742. }
  10743. ],
  10744. "responses": {
  10745. "200": {
  10746. "description": "OK",
  10747. "schema": {
  10748. "type": "array",
  10749. "items": {
  10750. "$ref": "#/definitions/models.QhjPickArea"
  10751. }
  10752. }
  10753. },
  10754. "500": {
  10755. "description": "Internal Server Error",
  10756. "schema": {
  10757. "$ref": "#/definitions/app.Response"
  10758. }
  10759. }
  10760. }
  10761. }
  10762. },
  10763. "/Qhj/QueryPickGoods": {
  10764. "get": {
  10765. "security": [
  10766. {
  10767. "ApiKeyAuth": []
  10768. }
  10769. ],
  10770. "produces": [
  10771. "application/json"
  10772. ],
  10773. "tags": [
  10774. "大连千海金"
  10775. ],
  10776. "summary": "查询提货商品",
  10777. "parameters": [
  10778. {
  10779. "type": "integer",
  10780. "description": "交易商品id",
  10781. "name": "goodsid",
  10782. "in": "query",
  10783. "required": true
  10784. },
  10785. {
  10786. "type": "string",
  10787. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  10788. "name": "status",
  10789. "in": "query"
  10790. }
  10791. ],
  10792. "responses": {
  10793. "200": {
  10794. "description": "OK",
  10795. "schema": {
  10796. "type": "array",
  10797. "items": {
  10798. "$ref": "#/definitions/models.QhjPickGoods"
  10799. }
  10800. }
  10801. },
  10802. "500": {
  10803. "description": "Internal Server Error",
  10804. "schema": {
  10805. "$ref": "#/definitions/app.Response"
  10806. }
  10807. }
  10808. }
  10809. }
  10810. },
  10811. "/Qhj/QueryRSTriggerLog": {
  10812. "get": {
  10813. "security": [
  10814. {
  10815. "ApiKeyAuth": []
  10816. }
  10817. ],
  10818. "produces": [
  10819. "application/json"
  10820. ],
  10821. "tags": [
  10822. "大连千海金"
  10823. ],
  10824. "summary": "查询定投记录(定投管理/详情/定投记录)",
  10825. "parameters": [
  10826. {
  10827. "type": "integer",
  10828. "description": "用户ID",
  10829. "name": "userid",
  10830. "in": "query"
  10831. },
  10832. {
  10833. "type": "integer",
  10834. "description": "定投策略id",
  10835. "name": "regularlystrategyid",
  10836. "in": "query"
  10837. },
  10838. {
  10839. "type": "integer",
  10840. "description": "商品id",
  10841. "name": "goodsid",
  10842. "in": "query"
  10843. },
  10844. {
  10845. "type": "string",
  10846. "description": "开始交易日(yyyymmdd)",
  10847. "name": "begindate",
  10848. "in": "query"
  10849. },
  10850. {
  10851. "type": "string",
  10852. "description": "结束交易日(yyyymmdd)",
  10853. "name": "enddate",
  10854. "in": "query"
  10855. },
  10856. {
  10857. "type": "string",
  10858. "description": "名称(模糊搜索账户)",
  10859. "name": "filtername",
  10860. "in": "query"
  10861. }
  10862. ],
  10863. "responses": {
  10864. "200": {
  10865. "description": "OK",
  10866. "schema": {
  10867. "type": "array",
  10868. "items": {
  10869. "$ref": "#/definitions/models.QhjRSTriggerLog"
  10870. }
  10871. }
  10872. },
  10873. "500": {
  10874. "description": "Internal Server Error",
  10875. "schema": {
  10876. "$ref": "#/definitions/app.Response"
  10877. }
  10878. }
  10879. }
  10880. }
  10881. },
  10882. "/Qhj/QueryRStrategy": {
  10883. "get": {
  10884. "security": [
  10885. {
  10886. "ApiKeyAuth": []
  10887. }
  10888. ],
  10889. "produces": [
  10890. "application/json"
  10891. ],
  10892. "tags": [
  10893. "大连千海金"
  10894. ],
  10895. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  10896. "parameters": [
  10897. {
  10898. "type": "integer",
  10899. "description": "用户ID",
  10900. "name": "userid",
  10901. "in": "query"
  10902. },
  10903. {
  10904. "type": "integer",
  10905. "description": "商品id",
  10906. "name": "goodsid",
  10907. "in": "query"
  10908. },
  10909. {
  10910. "type": "string",
  10911. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  10912. "name": "status",
  10913. "in": "query"
  10914. },
  10915. {
  10916. "type": "string",
  10917. "description": "名称(模糊搜索账户)",
  10918. "name": "filtername",
  10919. "in": "query"
  10920. }
  10921. ],
  10922. "responses": {
  10923. "200": {
  10924. "description": "OK",
  10925. "schema": {
  10926. "type": "array",
  10927. "items": {
  10928. "$ref": "#/definitions/models.QhjRStrategy"
  10929. }
  10930. }
  10931. },
  10932. "500": {
  10933. "description": "Internal Server Error",
  10934. "schema": {
  10935. "$ref": "#/definitions/app.Response"
  10936. }
  10937. }
  10938. }
  10939. }
  10940. },
  10941. "/Qhj/QueryReckonPriceLog": {
  10942. "get": {
  10943. "security": [
  10944. {
  10945. "ApiKeyAuth": []
  10946. }
  10947. ],
  10948. "produces": [
  10949. "application/json"
  10950. ],
  10951. "tags": [
  10952. "大连千海金"
  10953. ],
  10954. "summary": "查询定投价(结算价)",
  10955. "parameters": [
  10956. {
  10957. "type": "integer",
  10958. "description": "商品ID",
  10959. "name": "goodsid",
  10960. "in": "query"
  10961. },
  10962. {
  10963. "type": "string",
  10964. "description": "交易日 格式(yyyymmdd)",
  10965. "name": "tradedate",
  10966. "in": "query"
  10967. }
  10968. ],
  10969. "responses": {
  10970. "200": {
  10971. "description": "OK",
  10972. "schema": {
  10973. "type": "array",
  10974. "items": {
  10975. "$ref": "#/definitions/models.QhjReckonPriceLog"
  10976. }
  10977. }
  10978. },
  10979. "500": {
  10980. "description": "Internal Server Error",
  10981. "schema": {
  10982. "$ref": "#/definitions/app.Response"
  10983. }
  10984. }
  10985. }
  10986. }
  10987. },
  10988. "/Qhj/QueryScoreLog": {
  10989. "get": {
  10990. "security": [
  10991. {
  10992. "ApiKeyAuth": []
  10993. }
  10994. ],
  10995. "produces": [
  10996. "application/json"
  10997. ],
  10998. "tags": [
  10999. "大连千海金"
  11000. ],
  11001. "summary": "查询积分流水(我的积分)",
  11002. "parameters": [
  11003. {
  11004. "type": "integer",
  11005. "description": "用户ID",
  11006. "name": "userid",
  11007. "in": "query",
  11008. "required": true
  11009. },
  11010. {
  11011. "type": "string",
  11012. "description": "开始交易日(yyyymmdd)",
  11013. "name": "begindate",
  11014. "in": "query"
  11015. },
  11016. {
  11017. "type": "string",
  11018. "description": "结束交易日(yyyymmdd)",
  11019. "name": "enddate",
  11020. "in": "query"
  11021. },
  11022. {
  11023. "type": "integer",
  11024. "description": "最近多少条",
  11025. "name": "lastnum",
  11026. "in": "query"
  11027. }
  11028. ],
  11029. "responses": {
  11030. "200": {
  11031. "description": "OK",
  11032. "schema": {
  11033. "type": "array",
  11034. "items": {
  11035. "$ref": "#/definitions/models.QhjScoreLog"
  11036. }
  11037. }
  11038. },
  11039. "500": {
  11040. "description": "Internal Server Error",
  11041. "schema": {
  11042. "$ref": "#/definitions/app.Response"
  11043. }
  11044. }
  11045. }
  11046. }
  11047. },
  11048. "/Qhj/QuerySiteColumnDetail": {
  11049. "get": {
  11050. "security": [
  11051. {
  11052. "ApiKeyAuth": []
  11053. }
  11054. ],
  11055. "produces": [
  11056. "application/json"
  11057. ],
  11058. "tags": [
  11059. "大连千海金"
  11060. ],
  11061. "summary": "查询资讯",
  11062. "parameters": [
  11063. {
  11064. "type": "integer",
  11065. "description": "用户ID",
  11066. "name": "userid",
  11067. "in": "query",
  11068. "required": true
  11069. }
  11070. ],
  11071. "responses": {
  11072. "200": {
  11073. "description": "OK",
  11074. "schema": {
  11075. "type": "array",
  11076. "items": {
  11077. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  11078. }
  11079. }
  11080. },
  11081. "500": {
  11082. "description": "Internal Server Error",
  11083. "schema": {
  11084. "$ref": "#/definitions/app.Response"
  11085. }
  11086. }
  11087. }
  11088. }
  11089. },
  11090. "/Qhj/QueryTradeGoodsPickup": {
  11091. "get": {
  11092. "security": [
  11093. {
  11094. "ApiKeyAuth": []
  11095. }
  11096. ],
  11097. "produces": [
  11098. "application/json"
  11099. ],
  11100. "tags": [
  11101. "大连千海金"
  11102. ],
  11103. "summary": "查询提货",
  11104. "parameters": [
  11105. {
  11106. "type": "integer",
  11107. "description": "用户ID",
  11108. "name": "userid",
  11109. "in": "query",
  11110. "required": true
  11111. },
  11112. {
  11113. "type": "integer",
  11114. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  11115. "name": "takeorderstatus",
  11116. "in": "query"
  11117. }
  11118. ],
  11119. "responses": {
  11120. "200": {
  11121. "description": "OK",
  11122. "schema": {
  11123. "type": "array",
  11124. "items": {
  11125. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  11126. }
  11127. }
  11128. },
  11129. "500": {
  11130. "description": "Internal Server Error",
  11131. "schema": {
  11132. "$ref": "#/definitions/app.Response"
  11133. }
  11134. }
  11135. }
  11136. }
  11137. },
  11138. "/Qhj/QueryUserCollectConfig": {
  11139. "get": {
  11140. "security": [
  11141. {
  11142. "ApiKeyAuth": []
  11143. }
  11144. ],
  11145. "produces": [
  11146. "application/json"
  11147. ],
  11148. "tags": [
  11149. "大连千海金"
  11150. ],
  11151. "summary": "查询提现账户设置",
  11152. "parameters": [
  11153. {
  11154. "type": "integer",
  11155. "description": "用户ID",
  11156. "name": "userid",
  11157. "in": "query",
  11158. "required": true
  11159. }
  11160. ],
  11161. "responses": {
  11162. "200": {
  11163. "description": "OK",
  11164. "schema": {
  11165. "type": "array",
  11166. "items": {
  11167. "$ref": "#/definitions/models.UserCollectConfig"
  11168. }
  11169. }
  11170. },
  11171. "500": {
  11172. "description": "Internal Server Error",
  11173. "schema": {
  11174. "$ref": "#/definitions/app.Response"
  11175. }
  11176. }
  11177. }
  11178. }
  11179. },
  11180. "/Qhj/QueryUserReceiveInfo": {
  11181. "get": {
  11182. "security": [
  11183. {
  11184. "ApiKeyAuth": []
  11185. }
  11186. ],
  11187. "produces": [
  11188. "application/json"
  11189. ],
  11190. "tags": [
  11191. "大连千海金"
  11192. ],
  11193. "summary": "查询收货地址信息",
  11194. "parameters": [
  11195. {
  11196. "type": "integer",
  11197. "description": "用户ID",
  11198. "name": "userid",
  11199. "in": "query",
  11200. "required": true
  11201. }
  11202. ],
  11203. "responses": {
  11204. "200": {
  11205. "description": "OK",
  11206. "schema": {
  11207. "type": "array",
  11208. "items": {
  11209. "$ref": "#/definitions/models.UserReceiveInfo"
  11210. }
  11211. }
  11212. },
  11213. "500": {
  11214. "description": "Internal Server Error",
  11215. "schema": {
  11216. "$ref": "#/definitions/app.Response"
  11217. }
  11218. }
  11219. }
  11220. }
  11221. },
  11222. "/QhjMgr/QueryAccountInOutApply": {
  11223. "get": {
  11224. "security": [
  11225. {
  11226. "ApiKeyAuth": []
  11227. }
  11228. ],
  11229. "produces": [
  11230. "application/json"
  11231. ],
  11232. "tags": [
  11233. "大连千海金(PCWeb)"
  11234. ],
  11235. "summary": "查询充值提现",
  11236. "parameters": [
  11237. {
  11238. "type": "integer",
  11239. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  11240. "name": "querytype",
  11241. "in": "query",
  11242. "required": true
  11243. },
  11244. {
  11245. "type": "integer",
  11246. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  11247. "name": "applystatus",
  11248. "in": "query"
  11249. },
  11250. {
  11251. "type": "string",
  11252. "description": "申请起始日期(格式yyyymmdd)",
  11253. "name": "begindate",
  11254. "in": "query"
  11255. },
  11256. {
  11257. "type": "string",
  11258. "description": "申请截止日期(格式yyyymmdd)",
  11259. "name": "enddate",
  11260. "in": "query"
  11261. },
  11262. {
  11263. "type": "string",
  11264. "description": "模糊搜索名称",
  11265. "name": "likename",
  11266. "in": "query"
  11267. }
  11268. ],
  11269. "responses": {
  11270. "200": {
  11271. "description": "OK",
  11272. "schema": {
  11273. "type": "array",
  11274. "items": {
  11275. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11276. }
  11277. }
  11278. },
  11279. "500": {
  11280. "description": "Internal Server Error",
  11281. "schema": {
  11282. "$ref": "#/definitions/app.Response"
  11283. }
  11284. }
  11285. }
  11286. }
  11287. },
  11288. "/QhjMgr/QueryBrokerApply": {
  11289. "get": {
  11290. "security": [
  11291. {
  11292. "ApiKeyAuth": []
  11293. }
  11294. ],
  11295. "produces": [
  11296. "application/json"
  11297. ],
  11298. "tags": [
  11299. "大连千海金(PCWeb)"
  11300. ],
  11301. "summary": "查询经纪人申请",
  11302. "parameters": [
  11303. {
  11304. "type": "integer",
  11305. "description": "所属机构ID",
  11306. "name": "userid",
  11307. "in": "query"
  11308. },
  11309. {
  11310. "type": "string",
  11311. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11312. "name": "filterstatus",
  11313. "in": "query"
  11314. },
  11315. {
  11316. "type": "string",
  11317. "description": "名称(模糊匹配)",
  11318. "name": "filtername",
  11319. "in": "query"
  11320. },
  11321. {
  11322. "type": "integer",
  11323. "description": "是否包含子级 1-包含",
  11324. "name": "includesub",
  11325. "in": "query"
  11326. }
  11327. ],
  11328. "responses": {
  11329. "200": {
  11330. "description": "OK",
  11331. "schema": {
  11332. "type": "array",
  11333. "items": {
  11334. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11335. }
  11336. }
  11337. },
  11338. "500": {
  11339. "description": "Internal Server Error",
  11340. "schema": {
  11341. "$ref": "#/definitions/app.Response"
  11342. }
  11343. }
  11344. }
  11345. }
  11346. },
  11347. "/QhjMgr/QueryBrokerRewardReport": {
  11348. "get": {
  11349. "security": [
  11350. {
  11351. "ApiKeyAuth": []
  11352. }
  11353. ],
  11354. "produces": [
  11355. "application/json"
  11356. ],
  11357. "tags": [
  11358. "大连千海金(PCWeb)"
  11359. ],
  11360. "summary": "查询经纪人奖励报表(废弃)",
  11361. "parameters": [
  11362. {
  11363. "type": "integer",
  11364. "description": "所属机构ID",
  11365. "name": "userid",
  11366. "in": "query",
  11367. "required": true
  11368. },
  11369. {
  11370. "type": "integer",
  11371. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11372. "name": "cycletype",
  11373. "in": "query",
  11374. "required": true
  11375. },
  11376. {
  11377. "type": "string",
  11378. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11379. "name": "cycletime",
  11380. "in": "query",
  11381. "required": true
  11382. },
  11383. {
  11384. "type": "string",
  11385. "description": "名称(模糊匹配)",
  11386. "name": "filtername",
  11387. "in": "query"
  11388. },
  11389. {
  11390. "type": "integer",
  11391. "description": "是否包含子级 1-包含",
  11392. "name": "includesub",
  11393. "in": "query"
  11394. }
  11395. ],
  11396. "responses": {
  11397. "200": {
  11398. "description": "OK",
  11399. "schema": {
  11400. "type": "array",
  11401. "items": {
  11402. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11403. }
  11404. }
  11405. },
  11406. "500": {
  11407. "description": "Internal Server Error",
  11408. "schema": {
  11409. "$ref": "#/definitions/app.Response"
  11410. }
  11411. }
  11412. }
  11413. }
  11414. },
  11415. "/QhjMgr/QueryContract": {
  11416. "get": {
  11417. "security": [
  11418. {
  11419. "ApiKeyAuth": []
  11420. }
  11421. ],
  11422. "produces": [
  11423. "application/json"
  11424. ],
  11425. "tags": [
  11426. "大连千海金(PCWeb)"
  11427. ],
  11428. "summary": "查询融资信息(合同)",
  11429. "parameters": [
  11430. {
  11431. "type": "integer",
  11432. "description": "用户ID",
  11433. "name": "userid",
  11434. "in": "query"
  11435. },
  11436. {
  11437. "type": "integer",
  11438. "description": "商品id",
  11439. "name": "goodsid",
  11440. "in": "query"
  11441. },
  11442. {
  11443. "type": "string",
  11444. "description": "名称(模糊搜索账户)",
  11445. "name": "filtername",
  11446. "in": "query"
  11447. },
  11448. {
  11449. "type": "string",
  11450. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11451. "name": "risklevel",
  11452. "in": "query"
  11453. },
  11454. {
  11455. "type": "string",
  11456. "description": "开始交易日(yyyymmdd)",
  11457. "name": "begindate",
  11458. "in": "query"
  11459. },
  11460. {
  11461. "type": "string",
  11462. "description": "结束交易日(yyyymmdd)",
  11463. "name": "enddate",
  11464. "in": "query"
  11465. }
  11466. ],
  11467. "responses": {
  11468. "200": {
  11469. "description": "OK",
  11470. "schema": {
  11471. "type": "array",
  11472. "items": {
  11473. "$ref": "#/definitions/models.QhjMgrContract"
  11474. }
  11475. }
  11476. },
  11477. "500": {
  11478. "description": "Internal Server Error",
  11479. "schema": {
  11480. "$ref": "#/definitions/app.Response"
  11481. }
  11482. }
  11483. }
  11484. }
  11485. },
  11486. "/QhjMgr/QueryCustomerInfo": {
  11487. "get": {
  11488. "security": [
  11489. {
  11490. "ApiKeyAuth": []
  11491. }
  11492. ],
  11493. "produces": [
  11494. "application/json"
  11495. ],
  11496. "tags": [
  11497. "大连千海金(PCWeb)"
  11498. ],
  11499. "summary": "查询客户资料",
  11500. "parameters": [
  11501. {
  11502. "type": "integer",
  11503. "description": "用户ID",
  11504. "name": "userid",
  11505. "in": "query",
  11506. "required": true
  11507. },
  11508. {
  11509. "type": "integer",
  11510. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11511. "name": "querytype",
  11512. "in": "query",
  11513. "required": true
  11514. },
  11515. {
  11516. "type": "integer",
  11517. "description": "客户类型 1-个人 2-企业",
  11518. "name": "userinfotype",
  11519. "in": "query"
  11520. },
  11521. {
  11522. "type": "string",
  11523. "description": "客户名称(模糊匹配)",
  11524. "name": "customername",
  11525. "in": "query"
  11526. },
  11527. {
  11528. "type": "string",
  11529. "description": "昵称(模糊匹配)",
  11530. "name": "nickname",
  11531. "in": "query"
  11532. },
  11533. {
  11534. "type": "string",
  11535. "description": "所属客户经理(模糊匹配)",
  11536. "name": "brokername",
  11537. "in": "query"
  11538. },
  11539. {
  11540. "type": "string",
  11541. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11542. "name": "birthday",
  11543. "in": "query"
  11544. },
  11545. {
  11546. "type": "integer",
  11547. "description": "是否包含子级 1-包含",
  11548. "name": "includesub",
  11549. "in": "query"
  11550. }
  11551. ],
  11552. "responses": {
  11553. "200": {
  11554. "description": "OK",
  11555. "schema": {
  11556. "type": "array",
  11557. "items": {
  11558. "$ref": "#/definitions/models.QhjMgrCustomer"
  11559. }
  11560. }
  11561. },
  11562. "500": {
  11563. "description": "Internal Server Error",
  11564. "schema": {
  11565. "$ref": "#/definitions/app.Response"
  11566. }
  11567. }
  11568. }
  11569. }
  11570. },
  11571. "/QhjMgr/QueryPickGoods": {
  11572. "get": {
  11573. "security": [
  11574. {
  11575. "ApiKeyAuth": []
  11576. }
  11577. ],
  11578. "produces": [
  11579. "application/json"
  11580. ],
  11581. "tags": [
  11582. "大连千海金(PCWeb)"
  11583. ],
  11584. "summary": "查询提货商品",
  11585. "parameters": [
  11586. {
  11587. "type": "string",
  11588. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11589. "name": "status",
  11590. "in": "query"
  11591. }
  11592. ],
  11593. "responses": {
  11594. "200": {
  11595. "description": "OK",
  11596. "schema": {
  11597. "type": "array",
  11598. "items": {
  11599. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11600. }
  11601. }
  11602. },
  11603. "500": {
  11604. "description": "Internal Server Error",
  11605. "schema": {
  11606. "$ref": "#/definitions/app.Response"
  11607. }
  11608. }
  11609. }
  11610. }
  11611. },
  11612. "/QhjMgr/QuerySubArea": {
  11613. "get": {
  11614. "security": [
  11615. {
  11616. "ApiKeyAuth": []
  11617. }
  11618. ],
  11619. "produces": [
  11620. "application/json"
  11621. ],
  11622. "tags": [
  11623. "大连千海金(PCWeb)"
  11624. ],
  11625. "summary": "查询子机构列表",
  11626. "parameters": [
  11627. {
  11628. "type": "integer",
  11629. "description": "用户ID",
  11630. "name": "userid",
  11631. "in": "query",
  11632. "required": true
  11633. }
  11634. ],
  11635. "responses": {
  11636. "200": {
  11637. "description": "OK",
  11638. "schema": {
  11639. "type": "array",
  11640. "items": {
  11641. "$ref": "#/definitions/models.QhjMgrSubArea"
  11642. }
  11643. }
  11644. },
  11645. "500": {
  11646. "description": "Internal Server Error",
  11647. "schema": {
  11648. "$ref": "#/definitions/app.Response"
  11649. }
  11650. }
  11651. }
  11652. }
  11653. },
  11654. "/QhjMgr/QueryTradeDetail": {
  11655. "get": {
  11656. "security": [
  11657. {
  11658. "ApiKeyAuth": []
  11659. }
  11660. ],
  11661. "produces": [
  11662. "application/json"
  11663. ],
  11664. "tags": [
  11665. "大连千海金(PCWeb)"
  11666. ],
  11667. "summary": "查询成交明细",
  11668. "parameters": [
  11669. {
  11670. "type": "integer",
  11671. "description": "用户ID",
  11672. "name": "userid",
  11673. "in": "query",
  11674. "required": true
  11675. },
  11676. {
  11677. "type": "integer",
  11678. "description": "用户类型 1-个人 2-企业",
  11679. "name": "userinfotype",
  11680. "in": "query"
  11681. },
  11682. {
  11683. "type": "integer",
  11684. "description": "交易模式",
  11685. "name": "trademode",
  11686. "in": "query"
  11687. },
  11688. {
  11689. "type": "integer",
  11690. "description": "商品id",
  11691. "name": "goodsid",
  11692. "in": "query"
  11693. },
  11694. {
  11695. "type": "string",
  11696. "description": "名称(模糊搜索账户)",
  11697. "name": "filtername",
  11698. "in": "query"
  11699. },
  11700. {
  11701. "type": "string",
  11702. "description": "开始交易日(yyyymmdd)",
  11703. "name": "begindate",
  11704. "in": "query"
  11705. },
  11706. {
  11707. "type": "string",
  11708. "description": "结束交易日(yyyymmdd)",
  11709. "name": "enddate",
  11710. "in": "query"
  11711. },
  11712. {
  11713. "type": "integer",
  11714. "description": "是否包含子级 1-包含",
  11715. "name": "includesub",
  11716. "in": "query"
  11717. }
  11718. ],
  11719. "responses": {
  11720. "200": {
  11721. "description": "OK",
  11722. "schema": {
  11723. "type": "array",
  11724. "items": {
  11725. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  11726. }
  11727. }
  11728. },
  11729. "500": {
  11730. "description": "Internal Server Error",
  11731. "schema": {
  11732. "$ref": "#/definitions/app.Response"
  11733. }
  11734. }
  11735. }
  11736. }
  11737. },
  11738. "/QhjMgr/QueryTradeOrderDetail": {
  11739. "get": {
  11740. "security": [
  11741. {
  11742. "ApiKeyAuth": []
  11743. }
  11744. ],
  11745. "produces": [
  11746. "application/json"
  11747. ],
  11748. "tags": [
  11749. "大连千海金(PCWeb)"
  11750. ],
  11751. "summary": "查询委托明细",
  11752. "parameters": [
  11753. {
  11754. "type": "integer",
  11755. "description": "用户ID",
  11756. "name": "userid",
  11757. "in": "query",
  11758. "required": true
  11759. },
  11760. {
  11761. "type": "integer",
  11762. "description": "用户类型 1-个人 2-企业",
  11763. "name": "userinfotype",
  11764. "in": "query"
  11765. },
  11766. {
  11767. "type": "integer",
  11768. "description": "交易模式",
  11769. "name": "trademode",
  11770. "in": "query"
  11771. },
  11772. {
  11773. "type": "integer",
  11774. "description": "商品id",
  11775. "name": "goodsid",
  11776. "in": "query"
  11777. },
  11778. {
  11779. "type": "string",
  11780. "description": "名称(模糊搜索账户)",
  11781. "name": "filtername",
  11782. "in": "query"
  11783. },
  11784. {
  11785. "type": "string",
  11786. "description": "开始交易日(yyyymmdd)",
  11787. "name": "begindate",
  11788. "in": "query"
  11789. },
  11790. {
  11791. "type": "string",
  11792. "description": "结束交易日(yyyymmdd)",
  11793. "name": "enddate",
  11794. "in": "query"
  11795. },
  11796. {
  11797. "type": "integer",
  11798. "description": "是否包含子级 1-包含",
  11799. "name": "includesub",
  11800. "in": "query"
  11801. }
  11802. ],
  11803. "responses": {
  11804. "200": {
  11805. "description": "OK",
  11806. "schema": {
  11807. "type": "array",
  11808. "items": {
  11809. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  11810. }
  11811. }
  11812. },
  11813. "500": {
  11814. "description": "Internal Server Error",
  11815. "schema": {
  11816. "$ref": "#/definitions/app.Response"
  11817. }
  11818. }
  11819. }
  11820. }
  11821. },
  11822. "/QhjMgr/QueryTradePayOrder": {
  11823. "get": {
  11824. "security": [
  11825. {
  11826. "ApiKeyAuth": []
  11827. }
  11828. ],
  11829. "produces": [
  11830. "application/json"
  11831. ],
  11832. "tags": [
  11833. "大连千海金(PCWeb)"
  11834. ],
  11835. "summary": "查询待付款单",
  11836. "parameters": [
  11837. {
  11838. "type": "integer",
  11839. "description": "用户ID",
  11840. "name": "userid",
  11841. "in": "query",
  11842. "required": true
  11843. },
  11844. {
  11845. "type": "string",
  11846. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11847. "name": "payflag",
  11848. "in": "query"
  11849. },
  11850. {
  11851. "type": "integer",
  11852. "description": "用户类型 1-个人 2-企业",
  11853. "name": "userinfotype",
  11854. "in": "query"
  11855. },
  11856. {
  11857. "type": "integer",
  11858. "description": "交易模式",
  11859. "name": "trademode",
  11860. "in": "query"
  11861. },
  11862. {
  11863. "type": "integer",
  11864. "description": "商品id",
  11865. "name": "goodsid",
  11866. "in": "query"
  11867. },
  11868. {
  11869. "type": "string",
  11870. "description": "名称(模糊搜索账户)",
  11871. "name": "filtername",
  11872. "in": "query"
  11873. },
  11874. {
  11875. "type": "string",
  11876. "description": "开始交易日(yyyymmdd)",
  11877. "name": "begindate",
  11878. "in": "query"
  11879. },
  11880. {
  11881. "type": "string",
  11882. "description": "结束交易日(yyyymmdd)",
  11883. "name": "enddate",
  11884. "in": "query"
  11885. },
  11886. {
  11887. "type": "integer",
  11888. "description": "是否包含子级 1-包含",
  11889. "name": "includesub",
  11890. "in": "query"
  11891. }
  11892. ],
  11893. "responses": {
  11894. "200": {
  11895. "description": "OK",
  11896. "schema": {
  11897. "type": "array",
  11898. "items": {
  11899. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  11900. }
  11901. }
  11902. },
  11903. "500": {
  11904. "description": "Internal Server Error",
  11905. "schema": {
  11906. "$ref": "#/definitions/app.Response"
  11907. }
  11908. }
  11909. }
  11910. }
  11911. },
  11912. "/QhjMgr/QueryTradePosition": {
  11913. "get": {
  11914. "security": [
  11915. {
  11916. "ApiKeyAuth": []
  11917. }
  11918. ],
  11919. "produces": [
  11920. "application/json"
  11921. ],
  11922. "tags": [
  11923. "大连千海金(PCWeb)"
  11924. ],
  11925. "summary": "查询持仓汇总",
  11926. "parameters": [
  11927. {
  11928. "type": "integer",
  11929. "description": "用户ID",
  11930. "name": "userid",
  11931. "in": "query",
  11932. "required": true
  11933. },
  11934. {
  11935. "type": "integer",
  11936. "description": "用户类型 1-个人 2-企业",
  11937. "name": "userinfotype",
  11938. "in": "query"
  11939. },
  11940. {
  11941. "type": "integer",
  11942. "description": "交易模式",
  11943. "name": "trademode",
  11944. "in": "query"
  11945. },
  11946. {
  11947. "type": "integer",
  11948. "description": "商品id",
  11949. "name": "goodsid",
  11950. "in": "query"
  11951. },
  11952. {
  11953. "type": "string",
  11954. "description": "名称(模糊搜索账户)",
  11955. "name": "filtername",
  11956. "in": "query"
  11957. },
  11958. {
  11959. "type": "integer",
  11960. "description": "是否包含子级 1-包含",
  11961. "name": "includesub",
  11962. "in": "query"
  11963. }
  11964. ],
  11965. "responses": {
  11966. "200": {
  11967. "description": "OK",
  11968. "schema": {
  11969. "type": "array",
  11970. "items": {
  11971. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  11972. }
  11973. }
  11974. },
  11975. "500": {
  11976. "description": "Internal Server Error",
  11977. "schema": {
  11978. "$ref": "#/definitions/app.Response"
  11979. }
  11980. }
  11981. }
  11982. }
  11983. },
  11984. "/QhjSys/QueryAgreementChangeLog": {
  11985. "get": {
  11986. "security": [
  11987. {
  11988. "ApiKeyAuth": []
  11989. }
  11990. ],
  11991. "produces": [
  11992. "application/json"
  11993. ],
  11994. "tags": [
  11995. "大连千海金(协议和签约信息)"
  11996. ],
  11997. "summary": "查询协议配置变更流水",
  11998. "parameters": [
  11999. {
  12000. "type": "integer",
  12001. "description": "协议ID",
  12002. "name": "agreementid",
  12003. "in": "query"
  12004. },
  12005. {
  12006. "type": "integer",
  12007. "description": "协议版本号",
  12008. "name": "agreementversion",
  12009. "in": "query"
  12010. },
  12011. {
  12012. "type": "integer",
  12013. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12014. "name": "agreementtype",
  12015. "in": "query"
  12016. },
  12017. {
  12018. "type": "string",
  12019. "description": "协议编号(模糊匹配)",
  12020. "name": "agreementno",
  12021. "in": "query"
  12022. },
  12023. {
  12024. "type": "string",
  12025. "description": "协议名称(模糊匹配)",
  12026. "name": "agreementname",
  12027. "in": "query"
  12028. }
  12029. ],
  12030. "responses": {
  12031. "200": {
  12032. "description": "OK",
  12033. "schema": {
  12034. "type": "array",
  12035. "items": {
  12036. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  12037. }
  12038. }
  12039. },
  12040. "500": {
  12041. "description": "Internal Server Error",
  12042. "schema": {
  12043. "$ref": "#/definitions/app.Response"
  12044. }
  12045. }
  12046. }
  12047. }
  12048. },
  12049. "/QhjSys/QueryAgreementConfig": {
  12050. "get": {
  12051. "security": [
  12052. {
  12053. "ApiKeyAuth": []
  12054. }
  12055. ],
  12056. "produces": [
  12057. "application/json"
  12058. ],
  12059. "tags": [
  12060. "大连千海金(协议和签约信息)"
  12061. ],
  12062. "summary": "查询协议配置",
  12063. "parameters": [
  12064. {
  12065. "type": "integer",
  12066. "description": "协议ID",
  12067. "name": "agreementid",
  12068. "in": "query"
  12069. },
  12070. {
  12071. "type": "integer",
  12072. "description": "协议版本号",
  12073. "name": "agreementversion",
  12074. "in": "query"
  12075. },
  12076. {
  12077. "type": "integer",
  12078. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12079. "name": "agreementtype",
  12080. "in": "query"
  12081. },
  12082. {
  12083. "type": "integer",
  12084. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  12085. "name": "isvalid",
  12086. "in": "query"
  12087. },
  12088. {
  12089. "type": "string",
  12090. "description": "协议编号(模糊匹配)",
  12091. "name": "agreementno",
  12092. "in": "query"
  12093. },
  12094. {
  12095. "type": "string",
  12096. "description": "协议名称(模糊匹配)",
  12097. "name": "agreementname",
  12098. "in": "query"
  12099. }
  12100. ],
  12101. "responses": {
  12102. "200": {
  12103. "description": "OK",
  12104. "schema": {
  12105. "type": "array",
  12106. "items": {
  12107. "$ref": "#/definitions/models.QhjAgreementConfig"
  12108. }
  12109. }
  12110. },
  12111. "500": {
  12112. "description": "Internal Server Error",
  12113. "schema": {
  12114. "$ref": "#/definitions/app.Response"
  12115. }
  12116. }
  12117. }
  12118. }
  12119. },
  12120. "/QhjSys/QueryCustomerSignStatus": {
  12121. "get": {
  12122. "security": [
  12123. {
  12124. "ApiKeyAuth": []
  12125. }
  12126. ],
  12127. "produces": [
  12128. "application/json"
  12129. ],
  12130. "tags": [
  12131. "大连千海金(协议和签约信息)"
  12132. ],
  12133. "summary": "查询客户协议签约状态",
  12134. "parameters": [
  12135. {
  12136. "type": "integer",
  12137. "description": "客户ID",
  12138. "name": "userid",
  12139. "in": "query"
  12140. },
  12141. {
  12142. "type": "integer",
  12143. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  12144. "name": "nodetype",
  12145. "in": "query"
  12146. },
  12147. {
  12148. "type": "integer",
  12149. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12150. "name": "goodsid",
  12151. "in": "query"
  12152. },
  12153. {
  12154. "type": "string",
  12155. "description": "创建交易日(yyyyMMdd)",
  12156. "name": "tradedate",
  12157. "in": "query"
  12158. },
  12159. {
  12160. "type": "string",
  12161. "description": "用户名称(模糊匹配)",
  12162. "name": "username",
  12163. "in": "query"
  12164. }
  12165. ],
  12166. "responses": {
  12167. "200": {
  12168. "description": "OK",
  12169. "schema": {
  12170. "type": "array",
  12171. "items": {
  12172. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  12173. }
  12174. }
  12175. },
  12176. "500": {
  12177. "description": "Internal Server Error",
  12178. "schema": {
  12179. "$ref": "#/definitions/app.Response"
  12180. }
  12181. }
  12182. }
  12183. }
  12184. },
  12185. "/QhjSys/QueryNodeAgreementConfig": {
  12186. "get": {
  12187. "security": [
  12188. {
  12189. "ApiKeyAuth": []
  12190. }
  12191. ],
  12192. "produces": [
  12193. "application/json"
  12194. ],
  12195. "tags": [
  12196. "大连千海金(协议和签约信息)"
  12197. ],
  12198. "summary": "查询协议节点配置",
  12199. "parameters": [
  12200. {
  12201. "type": "integer",
  12202. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12203. "name": "configid",
  12204. "in": "query"
  12205. },
  12206. {
  12207. "type": "integer",
  12208. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12209. "name": "nodetype",
  12210. "in": "query"
  12211. },
  12212. {
  12213. "type": "integer",
  12214. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12215. "name": "goodsid",
  12216. "in": "query"
  12217. },
  12218. {
  12219. "type": "integer",
  12220. "description": "协议ID",
  12221. "name": "agreementid",
  12222. "in": "query"
  12223. },
  12224. {
  12225. "type": "integer",
  12226. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12227. "name": "agreementtype",
  12228. "in": "query"
  12229. },
  12230. {
  12231. "type": "integer",
  12232. "description": "协议版本号",
  12233. "name": "agreementversion",
  12234. "in": "query"
  12235. },
  12236. {
  12237. "type": "string",
  12238. "description": "协议编号(模糊匹配)",
  12239. "name": "agreementno",
  12240. "in": "query"
  12241. },
  12242. {
  12243. "type": "string",
  12244. "description": "协议名称(模糊匹配)",
  12245. "name": "agreementname",
  12246. "in": "query"
  12247. }
  12248. ],
  12249. "responses": {
  12250. "200": {
  12251. "description": "OK",
  12252. "schema": {
  12253. "type": "array",
  12254. "items": {
  12255. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  12256. }
  12257. }
  12258. },
  12259. "500": {
  12260. "description": "Internal Server Error",
  12261. "schema": {
  12262. "$ref": "#/definitions/app.Response"
  12263. }
  12264. }
  12265. }
  12266. }
  12267. },
  12268. "/QhjSys/QueryQhjCustomerSignLog": {
  12269. "get": {
  12270. "security": [
  12271. {
  12272. "ApiKeyAuth": []
  12273. }
  12274. ],
  12275. "produces": [
  12276. "application/json"
  12277. ],
  12278. "tags": [
  12279. "大连千海金(协议和签约信息)"
  12280. ],
  12281. "summary": "查询客户协议签约流水",
  12282. "parameters": [
  12283. {
  12284. "type": "integer",
  12285. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12286. "name": "logid",
  12287. "in": "query"
  12288. },
  12289. {
  12290. "type": "integer",
  12291. "description": "客户ID",
  12292. "name": "userid",
  12293. "in": "query"
  12294. },
  12295. {
  12296. "type": "integer",
  12297. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12298. "name": "nodetype",
  12299. "in": "query"
  12300. },
  12301. {
  12302. "type": "integer",
  12303. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12304. "name": "goodsid",
  12305. "in": "query"
  12306. },
  12307. {
  12308. "type": "integer",
  12309. "description": "协议ID",
  12310. "name": "agreementid",
  12311. "in": "query"
  12312. },
  12313. {
  12314. "type": "string",
  12315. "description": "用户名称(模糊匹配)",
  12316. "name": "username",
  12317. "in": "query"
  12318. },
  12319. {
  12320. "type": "string",
  12321. "description": "协议编号(模糊匹配)",
  12322. "name": "agreementno",
  12323. "in": "query"
  12324. },
  12325. {
  12326. "type": "string",
  12327. "description": "协议名称(模糊匹配)",
  12328. "name": "agreementname",
  12329. "in": "query"
  12330. }
  12331. ],
  12332. "responses": {
  12333. "200": {
  12334. "description": "OK",
  12335. "schema": {
  12336. "type": "array",
  12337. "items": {
  12338. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12339. }
  12340. }
  12341. },
  12342. "500": {
  12343. "description": "Internal Server Error",
  12344. "schema": {
  12345. "$ref": "#/definitions/app.Response"
  12346. }
  12347. }
  12348. }
  12349. }
  12350. },
  12351. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12352. "get": {
  12353. "security": [
  12354. {
  12355. "ApiKeyAuth": []
  12356. }
  12357. ],
  12358. "produces": [
  12359. "application/json"
  12360. ],
  12361. "tags": [
  12362. "大连千海金(协议和签约信息)"
  12363. ],
  12364. "summary": "查询用户协议节点配置和状态",
  12365. "parameters": [
  12366. {
  12367. "type": "integer",
  12368. "description": "客户ID",
  12369. "name": "userid",
  12370. "in": "query"
  12371. },
  12372. {
  12373. "type": "integer",
  12374. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12375. "name": "configid",
  12376. "in": "query"
  12377. },
  12378. {
  12379. "type": "string",
  12380. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12381. "name": "nodetype",
  12382. "in": "query"
  12383. },
  12384. {
  12385. "type": "integer",
  12386. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12387. "name": "goodsid",
  12388. "in": "query"
  12389. },
  12390. {
  12391. "type": "integer",
  12392. "description": "协议ID",
  12393. "name": "agreementid",
  12394. "in": "query"
  12395. },
  12396. {
  12397. "type": "integer",
  12398. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12399. "name": "agreementtype",
  12400. "in": "query"
  12401. },
  12402. {
  12403. "type": "integer",
  12404. "description": "协议版本号",
  12405. "name": "agreementversion",
  12406. "in": "query"
  12407. },
  12408. {
  12409. "type": "string",
  12410. "description": "协议编号(模糊匹配)",
  12411. "name": "agreementno",
  12412. "in": "query"
  12413. },
  12414. {
  12415. "type": "string",
  12416. "description": "协议名称(模糊匹配)",
  12417. "name": "agreementname",
  12418. "in": "query"
  12419. }
  12420. ],
  12421. "responses": {
  12422. "200": {
  12423. "description": "OK",
  12424. "schema": {
  12425. "type": "array",
  12426. "items": {
  12427. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12428. }
  12429. }
  12430. },
  12431. "500": {
  12432. "description": "Internal Server Error",
  12433. "schema": {
  12434. "$ref": "#/definitions/app.Response"
  12435. }
  12436. }
  12437. }
  12438. }
  12439. },
  12440. "/Quote/QueryHistoryDatas": {
  12441. "get": {
  12442. "security": [
  12443. {
  12444. "ApiKeyAuth": []
  12445. }
  12446. ],
  12447. "produces": [
  12448. "application/json"
  12449. ],
  12450. "tags": [
  12451. "行情服务"
  12452. ],
  12453. "summary": "查询行情历史数据",
  12454. "parameters": [
  12455. {
  12456. "type": "integer",
  12457. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12458. "name": "cycleType",
  12459. "in": "query",
  12460. "required": true
  12461. },
  12462. {
  12463. "type": "string",
  12464. "description": "商品代码",
  12465. "name": "goodsCode",
  12466. "in": "query",
  12467. "required": true
  12468. },
  12469. {
  12470. "type": "string",
  12471. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12472. "name": "startTime",
  12473. "in": "query"
  12474. },
  12475. {
  12476. "type": "string",
  12477. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12478. "name": "endTime",
  12479. "in": "query"
  12480. },
  12481. {
  12482. "type": "integer",
  12483. "description": "条数",
  12484. "name": "count",
  12485. "in": "query"
  12486. },
  12487. {
  12488. "type": "boolean",
  12489. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12490. "name": "isAsc",
  12491. "in": "query"
  12492. }
  12493. ],
  12494. "responses": {
  12495. "200": {
  12496. "description": "OK",
  12497. "schema": {
  12498. "$ref": "#/definitions/quote.HistoryData"
  12499. }
  12500. },
  12501. "500": {
  12502. "description": "Internal Server Error",
  12503. "schema": {
  12504. "$ref": "#/definitions/app.Response"
  12505. }
  12506. }
  12507. }
  12508. }
  12509. },
  12510. "/Quote/QueryHistoryTikDatas": {
  12511. "get": {
  12512. "security": [
  12513. {
  12514. "ApiKeyAuth": []
  12515. }
  12516. ],
  12517. "produces": [
  12518. "application/json"
  12519. ],
  12520. "tags": [
  12521. "行情服务"
  12522. ],
  12523. "summary": "查询行情Tik数据",
  12524. "parameters": [
  12525. {
  12526. "type": "string",
  12527. "description": "商品代码",
  12528. "name": "goodsCode",
  12529. "in": "query",
  12530. "required": true
  12531. },
  12532. {
  12533. "type": "string",
  12534. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12535. "name": "startTime",
  12536. "in": "query"
  12537. },
  12538. {
  12539. "type": "string",
  12540. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12541. "name": "endTime",
  12542. "in": "query"
  12543. },
  12544. {
  12545. "type": "integer",
  12546. "description": "条数",
  12547. "name": "count",
  12548. "in": "query"
  12549. },
  12550. {
  12551. "type": "boolean",
  12552. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12553. "name": "isAsc",
  12554. "in": "query"
  12555. }
  12556. ],
  12557. "responses": {
  12558. "200": {
  12559. "description": "OK",
  12560. "schema": {
  12561. "$ref": "#/definitions/quote.HistoryTikData"
  12562. }
  12563. },
  12564. "500": {
  12565. "description": "Internal Server Error",
  12566. "schema": {
  12567. "$ref": "#/definitions/app.Response"
  12568. }
  12569. }
  12570. }
  12571. }
  12572. },
  12573. "/Quote/QueryQuoteDay": {
  12574. "get": {
  12575. "security": [
  12576. {
  12577. "ApiKeyAuth": []
  12578. }
  12579. ],
  12580. "produces": [
  12581. "application/json"
  12582. ],
  12583. "tags": [
  12584. "行情服务"
  12585. ],
  12586. "summary": "获取商品盘面信息",
  12587. "parameters": [
  12588. {
  12589. "type": "string",
  12590. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12591. "name": "goodsCodes",
  12592. "in": "query"
  12593. }
  12594. ],
  12595. "responses": {
  12596. "200": {
  12597. "description": "OK",
  12598. "schema": {
  12599. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12600. }
  12601. },
  12602. "500": {
  12603. "description": "Internal Server Error",
  12604. "schema": {
  12605. "$ref": "#/definitions/app.Response"
  12606. }
  12607. }
  12608. }
  12609. }
  12610. },
  12611. "/Quote/QueryTSData": {
  12612. "get": {
  12613. "security": [
  12614. {
  12615. "ApiKeyAuth": []
  12616. }
  12617. ],
  12618. "produces": [
  12619. "application/json"
  12620. ],
  12621. "tags": [
  12622. "行情服务"
  12623. ],
  12624. "summary": "分时图数据查询",
  12625. "parameters": [
  12626. {
  12627. "type": "string",
  12628. "description": "商品代码",
  12629. "name": "goodsCode",
  12630. "in": "query",
  12631. "required": true
  12632. }
  12633. ],
  12634. "responses": {
  12635. "200": {
  12636. "description": "OK",
  12637. "schema": {
  12638. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12639. }
  12640. },
  12641. "500": {
  12642. "description": "Internal Server Error",
  12643. "schema": {
  12644. "$ref": "#/definitions/app.Response"
  12645. }
  12646. }
  12647. }
  12648. }
  12649. },
  12650. "/SZDZ/QueryConvertConfig": {
  12651. "get": {
  12652. "security": [
  12653. {
  12654. "ApiKeyAuth": []
  12655. }
  12656. ],
  12657. "produces": [
  12658. "application/json"
  12659. ],
  12660. "tags": [
  12661. "定制【尚志大宗】"
  12662. ],
  12663. "summary": "查询交易系统转换设置",
  12664. "parameters": [
  12665. {
  12666. "type": "integer",
  12667. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12668. "name": "convertType",
  12669. "in": "query"
  12670. },
  12671. {
  12672. "type": "string",
  12673. "description": "外部商品代码[JD\\PD]",
  12674. "name": "outerGoodsCode",
  12675. "in": "query"
  12676. },
  12677. {
  12678. "type": "string",
  12679. "description": "内部商品ID列表[交易],格式:1,2,3",
  12680. "name": "innerGoodsIDs",
  12681. "in": "query"
  12682. }
  12683. ],
  12684. "responses": {
  12685. "200": {
  12686. "description": "OK",
  12687. "schema": {
  12688. "$ref": "#/definitions/models.Szdz3convertconfig"
  12689. }
  12690. },
  12691. "500": {
  12692. "description": "Internal Server Error",
  12693. "schema": {
  12694. "$ref": "#/definitions/app.Response"
  12695. }
  12696. }
  12697. }
  12698. }
  12699. },
  12700. "/SZDZ/QueryConvertLog": {
  12701. "get": {
  12702. "security": [
  12703. {
  12704. "ApiKeyAuth": []
  12705. }
  12706. ],
  12707. "produces": [
  12708. "application/json"
  12709. ],
  12710. "tags": [
  12711. "定制【尚志大宗】"
  12712. ],
  12713. "summary": "交易系统转换流水查询",
  12714. "parameters": [
  12715. {
  12716. "type": "string",
  12717. "description": "资金账户 - 格式:1,2,3",
  12718. "name": "accountID",
  12719. "in": "query",
  12720. "required": true
  12721. },
  12722. {
  12723. "type": "string",
  12724. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12725. "name": "startDate",
  12726. "in": "query"
  12727. },
  12728. {
  12729. "type": "string",
  12730. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  12731. "name": "endDate",
  12732. "in": "query"
  12733. }
  12734. ],
  12735. "responses": {
  12736. "200": {
  12737. "description": "OK",
  12738. "schema": {
  12739. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  12740. }
  12741. },
  12742. "500": {
  12743. "description": "Internal Server Error",
  12744. "schema": {
  12745. "$ref": "#/definitions/app.Response"
  12746. }
  12747. }
  12748. }
  12749. }
  12750. },
  12751. "/SZDZ/QueryGoodsPickup": {
  12752. "get": {
  12753. "security": [
  12754. {
  12755. "ApiKeyAuth": []
  12756. }
  12757. ],
  12758. "produces": [
  12759. "application/json"
  12760. ],
  12761. "tags": [
  12762. "定制【尚志大宗】"
  12763. ],
  12764. "summary": "商品提货单查询",
  12765. "parameters": [
  12766. {
  12767. "type": "string",
  12768. "description": "资金账户 - 格式:1,2,3",
  12769. "name": "accountID",
  12770. "in": "query",
  12771. "required": true
  12772. },
  12773. {
  12774. "type": "integer",
  12775. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  12776. "name": "takeOrderStatus",
  12777. "in": "query"
  12778. }
  12779. ],
  12780. "responses": {
  12781. "200": {
  12782. "description": "OK",
  12783. "schema": {
  12784. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  12785. }
  12786. },
  12787. "500": {
  12788. "description": "Internal Server Error",
  12789. "schema": {
  12790. "$ref": "#/definitions/app.Response"
  12791. }
  12792. }
  12793. }
  12794. }
  12795. },
  12796. "/SZDZ/QueryRecieptOrder": {
  12797. "get": {
  12798. "security": [
  12799. {
  12800. "ApiKeyAuth": []
  12801. }
  12802. ],
  12803. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  12804. "produces": [
  12805. "application/json"
  12806. ],
  12807. "tags": [
  12808. "定制【尚志大宗】"
  12809. ],
  12810. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  12811. "parameters": [
  12812. {
  12813. "type": "integer",
  12814. "description": "页码",
  12815. "name": "page",
  12816. "in": "query"
  12817. },
  12818. {
  12819. "type": "integer",
  12820. "description": "每页条数",
  12821. "name": "pagesize",
  12822. "in": "query"
  12823. },
  12824. {
  12825. "type": "integer",
  12826. "description": "商品ID",
  12827. "name": "goodsID",
  12828. "in": "query",
  12829. "required": true
  12830. },
  12831. {
  12832. "type": "string",
  12833. "description": "所属账户名称",
  12834. "name": "accountName",
  12835. "in": "query"
  12836. },
  12837. {
  12838. "type": "integer",
  12839. "description": "市场ID",
  12840. "name": "marketID",
  12841. "in": "query"
  12842. },
  12843. {
  12844. "type": "integer",
  12845. "description": "方向 - 0:买 1:卖",
  12846. "name": "buyorsell",
  12847. "in": "query",
  12848. "required": true
  12849. }
  12850. ],
  12851. "responses": {
  12852. "200": {
  12853. "description": "OK",
  12854. "schema": {
  12855. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  12856. }
  12857. },
  12858. "500": {
  12859. "description": "Internal Server Error",
  12860. "schema": {
  12861. "$ref": "#/definitions/app.Response"
  12862. }
  12863. }
  12864. }
  12865. }
  12866. },
  12867. "/SZDZ/QuerySZDZTradePosition": {
  12868. "get": {
  12869. "security": [
  12870. {
  12871. "ApiKeyAuth": []
  12872. }
  12873. ],
  12874. "produces": [
  12875. "application/json"
  12876. ],
  12877. "tags": [
  12878. "定制【尚志大宗】"
  12879. ],
  12880. "summary": "持仓汇总查询(尚志大宗)",
  12881. "parameters": [
  12882. {
  12883. "type": "integer",
  12884. "description": "资金账户",
  12885. "name": "accountID",
  12886. "in": "query",
  12887. "required": true
  12888. }
  12889. ],
  12890. "responses": {
  12891. "200": {
  12892. "description": "OK",
  12893. "schema": {
  12894. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  12895. }
  12896. },
  12897. "500": {
  12898. "description": "Internal Server Error",
  12899. "schema": {
  12900. "$ref": "#/definitions/app.Response"
  12901. }
  12902. }
  12903. }
  12904. }
  12905. },
  12906. "/SZDZ/SearchWhite": {
  12907. "get": {
  12908. "security": [
  12909. {
  12910. "ApiKeyAuth": []
  12911. }
  12912. ],
  12913. "produces": [
  12914. "application/json"
  12915. ],
  12916. "tags": [
  12917. "定制【尚志大宗】"
  12918. ],
  12919. "summary": "搜索白名单",
  12920. "parameters": [
  12921. {
  12922. "type": "integer",
  12923. "description": "用户ID",
  12924. "name": "userID",
  12925. "in": "query",
  12926. "required": true
  12927. }
  12928. ],
  12929. "responses": {
  12930. "200": {
  12931. "description": "OK",
  12932. "schema": {
  12933. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  12934. }
  12935. },
  12936. "500": {
  12937. "description": "Internal Server Error",
  12938. "schema": {
  12939. "$ref": "#/definitions/app.Response"
  12940. }
  12941. }
  12942. }
  12943. }
  12944. },
  12945. "/Search/SearchGoodses": {
  12946. "get": {
  12947. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  12948. "produces": [
  12949. "application/json"
  12950. ],
  12951. "tags": [
  12952. "检索服务"
  12953. ],
  12954. "summary": "检索商品信息",
  12955. "parameters": [
  12956. {
  12957. "type": "string",
  12958. "description": "检索内容",
  12959. "name": "content",
  12960. "in": "query",
  12961. "required": true
  12962. },
  12963. {
  12964. "type": "string",
  12965. "description": "交易模式,格式:1,2,3",
  12966. "name": "tradeModes",
  12967. "in": "query"
  12968. }
  12969. ],
  12970. "responses": {
  12971. "200": {
  12972. "description": "OK",
  12973. "schema": {
  12974. "$ref": "#/definitions/models.SearchGoods"
  12975. }
  12976. },
  12977. "500": {
  12978. "description": "Internal Server Error",
  12979. "schema": {
  12980. "$ref": "#/definitions/app.Response"
  12981. }
  12982. }
  12983. }
  12984. }
  12985. },
  12986. "/TaAccount/GetTaAccounts": {
  12987. "get": {
  12988. "security": [
  12989. {
  12990. "ApiKeyAuth": []
  12991. }
  12992. ],
  12993. "produces": [
  12994. "application/json"
  12995. ],
  12996. "tags": [
  12997. "资金账户"
  12998. ],
  12999. "summary": "获取资金账户信息",
  13000. "parameters": [
  13001. {
  13002. "type": "integer",
  13003. "description": "登录账户",
  13004. "name": "loginID",
  13005. "in": "query",
  13006. "required": true
  13007. },
  13008. {
  13009. "type": "integer",
  13010. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  13011. "name": "taAccountType",
  13012. "in": "query"
  13013. }
  13014. ],
  13015. "responses": {
  13016. "200": {
  13017. "description": "OK",
  13018. "schema": {
  13019. "$ref": "#/definitions/models.Taaccount"
  13020. }
  13021. },
  13022. "500": {
  13023. "description": "Internal Server Error",
  13024. "schema": {
  13025. "$ref": "#/definitions/app.Response"
  13026. }
  13027. }
  13028. }
  13029. }
  13030. },
  13031. "/TaAccount/QueryAmountLog": {
  13032. "get": {
  13033. "security": [
  13034. {
  13035. "ApiKeyAuth": []
  13036. }
  13037. ],
  13038. "produces": [
  13039. "application/json"
  13040. ],
  13041. "tags": [
  13042. "资金账户"
  13043. ],
  13044. "summary": "资金流水查询(当前)",
  13045. "parameters": [
  13046. {
  13047. "type": "integer",
  13048. "description": "页码",
  13049. "name": "page",
  13050. "in": "query"
  13051. },
  13052. {
  13053. "type": "integer",
  13054. "description": "每页条数",
  13055. "name": "pagesize",
  13056. "in": "query"
  13057. },
  13058. {
  13059. "type": "string",
  13060. "description": "资金账户 - 格式:1,2,3",
  13061. "name": "accountID",
  13062. "in": "query",
  13063. "required": true
  13064. },
  13065. {
  13066. "type": "string",
  13067. "description": "资金操作类型 - 格式:1,2,3",
  13068. "name": "OperateType",
  13069. "in": "query"
  13070. }
  13071. ],
  13072. "responses": {
  13073. "200": {
  13074. "description": "OK",
  13075. "schema": {
  13076. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  13077. }
  13078. },
  13079. "500": {
  13080. "description": "Internal Server Error",
  13081. "schema": {
  13082. "$ref": "#/definitions/app.Response"
  13083. }
  13084. }
  13085. }
  13086. }
  13087. },
  13088. "/TaAccount/QueryHisAmountLog": {
  13089. "get": {
  13090. "security": [
  13091. {
  13092. "ApiKeyAuth": []
  13093. }
  13094. ],
  13095. "produces": [
  13096. "application/json"
  13097. ],
  13098. "tags": [
  13099. "资金账户"
  13100. ],
  13101. "summary": "资金流水查询(历史)",
  13102. "parameters": [
  13103. {
  13104. "type": "integer",
  13105. "description": "页码",
  13106. "name": "page",
  13107. "in": "query"
  13108. },
  13109. {
  13110. "type": "integer",
  13111. "description": "每页条数",
  13112. "name": "pagesize",
  13113. "in": "query"
  13114. },
  13115. {
  13116. "type": "string",
  13117. "description": "资金账户 - 格式:1,2,3",
  13118. "name": "accountID",
  13119. "in": "query",
  13120. "required": true
  13121. },
  13122. {
  13123. "type": "string",
  13124. "description": "资金操作类型 - 格式:1,2,3",
  13125. "name": "OperateType",
  13126. "in": "query"
  13127. },
  13128. {
  13129. "type": "string",
  13130. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  13131. "name": "startDate",
  13132. "in": "query"
  13133. },
  13134. {
  13135. "type": "string",
  13136. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  13137. "name": "endDate",
  13138. "in": "query"
  13139. }
  13140. ],
  13141. "responses": {
  13142. "200": {
  13143. "description": "OK",
  13144. "schema": {
  13145. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  13146. }
  13147. },
  13148. "500": {
  13149. "description": "Internal Server Error",
  13150. "schema": {
  13151. "$ref": "#/definitions/app.Response"
  13152. }
  13153. }
  13154. }
  13155. }
  13156. },
  13157. "/TaAccount/QueryRelatedTaAccount": {
  13158. "get": {
  13159. "security": [
  13160. {
  13161. "ApiKeyAuth": []
  13162. }
  13163. ],
  13164. "produces": [
  13165. "application/json"
  13166. ],
  13167. "tags": [
  13168. "资金账户"
  13169. ],
  13170. "summary": "查询关联资金账户信息",
  13171. "parameters": [
  13172. {
  13173. "type": "integer",
  13174. "description": "关联UserID",
  13175. "name": "relateduserid",
  13176. "in": "query",
  13177. "required": true
  13178. }
  13179. ],
  13180. "responses": {
  13181. "200": {
  13182. "description": "OK",
  13183. "schema": {
  13184. "type": "array",
  13185. "items": {
  13186. "$ref": "#/definitions/models.RelatedTaAccount"
  13187. }
  13188. }
  13189. },
  13190. "500": {
  13191. "description": "Internal Server Error",
  13192. "schema": {
  13193. "$ref": "#/definitions/app.Response"
  13194. }
  13195. }
  13196. }
  13197. }
  13198. },
  13199. "/Tjmd/QueryQuoteGoodsList": {
  13200. "get": {
  13201. "security": [
  13202. {
  13203. "ApiKeyAuth": []
  13204. }
  13205. ],
  13206. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  13207. "produces": [
  13208. "application/json"
  13209. ],
  13210. "tags": [
  13211. "天津麦顿"
  13212. ],
  13213. "summary": "查询掉期报价列表",
  13214. "parameters": [
  13215. {
  13216. "type": "integer",
  13217. "description": "用户类型",
  13218. "name": "usertype",
  13219. "in": "query",
  13220. "required": true
  13221. },
  13222. {
  13223. "type": "string",
  13224. "description": "市场id, 格式 1,2,3",
  13225. "name": "marketids",
  13226. "in": "query"
  13227. },
  13228. {
  13229. "type": "integer",
  13230. "description": "商品组id",
  13231. "name": "goodsgroupid",
  13232. "in": "query"
  13233. },
  13234. {
  13235. "type": "integer",
  13236. "description": "商品id",
  13237. "name": "goodsid",
  13238. "in": "query"
  13239. }
  13240. ],
  13241. "responses": {
  13242. "200": {
  13243. "description": "OK",
  13244. "schema": {
  13245. "type": "array",
  13246. "items": {
  13247. "$ref": "#/definitions/models.TjmdQuoteGoods"
  13248. }
  13249. }
  13250. },
  13251. "500": {
  13252. "description": "Internal Server Error",
  13253. "schema": {
  13254. "$ref": "#/definitions/app.Response"
  13255. }
  13256. }
  13257. }
  13258. }
  13259. },
  13260. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  13261. "get": {
  13262. "security": [
  13263. {
  13264. "ApiKeyAuth": []
  13265. }
  13266. ],
  13267. "produces": [
  13268. "application/json"
  13269. ],
  13270. "tags": [
  13271. "天津麦顿"
  13272. ],
  13273. "summary": "掉期商品订单详情(交易确认书)",
  13274. "parameters": [
  13275. {
  13276. "type": "string",
  13277. "description": "成交单号",
  13278. "name": "tradeid",
  13279. "in": "query",
  13280. "required": true
  13281. }
  13282. ],
  13283. "responses": {
  13284. "200": {
  13285. "description": "OK",
  13286. "schema": {
  13287. "type": "array",
  13288. "items": {
  13289. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13290. }
  13291. }
  13292. },
  13293. "500": {
  13294. "description": "Internal Server Error",
  13295. "schema": {
  13296. "$ref": "#/definitions/app.Response"
  13297. }
  13298. }
  13299. }
  13300. }
  13301. },
  13302. "/Tjmd/QueryTjmdMarketSection": {
  13303. "get": {
  13304. "security": [
  13305. {
  13306. "ApiKeyAuth": []
  13307. }
  13308. ],
  13309. "produces": [
  13310. "application/json"
  13311. ],
  13312. "tags": [
  13313. "天津麦顿"
  13314. ],
  13315. "summary": "查询市场板块",
  13316. "responses": {
  13317. "200": {
  13318. "description": "OK",
  13319. "schema": {
  13320. "type": "array",
  13321. "items": {
  13322. "$ref": "#/definitions/models.TjmdMarketSection"
  13323. }
  13324. }
  13325. },
  13326. "500": {
  13327. "description": "Internal Server Error",
  13328. "schema": {
  13329. "$ref": "#/definitions/app.Response"
  13330. }
  13331. }
  13332. }
  13333. }
  13334. },
  13335. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13336. "get": {
  13337. "security": [
  13338. {
  13339. "ApiKeyAuth": []
  13340. }
  13341. ],
  13342. "produces": [
  13343. "application/json"
  13344. ],
  13345. "tags": [
  13346. "天津麦顿"
  13347. ],
  13348. "summary": "查询今日账户保证金配置",
  13349. "parameters": [
  13350. {
  13351. "type": "string",
  13352. "description": "市场id",
  13353. "name": "marketid",
  13354. "in": "query"
  13355. },
  13356. {
  13357. "type": "string",
  13358. "description": "商品id",
  13359. "name": "goodsid",
  13360. "in": "query"
  13361. },
  13362. {
  13363. "type": "string",
  13364. "description": "资金账号",
  13365. "name": "accountid",
  13366. "in": "query"
  13367. }
  13368. ],
  13369. "responses": {
  13370. "200": {
  13371. "description": "OK",
  13372. "schema": {
  13373. "type": "array",
  13374. "items": {
  13375. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13376. }
  13377. }
  13378. },
  13379. "500": {
  13380. "description": "Internal Server Error",
  13381. "schema": {
  13382. "$ref": "#/definitions/app.Response"
  13383. }
  13384. }
  13385. }
  13386. }
  13387. },
  13388. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13389. "get": {
  13390. "security": [
  13391. {
  13392. "ApiKeyAuth": []
  13393. }
  13394. ],
  13395. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13396. "produces": [
  13397. "application/json"
  13398. ],
  13399. "tags": [
  13400. "天津麦顿"
  13401. ],
  13402. "summary": "查询掉期买卖大厅",
  13403. "parameters": [
  13404. {
  13405. "type": "integer",
  13406. "description": "页码",
  13407. "name": "page",
  13408. "in": "query"
  13409. },
  13410. {
  13411. "type": "integer",
  13412. "description": "每页条数",
  13413. "name": "pagesize",
  13414. "in": "query"
  13415. },
  13416. {
  13417. "type": "integer",
  13418. "description": "用户id",
  13419. "name": "userid",
  13420. "in": "query",
  13421. "required": true
  13422. },
  13423. {
  13424. "type": "integer",
  13425. "description": "用户类型",
  13426. "name": "usertype",
  13427. "in": "query",
  13428. "required": true
  13429. },
  13430. {
  13431. "type": "string",
  13432. "description": "市场id, 格式 1,2,3",
  13433. "name": "marketids",
  13434. "in": "query"
  13435. },
  13436. {
  13437. "type": "integer",
  13438. "description": "商品id",
  13439. "name": "goodsid",
  13440. "in": "query",
  13441. "required": true
  13442. },
  13443. {
  13444. "type": "integer",
  13445. "description": "买卖方向 0-买 1-卖",
  13446. "name": "buyorsell",
  13447. "in": "query",
  13448. "required": true
  13449. }
  13450. ],
  13451. "responses": {
  13452. "200": {
  13453. "description": "OK",
  13454. "schema": {
  13455. "type": "array",
  13456. "items": {
  13457. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13458. }
  13459. }
  13460. },
  13461. "500": {
  13462. "description": "Internal Server Error",
  13463. "schema": {
  13464. "$ref": "#/definitions/app.Response"
  13465. }
  13466. }
  13467. }
  13468. }
  13469. },
  13470. "/Tjmd/QueryTjmdTransferApply": {
  13471. "get": {
  13472. "security": [
  13473. {
  13474. "ApiKeyAuth": []
  13475. }
  13476. ],
  13477. "produces": [
  13478. "application/json"
  13479. ],
  13480. "tags": [
  13481. "天津麦顿"
  13482. ],
  13483. "summary": "查询掉期协议单",
  13484. "parameters": [
  13485. {
  13486. "type": "integer",
  13487. "description": "类型 1-我的申请 2-对方申请",
  13488. "name": "applytype",
  13489. "in": "query",
  13490. "required": true
  13491. },
  13492. {
  13493. "type": "string",
  13494. "description": "市场id, 格式 1,2,3",
  13495. "name": "marketids",
  13496. "in": "query"
  13497. },
  13498. {
  13499. "type": "string",
  13500. "description": "资金账号, 格式 25000000001,25000000003",
  13501. "name": "accountids",
  13502. "in": "query"
  13503. },
  13504. {
  13505. "type": "string",
  13506. "description": "开始交易日(yyyymmdd)",
  13507. "name": "begindate",
  13508. "in": "query"
  13509. },
  13510. {
  13511. "type": "string",
  13512. "description": "结束交易日(yyyymmdd)",
  13513. "name": "enddate",
  13514. "in": "query"
  13515. }
  13516. ],
  13517. "responses": {
  13518. "200": {
  13519. "description": "OK",
  13520. "schema": {
  13521. "type": "array",
  13522. "items": {
  13523. "$ref": "#/definitions/models.TjmdTransferApply"
  13524. }
  13525. }
  13526. },
  13527. "500": {
  13528. "description": "Internal Server Error",
  13529. "schema": {
  13530. "$ref": "#/definitions/app.Response"
  13531. }
  13532. }
  13533. }
  13534. }
  13535. },
  13536. "/Trade/QueryRecieptOrder": {
  13537. "get": {
  13538. "security": [
  13539. {
  13540. "ApiKeyAuth": []
  13541. }
  13542. ],
  13543. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13544. "produces": [
  13545. "application/json"
  13546. ],
  13547. "tags": [
  13548. "通用交易"
  13549. ],
  13550. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13551. "parameters": [
  13552. {
  13553. "type": "integer",
  13554. "description": "页码",
  13555. "name": "page",
  13556. "in": "query"
  13557. },
  13558. {
  13559. "type": "integer",
  13560. "description": "每页条数",
  13561. "name": "pagesize",
  13562. "in": "query"
  13563. },
  13564. {
  13565. "type": "integer",
  13566. "description": "商品ID",
  13567. "name": "goodsID",
  13568. "in": "query",
  13569. "required": true
  13570. },
  13571. {
  13572. "type": "string",
  13573. "description": "所属账户名称",
  13574. "name": "accountName",
  13575. "in": "query"
  13576. },
  13577. {
  13578. "type": "integer",
  13579. "description": "市场ID",
  13580. "name": "marketID",
  13581. "in": "query"
  13582. },
  13583. {
  13584. "type": "integer",
  13585. "description": "方向 - 0:买 1:卖",
  13586. "name": "buyorsell",
  13587. "in": "query",
  13588. "required": true
  13589. }
  13590. ],
  13591. "responses": {
  13592. "200": {
  13593. "description": "OK",
  13594. "schema": {
  13595. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13596. }
  13597. },
  13598. "500": {
  13599. "description": "Internal Server Error",
  13600. "schema": {
  13601. "$ref": "#/definitions/app.Response"
  13602. }
  13603. }
  13604. }
  13605. }
  13606. },
  13607. "/User/AddMessageBoard": {
  13608. "post": {
  13609. "security": [
  13610. {
  13611. "ApiKeyAuth": []
  13612. }
  13613. ],
  13614. "produces": [
  13615. "application/json"
  13616. ],
  13617. "tags": [
  13618. "用户信息"
  13619. ],
  13620. "summary": "添加用户留言板信息",
  13621. "parameters": [
  13622. {
  13623. "type": "integer",
  13624. "description": "用户ID",
  13625. "name": "userID",
  13626. "in": "query",
  13627. "required": true
  13628. },
  13629. {
  13630. "type": "string",
  13631. "description": "留言信息",
  13632. "name": "message",
  13633. "in": "query",
  13634. "required": true
  13635. },
  13636. {
  13637. "type": "string",
  13638. "description": "联系电话",
  13639. "name": "contactNum",
  13640. "in": "query",
  13641. "required": true
  13642. }
  13643. ],
  13644. "responses": {
  13645. "200": {
  13646. "description": "OK",
  13647. "schema": {
  13648. "$ref": "#/definitions/app.Response"
  13649. }
  13650. },
  13651. "500": {
  13652. "description": "Internal Server Error",
  13653. "schema": {
  13654. "$ref": "#/definitions/app.Response"
  13655. }
  13656. }
  13657. }
  13658. }
  13659. },
  13660. "/User/AddUserFavoriteGoods": {
  13661. "post": {
  13662. "security": [
  13663. {
  13664. "ApiKeyAuth": []
  13665. }
  13666. ],
  13667. "produces": [
  13668. "application/json"
  13669. ],
  13670. "tags": [
  13671. "用户信息"
  13672. ],
  13673. "summary": "添加用户商品收藏信息",
  13674. "parameters": [
  13675. {
  13676. "type": "integer",
  13677. "description": "用户ID",
  13678. "name": "userID",
  13679. "in": "query",
  13680. "required": true
  13681. },
  13682. {
  13683. "type": "integer",
  13684. "description": "商品ID",
  13685. "name": "goodsID",
  13686. "in": "query",
  13687. "required": true
  13688. }
  13689. ],
  13690. "responses": {
  13691. "200": {
  13692. "description": "OK",
  13693. "schema": {
  13694. "$ref": "#/definitions/app.Response"
  13695. }
  13696. },
  13697. "500": {
  13698. "description": "Internal Server Error",
  13699. "schema": {
  13700. "$ref": "#/definitions/app.Response"
  13701. }
  13702. }
  13703. }
  13704. }
  13705. },
  13706. "/User/GetLoginID": {
  13707. "get": {
  13708. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13709. "produces": [
  13710. "application/json"
  13711. ],
  13712. "tags": [
  13713. "用户信息"
  13714. ],
  13715. "summary": "获取登录ID",
  13716. "parameters": [
  13717. {
  13718. "type": "string",
  13719. "description": "登录代码",
  13720. "name": "username",
  13721. "in": "query",
  13722. "required": true
  13723. }
  13724. ],
  13725. "responses": {
  13726. "200": {
  13727. "description": "OK",
  13728. "schema": {
  13729. "$ref": "#/definitions/app.Response"
  13730. }
  13731. },
  13732. "500": {
  13733. "description": "Internal Server Error",
  13734. "schema": {
  13735. "$ref": "#/definitions/app.Response"
  13736. }
  13737. }
  13738. }
  13739. }
  13740. },
  13741. "/User/GetUserAccount": {
  13742. "get": {
  13743. "security": [
  13744. {
  13745. "ApiKeyAuth": []
  13746. }
  13747. ],
  13748. "produces": [
  13749. "application/json"
  13750. ],
  13751. "tags": [
  13752. "用户信息"
  13753. ],
  13754. "summary": "获取用户账号信息",
  13755. "parameters": [
  13756. {
  13757. "type": "integer",
  13758. "description": "用户ID",
  13759. "name": "userID",
  13760. "in": "query",
  13761. "required": true
  13762. }
  13763. ],
  13764. "responses": {
  13765. "200": {
  13766. "description": "OK",
  13767. "schema": {
  13768. "$ref": "#/definitions/models.Useraccount"
  13769. }
  13770. },
  13771. "500": {
  13772. "description": "Internal Server Error",
  13773. "schema": {
  13774. "$ref": "#/definitions/app.Response"
  13775. }
  13776. }
  13777. }
  13778. }
  13779. },
  13780. "/User/GetUserAuthStatus": {
  13781. "get": {
  13782. "security": [
  13783. {
  13784. "ApiKeyAuth": []
  13785. }
  13786. ],
  13787. "produces": [
  13788. "application/json"
  13789. ],
  13790. "tags": [
  13791. "用户信息"
  13792. ],
  13793. "summary": "获取用户实名认证状态",
  13794. "parameters": [
  13795. {
  13796. "type": "integer",
  13797. "description": "用户ID",
  13798. "name": "userID",
  13799. "in": "query",
  13800. "required": true
  13801. }
  13802. ],
  13803. "responses": {
  13804. "200": {
  13805. "description": "OK",
  13806. "schema": {
  13807. "$ref": "#/definitions/app.Response"
  13808. }
  13809. },
  13810. "500": {
  13811. "description": "Internal Server Error",
  13812. "schema": {
  13813. "$ref": "#/definitions/app.Response"
  13814. }
  13815. }
  13816. }
  13817. }
  13818. },
  13819. "/User/LoginQuery": {
  13820. "get": {
  13821. "security": [
  13822. {
  13823. "ApiKeyAuth": []
  13824. }
  13825. ],
  13826. "produces": [
  13827. "application/json"
  13828. ],
  13829. "tags": [
  13830. "用户信息"
  13831. ],
  13832. "summary": "账户登录后信息查询",
  13833. "parameters": [
  13834. {
  13835. "type": "integer",
  13836. "description": "登录账号",
  13837. "name": "loginID",
  13838. "in": "query",
  13839. "required": true
  13840. }
  13841. ],
  13842. "responses": {
  13843. "200": {
  13844. "description": "OK",
  13845. "schema": {
  13846. "$ref": "#/definitions/user.LoginQueryRsp"
  13847. }
  13848. },
  13849. "500": {
  13850. "description": "Internal Server Error",
  13851. "schema": {
  13852. "$ref": "#/definitions/app.Response"
  13853. }
  13854. }
  13855. }
  13856. }
  13857. },
  13858. "/User/QueryMessageBoard": {
  13859. "get": {
  13860. "security": [
  13861. {
  13862. "ApiKeyAuth": []
  13863. }
  13864. ],
  13865. "produces": [
  13866. "application/json"
  13867. ],
  13868. "tags": [
  13869. "用户信息"
  13870. ],
  13871. "summary": "获取用户留言板信息",
  13872. "parameters": [
  13873. {
  13874. "type": "integer",
  13875. "description": "用户ID",
  13876. "name": "userID",
  13877. "in": "query",
  13878. "required": true
  13879. }
  13880. ],
  13881. "responses": {
  13882. "200": {
  13883. "description": "OK",
  13884. "schema": {
  13885. "$ref": "#/definitions/models.Messageboard"
  13886. }
  13887. },
  13888. "500": {
  13889. "description": "Internal Server Error",
  13890. "schema": {
  13891. "$ref": "#/definitions/app.Response"
  13892. }
  13893. }
  13894. }
  13895. }
  13896. },
  13897. "/User/QueryUserFavoriteGoodses": {
  13898. "get": {
  13899. "security": [
  13900. {
  13901. "ApiKeyAuth": []
  13902. }
  13903. ],
  13904. "produces": [
  13905. "application/json"
  13906. ],
  13907. "tags": [
  13908. "用户信息"
  13909. ],
  13910. "summary": "获取用户商品收藏信息",
  13911. "parameters": [
  13912. {
  13913. "type": "integer",
  13914. "description": "用户ID",
  13915. "name": "userID",
  13916. "in": "query",
  13917. "required": true
  13918. }
  13919. ],
  13920. "responses": {
  13921. "200": {
  13922. "description": "OK",
  13923. "schema": {
  13924. "$ref": "#/definitions/models.Userfavoritegoods"
  13925. }
  13926. },
  13927. "500": {
  13928. "description": "Internal Server Error",
  13929. "schema": {
  13930. "$ref": "#/definitions/app.Response"
  13931. }
  13932. }
  13933. }
  13934. }
  13935. },
  13936. "/User/QueryUserInfo": {
  13937. "get": {
  13938. "security": [
  13939. {
  13940. "ApiKeyAuth": []
  13941. }
  13942. ],
  13943. "produces": [
  13944. "application/json"
  13945. ],
  13946. "tags": [
  13947. "用户信息"
  13948. ],
  13949. "summary": "获取用户信息",
  13950. "parameters": [
  13951. {
  13952. "type": "integer",
  13953. "description": "用户ID",
  13954. "name": "userID",
  13955. "in": "query",
  13956. "required": true
  13957. },
  13958. {
  13959. "type": "boolean",
  13960. "description": "是否解密",
  13961. "name": "isDecrypt",
  13962. "in": "query"
  13963. }
  13964. ],
  13965. "responses": {
  13966. "200": {
  13967. "description": "OK",
  13968. "schema": {
  13969. "$ref": "#/definitions/models.Userinfo"
  13970. }
  13971. },
  13972. "500": {
  13973. "description": "Internal Server Error",
  13974. "schema": {
  13975. "$ref": "#/definitions/app.Response"
  13976. }
  13977. }
  13978. }
  13979. }
  13980. },
  13981. "/User/QueryUserReferNum": {
  13982. "get": {
  13983. "produces": [
  13984. "application/json"
  13985. ],
  13986. "tags": [
  13987. "用户信息"
  13988. ],
  13989. "summary": "获取用户邀请码",
  13990. "parameters": [
  13991. {
  13992. "type": "integer",
  13993. "description": "用户ID",
  13994. "name": "userID",
  13995. "in": "query",
  13996. "required": true
  13997. }
  13998. ],
  13999. "responses": {
  14000. "200": {
  14001. "description": "OK",
  14002. "schema": {
  14003. "$ref": "#/definitions/app.Response"
  14004. }
  14005. },
  14006. "500": {
  14007. "description": "Internal Server Error",
  14008. "schema": {
  14009. "$ref": "#/definitions/app.Response"
  14010. }
  14011. }
  14012. }
  14013. }
  14014. },
  14015. "/User/RemoveUserFavoriteGoods": {
  14016. "post": {
  14017. "security": [
  14018. {
  14019. "ApiKeyAuth": []
  14020. }
  14021. ],
  14022. "produces": [
  14023. "application/json"
  14024. ],
  14025. "tags": [
  14026. "用户信息"
  14027. ],
  14028. "summary": "移除用户商品收藏信息",
  14029. "parameters": [
  14030. {
  14031. "type": "integer",
  14032. "description": "用户ID",
  14033. "name": "userID",
  14034. "in": "query",
  14035. "required": true
  14036. },
  14037. {
  14038. "type": "integer",
  14039. "description": "商品ID",
  14040. "name": "goodsID",
  14041. "in": "query",
  14042. "required": true
  14043. }
  14044. ],
  14045. "responses": {
  14046. "200": {
  14047. "description": "OK",
  14048. "schema": {
  14049. "$ref": "#/definitions/app.Response"
  14050. }
  14051. },
  14052. "500": {
  14053. "description": "Internal Server Error",
  14054. "schema": {
  14055. "$ref": "#/definitions/app.Response"
  14056. }
  14057. }
  14058. }
  14059. }
  14060. },
  14061. "/User/UpdateUserAccountStatus": {
  14062. "post": {
  14063. "security": [
  14064. {
  14065. "ApiKeyAuth": []
  14066. }
  14067. ],
  14068. "produces": [
  14069. "application/json"
  14070. ],
  14071. "tags": [
  14072. "用户信息"
  14073. ],
  14074. "summary": "更新用户状态",
  14075. "parameters": [
  14076. {
  14077. "type": "integer",
  14078. "description": "用户ID",
  14079. "name": "userID",
  14080. "in": "query",
  14081. "required": true
  14082. },
  14083. {
  14084. "type": "integer",
  14085. "description": "账户状态 - 4:正常 6:注销(停用)",
  14086. "name": "accountStatus",
  14087. "in": "query",
  14088. "required": true
  14089. }
  14090. ],
  14091. "responses": {
  14092. "200": {
  14093. "description": "OK",
  14094. "schema": {
  14095. "$ref": "#/definitions/app.Response"
  14096. }
  14097. },
  14098. "500": {
  14099. "description": "Internal Server Error",
  14100. "schema": {
  14101. "$ref": "#/definitions/app.Response"
  14102. }
  14103. }
  14104. }
  14105. }
  14106. },
  14107. "/WRTrade/GetAllDeliveryGoods": {
  14108. "get": {
  14109. "security": [
  14110. {
  14111. "ApiKeyAuth": []
  14112. }
  14113. ],
  14114. "produces": [
  14115. "application/json"
  14116. ],
  14117. "tags": [
  14118. "仓单贸易",
  14119. "仓单贸易"
  14120. ],
  14121. "summary": "获取带仓单分类的种类信息",
  14122. "responses": {
  14123. "200": {
  14124. "description": "OK",
  14125. "schema": {
  14126. "$ref": "#/definitions/app.Response"
  14127. }
  14128. },
  14129. "500": {
  14130. "description": "Internal Server Error",
  14131. "schema": {
  14132. "$ref": "#/definitions/app.Response"
  14133. }
  14134. }
  14135. }
  14136. }
  14137. },
  14138. "/WrTrade2/InsertXhcpSellBackApply": {
  14139. "post": {
  14140. "security": [
  14141. {
  14142. "ApiKeyAuth": []
  14143. }
  14144. ],
  14145. "produces": [
  14146. "application/json"
  14147. ],
  14148. "tags": [
  14149. "仓单贸易v2"
  14150. ],
  14151. "summary": "新增回收申请(新会陈皮)",
  14152. "parameters": [
  14153. {
  14154. "description": "回收申请",
  14155. "name": "jsonBody",
  14156. "in": "body",
  14157. "required": true,
  14158. "schema": {
  14159. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  14160. }
  14161. }
  14162. ],
  14163. "responses": {
  14164. "200": {
  14165. "description": "OK",
  14166. "schema": {
  14167. "$ref": "#/definitions/app.Response"
  14168. }
  14169. },
  14170. "500": {
  14171. "description": "Internal Server Error",
  14172. "schema": {
  14173. "$ref": "#/definitions/app.Response"
  14174. }
  14175. }
  14176. }
  14177. }
  14178. },
  14179. "/WrTrade2/QueryDeliveryGoodsSection": {
  14180. "get": {
  14181. "security": [
  14182. {
  14183. "ApiKeyAuth": []
  14184. }
  14185. ],
  14186. "produces": [
  14187. "application/json"
  14188. ],
  14189. "tags": [
  14190. "仓单贸易v2"
  14191. ],
  14192. "summary": "查询板块(分类)",
  14193. "responses": {
  14194. "200": {
  14195. "description": "OK",
  14196. "schema": {
  14197. "type": "array",
  14198. "items": {
  14199. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  14200. }
  14201. }
  14202. },
  14203. "500": {
  14204. "description": "Internal Server Error",
  14205. "schema": {
  14206. "$ref": "#/definitions/app.Response"
  14207. }
  14208. }
  14209. }
  14210. }
  14211. },
  14212. "/WrTrade2/QueryFaProductDetail": {
  14213. "get": {
  14214. "security": [
  14215. {
  14216. "ApiKeyAuth": []
  14217. }
  14218. ],
  14219. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  14220. "produces": [
  14221. "application/json"
  14222. ],
  14223. "tags": [
  14224. "仓单贸易v2"
  14225. ],
  14226. "summary": "查询融资产品列表",
  14227. "parameters": [
  14228. {
  14229. "type": "integer",
  14230. "description": "仓单要素id",
  14231. "name": "wrfactortypeid",
  14232. "in": "query",
  14233. "required": true
  14234. }
  14235. ],
  14236. "responses": {
  14237. "200": {
  14238. "description": "OK",
  14239. "schema": {
  14240. "type": "array",
  14241. "items": {
  14242. "$ref": "#/definitions/models.WrFAProductDetail"
  14243. }
  14244. }
  14245. },
  14246. "500": {
  14247. "description": "Internal Server Error",
  14248. "schema": {
  14249. "$ref": "#/definitions/app.Response"
  14250. }
  14251. }
  14252. }
  14253. }
  14254. },
  14255. "/WrTrade2/QueryFilterItem": {
  14256. "get": {
  14257. "security": [
  14258. {
  14259. "ApiKeyAuth": []
  14260. }
  14261. ],
  14262. "produces": [
  14263. "application/json"
  14264. ],
  14265. "tags": [
  14266. "仓单贸易v2"
  14267. ],
  14268. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14269. "parameters": [
  14270. {
  14271. "type": "string",
  14272. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14273. "name": "itype",
  14274. "in": "query",
  14275. "required": true
  14276. }
  14277. ],
  14278. "responses": {
  14279. "200": {
  14280. "description": "OK",
  14281. "schema": {
  14282. "type": "array",
  14283. "items": {
  14284. "$ref": "#/definitions/models.WrFilterItem"
  14285. }
  14286. }
  14287. },
  14288. "500": {
  14289. "description": "Internal Server Error",
  14290. "schema": {
  14291. "$ref": "#/definitions/app.Response"
  14292. }
  14293. }
  14294. }
  14295. }
  14296. },
  14297. "/WrTrade2/QueryFtDeliveryGoods": {
  14298. "get": {
  14299. "security": [
  14300. {
  14301. "ApiKeyAuth": []
  14302. }
  14303. ],
  14304. "produces": [
  14305. "application/json"
  14306. ],
  14307. "tags": [
  14308. "仓单贸易v2"
  14309. ],
  14310. "summary": "查询品种品类筛选框列表",
  14311. "responses": {
  14312. "200": {
  14313. "description": "OK",
  14314. "schema": {
  14315. "type": "array",
  14316. "items": {
  14317. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14318. }
  14319. }
  14320. },
  14321. "500": {
  14322. "description": "Internal Server Error",
  14323. "schema": {
  14324. "$ref": "#/definitions/app.Response"
  14325. }
  14326. }
  14327. }
  14328. }
  14329. },
  14330. "/WrTrade2/QueryHoldLB": {
  14331. "get": {
  14332. "security": [
  14333. {
  14334. "ApiKeyAuth": []
  14335. }
  14336. ],
  14337. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14338. "produces": [
  14339. "application/json"
  14340. ],
  14341. "tags": [
  14342. "仓单贸易v2"
  14343. ],
  14344. "summary": "查询仓单持有记录",
  14345. "parameters": [
  14346. {
  14347. "type": "integer",
  14348. "description": "资金账号",
  14349. "name": "accountid",
  14350. "in": "query",
  14351. "required": true
  14352. },
  14353. {
  14354. "type": "integer",
  14355. "description": "仓库id",
  14356. "name": "warehouseid",
  14357. "in": "query"
  14358. },
  14359. {
  14360. "type": "integer",
  14361. "description": "品种id",
  14362. "name": "deliverygoodsid",
  14363. "in": "query"
  14364. },
  14365. {
  14366. "type": "integer",
  14367. "description": "品类id",
  14368. "name": "wrstandardid",
  14369. "in": "query"
  14370. },
  14371. {
  14372. "type": "integer",
  14373. "description": "仓单要素id",
  14374. "name": "wrfactortypeid",
  14375. "in": "query"
  14376. },
  14377. {
  14378. "type": "string",
  14379. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14380. "name": "dgitemname",
  14381. "in": "query"
  14382. }
  14383. ],
  14384. "responses": {
  14385. "200": {
  14386. "description": "OK",
  14387. "schema": {
  14388. "type": "array",
  14389. "items": {
  14390. "$ref": "#/definitions/models.WrHoldLB"
  14391. }
  14392. }
  14393. },
  14394. "500": {
  14395. "description": "Internal Server Error",
  14396. "schema": {
  14397. "$ref": "#/definitions/app.Response"
  14398. }
  14399. }
  14400. }
  14401. }
  14402. },
  14403. "/WrTrade2/QueryOrderQuote": {
  14404. "get": {
  14405. "security": [
  14406. {
  14407. "ApiKeyAuth": []
  14408. }
  14409. ],
  14410. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14411. "produces": [
  14412. "application/json"
  14413. ],
  14414. "tags": [
  14415. "仓单贸易v2"
  14416. ],
  14417. "summary": "查询大厅行情列表",
  14418. "parameters": [
  14419. {
  14420. "type": "integer",
  14421. "description": "页码",
  14422. "name": "page",
  14423. "in": "query"
  14424. },
  14425. {
  14426. "type": "integer",
  14427. "description": "每页条数",
  14428. "name": "pagesize",
  14429. "in": "query"
  14430. },
  14431. {
  14432. "type": "integer",
  14433. "description": "仓单贸易市场id",
  14434. "name": "marketid",
  14435. "in": "query"
  14436. },
  14437. {
  14438. "type": "integer",
  14439. "description": "价格方式 - 1:固定价 2-浮动价",
  14440. "name": "wrpricetype",
  14441. "in": "query",
  14442. "required": true
  14443. },
  14444. {
  14445. "type": "integer",
  14446. "description": "0:仓单预售 1:仓单贸易",
  14447. "name": "haswr",
  14448. "in": "query"
  14449. },
  14450. {
  14451. "type": "string",
  14452. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14453. "name": "dgitemname",
  14454. "in": "query"
  14455. },
  14456. {
  14457. "type": "integer",
  14458. "description": "仓库id(筛选条件)",
  14459. "name": "warehouseid",
  14460. "in": "query"
  14461. },
  14462. {
  14463. "type": "integer",
  14464. "description": "品种id",
  14465. "name": "deliverygoodsid",
  14466. "in": "query"
  14467. },
  14468. {
  14469. "type": "integer",
  14470. "description": "品类id",
  14471. "name": "wrstandardid",
  14472. "in": "query"
  14473. },
  14474. {
  14475. "type": "integer",
  14476. "description": "品牌id(dgfactoryitemid)",
  14477. "name": "brandid",
  14478. "in": "query"
  14479. },
  14480. {
  14481. "type": "integer",
  14482. "description": "年份id(dgfactoryitemid)",
  14483. "name": "yearsid",
  14484. "in": "query"
  14485. },
  14486. {
  14487. "type": "integer",
  14488. "description": "仓单要素id",
  14489. "name": "wrfactortypeid",
  14490. "in": "query"
  14491. },
  14492. {
  14493. "type": "string",
  14494. "description": "交收月(yyyy-mm) 仓单预售填写",
  14495. "name": "deliverymonth",
  14496. "in": "query"
  14497. }
  14498. ],
  14499. "responses": {
  14500. "200": {
  14501. "description": "OK",
  14502. "schema": {
  14503. "type": "array",
  14504. "items": {
  14505. "$ref": "#/definitions/models.WrOrderQuote"
  14506. }
  14507. }
  14508. },
  14509. "500": {
  14510. "description": "Internal Server Error",
  14511. "schema": {
  14512. "$ref": "#/definitions/app.Response"
  14513. }
  14514. }
  14515. }
  14516. }
  14517. },
  14518. "/WrTrade2/QueryOrderQuoteDetail": {
  14519. "get": {
  14520. "security": [
  14521. {
  14522. "ApiKeyAuth": []
  14523. }
  14524. ],
  14525. "produces": [
  14526. "application/json"
  14527. ],
  14528. "tags": [
  14529. "仓单贸易v2"
  14530. ],
  14531. "summary": "查询买卖大厅",
  14532. "parameters": [
  14533. {
  14534. "type": "integer",
  14535. "description": "页码",
  14536. "name": "page",
  14537. "in": "query"
  14538. },
  14539. {
  14540. "type": "integer",
  14541. "description": "每页条数",
  14542. "name": "pagesize",
  14543. "in": "query"
  14544. },
  14545. {
  14546. "type": "integer",
  14547. "description": "仓单贸易市场id",
  14548. "name": "marketid",
  14549. "in": "query"
  14550. },
  14551. {
  14552. "type": "integer",
  14553. "description": "价格方式 - 1:固定价 2-浮动价",
  14554. "name": "wrpricetype",
  14555. "in": "query",
  14556. "required": true
  14557. },
  14558. {
  14559. "type": "integer",
  14560. "description": "0:仓单预售 1:仓单贸易",
  14561. "name": "haswr",
  14562. "in": "query"
  14563. },
  14564. {
  14565. "type": "integer",
  14566. "description": "仓单要素id",
  14567. "name": "wrfactortypeid",
  14568. "in": "query",
  14569. "required": true
  14570. },
  14571. {
  14572. "type": "integer",
  14573. "description": "期货商品id(浮动价方式时填)",
  14574. "name": "goodsid",
  14575. "in": "query"
  14576. },
  14577. {
  14578. "type": "integer",
  14579. "description": "买卖方向 0-买 1-卖",
  14580. "name": "buyorsell",
  14581. "in": "query",
  14582. "required": true
  14583. },
  14584. {
  14585. "type": "string",
  14586. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14587. "name": "deliverymonth",
  14588. "in": "query"
  14589. }
  14590. ],
  14591. "responses": {
  14592. "200": {
  14593. "description": "OK",
  14594. "schema": {
  14595. "type": "array",
  14596. "items": {
  14597. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14598. }
  14599. }
  14600. },
  14601. "500": {
  14602. "description": "Internal Server Error",
  14603. "schema": {
  14604. "$ref": "#/definitions/app.Response"
  14605. }
  14606. }
  14607. }
  14608. }
  14609. },
  14610. "/WrTrade2/QueryOrderQuoteMyq": {
  14611. "get": {
  14612. "security": [
  14613. {
  14614. "ApiKeyAuth": []
  14615. }
  14616. ],
  14617. "produces": [
  14618. "application/json"
  14619. ],
  14620. "tags": [
  14621. "仓单贸易v2"
  14622. ],
  14623. "summary": "查询贸易圈挂牌大厅",
  14624. "parameters": [
  14625. {
  14626. "type": "integer",
  14627. "description": "页码",
  14628. "name": "page",
  14629. "in": "query"
  14630. },
  14631. {
  14632. "type": "integer",
  14633. "description": "每页条数",
  14634. "name": "pagesize",
  14635. "in": "query"
  14636. },
  14637. {
  14638. "type": "integer",
  14639. "description": "用户id",
  14640. "name": "userid",
  14641. "in": "query",
  14642. "required": true
  14643. },
  14644. {
  14645. "type": "integer",
  14646. "description": "仓单贸易市场id",
  14647. "name": "marketid",
  14648. "in": "query"
  14649. },
  14650. {
  14651. "type": "integer",
  14652. "description": "0:仓单预售 1:仓单贸易",
  14653. "name": "haswr",
  14654. "in": "query"
  14655. },
  14656. {
  14657. "type": "integer",
  14658. "description": "买卖方向 0-买 1-卖",
  14659. "name": "buyorsell",
  14660. "in": "query",
  14661. "required": true
  14662. },
  14663. {
  14664. "type": "integer",
  14665. "description": "品种id",
  14666. "name": "deliverygoodsid",
  14667. "in": "query"
  14668. },
  14669. {
  14670. "type": "integer",
  14671. "description": "品类id",
  14672. "name": "wrstandardid",
  14673. "in": "query"
  14674. },
  14675. {
  14676. "type": "string",
  14677. "description": "交收月(yyyy-mm) 仓单预售填写",
  14678. "name": "deliverymonth",
  14679. "in": "query"
  14680. },
  14681. {
  14682. "type": "string",
  14683. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14684. "name": "dgitemname",
  14685. "in": "query"
  14686. }
  14687. ],
  14688. "responses": {
  14689. "200": {
  14690. "description": "OK",
  14691. "schema": {
  14692. "type": "array",
  14693. "items": {
  14694. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14695. }
  14696. }
  14697. },
  14698. "500": {
  14699. "description": "Internal Server Error",
  14700. "schema": {
  14701. "$ref": "#/definitions/app.Response"
  14702. }
  14703. }
  14704. }
  14705. }
  14706. },
  14707. "/WrTrade2/QueryPerformancePlan": {
  14708. "get": {
  14709. "security": [
  14710. {
  14711. "ApiKeyAuth": []
  14712. }
  14713. ],
  14714. "produces": [
  14715. "application/json"
  14716. ],
  14717. "tags": [
  14718. "仓单贸易v2"
  14719. ],
  14720. "summary": "查询履约信息",
  14721. "parameters": [
  14722. {
  14723. "type": "integer",
  14724. "description": "用户id",
  14725. "name": "userid",
  14726. "in": "query",
  14727. "required": true
  14728. },
  14729. {
  14730. "type": "integer",
  14731. "description": "买卖方向 0-买 1-卖",
  14732. "name": "buyorsell",
  14733. "in": "query",
  14734. "required": true
  14735. },
  14736. {
  14737. "type": "string",
  14738. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  14739. "name": "status",
  14740. "in": "query"
  14741. },
  14742. {
  14743. "type": "string",
  14744. "description": "开始交易日(yyyymmdd)",
  14745. "name": "begindate",
  14746. "in": "query"
  14747. },
  14748. {
  14749. "type": "string",
  14750. "description": "结束交易日(yyyymmdd)",
  14751. "name": "enddate",
  14752. "in": "query"
  14753. }
  14754. ],
  14755. "responses": {
  14756. "200": {
  14757. "description": "OK",
  14758. "schema": {
  14759. "type": "array",
  14760. "items": {
  14761. "$ref": "#/definitions/models.WrPerformancePlan"
  14762. }
  14763. }
  14764. },
  14765. "500": {
  14766. "description": "Internal Server Error",
  14767. "schema": {
  14768. "$ref": "#/definitions/app.Response"
  14769. }
  14770. }
  14771. }
  14772. }
  14773. },
  14774. "/WrTrade2/QueryPermancePlanTmp": {
  14775. "get": {
  14776. "security": [
  14777. {
  14778. "ApiKeyAuth": []
  14779. }
  14780. ],
  14781. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  14782. "produces": [
  14783. "application/json"
  14784. ],
  14785. "tags": [
  14786. "仓单贸易v2"
  14787. ],
  14788. "summary": "查询履约模板",
  14789. "parameters": [
  14790. {
  14791. "type": "integer",
  14792. "description": "用户id",
  14793. "name": "userid",
  14794. "in": "query"
  14795. },
  14796. {
  14797. "type": "string",
  14798. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  14799. "name": "tmptype",
  14800. "in": "query"
  14801. },
  14802. {
  14803. "type": "integer",
  14804. "description": "是否包含公共模板(用户id为空的) 1-包含",
  14805. "name": "includepub",
  14806. "in": "query"
  14807. },
  14808. {
  14809. "type": "integer",
  14810. "description": "市场id(天津麦顿指定此参数,其它不用)",
  14811. "name": "marketid",
  14812. "in": "query"
  14813. }
  14814. ],
  14815. "responses": {
  14816. "200": {
  14817. "description": "OK",
  14818. "schema": {
  14819. "type": "array",
  14820. "items": {
  14821. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  14822. }
  14823. }
  14824. },
  14825. "500": {
  14826. "description": "Internal Server Error",
  14827. "schema": {
  14828. "$ref": "#/definitions/app.Response"
  14829. }
  14830. }
  14831. }
  14832. }
  14833. },
  14834. "/WrTrade2/QuerySiteColumnDetail": {
  14835. "get": {
  14836. "security": [
  14837. {
  14838. "ApiKeyAuth": []
  14839. }
  14840. ],
  14841. "produces": [
  14842. "application/json"
  14843. ],
  14844. "tags": [
  14845. "仓单贸易v2"
  14846. ],
  14847. "summary": "查询资讯",
  14848. "parameters": [
  14849. {
  14850. "type": "integer",
  14851. "description": "页码",
  14852. "name": "page",
  14853. "in": "query"
  14854. },
  14855. {
  14856. "type": "integer",
  14857. "description": "每页条数",
  14858. "name": "pagesize",
  14859. "in": "query"
  14860. },
  14861. {
  14862. "type": "integer",
  14863. "description": "所属栏目id",
  14864. "name": "columnid",
  14865. "in": "query"
  14866. }
  14867. ],
  14868. "responses": {
  14869. "200": {
  14870. "description": "OK",
  14871. "schema": {
  14872. "type": "array",
  14873. "items": {
  14874. "$ref": "#/definitions/models.WrSiteColumnDetail"
  14875. }
  14876. }
  14877. },
  14878. "500": {
  14879. "description": "Internal Server Error",
  14880. "schema": {
  14881. "$ref": "#/definitions/app.Response"
  14882. }
  14883. }
  14884. }
  14885. }
  14886. },
  14887. "/WrTrade2/QuerySpotGroupTradeSum": {
  14888. "get": {
  14889. "security": [
  14890. {
  14891. "ApiKeyAuth": []
  14892. }
  14893. ],
  14894. "produces": [
  14895. "application/json"
  14896. ],
  14897. "tags": [
  14898. "仓单贸易v2"
  14899. ],
  14900. "summary": "查询指数",
  14901. "responses": {
  14902. "200": {
  14903. "description": "OK",
  14904. "schema": {
  14905. "type": "array",
  14906. "items": {
  14907. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  14908. }
  14909. }
  14910. },
  14911. "500": {
  14912. "description": "Internal Server Error",
  14913. "schema": {
  14914. "$ref": "#/definitions/app.Response"
  14915. }
  14916. }
  14917. }
  14918. }
  14919. },
  14920. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  14921. "get": {
  14922. "security": [
  14923. {
  14924. "ApiKeyAuth": []
  14925. }
  14926. ],
  14927. "description": "查询的结果将会按日期 从小到大 排序",
  14928. "produces": [
  14929. "application/json"
  14930. ],
  14931. "tags": [
  14932. "仓单贸易v2"
  14933. ],
  14934. "summary": "查询指数详细(价格走势图)",
  14935. "parameters": [
  14936. {
  14937. "type": "integer",
  14938. "description": "现货商品id",
  14939. "name": "deliverygoodsid",
  14940. "in": "query",
  14941. "required": true
  14942. },
  14943. {
  14944. "type": "integer",
  14945. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  14946. "name": "lastnum",
  14947. "in": "query"
  14948. }
  14949. ],
  14950. "responses": {
  14951. "200": {
  14952. "description": "OK",
  14953. "schema": {
  14954. "type": "array",
  14955. "items": {
  14956. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  14957. }
  14958. }
  14959. },
  14960. "500": {
  14961. "description": "Internal Server Error",
  14962. "schema": {
  14963. "$ref": "#/definitions/app.Response"
  14964. }
  14965. }
  14966. }
  14967. }
  14968. },
  14969. "/WrTrade2/QueryWrAverageTradePrice": {
  14970. "get": {
  14971. "security": [
  14972. {
  14973. "ApiKeyAuth": []
  14974. }
  14975. ],
  14976. "produces": [
  14977. "application/json"
  14978. ],
  14979. "tags": [
  14980. "仓单贸易v2"
  14981. ],
  14982. "summary": "查询成交价(历史走势)",
  14983. "parameters": [
  14984. {
  14985. "type": "integer",
  14986. "description": "页码",
  14987. "name": "page",
  14988. "in": "query"
  14989. },
  14990. {
  14991. "type": "integer",
  14992. "description": "每页条数",
  14993. "name": "pagesize",
  14994. "in": "query"
  14995. },
  14996. {
  14997. "type": "integer",
  14998. "description": "0:仓单预售 1:仓单贸易",
  14999. "name": "haswr",
  15000. "in": "query",
  15001. "required": true
  15002. },
  15003. {
  15004. "type": "integer",
  15005. "description": "仓单要素id",
  15006. "name": "wrfactortypeid",
  15007. "in": "query",
  15008. "required": true
  15009. }
  15010. ],
  15011. "responses": {
  15012. "200": {
  15013. "description": "OK",
  15014. "schema": {
  15015. "type": "array",
  15016. "items": {
  15017. "$ref": "#/definitions/models.WrAverageTradePrice"
  15018. }
  15019. }
  15020. },
  15021. "500": {
  15022. "description": "Internal Server Error",
  15023. "schema": {
  15024. "$ref": "#/definitions/app.Response"
  15025. }
  15026. }
  15027. }
  15028. }
  15029. },
  15030. "/WrTrade2/QueryWrBrandAndYears": {
  15031. "get": {
  15032. "security": [
  15033. {
  15034. "ApiKeyAuth": []
  15035. }
  15036. ],
  15037. "produces": [
  15038. "application/json"
  15039. ],
  15040. "tags": [
  15041. "仓单贸易v2"
  15042. ],
  15043. "summary": "查询品牌和年份",
  15044. "responses": {
  15045. "200": {
  15046. "description": "OK",
  15047. "schema": {
  15048. "type": "array",
  15049. "items": {
  15050. "$ref": "#/definitions/models.WrBrandAndYears"
  15051. }
  15052. }
  15053. },
  15054. "500": {
  15055. "description": "Internal Server Error",
  15056. "schema": {
  15057. "$ref": "#/definitions/app.Response"
  15058. }
  15059. }
  15060. }
  15061. }
  15062. },
  15063. "/WrTrade2/QueryWrBsGoodsInfo": {
  15064. "get": {
  15065. "security": [
  15066. {
  15067. "ApiKeyAuth": []
  15068. }
  15069. ],
  15070. "description": "合约交易/买卖大厅/详情",
  15071. "produces": [
  15072. "application/json"
  15073. ],
  15074. "tags": [
  15075. "仓单贸易v2"
  15076. ],
  15077. "summary": "查询合约交易买卖大厅详情",
  15078. "parameters": [
  15079. {
  15080. "type": "integer",
  15081. "description": "商品id",
  15082. "name": "goodsid",
  15083. "in": "query",
  15084. "required": true
  15085. }
  15086. ],
  15087. "responses": {
  15088. "200": {
  15089. "description": "OK",
  15090. "schema": {
  15091. "type": "array",
  15092. "items": {
  15093. "$ref": "#/definitions/models.WrBsGoodsInfo"
  15094. }
  15095. }
  15096. },
  15097. "500": {
  15098. "description": "Internal Server Error",
  15099. "schema": {
  15100. "$ref": "#/definitions/app.Response"
  15101. }
  15102. }
  15103. }
  15104. }
  15105. },
  15106. "/WrTrade2/QueryWrBuybackDetail": {
  15107. "get": {
  15108. "security": [
  15109. {
  15110. "ApiKeyAuth": []
  15111. }
  15112. ],
  15113. "produces": [
  15114. "application/json"
  15115. ],
  15116. "tags": [
  15117. "仓单贸易v2"
  15118. ],
  15119. "summary": "查询仓单回购明细",
  15120. "parameters": [
  15121. {
  15122. "type": "integer",
  15123. "description": "融资合同id",
  15124. "name": "scfcontractid",
  15125. "in": "query"
  15126. }
  15127. ],
  15128. "responses": {
  15129. "200": {
  15130. "description": "OK",
  15131. "schema": {
  15132. "type": "array",
  15133. "items": {
  15134. "$ref": "#/definitions/models.WrBuybackDetail"
  15135. }
  15136. }
  15137. },
  15138. "500": {
  15139. "description": "Internal Server Error",
  15140. "schema": {
  15141. "$ref": "#/definitions/app.Response"
  15142. }
  15143. }
  15144. }
  15145. }
  15146. },
  15147. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  15148. "get": {
  15149. "security": [
  15150. {
  15151. "ApiKeyAuth": []
  15152. }
  15153. ],
  15154. "produces": [
  15155. "application/json"
  15156. ],
  15157. "tags": [
  15158. "仓单贸易v2"
  15159. ],
  15160. "summary": "查询固定广告配置",
  15161. "responses": {
  15162. "200": {
  15163. "description": "OK",
  15164. "schema": {
  15165. "type": "array",
  15166. "items": {
  15167. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  15168. }
  15169. }
  15170. },
  15171. "500": {
  15172. "description": "Internal Server Error",
  15173. "schema": {
  15174. "$ref": "#/definitions/app.Response"
  15175. }
  15176. }
  15177. }
  15178. }
  15179. },
  15180. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  15181. "get": {
  15182. "security": [
  15183. {
  15184. "ApiKeyAuth": []
  15185. }
  15186. ],
  15187. "produces": [
  15188. "application/json"
  15189. ],
  15190. "tags": [
  15191. "仓单贸易v2"
  15192. ],
  15193. "summary": "查询合约交收可点选仓单",
  15194. "parameters": [
  15195. {
  15196. "type": "integer",
  15197. "description": "资金账号",
  15198. "name": "accountid",
  15199. "in": "query",
  15200. "required": true
  15201. },
  15202. {
  15203. "type": "integer",
  15204. "description": "商品id",
  15205. "name": "goodsid",
  15206. "in": "query",
  15207. "required": true
  15208. }
  15209. ],
  15210. "responses": {
  15211. "200": {
  15212. "description": "OK",
  15213. "schema": {
  15214. "type": "array",
  15215. "items": {
  15216. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  15217. }
  15218. }
  15219. },
  15220. "500": {
  15221. "description": "Internal Server Error",
  15222. "schema": {
  15223. "$ref": "#/definitions/app.Response"
  15224. }
  15225. }
  15226. }
  15227. }
  15228. },
  15229. "/WrTrade2/QueryWrDeliveryDetail": {
  15230. "get": {
  15231. "security": [
  15232. {
  15233. "ApiKeyAuth": []
  15234. }
  15235. ],
  15236. "produces": [
  15237. "application/json"
  15238. ],
  15239. "tags": [
  15240. "仓单贸易v2"
  15241. ],
  15242. "summary": "查询交收",
  15243. "parameters": [
  15244. {
  15245. "type": "integer",
  15246. "description": "用户id",
  15247. "name": "userid",
  15248. "in": "query",
  15249. "required": true
  15250. },
  15251. {
  15252. "type": "integer",
  15253. "description": "资金账号id",
  15254. "name": "accountid",
  15255. "in": "query"
  15256. },
  15257. {
  15258. "type": "string",
  15259. "description": "开始交易日(yyyymmdd)",
  15260. "name": "begindate",
  15261. "in": "query"
  15262. },
  15263. {
  15264. "type": "string",
  15265. "description": "结束交易日(yyyymmdd)",
  15266. "name": "enddate",
  15267. "in": "query"
  15268. }
  15269. ],
  15270. "responses": {
  15271. "200": {
  15272. "description": "OK",
  15273. "schema": {
  15274. "type": "array",
  15275. "items": {
  15276. "$ref": "#/definitions/models.WrDeliveryDetail"
  15277. }
  15278. }
  15279. },
  15280. "500": {
  15281. "description": "Internal Server Error",
  15282. "schema": {
  15283. "$ref": "#/definitions/app.Response"
  15284. }
  15285. }
  15286. }
  15287. }
  15288. },
  15289. "/WrTrade2/QueryWrDraftUserInfo": {
  15290. "get": {
  15291. "security": [
  15292. {
  15293. "ApiKeyAuth": []
  15294. }
  15295. ],
  15296. "produces": [
  15297. "application/json"
  15298. ],
  15299. "tags": [
  15300. "仓单贸易v2"
  15301. ],
  15302. "summary": "查询实名认证信息",
  15303. "parameters": [
  15304. {
  15305. "type": "integer",
  15306. "description": "用户ID",
  15307. "name": "userid",
  15308. "in": "query",
  15309. "required": true
  15310. },
  15311. {
  15312. "type": "integer",
  15313. "description": "用户状态 1:正常 2:注销",
  15314. "name": "userstatus",
  15315. "in": "query"
  15316. }
  15317. ],
  15318. "responses": {
  15319. "200": {
  15320. "description": "OK",
  15321. "schema": {
  15322. "type": "array",
  15323. "items": {
  15324. "$ref": "#/definitions/models.WrDraftUserInfo"
  15325. }
  15326. }
  15327. },
  15328. "500": {
  15329. "description": "Internal Server Error",
  15330. "schema": {
  15331. "$ref": "#/definitions/app.Response"
  15332. }
  15333. }
  15334. }
  15335. }
  15336. },
  15337. "/WrTrade2/QueryWrFactorTypeInfo": {
  15338. "get": {
  15339. "security": [
  15340. {
  15341. "ApiKeyAuth": []
  15342. }
  15343. ],
  15344. "produces": [
  15345. "application/json"
  15346. ],
  15347. "tags": [
  15348. "仓单贸易v2"
  15349. ],
  15350. "summary": "查询仓单要素详细信息",
  15351. "parameters": [
  15352. {
  15353. "type": "integer",
  15354. "description": "仓单要素id",
  15355. "name": "wrfactortypeid",
  15356. "in": "query",
  15357. "required": true
  15358. }
  15359. ],
  15360. "responses": {
  15361. "200": {
  15362. "description": "OK",
  15363. "schema": {
  15364. "type": "array",
  15365. "items": {
  15366. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15367. }
  15368. }
  15369. },
  15370. "500": {
  15371. "description": "Internal Server Error",
  15372. "schema": {
  15373. "$ref": "#/definitions/app.Response"
  15374. }
  15375. }
  15376. }
  15377. }
  15378. },
  15379. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15380. "get": {
  15381. "security": [
  15382. {
  15383. "ApiKeyAuth": []
  15384. }
  15385. ],
  15386. "produces": [
  15387. "application/json"
  15388. ],
  15389. "tags": [
  15390. "仓单贸易v2"
  15391. ],
  15392. "summary": "查询仓单要素详细信息列表项",
  15393. "parameters": [
  15394. {
  15395. "type": "integer",
  15396. "description": "仓单要素id",
  15397. "name": "wrfactortypeid",
  15398. "in": "query",
  15399. "required": true
  15400. }
  15401. ],
  15402. "responses": {
  15403. "200": {
  15404. "description": "OK",
  15405. "schema": {
  15406. "type": "array",
  15407. "items": {
  15408. "$ref": "#/definitions/models.WrTypeItem"
  15409. }
  15410. }
  15411. },
  15412. "500": {
  15413. "description": "Internal Server Error",
  15414. "schema": {
  15415. "$ref": "#/definitions/app.Response"
  15416. }
  15417. }
  15418. }
  15419. }
  15420. },
  15421. "/WrTrade2/QueryWrFinanceBuyApply": {
  15422. "get": {
  15423. "security": [
  15424. {
  15425. "ApiKeyAuth": []
  15426. }
  15427. ],
  15428. "description": "页面 融资信息+ / 申请单",
  15429. "produces": [
  15430. "application/json"
  15431. ],
  15432. "tags": [
  15433. "仓单贸易v2"
  15434. ],
  15435. "summary": "查询融资购买申请",
  15436. "parameters": [
  15437. {
  15438. "type": "integer",
  15439. "description": "用户id",
  15440. "name": "userid",
  15441. "in": "query",
  15442. "required": true
  15443. }
  15444. ],
  15445. "responses": {
  15446. "200": {
  15447. "description": "OK",
  15448. "schema": {
  15449. "type": "array",
  15450. "items": {
  15451. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15452. }
  15453. }
  15454. },
  15455. "500": {
  15456. "description": "Internal Server Error",
  15457. "schema": {
  15458. "$ref": "#/definitions/app.Response"
  15459. }
  15460. }
  15461. }
  15462. }
  15463. },
  15464. "/WrTrade2/QueryWrFriendApply": {
  15465. "get": {
  15466. "security": [
  15467. {
  15468. "ApiKeyAuth": []
  15469. }
  15470. ],
  15471. "produces": [
  15472. "application/json"
  15473. ],
  15474. "tags": [
  15475. "仓单贸易v2"
  15476. ],
  15477. "summary": "查询好友申请记录",
  15478. "parameters": [
  15479. {
  15480. "type": "integer",
  15481. "description": "用户id",
  15482. "name": "userid",
  15483. "in": "query",
  15484. "required": true
  15485. }
  15486. ],
  15487. "responses": {
  15488. "200": {
  15489. "description": "OK",
  15490. "schema": {
  15491. "type": "array",
  15492. "items": {
  15493. "$ref": "#/definitions/models.WrFriendApply"
  15494. }
  15495. }
  15496. },
  15497. "500": {
  15498. "description": "Internal Server Error",
  15499. "schema": {
  15500. "$ref": "#/definitions/app.Response"
  15501. }
  15502. }
  15503. }
  15504. }
  15505. },
  15506. "/WrTrade2/QueryWrGoodsInfo": {
  15507. "get": {
  15508. "security": [
  15509. {
  15510. "ApiKeyAuth": []
  15511. }
  15512. ],
  15513. "produces": [
  15514. "application/json"
  15515. ],
  15516. "tags": [
  15517. "仓单贸易v2"
  15518. ],
  15519. "summary": "查询仓单商品信息",
  15520. "parameters": [
  15521. {
  15522. "type": "integer",
  15523. "description": "仓单贸易市场id",
  15524. "name": "marketid",
  15525. "in": "query"
  15526. },
  15527. {
  15528. "type": "integer",
  15529. "description": "0:仓单预售 1:仓单贸易",
  15530. "name": "haswr",
  15531. "in": "query",
  15532. "required": true
  15533. },
  15534. {
  15535. "type": "integer",
  15536. "description": "仓单要素id",
  15537. "name": "wrfactortypeid",
  15538. "in": "query",
  15539. "required": true
  15540. },
  15541. {
  15542. "type": "integer",
  15543. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15544. "name": "tmplateid",
  15545. "in": "query"
  15546. }
  15547. ],
  15548. "responses": {
  15549. "200": {
  15550. "description": "OK",
  15551. "schema": {
  15552. "type": "array",
  15553. "items": {
  15554. "$ref": "#/definitions/models.WrGoodsInfo"
  15555. }
  15556. }
  15557. },
  15558. "500": {
  15559. "description": "Internal Server Error",
  15560. "schema": {
  15561. "$ref": "#/definitions/app.Response"
  15562. }
  15563. }
  15564. }
  15565. }
  15566. },
  15567. "/WrTrade2/QueryWrMarketTradeConfig": {
  15568. "get": {
  15569. "security": [
  15570. {
  15571. "ApiKeyAuth": []
  15572. }
  15573. ],
  15574. "produces": [
  15575. "application/json"
  15576. ],
  15577. "tags": [
  15578. "仓单贸易v2"
  15579. ],
  15580. "summary": "查询市场交易参数配置",
  15581. "parameters": [
  15582. {
  15583. "type": "integer",
  15584. "description": "市场id",
  15585. "name": "marketid",
  15586. "in": "query"
  15587. }
  15588. ],
  15589. "responses": {
  15590. "200": {
  15591. "description": "OK",
  15592. "schema": {
  15593. "type": "array",
  15594. "items": {
  15595. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15596. }
  15597. }
  15598. },
  15599. "500": {
  15600. "description": "Internal Server Error",
  15601. "schema": {
  15602. "$ref": "#/definitions/app.Response"
  15603. }
  15604. }
  15605. }
  15606. }
  15607. },
  15608. "/WrTrade2/QueryWrOrderDetail": {
  15609. "get": {
  15610. "security": [
  15611. {
  15612. "ApiKeyAuth": []
  15613. }
  15614. ],
  15615. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15616. "produces": [
  15617. "application/json"
  15618. ],
  15619. "tags": [
  15620. "仓单贸易v2"
  15621. ],
  15622. "summary": "查询仓单委托单",
  15623. "parameters": [
  15624. {
  15625. "type": "integer",
  15626. "description": "页码",
  15627. "name": "page",
  15628. "in": "query"
  15629. },
  15630. {
  15631. "type": "integer",
  15632. "description": "每页条数",
  15633. "name": "pagesize",
  15634. "in": "query"
  15635. },
  15636. {
  15637. "type": "integer",
  15638. "description": "用户id",
  15639. "name": "userid",
  15640. "in": "query",
  15641. "required": true
  15642. },
  15643. {
  15644. "type": "integer",
  15645. "description": "仓单贸易市场id",
  15646. "name": "marketid",
  15647. "in": "query"
  15648. },
  15649. {
  15650. "type": "integer",
  15651. "description": "0:仓单预售 1:仓单贸易",
  15652. "name": "haswr",
  15653. "in": "query",
  15654. "required": true
  15655. },
  15656. {
  15657. "type": "integer",
  15658. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15659. "name": "bcancel",
  15660. "in": "query"
  15661. },
  15662. {
  15663. "type": "integer",
  15664. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15665. "name": "wrtradetype",
  15666. "in": "query"
  15667. },
  15668. {
  15669. "type": "string",
  15670. "description": "开始交易日(yyyymmdd)",
  15671. "name": "begindate",
  15672. "in": "query"
  15673. },
  15674. {
  15675. "type": "string",
  15676. "description": "结束交易日(yyyymmdd)",
  15677. "name": "enddate",
  15678. "in": "query"
  15679. }
  15680. ],
  15681. "responses": {
  15682. "200": {
  15683. "description": "OK",
  15684. "schema": {
  15685. "type": "array",
  15686. "items": {
  15687. "$ref": "#/definitions/models.WrOrderDetail"
  15688. }
  15689. }
  15690. },
  15691. "500": {
  15692. "description": "Internal Server Error",
  15693. "schema": {
  15694. "$ref": "#/definitions/app.Response"
  15695. }
  15696. }
  15697. }
  15698. }
  15699. },
  15700. "/WrTrade2/QueryWrOutInApply": {
  15701. "get": {
  15702. "security": [
  15703. {
  15704. "ApiKeyAuth": []
  15705. }
  15706. ],
  15707. "produces": [
  15708. "application/json"
  15709. ],
  15710. "tags": [
  15711. "仓单贸易v2"
  15712. ],
  15713. "summary": "查询提货申请",
  15714. "parameters": [
  15715. {
  15716. "type": "integer",
  15717. "description": "页码",
  15718. "name": "page",
  15719. "in": "query"
  15720. },
  15721. {
  15722. "type": "integer",
  15723. "description": "每页条数",
  15724. "name": "pagesize",
  15725. "in": "query"
  15726. },
  15727. {
  15728. "type": "integer",
  15729. "description": "用户id",
  15730. "name": "userid",
  15731. "in": "query",
  15732. "required": true
  15733. },
  15734. {
  15735. "type": "string",
  15736. "description": "开始交易日(yyyymmdd)",
  15737. "name": "begindate",
  15738. "in": "query"
  15739. },
  15740. {
  15741. "type": "string",
  15742. "description": "结束交易日(yyyymmdd)",
  15743. "name": "enddate",
  15744. "in": "query"
  15745. }
  15746. ],
  15747. "responses": {
  15748. "200": {
  15749. "description": "OK",
  15750. "schema": {
  15751. "type": "array",
  15752. "items": {
  15753. "$ref": "#/definitions/models.WrOutInApply"
  15754. }
  15755. }
  15756. },
  15757. "500": {
  15758. "description": "Internal Server Error",
  15759. "schema": {
  15760. "$ref": "#/definitions/app.Response"
  15761. }
  15762. }
  15763. }
  15764. }
  15765. },
  15766. "/WrTrade2/QueryWrPerformancePlanStep": {
  15767. "get": {
  15768. "security": [
  15769. {
  15770. "ApiKeyAuth": []
  15771. }
  15772. ],
  15773. "produces": [
  15774. "application/json"
  15775. ],
  15776. "tags": [
  15777. "仓单贸易v2"
  15778. ],
  15779. "summary": "查询履约信息详情",
  15780. "parameters": [
  15781. {
  15782. "type": "integer",
  15783. "description": "履约计划id(performanceplanid)",
  15784. "name": "planid",
  15785. "in": "query",
  15786. "required": true
  15787. },
  15788. {
  15789. "type": "integer",
  15790. "description": "当前步骤id",
  15791. "name": "curstepid",
  15792. "in": "query"
  15793. }
  15794. ],
  15795. "responses": {
  15796. "200": {
  15797. "description": "OK",
  15798. "schema": {
  15799. "type": "array",
  15800. "items": {
  15801. "$ref": "#/definitions/models.WrPerformancePlanStep"
  15802. }
  15803. }
  15804. },
  15805. "500": {
  15806. "description": "Internal Server Error",
  15807. "schema": {
  15808. "$ref": "#/definitions/app.Response"
  15809. }
  15810. }
  15811. }
  15812. }
  15813. },
  15814. "/WrTrade2/QueryWrPerformanceStepType": {
  15815. "get": {
  15816. "security": [
  15817. {
  15818. "ApiKeyAuth": []
  15819. }
  15820. ],
  15821. "produces": [
  15822. "application/json"
  15823. ],
  15824. "tags": [
  15825. "仓单贸易v2"
  15826. ],
  15827. "summary": "查询履约步骤枚举",
  15828. "responses": {
  15829. "200": {
  15830. "description": "OK",
  15831. "schema": {
  15832. "type": "array",
  15833. "items": {
  15834. "$ref": "#/definitions/models.WrPerformanceStepType"
  15835. }
  15836. }
  15837. },
  15838. "500": {
  15839. "description": "Internal Server Error",
  15840. "schema": {
  15841. "$ref": "#/definitions/app.Response"
  15842. }
  15843. }
  15844. }
  15845. }
  15846. },
  15847. "/WrTrade2/QueryWrPosition": {
  15848. "get": {
  15849. "security": [
  15850. {
  15851. "ApiKeyAuth": []
  15852. }
  15853. ],
  15854. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  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. "type": "integer",
  15872. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  15873. "name": "querytype",
  15874. "in": "query",
  15875. "required": true
  15876. },
  15877. {
  15878. "type": "integer",
  15879. "description": "0:仓单预售 1:仓单贸易",
  15880. "name": "haswr",
  15881. "in": "query",
  15882. "required": true
  15883. },
  15884. {
  15885. "type": "string",
  15886. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15887. "name": "dgitemname",
  15888. "in": "query"
  15889. },
  15890. {
  15891. "type": "integer",
  15892. "description": "仓库id(筛选条件)",
  15893. "name": "warehouseid",
  15894. "in": "query"
  15895. },
  15896. {
  15897. "type": "integer",
  15898. "description": "品种id",
  15899. "name": "deliverygoodsid",
  15900. "in": "query"
  15901. },
  15902. {
  15903. "type": "integer",
  15904. "description": "品类id",
  15905. "name": "wrstandardid",
  15906. "in": "query"
  15907. }
  15908. ],
  15909. "responses": {
  15910. "200": {
  15911. "description": "OK",
  15912. "schema": {
  15913. "type": "array",
  15914. "items": {
  15915. "$ref": "#/definitions/models.WrPosition"
  15916. }
  15917. }
  15918. },
  15919. "500": {
  15920. "description": "Internal Server Error",
  15921. "schema": {
  15922. "$ref": "#/definitions/app.Response"
  15923. }
  15924. }
  15925. }
  15926. }
  15927. },
  15928. "/WrTrade2/QueryWrPreSaleInfo": {
  15929. "get": {
  15930. "security": [
  15931. {
  15932. "ApiKeyAuth": []
  15933. }
  15934. ],
  15935. "produces": [
  15936. "application/json"
  15937. ],
  15938. "tags": [
  15939. "仓单贸易v2"
  15940. ],
  15941. "summary": "查询新品发布",
  15942. "parameters": [
  15943. {
  15944. "type": "integer",
  15945. "description": "市场id",
  15946. "name": "marketid",
  15947. "in": "query"
  15948. },
  15949. {
  15950. "type": "string",
  15951. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  15952. "name": "presalestatus",
  15953. "in": "query"
  15954. },
  15955. {
  15956. "type": "integer",
  15957. "description": "摇号标识 - 0:未摇号 1:已摇号",
  15958. "name": "lotteryflag",
  15959. "in": "query"
  15960. },
  15961. {
  15962. "type": "integer",
  15963. "description": "最近多少条记录(按创建时间倒序)",
  15964. "name": "lastnum",
  15965. "in": "query"
  15966. }
  15967. ],
  15968. "responses": {
  15969. "200": {
  15970. "description": "OK",
  15971. "schema": {
  15972. "type": "array",
  15973. "items": {
  15974. "$ref": "#/definitions/models.WrPreSaleInfo"
  15975. }
  15976. }
  15977. },
  15978. "500": {
  15979. "description": "Internal Server Error",
  15980. "schema": {
  15981. "$ref": "#/definitions/app.Response"
  15982. }
  15983. }
  15984. }
  15985. }
  15986. },
  15987. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  15988. "get": {
  15989. "security": [
  15990. {
  15991. "ApiKeyAuth": []
  15992. }
  15993. ],
  15994. "produces": [
  15995. "application/json"
  15996. ],
  15997. "tags": [
  15998. "仓单贸易v2"
  15999. ],
  16000. "summary": "查询价格走势",
  16001. "parameters": [
  16002. {
  16003. "type": "integer",
  16004. "description": "市场id",
  16005. "name": "marketid",
  16006. "in": "query",
  16007. "required": true
  16008. },
  16009. {
  16010. "type": "integer",
  16011. "description": "现货商品id",
  16012. "name": "wrstandardid",
  16013. "in": "query",
  16014. "required": true
  16015. },
  16016. {
  16017. "type": "string",
  16018. "description": "开始交易日(yyyymmdd)",
  16019. "name": "begindate",
  16020. "in": "query"
  16021. },
  16022. {
  16023. "type": "string",
  16024. "description": "结束交易日(yyyymmdd)",
  16025. "name": "enddate",
  16026. "in": "query"
  16027. },
  16028. {
  16029. "type": "integer",
  16030. "description": "最近多少条记录(按交易日倒序)",
  16031. "name": "lastnum",
  16032. "in": "query"
  16033. },
  16034. {
  16035. "type": "boolean",
  16036. "description": "是否今日",
  16037. "name": "istoday",
  16038. "in": "query"
  16039. }
  16040. ],
  16041. "responses": {
  16042. "200": {
  16043. "description": "OK",
  16044. "schema": {
  16045. "type": "array",
  16046. "items": {
  16047. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  16048. }
  16049. }
  16050. },
  16051. "500": {
  16052. "description": "Internal Server Error",
  16053. "schema": {
  16054. "$ref": "#/definitions/app.Response"
  16055. }
  16056. }
  16057. }
  16058. }
  16059. },
  16060. "/WrTrade2/QueryWrScfContract": {
  16061. "get": {
  16062. "security": [
  16063. {
  16064. "ApiKeyAuth": []
  16065. }
  16066. ],
  16067. "produces": [
  16068. "application/json"
  16069. ],
  16070. "tags": [
  16071. "仓单贸易v2"
  16072. ],
  16073. "summary": "查询仓单贸易融资合同",
  16074. "parameters": [
  16075. {
  16076. "type": "integer",
  16077. "description": "用户id",
  16078. "name": "userid",
  16079. "in": "query",
  16080. "required": true
  16081. },
  16082. {
  16083. "type": "integer",
  16084. "description": "融资合同id",
  16085. "name": "scfcontractid",
  16086. "in": "query"
  16087. }
  16088. ],
  16089. "responses": {
  16090. "200": {
  16091. "description": "OK",
  16092. "schema": {
  16093. "type": "array",
  16094. "items": {
  16095. "$ref": "#/definitions/models.WrScfContract"
  16096. }
  16097. }
  16098. },
  16099. "500": {
  16100. "description": "Internal Server Error",
  16101. "schema": {
  16102. "$ref": "#/definitions/app.Response"
  16103. }
  16104. }
  16105. }
  16106. }
  16107. },
  16108. "/WrTrade2/QueryWrScfContractInterest": {
  16109. "get": {
  16110. "security": [
  16111. {
  16112. "ApiKeyAuth": []
  16113. }
  16114. ],
  16115. "produces": [
  16116. "application/json"
  16117. ],
  16118. "tags": [
  16119. "仓单贸易v2"
  16120. ],
  16121. "summary": "查询融资合同费用明细",
  16122. "parameters": [
  16123. {
  16124. "type": "integer",
  16125. "description": "融资合同id",
  16126. "name": "scfcontractid",
  16127. "in": "query"
  16128. }
  16129. ],
  16130. "responses": {
  16131. "200": {
  16132. "description": "OK",
  16133. "schema": {
  16134. "type": "array",
  16135. "items": {
  16136. "$ref": "#/definitions/models.WrScfContractInterest"
  16137. }
  16138. }
  16139. },
  16140. "500": {
  16141. "description": "Internal Server Error",
  16142. "schema": {
  16143. "$ref": "#/definitions/app.Response"
  16144. }
  16145. }
  16146. }
  16147. }
  16148. },
  16149. "/WrTrade2/QueryWrSearchUser": {
  16150. "get": {
  16151. "security": [
  16152. {
  16153. "ApiKeyAuth": []
  16154. }
  16155. ],
  16156. "produces": [
  16157. "application/json"
  16158. ],
  16159. "tags": [
  16160. "仓单贸易v2"
  16161. ],
  16162. "summary": "查询用户",
  16163. "parameters": [
  16164. {
  16165. "type": "string",
  16166. "description": "用户名称(模糊匹配)",
  16167. "name": "username",
  16168. "in": "query",
  16169. "required": true
  16170. }
  16171. ],
  16172. "responses": {
  16173. "200": {
  16174. "description": "OK",
  16175. "schema": {
  16176. "type": "array",
  16177. "items": {
  16178. "$ref": "#/definitions/models.WrSearchUser"
  16179. }
  16180. }
  16181. },
  16182. "500": {
  16183. "description": "Internal Server Error",
  16184. "schema": {
  16185. "$ref": "#/definitions/app.Response"
  16186. }
  16187. }
  16188. }
  16189. }
  16190. },
  16191. "/WrTrade2/QueryWrSpecialMatchOrder": {
  16192. "get": {
  16193. "security": [
  16194. {
  16195. "ApiKeyAuth": []
  16196. }
  16197. ],
  16198. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  16199. "produces": [
  16200. "application/json"
  16201. ],
  16202. "tags": [
  16203. "仓单贸易v2"
  16204. ],
  16205. "summary": "查询指定成交",
  16206. "parameters": [
  16207. {
  16208. "type": "integer",
  16209. "description": "页码",
  16210. "name": "page",
  16211. "in": "query"
  16212. },
  16213. {
  16214. "type": "integer",
  16215. "description": "每页条数",
  16216. "name": "pagesize",
  16217. "in": "query"
  16218. },
  16219. {
  16220. "type": "integer",
  16221. "description": "用户id",
  16222. "name": "userid",
  16223. "in": "query",
  16224. "required": true
  16225. },
  16226. {
  16227. "type": "integer",
  16228. "description": "仓单贸易市场id",
  16229. "name": "marketid",
  16230. "in": "query"
  16231. },
  16232. {
  16233. "type": "integer",
  16234. "description": "0:仓单预售 1:仓单贸易",
  16235. "name": "haswr",
  16236. "in": "query",
  16237. "required": true
  16238. },
  16239. {
  16240. "type": "integer",
  16241. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  16242. "name": "isspecified",
  16243. "in": "query"
  16244. }
  16245. ],
  16246. "responses": {
  16247. "200": {
  16248. "description": "OK",
  16249. "schema": {
  16250. "type": "array",
  16251. "items": {
  16252. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  16253. }
  16254. }
  16255. },
  16256. "500": {
  16257. "description": "Internal Server Error",
  16258. "schema": {
  16259. "$ref": "#/definitions/app.Response"
  16260. }
  16261. }
  16262. }
  16263. }
  16264. },
  16265. "/WrTrade2/QueryWrStandardFactoryItem": {
  16266. "get": {
  16267. "security": [
  16268. {
  16269. "ApiKeyAuth": []
  16270. }
  16271. ],
  16272. "produces": [
  16273. "application/json"
  16274. ],
  16275. "tags": [
  16276. "仓单贸易v2"
  16277. ],
  16278. "summary": "查询品类要素定义项",
  16279. "parameters": [
  16280. {
  16281. "type": "integer",
  16282. "description": "品类id",
  16283. "name": "wrstandardid",
  16284. "in": "query",
  16285. "required": true
  16286. }
  16287. ],
  16288. "responses": {
  16289. "200": {
  16290. "description": "OK",
  16291. "schema": {
  16292. "type": "array",
  16293. "items": {
  16294. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16295. }
  16296. }
  16297. },
  16298. "500": {
  16299. "description": "Internal Server Error",
  16300. "schema": {
  16301. "$ref": "#/definitions/app.Response"
  16302. }
  16303. }
  16304. }
  16305. }
  16306. },
  16307. "/WrTrade2/QueryWrTradeBargainApply": {
  16308. "get": {
  16309. "security": [
  16310. {
  16311. "ApiKeyAuth": []
  16312. }
  16313. ],
  16314. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16315. "produces": [
  16316. "application/json"
  16317. ],
  16318. "tags": [
  16319. "仓单贸易v2"
  16320. ],
  16321. "summary": "查询议价单",
  16322. "parameters": [
  16323. {
  16324. "type": "integer",
  16325. "description": "议价人id(摘牌方)",
  16326. "name": "userid",
  16327. "in": "query"
  16328. },
  16329. {
  16330. "type": "integer",
  16331. "description": "挂牌方id(查对方议价时,填写此项)",
  16332. "name": "matchuserid",
  16333. "in": "query"
  16334. },
  16335. {
  16336. "type": "integer",
  16337. "description": "关联委托单id",
  16338. "name": "wrtradeorderid",
  16339. "in": "query"
  16340. },
  16341. {
  16342. "type": "integer",
  16343. "description": "0:仓单预售 1:仓单贸易",
  16344. "name": "haswr",
  16345. "in": "query",
  16346. "required": true
  16347. },
  16348. {
  16349. "type": "string",
  16350. "description": "开始交易日(yyyymmdd)",
  16351. "name": "begindate",
  16352. "in": "query"
  16353. },
  16354. {
  16355. "type": "string",
  16356. "description": "结束交易日(yyyymmdd)",
  16357. "name": "enddate",
  16358. "in": "query"
  16359. }
  16360. ],
  16361. "responses": {
  16362. "200": {
  16363. "description": "OK",
  16364. "schema": {
  16365. "type": "array",
  16366. "items": {
  16367. "$ref": "#/definitions/models.WRTradeBargainApply"
  16368. }
  16369. }
  16370. },
  16371. "500": {
  16372. "description": "Internal Server Error",
  16373. "schema": {
  16374. "$ref": "#/definitions/app.Response"
  16375. }
  16376. }
  16377. }
  16378. }
  16379. },
  16380. "/WrTrade2/QueryWrTradeDetail": {
  16381. "get": {
  16382. "security": [
  16383. {
  16384. "ApiKeyAuth": []
  16385. }
  16386. ],
  16387. "produces": [
  16388. "application/json"
  16389. ],
  16390. "tags": [
  16391. "仓单贸易v2"
  16392. ],
  16393. "summary": "查询仓单成交明细",
  16394. "parameters": [
  16395. {
  16396. "type": "integer",
  16397. "description": "页码",
  16398. "name": "page",
  16399. "in": "query"
  16400. },
  16401. {
  16402. "type": "integer",
  16403. "description": "每页条数",
  16404. "name": "pagesize",
  16405. "in": "query"
  16406. },
  16407. {
  16408. "type": "integer",
  16409. "description": "用户id",
  16410. "name": "userid",
  16411. "in": "query",
  16412. "required": true
  16413. },
  16414. {
  16415. "type": "integer",
  16416. "description": "仓单贸易市场id",
  16417. "name": "marketid",
  16418. "in": "query"
  16419. },
  16420. {
  16421. "type": "integer",
  16422. "description": "0:仓单预售 1:仓单贸易",
  16423. "name": "haswr",
  16424. "in": "query",
  16425. "required": true
  16426. },
  16427. {
  16428. "type": "string",
  16429. "description": "开始交易日(yyyymmdd)",
  16430. "name": "begindate",
  16431. "in": "query"
  16432. },
  16433. {
  16434. "type": "string",
  16435. "description": "结束交易日(yyyymmdd)",
  16436. "name": "enddate",
  16437. "in": "query"
  16438. }
  16439. ],
  16440. "responses": {
  16441. "200": {
  16442. "description": "OK",
  16443. "schema": {
  16444. "type": "array",
  16445. "items": {
  16446. "$ref": "#/definitions/models.WrTradeDetail"
  16447. }
  16448. }
  16449. },
  16450. "500": {
  16451. "description": "Internal Server Error",
  16452. "schema": {
  16453. "$ref": "#/definitions/app.Response"
  16454. }
  16455. }
  16456. }
  16457. }
  16458. },
  16459. "/WrTrade2/QueryWrTradeOrderDetail": {
  16460. "get": {
  16461. "security": [
  16462. {
  16463. "ApiKeyAuth": []
  16464. }
  16465. ],
  16466. "produces": [
  16467. "application/json"
  16468. ],
  16469. "tags": [
  16470. "仓单贸易v2"
  16471. ],
  16472. "summary": "查询合约交易买卖大厅",
  16473. "parameters": [
  16474. {
  16475. "type": "integer",
  16476. "description": "页码",
  16477. "name": "page",
  16478. "in": "query"
  16479. },
  16480. {
  16481. "type": "integer",
  16482. "description": "每页条数",
  16483. "name": "pagesize",
  16484. "in": "query"
  16485. },
  16486. {
  16487. "type": "integer",
  16488. "description": "商品id",
  16489. "name": "goodsid",
  16490. "in": "query",
  16491. "required": true
  16492. },
  16493. {
  16494. "type": "integer",
  16495. "description": "买卖方向 0-买 1-卖",
  16496. "name": "buyorsell",
  16497. "in": "query",
  16498. "required": true
  16499. }
  16500. ],
  16501. "responses": {
  16502. "200": {
  16503. "description": "OK",
  16504. "schema": {
  16505. "type": "array",
  16506. "items": {
  16507. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16508. }
  16509. }
  16510. },
  16511. "500": {
  16512. "description": "Internal Server Error",
  16513. "schema": {
  16514. "$ref": "#/definitions/app.Response"
  16515. }
  16516. }
  16517. }
  16518. }
  16519. },
  16520. "/WrTrade2/QueryWrTradeQuote": {
  16521. "get": {
  16522. "security": [
  16523. {
  16524. "ApiKeyAuth": []
  16525. }
  16526. ],
  16527. "produces": [
  16528. "application/json"
  16529. ],
  16530. "tags": [
  16531. "仓单贸易v2"
  16532. ],
  16533. "summary": "查询仓单贸易成交行情",
  16534. "parameters": [
  16535. {
  16536. "type": "integer",
  16537. "description": "现货商品id",
  16538. "name": "wrstandardid",
  16539. "in": "query",
  16540. "required": true
  16541. },
  16542. {
  16543. "type": "string",
  16544. "description": "开始日期(yyyymmdd)",
  16545. "name": "begindate",
  16546. "in": "query",
  16547. "required": true
  16548. },
  16549. {
  16550. "type": "string",
  16551. "description": "结束日期(yyyymmdd)",
  16552. "name": "enddate",
  16553. "in": "query",
  16554. "required": true
  16555. },
  16556. {
  16557. "type": "integer",
  16558. "description": "市场id",
  16559. "name": "marketid",
  16560. "in": "query"
  16561. }
  16562. ],
  16563. "responses": {
  16564. "200": {
  16565. "description": "OK",
  16566. "schema": {
  16567. "type": "array",
  16568. "items": {
  16569. "$ref": "#/definitions/models.Wrtradetradequote"
  16570. }
  16571. }
  16572. },
  16573. "500": {
  16574. "description": "Internal Server Error",
  16575. "schema": {
  16576. "$ref": "#/definitions/app.Response"
  16577. }
  16578. }
  16579. }
  16580. }
  16581. },
  16582. "/WrTrade2/QueryWrUserFriend": {
  16583. "get": {
  16584. "security": [
  16585. {
  16586. "ApiKeyAuth": []
  16587. }
  16588. ],
  16589. "produces": [
  16590. "application/json"
  16591. ],
  16592. "tags": [
  16593. "仓单贸易v2"
  16594. ],
  16595. "summary": "查询我的朋友",
  16596. "parameters": [
  16597. {
  16598. "type": "integer",
  16599. "description": "用户id",
  16600. "name": "userid",
  16601. "in": "query",
  16602. "required": true
  16603. },
  16604. {
  16605. "type": "integer",
  16606. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16607. "name": "newuserid",
  16608. "in": "query"
  16609. }
  16610. ],
  16611. "responses": {
  16612. "200": {
  16613. "description": "OK",
  16614. "schema": {
  16615. "type": "array",
  16616. "items": {
  16617. "$ref": "#/definitions/models.WrUserFriend"
  16618. }
  16619. }
  16620. },
  16621. "500": {
  16622. "description": "Internal Server Error",
  16623. "schema": {
  16624. "$ref": "#/definitions/app.Response"
  16625. }
  16626. }
  16627. }
  16628. }
  16629. },
  16630. "/WrTrade2/QueryWrUserReceiptInfo": {
  16631. "get": {
  16632. "security": [
  16633. {
  16634. "ApiKeyAuth": []
  16635. }
  16636. ],
  16637. "produces": [
  16638. "application/json"
  16639. ],
  16640. "tags": [
  16641. "仓单贸易v2"
  16642. ],
  16643. "summary": "查询发票信息",
  16644. "parameters": [
  16645. {
  16646. "type": "integer",
  16647. "description": "用户id",
  16648. "name": "userid",
  16649. "in": "query"
  16650. },
  16651. {
  16652. "type": "integer",
  16653. "description": "发票类型 - 1:个人 2:企业",
  16654. "name": "receipttype",
  16655. "in": "query"
  16656. }
  16657. ],
  16658. "responses": {
  16659. "200": {
  16660. "description": "OK",
  16661. "schema": {
  16662. "type": "array",
  16663. "items": {
  16664. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16665. }
  16666. }
  16667. },
  16668. "500": {
  16669. "description": "Internal Server Error",
  16670. "schema": {
  16671. "$ref": "#/definitions/app.Response"
  16672. }
  16673. }
  16674. }
  16675. }
  16676. },
  16677. "/WrTrade2/QueryXhcpSellBackApply": {
  16678. "get": {
  16679. "security": [
  16680. {
  16681. "ApiKeyAuth": []
  16682. }
  16683. ],
  16684. "produces": [
  16685. "application/json"
  16686. ],
  16687. "tags": [
  16688. "仓单贸易v2"
  16689. ],
  16690. "summary": "查询我的回收申请(新会陈皮)",
  16691. "parameters": [
  16692. {
  16693. "type": "integer",
  16694. "description": "用户ID",
  16695. "name": "userid",
  16696. "in": "query",
  16697. "required": true
  16698. }
  16699. ],
  16700. "responses": {
  16701. "200": {
  16702. "description": "OK",
  16703. "schema": {
  16704. "type": "array",
  16705. "items": {
  16706. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16707. }
  16708. }
  16709. },
  16710. "500": {
  16711. "description": "Internal Server Error",
  16712. "schema": {
  16713. "$ref": "#/definitions/app.Response"
  16714. }
  16715. }
  16716. }
  16717. }
  16718. },
  16719. "/ZJ/GetBankTip": {
  16720. "get": {
  16721. "produces": [
  16722. "application/json"
  16723. ],
  16724. "tags": [
  16725. "中江"
  16726. ],
  16727. "summary": "获取中江网银端出入金提示信息",
  16728. "responses": {
  16729. "200": {
  16730. "description": "OK",
  16731. "schema": {
  16732. "type": "string"
  16733. }
  16734. },
  16735. "500": {
  16736. "description": "Internal Server Error",
  16737. "schema": {
  16738. "$ref": "#/definitions/app.Response"
  16739. }
  16740. }
  16741. }
  16742. }
  16743. },
  16744. "/ZJ/GetCusBankChannels": {
  16745. "get": {
  16746. "produces": [
  16747. "application/json"
  16748. ],
  16749. "tags": [
  16750. "中江"
  16751. ],
  16752. "summary": "获取中江出入金渠道显示列表",
  16753. "responses": {
  16754. "200": {
  16755. "description": "OK",
  16756. "schema": {
  16757. "type": "array",
  16758. "items": {
  16759. "type": "string"
  16760. }
  16761. }
  16762. },
  16763. "500": {
  16764. "description": "Internal Server Error",
  16765. "schema": {
  16766. "$ref": "#/definitions/app.Response"
  16767. }
  16768. }
  16769. }
  16770. }
  16771. }
  16772. },
  16773. "definitions": {
  16774. "app.Response": {
  16775. "type": "object",
  16776. "properties": {
  16777. "code": {
  16778. "type": "integer"
  16779. },
  16780. "data": {},
  16781. "msg": {
  16782. "type": "string"
  16783. },
  16784. "page": {
  16785. "description": "页码",
  16786. "type": "integer"
  16787. },
  16788. "pagesize": {
  16789. "description": "每页条数",
  16790. "type": "integer"
  16791. },
  16792. "total": {
  16793. "description": "总条数",
  16794. "type": "integer"
  16795. }
  16796. }
  16797. },
  16798. "common.ClientMenu": {
  16799. "type": "object",
  16800. "properties": {
  16801. "children": {
  16802. "description": "子菜单列表",
  16803. "type": "array",
  16804. "items": {
  16805. "$ref": "#/definitions/common.ClientMenu"
  16806. }
  16807. },
  16808. "code": {
  16809. "description": "ID",
  16810. "type": "string"
  16811. },
  16812. "isshow": {
  16813. "description": "是否显示",
  16814. "type": "boolean"
  16815. },
  16816. "remark": {
  16817. "description": "备注",
  16818. "type": "string"
  16819. },
  16820. "rulekey": {
  16821. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  16822. "type": "string"
  16823. },
  16824. "sort": {
  16825. "description": "排序",
  16826. "type": "integer"
  16827. },
  16828. "title": {
  16829. "description": "标题",
  16830. "type": "string"
  16831. },
  16832. "type": {
  16833. "description": "类型,1:菜单 2:按钮",
  16834. "type": "integer"
  16835. },
  16836. "url": {
  16837. "description": "URL",
  16838. "type": "string"
  16839. }
  16840. }
  16841. },
  16842. "common.PCWebMenu": {
  16843. "type": "object",
  16844. "properties": {
  16845. "auth": {
  16846. "description": "页面权限列表",
  16847. "type": "array",
  16848. "items": {
  16849. "$ref": "#/definitions/common.PCWebMenuAuth"
  16850. }
  16851. },
  16852. "children": {
  16853. "description": "子菜单列表",
  16854. "type": "array",
  16855. "items": {
  16856. "$ref": "#/definitions/common.PCWebMenu"
  16857. }
  16858. },
  16859. "code": {
  16860. "description": "ID,新版本中权限KEY也是这个字段",
  16861. "type": "string"
  16862. },
  16863. "component": {
  16864. "description": "路由组件",
  16865. "type": "string"
  16866. },
  16867. "isshow": {
  16868. "description": "是否显示",
  16869. "type": "boolean"
  16870. },
  16871. "path": {
  16872. "description": "路由路径",
  16873. "type": "string"
  16874. },
  16875. "remark": {
  16876. "description": "备注",
  16877. "type": "string"
  16878. },
  16879. "rulekey": {
  16880. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16881. "type": "string"
  16882. },
  16883. "sort": {
  16884. "description": "排序",
  16885. "type": "integer"
  16886. },
  16887. "title": {
  16888. "description": "标题",
  16889. "type": "string"
  16890. },
  16891. "url": {
  16892. "description": "URL",
  16893. "type": "string"
  16894. }
  16895. }
  16896. },
  16897. "common.PCWebMenuAuth": {
  16898. "type": "object",
  16899. "properties": {
  16900. "code": {
  16901. "description": "ID,新版本中权限KEY也是这个字段",
  16902. "type": "string"
  16903. },
  16904. "isshow": {
  16905. "description": "是否显示",
  16906. "type": "boolean"
  16907. },
  16908. "label": {
  16909. "description": "标题",
  16910. "type": "string"
  16911. },
  16912. "remark": {
  16913. "description": "备注",
  16914. "type": "string"
  16915. },
  16916. "rulekey": {
  16917. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  16918. "type": "string"
  16919. }
  16920. }
  16921. },
  16922. "common.QueryImageConfigsRsp": {
  16923. "type": "object",
  16924. "required": [
  16925. "configid"
  16926. ],
  16927. "properties": {
  16928. "areauserid": {
  16929. "description": "所属机构ID",
  16930. "type": "integer"
  16931. },
  16932. "configid": {
  16933. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  16934. "type": "integer"
  16935. },
  16936. "createdate": {
  16937. "description": "创建时间",
  16938. "type": "string"
  16939. },
  16940. "creatorid": {
  16941. "description": "创建人",
  16942. "type": "integer"
  16943. },
  16944. "imagedetailpath": {
  16945. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  16946. "type": "string"
  16947. },
  16948. "imagepath": {
  16949. "description": "图片",
  16950. "type": "string"
  16951. },
  16952. "imagetype": {
  16953. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  16954. "type": "integer"
  16955. },
  16956. "isshow": {
  16957. "description": "是否展示 - 0:不展示 1:展示",
  16958. "type": "integer"
  16959. },
  16960. "marketid": {
  16961. "description": "市场ID",
  16962. "type": "integer"
  16963. },
  16964. "modifierid": {
  16965. "description": "操作人",
  16966. "type": "integer"
  16967. },
  16968. "sort": {
  16969. "description": "排序",
  16970. "type": "integer"
  16971. },
  16972. "title": {
  16973. "description": "标题",
  16974. "type": "string"
  16975. },
  16976. "trademode": {
  16977. "description": "交易模式",
  16978. "type": "integer"
  16979. },
  16980. "updatedate": {
  16981. "description": "修改时间",
  16982. "type": "string"
  16983. },
  16984. "url": {
  16985. "description": "链接(地址或商品ID)",
  16986. "type": "string"
  16987. },
  16988. "urltype": {
  16989. "description": "链接类型 - 1:直接地址 2:商品ID",
  16990. "type": "integer"
  16991. }
  16992. }
  16993. },
  16994. "common.QueryNoticeRsp": {
  16995. "type": "object",
  16996. "required": [
  16997. "autoid"
  16998. ],
  16999. "properties": {
  17000. "auditoruserid": {
  17001. "description": "审核人",
  17002. "type": "integer"
  17003. },
  17004. "auditremark": {
  17005. "description": "审核备注",
  17006. "type": "string"
  17007. },
  17008. "audittime": {
  17009. "description": "审核日期",
  17010. "type": "string"
  17011. },
  17012. "autoid": {
  17013. "description": "自增ID",
  17014. "type": "integer"
  17015. },
  17016. "content": {
  17017. "description": "内容",
  17018. "type": "string"
  17019. },
  17020. "createtime": {
  17021. "description": "创建时间",
  17022. "type": "string"
  17023. },
  17024. "creatorid": {
  17025. "description": "建仓人",
  17026. "type": "integer"
  17027. },
  17028. "endtime": {
  17029. "description": "结束时间",
  17030. "type": "string"
  17031. },
  17032. "istop": {
  17033. "description": "是否置顶 - 0:不置顶 1:置顶",
  17034. "type": "integer"
  17035. },
  17036. "msgiconurl": {
  17037. "description": "消息图标Url",
  17038. "type": "string"
  17039. },
  17040. "msgtype": {
  17041. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  17042. "type": "integer"
  17043. },
  17044. "publisher": {
  17045. "description": "消息发布者",
  17046. "type": "string"
  17047. },
  17048. "readed": {
  17049. "description": "是否已读",
  17050. "type": "boolean"
  17051. },
  17052. "scheduletime": {
  17053. "description": "计划发送时间",
  17054. "type": "string"
  17055. },
  17056. "sendtype": {
  17057. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  17058. "type": "integer"
  17059. },
  17060. "sentstatus": {
  17061. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  17062. "type": "integer"
  17063. },
  17064. "title": {
  17065. "description": "标题",
  17066. "type": "string"
  17067. },
  17068. "userid": {
  17069. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  17070. "type": "integer"
  17071. }
  17072. }
  17073. },
  17074. "common.QueryProvincesAndCitiesRsp": {
  17075. "type": "object",
  17076. "properties": {
  17077. "cities": {
  17078. "description": "市",
  17079. "type": "array",
  17080. "items": {
  17081. "$ref": "#/definitions/models.Division"
  17082. }
  17083. },
  17084. "province": {
  17085. "description": "省",
  17086. "$ref": "#/definitions/models.Division"
  17087. }
  17088. }
  17089. },
  17090. "common.QueryTableDefineRsp": {
  17091. "type": "object",
  17092. "required": [
  17093. "tablekey"
  17094. ],
  17095. "properties": {
  17096. "columns": {
  17097. "description": "列头信息数组",
  17098. "type": "array",
  17099. "items": {
  17100. "$ref": "#/definitions/models.Tablecolumnconfig"
  17101. }
  17102. },
  17103. "remark": {
  17104. "description": "Remark",
  17105. "type": "string"
  17106. },
  17107. "tabelmenu": {
  17108. "description": "列表菜单",
  17109. "type": "string"
  17110. },
  17111. "tablekey": {
  17112. "description": "列表Key",
  17113. "type": "string"
  17114. },
  17115. "tablename": {
  17116. "description": "列表名称",
  17117. "type": "string"
  17118. },
  17119. "tabletype": {
  17120. "description": "列表类型 - 1:管理端 2:终端",
  17121. "type": "integer"
  17122. }
  17123. }
  17124. },
  17125. "common.QueryTraderMenuRsp": {
  17126. "type": "object",
  17127. "properties": {
  17128. "OperationMenu": {
  17129. "description": "功能菜单",
  17130. "type": "array",
  17131. "items": {
  17132. "$ref": "#/definitions/models.OperationPrimaryMenu"
  17133. }
  17134. },
  17135. "QuoteMenu": {
  17136. "description": "报价牌分类菜单",
  17137. "type": "array",
  17138. "items": {
  17139. "$ref": "#/definitions/models.QuotePrimaryMenu"
  17140. }
  17141. }
  17142. }
  17143. },
  17144. "cptrade.Cptradepositioncancel": {
  17145. "type": "object",
  17146. "required": [
  17147. "cancelid"
  17148. ],
  17149. "properties": {
  17150. "accountid": {
  17151. "description": "申请人账户ID",
  17152. "type": "integer"
  17153. },
  17154. "applystatus": {
  17155. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17156. "type": "integer"
  17157. },
  17158. "applytime": {
  17159. "description": "申请时间",
  17160. "type": "string"
  17161. },
  17162. "cancelid": {
  17163. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  17164. "type": "integer"
  17165. },
  17166. "cancelqty": {
  17167. "description": "注销数量",
  17168. "type": "integer"
  17169. },
  17170. "createtime": {
  17171. "description": "创建时间",
  17172. "type": "string"
  17173. },
  17174. "creatorid": {
  17175. "description": "创建人ID",
  17176. "type": "integer"
  17177. },
  17178. "creatorname": {
  17179. "description": "创建人",
  17180. "type": "string"
  17181. },
  17182. "goodscode": {
  17183. "description": "订单商品代码",
  17184. "type": "string"
  17185. },
  17186. "goodsid": {
  17187. "description": "商品ID",
  17188. "type": "integer"
  17189. },
  17190. "goodsname": {
  17191. "description": "订单商品名称",
  17192. "type": "string"
  17193. },
  17194. "goodunit": {
  17195. "description": "报价单位",
  17196. "type": "string"
  17197. },
  17198. "handlestatus": {
  17199. "description": "处理状态",
  17200. "type": "integer"
  17201. },
  17202. "marketid": {
  17203. "description": "市场ID",
  17204. "type": "integer"
  17205. },
  17206. "marketname": {
  17207. "description": "市场名称",
  17208. "type": "string"
  17209. },
  17210. "tradedate": {
  17211. "description": "交易日(yyyyMMdd)",
  17212. "type": "string"
  17213. },
  17214. "userid": {
  17215. "description": "申请人ID",
  17216. "type": "integer"
  17217. }
  17218. }
  17219. },
  17220. "cptrade.Cptradepresaleapply": {
  17221. "type": "object",
  17222. "required": [
  17223. "applyid"
  17224. ],
  17225. "properties": {
  17226. "accountid": {
  17227. "description": "申请人账户ID",
  17228. "type": "integer"
  17229. },
  17230. "applyid": {
  17231. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  17232. "type": "integer"
  17233. },
  17234. "applyremark": {
  17235. "description": "申请备注",
  17236. "type": "string"
  17237. },
  17238. "applystatus": {
  17239. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17240. "type": "integer"
  17241. },
  17242. "applytime": {
  17243. "description": "申请时间",
  17244. "type": "string"
  17245. },
  17246. "attachmenturl": {
  17247. "description": "附件地址",
  17248. "type": "string"
  17249. },
  17250. "endtime": {
  17251. "description": "预售结束时间",
  17252. "type": "string"
  17253. },
  17254. "goodscode": {
  17255. "description": "商品代码",
  17256. "type": "string"
  17257. },
  17258. "goodsid": {
  17259. "description": "商品ID",
  17260. "type": "integer"
  17261. },
  17262. "goodsname": {
  17263. "description": "商品名称",
  17264. "type": "string"
  17265. },
  17266. "goodunit": {
  17267. "description": "报价单位",
  17268. "type": "string"
  17269. },
  17270. "handlestatus": {
  17271. "description": "处理状态",
  17272. "type": "integer"
  17273. },
  17274. "marketid": {
  17275. "description": "预售市场ID",
  17276. "type": "integer"
  17277. },
  17278. "marketname": {
  17279. "description": "预售市场名称",
  17280. "type": "string"
  17281. },
  17282. "presaleqty": {
  17283. "description": "预售数量",
  17284. "type": "integer"
  17285. },
  17286. "relatedgoodscode": {
  17287. "description": "关联交易合约代码",
  17288. "type": "string"
  17289. },
  17290. "relatedgoodsid": {
  17291. "description": "关联交易合约ID",
  17292. "type": "integer"
  17293. },
  17294. "relatedgoodsname": {
  17295. "description": "关联交易合约名称",
  17296. "type": "string"
  17297. },
  17298. "starttime": {
  17299. "description": "预售开始时间",
  17300. "type": "string"
  17301. },
  17302. "tradedate": {
  17303. "description": "交易日(yyyyMMdd)",
  17304. "type": "string"
  17305. },
  17306. "trademode": {
  17307. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17308. "type": "integer"
  17309. },
  17310. "userid": {
  17311. "description": "申请人ID",
  17312. "type": "integer"
  17313. }
  17314. }
  17315. },
  17316. "cptrade.Cptradeusergoodsdata": {
  17317. "type": "object",
  17318. "required": [
  17319. "accountid",
  17320. "goodsid"
  17321. ],
  17322. "properties": {
  17323. "EnabledQty": {
  17324. "description": "可用量",
  17325. "type": "integer"
  17326. },
  17327. "GoodsCode": {
  17328. "description": "订单商品代码",
  17329. "type": "string"
  17330. },
  17331. "GoodsName": {
  17332. "description": "订单商品名称",
  17333. "type": "string"
  17334. },
  17335. "WRStandardCode": {
  17336. "description": "仓单标准代码",
  17337. "type": "string"
  17338. },
  17339. "WRStandardName": {
  17340. "description": "仓单标准名称",
  17341. "type": "string"
  17342. },
  17343. "accountid": {
  17344. "description": "账户ID",
  17345. "type": "integer"
  17346. },
  17347. "cancelqty": {
  17348. "description": "注销量",
  17349. "type": "integer"
  17350. },
  17351. "curpresaleqty": {
  17352. "description": "当前预售量",
  17353. "type": "integer"
  17354. },
  17355. "deliveryqty": {
  17356. "description": "交割量",
  17357. "type": "integer"
  17358. },
  17359. "freezeamount": {
  17360. "description": "冻结金额",
  17361. "type": "number"
  17362. },
  17363. "goodsid": {
  17364. "description": "商品ID",
  17365. "type": "integer"
  17366. },
  17367. "goodunit": {
  17368. "description": "报价单位",
  17369. "type": "string"
  17370. },
  17371. "hasspotfreeze": {
  17372. "description": "是否有现货冻结 - 0:否 1:有",
  17373. "type": "integer"
  17374. },
  17375. "inqty": {
  17376. "description": "转入量(总数量)",
  17377. "type": "integer"
  17378. },
  17379. "marketid": {
  17380. "description": "市场ID",
  17381. "type": "integer"
  17382. },
  17383. "presaledamount": {
  17384. "description": "已预售总金额",
  17385. "type": "integer"
  17386. },
  17387. "presaledqty": {
  17388. "description": "已预售量",
  17389. "type": "integer"
  17390. },
  17391. "userid": {
  17392. "description": "用户ID",
  17393. "type": "integer"
  17394. },
  17395. "wrstandardid": {
  17396. "description": "仓单标准ID",
  17397. "type": "integer"
  17398. }
  17399. }
  17400. },
  17401. "cptrade.QueryCPTradeMyBidRsp": {
  17402. "type": "object",
  17403. "required": [
  17404. "accountid",
  17405. "goodsid",
  17406. "marketid",
  17407. "orderid",
  17408. "orderqty",
  17409. "ordertime",
  17410. "tradeprice",
  17411. "tradeqty"
  17412. ],
  17413. "properties": {
  17414. "accountid": {
  17415. "description": "账户ID[报价币种]",
  17416. "type": "integer"
  17417. },
  17418. "goodsid": {
  17419. "description": "商品ID",
  17420. "type": "integer"
  17421. },
  17422. "goodunit": {
  17423. "description": "报价单位",
  17424. "type": "string"
  17425. },
  17426. "marketid": {
  17427. "description": "市场ID",
  17428. "type": "integer"
  17429. },
  17430. "orderid": {
  17431. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17432. "type": "integer"
  17433. },
  17434. "orderprice": {
  17435. "description": "委托价格",
  17436. "type": "number"
  17437. },
  17438. "orderqty": {
  17439. "description": "委托数量",
  17440. "type": "integer"
  17441. },
  17442. "ordertime": {
  17443. "description": "委托时间",
  17444. "type": "string"
  17445. },
  17446. "ordertotalprice": {
  17447. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17448. "type": "number"
  17449. },
  17450. "ordertotalweight": {
  17451. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17452. "type": "integer"
  17453. },
  17454. "totaltotalprice": {
  17455. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17456. "type": "number"
  17457. },
  17458. "tradeprice": {
  17459. "description": "成交价格",
  17460. "type": "number"
  17461. },
  17462. "tradeqty": {
  17463. "description": "成交数量",
  17464. "type": "integer"
  17465. }
  17466. }
  17467. },
  17468. "cptrade.QueryCPTradeOrderDetailRsq": {
  17469. "type": "object",
  17470. "required": [
  17471. "accountid",
  17472. "buildtype",
  17473. "buyorsell",
  17474. "goodsid",
  17475. "marketid",
  17476. "memberuserid",
  17477. "operatetype",
  17478. "orderqty",
  17479. "ordertime",
  17480. "pricemode",
  17481. "strorderid",
  17482. "tradedate",
  17483. "validtype"
  17484. ],
  17485. "properties": {
  17486. "accountid": {
  17487. "description": "账户ID[报价币种]",
  17488. "type": "integer"
  17489. },
  17490. "buildtype": {
  17491. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17492. "type": "integer"
  17493. },
  17494. "buyorsell": {
  17495. "description": "买卖 - 0:买 1:卖",
  17496. "type": "integer"
  17497. },
  17498. "cancelorderid": {
  17499. "description": "撤单单号(撤单时填写)",
  17500. "type": "integer"
  17501. },
  17502. "cancelqty": {
  17503. "description": "撤单数量",
  17504. "type": "integer"
  17505. },
  17506. "clientordertime": {
  17507. "description": "客户端委托时间",
  17508. "type": "string"
  17509. },
  17510. "clientticket": {
  17511. "description": "客户端流水号",
  17512. "type": "string"
  17513. },
  17514. "clienttype": {
  17515. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17516. "type": "integer"
  17517. },
  17518. "closeexchagechargevalue": {
  17519. "description": "平仓交易所手续费设置值",
  17520. "type": "number"
  17521. },
  17522. "closefeealgorithm": {
  17523. "description": "平仓手续费收取方式 1:比率 2:固定",
  17524. "type": "integer"
  17525. },
  17526. "closefreezecharge": {
  17527. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17528. "type": "number"
  17529. },
  17530. "closememberchargevalue": {
  17531. "description": "平仓会员手续费设置值",
  17532. "type": "number"
  17533. },
  17534. "closeqty": {
  17535. "description": "平仓数量(先建后平操作 需要记录)",
  17536. "type": "integer"
  17537. },
  17538. "closetradeqty": {
  17539. "description": "平仓成交数量(先建后平操作,需要记录)",
  17540. "type": "integer"
  17541. },
  17542. "closeunfreezecharge": {
  17543. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17544. "type": "number"
  17545. },
  17546. "delistingtype": {
  17547. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17548. "type": "integer"
  17549. },
  17550. "freezecharge": {
  17551. "description": "冻结手续费",
  17552. "type": "number"
  17553. },
  17554. "freezemargin": {
  17555. "description": "冻结保证金(冻结交易金额)",
  17556. "type": "number"
  17557. },
  17558. "gcaccountid": {
  17559. "description": "账户ID[合约币种]",
  17560. "type": "integer"
  17561. },
  17562. "goodsid": {
  17563. "description": "商品ID",
  17564. "type": "integer"
  17565. },
  17566. "isconfirmexercise": {
  17567. "description": "是否确认行权- 0:否 1:是",
  17568. "type": "integer"
  17569. },
  17570. "ispreexercise": {
  17571. "description": "是否预申报- 0:否 1:是",
  17572. "type": "integer"
  17573. },
  17574. "listingselecttype": {
  17575. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17576. "type": "integer"
  17577. },
  17578. "marginalgorithm": {
  17579. "description": "保证金收取方式 1:比率 2:固定",
  17580. "type": "integer"
  17581. },
  17582. "marginvalue": {
  17583. "description": "即市保证金设置值",
  17584. "type": "number"
  17585. },
  17586. "marketid": {
  17587. "description": "市场ID",
  17588. "type": "integer"
  17589. },
  17590. "marketmaxsub": {
  17591. "description": "市价最大偏移范围",
  17592. "type": "number"
  17593. },
  17594. "memberuserid": {
  17595. "description": "所属会员UserID",
  17596. "type": "integer"
  17597. },
  17598. "openexchagechargevalue": {
  17599. "description": "建仓交易所手续费设置值",
  17600. "type": "number"
  17601. },
  17602. "openfeealgorithm": {
  17603. "description": "建仓手续费收取方式 1:比率 2:固定",
  17604. "type": "integer"
  17605. },
  17606. "openfreezecharge": {
  17607. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17608. "type": "number"
  17609. },
  17610. "openmemberchargevalue": {
  17611. "description": "建仓会员手续费设置值",
  17612. "type": "number"
  17613. },
  17614. "openqty": {
  17615. "description": "开仓数量(先建后平操作,需要记录)",
  17616. "type": "integer"
  17617. },
  17618. "opentradeqty": {
  17619. "description": "开仓成交数量(先建后平操作,需要记录)",
  17620. "type": "integer"
  17621. },
  17622. "openunfreezecharge": {
  17623. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17624. "type": "number"
  17625. },
  17626. "operatetype": {
  17627. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17628. "type": "integer"
  17629. },
  17630. "operatorid": {
  17631. "description": "登录账号(LoginID)",
  17632. "type": "integer"
  17633. },
  17634. "optiontype": {
  17635. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17636. "type": "integer"
  17637. },
  17638. "orderprice": {
  17639. "description": "委托价格",
  17640. "type": "number"
  17641. },
  17642. "orderqty": {
  17643. "description": "委托数量",
  17644. "type": "integer"
  17645. },
  17646. "ordersrc": {
  17647. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17648. "type": "integer"
  17649. },
  17650. "orderstatus": {
  17651. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17652. "type": "integer"
  17653. },
  17654. "ordertime": {
  17655. "description": "委托时间",
  17656. "type": "string"
  17657. },
  17658. "preexerciseprice": {
  17659. "description": "预申报价格",
  17660. "type": "number"
  17661. },
  17662. "premium": {
  17663. "description": "权利金",
  17664. "type": "number"
  17665. },
  17666. "preorderid": {
  17667. "description": "关联预埋单号(止盈止损单时填写)",
  17668. "type": "integer"
  17669. },
  17670. "pricemode": {
  17671. "description": "取价方式 - 1:市价 2: 限价",
  17672. "type": "integer"
  17673. },
  17674. "quoteid": {
  17675. "description": "报价单ID",
  17676. "type": "integer"
  17677. },
  17678. "relatedid": {
  17679. "description": "关联单号(交割单)",
  17680. "type": "integer"
  17681. },
  17682. "retcode": {
  17683. "description": "错误代码",
  17684. "type": "integer"
  17685. },
  17686. "sessionid": {
  17687. "description": "会话ID",
  17688. "type": "integer"
  17689. },
  17690. "strorderid": {
  17691. "description": "委托单号",
  17692. "type": "string"
  17693. },
  17694. "tradedate": {
  17695. "description": "交易日(yyyyMMdd)",
  17696. "type": "string"
  17697. },
  17698. "tradeproperty": {
  17699. "description": "交易属性",
  17700. "type": "integer"
  17701. },
  17702. "tradeqty": {
  17703. "description": "成交数量",
  17704. "type": "integer"
  17705. },
  17706. "unfreezecharge": {
  17707. "description": "解冻手续费",
  17708. "type": "number"
  17709. },
  17710. "unfreezemargin": {
  17711. "description": "解冻保证金",
  17712. "type": "number"
  17713. },
  17714. "updatetime": {
  17715. "description": "更新时间",
  17716. "type": "string"
  17717. },
  17718. "uuid": {
  17719. "description": "发起端唯一id",
  17720. "type": "string"
  17721. },
  17722. "validtime": {
  17723. "description": "有效期限",
  17724. "type": "string"
  17725. },
  17726. "validtype": {
  17727. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  17728. "type": "integer"
  17729. },
  17730. "volumetype": {
  17731. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  17732. "type": "integer"
  17733. }
  17734. }
  17735. },
  17736. "cptrade.QueryMyCPTradeGoodsRsp": {
  17737. "type": "object",
  17738. "required": [
  17739. "goodscode",
  17740. "goodsid",
  17741. "goodsname",
  17742. "marketid",
  17743. "relatedgoodscode",
  17744. "relatedgoodsname"
  17745. ],
  17746. "properties": {
  17747. "accountid": {
  17748. "description": "卖方账户ID",
  17749. "type": "integer"
  17750. },
  17751. "agreeunit": {
  17752. "description": "合约单位",
  17753. "type": "number"
  17754. },
  17755. "applyid": {
  17756. "description": "关联申请ID",
  17757. "type": "integer"
  17758. },
  17759. "attachmenturl": {
  17760. "description": "附件地址",
  17761. "type": "string"
  17762. },
  17763. "createtime": {
  17764. "description": "创建时间",
  17765. "type": "string"
  17766. },
  17767. "currencyid": {
  17768. "description": "报价货币ID",
  17769. "type": "integer"
  17770. },
  17771. "decimalplace": {
  17772. "description": "报价小数位",
  17773. "type": "integer"
  17774. },
  17775. "endtime": {
  17776. "description": "预售结束时间",
  17777. "type": "string"
  17778. },
  17779. "floorprice": {
  17780. "description": "底价[大宗式竞拍]",
  17781. "type": "number"
  17782. },
  17783. "goodscode": {
  17784. "description": "商品代码(预售)",
  17785. "type": "string"
  17786. },
  17787. "goodsdetail": {
  17788. "description": "详情[大宗]",
  17789. "type": "string"
  17790. },
  17791. "goodsid": {
  17792. "description": "商品ID(自增ID SEQ_GOODS)",
  17793. "type": "integer"
  17794. },
  17795. "goodsname": {
  17796. "description": "商品名称(预售)",
  17797. "type": "string"
  17798. },
  17799. "goodunit": {
  17800. "description": "报价单位",
  17801. "type": "string"
  17802. },
  17803. "goodunitid": {
  17804. "description": "报价单位ID",
  17805. "type": "integer"
  17806. },
  17807. "marketid": {
  17808. "description": "所属市场ID",
  17809. "type": "integer"
  17810. },
  17811. "marketname": {
  17812. "description": "预售市场名称",
  17813. "type": "string"
  17814. },
  17815. "presaledamount": {
  17816. "description": "已预售总金额(预售结束时更新)",
  17817. "type": "number"
  17818. },
  17819. "presaledqty": {
  17820. "description": "已预售量(预售结束时更新)",
  17821. "type": "integer"
  17822. },
  17823. "presalemode": {
  17824. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17825. "type": "integer"
  17826. },
  17827. "presaleqty": {
  17828. "description": "预售数量",
  17829. "type": "integer"
  17830. },
  17831. "refprice": {
  17832. "description": "参考价格[一口价]",
  17833. "type": "number"
  17834. },
  17835. "relatedgoodscode": {
  17836. "description": "商品代码(订单)",
  17837. "type": "string"
  17838. },
  17839. "relatedgoodsid": {
  17840. "description": "关联交易合约ID",
  17841. "type": "integer"
  17842. },
  17843. "relatedgoodsname": {
  17844. "description": "商品名称(订单)",
  17845. "type": "string"
  17846. },
  17847. "relatedmarketid": {
  17848. "description": "关联交易合约市场ID",
  17849. "type": "integer"
  17850. },
  17851. "sellstatus": {
  17852. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17853. "type": "integer"
  17854. },
  17855. "startprice": {
  17856. "description": "起拍价[大宗式竞拍]",
  17857. "type": "number"
  17858. },
  17859. "starttime": {
  17860. "description": "预售开始时间",
  17861. "type": "string"
  17862. },
  17863. "tradedate": {
  17864. "description": "交易日(yyyyMMdd)",
  17865. "type": "string"
  17866. },
  17867. "tradeprice": {
  17868. "description": "成交价[大宗]",
  17869. "type": "number"
  17870. },
  17871. "userid": {
  17872. "description": "卖方用户ID",
  17873. "type": "integer"
  17874. }
  17875. }
  17876. },
  17877. "cptrade.QueryPresaleGoodsExRsp": {
  17878. "type": "object",
  17879. "required": [
  17880. "goodsid"
  17881. ],
  17882. "properties": {
  17883. "attachmenturl": {
  17884. "description": "附件地址",
  17885. "type": "string"
  17886. },
  17887. "createtime": {
  17888. "description": "创建时间",
  17889. "type": "string"
  17890. },
  17891. "endtime": {
  17892. "description": "预售结束时间",
  17893. "type": "string"
  17894. },
  17895. "floorprice": {
  17896. "description": "底价[大宗式竞拍]",
  17897. "type": "number"
  17898. },
  17899. "goodsdetail": {
  17900. "description": "详情[大宗]",
  17901. "type": "string"
  17902. },
  17903. "goodsid": {
  17904. "description": "商品ID(预售)",
  17905. "type": "integer"
  17906. },
  17907. "goodunit": {
  17908. "description": "报价单位",
  17909. "type": "string"
  17910. },
  17911. "marketid": {
  17912. "description": "预售市场ID - 根据预售模式选择市场",
  17913. "type": "integer"
  17914. },
  17915. "presaledamount": {
  17916. "description": "已预售总金额(预售结束时更新)",
  17917. "type": "number"
  17918. },
  17919. "presaledqty": {
  17920. "description": "已预售量(预售结束时更新)",
  17921. "type": "integer"
  17922. },
  17923. "presalemode": {
  17924. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  17925. "type": "integer"
  17926. },
  17927. "presaleqty": {
  17928. "description": "预售数量",
  17929. "type": "integer"
  17930. },
  17931. "refprice": {
  17932. "description": "参考价格[一口价]",
  17933. "type": "number"
  17934. },
  17935. "relatedgoodsid": {
  17936. "description": "关联交易合约ID",
  17937. "type": "integer"
  17938. },
  17939. "relatedmarketid": {
  17940. "description": "关联交易合约市场ID",
  17941. "type": "integer"
  17942. },
  17943. "sellstatus": {
  17944. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  17945. "type": "integer"
  17946. },
  17947. "startprice": {
  17948. "description": "起拍价[大宗式竞拍]",
  17949. "type": "number"
  17950. },
  17951. "starttime": {
  17952. "description": "预售开始时间",
  17953. "type": "string"
  17954. },
  17955. "tradedate": {
  17956. "description": "交易日(yyyyMMdd)",
  17957. "type": "string"
  17958. },
  17959. "tradeprice": {
  17960. "description": "成交价[大宗]",
  17961. "type": "number"
  17962. }
  17963. }
  17964. },
  17965. "delivery.QueryDeliveryRelationRsp": {
  17966. "type": "object",
  17967. "required": [
  17968. "begindate",
  17969. "enddate",
  17970. "goodsid",
  17971. "mindeliveryqty",
  17972. "xdeliveryratio"
  17973. ],
  17974. "properties": {
  17975. "begindate": {
  17976. "description": "起始日期(yyyyMMdd)",
  17977. "type": "string"
  17978. },
  17979. "buytemplateid": {
  17980. "description": "买履约计划模板ID",
  17981. "type": "integer"
  17982. },
  17983. "deliverygoodscode": {
  17984. "description": "品种代码",
  17985. "type": "string"
  17986. },
  17987. "deliverygoodsid": {
  17988. "description": "交割商品",
  17989. "type": "integer"
  17990. },
  17991. "deliverygoodsname": {
  17992. "description": "品种名称",
  17993. "type": "string"
  17994. },
  17995. "deliverymode": {
  17996. "description": "交割方式 - 1:点选式 2:申报式",
  17997. "type": "integer"
  17998. },
  17999. "deliverypricerule": {
  18000. "description": "交割价规则- 1:行情价 2:建仓价",
  18001. "type": "integer"
  18002. },
  18003. "deliverytype": {
  18004. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  18005. "type": "integer"
  18006. },
  18007. "enddate": {
  18008. "description": "结束日期(yyyyMMdd)",
  18009. "type": "string"
  18010. },
  18011. "enumdicname": {
  18012. "description": "品类单位名称",
  18013. "type": "string"
  18014. },
  18015. "goodscode": {
  18016. "description": "商品代码",
  18017. "type": "string"
  18018. },
  18019. "goodsid": {
  18020. "description": "交易合约ID",
  18021. "type": "integer"
  18022. },
  18023. "goodsname": {
  18024. "description": "商品名称",
  18025. "type": "string"
  18026. },
  18027. "marketid": {
  18028. "description": "市场ID",
  18029. "type": "integer"
  18030. },
  18031. "mindeliveryqty": {
  18032. "description": "最小交割系数(K)",
  18033. "type": "integer"
  18034. },
  18035. "p2deliveryprice": {
  18036. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  18037. "type": "number"
  18038. },
  18039. "p2deliveryratio": {
  18040. "description": "P2合约系数(p)",
  18041. "type": "integer"
  18042. },
  18043. "p2goodsid": {
  18044. "description": "P2合约ID",
  18045. "type": "integer"
  18046. },
  18047. "p2pricemode": {
  18048. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  18049. "type": "integer"
  18050. },
  18051. "pdeliveryprice": {
  18052. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  18053. "type": "number"
  18054. },
  18055. "pdeliveryratio": {
  18056. "description": "P合约系数(n)",
  18057. "type": "integer"
  18058. },
  18059. "pgoodscode": {
  18060. "description": "p合约代码",
  18061. "type": "string"
  18062. },
  18063. "pgoodsid": {
  18064. "description": "P合约ID",
  18065. "type": "integer"
  18066. },
  18067. "ppricemode": {
  18068. "description": "P合约价格方式 - 1:商品价 2:固定值",
  18069. "type": "integer"
  18070. },
  18071. "rratio": {
  18072. "description": "兑换系数(R)",
  18073. "type": "integer"
  18074. },
  18075. "rratio1": {
  18076. "description": "兑换系数(交易合约)(R1)",
  18077. "type": "integer"
  18078. },
  18079. "rratio2": {
  18080. "description": "兑换系数(仓单标准)(R2)",
  18081. "type": "integer"
  18082. },
  18083. "selltemplateid": {
  18084. "description": "卖履约计划模板ID",
  18085. "type": "integer"
  18086. },
  18087. "wrstandardid": {
  18088. "description": "仓单标准ID",
  18089. "type": "integer"
  18090. },
  18091. "xdeliveryratio": {
  18092. "description": "交易合约系数(m)",
  18093. "type": "integer"
  18094. }
  18095. }
  18096. },
  18097. "ermcp.ExposureDetailRsp": {
  18098. "type": "object",
  18099. "properties": {
  18100. "areauserid": {
  18101. "description": "机构ID",
  18102. "type": "integer"
  18103. },
  18104. "changeQty": {
  18105. "description": "套保变动量",
  18106. "type": "number"
  18107. },
  18108. "contracttype": {
  18109. "description": "现货合同类型 - 1:采购 -1:销售",
  18110. "type": "integer"
  18111. },
  18112. "convertfactor": {
  18113. "description": "标仓系数",
  18114. "type": "number"
  18115. },
  18116. "convertratio": {
  18117. "description": "套保系数",
  18118. "type": "number"
  18119. },
  18120. "createtime": {
  18121. "description": "时间",
  18122. "type": "string"
  18123. },
  18124. "enumdicname": {
  18125. "description": "现货商品单位名称",
  18126. "type": "string"
  18127. },
  18128. "logtype": {
  18129. "description": "类型 - 1:套保计划 2:现货合同",
  18130. "type": "integer"
  18131. },
  18132. "middlegoodsId": {
  18133. "description": "套保商品id",
  18134. "type": "integer"
  18135. },
  18136. "middlegoodscode": {
  18137. "description": "套保商品代码",
  18138. "type": "string"
  18139. },
  18140. "middlegoodsname": {
  18141. "description": "套保商品名称",
  18142. "type": "string"
  18143. },
  18144. "qty": {
  18145. "description": "数量",
  18146. "type": "number"
  18147. },
  18148. "relateNo": {
  18149. "description": "现货合同/套保计划编号",
  18150. "type": "string"
  18151. },
  18152. "wrstandardcode": {
  18153. "description": "现货商品代码",
  18154. "type": "string"
  18155. },
  18156. "wrstandardid": {
  18157. "description": "现货商品ID",
  18158. "type": "integer"
  18159. },
  18160. "wrstandardname": {
  18161. "description": "现货商品名称",
  18162. "type": "string"
  18163. }
  18164. }
  18165. },
  18166. "ermcp.ExposureHedgePosDetailRsp": {
  18167. "type": "object",
  18168. "properties": {
  18169. "buyorsell": {
  18170. "description": "买卖方向 0-买 1-卖",
  18171. "type": "integer"
  18172. },
  18173. "channelbuildtype": {
  18174. "description": "开平方向 1-建仓 2-平仓",
  18175. "type": "integer"
  18176. },
  18177. "goodscode": {
  18178. "description": "商品代码",
  18179. "type": "string"
  18180. },
  18181. "goodsname": {
  18182. "description": "商品名称",
  18183. "type": "string"
  18184. },
  18185. "hedgegoodsid": {
  18186. "description": "商品id",
  18187. "type": "integer"
  18188. },
  18189. "tradeqty": {
  18190. "description": "数量(成交数量)",
  18191. "type": "integer"
  18192. },
  18193. "tradetime": {
  18194. "description": "时间(成交时间)",
  18195. "type": "string"
  18196. }
  18197. }
  18198. },
  18199. "ermcp.ExposureHedgePositionRsp": {
  18200. "type": "object",
  18201. "properties": {
  18202. "accountid": {
  18203. "description": "资金账号[外部母账户]",
  18204. "type": "integer"
  18205. },
  18206. "curbuyposition": {
  18207. "description": "期末买头寸",
  18208. "type": "integer"
  18209. },
  18210. "cursellposition": {
  18211. "description": "期末卖头寸",
  18212. "type": "integer"
  18213. },
  18214. "curtdbuyposition": {
  18215. "description": "期末今日买头寸",
  18216. "type": "integer"
  18217. },
  18218. "curtdsellposition": {
  18219. "description": "期末今日卖头寸",
  18220. "type": "integer"
  18221. },
  18222. "curydbuyposition": {
  18223. "description": "期末上日买头寸",
  18224. "type": "integer"
  18225. },
  18226. "curydsellposition": {
  18227. "description": "期末上日卖头寸",
  18228. "type": "integer"
  18229. },
  18230. "decreaseqty": {
  18231. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18232. "type": "integer"
  18233. },
  18234. "fretdbuyposition": {
  18235. "description": "冻结今日买头寸",
  18236. "type": "integer"
  18237. },
  18238. "fretdsellposition": {
  18239. "description": "冻结今日卖头寸",
  18240. "type": "integer"
  18241. },
  18242. "freydbuyposition": {
  18243. "description": "冻结上日买头寸",
  18244. "type": "integer"
  18245. },
  18246. "freydsellposition": {
  18247. "description": "冻结上日卖头寸",
  18248. "type": "integer"
  18249. },
  18250. "goodscode": {
  18251. "description": "商品代码",
  18252. "type": "string"
  18253. },
  18254. "goodsid": {
  18255. "description": "商品id",
  18256. "type": "integer"
  18257. },
  18258. "goodsname": {
  18259. "description": "商品名称",
  18260. "type": "string"
  18261. },
  18262. "hedgeaccountcode": {
  18263. "description": "对冲账号",
  18264. "type": "string"
  18265. },
  18266. "hedgegoodsid": {
  18267. "description": "对冲合约ID",
  18268. "type": "integer"
  18269. },
  18270. "increaseqty": {
  18271. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18272. "type": "integer"
  18273. },
  18274. "marketid": {
  18275. "description": "市场ID",
  18276. "type": "integer"
  18277. },
  18278. "relateduserid": {
  18279. "description": "关联用户id",
  18280. "type": "integer"
  18281. },
  18282. "totalcurqty": {
  18283. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18284. "type": "integer"
  18285. },
  18286. "totalydqty": {
  18287. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18288. "type": "integer"
  18289. },
  18290. "tradedate": {
  18291. "description": "交易日(yyyyMMdd)",
  18292. "type": "string"
  18293. },
  18294. "ydbuyposition": {
  18295. "description": "期初买头寸",
  18296. "type": "integer"
  18297. },
  18298. "ydsellposition": {
  18299. "description": "期初卖头寸",
  18300. "type": "integer"
  18301. }
  18302. }
  18303. },
  18304. "ermcp.ExposureSpotDetailRsp": {
  18305. "type": "object",
  18306. "properties": {
  18307. "contracttype": {
  18308. "description": "合同类型 1-采购 -1-销售",
  18309. "type": "integer"
  18310. },
  18311. "createtime": {
  18312. "description": "创建时间",
  18313. "type": "string"
  18314. },
  18315. "enumdicname": {
  18316. "description": "现货商品单位名称",
  18317. "type": "string"
  18318. },
  18319. "logtype": {
  18320. "description": "记录类型 1-套保 2-现货合同",
  18321. "type": "integer"
  18322. },
  18323. "qty": {
  18324. "description": "数量",
  18325. "type": "number"
  18326. },
  18327. "recordname": {
  18328. "description": "类型名称",
  18329. "type": "string"
  18330. },
  18331. "relatedid": {
  18332. "description": "套保计划ID/现货合同ID",
  18333. "type": "string"
  18334. },
  18335. "relatedno": {
  18336. "description": "编号",
  18337. "type": "string"
  18338. },
  18339. "strtime": {
  18340. "description": "时间",
  18341. "type": "string"
  18342. },
  18343. "wrstandardcode": {
  18344. "description": "现货商品代码",
  18345. "type": "string"
  18346. },
  18347. "wrstandardname": {
  18348. "description": "现货商品名称",
  18349. "type": "string"
  18350. }
  18351. }
  18352. },
  18353. "ermcp.ExposureSpotRsp": {
  18354. "type": "object",
  18355. "properties": {
  18356. "areauserid": {
  18357. "description": "所属机构",
  18358. "type": "integer"
  18359. },
  18360. "decreaseqty": {
  18361. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18362. "type": "number"
  18363. },
  18364. "increaseqty": {
  18365. "description": "增加数量=销售计划数量+采购已定价数量",
  18366. "type": "number"
  18367. },
  18368. "oritoalspotqty": {
  18369. "description": "昨日数量",
  18370. "type": "number"
  18371. },
  18372. "totalspotqty": {
  18373. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18374. "type": "number"
  18375. },
  18376. "updatetime": {
  18377. "description": "更新时间",
  18378. "type": "string"
  18379. },
  18380. "wrstandardcode": {
  18381. "description": "现货品种代码",
  18382. "type": "string"
  18383. },
  18384. "wrstandardid": {
  18385. "description": "现货商品ID",
  18386. "type": "integer"
  18387. },
  18388. "wrstandardname": {
  18389. "description": "现货品种",
  18390. "type": "string"
  18391. }
  18392. }
  18393. },
  18394. "ermcp.HisExposureRsp": {
  18395. "type": "object",
  18396. "properties": {
  18397. "data": {
  18398. "description": "历史敞口",
  18399. "type": "array",
  18400. "items": {
  18401. "$ref": "#/definitions/models.ErmcpHisExposure"
  18402. }
  18403. },
  18404. "enumdicname": {
  18405. "description": "单位名称",
  18406. "type": "string"
  18407. },
  18408. "middlegoodscode": {
  18409. "description": "套保品种代码",
  18410. "type": "string"
  18411. },
  18412. "middlegoodsid": {
  18413. "description": "套保品种ID",
  18414. "type": "integer"
  18415. },
  18416. "middlegoodsname": {
  18417. "description": "套保品种名称",
  18418. "type": "string"
  18419. }
  18420. }
  18421. },
  18422. "ermcp.PendingAuditCntRsp": {
  18423. "type": "object",
  18424. "properties": {
  18425. "areastockqty": {
  18426. "description": "待审核数量: 库存申请",
  18427. "type": "integer"
  18428. },
  18429. "businessdjqty": {
  18430. "description": "待审核数量: 点价",
  18431. "type": "integer"
  18432. },
  18433. "businessfpqty": {
  18434. "description": "待审核数量: 发票",
  18435. "type": "integer"
  18436. },
  18437. "businessjsqty": {
  18438. "description": "待审核数量: 结算",
  18439. "type": "integer"
  18440. },
  18441. "businesskxqty": {
  18442. "description": "待审核数量: 款项",
  18443. "type": "integer"
  18444. },
  18445. "hedgeplanqty": {
  18446. "description": "待审核数量: 套保计划",
  18447. "type": "integer"
  18448. },
  18449. "spotcontractqty": {
  18450. "description": "待审核数量: 现货合同",
  18451. "type": "integer"
  18452. },
  18453. "userqty": {
  18454. "description": "待审核数量: 用户",
  18455. "type": "integer"
  18456. }
  18457. }
  18458. },
  18459. "ermcp.QryAvalidGPRsp": {
  18460. "type": "object",
  18461. "properties": {
  18462. "goodsgroupid": {
  18463. "description": "期货品种id",
  18464. "type": "integer"
  18465. },
  18466. "goodsgroupname": {
  18467. "description": "期货品种名称",
  18468. "type": "string"
  18469. },
  18470. "goodunitid": {
  18471. "description": "品种单位id",
  18472. "type": "integer"
  18473. },
  18474. "goodunitname": {
  18475. "description": "品种单位名称",
  18476. "type": "string"
  18477. },
  18478. "outergroupcode": {
  18479. "description": "期货品种代码",
  18480. "type": "string"
  18481. }
  18482. }
  18483. },
  18484. "ermcp.QryBusinessDjRsp": {
  18485. "type": "object",
  18486. "properties": {
  18487. "amount": {
  18488. "description": "期初均价",
  18489. "type": "number"
  18490. },
  18491. "applyid": {
  18492. "description": "申请人",
  18493. "type": "string"
  18494. },
  18495. "applyname": {
  18496. "description": "申请人名称",
  18497. "type": "string"
  18498. },
  18499. "applystatus": {
  18500. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18501. "type": "integer"
  18502. },
  18503. "applytime": {
  18504. "description": "申请时间",
  18505. "type": "string"
  18506. },
  18507. "attachurl": {
  18508. "description": "附件",
  18509. "type": "string"
  18510. },
  18511. "auditid": {
  18512. "description": "审核人ID",
  18513. "type": "string"
  18514. },
  18515. "auditname": {
  18516. "description": "审核人名称",
  18517. "type": "string"
  18518. },
  18519. "auditremark": {
  18520. "description": "审核备注",
  18521. "type": "string"
  18522. },
  18523. "audittime": {
  18524. "description": "审核时间",
  18525. "type": "string"
  18526. },
  18527. "buyusername": {
  18528. "description": "采购方名称",
  18529. "type": "string"
  18530. },
  18531. "contractno": {
  18532. "description": "合同编号",
  18533. "type": "string"
  18534. },
  18535. "contractstatus": {
  18536. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18537. "type": "integer"
  18538. },
  18539. "contracttype": {
  18540. "description": "现货合同类型 - 1:采购 -1:销售",
  18541. "type": "integer"
  18542. },
  18543. "deliverygoodscode": {
  18544. "description": "现货品种代码",
  18545. "type": "string"
  18546. },
  18547. "deliverygoodsid": {
  18548. "description": "现货商品ID",
  18549. "type": "integer"
  18550. },
  18551. "deliverygoodsname": {
  18552. "description": "现货品种名称",
  18553. "type": "string"
  18554. },
  18555. "enumdicname": {
  18556. "description": "单位名称",
  18557. "type": "string"
  18558. },
  18559. "goodscode": {
  18560. "description": "点价合约",
  18561. "type": "string"
  18562. },
  18563. "goodsname": {
  18564. "description": "商品名称",
  18565. "type": "string"
  18566. },
  18567. "operateapplyid": {
  18568. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18569. "type": "string"
  18570. },
  18571. "operateapplytype": {
  18572. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18573. "type": "integer"
  18574. },
  18575. "pricedPrice": {
  18576. "description": "点价价格(非必填)",
  18577. "type": "number"
  18578. },
  18579. "pricedQty": {
  18580. "description": "点价数量(非必填)",
  18581. "type": "number"
  18582. },
  18583. "pricemove": {
  18584. "description": "升贴水",
  18585. "type": "number"
  18586. },
  18587. "pricetype": {
  18588. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18589. "type": "integer"
  18590. },
  18591. "relatedid": {
  18592. "description": "现货合同ID",
  18593. "type": "string"
  18594. },
  18595. "sellusername": {
  18596. "description": "销售方名字",
  18597. "type": "string"
  18598. },
  18599. "userid": {
  18600. "description": "用户ID",
  18601. "type": "integer"
  18602. },
  18603. "wrstandardcode": {
  18604. "description": "品类代码",
  18605. "type": "string"
  18606. },
  18607. "wrstandardid": {
  18608. "description": "品类id",
  18609. "type": "integer"
  18610. },
  18611. "wrstandardname": {
  18612. "description": "品类名称",
  18613. "type": "string"
  18614. }
  18615. }
  18616. },
  18617. "ermcp.QryBussinessFpRsp": {
  18618. "type": "object",
  18619. "properties": {
  18620. "applyid": {
  18621. "description": "申请人",
  18622. "type": "string"
  18623. },
  18624. "applyname": {
  18625. "description": "申请人名称",
  18626. "type": "string"
  18627. },
  18628. "applystatus": {
  18629. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18630. "type": "integer"
  18631. },
  18632. "applytime": {
  18633. "description": "申请时间",
  18634. "type": "string"
  18635. },
  18636. "attachurl": {
  18637. "description": "附件",
  18638. "type": "string"
  18639. },
  18640. "auditid": {
  18641. "description": "审核人ID",
  18642. "type": "string"
  18643. },
  18644. "auditname": {
  18645. "description": "审核人名称",
  18646. "type": "string"
  18647. },
  18648. "auditremark": {
  18649. "description": "审核备注",
  18650. "type": "string"
  18651. },
  18652. "audittime": {
  18653. "description": "审核时间",
  18654. "type": "string"
  18655. },
  18656. "buyusername": {
  18657. "description": "采购方名称",
  18658. "type": "string"
  18659. },
  18660. "contractno": {
  18661. "description": "合同编号",
  18662. "type": "string"
  18663. },
  18664. "contractstatus": {
  18665. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18666. "type": "integer"
  18667. },
  18668. "contracttype": {
  18669. "description": "现货合同类型 - 1:采购 -1:销售",
  18670. "type": "integer"
  18671. },
  18672. "deliverygoodscode": {
  18673. "description": "现货品种代码",
  18674. "type": "string"
  18675. },
  18676. "deliverygoodsid": {
  18677. "description": "现货商品ID",
  18678. "type": "integer"
  18679. },
  18680. "deliverygoodsname": {
  18681. "description": "现货品种名称",
  18682. "type": "string"
  18683. },
  18684. "enumdicname": {
  18685. "description": "单位名称",
  18686. "type": "string"
  18687. },
  18688. "goodscode": {
  18689. "description": "点价合约",
  18690. "type": "string"
  18691. },
  18692. "goodsname": {
  18693. "description": "商品名称",
  18694. "type": "string"
  18695. },
  18696. "invoiceamount": {
  18697. "description": "已开收票金额(销售为开票,采购为收票)",
  18698. "type": "number"
  18699. },
  18700. "operateapplyid": {
  18701. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18702. "type": "string"
  18703. },
  18704. "operateapplytype": {
  18705. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18706. "type": "integer"
  18707. },
  18708. "pricemove": {
  18709. "description": "升贴水",
  18710. "type": "number"
  18711. },
  18712. "pricetype": {
  18713. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18714. "type": "integer"
  18715. },
  18716. "relatedid": {
  18717. "description": "现货合同ID",
  18718. "type": "string"
  18719. },
  18720. "sellusername": {
  18721. "description": "销售方名字",
  18722. "type": "string"
  18723. },
  18724. "userid": {
  18725. "description": "用户ID",
  18726. "type": "integer"
  18727. },
  18728. "wrstandardcode": {
  18729. "description": "品类代码",
  18730. "type": "string"
  18731. },
  18732. "wrstandardid": {
  18733. "description": "品类id",
  18734. "type": "integer"
  18735. },
  18736. "wrstandardname": {
  18737. "description": "品类名称",
  18738. "type": "string"
  18739. }
  18740. }
  18741. },
  18742. "ermcp.QryBussinessJsExRsp": {
  18743. "type": "object",
  18744. "properties": {
  18745. "applyid": {
  18746. "description": "申请人",
  18747. "type": "string"
  18748. },
  18749. "applyname": {
  18750. "description": "申请人名称",
  18751. "type": "string"
  18752. },
  18753. "applystatus": {
  18754. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18755. "type": "integer"
  18756. },
  18757. "applytime": {
  18758. "description": "申请时间",
  18759. "type": "string"
  18760. },
  18761. "attachurl": {
  18762. "description": "附件",
  18763. "type": "string"
  18764. },
  18765. "auditid": {
  18766. "description": "审核人ID",
  18767. "type": "string"
  18768. },
  18769. "auditname": {
  18770. "description": "审核人名称",
  18771. "type": "string"
  18772. },
  18773. "auditremark": {
  18774. "description": "审核备注",
  18775. "type": "string"
  18776. },
  18777. "audittime": {
  18778. "description": "审核时间",
  18779. "type": "string"
  18780. },
  18781. "buyusername": {
  18782. "description": "采购方名称",
  18783. "type": "string"
  18784. },
  18785. "contractno": {
  18786. "description": "合同编号",
  18787. "type": "string"
  18788. },
  18789. "contractstatus": {
  18790. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18791. "type": "integer"
  18792. },
  18793. "contracttype": {
  18794. "description": "现货合同类型 - 1:采购 -1:销售",
  18795. "type": "integer"
  18796. },
  18797. "deliverygoodscode": {
  18798. "description": "现货品种代码",
  18799. "type": "string"
  18800. },
  18801. "deliverygoodsid": {
  18802. "description": "现货商品ID",
  18803. "type": "integer"
  18804. },
  18805. "deliverygoodsname": {
  18806. "description": "现货品种名称",
  18807. "type": "string"
  18808. },
  18809. "enumdicname": {
  18810. "description": "单位名称",
  18811. "type": "string"
  18812. },
  18813. "goodscode": {
  18814. "description": "点价合约",
  18815. "type": "string"
  18816. },
  18817. "goodsname": {
  18818. "description": "商品名称",
  18819. "type": "string"
  18820. },
  18821. "operateapplyid": {
  18822. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18823. "type": "string"
  18824. },
  18825. "operateapplytype": {
  18826. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18827. "type": "integer"
  18828. },
  18829. "pricemove": {
  18830. "description": "升贴水",
  18831. "type": "number"
  18832. },
  18833. "pricetype": {
  18834. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18835. "type": "integer"
  18836. },
  18837. "reckontype": {
  18838. "description": "结算类型",
  18839. "type": "string"
  18840. },
  18841. "reckonvalue": {
  18842. "description": "值",
  18843. "type": "number"
  18844. },
  18845. "relatedid": {
  18846. "description": "现货合同ID",
  18847. "type": "string"
  18848. },
  18849. "sellusername": {
  18850. "description": "销售方名字",
  18851. "type": "string"
  18852. },
  18853. "userid": {
  18854. "description": "用户ID",
  18855. "type": "integer"
  18856. },
  18857. "wrstandardcode": {
  18858. "description": "品类代码",
  18859. "type": "string"
  18860. },
  18861. "wrstandardid": {
  18862. "description": "品类id",
  18863. "type": "integer"
  18864. },
  18865. "wrstandardname": {
  18866. "description": "品类名称",
  18867. "type": "string"
  18868. }
  18869. }
  18870. },
  18871. "ermcp.QryBussinessJsRsp": {
  18872. "type": "object",
  18873. "properties": {
  18874. "addmargin": {
  18875. "description": "追加保证金(非必填)",
  18876. "type": "number"
  18877. },
  18878. "applyid": {
  18879. "description": "申请人",
  18880. "type": "string"
  18881. },
  18882. "applyname": {
  18883. "description": "申请人名称",
  18884. "type": "string"
  18885. },
  18886. "applystatus": {
  18887. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18888. "type": "integer"
  18889. },
  18890. "applytime": {
  18891. "description": "申请时间",
  18892. "type": "string"
  18893. },
  18894. "attachurl": {
  18895. "description": "附件",
  18896. "type": "string"
  18897. },
  18898. "auditid": {
  18899. "description": "审核人ID",
  18900. "type": "string"
  18901. },
  18902. "auditname": {
  18903. "description": "审核人名称",
  18904. "type": "string"
  18905. },
  18906. "auditremark": {
  18907. "description": "审核备注",
  18908. "type": "string"
  18909. },
  18910. "audittime": {
  18911. "description": "审核时间",
  18912. "type": "string"
  18913. },
  18914. "buyusername": {
  18915. "description": "采购方名称",
  18916. "type": "string"
  18917. },
  18918. "contractno": {
  18919. "description": "合同编号",
  18920. "type": "string"
  18921. },
  18922. "contractstatus": {
  18923. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18924. "type": "integer"
  18925. },
  18926. "contracttype": {
  18927. "description": "现货合同类型 - 1:采购 -1:销售",
  18928. "type": "integer"
  18929. },
  18930. "decmargin": {
  18931. "description": "减少保证金(非必填)",
  18932. "type": "number"
  18933. },
  18934. "deliverygoodscode": {
  18935. "description": "现货品种代码",
  18936. "type": "string"
  18937. },
  18938. "deliverygoodsid": {
  18939. "description": "现货商品ID",
  18940. "type": "integer"
  18941. },
  18942. "deliverygoodsname": {
  18943. "description": "现货品种名称",
  18944. "type": "string"
  18945. },
  18946. "enumdicname": {
  18947. "description": "单位名称",
  18948. "type": "string"
  18949. },
  18950. "goodscode": {
  18951. "description": "点价合约",
  18952. "type": "string"
  18953. },
  18954. "goodsname": {
  18955. "description": "商品名称",
  18956. "type": "string"
  18957. },
  18958. "operateapplyid": {
  18959. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18960. "type": "string"
  18961. },
  18962. "operateapplytype": {
  18963. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18964. "type": "integer"
  18965. },
  18966. "pricemove": {
  18967. "description": "升贴水",
  18968. "type": "number"
  18969. },
  18970. "pricetype": {
  18971. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18972. "type": "integer"
  18973. },
  18974. "reckonadjustamount": {
  18975. "description": "结算调整金额(非必填)",
  18976. "type": "number"
  18977. },
  18978. "reckonosamount": {
  18979. "description": "结算溢短金额(非必填)",
  18980. "type": "number"
  18981. },
  18982. "reckonotheramount": {
  18983. "description": "结算其他费用(非必填)",
  18984. "type": "number"
  18985. },
  18986. "reckonrealqty": {
  18987. "description": "结算实际数量(非必填)",
  18988. "type": "number"
  18989. },
  18990. "relatedid": {
  18991. "description": "现货合同ID",
  18992. "type": "string"
  18993. },
  18994. "sellusername": {
  18995. "description": "销售方名字",
  18996. "type": "string"
  18997. },
  18998. "userid": {
  18999. "description": "用户ID",
  19000. "type": "integer"
  19001. },
  19002. "wrstandardcode": {
  19003. "description": "品类代码",
  19004. "type": "string"
  19005. },
  19006. "wrstandardid": {
  19007. "description": "品类id",
  19008. "type": "integer"
  19009. },
  19010. "wrstandardname": {
  19011. "description": "品类名称",
  19012. "type": "string"
  19013. }
  19014. }
  19015. },
  19016. "ermcp.QryBussinessKxRsp": {
  19017. "type": "object",
  19018. "properties": {
  19019. "applyid": {
  19020. "description": "申请人",
  19021. "type": "string"
  19022. },
  19023. "applyname": {
  19024. "description": "申请人名称",
  19025. "type": "string"
  19026. },
  19027. "applystatus": {
  19028. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19029. "type": "integer"
  19030. },
  19031. "applytime": {
  19032. "description": "申请时间",
  19033. "type": "string"
  19034. },
  19035. "attachurl": {
  19036. "description": "附件",
  19037. "type": "string"
  19038. },
  19039. "auditid": {
  19040. "description": "审核人ID",
  19041. "type": "string"
  19042. },
  19043. "auditname": {
  19044. "description": "审核人名称",
  19045. "type": "string"
  19046. },
  19047. "auditremark": {
  19048. "description": "审核备注",
  19049. "type": "string"
  19050. },
  19051. "audittime": {
  19052. "description": "审核时间",
  19053. "type": "string"
  19054. },
  19055. "buyusername": {
  19056. "description": "采购方名称",
  19057. "type": "string"
  19058. },
  19059. "contractno": {
  19060. "description": "合同编号",
  19061. "type": "string"
  19062. },
  19063. "contractstatus": {
  19064. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19065. "type": "integer"
  19066. },
  19067. "contracttype": {
  19068. "description": "现货合同类型 - 1:采购 -1:销售",
  19069. "type": "integer"
  19070. },
  19071. "deductamount": {
  19072. "description": "期初均价",
  19073. "type": "number"
  19074. },
  19075. "deliverygoodscode": {
  19076. "description": "现货品种代码",
  19077. "type": "string"
  19078. },
  19079. "deliverygoodsid": {
  19080. "description": "现货商品ID",
  19081. "type": "integer"
  19082. },
  19083. "deliverygoodsname": {
  19084. "description": "现货品种名称",
  19085. "type": "string"
  19086. },
  19087. "enumdicname": {
  19088. "description": "单位名称",
  19089. "type": "string"
  19090. },
  19091. "goodscode": {
  19092. "description": "点价合约",
  19093. "type": "string"
  19094. },
  19095. "goodsname": {
  19096. "description": "商品名称",
  19097. "type": "string"
  19098. },
  19099. "kxtype": {
  19100. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  19101. "type": "integer"
  19102. },
  19103. "operateapplyid": {
  19104. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19105. "type": "string"
  19106. },
  19107. "operateapplytype": {
  19108. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19109. "type": "integer"
  19110. },
  19111. "payamount": {
  19112. "description": "期初均价",
  19113. "type": "number"
  19114. },
  19115. "pricemove": {
  19116. "description": "升贴水",
  19117. "type": "number"
  19118. },
  19119. "pricetype": {
  19120. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19121. "type": "integer"
  19122. },
  19123. "relatedid": {
  19124. "description": "现货合同ID",
  19125. "type": "string"
  19126. },
  19127. "sellusername": {
  19128. "description": "销售方名字",
  19129. "type": "string"
  19130. },
  19131. "userid": {
  19132. "description": "用户ID",
  19133. "type": "integer"
  19134. },
  19135. "wrstandardcode": {
  19136. "description": "品类代码",
  19137. "type": "string"
  19138. },
  19139. "wrstandardid": {
  19140. "description": "品类id",
  19141. "type": "integer"
  19142. },
  19143. "wrstandardname": {
  19144. "description": "品类名称",
  19145. "type": "string"
  19146. }
  19147. }
  19148. },
  19149. "ermcp.QryGGCovertCfgRsp": {
  19150. "type": "object",
  19151. "properties": {
  19152. "convertratio": {
  19153. "description": "折算系数",
  19154. "type": "number"
  19155. },
  19156. "destgoodsgroupid": {
  19157. "description": "目标品种ID",
  19158. "type": "integer"
  19159. },
  19160. "dstcode": {
  19161. "description": "目录品种代码",
  19162. "type": "string"
  19163. },
  19164. "dstexchangecode": {
  19165. "description": "目标期货交易所",
  19166. "type": "string"
  19167. },
  19168. "dstname": {
  19169. "description": "目标品种名称",
  19170. "type": "string"
  19171. },
  19172. "dstunitid": {
  19173. "description": "目标品种单位ID",
  19174. "type": "integer"
  19175. },
  19176. "dstunitidname": {
  19177. "description": "目标品种单位名称",
  19178. "type": "string"
  19179. },
  19180. "modifytime": {
  19181. "description": "修改时间",
  19182. "type": "string"
  19183. },
  19184. "srccode": {
  19185. "description": "源品种代码",
  19186. "type": "string"
  19187. },
  19188. "srcexchangecode": {
  19189. "description": "源期货交易所",
  19190. "type": "string"
  19191. },
  19192. "srcgoodsgroupid": {
  19193. "description": "源品种ID",
  19194. "type": "integer"
  19195. },
  19196. "srcname": {
  19197. "description": "源品种名称",
  19198. "type": "string"
  19199. },
  19200. "srcunitid": {
  19201. "description": "源品种单位ID",
  19202. "type": "integer"
  19203. },
  19204. "srcunitidname": {
  19205. "description": "源品种单位名称",
  19206. "type": "string"
  19207. }
  19208. }
  19209. },
  19210. "ermcp.QryMGChangeLogRsp": {
  19211. "type": "object",
  19212. "properties": {
  19213. "aftervalue": {
  19214. "description": "变更后",
  19215. "type": "number"
  19216. },
  19217. "applyid": {
  19218. "description": "操作人",
  19219. "type": "integer"
  19220. },
  19221. "applyname": {
  19222. "description": "操作人名称",
  19223. "type": "string"
  19224. },
  19225. "applysrc": {
  19226. "description": "操作来源 - 1:管理端 2:终端",
  19227. "type": "integer"
  19228. },
  19229. "beforevalue": {
  19230. "description": "变更前",
  19231. "type": "number"
  19232. },
  19233. "changelogtype": {
  19234. "description": "变更流水类型 - 1:套保比率变更",
  19235. "type": "integer"
  19236. },
  19237. "handlestatus": {
  19238. "description": "处理状态",
  19239. "type": "integer"
  19240. },
  19241. "logdatetime": {
  19242. "description": "流水日期",
  19243. "type": "string"
  19244. },
  19245. "logid": {
  19246. "description": "流水ID",
  19247. "type": "integer"
  19248. },
  19249. "logremark": {
  19250. "description": "流水备注",
  19251. "type": "string"
  19252. },
  19253. "middlegoodsid": {
  19254. "description": "套保品种ID",
  19255. "type": "integer"
  19256. },
  19257. "tradedate": {
  19258. "description": "交易日(yyyyMMdd)",
  19259. "type": "string"
  19260. },
  19261. "updatetime": {
  19262. "description": "更新时间",
  19263. "type": "string"
  19264. }
  19265. }
  19266. },
  19267. "ermcp.QryMiddleGoodsDetailRsp": {
  19268. "type": "object",
  19269. "properties": {
  19270. "cvList": {
  19271. "description": "期货品种折算列表",
  19272. "type": "array",
  19273. "items": {
  19274. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19275. }
  19276. },
  19277. "mg": {
  19278. "description": "套保品种基本信息",
  19279. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19280. },
  19281. "wrcList": {
  19282. "description": "现货品种列表(现货商品折算配置)",
  19283. "type": "array",
  19284. "items": {
  19285. "$ref": "#/definitions/models.WRSConverTDetail"
  19286. }
  19287. }
  19288. }
  19289. },
  19290. "ermcp.QryMiddleGoodsRsp": {
  19291. "type": "object",
  19292. "properties": {
  19293. "areauserid": {
  19294. "description": "机构用户ID",
  19295. "type": "integer"
  19296. },
  19297. "createtime": {
  19298. "description": "修改时间",
  19299. "type": "string"
  19300. },
  19301. "enumdicname": {
  19302. "description": "单位名称",
  19303. "type": "string"
  19304. },
  19305. "evaluateratio": {
  19306. "description": "估价系数",
  19307. "type": "number"
  19308. },
  19309. "goodsgroupid": {
  19310. "description": "关联期货品种ID",
  19311. "type": "integer"
  19312. },
  19313. "goodsunitid": {
  19314. "description": "单位ID",
  19315. "type": "integer"
  19316. },
  19317. "isvalid": {
  19318. "description": "状态 0-无效(停用) 1-有效(正常)",
  19319. "type": "integer"
  19320. },
  19321. "middlegoodscode": {
  19322. "description": "套保品种代码",
  19323. "type": "string"
  19324. },
  19325. "middlegoodsid": {
  19326. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19327. "type": "integer"
  19328. },
  19329. "middlegoodsname": {
  19330. "description": "套保品种名称",
  19331. "type": "string"
  19332. },
  19333. "modifytime": {
  19334. "description": "修改时间",
  19335. "type": "string"
  19336. },
  19337. "needarbitrageratio": {
  19338. "description": "套利比例",
  19339. "type": "number"
  19340. },
  19341. "needhedgeratio": {
  19342. "description": "套保比率",
  19343. "type": "number"
  19344. },
  19345. "qtydecimalplace": {
  19346. "description": "数量小数位",
  19347. "type": "integer"
  19348. },
  19349. "relatedgoodsid": {
  19350. "description": "关联交易商品ID",
  19351. "type": "integer"
  19352. },
  19353. "relatedgoodstype": {
  19354. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19355. "type": "integer"
  19356. },
  19357. "remark": {
  19358. "description": "备注",
  19359. "type": "string"
  19360. }
  19361. }
  19362. },
  19363. "ermcp.QryOPLogRsp": {
  19364. "type": "object",
  19365. "properties": {
  19366. "aftervalue": {
  19367. "description": "变更后",
  19368. "type": "number"
  19369. },
  19370. "applyid": {
  19371. "description": "操作人ID",
  19372. "type": "string"
  19373. },
  19374. "applyname": {
  19375. "description": "操作人名称",
  19376. "type": "string"
  19377. },
  19378. "beforevalue": {
  19379. "description": "变更前",
  19380. "type": "number"
  19381. },
  19382. "biztype": {
  19383. "description": "业务类型 - 1:套保计划 2:现货合同",
  19384. "type": "integer"
  19385. },
  19386. "contracttype": {
  19387. "description": "现货合同类型 - 1:采购 -1:销售",
  19388. "type": "integer"
  19389. },
  19390. "logvalue": {
  19391. "description": "数值",
  19392. "type": "number"
  19393. },
  19394. "operatelogtype": {
  19395. "description": "操作流水类型",
  19396. "type": "integer"
  19397. },
  19398. "operatelogtypedesc": {
  19399. "description": "操作流水类型名称",
  19400. "type": "string"
  19401. },
  19402. "relatedid": {
  19403. "description": "现货合同ID\\套保计划",
  19404. "type": "string"
  19405. },
  19406. "updatetime": {
  19407. "description": "更新时间",
  19408. "type": "string"
  19409. }
  19410. }
  19411. },
  19412. "ermcp.QryUserInfoRsp": {
  19413. "type": "object",
  19414. "properties": {
  19415. "address": {
  19416. "description": "通讯地址",
  19417. "type": "string"
  19418. },
  19419. "attachment1": {
  19420. "description": "附件1",
  19421. "type": "string"
  19422. },
  19423. "audittime": {
  19424. "description": "审核时间",
  19425. "type": "string"
  19426. },
  19427. "cardbackphotourl": {
  19428. "description": "证件反面图片地址",
  19429. "type": "string"
  19430. },
  19431. "cardfrontphotourl": {
  19432. "description": "证件正面图片地址",
  19433. "type": "string"
  19434. },
  19435. "cardnum": {
  19436. "description": "证件号码",
  19437. "type": "string"
  19438. },
  19439. "cardtype": {
  19440. "description": "证件类型",
  19441. "type": "integer"
  19442. },
  19443. "cardtypename": {
  19444. "description": "证件类型名称",
  19445. "type": "string"
  19446. },
  19447. "cityid": {
  19448. "description": "市",
  19449. "type": "integer"
  19450. },
  19451. "contactname": {
  19452. "description": "联系人",
  19453. "type": "string"
  19454. },
  19455. "countryid": {
  19456. "description": "国家",
  19457. "type": "integer"
  19458. },
  19459. "createtime": {
  19460. "description": "创建时间",
  19461. "type": "string"
  19462. },
  19463. "customername": {
  19464. "description": "企业名称",
  19465. "type": "string"
  19466. },
  19467. "districtid": {
  19468. "description": "区域",
  19469. "type": "integer"
  19470. },
  19471. "email": {
  19472. "description": "邮件",
  19473. "type": "string"
  19474. },
  19475. "legalpersonname": {
  19476. "description": "法人姓名(企业)",
  19477. "type": "string"
  19478. },
  19479. "memberuserid": {
  19480. "description": "所属机构ID",
  19481. "type": "integer"
  19482. },
  19483. "mobile": {
  19484. "description": "手机号码",
  19485. "type": "string"
  19486. },
  19487. "modifytime": {
  19488. "description": "修改时间",
  19489. "type": "string"
  19490. },
  19491. "nickname": {
  19492. "description": "昵称",
  19493. "type": "string"
  19494. },
  19495. "provinceid": {
  19496. "description": "省",
  19497. "type": "integer"
  19498. },
  19499. "remark": {
  19500. "description": "备注",
  19501. "type": "string"
  19502. },
  19503. "status": {
  19504. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19505. "type": "integer"
  19506. },
  19507. "statusdesc": {
  19508. "description": "账户状态中文描述",
  19509. "type": "string"
  19510. },
  19511. "taxpayernum": {
  19512. "description": "纳税人识别号",
  19513. "type": "string"
  19514. },
  19515. "telphone": {
  19516. "description": "联系电话",
  19517. "type": "string"
  19518. },
  19519. "userid": {
  19520. "description": "用户ID",
  19521. "type": "integer"
  19522. },
  19523. "userinfotype": {
  19524. "description": "客户类型",
  19525. "type": "string"
  19526. }
  19527. }
  19528. },
  19529. "ermcp.QryWarehouseRsp": {
  19530. "type": "object",
  19531. "properties": {
  19532. "address": {
  19533. "description": "详细地址",
  19534. "type": "string"
  19535. },
  19536. "areauserid": {
  19537. "description": "所属机构",
  19538. "type": "integer"
  19539. },
  19540. "autoid": {
  19541. "description": "自增ID(仓库ID)",
  19542. "type": "integer"
  19543. },
  19544. "cityid": {
  19545. "description": "市",
  19546. "type": "integer"
  19547. },
  19548. "contactname": {
  19549. "description": "联系人",
  19550. "type": "string"
  19551. },
  19552. "contactnum": {
  19553. "description": "联系电话",
  19554. "type": "string"
  19555. },
  19556. "countryid": {
  19557. "description": "国家",
  19558. "type": "integer"
  19559. },
  19560. "createtime": {
  19561. "description": "创建时间",
  19562. "type": "string"
  19563. },
  19564. "districtid": {
  19565. "description": "区",
  19566. "type": "integer"
  19567. },
  19568. "hasvideo": {
  19569. "description": "是否有视频 - 0:无 1:有",
  19570. "type": "integer"
  19571. },
  19572. "provinceid": {
  19573. "description": "省",
  19574. "type": "integer"
  19575. },
  19576. "remark": {
  19577. "description": "审核备注",
  19578. "type": "string"
  19579. },
  19580. "videourl": {
  19581. "description": "视频地址",
  19582. "type": "string"
  19583. },
  19584. "warehousecode": {
  19585. "description": "仓库代码",
  19586. "type": "string"
  19587. },
  19588. "warehousename": {
  19589. "description": "仓库名称",
  19590. "type": "string"
  19591. },
  19592. "warehousestatus": {
  19593. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19594. "type": "integer"
  19595. },
  19596. "warehousetype": {
  19597. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19598. "type": "integer"
  19599. }
  19600. }
  19601. },
  19602. "ermcp.QueryErmcpTradePositionRsp": {
  19603. "type": "object",
  19604. "properties": {
  19605. "agreeunit": {
  19606. "description": "合约单位",
  19607. "type": "number"
  19608. },
  19609. "buyorsell": {
  19610. "description": "方向 - 0:买 1:卖",
  19611. "type": "integer"
  19612. },
  19613. "curpositionqty": {
  19614. "description": "持仓(总仓数量, 期末头寸)",
  19615. "type": "integer"
  19616. },
  19617. "curtdposition": {
  19618. "description": "今仓数量(期末今日头寸)",
  19619. "type": "integer"
  19620. },
  19621. "curtdpositionenabled": {
  19622. "description": "今仓可用",
  19623. "type": "integer"
  19624. },
  19625. "decimalplace": {
  19626. "description": "报价小数位",
  19627. "type": "integer"
  19628. },
  19629. "enableqty": {
  19630. "description": "可用(总仓可用)",
  19631. "type": "integer"
  19632. },
  19633. "exexchangename": {
  19634. "description": "外部交易所名称",
  19635. "type": "string"
  19636. },
  19637. "exexehangecode": {
  19638. "description": "外部交易所代码",
  19639. "type": "string"
  19640. },
  19641. "exexehangeid": {
  19642. "description": "外部交易所id",
  19643. "type": "integer"
  19644. },
  19645. "goodscode": {
  19646. "description": "商品代码(内部)",
  19647. "type": "string"
  19648. },
  19649. "goodsid": {
  19650. "description": "商品ID(自增ID SEQ_GOODS)",
  19651. "type": "integer"
  19652. },
  19653. "goodsname": {
  19654. "description": "商品名称",
  19655. "type": "string"
  19656. },
  19657. "last": {
  19658. "description": "现价",
  19659. "type": "number"
  19660. },
  19661. "marketid": {
  19662. "description": "所属市场ID",
  19663. "type": "integer"
  19664. },
  19665. "openaverageprice": {
  19666. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19667. "type": "number"
  19668. },
  19669. "opencost": {
  19670. "description": "开仓成本",
  19671. "type": "number"
  19672. },
  19673. "openpl": {
  19674. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19675. "type": "number"
  19676. },
  19677. "outgoodscode": {
  19678. "description": "商品代码(外部)",
  19679. "type": "string"
  19680. },
  19681. "positionaverageprice": {
  19682. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19683. "type": "number"
  19684. },
  19685. "positioncost": {
  19686. "description": "持仓成本",
  19687. "type": "number"
  19688. },
  19689. "positionpl": {
  19690. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19691. "type": "number"
  19692. },
  19693. "positionplrate": {
  19694. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19695. "type": "number"
  19696. },
  19697. "usedmargin": {
  19698. "description": "占用保证金",
  19699. "type": "number"
  19700. }
  19701. }
  19702. },
  19703. "ermcp.RealtimeExposurePositionRsp": {
  19704. "type": "object",
  19705. "properties": {
  19706. "agreeunit": {
  19707. "description": "合约单位",
  19708. "type": "string"
  19709. },
  19710. "areauserid": {
  19711. "description": "所属机构id",
  19712. "type": "integer"
  19713. },
  19714. "convertratio": {
  19715. "description": "期货品种系数(折算系数)",
  19716. "type": "number"
  19717. },
  19718. "curhedgeqty": {
  19719. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  19720. "type": "number"
  19721. },
  19722. "curqty": {
  19723. "description": "当前持仓",
  19724. "type": "integer"
  19725. },
  19726. "diffhedgeqty": {
  19727. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  19728. "type": "number"
  19729. },
  19730. "diffqty": {
  19731. "description": "持仓变动量=当前持仓-昨日持仓",
  19732. "type": "integer"
  19733. },
  19734. "goodscode": {
  19735. "description": "商品代码",
  19736. "type": "string"
  19737. },
  19738. "goodsid": {
  19739. "description": "商品id",
  19740. "type": "integer"
  19741. },
  19742. "goodsname": {
  19743. "description": "商品名称",
  19744. "type": "string"
  19745. },
  19746. "hedgeaccountcode": {
  19747. "description": "对冲账号(只有外部账号才有值)",
  19748. "type": "string"
  19749. },
  19750. "middlegoodscode": {
  19751. "description": "套保商品代码",
  19752. "type": "string"
  19753. },
  19754. "middlegoodsid": {
  19755. "description": "套保商品id",
  19756. "type": "integer"
  19757. },
  19758. "middlegoodsname": {
  19759. "description": "套保商品名称",
  19760. "type": "string"
  19761. },
  19762. "ydqty": {
  19763. "description": "昨日持仓",
  19764. "type": "integer"
  19765. }
  19766. }
  19767. },
  19768. "ermcp.RealtimeExposureRsp": {
  19769. "type": "object",
  19770. "properties": {
  19771. "AreaUserID": {
  19772. "description": "所属机构",
  19773. "type": "integer"
  19774. },
  19775. "BuyFutureQty": {
  19776. "description": "买入期货数量",
  19777. "type": "number"
  19778. },
  19779. "BuyPlanQty": {
  19780. "description": "采购计划数量",
  19781. "type": "number"
  19782. },
  19783. "BuyPricedQty": {
  19784. "description": "采购合同已定价数量",
  19785. "type": "number"
  19786. },
  19787. "MiddleGoodsCode": {
  19788. "description": "套保品种代码",
  19789. "type": "string"
  19790. },
  19791. "MiddleGoodsHedgeRatio": {
  19792. "description": "套保比例",
  19793. "type": "number"
  19794. },
  19795. "MiddleGoodsID": {
  19796. "description": "套保品种",
  19797. "type": "integer"
  19798. },
  19799. "MiddleGoodsName": {
  19800. "description": "套保品种名称",
  19801. "type": "string"
  19802. },
  19803. "NeedHedgeExposoure": {
  19804. "description": "应套保敞口(套保敞口)",
  19805. "type": "number"
  19806. },
  19807. "NeedHedgeRatio": {
  19808. "description": "应套保敞口比例",
  19809. "type": "number"
  19810. },
  19811. "OriBuyFutureQty": {
  19812. "description": "期初买入期货数量",
  19813. "type": "number"
  19814. },
  19815. "OriBuyPlanQty": {
  19816. "description": "期初采购计划数量",
  19817. "type": "number"
  19818. },
  19819. "OriBuyPricedQty": {
  19820. "description": "期初采购合同已定价数量",
  19821. "type": "number"
  19822. },
  19823. "OriSellFutureQty": {
  19824. "description": "期初卖出期货数量",
  19825. "type": "number"
  19826. },
  19827. "OriSellPlanQty": {
  19828. "description": "期初销售计划数量",
  19829. "type": "number"
  19830. },
  19831. "OriSellPricedQty": {
  19832. "description": "期初销售合同已定价数量",
  19833. "type": "number"
  19834. },
  19835. "OriTotalSpotQty": {
  19836. "description": "期初现货总量",
  19837. "type": "number"
  19838. },
  19839. "SellFutureQty": {
  19840. "description": "卖出期货数量",
  19841. "type": "number"
  19842. },
  19843. "SellPlanQty": {
  19844. "description": "销售计划数量",
  19845. "type": "number"
  19846. },
  19847. "SellPricedQty": {
  19848. "description": "销售合同已定价数量",
  19849. "type": "number"
  19850. },
  19851. "TotalExposure": {
  19852. "description": "总敞口 平安:净敞口",
  19853. "type": "number"
  19854. },
  19855. "TotalFutureQty": {
  19856. "description": "期货总量 平安:保值净持仓量",
  19857. "type": "number"
  19858. },
  19859. "TotalHedgeRatio": {
  19860. "description": "敞口比例",
  19861. "type": "number"
  19862. },
  19863. "TotalNeedHedgeQty": {
  19864. "description": "应套保总量(现货应套保总量)",
  19865. "type": "number"
  19866. },
  19867. "TotalSpotQty": {
  19868. "description": "现货总量 平安:采销定价净值",
  19869. "type": "number"
  19870. },
  19871. "arbitrageqty": {
  19872. "description": "套利量",
  19873. "type": "number"
  19874. },
  19875. "diffArbitrageQty": {
  19876. "description": "期初均价",
  19877. "type": "number"
  19878. },
  19879. "diffExposoureQty": {
  19880. "description": "期初均价",
  19881. "type": "number"
  19882. },
  19883. "diffFutuQty": {
  19884. "description": "期初均价",
  19885. "type": "number"
  19886. },
  19887. "diffHedgeQty": {
  19888. "description": "期初均价",
  19889. "type": "number"
  19890. },
  19891. "diffQty": {
  19892. "description": "期初均价",
  19893. "type": "number"
  19894. },
  19895. "diffSpotHedgeQty": {
  19896. "description": "期初均价",
  19897. "type": "number"
  19898. },
  19899. "diffSpotQty": {
  19900. "description": "期初均价",
  19901. "type": "number"
  19902. },
  19903. "enumdicname": {
  19904. "description": "单位名称",
  19905. "type": "string"
  19906. },
  19907. "hedgeqty": {
  19908. "description": "套保量",
  19909. "type": "number"
  19910. },
  19911. "needarbitrageqty": {
  19912. "description": "应套利量",
  19913. "type": "number"
  19914. },
  19915. "needarbitrageratio": {
  19916. "description": "套利比例",
  19917. "type": "number"
  19918. },
  19919. "needhedgeqty": {
  19920. "description": "应套保量",
  19921. "type": "number"
  19922. },
  19923. "oriarbitrageqty": {
  19924. "description": "期初套利量",
  19925. "type": "number"
  19926. },
  19927. "orihedgeqty": {
  19928. "description": "期初套保量",
  19929. "type": "number"
  19930. },
  19931. "orineedhedgeexposoure": {
  19932. "description": "期初套保敞口",
  19933. "type": "number"
  19934. },
  19935. "oritotalexposure": {
  19936. "description": "期初总敞口",
  19937. "type": "number"
  19938. },
  19939. "oritotalfutureqty": {
  19940. "description": "期初期货总量",
  19941. "type": "number"
  19942. },
  19943. "oritotalneedhedgeqty": {
  19944. "description": "期初现货应套保量",
  19945. "type": "number"
  19946. }
  19947. }
  19948. },
  19949. "erms2.QueryArbitrageStrategyRsp": {
  19950. "type": "object",
  19951. "required": [
  19952. "asapplyid"
  19953. ],
  19954. "properties": {
  19955. "applybasis": {
  19956. "description": "申请基差",
  19957. "type": "number"
  19958. },
  19959. "asapplyid": {
  19960. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  19961. "type": "string"
  19962. },
  19963. "asname": {
  19964. "description": "策略名称",
  19965. "type": "string"
  19966. },
  19967. "asno": {
  19968. "description": "策略编号",
  19969. "type": "string"
  19970. },
  19971. "basischangepl": {
  19972. "description": "基差变动损益[结算更新]",
  19973. "type": "number"
  19974. },
  19975. "biztype": {
  19976. "description": "业务类型 - 1:正向套利 -1:反向套利",
  19977. "type": "integer"
  19978. },
  19979. "closetradedate": {
  19980. "description": "完结交易日(yyyyMMdd)",
  19981. "type": "string"
  19982. },
  19983. "curbasis": {
  19984. "description": "当前基差[结算更新]",
  19985. "type": "number"
  19986. },
  19987. "deliverygoodsid": {
  19988. "description": "现货品种ID",
  19989. "type": "integer"
  19990. },
  19991. "futureavgprice": {
  19992. "description": "期货建仓均价",
  19993. "type": "number"
  19994. },
  19995. "futurecloseamount": {
  19996. "description": "期货平仓金额",
  19997. "type": "number"
  19998. },
  19999. "futurecloseqty": {
  20000. "description": "期货平仓数量",
  20001. "type": "number"
  20002. },
  20003. "futureopenamount": {
  20004. "description": "期货开仓金额",
  20005. "type": "number"
  20006. },
  20007. "futureopenqty": {
  20008. "description": "期货开仓数量",
  20009. "type": "number"
  20010. },
  20011. "futurepl": {
  20012. "description": "期货总盈亏[结算更新]",
  20013. "type": "number"
  20014. },
  20015. "futureqty": {
  20016. "description": "期货持仓数量",
  20017. "type": "number"
  20018. },
  20019. "futurequote": {
  20020. "description": "期货额度",
  20021. "type": "number"
  20022. },
  20023. "goodsgroupid": {
  20024. "description": "期货品种ID",
  20025. "type": "integer"
  20026. },
  20027. "marketid": {
  20028. "description": "市场ID",
  20029. "type": "integer"
  20030. },
  20031. "netexposure": {
  20032. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  20033. "type": "number"
  20034. },
  20035. "netexposurepl": {
  20036. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  20037. "type": "number"
  20038. },
  20039. "netexposurerate": {
  20040. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  20041. "type": "number"
  20042. },
  20043. "openbasis": {
  20044. "description": "建仓基差",
  20045. "type": "number"
  20046. },
  20047. "pricedspotqty": {
  20048. "description": "已定价现货数量",
  20049. "type": "number"
  20050. },
  20051. "pricedspotqtynotax": {
  20052. "description": "已定价现货不含税数量",
  20053. "type": "number"
  20054. },
  20055. "remark": {
  20056. "description": "备注",
  20057. "type": "string"
  20058. },
  20059. "spotavgprice": {
  20060. "description": "现货均价",
  20061. "type": "number"
  20062. },
  20063. "spotbuyamount": {
  20064. "description": "现货采购金额",
  20065. "type": "number"
  20066. },
  20067. "spotbuyqty": {
  20068. "description": "现货采购数量",
  20069. "type": "number"
  20070. },
  20071. "spotpl": {
  20072. "description": "现货总盈亏[结算更新]",
  20073. "type": "number"
  20074. },
  20075. "spotquota": {
  20076. "description": "现货额度",
  20077. "type": "number"
  20078. },
  20079. "spotsellamount": {
  20080. "description": "现货销售金额",
  20081. "type": "number"
  20082. },
  20083. "spotsellqty": {
  20084. "description": "现货销售数量",
  20085. "type": "number"
  20086. },
  20087. "spotusedquota": {
  20088. "description": "现货占用资金",
  20089. "type": "number"
  20090. },
  20091. "strategystatus": {
  20092. "description": "策略状态 - 0:未结束 1:已结束",
  20093. "type": "integer"
  20094. },
  20095. "totalpl": {
  20096. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  20097. "type": "number"
  20098. },
  20099. "tradedate": {
  20100. "description": "交易日(yyyyMMdd)",
  20101. "type": "string"
  20102. },
  20103. "updatetime": {
  20104. "description": "更新时间",
  20105. "type": "string"
  20106. },
  20107. "usedquota": {
  20108. "description": "已占用资金",
  20109. "type": "number"
  20110. },
  20111. "userid": {
  20112. "description": "所属机构",
  20113. "type": "integer"
  20114. }
  20115. }
  20116. },
  20117. "erms2.QueryInnerTradeDetailRsp": {
  20118. "type": "object",
  20119. "required": [
  20120. "asapplyid",
  20121. "buyorsell",
  20122. "goodscode",
  20123. "goodsgroupid",
  20124. "goodsgroupname",
  20125. "goodsname",
  20126. "tradeid"
  20127. ],
  20128. "properties": {
  20129. "accountid": {
  20130. "description": "账号ID",
  20131. "type": "integer"
  20132. },
  20133. "agreeunit": {
  20134. "description": "合约单位",
  20135. "type": "number"
  20136. },
  20137. "asapplyid": {
  20138. "description": "策略申请ID",
  20139. "type": "integer"
  20140. },
  20141. "asname": {
  20142. "description": "策略名称",
  20143. "type": "string"
  20144. },
  20145. "asno": {
  20146. "description": "策略编号",
  20147. "type": "string"
  20148. },
  20149. "buyorsell": {
  20150. "description": "方向 - 0:买 1:卖",
  20151. "type": "integer"
  20152. },
  20153. "channelbuildtype": {
  20154. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20155. "type": "integer"
  20156. },
  20157. "closetype": {
  20158. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20159. "type": "integer"
  20160. },
  20161. "decimalplace": {
  20162. "description": "报价小数位",
  20163. "type": "integer"
  20164. },
  20165. "detailtype": {
  20166. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  20167. "type": "integer"
  20168. },
  20169. "exexchangecode": {
  20170. "description": "外部交易所代码",
  20171. "type": "string"
  20172. },
  20173. "exexchangename": {
  20174. "description": "外部交易所名称",
  20175. "type": "string"
  20176. },
  20177. "goodscode": {
  20178. "description": "商品代码(合约)",
  20179. "type": "string"
  20180. },
  20181. "goodsgroupid": {
  20182. "description": "商品组ID(品种ID)",
  20183. "type": "integer"
  20184. },
  20185. "goodsgroupname": {
  20186. "description": "商品组名称(品种)",
  20187. "type": "string"
  20188. },
  20189. "goodsid": {
  20190. "description": "商品ID",
  20191. "type": "integer"
  20192. },
  20193. "goodsname": {
  20194. "description": "商品名称(合约)",
  20195. "type": "string"
  20196. },
  20197. "goodunit": {
  20198. "description": "报价单位",
  20199. "type": "string"
  20200. },
  20201. "marketid": {
  20202. "description": "市场ID",
  20203. "type": "integer"
  20204. },
  20205. "orderid": {
  20206. "description": "委托单号",
  20207. "type": "string"
  20208. },
  20209. "outgoodscode": {
  20210. "description": "商品代码(外部)",
  20211. "type": "string"
  20212. },
  20213. "relatedouttradeid": {
  20214. "description": "关联外部成交单ID",
  20215. "type": "string"
  20216. },
  20217. "remark": {
  20218. "description": "备注",
  20219. "type": "string"
  20220. },
  20221. "spotcontractid": {
  20222. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  20223. "type": "integer"
  20224. },
  20225. "spotcontractno": {
  20226. "description": "现货合同编号",
  20227. "type": "string"
  20228. },
  20229. "tradeid": {
  20230. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20231. "type": "string"
  20232. },
  20233. "tradeprice": {
  20234. "description": "成交价格",
  20235. "type": "number"
  20236. },
  20237. "tradeqty": {
  20238. "description": "成交数量",
  20239. "type": "integer"
  20240. },
  20241. "tradetime": {
  20242. "description": "成交时间",
  20243. "type": "string"
  20244. },
  20245. "updatetime": {
  20246. "description": "更新时间",
  20247. "type": "string"
  20248. }
  20249. }
  20250. },
  20251. "erms2.QuerySpotContractRsp": {
  20252. "type": "object",
  20253. "required": [
  20254. "spotcontractid"
  20255. ],
  20256. "properties": {
  20257. "accountid": {
  20258. "description": "资金账户ID",
  20259. "type": "integer"
  20260. },
  20261. "areauserid": {
  20262. "description": "所属机构",
  20263. "type": "integer"
  20264. },
  20265. "closedate": {
  20266. "description": "终止日期",
  20267. "type": "string"
  20268. },
  20269. "closeremark": {
  20270. "description": "结束备注",
  20271. "type": "string"
  20272. },
  20273. "closetradedate": {
  20274. "description": "完结交易日(yyyyMMdd)",
  20275. "type": "string"
  20276. },
  20277. "closetype": {
  20278. "description": "终止类型 - 1:违约 2:提前终止",
  20279. "type": "integer"
  20280. },
  20281. "contractamount": {
  20282. "description": "合同金额",
  20283. "type": "number"
  20284. },
  20285. "contractattachment": {
  20286. "description": "合同附件",
  20287. "type": "string"
  20288. },
  20289. "contractno": {
  20290. "description": "现货合同编号",
  20291. "type": "string"
  20292. },
  20293. "contractqty": {
  20294. "description": "合同数量(数值) (用于计算)",
  20295. "type": "number"
  20296. },
  20297. "contractqtychar": {
  20298. "description": "合同数量\\已订价数量 (用于显示)",
  20299. "type": "string"
  20300. },
  20301. "contractstatus": {
  20302. "description": "合同状态 - 0:未结束 1:已结束",
  20303. "type": "integer"
  20304. },
  20305. "contracttype": {
  20306. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20307. "type": "integer"
  20308. },
  20309. "customeraccountid": {
  20310. "description": "客户资金账户ID",
  20311. "type": "integer"
  20312. },
  20313. "customeruserid": {
  20314. "description": "客户ID",
  20315. "type": "integer"
  20316. },
  20317. "deliverygoodsdesc": {
  20318. "description": "品种说明",
  20319. "type": "string"
  20320. },
  20321. "deliverygoodsid": {
  20322. "description": "现货品种ID",
  20323. "type": "integer"
  20324. },
  20325. "handlestatus": {
  20326. "description": "处理状态",
  20327. "type": "integer"
  20328. },
  20329. "invoiceatt": {
  20330. "description": "发票附件",
  20331. "type": "string"
  20332. },
  20333. "invoicedatetime": {
  20334. "description": "开收票更新时间",
  20335. "type": "string"
  20336. },
  20337. "invoiceopentime": {
  20338. "description": "开票时间",
  20339. "type": "string"
  20340. },
  20341. "invoiceremark": {
  20342. "description": "发票备注",
  20343. "type": "string"
  20344. },
  20345. "invoicestatus": {
  20346. "description": "开收票状态 - 0:未开票 1:已开票",
  20347. "type": "integer"
  20348. },
  20349. "lastdate": {
  20350. "description": "交货时间",
  20351. "type": "string"
  20352. },
  20353. "marketid": {
  20354. "description": "市场ID",
  20355. "type": "integer"
  20356. },
  20357. "paydatetime": {
  20358. "description": "收付款更新时间",
  20359. "type": "string"
  20360. },
  20361. "payremark": {
  20362. "description": "收付款备注",
  20363. "type": "string"
  20364. },
  20365. "paystatus": {
  20366. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20367. "type": "integer"
  20368. },
  20369. "positionqty": {
  20370. "description": "头寸数量 - 合同数量去小数部分",
  20371. "type": "integer"
  20372. },
  20373. "producttype": {
  20374. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20375. "type": "integer"
  20376. },
  20377. "relatedqty": {
  20378. "description": "已关联数量",
  20379. "type": "number"
  20380. },
  20381. "relatedstatus": {
  20382. "description": "关联完结状态 - 0:未结束 1:已结束",
  20383. "type": "integer"
  20384. },
  20385. "remark": {
  20386. "description": "备注",
  20387. "type": "string"
  20388. },
  20389. "signdate": {
  20390. "description": "签订日期",
  20391. "type": "string"
  20392. },
  20393. "spotcontractid": {
  20394. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20395. "type": "string"
  20396. },
  20397. "spotdatetime": {
  20398. "description": "收发货更新时间",
  20399. "type": "string"
  20400. },
  20401. "spotprice": {
  20402. "description": "价格",
  20403. "type": "number"
  20404. },
  20405. "spotremark": {
  20406. "description": "收发货备注",
  20407. "type": "string"
  20408. },
  20409. "spotstatus": {
  20410. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20411. "type": "integer"
  20412. },
  20413. "tradedate": {
  20414. "description": "交易日(yyyyMMdd)",
  20415. "type": "string"
  20416. },
  20417. "userid": {
  20418. "description": "业务员用户ID",
  20419. "type": "integer"
  20420. },
  20421. "warehouseid": {
  20422. "description": "仓库ID",
  20423. "type": "integer"
  20424. },
  20425. "wrfactortypeid": {
  20426. "description": "仓单要素类型ID",
  20427. "type": "integer"
  20428. },
  20429. "wrstandardid": {
  20430. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20431. "type": "integer"
  20432. }
  20433. }
  20434. },
  20435. "erms3.AddErms2ASApplyReq": {
  20436. "type": "object",
  20437. "required": [
  20438. "asapplyid"
  20439. ],
  20440. "properties": {
  20441. "applybasis": {
  20442. "description": "申请基差",
  20443. "type": "number"
  20444. },
  20445. "applystatus": {
  20446. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20447. "type": "integer"
  20448. },
  20449. "asapplyid": {
  20450. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20451. "type": "integer"
  20452. },
  20453. "asname": {
  20454. "description": "策略名称",
  20455. "type": "string"
  20456. },
  20457. "asno": {
  20458. "description": "策略编号",
  20459. "type": "string"
  20460. },
  20461. "auditid": {
  20462. "description": "审核人",
  20463. "type": "integer"
  20464. },
  20465. "auditremark": {
  20466. "description": "审核备注",
  20467. "type": "string"
  20468. },
  20469. "audittime": {
  20470. "description": "审核时间",
  20471. "type": "string"
  20472. },
  20473. "biztype": {
  20474. "description": "业务类型 - 1:正向套利 2:反向套利",
  20475. "type": "integer"
  20476. },
  20477. "createtime": {
  20478. "description": "创建时间",
  20479. "type": "string"
  20480. },
  20481. "creatorid": {
  20482. "description": "创建人",
  20483. "type": "integer"
  20484. },
  20485. "deliverygoodsid": {
  20486. "description": "现货品种ID",
  20487. "type": "integer"
  20488. },
  20489. "futurequote": {
  20490. "description": "期货额度",
  20491. "type": "number"
  20492. },
  20493. "goodsgroupid": {
  20494. "description": "期货品种ID",
  20495. "type": "integer"
  20496. },
  20497. "marketid": {
  20498. "description": "市场ID",
  20499. "type": "integer"
  20500. },
  20501. "remark": {
  20502. "description": "备注",
  20503. "type": "string"
  20504. },
  20505. "spotquota": {
  20506. "description": "现货额度",
  20507. "type": "number"
  20508. },
  20509. "tradedate": {
  20510. "description": "交易日(yyyyMMdd)",
  20511. "type": "string"
  20512. },
  20513. "userid": {
  20514. "description": "所属机构",
  20515. "type": "integer"
  20516. }
  20517. }
  20518. },
  20519. "erms3.AddErms2SpotTradeApplyReq": {
  20520. "type": "object",
  20521. "required": [
  20522. "spottradeid"
  20523. ],
  20524. "properties": {
  20525. "applyjsondetail": {
  20526. "description": "申请明细(JSON)",
  20527. "type": "string"
  20528. },
  20529. "applystatus": {
  20530. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20531. "type": "integer"
  20532. },
  20533. "areauserid": {
  20534. "description": "所属机构",
  20535. "type": "integer"
  20536. },
  20537. "auditid": {
  20538. "description": "审核人",
  20539. "type": "integer"
  20540. },
  20541. "auditremark": {
  20542. "description": "审核备注",
  20543. "type": "string"
  20544. },
  20545. "audittime": {
  20546. "description": "审核时间",
  20547. "type": "string"
  20548. },
  20549. "createtime": {
  20550. "description": "创建时间",
  20551. "type": "string"
  20552. },
  20553. "creatorid": {
  20554. "description": "创建人",
  20555. "type": "integer"
  20556. },
  20557. "deliverygoodsid": {
  20558. "description": "现货品种ID",
  20559. "type": "integer"
  20560. },
  20561. "futureaccountid": {
  20562. "description": "期货资金账户",
  20563. "type": "integer"
  20564. },
  20565. "goodsgroupid": {
  20566. "description": "期货品种",
  20567. "type": "integer"
  20568. },
  20569. "marketid": {
  20570. "description": "市场ID",
  20571. "type": "integer"
  20572. },
  20573. "remark": {
  20574. "description": "备注",
  20575. "type": "string"
  20576. },
  20577. "spotaccountid": {
  20578. "description": "现货资金账户",
  20579. "type": "integer"
  20580. },
  20581. "spottradeid": {
  20582. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20583. "type": "integer"
  20584. },
  20585. "spottradename": {
  20586. "description": "业务名称",
  20587. "type": "string"
  20588. },
  20589. "spottradeno": {
  20590. "description": "业务编号",
  20591. "type": "string"
  20592. },
  20593. "tradedate": {
  20594. "description": "交易日(yyyyMMdd)",
  20595. "type": "string"
  20596. },
  20597. "wrstandardid": {
  20598. "description": "仓单标准ID",
  20599. "type": "integer"
  20600. }
  20601. }
  20602. },
  20603. "erms3.AddSpotContractApplyReq": {
  20604. "type": "object",
  20605. "required": [
  20606. "accountid",
  20607. "areauserid",
  20608. "contractno",
  20609. "contracttype",
  20610. "customeraccountid",
  20611. "customeruserid",
  20612. "details",
  20613. "orimargin",
  20614. "signdate"
  20615. ],
  20616. "properties": {
  20617. "accountid": {
  20618. "description": "资金账户ID",
  20619. "type": "integer"
  20620. },
  20621. "areauserid": {
  20622. "description": "所属机构",
  20623. "type": "integer"
  20624. },
  20625. "contractattachment": {
  20626. "description": "合同附件",
  20627. "type": "string"
  20628. },
  20629. "contractno": {
  20630. "description": "现货合同编号",
  20631. "type": "string"
  20632. },
  20633. "contracttype": {
  20634. "description": "现货合同类型 - 1:采购 -1:销售",
  20635. "type": "integer"
  20636. },
  20637. "creatorid": {
  20638. "description": "申请人",
  20639. "type": "integer"
  20640. },
  20641. "customeraccountid": {
  20642. "description": "客户资金账户ID",
  20643. "type": "integer"
  20644. },
  20645. "customeruserid": {
  20646. "description": "客户ID",
  20647. "type": "integer"
  20648. },
  20649. "details": {
  20650. "description": "明细",
  20651. "type": "array",
  20652. "items": {
  20653. "$ref": "#/definitions/erms3.SoptContractDetail"
  20654. }
  20655. },
  20656. "orimargin": {
  20657. "description": "初始保证金",
  20658. "type": "number"
  20659. },
  20660. "remark": {
  20661. "description": "备注",
  20662. "type": "string"
  20663. },
  20664. "signdate": {
  20665. "description": "签订日期",
  20666. "type": "string"
  20667. }
  20668. }
  20669. },
  20670. "erms3.AddSpotContractApplyRsp": {
  20671. "type": "object",
  20672. "required": [
  20673. "contractno"
  20674. ],
  20675. "properties": {
  20676. "contractno": {
  20677. "description": "现货合同编号",
  20678. "type": "string"
  20679. },
  20680. "spotcontractid": {
  20681. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20682. "type": "integer"
  20683. }
  20684. }
  20685. },
  20686. "erms3.AddUserInfoApplyReq": {
  20687. "type": "object",
  20688. "required": [
  20689. "userid"
  20690. ],
  20691. "properties": {
  20692. "accountid": {
  20693. "description": "交易系统帐号Id (加密存储)",
  20694. "type": "integer"
  20695. },
  20696. "areacode": {
  20697. "description": "机构代码",
  20698. "type": "string"
  20699. },
  20700. "areaid": {
  20701. "description": "机构Id",
  20702. "type": "integer"
  20703. },
  20704. "attachment1": {
  20705. "description": "附件1",
  20706. "type": "string"
  20707. },
  20708. "attachment2": {
  20709. "description": "附件2",
  20710. "type": "string"
  20711. },
  20712. "attachment3": {
  20713. "description": "附件3",
  20714. "type": "string"
  20715. },
  20716. "attachment4": {
  20717. "description": "附件4",
  20718. "type": "string"
  20719. },
  20720. "attachment5": {
  20721. "description": "附件5",
  20722. "type": "string"
  20723. },
  20724. "auditedby": {
  20725. "description": "审核人",
  20726. "type": "string"
  20727. },
  20728. "auditime": {
  20729. "description": "审核时间",
  20730. "type": "string"
  20731. },
  20732. "auditsrc": {
  20733. "description": "审核来源 - 1:管理端 2:终端",
  20734. "type": "integer"
  20735. },
  20736. "bankaccount": {
  20737. "description": "银行帐号 (加密存储)",
  20738. "type": "string"
  20739. },
  20740. "bankaccountname": {
  20741. "description": "收款人名称",
  20742. "type": "string"
  20743. },
  20744. "bankcardbackphotourl": {
  20745. "description": "银行卡背面照地址",
  20746. "type": "string"
  20747. },
  20748. "bankcardfrontphotourl": {
  20749. "description": "银行卡正面照地址",
  20750. "type": "string"
  20751. },
  20752. "bankid": {
  20753. "description": "银行编码",
  20754. "type": "string"
  20755. },
  20756. "bankname": {
  20757. "description": "银行名称",
  20758. "type": "string"
  20759. },
  20760. "bankpictureurl": {
  20761. "description": "银行卡正面地址",
  20762. "type": "string"
  20763. },
  20764. "biznature": {
  20765. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  20766. "type": "integer"
  20767. },
  20768. "bizscope": {
  20769. "description": "企业经营范围(企业)",
  20770. "type": "string"
  20771. },
  20772. "biztype": {
  20773. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  20774. "type": "integer"
  20775. },
  20776. "brokerid": {
  20777. "description": "经纪人ID(加密存储)",
  20778. "type": "string"
  20779. },
  20780. "cardaddress": {
  20781. "description": "证件地址 (加密存储)",
  20782. "type": "string"
  20783. },
  20784. "cardbackphotourl": {
  20785. "description": "背面证件照地址",
  20786. "type": "string"
  20787. },
  20788. "cardfrontphotourl": {
  20789. "description": "正面证件照地址",
  20790. "type": "string"
  20791. },
  20792. "cardnum": {
  20793. "description": "证件号码 (加密存储)",
  20794. "type": "string"
  20795. },
  20796. "cardtype": {
  20797. "description": "证件类型",
  20798. "type": "integer"
  20799. },
  20800. "cityid": {
  20801. "description": "市",
  20802. "type": "integer"
  20803. },
  20804. "company": {
  20805. "description": "公司(个人)",
  20806. "type": "string"
  20807. },
  20808. "contactcardbackphotourl": {
  20809. "description": "联系人证件背面图片地址",
  20810. "type": "string"
  20811. },
  20812. "contactcardfrontphotourl": {
  20813. "description": "联系人证件正面图片地址",
  20814. "type": "string"
  20815. },
  20816. "contactname": {
  20817. "description": "联系人",
  20818. "type": "string"
  20819. },
  20820. "countryid": {
  20821. "description": "国家",
  20822. "type": "integer"
  20823. },
  20824. "createtime": {
  20825. "description": "开户申请时间",
  20826. "type": "string"
  20827. },
  20828. "cusbankid": {
  20829. "description": "签约类型",
  20830. "type": "string"
  20831. },
  20832. "cusbankname": {
  20833. "description": "签约类型名称",
  20834. "type": "string"
  20835. },
  20836. "customername": {
  20837. "description": "客户名称(企业名称)",
  20838. "type": "string"
  20839. },
  20840. "districtid": {
  20841. "description": "地区",
  20842. "type": "integer"
  20843. },
  20844. "email": {
  20845. "description": "Email地址(加密存储)",
  20846. "type": "string"
  20847. },
  20848. "halfbodyphotourl": {
  20849. "description": "半身照地址",
  20850. "type": "string"
  20851. },
  20852. "headurl": {
  20853. "description": "头像地址",
  20854. "type": "string"
  20855. },
  20856. "ipaddress": {
  20857. "description": "IP地址",
  20858. "type": "string"
  20859. },
  20860. "isvalidate": {
  20861. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  20862. "type": "string"
  20863. },
  20864. "legalcardbackphotourl": {
  20865. "description": "法人身份证背面照地址",
  20866. "type": "string"
  20867. },
  20868. "legalcardfrontphotourl": {
  20869. "description": "法人身份证正面照地址",
  20870. "type": "string"
  20871. },
  20872. "legalpersonname": {
  20873. "description": "法人姓名(企业)",
  20874. "type": "string"
  20875. },
  20876. "logincode": {
  20877. "description": "登录帐号 (加密存储)",
  20878. "type": "string"
  20879. },
  20880. "memberareaid": {
  20881. "description": "所属会员ID",
  20882. "type": "integer"
  20883. },
  20884. "mobile2": {
  20885. "description": "手机号码[明文-尚志]",
  20886. "type": "string"
  20887. },
  20888. "mobilephone": {
  20889. "description": "手机号码 (加密存储)",
  20890. "type": "string"
  20891. },
  20892. "modifiedby": {
  20893. "description": "修改人帐号",
  20894. "type": "integer"
  20895. },
  20896. "modifiedtime": {
  20897. "description": "修改时间",
  20898. "type": "string"
  20899. },
  20900. "nickname": {
  20901. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  20902. "type": "string"
  20903. },
  20904. "openmode": {
  20905. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  20906. "type": "integer"
  20907. },
  20908. "otherurl": {
  20909. "description": "其它图片地址[使用分号分隔]",
  20910. "type": "string"
  20911. },
  20912. "postalcode": {
  20913. "description": "邮政编码",
  20914. "type": "string"
  20915. },
  20916. "provinceid": {
  20917. "description": "省",
  20918. "type": "integer"
  20919. },
  20920. "proxystatementurl": {
  20921. "description": "授权委托书",
  20922. "type": "string"
  20923. },
  20924. "qq": {
  20925. "description": "QQ(加密存储",
  20926. "type": "string"
  20927. },
  20928. "referral": {
  20929. "description": "推荐人编码",
  20930. "type": "string"
  20931. },
  20932. "remark": {
  20933. "description": "备注",
  20934. "type": "string"
  20935. },
  20936. "removebeforestatus": {
  20937. "description": "REMOVEBEFORESTATUS",
  20938. "type": "integer"
  20939. },
  20940. "sex": {
  20941. "description": "性别 - 0:女 1:男",
  20942. "type": "integer"
  20943. },
  20944. "signedstatus": {
  20945. "description": "账户一号签签约状态",
  20946. "type": "integer"
  20947. },
  20948. "signpdfurl": {
  20949. "description": "签约pdf文件",
  20950. "type": "string"
  20951. },
  20952. "subbranch": {
  20953. "description": "开户支行",
  20954. "type": "string"
  20955. },
  20956. "taxpayernum": {
  20957. "description": "纳税人识别号",
  20958. "type": "string"
  20959. },
  20960. "telphone": {
  20961. "description": "联系电话(加密存储)",
  20962. "type": "string"
  20963. },
  20964. "userid": {
  20965. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  20966. "type": "integer"
  20967. },
  20968. "userinfotype": {
  20969. "description": "用户信息类型 - 1:个人 2:企业",
  20970. "type": "integer"
  20971. },
  20972. "username": {
  20973. "description": "用户姓名",
  20974. "type": "string"
  20975. },
  20976. "userstate": {
  20977. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  20978. "type": "integer"
  20979. },
  20980. "usertype": {
  20981. "description": "用户类型 - 1:投资者 2:机构",
  20982. "type": "integer"
  20983. },
  20984. "videourl": {
  20985. "description": "视频地址",
  20986. "type": "string"
  20987. },
  20988. "wechat": {
  20989. "description": "微信号 (加密存储)",
  20990. "type": "string"
  20991. }
  20992. }
  20993. },
  20994. "erms3.CustomerInfo": {
  20995. "type": "object",
  20996. "required": [
  20997. "userid"
  20998. ],
  20999. "properties": {
  21000. "accountids": {
  21001. "description": "资金账户ID列表",
  21002. "type": "array",
  21003. "items": {
  21004. "type": "integer"
  21005. }
  21006. },
  21007. "customername": {
  21008. "description": "名称(企业名称)",
  21009. "type": "string"
  21010. },
  21011. "mobile": {
  21012. "description": "手机号码",
  21013. "type": "string"
  21014. },
  21015. "userid": {
  21016. "description": "用户ID",
  21017. "type": "integer"
  21018. }
  21019. }
  21020. },
  21021. "erms3.ModifyUserInfoApplyReq": {
  21022. "type": "object",
  21023. "required": [
  21024. "userid"
  21025. ],
  21026. "properties": {
  21027. "accountid": {
  21028. "description": "交易系统帐号Id (加密存储)",
  21029. "type": "integer"
  21030. },
  21031. "areacode": {
  21032. "description": "机构代码",
  21033. "type": "string"
  21034. },
  21035. "areaid": {
  21036. "description": "机构Id",
  21037. "type": "integer"
  21038. },
  21039. "attachment1": {
  21040. "description": "附件1",
  21041. "type": "string"
  21042. },
  21043. "attachment2": {
  21044. "description": "附件2",
  21045. "type": "string"
  21046. },
  21047. "attachment3": {
  21048. "description": "附件3",
  21049. "type": "string"
  21050. },
  21051. "attachment4": {
  21052. "description": "附件4",
  21053. "type": "string"
  21054. },
  21055. "attachment5": {
  21056. "description": "附件5",
  21057. "type": "string"
  21058. },
  21059. "auditedby": {
  21060. "description": "审核人",
  21061. "type": "string"
  21062. },
  21063. "auditime": {
  21064. "description": "审核时间",
  21065. "type": "string"
  21066. },
  21067. "auditsrc": {
  21068. "description": "审核来源 - 1:管理端 2:终端",
  21069. "type": "integer"
  21070. },
  21071. "bankaccount": {
  21072. "description": "银行帐号 (加密存储)",
  21073. "type": "string"
  21074. },
  21075. "bankaccountname": {
  21076. "description": "收款人名称",
  21077. "type": "string"
  21078. },
  21079. "bankcardbackphotourl": {
  21080. "description": "银行卡背面照地址",
  21081. "type": "string"
  21082. },
  21083. "bankcardfrontphotourl": {
  21084. "description": "银行卡正面照地址",
  21085. "type": "string"
  21086. },
  21087. "bankid": {
  21088. "description": "银行编码",
  21089. "type": "string"
  21090. },
  21091. "bankname": {
  21092. "description": "银行名称",
  21093. "type": "string"
  21094. },
  21095. "bankpictureurl": {
  21096. "description": "银行卡正面地址",
  21097. "type": "string"
  21098. },
  21099. "biznature": {
  21100. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21101. "type": "integer"
  21102. },
  21103. "bizscope": {
  21104. "description": "企业经营范围(企业)",
  21105. "type": "string"
  21106. },
  21107. "biztype": {
  21108. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21109. "type": "integer"
  21110. },
  21111. "brokerid": {
  21112. "description": "经纪人ID(加密存储)",
  21113. "type": "string"
  21114. },
  21115. "cardaddress": {
  21116. "description": "证件地址 (加密存储)",
  21117. "type": "string"
  21118. },
  21119. "cardbackphotourl": {
  21120. "description": "背面证件照地址",
  21121. "type": "string"
  21122. },
  21123. "cardfrontphotourl": {
  21124. "description": "正面证件照地址",
  21125. "type": "string"
  21126. },
  21127. "cardnum": {
  21128. "description": "证件号码 (加密存储)",
  21129. "type": "string"
  21130. },
  21131. "cardtype": {
  21132. "description": "证件类型",
  21133. "type": "integer"
  21134. },
  21135. "cityid": {
  21136. "description": "市",
  21137. "type": "integer"
  21138. },
  21139. "company": {
  21140. "description": "公司(个人)",
  21141. "type": "string"
  21142. },
  21143. "contactcardbackphotourl": {
  21144. "description": "联系人证件背面图片地址",
  21145. "type": "string"
  21146. },
  21147. "contactcardfrontphotourl": {
  21148. "description": "联系人证件正面图片地址",
  21149. "type": "string"
  21150. },
  21151. "contactname": {
  21152. "description": "联系人",
  21153. "type": "string"
  21154. },
  21155. "countryid": {
  21156. "description": "国家",
  21157. "type": "integer"
  21158. },
  21159. "createtime": {
  21160. "description": "开户申请时间",
  21161. "type": "string"
  21162. },
  21163. "cusbankid": {
  21164. "description": "签约类型",
  21165. "type": "string"
  21166. },
  21167. "cusbankname": {
  21168. "description": "签约类型名称",
  21169. "type": "string"
  21170. },
  21171. "customername": {
  21172. "description": "客户名称(企业名称)",
  21173. "type": "string"
  21174. },
  21175. "districtid": {
  21176. "description": "地区",
  21177. "type": "integer"
  21178. },
  21179. "email": {
  21180. "description": "Email地址(加密存储)",
  21181. "type": "string"
  21182. },
  21183. "halfbodyphotourl": {
  21184. "description": "半身照地址",
  21185. "type": "string"
  21186. },
  21187. "headurl": {
  21188. "description": "头像地址",
  21189. "type": "string"
  21190. },
  21191. "ipaddress": {
  21192. "description": "IP地址",
  21193. "type": "string"
  21194. },
  21195. "isvalidate": {
  21196. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21197. "type": "string"
  21198. },
  21199. "legalcardbackphotourl": {
  21200. "description": "法人身份证背面照地址",
  21201. "type": "string"
  21202. },
  21203. "legalcardfrontphotourl": {
  21204. "description": "法人身份证正面照地址",
  21205. "type": "string"
  21206. },
  21207. "legalpersonname": {
  21208. "description": "法人姓名(企业)",
  21209. "type": "string"
  21210. },
  21211. "logincode": {
  21212. "description": "登录帐号 (加密存储)",
  21213. "type": "string"
  21214. },
  21215. "memberareaid": {
  21216. "description": "所属会员ID",
  21217. "type": "integer"
  21218. },
  21219. "mobile2": {
  21220. "description": "手机号码[明文-尚志]",
  21221. "type": "string"
  21222. },
  21223. "mobilephone": {
  21224. "description": "手机号码 (加密存储)",
  21225. "type": "string"
  21226. },
  21227. "modifiedby": {
  21228. "description": "修改人帐号",
  21229. "type": "integer"
  21230. },
  21231. "modifiedtime": {
  21232. "description": "修改时间",
  21233. "type": "string"
  21234. },
  21235. "nickname": {
  21236. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21237. "type": "string"
  21238. },
  21239. "openmode": {
  21240. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21241. "type": "integer"
  21242. },
  21243. "otherurl": {
  21244. "description": "其它图片地址[使用分号分隔]",
  21245. "type": "string"
  21246. },
  21247. "postalcode": {
  21248. "description": "邮政编码",
  21249. "type": "string"
  21250. },
  21251. "provinceid": {
  21252. "description": "省",
  21253. "type": "integer"
  21254. },
  21255. "proxystatementurl": {
  21256. "description": "授权委托书",
  21257. "type": "string"
  21258. },
  21259. "qq": {
  21260. "description": "QQ(加密存储",
  21261. "type": "string"
  21262. },
  21263. "referral": {
  21264. "description": "推荐人编码",
  21265. "type": "string"
  21266. },
  21267. "remark": {
  21268. "description": "备注",
  21269. "type": "string"
  21270. },
  21271. "removebeforestatus": {
  21272. "description": "REMOVEBEFORESTATUS",
  21273. "type": "integer"
  21274. },
  21275. "sex": {
  21276. "description": "性别 - 0:女 1:男",
  21277. "type": "integer"
  21278. },
  21279. "signedstatus": {
  21280. "description": "账户一号签签约状态",
  21281. "type": "integer"
  21282. },
  21283. "signpdfurl": {
  21284. "description": "签约pdf文件",
  21285. "type": "string"
  21286. },
  21287. "subbranch": {
  21288. "description": "开户支行",
  21289. "type": "string"
  21290. },
  21291. "taxpayernum": {
  21292. "description": "纳税人识别号",
  21293. "type": "string"
  21294. },
  21295. "telphone": {
  21296. "description": "联系电话(加密存储)",
  21297. "type": "string"
  21298. },
  21299. "userid": {
  21300. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21301. "type": "integer"
  21302. },
  21303. "userinfotype": {
  21304. "description": "用户信息类型 - 1:个人 2:企业",
  21305. "type": "integer"
  21306. },
  21307. "username": {
  21308. "description": "用户姓名",
  21309. "type": "string"
  21310. },
  21311. "userstate": {
  21312. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21313. "type": "integer"
  21314. },
  21315. "usertype": {
  21316. "description": "用户类型 - 1:投资者 2:机构",
  21317. "type": "integer"
  21318. },
  21319. "videourl": {
  21320. "description": "视频地址",
  21321. "type": "string"
  21322. },
  21323. "wechat": {
  21324. "description": "微信号 (加密存储)",
  21325. "type": "string"
  21326. }
  21327. }
  21328. },
  21329. "erms3.QryAuditContractRsp": {
  21330. "type": "object",
  21331. "required": [
  21332. "matchcustomername",
  21333. "spotcontractid"
  21334. ],
  21335. "properties": {
  21336. "accountid": {
  21337. "description": "交易员ID",
  21338. "type": "string"
  21339. },
  21340. "applystatus": {
  21341. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21342. "type": "integer"
  21343. },
  21344. "curdeliveryqty": {
  21345. "description": "未交收量",
  21346. "type": "integer"
  21347. },
  21348. "customername": {
  21349. "description": "采购方ID",
  21350. "type": "string"
  21351. },
  21352. "deliverygoodsid": {
  21353. "description": "品种ID",
  21354. "type": "string"
  21355. },
  21356. "deliveryqty": {
  21357. "description": "交收量",
  21358. "type": "integer"
  21359. },
  21360. "enumdicname": {
  21361. "description": "单位名称",
  21362. "type": "string"
  21363. },
  21364. "matchaccountid": {
  21365. "description": "业务员ID",
  21366. "type": "string"
  21367. },
  21368. "matchcustomername": {
  21369. "description": "销售方ID",
  21370. "type": "string"
  21371. },
  21372. "pricedqty": {
  21373. "description": "定价量",
  21374. "type": "number"
  21375. },
  21376. "signdate": {
  21377. "description": "签订日期",
  21378. "type": "string"
  21379. },
  21380. "spotcontractid": {
  21381. "description": "合同ID",
  21382. "type": "string"
  21383. },
  21384. "totaldqty": {
  21385. "description": "合同量",
  21386. "type": "number"
  21387. },
  21388. "unpricedqty": {
  21389. "description": "未定价量",
  21390. "type": "number"
  21391. },
  21392. "wrstandardname": {
  21393. "description": "商品名称",
  21394. "type": "string"
  21395. }
  21396. }
  21397. },
  21398. "erms3.QryPendingBizRsp": {
  21399. "type": "object",
  21400. "properties": {
  21401. "accountid": {
  21402. "description": "现货账户",
  21403. "type": "string"
  21404. },
  21405. "areaname": {
  21406. "description": "所属部门",
  21407. "type": "string"
  21408. },
  21409. "bizid": {
  21410. "description": "业务ID",
  21411. "type": "string"
  21412. },
  21413. "bizname": {
  21414. "description": "业务名称",
  21415. "type": "string"
  21416. },
  21417. "status": {
  21418. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21419. "type": "integer"
  21420. },
  21421. "type": {
  21422. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21423. "type": "integer"
  21424. }
  21425. }
  21426. },
  21427. "erms3.QueryBusinessInfoRsp": {
  21428. "type": "object",
  21429. "properties": {
  21430. "businessid": {
  21431. "description": "业务ID.",
  21432. "type": "integer"
  21433. },
  21434. "buyamount": {
  21435. "description": "采购额.",
  21436. "type": "number"
  21437. },
  21438. "buyqty": {
  21439. "description": "采购量.",
  21440. "type": "string"
  21441. },
  21442. "futurepl": {
  21443. "description": "期货盈亏.",
  21444. "type": "number"
  21445. },
  21446. "futureqty": {
  21447. "description": "期货敞口.",
  21448. "type": "string"
  21449. },
  21450. "goodsid": {
  21451. "description": "商品名称/商品代码.",
  21452. "type": "string"
  21453. },
  21454. "hedgingqty": {
  21455. "description": "套保量.",
  21456. "type": "string"
  21457. },
  21458. "sellamount": {
  21459. "description": "销售额.",
  21460. "type": "number"
  21461. },
  21462. "sellqty": {
  21463. "description": "销售量.",
  21464. "type": "string"
  21465. },
  21466. "spotmarketvalue": {
  21467. "description": "现货市值.",
  21468. "type": "number"
  21469. },
  21470. "spotpl": {
  21471. "description": "浮动权益.",
  21472. "type": "number"
  21473. },
  21474. "spotqty": {
  21475. "description": "现货量.",
  21476. "type": "string"
  21477. },
  21478. "statu": {
  21479. "description": "状态,0-未结束 1-已结束.",
  21480. "type": "integer"
  21481. },
  21482. "totalpl": {
  21483. "description": "总盈亏.",
  21484. "type": "number"
  21485. },
  21486. "totalqty": {
  21487. "description": "总敞口.",
  21488. "type": "string"
  21489. },
  21490. "type": {
  21491. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21492. "type": "integer"
  21493. }
  21494. }
  21495. },
  21496. "erms3.QuerySpotContractAppleFormRsp": {
  21497. "type": "object",
  21498. "properties": {
  21499. "goodses": {
  21500. "description": "合约列表",
  21501. "type": "array",
  21502. "items": {
  21503. "$ref": "#/definitions/models.GoodsIDAndName"
  21504. }
  21505. },
  21506. "oppositeusers": {
  21507. "description": "对方账号列表",
  21508. "type": "array",
  21509. "items": {
  21510. "$ref": "#/definitions/erms3.CustomerInfo"
  21511. }
  21512. },
  21513. "ouruser": {
  21514. "description": "我方账号",
  21515. "$ref": "#/definitions/erms3.CustomerInfo"
  21516. },
  21517. "warehouseinfos": {
  21518. "description": "仓库信息列表",
  21519. "type": "array",
  21520. "items": {
  21521. "$ref": "#/definitions/models.Warehouseinfo"
  21522. }
  21523. },
  21524. "wrstandards": {
  21525. "description": "仓单标准列表",
  21526. "type": "array",
  21527. "items": {
  21528. "$ref": "#/definitions/models.WRStandardInfo"
  21529. }
  21530. }
  21531. }
  21532. },
  21533. "erms3.QuerySpotContractInfoRsp": {
  21534. "type": "object",
  21535. "properties": {
  21536. "accountid": {
  21537. "description": "表示交易员ID.",
  21538. "type": "integer"
  21539. },
  21540. "curdeliveryqty": {
  21541. "description": "表示未交收量.",
  21542. "type": "number"
  21543. },
  21544. "customername": {
  21545. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21546. "type": "string"
  21547. },
  21548. "deliverygoodsid": {
  21549. "description": "表示品种ID.",
  21550. "type": "string"
  21551. },
  21552. "deliveryqty": {
  21553. "description": "表示交收量.",
  21554. "type": "number"
  21555. },
  21556. "matchaccountid": {
  21557. "description": "表示业务员ID.",
  21558. "type": "integer"
  21559. },
  21560. "matchcustomername": {
  21561. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21562. "type": "string"
  21563. },
  21564. "priceqty": {
  21565. "description": "表示定价量.",
  21566. "type": "number"
  21567. },
  21568. "relatedbizid": {
  21569. "description": "表示业务ID.",
  21570. "type": "string"
  21571. },
  21572. "signdate": {
  21573. "description": "表示签订日期.",
  21574. "type": "string"
  21575. },
  21576. "spotcontractid": {
  21577. "description": "合同ID",
  21578. "type": "string"
  21579. },
  21580. "status": {
  21581. "description": "表示状态,0-履约中 1-已完成.",
  21582. "type": "integer"
  21583. },
  21584. "totalqty": {
  21585. "description": "表示合同量.",
  21586. "type": "number"
  21587. },
  21588. "unpricedqty": {
  21589. "description": "表示未定价量.",
  21590. "type": "number"
  21591. },
  21592. "wrstandardname": {
  21593. "description": "表示商品ID.",
  21594. "type": "string"
  21595. }
  21596. }
  21597. },
  21598. "erms3.QueryUserInfoAppliesRsp": {
  21599. "type": "object",
  21600. "required": [
  21601. "userid"
  21602. ],
  21603. "properties": {
  21604. "biznature": {
  21605. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21606. "type": "integer"
  21607. },
  21608. "contactname": {
  21609. "description": "联系人",
  21610. "type": "string"
  21611. },
  21612. "createtime": {
  21613. "description": "开户申请时间",
  21614. "type": "string"
  21615. },
  21616. "userid": {
  21617. "description": "用户ID(自增ID)",
  21618. "type": "integer"
  21619. },
  21620. "userinfotype": {
  21621. "description": "用户信息类型 - 1:个人 2:企业",
  21622. "type": "integer"
  21623. },
  21624. "username": {
  21625. "description": "用户姓名",
  21626. "type": "string"
  21627. },
  21628. "userstate": {
  21629. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21630. "type": "integer"
  21631. }
  21632. }
  21633. },
  21634. "erms3.QueryUserInfosRsp": {
  21635. "type": "object",
  21636. "required": [
  21637. "userid"
  21638. ],
  21639. "properties": {
  21640. "biznature": {
  21641. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21642. "type": "integer"
  21643. },
  21644. "contactname": {
  21645. "description": "联系人",
  21646. "type": "string"
  21647. },
  21648. "customername": {
  21649. "description": "客户名称(企业名称)",
  21650. "type": "string"
  21651. },
  21652. "userid": {
  21653. "description": "用户ID",
  21654. "type": "integer"
  21655. },
  21656. "userinfotype": {
  21657. "description": "用户信息类型 - 1:个人 2:企业",
  21658. "type": "integer"
  21659. },
  21660. "userstatus": {
  21661. "description": "用户状态 - 1:正常 2:注销",
  21662. "type": "integer"
  21663. }
  21664. }
  21665. },
  21666. "erms3.SoptContractDetail": {
  21667. "type": "object",
  21668. "required": [
  21669. "deliverygoodsid",
  21670. "producttype",
  21671. "unitname",
  21672. "warehouseid",
  21673. "wrstandardid",
  21674. "wrstandardname"
  21675. ],
  21676. "properties": {
  21677. "deliverygoodsdesc": {
  21678. "description": "现货品种说明",
  21679. "type": "string"
  21680. },
  21681. "deliverygoodsid": {
  21682. "description": "现货品种ID",
  21683. "type": "integer"
  21684. },
  21685. "deliverygoodsname": {
  21686. "description": "现货品种名称",
  21687. "type": "string"
  21688. },
  21689. "pointdesc": {
  21690. "description": "点价描述",
  21691. "type": "string"
  21692. },
  21693. "producttype": {
  21694. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21695. "type": "integer"
  21696. },
  21697. "producttypename": {
  21698. "description": "产品类型名称",
  21699. "type": "string"
  21700. },
  21701. "spotPointOrderVoList": {
  21702. "description": "点价列表",
  21703. "type": "array",
  21704. "items": {
  21705. "$ref": "#/definitions/erms3.SpotPointOrder"
  21706. }
  21707. },
  21708. "spotPriceOrderList": {
  21709. "description": "定价列表",
  21710. "type": "array",
  21711. "items": {
  21712. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21713. }
  21714. },
  21715. "unitname": {
  21716. "description": "单位名称",
  21717. "type": "string"
  21718. },
  21719. "warehouseid": {
  21720. "description": "仓库ID",
  21721. "type": "integer"
  21722. },
  21723. "warehousename": {
  21724. "description": "仓库名称",
  21725. "type": "string"
  21726. },
  21727. "wrstandardid": {
  21728. "description": "交易标的ID",
  21729. "type": "integer"
  21730. },
  21731. "wrstandardname": {
  21732. "description": "交易标的名称",
  21733. "type": "string"
  21734. }
  21735. }
  21736. },
  21737. "erms3.SpotPointOrder": {
  21738. "type": "object",
  21739. "required": [
  21740. "basic",
  21741. "goodsid",
  21742. "qty"
  21743. ],
  21744. "properties": {
  21745. "basic": {
  21746. "description": "基差",
  21747. "type": "number"
  21748. },
  21749. "deliveryenddate": {
  21750. "description": "交收结束日期",
  21751. "type": "string"
  21752. },
  21753. "deliverystartdate": {
  21754. "description": "交收开始日期",
  21755. "type": "string"
  21756. },
  21757. "enddate": {
  21758. "description": "点价结束日期",
  21759. "type": "string"
  21760. },
  21761. "goodsid": {
  21762. "description": "商品ID",
  21763. "type": "integer"
  21764. },
  21765. "goodsname": {
  21766. "description": "商品名称",
  21767. "type": "string"
  21768. },
  21769. "qty": {
  21770. "description": "数量",
  21771. "type": "number"
  21772. },
  21773. "startdate": {
  21774. "description": "点价开始日期",
  21775. "type": "string"
  21776. }
  21777. }
  21778. },
  21779. "erms3.SpotPriceOrder": {
  21780. "type": "object",
  21781. "required": [
  21782. "amount",
  21783. "price",
  21784. "qty"
  21785. ],
  21786. "properties": {
  21787. "amount": {
  21788. "description": "金额",
  21789. "type": "number"
  21790. },
  21791. "deliveryenddate": {
  21792. "description": "交收结束日期",
  21793. "type": "string"
  21794. },
  21795. "deliverystartdate": {
  21796. "description": "交收开始日期",
  21797. "type": "string"
  21798. },
  21799. "price": {
  21800. "description": "价格",
  21801. "type": "number"
  21802. },
  21803. "qty": {
  21804. "description": "数量",
  21805. "type": "number"
  21806. }
  21807. }
  21808. },
  21809. "models.Arearole": {
  21810. "type": "object",
  21811. "required": [
  21812. "roletype",
  21813. "userid"
  21814. ],
  21815. "properties": {
  21816. "createtime": {
  21817. "description": "创建时间",
  21818. "type": "string"
  21819. },
  21820. "creatorid": {
  21821. "description": "创建人ID",
  21822. "type": "integer"
  21823. },
  21824. "fromuserid": {
  21825. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  21826. "type": "integer"
  21827. },
  21828. "isreturnscore": {
  21829. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  21830. "type": "integer"
  21831. },
  21832. "modifierid": {
  21833. "description": "修改人ID",
  21834. "type": "integer"
  21835. },
  21836. "modifytime": {
  21837. "description": "修改时间",
  21838. "type": "string"
  21839. },
  21840. "orgtype": {
  21841. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  21842. "type": "integer"
  21843. },
  21844. "outuserid": {
  21845. "description": "外部账户[场外期权做市商]",
  21846. "type": "string"
  21847. },
  21848. "parentuserid": {
  21849. "description": "上级组织机构(组织机构)",
  21850. "type": "integer"
  21851. },
  21852. "roletype": {
  21853. "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:门店",
  21854. "type": "integer"
  21855. },
  21856. "rootuserid": {
  21857. "description": "顶级组织机构用户ID(组织机构)",
  21858. "type": "integer"
  21859. },
  21860. "shoppassword": {
  21861. "description": "商城店铺登陆密码(商城店铺角色使用)",
  21862. "type": "string"
  21863. },
  21864. "sublevelpath": {
  21865. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  21866. "type": "string"
  21867. },
  21868. "suborgtype": {
  21869. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  21870. "type": "integer"
  21871. },
  21872. "tradeaccountid": {
  21873. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  21874. "type": "integer"
  21875. },
  21876. "transurl": {
  21877. "description": "物流地址(物流机构)",
  21878. "type": "string"
  21879. },
  21880. "userid": {
  21881. "description": "机构用户ID其他做市关系,都设置为 1",
  21882. "type": "integer"
  21883. }
  21884. }
  21885. },
  21886. "models.BuyOrder": {
  21887. "type": "object",
  21888. "properties": {
  21889. "accountid": {
  21890. "description": "资金账户ID",
  21891. "type": "integer"
  21892. },
  21893. "buyusername": {
  21894. "description": "买方",
  21895. "type": "string"
  21896. },
  21897. "marketid": {
  21898. "description": "市场ID",
  21899. "type": "integer"
  21900. },
  21901. "ordertime": {
  21902. "description": "委托时间",
  21903. "type": "string"
  21904. },
  21905. "origin": {
  21906. "description": "原产地",
  21907. "type": "string"
  21908. },
  21909. "performancetemplateid": {
  21910. "description": "履约计划模板ID",
  21911. "type": "integer"
  21912. },
  21913. "remark": {
  21914. "description": "备注",
  21915. "type": "string"
  21916. },
  21917. "userid": {
  21918. "description": "用户ID",
  21919. "type": "integer"
  21920. },
  21921. "validtime": {
  21922. "description": "有效期限",
  21923. "type": "string"
  21924. },
  21925. "warehouseids": {
  21926. "description": "仓库ID - 多个, 逗号分隔",
  21927. "type": "string"
  21928. },
  21929. "warehouseinfosdisplay": {
  21930. "type": "string"
  21931. },
  21932. "wrtradeorderid": {
  21933. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  21934. "type": "string"
  21935. },
  21936. "wrtradeorderstatus": {
  21937. "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、",
  21938. "type": "integer"
  21939. },
  21940. "zscategory": {
  21941. "description": "钻石分类 - 枚举”ZSCategory“",
  21942. "type": "integer"
  21943. },
  21944. "zscategorydisplay": {
  21945. "type": "string"
  21946. },
  21947. "zsclaritytype": {
  21948. "description": "净度 - 两个, 逗号分隔",
  21949. "type": "string"
  21950. },
  21951. "zsclaritytypedisplay": {
  21952. "type": "string"
  21953. },
  21954. "zscolortype": {
  21955. "description": "颜色 - 两个, 逗号分隔",
  21956. "type": "string"
  21957. },
  21958. "zscolortypedisplay": {
  21959. "type": "string"
  21960. },
  21961. "zscrystaltype": {
  21962. "description": "晶型 - 多个,逗号分隔",
  21963. "type": "string"
  21964. },
  21965. "zscrystaltypedisplay": {
  21966. "type": "string"
  21967. },
  21968. "zscurrencytype": {
  21969. "description": "货币类型 - 多个, 逗号分隔",
  21970. "type": "string"
  21971. },
  21972. "zscurrencytypedisplay": {
  21973. "type": "string"
  21974. },
  21975. "zscuttype": {
  21976. "description": "切工 - 两个, 逗号分隔",
  21977. "type": "string"
  21978. },
  21979. "zscuttypedisplay": {
  21980. "type": "string"
  21981. },
  21982. "zsczcolor1type": {
  21983. "description": "彩钻颜色1, 逗号分隔",
  21984. "type": "string"
  21985. },
  21986. "zsczcolor1typedisplay": {
  21987. "type": "string"
  21988. },
  21989. "zsczcolor2type": {
  21990. "description": "彩钻颜色2, 逗号分隔",
  21991. "type": "string"
  21992. },
  21993. "zsczcolor2typedisplay": {
  21994. "type": "string"
  21995. },
  21996. "zsczcolor3type": {
  21997. "description": "彩钻颜色3, 逗号分隔",
  21998. "type": "string"
  21999. },
  22000. "zsczcolor3typedisplay": {
  22001. "type": "string"
  22002. },
  22003. "zsfluorescencetype": {
  22004. "description": "荧光 - 多个, 逗号分隔",
  22005. "type": "string"
  22006. },
  22007. "zsfluorescencetypedisplay": {
  22008. "type": "string"
  22009. },
  22010. "zspolishtype": {
  22011. "description": "抛光度 - 两个, 逗号分隔",
  22012. "type": "string"
  22013. },
  22014. "zspolishtypedisplay": {
  22015. "type": "string"
  22016. },
  22017. "zsshapetype": {
  22018. "description": "形状 - 多个, 逗号分隔",
  22019. "type": "string"
  22020. },
  22021. "zsshapetypedisplay": {
  22022. "type": "string"
  22023. },
  22024. "zssize": {
  22025. "description": "尺寸 - 两个小数, 逗号分隔",
  22026. "type": "string"
  22027. },
  22028. "zsstyletype": {
  22029. "description": "款式 - 多个, 逗号分隔",
  22030. "type": "string"
  22031. },
  22032. "zsstyletypedisplay": {
  22033. "type": "string"
  22034. },
  22035. "zssymmetrytype": {
  22036. "description": "对称度 - 两个, 逗号分隔",
  22037. "type": "string"
  22038. },
  22039. "zssymmetrytypedisplay": {
  22040. "type": "string"
  22041. },
  22042. "zstabledisplay": {
  22043. "description": "求购信息",
  22044. "type": "string"
  22045. }
  22046. }
  22047. },
  22048. "models.DgFactoryItem": {
  22049. "type": "object",
  22050. "properties": {
  22051. "dgfactoryitemid": {
  22052. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22053. "type": "integer"
  22054. },
  22055. "dgfactoryitemtypeid": {
  22056. "description": "要素项类型",
  22057. "type": "integer"
  22058. },
  22059. "dgfactoryitemvalue": {
  22060. "description": "要素项值(类型为仓库时填写仓库名称)",
  22061. "type": "string"
  22062. },
  22063. "orderindex": {
  22064. "description": "顺序",
  22065. "type": "integer"
  22066. }
  22067. }
  22068. },
  22069. "models.Division": {
  22070. "type": "object",
  22071. "required": [
  22072. "autoid",
  22073. "divisioncode"
  22074. ],
  22075. "properties": {
  22076. "autoid": {
  22077. "description": "自增ID",
  22078. "type": "integer"
  22079. },
  22080. "divisioncode": {
  22081. "description": "行政代码",
  22082. "type": "string"
  22083. },
  22084. "divisionlevel": {
  22085. "description": "行政级别",
  22086. "type": "string"
  22087. },
  22088. "divisionname": {
  22089. "description": "行政名称",
  22090. "type": "string"
  22091. },
  22092. "modifierid": {
  22093. "description": "修改人",
  22094. "type": "integer"
  22095. },
  22096. "modifytime": {
  22097. "description": "修改时间",
  22098. "type": "string"
  22099. },
  22100. "parentcode": {
  22101. "description": "上级行政代码",
  22102. "type": "string"
  22103. },
  22104. "pathname": {
  22105. "description": "路径名称",
  22106. "type": "string"
  22107. },
  22108. "postcode": {
  22109. "description": "邮政编码",
  22110. "type": "string"
  22111. },
  22112. "separablename": {
  22113. "description": "可拆分的全称",
  22114. "type": "string"
  22115. },
  22116. "shortcode": {
  22117. "description": "地区简码",
  22118. "type": "string"
  22119. }
  22120. }
  22121. },
  22122. "models.Enumdicitem": {
  22123. "type": "object",
  22124. "required": [
  22125. "autoid",
  22126. "enumdiccode",
  22127. "enumdicid",
  22128. "enumitemname"
  22129. ],
  22130. "properties": {
  22131. "autoid": {
  22132. "description": "自增ID",
  22133. "type": "integer"
  22134. },
  22135. "bankmappedvalue": {
  22136. "description": "银行服务对应值",
  22137. "type": "string"
  22138. },
  22139. "enumdiccode": {
  22140. "description": "所属枚举代码",
  22141. "type": "string"
  22142. },
  22143. "enumdicid": {
  22144. "description": "所属枚举ID",
  22145. "type": "integer"
  22146. },
  22147. "enumdicname": {
  22148. "description": "枚举项名称",
  22149. "type": "string"
  22150. },
  22151. "enumitemname": {
  22152. "description": "枚举项值",
  22153. "type": "integer"
  22154. },
  22155. "enumitemstatus": {
  22156. "description": "枚举项状态 - 1.启用 2.不启用",
  22157. "type": "integer"
  22158. },
  22159. "enumitemvalue": {
  22160. "description": "通用值 - [币种通用简写]",
  22161. "type": "string"
  22162. },
  22163. "param1": {
  22164. "description": "参数1[币种:币种小数位]",
  22165. "type": "string"
  22166. },
  22167. "param2": {
  22168. "description": "参数1[币种:币种显示单位]",
  22169. "type": "string"
  22170. },
  22171. "remark": {
  22172. "description": "备注",
  22173. "type": "string"
  22174. }
  22175. }
  22176. },
  22177. "models.Ermcp2AreaExposure": {
  22178. "type": "object",
  22179. "properties": {
  22180. "areauserid": {
  22181. "description": "所属机构",
  22182. "type": "integer"
  22183. },
  22184. "enumdicname": {
  22185. "description": "单位",
  22186. "type": "string"
  22187. },
  22188. "futureqty": {
  22189. "description": "期货套期量",
  22190. "type": "number"
  22191. },
  22192. "futureqtychange": {
  22193. "description": "期货变动量 = FutureQty - OriFutureQty",
  22194. "type": "number"
  22195. },
  22196. "goodsunitid": {
  22197. "description": "单位ID",
  22198. "type": "integer"
  22199. },
  22200. "hedgedspotexposure": {
  22201. "description": "被套期现货敞口量",
  22202. "type": "number"
  22203. },
  22204. "hedgedspratio": {
  22205. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  22206. "type": "number"
  22207. },
  22208. "hedgedtotalexposourechange": {
  22209. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  22210. "type": "number"
  22211. },
  22212. "hedgedtotalexposure": {
  22213. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  22214. "type": "number"
  22215. },
  22216. "hedgeplanqty": {
  22217. "description": "套期计划量",
  22218. "type": "number"
  22219. },
  22220. "hedgeplanqtychange": {
  22221. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  22222. "type": "number"
  22223. },
  22224. "hedgespotqty": {
  22225. "description": "被套期现货量",
  22226. "type": "number"
  22227. },
  22228. "middlegoodsid": {
  22229. "description": "套保品种",
  22230. "type": "integer"
  22231. },
  22232. "middlegoodsname": {
  22233. "description": "套保品种名称",
  22234. "type": "string"
  22235. },
  22236. "orifutureqty": {
  22237. "description": "期初期货套期量",
  22238. "type": "number"
  22239. },
  22240. "orihedgedspotexposure": {
  22241. "description": "期初被套期现货敞口量",
  22242. "type": "number"
  22243. },
  22244. "orihedgedtotalexposure": {
  22245. "description": "期初套期敞口量",
  22246. "type": "number"
  22247. },
  22248. "orihedgeplanqty": {
  22249. "description": "期初套期计划量",
  22250. "type": "number"
  22251. },
  22252. "orihedgespotqty": {
  22253. "description": "期初被套期现货量",
  22254. "type": "number"
  22255. },
  22256. "orispotexposure": {
  22257. "description": "期初现货敞口量",
  22258. "type": "number"
  22259. },
  22260. "orispotqty": {
  22261. "description": "期初现货总量",
  22262. "type": "number"
  22263. },
  22264. "oritotalexposure": {
  22265. "description": "期初总敞口量",
  22266. "type": "number"
  22267. },
  22268. "spotexposure": {
  22269. "description": "现货敞口量",
  22270. "type": "number"
  22271. },
  22272. "spotqty": {
  22273. "description": "现货总量",
  22274. "type": "number"
  22275. },
  22276. "spotqtychange": {
  22277. "description": "现货变动量 = SpotQty - OriSpotQty",
  22278. "type": "number"
  22279. },
  22280. "spratio": {
  22281. "description": "总期现比例 = 期货套期量/现货敞口量",
  22282. "type": "number"
  22283. },
  22284. "totalexposure": {
  22285. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22286. "type": "number"
  22287. },
  22288. "totalexposurechange": {
  22289. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22290. "type": "number"
  22291. },
  22292. "updatetime": {
  22293. "description": "更新时间 --DATE",
  22294. "type": "string"
  22295. }
  22296. }
  22297. },
  22298. "models.Ermcp2hedgeditem": {
  22299. "type": "object",
  22300. "properties": {
  22301. "accountname": {
  22302. "description": "套期主体",
  22303. "type": "string"
  22304. },
  22305. "applyid": {
  22306. "description": "申请人",
  22307. "type": "integer"
  22308. },
  22309. "applysrc": {
  22310. "description": "申请来源 - 1:管理端 2:终端",
  22311. "type": "integer"
  22312. },
  22313. "areauserid": {
  22314. "description": "企业ID",
  22315. "type": "integer"
  22316. },
  22317. "auditid": {
  22318. "description": "审核人",
  22319. "type": "integer"
  22320. },
  22321. "auditremark": {
  22322. "description": "审核备注",
  22323. "type": "string"
  22324. },
  22325. "auditsrc": {
  22326. "description": "审核来源 - 1:管理端 2:终端",
  22327. "type": "integer"
  22328. },
  22329. "audittime": {
  22330. "description": "审核时间",
  22331. "type": "string"
  22332. },
  22333. "audittradedate": {
  22334. "description": "审核交易日(yyyyMMdd)",
  22335. "type": "string"
  22336. },
  22337. "createtime": {
  22338. "description": "申请时间",
  22339. "type": "string"
  22340. },
  22341. "curprice": {
  22342. "description": "当前市场价",
  22343. "type": "number"
  22344. },
  22345. "curstock": {
  22346. "description": "期末库存量 = 采购总量 - 销售总量",
  22347. "type": "number"
  22348. },
  22349. "deliverygoodsid": {
  22350. "description": "现货品种ID",
  22351. "type": "integer"
  22352. },
  22353. "enddate": {
  22354. "description": "完成日期",
  22355. "type": "string"
  22356. },
  22357. "endtradedate": {
  22358. "description": "完成交易日",
  22359. "type": "string"
  22360. },
  22361. "enumdicname": {
  22362. "description": "单位",
  22363. "type": "string"
  22364. },
  22365. "exeamount": {
  22366. "description": "执行市价总额",
  22367. "type": "number"
  22368. },
  22369. "exeavgprice": {
  22370. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22371. "type": "number"
  22372. },
  22373. "execontractamount": {
  22374. "description": "执行定价总额",
  22375. "type": "number"
  22376. },
  22377. "exeqty": {
  22378. "description": "执行现货量",
  22379. "type": "number"
  22380. },
  22381. "exerestamount": {
  22382. "description": "执行剩余市价总额【现货贸易】",
  22383. "type": "number"
  22384. },
  22385. "futurefloatpl": {
  22386. "description": "期货浮动损益",
  22387. "type": "number"
  22388. },
  22389. "futurehedgepl": {
  22390. "description": "期货实际损益",
  22391. "type": "number"
  22392. },
  22393. "futurehedgeplchange": {
  22394. "description": "期货实际损益变动",
  22395. "type": "number"
  22396. },
  22397. "futurepl": {
  22398. "description": "期货套期损益",
  22399. "type": "number"
  22400. },
  22401. "futureplchange": {
  22402. "description": "期货套期损益变动",
  22403. "type": "number"
  22404. },
  22405. "hedgeamount": {
  22406. "description": "套期市价总额",
  22407. "type": "number"
  22408. },
  22409. "hedgecontractamount": {
  22410. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22411. "type": "number"
  22412. },
  22413. "hedgeditemid": {
  22414. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22415. "type": "string"
  22416. },
  22417. "hedgeditemname": {
  22418. "description": "项目名称",
  22419. "type": "string"
  22420. },
  22421. "hedgeditemnum": {
  22422. "description": "项目编号",
  22423. "type": "string"
  22424. },
  22425. "hedgeditemstatus": {
  22426. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22427. "type": "integer"
  22428. },
  22429. "hedgedtype": {
  22430. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22431. "type": "integer"
  22432. },
  22433. "hedgeqty": {
  22434. "description": "套期现货量",
  22435. "type": "number"
  22436. },
  22437. "hedgerate": {
  22438. "description": "套保比率",
  22439. "type": "number"
  22440. },
  22441. "hedgerestamount": {
  22442. "description": "套期剩余市价总额【现货贸易】",
  22443. "type": "number"
  22444. },
  22445. "hedgesumpl": {
  22446. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22447. "type": "number"
  22448. },
  22449. "middlegoodslist": {
  22450. "description": "套期商品列表",
  22451. "type": "array",
  22452. "items": {
  22453. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22454. }
  22455. },
  22456. "oriavgprice": {
  22457. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22458. "type": "number"
  22459. },
  22460. "orifuturehedgepl": {
  22461. "description": "期初期货实际损益",
  22462. "type": "number"
  22463. },
  22464. "orifuturepl": {
  22465. "description": "期初期货套期损益",
  22466. "type": "number"
  22467. },
  22468. "orispothedgepl": {
  22469. "description": "期初现货实际损益",
  22470. "type": "number"
  22471. },
  22472. "orispotpl": {
  22473. "description": "期初现货套期损益",
  22474. "type": "number"
  22475. },
  22476. "planenddate": {
  22477. "description": "计划结束日期",
  22478. "type": "string"
  22479. },
  22480. "planstartdate": {
  22481. "description": "计划开始日期",
  22482. "type": "string"
  22483. },
  22484. "remark": {
  22485. "description": "备注",
  22486. "type": "string"
  22487. },
  22488. "spotbookamount": {
  22489. "description": "现货账面总额",
  22490. "type": "number"
  22491. },
  22492. "spotfloatpl": {
  22493. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22494. "type": "number"
  22495. },
  22496. "spothedgepl": {
  22497. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22498. "type": "number"
  22499. },
  22500. "spothedgeplchange": {
  22501. "description": "现货实际损益变动",
  22502. "type": "number"
  22503. },
  22504. "spotpl": {
  22505. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22506. "type": "number"
  22507. },
  22508. "spotplchange": {
  22509. "description": "现货套期损益变动",
  22510. "type": "number"
  22511. },
  22512. "spottradepl": {
  22513. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22514. "type": "number"
  22515. },
  22516. "sumobspl": {
  22517. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22518. "type": "number"
  22519. },
  22520. "tradeuserid": {
  22521. "description": "交易用户ID",
  22522. "type": "integer"
  22523. },
  22524. "unexeqty": {
  22525. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22526. "type": "number"
  22527. },
  22528. "updatetime": {
  22529. "description": "更新时间",
  22530. "type": "string"
  22531. },
  22532. "vatpl": {
  22533. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22534. "type": "number"
  22535. },
  22536. "vatrate": {
  22537. "description": "增值税",
  22538. "type": "number"
  22539. },
  22540. "wrstandardid": {
  22541. "description": "现货商品ID",
  22542. "type": "integer"
  22543. },
  22544. "wrstandardname": {
  22545. "description": "商品名称",
  22546. "type": "string"
  22547. }
  22548. }
  22549. },
  22550. "models.Ermcp2hedgeditemlink": {
  22551. "type": "object",
  22552. "required": [
  22553. "relatedspotcontractid"
  22554. ],
  22555. "properties": {
  22556. "areauserid": {
  22557. "description": "企业ID",
  22558. "type": "integer"
  22559. },
  22560. "createtime": {
  22561. "description": "[关联时间]创建时间",
  22562. "type": "string"
  22563. },
  22564. "customeruserid": {
  22565. "description": "对手方 【3:采购合同 4:销售合同】",
  22566. "type": "integer"
  22567. },
  22568. "deliverygoodsid": {
  22569. "description": "现货品种ID",
  22570. "type": "integer"
  22571. },
  22572. "enumdicname": {
  22573. "description": "单位",
  22574. "type": "string"
  22575. },
  22576. "hedgeditemid": {
  22577. "description": "被套期项目ID",
  22578. "type": "integer"
  22579. },
  22580. "hedgeditemlinkid": {
  22581. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22582. "type": "integer"
  22583. },
  22584. "hedgeditemnum": {
  22585. "description": "项目编号",
  22586. "type": "string"
  22587. },
  22588. "hedgedtype": {
  22589. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22590. "type": "integer"
  22591. },
  22592. "relatedamount": {
  22593. "description": "市价总额 = 关联数量 * 期初市场价",
  22594. "type": "number"
  22595. },
  22596. "relatedhedgeplanid": {
  22597. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22598. "type": "integer"
  22599. },
  22600. "relatedqty": {
  22601. "description": "关联数量",
  22602. "type": "number"
  22603. },
  22604. "relatedspotcontractid": {
  22605. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22606. "type": "integer"
  22607. },
  22608. "relatedtype": {
  22609. "description": "关联类型 - 1:套期关联 2:执行关联",
  22610. "type": "integer"
  22611. },
  22612. "spotgoodsbrandid": {
  22613. "description": "现货品牌ID",
  22614. "type": "integer"
  22615. },
  22616. "spotpricedamount": {
  22617. "description": "[关联定价总额]定价总额",
  22618. "type": "number"
  22619. },
  22620. "spotpricedavgprice": {
  22621. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22622. "type": "number"
  22623. },
  22624. "spottype": {
  22625. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22626. "type": "integer"
  22627. },
  22628. "tradeuserid": {
  22629. "description": "交易用户ID",
  22630. "type": "integer"
  22631. },
  22632. "unexeqty": {
  22633. "description": "未执行现货量【项目关联时值】",
  22634. "type": "number"
  22635. },
  22636. "wrstandardid": {
  22637. "description": "现货商品ID",
  22638. "type": "integer"
  22639. },
  22640. "wrstandardname": {
  22641. "description": "现货商品",
  22642. "type": "string"
  22643. }
  22644. }
  22645. },
  22646. "models.Ermcp2hedgeditemsDetail": {
  22647. "type": "object",
  22648. "properties": {
  22649. "accountname": {
  22650. "description": "套期主体",
  22651. "type": "string"
  22652. },
  22653. "areauserid": {
  22654. "description": "企业ID",
  22655. "type": "integer"
  22656. },
  22657. "createtime": {
  22658. "description": "[日期时间]创建时间",
  22659. "type": "string"
  22660. },
  22661. "customeruserid": {
  22662. "description": "对手方 【3:采购合同 4:销售合同】",
  22663. "type": "integer"
  22664. },
  22665. "deliverygoodsid": {
  22666. "description": "现货品种ID",
  22667. "type": "integer"
  22668. },
  22669. "enumdicname": {
  22670. "description": "单位",
  22671. "type": "string"
  22672. },
  22673. "hedgeditemid": {
  22674. "description": "被套期项目ID",
  22675. "type": "string"
  22676. },
  22677. "hedgeditemspotid": {
  22678. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22679. "type": "string"
  22680. },
  22681. "hedgedtype": {
  22682. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22683. "type": "integer"
  22684. },
  22685. "hedgeplanno": {
  22686. "description": "计划编号",
  22687. "type": "string"
  22688. },
  22689. "middlegoodschange": {
  22690. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22691. "type": "number"
  22692. },
  22693. "oriavgprice": {
  22694. "description": "期初市场价[当初市场价]",
  22695. "type": "number"
  22696. },
  22697. "relatedamount": {
  22698. "description": "市价总额 = 关联数量 * 期初市场价",
  22699. "type": "number"
  22700. },
  22701. "relatedhedgeplanid": {
  22702. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22703. "type": "integer"
  22704. },
  22705. "relatedqty": {
  22706. "description": "[期间变化量]关联数量",
  22707. "type": "number"
  22708. },
  22709. "relatedspotcontractid": {
  22710. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22711. "type": "integer"
  22712. },
  22713. "relatedtype": {
  22714. "description": "关联类型 - 1:套期关联 2:执行关联",
  22715. "type": "integer"
  22716. },
  22717. "spotgoodsbrandid": {
  22718. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22719. "type": "integer"
  22720. },
  22721. "spotpricedamount": {
  22722. "description": "定价总额",
  22723. "type": "number"
  22724. },
  22725. "spotpricedavgprice": {
  22726. "description": "现货均价 = 定价总额 / 关联数量",
  22727. "type": "number"
  22728. },
  22729. "spottype": {
  22730. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22731. "type": "integer"
  22732. },
  22733. "tradeuserid": {
  22734. "description": "交易用户ID",
  22735. "type": "integer"
  22736. },
  22737. "unexeqty": {
  22738. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22739. "type": "number"
  22740. },
  22741. "wrstandardid": {
  22742. "description": "现货商品ID",
  22743. "type": "integer"
  22744. },
  22745. "wrstandardname": {
  22746. "description": "现货商品",
  22747. "type": "string"
  22748. }
  22749. }
  22750. },
  22751. "models.Ermcp2hedgeditemspot": {
  22752. "type": "object",
  22753. "required": [
  22754. "hedgeditemid"
  22755. ],
  22756. "properties": {
  22757. "areauserid": {
  22758. "description": "企业ID",
  22759. "type": "integer"
  22760. },
  22761. "createtime": {
  22762. "description": "创建时间",
  22763. "type": "string"
  22764. },
  22765. "customeruserid": {
  22766. "description": "对手方 【3:采购合同 4:销售合同】",
  22767. "type": "integer"
  22768. },
  22769. "deliverygoodsid": {
  22770. "description": "现货品种ID",
  22771. "type": "integer"
  22772. },
  22773. "enumdicname": {
  22774. "description": "单位",
  22775. "type": "string"
  22776. },
  22777. "hedgeditemid": {
  22778. "description": "被套期项目ID",
  22779. "type": "string"
  22780. },
  22781. "hedgeditemspotid": {
  22782. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22783. "type": "string"
  22784. },
  22785. "hedgedtype": {
  22786. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22787. "type": "integer"
  22788. },
  22789. "hedgeplanno": {
  22790. "description": "计划编号",
  22791. "type": "string"
  22792. },
  22793. "oriavgprice": {
  22794. "description": "期初市场价[当初市场价]",
  22795. "type": "number"
  22796. },
  22797. "relatedamount": {
  22798. "description": "市价总额 = 关联数量 * 期初市场价",
  22799. "type": "number"
  22800. },
  22801. "relatedhedgeplanid": {
  22802. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22803. "type": "integer"
  22804. },
  22805. "relatedqty": {
  22806. "description": "关联数量[数量]",
  22807. "type": "number"
  22808. },
  22809. "relatedspotcontractid": {
  22810. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22811. "type": "integer"
  22812. },
  22813. "relatedtype": {
  22814. "description": "关联类型 - 1:套期关联 2:执行关联",
  22815. "type": "integer"
  22816. },
  22817. "spotgoodsbrandid": {
  22818. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22819. "type": "integer"
  22820. },
  22821. "spotpricedamount": {
  22822. "description": "定价总额",
  22823. "type": "number"
  22824. },
  22825. "spotpricedavgprice": {
  22826. "description": "现货均价 = 定价总额 / 关联数量",
  22827. "type": "number"
  22828. },
  22829. "spottype": {
  22830. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22831. "type": "integer"
  22832. },
  22833. "tradeuserid": {
  22834. "description": "交易用户ID",
  22835. "type": "integer"
  22836. },
  22837. "wrstandardid": {
  22838. "description": "现货商品ID",
  22839. "type": "integer"
  22840. },
  22841. "wrstandardname": {
  22842. "description": "现货商品",
  22843. "type": "string"
  22844. }
  22845. }
  22846. },
  22847. "models.Ermcp2hedgeditemspotDetail": {
  22848. "type": "object",
  22849. "required": [
  22850. "hedgeditemid"
  22851. ],
  22852. "properties": {
  22853. "accountname": {
  22854. "description": "对手方",
  22855. "type": "string"
  22856. },
  22857. "areauserid": {
  22858. "description": "企业ID",
  22859. "type": "integer"
  22860. },
  22861. "brandname": {
  22862. "description": "品牌",
  22863. "type": "string"
  22864. },
  22865. "contractno": {
  22866. "description": "合同编号",
  22867. "type": "string"
  22868. },
  22869. "createtime": {
  22870. "description": "创建时间",
  22871. "type": "string"
  22872. },
  22873. "customeruserid": {
  22874. "description": "对手方 【3:采购合同 4:销售合同】",
  22875. "type": "integer"
  22876. },
  22877. "deliverygoodsid": {
  22878. "description": "现货品种ID",
  22879. "type": "integer"
  22880. },
  22881. "enumdicname": {
  22882. "description": "单位",
  22883. "type": "string"
  22884. },
  22885. "hedgeditemid": {
  22886. "description": "被套期项目ID",
  22887. "type": "string"
  22888. },
  22889. "hedgeditemspotid": {
  22890. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22891. "type": "string"
  22892. },
  22893. "hedgedtype": {
  22894. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22895. "type": "integer"
  22896. },
  22897. "oriavgprice": {
  22898. "description": "期初市场价[当初市场价]",
  22899. "type": "number"
  22900. },
  22901. "relatedamount": {
  22902. "description": "市价总额 = 关联数量 * 期初市场价",
  22903. "type": "number"
  22904. },
  22905. "relatedhedgeplanid": {
  22906. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22907. "type": "integer"
  22908. },
  22909. "relatedqty": {
  22910. "description": "关联数量[数量]",
  22911. "type": "number"
  22912. },
  22913. "relatedspotcontractid": {
  22914. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22915. "type": "integer"
  22916. },
  22917. "relatedtype": {
  22918. "description": "关联类型 - 1:套期关联 2:执行关联",
  22919. "type": "integer"
  22920. },
  22921. "spotgoodsbrandid": {
  22922. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  22923. "type": "integer"
  22924. },
  22925. "spotpricedamount": {
  22926. "description": "定价总额[金额]",
  22927. "type": "number"
  22928. },
  22929. "spotpricedavgprice": {
  22930. "description": "现货均价 = 定价总额 / 关联数量",
  22931. "type": "number"
  22932. },
  22933. "spottype": {
  22934. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22935. "type": "integer"
  22936. },
  22937. "tradeuserid": {
  22938. "description": "交易用户ID",
  22939. "type": "integer"
  22940. },
  22941. "wrstandardid": {
  22942. "description": "现货商品ID",
  22943. "type": "integer"
  22944. },
  22945. "wrstandardname": {
  22946. "description": "现货商品",
  22947. "type": "string"
  22948. }
  22949. }
  22950. },
  22951. "models.Ermcp2himiddlegoods": {
  22952. "type": "object",
  22953. "required": [
  22954. "hedgeditemid",
  22955. "middlegoodsid"
  22956. ],
  22957. "properties": {
  22958. "futurehedgeqty": {
  22959. "description": "期货持仓套期量",
  22960. "type": "number"
  22961. },
  22962. "hedgeditemid": {
  22963. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22964. "type": "integer"
  22965. },
  22966. "hiexpsoure": {
  22967. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  22968. "type": "number"
  22969. },
  22970. "middlegoodscode": {
  22971. "description": "套保商品代码",
  22972. "type": "string"
  22973. },
  22974. "middlegoodsid": {
  22975. "description": "套保品种ID",
  22976. "type": "integer"
  22977. },
  22978. "middlegoodsname": {
  22979. "description": "套保商品名称",
  22980. "type": "string"
  22981. },
  22982. "unexehedgeqty": {
  22983. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  22984. "type": "number"
  22985. }
  22986. }
  22987. },
  22988. "models.Ermcp2stockspotchangelog": {
  22989. "type": "object",
  22990. "properties": {
  22991. "accountname": {
  22992. "description": "套期主体",
  22993. "type": "string"
  22994. },
  22995. "aftervalue": {
  22996. "description": "现货量",
  22997. "type": "number"
  22998. },
  22999. "beforevalue": {
  23000. "description": "变更前现货量",
  23001. "type": "number"
  23002. },
  23003. "contractno": {
  23004. "description": "[编号]现货合同编号",
  23005. "type": "string"
  23006. },
  23007. "contracttype": {
  23008. "description": "现货合同类型 - 1:采购 -1:销售",
  23009. "type": "integer"
  23010. },
  23011. "createtime": {
  23012. "description": "创建时间",
  23013. "type": "string"
  23014. },
  23015. "customerusername": {
  23016. "description": "对手方",
  23017. "type": "string"
  23018. },
  23019. "deliverygoodsid": {
  23020. "description": "现货品种ID",
  23021. "type": "integer"
  23022. },
  23023. "exetype": {
  23024. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  23025. "type": "integer"
  23026. },
  23027. "logid": {
  23028. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  23029. "type": "string"
  23030. },
  23031. "logvalue": {
  23032. "description": "[期间变化量]现货量变更值",
  23033. "type": "number"
  23034. },
  23035. "middlegoodschange": {
  23036. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  23037. "type": "number"
  23038. },
  23039. "operatelogtype": {
  23040. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  23041. "type": "integer"
  23042. },
  23043. "relatedid": {
  23044. "description": "现货合同ID",
  23045. "type": "integer"
  23046. },
  23047. "spotgoodsbrandid": {
  23048. "description": "现货品牌ID",
  23049. "type": "integer"
  23050. },
  23051. "tradedate": {
  23052. "description": "交易日(yyyyMMdd)",
  23053. "type": "string"
  23054. },
  23055. "userid": {
  23056. "description": "机构ID",
  23057. "type": "integer"
  23058. },
  23059. "warehouseinfoid": {
  23060. "description": "仓库ID",
  23061. "type": "integer"
  23062. },
  23063. "wrfactortypeid": {
  23064. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23065. "type": "integer"
  23066. },
  23067. "wrstandardid": {
  23068. "description": "现货商品ID",
  23069. "type": "integer"
  23070. },
  23071. "wrstandardname": {
  23072. "description": "商品名称",
  23073. "type": "string"
  23074. }
  23075. }
  23076. },
  23077. "models.Ermcp3AreaSpot": {
  23078. "type": "object",
  23079. "properties": {
  23080. "areauserid": {
  23081. "description": "所属机构",
  23082. "type": "integer"
  23083. },
  23084. "convertratio": {
  23085. "description": "套保系数",
  23086. "type": "number"
  23087. },
  23088. "decreaseqty": {
  23089. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  23090. "type": "number"
  23091. },
  23092. "enumdicname": {
  23093. "description": "单位名称",
  23094. "type": "string"
  23095. },
  23096. "increaseqty": {
  23097. "description": "增加数量=销售计划数量+采购已定价数量",
  23098. "type": "number"
  23099. },
  23100. "oritoalspotqty": {
  23101. "description": "昨日数量",
  23102. "type": "number"
  23103. },
  23104. "totalspotqty": {
  23105. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  23106. "type": "number"
  23107. },
  23108. "unitid": {
  23109. "description": "现货商品单位id",
  23110. "type": "integer"
  23111. },
  23112. "updatetime": {
  23113. "description": "更新时间",
  23114. "type": "string"
  23115. },
  23116. "wrstandardcode": {
  23117. "description": "现货商品代码",
  23118. "type": "string"
  23119. },
  23120. "wrstandardid": {
  23121. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23122. "type": "integer"
  23123. },
  23124. "wrstandardname": {
  23125. "description": "现货商品名称",
  23126. "type": "string"
  23127. }
  23128. }
  23129. },
  23130. "models.Ermcp3AreaSpotDetail": {
  23131. "type": "object",
  23132. "properties": {
  23133. "contracttype": {
  23134. "description": "合同类型 1-采购 -1-销售",
  23135. "type": "integer"
  23136. },
  23137. "createtime": {
  23138. "description": "创建时间",
  23139. "type": "string"
  23140. },
  23141. "enumdicname": {
  23142. "description": "现货商品单位名称",
  23143. "type": "string"
  23144. },
  23145. "logtype": {
  23146. "description": "记录类型 1-套保 2-现货合同",
  23147. "type": "integer"
  23148. },
  23149. "qty": {
  23150. "description": "数量",
  23151. "type": "number"
  23152. },
  23153. "recordname": {
  23154. "description": "类型名称",
  23155. "type": "string"
  23156. },
  23157. "relatedid": {
  23158. "description": "套保计划ID/现货合同ID",
  23159. "type": "string"
  23160. },
  23161. "relatedno": {
  23162. "description": "编号",
  23163. "type": "string"
  23164. },
  23165. "strtime": {
  23166. "description": "时间",
  23167. "type": "string"
  23168. },
  23169. "wrstandardcode": {
  23170. "description": "现货商品代码",
  23171. "type": "string"
  23172. },
  23173. "wrstandardid": {
  23174. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23175. "type": "integer"
  23176. },
  23177. "wrstandardname": {
  23178. "description": "现货商品名称",
  23179. "type": "string"
  23180. }
  23181. }
  23182. },
  23183. "models.Ermcp3AreaSpotPLReport": {
  23184. "type": "object",
  23185. "properties": {
  23186. "accountid": {
  23187. "description": "期货账户ID (作废, 默认为0)",
  23188. "type": "integer"
  23189. },
  23190. "accountname": {
  23191. "description": "机构名称",
  23192. "type": "string"
  23193. },
  23194. "actualpl": {
  23195. "description": "现货损益",
  23196. "type": "number"
  23197. },
  23198. "areauserid": {
  23199. "description": "所属机构\\交易用户ID",
  23200. "type": "integer"
  23201. },
  23202. "begindate": {
  23203. "description": "开始交易日",
  23204. "type": "string"
  23205. },
  23206. "biztype": {
  23207. "description": "业务类型 - 1:套保 2:套利",
  23208. "type": "integer"
  23209. },
  23210. "brandname": {
  23211. "description": "品牌名称",
  23212. "type": "string"
  23213. },
  23214. "curamount": {
  23215. "description": "期末额",
  23216. "type": "number"
  23217. },
  23218. "curaverageprice": {
  23219. "description": "期初均价",
  23220. "type": "number"
  23221. },
  23222. "curbuyamount": {
  23223. "description": "期末采购总额",
  23224. "type": "number"
  23225. },
  23226. "curbuyqty": {
  23227. "description": "期末采购总量",
  23228. "type": "number"
  23229. },
  23230. "curmarketvalue": {
  23231. "description": "期初均价",
  23232. "type": "number"
  23233. },
  23234. "curqty": {
  23235. "description": "期末量",
  23236. "type": "number"
  23237. },
  23238. "currencyid": {
  23239. "description": "结算币种ID【原值】",
  23240. "type": "integer"
  23241. },
  23242. "currencyname": {
  23243. "description": "币种名称",
  23244. "type": "string"
  23245. },
  23246. "cursellamount": {
  23247. "description": "期末销售总额",
  23248. "type": "number"
  23249. },
  23250. "cursellqty": {
  23251. "description": "期末销售总量",
  23252. "type": "number"
  23253. },
  23254. "curspotprice": {
  23255. "description": "期初均价",
  23256. "type": "number"
  23257. },
  23258. "cycletime": {
  23259. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23260. "type": "string"
  23261. },
  23262. "cycletype": {
  23263. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23264. "type": "integer"
  23265. },
  23266. "deliverygoodscode": {
  23267. "description": "现货品种代码",
  23268. "type": "string"
  23269. },
  23270. "deliverygoodsid": {
  23271. "description": "现货品种ID",
  23272. "type": "integer"
  23273. },
  23274. "deliverygoodsname": {
  23275. "description": "现货品种名称",
  23276. "type": "string"
  23277. },
  23278. "enddate": {
  23279. "description": "结束交易日",
  23280. "type": "string"
  23281. },
  23282. "enumdicname": {
  23283. "description": "现货品种单位名称(作废)",
  23284. "type": "string"
  23285. },
  23286. "floatpl": {
  23287. "description": "期初均价",
  23288. "type": "number"
  23289. },
  23290. "goodsunitid": {
  23291. "description": "现货品种单位id(作废)",
  23292. "type": "integer"
  23293. },
  23294. "oriamount": {
  23295. "description": "期初额",
  23296. "type": "number"
  23297. },
  23298. "oriaverageprice": {
  23299. "description": "期初均价",
  23300. "type": "number"
  23301. },
  23302. "oribuyamount": {
  23303. "description": "期初采购总额",
  23304. "type": "number"
  23305. },
  23306. "oribuyqty": {
  23307. "description": "期初采购总量",
  23308. "type": "number"
  23309. },
  23310. "oriqty": {
  23311. "description": "期初量",
  23312. "type": "number"
  23313. },
  23314. "orisellamount": {
  23315. "description": "期初销售总额",
  23316. "type": "number"
  23317. },
  23318. "orisellqty": {
  23319. "description": "期初销售总量",
  23320. "type": "number"
  23321. },
  23322. "reckondate": {
  23323. "description": "日照时期(yyyyMMdd)",
  23324. "type": "string"
  23325. },
  23326. "spotgoodsbrandid": {
  23327. "description": "现货品牌ID",
  23328. "type": "integer"
  23329. },
  23330. "todaybuyamount": {
  23331. "description": "今日采购额(今采购额)",
  23332. "type": "number"
  23333. },
  23334. "todaybuyaverageprice": {
  23335. "description": "期初均价",
  23336. "type": "number"
  23337. },
  23338. "todaybuyqty": {
  23339. "description": "今日采购量(今采购量)",
  23340. "type": "number"
  23341. },
  23342. "todayinqty": {
  23343. "description": "今日入库量(今入库量)",
  23344. "type": "number"
  23345. },
  23346. "todayoutqty": {
  23347. "description": "今日出库量(今出库量)",
  23348. "type": "number"
  23349. },
  23350. "todaysellamount": {
  23351. "description": "今日销售额(今销售额)",
  23352. "type": "number"
  23353. },
  23354. "todaysellaverageprice": {
  23355. "description": "期初均价",
  23356. "type": "number"
  23357. },
  23358. "todaysellqty": {
  23359. "description": "今日销售量(今销售量)",
  23360. "type": "number"
  23361. },
  23362. "unitid": {
  23363. "description": "品类单位id",
  23364. "type": "integer"
  23365. },
  23366. "unitidname": {
  23367. "description": "品类单位名称",
  23368. "type": "string"
  23369. },
  23370. "updatetime": {
  23371. "description": "更新时间",
  23372. "type": "string"
  23373. },
  23374. "wrfactortypeid": {
  23375. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23376. "type": "integer"
  23377. },
  23378. "wrstandardcode": {
  23379. "description": "现货商品(品类)代码",
  23380. "type": "string"
  23381. },
  23382. "wrstandardid": {
  23383. "description": "现货品类ID",
  23384. "type": "integer"
  23385. },
  23386. "wrstandardname": {
  23387. "description": "现货商品(品类)名称",
  23388. "type": "string"
  23389. }
  23390. }
  23391. },
  23392. "models.Ermcp3AreaStock": {
  23393. "type": "object",
  23394. "required": [
  23395. "userid"
  23396. ],
  23397. "properties": {
  23398. "brandname": {
  23399. "description": "品牌名称",
  23400. "type": "string"
  23401. },
  23402. "curstock": {
  23403. "description": "期末库存量(今日量)",
  23404. "type": "number"
  23405. },
  23406. "deliverygoodscode": {
  23407. "description": "现货品种代码",
  23408. "type": "string"
  23409. },
  23410. "deliverygoodsid": {
  23411. "description": "现货品种id",
  23412. "type": "integer"
  23413. },
  23414. "deliverygoodsname": {
  23415. "description": "现货品种名称",
  23416. "type": "string"
  23417. },
  23418. "enumdicname": {
  23419. "description": "单位名称",
  23420. "type": "string"
  23421. },
  23422. "goodsunitid": {
  23423. "description": "现货商品单位id",
  23424. "type": "integer"
  23425. },
  23426. "oristock": {
  23427. "description": "期初库存量(昨日量)",
  23428. "type": "number"
  23429. },
  23430. "spotgoodsbrandid": {
  23431. "description": "现货品牌ID",
  23432. "type": "integer"
  23433. },
  23434. "todaybuyinqty": {
  23435. "description": "今日采购入库量",
  23436. "type": "number"
  23437. },
  23438. "todayproduceinqty": {
  23439. "description": "今日生产入库量",
  23440. "type": "number"
  23441. },
  23442. "todayproduceoutqty": {
  23443. "description": "今日生产出库量",
  23444. "type": "number"
  23445. },
  23446. "todayselloutqty": {
  23447. "description": "今日销售出库量",
  23448. "type": "number"
  23449. },
  23450. "unitid": {
  23451. "description": "单位id",
  23452. "type": "integer"
  23453. },
  23454. "updatetime": {
  23455. "description": "更新时间",
  23456. "type": "string"
  23457. },
  23458. "userid": {
  23459. "description": "机构ID",
  23460. "type": "integer"
  23461. },
  23462. "username": {
  23463. "description": "机构名称",
  23464. "type": "string"
  23465. },
  23466. "warehousecode": {
  23467. "description": "仓库代码",
  23468. "type": "string"
  23469. },
  23470. "warehouseinfoid": {
  23471. "description": "仓库ID",
  23472. "type": "string"
  23473. },
  23474. "warehousename": {
  23475. "description": "仓库名称",
  23476. "type": "string"
  23477. },
  23478. "warehousetype": {
  23479. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23480. "type": "integer"
  23481. },
  23482. "wrstandardcode": {
  23483. "description": "品类代码",
  23484. "type": "string"
  23485. },
  23486. "wrstandardid": {
  23487. "description": "品类ID",
  23488. "type": "string"
  23489. },
  23490. "wrstandardname": {
  23491. "description": "品类名称",
  23492. "type": "string"
  23493. }
  23494. }
  23495. },
  23496. "models.Ermcp3AreaStockApply": {
  23497. "type": "object",
  23498. "properties": {
  23499. "applyid": {
  23500. "description": "申请人",
  23501. "type": "integer"
  23502. },
  23503. "applyname": {
  23504. "description": "申请人名称",
  23505. "type": "string"
  23506. },
  23507. "applyremark": {
  23508. "description": "申请备注",
  23509. "type": "string"
  23510. },
  23511. "applysrc": {
  23512. "description": "申请来源 - 1:管理端 2:终端",
  23513. "type": "integer"
  23514. },
  23515. "applystatus": {
  23516. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23517. "type": "integer"
  23518. },
  23519. "applytime": {
  23520. "description": "申请时间",
  23521. "type": "string"
  23522. },
  23523. "auditid": {
  23524. "description": "审核人",
  23525. "type": "integer"
  23526. },
  23527. "auditname": {
  23528. "description": "审核人名称",
  23529. "type": "string"
  23530. },
  23531. "auditremark": {
  23532. "description": "审核备注",
  23533. "type": "string"
  23534. },
  23535. "auditsrc": {
  23536. "description": "审核来源 - 1:管理端 2:终端",
  23537. "type": "integer"
  23538. },
  23539. "audittime": {
  23540. "description": "审核时间",
  23541. "type": "string"
  23542. },
  23543. "audittradedate": {
  23544. "description": "审核交易日(yyyyMMdd)",
  23545. "type": "string"
  23546. },
  23547. "brandname": {
  23548. "description": "品牌名称",
  23549. "type": "string"
  23550. },
  23551. "buynickname": {
  23552. "description": "采购方昵称",
  23553. "type": "string"
  23554. },
  23555. "buyuserid": {
  23556. "description": "采购方userid",
  23557. "type": "integer"
  23558. },
  23559. "buyusername": {
  23560. "description": "采购方名称",
  23561. "type": "string"
  23562. },
  23563. "contractno": {
  23564. "description": "合同编号",
  23565. "type": "string"
  23566. },
  23567. "contractqty": {
  23568. "description": "合同量",
  23569. "type": "number"
  23570. },
  23571. "contracttype": {
  23572. "description": "现货合同类型 - 1:采购 -1:销售",
  23573. "type": "integer"
  23574. },
  23575. "deliverygoodscode": {
  23576. "description": "现货品种代码",
  23577. "type": "string"
  23578. },
  23579. "deliverygoodsid": {
  23580. "description": "现货品种id",
  23581. "type": "integer"
  23582. },
  23583. "deliverygoodsname": {
  23584. "description": "现货品种名称",
  23585. "type": "string"
  23586. },
  23587. "detailjson": {
  23588. "description": "明细数据",
  23589. "type": "string"
  23590. },
  23591. "enumdicname": {
  23592. "description": "现货商品单位名称",
  23593. "type": "string"
  23594. },
  23595. "inoutapplyid": {
  23596. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23597. "type": "string"
  23598. },
  23599. "inouttype": {
  23600. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23601. "type": "integer"
  23602. },
  23603. "pricetype": {
  23604. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23605. "type": "integer"
  23606. },
  23607. "qty": {
  23608. "description": "数量",
  23609. "type": "number"
  23610. },
  23611. "sellnickname": {
  23612. "description": "销售方昵称",
  23613. "type": "string"
  23614. },
  23615. "selluserid": {
  23616. "description": "销售方userid",
  23617. "type": "integer"
  23618. },
  23619. "sellusername": {
  23620. "description": "销售方名称",
  23621. "type": "string"
  23622. },
  23623. "spotcontractid": {
  23624. "description": "关联现货合同ID",
  23625. "type": "string"
  23626. },
  23627. "spotgoodsbrandid": {
  23628. "description": "现货品牌ID",
  23629. "type": "integer"
  23630. },
  23631. "unitid": {
  23632. "description": "单位id",
  23633. "type": "integer"
  23634. },
  23635. "userid": {
  23636. "description": "机构ID",
  23637. "type": "integer"
  23638. },
  23639. "warehousecode": {
  23640. "description": "仓库代码",
  23641. "type": "string"
  23642. },
  23643. "warehouseinfoid": {
  23644. "description": "现货仓库ID",
  23645. "type": "string"
  23646. },
  23647. "warehousename": {
  23648. "description": "仓库名称",
  23649. "type": "string"
  23650. },
  23651. "warehousetype": {
  23652. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23653. "type": "integer"
  23654. },
  23655. "wrstandardcode": {
  23656. "description": "品类代码",
  23657. "type": "string"
  23658. },
  23659. "wrstandardid": {
  23660. "description": "品类ID",
  23661. "type": "integer"
  23662. },
  23663. "wrstandardname": {
  23664. "description": "品类名称",
  23665. "type": "string"
  23666. }
  23667. }
  23668. },
  23669. "models.Ermcp3AreaStockApplySum": {
  23670. "type": "object",
  23671. "properties": {
  23672. "brandname": {
  23673. "description": "品牌名称",
  23674. "type": "string"
  23675. },
  23676. "inouttype": {
  23677. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23678. "type": "integer"
  23679. },
  23680. "spotcontractid": {
  23681. "description": "关联现货合同ID",
  23682. "type": "string"
  23683. },
  23684. "spotgoodsbrandid": {
  23685. "description": "品牌id",
  23686. "type": "integer"
  23687. },
  23688. "totalqty": {
  23689. "description": "总数量",
  23690. "type": "number"
  23691. },
  23692. "wrstandardid": {
  23693. "description": "品类id",
  23694. "type": "integer"
  23695. },
  23696. "wrstandardname": {
  23697. "description": "品类名称",
  23698. "type": "string"
  23699. }
  23700. }
  23701. },
  23702. "models.Ermcp3AreaStockReportEx": {
  23703. "type": "object",
  23704. "properties": {
  23705. "begindate": {
  23706. "description": "开始交易日",
  23707. "type": "string"
  23708. },
  23709. "brandname": {
  23710. "description": "品牌名称",
  23711. "type": "string"
  23712. },
  23713. "curstock": {
  23714. "description": "期末库存量",
  23715. "type": "number"
  23716. },
  23717. "cycletime": {
  23718. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23719. "type": "string"
  23720. },
  23721. "cycletype": {
  23722. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23723. "type": "integer"
  23724. },
  23725. "deliverygoodscode": {
  23726. "description": "现货品种代码",
  23727. "type": "string"
  23728. },
  23729. "deliverygoodsid": {
  23730. "description": "现货品种id",
  23731. "type": "integer"
  23732. },
  23733. "deliverygoodsname": {
  23734. "description": "现货品种名称",
  23735. "type": "string"
  23736. },
  23737. "diffqty": {
  23738. "description": "库存变化量 = 期末 - 期初",
  23739. "type": "number"
  23740. },
  23741. "enddate": {
  23742. "description": "结束交易日",
  23743. "type": "string"
  23744. },
  23745. "enumdicname": {
  23746. "description": "单位名称",
  23747. "type": "string"
  23748. },
  23749. "goodsunitid": {
  23750. "description": "现货单位id",
  23751. "type": "integer"
  23752. },
  23753. "oristock": {
  23754. "description": "期初库存量",
  23755. "type": "number"
  23756. },
  23757. "reckondate": {
  23758. "description": "日照时期(yyyyMMdd)",
  23759. "type": "string"
  23760. },
  23761. "spotgoodsbrandid": {
  23762. "description": "现货品牌ID",
  23763. "type": "integer"
  23764. },
  23765. "todaybuyinqty": {
  23766. "description": "今采购入库量",
  23767. "type": "number"
  23768. },
  23769. "todayproduceinqty": {
  23770. "description": "今内部入库量",
  23771. "type": "number"
  23772. },
  23773. "todayproduceoutqty": {
  23774. "description": "今内部出库量",
  23775. "type": "number"
  23776. },
  23777. "todayselloutqty": {
  23778. "description": "今销售出库量",
  23779. "type": "number"
  23780. },
  23781. "unbuyinqty": {
  23782. "description": "采购未入库量(数据库未找到相关字段?)",
  23783. "type": "number"
  23784. },
  23785. "unitid": {
  23786. "description": "品类单位id",
  23787. "type": "integer"
  23788. },
  23789. "unselloutqty": {
  23790. "description": "销售未出库量(数据库未找到相关字段?)",
  23791. "type": "number"
  23792. },
  23793. "updatetime": {
  23794. "description": "更新时间",
  23795. "type": "string"
  23796. },
  23797. "userid": {
  23798. "description": "机构ID",
  23799. "type": "integer"
  23800. },
  23801. "username": {
  23802. "description": "机构名称",
  23803. "type": "string"
  23804. },
  23805. "warehousecode": {
  23806. "description": "仓库代码",
  23807. "type": "string"
  23808. },
  23809. "warehouseinfoid": {
  23810. "description": "仓库ID",
  23811. "type": "string"
  23812. },
  23813. "warehousename": {
  23814. "description": "仓库名称",
  23815. "type": "string"
  23816. },
  23817. "warehousetype": {
  23818. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23819. "type": "integer"
  23820. },
  23821. "wrstandardcode": {
  23822. "description": "品类代码",
  23823. "type": "string"
  23824. },
  23825. "wrstandardid": {
  23826. "description": "品类ID",
  23827. "type": "integer"
  23828. },
  23829. "wrstandardname": {
  23830. "description": "品类名称",
  23831. "type": "string"
  23832. }
  23833. }
  23834. },
  23835. "models.Ermcp3ArealSumPL": {
  23836. "type": "object",
  23837. "properties": {
  23838. "accountname": {
  23839. "description": "机构名称",
  23840. "type": "string"
  23841. },
  23842. "areauserid": {
  23843. "description": "所属机构\\交易用户ID",
  23844. "type": "integer"
  23845. },
  23846. "begindate": {
  23847. "description": "开始交易日",
  23848. "type": "string"
  23849. },
  23850. "currencyid": {
  23851. "description": "结算币种ID",
  23852. "type": "integer"
  23853. },
  23854. "currencyname": {
  23855. "description": "币种名称",
  23856. "type": "string"
  23857. },
  23858. "cycletime": {
  23859. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23860. "type": "string"
  23861. },
  23862. "cycletype": {
  23863. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23864. "type": "integer"
  23865. },
  23866. "enddate": {
  23867. "description": "结束交易日",
  23868. "type": "string"
  23869. },
  23870. "enumdicname": {
  23871. "description": "单位名称(套保品种)",
  23872. "type": "string"
  23873. },
  23874. "futureactualpl": {
  23875. "description": "期货损益",
  23876. "type": "number"
  23877. },
  23878. "futurefloatpl": {
  23879. "description": "期货浮动损益",
  23880. "type": "number"
  23881. },
  23882. "futurespotratio": {
  23883. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  23884. "type": "number"
  23885. },
  23886. "goodsunitid": {
  23887. "description": "套保品种单位id",
  23888. "type": "integer"
  23889. },
  23890. "hedgeexposurepl": {
  23891. "description": "套保敞口损益",
  23892. "type": "number"
  23893. },
  23894. "middlegoodscode": {
  23895. "description": "套保品种代码",
  23896. "type": "string"
  23897. },
  23898. "middlegoodsid": {
  23899. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  23900. "type": "integer"
  23901. },
  23902. "middlegoodsname": {
  23903. "description": "套保品种名称",
  23904. "type": "string"
  23905. },
  23906. "reckondate": {
  23907. "description": "日照时期(yyyyMMdd)",
  23908. "type": "string"
  23909. },
  23910. "spotactualpl": {
  23911. "description": "现货损益",
  23912. "type": "number"
  23913. },
  23914. "spotfloatpl": {
  23915. "description": "现货浮动损益",
  23916. "type": "number"
  23917. },
  23918. "sumactualpl": {
  23919. "description": "实际损益 = (ActualPL + FutureActualPL)",
  23920. "type": "number"
  23921. },
  23922. "sumpl": {
  23923. "description": "总敞口损益 | 汇总损益",
  23924. "type": "number"
  23925. },
  23926. "totalfutureqty": {
  23927. "description": "期货头寸总量",
  23928. "type": "number"
  23929. },
  23930. "totalneedhedgeqty": {
  23931. "description": "应套保总量",
  23932. "type": "number"
  23933. },
  23934. "totalspotqty": {
  23935. "description": "现货头寸总量",
  23936. "type": "number"
  23937. },
  23938. "updatetime": {
  23939. "description": "更新时间",
  23940. "type": "string"
  23941. }
  23942. }
  23943. },
  23944. "models.Ermcp3Brand": {
  23945. "type": "object",
  23946. "properties": {
  23947. "areauserid": {
  23948. "description": "用户id",
  23949. "type": "integer"
  23950. },
  23951. "brandid": {
  23952. "description": "品牌id",
  23953. "type": "integer"
  23954. },
  23955. "brandname": {
  23956. "description": "品牌名称",
  23957. "type": "string"
  23958. },
  23959. "deliverygoodsid": {
  23960. "description": "品种ID",
  23961. "type": "integer"
  23962. },
  23963. "isvalid": {
  23964. "description": "是否有效",
  23965. "type": "integer"
  23966. }
  23967. }
  23968. },
  23969. "models.Ermcp3Contract": {
  23970. "type": "object",
  23971. "properties": {
  23972. "accountid": {
  23973. "description": "期货账户id",
  23974. "type": "string"
  23975. },
  23976. "amount": {
  23977. "description": "金额 [1:一口价、3:暂定价]",
  23978. "type": "number"
  23979. },
  23980. "attachment": {
  23981. "description": "附件",
  23982. "type": "string"
  23983. },
  23984. "auditremark": {
  23985. "description": "审核意见",
  23986. "type": "string"
  23987. },
  23988. "audittime": {
  23989. "description": "审核时间",
  23990. "type": "string"
  23991. },
  23992. "biztype": {
  23993. "description": "业务类型 1-套保 2-套利",
  23994. "type": "integer"
  23995. },
  23996. "brandname": {
  23997. "description": "品牌名称",
  23998. "type": "string"
  23999. },
  24000. "buynickname": {
  24001. "description": "销售方昵称",
  24002. "type": "string"
  24003. },
  24004. "buyuserid": {
  24005. "description": "采购方ID",
  24006. "type": "integer"
  24007. },
  24008. "buyusername": {
  24009. "description": "采购方名称",
  24010. "type": "string"
  24011. },
  24012. "contracctstatus": {
  24013. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24014. "type": "integer"
  24015. },
  24016. "contractmargin": {
  24017. "description": "合同保证金",
  24018. "type": "number"
  24019. },
  24020. "contractno": {
  24021. "description": "现货合同编号",
  24022. "type": "string"
  24023. },
  24024. "contracttype": {
  24025. "description": "现货合同类型 - 1:采购 -1:销售",
  24026. "type": "integer"
  24027. },
  24028. "convertfactor": {
  24029. "description": "标仓系数(品类)",
  24030. "type": "number"
  24031. },
  24032. "createtime": {
  24033. "description": "创建时间",
  24034. "type": "string"
  24035. },
  24036. "currencyid": {
  24037. "description": "币种id",
  24038. "type": "integer"
  24039. },
  24040. "currencyname": {
  24041. "description": "币种名称",
  24042. "type": "string"
  24043. },
  24044. "deliveryenddate": {
  24045. "description": "交收期(结束)",
  24046. "type": "string"
  24047. },
  24048. "deliverygoodscode": {
  24049. "description": "现货品种代码",
  24050. "type": "string"
  24051. },
  24052. "deliverygoodsid": {
  24053. "description": "现货品种ID",
  24054. "type": "integer"
  24055. },
  24056. "deliverygoodsname": {
  24057. "description": "现货品种名称",
  24058. "type": "string"
  24059. },
  24060. "deliverystartdate": {
  24061. "description": "交收期(开始)",
  24062. "type": "string"
  24063. },
  24064. "enddate": {
  24065. "description": "点价结束日期 [2:点价 3:暂定价]",
  24066. "type": "string"
  24067. },
  24068. "enumdicname": {
  24069. "description": "单位名称",
  24070. "type": "string"
  24071. },
  24072. "goodscode": {
  24073. "description": "点价合约代码",
  24074. "type": "string"
  24075. },
  24076. "goodsid": {
  24077. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  24078. "type": "integer"
  24079. },
  24080. "goodsname": {
  24081. "description": "点价商品名称",
  24082. "type": "string"
  24083. },
  24084. "margin": {
  24085. "description": "当前保证金",
  24086. "type": "number"
  24087. },
  24088. "meruserid": {
  24089. "description": "跟单员id",
  24090. "type": "integer"
  24091. },
  24092. "meruserlogincode": {
  24093. "description": "跟单员登录代码",
  24094. "type": "string"
  24095. },
  24096. "merusername": {
  24097. "description": "跟单员名称",
  24098. "type": "string"
  24099. },
  24100. "pointdesc": {
  24101. "description": "点价备注",
  24102. "type": "string"
  24103. },
  24104. "price": {
  24105. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  24106. "type": "number"
  24107. },
  24108. "pricemove": {
  24109. "description": "升贴水 [2:点价 3:暂定价]",
  24110. "type": "number"
  24111. },
  24112. "pricetype": {
  24113. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24114. "type": "integer"
  24115. },
  24116. "producttype": {
  24117. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24118. "type": "integer"
  24119. },
  24120. "qty": {
  24121. "description": "数量",
  24122. "type": "number"
  24123. },
  24124. "remark": {
  24125. "description": "备注",
  24126. "type": "string"
  24127. },
  24128. "saleuserid": {
  24129. "description": "业务员id",
  24130. "type": "integer"
  24131. },
  24132. "saleuserlogincode": {
  24133. "description": "业务员登录代码",
  24134. "type": "string"
  24135. },
  24136. "saleusername": {
  24137. "description": "业务员名称",
  24138. "type": "string"
  24139. },
  24140. "sellnickname": {
  24141. "description": "采购方昵称",
  24142. "type": "string"
  24143. },
  24144. "selluserid": {
  24145. "description": "销售方ID",
  24146. "type": "integer"
  24147. },
  24148. "sellusername": {
  24149. "description": "销售方名称",
  24150. "type": "string"
  24151. },
  24152. "spotcontractid": {
  24153. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24154. "type": "string"
  24155. },
  24156. "spotgoodsbrandid": {
  24157. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24158. "type": "integer"
  24159. },
  24160. "spotgoodsdesc": {
  24161. "description": "商品型号",
  24162. "type": "string"
  24163. },
  24164. "startdate": {
  24165. "description": "点价开始日期 [2:点价 3:暂定价]",
  24166. "type": "string"
  24167. },
  24168. "subjectid": {
  24169. "description": "交易主体ID",
  24170. "type": "integer"
  24171. },
  24172. "subjectname": {
  24173. "description": "交易主体名称",
  24174. "type": "string"
  24175. },
  24176. "tradeuserid": {
  24177. "description": "交易员id",
  24178. "type": "integer"
  24179. },
  24180. "tradeuserlogincode": {
  24181. "description": "交易员登录代码",
  24182. "type": "string"
  24183. },
  24184. "tradeusername": {
  24185. "description": "交易员名称",
  24186. "type": "string"
  24187. },
  24188. "unitid": {
  24189. "description": "单位id(取品类上的单位id)",
  24190. "type": "integer"
  24191. },
  24192. "updatetime": {
  24193. "description": "更新时间",
  24194. "type": "string"
  24195. },
  24196. "userid": {
  24197. "description": "所属机构ID",
  24198. "type": "integer"
  24199. },
  24200. "vatrate": {
  24201. "description": "增值税率",
  24202. "type": "number"
  24203. },
  24204. "wrstandardcode": {
  24205. "description": "品类代码",
  24206. "type": "string"
  24207. },
  24208. "wrstandardid": {
  24209. "description": "品类ID",
  24210. "type": "integer"
  24211. },
  24212. "wrstandardname": {
  24213. "description": "品类名称",
  24214. "type": "string"
  24215. }
  24216. }
  24217. },
  24218. "models.Ermcp3ContractMiddleGoodsCfg": {
  24219. "type": "object",
  24220. "properties": {
  24221. "agreeunit": {
  24222. "description": "合约乘数",
  24223. "type": "number"
  24224. },
  24225. "convertratio": {
  24226. "description": "期货品种系数",
  24227. "type": "number"
  24228. },
  24229. "covertqty": {
  24230. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  24231. "type": "integer"
  24232. },
  24233. "middlegoodsid": {
  24234. "description": "套保品种ID",
  24235. "type": "integer"
  24236. },
  24237. "middlegoodspricedqty3": {
  24238. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24239. "type": "string",
  24240. "example": "0"
  24241. },
  24242. "pendingpricedqty": {
  24243. "description": "待点价量",
  24244. "type": "string",
  24245. "example": "0"
  24246. },
  24247. "relatedmiddlegoodsqty": {
  24248. "description": "已关联量(套保品种-期货)",
  24249. "type": "string",
  24250. "example": "0"
  24251. },
  24252. "spotcontractid": {
  24253. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24254. "type": "string"
  24255. }
  24256. }
  24257. },
  24258. "models.Ermcp3ExposureContractDetail": {
  24259. "type": "object",
  24260. "properties": {
  24261. "biztype": {
  24262. "description": "业务类型 1-套保 2-套利",
  24263. "type": "integer"
  24264. },
  24265. "brandname": {
  24266. "description": "品牌名称",
  24267. "type": "string"
  24268. },
  24269. "buyuserid": {
  24270. "description": "采购方id",
  24271. "type": "integer"
  24272. },
  24273. "buyusername": {
  24274. "description": "采购方名称",
  24275. "type": "string"
  24276. },
  24277. "contractno": {
  24278. "description": "合同编号",
  24279. "type": "string"
  24280. },
  24281. "contracttype": {
  24282. "description": "现货合同类型 - 1:采购 -1:销售",
  24283. "type": "integer"
  24284. },
  24285. "convertfactor": {
  24286. "description": "标仓系数",
  24287. "type": "number"
  24288. },
  24289. "convertratio": {
  24290. "description": "折算系数(套保品种)",
  24291. "type": "number"
  24292. },
  24293. "curqty": {
  24294. "description": "今定价量",
  24295. "type": "number"
  24296. },
  24297. "deliverygoodscode": {
  24298. "description": "现货品种代码",
  24299. "type": "string"
  24300. },
  24301. "deliverygoodsid": {
  24302. "description": "现货品种id",
  24303. "type": "integer"
  24304. },
  24305. "deliverygoodsname": {
  24306. "description": "现货品种名称",
  24307. "type": "string"
  24308. },
  24309. "diffhedgeqty": {
  24310. "description": "套保变动量",
  24311. "type": "number"
  24312. },
  24313. "diffneedhedgeqty": {
  24314. "description": "应套保变动量",
  24315. "type": "number"
  24316. },
  24317. "diffqty": {
  24318. "description": "套保品种今变动量",
  24319. "type": "number"
  24320. },
  24321. "enumdicname": {
  24322. "description": "单位名称",
  24323. "type": "string"
  24324. },
  24325. "mgunitname": {
  24326. "description": "套保品种单位名称",
  24327. "type": "string"
  24328. },
  24329. "middlegoodscode": {
  24330. "description": "套保品种代码",
  24331. "type": "string"
  24332. },
  24333. "middlegoodsid": {
  24334. "description": "套保品种id",
  24335. "type": "integer"
  24336. },
  24337. "middlegoodsname": {
  24338. "description": "套保品种名称",
  24339. "type": "string"
  24340. },
  24341. "needarbitrageratio": {
  24342. "description": "应套利比例",
  24343. "type": "number"
  24344. },
  24345. "needhedgeratio": {
  24346. "description": "应套保比例",
  24347. "type": "number"
  24348. },
  24349. "pricedqty": {
  24350. "description": "已定价量",
  24351. "type": "number"
  24352. },
  24353. "qty": {
  24354. "description": "合同量",
  24355. "type": "number"
  24356. },
  24357. "reckondate": {
  24358. "description": "交易日(reckondate)",
  24359. "type": "string"
  24360. },
  24361. "selluserid": {
  24362. "description": "销售方id",
  24363. "type": "integer"
  24364. },
  24365. "sellusername": {
  24366. "description": "销售方名称",
  24367. "type": "string"
  24368. },
  24369. "spotcontractid": {
  24370. "description": "合同id",
  24371. "type": "string"
  24372. },
  24373. "todaypricedqty": {
  24374. "description": "今定价量",
  24375. "type": "number"
  24376. },
  24377. "tradedate": {
  24378. "description": "交易日",
  24379. "type": "string"
  24380. },
  24381. "unitid": {
  24382. "description": "品类单位id",
  24383. "type": "integer"
  24384. },
  24385. "userid": {
  24386. "description": "机构id",
  24387. "type": "integer"
  24388. },
  24389. "username": {
  24390. "description": "交易用户",
  24391. "type": "string"
  24392. },
  24393. "wrstandardcode": {
  24394. "description": "现货商品代码",
  24395. "type": "string"
  24396. },
  24397. "wrstandardid": {
  24398. "description": "现货商品id",
  24399. "type": "integer"
  24400. },
  24401. "wrstandardname": {
  24402. "description": "现货商品名称",
  24403. "type": "string"
  24404. }
  24405. }
  24406. },
  24407. "models.Ermcp3ExposureDetail": {
  24408. "type": "object",
  24409. "properties": {
  24410. "areauserid": {
  24411. "description": "机构ID",
  24412. "type": "integer"
  24413. },
  24414. "changeQty": {
  24415. "description": "套保变动量",
  24416. "type": "number"
  24417. },
  24418. "contracttype": {
  24419. "description": "现货合同类型 - 1:采购 -1:销售",
  24420. "type": "integer"
  24421. },
  24422. "convertfactor": {
  24423. "description": "标仓系数",
  24424. "type": "number"
  24425. },
  24426. "convertratio": {
  24427. "description": "折算系数",
  24428. "type": "number"
  24429. },
  24430. "createtime": {
  24431. "description": "时间",
  24432. "type": "string"
  24433. },
  24434. "enumdicname": {
  24435. "description": "现货商品单位名称",
  24436. "type": "string"
  24437. },
  24438. "logtype": {
  24439. "description": "类型 - 1:套保计划 2:现货合同",
  24440. "type": "integer"
  24441. },
  24442. "mgunitid": {
  24443. "description": "套保品种单位id",
  24444. "type": "integer"
  24445. },
  24446. "mgunitidname": {
  24447. "description": "套保品种单位名称",
  24448. "type": "string"
  24449. },
  24450. "middlegoodsId": {
  24451. "description": "套保商品id",
  24452. "type": "integer"
  24453. },
  24454. "middlegoodscode": {
  24455. "description": "套保商品代码",
  24456. "type": "string"
  24457. },
  24458. "middlegoodsname": {
  24459. "description": "套保商品名称",
  24460. "type": "string"
  24461. },
  24462. "qty": {
  24463. "description": "数量",
  24464. "type": "number"
  24465. },
  24466. "relateNo": {
  24467. "description": "现货合同/套保计划编号",
  24468. "type": "string"
  24469. },
  24470. "unitid": {
  24471. "description": "现货商品单位id",
  24472. "type": "integer"
  24473. },
  24474. "wrstandardcode": {
  24475. "description": "现货商品代码",
  24476. "type": "string"
  24477. },
  24478. "wrstandardid": {
  24479. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24480. "type": "integer"
  24481. },
  24482. "wrstandardname": {
  24483. "description": "现货商品名称",
  24484. "type": "string"
  24485. }
  24486. }
  24487. },
  24488. "models.Ermcp3ExposureFutuDetail": {
  24489. "type": "object",
  24490. "properties": {
  24491. "accountid": {
  24492. "description": "交易账户id",
  24493. "type": "integer"
  24494. },
  24495. "accountname": {
  24496. "description": "交易账户",
  24497. "type": "string"
  24498. },
  24499. "begindate": {
  24500. "description": "开始交易日",
  24501. "type": "string"
  24502. },
  24503. "buyorsell": {
  24504. "description": "方向 0-买 1-卖",
  24505. "type": "integer"
  24506. },
  24507. "diffmgqty": {
  24508. "description": "套保品种今变化量",
  24509. "type": "number"
  24510. },
  24511. "diffneedqty": {
  24512. "description": "应套保总量变化量",
  24513. "type": "number"
  24514. },
  24515. "difftradeqty": {
  24516. "description": "交易品种今变化量",
  24517. "type": "number"
  24518. },
  24519. "enddate": {
  24520. "description": "结束交易日",
  24521. "type": "string"
  24522. },
  24523. "enumdicname": {
  24524. "description": "单位名称",
  24525. "type": "string"
  24526. },
  24527. "goodscode": {
  24528. "description": "商品代码",
  24529. "type": "string"
  24530. },
  24531. "goodsid": {
  24532. "description": "商品id",
  24533. "type": "integer"
  24534. },
  24535. "goodsname": {
  24536. "description": "商品名称",
  24537. "type": "string"
  24538. },
  24539. "holdqty": {
  24540. "description": "期末持仓量",
  24541. "type": "number"
  24542. },
  24543. "middlegoodscode": {
  24544. "description": "套保商品代码",
  24545. "type": "string"
  24546. },
  24547. "middlegoodsid": {
  24548. "description": "套保商品id",
  24549. "type": "integer"
  24550. },
  24551. "middlegoodsname": {
  24552. "description": "套保商品名称",
  24553. "type": "string"
  24554. },
  24555. "oriholdqty": {
  24556. "description": "期初持仓量",
  24557. "type": "number"
  24558. },
  24559. "reckondate": {
  24560. "description": "交易日(RECKONDATE)",
  24561. "type": "string"
  24562. },
  24563. "todaycloseqty": {
  24564. "description": "今平仓量",
  24565. "type": "number"
  24566. },
  24567. "todayopenqty": {
  24568. "description": "今开仓量",
  24569. "type": "number"
  24570. },
  24571. "tradedate": {
  24572. "description": "交易日(RECKONDATE)",
  24573. "type": "string"
  24574. },
  24575. "username": {
  24576. "description": "用户名称(交易用户)",
  24577. "type": "string"
  24578. }
  24579. }
  24580. },
  24581. "models.Ermcp3ExposureHedgeplanDetail": {
  24582. "type": "object",
  24583. "properties": {
  24584. "biztype": {
  24585. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24586. "type": "integer"
  24587. },
  24588. "changqty": {
  24589. "description": "应套保总量变化量",
  24590. "type": "number"
  24591. },
  24592. "contracttype": {
  24593. "description": "计划类型 - 1:采购 -1:销售",
  24594. "type": "integer"
  24595. },
  24596. "convertratio": {
  24597. "description": "折算系数(套保品种)",
  24598. "type": "number"
  24599. },
  24600. "deliverygoodscode": {
  24601. "description": "现货商品代码",
  24602. "type": "string"
  24603. },
  24604. "deliverygoodsid": {
  24605. "description": "现货商品id",
  24606. "type": "integer"
  24607. },
  24608. "deliverygoodsname": {
  24609. "description": "现货商吕名称",
  24610. "type": "string"
  24611. },
  24612. "dgunitid": {
  24613. "description": "现货商品单位id",
  24614. "type": "integer"
  24615. },
  24616. "dgunitidname": {
  24617. "description": "单位名称(现货商品)",
  24618. "type": "string"
  24619. },
  24620. "diffqty": {
  24621. "description": "套保品种今变动量",
  24622. "type": "number"
  24623. },
  24624. "enumdicname": {
  24625. "description": "单位名称(品类)",
  24626. "type": "string"
  24627. },
  24628. "hedgeplanid": {
  24629. "description": "套保计划id",
  24630. "type": "string"
  24631. },
  24632. "hedgeplanno": {
  24633. "description": "套保计划名称",
  24634. "type": "string"
  24635. },
  24636. "hedgeplanstatus": {
  24637. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24638. "type": "integer"
  24639. },
  24640. "mgunitidname": {
  24641. "description": "单位名称(套保商品)",
  24642. "type": "string"
  24643. },
  24644. "middlegoodscode": {
  24645. "description": "套保品种代码",
  24646. "type": "string"
  24647. },
  24648. "middlegoodsid": {
  24649. "description": "套保品种id",
  24650. "type": "integer"
  24651. },
  24652. "middlegoodsname": {
  24653. "description": "套保品种名称",
  24654. "type": "string"
  24655. },
  24656. "needarbitrageratio": {
  24657. "description": "应套利比例",
  24658. "type": "number"
  24659. },
  24660. "needhedgeratio": {
  24661. "description": "应套保比例",
  24662. "type": "number"
  24663. },
  24664. "pricedqty": {
  24665. "description": "已定价量",
  24666. "type": "number"
  24667. },
  24668. "qty": {
  24669. "description": "合同量",
  24670. "type": "number"
  24671. },
  24672. "reckondate": {
  24673. "description": "交易日(reckondate)",
  24674. "type": "string"
  24675. },
  24676. "tradedate": {
  24677. "description": "交易日(登记日)",
  24678. "type": "string"
  24679. },
  24680. "unitid": {
  24681. "description": "品类单位id",
  24682. "type": "integer"
  24683. },
  24684. "userid": {
  24685. "description": "机构id",
  24686. "type": "integer"
  24687. },
  24688. "wrstandardcode": {
  24689. "description": "品类代码",
  24690. "type": "string"
  24691. },
  24692. "wrstandardid": {
  24693. "description": "品类id",
  24694. "type": "integer"
  24695. },
  24696. "wrstandardname": {
  24697. "description": "品类名称",
  24698. "type": "string"
  24699. }
  24700. }
  24701. },
  24702. "models.Ermcp3ExposureParamChLog": {
  24703. "type": "object",
  24704. "properties": {
  24705. "accountid": {
  24706. "description": "期货账户ID (作废, 默认为0)",
  24707. "type": "integer"
  24708. },
  24709. "aftervalue": {
  24710. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24711. "type": "number"
  24712. },
  24713. "areauserid": {
  24714. "description": "所属机构\\交易用户ID",
  24715. "type": "integer"
  24716. },
  24717. "beforevalue": {
  24718. "description": "应套保\\套利量变更前(调整前应套保总量)",
  24719. "type": "number"
  24720. },
  24721. "begindate": {
  24722. "description": "开始交易日",
  24723. "type": "string"
  24724. },
  24725. "changelogtype": {
  24726. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  24727. "type": "integer"
  24728. },
  24729. "curvalue": {
  24730. "description": "当前套保\\套利量(套保总量|套利总量)",
  24731. "type": "number"
  24732. },
  24733. "diffvalue": {
  24734. "description": "应套保总量变化量",
  24735. "type": "number"
  24736. },
  24737. "enddate": {
  24738. "description": "结束交易日",
  24739. "type": "string"
  24740. },
  24741. "logdatetime": {
  24742. "description": "流水日期",
  24743. "type": "string"
  24744. },
  24745. "logid": {
  24746. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  24747. "type": "string"
  24748. },
  24749. "middlegoodscode": {
  24750. "description": "套保品种代码",
  24751. "type": "string"
  24752. },
  24753. "middlegoodsid": {
  24754. "description": "套保品种",
  24755. "type": "integer"
  24756. },
  24757. "middlegoodsname": {
  24758. "description": "套保品种名称",
  24759. "type": "string"
  24760. },
  24761. "paramaftervalue": {
  24762. "description": "参数变更后(调整后参数值)",
  24763. "type": "number"
  24764. },
  24765. "parambeforevalue": {
  24766. "description": "参数变更前(调整前参数值)",
  24767. "type": "number"
  24768. },
  24769. "reckondate": {
  24770. "description": "交易日(reckondate)",
  24771. "type": "string"
  24772. },
  24773. "tradedate": {
  24774. "description": "交易日(yyyyMMdd)",
  24775. "type": "string"
  24776. }
  24777. }
  24778. },
  24779. "models.Ermcp3ExpourseReport": {
  24780. "type": "object",
  24781. "properties": {
  24782. "accountid": {
  24783. "description": "期货账户ID (作废, 默认为0)",
  24784. "type": "integer"
  24785. },
  24786. "accountname": {
  24787. "description": "机构名称",
  24788. "type": "string"
  24789. },
  24790. "arbitrageqty": {
  24791. "description": "套利量",
  24792. "type": "number"
  24793. },
  24794. "areauserid": {
  24795. "description": "所属机构\\交易用户ID",
  24796. "type": "integer"
  24797. },
  24798. "begindate": {
  24799. "description": "开始交易日",
  24800. "type": "string"
  24801. },
  24802. "buyfutureqty": {
  24803. "description": "买入期货数量",
  24804. "type": "number"
  24805. },
  24806. "buyplanqty": {
  24807. "description": "采购计划数量",
  24808. "type": "number"
  24809. },
  24810. "buypricedqty": {
  24811. "description": "采购合同已定价数量",
  24812. "type": "number"
  24813. },
  24814. "cycletime": {
  24815. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24816. "type": "string"
  24817. },
  24818. "cycletype": {
  24819. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24820. "type": "integer"
  24821. },
  24822. "diffexposure": {
  24823. "description": "变动量(套保敞口)",
  24824. "type": "number"
  24825. },
  24826. "difffutuqty": {
  24827. "description": "变动量(期货)",
  24828. "type": "number"
  24829. },
  24830. "diffhedgeqty": {
  24831. "description": "变动量(现货应套保总量)",
  24832. "type": "number"
  24833. },
  24834. "diffmgqtya": {
  24835. "description": "套保变动量",
  24836. "type": "number"
  24837. },
  24838. "diffmgqtyb": {
  24839. "description": "套利变动量",
  24840. "type": "number"
  24841. },
  24842. "diffneedqty": {
  24843. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  24844. "type": "number"
  24845. },
  24846. "diffqty": {
  24847. "description": "变动量(总敞口)",
  24848. "type": "number"
  24849. },
  24850. "diffspotqty": {
  24851. "description": "变动量(现货) | 除税变动量",
  24852. "type": "number"
  24853. },
  24854. "enddate": {
  24855. "description": "结束交易日",
  24856. "type": "string"
  24857. },
  24858. "enumdicname": {
  24859. "description": "单位名称",
  24860. "type": "string"
  24861. },
  24862. "hedgeqty": {
  24863. "description": "套保量",
  24864. "type": "number"
  24865. },
  24866. "mgneedhedgeratio": {
  24867. "description": "套保比例(套保品的)",
  24868. "type": "number"
  24869. },
  24870. "middlegoodsid": {
  24871. "description": "套保品种ID",
  24872. "type": "integer"
  24873. },
  24874. "middlegoodsname": {
  24875. "description": "套保商品名称",
  24876. "type": "string"
  24877. },
  24878. "middlgoodscode": {
  24879. "description": "套保商品代码",
  24880. "type": "string"
  24881. },
  24882. "needarbitrageqty": {
  24883. "description": "应套利量",
  24884. "type": "number"
  24885. },
  24886. "needarbitrageratio": {
  24887. "description": "套利比例(套保品的)",
  24888. "type": "number"
  24889. },
  24890. "needhedgeexposoure": {
  24891. "description": "应套保敞口(套保敞口)",
  24892. "type": "number"
  24893. },
  24894. "needhedgeqty": {
  24895. "description": "应套保量",
  24896. "type": "number"
  24897. },
  24898. "needhedgeratio": {
  24899. "description": "应套保敞口比例",
  24900. "type": "number"
  24901. },
  24902. "needqty": {
  24903. "description": "应套总量 = 应套保量 + 应套利量",
  24904. "type": "number"
  24905. },
  24906. "oriarbitrageqty": {
  24907. "description": "期初套利量",
  24908. "type": "number"
  24909. },
  24910. "oribuyfutureqty": {
  24911. "description": "期初买入期货数量",
  24912. "type": "number"
  24913. },
  24914. "oribuyplanqty": {
  24915. "description": "期初采购计划数量",
  24916. "type": "number"
  24917. },
  24918. "oribuypricedqty": {
  24919. "description": "期初采购合同已定价数量",
  24920. "type": "number"
  24921. },
  24922. "orihedgeqty": {
  24923. "description": "期初套保量",
  24924. "type": "number"
  24925. },
  24926. "orineedarbitrageqty": {
  24927. "description": "期初应套利量",
  24928. "type": "number"
  24929. },
  24930. "orineedhedgeexposoure": {
  24931. "description": "期初应套保敞口",
  24932. "type": "number"
  24933. },
  24934. "orineedhedgeqty": {
  24935. "description": "期初应套保量",
  24936. "type": "number"
  24937. },
  24938. "orisellfutureqty": {
  24939. "description": "期初卖出期货数量",
  24940. "type": "number"
  24941. },
  24942. "orisellplanqty": {
  24943. "description": "期初销售计划数量",
  24944. "type": "number"
  24945. },
  24946. "orisellpricedqty": {
  24947. "description": "期初销售合同已定价数量",
  24948. "type": "number"
  24949. },
  24950. "oritotalexposure": {
  24951. "description": "期初实时总敞口",
  24952. "type": "number"
  24953. },
  24954. "oritotalfutureqty": {
  24955. "description": "期初期货头寸总量",
  24956. "type": "number"
  24957. },
  24958. "oritotalneedhedgeqty": {
  24959. "description": "期初应套保总量",
  24960. "type": "number"
  24961. },
  24962. "oritotalspotqty": {
  24963. "description": "期初现货头寸总量",
  24964. "type": "number"
  24965. },
  24966. "reckondate": {
  24967. "description": "日照时期(yyyyMMdd)",
  24968. "type": "string"
  24969. },
  24970. "sellfutureqty": {
  24971. "description": "卖出期货数量",
  24972. "type": "number"
  24973. },
  24974. "sellplanqty": {
  24975. "description": "销售计划数量",
  24976. "type": "number"
  24977. },
  24978. "sellpricedqty": {
  24979. "description": "销售合同已定价数量",
  24980. "type": "number"
  24981. },
  24982. "totalexposure": {
  24983. "description": "实时总敞口(总敞口)",
  24984. "type": "number"
  24985. },
  24986. "totalfutureqty": {
  24987. "description": "期货头寸总量(期货总量)",
  24988. "type": "number"
  24989. },
  24990. "totalhedgeratio": {
  24991. "description": "敞口比例",
  24992. "type": "number"
  24993. },
  24994. "totalneedhedgeqty": {
  24995. "description": "应套保总量(现货应套保总量)",
  24996. "type": "number"
  24997. },
  24998. "totalspotqty": {
  24999. "description": "现货头寸总量 | 除税总量",
  25000. "type": "number"
  25001. },
  25002. "unitid": {
  25003. "description": "单位id",
  25004. "type": "integer"
  25005. },
  25006. "updatetime": {
  25007. "description": "更新时间",
  25008. "type": "string"
  25009. }
  25010. }
  25011. },
  25012. "models.Ermcp3FinanceReport": {
  25013. "type": "object",
  25014. "properties": {
  25015. "accountname": {
  25016. "description": "机构名称",
  25017. "type": "string"
  25018. },
  25019. "areauserid": {
  25020. "description": "所属机构\\交易用户ID",
  25021. "type": "integer"
  25022. },
  25023. "begindate": {
  25024. "description": "开始交易日",
  25025. "type": "string"
  25026. },
  25027. "biztype": {
  25028. "description": "业务类型 - 1:套保 2:套利",
  25029. "type": "integer"
  25030. },
  25031. "brandname": {
  25032. "description": "品牌名称",
  25033. "type": "string"
  25034. },
  25035. "buypreinvoicedamount": {
  25036. "description": "采购预收票额(预收票额)",
  25037. "type": "number"
  25038. },
  25039. "buyprepaidamount": {
  25040. "description": "采购预付款额(预付货款额)",
  25041. "type": "number"
  25042. },
  25043. "buytodayinvoiceamount": {
  25044. "description": "采购今收票额(今收票额)",
  25045. "type": "number"
  25046. },
  25047. "buytodayrefundamount": {
  25048. "description": "采购今收退款额(今收退款额)",
  25049. "type": "number"
  25050. },
  25051. "buytodaysettleamount": {
  25052. "description": "采购今付款额(今付货款额)",
  25053. "type": "number"
  25054. },
  25055. "buyuninvoicedamount": {
  25056. "description": "采购应收票额(应收票额)",
  25057. "type": "number"
  25058. },
  25059. "buyunpaidamount": {
  25060. "description": "采购应付款额(应付货款额)",
  25061. "type": "number"
  25062. },
  25063. "currencyid": {
  25064. "description": "结算币种ID",
  25065. "type": "integer"
  25066. },
  25067. "currencyname": {
  25068. "description": "币种名称",
  25069. "type": "string"
  25070. },
  25071. "cycletime": {
  25072. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25073. "type": "string"
  25074. },
  25075. "cycletype": {
  25076. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25077. "type": "integer"
  25078. },
  25079. "deliverygoodscode": {
  25080. "description": "现货品种代码",
  25081. "type": "string"
  25082. },
  25083. "deliverygoodsid": {
  25084. "description": "现货品种ID",
  25085. "type": "integer"
  25086. },
  25087. "deliverygoodsname": {
  25088. "description": "现货品种名称",
  25089. "type": "string"
  25090. },
  25091. "enddate": {
  25092. "description": "结束交易日",
  25093. "type": "string"
  25094. },
  25095. "reckondate": {
  25096. "description": "日照时期(yyyyMMdd)",
  25097. "type": "string"
  25098. },
  25099. "sellpreinvoicedamount": {
  25100. "description": "销售预开票额(预开票额)",
  25101. "type": "number"
  25102. },
  25103. "sellprepaidamount": {
  25104. "description": "销售预收款额(预收货款额)",
  25105. "type": "number"
  25106. },
  25107. "selltodayinvoiceamount": {
  25108. "description": "销售今开票额(今开票额)",
  25109. "type": "number"
  25110. },
  25111. "selltodayrefundamount": {
  25112. "description": "销售今付退款额(今付退款额)",
  25113. "type": "number"
  25114. },
  25115. "selltodaysettleamount": {
  25116. "description": "销售今收款额(今收货款额)",
  25117. "type": "number"
  25118. },
  25119. "selluninvoicedamount": {
  25120. "description": "销售应开票额(应开票额)",
  25121. "type": "number"
  25122. },
  25123. "sellunpaidamount": {
  25124. "description": "销售应收款额(应收货款额)",
  25125. "type": "number"
  25126. },
  25127. "spotgoodsbrandid": {
  25128. "description": "现货品牌ID",
  25129. "type": "integer"
  25130. },
  25131. "todaypaysum": {
  25132. "description": "今付款合计",
  25133. "type": "number"
  25134. },
  25135. "todayreceivesum": {
  25136. "description": "今收款合计",
  25137. "type": "number"
  25138. },
  25139. "updatetime": {
  25140. "description": "更新时间",
  25141. "type": "string"
  25142. },
  25143. "wrfactortypeid": {
  25144. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25145. "type": "integer"
  25146. },
  25147. "wrstandardcode": {
  25148. "description": "品类代码",
  25149. "type": "string"
  25150. },
  25151. "wrstandardid": {
  25152. "description": "现货商品ID",
  25153. "type": "integer"
  25154. },
  25155. "wrstandardname": {
  25156. "description": "品类名称",
  25157. "type": "string"
  25158. }
  25159. }
  25160. },
  25161. "models.Ermcp3GoodsGroup": {
  25162. "type": "object",
  25163. "required": [
  25164. "areauserid"
  25165. ],
  25166. "properties": {
  25167. "agreeunit": {
  25168. "description": "合约单位",
  25169. "type": "number"
  25170. },
  25171. "areauserid": {
  25172. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  25173. "type": "integer"
  25174. },
  25175. "canshort": {
  25176. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25177. "type": "integer"
  25178. },
  25179. "closepricemode": {
  25180. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25181. "type": "integer"
  25182. },
  25183. "createtime": {
  25184. "description": "创建时间",
  25185. "type": "string"
  25186. },
  25187. "creatorid": {
  25188. "description": "创建人",
  25189. "type": "integer"
  25190. },
  25191. "currencyid": {
  25192. "description": "报价货币ID",
  25193. "type": "integer"
  25194. },
  25195. "decimalplace": {
  25196. "description": "报价小数位",
  25197. "type": "integer"
  25198. },
  25199. "enumdicname": {
  25200. "description": "单位名称",
  25201. "type": "string"
  25202. },
  25203. "exchangefullname": {
  25204. "description": "交易所全称",
  25205. "type": "string"
  25206. },
  25207. "excludecfg": {
  25208. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  25209. "type": "integer"
  25210. },
  25211. "exexchangecode": {
  25212. "description": "交易所代码",
  25213. "type": "string"
  25214. },
  25215. "exexchangeid": {
  25216. "description": "外部交易所ID[通道交易]",
  25217. "type": "integer"
  25218. },
  25219. "exexchangename": {
  25220. "description": "交易所名称",
  25221. "type": "string"
  25222. },
  25223. "goodsgroupid": {
  25224. "description": "商品组ID(自增ID)",
  25225. "type": "integer"
  25226. },
  25227. "goodsgroupname": {
  25228. "description": "商品组名称",
  25229. "type": "string"
  25230. },
  25231. "goodsgroupstatus": {
  25232. "description": "商品组状态 - 1:正常 2:注销",
  25233. "type": "integer"
  25234. },
  25235. "goodunitid": {
  25236. "description": "报价单位ID",
  25237. "type": "integer"
  25238. },
  25239. "groupcategroyid": {
  25240. "description": "品种分类ID",
  25241. "type": "integer"
  25242. },
  25243. "innerdealmode": {
  25244. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25245. "type": "integer"
  25246. },
  25247. "marketid": {
  25248. "description": "所属市场ID",
  25249. "type": "integer"
  25250. },
  25251. "modifierid": {
  25252. "description": "修改人",
  25253. "type": "integer"
  25254. },
  25255. "modifytime": {
  25256. "description": "修改时间",
  25257. "type": "string"
  25258. },
  25259. "outerdealmode": {
  25260. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25261. "type": "integer"
  25262. },
  25263. "outergroupcode": {
  25264. "description": "外部商品组代码[通道交易]",
  25265. "type": "string"
  25266. },
  25267. "quoteminunit": {
  25268. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25269. "type": "integer"
  25270. },
  25271. "quotesourcegroupid": {
  25272. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25273. "type": "integer"
  25274. },
  25275. "syncgoodsqty": {
  25276. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25277. "type": "integer"
  25278. }
  25279. }
  25280. },
  25281. "models.Ermcp3HPMiddleGoods": {
  25282. "type": "object",
  25283. "properties": {
  25284. "biztype": {
  25285. "description": "业务类型 1:套保 2:套利",
  25286. "type": "integer"
  25287. },
  25288. "contracttype": {
  25289. "description": "合同类型 1:采购 -1:销售",
  25290. "type": "integer"
  25291. },
  25292. "convertratio": {
  25293. "description": "折算系数",
  25294. "type": "number"
  25295. },
  25296. "customername": {
  25297. "description": "对手手名称",
  25298. "type": "string"
  25299. },
  25300. "customeruserid": {
  25301. "description": "对手id",
  25302. "type": "integer"
  25303. },
  25304. "enumdicname": {
  25305. "description": "现货单位名称",
  25306. "type": "string"
  25307. },
  25308. "hedgeplanid": {
  25309. "description": "计划id",
  25310. "type": "string"
  25311. },
  25312. "hedgeplanno": {
  25313. "description": "计划编号",
  25314. "type": "string"
  25315. },
  25316. "middlegoodsid": {
  25317. "description": "套保品种ID",
  25318. "type": "integer"
  25319. },
  25320. "middlegoodsplanqty3": {
  25321. "description": "应套保计划量",
  25322. "type": "number"
  25323. },
  25324. "needhedgeratio": {
  25325. "description": "套保比例",
  25326. "type": "number"
  25327. },
  25328. "pricedqty": {
  25329. "description": "已定价量",
  25330. "type": "number"
  25331. },
  25332. "relatedmiddlegoodsqty": {
  25333. "description": "已关联量(套保品种)(期货)",
  25334. "type": "number"
  25335. },
  25336. "unitid": {
  25337. "description": "现货单位id",
  25338. "type": "integer"
  25339. },
  25340. "userid": {
  25341. "description": "用户id",
  25342. "type": "integer"
  25343. },
  25344. "vatrate": {
  25345. "description": "增值税率",
  25346. "type": "number"
  25347. },
  25348. "wrstandardcode": {
  25349. "description": "现货商品代码",
  25350. "type": "string"
  25351. },
  25352. "wrstandardid": {
  25353. "description": "现货商品id",
  25354. "type": "integer"
  25355. },
  25356. "wrstandardname": {
  25357. "description": "现货商品名称",
  25358. "type": "string"
  25359. }
  25360. }
  25361. },
  25362. "models.Ermcp3HedgePlan": {
  25363. "type": "object",
  25364. "properties": {
  25365. "accountid": {
  25366. "description": "资金账号",
  25367. "type": "integer"
  25368. },
  25369. "areauserid": {
  25370. "description": "用户ID",
  25371. "type": "integer"
  25372. },
  25373. "auditid": {
  25374. "description": "审核id",
  25375. "type": "integer"
  25376. },
  25377. "auditname": {
  25378. "description": "审核人名称",
  25379. "type": "string"
  25380. },
  25381. "auditremark": {
  25382. "description": "审核备注",
  25383. "type": "string"
  25384. },
  25385. "auditsrc": {
  25386. "description": "审核来源 1-管理端 2-终端",
  25387. "type": "integer"
  25388. },
  25389. "audittime": {
  25390. "description": "审核时间",
  25391. "type": "string"
  25392. },
  25393. "contracttype": {
  25394. "description": "计划类型 - 1:采购 -1:销售",
  25395. "type": "integer"
  25396. },
  25397. "convertfactor": {
  25398. "description": "标仓系数",
  25399. "type": "number"
  25400. },
  25401. "createtime": {
  25402. "description": "创建时间",
  25403. "type": "string"
  25404. },
  25405. "currencyid": {
  25406. "description": "币种id",
  25407. "type": "integer"
  25408. },
  25409. "currencyname": {
  25410. "description": "币种名称",
  25411. "type": "string"
  25412. },
  25413. "deliverygoodscode": {
  25414. "description": "现货品种代码",
  25415. "type": "string"
  25416. },
  25417. "deliverygoodsid": {
  25418. "description": "现货品种ID",
  25419. "type": "integer"
  25420. },
  25421. "deliverygoodsname": {
  25422. "description": "现货品种名称",
  25423. "type": "string"
  25424. },
  25425. "enumdicname": {
  25426. "description": "单位名称(现货商品)",
  25427. "type": "string"
  25428. },
  25429. "hedgeplanid": {
  25430. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25431. "type": "string"
  25432. },
  25433. "hedgeplanno": {
  25434. "description": "套保计划编号(名称)",
  25435. "type": "string"
  25436. },
  25437. "hedgeplanstatus": {
  25438. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25439. "type": "integer"
  25440. },
  25441. "planqty": {
  25442. "description": "计划数量",
  25443. "type": "number"
  25444. },
  25445. "plantime": {
  25446. "description": "计划时间",
  25447. "type": "string"
  25448. },
  25449. "producttype": {
  25450. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25451. "type": "integer"
  25452. },
  25453. "remark": {
  25454. "description": "备注",
  25455. "type": "string"
  25456. },
  25457. "spotgoodsdesc": {
  25458. "description": "商品型号",
  25459. "type": "string"
  25460. },
  25461. "taaccountname": {
  25462. "description": "资金账号名称",
  25463. "type": "string"
  25464. },
  25465. "tradeuserid": {
  25466. "description": "交易用户id",
  25467. "type": "integer"
  25468. },
  25469. "tradeusername": {
  25470. "description": "交易用户名称",
  25471. "type": "string"
  25472. },
  25473. "unitid": {
  25474. "description": "单位id(现货商品)",
  25475. "type": "integer"
  25476. },
  25477. "updatetime": {
  25478. "description": "更新时间",
  25479. "type": "string"
  25480. },
  25481. "vatrate": {
  25482. "description": "增值税率",
  25483. "type": "number"
  25484. },
  25485. "wrstandardcode": {
  25486. "description": "品类代码",
  25487. "type": "string"
  25488. },
  25489. "wrstandardid": {
  25490. "description": "品类id",
  25491. "type": "integer"
  25492. },
  25493. "wrstandardname": {
  25494. "description": "品类名称",
  25495. "type": "string"
  25496. },
  25497. "wrunitid": {
  25498. "description": "品类单位id",
  25499. "type": "integer"
  25500. },
  25501. "wrunitidame": {
  25502. "description": "品类单位名称",
  25503. "type": "string"
  25504. }
  25505. }
  25506. },
  25507. "models.Ermcp3InnerTradeLink": {
  25508. "type": "object",
  25509. "properties": {
  25510. "accountid": {
  25511. "description": "期货账号代码 | 资金账号ID",
  25512. "type": "integer"
  25513. },
  25514. "buyorsell": {
  25515. "description": "方向 - 0:买 1:卖",
  25516. "type": "integer"
  25517. },
  25518. "channelbuildtype": {
  25519. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25520. "type": "integer"
  25521. },
  25522. "currencyid": {
  25523. "description": "币种id",
  25524. "type": "integer"
  25525. },
  25526. "currencyname": {
  25527. "description": "结算币种 名称",
  25528. "type": "string"
  25529. },
  25530. "goodscode": {
  25531. "description": "商品代码",
  25532. "type": "string"
  25533. },
  25534. "goodsid": {
  25535. "description": "商品ID",
  25536. "type": "integer"
  25537. },
  25538. "goodsname": {
  25539. "description": "商品名称",
  25540. "type": "string"
  25541. },
  25542. "outtradeid": {
  25543. "description": "外部成交单号",
  25544. "type": "string"
  25545. },
  25546. "taname": {
  25547. "description": "期货账户名称",
  25548. "type": "string"
  25549. },
  25550. "tradeid": {
  25551. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25552. "type": "string"
  25553. },
  25554. "tradeprice": {
  25555. "description": "成交价格",
  25556. "type": "number"
  25557. },
  25558. "tradeqty": {
  25559. "description": "期货成交数量",
  25560. "type": "integer"
  25561. },
  25562. "tradetime": {
  25563. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25564. "type": "string"
  25565. },
  25566. "username": {
  25567. "description": "用户名称",
  25568. "type": "string"
  25569. }
  25570. }
  25571. },
  25572. "models.Ermcp3OutTradeLink": {
  25573. "type": "object",
  25574. "properties": {
  25575. "buyorsell": {
  25576. "description": "买卖方向 - 0:买 1:卖",
  25577. "type": "integer"
  25578. },
  25579. "channelbuildtype": {
  25580. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25581. "type": "integer"
  25582. },
  25583. "currencyname": {
  25584. "description": "币种名称",
  25585. "type": "string"
  25586. },
  25587. "exexchangecode": {
  25588. "description": "交易所代码",
  25589. "type": "string"
  25590. },
  25591. "exexchangename": {
  25592. "description": "交易所名称",
  25593. "type": "string"
  25594. },
  25595. "goodscode": {
  25596. "description": "合约代码",
  25597. "type": "string"
  25598. },
  25599. "goodsid": {
  25600. "description": "合约id",
  25601. "type": "integer"
  25602. },
  25603. "goodsname": {
  25604. "description": "合约名称",
  25605. "type": "string"
  25606. },
  25607. "hasinnerorder": {
  25608. "description": "是否有内部单关联 - 0:无 1:有",
  25609. "type": "integer"
  25610. },
  25611. "hedgeaccountcode": {
  25612. "description": "外部账号 | 对冲账号",
  25613. "type": "string"
  25614. },
  25615. "outtradeid": {
  25616. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25617. "type": "string"
  25618. },
  25619. "tradeprice": {
  25620. "description": "成交价格",
  25621. "type": "number"
  25622. },
  25623. "tradeqty": {
  25624. "description": "成交数量",
  25625. "type": "integer"
  25626. },
  25627. "tradetime": {
  25628. "description": "成交时间",
  25629. "type": "string"
  25630. }
  25631. }
  25632. },
  25633. "models.Ermcp3PaAreaAuditCfg": {
  25634. "type": "object",
  25635. "properties": {
  25636. "areauserid": {
  25637. "description": "用户ID",
  25638. "type": "integer"
  25639. },
  25640. "buyinauditflag": {
  25641. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25642. "type": "integer"
  25643. },
  25644. "costratioauditflag": {
  25645. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25646. "type": "integer"
  25647. },
  25648. "customerauditflag": {
  25649. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25650. "type": "integer"
  25651. },
  25652. "deliveryauditflag": {
  25653. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25654. "type": "integer"
  25655. },
  25656. "invoiceauditflag": {
  25657. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25658. "type": "integer"
  25659. },
  25660. "mgneedhedgeratioauditflag": {
  25661. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25662. "type": "integer"
  25663. },
  25664. "moneyauditflag": {
  25665. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25666. "type": "integer"
  25667. },
  25668. "operatorid": {
  25669. "description": "操作人",
  25670. "type": "integer"
  25671. },
  25672. "operatorsrc": {
  25673. "description": "操作来源 - 1:管理端 2:终端",
  25674. "type": "integer"
  25675. },
  25676. "pointpriceauditflag": {
  25677. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25678. "type": "integer"
  25679. },
  25680. "produceinauditflag": {
  25681. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25682. "type": "integer"
  25683. },
  25684. "produceoutauditflag": {
  25685. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25686. "type": "integer"
  25687. },
  25688. "selloutauditflag": {
  25689. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25690. "type": "integer"
  25691. },
  25692. "sgconvertratioauditflag": {
  25693. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25694. "type": "integer"
  25695. },
  25696. "sgvtaratioauditflag": {
  25697. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25698. "type": "integer"
  25699. },
  25700. "spotcontractauditflag": {
  25701. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25702. "type": "integer"
  25703. },
  25704. "updatetime": {
  25705. "description": "更新时间",
  25706. "type": "string"
  25707. }
  25708. }
  25709. },
  25710. "models.Ermcp3PaAreaSubject": {
  25711. "type": "object",
  25712. "properties": {
  25713. "areauserid": {
  25714. "description": "所属机构",
  25715. "type": "integer"
  25716. },
  25717. "canmodify": {
  25718. "description": "是否可修改 - 0:否 1:是",
  25719. "type": "integer"
  25720. },
  25721. "createtime": {
  25722. "description": "创建时间",
  25723. "type": "string"
  25724. },
  25725. "creatorid": {
  25726. "description": "创建人ID",
  25727. "type": "string"
  25728. },
  25729. "creatorsrc": {
  25730. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  25731. "type": "integer"
  25732. },
  25733. "modifierid": {
  25734. "description": "修改人",
  25735. "type": "string"
  25736. },
  25737. "modifiersrc": {
  25738. "description": "修改人来源 - 1:管理端 2:终端",
  25739. "type": "integer"
  25740. },
  25741. "modifytime": {
  25742. "description": "修改时间",
  25743. "type": "string"
  25744. },
  25745. "parentsubjectid": {
  25746. "description": "上级主体ID",
  25747. "type": "string"
  25748. },
  25749. "remark": {
  25750. "description": "备注",
  25751. "type": "string"
  25752. },
  25753. "subjectid": {
  25754. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  25755. "type": "integer"
  25756. },
  25757. "subjectname": {
  25758. "description": "主体名称",
  25759. "type": "string"
  25760. },
  25761. "subjectstatus": {
  25762. "description": "主体状态 - 1:正常 2: 停用",
  25763. "type": "integer"
  25764. },
  25765. "subjecttype": {
  25766. "description": "主体类型 - 1:交易主体 2:业务部门",
  25767. "type": "integer"
  25768. }
  25769. }
  25770. },
  25771. "models.Ermcp3PaTradeLink": {
  25772. "type": "object",
  25773. "properties": {
  25774. "accountid": {
  25775. "description": "期货账户代码 | 账号ID",
  25776. "type": "integer"
  25777. },
  25778. "agreeunit": {
  25779. "description": "合约乘数",
  25780. "type": "number"
  25781. },
  25782. "buyorsell": {
  25783. "description": "方向 - 0:买 1:卖",
  25784. "type": "integer"
  25785. },
  25786. "channelbuildtype": {
  25787. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25788. "type": "integer"
  25789. },
  25790. "charge": {
  25791. "description": "手续费",
  25792. "type": "number"
  25793. },
  25794. "closepl": {
  25795. "description": "平仓盈亏",
  25796. "type": "number"
  25797. },
  25798. "closetype": {
  25799. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  25800. "type": "integer"
  25801. },
  25802. "convertratio": {
  25803. "description": "折算系数",
  25804. "type": "number"
  25805. },
  25806. "enumdicname": {
  25807. "description": "单位名称",
  25808. "type": "string"
  25809. },
  25810. "executeprice": {
  25811. "description": "执行价 [期权]",
  25812. "type": "integer"
  25813. },
  25814. "goodscode": {
  25815. "description": "合约代码",
  25816. "type": "string"
  25817. },
  25818. "goodsgroupid": {
  25819. "description": "对冲品种ID[期货合约商品组ID]",
  25820. "type": "integer"
  25821. },
  25822. "goodsid": {
  25823. "description": "商品ID",
  25824. "type": "integer"
  25825. },
  25826. "goodsname": {
  25827. "description": "合约名称",
  25828. "type": "string"
  25829. },
  25830. "goodunitid": {
  25831. "description": "单位id",
  25832. "type": "integer"
  25833. },
  25834. "hedgeflag": {
  25835. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  25836. "type": "integer"
  25837. },
  25838. "marketid": {
  25839. "description": "市场ID",
  25840. "type": "integer"
  25841. },
  25842. "middlegoodsid": {
  25843. "description": "套保品种ID",
  25844. "type": "integer"
  25845. },
  25846. "middlegoodsqty": {
  25847. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  25848. "type": "number"
  25849. },
  25850. "optioncode": {
  25851. "description": "期权代码 [期权]",
  25852. "type": "string"
  25853. },
  25854. "ordertype": {
  25855. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  25856. "type": "integer"
  25857. },
  25858. "ordertypename": {
  25859. "description": "订单类型",
  25860. "type": "string"
  25861. },
  25862. "parentaccountid": {
  25863. "description": "所属母账户",
  25864. "type": "integer"
  25865. },
  25866. "premium": {
  25867. "description": "权利金 [期权]",
  25868. "type": "number"
  25869. },
  25870. "relatedlot": {
  25871. "description": "已关联数量(已关联数量手) | db:关联手数",
  25872. "type": "number"
  25873. },
  25874. "relatedouttradeid": {
  25875. "description": "关联外部成交单ID",
  25876. "type": "string"
  25877. },
  25878. "relatedqty": {
  25879. "description": "关联数量",
  25880. "type": "number"
  25881. },
  25882. "spotcontractid": {
  25883. "description": "现货合同ID [4:套期保值\\10\\11]",
  25884. "type": "string"
  25885. },
  25886. "taname": {
  25887. "description": "期货账户名称",
  25888. "type": "string"
  25889. },
  25890. "tradeamount": {
  25891. "description": "成交金额(账户)",
  25892. "type": "number"
  25893. },
  25894. "tradedate": {
  25895. "description": "交易日(yyyyMMdd)",
  25896. "type": "string"
  25897. },
  25898. "tradeid": {
  25899. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25900. "type": "string"
  25901. },
  25902. "tradelot": {
  25903. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  25904. "type": "integer"
  25905. },
  25906. "tradeprice": {
  25907. "description": "成交价格",
  25908. "type": "number"
  25909. },
  25910. "tradetime": {
  25911. "description": "时间 | db:成交时间",
  25912. "type": "string"
  25913. },
  25914. "tradetype": {
  25915. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  25916. "type": "integer"
  25917. },
  25918. "userid": {
  25919. "description": "所属机构 - 所属母账户的UserID",
  25920. "type": "string"
  25921. },
  25922. "username": {
  25923. "description": "用户名称",
  25924. "type": "string"
  25925. }
  25926. }
  25927. },
  25928. "models.Ermcp3ParamChangeApp": {
  25929. "type": "object",
  25930. "properties": {
  25931. "aftervalue": {
  25932. "description": "变更后",
  25933. "type": "number"
  25934. },
  25935. "applicationid": {
  25936. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  25937. "type": "string"
  25938. },
  25939. "applyid": {
  25940. "description": "申请人",
  25941. "type": "string"
  25942. },
  25943. "applyname": {
  25944. "description": "申请人名称(代码)",
  25945. "type": "string"
  25946. },
  25947. "applyremark": {
  25948. "description": "申请备注",
  25949. "type": "string"
  25950. },
  25951. "applysrc": {
  25952. "description": "申请来源 - 1:管理端 2:终端",
  25953. "type": "integer"
  25954. },
  25955. "applystatus": {
  25956. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  25957. "type": "integer"
  25958. },
  25959. "applytime": {
  25960. "description": "申请时间",
  25961. "type": "string"
  25962. },
  25963. "areauserid": {
  25964. "description": "所属机构用户ID",
  25965. "type": "integer"
  25966. },
  25967. "auditid": {
  25968. "description": "审核人",
  25969. "type": "string"
  25970. },
  25971. "auditname": {
  25972. "description": "审核人名称(代码)",
  25973. "type": "string"
  25974. },
  25975. "auditremark": {
  25976. "description": "审核备注",
  25977. "type": "string"
  25978. },
  25979. "auditsrc": {
  25980. "description": "审核来源 - 1:管理端 2:终端",
  25981. "type": "integer"
  25982. },
  25983. "audittime": {
  25984. "description": "审核时间",
  25985. "type": "string"
  25986. },
  25987. "audittradedate": {
  25988. "description": "审核交易日(yyyyMMdd)",
  25989. "type": "string"
  25990. },
  25991. "beforevalue": {
  25992. "description": "变更前",
  25993. "type": "number"
  25994. },
  25995. "deliverygoodscode": {
  25996. "description": "品种代码",
  25997. "type": "string"
  25998. },
  25999. "deliverygoodsid": {
  26000. "description": "品种id",
  26001. "type": "integer"
  26002. },
  26003. "deliverygoodsname": {
  26004. "description": "品种名称",
  26005. "type": "string"
  26006. },
  26007. "middlegoodscode": {
  26008. "description": "套保品种代码",
  26009. "type": "string"
  26010. },
  26011. "middlegoodsid": {
  26012. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  26013. "type": "integer"
  26014. },
  26015. "middlegoodsname": {
  26016. "description": "套保品种名称",
  26017. "type": "string"
  26018. },
  26019. "operatetype": {
  26020. "description": "操作类型 - 1:新增 2:修改",
  26021. "type": "integer"
  26022. },
  26023. "paramchangetype": {
  26024. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  26025. "type": "integer"
  26026. },
  26027. "wrstandardcode": {
  26028. "description": "现货商品代码",
  26029. "type": "string"
  26030. },
  26031. "wrstandardid": {
  26032. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  26033. "type": "integer"
  26034. },
  26035. "wrstandardname": {
  26036. "description": "现货商品名称",
  26037. "type": "string"
  26038. }
  26039. }
  26040. },
  26041. "models.Ermcp3RootUserAccount": {
  26042. "type": "object",
  26043. "properties": {
  26044. "accountname": {
  26045. "description": "账户名称(机构名称)",
  26046. "type": "string"
  26047. },
  26048. "accountstatus": {
  26049. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26050. "type": "integer"
  26051. },
  26052. "applysrc": {
  26053. "description": "申请来源 - 1:管理端 2:终端",
  26054. "type": "integer"
  26055. },
  26056. "auditremark": {
  26057. "description": "审核备注",
  26058. "type": "string"
  26059. },
  26060. "auditsrc": {
  26061. "description": "审核来源 - 1:管理端 2:终端",
  26062. "type": "integer"
  26063. },
  26064. "audittime": {
  26065. "description": "审核时间",
  26066. "type": "string"
  26067. },
  26068. "audituserid": {
  26069. "description": "审核人",
  26070. "type": "integer"
  26071. },
  26072. "broker": {
  26073. "description": "所属经纪人ID",
  26074. "type": "integer"
  26075. },
  26076. "canceltime": {
  26077. "description": "销户时间",
  26078. "type": "string"
  26079. },
  26080. "canceluserid": {
  26081. "description": "销户人",
  26082. "type": "integer"
  26083. },
  26084. "canrecommend": {
  26085. "description": "是否可推荐 - 0:不可 1;可",
  26086. "type": "integer"
  26087. },
  26088. "createtime": {
  26089. "description": "创建时间",
  26090. "type": "string"
  26091. },
  26092. "creatorid": {
  26093. "description": "创建人",
  26094. "type": "integer"
  26095. },
  26096. "hasauth": {
  26097. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26098. "type": "integer"
  26099. },
  26100. "isanonymous": {
  26101. "description": "是否匿名下单 - 0:否 1:是",
  26102. "type": "integer"
  26103. },
  26104. "maxinvestornum": {
  26105. "description": "最大用户数(经纪会员下投资者个数)",
  26106. "type": "integer"
  26107. },
  26108. "memberuserid": {
  26109. "description": "所属会员ID",
  26110. "type": "integer"
  26111. },
  26112. "modifierid": {
  26113. "description": "修改人",
  26114. "type": "integer"
  26115. },
  26116. "modifyremark": {
  26117. "description": "变更备注",
  26118. "type": "string"
  26119. },
  26120. "modifystatus": {
  26121. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26122. "type": "integer"
  26123. },
  26124. "modifytime": {
  26125. "description": "修改时间",
  26126. "type": "string"
  26127. },
  26128. "nickname": {
  26129. "description": "昵称",
  26130. "type": "string"
  26131. },
  26132. "parenttopuser": {
  26133. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26134. "type": "string"
  26135. },
  26136. "parentuserid": {
  26137. "description": "所属机构ID",
  26138. "type": "integer"
  26139. },
  26140. "reckonaccountid": {
  26141. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26142. "type": "integer"
  26143. },
  26144. "refercount": {
  26145. "description": "推荐总人数",
  26146. "type": "integer"
  26147. },
  26148. "refereeuserid": {
  26149. "description": "推荐人ID",
  26150. "type": "integer"
  26151. },
  26152. "refernum": {
  26153. "description": "推荐码",
  26154. "type": "string"
  26155. },
  26156. "rootuserid": {
  26157. "description": "根用户ID",
  26158. "type": "integer"
  26159. },
  26160. "subaccountlevel": {
  26161. "description": "子账户层数",
  26162. "type": "integer"
  26163. },
  26164. "subarealevelpath": {
  26165. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26166. "type": "string"
  26167. },
  26168. "userid": {
  26169. "description": "用户ID",
  26170. "type": "integer"
  26171. },
  26172. "usertype": {
  26173. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26174. "type": "integer"
  26175. }
  26176. }
  26177. },
  26178. "models.Ermcp3SCMiddleGoods": {
  26179. "type": "object",
  26180. "properties": {
  26181. "biztype": {
  26182. "description": "业务类型 1:套保 2:套利",
  26183. "type": "integer"
  26184. },
  26185. "contractno": {
  26186. "description": "合同编号",
  26187. "type": "string"
  26188. },
  26189. "contracttype": {
  26190. "description": "合同类型 1:采购 -1:销售",
  26191. "type": "integer"
  26192. },
  26193. "convertratio": {
  26194. "description": "折算系数",
  26195. "type": "number"
  26196. },
  26197. "customername": {
  26198. "description": "对手手名称",
  26199. "type": "string"
  26200. },
  26201. "customeruserid": {
  26202. "description": "对手id",
  26203. "type": "integer"
  26204. },
  26205. "deliverygoodscode": {
  26206. "description": "现货品种代码",
  26207. "type": "string"
  26208. },
  26209. "deliverygoodsid": {
  26210. "description": "现货品种ID",
  26211. "type": "integer"
  26212. },
  26213. "deliverygoodsname": {
  26214. "description": "现货品种名称",
  26215. "type": "string"
  26216. },
  26217. "enumdicname": {
  26218. "description": "现货单位名称",
  26219. "type": "string"
  26220. },
  26221. "middlegoodsid": {
  26222. "description": "套保品种ID",
  26223. "type": "integer"
  26224. },
  26225. "middlegoodspricedqty3": {
  26226. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  26227. "type": "number"
  26228. },
  26229. "needhedgeratio": {
  26230. "description": "套保比例",
  26231. "type": "number"
  26232. },
  26233. "pricedqty": {
  26234. "description": "已定价量",
  26235. "type": "number"
  26236. },
  26237. "relatedmiddlegoodsqty": {
  26238. "description": "已关联量(套保品种)(期货)",
  26239. "type": "number"
  26240. },
  26241. "spotcontractid": {
  26242. "description": "合同编号",
  26243. "type": "string"
  26244. },
  26245. "unitid": {
  26246. "description": "现货单位id",
  26247. "type": "integer"
  26248. },
  26249. "userid": {
  26250. "description": "用户id",
  26251. "type": "integer"
  26252. },
  26253. "vatrate": {
  26254. "description": "增值税率",
  26255. "type": "number"
  26256. },
  26257. "wrstandardcode": {
  26258. "description": "现货商品代码",
  26259. "type": "string"
  26260. },
  26261. "wrstandardid": {
  26262. "description": "现货商品id",
  26263. "type": "integer"
  26264. },
  26265. "wrstandardname": {
  26266. "description": "现货商品名称",
  26267. "type": "string"
  26268. }
  26269. }
  26270. },
  26271. "models.Ermcp3SCMiddleGoodsReport": {
  26272. "type": "object",
  26273. "properties": {
  26274. "begindate": {
  26275. "description": "开始交易日",
  26276. "type": "string"
  26277. },
  26278. "contractno": {
  26279. "description": "合同编号",
  26280. "type": "string"
  26281. },
  26282. "contracttype": {
  26283. "description": "合同类型 1:采购 -1:销售",
  26284. "type": "integer"
  26285. },
  26286. "convertratio": {
  26287. "description": "期初均价",
  26288. "type": "number"
  26289. },
  26290. "cycletime": {
  26291. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26292. "type": "string"
  26293. },
  26294. "cycletype": {
  26295. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26296. "type": "integer"
  26297. },
  26298. "deliverygoodscode": {
  26299. "description": "品种代码",
  26300. "type": "string"
  26301. },
  26302. "deliverygoodsid": {
  26303. "description": "现货品种ID",
  26304. "type": "integer"
  26305. },
  26306. "deliverygoodsname": {
  26307. "description": "品种名称",
  26308. "type": "string"
  26309. },
  26310. "diffprice": {
  26311. "description": "期初均价",
  26312. "type": "number"
  26313. },
  26314. "diffqty": {
  26315. "description": "期初均价",
  26316. "type": "number"
  26317. },
  26318. "enddate": {
  26319. "description": "结束交易日",
  26320. "type": "string"
  26321. },
  26322. "hedgeplanqty": {
  26323. "description": "期初均价",
  26324. "type": "number"
  26325. },
  26326. "matchname": {
  26327. "description": "交易对手方(个人:用户名称 企业:简称)",
  26328. "type": "string"
  26329. },
  26330. "matchnickname": {
  26331. "description": "交易对手方昵称",
  26332. "type": "string"
  26333. },
  26334. "middlegoodscode": {
  26335. "description": "套保品种代码",
  26336. "type": "string"
  26337. },
  26338. "middlegoodsid": {
  26339. "description": "套保品种ID",
  26340. "type": "integer"
  26341. },
  26342. "middlegoodsname": {
  26343. "description": "套保品种名称",
  26344. "type": "string"
  26345. },
  26346. "middlegoodspricedqty": {
  26347. "description": "期初均价",
  26348. "type": "number"
  26349. },
  26350. "middlegoodspricedqty2": {
  26351. "description": "期初均价",
  26352. "type": "number"
  26353. },
  26354. "middlegoodspricedqty3": {
  26355. "description": "期初均价",
  26356. "type": "number"
  26357. },
  26358. "needhedgeratio": {
  26359. "description": "期初均价",
  26360. "type": "number"
  26361. },
  26362. "pricedamount": {
  26363. "description": "期初均价",
  26364. "type": "number"
  26365. },
  26366. "pricedamount2": {
  26367. "description": "期初均价",
  26368. "type": "number"
  26369. },
  26370. "pricedqty": {
  26371. "description": "期初均价",
  26372. "type": "number"
  26373. },
  26374. "reckondate": {
  26375. "description": "日照时期(yyyyMMdd)",
  26376. "type": "string"
  26377. },
  26378. "relatedmiddlegoodsamount": {
  26379. "description": "期初均价",
  26380. "type": "number"
  26381. },
  26382. "relatedmiddlegoodsqty": {
  26383. "description": "期初均价",
  26384. "type": "number"
  26385. },
  26386. "spotcontractid": {
  26387. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26388. "type": "string"
  26389. },
  26390. "todayavgfutuprice": {
  26391. "description": "期初均价",
  26392. "type": "number"
  26393. },
  26394. "todayavgprice": {
  26395. "description": "期初均价",
  26396. "type": "number"
  26397. },
  26398. "todayavgprice2": {
  26399. "description": "期初均价",
  26400. "type": "number"
  26401. },
  26402. "todaypricedamount": {
  26403. "description": "期初均价",
  26404. "type": "number"
  26405. },
  26406. "todaypricedamount2": {
  26407. "description": "期初均价",
  26408. "type": "number"
  26409. },
  26410. "todaypricedqty": {
  26411. "description": "期初均价",
  26412. "type": "number"
  26413. },
  26414. "todayrelatedfutureqty": {
  26415. "description": "期初均价",
  26416. "type": "number"
  26417. },
  26418. "todayrelatedmiddlegoodsamount": {
  26419. "description": "期初均价",
  26420. "type": "number"
  26421. },
  26422. "todayrelatedmiddlegoodsqty": {
  26423. "description": "期初均价",
  26424. "type": "number"
  26425. },
  26426. "updatetime": {
  26427. "description": "更新时间",
  26428. "type": "string"
  26429. },
  26430. "userid": {
  26431. "description": "合同所属用户id",
  26432. "type": "integer"
  26433. },
  26434. "vatrate": {
  26435. "description": "期初均价",
  26436. "type": "number"
  26437. },
  26438. "wrstandardcode": {
  26439. "description": "商品(品类) 代码",
  26440. "type": "string"
  26441. },
  26442. "wrstandardid": {
  26443. "description": "现货商品ID",
  26444. "type": "integer"
  26445. },
  26446. "wrstandardname": {
  26447. "description": "商品(品类) 名称",
  26448. "type": "string"
  26449. }
  26450. }
  26451. },
  26452. "models.Ermcp3SellBuyContract": {
  26453. "type": "object",
  26454. "properties": {
  26455. "accountid": {
  26456. "description": "期货账户id",
  26457. "type": "string"
  26458. },
  26459. "accountname": {
  26460. "description": "账户名称",
  26461. "type": "string"
  26462. },
  26463. "attachment": {
  26464. "description": "附件",
  26465. "type": "string"
  26466. },
  26467. "audittime": {
  26468. "description": "审核时间",
  26469. "type": "string"
  26470. },
  26471. "bizsubjectid": {
  26472. "description": "归属业务部门ID - SubjectID",
  26473. "type": "integer"
  26474. },
  26475. "biztype": {
  26476. "description": "业务类型 1-套保 2-套利",
  26477. "type": "integer"
  26478. },
  26479. "brandname": {
  26480. "description": "品牌名称",
  26481. "type": "string"
  26482. },
  26483. "contracctstatus": {
  26484. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26485. "type": "integer"
  26486. },
  26487. "contractmargin": {
  26488. "description": "合同保证金",
  26489. "type": "number"
  26490. },
  26491. "contractno": {
  26492. "description": "合同编号",
  26493. "type": "string"
  26494. },
  26495. "contracttype": {
  26496. "description": "合同类型 1-采购, -1-销售",
  26497. "type": "integer"
  26498. },
  26499. "convertfactor": {
  26500. "description": "标仓系数(品类)",
  26501. "type": "number"
  26502. },
  26503. "createtime": {
  26504. "description": "创建时间",
  26505. "type": "string"
  26506. },
  26507. "currencyid": {
  26508. "description": "币种id",
  26509. "type": "integer"
  26510. },
  26511. "currencyname": {
  26512. "description": "币种名称",
  26513. "type": "string"
  26514. },
  26515. "daikaiamount": {
  26516. "description": "应收(开)票额 | 未收票额",
  26517. "type": "number"
  26518. },
  26519. "deliveryenddate": {
  26520. "description": "交割结束日",
  26521. "type": "string"
  26522. },
  26523. "deliverygoodscode": {
  26524. "description": "现货品种代码",
  26525. "type": "string"
  26526. },
  26527. "deliverygoodsid": {
  26528. "description": "现货商品ID",
  26529. "type": "integer"
  26530. },
  26531. "deliverygoodsname": {
  26532. "description": "现货品种名称",
  26533. "type": "string"
  26534. },
  26535. "deliverystartdate": {
  26536. "description": "交割开始日",
  26537. "type": "string"
  26538. },
  26539. "enddate": {
  26540. "description": "点价结束日",
  26541. "type": "string"
  26542. },
  26543. "enumdicname": {
  26544. "description": "单位名称",
  26545. "type": "string"
  26546. },
  26547. "goodscode": {
  26548. "description": "点价商品代码",
  26549. "type": "string"
  26550. },
  26551. "goodsgroupid": {
  26552. "description": "点价商品组id",
  26553. "type": "integer"
  26554. },
  26555. "goodsid": {
  26556. "description": "点价商品ID",
  26557. "type": "integer"
  26558. },
  26559. "goodsname": {
  26560. "description": "点价商品名称",
  26561. "type": "string"
  26562. },
  26563. "invoiceamount": {
  26564. "description": "已开票额",
  26565. "type": "number"
  26566. },
  26567. "loanamount": {
  26568. "description": "贷款总额=已定价额+调整金额",
  26569. "type": "number"
  26570. },
  26571. "margin": {
  26572. "description": "保证金",
  26573. "type": "number"
  26574. },
  26575. "meruserid": {
  26576. "description": "跟单员id",
  26577. "type": "integer"
  26578. },
  26579. "meruserlogincode": {
  26580. "description": "跟单员登录代码",
  26581. "type": "string"
  26582. },
  26583. "merusername": {
  26584. "description": "跟单员名称",
  26585. "type": "string"
  26586. },
  26587. "nickname": {
  26588. "description": "账户昵称",
  26589. "type": "string"
  26590. },
  26591. "orireckonrealqty": {
  26592. "description": "应交收量",
  26593. "type": "number"
  26594. },
  26595. "payamount": {
  26596. "description": "已收付额(收款或付款)",
  26597. "type": "number"
  26598. },
  26599. "preinvoiceamount": {
  26600. "description": "预收(开)票额",
  26601. "type": "number"
  26602. },
  26603. "prepayamount": {
  26604. "description": "预收付额",
  26605. "type": "number"
  26606. },
  26607. "price": {
  26608. "description": "价格",
  26609. "type": "number"
  26610. },
  26611. "pricedamount": {
  26612. "description": "已定价额",
  26613. "type": "number"
  26614. },
  26615. "pricedavg": {
  26616. "description": "已点均价",
  26617. "type": "number"
  26618. },
  26619. "pricedqty": {
  26620. "description": "已定价量",
  26621. "type": "number"
  26622. },
  26623. "pricemove": {
  26624. "description": "升贴水",
  26625. "type": "number"
  26626. },
  26627. "pricetype": {
  26628. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26629. "type": "integer"
  26630. },
  26631. "producttype": {
  26632. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26633. "type": "integer"
  26634. },
  26635. "qty": {
  26636. "description": "合同量",
  26637. "type": "number"
  26638. },
  26639. "reckonadjustamount": {
  26640. "description": "调整金额",
  26641. "type": "number"
  26642. },
  26643. "reckonedamount": {
  26644. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26645. "type": "number"
  26646. },
  26647. "reckonotheramount": {
  26648. "description": "其它费用",
  26649. "type": "number"
  26650. },
  26651. "reckonrealqty": {
  26652. "description": "已交收量",
  26653. "type": "number"
  26654. },
  26655. "remark": {
  26656. "description": "备注",
  26657. "type": "string"
  26658. },
  26659. "saleuserid": {
  26660. "description": "业务员id",
  26661. "type": "integer"
  26662. },
  26663. "saleuserlogincode": {
  26664. "description": "业务员登录代码",
  26665. "type": "string"
  26666. },
  26667. "saleusername": {
  26668. "description": "业务员名称",
  26669. "type": "string"
  26670. },
  26671. "spotcontractid": {
  26672. "description": "合同ID",
  26673. "type": "string"
  26674. },
  26675. "spotgoodsbrandid": {
  26676. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26677. "type": "integer"
  26678. },
  26679. "spotgoodsdesc": {
  26680. "description": "商品型号(商品规格)",
  26681. "type": "string"
  26682. },
  26683. "startdate": {
  26684. "description": "点价开始日",
  26685. "type": "string"
  26686. },
  26687. "subjectid": {
  26688. "description": "交易主体ID",
  26689. "type": "integer"
  26690. },
  26691. "subjectname": {
  26692. "description": "交易主体名称",
  26693. "type": "string"
  26694. },
  26695. "totalamount": {
  26696. "description": "合计总额",
  26697. "type": "number"
  26698. },
  26699. "tradeuserid": {
  26700. "description": "交易员id",
  26701. "type": "integer"
  26702. },
  26703. "tradeuserlogincode": {
  26704. "description": "交易员登录代码",
  26705. "type": "string"
  26706. },
  26707. "tradeusername": {
  26708. "description": "交易员名称",
  26709. "type": "string"
  26710. },
  26711. "unpayamount": {
  26712. "description": "应收付款额(应支付或应收款) | 未付款额",
  26713. "type": "number"
  26714. },
  26715. "unpricedqty": {
  26716. "description": "未定价量",
  26717. "type": "number"
  26718. },
  26719. "unsureqty": {
  26720. "description": "未确定量 | 未交收量",
  26721. "type": "number"
  26722. },
  26723. "userid": {
  26724. "description": "机构ID",
  26725. "type": "integer"
  26726. },
  26727. "vatrate": {
  26728. "description": "增值税率",
  26729. "type": "number"
  26730. },
  26731. "wrstandardcode": {
  26732. "description": "品类代码",
  26733. "type": "string"
  26734. },
  26735. "wrstandardid": {
  26736. "description": "品类ID",
  26737. "type": "integer"
  26738. },
  26739. "wrstandardname": {
  26740. "description": "品类名称",
  26741. "type": "string"
  26742. }
  26743. }
  26744. },
  26745. "models.Ermcp3SpotGoodsPrice": {
  26746. "type": "object",
  26747. "properties": {
  26748. "areauserid": {
  26749. "description": "所属机构id",
  26750. "type": "integer"
  26751. },
  26752. "brandname": {
  26753. "description": "品牌名称",
  26754. "type": "string"
  26755. },
  26756. "currencyid": {
  26757. "description": "报价货币ID",
  26758. "type": "integer"
  26759. },
  26760. "currencyname": {
  26761. "description": "币种名称",
  26762. "type": "string"
  26763. },
  26764. "deliverygoodscode": {
  26765. "description": "现货商品代码",
  26766. "type": "string"
  26767. },
  26768. "deliverygoodsid": {
  26769. "description": "现货商品id",
  26770. "type": "integer"
  26771. },
  26772. "deliverygoodsname": {
  26773. "description": "现货商品名称",
  26774. "type": "string"
  26775. },
  26776. "enumdicname": {
  26777. "description": "现货商品单位名称",
  26778. "type": "string"
  26779. },
  26780. "gbenumdicname": {
  26781. "description": "品类单位名称",
  26782. "type": "string"
  26783. },
  26784. "gmunitid": {
  26785. "description": "品类单位id",
  26786. "type": "integer"
  26787. },
  26788. "isvalid": {
  26789. "description": "是否有效 - 0:无效 1:有效",
  26790. "type": "integer"
  26791. },
  26792. "operateid": {
  26793. "description": "最后操作人",
  26794. "type": "integer"
  26795. },
  26796. "operatesrc": {
  26797. "description": "最后操作来源 - 1:管理端 2:终端",
  26798. "type": "integer"
  26799. },
  26800. "operatetime": {
  26801. "description": "最后操作时间",
  26802. "type": "string"
  26803. },
  26804. "operatorname": {
  26805. "description": "操作人名称",
  26806. "type": "string"
  26807. },
  26808. "spotgoodsbrandid": {
  26809. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26810. "type": "integer"
  26811. },
  26812. "spotgoodsprice": {
  26813. "description": "现货价格",
  26814. "type": "number"
  26815. },
  26816. "tradedate": {
  26817. "description": "交易日(yyyyMMdd)",
  26818. "type": "string"
  26819. },
  26820. "unitid": {
  26821. "description": "现货商品单位id",
  26822. "type": "integer"
  26823. },
  26824. "wrstandardcode": {
  26825. "description": "品类代码",
  26826. "type": "string"
  26827. },
  26828. "wrstandardid": {
  26829. "description": "现货品类ID(通用则为0)",
  26830. "type": "integer"
  26831. },
  26832. "wrstandardname": {
  26833. "description": "品类名称",
  26834. "type": "string"
  26835. }
  26836. }
  26837. },
  26838. "models.Ermcp3SpotGoodsPriceLog": {
  26839. "type": "object",
  26840. "properties": {
  26841. "areauserid": {
  26842. "description": "所属机构id",
  26843. "type": "integer"
  26844. },
  26845. "brandname": {
  26846. "description": "品牌名称",
  26847. "type": "string"
  26848. },
  26849. "currencyid": {
  26850. "description": "报价货币ID",
  26851. "type": "integer"
  26852. },
  26853. "deliverygoodscode": {
  26854. "description": "现货商品代码",
  26855. "type": "string"
  26856. },
  26857. "deliverygoodsid": {
  26858. "description": "现货商品id",
  26859. "type": "integer"
  26860. },
  26861. "deliverygoodsname": {
  26862. "description": "现货商品名称",
  26863. "type": "string"
  26864. },
  26865. "enumdicname": {
  26866. "description": "现货商品单位名称",
  26867. "type": "string"
  26868. },
  26869. "gbenumdicname": {
  26870. "description": "品类单位名称",
  26871. "type": "string"
  26872. },
  26873. "gmunitid": {
  26874. "description": "品类单位id",
  26875. "type": "integer"
  26876. },
  26877. "logid": {
  26878. "description": "日志id",
  26879. "type": "integer"
  26880. },
  26881. "operateid": {
  26882. "description": "最后操作人",
  26883. "type": "integer"
  26884. },
  26885. "operatesrc": {
  26886. "description": "最后操作来源 - 1:管理端 2:终端",
  26887. "type": "integer"
  26888. },
  26889. "operatetime": {
  26890. "description": "最后操作时间",
  26891. "type": "string"
  26892. },
  26893. "operatorname": {
  26894. "description": "操作人名称",
  26895. "type": "string"
  26896. },
  26897. "spotgoodsbrandid": {
  26898. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  26899. "type": "integer"
  26900. },
  26901. "spotgoodsprice": {
  26902. "description": "现货价格",
  26903. "type": "number"
  26904. },
  26905. "tradedate": {
  26906. "description": "交易日(yyyyMMdd)",
  26907. "type": "string"
  26908. },
  26909. "unitid": {
  26910. "description": "现货商品单位id",
  26911. "type": "integer"
  26912. },
  26913. "wrstandardcode": {
  26914. "description": "品类代码",
  26915. "type": "string"
  26916. },
  26917. "wrstandardid": {
  26918. "description": "现货品类ID(通用则为0)",
  26919. "type": "integer"
  26920. },
  26921. "wrstandardname": {
  26922. "description": "品类名称",
  26923. "type": "string"
  26924. }
  26925. }
  26926. },
  26927. "models.Ermcp3SubTaaccount": {
  26928. "type": "object",
  26929. "properties": {
  26930. "accountid": {
  26931. "description": "资金账户ID",
  26932. "type": "integer"
  26933. },
  26934. "parentaccountcode": {
  26935. "description": "所属根账号代码(母账号代码)",
  26936. "type": "string"
  26937. },
  26938. "parentaccountid": {
  26939. "description": "所属根账号(母账号)",
  26940. "type": "integer"
  26941. },
  26942. "taname": {
  26943. "description": "资金账号名称",
  26944. "type": "string"
  26945. },
  26946. "tradestatus": {
  26947. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  26948. "type": "integer"
  26949. },
  26950. "username": {
  26951. "description": "交易用户",
  26952. "type": "string"
  26953. }
  26954. }
  26955. },
  26956. "models.Ermcp3TaFutuReDataReport": {
  26957. "type": "object",
  26958. "properties": {
  26959. "accountid": {
  26960. "description": "交易账户",
  26961. "type": "integer"
  26962. },
  26963. "accountname": {
  26964. "description": "交易账号名称",
  26965. "type": "string"
  26966. },
  26967. "agreeunit": {
  26968. "description": "商品合约单位",
  26969. "type": "number"
  26970. },
  26971. "begindate": {
  26972. "description": "开始交易日",
  26973. "type": "string"
  26974. },
  26975. "buyorsell": {
  26976. "description": "持仓方向",
  26977. "type": "integer"
  26978. },
  26979. "charge": {
  26980. "description": "手续费",
  26981. "type": "number"
  26982. },
  26983. "closeavgprice": {
  26984. "description": "期初均价",
  26985. "type": "number"
  26986. },
  26987. "closepl": {
  26988. "description": "平仓损益",
  26989. "type": "number"
  26990. },
  26991. "currencyid": {
  26992. "description": "结算币种ID",
  26993. "type": "integer"
  26994. },
  26995. "currencyname": {
  26996. "description": "币种名称",
  26997. "type": "string"
  26998. },
  26999. "cycletime": {
  27000. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27001. "type": "string"
  27002. },
  27003. "cycletype": {
  27004. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27005. "type": "integer"
  27006. },
  27007. "enddate": {
  27008. "description": "结束交易日",
  27009. "type": "string"
  27010. },
  27011. "enumdicname": {
  27012. "description": "单位名称",
  27013. "type": "string"
  27014. },
  27015. "floatpl": {
  27016. "description": "浮动损益",
  27017. "type": "number"
  27018. },
  27019. "goodscode": {
  27020. "description": "交易合约代码",
  27021. "type": "string"
  27022. },
  27023. "goodsgroupid": {
  27024. "description": "交易品种",
  27025. "type": "integer"
  27026. },
  27027. "goodsgroupname": {
  27028. "description": "交易品种名称",
  27029. "type": "string"
  27030. },
  27031. "goodsgroupspotqty": {
  27032. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  27033. "type": "number"
  27034. },
  27035. "goodsid": {
  27036. "description": "交易合约",
  27037. "type": "integer"
  27038. },
  27039. "goodsname": {
  27040. "description": "交易合约名称",
  27041. "type": "string"
  27042. },
  27043. "goodunitid": {
  27044. "description": "交易合约单位id",
  27045. "type": "integer"
  27046. },
  27047. "holdamount": {
  27048. "description": "期末持仓额",
  27049. "type": "number"
  27050. },
  27051. "holdqty": {
  27052. "description": "期初均价",
  27053. "type": "number"
  27054. },
  27055. "lastholdamount": {
  27056. "description": "当前持仓额",
  27057. "type": "number"
  27058. },
  27059. "lastprice": {
  27060. "description": "最新价",
  27061. "type": "number"
  27062. },
  27063. "middlegoodsid": {
  27064. "description": "套保品种id",
  27065. "type": "integer"
  27066. },
  27067. "middlegoodsname": {
  27068. "description": "套保商品名称",
  27069. "type": "string"
  27070. },
  27071. "middlegoodsqty": {
  27072. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  27073. "type": "number"
  27074. },
  27075. "middlgoodscode": {
  27076. "description": "套保商品代码",
  27077. "type": "string"
  27078. },
  27079. "openamount": {
  27080. "description": "期末开仓额",
  27081. "type": "number"
  27082. },
  27083. "openavgprice": {
  27084. "description": "期初均价",
  27085. "type": "number"
  27086. },
  27087. "oriholdamount": {
  27088. "description": "期初持仓额",
  27089. "type": "number"
  27090. },
  27091. "oriholdqty": {
  27092. "description": "期初均价",
  27093. "type": "number"
  27094. },
  27095. "oriopenamount": {
  27096. "description": "期初开仓额",
  27097. "type": "number"
  27098. },
  27099. "outergroupcode": {
  27100. "description": "交易品种代码",
  27101. "type": "string"
  27102. },
  27103. "qtydecimalplace": {
  27104. "description": "成交量小数位",
  27105. "type": "integer"
  27106. },
  27107. "reckondate": {
  27108. "description": "日照时期(yyyyMMdd)",
  27109. "type": "string"
  27110. },
  27111. "reckonholdamount": {
  27112. "description": "结算持仓额",
  27113. "type": "number"
  27114. },
  27115. "reckonpl": {
  27116. "description": "结算损益",
  27117. "type": "number"
  27118. },
  27119. "reckonpl2": {
  27120. "description": "结算逐笔盈亏",
  27121. "type": "number"
  27122. },
  27123. "reckonprice": {
  27124. "description": "结算价",
  27125. "type": "number"
  27126. },
  27127. "relateduserid": {
  27128. "description": "账户关联用户ID",
  27129. "type": "integer"
  27130. },
  27131. "todaycloseamount": {
  27132. "description": "今平仓额",
  27133. "type": "number"
  27134. },
  27135. "todaycloseqty": {
  27136. "description": "期初均价",
  27137. "type": "number"
  27138. },
  27139. "todaygoodsgroupspotqty": {
  27140. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  27141. "type": "number"
  27142. },
  27143. "todaymiddlegoodsqty": {
  27144. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  27145. "type": "number"
  27146. },
  27147. "todayopenamount": {
  27148. "description": "今开仓额",
  27149. "type": "number"
  27150. },
  27151. "todayopenqty": {
  27152. "description": "期初均价",
  27153. "type": "number"
  27154. },
  27155. "userid": {
  27156. "description": "账户所属用户ID",
  27157. "type": "integer"
  27158. }
  27159. }
  27160. },
  27161. "models.Ermcp3TradeLinkDetail": {
  27162. "type": "object",
  27163. "properties": {
  27164. "accountid": {
  27165. "description": "资金账号",
  27166. "type": "integer"
  27167. },
  27168. "agreeunit": {
  27169. "description": "合约乘数",
  27170. "type": "number"
  27171. },
  27172. "areauserid": {
  27173. "description": "所属机构",
  27174. "type": "string"
  27175. },
  27176. "bizsubjectid": {
  27177. "description": "归属业务部门ID - SubjectID",
  27178. "type": "string"
  27179. },
  27180. "buyorsell": {
  27181. "description": "方向 - 0:买 1:卖",
  27182. "type": "integer"
  27183. },
  27184. "channelbuildtype": {
  27185. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27186. "type": "integer"
  27187. },
  27188. "contractno": {
  27189. "description": "现货编号 (合同编号)",
  27190. "type": "string"
  27191. },
  27192. "convertratio": {
  27193. "description": "折算系数",
  27194. "type": "number"
  27195. },
  27196. "createtime": {
  27197. "description": "关联时间 | 创建时间",
  27198. "type": "string"
  27199. },
  27200. "creatorid": {
  27201. "description": "创建人ID",
  27202. "type": "string"
  27203. },
  27204. "creatorsrc": {
  27205. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27206. "type": "integer"
  27207. },
  27208. "enumdicname": {
  27209. "description": "单位名称",
  27210. "type": "string"
  27211. },
  27212. "goodscode": {
  27213. "description": "合约代码",
  27214. "type": "string"
  27215. },
  27216. "goodsgroupid": {
  27217. "description": "对冲品种ID[期货合约商品组ID]",
  27218. "type": "integer"
  27219. },
  27220. "goodsid": {
  27221. "description": "商品ID",
  27222. "type": "integer"
  27223. },
  27224. "goodsname": {
  27225. "description": "合约名称",
  27226. "type": "string"
  27227. },
  27228. "hedgeflag": {
  27229. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  27230. "type": "integer"
  27231. },
  27232. "linkdetailid": {
  27233. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27234. "type": "string"
  27235. },
  27236. "linkstatus": {
  27237. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27238. "type": "integer"
  27239. },
  27240. "middlegoodscode": {
  27241. "description": "套保品种代码",
  27242. "type": "string"
  27243. },
  27244. "middlegoodsid": {
  27245. "description": "套保品种ID",
  27246. "type": "integer"
  27247. },
  27248. "middlegoodsname": {
  27249. "description": "套保品种名称",
  27250. "type": "string"
  27251. },
  27252. "relatedlot": {
  27253. "description": "关联手数",
  27254. "type": "number"
  27255. },
  27256. "relatedmode": {
  27257. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27258. "type": "integer"
  27259. },
  27260. "relatedqty": {
  27261. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27262. "type": "number"
  27263. },
  27264. "retcode": {
  27265. "description": "返回码",
  27266. "type": "integer"
  27267. },
  27268. "saleuserid": {
  27269. "description": "业务员ID",
  27270. "type": "string"
  27271. },
  27272. "spotcontractid": {
  27273. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27274. "type": "string"
  27275. },
  27276. "taname": {
  27277. "description": "期货账户",
  27278. "type": "string"
  27279. },
  27280. "tradedate": {
  27281. "description": "关联交易日(yyyyMMdd)",
  27282. "type": "string"
  27283. },
  27284. "tradeid": {
  27285. "description": "期货订单号 | 内部成交单ID",
  27286. "type": "string"
  27287. },
  27288. "tradelot": {
  27289. "description": "成交数量 | 成交手数",
  27290. "type": "integer"
  27291. },
  27292. "tradeprice": {
  27293. "description": "成交价格",
  27294. "type": "number"
  27295. },
  27296. "tradetime": {
  27297. "description": "期货成交时间",
  27298. "type": "string"
  27299. },
  27300. "tradetradedate": {
  27301. "description": "成交交易日(yyyyMMdd)",
  27302. "type": "string"
  27303. },
  27304. "username": {
  27305. "description": "用户名称",
  27306. "type": "string"
  27307. }
  27308. }
  27309. },
  27310. "models.Ermcp3Wrstandard": {
  27311. "type": "object",
  27312. "properties": {
  27313. "areauserid": {
  27314. "description": "所属机构",
  27315. "type": "integer"
  27316. },
  27317. "cantrade": {
  27318. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27319. "type": "integer"
  27320. },
  27321. "convertfactor": {
  27322. "description": "标仓系数",
  27323. "type": "number"
  27324. },
  27325. "createtime": {
  27326. "description": "创建时间",
  27327. "type": "string"
  27328. },
  27329. "creatorid": {
  27330. "description": "创建人",
  27331. "type": "integer"
  27332. },
  27333. "deliverygoodsid": {
  27334. "description": "现货品种ID",
  27335. "type": "integer"
  27336. },
  27337. "enumdicname": {
  27338. "description": "品类单位名称",
  27339. "type": "string"
  27340. },
  27341. "isvalid": {
  27342. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27343. "type": "integer"
  27344. },
  27345. "minivalue": {
  27346. "description": "最小变动值",
  27347. "type": "integer"
  27348. },
  27349. "minivaluedp": {
  27350. "description": "最小变动值小数位",
  27351. "type": "integer"
  27352. },
  27353. "realminivalue": {
  27354. "description": "实际最小变动值",
  27355. "type": "integer"
  27356. },
  27357. "realminivaluedp": {
  27358. "description": "实际最小变动值小数位",
  27359. "type": "integer"
  27360. },
  27361. "remark": {
  27362. "description": "备注",
  27363. "type": "string"
  27364. },
  27365. "unitid": {
  27366. "description": "品类单位ID",
  27367. "type": "integer"
  27368. },
  27369. "updatetime": {
  27370. "description": "更新时间",
  27371. "type": "string"
  27372. },
  27373. "wrstandardcode": {
  27374. "description": "品类代码",
  27375. "type": "string"
  27376. },
  27377. "wrstandardid": {
  27378. "description": "品类ID(SEQ_WRSTANDARD)",
  27379. "type": "integer"
  27380. },
  27381. "wrstandardname": {
  27382. "description": "品类名称",
  27383. "type": "string"
  27384. }
  27385. }
  27386. },
  27387. "models.Ermcp8EnableHedgeditem": {
  27388. "type": "object",
  27389. "properties": {
  27390. "accountname": {
  27391. "description": "套期主体",
  27392. "type": "string"
  27393. },
  27394. "hedgeditemid": {
  27395. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27396. "type": "string"
  27397. },
  27398. "hedgeditemname": {
  27399. "description": "项目名称",
  27400. "type": "string"
  27401. },
  27402. "hedgeditemnum": {
  27403. "description": "项目编号",
  27404. "type": "string"
  27405. },
  27406. "hedgedtype": {
  27407. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27408. "type": "integer"
  27409. },
  27410. "planenddate": {
  27411. "description": "计划结束日期",
  27412. "type": "string"
  27413. },
  27414. "planstartdate": {
  27415. "description": "计划开始日期",
  27416. "type": "string"
  27417. },
  27418. "wrstandardid": {
  27419. "description": "现货商品ID",
  27420. "type": "integer"
  27421. },
  27422. "wrstandardname": {
  27423. "description": "现货商品",
  27424. "type": "string"
  27425. }
  27426. }
  27427. },
  27428. "models.Ermcp8HedgeditemReport": {
  27429. "type": "object",
  27430. "properties": {
  27431. "accountname": {
  27432. "description": "套期主体",
  27433. "type": "string"
  27434. },
  27435. "areauserid": {
  27436. "description": "企业ID",
  27437. "type": "integer"
  27438. },
  27439. "curprice": {
  27440. "description": "[当日现货市场价]当前市场价",
  27441. "type": "number"
  27442. },
  27443. "enumdicname": {
  27444. "description": "单位",
  27445. "type": "string"
  27446. },
  27447. "exeamount": {
  27448. "description": "[执行现货金额]执行市价总额",
  27449. "type": "number"
  27450. },
  27451. "exeavgprice": {
  27452. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27453. "type": "number"
  27454. },
  27455. "exeqty": {
  27456. "description": "[执行数量]执行现货量",
  27457. "type": "number"
  27458. },
  27459. "futurehedgepl": {
  27460. "description": "期货实际损益",
  27461. "type": "number"
  27462. },
  27463. "futurehedgeplchange": {
  27464. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27465. "type": "number"
  27466. },
  27467. "futurepl": {
  27468. "description": "期货套期损益",
  27469. "type": "number"
  27470. },
  27471. "futureplchange": {
  27472. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27473. "type": "number"
  27474. },
  27475. "hedgeamount": {
  27476. "description": "[套期现货金额]套期市价总额",
  27477. "type": "number"
  27478. },
  27479. "hedgeditemnum": {
  27480. "description": "项目编号,模糊查询",
  27481. "type": "string"
  27482. },
  27483. "hedgeditemstatus": {
  27484. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27485. "type": "integer"
  27486. },
  27487. "hedgedtype": {
  27488. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27489. "type": "integer"
  27490. },
  27491. "hedgeqty": {
  27492. "description": "[套期数量]套期现货量",
  27493. "type": "number"
  27494. },
  27495. "oriavgprice": {
  27496. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27497. "type": "number"
  27498. },
  27499. "orifuturehedgepl": {
  27500. "description": "期初期货实际损益",
  27501. "type": "number"
  27502. },
  27503. "orifuturepl": {
  27504. "description": "期初期货套期损益",
  27505. "type": "number"
  27506. },
  27507. "orispothedgepl": {
  27508. "description": "期初现货实际损益",
  27509. "type": "number"
  27510. },
  27511. "orispotpl": {
  27512. "description": "期初现货套期损益",
  27513. "type": "number"
  27514. },
  27515. "planenddate": {
  27516. "description": "计划结束日期",
  27517. "type": "string"
  27518. },
  27519. "planstartdate": {
  27520. "description": "计划开始日期",
  27521. "type": "string"
  27522. },
  27523. "spothedgepl": {
  27524. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27525. "type": "number"
  27526. },
  27527. "spothedgeplchange": {
  27528. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27529. "type": "number"
  27530. },
  27531. "spotpl": {
  27532. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27533. "type": "number"
  27534. },
  27535. "spotplchange": {
  27536. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27537. "type": "number"
  27538. },
  27539. "tradeuserid": {
  27540. "description": "交易用户ID",
  27541. "type": "integer"
  27542. },
  27543. "unexeqty": {
  27544. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27545. "type": "number"
  27546. },
  27547. "wrstandardcode": {
  27548. "description": "现货品类代码",
  27549. "type": "string"
  27550. },
  27551. "wrstandardid": {
  27552. "description": "现货商品ID",
  27553. "type": "integer"
  27554. },
  27555. "wrstandardname": {
  27556. "description": "[现货商品]现货品类名称",
  27557. "type": "string"
  27558. }
  27559. }
  27560. },
  27561. "models.Ermcp8RunningHedgeditem": {
  27562. "type": "object",
  27563. "properties": {
  27564. "accountname": {
  27565. "description": "套期主体",
  27566. "type": "string"
  27567. },
  27568. "applyid": {
  27569. "description": "申请人",
  27570. "type": "integer"
  27571. },
  27572. "applysrc": {
  27573. "description": "申请来源 - 1:管理端 2:终端",
  27574. "type": "integer"
  27575. },
  27576. "areauserid": {
  27577. "description": "企业ID",
  27578. "type": "integer"
  27579. },
  27580. "auditid": {
  27581. "description": "审核人",
  27582. "type": "integer"
  27583. },
  27584. "auditremark": {
  27585. "description": "审核备注",
  27586. "type": "string"
  27587. },
  27588. "auditsrc": {
  27589. "description": "审核来源 - 1:管理端 2:终端",
  27590. "type": "integer"
  27591. },
  27592. "audittime": {
  27593. "description": "审核时间",
  27594. "type": "string"
  27595. },
  27596. "audittradedate": {
  27597. "description": "审核交易日(yyyyMMdd)",
  27598. "type": "string"
  27599. },
  27600. "createtime": {
  27601. "description": "申请时间",
  27602. "type": "string"
  27603. },
  27604. "curprice": {
  27605. "description": "当前市场价",
  27606. "type": "number"
  27607. },
  27608. "curstock": {
  27609. "description": "期末库存量 = 采购总量 - 销售总量",
  27610. "type": "number"
  27611. },
  27612. "deliverygoodsid": {
  27613. "description": "现货品种ID",
  27614. "type": "integer"
  27615. },
  27616. "enddate": {
  27617. "description": "完成日期",
  27618. "type": "string"
  27619. },
  27620. "endtradedate": {
  27621. "description": "完成交易日",
  27622. "type": "string"
  27623. },
  27624. "enumdicname": {
  27625. "description": "单位",
  27626. "type": "string"
  27627. },
  27628. "exeamount": {
  27629. "description": "执行市价总额",
  27630. "type": "number"
  27631. },
  27632. "exeavgprice": {
  27633. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27634. "type": "number"
  27635. },
  27636. "execontractamount": {
  27637. "description": "执行定价总额",
  27638. "type": "number"
  27639. },
  27640. "exeqty": {
  27641. "description": "执行现货量",
  27642. "type": "number"
  27643. },
  27644. "exerestamount": {
  27645. "description": "执行剩余市价总额【现货贸易】",
  27646. "type": "number"
  27647. },
  27648. "futurefloatpl": {
  27649. "description": "期货浮动损益",
  27650. "type": "number"
  27651. },
  27652. "futurehedgepl": {
  27653. "description": "期货实际损益",
  27654. "type": "number"
  27655. },
  27656. "futurehedgeplchange": {
  27657. "description": "期货实际损益变动",
  27658. "type": "number"
  27659. },
  27660. "futurepl": {
  27661. "description": "期货套期损益",
  27662. "type": "number"
  27663. },
  27664. "futureplchange": {
  27665. "description": "期货套期损益变动",
  27666. "type": "number"
  27667. },
  27668. "hedgeamount": {
  27669. "description": "套期市价总额",
  27670. "type": "number"
  27671. },
  27672. "hedgecontractamount": {
  27673. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27674. "type": "number"
  27675. },
  27676. "hedgeditemid": {
  27677. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27678. "type": "string"
  27679. },
  27680. "hedgeditemname": {
  27681. "description": "项目名称",
  27682. "type": "string"
  27683. },
  27684. "hedgeditemnum": {
  27685. "description": "项目编号",
  27686. "type": "string"
  27687. },
  27688. "hedgeditemstatus": {
  27689. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27690. "type": "integer"
  27691. },
  27692. "hedgedtype": {
  27693. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27694. "type": "integer"
  27695. },
  27696. "hedgeqty": {
  27697. "description": "套期现货量",
  27698. "type": "number"
  27699. },
  27700. "hedgerate": {
  27701. "description": "套保比率",
  27702. "type": "number"
  27703. },
  27704. "hedgerestamount": {
  27705. "description": "套期剩余市价总额【现货贸易】",
  27706. "type": "number"
  27707. },
  27708. "hedgesumpl": {
  27709. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27710. "type": "number"
  27711. },
  27712. "middlegoodslist": {
  27713. "description": "套期商品列表",
  27714. "type": "array",
  27715. "items": {
  27716. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  27717. }
  27718. },
  27719. "oriavgprice": {
  27720. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  27721. "type": "number"
  27722. },
  27723. "orifuturehedgepl": {
  27724. "description": "期初期货实际损益",
  27725. "type": "number"
  27726. },
  27727. "orifuturepl": {
  27728. "description": "期初期货套期损益",
  27729. "type": "number"
  27730. },
  27731. "orispothedgepl": {
  27732. "description": "期初现货实际损益",
  27733. "type": "number"
  27734. },
  27735. "orispotpl": {
  27736. "description": "期初现货套期损益",
  27737. "type": "number"
  27738. },
  27739. "planenddate": {
  27740. "description": "计划结束日期",
  27741. "type": "string"
  27742. },
  27743. "planstartdate": {
  27744. "description": "计划开始日期",
  27745. "type": "string"
  27746. },
  27747. "remark": {
  27748. "description": "备注",
  27749. "type": "string"
  27750. },
  27751. "spotbookamount": {
  27752. "description": "现货账面总额",
  27753. "type": "number"
  27754. },
  27755. "spotfloatpl": {
  27756. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27757. "type": "number"
  27758. },
  27759. "spothedgepl": {
  27760. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27761. "type": "number"
  27762. },
  27763. "spothedgeplchange": {
  27764. "description": "现货实际损益变动",
  27765. "type": "number"
  27766. },
  27767. "spotpl": {
  27768. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27769. "type": "number"
  27770. },
  27771. "spotplchange": {
  27772. "description": "现货套期损益变动",
  27773. "type": "number"
  27774. },
  27775. "spottradepl": {
  27776. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  27777. "type": "number"
  27778. },
  27779. "sumobspl": {
  27780. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  27781. "type": "number"
  27782. },
  27783. "tradeuserid": {
  27784. "description": "交易用户ID",
  27785. "type": "integer"
  27786. },
  27787. "unexeqty": {
  27788. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27789. "type": "number"
  27790. },
  27791. "updatetime": {
  27792. "description": "更新时间",
  27793. "type": "string"
  27794. },
  27795. "vatpl": {
  27796. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  27797. "type": "number"
  27798. },
  27799. "vatrate": {
  27800. "description": "增值税",
  27801. "type": "number"
  27802. },
  27803. "wrstandardid": {
  27804. "description": "现货商品ID",
  27805. "type": "integer"
  27806. },
  27807. "wrstandardname": {
  27808. "description": "商品名称",
  27809. "type": "string"
  27810. }
  27811. }
  27812. },
  27813. "models.ErmcpBizGroupEx": {
  27814. "type": "object",
  27815. "properties": {
  27816. "acclist": {
  27817. "description": "账号列表",
  27818. "type": "array",
  27819. "items": {
  27820. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  27821. }
  27822. },
  27823. "bizgroupid": {
  27824. "description": "业务分组id",
  27825. "type": "integer"
  27826. },
  27827. "biztype": {
  27828. "description": "业务类型 1-套保 2-套利",
  27829. "type": "integer"
  27830. },
  27831. "wrlist": {
  27832. "description": "现货商品表",
  27833. "type": "array",
  27834. "items": {
  27835. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  27836. }
  27837. }
  27838. }
  27839. },
  27840. "models.ErmcpBizGroupSpotGoods": {
  27841. "type": "object",
  27842. "properties": {
  27843. "areauserid": {
  27844. "description": "所属机构id",
  27845. "type": "integer"
  27846. },
  27847. "bizgroupid": {
  27848. "description": "分组id",
  27849. "type": "integer"
  27850. },
  27851. "biztype": {
  27852. "description": "业务类型 1-套保 2-套利",
  27853. "type": "integer"
  27854. },
  27855. "deliverygoodscode": {
  27856. "description": "现货商品代码",
  27857. "type": "string"
  27858. },
  27859. "deliverygoodsid": {
  27860. "description": "现货商品id",
  27861. "type": "integer"
  27862. },
  27863. "deliverygoodsname": {
  27864. "description": "现货商品名称",
  27865. "type": "string"
  27866. },
  27867. "unitid": {
  27868. "description": "现货商品单位id",
  27869. "type": "integer"
  27870. }
  27871. }
  27872. },
  27873. "models.ErmcpBizGroupTaAccount": {
  27874. "type": "object",
  27875. "properties": {
  27876. "accountid": {
  27877. "description": "账号id",
  27878. "type": "integer"
  27879. },
  27880. "accountname": {
  27881. "description": "账号名称",
  27882. "type": "string"
  27883. },
  27884. "areauserid": {
  27885. "description": "所属机构id",
  27886. "type": "integer"
  27887. },
  27888. "bizgroupid": {
  27889. "description": "业务分组id",
  27890. "type": "integer"
  27891. },
  27892. "ismain": {
  27893. "description": "是否主账号 1-是 0-否",
  27894. "type": "integer"
  27895. }
  27896. }
  27897. },
  27898. "models.ErmcpDGFactoryItem": {
  27899. "type": "object",
  27900. "properties": {
  27901. "areauserid": {
  27902. "description": "用户id",
  27903. "type": "integer"
  27904. },
  27905. "deliverygoodsid": {
  27906. "description": "现货品种ID",
  27907. "type": "integer"
  27908. },
  27909. "dgfactoryitemid": {
  27910. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  27911. "type": "integer"
  27912. },
  27913. "dgfactoryitemtypeid": {
  27914. "description": "要素项类型",
  27915. "type": "integer"
  27916. },
  27917. "dgfactoryitemvalue": {
  27918. "description": "要素项值(类型为仓库时填写仓库名称)",
  27919. "type": "string"
  27920. },
  27921. "isvalid": {
  27922. "description": "是否有效 - 0:无效 1:有效",
  27923. "type": "integer"
  27924. },
  27925. "orderindex": {
  27926. "description": "顺序",
  27927. "type": "integer"
  27928. },
  27929. "warehouseid": {
  27930. "description": "仓库ID(类型为仓库时填写)",
  27931. "type": "integer"
  27932. }
  27933. }
  27934. },
  27935. "models.ErmcpDeliveryGoods": {
  27936. "type": "object",
  27937. "properties": {
  27938. "agreeunit": {
  27939. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  27940. "type": "integer"
  27941. },
  27942. "areauserid": {
  27943. "description": "所属机构",
  27944. "type": "integer"
  27945. },
  27946. "auditflag": {
  27947. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  27948. "type": "integer"
  27949. },
  27950. "categoryid": {
  27951. "description": "类别ID(SEQ_WRCATEGORY)",
  27952. "type": "integer"
  27953. },
  27954. "deliverygoodscode": {
  27955. "description": "现货品种代码",
  27956. "type": "string"
  27957. },
  27958. "deliverygoodsid": {
  27959. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  27960. "type": "integer"
  27961. },
  27962. "deliverygoodsname": {
  27963. "description": "现货品种名称",
  27964. "type": "string"
  27965. },
  27966. "deliverygoodstype": {
  27967. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  27968. "type": "integer"
  27969. },
  27970. "dgstatus": {
  27971. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  27972. "type": "integer"
  27973. },
  27974. "enumdicname": {
  27975. "description": "现货品种单位名称",
  27976. "type": "string"
  27977. },
  27978. "goodsunitid": {
  27979. "description": "现货品种单位ID",
  27980. "type": "integer"
  27981. },
  27982. "isvalid": {
  27983. "description": "是否有效 - 0:无效 1:有效",
  27984. "type": "integer"
  27985. },
  27986. "qtydecimalplace": {
  27987. "description": "成交量小数位",
  27988. "type": "integer"
  27989. },
  27990. "remark": {
  27991. "description": "备注",
  27992. "type": "string"
  27993. },
  27994. "standardqty": {
  27995. "description": "标准数量(库位数量) [标准品特有]",
  27996. "type": "integer"
  27997. },
  27998. "standardqtyrange": {
  27999. "description": "标准数量偏差范围 [标准品特有]",
  28000. "type": "integer"
  28001. }
  28002. }
  28003. },
  28004. "models.ErmcpFuturesCompany": {
  28005. "type": "object",
  28006. "properties": {
  28007. "brokerid": {
  28008. "description": "经纪公司代码",
  28009. "type": "string"
  28010. },
  28011. "channeladdress": {
  28012. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  28013. "type": "string"
  28014. },
  28015. "channelid": {
  28016. "description": "对冲渠道ID",
  28017. "type": "string"
  28018. },
  28019. "createtime": {
  28020. "description": "创建时间",
  28021. "type": "string"
  28022. },
  28023. "creatorid": {
  28024. "description": "创建人",
  28025. "type": "string"
  28026. },
  28027. "fcid": {
  28028. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  28029. "type": "integer"
  28030. },
  28031. "fcname": {
  28032. "description": "期货公司名称",
  28033. "type": "string"
  28034. },
  28035. "isvalid": {
  28036. "description": "是否有效 - 0:无效 1:有效",
  28037. "type": "integer"
  28038. },
  28039. "mhpaddress": {
  28040. "description": "MHP服务地址(IP:Port)",
  28041. "type": "string"
  28042. },
  28043. "riskrulegroupid": {
  28044. "description": "风控规则组ID",
  28045. "type": "string"
  28046. },
  28047. "tradefeetmpid": {
  28048. "description": "手续费模板ID[TradeConfigTmpType为2]",
  28049. "type": "string"
  28050. },
  28051. "trademargintmpid": {
  28052. "description": "保证金模板ID [TradeConfigTmpType为1]",
  28053. "type": "string"
  28054. },
  28055. "traderatetmpid": {
  28056. "description": "汇率模板ID[TradeConfigTmpType为3]",
  28057. "type": "string"
  28058. },
  28059. "updatetime": {
  28060. "description": "更新时间",
  28061. "type": "string"
  28062. },
  28063. "updatorid": {
  28064. "description": "更新人",
  28065. "type": "string"
  28066. }
  28067. }
  28068. },
  28069. "models.ErmcpGGConvertCfg": {
  28070. "type": "object",
  28071. "properties": {
  28072. "convertratio": {
  28073. "description": "折算系数",
  28074. "type": "number"
  28075. },
  28076. "destgoodsgroupid": {
  28077. "description": "目标品种ID",
  28078. "type": "integer"
  28079. },
  28080. "dstcode": {
  28081. "description": "目录品种代码",
  28082. "type": "string"
  28083. },
  28084. "dstexchangecode": {
  28085. "description": "目标期货交易所",
  28086. "type": "string"
  28087. },
  28088. "dstname": {
  28089. "description": "目标品种名称",
  28090. "type": "string"
  28091. },
  28092. "dstunitid": {
  28093. "description": "目标品种单位ID",
  28094. "type": "integer"
  28095. },
  28096. "dstunitidname": {
  28097. "description": "目标品种单位名称",
  28098. "type": "string"
  28099. },
  28100. "modifytime": {
  28101. "description": "修改时间",
  28102. "type": "string"
  28103. },
  28104. "srccode": {
  28105. "description": "源品种代码",
  28106. "type": "string"
  28107. },
  28108. "srcexchangecode": {
  28109. "description": "源期货交易所",
  28110. "type": "string"
  28111. },
  28112. "srcgoodsgroupid": {
  28113. "description": "源品种ID",
  28114. "type": "integer"
  28115. },
  28116. "srcname": {
  28117. "description": "源品种名称",
  28118. "type": "string"
  28119. },
  28120. "srcunitid": {
  28121. "description": "源品种单位ID",
  28122. "type": "integer"
  28123. },
  28124. "srcunitidname": {
  28125. "description": "源品种单位名称",
  28126. "type": "string"
  28127. }
  28128. }
  28129. },
  28130. "models.ErmcpGoods": {
  28131. "type": "object",
  28132. "required": [
  28133. "goodscode",
  28134. "goodsid",
  28135. "goodsname",
  28136. "marketid"
  28137. ],
  28138. "properties": {
  28139. "agreeunit": {
  28140. "description": "合约单位",
  28141. "type": "number"
  28142. },
  28143. "areauserid": {
  28144. "description": "所属机构",
  28145. "type": "integer"
  28146. },
  28147. "auditaccountid": {
  28148. "description": "审核操作员账号",
  28149. "type": "integer"
  28150. },
  28151. "audittime": {
  28152. "description": "审核时间",
  28153. "type": "string"
  28154. },
  28155. "cancelaccountid": {
  28156. "description": "注销操作员账号",
  28157. "type": "integer"
  28158. },
  28159. "canceltime": {
  28160. "description": "注销时间",
  28161. "type": "string"
  28162. },
  28163. "closepricemode": {
  28164. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28165. "type": "integer"
  28166. },
  28167. "closepriceparam": {
  28168. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28169. "type": "number"
  28170. },
  28171. "createtime": {
  28172. "description": "创建时间",
  28173. "type": "string"
  28174. },
  28175. "creatorid": {
  28176. "description": "创建人",
  28177. "type": "integer"
  28178. },
  28179. "currencyid": {
  28180. "description": "报价货币ID",
  28181. "type": "integer"
  28182. },
  28183. "cutmode": {
  28184. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28185. "type": "integer"
  28186. },
  28187. "decimalplace": {
  28188. "description": "报价小数位",
  28189. "type": "integer"
  28190. },
  28191. "delistingdate": {
  28192. "description": "商品退市时间(状态:退市) -- 已作废",
  28193. "type": "string"
  28194. },
  28195. "delistingmode": {
  28196. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28197. "type": "integer"
  28198. },
  28199. "deliveryflag": {
  28200. "description": "交割标志 - 0:不可交割 1:可交割",
  28201. "type": "integer"
  28202. },
  28203. "enumdicname": {
  28204. "description": "单位名称",
  28205. "type": "string"
  28206. },
  28207. "forceclosemode": {
  28208. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28209. "type": "integer"
  28210. },
  28211. "forceclosevalue": {
  28212. "description": "定期强平参数 [收益权]",
  28213. "type": "integer"
  28214. },
  28215. "goodscode": {
  28216. "description": "商品代码(内部)",
  28217. "type": "string"
  28218. },
  28219. "goodscurrencyid": {
  28220. "description": "合约货币ID",
  28221. "type": "integer"
  28222. },
  28223. "goodsgroupid": {
  28224. "description": "所属商品组ID",
  28225. "type": "integer"
  28226. },
  28227. "goodsid": {
  28228. "description": "商品ID(自增ID SEQ_GOODS)",
  28229. "type": "integer"
  28230. },
  28231. "goodsname": {
  28232. "description": "商品名称",
  28233. "type": "string"
  28234. },
  28235. "goodsquotetype": {
  28236. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28237. "type": "integer"
  28238. },
  28239. "goodsstatus": {
  28240. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28241. "type": "integer"
  28242. },
  28243. "goodstradetype": {
  28244. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28245. "type": "integer"
  28246. },
  28247. "goodunitid": {
  28248. "description": "报价单位ID",
  28249. "type": "integer"
  28250. },
  28251. "hasquoter": {
  28252. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28253. "type": "integer"
  28254. },
  28255. "hqprotecttime": {
  28256. "description": "行情保护时间(秒)",
  28257. "type": "integer"
  28258. },
  28259. "innerdealmode": {
  28260. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28261. "type": "integer"
  28262. },
  28263. "isbuylimited": {
  28264. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28265. "type": "integer"
  28266. },
  28267. "isvisible": {
  28268. "description": "游客是否可见 - 0:不可见 1:可见",
  28269. "type": "integer"
  28270. },
  28271. "lasttradedate": {
  28272. "description": "最后交易日期(状态:待退市)",
  28273. "type": "string"
  28274. },
  28275. "listingdate": {
  28276. "description": "交易开始日期",
  28277. "type": "string"
  28278. },
  28279. "marketid": {
  28280. "description": "所属市场ID",
  28281. "type": "integer"
  28282. },
  28283. "modifierid": {
  28284. "description": "修改人",
  28285. "type": "integer"
  28286. },
  28287. "modifystatus": {
  28288. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28289. "type": "integer"
  28290. },
  28291. "modifytime": {
  28292. "description": "修改时间",
  28293. "type": "string"
  28294. },
  28295. "outerdealmode": {
  28296. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28297. "type": "integer"
  28298. },
  28299. "outgoodscode": {
  28300. "description": "商品代码(外部)",
  28301. "type": "string"
  28302. },
  28303. "pictureurl": {
  28304. "description": "商品图片",
  28305. "type": "string"
  28306. },
  28307. "qtydecimalplace": {
  28308. "description": "成交量小数位",
  28309. "type": "integer"
  28310. },
  28311. "quotegear": {
  28312. "description": "行情档位(1-10)",
  28313. "type": "integer"
  28314. },
  28315. "quoteminunit": {
  28316. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28317. "type": "integer"
  28318. },
  28319. "quoteshowtype": {
  28320. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28321. "type": "integer"
  28322. },
  28323. "quoteshowtypeinterval": {
  28324. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28325. "type": "integer"
  28326. },
  28327. "relatedgoodsid": {
  28328. "description": "关联参考商品ID",
  28329. "type": "integer"
  28330. },
  28331. "remark": {
  28332. "description": "备注",
  28333. "type": "string"
  28334. },
  28335. "trademode": {
  28336. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28337. "type": "integer"
  28338. }
  28339. }
  28340. },
  28341. "models.ErmcpGoodsBrand": {
  28342. "type": "object",
  28343. "properties": {
  28344. "areauserid": {
  28345. "description": "所属机构",
  28346. "type": "integer"
  28347. },
  28348. "brandid": {
  28349. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28350. "type": "integer"
  28351. },
  28352. "brandname": {
  28353. "description": "品牌名称",
  28354. "type": "string"
  28355. },
  28356. "createtime": {
  28357. "description": "创建时间",
  28358. "type": "string"
  28359. },
  28360. "creatorid": {
  28361. "description": "创建人",
  28362. "type": "integer"
  28363. },
  28364. "creatorsrc": {
  28365. "description": "创建人来源 - 1:管理端 2:终端",
  28366. "type": "integer"
  28367. },
  28368. "deliverygoodsid": {
  28369. "description": "现货品种ID",
  28370. "type": "integer"
  28371. },
  28372. "isvalid": {
  28373. "description": "是否有效 - 0:无效 1:有效",
  28374. "type": "integer"
  28375. },
  28376. "updatetime": {
  28377. "description": "更新时间",
  28378. "type": "string"
  28379. },
  28380. "updatorid": {
  28381. "description": "更新人",
  28382. "type": "integer"
  28383. },
  28384. "updatorsrc": {
  28385. "description": "更新人来源 - 1:管理端 2:终端",
  28386. "type": "integer"
  28387. },
  28388. "wrstandardid": {
  28389. "description": "现货商品ID",
  28390. "type": "integer"
  28391. }
  28392. }
  28393. },
  28394. "models.ErmcpGoodsModel": {
  28395. "type": "object",
  28396. "properties": {
  28397. "areauserid": {
  28398. "description": "所属机构",
  28399. "type": "integer"
  28400. },
  28401. "convertfactor": {
  28402. "description": "标仓系数",
  28403. "type": "number"
  28404. },
  28405. "createtime": {
  28406. "description": "创建时间",
  28407. "type": "string"
  28408. },
  28409. "creatorid": {
  28410. "description": "创建人",
  28411. "type": "integer"
  28412. },
  28413. "creatorsrc": {
  28414. "description": "创建人来源 - 1:管理端 2:终端",
  28415. "type": "integer"
  28416. },
  28417. "deliverygoodsid": {
  28418. "description": "现货品种ID",
  28419. "type": "integer"
  28420. },
  28421. "isvalid": {
  28422. "description": "是否有效 - 0:无效 1:有效",
  28423. "type": "integer"
  28424. },
  28425. "modelid": {
  28426. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28427. "type": "integer"
  28428. },
  28429. "modelname": {
  28430. "description": "型号名称",
  28431. "type": "string"
  28432. },
  28433. "updatetime": {
  28434. "description": "更新时间",
  28435. "type": "string"
  28436. },
  28437. "updatorid": {
  28438. "description": "更新人",
  28439. "type": "integer"
  28440. },
  28441. "updatorsrc": {
  28442. "description": "更新人来源 - 1:管理端 2:终端",
  28443. "type": "integer"
  28444. },
  28445. "wrstandardid": {
  28446. "description": "现货商品ID",
  28447. "type": "integer"
  28448. }
  28449. }
  28450. },
  28451. "models.ErmcpHisExposure": {
  28452. "type": "object",
  28453. "properties": {
  28454. "needhedgeexposoure": {
  28455. "description": "应套保敞口",
  28456. "type": "number"
  28457. },
  28458. "reckondate": {
  28459. "description": "日照时期(yyyyMMdd)",
  28460. "type": "string"
  28461. },
  28462. "totalexposure": {
  28463. "description": "总敞口",
  28464. "type": "number"
  28465. }
  28466. }
  28467. },
  28468. "models.ErmcpLoginTaAccount": {
  28469. "type": "object",
  28470. "properties": {
  28471. "accountid": {
  28472. "description": "账号id",
  28473. "type": "integer"
  28474. },
  28475. "accountname": {
  28476. "description": "账号名称",
  28477. "type": "string"
  28478. }
  28479. }
  28480. },
  28481. "models.ErmcpLoginUser": {
  28482. "type": "object",
  28483. "properties": {
  28484. "acclist": {
  28485. "description": "关联资金账号",
  28486. "type": "array",
  28487. "items": {
  28488. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28489. }
  28490. },
  28491. "accountname": {
  28492. "description": "用户名称",
  28493. "type": "string"
  28494. },
  28495. "clientroleid": {
  28496. "description": "角色id(usertype=2)",
  28497. "type": "integer"
  28498. },
  28499. "createtime": {
  28500. "description": "创建时间",
  28501. "type": "string"
  28502. },
  28503. "logincode": {
  28504. "description": "登录代码",
  28505. "type": "string"
  28506. },
  28507. "loginid": {
  28508. "description": "登录id(LOGINID)",
  28509. "type": "integer"
  28510. },
  28511. "loginname": {
  28512. "description": "登录名称(loginaccount表中的accountname字段)",
  28513. "type": "string"
  28514. },
  28515. "loginstatus": {
  28516. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28517. "type": "integer"
  28518. },
  28519. "memberuserid": {
  28520. "description": "所属会员id",
  28521. "type": "integer"
  28522. },
  28523. "mobile": {
  28524. "description": "手机号",
  28525. "type": "string"
  28526. },
  28527. "modifytime": {
  28528. "description": "修改时间",
  28529. "type": "string"
  28530. },
  28531. "password": {
  28532. "description": "密码(不可解密)",
  28533. "type": "string"
  28534. },
  28535. "rolename": {
  28536. "description": "角色名称",
  28537. "type": "string"
  28538. },
  28539. "rolestatus": {
  28540. "description": "角色状态 1-启用 2-停用",
  28541. "type": "integer"
  28542. },
  28543. "roletype": {
  28544. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28545. "type": "string"
  28546. },
  28547. "userid": {
  28548. "description": "用户id",
  28549. "type": "integer"
  28550. },
  28551. "usertype": {
  28552. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28553. "type": "integer"
  28554. }
  28555. }
  28556. },
  28557. "models.ErmcpLoginUserEx": {
  28558. "type": "object",
  28559. "properties": {
  28560. "accountstatus": {
  28561. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28562. "type": "integer"
  28563. },
  28564. "mobile": {
  28565. "description": "手机号",
  28566. "type": "string"
  28567. },
  28568. "querytype": {
  28569. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28570. "type": "integer"
  28571. },
  28572. "roleid": {
  28573. "description": "角色id(交易账户-\u003e用户id)",
  28574. "type": "integer"
  28575. },
  28576. "rolename": {
  28577. "description": "角色名称(交易账户-\u003e用户名称)",
  28578. "type": "string"
  28579. },
  28580. "userlist": {
  28581. "description": "用户列表",
  28582. "type": "array",
  28583. "items": {
  28584. "$ref": "#/definitions/models.ErmcpLoginUser"
  28585. }
  28586. },
  28587. "usertype": {
  28588. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28589. "type": "integer"
  28590. }
  28591. }
  28592. },
  28593. "models.ErmcpMiddleGoodsModel": {
  28594. "type": "object",
  28595. "properties": {
  28596. "areauserid": {
  28597. "description": "机构用户ID",
  28598. "type": "integer"
  28599. },
  28600. "createtime": {
  28601. "description": "修改时间",
  28602. "type": "string"
  28603. },
  28604. "enumdicname": {
  28605. "description": "单位名称",
  28606. "type": "string"
  28607. },
  28608. "evaluateratio": {
  28609. "description": "估价系数",
  28610. "type": "number"
  28611. },
  28612. "goodsgroupid": {
  28613. "description": "关联期货品种ID",
  28614. "type": "integer"
  28615. },
  28616. "goodsunitid": {
  28617. "description": "单位ID",
  28618. "type": "integer"
  28619. },
  28620. "isvalid": {
  28621. "description": "状态 0-无效(停用) 1-有效(正常)",
  28622. "type": "integer"
  28623. },
  28624. "middlegoodscode": {
  28625. "description": "套保品种代码",
  28626. "type": "string"
  28627. },
  28628. "middlegoodsid": {
  28629. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28630. "type": "integer"
  28631. },
  28632. "middlegoodsname": {
  28633. "description": "套保品种名称",
  28634. "type": "string"
  28635. },
  28636. "modifytime": {
  28637. "description": "修改时间",
  28638. "type": "string"
  28639. },
  28640. "needarbitrageratio": {
  28641. "description": "套利比例",
  28642. "type": "number"
  28643. },
  28644. "needhedgeratio": {
  28645. "description": "套保比率",
  28646. "type": "number"
  28647. },
  28648. "qtydecimalplace": {
  28649. "description": "数量小数位",
  28650. "type": "integer"
  28651. },
  28652. "relatedgoodsid": {
  28653. "description": "关联交易商品ID",
  28654. "type": "integer"
  28655. },
  28656. "relatedgoodstype": {
  28657. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28658. "type": "integer"
  28659. },
  28660. "remark": {
  28661. "description": "备注",
  28662. "type": "string"
  28663. }
  28664. }
  28665. },
  28666. "models.ErmcpMiddlegoodsRelateGoods": {
  28667. "type": "object",
  28668. "properties": {
  28669. "agreeunit": {
  28670. "description": "合约乘数",
  28671. "type": "number"
  28672. },
  28673. "convertratio": {
  28674. "description": "折算系数",
  28675. "type": "number"
  28676. },
  28677. "enumdicname": {
  28678. "description": "单位名称(交易商品)",
  28679. "type": "string"
  28680. },
  28681. "goodscode": {
  28682. "description": "交易商品代码",
  28683. "type": "string"
  28684. },
  28685. "goodsgroupid": {
  28686. "description": "交易品种id",
  28687. "type": "integer"
  28688. },
  28689. "goodsid": {
  28690. "description": "商品Id",
  28691. "type": "integer"
  28692. },
  28693. "goodsname": {
  28694. "description": "交易商品名称",
  28695. "type": "string"
  28696. },
  28697. "goodunitid": {
  28698. "description": "交易商品单位id",
  28699. "type": "integer"
  28700. },
  28701. "middlegoodsid": {
  28702. "description": "套保商品id",
  28703. "type": "integer"
  28704. },
  28705. "middlegoodsname": {
  28706. "description": "套保商品名称",
  28707. "type": "string"
  28708. },
  28709. "middlegoodsswcode": {
  28710. "description": "套保商品代码",
  28711. "type": "string"
  28712. },
  28713. "needarbitrageratio": {
  28714. "description": "应套利比例",
  28715. "type": "number"
  28716. },
  28717. "needhedgeratio": {
  28718. "description": "应套保比例",
  28719. "type": "number"
  28720. }
  28721. }
  28722. },
  28723. "models.ErmcpRole": {
  28724. "type": "object",
  28725. "properties": {
  28726. "areauserid": {
  28727. "description": "所属机构",
  28728. "type": "integer"
  28729. },
  28730. "autoid": {
  28731. "description": "角色ID(自增ID)",
  28732. "type": "integer"
  28733. },
  28734. "modifierid": {
  28735. "description": "修改人(创建人)",
  28736. "type": "integer"
  28737. },
  28738. "modifiername": {
  28739. "description": "修改人名称",
  28740. "type": "string"
  28741. },
  28742. "modifytime": {
  28743. "description": "修改时间(创建时间)",
  28744. "type": "string"
  28745. },
  28746. "rolename": {
  28747. "description": "角色名称",
  28748. "type": "string"
  28749. },
  28750. "rolestatus": {
  28751. "description": "角色状态 - 1:启用 2:停用",
  28752. "type": "integer"
  28753. },
  28754. "roletype": {
  28755. "description": "角色类型 - 1- 管理端 2- 交易端",
  28756. "type": "integer"
  28757. }
  28758. }
  28759. },
  28760. "models.ErmcpRoleMenu": {
  28761. "type": "object",
  28762. "properties": {
  28763. "iconame": {
  28764. "description": "菜单图标",
  28765. "type": "string"
  28766. },
  28767. "ishadrole": {
  28768. "description": "是否有权限",
  28769. "type": "boolean"
  28770. },
  28771. "menutype": {
  28772. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  28773. "type": "integer"
  28774. },
  28775. "parentcode": {
  28776. "description": "上级资源代码",
  28777. "type": "string"
  28778. },
  28779. "remark": {
  28780. "description": "菜单备注",
  28781. "type": "string"
  28782. },
  28783. "resourcecode": {
  28784. "description": "菜单代码",
  28785. "type": "string"
  28786. },
  28787. "resourcelevel": {
  28788. "description": "级别",
  28789. "type": "integer"
  28790. },
  28791. "resourcename": {
  28792. "description": "菜单名称",
  28793. "type": "string"
  28794. },
  28795. "roleid": {
  28796. "description": "角色id",
  28797. "type": "integer"
  28798. },
  28799. "sort": {
  28800. "description": "排序",
  28801. "type": "integer"
  28802. },
  28803. "url": {
  28804. "description": "URL",
  28805. "type": "string"
  28806. },
  28807. "userid": {
  28808. "description": "用户id",
  28809. "type": "integer"
  28810. }
  28811. }
  28812. },
  28813. "models.ErmcpRoleMenuEx": {
  28814. "type": "object",
  28815. "properties": {
  28816. "menu": {
  28817. "description": "父级菜单",
  28818. "$ref": "#/definitions/models.ErmcpRoleMenu"
  28819. },
  28820. "subMenu": {
  28821. "description": "子级菜单",
  28822. "type": "array",
  28823. "items": {
  28824. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  28825. }
  28826. }
  28827. }
  28828. },
  28829. "models.ErmcpSpotContractModelEx": {
  28830. "type": "object",
  28831. "properties": {
  28832. "accountname": {
  28833. "description": "套期主体",
  28834. "type": "string"
  28835. },
  28836. "amount": {
  28837. "description": "金额 [1:一口价、3:暂定价]",
  28838. "type": "number"
  28839. },
  28840. "attachment": {
  28841. "description": "附件",
  28842. "type": "string"
  28843. },
  28844. "auditremark": {
  28845. "description": "审核意见",
  28846. "type": "string"
  28847. },
  28848. "audittime": {
  28849. "description": "审核时间",
  28850. "type": "string"
  28851. },
  28852. "avgprice": {
  28853. "description": "定价均价 = 已定价金额 / 已定价量",
  28854. "type": "number"
  28855. },
  28856. "brandname": {
  28857. "description": "品牌名称",
  28858. "type": "string"
  28859. },
  28860. "buyuserid": {
  28861. "description": "采购方ID",
  28862. "type": "integer"
  28863. },
  28864. "buyusername": {
  28865. "description": "采购方名称",
  28866. "type": "string"
  28867. },
  28868. "contracctstatus": {
  28869. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28870. "type": "integer"
  28871. },
  28872. "contractmargin": {
  28873. "description": "合同保证金",
  28874. "type": "number"
  28875. },
  28876. "contractno": {
  28877. "description": "[合同编号]现货合同编号",
  28878. "type": "string"
  28879. },
  28880. "contracttype": {
  28881. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  28882. "type": "integer"
  28883. },
  28884. "convertfactor": {
  28885. "description": "标仓系数",
  28886. "type": "number"
  28887. },
  28888. "createtime": {
  28889. "description": "创建时间",
  28890. "type": "string"
  28891. },
  28892. "customername": {
  28893. "description": "对手方",
  28894. "type": "string"
  28895. },
  28896. "customeruserid": {
  28897. "description": "客户ID",
  28898. "type": "integer"
  28899. },
  28900. "deliveryenddate": {
  28901. "description": "交收期(结束)",
  28902. "type": "string"
  28903. },
  28904. "deliverygoodscode": {
  28905. "description": "现货品种代码",
  28906. "type": "string"
  28907. },
  28908. "deliverygoodsid": {
  28909. "description": "现货品种ID",
  28910. "type": "integer"
  28911. },
  28912. "deliverygoodsname": {
  28913. "description": "现货品种名称",
  28914. "type": "string"
  28915. },
  28916. "deliverystartdate": {
  28917. "description": "交收期(开始)",
  28918. "type": "string"
  28919. },
  28920. "enddate": {
  28921. "description": "点价结束日期 [2:点价 3:暂定价]",
  28922. "type": "string"
  28923. },
  28924. "enumdicname": {
  28925. "description": "单位名称",
  28926. "type": "string"
  28927. },
  28928. "goodscode": {
  28929. "description": "点价合约代码",
  28930. "type": "string"
  28931. },
  28932. "goodsid": {
  28933. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  28934. "type": "integer"
  28935. },
  28936. "goodsname": {
  28937. "description": "点价商品名称",
  28938. "type": "string"
  28939. },
  28940. "isrelated": {
  28941. "description": "是否已关联计划项目 - 0:否 1:是",
  28942. "type": "integer"
  28943. },
  28944. "isrelated2": {
  28945. "description": "是否已关联现货项目 - 0:否 1:是",
  28946. "type": "integer"
  28947. },
  28948. "margin": {
  28949. "description": "当前保证金",
  28950. "type": "number"
  28951. },
  28952. "modelname": {
  28953. "description": "型号名称",
  28954. "type": "string"
  28955. },
  28956. "price": {
  28957. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  28958. "type": "number"
  28959. },
  28960. "pricedamount": {
  28961. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  28962. "type": "number"
  28963. },
  28964. "pricedqty": {
  28965. "description": "已定价量",
  28966. "type": "number"
  28967. },
  28968. "pricemove": {
  28969. "description": "升贴水 [2:点价 3:暂定价]",
  28970. "type": "number"
  28971. },
  28972. "pricetype": {
  28973. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  28974. "type": "integer"
  28975. },
  28976. "producttype": {
  28977. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  28978. "type": "integer"
  28979. },
  28980. "qty": {
  28981. "description": "[合同数量]数量",
  28982. "type": "number"
  28983. },
  28984. "remark": {
  28985. "description": "备注",
  28986. "type": "string"
  28987. },
  28988. "selluserid": {
  28989. "description": "销售方ID",
  28990. "type": "integer"
  28991. },
  28992. "sellusername": {
  28993. "description": "销售方名称",
  28994. "type": "string"
  28995. },
  28996. "spotamount": {
  28997. "description": "合同现货金额 [不含升贴水]",
  28998. "type": "number"
  28999. },
  29000. "spotavgprice": {
  29001. "description": "现货均价 = 合同现货金额 / 已定价量",
  29002. "type": "number"
  29003. },
  29004. "spotcontractid": {
  29005. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  29006. "type": "string"
  29007. },
  29008. "spotgoodsbrandid": {
  29009. "description": "现货品牌ID",
  29010. "type": "integer"
  29011. },
  29012. "spotgoodsdesc": {
  29013. "description": "商品型号",
  29014. "type": "string"
  29015. },
  29016. "spotgoodsmodelid": {
  29017. "description": "现货型号ID",
  29018. "type": "integer"
  29019. },
  29020. "startdate": {
  29021. "description": "点价开始日期 [2:点价 3:暂定价]",
  29022. "type": "string"
  29023. },
  29024. "tradeuserid": {
  29025. "description": "交易用户ID",
  29026. "type": "integer"
  29027. },
  29028. "unpricedqty": {
  29029. "description": "未定价量 = 合同数量 - 已定价量",
  29030. "type": "number"
  29031. },
  29032. "updatetime": {
  29033. "description": "更新时间",
  29034. "type": "string"
  29035. },
  29036. "userid": {
  29037. "description": "机构ID",
  29038. "type": "integer"
  29039. },
  29040. "wrstandardcode": {
  29041. "description": "现货商品代码",
  29042. "type": "string"
  29043. },
  29044. "wrstandardid": {
  29045. "description": "现货商品ID",
  29046. "type": "integer"
  29047. },
  29048. "wrstandardname": {
  29049. "description": "[现货商品]现货商品名称",
  29050. "type": "string"
  29051. }
  29052. }
  29053. },
  29054. "models.ErmcpTaAccount": {
  29055. "type": "object",
  29056. "properties": {
  29057. "accountid": {
  29058. "description": "账户id",
  29059. "type": "integer"
  29060. },
  29061. "accountname": {
  29062. "description": "账户名称",
  29063. "type": "string"
  29064. },
  29065. "currencyid": {
  29066. "description": "币种id",
  29067. "type": "integer"
  29068. },
  29069. "hedgeaccountcode": {
  29070. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29071. "type": "string"
  29072. },
  29073. "ismain": {
  29074. "description": "是否主账户 0-否 1-是",
  29075. "type": "integer"
  29076. },
  29077. "parentaccountid": {
  29078. "description": "父账户id",
  29079. "type": "integer"
  29080. },
  29081. "relateduserid": {
  29082. "description": "关联userid",
  29083. "type": "integer"
  29084. },
  29085. "tradefeetmpid": {
  29086. "description": "手续费模板id",
  29087. "type": "integer"
  29088. },
  29089. "tradefeetmpname": {
  29090. "description": "手续费模板名称",
  29091. "type": "string"
  29092. },
  29093. "trademargintmpid": {
  29094. "description": "保证金模板id",
  29095. "type": "integer"
  29096. },
  29097. "trademargintmpname": {
  29098. "description": "保证金模板名称",
  29099. "type": "string"
  29100. },
  29101. "traderatetmpid": {
  29102. "description": "汇率模板id",
  29103. "type": "integer"
  29104. },
  29105. "traderatetmpname": {
  29106. "description": "汇率模板名称",
  29107. "type": "string"
  29108. },
  29109. "tradestatus": {
  29110. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29111. "type": "integer"
  29112. },
  29113. "userid": {
  29114. "description": "用户id",
  29115. "type": "integer"
  29116. }
  29117. }
  29118. },
  29119. "models.ErmcpTaAccountEx": {
  29120. "type": "object",
  29121. "properties": {
  29122. "mainAcc": {
  29123. "description": "主账号",
  29124. "$ref": "#/definitions/models.ErmcpTaAccountM"
  29125. },
  29126. "subacclist": {
  29127. "description": "子账号列表",
  29128. "type": "array",
  29129. "items": {
  29130. "$ref": "#/definitions/models.ErmcpTaAccount"
  29131. }
  29132. }
  29133. }
  29134. },
  29135. "models.ErmcpTaAccountInfo": {
  29136. "type": "object",
  29137. "properties": {
  29138. "accountid": {
  29139. "description": "资金账户ID",
  29140. "type": "integer"
  29141. },
  29142. "accountname": {
  29143. "description": "账户名称",
  29144. "type": "string"
  29145. },
  29146. "balance": {
  29147. "description": "期初余额",
  29148. "type": "number"
  29149. },
  29150. "capitalbalance": {
  29151. "description": "本金余额[外部子账户实际出入金余额]",
  29152. "type": "number"
  29153. },
  29154. "closepl": {
  29155. "description": "今日平仓盈亏",
  29156. "type": "number"
  29157. },
  29158. "creditdecrease": {
  29159. "description": "今日授信减少",
  29160. "type": "number"
  29161. },
  29162. "creditincrease": {
  29163. "description": "今日授信增加",
  29164. "type": "number"
  29165. },
  29166. "curdebt": {
  29167. "description": "期末欠款",
  29168. "type": "number"
  29169. },
  29170. "currencyid": {
  29171. "description": "货币ID",
  29172. "type": "integer"
  29173. },
  29174. "currentbalance": {
  29175. "description": "期末余额",
  29176. "type": "number"
  29177. },
  29178. "freezecharge": {
  29179. "description": "手续费冻结",
  29180. "type": "number"
  29181. },
  29182. "freezemargin": {
  29183. "description": "冻结保证金",
  29184. "type": "number"
  29185. },
  29186. "fromaccountid": {
  29187. "description": "所属上级账户",
  29188. "type": "integer"
  29189. },
  29190. "inamount": {
  29191. "description": "今日入金金额(包括三方入金)",
  29192. "type": "number"
  29193. },
  29194. "ismain": {
  29195. "description": "是否母账号 0:不是母账户 1:是母账户",
  29196. "type": "integer"
  29197. },
  29198. "mortgagecredit": {
  29199. "description": "授信金额",
  29200. "type": "number"
  29201. },
  29202. "oridebt": {
  29203. "description": "期初欠款",
  29204. "type": "number"
  29205. },
  29206. "orifreezecharge": {
  29207. "description": "期初手续费冻结",
  29208. "type": "number"
  29209. },
  29210. "orifreezemargin": {
  29211. "description": "期初冻结保证金",
  29212. "type": "number"
  29213. },
  29214. "orimortgagecredit": {
  29215. "description": "期初授信金额",
  29216. "type": "number"
  29217. },
  29218. "oriothercredit": {
  29219. "description": "期初其它授信金额",
  29220. "type": "number"
  29221. },
  29222. "oriotherfreezemargin": {
  29223. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29224. "type": "number"
  29225. },
  29226. "orioutamountfreeze": {
  29227. "description": "期初出金冻结",
  29228. "type": "number"
  29229. },
  29230. "oriusedmargin": {
  29231. "description": "期初占用保证金",
  29232. "type": "number"
  29233. },
  29234. "othercredit": {
  29235. "description": "其它授信金额",
  29236. "type": "number"
  29237. },
  29238. "othercreditdecrease": {
  29239. "description": "今日其它授信减少",
  29240. "type": "number"
  29241. },
  29242. "othercreditincrease": {
  29243. "description": "今日其它授信增加",
  29244. "type": "number"
  29245. },
  29246. "otherfreezemargin": {
  29247. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29248. "type": "number"
  29249. },
  29250. "outamount": {
  29251. "description": "今日出金金额(包括三方出金)",
  29252. "type": "number"
  29253. },
  29254. "outamountfreeze": {
  29255. "description": "出金冻结",
  29256. "type": "number"
  29257. },
  29258. "outthreshold": {
  29259. "description": "出金阈值",
  29260. "type": "number"
  29261. },
  29262. "parentaccountid": {
  29263. "description": "所属根账号",
  29264. "type": "integer"
  29265. },
  29266. "paycharge": {
  29267. "description": "今日手续费支出",
  29268. "type": "number"
  29269. },
  29270. "relateduserid": {
  29271. "description": "关联用户",
  29272. "type": "integer"
  29273. },
  29274. "signstatus": {
  29275. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29276. "type": "integer"
  29277. },
  29278. "sublevelpath": {
  29279. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29280. "type": "string"
  29281. },
  29282. "taaccounttype": {
  29283. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29284. "type": "integer"
  29285. },
  29286. "thirdinamount": {
  29287. "description": "今日三方入金",
  29288. "type": "number"
  29289. },
  29290. "thirdoutamount": {
  29291. "description": "今日三方出金",
  29292. "type": "number"
  29293. },
  29294. "tradestatus": {
  29295. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29296. "type": "integer"
  29297. },
  29298. "transferamount": {
  29299. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29300. "type": "number"
  29301. },
  29302. "usedmargin": {
  29303. "description": "占用保证金",
  29304. "type": "number"
  29305. },
  29306. "userid": {
  29307. "description": "用户ID",
  29308. "type": "integer"
  29309. }
  29310. }
  29311. },
  29312. "models.ErmcpTaAccountM": {
  29313. "type": "object",
  29314. "properties": {
  29315. "accountid": {
  29316. "description": "账户id",
  29317. "type": "integer"
  29318. },
  29319. "accountname": {
  29320. "description": "账户名称",
  29321. "type": "string"
  29322. },
  29323. "currencyid": {
  29324. "description": "币种id",
  29325. "type": "integer"
  29326. },
  29327. "fcid": {
  29328. "description": "期货公司id",
  29329. "type": "integer"
  29330. },
  29331. "fcname": {
  29332. "description": "期货公司代码",
  29333. "type": "string"
  29334. },
  29335. "hedgeaccountcode": {
  29336. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29337. "type": "string"
  29338. },
  29339. "ismain": {
  29340. "description": "是否主账户 0-否 1-是",
  29341. "type": "integer"
  29342. },
  29343. "parentaccountid": {
  29344. "description": "父账户id",
  29345. "type": "integer"
  29346. },
  29347. "relateduserid": {
  29348. "description": "关联userid",
  29349. "type": "integer"
  29350. },
  29351. "tradefeetmpid": {
  29352. "description": "手续费模板id",
  29353. "type": "integer"
  29354. },
  29355. "tradefeetmpname": {
  29356. "description": "手续费模板名称",
  29357. "type": "string"
  29358. },
  29359. "trademargintmpid": {
  29360. "description": "保证金模板id",
  29361. "type": "integer"
  29362. },
  29363. "trademargintmpname": {
  29364. "description": "保证金模板名称",
  29365. "type": "string"
  29366. },
  29367. "traderatetmpid": {
  29368. "description": "汇率模板id",
  29369. "type": "integer"
  29370. },
  29371. "traderatetmpname": {
  29372. "description": "汇率模板名称",
  29373. "type": "string"
  29374. },
  29375. "tradestatus": {
  29376. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29377. "type": "integer"
  29378. },
  29379. "userid": {
  29380. "description": "用户id",
  29381. "type": "integer"
  29382. }
  29383. }
  29384. },
  29385. "models.ErmcpTradeConfigTMP": {
  29386. "type": "object",
  29387. "properties": {
  29388. "areauserid": {
  29389. "description": "所属机构",
  29390. "type": "integer"
  29391. },
  29392. "basiccurrencyid": {
  29393. "description": "基本币种ID[汇率] - 目标币种",
  29394. "type": "integer"
  29395. },
  29396. "mainaccountid": {
  29397. "description": "主账户ID",
  29398. "type": "integer"
  29399. },
  29400. "modifierid": {
  29401. "description": "修改人",
  29402. "type": "integer"
  29403. },
  29404. "remark": {
  29405. "description": "备注",
  29406. "type": "string"
  29407. },
  29408. "tradeconfigtmpid": {
  29409. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29410. "type": "integer"
  29411. },
  29412. "tradeconfigtmpname": {
  29413. "description": "交易配置模板名称",
  29414. "type": "string"
  29415. },
  29416. "tradeconfigtmptype": {
  29417. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29418. "type": "integer"
  29419. },
  29420. "updatetime": {
  29421. "description": "更新时间",
  29422. "type": "string"
  29423. }
  29424. }
  29425. },
  29426. "models.Ermcpjrlinkpos": {
  29427. "type": "object",
  29428. "required": [
  29429. "spotcontractid"
  29430. ],
  29431. "properties": {
  29432. "areauserid": {
  29433. "description": "所属企业",
  29434. "type": "integer"
  29435. },
  29436. "averageprice": {
  29437. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29438. "type": "number"
  29439. },
  29440. "closepl": {
  29441. "description": "总平仓盈亏 [期货损益]",
  29442. "type": "number"
  29443. },
  29444. "executeprice": {
  29445. "description": "执行价 - 1:期货单 为 0",
  29446. "type": "integer"
  29447. },
  29448. "futurehedgeqty": {
  29449. "description": "期货套期量",
  29450. "type": "number"
  29451. },
  29452. "goodsid": {
  29453. "description": "期货合约",
  29454. "type": "integer"
  29455. },
  29456. "middlegoodscode": {
  29457. "description": "套保商品代码",
  29458. "type": "string"
  29459. },
  29460. "middlegoodsname": {
  29461. "description": "套保商品名称",
  29462. "type": "string"
  29463. },
  29464. "netqty": {
  29465. "description": "净头寸",
  29466. "type": "number"
  29467. },
  29468. "optioncode": {
  29469. "description": "期权代码",
  29470. "type": "string"
  29471. },
  29472. "ordertype": {
  29473. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29474. "type": "integer"
  29475. },
  29476. "reckonpl": {
  29477. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29478. "type": "number"
  29479. },
  29480. "spotcontractid": {
  29481. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29482. "type": "string"
  29483. },
  29484. "todayfutureclosepl": {
  29485. "description": "今日平仓盈亏",
  29486. "type": "number"
  29487. },
  29488. "totalbuyamount": {
  29489. "description": "买金额 [期货]",
  29490. "type": "number"
  29491. },
  29492. "totalbuyholdamount": {
  29493. "description": "买持仓总金额[期货]",
  29494. "type": "number"
  29495. },
  29496. "totalbuyqty": {
  29497. "description": "买数量",
  29498. "type": "number"
  29499. },
  29500. "totalcharge": {
  29501. "description": "手续费",
  29502. "type": "number"
  29503. },
  29504. "totalpremium": {
  29505. "description": "权利金 [期权]",
  29506. "type": "number"
  29507. },
  29508. "totalsellamount": {
  29509. "description": "卖金额 [期货]",
  29510. "type": "number"
  29511. },
  29512. "totalsellholdamount": {
  29513. "description": "卖持仓总金额[期货]",
  29514. "type": "number"
  29515. },
  29516. "totalsellqty": {
  29517. "description": "卖数量",
  29518. "type": "number"
  29519. },
  29520. "updatetime": {
  29521. "description": "更新时间",
  29522. "type": "string"
  29523. }
  29524. }
  29525. },
  29526. "models.Ermcppatradelinkdetail": {
  29527. "type": "object",
  29528. "required": [
  29529. "hedgeditemid"
  29530. ],
  29531. "properties": {
  29532. "agreeunit": {
  29533. "description": "合约乘数",
  29534. "type": "number"
  29535. },
  29536. "amount": {
  29537. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29538. "type": "number"
  29539. },
  29540. "areauserid": {
  29541. "description": "所属机构",
  29542. "type": "integer"
  29543. },
  29544. "bizsubjectid": {
  29545. "description": "归属业务部门ID - SubjectID",
  29546. "type": "integer"
  29547. },
  29548. "buyorsell": {
  29549. "description": "方向 - 0:买 1:卖",
  29550. "type": "integer"
  29551. },
  29552. "convertratio": {
  29553. "description": "品种系数",
  29554. "type": "number"
  29555. },
  29556. "createtime": {
  29557. "description": "创建时间",
  29558. "type": "string"
  29559. },
  29560. "creatorid": {
  29561. "description": "创建人ID",
  29562. "type": "integer"
  29563. },
  29564. "creatorsrc": {
  29565. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29566. "type": "integer"
  29567. },
  29568. "goodsgroupid": {
  29569. "description": "对冲品种ID[期货合约商品组ID]",
  29570. "type": "integer"
  29571. },
  29572. "goodsid": {
  29573. "description": "商品ID",
  29574. "type": "integer"
  29575. },
  29576. "hedgeditemid": {
  29577. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29578. "type": "integer"
  29579. },
  29580. "hedgeflag": {
  29581. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29582. "type": "integer"
  29583. },
  29584. "linkdetailid": {
  29585. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29586. "type": "string"
  29587. },
  29588. "linkstatus": {
  29589. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29590. "type": "integer"
  29591. },
  29592. "middlegoodsid": {
  29593. "description": "套保品种ID",
  29594. "type": "integer"
  29595. },
  29596. "name": {
  29597. "description": "账户名/子账户",
  29598. "type": "string"
  29599. },
  29600. "optioncode": {
  29601. "description": "[期货合约]期权代码 [期权]",
  29602. "type": "string"
  29603. },
  29604. "ordertype": {
  29605. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29606. "type": "integer"
  29607. },
  29608. "relatedlot": {
  29609. "description": "[数量]关联手数",
  29610. "type": "number"
  29611. },
  29612. "relatedmode": {
  29613. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29614. "type": "integer"
  29615. },
  29616. "relatedqty": {
  29617. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29618. "type": "number"
  29619. },
  29620. "retcode": {
  29621. "description": "返回码",
  29622. "type": "integer"
  29623. },
  29624. "saleuserid": {
  29625. "description": "业务员ID",
  29626. "type": "integer"
  29627. },
  29628. "tradedate": {
  29629. "description": "关联交易日(yyyyMMdd)",
  29630. "type": "string"
  29631. },
  29632. "tradeid": {
  29633. "description": "[成交单号]内部成交单ID",
  29634. "type": "string"
  29635. },
  29636. "tradelot": {
  29637. "description": "成交手数",
  29638. "type": "integer"
  29639. },
  29640. "tradeprice": {
  29641. "description": "[价格]成交价格",
  29642. "type": "number"
  29643. },
  29644. "tradetime": {
  29645. "description": "日期时间",
  29646. "type": "string"
  29647. },
  29648. "tradetradedate": {
  29649. "description": "成交交易日(yyyyMMdd)",
  29650. "type": "string"
  29651. }
  29652. }
  29653. },
  29654. "models.Exchangerateconfig": {
  29655. "type": "object",
  29656. "properties": {
  29657. "descurrencyid": {
  29658. "description": "目标币种ID",
  29659. "type": "integer"
  29660. },
  29661. "exchangerate": {
  29662. "description": "汇率",
  29663. "type": "number"
  29664. },
  29665. "oricurrencyid": {
  29666. "description": "源币种ID",
  29667. "type": "integer"
  29668. },
  29669. "remark": {
  29670. "description": "备注",
  29671. "type": "string"
  29672. }
  29673. }
  29674. },
  29675. "models.Externalexchange": {
  29676. "type": "object",
  29677. "required": [
  29678. "autoid"
  29679. ],
  29680. "properties": {
  29681. "autoid": {
  29682. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29683. "type": "integer"
  29684. },
  29685. "exchangefullname": {
  29686. "description": "外部交易所全称",
  29687. "type": "string"
  29688. },
  29689. "exexchangecode": {
  29690. "description": "外部交易所代码",
  29691. "type": "string"
  29692. },
  29693. "exexchangename": {
  29694. "description": "外部交易所名称(简称)",
  29695. "type": "string"
  29696. },
  29697. "ismarketprice": {
  29698. "description": "是否支持市价 - 0:不支持 1:支持",
  29699. "type": "integer"
  29700. },
  29701. "quotegear": {
  29702. "description": "行情档位(1-10)",
  29703. "type": "integer"
  29704. },
  29705. "showbrokerflag": {
  29706. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29707. "type": "integer"
  29708. },
  29709. "updatetime": {
  29710. "description": "更新时间",
  29711. "type": "string"
  29712. }
  29713. }
  29714. },
  29715. "models.Funcmenulist": {
  29716. "type": "object",
  29717. "required": [
  29718. "resourcecode"
  29719. ],
  29720. "properties": {
  29721. "iconame": {
  29722. "description": "菜单图标",
  29723. "type": "string"
  29724. },
  29725. "menutype": {
  29726. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  29727. "type": "integer"
  29728. },
  29729. "parentcode": {
  29730. "description": "上级资源代码",
  29731. "type": "string"
  29732. },
  29733. "remark": {
  29734. "description": "备注",
  29735. "type": "string"
  29736. },
  29737. "resourcecode": {
  29738. "description": "资源代码",
  29739. "type": "string"
  29740. },
  29741. "resourcelevel": {
  29742. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  29743. "type": "integer"
  29744. },
  29745. "resourcename": {
  29746. "description": "资源名",
  29747. "type": "string"
  29748. },
  29749. "sort": {
  29750. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  29751. "type": "integer"
  29752. },
  29753. "url": {
  29754. "description": "URL",
  29755. "type": "string"
  29756. }
  29757. }
  29758. },
  29759. "models.GZGoods": {
  29760. "type": "object",
  29761. "required": [
  29762. "goodsno"
  29763. ],
  29764. "properties": {
  29765. "address": {
  29766. "description": "详细地址",
  29767. "type": "string"
  29768. },
  29769. "cerno": {
  29770. "description": "证书编号 - 类型:2,4,5",
  29771. "type": "string"
  29772. },
  29773. "cityname": {
  29774. "description": "城市名称",
  29775. "type": "string"
  29776. },
  29777. "countryname": {
  29778. "description": "国家名称",
  29779. "type": "string"
  29780. },
  29781. "cpcertno": {
  29782. "description": "金伯利证书编号 - 类型:3",
  29783. "type": "string"
  29784. },
  29785. "districtname": {
  29786. "description": "地区名称",
  29787. "type": "string"
  29788. },
  29789. "goodsno": {
  29790. "description": "商品编号",
  29791. "type": "string"
  29792. },
  29793. "imagepath": {
  29794. "description": "商品照片(相对地址)",
  29795. "type": "string"
  29796. },
  29797. "isvalid": {
  29798. "description": "是否有效 - 0:无效 1:有效",
  29799. "type": "integer"
  29800. },
  29801. "kppath": {
  29802. "description": "金伯利证书图片(相对地址) - 类型:3",
  29803. "type": "string"
  29804. },
  29805. "kpweight": {
  29806. "description": "金伯利证书重量 - 类型:3",
  29807. "type": "string"
  29808. },
  29809. "marketprice": {
  29810. "description": "市场价",
  29811. "type": "string"
  29812. },
  29813. "mobile": {
  29814. "description": "手机号码",
  29815. "type": "string"
  29816. },
  29817. "origin": {
  29818. "description": "原产地 - 类型:3",
  29819. "type": "string"
  29820. },
  29821. "performancetemplateid": {
  29822. "description": "履约计划模板ID",
  29823. "type": "integer"
  29824. },
  29825. "price": {
  29826. "description": "总价(价格) - 类型:1,2,3,4,5",
  29827. "type": "number"
  29828. },
  29829. "priceper": {
  29830. "description": "克拉单价 - 类型:1,2,3,5",
  29831. "type": "string"
  29832. },
  29833. "provincename": {
  29834. "description": "省名称",
  29835. "type": "string"
  29836. },
  29837. "remainqty": {
  29838. "description": "剩余重量",
  29839. "type": "number"
  29840. },
  29841. "remark": {
  29842. "description": "备注",
  29843. "type": "string"
  29844. },
  29845. "sellusername": {
  29846. "description": "账户名称(机构名称)",
  29847. "type": "string"
  29848. },
  29849. "settingmaterial": {
  29850. "description": "镶嵌材料 - 类型:4",
  29851. "type": "string"
  29852. },
  29853. "size1": {
  29854. "description": "尺寸1 - 类型:2,4,5",
  29855. "type": "string"
  29856. },
  29857. "size2": {
  29858. "description": "尺寸2 - 类型:2,4,5",
  29859. "type": "string"
  29860. },
  29861. "size3": {
  29862. "description": "尺寸3 - 类型:2,4,5",
  29863. "type": "string"
  29864. },
  29865. "sizedisplay": {
  29866. "description": "尺寸",
  29867. "type": "string"
  29868. },
  29869. "stonedesc": {
  29870. "description": "配石描述 - 类型:4",
  29871. "type": "string"
  29872. },
  29873. "userid": {
  29874. "description": "用户ID",
  29875. "type": "integer"
  29876. },
  29877. "warehouseid": {
  29878. "description": "仓库ID",
  29879. "type": "integer"
  29880. },
  29881. "warehousenamedisplay": {
  29882. "type": "string"
  29883. },
  29884. "weight": {
  29885. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  29886. "type": "number"
  29887. },
  29888. "weightavg": {
  29889. "description": "平均单颗重量 - 类型:1,3",
  29890. "type": "number"
  29891. },
  29892. "wrpath": {
  29893. "description": "仓单扫描件(相对地址)",
  29894. "type": "string"
  29895. },
  29896. "wrstandardid": {
  29897. "description": "现货商品ID",
  29898. "type": "integer"
  29899. },
  29900. "wrtradeorderid": {
  29901. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  29902. "type": "string"
  29903. },
  29904. "zscategory": {
  29905. "description": "钻石分类 - 枚举”ZSCategory“",
  29906. "type": "integer"
  29907. },
  29908. "zscategorydisplay": {
  29909. "type": "string"
  29910. },
  29911. "zscerttype": {
  29912. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  29913. "type": "integer"
  29914. },
  29915. "zscerttypedisplay": {
  29916. "type": "string"
  29917. },
  29918. "zsclaritytype1": {
  29919. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  29920. "type": "integer"
  29921. },
  29922. "zsclaritytype1display": {
  29923. "type": "string"
  29924. },
  29925. "zsclaritytype2": {
  29926. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  29927. "type": "integer"
  29928. },
  29929. "zsclaritytype2display": {
  29930. "type": "string"
  29931. },
  29932. "zscolortype1": {
  29933. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  29934. "type": "integer"
  29935. },
  29936. "zscolortype1display": {
  29937. "type": "string"
  29938. },
  29939. "zscolortype2": {
  29940. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  29941. "type": "integer"
  29942. },
  29943. "zscolortype2display": {
  29944. "type": "string"
  29945. },
  29946. "zscrystaltype": {
  29947. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  29948. "type": "string"
  29949. },
  29950. "zscrystaltypedisplay": {
  29951. "type": "string"
  29952. },
  29953. "zscurrencytype": {
  29954. "description": "货币类型 - 枚举“ZSCurrencyType”",
  29955. "type": "integer"
  29956. },
  29957. "zscurrencytypedisplay": {
  29958. "type": "string"
  29959. },
  29960. "zscurrencytypedisplayunit": {
  29961. "type": "string"
  29962. },
  29963. "zscuttype1": {
  29964. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  29965. "type": "integer"
  29966. },
  29967. "zscuttype1display": {
  29968. "type": "string"
  29969. },
  29970. "zscuttype2": {
  29971. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  29972. "type": "integer"
  29973. },
  29974. "zscuttype2display": {
  29975. "type": "string"
  29976. },
  29977. "zsczcolor1type": {
  29978. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  29979. "type": "integer"
  29980. },
  29981. "zsczcolor1typedisplay": {
  29982. "type": "string"
  29983. },
  29984. "zsczcolor2type": {
  29985. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  29986. "type": "integer"
  29987. },
  29988. "zsczcolor2typedisplay": {
  29989. "type": "string"
  29990. },
  29991. "zsczcolor3type": {
  29992. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  29993. "type": "integer"
  29994. },
  29995. "zsczcolor3typedisplay": {
  29996. "type": "string"
  29997. },
  29998. "zsfluorescencetype1": {
  29999. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  30000. "type": "integer"
  30001. },
  30002. "zsfluorescencetype1display": {
  30003. "type": "string"
  30004. },
  30005. "zsfluorescencetype2": {
  30006. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  30007. "type": "integer"
  30008. },
  30009. "zsfluorescencetype2display": {
  30010. "type": "string"
  30011. },
  30012. "zspolishtype1": {
  30013. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  30014. "type": "integer"
  30015. },
  30016. "zspolishtype1display": {
  30017. "type": "string"
  30018. },
  30019. "zspolishtype2": {
  30020. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  30021. "type": "integer"
  30022. },
  30023. "zspolishtype2display": {
  30024. "type": "string"
  30025. },
  30026. "zsshapetype": {
  30027. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  30028. "type": "string"
  30029. },
  30030. "zsshapetypedisplay": {
  30031. "type": "string"
  30032. },
  30033. "zsstyletype": {
  30034. "description": "款式 - 类型:4",
  30035. "type": "integer"
  30036. },
  30037. "zsstyletypedisplay": {
  30038. "type": "string"
  30039. },
  30040. "zssymmetrytype1": {
  30041. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  30042. "type": "integer"
  30043. },
  30044. "zssymmetrytype1display": {
  30045. "type": "string"
  30046. },
  30047. "zssymmetrytype2": {
  30048. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  30049. "type": "integer"
  30050. },
  30051. "zssymmetrytype2display": {
  30052. "type": "string"
  30053. }
  30054. }
  30055. },
  30056. "models.GZHomeData": {
  30057. "type": "object",
  30058. "properties": {
  30059. "purchasedtransactions": {
  30060. "description": "已购买的交易",
  30061. "type": "integer"
  30062. },
  30063. "transactioninpurchase": {
  30064. "description": "求购中的交易",
  30065. "type": "integer"
  30066. },
  30067. "transactionsonsale": {
  30068. "description": "出售中的交易",
  30069. "type": "integer"
  30070. },
  30071. "transactionssold": {
  30072. "description": "已卖出的交易",
  30073. "type": "integer"
  30074. },
  30075. "unhandledmessage": {
  30076. "description": "未处理消息",
  30077. "type": "integer"
  30078. }
  30079. }
  30080. },
  30081. "models.GZWarehouseinfo": {
  30082. "type": "object",
  30083. "properties": {
  30084. "address": {
  30085. "description": "详细地址",
  30086. "type": "string"
  30087. },
  30088. "areauserid": {
  30089. "description": "所属机构",
  30090. "type": "integer"
  30091. },
  30092. "autoid": {
  30093. "description": "自增ID",
  30094. "type": "integer"
  30095. },
  30096. "cityid": {
  30097. "description": "市",
  30098. "type": "integer"
  30099. },
  30100. "cityname": {
  30101. "description": "城市名称",
  30102. "type": "string"
  30103. },
  30104. "contactname": {
  30105. "description": "联系人",
  30106. "type": "string"
  30107. },
  30108. "contactnum": {
  30109. "description": "联系电话",
  30110. "type": "string"
  30111. },
  30112. "countryid": {
  30113. "description": "国家",
  30114. "type": "integer"
  30115. },
  30116. "countryname": {
  30117. "description": "国家名称",
  30118. "type": "string"
  30119. },
  30120. "createtime": {
  30121. "description": "创建时间",
  30122. "type": "string"
  30123. },
  30124. "districtid": {
  30125. "description": "区",
  30126. "type": "integer"
  30127. },
  30128. "districtname": {
  30129. "description": "地区名称",
  30130. "type": "string"
  30131. },
  30132. "hasvideo": {
  30133. "description": "是否有视频 - 0:无 1:有",
  30134. "type": "integer"
  30135. },
  30136. "provinceid": {
  30137. "description": "省",
  30138. "type": "integer"
  30139. },
  30140. "provincename": {
  30141. "description": "省名称",
  30142. "type": "string"
  30143. },
  30144. "remark": {
  30145. "description": "审核备注",
  30146. "type": "string"
  30147. },
  30148. "videourl": {
  30149. "description": "视频地址",
  30150. "type": "string"
  30151. },
  30152. "warehousecode": {
  30153. "description": "仓库代码",
  30154. "type": "string"
  30155. },
  30156. "warehousename": {
  30157. "description": "仓库名称",
  30158. "type": "string"
  30159. },
  30160. "warehousestatus": {
  30161. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30162. "type": "integer"
  30163. },
  30164. "warehousetype": {
  30165. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30166. "type": "integer"
  30167. }
  30168. }
  30169. },
  30170. "models.Goods": {
  30171. "type": "object",
  30172. "required": [
  30173. "goodscode",
  30174. "goodsid",
  30175. "goodsname",
  30176. "marketid"
  30177. ],
  30178. "properties": {
  30179. "agreeunit": {
  30180. "description": "合约单位",
  30181. "type": "number"
  30182. },
  30183. "areauserid": {
  30184. "description": "所属机构",
  30185. "type": "integer"
  30186. },
  30187. "auditaccountid": {
  30188. "description": "审核操作员账号",
  30189. "type": "integer"
  30190. },
  30191. "audittime": {
  30192. "description": "审核时间",
  30193. "type": "string"
  30194. },
  30195. "cancelaccountid": {
  30196. "description": "注销操作员账号",
  30197. "type": "integer"
  30198. },
  30199. "canceltime": {
  30200. "description": "注销时间",
  30201. "type": "string"
  30202. },
  30203. "closepricemode": {
  30204. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30205. "type": "integer"
  30206. },
  30207. "closepriceparam": {
  30208. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30209. "type": "number"
  30210. },
  30211. "createtime": {
  30212. "description": "创建时间",
  30213. "type": "string"
  30214. },
  30215. "creatorid": {
  30216. "description": "创建人",
  30217. "type": "integer"
  30218. },
  30219. "currencyid": {
  30220. "description": "报价货币ID",
  30221. "type": "integer"
  30222. },
  30223. "cutmode": {
  30224. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30225. "type": "integer"
  30226. },
  30227. "decimalplace": {
  30228. "description": "报价小数位",
  30229. "type": "integer"
  30230. },
  30231. "delistingdate": {
  30232. "description": "商品退市时间(状态:退市) -- 已作废",
  30233. "type": "string"
  30234. },
  30235. "delistingmode": {
  30236. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30237. "type": "integer"
  30238. },
  30239. "deliveryflag": {
  30240. "description": "交割标志 - 0:不可交割 1:可交割",
  30241. "type": "integer"
  30242. },
  30243. "forceclosemode": {
  30244. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30245. "type": "integer"
  30246. },
  30247. "forceclosevalue": {
  30248. "description": "定期强平参数 [收益权]",
  30249. "type": "integer"
  30250. },
  30251. "goodscode": {
  30252. "description": "商品代码(内部)",
  30253. "type": "string"
  30254. },
  30255. "goodscurrencyid": {
  30256. "description": "合约货币ID",
  30257. "type": "integer"
  30258. },
  30259. "goodsgroupid": {
  30260. "description": "所属商品组ID",
  30261. "type": "integer"
  30262. },
  30263. "goodsid": {
  30264. "description": "商品ID(自增ID SEQ_GOODS)",
  30265. "type": "integer"
  30266. },
  30267. "goodsname": {
  30268. "description": "商品名称",
  30269. "type": "string"
  30270. },
  30271. "goodsquotetype": {
  30272. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30273. "type": "integer"
  30274. },
  30275. "goodsstatus": {
  30276. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30277. "type": "integer"
  30278. },
  30279. "goodstradetype": {
  30280. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30281. "type": "integer"
  30282. },
  30283. "goodunitid": {
  30284. "description": "报价单位ID",
  30285. "type": "integer"
  30286. },
  30287. "hasquoter": {
  30288. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30289. "type": "integer"
  30290. },
  30291. "hqprotecttime": {
  30292. "description": "行情保护时间(秒)",
  30293. "type": "integer"
  30294. },
  30295. "innerdealmode": {
  30296. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30297. "type": "integer"
  30298. },
  30299. "isbuylimited": {
  30300. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30301. "type": "integer"
  30302. },
  30303. "isvisible": {
  30304. "description": "游客是否可见 - 0:不可见 1:可见",
  30305. "type": "integer"
  30306. },
  30307. "lasttradedate": {
  30308. "description": "最后交易日期(状态:待退市)",
  30309. "type": "string"
  30310. },
  30311. "listingdate": {
  30312. "description": "交易开始日期",
  30313. "type": "string"
  30314. },
  30315. "marketid": {
  30316. "description": "所属市场ID",
  30317. "type": "integer"
  30318. },
  30319. "modifierid": {
  30320. "description": "修改人",
  30321. "type": "integer"
  30322. },
  30323. "modifystatus": {
  30324. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30325. "type": "integer"
  30326. },
  30327. "modifytime": {
  30328. "description": "修改时间",
  30329. "type": "string"
  30330. },
  30331. "outerdealmode": {
  30332. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30333. "type": "integer"
  30334. },
  30335. "outgoodscode": {
  30336. "description": "商品代码(外部)",
  30337. "type": "string"
  30338. },
  30339. "pictureurl": {
  30340. "description": "商品图片",
  30341. "type": "string"
  30342. },
  30343. "qtydecimalplace": {
  30344. "description": "成交量小数位",
  30345. "type": "integer"
  30346. },
  30347. "quotegear": {
  30348. "description": "行情档位(1-10)",
  30349. "type": "integer"
  30350. },
  30351. "quoteminunit": {
  30352. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30353. "type": "integer"
  30354. },
  30355. "quoteshowtype": {
  30356. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30357. "type": "integer"
  30358. },
  30359. "quoteshowtypeinterval": {
  30360. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30361. "type": "integer"
  30362. },
  30363. "remark": {
  30364. "description": "备注",
  30365. "type": "string"
  30366. }
  30367. }
  30368. },
  30369. "models.GoodsIDAndName": {
  30370. "type": "object",
  30371. "required": [
  30372. "goodscode",
  30373. "goodsid",
  30374. "goodsname",
  30375. "marketid"
  30376. ],
  30377. "properties": {
  30378. "goodscode": {
  30379. "description": "商品代码(内部)",
  30380. "type": "string"
  30381. },
  30382. "goodsid": {
  30383. "description": "商品ID(自增ID SEQ_GOODS)",
  30384. "type": "integer"
  30385. },
  30386. "goodsname": {
  30387. "description": "商品名称",
  30388. "type": "string"
  30389. },
  30390. "marketid": {
  30391. "description": "所属市场ID",
  30392. "type": "integer"
  30393. }
  30394. }
  30395. },
  30396. "models.Goodsgroup": {
  30397. "type": "object",
  30398. "required": [
  30399. "goodsgroupid",
  30400. "goodsgroupname",
  30401. "goodsgroupstatus",
  30402. "marketid"
  30403. ],
  30404. "properties": {
  30405. "agreeunit": {
  30406. "description": "合约单位",
  30407. "type": "number"
  30408. },
  30409. "canshort": {
  30410. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  30411. "type": "integer"
  30412. },
  30413. "closepricemode": {
  30414. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30415. "type": "integer"
  30416. },
  30417. "closepriceparam": {
  30418. "description": "强平最新价浮动比例 - 方式为2时使用",
  30419. "type": "number"
  30420. },
  30421. "createtime": {
  30422. "description": "创建时间",
  30423. "type": "string"
  30424. },
  30425. "creatorid": {
  30426. "description": "创建人",
  30427. "type": "integer"
  30428. },
  30429. "currencyid": {
  30430. "description": "报价货币ID",
  30431. "type": "integer"
  30432. },
  30433. "decimalplace": {
  30434. "description": "报价小数位",
  30435. "type": "integer"
  30436. },
  30437. "exercisetype": {
  30438. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  30439. "type": "integer"
  30440. },
  30441. "exexchangeid": {
  30442. "description": "外部交易所ID[通道交易]",
  30443. "type": "integer"
  30444. },
  30445. "goodsgroupid": {
  30446. "description": "商品组ID(自增ID)",
  30447. "type": "integer"
  30448. },
  30449. "goodsgroupname": {
  30450. "description": "商品组名称",
  30451. "type": "string"
  30452. },
  30453. "goodsgroupstatus": {
  30454. "description": "商品组状态 - 1:正常 2:注销",
  30455. "type": "integer"
  30456. },
  30457. "goodunitid": {
  30458. "description": "报价单位ID",
  30459. "type": "integer"
  30460. },
  30461. "innerdealmode": {
  30462. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30463. "type": "integer"
  30464. },
  30465. "isbuylimited": {
  30466. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30467. "type": "integer"
  30468. },
  30469. "marketid": {
  30470. "description": "所属市场ID",
  30471. "type": "integer"
  30472. },
  30473. "modifierid": {
  30474. "description": "修改人",
  30475. "type": "integer"
  30476. },
  30477. "modifytime": {
  30478. "description": "修改时间",
  30479. "type": "string"
  30480. },
  30481. "outerdealmode": {
  30482. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30483. "type": "integer"
  30484. },
  30485. "outergroupcode": {
  30486. "description": "外部商品组代码[通道交易]",
  30487. "type": "string"
  30488. },
  30489. "premiumdecimalplace": {
  30490. "description": "权利金小数位[场外期权]",
  30491. "type": "integer"
  30492. },
  30493. "premiumspreadalgorithm": {
  30494. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  30495. "type": "integer"
  30496. },
  30497. "premiumspreadvalue": {
  30498. "description": "权利金点差值[场外期权]",
  30499. "type": "number"
  30500. },
  30501. "qtydecimalplace": {
  30502. "description": "成交量小数位",
  30503. "type": "integer"
  30504. },
  30505. "quotegear": {
  30506. "description": "行情档位(1-10)",
  30507. "type": "integer"
  30508. },
  30509. "quoteminunit": {
  30510. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30511. "type": "integer"
  30512. },
  30513. "quoterid": {
  30514. "description": "报价商ID[场外期权]",
  30515. "type": "integer"
  30516. },
  30517. "quotesourcegroupid": {
  30518. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  30519. "type": "integer"
  30520. },
  30521. "syncgoodsqty": {
  30522. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  30523. "type": "integer"
  30524. }
  30525. }
  30526. },
  30527. "models.Goodssortbypreposition": {
  30528. "type": "object",
  30529. "required": [
  30530. "goodscode",
  30531. "tradedate"
  30532. ],
  30533. "properties": {
  30534. "goodscode": {
  30535. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  30536. "type": "string"
  30537. },
  30538. "goodsgroupcode": {
  30539. "description": "品种代码",
  30540. "type": "string"
  30541. },
  30542. "prepositionqty": {
  30543. "description": "昨持仓量",
  30544. "type": "integer"
  30545. },
  30546. "sortindex": {
  30547. "description": "排序",
  30548. "type": "integer"
  30549. },
  30550. "tradedate": {
  30551. "description": "交易日",
  30552. "type": "string"
  30553. },
  30554. "updatetime": {
  30555. "description": "更新时间",
  30556. "type": "string"
  30557. }
  30558. }
  30559. },
  30560. "models.GzbsfworderM": {
  30561. "type": "object",
  30562. "required": [
  30563. "userid"
  30564. ],
  30565. "properties": {
  30566. "accountid": {
  30567. "description": "资金账户ID",
  30568. "type": "integer"
  30569. },
  30570. "addresscn": {
  30571. "description": "地址(中文)",
  30572. "type": "string"
  30573. },
  30574. "addressen": {
  30575. "description": "地址(英文)",
  30576. "type": "string"
  30577. },
  30578. "advanceamount": {
  30579. "description": "总预付款",
  30580. "type": "number"
  30581. },
  30582. "colorrange": {
  30583. "description": "颜色范围",
  30584. "type": "string"
  30585. },
  30586. "companynamecn": {
  30587. "description": "收货人(中文)",
  30588. "type": "string"
  30589. },
  30590. "companynameen": {
  30591. "description": "收货人(英文)",
  30592. "type": "string"
  30593. },
  30594. "contactfax": {
  30595. "description": "收货人传真",
  30596. "type": "string"
  30597. },
  30598. "contactname": {
  30599. "description": "收货人姓名",
  30600. "type": "string"
  30601. },
  30602. "contactphoneno": {
  30603. "description": "收货人电话",
  30604. "type": "string"
  30605. },
  30606. "contentrange": {
  30607. "description": "【内容】内容范围",
  30608. "type": "string"
  30609. },
  30610. "createtime": {
  30611. "description": "创建时间",
  30612. "type": "string"
  30613. },
  30614. "executestatus": {
  30615. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30616. "type": "integer"
  30617. },
  30618. "gzbsdeliverytype": {
  30619. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  30620. "type": "integer"
  30621. },
  30622. "gzbsstatus": {
  30623. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  30624. "type": "integer"
  30625. },
  30626. "gzbsstatusdisplay": {
  30627. "description": "单据状态",
  30628. "type": "string"
  30629. },
  30630. "handlestatus": {
  30631. "description": "处理状态",
  30632. "type": "integer"
  30633. },
  30634. "orderdate": {
  30635. "description": "单据日期",
  30636. "type": "string"
  30637. },
  30638. "orderid": {
  30639. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30640. "type": "integer"
  30641. },
  30642. "orderno": {
  30643. "description": "单据编号 - GZDEBSFW+单据流水号",
  30644. "type": "string"
  30645. },
  30646. "ordersn": {
  30647. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  30648. "type": "string"
  30649. },
  30650. "origincountry": {
  30651. "description": "原产国",
  30652. "type": "string"
  30653. },
  30654. "otherlogistics": {
  30655. "description": "指定其它物流",
  30656. "type": "string"
  30657. },
  30658. "priceper": {
  30659. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  30660. "type": "number"
  30661. },
  30662. "settleamount": {
  30663. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  30664. "type": "number"
  30665. },
  30666. "shaperange": {
  30667. "description": "形状范围",
  30668. "type": "string"
  30669. },
  30670. "taxmargin": {
  30671. "description": "税费保证金 - 确认结算费用时退回",
  30672. "type": "number"
  30673. },
  30674. "totalamount": {
  30675. "description": "总值(美元)",
  30676. "type": "number"
  30677. },
  30678. "totalgrossweightgm": {
  30679. "description": "总毛重(克)",
  30680. "type": "number"
  30681. },
  30682. "totalnetweightgm": {
  30683. "description": "总净重(克)",
  30684. "type": "number"
  30685. },
  30686. "totalnetweigthct": {
  30687. "description": "总净重(克拉)",
  30688. "type": "number"
  30689. },
  30690. "totalnumber": {
  30691. "description": "总粒数",
  30692. "type": "integer"
  30693. },
  30694. "userid": {
  30695. "description": "用户ID",
  30696. "type": "integer"
  30697. },
  30698. "weightrange": {
  30699. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  30700. "type": "string"
  30701. }
  30702. }
  30703. },
  30704. "models.GzbsfworderdetailM": {
  30705. "type": "object",
  30706. "properties": {
  30707. "colorinfo": {
  30708. "description": "彩钻信息",
  30709. "type": "string"
  30710. },
  30711. "createtime": {
  30712. "description": "创建时间",
  30713. "type": "string"
  30714. },
  30715. "grossweightgm": {
  30716. "description": "毛重(克)",
  30717. "type": "number"
  30718. },
  30719. "gzcjshape": {
  30720. "description": "形状(字符)",
  30721. "type": "string"
  30722. },
  30723. "netweigthct": {
  30724. "description": "净重(克拉)",
  30725. "type": "number"
  30726. },
  30727. "netweigthgm": {
  30728. "description": "净重(克)",
  30729. "type": "number"
  30730. },
  30731. "ordercontent": {
  30732. "description": "内容",
  30733. "type": "string"
  30734. },
  30735. "orderdetailid": {
  30736. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  30737. "type": "integer"
  30738. },
  30739. "orderid": {
  30740. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30741. "type": "integer"
  30742. },
  30743. "orderindex": {
  30744. "description": "顺序",
  30745. "type": "integer"
  30746. },
  30747. "perprice": {
  30748. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  30749. "type": "number"
  30750. },
  30751. "remark": {
  30752. "description": "备注(其它)",
  30753. "type": "string"
  30754. },
  30755. "totalamount": {
  30756. "description": "总值(美元)",
  30757. "type": "number"
  30758. }
  30759. }
  30760. },
  30761. "models.Gzbsfworderoperate": {
  30762. "type": "object",
  30763. "required": [
  30764. "orderid"
  30765. ],
  30766. "properties": {
  30767. "advanceproofaddr": {
  30768. "description": "预付款收款凭证(确认结算费用时)",
  30769. "type": "string"
  30770. },
  30771. "bankfee": {
  30772. "description": "汇款银行手续费",
  30773. "type": "number"
  30774. },
  30775. "bankproofaddr": {
  30776. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  30777. "type": "string"
  30778. },
  30779. "customsproofaddr": {
  30780. "description": "海关税费保证金收据(确认结算费用时)",
  30781. "type": "string"
  30782. },
  30783. "gzbsstatus": {
  30784. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  30785. "type": "integer"
  30786. },
  30787. "logisticsfee": {
  30788. "description": "代缴物流保险费",
  30789. "type": "number"
  30790. },
  30791. "logisticsproofaddr": {
  30792. "description": "代缴物流保险费凭证(确认结算费用时)",
  30793. "type": "string"
  30794. },
  30795. "operatetime": {
  30796. "description": "操作时间",
  30797. "type": "string"
  30798. },
  30799. "operatoraccount": {
  30800. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  30801. "type": "string"
  30802. },
  30803. "operatorid": {
  30804. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  30805. "type": "integer"
  30806. },
  30807. "operatorname": {
  30808. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  30809. "type": "string"
  30810. },
  30811. "operatorsrc": {
  30812. "description": "操作人来源 - 1:管理端 2:终端",
  30813. "type": "integer"
  30814. },
  30815. "orderid": {
  30816. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  30817. "type": "integer"
  30818. },
  30819. "otherfee": {
  30820. "description": "其它费用",
  30821. "type": "number"
  30822. },
  30823. "remark": {
  30824. "description": "操作备注",
  30825. "type": "string"
  30826. },
  30827. "servicefee": {
  30828. "description": "综合服务费",
  30829. "type": "number"
  30830. },
  30831. "taxmargin": {
  30832. "description": "税费保证金",
  30833. "type": "number"
  30834. },
  30835. "totalfee": {
  30836. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  30837. "type": "number"
  30838. }
  30839. }
  30840. },
  30841. "models.Gzcertaddressconfig": {
  30842. "type": "object",
  30843. "properties": {
  30844. "certregion": {
  30845. "description": "证书地域 - 1:国内 2:国际",
  30846. "type": "integer"
  30847. },
  30848. "certtype": {
  30849. "description": "证书类型",
  30850. "type": "string"
  30851. },
  30852. "orderindex": {
  30853. "description": "显示顺序",
  30854. "type": "integer"
  30855. },
  30856. "orgcnname": {
  30857. "description": "机构名称(中文)",
  30858. "type": "string"
  30859. },
  30860. "orgenname": {
  30861. "description": "机构名称(英文)",
  30862. "type": "string"
  30863. },
  30864. "queryaddress": {
  30865. "description": "查询地址",
  30866. "type": "string"
  30867. },
  30868. "remark": {
  30869. "description": "备注",
  30870. "type": "string"
  30871. },
  30872. "updatetime": {
  30873. "description": "更新时间",
  30874. "type": "string"
  30875. }
  30876. }
  30877. },
  30878. "models.Gzcertaddressparam": {
  30879. "type": "object",
  30880. "properties": {
  30881. "certtype": {
  30882. "description": "证书类型",
  30883. "type": "string"
  30884. },
  30885. "orderindex": {
  30886. "description": "参数顺序",
  30887. "type": "integer"
  30888. },
  30889. "paramkey": {
  30890. "description": "参数Key",
  30891. "type": "string"
  30892. },
  30893. "paramname": {
  30894. "description": "参数名称",
  30895. "type": "string"
  30896. },
  30897. "updatetime": {
  30898. "description": "更新时间",
  30899. "type": "string"
  30900. }
  30901. }
  30902. },
  30903. "models.GzcjbsorderfileM": {
  30904. "type": "object",
  30905. "required": [
  30906. "orderid"
  30907. ],
  30908. "properties": {
  30909. "canmembervisit": {
  30910. "description": "会员是否可访问 - 1:可 2:不可",
  30911. "type": "integer"
  30912. },
  30913. "fileaddress": {
  30914. "description": "文件地址",
  30915. "type": "string"
  30916. },
  30917. "filegentype": {
  30918. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  30919. "type": "integer"
  30920. },
  30921. "filename": {
  30922. "description": "文件名称",
  30923. "type": "string"
  30924. },
  30925. "operatetime": {
  30926. "description": "操作时间",
  30927. "type": "string"
  30928. },
  30929. "operatoraccount": {
  30930. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  30931. "type": "string"
  30932. },
  30933. "operatorid": {
  30934. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  30935. "type": "integer"
  30936. },
  30937. "operatorsrc": {
  30938. "description": "操作人来源 - 1:管理端 2:终端",
  30939. "type": "integer"
  30940. },
  30941. "orderfileid": {
  30942. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  30943. "type": "integer"
  30944. },
  30945. "orderid": {
  30946. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  30947. "type": "integer"
  30948. }
  30949. }
  30950. },
  30951. "models.GzcjjcorderM": {
  30952. "type": "object",
  30953. "required": [
  30954. "userid"
  30955. ],
  30956. "properties": {
  30957. "accountid": {
  30958. "description": "资金账户ID",
  30959. "type": "integer"
  30960. },
  30961. "addresscn": {
  30962. "description": "地址(中文)",
  30963. "type": "string"
  30964. },
  30965. "addressen": {
  30966. "description": "地址(英文)",
  30967. "type": "string"
  30968. },
  30969. "advanceamount": {
  30970. "description": "总预付款",
  30971. "type": "number"
  30972. },
  30973. "colorrange": {
  30974. "description": "颜色范围",
  30975. "type": "string"
  30976. },
  30977. "companynamecn": {
  30978. "description": "公司名称(中文)",
  30979. "type": "string"
  30980. },
  30981. "companynameen": {
  30982. "description": "公司名称(英文)",
  30983. "type": "string"
  30984. },
  30985. "contactname": {
  30986. "description": "联系人姓名",
  30987. "type": "string"
  30988. },
  30989. "contactphoneno": {
  30990. "description": "联系人电话",
  30991. "type": "string"
  30992. },
  30993. "contactposition": {
  30994. "description": "联系人职位",
  30995. "type": "string"
  30996. },
  30997. "createtime": {
  30998. "description": "创建时间",
  30999. "type": "string"
  31000. },
  31001. "email": {
  31002. "description": "邮箱",
  31003. "type": "string"
  31004. },
  31005. "executestatus": {
  31006. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  31007. "type": "integer"
  31008. },
  31009. "gzcjaccount": {
  31010. "description": "送检账户",
  31011. "type": "string"
  31012. },
  31013. "gzcjaccounttype": {
  31014. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  31015. "type": "integer"
  31016. },
  31017. "gzcjcategorytype": {
  31018. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  31019. "type": "integer"
  31020. },
  31021. "gzcjcategorytypedisplay": {
  31022. "description": "货物品类",
  31023. "type": "string"
  31024. },
  31025. "gzcjdeliverytype": {
  31026. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  31027. "type": "integer"
  31028. },
  31029. "gzcjdeliverytypedisplay": {
  31030. "description": "收货方式",
  31031. "type": "string"
  31032. },
  31033. "gzcjstatus": {
  31034. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  31035. "type": "integer"
  31036. },
  31037. "gzcjstatusdisplay": {
  31038. "description": "单据状态(出境检测)",
  31039. "type": "string"
  31040. },
  31041. "handlestatus": {
  31042. "description": "处理状态",
  31043. "type": "integer"
  31044. },
  31045. "invoiceremark": {
  31046. "description": "复核备注 - 发票装箱单使用",
  31047. "type": "string"
  31048. },
  31049. "orderid": {
  31050. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31051. "type": "integer"
  31052. },
  31053. "orderno": {
  31054. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  31055. "type": "string"
  31056. },
  31057. "ordersn": {
  31058. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31059. "type": "string"
  31060. },
  31061. "origincountry": {
  31062. "description": "原产国",
  31063. "type": "string"
  31064. },
  31065. "processingcountry": {
  31066. "description": "成品钻石加工国",
  31067. "type": "string"
  31068. },
  31069. "realservicefee": {
  31070. "description": "应收综合服务费",
  31071. "type": "number"
  31072. },
  31073. "servicefeesum": {
  31074. "description": "汇总综合服务费 - 明细上值汇总",
  31075. "type": "number"
  31076. },
  31077. "settleamount": {
  31078. "description": "总结算费用",
  31079. "type": "number"
  31080. },
  31081. "shaperange": {
  31082. "description": "形状范围",
  31083. "type": "string"
  31084. },
  31085. "totalamount": {
  31086. "description": "总金额(美元)",
  31087. "type": "number"
  31088. },
  31089. "totalgrossweight": {
  31090. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  31091. "type": "number"
  31092. },
  31093. "totalnumber": {
  31094. "description": "总粒数",
  31095. "type": "integer"
  31096. },
  31097. "totalweight": {
  31098. "description": "总克拉数(保留3位小数)",
  31099. "type": "number"
  31100. },
  31101. "totalweightgm": {
  31102. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  31103. "type": "number"
  31104. },
  31105. "userid": {
  31106. "description": "用户ID",
  31107. "type": "integer"
  31108. },
  31109. "weightrange": {
  31110. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  31111. "type": "string"
  31112. },
  31113. "zsorigin": {
  31114. "description": "天然钻石毛坯原产地",
  31115. "type": "string"
  31116. }
  31117. }
  31118. },
  31119. "models.GzcjjcorderdetailM": {
  31120. "type": "object",
  31121. "properties": {
  31122. "amount": {
  31123. "description": "参考货值(USD)",
  31124. "type": "number"
  31125. },
  31126. "colorinfo": {
  31127. "description": "彩钻信息",
  31128. "type": "string"
  31129. },
  31130. "createtime": {
  31131. "description": "创建时间",
  31132. "type": "string"
  31133. },
  31134. "gzcjmarktype": {
  31135. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  31136. "type": "integer"
  31137. },
  31138. "gzcjpublishtype": {
  31139. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  31140. "type": "integer"
  31141. },
  31142. "gzcjpublishtypestring": {
  31143. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  31144. "type": "string"
  31145. },
  31146. "gzcjservicetype": {
  31147. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  31148. "type": "integer"
  31149. },
  31150. "gzcjservicetypestring": {
  31151. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  31152. "type": "string"
  31153. },
  31154. "gzcjshapetype": {
  31155. "description": "形状 - 枚举\"GZCJShapeType\"",
  31156. "type": "integer"
  31157. },
  31158. "gzcjshapetypestring": {
  31159. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  31160. "type": "string"
  31161. },
  31162. "gzno": {
  31163. "description": "货物编号",
  31164. "type": "string"
  31165. },
  31166. "orderdetailid": {
  31167. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  31168. "type": "integer"
  31169. },
  31170. "orderid": {
  31171. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31172. "type": "integer"
  31173. },
  31174. "orderindex": {
  31175. "description": "顺序",
  31176. "type": "integer"
  31177. },
  31178. "origincertno": {
  31179. "description": "原证书号【送检账户为“广钻账户”】",
  31180. "type": "string"
  31181. },
  31182. "remark": {
  31183. "description": "备注(其它)",
  31184. "type": "string"
  31185. },
  31186. "servicefee": {
  31187. "description": "综合服务费 - 根据市场配置计算",
  31188. "type": "number"
  31189. },
  31190. "weight": {
  31191. "description": "重量(CT)",
  31192. "type": "number"
  31193. }
  31194. }
  31195. },
  31196. "models.Gzrapaportprice": {
  31197. "type": "object",
  31198. "properties": {
  31199. "dollar": {
  31200. "description": "美元",
  31201. "type": "string"
  31202. },
  31203. "rmb": {
  31204. "description": "人民币",
  31205. "type": "string"
  31206. }
  31207. }
  31208. },
  31209. "models.Hedgeinnerholderdetail": {
  31210. "type": "object",
  31211. "required": [
  31212. "buyorsell",
  31213. "tradeid"
  31214. ],
  31215. "properties": {
  31216. "accountid": {
  31217. "description": "账号ID",
  31218. "type": "integer"
  31219. },
  31220. "buyorsell": {
  31221. "description": "方向 - 0:买 1:卖",
  31222. "type": "integer"
  31223. },
  31224. "freezeqty": {
  31225. "description": "冻结数量 - 按单平使用",
  31226. "type": "integer"
  31227. },
  31228. "goodsid": {
  31229. "description": "商品ID",
  31230. "type": "integer"
  31231. },
  31232. "holderamount": {
  31233. "description": "持仓金额 [商品币种]",
  31234. "type": "number"
  31235. },
  31236. "holderdays": {
  31237. "description": "剩余冻结天数",
  31238. "type": "integer"
  31239. },
  31240. "holderprice": {
  31241. "description": "持仓价格",
  31242. "type": "number"
  31243. },
  31244. "holderqty": {
  31245. "description": "持仓数量",
  31246. "type": "integer"
  31247. },
  31248. "marketid": {
  31249. "description": "市场ID",
  31250. "type": "integer"
  31251. },
  31252. "openprice": {
  31253. "description": "建仓价格",
  31254. "type": "number"
  31255. },
  31256. "openqty": {
  31257. "description": "建仓数量",
  31258. "type": "integer"
  31259. },
  31260. "parentaccountid": {
  31261. "description": "所属母账户",
  31262. "type": "integer"
  31263. },
  31264. "releaseamount": {
  31265. "description": "释放持仓金额[商品币种]",
  31266. "type": "number"
  31267. },
  31268. "tradeamount": {
  31269. "description": "成交金额[账户]",
  31270. "type": "number"
  31271. },
  31272. "tradedate": {
  31273. "description": "交易日(yyyyMMdd)",
  31274. "type": "string"
  31275. },
  31276. "tradeid": {
  31277. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31278. "type": "string"
  31279. },
  31280. "tradetime": {
  31281. "description": "交易时间",
  31282. "type": "string"
  31283. }
  31284. }
  31285. },
  31286. "models.Hedgemarketopenlog": {
  31287. "type": "object",
  31288. "required": [
  31289. "accountid"
  31290. ],
  31291. "properties": {
  31292. "accountid": {
  31293. "description": "资金账号[外部母账户]",
  31294. "type": "integer"
  31295. },
  31296. "fcname": {
  31297. "description": "期货公司名称",
  31298. "type": "string"
  31299. },
  31300. "handlestatus": {
  31301. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  31302. "type": "integer"
  31303. },
  31304. "marketid": {
  31305. "description": "市场ID",
  31306. "type": "integer"
  31307. },
  31308. "status": {
  31309. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  31310. "type": "integer"
  31311. },
  31312. "tradedate": {
  31313. "description": "交易日(yyyyMMdd)",
  31314. "type": "string"
  31315. },
  31316. "updatetime": {
  31317. "description": "更新时间",
  31318. "type": "string"
  31319. }
  31320. }
  31321. },
  31322. "models.InternalEnableTradeDetail": {
  31323. "type": "object",
  31324. "required": [
  31325. "areauserid",
  31326. "goodsid",
  31327. "tradeuserid"
  31328. ],
  31329. "properties": {
  31330. "agreeunit": {
  31331. "description": "合约乘数",
  31332. "type": "number"
  31333. },
  31334. "areauserid": {
  31335. "description": "企业ID",
  31336. "type": "integer"
  31337. },
  31338. "convertratio": {
  31339. "description": "品种系数",
  31340. "type": "number"
  31341. },
  31342. "deliverygoodscode": {
  31343. "description": "现货品种代码",
  31344. "type": "string"
  31345. },
  31346. "deliverygoodsid": {
  31347. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31348. "type": "integer"
  31349. },
  31350. "deliverygoodsname": {
  31351. "description": "现货品种名称",
  31352. "type": "string"
  31353. },
  31354. "futurehedgeqty": {
  31355. "description": "[已关联数量]期货持仓套期量",
  31356. "type": "number"
  31357. },
  31358. "goodsid": {
  31359. "description": "期货合约ID",
  31360. "type": "integer"
  31361. },
  31362. "hedgeditemid": {
  31363. "description": "被套期项目ID",
  31364. "type": "string"
  31365. },
  31366. "hedgeditemnum": {
  31367. "description": "项目编号",
  31368. "type": "string"
  31369. },
  31370. "tradeuserid": {
  31371. "description": "交易用户ID",
  31372. "type": "integer"
  31373. },
  31374. "unexehedgeqty": {
  31375. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31376. "type": "number"
  31377. },
  31378. "unexespotqty": {
  31379. "description": "未执行现货量",
  31380. "type": "number"
  31381. },
  31382. "wrstandardcode": {
  31383. "description": "现货品类代码",
  31384. "type": "string"
  31385. },
  31386. "wrstandardid": {
  31387. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31388. "type": "integer"
  31389. },
  31390. "wrstandardname": {
  31391. "description": "现货品类名称",
  31392. "type": "string"
  31393. }
  31394. }
  31395. },
  31396. "models.InternalUncorrelatedTradeDetail": {
  31397. "type": "object",
  31398. "properties": {
  31399. "accountid": {
  31400. "description": "账号ID",
  31401. "type": "integer"
  31402. },
  31403. "accountname": {
  31404. "description": "套期主体",
  31405. "type": "string"
  31406. },
  31407. "agreeunit": {
  31408. "description": "合约乘数",
  31409. "type": "number"
  31410. },
  31411. "areauserid": {
  31412. "description": "所属机构",
  31413. "type": "integer"
  31414. },
  31415. "bizsubjectid": {
  31416. "description": "归属业务部门ID - SubjectID",
  31417. "type": "integer"
  31418. },
  31419. "buyorsell": {
  31420. "description": "方向 - 0:买 1:卖",
  31421. "type": "integer"
  31422. },
  31423. "channelbuildtype": {
  31424. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31425. "type": "integer"
  31426. },
  31427. "convertratio": {
  31428. "description": "品种系数",
  31429. "type": "number"
  31430. },
  31431. "createtime": {
  31432. "description": "创建时间",
  31433. "type": "string"
  31434. },
  31435. "creatorid": {
  31436. "description": "创建人ID",
  31437. "type": "integer"
  31438. },
  31439. "creatorsrc": {
  31440. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31441. "type": "integer"
  31442. },
  31443. "enableqty": {
  31444. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31445. "type": "number"
  31446. },
  31447. "enumdicname": {
  31448. "description": "单位",
  31449. "type": "string"
  31450. },
  31451. "goodscode": {
  31452. "description": "合约代码",
  31453. "type": "string"
  31454. },
  31455. "goodsgroupid": {
  31456. "description": "对冲品种ID[期货合约商品组ID]",
  31457. "type": "integer"
  31458. },
  31459. "goodsid": {
  31460. "description": "商品ID",
  31461. "type": "integer"
  31462. },
  31463. "goodsname": {
  31464. "description": "合约名称",
  31465. "type": "string"
  31466. },
  31467. "hedgeditemid": {
  31468. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31469. "type": "integer"
  31470. },
  31471. "hedgeflag": {
  31472. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31473. "type": "integer"
  31474. },
  31475. "linkdetailid": {
  31476. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31477. "type": "string"
  31478. },
  31479. "linkstatus": {
  31480. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31481. "type": "integer"
  31482. },
  31483. "middlegoodsid": {
  31484. "description": "套保品种ID",
  31485. "type": "integer"
  31486. },
  31487. "middlegoodsqty": {
  31488. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31489. "type": "number"
  31490. },
  31491. "relatedlot": {
  31492. "description": "[数量]关联手数",
  31493. "type": "number"
  31494. },
  31495. "relatedmode": {
  31496. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31497. "type": "integer"
  31498. },
  31499. "relatedqty": {
  31500. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31501. "type": "number"
  31502. },
  31503. "retcode": {
  31504. "description": "返回码",
  31505. "type": "integer"
  31506. },
  31507. "saleuserid": {
  31508. "description": "业务员ID",
  31509. "type": "integer"
  31510. },
  31511. "tradedate": {
  31512. "description": "关联交易日(yyyyMMdd)",
  31513. "type": "string"
  31514. },
  31515. "tradeid": {
  31516. "description": "成交单号",
  31517. "type": "string"
  31518. },
  31519. "tradelot": {
  31520. "description": "成交手数",
  31521. "type": "integer"
  31522. },
  31523. "tradeprice": {
  31524. "description": "成交价",
  31525. "type": "number"
  31526. },
  31527. "tradetime": {
  31528. "description": "成交时间",
  31529. "type": "string"
  31530. },
  31531. "tradetradedate": {
  31532. "description": "成交交易日(yyyyMMdd)",
  31533. "type": "string"
  31534. },
  31535. "tradeuserid": {
  31536. "description": "交易用户ID",
  31537. "type": "integer"
  31538. }
  31539. }
  31540. },
  31541. "models.Loginaccount": {
  31542. "type": "object",
  31543. "required": [
  31544. "loginid"
  31545. ],
  31546. "properties": {
  31547. "accountname": {
  31548. "description": "账户名称",
  31549. "type": "string"
  31550. },
  31551. "canoutin": {
  31552. "description": "是否可出入金 - 0:不可 1:可",
  31553. "type": "integer"
  31554. },
  31555. "clientroleid": {
  31556. "description": "终端角色ID",
  31557. "type": "integer"
  31558. },
  31559. "haslogined": {
  31560. "description": "是否已登录 - 0:未登录 1:已登录",
  31561. "type": "integer"
  31562. },
  31563. "hasupdatedpwd": {
  31564. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31565. "type": "integer"
  31566. },
  31567. "lastloginip": {
  31568. "description": "最新登录地址",
  31569. "type": "string"
  31570. },
  31571. "lastloginmode": {
  31572. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31573. "type": "integer"
  31574. },
  31575. "lastloginremark": {
  31576. "description": "最新登录描述",
  31577. "type": "string"
  31578. },
  31579. "lastlogintime": {
  31580. "description": "最新登录时间",
  31581. "type": "string"
  31582. },
  31583. "logincode": {
  31584. "description": "登录代码",
  31585. "type": "string"
  31586. },
  31587. "loginfailnum": {
  31588. "description": "连续登录失败次数(登录成功时清零)",
  31589. "type": "integer"
  31590. },
  31591. "loginid": {
  31592. "description": "登陆账号",
  31593. "type": "integer"
  31594. },
  31595. "loginport": {
  31596. "description": "最新登录端口",
  31597. "type": "integer"
  31598. },
  31599. "loginstatus": {
  31600. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31601. "type": "integer"
  31602. },
  31603. "loginusertype": {
  31604. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31605. "type": "integer"
  31606. },
  31607. "mobile": {
  31608. "description": "手机号码(加密存储)",
  31609. "type": "string"
  31610. },
  31611. "modifierid": {
  31612. "description": "修改人",
  31613. "type": "integer"
  31614. },
  31615. "modifysrc": {
  31616. "description": "审核来源 - 1:管理端 2:终端",
  31617. "type": "integer"
  31618. },
  31619. "modifytime": {
  31620. "description": "修改时间",
  31621. "type": "string"
  31622. },
  31623. "pwdwrongcount": {
  31624. "description": "密码错误次数",
  31625. "type": "integer"
  31626. },
  31627. "relateduserid": {
  31628. "description": "关联用户ID(机构)",
  31629. "type": "integer"
  31630. },
  31631. "taaccountrighttype": {
  31632. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31633. "type": "integer"
  31634. },
  31635. "unfreezetime": {
  31636. "description": "账户解冻时间",
  31637. "type": "string"
  31638. },
  31639. "userid": {
  31640. "description": "用户ID",
  31641. "type": "integer"
  31642. }
  31643. }
  31644. },
  31645. "models.MainAccountInfo": {
  31646. "type": "object",
  31647. "properties": {
  31648. "accountid": {
  31649. "description": "账号id",
  31650. "type": "integer"
  31651. },
  31652. "accountname": {
  31653. "description": "账号名称(taaccount表中的名称)",
  31654. "type": "string"
  31655. },
  31656. "appid": {
  31657. "description": "AppID",
  31658. "type": "string"
  31659. },
  31660. "authcode": {
  31661. "description": "授权码",
  31662. "type": "string"
  31663. },
  31664. "brokerid": {
  31665. "description": "经纪商id",
  31666. "type": "string"
  31667. },
  31668. "fcid": {
  31669. "description": "期货公司id",
  31670. "type": "integer"
  31671. },
  31672. "fcname": {
  31673. "description": "期货公司代码",
  31674. "type": "string"
  31675. },
  31676. "hedgeaccountcode": {
  31677. "description": "外部账号代码(主账号登录代码)",
  31678. "type": "string"
  31679. },
  31680. "hedgeaccountpwd": {
  31681. "description": "密码",
  31682. "type": "string"
  31683. },
  31684. "ismain": {
  31685. "description": "是否主账号",
  31686. "type": "integer"
  31687. },
  31688. "relateduserid": {
  31689. "description": "关联用户id",
  31690. "type": "integer"
  31691. },
  31692. "userid": {
  31693. "description": "关联用户id",
  31694. "type": "integer"
  31695. }
  31696. }
  31697. },
  31698. "models.Market": {
  31699. "type": "object",
  31700. "required": [
  31701. "marketid",
  31702. "marketstatus",
  31703. "openmethod",
  31704. "reckonpricealgorithm",
  31705. "trademode",
  31706. "tradeproperty"
  31707. ],
  31708. "properties": {
  31709. "auctionwrtype": {
  31710. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  31711. "type": "integer"
  31712. },
  31713. "canacceptquote": {
  31714. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  31715. "type": "integer"
  31716. },
  31717. "cangoodsexercise": {
  31718. "description": "[期权]是否可现货行权- 0:否 1:是",
  31719. "type": "integer"
  31720. },
  31721. "cangoodsexercisetype": {
  31722. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  31723. "type": "integer"
  31724. },
  31725. "canmanualquotestrike": {
  31726. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  31727. "type": "integer"
  31728. },
  31729. "canmutistage": {
  31730. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  31731. "type": "integer"
  31732. },
  31733. "canpreexercise": {
  31734. "description": "[期权]是否可预申报- 0:否 1:是",
  31735. "type": "integer"
  31736. },
  31737. "clearinterval": {
  31738. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  31739. "type": "integer"
  31740. },
  31741. "contracttmp": {
  31742. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  31743. "type": "string"
  31744. },
  31745. "exchareaid": {
  31746. "description": "所属交易所,可以没有",
  31747. "type": "integer"
  31748. },
  31749. "goodstype": {
  31750. "description": "商品类型 - 1:交易商品 2:仓单商品",
  31751. "type": "integer"
  31752. },
  31753. "hasrebate": {
  31754. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  31755. "type": "integer"
  31756. },
  31757. "hastradecredit": {
  31758. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  31759. "type": "integer"
  31760. },
  31761. "haswr": {
  31762. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  31763. "type": "integer"
  31764. },
  31765. "isdeductmargin": {
  31766. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  31767. "type": "integer"
  31768. },
  31769. "isrecordsource": {
  31770. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  31771. "type": "integer"
  31772. },
  31773. "isreleasemargin": {
  31774. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  31775. "type": "integer"
  31776. },
  31777. "marginformula": {
  31778. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31779. "type": "integer"
  31780. },
  31781. "marginformula2": {
  31782. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  31783. "type": "integer"
  31784. },
  31785. "marketid": {
  31786. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  31787. "type": "integer"
  31788. },
  31789. "marketname": {
  31790. "description": "市场名称",
  31791. "type": "string"
  31792. },
  31793. "marketserviceid": {
  31794. "description": "市场服务ID",
  31795. "type": "integer"
  31796. },
  31797. "marketstatus": {
  31798. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  31799. "type": "integer"
  31800. },
  31801. "markettype": {
  31802. "description": "市场类型- 1:非交易服务 2:交易服务",
  31803. "type": "integer"
  31804. },
  31805. "matchermode": {
  31806. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  31807. "type": "integer"
  31808. },
  31809. "openmethod": {
  31810. "description": "开盘模式 - 0 自动 1手动",
  31811. "type": "integer"
  31812. },
  31813. "otcuserid": {
  31814. "description": "场外期权做市商[场外期权]",
  31815. "type": "integer"
  31816. },
  31817. "outersynctime": {
  31818. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  31819. "type": "string"
  31820. },
  31821. "pendingflag": {
  31822. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  31823. "type": "integer"
  31824. },
  31825. "pendingtime": {
  31826. "description": "待开市时间[通道交易-对冲](HH:mm)",
  31827. "type": "string"
  31828. },
  31829. "performancetempid": {
  31830. "description": "履约计划模板ID - 作废",
  31831. "type": "integer"
  31832. },
  31833. "premiumquotemode": {
  31834. "description": "权利金报价方式 - 1:自动 2:手动",
  31835. "type": "integer"
  31836. },
  31837. "rebateratio": {
  31838. "description": "返利比率[竞价式]",
  31839. "type": "number"
  31840. },
  31841. "reckonorder": {
  31842. "description": "结算顺序",
  31843. "type": "integer"
  31844. },
  31845. "reckonpricealgorithm": {
  31846. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  31847. "type": "integer"
  31848. },
  31849. "reckonpriceparam": {
  31850. "description": "结算价参数",
  31851. "type": "integer"
  31852. },
  31853. "reckontime": {
  31854. "description": "结算时间[通道交易-对冲](HH:mm)",
  31855. "type": "string"
  31856. },
  31857. "roleprioritytype": {
  31858. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  31859. "type": "integer"
  31860. },
  31861. "selllistingauditflag": {
  31862. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  31863. "type": "integer"
  31864. },
  31865. "trademarkettype": {
  31866. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  31867. "type": "integer"
  31868. },
  31869. "trademode": {
  31870. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  31871. "type": "integer"
  31872. },
  31873. "tradeproperty": {
  31874. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  31875. "type": "integer"
  31876. },
  31877. "tradetype": {
  31878. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  31879. "type": "integer"
  31880. }
  31881. }
  31882. },
  31883. "models.Marketcalendar": {
  31884. "type": "object",
  31885. "properties": {
  31886. "holidaydate": {
  31887. "description": "节假日期(yyyy-MM-dd)",
  31888. "type": "string"
  31889. },
  31890. "marketid": {
  31891. "description": "市场ID",
  31892. "type": "integer"
  31893. }
  31894. }
  31895. },
  31896. "models.Marketrun": {
  31897. "type": "object",
  31898. "required": [
  31899. "marketid",
  31900. "nexttradedate",
  31901. "reckonflag",
  31902. "runstatus",
  31903. "tradedate",
  31904. "tradedate2"
  31905. ],
  31906. "properties": {
  31907. "afternexttradedate": {
  31908. "description": "下下交易日",
  31909. "type": "string"
  31910. },
  31911. "clearquoteflag": {
  31912. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  31913. "type": "integer"
  31914. },
  31915. "lastreckondate": {
  31916. "description": "最新交易日(结算成功)",
  31917. "type": "string"
  31918. },
  31919. "machinedate": {
  31920. "description": "机器时间",
  31921. "type": "string"
  31922. },
  31923. "manualflag": {
  31924. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  31925. "type": "integer"
  31926. },
  31927. "marketid": {
  31928. "description": "市场ID",
  31929. "type": "integer"
  31930. },
  31931. "nexttradedate": {
  31932. "description": "下一交易日",
  31933. "type": "string"
  31934. },
  31935. "pretradedate": {
  31936. "description": "上一交易日",
  31937. "type": "string"
  31938. },
  31939. "reckonflag": {
  31940. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  31941. "type": "integer"
  31942. },
  31943. "runstatus": {
  31944. "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.今日免清算",
  31945. "type": "integer"
  31946. },
  31947. "sectionid": {
  31948. "description": "时间段号[多时段时用]",
  31949. "type": "integer"
  31950. },
  31951. "tradedate": {
  31952. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  31953. "type": "string"
  31954. },
  31955. "tradedate2": {
  31956. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  31957. "type": "string"
  31958. },
  31959. "updatetime": {
  31960. "description": "更新时间",
  31961. "type": "string"
  31962. }
  31963. }
  31964. },
  31965. "models.Messageboard": {
  31966. "type": "object",
  31967. "required": [
  31968. "messageboardid"
  31969. ],
  31970. "properties": {
  31971. "contactnum": {
  31972. "description": "联系电话",
  31973. "type": "string"
  31974. },
  31975. "createtime": {
  31976. "description": "创建时间",
  31977. "type": "string"
  31978. },
  31979. "message": {
  31980. "description": "留言信息",
  31981. "type": "string"
  31982. },
  31983. "messageboardid": {
  31984. "description": "留言簿ID(SEQ_MessageBoard)",
  31985. "type": "integer"
  31986. },
  31987. "userid": {
  31988. "description": "用户ID",
  31989. "type": "integer"
  31990. }
  31991. }
  31992. },
  31993. "models.MyBargainApply": {
  31994. "type": "object",
  31995. "required": [
  31996. "userid"
  31997. ],
  31998. "properties": {
  31999. "accountid": {
  32000. "description": "摘牌资金账号",
  32001. "type": "integer"
  32002. },
  32003. "applyprice": {
  32004. "description": "申请价格",
  32005. "type": "string"
  32006. },
  32007. "applyremark": {
  32008. "description": "申请备注",
  32009. "type": "string"
  32010. },
  32011. "applystatus": {
  32012. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32013. "type": "integer"
  32014. },
  32015. "applytime": {
  32016. "description": "申请时间",
  32017. "type": "string"
  32018. },
  32019. "buyorsell": {
  32020. "description": "买卖 - 0:买 1:卖",
  32021. "type": "integer"
  32022. },
  32023. "buyusername": {
  32024. "description": "买方",
  32025. "type": "string"
  32026. },
  32027. "confirmprice": {
  32028. "description": "可接受价格(拒绝时填写)-作废",
  32029. "type": "number"
  32030. },
  32031. "confirmqty": {
  32032. "description": "可接受数量(拒绝时填写)-作废",
  32033. "type": "integer"
  32034. },
  32035. "confirmremark": {
  32036. "description": "确认备注",
  32037. "type": "string"
  32038. },
  32039. "confirmtime": {
  32040. "description": "确认时间",
  32041. "type": "string"
  32042. },
  32043. "confirmuserid": {
  32044. "description": "确认人",
  32045. "type": "integer"
  32046. },
  32047. "goodsno": {
  32048. "description": "商品编号",
  32049. "type": "string"
  32050. },
  32051. "handlestatus": {
  32052. "description": "处理状态",
  32053. "type": "integer"
  32054. },
  32055. "ladingbillid": {
  32056. "description": "摘牌方提单ID [卖]",
  32057. "type": "integer"
  32058. },
  32059. "marketid": {
  32060. "description": "市场ID",
  32061. "type": "integer"
  32062. },
  32063. "matchaccountid": {
  32064. "description": "挂牌方资金账号",
  32065. "type": "integer"
  32066. },
  32067. "matchuserid": {
  32068. "description": "挂牌方用户ID",
  32069. "type": "integer"
  32070. },
  32071. "performancetemplateid": {
  32072. "description": "履约计划模板ID",
  32073. "type": "integer"
  32074. },
  32075. "price": {
  32076. "description": "价格",
  32077. "type": "number"
  32078. },
  32079. "priceper": {
  32080. "description": "克拉单价 - 类型:1,2,3,5",
  32081. "type": "string"
  32082. },
  32083. "qty": {
  32084. "description": "申请数量",
  32085. "type": "number"
  32086. },
  32087. "refprice": {
  32088. "description": "参考价格",
  32089. "type": "string"
  32090. },
  32091. "retcode": {
  32092. "description": "委托返回代码",
  32093. "type": "integer"
  32094. },
  32095. "sellusername": {
  32096. "description": "卖方",
  32097. "type": "string"
  32098. },
  32099. "sizedisplay": {
  32100. "description": "尺寸",
  32101. "type": "string"
  32102. },
  32103. "subnum": {
  32104. "description": "摘牌方提单子单号 [卖]",
  32105. "type": "integer"
  32106. },
  32107. "tradedate": {
  32108. "description": "交易日(yyyyMMdd)",
  32109. "type": "string"
  32110. },
  32111. "userid": {
  32112. "description": "摘牌人用户ID",
  32113. "type": "integer"
  32114. },
  32115. "warehousenamedisplay": {
  32116. "type": "string"
  32117. },
  32118. "wrbargainid": {
  32119. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32120. "type": "string"
  32121. },
  32122. "wrtradeorderid": {
  32123. "description": "关联委托单ID",
  32124. "type": "string"
  32125. },
  32126. "zscerttypedisplay": {
  32127. "type": "string"
  32128. },
  32129. "zsclaritytype1display": {
  32130. "type": "string"
  32131. },
  32132. "zsclaritytype2display": {
  32133. "type": "string"
  32134. },
  32135. "zscolortype1display": {
  32136. "type": "string"
  32137. },
  32138. "zscolortype2display": {
  32139. "type": "string"
  32140. },
  32141. "zscrystaltypedisplay": {
  32142. "type": "string"
  32143. },
  32144. "zscurrencytypedisplay": {
  32145. "type": "string"
  32146. },
  32147. "zscurrencytypedisplayunit": {
  32148. "type": "string"
  32149. },
  32150. "zscuttype1display": {
  32151. "type": "string"
  32152. },
  32153. "zscuttype2display": {
  32154. "type": "string"
  32155. },
  32156. "zsczcolor1typedisplay": {
  32157. "type": "string"
  32158. },
  32159. "zsczcolor2typedisplay": {
  32160. "type": "string"
  32161. },
  32162. "zsczcolor3typedisplay": {
  32163. "type": "string"
  32164. },
  32165. "zsfluorescencetype1display": {
  32166. "type": "string"
  32167. },
  32168. "zsfluorescencetype2display": {
  32169. "type": "string"
  32170. },
  32171. "zspolishtype1display": {
  32172. "type": "string"
  32173. },
  32174. "zspolishtype2display": {
  32175. "type": "string"
  32176. },
  32177. "zsshapetypedisplay": {
  32178. "type": "string"
  32179. },
  32180. "zsstyletypedisplay": {
  32181. "type": "string"
  32182. },
  32183. "zssymmetrytype1display": {
  32184. "type": "string"
  32185. },
  32186. "zssymmetrytype2display": {
  32187. "type": "string"
  32188. }
  32189. }
  32190. },
  32191. "models.MyBuyOrder": {
  32192. "type": "object",
  32193. "required": [
  32194. "userid"
  32195. ],
  32196. "properties": {
  32197. "accountid": {
  32198. "description": "资金账户ID",
  32199. "type": "integer"
  32200. },
  32201. "marketid": {
  32202. "description": "市场ID",
  32203. "type": "integer"
  32204. },
  32205. "ordertime": {
  32206. "description": "委托时间",
  32207. "type": "string"
  32208. },
  32209. "origin": {
  32210. "description": "原产地",
  32211. "type": "string"
  32212. },
  32213. "performancetemplateid": {
  32214. "description": "履约计划模板ID",
  32215. "type": "integer"
  32216. },
  32217. "remark": {
  32218. "description": "备注",
  32219. "type": "string"
  32220. },
  32221. "userid": {
  32222. "description": "用户ID",
  32223. "type": "integer"
  32224. },
  32225. "validtime": {
  32226. "description": "有效期限",
  32227. "type": "string"
  32228. },
  32229. "warehouseids": {
  32230. "description": "仓库ID - 多个, 逗号分隔",
  32231. "type": "string"
  32232. },
  32233. "warehouseinfosdisplay": {
  32234. "type": "string"
  32235. },
  32236. "wrtradeorderid": {
  32237. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32238. "type": "string"
  32239. },
  32240. "wrtradeorderstatus": {
  32241. "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、",
  32242. "type": "integer"
  32243. },
  32244. "zscategory": {
  32245. "description": "钻石分类 - 枚举”ZSCategory“",
  32246. "type": "integer"
  32247. },
  32248. "zscategorydisplay": {
  32249. "type": "string"
  32250. },
  32251. "zsclaritytype": {
  32252. "description": "净度 - 两个, 逗号分隔",
  32253. "type": "string"
  32254. },
  32255. "zsclaritytypedisplay": {
  32256. "type": "string"
  32257. },
  32258. "zscolortype": {
  32259. "description": "颜色 - 两个, 逗号分隔",
  32260. "type": "string"
  32261. },
  32262. "zscolortypedisplay": {
  32263. "type": "string"
  32264. },
  32265. "zscrystaltype": {
  32266. "description": "晶型 - 多个,逗号分隔",
  32267. "type": "string"
  32268. },
  32269. "zscrystaltypedisplay": {
  32270. "type": "string"
  32271. },
  32272. "zscurrencytype": {
  32273. "description": "货币类型 - 多个, 逗号分隔",
  32274. "type": "string"
  32275. },
  32276. "zscurrencytypedisplay": {
  32277. "type": "string"
  32278. },
  32279. "zscuttype": {
  32280. "description": "切工 - 两个, 逗号分隔",
  32281. "type": "string"
  32282. },
  32283. "zscuttypedisplay": {
  32284. "type": "string"
  32285. },
  32286. "zsczcolor1type": {
  32287. "description": "彩钻颜色1, 逗号分隔",
  32288. "type": "string"
  32289. },
  32290. "zsczcolor1typedisplay": {
  32291. "type": "string"
  32292. },
  32293. "zsczcolor2type": {
  32294. "description": "彩钻颜色2, 逗号分隔",
  32295. "type": "string"
  32296. },
  32297. "zsczcolor2typedisplay": {
  32298. "type": "string"
  32299. },
  32300. "zsczcolor3type": {
  32301. "description": "彩钻颜色3, 逗号分隔",
  32302. "type": "string"
  32303. },
  32304. "zsczcolor3typedisplay": {
  32305. "type": "string"
  32306. },
  32307. "zsfluorescencetype": {
  32308. "description": "荧光 - 多个, 逗号分隔",
  32309. "type": "string"
  32310. },
  32311. "zsfluorescencetypedisplay": {
  32312. "type": "string"
  32313. },
  32314. "zspolishtype": {
  32315. "description": "抛光度 - 两个, 逗号分隔",
  32316. "type": "string"
  32317. },
  32318. "zspolishtypedisplay": {
  32319. "type": "string"
  32320. },
  32321. "zsshapetype": {
  32322. "description": "形状 - 多个, 逗号分隔",
  32323. "type": "string"
  32324. },
  32325. "zsshapetypedisplay": {
  32326. "type": "string"
  32327. },
  32328. "zssize": {
  32329. "description": "尺寸 - 两个小数, 逗号分隔",
  32330. "type": "string"
  32331. },
  32332. "zsstyletype": {
  32333. "description": "款式 - 多个, 逗号分隔",
  32334. "type": "string"
  32335. },
  32336. "zsstyletypedisplay": {
  32337. "type": "string"
  32338. },
  32339. "zssymmetrytype": {
  32340. "description": "对称度 - 两个, 逗号分隔",
  32341. "type": "string"
  32342. },
  32343. "zssymmetrytypedisplay": {
  32344. "type": "string"
  32345. },
  32346. "zstabledisplay": {
  32347. "description": "求购信息",
  32348. "type": "string"
  32349. }
  32350. }
  32351. },
  32352. "models.MyDeListing": {
  32353. "type": "object",
  32354. "required": [
  32355. "userid"
  32356. ],
  32357. "properties": {
  32358. "buyaccountid": {
  32359. "description": "买方账号ID",
  32360. "type": "integer"
  32361. },
  32362. "buychargevalue": {
  32363. "description": "买方手续费",
  32364. "type": "number"
  32365. },
  32366. "buyuserid": {
  32367. "description": "买方用户ID",
  32368. "type": "integer"
  32369. },
  32370. "deliverygoodsid": {
  32371. "description": "现货品种ID",
  32372. "type": "integer"
  32373. },
  32374. "exchangerate": {
  32375. "description": "汇率",
  32376. "type": "number"
  32377. },
  32378. "goodsno": {
  32379. "description": "商品编号",
  32380. "type": "string"
  32381. },
  32382. "marketid": {
  32383. "description": "市场ID",
  32384. "type": "integer"
  32385. },
  32386. "matchusername": {
  32387. "description": "对手方",
  32388. "type": "string"
  32389. },
  32390. "oritradeamount": {
  32391. "description": "成交金额[商品币种]",
  32392. "type": "number"
  32393. },
  32394. "performanceplanid": {
  32395. "description": "履约计划ID/合同ID",
  32396. "type": "string"
  32397. },
  32398. "price": {
  32399. "description": "价格",
  32400. "type": "number"
  32401. },
  32402. "qty": {
  32403. "description": "成交重量",
  32404. "type": "number"
  32405. },
  32406. "sellaccountid": {
  32407. "description": "卖方账号ID",
  32408. "type": "integer"
  32409. },
  32410. "sellchargevalue": {
  32411. "description": "卖方手续费",
  32412. "type": "number"
  32413. },
  32414. "selluserid": {
  32415. "description": "卖方用户ID",
  32416. "type": "integer"
  32417. },
  32418. "sizedisplay": {
  32419. "description": "尺寸",
  32420. "type": "string"
  32421. },
  32422. "tradeamount": {
  32423. "description": "成交金额",
  32424. "type": "number"
  32425. },
  32426. "tradedate": {
  32427. "description": "交易日(yyyyMMdd)",
  32428. "type": "string"
  32429. },
  32430. "tradeprice": {
  32431. "description": "成交价格",
  32432. "type": "number"
  32433. },
  32434. "tradetime": {
  32435. "description": "成交时间",
  32436. "type": "string"
  32437. },
  32438. "userid": {
  32439. "description": "用户ID",
  32440. "type": "integer"
  32441. },
  32442. "warehousenamedisplay": {
  32443. "type": "string"
  32444. },
  32445. "wrfactortypeid": {
  32446. "description": "仓单要素类型ID",
  32447. "type": "integer"
  32448. },
  32449. "wrstandardid": {
  32450. "description": "现货商品ID",
  32451. "type": "integer"
  32452. },
  32453. "wrtradedetailid": {
  32454. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32455. "type": "string"
  32456. },
  32457. "zscategory": {
  32458. "description": "钻石分类 - 枚举”ZSCategory“",
  32459. "type": "integer"
  32460. },
  32461. "zscategorydisplay": {
  32462. "type": "string"
  32463. },
  32464. "zscerttypedisplay": {
  32465. "type": "string"
  32466. },
  32467. "zsclaritytype1display": {
  32468. "type": "string"
  32469. },
  32470. "zsclaritytype2display": {
  32471. "type": "string"
  32472. },
  32473. "zscolortype1display": {
  32474. "type": "string"
  32475. },
  32476. "zscolortype2display": {
  32477. "type": "string"
  32478. },
  32479. "zscrystaltypedisplay": {
  32480. "type": "string"
  32481. },
  32482. "zscurrencytype": {
  32483. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32484. "type": "integer"
  32485. },
  32486. "zscurrencytypedisplay": {
  32487. "type": "string"
  32488. },
  32489. "zscurrencytypedisplayunit": {
  32490. "type": "string"
  32491. },
  32492. "zscuttype1display": {
  32493. "type": "string"
  32494. },
  32495. "zscuttype2display": {
  32496. "type": "string"
  32497. },
  32498. "zsczcolor1typedisplay": {
  32499. "type": "string"
  32500. },
  32501. "zsczcolor2typedisplay": {
  32502. "type": "string"
  32503. },
  32504. "zsczcolor3typedisplay": {
  32505. "type": "string"
  32506. },
  32507. "zsfluorescencetype1display": {
  32508. "type": "string"
  32509. },
  32510. "zsfluorescencetype2display": {
  32511. "type": "string"
  32512. },
  32513. "zspolishtype1display": {
  32514. "type": "string"
  32515. },
  32516. "zspolishtype2display": {
  32517. "type": "string"
  32518. },
  32519. "zsshapetypedisplay": {
  32520. "type": "string"
  32521. },
  32522. "zsstyletypedisplay": {
  32523. "type": "string"
  32524. },
  32525. "zssymmetrytype1display": {
  32526. "type": "string"
  32527. },
  32528. "zssymmetrytype2display": {
  32529. "type": "string"
  32530. }
  32531. }
  32532. },
  32533. "models.MyDelistingApply": {
  32534. "type": "object",
  32535. "required": [
  32536. "selluserid"
  32537. ],
  32538. "properties": {
  32539. "applyprice": {
  32540. "description": "申请价格",
  32541. "type": "number"
  32542. },
  32543. "applyqty": {
  32544. "description": "申请数量",
  32545. "type": "number"
  32546. },
  32547. "applyremark": {
  32548. "description": "申请备注",
  32549. "type": "string"
  32550. },
  32551. "applystatus": {
  32552. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32553. "type": "integer"
  32554. },
  32555. "applytime": {
  32556. "description": "申请时间",
  32557. "type": "string"
  32558. },
  32559. "auditremark": {
  32560. "description": "确认备注",
  32561. "type": "string"
  32562. },
  32563. "audittime": {
  32564. "description": "确认时间",
  32565. "type": "string"
  32566. },
  32567. "buyuserid": {
  32568. "description": "买方用户ID",
  32569. "type": "integer"
  32570. },
  32571. "buyusername": {
  32572. "description": "买方",
  32573. "type": "string"
  32574. },
  32575. "buywrtradeorderid": {
  32576. "description": "买委托单ID",
  32577. "type": "string"
  32578. },
  32579. "goodsno": {
  32580. "description": "商品编号",
  32581. "type": "string"
  32582. },
  32583. "ladingbillid": {
  32584. "description": "卖方提单ID",
  32585. "type": "string"
  32586. },
  32587. "marketid": {
  32588. "description": "市场ID",
  32589. "type": "integer"
  32590. },
  32591. "performancetemplateid": {
  32592. "description": "履约计划模板ID",
  32593. "type": "integer"
  32594. },
  32595. "price": {
  32596. "description": "价格",
  32597. "type": "number"
  32598. },
  32599. "sellaccountid": {
  32600. "description": "卖方账户ID",
  32601. "type": "integer"
  32602. },
  32603. "selldelistingapplyid": {
  32604. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  32605. "type": "string"
  32606. },
  32607. "selltradeorderid": {
  32608. "description": "卖方委托ID(买方确认成交后更新)",
  32609. "type": "string"
  32610. },
  32611. "selluserid": {
  32612. "description": "卖方用户ID",
  32613. "type": "integer"
  32614. },
  32615. "sellusername": {
  32616. "description": "卖方",
  32617. "type": "string"
  32618. },
  32619. "sizedisplay": {
  32620. "description": "尺寸",
  32621. "type": "string"
  32622. },
  32623. "subnum": {
  32624. "description": "卖方提单子单号",
  32625. "type": "integer"
  32626. },
  32627. "warehouseinfosdisplay": {
  32628. "type": "string"
  32629. },
  32630. "weight": {
  32631. "description": "克拉重量",
  32632. "type": "number"
  32633. },
  32634. "wrfactortypeid": {
  32635. "description": "仓单要素类型ID",
  32636. "type": "string"
  32637. },
  32638. "wrstandardid": {
  32639. "description": "现货商品ID",
  32640. "type": "integer"
  32641. },
  32642. "zsallproperties": {
  32643. "type": "string"
  32644. },
  32645. "zscategorydisplay": {
  32646. "type": "string"
  32647. },
  32648. "zsclaritytypedisplay": {
  32649. "type": "string"
  32650. },
  32651. "zscolortypedisplay": {
  32652. "type": "string"
  32653. },
  32654. "zscrystaltypedisplay": {
  32655. "type": "string"
  32656. },
  32657. "zscurrencytypedisplay": {
  32658. "type": "string"
  32659. },
  32660. "zscurrencytypedisplayunit": {
  32661. "description": "价格单位",
  32662. "type": "string"
  32663. },
  32664. "zscuttypedisplay": {
  32665. "type": "string"
  32666. },
  32667. "zsczcolor1typedisplay": {
  32668. "type": "string"
  32669. },
  32670. "zsczcolor2typedisplay": {
  32671. "type": "string"
  32672. },
  32673. "zsczcolor3typedisplay": {
  32674. "type": "string"
  32675. },
  32676. "zsfluorescencetypedisplay": {
  32677. "type": "string"
  32678. },
  32679. "zspolishtypedisplay": {
  32680. "type": "string"
  32681. },
  32682. "zsshapetypedisplay": {
  32683. "type": "string"
  32684. },
  32685. "zssizedisplay": {
  32686. "type": "string"
  32687. },
  32688. "zsstyletypedisplay": {
  32689. "type": "string"
  32690. },
  32691. "zssymmetrytypedisplay": {
  32692. "type": "string"
  32693. },
  32694. "zstabledisplay": {
  32695. "type": "string"
  32696. }
  32697. }
  32698. },
  32699. "models.MyFavorite": {
  32700. "type": "object",
  32701. "required": [
  32702. "userid"
  32703. ],
  32704. "properties": {
  32705. "accountname": {
  32706. "description": "账户名称(机构名称)",
  32707. "type": "string"
  32708. },
  32709. "buyorsell": {
  32710. "description": "买卖 - 0:买 1:卖",
  32711. "type": "integer"
  32712. },
  32713. "favoritestatus": {
  32714. "description": "收藏状态 - 1:正常 2:失效",
  32715. "type": "integer"
  32716. },
  32717. "goodsno": {
  32718. "description": "商品编号",
  32719. "type": "string"
  32720. },
  32721. "marketid": {
  32722. "description": "市场ID",
  32723. "type": "integer"
  32724. },
  32725. "price": {
  32726. "description": "价格",
  32727. "type": "number"
  32728. },
  32729. "priceper": {
  32730. "description": "克拉单价",
  32731. "type": "string"
  32732. },
  32733. "sizedisplay": {
  32734. "description": "尺寸",
  32735. "type": "string"
  32736. },
  32737. "userid": {
  32738. "description": "用户ID",
  32739. "type": "integer"
  32740. },
  32741. "warehousenamedisplay": {
  32742. "type": "string"
  32743. },
  32744. "weight": {
  32745. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  32746. "type": "number"
  32747. },
  32748. "weightavg": {
  32749. "description": "平均单颗重量 - 类型:1,3",
  32750. "type": "number"
  32751. },
  32752. "wrfactortypeid": {
  32753. "description": "仓单要素类型ID/商品ID(77)",
  32754. "type": "string"
  32755. },
  32756. "wrstandardid": {
  32757. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  32758. "type": "integer"
  32759. },
  32760. "wrtradeorderid": {
  32761. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32762. "type": "string"
  32763. },
  32764. "zscategory": {
  32765. "description": "钻石分类 - 枚举”ZSCategory“",
  32766. "type": "integer"
  32767. },
  32768. "zscategorydisplay": {
  32769. "type": "string"
  32770. },
  32771. "zscerttypedisplay": {
  32772. "type": "string"
  32773. },
  32774. "zsclaritytype1display": {
  32775. "type": "string"
  32776. },
  32777. "zsclaritytype2display": {
  32778. "type": "string"
  32779. },
  32780. "zscolortype1display": {
  32781. "type": "string"
  32782. },
  32783. "zscolortype2display": {
  32784. "type": "string"
  32785. },
  32786. "zscrystaltypedisplay": {
  32787. "type": "string"
  32788. },
  32789. "zscurrencytypedisplay": {
  32790. "type": "string"
  32791. },
  32792. "zscurrencytypedisplayunit": {
  32793. "type": "string"
  32794. },
  32795. "zscuttype1display": {
  32796. "type": "string"
  32797. },
  32798. "zscuttype2display": {
  32799. "type": "string"
  32800. },
  32801. "zsczcolor1typedisplay": {
  32802. "type": "string"
  32803. },
  32804. "zsczcolor2typedisplay": {
  32805. "type": "string"
  32806. },
  32807. "zsczcolor3typedisplay": {
  32808. "type": "string"
  32809. },
  32810. "zsfluorescencetype1display": {
  32811. "type": "string"
  32812. },
  32813. "zsfluorescencetype2display": {
  32814. "type": "string"
  32815. },
  32816. "zspolishtype1display": {
  32817. "type": "string"
  32818. },
  32819. "zspolishtype2display": {
  32820. "type": "string"
  32821. },
  32822. "zsshapetypedisplay": {
  32823. "type": "string"
  32824. },
  32825. "zsstyletypedisplay": {
  32826. "type": "string"
  32827. },
  32828. "zssymmetrytype1display": {
  32829. "type": "string"
  32830. },
  32831. "zssymmetrytype2display": {
  32832. "type": "string"
  32833. }
  32834. }
  32835. },
  32836. "models.MyPerformanc": {
  32837. "type": "object",
  32838. "properties": {
  32839. "accountname": {
  32840. "description": "[对手方]账户名称(机构名称)",
  32841. "type": "string"
  32842. },
  32843. "amount": {
  32844. "description": "履约金额",
  32845. "type": "number"
  32846. },
  32847. "buyaccountid": {
  32848. "description": "买方账号",
  32849. "type": "integer"
  32850. },
  32851. "buyerfreezeamount": {
  32852. "description": "买方履约前冻结资金",
  32853. "type": "number"
  32854. },
  32855. "buyerfreezeamountremain": {
  32856. "description": "买方履约前冻结资金剩余",
  32857. "type": "number"
  32858. },
  32859. "buyerinfo": {
  32860. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  32861. "type": "string"
  32862. },
  32863. "buyorsell": {
  32864. "description": "方向 - 0:买 1:卖",
  32865. "type": "integer"
  32866. },
  32867. "buypaidamount": {
  32868. "description": "买方已冻/已扣金额",
  32869. "type": "number"
  32870. },
  32871. "buytodayamount": {
  32872. "description": "买方今日扣/冻金额 (待开市时清零)",
  32873. "type": "number"
  32874. },
  32875. "curstepid": {
  32876. "description": "当前步骤ID",
  32877. "type": "string"
  32878. },
  32879. "goodsno": {
  32880. "description": "商品编号",
  32881. "type": "string"
  32882. },
  32883. "overshortamount": {
  32884. "description": "溢短金额",
  32885. "type": "number"
  32886. },
  32887. "paymenttype": {
  32888. "description": "买方支付方式 - 1:冻结 2:扣款",
  32889. "type": "integer"
  32890. },
  32891. "performanceplanid": {
  32892. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  32893. "type": "string"
  32894. },
  32895. "performancestatus": {
  32896. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  32897. "type": "integer"
  32898. },
  32899. "price": {
  32900. "description": "价格",
  32901. "type": "number"
  32902. },
  32903. "priceper": {
  32904. "description": "克拉单价",
  32905. "type": "string"
  32906. },
  32907. "relatedorderid": {
  32908. "description": "关联单号(履约类型的关联单号)",
  32909. "type": "string"
  32910. },
  32911. "remaindays": {
  32912. "description": "剩余天数",
  32913. "type": "integer"
  32914. },
  32915. "sellerfreezeamount": {
  32916. "description": "卖方履约前冻结资金",
  32917. "type": "number"
  32918. },
  32919. "sellerfreezeamountremain": {
  32920. "description": "卖方履约前冻结资金剩余",
  32921. "type": "number"
  32922. },
  32923. "sellerinfo": {
  32924. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  32925. "type": "string"
  32926. },
  32927. "sellreceivedamount": {
  32928. "description": "卖方已收金额",
  32929. "type": "number"
  32930. },
  32931. "selltodayamount": {
  32932. "description": "卖方今日收取金额(待开市时清零)",
  32933. "type": "number"
  32934. },
  32935. "sizedisplay": {
  32936. "description": "尺寸",
  32937. "type": "string"
  32938. },
  32939. "steptypeid": {
  32940. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  32941. "type": "integer"
  32942. },
  32943. "warehousenamedisplay": {
  32944. "type": "string"
  32945. },
  32946. "zscategorydisplay": {
  32947. "type": "string"
  32948. },
  32949. "zscerttypedisplay": {
  32950. "type": "string"
  32951. },
  32952. "zsclaritytype1display": {
  32953. "type": "string"
  32954. },
  32955. "zsclaritytype2display": {
  32956. "type": "string"
  32957. },
  32958. "zscolortype1display": {
  32959. "type": "string"
  32960. },
  32961. "zscolortype2display": {
  32962. "type": "string"
  32963. },
  32964. "zscrystaltypedisplay": {
  32965. "type": "string"
  32966. },
  32967. "zscurrencytypedisplay": {
  32968. "type": "string"
  32969. },
  32970. "zscurrencytypedisplayunit": {
  32971. "type": "string"
  32972. },
  32973. "zscuttype1display": {
  32974. "type": "string"
  32975. },
  32976. "zscuttype2display": {
  32977. "type": "string"
  32978. },
  32979. "zsczcolor1typedisplay": {
  32980. "type": "string"
  32981. },
  32982. "zsczcolor2typedisplay": {
  32983. "type": "string"
  32984. },
  32985. "zsczcolor3typedisplay": {
  32986. "type": "string"
  32987. },
  32988. "zsfluorescencetype1display": {
  32989. "type": "string"
  32990. },
  32991. "zsfluorescencetype2display": {
  32992. "type": "string"
  32993. },
  32994. "zspolishtype1display": {
  32995. "type": "string"
  32996. },
  32997. "zspolishtype2display": {
  32998. "type": "string"
  32999. },
  33000. "zsshapetypedisplay": {
  33001. "type": "string"
  33002. },
  33003. "zsstyletypedisplay": {
  33004. "type": "string"
  33005. },
  33006. "zssymmetrytype1display": {
  33007. "type": "string"
  33008. },
  33009. "zssymmetrytype2display": {
  33010. "type": "string"
  33011. }
  33012. }
  33013. },
  33014. "models.MySellOrder": {
  33015. "type": "object",
  33016. "required": [
  33017. "userid"
  33018. ],
  33019. "properties": {
  33020. "accountid": {
  33021. "description": "资金账号",
  33022. "type": "integer"
  33023. },
  33024. "applyid": {
  33025. "description": "申请单ID",
  33026. "type": "integer"
  33027. },
  33028. "attachment1": {
  33029. "description": "附件1",
  33030. "type": "string"
  33031. },
  33032. "attachment2": {
  33033. "description": "附件2",
  33034. "type": "string"
  33035. },
  33036. "buyorsell": {
  33037. "description": "买卖 - 0:买 1:卖",
  33038. "type": "integer"
  33039. },
  33040. "canbargain": {
  33041. "description": "是否可议价 - 0:不可 1:可",
  33042. "type": "integer"
  33043. },
  33044. "cancelqty": {
  33045. "description": "撤销数量",
  33046. "type": "integer"
  33047. },
  33048. "canceltime": {
  33049. "description": "撤销时间",
  33050. "type": "string"
  33051. },
  33052. "cerno": {
  33053. "type": "string"
  33054. },
  33055. "chargealgorithm": {
  33056. "description": "手续费收取方式 1:比率 2:固定",
  33057. "type": "integer"
  33058. },
  33059. "chargealgorithmvalue": {
  33060. "description": "手续费设置值(交易所部分)",
  33061. "type": "number"
  33062. },
  33063. "chargealgorithmvalue2": {
  33064. "description": "手续费设置值(会员部分)",
  33065. "type": "number"
  33066. },
  33067. "clientordertime": {
  33068. "description": "客户端委托时间",
  33069. "type": "string"
  33070. },
  33071. "cpcertno": {
  33072. "type": "string"
  33073. },
  33074. "exchangerate": {
  33075. "description": "汇率[67]",
  33076. "type": "number"
  33077. },
  33078. "firstratio": {
  33079. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  33080. "type": "number"
  33081. },
  33082. "fixedprice": {
  33083. "description": "[克拉单价]固定价格 - [挂牌]",
  33084. "type": "number"
  33085. },
  33086. "freezecharge": {
  33087. "description": "冻结手续费",
  33088. "type": "number"
  33089. },
  33090. "freezefirstamount": {
  33091. "description": "冻结首付金额 - [摘牌]",
  33092. "type": "number"
  33093. },
  33094. "freezemargin": {
  33095. "description": "冻结保证金",
  33096. "type": "number"
  33097. },
  33098. "goodsno": {
  33099. "description": "商品编号",
  33100. "type": "string"
  33101. },
  33102. "imagepath": {
  33103. "type": "string"
  33104. },
  33105. "isspecified": {
  33106. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  33107. "type": "integer"
  33108. },
  33109. "kppath": {
  33110. "type": "string"
  33111. },
  33112. "kpweight": {
  33113. "type": "string"
  33114. },
  33115. "marginalgorithm": {
  33116. "description": "保证金方式 - 1:比率 2:固定",
  33117. "type": "integer"
  33118. },
  33119. "marginvalue": {
  33120. "description": "保证金设置值",
  33121. "type": "number"
  33122. },
  33123. "marketid": {
  33124. "description": "市场ID",
  33125. "type": "integer"
  33126. },
  33127. "marketprice": {
  33128. "type": "string"
  33129. },
  33130. "orderamount": {
  33131. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  33132. "type": "number"
  33133. },
  33134. "ordertime": {
  33135. "description": "委托时间",
  33136. "type": "string"
  33137. },
  33138. "performancetemplateid": {
  33139. "description": "履约计划模板ID",
  33140. "type": "integer"
  33141. },
  33142. "price": {
  33143. "description": "价格",
  33144. "type": "number"
  33145. },
  33146. "pricefactor": {
  33147. "description": "价格系数(浮动价时填写) - [挂牌]",
  33148. "type": "number"
  33149. },
  33150. "pricemove": {
  33151. "description": "升贴水(浮动价时填写) - [挂牌]",
  33152. "type": "number"
  33153. },
  33154. "priceper": {
  33155. "type": "string"
  33156. },
  33157. "relatedwrtradeorderid": {
  33158. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  33159. "type": "integer"
  33160. },
  33161. "remark": {
  33162. "type": "string"
  33163. },
  33164. "retcode": {
  33165. "description": "错误代码",
  33166. "type": "integer"
  33167. },
  33168. "selledqty": {
  33169. "description": "成交重量",
  33170. "type": "number"
  33171. },
  33172. "settingmaterial": {
  33173. "type": "string"
  33174. },
  33175. "size1": {
  33176. "type": "string"
  33177. },
  33178. "size2": {
  33179. "type": "string"
  33180. },
  33181. "size3": {
  33182. "type": "string"
  33183. },
  33184. "sizedisplay": {
  33185. "description": "尺寸",
  33186. "type": "string"
  33187. },
  33188. "stonedesc": {
  33189. "type": "string"
  33190. },
  33191. "totalqty": {
  33192. "description": "总重量",
  33193. "type": "number"
  33194. },
  33195. "tradedate": {
  33196. "description": "交易日(yyyyMMdd)",
  33197. "type": "string"
  33198. },
  33199. "tradeprice": {
  33200. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33201. "type": "number"
  33202. },
  33203. "unfreezecharge": {
  33204. "description": "解冻手续费",
  33205. "type": "number"
  33206. },
  33207. "unfreezefirstamount": {
  33208. "description": "解冻首付金额 - [摘牌]",
  33209. "type": "number"
  33210. },
  33211. "unfreezemargin": {
  33212. "description": "解冻保证金",
  33213. "type": "number"
  33214. },
  33215. "userid": {
  33216. "description": "用户ID",
  33217. "type": "integer"
  33218. },
  33219. "uuid": {
  33220. "description": "发起端唯一id",
  33221. "type": "string"
  33222. },
  33223. "validtime": {
  33224. "description": "有效期限",
  33225. "type": "string"
  33226. },
  33227. "validtype": {
  33228. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33229. "type": "integer"
  33230. },
  33231. "warehousenamedisplay": {
  33232. "type": "string"
  33233. },
  33234. "wrbargainid": {
  33235. "description": "议价申请单ID",
  33236. "type": "integer"
  33237. },
  33238. "wrfactortypeid": {
  33239. "description": "仓单要素类型ID/商品ID(77)",
  33240. "type": "integer"
  33241. },
  33242. "wrpath": {
  33243. "type": "string"
  33244. },
  33245. "wrpricetype": {
  33246. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33247. "type": "integer"
  33248. },
  33249. "wrstandardid": {
  33250. "description": "现货商品ID",
  33251. "type": "integer"
  33252. },
  33253. "wrtradeorderid": {
  33254. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33255. "type": "string"
  33256. },
  33257. "wrtradeorderstatus": {
  33258. "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:撤单解冻贷款失败",
  33259. "type": "integer"
  33260. },
  33261. "wrtradetype": {
  33262. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33263. "type": "integer"
  33264. },
  33265. "wrtransferuserid": {
  33266. "description": "仓单受让用户 - [摘牌]",
  33267. "type": "integer"
  33268. },
  33269. "zscategory": {
  33270. "description": "钻石分类 - 枚举”ZSCategory“",
  33271. "type": "integer"
  33272. },
  33273. "zscategorydisplay": {
  33274. "description": "钻石分类 - 描述",
  33275. "type": "string"
  33276. },
  33277. "zscerttypedisplay": {
  33278. "type": "string"
  33279. },
  33280. "zsclaritytype1display": {
  33281. "type": "string"
  33282. },
  33283. "zsclaritytype2display": {
  33284. "type": "string"
  33285. },
  33286. "zscolortype1display": {
  33287. "type": "string"
  33288. },
  33289. "zscolortype2display": {
  33290. "type": "string"
  33291. },
  33292. "zscrystaltype": {
  33293. "type": "string"
  33294. },
  33295. "zscrystaltypedisplay": {
  33296. "type": "string"
  33297. },
  33298. "zscurrencytype": {
  33299. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33300. "type": "integer"
  33301. },
  33302. "zscurrencytypedisplay": {
  33303. "type": "string"
  33304. },
  33305. "zscurrencytypedisplayunit": {
  33306. "type": "string"
  33307. },
  33308. "zscuttype1display": {
  33309. "type": "string"
  33310. },
  33311. "zscuttype2display": {
  33312. "type": "string"
  33313. },
  33314. "zsczcolor1typedisplay": {
  33315. "type": "string"
  33316. },
  33317. "zsczcolor2typedisplay": {
  33318. "type": "string"
  33319. },
  33320. "zsczcolor3typedisplay": {
  33321. "type": "string"
  33322. },
  33323. "zsfluorescencetype1display": {
  33324. "type": "string"
  33325. },
  33326. "zsfluorescencetype2display": {
  33327. "type": "string"
  33328. },
  33329. "zspolishtype1display": {
  33330. "type": "string"
  33331. },
  33332. "zspolishtype2display": {
  33333. "type": "string"
  33334. },
  33335. "zsshapetypedisplay": {
  33336. "type": "string"
  33337. },
  33338. "zsstyletypedisplay": {
  33339. "type": "string"
  33340. },
  33341. "zssymmetrytype1display": {
  33342. "type": "string"
  33343. },
  33344. "zssymmetrytype2display": {
  33345. "type": "string"
  33346. }
  33347. }
  33348. },
  33349. "models.MyWRPosition": {
  33350. "type": "object",
  33351. "required": [
  33352. "wruserid"
  33353. ],
  33354. "properties": {
  33355. "cerno": {
  33356. "description": "证书编号 - 类型:2,4,5",
  33357. "type": "string"
  33358. },
  33359. "cpcertno": {
  33360. "description": "金伯利证书编号 - 类型:3",
  33361. "type": "string"
  33362. },
  33363. "ffreezeqty": {
  33364. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  33365. "type": "number"
  33366. },
  33367. "ftotalqty": {
  33368. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  33369. "type": "number"
  33370. },
  33371. "goodsno": {
  33372. "description": "商品编号",
  33373. "type": "string"
  33374. },
  33375. "imagepath": {
  33376. "description": "商品照片(相对地址)",
  33377. "type": "string"
  33378. },
  33379. "isvalid": {
  33380. "description": "是否有效 - 0:无效 1:有效",
  33381. "type": "integer"
  33382. },
  33383. "kppath": {
  33384. "description": "金伯利证书图片(相对地址) - 类型:3",
  33385. "type": "string"
  33386. },
  33387. "kpweight": {
  33388. "description": "金伯利证书重量 - 类型:3",
  33389. "type": "string"
  33390. },
  33391. "ladingbillid": {
  33392. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33393. "type": "string"
  33394. },
  33395. "marketflag": {
  33396. "description": "是否上架,0-全部 1-是 2-否",
  33397. "type": "integer"
  33398. },
  33399. "marketprice": {
  33400. "description": "市场价",
  33401. "type": "string"
  33402. },
  33403. "origin": {
  33404. "description": "原产地 - 类型:3",
  33405. "type": "string"
  33406. },
  33407. "price": {
  33408. "description": "总价(价格) - 类型:1,2,3,4,5",
  33409. "type": "number"
  33410. },
  33411. "priceper": {
  33412. "description": "克拉单价 - 类型:1,2,3,5",
  33413. "type": "string"
  33414. },
  33415. "remark": {
  33416. "description": "备注",
  33417. "type": "string"
  33418. },
  33419. "sellmobile": {
  33420. "description": "手机号码(加密存储)",
  33421. "type": "string"
  33422. },
  33423. "sellusername": {
  33424. "description": "账户名称(机构名称)",
  33425. "type": "string"
  33426. },
  33427. "settingmaterial": {
  33428. "description": "镶嵌材料 - 类型:4",
  33429. "type": "string"
  33430. },
  33431. "size1": {
  33432. "description": "尺寸1 - 类型:2,4,5",
  33433. "type": "string"
  33434. },
  33435. "size2": {
  33436. "description": "尺寸2 - 类型:2,4,5",
  33437. "type": "string"
  33438. },
  33439. "size3": {
  33440. "description": "尺寸3 - 类型:2,4,5",
  33441. "type": "string"
  33442. },
  33443. "sizedisplay": {
  33444. "description": "尺寸",
  33445. "type": "string"
  33446. },
  33447. "stonedesc": {
  33448. "description": "配石描述 - 类型:4",
  33449. "type": "string"
  33450. },
  33451. "subnum": {
  33452. "description": "提单子单号",
  33453. "type": "integer"
  33454. },
  33455. "userid": {
  33456. "description": "用户ID",
  33457. "type": "integer"
  33458. },
  33459. "warehouseid": {
  33460. "description": "仓库ID",
  33461. "type": "integer"
  33462. },
  33463. "warehousenamedisplay": {
  33464. "type": "string"
  33465. },
  33466. "weight": {
  33467. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33468. "type": "number"
  33469. },
  33470. "weightavg": {
  33471. "description": "平均单颗重量 - 类型:1,3",
  33472. "type": "number"
  33473. },
  33474. "wrpath": {
  33475. "description": "仓单扫描件(相对地址)",
  33476. "type": "string"
  33477. },
  33478. "wrstandardid": {
  33479. "description": "现货商品ID",
  33480. "type": "integer"
  33481. },
  33482. "wrtradeorderid": {
  33483. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33484. "type": "string"
  33485. },
  33486. "wruserid": {
  33487. "description": "登录用户ID",
  33488. "type": "integer"
  33489. },
  33490. "zscategory": {
  33491. "description": "钻石分类 - 枚举”ZSCategory“",
  33492. "type": "integer"
  33493. },
  33494. "zscategorydisplay": {
  33495. "type": "string"
  33496. },
  33497. "zscerttype": {
  33498. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  33499. "type": "integer"
  33500. },
  33501. "zscerttypedisplay": {
  33502. "type": "string"
  33503. },
  33504. "zsclaritytype1": {
  33505. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  33506. "type": "integer"
  33507. },
  33508. "zsclaritytype1display": {
  33509. "type": "string"
  33510. },
  33511. "zsclaritytype2": {
  33512. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  33513. "type": "integer"
  33514. },
  33515. "zsclaritytype2display": {
  33516. "type": "string"
  33517. },
  33518. "zscolortype1": {
  33519. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  33520. "type": "integer"
  33521. },
  33522. "zscolortype1display": {
  33523. "type": "string"
  33524. },
  33525. "zscolortype2": {
  33526. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  33527. "type": "integer"
  33528. },
  33529. "zscolortype2display": {
  33530. "type": "string"
  33531. },
  33532. "zscrystaltype": {
  33533. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  33534. "type": "string"
  33535. },
  33536. "zscrystaltypedisplay": {
  33537. "type": "string"
  33538. },
  33539. "zscurrencytype": {
  33540. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33541. "type": "integer"
  33542. },
  33543. "zscurrencytypedisplay": {
  33544. "type": "string"
  33545. },
  33546. "zscurrencytypedisplayunit": {
  33547. "type": "string"
  33548. },
  33549. "zscuttype1": {
  33550. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  33551. "type": "integer"
  33552. },
  33553. "zscuttype1display": {
  33554. "type": "string"
  33555. },
  33556. "zscuttype2": {
  33557. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  33558. "type": "integer"
  33559. },
  33560. "zscuttype2display": {
  33561. "type": "string"
  33562. },
  33563. "zsczcolor1type": {
  33564. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  33565. "type": "integer"
  33566. },
  33567. "zsczcolor1typedisplay": {
  33568. "type": "string"
  33569. },
  33570. "zsczcolor2type": {
  33571. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  33572. "type": "integer"
  33573. },
  33574. "zsczcolor2typedisplay": {
  33575. "type": "string"
  33576. },
  33577. "zsczcolor3type": {
  33578. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  33579. "type": "integer"
  33580. },
  33581. "zsczcolor3typedisplay": {
  33582. "type": "string"
  33583. },
  33584. "zsfluorescencetype1": {
  33585. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  33586. "type": "integer"
  33587. },
  33588. "zsfluorescencetype1display": {
  33589. "type": "string"
  33590. },
  33591. "zsfluorescencetype2": {
  33592. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  33593. "type": "integer"
  33594. },
  33595. "zsfluorescencetype2display": {
  33596. "type": "string"
  33597. },
  33598. "zspolishtype1": {
  33599. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  33600. "type": "integer"
  33601. },
  33602. "zspolishtype1display": {
  33603. "type": "string"
  33604. },
  33605. "zspolishtype2": {
  33606. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  33607. "type": "integer"
  33608. },
  33609. "zspolishtype2display": {
  33610. "type": "string"
  33611. },
  33612. "zsshapetype": {
  33613. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  33614. "type": "string"
  33615. },
  33616. "zsshapetypedisplay": {
  33617. "type": "string"
  33618. },
  33619. "zsstyletype": {
  33620. "description": "款式 - 类型:4",
  33621. "type": "integer"
  33622. },
  33623. "zsstyletypedisplay": {
  33624. "type": "string"
  33625. },
  33626. "zssymmetrytype1": {
  33627. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  33628. "type": "integer"
  33629. },
  33630. "zssymmetrytype1display": {
  33631. "type": "string"
  33632. },
  33633. "zssymmetrytype2": {
  33634. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  33635. "type": "integer"
  33636. },
  33637. "zssymmetrytype2display": {
  33638. "type": "string"
  33639. }
  33640. }
  33641. },
  33642. "models.NewFuncmenulist": {
  33643. "type": "object",
  33644. "required": [
  33645. "resourcecode"
  33646. ],
  33647. "properties": {
  33648. "authtype": {
  33649. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  33650. "type": "integer"
  33651. },
  33652. "buttonname": {
  33653. "description": "按钮名称",
  33654. "type": "string"
  33655. },
  33656. "buttontype": {
  33657. "description": "按钮类型 - 存按钮样式",
  33658. "type": "string"
  33659. },
  33660. "component": {
  33661. "description": "组件名或组件地址",
  33662. "type": "string"
  33663. },
  33664. "hidden": {
  33665. "description": "是否隐藏 - 0:显示 1:隐藏",
  33666. "type": "integer"
  33667. },
  33668. "iconame": {
  33669. "description": "菜单图标",
  33670. "type": "string"
  33671. },
  33672. "menutype": {
  33673. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  33674. "type": "integer"
  33675. },
  33676. "parentcode": {
  33677. "description": "上级资源代码",
  33678. "type": "string"
  33679. },
  33680. "remark": {
  33681. "description": "Remark",
  33682. "type": "string"
  33683. },
  33684. "resourcecode": {
  33685. "description": "资源代码",
  33686. "type": "string"
  33687. },
  33688. "resourcelevel": {
  33689. "description": "级别1-一级 2-二级 3-三级4-四级",
  33690. "type": "integer"
  33691. },
  33692. "resourcename": {
  33693. "description": "资源名(Title)",
  33694. "type": "string"
  33695. },
  33696. "sort": {
  33697. "description": "排序",
  33698. "type": "integer"
  33699. },
  33700. "url": {
  33701. "description": "Url",
  33702. "type": "string"
  33703. },
  33704. "urltype": {
  33705. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  33706. "type": "integer"
  33707. }
  33708. }
  33709. },
  33710. "models.OperationPrimaryMenu": {
  33711. "type": "object",
  33712. "properties": {
  33713. "Children": {
  33714. "description": "二级功能菜单",
  33715. "type": "array",
  33716. "items": {
  33717. "$ref": "#/definitions/models.OperationSecondaryMenu"
  33718. }
  33719. },
  33720. "Key": {
  33721. "description": "菜单KEY",
  33722. "type": "string"
  33723. },
  33724. "Label": {
  33725. "description": "菜单标题",
  33726. "type": "string"
  33727. }
  33728. }
  33729. },
  33730. "models.OperationSecondaryMenu": {
  33731. "type": "object",
  33732. "properties": {
  33733. "Key": {
  33734. "description": "菜单KEY",
  33735. "type": "string"
  33736. },
  33737. "Label": {
  33738. "description": "菜单标题",
  33739. "type": "string"
  33740. },
  33741. "TabList": {
  33742. "description": "三级功能菜单",
  33743. "type": "array",
  33744. "items": {
  33745. "$ref": "#/definitions/models.OperationTabMenu"
  33746. }
  33747. }
  33748. }
  33749. },
  33750. "models.OperationTabMenu": {
  33751. "type": "object",
  33752. "properties": {
  33753. "Key": {
  33754. "description": "菜单KEY",
  33755. "type": "string"
  33756. },
  33757. "Label": {
  33758. "description": "菜单标题",
  33759. "type": "string"
  33760. }
  33761. }
  33762. },
  33763. "models.Patradelinkdetail": {
  33764. "type": "object",
  33765. "properties": {
  33766. "accountname": {
  33767. "description": "套期主体",
  33768. "type": "string"
  33769. },
  33770. "agreeunit": {
  33771. "description": "合约乘数",
  33772. "type": "number"
  33773. },
  33774. "amount": {
  33775. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  33776. "type": "number"
  33777. },
  33778. "areauserid": {
  33779. "description": "所属机构",
  33780. "type": "integer"
  33781. },
  33782. "bizsubjectid": {
  33783. "description": "归属业务部门ID - SubjectID",
  33784. "type": "integer"
  33785. },
  33786. "buyorsell": {
  33787. "description": "方向 - 0:买 1:卖",
  33788. "type": "integer"
  33789. },
  33790. "convertratio": {
  33791. "description": "品种系数",
  33792. "type": "number"
  33793. },
  33794. "convertratiochange": {
  33795. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  33796. "type": "number"
  33797. },
  33798. "createtime": {
  33799. "description": "[日期时间]创建时间",
  33800. "type": "string"
  33801. },
  33802. "creatorid": {
  33803. "description": "创建人ID",
  33804. "type": "integer"
  33805. },
  33806. "creatorsrc": {
  33807. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  33808. "type": "integer"
  33809. },
  33810. "goodscode": {
  33811. "description": "商品代码(内部)",
  33812. "type": "string"
  33813. },
  33814. "goodsgroupid": {
  33815. "description": "对冲品种ID[期货合约商品组ID]",
  33816. "type": "integer"
  33817. },
  33818. "goodsid": {
  33819. "description": "商品ID",
  33820. "type": "integer"
  33821. },
  33822. "hedgeditemid": {
  33823. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  33824. "type": "integer"
  33825. },
  33826. "hedgeflag": {
  33827. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  33828. "type": "integer"
  33829. },
  33830. "linkdetailid": {
  33831. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  33832. "type": "string"
  33833. },
  33834. "linkstatus": {
  33835. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  33836. "type": "integer"
  33837. },
  33838. "middlegoodsid": {
  33839. "description": "套保品种ID",
  33840. "type": "integer"
  33841. },
  33842. "name": {
  33843. "description": "账户名/子账户",
  33844. "type": "string"
  33845. },
  33846. "optioncode": {
  33847. "description": "[期货合约]期权代码 [期权]",
  33848. "type": "string"
  33849. },
  33850. "ordertype": {
  33851. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  33852. "type": "integer"
  33853. },
  33854. "relatedlot": {
  33855. "description": "[数量]关联手数",
  33856. "type": "number"
  33857. },
  33858. "relatedmode": {
  33859. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  33860. "type": "integer"
  33861. },
  33862. "relatedqty": {
  33863. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  33864. "type": "number"
  33865. },
  33866. "retcode": {
  33867. "description": "返回码",
  33868. "type": "integer"
  33869. },
  33870. "saleuserid": {
  33871. "description": "业务员ID",
  33872. "type": "integer"
  33873. },
  33874. "tradedate": {
  33875. "description": "关联交易日(yyyyMMdd)",
  33876. "type": "string"
  33877. },
  33878. "tradeid": {
  33879. "description": "[成交单号]内部成交单ID",
  33880. "type": "string"
  33881. },
  33882. "tradelot": {
  33883. "description": "成交手数",
  33884. "type": "integer"
  33885. },
  33886. "tradeprice": {
  33887. "description": "[价格]成交价格",
  33888. "type": "number"
  33889. },
  33890. "tradetradedate": {
  33891. "description": "成交交易日(yyyyMMdd)",
  33892. "type": "string"
  33893. }
  33894. }
  33895. },
  33896. "models.QhjAccountOutInApply": {
  33897. "type": "object",
  33898. "properties": {
  33899. "accountcode": {
  33900. "description": "资金账号",
  33901. "type": "string"
  33902. },
  33903. "accountname": {
  33904. "description": "用户名称(名称)",
  33905. "type": "string"
  33906. },
  33907. "accountpwd": {
  33908. "description": "资金密码",
  33909. "type": "string"
  33910. },
  33911. "accountticket": {
  33912. "description": "最新账户服务流水号",
  33913. "type": "string"
  33914. },
  33915. "amount": {
  33916. "description": "金额",
  33917. "type": "number"
  33918. },
  33919. "applyremark": {
  33920. "description": "申请备注",
  33921. "type": "string"
  33922. },
  33923. "applystatus": {
  33924. "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: 复审通过,账户冻结金额检查中;",
  33925. "type": "integer"
  33926. },
  33927. "auditid": {
  33928. "description": "审核人",
  33929. "type": "integer"
  33930. },
  33931. "audittime": {
  33932. "description": "审核时间",
  33933. "type": "string"
  33934. },
  33935. "bank_apply_ticket": {
  33936. "description": "银行申请流水",
  33937. "type": "string"
  33938. },
  33939. "bankaccountname": {
  33940. "description": "银行账户名",
  33941. "type": "string"
  33942. },
  33943. "bankaccountno": {
  33944. "description": "银行卡号",
  33945. "type": "string"
  33946. },
  33947. "bankid": {
  33948. "description": "银行编号",
  33949. "type": "string"
  33950. },
  33951. "bankticket": {
  33952. "description": "银行流水",
  33953. "type": "string"
  33954. },
  33955. "branchbankid": {
  33956. "description": "银行支行号",
  33957. "type": "string"
  33958. },
  33959. "branchbankname": {
  33960. "description": "银行支行名称",
  33961. "type": "string"
  33962. },
  33963. "capamountout": {
  33964. "description": "出金(劣后本金) - 外部子账户",
  33965. "type": "number"
  33966. },
  33967. "certificatephotourl": {
  33968. "description": "凭证地址",
  33969. "type": "string"
  33970. },
  33971. "charge": {
  33972. "description": "手续费",
  33973. "type": "number"
  33974. },
  33975. "checkerrorflag": {
  33976. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  33977. "type": "integer"
  33978. },
  33979. "currency": {
  33980. "description": "币种",
  33981. "type": "string"
  33982. },
  33983. "cusbankid": {
  33984. "description": "托管银行编号",
  33985. "type": "string"
  33986. },
  33987. "cusbankname": {
  33988. "description": "托管银行名称",
  33989. "type": "string"
  33990. },
  33991. "cusbankshortname": {
  33992. "description": "托管银行简称",
  33993. "type": "string"
  33994. },
  33995. "exchticket": {
  33996. "description": "银行服务流水号",
  33997. "type": "string"
  33998. },
  33999. "executetype": {
  34000. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34001. "type": "integer"
  34002. },
  34003. "extendinfo": {
  34004. "description": "扩展信息",
  34005. "type": "string"
  34006. },
  34007. "extoperateid": {
  34008. "description": "交易服务流水号",
  34009. "type": "integer"
  34010. },
  34011. "infamount": {
  34012. "description": "劣后金额(自有)",
  34013. "type": "number"
  34014. },
  34015. "logincode": {
  34016. "description": "登录账号(账号)",
  34017. "type": "string"
  34018. },
  34019. "netaddr": {
  34020. "description": "调转网址",
  34021. "type": "string"
  34022. },
  34023. "priamount": {
  34024. "description": "优先金额(授信)",
  34025. "type": "number"
  34026. },
  34027. "reauditid": {
  34028. "description": "复审人",
  34029. "type": "integer"
  34030. },
  34031. "reauditremark": {
  34032. "description": "复审备注",
  34033. "type": "string"
  34034. },
  34035. "reaudittime": {
  34036. "description": "复审时间",
  34037. "type": "string"
  34038. },
  34039. "relatedorderid": {
  34040. "description": "三方关联ID",
  34041. "type": "string"
  34042. },
  34043. "remark": {
  34044. "description": "备注",
  34045. "type": "string"
  34046. },
  34047. "remark2": {
  34048. "description": "备注(失败原因)",
  34049. "type": "string"
  34050. },
  34051. "soucreamount": {
  34052. "description": "原始出入金金额",
  34053. "type": "number"
  34054. },
  34055. "soucrecurrencyid": {
  34056. "description": "原始出入金币种",
  34057. "type": "integer"
  34058. },
  34059. "tradedate": {
  34060. "description": "交易日(yyyyMMdd)",
  34061. "type": "string"
  34062. },
  34063. "updatetime": {
  34064. "description": "更新时间(申请时间)",
  34065. "type": "string"
  34066. },
  34067. "userid": {
  34068. "description": "用户id",
  34069. "type": "integer"
  34070. },
  34071. "userinfotype": {
  34072. "description": "账户类型 1-个人 2-企业",
  34073. "type": "integer"
  34074. }
  34075. }
  34076. },
  34077. "models.QhjAgreementChangeLog": {
  34078. "type": "object",
  34079. "properties": {
  34080. "agreementcontent": {
  34081. "description": "协议内容",
  34082. "type": "string"
  34083. },
  34084. "agreementfrequency": {
  34085. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34086. "type": "integer"
  34087. },
  34088. "agreementid": {
  34089. "description": "协议ID",
  34090. "type": "integer"
  34091. },
  34092. "agreementname": {
  34093. "description": "协议名称",
  34094. "type": "string"
  34095. },
  34096. "agreementno": {
  34097. "description": "协议编号",
  34098. "type": "string"
  34099. },
  34100. "agreementtype": {
  34101. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34102. "type": "integer"
  34103. },
  34104. "agreementversion": {
  34105. "description": "协议版本号",
  34106. "type": "integer"
  34107. },
  34108. "logid": {
  34109. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  34110. "type": "integer"
  34111. },
  34112. "reviserid": {
  34113. "description": "修改人",
  34114. "type": "integer"
  34115. },
  34116. "revisersrc": {
  34117. "description": "修改来源 - 1:管理端 2:终端",
  34118. "type": "integer"
  34119. },
  34120. "updatetime": {
  34121. "description": "更新时间",
  34122. "type": "string"
  34123. }
  34124. }
  34125. },
  34126. "models.QhjAgreementConfig": {
  34127. "type": "object",
  34128. "properties": {
  34129. "agreementcontent": {
  34130. "description": "协议内容",
  34131. "type": "string"
  34132. },
  34133. "agreementfrequency": {
  34134. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34135. "type": "integer"
  34136. },
  34137. "agreementid": {
  34138. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  34139. "type": "integer"
  34140. },
  34141. "agreementname": {
  34142. "description": "协议名称",
  34143. "type": "string"
  34144. },
  34145. "agreementno": {
  34146. "description": "协议编号",
  34147. "type": "string"
  34148. },
  34149. "agreementtype": {
  34150. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34151. "type": "integer"
  34152. },
  34153. "agreementversion": {
  34154. "description": "协议版本号(从1开始每次修改加1)",
  34155. "type": "integer"
  34156. },
  34157. "createtime": {
  34158. "description": "创建时间",
  34159. "type": "string"
  34160. },
  34161. "creatorid": {
  34162. "description": "创建人",
  34163. "type": "integer"
  34164. },
  34165. "creatorsrc": {
  34166. "description": "创建来源 - 1:管理端 2:终端",
  34167. "type": "integer"
  34168. },
  34169. "isvalid": {
  34170. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  34171. "type": "integer"
  34172. },
  34173. "reviserid": {
  34174. "description": "修改人",
  34175. "type": "integer"
  34176. },
  34177. "revisersrc": {
  34178. "description": "修改来源 - 1:管理端 2:终端",
  34179. "type": "integer"
  34180. },
  34181. "updatetime": {
  34182. "description": "更新时间",
  34183. "type": "string"
  34184. }
  34185. }
  34186. },
  34187. "models.QhjAreaFinanceConfig": {
  34188. "type": "object",
  34189. "properties": {
  34190. "additionalratio": {
  34191. "description": "追加款比例",
  34192. "type": "number"
  34193. },
  34194. "advanceratio": {
  34195. "description": "预付款比例",
  34196. "type": "number"
  34197. },
  34198. "alarmratio": {
  34199. "description": "告警比例",
  34200. "type": "number"
  34201. },
  34202. "consumptiondirectreward": {
  34203. "description": "消费直推奖励值",
  34204. "type": "number"
  34205. },
  34206. "consumptionenabled": {
  34207. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  34208. "type": "integer"
  34209. },
  34210. "consumptionindirectreward": {
  34211. "description": "消费间推奖励值",
  34212. "type": "number"
  34213. },
  34214. "consumptionmodel": {
  34215. "description": "消费奖励方式 - 1:比率 2:固定",
  34216. "type": "integer"
  34217. },
  34218. "customerservicenum": {
  34219. "description": "客服电话",
  34220. "type": "string"
  34221. },
  34222. "dayinterestrate": {
  34223. "description": "日利率",
  34224. "type": "number"
  34225. },
  34226. "disableconsumptiontips": {
  34227. "description": "关闭消费奖励提示",
  34228. "type": "string"
  34229. },
  34230. "modifierid": {
  34231. "description": "修改人ID",
  34232. "type": "integer"
  34233. },
  34234. "modifysrc": {
  34235. "description": "审核来源 - 1:管理端 2:终端",
  34236. "type": "integer"
  34237. },
  34238. "modifytime": {
  34239. "description": "修改时间",
  34240. "type": "string"
  34241. },
  34242. "promotionvalue": {
  34243. "description": "推广奖励值(固定)",
  34244. "type": "number"
  34245. },
  34246. "scoreconfigvalue1": {
  34247. "description": "提货积分配置1",
  34248. "type": "integer"
  34249. },
  34250. "scoreconfigvalue2": {
  34251. "description": "提货积分配置2",
  34252. "type": "integer"
  34253. },
  34254. "userid": {
  34255. "description": "机构用户ID其他做市关系,都设置为 1",
  34256. "type": "integer"
  34257. },
  34258. "username": {
  34259. "description": "用户名称",
  34260. "type": "string"
  34261. }
  34262. }
  34263. },
  34264. "models.QhjBankAccountSign": {
  34265. "type": "object",
  34266. "properties": {
  34267. "accountcode": {
  34268. "description": "资金账号",
  34269. "type": "string"
  34270. },
  34271. "accountname": {
  34272. "description": "资金账号对应的账号名(UserName)",
  34273. "type": "string"
  34274. },
  34275. "accountname2": {
  34276. "description": "资金账号对应的账号名(UserName) - 密文",
  34277. "type": "string"
  34278. },
  34279. "accounttype": {
  34280. "description": "账户类型(UserType)",
  34281. "type": "integer"
  34282. },
  34283. "applicationtime": {
  34284. "description": "最后一次更新的时间",
  34285. "type": "string"
  34286. },
  34287. "applyexchticket": {
  34288. "description": "申请流水",
  34289. "type": "string"
  34290. },
  34291. "auditid": {
  34292. "description": "审核人",
  34293. "type": "integer"
  34294. },
  34295. "audittime": {
  34296. "description": "审核时间",
  34297. "type": "string"
  34298. },
  34299. "bankaccountname": {
  34300. "description": "签约银行卡账号名",
  34301. "type": "string"
  34302. },
  34303. "bankaccountname2": {
  34304. "description": "签约银行卡账号名 - 密文",
  34305. "type": "string"
  34306. },
  34307. "bankaccountno": {
  34308. "description": "银行卡号",
  34309. "type": "string"
  34310. },
  34311. "bankaccountno2": {
  34312. "description": "银行卡号 - 密文",
  34313. "type": "string"
  34314. },
  34315. "bankaccounttype": {
  34316. "description": "银行账户类型 - 1-对私; 2-对公",
  34317. "type": "integer"
  34318. },
  34319. "bankcardtype": {
  34320. "description": "银行卡类型",
  34321. "type": "integer"
  34322. },
  34323. "bankchildaccount": {
  34324. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  34325. "type": "string"
  34326. },
  34327. "bankcity": {
  34328. "description": "开户行城市",
  34329. "type": "string"
  34330. },
  34331. "bankid": {
  34332. "description": "签约银行ID",
  34333. "type": "string"
  34334. },
  34335. "bankname": {
  34336. "description": "签约银行名称",
  34337. "type": "string"
  34338. },
  34339. "bankprovince": {
  34340. "description": "开户行省份",
  34341. "type": "string"
  34342. },
  34343. "branchbankid": {
  34344. "description": "签约银行支行号",
  34345. "type": "string"
  34346. },
  34347. "branchbankname": {
  34348. "description": "签约银行支行名称",
  34349. "type": "string"
  34350. },
  34351. "cardno": {
  34352. "description": "证件号码",
  34353. "type": "string"
  34354. },
  34355. "cardno2": {
  34356. "description": "证件号码 - 密文",
  34357. "type": "string"
  34358. },
  34359. "cardtype": {
  34360. "description": "证件类型",
  34361. "type": "string"
  34362. },
  34363. "currency": {
  34364. "description": "币种",
  34365. "type": "string"
  34366. },
  34367. "cusbankid": {
  34368. "description": "托管银行编号",
  34369. "type": "string"
  34370. },
  34371. "direct": {
  34372. "description": "方向(可以判断那方先发起的签约)",
  34373. "type": "integer"
  34374. },
  34375. "exchticket": {
  34376. "description": "最后一次签约成功的流水号",
  34377. "type": "string"
  34378. },
  34379. "extendinfo": {
  34380. "description": "扩展信息(JSON字符串)",
  34381. "type": "string"
  34382. },
  34383. "mobilephone": {
  34384. "description": "手机号",
  34385. "type": "string"
  34386. },
  34387. "mobilephone2": {
  34388. "description": "手机号 - 密文",
  34389. "type": "string"
  34390. },
  34391. "netaddr": {
  34392. "description": "调转网址",
  34393. "type": "string"
  34394. },
  34395. "relateduserid": {
  34396. "description": "关联使用者userid",
  34397. "type": "integer"
  34398. },
  34399. "signstatus": {
  34400. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  34401. "type": "integer"
  34402. },
  34403. "updatetime": {
  34404. "description": "更新时间(签解约更新时间)",
  34405. "type": "string"
  34406. }
  34407. }
  34408. },
  34409. "models.QhjBankInfo": {
  34410. "type": "object",
  34411. "properties": {
  34412. "bankid": {
  34413. "description": "银行ID",
  34414. "type": "string"
  34415. },
  34416. "bankname": {
  34417. "description": "银行名称",
  34418. "type": "string"
  34419. },
  34420. "clearbankno": {
  34421. "description": "清算系统银行编号",
  34422. "type": "string"
  34423. },
  34424. "orderindex": {
  34425. "description": "排序顺序",
  34426. "type": "integer"
  34427. },
  34428. "status": {
  34429. "description": "状态 - 0:正常 1:注销",
  34430. "type": "integer"
  34431. }
  34432. }
  34433. },
  34434. "models.QhjBrokerApply": {
  34435. "type": "object",
  34436. "properties": {
  34437. "applicantid": {
  34438. "description": "申请人",
  34439. "type": "integer"
  34440. },
  34441. "applysrc": {
  34442. "description": "申请来源 - 1:管理端 2:终端",
  34443. "type": "integer"
  34444. },
  34445. "applystatus": {
  34446. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34447. "type": "integer"
  34448. },
  34449. "applytime": {
  34450. "description": "申请时间",
  34451. "type": "string"
  34452. },
  34453. "auditorid": {
  34454. "description": "审核人",
  34455. "type": "integer"
  34456. },
  34457. "auditremark": {
  34458. "description": "审核备注",
  34459. "type": "string"
  34460. },
  34461. "auditsrc": {
  34462. "description": "审核来源 - 1:管理端 2:终端",
  34463. "type": "integer"
  34464. },
  34465. "audittime": {
  34466. "description": "审核时间",
  34467. "type": "string"
  34468. },
  34469. "audittradedate": {
  34470. "description": "审核交易日(yyyyMMdd)",
  34471. "type": "string"
  34472. },
  34473. "brokerapplyid": {
  34474. "description": "申请ID(SEQ_BROKERAPPLY)",
  34475. "type": "integer"
  34476. },
  34477. "cardbackphotourl": {
  34478. "description": "证件背面图片地址",
  34479. "type": "string"
  34480. },
  34481. "cardfrontphotourl": {
  34482. "description": "证件正面图片地址",
  34483. "type": "string"
  34484. },
  34485. "cardnum": {
  34486. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34487. "type": "string"
  34488. },
  34489. "customername": {
  34490. "description": "姓名",
  34491. "type": "string"
  34492. },
  34493. "logincode": {
  34494. "description": "登录代码",
  34495. "type": "string"
  34496. },
  34497. "mobile": {
  34498. "description": "手机号码",
  34499. "type": "string"
  34500. },
  34501. "parentuserid": {
  34502. "description": "所属机构id",
  34503. "type": "integer"
  34504. },
  34505. "parentusername": {
  34506. "description": "所属机构名称",
  34507. "type": "string"
  34508. },
  34509. "refereeuserid": {
  34510. "description": "推荐人id(经纪人)",
  34511. "type": "integer"
  34512. },
  34513. "refernum": {
  34514. "description": "推荐码",
  34515. "type": "string"
  34516. },
  34517. "remark": {
  34518. "description": "备注",
  34519. "type": "string"
  34520. },
  34521. "subarealevelpath": {
  34522. "description": "层级路径",
  34523. "type": "string"
  34524. },
  34525. "tradedate": {
  34526. "description": "交易日(yyyyMMdd)",
  34527. "type": "string"
  34528. },
  34529. "userid": {
  34530. "description": "申请人用户ID",
  34531. "type": "integer"
  34532. },
  34533. "userinfotype": {
  34534. "description": "用户类型 1-个人 2-企业",
  34535. "type": "integer"
  34536. },
  34537. "username": {
  34538. "description": "用户名称",
  34539. "type": "string"
  34540. }
  34541. }
  34542. },
  34543. "models.QhjBrokerApplyEx": {
  34544. "type": "object",
  34545. "properties": {
  34546. "applylist": {
  34547. "description": "经纪人申请记录(只返回最新一条)",
  34548. "type": "array",
  34549. "items": {
  34550. "$ref": "#/definitions/models.QhjBrokerApply"
  34551. }
  34552. },
  34553. "canrecommend": {
  34554. "description": "是否经纪人 0-不是 1-是",
  34555. "type": "integer"
  34556. },
  34557. "refernum": {
  34558. "description": "推荐码",
  34559. "type": "string"
  34560. },
  34561. "userid": {
  34562. "description": "用户id",
  34563. "type": "integer"
  34564. },
  34565. "userinfotype": {
  34566. "description": "用户类型 1-个人 2-企业",
  34567. "type": "integer"
  34568. }
  34569. }
  34570. },
  34571. "models.QhjBrokerRewardLog": {
  34572. "type": "object",
  34573. "properties": {
  34574. "accountid": {
  34575. "description": "资金账号ID",
  34576. "type": "integer"
  34577. },
  34578. "createtime": {
  34579. "description": "创建时间(时间)",
  34580. "type": "string"
  34581. },
  34582. "handlestatus": {
  34583. "description": "处理状态",
  34584. "type": "integer"
  34585. },
  34586. "logid": {
  34587. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34588. "type": "string"
  34589. },
  34590. "marketid": {
  34591. "description": "市场ID",
  34592. "type": "integer"
  34593. },
  34594. "mmaccountid": {
  34595. "description": "做市商资金账号ID",
  34596. "type": "string"
  34597. },
  34598. "mmuserid": {
  34599. "description": "做市商用户ID",
  34600. "type": "string"
  34601. },
  34602. "rewardamount": {
  34603. "description": "奖励金额",
  34604. "type": "number"
  34605. },
  34606. "rewardmodel": {
  34607. "description": "消费奖励方式 - 1:比率 2:固定",
  34608. "type": "integer"
  34609. },
  34610. "rewardtype": {
  34611. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  34612. "type": "integer"
  34613. },
  34614. "rewardvalue": {
  34615. "description": "配置奖励值",
  34616. "type": "number"
  34617. },
  34618. "srcamount": {
  34619. "description": "成交金额 [消费奖励] (金额)",
  34620. "type": "number"
  34621. },
  34622. "srcgoodsid": {
  34623. "description": "来源商品ID [消费奖励]",
  34624. "type": "string"
  34625. },
  34626. "srctime": {
  34627. "description": "来源时间 (成交时间) [消费奖励]",
  34628. "type": "string"
  34629. },
  34630. "srctradeid": {
  34631. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  34632. "type": "string"
  34633. },
  34634. "srcuserid": {
  34635. "description": "来源用户ID(推广账户)",
  34636. "type": "string"
  34637. },
  34638. "srcusername": {
  34639. "description": "推广账户名称",
  34640. "type": "string"
  34641. },
  34642. "tradedate": {
  34643. "description": "交易日(yyyyMMdd)",
  34644. "type": "string"
  34645. },
  34646. "userid": {
  34647. "description": "经纪人用户ID",
  34648. "type": "integer"
  34649. }
  34650. }
  34651. },
  34652. "models.QhjContract": {
  34653. "type": "object",
  34654. "properties": {
  34655. "contractconfirmtime": {
  34656. "description": "合同确认时间(时间)",
  34657. "type": "string"
  34658. },
  34659. "currisklevel": {
  34660. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  34661. "type": "integer"
  34662. },
  34663. "decimalplace": {
  34664. "description": "商品报价小数位",
  34665. "type": "integer"
  34666. },
  34667. "enumdicname": {
  34668. "description": "单位名称",
  34669. "type": "string"
  34670. },
  34671. "goodscode": {
  34672. "description": "商品代码",
  34673. "type": "string"
  34674. },
  34675. "goodsid": {
  34676. "description": "商品ID [5:融资单]",
  34677. "type": "integer"
  34678. },
  34679. "goodsname": {
  34680. "description": "商品名称",
  34681. "type": "string"
  34682. },
  34683. "goodunitid": {
  34684. "description": "商品单位id",
  34685. "type": "integer"
  34686. },
  34687. "initmargin": {
  34688. "description": "初始保证金(首付款)",
  34689. "type": "number"
  34690. },
  34691. "lenderamount": {
  34692. "description": "贷款金额(总额|订单总额)",
  34693. "type": "number"
  34694. },
  34695. "marginratio": {
  34696. "description": "保证金比率(首付比例)",
  34697. "type": "number"
  34698. },
  34699. "payamount": {
  34700. "description": "已付(已付货款)",
  34701. "type": "number"
  34702. },
  34703. "reckonrecovermargin": {
  34704. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  34705. "type": "number"
  34706. },
  34707. "recoveredmargin": {
  34708. "description": "已追缴保证金",
  34709. "type": "number"
  34710. },
  34711. "remainamount": {
  34712. "description": "合同剩余金额(融资额)",
  34713. "type": "number"
  34714. },
  34715. "scfcontractid": {
  34716. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34717. "type": "string"
  34718. },
  34719. "scfcontractstatus": {
  34720. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  34721. "type": "integer"
  34722. },
  34723. "scfcontracttype": {
  34724. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  34725. "type": "integer"
  34726. },
  34727. "totalinterest": {
  34728. "description": "已计总利息(利息)",
  34729. "type": "number"
  34730. },
  34731. "tradeprice": {
  34732. "description": "成交价格(成本价格)",
  34733. "type": "number"
  34734. },
  34735. "userid": {
  34736. "description": "用户ID",
  34737. "type": "integer"
  34738. },
  34739. "username": {
  34740. "description": "用户名称",
  34741. "type": "string"
  34742. },
  34743. "wrqty": {
  34744. "description": "仓单数量(数量)",
  34745. "type": "number"
  34746. }
  34747. }
  34748. },
  34749. "models.QhjContractLog": {
  34750. "type": "object",
  34751. "properties": {
  34752. "amount": {
  34753. "description": "支付金额",
  34754. "type": "number"
  34755. },
  34756. "amounttype": {
  34757. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  34758. "type": "integer"
  34759. },
  34760. "logid": {
  34761. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34762. "type": "string"
  34763. },
  34764. "remainamount": {
  34765. "description": "剩余货款",
  34766. "type": "number"
  34767. },
  34768. "scfcontractid": {
  34769. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  34770. "type": "integer"
  34771. },
  34772. "updatetime": {
  34773. "description": "更新时间",
  34774. "type": "string"
  34775. }
  34776. }
  34777. },
  34778. "models.QhjCusBankSignBankEx": {
  34779. "type": "object",
  34780. "properties": {
  34781. "banklst": {
  34782. "description": "银行列表",
  34783. "type": "array",
  34784. "items": {
  34785. "$ref": "#/definitions/models.QhjBankInfo"
  34786. }
  34787. },
  34788. "canallot": {
  34789. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  34790. "type": "integer"
  34791. },
  34792. "canallotquery": {
  34793. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  34794. "type": "integer"
  34795. },
  34796. "canbindcard": {
  34797. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  34798. "type": "integer"
  34799. },
  34800. "caninamount": {
  34801. "description": "是否可入金 - 0:不可 1:可以",
  34802. "type": "integer"
  34803. },
  34804. "caninamount2": {
  34805. "description": "是否可入金(网银端) - 0:不可 1:可以",
  34806. "type": "integer"
  34807. },
  34808. "canmodifybankcard": {
  34809. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  34810. "type": "integer"
  34811. },
  34812. "canmodifyphone": {
  34813. "description": "是否可修改手机号 - 0:不可 1:可以",
  34814. "type": "integer"
  34815. },
  34816. "canmodifysigninfo": {
  34817. "description": "是否可修改签约信息 - 0:不可 1:可以",
  34818. "type": "integer"
  34819. },
  34820. "canoutamount": {
  34821. "description": "是否可出金 - 0:不可 1:可以",
  34822. "type": "integer"
  34823. },
  34824. "canoutamount2": {
  34825. "description": "是否可出金(网银端) - 0:不可 1:可以",
  34826. "type": "integer"
  34827. },
  34828. "canrelease": {
  34829. "description": "是否可解约 - 0:不可 1:可以",
  34830. "type": "integer"
  34831. },
  34832. "canrelease2": {
  34833. "description": "是否可解约(网银端) - 0:不可 1:可以",
  34834. "type": "integer"
  34835. },
  34836. "cansign": {
  34837. "description": "是否可签约 - 0:不可 1:可以",
  34838. "type": "integer"
  34839. },
  34840. "cansign2": {
  34841. "description": "是否可签约(网银端) - 0:不可 1:可以",
  34842. "type": "integer"
  34843. },
  34844. "currency": {
  34845. "description": "币种",
  34846. "type": "string"
  34847. },
  34848. "cusbankid": {
  34849. "description": "托管银行编号(对应清算中心TRAN_NO)",
  34850. "type": "string"
  34851. },
  34852. "cusbankname": {
  34853. "description": "银行业务名称",
  34854. "type": "string"
  34855. },
  34856. "cusbankshortname": {
  34857. "description": "银行业务简称",
  34858. "type": "string"
  34859. },
  34860. "exchbankid": {
  34861. "description": "交易所开户银行ID",
  34862. "type": "string"
  34863. },
  34864. "exchpaybankaccname": {
  34865. "description": "交易所支出结算账户户名",
  34866. "type": "string"
  34867. },
  34868. "exchpaybankaccno": {
  34869. "description": "交易所支出结算账户",
  34870. "type": "string"
  34871. },
  34872. "isneedcheck": {
  34873. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  34874. "type": "integer"
  34875. },
  34876. "isneedclear": {
  34877. "description": "是否需要清算 - 0:不需要 1:需要",
  34878. "type": "integer"
  34879. },
  34880. "lastcheckstatus": {
  34881. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  34882. "type": "integer"
  34883. },
  34884. "lastchecktime": {
  34885. "description": "最后对账时间",
  34886. "type": "string"
  34887. },
  34888. "lastclearstatus": {
  34889. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  34890. "type": "integer"
  34891. },
  34892. "lastcleartime": {
  34893. "description": "最后清算时间",
  34894. "type": "string"
  34895. },
  34896. "lastsignintime": {
  34897. "description": "最后签到时间",
  34898. "type": "string"
  34899. },
  34900. "lastsignouttime": {
  34901. "description": "最后签退时间",
  34902. "type": "string"
  34903. },
  34904. "riskinfo": {
  34905. "description": "签约风险提示书",
  34906. "type": "string"
  34907. },
  34908. "signstatus": {
  34909. "description": "当前签到/签退状态 - 1:签到 2:签退",
  34910. "type": "integer"
  34911. },
  34912. "tradedate": {
  34913. "description": "交易日(yyyyMMdd)",
  34914. "type": "string"
  34915. },
  34916. "updatetime": {
  34917. "description": "当前签到/签退更新时间",
  34918. "type": "string"
  34919. }
  34920. }
  34921. },
  34922. "models.QhjCustomer": {
  34923. "type": "object",
  34924. "properties": {
  34925. "address": {
  34926. "description": "通讯地址",
  34927. "type": "string"
  34928. },
  34929. "attachment1": {
  34930. "description": "附件1",
  34931. "type": "string"
  34932. },
  34933. "attachment2": {
  34934. "description": "附件2",
  34935. "type": "string"
  34936. },
  34937. "audittime": {
  34938. "description": "审核时间",
  34939. "type": "string"
  34940. },
  34941. "cardbackphotourl": {
  34942. "description": "证件反面图片地址",
  34943. "type": "string"
  34944. },
  34945. "cardfrontphotourl": {
  34946. "description": "证件正面图片地址",
  34947. "type": "string"
  34948. },
  34949. "cardnum": {
  34950. "description": "证件号码",
  34951. "type": "string"
  34952. },
  34953. "cardtype": {
  34954. "description": "证件类型",
  34955. "type": "integer"
  34956. },
  34957. "cardtypename": {
  34958. "description": "证件类型名称",
  34959. "type": "string"
  34960. },
  34961. "cityid": {
  34962. "description": "市",
  34963. "type": "integer"
  34964. },
  34965. "cityname": {
  34966. "description": "城市名称",
  34967. "type": "string"
  34968. },
  34969. "contactname": {
  34970. "description": "联系人",
  34971. "type": "string"
  34972. },
  34973. "countryid": {
  34974. "description": "国家",
  34975. "type": "integer"
  34976. },
  34977. "countryname": {
  34978. "description": "国家名称",
  34979. "type": "string"
  34980. },
  34981. "createtime": {
  34982. "description": "创建时间",
  34983. "type": "string"
  34984. },
  34985. "customername": {
  34986. "description": "客户名称",
  34987. "type": "string"
  34988. },
  34989. "districtid": {
  34990. "description": "区域",
  34991. "type": "integer"
  34992. },
  34993. "districtname": {
  34994. "description": "地区名称",
  34995. "type": "string"
  34996. },
  34997. "email": {
  34998. "description": "邮件",
  34999. "type": "string"
  35000. },
  35001. "legalpersonname": {
  35002. "description": "法人姓名(企业)",
  35003. "type": "string"
  35004. },
  35005. "logincode": {
  35006. "description": "登录账号(代码)",
  35007. "type": "string"
  35008. },
  35009. "memberuserid": {
  35010. "description": "所属机构ID(所属会员)",
  35011. "type": "integer"
  35012. },
  35013. "memberusername": {
  35014. "description": "所属会员名称",
  35015. "type": "string"
  35016. },
  35017. "mobile": {
  35018. "description": "手机号码",
  35019. "type": "string"
  35020. },
  35021. "modifytime": {
  35022. "description": "修改时间",
  35023. "type": "string"
  35024. },
  35025. "nickname": {
  35026. "description": "昵称",
  35027. "type": "string"
  35028. },
  35029. "parentuserid": {
  35030. "description": "上级机构(所属机构)",
  35031. "type": "integer"
  35032. },
  35033. "parentusername": {
  35034. "description": "所属机构名称",
  35035. "type": "string"
  35036. },
  35037. "provinceid": {
  35038. "description": "省",
  35039. "type": "integer"
  35040. },
  35041. "provincename": {
  35042. "description": "省名称",
  35043. "type": "string"
  35044. },
  35045. "proxystatementurl": {
  35046. "description": "授权委托书",
  35047. "type": "string"
  35048. },
  35049. "remark": {
  35050. "description": "备注",
  35051. "type": "string"
  35052. },
  35053. "status": {
  35054. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  35055. "type": "integer"
  35056. },
  35057. "statusdesc": {
  35058. "description": "账户状态中文描述",
  35059. "type": "string"
  35060. },
  35061. "taxpayernum": {
  35062. "description": "纳税人识别号",
  35063. "type": "string"
  35064. },
  35065. "telphone": {
  35066. "description": "联系电话",
  35067. "type": "string"
  35068. },
  35069. "userid": {
  35070. "description": "用户ID",
  35071. "type": "integer"
  35072. },
  35073. "userinfotype": {
  35074. "description": "客户类型 1-个人 2-企业",
  35075. "type": "integer"
  35076. },
  35077. "username": {
  35078. "description": "用户名称",
  35079. "type": "string"
  35080. }
  35081. }
  35082. },
  35083. "models.QhjCustomerSignLog": {
  35084. "type": "object",
  35085. "properties": {
  35086. "agreementcontent": {
  35087. "description": "协议内容",
  35088. "type": "string"
  35089. },
  35090. "agreementid": {
  35091. "description": "协议ID",
  35092. "type": "integer"
  35093. },
  35094. "agreementname": {
  35095. "description": "协议名称",
  35096. "type": "string"
  35097. },
  35098. "agreementno": {
  35099. "description": "协议编号",
  35100. "type": "string"
  35101. },
  35102. "agreementtype": {
  35103. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35104. "type": "integer"
  35105. },
  35106. "agreementversion": {
  35107. "description": "协议版本号",
  35108. "type": "integer"
  35109. },
  35110. "createtime": {
  35111. "description": "创建时间",
  35112. "type": "string"
  35113. },
  35114. "goodscode": {
  35115. "description": "商品代码",
  35116. "type": "string"
  35117. },
  35118. "goodsid": {
  35119. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35120. "type": "integer"
  35121. },
  35122. "goodsname": {
  35123. "description": "商品名称",
  35124. "type": "string"
  35125. },
  35126. "logid": {
  35127. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  35128. "type": "integer"
  35129. },
  35130. "nodetype": {
  35131. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35132. "type": "integer"
  35133. },
  35134. "signadressurl": {
  35135. "description": "签约文件地址",
  35136. "type": "string"
  35137. },
  35138. "signtimestamp": {
  35139. "description": "签约状态时间戳",
  35140. "type": "string"
  35141. },
  35142. "userid": {
  35143. "description": "客户ID",
  35144. "type": "integer"
  35145. },
  35146. "username": {
  35147. "description": "客户名称",
  35148. "type": "string"
  35149. }
  35150. }
  35151. },
  35152. "models.QhjCustomerSignStatus": {
  35153. "type": "object",
  35154. "properties": {
  35155. "createtime": {
  35156. "description": "创建时间",
  35157. "type": "string"
  35158. },
  35159. "goodscode": {
  35160. "description": "商品代码",
  35161. "type": "string"
  35162. },
  35163. "goodsid": {
  35164. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35165. "type": "integer"
  35166. },
  35167. "goodsname": {
  35168. "description": "商品名称",
  35169. "type": "string"
  35170. },
  35171. "nodetype": {
  35172. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  35173. "type": "integer"
  35174. },
  35175. "signtimestamp": {
  35176. "description": "签约状态时间戳",
  35177. "type": "string"
  35178. },
  35179. "tradedate": {
  35180. "description": "创建交易日(yyyyMMdd)",
  35181. "type": "string"
  35182. },
  35183. "updatetime": {
  35184. "description": "更新时间",
  35185. "type": "string"
  35186. },
  35187. "userid": {
  35188. "description": "客户ID",
  35189. "type": "integer"
  35190. },
  35191. "username": {
  35192. "description": "客户名称",
  35193. "type": "string"
  35194. }
  35195. }
  35196. },
  35197. "models.QhjMgrAccountOutInApply": {
  35198. "type": "object",
  35199. "properties": {
  35200. "accountcode": {
  35201. "description": "资金账号",
  35202. "type": "string"
  35203. },
  35204. "accountname": {
  35205. "description": "用户名称(名称)",
  35206. "type": "string"
  35207. },
  35208. "accountpwd": {
  35209. "description": "资金密码",
  35210. "type": "string"
  35211. },
  35212. "accountticket": {
  35213. "description": "最新账户服务流水号",
  35214. "type": "string"
  35215. },
  35216. "amount": {
  35217. "description": "金额",
  35218. "type": "number"
  35219. },
  35220. "applyremark": {
  35221. "description": "申请备注",
  35222. "type": "string"
  35223. },
  35224. "applystatus": {
  35225. "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: 复审通过,账户冻结金额检查中;",
  35226. "type": "integer"
  35227. },
  35228. "auditid": {
  35229. "description": "审核人",
  35230. "type": "integer"
  35231. },
  35232. "audittime": {
  35233. "description": "审核时间",
  35234. "type": "string"
  35235. },
  35236. "bank_apply_ticket": {
  35237. "description": "银行申请流水",
  35238. "type": "string"
  35239. },
  35240. "bankaccountname": {
  35241. "description": "银行账户名",
  35242. "type": "string"
  35243. },
  35244. "bankaccountno": {
  35245. "description": "银行卡号",
  35246. "type": "string"
  35247. },
  35248. "bankid": {
  35249. "description": "银行编号",
  35250. "type": "string"
  35251. },
  35252. "bankname": {
  35253. "description": "银行名称",
  35254. "type": "string"
  35255. },
  35256. "bankticket": {
  35257. "description": "银行流水",
  35258. "type": "string"
  35259. },
  35260. "branchbankid": {
  35261. "description": "银行支行号",
  35262. "type": "string"
  35263. },
  35264. "branchbankname": {
  35265. "description": "银行支行名称",
  35266. "type": "string"
  35267. },
  35268. "capamountout": {
  35269. "description": "出金(劣后本金) - 外部子账户",
  35270. "type": "number"
  35271. },
  35272. "certificatephotourl": {
  35273. "description": "凭证地址",
  35274. "type": "string"
  35275. },
  35276. "charge": {
  35277. "description": "手续费",
  35278. "type": "number"
  35279. },
  35280. "checkerrorflag": {
  35281. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  35282. "type": "integer"
  35283. },
  35284. "currency": {
  35285. "description": "币种",
  35286. "type": "string"
  35287. },
  35288. "cusbankid": {
  35289. "description": "托管银行编号",
  35290. "type": "string"
  35291. },
  35292. "exchticket": {
  35293. "description": "银行服务流水号",
  35294. "type": "string"
  35295. },
  35296. "executetype": {
  35297. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  35298. "type": "integer"
  35299. },
  35300. "extendinfo": {
  35301. "description": "扩展信息",
  35302. "type": "string"
  35303. },
  35304. "extoperateid": {
  35305. "description": "交易服务流水号",
  35306. "type": "integer"
  35307. },
  35308. "infamount": {
  35309. "description": "劣后金额(自有)",
  35310. "type": "number"
  35311. },
  35312. "logincode": {
  35313. "description": "登录账号(账号)",
  35314. "type": "string"
  35315. },
  35316. "netaddr": {
  35317. "description": "调转网址",
  35318. "type": "string"
  35319. },
  35320. "priamount": {
  35321. "description": "优先金额(授信)",
  35322. "type": "number"
  35323. },
  35324. "reauditid": {
  35325. "description": "复审人",
  35326. "type": "integer"
  35327. },
  35328. "reauditremark": {
  35329. "description": "复审备注",
  35330. "type": "string"
  35331. },
  35332. "reaudittime": {
  35333. "description": "复审时间",
  35334. "type": "string"
  35335. },
  35336. "relatedorderid": {
  35337. "description": "三方关联ID",
  35338. "type": "string"
  35339. },
  35340. "remark": {
  35341. "description": "备注",
  35342. "type": "string"
  35343. },
  35344. "remark2": {
  35345. "description": "备注(失败原因)",
  35346. "type": "string"
  35347. },
  35348. "soucreamount": {
  35349. "description": "原始出入金金额",
  35350. "type": "number"
  35351. },
  35352. "soucrecurrencyid": {
  35353. "description": "原始出入金币种",
  35354. "type": "integer"
  35355. },
  35356. "tradedate": {
  35357. "description": "交易日(yyyyMMdd)",
  35358. "type": "string"
  35359. },
  35360. "updatetime": {
  35361. "description": "更新时间(申请时间)",
  35362. "type": "string"
  35363. },
  35364. "userid": {
  35365. "description": "用户id",
  35366. "type": "integer"
  35367. },
  35368. "userinfotype": {
  35369. "description": "账户类型 1-个人 2-企业",
  35370. "type": "integer"
  35371. }
  35372. }
  35373. },
  35374. "models.QhjMgrBrokerApply": {
  35375. "type": "object",
  35376. "properties": {
  35377. "applicantid": {
  35378. "description": "申请人",
  35379. "type": "integer"
  35380. },
  35381. "applysrc": {
  35382. "description": "申请来源 - 1:管理端 2:终端",
  35383. "type": "integer"
  35384. },
  35385. "applystatus": {
  35386. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35387. "type": "integer"
  35388. },
  35389. "applytime": {
  35390. "description": "申请时间",
  35391. "type": "string"
  35392. },
  35393. "auditorid": {
  35394. "description": "审核人",
  35395. "type": "integer"
  35396. },
  35397. "auditremark": {
  35398. "description": "审核备注",
  35399. "type": "string"
  35400. },
  35401. "auditsrc": {
  35402. "description": "审核来源 - 1:管理端 2:终端",
  35403. "type": "integer"
  35404. },
  35405. "audittime": {
  35406. "description": "审核时间",
  35407. "type": "string"
  35408. },
  35409. "audittradedate": {
  35410. "description": "审核交易日(yyyyMMdd)",
  35411. "type": "string"
  35412. },
  35413. "brokerapplyid": {
  35414. "description": "申请ID(SEQ_BROKERAPPLY)",
  35415. "type": "integer"
  35416. },
  35417. "cardbackphotourl": {
  35418. "description": "证件背面图片地址",
  35419. "type": "string"
  35420. },
  35421. "cardfrontphotourl": {
  35422. "description": "证件正面图片地址",
  35423. "type": "string"
  35424. },
  35425. "cardnum": {
  35426. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35427. "type": "string"
  35428. },
  35429. "customername": {
  35430. "description": "姓名",
  35431. "type": "string"
  35432. },
  35433. "filterstatus": {
  35434. "description": "筛选条件",
  35435. "type": "string"
  35436. },
  35437. "logincode": {
  35438. "description": "登录代码",
  35439. "type": "string"
  35440. },
  35441. "mobile": {
  35442. "description": "手机号码",
  35443. "type": "string"
  35444. },
  35445. "parentuserid": {
  35446. "description": "所属机构id",
  35447. "type": "integer"
  35448. },
  35449. "parentusername": {
  35450. "description": "所属机构名称",
  35451. "type": "string"
  35452. },
  35453. "refereeuserid": {
  35454. "description": "推荐人id(经纪人)",
  35455. "type": "integer"
  35456. },
  35457. "refernum": {
  35458. "description": "推荐码",
  35459. "type": "string"
  35460. },
  35461. "remark": {
  35462. "description": "备注",
  35463. "type": "string"
  35464. },
  35465. "subarealevelpath": {
  35466. "description": "层级路径",
  35467. "type": "string"
  35468. },
  35469. "tradedate": {
  35470. "description": "交易日(yyyyMMdd)",
  35471. "type": "string"
  35472. },
  35473. "userid": {
  35474. "description": "申请人用户ID",
  35475. "type": "integer"
  35476. },
  35477. "userinfotype": {
  35478. "description": "用户类型 1-个人 2-企业",
  35479. "type": "integer"
  35480. },
  35481. "username": {
  35482. "description": "用户名称",
  35483. "type": "string"
  35484. }
  35485. }
  35486. },
  35487. "models.QhjMgrBrokerRewardReport": {
  35488. "type": "object",
  35489. "properties": {
  35490. "createtime": {
  35491. "description": "创建时间(注册时间)",
  35492. "type": "string"
  35493. },
  35494. "cycletime": {
  35495. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  35496. "type": "string"
  35497. },
  35498. "cycletype": {
  35499. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  35500. "type": "integer"
  35501. },
  35502. "directtotalnum": {
  35503. "description": "直推总人数【期末】",
  35504. "type": "integer"
  35505. },
  35506. "indirecttotalnum": {
  35507. "description": "间推总人数【期末】",
  35508. "type": "integer"
  35509. },
  35510. "mobile": {
  35511. "description": "电话号码",
  35512. "type": "string"
  35513. },
  35514. "refereeuserid": {
  35515. "description": "推荐人id(经纪人id)",
  35516. "type": "integer"
  35517. },
  35518. "refereeusername": {
  35519. "description": "推荐人名称(经纪人) 上级经纪人名称",
  35520. "type": "string"
  35521. },
  35522. "refernum": {
  35523. "description": "推荐码",
  35524. "type": "string"
  35525. },
  35526. "subarealevelpath": {
  35527. "description": "用户层级路径",
  35528. "type": "string"
  35529. },
  35530. "todayrewardamount": {
  35531. "description": "奖励总金额【汇总】",
  35532. "type": "number"
  35533. },
  35534. "updatetime": {
  35535. "description": "更新时间",
  35536. "type": "string"
  35537. },
  35538. "userid": {
  35539. "description": "经纪人用户ID",
  35540. "type": "integer"
  35541. },
  35542. "userinfotype": {
  35543. "description": "用户类型 1-个人 2-企业",
  35544. "type": "integer"
  35545. },
  35546. "username": {
  35547. "description": "用户名称",
  35548. "type": "string"
  35549. }
  35550. }
  35551. },
  35552. "models.QhjMgrContract": {
  35553. "type": "object",
  35554. "properties": {
  35555. "contractconfirmtime": {
  35556. "description": "合同确认时间(时间)",
  35557. "type": "string"
  35558. },
  35559. "currisklevel": {
  35560. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35561. "type": "integer"
  35562. },
  35563. "decimalplace": {
  35564. "description": "商品报价小数位",
  35565. "type": "integer"
  35566. },
  35567. "enumdicname": {
  35568. "description": "单位名称",
  35569. "type": "string"
  35570. },
  35571. "goodscode": {
  35572. "description": "商品代码",
  35573. "type": "string"
  35574. },
  35575. "goodsid": {
  35576. "description": "商品ID [5:融资单]",
  35577. "type": "integer"
  35578. },
  35579. "goodsname": {
  35580. "description": "商品名称",
  35581. "type": "string"
  35582. },
  35583. "goodunitid": {
  35584. "description": "商品单位id",
  35585. "type": "integer"
  35586. },
  35587. "initmargin": {
  35588. "description": "初始保证金(首付款)",
  35589. "type": "number"
  35590. },
  35591. "lenderamount": {
  35592. "description": "贷款金额(总额|订单总额)",
  35593. "type": "number"
  35594. },
  35595. "logincode": {
  35596. "description": "账号(登录代码)",
  35597. "type": "string"
  35598. },
  35599. "marginratio": {
  35600. "description": "保证金比率(首付比例)",
  35601. "type": "number"
  35602. },
  35603. "mobile": {
  35604. "description": "电话号码(用户资料里的电话)",
  35605. "type": "string"
  35606. },
  35607. "payamount": {
  35608. "description": "已付(已付货款)",
  35609. "type": "number"
  35610. },
  35611. "reckonrecovermargin": {
  35612. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35613. "type": "number"
  35614. },
  35615. "recoveredmargin": {
  35616. "description": "已追缴保证金",
  35617. "type": "number"
  35618. },
  35619. "remainamount": {
  35620. "description": "合同剩余金额(融资额)",
  35621. "type": "number"
  35622. },
  35623. "scfcontractid": {
  35624. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35625. "type": "string"
  35626. },
  35627. "scfcontractstatus": {
  35628. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35629. "type": "integer"
  35630. },
  35631. "scfcontracttype": {
  35632. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35633. "type": "integer"
  35634. },
  35635. "totalinterest": {
  35636. "description": "已计总利息(利息)",
  35637. "type": "number"
  35638. },
  35639. "tradedate": {
  35640. "description": "交易日",
  35641. "type": "string"
  35642. },
  35643. "tradeprice": {
  35644. "description": "成交价格(成本价格)",
  35645. "type": "number"
  35646. },
  35647. "userid": {
  35648. "description": "用户ID",
  35649. "type": "integer"
  35650. },
  35651. "userinfotype": {
  35652. "description": "用户类型 1-个人 2-企业",
  35653. "type": "integer"
  35654. },
  35655. "username": {
  35656. "description": "用户名称",
  35657. "type": "string"
  35658. },
  35659. "wrqty": {
  35660. "description": "仓单数量(数量)",
  35661. "type": "number"
  35662. }
  35663. }
  35664. },
  35665. "models.QhjMgrCustomer": {
  35666. "type": "object",
  35667. "properties": {
  35668. "address": {
  35669. "description": "通讯地址",
  35670. "type": "string"
  35671. },
  35672. "attachment1": {
  35673. "description": "附件1",
  35674. "type": "string"
  35675. },
  35676. "audittime": {
  35677. "description": "审核时间",
  35678. "type": "string"
  35679. },
  35680. "birthday": {
  35681. "description": "生日",
  35682. "type": "string"
  35683. },
  35684. "brokerid": {
  35685. "description": "所属客户经理id",
  35686. "type": "integer"
  35687. },
  35688. "brokername": {
  35689. "description": "所属客户经理名称",
  35690. "type": "string"
  35691. },
  35692. "cardbackphotourl": {
  35693. "description": "证件反面图片地址",
  35694. "type": "string"
  35695. },
  35696. "cardfrontphotourl": {
  35697. "description": "证件正面图片地址",
  35698. "type": "string"
  35699. },
  35700. "cardnum": {
  35701. "description": "证件号码",
  35702. "type": "string"
  35703. },
  35704. "cardtype": {
  35705. "description": "证件类型",
  35706. "type": "integer"
  35707. },
  35708. "cardtypename": {
  35709. "description": "证件类型名称",
  35710. "type": "string"
  35711. },
  35712. "cityid": {
  35713. "description": "市",
  35714. "type": "integer"
  35715. },
  35716. "cityname": {
  35717. "description": "城市名称",
  35718. "type": "string"
  35719. },
  35720. "contactname": {
  35721. "description": "联系人",
  35722. "type": "string"
  35723. },
  35724. "countryid": {
  35725. "description": "国家",
  35726. "type": "integer"
  35727. },
  35728. "countryname": {
  35729. "description": "国家名称",
  35730. "type": "string"
  35731. },
  35732. "createtime": {
  35733. "description": "创建时间",
  35734. "type": "string"
  35735. },
  35736. "customername": {
  35737. "description": "客户名称",
  35738. "type": "string"
  35739. },
  35740. "districtid": {
  35741. "description": "区域",
  35742. "type": "integer"
  35743. },
  35744. "districtname": {
  35745. "description": "地区名称",
  35746. "type": "string"
  35747. },
  35748. "email": {
  35749. "description": "邮件",
  35750. "type": "string"
  35751. },
  35752. "legalpersonname": {
  35753. "description": "法人姓名(企业)",
  35754. "type": "string"
  35755. },
  35756. "logincode": {
  35757. "description": "登录账号(代码)",
  35758. "type": "string"
  35759. },
  35760. "memberuserid": {
  35761. "description": "所属机构ID(所属会员)",
  35762. "type": "integer"
  35763. },
  35764. "memberusername": {
  35765. "description": "所属会员名称",
  35766. "type": "string"
  35767. },
  35768. "mobile": {
  35769. "description": "手机号码",
  35770. "type": "string"
  35771. },
  35772. "modifytime": {
  35773. "description": "修改时间",
  35774. "type": "string"
  35775. },
  35776. "nickname": {
  35777. "description": "昵称",
  35778. "type": "string"
  35779. },
  35780. "parentuserid": {
  35781. "description": "上级机构(所属机构)",
  35782. "type": "integer"
  35783. },
  35784. "parentusername": {
  35785. "description": "所属机构名称",
  35786. "type": "string"
  35787. },
  35788. "provinceid": {
  35789. "description": "省",
  35790. "type": "integer"
  35791. },
  35792. "provincename": {
  35793. "description": "省名称",
  35794. "type": "string"
  35795. },
  35796. "proxystatementurl": {
  35797. "description": "授权委托书",
  35798. "type": "string"
  35799. },
  35800. "querytype": {
  35801. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  35802. "type": "integer"
  35803. },
  35804. "remark": {
  35805. "description": "备注",
  35806. "type": "string"
  35807. },
  35808. "sex": {
  35809. "description": "性别 0-女 1-男",
  35810. "type": "integer"
  35811. },
  35812. "status": {
  35813. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  35814. "type": "integer"
  35815. },
  35816. "statusdesc": {
  35817. "description": "账户状态中文描述",
  35818. "type": "string"
  35819. },
  35820. "taxpayernum": {
  35821. "description": "纳税人识别号",
  35822. "type": "string"
  35823. },
  35824. "telphone": {
  35825. "description": "联系电话",
  35826. "type": "string"
  35827. },
  35828. "userid": {
  35829. "description": "用户ID",
  35830. "type": "integer"
  35831. },
  35832. "userinfotype": {
  35833. "description": "客户类型 1-个人 2-企业",
  35834. "type": "integer"
  35835. },
  35836. "username": {
  35837. "description": "用户名称",
  35838. "type": "string"
  35839. }
  35840. }
  35841. },
  35842. "models.QhjMgrPickGoods": {
  35843. "type": "object",
  35844. "properties": {
  35845. "enumdicname": {
  35846. "description": "单位名称(提货商品)",
  35847. "type": "string"
  35848. },
  35849. "goodsid": {
  35850. "description": "商品id",
  35851. "type": "integer"
  35852. },
  35853. "imageaddress": {
  35854. "description": "图片",
  35855. "type": "string"
  35856. },
  35857. "modifierid": {
  35858. "description": "修改人",
  35859. "type": "integer"
  35860. },
  35861. "modifiername": {
  35862. "description": "修改人名称",
  35863. "type": "string"
  35864. },
  35865. "modifysrc": {
  35866. "description": "修改来源 - 1:管理端 2:终端",
  35867. "type": "integer"
  35868. },
  35869. "pickupgoodsagreeunit": {
  35870. "description": "合约乘数",
  35871. "type": "number"
  35872. },
  35873. "pickupgoodsdesc": {
  35874. "description": "描述",
  35875. "type": "string"
  35876. },
  35877. "pickupgoodsid": {
  35878. "description": "提货商品ID",
  35879. "type": "string"
  35880. },
  35881. "pickupgoodsname": {
  35882. "description": "提货商品名称",
  35883. "type": "string"
  35884. },
  35885. "pickupgoodsstatus": {
  35886. "description": "状态 - 1:正常 2:停用 3:注销",
  35887. "type": "integer"
  35888. },
  35889. "pickupgoodsunitid": {
  35890. "description": "单位ID",
  35891. "type": "integer"
  35892. },
  35893. "pickupratio": {
  35894. "description": "提货系数",
  35895. "type": "number"
  35896. },
  35897. "preparedays": {
  35898. "description": "备货期(天)",
  35899. "type": "integer"
  35900. },
  35901. "remark": {
  35902. "description": "备注",
  35903. "type": "string"
  35904. },
  35905. "updatetime": {
  35906. "description": "更新时间",
  35907. "type": "string"
  35908. }
  35909. }
  35910. },
  35911. "models.QhjMgrPositionRsp": {
  35912. "type": "object",
  35913. "properties": {
  35914. "accountid": {
  35915. "description": "账号Id",
  35916. "type": "integer"
  35917. },
  35918. "accountname": {
  35919. "description": "用户名称",
  35920. "type": "string"
  35921. },
  35922. "agreeunit": {
  35923. "description": "合约乘数",
  35924. "type": "number"
  35925. },
  35926. "averageprice": {
  35927. "description": "均价",
  35928. "type": "number"
  35929. },
  35930. "avialqty": {
  35931. "description": "可用数量",
  35932. "type": "number"
  35933. },
  35934. "decimalplace": {
  35935. "description": "报价小数位",
  35936. "type": "integer"
  35937. },
  35938. "enumdicname": {
  35939. "description": "单位名称(商品)",
  35940. "type": "string"
  35941. },
  35942. "frozenqty": {
  35943. "description": "冻结数量",
  35944. "type": "number"
  35945. },
  35946. "goodscode": {
  35947. "description": "商品代码(内部)",
  35948. "type": "string"
  35949. },
  35950. "goodsid": {
  35951. "description": "商品Id",
  35952. "type": "integer"
  35953. },
  35954. "goodsname": {
  35955. "description": "商品名称",
  35956. "type": "string"
  35957. },
  35958. "goodunitid": {
  35959. "description": "报价单位ID",
  35960. "type": "integer"
  35961. },
  35962. "holderamount": {
  35963. "description": "金额",
  35964. "type": "number"
  35965. },
  35966. "holderqty": {
  35967. "description": "持有数量",
  35968. "type": "number"
  35969. },
  35970. "holdertype": {
  35971. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  35972. "type": "integer"
  35973. },
  35974. "logincode": {
  35975. "description": "登录代码(账户)",
  35976. "type": "string"
  35977. },
  35978. "marketid": {
  35979. "description": "市场id",
  35980. "type": "integer"
  35981. },
  35982. "qtydecimalplace": {
  35983. "description": "成交量小数位",
  35984. "type": "integer"
  35985. },
  35986. "trademode": {
  35987. "description": "交易模式",
  35988. "type": "integer"
  35989. },
  35990. "userid": {
  35991. "description": "用户id",
  35992. "type": "integer"
  35993. },
  35994. "userinfotype": {
  35995. "description": "账户类型 1-个人 2-企业",
  35996. "type": "integer"
  35997. }
  35998. }
  35999. },
  36000. "models.QhjMgrSubArea": {
  36001. "type": "object",
  36002. "properties": {
  36003. "accountname": {
  36004. "description": "账户名称(机构名称)",
  36005. "type": "string"
  36006. },
  36007. "memberuserid": {
  36008. "description": "所属会员ID",
  36009. "type": "integer"
  36010. },
  36011. "parenttopuser": {
  36012. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  36013. "type": "string"
  36014. },
  36015. "parentuserid": {
  36016. "description": "所属机构ID",
  36017. "type": "integer"
  36018. },
  36019. "rootuserid": {
  36020. "description": "根用户ID",
  36021. "type": "string"
  36022. },
  36023. "subaccountlevel": {
  36024. "description": "子账户层数",
  36025. "type": "integer"
  36026. },
  36027. "subarealevelpath": {
  36028. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  36029. "type": "string"
  36030. },
  36031. "userid": {
  36032. "description": "用户ID",
  36033. "type": "integer"
  36034. },
  36035. "usertype": {
  36036. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36037. "type": "integer"
  36038. }
  36039. }
  36040. },
  36041. "models.QhjMgrTradeDetailRsp": {
  36042. "type": "object",
  36043. "properties": {
  36044. "accountid": {
  36045. "description": "资金账号",
  36046. "type": "integer"
  36047. },
  36048. "accountname": {
  36049. "description": "用户名称",
  36050. "type": "string"
  36051. },
  36052. "agreeunit": {
  36053. "description": "合约乘数",
  36054. "type": "number"
  36055. },
  36056. "buyorsell": {
  36057. "description": "成交类型(方向) 0:买 1:卖",
  36058. "type": "integer"
  36059. },
  36060. "decimalplace": {
  36061. "description": "报价小数位",
  36062. "type": "integer"
  36063. },
  36064. "enumdicname": {
  36065. "description": "单位名称(商品)",
  36066. "type": "string"
  36067. },
  36068. "goodscode": {
  36069. "description": "商品代码(内部)",
  36070. "type": "string"
  36071. },
  36072. "goodsid": {
  36073. "description": "商品id",
  36074. "type": "integer"
  36075. },
  36076. "goodsname": {
  36077. "description": "商品名称",
  36078. "type": "string"
  36079. },
  36080. "goodunitid": {
  36081. "description": "报价单位ID",
  36082. "type": "integer"
  36083. },
  36084. "logincode": {
  36085. "description": "登录代码(账户)",
  36086. "type": "string"
  36087. },
  36088. "marketid": {
  36089. "description": "市场id",
  36090. "type": "integer"
  36091. },
  36092. "orderid": {
  36093. "description": "关联委托单号",
  36094. "type": "string"
  36095. },
  36096. "qtydecimalplace": {
  36097. "description": "成交量小数位",
  36098. "type": "integer"
  36099. },
  36100. "tradeamount": {
  36101. "description": "金额",
  36102. "type": "number"
  36103. },
  36104. "tradedate": {
  36105. "description": "交易日",
  36106. "type": "string"
  36107. },
  36108. "tradeid": {
  36109. "description": "成交单号",
  36110. "type": "string"
  36111. },
  36112. "trademode": {
  36113. "description": "交易模式",
  36114. "type": "integer"
  36115. },
  36116. "tradeprice": {
  36117. "description": "价格",
  36118. "type": "number"
  36119. },
  36120. "tradeqty": {
  36121. "description": "数量",
  36122. "type": "number"
  36123. },
  36124. "tradetime": {
  36125. "description": "成交时间",
  36126. "type": "string"
  36127. },
  36128. "userid": {
  36129. "description": "用户id",
  36130. "type": "integer"
  36131. },
  36132. "userinfotype": {
  36133. "description": "账户类型 1-个人 2-企业",
  36134. "type": "integer"
  36135. }
  36136. }
  36137. },
  36138. "models.QhjMgrTradeOrderDetailRsp": {
  36139. "type": "object",
  36140. "properties": {
  36141. "accountid": {
  36142. "description": "资金账号",
  36143. "type": "integer"
  36144. },
  36145. "accountname": {
  36146. "description": "用户名称",
  36147. "type": "string"
  36148. },
  36149. "agreeunit": {
  36150. "description": "合约乘数",
  36151. "type": "number"
  36152. },
  36153. "amount": {
  36154. "description": "金额",
  36155. "type": "number"
  36156. },
  36157. "decimalplace": {
  36158. "description": "报价小数位",
  36159. "type": "integer"
  36160. },
  36161. "enumdicname": {
  36162. "description": "单位名称(商品)",
  36163. "type": "string"
  36164. },
  36165. "goodscode": {
  36166. "description": "商品代码(内部)",
  36167. "type": "string"
  36168. },
  36169. "goodsid": {
  36170. "description": "商品id",
  36171. "type": "integer"
  36172. },
  36173. "goodsname": {
  36174. "description": "商品名称",
  36175. "type": "string"
  36176. },
  36177. "goodunitid": {
  36178. "description": "报价单位ID",
  36179. "type": "integer"
  36180. },
  36181. "logincode": {
  36182. "description": "登录代码(账户)",
  36183. "type": "string"
  36184. },
  36185. "marketid": {
  36186. "description": "市场id",
  36187. "type": "integer"
  36188. },
  36189. "orderid": {
  36190. "description": "关联委托单号",
  36191. "type": "string"
  36192. },
  36193. "orderprice": {
  36194. "description": "价格",
  36195. "type": "number"
  36196. },
  36197. "orderqty": {
  36198. "description": "数量",
  36199. "type": "number"
  36200. },
  36201. "orderstatus": {
  36202. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36203. "type": "integer"
  36204. },
  36205. "ordertime": {
  36206. "description": "委托时间",
  36207. "type": "string"
  36208. },
  36209. "qtydecimalplace": {
  36210. "description": "成交量小数位",
  36211. "type": "integer"
  36212. },
  36213. "tradedate": {
  36214. "description": "交易日",
  36215. "type": "string"
  36216. },
  36217. "trademode": {
  36218. "description": "交易模式",
  36219. "type": "integer"
  36220. },
  36221. "userid": {
  36222. "description": "用户id",
  36223. "type": "integer"
  36224. },
  36225. "userinfotype": {
  36226. "description": "账户类型 1-个人 2-企业",
  36227. "type": "integer"
  36228. }
  36229. }
  36230. },
  36231. "models.QhjMgrTradePayOrder": {
  36232. "type": "object",
  36233. "properties": {
  36234. "accountname": {
  36235. "description": "用户名称",
  36236. "type": "string"
  36237. },
  36238. "advanceratio": {
  36239. "description": "首付比率",
  36240. "type": "number"
  36241. },
  36242. "agreeunit": {
  36243. "description": "合约乘数",
  36244. "type": "number"
  36245. },
  36246. "buyaccountid": {
  36247. "description": "买方账号ID[报价币种]",
  36248. "type": "integer"
  36249. },
  36250. "buyorderid": {
  36251. "description": "买方委托单号(关联单号)",
  36252. "type": "string"
  36253. },
  36254. "createtime": {
  36255. "description": "创建时间",
  36256. "type": "string"
  36257. },
  36258. "decimalplace": {
  36259. "description": "报价小数位",
  36260. "type": "integer"
  36261. },
  36262. "enumdicname": {
  36263. "description": "单位名称(商品)",
  36264. "type": "string"
  36265. },
  36266. "goodscode": {
  36267. "description": "商品代码(内部)",
  36268. "type": "string"
  36269. },
  36270. "goodsid": {
  36271. "description": "商品ID",
  36272. "type": "integer"
  36273. },
  36274. "goodsname": {
  36275. "description": "商品名称",
  36276. "type": "string"
  36277. },
  36278. "goodunitid": {
  36279. "description": "报价单位ID",
  36280. "type": "integer"
  36281. },
  36282. "logincode": {
  36283. "description": "登录代码(账户)",
  36284. "type": "string"
  36285. },
  36286. "marketid": {
  36287. "description": "市场id",
  36288. "type": "integer"
  36289. },
  36290. "offamount": {
  36291. "description": "优惠金额",
  36292. "type": "number"
  36293. },
  36294. "operatetype": {
  36295. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36296. "type": "integer"
  36297. },
  36298. "payamount": {
  36299. "description": "支付金额(金额)",
  36300. "type": "number"
  36301. },
  36302. "payflag": {
  36303. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36304. "type": "integer"
  36305. },
  36306. "paylimitedtime": {
  36307. "description": "支付期限",
  36308. "type": "string"
  36309. },
  36310. "paytime": {
  36311. "description": "付款时间",
  36312. "type": "string"
  36313. },
  36314. "qtydecimalplace": {
  36315. "description": "成交量小数位",
  36316. "type": "integer"
  36317. },
  36318. "sellaccountid": {
  36319. "description": "卖方账号ID[报价币种]",
  36320. "type": "integer"
  36321. },
  36322. "sellorderid": {
  36323. "description": "卖方委托单号",
  36324. "type": "string"
  36325. },
  36326. "tradeamount": {
  36327. "description": "成交金额(优惠后金额)",
  36328. "type": "number"
  36329. },
  36330. "tradecharge": {
  36331. "description": "成交手续费(买方)",
  36332. "type": "number"
  36333. },
  36334. "tradedate": {
  36335. "description": "交易日(yyyyMMdd)",
  36336. "type": "string"
  36337. },
  36338. "tradeid": {
  36339. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36340. "type": "string"
  36341. },
  36342. "trademode": {
  36343. "description": "交易模式",
  36344. "type": "integer"
  36345. },
  36346. "tradeprice": {
  36347. "description": "成交价格(价格)",
  36348. "type": "number"
  36349. },
  36350. "tradeqty": {
  36351. "description": "成交数量(数量)",
  36352. "type": "number"
  36353. },
  36354. "tradetime": {
  36355. "description": "成交时间",
  36356. "type": "string"
  36357. },
  36358. "userid": {
  36359. "description": "用户id",
  36360. "type": "integer"
  36361. },
  36362. "userinfotype": {
  36363. "description": "账户类型 1-个人 2-企业",
  36364. "type": "integer"
  36365. }
  36366. }
  36367. },
  36368. "models.QhjMyTeamEx": {
  36369. "type": "object",
  36370. "properties": {
  36371. "accountname": {
  36372. "description": "用户名称",
  36373. "type": "string"
  36374. },
  36375. "accountstatus": {
  36376. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36377. "type": "integer"
  36378. },
  36379. "createtime": {
  36380. "description": "创建时间",
  36381. "type": "string"
  36382. },
  36383. "mobile": {
  36384. "description": "手机号码",
  36385. "type": "string"
  36386. },
  36387. "refereeuserid": {
  36388. "description": "推荐人id",
  36389. "type": "integer"
  36390. },
  36391. "refernum": {
  36392. "description": "推荐码",
  36393. "type": "string"
  36394. },
  36395. "subList": {
  36396. "type": "array",
  36397. "items": {
  36398. "$ref": "#/definitions/models.QhjMyTeamEx"
  36399. }
  36400. },
  36401. "userid": {
  36402. "description": "用户id",
  36403. "type": "integer"
  36404. },
  36405. "userinfotype": {
  36406. "description": "用户类型 1-个人 2-企业",
  36407. "type": "integer"
  36408. }
  36409. }
  36410. },
  36411. "models.QhjNodeAgreementConfig": {
  36412. "type": "object",
  36413. "properties": {
  36414. "agreementcontent": {
  36415. "description": "协议内容",
  36416. "type": "string"
  36417. },
  36418. "agreementid": {
  36419. "description": "协议ID",
  36420. "type": "integer"
  36421. },
  36422. "agreementname": {
  36423. "description": "协议名称",
  36424. "type": "string"
  36425. },
  36426. "agreementno": {
  36427. "description": "协议编号",
  36428. "type": "string"
  36429. },
  36430. "agreementtype": {
  36431. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36432. "type": "integer"
  36433. },
  36434. "agreementversion": {
  36435. "description": "协议版本号",
  36436. "type": "integer"
  36437. },
  36438. "configid": {
  36439. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36440. "type": "integer"
  36441. },
  36442. "createtime": {
  36443. "description": "创建时间",
  36444. "type": "string"
  36445. },
  36446. "goodsid": {
  36447. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36448. "type": "integer"
  36449. },
  36450. "nodetype": {
  36451. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36452. "type": "integer"
  36453. }
  36454. }
  36455. },
  36456. "models.QhjParentAreaList": {
  36457. "type": "object",
  36458. "properties": {
  36459. "accountname": {
  36460. "description": "账户名称(机构名称)",
  36461. "type": "string"
  36462. },
  36463. "userid": {
  36464. "description": "用户ID",
  36465. "type": "integer"
  36466. },
  36467. "usertype": {
  36468. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36469. "type": "integer"
  36470. }
  36471. }
  36472. },
  36473. "models.QhjPayOrder": {
  36474. "type": "object",
  36475. "properties": {
  36476. "advanceratio": {
  36477. "description": "首付比率",
  36478. "type": "number"
  36479. },
  36480. "buyaccountid": {
  36481. "description": "买方账号ID[报价币种]",
  36482. "type": "integer"
  36483. },
  36484. "buyorderid": {
  36485. "description": "买方委托单号",
  36486. "type": "string"
  36487. },
  36488. "createtime": {
  36489. "description": "创建时间",
  36490. "type": "string"
  36491. },
  36492. "decimalplace": {
  36493. "description": "商品报价小数位",
  36494. "type": "integer"
  36495. },
  36496. "enumdicname": {
  36497. "description": "单位名称",
  36498. "type": "string"
  36499. },
  36500. "goodscode": {
  36501. "description": "商品代码",
  36502. "type": "string"
  36503. },
  36504. "goodsid": {
  36505. "description": "商品ID",
  36506. "type": "integer"
  36507. },
  36508. "goodsname": {
  36509. "description": "商品名称",
  36510. "type": "string"
  36511. },
  36512. "goodunitid": {
  36513. "description": "商品单位id",
  36514. "type": "integer"
  36515. },
  36516. "marketid": {
  36517. "description": "市场ID",
  36518. "type": "integer"
  36519. },
  36520. "offamount": {
  36521. "description": "优惠金额",
  36522. "type": "number"
  36523. },
  36524. "operatetype": {
  36525. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36526. "type": "integer"
  36527. },
  36528. "payamount": {
  36529. "description": "支付金额",
  36530. "type": "number"
  36531. },
  36532. "payflag": {
  36533. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36534. "type": "integer"
  36535. },
  36536. "paylimitedtime": {
  36537. "description": "支付期限",
  36538. "type": "string"
  36539. },
  36540. "paytime": {
  36541. "description": "付款时间",
  36542. "type": "string"
  36543. },
  36544. "qtydecimalplace": {
  36545. "description": "成交量小数位",
  36546. "type": "integer"
  36547. },
  36548. "sellaccountid": {
  36549. "description": "卖方账号ID[报价币种]",
  36550. "type": "integer"
  36551. },
  36552. "sellorderid": {
  36553. "description": "卖方委托单号",
  36554. "type": "string"
  36555. },
  36556. "tradeamount": {
  36557. "description": "成交金额(优惠后金额)",
  36558. "type": "number"
  36559. },
  36560. "tradecharge": {
  36561. "description": "成交手续费(买方)",
  36562. "type": "number"
  36563. },
  36564. "tradedate": {
  36565. "description": "交易日(yyyyMMdd)",
  36566. "type": "string"
  36567. },
  36568. "tradeid": {
  36569. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36570. "type": "string"
  36571. },
  36572. "tradeprice": {
  36573. "description": "成交价格",
  36574. "type": "number"
  36575. },
  36576. "tradeqty": {
  36577. "description": "成交数量",
  36578. "type": "number"
  36579. }
  36580. }
  36581. },
  36582. "models.QhjPickArea": {
  36583. "type": "object",
  36584. "properties": {
  36585. "address": {
  36586. "description": "详细地址",
  36587. "type": "string"
  36588. },
  36589. "cityid": {
  36590. "description": "市",
  36591. "type": "integer"
  36592. },
  36593. "cityname": {
  36594. "description": "城市名称",
  36595. "type": "string"
  36596. },
  36597. "countryid": {
  36598. "description": "国家",
  36599. "type": "integer"
  36600. },
  36601. "countryname": {
  36602. "description": "国家名称",
  36603. "type": "string"
  36604. },
  36605. "districtid": {
  36606. "description": "地区",
  36607. "type": "integer"
  36608. },
  36609. "districtname": {
  36610. "description": "地区名称",
  36611. "type": "string"
  36612. },
  36613. "fromuserid": {
  36614. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  36615. "type": "integer"
  36616. },
  36617. "fromusername": {
  36618. "description": "所属机构名称",
  36619. "type": "string"
  36620. },
  36621. "provinceid": {
  36622. "description": "省",
  36623. "type": "integer"
  36624. },
  36625. "provincename": {
  36626. "description": "省名称",
  36627. "type": "string"
  36628. },
  36629. "suborgtype": {
  36630. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  36631. "type": "integer"
  36632. },
  36633. "userid": {
  36634. "description": "机构用户ID 其他做市关系,都设置为 1",
  36635. "type": "integer"
  36636. },
  36637. "username": {
  36638. "description": "机构用户名称(门店门称)",
  36639. "type": "string"
  36640. }
  36641. }
  36642. },
  36643. "models.QhjPickGoods": {
  36644. "type": "object",
  36645. "properties": {
  36646. "enumdicname": {
  36647. "description": "单位名称(提货商品)",
  36648. "type": "string"
  36649. },
  36650. "goodsid": {
  36651. "description": "商品id",
  36652. "type": "integer"
  36653. },
  36654. "imageaddress": {
  36655. "description": "图片",
  36656. "type": "string"
  36657. },
  36658. "modifierid": {
  36659. "description": "修改人",
  36660. "type": "integer"
  36661. },
  36662. "modifiername": {
  36663. "description": "修改人名称",
  36664. "type": "string"
  36665. },
  36666. "modifysrc": {
  36667. "description": "修改来源 - 1:管理端 2:终端",
  36668. "type": "integer"
  36669. },
  36670. "pickupgoodsagreeunit": {
  36671. "description": "合约乘数",
  36672. "type": "number"
  36673. },
  36674. "pickupgoodsdesc": {
  36675. "description": "描述",
  36676. "type": "string"
  36677. },
  36678. "pickupgoodsid": {
  36679. "description": "提货商品ID",
  36680. "type": "string"
  36681. },
  36682. "pickupgoodsname": {
  36683. "description": "提货商品名称",
  36684. "type": "string"
  36685. },
  36686. "pickupgoodsstatus": {
  36687. "description": "状态 - 1:正常 2:停用 3:注销",
  36688. "type": "integer"
  36689. },
  36690. "pickupgoodsunitid": {
  36691. "description": "单位ID",
  36692. "type": "integer"
  36693. },
  36694. "pickupratio": {
  36695. "description": "提货系数",
  36696. "type": "number"
  36697. },
  36698. "preparedays": {
  36699. "description": "备货期(天)",
  36700. "type": "integer"
  36701. },
  36702. "remark": {
  36703. "description": "备注",
  36704. "type": "string"
  36705. },
  36706. "updatetime": {
  36707. "description": "更新时间",
  36708. "type": "string"
  36709. }
  36710. }
  36711. },
  36712. "models.QhjRSTriggerLog": {
  36713. "type": "object",
  36714. "properties": {
  36715. "accountid": {
  36716. "description": "用户资金账户",
  36717. "type": "integer"
  36718. },
  36719. "accountname": {
  36720. "description": "账号名称(ACCOUNTID对应的名称)",
  36721. "type": "string"
  36722. },
  36723. "currencyid": {
  36724. "description": "币种id",
  36725. "type": "integer"
  36726. },
  36727. "currencyname": {
  36728. "description": "币种名称",
  36729. "type": "string"
  36730. },
  36731. "decimalplace": {
  36732. "description": "商品报价小数位",
  36733. "type": "integer"
  36734. },
  36735. "enumdicname": {
  36736. "description": "单位名称",
  36737. "type": "string"
  36738. },
  36739. "goodscode": {
  36740. "description": "定投商品代码",
  36741. "type": "string"
  36742. },
  36743. "goodsid": {
  36744. "description": "定投商品ID",
  36745. "type": "integer"
  36746. },
  36747. "goodsname": {
  36748. "description": "定投商品名称",
  36749. "type": "string"
  36750. },
  36751. "goodunitid": {
  36752. "description": "定投商品单位id",
  36753. "type": "integer"
  36754. },
  36755. "logid": {
  36756. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  36757. "type": "string"
  36758. },
  36759. "logincode": {
  36760. "description": "账号(登录代码)",
  36761. "type": "string"
  36762. },
  36763. "qtydecimalplace": {
  36764. "description": "成交量小数位",
  36765. "type": "integer"
  36766. },
  36767. "regularlycycle": {
  36768. "description": "定投频率 - 1:每周 2:每月",
  36769. "type": "integer"
  36770. },
  36771. "regularlycyclevalue": {
  36772. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  36773. "type": "string"
  36774. },
  36775. "regularlymode": {
  36776. "description": "定投方式 - 1:按数量 2:按金额",
  36777. "type": "integer"
  36778. },
  36779. "regularlymodevalue": {
  36780. "description": "定投方式值 - 数量或金额",
  36781. "type": "number"
  36782. },
  36783. "regularlystrategyid": {
  36784. "description": "定投策略ID",
  36785. "type": "integer"
  36786. },
  36787. "retcode": {
  36788. "description": "错误码",
  36789. "type": "string"
  36790. },
  36791. "tradeid": {
  36792. "description": "成交单ID",
  36793. "type": "string"
  36794. },
  36795. "triggeramount": {
  36796. "description": "触发金额",
  36797. "type": "number"
  36798. },
  36799. "triggerqty": {
  36800. "description": "触发数量",
  36801. "type": "number"
  36802. },
  36803. "triggerstatus": {
  36804. "description": "触发状态 - 1:成功 2:失败",
  36805. "type": "integer"
  36806. },
  36807. "triggertime": {
  36808. "description": "触发时间",
  36809. "type": "string"
  36810. },
  36811. "triggertradedate": {
  36812. "description": "触发交易日",
  36813. "type": "string"
  36814. },
  36815. "userid": {
  36816. "description": "所属用户ID",
  36817. "type": "integer"
  36818. },
  36819. "userinfotype": {
  36820. "description": "用户类型 1-个人 2-企业",
  36821. "type": "integer"
  36822. },
  36823. "username": {
  36824. "description": "用户名称(userid对应的名称)",
  36825. "type": "string"
  36826. }
  36827. }
  36828. },
  36829. "models.QhjRStrategy": {
  36830. "type": "object",
  36831. "properties": {
  36832. "accountid": {
  36833. "description": "用户资金账户",
  36834. "type": "integer"
  36835. },
  36836. "accountname": {
  36837. "description": "账号名称(ACCOUNTID对应的名称)",
  36838. "type": "string"
  36839. },
  36840. "currencyid": {
  36841. "description": "币种id",
  36842. "type": "integer"
  36843. },
  36844. "currencyname": {
  36845. "description": "币种名称",
  36846. "type": "string"
  36847. },
  36848. "decimalplace": {
  36849. "description": "商品报价小数位",
  36850. "type": "integer"
  36851. },
  36852. "enumdicname": {
  36853. "description": "单位名称",
  36854. "type": "string"
  36855. },
  36856. "goodscode": {
  36857. "description": "定投商品代码",
  36858. "type": "string"
  36859. },
  36860. "goodsid": {
  36861. "description": "定投商品ID",
  36862. "type": "integer"
  36863. },
  36864. "goodsname": {
  36865. "description": "定投商品名称",
  36866. "type": "string"
  36867. },
  36868. "goodunitid": {
  36869. "description": "定投商品单位id",
  36870. "type": "integer"
  36871. },
  36872. "lasteffecttradedate": {
  36873. "description": "最新生效交易日",
  36874. "type": "string"
  36875. },
  36876. "laststoptradedate": {
  36877. "description": "最新暂停交易日",
  36878. "type": "string"
  36879. },
  36880. "lasttriggertradedate": {
  36881. "description": "最新触发交易日",
  36882. "type": "string"
  36883. },
  36884. "logincode": {
  36885. "description": "账号(登录代码)",
  36886. "type": "string"
  36887. },
  36888. "nexttriggeramount": {
  36889. "description": "下次触发金额",
  36890. "type": "number"
  36891. },
  36892. "nexttriggerdate": {
  36893. "description": "下次触发日期",
  36894. "type": "string"
  36895. },
  36896. "nexttriggerqty": {
  36897. "description": "下次触发数量 [按小数位放大值]",
  36898. "type": "number"
  36899. },
  36900. "qtydecimalplace": {
  36901. "description": "成交量小数位",
  36902. "type": "integer"
  36903. },
  36904. "regularlycycle": {
  36905. "description": "定投频率 - 1:每周 2:每月",
  36906. "type": "integer"
  36907. },
  36908. "regularlycyclevalue": {
  36909. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  36910. "type": "string"
  36911. },
  36912. "regularlymode": {
  36913. "description": "定投方式 - 1:按数量 2:按金额",
  36914. "type": "integer"
  36915. },
  36916. "regularlymodevalue": {
  36917. "description": "定投方式值 - 数量或金额",
  36918. "type": "number"
  36919. },
  36920. "regularlystrategyid": {
  36921. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  36922. "type": "integer"
  36923. },
  36924. "regularlystrategystatus": {
  36925. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  36926. "type": "integer"
  36927. },
  36928. "remark": {
  36929. "description": "备注",
  36930. "type": "string"
  36931. },
  36932. "triggersuccesstimes": {
  36933. "description": "累计定投成功次数",
  36934. "type": "string"
  36935. },
  36936. "triggertotalamount": {
  36937. "description": "累计定投金额(成功)",
  36938. "type": "number"
  36939. },
  36940. "triggertotalqty": {
  36941. "description": "累计定投数量(成功) [按小数位放大值]",
  36942. "type": "number"
  36943. },
  36944. "triggertotaltimes": {
  36945. "description": "累计定投总次数",
  36946. "type": "string"
  36947. },
  36948. "updatesrc": {
  36949. "description": "更新来源 - 1:管理端 2:终端",
  36950. "type": "integer"
  36951. },
  36952. "updatetime": {
  36953. "description": "更新时间",
  36954. "type": "string"
  36955. },
  36956. "updatorid": {
  36957. "description": "更新人",
  36958. "type": "string"
  36959. },
  36960. "userid": {
  36961. "description": "所属用户ID",
  36962. "type": "integer"
  36963. },
  36964. "userinfotype": {
  36965. "description": "用户类型 1-个人 2-企业",
  36966. "type": "integer"
  36967. },
  36968. "username": {
  36969. "description": "用户名称(userid对应的名称)",
  36970. "type": "string"
  36971. }
  36972. }
  36973. },
  36974. "models.QhjReckonPriceLog": {
  36975. "type": "object",
  36976. "properties": {
  36977. "decimalplace": {
  36978. "description": "商品报价小数位",
  36979. "type": "integer"
  36980. },
  36981. "goodscode": {
  36982. "description": "商品代码",
  36983. "type": "string"
  36984. },
  36985. "goodsid": {
  36986. "description": "商品ID",
  36987. "type": "integer"
  36988. },
  36989. "goodsname": {
  36990. "description": "商品名称",
  36991. "type": "string"
  36992. },
  36993. "lastreckonprice": {
  36994. "description": "上日结算价",
  36995. "type": "number"
  36996. },
  36997. "nextdnlimitprice": {
  36998. "description": "下个交易日跌停价",
  36999. "type": "number"
  37000. },
  37001. "nexttrade": {
  37002. "description": "下个交易日",
  37003. "type": "string"
  37004. },
  37005. "nextuplimitprice": {
  37006. "description": "下个交易日涨停价",
  37007. "type": "number"
  37008. },
  37009. "reckonprice": {
  37010. "description": "今日结算价(定投价)",
  37011. "type": "number"
  37012. },
  37013. "reckontime": {
  37014. "description": "结算时间",
  37015. "type": "string"
  37016. },
  37017. "totalholderqty": {
  37018. "description": "总持仓数",
  37019. "type": "integer"
  37020. },
  37021. "totalstock": {
  37022. "description": "总库存",
  37023. "type": "integer"
  37024. },
  37025. "tradedate": {
  37026. "description": "交易日",
  37027. "type": "string"
  37028. },
  37029. "updowncount": {
  37030. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  37031. "type": "integer"
  37032. },
  37033. "updownflag": {
  37034. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  37035. "type": "integer"
  37036. },
  37037. "updownrate": {
  37038. "description": "今日涨跌幅",
  37039. "type": "number"
  37040. },
  37041. "updownrate_2d": {
  37042. "description": "连续两日涨跌幅",
  37043. "type": "number"
  37044. },
  37045. "updownrate_3d": {
  37046. "description": "连续三日涨跌幅",
  37047. "type": "number"
  37048. }
  37049. }
  37050. },
  37051. "models.QhjScoreLog": {
  37052. "type": "object",
  37053. "properties": {
  37054. "accountid": {
  37055. "description": "账户ID",
  37056. "type": "integer"
  37057. },
  37058. "createtime": {
  37059. "description": "创建时间(时间)",
  37060. "type": "string"
  37061. },
  37062. "goodsid": {
  37063. "description": "商品ID",
  37064. "type": "integer"
  37065. },
  37066. "hasuploaded": {
  37067. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  37068. "type": "integer"
  37069. },
  37070. "logid": {
  37071. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37072. "type": "string"
  37073. },
  37074. "marketid": {
  37075. "description": "市场ID",
  37076. "type": "integer"
  37077. },
  37078. "relatedamount": {
  37079. "description": "关联金额",
  37080. "type": "number"
  37081. },
  37082. "relatedorderid": {
  37083. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  37084. "type": "string"
  37085. },
  37086. "scoreconfigvalue1": {
  37087. "description": "积分配置1",
  37088. "type": "integer"
  37089. },
  37090. "scoreconfigvalue2": {
  37091. "description": "积分配置1",
  37092. "type": "integer"
  37093. },
  37094. "scoretype": {
  37095. "description": "积分类型 - 1:提货积分",
  37096. "type": "integer"
  37097. },
  37098. "scorevalue": {
  37099. "description": "积分",
  37100. "type": "number"
  37101. },
  37102. "tradedate": {
  37103. "description": "交易日(yyyyMMdd)",
  37104. "type": "string"
  37105. },
  37106. "uploadedtime": {
  37107. "description": "同步时间",
  37108. "type": "string"
  37109. },
  37110. "userid": {
  37111. "description": "用户ID",
  37112. "type": "integer"
  37113. }
  37114. }
  37115. },
  37116. "models.QhjSiteColumnDetail": {
  37117. "type": "object",
  37118. "properties": {
  37119. "author": {
  37120. "description": "作者",
  37121. "type": "string"
  37122. },
  37123. "brief": {
  37124. "description": "简介",
  37125. "type": "string"
  37126. },
  37127. "columnid": {
  37128. "description": "所属栏目",
  37129. "type": "integer"
  37130. },
  37131. "context": {
  37132. "description": "内容",
  37133. "type": "string"
  37134. },
  37135. "coverimage": {
  37136. "description": "封面图片",
  37137. "type": "string"
  37138. },
  37139. "creaedate": {
  37140. "description": "创建时间",
  37141. "type": "string"
  37142. },
  37143. "creatorid": {
  37144. "description": "创建人",
  37145. "type": "integer"
  37146. },
  37147. "hits": {
  37148. "description": "点击数",
  37149. "type": "integer"
  37150. },
  37151. "id": {
  37152. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37153. "type": "integer"
  37154. },
  37155. "isshow": {
  37156. "description": "是否展示 - 0:不展示 1:展示",
  37157. "type": "integer"
  37158. },
  37159. "istop": {
  37160. "description": "是否置顶 - 0:不置 1:置顶",
  37161. "type": "integer"
  37162. },
  37163. "modifierid": {
  37164. "description": "操作人",
  37165. "type": "integer"
  37166. },
  37167. "publishdate": {
  37168. "description": "发布日期",
  37169. "type": "string"
  37170. },
  37171. "status": {
  37172. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  37173. "type": "integer"
  37174. },
  37175. "title": {
  37176. "description": "标题",
  37177. "type": "string"
  37178. },
  37179. "updatedate": {
  37180. "description": "修改时间",
  37181. "type": "string"
  37182. },
  37183. "userid": {
  37184. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  37185. "type": "integer"
  37186. },
  37187. "username": {
  37188. "description": "用户名称",
  37189. "type": "string"
  37190. }
  37191. }
  37192. },
  37193. "models.QhjTeamOrder": {
  37194. "type": "object",
  37195. "properties": {
  37196. "accountid": {
  37197. "description": "账户ID[报价币种]",
  37198. "type": "integer"
  37199. },
  37200. "accountname": {
  37201. "description": "账户名称",
  37202. "type": "string"
  37203. },
  37204. "agreeunit": {
  37205. "description": "合约乘数",
  37206. "type": "number"
  37207. },
  37208. "buyorsell": {
  37209. "description": "方向 - 0:买 1:卖",
  37210. "type": "integer"
  37211. },
  37212. "decimalplace": {
  37213. "description": "报价小数位",
  37214. "type": "integer"
  37215. },
  37216. "enumdicname": {
  37217. "description": "单位名称",
  37218. "type": "string"
  37219. },
  37220. "goodscode": {
  37221. "description": "商品代码(内部)",
  37222. "type": "string"
  37223. },
  37224. "goodsid": {
  37225. "description": "商品ID",
  37226. "type": "integer"
  37227. },
  37228. "goodsname": {
  37229. "description": "商品名称",
  37230. "type": "string"
  37231. },
  37232. "goodunitid": {
  37233. "description": "报价单位ID",
  37234. "type": "integer"
  37235. },
  37236. "marketid": {
  37237. "description": "市场ID",
  37238. "type": "integer"
  37239. },
  37240. "marketname": {
  37241. "description": "市场名称",
  37242. "type": "string"
  37243. },
  37244. "qtydecimalplace": {
  37245. "description": "成交量小数位",
  37246. "type": "integer"
  37247. },
  37248. "refereeuserid": {
  37249. "description": "推荐人ID",
  37250. "type": "integer"
  37251. },
  37252. "tradeamount": {
  37253. "description": "成交金额[账户币种,用于所有权]",
  37254. "type": "number"
  37255. },
  37256. "tradedate": {
  37257. "description": "交易日(yyyyMMdd)",
  37258. "type": "string"
  37259. },
  37260. "trademode": {
  37261. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37262. "type": "integer"
  37263. },
  37264. "tradeprice": {
  37265. "description": "成交价格",
  37266. "type": "number"
  37267. },
  37268. "tradeqty": {
  37269. "description": "成交数量",
  37270. "type": "number"
  37271. },
  37272. "tradetime": {
  37273. "description": "成交时间",
  37274. "type": "string"
  37275. },
  37276. "userid": {
  37277. "description": "用户ID",
  37278. "type": "integer"
  37279. }
  37280. }
  37281. },
  37282. "models.QhjTradeGoodsPickup": {
  37283. "type": "object",
  37284. "properties": {
  37285. "accountid": {
  37286. "description": "账户ID",
  37287. "type": "integer"
  37288. },
  37289. "address": {
  37290. "description": "提货人详细地址",
  37291. "type": "string"
  37292. },
  37293. "amount": {
  37294. "description": "提货金额",
  37295. "type": "number"
  37296. },
  37297. "artradedate": {
  37298. "description": "自动收货交易日(yyyyMMdd)",
  37299. "type": "string"
  37300. },
  37301. "auditer": {
  37302. "description": "审核人",
  37303. "type": "integer"
  37304. },
  37305. "auditsrc": {
  37306. "description": "更新来源 - 1:管理端 2:终端",
  37307. "type": "integer"
  37308. },
  37309. "audittime": {
  37310. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  37311. "type": "string"
  37312. },
  37313. "audittradedate": {
  37314. "description": "审核交易日(yyyyMMdd)",
  37315. "type": "string"
  37316. },
  37317. "cardnum": {
  37318. "description": "提货人证件号码",
  37319. "type": "string"
  37320. },
  37321. "cardtypeid": {
  37322. "description": "提货人证件类型",
  37323. "type": "integer"
  37324. },
  37325. "checkremark": {
  37326. "description": "审核备注",
  37327. "type": "string"
  37328. },
  37329. "cityid": {
  37330. "description": "市",
  37331. "type": "integer"
  37332. },
  37333. "cityname": {
  37334. "description": "城市名称",
  37335. "type": "string"
  37336. },
  37337. "confirmtime": {
  37338. "description": "取货时间 或 收货时间",
  37339. "type": "string"
  37340. },
  37341. "countryid": {
  37342. "description": "国家",
  37343. "type": "integer"
  37344. },
  37345. "countryname": {
  37346. "description": "国家名称",
  37347. "type": "string"
  37348. },
  37349. "decimalplace": {
  37350. "description": "商品报价小数位",
  37351. "type": "integer"
  37352. },
  37353. "districtid": {
  37354. "description": "地区",
  37355. "type": "integer"
  37356. },
  37357. "districtname": {
  37358. "description": "地区名称",
  37359. "type": "string"
  37360. },
  37361. "enumdicname": {
  37362. "description": "单位名称(提货商品)",
  37363. "type": "string"
  37364. },
  37365. "expresscompany": {
  37366. "description": "物流公司",
  37367. "type": "string"
  37368. },
  37369. "expressnum": {
  37370. "description": "物流单号",
  37371. "type": "string"
  37372. },
  37373. "goodsagreeunit": {
  37374. "description": "交易商品乘数",
  37375. "type": "number"
  37376. },
  37377. "goodscode": {
  37378. "description": "商品代码",
  37379. "type": "string"
  37380. },
  37381. "goodsid": {
  37382. "description": "商品ID",
  37383. "type": "integer"
  37384. },
  37385. "goodsname": {
  37386. "description": "商品名称",
  37387. "type": "string"
  37388. },
  37389. "goodsqty": {
  37390. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  37391. "type": "number"
  37392. },
  37393. "handlestatus": {
  37394. "description": "处理状态",
  37395. "type": "integer"
  37396. },
  37397. "logincode": {
  37398. "description": "账号(登录代码, 有可能为空)",
  37399. "type": "string"
  37400. },
  37401. "marketid": {
  37402. "description": "市场ID",
  37403. "type": "integer"
  37404. },
  37405. "phonenum": {
  37406. "description": "提货人联系方式",
  37407. "type": "string"
  37408. },
  37409. "pickupgoodsagreeunit": {
  37410. "description": "提货商品合约乘数",
  37411. "type": "number"
  37412. },
  37413. "pickupgoodsid": {
  37414. "description": "提货商品ID",
  37415. "type": "string"
  37416. },
  37417. "pickupgoodsname": {
  37418. "description": "提货商品名称",
  37419. "type": "string"
  37420. },
  37421. "pickupgoodsqty": {
  37422. "description": "提货商品手数(数量)",
  37423. "type": "number"
  37424. },
  37425. "pickupgoodsunitid": {
  37426. "description": "单位ID(提货商品)",
  37427. "type": "integer"
  37428. },
  37429. "pickupratio": {
  37430. "description": "提货系数",
  37431. "type": "number"
  37432. },
  37433. "preparedays": {
  37434. "description": "备货期(天)-提货单明细表",
  37435. "type": "integer"
  37436. },
  37437. "provinceid": {
  37438. "description": "省",
  37439. "type": "integer"
  37440. },
  37441. "provincename": {
  37442. "description": "省名称",
  37443. "type": "string"
  37444. },
  37445. "qty": {
  37446. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  37447. "type": "number"
  37448. },
  37449. "qtydecimalplace": {
  37450. "description": "商品数量小数位",
  37451. "type": "integer"
  37452. },
  37453. "recivername": {
  37454. "description": "提货人姓名",
  37455. "type": "string"
  37456. },
  37457. "reqtime": {
  37458. "description": "提货申请时间",
  37459. "type": "string"
  37460. },
  37461. "storeuserid": {
  37462. "description": "门店用户ID (千海金)",
  37463. "type": "integer"
  37464. },
  37465. "storeusername": {
  37466. "description": "门店用户名称",
  37467. "type": "string"
  37468. },
  37469. "takemode": {
  37470. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  37471. "type": "integer"
  37472. },
  37473. "takeorderid": {
  37474. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37475. "type": "string"
  37476. },
  37477. "takeorderstatus": {
  37478. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  37479. "type": "integer"
  37480. },
  37481. "takeremark": {
  37482. "description": "提货备注",
  37483. "type": "string"
  37484. },
  37485. "tradedate": {
  37486. "description": "交易日(yyyyMMdd)",
  37487. "type": "string"
  37488. },
  37489. "updatetime": {
  37490. "description": "更新时间",
  37491. "type": "string"
  37492. },
  37493. "userid": {
  37494. "description": "用户ID",
  37495. "type": "integer"
  37496. },
  37497. "userinfotype": {
  37498. "description": "客户类型 1-个人 2-企业",
  37499. "type": "integer"
  37500. },
  37501. "username": {
  37502. "description": "用户名称",
  37503. "type": "string"
  37504. }
  37505. }
  37506. },
  37507. "models.QhjUserNodeCfgAndStatus": {
  37508. "type": "object",
  37509. "properties": {
  37510. "agreementcontent": {
  37511. "description": "协议内容",
  37512. "type": "string"
  37513. },
  37514. "agreementid": {
  37515. "description": "协议ID",
  37516. "type": "integer"
  37517. },
  37518. "agreementname": {
  37519. "description": "协议名称",
  37520. "type": "string"
  37521. },
  37522. "agreementno": {
  37523. "description": "协议编号",
  37524. "type": "string"
  37525. },
  37526. "agreementtype": {
  37527. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37528. "type": "integer"
  37529. },
  37530. "agreementversion": {
  37531. "description": "协议版本号",
  37532. "type": "integer"
  37533. },
  37534. "configid": {
  37535. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37536. "type": "integer"
  37537. },
  37538. "createtime": {
  37539. "description": "创建时间",
  37540. "type": "string"
  37541. },
  37542. "goodsid": {
  37543. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37544. "type": "integer"
  37545. },
  37546. "nodetype": {
  37547. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37548. "type": "integer"
  37549. },
  37550. "signtimestamp": {
  37551. "description": "签约状态时间戳(最近一次)",
  37552. "type": "string"
  37553. },
  37554. "tradedate": {
  37555. "description": "签约交易日(yyyyMMdd)",
  37556. "type": "string"
  37557. },
  37558. "userid": {
  37559. "description": "客户ID",
  37560. "type": "integer"
  37561. }
  37562. }
  37563. },
  37564. "models.Qhjgoodsex": {
  37565. "type": "object",
  37566. "properties": {
  37567. "canfinance": {
  37568. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  37569. "type": "integer"
  37570. },
  37571. "canregularlybuy": {
  37572. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  37573. "type": "integer"
  37574. },
  37575. "defaulttradeuserid": {
  37576. "description": "默认交易用户ID",
  37577. "type": "integer"
  37578. },
  37579. "deliverygoodsid": {
  37580. "description": "现货品种ID",
  37581. "type": "integer"
  37582. },
  37583. "goodsid": {
  37584. "description": "商品ID(自增ID SEQ_GOODS)",
  37585. "type": "integer"
  37586. },
  37587. "minamount": {
  37588. "description": "最小购买金额",
  37589. "type": "number"
  37590. },
  37591. "regularlybuyminamount": {
  37592. "description": "定投最小金额",
  37593. "type": "number"
  37594. },
  37595. "regularlybuyminqty": {
  37596. "description": "定投最小数量",
  37597. "type": "number"
  37598. },
  37599. "spotgoodsbrandid": {
  37600. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  37601. "type": "integer"
  37602. },
  37603. "visibilityforenterprise": {
  37604. "description": "企业客户是否可见 - 0:不可见 1:可见",
  37605. "type": "integer"
  37606. },
  37607. "visibilityforpersonal": {
  37608. "description": "个人客户是否可见 - 0:不可见 1:可见",
  37609. "type": "integer"
  37610. },
  37611. "wrstandardid": {
  37612. "description": "现货商品ID",
  37613. "type": "integer"
  37614. }
  37615. }
  37616. },
  37617. "models.QueryErrorInfosRsp": {
  37618. "type": "object",
  37619. "required": [
  37620. "errorid"
  37621. ],
  37622. "properties": {
  37623. "description": {
  37624. "description": "异常描述",
  37625. "type": "string"
  37626. },
  37627. "errorcode": {
  37628. "description": "异常代码",
  37629. "type": "string"
  37630. },
  37631. "errorid": {
  37632. "description": "异常ID",
  37633. "type": "integer"
  37634. },
  37635. "modulecode": {
  37636. "description": "所属模块",
  37637. "type": "string"
  37638. },
  37639. "operatecode": {
  37640. "description": "所属操作",
  37641. "type": "string"
  37642. },
  37643. "rownumber": {
  37644. "description": "行号",
  37645. "type": "string"
  37646. }
  37647. }
  37648. },
  37649. "models.QueryHedgeOrderDetailRsp": {
  37650. "type": "object",
  37651. "properties": {
  37652. "accountid": {
  37653. "description": "账户ID",
  37654. "type": "integer"
  37655. },
  37656. "buyorsell": {
  37657. "description": "买卖 - 0:买 1:卖",
  37658. "type": "integer"
  37659. },
  37660. "cancellogincode": {
  37661. "description": "撤单人",
  37662. "type": "string"
  37663. },
  37664. "channelbuildtype": {
  37665. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  37666. "type": "integer"
  37667. },
  37668. "channelinnerorderstatus": {
  37669. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  37670. "type": "integer"
  37671. },
  37672. "channeloperatetype": {
  37673. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  37674. "type": "integer"
  37675. },
  37676. "closetype": {
  37677. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37678. "type": "integer"
  37679. },
  37680. "curexchangerate": {
  37681. "description": "当前汇率",
  37682. "type": "number"
  37683. },
  37684. "decimalplace": {
  37685. "description": "商品报价小数位",
  37686. "type": "integer"
  37687. },
  37688. "exchangefullname": {
  37689. "description": "外部交易所全称",
  37690. "type": "string"
  37691. },
  37692. "goodscode": {
  37693. "description": "商品代码(内部)",
  37694. "type": "string"
  37695. },
  37696. "goodsid": {
  37697. "description": "商品ID",
  37698. "type": "integer"
  37699. },
  37700. "goodsname": {
  37701. "description": "商品名称",
  37702. "type": "string"
  37703. },
  37704. "marketid": {
  37705. "description": "市场ID",
  37706. "type": "integer"
  37707. },
  37708. "openfreezemargin": {
  37709. "description": "冻结保证金(冻结交易金额)",
  37710. "type": "number"
  37711. },
  37712. "orderid": {
  37713. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37714. "type": "string"
  37715. },
  37716. "orderlogincode": {
  37717. "description": "委托人",
  37718. "type": "string"
  37719. },
  37720. "orderprice": {
  37721. "description": "委托价格(账户)",
  37722. "type": "number"
  37723. },
  37724. "orderqty": {
  37725. "description": "委托数量",
  37726. "type": "integer"
  37727. },
  37728. "ordertime": {
  37729. "description": "委托时间",
  37730. "type": "string"
  37731. },
  37732. "pricemode": {
  37733. "description": "取价方式 - 1:市价 2: 限价",
  37734. "type": "integer"
  37735. },
  37736. "tradedate": {
  37737. "description": "交易日(yyyyMMdd)",
  37738. "type": "string"
  37739. },
  37740. "tradeqty": {
  37741. "description": "成交数量",
  37742. "type": "integer"
  37743. }
  37744. }
  37745. },
  37746. "models.QueryHedgeTradeDetailRsp": {
  37747. "type": "object",
  37748. "properties": {
  37749. "accountid": {
  37750. "description": "账号ID",
  37751. "type": "integer"
  37752. },
  37753. "buyorsell": {
  37754. "description": "方向 - 0:买 1:卖",
  37755. "type": "integer"
  37756. },
  37757. "channelbuildtype": {
  37758. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  37759. "type": "integer"
  37760. },
  37761. "closecharge": {
  37762. "description": "平仓手续费(账户)",
  37763. "type": "number"
  37764. },
  37765. "closecharge2": {
  37766. "description": "平仓手续费(商品)",
  37767. "type": "number"
  37768. },
  37769. "closepl": {
  37770. "description": "平仓盈亏(账户)",
  37771. "type": "number"
  37772. },
  37773. "closepl2": {
  37774. "description": "平仓盈亏(商品)",
  37775. "type": "number"
  37776. },
  37777. "closepl3": {
  37778. "description": "平仓盈亏(账户)(逐笔)",
  37779. "type": "number"
  37780. },
  37781. "closepl4": {
  37782. "description": "平仓盈亏(商品)(逐笔)",
  37783. "type": "number"
  37784. },
  37785. "closetype": {
  37786. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  37787. "type": "integer"
  37788. },
  37789. "curexchangerate": {
  37790. "description": "当前汇率",
  37791. "type": "number"
  37792. },
  37793. "decimalplace": {
  37794. "description": "商品报价小数位",
  37795. "type": "integer"
  37796. },
  37797. "exchangefullname": {
  37798. "description": "外部交易所全称",
  37799. "type": "string"
  37800. },
  37801. "goodscode": {
  37802. "description": "商品代码(内部)",
  37803. "type": "string"
  37804. },
  37805. "goodsid": {
  37806. "description": "商品ID",
  37807. "type": "integer"
  37808. },
  37809. "goodsname": {
  37810. "description": "商品名称",
  37811. "type": "string"
  37812. },
  37813. "marketid": {
  37814. "description": "市场ID",
  37815. "type": "integer"
  37816. },
  37817. "opencharge": {
  37818. "description": "建仓手续费(账户)",
  37819. "type": "number"
  37820. },
  37821. "opencharge2": {
  37822. "description": "建仓手续费(商品)",
  37823. "type": "number"
  37824. },
  37825. "orderid": {
  37826. "description": "委托单号",
  37827. "type": "string"
  37828. },
  37829. "orderlogincode": {
  37830. "description": "委托人",
  37831. "type": "string"
  37832. },
  37833. "tradeamount": {
  37834. "description": "成交金额(账户)",
  37835. "type": "number"
  37836. },
  37837. "tradedate": {
  37838. "description": "交易日(yyyyMMdd)",
  37839. "type": "string"
  37840. },
  37841. "tradeid": {
  37842. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37843. "type": "string"
  37844. },
  37845. "tradeprice": {
  37846. "description": "成交价格",
  37847. "type": "number"
  37848. },
  37849. "tradeqty": {
  37850. "description": "成交数量",
  37851. "type": "integer"
  37852. },
  37853. "tradetime": {
  37854. "description": "成交时间",
  37855. "type": "string"
  37856. },
  37857. "tradetype": {
  37858. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  37859. "type": "integer"
  37860. }
  37861. }
  37862. },
  37863. "models.QuotePrimaryMenu": {
  37864. "type": "object",
  37865. "properties": {
  37866. "Index": {
  37867. "description": "序号",
  37868. "type": "integer"
  37869. },
  37870. "Key": {
  37871. "description": "键名",
  37872. "type": "string"
  37873. },
  37874. "Name": {
  37875. "description": "菜单名称",
  37876. "type": "string"
  37877. },
  37878. "SubMenus": {
  37879. "description": "子菜单",
  37880. "type": "array",
  37881. "items": {
  37882. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  37883. }
  37884. },
  37885. "SubTitleType": {
  37886. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  37887. "type": "integer"
  37888. },
  37889. "TradeModes": {
  37890. "description": "包含市场交易类型",
  37891. "type": "string"
  37892. }
  37893. }
  37894. },
  37895. "models.QuoteSecondaryMenu": {
  37896. "type": "object",
  37897. "properties": {
  37898. "ExExchangeCode": {
  37899. "description": "外部交易所代码",
  37900. "type": "string"
  37901. },
  37902. "ExExchangeID": {
  37903. "description": "外部交易所ID",
  37904. "type": "integer"
  37905. },
  37906. "GoodsGroupIDs": {
  37907. "description": "商品组ID列表",
  37908. "type": "array",
  37909. "items": {
  37910. "type": "integer"
  37911. }
  37912. },
  37913. "Index": {
  37914. "description": "序号",
  37915. "type": "integer"
  37916. },
  37917. "MarketID": {
  37918. "description": "市场ID",
  37919. "type": "integer"
  37920. },
  37921. "MenuTitle": {
  37922. "description": "菜单标题(市场名称或外部交易所名称)",
  37923. "type": "string"
  37924. },
  37925. "TradeMode": {
  37926. "description": "交易模式",
  37927. "type": "integer"
  37928. }
  37929. }
  37930. },
  37931. "models.Reckondaytaaccount": {
  37932. "type": "object",
  37933. "required": [
  37934. "userid"
  37935. ],
  37936. "properties": {
  37937. "accountid": {
  37938. "description": "资金账户ID",
  37939. "type": "integer"
  37940. },
  37941. "accountname": {
  37942. "description": "账户名称",
  37943. "type": "string"
  37944. },
  37945. "accountpl": {
  37946. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  37947. "type": "number"
  37948. },
  37949. "avaiablemoney": {
  37950. "description": "可用资金",
  37951. "type": "number"
  37952. },
  37953. "avaiableoutmoney": {
  37954. "description": "可出资金",
  37955. "type": "number"
  37956. },
  37957. "balance": {
  37958. "description": "期初余额",
  37959. "type": "number"
  37960. },
  37961. "capitalbalance": {
  37962. "description": "本金余额[外部子账户实际出入金余额]",
  37963. "type": "number"
  37964. },
  37965. "changeflag": {
  37966. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  37967. "type": "integer"
  37968. },
  37969. "clearbalance": {
  37970. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  37971. "type": "number"
  37972. },
  37973. "clearpl": {
  37974. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  37975. "type": "number"
  37976. },
  37977. "closepl": {
  37978. "description": "今日平仓盈亏",
  37979. "type": "number"
  37980. },
  37981. "closepl2": {
  37982. "description": "平仓盈亏(逐笔)",
  37983. "type": "number"
  37984. },
  37985. "creditdecrease": {
  37986. "description": "今日授信减少",
  37987. "type": "number"
  37988. },
  37989. "creditincrease": {
  37990. "description": "今日授信增加",
  37991. "type": "number"
  37992. },
  37993. "curdebt": {
  37994. "description": "期末欠款",
  37995. "type": "number"
  37996. },
  37997. "currencyid": {
  37998. "description": "货币ID",
  37999. "type": "integer"
  38000. },
  38001. "currentbalance": {
  38002. "description": "期末余额",
  38003. "type": "number"
  38004. },
  38005. "cycletype": {
  38006. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  38007. "type": "integer"
  38008. },
  38009. "defercharge": {
  38010. "description": "今日递延费2支出[111, 112]",
  38011. "type": "number"
  38012. },
  38013. "deliveryamountin": {
  38014. "description": "今日交收货款收入",
  38015. "type": "number"
  38016. },
  38017. "deliveryamountout": {
  38018. "description": "今日交收货款支出",
  38019. "type": "number"
  38020. },
  38021. "deliverycharge": {
  38022. "description": "今日交收手续费支出 [105,106]",
  38023. "type": "number"
  38024. },
  38025. "deliverycompensationfeein": {
  38026. "description": "今日交收补偿费收入",
  38027. "type": "number"
  38028. },
  38029. "deliverycompensationfeeout": {
  38030. "description": "今日交收补偿费支出",
  38031. "type": "number"
  38032. },
  38033. "dividedcharge": {
  38034. "description": "今日已收手续费分成",
  38035. "type": "number"
  38036. },
  38037. "floatnetvalue": {
  38038. "description": "浮动净值 = 净值 + 浮动盈亏",
  38039. "type": "number"
  38040. },
  38041. "floatpl": {
  38042. "description": "浮动盈亏 - 每日有负债类商品",
  38043. "type": "number"
  38044. },
  38045. "freezecharge": {
  38046. "description": "手续费冻结",
  38047. "type": "number"
  38048. },
  38049. "freezemargin": {
  38050. "description": "冻结保证金",
  38051. "type": "number"
  38052. },
  38053. "fromaccountid": {
  38054. "description": "所属上级账户",
  38055. "type": "integer"
  38056. },
  38057. "holdcharge": {
  38058. "description": "今日持仓过夜费支出[108,109,110]",
  38059. "type": "number"
  38060. },
  38061. "inamount": {
  38062. "description": "今日入金金额",
  38063. "type": "number"
  38064. },
  38065. "interestcharge": {
  38066. "description": "今日递延费支出[103, 104]",
  38067. "type": "number"
  38068. },
  38069. "ismain": {
  38070. "description": "是否账号 0:不是母账户 1:是母账户",
  38071. "type": "integer"
  38072. },
  38073. "ismarketaccount": {
  38074. "description": "是否机构接单账号 0:不是 1:是",
  38075. "type": "integer"
  38076. },
  38077. "isreckonaccount": {
  38078. "description": "是否机构分润账号 0:不是 1:是",
  38079. "type": "integer"
  38080. },
  38081. "mortgagecredit": {
  38082. "description": "授信金额",
  38083. "type": "number"
  38084. },
  38085. "netvalue": {
  38086. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  38087. "type": "number"
  38088. },
  38089. "oridebt": {
  38090. "description": "期初欠款",
  38091. "type": "number"
  38092. },
  38093. "orifreezecharge": {
  38094. "description": "期初手续费冻结",
  38095. "type": "number"
  38096. },
  38097. "orifreezemargin": {
  38098. "description": "期初冻结保证金",
  38099. "type": "number"
  38100. },
  38101. "orimortgagecredit": {
  38102. "description": "期初授信金额",
  38103. "type": "number"
  38104. },
  38105. "oriothercredit": {
  38106. "description": "期初其它授信金额",
  38107. "type": "number"
  38108. },
  38109. "oriotherfreezemargin": {
  38110. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38111. "type": "number"
  38112. },
  38113. "orioutamountfreeze": {
  38114. "description": "期初出金冻结",
  38115. "type": "number"
  38116. },
  38117. "oriusedmargin": {
  38118. "description": "期初占用保证金",
  38119. "type": "number"
  38120. },
  38121. "othercredit": {
  38122. "description": "其它授信金额",
  38123. "type": "number"
  38124. },
  38125. "othercreditdecrease": {
  38126. "description": "今日其它授信减少",
  38127. "type": "number"
  38128. },
  38129. "othercreditincrease": {
  38130. "description": "今日其它授信增加",
  38131. "type": "number"
  38132. },
  38133. "otherfreezemargin": {
  38134. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38135. "type": "number"
  38136. },
  38137. "otherincome": {
  38138. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  38139. "type": "number"
  38140. },
  38141. "otherpay": {
  38142. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  38143. "type": "number"
  38144. },
  38145. "outamount": {
  38146. "description": "今日出金金额",
  38147. "type": "number"
  38148. },
  38149. "outamountfreeze": {
  38150. "description": "出金冻结",
  38151. "type": "number"
  38152. },
  38153. "outthreshold": {
  38154. "description": "出金阈值",
  38155. "type": "number"
  38156. },
  38157. "ownershipvalue": {
  38158. "description": "所有权市值",
  38159. "type": "number"
  38160. },
  38161. "parentaccountid": {
  38162. "description": "所属根账户",
  38163. "type": "integer"
  38164. },
  38165. "password": {
  38166. "description": "资金密码",
  38167. "type": "string"
  38168. },
  38169. "paycharge": {
  38170. "description": "今日手续费支出",
  38171. "type": "number"
  38172. },
  38173. "paycharge2": {
  38174. "description": "今日手续费支出(外部配置)",
  38175. "type": "number"
  38176. },
  38177. "payexchcharge": {
  38178. "description": "今日应付交易所手续费",
  38179. "type": "number"
  38180. },
  38181. "reckondate": {
  38182. "description": "日照日期(yyyyMMdd)",
  38183. "type": "string"
  38184. },
  38185. "reckonpl": {
  38186. "description": "今日结算盈亏",
  38187. "type": "number"
  38188. },
  38189. "reckonpl2": {
  38190. "description": "结算盈亏(逐笔) - 汇总取期末",
  38191. "type": "number"
  38192. },
  38193. "relatedaccountstatus": {
  38194. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  38195. "type": "integer"
  38196. },
  38197. "relateuserid": {
  38198. "description": "关联用户",
  38199. "type": "integer"
  38200. },
  38201. "riskrate": {
  38202. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  38203. "type": "number"
  38204. },
  38205. "signstatus": {
  38206. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  38207. "type": "integer"
  38208. },
  38209. "spotvalue": {
  38210. "description": "现货市值-统计服务更新",
  38211. "type": "number"
  38212. },
  38213. "sublevelpath": {
  38214. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  38215. "type": "string"
  38216. },
  38217. "taaccounttype": {
  38218. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  38219. "type": "integer"
  38220. },
  38221. "thirdinamount": {
  38222. "description": "今日三方入金",
  38223. "type": "number"
  38224. },
  38225. "thirdoutamount": {
  38226. "description": "今日三方出金",
  38227. "type": "number"
  38228. },
  38229. "tradeamount": {
  38230. "description": "今日成交金额",
  38231. "type": "number"
  38232. },
  38233. "tradecharge": {
  38234. "description": "今日交易手续费支出 [101,102]",
  38235. "type": "number"
  38236. },
  38237. "tradeqty": {
  38238. "description": "今日成交量",
  38239. "type": "integer"
  38240. },
  38241. "tradestatus": {
  38242. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  38243. "type": "integer"
  38244. },
  38245. "transferamount": {
  38246. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  38247. "type": "number"
  38248. },
  38249. "usedmargin": {
  38250. "description": "占用保证金",
  38251. "type": "number"
  38252. },
  38253. "userid": {
  38254. "description": "用户ID",
  38255. "type": "integer"
  38256. }
  38257. }
  38258. },
  38259. "models.Reckongzmemtradesum": {
  38260. "type": "object",
  38261. "required": [
  38262. "userid"
  38263. ],
  38264. "properties": {
  38265. "buylistingamount": {
  38266. "description": "买挂牌金额 - 无数据,预留",
  38267. "type": "number"
  38268. },
  38269. "buylistinglot": {
  38270. "description": "买挂牌宗数",
  38271. "type": "integer"
  38272. },
  38273. "buylistingqty": {
  38274. "description": "买挂牌数量 - 无数据,预留",
  38275. "type": "number"
  38276. },
  38277. "buytradeamount": {
  38278. "description": "购买金额",
  38279. "type": "number"
  38280. },
  38281. "buytradelot": {
  38282. "description": "购买宗数",
  38283. "type": "integer"
  38284. },
  38285. "buytradeqty": {
  38286. "description": "购买数量",
  38287. "type": "number"
  38288. },
  38289. "marketid": {
  38290. "description": "市场ID",
  38291. "type": "integer"
  38292. },
  38293. "reckondate": {
  38294. "description": "日照日期(yyyyMMdd)",
  38295. "type": "string"
  38296. },
  38297. "selllistingamount": {
  38298. "description": "卖挂牌金额",
  38299. "type": "number"
  38300. },
  38301. "selllistinglot": {
  38302. "description": "卖挂牌宗数",
  38303. "type": "integer"
  38304. },
  38305. "selllistingqty": {
  38306. "description": "卖挂牌数量",
  38307. "type": "number"
  38308. },
  38309. "selltradeamount": {
  38310. "description": "销售金额",
  38311. "type": "number"
  38312. },
  38313. "selltradelot": {
  38314. "description": "销售宗数",
  38315. "type": "integer"
  38316. },
  38317. "selltradeqty": {
  38318. "description": "销售数量",
  38319. "type": "number"
  38320. },
  38321. "updatetime": {
  38322. "description": "更新时间",
  38323. "type": "string"
  38324. },
  38325. "userid": {
  38326. "description": "用户ID",
  38327. "type": "integer"
  38328. },
  38329. "zscategory": {
  38330. "description": "钻石分类 - 枚举”ZSCategory“",
  38331. "type": "integer"
  38332. },
  38333. "zscategorydisplay": {
  38334. "type": "string"
  38335. },
  38336. "zscurrencytype": {
  38337. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38338. "type": "integer"
  38339. },
  38340. "zscurrencytypedisplay": {
  38341. "type": "string"
  38342. },
  38343. "zscurrencytypedisplayunit": {
  38344. "type": "string"
  38345. }
  38346. }
  38347. },
  38348. "models.RelatedTaAccount": {
  38349. "type": "object",
  38350. "properties": {
  38351. "accountid": {
  38352. "description": "资金账户ID",
  38353. "type": "integer"
  38354. }
  38355. }
  38356. },
  38357. "models.RoleMenu": {
  38358. "type": "object",
  38359. "properties": {
  38360. "hasright": {
  38361. "description": "是否有权限 0-没有权限 1-有权限",
  38362. "type": "integer"
  38363. },
  38364. "iconame": {
  38365. "description": "菜单图标",
  38366. "type": "string"
  38367. },
  38368. "menutype": {
  38369. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  38370. "type": "integer"
  38371. },
  38372. "parentcode": {
  38373. "description": "上级资源代码",
  38374. "type": "string"
  38375. },
  38376. "remark": {
  38377. "description": "菜单备注",
  38378. "type": "string"
  38379. },
  38380. "resourcecode": {
  38381. "description": "菜单代码",
  38382. "type": "string"
  38383. },
  38384. "resourcelevel": {
  38385. "description": "级别",
  38386. "type": "integer"
  38387. },
  38388. "resourcename": {
  38389. "description": "菜单名称",
  38390. "type": "string"
  38391. },
  38392. "roleid": {
  38393. "description": "角色id",
  38394. "type": "integer"
  38395. },
  38396. "sort": {
  38397. "description": "排序",
  38398. "type": "integer"
  38399. },
  38400. "subMenu": {
  38401. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  38402. "type": "array",
  38403. "items": {
  38404. "$ref": "#/definitions/models.RoleMenu"
  38405. }
  38406. },
  38407. "url": {
  38408. "description": "URL",
  38409. "type": "string"
  38410. },
  38411. "userid": {
  38412. "description": "用户id",
  38413. "type": "integer"
  38414. }
  38415. }
  38416. },
  38417. "models.SearchGoods": {
  38418. "type": "object",
  38419. "required": [
  38420. "goodscode",
  38421. "goodsid",
  38422. "goodsname",
  38423. "marketid",
  38424. "trademode"
  38425. ],
  38426. "properties": {
  38427. "goodscode": {
  38428. "description": "商品代码(内部)",
  38429. "type": "string"
  38430. },
  38431. "goodsid": {
  38432. "description": "商品ID(自增ID SEQ_GOODS)",
  38433. "type": "integer"
  38434. },
  38435. "goodsname": {
  38436. "description": "商品名称",
  38437. "type": "string"
  38438. },
  38439. "marketid": {
  38440. "description": "所属市场ID",
  38441. "type": "integer"
  38442. },
  38443. "marketname": {
  38444. "description": "市场名称",
  38445. "type": "string"
  38446. },
  38447. "trademode": {
  38448. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38449. "type": "integer"
  38450. }
  38451. }
  38452. },
  38453. "models.SellOrder": {
  38454. "type": "object",
  38455. "properties": {
  38456. "accountid": {
  38457. "description": "资金账号",
  38458. "type": "integer"
  38459. },
  38460. "applyid": {
  38461. "description": "申请单ID",
  38462. "type": "integer"
  38463. },
  38464. "attachment1": {
  38465. "description": "附件1",
  38466. "type": "string"
  38467. },
  38468. "attachment2": {
  38469. "description": "附件2",
  38470. "type": "string"
  38471. },
  38472. "buyorsell": {
  38473. "description": "买卖 - 0:买 1:卖",
  38474. "type": "integer"
  38475. },
  38476. "canbargain": {
  38477. "description": "是否可议价 - 0:不可 1:可",
  38478. "type": "integer"
  38479. },
  38480. "cancelqty": {
  38481. "description": "撤销数量",
  38482. "type": "integer"
  38483. },
  38484. "canceltime": {
  38485. "description": "撤销时间",
  38486. "type": "string"
  38487. },
  38488. "cerno": {
  38489. "type": "string"
  38490. },
  38491. "chargealgorithm": {
  38492. "description": "手续费收取方式 1:比率 2:固定",
  38493. "type": "integer"
  38494. },
  38495. "chargealgorithmvalue": {
  38496. "description": "手续费设置值(交易所部分)",
  38497. "type": "number"
  38498. },
  38499. "chargealgorithmvalue2": {
  38500. "description": "手续费设置值(会员部分)",
  38501. "type": "number"
  38502. },
  38503. "clientordertime": {
  38504. "description": "客户端委托时间",
  38505. "type": "string"
  38506. },
  38507. "cpcertno": {
  38508. "type": "string"
  38509. },
  38510. "exchangerate": {
  38511. "description": "汇率[67]",
  38512. "type": "number"
  38513. },
  38514. "firstratio": {
  38515. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  38516. "type": "number"
  38517. },
  38518. "fixedprice": {
  38519. "description": "[克拉单价]固定价格 - [挂牌]",
  38520. "type": "number"
  38521. },
  38522. "freezecharge": {
  38523. "description": "冻结手续费",
  38524. "type": "number"
  38525. },
  38526. "freezefirstamount": {
  38527. "description": "冻结首付金额 - [摘牌]",
  38528. "type": "number"
  38529. },
  38530. "freezemargin": {
  38531. "description": "冻结保证金",
  38532. "type": "number"
  38533. },
  38534. "goodsno": {
  38535. "description": "商品编号",
  38536. "type": "string"
  38537. },
  38538. "imagepath": {
  38539. "type": "string"
  38540. },
  38541. "isQueryDiamond": {
  38542. "description": "是否钻石查询",
  38543. "type": "boolean"
  38544. },
  38545. "isspecified": {
  38546. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38547. "type": "integer"
  38548. },
  38549. "kppath": {
  38550. "type": "string"
  38551. },
  38552. "kpweight": {
  38553. "type": "string"
  38554. },
  38555. "marginalgorithm": {
  38556. "description": "保证金方式 - 1:比率 2:固定",
  38557. "type": "integer"
  38558. },
  38559. "marginvalue": {
  38560. "description": "保证金设置值",
  38561. "type": "number"
  38562. },
  38563. "marketid": {
  38564. "description": "市场ID",
  38565. "type": "integer"
  38566. },
  38567. "marketprice": {
  38568. "type": "string"
  38569. },
  38570. "orderamount": {
  38571. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  38572. "type": "number"
  38573. },
  38574. "ordertime": {
  38575. "description": "委托时间",
  38576. "type": "string"
  38577. },
  38578. "performancetemplateid": {
  38579. "description": "履约计划模板ID",
  38580. "type": "integer"
  38581. },
  38582. "price": {
  38583. "description": "价格",
  38584. "type": "number"
  38585. },
  38586. "pricefactor": {
  38587. "description": "价格系数(浮动价时填写) - [挂牌]",
  38588. "type": "number"
  38589. },
  38590. "pricemove": {
  38591. "description": "升贴水(浮动价时填写) - [挂牌]",
  38592. "type": "number"
  38593. },
  38594. "priceper": {
  38595. "type": "string"
  38596. },
  38597. "relatedwrtradeorderid": {
  38598. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  38599. "type": "integer"
  38600. },
  38601. "remainqty": {
  38602. "description": "剩余重量",
  38603. "type": "number"
  38604. },
  38605. "remark": {
  38606. "type": "string"
  38607. },
  38608. "retcode": {
  38609. "description": "错误代码",
  38610. "type": "integer"
  38611. },
  38612. "sellusername": {
  38613. "description": "卖方(查询字段-模糊查询)",
  38614. "type": "string"
  38615. },
  38616. "settingmaterial": {
  38617. "description": "镶嵌材料",
  38618. "type": "string"
  38619. },
  38620. "size1": {
  38621. "type": "string"
  38622. },
  38623. "size2": {
  38624. "type": "string"
  38625. },
  38626. "size3": {
  38627. "type": "string"
  38628. },
  38629. "sizedisplay": {
  38630. "description": "尺寸",
  38631. "type": "string"
  38632. },
  38633. "stonedesc": {
  38634. "description": "配石描述",
  38635. "type": "string"
  38636. },
  38637. "totalqty": {
  38638. "description": "总重量",
  38639. "type": "number"
  38640. },
  38641. "tradedate": {
  38642. "description": "交易日(yyyyMMdd)",
  38643. "type": "string"
  38644. },
  38645. "tradeprice": {
  38646. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  38647. "type": "number"
  38648. },
  38649. "unfreezecharge": {
  38650. "description": "解冻手续费",
  38651. "type": "number"
  38652. },
  38653. "unfreezefirstamount": {
  38654. "description": "解冻首付金额 - [摘牌]",
  38655. "type": "number"
  38656. },
  38657. "unfreezemargin": {
  38658. "description": "解冻保证金",
  38659. "type": "number"
  38660. },
  38661. "userid": {
  38662. "description": "用户ID",
  38663. "type": "integer"
  38664. },
  38665. "uuid": {
  38666. "description": "发起端唯一id",
  38667. "type": "string"
  38668. },
  38669. "validtime": {
  38670. "description": "有效期限",
  38671. "type": "string"
  38672. },
  38673. "validtype": {
  38674. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  38675. "type": "integer"
  38676. },
  38677. "warehousenamedisplay": {
  38678. "type": "string"
  38679. },
  38680. "wrbargainid": {
  38681. "description": "议价申请单ID",
  38682. "type": "integer"
  38683. },
  38684. "wrfactortypeid": {
  38685. "description": "仓单要素类型ID/商品ID(77)",
  38686. "type": "integer"
  38687. },
  38688. "wrpath": {
  38689. "type": "string"
  38690. },
  38691. "wrpricetype": {
  38692. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  38693. "type": "integer"
  38694. },
  38695. "wrstandardid": {
  38696. "description": "现货商品ID",
  38697. "type": "integer"
  38698. },
  38699. "wrtradeorderid": {
  38700. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  38701. "type": "string"
  38702. },
  38703. "wrtradeorderstatus": {
  38704. "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:撤单解冻贷款失败",
  38705. "type": "integer"
  38706. },
  38707. "wrtradetype": {
  38708. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  38709. "type": "integer"
  38710. },
  38711. "wrtransferuserid": {
  38712. "description": "仓单受让用户 - [摘牌]",
  38713. "type": "integer"
  38714. },
  38715. "zscategory": {
  38716. "description": "钻石分类 - 枚举”ZSCategory“",
  38717. "type": "integer"
  38718. },
  38719. "zscategorydisplay": {
  38720. "description": "钻石分类 - 描述",
  38721. "type": "string"
  38722. },
  38723. "zscerttypedisplay": {
  38724. "type": "string"
  38725. },
  38726. "zsclaritytype1display": {
  38727. "type": "string"
  38728. },
  38729. "zsclaritytype2display": {
  38730. "type": "string"
  38731. },
  38732. "zscolortype1display": {
  38733. "type": "string"
  38734. },
  38735. "zscolortype2display": {
  38736. "type": "string"
  38737. },
  38738. "zscrystaltype": {
  38739. "type": "string"
  38740. },
  38741. "zscrystaltypedisplay": {
  38742. "type": "string"
  38743. },
  38744. "zscurrencytype": {
  38745. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38746. "type": "integer"
  38747. },
  38748. "zscurrencytypedisplay": {
  38749. "type": "string"
  38750. },
  38751. "zscurrencytypedisplayunit": {
  38752. "type": "string"
  38753. },
  38754. "zscuttype1display": {
  38755. "type": "string"
  38756. },
  38757. "zscuttype2display": {
  38758. "type": "string"
  38759. },
  38760. "zsczcolor1typedisplay": {
  38761. "type": "string"
  38762. },
  38763. "zsczcolor2typedisplay": {
  38764. "type": "string"
  38765. },
  38766. "zsczcolor3typedisplay": {
  38767. "type": "string"
  38768. },
  38769. "zsfluorescencetype1display": {
  38770. "type": "string"
  38771. },
  38772. "zsfluorescencetype2display": {
  38773. "type": "string"
  38774. },
  38775. "zspolishtype1display": {
  38776. "type": "string"
  38777. },
  38778. "zspolishtype2display": {
  38779. "type": "string"
  38780. },
  38781. "zsshapetypedisplay": {
  38782. "type": "string"
  38783. },
  38784. "zsstyletypedisplay": {
  38785. "type": "string"
  38786. },
  38787. "zssymmetrytype1display": {
  38788. "type": "string"
  38789. },
  38790. "zssymmetrytype2display": {
  38791. "type": "string"
  38792. }
  38793. }
  38794. },
  38795. "models.SellOrderQueryReq": {
  38796. "type": "object",
  38797. "required": [
  38798. "zscategory"
  38799. ],
  38800. "properties": {
  38801. "origin": {
  38802. "description": "原产地",
  38803. "type": "string"
  38804. },
  38805. "page": {
  38806. "description": "页码",
  38807. "type": "integer"
  38808. },
  38809. "pagesize": {
  38810. "description": "每页大小",
  38811. "type": "integer"
  38812. },
  38813. "total": {
  38814. "description": "总条数",
  38815. "type": "integer"
  38816. },
  38817. "warehouseid": {
  38818. "description": "仓库ID",
  38819. "type": "integer"
  38820. },
  38821. "weight1": {
  38822. "description": "总重量(克拉重量)-从",
  38823. "type": "number"
  38824. },
  38825. "weight2": {
  38826. "description": "总重量(克拉重量)-至",
  38827. "type": "number"
  38828. },
  38829. "weightavg1": {
  38830. "description": "平均单颗重量-从",
  38831. "type": "number"
  38832. },
  38833. "weightavg2": {
  38834. "description": "平均单颗重量-至",
  38835. "type": "number"
  38836. },
  38837. "zscategory": {
  38838. "description": "钻石分类 - 枚举”ZSCategory“",
  38839. "type": "integer"
  38840. },
  38841. "zscerttype": {
  38842. "description": "证书类型",
  38843. "type": "array",
  38844. "items": {
  38845. "type": "string"
  38846. }
  38847. },
  38848. "zsclaritytype": {
  38849. "description": "净度",
  38850. "type": "array",
  38851. "items": {
  38852. "type": "integer"
  38853. }
  38854. },
  38855. "zscolortype": {
  38856. "description": "颜色",
  38857. "type": "array",
  38858. "items": {
  38859. "type": "integer"
  38860. }
  38861. },
  38862. "zscurrencytype": {
  38863. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38864. "type": "array",
  38865. "items": {
  38866. "type": "string"
  38867. }
  38868. },
  38869. "zscuttype": {
  38870. "description": "切工",
  38871. "type": "array",
  38872. "items": {
  38873. "type": "integer"
  38874. }
  38875. },
  38876. "zsczcolor1type": {
  38877. "description": "彩钻颜色1",
  38878. "type": "array",
  38879. "items": {
  38880. "type": "string"
  38881. }
  38882. },
  38883. "zsfluorescencetype": {
  38884. "description": "荧光",
  38885. "type": "array",
  38886. "items": {
  38887. "type": "integer"
  38888. }
  38889. },
  38890. "zspolishtype": {
  38891. "description": "抛光度",
  38892. "type": "array",
  38893. "items": {
  38894. "type": "integer"
  38895. }
  38896. },
  38897. "zsshapetype": {
  38898. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  38899. "type": "array",
  38900. "items": {
  38901. "type": "string"
  38902. }
  38903. },
  38904. "zsstyletype": {
  38905. "description": "款式",
  38906. "type": "array",
  38907. "items": {
  38908. "type": "string"
  38909. }
  38910. },
  38911. "zssymmetrytype": {
  38912. "description": "对称度",
  38913. "type": "array",
  38914. "items": {
  38915. "type": "integer"
  38916. }
  38917. }
  38918. }
  38919. },
  38920. "models.Systemparam": {
  38921. "type": "object",
  38922. "required": [
  38923. "paramcode"
  38924. ],
  38925. "properties": {
  38926. "loginid": {
  38927. "description": "更新用户账号,登录账号",
  38928. "type": "string"
  38929. },
  38930. "modifyflag": {
  38931. "description": "修改标志0 不允许修改 1 允许修改",
  38932. "type": "integer"
  38933. },
  38934. "paramcode": {
  38935. "description": "参数代码",
  38936. "type": "string"
  38937. },
  38938. "paramname": {
  38939. "description": "参数名",
  38940. "type": "string"
  38941. },
  38942. "paramtype": {
  38943. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  38944. "type": "integer"
  38945. },
  38946. "paramvalue": {
  38947. "description": "参数值",
  38948. "type": "string"
  38949. },
  38950. "paramvalue2": {
  38951. "description": "参数值(CLOB)",
  38952. "type": "string"
  38953. },
  38954. "regexpress": {
  38955. "description": "正则表达式",
  38956. "type": "string"
  38957. },
  38958. "remark": {
  38959. "description": "备注",
  38960. "type": "string"
  38961. },
  38962. "serverip": {
  38963. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  38964. "type": "string"
  38965. },
  38966. "showflag": {
  38967. "description": "是否显示0 不显示 1 显示",
  38968. "type": "integer"
  38969. },
  38970. "updatetime": {
  38971. "description": "更新时间",
  38972. "type": "string"
  38973. },
  38974. "userid": {
  38975. "description": "更新用户ID",
  38976. "type": "integer"
  38977. }
  38978. }
  38979. },
  38980. "models.Szdz3convertconfig": {
  38981. "type": "object",
  38982. "required": [
  38983. "converttype",
  38984. "innergoodsid",
  38985. "outergoodscode"
  38986. ],
  38987. "properties": {
  38988. "canin": {
  38989. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  38990. "type": "integer"
  38991. },
  38992. "canout": {
  38993. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  38994. "type": "integer"
  38995. },
  38996. "converttype": {
  38997. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  38998. "type": "integer"
  38999. },
  39000. "createtime": {
  39001. "description": "创建时间",
  39002. "type": "string"
  39003. },
  39004. "creatorid": {
  39005. "description": "创建人",
  39006. "type": "integer"
  39007. },
  39008. "daymaxvalue": {
  39009. "description": "当日最大转入限制",
  39010. "type": "number"
  39011. },
  39012. "freezedays": {
  39013. "description": "冻结天数 [5:花生米转交易]",
  39014. "type": "integer"
  39015. },
  39016. "innergoodsid": {
  39017. "description": "内部商品ID[交易]",
  39018. "type": "integer"
  39019. },
  39020. "inratio": {
  39021. "description": "目标值",
  39022. "type": "integer"
  39023. },
  39024. "modifierid": {
  39025. "description": "修改人",
  39026. "type": "integer"
  39027. },
  39028. "modifytime": {
  39029. "description": "修改时间",
  39030. "type": "string"
  39031. },
  39032. "outergoodscode": {
  39033. "description": "外部商品代码[JD\\PD]",
  39034. "type": "string"
  39035. },
  39036. "outratio": {
  39037. "description": "源值",
  39038. "type": "integer"
  39039. },
  39040. "pddecimalplace": {
  39041. "description": "PD小数位",
  39042. "type": "integer"
  39043. },
  39044. "timemaxvalue": {
  39045. "description": "单次最大转入限制",
  39046. "type": "number"
  39047. },
  39048. "timeminvalue": {
  39049. "description": "单次最小转入限制",
  39050. "type": "number"
  39051. }
  39052. }
  39053. },
  39054. "models.Szdz3searchwhitelist": {
  39055. "type": "object",
  39056. "required": [
  39057. "userid"
  39058. ],
  39059. "properties": {
  39060. "createtime": {
  39061. "description": "创建时间",
  39062. "type": "string"
  39063. },
  39064. "creatorid": {
  39065. "description": "创建人",
  39066. "type": "integer"
  39067. },
  39068. "modifierid": {
  39069. "description": "修改人",
  39070. "type": "integer"
  39071. },
  39072. "modifytime": {
  39073. "description": "修改时间",
  39074. "type": "string"
  39075. },
  39076. "userid": {
  39077. "description": "用户ID",
  39078. "type": "integer"
  39079. }
  39080. }
  39081. },
  39082. "models.TBGoods": {
  39083. "type": "object",
  39084. "properties": {
  39085. "agreeunit": {
  39086. "description": "合约乘数",
  39087. "type": "number"
  39088. },
  39089. "enumdicname": {
  39090. "description": "单位名称",
  39091. "type": "string"
  39092. },
  39093. "goodscode": {
  39094. "description": "商品代码(内部)",
  39095. "type": "string"
  39096. },
  39097. "goodsid": {
  39098. "description": "商品ID(自增ID SEQ_GOODS)",
  39099. "type": "integer"
  39100. },
  39101. "goodsname": {
  39102. "description": "商品名称",
  39103. "type": "string"
  39104. }
  39105. }
  39106. },
  39107. "models.TBGoodsGroup": {
  39108. "type": "object",
  39109. "properties": {
  39110. "GDLST": {
  39111. "description": "商品列表",
  39112. "type": "array",
  39113. "items": {
  39114. "$ref": "#/definitions/models.TBGoods"
  39115. }
  39116. },
  39117. "convertratio": {
  39118. "description": "折算系数",
  39119. "type": "number"
  39120. },
  39121. "enumdicname": {
  39122. "description": "单位名称",
  39123. "type": "string"
  39124. },
  39125. "exexchangecode": {
  39126. "description": "交易所代码",
  39127. "type": "string"
  39128. },
  39129. "exexchangename": {
  39130. "description": "交易所名称",
  39131. "type": "string"
  39132. },
  39133. "goodsgroupid": {
  39134. "description": "商品组ID(自增ID)",
  39135. "type": "integer"
  39136. },
  39137. "goodsgroupname": {
  39138. "description": "商品组名称",
  39139. "type": "string"
  39140. },
  39141. "goodunitid": {
  39142. "description": "报价单位ID",
  39143. "type": "integer"
  39144. }
  39145. }
  39146. },
  39147. "models.TBMiddleGoods": {
  39148. "type": "object",
  39149. "properties": {
  39150. "GPLST": {
  39151. "description": "期货品种列表",
  39152. "type": "array",
  39153. "items": {
  39154. "$ref": "#/definitions/models.TBGoodsGroup"
  39155. }
  39156. },
  39157. "WDLST": {
  39158. "description": "商品信息列表(现货品类)",
  39159. "type": "array",
  39160. "items": {
  39161. "$ref": "#/definitions/models.TBWrstandard"
  39162. }
  39163. },
  39164. "areauserid": {
  39165. "description": "机构用户ID",
  39166. "type": "integer"
  39167. },
  39168. "enumdicname": {
  39169. "description": "单位名称",
  39170. "type": "string"
  39171. },
  39172. "goodsunitid": {
  39173. "description": "套保品种单位id",
  39174. "type": "integer"
  39175. },
  39176. "middlegoodscode": {
  39177. "description": "套保品种代码",
  39178. "type": "string"
  39179. },
  39180. "middlegoodsid": {
  39181. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  39182. "type": "integer"
  39183. },
  39184. "middlegoodsname": {
  39185. "description": "套保品种名称",
  39186. "type": "string"
  39187. },
  39188. "needarbitrageratio": {
  39189. "description": "套利比率",
  39190. "type": "number"
  39191. },
  39192. "needhedgeratio": {
  39193. "description": "套保比率",
  39194. "type": "number"
  39195. }
  39196. }
  39197. },
  39198. "models.TBWrstandard": {
  39199. "type": "object",
  39200. "properties": {
  39201. "convertratio": {
  39202. "description": "折算系数",
  39203. "type": "number"
  39204. },
  39205. "deliverygoodsname": {
  39206. "description": "品种名称",
  39207. "type": "string"
  39208. },
  39209. "enumdicname": {
  39210. "description": "单位名称",
  39211. "type": "string"
  39212. },
  39213. "vatrate": {
  39214. "description": "增值税率",
  39215. "type": "number"
  39216. },
  39217. "wrstandardcode": {
  39218. "description": "现货商品代码",
  39219. "type": "string"
  39220. },
  39221. "wrstandardid": {
  39222. "description": "现货商品ID(SEQ_WRSTANDARD)",
  39223. "type": "integer"
  39224. },
  39225. "wrstandardname": {
  39226. "description": "现货商品名称",
  39227. "type": "string"
  39228. }
  39229. }
  39230. },
  39231. "models.Taaccount": {
  39232. "type": "object",
  39233. "required": [
  39234. "accountid",
  39235. "userid"
  39236. ],
  39237. "properties": {
  39238. "accountflag": {
  39239. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  39240. "type": "integer"
  39241. },
  39242. "accountid": {
  39243. "description": "资金账户ID",
  39244. "type": "integer"
  39245. },
  39246. "accountname": {
  39247. "description": "账户名称",
  39248. "type": "string"
  39249. },
  39250. "balance": {
  39251. "description": "期初余额",
  39252. "type": "number"
  39253. },
  39254. "capitalbalance": {
  39255. "description": "本金余额[外部子账户实际出入金余额]",
  39256. "type": "number"
  39257. },
  39258. "changeflag": {
  39259. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  39260. "type": "integer"
  39261. },
  39262. "changetime": {
  39263. "description": "账户状态变更时间",
  39264. "type": "string"
  39265. },
  39266. "closepl": {
  39267. "description": "今日平仓盈亏",
  39268. "type": "number"
  39269. },
  39270. "creditdecrease": {
  39271. "description": "今日授信减少",
  39272. "type": "number"
  39273. },
  39274. "creditincrease": {
  39275. "description": "今日授信增加",
  39276. "type": "number"
  39277. },
  39278. "curamount": {
  39279. "description": "总市值(从持仓中统计)",
  39280. "type": "number"
  39281. },
  39282. "currencyid": {
  39283. "description": "货币ID",
  39284. "type": "integer"
  39285. },
  39286. "currentbalance": {
  39287. "description": "期末余额",
  39288. "type": "number"
  39289. },
  39290. "freezecharge": {
  39291. "description": "手续费冻结",
  39292. "type": "number"
  39293. },
  39294. "freezemargin": {
  39295. "description": "冻结保证金",
  39296. "type": "number"
  39297. },
  39298. "fromaccountid": {
  39299. "description": "所属上级账户",
  39300. "type": "integer"
  39301. },
  39302. "inamount": {
  39303. "description": "今日入金金额(包括三方入金)",
  39304. "type": "number"
  39305. },
  39306. "ismain": {
  39307. "description": "是否母账号 0:不是母账户 1:是母账户",
  39308. "type": "integer"
  39309. },
  39310. "ismarketaccount": {
  39311. "description": "是否机构接单账号 0:不是 1:是",
  39312. "type": "integer"
  39313. },
  39314. "isreckonaccount": {
  39315. "description": "是否机构分润账号 0:不是 1:是",
  39316. "type": "integer"
  39317. },
  39318. "mortgagecredit": {
  39319. "description": "授信金额",
  39320. "type": "number"
  39321. },
  39322. "orifreezecharge": {
  39323. "description": "期初手续费冻结",
  39324. "type": "number"
  39325. },
  39326. "orifreezemargin": {
  39327. "description": "期初冻结保证金",
  39328. "type": "number"
  39329. },
  39330. "orimortgagecredit": {
  39331. "description": "期初授信金额",
  39332. "type": "number"
  39333. },
  39334. "oriothercredit": {
  39335. "description": "期初其它授信金额",
  39336. "type": "number"
  39337. },
  39338. "oriotherfreezemargin": {
  39339. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  39340. "type": "number"
  39341. },
  39342. "orioutamountfreeze": {
  39343. "description": "期初出金冻结",
  39344. "type": "number"
  39345. },
  39346. "oriusedmargin": {
  39347. "description": "期初占用保证金",
  39348. "type": "number"
  39349. },
  39350. "othercredit": {
  39351. "description": "其它授信金额",
  39352. "type": "number"
  39353. },
  39354. "othercreditdecrease": {
  39355. "description": "今日其它授信减少",
  39356. "type": "number"
  39357. },
  39358. "othercreditincrease": {
  39359. "description": "今日其它授信增加",
  39360. "type": "number"
  39361. },
  39362. "otherfreezemargin": {
  39363. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  39364. "type": "number"
  39365. },
  39366. "otherincome": {
  39367. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  39368. "type": "number"
  39369. },
  39370. "otherpay": {
  39371. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  39372. "type": "number"
  39373. },
  39374. "outamount": {
  39375. "description": "今日出金金额(包括三方出金)",
  39376. "type": "number"
  39377. },
  39378. "outamountfreeze": {
  39379. "description": "出金冻结",
  39380. "type": "number"
  39381. },
  39382. "outthreshold": {
  39383. "description": "出金阈值",
  39384. "type": "number"
  39385. },
  39386. "parentaccountid": {
  39387. "description": "所属根账号",
  39388. "type": "integer"
  39389. },
  39390. "paycharge": {
  39391. "description": "今日手续费支出",
  39392. "type": "number"
  39393. },
  39394. "relatedaccountstatus": {
  39395. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  39396. "type": "integer"
  39397. },
  39398. "relateduserid": {
  39399. "description": "关联用户",
  39400. "type": "integer"
  39401. },
  39402. "remainamount": {
  39403. "description": "融资额(从融资合同中统计)",
  39404. "type": "number"
  39405. },
  39406. "serivcegroup": {
  39407. "description": "服务分组",
  39408. "type": "integer"
  39409. },
  39410. "signstatus": {
  39411. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  39412. "type": "integer"
  39413. },
  39414. "sublevelpath": {
  39415. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  39416. "type": "string"
  39417. },
  39418. "taaccounttype": {
  39419. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  39420. "type": "integer"
  39421. },
  39422. "thirdinamount": {
  39423. "description": "今日三方入金",
  39424. "type": "number"
  39425. },
  39426. "thirdoutamount": {
  39427. "description": "今日三方出金",
  39428. "type": "number"
  39429. },
  39430. "tradestatus": {
  39431. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  39432. "type": "integer"
  39433. },
  39434. "tradestatuschangetime": {
  39435. "description": "激活时间",
  39436. "type": "string"
  39437. },
  39438. "transferamount": {
  39439. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  39440. "type": "number"
  39441. },
  39442. "usedmargin": {
  39443. "description": "占用保证金",
  39444. "type": "number"
  39445. },
  39446. "userid": {
  39447. "description": "用户ID",
  39448. "type": "integer"
  39449. }
  39450. }
  39451. },
  39452. "models.Tablecolumnconfig": {
  39453. "type": "object",
  39454. "required": [
  39455. "autoid"
  39456. ],
  39457. "properties": {
  39458. "aligntype": {
  39459. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  39460. "type": "integer"
  39461. },
  39462. "autoid": {
  39463. "description": "AutoID",
  39464. "type": "integer"
  39465. },
  39466. "columnfield": {
  39467. "description": "列字段",
  39468. "type": "string"
  39469. },
  39470. "columntitle": {
  39471. "description": "列Title",
  39472. "type": "string"
  39473. },
  39474. "columnwidth": {
  39475. "description": "列宽",
  39476. "type": "string"
  39477. },
  39478. "fixed": {
  39479. "description": "固定类型 - 空 | left | right",
  39480. "type": "string"
  39481. },
  39482. "formatterstring": {
  39483. "description": "格式化字符",
  39484. "type": "string"
  39485. },
  39486. "formattertype": {
  39487. "description": "格式化类型",
  39488. "type": "string"
  39489. },
  39490. "groupname": {
  39491. "description": "表头分组名称",
  39492. "type": "string"
  39493. },
  39494. "ismerge": {
  39495. "description": "是否合并显示 - 0:不合并 1:合并",
  39496. "type": "integer"
  39497. },
  39498. "isshow": {
  39499. "description": "是否显示 - 0:不显示 1:显示",
  39500. "type": "integer"
  39501. },
  39502. "needsummary": {
  39503. "description": "是否需要汇总 - 0:不需要 1:需要",
  39504. "type": "integer"
  39505. },
  39506. "orderindex": {
  39507. "description": "顺序",
  39508. "type": "integer"
  39509. },
  39510. "remark": {
  39511. "description": "备注",
  39512. "type": "string"
  39513. },
  39514. "summarytype": {
  39515. "description": "汇总类型 - 1:加总 2:最后一个",
  39516. "type": "integer"
  39517. },
  39518. "tablekey": {
  39519. "description": "列表Key",
  39520. "type": "string"
  39521. }
  39522. }
  39523. },
  39524. "models.TjmdHolderDetailTradeInfo": {
  39525. "type": "object",
  39526. "properties": {
  39527. "agreeunit": {
  39528. "description": "合约乘数",
  39529. "type": "number"
  39530. },
  39531. "buyaccountid": {
  39532. "description": "买方账户",
  39533. "type": "string"
  39534. },
  39535. "buyusername": {
  39536. "description": "买方",
  39537. "type": "string"
  39538. },
  39539. "delistingdate": {
  39540. "description": "最后结算日",
  39541. "type": "string"
  39542. },
  39543. "expiredate": {
  39544. "description": "到期结算价定价日",
  39545. "type": "string"
  39546. },
  39547. "exprieprice": {
  39548. "description": "到期清算价格",
  39549. "type": "string"
  39550. },
  39551. "goodscode": {
  39552. "description": "商品代码",
  39553. "type": "string"
  39554. },
  39555. "goodsid": {
  39556. "description": "商品ID",
  39557. "type": "integer"
  39558. },
  39559. "goodsname": {
  39560. "description": "商品名称(交易标的)",
  39561. "type": "string"
  39562. },
  39563. "lasttradedate": {
  39564. "description": "最后交易日",
  39565. "type": "string"
  39566. },
  39567. "listingdate": {
  39568. "description": "开始交易日",
  39569. "type": "string"
  39570. },
  39571. "openprice": {
  39572. "description": "成交价",
  39573. "type": "number"
  39574. },
  39575. "openqty": {
  39576. "description": "交易数量",
  39577. "type": "integer"
  39578. },
  39579. "sellaccountid": {
  39580. "description": "卖方账户",
  39581. "type": "string"
  39582. },
  39583. "sellusername": {
  39584. "description": "卖方",
  39585. "type": "string"
  39586. },
  39587. "tradeamount": {
  39588. "description": "初始名义价值",
  39589. "type": "number"
  39590. },
  39591. "tradedate": {
  39592. "description": "成交日期",
  39593. "type": "string"
  39594. },
  39595. "tradeid": {
  39596. "description": "成交编号",
  39597. "type": "string"
  39598. }
  39599. }
  39600. },
  39601. "models.TjmdMarketSection": {
  39602. "type": "object",
  39603. "properties": {
  39604. "marketsectionid": {
  39605. "description": "市场版块ID(SEQ_MARKETSECTION)",
  39606. "type": "integer"
  39607. },
  39608. "marketsectionname": {
  39609. "description": "市场版块名称",
  39610. "type": "string"
  39611. },
  39612. "mlist": {
  39613. "description": "市场列表(板块下面有多少个市场)",
  39614. "type": "array",
  39615. "items": {
  39616. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  39617. }
  39618. },
  39619. "orderindex": {
  39620. "description": "排序",
  39621. "type": "integer"
  39622. },
  39623. "pictureurl": {
  39624. "description": "图片url, 规格(90*90)",
  39625. "type": "string"
  39626. },
  39627. "remark": {
  39628. "description": "备注",
  39629. "type": "string"
  39630. }
  39631. }
  39632. },
  39633. "models.TjmdMarketSectionConfig": {
  39634. "type": "object",
  39635. "properties": {
  39636. "auctionwrtype": {
  39637. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  39638. "type": "integer"
  39639. },
  39640. "canacceptquote": {
  39641. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  39642. "type": "integer"
  39643. },
  39644. "cangoodsexercise": {
  39645. "description": "[期权]是否可现货行权- 0:否 1:是",
  39646. "type": "integer"
  39647. },
  39648. "cangoodsexercisetype": {
  39649. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  39650. "type": "integer"
  39651. },
  39652. "canmanualquotestrike": {
  39653. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  39654. "type": "integer"
  39655. },
  39656. "canmutistage": {
  39657. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  39658. "type": "integer"
  39659. },
  39660. "canpreexercise": {
  39661. "description": "[期权]是否可预申报- 0:否 1:是",
  39662. "type": "integer"
  39663. },
  39664. "clearinterval": {
  39665. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  39666. "type": "integer"
  39667. },
  39668. "contracttmp": {
  39669. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  39670. "type": "string"
  39671. },
  39672. "exchareaid": {
  39673. "description": "所属交易所,可以没有",
  39674. "type": "integer"
  39675. },
  39676. "financemarketid": {
  39677. "description": "融资回购市场ID [仓单贸易]",
  39678. "type": "integer"
  39679. },
  39680. "goodstype": {
  39681. "description": "商品类型 - 1:交易商品 2:仓单商品",
  39682. "type": "integer"
  39683. },
  39684. "hasrebate": {
  39685. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  39686. "type": "integer"
  39687. },
  39688. "hastradecredit": {
  39689. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  39690. "type": "integer"
  39691. },
  39692. "haswr": {
  39693. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  39694. "type": "integer"
  39695. },
  39696. "isdeductmargin": {
  39697. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  39698. "type": "integer"
  39699. },
  39700. "isrecordsource": {
  39701. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  39702. "type": "integer"
  39703. },
  39704. "isreleasemargin": {
  39705. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  39706. "type": "integer"
  39707. },
  39708. "isupdatereckonprice": {
  39709. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  39710. "type": "integer"
  39711. },
  39712. "listingmode": {
  39713. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  39714. "type": "integer"
  39715. },
  39716. "marginformula": {
  39717. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  39718. "type": "integer"
  39719. },
  39720. "marginformula2": {
  39721. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  39722. "type": "integer"
  39723. },
  39724. "marketid": {
  39725. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  39726. "type": "integer"
  39727. },
  39728. "marketname": {
  39729. "description": "市场名称",
  39730. "type": "string"
  39731. },
  39732. "marketsectionid": {
  39733. "description": "市场版块ID(SEQ_MARKETSECTION)",
  39734. "type": "integer"
  39735. },
  39736. "marketserviceid": {
  39737. "description": "市场服务ID",
  39738. "type": "integer"
  39739. },
  39740. "marketstatus": {
  39741. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  39742. "type": "integer"
  39743. },
  39744. "markettype": {
  39745. "description": "市场类型- 1:非交易服务 2:交易服务",
  39746. "type": "integer"
  39747. },
  39748. "matchermode": {
  39749. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  39750. "type": "integer"
  39751. },
  39752. "nowrquotaflag": {
  39753. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  39754. "type": "integer"
  39755. },
  39756. "openmethod": {
  39757. "description": "开盘模式 - 0 自动 1手动",
  39758. "type": "integer"
  39759. },
  39760. "orderindex": {
  39761. "description": "排序",
  39762. "type": "integer"
  39763. },
  39764. "otcuserid": {
  39765. "description": "场外期权做市商[场外期权]",
  39766. "type": "integer"
  39767. },
  39768. "outersynctime": {
  39769. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  39770. "type": "string"
  39771. },
  39772. "paylaterflag": {
  39773. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  39774. "type": "integer"
  39775. },
  39776. "pendingflag": {
  39777. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  39778. "type": "integer"
  39779. },
  39780. "pendingtime": {
  39781. "description": "待开市时间[通道交易-对冲](HH:mm)",
  39782. "type": "string"
  39783. },
  39784. "performancetempid": {
  39785. "description": "履约计划模板ID - 作废",
  39786. "type": "integer"
  39787. },
  39788. "premiumquotemode": {
  39789. "description": "权利金报价方式 - 1:自动 2:手动",
  39790. "type": "integer"
  39791. },
  39792. "rebateratio": {
  39793. "description": "返利比率[竞价式]",
  39794. "type": "number"
  39795. },
  39796. "reckonorder": {
  39797. "description": "结算顺序",
  39798. "type": "integer"
  39799. },
  39800. "reckonpricealgorithm": {
  39801. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  39802. "type": "integer"
  39803. },
  39804. "reckonpriceparam": {
  39805. "description": "结算价参数",
  39806. "type": "integer"
  39807. },
  39808. "reckontime": {
  39809. "description": "结算时间[通道交易-对冲](HH:mm)",
  39810. "type": "string"
  39811. },
  39812. "roleprioritytype": {
  39813. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  39814. "type": "integer"
  39815. },
  39816. "selllistingauditflag": {
  39817. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  39818. "type": "integer"
  39819. },
  39820. "trademarkettype": {
  39821. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  39822. "type": "integer"
  39823. },
  39824. "trademode": {
  39825. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39826. "type": "integer"
  39827. },
  39828. "tradeproperty": {
  39829. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  39830. "type": "integer"
  39831. },
  39832. "tradetype": {
  39833. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  39834. "type": "integer"
  39835. },
  39836. "updatereckonpriceinterval": {
  39837. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  39838. "type": "integer"
  39839. }
  39840. }
  39841. },
  39842. "models.TjmdQuoteGoods": {
  39843. "type": "object",
  39844. "properties": {
  39845. "buyqty": {
  39846. "description": "买量(暂不做, 无值, 保留字段)",
  39847. "type": "number"
  39848. },
  39849. "decimalplace": {
  39850. "description": "报价小数位",
  39851. "type": "integer"
  39852. },
  39853. "goodscode": {
  39854. "description": "合约代码",
  39855. "type": "string"
  39856. },
  39857. "goodsgroupid": {
  39858. "description": "商品组ID(自增ID)",
  39859. "type": "integer"
  39860. },
  39861. "goodsgroupname": {
  39862. "description": "商品组名称",
  39863. "type": "string"
  39864. },
  39865. "goodsid": {
  39866. "description": "合约id",
  39867. "type": "integer"
  39868. },
  39869. "goodsname": {
  39870. "description": "合约名称",
  39871. "type": "string"
  39872. },
  39873. "refgoodscode": {
  39874. "description": "标的合约代码",
  39875. "type": "string"
  39876. },
  39877. "refgoodsid": {
  39878. "description": "标的合约id",
  39879. "type": "integer"
  39880. },
  39881. "refgoodsname": {
  39882. "description": "标的合约名称",
  39883. "type": "string"
  39884. },
  39885. "sellqty": {
  39886. "description": "卖量(暂不做, 无值, 保留字段)",
  39887. "type": "number"
  39888. }
  39889. }
  39890. },
  39891. "models.TjmdTodayAccountMargin": {
  39892. "type": "object",
  39893. "properties": {
  39894. "accountid": {
  39895. "description": "账号ID",
  39896. "type": "integer"
  39897. },
  39898. "goodsid": {
  39899. "description": "商品ID",
  39900. "type": "integer"
  39901. },
  39902. "infoc": {
  39903. "description": "配置参数",
  39904. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  39905. },
  39906. "marketid": {
  39907. "description": "市场ID",
  39908. "type": "integer"
  39909. }
  39910. }
  39911. },
  39912. "models.TjmdTradeOrderDetail": {
  39913. "type": "object",
  39914. "properties": {
  39915. "buyorsell": {
  39916. "description": "买卖方向 0-买 1-卖",
  39917. "type": "integer"
  39918. },
  39919. "goodsid": {
  39920. "description": "商品id",
  39921. "type": "integer"
  39922. },
  39923. "marketmaxsub": {
  39924. "description": "市价最大偏移范围 [浮动价 - 点差]",
  39925. "type": "number"
  39926. },
  39927. "orderid": {
  39928. "description": "委托单号",
  39929. "type": "string"
  39930. },
  39931. "orderprice": {
  39932. "description": "期初均价",
  39933. "type": "number"
  39934. },
  39935. "orderqty": {
  39936. "description": "委托数量",
  39937. "type": "integer"
  39938. },
  39939. "pricemode": {
  39940. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  39941. "type": "integer"
  39942. },
  39943. "userid": {
  39944. "description": "用户id",
  39945. "type": "integer"
  39946. },
  39947. "username": {
  39948. "description": "用户名称(已脱敏)",
  39949. "type": "string"
  39950. }
  39951. }
  39952. },
  39953. "models.TjmdTransferApply": {
  39954. "type": "object",
  39955. "properties": {
  39956. "applyid": {
  39957. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  39958. "type": "integer"
  39959. },
  39960. "applystatus": {
  39961. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  39962. "type": "integer"
  39963. },
  39964. "applytime": {
  39965. "description": "申请时间(时间)",
  39966. "type": "string"
  39967. },
  39968. "auditremark": {
  39969. "description": "审核备注(拒绝原因?)",
  39970. "type": "string"
  39971. },
  39972. "begindate": {
  39973. "description": "开始交易日(yyyymmdd)",
  39974. "type": "string"
  39975. },
  39976. "buyorsell": {
  39977. "description": "买卖 - 0:买 1:卖",
  39978. "type": "integer"
  39979. },
  39980. "enddate": {
  39981. "description": "结束交易日(yyyymmdd)",
  39982. "type": "string"
  39983. },
  39984. "goodscode": {
  39985. "description": "商品代码",
  39986. "type": "string"
  39987. },
  39988. "goodsid": {
  39989. "description": "商品ID",
  39990. "type": "integer"
  39991. },
  39992. "goodsname": {
  39993. "description": "商品名称",
  39994. "type": "string"
  39995. },
  39996. "marketid": {
  39997. "description": "市场ID",
  39998. "type": "integer"
  39999. },
  40000. "qty": {
  40001. "description": "期初均价",
  40002. "type": "number"
  40003. },
  40004. "tradeid": {
  40005. "description": "成交单号(关联持仓)",
  40006. "type": "string"
  40007. },
  40008. "transferamount": {
  40009. "description": "转让总金额(金额)",
  40010. "type": "number"
  40011. },
  40012. "transferprice": {
  40013. "description": "转让价格(协议价格)",
  40014. "type": "number"
  40015. }
  40016. }
  40017. },
  40018. "models.TradeHolderDetail": {
  40019. "type": "object",
  40020. "properties": {
  40021. "accountid": {
  40022. "description": "账号ID",
  40023. "type": "integer"
  40024. },
  40025. "agreeunit": {
  40026. "description": "合约乘数",
  40027. "type": "number"
  40028. },
  40029. "buyorsell": {
  40030. "description": "方向 - 0:买 1:卖",
  40031. "type": "integer"
  40032. },
  40033. "currencyid": {
  40034. "description": "商品币种id",
  40035. "type": "integer"
  40036. },
  40037. "currencyname": {
  40038. "description": "币种名称",
  40039. "type": "string"
  40040. },
  40041. "decimalplace": {
  40042. "description": "商品价格小数位",
  40043. "type": "integer"
  40044. },
  40045. "enumdicname": {
  40046. "description": "商品单位名称",
  40047. "type": "string"
  40048. },
  40049. "expirecycle": {
  40050. "description": "行权周期(天) - 1:滚动行权时填写",
  40051. "type": "integer"
  40052. },
  40053. "expiredate": {
  40054. "description": "行权日(yyyyMMdd) - 到期日",
  40055. "type": "string"
  40056. },
  40057. "expiretype": {
  40058. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  40059. "type": "integer"
  40060. },
  40061. "freezeqty": {
  40062. "description": "期初均价",
  40063. "type": "number"
  40064. },
  40065. "goodscode": {
  40066. "description": "商品代码",
  40067. "type": "string"
  40068. },
  40069. "goodsid": {
  40070. "description": "商品ID",
  40071. "type": "integer"
  40072. },
  40073. "goodsname": {
  40074. "description": "商品名称",
  40075. "type": "string"
  40076. },
  40077. "goodunitid": {
  40078. "description": "商品单位id",
  40079. "type": "integer"
  40080. },
  40081. "holderamount": {
  40082. "description": "持仓金额",
  40083. "type": "number"
  40084. },
  40085. "holdercredit": {
  40086. "description": "持仓授信金额",
  40087. "type": "number"
  40088. },
  40089. "holderdays": {
  40090. "description": "剩余冻结天数",
  40091. "type": "integer"
  40092. },
  40093. "holderprice": {
  40094. "description": "持仓价格",
  40095. "type": "number"
  40096. },
  40097. "holderqty": {
  40098. "description": "期初均价",
  40099. "type": "number"
  40100. },
  40101. "isconfirmexercise": {
  40102. "description": "是否确认行权- 0:否 1:是",
  40103. "type": "integer"
  40104. },
  40105. "ispreexercise": {
  40106. "description": "是否预申报- 0:否 1:是 2:不可行权",
  40107. "type": "integer"
  40108. },
  40109. "marketid": {
  40110. "description": "市场id",
  40111. "type": "integer"
  40112. },
  40113. "marketname": {
  40114. "description": "市场名称",
  40115. "type": "string"
  40116. },
  40117. "openprice": {
  40118. "description": "建仓价格",
  40119. "type": "number"
  40120. },
  40121. "openqty": {
  40122. "description": "期初均价",
  40123. "type": "number"
  40124. },
  40125. "optiontype": {
  40126. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40127. "type": "integer"
  40128. },
  40129. "preexerciseprice": {
  40130. "description": "预申报价格",
  40131. "type": "number"
  40132. },
  40133. "premium": {
  40134. "description": "权利金",
  40135. "type": "number"
  40136. },
  40137. "qtydecimalplace": {
  40138. "description": "商品成交量小数位",
  40139. "type": "integer"
  40140. },
  40141. "refgoodscode": {
  40142. "description": "标的合约代码",
  40143. "type": "string"
  40144. },
  40145. "refgoodsid": {
  40146. "description": "标的合约id",
  40147. "type": "integer"
  40148. },
  40149. "releaseamount": {
  40150. "description": "释放持仓金额",
  40151. "type": "number"
  40152. },
  40153. "releaseholdercredit": {
  40154. "description": "释放持仓授信金额",
  40155. "type": "number"
  40156. },
  40157. "taname": {
  40158. "description": "资金账号名称",
  40159. "type": "string"
  40160. },
  40161. "tradeamount": {
  40162. "description": "成交金额",
  40163. "type": "number"
  40164. },
  40165. "tradedate": {
  40166. "description": "交易日(yyyyMMdd)",
  40167. "type": "string"
  40168. },
  40169. "tradeid": {
  40170. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40171. "type": "string"
  40172. },
  40173. "trademode": {
  40174. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  40175. "type": "integer"
  40176. },
  40177. "tradeproperty": {
  40178. "description": "交易属性",
  40179. "type": "integer"
  40180. },
  40181. "tradetime": {
  40182. "description": "交易时间",
  40183. "type": "string"
  40184. },
  40185. "userid": {
  40186. "description": "用户id",
  40187. "type": "integer"
  40188. },
  40189. "username": {
  40190. "description": "用户名称",
  40191. "type": "string"
  40192. }
  40193. }
  40194. },
  40195. "models.Unlinkermcphedgeplan": {
  40196. "type": "object",
  40197. "required": [
  40198. "areauserid"
  40199. ],
  40200. "properties": {
  40201. "accountid": {
  40202. "description": "期货账户ID - 作废",
  40203. "type": "integer"
  40204. },
  40205. "accountname": {
  40206. "description": "交易用户",
  40207. "type": "string"
  40208. },
  40209. "applyid": {
  40210. "description": "申请人",
  40211. "type": "integer"
  40212. },
  40213. "applysrc": {
  40214. "description": "申请来源 - 1:管理端 2:终端",
  40215. "type": "integer"
  40216. },
  40217. "applytime": {
  40218. "description": "申请时间",
  40219. "type": "string"
  40220. },
  40221. "areauserid": {
  40222. "description": "[企业ID]机构ID",
  40223. "type": "integer"
  40224. },
  40225. "auditid": {
  40226. "description": "审核人",
  40227. "type": "integer"
  40228. },
  40229. "auditremark": {
  40230. "description": "审核备注",
  40231. "type": "string"
  40232. },
  40233. "auditsrc": {
  40234. "description": "审核来源 - 1:管理端 2:终端",
  40235. "type": "integer"
  40236. },
  40237. "audittime": {
  40238. "description": "审核时间",
  40239. "type": "string"
  40240. },
  40241. "audittradedate": {
  40242. "description": "审核交易日(yyyyMMdd)",
  40243. "type": "string"
  40244. },
  40245. "biztype": {
  40246. "description": "业务类型 - 1:套保",
  40247. "type": "integer"
  40248. },
  40249. "contracttype": {
  40250. "description": "计划类型 - 1:采购 -1:销售",
  40251. "type": "integer"
  40252. },
  40253. "convertfactor": {
  40254. "description": "标仓系数 - 作废",
  40255. "type": "number"
  40256. },
  40257. "createtime": {
  40258. "description": "创建时间",
  40259. "type": "string"
  40260. },
  40261. "currencyid": {
  40262. "description": "结算币种ID - 作废",
  40263. "type": "integer"
  40264. },
  40265. "deliverygoodsid": {
  40266. "description": "现货品种ID",
  40267. "type": "integer"
  40268. },
  40269. "enumdicname": {
  40270. "description": "结算币种",
  40271. "type": "string"
  40272. },
  40273. "hedgeplanid": {
  40274. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  40275. "type": "string"
  40276. },
  40277. "hedgeplanno": {
  40278. "description": "[计划编号]套保计划编号,模糊查询",
  40279. "type": "string"
  40280. },
  40281. "hedgeplanstatus": {
  40282. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  40283. "type": "integer"
  40284. },
  40285. "isrelated": {
  40286. "description": "是否已关联计划项目 - 0:否 1:是",
  40287. "type": "integer"
  40288. },
  40289. "planqty": {
  40290. "description": "[计划量]计划数量",
  40291. "type": "number"
  40292. },
  40293. "plantime": {
  40294. "description": "计划时间",
  40295. "type": "string"
  40296. },
  40297. "producttype": {
  40298. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  40299. "type": "integer"
  40300. },
  40301. "remark": {
  40302. "description": "备注",
  40303. "type": "string"
  40304. },
  40305. "spotgoodsdesc": {
  40306. "description": "商品型号",
  40307. "type": "string"
  40308. },
  40309. "tradedate": {
  40310. "description": "交易日(yyyyMMdd)",
  40311. "type": "string"
  40312. },
  40313. "tradeuserid": {
  40314. "description": "交易用户ID",
  40315. "type": "integer"
  40316. },
  40317. "updatetime": {
  40318. "description": "更新时间",
  40319. "type": "string"
  40320. },
  40321. "wrstandardid": {
  40322. "description": "现货商品ID",
  40323. "type": "integer"
  40324. },
  40325. "wrstandardname": {
  40326. "description": "现货商品,模糊查询",
  40327. "type": "string"
  40328. }
  40329. }
  40330. },
  40331. "models.UserCollectConfig": {
  40332. "type": "object",
  40333. "properties": {
  40334. "accountstatus": {
  40335. "description": "账户状态 - 1:正常 2:停用 3:注销",
  40336. "type": "integer"
  40337. },
  40338. "collectaccountname": {
  40339. "description": "收款人账户名称",
  40340. "type": "string"
  40341. },
  40342. "collectaccountno": {
  40343. "description": "收款人账户",
  40344. "type": "string"
  40345. },
  40346. "collectbankname": {
  40347. "description": "收款人开户行",
  40348. "type": "string"
  40349. },
  40350. "collectbranchbankname": {
  40351. "description": "收款人开户支行",
  40352. "type": "string"
  40353. },
  40354. "collectconfigid": {
  40355. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  40356. "type": "string"
  40357. },
  40358. "remark": {
  40359. "description": "备注",
  40360. "type": "string"
  40361. },
  40362. "userid": {
  40363. "description": "收款人用户ID",
  40364. "type": "integer"
  40365. }
  40366. }
  40367. },
  40368. "models.UserReceiveInfo": {
  40369. "type": "object",
  40370. "properties": {
  40371. "address": {
  40372. "description": "提货人详细地址",
  40373. "type": "string"
  40374. },
  40375. "autoid": {
  40376. "description": "AutoID",
  40377. "type": "integer"
  40378. },
  40379. "cardnum": {
  40380. "description": "证件号码(加密存储)",
  40381. "type": "string"
  40382. },
  40383. "cardtypeid": {
  40384. "description": "证件类型",
  40385. "type": "integer"
  40386. },
  40387. "cityid": {
  40388. "description": "市",
  40389. "type": "integer"
  40390. },
  40391. "cityname": {
  40392. "description": "城市名称",
  40393. "type": "string"
  40394. },
  40395. "countryid": {
  40396. "description": "国家",
  40397. "type": "integer"
  40398. },
  40399. "countryname": {
  40400. "description": "国家名称",
  40401. "type": "string"
  40402. },
  40403. "districtid": {
  40404. "description": "地区",
  40405. "type": "integer"
  40406. },
  40407. "districtname": {
  40408. "description": "地区名称",
  40409. "type": "string"
  40410. },
  40411. "hasencrypt": {
  40412. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40413. "type": "integer"
  40414. },
  40415. "isdefault": {
  40416. "description": "是否默认地址 - 0:否 1:是",
  40417. "type": "integer"
  40418. },
  40419. "phonenum": {
  40420. "description": "提货人联系方式(加密存储)",
  40421. "type": "string"
  40422. },
  40423. "provinceid": {
  40424. "description": "省",
  40425. "type": "integer"
  40426. },
  40427. "provincename": {
  40428. "description": "省名称",
  40429. "type": "string"
  40430. },
  40431. "receivername": {
  40432. "description": "提货人姓名",
  40433. "type": "string"
  40434. },
  40435. "takeremark": {
  40436. "description": "提货备注",
  40437. "type": "string"
  40438. },
  40439. "userid": {
  40440. "description": "用户ID",
  40441. "type": "integer"
  40442. }
  40443. }
  40444. },
  40445. "models.Useraccount": {
  40446. "type": "object",
  40447. "required": [
  40448. "userid"
  40449. ],
  40450. "properties": {
  40451. "accountname": {
  40452. "description": "账户名称(机构名称)",
  40453. "type": "string"
  40454. },
  40455. "accountstatus": {
  40456. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  40457. "type": "integer"
  40458. },
  40459. "applysrc": {
  40460. "description": "申请来源 - 1:管理端 2:终端",
  40461. "type": "integer"
  40462. },
  40463. "auditremark": {
  40464. "description": "审核备注",
  40465. "type": "string"
  40466. },
  40467. "auditsrc": {
  40468. "description": "审核来源 - 1:管理端 2:终端",
  40469. "type": "integer"
  40470. },
  40471. "audittime": {
  40472. "description": "审核时间",
  40473. "type": "string"
  40474. },
  40475. "audituserid": {
  40476. "description": "审核人",
  40477. "type": "integer"
  40478. },
  40479. "broker": {
  40480. "description": "所属经纪人ID",
  40481. "type": "integer"
  40482. },
  40483. "canceltime": {
  40484. "description": "销户时间",
  40485. "type": "string"
  40486. },
  40487. "canceluserid": {
  40488. "description": "销户人",
  40489. "type": "integer"
  40490. },
  40491. "canrecommend": {
  40492. "description": "是否可推荐 - 0:不可 1;可",
  40493. "type": "integer"
  40494. },
  40495. "createtime": {
  40496. "description": "创建时间",
  40497. "type": "string"
  40498. },
  40499. "creatorid": {
  40500. "description": "创建人",
  40501. "type": "integer"
  40502. },
  40503. "hasauth": {
  40504. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  40505. "type": "integer"
  40506. },
  40507. "isanonymous": {
  40508. "description": "是否匿名下单 - 0:否 1:是",
  40509. "type": "integer"
  40510. },
  40511. "maxinvestornum": {
  40512. "description": "最大用户数(经纪会员下投资者个数)",
  40513. "type": "integer"
  40514. },
  40515. "memberuserid": {
  40516. "description": "所属会员ID",
  40517. "type": "integer"
  40518. },
  40519. "modifierid": {
  40520. "description": "修改人",
  40521. "type": "integer"
  40522. },
  40523. "modifyremark": {
  40524. "description": "变更备注",
  40525. "type": "string"
  40526. },
  40527. "modifystatus": {
  40528. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  40529. "type": "integer"
  40530. },
  40531. "modifytime": {
  40532. "description": "修改时间",
  40533. "type": "string"
  40534. },
  40535. "parenttopuser": {
  40536. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  40537. "type": "string"
  40538. },
  40539. "parentuserid": {
  40540. "description": "所属机构ID",
  40541. "type": "integer"
  40542. },
  40543. "reckonaccountid": {
  40544. "description": "默认结算资金账号ID(机构分润使用) 作废",
  40545. "type": "integer"
  40546. },
  40547. "refercount": {
  40548. "description": "推荐总人数",
  40549. "type": "integer"
  40550. },
  40551. "refereeuserid": {
  40552. "description": "推荐人ID",
  40553. "type": "integer"
  40554. },
  40555. "refernum": {
  40556. "description": "推荐码",
  40557. "type": "string"
  40558. },
  40559. "rootuserid": {
  40560. "description": "根用户ID",
  40561. "type": "integer"
  40562. },
  40563. "subaccountlevel": {
  40564. "description": "子账户层数",
  40565. "type": "integer"
  40566. },
  40567. "subarealevelpath": {
  40568. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  40569. "type": "string"
  40570. },
  40571. "userid": {
  40572. "description": "用户ID",
  40573. "type": "integer"
  40574. },
  40575. "usertype": {
  40576. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  40577. "type": "integer"
  40578. }
  40579. }
  40580. },
  40581. "models.Userfavoritegoods": {
  40582. "type": "object",
  40583. "required": [
  40584. "goodsid"
  40585. ],
  40586. "properties": {
  40587. "goodsid": {
  40588. "description": "商品ID",
  40589. "type": "integer"
  40590. }
  40591. }
  40592. },
  40593. "models.Userinfo": {
  40594. "type": "object",
  40595. "required": [
  40596. "userid"
  40597. ],
  40598. "properties": {
  40599. "address": {
  40600. "description": "地址",
  40601. "type": "string"
  40602. },
  40603. "attachment1": {
  40604. "description": "附件1",
  40605. "type": "string"
  40606. },
  40607. "attachment2": {
  40608. "description": "附件2",
  40609. "type": "string"
  40610. },
  40611. "bankaccount": {
  40612. "description": "银行帐号 (加密存储)",
  40613. "type": "string"
  40614. },
  40615. "bankaccountname": {
  40616. "description": "收款人名称",
  40617. "type": "string"
  40618. },
  40619. "bankcardfrontphotourl": {
  40620. "description": "银行卡正面照地址",
  40621. "type": "string"
  40622. },
  40623. "bankid": {
  40624. "description": "银行编码",
  40625. "type": "string"
  40626. },
  40627. "bankname": {
  40628. "description": "银行名称",
  40629. "type": "string"
  40630. },
  40631. "biznature": {
  40632. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  40633. "type": "integer"
  40634. },
  40635. "bizscope": {
  40636. "description": "企业经营范围(企业)",
  40637. "type": "string"
  40638. },
  40639. "cardbackphotourl": {
  40640. "description": "证件背面图片地址",
  40641. "type": "string"
  40642. },
  40643. "cardfrontphotourl": {
  40644. "description": "证件正面图片地址",
  40645. "type": "string"
  40646. },
  40647. "cardnum": {
  40648. "description": "证件号码(加密存储)",
  40649. "type": "string"
  40650. },
  40651. "cardtypeid": {
  40652. "description": "证件类型ID",
  40653. "type": "integer"
  40654. },
  40655. "cityid": {
  40656. "description": "市",
  40657. "type": "integer"
  40658. },
  40659. "company": {
  40660. "description": "公司(个人)",
  40661. "type": "string"
  40662. },
  40663. "contactname": {
  40664. "description": "联系人",
  40665. "type": "string"
  40666. },
  40667. "countryid": {
  40668. "description": "国家",
  40669. "type": "integer"
  40670. },
  40671. "createtime": {
  40672. "description": "创建时间",
  40673. "type": "string"
  40674. },
  40675. "creatorid": {
  40676. "description": "创建人",
  40677. "type": "integer"
  40678. },
  40679. "customername": {
  40680. "description": "客户名称(企业名称)",
  40681. "type": "string"
  40682. },
  40683. "districtid": {
  40684. "description": "地区",
  40685. "type": "integer"
  40686. },
  40687. "email": {
  40688. "description": "邮件(加密存储)",
  40689. "type": "string"
  40690. },
  40691. "fax": {
  40692. "description": "传真(加密存储)",
  40693. "type": "string"
  40694. },
  40695. "halfbodyphotourl": {
  40696. "description": "半身照地址",
  40697. "type": "string"
  40698. },
  40699. "hasencrypt": {
  40700. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40701. "type": "integer"
  40702. },
  40703. "headurl": {
  40704. "description": "头像地址",
  40705. "type": "string"
  40706. },
  40707. "legalcardbackphotourl": {
  40708. "description": "法人身份证背面照地址",
  40709. "type": "string"
  40710. },
  40711. "legalcardfrontphotourl": {
  40712. "description": "法人身份证正面照地址",
  40713. "type": "string"
  40714. },
  40715. "legalpersonname": {
  40716. "description": "法人姓名(企业)",
  40717. "type": "string"
  40718. },
  40719. "mobile": {
  40720. "description": "手机号码(加密存储)",
  40721. "type": "string"
  40722. },
  40723. "mobile2": {
  40724. "description": "手机号码[明文-尚志]",
  40725. "type": "string"
  40726. },
  40727. "modifierid": {
  40728. "description": "修改人",
  40729. "type": "integer"
  40730. },
  40731. "modifiertime": {
  40732. "description": "修改时间",
  40733. "type": "string"
  40734. },
  40735. "needinvoice": {
  40736. "description": "是否需要发票 - 0:不需要 1:需要",
  40737. "type": "integer"
  40738. },
  40739. "nickname": {
  40740. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  40741. "type": "string"
  40742. },
  40743. "openmode": {
  40744. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  40745. "type": "integer"
  40746. },
  40747. "otherurl": {
  40748. "description": "其它图片地址[使用分号分隔]",
  40749. "type": "string"
  40750. },
  40751. "postalcode": {
  40752. "description": "邮政编码",
  40753. "type": "string"
  40754. },
  40755. "provinceid": {
  40756. "description": "省",
  40757. "type": "integer"
  40758. },
  40759. "qq": {
  40760. "description": "QQ(加密存储",
  40761. "type": "string"
  40762. },
  40763. "remark": {
  40764. "description": "备注",
  40765. "type": "string"
  40766. },
  40767. "sex": {
  40768. "description": "用户性别 0: 女 1: 男",
  40769. "type": "integer"
  40770. },
  40771. "signpdfurl": {
  40772. "description": "签约pdf文件",
  40773. "type": "string"
  40774. },
  40775. "telphone": {
  40776. "description": "联系电话(加密存储)",
  40777. "type": "string"
  40778. },
  40779. "userid": {
  40780. "description": "用户ID",
  40781. "type": "integer"
  40782. },
  40783. "userinfotype": {
  40784. "description": "用户信息类型 - 1:个人 2:企业",
  40785. "type": "integer"
  40786. },
  40787. "userstatus": {
  40788. "description": "用户状态 - 1:正常 2:注销",
  40789. "type": "integer"
  40790. },
  40791. "usertype": {
  40792. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  40793. "type": "integer"
  40794. },
  40795. "wechat": {
  40796. "description": "微信(加密存储)",
  40797. "type": "string"
  40798. },
  40799. "wskhinfo": {
  40800. "description": "开户申请信息(JSON)",
  40801. "type": "string"
  40802. }
  40803. }
  40804. },
  40805. "models.WRPositionReport": {
  40806. "type": "object",
  40807. "properties": {
  40808. "accountid": {
  40809. "description": "帐户ID",
  40810. "type": "integer"
  40811. },
  40812. "brandid": {
  40813. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  40814. "type": "integer"
  40815. },
  40816. "buylistinglot": {
  40817. "description": "买挂牌宗数",
  40818. "type": "integer"
  40819. },
  40820. "buytradeamount": {
  40821. "description": "购买金额",
  40822. "type": "number"
  40823. },
  40824. "buytradelot": {
  40825. "description": "购买宗数",
  40826. "type": "integer"
  40827. },
  40828. "buytradeqty": {
  40829. "description": "购买数量",
  40830. "type": "number"
  40831. },
  40832. "creditcurqty": {
  40833. "description": "授信当前数量",
  40834. "type": "integer"
  40835. },
  40836. "creditfreezeqty": {
  40837. "description": "授信冻结数量",
  40838. "type": "integer"
  40839. },
  40840. "credittotalqty": {
  40841. "description": "授信总数量",
  40842. "type": "integer"
  40843. },
  40844. "credittradeqty": {
  40845. "description": "授信成交数量",
  40846. "type": "integer"
  40847. },
  40848. "decreaseqty": {
  40849. "description": "今日减少数量",
  40850. "type": "integer"
  40851. },
  40852. "deliverygoodsid": {
  40853. "description": "交割商品ID",
  40854. "type": "integer"
  40855. },
  40856. "deliverymonthid": {
  40857. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  40858. "type": "integer"
  40859. },
  40860. "freezeqty": {
  40861. "description": "总冻结数量",
  40862. "type": "integer"
  40863. },
  40864. "increaseqty": {
  40865. "description": "今日增加数量",
  40866. "type": "integer"
  40867. },
  40868. "marketvalue": {
  40869. "description": "市值",
  40870. "type": "number"
  40871. },
  40872. "pickupqty": {
  40873. "description": "今日提货数量",
  40874. "type": "integer"
  40875. },
  40876. "qualityid": {
  40877. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  40878. "type": "integer"
  40879. },
  40880. "reckondate": {
  40881. "description": "日照时期(yyyyMMdd)",
  40882. "type": "string"
  40883. },
  40884. "relatedqty": {
  40885. "description": "关联数量",
  40886. "type": "integer"
  40887. },
  40888. "selllistingamount": {
  40889. "description": "卖挂牌金额",
  40890. "type": "number"
  40891. },
  40892. "selllistinglot": {
  40893. "description": "卖挂牌宗数",
  40894. "type": "integer"
  40895. },
  40896. "selllistingqty": {
  40897. "description": "卖挂牌数量",
  40898. "type": "number"
  40899. },
  40900. "selltradeamount": {
  40901. "description": "销售金额",
  40902. "type": "number"
  40903. },
  40904. "selltradelot": {
  40905. "description": "销售宗数",
  40906. "type": "integer"
  40907. },
  40908. "selltradeqty": {
  40909. "description": "销售数量",
  40910. "type": "number"
  40911. },
  40912. "specid": {
  40913. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  40914. "type": "integer"
  40915. },
  40916. "totalprice": {
  40917. "description": "销售金额(¥)",
  40918. "type": "number"
  40919. },
  40920. "totalqty": {
  40921. "description": "总数量",
  40922. "type": "integer"
  40923. },
  40924. "totalweight": {
  40925. "description": "销售重量(ct)",
  40926. "type": "number"
  40927. },
  40928. "tradewrqty": {
  40929. "description": "订单仓单头寸总数量",
  40930. "type": "integer"
  40931. },
  40932. "transfertradewrqty": {
  40933. "description": "今日转订单数量",
  40934. "type": "integer"
  40935. },
  40936. "warehouseid": {
  40937. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  40938. "type": "integer"
  40939. },
  40940. "wrfactortypeid": {
  40941. "description": "仓单要素类型ID",
  40942. "type": "integer"
  40943. },
  40944. "wrpositionid": {
  40945. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  40946. "type": "integer"
  40947. },
  40948. "wrstandardcode": {
  40949. "description": "现货商品代码",
  40950. "type": "string"
  40951. },
  40952. "wrstandardid": {
  40953. "description": "现货商品ID",
  40954. "type": "integer"
  40955. },
  40956. "wruserid": {
  40957. "description": "持有人ID",
  40958. "type": "integer"
  40959. },
  40960. "zscategory": {
  40961. "description": "商品分类",
  40962. "type": "integer"
  40963. },
  40964. "zscategorydisplay": {
  40965. "type": "string"
  40966. },
  40967. "zscurrencytype": {
  40968. "description": "商品币种",
  40969. "type": "integer"
  40970. },
  40971. "zscurrencytypedisplay": {
  40972. "type": "string"
  40973. },
  40974. "zscurrencytypedisplayunit": {
  40975. "type": "string"
  40976. }
  40977. }
  40978. },
  40979. "models.WRSConverTDetail": {
  40980. "type": "object",
  40981. "properties": {
  40982. "convertratio": {
  40983. "description": "套保系数",
  40984. "type": "number"
  40985. },
  40986. "deliverygoodscode": {
  40987. "description": "现货商品代码",
  40988. "type": "string"
  40989. },
  40990. "deliverygoodsid": {
  40991. "description": "现货品种ID",
  40992. "type": "integer"
  40993. },
  40994. "deliverygoodsname": {
  40995. "description": "现货商品名称",
  40996. "type": "string"
  40997. },
  40998. "enumdicname": {
  40999. "description": "单位名称",
  41000. "type": "string"
  41001. },
  41002. "goodsunitid": {
  41003. "description": "套保品种单位id",
  41004. "type": "integer"
  41005. },
  41006. "middlegoodscode": {
  41007. "description": "套保品种代码",
  41008. "type": "string"
  41009. },
  41010. "middlegoodsid": {
  41011. "description": "套保品种ID",
  41012. "type": "integer"
  41013. },
  41014. "middlegoodsname": {
  41015. "description": "套保品种名称",
  41016. "type": "string"
  41017. },
  41018. "modifytime": {
  41019. "description": "修改时间",
  41020. "type": "string"
  41021. },
  41022. "wrstandardid": {
  41023. "description": "品类ID",
  41024. "type": "integer"
  41025. }
  41026. }
  41027. },
  41028. "models.WRStandardInfo": {
  41029. "type": "object",
  41030. "required": [
  41031. "wrstandardid"
  41032. ],
  41033. "properties": {
  41034. "areauserid": {
  41035. "description": "所属机构",
  41036. "type": "integer"
  41037. },
  41038. "convertfactor": {
  41039. "description": "标仓系数",
  41040. "type": "number"
  41041. },
  41042. "createtime": {
  41043. "description": "创建时间",
  41044. "type": "string"
  41045. },
  41046. "creatorid": {
  41047. "description": "创建人",
  41048. "type": "integer"
  41049. },
  41050. "deliverygoodsid": {
  41051. "description": "品种ID",
  41052. "type": "integer"
  41053. },
  41054. "deliverygoodsname": {
  41055. "description": "交割商品名称",
  41056. "type": "string"
  41057. },
  41058. "factoryitemjson": {
  41059. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  41060. "type": "string"
  41061. },
  41062. "isvalid": {
  41063. "description": "是否有效 - 0:无效 1:有效",
  41064. "type": "integer"
  41065. },
  41066. "minivalue": {
  41067. "description": "最小变动值",
  41068. "type": "integer"
  41069. },
  41070. "minivaluedp": {
  41071. "description": "最小变动值小数位",
  41072. "type": "integer"
  41073. },
  41074. "realminivalue": {
  41075. "description": "实际最小变动值",
  41076. "type": "integer"
  41077. },
  41078. "realminivaluedp": {
  41079. "description": "实际最小变动值小数位",
  41080. "type": "integer"
  41081. },
  41082. "remark": {
  41083. "description": "备注",
  41084. "type": "string"
  41085. },
  41086. "unitid": {
  41087. "description": "单位ID",
  41088. "type": "integer"
  41089. },
  41090. "unitname": {
  41091. "description": "单位",
  41092. "type": "string"
  41093. },
  41094. "updatetime": {
  41095. "description": "更新时间",
  41096. "type": "string"
  41097. },
  41098. "updatorid": {
  41099. "description": "更新人",
  41100. "type": "integer"
  41101. },
  41102. "wrsstatus": {
  41103. "description": "状态 - 作废 - 0:未激活 1:正常",
  41104. "type": "integer"
  41105. },
  41106. "wrstandardcode": {
  41107. "description": "现货品类代码",
  41108. "type": "string"
  41109. },
  41110. "wrstandardid": {
  41111. "description": "现货品类ID(SEQ_WRSTANDARD)",
  41112. "type": "integer"
  41113. },
  41114. "wrstandardname": {
  41115. "description": "现货品类名称",
  41116. "type": "string"
  41117. }
  41118. }
  41119. },
  41120. "models.WRTradeBargainApply": {
  41121. "type": "object",
  41122. "properties": {
  41123. "accountid": {
  41124. "description": "摘牌资金账号",
  41125. "type": "integer"
  41126. },
  41127. "applyprice": {
  41128. "description": "申请价格(议价价格)",
  41129. "type": "string"
  41130. },
  41131. "applyqty": {
  41132. "description": "摘牌数量(议价数量)",
  41133. "type": "number"
  41134. },
  41135. "applyremark": {
  41136. "description": "申请备注",
  41137. "type": "string"
  41138. },
  41139. "applystatus": {
  41140. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  41141. "type": "integer"
  41142. },
  41143. "applytime": {
  41144. "description": "申请时间(议价时间)",
  41145. "type": "string"
  41146. },
  41147. "begindate": {
  41148. "description": "开始交易日(yyyymmdd)",
  41149. "type": "string"
  41150. },
  41151. "buyorsell": {
  41152. "description": "买卖(挂牌类型) - 0:买 1:卖",
  41153. "type": "integer"
  41154. },
  41155. "confirmremark": {
  41156. "description": "确认备注",
  41157. "type": "string"
  41158. },
  41159. "confirmtime": {
  41160. "description": "确认时间",
  41161. "type": "string"
  41162. },
  41163. "confirmuserid": {
  41164. "description": "确认人",
  41165. "type": "integer"
  41166. },
  41167. "deliverygoodscode": {
  41168. "description": "品种代码",
  41169. "type": "string"
  41170. },
  41171. "deliverygoodsid": {
  41172. "description": "品种ID",
  41173. "type": "integer"
  41174. },
  41175. "deliverygoodsname": {
  41176. "description": "品种名称",
  41177. "type": "string"
  41178. },
  41179. "deliverymonth": {
  41180. "description": "交收月",
  41181. "type": "string"
  41182. },
  41183. "enddate": {
  41184. "description": "结束交易日(yyyymmdd)",
  41185. "type": "string"
  41186. },
  41187. "enumdicname": {
  41188. "description": "单位名称",
  41189. "type": "string"
  41190. },
  41191. "fixedprice": {
  41192. "description": "期初均价",
  41193. "type": "number"
  41194. },
  41195. "handlestatus": {
  41196. "description": "处理状态",
  41197. "type": "integer"
  41198. },
  41199. "marginvalue": {
  41200. "description": "期初均价",
  41201. "type": "number"
  41202. },
  41203. "marketid": {
  41204. "description": "市场ID",
  41205. "type": "integer"
  41206. },
  41207. "matchaccountid": {
  41208. "description": "挂牌方资金账号",
  41209. "type": "integer"
  41210. },
  41211. "matchuserid": {
  41212. "description": "挂牌方用户id",
  41213. "type": "integer"
  41214. },
  41215. "matchusername": {
  41216. "description": "挂牌方用户名称(已脱敏)",
  41217. "type": "string"
  41218. },
  41219. "minivalue": {
  41220. "description": "现货商品最小变动值",
  41221. "type": "integer"
  41222. },
  41223. "optioncompare": {
  41224. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41225. "type": "string"
  41226. },
  41227. "orderqty": {
  41228. "description": "挂牌数量",
  41229. "type": "integer"
  41230. },
  41231. "refprice": {
  41232. "description": "参考价格",
  41233. "type": "string"
  41234. },
  41235. "retcode": {
  41236. "description": "委托返回代码",
  41237. "type": "integer"
  41238. },
  41239. "templatename": {
  41240. "description": "履约方式(履约模板名称)",
  41241. "type": "string"
  41242. },
  41243. "tradedate": {
  41244. "description": "交易日(yyyyMMdd)",
  41245. "type": "string"
  41246. },
  41247. "userid": {
  41248. "description": "摘牌人用户ID(议价人ID)",
  41249. "type": "integer"
  41250. },
  41251. "username": {
  41252. "description": "议价人名字(已脱敏)",
  41253. "type": "string"
  41254. },
  41255. "validtime": {
  41256. "description": "有效期限",
  41257. "type": "string"
  41258. },
  41259. "warehouseid": {
  41260. "description": "仓库ID",
  41261. "type": "integer"
  41262. },
  41263. "warehousename": {
  41264. "description": "仓库名称",
  41265. "type": "string"
  41266. },
  41267. "wrbargainid": {
  41268. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  41269. "type": "string"
  41270. },
  41271. "wrfactortypeid": {
  41272. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41273. "type": "string"
  41274. },
  41275. "wrfactortypename": {
  41276. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41277. "type": "string"
  41278. },
  41279. "wrstandardcode": {
  41280. "description": "现货商品代码",
  41281. "type": "string"
  41282. },
  41283. "wrstandardid": {
  41284. "description": "现货商品ID",
  41285. "type": "integer"
  41286. },
  41287. "wrstandardname": {
  41288. "description": "商品名称",
  41289. "type": "string"
  41290. },
  41291. "wrtradeorderid": {
  41292. "description": "关联委托单ID",
  41293. "type": "string"
  41294. },
  41295. "wrtypename": {
  41296. "description": "商品",
  41297. "type": "string"
  41298. }
  41299. }
  41300. },
  41301. "models.Warehouseinfo": {
  41302. "type": "object",
  41303. "required": [
  41304. "autoid",
  41305. "warehousecode"
  41306. ],
  41307. "properties": {
  41308. "address": {
  41309. "description": "详细地址",
  41310. "type": "string"
  41311. },
  41312. "areauserid": {
  41313. "description": "所属机构",
  41314. "type": "integer"
  41315. },
  41316. "autoid": {
  41317. "description": "自增ID",
  41318. "type": "integer"
  41319. },
  41320. "cityid": {
  41321. "description": "市",
  41322. "type": "integer"
  41323. },
  41324. "contactname": {
  41325. "description": "联系人",
  41326. "type": "string"
  41327. },
  41328. "contactnum": {
  41329. "description": "联系电话",
  41330. "type": "string"
  41331. },
  41332. "countryid": {
  41333. "description": "国家",
  41334. "type": "integer"
  41335. },
  41336. "createtime": {
  41337. "description": "创建时间",
  41338. "type": "string"
  41339. },
  41340. "districtid": {
  41341. "description": "区",
  41342. "type": "integer"
  41343. },
  41344. "hasvideo": {
  41345. "description": "是否有视频 - 0:无 1:有",
  41346. "type": "integer"
  41347. },
  41348. "provinceid": {
  41349. "description": "省",
  41350. "type": "integer"
  41351. },
  41352. "remark": {
  41353. "description": "审核备注",
  41354. "type": "string"
  41355. },
  41356. "videourl": {
  41357. "description": "视频地址",
  41358. "type": "string"
  41359. },
  41360. "warehousecode": {
  41361. "description": "仓库代码",
  41362. "type": "string"
  41363. },
  41364. "warehousename": {
  41365. "description": "仓库名称",
  41366. "type": "string"
  41367. },
  41368. "warehousestatus": {
  41369. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  41370. "type": "integer"
  41371. },
  41372. "warehousetype": {
  41373. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  41374. "type": "integer"
  41375. }
  41376. }
  41377. },
  41378. "models.WrAverageTradePrice": {
  41379. "type": "object",
  41380. "properties": {
  41381. "averageprice": {
  41382. "description": "期初均价",
  41383. "type": "number"
  41384. },
  41385. "tradedate": {
  41386. "description": "交易日yyyymm",
  41387. "type": "string"
  41388. }
  41389. }
  41390. },
  41391. "models.WrBrandAndYears": {
  41392. "type": "object",
  41393. "properties": {
  41394. "brandlst": {
  41395. "description": "品牌列表",
  41396. "type": "array",
  41397. "items": {
  41398. "$ref": "#/definitions/models.DgFactoryItem"
  41399. }
  41400. },
  41401. "yearslst": {
  41402. "description": "年份列表",
  41403. "type": "array",
  41404. "items": {
  41405. "$ref": "#/definitions/models.DgFactoryItem"
  41406. }
  41407. }
  41408. }
  41409. },
  41410. "models.WrBsGoodsInfo": {
  41411. "type": "object",
  41412. "properties": {
  41413. "buyorsell": {
  41414. "description": "买卖方向 0-买 1-卖",
  41415. "type": "integer"
  41416. },
  41417. "goodsid": {
  41418. "description": "交易合约ID",
  41419. "type": "integer"
  41420. },
  41421. "lstitem": {
  41422. "description": "商品信息项",
  41423. "type": "array",
  41424. "items": {
  41425. "$ref": "#/definitions/models.WrTypeItem"
  41426. }
  41427. },
  41428. "lststep": {
  41429. "description": "履约规则",
  41430. "type": "array",
  41431. "items": {
  41432. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41433. }
  41434. }
  41435. }
  41436. },
  41437. "models.WrBuybackDetail": {
  41438. "type": "object",
  41439. "properties": {
  41440. "buybackamount": {
  41441. "description": "回购金额",
  41442. "type": "number"
  41443. },
  41444. "buybackqty": {
  41445. "description": "回购数量",
  41446. "type": "number"
  41447. },
  41448. "buybackreleasemargin": {
  41449. "description": "回购释放保证金",
  41450. "type": "number"
  41451. },
  41452. "buybacktime": {
  41453. "description": "回购时间",
  41454. "type": "string"
  41455. },
  41456. "errordesc": {
  41457. "description": "错误描述",
  41458. "type": "string"
  41459. },
  41460. "handlestatus": {
  41461. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  41462. "type": "integer"
  41463. },
  41464. "relatedwrid": {
  41465. "description": "关联仓单ID",
  41466. "type": "integer"
  41467. },
  41468. "scfcontractid": {
  41469. "description": "SCF合同ID",
  41470. "type": "string"
  41471. },
  41472. "scfwrbuybackid": {
  41473. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  41474. "type": "integer"
  41475. },
  41476. "tradedate": {
  41477. "description": "交易日(yyyyMMdd)",
  41478. "type": "string"
  41479. }
  41480. }
  41481. },
  41482. "models.WrClientAdSpaceConfig": {
  41483. "type": "object",
  41484. "properties": {
  41485. "adspaceid": {
  41486. "description": "广告位ID",
  41487. "type": "integer"
  41488. },
  41489. "adspacename": {
  41490. "description": "广告位名称",
  41491. "type": "string"
  41492. },
  41493. "adspacetype": {
  41494. "description": "广告位类型 - 1:固定广告位",
  41495. "type": "integer"
  41496. },
  41497. "areauserid": {
  41498. "description": "所属机构ID",
  41499. "type": "integer"
  41500. },
  41501. "createdate": {
  41502. "description": "创建时间",
  41503. "type": "string"
  41504. },
  41505. "imagepath": {
  41506. "description": "图片",
  41507. "type": "string"
  41508. },
  41509. "modifierid": {
  41510. "description": "操作人",
  41511. "type": "integer"
  41512. },
  41513. "recsize": {
  41514. "description": "推荐尺寸",
  41515. "type": "string"
  41516. },
  41517. "title": {
  41518. "description": "标题",
  41519. "type": "string"
  41520. },
  41521. "updatedate": {
  41522. "description": "更新时间",
  41523. "type": "string"
  41524. },
  41525. "urlcontent": {
  41526. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  41527. "type": "string"
  41528. },
  41529. "urltype": {
  41530. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  41531. "type": "integer"
  41532. }
  41533. }
  41534. },
  41535. "models.WrDeliveryAvalidHoldLB": {
  41536. "type": "object",
  41537. "properties": {
  41538. "accountid": {
  41539. "description": "资金账号",
  41540. "type": "integer"
  41541. },
  41542. "avalidqty": {
  41543. "description": "数量(可点选数量)",
  41544. "type": "number"
  41545. },
  41546. "deliverygoodsid": {
  41547. "description": "品种id",
  41548. "type": "integer"
  41549. },
  41550. "enumdicname": {
  41551. "description": "单位名称",
  41552. "type": "string"
  41553. },
  41554. "goodsid": {
  41555. "description": "x合约商品id",
  41556. "type": "integer"
  41557. },
  41558. "ladingbillid": {
  41559. "description": "提单id",
  41560. "type": "string"
  41561. },
  41562. "pgoodscode": {
  41563. "description": "p商品代码(点价合约)",
  41564. "type": "string"
  41565. },
  41566. "pgoodsid": {
  41567. "description": "p商品id(点价合约)",
  41568. "type": "integer"
  41569. },
  41570. "pgoodsname": {
  41571. "description": "p商品名称(点价合约)",
  41572. "type": "string"
  41573. },
  41574. "pricemove": {
  41575. "description": "升贴水",
  41576. "type": "number"
  41577. },
  41578. "subnum": {
  41579. "description": "提单子id",
  41580. "type": "integer"
  41581. },
  41582. "userid": {
  41583. "description": "用户id",
  41584. "type": "integer"
  41585. },
  41586. "username": {
  41587. "description": "仓单持有人",
  41588. "type": "string"
  41589. },
  41590. "warehousecode": {
  41591. "description": "仓库代码",
  41592. "type": "string"
  41593. },
  41594. "warehouseid": {
  41595. "description": "仓库id",
  41596. "type": "integer"
  41597. },
  41598. "warehousename": {
  41599. "description": "仓库名称",
  41600. "type": "string"
  41601. },
  41602. "wrfactortypeid": {
  41603. "description": "仓单要素id",
  41604. "type": "string"
  41605. },
  41606. "wrstandardcode": {
  41607. "description": "品代码",
  41608. "type": "string"
  41609. },
  41610. "wrstandardid": {
  41611. "description": "品类d",
  41612. "type": "integer"
  41613. },
  41614. "wrstandardname": {
  41615. "description": "品类名称",
  41616. "type": "string"
  41617. },
  41618. "wrtypename": {
  41619. "description": "商品",
  41620. "type": "string"
  41621. },
  41622. "xgoodscode": {
  41623. "description": "x合约代码",
  41624. "type": "string"
  41625. },
  41626. "xgoodsname": {
  41627. "description": "x合约名称",
  41628. "type": "string"
  41629. }
  41630. }
  41631. },
  41632. "models.WrDeliveryDetail": {
  41633. "type": "object",
  41634. "properties": {
  41635. "accountid": {
  41636. "description": "账号ID",
  41637. "type": "integer"
  41638. },
  41639. "averageprice": {
  41640. "description": "期初均价",
  41641. "type": "number"
  41642. },
  41643. "begindate": {
  41644. "description": "开始交易日(yyyymmdd)",
  41645. "type": "string"
  41646. },
  41647. "buyorsell": {
  41648. "description": "方向 - 0:买 1:卖",
  41649. "type": "integer"
  41650. },
  41651. "deliveryamount": {
  41652. "description": "货款金额(X总货款+P总货款)",
  41653. "type": "number"
  41654. },
  41655. "deliveryid": {
  41656. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  41657. "type": "string"
  41658. },
  41659. "deliveryorderid": {
  41660. "description": "申报单号",
  41661. "type": "string"
  41662. },
  41663. "deliverypricemove": {
  41664. "description": "升贴水(升贴水总额)",
  41665. "type": "number"
  41666. },
  41667. "deliveryqty": {
  41668. "description": "交收数量(点选数量)",
  41669. "type": "number"
  41670. },
  41671. "deliverystatus": {
  41672. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  41673. "type": "integer"
  41674. },
  41675. "deliverytime": {
  41676. "description": "交割时间",
  41677. "type": "string"
  41678. },
  41679. "deliverytotalamount": {
  41680. "description": "交收金额",
  41681. "type": "number"
  41682. },
  41683. "enddate": {
  41684. "description": "结束交易日(yyyymmdd)",
  41685. "type": "string"
  41686. },
  41687. "enumdicname": {
  41688. "description": "单位名称",
  41689. "type": "string"
  41690. },
  41691. "matchaccountid": {
  41692. "description": "对手账号ID",
  41693. "type": "integer"
  41694. },
  41695. "matchusername": {
  41696. "description": "对手方名称(仓单持有人)",
  41697. "type": "string"
  41698. },
  41699. "p1goodsremainamount": {
  41700. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  41701. "type": "number"
  41702. },
  41703. "pdeliverycloseqty": {
  41704. "description": "p合约平仓数量",
  41705. "type": "number"
  41706. },
  41707. "pdeliveryprice": {
  41708. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  41709. "type": "number"
  41710. },
  41711. "pgoodscode": {
  41712. "description": "商品代码",
  41713. "type": "string"
  41714. },
  41715. "pgoodsid": {
  41716. "description": "p点选合约id",
  41717. "type": "integer"
  41718. },
  41719. "pgoodsname": {
  41720. "description": "商品名称",
  41721. "type": "string"
  41722. },
  41723. "ppricemode": {
  41724. "description": "点价价格方式 - 1:商品价 2:固定值",
  41725. "type": "integer"
  41726. },
  41727. "tradedate": {
  41728. "description": "交易日(yyyymmdd)",
  41729. "type": "string"
  41730. },
  41731. "userid": {
  41732. "description": "用户id",
  41733. "type": "integer"
  41734. },
  41735. "username": {
  41736. "description": "用户名称",
  41737. "type": "string"
  41738. },
  41739. "warehousename": {
  41740. "description": "仓库名称",
  41741. "type": "string"
  41742. },
  41743. "wrfactortypeid": {
  41744. "description": "仓单要素类型ID",
  41745. "type": "string"
  41746. },
  41747. "wrtypename": {
  41748. "description": "商品",
  41749. "type": "string"
  41750. },
  41751. "xdeliverycloseqty": {
  41752. "description": "合约数量",
  41753. "type": "number"
  41754. },
  41755. "xgoodsamount": {
  41756. "description": "期初均价",
  41757. "type": "number"
  41758. },
  41759. "xgoodscode": {
  41760. "description": "商品代码",
  41761. "type": "string"
  41762. },
  41763. "xgoodsid": {
  41764. "description": "x交易合约ID",
  41765. "type": "integer"
  41766. },
  41767. "xgoodsname": {
  41768. "description": "商品名称",
  41769. "type": "string"
  41770. }
  41771. }
  41772. },
  41773. "models.WrDeliveryGoodsSection": {
  41774. "type": "object",
  41775. "properties": {
  41776. "dglst": {
  41777. "description": "板块商品列表",
  41778. "type": "array",
  41779. "items": {
  41780. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  41781. }
  41782. },
  41783. "imagepath": {
  41784. "description": "图片地址",
  41785. "type": "string"
  41786. },
  41787. "orderindex": {
  41788. "description": "排序",
  41789. "type": "integer"
  41790. },
  41791. "sectionid": {
  41792. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  41793. "type": "integer"
  41794. },
  41795. "sectionname": {
  41796. "description": "版块名称",
  41797. "type": "string"
  41798. },
  41799. "sectiontype": {
  41800. "description": "版块类型 - 1:指数版块 2:普通版块",
  41801. "type": "integer"
  41802. }
  41803. }
  41804. },
  41805. "models.WrDeliveryGoodsSectionConfig": {
  41806. "type": "object",
  41807. "properties": {
  41808. "deliverygoodscode": {
  41809. "description": "现货商品代码",
  41810. "type": "string"
  41811. },
  41812. "deliverygoodsid": {
  41813. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  41814. "type": "integer"
  41815. },
  41816. "deliverygoodsname": {
  41817. "description": "现货商品名称",
  41818. "type": "string"
  41819. },
  41820. "orderindex": {
  41821. "description": "排序",
  41822. "type": "integer"
  41823. }
  41824. }
  41825. },
  41826. "models.WrDraftUserInfo": {
  41827. "type": "object",
  41828. "properties": {
  41829. "address": {
  41830. "description": "地址",
  41831. "type": "string"
  41832. },
  41833. "attachment1": {
  41834. "description": "附件1",
  41835. "type": "string"
  41836. },
  41837. "attachment2": {
  41838. "description": "附件2",
  41839. "type": "string"
  41840. },
  41841. "attachment3": {
  41842. "description": "附件3",
  41843. "type": "string"
  41844. },
  41845. "attachment4": {
  41846. "description": "附件4",
  41847. "type": "string"
  41848. },
  41849. "attachment5": {
  41850. "description": "附件5",
  41851. "type": "string"
  41852. },
  41853. "bankaccount": {
  41854. "description": "银行帐号 (加密存储)",
  41855. "type": "string"
  41856. },
  41857. "bankaccountname": {
  41858. "description": "收款人名称",
  41859. "type": "string"
  41860. },
  41861. "bankcardfrontphotourl": {
  41862. "description": "银行卡正面照地址",
  41863. "type": "string"
  41864. },
  41865. "bankid": {
  41866. "description": "银行编码",
  41867. "type": "string"
  41868. },
  41869. "bankname": {
  41870. "description": "银行名称",
  41871. "type": "string"
  41872. },
  41873. "birthday": {
  41874. "description": "生日(个人:年月日)",
  41875. "type": "string"
  41876. },
  41877. "biznature": {
  41878. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  41879. "type": "integer"
  41880. },
  41881. "bizscope": {
  41882. "description": "企业经营范围(企业)",
  41883. "type": "string"
  41884. },
  41885. "biztype": {
  41886. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  41887. "type": "integer"
  41888. },
  41889. "cardbackphotourl": {
  41890. "description": "证件背面图片地址",
  41891. "type": "string"
  41892. },
  41893. "cardfrontphotourl": {
  41894. "description": "证件正面图片地址",
  41895. "type": "string"
  41896. },
  41897. "cardnum": {
  41898. "description": "证件号码(加密存储)",
  41899. "type": "string"
  41900. },
  41901. "cardtypeid": {
  41902. "description": "证件类型ID",
  41903. "type": "integer"
  41904. },
  41905. "cityid": {
  41906. "description": "市",
  41907. "type": "integer"
  41908. },
  41909. "company": {
  41910. "description": "公司(个人)",
  41911. "type": "string"
  41912. },
  41913. "contactcardbackphotourl": {
  41914. "description": "联系人证件背面图片地址",
  41915. "type": "string"
  41916. },
  41917. "contactcardfrontphotourl": {
  41918. "description": "联系人证件正面图片地址",
  41919. "type": "string"
  41920. },
  41921. "contactname": {
  41922. "description": "联系人",
  41923. "type": "string"
  41924. },
  41925. "countryid": {
  41926. "description": "国家",
  41927. "type": "integer"
  41928. },
  41929. "createtime": {
  41930. "description": "创建时间",
  41931. "type": "string"
  41932. },
  41933. "creatorid": {
  41934. "description": "创建人",
  41935. "type": "integer"
  41936. },
  41937. "creditquota": {
  41938. "description": "授信额度(金瑞)",
  41939. "type": "number"
  41940. },
  41941. "customername": {
  41942. "description": "客户名称(企业名称)",
  41943. "type": "string"
  41944. },
  41945. "districtid": {
  41946. "description": "地区",
  41947. "type": "integer"
  41948. },
  41949. "email": {
  41950. "description": "邮件(加密存储)",
  41951. "type": "string"
  41952. },
  41953. "fax": {
  41954. "description": "传真(加密存储)",
  41955. "type": "string"
  41956. },
  41957. "halfbodyphotourl": {
  41958. "description": "半身照地址",
  41959. "type": "string"
  41960. },
  41961. "hasencrypt": {
  41962. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41963. "type": "integer"
  41964. },
  41965. "headurl": {
  41966. "description": "头像地址",
  41967. "type": "string"
  41968. },
  41969. "legalcardbackphotourl": {
  41970. "description": "法人身份证背面照地址",
  41971. "type": "string"
  41972. },
  41973. "legalcardfrontphotourl": {
  41974. "description": "法人身份证正面照地址",
  41975. "type": "string"
  41976. },
  41977. "legalpersonname": {
  41978. "description": "法人姓名(企业)",
  41979. "type": "string"
  41980. },
  41981. "mobile": {
  41982. "description": "手机号码(加密存储)",
  41983. "type": "string"
  41984. },
  41985. "mobile2": {
  41986. "description": "手机号码[明文-尚志]",
  41987. "type": "string"
  41988. },
  41989. "modifierid": {
  41990. "description": "修改人",
  41991. "type": "integer"
  41992. },
  41993. "modifiertime": {
  41994. "description": "修改时间",
  41995. "type": "string"
  41996. },
  41997. "needinvoice": {
  41998. "description": "是否需要发票 - 0:不需要 1:需要",
  41999. "type": "integer"
  42000. },
  42001. "nickname": {
  42002. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  42003. "type": "string"
  42004. },
  42005. "openmode": {
  42006. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  42007. "type": "integer"
  42008. },
  42009. "otherurl": {
  42010. "description": "其它图片地址[使用分号分隔]",
  42011. "type": "string"
  42012. },
  42013. "postalcode": {
  42014. "description": "邮政编码",
  42015. "type": "string"
  42016. },
  42017. "provinceid": {
  42018. "description": "省",
  42019. "type": "integer"
  42020. },
  42021. "proxystatementurl": {
  42022. "description": "授权委托书",
  42023. "type": "string"
  42024. },
  42025. "qq": {
  42026. "description": "QQ(加密存储",
  42027. "type": "string"
  42028. },
  42029. "remark": {
  42030. "description": "备注",
  42031. "type": "string"
  42032. },
  42033. "sex": {
  42034. "description": "用户性别 0: 女 1: 男",
  42035. "type": "integer"
  42036. },
  42037. "signpdfurl": {
  42038. "description": "签约pdf文件",
  42039. "type": "string"
  42040. },
  42041. "taxpayernum": {
  42042. "description": "纳税人识别号",
  42043. "type": "string"
  42044. },
  42045. "telphone": {
  42046. "description": "联系电话(加密存储)",
  42047. "type": "string"
  42048. },
  42049. "userid": {
  42050. "description": "用户ID",
  42051. "type": "integer"
  42052. },
  42053. "userinfotype": {
  42054. "description": "用户信息类型 - 1:个人 2:企业",
  42055. "type": "integer"
  42056. },
  42057. "userstatus": {
  42058. "description": "用户状态 - 1:正常 2:注销",
  42059. "type": "integer"
  42060. },
  42061. "usertype": {
  42062. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  42063. "type": "integer"
  42064. },
  42065. "wechat": {
  42066. "description": "微信(加密存储)",
  42067. "type": "string"
  42068. },
  42069. "wskhinfo": {
  42070. "description": "开户申请信息(JSON)",
  42071. "type": "string"
  42072. }
  42073. }
  42074. },
  42075. "models.WrFAProductDetail": {
  42076. "type": "object",
  42077. "properties": {
  42078. "accountid": {
  42079. "description": "资金账号",
  42080. "type": "integer"
  42081. },
  42082. "areauserid": {
  42083. "description": "金融机构ID",
  42084. "type": "integer"
  42085. },
  42086. "financingdays": {
  42087. "description": "天数(天)",
  42088. "type": "integer"
  42089. },
  42090. "interestminlen": {
  42091. "description": "最小起息天数",
  42092. "type": "integer"
  42093. },
  42094. "interestrate": {
  42095. "description": "利率",
  42096. "type": "number"
  42097. },
  42098. "interestratemode": {
  42099. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42100. "type": "integer"
  42101. },
  42102. "interestsettlemode": {
  42103. "description": "结息方式 - 1:按日结息 3:按月结息",
  42104. "type": "integer"
  42105. },
  42106. "interestsettlevalue": {
  42107. "description": "结息方式值",
  42108. "type": "integer"
  42109. },
  42110. "isautoloan": {
  42111. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  42112. "type": "integer"
  42113. },
  42114. "loantag": {
  42115. "description": "放款标识: \"放款快\" 或者为空",
  42116. "type": "string"
  42117. },
  42118. "marginratio": {
  42119. "description": "保证金比率质押率 - [仓单质押]",
  42120. "type": "number"
  42121. },
  42122. "productdetailid": {
  42123. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  42124. "type": "integer"
  42125. },
  42126. "productid": {
  42127. "description": "金融产品ID",
  42128. "type": "integer"
  42129. },
  42130. "productname": {
  42131. "description": "产品名称",
  42132. "type": "string"
  42133. },
  42134. "updatetime": {
  42135. "description": "更新时间",
  42136. "type": "string"
  42137. },
  42138. "username": {
  42139. "description": "融出方",
  42140. "type": "string"
  42141. }
  42142. }
  42143. },
  42144. "models.WrFactorTypeInfo": {
  42145. "type": "object",
  42146. "properties": {
  42147. "deliverygoodscode": {
  42148. "description": "品种代码",
  42149. "type": "string"
  42150. },
  42151. "deliverygoodsname": {
  42152. "description": "品种名称",
  42153. "type": "string"
  42154. },
  42155. "dgfactoryitemid": {
  42156. "description": "选择项id",
  42157. "type": "integer"
  42158. },
  42159. "dgfactoryitemtypeid": {
  42160. "description": "要素选择项ID (1-仓库 2-品牌)",
  42161. "type": "integer"
  42162. },
  42163. "dgfactoryitemvalue": {
  42164. "description": "要素项值",
  42165. "type": "string"
  42166. },
  42167. "itemtypename": {
  42168. "description": "要素项名称",
  42169. "type": "string"
  42170. },
  42171. "optioncompare": {
  42172. "description": "选择比较串",
  42173. "type": "string"
  42174. },
  42175. "warehouseid": {
  42176. "description": "仓库id",
  42177. "type": "integer"
  42178. },
  42179. "wrfactortypeid": {
  42180. "description": "仓单要素ID",
  42181. "type": "string"
  42182. },
  42183. "wrfactortypename": {
  42184. "description": "要素名称",
  42185. "type": "string"
  42186. },
  42187. "wrfactortypename2": {
  42188. "description": "要素名称(不含仓库)",
  42189. "type": "string"
  42190. },
  42191. "wrstandardcode": {
  42192. "description": "品类代码",
  42193. "type": "string"
  42194. },
  42195. "wrstandardid": {
  42196. "description": "品类id",
  42197. "type": "integer"
  42198. },
  42199. "wrstandardname": {
  42200. "description": "品类名称",
  42201. "type": "string"
  42202. }
  42203. }
  42204. },
  42205. "models.WrFilterItem": {
  42206. "type": "object",
  42207. "properties": {
  42208. "itemcode": {
  42209. "description": "代码",
  42210. "type": "string"
  42211. },
  42212. "itemid": {
  42213. "description": "项id",
  42214. "type": "integer"
  42215. },
  42216. "itemname": {
  42217. "description": "名称",
  42218. "type": "string"
  42219. },
  42220. "itemtype": {
  42221. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  42222. "type": "integer"
  42223. }
  42224. }
  42225. },
  42226. "models.WrFinanceBuyApply": {
  42227. "type": "object",
  42228. "properties": {
  42229. "applydate": {
  42230. "description": "申请时间",
  42231. "type": "string"
  42232. },
  42233. "applystatus": {
  42234. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  42235. "type": "integer"
  42236. },
  42237. "applyuserid": {
  42238. "description": "申请人",
  42239. "type": "integer"
  42240. },
  42241. "auditdate": {
  42242. "description": "审核时间",
  42243. "type": "string"
  42244. },
  42245. "auditremark": {
  42246. "description": "审核备注",
  42247. "type": "string"
  42248. },
  42249. "audituserid": {
  42250. "description": "审核人",
  42251. "type": "integer"
  42252. },
  42253. "buyaccountid": {
  42254. "description": "买方资金账号",
  42255. "type": "integer"
  42256. },
  42257. "buyorsell": {
  42258. "description": "买卖 - 0:买 1:卖",
  42259. "type": "integer"
  42260. },
  42261. "buyuserid": {
  42262. "description": "买方用户ID",
  42263. "type": "integer"
  42264. },
  42265. "buyusername": {
  42266. "description": "买方名称",
  42267. "type": "string"
  42268. },
  42269. "buywrtradeorderid": {
  42270. "description": "融资方买委托单ID",
  42271. "type": "string"
  42272. },
  42273. "deliverygoodscode": {
  42274. "description": "品种代码",
  42275. "type": "string"
  42276. },
  42277. "deliverygoodsid": {
  42278. "description": "品种ID",
  42279. "type": "integer"
  42280. },
  42281. "deliverygoodsname": {
  42282. "description": "品种名称",
  42283. "type": "string"
  42284. },
  42285. "deliverymonth": {
  42286. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  42287. "type": "string"
  42288. },
  42289. "enumdicname": {
  42290. "description": "单位名称",
  42291. "type": "string"
  42292. },
  42293. "financeaccountid": {
  42294. "description": "融资方资金帐户ID",
  42295. "type": "integer"
  42296. },
  42297. "financeapplyid": {
  42298. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42299. "type": "string"
  42300. },
  42301. "financeareauserid": {
  42302. "description": "融资方用户ID",
  42303. "type": "string"
  42304. },
  42305. "financename": {
  42306. "description": "融出方名称",
  42307. "type": "string"
  42308. },
  42309. "financetype": {
  42310. "description": "融资类型 1-融资回购",
  42311. "type": "integer"
  42312. },
  42313. "financingdays": {
  42314. "description": "天数(天)",
  42315. "type": "integer"
  42316. },
  42317. "freezebuymargin": {
  42318. "description": "冻结融资保证金(买方)",
  42319. "type": "number"
  42320. },
  42321. "handleremark": {
  42322. "description": "处理备注",
  42323. "type": "string"
  42324. },
  42325. "handlestatus": {
  42326. "description": "处理状态",
  42327. "type": "integer"
  42328. },
  42329. "interestminlen": {
  42330. "description": "最小起息天数",
  42331. "type": "integer"
  42332. },
  42333. "interestrate": {
  42334. "description": "利率",
  42335. "type": "number"
  42336. },
  42337. "interestratemode": {
  42338. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42339. "type": "integer"
  42340. },
  42341. "interestsettlemode": {
  42342. "description": "结息方式 - 1:按日结息 3:按月结息",
  42343. "type": "integer"
  42344. },
  42345. "interestsettlevalue": {
  42346. "description": "结息方式值",
  42347. "type": "integer"
  42348. },
  42349. "isautoloan": {
  42350. "description": "是否自动放款 - 0:手动 1:自动",
  42351. "type": "integer"
  42352. },
  42353. "marginratio": {
  42354. "description": "保证金比率质押率 - [仓单质押]",
  42355. "type": "number"
  42356. },
  42357. "marketid": {
  42358. "description": "市场ID",
  42359. "type": "integer"
  42360. },
  42361. "minivalue": {
  42362. "description": "现货商品最小变动值",
  42363. "type": "integer"
  42364. },
  42365. "optioncompare": {
  42366. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42367. "type": "string"
  42368. },
  42369. "orderqty": {
  42370. "description": "委托数量(商品数量)",
  42371. "type": "number"
  42372. },
  42373. "productdetailid": {
  42374. "description": "产品组合ID",
  42375. "type": "integer"
  42376. },
  42377. "productid": {
  42378. "description": "金融产品ID",
  42379. "type": "integer"
  42380. },
  42381. "productname": {
  42382. "description": "产品名称",
  42383. "type": "string"
  42384. },
  42385. "remark": {
  42386. "description": "备注",
  42387. "type": "string"
  42388. },
  42389. "scfcontractid": {
  42390. "description": "仓单回购合同ID",
  42391. "type": "string"
  42392. },
  42393. "sellaccountid": {
  42394. "description": "卖方资金账号",
  42395. "type": "integer"
  42396. },
  42397. "selluserid": {
  42398. "description": "卖方用户ID",
  42399. "type": "integer"
  42400. },
  42401. "sellwrtradeorderid": {
  42402. "description": "卖方委托单ID",
  42403. "type": "string"
  42404. },
  42405. "tradeamount": {
  42406. "description": "成交金额(借款金额)",
  42407. "type": "number"
  42408. },
  42409. "tradedate": {
  42410. "description": "交易日(yyyyMMdd)",
  42411. "type": "string"
  42412. },
  42413. "tradeprice": {
  42414. "description": "成交价格",
  42415. "type": "number"
  42416. },
  42417. "warehouseid": {
  42418. "description": "仓库ID",
  42419. "type": "integer"
  42420. },
  42421. "warehousename": {
  42422. "description": "仓库名称",
  42423. "type": "string"
  42424. },
  42425. "wrfactortypeid": {
  42426. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42427. "type": "string"
  42428. },
  42429. "wrfactortypename": {
  42430. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42431. "type": "string"
  42432. },
  42433. "wrpricetype": {
  42434. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  42435. "type": "integer"
  42436. },
  42437. "wrstandardcode": {
  42438. "description": "现货商品代码",
  42439. "type": "string"
  42440. },
  42441. "wrstandardid": {
  42442. "description": "现货商品ID",
  42443. "type": "integer"
  42444. },
  42445. "wrstandardname": {
  42446. "description": "商品名称",
  42447. "type": "string"
  42448. },
  42449. "wrtypename": {
  42450. "description": "商品",
  42451. "type": "string"
  42452. }
  42453. }
  42454. },
  42455. "models.WrFriendApply": {
  42456. "type": "object",
  42457. "properties": {
  42458. "applicantid": {
  42459. "description": "申请人",
  42460. "type": "integer"
  42461. },
  42462. "applyname": {
  42463. "description": "申请人名称",
  42464. "type": "string"
  42465. },
  42466. "applysrc": {
  42467. "description": "申请来源 - 1:管理端 2:终端",
  42468. "type": "integer"
  42469. },
  42470. "applystatus": {
  42471. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  42472. "type": "integer"
  42473. },
  42474. "applytime": {
  42475. "description": "申请时间",
  42476. "type": "string"
  42477. },
  42478. "auditname": {
  42479. "description": "审核人名称",
  42480. "type": "string"
  42481. },
  42482. "auditorid": {
  42483. "description": "审核人",
  42484. "type": "integer"
  42485. },
  42486. "auditremark": {
  42487. "description": "审核备注",
  42488. "type": "string"
  42489. },
  42490. "auditsrc": {
  42491. "description": "审核来源 - 1:管理端 2:终端",
  42492. "type": "integer"
  42493. },
  42494. "audittime": {
  42495. "description": "审核时间",
  42496. "type": "string"
  42497. },
  42498. "friendapplyid": {
  42499. "description": "申请ID(SEQ_FRIENDAPPLY)",
  42500. "type": "string"
  42501. },
  42502. "friendname": {
  42503. "description": "好友名字(已脱敏)",
  42504. "type": "string"
  42505. },
  42506. "frienduserid": {
  42507. "description": "好友用户ID",
  42508. "type": "string"
  42509. },
  42510. "remark": {
  42511. "description": "备注",
  42512. "type": "string"
  42513. },
  42514. "userid": {
  42515. "description": "申请人用户ID",
  42516. "type": "integer"
  42517. }
  42518. }
  42519. },
  42520. "models.WrFtDeliveryGoods": {
  42521. "type": "object",
  42522. "properties": {
  42523. "deliverygoodscode": {
  42524. "description": "品种代码",
  42525. "type": "string"
  42526. },
  42527. "deliverygoodsid": {
  42528. "description": "品种ID",
  42529. "type": "integer"
  42530. },
  42531. "deliverygoodsname": {
  42532. "description": "品种名称",
  42533. "type": "string"
  42534. },
  42535. "wdlst": {
  42536. "description": "商品列表",
  42537. "type": "array",
  42538. "items": {
  42539. "$ref": "#/definitions/models.WrFtWrstandard"
  42540. }
  42541. }
  42542. }
  42543. },
  42544. "models.WrFtWrstandard": {
  42545. "type": "object",
  42546. "properties": {
  42547. "enumdicname": {
  42548. "description": "单位名称",
  42549. "type": "string"
  42550. },
  42551. "minivalue": {
  42552. "description": "最小变动值",
  42553. "type": "integer"
  42554. },
  42555. "wrstandardcode": {
  42556. "description": "现货商品代码",
  42557. "type": "string"
  42558. },
  42559. "wrstandardid": {
  42560. "description": "现货商品ID",
  42561. "type": "integer"
  42562. },
  42563. "wrstandardname": {
  42564. "description": "商品名称",
  42565. "type": "string"
  42566. }
  42567. }
  42568. },
  42569. "models.WrGoodsInfo": {
  42570. "type": "object",
  42571. "properties": {
  42572. "haswr": {
  42573. "description": "0:仓单预售 1:仓单贸易",
  42574. "type": "integer"
  42575. },
  42576. "lstitem": {
  42577. "description": "商品信息项",
  42578. "type": "array",
  42579. "items": {
  42580. "$ref": "#/definitions/models.WrTypeItem"
  42581. }
  42582. },
  42583. "lststep": {
  42584. "description": "履约规则",
  42585. "type": "array",
  42586. "items": {
  42587. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  42588. }
  42589. },
  42590. "marketid": {
  42591. "description": "市场id",
  42592. "type": "integer"
  42593. }
  42594. }
  42595. },
  42596. "models.WrGoodsPerformanceStep": {
  42597. "type": "object",
  42598. "properties": {
  42599. "autoid": {
  42600. "description": "AutoID",
  42601. "type": "integer"
  42602. },
  42603. "isauto": {
  42604. "description": "是否自动 - 0:不自动 1:自动",
  42605. "type": "integer"
  42606. },
  42607. "remark": {
  42608. "description": "备注",
  42609. "type": "string"
  42610. },
  42611. "stepdate": {
  42612. "description": "天数信息(T+N)",
  42613. "type": "string"
  42614. },
  42615. "stepdays": {
  42616. "description": "距离上一步天数",
  42617. "type": "integer"
  42618. },
  42619. "stepindex": {
  42620. "description": "步骤序号",
  42621. "type": "integer"
  42622. },
  42623. "stepinfo": {
  42624. "description": "步骤信息(步骤名称+步骤值)",
  42625. "type": "string"
  42626. },
  42627. "steptypeid": {
  42628. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  42629. "type": "integer"
  42630. },
  42631. "steptypename": {
  42632. "description": "步骤名称",
  42633. "type": "string"
  42634. },
  42635. "stepvalue": {
  42636. "description": "期初均价",
  42637. "type": "number"
  42638. },
  42639. "templateid": {
  42640. "description": "履约计划模板ID",
  42641. "type": "integer"
  42642. }
  42643. }
  42644. },
  42645. "models.WrHoldLB": {
  42646. "type": "object",
  42647. "properties": {
  42648. "accountid": {
  42649. "description": "持有人帐户ID",
  42650. "type": "integer"
  42651. },
  42652. "bannerpicurl": {
  42653. "description": "Banner图",
  42654. "type": "string"
  42655. },
  42656. "createtime": {
  42657. "description": "创建时间(过户时间)",
  42658. "type": "string"
  42659. },
  42660. "deliverygoodscode": {
  42661. "description": "品种代码",
  42662. "type": "string"
  42663. },
  42664. "deliverygoodsid": {
  42665. "description": "品种ID",
  42666. "type": "integer"
  42667. },
  42668. "deliverygoodsname": {
  42669. "description": "品种名称",
  42670. "type": "string"
  42671. },
  42672. "enableqty": {
  42673. "description": "可用数量",
  42674. "type": "number"
  42675. },
  42676. "enumdicname": {
  42677. "description": "单位名称",
  42678. "type": "string"
  42679. },
  42680. "freezerqty": {
  42681. "description": "冻结数量",
  42682. "type": "number"
  42683. },
  42684. "ladingbillid": {
  42685. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  42686. "type": "string"
  42687. },
  42688. "minivalue": {
  42689. "description": "现货商品最小变动值",
  42690. "type": "integer"
  42691. },
  42692. "optioncompare": {
  42693. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42694. "type": "string"
  42695. },
  42696. "parentsubnum": {
  42697. "description": "拆分父子单号",
  42698. "type": "integer"
  42699. },
  42700. "pledgeqty": {
  42701. "description": "质押数量",
  42702. "type": "number"
  42703. },
  42704. "qty": {
  42705. "description": "数量",
  42706. "type": "number"
  42707. },
  42708. "subnum": {
  42709. "description": "提单子单号",
  42710. "type": "integer"
  42711. },
  42712. "thumurls": {
  42713. "description": "缩略图",
  42714. "type": "string"
  42715. },
  42716. "tradedate": {
  42717. "description": "交易日(yyyyMMdd)",
  42718. "type": "string"
  42719. },
  42720. "userid": {
  42721. "description": "持有人ID",
  42722. "type": "integer"
  42723. },
  42724. "warehouseid": {
  42725. "description": "仓库ID",
  42726. "type": "integer"
  42727. },
  42728. "warehousename": {
  42729. "description": "仓库名称",
  42730. "type": "string"
  42731. },
  42732. "wrfactortypeid": {
  42733. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42734. "type": "string"
  42735. },
  42736. "wrfactortypename": {
  42737. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42738. "type": "string"
  42739. },
  42740. "wrholdeno": {
  42741. "description": "仓单编号",
  42742. "type": "string"
  42743. },
  42744. "wrid": {
  42745. "description": "仓单变更ID",
  42746. "type": "string"
  42747. },
  42748. "wrstandardcode": {
  42749. "description": "现货商品代码",
  42750. "type": "string"
  42751. },
  42752. "wrstandardid": {
  42753. "description": "现货商品ID",
  42754. "type": "integer"
  42755. },
  42756. "wrstandardname": {
  42757. "description": "商品名称",
  42758. "type": "string"
  42759. },
  42760. "wrtypename": {
  42761. "description": "商品",
  42762. "type": "string"
  42763. }
  42764. }
  42765. },
  42766. "models.WrMarketTradeConfig": {
  42767. "type": "object",
  42768. "properties": {
  42769. "basisdownratio": {
  42770. "description": "浮动价基差下限比例(仓单贸易)",
  42771. "type": "number"
  42772. },
  42773. "basisupratio": {
  42774. "description": "浮动价基差上限比例(仓单贸易)",
  42775. "type": "number"
  42776. },
  42777. "buychargealgorithm": {
  42778. "description": "买方手续费收取方式 1:比率 2:固定",
  42779. "type": "integer"
  42780. },
  42781. "buychargealgorithm2": {
  42782. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  42783. "type": "integer"
  42784. },
  42785. "buychargealgorithmvalue": {
  42786. "description": "买方手续费设置值(交易所部分)",
  42787. "type": "number"
  42788. },
  42789. "buychargealgorithmvalue2": {
  42790. "description": "买方手续费设置值(会员部分)",
  42791. "type": "number"
  42792. },
  42793. "buychargealgorithmvalue3": {
  42794. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  42795. "type": "number"
  42796. },
  42797. "buychargealgorithmvalue4": {
  42798. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  42799. "type": "number"
  42800. },
  42801. "buyfirstmarginalgorithm": {
  42802. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  42803. "type": "integer"
  42804. },
  42805. "buyfirstmarginvalue": {
  42806. "description": "买方出价保证金设置值 - [竞拍]",
  42807. "type": "number"
  42808. },
  42809. "buymarginalgorithm": {
  42810. "description": "买方保证金方式 - 1:比率 2:固定",
  42811. "type": "integer"
  42812. },
  42813. "buymarginvalue": {
  42814. "description": "买方保证金设置值",
  42815. "type": "number"
  42816. },
  42817. "buyreleaseratio": {
  42818. "description": "买方释放比率[2:分步履约]",
  42819. "type": "number"
  42820. },
  42821. "executemode": {
  42822. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  42823. "type": "integer"
  42824. },
  42825. "executeside": {
  42826. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  42827. "type": "integer"
  42828. },
  42829. "failedchargealgorithm": {
  42830. "description": "流拍手续费收取方式 1:比率 2:固定",
  42831. "type": "integer"
  42832. },
  42833. "failedchargevalue": {
  42834. "description": "流拍手续费设置值",
  42835. "type": "number"
  42836. },
  42837. "failedchargevalue2": {
  42838. "description": "流拍卖方手续费设置值",
  42839. "type": "number"
  42840. },
  42841. "holddays": {
  42842. "description": "合同期限[2:分步履约]",
  42843. "type": "integer"
  42844. },
  42845. "listingmode": {
  42846. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  42847. "type": "integer"
  42848. },
  42849. "marketid": {
  42850. "description": "市场ID-仓单贸易、竞拍、预售",
  42851. "type": "integer"
  42852. },
  42853. "minqty": {
  42854. "description": "最小执行量[2:分步履约]",
  42855. "type": "number"
  42856. },
  42857. "modifierid": {
  42858. "description": "修改人",
  42859. "type": "integer"
  42860. },
  42861. "nowrquotaflag": {
  42862. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  42863. "type": "integer"
  42864. },
  42865. "performancetempid": {
  42866. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  42867. "type": "integer"
  42868. },
  42869. "performancetempid2": {
  42870. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  42871. "type": "integer"
  42872. },
  42873. "performancetempid2s": {
  42874. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  42875. "type": "string"
  42876. },
  42877. "performancetempids": {
  42878. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  42879. "type": "string"
  42880. },
  42881. "performanceway": {
  42882. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  42883. "type": "integer"
  42884. },
  42885. "sellchargealgorithm": {
  42886. "description": "卖方手续费收取方式 1:比率 2:固定",
  42887. "type": "integer"
  42888. },
  42889. "sellchargealgorithm2": {
  42890. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  42891. "type": "integer"
  42892. },
  42893. "sellchargealgorithmvalue": {
  42894. "description": "卖方手续费设置值(交易所部分)",
  42895. "type": "number"
  42896. },
  42897. "sellchargealgorithmvalue2": {
  42898. "description": "卖方手续费设置值(会员部分)",
  42899. "type": "number"
  42900. },
  42901. "sellchargealgorithmvalue3": {
  42902. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  42903. "type": "number"
  42904. },
  42905. "sellchargealgorithmvalue4": {
  42906. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  42907. "type": "number"
  42908. },
  42909. "sellmarginalgorithm": {
  42910. "description": "卖方保证金方式 - 1:比率 2:固定",
  42911. "type": "integer"
  42912. },
  42913. "sellmarginvalue": {
  42914. "description": "卖方保证金设置值",
  42915. "type": "number"
  42916. },
  42917. "sellmarginvalue2": {
  42918. "description": "卖方保证金设置值(无仓单)",
  42919. "type": "number"
  42920. },
  42921. "sellreleaseratio": {
  42922. "description": "卖方释放比率[2:分步履约]",
  42923. "type": "number"
  42924. },
  42925. "updatetime": {
  42926. "description": "更新时间",
  42927. "type": "string"
  42928. }
  42929. }
  42930. },
  42931. "models.WrOrderDetail": {
  42932. "type": "object",
  42933. "properties": {
  42934. "accountid": {
  42935. "description": "交易账号(资金账号)",
  42936. "type": "integer"
  42937. },
  42938. "allfriendsflag": {
  42939. "description": "是否全好友可见 - 0:否 1:是",
  42940. "type": "integer"
  42941. },
  42942. "amount": {
  42943. "description": "期初均价",
  42944. "type": "number"
  42945. },
  42946. "bannerpicurl": {
  42947. "description": "Banner图",
  42948. "type": "string"
  42949. },
  42950. "begindate": {
  42951. "description": "开始交易日(yyyymmdd)",
  42952. "type": "string"
  42953. },
  42954. "buyorsell": {
  42955. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  42956. "type": "integer"
  42957. },
  42958. "canbargain": {
  42959. "description": "是否可议价 - 0:不可 1:可",
  42960. "type": "integer"
  42961. },
  42962. "cancelqty": {
  42963. "description": "撤销数量",
  42964. "type": "number"
  42965. },
  42966. "canpart": {
  42967. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  42968. "type": "integer"
  42969. },
  42970. "delistminqty": {
  42971. "description": "起摘数量",
  42972. "type": "integer"
  42973. },
  42974. "deliverygoodscode": {
  42975. "description": "品种代码",
  42976. "type": "string"
  42977. },
  42978. "deliverygoodsid": {
  42979. "description": "品种ID",
  42980. "type": "integer"
  42981. },
  42982. "deliverygoodsname": {
  42983. "description": "品种名称",
  42984. "type": "string"
  42985. },
  42986. "deliverymonth": {
  42987. "description": "交收月",
  42988. "type": "string"
  42989. },
  42990. "enddate": {
  42991. "description": "结束交易日(yyyymmdd)",
  42992. "type": "string"
  42993. },
  42994. "enumdicname": {
  42995. "description": "单位名称",
  42996. "type": "string"
  42997. },
  42998. "fixedprice": {
  42999. "description": "固定价格 - [挂牌]",
  43000. "type": "number"
  43001. },
  43002. "freezecharge": {
  43003. "description": "期初均价",
  43004. "type": "number"
  43005. },
  43006. "freezemargin": {
  43007. "description": "期初均价",
  43008. "type": "number"
  43009. },
  43010. "futupricemove": {
  43011. "description": "期货升贴水",
  43012. "type": "number"
  43013. },
  43014. "futushow": {
  43015. "description": "期货合约/升贴水",
  43016. "type": "string"
  43017. },
  43018. "goodscode": {
  43019. "description": "期货合约",
  43020. "type": "string"
  43021. },
  43022. "goodsid": {
  43023. "description": "期货商品id",
  43024. "type": "integer"
  43025. },
  43026. "goodsname": {
  43027. "description": "商品名称",
  43028. "type": "string"
  43029. },
  43030. "haswr": {
  43031. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43032. "type": "integer"
  43033. },
  43034. "isspecified": {
  43035. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  43036. "type": "integer"
  43037. },
  43038. "ladingbillid": {
  43039. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43040. "type": "string"
  43041. },
  43042. "marginvalue": {
  43043. "description": "期初均价",
  43044. "type": "number"
  43045. },
  43046. "marketid": {
  43047. "description": "市场ID",
  43048. "type": "integer"
  43049. },
  43050. "matchusername": {
  43051. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  43052. "type": "string"
  43053. },
  43054. "minivalue": {
  43055. "description": "现货商品最小变动值",
  43056. "type": "integer"
  43057. },
  43058. "optioncompare": {
  43059. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43060. "type": "string"
  43061. },
  43062. "orderqty": {
  43063. "description": "委托数量",
  43064. "type": "number"
  43065. },
  43066. "ordertime": {
  43067. "description": "委托时间(挂牌时间)",
  43068. "type": "string"
  43069. },
  43070. "performancetemplateid": {
  43071. "description": "履约模板id",
  43072. "type": "integer"
  43073. },
  43074. "pricemove": {
  43075. "description": "升贴水(浮动价时填写) - [挂牌]",
  43076. "type": "number"
  43077. },
  43078. "taname": {
  43079. "description": "交易用户名称(资金账号名称)",
  43080. "type": "string"
  43081. },
  43082. "thumurls": {
  43083. "description": "缩略图",
  43084. "type": "string"
  43085. },
  43086. "tradedate": {
  43087. "description": "交易日(yyyyMMdd)",
  43088. "type": "string"
  43089. },
  43090. "tradeprice": {
  43091. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  43092. "type": "number"
  43093. },
  43094. "tradeqty": {
  43095. "description": "成交数量",
  43096. "type": "number"
  43097. },
  43098. "userid": {
  43099. "description": "用户ID",
  43100. "type": "integer"
  43101. },
  43102. "validtime": {
  43103. "description": "挂牌有效期",
  43104. "type": "string"
  43105. },
  43106. "validtype": {
  43107. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  43108. "type": "integer"
  43109. },
  43110. "warehouseid": {
  43111. "description": "仓库ID",
  43112. "type": "integer"
  43113. },
  43114. "warehousename": {
  43115. "description": "仓库名称",
  43116. "type": "string"
  43117. },
  43118. "wrfactortypeid": {
  43119. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43120. "type": "string"
  43121. },
  43122. "wrfactortypename": {
  43123. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43124. "type": "string"
  43125. },
  43126. "wrpricetype": {
  43127. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  43128. "type": "integer"
  43129. },
  43130. "wrstandardcode": {
  43131. "description": "现货商品代码",
  43132. "type": "string"
  43133. },
  43134. "wrstandardid": {
  43135. "description": "现货商品ID",
  43136. "type": "integer"
  43137. },
  43138. "wrstandardname": {
  43139. "description": "商品名称",
  43140. "type": "string"
  43141. },
  43142. "wrtradeorderid": {
  43143. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43144. "type": "string"
  43145. },
  43146. "wrtradeorderstatus": {
  43147. "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:撤单解冻贷款失败",
  43148. "type": "integer"
  43149. },
  43150. "wrtradetype": {
  43151. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43152. "type": "integer"
  43153. },
  43154. "wrtypename": {
  43155. "description": "商品",
  43156. "type": "string"
  43157. }
  43158. }
  43159. },
  43160. "models.WrOrderQuote": {
  43161. "type": "object",
  43162. "properties": {
  43163. "bannerpicurl": {
  43164. "description": "Banner图",
  43165. "type": "string"
  43166. },
  43167. "buyprice": {
  43168. "description": "买价",
  43169. "type": "number"
  43170. },
  43171. "buypricemove": {
  43172. "description": "买升贴水(基差)",
  43173. "type": "number"
  43174. },
  43175. "buyqty": {
  43176. "description": "买量",
  43177. "type": "number"
  43178. },
  43179. "deliverygoodscode": {
  43180. "description": "品种代码",
  43181. "type": "string"
  43182. },
  43183. "deliverygoodsid": {
  43184. "description": "品种id",
  43185. "type": "integer"
  43186. },
  43187. "deliverygoodsname": {
  43188. "description": "品种名称",
  43189. "type": "string"
  43190. },
  43191. "deliverymonth": {
  43192. "description": "交收月",
  43193. "type": "string"
  43194. },
  43195. "enumdicname": {
  43196. "description": "单位名称",
  43197. "type": "string"
  43198. },
  43199. "goodscode": {
  43200. "description": "商品合约(浮动价列表才有)",
  43201. "type": "string"
  43202. },
  43203. "goodsid": {
  43204. "description": "商品id(浮动价列表才有)",
  43205. "type": "integer"
  43206. },
  43207. "minivalue": {
  43208. "description": "现货商品最小变动值",
  43209. "type": "integer"
  43210. },
  43211. "pictureurls": {
  43212. "description": "详情图片(逗号分隔)",
  43213. "type": "string"
  43214. },
  43215. "sellprice": {
  43216. "description": "卖价",
  43217. "type": "number"
  43218. },
  43219. "sellpricemove": {
  43220. "description": "卖升贴水(基差)",
  43221. "type": "number"
  43222. },
  43223. "sellqty": {
  43224. "description": "卖量",
  43225. "type": "number"
  43226. },
  43227. "thumurls": {
  43228. "description": "缩略图片(1:1)(逗号分隔)",
  43229. "type": "string"
  43230. },
  43231. "warehousecode": {
  43232. "description": "仓库代码",
  43233. "type": "string"
  43234. },
  43235. "warehouseid": {
  43236. "description": "仓库id",
  43237. "type": "integer"
  43238. },
  43239. "warehousename": {
  43240. "description": "仓库名称",
  43241. "type": "string"
  43242. },
  43243. "wrfactortypeid": {
  43244. "description": "仓单要素id",
  43245. "type": "string"
  43246. },
  43247. "wrfactortypename": {
  43248. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43249. "type": "string"
  43250. },
  43251. "wrgoodsname": {
  43252. "description": "商品(商品名称+仓库要素名称 拼接)",
  43253. "type": "string"
  43254. },
  43255. "wrstandardcode": {
  43256. "description": "商品代码",
  43257. "type": "string"
  43258. },
  43259. "wrstandardid": {
  43260. "description": "商品id",
  43261. "type": "integer"
  43262. },
  43263. "wrstandardname": {
  43264. "description": "商品名称",
  43265. "type": "string"
  43266. }
  43267. }
  43268. },
  43269. "models.WrOrderQuoteDetail": {
  43270. "type": "object",
  43271. "properties": {
  43272. "buyorsell": {
  43273. "description": "买卖 - 0:买 1:卖",
  43274. "type": "integer"
  43275. },
  43276. "delistminqty": {
  43277. "description": "期初均价",
  43278. "type": "number"
  43279. },
  43280. "deliverymonth": {
  43281. "description": "交收月",
  43282. "type": "string"
  43283. },
  43284. "enumdicname": {
  43285. "description": "单位名称",
  43286. "type": "string"
  43287. },
  43288. "fixedprice": {
  43289. "description": "买(卖)价",
  43290. "type": "number"
  43291. },
  43292. "marketid": {
  43293. "description": "市场id",
  43294. "type": "integer"
  43295. },
  43296. "minivalue": {
  43297. "description": "现货商品最小变动值",
  43298. "type": "integer"
  43299. },
  43300. "orderqty": {
  43301. "description": "买(卖)量(=委托量-成交量)",
  43302. "type": "number"
  43303. },
  43304. "ordertime": {
  43305. "description": "委托时间",
  43306. "type": "string"
  43307. },
  43308. "pricemove": {
  43309. "description": "买(卖)升贴水- 基差",
  43310. "type": "number"
  43311. },
  43312. "userid": {
  43313. "description": "购买方(销售方)用户ID",
  43314. "type": "integer"
  43315. },
  43316. "username": {
  43317. "description": "购买方(销售方)",
  43318. "type": "string"
  43319. },
  43320. "wrtradeorderid": {
  43321. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43322. "type": "string"
  43323. }
  43324. }
  43325. },
  43326. "models.WrOutInApply": {
  43327. "type": "object",
  43328. "properties": {
  43329. "applyid": {
  43330. "description": "申请单id",
  43331. "type": "string"
  43332. },
  43333. "applystatus": {
  43334. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  43335. "type": "integer"
  43336. },
  43337. "applytime": {
  43338. "description": "申请时间",
  43339. "type": "string"
  43340. },
  43341. "applytype": {
  43342. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  43343. "type": "integer"
  43344. },
  43345. "bannerpicurl": {
  43346. "description": "Banner图",
  43347. "type": "string"
  43348. },
  43349. "begindate": {
  43350. "description": "开始交易日(yyyymmdd)",
  43351. "type": "string"
  43352. },
  43353. "deliverygoodscode": {
  43354. "description": "品种代码",
  43355. "type": "string"
  43356. },
  43357. "deliverygoodsid": {
  43358. "description": "品种ID",
  43359. "type": "integer"
  43360. },
  43361. "deliverygoodsname": {
  43362. "description": "品种名称",
  43363. "type": "string"
  43364. },
  43365. "enddate": {
  43366. "description": "结束交易日(yyyymmdd)",
  43367. "type": "string"
  43368. },
  43369. "enumdicname": {
  43370. "description": "单位名称",
  43371. "type": "string"
  43372. },
  43373. "expresscompany": {
  43374. "description": "物流公司",
  43375. "type": "string"
  43376. },
  43377. "expressnum": {
  43378. "description": "物流单号",
  43379. "type": "string"
  43380. },
  43381. "minivalue": {
  43382. "description": "现货商品最小变动值",
  43383. "type": "integer"
  43384. },
  43385. "optioncompare": {
  43386. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43387. "type": "string"
  43388. },
  43389. "qty": {
  43390. "description": "数量",
  43391. "type": "integer"
  43392. },
  43393. "userid": {
  43394. "description": "用户id",
  43395. "type": "integer"
  43396. },
  43397. "warehouseid": {
  43398. "description": "仓库ID",
  43399. "type": "integer"
  43400. },
  43401. "warehousename": {
  43402. "description": "仓库名称",
  43403. "type": "string"
  43404. },
  43405. "wrfactortypeid": {
  43406. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43407. "type": "string"
  43408. },
  43409. "wrfactortypename": {
  43410. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43411. "type": "string"
  43412. },
  43413. "wrstandardcode": {
  43414. "description": "现货商品代码",
  43415. "type": "string"
  43416. },
  43417. "wrstandardid": {
  43418. "description": "现货商品ID",
  43419. "type": "integer"
  43420. },
  43421. "wrstandardname": {
  43422. "description": "商品名称",
  43423. "type": "string"
  43424. },
  43425. "wrtypename": {
  43426. "description": "商品",
  43427. "type": "string"
  43428. }
  43429. }
  43430. },
  43431. "models.WrPerformancePlan": {
  43432. "type": "object",
  43433. "required": [
  43434. "userid"
  43435. ],
  43436. "properties": {
  43437. "activatemonth": {
  43438. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  43439. "type": "string"
  43440. },
  43441. "amount": {
  43442. "description": "履约金额(总金额)",
  43443. "type": "number"
  43444. },
  43445. "begindate": {
  43446. "description": "开始交易日(yyyymmdd)",
  43447. "type": "string"
  43448. },
  43449. "buyaccountid": {
  43450. "description": "买方账号",
  43451. "type": "integer"
  43452. },
  43453. "buyerfreezeamount": {
  43454. "description": "履约冻结(买履约)",
  43455. "type": "number"
  43456. },
  43457. "buyerfreezeamountremain": {
  43458. "description": "履约冻结剩余(买履约)",
  43459. "type": "number"
  43460. },
  43461. "buyorsell": {
  43462. "description": "买卖方向 0-买 1-卖",
  43463. "type": "integer"
  43464. },
  43465. "buypaidamount": {
  43466. "description": "买方已冻/已扣金额 (已付金额)",
  43467. "type": "number"
  43468. },
  43469. "buyusername": {
  43470. "description": "买方名字",
  43471. "type": "string"
  43472. },
  43473. "contractid": {
  43474. "description": "合同ID",
  43475. "type": "integer"
  43476. },
  43477. "createtime": {
  43478. "description": "创建时间",
  43479. "type": "string"
  43480. },
  43481. "creatorid": {
  43482. "description": "创建人",
  43483. "type": "integer"
  43484. },
  43485. "curstepdeadline": {
  43486. "description": "当前步骤到期时间",
  43487. "type": "string"
  43488. },
  43489. "curstepid": {
  43490. "description": "当前步骤ID",
  43491. "type": "string"
  43492. },
  43493. "curstepname": {
  43494. "description": "当前步骤名称",
  43495. "type": "string"
  43496. },
  43497. "deliverygoodscode": {
  43498. "description": "品种代码",
  43499. "type": "string"
  43500. },
  43501. "deliverygoodsid": {
  43502. "description": "品种ID",
  43503. "type": "integer"
  43504. },
  43505. "deliverygoodsname": {
  43506. "description": "品种名称",
  43507. "type": "string"
  43508. },
  43509. "enddate": {
  43510. "description": "结束交易日(yyyymmdd)",
  43511. "type": "string"
  43512. },
  43513. "enumdicname": {
  43514. "description": "单位名称",
  43515. "type": "string"
  43516. },
  43517. "expressfee": {
  43518. "description": "运费",
  43519. "type": "number"
  43520. },
  43521. "expressfeeconfirmed": {
  43522. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  43523. "type": "integer"
  43524. },
  43525. "hasovershort": {
  43526. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  43527. "type": "integer"
  43528. },
  43529. "haswr": {
  43530. "description": "类型 0-仓单预售 1-仓单贸易",
  43531. "type": "integer"
  43532. },
  43533. "marketid": {
  43534. "description": "市场ID",
  43535. "type": "integer"
  43536. },
  43537. "middleaccountid": {
  43538. "description": "中间商资金账号ID",
  43539. "type": "integer"
  43540. },
  43541. "middleuserid": {
  43542. "description": "中间商用户ID",
  43543. "type": "integer"
  43544. },
  43545. "minivalue": {
  43546. "description": "现货商品最小变动值",
  43547. "type": "integer"
  43548. },
  43549. "optioncompare": {
  43550. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43551. "type": "string"
  43552. },
  43553. "overshortamount": {
  43554. "description": "溢短金额",
  43555. "type": "number"
  43556. },
  43557. "overshortqty": {
  43558. "description": "溢短数量",
  43559. "type": "number"
  43560. },
  43561. "paymenttype": {
  43562. "description": "付款方式 - 1:冻结 2:扣款",
  43563. "type": "integer"
  43564. },
  43565. "performanceplanid": {
  43566. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  43567. "type": "string"
  43568. },
  43569. "performancestatus": {
  43570. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  43571. "type": "integer"
  43572. },
  43573. "performancetype": {
  43574. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  43575. "type": "integer"
  43576. },
  43577. "qty": {
  43578. "description": "履约数量",
  43579. "type": "number"
  43580. },
  43581. "relatedorderid": {
  43582. "description": "关联单号(履约类型的关联单号)",
  43583. "type": "string"
  43584. },
  43585. "remark": {
  43586. "description": "备注",
  43587. "type": "string"
  43588. },
  43589. "sellaccountid": {
  43590. "description": "卖方账号",
  43591. "type": "integer"
  43592. },
  43593. "sellerfreezeamount": {
  43594. "description": "履约冻结(卖履约)",
  43595. "type": "number"
  43596. },
  43597. "sellerfreezeamountremain": {
  43598. "description": "履约冻结剩余(卖履约)",
  43599. "type": "number"
  43600. },
  43601. "sellreceivedamount": {
  43602. "description": "卖方已收金额",
  43603. "type": "number"
  43604. },
  43605. "sellusername": {
  43606. "description": "卖方名字",
  43607. "type": "string"
  43608. },
  43609. "shipremark": {
  43610. "description": "发货备注[物流单号]",
  43611. "type": "string"
  43612. },
  43613. "starttime": {
  43614. "description": "开始时间",
  43615. "type": "string"
  43616. },
  43617. "steptypeid": {
  43618. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43619. "type": "integer"
  43620. },
  43621. "typename": {
  43622. "description": "履约类型 名称",
  43623. "type": "string"
  43624. },
  43625. "unpaidamount": {
  43626. "description": "期初均价",
  43627. "type": "number"
  43628. },
  43629. "userid": {
  43630. "description": "用户id",
  43631. "type": "integer"
  43632. },
  43633. "warehouseid": {
  43634. "description": "仓库ID",
  43635. "type": "integer"
  43636. },
  43637. "warehousename": {
  43638. "description": "仓库名称",
  43639. "type": "string"
  43640. },
  43641. "wrfactortypeid": {
  43642. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43643. "type": "string"
  43644. },
  43645. "wrfactortypename": {
  43646. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43647. "type": "string"
  43648. },
  43649. "wrstandardcode": {
  43650. "description": "现货商品代码",
  43651. "type": "string"
  43652. },
  43653. "wrstandardid": {
  43654. "description": "现货商品ID",
  43655. "type": "integer"
  43656. },
  43657. "wrstandardname": {
  43658. "description": "商品名称",
  43659. "type": "string"
  43660. },
  43661. "wrtransferuserid": {
  43662. "description": "仓单受让用户",
  43663. "type": "integer"
  43664. },
  43665. "wrtypename": {
  43666. "description": "商品",
  43667. "type": "string"
  43668. }
  43669. }
  43670. },
  43671. "models.WrPerformancePlanStep": {
  43672. "type": "object",
  43673. "properties": {
  43674. "delaydays": {
  43675. "description": "延期申请天数",
  43676. "type": "integer"
  43677. },
  43678. "deliverygoodscode": {
  43679. "description": "品种代码",
  43680. "type": "string"
  43681. },
  43682. "deliverygoodsid": {
  43683. "description": "品种ID",
  43684. "type": "integer"
  43685. },
  43686. "deliverygoodsname": {
  43687. "description": "品种名称",
  43688. "type": "string"
  43689. },
  43690. "endtime": {
  43691. "description": "结束日期",
  43692. "type": "string"
  43693. },
  43694. "enumdicname": {
  43695. "description": "单位名称",
  43696. "type": "string"
  43697. },
  43698. "executeside": {
  43699. "description": "步骤执行方 - 1:买方 2:卖方",
  43700. "type": "integer"
  43701. },
  43702. "handlestatus": {
  43703. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  43704. "type": "integer"
  43705. },
  43706. "isauto": {
  43707. "description": "是否自动 - 0:不自动 1:自动",
  43708. "type": "integer"
  43709. },
  43710. "islastreceivestep": {
  43711. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  43712. "type": "integer"
  43713. },
  43714. "minivalue": {
  43715. "description": "现货商品最小变动值",
  43716. "type": "integer"
  43717. },
  43718. "optioncompare": {
  43719. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43720. "type": "string"
  43721. },
  43722. "overdays": {
  43723. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  43724. "type": "integer"
  43725. },
  43726. "performancestepid": {
  43727. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  43728. "type": "string"
  43729. },
  43730. "planid": {
  43731. "description": "所属履约计划ID",
  43732. "type": "string"
  43733. },
  43734. "realamount": {
  43735. "description": "实际完成金额",
  43736. "type": "number"
  43737. },
  43738. "relatedorderid": {
  43739. "description": "关联单号",
  43740. "type": "string"
  43741. },
  43742. "remaindays": {
  43743. "description": "剩余天数",
  43744. "type": "integer"
  43745. },
  43746. "remark": {
  43747. "description": "错误备注",
  43748. "type": "string"
  43749. },
  43750. "starttime": {
  43751. "description": "开始日期",
  43752. "type": "string"
  43753. },
  43754. "stepamount": {
  43755. "description": "步骤金额",
  43756. "type": "number"
  43757. },
  43758. "stepdays": {
  43759. "description": "距离上一步天数(分钟)",
  43760. "type": "integer"
  43761. },
  43762. "stepindex": {
  43763. "description": "步骤序号",
  43764. "type": "integer"
  43765. },
  43766. "steplanchtype": {
  43767. "description": "步骤启动类型 - 1:系统自动 2:手动",
  43768. "type": "integer"
  43769. },
  43770. "stepremark": {
  43771. "description": "步骤备注",
  43772. "type": "string"
  43773. },
  43774. "stepstatus": {
  43775. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  43776. "type": "integer"
  43777. },
  43778. "steptypeid": {
  43779. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43780. "type": "integer"
  43781. },
  43782. "steptypename": {
  43783. "description": "步骤名称",
  43784. "type": "string"
  43785. },
  43786. "stepvalue": {
  43787. "description": "步骤值",
  43788. "type": "number"
  43789. },
  43790. "warehouseid": {
  43791. "description": "仓库ID",
  43792. "type": "integer"
  43793. },
  43794. "warehousename": {
  43795. "description": "仓库名称",
  43796. "type": "string"
  43797. },
  43798. "wrfactortypeid": {
  43799. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43800. "type": "string"
  43801. },
  43802. "wrfactortypename": {
  43803. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43804. "type": "string"
  43805. },
  43806. "wrstandardcode": {
  43807. "description": "现货商品代码",
  43808. "type": "string"
  43809. },
  43810. "wrstandardid": {
  43811. "description": "现货商品ID",
  43812. "type": "integer"
  43813. },
  43814. "wrstandardname": {
  43815. "description": "商品名称",
  43816. "type": "string"
  43817. },
  43818. "wrtypename": {
  43819. "description": "商品",
  43820. "type": "string"
  43821. }
  43822. }
  43823. },
  43824. "models.WrPerformanceStepType": {
  43825. "type": "object",
  43826. "properties": {
  43827. "canauto": {
  43828. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  43829. "type": "integer"
  43830. },
  43831. "steptypeid": {
  43832. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  43833. "type": "integer"
  43834. },
  43835. "steptypename": {
  43836. "description": "步骤类型名称",
  43837. "type": "string"
  43838. }
  43839. }
  43840. },
  43841. "models.WrPerformanceTemplateEx": {
  43842. "type": "object",
  43843. "properties": {
  43844. "autoid": {
  43845. "description": "AutoID 模板id",
  43846. "type": "integer"
  43847. },
  43848. "createtime": {
  43849. "description": "创建时间",
  43850. "type": "string"
  43851. },
  43852. "creatorid": {
  43853. "description": "创建人",
  43854. "type": "integer"
  43855. },
  43856. "lstStep": {
  43857. "description": "步骤信息列表",
  43858. "type": "array",
  43859. "items": {
  43860. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  43861. }
  43862. },
  43863. "paymenttype": {
  43864. "description": "支付方式 - 1:冻结 2:扣款",
  43865. "type": "integer"
  43866. },
  43867. "takemode": {
  43868. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  43869. "type": "integer"
  43870. },
  43871. "templatename": {
  43872. "description": "模板名称",
  43873. "type": "string"
  43874. },
  43875. "templatetype": {
  43876. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  43877. "type": "integer"
  43878. },
  43879. "userid": {
  43880. "description": "所属用户",
  43881. "type": "integer"
  43882. }
  43883. }
  43884. },
  43885. "models.WrPosition": {
  43886. "type": "object",
  43887. "properties": {
  43888. "accountid": {
  43889. "description": "帐户ID",
  43890. "type": "integer"
  43891. },
  43892. "buyexcuteqty": {
  43893. "description": "采购履约中数量",
  43894. "type": "number"
  43895. },
  43896. "creditcurqty": {
  43897. "description": "授信当前数量(预售仓单:预售当前量)",
  43898. "type": "number"
  43899. },
  43900. "creditenableqty": {
  43901. "description": "授信可用数量(预售仓单: 可用数量)",
  43902. "type": "number"
  43903. },
  43904. "creditfreezeqty": {
  43905. "description": "授信冻结数量(预售仓单: 当前数量)",
  43906. "type": "number"
  43907. },
  43908. "credittotalqty": {
  43909. "description": "授信总数量(预售仓单:预售总量)",
  43910. "type": "number"
  43911. },
  43912. "credittradeqty": {
  43913. "description": "授信成交数量(预售仓单:成交总量)",
  43914. "type": "number"
  43915. },
  43916. "deliverygoodscode": {
  43917. "description": "品种代码",
  43918. "type": "string"
  43919. },
  43920. "deliverygoodsid": {
  43921. "description": "品种ID",
  43922. "type": "integer"
  43923. },
  43924. "deliverygoodsname": {
  43925. "description": "品种名称",
  43926. "type": "string"
  43927. },
  43928. "enalbeqty": {
  43929. "description": "可用数量",
  43930. "type": "number"
  43931. },
  43932. "enumdicname": {
  43933. "description": "单位名称",
  43934. "type": "string"
  43935. },
  43936. "freezeqty": {
  43937. "description": "总冻结数量",
  43938. "type": "number"
  43939. },
  43940. "haswr": {
  43941. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43942. "type": "integer"
  43943. },
  43944. "minivalue": {
  43945. "description": "现货商品最小变动值",
  43946. "type": "integer"
  43947. },
  43948. "modifytime": {
  43949. "description": "修改时间(过户时间)",
  43950. "type": "string"
  43951. },
  43952. "optioncompare": {
  43953. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43954. "type": "string"
  43955. },
  43956. "pledgeqty": {
  43957. "description": "质押数量",
  43958. "type": "number"
  43959. },
  43960. "querytype": {
  43961. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  43962. "type": "integer"
  43963. },
  43964. "sellexcuteqty": {
  43965. "description": "销售履约中数量",
  43966. "type": "number"
  43967. },
  43968. "totalqty": {
  43969. "description": "总数量(库存数量)",
  43970. "type": "number"
  43971. },
  43972. "warehouseid": {
  43973. "description": "仓库ID",
  43974. "type": "integer"
  43975. },
  43976. "warehousename": {
  43977. "description": "仓库名称",
  43978. "type": "string"
  43979. },
  43980. "wrfactortypeid": {
  43981. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43982. "type": "string"
  43983. },
  43984. "wrfactortypename": {
  43985. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43986. "type": "string"
  43987. },
  43988. "wrpositionid": {
  43989. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  43990. "type": "string"
  43991. },
  43992. "wrpositionno": {
  43993. "description": "仓单编号",
  43994. "type": "string"
  43995. },
  43996. "wrstandardcode": {
  43997. "description": "现货商品代码",
  43998. "type": "string"
  43999. },
  44000. "wrstandardid": {
  44001. "description": "现货商品ID",
  44002. "type": "integer"
  44003. },
  44004. "wrstandardname": {
  44005. "description": "商品名称",
  44006. "type": "string"
  44007. },
  44008. "wrtypename": {
  44009. "description": "商品",
  44010. "type": "string"
  44011. },
  44012. "wruserid": {
  44013. "description": "持有人ID",
  44014. "type": "integer"
  44015. }
  44016. }
  44017. },
  44018. "models.WrPreSaleInfo": {
  44019. "type": "object",
  44020. "properties": {
  44021. "bannerpicurl": {
  44022. "description": "Banner图",
  44023. "type": "string"
  44024. },
  44025. "baseqty": {
  44026. "description": "中签基数",
  44027. "type": "number"
  44028. },
  44029. "createtime": {
  44030. "description": "创建时间",
  44031. "type": "string"
  44032. },
  44033. "deliverygoodsid": {
  44034. "description": "现货品种ID",
  44035. "type": "integer"
  44036. },
  44037. "enddate": {
  44038. "description": "预售结束日期",
  44039. "type": "string"
  44040. },
  44041. "enumdicname": {
  44042. "description": "单位名称",
  44043. "type": "string"
  44044. },
  44045. "lotteryflag": {
  44046. "description": "摇号标识 - 0:未摇号 1:已摇号",
  44047. "type": "integer"
  44048. },
  44049. "lotteryqty": {
  44050. "description": "摇号总量",
  44051. "type": "number"
  44052. },
  44053. "luckyqty": {
  44054. "description": "已中签量",
  44055. "type": "number"
  44056. },
  44057. "marketid": {
  44058. "description": "市场ID",
  44059. "type": "integer"
  44060. },
  44061. "maxbuyqty": {
  44062. "description": "单人最大申购量",
  44063. "type": "number"
  44064. },
  44065. "maxluckyqty": {
  44066. "description": "单人最大中签量",
  44067. "type": "number"
  44068. },
  44069. "pictureurls": {
  44070. "description": "详情图片(逗号分隔)",
  44071. "type": "string"
  44072. },
  44073. "placeqty": {
  44074. "description": "已配售量",
  44075. "type": "number"
  44076. },
  44077. "presaleapplyid": {
  44078. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  44079. "type": "string",
  44080. "example": "0"
  44081. },
  44082. "presaleqty": {
  44083. "description": "预售总量",
  44084. "type": "number"
  44085. },
  44086. "presalestatus": {
  44087. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  44088. "type": "integer"
  44089. },
  44090. "sellaccountid": {
  44091. "description": "发行方资金账户ID",
  44092. "type": "integer"
  44093. },
  44094. "selluserid": {
  44095. "description": "发行方用户ID",
  44096. "type": "integer"
  44097. },
  44098. "sellwrtradeorderid": {
  44099. "description": "发行方卖委托单ID",
  44100. "type": "string"
  44101. },
  44102. "startdate": {
  44103. "description": "预售开始日期",
  44104. "type": "string"
  44105. },
  44106. "takestartdate": {
  44107. "description": "提货开始日期",
  44108. "type": "string"
  44109. },
  44110. "thumurls": {
  44111. "description": "缩略图片(1:1)(逗号分隔)",
  44112. "type": "string"
  44113. },
  44114. "tradedate": {
  44115. "description": "交易日",
  44116. "type": "string"
  44117. },
  44118. "unitid": {
  44119. "description": "单位ID",
  44120. "type": "integer"
  44121. },
  44122. "unitprice": {
  44123. "description": "商品单价",
  44124. "type": "number"
  44125. },
  44126. "username": {
  44127. "description": "发行方用户名称",
  44128. "type": "string"
  44129. },
  44130. "warehousecode": {
  44131. "description": "仓库代码(仓库简称)",
  44132. "type": "string"
  44133. },
  44134. "warehouseid": {
  44135. "description": "仓库ID",
  44136. "type": "integer"
  44137. },
  44138. "warehousename": {
  44139. "description": "仓库名称",
  44140. "type": "string"
  44141. },
  44142. "wrfactortypeid": {
  44143. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  44144. "type": "string",
  44145. "example": "0"
  44146. },
  44147. "wrstandardid": {
  44148. "description": "现货商品ID",
  44149. "type": "integer"
  44150. },
  44151. "wrstandardname": {
  44152. "description": "现货商品名称",
  44153. "type": "string"
  44154. }
  44155. }
  44156. },
  44157. "models.WrQuoteOrderMyq": {
  44158. "type": "object",
  44159. "properties": {
  44160. "buyorsell": {
  44161. "description": "买卖 - 0:买 1:卖",
  44162. "type": "integer"
  44163. },
  44164. "canbargain": {
  44165. "description": "是否可议价 - 0:不可 1:可",
  44166. "type": "integer"
  44167. },
  44168. "canpart": {
  44169. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  44170. "type": "integer"
  44171. },
  44172. "delistminqty": {
  44173. "description": "期初均价",
  44174. "type": "number"
  44175. },
  44176. "deliverygoodscode": {
  44177. "description": "品种代码",
  44178. "type": "string"
  44179. },
  44180. "deliverygoodsid": {
  44181. "description": "品种ID",
  44182. "type": "integer"
  44183. },
  44184. "deliverygoodsname": {
  44185. "description": "品种名称",
  44186. "type": "string"
  44187. },
  44188. "deliverymonth": {
  44189. "description": "交收月",
  44190. "type": "string"
  44191. },
  44192. "enumdicname": {
  44193. "description": "单位名称",
  44194. "type": "string"
  44195. },
  44196. "fixedprice": {
  44197. "description": "买(卖)价",
  44198. "type": "number"
  44199. },
  44200. "goodscode": {
  44201. "description": "商品合约代码",
  44202. "type": "string"
  44203. },
  44204. "marginflag": {
  44205. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  44206. "type": "integer"
  44207. },
  44208. "marginvalue": {
  44209. "description": "保证金设置值",
  44210. "type": "number"
  44211. },
  44212. "minivalue": {
  44213. "description": "现货商品最小变动值",
  44214. "type": "integer"
  44215. },
  44216. "orderqty": {
  44217. "description": "买(卖)量(=委托量-成交量)",
  44218. "type": "number"
  44219. },
  44220. "ordertime": {
  44221. "description": "委托时间",
  44222. "type": "string"
  44223. },
  44224. "performancetemplateid": {
  44225. "description": "履约模板id",
  44226. "type": "integer"
  44227. },
  44228. "pricemove": {
  44229. "description": "买(卖)升贴水- 基差",
  44230. "type": "number"
  44231. },
  44232. "templatename": {
  44233. "description": "履约模板名称",
  44234. "type": "string"
  44235. },
  44236. "userid": {
  44237. "description": "购买方(销售方)用户ID",
  44238. "type": "integer"
  44239. },
  44240. "username": {
  44241. "description": "购买方(销售方)",
  44242. "type": "string"
  44243. },
  44244. "validtime": {
  44245. "description": "有效期限",
  44246. "type": "string"
  44247. },
  44248. "validtype": {
  44249. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  44250. "type": "integer"
  44251. },
  44252. "warehousename": {
  44253. "description": "仓库名称",
  44254. "type": "string"
  44255. },
  44256. "wrfactortypeid": {
  44257. "description": "仓单要素id",
  44258. "type": "string"
  44259. },
  44260. "wrstandardcode": {
  44261. "description": "现货商品代码",
  44262. "type": "string"
  44263. },
  44264. "wrstandardid": {
  44265. "description": "现货商品ID",
  44266. "type": "integer"
  44267. },
  44268. "wrstandardname": {
  44269. "description": "商品名称",
  44270. "type": "string"
  44271. },
  44272. "wrtradeorderid": {
  44273. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44274. "type": "string"
  44275. },
  44276. "wrtypename": {
  44277. "description": "商品",
  44278. "type": "string"
  44279. }
  44280. }
  44281. },
  44282. "models.WrReckonSpotGoodsTradeSum": {
  44283. "type": "object",
  44284. "properties": {
  44285. "begindate": {
  44286. "description": "开始日期(结果含开始日期) yyyymmdd",
  44287. "type": "string"
  44288. },
  44289. "enddate": {
  44290. "description": "结束日期(结果含结束日期) yyyymmdd",
  44291. "type": "string"
  44292. },
  44293. "istoday": {
  44294. "description": "是否当日",
  44295. "type": "boolean"
  44296. },
  44297. "marketid": {
  44298. "description": "市场ID",
  44299. "type": "integer"
  44300. },
  44301. "price": {
  44302. "description": "价格 = 日成交金额 / 日成交数量",
  44303. "type": "string"
  44304. },
  44305. "reckondate": {
  44306. "description": "日期 格式 yyyymmdd",
  44307. "type": "string"
  44308. },
  44309. "tradeamount": {
  44310. "description": "期初均价",
  44311. "type": "number"
  44312. },
  44313. "tradeqty": {
  44314. "description": "期初均价",
  44315. "type": "number"
  44316. },
  44317. "wrstandardid": {
  44318. "description": "现货商品ID",
  44319. "type": "integer"
  44320. }
  44321. }
  44322. },
  44323. "models.WrScfContract": {
  44324. "type": "object",
  44325. "properties": {
  44326. "borroweruserid": {
  44327. "description": "借款用户ID",
  44328. "type": "integer"
  44329. },
  44330. "buybackwrpositionqty": {
  44331. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  44332. "type": "number"
  44333. },
  44334. "closeinterest": {
  44335. "description": "已结利息 -\u003e 已结费用",
  44336. "type": "number"
  44337. },
  44338. "currisklevel": {
  44339. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  44340. "type": "integer"
  44341. },
  44342. "deadline": {
  44343. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  44344. "type": "string"
  44345. },
  44346. "deliverygoodscode": {
  44347. "description": "品种代码",
  44348. "type": "string"
  44349. },
  44350. "deliverygoodsid": {
  44351. "description": "品种ID",
  44352. "type": "integer"
  44353. },
  44354. "deliverygoodsname": {
  44355. "description": "品种名称",
  44356. "type": "string"
  44357. },
  44358. "enumdicname": {
  44359. "description": "单位名称",
  44360. "type": "string"
  44361. },
  44362. "financingdays": {
  44363. "description": "天数(天)",
  44364. "type": "integer"
  44365. },
  44366. "initmargin": {
  44367. "description": "保证金 - [仓单回购]",
  44368. "type": "number"
  44369. },
  44370. "interestamount": {
  44371. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  44372. "type": "number"
  44373. },
  44374. "interestdebt": {
  44375. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  44376. "type": "number"
  44377. },
  44378. "interestminlen": {
  44379. "description": "最小起息天数",
  44380. "type": "integer"
  44381. },
  44382. "interestrate": {
  44383. "description": "利率",
  44384. "type": "number"
  44385. },
  44386. "interestratemode": {
  44387. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  44388. "type": "integer"
  44389. },
  44390. "interestsettlemode": {
  44391. "description": "结息方式 - 1:按日结息 3:按月结息",
  44392. "type": "integer"
  44393. },
  44394. "interestsettlevalue": {
  44395. "description": "结息方式值",
  44396. "type": "integer"
  44397. },
  44398. "isautoloan": {
  44399. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  44400. "type": "integer"
  44401. },
  44402. "lastcloseinterestday": {
  44403. "description": "最近结息日(yyyyMMdd)",
  44404. "type": "string"
  44405. },
  44406. "lenderamount": {
  44407. "description": "贷款金额 -\u003e 借款金额",
  44408. "type": "number"
  44409. },
  44410. "lenderuserid": {
  44411. "description": "贷款方用户ID -\u003e 融出方用户ID",
  44412. "type": "integer"
  44413. },
  44414. "lenderusername": {
  44415. "description": "融出方",
  44416. "type": "string"
  44417. },
  44418. "marginratio": {
  44419. "description": "保证金比率质押率 - [仓单质押]",
  44420. "type": "number"
  44421. },
  44422. "marketid": {
  44423. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  44424. "type": "integer"
  44425. },
  44426. "minivalue": {
  44427. "description": "现货商品最小变动值",
  44428. "type": "integer"
  44429. },
  44430. "optioncompare": {
  44431. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44432. "type": "string"
  44433. },
  44434. "pricemove": {
  44435. "description": "估值升贴水值",
  44436. "type": "number"
  44437. },
  44438. "productdetailid": {
  44439. "description": "产品组合ID",
  44440. "type": "integer"
  44441. },
  44442. "productid": {
  44443. "description": "金融产品ID",
  44444. "type": "integer"
  44445. },
  44446. "productname": {
  44447. "description": "产品名称",
  44448. "type": "string"
  44449. },
  44450. "remainamount": {
  44451. "description": "合同剩余金额 -\u003e 剩余金额",
  44452. "type": "number"
  44453. },
  44454. "remainwrpositionqty": {
  44455. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  44456. "type": "number"
  44457. },
  44458. "remark": {
  44459. "description": "备注",
  44460. "type": "string"
  44461. },
  44462. "scfcontractid": {
  44463. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  44464. "type": "string"
  44465. },
  44466. "scfcontractstatus": {
  44467. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  44468. "type": "integer"
  44469. },
  44470. "scfcontracttype": {
  44471. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  44472. "type": "integer"
  44473. },
  44474. "startinterestday": {
  44475. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  44476. "type": "string"
  44477. },
  44478. "totalinterest": {
  44479. "description": "已计利息 -\u003e 已计费用",
  44480. "type": "number"
  44481. },
  44482. "unpaidinterest": {
  44483. "description": "期初均价",
  44484. "type": "number"
  44485. },
  44486. "updatetime": {
  44487. "description": "更新时间",
  44488. "type": "string"
  44489. },
  44490. "warehouseid": {
  44491. "description": "仓库ID",
  44492. "type": "integer"
  44493. },
  44494. "warehousename": {
  44495. "description": "仓库名称",
  44496. "type": "string"
  44497. },
  44498. "wrfactortypeid": {
  44499. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44500. "type": "string"
  44501. },
  44502. "wrfactortypename": {
  44503. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44504. "type": "string"
  44505. },
  44506. "wrqty": {
  44507. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  44508. "type": "number"
  44509. },
  44510. "wrstandardcode": {
  44511. "description": "现货商品代码",
  44512. "type": "string"
  44513. },
  44514. "wrstandardid": {
  44515. "description": "现货商品ID",
  44516. "type": "integer"
  44517. },
  44518. "wrstandardname": {
  44519. "description": "商品名称",
  44520. "type": "string"
  44521. },
  44522. "wrtypename": {
  44523. "description": "商品",
  44524. "type": "string"
  44525. }
  44526. }
  44527. },
  44528. "models.WrScfContractInterest": {
  44529. "type": "object",
  44530. "properties": {
  44531. "closeinterest": {
  44532. "description": "已结利息",
  44533. "type": "number"
  44534. },
  44535. "closeintereststatus": {
  44536. "description": "结息状态 - 1:未结 2:已结",
  44537. "type": "integer"
  44538. },
  44539. "closetime": {
  44540. "description": "结息时间",
  44541. "type": "string"
  44542. },
  44543. "closetradedate": {
  44544. "description": "结息交易日",
  44545. "type": "string"
  44546. },
  44547. "creatorid": {
  44548. "description": "操作人ID",
  44549. "type": "integer"
  44550. },
  44551. "dayrate": {
  44552. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  44553. "type": "number"
  44554. },
  44555. "interest": {
  44556. "description": "利息",
  44557. "type": "number"
  44558. },
  44559. "interestamount": {
  44560. "description": "计息金额",
  44561. "type": "number"
  44562. },
  44563. "interestday": {
  44564. "description": "计息日(yyyyMMdd)",
  44565. "type": "string"
  44566. },
  44567. "scfcontractid": {
  44568. "description": "SCF合同ID",
  44569. "type": "string"
  44570. },
  44571. "scfcontractinterestid": {
  44572. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  44573. "type": "integer"
  44574. },
  44575. "updatetime": {
  44576. "description": "更新时间",
  44577. "type": "string"
  44578. }
  44579. }
  44580. },
  44581. "models.WrSearchUser": {
  44582. "type": "object",
  44583. "required": [
  44584. "username"
  44585. ],
  44586. "properties": {
  44587. "userid": {
  44588. "description": "用户ID",
  44589. "type": "integer"
  44590. },
  44591. "username": {
  44592. "description": "用户名称(已脱敏)",
  44593. "type": "string"
  44594. },
  44595. "username2": {
  44596. "description": "用户名称(未脱敏)",
  44597. "type": "string"
  44598. },
  44599. "usertype": {
  44600. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  44601. "type": "integer"
  44602. }
  44603. }
  44604. },
  44605. "models.WrSiteColumnDetail": {
  44606. "type": "object",
  44607. "properties": {
  44608. "brief": {
  44609. "description": "简介",
  44610. "type": "string"
  44611. },
  44612. "context": {
  44613. "description": "内容",
  44614. "type": "string"
  44615. },
  44616. "coverimage": {
  44617. "description": "封面图片",
  44618. "type": "string"
  44619. },
  44620. "creaedate": {
  44621. "description": "创建时间",
  44622. "type": "string"
  44623. },
  44624. "id": {
  44625. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  44626. "type": "integer"
  44627. },
  44628. "istop": {
  44629. "description": "是否置顶 - 0:不置 1:置顶",
  44630. "type": "integer"
  44631. },
  44632. "publishdate": {
  44633. "description": "发布日期",
  44634. "type": "string"
  44635. },
  44636. "title": {
  44637. "description": "标题",
  44638. "type": "string"
  44639. },
  44640. "updatedate": {
  44641. "description": "修改时间",
  44642. "type": "string"
  44643. }
  44644. }
  44645. },
  44646. "models.WrSpecialMatchOrder": {
  44647. "type": "object",
  44648. "properties": {
  44649. "amount": {
  44650. "description": "金额 = 数量 * 价格",
  44651. "type": "number"
  44652. },
  44653. "buyorsell": {
  44654. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44655. "type": "integer"
  44656. },
  44657. "cancelqty": {
  44658. "description": "撤销数量",
  44659. "type": "number"
  44660. },
  44661. "deliverygoodscode": {
  44662. "description": "品种代码",
  44663. "type": "string"
  44664. },
  44665. "deliverygoodsid": {
  44666. "description": "品种ID",
  44667. "type": "integer"
  44668. },
  44669. "deliverygoodsname": {
  44670. "description": "品种名称",
  44671. "type": "string"
  44672. },
  44673. "enumdicname": {
  44674. "description": "单位名称",
  44675. "type": "string"
  44676. },
  44677. "fixedprice": {
  44678. "description": "固定价格(价格)",
  44679. "type": "number"
  44680. },
  44681. "haswr": {
  44682. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44683. "type": "integer"
  44684. },
  44685. "isspecified": {
  44686. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  44687. "type": "integer"
  44688. },
  44689. "marketid": {
  44690. "description": "市场ID",
  44691. "type": "integer"
  44692. },
  44693. "matchuserid": {
  44694. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  44695. "type": "integer"
  44696. },
  44697. "matchusername": {
  44698. "description": "指定方",
  44699. "type": "string"
  44700. },
  44701. "minivalue": {
  44702. "description": "现货商品最小变动值",
  44703. "type": "integer"
  44704. },
  44705. "optioncompare": {
  44706. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44707. "type": "string"
  44708. },
  44709. "orderqty": {
  44710. "description": "委托数量",
  44711. "type": "number"
  44712. },
  44713. "ordertime": {
  44714. "description": "委托时间",
  44715. "type": "string"
  44716. },
  44717. "pricemove": {
  44718. "description": "升贴水(浮动价时填写) - [挂牌]",
  44719. "type": "number"
  44720. },
  44721. "tradedate": {
  44722. "description": "交易日(yyyyMMdd)",
  44723. "type": "string"
  44724. },
  44725. "tradeprice": {
  44726. "description": "成交价格",
  44727. "type": "number"
  44728. },
  44729. "tradeqty": {
  44730. "description": "成交数量",
  44731. "type": "number"
  44732. },
  44733. "userid": {
  44734. "description": "用户ID",
  44735. "type": "integer"
  44736. },
  44737. "username": {
  44738. "description": "发起方",
  44739. "type": "string"
  44740. },
  44741. "warehouseid": {
  44742. "description": "仓库ID",
  44743. "type": "integer"
  44744. },
  44745. "warehousename": {
  44746. "description": "仓库名称",
  44747. "type": "string"
  44748. },
  44749. "wrfactortypeid": {
  44750. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44751. "type": "string"
  44752. },
  44753. "wrfactortypename": {
  44754. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44755. "type": "string"
  44756. },
  44757. "wrpricetype": {
  44758. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  44759. "type": "integer"
  44760. },
  44761. "wrstandardcode": {
  44762. "description": "现货商品代码",
  44763. "type": "string"
  44764. },
  44765. "wrstandardid": {
  44766. "description": "现货商品ID",
  44767. "type": "integer"
  44768. },
  44769. "wrstandardname": {
  44770. "description": "商品名称",
  44771. "type": "string"
  44772. },
  44773. "wrtradeorderid": {
  44774. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44775. "type": "string"
  44776. },
  44777. "wrtradeorderstatus": {
  44778. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  44779. "type": "integer"
  44780. },
  44781. "wrtradetype": {
  44782. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  44783. "type": "integer"
  44784. },
  44785. "wrtypename": {
  44786. "description": "商品",
  44787. "type": "string"
  44788. }
  44789. }
  44790. },
  44791. "models.WrSpotGroupTradeSum": {
  44792. "type": "object",
  44793. "properties": {
  44794. "deliverygoodscode": {
  44795. "description": "现货品种代码",
  44796. "type": "string"
  44797. },
  44798. "deliverygoodsid": {
  44799. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  44800. "type": "integer"
  44801. },
  44802. "deliverygoodsname": {
  44803. "description": "现货品种名称",
  44804. "type": "string"
  44805. },
  44806. "lastavgprice": {
  44807. "description": "上上个交易日价格(前2天价格)",
  44808. "type": "string"
  44809. },
  44810. "lastreckondate": {
  44811. "description": "上上个交易日(前2天交易日)",
  44812. "type": "string"
  44813. },
  44814. "reckondate": {
  44815. "description": "上个交易日(前1天交易日)",
  44816. "type": "string"
  44817. },
  44818. "todayavgprice": {
  44819. "description": "上个交易日价格(前1天价格)",
  44820. "type": "string"
  44821. },
  44822. "updown": {
  44823. "description": "涨跌",
  44824. "type": "string"
  44825. },
  44826. "updownratio": {
  44827. "description": "涨幅(已格式化, 直接显示即可)",
  44828. "type": "string"
  44829. }
  44830. }
  44831. },
  44832. "models.WrSpotGroupTradeSumDetail": {
  44833. "type": "object",
  44834. "properties": {
  44835. "deliverygoodsid": {
  44836. "description": "现货商品id",
  44837. "type": "integer"
  44838. },
  44839. "price": {
  44840. "description": "价格",
  44841. "type": "number"
  44842. },
  44843. "reckondate": {
  44844. "description": "日期(yyymmdd, 如:20211031)",
  44845. "type": "string"
  44846. }
  44847. }
  44848. },
  44849. "models.WrSpotGroupTradeSumEx": {
  44850. "type": "object",
  44851. "properties": {
  44852. "lst": {
  44853. "description": "指数列表",
  44854. "type": "array",
  44855. "items": {
  44856. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  44857. }
  44858. },
  44859. "prereckondate": {
  44860. "description": "上上个交易日(yyymmdd)",
  44861. "type": "string"
  44862. },
  44863. "reckondate": {
  44864. "description": "上个交易日(yyyymmdd)",
  44865. "type": "string"
  44866. }
  44867. }
  44868. },
  44869. "models.WrStandardFactoryItem": {
  44870. "type": "object",
  44871. "properties": {
  44872. "dgfactoryitemid": {
  44873. "description": "选择项id",
  44874. "type": "integer"
  44875. },
  44876. "dgfactoryitemvalue": {
  44877. "description": "要素项值",
  44878. "type": "string"
  44879. },
  44880. "warehouseid": {
  44881. "description": "仓库id",
  44882. "type": "integer"
  44883. }
  44884. }
  44885. },
  44886. "models.WrStandardFactoryItemEx": {
  44887. "type": "object",
  44888. "properties": {
  44889. "dgfactoryitemtypeid": {
  44890. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  44891. "type": "integer"
  44892. },
  44893. "itemlst": {
  44894. "description": "要素项列表",
  44895. "type": "array",
  44896. "items": {
  44897. "$ref": "#/definitions/models.WrStandardFactoryItem"
  44898. }
  44899. },
  44900. "itemtypename": {
  44901. "description": "要素项类型名称",
  44902. "type": "string"
  44903. },
  44904. "wrstandardid": {
  44905. "description": "品类",
  44906. "type": "integer"
  44907. }
  44908. }
  44909. },
  44910. "models.WrTradeDetail": {
  44911. "type": "object",
  44912. "properties": {
  44913. "accountid": {
  44914. "description": "资金账号",
  44915. "type": "integer"
  44916. },
  44917. "bannerpicurl": {
  44918. "description": "Banner图",
  44919. "type": "string"
  44920. },
  44921. "begindate": {
  44922. "description": "开始交易日(yyyymmdd)",
  44923. "type": "string"
  44924. },
  44925. "buyorsell": {
  44926. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  44927. "type": "integer"
  44928. },
  44929. "chargevalue": {
  44930. "description": "手续费",
  44931. "type": "number"
  44932. },
  44933. "deliverygoodscode": {
  44934. "description": "品种代码",
  44935. "type": "string"
  44936. },
  44937. "deliverygoodsid": {
  44938. "description": "品种ID",
  44939. "type": "integer"
  44940. },
  44941. "deliverygoodsname": {
  44942. "description": "品种名称",
  44943. "type": "string"
  44944. },
  44945. "deliverymonth": {
  44946. "description": "交收月",
  44947. "type": "string"
  44948. },
  44949. "enddate": {
  44950. "description": "结束交易日(yyyymmdd)",
  44951. "type": "string"
  44952. },
  44953. "enumdicname": {
  44954. "description": "单位名称",
  44955. "type": "string"
  44956. },
  44957. "haswr": {
  44958. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44959. "type": "integer"
  44960. },
  44961. "marketid": {
  44962. "description": "市场ID",
  44963. "type": "integer"
  44964. },
  44965. "matchaccountid": {
  44966. "description": "对手账号",
  44967. "type": "integer"
  44968. },
  44969. "matchusername": {
  44970. "description": "对手方",
  44971. "type": "string"
  44972. },
  44973. "minivalue": {
  44974. "description": "现货商品最小变动值",
  44975. "type": "integer"
  44976. },
  44977. "optioncompare": {
  44978. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44979. "type": "string"
  44980. },
  44981. "thumurls": {
  44982. "description": "缩略图",
  44983. "type": "string"
  44984. },
  44985. "tradedate": {
  44986. "description": "交易日(yyyyMMdd)",
  44987. "type": "string"
  44988. },
  44989. "tradeprice": {
  44990. "description": "成交价格",
  44991. "type": "number"
  44992. },
  44993. "tradeqty": {
  44994. "description": "成交数量",
  44995. "type": "number"
  44996. },
  44997. "tradetime": {
  44998. "description": "成交时间",
  44999. "type": "string"
  45000. },
  45001. "userid": {
  45002. "description": "用户ID",
  45003. "type": "integer"
  45004. },
  45005. "warehouseid": {
  45006. "description": "仓库ID",
  45007. "type": "integer"
  45008. },
  45009. "warehousename": {
  45010. "description": "仓库名称",
  45011. "type": "string"
  45012. },
  45013. "wrfactortypeid": {
  45014. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45015. "type": "string"
  45016. },
  45017. "wrfactortypename": {
  45018. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45019. "type": "string"
  45020. },
  45021. "wrstandardcode": {
  45022. "description": "现货商品代码",
  45023. "type": "string"
  45024. },
  45025. "wrstandardid": {
  45026. "description": "现货商品ID",
  45027. "type": "integer"
  45028. },
  45029. "wrstandardname": {
  45030. "description": "商品名称",
  45031. "type": "string"
  45032. },
  45033. "wrtradedetailid": {
  45034. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45035. "type": "string"
  45036. },
  45037. "wrtradetype": {
  45038. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45039. "type": "integer"
  45040. },
  45041. "wrtypename": {
  45042. "description": "商品",
  45043. "type": "string"
  45044. }
  45045. }
  45046. },
  45047. "models.WrTradeOrderDetail": {
  45048. "type": "object",
  45049. "properties": {
  45050. "buyorsell": {
  45051. "description": "买卖方向 0-买 1-卖",
  45052. "type": "integer"
  45053. },
  45054. "goodsid": {
  45055. "description": "商品id",
  45056. "type": "integer"
  45057. },
  45058. "orderid": {
  45059. "description": "委托单号",
  45060. "type": "string"
  45061. },
  45062. "orderprice": {
  45063. "description": "期初均价",
  45064. "type": "number"
  45065. },
  45066. "orderqty": {
  45067. "description": "委托数量",
  45068. "type": "integer"
  45069. },
  45070. "userid": {
  45071. "description": "用户id",
  45072. "type": "integer"
  45073. },
  45074. "username": {
  45075. "description": "用户名称(已脱敏)",
  45076. "type": "string"
  45077. }
  45078. }
  45079. },
  45080. "models.WrTypeItem": {
  45081. "type": "object",
  45082. "properties": {
  45083. "name": {
  45084. "description": "名称",
  45085. "type": "string"
  45086. },
  45087. "value": {
  45088. "description": "值",
  45089. "type": "string"
  45090. }
  45091. }
  45092. },
  45093. "models.WrUserFriend": {
  45094. "type": "object",
  45095. "properties": {
  45096. "friendname": {
  45097. "description": "朋友名称(已脱敏)",
  45098. "type": "string"
  45099. },
  45100. "frienduserid": {
  45101. "description": "朋友id",
  45102. "type": "integer"
  45103. },
  45104. "isfriend": {
  45105. "description": "是否好友 0-不是 1-是",
  45106. "type": "integer"
  45107. },
  45108. "userid": {
  45109. "description": "用户id",
  45110. "type": "integer"
  45111. }
  45112. }
  45113. },
  45114. "models.WrUserReceiptInfo": {
  45115. "type": "object",
  45116. "properties": {
  45117. "address": {
  45118. "description": "地址[发票类型:企业]",
  45119. "type": "string"
  45120. },
  45121. "autoid": {
  45122. "description": "AutoID",
  45123. "type": "integer"
  45124. },
  45125. "contactinfo": {
  45126. "description": "联系方式",
  45127. "type": "string"
  45128. },
  45129. "idnum": {
  45130. "description": "身份证号码[发票类型:个人]",
  45131. "type": "string"
  45132. },
  45133. "isdefault": {
  45134. "description": "是否默认地址 - 0:否 1:是",
  45135. "type": "integer"
  45136. },
  45137. "receiptaccount": {
  45138. "description": "发票帐号[发票类型:企业]",
  45139. "type": "string"
  45140. },
  45141. "receiptbank": {
  45142. "description": "发票开户行[发票类型:企业]",
  45143. "type": "string"
  45144. },
  45145. "receipttype": {
  45146. "description": "发票类型 - 1:个人 2:企业",
  45147. "type": "integer"
  45148. },
  45149. "taxpayerid": {
  45150. "description": "纳税人识别号",
  45151. "type": "string"
  45152. },
  45153. "userid": {
  45154. "description": "用户ID",
  45155. "type": "integer"
  45156. },
  45157. "username": {
  45158. "description": "户名(个人姓名或企业名称)",
  45159. "type": "string"
  45160. }
  45161. }
  45162. },
  45163. "models.Wrtradetradequote": {
  45164. "type": "object",
  45165. "properties": {
  45166. "buyaccountid": {
  45167. "description": "买方账号ID",
  45168. "type": "integer"
  45169. },
  45170. "buychargevalue": {
  45171. "description": "买方手续费",
  45172. "type": "number"
  45173. },
  45174. "buyuserid": {
  45175. "description": "买方用户ID",
  45176. "type": "integer"
  45177. },
  45178. "deliverygoodsid": {
  45179. "description": "现货品种ID",
  45180. "type": "integer"
  45181. },
  45182. "exchangerate": {
  45183. "description": "汇率",
  45184. "type": "number"
  45185. },
  45186. "marketid": {
  45187. "description": "市场ID",
  45188. "type": "integer"
  45189. },
  45190. "oritradeamount": {
  45191. "description": "成交金额[商品币种]",
  45192. "type": "number"
  45193. },
  45194. "performanceplanid": {
  45195. "description": "履约计划ID/合同ID",
  45196. "type": "integer"
  45197. },
  45198. "sellaccountid": {
  45199. "description": "卖方账号ID",
  45200. "type": "integer"
  45201. },
  45202. "sellchargevalue": {
  45203. "description": "卖方手续费",
  45204. "type": "number"
  45205. },
  45206. "selluserid": {
  45207. "description": "卖方用户ID",
  45208. "type": "integer"
  45209. },
  45210. "tradeamount": {
  45211. "description": "成交金额",
  45212. "type": "number"
  45213. },
  45214. "tradedate": {
  45215. "description": "交易日(yyyyMMdd)",
  45216. "type": "string"
  45217. },
  45218. "tradeprice": {
  45219. "description": "成交价格",
  45220. "type": "number"
  45221. },
  45222. "tradeqty": {
  45223. "description": "成交数量",
  45224. "type": "integer"
  45225. },
  45226. "tradetime": {
  45227. "description": "成交时间",
  45228. "type": "string"
  45229. },
  45230. "wrfactortypeid": {
  45231. "description": "仓单要素类型ID",
  45232. "type": "integer"
  45233. },
  45234. "wrstandardid": {
  45235. "description": "现货商品ID",
  45236. "type": "integer"
  45237. },
  45238. "wrtradedetailid": {
  45239. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45240. "type": "integer"
  45241. }
  45242. }
  45243. },
  45244. "models.XHBRAND": {
  45245. "type": "object",
  45246. "properties": {
  45247. "brandid": {
  45248. "description": "品牌id",
  45249. "type": "integer"
  45250. },
  45251. "brandname": {
  45252. "description": "品牌名称",
  45253. "type": "string"
  45254. },
  45255. "isvalid": {
  45256. "description": "是否有效 0-无效 1-有效",
  45257. "type": "integer"
  45258. }
  45259. }
  45260. },
  45261. "models.XHDeliveryGoods": {
  45262. "type": "object",
  45263. "properties": {
  45264. "areauserid": {
  45265. "description": "所属机构",
  45266. "type": "integer"
  45267. },
  45268. "bdlst": {
  45269. "description": "品牌列表",
  45270. "type": "array",
  45271. "items": {
  45272. "$ref": "#/definitions/models.XHBRAND"
  45273. }
  45274. },
  45275. "deliverygoodscode": {
  45276. "description": "现货品种代码",
  45277. "type": "string"
  45278. },
  45279. "deliverygoodsid": {
  45280. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45281. "type": "integer"
  45282. },
  45283. "deliverygoodsname": {
  45284. "description": "现货品种名称",
  45285. "type": "string"
  45286. },
  45287. "dgstatus": {
  45288. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  45289. "type": "integer"
  45290. },
  45291. "filterSubEmpty": {
  45292. "description": "过滤下级为空的",
  45293. "type": "integer"
  45294. },
  45295. "isvalid": {
  45296. "description": "是否有效 - 0:无效 1:有效",
  45297. "type": "integer"
  45298. },
  45299. "remark": {
  45300. "description": "备注",
  45301. "type": "string"
  45302. },
  45303. "unitid": {
  45304. "description": "单位id(目前看,数据库中是空值)",
  45305. "type": "integer"
  45306. },
  45307. "wdlst": {
  45308. "description": "品类(现货商品)列表",
  45309. "type": "array",
  45310. "items": {
  45311. "$ref": "#/definitions/models.XHWrstandard"
  45312. }
  45313. }
  45314. }
  45315. },
  45316. "models.XHMiddleGoods": {
  45317. "type": "object",
  45318. "properties": {
  45319. "GPLST": {
  45320. "description": "期货品种列表",
  45321. "type": "array",
  45322. "items": {
  45323. "$ref": "#/definitions/models.TBGoodsGroup"
  45324. }
  45325. },
  45326. "convertratio": {
  45327. "description": "拆算系数",
  45328. "type": "number"
  45329. },
  45330. "costratio": {
  45331. "description": "成本权重",
  45332. "type": "number"
  45333. },
  45334. "deliverygoodsid": {
  45335. "description": "现货商品id",
  45336. "type": "integer"
  45337. },
  45338. "enumdicname": {
  45339. "description": "单位名称",
  45340. "type": "string"
  45341. },
  45342. "middlegoodscode": {
  45343. "description": "套保品种代码",
  45344. "type": "string"
  45345. },
  45346. "middlegoodsid": {
  45347. "description": "套保品种id",
  45348. "type": "integer"
  45349. },
  45350. "middlegoodsname": {
  45351. "description": "套保品种名称",
  45352. "type": "string"
  45353. },
  45354. "unitid": {
  45355. "description": "单位id",
  45356. "type": "integer"
  45357. }
  45358. }
  45359. },
  45360. "models.XHWrstandard": {
  45361. "type": "object",
  45362. "properties": {
  45363. "bannerpicurl": {
  45364. "description": "banner图",
  45365. "type": "string"
  45366. },
  45367. "deliverygoodsid": {
  45368. "description": "品种ID",
  45369. "type": "integer"
  45370. },
  45371. "enumdicname": {
  45372. "description": "单位名称",
  45373. "type": "string"
  45374. },
  45375. "mglst": {
  45376. "description": "套保品列表",
  45377. "type": "array",
  45378. "items": {
  45379. "$ref": "#/definitions/models.XHMiddleGoods"
  45380. }
  45381. },
  45382. "pictureurls": {
  45383. "description": "详情图片(逗号分隔)",
  45384. "type": "string"
  45385. },
  45386. "thumurls": {
  45387. "description": "缩略图片(1:1)(逗号分隔)",
  45388. "type": "string"
  45389. },
  45390. "unitid": {
  45391. "description": "单位id",
  45392. "type": "integer"
  45393. },
  45394. "vatrate": {
  45395. "description": "增值税率",
  45396. "type": "number"
  45397. },
  45398. "wrstandardcode": {
  45399. "description": "现货商品代码",
  45400. "type": "string"
  45401. },
  45402. "wrstandardid": {
  45403. "description": "现货商品ID(SEQ_WRSTANDARD)",
  45404. "type": "integer"
  45405. },
  45406. "wrstandardname": {
  45407. "description": "现货商品名称",
  45408. "type": "string"
  45409. }
  45410. }
  45411. },
  45412. "models.XhcpSellBackApplyEx": {
  45413. "type": "object",
  45414. "required": [
  45415. "userid"
  45416. ],
  45417. "properties": {
  45418. "applyremark": {
  45419. "description": "申请备注",
  45420. "type": "string"
  45421. },
  45422. "expirytype": {
  45423. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45424. "type": "integer"
  45425. },
  45426. "goodsspec": {
  45427. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45428. "type": "integer"
  45429. },
  45430. "holeflag": {
  45431. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45432. "type": "integer"
  45433. },
  45434. "isunopened": {
  45435. "description": "是否原封 - 1:否 2:是",
  45436. "type": "integer"
  45437. },
  45438. "mpflag": {
  45439. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45440. "type": "integer"
  45441. },
  45442. "openflag": {
  45443. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45444. "type": "integer"
  45445. },
  45446. "phonenum": {
  45447. "description": "联系电话",
  45448. "type": "string"
  45449. },
  45450. "userid": {
  45451. "description": "所属用户ID",
  45452. "type": "integer"
  45453. },
  45454. "zpflag": {
  45455. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45456. "type": "integer"
  45457. }
  45458. }
  45459. },
  45460. "models.Xhcpsellbackapply": {
  45461. "type": "object",
  45462. "required": [
  45463. "userid"
  45464. ],
  45465. "properties": {
  45466. "applyid": {
  45467. "description": "申请人",
  45468. "type": "integer"
  45469. },
  45470. "applyremark": {
  45471. "description": "申请备注",
  45472. "type": "string"
  45473. },
  45474. "applysrc": {
  45475. "description": "申请来源 - 1:管理端 2:终端",
  45476. "type": "integer"
  45477. },
  45478. "applystatus": {
  45479. "description": "申请状态 - 1:待确认 2:已处理",
  45480. "type": "integer"
  45481. },
  45482. "applytime": {
  45483. "description": "申请时间",
  45484. "type": "string"
  45485. },
  45486. "auditremark": {
  45487. "description": "审核备注",
  45488. "type": "string"
  45489. },
  45490. "auditsrc": {
  45491. "description": "审核来源 - 1:管理端 2:终端",
  45492. "type": "integer"
  45493. },
  45494. "expirytype": {
  45495. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45496. "type": "integer"
  45497. },
  45498. "goodsspec": {
  45499. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45500. "type": "integer"
  45501. },
  45502. "holeflag": {
  45503. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45504. "type": "integer"
  45505. },
  45506. "isunopened": {
  45507. "description": "是否原封 - 1:否 2:是",
  45508. "type": "integer"
  45509. },
  45510. "mpflag": {
  45511. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45512. "type": "integer"
  45513. },
  45514. "openflag": {
  45515. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45516. "type": "integer"
  45517. },
  45518. "phonenum": {
  45519. "description": "联系电话",
  45520. "type": "string"
  45521. },
  45522. "sellbackapplyid": {
  45523. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  45524. "type": "string"
  45525. },
  45526. "userid": {
  45527. "description": "所属用户ID",
  45528. "type": "integer"
  45529. },
  45530. "zpflag": {
  45531. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45532. "type": "integer"
  45533. }
  45534. }
  45535. },
  45536. "order.QueryHisTradeDetailRsp": {
  45537. "type": "object",
  45538. "required": [
  45539. "accountid",
  45540. "buyorsell",
  45541. "goodsid",
  45542. "histradedate",
  45543. "marketid",
  45544. "memberuserid",
  45545. "orderid",
  45546. "tradeamount",
  45547. "tradedate",
  45548. "tradeid",
  45549. "tradeprice",
  45550. "tradeqty",
  45551. "tradetime"
  45552. ],
  45553. "properties": {
  45554. "accountid": {
  45555. "description": "账户ID[报价币种]",
  45556. "type": "integer"
  45557. },
  45558. "advanceratio": {
  45559. "description": "首付比率",
  45560. "type": "number"
  45561. },
  45562. "buildtype": {
  45563. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  45564. "type": "integer"
  45565. },
  45566. "buyorsell": {
  45567. "description": "方向 - 0:买 1:卖",
  45568. "type": "integer"
  45569. },
  45570. "charge": {
  45571. "description": "手续费",
  45572. "type": "number"
  45573. },
  45574. "closecharge": {
  45575. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45576. "type": "number"
  45577. },
  45578. "closeexchagechargevalue": {
  45579. "description": "平仓交易所手续费设置值",
  45580. "type": "number"
  45581. },
  45582. "closefeealgorithm": {
  45583. "description": "平仓手续费收取方式 1:比率 2:固定",
  45584. "type": "integer"
  45585. },
  45586. "closememberchargevalue": {
  45587. "description": "平仓会员手续费设置值",
  45588. "type": "number"
  45589. },
  45590. "closepl": {
  45591. "description": "平仓盈亏",
  45592. "type": "number"
  45593. },
  45594. "closepl2": {
  45595. "description": "平仓盈亏[逐笔]",
  45596. "type": "number"
  45597. },
  45598. "closeqty": {
  45599. "description": "平仓数量(先建后平操作 需要记录)",
  45600. "type": "number"
  45601. },
  45602. "creditamount": {
  45603. "description": "授信金额",
  45604. "type": "number"
  45605. },
  45606. "decimalplace": {
  45607. "description": "商品报价小数位",
  45608. "type": "integer"
  45609. },
  45610. "enumdicname": {
  45611. "description": "单位名称",
  45612. "type": "string"
  45613. },
  45614. "gcaccountid": {
  45615. "description": "账户ID[合约币种]",
  45616. "type": "integer"
  45617. },
  45618. "goodscode": {
  45619. "description": "商品代码",
  45620. "type": "string"
  45621. },
  45622. "goodsid": {
  45623. "description": "商品ID",
  45624. "type": "integer"
  45625. },
  45626. "goodsname": {
  45627. "description": "商品名称",
  45628. "type": "string"
  45629. },
  45630. "goodunitid": {
  45631. "description": "商品单位id",
  45632. "type": "integer"
  45633. },
  45634. "histradedate": {
  45635. "description": "历史交易日",
  45636. "type": "string"
  45637. },
  45638. "intclosepl": {
  45639. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  45640. "type": "integer"
  45641. },
  45642. "isconfirmexercise": {
  45643. "description": "是否确认行权- 0:否 1:是",
  45644. "type": "integer"
  45645. },
  45646. "ismain": {
  45647. "description": "是否主单 - 0:不是 1:是",
  45648. "type": "integer"
  45649. },
  45650. "ispreexercise": {
  45651. "description": "是否预申报- 0:否 1:是",
  45652. "type": "integer"
  45653. },
  45654. "isreckoned": {
  45655. "description": "是否结算 - 0:未结算 1:已结算",
  45656. "type": "integer"
  45657. },
  45658. "isvaliddata": {
  45659. "description": "是否有效 - 0:无效 1:有效",
  45660. "type": "integer"
  45661. },
  45662. "listingselecttype": {
  45663. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45664. "type": "integer"
  45665. },
  45666. "marketid": {
  45667. "description": "市场ID",
  45668. "type": "integer"
  45669. },
  45670. "marketname": {
  45671. "description": "市场名称",
  45672. "type": "string"
  45673. },
  45674. "matchaccountid": {
  45675. "description": "对手账号id",
  45676. "type": "integer"
  45677. },
  45678. "memberuserid": {
  45679. "description": "会员id 个人投资者 需要填写",
  45680. "type": "integer"
  45681. },
  45682. "opencharge": {
  45683. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  45684. "type": "number"
  45685. },
  45686. "openexchagechargevalue": {
  45687. "description": "建仓交易所手续费设置值",
  45688. "type": "number"
  45689. },
  45690. "openfeealgorithm": {
  45691. "description": "建仓手续费收取方式 1:比率 2:固定",
  45692. "type": "integer"
  45693. },
  45694. "openmemberchargevalue": {
  45695. "description": "建仓会员手续费设置值",
  45696. "type": "number"
  45697. },
  45698. "openqty": {
  45699. "description": "开仓数量(先建后平操作 需要记录)",
  45700. "type": "number"
  45701. },
  45702. "optiontype": {
  45703. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45704. "type": "integer"
  45705. },
  45706. "orderid": {
  45707. "description": "委托单号",
  45708. "type": "string"
  45709. },
  45710. "payamount": {
  45711. "description": "支付金额(付款金额)",
  45712. "type": "number"
  45713. },
  45714. "performanceplanid": {
  45715. "description": "履约计划ID[期权]",
  45716. "type": "integer"
  45717. },
  45718. "performancestatus": {
  45719. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  45720. "type": "integer"
  45721. },
  45722. "preexerciseprice": {
  45723. "description": "预申报价格",
  45724. "type": "number"
  45725. },
  45726. "premium": {
  45727. "description": "权利金 - [持仓单的权利金]",
  45728. "type": "number"
  45729. },
  45730. "qtydecimalplace": {
  45731. "description": "商品报价小数位",
  45732. "type": "integer"
  45733. },
  45734. "recvamount": {
  45735. "description": "到账金额 = 成交金额 - 手续费",
  45736. "type": "number"
  45737. },
  45738. "relatedouttradeid": {
  45739. "description": "关联外部成交单ID",
  45740. "type": "integer"
  45741. },
  45742. "status": {
  45743. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  45744. "type": "integer"
  45745. },
  45746. "totalamount": {
  45747. "description": "订单总额 = 成交金额 + 手续费",
  45748. "type": "number"
  45749. },
  45750. "tradeamount": {
  45751. "description": "成交金额[账户币种,用于所有权]",
  45752. "type": "number"
  45753. },
  45754. "tradedate": {
  45755. "description": "交易日(yyyyMMdd)",
  45756. "type": "string"
  45757. },
  45758. "tradeid": {
  45759. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45760. "type": "string"
  45761. },
  45762. "trademode": {
  45763. "description": "交易模式",
  45764. "type": "integer"
  45765. },
  45766. "tradeprice": {
  45767. "description": "成交价格",
  45768. "type": "number"
  45769. },
  45770. "tradeproperty": {
  45771. "description": "交易属性",
  45772. "type": "integer"
  45773. },
  45774. "tradeqty": {
  45775. "description": "成交数量",
  45776. "type": "number"
  45777. },
  45778. "tradetime": {
  45779. "description": "成交时间",
  45780. "type": "string"
  45781. },
  45782. "tradetype": {
  45783. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  45784. "type": "integer"
  45785. }
  45786. }
  45787. },
  45788. "order.QueryHisTradeOrderDetailRsp": {
  45789. "type": "object",
  45790. "required": [
  45791. "accountid",
  45792. "buildtype",
  45793. "buyorsell",
  45794. "goodsid",
  45795. "histradedate",
  45796. "marketid",
  45797. "memberuserid",
  45798. "operatetype",
  45799. "orderid",
  45800. "orderqty",
  45801. "ordertime",
  45802. "pricemode",
  45803. "tradedate",
  45804. "validtype"
  45805. ],
  45806. "properties": {
  45807. "accountid": {
  45808. "description": "账户ID[报价币种]",
  45809. "type": "integer"
  45810. },
  45811. "buildtype": {
  45812. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  45813. "type": "integer"
  45814. },
  45815. "buyorsell": {
  45816. "description": "买卖 - 0:买 1:卖",
  45817. "type": "integer"
  45818. },
  45819. "cancelorderid": {
  45820. "description": "撤单单号(撤单时填写)",
  45821. "type": "string"
  45822. },
  45823. "cancelqty": {
  45824. "description": "撤单数量",
  45825. "type": "number"
  45826. },
  45827. "clientordertime": {
  45828. "description": "客户端委托时间",
  45829. "type": "string"
  45830. },
  45831. "clientticket": {
  45832. "description": "客户端流水号",
  45833. "type": "string"
  45834. },
  45835. "clienttype": {
  45836. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  45837. "type": "integer"
  45838. },
  45839. "closeexchagechargevalue": {
  45840. "description": "平仓交易所手续费设置值",
  45841. "type": "number"
  45842. },
  45843. "closefeealgorithm": {
  45844. "description": "平仓手续费收取方式 1:比率 2:固定",
  45845. "type": "integer"
  45846. },
  45847. "closefreezecharge": {
  45848. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  45849. "type": "number"
  45850. },
  45851. "closememberchargevalue": {
  45852. "description": "平仓会员手续费设置值",
  45853. "type": "number"
  45854. },
  45855. "closeqty": {
  45856. "description": "平仓数量(先建后平操作 需要记录)",
  45857. "type": "number"
  45858. },
  45859. "closetradeqty": {
  45860. "description": "平仓成交数量(先建后平操作,需要记录)",
  45861. "type": "number"
  45862. },
  45863. "closeunfreezecharge": {
  45864. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  45865. "type": "number"
  45866. },
  45867. "decimalplace": {
  45868. "description": "商品报价小数位",
  45869. "type": "integer"
  45870. },
  45871. "delistingtype": {
  45872. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  45873. "type": "integer"
  45874. },
  45875. "enumdicname": {
  45876. "description": "单位名称",
  45877. "type": "string"
  45878. },
  45879. "freezecharge": {
  45880. "description": "冻结手续费",
  45881. "type": "number"
  45882. },
  45883. "freezemargin": {
  45884. "description": "冻结保证金(冻结交易金额)",
  45885. "type": "number"
  45886. },
  45887. "gcaccountid": {
  45888. "description": "账户ID[合约币种]",
  45889. "type": "integer"
  45890. },
  45891. "goodscode": {
  45892. "description": "商品代码",
  45893. "type": "string"
  45894. },
  45895. "goodsid": {
  45896. "description": "商品ID",
  45897. "type": "integer"
  45898. },
  45899. "goodsname": {
  45900. "description": "商品名称",
  45901. "type": "string"
  45902. },
  45903. "goodunitid": {
  45904. "description": "商品单位id",
  45905. "type": "integer"
  45906. },
  45907. "histradedate": {
  45908. "description": "历史交易日",
  45909. "type": "string"
  45910. },
  45911. "isconfirmexercise": {
  45912. "description": "是否确认行权- 0:否 1:是",
  45913. "type": "integer"
  45914. },
  45915. "ispreexercise": {
  45916. "description": "是否预申报- 0:否 1:是",
  45917. "type": "integer"
  45918. },
  45919. "isvaliddata": {
  45920. "description": "是否有效 - 0:无效 1:有效",
  45921. "type": "integer"
  45922. },
  45923. "listingselecttype": {
  45924. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  45925. "type": "integer"
  45926. },
  45927. "marginalgorithm": {
  45928. "description": "保证金收取方式 1:比率 2:固定",
  45929. "type": "integer"
  45930. },
  45931. "marginvalue": {
  45932. "description": "即市保证金设置值",
  45933. "type": "number"
  45934. },
  45935. "marketid": {
  45936. "description": "市场ID",
  45937. "type": "integer"
  45938. },
  45939. "marketmaxsub": {
  45940. "description": "市价最大偏移范围",
  45941. "type": "number"
  45942. },
  45943. "marketname": {
  45944. "description": "市场名称",
  45945. "type": "string"
  45946. },
  45947. "memberuserid": {
  45948. "description": "所属会员UserID",
  45949. "type": "integer"
  45950. },
  45951. "openexchagechargevalue": {
  45952. "description": "建仓交易所手续费设置值",
  45953. "type": "number"
  45954. },
  45955. "openfeealgorithm": {
  45956. "description": "建仓手续费收取方式 1:比率 2:固定",
  45957. "type": "integer"
  45958. },
  45959. "openfreezecharge": {
  45960. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  45961. "type": "number"
  45962. },
  45963. "openmemberchargevalue": {
  45964. "description": "建仓会员手续费设置值",
  45965. "type": "number"
  45966. },
  45967. "openqty": {
  45968. "description": "开仓数量(先建后平操作,需要记录)",
  45969. "type": "number"
  45970. },
  45971. "opentradeqty": {
  45972. "description": "开仓成交数量(先建后平操作,需要记录)",
  45973. "type": "number"
  45974. },
  45975. "openunfreezecharge": {
  45976. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  45977. "type": "number"
  45978. },
  45979. "operatetype": {
  45980. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  45981. "type": "integer"
  45982. },
  45983. "operatorid": {
  45984. "description": "登录账号(LoginID)",
  45985. "type": "integer"
  45986. },
  45987. "optiontype": {
  45988. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  45989. "type": "integer"
  45990. },
  45991. "orderid": {
  45992. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  45993. "type": "string"
  45994. },
  45995. "orderprice": {
  45996. "description": "委托价格",
  45997. "type": "number"
  45998. },
  45999. "orderqty": {
  46000. "description": "委托数量",
  46001. "type": "number"
  46002. },
  46003. "ordersrc": {
  46004. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46005. "type": "integer"
  46006. },
  46007. "orderstatus": {
  46008. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46009. "type": "integer"
  46010. },
  46011. "ordertime": {
  46012. "description": "委托时间",
  46013. "type": "string"
  46014. },
  46015. "preexerciseprice": {
  46016. "description": "预申报价格",
  46017. "type": "number"
  46018. },
  46019. "premium": {
  46020. "description": "权利金",
  46021. "type": "number"
  46022. },
  46023. "preorderid": {
  46024. "description": "关联预埋单号(止盈止损单时填写)",
  46025. "type": "string"
  46026. },
  46027. "pricemode": {
  46028. "description": "取价方式 - 1:市价 2: 限价",
  46029. "type": "integer"
  46030. },
  46031. "qtydecimalplace": {
  46032. "description": "成交量小数位",
  46033. "type": "integer"
  46034. },
  46035. "quoteid": {
  46036. "description": "报价单ID",
  46037. "type": "integer"
  46038. },
  46039. "relatedid": {
  46040. "description": "关联单号(交割单)",
  46041. "type": "string"
  46042. },
  46043. "retcode": {
  46044. "description": "错误代码",
  46045. "type": "integer"
  46046. },
  46047. "sessionid": {
  46048. "description": "会话ID",
  46049. "type": "integer"
  46050. },
  46051. "tradedate": {
  46052. "description": "交易日(yyyyMMdd)",
  46053. "type": "string"
  46054. },
  46055. "trademode": {
  46056. "description": "交易模式",
  46057. "type": "integer"
  46058. },
  46059. "tradeproperty": {
  46060. "description": "交易属性",
  46061. "type": "integer"
  46062. },
  46063. "tradeqty": {
  46064. "description": "成交数量",
  46065. "type": "number"
  46066. },
  46067. "unfreezecharge": {
  46068. "description": "解冻手续费",
  46069. "type": "number"
  46070. },
  46071. "unfreezemargin": {
  46072. "description": "解冻保证金",
  46073. "type": "number"
  46074. },
  46075. "updatetime": {
  46076. "description": "更新时间",
  46077. "type": "string"
  46078. },
  46079. "uuid": {
  46080. "description": "发起端唯一id",
  46081. "type": "string"
  46082. },
  46083. "validtime": {
  46084. "description": "有效期限",
  46085. "type": "string"
  46086. },
  46087. "validtype": {
  46088. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  46089. "type": "integer"
  46090. },
  46091. "volumetype": {
  46092. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  46093. "type": "integer"
  46094. }
  46095. }
  46096. },
  46097. "order.QueryTradeDetailRsp": {
  46098. "type": "object",
  46099. "required": [
  46100. "accountid",
  46101. "buyorsell",
  46102. "goodsid",
  46103. "marketid",
  46104. "memberuserid",
  46105. "orderid",
  46106. "tradeamount",
  46107. "tradedate",
  46108. "tradeid",
  46109. "tradeprice",
  46110. "tradeqty",
  46111. "tradetime"
  46112. ],
  46113. "properties": {
  46114. "accountid": {
  46115. "description": "账户ID[报价币种]",
  46116. "type": "integer"
  46117. },
  46118. "advanceratio": {
  46119. "description": "首付比率",
  46120. "type": "number"
  46121. },
  46122. "buildtype": {
  46123. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  46124. "type": "integer"
  46125. },
  46126. "buyorsell": {
  46127. "description": "方向 - 0:买 1:卖",
  46128. "type": "integer"
  46129. },
  46130. "charge": {
  46131. "description": "手续费",
  46132. "type": "number"
  46133. },
  46134. "closecharge": {
  46135. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46136. "type": "number"
  46137. },
  46138. "closeexchagechargevalue": {
  46139. "description": "平仓交易所手续费设置值",
  46140. "type": "number"
  46141. },
  46142. "closefeealgorithm": {
  46143. "description": "平仓手续费收取方式 1:比率 2:固定",
  46144. "type": "integer"
  46145. },
  46146. "closememberchargevalue": {
  46147. "description": "平仓会员手续费设置值",
  46148. "type": "number"
  46149. },
  46150. "closepl": {
  46151. "description": "平仓盈亏",
  46152. "type": "number"
  46153. },
  46154. "closepl2": {
  46155. "description": "平仓盈亏[逐笔]",
  46156. "type": "number"
  46157. },
  46158. "closeqty": {
  46159. "description": "平仓数量(先建后平操作 需要记录)",
  46160. "type": "number"
  46161. },
  46162. "creditamount": {
  46163. "description": "授信金额",
  46164. "type": "number"
  46165. },
  46166. "decimalplace": {
  46167. "description": "商品报价小数位",
  46168. "type": "integer"
  46169. },
  46170. "enumdicname": {
  46171. "description": "单位名称",
  46172. "type": "string"
  46173. },
  46174. "gcaccountid": {
  46175. "description": "账户ID[合约币种]",
  46176. "type": "integer"
  46177. },
  46178. "goodscode": {
  46179. "description": "商品代码",
  46180. "type": "string"
  46181. },
  46182. "goodsid": {
  46183. "description": "商品ID",
  46184. "type": "integer"
  46185. },
  46186. "goodsname": {
  46187. "description": "商品名称",
  46188. "type": "string"
  46189. },
  46190. "goodunitid": {
  46191. "description": "商品单位id",
  46192. "type": "integer"
  46193. },
  46194. "intclosepl": {
  46195. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46196. "type": "integer"
  46197. },
  46198. "isconfirmexercise": {
  46199. "description": "是否确认行权- 0:否 1:是",
  46200. "type": "integer"
  46201. },
  46202. "ismain": {
  46203. "description": "是否主单 - 0:不是 1:是",
  46204. "type": "integer"
  46205. },
  46206. "ispreexercise": {
  46207. "description": "是否预申报- 0:否 1:是",
  46208. "type": "integer"
  46209. },
  46210. "isreckoned": {
  46211. "description": "是否结算 - 0:未结算 1:已结算",
  46212. "type": "integer"
  46213. },
  46214. "listingselecttype": {
  46215. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46216. "type": "integer"
  46217. },
  46218. "marketid": {
  46219. "description": "市场ID",
  46220. "type": "integer"
  46221. },
  46222. "marketname": {
  46223. "description": "市场名称",
  46224. "type": "string"
  46225. },
  46226. "matchaccountid": {
  46227. "description": "对手账号id",
  46228. "type": "integer"
  46229. },
  46230. "memberuserid": {
  46231. "description": "会员id 个人投资者 需要填写",
  46232. "type": "integer"
  46233. },
  46234. "opencharge": {
  46235. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46236. "type": "number"
  46237. },
  46238. "openexchagechargevalue": {
  46239. "description": "建仓交易所手续费设置值",
  46240. "type": "number"
  46241. },
  46242. "openfeealgorithm": {
  46243. "description": "建仓手续费收取方式 1:比率 2:固定",
  46244. "type": "integer"
  46245. },
  46246. "openmemberchargevalue": {
  46247. "description": "建仓会员手续费设置值",
  46248. "type": "number"
  46249. },
  46250. "openqty": {
  46251. "description": "开仓数量(先建后平操作 需要记录)",
  46252. "type": "number"
  46253. },
  46254. "optiontype": {
  46255. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46256. "type": "integer"
  46257. },
  46258. "orderid": {
  46259. "description": "委托单号",
  46260. "type": "string"
  46261. },
  46262. "payamount": {
  46263. "description": "支付金额(付款金额)",
  46264. "type": "number"
  46265. },
  46266. "performanceplanid": {
  46267. "description": "履约计划ID[期权]",
  46268. "type": "integer"
  46269. },
  46270. "performancestatus": {
  46271. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46272. "type": "integer"
  46273. },
  46274. "preexerciseprice": {
  46275. "description": "预申报价格",
  46276. "type": "number"
  46277. },
  46278. "premium": {
  46279. "description": "权利金 - [持仓单的权利金]",
  46280. "type": "number"
  46281. },
  46282. "qtydecimalplace": {
  46283. "description": "商品报价小数位",
  46284. "type": "integer"
  46285. },
  46286. "recvamount": {
  46287. "description": "到账金额 = 成交金额 - 手续费",
  46288. "type": "number"
  46289. },
  46290. "relatedouttradeid": {
  46291. "description": "关联外部成交单ID",
  46292. "type": "integer"
  46293. },
  46294. "status": {
  46295. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46296. "type": "integer"
  46297. },
  46298. "totalamount": {
  46299. "description": "订单总额 = 成交金额 + 手续费",
  46300. "type": "number"
  46301. },
  46302. "tradeamount": {
  46303. "description": "成交金额[账户币种,用于所有权]",
  46304. "type": "number"
  46305. },
  46306. "tradedate": {
  46307. "description": "交易日(yyyyMMdd)",
  46308. "type": "string"
  46309. },
  46310. "tradeid": {
  46311. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46312. "type": "string"
  46313. },
  46314. "trademode": {
  46315. "description": "交易模式",
  46316. "type": "integer"
  46317. },
  46318. "tradeprice": {
  46319. "description": "成交价格",
  46320. "type": "number"
  46321. },
  46322. "tradeproperty": {
  46323. "description": "交易属性",
  46324. "type": "integer"
  46325. },
  46326. "tradeqty": {
  46327. "description": "成交数量",
  46328. "type": "number"
  46329. },
  46330. "tradetime": {
  46331. "description": "成交时间",
  46332. "type": "string"
  46333. },
  46334. "tradetype": {
  46335. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46336. "type": "integer"
  46337. }
  46338. }
  46339. },
  46340. "order.QueryTradeOrderDetailRsp": {
  46341. "type": "object",
  46342. "required": [
  46343. "accountid",
  46344. "buildtype",
  46345. "buyorsell",
  46346. "goodsid",
  46347. "marketid",
  46348. "operatetype",
  46349. "orderqty",
  46350. "ordertime",
  46351. "pricemode",
  46352. "tradedate",
  46353. "validtype"
  46354. ],
  46355. "properties": {
  46356. "accountid": {
  46357. "description": "账户ID[报价币种]",
  46358. "type": "integer"
  46359. },
  46360. "buildtype": {
  46361. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46362. "type": "integer"
  46363. },
  46364. "buyorsell": {
  46365. "description": "买卖 - 0:买 1:卖",
  46366. "type": "integer"
  46367. },
  46368. "cancelorderid": {
  46369. "description": "撤单单号(撤单时填写)",
  46370. "type": "string"
  46371. },
  46372. "cancelqty": {
  46373. "description": "撤单数量",
  46374. "type": "number"
  46375. },
  46376. "clienttype": {
  46377. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  46378. "type": "integer"
  46379. },
  46380. "closefreezecharge": {
  46381. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  46382. "type": "number"
  46383. },
  46384. "closeqty": {
  46385. "description": "平仓数量(先建后平操作 需要记录)",
  46386. "type": "number"
  46387. },
  46388. "closetradeqty": {
  46389. "description": "平仓成交数量(先建后平操作,需要记录)",
  46390. "type": "number"
  46391. },
  46392. "closeunfreezecharge": {
  46393. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  46394. "type": "number"
  46395. },
  46396. "decimalplace": {
  46397. "description": "商品报价小数位",
  46398. "type": "integer"
  46399. },
  46400. "delistingtype": {
  46401. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  46402. "type": "integer"
  46403. },
  46404. "enableqty": {
  46405. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  46406. "type": "number"
  46407. },
  46408. "enumdicname": {
  46409. "description": "单位名称",
  46410. "type": "string"
  46411. },
  46412. "freezecharge": {
  46413. "description": "冻结手续费",
  46414. "type": "number"
  46415. },
  46416. "freezemargin": {
  46417. "description": "冻结保证金(冻结交易金额)",
  46418. "type": "number"
  46419. },
  46420. "goodscode": {
  46421. "description": "商品代码",
  46422. "type": "string"
  46423. },
  46424. "goodsid": {
  46425. "description": "商品ID",
  46426. "type": "integer"
  46427. },
  46428. "goodsname": {
  46429. "description": "商品名称",
  46430. "type": "string"
  46431. },
  46432. "goodunitid": {
  46433. "description": "商品单位id",
  46434. "type": "integer"
  46435. },
  46436. "listingselecttype": {
  46437. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46438. "type": "integer"
  46439. },
  46440. "marketid": {
  46441. "description": "市场ID",
  46442. "type": "integer"
  46443. },
  46444. "marketname": {
  46445. "description": "市场名称",
  46446. "type": "string"
  46447. },
  46448. "openfreezecharge": {
  46449. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  46450. "type": "number"
  46451. },
  46452. "openqty": {
  46453. "description": "开仓数量(先建后平操作,需要记录)",
  46454. "type": "number"
  46455. },
  46456. "opentradeqty": {
  46457. "description": "开仓成交数量(先建后平操作,需要记录)",
  46458. "type": "number"
  46459. },
  46460. "openunfreezecharge": {
  46461. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  46462. "type": "number"
  46463. },
  46464. "operatetype": {
  46465. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  46466. "type": "integer"
  46467. },
  46468. "operatorid": {
  46469. "description": "登录账号(LoginID)",
  46470. "type": "integer"
  46471. },
  46472. "orderid": {
  46473. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46474. "type": "string"
  46475. },
  46476. "orderprice": {
  46477. "description": "委托价格",
  46478. "type": "number"
  46479. },
  46480. "orderqty": {
  46481. "description": "委托数量",
  46482. "type": "number"
  46483. },
  46484. "ordersrc": {
  46485. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46486. "type": "integer"
  46487. },
  46488. "orderstatus": {
  46489. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46490. "type": "integer"
  46491. },
  46492. "ordertime": {
  46493. "description": "委托时间",
  46494. "type": "string"
  46495. },
  46496. "preorderid": {
  46497. "description": "关联预埋单号(止盈止损单时填写)",
  46498. "type": "string"
  46499. },
  46500. "pricemode": {
  46501. "description": "取价方式 - 1:市价 2: 限价",
  46502. "type": "integer"
  46503. },
  46504. "qtydecimalplace": {
  46505. "description": "商品报价小数位",
  46506. "type": "integer"
  46507. },
  46508. "relatedid": {
  46509. "description": "关联单号(交割单)",
  46510. "type": "string"
  46511. },
  46512. "tradedate": {
  46513. "description": "交易日(yyyyMMdd)",
  46514. "type": "string"
  46515. },
  46516. "trademode": {
  46517. "description": "交易模式",
  46518. "type": "integer"
  46519. },
  46520. "tradeqty": {
  46521. "description": "成交数量",
  46522. "type": "number"
  46523. },
  46524. "unfreezecharge": {
  46525. "description": "解冻手续费",
  46526. "type": "number"
  46527. },
  46528. "unfreezemargin": {
  46529. "description": "解冻保证金",
  46530. "type": "number"
  46531. },
  46532. "validtime": {
  46533. "description": "有效期限",
  46534. "type": "string"
  46535. },
  46536. "validtype": {
  46537. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  46538. "type": "integer"
  46539. },
  46540. "volumetype": {
  46541. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  46542. "type": "integer"
  46543. }
  46544. }
  46545. },
  46546. "order.QueryTradePositionRsp": {
  46547. "type": "object",
  46548. "required": [
  46549. "goodsid"
  46550. ],
  46551. "properties": {
  46552. "accountid": {
  46553. "description": "资金账户",
  46554. "type": "integer"
  46555. },
  46556. "agreeunit": {
  46557. "description": "合约单位",
  46558. "type": "number"
  46559. },
  46560. "averageprice": {
  46561. "description": "持仓均价",
  46562. "type": "number"
  46563. },
  46564. "buyorsell": {
  46565. "description": "方向 - 0:买 1:卖",
  46566. "type": "integer"
  46567. },
  46568. "closetotalqty": {
  46569. "description": "平仓总数量",
  46570. "type": "number"
  46571. },
  46572. "curholderamount": {
  46573. "description": "当前持仓总金额[商品币种]",
  46574. "type": "number"
  46575. },
  46576. "curpositionqty": {
  46577. "description": "当前持仓总数量",
  46578. "type": "number"
  46579. },
  46580. "currencyid": {
  46581. "description": "报价货币ID",
  46582. "type": "integer"
  46583. },
  46584. "curtdposition": {
  46585. "description": "期末今日头寸",
  46586. "type": "number"
  46587. },
  46588. "decimalplace": {
  46589. "description": "报价小数位",
  46590. "type": "integer"
  46591. },
  46592. "enableqty": {
  46593. "description": "可用量",
  46594. "type": "number"
  46595. },
  46596. "fretdposition": {
  46597. "description": "冻结今日头寸",
  46598. "type": "number"
  46599. },
  46600. "frozenqty": {
  46601. "description": "持仓冻结数量",
  46602. "type": "number"
  46603. },
  46604. "goodscode": {
  46605. "description": "商品代码",
  46606. "type": "string"
  46607. },
  46608. "goodsid": {
  46609. "description": "商品Id",
  46610. "type": "integer"
  46611. },
  46612. "goodsname": {
  46613. "description": "商品名称",
  46614. "type": "string"
  46615. },
  46616. "goodunit": {
  46617. "description": "报价单位",
  46618. "type": "string"
  46619. },
  46620. "goodunitid": {
  46621. "description": "报价单位ID",
  46622. "type": "integer"
  46623. },
  46624. "holderamount": {
  46625. "description": "期初持仓总金额[商品币种]",
  46626. "type": "number"
  46627. },
  46628. "lastprice": {
  46629. "description": "最新价",
  46630. "type": "number"
  46631. },
  46632. "marketamount": {
  46633. "description": "市值",
  46634. "type": "number"
  46635. },
  46636. "marketid": {
  46637. "description": "所属市场ID",
  46638. "type": "integer"
  46639. },
  46640. "openreqqty": {
  46641. "description": "开仓申请数量(用于比较最大持仓数量)",
  46642. "type": "number"
  46643. },
  46644. "opentotalqty": {
  46645. "description": "开仓总数量",
  46646. "type": "number"
  46647. },
  46648. "otherfrozenqty": {
  46649. "description": "持仓其他冻结数量(交割冻结)",
  46650. "type": "number"
  46651. },
  46652. "positionpl": {
  46653. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  46654. "type": "number"
  46655. },
  46656. "positionplrate": {
  46657. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  46658. "type": "number"
  46659. },
  46660. "positionqty": {
  46661. "description": "期初持仓数量",
  46662. "type": "number"
  46663. },
  46664. "qtydecimalplace": {
  46665. "description": "成交量小数位",
  46666. "type": "integer"
  46667. },
  46668. "refgoodscode": {
  46669. "description": "参考商品代码",
  46670. "type": "string"
  46671. },
  46672. "refgoodsid": {
  46673. "description": "参考商品ID",
  46674. "type": "integer"
  46675. },
  46676. "tnqty": {
  46677. "description": "T+N冻结总量",
  46678. "type": "number"
  46679. },
  46680. "tnusedqty": {
  46681. "description": "T+N使用量(可以使用T+N的冻结数量)",
  46682. "type": "number"
  46683. },
  46684. "trademode": {
  46685. "description": "交易模式",
  46686. "type": "integer"
  46687. },
  46688. "tradeproperty": {
  46689. "description": "交易属性",
  46690. "type": "integer"
  46691. },
  46692. "usedmargin": {
  46693. "description": "占用保证金[商品币种]",
  46694. "type": "number"
  46695. }
  46696. }
  46697. },
  46698. "pb.GoodsMarginCfgStruct": {
  46699. "type": "object",
  46700. "properties": {
  46701. "CustomerTypeID": {
  46702. "description": "投资者客户类型",
  46703. "type": "integer"
  46704. },
  46705. "GoodsID": {
  46706. "description": "商品ID",
  46707. "type": "integer"
  46708. },
  46709. "IsDefault": {
  46710. "description": "是否默认标志位",
  46711. "type": "integer"
  46712. },
  46713. "LockMarginValue": {
  46714. "description": "锁仓保证金",
  46715. "type": "number"
  46716. },
  46717. "MarginAlgorithm": {
  46718. "description": "保证金计算方式",
  46719. "type": "integer"
  46720. },
  46721. "MarketMarginValue": {
  46722. "description": "即市保证金值",
  46723. "type": "number"
  46724. },
  46725. "RealMarginAlgorithm": {
  46726. "description": "实付保证金计算方式",
  46727. "type": "integer"
  46728. },
  46729. "RealMarginValue": {
  46730. "description": "实付比例",
  46731. "type": "number"
  46732. },
  46733. "ReckonMarginValue": {
  46734. "description": "结算保证金值",
  46735. "type": "number"
  46736. }
  46737. }
  46738. },
  46739. "quote.HistoryData": {
  46740. "type": "object",
  46741. "properties": {
  46742. "c": {
  46743. "description": "收盘价",
  46744. "type": "number"
  46745. },
  46746. "f": {
  46747. "description": "是否补充数据",
  46748. "type": "boolean"
  46749. },
  46750. "h": {
  46751. "description": "最高价",
  46752. "type": "number"
  46753. },
  46754. "hv": {
  46755. "description": "持仓量",
  46756. "type": "integer"
  46757. },
  46758. "l": {
  46759. "description": "最低价",
  46760. "type": "number"
  46761. },
  46762. "o": {
  46763. "description": "开盘价",
  46764. "type": "number"
  46765. },
  46766. "s": {
  46767. "description": "结算价,日线周期(包括)以上才有",
  46768. "type": "number"
  46769. },
  46770. "ts": {
  46771. "description": "时间",
  46772. "type": "string"
  46773. },
  46774. "tt": {
  46775. "description": "总金额",
  46776. "type": "number"
  46777. },
  46778. "tv": {
  46779. "description": "总量(成交量)",
  46780. "type": "integer"
  46781. }
  46782. }
  46783. },
  46784. "quote.HistoryTikData": {
  46785. "type": "object",
  46786. "properties": {
  46787. "AV": {
  46788. "description": "卖量",
  46789. "type": "integer"
  46790. },
  46791. "Ask": {
  46792. "description": "卖价",
  46793. "type": "number"
  46794. },
  46795. "BV": {
  46796. "description": "买量",
  46797. "type": "integer"
  46798. },
  46799. "Bid": {
  46800. "description": "买价",
  46801. "type": "number"
  46802. },
  46803. "HI": {
  46804. "description": "单笔持仓",
  46805. "type": "integer"
  46806. },
  46807. "HV": {
  46808. "description": "持仓量",
  46809. "type": "integer"
  46810. },
  46811. "PE": {
  46812. "description": "现价",
  46813. "type": "number"
  46814. },
  46815. "TDR": {
  46816. "description": "交易方向,0:买 1:卖",
  46817. "type": "integer"
  46818. },
  46819. "TK": {
  46820. "description": "交易类型",
  46821. "type": "integer"
  46822. },
  46823. "TS": {
  46824. "description": "行情时间文本",
  46825. "type": "string"
  46826. },
  46827. "TT": {
  46828. "description": "现金额",
  46829. "type": "number"
  46830. },
  46831. "Vol": {
  46832. "description": "现量",
  46833. "type": "integer"
  46834. }
  46835. }
  46836. },
  46837. "quote.QueryQuoteDayRsp": {
  46838. "type": "object",
  46839. "properties": {
  46840. "ask": {
  46841. "description": "卖1",
  46842. "type": "number"
  46843. },
  46844. "ask10": {
  46845. "description": "卖10",
  46846. "type": "number"
  46847. },
  46848. "ask2": {
  46849. "description": "卖2",
  46850. "type": "number"
  46851. },
  46852. "ask3": {
  46853. "description": "卖3",
  46854. "type": "number"
  46855. },
  46856. "ask4": {
  46857. "description": "卖4",
  46858. "type": "number"
  46859. },
  46860. "ask5": {
  46861. "description": "卖5",
  46862. "type": "number"
  46863. },
  46864. "ask6": {
  46865. "description": "卖6",
  46866. "type": "number"
  46867. },
  46868. "ask7": {
  46869. "description": "卖7",
  46870. "type": "number"
  46871. },
  46872. "ask8": {
  46873. "description": "卖8",
  46874. "type": "number"
  46875. },
  46876. "ask9": {
  46877. "description": "卖9",
  46878. "type": "number"
  46879. },
  46880. "askorderid": {
  46881. "description": "卖单号1",
  46882. "type": "integer"
  46883. },
  46884. "askorderid2": {
  46885. "description": "卖单号2",
  46886. "type": "integer"
  46887. },
  46888. "askorderid3": {
  46889. "description": "卖单号3",
  46890. "type": "integer"
  46891. },
  46892. "askorderid4": {
  46893. "description": "卖单号4",
  46894. "type": "integer"
  46895. },
  46896. "askorderid5": {
  46897. "description": "卖单号5",
  46898. "type": "integer"
  46899. },
  46900. "askordervolume": {
  46901. "description": "卖单量1",
  46902. "type": "integer"
  46903. },
  46904. "askordervolume10": {
  46905. "description": "卖单量10",
  46906. "type": "integer"
  46907. },
  46908. "askordervolume2": {
  46909. "description": "卖单量2",
  46910. "type": "integer"
  46911. },
  46912. "askordervolume3": {
  46913. "description": "卖单量3",
  46914. "type": "integer"
  46915. },
  46916. "askordervolume4": {
  46917. "description": "卖单量4",
  46918. "type": "integer"
  46919. },
  46920. "askordervolume5": {
  46921. "description": "卖单量5",
  46922. "type": "integer"
  46923. },
  46924. "askordervolume6": {
  46925. "description": "卖单量6",
  46926. "type": "integer"
  46927. },
  46928. "askordervolume7": {
  46929. "description": "卖单量7",
  46930. "type": "integer"
  46931. },
  46932. "askordervolume8": {
  46933. "description": "卖单量8",
  46934. "type": "integer"
  46935. },
  46936. "askordervolume9": {
  46937. "description": "卖单量9",
  46938. "type": "integer"
  46939. },
  46940. "askqueueinfo": {
  46941. "description": "大利市卖港股用",
  46942. "type": "string"
  46943. },
  46944. "askvolume": {
  46945. "description": "卖量1",
  46946. "type": "integer"
  46947. },
  46948. "askvolume10": {
  46949. "description": "卖量10",
  46950. "type": "integer"
  46951. },
  46952. "askvolume2": {
  46953. "description": "卖量2",
  46954. "type": "integer"
  46955. },
  46956. "askvolume3": {
  46957. "description": "卖量3",
  46958. "type": "integer"
  46959. },
  46960. "askvolume4": {
  46961. "description": "卖量4",
  46962. "type": "integer"
  46963. },
  46964. "askvolume5": {
  46965. "description": "卖量5",
  46966. "type": "integer"
  46967. },
  46968. "askvolume6": {
  46969. "description": "卖量6",
  46970. "type": "integer"
  46971. },
  46972. "askvolume7": {
  46973. "description": "卖量7",
  46974. "type": "integer"
  46975. },
  46976. "askvolume8": {
  46977. "description": "卖量8",
  46978. "type": "integer"
  46979. },
  46980. "askvolume9": {
  46981. "description": "卖量9",
  46982. "type": "integer"
  46983. },
  46984. "averageprice": {
  46985. "description": "均价",
  46986. "type": "number"
  46987. },
  46988. "bid": {
  46989. "description": "买1",
  46990. "type": "number"
  46991. },
  46992. "bid10": {
  46993. "description": "买10",
  46994. "type": "number"
  46995. },
  46996. "bid2": {
  46997. "description": "买2",
  46998. "type": "number"
  46999. },
  47000. "bid3": {
  47001. "description": "买3",
  47002. "type": "number"
  47003. },
  47004. "bid4": {
  47005. "description": "买4",
  47006. "type": "number"
  47007. },
  47008. "bid5": {
  47009. "description": "买5",
  47010. "type": "number"
  47011. },
  47012. "bid6": {
  47013. "description": "买6",
  47014. "type": "number"
  47015. },
  47016. "bid7": {
  47017. "description": "买7",
  47018. "type": "number"
  47019. },
  47020. "bid8": {
  47021. "description": "买8",
  47022. "type": "number"
  47023. },
  47024. "bid9": {
  47025. "description": "买9",
  47026. "type": "number"
  47027. },
  47028. "bidorderid": {
  47029. "description": "买单号1",
  47030. "type": "integer"
  47031. },
  47032. "bidorderid2": {
  47033. "description": "买单号2",
  47034. "type": "integer"
  47035. },
  47036. "bidorderid3": {
  47037. "description": "买单号3",
  47038. "type": "integer"
  47039. },
  47040. "bidorderid4": {
  47041. "description": "买单号4",
  47042. "type": "integer"
  47043. },
  47044. "bidorderid5": {
  47045. "description": "买单号5",
  47046. "type": "integer"
  47047. },
  47048. "bidordervolume": {
  47049. "description": "买单量1",
  47050. "type": "integer"
  47051. },
  47052. "bidordervolume10": {
  47053. "description": "买单量10",
  47054. "type": "integer"
  47055. },
  47056. "bidordervolume2": {
  47057. "description": "买单量2",
  47058. "type": "integer"
  47059. },
  47060. "bidordervolume3": {
  47061. "description": "买单量3",
  47062. "type": "integer"
  47063. },
  47064. "bidordervolume4": {
  47065. "description": "买单量4",
  47066. "type": "integer"
  47067. },
  47068. "bidordervolume5": {
  47069. "description": "买单量5",
  47070. "type": "integer"
  47071. },
  47072. "bidordervolume6": {
  47073. "description": "买单量6",
  47074. "type": "integer"
  47075. },
  47076. "bidordervolume7": {
  47077. "description": "买单量7",
  47078. "type": "integer"
  47079. },
  47080. "bidordervolume8": {
  47081. "description": "买单量8",
  47082. "type": "integer"
  47083. },
  47084. "bidordervolume9": {
  47085. "description": "买单量9",
  47086. "type": "integer"
  47087. },
  47088. "bidqueueinfo": {
  47089. "description": "大利市买港股用",
  47090. "type": "string"
  47091. },
  47092. "bidvolume": {
  47093. "description": "买量1",
  47094. "type": "integer"
  47095. },
  47096. "bidvolume10": {
  47097. "description": "买量10",
  47098. "type": "integer"
  47099. },
  47100. "bidvolume2": {
  47101. "description": "买量2",
  47102. "type": "integer"
  47103. },
  47104. "bidvolume3": {
  47105. "description": "买量3",
  47106. "type": "integer"
  47107. },
  47108. "bidvolume4": {
  47109. "description": "买量4",
  47110. "type": "integer"
  47111. },
  47112. "bidvolume5": {
  47113. "description": "买量5",
  47114. "type": "integer"
  47115. },
  47116. "bidvolume6": {
  47117. "description": "买量6",
  47118. "type": "integer"
  47119. },
  47120. "bidvolume7": {
  47121. "description": "买量7",
  47122. "type": "integer"
  47123. },
  47124. "bidvolume8": {
  47125. "description": "买量8",
  47126. "type": "integer"
  47127. },
  47128. "bidvolume9": {
  47129. "description": "买量9",
  47130. "type": "integer"
  47131. },
  47132. "calloptionpremiums": {
  47133. "description": "认购期权1",
  47134. "type": "integer"
  47135. },
  47136. "calloptionpremiums2": {
  47137. "description": "认购期权2",
  47138. "type": "integer"
  47139. },
  47140. "calloptionpremiums3": {
  47141. "description": "认购期权3",
  47142. "type": "integer"
  47143. },
  47144. "calloptionpremiums4": {
  47145. "description": "认购期权4",
  47146. "type": "integer"
  47147. },
  47148. "calloptionpremiums5": {
  47149. "description": "认购期权5",
  47150. "type": "integer"
  47151. },
  47152. "cleartime": {
  47153. "description": "清盘时间",
  47154. "type": "integer"
  47155. },
  47156. "exchangecode": {
  47157. "description": "交易所代码",
  47158. "type": "integer"
  47159. },
  47160. "exchangedate": {
  47161. "description": "交易日",
  47162. "type": "integer"
  47163. },
  47164. "goodscode": {
  47165. "description": "商品代码",
  47166. "type": "string"
  47167. },
  47168. "grepmarketprice": {
  47169. "description": "暗盘价 港股专用",
  47170. "type": "number"
  47171. },
  47172. "highest": {
  47173. "description": "最高价",
  47174. "type": "number"
  47175. },
  47176. "holdincrement": {
  47177. "description": "单笔持仓",
  47178. "type": "integer"
  47179. },
  47180. "holdvolume": {
  47181. "description": "持仓",
  47182. "type": "integer"
  47183. },
  47184. "iep": {
  47185. "description": "平衡价 港股专用",
  47186. "type": "number"
  47187. },
  47188. "iev": {
  47189. "description": "平衡量 港股专用",
  47190. "type": "number"
  47191. },
  47192. "inventory": {
  47193. "description": "库存",
  47194. "type": "integer"
  47195. },
  47196. "iscleared": {
  47197. "description": "是否清盘标志",
  47198. "type": "integer"
  47199. },
  47200. "issettled": {
  47201. "description": "是否结算标志",
  47202. "type": "integer"
  47203. },
  47204. "last": {
  47205. "description": "最新价",
  47206. "type": "number"
  47207. },
  47208. "lastlot": {
  47209. "description": "最新成交手数",
  47210. "type": "integer"
  47211. },
  47212. "lasttime": {
  47213. "description": "行情时间(只有现价变化行情时间才变化)",
  47214. "type": "string"
  47215. },
  47216. "lastturnover": {
  47217. "description": "最新成交金额",
  47218. "type": "number"
  47219. },
  47220. "lastvolume": {
  47221. "description": "最新成交量",
  47222. "type": "integer"
  47223. },
  47224. "limitdown": {
  47225. "description": "跌停价",
  47226. "type": "number"
  47227. },
  47228. "limitup": {
  47229. "description": "涨停价",
  47230. "type": "number"
  47231. },
  47232. "lowest": {
  47233. "description": "最低价",
  47234. "type": "number"
  47235. },
  47236. "nontotalholdervolume": {
  47237. "description": "非交易持仓量",
  47238. "type": "integer"
  47239. },
  47240. "nontotallot": {
  47241. "description": "非交易总手数",
  47242. "type": "integer"
  47243. },
  47244. "nontotalturnover": {
  47245. "description": "非交易总金额",
  47246. "type": "integer"
  47247. },
  47248. "nontotalvolume": {
  47249. "description": "非交易总量",
  47250. "type": "integer"
  47251. },
  47252. "opened": {
  47253. "description": "开盘价",
  47254. "type": "number"
  47255. },
  47256. "opentime": {
  47257. "description": "开盘时间",
  47258. "type": "string"
  47259. },
  47260. "orderid": {
  47261. "description": "序号",
  47262. "type": "integer"
  47263. },
  47264. "preclose": {
  47265. "description": "昨收",
  47266. "type": "number"
  47267. },
  47268. "preholdvolume": {
  47269. "description": "昨持仓",
  47270. "type": "integer"
  47271. },
  47272. "presettle": {
  47273. "description": "昨结价",
  47274. "type": "number"
  47275. },
  47276. "publictradetype": {
  47277. "description": "公共交易标志类型 港股专用",
  47278. "type": "string"
  47279. },
  47280. "putoptionpremiums": {
  47281. "description": "认沽期权1",
  47282. "type": "integer"
  47283. },
  47284. "putoptionpremiums2": {
  47285. "description": "认沽期权2",
  47286. "type": "integer"
  47287. },
  47288. "putoptionpremiums3": {
  47289. "description": "认沽期权3",
  47290. "type": "integer"
  47291. },
  47292. "putoptionpremiums4": {
  47293. "description": "认沽期权4",
  47294. "type": "integer"
  47295. },
  47296. "putoptionpremiums5": {
  47297. "description": "认沽期权5",
  47298. "type": "integer"
  47299. },
  47300. "settle": {
  47301. "description": "结算价",
  47302. "type": "number"
  47303. },
  47304. "strikeprice": {
  47305. "description": "发行价",
  47306. "type": "number"
  47307. },
  47308. "totalaskvolume": {
  47309. "description": "内盘",
  47310. "type": "integer"
  47311. },
  47312. "totalbidvolume": {
  47313. "description": "外盘",
  47314. "type": "integer"
  47315. },
  47316. "totallot": {
  47317. "description": "总手数",
  47318. "type": "integer"
  47319. },
  47320. "totalturnover": {
  47321. "description": "总金额",
  47322. "type": "number"
  47323. },
  47324. "totalvolume": {
  47325. "description": "总量",
  47326. "type": "integer"
  47327. },
  47328. "utclasttime": {
  47329. "description": "utc的行情时间",
  47330. "type": "string"
  47331. }
  47332. }
  47333. },
  47334. "quote.QueryTSDataRsp": {
  47335. "type": "object",
  47336. "properties": {
  47337. "Count": {
  47338. "description": "交易日应有数据个数",
  47339. "type": "integer"
  47340. },
  47341. "decimalPlace": {
  47342. "description": "小数位",
  47343. "type": "integer"
  47344. },
  47345. "endTime": {
  47346. "description": "结束时间",
  47347. "type": "string"
  47348. },
  47349. "goodsCode": {
  47350. "description": "商品代码",
  47351. "type": "string"
  47352. },
  47353. "historyDatas": {
  47354. "description": "历史数据",
  47355. "type": "array",
  47356. "items": {
  47357. "$ref": "#/definitions/quote.HistoryData"
  47358. }
  47359. },
  47360. "outGoodsCode": {
  47361. "description": "外部商品代码",
  47362. "type": "string"
  47363. },
  47364. "preSettle": {
  47365. "description": "昨结价",
  47366. "type": "number"
  47367. },
  47368. "runSteps": {
  47369. "description": "交易日开休市计划",
  47370. "type": "array",
  47371. "items": {
  47372. "$ref": "#/definitions/quote.TSDataRunStep"
  47373. }
  47374. },
  47375. "startTime": {
  47376. "description": "开始时间",
  47377. "type": "string"
  47378. },
  47379. "tradeDate": {
  47380. "description": "交易日",
  47381. "type": "string"
  47382. }
  47383. }
  47384. },
  47385. "quote.TSDataRunStep": {
  47386. "type": "object",
  47387. "properties": {
  47388. "end": {
  47389. "description": "真实结束时间",
  47390. "type": "string"
  47391. },
  47392. "endflag": {
  47393. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  47394. "type": "integer"
  47395. },
  47396. "endtime": {
  47397. "description": "结束时间(HH:mm)",
  47398. "type": "string"
  47399. },
  47400. "endweekday": {
  47401. "description": "结束周几",
  47402. "type": "integer"
  47403. },
  47404. "groupid": {
  47405. "description": "分组ID",
  47406. "type": "integer"
  47407. },
  47408. "runstep": {
  47409. "description": "运行阶段 - 2:连续交易",
  47410. "type": "integer"
  47411. },
  47412. "sectionid": {
  47413. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  47414. "type": "integer"
  47415. },
  47416. "start": {
  47417. "description": "真实开始时间",
  47418. "type": "string"
  47419. },
  47420. "startflag": {
  47421. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  47422. "type": "integer"
  47423. },
  47424. "starttime": {
  47425. "description": "起始时间(HH:mm)",
  47426. "type": "string"
  47427. },
  47428. "startweekday": {
  47429. "description": "起始周几",
  47430. "type": "integer"
  47431. },
  47432. "tradeweekday": {
  47433. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  47434. "type": "integer"
  47435. }
  47436. }
  47437. },
  47438. "szdz.QueryConvertLogRsp": {
  47439. "type": "object",
  47440. "required": [
  47441. "logid"
  47442. ],
  47443. "properties": {
  47444. "accountid": {
  47445. "description": "资金账户ID",
  47446. "type": "integer"
  47447. },
  47448. "clientticket": {
  47449. "description": "客户端流水号",
  47450. "type": "string"
  47451. },
  47452. "converttype": {
  47453. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  47454. "type": "integer"
  47455. },
  47456. "createtime": {
  47457. "description": "记账时间",
  47458. "type": "string"
  47459. },
  47460. "daymaxvalue": {
  47461. "description": "配置当日最大转入限制",
  47462. "type": "number"
  47463. },
  47464. "daymaxvalue2": {
  47465. "description": "配置当日最大转入限制(转入)",
  47466. "type": "number"
  47467. },
  47468. "goodscode": {
  47469. "description": "商品代码",
  47470. "type": "string"
  47471. },
  47472. "goodsname": {
  47473. "description": "商品名称",
  47474. "type": "string"
  47475. },
  47476. "handlestatus": {
  47477. "description": "处理状态",
  47478. "type": "integer"
  47479. },
  47480. "innergoodsid": {
  47481. "description": "内部商品ID",
  47482. "type": "integer"
  47483. },
  47484. "inratio": {
  47485. "description": "配置转入比值",
  47486. "type": "integer"
  47487. },
  47488. "invalue": {
  47489. "description": "目标值",
  47490. "type": "number"
  47491. },
  47492. "logid": {
  47493. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47494. "type": "integer"
  47495. },
  47496. "mobile": {
  47497. "description": "手机号码(加密存储)",
  47498. "type": "string"
  47499. },
  47500. "outergoodscode": {
  47501. "description": "外部商品代码[JD\\PD]",
  47502. "type": "string"
  47503. },
  47504. "outratio": {
  47505. "description": "配置转出比值",
  47506. "type": "integer"
  47507. },
  47508. "outvalue": {
  47509. "description": "源值",
  47510. "type": "number"
  47511. },
  47512. "pddecimalplace": {
  47513. "description": "PD小数位",
  47514. "type": "integer"
  47515. },
  47516. "qty": {
  47517. "description": "数量",
  47518. "type": "string"
  47519. },
  47520. "remark": {
  47521. "description": "备注",
  47522. "type": "string"
  47523. },
  47524. "sessionid": {
  47525. "description": "会话ID",
  47526. "type": "integer"
  47527. },
  47528. "timemaxvalue": {
  47529. "description": "配置单次最大转入限制",
  47530. "type": "number"
  47531. },
  47532. "timemaxvalue2": {
  47533. "description": "配置单次最大转入限制(转入)",
  47534. "type": "number"
  47535. },
  47536. "timeminvalue": {
  47537. "description": "配置单次最小数量限制",
  47538. "type": "number"
  47539. },
  47540. "timeminvalue2": {
  47541. "description": "配置单次最小数量限制(转入)",
  47542. "type": "number"
  47543. },
  47544. "tradedate": {
  47545. "description": "交易日(yyyyMMdd)",
  47546. "type": "string"
  47547. },
  47548. "userid": {
  47549. "description": "用户ID",
  47550. "type": "integer"
  47551. }
  47552. }
  47553. },
  47554. "szdz.QueryGoodsPickupRsp": {
  47555. "type": "object",
  47556. "required": [
  47557. "takeorderid"
  47558. ],
  47559. "properties": {
  47560. "accountid": {
  47561. "description": "账户ID",
  47562. "type": "integer"
  47563. },
  47564. "address": {
  47565. "description": "提货人详细地址",
  47566. "type": "string"
  47567. },
  47568. "auditer": {
  47569. "description": "审核人",
  47570. "type": "integer"
  47571. },
  47572. "audittime": {
  47573. "description": "审核时间",
  47574. "type": "string"
  47575. },
  47576. "cardnum": {
  47577. "description": "提货人证件号码",
  47578. "type": "string"
  47579. },
  47580. "cardtypeid": {
  47581. "description": "提货人证件类型",
  47582. "type": "integer"
  47583. },
  47584. "checkremark": {
  47585. "description": "审核备注",
  47586. "type": "string"
  47587. },
  47588. "goodscode": {
  47589. "description": "商品代码",
  47590. "type": "string"
  47591. },
  47592. "goodsid": {
  47593. "description": "商品ID",
  47594. "type": "integer"
  47595. },
  47596. "goodsname": {
  47597. "description": "商品名称",
  47598. "type": "string"
  47599. },
  47600. "handlestatus": {
  47601. "description": "处理状态",
  47602. "type": "integer"
  47603. },
  47604. "marketid": {
  47605. "description": "市场ID",
  47606. "type": "integer"
  47607. },
  47608. "phonenum": {
  47609. "description": "提货人联系方式",
  47610. "type": "string"
  47611. },
  47612. "qty": {
  47613. "description": "提货数量",
  47614. "type": "number"
  47615. },
  47616. "recivername": {
  47617. "description": "提货人姓名",
  47618. "type": "string"
  47619. },
  47620. "reqtime": {
  47621. "description": "更新时间",
  47622. "type": "string"
  47623. },
  47624. "takemode": {
  47625. "description": "提货方式 - 2:自提 3:配送",
  47626. "type": "integer"
  47627. },
  47628. "takeorderid": {
  47629. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  47630. "type": "string"
  47631. },
  47632. "takeorderstatus": {
  47633. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  47634. "type": "integer"
  47635. },
  47636. "takeremark": {
  47637. "description": "提货备注",
  47638. "type": "string"
  47639. },
  47640. "tradedate": {
  47641. "description": "交易日(yyyyMMdd)",
  47642. "type": "string"
  47643. },
  47644. "userid": {
  47645. "description": "用户ID",
  47646. "type": "integer"
  47647. }
  47648. }
  47649. },
  47650. "szdz.QueryRecieptOrderRsp": {
  47651. "type": "object",
  47652. "required": [
  47653. "ordertime"
  47654. ],
  47655. "properties": {
  47656. "accountName": {
  47657. "description": "所属账号名称(已脱敏)",
  47658. "type": "string"
  47659. },
  47660. "accountid": {
  47661. "description": "资金账号",
  47662. "type": "integer"
  47663. },
  47664. "buyorsell": {
  47665. "description": "方向 - 0:买 1:卖",
  47666. "type": "integer"
  47667. },
  47668. "enableqty": {
  47669. "description": "可摘数量",
  47670. "type": "integer"
  47671. },
  47672. "goodscode": {
  47673. "description": "商品代码",
  47674. "type": "string"
  47675. },
  47676. "goodsid": {
  47677. "description": "商品ID",
  47678. "type": "integer"
  47679. },
  47680. "goodsname": {
  47681. "description": "商品名称",
  47682. "type": "string"
  47683. },
  47684. "orderid": {
  47685. "description": "委托单号",
  47686. "type": "string"
  47687. },
  47688. "orderprice": {
  47689. "description": "委托价格",
  47690. "type": "number"
  47691. },
  47692. "ordertime": {
  47693. "description": "委托时间",
  47694. "type": "string"
  47695. },
  47696. "tradedate": {
  47697. "description": "交易日(yyyyMMdd)",
  47698. "type": "string"
  47699. }
  47700. }
  47701. },
  47702. "szdz.QuerySZDZTradePositionRsp": {
  47703. "type": "object",
  47704. "properties": {
  47705. "accountid": {
  47706. "description": "账号Id",
  47707. "type": "integer"
  47708. },
  47709. "agreeunit": {
  47710. "description": "合约单位",
  47711. "type": "number"
  47712. },
  47713. "averageprice": {
  47714. "description": "持仓均价",
  47715. "type": "number"
  47716. },
  47717. "buyorsell": {
  47718. "description": "方向 - 0:买 1:卖",
  47719. "type": "integer"
  47720. },
  47721. "closetotalqty": {
  47722. "description": "平仓总数量",
  47723. "type": "integer"
  47724. },
  47725. "curholderamount": {
  47726. "description": "当前持仓总金额",
  47727. "type": "number"
  47728. },
  47729. "curpositionqty": {
  47730. "description": "当前持仓总数量",
  47731. "type": "integer"
  47732. },
  47733. "currencyid": {
  47734. "description": "报价货币ID",
  47735. "type": "integer"
  47736. },
  47737. "curtdposition": {
  47738. "description": "期末今日头寸",
  47739. "type": "integer"
  47740. },
  47741. "decimalplace": {
  47742. "description": "报价小数位",
  47743. "type": "integer"
  47744. },
  47745. "enableqty": {
  47746. "description": "可用量",
  47747. "type": "integer"
  47748. },
  47749. "fretdposition": {
  47750. "description": "冻结今日头寸",
  47751. "type": "integer"
  47752. },
  47753. "frozenqty": {
  47754. "description": "持仓冻结数量",
  47755. "type": "integer"
  47756. },
  47757. "goodscode": {
  47758. "description": "商品代码(内部)",
  47759. "type": "string"
  47760. },
  47761. "goodsid": {
  47762. "description": "商品Id",
  47763. "type": "integer"
  47764. },
  47765. "goodsname": {
  47766. "description": "商品名称",
  47767. "type": "string"
  47768. },
  47769. "goodunit": {
  47770. "description": "报价单位",
  47771. "type": "string"
  47772. },
  47773. "goodunitid": {
  47774. "description": "报价单位ID",
  47775. "type": "integer"
  47776. },
  47777. "holderamount": {
  47778. "description": "期初持仓总金额",
  47779. "type": "number"
  47780. },
  47781. "marketid": {
  47782. "description": "市场ID",
  47783. "type": "integer"
  47784. },
  47785. "openreqqty": {
  47786. "description": "开仓申请数量",
  47787. "type": "integer"
  47788. },
  47789. "opentotalqty": {
  47790. "description": "开仓总数量",
  47791. "type": "integer"
  47792. },
  47793. "otherfrozenqty": {
  47794. "description": "持仓其他冻结数量(交割冻结)",
  47795. "type": "integer"
  47796. },
  47797. "positionqty": {
  47798. "description": "期初持仓数量",
  47799. "type": "integer"
  47800. },
  47801. "szdz3freezqty": {
  47802. "description": "尚志大宗转换冻结总数量",
  47803. "type": "integer"
  47804. },
  47805. "tnqty": {
  47806. "description": "T+N冻结总量",
  47807. "type": "integer"
  47808. },
  47809. "tnusedqty": {
  47810. "description": "T+N使用量",
  47811. "type": "integer"
  47812. },
  47813. "trademode": {
  47814. "description": "交易模式",
  47815. "type": "integer"
  47816. },
  47817. "usedmargin": {
  47818. "description": "占用保证金",
  47819. "type": "number"
  47820. }
  47821. }
  47822. },
  47823. "taaccount.QueryAmountLogRsp": {
  47824. "type": "object",
  47825. "required": [
  47826. "accountid",
  47827. "amount",
  47828. "amountadjusttype",
  47829. "autoid",
  47830. "balance",
  47831. "createtime",
  47832. "currentbalance",
  47833. "operatetype"
  47834. ],
  47835. "properties": {
  47836. "OPERATETYPENAME": {
  47837. "description": "资金操作类型名称",
  47838. "type": "string"
  47839. },
  47840. "accountid": {
  47841. "description": "资金账户ID",
  47842. "type": "integer"
  47843. },
  47844. "agoodscode": {
  47845. "description": "竞拍商品代码",
  47846. "type": "string"
  47847. },
  47848. "agoodsname": {
  47849. "description": "竞拍商品名称",
  47850. "type": "string"
  47851. },
  47852. "amount": {
  47853. "description": "资金金额",
  47854. "type": "number"
  47855. },
  47856. "amountadjusttype": {
  47857. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  47858. "type": "integer"
  47859. },
  47860. "autoid": {
  47861. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  47862. "type": "integer"
  47863. },
  47864. "balance": {
  47865. "description": "期初余额",
  47866. "type": "number"
  47867. },
  47868. "businesscode": {
  47869. "description": "业务编号",
  47870. "type": "integer"
  47871. },
  47872. "createtime": {
  47873. "description": "发生时间",
  47874. "type": "string"
  47875. },
  47876. "currencyid": {
  47877. "description": "币种ID",
  47878. "type": "integer"
  47879. },
  47880. "currentbalance": {
  47881. "description": "期末余额(变动后金额)",
  47882. "type": "number"
  47883. },
  47884. "dgoodscode": {
  47885. "description": "交割商品代码",
  47886. "type": "string"
  47887. },
  47888. "dgoodsname": {
  47889. "description": "交割商品名称",
  47890. "type": "string"
  47891. },
  47892. "goodscode": {
  47893. "description": "商品代码",
  47894. "type": "string"
  47895. },
  47896. "goodsid": {
  47897. "description": "商品ID",
  47898. "type": "integer"
  47899. },
  47900. "goodsname": {
  47901. "description": "商品名称",
  47902. "type": "string"
  47903. },
  47904. "marketid": {
  47905. "description": "市场ID",
  47906. "type": "integer"
  47907. },
  47908. "marketname": {
  47909. "description": "市场名称",
  47910. "type": "string"
  47911. },
  47912. "moneyticket": {
  47913. "description": "资金流水号:银行端流水号",
  47914. "type": "integer"
  47915. },
  47916. "operatetype": {
  47917. "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:营销收款",
  47918. "type": "integer"
  47919. },
  47920. "relationorderid": {
  47921. "description": "关联单号",
  47922. "type": "string"
  47923. },
  47924. "remark": {
  47925. "description": "备注",
  47926. "type": "string"
  47927. },
  47928. "trademode": {
  47929. "description": "交易模式",
  47930. "type": "integer"
  47931. }
  47932. }
  47933. },
  47934. "taaccount.QueryHisAmountLogRsp": {
  47935. "type": "object",
  47936. "required": [
  47937. "accountid",
  47938. "amount",
  47939. "amountadjusttype",
  47940. "autoid",
  47941. "balance",
  47942. "createtime",
  47943. "currentbalance",
  47944. "histradedate",
  47945. "operatetype"
  47946. ],
  47947. "properties": {
  47948. "OPERATETYPENAME": {
  47949. "description": "资金操作类型名称",
  47950. "type": "string"
  47951. },
  47952. "accountid": {
  47953. "description": "资金账户ID",
  47954. "type": "integer"
  47955. },
  47956. "agoodscode": {
  47957. "description": "竞拍商品代码",
  47958. "type": "string"
  47959. },
  47960. "agoodsname": {
  47961. "description": "竞拍商品名称",
  47962. "type": "string"
  47963. },
  47964. "amount": {
  47965. "description": "资金金额",
  47966. "type": "number"
  47967. },
  47968. "amountadjusttype": {
  47969. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  47970. "type": "integer"
  47971. },
  47972. "autoid": {
  47973. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  47974. "type": "integer"
  47975. },
  47976. "balance": {
  47977. "description": "期初余额",
  47978. "type": "number"
  47979. },
  47980. "businesscode": {
  47981. "description": "业务编号",
  47982. "type": "integer"
  47983. },
  47984. "createtime": {
  47985. "description": "发生时间",
  47986. "type": "string"
  47987. },
  47988. "currencyid": {
  47989. "description": "币种ID",
  47990. "type": "integer"
  47991. },
  47992. "currentbalance": {
  47993. "description": "期末余额(变动后金额)",
  47994. "type": "number"
  47995. },
  47996. "dgoodscode": {
  47997. "description": "交割商品代码",
  47998. "type": "string"
  47999. },
  48000. "dgoodsname": {
  48001. "description": "交割商品名称",
  48002. "type": "string"
  48003. },
  48004. "goodscode": {
  48005. "description": "商品代码",
  48006. "type": "string"
  48007. },
  48008. "goodsid": {
  48009. "description": "商品ID",
  48010. "type": "integer"
  48011. },
  48012. "goodsname": {
  48013. "description": "商品名称",
  48014. "type": "string"
  48015. },
  48016. "histradedate": {
  48017. "description": "历史交易日",
  48018. "type": "string"
  48019. },
  48020. "isvaliddata": {
  48021. "description": "是否有效 - 0:无效 1:有效",
  48022. "type": "integer"
  48023. },
  48024. "marketid": {
  48025. "description": "市场ID",
  48026. "type": "integer"
  48027. },
  48028. "marketname": {
  48029. "description": "市场名称",
  48030. "type": "string"
  48031. },
  48032. "moneyticket": {
  48033. "description": "资金流水号:银行端流水号",
  48034. "type": "integer"
  48035. },
  48036. "operatetype": {
  48037. "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:营销收款",
  48038. "type": "integer"
  48039. },
  48040. "relationorderid": {
  48041. "description": "关联单号",
  48042. "type": "string"
  48043. },
  48044. "remark": {
  48045. "description": "备注",
  48046. "type": "string"
  48047. },
  48048. "trademode": {
  48049. "description": "交易模式",
  48050. "type": "integer"
  48051. }
  48052. }
  48053. },
  48054. "trade.QueryRecieptOrderRsp": {
  48055. "type": "object",
  48056. "required": [
  48057. "ordertime"
  48058. ],
  48059. "properties": {
  48060. "accountName": {
  48061. "description": "所属账号名称(已脱敏)",
  48062. "type": "string"
  48063. },
  48064. "accountid": {
  48065. "description": "资金账号",
  48066. "type": "integer"
  48067. },
  48068. "buyorsell": {
  48069. "description": "方向 - 0:买 1:卖",
  48070. "type": "integer"
  48071. },
  48072. "enableqty": {
  48073. "description": "可摘数量",
  48074. "type": "integer"
  48075. },
  48076. "goodscode": {
  48077. "description": "商品代码",
  48078. "type": "string"
  48079. },
  48080. "goodsid": {
  48081. "description": "商品ID",
  48082. "type": "integer"
  48083. },
  48084. "goodsname": {
  48085. "description": "商品名称",
  48086. "type": "string"
  48087. },
  48088. "orderid": {
  48089. "description": "委托单号",
  48090. "type": "string"
  48091. },
  48092. "orderprice": {
  48093. "description": "委托价格",
  48094. "type": "number"
  48095. },
  48096. "ordertime": {
  48097. "description": "委托时间",
  48098. "type": "string"
  48099. },
  48100. "tradedate": {
  48101. "description": "交易日(yyyyMMdd)",
  48102. "type": "string"
  48103. }
  48104. }
  48105. },
  48106. "user.LoginQueryRsp": {
  48107. "type": "object",
  48108. "properties": {
  48109. "areaRoles": {
  48110. "description": "所属角色信息",
  48111. "type": "array",
  48112. "items": {
  48113. "$ref": "#/definitions/models.Arearole"
  48114. }
  48115. },
  48116. "exchangeRateConfigs": {
  48117. "description": "汇率信息",
  48118. "type": "array",
  48119. "items": {
  48120. "$ref": "#/definitions/models.Exchangerateconfig"
  48121. }
  48122. },
  48123. "externalExchanges": {
  48124. "description": "外部交易所",
  48125. "type": "array",
  48126. "items": {
  48127. "$ref": "#/definitions/models.Externalexchange"
  48128. }
  48129. },
  48130. "goodsgroups": {
  48131. "description": "商品组",
  48132. "type": "array",
  48133. "items": {
  48134. "$ref": "#/definitions/models.Goodsgroup"
  48135. }
  48136. },
  48137. "loginAccount": {
  48138. "description": "登录账号",
  48139. "$ref": "#/definitions/models.Loginaccount"
  48140. },
  48141. "markets": {
  48142. "description": "市场",
  48143. "type": "array",
  48144. "items": {
  48145. "$ref": "#/definitions/models.Market"
  48146. }
  48147. },
  48148. "systemParams": {
  48149. "description": "系统参数",
  48150. "type": "array",
  48151. "items": {
  48152. "$ref": "#/definitions/models.Systemparam"
  48153. }
  48154. },
  48155. "userAccount": {
  48156. "description": "用户账号",
  48157. "$ref": "#/definitions/models.Useraccount"
  48158. },
  48159. "userInfo": {
  48160. "description": "用户信息",
  48161. "$ref": "#/definitions/models.Userinfo"
  48162. },
  48163. "username": {
  48164. "description": "用户姓名",
  48165. "type": "string"
  48166. }
  48167. }
  48168. }
  48169. },
  48170. "securityDefinitions": {
  48171. "ApiKeyAuth": {
  48172. "type": "apiKey",
  48173. "name": "Authorization",
  48174. "in": "header"
  48175. },
  48176. "Group": {
  48177. "type": "apiKey",
  48178. "name": "Group",
  48179. "in": "header"
  48180. },
  48181. "LoginID": {
  48182. "type": "apiKey",
  48183. "name": "LoginID",
  48184. "in": "header"
  48185. }
  48186. }
  48187. }`
  48188. // SwaggerInfo holds exported Swagger Info so clients can modify it
  48189. var SwaggerInfo = &swag.Spec{
  48190. Version: "1.0",
  48191. Host: "",
  48192. BasePath: "",
  48193. Schemes: []string{},
  48194. Title: "MTP2.0 查询服务 API",
  48195. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  48196. InfoInstanceName: "swagger",
  48197. SwaggerTemplate: docTemplate,
  48198. }
  48199. func init() {
  48200. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  48201. }