docs.go 1.7 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646
  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. "/Ferroalloy/GetSpotGoodsPrice": {
  7551. "get": {
  7552. "security": [
  7553. {
  7554. "ApiKeyAuth": []
  7555. }
  7556. ],
  7557. "produces": [
  7558. "application/json"
  7559. ],
  7560. "tags": [
  7561. "铁合金"
  7562. ],
  7563. "summary": "获取现货行情",
  7564. "parameters": [
  7565. {
  7566. "type": "integer",
  7567. "description": "页码",
  7568. "name": "page",
  7569. "in": "query"
  7570. },
  7571. {
  7572. "type": "integer",
  7573. "description": "每页条数",
  7574. "name": "pagesize",
  7575. "in": "query"
  7576. }
  7577. ],
  7578. "responses": {
  7579. "200": {
  7580. "description": "OK",
  7581. "schema": {
  7582. "type": "array",
  7583. "items": {
  7584. "$ref": "#/definitions/models.GErmcpspotgoodsprice"
  7585. }
  7586. }
  7587. },
  7588. "500": {
  7589. "description": "Internal Server Error",
  7590. "schema": {
  7591. "$ref": "#/definitions/app.Response"
  7592. }
  7593. }
  7594. }
  7595. }
  7596. },
  7597. "/Ferroalloy/QueryMyRefer": {
  7598. "get": {
  7599. "security": [
  7600. {
  7601. "ApiKeyAuth": []
  7602. }
  7603. ],
  7604. "produces": [
  7605. "application/json"
  7606. ],
  7607. "tags": [
  7608. "铁合金"
  7609. ],
  7610. "summary": "查询我的推荐列表",
  7611. "parameters": [
  7612. {
  7613. "type": "integer",
  7614. "description": "用户ID",
  7615. "name": "userid",
  7616. "in": "query",
  7617. "required": true
  7618. },
  7619. {
  7620. "type": "integer",
  7621. "description": "页码",
  7622. "name": "page",
  7623. "in": "query"
  7624. },
  7625. {
  7626. "type": "integer",
  7627. "description": "每页条数",
  7628. "name": "pagesize",
  7629. "in": "query"
  7630. }
  7631. ],
  7632. "responses": {
  7633. "200": {
  7634. "description": "OK",
  7635. "schema": {
  7636. "type": "array",
  7637. "items": {
  7638. "$ref": "#/definitions/models.MyRefer"
  7639. }
  7640. }
  7641. },
  7642. "500": {
  7643. "description": "Internal Server Error",
  7644. "schema": {
  7645. "$ref": "#/definitions/app.Response"
  7646. }
  7647. }
  7648. }
  7649. }
  7650. },
  7651. "/Ferroalloy/QueryMyRegisterMoney": {
  7652. "get": {
  7653. "produces": [
  7654. "application/json"
  7655. ],
  7656. "tags": [
  7657. "铁合金"
  7658. ],
  7659. "summary": "查询我的注册红包",
  7660. "parameters": [
  7661. {
  7662. "type": "integer",
  7663. "description": "资金账户",
  7664. "name": "accountid",
  7665. "in": "query",
  7666. "required": true
  7667. }
  7668. ],
  7669. "responses": {
  7670. "200": {
  7671. "description": "OK",
  7672. "schema": {
  7673. "type": "array",
  7674. "items": {
  7675. "$ref": "#/definitions/models.RegisterMoney"
  7676. }
  7677. }
  7678. },
  7679. "500": {
  7680. "description": "Internal Server Error",
  7681. "schema": {
  7682. "$ref": "#/definitions/app.Response"
  7683. }
  7684. }
  7685. }
  7686. }
  7687. },
  7688. "/Ferroalloy/QueryTHJWrstandard": {
  7689. "get": {
  7690. "security": [
  7691. {
  7692. "ApiKeyAuth": []
  7693. }
  7694. ],
  7695. "produces": [
  7696. "application/json"
  7697. ],
  7698. "tags": [
  7699. "铁合金"
  7700. ],
  7701. "summary": "查询采购列表",
  7702. "parameters": [
  7703. {
  7704. "type": "string",
  7705. "description": "现货商品名称(模糊查询)",
  7706. "name": "wrstandardname",
  7707. "in": "query"
  7708. },
  7709. {
  7710. "type": "integer",
  7711. "description": "页码",
  7712. "name": "page",
  7713. "in": "query"
  7714. },
  7715. {
  7716. "type": "integer",
  7717. "description": "每页条数",
  7718. "name": "pagesize",
  7719. "in": "query"
  7720. }
  7721. ],
  7722. "responses": {
  7723. "200": {
  7724. "description": "OK",
  7725. "schema": {
  7726. "type": "array",
  7727. "items": {
  7728. "$ref": "#/definitions/models.THJWrstandard"
  7729. }
  7730. }
  7731. },
  7732. "500": {
  7733. "description": "Internal Server Error",
  7734. "schema": {
  7735. "$ref": "#/definitions/app.Response"
  7736. }
  7737. }
  7738. }
  7739. }
  7740. },
  7741. "/Ferroalloy/QueryUserScoreLog": {
  7742. "get": {
  7743. "security": [
  7744. {
  7745. "ApiKeyAuth": []
  7746. }
  7747. ],
  7748. "produces": [
  7749. "application/json"
  7750. ],
  7751. "tags": [
  7752. "铁合金"
  7753. ],
  7754. "summary": "查询我的积分流水",
  7755. "parameters": [
  7756. {
  7757. "type": "integer",
  7758. "description": "用户ID",
  7759. "name": "userid",
  7760. "in": "query",
  7761. "required": true
  7762. },
  7763. {
  7764. "type": "integer",
  7765. "description": "页码",
  7766. "name": "page",
  7767. "in": "query"
  7768. },
  7769. {
  7770. "type": "integer",
  7771. "description": "每页条数",
  7772. "name": "pagesize",
  7773. "in": "query"
  7774. }
  7775. ],
  7776. "responses": {
  7777. "200": {
  7778. "description": "OK",
  7779. "schema": {
  7780. "type": "array",
  7781. "items": {
  7782. "$ref": "#/definitions/models.GThjuserscorelog"
  7783. }
  7784. }
  7785. },
  7786. "500": {
  7787. "description": "Internal Server Error",
  7788. "schema": {
  7789. "$ref": "#/definitions/app.Response"
  7790. }
  7791. }
  7792. }
  7793. }
  7794. },
  7795. "/Ferroalloy/Signin": {
  7796. "post": {
  7797. "security": [
  7798. {
  7799. "ApiKeyAuth": []
  7800. }
  7801. ],
  7802. "produces": [
  7803. "application/json"
  7804. ],
  7805. "tags": [
  7806. "铁合金"
  7807. ],
  7808. "summary": "用户签到",
  7809. "parameters": [
  7810. {
  7811. "description": "用户签到请求",
  7812. "name": "jsonBody",
  7813. "in": "body",
  7814. "required": true,
  7815. "schema": {
  7816. "$ref": "#/definitions/models.THJSigninReq"
  7817. }
  7818. }
  7819. ],
  7820. "responses": {
  7821. "200": {
  7822. "description": "OK",
  7823. "schema": {
  7824. "$ref": "#/definitions/models.THJSigninRsp"
  7825. }
  7826. },
  7827. "500": {
  7828. "description": "Internal Server Error",
  7829. "schema": {
  7830. "$ref": "#/definitions/app.Response"
  7831. }
  7832. }
  7833. }
  7834. }
  7835. },
  7836. "/Guangzuan/GZBSFWOrderOperate": {
  7837. "get": {
  7838. "security": [
  7839. {
  7840. "ApiKeyAuth": []
  7841. },
  7842. {
  7843. "LoginID": []
  7844. },
  7845. {
  7846. "Group": []
  7847. }
  7848. ],
  7849. "produces": [
  7850. "application/json"
  7851. ],
  7852. "tags": [
  7853. "广钻"
  7854. ],
  7855. "summary": "保税服务单据操作信息",
  7856. "parameters": [
  7857. {
  7858. "type": "integer",
  7859. "description": "单据ID",
  7860. "name": "orderid",
  7861. "in": "query",
  7862. "required": true
  7863. }
  7864. ],
  7865. "responses": {
  7866. "200": {
  7867. "description": "OK",
  7868. "schema": {
  7869. "type": "array",
  7870. "items": {
  7871. "$ref": "#/definitions/models.Gzbsfworderoperate"
  7872. }
  7873. }
  7874. },
  7875. "500": {
  7876. "description": "Internal Server Error",
  7877. "schema": {
  7878. "$ref": "#/definitions/app.Response"
  7879. }
  7880. }
  7881. }
  7882. }
  7883. },
  7884. "/Guangzuan/GetGoods": {
  7885. "get": {
  7886. "security": [
  7887. {
  7888. "ApiKeyAuth": []
  7889. },
  7890. {
  7891. "LoginID": []
  7892. },
  7893. {
  7894. "Group": []
  7895. }
  7896. ],
  7897. "produces": [
  7898. "application/json"
  7899. ],
  7900. "tags": [
  7901. "广钻"
  7902. ],
  7903. "summary": "获取钻石详情",
  7904. "parameters": [
  7905. {
  7906. "type": "string",
  7907. "description": "商品编号",
  7908. "name": "goodsno",
  7909. "in": "query",
  7910. "required": true
  7911. }
  7912. ],
  7913. "responses": {
  7914. "200": {
  7915. "description": "OK",
  7916. "schema": {
  7917. "$ref": "#/definitions/models.GZGoods"
  7918. }
  7919. },
  7920. "500": {
  7921. "description": "Internal Server Error",
  7922. "schema": {
  7923. "$ref": "#/definitions/app.Response"
  7924. }
  7925. }
  7926. }
  7927. }
  7928. },
  7929. "/Guangzuan/GzCertAddressConfig": {
  7930. "get": {
  7931. "security": [
  7932. {
  7933. "ApiKeyAuth": []
  7934. },
  7935. {
  7936. "LoginID": []
  7937. },
  7938. {
  7939. "Group": []
  7940. }
  7941. ],
  7942. "produces": [
  7943. "application/json"
  7944. ],
  7945. "tags": [
  7946. "广钻"
  7947. ],
  7948. "summary": "Rapaport最新报价表(广钻)",
  7949. "responses": {
  7950. "200": {
  7951. "description": "OK",
  7952. "schema": {
  7953. "type": "array",
  7954. "items": {
  7955. "$ref": "#/definitions/models.Gzcertaddressconfig"
  7956. }
  7957. }
  7958. },
  7959. "500": {
  7960. "description": "Internal Server Error",
  7961. "schema": {
  7962. "$ref": "#/definitions/app.Response"
  7963. }
  7964. }
  7965. }
  7966. }
  7967. },
  7968. "/Guangzuan/GzCertAddressParam": {
  7969. "get": {
  7970. "security": [
  7971. {
  7972. "ApiKeyAuth": []
  7973. },
  7974. {
  7975. "LoginID": []
  7976. },
  7977. {
  7978. "Group": []
  7979. }
  7980. ],
  7981. "produces": [
  7982. "application/json"
  7983. ],
  7984. "tags": [
  7985. "广钻"
  7986. ],
  7987. "summary": "钻石证书地址参数",
  7988. "responses": {
  7989. "200": {
  7990. "description": "OK",
  7991. "schema": {
  7992. "type": "array",
  7993. "items": {
  7994. "$ref": "#/definitions/models.Gzcertaddressparam"
  7995. }
  7996. }
  7997. },
  7998. "500": {
  7999. "description": "Internal Server Error",
  8000. "schema": {
  8001. "$ref": "#/definitions/app.Response"
  8002. }
  8003. }
  8004. }
  8005. }
  8006. },
  8007. "/Guangzuan/HomeData": {
  8008. "get": {
  8009. "security": [
  8010. {
  8011. "ApiKeyAuth": []
  8012. },
  8013. {
  8014. "LoginID": []
  8015. },
  8016. {
  8017. "Group": []
  8018. }
  8019. ],
  8020. "produces": [
  8021. "application/json"
  8022. ],
  8023. "tags": [
  8024. "广钻"
  8025. ],
  8026. "summary": "首页统计数据",
  8027. "parameters": [
  8028. {
  8029. "type": "integer",
  8030. "description": "用户ID",
  8031. "name": "userid",
  8032. "in": "query",
  8033. "required": true
  8034. }
  8035. ],
  8036. "responses": {
  8037. "200": {
  8038. "description": "OK",
  8039. "schema": {
  8040. "$ref": "#/definitions/models.GZHomeData"
  8041. }
  8042. },
  8043. "500": {
  8044. "description": "Internal Server Error",
  8045. "schema": {
  8046. "$ref": "#/definitions/app.Response"
  8047. }
  8048. }
  8049. }
  8050. }
  8051. },
  8052. "/Guangzuan/PriceCalc": {
  8053. "get": {
  8054. "security": [
  8055. {
  8056. "ApiKeyAuth": []
  8057. },
  8058. {
  8059. "LoginID": []
  8060. },
  8061. {
  8062. "Group": []
  8063. }
  8064. ],
  8065. "produces": [
  8066. "application/json"
  8067. ],
  8068. "tags": [
  8069. "广钻"
  8070. ],
  8071. "summary": "钻石价格计算器",
  8072. "parameters": [
  8073. {
  8074. "type": "integer",
  8075. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  8076. "name": "zsshape",
  8077. "in": "query",
  8078. "required": true
  8079. },
  8080. {
  8081. "type": "string",
  8082. "description": "颜色(D-M)",
  8083. "name": "zscolor",
  8084. "in": "query",
  8085. "required": true
  8086. },
  8087. {
  8088. "type": "string",
  8089. "description": "净度",
  8090. "name": "zsclarity",
  8091. "in": "query",
  8092. "required": true
  8093. },
  8094. {
  8095. "type": "number",
  8096. "description": "重量",
  8097. "name": "weight",
  8098. "in": "query",
  8099. "required": true
  8100. },
  8101. {
  8102. "type": "number",
  8103. "description": "汇率",
  8104. "name": "rate",
  8105. "in": "query",
  8106. "required": true
  8107. },
  8108. {
  8109. "type": "number",
  8110. "description": "折扣(%), 方向(加:10, 减:-10 )",
  8111. "name": "discount",
  8112. "in": "query"
  8113. }
  8114. ],
  8115. "responses": {
  8116. "200": {
  8117. "description": "OK",
  8118. "schema": {
  8119. "type": "array",
  8120. "items": {
  8121. "$ref": "#/definitions/models.Gzrapaportprice"
  8122. }
  8123. }
  8124. },
  8125. "500": {
  8126. "description": "Internal Server Error",
  8127. "schema": {
  8128. "$ref": "#/definitions/app.Response"
  8129. }
  8130. }
  8131. }
  8132. }
  8133. },
  8134. "/Guangzuan/QueryBuyOrder": {
  8135. "get": {
  8136. "security": [
  8137. {
  8138. "ApiKeyAuth": []
  8139. },
  8140. {
  8141. "LoginID": []
  8142. },
  8143. {
  8144. "Group": []
  8145. }
  8146. ],
  8147. "produces": [
  8148. "application/json"
  8149. ],
  8150. "tags": [
  8151. "广钻"
  8152. ],
  8153. "summary": "查询求购大厅委托单",
  8154. "parameters": [
  8155. {
  8156. "type": "integer",
  8157. "description": "页码",
  8158. "name": "page",
  8159. "in": "query"
  8160. },
  8161. {
  8162. "type": "integer",
  8163. "description": "每页条数",
  8164. "name": "pagesize",
  8165. "in": "query"
  8166. },
  8167. {
  8168. "type": "string",
  8169. "description": "商品(查询字段-模糊查询)",
  8170. "name": "zsallproperties",
  8171. "in": "query"
  8172. },
  8173. {
  8174. "type": "string",
  8175. "description": "钻石分类, 格式:1,2,3",
  8176. "name": "zscategorys",
  8177. "in": "query"
  8178. },
  8179. {
  8180. "type": "integer",
  8181. "description": "委托单号",
  8182. "name": "wrtradeorderid",
  8183. "in": "query"
  8184. },
  8185. {
  8186. "type": "string",
  8187. "description": "买方(查询字段-模糊查询)",
  8188. "name": "buyusername",
  8189. "in": "query"
  8190. }
  8191. ],
  8192. "responses": {
  8193. "200": {
  8194. "description": "OK",
  8195. "schema": {
  8196. "type": "array",
  8197. "items": {
  8198. "$ref": "#/definitions/models.BuyOrder"
  8199. }
  8200. }
  8201. },
  8202. "500": {
  8203. "description": "Internal Server Error",
  8204. "schema": {
  8205. "$ref": "#/definitions/app.Response"
  8206. }
  8207. }
  8208. }
  8209. }
  8210. },
  8211. "/Guangzuan/QueryDiamond": {
  8212. "post": {
  8213. "security": [
  8214. {
  8215. "ApiKeyAuth": []
  8216. },
  8217. {
  8218. "LoginID": []
  8219. },
  8220. {
  8221. "Group": []
  8222. }
  8223. ],
  8224. "produces": [
  8225. "application/json"
  8226. ],
  8227. "tags": [
  8228. "广钻"
  8229. ],
  8230. "summary": "钻石搜索",
  8231. "parameters": [
  8232. {
  8233. "description": "钻石搜索入参",
  8234. "name": "data",
  8235. "in": "body",
  8236. "required": true,
  8237. "schema": {
  8238. "$ref": "#/definitions/models.SellOrderQueryReq"
  8239. }
  8240. }
  8241. ],
  8242. "responses": {
  8243. "200": {
  8244. "description": "OK",
  8245. "schema": {
  8246. "type": "array",
  8247. "items": {
  8248. "$ref": "#/definitions/models.SellOrder"
  8249. }
  8250. }
  8251. },
  8252. "500": {
  8253. "description": "Internal Server Error",
  8254. "schema": {
  8255. "$ref": "#/definitions/app.Response"
  8256. }
  8257. }
  8258. }
  8259. }
  8260. },
  8261. "/Guangzuan/QueryGZBSFWOrder": {
  8262. "get": {
  8263. "security": [
  8264. {
  8265. "ApiKeyAuth": []
  8266. },
  8267. {
  8268. "LoginID": []
  8269. },
  8270. {
  8271. "Group": []
  8272. }
  8273. ],
  8274. "produces": [
  8275. "application/json"
  8276. ],
  8277. "tags": [
  8278. "广钻"
  8279. ],
  8280. "summary": "查询保税服务单据",
  8281. "parameters": [
  8282. {
  8283. "type": "integer",
  8284. "description": "用户ID",
  8285. "name": "userid",
  8286. "in": "query",
  8287. "required": true
  8288. },
  8289. {
  8290. "type": "integer",
  8291. "description": "页码",
  8292. "name": "page",
  8293. "in": "query"
  8294. },
  8295. {
  8296. "type": "integer",
  8297. "description": "每页条数",
  8298. "name": "pagesize",
  8299. "in": "query"
  8300. }
  8301. ],
  8302. "responses": {
  8303. "200": {
  8304. "description": "OK",
  8305. "schema": {
  8306. "type": "array",
  8307. "items": {
  8308. "$ref": "#/definitions/models.GzbsfworderM"
  8309. }
  8310. }
  8311. },
  8312. "500": {
  8313. "description": "Internal Server Error",
  8314. "schema": {
  8315. "$ref": "#/definitions/app.Response"
  8316. }
  8317. }
  8318. }
  8319. }
  8320. },
  8321. "/Guangzuan/QueryGZBSFWOrderDetail": {
  8322. "get": {
  8323. "security": [
  8324. {
  8325. "ApiKeyAuth": []
  8326. },
  8327. {
  8328. "LoginID": []
  8329. },
  8330. {
  8331. "Group": []
  8332. }
  8333. ],
  8334. "produces": [
  8335. "application/json"
  8336. ],
  8337. "tags": [
  8338. "广钻"
  8339. ],
  8340. "summary": "查询保税服务单据明细",
  8341. "parameters": [
  8342. {
  8343. "type": "integer",
  8344. "description": "用户ID",
  8345. "name": "userid",
  8346. "in": "query",
  8347. "required": true
  8348. },
  8349. {
  8350. "type": "integer",
  8351. "description": "单据ID",
  8352. "name": "orderid",
  8353. "in": "query"
  8354. },
  8355. {
  8356. "type": "integer",
  8357. "description": "页码",
  8358. "name": "page",
  8359. "in": "query"
  8360. },
  8361. {
  8362. "type": "integer",
  8363. "description": "每页条数",
  8364. "name": "pagesize",
  8365. "in": "query"
  8366. }
  8367. ],
  8368. "responses": {
  8369. "200": {
  8370. "description": "OK",
  8371. "schema": {
  8372. "type": "array",
  8373. "items": {
  8374. "$ref": "#/definitions/models.GzbsfworderdetailM"
  8375. }
  8376. }
  8377. },
  8378. "500": {
  8379. "description": "Internal Server Error",
  8380. "schema": {
  8381. "$ref": "#/definitions/app.Response"
  8382. }
  8383. }
  8384. }
  8385. }
  8386. },
  8387. "/Guangzuan/QueryGZCJBSOrderFile": {
  8388. "get": {
  8389. "security": [
  8390. {
  8391. "ApiKeyAuth": []
  8392. },
  8393. {
  8394. "LoginID": []
  8395. },
  8396. {
  8397. "Group": []
  8398. }
  8399. ],
  8400. "produces": [
  8401. "application/json"
  8402. ],
  8403. "tags": [
  8404. "广钻"
  8405. ],
  8406. "summary": "出境保税单据文件",
  8407. "parameters": [
  8408. {
  8409. "type": "integer",
  8410. "description": "单据ID",
  8411. "name": "orderid",
  8412. "in": "query",
  8413. "required": true
  8414. },
  8415. {
  8416. "type": "integer",
  8417. "description": "页码",
  8418. "name": "page",
  8419. "in": "query"
  8420. },
  8421. {
  8422. "type": "integer",
  8423. "description": "每页条数",
  8424. "name": "pagesize",
  8425. "in": "query"
  8426. }
  8427. ],
  8428. "responses": {
  8429. "200": {
  8430. "description": "OK",
  8431. "schema": {
  8432. "type": "array",
  8433. "items": {
  8434. "$ref": "#/definitions/models.GzcjbsorderfileM"
  8435. }
  8436. }
  8437. },
  8438. "500": {
  8439. "description": "Internal Server Error",
  8440. "schema": {
  8441. "$ref": "#/definitions/app.Response"
  8442. }
  8443. }
  8444. }
  8445. }
  8446. },
  8447. "/Guangzuan/QueryGZCJJCOrder": {
  8448. "get": {
  8449. "security": [
  8450. {
  8451. "ApiKeyAuth": []
  8452. },
  8453. {
  8454. "LoginID": []
  8455. },
  8456. {
  8457. "Group": []
  8458. }
  8459. ],
  8460. "produces": [
  8461. "application/json"
  8462. ],
  8463. "tags": [
  8464. "广钻"
  8465. ],
  8466. "summary": "查询出境检测单据",
  8467. "parameters": [
  8468. {
  8469. "type": "integer",
  8470. "description": "用户ID",
  8471. "name": "userid",
  8472. "in": "query",
  8473. "required": true
  8474. },
  8475. {
  8476. "type": "integer",
  8477. "description": "页码",
  8478. "name": "page",
  8479. "in": "query"
  8480. },
  8481. {
  8482. "type": "integer",
  8483. "description": "每页条数",
  8484. "name": "pagesize",
  8485. "in": "query"
  8486. }
  8487. ],
  8488. "responses": {
  8489. "200": {
  8490. "description": "OK",
  8491. "schema": {
  8492. "type": "array",
  8493. "items": {
  8494. "$ref": "#/definitions/models.GzcjjcorderM"
  8495. }
  8496. }
  8497. },
  8498. "500": {
  8499. "description": "Internal Server Error",
  8500. "schema": {
  8501. "$ref": "#/definitions/app.Response"
  8502. }
  8503. }
  8504. }
  8505. }
  8506. },
  8507. "/Guangzuan/QueryGZCJJCOrderDetail": {
  8508. "get": {
  8509. "security": [
  8510. {
  8511. "ApiKeyAuth": []
  8512. },
  8513. {
  8514. "LoginID": []
  8515. },
  8516. {
  8517. "Group": []
  8518. }
  8519. ],
  8520. "produces": [
  8521. "application/json"
  8522. ],
  8523. "tags": [
  8524. "广钻"
  8525. ],
  8526. "summary": "查询出境检测单据明细(批次信息)",
  8527. "parameters": [
  8528. {
  8529. "type": "integer",
  8530. "description": "用户ID",
  8531. "name": "userid",
  8532. "in": "query",
  8533. "required": true
  8534. },
  8535. {
  8536. "type": "integer",
  8537. "description": "单据ID",
  8538. "name": "orderid",
  8539. "in": "query"
  8540. },
  8541. {
  8542. "type": "integer",
  8543. "description": "页码",
  8544. "name": "page",
  8545. "in": "query"
  8546. },
  8547. {
  8548. "type": "integer",
  8549. "description": "每页条数",
  8550. "name": "pagesize",
  8551. "in": "query"
  8552. }
  8553. ],
  8554. "responses": {
  8555. "200": {
  8556. "description": "OK",
  8557. "schema": {
  8558. "type": "array",
  8559. "items": {
  8560. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  8561. }
  8562. }
  8563. },
  8564. "500": {
  8565. "description": "Internal Server Error",
  8566. "schema": {
  8567. "$ref": "#/definitions/app.Response"
  8568. }
  8569. }
  8570. }
  8571. }
  8572. },
  8573. "/Guangzuan/QueryMemberReport": {
  8574. "get": {
  8575. "security": [
  8576. {
  8577. "ApiKeyAuth": []
  8578. },
  8579. {
  8580. "LoginID": []
  8581. },
  8582. {
  8583. "Group": []
  8584. }
  8585. ],
  8586. "produces": [
  8587. "application/json"
  8588. ],
  8589. "tags": [
  8590. "广钻"
  8591. ],
  8592. "summary": "查询会员报表",
  8593. "parameters": [
  8594. {
  8595. "type": "integer",
  8596. "description": "用户ID",
  8597. "name": "userid",
  8598. "in": "query",
  8599. "required": true
  8600. },
  8601. {
  8602. "type": "integer",
  8603. "description": "页码",
  8604. "name": "page",
  8605. "in": "query"
  8606. },
  8607. {
  8608. "type": "integer",
  8609. "description": "每页条数",
  8610. "name": "pagesize",
  8611. "in": "query"
  8612. },
  8613. {
  8614. "type": "string",
  8615. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  8616. "name": "cycletype",
  8617. "in": "query"
  8618. },
  8619. {
  8620. "type": "string",
  8621. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8622. "name": "begindate",
  8623. "in": "query",
  8624. "required": true
  8625. },
  8626. {
  8627. "type": "string",
  8628. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  8629. "name": "enddate",
  8630. "in": "query",
  8631. "required": true
  8632. }
  8633. ],
  8634. "responses": {
  8635. "200": {
  8636. "description": "OK",
  8637. "schema": {
  8638. "type": "array",
  8639. "items": {
  8640. "$ref": "#/definitions/models.Reckondaytaaccount"
  8641. }
  8642. }
  8643. },
  8644. "500": {
  8645. "description": "Internal Server Error",
  8646. "schema": {
  8647. "$ref": "#/definitions/app.Response"
  8648. }
  8649. }
  8650. }
  8651. }
  8652. },
  8653. "/Guangzuan/QueryMyBargainApply": {
  8654. "get": {
  8655. "security": [
  8656. {
  8657. "ApiKeyAuth": []
  8658. },
  8659. {
  8660. "LoginID": []
  8661. },
  8662. {
  8663. "Group": []
  8664. }
  8665. ],
  8666. "produces": [
  8667. "application/json"
  8668. ],
  8669. "tags": [
  8670. "广钻"
  8671. ],
  8672. "summary": "查询询价-求购",
  8673. "parameters": [
  8674. {
  8675. "type": "integer",
  8676. "description": "用户ID",
  8677. "name": "userid",
  8678. "in": "query",
  8679. "required": true
  8680. },
  8681. {
  8682. "type": "integer",
  8683. "description": "页码",
  8684. "name": "page",
  8685. "in": "query"
  8686. },
  8687. {
  8688. "type": "integer",
  8689. "description": "每页条数",
  8690. "name": "pagesize",
  8691. "in": "query"
  8692. },
  8693. {
  8694. "type": "integer",
  8695. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8696. "name": "applystatus",
  8697. "in": "query"
  8698. },
  8699. {
  8700. "type": "integer",
  8701. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8702. "name": "type",
  8703. "in": "query"
  8704. },
  8705. {
  8706. "type": "string",
  8707. "description": "关联委托单ID",
  8708. "name": "wrtradeorderid",
  8709. "in": "query"
  8710. }
  8711. ],
  8712. "responses": {
  8713. "200": {
  8714. "description": "OK",
  8715. "schema": {
  8716. "type": "array",
  8717. "items": {
  8718. "$ref": "#/definitions/models.MyBargainApply"
  8719. }
  8720. }
  8721. },
  8722. "500": {
  8723. "description": "Internal Server Error",
  8724. "schema": {
  8725. "$ref": "#/definitions/app.Response"
  8726. }
  8727. }
  8728. }
  8729. }
  8730. },
  8731. "/Guangzuan/QueryMyBuyOrder": {
  8732. "get": {
  8733. "security": [
  8734. {
  8735. "ApiKeyAuth": []
  8736. },
  8737. {
  8738. "LoginID": []
  8739. },
  8740. {
  8741. "Group": []
  8742. }
  8743. ],
  8744. "produces": [
  8745. "application/json"
  8746. ],
  8747. "tags": [
  8748. "广钻"
  8749. ],
  8750. "summary": "查询我的求购",
  8751. "parameters": [
  8752. {
  8753. "type": "integer",
  8754. "description": "用户ID",
  8755. "name": "userid",
  8756. "in": "query",
  8757. "required": true
  8758. },
  8759. {
  8760. "type": "integer",
  8761. "description": "页码",
  8762. "name": "page",
  8763. "in": "query"
  8764. },
  8765. {
  8766. "type": "integer",
  8767. "description": "每页条数",
  8768. "name": "pagesize",
  8769. "in": "query"
  8770. },
  8771. {
  8772. "type": "string",
  8773. "description": "商品(查询字段-模糊查询)",
  8774. "name": "zsallproperties",
  8775. "in": "query"
  8776. },
  8777. {
  8778. "type": "string",
  8779. "description": "钻石分类, 格式:1,2,3",
  8780. "name": "zscategorys",
  8781. "in": "query"
  8782. },
  8783. {
  8784. "type": "integer",
  8785. "description": "委托单号",
  8786. "name": "wrtradeorderid",
  8787. "in": "query"
  8788. },
  8789. {
  8790. "type": "boolean",
  8791. "description": "是否历史查询",
  8792. "name": "ishis",
  8793. "in": "query"
  8794. },
  8795. {
  8796. "type": "string",
  8797. "description": "开始交易日(yyyymmdd)",
  8798. "name": "begindate",
  8799. "in": "query"
  8800. },
  8801. {
  8802. "type": "string",
  8803. "description": "结束交易日(yyyymmdd)",
  8804. "name": "enddate",
  8805. "in": "query"
  8806. }
  8807. ],
  8808. "responses": {
  8809. "200": {
  8810. "description": "OK",
  8811. "schema": {
  8812. "type": "array",
  8813. "items": {
  8814. "$ref": "#/definitions/models.MyBuyOrder"
  8815. }
  8816. }
  8817. },
  8818. "500": {
  8819. "description": "Internal Server Error",
  8820. "schema": {
  8821. "$ref": "#/definitions/app.Response"
  8822. }
  8823. }
  8824. }
  8825. }
  8826. },
  8827. "/Guangzuan/QueryMyDeListing": {
  8828. "get": {
  8829. "security": [
  8830. {
  8831. "ApiKeyAuth": []
  8832. },
  8833. {
  8834. "LoginID": []
  8835. },
  8836. {
  8837. "Group": []
  8838. }
  8839. ],
  8840. "produces": [
  8841. "application/json"
  8842. ],
  8843. "tags": [
  8844. "广钻"
  8845. ],
  8846. "summary": "查询我的摘牌",
  8847. "parameters": [
  8848. {
  8849. "type": "integer",
  8850. "description": "用户ID",
  8851. "name": "userid",
  8852. "in": "query",
  8853. "required": true
  8854. },
  8855. {
  8856. "type": "integer",
  8857. "description": "页码",
  8858. "name": "page",
  8859. "in": "query"
  8860. },
  8861. {
  8862. "type": "integer",
  8863. "description": "每页条数",
  8864. "name": "pagesize",
  8865. "in": "query"
  8866. },
  8867. {
  8868. "type": "string",
  8869. "description": "商品(查询字段-模糊查询)",
  8870. "name": "zsallproperties",
  8871. "in": "query"
  8872. },
  8873. {
  8874. "type": "string",
  8875. "description": "钻石分类, 格式:1,2,3",
  8876. "name": "zscategorys",
  8877. "in": "query"
  8878. },
  8879. {
  8880. "type": "integer",
  8881. "description": "成交单号",
  8882. "name": "wrtradedetailid",
  8883. "in": "query"
  8884. },
  8885. {
  8886. "type": "integer",
  8887. "description": "方向,0-购买 1-出售",
  8888. "name": "buyorsell",
  8889. "in": "query"
  8890. },
  8891. {
  8892. "type": "string",
  8893. "description": "对手方(模糊匹配)",
  8894. "name": "matchusername",
  8895. "in": "query"
  8896. },
  8897. {
  8898. "type": "string",
  8899. "description": "开始交易日(yyyymmdd)",
  8900. "name": "begindate",
  8901. "in": "query"
  8902. },
  8903. {
  8904. "type": "string",
  8905. "description": "结束交易日(yyyymmdd)",
  8906. "name": "enddate",
  8907. "in": "query"
  8908. }
  8909. ],
  8910. "responses": {
  8911. "200": {
  8912. "description": "OK",
  8913. "schema": {
  8914. "type": "array",
  8915. "items": {
  8916. "$ref": "#/definitions/models.MyDeListing"
  8917. }
  8918. }
  8919. },
  8920. "500": {
  8921. "description": "Internal Server Error",
  8922. "schema": {
  8923. "$ref": "#/definitions/app.Response"
  8924. }
  8925. }
  8926. }
  8927. }
  8928. },
  8929. "/Guangzuan/QueryMyDelistingApply": {
  8930. "get": {
  8931. "security": [
  8932. {
  8933. "ApiKeyAuth": []
  8934. },
  8935. {
  8936. "LoginID": []
  8937. },
  8938. {
  8939. "Group": []
  8940. }
  8941. ],
  8942. "produces": [
  8943. "application/json"
  8944. ],
  8945. "tags": [
  8946. "广钻"
  8947. ],
  8948. "summary": "查询询价-出售",
  8949. "parameters": [
  8950. {
  8951. "type": "integer",
  8952. "description": "用户ID",
  8953. "name": "userid",
  8954. "in": "query",
  8955. "required": true
  8956. },
  8957. {
  8958. "type": "integer",
  8959. "description": "页码",
  8960. "name": "page",
  8961. "in": "query"
  8962. },
  8963. {
  8964. "type": "integer",
  8965. "description": "每页条数",
  8966. "name": "pagesize",
  8967. "in": "query"
  8968. },
  8969. {
  8970. "type": "integer",
  8971. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  8972. "name": "applystatus",
  8973. "in": "query"
  8974. },
  8975. {
  8976. "type": "integer",
  8977. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  8978. "name": "type",
  8979. "in": "query"
  8980. },
  8981. {
  8982. "type": "string",
  8983. "description": "买委托单ID",
  8984. "name": "buywrtradeorderid",
  8985. "in": "query"
  8986. }
  8987. ],
  8988. "responses": {
  8989. "200": {
  8990. "description": "OK",
  8991. "schema": {
  8992. "type": "array",
  8993. "items": {
  8994. "$ref": "#/definitions/models.MyDelistingApply"
  8995. }
  8996. }
  8997. },
  8998. "500": {
  8999. "description": "Internal Server Error",
  9000. "schema": {
  9001. "$ref": "#/definitions/app.Response"
  9002. }
  9003. }
  9004. }
  9005. }
  9006. },
  9007. "/Guangzuan/QueryMyFavorite": {
  9008. "get": {
  9009. "security": [
  9010. {
  9011. "ApiKeyAuth": []
  9012. },
  9013. {
  9014. "LoginID": []
  9015. },
  9016. {
  9017. "Group": []
  9018. }
  9019. ],
  9020. "produces": [
  9021. "application/json"
  9022. ],
  9023. "tags": [
  9024. "广钻"
  9025. ],
  9026. "summary": "查询我的收藏",
  9027. "parameters": [
  9028. {
  9029. "type": "integer",
  9030. "description": "用户ID",
  9031. "name": "userid",
  9032. "in": "query",
  9033. "required": true
  9034. },
  9035. {
  9036. "type": "integer",
  9037. "description": "页码",
  9038. "name": "page",
  9039. "in": "query"
  9040. },
  9041. {
  9042. "type": "integer",
  9043. "description": "每页条数",
  9044. "name": "pagesize",
  9045. "in": "query"
  9046. },
  9047. {
  9048. "type": "string",
  9049. "description": "钻石分类, 格式:1,2,3",
  9050. "name": "zscategorys",
  9051. "in": "query"
  9052. }
  9053. ],
  9054. "responses": {
  9055. "200": {
  9056. "description": "OK",
  9057. "schema": {
  9058. "type": "array",
  9059. "items": {
  9060. "$ref": "#/definitions/models.MyFavorite"
  9061. }
  9062. }
  9063. },
  9064. "500": {
  9065. "description": "Internal Server Error",
  9066. "schema": {
  9067. "$ref": "#/definitions/app.Response"
  9068. }
  9069. }
  9070. }
  9071. }
  9072. },
  9073. "/Guangzuan/QueryMyPerformanc": {
  9074. "get": {
  9075. "security": [
  9076. {
  9077. "ApiKeyAuth": []
  9078. },
  9079. {
  9080. "LoginID": []
  9081. },
  9082. {
  9083. "Group": []
  9084. }
  9085. ],
  9086. "produces": [
  9087. "application/json"
  9088. ],
  9089. "tags": [
  9090. "广钻"
  9091. ],
  9092. "summary": "查询我的履约",
  9093. "parameters": [
  9094. {
  9095. "type": "integer",
  9096. "description": "用户ID",
  9097. "name": "userid",
  9098. "in": "query",
  9099. "required": true
  9100. },
  9101. {
  9102. "type": "integer",
  9103. "description": "页码",
  9104. "name": "page",
  9105. "in": "query"
  9106. },
  9107. {
  9108. "type": "integer",
  9109. "description": "每页条数",
  9110. "name": "pagesize",
  9111. "in": "query"
  9112. },
  9113. {
  9114. "type": "string",
  9115. "description": "商品(查询字段-模糊查询)",
  9116. "name": "zsallproperties",
  9117. "in": "query"
  9118. },
  9119. {
  9120. "type": "integer",
  9121. "description": "方向,0-买 1-卖",
  9122. "name": "buyorsell",
  9123. "in": "query"
  9124. },
  9125. {
  9126. "type": "boolean",
  9127. "description": "是否历史查询",
  9128. "name": "ishis",
  9129. "in": "query"
  9130. },
  9131. {
  9132. "type": "string",
  9133. "description": "开始交易日(yyyymmdd)",
  9134. "name": "begindate",
  9135. "in": "query"
  9136. },
  9137. {
  9138. "type": "string",
  9139. "description": "结束交易日(yyyymmdd)",
  9140. "name": "enddate",
  9141. "in": "query"
  9142. }
  9143. ],
  9144. "responses": {
  9145. "200": {
  9146. "description": "OK",
  9147. "schema": {
  9148. "type": "array",
  9149. "items": {
  9150. "$ref": "#/definitions/models.MyPerformanc"
  9151. }
  9152. }
  9153. },
  9154. "500": {
  9155. "description": "Internal Server Error",
  9156. "schema": {
  9157. "$ref": "#/definitions/app.Response"
  9158. }
  9159. }
  9160. }
  9161. }
  9162. },
  9163. "/Guangzuan/QueryMySellOrder": {
  9164. "get": {
  9165. "security": [
  9166. {
  9167. "ApiKeyAuth": []
  9168. },
  9169. {
  9170. "LoginID": []
  9171. },
  9172. {
  9173. "Group": []
  9174. }
  9175. ],
  9176. "produces": [
  9177. "application/json"
  9178. ],
  9179. "tags": [
  9180. "广钻"
  9181. ],
  9182. "summary": "查询我的出售",
  9183. "parameters": [
  9184. {
  9185. "type": "integer",
  9186. "description": "用户ID",
  9187. "name": "userid",
  9188. "in": "query",
  9189. "required": true
  9190. },
  9191. {
  9192. "type": "integer",
  9193. "description": "页码",
  9194. "name": "page",
  9195. "in": "query"
  9196. },
  9197. {
  9198. "type": "integer",
  9199. "description": "每页条数",
  9200. "name": "pagesize",
  9201. "in": "query"
  9202. },
  9203. {
  9204. "type": "string",
  9205. "description": "商品(查询字段-模糊查询)",
  9206. "name": "zsallproperties",
  9207. "in": "query"
  9208. },
  9209. {
  9210. "type": "string",
  9211. "description": "钻石分类, 格式:1,2,3",
  9212. "name": "zscategorys",
  9213. "in": "query"
  9214. },
  9215. {
  9216. "type": "integer",
  9217. "description": "委托单号",
  9218. "name": "wrtradeorderid",
  9219. "in": "query"
  9220. },
  9221. {
  9222. "type": "boolean",
  9223. "description": "是否历史查询",
  9224. "name": "ishis",
  9225. "in": "query"
  9226. },
  9227. {
  9228. "type": "string",
  9229. "description": "开始交易日(yyyymmdd)",
  9230. "name": "begindate",
  9231. "in": "query"
  9232. },
  9233. {
  9234. "type": "string",
  9235. "description": "结束交易日(yyyymmdd)",
  9236. "name": "enddate",
  9237. "in": "query"
  9238. }
  9239. ],
  9240. "responses": {
  9241. "200": {
  9242. "description": "OK",
  9243. "schema": {
  9244. "type": "array",
  9245. "items": {
  9246. "$ref": "#/definitions/models.MySellOrder"
  9247. }
  9248. }
  9249. },
  9250. "500": {
  9251. "description": "Internal Server Error",
  9252. "schema": {
  9253. "$ref": "#/definitions/app.Response"
  9254. }
  9255. }
  9256. }
  9257. }
  9258. },
  9259. "/Guangzuan/QueryMyWRPosition": {
  9260. "get": {
  9261. "security": [
  9262. {
  9263. "ApiKeyAuth": []
  9264. },
  9265. {
  9266. "LoginID": []
  9267. },
  9268. {
  9269. "Group": []
  9270. }
  9271. ],
  9272. "produces": [
  9273. "application/json"
  9274. ],
  9275. "tags": [
  9276. "广钻"
  9277. ],
  9278. "summary": "查询我的库存",
  9279. "parameters": [
  9280. {
  9281. "type": "integer",
  9282. "description": "页码",
  9283. "name": "page",
  9284. "in": "query"
  9285. },
  9286. {
  9287. "type": "integer",
  9288. "description": "每页条数",
  9289. "name": "pagesize",
  9290. "in": "query"
  9291. },
  9292. {
  9293. "type": "integer",
  9294. "description": "登录用户ID",
  9295. "name": "wruserid",
  9296. "in": "query",
  9297. "required": true
  9298. },
  9299. {
  9300. "type": "string",
  9301. "description": "商品(查询字段-模糊查询)",
  9302. "name": "zsallproperties",
  9303. "in": "query"
  9304. },
  9305. {
  9306. "type": "string",
  9307. "description": "钻石分类, 格式:1,2,3",
  9308. "name": "zscategorys",
  9309. "in": "query"
  9310. },
  9311. {
  9312. "type": "integer",
  9313. "description": "仓库ID",
  9314. "name": "warehouseid",
  9315. "in": "query"
  9316. },
  9317. {
  9318. "type": "integer",
  9319. "description": "是否上架,0-全部 1-是 2-否",
  9320. "name": "marketflag",
  9321. "in": "query"
  9322. }
  9323. ],
  9324. "responses": {
  9325. "200": {
  9326. "description": "OK",
  9327. "schema": {
  9328. "type": "array",
  9329. "items": {
  9330. "$ref": "#/definitions/models.MyWRPosition"
  9331. }
  9332. }
  9333. },
  9334. "500": {
  9335. "description": "Internal Server Error",
  9336. "schema": {
  9337. "$ref": "#/definitions/app.Response"
  9338. }
  9339. }
  9340. }
  9341. }
  9342. },
  9343. "/Guangzuan/QuerySellOrder": {
  9344. "get": {
  9345. "security": [
  9346. {
  9347. "ApiKeyAuth": []
  9348. },
  9349. {
  9350. "LoginID": []
  9351. },
  9352. {
  9353. "Group": []
  9354. }
  9355. ],
  9356. "produces": [
  9357. "application/json"
  9358. ],
  9359. "tags": [
  9360. "广钻"
  9361. ],
  9362. "summary": "查询出售大厅委托单",
  9363. "parameters": [
  9364. {
  9365. "type": "integer",
  9366. "description": "页码",
  9367. "name": "page",
  9368. "in": "query"
  9369. },
  9370. {
  9371. "type": "integer",
  9372. "description": "每页条数",
  9373. "name": "pagesize",
  9374. "in": "query"
  9375. },
  9376. {
  9377. "type": "string",
  9378. "description": "商品(查询字段-模糊查询)",
  9379. "name": "zsallproperties",
  9380. "in": "query"
  9381. },
  9382. {
  9383. "type": "string",
  9384. "description": "钻石分类, 格式:1,2,3",
  9385. "name": "zscategorys",
  9386. "in": "query"
  9387. },
  9388. {
  9389. "type": "integer",
  9390. "description": "委托单号",
  9391. "name": "wrtradeorderid",
  9392. "in": "query"
  9393. },
  9394. {
  9395. "type": "string",
  9396. "description": "卖方(查询字段-模糊查询)",
  9397. "name": "buyusername",
  9398. "in": "query"
  9399. }
  9400. ],
  9401. "responses": {
  9402. "200": {
  9403. "description": "OK",
  9404. "schema": {
  9405. "type": "array",
  9406. "items": {
  9407. "$ref": "#/definitions/models.SellOrder"
  9408. }
  9409. }
  9410. },
  9411. "500": {
  9412. "description": "Internal Server Error",
  9413. "schema": {
  9414. "$ref": "#/definitions/app.Response"
  9415. }
  9416. }
  9417. }
  9418. }
  9419. },
  9420. "/Guangzuan/QueryTradeReport": {
  9421. "get": {
  9422. "security": [
  9423. {
  9424. "ApiKeyAuth": []
  9425. },
  9426. {
  9427. "LoginID": []
  9428. },
  9429. {
  9430. "Group": []
  9431. }
  9432. ],
  9433. "produces": [
  9434. "application/json"
  9435. ],
  9436. "tags": [
  9437. "广钻"
  9438. ],
  9439. "summary": "查询交易报表",
  9440. "parameters": [
  9441. {
  9442. "type": "integer",
  9443. "description": "用户ID",
  9444. "name": "userid",
  9445. "in": "query",
  9446. "required": true
  9447. },
  9448. {
  9449. "type": "integer",
  9450. "description": "页码",
  9451. "name": "page",
  9452. "in": "query"
  9453. },
  9454. {
  9455. "type": "integer",
  9456. "description": "每页条数",
  9457. "name": "pagesize",
  9458. "in": "query"
  9459. },
  9460. {
  9461. "type": "string",
  9462. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9463. "name": "cycletype",
  9464. "in": "query"
  9465. },
  9466. {
  9467. "type": "string",
  9468. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9469. "name": "begindate",
  9470. "in": "query",
  9471. "required": true
  9472. },
  9473. {
  9474. "type": "string",
  9475. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9476. "name": "enddate",
  9477. "in": "query",
  9478. "required": true
  9479. },
  9480. {
  9481. "type": "integer",
  9482. "description": "商品分类",
  9483. "name": "zscategory",
  9484. "in": "query"
  9485. },
  9486. {
  9487. "type": "integer",
  9488. "description": "商品币种",
  9489. "name": "zscurrencytype",
  9490. "in": "query"
  9491. }
  9492. ],
  9493. "responses": {
  9494. "200": {
  9495. "description": "OK",
  9496. "schema": {
  9497. "type": "array",
  9498. "items": {
  9499. "$ref": "#/definitions/models.Reckongzmemtradesum"
  9500. }
  9501. }
  9502. },
  9503. "500": {
  9504. "description": "Internal Server Error",
  9505. "schema": {
  9506. "$ref": "#/definitions/app.Response"
  9507. }
  9508. }
  9509. }
  9510. }
  9511. },
  9512. "/Guangzuan/QueryWRPositionReport": {
  9513. "get": {
  9514. "security": [
  9515. {
  9516. "ApiKeyAuth": []
  9517. },
  9518. {
  9519. "LoginID": []
  9520. },
  9521. {
  9522. "Group": []
  9523. }
  9524. ],
  9525. "produces": [
  9526. "application/json"
  9527. ],
  9528. "tags": [
  9529. "广钻"
  9530. ],
  9531. "summary": "查询仓储报表",
  9532. "parameters": [
  9533. {
  9534. "type": "integer",
  9535. "description": "用户ID",
  9536. "name": "userid",
  9537. "in": "query",
  9538. "required": true
  9539. },
  9540. {
  9541. "type": "integer",
  9542. "description": "页码",
  9543. "name": "page",
  9544. "in": "query"
  9545. },
  9546. {
  9547. "type": "integer",
  9548. "description": "每页条数",
  9549. "name": "pagesize",
  9550. "in": "query"
  9551. },
  9552. {
  9553. "type": "string",
  9554. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9555. "name": "cycletype",
  9556. "in": "query"
  9557. },
  9558. {
  9559. "type": "string",
  9560. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9561. "name": "begindate",
  9562. "in": "query",
  9563. "required": true
  9564. },
  9565. {
  9566. "type": "string",
  9567. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9568. "name": "enddate",
  9569. "in": "query",
  9570. "required": true
  9571. },
  9572. {
  9573. "type": "integer",
  9574. "description": "商品分类",
  9575. "name": "zscategory",
  9576. "in": "query"
  9577. },
  9578. {
  9579. "type": "integer",
  9580. "description": "商品币种",
  9581. "name": "zscurrencytype",
  9582. "in": "query"
  9583. }
  9584. ],
  9585. "responses": {
  9586. "200": {
  9587. "description": "OK",
  9588. "schema": {
  9589. "type": "array",
  9590. "items": {
  9591. "$ref": "#/definitions/models.WRPositionReport"
  9592. }
  9593. }
  9594. },
  9595. "500": {
  9596. "description": "Internal Server Error",
  9597. "schema": {
  9598. "$ref": "#/definitions/app.Response"
  9599. }
  9600. }
  9601. }
  9602. }
  9603. },
  9604. "/Guangzuan/QueryWarehouseInfo": {
  9605. "get": {
  9606. "security": [
  9607. {
  9608. "ApiKeyAuth": []
  9609. },
  9610. {
  9611. "LoginID": []
  9612. },
  9613. {
  9614. "Group": []
  9615. }
  9616. ],
  9617. "produces": [
  9618. "application/json"
  9619. ],
  9620. "tags": [
  9621. "广钻"
  9622. ],
  9623. "summary": "查询仓库信息",
  9624. "parameters": [
  9625. {
  9626. "type": "integer",
  9627. "description": "页码",
  9628. "name": "page",
  9629. "in": "query"
  9630. },
  9631. {
  9632. "type": "integer",
  9633. "description": "每页条数",
  9634. "name": "pagesize",
  9635. "in": "query"
  9636. },
  9637. {
  9638. "type": "integer",
  9639. "description": "用户ID",
  9640. "name": "userid",
  9641. "in": "query",
  9642. "required": true
  9643. },
  9644. {
  9645. "type": "string",
  9646. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  9647. "name": "status",
  9648. "in": "query"
  9649. },
  9650. {
  9651. "type": "boolean",
  9652. "description": "是返回交易所仓库",
  9653. "name": "isincludeexchange",
  9654. "in": "query"
  9655. }
  9656. ],
  9657. "responses": {
  9658. "200": {
  9659. "description": "OK",
  9660. "schema": {
  9661. "type": "array",
  9662. "items": {
  9663. "$ref": "#/definitions/models.GZWarehouseinfo"
  9664. }
  9665. }
  9666. },
  9667. "500": {
  9668. "description": "Internal Server Error",
  9669. "schema": {
  9670. "$ref": "#/definitions/app.Response"
  9671. }
  9672. }
  9673. }
  9674. }
  9675. },
  9676. "/Market/GetAllExExchanges": {
  9677. "get": {
  9678. "security": [
  9679. {
  9680. "ApiKeyAuth": []
  9681. }
  9682. ],
  9683. "produces": [
  9684. "application/json"
  9685. ],
  9686. "tags": [
  9687. "通用市场"
  9688. ],
  9689. "summary": "获取所有外部交易所信息",
  9690. "responses": {
  9691. "200": {
  9692. "description": "OK",
  9693. "schema": {
  9694. "$ref": "#/definitions/models.Goods"
  9695. }
  9696. },
  9697. "500": {
  9698. "description": "Internal Server Error",
  9699. "schema": {
  9700. "$ref": "#/definitions/app.Response"
  9701. }
  9702. }
  9703. }
  9704. }
  9705. },
  9706. "/Market/QueryGoodsesByLoginID": {
  9707. "get": {
  9708. "security": [
  9709. {
  9710. "ApiKeyAuth": []
  9711. }
  9712. ],
  9713. "produces": [
  9714. "application/json"
  9715. ],
  9716. "tags": [
  9717. "通用市场"
  9718. ],
  9719. "summary": "获取登录账号有权限的商品信息",
  9720. "parameters": [
  9721. {
  9722. "type": "integer",
  9723. "description": "登录账号",
  9724. "name": "loginID",
  9725. "in": "query",
  9726. "required": true
  9727. },
  9728. {
  9729. "type": "string",
  9730. "description": "市场ID列表,格式:1,2,3",
  9731. "name": "marketIDs",
  9732. "in": "query"
  9733. }
  9734. ],
  9735. "responses": {
  9736. "200": {
  9737. "description": "OK",
  9738. "schema": {
  9739. "$ref": "#/definitions/models.Goods"
  9740. }
  9741. },
  9742. "500": {
  9743. "description": "Internal Server Error",
  9744. "schema": {
  9745. "$ref": "#/definitions/app.Response"
  9746. }
  9747. }
  9748. }
  9749. }
  9750. },
  9751. "/Market/QueryMarketRun": {
  9752. "get": {
  9753. "security": [
  9754. {
  9755. "ApiKeyAuth": []
  9756. }
  9757. ],
  9758. "produces": [
  9759. "application/json"
  9760. ],
  9761. "tags": [
  9762. "通用市场"
  9763. ],
  9764. "summary": "查询市场运行信息",
  9765. "parameters": [
  9766. {
  9767. "type": "integer",
  9768. "description": "市场ID,不传返回所有",
  9769. "name": "marketID",
  9770. "in": "query"
  9771. }
  9772. ],
  9773. "responses": {
  9774. "200": {
  9775. "description": "OK",
  9776. "schema": {
  9777. "$ref": "#/definitions/models.Marketrun"
  9778. }
  9779. },
  9780. "500": {
  9781. "description": "Internal Server Error",
  9782. "schema": {
  9783. "$ref": "#/definitions/app.Response"
  9784. }
  9785. }
  9786. }
  9787. }
  9788. },
  9789. "/Market/QueryMarketsByLoginID": {
  9790. "get": {
  9791. "security": [
  9792. {
  9793. "ApiKeyAuth": []
  9794. }
  9795. ],
  9796. "produces": [
  9797. "application/json"
  9798. ],
  9799. "tags": [
  9800. "通用市场"
  9801. ],
  9802. "summary": "获取登录账号有权限的市场信息",
  9803. "parameters": [
  9804. {
  9805. "type": "integer",
  9806. "description": "登录账号",
  9807. "name": "loginID",
  9808. "in": "query",
  9809. "required": true
  9810. }
  9811. ],
  9812. "responses": {
  9813. "200": {
  9814. "description": "OK",
  9815. "schema": {
  9816. "$ref": "#/definitions/models.Market"
  9817. }
  9818. },
  9819. "500": {
  9820. "description": "Internal Server Error",
  9821. "schema": {
  9822. "$ref": "#/definitions/app.Response"
  9823. }
  9824. }
  9825. }
  9826. }
  9827. },
  9828. "/Order/QueryHisTradeDetail": {
  9829. "get": {
  9830. "security": [
  9831. {
  9832. "ApiKeyAuth": []
  9833. }
  9834. ],
  9835. "produces": [
  9836. "application/json"
  9837. ],
  9838. "tags": [
  9839. "通用单据"
  9840. ],
  9841. "summary": "历史成交单查询(合约市场)",
  9842. "parameters": [
  9843. {
  9844. "type": "string",
  9845. "description": "资金账户 - 格式:1,2,3",
  9846. "name": "accountID",
  9847. "in": "query",
  9848. "required": true
  9849. },
  9850. {
  9851. "type": "integer",
  9852. "description": "成交单号",
  9853. "name": "tradeID",
  9854. "in": "query"
  9855. },
  9856. {
  9857. "type": "integer",
  9858. "description": "委托单号",
  9859. "name": "orderID",
  9860. "in": "query"
  9861. },
  9862. {
  9863. "type": "integer",
  9864. "description": "商品ID",
  9865. "name": "goodsID",
  9866. "in": "query"
  9867. },
  9868. {
  9869. "type": "string",
  9870. "description": "交易模式 - 格式:1,2,3",
  9871. "name": "tradeMode",
  9872. "in": "query"
  9873. },
  9874. {
  9875. "type": "integer",
  9876. "description": "委托单据类型",
  9877. "name": "buildType",
  9878. "in": "query"
  9879. },
  9880. {
  9881. "type": "string",
  9882. "description": "成交类别 - 格式:1,2,3",
  9883. "name": "tradeType",
  9884. "in": "query"
  9885. },
  9886. {
  9887. "type": "string",
  9888. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9889. "name": "startDate",
  9890. "in": "query"
  9891. },
  9892. {
  9893. "type": "string",
  9894. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9895. "name": "endDate",
  9896. "in": "query"
  9897. }
  9898. ],
  9899. "responses": {
  9900. "200": {
  9901. "description": "OK",
  9902. "schema": {
  9903. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  9904. }
  9905. },
  9906. "500": {
  9907. "description": "Internal Server Error",
  9908. "schema": {
  9909. "$ref": "#/definitions/app.Response"
  9910. }
  9911. }
  9912. }
  9913. }
  9914. },
  9915. "/Order/QueryHisTradeOrderDetail": {
  9916. "get": {
  9917. "security": [
  9918. {
  9919. "ApiKeyAuth": []
  9920. }
  9921. ],
  9922. "produces": [
  9923. "application/json"
  9924. ],
  9925. "tags": [
  9926. "通用单据"
  9927. ],
  9928. "summary": "历史委托单查询请求(合约市场)",
  9929. "parameters": [
  9930. {
  9931. "type": "string",
  9932. "description": "资金账户 - 格式:1,2,3",
  9933. "name": "accountID",
  9934. "in": "query",
  9935. "required": true
  9936. },
  9937. {
  9938. "type": "string",
  9939. "description": "交易模式 - 格式:1,2,3",
  9940. "name": "tradeMode",
  9941. "in": "query"
  9942. },
  9943. {
  9944. "type": "string",
  9945. "description": "委托状态 - 格式:1,2,3",
  9946. "name": "orderStatus",
  9947. "in": "query"
  9948. },
  9949. {
  9950. "type": "integer",
  9951. "description": "委托单号",
  9952. "name": "orderID",
  9953. "in": "query"
  9954. },
  9955. {
  9956. "type": "string",
  9957. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  9958. "name": "startDate",
  9959. "in": "query"
  9960. },
  9961. {
  9962. "type": "string",
  9963. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  9964. "name": "endDate",
  9965. "in": "query"
  9966. }
  9967. ],
  9968. "responses": {
  9969. "200": {
  9970. "description": "OK",
  9971. "schema": {
  9972. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  9973. }
  9974. },
  9975. "500": {
  9976. "description": "Internal Server Error",
  9977. "schema": {
  9978. "$ref": "#/definitions/app.Response"
  9979. }
  9980. }
  9981. }
  9982. }
  9983. },
  9984. "/Order/QueryTradeDetail": {
  9985. "get": {
  9986. "security": [
  9987. {
  9988. "ApiKeyAuth": []
  9989. }
  9990. ],
  9991. "produces": [
  9992. "application/json"
  9993. ],
  9994. "tags": [
  9995. "通用单据"
  9996. ],
  9997. "summary": "成交单查询(合约市场)",
  9998. "parameters": [
  9999. {
  10000. "type": "string",
  10001. "description": "资金账户 - 格式:1,2,3",
  10002. "name": "accountID",
  10003. "in": "query",
  10004. "required": true
  10005. },
  10006. {
  10007. "type": "integer",
  10008. "description": "成交单号",
  10009. "name": "tradeID",
  10010. "in": "query"
  10011. },
  10012. {
  10013. "type": "integer",
  10014. "description": "委托单号",
  10015. "name": "orderID",
  10016. "in": "query"
  10017. },
  10018. {
  10019. "type": "string",
  10020. "description": "交易模式 - 格式:1,2,3",
  10021. "name": "tradeMode",
  10022. "in": "query"
  10023. },
  10024. {
  10025. "type": "integer",
  10026. "description": "委托单据类型",
  10027. "name": "buildType",
  10028. "in": "query"
  10029. },
  10030. {
  10031. "type": "string",
  10032. "description": "成交类别 - 格式:1,2,3",
  10033. "name": "tradeType",
  10034. "in": "query"
  10035. },
  10036. {
  10037. "type": "integer",
  10038. "description": "商品ID",
  10039. "name": "goodsID",
  10040. "in": "query"
  10041. }
  10042. ],
  10043. "responses": {
  10044. "200": {
  10045. "description": "OK",
  10046. "schema": {
  10047. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  10048. }
  10049. },
  10050. "500": {
  10051. "description": "Internal Server Error",
  10052. "schema": {
  10053. "$ref": "#/definitions/app.Response"
  10054. }
  10055. }
  10056. }
  10057. }
  10058. },
  10059. "/Order/QueryTradeHolderDetail": {
  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. },
  10080. {
  10081. "type": "string",
  10082. "description": "资金账号, 格式 1,2,3",
  10083. "name": "accids",
  10084. "in": "query"
  10085. },
  10086. {
  10087. "type": "string",
  10088. "description": "交易模式, 格式 1,2,3",
  10089. "name": "trademodes",
  10090. "in": "query"
  10091. },
  10092. {
  10093. "type": "string",
  10094. "description": "市场id, 格式 1,2,3",
  10095. "name": "marketids",
  10096. "in": "query"
  10097. },
  10098. {
  10099. "type": "integer",
  10100. "description": "商品id",
  10101. "name": "goodsid",
  10102. "in": "query"
  10103. },
  10104. {
  10105. "type": "integer",
  10106. "description": "买卖方向 0-买 1-卖",
  10107. "name": "buyorsell",
  10108. "in": "query"
  10109. }
  10110. ],
  10111. "responses": {
  10112. "200": {
  10113. "description": "OK",
  10114. "schema": {
  10115. "type": "array",
  10116. "items": {
  10117. "$ref": "#/definitions/models.TradeHolderDetail"
  10118. }
  10119. }
  10120. },
  10121. "500": {
  10122. "description": "Internal Server Error",
  10123. "schema": {
  10124. "$ref": "#/definitions/app.Response"
  10125. }
  10126. }
  10127. }
  10128. }
  10129. },
  10130. "/Order/QueryTradeOrderDetail": {
  10131. "get": {
  10132. "security": [
  10133. {
  10134. "ApiKeyAuth": []
  10135. }
  10136. ],
  10137. "produces": [
  10138. "application/json"
  10139. ],
  10140. "tags": [
  10141. "通用单据"
  10142. ],
  10143. "summary": "委托单查询请求(合约市场)",
  10144. "parameters": [
  10145. {
  10146. "type": "string",
  10147. "description": "资金账户 - 格式:1,2,3",
  10148. "name": "accountID",
  10149. "in": "query",
  10150. "required": true
  10151. },
  10152. {
  10153. "type": "string",
  10154. "description": "交易模式 - 格式:1,2,3",
  10155. "name": "tradeMode",
  10156. "in": "query"
  10157. },
  10158. {
  10159. "type": "string",
  10160. "description": "委托状态 - 格式:1,2,3",
  10161. "name": "orderStatus",
  10162. "in": "query"
  10163. },
  10164. {
  10165. "type": "integer",
  10166. "description": "委托单号",
  10167. "name": "orderID",
  10168. "in": "query"
  10169. }
  10170. ],
  10171. "responses": {
  10172. "200": {
  10173. "description": "OK",
  10174. "schema": {
  10175. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  10176. }
  10177. },
  10178. "500": {
  10179. "description": "Internal Server Error",
  10180. "schema": {
  10181. "$ref": "#/definitions/app.Response"
  10182. }
  10183. }
  10184. }
  10185. }
  10186. },
  10187. "/Order/QueryTradePosition": {
  10188. "get": {
  10189. "security": [
  10190. {
  10191. "ApiKeyAuth": []
  10192. }
  10193. ],
  10194. "produces": [
  10195. "application/json"
  10196. ],
  10197. "tags": [
  10198. "通用单据"
  10199. ],
  10200. "summary": "持仓汇总查询(合约市场)",
  10201. "parameters": [
  10202. {
  10203. "type": "string",
  10204. "description": "资金账户 - 格式:1,2,3",
  10205. "name": "accountID",
  10206. "in": "query",
  10207. "required": true
  10208. },
  10209. {
  10210. "type": "string",
  10211. "description": "交易模式 - 格式:1,2,3",
  10212. "name": "tradeMode",
  10213. "in": "query"
  10214. }
  10215. ],
  10216. "responses": {
  10217. "200": {
  10218. "description": "OK",
  10219. "schema": {
  10220. "$ref": "#/definitions/order.QueryTradePositionRsp"
  10221. }
  10222. },
  10223. "500": {
  10224. "description": "Internal Server Error",
  10225. "schema": {
  10226. "$ref": "#/definitions/app.Response"
  10227. }
  10228. }
  10229. }
  10230. }
  10231. },
  10232. "/Qhj/QueryAccountInOutApply": {
  10233. "get": {
  10234. "security": [
  10235. {
  10236. "ApiKeyAuth": []
  10237. }
  10238. ],
  10239. "produces": [
  10240. "application/json"
  10241. ],
  10242. "tags": [
  10243. "大连千海金"
  10244. ],
  10245. "summary": "查询充值提现",
  10246. "parameters": [
  10247. {
  10248. "type": "integer",
  10249. "description": "用户ID",
  10250. "name": "userid",
  10251. "in": "query",
  10252. "required": true
  10253. },
  10254. {
  10255. "type": "string",
  10256. "description": "申请起始日期(格式yyyymmdd)",
  10257. "name": "begindate",
  10258. "in": "query"
  10259. },
  10260. {
  10261. "type": "string",
  10262. "description": "申请截止日期(格式yyyymmdd)",
  10263. "name": "enddate",
  10264. "in": "query"
  10265. },
  10266. {
  10267. "type": "string",
  10268. "description": "模糊搜索名称",
  10269. "name": "likename",
  10270. "in": "query"
  10271. },
  10272. {
  10273. "type": "integer",
  10274. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10275. "name": "applystatus",
  10276. "in": "query"
  10277. },
  10278. {
  10279. "type": "integer",
  10280. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  10281. "name": "querytype",
  10282. "in": "query"
  10283. }
  10284. ],
  10285. "responses": {
  10286. "200": {
  10287. "description": "OK",
  10288. "schema": {
  10289. "type": "array",
  10290. "items": {
  10291. "$ref": "#/definitions/models.QhjAccountOutInApply"
  10292. }
  10293. }
  10294. },
  10295. "500": {
  10296. "description": "Internal Server Error",
  10297. "schema": {
  10298. "$ref": "#/definitions/app.Response"
  10299. }
  10300. }
  10301. }
  10302. }
  10303. },
  10304. "/Qhj/QueryAreaFinanceConfig": {
  10305. "get": {
  10306. "security": [
  10307. {
  10308. "ApiKeyAuth": []
  10309. }
  10310. ],
  10311. "produces": [
  10312. "application/json"
  10313. ],
  10314. "tags": [
  10315. "大连千海金"
  10316. ],
  10317. "summary": "查询企业配置表",
  10318. "parameters": [
  10319. {
  10320. "type": "integer",
  10321. "description": "机构用户ID 其他做市关系,都设置为 1",
  10322. "name": "userid",
  10323. "in": "query"
  10324. }
  10325. ],
  10326. "responses": {
  10327. "200": {
  10328. "description": "OK",
  10329. "schema": {
  10330. "type": "array",
  10331. "items": {
  10332. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  10333. }
  10334. }
  10335. },
  10336. "500": {
  10337. "description": "Internal Server Error",
  10338. "schema": {
  10339. "$ref": "#/definitions/app.Response"
  10340. }
  10341. }
  10342. }
  10343. }
  10344. },
  10345. "/Qhj/QueryBankAccountSign": {
  10346. "get": {
  10347. "security": [
  10348. {
  10349. "ApiKeyAuth": []
  10350. }
  10351. ],
  10352. "produces": [
  10353. "application/json"
  10354. ],
  10355. "tags": [
  10356. "大连千海金"
  10357. ],
  10358. "summary": "查询签约银行信息(提现账户管理)",
  10359. "parameters": [
  10360. {
  10361. "type": "integer",
  10362. "description": "用户ID",
  10363. "name": "userid",
  10364. "in": "query",
  10365. "required": true
  10366. }
  10367. ],
  10368. "responses": {
  10369. "200": {
  10370. "description": "OK",
  10371. "schema": {
  10372. "type": "array",
  10373. "items": {
  10374. "$ref": "#/definitions/models.QhjBankAccountSign"
  10375. }
  10376. }
  10377. },
  10378. "500": {
  10379. "description": "Internal Server Error",
  10380. "schema": {
  10381. "$ref": "#/definitions/app.Response"
  10382. }
  10383. }
  10384. }
  10385. }
  10386. },
  10387. "/Qhj/QueryBankInfo": {
  10388. "get": {
  10389. "security": [
  10390. {
  10391. "ApiKeyAuth": []
  10392. }
  10393. ],
  10394. "produces": [
  10395. "application/json"
  10396. ],
  10397. "tags": [
  10398. "大连千海金"
  10399. ],
  10400. "summary": "查询开户行",
  10401. "responses": {
  10402. "200": {
  10403. "description": "OK",
  10404. "schema": {
  10405. "type": "array",
  10406. "items": {
  10407. "$ref": "#/definitions/models.QhjBankInfo"
  10408. }
  10409. }
  10410. },
  10411. "500": {
  10412. "description": "Internal Server Error",
  10413. "schema": {
  10414. "$ref": "#/definitions/app.Response"
  10415. }
  10416. }
  10417. }
  10418. }
  10419. },
  10420. "/Qhj/QueryBrokerApply": {
  10421. "get": {
  10422. "security": [
  10423. {
  10424. "ApiKeyAuth": []
  10425. }
  10426. ],
  10427. "produces": [
  10428. "application/json"
  10429. ],
  10430. "tags": [
  10431. "大连千海金"
  10432. ],
  10433. "summary": "查询经纪人申请",
  10434. "parameters": [
  10435. {
  10436. "type": "integer",
  10437. "description": "所属机构ID",
  10438. "name": "userid",
  10439. "in": "query"
  10440. },
  10441. {
  10442. "type": "string",
  10443. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  10444. "name": "filterstatus",
  10445. "in": "query"
  10446. }
  10447. ],
  10448. "responses": {
  10449. "200": {
  10450. "description": "OK",
  10451. "schema": {
  10452. "type": "array",
  10453. "items": {
  10454. "$ref": "#/definitions/models.QhjBrokerApply"
  10455. }
  10456. }
  10457. },
  10458. "500": {
  10459. "description": "Internal Server Error",
  10460. "schema": {
  10461. "$ref": "#/definitions/app.Response"
  10462. }
  10463. }
  10464. }
  10465. }
  10466. },
  10467. "/Qhj/QueryBrokerApplyEx": {
  10468. "get": {
  10469. "security": [
  10470. {
  10471. "ApiKeyAuth": []
  10472. }
  10473. ],
  10474. "produces": [
  10475. "application/json"
  10476. ],
  10477. "tags": [
  10478. "大连千海金"
  10479. ],
  10480. "summary": "查询经纪人信息和申请记录",
  10481. "parameters": [
  10482. {
  10483. "type": "integer",
  10484. "description": "所属机构ID",
  10485. "name": "userid",
  10486. "in": "query"
  10487. }
  10488. ],
  10489. "responses": {
  10490. "200": {
  10491. "description": "OK",
  10492. "schema": {
  10493. "type": "array",
  10494. "items": {
  10495. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  10496. }
  10497. }
  10498. },
  10499. "500": {
  10500. "description": "Internal Server Error",
  10501. "schema": {
  10502. "$ref": "#/definitions/app.Response"
  10503. }
  10504. }
  10505. }
  10506. }
  10507. },
  10508. "/Qhj/QueryBrokerRewardLog": {
  10509. "get": {
  10510. "security": [
  10511. {
  10512. "ApiKeyAuth": []
  10513. }
  10514. ],
  10515. "produces": [
  10516. "application/json"
  10517. ],
  10518. "tags": [
  10519. "大连千海金"
  10520. ],
  10521. "summary": "查询奖励流水(我的奖励)",
  10522. "parameters": [
  10523. {
  10524. "type": "integer",
  10525. "description": "用户ID",
  10526. "name": "userid",
  10527. "in": "query",
  10528. "required": true
  10529. },
  10530. {
  10531. "type": "string",
  10532. "description": "开始交易日(yyyymmdd)",
  10533. "name": "begindate",
  10534. "in": "query"
  10535. },
  10536. {
  10537. "type": "string",
  10538. "description": "结束交易日(yyyymmdd)",
  10539. "name": "enddate",
  10540. "in": "query"
  10541. }
  10542. ],
  10543. "responses": {
  10544. "200": {
  10545. "description": "OK",
  10546. "schema": {
  10547. "type": "array",
  10548. "items": {
  10549. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  10550. }
  10551. }
  10552. },
  10553. "500": {
  10554. "description": "Internal Server Error",
  10555. "schema": {
  10556. "$ref": "#/definitions/app.Response"
  10557. }
  10558. }
  10559. }
  10560. }
  10561. },
  10562. "/Qhj/QueryContract": {
  10563. "get": {
  10564. "security": [
  10565. {
  10566. "ApiKeyAuth": []
  10567. }
  10568. ],
  10569. "produces": [
  10570. "application/json"
  10571. ],
  10572. "tags": [
  10573. "大连千海金"
  10574. ],
  10575. "summary": "查询融资明细(合同)",
  10576. "parameters": [
  10577. {
  10578. "type": "integer",
  10579. "description": "用户ID",
  10580. "name": "userid",
  10581. "in": "query"
  10582. },
  10583. {
  10584. "type": "integer",
  10585. "description": "scf合同id",
  10586. "name": "scfcontractid",
  10587. "in": "query"
  10588. }
  10589. ],
  10590. "responses": {
  10591. "200": {
  10592. "description": "OK",
  10593. "schema": {
  10594. "type": "array",
  10595. "items": {
  10596. "$ref": "#/definitions/models.QhjContract"
  10597. }
  10598. }
  10599. },
  10600. "500": {
  10601. "description": "Internal Server Error",
  10602. "schema": {
  10603. "$ref": "#/definitions/app.Response"
  10604. }
  10605. }
  10606. }
  10607. }
  10608. },
  10609. "/Qhj/QueryContractLog": {
  10610. "get": {
  10611. "security": [
  10612. {
  10613. "ApiKeyAuth": []
  10614. }
  10615. ],
  10616. "produces": [
  10617. "application/json"
  10618. ],
  10619. "tags": [
  10620. "大连千海金"
  10621. ],
  10622. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  10623. "parameters": [
  10624. {
  10625. "type": "integer",
  10626. "description": "scf合同id",
  10627. "name": "scfcontractid",
  10628. "in": "query",
  10629. "required": true
  10630. },
  10631. {
  10632. "type": "string",
  10633. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  10634. "name": "amounttype",
  10635. "in": "query"
  10636. }
  10637. ],
  10638. "responses": {
  10639. "200": {
  10640. "description": "OK",
  10641. "schema": {
  10642. "type": "array",
  10643. "items": {
  10644. "$ref": "#/definitions/models.QhjContractLog"
  10645. }
  10646. }
  10647. },
  10648. "500": {
  10649. "description": "Internal Server Error",
  10650. "schema": {
  10651. "$ref": "#/definitions/app.Response"
  10652. }
  10653. }
  10654. }
  10655. }
  10656. },
  10657. "/Qhj/QueryCusBankSignBank": {
  10658. "get": {
  10659. "security": [
  10660. {
  10661. "ApiKeyAuth": []
  10662. }
  10663. ],
  10664. "produces": [
  10665. "application/json"
  10666. ],
  10667. "tags": [
  10668. "大连千海金"
  10669. ],
  10670. "summary": "查询托管银行",
  10671. "responses": {
  10672. "200": {
  10673. "description": "OK",
  10674. "schema": {
  10675. "type": "array",
  10676. "items": {
  10677. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  10678. }
  10679. }
  10680. },
  10681. "500": {
  10682. "description": "Internal Server Error",
  10683. "schema": {
  10684. "$ref": "#/definitions/app.Response"
  10685. }
  10686. }
  10687. }
  10688. }
  10689. },
  10690. "/Qhj/QueryCustomerInfo": {
  10691. "get": {
  10692. "security": [
  10693. {
  10694. "ApiKeyAuth": []
  10695. }
  10696. ],
  10697. "produces": [
  10698. "application/json"
  10699. ],
  10700. "tags": [
  10701. "大连千海金"
  10702. ],
  10703. "summary": "查询客户资料",
  10704. "parameters": [
  10705. {
  10706. "type": "integer",
  10707. "description": "用户ID",
  10708. "name": "userid",
  10709. "in": "query",
  10710. "required": true
  10711. },
  10712. {
  10713. "type": "integer",
  10714. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  10715. "name": "querytype",
  10716. "in": "query",
  10717. "required": true
  10718. },
  10719. {
  10720. "type": "integer",
  10721. "description": "客户类型 1-个人 2-企业",
  10722. "name": "userinfotype",
  10723. "in": "query"
  10724. },
  10725. {
  10726. "type": "string",
  10727. "description": "客户名称(模糊匹配)",
  10728. "name": "customername",
  10729. "in": "query"
  10730. },
  10731. {
  10732. "type": "string",
  10733. "description": "昵称(模糊匹配)",
  10734. "name": "nickname",
  10735. "in": "query"
  10736. },
  10737. {
  10738. "type": "integer",
  10739. "description": "是否包含子级 1-包含",
  10740. "name": "includesub",
  10741. "in": "query"
  10742. }
  10743. ],
  10744. "responses": {
  10745. "200": {
  10746. "description": "OK",
  10747. "schema": {
  10748. "type": "array",
  10749. "items": {
  10750. "$ref": "#/definitions/models.QhjCustomer"
  10751. }
  10752. }
  10753. },
  10754. "500": {
  10755. "description": "Internal Server Error",
  10756. "schema": {
  10757. "$ref": "#/definitions/app.Response"
  10758. }
  10759. }
  10760. }
  10761. }
  10762. },
  10763. "/Qhj/QueryGoodsEx": {
  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. }
  10784. ],
  10785. "responses": {
  10786. "200": {
  10787. "description": "OK",
  10788. "schema": {
  10789. "type": "array",
  10790. "items": {
  10791. "$ref": "#/definitions/models.Qhjgoodsex"
  10792. }
  10793. }
  10794. },
  10795. "500": {
  10796. "description": "Internal Server Error",
  10797. "schema": {
  10798. "$ref": "#/definitions/app.Response"
  10799. }
  10800. }
  10801. }
  10802. }
  10803. },
  10804. "/Qhj/QueryMyTeam": {
  10805. "get": {
  10806. "security": [
  10807. {
  10808. "ApiKeyAuth": []
  10809. }
  10810. ],
  10811. "produces": [
  10812. "application/json"
  10813. ],
  10814. "tags": [
  10815. "大连千海金"
  10816. ],
  10817. "summary": "查询我的团队",
  10818. "parameters": [
  10819. {
  10820. "type": "integer",
  10821. "description": "用户ID",
  10822. "name": "userid",
  10823. "in": "query",
  10824. "required": true
  10825. }
  10826. ],
  10827. "responses": {
  10828. "200": {
  10829. "description": "OK",
  10830. "schema": {
  10831. "type": "array",
  10832. "items": {
  10833. "$ref": "#/definitions/models.QhjMyTeamEx"
  10834. }
  10835. }
  10836. },
  10837. "500": {
  10838. "description": "Internal Server Error",
  10839. "schema": {
  10840. "$ref": "#/definitions/app.Response"
  10841. }
  10842. }
  10843. }
  10844. }
  10845. },
  10846. "/Qhj/QueryMyTeamOrder": {
  10847. "get": {
  10848. "security": [
  10849. {
  10850. "ApiKeyAuth": []
  10851. }
  10852. ],
  10853. "produces": [
  10854. "application/json"
  10855. ],
  10856. "tags": [
  10857. "大连千海金"
  10858. ],
  10859. "summary": "查询团队订单(我的团队/团队订单)",
  10860. "parameters": [
  10861. {
  10862. "type": "integer",
  10863. "description": "页码",
  10864. "name": "page",
  10865. "in": "query"
  10866. },
  10867. {
  10868. "type": "integer",
  10869. "description": "每页条数",
  10870. "name": "pagesize",
  10871. "in": "query"
  10872. },
  10873. {
  10874. "type": "integer",
  10875. "description": "用户ID",
  10876. "name": "userid",
  10877. "in": "query",
  10878. "required": true
  10879. },
  10880. {
  10881. "type": "integer",
  10882. "description": "交易模式",
  10883. "name": "trademode",
  10884. "in": "query"
  10885. },
  10886. {
  10887. "type": "string",
  10888. "description": "名称(模糊搜索账户)",
  10889. "name": "filtername",
  10890. "in": "query"
  10891. }
  10892. ],
  10893. "responses": {
  10894. "200": {
  10895. "description": "OK",
  10896. "schema": {
  10897. "type": "array",
  10898. "items": {
  10899. "$ref": "#/definitions/models.QhjTeamOrder"
  10900. }
  10901. }
  10902. },
  10903. "500": {
  10904. "description": "Internal Server Error",
  10905. "schema": {
  10906. "$ref": "#/definitions/app.Response"
  10907. }
  10908. }
  10909. }
  10910. }
  10911. },
  10912. "/Qhj/QueryParentAreaList": {
  10913. "get": {
  10914. "security": [
  10915. {
  10916. "ApiKeyAuth": []
  10917. }
  10918. ],
  10919. "produces": [
  10920. "application/json"
  10921. ],
  10922. "tags": [
  10923. "大连千海金"
  10924. ],
  10925. "summary": "查询所属机构列表",
  10926. "parameters": [
  10927. {
  10928. "type": "integer",
  10929. "description": "用户ID",
  10930. "name": "userid",
  10931. "in": "query",
  10932. "required": true
  10933. }
  10934. ],
  10935. "responses": {
  10936. "200": {
  10937. "description": "OK",
  10938. "schema": {
  10939. "type": "array",
  10940. "items": {
  10941. "$ref": "#/definitions/models.QhjParentAreaList"
  10942. }
  10943. }
  10944. },
  10945. "500": {
  10946. "description": "Internal Server Error",
  10947. "schema": {
  10948. "$ref": "#/definitions/app.Response"
  10949. }
  10950. }
  10951. }
  10952. }
  10953. },
  10954. "/Qhj/QueryPayOrder": {
  10955. "get": {
  10956. "security": [
  10957. {
  10958. "ApiKeyAuth": []
  10959. }
  10960. ],
  10961. "produces": [
  10962. "application/json"
  10963. ],
  10964. "tags": [
  10965. "大连千海金"
  10966. ],
  10967. "summary": "查询待付款单据",
  10968. "parameters": [
  10969. {
  10970. "type": "integer",
  10971. "description": "资金账号id",
  10972. "name": "accountid",
  10973. "in": "query",
  10974. "required": true
  10975. },
  10976. {
  10977. "type": "integer",
  10978. "description": "成交单号",
  10979. "name": "tradeid",
  10980. "in": "query"
  10981. },
  10982. {
  10983. "type": "string",
  10984. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  10985. "name": "payflag",
  10986. "in": "query"
  10987. }
  10988. ],
  10989. "responses": {
  10990. "200": {
  10991. "description": "OK",
  10992. "schema": {
  10993. "type": "array",
  10994. "items": {
  10995. "$ref": "#/definitions/models.QhjPayOrder"
  10996. }
  10997. }
  10998. },
  10999. "500": {
  11000. "description": "Internal Server Error",
  11001. "schema": {
  11002. "$ref": "#/definitions/app.Response"
  11003. }
  11004. }
  11005. }
  11006. }
  11007. },
  11008. "/Qhj/QueryPickArea": {
  11009. "get": {
  11010. "security": [
  11011. {
  11012. "ApiKeyAuth": []
  11013. }
  11014. ],
  11015. "produces": [
  11016. "application/json"
  11017. ],
  11018. "tags": [
  11019. "大连千海金"
  11020. ],
  11021. "summary": "查询提货门店",
  11022. "parameters": [
  11023. {
  11024. "type": "integer",
  11025. "description": "用户ID",
  11026. "name": "userid",
  11027. "in": "query"
  11028. }
  11029. ],
  11030. "responses": {
  11031. "200": {
  11032. "description": "OK",
  11033. "schema": {
  11034. "type": "array",
  11035. "items": {
  11036. "$ref": "#/definitions/models.QhjPickArea"
  11037. }
  11038. }
  11039. },
  11040. "500": {
  11041. "description": "Internal Server Error",
  11042. "schema": {
  11043. "$ref": "#/definitions/app.Response"
  11044. }
  11045. }
  11046. }
  11047. }
  11048. },
  11049. "/Qhj/QueryPickGoods": {
  11050. "get": {
  11051. "security": [
  11052. {
  11053. "ApiKeyAuth": []
  11054. }
  11055. ],
  11056. "produces": [
  11057. "application/json"
  11058. ],
  11059. "tags": [
  11060. "大连千海金"
  11061. ],
  11062. "summary": "查询提货商品",
  11063. "parameters": [
  11064. {
  11065. "type": "integer",
  11066. "description": "交易商品id",
  11067. "name": "goodsid",
  11068. "in": "query",
  11069. "required": true
  11070. },
  11071. {
  11072. "type": "string",
  11073. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11074. "name": "status",
  11075. "in": "query"
  11076. }
  11077. ],
  11078. "responses": {
  11079. "200": {
  11080. "description": "OK",
  11081. "schema": {
  11082. "type": "array",
  11083. "items": {
  11084. "$ref": "#/definitions/models.QhjPickGoods"
  11085. }
  11086. }
  11087. },
  11088. "500": {
  11089. "description": "Internal Server Error",
  11090. "schema": {
  11091. "$ref": "#/definitions/app.Response"
  11092. }
  11093. }
  11094. }
  11095. }
  11096. },
  11097. "/Qhj/QueryRSTriggerLog": {
  11098. "get": {
  11099. "security": [
  11100. {
  11101. "ApiKeyAuth": []
  11102. }
  11103. ],
  11104. "produces": [
  11105. "application/json"
  11106. ],
  11107. "tags": [
  11108. "大连千海金"
  11109. ],
  11110. "summary": "查询定投记录(定投管理/详情/定投记录)",
  11111. "parameters": [
  11112. {
  11113. "type": "integer",
  11114. "description": "用户ID",
  11115. "name": "userid",
  11116. "in": "query"
  11117. },
  11118. {
  11119. "type": "integer",
  11120. "description": "定投策略id",
  11121. "name": "regularlystrategyid",
  11122. "in": "query"
  11123. },
  11124. {
  11125. "type": "integer",
  11126. "description": "商品id",
  11127. "name": "goodsid",
  11128. "in": "query"
  11129. },
  11130. {
  11131. "type": "string",
  11132. "description": "开始交易日(yyyymmdd)",
  11133. "name": "begindate",
  11134. "in": "query"
  11135. },
  11136. {
  11137. "type": "string",
  11138. "description": "结束交易日(yyyymmdd)",
  11139. "name": "enddate",
  11140. "in": "query"
  11141. },
  11142. {
  11143. "type": "string",
  11144. "description": "名称(模糊搜索账户)",
  11145. "name": "filtername",
  11146. "in": "query"
  11147. }
  11148. ],
  11149. "responses": {
  11150. "200": {
  11151. "description": "OK",
  11152. "schema": {
  11153. "type": "array",
  11154. "items": {
  11155. "$ref": "#/definitions/models.QhjRSTriggerLog"
  11156. }
  11157. }
  11158. },
  11159. "500": {
  11160. "description": "Internal Server Error",
  11161. "schema": {
  11162. "$ref": "#/definitions/app.Response"
  11163. }
  11164. }
  11165. }
  11166. }
  11167. },
  11168. "/Qhj/QueryRStrategy": {
  11169. "get": {
  11170. "security": [
  11171. {
  11172. "ApiKeyAuth": []
  11173. }
  11174. ],
  11175. "produces": [
  11176. "application/json"
  11177. ],
  11178. "tags": [
  11179. "大连千海金"
  11180. ],
  11181. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  11182. "parameters": [
  11183. {
  11184. "type": "integer",
  11185. "description": "用户ID",
  11186. "name": "userid",
  11187. "in": "query"
  11188. },
  11189. {
  11190. "type": "integer",
  11191. "description": "商品id",
  11192. "name": "goodsid",
  11193. "in": "query"
  11194. },
  11195. {
  11196. "type": "string",
  11197. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  11198. "name": "status",
  11199. "in": "query"
  11200. },
  11201. {
  11202. "type": "string",
  11203. "description": "名称(模糊搜索账户)",
  11204. "name": "filtername",
  11205. "in": "query"
  11206. }
  11207. ],
  11208. "responses": {
  11209. "200": {
  11210. "description": "OK",
  11211. "schema": {
  11212. "type": "array",
  11213. "items": {
  11214. "$ref": "#/definitions/models.QhjRStrategy"
  11215. }
  11216. }
  11217. },
  11218. "500": {
  11219. "description": "Internal Server Error",
  11220. "schema": {
  11221. "$ref": "#/definitions/app.Response"
  11222. }
  11223. }
  11224. }
  11225. }
  11226. },
  11227. "/Qhj/QueryReckonPriceLog": {
  11228. "get": {
  11229. "security": [
  11230. {
  11231. "ApiKeyAuth": []
  11232. }
  11233. ],
  11234. "produces": [
  11235. "application/json"
  11236. ],
  11237. "tags": [
  11238. "大连千海金"
  11239. ],
  11240. "summary": "查询定投价(结算价)",
  11241. "parameters": [
  11242. {
  11243. "type": "integer",
  11244. "description": "商品ID",
  11245. "name": "goodsid",
  11246. "in": "query"
  11247. },
  11248. {
  11249. "type": "string",
  11250. "description": "交易日 格式(yyyymmdd)",
  11251. "name": "tradedate",
  11252. "in": "query"
  11253. }
  11254. ],
  11255. "responses": {
  11256. "200": {
  11257. "description": "OK",
  11258. "schema": {
  11259. "type": "array",
  11260. "items": {
  11261. "$ref": "#/definitions/models.QhjReckonPriceLog"
  11262. }
  11263. }
  11264. },
  11265. "500": {
  11266. "description": "Internal Server Error",
  11267. "schema": {
  11268. "$ref": "#/definitions/app.Response"
  11269. }
  11270. }
  11271. }
  11272. }
  11273. },
  11274. "/Qhj/QueryScoreLog": {
  11275. "get": {
  11276. "security": [
  11277. {
  11278. "ApiKeyAuth": []
  11279. }
  11280. ],
  11281. "produces": [
  11282. "application/json"
  11283. ],
  11284. "tags": [
  11285. "大连千海金"
  11286. ],
  11287. "summary": "查询积分流水(我的积分)",
  11288. "parameters": [
  11289. {
  11290. "type": "integer",
  11291. "description": "用户ID",
  11292. "name": "userid",
  11293. "in": "query",
  11294. "required": true
  11295. },
  11296. {
  11297. "type": "string",
  11298. "description": "开始交易日(yyyymmdd)",
  11299. "name": "begindate",
  11300. "in": "query"
  11301. },
  11302. {
  11303. "type": "string",
  11304. "description": "结束交易日(yyyymmdd)",
  11305. "name": "enddate",
  11306. "in": "query"
  11307. },
  11308. {
  11309. "type": "integer",
  11310. "description": "最近多少条",
  11311. "name": "lastnum",
  11312. "in": "query"
  11313. }
  11314. ],
  11315. "responses": {
  11316. "200": {
  11317. "description": "OK",
  11318. "schema": {
  11319. "type": "array",
  11320. "items": {
  11321. "$ref": "#/definitions/models.QhjScoreLog"
  11322. }
  11323. }
  11324. },
  11325. "500": {
  11326. "description": "Internal Server Error",
  11327. "schema": {
  11328. "$ref": "#/definitions/app.Response"
  11329. }
  11330. }
  11331. }
  11332. }
  11333. },
  11334. "/Qhj/QuerySiteColumnDetail": {
  11335. "get": {
  11336. "security": [
  11337. {
  11338. "ApiKeyAuth": []
  11339. }
  11340. ],
  11341. "produces": [
  11342. "application/json"
  11343. ],
  11344. "tags": [
  11345. "大连千海金"
  11346. ],
  11347. "summary": "查询资讯",
  11348. "parameters": [
  11349. {
  11350. "type": "integer",
  11351. "description": "用户ID",
  11352. "name": "userid",
  11353. "in": "query",
  11354. "required": true
  11355. }
  11356. ],
  11357. "responses": {
  11358. "200": {
  11359. "description": "OK",
  11360. "schema": {
  11361. "type": "array",
  11362. "items": {
  11363. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  11364. }
  11365. }
  11366. },
  11367. "500": {
  11368. "description": "Internal Server Error",
  11369. "schema": {
  11370. "$ref": "#/definitions/app.Response"
  11371. }
  11372. }
  11373. }
  11374. }
  11375. },
  11376. "/Qhj/QueryTradeGoodsPickup": {
  11377. "get": {
  11378. "security": [
  11379. {
  11380. "ApiKeyAuth": []
  11381. }
  11382. ],
  11383. "produces": [
  11384. "application/json"
  11385. ],
  11386. "tags": [
  11387. "大连千海金"
  11388. ],
  11389. "summary": "查询提货",
  11390. "parameters": [
  11391. {
  11392. "type": "integer",
  11393. "description": "用户ID",
  11394. "name": "userid",
  11395. "in": "query",
  11396. "required": true
  11397. },
  11398. {
  11399. "type": "integer",
  11400. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  11401. "name": "takeorderstatus",
  11402. "in": "query"
  11403. }
  11404. ],
  11405. "responses": {
  11406. "200": {
  11407. "description": "OK",
  11408. "schema": {
  11409. "type": "array",
  11410. "items": {
  11411. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  11412. }
  11413. }
  11414. },
  11415. "500": {
  11416. "description": "Internal Server Error",
  11417. "schema": {
  11418. "$ref": "#/definitions/app.Response"
  11419. }
  11420. }
  11421. }
  11422. }
  11423. },
  11424. "/Qhj/QueryUserCollectConfig": {
  11425. "get": {
  11426. "security": [
  11427. {
  11428. "ApiKeyAuth": []
  11429. }
  11430. ],
  11431. "produces": [
  11432. "application/json"
  11433. ],
  11434. "tags": [
  11435. "大连千海金"
  11436. ],
  11437. "summary": "查询提现账户设置",
  11438. "parameters": [
  11439. {
  11440. "type": "integer",
  11441. "description": "用户ID",
  11442. "name": "userid",
  11443. "in": "query",
  11444. "required": true
  11445. }
  11446. ],
  11447. "responses": {
  11448. "200": {
  11449. "description": "OK",
  11450. "schema": {
  11451. "type": "array",
  11452. "items": {
  11453. "$ref": "#/definitions/models.UserCollectConfig"
  11454. }
  11455. }
  11456. },
  11457. "500": {
  11458. "description": "Internal Server Error",
  11459. "schema": {
  11460. "$ref": "#/definitions/app.Response"
  11461. }
  11462. }
  11463. }
  11464. }
  11465. },
  11466. "/Qhj/QueryUserReceiveInfo": {
  11467. "get": {
  11468. "security": [
  11469. {
  11470. "ApiKeyAuth": []
  11471. }
  11472. ],
  11473. "produces": [
  11474. "application/json"
  11475. ],
  11476. "tags": [
  11477. "大连千海金"
  11478. ],
  11479. "summary": "查询收货地址信息",
  11480. "parameters": [
  11481. {
  11482. "type": "integer",
  11483. "description": "用户ID",
  11484. "name": "userid",
  11485. "in": "query",
  11486. "required": true
  11487. }
  11488. ],
  11489. "responses": {
  11490. "200": {
  11491. "description": "OK",
  11492. "schema": {
  11493. "type": "array",
  11494. "items": {
  11495. "$ref": "#/definitions/models.UserReceiveInfo"
  11496. }
  11497. }
  11498. },
  11499. "500": {
  11500. "description": "Internal Server Error",
  11501. "schema": {
  11502. "$ref": "#/definitions/app.Response"
  11503. }
  11504. }
  11505. }
  11506. }
  11507. },
  11508. "/QhjMgr/QueryAccountInOutApply": {
  11509. "get": {
  11510. "security": [
  11511. {
  11512. "ApiKeyAuth": []
  11513. }
  11514. ],
  11515. "produces": [
  11516. "application/json"
  11517. ],
  11518. "tags": [
  11519. "大连千海金(PCWeb)"
  11520. ],
  11521. "summary": "查询充值提现",
  11522. "parameters": [
  11523. {
  11524. "type": "integer",
  11525. "description": "查询类型 1-提现(出金) 2-充值(出金)",
  11526. "name": "querytype",
  11527. "in": "query",
  11528. "required": true
  11529. },
  11530. {
  11531. "type": "integer",
  11532. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  11533. "name": "applystatus",
  11534. "in": "query"
  11535. },
  11536. {
  11537. "type": "string",
  11538. "description": "申请起始日期(格式yyyymmdd)",
  11539. "name": "begindate",
  11540. "in": "query"
  11541. },
  11542. {
  11543. "type": "string",
  11544. "description": "申请截止日期(格式yyyymmdd)",
  11545. "name": "enddate",
  11546. "in": "query"
  11547. },
  11548. {
  11549. "type": "string",
  11550. "description": "模糊搜索名称",
  11551. "name": "likename",
  11552. "in": "query"
  11553. }
  11554. ],
  11555. "responses": {
  11556. "200": {
  11557. "description": "OK",
  11558. "schema": {
  11559. "type": "array",
  11560. "items": {
  11561. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  11562. }
  11563. }
  11564. },
  11565. "500": {
  11566. "description": "Internal Server Error",
  11567. "schema": {
  11568. "$ref": "#/definitions/app.Response"
  11569. }
  11570. }
  11571. }
  11572. }
  11573. },
  11574. "/QhjMgr/QueryBrokerApply": {
  11575. "get": {
  11576. "security": [
  11577. {
  11578. "ApiKeyAuth": []
  11579. }
  11580. ],
  11581. "produces": [
  11582. "application/json"
  11583. ],
  11584. "tags": [
  11585. "大连千海金(PCWeb)"
  11586. ],
  11587. "summary": "查询经纪人申请",
  11588. "parameters": [
  11589. {
  11590. "type": "integer",
  11591. "description": "所属机构ID",
  11592. "name": "userid",
  11593. "in": "query"
  11594. },
  11595. {
  11596. "type": "string",
  11597. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11598. "name": "filterstatus",
  11599. "in": "query"
  11600. },
  11601. {
  11602. "type": "string",
  11603. "description": "名称(模糊匹配)",
  11604. "name": "filtername",
  11605. "in": "query"
  11606. },
  11607. {
  11608. "type": "integer",
  11609. "description": "是否包含子级 1-包含",
  11610. "name": "includesub",
  11611. "in": "query"
  11612. }
  11613. ],
  11614. "responses": {
  11615. "200": {
  11616. "description": "OK",
  11617. "schema": {
  11618. "type": "array",
  11619. "items": {
  11620. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  11621. }
  11622. }
  11623. },
  11624. "500": {
  11625. "description": "Internal Server Error",
  11626. "schema": {
  11627. "$ref": "#/definitions/app.Response"
  11628. }
  11629. }
  11630. }
  11631. }
  11632. },
  11633. "/QhjMgr/QueryBrokerRewardReport": {
  11634. "get": {
  11635. "security": [
  11636. {
  11637. "ApiKeyAuth": []
  11638. }
  11639. ],
  11640. "produces": [
  11641. "application/json"
  11642. ],
  11643. "tags": [
  11644. "大连千海金(PCWeb)"
  11645. ],
  11646. "summary": "查询经纪人奖励报表(废弃)",
  11647. "parameters": [
  11648. {
  11649. "type": "integer",
  11650. "description": "所属机构ID",
  11651. "name": "userid",
  11652. "in": "query",
  11653. "required": true
  11654. },
  11655. {
  11656. "type": "integer",
  11657. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  11658. "name": "cycletype",
  11659. "in": "query",
  11660. "required": true
  11661. },
  11662. {
  11663. "type": "string",
  11664. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  11665. "name": "cycletime",
  11666. "in": "query",
  11667. "required": true
  11668. },
  11669. {
  11670. "type": "string",
  11671. "description": "名称(模糊匹配)",
  11672. "name": "filtername",
  11673. "in": "query"
  11674. },
  11675. {
  11676. "type": "integer",
  11677. "description": "是否包含子级 1-包含",
  11678. "name": "includesub",
  11679. "in": "query"
  11680. }
  11681. ],
  11682. "responses": {
  11683. "200": {
  11684. "description": "OK",
  11685. "schema": {
  11686. "type": "array",
  11687. "items": {
  11688. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  11689. }
  11690. }
  11691. },
  11692. "500": {
  11693. "description": "Internal Server Error",
  11694. "schema": {
  11695. "$ref": "#/definitions/app.Response"
  11696. }
  11697. }
  11698. }
  11699. }
  11700. },
  11701. "/QhjMgr/QueryContract": {
  11702. "get": {
  11703. "security": [
  11704. {
  11705. "ApiKeyAuth": []
  11706. }
  11707. ],
  11708. "produces": [
  11709. "application/json"
  11710. ],
  11711. "tags": [
  11712. "大连千海金(PCWeb)"
  11713. ],
  11714. "summary": "查询融资信息(合同)",
  11715. "parameters": [
  11716. {
  11717. "type": "integer",
  11718. "description": "用户ID",
  11719. "name": "userid",
  11720. "in": "query"
  11721. },
  11722. {
  11723. "type": "integer",
  11724. "description": "商品id",
  11725. "name": "goodsid",
  11726. "in": "query"
  11727. },
  11728. {
  11729. "type": "string",
  11730. "description": "名称(模糊搜索账户)",
  11731. "name": "filtername",
  11732. "in": "query"
  11733. },
  11734. {
  11735. "type": "string",
  11736. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  11737. "name": "risklevel",
  11738. "in": "query"
  11739. },
  11740. {
  11741. "type": "string",
  11742. "description": "开始交易日(yyyymmdd)",
  11743. "name": "begindate",
  11744. "in": "query"
  11745. },
  11746. {
  11747. "type": "string",
  11748. "description": "结束交易日(yyyymmdd)",
  11749. "name": "enddate",
  11750. "in": "query"
  11751. }
  11752. ],
  11753. "responses": {
  11754. "200": {
  11755. "description": "OK",
  11756. "schema": {
  11757. "type": "array",
  11758. "items": {
  11759. "$ref": "#/definitions/models.QhjMgrContract"
  11760. }
  11761. }
  11762. },
  11763. "500": {
  11764. "description": "Internal Server Error",
  11765. "schema": {
  11766. "$ref": "#/definitions/app.Response"
  11767. }
  11768. }
  11769. }
  11770. }
  11771. },
  11772. "/QhjMgr/QueryCustomerInfo": {
  11773. "get": {
  11774. "security": [
  11775. {
  11776. "ApiKeyAuth": []
  11777. }
  11778. ],
  11779. "produces": [
  11780. "application/json"
  11781. ],
  11782. "tags": [
  11783. "大连千海金(PCWeb)"
  11784. ],
  11785. "summary": "查询客户资料",
  11786. "parameters": [
  11787. {
  11788. "type": "integer",
  11789. "description": "用户ID",
  11790. "name": "userid",
  11791. "in": "query",
  11792. "required": true
  11793. },
  11794. {
  11795. "type": "integer",
  11796. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11797. "name": "querytype",
  11798. "in": "query",
  11799. "required": true
  11800. },
  11801. {
  11802. "type": "integer",
  11803. "description": "客户类型 1-个人 2-企业",
  11804. "name": "userinfotype",
  11805. "in": "query"
  11806. },
  11807. {
  11808. "type": "string",
  11809. "description": "客户名称(模糊匹配)",
  11810. "name": "customername",
  11811. "in": "query"
  11812. },
  11813. {
  11814. "type": "string",
  11815. "description": "昵称(模糊匹配)",
  11816. "name": "nickname",
  11817. "in": "query"
  11818. },
  11819. {
  11820. "type": "string",
  11821. "description": "所属客户经理(模糊匹配)",
  11822. "name": "brokername",
  11823. "in": "query"
  11824. },
  11825. {
  11826. "type": "string",
  11827. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  11828. "name": "birthday",
  11829. "in": "query"
  11830. },
  11831. {
  11832. "type": "integer",
  11833. "description": "是否包含子级 1-包含",
  11834. "name": "includesub",
  11835. "in": "query"
  11836. }
  11837. ],
  11838. "responses": {
  11839. "200": {
  11840. "description": "OK",
  11841. "schema": {
  11842. "type": "array",
  11843. "items": {
  11844. "$ref": "#/definitions/models.QhjMgrCustomer"
  11845. }
  11846. }
  11847. },
  11848. "500": {
  11849. "description": "Internal Server Error",
  11850. "schema": {
  11851. "$ref": "#/definitions/app.Response"
  11852. }
  11853. }
  11854. }
  11855. }
  11856. },
  11857. "/QhjMgr/QueryPickGoods": {
  11858. "get": {
  11859. "security": [
  11860. {
  11861. "ApiKeyAuth": []
  11862. }
  11863. ],
  11864. "produces": [
  11865. "application/json"
  11866. ],
  11867. "tags": [
  11868. "大连千海金(PCWeb)"
  11869. ],
  11870. "summary": "查询提货商品",
  11871. "parameters": [
  11872. {
  11873. "type": "string",
  11874. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11875. "name": "status",
  11876. "in": "query"
  11877. }
  11878. ],
  11879. "responses": {
  11880. "200": {
  11881. "description": "OK",
  11882. "schema": {
  11883. "type": "array",
  11884. "items": {
  11885. "$ref": "#/definitions/models.QhjMgrPickGoods"
  11886. }
  11887. }
  11888. },
  11889. "500": {
  11890. "description": "Internal Server Error",
  11891. "schema": {
  11892. "$ref": "#/definitions/app.Response"
  11893. }
  11894. }
  11895. }
  11896. }
  11897. },
  11898. "/QhjMgr/QuerySubArea": {
  11899. "get": {
  11900. "security": [
  11901. {
  11902. "ApiKeyAuth": []
  11903. }
  11904. ],
  11905. "produces": [
  11906. "application/json"
  11907. ],
  11908. "tags": [
  11909. "大连千海金(PCWeb)"
  11910. ],
  11911. "summary": "查询子机构列表",
  11912. "parameters": [
  11913. {
  11914. "type": "integer",
  11915. "description": "用户ID",
  11916. "name": "userid",
  11917. "in": "query",
  11918. "required": true
  11919. }
  11920. ],
  11921. "responses": {
  11922. "200": {
  11923. "description": "OK",
  11924. "schema": {
  11925. "type": "array",
  11926. "items": {
  11927. "$ref": "#/definitions/models.QhjMgrSubArea"
  11928. }
  11929. }
  11930. },
  11931. "500": {
  11932. "description": "Internal Server Error",
  11933. "schema": {
  11934. "$ref": "#/definitions/app.Response"
  11935. }
  11936. }
  11937. }
  11938. }
  11939. },
  11940. "/QhjMgr/QueryTradeDetail": {
  11941. "get": {
  11942. "security": [
  11943. {
  11944. "ApiKeyAuth": []
  11945. }
  11946. ],
  11947. "produces": [
  11948. "application/json"
  11949. ],
  11950. "tags": [
  11951. "大连千海金(PCWeb)"
  11952. ],
  11953. "summary": "查询成交明细",
  11954. "parameters": [
  11955. {
  11956. "type": "integer",
  11957. "description": "用户ID",
  11958. "name": "userid",
  11959. "in": "query",
  11960. "required": true
  11961. },
  11962. {
  11963. "type": "integer",
  11964. "description": "用户类型 1-个人 2-企业",
  11965. "name": "userinfotype",
  11966. "in": "query"
  11967. },
  11968. {
  11969. "type": "integer",
  11970. "description": "交易模式",
  11971. "name": "trademode",
  11972. "in": "query"
  11973. },
  11974. {
  11975. "type": "integer",
  11976. "description": "商品id",
  11977. "name": "goodsid",
  11978. "in": "query"
  11979. },
  11980. {
  11981. "type": "string",
  11982. "description": "名称(模糊搜索账户)",
  11983. "name": "filtername",
  11984. "in": "query"
  11985. },
  11986. {
  11987. "type": "string",
  11988. "description": "开始交易日(yyyymmdd)",
  11989. "name": "begindate",
  11990. "in": "query"
  11991. },
  11992. {
  11993. "type": "string",
  11994. "description": "结束交易日(yyyymmdd)",
  11995. "name": "enddate",
  11996. "in": "query"
  11997. },
  11998. {
  11999. "type": "integer",
  12000. "description": "是否包含子级 1-包含",
  12001. "name": "includesub",
  12002. "in": "query"
  12003. }
  12004. ],
  12005. "responses": {
  12006. "200": {
  12007. "description": "OK",
  12008. "schema": {
  12009. "type": "array",
  12010. "items": {
  12011. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  12012. }
  12013. }
  12014. },
  12015. "500": {
  12016. "description": "Internal Server Error",
  12017. "schema": {
  12018. "$ref": "#/definitions/app.Response"
  12019. }
  12020. }
  12021. }
  12022. }
  12023. },
  12024. "/QhjMgr/QueryTradeOrderDetail": {
  12025. "get": {
  12026. "security": [
  12027. {
  12028. "ApiKeyAuth": []
  12029. }
  12030. ],
  12031. "produces": [
  12032. "application/json"
  12033. ],
  12034. "tags": [
  12035. "大连千海金(PCWeb)"
  12036. ],
  12037. "summary": "查询委托明细",
  12038. "parameters": [
  12039. {
  12040. "type": "integer",
  12041. "description": "用户ID",
  12042. "name": "userid",
  12043. "in": "query",
  12044. "required": true
  12045. },
  12046. {
  12047. "type": "integer",
  12048. "description": "用户类型 1-个人 2-企业",
  12049. "name": "userinfotype",
  12050. "in": "query"
  12051. },
  12052. {
  12053. "type": "integer",
  12054. "description": "交易模式",
  12055. "name": "trademode",
  12056. "in": "query"
  12057. },
  12058. {
  12059. "type": "integer",
  12060. "description": "商品id",
  12061. "name": "goodsid",
  12062. "in": "query"
  12063. },
  12064. {
  12065. "type": "string",
  12066. "description": "名称(模糊搜索账户)",
  12067. "name": "filtername",
  12068. "in": "query"
  12069. },
  12070. {
  12071. "type": "string",
  12072. "description": "开始交易日(yyyymmdd)",
  12073. "name": "begindate",
  12074. "in": "query"
  12075. },
  12076. {
  12077. "type": "string",
  12078. "description": "结束交易日(yyyymmdd)",
  12079. "name": "enddate",
  12080. "in": "query"
  12081. },
  12082. {
  12083. "type": "integer",
  12084. "description": "是否包含子级 1-包含",
  12085. "name": "includesub",
  12086. "in": "query"
  12087. }
  12088. ],
  12089. "responses": {
  12090. "200": {
  12091. "description": "OK",
  12092. "schema": {
  12093. "type": "array",
  12094. "items": {
  12095. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  12096. }
  12097. }
  12098. },
  12099. "500": {
  12100. "description": "Internal Server Error",
  12101. "schema": {
  12102. "$ref": "#/definitions/app.Response"
  12103. }
  12104. }
  12105. }
  12106. }
  12107. },
  12108. "/QhjMgr/QueryTradePayOrder": {
  12109. "get": {
  12110. "security": [
  12111. {
  12112. "ApiKeyAuth": []
  12113. }
  12114. ],
  12115. "produces": [
  12116. "application/json"
  12117. ],
  12118. "tags": [
  12119. "大连千海金(PCWeb)"
  12120. ],
  12121. "summary": "查询待付款单",
  12122. "parameters": [
  12123. {
  12124. "type": "integer",
  12125. "description": "用户ID",
  12126. "name": "userid",
  12127. "in": "query",
  12128. "required": true
  12129. },
  12130. {
  12131. "type": "string",
  12132. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12133. "name": "payflag",
  12134. "in": "query"
  12135. },
  12136. {
  12137. "type": "integer",
  12138. "description": "用户类型 1-个人 2-企业",
  12139. "name": "userinfotype",
  12140. "in": "query"
  12141. },
  12142. {
  12143. "type": "integer",
  12144. "description": "交易模式",
  12145. "name": "trademode",
  12146. "in": "query"
  12147. },
  12148. {
  12149. "type": "integer",
  12150. "description": "商品id",
  12151. "name": "goodsid",
  12152. "in": "query"
  12153. },
  12154. {
  12155. "type": "string",
  12156. "description": "名称(模糊搜索账户)",
  12157. "name": "filtername",
  12158. "in": "query"
  12159. },
  12160. {
  12161. "type": "string",
  12162. "description": "开始交易日(yyyymmdd)",
  12163. "name": "begindate",
  12164. "in": "query"
  12165. },
  12166. {
  12167. "type": "string",
  12168. "description": "结束交易日(yyyymmdd)",
  12169. "name": "enddate",
  12170. "in": "query"
  12171. },
  12172. {
  12173. "type": "integer",
  12174. "description": "是否包含子级 1-包含",
  12175. "name": "includesub",
  12176. "in": "query"
  12177. }
  12178. ],
  12179. "responses": {
  12180. "200": {
  12181. "description": "OK",
  12182. "schema": {
  12183. "type": "array",
  12184. "items": {
  12185. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  12186. }
  12187. }
  12188. },
  12189. "500": {
  12190. "description": "Internal Server Error",
  12191. "schema": {
  12192. "$ref": "#/definitions/app.Response"
  12193. }
  12194. }
  12195. }
  12196. }
  12197. },
  12198. "/QhjMgr/QueryTradePosition": {
  12199. "get": {
  12200. "security": [
  12201. {
  12202. "ApiKeyAuth": []
  12203. }
  12204. ],
  12205. "produces": [
  12206. "application/json"
  12207. ],
  12208. "tags": [
  12209. "大连千海金(PCWeb)"
  12210. ],
  12211. "summary": "查询持仓汇总",
  12212. "parameters": [
  12213. {
  12214. "type": "integer",
  12215. "description": "用户ID",
  12216. "name": "userid",
  12217. "in": "query",
  12218. "required": true
  12219. },
  12220. {
  12221. "type": "integer",
  12222. "description": "用户类型 1-个人 2-企业",
  12223. "name": "userinfotype",
  12224. "in": "query"
  12225. },
  12226. {
  12227. "type": "integer",
  12228. "description": "交易模式",
  12229. "name": "trademode",
  12230. "in": "query"
  12231. },
  12232. {
  12233. "type": "integer",
  12234. "description": "商品id",
  12235. "name": "goodsid",
  12236. "in": "query"
  12237. },
  12238. {
  12239. "type": "string",
  12240. "description": "名称(模糊搜索账户)",
  12241. "name": "filtername",
  12242. "in": "query"
  12243. },
  12244. {
  12245. "type": "integer",
  12246. "description": "是否包含子级 1-包含",
  12247. "name": "includesub",
  12248. "in": "query"
  12249. }
  12250. ],
  12251. "responses": {
  12252. "200": {
  12253. "description": "OK",
  12254. "schema": {
  12255. "type": "array",
  12256. "items": {
  12257. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  12258. }
  12259. }
  12260. },
  12261. "500": {
  12262. "description": "Internal Server Error",
  12263. "schema": {
  12264. "$ref": "#/definitions/app.Response"
  12265. }
  12266. }
  12267. }
  12268. }
  12269. },
  12270. "/QhjSys/QueryAgreementChangeLog": {
  12271. "get": {
  12272. "security": [
  12273. {
  12274. "ApiKeyAuth": []
  12275. }
  12276. ],
  12277. "produces": [
  12278. "application/json"
  12279. ],
  12280. "tags": [
  12281. "大连千海金(协议和签约信息)"
  12282. ],
  12283. "summary": "查询协议配置变更流水",
  12284. "parameters": [
  12285. {
  12286. "type": "integer",
  12287. "description": "协议ID",
  12288. "name": "agreementid",
  12289. "in": "query"
  12290. },
  12291. {
  12292. "type": "integer",
  12293. "description": "协议版本号",
  12294. "name": "agreementversion",
  12295. "in": "query"
  12296. },
  12297. {
  12298. "type": "integer",
  12299. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12300. "name": "agreementtype",
  12301. "in": "query"
  12302. },
  12303. {
  12304. "type": "string",
  12305. "description": "协议编号(模糊匹配)",
  12306. "name": "agreementno",
  12307. "in": "query"
  12308. },
  12309. {
  12310. "type": "string",
  12311. "description": "协议名称(模糊匹配)",
  12312. "name": "agreementname",
  12313. "in": "query"
  12314. }
  12315. ],
  12316. "responses": {
  12317. "200": {
  12318. "description": "OK",
  12319. "schema": {
  12320. "type": "array",
  12321. "items": {
  12322. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  12323. }
  12324. }
  12325. },
  12326. "500": {
  12327. "description": "Internal Server Error",
  12328. "schema": {
  12329. "$ref": "#/definitions/app.Response"
  12330. }
  12331. }
  12332. }
  12333. }
  12334. },
  12335. "/QhjSys/QueryAgreementConfig": {
  12336. "get": {
  12337. "security": [
  12338. {
  12339. "ApiKeyAuth": []
  12340. }
  12341. ],
  12342. "produces": [
  12343. "application/json"
  12344. ],
  12345. "tags": [
  12346. "大连千海金(协议和签约信息)"
  12347. ],
  12348. "summary": "查询协议配置",
  12349. "parameters": [
  12350. {
  12351. "type": "integer",
  12352. "description": "协议ID",
  12353. "name": "agreementid",
  12354. "in": "query"
  12355. },
  12356. {
  12357. "type": "integer",
  12358. "description": "协议版本号",
  12359. "name": "agreementversion",
  12360. "in": "query"
  12361. },
  12362. {
  12363. "type": "integer",
  12364. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12365. "name": "agreementtype",
  12366. "in": "query"
  12367. },
  12368. {
  12369. "type": "integer",
  12370. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  12371. "name": "isvalid",
  12372. "in": "query"
  12373. },
  12374. {
  12375. "type": "string",
  12376. "description": "协议编号(模糊匹配)",
  12377. "name": "agreementno",
  12378. "in": "query"
  12379. },
  12380. {
  12381. "type": "string",
  12382. "description": "协议名称(模糊匹配)",
  12383. "name": "agreementname",
  12384. "in": "query"
  12385. }
  12386. ],
  12387. "responses": {
  12388. "200": {
  12389. "description": "OK",
  12390. "schema": {
  12391. "type": "array",
  12392. "items": {
  12393. "$ref": "#/definitions/models.QhjAgreementConfig"
  12394. }
  12395. }
  12396. },
  12397. "500": {
  12398. "description": "Internal Server Error",
  12399. "schema": {
  12400. "$ref": "#/definitions/app.Response"
  12401. }
  12402. }
  12403. }
  12404. }
  12405. },
  12406. "/QhjSys/QueryCustomerSignStatus": {
  12407. "get": {
  12408. "security": [
  12409. {
  12410. "ApiKeyAuth": []
  12411. }
  12412. ],
  12413. "produces": [
  12414. "application/json"
  12415. ],
  12416. "tags": [
  12417. "大连千海金(协议和签约信息)"
  12418. ],
  12419. "summary": "查询客户协议签约状态",
  12420. "parameters": [
  12421. {
  12422. "type": "integer",
  12423. "description": "客户ID",
  12424. "name": "userid",
  12425. "in": "query"
  12426. },
  12427. {
  12428. "type": "integer",
  12429. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  12430. "name": "nodetype",
  12431. "in": "query"
  12432. },
  12433. {
  12434. "type": "integer",
  12435. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12436. "name": "goodsid",
  12437. "in": "query"
  12438. },
  12439. {
  12440. "type": "string",
  12441. "description": "创建交易日(yyyyMMdd)",
  12442. "name": "tradedate",
  12443. "in": "query"
  12444. },
  12445. {
  12446. "type": "string",
  12447. "description": "用户名称(模糊匹配)",
  12448. "name": "username",
  12449. "in": "query"
  12450. }
  12451. ],
  12452. "responses": {
  12453. "200": {
  12454. "description": "OK",
  12455. "schema": {
  12456. "type": "array",
  12457. "items": {
  12458. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  12459. }
  12460. }
  12461. },
  12462. "500": {
  12463. "description": "Internal Server Error",
  12464. "schema": {
  12465. "$ref": "#/definitions/app.Response"
  12466. }
  12467. }
  12468. }
  12469. }
  12470. },
  12471. "/QhjSys/QueryNodeAgreementConfig": {
  12472. "get": {
  12473. "security": [
  12474. {
  12475. "ApiKeyAuth": []
  12476. }
  12477. ],
  12478. "produces": [
  12479. "application/json"
  12480. ],
  12481. "tags": [
  12482. "大连千海金(协议和签约信息)"
  12483. ],
  12484. "summary": "查询协议节点配置",
  12485. "parameters": [
  12486. {
  12487. "type": "integer",
  12488. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12489. "name": "configid",
  12490. "in": "query"
  12491. },
  12492. {
  12493. "type": "integer",
  12494. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12495. "name": "nodetype",
  12496. "in": "query"
  12497. },
  12498. {
  12499. "type": "integer",
  12500. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12501. "name": "goodsid",
  12502. "in": "query"
  12503. },
  12504. {
  12505. "type": "integer",
  12506. "description": "协议ID",
  12507. "name": "agreementid",
  12508. "in": "query"
  12509. },
  12510. {
  12511. "type": "integer",
  12512. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12513. "name": "agreementtype",
  12514. "in": "query"
  12515. },
  12516. {
  12517. "type": "integer",
  12518. "description": "协议版本号",
  12519. "name": "agreementversion",
  12520. "in": "query"
  12521. },
  12522. {
  12523. "type": "string",
  12524. "description": "协议编号(模糊匹配)",
  12525. "name": "agreementno",
  12526. "in": "query"
  12527. },
  12528. {
  12529. "type": "string",
  12530. "description": "协议名称(模糊匹配)",
  12531. "name": "agreementname",
  12532. "in": "query"
  12533. }
  12534. ],
  12535. "responses": {
  12536. "200": {
  12537. "description": "OK",
  12538. "schema": {
  12539. "type": "array",
  12540. "items": {
  12541. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  12542. }
  12543. }
  12544. },
  12545. "500": {
  12546. "description": "Internal Server Error",
  12547. "schema": {
  12548. "$ref": "#/definitions/app.Response"
  12549. }
  12550. }
  12551. }
  12552. }
  12553. },
  12554. "/QhjSys/QueryQhjCustomerSignLog": {
  12555. "get": {
  12556. "security": [
  12557. {
  12558. "ApiKeyAuth": []
  12559. }
  12560. ],
  12561. "produces": [
  12562. "application/json"
  12563. ],
  12564. "tags": [
  12565. "大连千海金(协议和签约信息)"
  12566. ],
  12567. "summary": "查询客户协议签约流水",
  12568. "parameters": [
  12569. {
  12570. "type": "integer",
  12571. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  12572. "name": "logid",
  12573. "in": "query"
  12574. },
  12575. {
  12576. "type": "integer",
  12577. "description": "客户ID",
  12578. "name": "userid",
  12579. "in": "query"
  12580. },
  12581. {
  12582. "type": "integer",
  12583. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12584. "name": "nodetype",
  12585. "in": "query"
  12586. },
  12587. {
  12588. "type": "integer",
  12589. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12590. "name": "goodsid",
  12591. "in": "query"
  12592. },
  12593. {
  12594. "type": "integer",
  12595. "description": "协议ID",
  12596. "name": "agreementid",
  12597. "in": "query"
  12598. },
  12599. {
  12600. "type": "string",
  12601. "description": "用户名称(模糊匹配)",
  12602. "name": "username",
  12603. "in": "query"
  12604. },
  12605. {
  12606. "type": "string",
  12607. "description": "协议编号(模糊匹配)",
  12608. "name": "agreementno",
  12609. "in": "query"
  12610. },
  12611. {
  12612. "type": "string",
  12613. "description": "协议名称(模糊匹配)",
  12614. "name": "agreementname",
  12615. "in": "query"
  12616. }
  12617. ],
  12618. "responses": {
  12619. "200": {
  12620. "description": "OK",
  12621. "schema": {
  12622. "type": "array",
  12623. "items": {
  12624. "$ref": "#/definitions/models.QhjCustomerSignLog"
  12625. }
  12626. }
  12627. },
  12628. "500": {
  12629. "description": "Internal Server Error",
  12630. "schema": {
  12631. "$ref": "#/definitions/app.Response"
  12632. }
  12633. }
  12634. }
  12635. }
  12636. },
  12637. "/QhjSys/QueryUserNodeCfgAndStatus": {
  12638. "get": {
  12639. "security": [
  12640. {
  12641. "ApiKeyAuth": []
  12642. }
  12643. ],
  12644. "produces": [
  12645. "application/json"
  12646. ],
  12647. "tags": [
  12648. "大连千海金(协议和签约信息)"
  12649. ],
  12650. "summary": "查询用户协议节点配置和状态",
  12651. "parameters": [
  12652. {
  12653. "type": "integer",
  12654. "description": "客户ID",
  12655. "name": "userid",
  12656. "in": "query"
  12657. },
  12658. {
  12659. "type": "integer",
  12660. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  12661. "name": "configid",
  12662. "in": "query"
  12663. },
  12664. {
  12665. "type": "string",
  12666. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  12667. "name": "nodetype",
  12668. "in": "query"
  12669. },
  12670. {
  12671. "type": "integer",
  12672. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  12673. "name": "goodsid",
  12674. "in": "query"
  12675. },
  12676. {
  12677. "type": "integer",
  12678. "description": "协议ID",
  12679. "name": "agreementid",
  12680. "in": "query"
  12681. },
  12682. {
  12683. "type": "integer",
  12684. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12685. "name": "agreementtype",
  12686. "in": "query"
  12687. },
  12688. {
  12689. "type": "integer",
  12690. "description": "协议版本号",
  12691. "name": "agreementversion",
  12692. "in": "query"
  12693. },
  12694. {
  12695. "type": "string",
  12696. "description": "协议编号(模糊匹配)",
  12697. "name": "agreementno",
  12698. "in": "query"
  12699. },
  12700. {
  12701. "type": "string",
  12702. "description": "协议名称(模糊匹配)",
  12703. "name": "agreementname",
  12704. "in": "query"
  12705. }
  12706. ],
  12707. "responses": {
  12708. "200": {
  12709. "description": "OK",
  12710. "schema": {
  12711. "type": "array",
  12712. "items": {
  12713. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  12714. }
  12715. }
  12716. },
  12717. "500": {
  12718. "description": "Internal Server Error",
  12719. "schema": {
  12720. "$ref": "#/definitions/app.Response"
  12721. }
  12722. }
  12723. }
  12724. }
  12725. },
  12726. "/Quote/QueryHistoryDatas": {
  12727. "get": {
  12728. "security": [
  12729. {
  12730. "ApiKeyAuth": []
  12731. }
  12732. ],
  12733. "produces": [
  12734. "application/json"
  12735. ],
  12736. "tags": [
  12737. "行情服务"
  12738. ],
  12739. "summary": "查询行情历史数据",
  12740. "parameters": [
  12741. {
  12742. "type": "integer",
  12743. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  12744. "name": "cycleType",
  12745. "in": "query",
  12746. "required": true
  12747. },
  12748. {
  12749. "type": "string",
  12750. "description": "商品代码",
  12751. "name": "goodsCode",
  12752. "in": "query",
  12753. "required": true
  12754. },
  12755. {
  12756. "type": "string",
  12757. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12758. "name": "startTime",
  12759. "in": "query"
  12760. },
  12761. {
  12762. "type": "string",
  12763. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12764. "name": "endTime",
  12765. "in": "query"
  12766. },
  12767. {
  12768. "type": "integer",
  12769. "description": "条数",
  12770. "name": "count",
  12771. "in": "query"
  12772. },
  12773. {
  12774. "type": "boolean",
  12775. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12776. "name": "isAsc",
  12777. "in": "query"
  12778. }
  12779. ],
  12780. "responses": {
  12781. "200": {
  12782. "description": "OK",
  12783. "schema": {
  12784. "$ref": "#/definitions/quote.HistoryData"
  12785. }
  12786. },
  12787. "500": {
  12788. "description": "Internal Server Error",
  12789. "schema": {
  12790. "$ref": "#/definitions/app.Response"
  12791. }
  12792. }
  12793. }
  12794. }
  12795. },
  12796. "/Quote/QueryHistoryTikDatas": {
  12797. "get": {
  12798. "security": [
  12799. {
  12800. "ApiKeyAuth": []
  12801. }
  12802. ],
  12803. "produces": [
  12804. "application/json"
  12805. ],
  12806. "tags": [
  12807. "行情服务"
  12808. ],
  12809. "summary": "查询行情Tik数据",
  12810. "parameters": [
  12811. {
  12812. "type": "string",
  12813. "description": "商品代码",
  12814. "name": "goodsCode",
  12815. "in": "query",
  12816. "required": true
  12817. },
  12818. {
  12819. "type": "string",
  12820. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  12821. "name": "startTime",
  12822. "in": "query"
  12823. },
  12824. {
  12825. "type": "string",
  12826. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  12827. "name": "endTime",
  12828. "in": "query"
  12829. },
  12830. {
  12831. "type": "integer",
  12832. "description": "条数",
  12833. "name": "count",
  12834. "in": "query"
  12835. },
  12836. {
  12837. "type": "boolean",
  12838. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  12839. "name": "isAsc",
  12840. "in": "query"
  12841. }
  12842. ],
  12843. "responses": {
  12844. "200": {
  12845. "description": "OK",
  12846. "schema": {
  12847. "$ref": "#/definitions/quote.HistoryTikData"
  12848. }
  12849. },
  12850. "500": {
  12851. "description": "Internal Server Error",
  12852. "schema": {
  12853. "$ref": "#/definitions/app.Response"
  12854. }
  12855. }
  12856. }
  12857. }
  12858. },
  12859. "/Quote/QueryQuoteDay": {
  12860. "get": {
  12861. "security": [
  12862. {
  12863. "ApiKeyAuth": []
  12864. }
  12865. ],
  12866. "produces": [
  12867. "application/json"
  12868. ],
  12869. "tags": [
  12870. "行情服务"
  12871. ],
  12872. "summary": "获取商品盘面信息",
  12873. "parameters": [
  12874. {
  12875. "type": "string",
  12876. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  12877. "name": "goodsCodes",
  12878. "in": "query"
  12879. }
  12880. ],
  12881. "responses": {
  12882. "200": {
  12883. "description": "OK",
  12884. "schema": {
  12885. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  12886. }
  12887. },
  12888. "500": {
  12889. "description": "Internal Server Error",
  12890. "schema": {
  12891. "$ref": "#/definitions/app.Response"
  12892. }
  12893. }
  12894. }
  12895. }
  12896. },
  12897. "/Quote/QueryTSData": {
  12898. "get": {
  12899. "security": [
  12900. {
  12901. "ApiKeyAuth": []
  12902. }
  12903. ],
  12904. "produces": [
  12905. "application/json"
  12906. ],
  12907. "tags": [
  12908. "行情服务"
  12909. ],
  12910. "summary": "分时图数据查询",
  12911. "parameters": [
  12912. {
  12913. "type": "string",
  12914. "description": "商品代码",
  12915. "name": "goodsCode",
  12916. "in": "query",
  12917. "required": true
  12918. }
  12919. ],
  12920. "responses": {
  12921. "200": {
  12922. "description": "OK",
  12923. "schema": {
  12924. "$ref": "#/definitions/quote.QueryTSDataRsp"
  12925. }
  12926. },
  12927. "500": {
  12928. "description": "Internal Server Error",
  12929. "schema": {
  12930. "$ref": "#/definitions/app.Response"
  12931. }
  12932. }
  12933. }
  12934. }
  12935. },
  12936. "/SZDZ/QueryConvertConfig": {
  12937. "get": {
  12938. "security": [
  12939. {
  12940. "ApiKeyAuth": []
  12941. }
  12942. ],
  12943. "produces": [
  12944. "application/json"
  12945. ],
  12946. "tags": [
  12947. "定制【尚志大宗】"
  12948. ],
  12949. "summary": "查询交易系统转换设置",
  12950. "parameters": [
  12951. {
  12952. "type": "integer",
  12953. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  12954. "name": "convertType",
  12955. "in": "query"
  12956. },
  12957. {
  12958. "type": "string",
  12959. "description": "外部商品代码[JD\\PD]",
  12960. "name": "outerGoodsCode",
  12961. "in": "query"
  12962. },
  12963. {
  12964. "type": "string",
  12965. "description": "内部商品ID列表[交易],格式:1,2,3",
  12966. "name": "innerGoodsIDs",
  12967. "in": "query"
  12968. }
  12969. ],
  12970. "responses": {
  12971. "200": {
  12972. "description": "OK",
  12973. "schema": {
  12974. "$ref": "#/definitions/models.Szdz3convertconfig"
  12975. }
  12976. },
  12977. "500": {
  12978. "description": "Internal Server Error",
  12979. "schema": {
  12980. "$ref": "#/definitions/app.Response"
  12981. }
  12982. }
  12983. }
  12984. }
  12985. },
  12986. "/SZDZ/QueryConvertLog": {
  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": "string",
  13003. "description": "资金账户 - 格式:1,2,3",
  13004. "name": "accountID",
  13005. "in": "query",
  13006. "required": true
  13007. },
  13008. {
  13009. "type": "string",
  13010. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13011. "name": "startDate",
  13012. "in": "query"
  13013. },
  13014. {
  13015. "type": "string",
  13016. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13017. "name": "endDate",
  13018. "in": "query"
  13019. }
  13020. ],
  13021. "responses": {
  13022. "200": {
  13023. "description": "OK",
  13024. "schema": {
  13025. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  13026. }
  13027. },
  13028. "500": {
  13029. "description": "Internal Server Error",
  13030. "schema": {
  13031. "$ref": "#/definitions/app.Response"
  13032. }
  13033. }
  13034. }
  13035. }
  13036. },
  13037. "/SZDZ/QueryGoodsPickup": {
  13038. "get": {
  13039. "security": [
  13040. {
  13041. "ApiKeyAuth": []
  13042. }
  13043. ],
  13044. "produces": [
  13045. "application/json"
  13046. ],
  13047. "tags": [
  13048. "定制【尚志大宗】"
  13049. ],
  13050. "summary": "商品提货单查询",
  13051. "parameters": [
  13052. {
  13053. "type": "string",
  13054. "description": "资金账户 - 格式:1,2,3",
  13055. "name": "accountID",
  13056. "in": "query",
  13057. "required": true
  13058. },
  13059. {
  13060. "type": "integer",
  13061. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13062. "name": "takeOrderStatus",
  13063. "in": "query"
  13064. }
  13065. ],
  13066. "responses": {
  13067. "200": {
  13068. "description": "OK",
  13069. "schema": {
  13070. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  13071. }
  13072. },
  13073. "500": {
  13074. "description": "Internal Server Error",
  13075. "schema": {
  13076. "$ref": "#/definitions/app.Response"
  13077. }
  13078. }
  13079. }
  13080. }
  13081. },
  13082. "/SZDZ/QueryRecieptOrder": {
  13083. "get": {
  13084. "security": [
  13085. {
  13086. "ApiKeyAuth": []
  13087. }
  13088. ],
  13089. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13090. "produces": [
  13091. "application/json"
  13092. ],
  13093. "tags": [
  13094. "定制【尚志大宗】"
  13095. ],
  13096. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  13097. "parameters": [
  13098. {
  13099. "type": "integer",
  13100. "description": "页码",
  13101. "name": "page",
  13102. "in": "query"
  13103. },
  13104. {
  13105. "type": "integer",
  13106. "description": "每页条数",
  13107. "name": "pagesize",
  13108. "in": "query"
  13109. },
  13110. {
  13111. "type": "integer",
  13112. "description": "商品ID",
  13113. "name": "goodsID",
  13114. "in": "query",
  13115. "required": true
  13116. },
  13117. {
  13118. "type": "string",
  13119. "description": "所属账户名称",
  13120. "name": "accountName",
  13121. "in": "query"
  13122. },
  13123. {
  13124. "type": "integer",
  13125. "description": "市场ID",
  13126. "name": "marketID",
  13127. "in": "query"
  13128. },
  13129. {
  13130. "type": "integer",
  13131. "description": "方向 - 0:买 1:卖",
  13132. "name": "buyorsell",
  13133. "in": "query",
  13134. "required": true
  13135. }
  13136. ],
  13137. "responses": {
  13138. "200": {
  13139. "description": "OK",
  13140. "schema": {
  13141. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  13142. }
  13143. },
  13144. "500": {
  13145. "description": "Internal Server Error",
  13146. "schema": {
  13147. "$ref": "#/definitions/app.Response"
  13148. }
  13149. }
  13150. }
  13151. }
  13152. },
  13153. "/SZDZ/QuerySZDZTradePosition": {
  13154. "get": {
  13155. "security": [
  13156. {
  13157. "ApiKeyAuth": []
  13158. }
  13159. ],
  13160. "produces": [
  13161. "application/json"
  13162. ],
  13163. "tags": [
  13164. "定制【尚志大宗】"
  13165. ],
  13166. "summary": "持仓汇总查询(尚志大宗)",
  13167. "parameters": [
  13168. {
  13169. "type": "integer",
  13170. "description": "资金账户",
  13171. "name": "accountID",
  13172. "in": "query",
  13173. "required": true
  13174. }
  13175. ],
  13176. "responses": {
  13177. "200": {
  13178. "description": "OK",
  13179. "schema": {
  13180. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  13181. }
  13182. },
  13183. "500": {
  13184. "description": "Internal Server Error",
  13185. "schema": {
  13186. "$ref": "#/definitions/app.Response"
  13187. }
  13188. }
  13189. }
  13190. }
  13191. },
  13192. "/SZDZ/SearchWhite": {
  13193. "get": {
  13194. "security": [
  13195. {
  13196. "ApiKeyAuth": []
  13197. }
  13198. ],
  13199. "produces": [
  13200. "application/json"
  13201. ],
  13202. "tags": [
  13203. "定制【尚志大宗】"
  13204. ],
  13205. "summary": "搜索白名单",
  13206. "parameters": [
  13207. {
  13208. "type": "integer",
  13209. "description": "用户ID",
  13210. "name": "userID",
  13211. "in": "query",
  13212. "required": true
  13213. }
  13214. ],
  13215. "responses": {
  13216. "200": {
  13217. "description": "OK",
  13218. "schema": {
  13219. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  13220. }
  13221. },
  13222. "500": {
  13223. "description": "Internal Server Error",
  13224. "schema": {
  13225. "$ref": "#/definitions/app.Response"
  13226. }
  13227. }
  13228. }
  13229. }
  13230. },
  13231. "/Search/SearchGoodses": {
  13232. "get": {
  13233. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  13234. "produces": [
  13235. "application/json"
  13236. ],
  13237. "tags": [
  13238. "检索服务"
  13239. ],
  13240. "summary": "检索商品信息",
  13241. "parameters": [
  13242. {
  13243. "type": "string",
  13244. "description": "检索内容",
  13245. "name": "content",
  13246. "in": "query",
  13247. "required": true
  13248. },
  13249. {
  13250. "type": "string",
  13251. "description": "交易模式,格式:1,2,3",
  13252. "name": "tradeModes",
  13253. "in": "query"
  13254. }
  13255. ],
  13256. "responses": {
  13257. "200": {
  13258. "description": "OK",
  13259. "schema": {
  13260. "$ref": "#/definitions/models.SearchGoods"
  13261. }
  13262. },
  13263. "500": {
  13264. "description": "Internal Server Error",
  13265. "schema": {
  13266. "$ref": "#/definitions/app.Response"
  13267. }
  13268. }
  13269. }
  13270. }
  13271. },
  13272. "/TaAccount/GetTaAccounts": {
  13273. "get": {
  13274. "security": [
  13275. {
  13276. "ApiKeyAuth": []
  13277. }
  13278. ],
  13279. "produces": [
  13280. "application/json"
  13281. ],
  13282. "tags": [
  13283. "资金账户"
  13284. ],
  13285. "summary": "获取资金账户信息",
  13286. "parameters": [
  13287. {
  13288. "type": "integer",
  13289. "description": "登录账户",
  13290. "name": "loginID",
  13291. "in": "query",
  13292. "required": true
  13293. },
  13294. {
  13295. "type": "integer",
  13296. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  13297. "name": "taAccountType",
  13298. "in": "query"
  13299. }
  13300. ],
  13301. "responses": {
  13302. "200": {
  13303. "description": "OK",
  13304. "schema": {
  13305. "$ref": "#/definitions/models.Taaccount"
  13306. }
  13307. },
  13308. "500": {
  13309. "description": "Internal Server Error",
  13310. "schema": {
  13311. "$ref": "#/definitions/app.Response"
  13312. }
  13313. }
  13314. }
  13315. }
  13316. },
  13317. "/TaAccount/QueryAmountLog": {
  13318. "get": {
  13319. "security": [
  13320. {
  13321. "ApiKeyAuth": []
  13322. }
  13323. ],
  13324. "produces": [
  13325. "application/json"
  13326. ],
  13327. "tags": [
  13328. "资金账户"
  13329. ],
  13330. "summary": "资金流水查询(当前)",
  13331. "parameters": [
  13332. {
  13333. "type": "integer",
  13334. "description": "页码",
  13335. "name": "page",
  13336. "in": "query"
  13337. },
  13338. {
  13339. "type": "integer",
  13340. "description": "每页条数",
  13341. "name": "pagesize",
  13342. "in": "query"
  13343. },
  13344. {
  13345. "type": "string",
  13346. "description": "资金账户 - 格式:1,2,3",
  13347. "name": "accountID",
  13348. "in": "query",
  13349. "required": true
  13350. },
  13351. {
  13352. "type": "string",
  13353. "description": "资金操作类型 - 格式:1,2,3",
  13354. "name": "OperateType",
  13355. "in": "query"
  13356. }
  13357. ],
  13358. "responses": {
  13359. "200": {
  13360. "description": "OK",
  13361. "schema": {
  13362. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  13363. }
  13364. },
  13365. "500": {
  13366. "description": "Internal Server Error",
  13367. "schema": {
  13368. "$ref": "#/definitions/app.Response"
  13369. }
  13370. }
  13371. }
  13372. }
  13373. },
  13374. "/TaAccount/QueryHisAmountLog": {
  13375. "get": {
  13376. "security": [
  13377. {
  13378. "ApiKeyAuth": []
  13379. }
  13380. ],
  13381. "produces": [
  13382. "application/json"
  13383. ],
  13384. "tags": [
  13385. "资金账户"
  13386. ],
  13387. "summary": "资金流水查询(历史)",
  13388. "parameters": [
  13389. {
  13390. "type": "integer",
  13391. "description": "页码",
  13392. "name": "page",
  13393. "in": "query"
  13394. },
  13395. {
  13396. "type": "integer",
  13397. "description": "每页条数",
  13398. "name": "pagesize",
  13399. "in": "query"
  13400. },
  13401. {
  13402. "type": "string",
  13403. "description": "资金账户 - 格式:1,2,3",
  13404. "name": "accountID",
  13405. "in": "query",
  13406. "required": true
  13407. },
  13408. {
  13409. "type": "string",
  13410. "description": "资金操作类型 - 格式:1,2,3",
  13411. "name": "OperateType",
  13412. "in": "query"
  13413. },
  13414. {
  13415. "type": "string",
  13416. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  13417. "name": "startDate",
  13418. "in": "query"
  13419. },
  13420. {
  13421. "type": "string",
  13422. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  13423. "name": "endDate",
  13424. "in": "query"
  13425. }
  13426. ],
  13427. "responses": {
  13428. "200": {
  13429. "description": "OK",
  13430. "schema": {
  13431. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  13432. }
  13433. },
  13434. "500": {
  13435. "description": "Internal Server Error",
  13436. "schema": {
  13437. "$ref": "#/definitions/app.Response"
  13438. }
  13439. }
  13440. }
  13441. }
  13442. },
  13443. "/TaAccount/QueryRelatedTaAccount": {
  13444. "get": {
  13445. "security": [
  13446. {
  13447. "ApiKeyAuth": []
  13448. }
  13449. ],
  13450. "produces": [
  13451. "application/json"
  13452. ],
  13453. "tags": [
  13454. "资金账户"
  13455. ],
  13456. "summary": "查询关联资金账户信息",
  13457. "parameters": [
  13458. {
  13459. "type": "integer",
  13460. "description": "关联UserID",
  13461. "name": "relateduserid",
  13462. "in": "query",
  13463. "required": true
  13464. }
  13465. ],
  13466. "responses": {
  13467. "200": {
  13468. "description": "OK",
  13469. "schema": {
  13470. "type": "array",
  13471. "items": {
  13472. "$ref": "#/definitions/models.RelatedTaAccount"
  13473. }
  13474. }
  13475. },
  13476. "500": {
  13477. "description": "Internal Server Error",
  13478. "schema": {
  13479. "$ref": "#/definitions/app.Response"
  13480. }
  13481. }
  13482. }
  13483. }
  13484. },
  13485. "/Tjmd/QueryQuoteGoodsList": {
  13486. "get": {
  13487. "security": [
  13488. {
  13489. "ApiKeyAuth": []
  13490. }
  13491. ],
  13492. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  13493. "produces": [
  13494. "application/json"
  13495. ],
  13496. "tags": [
  13497. "天津麦顿"
  13498. ],
  13499. "summary": "查询掉期报价列表",
  13500. "parameters": [
  13501. {
  13502. "type": "integer",
  13503. "description": "用户类型",
  13504. "name": "usertype",
  13505. "in": "query",
  13506. "required": true
  13507. },
  13508. {
  13509. "type": "string",
  13510. "description": "市场id, 格式 1,2,3",
  13511. "name": "marketids",
  13512. "in": "query"
  13513. },
  13514. {
  13515. "type": "integer",
  13516. "description": "商品组id",
  13517. "name": "goodsgroupid",
  13518. "in": "query"
  13519. },
  13520. {
  13521. "type": "integer",
  13522. "description": "商品id",
  13523. "name": "goodsid",
  13524. "in": "query"
  13525. }
  13526. ],
  13527. "responses": {
  13528. "200": {
  13529. "description": "OK",
  13530. "schema": {
  13531. "type": "array",
  13532. "items": {
  13533. "$ref": "#/definitions/models.TjmdQuoteGoods"
  13534. }
  13535. }
  13536. },
  13537. "500": {
  13538. "description": "Internal Server Error",
  13539. "schema": {
  13540. "$ref": "#/definitions/app.Response"
  13541. }
  13542. }
  13543. }
  13544. }
  13545. },
  13546. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  13547. "get": {
  13548. "security": [
  13549. {
  13550. "ApiKeyAuth": []
  13551. }
  13552. ],
  13553. "produces": [
  13554. "application/json"
  13555. ],
  13556. "tags": [
  13557. "天津麦顿"
  13558. ],
  13559. "summary": "掉期商品订单详情(交易确认书)",
  13560. "parameters": [
  13561. {
  13562. "type": "string",
  13563. "description": "成交单号",
  13564. "name": "tradeid",
  13565. "in": "query",
  13566. "required": true
  13567. }
  13568. ],
  13569. "responses": {
  13570. "200": {
  13571. "description": "OK",
  13572. "schema": {
  13573. "type": "array",
  13574. "items": {
  13575. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  13576. }
  13577. }
  13578. },
  13579. "500": {
  13580. "description": "Internal Server Error",
  13581. "schema": {
  13582. "$ref": "#/definitions/app.Response"
  13583. }
  13584. }
  13585. }
  13586. }
  13587. },
  13588. "/Tjmd/QueryTjmdMarketSection": {
  13589. "get": {
  13590. "security": [
  13591. {
  13592. "ApiKeyAuth": []
  13593. }
  13594. ],
  13595. "produces": [
  13596. "application/json"
  13597. ],
  13598. "tags": [
  13599. "天津麦顿"
  13600. ],
  13601. "summary": "查询市场板块",
  13602. "responses": {
  13603. "200": {
  13604. "description": "OK",
  13605. "schema": {
  13606. "type": "array",
  13607. "items": {
  13608. "$ref": "#/definitions/models.TjmdMarketSection"
  13609. }
  13610. }
  13611. },
  13612. "500": {
  13613. "description": "Internal Server Error",
  13614. "schema": {
  13615. "$ref": "#/definitions/app.Response"
  13616. }
  13617. }
  13618. }
  13619. }
  13620. },
  13621. "/Tjmd/QueryTjmdTodayAccountMargin": {
  13622. "get": {
  13623. "security": [
  13624. {
  13625. "ApiKeyAuth": []
  13626. }
  13627. ],
  13628. "produces": [
  13629. "application/json"
  13630. ],
  13631. "tags": [
  13632. "天津麦顿"
  13633. ],
  13634. "summary": "查询今日账户保证金配置",
  13635. "parameters": [
  13636. {
  13637. "type": "string",
  13638. "description": "市场id",
  13639. "name": "marketid",
  13640. "in": "query"
  13641. },
  13642. {
  13643. "type": "string",
  13644. "description": "商品id",
  13645. "name": "goodsid",
  13646. "in": "query"
  13647. },
  13648. {
  13649. "type": "string",
  13650. "description": "资金账号",
  13651. "name": "accountid",
  13652. "in": "query"
  13653. }
  13654. ],
  13655. "responses": {
  13656. "200": {
  13657. "description": "OK",
  13658. "schema": {
  13659. "type": "array",
  13660. "items": {
  13661. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  13662. }
  13663. }
  13664. },
  13665. "500": {
  13666. "description": "Internal Server Error",
  13667. "schema": {
  13668. "$ref": "#/definitions/app.Response"
  13669. }
  13670. }
  13671. }
  13672. }
  13673. },
  13674. "/Tjmd/QueryTjmdTradeOrderDetail": {
  13675. "get": {
  13676. "security": [
  13677. {
  13678. "ApiKeyAuth": []
  13679. }
  13680. ],
  13681. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  13682. "produces": [
  13683. "application/json"
  13684. ],
  13685. "tags": [
  13686. "天津麦顿"
  13687. ],
  13688. "summary": "查询掉期买卖大厅",
  13689. "parameters": [
  13690. {
  13691. "type": "integer",
  13692. "description": "页码",
  13693. "name": "page",
  13694. "in": "query"
  13695. },
  13696. {
  13697. "type": "integer",
  13698. "description": "每页条数",
  13699. "name": "pagesize",
  13700. "in": "query"
  13701. },
  13702. {
  13703. "type": "integer",
  13704. "description": "用户id",
  13705. "name": "userid",
  13706. "in": "query",
  13707. "required": true
  13708. },
  13709. {
  13710. "type": "integer",
  13711. "description": "用户类型",
  13712. "name": "usertype",
  13713. "in": "query",
  13714. "required": true
  13715. },
  13716. {
  13717. "type": "string",
  13718. "description": "市场id, 格式 1,2,3",
  13719. "name": "marketids",
  13720. "in": "query"
  13721. },
  13722. {
  13723. "type": "integer",
  13724. "description": "商品id",
  13725. "name": "goodsid",
  13726. "in": "query",
  13727. "required": true
  13728. },
  13729. {
  13730. "type": "integer",
  13731. "description": "买卖方向 0-买 1-卖",
  13732. "name": "buyorsell",
  13733. "in": "query",
  13734. "required": true
  13735. }
  13736. ],
  13737. "responses": {
  13738. "200": {
  13739. "description": "OK",
  13740. "schema": {
  13741. "type": "array",
  13742. "items": {
  13743. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  13744. }
  13745. }
  13746. },
  13747. "500": {
  13748. "description": "Internal Server Error",
  13749. "schema": {
  13750. "$ref": "#/definitions/app.Response"
  13751. }
  13752. }
  13753. }
  13754. }
  13755. },
  13756. "/Tjmd/QueryTjmdTransferApply": {
  13757. "get": {
  13758. "security": [
  13759. {
  13760. "ApiKeyAuth": []
  13761. }
  13762. ],
  13763. "produces": [
  13764. "application/json"
  13765. ],
  13766. "tags": [
  13767. "天津麦顿"
  13768. ],
  13769. "summary": "查询掉期协议单",
  13770. "parameters": [
  13771. {
  13772. "type": "integer",
  13773. "description": "类型 1-我的申请 2-对方申请",
  13774. "name": "applytype",
  13775. "in": "query",
  13776. "required": true
  13777. },
  13778. {
  13779. "type": "string",
  13780. "description": "市场id, 格式 1,2,3",
  13781. "name": "marketids",
  13782. "in": "query"
  13783. },
  13784. {
  13785. "type": "string",
  13786. "description": "资金账号, 格式 25000000001,25000000003",
  13787. "name": "accountids",
  13788. "in": "query"
  13789. },
  13790. {
  13791. "type": "string",
  13792. "description": "开始交易日(yyyymmdd)",
  13793. "name": "begindate",
  13794. "in": "query"
  13795. },
  13796. {
  13797. "type": "string",
  13798. "description": "结束交易日(yyyymmdd)",
  13799. "name": "enddate",
  13800. "in": "query"
  13801. }
  13802. ],
  13803. "responses": {
  13804. "200": {
  13805. "description": "OK",
  13806. "schema": {
  13807. "type": "array",
  13808. "items": {
  13809. "$ref": "#/definitions/models.TjmdTransferApply"
  13810. }
  13811. }
  13812. },
  13813. "500": {
  13814. "description": "Internal Server Error",
  13815. "schema": {
  13816. "$ref": "#/definitions/app.Response"
  13817. }
  13818. }
  13819. }
  13820. }
  13821. },
  13822. "/Trade/QueryRecieptOrder": {
  13823. "get": {
  13824. "security": [
  13825. {
  13826. "ApiKeyAuth": []
  13827. }
  13828. ],
  13829. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13830. "produces": [
  13831. "application/json"
  13832. ],
  13833. "tags": [
  13834. "通用交易"
  13835. ],
  13836. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  13837. "parameters": [
  13838. {
  13839. "type": "integer",
  13840. "description": "页码",
  13841. "name": "page",
  13842. "in": "query"
  13843. },
  13844. {
  13845. "type": "integer",
  13846. "description": "每页条数",
  13847. "name": "pagesize",
  13848. "in": "query"
  13849. },
  13850. {
  13851. "type": "integer",
  13852. "description": "商品ID",
  13853. "name": "goodsID",
  13854. "in": "query",
  13855. "required": true
  13856. },
  13857. {
  13858. "type": "string",
  13859. "description": "所属账户名称",
  13860. "name": "accountName",
  13861. "in": "query"
  13862. },
  13863. {
  13864. "type": "integer",
  13865. "description": "市场ID",
  13866. "name": "marketID",
  13867. "in": "query"
  13868. },
  13869. {
  13870. "type": "integer",
  13871. "description": "方向 - 0:买 1:卖",
  13872. "name": "buyorsell",
  13873. "in": "query",
  13874. "required": true
  13875. }
  13876. ],
  13877. "responses": {
  13878. "200": {
  13879. "description": "OK",
  13880. "schema": {
  13881. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  13882. }
  13883. },
  13884. "500": {
  13885. "description": "Internal Server Error",
  13886. "schema": {
  13887. "$ref": "#/definitions/app.Response"
  13888. }
  13889. }
  13890. }
  13891. }
  13892. },
  13893. "/User/AddMessageBoard": {
  13894. "post": {
  13895. "security": [
  13896. {
  13897. "ApiKeyAuth": []
  13898. }
  13899. ],
  13900. "produces": [
  13901. "application/json"
  13902. ],
  13903. "tags": [
  13904. "用户信息"
  13905. ],
  13906. "summary": "添加用户留言板信息",
  13907. "parameters": [
  13908. {
  13909. "type": "integer",
  13910. "description": "用户ID",
  13911. "name": "userID",
  13912. "in": "query",
  13913. "required": true
  13914. },
  13915. {
  13916. "type": "string",
  13917. "description": "留言信息",
  13918. "name": "message",
  13919. "in": "query",
  13920. "required": true
  13921. },
  13922. {
  13923. "type": "string",
  13924. "description": "联系电话",
  13925. "name": "contactNum",
  13926. "in": "query",
  13927. "required": true
  13928. }
  13929. ],
  13930. "responses": {
  13931. "200": {
  13932. "description": "OK",
  13933. "schema": {
  13934. "$ref": "#/definitions/app.Response"
  13935. }
  13936. },
  13937. "500": {
  13938. "description": "Internal Server Error",
  13939. "schema": {
  13940. "$ref": "#/definitions/app.Response"
  13941. }
  13942. }
  13943. }
  13944. }
  13945. },
  13946. "/User/AddUserFavoriteGoods": {
  13947. "post": {
  13948. "security": [
  13949. {
  13950. "ApiKeyAuth": []
  13951. }
  13952. ],
  13953. "produces": [
  13954. "application/json"
  13955. ],
  13956. "tags": [
  13957. "用户信息"
  13958. ],
  13959. "summary": "添加用户商品收藏信息",
  13960. "parameters": [
  13961. {
  13962. "type": "integer",
  13963. "description": "用户ID",
  13964. "name": "userID",
  13965. "in": "query",
  13966. "required": true
  13967. },
  13968. {
  13969. "type": "integer",
  13970. "description": "商品ID",
  13971. "name": "goodsID",
  13972. "in": "query",
  13973. "required": true
  13974. }
  13975. ],
  13976. "responses": {
  13977. "200": {
  13978. "description": "OK",
  13979. "schema": {
  13980. "$ref": "#/definitions/app.Response"
  13981. }
  13982. },
  13983. "500": {
  13984. "description": "Internal Server Error",
  13985. "schema": {
  13986. "$ref": "#/definitions/app.Response"
  13987. }
  13988. }
  13989. }
  13990. }
  13991. },
  13992. "/User/GetLoginID": {
  13993. "get": {
  13994. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  13995. "produces": [
  13996. "application/json"
  13997. ],
  13998. "tags": [
  13999. "用户信息"
  14000. ],
  14001. "summary": "获取登录ID",
  14002. "parameters": [
  14003. {
  14004. "type": "string",
  14005. "description": "登录代码",
  14006. "name": "username",
  14007. "in": "query",
  14008. "required": true
  14009. }
  14010. ],
  14011. "responses": {
  14012. "200": {
  14013. "description": "OK",
  14014. "schema": {
  14015. "$ref": "#/definitions/app.Response"
  14016. }
  14017. },
  14018. "500": {
  14019. "description": "Internal Server Error",
  14020. "schema": {
  14021. "$ref": "#/definitions/app.Response"
  14022. }
  14023. }
  14024. }
  14025. }
  14026. },
  14027. "/User/GetUserAccount": {
  14028. "get": {
  14029. "security": [
  14030. {
  14031. "ApiKeyAuth": []
  14032. }
  14033. ],
  14034. "produces": [
  14035. "application/json"
  14036. ],
  14037. "tags": [
  14038. "用户信息"
  14039. ],
  14040. "summary": "获取用户账号信息",
  14041. "parameters": [
  14042. {
  14043. "type": "integer",
  14044. "description": "用户ID",
  14045. "name": "userID",
  14046. "in": "query",
  14047. "required": true
  14048. }
  14049. ],
  14050. "responses": {
  14051. "200": {
  14052. "description": "OK",
  14053. "schema": {
  14054. "$ref": "#/definitions/models.Useraccount"
  14055. }
  14056. },
  14057. "500": {
  14058. "description": "Internal Server Error",
  14059. "schema": {
  14060. "$ref": "#/definitions/app.Response"
  14061. }
  14062. }
  14063. }
  14064. }
  14065. },
  14066. "/User/GetUserAuthStatus": {
  14067. "get": {
  14068. "security": [
  14069. {
  14070. "ApiKeyAuth": []
  14071. }
  14072. ],
  14073. "produces": [
  14074. "application/json"
  14075. ],
  14076. "tags": [
  14077. "用户信息"
  14078. ],
  14079. "summary": "获取用户实名认证状态",
  14080. "parameters": [
  14081. {
  14082. "type": "integer",
  14083. "description": "用户ID",
  14084. "name": "userID",
  14085. "in": "query",
  14086. "required": true
  14087. }
  14088. ],
  14089. "responses": {
  14090. "200": {
  14091. "description": "OK",
  14092. "schema": {
  14093. "$ref": "#/definitions/app.Response"
  14094. }
  14095. },
  14096. "500": {
  14097. "description": "Internal Server Error",
  14098. "schema": {
  14099. "$ref": "#/definitions/app.Response"
  14100. }
  14101. }
  14102. }
  14103. }
  14104. },
  14105. "/User/LoginQuery": {
  14106. "get": {
  14107. "security": [
  14108. {
  14109. "ApiKeyAuth": []
  14110. }
  14111. ],
  14112. "produces": [
  14113. "application/json"
  14114. ],
  14115. "tags": [
  14116. "用户信息"
  14117. ],
  14118. "summary": "账户登录后信息查询",
  14119. "parameters": [
  14120. {
  14121. "type": "integer",
  14122. "description": "登录账号",
  14123. "name": "loginID",
  14124. "in": "query",
  14125. "required": true
  14126. }
  14127. ],
  14128. "responses": {
  14129. "200": {
  14130. "description": "OK",
  14131. "schema": {
  14132. "$ref": "#/definitions/user.LoginQueryRsp"
  14133. }
  14134. },
  14135. "500": {
  14136. "description": "Internal Server Error",
  14137. "schema": {
  14138. "$ref": "#/definitions/app.Response"
  14139. }
  14140. }
  14141. }
  14142. }
  14143. },
  14144. "/User/QueryMessageBoard": {
  14145. "get": {
  14146. "security": [
  14147. {
  14148. "ApiKeyAuth": []
  14149. }
  14150. ],
  14151. "produces": [
  14152. "application/json"
  14153. ],
  14154. "tags": [
  14155. "用户信息"
  14156. ],
  14157. "summary": "获取用户留言板信息",
  14158. "parameters": [
  14159. {
  14160. "type": "integer",
  14161. "description": "用户ID",
  14162. "name": "userID",
  14163. "in": "query",
  14164. "required": true
  14165. }
  14166. ],
  14167. "responses": {
  14168. "200": {
  14169. "description": "OK",
  14170. "schema": {
  14171. "$ref": "#/definitions/models.Messageboard"
  14172. }
  14173. },
  14174. "500": {
  14175. "description": "Internal Server Error",
  14176. "schema": {
  14177. "$ref": "#/definitions/app.Response"
  14178. }
  14179. }
  14180. }
  14181. }
  14182. },
  14183. "/User/QueryUserFavoriteGoodses": {
  14184. "get": {
  14185. "security": [
  14186. {
  14187. "ApiKeyAuth": []
  14188. }
  14189. ],
  14190. "produces": [
  14191. "application/json"
  14192. ],
  14193. "tags": [
  14194. "用户信息"
  14195. ],
  14196. "summary": "获取用户商品收藏信息",
  14197. "parameters": [
  14198. {
  14199. "type": "integer",
  14200. "description": "用户ID",
  14201. "name": "userID",
  14202. "in": "query",
  14203. "required": true
  14204. }
  14205. ],
  14206. "responses": {
  14207. "200": {
  14208. "description": "OK",
  14209. "schema": {
  14210. "$ref": "#/definitions/models.Userfavoritegoods"
  14211. }
  14212. },
  14213. "500": {
  14214. "description": "Internal Server Error",
  14215. "schema": {
  14216. "$ref": "#/definitions/app.Response"
  14217. }
  14218. }
  14219. }
  14220. }
  14221. },
  14222. "/User/QueryUserInfo": {
  14223. "get": {
  14224. "security": [
  14225. {
  14226. "ApiKeyAuth": []
  14227. }
  14228. ],
  14229. "produces": [
  14230. "application/json"
  14231. ],
  14232. "tags": [
  14233. "用户信息"
  14234. ],
  14235. "summary": "获取用户信息",
  14236. "parameters": [
  14237. {
  14238. "type": "integer",
  14239. "description": "用户ID",
  14240. "name": "userID",
  14241. "in": "query",
  14242. "required": true
  14243. },
  14244. {
  14245. "type": "boolean",
  14246. "description": "是否解密",
  14247. "name": "isDecrypt",
  14248. "in": "query"
  14249. }
  14250. ],
  14251. "responses": {
  14252. "200": {
  14253. "description": "OK",
  14254. "schema": {
  14255. "$ref": "#/definitions/models.Userinfo"
  14256. }
  14257. },
  14258. "500": {
  14259. "description": "Internal Server Error",
  14260. "schema": {
  14261. "$ref": "#/definitions/app.Response"
  14262. }
  14263. }
  14264. }
  14265. }
  14266. },
  14267. "/User/QueryUserReferNum": {
  14268. "get": {
  14269. "produces": [
  14270. "application/json"
  14271. ],
  14272. "tags": [
  14273. "用户信息"
  14274. ],
  14275. "summary": "获取用户邀请码",
  14276. "parameters": [
  14277. {
  14278. "type": "integer",
  14279. "description": "用户ID",
  14280. "name": "userID",
  14281. "in": "query",
  14282. "required": true
  14283. }
  14284. ],
  14285. "responses": {
  14286. "200": {
  14287. "description": "OK",
  14288. "schema": {
  14289. "$ref": "#/definitions/app.Response"
  14290. }
  14291. },
  14292. "500": {
  14293. "description": "Internal Server Error",
  14294. "schema": {
  14295. "$ref": "#/definitions/app.Response"
  14296. }
  14297. }
  14298. }
  14299. }
  14300. },
  14301. "/User/RemoveUserFavoriteGoods": {
  14302. "post": {
  14303. "security": [
  14304. {
  14305. "ApiKeyAuth": []
  14306. }
  14307. ],
  14308. "produces": [
  14309. "application/json"
  14310. ],
  14311. "tags": [
  14312. "用户信息"
  14313. ],
  14314. "summary": "移除用户商品收藏信息",
  14315. "parameters": [
  14316. {
  14317. "type": "integer",
  14318. "description": "用户ID",
  14319. "name": "userID",
  14320. "in": "query",
  14321. "required": true
  14322. },
  14323. {
  14324. "type": "integer",
  14325. "description": "商品ID",
  14326. "name": "goodsID",
  14327. "in": "query",
  14328. "required": true
  14329. }
  14330. ],
  14331. "responses": {
  14332. "200": {
  14333. "description": "OK",
  14334. "schema": {
  14335. "$ref": "#/definitions/app.Response"
  14336. }
  14337. },
  14338. "500": {
  14339. "description": "Internal Server Error",
  14340. "schema": {
  14341. "$ref": "#/definitions/app.Response"
  14342. }
  14343. }
  14344. }
  14345. }
  14346. },
  14347. "/User/UpdateUserAccountStatus": {
  14348. "post": {
  14349. "security": [
  14350. {
  14351. "ApiKeyAuth": []
  14352. }
  14353. ],
  14354. "produces": [
  14355. "application/json"
  14356. ],
  14357. "tags": [
  14358. "用户信息"
  14359. ],
  14360. "summary": "更新用户状态",
  14361. "parameters": [
  14362. {
  14363. "type": "integer",
  14364. "description": "用户ID",
  14365. "name": "userID",
  14366. "in": "query",
  14367. "required": true
  14368. },
  14369. {
  14370. "type": "integer",
  14371. "description": "账户状态 - 4:正常 6:注销(停用)",
  14372. "name": "accountStatus",
  14373. "in": "query",
  14374. "required": true
  14375. }
  14376. ],
  14377. "responses": {
  14378. "200": {
  14379. "description": "OK",
  14380. "schema": {
  14381. "$ref": "#/definitions/app.Response"
  14382. }
  14383. },
  14384. "500": {
  14385. "description": "Internal Server Error",
  14386. "schema": {
  14387. "$ref": "#/definitions/app.Response"
  14388. }
  14389. }
  14390. }
  14391. }
  14392. },
  14393. "/WRTrade/GetAllDeliveryGoods": {
  14394. "get": {
  14395. "security": [
  14396. {
  14397. "ApiKeyAuth": []
  14398. }
  14399. ],
  14400. "produces": [
  14401. "application/json"
  14402. ],
  14403. "tags": [
  14404. "仓单贸易",
  14405. "仓单贸易"
  14406. ],
  14407. "summary": "获取带仓单分类的种类信息",
  14408. "responses": {
  14409. "200": {
  14410. "description": "OK",
  14411. "schema": {
  14412. "$ref": "#/definitions/app.Response"
  14413. }
  14414. },
  14415. "500": {
  14416. "description": "Internal Server Error",
  14417. "schema": {
  14418. "$ref": "#/definitions/app.Response"
  14419. }
  14420. }
  14421. }
  14422. }
  14423. },
  14424. "/WrTrade2/InsertXhcpSellBackApply": {
  14425. "post": {
  14426. "security": [
  14427. {
  14428. "ApiKeyAuth": []
  14429. }
  14430. ],
  14431. "produces": [
  14432. "application/json"
  14433. ],
  14434. "tags": [
  14435. "仓单贸易v2"
  14436. ],
  14437. "summary": "新增回收申请(新会陈皮)",
  14438. "parameters": [
  14439. {
  14440. "description": "回收申请",
  14441. "name": "jsonBody",
  14442. "in": "body",
  14443. "required": true,
  14444. "schema": {
  14445. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  14446. }
  14447. }
  14448. ],
  14449. "responses": {
  14450. "200": {
  14451. "description": "OK",
  14452. "schema": {
  14453. "$ref": "#/definitions/app.Response"
  14454. }
  14455. },
  14456. "500": {
  14457. "description": "Internal Server Error",
  14458. "schema": {
  14459. "$ref": "#/definitions/app.Response"
  14460. }
  14461. }
  14462. }
  14463. }
  14464. },
  14465. "/WrTrade2/QueryDeliveryGoodsSection": {
  14466. "get": {
  14467. "security": [
  14468. {
  14469. "ApiKeyAuth": []
  14470. }
  14471. ],
  14472. "produces": [
  14473. "application/json"
  14474. ],
  14475. "tags": [
  14476. "仓单贸易v2"
  14477. ],
  14478. "summary": "查询板块(分类)",
  14479. "responses": {
  14480. "200": {
  14481. "description": "OK",
  14482. "schema": {
  14483. "type": "array",
  14484. "items": {
  14485. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  14486. }
  14487. }
  14488. },
  14489. "500": {
  14490. "description": "Internal Server Error",
  14491. "schema": {
  14492. "$ref": "#/definitions/app.Response"
  14493. }
  14494. }
  14495. }
  14496. }
  14497. },
  14498. "/WrTrade2/QueryFaProductDetail": {
  14499. "get": {
  14500. "security": [
  14501. {
  14502. "ApiKeyAuth": []
  14503. }
  14504. ],
  14505. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  14506. "produces": [
  14507. "application/json"
  14508. ],
  14509. "tags": [
  14510. "仓单贸易v2"
  14511. ],
  14512. "summary": "查询融资产品列表",
  14513. "parameters": [
  14514. {
  14515. "type": "integer",
  14516. "description": "仓单要素id",
  14517. "name": "wrfactortypeid",
  14518. "in": "query",
  14519. "required": true
  14520. }
  14521. ],
  14522. "responses": {
  14523. "200": {
  14524. "description": "OK",
  14525. "schema": {
  14526. "type": "array",
  14527. "items": {
  14528. "$ref": "#/definitions/models.WrFAProductDetail"
  14529. }
  14530. }
  14531. },
  14532. "500": {
  14533. "description": "Internal Server Error",
  14534. "schema": {
  14535. "$ref": "#/definitions/app.Response"
  14536. }
  14537. }
  14538. }
  14539. }
  14540. },
  14541. "/WrTrade2/QueryFilterItem": {
  14542. "get": {
  14543. "security": [
  14544. {
  14545. "ApiKeyAuth": []
  14546. }
  14547. ],
  14548. "produces": [
  14549. "application/json"
  14550. ],
  14551. "tags": [
  14552. "仓单贸易v2"
  14553. ],
  14554. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  14555. "parameters": [
  14556. {
  14557. "type": "string",
  14558. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  14559. "name": "itype",
  14560. "in": "query",
  14561. "required": true
  14562. }
  14563. ],
  14564. "responses": {
  14565. "200": {
  14566. "description": "OK",
  14567. "schema": {
  14568. "type": "array",
  14569. "items": {
  14570. "$ref": "#/definitions/models.WrFilterItem"
  14571. }
  14572. }
  14573. },
  14574. "500": {
  14575. "description": "Internal Server Error",
  14576. "schema": {
  14577. "$ref": "#/definitions/app.Response"
  14578. }
  14579. }
  14580. }
  14581. }
  14582. },
  14583. "/WrTrade2/QueryFtDeliveryGoods": {
  14584. "get": {
  14585. "security": [
  14586. {
  14587. "ApiKeyAuth": []
  14588. }
  14589. ],
  14590. "produces": [
  14591. "application/json"
  14592. ],
  14593. "tags": [
  14594. "仓单贸易v2"
  14595. ],
  14596. "summary": "查询品种品类筛选框列表",
  14597. "responses": {
  14598. "200": {
  14599. "description": "OK",
  14600. "schema": {
  14601. "type": "array",
  14602. "items": {
  14603. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  14604. }
  14605. }
  14606. },
  14607. "500": {
  14608. "description": "Internal Server Error",
  14609. "schema": {
  14610. "$ref": "#/definitions/app.Response"
  14611. }
  14612. }
  14613. }
  14614. }
  14615. },
  14616. "/WrTrade2/QueryHoldLB": {
  14617. "get": {
  14618. "security": [
  14619. {
  14620. "ApiKeyAuth": []
  14621. }
  14622. ],
  14623. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  14624. "produces": [
  14625. "application/json"
  14626. ],
  14627. "tags": [
  14628. "仓单贸易v2"
  14629. ],
  14630. "summary": "查询仓单持有记录",
  14631. "parameters": [
  14632. {
  14633. "type": "integer",
  14634. "description": "资金账号",
  14635. "name": "accountid",
  14636. "in": "query",
  14637. "required": true
  14638. },
  14639. {
  14640. "type": "integer",
  14641. "description": "仓库id",
  14642. "name": "warehouseid",
  14643. "in": "query"
  14644. },
  14645. {
  14646. "type": "integer",
  14647. "description": "品种id",
  14648. "name": "deliverygoodsid",
  14649. "in": "query"
  14650. },
  14651. {
  14652. "type": "integer",
  14653. "description": "品类id",
  14654. "name": "wrstandardid",
  14655. "in": "query"
  14656. },
  14657. {
  14658. "type": "integer",
  14659. "description": "仓单要素id",
  14660. "name": "wrfactortypeid",
  14661. "in": "query"
  14662. },
  14663. {
  14664. "type": "string",
  14665. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14666. "name": "dgitemname",
  14667. "in": "query"
  14668. }
  14669. ],
  14670. "responses": {
  14671. "200": {
  14672. "description": "OK",
  14673. "schema": {
  14674. "type": "array",
  14675. "items": {
  14676. "$ref": "#/definitions/models.WrHoldLB"
  14677. }
  14678. }
  14679. },
  14680. "500": {
  14681. "description": "Internal Server Error",
  14682. "schema": {
  14683. "$ref": "#/definitions/app.Response"
  14684. }
  14685. }
  14686. }
  14687. }
  14688. },
  14689. "/WrTrade2/QueryOrderQuote": {
  14690. "get": {
  14691. "security": [
  14692. {
  14693. "ApiKeyAuth": []
  14694. }
  14695. ],
  14696. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  14697. "produces": [
  14698. "application/json"
  14699. ],
  14700. "tags": [
  14701. "仓单贸易v2"
  14702. ],
  14703. "summary": "查询大厅行情列表",
  14704. "parameters": [
  14705. {
  14706. "type": "integer",
  14707. "description": "页码",
  14708. "name": "page",
  14709. "in": "query"
  14710. },
  14711. {
  14712. "type": "integer",
  14713. "description": "每页条数",
  14714. "name": "pagesize",
  14715. "in": "query"
  14716. },
  14717. {
  14718. "type": "integer",
  14719. "description": "仓单贸易市场id",
  14720. "name": "marketid",
  14721. "in": "query"
  14722. },
  14723. {
  14724. "type": "integer",
  14725. "description": "价格方式 - 1:固定价 2-浮动价",
  14726. "name": "wrpricetype",
  14727. "in": "query",
  14728. "required": true
  14729. },
  14730. {
  14731. "type": "integer",
  14732. "description": "0:仓单预售 1:仓单贸易",
  14733. "name": "haswr",
  14734. "in": "query"
  14735. },
  14736. {
  14737. "type": "string",
  14738. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14739. "name": "dgitemname",
  14740. "in": "query"
  14741. },
  14742. {
  14743. "type": "integer",
  14744. "description": "仓库id(筛选条件)",
  14745. "name": "warehouseid",
  14746. "in": "query"
  14747. },
  14748. {
  14749. "type": "integer",
  14750. "description": "品种id",
  14751. "name": "deliverygoodsid",
  14752. "in": "query"
  14753. },
  14754. {
  14755. "type": "integer",
  14756. "description": "品类id",
  14757. "name": "wrstandardid",
  14758. "in": "query"
  14759. },
  14760. {
  14761. "type": "integer",
  14762. "description": "品牌id(dgfactoryitemid)",
  14763. "name": "brandid",
  14764. "in": "query"
  14765. },
  14766. {
  14767. "type": "integer",
  14768. "description": "年份id(dgfactoryitemid)",
  14769. "name": "yearsid",
  14770. "in": "query"
  14771. },
  14772. {
  14773. "type": "integer",
  14774. "description": "仓单要素id",
  14775. "name": "wrfactortypeid",
  14776. "in": "query"
  14777. },
  14778. {
  14779. "type": "string",
  14780. "description": "交收月(yyyy-mm) 仓单预售填写",
  14781. "name": "deliverymonth",
  14782. "in": "query"
  14783. }
  14784. ],
  14785. "responses": {
  14786. "200": {
  14787. "description": "OK",
  14788. "schema": {
  14789. "type": "array",
  14790. "items": {
  14791. "$ref": "#/definitions/models.WrOrderQuote"
  14792. }
  14793. }
  14794. },
  14795. "500": {
  14796. "description": "Internal Server Error",
  14797. "schema": {
  14798. "$ref": "#/definitions/app.Response"
  14799. }
  14800. }
  14801. }
  14802. }
  14803. },
  14804. "/WrTrade2/QueryOrderQuoteDetail": {
  14805. "get": {
  14806. "security": [
  14807. {
  14808. "ApiKeyAuth": []
  14809. }
  14810. ],
  14811. "produces": [
  14812. "application/json"
  14813. ],
  14814. "tags": [
  14815. "仓单贸易v2"
  14816. ],
  14817. "summary": "查询买卖大厅",
  14818. "parameters": [
  14819. {
  14820. "type": "integer",
  14821. "description": "页码",
  14822. "name": "page",
  14823. "in": "query"
  14824. },
  14825. {
  14826. "type": "integer",
  14827. "description": "每页条数",
  14828. "name": "pagesize",
  14829. "in": "query"
  14830. },
  14831. {
  14832. "type": "integer",
  14833. "description": "仓单贸易市场id",
  14834. "name": "marketid",
  14835. "in": "query"
  14836. },
  14837. {
  14838. "type": "integer",
  14839. "description": "价格方式 - 1:固定价 2-浮动价",
  14840. "name": "wrpricetype",
  14841. "in": "query",
  14842. "required": true
  14843. },
  14844. {
  14845. "type": "integer",
  14846. "description": "0:仓单预售 1:仓单贸易",
  14847. "name": "haswr",
  14848. "in": "query"
  14849. },
  14850. {
  14851. "type": "integer",
  14852. "description": "仓单要素id",
  14853. "name": "wrfactortypeid",
  14854. "in": "query",
  14855. "required": true
  14856. },
  14857. {
  14858. "type": "integer",
  14859. "description": "期货商品id(浮动价方式时填)",
  14860. "name": "goodsid",
  14861. "in": "query"
  14862. },
  14863. {
  14864. "type": "integer",
  14865. "description": "买卖方向 0-买 1-卖",
  14866. "name": "buyorsell",
  14867. "in": "query",
  14868. "required": true
  14869. },
  14870. {
  14871. "type": "string",
  14872. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  14873. "name": "deliverymonth",
  14874. "in": "query"
  14875. }
  14876. ],
  14877. "responses": {
  14878. "200": {
  14879. "description": "OK",
  14880. "schema": {
  14881. "type": "array",
  14882. "items": {
  14883. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  14884. }
  14885. }
  14886. },
  14887. "500": {
  14888. "description": "Internal Server Error",
  14889. "schema": {
  14890. "$ref": "#/definitions/app.Response"
  14891. }
  14892. }
  14893. }
  14894. }
  14895. },
  14896. "/WrTrade2/QueryOrderQuoteMyq": {
  14897. "get": {
  14898. "security": [
  14899. {
  14900. "ApiKeyAuth": []
  14901. }
  14902. ],
  14903. "produces": [
  14904. "application/json"
  14905. ],
  14906. "tags": [
  14907. "仓单贸易v2"
  14908. ],
  14909. "summary": "查询贸易圈挂牌大厅",
  14910. "parameters": [
  14911. {
  14912. "type": "integer",
  14913. "description": "页码",
  14914. "name": "page",
  14915. "in": "query"
  14916. },
  14917. {
  14918. "type": "integer",
  14919. "description": "每页条数",
  14920. "name": "pagesize",
  14921. "in": "query"
  14922. },
  14923. {
  14924. "type": "integer",
  14925. "description": "用户id",
  14926. "name": "userid",
  14927. "in": "query",
  14928. "required": true
  14929. },
  14930. {
  14931. "type": "integer",
  14932. "description": "仓单贸易市场id",
  14933. "name": "marketid",
  14934. "in": "query"
  14935. },
  14936. {
  14937. "type": "integer",
  14938. "description": "0:仓单预售 1:仓单贸易",
  14939. "name": "haswr",
  14940. "in": "query"
  14941. },
  14942. {
  14943. "type": "integer",
  14944. "description": "买卖方向 0-买 1-卖",
  14945. "name": "buyorsell",
  14946. "in": "query",
  14947. "required": true
  14948. },
  14949. {
  14950. "type": "integer",
  14951. "description": "品种id",
  14952. "name": "deliverygoodsid",
  14953. "in": "query"
  14954. },
  14955. {
  14956. "type": "integer",
  14957. "description": "品类id",
  14958. "name": "wrstandardid",
  14959. "in": "query"
  14960. },
  14961. {
  14962. "type": "string",
  14963. "description": "交收月(yyyy-mm) 仓单预售填写",
  14964. "name": "deliverymonth",
  14965. "in": "query"
  14966. },
  14967. {
  14968. "type": "string",
  14969. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  14970. "name": "dgitemname",
  14971. "in": "query"
  14972. }
  14973. ],
  14974. "responses": {
  14975. "200": {
  14976. "description": "OK",
  14977. "schema": {
  14978. "type": "array",
  14979. "items": {
  14980. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  14981. }
  14982. }
  14983. },
  14984. "500": {
  14985. "description": "Internal Server Error",
  14986. "schema": {
  14987. "$ref": "#/definitions/app.Response"
  14988. }
  14989. }
  14990. }
  14991. }
  14992. },
  14993. "/WrTrade2/QueryPerformancePlan": {
  14994. "get": {
  14995. "security": [
  14996. {
  14997. "ApiKeyAuth": []
  14998. }
  14999. ],
  15000. "produces": [
  15001. "application/json"
  15002. ],
  15003. "tags": [
  15004. "仓单贸易v2"
  15005. ],
  15006. "summary": "查询履约信息",
  15007. "parameters": [
  15008. {
  15009. "type": "integer",
  15010. "description": "用户id",
  15011. "name": "userid",
  15012. "in": "query",
  15013. "required": true
  15014. },
  15015. {
  15016. "type": "integer",
  15017. "description": "买卖方向 0-买 1-卖",
  15018. "name": "buyorsell",
  15019. "in": "query",
  15020. "required": true
  15021. },
  15022. {
  15023. "type": "string",
  15024. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  15025. "name": "status",
  15026. "in": "query"
  15027. },
  15028. {
  15029. "type": "string",
  15030. "description": "开始交易日(yyyymmdd)",
  15031. "name": "begindate",
  15032. "in": "query"
  15033. },
  15034. {
  15035. "type": "string",
  15036. "description": "结束交易日(yyyymmdd)",
  15037. "name": "enddate",
  15038. "in": "query"
  15039. }
  15040. ],
  15041. "responses": {
  15042. "200": {
  15043. "description": "OK",
  15044. "schema": {
  15045. "type": "array",
  15046. "items": {
  15047. "$ref": "#/definitions/models.WrPerformancePlan"
  15048. }
  15049. }
  15050. },
  15051. "500": {
  15052. "description": "Internal Server Error",
  15053. "schema": {
  15054. "$ref": "#/definitions/app.Response"
  15055. }
  15056. }
  15057. }
  15058. }
  15059. },
  15060. "/WrTrade2/QueryPermancePlanTmp": {
  15061. "get": {
  15062. "security": [
  15063. {
  15064. "ApiKeyAuth": []
  15065. }
  15066. ],
  15067. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  15068. "produces": [
  15069. "application/json"
  15070. ],
  15071. "tags": [
  15072. "仓单贸易v2"
  15073. ],
  15074. "summary": "查询履约模板",
  15075. "parameters": [
  15076. {
  15077. "type": "integer",
  15078. "description": "用户id",
  15079. "name": "userid",
  15080. "in": "query"
  15081. },
  15082. {
  15083. "type": "string",
  15084. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  15085. "name": "tmptype",
  15086. "in": "query"
  15087. },
  15088. {
  15089. "type": "integer",
  15090. "description": "是否包含公共模板(用户id为空的) 1-包含",
  15091. "name": "includepub",
  15092. "in": "query"
  15093. },
  15094. {
  15095. "type": "integer",
  15096. "description": "市场id(天津麦顿指定此参数,其它不用)",
  15097. "name": "marketid",
  15098. "in": "query"
  15099. }
  15100. ],
  15101. "responses": {
  15102. "200": {
  15103. "description": "OK",
  15104. "schema": {
  15105. "type": "array",
  15106. "items": {
  15107. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  15108. }
  15109. }
  15110. },
  15111. "500": {
  15112. "description": "Internal Server Error",
  15113. "schema": {
  15114. "$ref": "#/definitions/app.Response"
  15115. }
  15116. }
  15117. }
  15118. }
  15119. },
  15120. "/WrTrade2/QuerySiteColumnDetail": {
  15121. "get": {
  15122. "security": [
  15123. {
  15124. "ApiKeyAuth": []
  15125. }
  15126. ],
  15127. "produces": [
  15128. "application/json"
  15129. ],
  15130. "tags": [
  15131. "仓单贸易v2"
  15132. ],
  15133. "summary": "查询资讯",
  15134. "parameters": [
  15135. {
  15136. "type": "integer",
  15137. "description": "页码",
  15138. "name": "page",
  15139. "in": "query"
  15140. },
  15141. {
  15142. "type": "integer",
  15143. "description": "每页条数",
  15144. "name": "pagesize",
  15145. "in": "query"
  15146. },
  15147. {
  15148. "type": "integer",
  15149. "description": "所属栏目id",
  15150. "name": "columnid",
  15151. "in": "query"
  15152. }
  15153. ],
  15154. "responses": {
  15155. "200": {
  15156. "description": "OK",
  15157. "schema": {
  15158. "type": "array",
  15159. "items": {
  15160. "$ref": "#/definitions/models.WrSiteColumnDetail"
  15161. }
  15162. }
  15163. },
  15164. "500": {
  15165. "description": "Internal Server Error",
  15166. "schema": {
  15167. "$ref": "#/definitions/app.Response"
  15168. }
  15169. }
  15170. }
  15171. }
  15172. },
  15173. "/WrTrade2/QuerySpotGroupTradeSum": {
  15174. "get": {
  15175. "security": [
  15176. {
  15177. "ApiKeyAuth": []
  15178. }
  15179. ],
  15180. "produces": [
  15181. "application/json"
  15182. ],
  15183. "tags": [
  15184. "仓单贸易v2"
  15185. ],
  15186. "summary": "查询指数",
  15187. "responses": {
  15188. "200": {
  15189. "description": "OK",
  15190. "schema": {
  15191. "type": "array",
  15192. "items": {
  15193. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  15194. }
  15195. }
  15196. },
  15197. "500": {
  15198. "description": "Internal Server Error",
  15199. "schema": {
  15200. "$ref": "#/definitions/app.Response"
  15201. }
  15202. }
  15203. }
  15204. }
  15205. },
  15206. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  15207. "get": {
  15208. "security": [
  15209. {
  15210. "ApiKeyAuth": []
  15211. }
  15212. ],
  15213. "description": "查询的结果将会按日期 从小到大 排序",
  15214. "produces": [
  15215. "application/json"
  15216. ],
  15217. "tags": [
  15218. "仓单贸易v2"
  15219. ],
  15220. "summary": "查询指数详细(价格走势图)",
  15221. "parameters": [
  15222. {
  15223. "type": "integer",
  15224. "description": "现货商品id",
  15225. "name": "deliverygoodsid",
  15226. "in": "query",
  15227. "required": true
  15228. },
  15229. {
  15230. "type": "integer",
  15231. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  15232. "name": "lastnum",
  15233. "in": "query"
  15234. }
  15235. ],
  15236. "responses": {
  15237. "200": {
  15238. "description": "OK",
  15239. "schema": {
  15240. "type": "array",
  15241. "items": {
  15242. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  15243. }
  15244. }
  15245. },
  15246. "500": {
  15247. "description": "Internal Server Error",
  15248. "schema": {
  15249. "$ref": "#/definitions/app.Response"
  15250. }
  15251. }
  15252. }
  15253. }
  15254. },
  15255. "/WrTrade2/QueryWrAverageTradePrice": {
  15256. "get": {
  15257. "security": [
  15258. {
  15259. "ApiKeyAuth": []
  15260. }
  15261. ],
  15262. "produces": [
  15263. "application/json"
  15264. ],
  15265. "tags": [
  15266. "仓单贸易v2"
  15267. ],
  15268. "summary": "查询成交价(历史走势)",
  15269. "parameters": [
  15270. {
  15271. "type": "integer",
  15272. "description": "页码",
  15273. "name": "page",
  15274. "in": "query"
  15275. },
  15276. {
  15277. "type": "integer",
  15278. "description": "每页条数",
  15279. "name": "pagesize",
  15280. "in": "query"
  15281. },
  15282. {
  15283. "type": "integer",
  15284. "description": "0:仓单预售 1:仓单贸易",
  15285. "name": "haswr",
  15286. "in": "query",
  15287. "required": true
  15288. },
  15289. {
  15290. "type": "integer",
  15291. "description": "仓单要素id",
  15292. "name": "wrfactortypeid",
  15293. "in": "query",
  15294. "required": true
  15295. }
  15296. ],
  15297. "responses": {
  15298. "200": {
  15299. "description": "OK",
  15300. "schema": {
  15301. "type": "array",
  15302. "items": {
  15303. "$ref": "#/definitions/models.WrAverageTradePrice"
  15304. }
  15305. }
  15306. },
  15307. "500": {
  15308. "description": "Internal Server Error",
  15309. "schema": {
  15310. "$ref": "#/definitions/app.Response"
  15311. }
  15312. }
  15313. }
  15314. }
  15315. },
  15316. "/WrTrade2/QueryWrBrandAndYears": {
  15317. "get": {
  15318. "security": [
  15319. {
  15320. "ApiKeyAuth": []
  15321. }
  15322. ],
  15323. "produces": [
  15324. "application/json"
  15325. ],
  15326. "tags": [
  15327. "仓单贸易v2"
  15328. ],
  15329. "summary": "查询品牌和年份",
  15330. "responses": {
  15331. "200": {
  15332. "description": "OK",
  15333. "schema": {
  15334. "type": "array",
  15335. "items": {
  15336. "$ref": "#/definitions/models.WrBrandAndYears"
  15337. }
  15338. }
  15339. },
  15340. "500": {
  15341. "description": "Internal Server Error",
  15342. "schema": {
  15343. "$ref": "#/definitions/app.Response"
  15344. }
  15345. }
  15346. }
  15347. }
  15348. },
  15349. "/WrTrade2/QueryWrBsGoodsInfo": {
  15350. "get": {
  15351. "security": [
  15352. {
  15353. "ApiKeyAuth": []
  15354. }
  15355. ],
  15356. "description": "合约交易/买卖大厅/详情",
  15357. "produces": [
  15358. "application/json"
  15359. ],
  15360. "tags": [
  15361. "仓单贸易v2"
  15362. ],
  15363. "summary": "查询合约交易买卖大厅详情",
  15364. "parameters": [
  15365. {
  15366. "type": "integer",
  15367. "description": "商品id",
  15368. "name": "goodsid",
  15369. "in": "query",
  15370. "required": true
  15371. }
  15372. ],
  15373. "responses": {
  15374. "200": {
  15375. "description": "OK",
  15376. "schema": {
  15377. "type": "array",
  15378. "items": {
  15379. "$ref": "#/definitions/models.WrBsGoodsInfo"
  15380. }
  15381. }
  15382. },
  15383. "500": {
  15384. "description": "Internal Server Error",
  15385. "schema": {
  15386. "$ref": "#/definitions/app.Response"
  15387. }
  15388. }
  15389. }
  15390. }
  15391. },
  15392. "/WrTrade2/QueryWrBuybackDetail": {
  15393. "get": {
  15394. "security": [
  15395. {
  15396. "ApiKeyAuth": []
  15397. }
  15398. ],
  15399. "produces": [
  15400. "application/json"
  15401. ],
  15402. "tags": [
  15403. "仓单贸易v2"
  15404. ],
  15405. "summary": "查询仓单回购明细",
  15406. "parameters": [
  15407. {
  15408. "type": "integer",
  15409. "description": "融资合同id",
  15410. "name": "scfcontractid",
  15411. "in": "query"
  15412. }
  15413. ],
  15414. "responses": {
  15415. "200": {
  15416. "description": "OK",
  15417. "schema": {
  15418. "type": "array",
  15419. "items": {
  15420. "$ref": "#/definitions/models.WrBuybackDetail"
  15421. }
  15422. }
  15423. },
  15424. "500": {
  15425. "description": "Internal Server Error",
  15426. "schema": {
  15427. "$ref": "#/definitions/app.Response"
  15428. }
  15429. }
  15430. }
  15431. }
  15432. },
  15433. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  15434. "get": {
  15435. "security": [
  15436. {
  15437. "ApiKeyAuth": []
  15438. }
  15439. ],
  15440. "produces": [
  15441. "application/json"
  15442. ],
  15443. "tags": [
  15444. "仓单贸易v2"
  15445. ],
  15446. "summary": "查询固定广告配置",
  15447. "responses": {
  15448. "200": {
  15449. "description": "OK",
  15450. "schema": {
  15451. "type": "array",
  15452. "items": {
  15453. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  15454. }
  15455. }
  15456. },
  15457. "500": {
  15458. "description": "Internal Server Error",
  15459. "schema": {
  15460. "$ref": "#/definitions/app.Response"
  15461. }
  15462. }
  15463. }
  15464. }
  15465. },
  15466. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  15467. "get": {
  15468. "security": [
  15469. {
  15470. "ApiKeyAuth": []
  15471. }
  15472. ],
  15473. "produces": [
  15474. "application/json"
  15475. ],
  15476. "tags": [
  15477. "仓单贸易v2"
  15478. ],
  15479. "summary": "查询合约交收可点选仓单",
  15480. "parameters": [
  15481. {
  15482. "type": "integer",
  15483. "description": "资金账号",
  15484. "name": "accountid",
  15485. "in": "query",
  15486. "required": true
  15487. },
  15488. {
  15489. "type": "integer",
  15490. "description": "商品id",
  15491. "name": "goodsid",
  15492. "in": "query",
  15493. "required": true
  15494. }
  15495. ],
  15496. "responses": {
  15497. "200": {
  15498. "description": "OK",
  15499. "schema": {
  15500. "type": "array",
  15501. "items": {
  15502. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  15503. }
  15504. }
  15505. },
  15506. "500": {
  15507. "description": "Internal Server Error",
  15508. "schema": {
  15509. "$ref": "#/definitions/app.Response"
  15510. }
  15511. }
  15512. }
  15513. }
  15514. },
  15515. "/WrTrade2/QueryWrDeliveryDetail": {
  15516. "get": {
  15517. "security": [
  15518. {
  15519. "ApiKeyAuth": []
  15520. }
  15521. ],
  15522. "produces": [
  15523. "application/json"
  15524. ],
  15525. "tags": [
  15526. "仓单贸易v2"
  15527. ],
  15528. "summary": "查询交收",
  15529. "parameters": [
  15530. {
  15531. "type": "integer",
  15532. "description": "用户id",
  15533. "name": "userid",
  15534. "in": "query",
  15535. "required": true
  15536. },
  15537. {
  15538. "type": "integer",
  15539. "description": "资金账号id",
  15540. "name": "accountid",
  15541. "in": "query"
  15542. },
  15543. {
  15544. "type": "string",
  15545. "description": "开始交易日(yyyymmdd)",
  15546. "name": "begindate",
  15547. "in": "query"
  15548. },
  15549. {
  15550. "type": "string",
  15551. "description": "结束交易日(yyyymmdd)",
  15552. "name": "enddate",
  15553. "in": "query"
  15554. }
  15555. ],
  15556. "responses": {
  15557. "200": {
  15558. "description": "OK",
  15559. "schema": {
  15560. "type": "array",
  15561. "items": {
  15562. "$ref": "#/definitions/models.WrDeliveryDetail"
  15563. }
  15564. }
  15565. },
  15566. "500": {
  15567. "description": "Internal Server Error",
  15568. "schema": {
  15569. "$ref": "#/definitions/app.Response"
  15570. }
  15571. }
  15572. }
  15573. }
  15574. },
  15575. "/WrTrade2/QueryWrDraftUserInfo": {
  15576. "get": {
  15577. "security": [
  15578. {
  15579. "ApiKeyAuth": []
  15580. }
  15581. ],
  15582. "produces": [
  15583. "application/json"
  15584. ],
  15585. "tags": [
  15586. "仓单贸易v2"
  15587. ],
  15588. "summary": "查询实名认证信息",
  15589. "parameters": [
  15590. {
  15591. "type": "integer",
  15592. "description": "用户ID",
  15593. "name": "userid",
  15594. "in": "query",
  15595. "required": true
  15596. },
  15597. {
  15598. "type": "integer",
  15599. "description": "用户状态 1:正常 2:注销",
  15600. "name": "userstatus",
  15601. "in": "query"
  15602. }
  15603. ],
  15604. "responses": {
  15605. "200": {
  15606. "description": "OK",
  15607. "schema": {
  15608. "type": "array",
  15609. "items": {
  15610. "$ref": "#/definitions/models.WrDraftUserInfo"
  15611. }
  15612. }
  15613. },
  15614. "500": {
  15615. "description": "Internal Server Error",
  15616. "schema": {
  15617. "$ref": "#/definitions/app.Response"
  15618. }
  15619. }
  15620. }
  15621. }
  15622. },
  15623. "/WrTrade2/QueryWrFactorTypeInfo": {
  15624. "get": {
  15625. "security": [
  15626. {
  15627. "ApiKeyAuth": []
  15628. }
  15629. ],
  15630. "produces": [
  15631. "application/json"
  15632. ],
  15633. "tags": [
  15634. "仓单贸易v2"
  15635. ],
  15636. "summary": "查询仓单要素详细信息",
  15637. "parameters": [
  15638. {
  15639. "type": "integer",
  15640. "description": "仓单要素id",
  15641. "name": "wrfactortypeid",
  15642. "in": "query",
  15643. "required": true
  15644. }
  15645. ],
  15646. "responses": {
  15647. "200": {
  15648. "description": "OK",
  15649. "schema": {
  15650. "type": "array",
  15651. "items": {
  15652. "$ref": "#/definitions/models.WrFactorTypeInfo"
  15653. }
  15654. }
  15655. },
  15656. "500": {
  15657. "description": "Internal Server Error",
  15658. "schema": {
  15659. "$ref": "#/definitions/app.Response"
  15660. }
  15661. }
  15662. }
  15663. }
  15664. },
  15665. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  15666. "get": {
  15667. "security": [
  15668. {
  15669. "ApiKeyAuth": []
  15670. }
  15671. ],
  15672. "produces": [
  15673. "application/json"
  15674. ],
  15675. "tags": [
  15676. "仓单贸易v2"
  15677. ],
  15678. "summary": "查询仓单要素详细信息列表项",
  15679. "parameters": [
  15680. {
  15681. "type": "integer",
  15682. "description": "仓单要素id",
  15683. "name": "wrfactortypeid",
  15684. "in": "query",
  15685. "required": true
  15686. }
  15687. ],
  15688. "responses": {
  15689. "200": {
  15690. "description": "OK",
  15691. "schema": {
  15692. "type": "array",
  15693. "items": {
  15694. "$ref": "#/definitions/models.WrTypeItem"
  15695. }
  15696. }
  15697. },
  15698. "500": {
  15699. "description": "Internal Server Error",
  15700. "schema": {
  15701. "$ref": "#/definitions/app.Response"
  15702. }
  15703. }
  15704. }
  15705. }
  15706. },
  15707. "/WrTrade2/QueryWrFinanceBuyApply": {
  15708. "get": {
  15709. "security": [
  15710. {
  15711. "ApiKeyAuth": []
  15712. }
  15713. ],
  15714. "description": "页面 融资信息+ / 申请单",
  15715. "produces": [
  15716. "application/json"
  15717. ],
  15718. "tags": [
  15719. "仓单贸易v2"
  15720. ],
  15721. "summary": "查询融资购买申请",
  15722. "parameters": [
  15723. {
  15724. "type": "integer",
  15725. "description": "用户id",
  15726. "name": "userid",
  15727. "in": "query",
  15728. "required": true
  15729. }
  15730. ],
  15731. "responses": {
  15732. "200": {
  15733. "description": "OK",
  15734. "schema": {
  15735. "type": "array",
  15736. "items": {
  15737. "$ref": "#/definitions/models.WrFinanceBuyApply"
  15738. }
  15739. }
  15740. },
  15741. "500": {
  15742. "description": "Internal Server Error",
  15743. "schema": {
  15744. "$ref": "#/definitions/app.Response"
  15745. }
  15746. }
  15747. }
  15748. }
  15749. },
  15750. "/WrTrade2/QueryWrFriendApply": {
  15751. "get": {
  15752. "security": [
  15753. {
  15754. "ApiKeyAuth": []
  15755. }
  15756. ],
  15757. "produces": [
  15758. "application/json"
  15759. ],
  15760. "tags": [
  15761. "仓单贸易v2"
  15762. ],
  15763. "summary": "查询好友申请记录",
  15764. "parameters": [
  15765. {
  15766. "type": "integer",
  15767. "description": "用户id",
  15768. "name": "userid",
  15769. "in": "query",
  15770. "required": true
  15771. }
  15772. ],
  15773. "responses": {
  15774. "200": {
  15775. "description": "OK",
  15776. "schema": {
  15777. "type": "array",
  15778. "items": {
  15779. "$ref": "#/definitions/models.WrFriendApply"
  15780. }
  15781. }
  15782. },
  15783. "500": {
  15784. "description": "Internal Server Error",
  15785. "schema": {
  15786. "$ref": "#/definitions/app.Response"
  15787. }
  15788. }
  15789. }
  15790. }
  15791. },
  15792. "/WrTrade2/QueryWrGoodsInfo": {
  15793. "get": {
  15794. "security": [
  15795. {
  15796. "ApiKeyAuth": []
  15797. }
  15798. ],
  15799. "produces": [
  15800. "application/json"
  15801. ],
  15802. "tags": [
  15803. "仓单贸易v2"
  15804. ],
  15805. "summary": "查询仓单商品信息",
  15806. "parameters": [
  15807. {
  15808. "type": "integer",
  15809. "description": "仓单贸易市场id",
  15810. "name": "marketid",
  15811. "in": "query"
  15812. },
  15813. {
  15814. "type": "integer",
  15815. "description": "0:仓单预售 1:仓单贸易",
  15816. "name": "haswr",
  15817. "in": "query",
  15818. "required": true
  15819. },
  15820. {
  15821. "type": "integer",
  15822. "description": "仓单要素id",
  15823. "name": "wrfactortypeid",
  15824. "in": "query",
  15825. "required": true
  15826. },
  15827. {
  15828. "type": "integer",
  15829. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  15830. "name": "tmplateid",
  15831. "in": "query"
  15832. }
  15833. ],
  15834. "responses": {
  15835. "200": {
  15836. "description": "OK",
  15837. "schema": {
  15838. "type": "array",
  15839. "items": {
  15840. "$ref": "#/definitions/models.WrGoodsInfo"
  15841. }
  15842. }
  15843. },
  15844. "500": {
  15845. "description": "Internal Server Error",
  15846. "schema": {
  15847. "$ref": "#/definitions/app.Response"
  15848. }
  15849. }
  15850. }
  15851. }
  15852. },
  15853. "/WrTrade2/QueryWrMarketTradeConfig": {
  15854. "get": {
  15855. "security": [
  15856. {
  15857. "ApiKeyAuth": []
  15858. }
  15859. ],
  15860. "produces": [
  15861. "application/json"
  15862. ],
  15863. "tags": [
  15864. "仓单贸易v2"
  15865. ],
  15866. "summary": "查询市场交易参数配置",
  15867. "parameters": [
  15868. {
  15869. "type": "integer",
  15870. "description": "市场id",
  15871. "name": "marketid",
  15872. "in": "query"
  15873. }
  15874. ],
  15875. "responses": {
  15876. "200": {
  15877. "description": "OK",
  15878. "schema": {
  15879. "type": "array",
  15880. "items": {
  15881. "$ref": "#/definitions/models.WrMarketTradeConfig"
  15882. }
  15883. }
  15884. },
  15885. "500": {
  15886. "description": "Internal Server Error",
  15887. "schema": {
  15888. "$ref": "#/definitions/app.Response"
  15889. }
  15890. }
  15891. }
  15892. }
  15893. },
  15894. "/WrTrade2/QueryWrOrderDetail": {
  15895. "get": {
  15896. "security": [
  15897. {
  15898. "ApiKeyAuth": []
  15899. }
  15900. ],
  15901. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  15902. "produces": [
  15903. "application/json"
  15904. ],
  15905. "tags": [
  15906. "仓单贸易v2"
  15907. ],
  15908. "summary": "查询仓单委托单",
  15909. "parameters": [
  15910. {
  15911. "type": "integer",
  15912. "description": "页码",
  15913. "name": "page",
  15914. "in": "query"
  15915. },
  15916. {
  15917. "type": "integer",
  15918. "description": "每页条数",
  15919. "name": "pagesize",
  15920. "in": "query"
  15921. },
  15922. {
  15923. "type": "integer",
  15924. "description": "用户id",
  15925. "name": "userid",
  15926. "in": "query",
  15927. "required": true
  15928. },
  15929. {
  15930. "type": "integer",
  15931. "description": "仓单贸易市场id",
  15932. "name": "marketid",
  15933. "in": "query"
  15934. },
  15935. {
  15936. "type": "integer",
  15937. "description": "0:仓单预售 1:仓单贸易",
  15938. "name": "haswr",
  15939. "in": "query",
  15940. "required": true
  15941. },
  15942. {
  15943. "type": "integer",
  15944. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  15945. "name": "bcancel",
  15946. "in": "query"
  15947. },
  15948. {
  15949. "type": "integer",
  15950. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  15951. "name": "wrtradetype",
  15952. "in": "query"
  15953. },
  15954. {
  15955. "type": "string",
  15956. "description": "开始交易日(yyyymmdd)",
  15957. "name": "begindate",
  15958. "in": "query"
  15959. },
  15960. {
  15961. "type": "string",
  15962. "description": "结束交易日(yyyymmdd)",
  15963. "name": "enddate",
  15964. "in": "query"
  15965. }
  15966. ],
  15967. "responses": {
  15968. "200": {
  15969. "description": "OK",
  15970. "schema": {
  15971. "type": "array",
  15972. "items": {
  15973. "$ref": "#/definitions/models.WrOrderDetail"
  15974. }
  15975. }
  15976. },
  15977. "500": {
  15978. "description": "Internal Server Error",
  15979. "schema": {
  15980. "$ref": "#/definitions/app.Response"
  15981. }
  15982. }
  15983. }
  15984. }
  15985. },
  15986. "/WrTrade2/QueryWrOutInApply": {
  15987. "get": {
  15988. "security": [
  15989. {
  15990. "ApiKeyAuth": []
  15991. }
  15992. ],
  15993. "produces": [
  15994. "application/json"
  15995. ],
  15996. "tags": [
  15997. "仓单贸易v2"
  15998. ],
  15999. "summary": "查询提货申请",
  16000. "parameters": [
  16001. {
  16002. "type": "integer",
  16003. "description": "页码",
  16004. "name": "page",
  16005. "in": "query"
  16006. },
  16007. {
  16008. "type": "integer",
  16009. "description": "每页条数",
  16010. "name": "pagesize",
  16011. "in": "query"
  16012. },
  16013. {
  16014. "type": "integer",
  16015. "description": "用户id",
  16016. "name": "userid",
  16017. "in": "query",
  16018. "required": true
  16019. },
  16020. {
  16021. "type": "string",
  16022. "description": "开始交易日(yyyymmdd)",
  16023. "name": "begindate",
  16024. "in": "query"
  16025. },
  16026. {
  16027. "type": "string",
  16028. "description": "结束交易日(yyyymmdd)",
  16029. "name": "enddate",
  16030. "in": "query"
  16031. }
  16032. ],
  16033. "responses": {
  16034. "200": {
  16035. "description": "OK",
  16036. "schema": {
  16037. "type": "array",
  16038. "items": {
  16039. "$ref": "#/definitions/models.WrOutInApply"
  16040. }
  16041. }
  16042. },
  16043. "500": {
  16044. "description": "Internal Server Error",
  16045. "schema": {
  16046. "$ref": "#/definitions/app.Response"
  16047. }
  16048. }
  16049. }
  16050. }
  16051. },
  16052. "/WrTrade2/QueryWrPerformancePlanStep": {
  16053. "get": {
  16054. "security": [
  16055. {
  16056. "ApiKeyAuth": []
  16057. }
  16058. ],
  16059. "produces": [
  16060. "application/json"
  16061. ],
  16062. "tags": [
  16063. "仓单贸易v2"
  16064. ],
  16065. "summary": "查询履约信息详情",
  16066. "parameters": [
  16067. {
  16068. "type": "integer",
  16069. "description": "履约计划id(performanceplanid)",
  16070. "name": "planid",
  16071. "in": "query",
  16072. "required": true
  16073. },
  16074. {
  16075. "type": "integer",
  16076. "description": "当前步骤id",
  16077. "name": "curstepid",
  16078. "in": "query"
  16079. }
  16080. ],
  16081. "responses": {
  16082. "200": {
  16083. "description": "OK",
  16084. "schema": {
  16085. "type": "array",
  16086. "items": {
  16087. "$ref": "#/definitions/models.WrPerformancePlanStep"
  16088. }
  16089. }
  16090. },
  16091. "500": {
  16092. "description": "Internal Server Error",
  16093. "schema": {
  16094. "$ref": "#/definitions/app.Response"
  16095. }
  16096. }
  16097. }
  16098. }
  16099. },
  16100. "/WrTrade2/QueryWrPerformanceStepType": {
  16101. "get": {
  16102. "security": [
  16103. {
  16104. "ApiKeyAuth": []
  16105. }
  16106. ],
  16107. "produces": [
  16108. "application/json"
  16109. ],
  16110. "tags": [
  16111. "仓单贸易v2"
  16112. ],
  16113. "summary": "查询履约步骤枚举",
  16114. "responses": {
  16115. "200": {
  16116. "description": "OK",
  16117. "schema": {
  16118. "type": "array",
  16119. "items": {
  16120. "$ref": "#/definitions/models.WrPerformanceStepType"
  16121. }
  16122. }
  16123. },
  16124. "500": {
  16125. "description": "Internal Server Error",
  16126. "schema": {
  16127. "$ref": "#/definitions/app.Response"
  16128. }
  16129. }
  16130. }
  16131. }
  16132. },
  16133. "/WrTrade2/QueryWrPosition": {
  16134. "get": {
  16135. "security": [
  16136. {
  16137. "ApiKeyAuth": []
  16138. }
  16139. ],
  16140. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  16141. "produces": [
  16142. "application/json"
  16143. ],
  16144. "tags": [
  16145. "仓单贸易v2"
  16146. ],
  16147. "summary": "查询现货(预售)仓单持仓",
  16148. "parameters": [
  16149. {
  16150. "type": "integer",
  16151. "description": "用户id",
  16152. "name": "userid",
  16153. "in": "query",
  16154. "required": true
  16155. },
  16156. {
  16157. "type": "integer",
  16158. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  16159. "name": "querytype",
  16160. "in": "query",
  16161. "required": true
  16162. },
  16163. {
  16164. "type": "integer",
  16165. "description": "0:仓单预售 1:仓单贸易",
  16166. "name": "haswr",
  16167. "in": "query",
  16168. "required": true
  16169. },
  16170. {
  16171. "type": "string",
  16172. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16173. "name": "dgitemname",
  16174. "in": "query"
  16175. },
  16176. {
  16177. "type": "integer",
  16178. "description": "仓库id(筛选条件)",
  16179. "name": "warehouseid",
  16180. "in": "query"
  16181. },
  16182. {
  16183. "type": "integer",
  16184. "description": "品种id",
  16185. "name": "deliverygoodsid",
  16186. "in": "query"
  16187. },
  16188. {
  16189. "type": "integer",
  16190. "description": "品类id",
  16191. "name": "wrstandardid",
  16192. "in": "query"
  16193. }
  16194. ],
  16195. "responses": {
  16196. "200": {
  16197. "description": "OK",
  16198. "schema": {
  16199. "type": "array",
  16200. "items": {
  16201. "$ref": "#/definitions/models.WrPosition"
  16202. }
  16203. }
  16204. },
  16205. "500": {
  16206. "description": "Internal Server Error",
  16207. "schema": {
  16208. "$ref": "#/definitions/app.Response"
  16209. }
  16210. }
  16211. }
  16212. }
  16213. },
  16214. "/WrTrade2/QueryWrPreSaleInfo": {
  16215. "get": {
  16216. "security": [
  16217. {
  16218. "ApiKeyAuth": []
  16219. }
  16220. ],
  16221. "produces": [
  16222. "application/json"
  16223. ],
  16224. "tags": [
  16225. "仓单贸易v2"
  16226. ],
  16227. "summary": "查询新品发布",
  16228. "parameters": [
  16229. {
  16230. "type": "integer",
  16231. "description": "市场id",
  16232. "name": "marketid",
  16233. "in": "query"
  16234. },
  16235. {
  16236. "type": "string",
  16237. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  16238. "name": "presalestatus",
  16239. "in": "query"
  16240. },
  16241. {
  16242. "type": "integer",
  16243. "description": "摇号标识 - 0:未摇号 1:已摇号",
  16244. "name": "lotteryflag",
  16245. "in": "query"
  16246. },
  16247. {
  16248. "type": "integer",
  16249. "description": "最近多少条记录(按创建时间倒序)",
  16250. "name": "lastnum",
  16251. "in": "query"
  16252. }
  16253. ],
  16254. "responses": {
  16255. "200": {
  16256. "description": "OK",
  16257. "schema": {
  16258. "type": "array",
  16259. "items": {
  16260. "$ref": "#/definitions/models.WrPreSaleInfo"
  16261. }
  16262. }
  16263. },
  16264. "500": {
  16265. "description": "Internal Server Error",
  16266. "schema": {
  16267. "$ref": "#/definitions/app.Response"
  16268. }
  16269. }
  16270. }
  16271. }
  16272. },
  16273. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  16274. "get": {
  16275. "security": [
  16276. {
  16277. "ApiKeyAuth": []
  16278. }
  16279. ],
  16280. "produces": [
  16281. "application/json"
  16282. ],
  16283. "tags": [
  16284. "仓单贸易v2"
  16285. ],
  16286. "summary": "查询价格走势",
  16287. "parameters": [
  16288. {
  16289. "type": "integer",
  16290. "description": "市场id",
  16291. "name": "marketid",
  16292. "in": "query",
  16293. "required": true
  16294. },
  16295. {
  16296. "type": "integer",
  16297. "description": "现货商品id",
  16298. "name": "wrstandardid",
  16299. "in": "query",
  16300. "required": true
  16301. },
  16302. {
  16303. "type": "string",
  16304. "description": "开始交易日(yyyymmdd)",
  16305. "name": "begindate",
  16306. "in": "query"
  16307. },
  16308. {
  16309. "type": "string",
  16310. "description": "结束交易日(yyyymmdd)",
  16311. "name": "enddate",
  16312. "in": "query"
  16313. },
  16314. {
  16315. "type": "integer",
  16316. "description": "最近多少条记录(按交易日倒序)",
  16317. "name": "lastnum",
  16318. "in": "query"
  16319. },
  16320. {
  16321. "type": "boolean",
  16322. "description": "是否今日",
  16323. "name": "istoday",
  16324. "in": "query"
  16325. }
  16326. ],
  16327. "responses": {
  16328. "200": {
  16329. "description": "OK",
  16330. "schema": {
  16331. "type": "array",
  16332. "items": {
  16333. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  16334. }
  16335. }
  16336. },
  16337. "500": {
  16338. "description": "Internal Server Error",
  16339. "schema": {
  16340. "$ref": "#/definitions/app.Response"
  16341. }
  16342. }
  16343. }
  16344. }
  16345. },
  16346. "/WrTrade2/QueryWrScfContract": {
  16347. "get": {
  16348. "security": [
  16349. {
  16350. "ApiKeyAuth": []
  16351. }
  16352. ],
  16353. "produces": [
  16354. "application/json"
  16355. ],
  16356. "tags": [
  16357. "仓单贸易v2"
  16358. ],
  16359. "summary": "查询仓单贸易融资合同",
  16360. "parameters": [
  16361. {
  16362. "type": "integer",
  16363. "description": "用户id",
  16364. "name": "userid",
  16365. "in": "query",
  16366. "required": true
  16367. },
  16368. {
  16369. "type": "integer",
  16370. "description": "融资合同id",
  16371. "name": "scfcontractid",
  16372. "in": "query"
  16373. }
  16374. ],
  16375. "responses": {
  16376. "200": {
  16377. "description": "OK",
  16378. "schema": {
  16379. "type": "array",
  16380. "items": {
  16381. "$ref": "#/definitions/models.WrScfContract"
  16382. }
  16383. }
  16384. },
  16385. "500": {
  16386. "description": "Internal Server Error",
  16387. "schema": {
  16388. "$ref": "#/definitions/app.Response"
  16389. }
  16390. }
  16391. }
  16392. }
  16393. },
  16394. "/WrTrade2/QueryWrScfContractInterest": {
  16395. "get": {
  16396. "security": [
  16397. {
  16398. "ApiKeyAuth": []
  16399. }
  16400. ],
  16401. "produces": [
  16402. "application/json"
  16403. ],
  16404. "tags": [
  16405. "仓单贸易v2"
  16406. ],
  16407. "summary": "查询融资合同费用明细",
  16408. "parameters": [
  16409. {
  16410. "type": "integer",
  16411. "description": "融资合同id",
  16412. "name": "scfcontractid",
  16413. "in": "query"
  16414. }
  16415. ],
  16416. "responses": {
  16417. "200": {
  16418. "description": "OK",
  16419. "schema": {
  16420. "type": "array",
  16421. "items": {
  16422. "$ref": "#/definitions/models.WrScfContractInterest"
  16423. }
  16424. }
  16425. },
  16426. "500": {
  16427. "description": "Internal Server Error",
  16428. "schema": {
  16429. "$ref": "#/definitions/app.Response"
  16430. }
  16431. }
  16432. }
  16433. }
  16434. },
  16435. "/WrTrade2/QueryWrSearchUser": {
  16436. "get": {
  16437. "security": [
  16438. {
  16439. "ApiKeyAuth": []
  16440. }
  16441. ],
  16442. "produces": [
  16443. "application/json"
  16444. ],
  16445. "tags": [
  16446. "仓单贸易v2"
  16447. ],
  16448. "summary": "查询用户",
  16449. "parameters": [
  16450. {
  16451. "type": "string",
  16452. "description": "用户名称(模糊匹配)",
  16453. "name": "username",
  16454. "in": "query",
  16455. "required": true
  16456. }
  16457. ],
  16458. "responses": {
  16459. "200": {
  16460. "description": "OK",
  16461. "schema": {
  16462. "type": "array",
  16463. "items": {
  16464. "$ref": "#/definitions/models.WrSearchUser"
  16465. }
  16466. }
  16467. },
  16468. "500": {
  16469. "description": "Internal Server Error",
  16470. "schema": {
  16471. "$ref": "#/definitions/app.Response"
  16472. }
  16473. }
  16474. }
  16475. }
  16476. },
  16477. "/WrTrade2/QueryWrSpecialMatchOrder": {
  16478. "get": {
  16479. "security": [
  16480. {
  16481. "ApiKeyAuth": []
  16482. }
  16483. ],
  16484. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  16485. "produces": [
  16486. "application/json"
  16487. ],
  16488. "tags": [
  16489. "仓单贸易v2"
  16490. ],
  16491. "summary": "查询指定成交",
  16492. "parameters": [
  16493. {
  16494. "type": "integer",
  16495. "description": "页码",
  16496. "name": "page",
  16497. "in": "query"
  16498. },
  16499. {
  16500. "type": "integer",
  16501. "description": "每页条数",
  16502. "name": "pagesize",
  16503. "in": "query"
  16504. },
  16505. {
  16506. "type": "integer",
  16507. "description": "用户id",
  16508. "name": "userid",
  16509. "in": "query",
  16510. "required": true
  16511. },
  16512. {
  16513. "type": "integer",
  16514. "description": "仓单贸易市场id",
  16515. "name": "marketid",
  16516. "in": "query"
  16517. },
  16518. {
  16519. "type": "integer",
  16520. "description": "0:仓单预售 1:仓单贸易",
  16521. "name": "haswr",
  16522. "in": "query",
  16523. "required": true
  16524. },
  16525. {
  16526. "type": "integer",
  16527. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  16528. "name": "isspecified",
  16529. "in": "query"
  16530. }
  16531. ],
  16532. "responses": {
  16533. "200": {
  16534. "description": "OK",
  16535. "schema": {
  16536. "type": "array",
  16537. "items": {
  16538. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  16539. }
  16540. }
  16541. },
  16542. "500": {
  16543. "description": "Internal Server Error",
  16544. "schema": {
  16545. "$ref": "#/definitions/app.Response"
  16546. }
  16547. }
  16548. }
  16549. }
  16550. },
  16551. "/WrTrade2/QueryWrStandardFactoryItem": {
  16552. "get": {
  16553. "security": [
  16554. {
  16555. "ApiKeyAuth": []
  16556. }
  16557. ],
  16558. "produces": [
  16559. "application/json"
  16560. ],
  16561. "tags": [
  16562. "仓单贸易v2"
  16563. ],
  16564. "summary": "查询品类要素定义项",
  16565. "parameters": [
  16566. {
  16567. "type": "integer",
  16568. "description": "品类id",
  16569. "name": "wrstandardid",
  16570. "in": "query",
  16571. "required": true
  16572. }
  16573. ],
  16574. "responses": {
  16575. "200": {
  16576. "description": "OK",
  16577. "schema": {
  16578. "type": "array",
  16579. "items": {
  16580. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  16581. }
  16582. }
  16583. },
  16584. "500": {
  16585. "description": "Internal Server Error",
  16586. "schema": {
  16587. "$ref": "#/definitions/app.Response"
  16588. }
  16589. }
  16590. }
  16591. }
  16592. },
  16593. "/WrTrade2/QueryWrTradeBargainApply": {
  16594. "get": {
  16595. "security": [
  16596. {
  16597. "ApiKeyAuth": []
  16598. }
  16599. ],
  16600. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  16601. "produces": [
  16602. "application/json"
  16603. ],
  16604. "tags": [
  16605. "仓单贸易v2"
  16606. ],
  16607. "summary": "查询议价单",
  16608. "parameters": [
  16609. {
  16610. "type": "integer",
  16611. "description": "议价人id(摘牌方)",
  16612. "name": "userid",
  16613. "in": "query"
  16614. },
  16615. {
  16616. "type": "integer",
  16617. "description": "挂牌方id(查对方议价时,填写此项)",
  16618. "name": "matchuserid",
  16619. "in": "query"
  16620. },
  16621. {
  16622. "type": "integer",
  16623. "description": "关联委托单id",
  16624. "name": "wrtradeorderid",
  16625. "in": "query"
  16626. },
  16627. {
  16628. "type": "integer",
  16629. "description": "0:仓单预售 1:仓单贸易",
  16630. "name": "haswr",
  16631. "in": "query",
  16632. "required": true
  16633. },
  16634. {
  16635. "type": "string",
  16636. "description": "开始交易日(yyyymmdd)",
  16637. "name": "begindate",
  16638. "in": "query"
  16639. },
  16640. {
  16641. "type": "string",
  16642. "description": "结束交易日(yyyymmdd)",
  16643. "name": "enddate",
  16644. "in": "query"
  16645. }
  16646. ],
  16647. "responses": {
  16648. "200": {
  16649. "description": "OK",
  16650. "schema": {
  16651. "type": "array",
  16652. "items": {
  16653. "$ref": "#/definitions/models.WRTradeBargainApply"
  16654. }
  16655. }
  16656. },
  16657. "500": {
  16658. "description": "Internal Server Error",
  16659. "schema": {
  16660. "$ref": "#/definitions/app.Response"
  16661. }
  16662. }
  16663. }
  16664. }
  16665. },
  16666. "/WrTrade2/QueryWrTradeDetail": {
  16667. "get": {
  16668. "security": [
  16669. {
  16670. "ApiKeyAuth": []
  16671. }
  16672. ],
  16673. "produces": [
  16674. "application/json"
  16675. ],
  16676. "tags": [
  16677. "仓单贸易v2"
  16678. ],
  16679. "summary": "查询仓单成交明细",
  16680. "parameters": [
  16681. {
  16682. "type": "integer",
  16683. "description": "页码",
  16684. "name": "page",
  16685. "in": "query"
  16686. },
  16687. {
  16688. "type": "integer",
  16689. "description": "每页条数",
  16690. "name": "pagesize",
  16691. "in": "query"
  16692. },
  16693. {
  16694. "type": "integer",
  16695. "description": "用户id",
  16696. "name": "userid",
  16697. "in": "query",
  16698. "required": true
  16699. },
  16700. {
  16701. "type": "integer",
  16702. "description": "仓单贸易市场id",
  16703. "name": "marketid",
  16704. "in": "query"
  16705. },
  16706. {
  16707. "type": "integer",
  16708. "description": "0:仓单预售 1:仓单贸易",
  16709. "name": "haswr",
  16710. "in": "query",
  16711. "required": true
  16712. },
  16713. {
  16714. "type": "string",
  16715. "description": "开始交易日(yyyymmdd)",
  16716. "name": "begindate",
  16717. "in": "query"
  16718. },
  16719. {
  16720. "type": "string",
  16721. "description": "结束交易日(yyyymmdd)",
  16722. "name": "enddate",
  16723. "in": "query"
  16724. }
  16725. ],
  16726. "responses": {
  16727. "200": {
  16728. "description": "OK",
  16729. "schema": {
  16730. "type": "array",
  16731. "items": {
  16732. "$ref": "#/definitions/models.WrTradeDetail"
  16733. }
  16734. }
  16735. },
  16736. "500": {
  16737. "description": "Internal Server Error",
  16738. "schema": {
  16739. "$ref": "#/definitions/app.Response"
  16740. }
  16741. }
  16742. }
  16743. }
  16744. },
  16745. "/WrTrade2/QueryWrTradeOrderDetail": {
  16746. "get": {
  16747. "security": [
  16748. {
  16749. "ApiKeyAuth": []
  16750. }
  16751. ],
  16752. "produces": [
  16753. "application/json"
  16754. ],
  16755. "tags": [
  16756. "仓单贸易v2"
  16757. ],
  16758. "summary": "查询合约交易买卖大厅",
  16759. "parameters": [
  16760. {
  16761. "type": "integer",
  16762. "description": "页码",
  16763. "name": "page",
  16764. "in": "query"
  16765. },
  16766. {
  16767. "type": "integer",
  16768. "description": "每页条数",
  16769. "name": "pagesize",
  16770. "in": "query"
  16771. },
  16772. {
  16773. "type": "integer",
  16774. "description": "商品id",
  16775. "name": "goodsid",
  16776. "in": "query",
  16777. "required": true
  16778. },
  16779. {
  16780. "type": "integer",
  16781. "description": "买卖方向 0-买 1-卖",
  16782. "name": "buyorsell",
  16783. "in": "query",
  16784. "required": true
  16785. }
  16786. ],
  16787. "responses": {
  16788. "200": {
  16789. "description": "OK",
  16790. "schema": {
  16791. "type": "array",
  16792. "items": {
  16793. "$ref": "#/definitions/models.WrTradeOrderDetail"
  16794. }
  16795. }
  16796. },
  16797. "500": {
  16798. "description": "Internal Server Error",
  16799. "schema": {
  16800. "$ref": "#/definitions/app.Response"
  16801. }
  16802. }
  16803. }
  16804. }
  16805. },
  16806. "/WrTrade2/QueryWrTradeQuote": {
  16807. "get": {
  16808. "security": [
  16809. {
  16810. "ApiKeyAuth": []
  16811. }
  16812. ],
  16813. "produces": [
  16814. "application/json"
  16815. ],
  16816. "tags": [
  16817. "仓单贸易v2"
  16818. ],
  16819. "summary": "查询仓单贸易成交行情",
  16820. "parameters": [
  16821. {
  16822. "type": "integer",
  16823. "description": "现货商品id",
  16824. "name": "wrstandardid",
  16825. "in": "query",
  16826. "required": true
  16827. },
  16828. {
  16829. "type": "string",
  16830. "description": "开始日期(yyyymmdd)",
  16831. "name": "begindate",
  16832. "in": "query",
  16833. "required": true
  16834. },
  16835. {
  16836. "type": "string",
  16837. "description": "结束日期(yyyymmdd)",
  16838. "name": "enddate",
  16839. "in": "query",
  16840. "required": true
  16841. },
  16842. {
  16843. "type": "integer",
  16844. "description": "市场id",
  16845. "name": "marketid",
  16846. "in": "query"
  16847. }
  16848. ],
  16849. "responses": {
  16850. "200": {
  16851. "description": "OK",
  16852. "schema": {
  16853. "type": "array",
  16854. "items": {
  16855. "$ref": "#/definitions/models.Wrtradetradequote"
  16856. }
  16857. }
  16858. },
  16859. "500": {
  16860. "description": "Internal Server Error",
  16861. "schema": {
  16862. "$ref": "#/definitions/app.Response"
  16863. }
  16864. }
  16865. }
  16866. }
  16867. },
  16868. "/WrTrade2/QueryWrUserFriend": {
  16869. "get": {
  16870. "security": [
  16871. {
  16872. "ApiKeyAuth": []
  16873. }
  16874. ],
  16875. "produces": [
  16876. "application/json"
  16877. ],
  16878. "tags": [
  16879. "仓单贸易v2"
  16880. ],
  16881. "summary": "查询我的朋友",
  16882. "parameters": [
  16883. {
  16884. "type": "integer",
  16885. "description": "用户id",
  16886. "name": "userid",
  16887. "in": "query",
  16888. "required": true
  16889. },
  16890. {
  16891. "type": "integer",
  16892. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  16893. "name": "newuserid",
  16894. "in": "query"
  16895. }
  16896. ],
  16897. "responses": {
  16898. "200": {
  16899. "description": "OK",
  16900. "schema": {
  16901. "type": "array",
  16902. "items": {
  16903. "$ref": "#/definitions/models.WrUserFriend"
  16904. }
  16905. }
  16906. },
  16907. "500": {
  16908. "description": "Internal Server Error",
  16909. "schema": {
  16910. "$ref": "#/definitions/app.Response"
  16911. }
  16912. }
  16913. }
  16914. }
  16915. },
  16916. "/WrTrade2/QueryWrUserReceiptInfo": {
  16917. "get": {
  16918. "security": [
  16919. {
  16920. "ApiKeyAuth": []
  16921. }
  16922. ],
  16923. "produces": [
  16924. "application/json"
  16925. ],
  16926. "tags": [
  16927. "仓单贸易v2"
  16928. ],
  16929. "summary": "查询发票信息",
  16930. "parameters": [
  16931. {
  16932. "type": "integer",
  16933. "description": "用户id",
  16934. "name": "userid",
  16935. "in": "query"
  16936. },
  16937. {
  16938. "type": "integer",
  16939. "description": "发票类型 - 1:个人 2:企业",
  16940. "name": "receipttype",
  16941. "in": "query"
  16942. }
  16943. ],
  16944. "responses": {
  16945. "200": {
  16946. "description": "OK",
  16947. "schema": {
  16948. "type": "array",
  16949. "items": {
  16950. "$ref": "#/definitions/models.WrUserReceiptInfo"
  16951. }
  16952. }
  16953. },
  16954. "500": {
  16955. "description": "Internal Server Error",
  16956. "schema": {
  16957. "$ref": "#/definitions/app.Response"
  16958. }
  16959. }
  16960. }
  16961. }
  16962. },
  16963. "/WrTrade2/QueryXhcpSellBackApply": {
  16964. "get": {
  16965. "security": [
  16966. {
  16967. "ApiKeyAuth": []
  16968. }
  16969. ],
  16970. "produces": [
  16971. "application/json"
  16972. ],
  16973. "tags": [
  16974. "仓单贸易v2"
  16975. ],
  16976. "summary": "查询我的回收申请(新会陈皮)",
  16977. "parameters": [
  16978. {
  16979. "type": "integer",
  16980. "description": "用户ID",
  16981. "name": "userid",
  16982. "in": "query",
  16983. "required": true
  16984. }
  16985. ],
  16986. "responses": {
  16987. "200": {
  16988. "description": "OK",
  16989. "schema": {
  16990. "type": "array",
  16991. "items": {
  16992. "$ref": "#/definitions/models.Xhcpsellbackapply"
  16993. }
  16994. }
  16995. },
  16996. "500": {
  16997. "description": "Internal Server Error",
  16998. "schema": {
  16999. "$ref": "#/definitions/app.Response"
  17000. }
  17001. }
  17002. }
  17003. }
  17004. },
  17005. "/ZJ/GetBankTip": {
  17006. "get": {
  17007. "produces": [
  17008. "application/json"
  17009. ],
  17010. "tags": [
  17011. "中江"
  17012. ],
  17013. "summary": "获取中江网银端出入金提示信息",
  17014. "responses": {
  17015. "200": {
  17016. "description": "OK",
  17017. "schema": {
  17018. "type": "string"
  17019. }
  17020. },
  17021. "500": {
  17022. "description": "Internal Server Error",
  17023. "schema": {
  17024. "$ref": "#/definitions/app.Response"
  17025. }
  17026. }
  17027. }
  17028. }
  17029. },
  17030. "/ZJ/GetCusBankChannels": {
  17031. "get": {
  17032. "produces": [
  17033. "application/json"
  17034. ],
  17035. "tags": [
  17036. "中江"
  17037. ],
  17038. "summary": "获取中江出入金渠道显示列表",
  17039. "responses": {
  17040. "200": {
  17041. "description": "OK",
  17042. "schema": {
  17043. "type": "array",
  17044. "items": {
  17045. "type": "string"
  17046. }
  17047. }
  17048. },
  17049. "500": {
  17050. "description": "Internal Server Error",
  17051. "schema": {
  17052. "$ref": "#/definitions/app.Response"
  17053. }
  17054. }
  17055. }
  17056. }
  17057. }
  17058. },
  17059. "definitions": {
  17060. "app.Response": {
  17061. "type": "object",
  17062. "properties": {
  17063. "code": {
  17064. "type": "integer"
  17065. },
  17066. "data": {},
  17067. "msg": {
  17068. "type": "string"
  17069. },
  17070. "page": {
  17071. "description": "页码",
  17072. "type": "integer"
  17073. },
  17074. "pagesize": {
  17075. "description": "每页条数",
  17076. "type": "integer"
  17077. },
  17078. "total": {
  17079. "description": "总条数",
  17080. "type": "integer"
  17081. }
  17082. }
  17083. },
  17084. "common.ClientMenu": {
  17085. "type": "object",
  17086. "properties": {
  17087. "children": {
  17088. "description": "子菜单列表",
  17089. "type": "array",
  17090. "items": {
  17091. "$ref": "#/definitions/common.ClientMenu"
  17092. }
  17093. },
  17094. "code": {
  17095. "description": "ID",
  17096. "type": "string"
  17097. },
  17098. "isshow": {
  17099. "description": "是否显示",
  17100. "type": "boolean"
  17101. },
  17102. "remark": {
  17103. "description": "备注",
  17104. "type": "string"
  17105. },
  17106. "rulekey": {
  17107. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  17108. "type": "string"
  17109. },
  17110. "sort": {
  17111. "description": "排序",
  17112. "type": "integer"
  17113. },
  17114. "title": {
  17115. "description": "标题",
  17116. "type": "string"
  17117. },
  17118. "type": {
  17119. "description": "类型,1:菜单 2:按钮",
  17120. "type": "integer"
  17121. },
  17122. "url": {
  17123. "description": "URL",
  17124. "type": "string"
  17125. }
  17126. }
  17127. },
  17128. "common.PCWebMenu": {
  17129. "type": "object",
  17130. "properties": {
  17131. "auth": {
  17132. "description": "页面权限列表",
  17133. "type": "array",
  17134. "items": {
  17135. "$ref": "#/definitions/common.PCWebMenuAuth"
  17136. }
  17137. },
  17138. "children": {
  17139. "description": "子菜单列表",
  17140. "type": "array",
  17141. "items": {
  17142. "$ref": "#/definitions/common.PCWebMenu"
  17143. }
  17144. },
  17145. "code": {
  17146. "description": "ID,新版本中权限KEY也是这个字段",
  17147. "type": "string"
  17148. },
  17149. "component": {
  17150. "description": "路由组件",
  17151. "type": "string"
  17152. },
  17153. "isshow": {
  17154. "description": "是否显示",
  17155. "type": "boolean"
  17156. },
  17157. "path": {
  17158. "description": "路由路径",
  17159. "type": "string"
  17160. },
  17161. "remark": {
  17162. "description": "备注",
  17163. "type": "string"
  17164. },
  17165. "rulekey": {
  17166. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17167. "type": "string"
  17168. },
  17169. "sort": {
  17170. "description": "排序",
  17171. "type": "integer"
  17172. },
  17173. "title": {
  17174. "description": "标题",
  17175. "type": "string"
  17176. },
  17177. "url": {
  17178. "description": "URL",
  17179. "type": "string"
  17180. }
  17181. }
  17182. },
  17183. "common.PCWebMenuAuth": {
  17184. "type": "object",
  17185. "properties": {
  17186. "code": {
  17187. "description": "ID,新版本中权限KEY也是这个字段",
  17188. "type": "string"
  17189. },
  17190. "isshow": {
  17191. "description": "是否显示",
  17192. "type": "boolean"
  17193. },
  17194. "label": {
  17195. "description": "标题",
  17196. "type": "string"
  17197. },
  17198. "remark": {
  17199. "description": "备注",
  17200. "type": "string"
  17201. },
  17202. "rulekey": {
  17203. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17204. "type": "string"
  17205. }
  17206. }
  17207. },
  17208. "common.QueryImageConfigsRsp": {
  17209. "type": "object",
  17210. "required": [
  17211. "configid"
  17212. ],
  17213. "properties": {
  17214. "areauserid": {
  17215. "description": "所属机构ID",
  17216. "type": "integer"
  17217. },
  17218. "configid": {
  17219. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  17220. "type": "integer"
  17221. },
  17222. "createdate": {
  17223. "description": "创建时间",
  17224. "type": "string"
  17225. },
  17226. "creatorid": {
  17227. "description": "创建人",
  17228. "type": "integer"
  17229. },
  17230. "imagedetailpath": {
  17231. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  17232. "type": "string"
  17233. },
  17234. "imagepath": {
  17235. "description": "图片",
  17236. "type": "string"
  17237. },
  17238. "imagetype": {
  17239. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  17240. "type": "integer"
  17241. },
  17242. "isshow": {
  17243. "description": "是否展示 - 0:不展示 1:展示",
  17244. "type": "integer"
  17245. },
  17246. "marketid": {
  17247. "description": "市场ID",
  17248. "type": "integer"
  17249. },
  17250. "modifierid": {
  17251. "description": "操作人",
  17252. "type": "integer"
  17253. },
  17254. "sort": {
  17255. "description": "排序",
  17256. "type": "integer"
  17257. },
  17258. "title": {
  17259. "description": "标题",
  17260. "type": "string"
  17261. },
  17262. "trademode": {
  17263. "description": "交易模式",
  17264. "type": "integer"
  17265. },
  17266. "updatedate": {
  17267. "description": "修改时间",
  17268. "type": "string"
  17269. },
  17270. "url": {
  17271. "description": "链接(地址或商品ID)",
  17272. "type": "string"
  17273. },
  17274. "urltype": {
  17275. "description": "链接类型 - 1:直接地址 2:商品ID",
  17276. "type": "integer"
  17277. }
  17278. }
  17279. },
  17280. "common.QueryNoticeRsp": {
  17281. "type": "object",
  17282. "required": [
  17283. "autoid"
  17284. ],
  17285. "properties": {
  17286. "auditoruserid": {
  17287. "description": "审核人",
  17288. "type": "integer"
  17289. },
  17290. "auditremark": {
  17291. "description": "审核备注",
  17292. "type": "string"
  17293. },
  17294. "audittime": {
  17295. "description": "审核日期",
  17296. "type": "string"
  17297. },
  17298. "autoid": {
  17299. "description": "自增ID",
  17300. "type": "integer"
  17301. },
  17302. "content": {
  17303. "description": "内容",
  17304. "type": "string"
  17305. },
  17306. "createtime": {
  17307. "description": "创建时间",
  17308. "type": "string"
  17309. },
  17310. "creatorid": {
  17311. "description": "建仓人",
  17312. "type": "integer"
  17313. },
  17314. "endtime": {
  17315. "description": "结束时间",
  17316. "type": "string"
  17317. },
  17318. "istop": {
  17319. "description": "是否置顶 - 0:不置顶 1:置顶",
  17320. "type": "integer"
  17321. },
  17322. "msgiconurl": {
  17323. "description": "消息图标Url",
  17324. "type": "string"
  17325. },
  17326. "msgtype": {
  17327. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  17328. "type": "integer"
  17329. },
  17330. "publisher": {
  17331. "description": "消息发布者",
  17332. "type": "string"
  17333. },
  17334. "readed": {
  17335. "description": "是否已读",
  17336. "type": "boolean"
  17337. },
  17338. "scheduletime": {
  17339. "description": "计划发送时间",
  17340. "type": "string"
  17341. },
  17342. "sendtype": {
  17343. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  17344. "type": "integer"
  17345. },
  17346. "sentstatus": {
  17347. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  17348. "type": "integer"
  17349. },
  17350. "title": {
  17351. "description": "标题",
  17352. "type": "string"
  17353. },
  17354. "userid": {
  17355. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  17356. "type": "integer"
  17357. }
  17358. }
  17359. },
  17360. "common.QueryProvincesAndCitiesRsp": {
  17361. "type": "object",
  17362. "properties": {
  17363. "cities": {
  17364. "description": "市",
  17365. "type": "array",
  17366. "items": {
  17367. "$ref": "#/definitions/models.Division"
  17368. }
  17369. },
  17370. "province": {
  17371. "description": "省",
  17372. "$ref": "#/definitions/models.Division"
  17373. }
  17374. }
  17375. },
  17376. "common.QueryTableDefineRsp": {
  17377. "type": "object",
  17378. "required": [
  17379. "tablekey"
  17380. ],
  17381. "properties": {
  17382. "columns": {
  17383. "description": "列头信息数组",
  17384. "type": "array",
  17385. "items": {
  17386. "$ref": "#/definitions/models.Tablecolumnconfig"
  17387. }
  17388. },
  17389. "remark": {
  17390. "description": "Remark",
  17391. "type": "string"
  17392. },
  17393. "tabelmenu": {
  17394. "description": "列表菜单",
  17395. "type": "string"
  17396. },
  17397. "tablekey": {
  17398. "description": "列表Key",
  17399. "type": "string"
  17400. },
  17401. "tablename": {
  17402. "description": "列表名称",
  17403. "type": "string"
  17404. },
  17405. "tabletype": {
  17406. "description": "列表类型 - 1:管理端 2:终端",
  17407. "type": "integer"
  17408. }
  17409. }
  17410. },
  17411. "common.QueryTraderMenuRsp": {
  17412. "type": "object",
  17413. "properties": {
  17414. "OperationMenu": {
  17415. "description": "功能菜单",
  17416. "type": "array",
  17417. "items": {
  17418. "$ref": "#/definitions/models.OperationPrimaryMenu"
  17419. }
  17420. },
  17421. "QuoteMenu": {
  17422. "description": "报价牌分类菜单",
  17423. "type": "array",
  17424. "items": {
  17425. "$ref": "#/definitions/models.QuotePrimaryMenu"
  17426. }
  17427. }
  17428. }
  17429. },
  17430. "cptrade.Cptradepositioncancel": {
  17431. "type": "object",
  17432. "required": [
  17433. "cancelid"
  17434. ],
  17435. "properties": {
  17436. "accountid": {
  17437. "description": "申请人账户ID",
  17438. "type": "integer"
  17439. },
  17440. "applystatus": {
  17441. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17442. "type": "integer"
  17443. },
  17444. "applytime": {
  17445. "description": "申请时间",
  17446. "type": "string"
  17447. },
  17448. "cancelid": {
  17449. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  17450. "type": "integer"
  17451. },
  17452. "cancelqty": {
  17453. "description": "注销数量",
  17454. "type": "integer"
  17455. },
  17456. "createtime": {
  17457. "description": "创建时间",
  17458. "type": "string"
  17459. },
  17460. "creatorid": {
  17461. "description": "创建人ID",
  17462. "type": "integer"
  17463. },
  17464. "creatorname": {
  17465. "description": "创建人",
  17466. "type": "string"
  17467. },
  17468. "goodscode": {
  17469. "description": "订单商品代码",
  17470. "type": "string"
  17471. },
  17472. "goodsid": {
  17473. "description": "商品ID",
  17474. "type": "integer"
  17475. },
  17476. "goodsname": {
  17477. "description": "订单商品名称",
  17478. "type": "string"
  17479. },
  17480. "goodunit": {
  17481. "description": "报价单位",
  17482. "type": "string"
  17483. },
  17484. "handlestatus": {
  17485. "description": "处理状态",
  17486. "type": "integer"
  17487. },
  17488. "marketid": {
  17489. "description": "市场ID",
  17490. "type": "integer"
  17491. },
  17492. "marketname": {
  17493. "description": "市场名称",
  17494. "type": "string"
  17495. },
  17496. "tradedate": {
  17497. "description": "交易日(yyyyMMdd)",
  17498. "type": "string"
  17499. },
  17500. "userid": {
  17501. "description": "申请人ID",
  17502. "type": "integer"
  17503. }
  17504. }
  17505. },
  17506. "cptrade.Cptradepresaleapply": {
  17507. "type": "object",
  17508. "required": [
  17509. "applyid"
  17510. ],
  17511. "properties": {
  17512. "accountid": {
  17513. "description": "申请人账户ID",
  17514. "type": "integer"
  17515. },
  17516. "applyid": {
  17517. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  17518. "type": "integer"
  17519. },
  17520. "applyremark": {
  17521. "description": "申请备注",
  17522. "type": "string"
  17523. },
  17524. "applystatus": {
  17525. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  17526. "type": "integer"
  17527. },
  17528. "applytime": {
  17529. "description": "申请时间",
  17530. "type": "string"
  17531. },
  17532. "attachmenturl": {
  17533. "description": "附件地址",
  17534. "type": "string"
  17535. },
  17536. "endtime": {
  17537. "description": "预售结束时间",
  17538. "type": "string"
  17539. },
  17540. "goodscode": {
  17541. "description": "商品代码",
  17542. "type": "string"
  17543. },
  17544. "goodsid": {
  17545. "description": "商品ID",
  17546. "type": "integer"
  17547. },
  17548. "goodsname": {
  17549. "description": "商品名称",
  17550. "type": "string"
  17551. },
  17552. "goodunit": {
  17553. "description": "报价单位",
  17554. "type": "string"
  17555. },
  17556. "handlestatus": {
  17557. "description": "处理状态",
  17558. "type": "integer"
  17559. },
  17560. "marketid": {
  17561. "description": "预售市场ID",
  17562. "type": "integer"
  17563. },
  17564. "marketname": {
  17565. "description": "预售市场名称",
  17566. "type": "string"
  17567. },
  17568. "presaleqty": {
  17569. "description": "预售数量",
  17570. "type": "integer"
  17571. },
  17572. "relatedgoodscode": {
  17573. "description": "关联交易合约代码",
  17574. "type": "string"
  17575. },
  17576. "relatedgoodsid": {
  17577. "description": "关联交易合约ID",
  17578. "type": "integer"
  17579. },
  17580. "relatedgoodsname": {
  17581. "description": "关联交易合约名称",
  17582. "type": "string"
  17583. },
  17584. "starttime": {
  17585. "description": "预售开始时间",
  17586. "type": "string"
  17587. },
  17588. "tradedate": {
  17589. "description": "交易日(yyyyMMdd)",
  17590. "type": "string"
  17591. },
  17592. "trademode": {
  17593. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  17594. "type": "integer"
  17595. },
  17596. "userid": {
  17597. "description": "申请人ID",
  17598. "type": "integer"
  17599. }
  17600. }
  17601. },
  17602. "cptrade.Cptradeusergoodsdata": {
  17603. "type": "object",
  17604. "required": [
  17605. "accountid",
  17606. "goodsid"
  17607. ],
  17608. "properties": {
  17609. "EnabledQty": {
  17610. "description": "可用量",
  17611. "type": "integer"
  17612. },
  17613. "GoodsCode": {
  17614. "description": "订单商品代码",
  17615. "type": "string"
  17616. },
  17617. "GoodsName": {
  17618. "description": "订单商品名称",
  17619. "type": "string"
  17620. },
  17621. "WRStandardCode": {
  17622. "description": "仓单标准代码",
  17623. "type": "string"
  17624. },
  17625. "WRStandardName": {
  17626. "description": "仓单标准名称",
  17627. "type": "string"
  17628. },
  17629. "accountid": {
  17630. "description": "账户ID",
  17631. "type": "integer"
  17632. },
  17633. "cancelqty": {
  17634. "description": "注销量",
  17635. "type": "integer"
  17636. },
  17637. "curpresaleqty": {
  17638. "description": "当前预售量",
  17639. "type": "integer"
  17640. },
  17641. "deliveryqty": {
  17642. "description": "交割量",
  17643. "type": "integer"
  17644. },
  17645. "freezeamount": {
  17646. "description": "冻结金额",
  17647. "type": "number"
  17648. },
  17649. "goodsid": {
  17650. "description": "商品ID",
  17651. "type": "integer"
  17652. },
  17653. "goodunit": {
  17654. "description": "报价单位",
  17655. "type": "string"
  17656. },
  17657. "hasspotfreeze": {
  17658. "description": "是否有现货冻结 - 0:否 1:有",
  17659. "type": "integer"
  17660. },
  17661. "inqty": {
  17662. "description": "转入量(总数量)",
  17663. "type": "integer"
  17664. },
  17665. "marketid": {
  17666. "description": "市场ID",
  17667. "type": "integer"
  17668. },
  17669. "presaledamount": {
  17670. "description": "已预售总金额",
  17671. "type": "integer"
  17672. },
  17673. "presaledqty": {
  17674. "description": "已预售量",
  17675. "type": "integer"
  17676. },
  17677. "userid": {
  17678. "description": "用户ID",
  17679. "type": "integer"
  17680. },
  17681. "wrstandardid": {
  17682. "description": "仓单标准ID",
  17683. "type": "integer"
  17684. }
  17685. }
  17686. },
  17687. "cptrade.QueryCPTradeMyBidRsp": {
  17688. "type": "object",
  17689. "required": [
  17690. "accountid",
  17691. "goodsid",
  17692. "marketid",
  17693. "orderid",
  17694. "orderqty",
  17695. "ordertime",
  17696. "tradeprice",
  17697. "tradeqty"
  17698. ],
  17699. "properties": {
  17700. "accountid": {
  17701. "description": "账户ID[报价币种]",
  17702. "type": "integer"
  17703. },
  17704. "goodsid": {
  17705. "description": "商品ID",
  17706. "type": "integer"
  17707. },
  17708. "goodunit": {
  17709. "description": "报价单位",
  17710. "type": "string"
  17711. },
  17712. "marketid": {
  17713. "description": "市场ID",
  17714. "type": "integer"
  17715. },
  17716. "orderid": {
  17717. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  17718. "type": "integer"
  17719. },
  17720. "orderprice": {
  17721. "description": "委托价格",
  17722. "type": "number"
  17723. },
  17724. "orderqty": {
  17725. "description": "委托数量",
  17726. "type": "integer"
  17727. },
  17728. "ordertime": {
  17729. "description": "委托时间",
  17730. "type": "string"
  17731. },
  17732. "ordertotalprice": {
  17733. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  17734. "type": "number"
  17735. },
  17736. "ordertotalweight": {
  17737. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  17738. "type": "integer"
  17739. },
  17740. "totaltotalprice": {
  17741. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  17742. "type": "number"
  17743. },
  17744. "tradeprice": {
  17745. "description": "成交价格",
  17746. "type": "number"
  17747. },
  17748. "tradeqty": {
  17749. "description": "成交数量",
  17750. "type": "integer"
  17751. }
  17752. }
  17753. },
  17754. "cptrade.QueryCPTradeOrderDetailRsq": {
  17755. "type": "object",
  17756. "required": [
  17757. "accountid",
  17758. "buildtype",
  17759. "buyorsell",
  17760. "goodsid",
  17761. "marketid",
  17762. "memberuserid",
  17763. "operatetype",
  17764. "orderqty",
  17765. "ordertime",
  17766. "pricemode",
  17767. "strorderid",
  17768. "tradedate",
  17769. "validtype"
  17770. ],
  17771. "properties": {
  17772. "accountid": {
  17773. "description": "账户ID[报价币种]",
  17774. "type": "integer"
  17775. },
  17776. "buildtype": {
  17777. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  17778. "type": "integer"
  17779. },
  17780. "buyorsell": {
  17781. "description": "买卖 - 0:买 1:卖",
  17782. "type": "integer"
  17783. },
  17784. "cancelorderid": {
  17785. "description": "撤单单号(撤单时填写)",
  17786. "type": "integer"
  17787. },
  17788. "cancelqty": {
  17789. "description": "撤单数量",
  17790. "type": "integer"
  17791. },
  17792. "clientordertime": {
  17793. "description": "客户端委托时间",
  17794. "type": "string"
  17795. },
  17796. "clientticket": {
  17797. "description": "客户端流水号",
  17798. "type": "string"
  17799. },
  17800. "clienttype": {
  17801. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  17802. "type": "integer"
  17803. },
  17804. "closeexchagechargevalue": {
  17805. "description": "平仓交易所手续费设置值",
  17806. "type": "number"
  17807. },
  17808. "closefeealgorithm": {
  17809. "description": "平仓手续费收取方式 1:比率 2:固定",
  17810. "type": "integer"
  17811. },
  17812. "closefreezecharge": {
  17813. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  17814. "type": "number"
  17815. },
  17816. "closememberchargevalue": {
  17817. "description": "平仓会员手续费设置值",
  17818. "type": "number"
  17819. },
  17820. "closeqty": {
  17821. "description": "平仓数量(先建后平操作 需要记录)",
  17822. "type": "integer"
  17823. },
  17824. "closetradeqty": {
  17825. "description": "平仓成交数量(先建后平操作,需要记录)",
  17826. "type": "integer"
  17827. },
  17828. "closeunfreezecharge": {
  17829. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  17830. "type": "number"
  17831. },
  17832. "delistingtype": {
  17833. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  17834. "type": "integer"
  17835. },
  17836. "freezecharge": {
  17837. "description": "冻结手续费",
  17838. "type": "number"
  17839. },
  17840. "freezemargin": {
  17841. "description": "冻结保证金(冻结交易金额)",
  17842. "type": "number"
  17843. },
  17844. "gcaccountid": {
  17845. "description": "账户ID[合约币种]",
  17846. "type": "integer"
  17847. },
  17848. "goodsid": {
  17849. "description": "商品ID",
  17850. "type": "integer"
  17851. },
  17852. "isconfirmexercise": {
  17853. "description": "是否确认行权- 0:否 1:是",
  17854. "type": "integer"
  17855. },
  17856. "ispreexercise": {
  17857. "description": "是否预申报- 0:否 1:是",
  17858. "type": "integer"
  17859. },
  17860. "listingselecttype": {
  17861. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  17862. "type": "integer"
  17863. },
  17864. "marginalgorithm": {
  17865. "description": "保证金收取方式 1:比率 2:固定",
  17866. "type": "integer"
  17867. },
  17868. "marginvalue": {
  17869. "description": "即市保证金设置值",
  17870. "type": "number"
  17871. },
  17872. "marketid": {
  17873. "description": "市场ID",
  17874. "type": "integer"
  17875. },
  17876. "marketmaxsub": {
  17877. "description": "市价最大偏移范围",
  17878. "type": "number"
  17879. },
  17880. "memberuserid": {
  17881. "description": "所属会员UserID",
  17882. "type": "integer"
  17883. },
  17884. "openexchagechargevalue": {
  17885. "description": "建仓交易所手续费设置值",
  17886. "type": "number"
  17887. },
  17888. "openfeealgorithm": {
  17889. "description": "建仓手续费收取方式 1:比率 2:固定",
  17890. "type": "integer"
  17891. },
  17892. "openfreezecharge": {
  17893. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  17894. "type": "number"
  17895. },
  17896. "openmemberchargevalue": {
  17897. "description": "建仓会员手续费设置值",
  17898. "type": "number"
  17899. },
  17900. "openqty": {
  17901. "description": "开仓数量(先建后平操作,需要记录)",
  17902. "type": "integer"
  17903. },
  17904. "opentradeqty": {
  17905. "description": "开仓成交数量(先建后平操作,需要记录)",
  17906. "type": "integer"
  17907. },
  17908. "openunfreezecharge": {
  17909. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  17910. "type": "number"
  17911. },
  17912. "operatetype": {
  17913. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  17914. "type": "integer"
  17915. },
  17916. "operatorid": {
  17917. "description": "登录账号(LoginID)",
  17918. "type": "integer"
  17919. },
  17920. "optiontype": {
  17921. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  17922. "type": "integer"
  17923. },
  17924. "orderprice": {
  17925. "description": "委托价格",
  17926. "type": "number"
  17927. },
  17928. "orderqty": {
  17929. "description": "委托数量",
  17930. "type": "integer"
  17931. },
  17932. "ordersrc": {
  17933. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  17934. "type": "integer"
  17935. },
  17936. "orderstatus": {
  17937. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  17938. "type": "integer"
  17939. },
  17940. "ordertime": {
  17941. "description": "委托时间",
  17942. "type": "string"
  17943. },
  17944. "preexerciseprice": {
  17945. "description": "预申报价格",
  17946. "type": "number"
  17947. },
  17948. "premium": {
  17949. "description": "权利金",
  17950. "type": "number"
  17951. },
  17952. "preorderid": {
  17953. "description": "关联预埋单号(止盈止损单时填写)",
  17954. "type": "integer"
  17955. },
  17956. "pricemode": {
  17957. "description": "取价方式 - 1:市价 2: 限价",
  17958. "type": "integer"
  17959. },
  17960. "quoteid": {
  17961. "description": "报价单ID",
  17962. "type": "integer"
  17963. },
  17964. "relatedid": {
  17965. "description": "关联单号(交割单)",
  17966. "type": "integer"
  17967. },
  17968. "retcode": {
  17969. "description": "错误代码",
  17970. "type": "integer"
  17971. },
  17972. "sessionid": {
  17973. "description": "会话ID",
  17974. "type": "integer"
  17975. },
  17976. "strorderid": {
  17977. "description": "委托单号",
  17978. "type": "string"
  17979. },
  17980. "tradedate": {
  17981. "description": "交易日(yyyyMMdd)",
  17982. "type": "string"
  17983. },
  17984. "tradeproperty": {
  17985. "description": "交易属性",
  17986. "type": "integer"
  17987. },
  17988. "tradeqty": {
  17989. "description": "成交数量",
  17990. "type": "integer"
  17991. },
  17992. "unfreezecharge": {
  17993. "description": "解冻手续费",
  17994. "type": "number"
  17995. },
  17996. "unfreezemargin": {
  17997. "description": "解冻保证金",
  17998. "type": "number"
  17999. },
  18000. "updatetime": {
  18001. "description": "更新时间",
  18002. "type": "string"
  18003. },
  18004. "uuid": {
  18005. "description": "发起端唯一id",
  18006. "type": "string"
  18007. },
  18008. "validtime": {
  18009. "description": "有效期限",
  18010. "type": "string"
  18011. },
  18012. "validtype": {
  18013. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18014. "type": "integer"
  18015. },
  18016. "volumetype": {
  18017. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18018. "type": "integer"
  18019. }
  18020. }
  18021. },
  18022. "cptrade.QueryMyCPTradeGoodsRsp": {
  18023. "type": "object",
  18024. "required": [
  18025. "goodscode",
  18026. "goodsid",
  18027. "goodsname",
  18028. "marketid",
  18029. "relatedgoodscode",
  18030. "relatedgoodsname"
  18031. ],
  18032. "properties": {
  18033. "accountid": {
  18034. "description": "卖方账户ID",
  18035. "type": "integer"
  18036. },
  18037. "agreeunit": {
  18038. "description": "合约单位",
  18039. "type": "number"
  18040. },
  18041. "applyid": {
  18042. "description": "关联申请ID",
  18043. "type": "integer"
  18044. },
  18045. "attachmenturl": {
  18046. "description": "附件地址",
  18047. "type": "string"
  18048. },
  18049. "createtime": {
  18050. "description": "创建时间",
  18051. "type": "string"
  18052. },
  18053. "currencyid": {
  18054. "description": "报价货币ID",
  18055. "type": "integer"
  18056. },
  18057. "decimalplace": {
  18058. "description": "报价小数位",
  18059. "type": "integer"
  18060. },
  18061. "endtime": {
  18062. "description": "预售结束时间",
  18063. "type": "string"
  18064. },
  18065. "floorprice": {
  18066. "description": "底价[大宗式竞拍]",
  18067. "type": "number"
  18068. },
  18069. "goodscode": {
  18070. "description": "商品代码(预售)",
  18071. "type": "string"
  18072. },
  18073. "goodsdetail": {
  18074. "description": "详情[大宗]",
  18075. "type": "string"
  18076. },
  18077. "goodsid": {
  18078. "description": "商品ID(自增ID SEQ_GOODS)",
  18079. "type": "integer"
  18080. },
  18081. "goodsname": {
  18082. "description": "商品名称(预售)",
  18083. "type": "string"
  18084. },
  18085. "goodunit": {
  18086. "description": "报价单位",
  18087. "type": "string"
  18088. },
  18089. "goodunitid": {
  18090. "description": "报价单位ID",
  18091. "type": "integer"
  18092. },
  18093. "marketid": {
  18094. "description": "所属市场ID",
  18095. "type": "integer"
  18096. },
  18097. "marketname": {
  18098. "description": "预售市场名称",
  18099. "type": "string"
  18100. },
  18101. "presaledamount": {
  18102. "description": "已预售总金额(预售结束时更新)",
  18103. "type": "number"
  18104. },
  18105. "presaledqty": {
  18106. "description": "已预售量(预售结束时更新)",
  18107. "type": "integer"
  18108. },
  18109. "presalemode": {
  18110. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18111. "type": "integer"
  18112. },
  18113. "presaleqty": {
  18114. "description": "预售数量",
  18115. "type": "integer"
  18116. },
  18117. "refprice": {
  18118. "description": "参考价格[一口价]",
  18119. "type": "number"
  18120. },
  18121. "relatedgoodscode": {
  18122. "description": "商品代码(订单)",
  18123. "type": "string"
  18124. },
  18125. "relatedgoodsid": {
  18126. "description": "关联交易合约ID",
  18127. "type": "integer"
  18128. },
  18129. "relatedgoodsname": {
  18130. "description": "商品名称(订单)",
  18131. "type": "string"
  18132. },
  18133. "relatedmarketid": {
  18134. "description": "关联交易合约市场ID",
  18135. "type": "integer"
  18136. },
  18137. "sellstatus": {
  18138. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18139. "type": "integer"
  18140. },
  18141. "startprice": {
  18142. "description": "起拍价[大宗式竞拍]",
  18143. "type": "number"
  18144. },
  18145. "starttime": {
  18146. "description": "预售开始时间",
  18147. "type": "string"
  18148. },
  18149. "tradedate": {
  18150. "description": "交易日(yyyyMMdd)",
  18151. "type": "string"
  18152. },
  18153. "tradeprice": {
  18154. "description": "成交价[大宗]",
  18155. "type": "number"
  18156. },
  18157. "userid": {
  18158. "description": "卖方用户ID",
  18159. "type": "integer"
  18160. }
  18161. }
  18162. },
  18163. "cptrade.QueryPresaleGoodsExRsp": {
  18164. "type": "object",
  18165. "required": [
  18166. "goodsid"
  18167. ],
  18168. "properties": {
  18169. "attachmenturl": {
  18170. "description": "附件地址",
  18171. "type": "string"
  18172. },
  18173. "createtime": {
  18174. "description": "创建时间",
  18175. "type": "string"
  18176. },
  18177. "endtime": {
  18178. "description": "预售结束时间",
  18179. "type": "string"
  18180. },
  18181. "floorprice": {
  18182. "description": "底价[大宗式竞拍]",
  18183. "type": "number"
  18184. },
  18185. "goodsdetail": {
  18186. "description": "详情[大宗]",
  18187. "type": "string"
  18188. },
  18189. "goodsid": {
  18190. "description": "商品ID(预售)",
  18191. "type": "integer"
  18192. },
  18193. "goodunit": {
  18194. "description": "报价单位",
  18195. "type": "string"
  18196. },
  18197. "marketid": {
  18198. "description": "预售市场ID - 根据预售模式选择市场",
  18199. "type": "integer"
  18200. },
  18201. "presaledamount": {
  18202. "description": "已预售总金额(预售结束时更新)",
  18203. "type": "number"
  18204. },
  18205. "presaledqty": {
  18206. "description": "已预售量(预售结束时更新)",
  18207. "type": "integer"
  18208. },
  18209. "presalemode": {
  18210. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18211. "type": "integer"
  18212. },
  18213. "presaleqty": {
  18214. "description": "预售数量",
  18215. "type": "integer"
  18216. },
  18217. "refprice": {
  18218. "description": "参考价格[一口价]",
  18219. "type": "number"
  18220. },
  18221. "relatedgoodsid": {
  18222. "description": "关联交易合约ID",
  18223. "type": "integer"
  18224. },
  18225. "relatedmarketid": {
  18226. "description": "关联交易合约市场ID",
  18227. "type": "integer"
  18228. },
  18229. "sellstatus": {
  18230. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18231. "type": "integer"
  18232. },
  18233. "startprice": {
  18234. "description": "起拍价[大宗式竞拍]",
  18235. "type": "number"
  18236. },
  18237. "starttime": {
  18238. "description": "预售开始时间",
  18239. "type": "string"
  18240. },
  18241. "tradedate": {
  18242. "description": "交易日(yyyyMMdd)",
  18243. "type": "string"
  18244. },
  18245. "tradeprice": {
  18246. "description": "成交价[大宗]",
  18247. "type": "number"
  18248. }
  18249. }
  18250. },
  18251. "delivery.QueryDeliveryRelationRsp": {
  18252. "type": "object",
  18253. "required": [
  18254. "begindate",
  18255. "enddate",
  18256. "goodsid",
  18257. "mindeliveryqty",
  18258. "xdeliveryratio"
  18259. ],
  18260. "properties": {
  18261. "begindate": {
  18262. "description": "起始日期(yyyyMMdd)",
  18263. "type": "string"
  18264. },
  18265. "buytemplateid": {
  18266. "description": "买履约计划模板ID",
  18267. "type": "integer"
  18268. },
  18269. "deliverygoodscode": {
  18270. "description": "品种代码",
  18271. "type": "string"
  18272. },
  18273. "deliverygoodsid": {
  18274. "description": "交割商品",
  18275. "type": "integer"
  18276. },
  18277. "deliverygoodsname": {
  18278. "description": "品种名称",
  18279. "type": "string"
  18280. },
  18281. "deliverymode": {
  18282. "description": "交割方式 - 1:点选式 2:申报式",
  18283. "type": "integer"
  18284. },
  18285. "deliverypricerule": {
  18286. "description": "交割价规则- 1:行情价 2:建仓价",
  18287. "type": "integer"
  18288. },
  18289. "deliverytype": {
  18290. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  18291. "type": "integer"
  18292. },
  18293. "enddate": {
  18294. "description": "结束日期(yyyyMMdd)",
  18295. "type": "string"
  18296. },
  18297. "enumdicname": {
  18298. "description": "品类单位名称",
  18299. "type": "string"
  18300. },
  18301. "goodscode": {
  18302. "description": "商品代码",
  18303. "type": "string"
  18304. },
  18305. "goodsid": {
  18306. "description": "交易合约ID",
  18307. "type": "integer"
  18308. },
  18309. "goodsname": {
  18310. "description": "商品名称",
  18311. "type": "string"
  18312. },
  18313. "marketid": {
  18314. "description": "市场ID",
  18315. "type": "integer"
  18316. },
  18317. "mindeliveryqty": {
  18318. "description": "最小交割系数(K)",
  18319. "type": "integer"
  18320. },
  18321. "p2deliveryprice": {
  18322. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  18323. "type": "number"
  18324. },
  18325. "p2deliveryratio": {
  18326. "description": "P2合约系数(p)",
  18327. "type": "integer"
  18328. },
  18329. "p2goodsid": {
  18330. "description": "P2合约ID",
  18331. "type": "integer"
  18332. },
  18333. "p2pricemode": {
  18334. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  18335. "type": "integer"
  18336. },
  18337. "pdeliveryprice": {
  18338. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  18339. "type": "number"
  18340. },
  18341. "pdeliveryratio": {
  18342. "description": "P合约系数(n)",
  18343. "type": "integer"
  18344. },
  18345. "pgoodscode": {
  18346. "description": "p合约代码",
  18347. "type": "string"
  18348. },
  18349. "pgoodsid": {
  18350. "description": "P合约ID",
  18351. "type": "integer"
  18352. },
  18353. "ppricemode": {
  18354. "description": "P合约价格方式 - 1:商品价 2:固定值",
  18355. "type": "integer"
  18356. },
  18357. "rratio": {
  18358. "description": "兑换系数(R)",
  18359. "type": "integer"
  18360. },
  18361. "rratio1": {
  18362. "description": "兑换系数(交易合约)(R1)",
  18363. "type": "integer"
  18364. },
  18365. "rratio2": {
  18366. "description": "兑换系数(仓单标准)(R2)",
  18367. "type": "integer"
  18368. },
  18369. "selltemplateid": {
  18370. "description": "卖履约计划模板ID",
  18371. "type": "integer"
  18372. },
  18373. "wrstandardid": {
  18374. "description": "仓单标准ID",
  18375. "type": "integer"
  18376. },
  18377. "xdeliveryratio": {
  18378. "description": "交易合约系数(m)",
  18379. "type": "integer"
  18380. }
  18381. }
  18382. },
  18383. "ermcp.ExposureDetailRsp": {
  18384. "type": "object",
  18385. "properties": {
  18386. "areauserid": {
  18387. "description": "机构ID",
  18388. "type": "integer"
  18389. },
  18390. "changeQty": {
  18391. "description": "套保变动量",
  18392. "type": "number"
  18393. },
  18394. "contracttype": {
  18395. "description": "现货合同类型 - 1:采购 -1:销售",
  18396. "type": "integer"
  18397. },
  18398. "convertfactor": {
  18399. "description": "标仓系数",
  18400. "type": "number"
  18401. },
  18402. "convertratio": {
  18403. "description": "套保系数",
  18404. "type": "number"
  18405. },
  18406. "createtime": {
  18407. "description": "时间",
  18408. "type": "string"
  18409. },
  18410. "enumdicname": {
  18411. "description": "现货商品单位名称",
  18412. "type": "string"
  18413. },
  18414. "logtype": {
  18415. "description": "类型 - 1:套保计划 2:现货合同",
  18416. "type": "integer"
  18417. },
  18418. "middlegoodsId": {
  18419. "description": "套保商品id",
  18420. "type": "integer"
  18421. },
  18422. "middlegoodscode": {
  18423. "description": "套保商品代码",
  18424. "type": "string"
  18425. },
  18426. "middlegoodsname": {
  18427. "description": "套保商品名称",
  18428. "type": "string"
  18429. },
  18430. "qty": {
  18431. "description": "数量",
  18432. "type": "number"
  18433. },
  18434. "relateNo": {
  18435. "description": "现货合同/套保计划编号",
  18436. "type": "string"
  18437. },
  18438. "wrstandardcode": {
  18439. "description": "现货商品代码",
  18440. "type": "string"
  18441. },
  18442. "wrstandardid": {
  18443. "description": "现货商品ID",
  18444. "type": "integer"
  18445. },
  18446. "wrstandardname": {
  18447. "description": "现货商品名称",
  18448. "type": "string"
  18449. }
  18450. }
  18451. },
  18452. "ermcp.ExposureHedgePosDetailRsp": {
  18453. "type": "object",
  18454. "properties": {
  18455. "buyorsell": {
  18456. "description": "买卖方向 0-买 1-卖",
  18457. "type": "integer"
  18458. },
  18459. "channelbuildtype": {
  18460. "description": "开平方向 1-建仓 2-平仓",
  18461. "type": "integer"
  18462. },
  18463. "goodscode": {
  18464. "description": "商品代码",
  18465. "type": "string"
  18466. },
  18467. "goodsname": {
  18468. "description": "商品名称",
  18469. "type": "string"
  18470. },
  18471. "hedgegoodsid": {
  18472. "description": "商品id",
  18473. "type": "integer"
  18474. },
  18475. "tradeqty": {
  18476. "description": "数量(成交数量)",
  18477. "type": "integer"
  18478. },
  18479. "tradetime": {
  18480. "description": "时间(成交时间)",
  18481. "type": "string"
  18482. }
  18483. }
  18484. },
  18485. "ermcp.ExposureHedgePositionRsp": {
  18486. "type": "object",
  18487. "properties": {
  18488. "accountid": {
  18489. "description": "资金账号[外部母账户]",
  18490. "type": "integer"
  18491. },
  18492. "curbuyposition": {
  18493. "description": "期末买头寸",
  18494. "type": "integer"
  18495. },
  18496. "cursellposition": {
  18497. "description": "期末卖头寸",
  18498. "type": "integer"
  18499. },
  18500. "curtdbuyposition": {
  18501. "description": "期末今日买头寸",
  18502. "type": "integer"
  18503. },
  18504. "curtdsellposition": {
  18505. "description": "期末今日卖头寸",
  18506. "type": "integer"
  18507. },
  18508. "curydbuyposition": {
  18509. "description": "期末上日买头寸",
  18510. "type": "integer"
  18511. },
  18512. "curydsellposition": {
  18513. "description": "期末上日卖头寸",
  18514. "type": "integer"
  18515. },
  18516. "decreaseqty": {
  18517. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  18518. "type": "integer"
  18519. },
  18520. "fretdbuyposition": {
  18521. "description": "冻结今日买头寸",
  18522. "type": "integer"
  18523. },
  18524. "fretdsellposition": {
  18525. "description": "冻结今日卖头寸",
  18526. "type": "integer"
  18527. },
  18528. "freydbuyposition": {
  18529. "description": "冻结上日买头寸",
  18530. "type": "integer"
  18531. },
  18532. "freydsellposition": {
  18533. "description": "冻结上日卖头寸",
  18534. "type": "integer"
  18535. },
  18536. "goodscode": {
  18537. "description": "商品代码",
  18538. "type": "string"
  18539. },
  18540. "goodsid": {
  18541. "description": "商品id",
  18542. "type": "integer"
  18543. },
  18544. "goodsname": {
  18545. "description": "商品名称",
  18546. "type": "string"
  18547. },
  18548. "hedgeaccountcode": {
  18549. "description": "对冲账号",
  18550. "type": "string"
  18551. },
  18552. "hedgegoodsid": {
  18553. "description": "对冲合约ID",
  18554. "type": "integer"
  18555. },
  18556. "increaseqty": {
  18557. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  18558. "type": "integer"
  18559. },
  18560. "marketid": {
  18561. "description": "市场ID",
  18562. "type": "integer"
  18563. },
  18564. "relateduserid": {
  18565. "description": "关联用户id",
  18566. "type": "integer"
  18567. },
  18568. "totalcurqty": {
  18569. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  18570. "type": "integer"
  18571. },
  18572. "totalydqty": {
  18573. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  18574. "type": "integer"
  18575. },
  18576. "tradedate": {
  18577. "description": "交易日(yyyyMMdd)",
  18578. "type": "string"
  18579. },
  18580. "ydbuyposition": {
  18581. "description": "期初买头寸",
  18582. "type": "integer"
  18583. },
  18584. "ydsellposition": {
  18585. "description": "期初卖头寸",
  18586. "type": "integer"
  18587. }
  18588. }
  18589. },
  18590. "ermcp.ExposureSpotDetailRsp": {
  18591. "type": "object",
  18592. "properties": {
  18593. "contracttype": {
  18594. "description": "合同类型 1-采购 -1-销售",
  18595. "type": "integer"
  18596. },
  18597. "createtime": {
  18598. "description": "创建时间",
  18599. "type": "string"
  18600. },
  18601. "enumdicname": {
  18602. "description": "现货商品单位名称",
  18603. "type": "string"
  18604. },
  18605. "logtype": {
  18606. "description": "记录类型 1-套保 2-现货合同",
  18607. "type": "integer"
  18608. },
  18609. "qty": {
  18610. "description": "数量",
  18611. "type": "number"
  18612. },
  18613. "recordname": {
  18614. "description": "类型名称",
  18615. "type": "string"
  18616. },
  18617. "relatedid": {
  18618. "description": "套保计划ID/现货合同ID",
  18619. "type": "string"
  18620. },
  18621. "relatedno": {
  18622. "description": "编号",
  18623. "type": "string"
  18624. },
  18625. "strtime": {
  18626. "description": "时间",
  18627. "type": "string"
  18628. },
  18629. "wrstandardcode": {
  18630. "description": "现货商品代码",
  18631. "type": "string"
  18632. },
  18633. "wrstandardname": {
  18634. "description": "现货商品名称",
  18635. "type": "string"
  18636. }
  18637. }
  18638. },
  18639. "ermcp.ExposureSpotRsp": {
  18640. "type": "object",
  18641. "properties": {
  18642. "areauserid": {
  18643. "description": "所属机构",
  18644. "type": "integer"
  18645. },
  18646. "decreaseqty": {
  18647. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  18648. "type": "number"
  18649. },
  18650. "increaseqty": {
  18651. "description": "增加数量=销售计划数量+采购已定价数量",
  18652. "type": "number"
  18653. },
  18654. "oritoalspotqty": {
  18655. "description": "昨日数量",
  18656. "type": "number"
  18657. },
  18658. "totalspotqty": {
  18659. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  18660. "type": "number"
  18661. },
  18662. "updatetime": {
  18663. "description": "更新时间",
  18664. "type": "string"
  18665. },
  18666. "wrstandardcode": {
  18667. "description": "现货品种代码",
  18668. "type": "string"
  18669. },
  18670. "wrstandardid": {
  18671. "description": "现货商品ID",
  18672. "type": "integer"
  18673. },
  18674. "wrstandardname": {
  18675. "description": "现货品种",
  18676. "type": "string"
  18677. }
  18678. }
  18679. },
  18680. "ermcp.HisExposureRsp": {
  18681. "type": "object",
  18682. "properties": {
  18683. "data": {
  18684. "description": "历史敞口",
  18685. "type": "array",
  18686. "items": {
  18687. "$ref": "#/definitions/models.ErmcpHisExposure"
  18688. }
  18689. },
  18690. "enumdicname": {
  18691. "description": "单位名称",
  18692. "type": "string"
  18693. },
  18694. "middlegoodscode": {
  18695. "description": "套保品种代码",
  18696. "type": "string"
  18697. },
  18698. "middlegoodsid": {
  18699. "description": "套保品种ID",
  18700. "type": "integer"
  18701. },
  18702. "middlegoodsname": {
  18703. "description": "套保品种名称",
  18704. "type": "string"
  18705. }
  18706. }
  18707. },
  18708. "ermcp.PendingAuditCntRsp": {
  18709. "type": "object",
  18710. "properties": {
  18711. "areastockqty": {
  18712. "description": "待审核数量: 库存申请",
  18713. "type": "integer"
  18714. },
  18715. "businessdjqty": {
  18716. "description": "待审核数量: 点价",
  18717. "type": "integer"
  18718. },
  18719. "businessfpqty": {
  18720. "description": "待审核数量: 发票",
  18721. "type": "integer"
  18722. },
  18723. "businessjsqty": {
  18724. "description": "待审核数量: 结算",
  18725. "type": "integer"
  18726. },
  18727. "businesskxqty": {
  18728. "description": "待审核数量: 款项",
  18729. "type": "integer"
  18730. },
  18731. "hedgeplanqty": {
  18732. "description": "待审核数量: 套保计划",
  18733. "type": "integer"
  18734. },
  18735. "spotcontractqty": {
  18736. "description": "待审核数量: 现货合同",
  18737. "type": "integer"
  18738. },
  18739. "userqty": {
  18740. "description": "待审核数量: 用户",
  18741. "type": "integer"
  18742. }
  18743. }
  18744. },
  18745. "ermcp.QryAvalidGPRsp": {
  18746. "type": "object",
  18747. "properties": {
  18748. "goodsgroupid": {
  18749. "description": "期货品种id",
  18750. "type": "integer"
  18751. },
  18752. "goodsgroupname": {
  18753. "description": "期货品种名称",
  18754. "type": "string"
  18755. },
  18756. "goodunitid": {
  18757. "description": "品种单位id",
  18758. "type": "integer"
  18759. },
  18760. "goodunitname": {
  18761. "description": "品种单位名称",
  18762. "type": "string"
  18763. },
  18764. "outergroupcode": {
  18765. "description": "期货品种代码",
  18766. "type": "string"
  18767. }
  18768. }
  18769. },
  18770. "ermcp.QryBusinessDjRsp": {
  18771. "type": "object",
  18772. "properties": {
  18773. "amount": {
  18774. "description": "期初均价",
  18775. "type": "number"
  18776. },
  18777. "applyid": {
  18778. "description": "申请人",
  18779. "type": "string"
  18780. },
  18781. "applyname": {
  18782. "description": "申请人名称",
  18783. "type": "string"
  18784. },
  18785. "applystatus": {
  18786. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18787. "type": "integer"
  18788. },
  18789. "applytime": {
  18790. "description": "申请时间",
  18791. "type": "string"
  18792. },
  18793. "attachurl": {
  18794. "description": "附件",
  18795. "type": "string"
  18796. },
  18797. "auditid": {
  18798. "description": "审核人ID",
  18799. "type": "string"
  18800. },
  18801. "auditname": {
  18802. "description": "审核人名称",
  18803. "type": "string"
  18804. },
  18805. "auditremark": {
  18806. "description": "审核备注",
  18807. "type": "string"
  18808. },
  18809. "audittime": {
  18810. "description": "审核时间",
  18811. "type": "string"
  18812. },
  18813. "buyusername": {
  18814. "description": "采购方名称",
  18815. "type": "string"
  18816. },
  18817. "contractno": {
  18818. "description": "合同编号",
  18819. "type": "string"
  18820. },
  18821. "contractstatus": {
  18822. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18823. "type": "integer"
  18824. },
  18825. "contracttype": {
  18826. "description": "现货合同类型 - 1:采购 -1:销售",
  18827. "type": "integer"
  18828. },
  18829. "deliverygoodscode": {
  18830. "description": "现货品种代码",
  18831. "type": "string"
  18832. },
  18833. "deliverygoodsid": {
  18834. "description": "现货商品ID",
  18835. "type": "integer"
  18836. },
  18837. "deliverygoodsname": {
  18838. "description": "现货品种名称",
  18839. "type": "string"
  18840. },
  18841. "enumdicname": {
  18842. "description": "单位名称",
  18843. "type": "string"
  18844. },
  18845. "goodscode": {
  18846. "description": "点价合约",
  18847. "type": "string"
  18848. },
  18849. "goodsname": {
  18850. "description": "商品名称",
  18851. "type": "string"
  18852. },
  18853. "operateapplyid": {
  18854. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18855. "type": "string"
  18856. },
  18857. "operateapplytype": {
  18858. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18859. "type": "integer"
  18860. },
  18861. "pricedPrice": {
  18862. "description": "点价价格(非必填)",
  18863. "type": "number"
  18864. },
  18865. "pricedQty": {
  18866. "description": "点价数量(非必填)",
  18867. "type": "number"
  18868. },
  18869. "pricemove": {
  18870. "description": "升贴水",
  18871. "type": "number"
  18872. },
  18873. "pricetype": {
  18874. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  18875. "type": "integer"
  18876. },
  18877. "relatedid": {
  18878. "description": "现货合同ID",
  18879. "type": "string"
  18880. },
  18881. "sellusername": {
  18882. "description": "销售方名字",
  18883. "type": "string"
  18884. },
  18885. "userid": {
  18886. "description": "用户ID",
  18887. "type": "integer"
  18888. },
  18889. "wrstandardcode": {
  18890. "description": "品类代码",
  18891. "type": "string"
  18892. },
  18893. "wrstandardid": {
  18894. "description": "品类id",
  18895. "type": "integer"
  18896. },
  18897. "wrstandardname": {
  18898. "description": "品类名称",
  18899. "type": "string"
  18900. }
  18901. }
  18902. },
  18903. "ermcp.QryBussinessFpRsp": {
  18904. "type": "object",
  18905. "properties": {
  18906. "applyid": {
  18907. "description": "申请人",
  18908. "type": "string"
  18909. },
  18910. "applyname": {
  18911. "description": "申请人名称",
  18912. "type": "string"
  18913. },
  18914. "applystatus": {
  18915. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  18916. "type": "integer"
  18917. },
  18918. "applytime": {
  18919. "description": "申请时间",
  18920. "type": "string"
  18921. },
  18922. "attachurl": {
  18923. "description": "附件",
  18924. "type": "string"
  18925. },
  18926. "auditid": {
  18927. "description": "审核人ID",
  18928. "type": "string"
  18929. },
  18930. "auditname": {
  18931. "description": "审核人名称",
  18932. "type": "string"
  18933. },
  18934. "auditremark": {
  18935. "description": "审核备注",
  18936. "type": "string"
  18937. },
  18938. "audittime": {
  18939. "description": "审核时间",
  18940. "type": "string"
  18941. },
  18942. "buyusername": {
  18943. "description": "采购方名称",
  18944. "type": "string"
  18945. },
  18946. "contractno": {
  18947. "description": "合同编号",
  18948. "type": "string"
  18949. },
  18950. "contractstatus": {
  18951. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  18952. "type": "integer"
  18953. },
  18954. "contracttype": {
  18955. "description": "现货合同类型 - 1:采购 -1:销售",
  18956. "type": "integer"
  18957. },
  18958. "deliverygoodscode": {
  18959. "description": "现货品种代码",
  18960. "type": "string"
  18961. },
  18962. "deliverygoodsid": {
  18963. "description": "现货商品ID",
  18964. "type": "integer"
  18965. },
  18966. "deliverygoodsname": {
  18967. "description": "现货品种名称",
  18968. "type": "string"
  18969. },
  18970. "enumdicname": {
  18971. "description": "单位名称",
  18972. "type": "string"
  18973. },
  18974. "goodscode": {
  18975. "description": "点价合约",
  18976. "type": "string"
  18977. },
  18978. "goodsname": {
  18979. "description": "商品名称",
  18980. "type": "string"
  18981. },
  18982. "invoiceamount": {
  18983. "description": "已开收票金额(销售为开票,采购为收票)",
  18984. "type": "number"
  18985. },
  18986. "operateapplyid": {
  18987. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  18988. "type": "string"
  18989. },
  18990. "operateapplytype": {
  18991. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  18992. "type": "integer"
  18993. },
  18994. "pricemove": {
  18995. "description": "升贴水",
  18996. "type": "number"
  18997. },
  18998. "pricetype": {
  18999. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19000. "type": "integer"
  19001. },
  19002. "relatedid": {
  19003. "description": "现货合同ID",
  19004. "type": "string"
  19005. },
  19006. "sellusername": {
  19007. "description": "销售方名字",
  19008. "type": "string"
  19009. },
  19010. "userid": {
  19011. "description": "用户ID",
  19012. "type": "integer"
  19013. },
  19014. "wrstandardcode": {
  19015. "description": "品类代码",
  19016. "type": "string"
  19017. },
  19018. "wrstandardid": {
  19019. "description": "品类id",
  19020. "type": "integer"
  19021. },
  19022. "wrstandardname": {
  19023. "description": "品类名称",
  19024. "type": "string"
  19025. }
  19026. }
  19027. },
  19028. "ermcp.QryBussinessJsExRsp": {
  19029. "type": "object",
  19030. "properties": {
  19031. "applyid": {
  19032. "description": "申请人",
  19033. "type": "string"
  19034. },
  19035. "applyname": {
  19036. "description": "申请人名称",
  19037. "type": "string"
  19038. },
  19039. "applystatus": {
  19040. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19041. "type": "integer"
  19042. },
  19043. "applytime": {
  19044. "description": "申请时间",
  19045. "type": "string"
  19046. },
  19047. "attachurl": {
  19048. "description": "附件",
  19049. "type": "string"
  19050. },
  19051. "auditid": {
  19052. "description": "审核人ID",
  19053. "type": "string"
  19054. },
  19055. "auditname": {
  19056. "description": "审核人名称",
  19057. "type": "string"
  19058. },
  19059. "auditremark": {
  19060. "description": "审核备注",
  19061. "type": "string"
  19062. },
  19063. "audittime": {
  19064. "description": "审核时间",
  19065. "type": "string"
  19066. },
  19067. "buyusername": {
  19068. "description": "采购方名称",
  19069. "type": "string"
  19070. },
  19071. "contractno": {
  19072. "description": "合同编号",
  19073. "type": "string"
  19074. },
  19075. "contractstatus": {
  19076. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19077. "type": "integer"
  19078. },
  19079. "contracttype": {
  19080. "description": "现货合同类型 - 1:采购 -1:销售",
  19081. "type": "integer"
  19082. },
  19083. "deliverygoodscode": {
  19084. "description": "现货品种代码",
  19085. "type": "string"
  19086. },
  19087. "deliverygoodsid": {
  19088. "description": "现货商品ID",
  19089. "type": "integer"
  19090. },
  19091. "deliverygoodsname": {
  19092. "description": "现货品种名称",
  19093. "type": "string"
  19094. },
  19095. "enumdicname": {
  19096. "description": "单位名称",
  19097. "type": "string"
  19098. },
  19099. "goodscode": {
  19100. "description": "点价合约",
  19101. "type": "string"
  19102. },
  19103. "goodsname": {
  19104. "description": "商品名称",
  19105. "type": "string"
  19106. },
  19107. "operateapplyid": {
  19108. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19109. "type": "string"
  19110. },
  19111. "operateapplytype": {
  19112. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19113. "type": "integer"
  19114. },
  19115. "pricemove": {
  19116. "description": "升贴水",
  19117. "type": "number"
  19118. },
  19119. "pricetype": {
  19120. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19121. "type": "integer"
  19122. },
  19123. "reckontype": {
  19124. "description": "结算类型",
  19125. "type": "string"
  19126. },
  19127. "reckonvalue": {
  19128. "description": "值",
  19129. "type": "number"
  19130. },
  19131. "relatedid": {
  19132. "description": "现货合同ID",
  19133. "type": "string"
  19134. },
  19135. "sellusername": {
  19136. "description": "销售方名字",
  19137. "type": "string"
  19138. },
  19139. "userid": {
  19140. "description": "用户ID",
  19141. "type": "integer"
  19142. },
  19143. "wrstandardcode": {
  19144. "description": "品类代码",
  19145. "type": "string"
  19146. },
  19147. "wrstandardid": {
  19148. "description": "品类id",
  19149. "type": "integer"
  19150. },
  19151. "wrstandardname": {
  19152. "description": "品类名称",
  19153. "type": "string"
  19154. }
  19155. }
  19156. },
  19157. "ermcp.QryBussinessJsRsp": {
  19158. "type": "object",
  19159. "properties": {
  19160. "addmargin": {
  19161. "description": "追加保证金(非必填)",
  19162. "type": "number"
  19163. },
  19164. "applyid": {
  19165. "description": "申请人",
  19166. "type": "string"
  19167. },
  19168. "applyname": {
  19169. "description": "申请人名称",
  19170. "type": "string"
  19171. },
  19172. "applystatus": {
  19173. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19174. "type": "integer"
  19175. },
  19176. "applytime": {
  19177. "description": "申请时间",
  19178. "type": "string"
  19179. },
  19180. "attachurl": {
  19181. "description": "附件",
  19182. "type": "string"
  19183. },
  19184. "auditid": {
  19185. "description": "审核人ID",
  19186. "type": "string"
  19187. },
  19188. "auditname": {
  19189. "description": "审核人名称",
  19190. "type": "string"
  19191. },
  19192. "auditremark": {
  19193. "description": "审核备注",
  19194. "type": "string"
  19195. },
  19196. "audittime": {
  19197. "description": "审核时间",
  19198. "type": "string"
  19199. },
  19200. "buyusername": {
  19201. "description": "采购方名称",
  19202. "type": "string"
  19203. },
  19204. "contractno": {
  19205. "description": "合同编号",
  19206. "type": "string"
  19207. },
  19208. "contractstatus": {
  19209. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19210. "type": "integer"
  19211. },
  19212. "contracttype": {
  19213. "description": "现货合同类型 - 1:采购 -1:销售",
  19214. "type": "integer"
  19215. },
  19216. "decmargin": {
  19217. "description": "减少保证金(非必填)",
  19218. "type": "number"
  19219. },
  19220. "deliverygoodscode": {
  19221. "description": "现货品种代码",
  19222. "type": "string"
  19223. },
  19224. "deliverygoodsid": {
  19225. "description": "现货商品ID",
  19226. "type": "integer"
  19227. },
  19228. "deliverygoodsname": {
  19229. "description": "现货品种名称",
  19230. "type": "string"
  19231. },
  19232. "enumdicname": {
  19233. "description": "单位名称",
  19234. "type": "string"
  19235. },
  19236. "goodscode": {
  19237. "description": "点价合约",
  19238. "type": "string"
  19239. },
  19240. "goodsname": {
  19241. "description": "商品名称",
  19242. "type": "string"
  19243. },
  19244. "operateapplyid": {
  19245. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19246. "type": "string"
  19247. },
  19248. "operateapplytype": {
  19249. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19250. "type": "integer"
  19251. },
  19252. "pricemove": {
  19253. "description": "升贴水",
  19254. "type": "number"
  19255. },
  19256. "pricetype": {
  19257. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19258. "type": "integer"
  19259. },
  19260. "reckonadjustamount": {
  19261. "description": "结算调整金额(非必填)",
  19262. "type": "number"
  19263. },
  19264. "reckonosamount": {
  19265. "description": "结算溢短金额(非必填)",
  19266. "type": "number"
  19267. },
  19268. "reckonotheramount": {
  19269. "description": "结算其他费用(非必填)",
  19270. "type": "number"
  19271. },
  19272. "reckonrealqty": {
  19273. "description": "结算实际数量(非必填)",
  19274. "type": "number"
  19275. },
  19276. "relatedid": {
  19277. "description": "现货合同ID",
  19278. "type": "string"
  19279. },
  19280. "sellusername": {
  19281. "description": "销售方名字",
  19282. "type": "string"
  19283. },
  19284. "userid": {
  19285. "description": "用户ID",
  19286. "type": "integer"
  19287. },
  19288. "wrstandardcode": {
  19289. "description": "品类代码",
  19290. "type": "string"
  19291. },
  19292. "wrstandardid": {
  19293. "description": "品类id",
  19294. "type": "integer"
  19295. },
  19296. "wrstandardname": {
  19297. "description": "品类名称",
  19298. "type": "string"
  19299. }
  19300. }
  19301. },
  19302. "ermcp.QryBussinessKxRsp": {
  19303. "type": "object",
  19304. "properties": {
  19305. "applyid": {
  19306. "description": "申请人",
  19307. "type": "string"
  19308. },
  19309. "applyname": {
  19310. "description": "申请人名称",
  19311. "type": "string"
  19312. },
  19313. "applystatus": {
  19314. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19315. "type": "integer"
  19316. },
  19317. "applytime": {
  19318. "description": "申请时间",
  19319. "type": "string"
  19320. },
  19321. "attachurl": {
  19322. "description": "附件",
  19323. "type": "string"
  19324. },
  19325. "auditid": {
  19326. "description": "审核人ID",
  19327. "type": "string"
  19328. },
  19329. "auditname": {
  19330. "description": "审核人名称",
  19331. "type": "string"
  19332. },
  19333. "auditremark": {
  19334. "description": "审核备注",
  19335. "type": "string"
  19336. },
  19337. "audittime": {
  19338. "description": "审核时间",
  19339. "type": "string"
  19340. },
  19341. "buyusername": {
  19342. "description": "采购方名称",
  19343. "type": "string"
  19344. },
  19345. "contractno": {
  19346. "description": "合同编号",
  19347. "type": "string"
  19348. },
  19349. "contractstatus": {
  19350. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19351. "type": "integer"
  19352. },
  19353. "contracttype": {
  19354. "description": "现货合同类型 - 1:采购 -1:销售",
  19355. "type": "integer"
  19356. },
  19357. "deductamount": {
  19358. "description": "期初均价",
  19359. "type": "number"
  19360. },
  19361. "deliverygoodscode": {
  19362. "description": "现货品种代码",
  19363. "type": "string"
  19364. },
  19365. "deliverygoodsid": {
  19366. "description": "现货商品ID",
  19367. "type": "integer"
  19368. },
  19369. "deliverygoodsname": {
  19370. "description": "现货品种名称",
  19371. "type": "string"
  19372. },
  19373. "enumdicname": {
  19374. "description": "单位名称",
  19375. "type": "string"
  19376. },
  19377. "goodscode": {
  19378. "description": "点价合约",
  19379. "type": "string"
  19380. },
  19381. "goodsname": {
  19382. "description": "商品名称",
  19383. "type": "string"
  19384. },
  19385. "kxtype": {
  19386. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  19387. "type": "integer"
  19388. },
  19389. "operateapplyid": {
  19390. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19391. "type": "string"
  19392. },
  19393. "operateapplytype": {
  19394. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19395. "type": "integer"
  19396. },
  19397. "payamount": {
  19398. "description": "期初均价",
  19399. "type": "number"
  19400. },
  19401. "pricemove": {
  19402. "description": "升贴水",
  19403. "type": "number"
  19404. },
  19405. "pricetype": {
  19406. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19407. "type": "integer"
  19408. },
  19409. "relatedid": {
  19410. "description": "现货合同ID",
  19411. "type": "string"
  19412. },
  19413. "sellusername": {
  19414. "description": "销售方名字",
  19415. "type": "string"
  19416. },
  19417. "userid": {
  19418. "description": "用户ID",
  19419. "type": "integer"
  19420. },
  19421. "wrstandardcode": {
  19422. "description": "品类代码",
  19423. "type": "string"
  19424. },
  19425. "wrstandardid": {
  19426. "description": "品类id",
  19427. "type": "integer"
  19428. },
  19429. "wrstandardname": {
  19430. "description": "品类名称",
  19431. "type": "string"
  19432. }
  19433. }
  19434. },
  19435. "ermcp.QryGGCovertCfgRsp": {
  19436. "type": "object",
  19437. "properties": {
  19438. "convertratio": {
  19439. "description": "折算系数",
  19440. "type": "number"
  19441. },
  19442. "destgoodsgroupid": {
  19443. "description": "目标品种ID",
  19444. "type": "integer"
  19445. },
  19446. "dstcode": {
  19447. "description": "目录品种代码",
  19448. "type": "string"
  19449. },
  19450. "dstexchangecode": {
  19451. "description": "目标期货交易所",
  19452. "type": "string"
  19453. },
  19454. "dstname": {
  19455. "description": "目标品种名称",
  19456. "type": "string"
  19457. },
  19458. "dstunitid": {
  19459. "description": "目标品种单位ID",
  19460. "type": "integer"
  19461. },
  19462. "dstunitidname": {
  19463. "description": "目标品种单位名称",
  19464. "type": "string"
  19465. },
  19466. "modifytime": {
  19467. "description": "修改时间",
  19468. "type": "string"
  19469. },
  19470. "srccode": {
  19471. "description": "源品种代码",
  19472. "type": "string"
  19473. },
  19474. "srcexchangecode": {
  19475. "description": "源期货交易所",
  19476. "type": "string"
  19477. },
  19478. "srcgoodsgroupid": {
  19479. "description": "源品种ID",
  19480. "type": "integer"
  19481. },
  19482. "srcname": {
  19483. "description": "源品种名称",
  19484. "type": "string"
  19485. },
  19486. "srcunitid": {
  19487. "description": "源品种单位ID",
  19488. "type": "integer"
  19489. },
  19490. "srcunitidname": {
  19491. "description": "源品种单位名称",
  19492. "type": "string"
  19493. }
  19494. }
  19495. },
  19496. "ermcp.QryMGChangeLogRsp": {
  19497. "type": "object",
  19498. "properties": {
  19499. "aftervalue": {
  19500. "description": "变更后",
  19501. "type": "number"
  19502. },
  19503. "applyid": {
  19504. "description": "操作人",
  19505. "type": "integer"
  19506. },
  19507. "applyname": {
  19508. "description": "操作人名称",
  19509. "type": "string"
  19510. },
  19511. "applysrc": {
  19512. "description": "操作来源 - 1:管理端 2:终端",
  19513. "type": "integer"
  19514. },
  19515. "beforevalue": {
  19516. "description": "变更前",
  19517. "type": "number"
  19518. },
  19519. "changelogtype": {
  19520. "description": "变更流水类型 - 1:套保比率变更",
  19521. "type": "integer"
  19522. },
  19523. "handlestatus": {
  19524. "description": "处理状态",
  19525. "type": "integer"
  19526. },
  19527. "logdatetime": {
  19528. "description": "流水日期",
  19529. "type": "string"
  19530. },
  19531. "logid": {
  19532. "description": "流水ID",
  19533. "type": "integer"
  19534. },
  19535. "logremark": {
  19536. "description": "流水备注",
  19537. "type": "string"
  19538. },
  19539. "middlegoodsid": {
  19540. "description": "套保品种ID",
  19541. "type": "integer"
  19542. },
  19543. "tradedate": {
  19544. "description": "交易日(yyyyMMdd)",
  19545. "type": "string"
  19546. },
  19547. "updatetime": {
  19548. "description": "更新时间",
  19549. "type": "string"
  19550. }
  19551. }
  19552. },
  19553. "ermcp.QryMiddleGoodsDetailRsp": {
  19554. "type": "object",
  19555. "properties": {
  19556. "cvList": {
  19557. "description": "期货品种折算列表",
  19558. "type": "array",
  19559. "items": {
  19560. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  19561. }
  19562. },
  19563. "mg": {
  19564. "description": "套保品种基本信息",
  19565. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  19566. },
  19567. "wrcList": {
  19568. "description": "现货品种列表(现货商品折算配置)",
  19569. "type": "array",
  19570. "items": {
  19571. "$ref": "#/definitions/models.WRSConverTDetail"
  19572. }
  19573. }
  19574. }
  19575. },
  19576. "ermcp.QryMiddleGoodsRsp": {
  19577. "type": "object",
  19578. "properties": {
  19579. "areauserid": {
  19580. "description": "机构用户ID",
  19581. "type": "integer"
  19582. },
  19583. "createtime": {
  19584. "description": "修改时间",
  19585. "type": "string"
  19586. },
  19587. "enumdicname": {
  19588. "description": "单位名称",
  19589. "type": "string"
  19590. },
  19591. "evaluateratio": {
  19592. "description": "估价系数",
  19593. "type": "number"
  19594. },
  19595. "goodsgroupid": {
  19596. "description": "关联期货品种ID",
  19597. "type": "integer"
  19598. },
  19599. "goodsunitid": {
  19600. "description": "单位ID",
  19601. "type": "integer"
  19602. },
  19603. "isvalid": {
  19604. "description": "状态 0-无效(停用) 1-有效(正常)",
  19605. "type": "integer"
  19606. },
  19607. "middlegoodscode": {
  19608. "description": "套保品种代码",
  19609. "type": "string"
  19610. },
  19611. "middlegoodsid": {
  19612. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  19613. "type": "integer"
  19614. },
  19615. "middlegoodsname": {
  19616. "description": "套保品种名称",
  19617. "type": "string"
  19618. },
  19619. "modifytime": {
  19620. "description": "修改时间",
  19621. "type": "string"
  19622. },
  19623. "needarbitrageratio": {
  19624. "description": "套利比例",
  19625. "type": "number"
  19626. },
  19627. "needhedgeratio": {
  19628. "description": "套保比率",
  19629. "type": "number"
  19630. },
  19631. "qtydecimalplace": {
  19632. "description": "数量小数位",
  19633. "type": "integer"
  19634. },
  19635. "relatedgoodsid": {
  19636. "description": "关联交易商品ID",
  19637. "type": "integer"
  19638. },
  19639. "relatedgoodstype": {
  19640. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  19641. "type": "integer"
  19642. },
  19643. "remark": {
  19644. "description": "备注",
  19645. "type": "string"
  19646. }
  19647. }
  19648. },
  19649. "ermcp.QryOPLogRsp": {
  19650. "type": "object",
  19651. "properties": {
  19652. "aftervalue": {
  19653. "description": "变更后",
  19654. "type": "number"
  19655. },
  19656. "applyid": {
  19657. "description": "操作人ID",
  19658. "type": "string"
  19659. },
  19660. "applyname": {
  19661. "description": "操作人名称",
  19662. "type": "string"
  19663. },
  19664. "beforevalue": {
  19665. "description": "变更前",
  19666. "type": "number"
  19667. },
  19668. "biztype": {
  19669. "description": "业务类型 - 1:套保计划 2:现货合同",
  19670. "type": "integer"
  19671. },
  19672. "contracttype": {
  19673. "description": "现货合同类型 - 1:采购 -1:销售",
  19674. "type": "integer"
  19675. },
  19676. "logvalue": {
  19677. "description": "数值",
  19678. "type": "number"
  19679. },
  19680. "operatelogtype": {
  19681. "description": "操作流水类型",
  19682. "type": "integer"
  19683. },
  19684. "operatelogtypedesc": {
  19685. "description": "操作流水类型名称",
  19686. "type": "string"
  19687. },
  19688. "relatedid": {
  19689. "description": "现货合同ID\\套保计划",
  19690. "type": "string"
  19691. },
  19692. "updatetime": {
  19693. "description": "更新时间",
  19694. "type": "string"
  19695. }
  19696. }
  19697. },
  19698. "ermcp.QryUserInfoRsp": {
  19699. "type": "object",
  19700. "properties": {
  19701. "address": {
  19702. "description": "通讯地址",
  19703. "type": "string"
  19704. },
  19705. "attachment1": {
  19706. "description": "附件1",
  19707. "type": "string"
  19708. },
  19709. "audittime": {
  19710. "description": "审核时间",
  19711. "type": "string"
  19712. },
  19713. "cardbackphotourl": {
  19714. "description": "证件反面图片地址",
  19715. "type": "string"
  19716. },
  19717. "cardfrontphotourl": {
  19718. "description": "证件正面图片地址",
  19719. "type": "string"
  19720. },
  19721. "cardnum": {
  19722. "description": "证件号码",
  19723. "type": "string"
  19724. },
  19725. "cardtype": {
  19726. "description": "证件类型",
  19727. "type": "integer"
  19728. },
  19729. "cardtypename": {
  19730. "description": "证件类型名称",
  19731. "type": "string"
  19732. },
  19733. "cityid": {
  19734. "description": "市",
  19735. "type": "integer"
  19736. },
  19737. "contactname": {
  19738. "description": "联系人",
  19739. "type": "string"
  19740. },
  19741. "countryid": {
  19742. "description": "国家",
  19743. "type": "integer"
  19744. },
  19745. "createtime": {
  19746. "description": "创建时间",
  19747. "type": "string"
  19748. },
  19749. "customername": {
  19750. "description": "企业名称",
  19751. "type": "string"
  19752. },
  19753. "districtid": {
  19754. "description": "区域",
  19755. "type": "integer"
  19756. },
  19757. "email": {
  19758. "description": "邮件",
  19759. "type": "string"
  19760. },
  19761. "legalpersonname": {
  19762. "description": "法人姓名(企业)",
  19763. "type": "string"
  19764. },
  19765. "memberuserid": {
  19766. "description": "所属机构ID",
  19767. "type": "integer"
  19768. },
  19769. "mobile": {
  19770. "description": "手机号码",
  19771. "type": "string"
  19772. },
  19773. "modifytime": {
  19774. "description": "修改时间",
  19775. "type": "string"
  19776. },
  19777. "nickname": {
  19778. "description": "昵称",
  19779. "type": "string"
  19780. },
  19781. "provinceid": {
  19782. "description": "省",
  19783. "type": "integer"
  19784. },
  19785. "remark": {
  19786. "description": "备注",
  19787. "type": "string"
  19788. },
  19789. "status": {
  19790. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  19791. "type": "integer"
  19792. },
  19793. "statusdesc": {
  19794. "description": "账户状态中文描述",
  19795. "type": "string"
  19796. },
  19797. "taxpayernum": {
  19798. "description": "纳税人识别号",
  19799. "type": "string"
  19800. },
  19801. "telphone": {
  19802. "description": "联系电话",
  19803. "type": "string"
  19804. },
  19805. "userid": {
  19806. "description": "用户ID",
  19807. "type": "integer"
  19808. },
  19809. "userinfotype": {
  19810. "description": "客户类型",
  19811. "type": "string"
  19812. }
  19813. }
  19814. },
  19815. "ermcp.QryWarehouseRsp": {
  19816. "type": "object",
  19817. "properties": {
  19818. "address": {
  19819. "description": "详细地址",
  19820. "type": "string"
  19821. },
  19822. "areauserid": {
  19823. "description": "所属机构",
  19824. "type": "integer"
  19825. },
  19826. "autoid": {
  19827. "description": "自增ID(仓库ID)",
  19828. "type": "integer"
  19829. },
  19830. "cityid": {
  19831. "description": "市",
  19832. "type": "integer"
  19833. },
  19834. "contactname": {
  19835. "description": "联系人",
  19836. "type": "string"
  19837. },
  19838. "contactnum": {
  19839. "description": "联系电话",
  19840. "type": "string"
  19841. },
  19842. "countryid": {
  19843. "description": "国家",
  19844. "type": "integer"
  19845. },
  19846. "createtime": {
  19847. "description": "创建时间",
  19848. "type": "string"
  19849. },
  19850. "districtid": {
  19851. "description": "区",
  19852. "type": "integer"
  19853. },
  19854. "hasvideo": {
  19855. "description": "是否有视频 - 0:无 1:有",
  19856. "type": "integer"
  19857. },
  19858. "provinceid": {
  19859. "description": "省",
  19860. "type": "integer"
  19861. },
  19862. "remark": {
  19863. "description": "审核备注",
  19864. "type": "string"
  19865. },
  19866. "videourl": {
  19867. "description": "视频地址",
  19868. "type": "string"
  19869. },
  19870. "warehousecode": {
  19871. "description": "仓库代码",
  19872. "type": "string"
  19873. },
  19874. "warehousename": {
  19875. "description": "仓库名称",
  19876. "type": "string"
  19877. },
  19878. "warehousestatus": {
  19879. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  19880. "type": "integer"
  19881. },
  19882. "warehousetype": {
  19883. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  19884. "type": "integer"
  19885. }
  19886. }
  19887. },
  19888. "ermcp.QueryErmcpTradePositionRsp": {
  19889. "type": "object",
  19890. "properties": {
  19891. "agreeunit": {
  19892. "description": "合约单位",
  19893. "type": "number"
  19894. },
  19895. "buyorsell": {
  19896. "description": "方向 - 0:买 1:卖",
  19897. "type": "integer"
  19898. },
  19899. "curpositionqty": {
  19900. "description": "持仓(总仓数量, 期末头寸)",
  19901. "type": "integer"
  19902. },
  19903. "curtdposition": {
  19904. "description": "今仓数量(期末今日头寸)",
  19905. "type": "integer"
  19906. },
  19907. "curtdpositionenabled": {
  19908. "description": "今仓可用",
  19909. "type": "integer"
  19910. },
  19911. "decimalplace": {
  19912. "description": "报价小数位",
  19913. "type": "integer"
  19914. },
  19915. "enableqty": {
  19916. "description": "可用(总仓可用)",
  19917. "type": "integer"
  19918. },
  19919. "exexchangename": {
  19920. "description": "外部交易所名称",
  19921. "type": "string"
  19922. },
  19923. "exexehangecode": {
  19924. "description": "外部交易所代码",
  19925. "type": "string"
  19926. },
  19927. "exexehangeid": {
  19928. "description": "外部交易所id",
  19929. "type": "integer"
  19930. },
  19931. "goodscode": {
  19932. "description": "商品代码(内部)",
  19933. "type": "string"
  19934. },
  19935. "goodsid": {
  19936. "description": "商品ID(自增ID SEQ_GOODS)",
  19937. "type": "integer"
  19938. },
  19939. "goodsname": {
  19940. "description": "商品名称",
  19941. "type": "string"
  19942. },
  19943. "last": {
  19944. "description": "现价",
  19945. "type": "number"
  19946. },
  19947. "marketid": {
  19948. "description": "所属市场ID",
  19949. "type": "integer"
  19950. },
  19951. "openaverageprice": {
  19952. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  19953. "type": "number"
  19954. },
  19955. "opencost": {
  19956. "description": "开仓成本",
  19957. "type": "number"
  19958. },
  19959. "openpl": {
  19960. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19961. "type": "number"
  19962. },
  19963. "outgoodscode": {
  19964. "description": "商品代码(外部)",
  19965. "type": "string"
  19966. },
  19967. "positionaverageprice": {
  19968. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  19969. "type": "number"
  19970. },
  19971. "positioncost": {
  19972. "description": "持仓成本",
  19973. "type": "number"
  19974. },
  19975. "positionpl": {
  19976. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  19977. "type": "number"
  19978. },
  19979. "positionplrate": {
  19980. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  19981. "type": "number"
  19982. },
  19983. "usedmargin": {
  19984. "description": "占用保证金",
  19985. "type": "number"
  19986. }
  19987. }
  19988. },
  19989. "ermcp.RealtimeExposurePositionRsp": {
  19990. "type": "object",
  19991. "properties": {
  19992. "agreeunit": {
  19993. "description": "合约单位",
  19994. "type": "string"
  19995. },
  19996. "areauserid": {
  19997. "description": "所属机构id",
  19998. "type": "integer"
  19999. },
  20000. "convertratio": {
  20001. "description": "期货品种系数(折算系数)",
  20002. "type": "number"
  20003. },
  20004. "curhedgeqty": {
  20005. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  20006. "type": "number"
  20007. },
  20008. "curqty": {
  20009. "description": "当前持仓",
  20010. "type": "integer"
  20011. },
  20012. "diffhedgeqty": {
  20013. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20014. "type": "number"
  20015. },
  20016. "diffqty": {
  20017. "description": "持仓变动量=当前持仓-昨日持仓",
  20018. "type": "integer"
  20019. },
  20020. "goodscode": {
  20021. "description": "商品代码",
  20022. "type": "string"
  20023. },
  20024. "goodsid": {
  20025. "description": "商品id",
  20026. "type": "integer"
  20027. },
  20028. "goodsname": {
  20029. "description": "商品名称",
  20030. "type": "string"
  20031. },
  20032. "hedgeaccountcode": {
  20033. "description": "对冲账号(只有外部账号才有值)",
  20034. "type": "string"
  20035. },
  20036. "middlegoodscode": {
  20037. "description": "套保商品代码",
  20038. "type": "string"
  20039. },
  20040. "middlegoodsid": {
  20041. "description": "套保商品id",
  20042. "type": "integer"
  20043. },
  20044. "middlegoodsname": {
  20045. "description": "套保商品名称",
  20046. "type": "string"
  20047. },
  20048. "ydqty": {
  20049. "description": "昨日持仓",
  20050. "type": "integer"
  20051. }
  20052. }
  20053. },
  20054. "ermcp.RealtimeExposureRsp": {
  20055. "type": "object",
  20056. "properties": {
  20057. "AreaUserID": {
  20058. "description": "所属机构",
  20059. "type": "integer"
  20060. },
  20061. "BuyFutureQty": {
  20062. "description": "买入期货数量",
  20063. "type": "number"
  20064. },
  20065. "BuyPlanQty": {
  20066. "description": "采购计划数量",
  20067. "type": "number"
  20068. },
  20069. "BuyPricedQty": {
  20070. "description": "采购合同已定价数量",
  20071. "type": "number"
  20072. },
  20073. "MiddleGoodsCode": {
  20074. "description": "套保品种代码",
  20075. "type": "string"
  20076. },
  20077. "MiddleGoodsHedgeRatio": {
  20078. "description": "套保比例",
  20079. "type": "number"
  20080. },
  20081. "MiddleGoodsID": {
  20082. "description": "套保品种",
  20083. "type": "integer"
  20084. },
  20085. "MiddleGoodsName": {
  20086. "description": "套保品种名称",
  20087. "type": "string"
  20088. },
  20089. "NeedHedgeExposoure": {
  20090. "description": "应套保敞口(套保敞口)",
  20091. "type": "number"
  20092. },
  20093. "NeedHedgeRatio": {
  20094. "description": "应套保敞口比例",
  20095. "type": "number"
  20096. },
  20097. "OriBuyFutureQty": {
  20098. "description": "期初买入期货数量",
  20099. "type": "number"
  20100. },
  20101. "OriBuyPlanQty": {
  20102. "description": "期初采购计划数量",
  20103. "type": "number"
  20104. },
  20105. "OriBuyPricedQty": {
  20106. "description": "期初采购合同已定价数量",
  20107. "type": "number"
  20108. },
  20109. "OriSellFutureQty": {
  20110. "description": "期初卖出期货数量",
  20111. "type": "number"
  20112. },
  20113. "OriSellPlanQty": {
  20114. "description": "期初销售计划数量",
  20115. "type": "number"
  20116. },
  20117. "OriSellPricedQty": {
  20118. "description": "期初销售合同已定价数量",
  20119. "type": "number"
  20120. },
  20121. "OriTotalSpotQty": {
  20122. "description": "期初现货总量",
  20123. "type": "number"
  20124. },
  20125. "SellFutureQty": {
  20126. "description": "卖出期货数量",
  20127. "type": "number"
  20128. },
  20129. "SellPlanQty": {
  20130. "description": "销售计划数量",
  20131. "type": "number"
  20132. },
  20133. "SellPricedQty": {
  20134. "description": "销售合同已定价数量",
  20135. "type": "number"
  20136. },
  20137. "TotalExposure": {
  20138. "description": "总敞口 平安:净敞口",
  20139. "type": "number"
  20140. },
  20141. "TotalFutureQty": {
  20142. "description": "期货总量 平安:保值净持仓量",
  20143. "type": "number"
  20144. },
  20145. "TotalHedgeRatio": {
  20146. "description": "敞口比例",
  20147. "type": "number"
  20148. },
  20149. "TotalNeedHedgeQty": {
  20150. "description": "应套保总量(现货应套保总量)",
  20151. "type": "number"
  20152. },
  20153. "TotalSpotQty": {
  20154. "description": "现货总量 平安:采销定价净值",
  20155. "type": "number"
  20156. },
  20157. "arbitrageqty": {
  20158. "description": "套利量",
  20159. "type": "number"
  20160. },
  20161. "diffArbitrageQty": {
  20162. "description": "期初均价",
  20163. "type": "number"
  20164. },
  20165. "diffExposoureQty": {
  20166. "description": "期初均价",
  20167. "type": "number"
  20168. },
  20169. "diffFutuQty": {
  20170. "description": "期初均价",
  20171. "type": "number"
  20172. },
  20173. "diffHedgeQty": {
  20174. "description": "期初均价",
  20175. "type": "number"
  20176. },
  20177. "diffQty": {
  20178. "description": "期初均价",
  20179. "type": "number"
  20180. },
  20181. "diffSpotHedgeQty": {
  20182. "description": "期初均价",
  20183. "type": "number"
  20184. },
  20185. "diffSpotQty": {
  20186. "description": "期初均价",
  20187. "type": "number"
  20188. },
  20189. "enumdicname": {
  20190. "description": "单位名称",
  20191. "type": "string"
  20192. },
  20193. "hedgeqty": {
  20194. "description": "套保量",
  20195. "type": "number"
  20196. },
  20197. "needarbitrageqty": {
  20198. "description": "应套利量",
  20199. "type": "number"
  20200. },
  20201. "needarbitrageratio": {
  20202. "description": "套利比例",
  20203. "type": "number"
  20204. },
  20205. "needhedgeqty": {
  20206. "description": "应套保量",
  20207. "type": "number"
  20208. },
  20209. "oriarbitrageqty": {
  20210. "description": "期初套利量",
  20211. "type": "number"
  20212. },
  20213. "orihedgeqty": {
  20214. "description": "期初套保量",
  20215. "type": "number"
  20216. },
  20217. "orineedhedgeexposoure": {
  20218. "description": "期初套保敞口",
  20219. "type": "number"
  20220. },
  20221. "oritotalexposure": {
  20222. "description": "期初总敞口",
  20223. "type": "number"
  20224. },
  20225. "oritotalfutureqty": {
  20226. "description": "期初期货总量",
  20227. "type": "number"
  20228. },
  20229. "oritotalneedhedgeqty": {
  20230. "description": "期初现货应套保量",
  20231. "type": "number"
  20232. }
  20233. }
  20234. },
  20235. "erms2.QueryArbitrageStrategyRsp": {
  20236. "type": "object",
  20237. "required": [
  20238. "asapplyid"
  20239. ],
  20240. "properties": {
  20241. "applybasis": {
  20242. "description": "申请基差",
  20243. "type": "number"
  20244. },
  20245. "asapplyid": {
  20246. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  20247. "type": "string"
  20248. },
  20249. "asname": {
  20250. "description": "策略名称",
  20251. "type": "string"
  20252. },
  20253. "asno": {
  20254. "description": "策略编号",
  20255. "type": "string"
  20256. },
  20257. "basischangepl": {
  20258. "description": "基差变动损益[结算更新]",
  20259. "type": "number"
  20260. },
  20261. "biztype": {
  20262. "description": "业务类型 - 1:正向套利 -1:反向套利",
  20263. "type": "integer"
  20264. },
  20265. "closetradedate": {
  20266. "description": "完结交易日(yyyyMMdd)",
  20267. "type": "string"
  20268. },
  20269. "curbasis": {
  20270. "description": "当前基差[结算更新]",
  20271. "type": "number"
  20272. },
  20273. "deliverygoodsid": {
  20274. "description": "现货品种ID",
  20275. "type": "integer"
  20276. },
  20277. "futureavgprice": {
  20278. "description": "期货建仓均价",
  20279. "type": "number"
  20280. },
  20281. "futurecloseamount": {
  20282. "description": "期货平仓金额",
  20283. "type": "number"
  20284. },
  20285. "futurecloseqty": {
  20286. "description": "期货平仓数量",
  20287. "type": "number"
  20288. },
  20289. "futureopenamount": {
  20290. "description": "期货开仓金额",
  20291. "type": "number"
  20292. },
  20293. "futureopenqty": {
  20294. "description": "期货开仓数量",
  20295. "type": "number"
  20296. },
  20297. "futurepl": {
  20298. "description": "期货总盈亏[结算更新]",
  20299. "type": "number"
  20300. },
  20301. "futureqty": {
  20302. "description": "期货持仓数量",
  20303. "type": "number"
  20304. },
  20305. "futurequote": {
  20306. "description": "期货额度",
  20307. "type": "number"
  20308. },
  20309. "goodsgroupid": {
  20310. "description": "期货品种ID",
  20311. "type": "integer"
  20312. },
  20313. "marketid": {
  20314. "description": "市场ID",
  20315. "type": "integer"
  20316. },
  20317. "netexposure": {
  20318. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  20319. "type": "number"
  20320. },
  20321. "netexposurepl": {
  20322. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  20323. "type": "number"
  20324. },
  20325. "netexposurerate": {
  20326. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  20327. "type": "number"
  20328. },
  20329. "openbasis": {
  20330. "description": "建仓基差",
  20331. "type": "number"
  20332. },
  20333. "pricedspotqty": {
  20334. "description": "已定价现货数量",
  20335. "type": "number"
  20336. },
  20337. "pricedspotqtynotax": {
  20338. "description": "已定价现货不含税数量",
  20339. "type": "number"
  20340. },
  20341. "remark": {
  20342. "description": "备注",
  20343. "type": "string"
  20344. },
  20345. "spotavgprice": {
  20346. "description": "现货均价",
  20347. "type": "number"
  20348. },
  20349. "spotbuyamount": {
  20350. "description": "现货采购金额",
  20351. "type": "number"
  20352. },
  20353. "spotbuyqty": {
  20354. "description": "现货采购数量",
  20355. "type": "number"
  20356. },
  20357. "spotpl": {
  20358. "description": "现货总盈亏[结算更新]",
  20359. "type": "number"
  20360. },
  20361. "spotquota": {
  20362. "description": "现货额度",
  20363. "type": "number"
  20364. },
  20365. "spotsellamount": {
  20366. "description": "现货销售金额",
  20367. "type": "number"
  20368. },
  20369. "spotsellqty": {
  20370. "description": "现货销售数量",
  20371. "type": "number"
  20372. },
  20373. "spotusedquota": {
  20374. "description": "现货占用资金",
  20375. "type": "number"
  20376. },
  20377. "strategystatus": {
  20378. "description": "策略状态 - 0:未结束 1:已结束",
  20379. "type": "integer"
  20380. },
  20381. "totalpl": {
  20382. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  20383. "type": "number"
  20384. },
  20385. "tradedate": {
  20386. "description": "交易日(yyyyMMdd)",
  20387. "type": "string"
  20388. },
  20389. "updatetime": {
  20390. "description": "更新时间",
  20391. "type": "string"
  20392. },
  20393. "usedquota": {
  20394. "description": "已占用资金",
  20395. "type": "number"
  20396. },
  20397. "userid": {
  20398. "description": "所属机构",
  20399. "type": "integer"
  20400. }
  20401. }
  20402. },
  20403. "erms2.QueryInnerTradeDetailRsp": {
  20404. "type": "object",
  20405. "required": [
  20406. "asapplyid",
  20407. "buyorsell",
  20408. "goodscode",
  20409. "goodsgroupid",
  20410. "goodsgroupname",
  20411. "goodsname",
  20412. "tradeid"
  20413. ],
  20414. "properties": {
  20415. "accountid": {
  20416. "description": "账号ID",
  20417. "type": "integer"
  20418. },
  20419. "agreeunit": {
  20420. "description": "合约单位",
  20421. "type": "number"
  20422. },
  20423. "asapplyid": {
  20424. "description": "策略申请ID",
  20425. "type": "integer"
  20426. },
  20427. "asname": {
  20428. "description": "策略名称",
  20429. "type": "string"
  20430. },
  20431. "asno": {
  20432. "description": "策略编号",
  20433. "type": "string"
  20434. },
  20435. "buyorsell": {
  20436. "description": "方向 - 0:买 1:卖",
  20437. "type": "integer"
  20438. },
  20439. "channelbuildtype": {
  20440. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  20441. "type": "integer"
  20442. },
  20443. "closetype": {
  20444. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  20445. "type": "integer"
  20446. },
  20447. "decimalplace": {
  20448. "description": "报价小数位",
  20449. "type": "integer"
  20450. },
  20451. "detailtype": {
  20452. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  20453. "type": "integer"
  20454. },
  20455. "exexchangecode": {
  20456. "description": "外部交易所代码",
  20457. "type": "string"
  20458. },
  20459. "exexchangename": {
  20460. "description": "外部交易所名称",
  20461. "type": "string"
  20462. },
  20463. "goodscode": {
  20464. "description": "商品代码(合约)",
  20465. "type": "string"
  20466. },
  20467. "goodsgroupid": {
  20468. "description": "商品组ID(品种ID)",
  20469. "type": "integer"
  20470. },
  20471. "goodsgroupname": {
  20472. "description": "商品组名称(品种)",
  20473. "type": "string"
  20474. },
  20475. "goodsid": {
  20476. "description": "商品ID",
  20477. "type": "integer"
  20478. },
  20479. "goodsname": {
  20480. "description": "商品名称(合约)",
  20481. "type": "string"
  20482. },
  20483. "goodunit": {
  20484. "description": "报价单位",
  20485. "type": "string"
  20486. },
  20487. "marketid": {
  20488. "description": "市场ID",
  20489. "type": "integer"
  20490. },
  20491. "orderid": {
  20492. "description": "委托单号",
  20493. "type": "string"
  20494. },
  20495. "outgoodscode": {
  20496. "description": "商品代码(外部)",
  20497. "type": "string"
  20498. },
  20499. "relatedouttradeid": {
  20500. "description": "关联外部成交单ID",
  20501. "type": "string"
  20502. },
  20503. "remark": {
  20504. "description": "备注",
  20505. "type": "string"
  20506. },
  20507. "spotcontractid": {
  20508. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  20509. "type": "integer"
  20510. },
  20511. "spotcontractno": {
  20512. "description": "现货合同编号",
  20513. "type": "string"
  20514. },
  20515. "tradeid": {
  20516. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  20517. "type": "string"
  20518. },
  20519. "tradeprice": {
  20520. "description": "成交价格",
  20521. "type": "number"
  20522. },
  20523. "tradeqty": {
  20524. "description": "成交数量",
  20525. "type": "integer"
  20526. },
  20527. "tradetime": {
  20528. "description": "成交时间",
  20529. "type": "string"
  20530. },
  20531. "updatetime": {
  20532. "description": "更新时间",
  20533. "type": "string"
  20534. }
  20535. }
  20536. },
  20537. "erms2.QuerySpotContractRsp": {
  20538. "type": "object",
  20539. "required": [
  20540. "spotcontractid"
  20541. ],
  20542. "properties": {
  20543. "accountid": {
  20544. "description": "资金账户ID",
  20545. "type": "integer"
  20546. },
  20547. "areauserid": {
  20548. "description": "所属机构",
  20549. "type": "integer"
  20550. },
  20551. "closedate": {
  20552. "description": "终止日期",
  20553. "type": "string"
  20554. },
  20555. "closeremark": {
  20556. "description": "结束备注",
  20557. "type": "string"
  20558. },
  20559. "closetradedate": {
  20560. "description": "完结交易日(yyyyMMdd)",
  20561. "type": "string"
  20562. },
  20563. "closetype": {
  20564. "description": "终止类型 - 1:违约 2:提前终止",
  20565. "type": "integer"
  20566. },
  20567. "contractamount": {
  20568. "description": "合同金额",
  20569. "type": "number"
  20570. },
  20571. "contractattachment": {
  20572. "description": "合同附件",
  20573. "type": "string"
  20574. },
  20575. "contractno": {
  20576. "description": "现货合同编号",
  20577. "type": "string"
  20578. },
  20579. "contractqty": {
  20580. "description": "合同数量(数值) (用于计算)",
  20581. "type": "number"
  20582. },
  20583. "contractqtychar": {
  20584. "description": "合同数量\\已订价数量 (用于显示)",
  20585. "type": "string"
  20586. },
  20587. "contractstatus": {
  20588. "description": "合同状态 - 0:未结束 1:已结束",
  20589. "type": "integer"
  20590. },
  20591. "contracttype": {
  20592. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  20593. "type": "integer"
  20594. },
  20595. "customeraccountid": {
  20596. "description": "客户资金账户ID",
  20597. "type": "integer"
  20598. },
  20599. "customeruserid": {
  20600. "description": "客户ID",
  20601. "type": "integer"
  20602. },
  20603. "deliverygoodsdesc": {
  20604. "description": "品种说明",
  20605. "type": "string"
  20606. },
  20607. "deliverygoodsid": {
  20608. "description": "现货品种ID",
  20609. "type": "integer"
  20610. },
  20611. "handlestatus": {
  20612. "description": "处理状态",
  20613. "type": "integer"
  20614. },
  20615. "invoiceatt": {
  20616. "description": "发票附件",
  20617. "type": "string"
  20618. },
  20619. "invoicedatetime": {
  20620. "description": "开收票更新时间",
  20621. "type": "string"
  20622. },
  20623. "invoiceopentime": {
  20624. "description": "开票时间",
  20625. "type": "string"
  20626. },
  20627. "invoiceremark": {
  20628. "description": "发票备注",
  20629. "type": "string"
  20630. },
  20631. "invoicestatus": {
  20632. "description": "开收票状态 - 0:未开票 1:已开票",
  20633. "type": "integer"
  20634. },
  20635. "lastdate": {
  20636. "description": "交货时间",
  20637. "type": "string"
  20638. },
  20639. "marketid": {
  20640. "description": "市场ID",
  20641. "type": "integer"
  20642. },
  20643. "paydatetime": {
  20644. "description": "收付款更新时间",
  20645. "type": "string"
  20646. },
  20647. "payremark": {
  20648. "description": "收付款备注",
  20649. "type": "string"
  20650. },
  20651. "paystatus": {
  20652. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  20653. "type": "integer"
  20654. },
  20655. "positionqty": {
  20656. "description": "头寸数量 - 合同数量去小数部分",
  20657. "type": "integer"
  20658. },
  20659. "producttype": {
  20660. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  20661. "type": "integer"
  20662. },
  20663. "relatedqty": {
  20664. "description": "已关联数量",
  20665. "type": "number"
  20666. },
  20667. "relatedstatus": {
  20668. "description": "关联完结状态 - 0:未结束 1:已结束",
  20669. "type": "integer"
  20670. },
  20671. "remark": {
  20672. "description": "备注",
  20673. "type": "string"
  20674. },
  20675. "signdate": {
  20676. "description": "签订日期",
  20677. "type": "string"
  20678. },
  20679. "spotcontractid": {
  20680. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  20681. "type": "string"
  20682. },
  20683. "spotdatetime": {
  20684. "description": "收发货更新时间",
  20685. "type": "string"
  20686. },
  20687. "spotprice": {
  20688. "description": "价格",
  20689. "type": "number"
  20690. },
  20691. "spotremark": {
  20692. "description": "收发货备注",
  20693. "type": "string"
  20694. },
  20695. "spotstatus": {
  20696. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  20697. "type": "integer"
  20698. },
  20699. "tradedate": {
  20700. "description": "交易日(yyyyMMdd)",
  20701. "type": "string"
  20702. },
  20703. "userid": {
  20704. "description": "业务员用户ID",
  20705. "type": "integer"
  20706. },
  20707. "warehouseid": {
  20708. "description": "仓库ID",
  20709. "type": "integer"
  20710. },
  20711. "wrfactortypeid": {
  20712. "description": "仓单要素类型ID",
  20713. "type": "integer"
  20714. },
  20715. "wrstandardid": {
  20716. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  20717. "type": "integer"
  20718. }
  20719. }
  20720. },
  20721. "erms3.AddErms2ASApplyReq": {
  20722. "type": "object",
  20723. "required": [
  20724. "asapplyid"
  20725. ],
  20726. "properties": {
  20727. "applybasis": {
  20728. "description": "申请基差",
  20729. "type": "number"
  20730. },
  20731. "applystatus": {
  20732. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20733. "type": "integer"
  20734. },
  20735. "asapplyid": {
  20736. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  20737. "type": "integer"
  20738. },
  20739. "asname": {
  20740. "description": "策略名称",
  20741. "type": "string"
  20742. },
  20743. "asno": {
  20744. "description": "策略编号",
  20745. "type": "string"
  20746. },
  20747. "auditid": {
  20748. "description": "审核人",
  20749. "type": "integer"
  20750. },
  20751. "auditremark": {
  20752. "description": "审核备注",
  20753. "type": "string"
  20754. },
  20755. "audittime": {
  20756. "description": "审核时间",
  20757. "type": "string"
  20758. },
  20759. "biztype": {
  20760. "description": "业务类型 - 1:正向套利 2:反向套利",
  20761. "type": "integer"
  20762. },
  20763. "createtime": {
  20764. "description": "创建时间",
  20765. "type": "string"
  20766. },
  20767. "creatorid": {
  20768. "description": "创建人",
  20769. "type": "integer"
  20770. },
  20771. "deliverygoodsid": {
  20772. "description": "现货品种ID",
  20773. "type": "integer"
  20774. },
  20775. "futurequote": {
  20776. "description": "期货额度",
  20777. "type": "number"
  20778. },
  20779. "goodsgroupid": {
  20780. "description": "期货品种ID",
  20781. "type": "integer"
  20782. },
  20783. "marketid": {
  20784. "description": "市场ID",
  20785. "type": "integer"
  20786. },
  20787. "remark": {
  20788. "description": "备注",
  20789. "type": "string"
  20790. },
  20791. "spotquota": {
  20792. "description": "现货额度",
  20793. "type": "number"
  20794. },
  20795. "tradedate": {
  20796. "description": "交易日(yyyyMMdd)",
  20797. "type": "string"
  20798. },
  20799. "userid": {
  20800. "description": "所属机构",
  20801. "type": "integer"
  20802. }
  20803. }
  20804. },
  20805. "erms3.AddErms2SpotTradeApplyReq": {
  20806. "type": "object",
  20807. "required": [
  20808. "spottradeid"
  20809. ],
  20810. "properties": {
  20811. "applyjsondetail": {
  20812. "description": "申请明细(JSON)",
  20813. "type": "string"
  20814. },
  20815. "applystatus": {
  20816. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  20817. "type": "integer"
  20818. },
  20819. "areauserid": {
  20820. "description": "所属机构",
  20821. "type": "integer"
  20822. },
  20823. "auditid": {
  20824. "description": "审核人",
  20825. "type": "integer"
  20826. },
  20827. "auditremark": {
  20828. "description": "审核备注",
  20829. "type": "string"
  20830. },
  20831. "audittime": {
  20832. "description": "审核时间",
  20833. "type": "string"
  20834. },
  20835. "createtime": {
  20836. "description": "创建时间",
  20837. "type": "string"
  20838. },
  20839. "creatorid": {
  20840. "description": "创建人",
  20841. "type": "integer"
  20842. },
  20843. "deliverygoodsid": {
  20844. "description": "现货品种ID",
  20845. "type": "integer"
  20846. },
  20847. "futureaccountid": {
  20848. "description": "期货资金账户",
  20849. "type": "integer"
  20850. },
  20851. "goodsgroupid": {
  20852. "description": "期货品种",
  20853. "type": "integer"
  20854. },
  20855. "marketid": {
  20856. "description": "市场ID",
  20857. "type": "integer"
  20858. },
  20859. "remark": {
  20860. "description": "备注",
  20861. "type": "string"
  20862. },
  20863. "spotaccountid": {
  20864. "description": "现货资金账户",
  20865. "type": "integer"
  20866. },
  20867. "spottradeid": {
  20868. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  20869. "type": "integer"
  20870. },
  20871. "spottradename": {
  20872. "description": "业务名称",
  20873. "type": "string"
  20874. },
  20875. "spottradeno": {
  20876. "description": "业务编号",
  20877. "type": "string"
  20878. },
  20879. "tradedate": {
  20880. "description": "交易日(yyyyMMdd)",
  20881. "type": "string"
  20882. },
  20883. "wrstandardid": {
  20884. "description": "仓单标准ID",
  20885. "type": "integer"
  20886. }
  20887. }
  20888. },
  20889. "erms3.AddSpotContractApplyReq": {
  20890. "type": "object",
  20891. "required": [
  20892. "accountid",
  20893. "areauserid",
  20894. "contractno",
  20895. "contracttype",
  20896. "customeraccountid",
  20897. "customeruserid",
  20898. "details",
  20899. "orimargin",
  20900. "signdate"
  20901. ],
  20902. "properties": {
  20903. "accountid": {
  20904. "description": "资金账户ID",
  20905. "type": "integer"
  20906. },
  20907. "areauserid": {
  20908. "description": "所属机构",
  20909. "type": "integer"
  20910. },
  20911. "contractattachment": {
  20912. "description": "合同附件",
  20913. "type": "string"
  20914. },
  20915. "contractno": {
  20916. "description": "现货合同编号",
  20917. "type": "string"
  20918. },
  20919. "contracttype": {
  20920. "description": "现货合同类型 - 1:采购 -1:销售",
  20921. "type": "integer"
  20922. },
  20923. "creatorid": {
  20924. "description": "申请人",
  20925. "type": "integer"
  20926. },
  20927. "customeraccountid": {
  20928. "description": "客户资金账户ID",
  20929. "type": "integer"
  20930. },
  20931. "customeruserid": {
  20932. "description": "客户ID",
  20933. "type": "integer"
  20934. },
  20935. "details": {
  20936. "description": "明细",
  20937. "type": "array",
  20938. "items": {
  20939. "$ref": "#/definitions/erms3.SoptContractDetail"
  20940. }
  20941. },
  20942. "orimargin": {
  20943. "description": "初始保证金",
  20944. "type": "number"
  20945. },
  20946. "remark": {
  20947. "description": "备注",
  20948. "type": "string"
  20949. },
  20950. "signdate": {
  20951. "description": "签订日期",
  20952. "type": "string"
  20953. }
  20954. }
  20955. },
  20956. "erms3.AddSpotContractApplyRsp": {
  20957. "type": "object",
  20958. "required": [
  20959. "contractno"
  20960. ],
  20961. "properties": {
  20962. "contractno": {
  20963. "description": "现货合同编号",
  20964. "type": "string"
  20965. },
  20966. "spotcontractid": {
  20967. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  20968. "type": "integer"
  20969. }
  20970. }
  20971. },
  20972. "erms3.AddUserInfoApplyReq": {
  20973. "type": "object",
  20974. "required": [
  20975. "userid"
  20976. ],
  20977. "properties": {
  20978. "accountid": {
  20979. "description": "交易系统帐号Id (加密存储)",
  20980. "type": "integer"
  20981. },
  20982. "areacode": {
  20983. "description": "机构代码",
  20984. "type": "string"
  20985. },
  20986. "areaid": {
  20987. "description": "机构Id",
  20988. "type": "integer"
  20989. },
  20990. "attachment1": {
  20991. "description": "附件1",
  20992. "type": "string"
  20993. },
  20994. "attachment2": {
  20995. "description": "附件2",
  20996. "type": "string"
  20997. },
  20998. "attachment3": {
  20999. "description": "附件3",
  21000. "type": "string"
  21001. },
  21002. "attachment4": {
  21003. "description": "附件4",
  21004. "type": "string"
  21005. },
  21006. "attachment5": {
  21007. "description": "附件5",
  21008. "type": "string"
  21009. },
  21010. "auditedby": {
  21011. "description": "审核人",
  21012. "type": "string"
  21013. },
  21014. "auditime": {
  21015. "description": "审核时间",
  21016. "type": "string"
  21017. },
  21018. "auditsrc": {
  21019. "description": "审核来源 - 1:管理端 2:终端",
  21020. "type": "integer"
  21021. },
  21022. "bankaccount": {
  21023. "description": "银行帐号 (加密存储)",
  21024. "type": "string"
  21025. },
  21026. "bankaccountname": {
  21027. "description": "收款人名称",
  21028. "type": "string"
  21029. },
  21030. "bankcardbackphotourl": {
  21031. "description": "银行卡背面照地址",
  21032. "type": "string"
  21033. },
  21034. "bankcardfrontphotourl": {
  21035. "description": "银行卡正面照地址",
  21036. "type": "string"
  21037. },
  21038. "bankid": {
  21039. "description": "银行编码",
  21040. "type": "string"
  21041. },
  21042. "bankname": {
  21043. "description": "银行名称",
  21044. "type": "string"
  21045. },
  21046. "bankpictureurl": {
  21047. "description": "银行卡正面地址",
  21048. "type": "string"
  21049. },
  21050. "biznature": {
  21051. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21052. "type": "integer"
  21053. },
  21054. "bizscope": {
  21055. "description": "企业经营范围(企业)",
  21056. "type": "string"
  21057. },
  21058. "biztype": {
  21059. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21060. "type": "integer"
  21061. },
  21062. "brokerid": {
  21063. "description": "经纪人ID(加密存储)",
  21064. "type": "string"
  21065. },
  21066. "cardaddress": {
  21067. "description": "证件地址 (加密存储)",
  21068. "type": "string"
  21069. },
  21070. "cardbackphotourl": {
  21071. "description": "背面证件照地址",
  21072. "type": "string"
  21073. },
  21074. "cardfrontphotourl": {
  21075. "description": "正面证件照地址",
  21076. "type": "string"
  21077. },
  21078. "cardnum": {
  21079. "description": "证件号码 (加密存储)",
  21080. "type": "string"
  21081. },
  21082. "cardtype": {
  21083. "description": "证件类型",
  21084. "type": "integer"
  21085. },
  21086. "cityid": {
  21087. "description": "市",
  21088. "type": "integer"
  21089. },
  21090. "company": {
  21091. "description": "公司(个人)",
  21092. "type": "string"
  21093. },
  21094. "contactcardbackphotourl": {
  21095. "description": "联系人证件背面图片地址",
  21096. "type": "string"
  21097. },
  21098. "contactcardfrontphotourl": {
  21099. "description": "联系人证件正面图片地址",
  21100. "type": "string"
  21101. },
  21102. "contactname": {
  21103. "description": "联系人",
  21104. "type": "string"
  21105. },
  21106. "countryid": {
  21107. "description": "国家",
  21108. "type": "integer"
  21109. },
  21110. "createtime": {
  21111. "description": "开户申请时间",
  21112. "type": "string"
  21113. },
  21114. "cusbankid": {
  21115. "description": "签约类型",
  21116. "type": "string"
  21117. },
  21118. "cusbankname": {
  21119. "description": "签约类型名称",
  21120. "type": "string"
  21121. },
  21122. "customername": {
  21123. "description": "客户名称(企业名称)",
  21124. "type": "string"
  21125. },
  21126. "districtid": {
  21127. "description": "地区",
  21128. "type": "integer"
  21129. },
  21130. "email": {
  21131. "description": "Email地址(加密存储)",
  21132. "type": "string"
  21133. },
  21134. "halfbodyphotourl": {
  21135. "description": "半身照地址",
  21136. "type": "string"
  21137. },
  21138. "headurl": {
  21139. "description": "头像地址",
  21140. "type": "string"
  21141. },
  21142. "ipaddress": {
  21143. "description": "IP地址",
  21144. "type": "string"
  21145. },
  21146. "isvalidate": {
  21147. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21148. "type": "string"
  21149. },
  21150. "legalcardbackphotourl": {
  21151. "description": "法人身份证背面照地址",
  21152. "type": "string"
  21153. },
  21154. "legalcardfrontphotourl": {
  21155. "description": "法人身份证正面照地址",
  21156. "type": "string"
  21157. },
  21158. "legalpersonname": {
  21159. "description": "法人姓名(企业)",
  21160. "type": "string"
  21161. },
  21162. "logincode": {
  21163. "description": "登录帐号 (加密存储)",
  21164. "type": "string"
  21165. },
  21166. "memberareaid": {
  21167. "description": "所属会员ID",
  21168. "type": "integer"
  21169. },
  21170. "mobile2": {
  21171. "description": "手机号码[明文-尚志]",
  21172. "type": "string"
  21173. },
  21174. "mobilephone": {
  21175. "description": "手机号码 (加密存储)",
  21176. "type": "string"
  21177. },
  21178. "modifiedby": {
  21179. "description": "修改人帐号",
  21180. "type": "integer"
  21181. },
  21182. "modifiedtime": {
  21183. "description": "修改时间",
  21184. "type": "string"
  21185. },
  21186. "nickname": {
  21187. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21188. "type": "string"
  21189. },
  21190. "openmode": {
  21191. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21192. "type": "integer"
  21193. },
  21194. "otherurl": {
  21195. "description": "其它图片地址[使用分号分隔]",
  21196. "type": "string"
  21197. },
  21198. "postalcode": {
  21199. "description": "邮政编码",
  21200. "type": "string"
  21201. },
  21202. "provinceid": {
  21203. "description": "省",
  21204. "type": "integer"
  21205. },
  21206. "proxystatementurl": {
  21207. "description": "授权委托书",
  21208. "type": "string"
  21209. },
  21210. "qq": {
  21211. "description": "QQ(加密存储",
  21212. "type": "string"
  21213. },
  21214. "referral": {
  21215. "description": "推荐人编码",
  21216. "type": "string"
  21217. },
  21218. "remark": {
  21219. "description": "备注",
  21220. "type": "string"
  21221. },
  21222. "removebeforestatus": {
  21223. "description": "REMOVEBEFORESTATUS",
  21224. "type": "integer"
  21225. },
  21226. "sex": {
  21227. "description": "性别 - 0:女 1:男",
  21228. "type": "integer"
  21229. },
  21230. "signedstatus": {
  21231. "description": "账户一号签签约状态",
  21232. "type": "integer"
  21233. },
  21234. "signpdfurl": {
  21235. "description": "签约pdf文件",
  21236. "type": "string"
  21237. },
  21238. "subbranch": {
  21239. "description": "开户支行",
  21240. "type": "string"
  21241. },
  21242. "taxpayernum": {
  21243. "description": "纳税人识别号",
  21244. "type": "string"
  21245. },
  21246. "telphone": {
  21247. "description": "联系电话(加密存储)",
  21248. "type": "string"
  21249. },
  21250. "userid": {
  21251. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21252. "type": "integer"
  21253. },
  21254. "userinfotype": {
  21255. "description": "用户信息类型 - 1:个人 2:企业",
  21256. "type": "integer"
  21257. },
  21258. "username": {
  21259. "description": "用户姓名",
  21260. "type": "string"
  21261. },
  21262. "userstate": {
  21263. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21264. "type": "integer"
  21265. },
  21266. "usertype": {
  21267. "description": "用户类型 - 1:投资者 2:机构",
  21268. "type": "integer"
  21269. },
  21270. "videourl": {
  21271. "description": "视频地址",
  21272. "type": "string"
  21273. },
  21274. "wechat": {
  21275. "description": "微信号 (加密存储)",
  21276. "type": "string"
  21277. }
  21278. }
  21279. },
  21280. "erms3.CustomerInfo": {
  21281. "type": "object",
  21282. "required": [
  21283. "userid"
  21284. ],
  21285. "properties": {
  21286. "accountids": {
  21287. "description": "资金账户ID列表",
  21288. "type": "array",
  21289. "items": {
  21290. "type": "integer"
  21291. }
  21292. },
  21293. "customername": {
  21294. "description": "名称(企业名称)",
  21295. "type": "string"
  21296. },
  21297. "mobile": {
  21298. "description": "手机号码",
  21299. "type": "string"
  21300. },
  21301. "userid": {
  21302. "description": "用户ID",
  21303. "type": "integer"
  21304. }
  21305. }
  21306. },
  21307. "erms3.ModifyUserInfoApplyReq": {
  21308. "type": "object",
  21309. "required": [
  21310. "userid"
  21311. ],
  21312. "properties": {
  21313. "accountid": {
  21314. "description": "交易系统帐号Id (加密存储)",
  21315. "type": "integer"
  21316. },
  21317. "areacode": {
  21318. "description": "机构代码",
  21319. "type": "string"
  21320. },
  21321. "areaid": {
  21322. "description": "机构Id",
  21323. "type": "integer"
  21324. },
  21325. "attachment1": {
  21326. "description": "附件1",
  21327. "type": "string"
  21328. },
  21329. "attachment2": {
  21330. "description": "附件2",
  21331. "type": "string"
  21332. },
  21333. "attachment3": {
  21334. "description": "附件3",
  21335. "type": "string"
  21336. },
  21337. "attachment4": {
  21338. "description": "附件4",
  21339. "type": "string"
  21340. },
  21341. "attachment5": {
  21342. "description": "附件5",
  21343. "type": "string"
  21344. },
  21345. "auditedby": {
  21346. "description": "审核人",
  21347. "type": "string"
  21348. },
  21349. "auditime": {
  21350. "description": "审核时间",
  21351. "type": "string"
  21352. },
  21353. "auditsrc": {
  21354. "description": "审核来源 - 1:管理端 2:终端",
  21355. "type": "integer"
  21356. },
  21357. "bankaccount": {
  21358. "description": "银行帐号 (加密存储)",
  21359. "type": "string"
  21360. },
  21361. "bankaccountname": {
  21362. "description": "收款人名称",
  21363. "type": "string"
  21364. },
  21365. "bankcardbackphotourl": {
  21366. "description": "银行卡背面照地址",
  21367. "type": "string"
  21368. },
  21369. "bankcardfrontphotourl": {
  21370. "description": "银行卡正面照地址",
  21371. "type": "string"
  21372. },
  21373. "bankid": {
  21374. "description": "银行编码",
  21375. "type": "string"
  21376. },
  21377. "bankname": {
  21378. "description": "银行名称",
  21379. "type": "string"
  21380. },
  21381. "bankpictureurl": {
  21382. "description": "银行卡正面地址",
  21383. "type": "string"
  21384. },
  21385. "biznature": {
  21386. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21387. "type": "integer"
  21388. },
  21389. "bizscope": {
  21390. "description": "企业经营范围(企业)",
  21391. "type": "string"
  21392. },
  21393. "biztype": {
  21394. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21395. "type": "integer"
  21396. },
  21397. "brokerid": {
  21398. "description": "经纪人ID(加密存储)",
  21399. "type": "string"
  21400. },
  21401. "cardaddress": {
  21402. "description": "证件地址 (加密存储)",
  21403. "type": "string"
  21404. },
  21405. "cardbackphotourl": {
  21406. "description": "背面证件照地址",
  21407. "type": "string"
  21408. },
  21409. "cardfrontphotourl": {
  21410. "description": "正面证件照地址",
  21411. "type": "string"
  21412. },
  21413. "cardnum": {
  21414. "description": "证件号码 (加密存储)",
  21415. "type": "string"
  21416. },
  21417. "cardtype": {
  21418. "description": "证件类型",
  21419. "type": "integer"
  21420. },
  21421. "cityid": {
  21422. "description": "市",
  21423. "type": "integer"
  21424. },
  21425. "company": {
  21426. "description": "公司(个人)",
  21427. "type": "string"
  21428. },
  21429. "contactcardbackphotourl": {
  21430. "description": "联系人证件背面图片地址",
  21431. "type": "string"
  21432. },
  21433. "contactcardfrontphotourl": {
  21434. "description": "联系人证件正面图片地址",
  21435. "type": "string"
  21436. },
  21437. "contactname": {
  21438. "description": "联系人",
  21439. "type": "string"
  21440. },
  21441. "countryid": {
  21442. "description": "国家",
  21443. "type": "integer"
  21444. },
  21445. "createtime": {
  21446. "description": "开户申请时间",
  21447. "type": "string"
  21448. },
  21449. "cusbankid": {
  21450. "description": "签约类型",
  21451. "type": "string"
  21452. },
  21453. "cusbankname": {
  21454. "description": "签约类型名称",
  21455. "type": "string"
  21456. },
  21457. "customername": {
  21458. "description": "客户名称(企业名称)",
  21459. "type": "string"
  21460. },
  21461. "districtid": {
  21462. "description": "地区",
  21463. "type": "integer"
  21464. },
  21465. "email": {
  21466. "description": "Email地址(加密存储)",
  21467. "type": "string"
  21468. },
  21469. "halfbodyphotourl": {
  21470. "description": "半身照地址",
  21471. "type": "string"
  21472. },
  21473. "headurl": {
  21474. "description": "头像地址",
  21475. "type": "string"
  21476. },
  21477. "ipaddress": {
  21478. "description": "IP地址",
  21479. "type": "string"
  21480. },
  21481. "isvalidate": {
  21482. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21483. "type": "string"
  21484. },
  21485. "legalcardbackphotourl": {
  21486. "description": "法人身份证背面照地址",
  21487. "type": "string"
  21488. },
  21489. "legalcardfrontphotourl": {
  21490. "description": "法人身份证正面照地址",
  21491. "type": "string"
  21492. },
  21493. "legalpersonname": {
  21494. "description": "法人姓名(企业)",
  21495. "type": "string"
  21496. },
  21497. "logincode": {
  21498. "description": "登录帐号 (加密存储)",
  21499. "type": "string"
  21500. },
  21501. "memberareaid": {
  21502. "description": "所属会员ID",
  21503. "type": "integer"
  21504. },
  21505. "mobile2": {
  21506. "description": "手机号码[明文-尚志]",
  21507. "type": "string"
  21508. },
  21509. "mobilephone": {
  21510. "description": "手机号码 (加密存储)",
  21511. "type": "string"
  21512. },
  21513. "modifiedby": {
  21514. "description": "修改人帐号",
  21515. "type": "integer"
  21516. },
  21517. "modifiedtime": {
  21518. "description": "修改时间",
  21519. "type": "string"
  21520. },
  21521. "nickname": {
  21522. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21523. "type": "string"
  21524. },
  21525. "openmode": {
  21526. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21527. "type": "integer"
  21528. },
  21529. "otherurl": {
  21530. "description": "其它图片地址[使用分号分隔]",
  21531. "type": "string"
  21532. },
  21533. "postalcode": {
  21534. "description": "邮政编码",
  21535. "type": "string"
  21536. },
  21537. "provinceid": {
  21538. "description": "省",
  21539. "type": "integer"
  21540. },
  21541. "proxystatementurl": {
  21542. "description": "授权委托书",
  21543. "type": "string"
  21544. },
  21545. "qq": {
  21546. "description": "QQ(加密存储",
  21547. "type": "string"
  21548. },
  21549. "referral": {
  21550. "description": "推荐人编码",
  21551. "type": "string"
  21552. },
  21553. "remark": {
  21554. "description": "备注",
  21555. "type": "string"
  21556. },
  21557. "removebeforestatus": {
  21558. "description": "REMOVEBEFORESTATUS",
  21559. "type": "integer"
  21560. },
  21561. "sex": {
  21562. "description": "性别 - 0:女 1:男",
  21563. "type": "integer"
  21564. },
  21565. "signedstatus": {
  21566. "description": "账户一号签签约状态",
  21567. "type": "integer"
  21568. },
  21569. "signpdfurl": {
  21570. "description": "签约pdf文件",
  21571. "type": "string"
  21572. },
  21573. "subbranch": {
  21574. "description": "开户支行",
  21575. "type": "string"
  21576. },
  21577. "taxpayernum": {
  21578. "description": "纳税人识别号",
  21579. "type": "string"
  21580. },
  21581. "telphone": {
  21582. "description": "联系电话(加密存储)",
  21583. "type": "string"
  21584. },
  21585. "userid": {
  21586. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  21587. "type": "integer"
  21588. },
  21589. "userinfotype": {
  21590. "description": "用户信息类型 - 1:个人 2:企业",
  21591. "type": "integer"
  21592. },
  21593. "username": {
  21594. "description": "用户姓名",
  21595. "type": "string"
  21596. },
  21597. "userstate": {
  21598. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21599. "type": "integer"
  21600. },
  21601. "usertype": {
  21602. "description": "用户类型 - 1:投资者 2:机构",
  21603. "type": "integer"
  21604. },
  21605. "videourl": {
  21606. "description": "视频地址",
  21607. "type": "string"
  21608. },
  21609. "wechat": {
  21610. "description": "微信号 (加密存储)",
  21611. "type": "string"
  21612. }
  21613. }
  21614. },
  21615. "erms3.QryAuditContractRsp": {
  21616. "type": "object",
  21617. "required": [
  21618. "matchcustomername",
  21619. "spotcontractid"
  21620. ],
  21621. "properties": {
  21622. "accountid": {
  21623. "description": "交易员ID",
  21624. "type": "string"
  21625. },
  21626. "applystatus": {
  21627. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21628. "type": "integer"
  21629. },
  21630. "curdeliveryqty": {
  21631. "description": "未交收量",
  21632. "type": "integer"
  21633. },
  21634. "customername": {
  21635. "description": "采购方ID",
  21636. "type": "string"
  21637. },
  21638. "deliverygoodsid": {
  21639. "description": "品种ID",
  21640. "type": "string"
  21641. },
  21642. "deliveryqty": {
  21643. "description": "交收量",
  21644. "type": "integer"
  21645. },
  21646. "enumdicname": {
  21647. "description": "单位名称",
  21648. "type": "string"
  21649. },
  21650. "matchaccountid": {
  21651. "description": "业务员ID",
  21652. "type": "string"
  21653. },
  21654. "matchcustomername": {
  21655. "description": "销售方ID",
  21656. "type": "string"
  21657. },
  21658. "pricedqty": {
  21659. "description": "定价量",
  21660. "type": "number"
  21661. },
  21662. "signdate": {
  21663. "description": "签订日期",
  21664. "type": "string"
  21665. },
  21666. "spotcontractid": {
  21667. "description": "合同ID",
  21668. "type": "string"
  21669. },
  21670. "totaldqty": {
  21671. "description": "合同量",
  21672. "type": "number"
  21673. },
  21674. "unpricedqty": {
  21675. "description": "未定价量",
  21676. "type": "number"
  21677. },
  21678. "wrstandardname": {
  21679. "description": "商品名称",
  21680. "type": "string"
  21681. }
  21682. }
  21683. },
  21684. "erms3.QryPendingBizRsp": {
  21685. "type": "object",
  21686. "properties": {
  21687. "accountid": {
  21688. "description": "现货账户",
  21689. "type": "string"
  21690. },
  21691. "areaname": {
  21692. "description": "所属部门",
  21693. "type": "string"
  21694. },
  21695. "bizid": {
  21696. "description": "业务ID",
  21697. "type": "string"
  21698. },
  21699. "bizname": {
  21700. "description": "业务名称",
  21701. "type": "string"
  21702. },
  21703. "status": {
  21704. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21705. "type": "integer"
  21706. },
  21707. "type": {
  21708. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  21709. "type": "integer"
  21710. }
  21711. }
  21712. },
  21713. "erms3.QueryBusinessInfoRsp": {
  21714. "type": "object",
  21715. "properties": {
  21716. "businessid": {
  21717. "description": "业务ID.",
  21718. "type": "integer"
  21719. },
  21720. "buyamount": {
  21721. "description": "采购额.",
  21722. "type": "number"
  21723. },
  21724. "buyqty": {
  21725. "description": "采购量.",
  21726. "type": "string"
  21727. },
  21728. "futurepl": {
  21729. "description": "期货盈亏.",
  21730. "type": "number"
  21731. },
  21732. "futureqty": {
  21733. "description": "期货敞口.",
  21734. "type": "string"
  21735. },
  21736. "goodsid": {
  21737. "description": "商品名称/商品代码.",
  21738. "type": "string"
  21739. },
  21740. "hedgingqty": {
  21741. "description": "套保量.",
  21742. "type": "string"
  21743. },
  21744. "sellamount": {
  21745. "description": "销售额.",
  21746. "type": "number"
  21747. },
  21748. "sellqty": {
  21749. "description": "销售量.",
  21750. "type": "string"
  21751. },
  21752. "spotmarketvalue": {
  21753. "description": "现货市值.",
  21754. "type": "number"
  21755. },
  21756. "spotpl": {
  21757. "description": "浮动权益.",
  21758. "type": "number"
  21759. },
  21760. "spotqty": {
  21761. "description": "现货量.",
  21762. "type": "string"
  21763. },
  21764. "statu": {
  21765. "description": "状态,0-未结束 1-已结束.",
  21766. "type": "integer"
  21767. },
  21768. "totalpl": {
  21769. "description": "总盈亏.",
  21770. "type": "number"
  21771. },
  21772. "totalqty": {
  21773. "description": "总敞口.",
  21774. "type": "string"
  21775. },
  21776. "type": {
  21777. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  21778. "type": "integer"
  21779. }
  21780. }
  21781. },
  21782. "erms3.QuerySpotContractAppleFormRsp": {
  21783. "type": "object",
  21784. "properties": {
  21785. "goodses": {
  21786. "description": "合约列表",
  21787. "type": "array",
  21788. "items": {
  21789. "$ref": "#/definitions/models.GoodsIDAndName"
  21790. }
  21791. },
  21792. "oppositeusers": {
  21793. "description": "对方账号列表",
  21794. "type": "array",
  21795. "items": {
  21796. "$ref": "#/definitions/erms3.CustomerInfo"
  21797. }
  21798. },
  21799. "ouruser": {
  21800. "description": "我方账号",
  21801. "$ref": "#/definitions/erms3.CustomerInfo"
  21802. },
  21803. "warehouseinfos": {
  21804. "description": "仓库信息列表",
  21805. "type": "array",
  21806. "items": {
  21807. "$ref": "#/definitions/models.Warehouseinfo"
  21808. }
  21809. },
  21810. "wrstandards": {
  21811. "description": "仓单标准列表",
  21812. "type": "array",
  21813. "items": {
  21814. "$ref": "#/definitions/models.WRStandardInfo"
  21815. }
  21816. }
  21817. }
  21818. },
  21819. "erms3.QuerySpotContractInfoRsp": {
  21820. "type": "object",
  21821. "properties": {
  21822. "accountid": {
  21823. "description": "表示交易员ID.",
  21824. "type": "integer"
  21825. },
  21826. "curdeliveryqty": {
  21827. "description": "表示未交收量.",
  21828. "type": "number"
  21829. },
  21830. "customername": {
  21831. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  21832. "type": "string"
  21833. },
  21834. "deliverygoodsid": {
  21835. "description": "表示品种ID.",
  21836. "type": "string"
  21837. },
  21838. "deliveryqty": {
  21839. "description": "表示交收量.",
  21840. "type": "number"
  21841. },
  21842. "matchaccountid": {
  21843. "description": "表示业务员ID.",
  21844. "type": "integer"
  21845. },
  21846. "matchcustomername": {
  21847. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  21848. "type": "string"
  21849. },
  21850. "priceqty": {
  21851. "description": "表示定价量.",
  21852. "type": "number"
  21853. },
  21854. "relatedbizid": {
  21855. "description": "表示业务ID.",
  21856. "type": "string"
  21857. },
  21858. "signdate": {
  21859. "description": "表示签订日期.",
  21860. "type": "string"
  21861. },
  21862. "spotcontractid": {
  21863. "description": "合同ID",
  21864. "type": "string"
  21865. },
  21866. "status": {
  21867. "description": "表示状态,0-履约中 1-已完成.",
  21868. "type": "integer"
  21869. },
  21870. "totalqty": {
  21871. "description": "表示合同量.",
  21872. "type": "number"
  21873. },
  21874. "unpricedqty": {
  21875. "description": "表示未定价量.",
  21876. "type": "number"
  21877. },
  21878. "wrstandardname": {
  21879. "description": "表示商品ID.",
  21880. "type": "string"
  21881. }
  21882. }
  21883. },
  21884. "erms3.QueryUserInfoAppliesRsp": {
  21885. "type": "object",
  21886. "required": [
  21887. "userid"
  21888. ],
  21889. "properties": {
  21890. "biznature": {
  21891. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21892. "type": "integer"
  21893. },
  21894. "contactname": {
  21895. "description": "联系人",
  21896. "type": "string"
  21897. },
  21898. "createtime": {
  21899. "description": "开户申请时间",
  21900. "type": "string"
  21901. },
  21902. "userid": {
  21903. "description": "用户ID(自增ID)",
  21904. "type": "integer"
  21905. },
  21906. "userinfotype": {
  21907. "description": "用户信息类型 - 1:个人 2:企业",
  21908. "type": "integer"
  21909. },
  21910. "username": {
  21911. "description": "用户姓名",
  21912. "type": "string"
  21913. },
  21914. "userstate": {
  21915. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  21916. "type": "integer"
  21917. }
  21918. }
  21919. },
  21920. "erms3.QueryUserInfosRsp": {
  21921. "type": "object",
  21922. "required": [
  21923. "userid"
  21924. ],
  21925. "properties": {
  21926. "biznature": {
  21927. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21928. "type": "integer"
  21929. },
  21930. "contactname": {
  21931. "description": "联系人",
  21932. "type": "string"
  21933. },
  21934. "customername": {
  21935. "description": "客户名称(企业名称)",
  21936. "type": "string"
  21937. },
  21938. "userid": {
  21939. "description": "用户ID",
  21940. "type": "integer"
  21941. },
  21942. "userinfotype": {
  21943. "description": "用户信息类型 - 1:个人 2:企业",
  21944. "type": "integer"
  21945. },
  21946. "userstatus": {
  21947. "description": "用户状态 - 1:正常 2:注销",
  21948. "type": "integer"
  21949. }
  21950. }
  21951. },
  21952. "erms3.SoptContractDetail": {
  21953. "type": "object",
  21954. "required": [
  21955. "deliverygoodsid",
  21956. "producttype",
  21957. "unitname",
  21958. "warehouseid",
  21959. "wrstandardid",
  21960. "wrstandardname"
  21961. ],
  21962. "properties": {
  21963. "deliverygoodsdesc": {
  21964. "description": "现货品种说明",
  21965. "type": "string"
  21966. },
  21967. "deliverygoodsid": {
  21968. "description": "现货品种ID",
  21969. "type": "integer"
  21970. },
  21971. "deliverygoodsname": {
  21972. "description": "现货品种名称",
  21973. "type": "string"
  21974. },
  21975. "pointdesc": {
  21976. "description": "点价描述",
  21977. "type": "string"
  21978. },
  21979. "producttype": {
  21980. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  21981. "type": "integer"
  21982. },
  21983. "producttypename": {
  21984. "description": "产品类型名称",
  21985. "type": "string"
  21986. },
  21987. "spotPointOrderVoList": {
  21988. "description": "点价列表",
  21989. "type": "array",
  21990. "items": {
  21991. "$ref": "#/definitions/erms3.SpotPointOrder"
  21992. }
  21993. },
  21994. "spotPriceOrderList": {
  21995. "description": "定价列表",
  21996. "type": "array",
  21997. "items": {
  21998. "$ref": "#/definitions/erms3.SpotPriceOrder"
  21999. }
  22000. },
  22001. "unitname": {
  22002. "description": "单位名称",
  22003. "type": "string"
  22004. },
  22005. "warehouseid": {
  22006. "description": "仓库ID",
  22007. "type": "integer"
  22008. },
  22009. "warehousename": {
  22010. "description": "仓库名称",
  22011. "type": "string"
  22012. },
  22013. "wrstandardid": {
  22014. "description": "交易标的ID",
  22015. "type": "integer"
  22016. },
  22017. "wrstandardname": {
  22018. "description": "交易标的名称",
  22019. "type": "string"
  22020. }
  22021. }
  22022. },
  22023. "erms3.SpotPointOrder": {
  22024. "type": "object",
  22025. "required": [
  22026. "basic",
  22027. "goodsid",
  22028. "qty"
  22029. ],
  22030. "properties": {
  22031. "basic": {
  22032. "description": "基差",
  22033. "type": "number"
  22034. },
  22035. "deliveryenddate": {
  22036. "description": "交收结束日期",
  22037. "type": "string"
  22038. },
  22039. "deliverystartdate": {
  22040. "description": "交收开始日期",
  22041. "type": "string"
  22042. },
  22043. "enddate": {
  22044. "description": "点价结束日期",
  22045. "type": "string"
  22046. },
  22047. "goodsid": {
  22048. "description": "商品ID",
  22049. "type": "integer"
  22050. },
  22051. "goodsname": {
  22052. "description": "商品名称",
  22053. "type": "string"
  22054. },
  22055. "qty": {
  22056. "description": "数量",
  22057. "type": "number"
  22058. },
  22059. "startdate": {
  22060. "description": "点价开始日期",
  22061. "type": "string"
  22062. }
  22063. }
  22064. },
  22065. "erms3.SpotPriceOrder": {
  22066. "type": "object",
  22067. "required": [
  22068. "amount",
  22069. "price",
  22070. "qty"
  22071. ],
  22072. "properties": {
  22073. "amount": {
  22074. "description": "金额",
  22075. "type": "number"
  22076. },
  22077. "deliveryenddate": {
  22078. "description": "交收结束日期",
  22079. "type": "string"
  22080. },
  22081. "deliverystartdate": {
  22082. "description": "交收开始日期",
  22083. "type": "string"
  22084. },
  22085. "price": {
  22086. "description": "价格",
  22087. "type": "number"
  22088. },
  22089. "qty": {
  22090. "description": "数量",
  22091. "type": "number"
  22092. }
  22093. }
  22094. },
  22095. "models.Arearole": {
  22096. "type": "object",
  22097. "required": [
  22098. "roletype",
  22099. "userid"
  22100. ],
  22101. "properties": {
  22102. "createtime": {
  22103. "description": "创建时间",
  22104. "type": "string"
  22105. },
  22106. "creatorid": {
  22107. "description": "创建人ID",
  22108. "type": "integer"
  22109. },
  22110. "fromuserid": {
  22111. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22112. "type": "integer"
  22113. },
  22114. "isreturnscore": {
  22115. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  22116. "type": "integer"
  22117. },
  22118. "modifierid": {
  22119. "description": "修改人ID",
  22120. "type": "integer"
  22121. },
  22122. "modifytime": {
  22123. "description": "修改时间",
  22124. "type": "string"
  22125. },
  22126. "orgtype": {
  22127. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  22128. "type": "integer"
  22129. },
  22130. "outuserid": {
  22131. "description": "外部账户[场外期权做市商]",
  22132. "type": "string"
  22133. },
  22134. "parentuserid": {
  22135. "description": "上级组织机构(组织机构)",
  22136. "type": "integer"
  22137. },
  22138. "roletype": {
  22139. "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:门店",
  22140. "type": "integer"
  22141. },
  22142. "rootuserid": {
  22143. "description": "顶级组织机构用户ID(组织机构)",
  22144. "type": "integer"
  22145. },
  22146. "shoppassword": {
  22147. "description": "商城店铺登陆密码(商城店铺角色使用)",
  22148. "type": "string"
  22149. },
  22150. "sublevelpath": {
  22151. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  22152. "type": "string"
  22153. },
  22154. "suborgtype": {
  22155. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22156. "type": "integer"
  22157. },
  22158. "tradeaccountid": {
  22159. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  22160. "type": "integer"
  22161. },
  22162. "transurl": {
  22163. "description": "物流地址(物流机构)",
  22164. "type": "string"
  22165. },
  22166. "userid": {
  22167. "description": "机构用户ID其他做市关系,都设置为 1",
  22168. "type": "integer"
  22169. }
  22170. }
  22171. },
  22172. "models.BuyOrder": {
  22173. "type": "object",
  22174. "properties": {
  22175. "accountid": {
  22176. "description": "资金账户ID",
  22177. "type": "integer"
  22178. },
  22179. "buyusername": {
  22180. "description": "买方",
  22181. "type": "string"
  22182. },
  22183. "marketid": {
  22184. "description": "市场ID",
  22185. "type": "integer"
  22186. },
  22187. "ordertime": {
  22188. "description": "委托时间",
  22189. "type": "string"
  22190. },
  22191. "origin": {
  22192. "description": "原产地",
  22193. "type": "string"
  22194. },
  22195. "performancetemplateid": {
  22196. "description": "履约计划模板ID",
  22197. "type": "integer"
  22198. },
  22199. "remark": {
  22200. "description": "备注",
  22201. "type": "string"
  22202. },
  22203. "userid": {
  22204. "description": "用户ID",
  22205. "type": "integer"
  22206. },
  22207. "validtime": {
  22208. "description": "有效期限",
  22209. "type": "string"
  22210. },
  22211. "warehouseids": {
  22212. "description": "仓库ID - 多个, 逗号分隔",
  22213. "type": "string"
  22214. },
  22215. "warehouseinfosdisplay": {
  22216. "type": "string"
  22217. },
  22218. "wrtradeorderid": {
  22219. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  22220. "type": "string"
  22221. },
  22222. "wrtradeorderstatus": {
  22223. "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、",
  22224. "type": "integer"
  22225. },
  22226. "zscategory": {
  22227. "description": "钻石分类 - 枚举”ZSCategory“",
  22228. "type": "integer"
  22229. },
  22230. "zscategorydisplay": {
  22231. "type": "string"
  22232. },
  22233. "zsclaritytype": {
  22234. "description": "净度 - 两个, 逗号分隔",
  22235. "type": "string"
  22236. },
  22237. "zsclaritytypedisplay": {
  22238. "type": "string"
  22239. },
  22240. "zscolortype": {
  22241. "description": "颜色 - 两个, 逗号分隔",
  22242. "type": "string"
  22243. },
  22244. "zscolortypedisplay": {
  22245. "type": "string"
  22246. },
  22247. "zscrystaltype": {
  22248. "description": "晶型 - 多个,逗号分隔",
  22249. "type": "string"
  22250. },
  22251. "zscrystaltypedisplay": {
  22252. "type": "string"
  22253. },
  22254. "zscurrencytype": {
  22255. "description": "货币类型 - 多个, 逗号分隔",
  22256. "type": "string"
  22257. },
  22258. "zscurrencytypedisplay": {
  22259. "type": "string"
  22260. },
  22261. "zscuttype": {
  22262. "description": "切工 - 两个, 逗号分隔",
  22263. "type": "string"
  22264. },
  22265. "zscuttypedisplay": {
  22266. "type": "string"
  22267. },
  22268. "zsczcolor1type": {
  22269. "description": "彩钻颜色1, 逗号分隔",
  22270. "type": "string"
  22271. },
  22272. "zsczcolor1typedisplay": {
  22273. "type": "string"
  22274. },
  22275. "zsczcolor2type": {
  22276. "description": "彩钻颜色2, 逗号分隔",
  22277. "type": "string"
  22278. },
  22279. "zsczcolor2typedisplay": {
  22280. "type": "string"
  22281. },
  22282. "zsczcolor3type": {
  22283. "description": "彩钻颜色3, 逗号分隔",
  22284. "type": "string"
  22285. },
  22286. "zsczcolor3typedisplay": {
  22287. "type": "string"
  22288. },
  22289. "zsfluorescencetype": {
  22290. "description": "荧光 - 多个, 逗号分隔",
  22291. "type": "string"
  22292. },
  22293. "zsfluorescencetypedisplay": {
  22294. "type": "string"
  22295. },
  22296. "zspolishtype": {
  22297. "description": "抛光度 - 两个, 逗号分隔",
  22298. "type": "string"
  22299. },
  22300. "zspolishtypedisplay": {
  22301. "type": "string"
  22302. },
  22303. "zsshapetype": {
  22304. "description": "形状 - 多个, 逗号分隔",
  22305. "type": "string"
  22306. },
  22307. "zsshapetypedisplay": {
  22308. "type": "string"
  22309. },
  22310. "zssize": {
  22311. "description": "尺寸 - 两个小数, 逗号分隔",
  22312. "type": "string"
  22313. },
  22314. "zsstyletype": {
  22315. "description": "款式 - 多个, 逗号分隔",
  22316. "type": "string"
  22317. },
  22318. "zsstyletypedisplay": {
  22319. "type": "string"
  22320. },
  22321. "zssymmetrytype": {
  22322. "description": "对称度 - 两个, 逗号分隔",
  22323. "type": "string"
  22324. },
  22325. "zssymmetrytypedisplay": {
  22326. "type": "string"
  22327. },
  22328. "zstabledisplay": {
  22329. "description": "求购信息",
  22330. "type": "string"
  22331. }
  22332. }
  22333. },
  22334. "models.DgFactoryItem": {
  22335. "type": "object",
  22336. "properties": {
  22337. "dgfactoryitemid": {
  22338. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  22339. "type": "integer"
  22340. },
  22341. "dgfactoryitemtypeid": {
  22342. "description": "要素项类型",
  22343. "type": "integer"
  22344. },
  22345. "dgfactoryitemvalue": {
  22346. "description": "要素项值(类型为仓库时填写仓库名称)",
  22347. "type": "string"
  22348. },
  22349. "orderindex": {
  22350. "description": "顺序",
  22351. "type": "integer"
  22352. }
  22353. }
  22354. },
  22355. "models.Division": {
  22356. "type": "object",
  22357. "required": [
  22358. "autoid",
  22359. "divisioncode"
  22360. ],
  22361. "properties": {
  22362. "autoid": {
  22363. "description": "自增ID",
  22364. "type": "integer"
  22365. },
  22366. "divisioncode": {
  22367. "description": "行政代码",
  22368. "type": "string"
  22369. },
  22370. "divisionlevel": {
  22371. "description": "行政级别",
  22372. "type": "string"
  22373. },
  22374. "divisionname": {
  22375. "description": "行政名称",
  22376. "type": "string"
  22377. },
  22378. "modifierid": {
  22379. "description": "修改人",
  22380. "type": "integer"
  22381. },
  22382. "modifytime": {
  22383. "description": "修改时间",
  22384. "type": "string"
  22385. },
  22386. "parentcode": {
  22387. "description": "上级行政代码",
  22388. "type": "string"
  22389. },
  22390. "pathname": {
  22391. "description": "路径名称",
  22392. "type": "string"
  22393. },
  22394. "postcode": {
  22395. "description": "邮政编码",
  22396. "type": "string"
  22397. },
  22398. "separablename": {
  22399. "description": "可拆分的全称",
  22400. "type": "string"
  22401. },
  22402. "shortcode": {
  22403. "description": "地区简码",
  22404. "type": "string"
  22405. }
  22406. }
  22407. },
  22408. "models.Enumdicitem": {
  22409. "type": "object",
  22410. "required": [
  22411. "autoid",
  22412. "enumdiccode",
  22413. "enumdicid",
  22414. "enumitemname"
  22415. ],
  22416. "properties": {
  22417. "autoid": {
  22418. "description": "自增ID",
  22419. "type": "integer"
  22420. },
  22421. "bankmappedvalue": {
  22422. "description": "银行服务对应值",
  22423. "type": "string"
  22424. },
  22425. "enumdiccode": {
  22426. "description": "所属枚举代码",
  22427. "type": "string"
  22428. },
  22429. "enumdicid": {
  22430. "description": "所属枚举ID",
  22431. "type": "integer"
  22432. },
  22433. "enumdicname": {
  22434. "description": "枚举项名称",
  22435. "type": "string"
  22436. },
  22437. "enumitemname": {
  22438. "description": "枚举项值",
  22439. "type": "integer"
  22440. },
  22441. "enumitemstatus": {
  22442. "description": "枚举项状态 - 1.启用 2.不启用",
  22443. "type": "integer"
  22444. },
  22445. "enumitemvalue": {
  22446. "description": "通用值 - [币种通用简写]",
  22447. "type": "string"
  22448. },
  22449. "param1": {
  22450. "description": "参数1[币种:币种小数位]",
  22451. "type": "string"
  22452. },
  22453. "param2": {
  22454. "description": "参数1[币种:币种显示单位]",
  22455. "type": "string"
  22456. },
  22457. "remark": {
  22458. "description": "备注",
  22459. "type": "string"
  22460. }
  22461. }
  22462. },
  22463. "models.Ermcp2AreaExposure": {
  22464. "type": "object",
  22465. "properties": {
  22466. "areauserid": {
  22467. "description": "所属机构",
  22468. "type": "integer"
  22469. },
  22470. "enumdicname": {
  22471. "description": "单位",
  22472. "type": "string"
  22473. },
  22474. "futureqty": {
  22475. "description": "期货套期量",
  22476. "type": "number"
  22477. },
  22478. "futureqtychange": {
  22479. "description": "期货变动量 = FutureQty - OriFutureQty",
  22480. "type": "number"
  22481. },
  22482. "goodsunitid": {
  22483. "description": "单位ID",
  22484. "type": "integer"
  22485. },
  22486. "hedgedspotexposure": {
  22487. "description": "被套期现货敞口量",
  22488. "type": "number"
  22489. },
  22490. "hedgedspratio": {
  22491. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  22492. "type": "number"
  22493. },
  22494. "hedgedtotalexposourechange": {
  22495. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  22496. "type": "number"
  22497. },
  22498. "hedgedtotalexposure": {
  22499. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  22500. "type": "number"
  22501. },
  22502. "hedgeplanqty": {
  22503. "description": "套期计划量",
  22504. "type": "number"
  22505. },
  22506. "hedgeplanqtychange": {
  22507. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  22508. "type": "number"
  22509. },
  22510. "hedgespotqty": {
  22511. "description": "被套期现货量",
  22512. "type": "number"
  22513. },
  22514. "middlegoodsid": {
  22515. "description": "套保品种",
  22516. "type": "integer"
  22517. },
  22518. "middlegoodsname": {
  22519. "description": "套保品种名称",
  22520. "type": "string"
  22521. },
  22522. "orifutureqty": {
  22523. "description": "期初期货套期量",
  22524. "type": "number"
  22525. },
  22526. "orihedgedspotexposure": {
  22527. "description": "期初被套期现货敞口量",
  22528. "type": "number"
  22529. },
  22530. "orihedgedtotalexposure": {
  22531. "description": "期初套期敞口量",
  22532. "type": "number"
  22533. },
  22534. "orihedgeplanqty": {
  22535. "description": "期初套期计划量",
  22536. "type": "number"
  22537. },
  22538. "orihedgespotqty": {
  22539. "description": "期初被套期现货量",
  22540. "type": "number"
  22541. },
  22542. "orispotexposure": {
  22543. "description": "期初现货敞口量",
  22544. "type": "number"
  22545. },
  22546. "orispotqty": {
  22547. "description": "期初现货总量",
  22548. "type": "number"
  22549. },
  22550. "oritotalexposure": {
  22551. "description": "期初总敞口量",
  22552. "type": "number"
  22553. },
  22554. "spotexposure": {
  22555. "description": "现货敞口量",
  22556. "type": "number"
  22557. },
  22558. "spotqty": {
  22559. "description": "现货总量",
  22560. "type": "number"
  22561. },
  22562. "spotqtychange": {
  22563. "description": "现货变动量 = SpotQty - OriSpotQty",
  22564. "type": "number"
  22565. },
  22566. "spratio": {
  22567. "description": "总期现比例 = 期货套期量/现货敞口量",
  22568. "type": "number"
  22569. },
  22570. "totalexposure": {
  22571. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  22572. "type": "number"
  22573. },
  22574. "totalexposurechange": {
  22575. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  22576. "type": "number"
  22577. },
  22578. "updatetime": {
  22579. "description": "更新时间 --DATE",
  22580. "type": "string"
  22581. }
  22582. }
  22583. },
  22584. "models.Ermcp2hedgeditem": {
  22585. "type": "object",
  22586. "properties": {
  22587. "accountname": {
  22588. "description": "套期主体",
  22589. "type": "string"
  22590. },
  22591. "applyid": {
  22592. "description": "申请人",
  22593. "type": "integer"
  22594. },
  22595. "applysrc": {
  22596. "description": "申请来源 - 1:管理端 2:终端",
  22597. "type": "integer"
  22598. },
  22599. "areauserid": {
  22600. "description": "企业ID",
  22601. "type": "integer"
  22602. },
  22603. "auditid": {
  22604. "description": "审核人",
  22605. "type": "integer"
  22606. },
  22607. "auditremark": {
  22608. "description": "审核备注",
  22609. "type": "string"
  22610. },
  22611. "auditsrc": {
  22612. "description": "审核来源 - 1:管理端 2:终端",
  22613. "type": "integer"
  22614. },
  22615. "audittime": {
  22616. "description": "审核时间",
  22617. "type": "string"
  22618. },
  22619. "audittradedate": {
  22620. "description": "审核交易日(yyyyMMdd)",
  22621. "type": "string"
  22622. },
  22623. "createtime": {
  22624. "description": "申请时间",
  22625. "type": "string"
  22626. },
  22627. "curprice": {
  22628. "description": "当前市场价",
  22629. "type": "number"
  22630. },
  22631. "curstock": {
  22632. "description": "期末库存量 = 采购总量 - 销售总量",
  22633. "type": "number"
  22634. },
  22635. "deliverygoodsid": {
  22636. "description": "现货品种ID",
  22637. "type": "integer"
  22638. },
  22639. "enddate": {
  22640. "description": "完成日期",
  22641. "type": "string"
  22642. },
  22643. "endtradedate": {
  22644. "description": "完成交易日",
  22645. "type": "string"
  22646. },
  22647. "enumdicname": {
  22648. "description": "单位",
  22649. "type": "string"
  22650. },
  22651. "exeamount": {
  22652. "description": "执行市价总额",
  22653. "type": "number"
  22654. },
  22655. "exeavgprice": {
  22656. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  22657. "type": "number"
  22658. },
  22659. "execontractamount": {
  22660. "description": "执行定价总额",
  22661. "type": "number"
  22662. },
  22663. "exeqty": {
  22664. "description": "执行现货量",
  22665. "type": "number"
  22666. },
  22667. "exerestamount": {
  22668. "description": "执行剩余市价总额【现货贸易】",
  22669. "type": "number"
  22670. },
  22671. "futurefloatpl": {
  22672. "description": "期货浮动损益",
  22673. "type": "number"
  22674. },
  22675. "futurehedgepl": {
  22676. "description": "期货实际损益",
  22677. "type": "number"
  22678. },
  22679. "futurehedgeplchange": {
  22680. "description": "期货实际损益变动",
  22681. "type": "number"
  22682. },
  22683. "futurepl": {
  22684. "description": "期货套期损益",
  22685. "type": "number"
  22686. },
  22687. "futureplchange": {
  22688. "description": "期货套期损益变动",
  22689. "type": "number"
  22690. },
  22691. "hedgeamount": {
  22692. "description": "套期市价总额",
  22693. "type": "number"
  22694. },
  22695. "hedgecontractamount": {
  22696. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  22697. "type": "number"
  22698. },
  22699. "hedgeditemid": {
  22700. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  22701. "type": "string"
  22702. },
  22703. "hedgeditemname": {
  22704. "description": "项目名称",
  22705. "type": "string"
  22706. },
  22707. "hedgeditemnum": {
  22708. "description": "项目编号",
  22709. "type": "string"
  22710. },
  22711. "hedgeditemstatus": {
  22712. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  22713. "type": "integer"
  22714. },
  22715. "hedgedtype": {
  22716. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22717. "type": "integer"
  22718. },
  22719. "hedgeqty": {
  22720. "description": "套期现货量",
  22721. "type": "number"
  22722. },
  22723. "hedgerate": {
  22724. "description": "套保比率",
  22725. "type": "number"
  22726. },
  22727. "hedgerestamount": {
  22728. "description": "套期剩余市价总额【现货贸易】",
  22729. "type": "number"
  22730. },
  22731. "hedgesumpl": {
  22732. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  22733. "type": "number"
  22734. },
  22735. "middlegoodslist": {
  22736. "description": "套期商品列表",
  22737. "type": "array",
  22738. "items": {
  22739. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  22740. }
  22741. },
  22742. "oriavgprice": {
  22743. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  22744. "type": "number"
  22745. },
  22746. "orifuturehedgepl": {
  22747. "description": "期初期货实际损益",
  22748. "type": "number"
  22749. },
  22750. "orifuturepl": {
  22751. "description": "期初期货套期损益",
  22752. "type": "number"
  22753. },
  22754. "orispothedgepl": {
  22755. "description": "期初现货实际损益",
  22756. "type": "number"
  22757. },
  22758. "orispotpl": {
  22759. "description": "期初现货套期损益",
  22760. "type": "number"
  22761. },
  22762. "planenddate": {
  22763. "description": "计划结束日期",
  22764. "type": "string"
  22765. },
  22766. "planstartdate": {
  22767. "description": "计划开始日期",
  22768. "type": "string"
  22769. },
  22770. "remark": {
  22771. "description": "备注",
  22772. "type": "string"
  22773. },
  22774. "spotbookamount": {
  22775. "description": "现货账面总额",
  22776. "type": "number"
  22777. },
  22778. "spotfloatpl": {
  22779. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22780. "type": "number"
  22781. },
  22782. "spothedgepl": {
  22783. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  22784. "type": "number"
  22785. },
  22786. "spothedgeplchange": {
  22787. "description": "现货实际损益变动",
  22788. "type": "number"
  22789. },
  22790. "spotpl": {
  22791. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  22792. "type": "number"
  22793. },
  22794. "spotplchange": {
  22795. "description": "现货套期损益变动",
  22796. "type": "number"
  22797. },
  22798. "spottradepl": {
  22799. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  22800. "type": "number"
  22801. },
  22802. "sumobspl": {
  22803. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  22804. "type": "number"
  22805. },
  22806. "tradeuserid": {
  22807. "description": "交易用户ID",
  22808. "type": "integer"
  22809. },
  22810. "unexeqty": {
  22811. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  22812. "type": "number"
  22813. },
  22814. "updatetime": {
  22815. "description": "更新时间",
  22816. "type": "string"
  22817. },
  22818. "vatpl": {
  22819. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  22820. "type": "number"
  22821. },
  22822. "vatrate": {
  22823. "description": "增值税",
  22824. "type": "number"
  22825. },
  22826. "wrstandardid": {
  22827. "description": "现货商品ID",
  22828. "type": "integer"
  22829. },
  22830. "wrstandardname": {
  22831. "description": "商品名称",
  22832. "type": "string"
  22833. }
  22834. }
  22835. },
  22836. "models.Ermcp2hedgeditemlink": {
  22837. "type": "object",
  22838. "required": [
  22839. "relatedspotcontractid"
  22840. ],
  22841. "properties": {
  22842. "areauserid": {
  22843. "description": "企业ID",
  22844. "type": "integer"
  22845. },
  22846. "createtime": {
  22847. "description": "[关联时间]创建时间",
  22848. "type": "string"
  22849. },
  22850. "customeruserid": {
  22851. "description": "对手方 【3:采购合同 4:销售合同】",
  22852. "type": "integer"
  22853. },
  22854. "deliverygoodsid": {
  22855. "description": "现货品种ID",
  22856. "type": "integer"
  22857. },
  22858. "enumdicname": {
  22859. "description": "单位",
  22860. "type": "string"
  22861. },
  22862. "hedgeditemid": {
  22863. "description": "被套期项目ID",
  22864. "type": "integer"
  22865. },
  22866. "hedgeditemlinkid": {
  22867. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  22868. "type": "integer"
  22869. },
  22870. "hedgeditemnum": {
  22871. "description": "项目编号",
  22872. "type": "string"
  22873. },
  22874. "hedgedtype": {
  22875. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22876. "type": "integer"
  22877. },
  22878. "relatedamount": {
  22879. "description": "市价总额 = 关联数量 * 期初市场价",
  22880. "type": "number"
  22881. },
  22882. "relatedhedgeplanid": {
  22883. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22884. "type": "integer"
  22885. },
  22886. "relatedqty": {
  22887. "description": "关联数量",
  22888. "type": "number"
  22889. },
  22890. "relatedspotcontractid": {
  22891. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22892. "type": "integer"
  22893. },
  22894. "relatedtype": {
  22895. "description": "关联类型 - 1:套期关联 2:执行关联",
  22896. "type": "integer"
  22897. },
  22898. "spotgoodsbrandid": {
  22899. "description": "现货品牌ID",
  22900. "type": "integer"
  22901. },
  22902. "spotpricedamount": {
  22903. "description": "[关联定价总额]定价总额",
  22904. "type": "number"
  22905. },
  22906. "spotpricedavgprice": {
  22907. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  22908. "type": "number"
  22909. },
  22910. "spottype": {
  22911. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  22912. "type": "integer"
  22913. },
  22914. "tradeuserid": {
  22915. "description": "交易用户ID",
  22916. "type": "integer"
  22917. },
  22918. "unexeqty": {
  22919. "description": "未执行现货量【项目关联时值】",
  22920. "type": "number"
  22921. },
  22922. "wrstandardid": {
  22923. "description": "现货商品ID",
  22924. "type": "integer"
  22925. },
  22926. "wrstandardname": {
  22927. "description": "现货商品",
  22928. "type": "string"
  22929. }
  22930. }
  22931. },
  22932. "models.Ermcp2hedgeditemsDetail": {
  22933. "type": "object",
  22934. "properties": {
  22935. "accountname": {
  22936. "description": "套期主体",
  22937. "type": "string"
  22938. },
  22939. "areauserid": {
  22940. "description": "企业ID",
  22941. "type": "integer"
  22942. },
  22943. "createtime": {
  22944. "description": "[日期时间]创建时间",
  22945. "type": "string"
  22946. },
  22947. "customeruserid": {
  22948. "description": "对手方 【3:采购合同 4:销售合同】",
  22949. "type": "integer"
  22950. },
  22951. "deliverygoodsid": {
  22952. "description": "现货品种ID",
  22953. "type": "integer"
  22954. },
  22955. "enumdicname": {
  22956. "description": "单位",
  22957. "type": "string"
  22958. },
  22959. "hedgeditemid": {
  22960. "description": "被套期项目ID",
  22961. "type": "string"
  22962. },
  22963. "hedgeditemspotid": {
  22964. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  22965. "type": "string"
  22966. },
  22967. "hedgedtype": {
  22968. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  22969. "type": "integer"
  22970. },
  22971. "hedgeplanno": {
  22972. "description": "计划编号",
  22973. "type": "string"
  22974. },
  22975. "middlegoodschange": {
  22976. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  22977. "type": "number"
  22978. },
  22979. "oriavgprice": {
  22980. "description": "期初市场价[当初市场价]",
  22981. "type": "number"
  22982. },
  22983. "relatedamount": {
  22984. "description": "市价总额 = 关联数量 * 期初市场价",
  22985. "type": "number"
  22986. },
  22987. "relatedhedgeplanid": {
  22988. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  22989. "type": "integer"
  22990. },
  22991. "relatedqty": {
  22992. "description": "[期间变化量]关联数量",
  22993. "type": "number"
  22994. },
  22995. "relatedspotcontractid": {
  22996. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  22997. "type": "integer"
  22998. },
  22999. "relatedtype": {
  23000. "description": "关联类型 - 1:套期关联 2:执行关联",
  23001. "type": "integer"
  23002. },
  23003. "spotgoodsbrandid": {
  23004. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23005. "type": "integer"
  23006. },
  23007. "spotpricedamount": {
  23008. "description": "定价总额",
  23009. "type": "number"
  23010. },
  23011. "spotpricedavgprice": {
  23012. "description": "现货均价 = 定价总额 / 关联数量",
  23013. "type": "number"
  23014. },
  23015. "spottype": {
  23016. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23017. "type": "integer"
  23018. },
  23019. "tradeuserid": {
  23020. "description": "交易用户ID",
  23021. "type": "integer"
  23022. },
  23023. "unexeqty": {
  23024. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23025. "type": "number"
  23026. },
  23027. "wrstandardid": {
  23028. "description": "现货商品ID",
  23029. "type": "integer"
  23030. },
  23031. "wrstandardname": {
  23032. "description": "现货商品",
  23033. "type": "string"
  23034. }
  23035. }
  23036. },
  23037. "models.Ermcp2hedgeditemspot": {
  23038. "type": "object",
  23039. "required": [
  23040. "hedgeditemid"
  23041. ],
  23042. "properties": {
  23043. "areauserid": {
  23044. "description": "企业ID",
  23045. "type": "integer"
  23046. },
  23047. "createtime": {
  23048. "description": "创建时间",
  23049. "type": "string"
  23050. },
  23051. "customeruserid": {
  23052. "description": "对手方 【3:采购合同 4:销售合同】",
  23053. "type": "integer"
  23054. },
  23055. "deliverygoodsid": {
  23056. "description": "现货品种ID",
  23057. "type": "integer"
  23058. },
  23059. "enumdicname": {
  23060. "description": "单位",
  23061. "type": "string"
  23062. },
  23063. "hedgeditemid": {
  23064. "description": "被套期项目ID",
  23065. "type": "string"
  23066. },
  23067. "hedgeditemspotid": {
  23068. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23069. "type": "string"
  23070. },
  23071. "hedgedtype": {
  23072. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23073. "type": "integer"
  23074. },
  23075. "hedgeplanno": {
  23076. "description": "计划编号",
  23077. "type": "string"
  23078. },
  23079. "oriavgprice": {
  23080. "description": "期初市场价[当初市场价]",
  23081. "type": "number"
  23082. },
  23083. "relatedamount": {
  23084. "description": "市价总额 = 关联数量 * 期初市场价",
  23085. "type": "number"
  23086. },
  23087. "relatedhedgeplanid": {
  23088. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23089. "type": "integer"
  23090. },
  23091. "relatedqty": {
  23092. "description": "关联数量[数量]",
  23093. "type": "number"
  23094. },
  23095. "relatedspotcontractid": {
  23096. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23097. "type": "integer"
  23098. },
  23099. "relatedtype": {
  23100. "description": "关联类型 - 1:套期关联 2:执行关联",
  23101. "type": "integer"
  23102. },
  23103. "spotgoodsbrandid": {
  23104. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23105. "type": "integer"
  23106. },
  23107. "spotpricedamount": {
  23108. "description": "定价总额",
  23109. "type": "number"
  23110. },
  23111. "spotpricedavgprice": {
  23112. "description": "现货均价 = 定价总额 / 关联数量",
  23113. "type": "number"
  23114. },
  23115. "spottype": {
  23116. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23117. "type": "integer"
  23118. },
  23119. "tradeuserid": {
  23120. "description": "交易用户ID",
  23121. "type": "integer"
  23122. },
  23123. "wrstandardid": {
  23124. "description": "现货商品ID",
  23125. "type": "integer"
  23126. },
  23127. "wrstandardname": {
  23128. "description": "现货商品",
  23129. "type": "string"
  23130. }
  23131. }
  23132. },
  23133. "models.Ermcp2hedgeditemspotDetail": {
  23134. "type": "object",
  23135. "required": [
  23136. "hedgeditemid"
  23137. ],
  23138. "properties": {
  23139. "accountname": {
  23140. "description": "对手方",
  23141. "type": "string"
  23142. },
  23143. "areauserid": {
  23144. "description": "企业ID",
  23145. "type": "integer"
  23146. },
  23147. "brandname": {
  23148. "description": "品牌",
  23149. "type": "string"
  23150. },
  23151. "contractno": {
  23152. "description": "合同编号",
  23153. "type": "string"
  23154. },
  23155. "createtime": {
  23156. "description": "创建时间",
  23157. "type": "string"
  23158. },
  23159. "customeruserid": {
  23160. "description": "对手方 【3:采购合同 4:销售合同】",
  23161. "type": "integer"
  23162. },
  23163. "deliverygoodsid": {
  23164. "description": "现货品种ID",
  23165. "type": "integer"
  23166. },
  23167. "enumdicname": {
  23168. "description": "单位",
  23169. "type": "string"
  23170. },
  23171. "hedgeditemid": {
  23172. "description": "被套期项目ID",
  23173. "type": "string"
  23174. },
  23175. "hedgeditemspotid": {
  23176. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23177. "type": "string"
  23178. },
  23179. "hedgedtype": {
  23180. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23181. "type": "integer"
  23182. },
  23183. "oriavgprice": {
  23184. "description": "期初市场价[当初市场价]",
  23185. "type": "number"
  23186. },
  23187. "relatedamount": {
  23188. "description": "市价总额 = 关联数量 * 期初市场价",
  23189. "type": "number"
  23190. },
  23191. "relatedhedgeplanid": {
  23192. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23193. "type": "integer"
  23194. },
  23195. "relatedqty": {
  23196. "description": "关联数量[数量]",
  23197. "type": "number"
  23198. },
  23199. "relatedspotcontractid": {
  23200. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23201. "type": "integer"
  23202. },
  23203. "relatedtype": {
  23204. "description": "关联类型 - 1:套期关联 2:执行关联",
  23205. "type": "integer"
  23206. },
  23207. "spotgoodsbrandid": {
  23208. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23209. "type": "integer"
  23210. },
  23211. "spotpricedamount": {
  23212. "description": "定价总额[金额]",
  23213. "type": "number"
  23214. },
  23215. "spotpricedavgprice": {
  23216. "description": "现货均价 = 定价总额 / 关联数量",
  23217. "type": "number"
  23218. },
  23219. "spottype": {
  23220. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23221. "type": "integer"
  23222. },
  23223. "tradeuserid": {
  23224. "description": "交易用户ID",
  23225. "type": "integer"
  23226. },
  23227. "wrstandardid": {
  23228. "description": "现货商品ID",
  23229. "type": "integer"
  23230. },
  23231. "wrstandardname": {
  23232. "description": "现货商品",
  23233. "type": "string"
  23234. }
  23235. }
  23236. },
  23237. "models.Ermcp2himiddlegoods": {
  23238. "type": "object",
  23239. "required": [
  23240. "hedgeditemid",
  23241. "middlegoodsid"
  23242. ],
  23243. "properties": {
  23244. "futurehedgeqty": {
  23245. "description": "期货持仓套期量",
  23246. "type": "number"
  23247. },
  23248. "hedgeditemid": {
  23249. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23250. "type": "integer"
  23251. },
  23252. "hiexpsoure": {
  23253. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  23254. "type": "number"
  23255. },
  23256. "middlegoodscode": {
  23257. "description": "套保商品代码",
  23258. "type": "string"
  23259. },
  23260. "middlegoodsid": {
  23261. "description": "套保品种ID",
  23262. "type": "integer"
  23263. },
  23264. "middlegoodsname": {
  23265. "description": "套保商品名称",
  23266. "type": "string"
  23267. },
  23268. "unexehedgeqty": {
  23269. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  23270. "type": "number"
  23271. }
  23272. }
  23273. },
  23274. "models.Ermcp2stockspotchangelog": {
  23275. "type": "object",
  23276. "properties": {
  23277. "accountname": {
  23278. "description": "套期主体",
  23279. "type": "string"
  23280. },
  23281. "aftervalue": {
  23282. "description": "现货量",
  23283. "type": "number"
  23284. },
  23285. "beforevalue": {
  23286. "description": "变更前现货量",
  23287. "type": "number"
  23288. },
  23289. "contractno": {
  23290. "description": "[编号]现货合同编号",
  23291. "type": "string"
  23292. },
  23293. "contracttype": {
  23294. "description": "现货合同类型 - 1:采购 -1:销售",
  23295. "type": "integer"
  23296. },
  23297. "createtime": {
  23298. "description": "创建时间",
  23299. "type": "string"
  23300. },
  23301. "customerusername": {
  23302. "description": "对手方",
  23303. "type": "string"
  23304. },
  23305. "deliverygoodsid": {
  23306. "description": "现货品种ID",
  23307. "type": "integer"
  23308. },
  23309. "exetype": {
  23310. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  23311. "type": "integer"
  23312. },
  23313. "logid": {
  23314. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  23315. "type": "string"
  23316. },
  23317. "logvalue": {
  23318. "description": "[期间变化量]现货量变更值",
  23319. "type": "number"
  23320. },
  23321. "middlegoodschange": {
  23322. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  23323. "type": "number"
  23324. },
  23325. "operatelogtype": {
  23326. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  23327. "type": "integer"
  23328. },
  23329. "relatedid": {
  23330. "description": "现货合同ID",
  23331. "type": "integer"
  23332. },
  23333. "spotgoodsbrandid": {
  23334. "description": "现货品牌ID",
  23335. "type": "integer"
  23336. },
  23337. "tradedate": {
  23338. "description": "交易日(yyyyMMdd)",
  23339. "type": "string"
  23340. },
  23341. "userid": {
  23342. "description": "机构ID",
  23343. "type": "integer"
  23344. },
  23345. "warehouseinfoid": {
  23346. "description": "仓库ID",
  23347. "type": "integer"
  23348. },
  23349. "wrfactortypeid": {
  23350. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23351. "type": "integer"
  23352. },
  23353. "wrstandardid": {
  23354. "description": "现货商品ID",
  23355. "type": "integer"
  23356. },
  23357. "wrstandardname": {
  23358. "description": "商品名称",
  23359. "type": "string"
  23360. }
  23361. }
  23362. },
  23363. "models.Ermcp3AreaSpot": {
  23364. "type": "object",
  23365. "properties": {
  23366. "areauserid": {
  23367. "description": "所属机构",
  23368. "type": "integer"
  23369. },
  23370. "convertratio": {
  23371. "description": "套保系数",
  23372. "type": "number"
  23373. },
  23374. "decreaseqty": {
  23375. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  23376. "type": "number"
  23377. },
  23378. "enumdicname": {
  23379. "description": "单位名称",
  23380. "type": "string"
  23381. },
  23382. "increaseqty": {
  23383. "description": "增加数量=销售计划数量+采购已定价数量",
  23384. "type": "number"
  23385. },
  23386. "oritoalspotqty": {
  23387. "description": "昨日数量",
  23388. "type": "number"
  23389. },
  23390. "totalspotqty": {
  23391. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  23392. "type": "number"
  23393. },
  23394. "unitid": {
  23395. "description": "现货商品单位id",
  23396. "type": "integer"
  23397. },
  23398. "updatetime": {
  23399. "description": "更新时间",
  23400. "type": "string"
  23401. },
  23402. "wrstandardcode": {
  23403. "description": "现货商品代码",
  23404. "type": "string"
  23405. },
  23406. "wrstandardid": {
  23407. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23408. "type": "integer"
  23409. },
  23410. "wrstandardname": {
  23411. "description": "现货商品名称",
  23412. "type": "string"
  23413. }
  23414. }
  23415. },
  23416. "models.Ermcp3AreaSpotDetail": {
  23417. "type": "object",
  23418. "properties": {
  23419. "contracttype": {
  23420. "description": "合同类型 1-采购 -1-销售",
  23421. "type": "integer"
  23422. },
  23423. "createtime": {
  23424. "description": "创建时间",
  23425. "type": "string"
  23426. },
  23427. "enumdicname": {
  23428. "description": "现货商品单位名称",
  23429. "type": "string"
  23430. },
  23431. "logtype": {
  23432. "description": "记录类型 1-套保 2-现货合同",
  23433. "type": "integer"
  23434. },
  23435. "qty": {
  23436. "description": "数量",
  23437. "type": "number"
  23438. },
  23439. "recordname": {
  23440. "description": "类型名称",
  23441. "type": "string"
  23442. },
  23443. "relatedid": {
  23444. "description": "套保计划ID/现货合同ID",
  23445. "type": "string"
  23446. },
  23447. "relatedno": {
  23448. "description": "编号",
  23449. "type": "string"
  23450. },
  23451. "strtime": {
  23452. "description": "时间",
  23453. "type": "string"
  23454. },
  23455. "wrstandardcode": {
  23456. "description": "现货商品代码",
  23457. "type": "string"
  23458. },
  23459. "wrstandardid": {
  23460. "description": "现货商品ID(SEQ_WRSTANDARD)",
  23461. "type": "integer"
  23462. },
  23463. "wrstandardname": {
  23464. "description": "现货商品名称",
  23465. "type": "string"
  23466. }
  23467. }
  23468. },
  23469. "models.Ermcp3AreaSpotPLReport": {
  23470. "type": "object",
  23471. "properties": {
  23472. "accountid": {
  23473. "description": "期货账户ID (作废, 默认为0)",
  23474. "type": "integer"
  23475. },
  23476. "accountname": {
  23477. "description": "机构名称",
  23478. "type": "string"
  23479. },
  23480. "actualpl": {
  23481. "description": "现货损益",
  23482. "type": "number"
  23483. },
  23484. "areauserid": {
  23485. "description": "所属机构\\交易用户ID",
  23486. "type": "integer"
  23487. },
  23488. "begindate": {
  23489. "description": "开始交易日",
  23490. "type": "string"
  23491. },
  23492. "biztype": {
  23493. "description": "业务类型 - 1:套保 2:套利",
  23494. "type": "integer"
  23495. },
  23496. "brandname": {
  23497. "description": "品牌名称",
  23498. "type": "string"
  23499. },
  23500. "curamount": {
  23501. "description": "期末额",
  23502. "type": "number"
  23503. },
  23504. "curaverageprice": {
  23505. "description": "期初均价",
  23506. "type": "number"
  23507. },
  23508. "curbuyamount": {
  23509. "description": "期末采购总额",
  23510. "type": "number"
  23511. },
  23512. "curbuyqty": {
  23513. "description": "期末采购总量",
  23514. "type": "number"
  23515. },
  23516. "curmarketvalue": {
  23517. "description": "期初均价",
  23518. "type": "number"
  23519. },
  23520. "curqty": {
  23521. "description": "期末量",
  23522. "type": "number"
  23523. },
  23524. "currencyid": {
  23525. "description": "结算币种ID【原值】",
  23526. "type": "integer"
  23527. },
  23528. "currencyname": {
  23529. "description": "币种名称",
  23530. "type": "string"
  23531. },
  23532. "cursellamount": {
  23533. "description": "期末销售总额",
  23534. "type": "number"
  23535. },
  23536. "cursellqty": {
  23537. "description": "期末销售总量",
  23538. "type": "number"
  23539. },
  23540. "curspotprice": {
  23541. "description": "期初均价",
  23542. "type": "number"
  23543. },
  23544. "cycletime": {
  23545. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  23546. "type": "string"
  23547. },
  23548. "cycletype": {
  23549. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  23550. "type": "integer"
  23551. },
  23552. "deliverygoodscode": {
  23553. "description": "现货品种代码",
  23554. "type": "string"
  23555. },
  23556. "deliverygoodsid": {
  23557. "description": "现货品种ID",
  23558. "type": "integer"
  23559. },
  23560. "deliverygoodsname": {
  23561. "description": "现货品种名称",
  23562. "type": "string"
  23563. },
  23564. "enddate": {
  23565. "description": "结束交易日",
  23566. "type": "string"
  23567. },
  23568. "enumdicname": {
  23569. "description": "现货品种单位名称(作废)",
  23570. "type": "string"
  23571. },
  23572. "floatpl": {
  23573. "description": "期初均价",
  23574. "type": "number"
  23575. },
  23576. "goodsunitid": {
  23577. "description": "现货品种单位id(作废)",
  23578. "type": "integer"
  23579. },
  23580. "oriamount": {
  23581. "description": "期初额",
  23582. "type": "number"
  23583. },
  23584. "oriaverageprice": {
  23585. "description": "期初均价",
  23586. "type": "number"
  23587. },
  23588. "oribuyamount": {
  23589. "description": "期初采购总额",
  23590. "type": "number"
  23591. },
  23592. "oribuyqty": {
  23593. "description": "期初采购总量",
  23594. "type": "number"
  23595. },
  23596. "oriqty": {
  23597. "description": "期初量",
  23598. "type": "number"
  23599. },
  23600. "orisellamount": {
  23601. "description": "期初销售总额",
  23602. "type": "number"
  23603. },
  23604. "orisellqty": {
  23605. "description": "期初销售总量",
  23606. "type": "number"
  23607. },
  23608. "reckondate": {
  23609. "description": "日照时期(yyyyMMdd)",
  23610. "type": "string"
  23611. },
  23612. "spotgoodsbrandid": {
  23613. "description": "现货品牌ID",
  23614. "type": "integer"
  23615. },
  23616. "todaybuyamount": {
  23617. "description": "今日采购额(今采购额)",
  23618. "type": "number"
  23619. },
  23620. "todaybuyaverageprice": {
  23621. "description": "期初均价",
  23622. "type": "number"
  23623. },
  23624. "todaybuyqty": {
  23625. "description": "今日采购量(今采购量)",
  23626. "type": "number"
  23627. },
  23628. "todayinqty": {
  23629. "description": "今日入库量(今入库量)",
  23630. "type": "number"
  23631. },
  23632. "todayoutqty": {
  23633. "description": "今日出库量(今出库量)",
  23634. "type": "number"
  23635. },
  23636. "todaysellamount": {
  23637. "description": "今日销售额(今销售额)",
  23638. "type": "number"
  23639. },
  23640. "todaysellaverageprice": {
  23641. "description": "期初均价",
  23642. "type": "number"
  23643. },
  23644. "todaysellqty": {
  23645. "description": "今日销售量(今销售量)",
  23646. "type": "number"
  23647. },
  23648. "unitid": {
  23649. "description": "品类单位id",
  23650. "type": "integer"
  23651. },
  23652. "unitidname": {
  23653. "description": "品类单位名称",
  23654. "type": "string"
  23655. },
  23656. "updatetime": {
  23657. "description": "更新时间",
  23658. "type": "string"
  23659. },
  23660. "wrfactortypeid": {
  23661. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  23662. "type": "integer"
  23663. },
  23664. "wrstandardcode": {
  23665. "description": "现货商品(品类)代码",
  23666. "type": "string"
  23667. },
  23668. "wrstandardid": {
  23669. "description": "现货品类ID",
  23670. "type": "integer"
  23671. },
  23672. "wrstandardname": {
  23673. "description": "现货商品(品类)名称",
  23674. "type": "string"
  23675. }
  23676. }
  23677. },
  23678. "models.Ermcp3AreaStock": {
  23679. "type": "object",
  23680. "required": [
  23681. "userid"
  23682. ],
  23683. "properties": {
  23684. "brandname": {
  23685. "description": "品牌名称",
  23686. "type": "string"
  23687. },
  23688. "curstock": {
  23689. "description": "期末库存量(今日量)",
  23690. "type": "number"
  23691. },
  23692. "deliverygoodscode": {
  23693. "description": "现货品种代码",
  23694. "type": "string"
  23695. },
  23696. "deliverygoodsid": {
  23697. "description": "现货品种id",
  23698. "type": "integer"
  23699. },
  23700. "deliverygoodsname": {
  23701. "description": "现货品种名称",
  23702. "type": "string"
  23703. },
  23704. "enumdicname": {
  23705. "description": "单位名称",
  23706. "type": "string"
  23707. },
  23708. "goodsunitid": {
  23709. "description": "现货商品单位id",
  23710. "type": "integer"
  23711. },
  23712. "oristock": {
  23713. "description": "期初库存量(昨日量)",
  23714. "type": "number"
  23715. },
  23716. "spotgoodsbrandid": {
  23717. "description": "现货品牌ID",
  23718. "type": "integer"
  23719. },
  23720. "todaybuyinqty": {
  23721. "description": "今日采购入库量",
  23722. "type": "number"
  23723. },
  23724. "todayproduceinqty": {
  23725. "description": "今日生产入库量",
  23726. "type": "number"
  23727. },
  23728. "todayproduceoutqty": {
  23729. "description": "今日生产出库量",
  23730. "type": "number"
  23731. },
  23732. "todayselloutqty": {
  23733. "description": "今日销售出库量",
  23734. "type": "number"
  23735. },
  23736. "unitid": {
  23737. "description": "单位id",
  23738. "type": "integer"
  23739. },
  23740. "updatetime": {
  23741. "description": "更新时间",
  23742. "type": "string"
  23743. },
  23744. "userid": {
  23745. "description": "机构ID",
  23746. "type": "integer"
  23747. },
  23748. "username": {
  23749. "description": "机构名称",
  23750. "type": "string"
  23751. },
  23752. "warehousecode": {
  23753. "description": "仓库代码",
  23754. "type": "string"
  23755. },
  23756. "warehouseinfoid": {
  23757. "description": "仓库ID",
  23758. "type": "string"
  23759. },
  23760. "warehousename": {
  23761. "description": "仓库名称",
  23762. "type": "string"
  23763. },
  23764. "warehousetype": {
  23765. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23766. "type": "integer"
  23767. },
  23768. "wrstandardcode": {
  23769. "description": "品类代码",
  23770. "type": "string"
  23771. },
  23772. "wrstandardid": {
  23773. "description": "品类ID",
  23774. "type": "string"
  23775. },
  23776. "wrstandardname": {
  23777. "description": "品类名称",
  23778. "type": "string"
  23779. }
  23780. }
  23781. },
  23782. "models.Ermcp3AreaStockApply": {
  23783. "type": "object",
  23784. "properties": {
  23785. "applyid": {
  23786. "description": "申请人",
  23787. "type": "integer"
  23788. },
  23789. "applyname": {
  23790. "description": "申请人名称",
  23791. "type": "string"
  23792. },
  23793. "applyremark": {
  23794. "description": "申请备注",
  23795. "type": "string"
  23796. },
  23797. "applysrc": {
  23798. "description": "申请来源 - 1:管理端 2:终端",
  23799. "type": "integer"
  23800. },
  23801. "applystatus": {
  23802. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  23803. "type": "integer"
  23804. },
  23805. "applytime": {
  23806. "description": "申请时间",
  23807. "type": "string"
  23808. },
  23809. "auditid": {
  23810. "description": "审核人",
  23811. "type": "integer"
  23812. },
  23813. "auditname": {
  23814. "description": "审核人名称",
  23815. "type": "string"
  23816. },
  23817. "auditremark": {
  23818. "description": "审核备注",
  23819. "type": "string"
  23820. },
  23821. "auditsrc": {
  23822. "description": "审核来源 - 1:管理端 2:终端",
  23823. "type": "integer"
  23824. },
  23825. "audittime": {
  23826. "description": "审核时间",
  23827. "type": "string"
  23828. },
  23829. "audittradedate": {
  23830. "description": "审核交易日(yyyyMMdd)",
  23831. "type": "string"
  23832. },
  23833. "brandname": {
  23834. "description": "品牌名称",
  23835. "type": "string"
  23836. },
  23837. "buynickname": {
  23838. "description": "采购方昵称",
  23839. "type": "string"
  23840. },
  23841. "buyuserid": {
  23842. "description": "采购方userid",
  23843. "type": "integer"
  23844. },
  23845. "buyusername": {
  23846. "description": "采购方名称",
  23847. "type": "string"
  23848. },
  23849. "contractno": {
  23850. "description": "合同编号",
  23851. "type": "string"
  23852. },
  23853. "contractqty": {
  23854. "description": "合同量",
  23855. "type": "number"
  23856. },
  23857. "contracttype": {
  23858. "description": "现货合同类型 - 1:采购 -1:销售",
  23859. "type": "integer"
  23860. },
  23861. "deliverygoodscode": {
  23862. "description": "现货品种代码",
  23863. "type": "string"
  23864. },
  23865. "deliverygoodsid": {
  23866. "description": "现货品种id",
  23867. "type": "integer"
  23868. },
  23869. "deliverygoodsname": {
  23870. "description": "现货品种名称",
  23871. "type": "string"
  23872. },
  23873. "detailjson": {
  23874. "description": "明细数据",
  23875. "type": "string"
  23876. },
  23877. "enumdicname": {
  23878. "description": "现货商品单位名称",
  23879. "type": "string"
  23880. },
  23881. "inoutapplyid": {
  23882. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  23883. "type": "string"
  23884. },
  23885. "inouttype": {
  23886. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23887. "type": "integer"
  23888. },
  23889. "pricetype": {
  23890. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  23891. "type": "integer"
  23892. },
  23893. "qty": {
  23894. "description": "数量",
  23895. "type": "number"
  23896. },
  23897. "sellnickname": {
  23898. "description": "销售方昵称",
  23899. "type": "string"
  23900. },
  23901. "selluserid": {
  23902. "description": "销售方userid",
  23903. "type": "integer"
  23904. },
  23905. "sellusername": {
  23906. "description": "销售方名称",
  23907. "type": "string"
  23908. },
  23909. "spotcontractid": {
  23910. "description": "关联现货合同ID",
  23911. "type": "string"
  23912. },
  23913. "spotgoodsbrandid": {
  23914. "description": "现货品牌ID",
  23915. "type": "integer"
  23916. },
  23917. "unitid": {
  23918. "description": "单位id",
  23919. "type": "integer"
  23920. },
  23921. "userid": {
  23922. "description": "机构ID",
  23923. "type": "integer"
  23924. },
  23925. "warehousecode": {
  23926. "description": "仓库代码",
  23927. "type": "string"
  23928. },
  23929. "warehouseinfoid": {
  23930. "description": "现货仓库ID",
  23931. "type": "string"
  23932. },
  23933. "warehousename": {
  23934. "description": "仓库名称",
  23935. "type": "string"
  23936. },
  23937. "warehousetype": {
  23938. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  23939. "type": "integer"
  23940. },
  23941. "wrstandardcode": {
  23942. "description": "品类代码",
  23943. "type": "string"
  23944. },
  23945. "wrstandardid": {
  23946. "description": "品类ID",
  23947. "type": "integer"
  23948. },
  23949. "wrstandardname": {
  23950. "description": "品类名称",
  23951. "type": "string"
  23952. }
  23953. }
  23954. },
  23955. "models.Ermcp3AreaStockApplySum": {
  23956. "type": "object",
  23957. "properties": {
  23958. "brandname": {
  23959. "description": "品牌名称",
  23960. "type": "string"
  23961. },
  23962. "inouttype": {
  23963. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  23964. "type": "integer"
  23965. },
  23966. "spotcontractid": {
  23967. "description": "关联现货合同ID",
  23968. "type": "string"
  23969. },
  23970. "spotgoodsbrandid": {
  23971. "description": "品牌id",
  23972. "type": "integer"
  23973. },
  23974. "totalqty": {
  23975. "description": "总数量",
  23976. "type": "number"
  23977. },
  23978. "wrstandardid": {
  23979. "description": "品类id",
  23980. "type": "integer"
  23981. },
  23982. "wrstandardname": {
  23983. "description": "品类名称",
  23984. "type": "string"
  23985. }
  23986. }
  23987. },
  23988. "models.Ermcp3AreaStockReportEx": {
  23989. "type": "object",
  23990. "properties": {
  23991. "begindate": {
  23992. "description": "开始交易日",
  23993. "type": "string"
  23994. },
  23995. "brandname": {
  23996. "description": "品牌名称",
  23997. "type": "string"
  23998. },
  23999. "curstock": {
  24000. "description": "期末库存量",
  24001. "type": "number"
  24002. },
  24003. "cycletime": {
  24004. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24005. "type": "string"
  24006. },
  24007. "cycletype": {
  24008. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24009. "type": "integer"
  24010. },
  24011. "deliverygoodscode": {
  24012. "description": "现货品种代码",
  24013. "type": "string"
  24014. },
  24015. "deliverygoodsid": {
  24016. "description": "现货品种id",
  24017. "type": "integer"
  24018. },
  24019. "deliverygoodsname": {
  24020. "description": "现货品种名称",
  24021. "type": "string"
  24022. },
  24023. "diffqty": {
  24024. "description": "库存变化量 = 期末 - 期初",
  24025. "type": "number"
  24026. },
  24027. "enddate": {
  24028. "description": "结束交易日",
  24029. "type": "string"
  24030. },
  24031. "enumdicname": {
  24032. "description": "单位名称",
  24033. "type": "string"
  24034. },
  24035. "goodsunitid": {
  24036. "description": "现货单位id",
  24037. "type": "integer"
  24038. },
  24039. "oristock": {
  24040. "description": "期初库存量",
  24041. "type": "number"
  24042. },
  24043. "reckondate": {
  24044. "description": "日照时期(yyyyMMdd)",
  24045. "type": "string"
  24046. },
  24047. "spotgoodsbrandid": {
  24048. "description": "现货品牌ID",
  24049. "type": "integer"
  24050. },
  24051. "todaybuyinqty": {
  24052. "description": "今采购入库量",
  24053. "type": "number"
  24054. },
  24055. "todayproduceinqty": {
  24056. "description": "今内部入库量",
  24057. "type": "number"
  24058. },
  24059. "todayproduceoutqty": {
  24060. "description": "今内部出库量",
  24061. "type": "number"
  24062. },
  24063. "todayselloutqty": {
  24064. "description": "今销售出库量",
  24065. "type": "number"
  24066. },
  24067. "unbuyinqty": {
  24068. "description": "采购未入库量(数据库未找到相关字段?)",
  24069. "type": "number"
  24070. },
  24071. "unitid": {
  24072. "description": "品类单位id",
  24073. "type": "integer"
  24074. },
  24075. "unselloutqty": {
  24076. "description": "销售未出库量(数据库未找到相关字段?)",
  24077. "type": "number"
  24078. },
  24079. "updatetime": {
  24080. "description": "更新时间",
  24081. "type": "string"
  24082. },
  24083. "userid": {
  24084. "description": "机构ID",
  24085. "type": "integer"
  24086. },
  24087. "username": {
  24088. "description": "机构名称",
  24089. "type": "string"
  24090. },
  24091. "warehousecode": {
  24092. "description": "仓库代码",
  24093. "type": "string"
  24094. },
  24095. "warehouseinfoid": {
  24096. "description": "仓库ID",
  24097. "type": "string"
  24098. },
  24099. "warehousename": {
  24100. "description": "仓库名称",
  24101. "type": "string"
  24102. },
  24103. "warehousetype": {
  24104. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24105. "type": "integer"
  24106. },
  24107. "wrstandardcode": {
  24108. "description": "品类代码",
  24109. "type": "string"
  24110. },
  24111. "wrstandardid": {
  24112. "description": "品类ID",
  24113. "type": "integer"
  24114. },
  24115. "wrstandardname": {
  24116. "description": "品类名称",
  24117. "type": "string"
  24118. }
  24119. }
  24120. },
  24121. "models.Ermcp3ArealSumPL": {
  24122. "type": "object",
  24123. "properties": {
  24124. "accountname": {
  24125. "description": "机构名称",
  24126. "type": "string"
  24127. },
  24128. "areauserid": {
  24129. "description": "所属机构\\交易用户ID",
  24130. "type": "integer"
  24131. },
  24132. "begindate": {
  24133. "description": "开始交易日",
  24134. "type": "string"
  24135. },
  24136. "currencyid": {
  24137. "description": "结算币种ID",
  24138. "type": "integer"
  24139. },
  24140. "currencyname": {
  24141. "description": "币种名称",
  24142. "type": "string"
  24143. },
  24144. "cycletime": {
  24145. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24146. "type": "string"
  24147. },
  24148. "cycletype": {
  24149. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24150. "type": "integer"
  24151. },
  24152. "enddate": {
  24153. "description": "结束交易日",
  24154. "type": "string"
  24155. },
  24156. "enumdicname": {
  24157. "description": "单位名称(套保品种)",
  24158. "type": "string"
  24159. },
  24160. "futureactualpl": {
  24161. "description": "期货损益",
  24162. "type": "number"
  24163. },
  24164. "futurefloatpl": {
  24165. "description": "期货浮动损益",
  24166. "type": "number"
  24167. },
  24168. "futurespotratio": {
  24169. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  24170. "type": "number"
  24171. },
  24172. "goodsunitid": {
  24173. "description": "套保品种单位id",
  24174. "type": "integer"
  24175. },
  24176. "hedgeexposurepl": {
  24177. "description": "套保敞口损益",
  24178. "type": "number"
  24179. },
  24180. "middlegoodscode": {
  24181. "description": "套保品种代码",
  24182. "type": "string"
  24183. },
  24184. "middlegoodsid": {
  24185. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24186. "type": "integer"
  24187. },
  24188. "middlegoodsname": {
  24189. "description": "套保品种名称",
  24190. "type": "string"
  24191. },
  24192. "reckondate": {
  24193. "description": "日照时期(yyyyMMdd)",
  24194. "type": "string"
  24195. },
  24196. "spotactualpl": {
  24197. "description": "现货损益",
  24198. "type": "number"
  24199. },
  24200. "spotfloatpl": {
  24201. "description": "现货浮动损益",
  24202. "type": "number"
  24203. },
  24204. "sumactualpl": {
  24205. "description": "实际损益 = (ActualPL + FutureActualPL)",
  24206. "type": "number"
  24207. },
  24208. "sumpl": {
  24209. "description": "总敞口损益 | 汇总损益",
  24210. "type": "number"
  24211. },
  24212. "totalfutureqty": {
  24213. "description": "期货头寸总量",
  24214. "type": "number"
  24215. },
  24216. "totalneedhedgeqty": {
  24217. "description": "应套保总量",
  24218. "type": "number"
  24219. },
  24220. "totalspotqty": {
  24221. "description": "现货头寸总量",
  24222. "type": "number"
  24223. },
  24224. "updatetime": {
  24225. "description": "更新时间",
  24226. "type": "string"
  24227. }
  24228. }
  24229. },
  24230. "models.Ermcp3Brand": {
  24231. "type": "object",
  24232. "properties": {
  24233. "areauserid": {
  24234. "description": "用户id",
  24235. "type": "integer"
  24236. },
  24237. "brandid": {
  24238. "description": "品牌id",
  24239. "type": "integer"
  24240. },
  24241. "brandname": {
  24242. "description": "品牌名称",
  24243. "type": "string"
  24244. },
  24245. "deliverygoodsid": {
  24246. "description": "品种ID",
  24247. "type": "integer"
  24248. },
  24249. "isvalid": {
  24250. "description": "是否有效",
  24251. "type": "integer"
  24252. }
  24253. }
  24254. },
  24255. "models.Ermcp3Contract": {
  24256. "type": "object",
  24257. "properties": {
  24258. "accountid": {
  24259. "description": "期货账户id",
  24260. "type": "string"
  24261. },
  24262. "amount": {
  24263. "description": "金额 [1:一口价、3:暂定价]",
  24264. "type": "number"
  24265. },
  24266. "attachment": {
  24267. "description": "附件",
  24268. "type": "string"
  24269. },
  24270. "auditremark": {
  24271. "description": "审核意见",
  24272. "type": "string"
  24273. },
  24274. "audittime": {
  24275. "description": "审核时间",
  24276. "type": "string"
  24277. },
  24278. "biztype": {
  24279. "description": "业务类型 1-套保 2-套利",
  24280. "type": "integer"
  24281. },
  24282. "brandname": {
  24283. "description": "品牌名称",
  24284. "type": "string"
  24285. },
  24286. "buynickname": {
  24287. "description": "销售方昵称",
  24288. "type": "string"
  24289. },
  24290. "buyuserid": {
  24291. "description": "采购方ID",
  24292. "type": "integer"
  24293. },
  24294. "buyusername": {
  24295. "description": "采购方名称",
  24296. "type": "string"
  24297. },
  24298. "contracctstatus": {
  24299. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24300. "type": "integer"
  24301. },
  24302. "contractmargin": {
  24303. "description": "合同保证金",
  24304. "type": "number"
  24305. },
  24306. "contractno": {
  24307. "description": "现货合同编号",
  24308. "type": "string"
  24309. },
  24310. "contracttype": {
  24311. "description": "现货合同类型 - 1:采购 -1:销售",
  24312. "type": "integer"
  24313. },
  24314. "convertfactor": {
  24315. "description": "标仓系数(品类)",
  24316. "type": "number"
  24317. },
  24318. "createtime": {
  24319. "description": "创建时间",
  24320. "type": "string"
  24321. },
  24322. "currencyid": {
  24323. "description": "币种id",
  24324. "type": "integer"
  24325. },
  24326. "currencyname": {
  24327. "description": "币种名称",
  24328. "type": "string"
  24329. },
  24330. "deliveryenddate": {
  24331. "description": "交收期(结束)",
  24332. "type": "string"
  24333. },
  24334. "deliverygoodscode": {
  24335. "description": "现货品种代码",
  24336. "type": "string"
  24337. },
  24338. "deliverygoodsid": {
  24339. "description": "现货品种ID",
  24340. "type": "integer"
  24341. },
  24342. "deliverygoodsname": {
  24343. "description": "现货品种名称",
  24344. "type": "string"
  24345. },
  24346. "deliverystartdate": {
  24347. "description": "交收期(开始)",
  24348. "type": "string"
  24349. },
  24350. "enddate": {
  24351. "description": "点价结束日期 [2:点价 3:暂定价]",
  24352. "type": "string"
  24353. },
  24354. "enumdicname": {
  24355. "description": "单位名称",
  24356. "type": "string"
  24357. },
  24358. "goodscode": {
  24359. "description": "点价合约代码",
  24360. "type": "string"
  24361. },
  24362. "goodsid": {
  24363. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  24364. "type": "integer"
  24365. },
  24366. "goodsname": {
  24367. "description": "点价商品名称",
  24368. "type": "string"
  24369. },
  24370. "margin": {
  24371. "description": "当前保证金",
  24372. "type": "number"
  24373. },
  24374. "meruserid": {
  24375. "description": "跟单员id",
  24376. "type": "integer"
  24377. },
  24378. "meruserlogincode": {
  24379. "description": "跟单员登录代码",
  24380. "type": "string"
  24381. },
  24382. "merusername": {
  24383. "description": "跟单员名称",
  24384. "type": "string"
  24385. },
  24386. "pointdesc": {
  24387. "description": "点价备注",
  24388. "type": "string"
  24389. },
  24390. "price": {
  24391. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  24392. "type": "number"
  24393. },
  24394. "pricemove": {
  24395. "description": "升贴水 [2:点价 3:暂定价]",
  24396. "type": "number"
  24397. },
  24398. "pricetype": {
  24399. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24400. "type": "integer"
  24401. },
  24402. "producttype": {
  24403. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  24404. "type": "integer"
  24405. },
  24406. "qty": {
  24407. "description": "数量",
  24408. "type": "number"
  24409. },
  24410. "remark": {
  24411. "description": "备注",
  24412. "type": "string"
  24413. },
  24414. "saleuserid": {
  24415. "description": "业务员id",
  24416. "type": "integer"
  24417. },
  24418. "saleuserlogincode": {
  24419. "description": "业务员登录代码",
  24420. "type": "string"
  24421. },
  24422. "saleusername": {
  24423. "description": "业务员名称",
  24424. "type": "string"
  24425. },
  24426. "sellnickname": {
  24427. "description": "采购方昵称",
  24428. "type": "string"
  24429. },
  24430. "selluserid": {
  24431. "description": "销售方ID",
  24432. "type": "integer"
  24433. },
  24434. "sellusername": {
  24435. "description": "销售方名称",
  24436. "type": "string"
  24437. },
  24438. "spotcontractid": {
  24439. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24440. "type": "string"
  24441. },
  24442. "spotgoodsbrandid": {
  24443. "description": "现货品牌ID(DGFactoryItem表的ID)",
  24444. "type": "integer"
  24445. },
  24446. "spotgoodsdesc": {
  24447. "description": "商品型号",
  24448. "type": "string"
  24449. },
  24450. "startdate": {
  24451. "description": "点价开始日期 [2:点价 3:暂定价]",
  24452. "type": "string"
  24453. },
  24454. "subjectid": {
  24455. "description": "交易主体ID",
  24456. "type": "integer"
  24457. },
  24458. "subjectname": {
  24459. "description": "交易主体名称",
  24460. "type": "string"
  24461. },
  24462. "tradeuserid": {
  24463. "description": "交易员id",
  24464. "type": "integer"
  24465. },
  24466. "tradeuserlogincode": {
  24467. "description": "交易员登录代码",
  24468. "type": "string"
  24469. },
  24470. "tradeusername": {
  24471. "description": "交易员名称",
  24472. "type": "string"
  24473. },
  24474. "unitid": {
  24475. "description": "单位id(取品类上的单位id)",
  24476. "type": "integer"
  24477. },
  24478. "updatetime": {
  24479. "description": "更新时间",
  24480. "type": "string"
  24481. },
  24482. "userid": {
  24483. "description": "所属机构ID",
  24484. "type": "integer"
  24485. },
  24486. "vatrate": {
  24487. "description": "增值税率",
  24488. "type": "number"
  24489. },
  24490. "wrstandardcode": {
  24491. "description": "品类代码",
  24492. "type": "string"
  24493. },
  24494. "wrstandardid": {
  24495. "description": "品类ID",
  24496. "type": "integer"
  24497. },
  24498. "wrstandardname": {
  24499. "description": "品类名称",
  24500. "type": "string"
  24501. }
  24502. }
  24503. },
  24504. "models.Ermcp3ContractMiddleGoodsCfg": {
  24505. "type": "object",
  24506. "properties": {
  24507. "agreeunit": {
  24508. "description": "合约乘数",
  24509. "type": "number"
  24510. },
  24511. "convertratio": {
  24512. "description": "期货品种系数",
  24513. "type": "number"
  24514. },
  24515. "covertqty": {
  24516. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  24517. "type": "integer"
  24518. },
  24519. "middlegoodsid": {
  24520. "description": "套保品种ID",
  24521. "type": "integer"
  24522. },
  24523. "middlegoodspricedqty3": {
  24524. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  24525. "type": "string",
  24526. "example": "0"
  24527. },
  24528. "pendingpricedqty": {
  24529. "description": "待点价量",
  24530. "type": "string",
  24531. "example": "0"
  24532. },
  24533. "relatedmiddlegoodsqty": {
  24534. "description": "已关联量(套保品种-期货)",
  24535. "type": "string",
  24536. "example": "0"
  24537. },
  24538. "spotcontractid": {
  24539. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  24540. "type": "string"
  24541. }
  24542. }
  24543. },
  24544. "models.Ermcp3ExposureContractDetail": {
  24545. "type": "object",
  24546. "properties": {
  24547. "biztype": {
  24548. "description": "业务类型 1-套保 2-套利",
  24549. "type": "integer"
  24550. },
  24551. "brandname": {
  24552. "description": "品牌名称",
  24553. "type": "string"
  24554. },
  24555. "buyuserid": {
  24556. "description": "采购方id",
  24557. "type": "integer"
  24558. },
  24559. "buyusername": {
  24560. "description": "采购方名称",
  24561. "type": "string"
  24562. },
  24563. "contractno": {
  24564. "description": "合同编号",
  24565. "type": "string"
  24566. },
  24567. "contracttype": {
  24568. "description": "现货合同类型 - 1:采购 -1:销售",
  24569. "type": "integer"
  24570. },
  24571. "convertfactor": {
  24572. "description": "标仓系数",
  24573. "type": "number"
  24574. },
  24575. "convertratio": {
  24576. "description": "折算系数(套保品种)",
  24577. "type": "number"
  24578. },
  24579. "curqty": {
  24580. "description": "今定价量",
  24581. "type": "number"
  24582. },
  24583. "deliverygoodscode": {
  24584. "description": "现货品种代码",
  24585. "type": "string"
  24586. },
  24587. "deliverygoodsid": {
  24588. "description": "现货品种id",
  24589. "type": "integer"
  24590. },
  24591. "deliverygoodsname": {
  24592. "description": "现货品种名称",
  24593. "type": "string"
  24594. },
  24595. "diffhedgeqty": {
  24596. "description": "套保变动量",
  24597. "type": "number"
  24598. },
  24599. "diffneedhedgeqty": {
  24600. "description": "应套保变动量",
  24601. "type": "number"
  24602. },
  24603. "diffqty": {
  24604. "description": "套保品种今变动量",
  24605. "type": "number"
  24606. },
  24607. "enumdicname": {
  24608. "description": "单位名称",
  24609. "type": "string"
  24610. },
  24611. "mgunitname": {
  24612. "description": "套保品种单位名称",
  24613. "type": "string"
  24614. },
  24615. "middlegoodscode": {
  24616. "description": "套保品种代码",
  24617. "type": "string"
  24618. },
  24619. "middlegoodsid": {
  24620. "description": "套保品种id",
  24621. "type": "integer"
  24622. },
  24623. "middlegoodsname": {
  24624. "description": "套保品种名称",
  24625. "type": "string"
  24626. },
  24627. "needarbitrageratio": {
  24628. "description": "应套利比例",
  24629. "type": "number"
  24630. },
  24631. "needhedgeratio": {
  24632. "description": "应套保比例",
  24633. "type": "number"
  24634. },
  24635. "pricedqty": {
  24636. "description": "已定价量",
  24637. "type": "number"
  24638. },
  24639. "qty": {
  24640. "description": "合同量",
  24641. "type": "number"
  24642. },
  24643. "reckondate": {
  24644. "description": "交易日(reckondate)",
  24645. "type": "string"
  24646. },
  24647. "selluserid": {
  24648. "description": "销售方id",
  24649. "type": "integer"
  24650. },
  24651. "sellusername": {
  24652. "description": "销售方名称",
  24653. "type": "string"
  24654. },
  24655. "spotcontractid": {
  24656. "description": "合同id",
  24657. "type": "string"
  24658. },
  24659. "todaypricedqty": {
  24660. "description": "今定价量",
  24661. "type": "number"
  24662. },
  24663. "tradedate": {
  24664. "description": "交易日",
  24665. "type": "string"
  24666. },
  24667. "unitid": {
  24668. "description": "品类单位id",
  24669. "type": "integer"
  24670. },
  24671. "userid": {
  24672. "description": "机构id",
  24673. "type": "integer"
  24674. },
  24675. "username": {
  24676. "description": "交易用户",
  24677. "type": "string"
  24678. },
  24679. "wrstandardcode": {
  24680. "description": "现货商品代码",
  24681. "type": "string"
  24682. },
  24683. "wrstandardid": {
  24684. "description": "现货商品id",
  24685. "type": "integer"
  24686. },
  24687. "wrstandardname": {
  24688. "description": "现货商品名称",
  24689. "type": "string"
  24690. }
  24691. }
  24692. },
  24693. "models.Ermcp3ExposureDetail": {
  24694. "type": "object",
  24695. "properties": {
  24696. "areauserid": {
  24697. "description": "机构ID",
  24698. "type": "integer"
  24699. },
  24700. "changeQty": {
  24701. "description": "套保变动量",
  24702. "type": "number"
  24703. },
  24704. "contracttype": {
  24705. "description": "现货合同类型 - 1:采购 -1:销售",
  24706. "type": "integer"
  24707. },
  24708. "convertfactor": {
  24709. "description": "标仓系数",
  24710. "type": "number"
  24711. },
  24712. "convertratio": {
  24713. "description": "折算系数",
  24714. "type": "number"
  24715. },
  24716. "createtime": {
  24717. "description": "时间",
  24718. "type": "string"
  24719. },
  24720. "enumdicname": {
  24721. "description": "现货商品单位名称",
  24722. "type": "string"
  24723. },
  24724. "logtype": {
  24725. "description": "类型 - 1:套保计划 2:现货合同",
  24726. "type": "integer"
  24727. },
  24728. "mgunitid": {
  24729. "description": "套保品种单位id",
  24730. "type": "integer"
  24731. },
  24732. "mgunitidname": {
  24733. "description": "套保品种单位名称",
  24734. "type": "string"
  24735. },
  24736. "middlegoodsId": {
  24737. "description": "套保商品id",
  24738. "type": "integer"
  24739. },
  24740. "middlegoodscode": {
  24741. "description": "套保商品代码",
  24742. "type": "string"
  24743. },
  24744. "middlegoodsname": {
  24745. "description": "套保商品名称",
  24746. "type": "string"
  24747. },
  24748. "qty": {
  24749. "description": "数量",
  24750. "type": "number"
  24751. },
  24752. "relateNo": {
  24753. "description": "现货合同/套保计划编号",
  24754. "type": "string"
  24755. },
  24756. "unitid": {
  24757. "description": "现货商品单位id",
  24758. "type": "integer"
  24759. },
  24760. "wrstandardcode": {
  24761. "description": "现货商品代码",
  24762. "type": "string"
  24763. },
  24764. "wrstandardid": {
  24765. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24766. "type": "integer"
  24767. },
  24768. "wrstandardname": {
  24769. "description": "现货商品名称",
  24770. "type": "string"
  24771. }
  24772. }
  24773. },
  24774. "models.Ermcp3ExposureFutuDetail": {
  24775. "type": "object",
  24776. "properties": {
  24777. "accountid": {
  24778. "description": "交易账户id",
  24779. "type": "integer"
  24780. },
  24781. "accountname": {
  24782. "description": "交易账户",
  24783. "type": "string"
  24784. },
  24785. "begindate": {
  24786. "description": "开始交易日",
  24787. "type": "string"
  24788. },
  24789. "buyorsell": {
  24790. "description": "方向 0-买 1-卖",
  24791. "type": "integer"
  24792. },
  24793. "diffmgqty": {
  24794. "description": "套保品种今变化量",
  24795. "type": "number"
  24796. },
  24797. "diffneedqty": {
  24798. "description": "应套保总量变化量",
  24799. "type": "number"
  24800. },
  24801. "difftradeqty": {
  24802. "description": "交易品种今变化量",
  24803. "type": "number"
  24804. },
  24805. "enddate": {
  24806. "description": "结束交易日",
  24807. "type": "string"
  24808. },
  24809. "enumdicname": {
  24810. "description": "单位名称",
  24811. "type": "string"
  24812. },
  24813. "goodscode": {
  24814. "description": "商品代码",
  24815. "type": "string"
  24816. },
  24817. "goodsid": {
  24818. "description": "商品id",
  24819. "type": "integer"
  24820. },
  24821. "goodsname": {
  24822. "description": "商品名称",
  24823. "type": "string"
  24824. },
  24825. "holdqty": {
  24826. "description": "期末持仓量",
  24827. "type": "number"
  24828. },
  24829. "middlegoodscode": {
  24830. "description": "套保商品代码",
  24831. "type": "string"
  24832. },
  24833. "middlegoodsid": {
  24834. "description": "套保商品id",
  24835. "type": "integer"
  24836. },
  24837. "middlegoodsname": {
  24838. "description": "套保商品名称",
  24839. "type": "string"
  24840. },
  24841. "oriholdqty": {
  24842. "description": "期初持仓量",
  24843. "type": "number"
  24844. },
  24845. "reckondate": {
  24846. "description": "交易日(RECKONDATE)",
  24847. "type": "string"
  24848. },
  24849. "todaycloseqty": {
  24850. "description": "今平仓量",
  24851. "type": "number"
  24852. },
  24853. "todayopenqty": {
  24854. "description": "今开仓量",
  24855. "type": "number"
  24856. },
  24857. "tradedate": {
  24858. "description": "交易日(RECKONDATE)",
  24859. "type": "string"
  24860. },
  24861. "username": {
  24862. "description": "用户名称(交易用户)",
  24863. "type": "string"
  24864. }
  24865. }
  24866. },
  24867. "models.Ermcp3ExposureHedgeplanDetail": {
  24868. "type": "object",
  24869. "properties": {
  24870. "biztype": {
  24871. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  24872. "type": "integer"
  24873. },
  24874. "changqty": {
  24875. "description": "应套保总量变化量",
  24876. "type": "number"
  24877. },
  24878. "contracttype": {
  24879. "description": "计划类型 - 1:采购 -1:销售",
  24880. "type": "integer"
  24881. },
  24882. "convertratio": {
  24883. "description": "折算系数(套保品种)",
  24884. "type": "number"
  24885. },
  24886. "deliverygoodscode": {
  24887. "description": "现货商品代码",
  24888. "type": "string"
  24889. },
  24890. "deliverygoodsid": {
  24891. "description": "现货商品id",
  24892. "type": "integer"
  24893. },
  24894. "deliverygoodsname": {
  24895. "description": "现货商吕名称",
  24896. "type": "string"
  24897. },
  24898. "dgunitid": {
  24899. "description": "现货商品单位id",
  24900. "type": "integer"
  24901. },
  24902. "dgunitidname": {
  24903. "description": "单位名称(现货商品)",
  24904. "type": "string"
  24905. },
  24906. "diffqty": {
  24907. "description": "套保品种今变动量",
  24908. "type": "number"
  24909. },
  24910. "enumdicname": {
  24911. "description": "单位名称(品类)",
  24912. "type": "string"
  24913. },
  24914. "hedgeplanid": {
  24915. "description": "套保计划id",
  24916. "type": "string"
  24917. },
  24918. "hedgeplanno": {
  24919. "description": "套保计划名称",
  24920. "type": "string"
  24921. },
  24922. "hedgeplanstatus": {
  24923. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  24924. "type": "integer"
  24925. },
  24926. "mgunitidname": {
  24927. "description": "单位名称(套保商品)",
  24928. "type": "string"
  24929. },
  24930. "middlegoodscode": {
  24931. "description": "套保品种代码",
  24932. "type": "string"
  24933. },
  24934. "middlegoodsid": {
  24935. "description": "套保品种id",
  24936. "type": "integer"
  24937. },
  24938. "middlegoodsname": {
  24939. "description": "套保品种名称",
  24940. "type": "string"
  24941. },
  24942. "needarbitrageratio": {
  24943. "description": "应套利比例",
  24944. "type": "number"
  24945. },
  24946. "needhedgeratio": {
  24947. "description": "应套保比例",
  24948. "type": "number"
  24949. },
  24950. "pricedqty": {
  24951. "description": "已定价量",
  24952. "type": "number"
  24953. },
  24954. "qty": {
  24955. "description": "合同量",
  24956. "type": "number"
  24957. },
  24958. "reckondate": {
  24959. "description": "交易日(reckondate)",
  24960. "type": "string"
  24961. },
  24962. "tradedate": {
  24963. "description": "交易日(登记日)",
  24964. "type": "string"
  24965. },
  24966. "unitid": {
  24967. "description": "品类单位id",
  24968. "type": "integer"
  24969. },
  24970. "userid": {
  24971. "description": "机构id",
  24972. "type": "integer"
  24973. },
  24974. "wrstandardcode": {
  24975. "description": "品类代码",
  24976. "type": "string"
  24977. },
  24978. "wrstandardid": {
  24979. "description": "品类id",
  24980. "type": "integer"
  24981. },
  24982. "wrstandardname": {
  24983. "description": "品类名称",
  24984. "type": "string"
  24985. }
  24986. }
  24987. },
  24988. "models.Ermcp3ExposureParamChLog": {
  24989. "type": "object",
  24990. "properties": {
  24991. "accountid": {
  24992. "description": "期货账户ID (作废, 默认为0)",
  24993. "type": "integer"
  24994. },
  24995. "aftervalue": {
  24996. "description": "应套保\\套利量变更后(调整后应套保总量)",
  24997. "type": "number"
  24998. },
  24999. "areauserid": {
  25000. "description": "所属机构\\交易用户ID",
  25001. "type": "integer"
  25002. },
  25003. "beforevalue": {
  25004. "description": "应套保\\套利量变更前(调整前应套保总量)",
  25005. "type": "number"
  25006. },
  25007. "begindate": {
  25008. "description": "开始交易日",
  25009. "type": "string"
  25010. },
  25011. "changelogtype": {
  25012. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  25013. "type": "integer"
  25014. },
  25015. "curvalue": {
  25016. "description": "当前套保\\套利量(套保总量|套利总量)",
  25017. "type": "number"
  25018. },
  25019. "diffvalue": {
  25020. "description": "应套保总量变化量",
  25021. "type": "number"
  25022. },
  25023. "enddate": {
  25024. "description": "结束交易日",
  25025. "type": "string"
  25026. },
  25027. "logdatetime": {
  25028. "description": "流水日期",
  25029. "type": "string"
  25030. },
  25031. "logid": {
  25032. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  25033. "type": "string"
  25034. },
  25035. "middlegoodscode": {
  25036. "description": "套保品种代码",
  25037. "type": "string"
  25038. },
  25039. "middlegoodsid": {
  25040. "description": "套保品种",
  25041. "type": "integer"
  25042. },
  25043. "middlegoodsname": {
  25044. "description": "套保品种名称",
  25045. "type": "string"
  25046. },
  25047. "paramaftervalue": {
  25048. "description": "参数变更后(调整后参数值)",
  25049. "type": "number"
  25050. },
  25051. "parambeforevalue": {
  25052. "description": "参数变更前(调整前参数值)",
  25053. "type": "number"
  25054. },
  25055. "reckondate": {
  25056. "description": "交易日(reckondate)",
  25057. "type": "string"
  25058. },
  25059. "tradedate": {
  25060. "description": "交易日(yyyyMMdd)",
  25061. "type": "string"
  25062. }
  25063. }
  25064. },
  25065. "models.Ermcp3ExpourseReport": {
  25066. "type": "object",
  25067. "properties": {
  25068. "accountid": {
  25069. "description": "期货账户ID (作废, 默认为0)",
  25070. "type": "integer"
  25071. },
  25072. "accountname": {
  25073. "description": "机构名称",
  25074. "type": "string"
  25075. },
  25076. "arbitrageqty": {
  25077. "description": "套利量",
  25078. "type": "number"
  25079. },
  25080. "areauserid": {
  25081. "description": "所属机构\\交易用户ID",
  25082. "type": "integer"
  25083. },
  25084. "begindate": {
  25085. "description": "开始交易日",
  25086. "type": "string"
  25087. },
  25088. "buyfutureqty": {
  25089. "description": "买入期货数量",
  25090. "type": "number"
  25091. },
  25092. "buyplanqty": {
  25093. "description": "采购计划数量",
  25094. "type": "number"
  25095. },
  25096. "buypricedqty": {
  25097. "description": "采购合同已定价数量",
  25098. "type": "number"
  25099. },
  25100. "cycletime": {
  25101. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25102. "type": "string"
  25103. },
  25104. "cycletype": {
  25105. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25106. "type": "integer"
  25107. },
  25108. "diffexposure": {
  25109. "description": "变动量(套保敞口)",
  25110. "type": "number"
  25111. },
  25112. "difffutuqty": {
  25113. "description": "变动量(期货)",
  25114. "type": "number"
  25115. },
  25116. "diffhedgeqty": {
  25117. "description": "变动量(现货应套保总量)",
  25118. "type": "number"
  25119. },
  25120. "diffmgqtya": {
  25121. "description": "套保变动量",
  25122. "type": "number"
  25123. },
  25124. "diffmgqtyb": {
  25125. "description": "套利变动量",
  25126. "type": "number"
  25127. },
  25128. "diffneedqty": {
  25129. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  25130. "type": "number"
  25131. },
  25132. "diffqty": {
  25133. "description": "变动量(总敞口)",
  25134. "type": "number"
  25135. },
  25136. "diffspotqty": {
  25137. "description": "变动量(现货) | 除税变动量",
  25138. "type": "number"
  25139. },
  25140. "enddate": {
  25141. "description": "结束交易日",
  25142. "type": "string"
  25143. },
  25144. "enumdicname": {
  25145. "description": "单位名称",
  25146. "type": "string"
  25147. },
  25148. "hedgeqty": {
  25149. "description": "套保量",
  25150. "type": "number"
  25151. },
  25152. "mgneedhedgeratio": {
  25153. "description": "套保比例(套保品的)",
  25154. "type": "number"
  25155. },
  25156. "middlegoodsid": {
  25157. "description": "套保品种ID",
  25158. "type": "integer"
  25159. },
  25160. "middlegoodsname": {
  25161. "description": "套保商品名称",
  25162. "type": "string"
  25163. },
  25164. "middlgoodscode": {
  25165. "description": "套保商品代码",
  25166. "type": "string"
  25167. },
  25168. "needarbitrageqty": {
  25169. "description": "应套利量",
  25170. "type": "number"
  25171. },
  25172. "needarbitrageratio": {
  25173. "description": "套利比例(套保品的)",
  25174. "type": "number"
  25175. },
  25176. "needhedgeexposoure": {
  25177. "description": "应套保敞口(套保敞口)",
  25178. "type": "number"
  25179. },
  25180. "needhedgeqty": {
  25181. "description": "应套保量",
  25182. "type": "number"
  25183. },
  25184. "needhedgeratio": {
  25185. "description": "应套保敞口比例",
  25186. "type": "number"
  25187. },
  25188. "needqty": {
  25189. "description": "应套总量 = 应套保量 + 应套利量",
  25190. "type": "number"
  25191. },
  25192. "oriarbitrageqty": {
  25193. "description": "期初套利量",
  25194. "type": "number"
  25195. },
  25196. "oribuyfutureqty": {
  25197. "description": "期初买入期货数量",
  25198. "type": "number"
  25199. },
  25200. "oribuyplanqty": {
  25201. "description": "期初采购计划数量",
  25202. "type": "number"
  25203. },
  25204. "oribuypricedqty": {
  25205. "description": "期初采购合同已定价数量",
  25206. "type": "number"
  25207. },
  25208. "orihedgeqty": {
  25209. "description": "期初套保量",
  25210. "type": "number"
  25211. },
  25212. "orineedarbitrageqty": {
  25213. "description": "期初应套利量",
  25214. "type": "number"
  25215. },
  25216. "orineedhedgeexposoure": {
  25217. "description": "期初应套保敞口",
  25218. "type": "number"
  25219. },
  25220. "orineedhedgeqty": {
  25221. "description": "期初应套保量",
  25222. "type": "number"
  25223. },
  25224. "orisellfutureqty": {
  25225. "description": "期初卖出期货数量",
  25226. "type": "number"
  25227. },
  25228. "orisellplanqty": {
  25229. "description": "期初销售计划数量",
  25230. "type": "number"
  25231. },
  25232. "orisellpricedqty": {
  25233. "description": "期初销售合同已定价数量",
  25234. "type": "number"
  25235. },
  25236. "oritotalexposure": {
  25237. "description": "期初实时总敞口",
  25238. "type": "number"
  25239. },
  25240. "oritotalfutureqty": {
  25241. "description": "期初期货头寸总量",
  25242. "type": "number"
  25243. },
  25244. "oritotalneedhedgeqty": {
  25245. "description": "期初应套保总量",
  25246. "type": "number"
  25247. },
  25248. "oritotalspotqty": {
  25249. "description": "期初现货头寸总量",
  25250. "type": "number"
  25251. },
  25252. "reckondate": {
  25253. "description": "日照时期(yyyyMMdd)",
  25254. "type": "string"
  25255. },
  25256. "sellfutureqty": {
  25257. "description": "卖出期货数量",
  25258. "type": "number"
  25259. },
  25260. "sellplanqty": {
  25261. "description": "销售计划数量",
  25262. "type": "number"
  25263. },
  25264. "sellpricedqty": {
  25265. "description": "销售合同已定价数量",
  25266. "type": "number"
  25267. },
  25268. "totalexposure": {
  25269. "description": "实时总敞口(总敞口)",
  25270. "type": "number"
  25271. },
  25272. "totalfutureqty": {
  25273. "description": "期货头寸总量(期货总量)",
  25274. "type": "number"
  25275. },
  25276. "totalhedgeratio": {
  25277. "description": "敞口比例",
  25278. "type": "number"
  25279. },
  25280. "totalneedhedgeqty": {
  25281. "description": "应套保总量(现货应套保总量)",
  25282. "type": "number"
  25283. },
  25284. "totalspotqty": {
  25285. "description": "现货头寸总量 | 除税总量",
  25286. "type": "number"
  25287. },
  25288. "unitid": {
  25289. "description": "单位id",
  25290. "type": "integer"
  25291. },
  25292. "updatetime": {
  25293. "description": "更新时间",
  25294. "type": "string"
  25295. }
  25296. }
  25297. },
  25298. "models.Ermcp3FinanceReport": {
  25299. "type": "object",
  25300. "properties": {
  25301. "accountname": {
  25302. "description": "机构名称",
  25303. "type": "string"
  25304. },
  25305. "areauserid": {
  25306. "description": "所属机构\\交易用户ID",
  25307. "type": "integer"
  25308. },
  25309. "begindate": {
  25310. "description": "开始交易日",
  25311. "type": "string"
  25312. },
  25313. "biztype": {
  25314. "description": "业务类型 - 1:套保 2:套利",
  25315. "type": "integer"
  25316. },
  25317. "brandname": {
  25318. "description": "品牌名称",
  25319. "type": "string"
  25320. },
  25321. "buypreinvoicedamount": {
  25322. "description": "采购预收票额(预收票额)",
  25323. "type": "number"
  25324. },
  25325. "buyprepaidamount": {
  25326. "description": "采购预付款额(预付货款额)",
  25327. "type": "number"
  25328. },
  25329. "buytodayinvoiceamount": {
  25330. "description": "采购今收票额(今收票额)",
  25331. "type": "number"
  25332. },
  25333. "buytodayrefundamount": {
  25334. "description": "采购今收退款额(今收退款额)",
  25335. "type": "number"
  25336. },
  25337. "buytodaysettleamount": {
  25338. "description": "采购今付款额(今付货款额)",
  25339. "type": "number"
  25340. },
  25341. "buyuninvoicedamount": {
  25342. "description": "采购应收票额(应收票额)",
  25343. "type": "number"
  25344. },
  25345. "buyunpaidamount": {
  25346. "description": "采购应付款额(应付货款额)",
  25347. "type": "number"
  25348. },
  25349. "currencyid": {
  25350. "description": "结算币种ID",
  25351. "type": "integer"
  25352. },
  25353. "currencyname": {
  25354. "description": "币种名称",
  25355. "type": "string"
  25356. },
  25357. "cycletime": {
  25358. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25359. "type": "string"
  25360. },
  25361. "cycletype": {
  25362. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25363. "type": "integer"
  25364. },
  25365. "deliverygoodscode": {
  25366. "description": "现货品种代码",
  25367. "type": "string"
  25368. },
  25369. "deliverygoodsid": {
  25370. "description": "现货品种ID",
  25371. "type": "integer"
  25372. },
  25373. "deliverygoodsname": {
  25374. "description": "现货品种名称",
  25375. "type": "string"
  25376. },
  25377. "enddate": {
  25378. "description": "结束交易日",
  25379. "type": "string"
  25380. },
  25381. "reckondate": {
  25382. "description": "日照时期(yyyyMMdd)",
  25383. "type": "string"
  25384. },
  25385. "sellpreinvoicedamount": {
  25386. "description": "销售预开票额(预开票额)",
  25387. "type": "number"
  25388. },
  25389. "sellprepaidamount": {
  25390. "description": "销售预收款额(预收货款额)",
  25391. "type": "number"
  25392. },
  25393. "selltodayinvoiceamount": {
  25394. "description": "销售今开票额(今开票额)",
  25395. "type": "number"
  25396. },
  25397. "selltodayrefundamount": {
  25398. "description": "销售今付退款额(今付退款额)",
  25399. "type": "number"
  25400. },
  25401. "selltodaysettleamount": {
  25402. "description": "销售今收款额(今收货款额)",
  25403. "type": "number"
  25404. },
  25405. "selluninvoicedamount": {
  25406. "description": "销售应开票额(应开票额)",
  25407. "type": "number"
  25408. },
  25409. "sellunpaidamount": {
  25410. "description": "销售应收款额(应收货款额)",
  25411. "type": "number"
  25412. },
  25413. "spotgoodsbrandid": {
  25414. "description": "现货品牌ID",
  25415. "type": "integer"
  25416. },
  25417. "todaypaysum": {
  25418. "description": "今付款合计",
  25419. "type": "number"
  25420. },
  25421. "todayreceivesum": {
  25422. "description": "今收款合计",
  25423. "type": "number"
  25424. },
  25425. "updatetime": {
  25426. "description": "更新时间",
  25427. "type": "string"
  25428. },
  25429. "wrfactortypeid": {
  25430. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  25431. "type": "integer"
  25432. },
  25433. "wrstandardcode": {
  25434. "description": "品类代码",
  25435. "type": "string"
  25436. },
  25437. "wrstandardid": {
  25438. "description": "现货商品ID",
  25439. "type": "integer"
  25440. },
  25441. "wrstandardname": {
  25442. "description": "品类名称",
  25443. "type": "string"
  25444. }
  25445. }
  25446. },
  25447. "models.Ermcp3GoodsGroup": {
  25448. "type": "object",
  25449. "required": [
  25450. "areauserid"
  25451. ],
  25452. "properties": {
  25453. "agreeunit": {
  25454. "description": "合约单位",
  25455. "type": "number"
  25456. },
  25457. "areauserid": {
  25458. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  25459. "type": "integer"
  25460. },
  25461. "canshort": {
  25462. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  25463. "type": "integer"
  25464. },
  25465. "closepricemode": {
  25466. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  25467. "type": "integer"
  25468. },
  25469. "createtime": {
  25470. "description": "创建时间",
  25471. "type": "string"
  25472. },
  25473. "creatorid": {
  25474. "description": "创建人",
  25475. "type": "integer"
  25476. },
  25477. "currencyid": {
  25478. "description": "报价货币ID",
  25479. "type": "integer"
  25480. },
  25481. "decimalplace": {
  25482. "description": "报价小数位",
  25483. "type": "integer"
  25484. },
  25485. "enumdicname": {
  25486. "description": "单位名称",
  25487. "type": "string"
  25488. },
  25489. "exchangefullname": {
  25490. "description": "交易所全称",
  25491. "type": "string"
  25492. },
  25493. "excludecfg": {
  25494. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  25495. "type": "integer"
  25496. },
  25497. "exexchangecode": {
  25498. "description": "交易所代码",
  25499. "type": "string"
  25500. },
  25501. "exexchangeid": {
  25502. "description": "外部交易所ID[通道交易]",
  25503. "type": "integer"
  25504. },
  25505. "exexchangename": {
  25506. "description": "交易所名称",
  25507. "type": "string"
  25508. },
  25509. "goodsgroupid": {
  25510. "description": "商品组ID(自增ID)",
  25511. "type": "integer"
  25512. },
  25513. "goodsgroupname": {
  25514. "description": "商品组名称",
  25515. "type": "string"
  25516. },
  25517. "goodsgroupstatus": {
  25518. "description": "商品组状态 - 1:正常 2:注销",
  25519. "type": "integer"
  25520. },
  25521. "goodunitid": {
  25522. "description": "报价单位ID",
  25523. "type": "integer"
  25524. },
  25525. "groupcategroyid": {
  25526. "description": "品种分类ID",
  25527. "type": "integer"
  25528. },
  25529. "innerdealmode": {
  25530. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  25531. "type": "integer"
  25532. },
  25533. "marketid": {
  25534. "description": "所属市场ID",
  25535. "type": "integer"
  25536. },
  25537. "modifierid": {
  25538. "description": "修改人",
  25539. "type": "integer"
  25540. },
  25541. "modifytime": {
  25542. "description": "修改时间",
  25543. "type": "string"
  25544. },
  25545. "outerdealmode": {
  25546. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  25547. "type": "integer"
  25548. },
  25549. "outergroupcode": {
  25550. "description": "外部商品组代码[通道交易]",
  25551. "type": "string"
  25552. },
  25553. "quoteminunit": {
  25554. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  25555. "type": "integer"
  25556. },
  25557. "quotesourcegroupid": {
  25558. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  25559. "type": "integer"
  25560. },
  25561. "syncgoodsqty": {
  25562. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  25563. "type": "integer"
  25564. }
  25565. }
  25566. },
  25567. "models.Ermcp3HPMiddleGoods": {
  25568. "type": "object",
  25569. "properties": {
  25570. "biztype": {
  25571. "description": "业务类型 1:套保 2:套利",
  25572. "type": "integer"
  25573. },
  25574. "contracttype": {
  25575. "description": "合同类型 1:采购 -1:销售",
  25576. "type": "integer"
  25577. },
  25578. "convertratio": {
  25579. "description": "折算系数",
  25580. "type": "number"
  25581. },
  25582. "customername": {
  25583. "description": "对手手名称",
  25584. "type": "string"
  25585. },
  25586. "customeruserid": {
  25587. "description": "对手id",
  25588. "type": "integer"
  25589. },
  25590. "enumdicname": {
  25591. "description": "现货单位名称",
  25592. "type": "string"
  25593. },
  25594. "hedgeplanid": {
  25595. "description": "计划id",
  25596. "type": "string"
  25597. },
  25598. "hedgeplanno": {
  25599. "description": "计划编号",
  25600. "type": "string"
  25601. },
  25602. "middlegoodsid": {
  25603. "description": "套保品种ID",
  25604. "type": "integer"
  25605. },
  25606. "middlegoodsplanqty3": {
  25607. "description": "应套保计划量",
  25608. "type": "number"
  25609. },
  25610. "needhedgeratio": {
  25611. "description": "套保比例",
  25612. "type": "number"
  25613. },
  25614. "pricedqty": {
  25615. "description": "已定价量",
  25616. "type": "number"
  25617. },
  25618. "relatedmiddlegoodsqty": {
  25619. "description": "已关联量(套保品种)(期货)",
  25620. "type": "number"
  25621. },
  25622. "unitid": {
  25623. "description": "现货单位id",
  25624. "type": "integer"
  25625. },
  25626. "userid": {
  25627. "description": "用户id",
  25628. "type": "integer"
  25629. },
  25630. "vatrate": {
  25631. "description": "增值税率",
  25632. "type": "number"
  25633. },
  25634. "wrstandardcode": {
  25635. "description": "现货商品代码",
  25636. "type": "string"
  25637. },
  25638. "wrstandardid": {
  25639. "description": "现货商品id",
  25640. "type": "integer"
  25641. },
  25642. "wrstandardname": {
  25643. "description": "现货商品名称",
  25644. "type": "string"
  25645. }
  25646. }
  25647. },
  25648. "models.Ermcp3HedgePlan": {
  25649. "type": "object",
  25650. "properties": {
  25651. "accountid": {
  25652. "description": "资金账号",
  25653. "type": "integer"
  25654. },
  25655. "areauserid": {
  25656. "description": "用户ID",
  25657. "type": "integer"
  25658. },
  25659. "auditid": {
  25660. "description": "审核id",
  25661. "type": "integer"
  25662. },
  25663. "auditname": {
  25664. "description": "审核人名称",
  25665. "type": "string"
  25666. },
  25667. "auditremark": {
  25668. "description": "审核备注",
  25669. "type": "string"
  25670. },
  25671. "auditsrc": {
  25672. "description": "审核来源 1-管理端 2-终端",
  25673. "type": "integer"
  25674. },
  25675. "audittime": {
  25676. "description": "审核时间",
  25677. "type": "string"
  25678. },
  25679. "contracttype": {
  25680. "description": "计划类型 - 1:采购 -1:销售",
  25681. "type": "integer"
  25682. },
  25683. "convertfactor": {
  25684. "description": "标仓系数",
  25685. "type": "number"
  25686. },
  25687. "createtime": {
  25688. "description": "创建时间",
  25689. "type": "string"
  25690. },
  25691. "currencyid": {
  25692. "description": "币种id",
  25693. "type": "integer"
  25694. },
  25695. "currencyname": {
  25696. "description": "币种名称",
  25697. "type": "string"
  25698. },
  25699. "deliverygoodscode": {
  25700. "description": "现货品种代码",
  25701. "type": "string"
  25702. },
  25703. "deliverygoodsid": {
  25704. "description": "现货品种ID",
  25705. "type": "integer"
  25706. },
  25707. "deliverygoodsname": {
  25708. "description": "现货品种名称",
  25709. "type": "string"
  25710. },
  25711. "enumdicname": {
  25712. "description": "单位名称(现货商品)",
  25713. "type": "string"
  25714. },
  25715. "hedgeplanid": {
  25716. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  25717. "type": "string"
  25718. },
  25719. "hedgeplanno": {
  25720. "description": "套保计划编号(名称)",
  25721. "type": "string"
  25722. },
  25723. "hedgeplanstatus": {
  25724. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25725. "type": "integer"
  25726. },
  25727. "planqty": {
  25728. "description": "计划数量",
  25729. "type": "number"
  25730. },
  25731. "plantime": {
  25732. "description": "计划时间",
  25733. "type": "string"
  25734. },
  25735. "producttype": {
  25736. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25737. "type": "integer"
  25738. },
  25739. "remark": {
  25740. "description": "备注",
  25741. "type": "string"
  25742. },
  25743. "spotgoodsdesc": {
  25744. "description": "商品型号",
  25745. "type": "string"
  25746. },
  25747. "taaccountname": {
  25748. "description": "资金账号名称",
  25749. "type": "string"
  25750. },
  25751. "tradeuserid": {
  25752. "description": "交易用户id",
  25753. "type": "integer"
  25754. },
  25755. "tradeusername": {
  25756. "description": "交易用户名称",
  25757. "type": "string"
  25758. },
  25759. "unitid": {
  25760. "description": "单位id(现货商品)",
  25761. "type": "integer"
  25762. },
  25763. "updatetime": {
  25764. "description": "更新时间",
  25765. "type": "string"
  25766. },
  25767. "vatrate": {
  25768. "description": "增值税率",
  25769. "type": "number"
  25770. },
  25771. "wrstandardcode": {
  25772. "description": "品类代码",
  25773. "type": "string"
  25774. },
  25775. "wrstandardid": {
  25776. "description": "品类id",
  25777. "type": "integer"
  25778. },
  25779. "wrstandardname": {
  25780. "description": "品类名称",
  25781. "type": "string"
  25782. },
  25783. "wrunitid": {
  25784. "description": "品类单位id",
  25785. "type": "integer"
  25786. },
  25787. "wrunitidame": {
  25788. "description": "品类单位名称",
  25789. "type": "string"
  25790. }
  25791. }
  25792. },
  25793. "models.Ermcp3InnerTradeLink": {
  25794. "type": "object",
  25795. "properties": {
  25796. "accountid": {
  25797. "description": "期货账号代码 | 资金账号ID",
  25798. "type": "integer"
  25799. },
  25800. "buyorsell": {
  25801. "description": "方向 - 0:买 1:卖",
  25802. "type": "integer"
  25803. },
  25804. "channelbuildtype": {
  25805. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  25806. "type": "integer"
  25807. },
  25808. "currencyid": {
  25809. "description": "币种id",
  25810. "type": "integer"
  25811. },
  25812. "currencyname": {
  25813. "description": "结算币种 名称",
  25814. "type": "string"
  25815. },
  25816. "goodscode": {
  25817. "description": "商品代码",
  25818. "type": "string"
  25819. },
  25820. "goodsid": {
  25821. "description": "商品ID",
  25822. "type": "integer"
  25823. },
  25824. "goodsname": {
  25825. "description": "商品名称",
  25826. "type": "string"
  25827. },
  25828. "outtradeid": {
  25829. "description": "外部成交单号",
  25830. "type": "string"
  25831. },
  25832. "taname": {
  25833. "description": "期货账户名称",
  25834. "type": "string"
  25835. },
  25836. "tradeid": {
  25837. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25838. "type": "string"
  25839. },
  25840. "tradeprice": {
  25841. "description": "成交价格",
  25842. "type": "number"
  25843. },
  25844. "tradeqty": {
  25845. "description": "期货成交数量",
  25846. "type": "integer"
  25847. },
  25848. "tradetime": {
  25849. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  25850. "type": "string"
  25851. },
  25852. "username": {
  25853. "description": "用户名称",
  25854. "type": "string"
  25855. }
  25856. }
  25857. },
  25858. "models.Ermcp3OutTradeLink": {
  25859. "type": "object",
  25860. "properties": {
  25861. "buyorsell": {
  25862. "description": "买卖方向 - 0:买 1:卖",
  25863. "type": "integer"
  25864. },
  25865. "channelbuildtype": {
  25866. "description": "开平标志- 0:无 1:建仓 2:平仓",
  25867. "type": "integer"
  25868. },
  25869. "currencyname": {
  25870. "description": "币种名称",
  25871. "type": "string"
  25872. },
  25873. "exexchangecode": {
  25874. "description": "交易所代码",
  25875. "type": "string"
  25876. },
  25877. "exexchangename": {
  25878. "description": "交易所名称",
  25879. "type": "string"
  25880. },
  25881. "goodscode": {
  25882. "description": "合约代码",
  25883. "type": "string"
  25884. },
  25885. "goodsid": {
  25886. "description": "合约id",
  25887. "type": "integer"
  25888. },
  25889. "goodsname": {
  25890. "description": "合约名称",
  25891. "type": "string"
  25892. },
  25893. "hasinnerorder": {
  25894. "description": "是否有内部单关联 - 0:无 1:有",
  25895. "type": "integer"
  25896. },
  25897. "hedgeaccountcode": {
  25898. "description": "外部账号 | 对冲账号",
  25899. "type": "string"
  25900. },
  25901. "outtradeid": {
  25902. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  25903. "type": "string"
  25904. },
  25905. "tradeprice": {
  25906. "description": "成交价格",
  25907. "type": "number"
  25908. },
  25909. "tradeqty": {
  25910. "description": "成交数量",
  25911. "type": "integer"
  25912. },
  25913. "tradetime": {
  25914. "description": "成交时间",
  25915. "type": "string"
  25916. }
  25917. }
  25918. },
  25919. "models.Ermcp3PaAreaAuditCfg": {
  25920. "type": "object",
  25921. "properties": {
  25922. "areauserid": {
  25923. "description": "用户ID",
  25924. "type": "integer"
  25925. },
  25926. "buyinauditflag": {
  25927. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  25928. "type": "integer"
  25929. },
  25930. "costratioauditflag": {
  25931. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  25932. "type": "integer"
  25933. },
  25934. "customerauditflag": {
  25935. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  25936. "type": "integer"
  25937. },
  25938. "deliveryauditflag": {
  25939. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  25940. "type": "integer"
  25941. },
  25942. "invoiceauditflag": {
  25943. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  25944. "type": "integer"
  25945. },
  25946. "mgneedhedgeratioauditflag": {
  25947. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  25948. "type": "integer"
  25949. },
  25950. "moneyauditflag": {
  25951. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  25952. "type": "integer"
  25953. },
  25954. "operatorid": {
  25955. "description": "操作人",
  25956. "type": "integer"
  25957. },
  25958. "operatorsrc": {
  25959. "description": "操作来源 - 1:管理端 2:终端",
  25960. "type": "integer"
  25961. },
  25962. "pointpriceauditflag": {
  25963. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  25964. "type": "integer"
  25965. },
  25966. "produceinauditflag": {
  25967. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  25968. "type": "integer"
  25969. },
  25970. "produceoutauditflag": {
  25971. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  25972. "type": "integer"
  25973. },
  25974. "selloutauditflag": {
  25975. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  25976. "type": "integer"
  25977. },
  25978. "sgconvertratioauditflag": {
  25979. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  25980. "type": "integer"
  25981. },
  25982. "sgvtaratioauditflag": {
  25983. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  25984. "type": "integer"
  25985. },
  25986. "spotcontractauditflag": {
  25987. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  25988. "type": "integer"
  25989. },
  25990. "updatetime": {
  25991. "description": "更新时间",
  25992. "type": "string"
  25993. }
  25994. }
  25995. },
  25996. "models.Ermcp3PaAreaSubject": {
  25997. "type": "object",
  25998. "properties": {
  25999. "areauserid": {
  26000. "description": "所属机构",
  26001. "type": "integer"
  26002. },
  26003. "canmodify": {
  26004. "description": "是否可修改 - 0:否 1:是",
  26005. "type": "integer"
  26006. },
  26007. "createtime": {
  26008. "description": "创建时间",
  26009. "type": "string"
  26010. },
  26011. "creatorid": {
  26012. "description": "创建人ID",
  26013. "type": "string"
  26014. },
  26015. "creatorsrc": {
  26016. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26017. "type": "integer"
  26018. },
  26019. "modifierid": {
  26020. "description": "修改人",
  26021. "type": "string"
  26022. },
  26023. "modifiersrc": {
  26024. "description": "修改人来源 - 1:管理端 2:终端",
  26025. "type": "integer"
  26026. },
  26027. "modifytime": {
  26028. "description": "修改时间",
  26029. "type": "string"
  26030. },
  26031. "parentsubjectid": {
  26032. "description": "上级主体ID",
  26033. "type": "string"
  26034. },
  26035. "remark": {
  26036. "description": "备注",
  26037. "type": "string"
  26038. },
  26039. "subjectid": {
  26040. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  26041. "type": "integer"
  26042. },
  26043. "subjectname": {
  26044. "description": "主体名称",
  26045. "type": "string"
  26046. },
  26047. "subjectstatus": {
  26048. "description": "主体状态 - 1:正常 2: 停用",
  26049. "type": "integer"
  26050. },
  26051. "subjecttype": {
  26052. "description": "主体类型 - 1:交易主体 2:业务部门",
  26053. "type": "integer"
  26054. }
  26055. }
  26056. },
  26057. "models.Ermcp3PaTradeLink": {
  26058. "type": "object",
  26059. "properties": {
  26060. "accountid": {
  26061. "description": "期货账户代码 | 账号ID",
  26062. "type": "integer"
  26063. },
  26064. "agreeunit": {
  26065. "description": "合约乘数",
  26066. "type": "number"
  26067. },
  26068. "buyorsell": {
  26069. "description": "方向 - 0:买 1:卖",
  26070. "type": "integer"
  26071. },
  26072. "channelbuildtype": {
  26073. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26074. "type": "integer"
  26075. },
  26076. "charge": {
  26077. "description": "手续费",
  26078. "type": "number"
  26079. },
  26080. "closepl": {
  26081. "description": "平仓盈亏",
  26082. "type": "number"
  26083. },
  26084. "closetype": {
  26085. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26086. "type": "integer"
  26087. },
  26088. "convertratio": {
  26089. "description": "折算系数",
  26090. "type": "number"
  26091. },
  26092. "enumdicname": {
  26093. "description": "单位名称",
  26094. "type": "string"
  26095. },
  26096. "executeprice": {
  26097. "description": "执行价 [期权]",
  26098. "type": "integer"
  26099. },
  26100. "goodscode": {
  26101. "description": "合约代码",
  26102. "type": "string"
  26103. },
  26104. "goodsgroupid": {
  26105. "description": "对冲品种ID[期货合约商品组ID]",
  26106. "type": "integer"
  26107. },
  26108. "goodsid": {
  26109. "description": "商品ID",
  26110. "type": "integer"
  26111. },
  26112. "goodsname": {
  26113. "description": "合约名称",
  26114. "type": "string"
  26115. },
  26116. "goodunitid": {
  26117. "description": "单位id",
  26118. "type": "integer"
  26119. },
  26120. "hedgeflag": {
  26121. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26122. "type": "integer"
  26123. },
  26124. "marketid": {
  26125. "description": "市场ID",
  26126. "type": "integer"
  26127. },
  26128. "middlegoodsid": {
  26129. "description": "套保品种ID",
  26130. "type": "integer"
  26131. },
  26132. "middlegoodsqty": {
  26133. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26134. "type": "number"
  26135. },
  26136. "optioncode": {
  26137. "description": "期权代码 [期权]",
  26138. "type": "string"
  26139. },
  26140. "ordertype": {
  26141. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  26142. "type": "integer"
  26143. },
  26144. "ordertypename": {
  26145. "description": "订单类型",
  26146. "type": "string"
  26147. },
  26148. "parentaccountid": {
  26149. "description": "所属母账户",
  26150. "type": "integer"
  26151. },
  26152. "premium": {
  26153. "description": "权利金 [期权]",
  26154. "type": "number"
  26155. },
  26156. "relatedlot": {
  26157. "description": "已关联数量(已关联数量手) | db:关联手数",
  26158. "type": "number"
  26159. },
  26160. "relatedouttradeid": {
  26161. "description": "关联外部成交单ID",
  26162. "type": "string"
  26163. },
  26164. "relatedqty": {
  26165. "description": "关联数量",
  26166. "type": "number"
  26167. },
  26168. "spotcontractid": {
  26169. "description": "现货合同ID [4:套期保值\\10\\11]",
  26170. "type": "string"
  26171. },
  26172. "taname": {
  26173. "description": "期货账户名称",
  26174. "type": "string"
  26175. },
  26176. "tradeamount": {
  26177. "description": "成交金额(账户)",
  26178. "type": "number"
  26179. },
  26180. "tradedate": {
  26181. "description": "交易日(yyyyMMdd)",
  26182. "type": "string"
  26183. },
  26184. "tradeid": {
  26185. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26186. "type": "string"
  26187. },
  26188. "tradelot": {
  26189. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  26190. "type": "integer"
  26191. },
  26192. "tradeprice": {
  26193. "description": "成交价格",
  26194. "type": "number"
  26195. },
  26196. "tradetime": {
  26197. "description": "时间 | db:成交时间",
  26198. "type": "string"
  26199. },
  26200. "tradetype": {
  26201. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26202. "type": "integer"
  26203. },
  26204. "userid": {
  26205. "description": "所属机构 - 所属母账户的UserID",
  26206. "type": "string"
  26207. },
  26208. "username": {
  26209. "description": "用户名称",
  26210. "type": "string"
  26211. }
  26212. }
  26213. },
  26214. "models.Ermcp3ParamChangeApp": {
  26215. "type": "object",
  26216. "properties": {
  26217. "aftervalue": {
  26218. "description": "变更后",
  26219. "type": "number"
  26220. },
  26221. "applicationid": {
  26222. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  26223. "type": "string"
  26224. },
  26225. "applyid": {
  26226. "description": "申请人",
  26227. "type": "string"
  26228. },
  26229. "applyname": {
  26230. "description": "申请人名称(代码)",
  26231. "type": "string"
  26232. },
  26233. "applyremark": {
  26234. "description": "申请备注",
  26235. "type": "string"
  26236. },
  26237. "applysrc": {
  26238. "description": "申请来源 - 1:管理端 2:终端",
  26239. "type": "integer"
  26240. },
  26241. "applystatus": {
  26242. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26243. "type": "integer"
  26244. },
  26245. "applytime": {
  26246. "description": "申请时间",
  26247. "type": "string"
  26248. },
  26249. "areauserid": {
  26250. "description": "所属机构用户ID",
  26251. "type": "integer"
  26252. },
  26253. "auditid": {
  26254. "description": "审核人",
  26255. "type": "string"
  26256. },
  26257. "auditname": {
  26258. "description": "审核人名称(代码)",
  26259. "type": "string"
  26260. },
  26261. "auditremark": {
  26262. "description": "审核备注",
  26263. "type": "string"
  26264. },
  26265. "auditsrc": {
  26266. "description": "审核来源 - 1:管理端 2:终端",
  26267. "type": "integer"
  26268. },
  26269. "audittime": {
  26270. "description": "审核时间",
  26271. "type": "string"
  26272. },
  26273. "audittradedate": {
  26274. "description": "审核交易日(yyyyMMdd)",
  26275. "type": "string"
  26276. },
  26277. "beforevalue": {
  26278. "description": "变更前",
  26279. "type": "number"
  26280. },
  26281. "deliverygoodscode": {
  26282. "description": "品种代码",
  26283. "type": "string"
  26284. },
  26285. "deliverygoodsid": {
  26286. "description": "品种id",
  26287. "type": "integer"
  26288. },
  26289. "deliverygoodsname": {
  26290. "description": "品种名称",
  26291. "type": "string"
  26292. },
  26293. "middlegoodscode": {
  26294. "description": "套保品种代码",
  26295. "type": "string"
  26296. },
  26297. "middlegoodsid": {
  26298. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  26299. "type": "integer"
  26300. },
  26301. "middlegoodsname": {
  26302. "description": "套保品种名称",
  26303. "type": "string"
  26304. },
  26305. "operatetype": {
  26306. "description": "操作类型 - 1:新增 2:修改",
  26307. "type": "integer"
  26308. },
  26309. "paramchangetype": {
  26310. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  26311. "type": "integer"
  26312. },
  26313. "wrstandardcode": {
  26314. "description": "现货商品代码",
  26315. "type": "string"
  26316. },
  26317. "wrstandardid": {
  26318. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  26319. "type": "integer"
  26320. },
  26321. "wrstandardname": {
  26322. "description": "现货商品名称",
  26323. "type": "string"
  26324. }
  26325. }
  26326. },
  26327. "models.Ermcp3RootUserAccount": {
  26328. "type": "object",
  26329. "properties": {
  26330. "accountname": {
  26331. "description": "账户名称(机构名称)",
  26332. "type": "string"
  26333. },
  26334. "accountstatus": {
  26335. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  26336. "type": "integer"
  26337. },
  26338. "applysrc": {
  26339. "description": "申请来源 - 1:管理端 2:终端",
  26340. "type": "integer"
  26341. },
  26342. "auditremark": {
  26343. "description": "审核备注",
  26344. "type": "string"
  26345. },
  26346. "auditsrc": {
  26347. "description": "审核来源 - 1:管理端 2:终端",
  26348. "type": "integer"
  26349. },
  26350. "audittime": {
  26351. "description": "审核时间",
  26352. "type": "string"
  26353. },
  26354. "audituserid": {
  26355. "description": "审核人",
  26356. "type": "integer"
  26357. },
  26358. "broker": {
  26359. "description": "所属经纪人ID",
  26360. "type": "integer"
  26361. },
  26362. "canceltime": {
  26363. "description": "销户时间",
  26364. "type": "string"
  26365. },
  26366. "canceluserid": {
  26367. "description": "销户人",
  26368. "type": "integer"
  26369. },
  26370. "canrecommend": {
  26371. "description": "是否可推荐 - 0:不可 1;可",
  26372. "type": "integer"
  26373. },
  26374. "createtime": {
  26375. "description": "创建时间",
  26376. "type": "string"
  26377. },
  26378. "creatorid": {
  26379. "description": "创建人",
  26380. "type": "integer"
  26381. },
  26382. "hasauth": {
  26383. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  26384. "type": "integer"
  26385. },
  26386. "isanonymous": {
  26387. "description": "是否匿名下单 - 0:否 1:是",
  26388. "type": "integer"
  26389. },
  26390. "maxinvestornum": {
  26391. "description": "最大用户数(经纪会员下投资者个数)",
  26392. "type": "integer"
  26393. },
  26394. "memberuserid": {
  26395. "description": "所属会员ID",
  26396. "type": "integer"
  26397. },
  26398. "modifierid": {
  26399. "description": "修改人",
  26400. "type": "integer"
  26401. },
  26402. "modifyremark": {
  26403. "description": "变更备注",
  26404. "type": "string"
  26405. },
  26406. "modifystatus": {
  26407. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  26408. "type": "integer"
  26409. },
  26410. "modifytime": {
  26411. "description": "修改时间",
  26412. "type": "string"
  26413. },
  26414. "nickname": {
  26415. "description": "昵称",
  26416. "type": "string"
  26417. },
  26418. "parenttopuser": {
  26419. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  26420. "type": "string"
  26421. },
  26422. "parentuserid": {
  26423. "description": "所属机构ID",
  26424. "type": "integer"
  26425. },
  26426. "reckonaccountid": {
  26427. "description": "默认结算资金账号ID(机构分润使用) 作废",
  26428. "type": "integer"
  26429. },
  26430. "refercount": {
  26431. "description": "推荐总人数",
  26432. "type": "integer"
  26433. },
  26434. "refereeuserid": {
  26435. "description": "推荐人ID",
  26436. "type": "integer"
  26437. },
  26438. "refernum": {
  26439. "description": "推荐码",
  26440. "type": "string"
  26441. },
  26442. "rootuserid": {
  26443. "description": "根用户ID",
  26444. "type": "integer"
  26445. },
  26446. "subaccountlevel": {
  26447. "description": "子账户层数",
  26448. "type": "integer"
  26449. },
  26450. "subarealevelpath": {
  26451. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  26452. "type": "string"
  26453. },
  26454. "userid": {
  26455. "description": "用户ID",
  26456. "type": "integer"
  26457. },
  26458. "usertype": {
  26459. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  26460. "type": "integer"
  26461. }
  26462. }
  26463. },
  26464. "models.Ermcp3SCMiddleGoods": {
  26465. "type": "object",
  26466. "properties": {
  26467. "biztype": {
  26468. "description": "业务类型 1:套保 2:套利",
  26469. "type": "integer"
  26470. },
  26471. "contractno": {
  26472. "description": "合同编号",
  26473. "type": "string"
  26474. },
  26475. "contracttype": {
  26476. "description": "合同类型 1:采购 -1:销售",
  26477. "type": "integer"
  26478. },
  26479. "convertratio": {
  26480. "description": "折算系数",
  26481. "type": "number"
  26482. },
  26483. "customername": {
  26484. "description": "对手手名称",
  26485. "type": "string"
  26486. },
  26487. "customeruserid": {
  26488. "description": "对手id",
  26489. "type": "integer"
  26490. },
  26491. "deliverygoodscode": {
  26492. "description": "现货品种代码",
  26493. "type": "string"
  26494. },
  26495. "deliverygoodsid": {
  26496. "description": "现货品种ID",
  26497. "type": "integer"
  26498. },
  26499. "deliverygoodsname": {
  26500. "description": "现货品种名称",
  26501. "type": "string"
  26502. },
  26503. "enumdicname": {
  26504. "description": "现货单位名称",
  26505. "type": "string"
  26506. },
  26507. "middlegoodsid": {
  26508. "description": "套保品种ID",
  26509. "type": "integer"
  26510. },
  26511. "middlegoodspricedqty3": {
  26512. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  26513. "type": "number"
  26514. },
  26515. "needhedgeratio": {
  26516. "description": "套保比例",
  26517. "type": "number"
  26518. },
  26519. "pricedqty": {
  26520. "description": "已定价量",
  26521. "type": "number"
  26522. },
  26523. "relatedmiddlegoodsqty": {
  26524. "description": "已关联量(套保品种)(期货)",
  26525. "type": "number"
  26526. },
  26527. "spotcontractid": {
  26528. "description": "合同编号",
  26529. "type": "string"
  26530. },
  26531. "unitid": {
  26532. "description": "现货单位id",
  26533. "type": "integer"
  26534. },
  26535. "userid": {
  26536. "description": "用户id",
  26537. "type": "integer"
  26538. },
  26539. "vatrate": {
  26540. "description": "增值税率",
  26541. "type": "number"
  26542. },
  26543. "wrstandardcode": {
  26544. "description": "现货商品代码",
  26545. "type": "string"
  26546. },
  26547. "wrstandardid": {
  26548. "description": "现货商品id",
  26549. "type": "integer"
  26550. },
  26551. "wrstandardname": {
  26552. "description": "现货商品名称",
  26553. "type": "string"
  26554. }
  26555. }
  26556. },
  26557. "models.Ermcp3SCMiddleGoodsReport": {
  26558. "type": "object",
  26559. "properties": {
  26560. "begindate": {
  26561. "description": "开始交易日",
  26562. "type": "string"
  26563. },
  26564. "contractno": {
  26565. "description": "合同编号",
  26566. "type": "string"
  26567. },
  26568. "contracttype": {
  26569. "description": "合同类型 1:采购 -1:销售",
  26570. "type": "integer"
  26571. },
  26572. "convertratio": {
  26573. "description": "期初均价",
  26574. "type": "number"
  26575. },
  26576. "cycletime": {
  26577. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26578. "type": "string"
  26579. },
  26580. "cycletype": {
  26581. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26582. "type": "integer"
  26583. },
  26584. "deliverygoodscode": {
  26585. "description": "品种代码",
  26586. "type": "string"
  26587. },
  26588. "deliverygoodsid": {
  26589. "description": "现货品种ID",
  26590. "type": "integer"
  26591. },
  26592. "deliverygoodsname": {
  26593. "description": "品种名称",
  26594. "type": "string"
  26595. },
  26596. "diffprice": {
  26597. "description": "期初均价",
  26598. "type": "number"
  26599. },
  26600. "diffqty": {
  26601. "description": "期初均价",
  26602. "type": "number"
  26603. },
  26604. "enddate": {
  26605. "description": "结束交易日",
  26606. "type": "string"
  26607. },
  26608. "hedgeplanqty": {
  26609. "description": "期初均价",
  26610. "type": "number"
  26611. },
  26612. "matchname": {
  26613. "description": "交易对手方(个人:用户名称 企业:简称)",
  26614. "type": "string"
  26615. },
  26616. "matchnickname": {
  26617. "description": "交易对手方昵称",
  26618. "type": "string"
  26619. },
  26620. "middlegoodscode": {
  26621. "description": "套保品种代码",
  26622. "type": "string"
  26623. },
  26624. "middlegoodsid": {
  26625. "description": "套保品种ID",
  26626. "type": "integer"
  26627. },
  26628. "middlegoodsname": {
  26629. "description": "套保品种名称",
  26630. "type": "string"
  26631. },
  26632. "middlegoodspricedqty": {
  26633. "description": "期初均价",
  26634. "type": "number"
  26635. },
  26636. "middlegoodspricedqty2": {
  26637. "description": "期初均价",
  26638. "type": "number"
  26639. },
  26640. "middlegoodspricedqty3": {
  26641. "description": "期初均价",
  26642. "type": "number"
  26643. },
  26644. "needhedgeratio": {
  26645. "description": "期初均价",
  26646. "type": "number"
  26647. },
  26648. "pricedamount": {
  26649. "description": "期初均价",
  26650. "type": "number"
  26651. },
  26652. "pricedamount2": {
  26653. "description": "期初均价",
  26654. "type": "number"
  26655. },
  26656. "pricedqty": {
  26657. "description": "期初均价",
  26658. "type": "number"
  26659. },
  26660. "reckondate": {
  26661. "description": "日照时期(yyyyMMdd)",
  26662. "type": "string"
  26663. },
  26664. "relatedmiddlegoodsamount": {
  26665. "description": "期初均价",
  26666. "type": "number"
  26667. },
  26668. "relatedmiddlegoodsqty": {
  26669. "description": "期初均价",
  26670. "type": "number"
  26671. },
  26672. "spotcontractid": {
  26673. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  26674. "type": "string"
  26675. },
  26676. "todayavgfutuprice": {
  26677. "description": "期初均价",
  26678. "type": "number"
  26679. },
  26680. "todayavgprice": {
  26681. "description": "期初均价",
  26682. "type": "number"
  26683. },
  26684. "todayavgprice2": {
  26685. "description": "期初均价",
  26686. "type": "number"
  26687. },
  26688. "todaypricedamount": {
  26689. "description": "期初均价",
  26690. "type": "number"
  26691. },
  26692. "todaypricedamount2": {
  26693. "description": "期初均价",
  26694. "type": "number"
  26695. },
  26696. "todaypricedqty": {
  26697. "description": "期初均价",
  26698. "type": "number"
  26699. },
  26700. "todayrelatedfutureqty": {
  26701. "description": "期初均价",
  26702. "type": "number"
  26703. },
  26704. "todayrelatedmiddlegoodsamount": {
  26705. "description": "期初均价",
  26706. "type": "number"
  26707. },
  26708. "todayrelatedmiddlegoodsqty": {
  26709. "description": "期初均价",
  26710. "type": "number"
  26711. },
  26712. "updatetime": {
  26713. "description": "更新时间",
  26714. "type": "string"
  26715. },
  26716. "userid": {
  26717. "description": "合同所属用户id",
  26718. "type": "integer"
  26719. },
  26720. "vatrate": {
  26721. "description": "期初均价",
  26722. "type": "number"
  26723. },
  26724. "wrstandardcode": {
  26725. "description": "商品(品类) 代码",
  26726. "type": "string"
  26727. },
  26728. "wrstandardid": {
  26729. "description": "现货商品ID",
  26730. "type": "integer"
  26731. },
  26732. "wrstandardname": {
  26733. "description": "商品(品类) 名称",
  26734. "type": "string"
  26735. }
  26736. }
  26737. },
  26738. "models.Ermcp3SellBuyContract": {
  26739. "type": "object",
  26740. "properties": {
  26741. "accountid": {
  26742. "description": "期货账户id",
  26743. "type": "string"
  26744. },
  26745. "accountname": {
  26746. "description": "账户名称",
  26747. "type": "string"
  26748. },
  26749. "attachment": {
  26750. "description": "附件",
  26751. "type": "string"
  26752. },
  26753. "audittime": {
  26754. "description": "审核时间",
  26755. "type": "string"
  26756. },
  26757. "bizsubjectid": {
  26758. "description": "归属业务部门ID - SubjectID",
  26759. "type": "integer"
  26760. },
  26761. "biztype": {
  26762. "description": "业务类型 1-套保 2-套利",
  26763. "type": "integer"
  26764. },
  26765. "brandname": {
  26766. "description": "品牌名称",
  26767. "type": "string"
  26768. },
  26769. "contracctstatus": {
  26770. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26771. "type": "integer"
  26772. },
  26773. "contractmargin": {
  26774. "description": "合同保证金",
  26775. "type": "number"
  26776. },
  26777. "contractno": {
  26778. "description": "合同编号",
  26779. "type": "string"
  26780. },
  26781. "contracttype": {
  26782. "description": "合同类型 1-采购, -1-销售",
  26783. "type": "integer"
  26784. },
  26785. "convertfactor": {
  26786. "description": "标仓系数(品类)",
  26787. "type": "number"
  26788. },
  26789. "createtime": {
  26790. "description": "创建时间",
  26791. "type": "string"
  26792. },
  26793. "currencyid": {
  26794. "description": "币种id",
  26795. "type": "integer"
  26796. },
  26797. "currencyname": {
  26798. "description": "币种名称",
  26799. "type": "string"
  26800. },
  26801. "daikaiamount": {
  26802. "description": "应收(开)票额 | 未收票额",
  26803. "type": "number"
  26804. },
  26805. "deliveryenddate": {
  26806. "description": "交割结束日",
  26807. "type": "string"
  26808. },
  26809. "deliverygoodscode": {
  26810. "description": "现货品种代码",
  26811. "type": "string"
  26812. },
  26813. "deliverygoodsid": {
  26814. "description": "现货商品ID",
  26815. "type": "integer"
  26816. },
  26817. "deliverygoodsname": {
  26818. "description": "现货品种名称",
  26819. "type": "string"
  26820. },
  26821. "deliverystartdate": {
  26822. "description": "交割开始日",
  26823. "type": "string"
  26824. },
  26825. "enddate": {
  26826. "description": "点价结束日",
  26827. "type": "string"
  26828. },
  26829. "enumdicname": {
  26830. "description": "单位名称",
  26831. "type": "string"
  26832. },
  26833. "goodscode": {
  26834. "description": "点价商品代码",
  26835. "type": "string"
  26836. },
  26837. "goodsgroupid": {
  26838. "description": "点价商品组id",
  26839. "type": "integer"
  26840. },
  26841. "goodsid": {
  26842. "description": "点价商品ID",
  26843. "type": "integer"
  26844. },
  26845. "goodsname": {
  26846. "description": "点价商品名称",
  26847. "type": "string"
  26848. },
  26849. "invoiceamount": {
  26850. "description": "已开票额",
  26851. "type": "number"
  26852. },
  26853. "loanamount": {
  26854. "description": "贷款总额=已定价额+调整金额",
  26855. "type": "number"
  26856. },
  26857. "margin": {
  26858. "description": "保证金",
  26859. "type": "number"
  26860. },
  26861. "meruserid": {
  26862. "description": "跟单员id",
  26863. "type": "integer"
  26864. },
  26865. "meruserlogincode": {
  26866. "description": "跟单员登录代码",
  26867. "type": "string"
  26868. },
  26869. "merusername": {
  26870. "description": "跟单员名称",
  26871. "type": "string"
  26872. },
  26873. "nickname": {
  26874. "description": "账户昵称",
  26875. "type": "string"
  26876. },
  26877. "orireckonrealqty": {
  26878. "description": "应交收量",
  26879. "type": "number"
  26880. },
  26881. "payamount": {
  26882. "description": "已收付额(收款或付款)",
  26883. "type": "number"
  26884. },
  26885. "preinvoiceamount": {
  26886. "description": "预收(开)票额",
  26887. "type": "number"
  26888. },
  26889. "prepayamount": {
  26890. "description": "预收付额",
  26891. "type": "number"
  26892. },
  26893. "price": {
  26894. "description": "价格",
  26895. "type": "number"
  26896. },
  26897. "pricedamount": {
  26898. "description": "已定价额",
  26899. "type": "number"
  26900. },
  26901. "pricedavg": {
  26902. "description": "已点均价",
  26903. "type": "number"
  26904. },
  26905. "pricedqty": {
  26906. "description": "已定价量",
  26907. "type": "number"
  26908. },
  26909. "pricemove": {
  26910. "description": "升贴水",
  26911. "type": "number"
  26912. },
  26913. "pricetype": {
  26914. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  26915. "type": "integer"
  26916. },
  26917. "producttype": {
  26918. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26919. "type": "integer"
  26920. },
  26921. "qty": {
  26922. "description": "合同量",
  26923. "type": "number"
  26924. },
  26925. "reckonadjustamount": {
  26926. "description": "调整金额",
  26927. "type": "number"
  26928. },
  26929. "reckonedamount": {
  26930. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  26931. "type": "number"
  26932. },
  26933. "reckonotheramount": {
  26934. "description": "其它费用",
  26935. "type": "number"
  26936. },
  26937. "reckonrealqty": {
  26938. "description": "已交收量",
  26939. "type": "number"
  26940. },
  26941. "remark": {
  26942. "description": "备注",
  26943. "type": "string"
  26944. },
  26945. "saleuserid": {
  26946. "description": "业务员id",
  26947. "type": "integer"
  26948. },
  26949. "saleuserlogincode": {
  26950. "description": "业务员登录代码",
  26951. "type": "string"
  26952. },
  26953. "saleusername": {
  26954. "description": "业务员名称",
  26955. "type": "string"
  26956. },
  26957. "spotcontractid": {
  26958. "description": "合同ID",
  26959. "type": "string"
  26960. },
  26961. "spotgoodsbrandid": {
  26962. "description": "现货品牌ID(DGFactoryItem表的ID)",
  26963. "type": "integer"
  26964. },
  26965. "spotgoodsdesc": {
  26966. "description": "商品型号(商品规格)",
  26967. "type": "string"
  26968. },
  26969. "startdate": {
  26970. "description": "点价开始日",
  26971. "type": "string"
  26972. },
  26973. "subjectid": {
  26974. "description": "交易主体ID",
  26975. "type": "integer"
  26976. },
  26977. "subjectname": {
  26978. "description": "交易主体名称",
  26979. "type": "string"
  26980. },
  26981. "totalamount": {
  26982. "description": "合计总额",
  26983. "type": "number"
  26984. },
  26985. "tradeuserid": {
  26986. "description": "交易员id",
  26987. "type": "integer"
  26988. },
  26989. "tradeuserlogincode": {
  26990. "description": "交易员登录代码",
  26991. "type": "string"
  26992. },
  26993. "tradeusername": {
  26994. "description": "交易员名称",
  26995. "type": "string"
  26996. },
  26997. "unpayamount": {
  26998. "description": "应收付款额(应支付或应收款) | 未付款额",
  26999. "type": "number"
  27000. },
  27001. "unpricedqty": {
  27002. "description": "未定价量",
  27003. "type": "number"
  27004. },
  27005. "unsureqty": {
  27006. "description": "未确定量 | 未交收量",
  27007. "type": "number"
  27008. },
  27009. "userid": {
  27010. "description": "机构ID",
  27011. "type": "integer"
  27012. },
  27013. "vatrate": {
  27014. "description": "增值税率",
  27015. "type": "number"
  27016. },
  27017. "wrstandardcode": {
  27018. "description": "品类代码",
  27019. "type": "string"
  27020. },
  27021. "wrstandardid": {
  27022. "description": "品类ID",
  27023. "type": "integer"
  27024. },
  27025. "wrstandardname": {
  27026. "description": "品类名称",
  27027. "type": "string"
  27028. }
  27029. }
  27030. },
  27031. "models.Ermcp3SpotGoodsPrice": {
  27032. "type": "object",
  27033. "properties": {
  27034. "areauserid": {
  27035. "description": "所属机构id",
  27036. "type": "integer"
  27037. },
  27038. "brandname": {
  27039. "description": "品牌名称",
  27040. "type": "string"
  27041. },
  27042. "currencyid": {
  27043. "description": "报价货币ID",
  27044. "type": "integer"
  27045. },
  27046. "currencyname": {
  27047. "description": "币种名称",
  27048. "type": "string"
  27049. },
  27050. "deliverygoodscode": {
  27051. "description": "现货商品代码",
  27052. "type": "string"
  27053. },
  27054. "deliverygoodsid": {
  27055. "description": "现货商品id",
  27056. "type": "integer"
  27057. },
  27058. "deliverygoodsname": {
  27059. "description": "现货商品名称",
  27060. "type": "string"
  27061. },
  27062. "enumdicname": {
  27063. "description": "现货商品单位名称",
  27064. "type": "string"
  27065. },
  27066. "gbenumdicname": {
  27067. "description": "品类单位名称",
  27068. "type": "string"
  27069. },
  27070. "gmunitid": {
  27071. "description": "品类单位id",
  27072. "type": "integer"
  27073. },
  27074. "isvalid": {
  27075. "description": "是否有效 - 0:无效 1:有效",
  27076. "type": "integer"
  27077. },
  27078. "operateid": {
  27079. "description": "最后操作人",
  27080. "type": "integer"
  27081. },
  27082. "operatesrc": {
  27083. "description": "最后操作来源 - 1:管理端 2:终端",
  27084. "type": "integer"
  27085. },
  27086. "operatetime": {
  27087. "description": "最后操作时间",
  27088. "type": "string"
  27089. },
  27090. "operatorname": {
  27091. "description": "操作人名称",
  27092. "type": "string"
  27093. },
  27094. "spotgoodsbrandid": {
  27095. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27096. "type": "integer"
  27097. },
  27098. "spotgoodsprice": {
  27099. "description": "现货价格",
  27100. "type": "number"
  27101. },
  27102. "tradedate": {
  27103. "description": "交易日(yyyyMMdd)",
  27104. "type": "string"
  27105. },
  27106. "unitid": {
  27107. "description": "现货商品单位id",
  27108. "type": "integer"
  27109. },
  27110. "wrstandardcode": {
  27111. "description": "品类代码",
  27112. "type": "string"
  27113. },
  27114. "wrstandardid": {
  27115. "description": "现货品类ID(通用则为0)",
  27116. "type": "integer"
  27117. },
  27118. "wrstandardname": {
  27119. "description": "品类名称",
  27120. "type": "string"
  27121. }
  27122. }
  27123. },
  27124. "models.Ermcp3SpotGoodsPriceLog": {
  27125. "type": "object",
  27126. "properties": {
  27127. "areauserid": {
  27128. "description": "所属机构id",
  27129. "type": "integer"
  27130. },
  27131. "brandname": {
  27132. "description": "品牌名称",
  27133. "type": "string"
  27134. },
  27135. "currencyid": {
  27136. "description": "报价货币ID",
  27137. "type": "integer"
  27138. },
  27139. "deliverygoodscode": {
  27140. "description": "现货商品代码",
  27141. "type": "string"
  27142. },
  27143. "deliverygoodsid": {
  27144. "description": "现货商品id",
  27145. "type": "integer"
  27146. },
  27147. "deliverygoodsname": {
  27148. "description": "现货商品名称",
  27149. "type": "string"
  27150. },
  27151. "enumdicname": {
  27152. "description": "现货商品单位名称",
  27153. "type": "string"
  27154. },
  27155. "gbenumdicname": {
  27156. "description": "品类单位名称",
  27157. "type": "string"
  27158. },
  27159. "gmunitid": {
  27160. "description": "品类单位id",
  27161. "type": "integer"
  27162. },
  27163. "logid": {
  27164. "description": "日志id",
  27165. "type": "integer"
  27166. },
  27167. "operateid": {
  27168. "description": "最后操作人",
  27169. "type": "integer"
  27170. },
  27171. "operatesrc": {
  27172. "description": "最后操作来源 - 1:管理端 2:终端",
  27173. "type": "integer"
  27174. },
  27175. "operatetime": {
  27176. "description": "最后操作时间",
  27177. "type": "string"
  27178. },
  27179. "operatorname": {
  27180. "description": "操作人名称",
  27181. "type": "string"
  27182. },
  27183. "spotgoodsbrandid": {
  27184. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27185. "type": "integer"
  27186. },
  27187. "spotgoodsprice": {
  27188. "description": "现货价格",
  27189. "type": "number"
  27190. },
  27191. "tradedate": {
  27192. "description": "交易日(yyyyMMdd)",
  27193. "type": "string"
  27194. },
  27195. "unitid": {
  27196. "description": "现货商品单位id",
  27197. "type": "integer"
  27198. },
  27199. "wrstandardcode": {
  27200. "description": "品类代码",
  27201. "type": "string"
  27202. },
  27203. "wrstandardid": {
  27204. "description": "现货品类ID(通用则为0)",
  27205. "type": "integer"
  27206. },
  27207. "wrstandardname": {
  27208. "description": "品类名称",
  27209. "type": "string"
  27210. }
  27211. }
  27212. },
  27213. "models.Ermcp3SubTaaccount": {
  27214. "type": "object",
  27215. "properties": {
  27216. "accountid": {
  27217. "description": "资金账户ID",
  27218. "type": "integer"
  27219. },
  27220. "parentaccountcode": {
  27221. "description": "所属根账号代码(母账号代码)",
  27222. "type": "string"
  27223. },
  27224. "parentaccountid": {
  27225. "description": "所属根账号(母账号)",
  27226. "type": "integer"
  27227. },
  27228. "taname": {
  27229. "description": "资金账号名称",
  27230. "type": "string"
  27231. },
  27232. "tradestatus": {
  27233. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  27234. "type": "integer"
  27235. },
  27236. "username": {
  27237. "description": "交易用户",
  27238. "type": "string"
  27239. }
  27240. }
  27241. },
  27242. "models.Ermcp3TaFutuReDataReport": {
  27243. "type": "object",
  27244. "properties": {
  27245. "accountid": {
  27246. "description": "交易账户",
  27247. "type": "integer"
  27248. },
  27249. "accountname": {
  27250. "description": "交易账号名称",
  27251. "type": "string"
  27252. },
  27253. "agreeunit": {
  27254. "description": "商品合约单位",
  27255. "type": "number"
  27256. },
  27257. "begindate": {
  27258. "description": "开始交易日",
  27259. "type": "string"
  27260. },
  27261. "buyorsell": {
  27262. "description": "持仓方向",
  27263. "type": "integer"
  27264. },
  27265. "charge": {
  27266. "description": "手续费",
  27267. "type": "number"
  27268. },
  27269. "closeavgprice": {
  27270. "description": "期初均价",
  27271. "type": "number"
  27272. },
  27273. "closepl": {
  27274. "description": "平仓损益",
  27275. "type": "number"
  27276. },
  27277. "currencyid": {
  27278. "description": "结算币种ID",
  27279. "type": "integer"
  27280. },
  27281. "currencyname": {
  27282. "description": "币种名称",
  27283. "type": "string"
  27284. },
  27285. "cycletime": {
  27286. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27287. "type": "string"
  27288. },
  27289. "cycletype": {
  27290. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27291. "type": "integer"
  27292. },
  27293. "enddate": {
  27294. "description": "结束交易日",
  27295. "type": "string"
  27296. },
  27297. "enumdicname": {
  27298. "description": "单位名称",
  27299. "type": "string"
  27300. },
  27301. "floatpl": {
  27302. "description": "浮动损益",
  27303. "type": "number"
  27304. },
  27305. "goodscode": {
  27306. "description": "交易合约代码",
  27307. "type": "string"
  27308. },
  27309. "goodsgroupid": {
  27310. "description": "交易品种",
  27311. "type": "integer"
  27312. },
  27313. "goodsgroupname": {
  27314. "description": "交易品种名称",
  27315. "type": "string"
  27316. },
  27317. "goodsgroupspotqty": {
  27318. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  27319. "type": "number"
  27320. },
  27321. "goodsid": {
  27322. "description": "交易合约",
  27323. "type": "integer"
  27324. },
  27325. "goodsname": {
  27326. "description": "交易合约名称",
  27327. "type": "string"
  27328. },
  27329. "goodunitid": {
  27330. "description": "交易合约单位id",
  27331. "type": "integer"
  27332. },
  27333. "holdamount": {
  27334. "description": "期末持仓额",
  27335. "type": "number"
  27336. },
  27337. "holdqty": {
  27338. "description": "期初均价",
  27339. "type": "number"
  27340. },
  27341. "lastholdamount": {
  27342. "description": "当前持仓额",
  27343. "type": "number"
  27344. },
  27345. "lastprice": {
  27346. "description": "最新价",
  27347. "type": "number"
  27348. },
  27349. "middlegoodsid": {
  27350. "description": "套保品种id",
  27351. "type": "integer"
  27352. },
  27353. "middlegoodsname": {
  27354. "description": "套保商品名称",
  27355. "type": "string"
  27356. },
  27357. "middlegoodsqty": {
  27358. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  27359. "type": "number"
  27360. },
  27361. "middlgoodscode": {
  27362. "description": "套保商品代码",
  27363. "type": "string"
  27364. },
  27365. "openamount": {
  27366. "description": "期末开仓额",
  27367. "type": "number"
  27368. },
  27369. "openavgprice": {
  27370. "description": "期初均价",
  27371. "type": "number"
  27372. },
  27373. "oriholdamount": {
  27374. "description": "期初持仓额",
  27375. "type": "number"
  27376. },
  27377. "oriholdqty": {
  27378. "description": "期初均价",
  27379. "type": "number"
  27380. },
  27381. "oriopenamount": {
  27382. "description": "期初开仓额",
  27383. "type": "number"
  27384. },
  27385. "outergroupcode": {
  27386. "description": "交易品种代码",
  27387. "type": "string"
  27388. },
  27389. "qtydecimalplace": {
  27390. "description": "成交量小数位",
  27391. "type": "integer"
  27392. },
  27393. "reckondate": {
  27394. "description": "日照时期(yyyyMMdd)",
  27395. "type": "string"
  27396. },
  27397. "reckonholdamount": {
  27398. "description": "结算持仓额",
  27399. "type": "number"
  27400. },
  27401. "reckonpl": {
  27402. "description": "结算损益",
  27403. "type": "number"
  27404. },
  27405. "reckonpl2": {
  27406. "description": "结算逐笔盈亏",
  27407. "type": "number"
  27408. },
  27409. "reckonprice": {
  27410. "description": "结算价",
  27411. "type": "number"
  27412. },
  27413. "relateduserid": {
  27414. "description": "账户关联用户ID",
  27415. "type": "integer"
  27416. },
  27417. "todaycloseamount": {
  27418. "description": "今平仓额",
  27419. "type": "number"
  27420. },
  27421. "todaycloseqty": {
  27422. "description": "期初均价",
  27423. "type": "number"
  27424. },
  27425. "todaygoodsgroupspotqty": {
  27426. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  27427. "type": "number"
  27428. },
  27429. "todaymiddlegoodsqty": {
  27430. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  27431. "type": "number"
  27432. },
  27433. "todayopenamount": {
  27434. "description": "今开仓额",
  27435. "type": "number"
  27436. },
  27437. "todayopenqty": {
  27438. "description": "期初均价",
  27439. "type": "number"
  27440. },
  27441. "userid": {
  27442. "description": "账户所属用户ID",
  27443. "type": "integer"
  27444. }
  27445. }
  27446. },
  27447. "models.Ermcp3TradeLinkDetail": {
  27448. "type": "object",
  27449. "properties": {
  27450. "accountid": {
  27451. "description": "资金账号",
  27452. "type": "integer"
  27453. },
  27454. "agreeunit": {
  27455. "description": "合约乘数",
  27456. "type": "number"
  27457. },
  27458. "areauserid": {
  27459. "description": "所属机构",
  27460. "type": "string"
  27461. },
  27462. "bizsubjectid": {
  27463. "description": "归属业务部门ID - SubjectID",
  27464. "type": "string"
  27465. },
  27466. "buyorsell": {
  27467. "description": "方向 - 0:买 1:卖",
  27468. "type": "integer"
  27469. },
  27470. "channelbuildtype": {
  27471. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  27472. "type": "integer"
  27473. },
  27474. "contractno": {
  27475. "description": "现货编号 (合同编号)",
  27476. "type": "string"
  27477. },
  27478. "convertratio": {
  27479. "description": "折算系数",
  27480. "type": "number"
  27481. },
  27482. "createtime": {
  27483. "description": "关联时间 | 创建时间",
  27484. "type": "string"
  27485. },
  27486. "creatorid": {
  27487. "description": "创建人ID",
  27488. "type": "string"
  27489. },
  27490. "creatorsrc": {
  27491. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  27492. "type": "integer"
  27493. },
  27494. "enumdicname": {
  27495. "description": "单位名称",
  27496. "type": "string"
  27497. },
  27498. "goodscode": {
  27499. "description": "合约代码",
  27500. "type": "string"
  27501. },
  27502. "goodsgroupid": {
  27503. "description": "对冲品种ID[期货合约商品组ID]",
  27504. "type": "integer"
  27505. },
  27506. "goodsid": {
  27507. "description": "商品ID",
  27508. "type": "integer"
  27509. },
  27510. "goodsname": {
  27511. "description": "合约名称",
  27512. "type": "string"
  27513. },
  27514. "hedgeflag": {
  27515. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  27516. "type": "integer"
  27517. },
  27518. "linkdetailid": {
  27519. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  27520. "type": "string"
  27521. },
  27522. "linkstatus": {
  27523. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  27524. "type": "integer"
  27525. },
  27526. "middlegoodscode": {
  27527. "description": "套保品种代码",
  27528. "type": "string"
  27529. },
  27530. "middlegoodsid": {
  27531. "description": "套保品种ID",
  27532. "type": "integer"
  27533. },
  27534. "middlegoodsname": {
  27535. "description": "套保品种名称",
  27536. "type": "string"
  27537. },
  27538. "relatedlot": {
  27539. "description": "关联手数",
  27540. "type": "number"
  27541. },
  27542. "relatedmode": {
  27543. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  27544. "type": "integer"
  27545. },
  27546. "relatedqty": {
  27547. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  27548. "type": "number"
  27549. },
  27550. "retcode": {
  27551. "description": "返回码",
  27552. "type": "integer"
  27553. },
  27554. "saleuserid": {
  27555. "description": "业务员ID",
  27556. "type": "string"
  27557. },
  27558. "spotcontractid": {
  27559. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  27560. "type": "string"
  27561. },
  27562. "taname": {
  27563. "description": "期货账户",
  27564. "type": "string"
  27565. },
  27566. "tradedate": {
  27567. "description": "关联交易日(yyyyMMdd)",
  27568. "type": "string"
  27569. },
  27570. "tradeid": {
  27571. "description": "期货订单号 | 内部成交单ID",
  27572. "type": "string"
  27573. },
  27574. "tradelot": {
  27575. "description": "成交数量 | 成交手数",
  27576. "type": "integer"
  27577. },
  27578. "tradeprice": {
  27579. "description": "成交价格",
  27580. "type": "number"
  27581. },
  27582. "tradetime": {
  27583. "description": "期货成交时间",
  27584. "type": "string"
  27585. },
  27586. "tradetradedate": {
  27587. "description": "成交交易日(yyyyMMdd)",
  27588. "type": "string"
  27589. },
  27590. "username": {
  27591. "description": "用户名称",
  27592. "type": "string"
  27593. }
  27594. }
  27595. },
  27596. "models.Ermcp3Wrstandard": {
  27597. "type": "object",
  27598. "properties": {
  27599. "areauserid": {
  27600. "description": "所属机构",
  27601. "type": "integer"
  27602. },
  27603. "cantrade": {
  27604. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  27605. "type": "integer"
  27606. },
  27607. "convertfactor": {
  27608. "description": "标仓系数",
  27609. "type": "number"
  27610. },
  27611. "createtime": {
  27612. "description": "创建时间",
  27613. "type": "string"
  27614. },
  27615. "creatorid": {
  27616. "description": "创建人",
  27617. "type": "integer"
  27618. },
  27619. "deliverygoodsid": {
  27620. "description": "现货品种ID",
  27621. "type": "integer"
  27622. },
  27623. "enumdicname": {
  27624. "description": "品类单位名称",
  27625. "type": "string"
  27626. },
  27627. "isvalid": {
  27628. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  27629. "type": "integer"
  27630. },
  27631. "minivalue": {
  27632. "description": "最小变动值",
  27633. "type": "integer"
  27634. },
  27635. "minivaluedp": {
  27636. "description": "最小变动值小数位",
  27637. "type": "integer"
  27638. },
  27639. "realminivalue": {
  27640. "description": "实际最小变动值",
  27641. "type": "integer"
  27642. },
  27643. "realminivaluedp": {
  27644. "description": "实际最小变动值小数位",
  27645. "type": "integer"
  27646. },
  27647. "remark": {
  27648. "description": "备注",
  27649. "type": "string"
  27650. },
  27651. "unitid": {
  27652. "description": "品类单位ID",
  27653. "type": "integer"
  27654. },
  27655. "updatetime": {
  27656. "description": "更新时间",
  27657. "type": "string"
  27658. },
  27659. "wrstandardcode": {
  27660. "description": "品类代码",
  27661. "type": "string"
  27662. },
  27663. "wrstandardid": {
  27664. "description": "品类ID(SEQ_WRSTANDARD)",
  27665. "type": "integer"
  27666. },
  27667. "wrstandardname": {
  27668. "description": "品类名称",
  27669. "type": "string"
  27670. }
  27671. }
  27672. },
  27673. "models.Ermcp8EnableHedgeditem": {
  27674. "type": "object",
  27675. "properties": {
  27676. "accountname": {
  27677. "description": "套期主体",
  27678. "type": "string"
  27679. },
  27680. "hedgeditemid": {
  27681. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27682. "type": "string"
  27683. },
  27684. "hedgeditemname": {
  27685. "description": "项目名称",
  27686. "type": "string"
  27687. },
  27688. "hedgeditemnum": {
  27689. "description": "项目编号",
  27690. "type": "string"
  27691. },
  27692. "hedgedtype": {
  27693. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27694. "type": "integer"
  27695. },
  27696. "planenddate": {
  27697. "description": "计划结束日期",
  27698. "type": "string"
  27699. },
  27700. "planstartdate": {
  27701. "description": "计划开始日期",
  27702. "type": "string"
  27703. },
  27704. "wrstandardid": {
  27705. "description": "现货商品ID",
  27706. "type": "integer"
  27707. },
  27708. "wrstandardname": {
  27709. "description": "现货商品",
  27710. "type": "string"
  27711. }
  27712. }
  27713. },
  27714. "models.Ermcp8HedgeditemReport": {
  27715. "type": "object",
  27716. "properties": {
  27717. "accountname": {
  27718. "description": "套期主体",
  27719. "type": "string"
  27720. },
  27721. "areauserid": {
  27722. "description": "企业ID",
  27723. "type": "integer"
  27724. },
  27725. "curprice": {
  27726. "description": "[当日现货市场价]当前市场价",
  27727. "type": "number"
  27728. },
  27729. "enumdicname": {
  27730. "description": "单位",
  27731. "type": "string"
  27732. },
  27733. "exeamount": {
  27734. "description": "[执行现货金额]执行市价总额",
  27735. "type": "number"
  27736. },
  27737. "exeavgprice": {
  27738. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  27739. "type": "number"
  27740. },
  27741. "exeqty": {
  27742. "description": "[执行数量]执行现货量",
  27743. "type": "number"
  27744. },
  27745. "futurehedgepl": {
  27746. "description": "期货实际损益",
  27747. "type": "number"
  27748. },
  27749. "futurehedgeplchange": {
  27750. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  27751. "type": "number"
  27752. },
  27753. "futurepl": {
  27754. "description": "期货套期损益",
  27755. "type": "number"
  27756. },
  27757. "futureplchange": {
  27758. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  27759. "type": "number"
  27760. },
  27761. "hedgeamount": {
  27762. "description": "[套期现货金额]套期市价总额",
  27763. "type": "number"
  27764. },
  27765. "hedgeditemnum": {
  27766. "description": "项目编号,模糊查询",
  27767. "type": "string"
  27768. },
  27769. "hedgeditemstatus": {
  27770. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27771. "type": "integer"
  27772. },
  27773. "hedgedtype": {
  27774. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27775. "type": "integer"
  27776. },
  27777. "hedgeqty": {
  27778. "description": "[套期数量]套期现货量",
  27779. "type": "number"
  27780. },
  27781. "oriavgprice": {
  27782. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  27783. "type": "number"
  27784. },
  27785. "orifuturehedgepl": {
  27786. "description": "期初期货实际损益",
  27787. "type": "number"
  27788. },
  27789. "orifuturepl": {
  27790. "description": "期初期货套期损益",
  27791. "type": "number"
  27792. },
  27793. "orispothedgepl": {
  27794. "description": "期初现货实际损益",
  27795. "type": "number"
  27796. },
  27797. "orispotpl": {
  27798. "description": "期初现货套期损益",
  27799. "type": "number"
  27800. },
  27801. "planenddate": {
  27802. "description": "计划结束日期",
  27803. "type": "string"
  27804. },
  27805. "planstartdate": {
  27806. "description": "计划开始日期",
  27807. "type": "string"
  27808. },
  27809. "spothedgepl": {
  27810. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  27811. "type": "number"
  27812. },
  27813. "spothedgeplchange": {
  27814. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  27815. "type": "number"
  27816. },
  27817. "spotpl": {
  27818. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  27819. "type": "number"
  27820. },
  27821. "spotplchange": {
  27822. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  27823. "type": "number"
  27824. },
  27825. "tradeuserid": {
  27826. "description": "交易用户ID",
  27827. "type": "integer"
  27828. },
  27829. "unexeqty": {
  27830. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  27831. "type": "number"
  27832. },
  27833. "wrstandardcode": {
  27834. "description": "现货品类代码",
  27835. "type": "string"
  27836. },
  27837. "wrstandardid": {
  27838. "description": "现货商品ID",
  27839. "type": "integer"
  27840. },
  27841. "wrstandardname": {
  27842. "description": "[现货商品]现货品类名称",
  27843. "type": "string"
  27844. }
  27845. }
  27846. },
  27847. "models.Ermcp8RunningHedgeditem": {
  27848. "type": "object",
  27849. "properties": {
  27850. "accountname": {
  27851. "description": "套期主体",
  27852. "type": "string"
  27853. },
  27854. "applyid": {
  27855. "description": "申请人",
  27856. "type": "integer"
  27857. },
  27858. "applysrc": {
  27859. "description": "申请来源 - 1:管理端 2:终端",
  27860. "type": "integer"
  27861. },
  27862. "areauserid": {
  27863. "description": "企业ID",
  27864. "type": "integer"
  27865. },
  27866. "auditid": {
  27867. "description": "审核人",
  27868. "type": "integer"
  27869. },
  27870. "auditremark": {
  27871. "description": "审核备注",
  27872. "type": "string"
  27873. },
  27874. "auditsrc": {
  27875. "description": "审核来源 - 1:管理端 2:终端",
  27876. "type": "integer"
  27877. },
  27878. "audittime": {
  27879. "description": "审核时间",
  27880. "type": "string"
  27881. },
  27882. "audittradedate": {
  27883. "description": "审核交易日(yyyyMMdd)",
  27884. "type": "string"
  27885. },
  27886. "createtime": {
  27887. "description": "申请时间",
  27888. "type": "string"
  27889. },
  27890. "curprice": {
  27891. "description": "当前市场价",
  27892. "type": "number"
  27893. },
  27894. "curstock": {
  27895. "description": "期末库存量 = 采购总量 - 销售总量",
  27896. "type": "number"
  27897. },
  27898. "deliverygoodsid": {
  27899. "description": "现货品种ID",
  27900. "type": "integer"
  27901. },
  27902. "enddate": {
  27903. "description": "完成日期",
  27904. "type": "string"
  27905. },
  27906. "endtradedate": {
  27907. "description": "完成交易日",
  27908. "type": "string"
  27909. },
  27910. "enumdicname": {
  27911. "description": "单位",
  27912. "type": "string"
  27913. },
  27914. "exeamount": {
  27915. "description": "执行市价总额",
  27916. "type": "number"
  27917. },
  27918. "exeavgprice": {
  27919. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  27920. "type": "number"
  27921. },
  27922. "execontractamount": {
  27923. "description": "执行定价总额",
  27924. "type": "number"
  27925. },
  27926. "exeqty": {
  27927. "description": "执行现货量",
  27928. "type": "number"
  27929. },
  27930. "exerestamount": {
  27931. "description": "执行剩余市价总额【现货贸易】",
  27932. "type": "number"
  27933. },
  27934. "futurefloatpl": {
  27935. "description": "期货浮动损益",
  27936. "type": "number"
  27937. },
  27938. "futurehedgepl": {
  27939. "description": "期货实际损益",
  27940. "type": "number"
  27941. },
  27942. "futurehedgeplchange": {
  27943. "description": "期货实际损益变动",
  27944. "type": "number"
  27945. },
  27946. "futurepl": {
  27947. "description": "期货套期损益",
  27948. "type": "number"
  27949. },
  27950. "futureplchange": {
  27951. "description": "期货套期损益变动",
  27952. "type": "number"
  27953. },
  27954. "hedgeamount": {
  27955. "description": "套期市价总额",
  27956. "type": "number"
  27957. },
  27958. "hedgecontractamount": {
  27959. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  27960. "type": "number"
  27961. },
  27962. "hedgeditemid": {
  27963. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  27964. "type": "string"
  27965. },
  27966. "hedgeditemname": {
  27967. "description": "项目名称",
  27968. "type": "string"
  27969. },
  27970. "hedgeditemnum": {
  27971. "description": "项目编号",
  27972. "type": "string"
  27973. },
  27974. "hedgeditemstatus": {
  27975. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27976. "type": "integer"
  27977. },
  27978. "hedgedtype": {
  27979. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  27980. "type": "integer"
  27981. },
  27982. "hedgeqty": {
  27983. "description": "套期现货量",
  27984. "type": "number"
  27985. },
  27986. "hedgerate": {
  27987. "description": "套保比率",
  27988. "type": "number"
  27989. },
  27990. "hedgerestamount": {
  27991. "description": "套期剩余市价总额【现货贸易】",
  27992. "type": "number"
  27993. },
  27994. "hedgesumpl": {
  27995. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  27996. "type": "number"
  27997. },
  27998. "middlegoodslist": {
  27999. "description": "套期商品列表",
  28000. "type": "array",
  28001. "items": {
  28002. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  28003. }
  28004. },
  28005. "oriavgprice": {
  28006. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  28007. "type": "number"
  28008. },
  28009. "orifuturehedgepl": {
  28010. "description": "期初期货实际损益",
  28011. "type": "number"
  28012. },
  28013. "orifuturepl": {
  28014. "description": "期初期货套期损益",
  28015. "type": "number"
  28016. },
  28017. "orispothedgepl": {
  28018. "description": "期初现货实际损益",
  28019. "type": "number"
  28020. },
  28021. "orispotpl": {
  28022. "description": "期初现货套期损益",
  28023. "type": "number"
  28024. },
  28025. "planenddate": {
  28026. "description": "计划结束日期",
  28027. "type": "string"
  28028. },
  28029. "planstartdate": {
  28030. "description": "计划开始日期",
  28031. "type": "string"
  28032. },
  28033. "remark": {
  28034. "description": "备注",
  28035. "type": "string"
  28036. },
  28037. "spotbookamount": {
  28038. "description": "现货账面总额",
  28039. "type": "number"
  28040. },
  28041. "spotfloatpl": {
  28042. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28043. "type": "number"
  28044. },
  28045. "spothedgepl": {
  28046. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28047. "type": "number"
  28048. },
  28049. "spothedgeplchange": {
  28050. "description": "现货实际损益变动",
  28051. "type": "number"
  28052. },
  28053. "spotpl": {
  28054. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28055. "type": "number"
  28056. },
  28057. "spotplchange": {
  28058. "description": "现货套期损益变动",
  28059. "type": "number"
  28060. },
  28061. "spottradepl": {
  28062. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  28063. "type": "number"
  28064. },
  28065. "sumobspl": {
  28066. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  28067. "type": "number"
  28068. },
  28069. "tradeuserid": {
  28070. "description": "交易用户ID",
  28071. "type": "integer"
  28072. },
  28073. "unexeqty": {
  28074. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28075. "type": "number"
  28076. },
  28077. "updatetime": {
  28078. "description": "更新时间",
  28079. "type": "string"
  28080. },
  28081. "vatpl": {
  28082. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  28083. "type": "number"
  28084. },
  28085. "vatrate": {
  28086. "description": "增值税",
  28087. "type": "number"
  28088. },
  28089. "wrstandardid": {
  28090. "description": "现货商品ID",
  28091. "type": "integer"
  28092. },
  28093. "wrstandardname": {
  28094. "description": "商品名称",
  28095. "type": "string"
  28096. }
  28097. }
  28098. },
  28099. "models.ErmcpBizGroupEx": {
  28100. "type": "object",
  28101. "properties": {
  28102. "acclist": {
  28103. "description": "账号列表",
  28104. "type": "array",
  28105. "items": {
  28106. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  28107. }
  28108. },
  28109. "bizgroupid": {
  28110. "description": "业务分组id",
  28111. "type": "integer"
  28112. },
  28113. "biztype": {
  28114. "description": "业务类型 1-套保 2-套利",
  28115. "type": "integer"
  28116. },
  28117. "wrlist": {
  28118. "description": "现货商品表",
  28119. "type": "array",
  28120. "items": {
  28121. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  28122. }
  28123. }
  28124. }
  28125. },
  28126. "models.ErmcpBizGroupSpotGoods": {
  28127. "type": "object",
  28128. "properties": {
  28129. "areauserid": {
  28130. "description": "所属机构id",
  28131. "type": "integer"
  28132. },
  28133. "bizgroupid": {
  28134. "description": "分组id",
  28135. "type": "integer"
  28136. },
  28137. "biztype": {
  28138. "description": "业务类型 1-套保 2-套利",
  28139. "type": "integer"
  28140. },
  28141. "deliverygoodscode": {
  28142. "description": "现货商品代码",
  28143. "type": "string"
  28144. },
  28145. "deliverygoodsid": {
  28146. "description": "现货商品id",
  28147. "type": "integer"
  28148. },
  28149. "deliverygoodsname": {
  28150. "description": "现货商品名称",
  28151. "type": "string"
  28152. },
  28153. "unitid": {
  28154. "description": "现货商品单位id",
  28155. "type": "integer"
  28156. }
  28157. }
  28158. },
  28159. "models.ErmcpBizGroupTaAccount": {
  28160. "type": "object",
  28161. "properties": {
  28162. "accountid": {
  28163. "description": "账号id",
  28164. "type": "integer"
  28165. },
  28166. "accountname": {
  28167. "description": "账号名称",
  28168. "type": "string"
  28169. },
  28170. "areauserid": {
  28171. "description": "所属机构id",
  28172. "type": "integer"
  28173. },
  28174. "bizgroupid": {
  28175. "description": "业务分组id",
  28176. "type": "integer"
  28177. },
  28178. "ismain": {
  28179. "description": "是否主账号 1-是 0-否",
  28180. "type": "integer"
  28181. }
  28182. }
  28183. },
  28184. "models.ErmcpDGFactoryItem": {
  28185. "type": "object",
  28186. "properties": {
  28187. "areauserid": {
  28188. "description": "用户id",
  28189. "type": "integer"
  28190. },
  28191. "deliverygoodsid": {
  28192. "description": "现货品种ID",
  28193. "type": "integer"
  28194. },
  28195. "dgfactoryitemid": {
  28196. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  28197. "type": "integer"
  28198. },
  28199. "dgfactoryitemtypeid": {
  28200. "description": "要素项类型",
  28201. "type": "integer"
  28202. },
  28203. "dgfactoryitemvalue": {
  28204. "description": "要素项值(类型为仓库时填写仓库名称)",
  28205. "type": "string"
  28206. },
  28207. "isvalid": {
  28208. "description": "是否有效 - 0:无效 1:有效",
  28209. "type": "integer"
  28210. },
  28211. "orderindex": {
  28212. "description": "顺序",
  28213. "type": "integer"
  28214. },
  28215. "warehouseid": {
  28216. "description": "仓库ID(类型为仓库时填写)",
  28217. "type": "integer"
  28218. }
  28219. }
  28220. },
  28221. "models.ErmcpDeliveryGoods": {
  28222. "type": "object",
  28223. "properties": {
  28224. "agreeunit": {
  28225. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  28226. "type": "integer"
  28227. },
  28228. "areauserid": {
  28229. "description": "所属机构",
  28230. "type": "integer"
  28231. },
  28232. "auditflag": {
  28233. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  28234. "type": "integer"
  28235. },
  28236. "categoryid": {
  28237. "description": "类别ID(SEQ_WRCATEGORY)",
  28238. "type": "integer"
  28239. },
  28240. "deliverygoodscode": {
  28241. "description": "现货品种代码",
  28242. "type": "string"
  28243. },
  28244. "deliverygoodsid": {
  28245. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  28246. "type": "integer"
  28247. },
  28248. "deliverygoodsname": {
  28249. "description": "现货品种名称",
  28250. "type": "string"
  28251. },
  28252. "deliverygoodstype": {
  28253. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  28254. "type": "integer"
  28255. },
  28256. "dgstatus": {
  28257. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  28258. "type": "integer"
  28259. },
  28260. "enumdicname": {
  28261. "description": "现货品种单位名称",
  28262. "type": "string"
  28263. },
  28264. "goodsunitid": {
  28265. "description": "现货品种单位ID",
  28266. "type": "integer"
  28267. },
  28268. "isvalid": {
  28269. "description": "是否有效 - 0:无效 1:有效",
  28270. "type": "integer"
  28271. },
  28272. "qtydecimalplace": {
  28273. "description": "成交量小数位",
  28274. "type": "integer"
  28275. },
  28276. "remark": {
  28277. "description": "备注",
  28278. "type": "string"
  28279. },
  28280. "standardqty": {
  28281. "description": "标准数量(库位数量) [标准品特有]",
  28282. "type": "integer"
  28283. },
  28284. "standardqtyrange": {
  28285. "description": "标准数量偏差范围 [标准品特有]",
  28286. "type": "integer"
  28287. }
  28288. }
  28289. },
  28290. "models.ErmcpFuturesCompany": {
  28291. "type": "object",
  28292. "properties": {
  28293. "brokerid": {
  28294. "description": "经纪公司代码",
  28295. "type": "string"
  28296. },
  28297. "channeladdress": {
  28298. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  28299. "type": "string"
  28300. },
  28301. "channelid": {
  28302. "description": "对冲渠道ID",
  28303. "type": "string"
  28304. },
  28305. "createtime": {
  28306. "description": "创建时间",
  28307. "type": "string"
  28308. },
  28309. "creatorid": {
  28310. "description": "创建人",
  28311. "type": "string"
  28312. },
  28313. "fcid": {
  28314. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  28315. "type": "integer"
  28316. },
  28317. "fcname": {
  28318. "description": "期货公司名称",
  28319. "type": "string"
  28320. },
  28321. "isvalid": {
  28322. "description": "是否有效 - 0:无效 1:有效",
  28323. "type": "integer"
  28324. },
  28325. "mhpaddress": {
  28326. "description": "MHP服务地址(IP:Port)",
  28327. "type": "string"
  28328. },
  28329. "riskrulegroupid": {
  28330. "description": "风控规则组ID",
  28331. "type": "string"
  28332. },
  28333. "tradefeetmpid": {
  28334. "description": "手续费模板ID[TradeConfigTmpType为2]",
  28335. "type": "string"
  28336. },
  28337. "trademargintmpid": {
  28338. "description": "保证金模板ID [TradeConfigTmpType为1]",
  28339. "type": "string"
  28340. },
  28341. "traderatetmpid": {
  28342. "description": "汇率模板ID[TradeConfigTmpType为3]",
  28343. "type": "string"
  28344. },
  28345. "updatetime": {
  28346. "description": "更新时间",
  28347. "type": "string"
  28348. },
  28349. "updatorid": {
  28350. "description": "更新人",
  28351. "type": "string"
  28352. }
  28353. }
  28354. },
  28355. "models.ErmcpGGConvertCfg": {
  28356. "type": "object",
  28357. "properties": {
  28358. "convertratio": {
  28359. "description": "折算系数",
  28360. "type": "number"
  28361. },
  28362. "destgoodsgroupid": {
  28363. "description": "目标品种ID",
  28364. "type": "integer"
  28365. },
  28366. "dstcode": {
  28367. "description": "目录品种代码",
  28368. "type": "string"
  28369. },
  28370. "dstexchangecode": {
  28371. "description": "目标期货交易所",
  28372. "type": "string"
  28373. },
  28374. "dstname": {
  28375. "description": "目标品种名称",
  28376. "type": "string"
  28377. },
  28378. "dstunitid": {
  28379. "description": "目标品种单位ID",
  28380. "type": "integer"
  28381. },
  28382. "dstunitidname": {
  28383. "description": "目标品种单位名称",
  28384. "type": "string"
  28385. },
  28386. "modifytime": {
  28387. "description": "修改时间",
  28388. "type": "string"
  28389. },
  28390. "srccode": {
  28391. "description": "源品种代码",
  28392. "type": "string"
  28393. },
  28394. "srcexchangecode": {
  28395. "description": "源期货交易所",
  28396. "type": "string"
  28397. },
  28398. "srcgoodsgroupid": {
  28399. "description": "源品种ID",
  28400. "type": "integer"
  28401. },
  28402. "srcname": {
  28403. "description": "源品种名称",
  28404. "type": "string"
  28405. },
  28406. "srcunitid": {
  28407. "description": "源品种单位ID",
  28408. "type": "integer"
  28409. },
  28410. "srcunitidname": {
  28411. "description": "源品种单位名称",
  28412. "type": "string"
  28413. }
  28414. }
  28415. },
  28416. "models.ErmcpGoods": {
  28417. "type": "object",
  28418. "required": [
  28419. "goodscode",
  28420. "goodsid",
  28421. "goodsname",
  28422. "marketid"
  28423. ],
  28424. "properties": {
  28425. "agreeunit": {
  28426. "description": "合约单位",
  28427. "type": "number"
  28428. },
  28429. "areauserid": {
  28430. "description": "所属机构",
  28431. "type": "integer"
  28432. },
  28433. "auditaccountid": {
  28434. "description": "审核操作员账号",
  28435. "type": "integer"
  28436. },
  28437. "audittime": {
  28438. "description": "审核时间",
  28439. "type": "string"
  28440. },
  28441. "cancelaccountid": {
  28442. "description": "注销操作员账号",
  28443. "type": "integer"
  28444. },
  28445. "canceltime": {
  28446. "description": "注销时间",
  28447. "type": "string"
  28448. },
  28449. "closepricemode": {
  28450. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  28451. "type": "integer"
  28452. },
  28453. "closepriceparam": {
  28454. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  28455. "type": "number"
  28456. },
  28457. "createtime": {
  28458. "description": "创建时间",
  28459. "type": "string"
  28460. },
  28461. "creatorid": {
  28462. "description": "创建人",
  28463. "type": "integer"
  28464. },
  28465. "currencyid": {
  28466. "description": "报价货币ID",
  28467. "type": "integer"
  28468. },
  28469. "cutmode": {
  28470. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  28471. "type": "integer"
  28472. },
  28473. "decimalplace": {
  28474. "description": "报价小数位",
  28475. "type": "integer"
  28476. },
  28477. "delistingdate": {
  28478. "description": "商品退市时间(状态:退市) -- 已作废",
  28479. "type": "string"
  28480. },
  28481. "delistingmode": {
  28482. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  28483. "type": "integer"
  28484. },
  28485. "deliveryflag": {
  28486. "description": "交割标志 - 0:不可交割 1:可交割",
  28487. "type": "integer"
  28488. },
  28489. "enumdicname": {
  28490. "description": "单位名称",
  28491. "type": "string"
  28492. },
  28493. "forceclosemode": {
  28494. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  28495. "type": "integer"
  28496. },
  28497. "forceclosevalue": {
  28498. "description": "定期强平参数 [收益权]",
  28499. "type": "integer"
  28500. },
  28501. "goodscode": {
  28502. "description": "商品代码(内部)",
  28503. "type": "string"
  28504. },
  28505. "goodscurrencyid": {
  28506. "description": "合约货币ID",
  28507. "type": "integer"
  28508. },
  28509. "goodsgroupid": {
  28510. "description": "所属商品组ID",
  28511. "type": "integer"
  28512. },
  28513. "goodsid": {
  28514. "description": "商品ID(自增ID SEQ_GOODS)",
  28515. "type": "integer"
  28516. },
  28517. "goodsname": {
  28518. "description": "商品名称",
  28519. "type": "string"
  28520. },
  28521. "goodsquotetype": {
  28522. "description": "合约报价类型: 1-直接报价 2-间接报价",
  28523. "type": "integer"
  28524. },
  28525. "goodsstatus": {
  28526. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  28527. "type": "integer"
  28528. },
  28529. "goodstradetype": {
  28530. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  28531. "type": "integer"
  28532. },
  28533. "goodunitid": {
  28534. "description": "报价单位ID",
  28535. "type": "integer"
  28536. },
  28537. "hasquoter": {
  28538. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  28539. "type": "integer"
  28540. },
  28541. "hqprotecttime": {
  28542. "description": "行情保护时间(秒)",
  28543. "type": "integer"
  28544. },
  28545. "innerdealmode": {
  28546. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  28547. "type": "integer"
  28548. },
  28549. "isbuylimited": {
  28550. "description": "是否限制建仓量 - 0:不限制 1:限制",
  28551. "type": "integer"
  28552. },
  28553. "isvisible": {
  28554. "description": "游客是否可见 - 0:不可见 1:可见",
  28555. "type": "integer"
  28556. },
  28557. "lasttradedate": {
  28558. "description": "最后交易日期(状态:待退市)",
  28559. "type": "string"
  28560. },
  28561. "listingdate": {
  28562. "description": "交易开始日期",
  28563. "type": "string"
  28564. },
  28565. "marketid": {
  28566. "description": "所属市场ID",
  28567. "type": "integer"
  28568. },
  28569. "modifierid": {
  28570. "description": "修改人",
  28571. "type": "integer"
  28572. },
  28573. "modifystatus": {
  28574. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  28575. "type": "integer"
  28576. },
  28577. "modifytime": {
  28578. "description": "修改时间",
  28579. "type": "string"
  28580. },
  28581. "outerdealmode": {
  28582. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  28583. "type": "integer"
  28584. },
  28585. "outgoodscode": {
  28586. "description": "商品代码(外部)",
  28587. "type": "string"
  28588. },
  28589. "pictureurl": {
  28590. "description": "商品图片",
  28591. "type": "string"
  28592. },
  28593. "qtydecimalplace": {
  28594. "description": "成交量小数位",
  28595. "type": "integer"
  28596. },
  28597. "quotegear": {
  28598. "description": "行情档位(1-10)",
  28599. "type": "integer"
  28600. },
  28601. "quoteminunit": {
  28602. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  28603. "type": "integer"
  28604. },
  28605. "quoteshowtype": {
  28606. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  28607. "type": "integer"
  28608. },
  28609. "quoteshowtypeinterval": {
  28610. "description": "行情报价间隔时间(秒)(成交价时为0)",
  28611. "type": "integer"
  28612. },
  28613. "relatedgoodsid": {
  28614. "description": "关联参考商品ID",
  28615. "type": "integer"
  28616. },
  28617. "remark": {
  28618. "description": "备注",
  28619. "type": "string"
  28620. },
  28621. "trademode": {
  28622. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  28623. "type": "integer"
  28624. }
  28625. }
  28626. },
  28627. "models.ErmcpGoodsBrand": {
  28628. "type": "object",
  28629. "properties": {
  28630. "areauserid": {
  28631. "description": "所属机构",
  28632. "type": "integer"
  28633. },
  28634. "brandid": {
  28635. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  28636. "type": "integer"
  28637. },
  28638. "brandname": {
  28639. "description": "品牌名称",
  28640. "type": "string"
  28641. },
  28642. "createtime": {
  28643. "description": "创建时间",
  28644. "type": "string"
  28645. },
  28646. "creatorid": {
  28647. "description": "创建人",
  28648. "type": "integer"
  28649. },
  28650. "creatorsrc": {
  28651. "description": "创建人来源 - 1:管理端 2:终端",
  28652. "type": "integer"
  28653. },
  28654. "deliverygoodsid": {
  28655. "description": "现货品种ID",
  28656. "type": "integer"
  28657. },
  28658. "isvalid": {
  28659. "description": "是否有效 - 0:无效 1:有效",
  28660. "type": "integer"
  28661. },
  28662. "updatetime": {
  28663. "description": "更新时间",
  28664. "type": "string"
  28665. },
  28666. "updatorid": {
  28667. "description": "更新人",
  28668. "type": "integer"
  28669. },
  28670. "updatorsrc": {
  28671. "description": "更新人来源 - 1:管理端 2:终端",
  28672. "type": "integer"
  28673. },
  28674. "wrstandardid": {
  28675. "description": "现货商品ID",
  28676. "type": "integer"
  28677. }
  28678. }
  28679. },
  28680. "models.ErmcpGoodsModel": {
  28681. "type": "object",
  28682. "properties": {
  28683. "areauserid": {
  28684. "description": "所属机构",
  28685. "type": "integer"
  28686. },
  28687. "convertfactor": {
  28688. "description": "标仓系数",
  28689. "type": "number"
  28690. },
  28691. "createtime": {
  28692. "description": "创建时间",
  28693. "type": "string"
  28694. },
  28695. "creatorid": {
  28696. "description": "创建人",
  28697. "type": "integer"
  28698. },
  28699. "creatorsrc": {
  28700. "description": "创建人来源 - 1:管理端 2:终端",
  28701. "type": "integer"
  28702. },
  28703. "deliverygoodsid": {
  28704. "description": "现货品种ID",
  28705. "type": "integer"
  28706. },
  28707. "isvalid": {
  28708. "description": "是否有效 - 0:无效 1:有效",
  28709. "type": "integer"
  28710. },
  28711. "modelid": {
  28712. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  28713. "type": "integer"
  28714. },
  28715. "modelname": {
  28716. "description": "型号名称",
  28717. "type": "string"
  28718. },
  28719. "updatetime": {
  28720. "description": "更新时间",
  28721. "type": "string"
  28722. },
  28723. "updatorid": {
  28724. "description": "更新人",
  28725. "type": "integer"
  28726. },
  28727. "updatorsrc": {
  28728. "description": "更新人来源 - 1:管理端 2:终端",
  28729. "type": "integer"
  28730. },
  28731. "wrstandardid": {
  28732. "description": "现货商品ID",
  28733. "type": "integer"
  28734. }
  28735. }
  28736. },
  28737. "models.ErmcpHisExposure": {
  28738. "type": "object",
  28739. "properties": {
  28740. "needhedgeexposoure": {
  28741. "description": "应套保敞口",
  28742. "type": "number"
  28743. },
  28744. "reckondate": {
  28745. "description": "日照时期(yyyyMMdd)",
  28746. "type": "string"
  28747. },
  28748. "totalexposure": {
  28749. "description": "总敞口",
  28750. "type": "number"
  28751. }
  28752. }
  28753. },
  28754. "models.ErmcpLoginTaAccount": {
  28755. "type": "object",
  28756. "properties": {
  28757. "accountid": {
  28758. "description": "账号id",
  28759. "type": "integer"
  28760. },
  28761. "accountname": {
  28762. "description": "账号名称",
  28763. "type": "string"
  28764. }
  28765. }
  28766. },
  28767. "models.ErmcpLoginUser": {
  28768. "type": "object",
  28769. "properties": {
  28770. "acclist": {
  28771. "description": "关联资金账号",
  28772. "type": "array",
  28773. "items": {
  28774. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  28775. }
  28776. },
  28777. "accountname": {
  28778. "description": "用户名称",
  28779. "type": "string"
  28780. },
  28781. "clientroleid": {
  28782. "description": "角色id(usertype=2)",
  28783. "type": "integer"
  28784. },
  28785. "createtime": {
  28786. "description": "创建时间",
  28787. "type": "string"
  28788. },
  28789. "logincode": {
  28790. "description": "登录代码",
  28791. "type": "string"
  28792. },
  28793. "loginid": {
  28794. "description": "登录id(LOGINID)",
  28795. "type": "integer"
  28796. },
  28797. "loginname": {
  28798. "description": "登录名称(loginaccount表中的accountname字段)",
  28799. "type": "string"
  28800. },
  28801. "loginstatus": {
  28802. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  28803. "type": "integer"
  28804. },
  28805. "memberuserid": {
  28806. "description": "所属会员id",
  28807. "type": "integer"
  28808. },
  28809. "mobile": {
  28810. "description": "手机号",
  28811. "type": "string"
  28812. },
  28813. "modifytime": {
  28814. "description": "修改时间",
  28815. "type": "string"
  28816. },
  28817. "password": {
  28818. "description": "密码(不可解密)",
  28819. "type": "string"
  28820. },
  28821. "rolename": {
  28822. "description": "角色名称",
  28823. "type": "string"
  28824. },
  28825. "rolestatus": {
  28826. "description": "角色状态 1-启用 2-停用",
  28827. "type": "integer"
  28828. },
  28829. "roletype": {
  28830. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  28831. "type": "string"
  28832. },
  28833. "userid": {
  28834. "description": "用户id",
  28835. "type": "integer"
  28836. },
  28837. "usertype": {
  28838. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  28839. "type": "integer"
  28840. }
  28841. }
  28842. },
  28843. "models.ErmcpLoginUserEx": {
  28844. "type": "object",
  28845. "properties": {
  28846. "accountstatus": {
  28847. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  28848. "type": "integer"
  28849. },
  28850. "mobile": {
  28851. "description": "手机号",
  28852. "type": "string"
  28853. },
  28854. "querytype": {
  28855. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  28856. "type": "integer"
  28857. },
  28858. "roleid": {
  28859. "description": "角色id(交易账户-\u003e用户id)",
  28860. "type": "integer"
  28861. },
  28862. "rolename": {
  28863. "description": "角色名称(交易账户-\u003e用户名称)",
  28864. "type": "string"
  28865. },
  28866. "userlist": {
  28867. "description": "用户列表",
  28868. "type": "array",
  28869. "items": {
  28870. "$ref": "#/definitions/models.ErmcpLoginUser"
  28871. }
  28872. },
  28873. "usertype": {
  28874. "description": "用户类型 2-机构 7-企业成员(云平台)",
  28875. "type": "integer"
  28876. }
  28877. }
  28878. },
  28879. "models.ErmcpMiddleGoodsModel": {
  28880. "type": "object",
  28881. "properties": {
  28882. "areauserid": {
  28883. "description": "机构用户ID",
  28884. "type": "integer"
  28885. },
  28886. "createtime": {
  28887. "description": "修改时间",
  28888. "type": "string"
  28889. },
  28890. "enumdicname": {
  28891. "description": "单位名称",
  28892. "type": "string"
  28893. },
  28894. "evaluateratio": {
  28895. "description": "估价系数",
  28896. "type": "number"
  28897. },
  28898. "goodsgroupid": {
  28899. "description": "关联期货品种ID",
  28900. "type": "integer"
  28901. },
  28902. "goodsunitid": {
  28903. "description": "单位ID",
  28904. "type": "integer"
  28905. },
  28906. "isvalid": {
  28907. "description": "状态 0-无效(停用) 1-有效(正常)",
  28908. "type": "integer"
  28909. },
  28910. "middlegoodscode": {
  28911. "description": "套保品种代码",
  28912. "type": "string"
  28913. },
  28914. "middlegoodsid": {
  28915. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  28916. "type": "integer"
  28917. },
  28918. "middlegoodsname": {
  28919. "description": "套保品种名称",
  28920. "type": "string"
  28921. },
  28922. "modifytime": {
  28923. "description": "修改时间",
  28924. "type": "string"
  28925. },
  28926. "needarbitrageratio": {
  28927. "description": "套利比例",
  28928. "type": "number"
  28929. },
  28930. "needhedgeratio": {
  28931. "description": "套保比率",
  28932. "type": "number"
  28933. },
  28934. "qtydecimalplace": {
  28935. "description": "数量小数位",
  28936. "type": "integer"
  28937. },
  28938. "relatedgoodsid": {
  28939. "description": "关联交易商品ID",
  28940. "type": "integer"
  28941. },
  28942. "relatedgoodstype": {
  28943. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  28944. "type": "integer"
  28945. },
  28946. "remark": {
  28947. "description": "备注",
  28948. "type": "string"
  28949. }
  28950. }
  28951. },
  28952. "models.ErmcpMiddlegoodsRelateGoods": {
  28953. "type": "object",
  28954. "properties": {
  28955. "agreeunit": {
  28956. "description": "合约乘数",
  28957. "type": "number"
  28958. },
  28959. "convertratio": {
  28960. "description": "折算系数",
  28961. "type": "number"
  28962. },
  28963. "enumdicname": {
  28964. "description": "单位名称(交易商品)",
  28965. "type": "string"
  28966. },
  28967. "goodscode": {
  28968. "description": "交易商品代码",
  28969. "type": "string"
  28970. },
  28971. "goodsgroupid": {
  28972. "description": "交易品种id",
  28973. "type": "integer"
  28974. },
  28975. "goodsid": {
  28976. "description": "商品Id",
  28977. "type": "integer"
  28978. },
  28979. "goodsname": {
  28980. "description": "交易商品名称",
  28981. "type": "string"
  28982. },
  28983. "goodunitid": {
  28984. "description": "交易商品单位id",
  28985. "type": "integer"
  28986. },
  28987. "middlegoodsid": {
  28988. "description": "套保商品id",
  28989. "type": "integer"
  28990. },
  28991. "middlegoodsname": {
  28992. "description": "套保商品名称",
  28993. "type": "string"
  28994. },
  28995. "middlegoodsswcode": {
  28996. "description": "套保商品代码",
  28997. "type": "string"
  28998. },
  28999. "needarbitrageratio": {
  29000. "description": "应套利比例",
  29001. "type": "number"
  29002. },
  29003. "needhedgeratio": {
  29004. "description": "应套保比例",
  29005. "type": "number"
  29006. }
  29007. }
  29008. },
  29009. "models.ErmcpRole": {
  29010. "type": "object",
  29011. "properties": {
  29012. "areauserid": {
  29013. "description": "所属机构",
  29014. "type": "integer"
  29015. },
  29016. "autoid": {
  29017. "description": "角色ID(自增ID)",
  29018. "type": "integer"
  29019. },
  29020. "modifierid": {
  29021. "description": "修改人(创建人)",
  29022. "type": "integer"
  29023. },
  29024. "modifiername": {
  29025. "description": "修改人名称",
  29026. "type": "string"
  29027. },
  29028. "modifytime": {
  29029. "description": "修改时间(创建时间)",
  29030. "type": "string"
  29031. },
  29032. "rolename": {
  29033. "description": "角色名称",
  29034. "type": "string"
  29035. },
  29036. "rolestatus": {
  29037. "description": "角色状态 - 1:启用 2:停用",
  29038. "type": "integer"
  29039. },
  29040. "roletype": {
  29041. "description": "角色类型 - 1- 管理端 2- 交易端",
  29042. "type": "integer"
  29043. }
  29044. }
  29045. },
  29046. "models.ErmcpRoleMenu": {
  29047. "type": "object",
  29048. "properties": {
  29049. "iconame": {
  29050. "description": "菜单图标",
  29051. "type": "string"
  29052. },
  29053. "ishadrole": {
  29054. "description": "是否有权限",
  29055. "type": "boolean"
  29056. },
  29057. "menutype": {
  29058. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  29059. "type": "integer"
  29060. },
  29061. "parentcode": {
  29062. "description": "上级资源代码",
  29063. "type": "string"
  29064. },
  29065. "remark": {
  29066. "description": "菜单备注",
  29067. "type": "string"
  29068. },
  29069. "resourcecode": {
  29070. "description": "菜单代码",
  29071. "type": "string"
  29072. },
  29073. "resourcelevel": {
  29074. "description": "级别",
  29075. "type": "integer"
  29076. },
  29077. "resourcename": {
  29078. "description": "菜单名称",
  29079. "type": "string"
  29080. },
  29081. "roleid": {
  29082. "description": "角色id",
  29083. "type": "integer"
  29084. },
  29085. "sort": {
  29086. "description": "排序",
  29087. "type": "integer"
  29088. },
  29089. "url": {
  29090. "description": "URL",
  29091. "type": "string"
  29092. },
  29093. "userid": {
  29094. "description": "用户id",
  29095. "type": "integer"
  29096. }
  29097. }
  29098. },
  29099. "models.ErmcpRoleMenuEx": {
  29100. "type": "object",
  29101. "properties": {
  29102. "menu": {
  29103. "description": "父级菜单",
  29104. "$ref": "#/definitions/models.ErmcpRoleMenu"
  29105. },
  29106. "subMenu": {
  29107. "description": "子级菜单",
  29108. "type": "array",
  29109. "items": {
  29110. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  29111. }
  29112. }
  29113. }
  29114. },
  29115. "models.ErmcpSpotContractModelEx": {
  29116. "type": "object",
  29117. "properties": {
  29118. "accountname": {
  29119. "description": "套期主体",
  29120. "type": "string"
  29121. },
  29122. "amount": {
  29123. "description": "金额 [1:一口价、3:暂定价]",
  29124. "type": "number"
  29125. },
  29126. "attachment": {
  29127. "description": "附件",
  29128. "type": "string"
  29129. },
  29130. "auditremark": {
  29131. "description": "审核意见",
  29132. "type": "string"
  29133. },
  29134. "audittime": {
  29135. "description": "审核时间",
  29136. "type": "string"
  29137. },
  29138. "avgprice": {
  29139. "description": "定价均价 = 已定价金额 / 已定价量",
  29140. "type": "number"
  29141. },
  29142. "brandname": {
  29143. "description": "品牌名称",
  29144. "type": "string"
  29145. },
  29146. "buyuserid": {
  29147. "description": "采购方ID",
  29148. "type": "integer"
  29149. },
  29150. "buyusername": {
  29151. "description": "采购方名称",
  29152. "type": "string"
  29153. },
  29154. "contracctstatus": {
  29155. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  29156. "type": "integer"
  29157. },
  29158. "contractmargin": {
  29159. "description": "合同保证金",
  29160. "type": "number"
  29161. },
  29162. "contractno": {
  29163. "description": "[合同编号]现货合同编号",
  29164. "type": "string"
  29165. },
  29166. "contracttype": {
  29167. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  29168. "type": "integer"
  29169. },
  29170. "convertfactor": {
  29171. "description": "标仓系数",
  29172. "type": "number"
  29173. },
  29174. "createtime": {
  29175. "description": "创建时间",
  29176. "type": "string"
  29177. },
  29178. "customername": {
  29179. "description": "对手方",
  29180. "type": "string"
  29181. },
  29182. "customeruserid": {
  29183. "description": "客户ID",
  29184. "type": "integer"
  29185. },
  29186. "deliveryenddate": {
  29187. "description": "交收期(结束)",
  29188. "type": "string"
  29189. },
  29190. "deliverygoodscode": {
  29191. "description": "现货品种代码",
  29192. "type": "string"
  29193. },
  29194. "deliverygoodsid": {
  29195. "description": "现货品种ID",
  29196. "type": "integer"
  29197. },
  29198. "deliverygoodsname": {
  29199. "description": "现货品种名称",
  29200. "type": "string"
  29201. },
  29202. "deliverystartdate": {
  29203. "description": "交收期(开始)",
  29204. "type": "string"
  29205. },
  29206. "enddate": {
  29207. "description": "点价结束日期 [2:点价 3:暂定价]",
  29208. "type": "string"
  29209. },
  29210. "enumdicname": {
  29211. "description": "单位名称",
  29212. "type": "string"
  29213. },
  29214. "goodscode": {
  29215. "description": "点价合约代码",
  29216. "type": "string"
  29217. },
  29218. "goodsid": {
  29219. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  29220. "type": "integer"
  29221. },
  29222. "goodsname": {
  29223. "description": "点价商品名称",
  29224. "type": "string"
  29225. },
  29226. "isrelated": {
  29227. "description": "是否已关联计划项目 - 0:否 1:是",
  29228. "type": "integer"
  29229. },
  29230. "isrelated2": {
  29231. "description": "是否已关联现货项目 - 0:否 1:是",
  29232. "type": "integer"
  29233. },
  29234. "margin": {
  29235. "description": "当前保证金",
  29236. "type": "number"
  29237. },
  29238. "modelname": {
  29239. "description": "型号名称",
  29240. "type": "string"
  29241. },
  29242. "price": {
  29243. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  29244. "type": "number"
  29245. },
  29246. "pricedamount": {
  29247. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  29248. "type": "number"
  29249. },
  29250. "pricedqty": {
  29251. "description": "已定价量",
  29252. "type": "number"
  29253. },
  29254. "pricemove": {
  29255. "description": "升贴水 [2:点价 3:暂定价]",
  29256. "type": "number"
  29257. },
  29258. "pricetype": {
  29259. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  29260. "type": "integer"
  29261. },
  29262. "producttype": {
  29263. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  29264. "type": "integer"
  29265. },
  29266. "qty": {
  29267. "description": "[合同数量]数量",
  29268. "type": "number"
  29269. },
  29270. "remark": {
  29271. "description": "备注",
  29272. "type": "string"
  29273. },
  29274. "selluserid": {
  29275. "description": "销售方ID",
  29276. "type": "integer"
  29277. },
  29278. "sellusername": {
  29279. "description": "销售方名称",
  29280. "type": "string"
  29281. },
  29282. "spotamount": {
  29283. "description": "合同现货金额 [不含升贴水]",
  29284. "type": "number"
  29285. },
  29286. "spotavgprice": {
  29287. "description": "现货均价 = 合同现货金额 / 已定价量",
  29288. "type": "number"
  29289. },
  29290. "spotcontractid": {
  29291. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  29292. "type": "string"
  29293. },
  29294. "spotgoodsbrandid": {
  29295. "description": "现货品牌ID",
  29296. "type": "integer"
  29297. },
  29298. "spotgoodsdesc": {
  29299. "description": "商品型号",
  29300. "type": "string"
  29301. },
  29302. "spotgoodsmodelid": {
  29303. "description": "现货型号ID",
  29304. "type": "integer"
  29305. },
  29306. "startdate": {
  29307. "description": "点价开始日期 [2:点价 3:暂定价]",
  29308. "type": "string"
  29309. },
  29310. "tradeuserid": {
  29311. "description": "交易用户ID",
  29312. "type": "integer"
  29313. },
  29314. "unpricedqty": {
  29315. "description": "未定价量 = 合同数量 - 已定价量",
  29316. "type": "number"
  29317. },
  29318. "updatetime": {
  29319. "description": "更新时间",
  29320. "type": "string"
  29321. },
  29322. "userid": {
  29323. "description": "机构ID",
  29324. "type": "integer"
  29325. },
  29326. "wrstandardcode": {
  29327. "description": "现货商品代码",
  29328. "type": "string"
  29329. },
  29330. "wrstandardid": {
  29331. "description": "现货商品ID",
  29332. "type": "integer"
  29333. },
  29334. "wrstandardname": {
  29335. "description": "[现货商品]现货商品名称",
  29336. "type": "string"
  29337. }
  29338. }
  29339. },
  29340. "models.ErmcpTaAccount": {
  29341. "type": "object",
  29342. "properties": {
  29343. "accountid": {
  29344. "description": "账户id",
  29345. "type": "integer"
  29346. },
  29347. "accountname": {
  29348. "description": "账户名称",
  29349. "type": "string"
  29350. },
  29351. "currencyid": {
  29352. "description": "币种id",
  29353. "type": "integer"
  29354. },
  29355. "hedgeaccountcode": {
  29356. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29357. "type": "string"
  29358. },
  29359. "ismain": {
  29360. "description": "是否主账户 0-否 1-是",
  29361. "type": "integer"
  29362. },
  29363. "parentaccountid": {
  29364. "description": "父账户id",
  29365. "type": "integer"
  29366. },
  29367. "relateduserid": {
  29368. "description": "关联userid",
  29369. "type": "integer"
  29370. },
  29371. "tradefeetmpid": {
  29372. "description": "手续费模板id",
  29373. "type": "integer"
  29374. },
  29375. "tradefeetmpname": {
  29376. "description": "手续费模板名称",
  29377. "type": "string"
  29378. },
  29379. "trademargintmpid": {
  29380. "description": "保证金模板id",
  29381. "type": "integer"
  29382. },
  29383. "trademargintmpname": {
  29384. "description": "保证金模板名称",
  29385. "type": "string"
  29386. },
  29387. "traderatetmpid": {
  29388. "description": "汇率模板id",
  29389. "type": "integer"
  29390. },
  29391. "traderatetmpname": {
  29392. "description": "汇率模板名称",
  29393. "type": "string"
  29394. },
  29395. "tradestatus": {
  29396. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29397. "type": "integer"
  29398. },
  29399. "userid": {
  29400. "description": "用户id",
  29401. "type": "integer"
  29402. }
  29403. }
  29404. },
  29405. "models.ErmcpTaAccountEx": {
  29406. "type": "object",
  29407. "properties": {
  29408. "mainAcc": {
  29409. "description": "主账号",
  29410. "$ref": "#/definitions/models.ErmcpTaAccountM"
  29411. },
  29412. "subacclist": {
  29413. "description": "子账号列表",
  29414. "type": "array",
  29415. "items": {
  29416. "$ref": "#/definitions/models.ErmcpTaAccount"
  29417. }
  29418. }
  29419. }
  29420. },
  29421. "models.ErmcpTaAccountInfo": {
  29422. "type": "object",
  29423. "properties": {
  29424. "accountid": {
  29425. "description": "资金账户ID",
  29426. "type": "integer"
  29427. },
  29428. "accountname": {
  29429. "description": "账户名称",
  29430. "type": "string"
  29431. },
  29432. "balance": {
  29433. "description": "期初余额",
  29434. "type": "number"
  29435. },
  29436. "capitalbalance": {
  29437. "description": "本金余额[外部子账户实际出入金余额]",
  29438. "type": "number"
  29439. },
  29440. "closepl": {
  29441. "description": "今日平仓盈亏",
  29442. "type": "number"
  29443. },
  29444. "creditdecrease": {
  29445. "description": "今日授信减少",
  29446. "type": "number"
  29447. },
  29448. "creditincrease": {
  29449. "description": "今日授信增加",
  29450. "type": "number"
  29451. },
  29452. "curdebt": {
  29453. "description": "期末欠款",
  29454. "type": "number"
  29455. },
  29456. "currencyid": {
  29457. "description": "货币ID",
  29458. "type": "integer"
  29459. },
  29460. "currentbalance": {
  29461. "description": "期末余额",
  29462. "type": "number"
  29463. },
  29464. "freezecharge": {
  29465. "description": "手续费冻结",
  29466. "type": "number"
  29467. },
  29468. "freezemargin": {
  29469. "description": "冻结保证金",
  29470. "type": "number"
  29471. },
  29472. "fromaccountid": {
  29473. "description": "所属上级账户",
  29474. "type": "integer"
  29475. },
  29476. "inamount": {
  29477. "description": "今日入金金额(包括三方入金)",
  29478. "type": "number"
  29479. },
  29480. "ismain": {
  29481. "description": "是否母账号 0:不是母账户 1:是母账户",
  29482. "type": "integer"
  29483. },
  29484. "mortgagecredit": {
  29485. "description": "授信金额",
  29486. "type": "number"
  29487. },
  29488. "oridebt": {
  29489. "description": "期初欠款",
  29490. "type": "number"
  29491. },
  29492. "orifreezecharge": {
  29493. "description": "期初手续费冻结",
  29494. "type": "number"
  29495. },
  29496. "orifreezemargin": {
  29497. "description": "期初冻结保证金",
  29498. "type": "number"
  29499. },
  29500. "orimortgagecredit": {
  29501. "description": "期初授信金额",
  29502. "type": "number"
  29503. },
  29504. "oriothercredit": {
  29505. "description": "期初其它授信金额",
  29506. "type": "number"
  29507. },
  29508. "oriotherfreezemargin": {
  29509. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  29510. "type": "number"
  29511. },
  29512. "orioutamountfreeze": {
  29513. "description": "期初出金冻结",
  29514. "type": "number"
  29515. },
  29516. "oriusedmargin": {
  29517. "description": "期初占用保证金",
  29518. "type": "number"
  29519. },
  29520. "othercredit": {
  29521. "description": "其它授信金额",
  29522. "type": "number"
  29523. },
  29524. "othercreditdecrease": {
  29525. "description": "今日其它授信减少",
  29526. "type": "number"
  29527. },
  29528. "othercreditincrease": {
  29529. "description": "今日其它授信增加",
  29530. "type": "number"
  29531. },
  29532. "otherfreezemargin": {
  29533. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  29534. "type": "number"
  29535. },
  29536. "outamount": {
  29537. "description": "今日出金金额(包括三方出金)",
  29538. "type": "number"
  29539. },
  29540. "outamountfreeze": {
  29541. "description": "出金冻结",
  29542. "type": "number"
  29543. },
  29544. "outthreshold": {
  29545. "description": "出金阈值",
  29546. "type": "number"
  29547. },
  29548. "parentaccountid": {
  29549. "description": "所属根账号",
  29550. "type": "integer"
  29551. },
  29552. "paycharge": {
  29553. "description": "今日手续费支出",
  29554. "type": "number"
  29555. },
  29556. "relateduserid": {
  29557. "description": "关联用户",
  29558. "type": "integer"
  29559. },
  29560. "signstatus": {
  29561. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  29562. "type": "integer"
  29563. },
  29564. "sublevelpath": {
  29565. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  29566. "type": "string"
  29567. },
  29568. "taaccounttype": {
  29569. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  29570. "type": "integer"
  29571. },
  29572. "thirdinamount": {
  29573. "description": "今日三方入金",
  29574. "type": "number"
  29575. },
  29576. "thirdoutamount": {
  29577. "description": "今日三方出金",
  29578. "type": "number"
  29579. },
  29580. "tradestatus": {
  29581. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29582. "type": "integer"
  29583. },
  29584. "transferamount": {
  29585. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  29586. "type": "number"
  29587. },
  29588. "usedmargin": {
  29589. "description": "占用保证金",
  29590. "type": "number"
  29591. },
  29592. "userid": {
  29593. "description": "用户ID",
  29594. "type": "integer"
  29595. }
  29596. }
  29597. },
  29598. "models.ErmcpTaAccountM": {
  29599. "type": "object",
  29600. "properties": {
  29601. "accountid": {
  29602. "description": "账户id",
  29603. "type": "integer"
  29604. },
  29605. "accountname": {
  29606. "description": "账户名称",
  29607. "type": "string"
  29608. },
  29609. "currencyid": {
  29610. "description": "币种id",
  29611. "type": "integer"
  29612. },
  29613. "fcid": {
  29614. "description": "期货公司id",
  29615. "type": "integer"
  29616. },
  29617. "fcname": {
  29618. "description": "期货公司代码",
  29619. "type": "string"
  29620. },
  29621. "hedgeaccountcode": {
  29622. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  29623. "type": "string"
  29624. },
  29625. "ismain": {
  29626. "description": "是否主账户 0-否 1-是",
  29627. "type": "integer"
  29628. },
  29629. "parentaccountid": {
  29630. "description": "父账户id",
  29631. "type": "integer"
  29632. },
  29633. "relateduserid": {
  29634. "description": "关联userid",
  29635. "type": "integer"
  29636. },
  29637. "tradefeetmpid": {
  29638. "description": "手续费模板id",
  29639. "type": "integer"
  29640. },
  29641. "tradefeetmpname": {
  29642. "description": "手续费模板名称",
  29643. "type": "string"
  29644. },
  29645. "trademargintmpid": {
  29646. "description": "保证金模板id",
  29647. "type": "integer"
  29648. },
  29649. "trademargintmpname": {
  29650. "description": "保证金模板名称",
  29651. "type": "string"
  29652. },
  29653. "traderatetmpid": {
  29654. "description": "汇率模板id",
  29655. "type": "integer"
  29656. },
  29657. "traderatetmpname": {
  29658. "description": "汇率模板名称",
  29659. "type": "string"
  29660. },
  29661. "tradestatus": {
  29662. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  29663. "type": "integer"
  29664. },
  29665. "userid": {
  29666. "description": "用户id",
  29667. "type": "integer"
  29668. }
  29669. }
  29670. },
  29671. "models.ErmcpTradeConfigTMP": {
  29672. "type": "object",
  29673. "properties": {
  29674. "areauserid": {
  29675. "description": "所属机构",
  29676. "type": "integer"
  29677. },
  29678. "basiccurrencyid": {
  29679. "description": "基本币种ID[汇率] - 目标币种",
  29680. "type": "integer"
  29681. },
  29682. "mainaccountid": {
  29683. "description": "主账户ID",
  29684. "type": "integer"
  29685. },
  29686. "modifierid": {
  29687. "description": "修改人",
  29688. "type": "integer"
  29689. },
  29690. "remark": {
  29691. "description": "备注",
  29692. "type": "string"
  29693. },
  29694. "tradeconfigtmpid": {
  29695. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  29696. "type": "integer"
  29697. },
  29698. "tradeconfigtmpname": {
  29699. "description": "交易配置模板名称",
  29700. "type": "string"
  29701. },
  29702. "tradeconfigtmptype": {
  29703. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  29704. "type": "integer"
  29705. },
  29706. "updatetime": {
  29707. "description": "更新时间",
  29708. "type": "string"
  29709. }
  29710. }
  29711. },
  29712. "models.Ermcpjrlinkpos": {
  29713. "type": "object",
  29714. "required": [
  29715. "spotcontractid"
  29716. ],
  29717. "properties": {
  29718. "areauserid": {
  29719. "description": "所属企业",
  29720. "type": "integer"
  29721. },
  29722. "averageprice": {
  29723. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  29724. "type": "number"
  29725. },
  29726. "closepl": {
  29727. "description": "总平仓盈亏 [期货损益]",
  29728. "type": "number"
  29729. },
  29730. "executeprice": {
  29731. "description": "执行价 - 1:期货单 为 0",
  29732. "type": "integer"
  29733. },
  29734. "futurehedgeqty": {
  29735. "description": "期货套期量",
  29736. "type": "number"
  29737. },
  29738. "goodsid": {
  29739. "description": "期货合约",
  29740. "type": "integer"
  29741. },
  29742. "middlegoodscode": {
  29743. "description": "套保商品代码",
  29744. "type": "string"
  29745. },
  29746. "middlegoodsname": {
  29747. "description": "套保商品名称",
  29748. "type": "string"
  29749. },
  29750. "netqty": {
  29751. "description": "净头寸",
  29752. "type": "number"
  29753. },
  29754. "optioncode": {
  29755. "description": "期权代码",
  29756. "type": "string"
  29757. },
  29758. "ordertype": {
  29759. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29760. "type": "integer"
  29761. },
  29762. "reckonpl": {
  29763. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  29764. "type": "number"
  29765. },
  29766. "spotcontractid": {
  29767. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  29768. "type": "string"
  29769. },
  29770. "todayfutureclosepl": {
  29771. "description": "今日平仓盈亏",
  29772. "type": "number"
  29773. },
  29774. "totalbuyamount": {
  29775. "description": "买金额 [期货]",
  29776. "type": "number"
  29777. },
  29778. "totalbuyholdamount": {
  29779. "description": "买持仓总金额[期货]",
  29780. "type": "number"
  29781. },
  29782. "totalbuyqty": {
  29783. "description": "买数量",
  29784. "type": "number"
  29785. },
  29786. "totalcharge": {
  29787. "description": "手续费",
  29788. "type": "number"
  29789. },
  29790. "totalpremium": {
  29791. "description": "权利金 [期权]",
  29792. "type": "number"
  29793. },
  29794. "totalsellamount": {
  29795. "description": "卖金额 [期货]",
  29796. "type": "number"
  29797. },
  29798. "totalsellholdamount": {
  29799. "description": "卖持仓总金额[期货]",
  29800. "type": "number"
  29801. },
  29802. "totalsellqty": {
  29803. "description": "卖数量",
  29804. "type": "number"
  29805. },
  29806. "updatetime": {
  29807. "description": "更新时间",
  29808. "type": "string"
  29809. }
  29810. }
  29811. },
  29812. "models.Ermcppatradelinkdetail": {
  29813. "type": "object",
  29814. "required": [
  29815. "hedgeditemid"
  29816. ],
  29817. "properties": {
  29818. "agreeunit": {
  29819. "description": "合约乘数",
  29820. "type": "number"
  29821. },
  29822. "amount": {
  29823. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  29824. "type": "number"
  29825. },
  29826. "areauserid": {
  29827. "description": "所属机构",
  29828. "type": "integer"
  29829. },
  29830. "bizsubjectid": {
  29831. "description": "归属业务部门ID - SubjectID",
  29832. "type": "integer"
  29833. },
  29834. "buyorsell": {
  29835. "description": "方向 - 0:买 1:卖",
  29836. "type": "integer"
  29837. },
  29838. "convertratio": {
  29839. "description": "品种系数",
  29840. "type": "number"
  29841. },
  29842. "createtime": {
  29843. "description": "创建时间",
  29844. "type": "string"
  29845. },
  29846. "creatorid": {
  29847. "description": "创建人ID",
  29848. "type": "integer"
  29849. },
  29850. "creatorsrc": {
  29851. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  29852. "type": "integer"
  29853. },
  29854. "goodsgroupid": {
  29855. "description": "对冲品种ID[期货合约商品组ID]",
  29856. "type": "integer"
  29857. },
  29858. "goodsid": {
  29859. "description": "商品ID",
  29860. "type": "integer"
  29861. },
  29862. "hedgeditemid": {
  29863. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  29864. "type": "integer"
  29865. },
  29866. "hedgeflag": {
  29867. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  29868. "type": "integer"
  29869. },
  29870. "linkdetailid": {
  29871. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  29872. "type": "string"
  29873. },
  29874. "linkstatus": {
  29875. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  29876. "type": "integer"
  29877. },
  29878. "middlegoodsid": {
  29879. "description": "套保品种ID",
  29880. "type": "integer"
  29881. },
  29882. "name": {
  29883. "description": "账户名/子账户",
  29884. "type": "string"
  29885. },
  29886. "optioncode": {
  29887. "description": "[期货合约]期权代码 [期权]",
  29888. "type": "string"
  29889. },
  29890. "ordertype": {
  29891. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  29892. "type": "integer"
  29893. },
  29894. "relatedlot": {
  29895. "description": "[数量]关联手数",
  29896. "type": "number"
  29897. },
  29898. "relatedmode": {
  29899. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  29900. "type": "integer"
  29901. },
  29902. "relatedqty": {
  29903. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  29904. "type": "number"
  29905. },
  29906. "retcode": {
  29907. "description": "返回码",
  29908. "type": "integer"
  29909. },
  29910. "saleuserid": {
  29911. "description": "业务员ID",
  29912. "type": "integer"
  29913. },
  29914. "tradedate": {
  29915. "description": "关联交易日(yyyyMMdd)",
  29916. "type": "string"
  29917. },
  29918. "tradeid": {
  29919. "description": "[成交单号]内部成交单ID",
  29920. "type": "string"
  29921. },
  29922. "tradelot": {
  29923. "description": "成交手数",
  29924. "type": "integer"
  29925. },
  29926. "tradeprice": {
  29927. "description": "[价格]成交价格",
  29928. "type": "number"
  29929. },
  29930. "tradetime": {
  29931. "description": "日期时间",
  29932. "type": "string"
  29933. },
  29934. "tradetradedate": {
  29935. "description": "成交交易日(yyyyMMdd)",
  29936. "type": "string"
  29937. }
  29938. }
  29939. },
  29940. "models.Exchangerateconfig": {
  29941. "type": "object",
  29942. "properties": {
  29943. "descurrencyid": {
  29944. "description": "目标币种ID",
  29945. "type": "integer"
  29946. },
  29947. "exchangerate": {
  29948. "description": "汇率",
  29949. "type": "number"
  29950. },
  29951. "oricurrencyid": {
  29952. "description": "源币种ID",
  29953. "type": "integer"
  29954. },
  29955. "remark": {
  29956. "description": "备注",
  29957. "type": "string"
  29958. }
  29959. }
  29960. },
  29961. "models.Externalexchange": {
  29962. "type": "object",
  29963. "required": [
  29964. "autoid"
  29965. ],
  29966. "properties": {
  29967. "autoid": {
  29968. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  29969. "type": "integer"
  29970. },
  29971. "exchangefullname": {
  29972. "description": "外部交易所全称",
  29973. "type": "string"
  29974. },
  29975. "exexchangecode": {
  29976. "description": "外部交易所代码",
  29977. "type": "string"
  29978. },
  29979. "exexchangename": {
  29980. "description": "外部交易所名称(简称)",
  29981. "type": "string"
  29982. },
  29983. "ismarketprice": {
  29984. "description": "是否支持市价 - 0:不支持 1:支持",
  29985. "type": "integer"
  29986. },
  29987. "quotegear": {
  29988. "description": "行情档位(1-10)",
  29989. "type": "integer"
  29990. },
  29991. "showbrokerflag": {
  29992. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  29993. "type": "integer"
  29994. },
  29995. "updatetime": {
  29996. "description": "更新时间",
  29997. "type": "string"
  29998. }
  29999. }
  30000. },
  30001. "models.Funcmenulist": {
  30002. "type": "object",
  30003. "required": [
  30004. "resourcecode"
  30005. ],
  30006. "properties": {
  30007. "iconame": {
  30008. "description": "菜单图标",
  30009. "type": "string"
  30010. },
  30011. "menutype": {
  30012. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  30013. "type": "integer"
  30014. },
  30015. "parentcode": {
  30016. "description": "上级资源代码",
  30017. "type": "string"
  30018. },
  30019. "remark": {
  30020. "description": "备注",
  30021. "type": "string"
  30022. },
  30023. "resourcecode": {
  30024. "description": "资源代码",
  30025. "type": "string"
  30026. },
  30027. "resourcelevel": {
  30028. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  30029. "type": "integer"
  30030. },
  30031. "resourcename": {
  30032. "description": "资源名",
  30033. "type": "string"
  30034. },
  30035. "sort": {
  30036. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  30037. "type": "integer"
  30038. },
  30039. "url": {
  30040. "description": "URL",
  30041. "type": "string"
  30042. }
  30043. }
  30044. },
  30045. "models.GErmcpspotgoodsprice": {
  30046. "type": "object",
  30047. "properties": {
  30048. "currencyid": {
  30049. "description": "报价货币ID",
  30050. "type": "integer"
  30051. },
  30052. "deliverygoodsid": {
  30053. "description": "现货品种ID",
  30054. "type": "integer"
  30055. },
  30056. "spotgoodsbrandid": {
  30057. "description": "现货品牌ID(通用则为0, 不为0则须先有商品ID)",
  30058. "type": "integer"
  30059. },
  30060. "spotgoodsprice": {
  30061. "description": "【最新价】当前价格",
  30062. "type": "number"
  30063. },
  30064. "srcmarketname": {
  30065. "description": "来源市场名称",
  30066. "type": "string"
  30067. },
  30068. "todaypricedtotalamount": {
  30069. "description": "今日定价金额",
  30070. "type": "number"
  30071. },
  30072. "todaypricedtotalqty": {
  30073. "description": "今日定价总量",
  30074. "type": "number"
  30075. },
  30076. "todayspotgoodsprice": {
  30077. "description": "今日指定价",
  30078. "type": "number"
  30079. },
  30080. "tradedate": {
  30081. "description": "【日期】交易日",
  30082. "type": "string"
  30083. },
  30084. "wrstandardcode": {
  30085. "description": "现货商品代码",
  30086. "type": "string"
  30087. },
  30088. "wrstandardid": {
  30089. "description": "现货商品ID(通用则为0)",
  30090. "type": "integer"
  30091. },
  30092. "wrstandardname": {
  30093. "description": "【名称】现货商品名称",
  30094. "type": "string"
  30095. },
  30096. "ystspotgoodsprice": {
  30097. "description": "昨价",
  30098. "type": "number"
  30099. }
  30100. }
  30101. },
  30102. "models.GThjuserscorelog": {
  30103. "type": "object",
  30104. "properties": {
  30105. "createtime": {
  30106. "description": "记账时间",
  30107. "type": "string"
  30108. },
  30109. "score": {
  30110. "description": "变动积分",
  30111. "type": "number"
  30112. },
  30113. "scoreconfigtype": {
  30114. "description": "配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  30115. "type": "integer"
  30116. }
  30117. }
  30118. },
  30119. "models.GZGoods": {
  30120. "type": "object",
  30121. "required": [
  30122. "goodsno"
  30123. ],
  30124. "properties": {
  30125. "address": {
  30126. "description": "详细地址",
  30127. "type": "string"
  30128. },
  30129. "cerno": {
  30130. "description": "证书编号 - 类型:2,4,5",
  30131. "type": "string"
  30132. },
  30133. "cityname": {
  30134. "description": "城市名称",
  30135. "type": "string"
  30136. },
  30137. "countryname": {
  30138. "description": "国家名称",
  30139. "type": "string"
  30140. },
  30141. "cpcertno": {
  30142. "description": "金伯利证书编号 - 类型:3",
  30143. "type": "string"
  30144. },
  30145. "districtname": {
  30146. "description": "地区名称",
  30147. "type": "string"
  30148. },
  30149. "goodsno": {
  30150. "description": "商品编号",
  30151. "type": "string"
  30152. },
  30153. "imagepath": {
  30154. "description": "商品照片(相对地址)",
  30155. "type": "string"
  30156. },
  30157. "isvalid": {
  30158. "description": "是否有效 - 0:无效 1:有效",
  30159. "type": "integer"
  30160. },
  30161. "kppath": {
  30162. "description": "金伯利证书图片(相对地址) - 类型:3",
  30163. "type": "string"
  30164. },
  30165. "kpweight": {
  30166. "description": "金伯利证书重量 - 类型:3",
  30167. "type": "string"
  30168. },
  30169. "marketprice": {
  30170. "description": "市场价",
  30171. "type": "string"
  30172. },
  30173. "mobile": {
  30174. "description": "手机号码",
  30175. "type": "string"
  30176. },
  30177. "origin": {
  30178. "description": "原产地 - 类型:3",
  30179. "type": "string"
  30180. },
  30181. "performancetemplateid": {
  30182. "description": "履约计划模板ID",
  30183. "type": "integer"
  30184. },
  30185. "price": {
  30186. "description": "总价(价格) - 类型:1,2,3,4,5",
  30187. "type": "number"
  30188. },
  30189. "priceper": {
  30190. "description": "克拉单价 - 类型:1,2,3,5",
  30191. "type": "string"
  30192. },
  30193. "provincename": {
  30194. "description": "省名称",
  30195. "type": "string"
  30196. },
  30197. "remainqty": {
  30198. "description": "剩余重量",
  30199. "type": "number"
  30200. },
  30201. "remark": {
  30202. "description": "备注",
  30203. "type": "string"
  30204. },
  30205. "sellusername": {
  30206. "description": "账户名称(机构名称)",
  30207. "type": "string"
  30208. },
  30209. "settingmaterial": {
  30210. "description": "镶嵌材料 - 类型:4",
  30211. "type": "string"
  30212. },
  30213. "size1": {
  30214. "description": "尺寸1 - 类型:2,4,5",
  30215. "type": "string"
  30216. },
  30217. "size2": {
  30218. "description": "尺寸2 - 类型:2,4,5",
  30219. "type": "string"
  30220. },
  30221. "size3": {
  30222. "description": "尺寸3 - 类型:2,4,5",
  30223. "type": "string"
  30224. },
  30225. "sizedisplay": {
  30226. "description": "尺寸",
  30227. "type": "string"
  30228. },
  30229. "stonedesc": {
  30230. "description": "配石描述 - 类型:4",
  30231. "type": "string"
  30232. },
  30233. "userid": {
  30234. "description": "用户ID",
  30235. "type": "integer"
  30236. },
  30237. "warehouseid": {
  30238. "description": "仓库ID",
  30239. "type": "integer"
  30240. },
  30241. "warehousenamedisplay": {
  30242. "type": "string"
  30243. },
  30244. "weight": {
  30245. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  30246. "type": "number"
  30247. },
  30248. "weightavg": {
  30249. "description": "平均单颗重量 - 类型:1,3",
  30250. "type": "number"
  30251. },
  30252. "wrpath": {
  30253. "description": "仓单扫描件(相对地址)",
  30254. "type": "string"
  30255. },
  30256. "wrstandardid": {
  30257. "description": "现货商品ID",
  30258. "type": "integer"
  30259. },
  30260. "wrtradeorderid": {
  30261. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  30262. "type": "string"
  30263. },
  30264. "zscategory": {
  30265. "description": "钻石分类 - 枚举”ZSCategory“",
  30266. "type": "integer"
  30267. },
  30268. "zscategorydisplay": {
  30269. "type": "string"
  30270. },
  30271. "zscerttype": {
  30272. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  30273. "type": "integer"
  30274. },
  30275. "zscerttypedisplay": {
  30276. "type": "string"
  30277. },
  30278. "zsclaritytype1": {
  30279. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  30280. "type": "integer"
  30281. },
  30282. "zsclaritytype1display": {
  30283. "type": "string"
  30284. },
  30285. "zsclaritytype2": {
  30286. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  30287. "type": "integer"
  30288. },
  30289. "zsclaritytype2display": {
  30290. "type": "string"
  30291. },
  30292. "zscolortype1": {
  30293. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  30294. "type": "integer"
  30295. },
  30296. "zscolortype1display": {
  30297. "type": "string"
  30298. },
  30299. "zscolortype2": {
  30300. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  30301. "type": "integer"
  30302. },
  30303. "zscolortype2display": {
  30304. "type": "string"
  30305. },
  30306. "zscrystaltype": {
  30307. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  30308. "type": "string"
  30309. },
  30310. "zscrystaltypedisplay": {
  30311. "type": "string"
  30312. },
  30313. "zscurrencytype": {
  30314. "description": "货币类型 - 枚举“ZSCurrencyType”",
  30315. "type": "integer"
  30316. },
  30317. "zscurrencytypedisplay": {
  30318. "type": "string"
  30319. },
  30320. "zscurrencytypedisplayunit": {
  30321. "type": "string"
  30322. },
  30323. "zscuttype1": {
  30324. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  30325. "type": "integer"
  30326. },
  30327. "zscuttype1display": {
  30328. "type": "string"
  30329. },
  30330. "zscuttype2": {
  30331. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  30332. "type": "integer"
  30333. },
  30334. "zscuttype2display": {
  30335. "type": "string"
  30336. },
  30337. "zsczcolor1type": {
  30338. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  30339. "type": "integer"
  30340. },
  30341. "zsczcolor1typedisplay": {
  30342. "type": "string"
  30343. },
  30344. "zsczcolor2type": {
  30345. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  30346. "type": "integer"
  30347. },
  30348. "zsczcolor2typedisplay": {
  30349. "type": "string"
  30350. },
  30351. "zsczcolor3type": {
  30352. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  30353. "type": "integer"
  30354. },
  30355. "zsczcolor3typedisplay": {
  30356. "type": "string"
  30357. },
  30358. "zsfluorescencetype1": {
  30359. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  30360. "type": "integer"
  30361. },
  30362. "zsfluorescencetype1display": {
  30363. "type": "string"
  30364. },
  30365. "zsfluorescencetype2": {
  30366. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  30367. "type": "integer"
  30368. },
  30369. "zsfluorescencetype2display": {
  30370. "type": "string"
  30371. },
  30372. "zspolishtype1": {
  30373. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  30374. "type": "integer"
  30375. },
  30376. "zspolishtype1display": {
  30377. "type": "string"
  30378. },
  30379. "zspolishtype2": {
  30380. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  30381. "type": "integer"
  30382. },
  30383. "zspolishtype2display": {
  30384. "type": "string"
  30385. },
  30386. "zsshapetype": {
  30387. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  30388. "type": "string"
  30389. },
  30390. "zsshapetypedisplay": {
  30391. "type": "string"
  30392. },
  30393. "zsstyletype": {
  30394. "description": "款式 - 类型:4",
  30395. "type": "integer"
  30396. },
  30397. "zsstyletypedisplay": {
  30398. "type": "string"
  30399. },
  30400. "zssymmetrytype1": {
  30401. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  30402. "type": "integer"
  30403. },
  30404. "zssymmetrytype1display": {
  30405. "type": "string"
  30406. },
  30407. "zssymmetrytype2": {
  30408. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  30409. "type": "integer"
  30410. },
  30411. "zssymmetrytype2display": {
  30412. "type": "string"
  30413. }
  30414. }
  30415. },
  30416. "models.GZHomeData": {
  30417. "type": "object",
  30418. "properties": {
  30419. "purchasedtransactions": {
  30420. "description": "已购买的交易",
  30421. "type": "integer"
  30422. },
  30423. "transactioninpurchase": {
  30424. "description": "求购中的交易",
  30425. "type": "integer"
  30426. },
  30427. "transactionsonsale": {
  30428. "description": "出售中的交易",
  30429. "type": "integer"
  30430. },
  30431. "transactionssold": {
  30432. "description": "已卖出的交易",
  30433. "type": "integer"
  30434. },
  30435. "unhandledmessage": {
  30436. "description": "未处理消息",
  30437. "type": "integer"
  30438. }
  30439. }
  30440. },
  30441. "models.GZWarehouseinfo": {
  30442. "type": "object",
  30443. "properties": {
  30444. "address": {
  30445. "description": "详细地址",
  30446. "type": "string"
  30447. },
  30448. "areauserid": {
  30449. "description": "所属机构",
  30450. "type": "integer"
  30451. },
  30452. "autoid": {
  30453. "description": "自增ID",
  30454. "type": "integer"
  30455. },
  30456. "cityid": {
  30457. "description": "市",
  30458. "type": "integer"
  30459. },
  30460. "cityname": {
  30461. "description": "城市名称",
  30462. "type": "string"
  30463. },
  30464. "contactname": {
  30465. "description": "联系人",
  30466. "type": "string"
  30467. },
  30468. "contactnum": {
  30469. "description": "联系电话",
  30470. "type": "string"
  30471. },
  30472. "countryid": {
  30473. "description": "国家",
  30474. "type": "integer"
  30475. },
  30476. "countryname": {
  30477. "description": "国家名称",
  30478. "type": "string"
  30479. },
  30480. "createtime": {
  30481. "description": "创建时间",
  30482. "type": "string"
  30483. },
  30484. "districtid": {
  30485. "description": "区",
  30486. "type": "integer"
  30487. },
  30488. "districtname": {
  30489. "description": "地区名称",
  30490. "type": "string"
  30491. },
  30492. "hasvideo": {
  30493. "description": "是否有视频 - 0:无 1:有",
  30494. "type": "integer"
  30495. },
  30496. "provinceid": {
  30497. "description": "省",
  30498. "type": "integer"
  30499. },
  30500. "provincename": {
  30501. "description": "省名称",
  30502. "type": "string"
  30503. },
  30504. "remark": {
  30505. "description": "审核备注",
  30506. "type": "string"
  30507. },
  30508. "videourl": {
  30509. "description": "视频地址",
  30510. "type": "string"
  30511. },
  30512. "warehousecode": {
  30513. "description": "仓库代码",
  30514. "type": "string"
  30515. },
  30516. "warehousename": {
  30517. "description": "仓库名称",
  30518. "type": "string"
  30519. },
  30520. "warehousestatus": {
  30521. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  30522. "type": "integer"
  30523. },
  30524. "warehousetype": {
  30525. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  30526. "type": "integer"
  30527. }
  30528. }
  30529. },
  30530. "models.Goods": {
  30531. "type": "object",
  30532. "required": [
  30533. "goodscode",
  30534. "goodsid",
  30535. "goodsname",
  30536. "marketid"
  30537. ],
  30538. "properties": {
  30539. "agreeunit": {
  30540. "description": "合约单位",
  30541. "type": "number"
  30542. },
  30543. "areauserid": {
  30544. "description": "所属机构",
  30545. "type": "integer"
  30546. },
  30547. "auditaccountid": {
  30548. "description": "审核操作员账号",
  30549. "type": "integer"
  30550. },
  30551. "audittime": {
  30552. "description": "审核时间",
  30553. "type": "string"
  30554. },
  30555. "cancelaccountid": {
  30556. "description": "注销操作员账号",
  30557. "type": "integer"
  30558. },
  30559. "canceltime": {
  30560. "description": "注销时间",
  30561. "type": "string"
  30562. },
  30563. "closepricemode": {
  30564. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30565. "type": "integer"
  30566. },
  30567. "closepriceparam": {
  30568. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  30569. "type": "number"
  30570. },
  30571. "createtime": {
  30572. "description": "创建时间",
  30573. "type": "string"
  30574. },
  30575. "creatorid": {
  30576. "description": "创建人",
  30577. "type": "integer"
  30578. },
  30579. "currencyid": {
  30580. "description": "报价货币ID",
  30581. "type": "integer"
  30582. },
  30583. "cutmode": {
  30584. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  30585. "type": "integer"
  30586. },
  30587. "decimalplace": {
  30588. "description": "报价小数位",
  30589. "type": "integer"
  30590. },
  30591. "delistingdate": {
  30592. "description": "商品退市时间(状态:退市) -- 已作废",
  30593. "type": "string"
  30594. },
  30595. "delistingmode": {
  30596. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  30597. "type": "integer"
  30598. },
  30599. "deliveryflag": {
  30600. "description": "交割标志 - 0:不可交割 1:可交割",
  30601. "type": "integer"
  30602. },
  30603. "forceclosemode": {
  30604. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  30605. "type": "integer"
  30606. },
  30607. "forceclosevalue": {
  30608. "description": "定期强平参数 [收益权]",
  30609. "type": "integer"
  30610. },
  30611. "goodscode": {
  30612. "description": "商品代码(内部)",
  30613. "type": "string"
  30614. },
  30615. "goodscurrencyid": {
  30616. "description": "合约货币ID",
  30617. "type": "integer"
  30618. },
  30619. "goodsgroupid": {
  30620. "description": "所属商品组ID",
  30621. "type": "integer"
  30622. },
  30623. "goodsid": {
  30624. "description": "商品ID(自增ID SEQ_GOODS)",
  30625. "type": "integer"
  30626. },
  30627. "goodsname": {
  30628. "description": "商品名称",
  30629. "type": "string"
  30630. },
  30631. "goodsquotetype": {
  30632. "description": "合约报价类型: 1-直接报价 2-间接报价",
  30633. "type": "integer"
  30634. },
  30635. "goodsstatus": {
  30636. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  30637. "type": "integer"
  30638. },
  30639. "goodstradetype": {
  30640. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  30641. "type": "integer"
  30642. },
  30643. "goodunitid": {
  30644. "description": "报价单位ID",
  30645. "type": "integer"
  30646. },
  30647. "hasquoter": {
  30648. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  30649. "type": "integer"
  30650. },
  30651. "hqprotecttime": {
  30652. "description": "行情保护时间(秒)",
  30653. "type": "integer"
  30654. },
  30655. "innerdealmode": {
  30656. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30657. "type": "integer"
  30658. },
  30659. "isbuylimited": {
  30660. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30661. "type": "integer"
  30662. },
  30663. "isvisible": {
  30664. "description": "游客是否可见 - 0:不可见 1:可见",
  30665. "type": "integer"
  30666. },
  30667. "lasttradedate": {
  30668. "description": "最后交易日期(状态:待退市)",
  30669. "type": "string"
  30670. },
  30671. "listingdate": {
  30672. "description": "交易开始日期",
  30673. "type": "string"
  30674. },
  30675. "marketid": {
  30676. "description": "所属市场ID",
  30677. "type": "integer"
  30678. },
  30679. "modifierid": {
  30680. "description": "修改人",
  30681. "type": "integer"
  30682. },
  30683. "modifystatus": {
  30684. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  30685. "type": "integer"
  30686. },
  30687. "modifytime": {
  30688. "description": "修改时间",
  30689. "type": "string"
  30690. },
  30691. "outerdealmode": {
  30692. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30693. "type": "integer"
  30694. },
  30695. "outgoodscode": {
  30696. "description": "商品代码(外部)",
  30697. "type": "string"
  30698. },
  30699. "pictureurl": {
  30700. "description": "商品图片",
  30701. "type": "string"
  30702. },
  30703. "qtydecimalplace": {
  30704. "description": "成交量小数位",
  30705. "type": "integer"
  30706. },
  30707. "quotegear": {
  30708. "description": "行情档位(1-10)",
  30709. "type": "integer"
  30710. },
  30711. "quoteminunit": {
  30712. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30713. "type": "integer"
  30714. },
  30715. "quoteshowtype": {
  30716. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  30717. "type": "integer"
  30718. },
  30719. "quoteshowtypeinterval": {
  30720. "description": "行情报价间隔时间(秒)(成交价时为0)",
  30721. "type": "integer"
  30722. },
  30723. "remark": {
  30724. "description": "备注",
  30725. "type": "string"
  30726. }
  30727. }
  30728. },
  30729. "models.GoodsIDAndName": {
  30730. "type": "object",
  30731. "required": [
  30732. "goodscode",
  30733. "goodsid",
  30734. "goodsname",
  30735. "marketid"
  30736. ],
  30737. "properties": {
  30738. "goodscode": {
  30739. "description": "商品代码(内部)",
  30740. "type": "string"
  30741. },
  30742. "goodsid": {
  30743. "description": "商品ID(自增ID SEQ_GOODS)",
  30744. "type": "integer"
  30745. },
  30746. "goodsname": {
  30747. "description": "商品名称",
  30748. "type": "string"
  30749. },
  30750. "marketid": {
  30751. "description": "所属市场ID",
  30752. "type": "integer"
  30753. }
  30754. }
  30755. },
  30756. "models.Goodsgroup": {
  30757. "type": "object",
  30758. "required": [
  30759. "goodsgroupid",
  30760. "goodsgroupname",
  30761. "goodsgroupstatus",
  30762. "marketid"
  30763. ],
  30764. "properties": {
  30765. "agreeunit": {
  30766. "description": "合约单位",
  30767. "type": "number"
  30768. },
  30769. "canshort": {
  30770. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  30771. "type": "integer"
  30772. },
  30773. "closepricemode": {
  30774. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  30775. "type": "integer"
  30776. },
  30777. "closepriceparam": {
  30778. "description": "强平最新价浮动比例 - 方式为2时使用",
  30779. "type": "number"
  30780. },
  30781. "createtime": {
  30782. "description": "创建时间",
  30783. "type": "string"
  30784. },
  30785. "creatorid": {
  30786. "description": "创建人",
  30787. "type": "integer"
  30788. },
  30789. "currencyid": {
  30790. "description": "报价货币ID",
  30791. "type": "integer"
  30792. },
  30793. "decimalplace": {
  30794. "description": "报价小数位",
  30795. "type": "integer"
  30796. },
  30797. "exercisetype": {
  30798. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  30799. "type": "integer"
  30800. },
  30801. "exexchangeid": {
  30802. "description": "外部交易所ID[通道交易]",
  30803. "type": "integer"
  30804. },
  30805. "goodsgroupid": {
  30806. "description": "商品组ID(自增ID)",
  30807. "type": "integer"
  30808. },
  30809. "goodsgroupname": {
  30810. "description": "商品组名称",
  30811. "type": "string"
  30812. },
  30813. "goodsgroupstatus": {
  30814. "description": "商品组状态 - 1:正常 2:注销",
  30815. "type": "integer"
  30816. },
  30817. "goodunitid": {
  30818. "description": "报价单位ID",
  30819. "type": "integer"
  30820. },
  30821. "innerdealmode": {
  30822. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  30823. "type": "integer"
  30824. },
  30825. "isbuylimited": {
  30826. "description": "是否限制建仓量 - 0:不限制 1:限制",
  30827. "type": "integer"
  30828. },
  30829. "marketid": {
  30830. "description": "所属市场ID",
  30831. "type": "integer"
  30832. },
  30833. "modifierid": {
  30834. "description": "修改人",
  30835. "type": "integer"
  30836. },
  30837. "modifytime": {
  30838. "description": "修改时间",
  30839. "type": "string"
  30840. },
  30841. "outerdealmode": {
  30842. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  30843. "type": "integer"
  30844. },
  30845. "outergroupcode": {
  30846. "description": "外部商品组代码[通道交易]",
  30847. "type": "string"
  30848. },
  30849. "premiumdecimalplace": {
  30850. "description": "权利金小数位[场外期权]",
  30851. "type": "integer"
  30852. },
  30853. "premiumspreadalgorithm": {
  30854. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  30855. "type": "integer"
  30856. },
  30857. "premiumspreadvalue": {
  30858. "description": "权利金点差值[场外期权]",
  30859. "type": "number"
  30860. },
  30861. "qtydecimalplace": {
  30862. "description": "成交量小数位",
  30863. "type": "integer"
  30864. },
  30865. "quotegear": {
  30866. "description": "行情档位(1-10)",
  30867. "type": "integer"
  30868. },
  30869. "quoteminunit": {
  30870. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  30871. "type": "integer"
  30872. },
  30873. "quoterid": {
  30874. "description": "报价商ID[场外期权]",
  30875. "type": "integer"
  30876. },
  30877. "quotesourcegroupid": {
  30878. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  30879. "type": "integer"
  30880. },
  30881. "syncgoodsqty": {
  30882. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  30883. "type": "integer"
  30884. }
  30885. }
  30886. },
  30887. "models.Goodssortbypreposition": {
  30888. "type": "object",
  30889. "required": [
  30890. "goodscode",
  30891. "tradedate"
  30892. ],
  30893. "properties": {
  30894. "goodscode": {
  30895. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  30896. "type": "string"
  30897. },
  30898. "goodsgroupcode": {
  30899. "description": "品种代码",
  30900. "type": "string"
  30901. },
  30902. "prepositionqty": {
  30903. "description": "昨持仓量",
  30904. "type": "integer"
  30905. },
  30906. "sortindex": {
  30907. "description": "排序",
  30908. "type": "integer"
  30909. },
  30910. "tradedate": {
  30911. "description": "交易日",
  30912. "type": "string"
  30913. },
  30914. "updatetime": {
  30915. "description": "更新时间",
  30916. "type": "string"
  30917. }
  30918. }
  30919. },
  30920. "models.GzbsfworderM": {
  30921. "type": "object",
  30922. "required": [
  30923. "userid"
  30924. ],
  30925. "properties": {
  30926. "accountid": {
  30927. "description": "资金账户ID",
  30928. "type": "integer"
  30929. },
  30930. "addresscn": {
  30931. "description": "地址(中文)",
  30932. "type": "string"
  30933. },
  30934. "addressen": {
  30935. "description": "地址(英文)",
  30936. "type": "string"
  30937. },
  30938. "advanceamount": {
  30939. "description": "总预付款",
  30940. "type": "number"
  30941. },
  30942. "colorrange": {
  30943. "description": "颜色范围",
  30944. "type": "string"
  30945. },
  30946. "companynamecn": {
  30947. "description": "收货人(中文)",
  30948. "type": "string"
  30949. },
  30950. "companynameen": {
  30951. "description": "收货人(英文)",
  30952. "type": "string"
  30953. },
  30954. "contactfax": {
  30955. "description": "收货人传真",
  30956. "type": "string"
  30957. },
  30958. "contactname": {
  30959. "description": "收货人姓名",
  30960. "type": "string"
  30961. },
  30962. "contactphoneno": {
  30963. "description": "收货人电话",
  30964. "type": "string"
  30965. },
  30966. "contentrange": {
  30967. "description": "【内容】内容范围",
  30968. "type": "string"
  30969. },
  30970. "createtime": {
  30971. "description": "创建时间",
  30972. "type": "string"
  30973. },
  30974. "executestatus": {
  30975. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  30976. "type": "integer"
  30977. },
  30978. "gzbsdeliverytype": {
  30979. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  30980. "type": "integer"
  30981. },
  30982. "gzbsstatus": {
  30983. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  30984. "type": "integer"
  30985. },
  30986. "gzbsstatusdisplay": {
  30987. "description": "单据状态",
  30988. "type": "string"
  30989. },
  30990. "handlestatus": {
  30991. "description": "处理状态",
  30992. "type": "integer"
  30993. },
  30994. "orderdate": {
  30995. "description": "单据日期",
  30996. "type": "string"
  30997. },
  30998. "orderid": {
  30999. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31000. "type": "integer"
  31001. },
  31002. "orderno": {
  31003. "description": "单据编号 - GZDEBSFW+单据流水号",
  31004. "type": "string"
  31005. },
  31006. "ordersn": {
  31007. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31008. "type": "string"
  31009. },
  31010. "origincountry": {
  31011. "description": "原产国",
  31012. "type": "string"
  31013. },
  31014. "otherlogistics": {
  31015. "description": "指定其它物流",
  31016. "type": "string"
  31017. },
  31018. "priceper": {
  31019. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  31020. "type": "number"
  31021. },
  31022. "settleamount": {
  31023. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  31024. "type": "number"
  31025. },
  31026. "shaperange": {
  31027. "description": "形状范围",
  31028. "type": "string"
  31029. },
  31030. "taxmargin": {
  31031. "description": "税费保证金 - 确认结算费用时退回",
  31032. "type": "number"
  31033. },
  31034. "totalamount": {
  31035. "description": "总值(美元)",
  31036. "type": "number"
  31037. },
  31038. "totalgrossweightgm": {
  31039. "description": "总毛重(克)",
  31040. "type": "number"
  31041. },
  31042. "totalnetweightgm": {
  31043. "description": "总净重(克)",
  31044. "type": "number"
  31045. },
  31046. "totalnetweigthct": {
  31047. "description": "总净重(克拉)",
  31048. "type": "number"
  31049. },
  31050. "totalnumber": {
  31051. "description": "总粒数",
  31052. "type": "integer"
  31053. },
  31054. "userid": {
  31055. "description": "用户ID",
  31056. "type": "integer"
  31057. },
  31058. "weightrange": {
  31059. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  31060. "type": "string"
  31061. }
  31062. }
  31063. },
  31064. "models.GzbsfworderdetailM": {
  31065. "type": "object",
  31066. "properties": {
  31067. "colorinfo": {
  31068. "description": "彩钻信息",
  31069. "type": "string"
  31070. },
  31071. "createtime": {
  31072. "description": "创建时间",
  31073. "type": "string"
  31074. },
  31075. "grossweightgm": {
  31076. "description": "毛重(克)",
  31077. "type": "number"
  31078. },
  31079. "gzcjshape": {
  31080. "description": "形状(字符)",
  31081. "type": "string"
  31082. },
  31083. "netweigthct": {
  31084. "description": "净重(克拉)",
  31085. "type": "number"
  31086. },
  31087. "netweigthgm": {
  31088. "description": "净重(克)",
  31089. "type": "number"
  31090. },
  31091. "ordercontent": {
  31092. "description": "内容",
  31093. "type": "string"
  31094. },
  31095. "orderdetailid": {
  31096. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  31097. "type": "integer"
  31098. },
  31099. "orderid": {
  31100. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31101. "type": "integer"
  31102. },
  31103. "orderindex": {
  31104. "description": "顺序",
  31105. "type": "integer"
  31106. },
  31107. "perprice": {
  31108. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  31109. "type": "number"
  31110. },
  31111. "remark": {
  31112. "description": "备注(其它)",
  31113. "type": "string"
  31114. },
  31115. "totalamount": {
  31116. "description": "总值(美元)",
  31117. "type": "number"
  31118. }
  31119. }
  31120. },
  31121. "models.Gzbsfworderoperate": {
  31122. "type": "object",
  31123. "required": [
  31124. "orderid"
  31125. ],
  31126. "properties": {
  31127. "advanceproofaddr": {
  31128. "description": "预付款收款凭证(确认结算费用时)",
  31129. "type": "string"
  31130. },
  31131. "bankfee": {
  31132. "description": "汇款银行手续费",
  31133. "type": "number"
  31134. },
  31135. "bankproofaddr": {
  31136. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  31137. "type": "string"
  31138. },
  31139. "customsproofaddr": {
  31140. "description": "海关税费保证金收据(确认结算费用时)",
  31141. "type": "string"
  31142. },
  31143. "gzbsstatus": {
  31144. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  31145. "type": "integer"
  31146. },
  31147. "logisticsfee": {
  31148. "description": "代缴物流保险费",
  31149. "type": "number"
  31150. },
  31151. "logisticsproofaddr": {
  31152. "description": "代缴物流保险费凭证(确认结算费用时)",
  31153. "type": "string"
  31154. },
  31155. "operatetime": {
  31156. "description": "操作时间",
  31157. "type": "string"
  31158. },
  31159. "operatoraccount": {
  31160. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31161. "type": "string"
  31162. },
  31163. "operatorid": {
  31164. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31165. "type": "integer"
  31166. },
  31167. "operatorname": {
  31168. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  31169. "type": "string"
  31170. },
  31171. "operatorsrc": {
  31172. "description": "操作人来源 - 1:管理端 2:终端",
  31173. "type": "integer"
  31174. },
  31175. "orderid": {
  31176. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31177. "type": "integer"
  31178. },
  31179. "otherfee": {
  31180. "description": "其它费用",
  31181. "type": "number"
  31182. },
  31183. "remark": {
  31184. "description": "操作备注",
  31185. "type": "string"
  31186. },
  31187. "servicefee": {
  31188. "description": "综合服务费",
  31189. "type": "number"
  31190. },
  31191. "taxmargin": {
  31192. "description": "税费保证金",
  31193. "type": "number"
  31194. },
  31195. "totalfee": {
  31196. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  31197. "type": "number"
  31198. }
  31199. }
  31200. },
  31201. "models.Gzcertaddressconfig": {
  31202. "type": "object",
  31203. "properties": {
  31204. "certregion": {
  31205. "description": "证书地域 - 1:国内 2:国际",
  31206. "type": "integer"
  31207. },
  31208. "certtype": {
  31209. "description": "证书类型",
  31210. "type": "string"
  31211. },
  31212. "orderindex": {
  31213. "description": "显示顺序",
  31214. "type": "integer"
  31215. },
  31216. "orgcnname": {
  31217. "description": "机构名称(中文)",
  31218. "type": "string"
  31219. },
  31220. "orgenname": {
  31221. "description": "机构名称(英文)",
  31222. "type": "string"
  31223. },
  31224. "queryaddress": {
  31225. "description": "查询地址",
  31226. "type": "string"
  31227. },
  31228. "remark": {
  31229. "description": "备注",
  31230. "type": "string"
  31231. },
  31232. "updatetime": {
  31233. "description": "更新时间",
  31234. "type": "string"
  31235. }
  31236. }
  31237. },
  31238. "models.Gzcertaddressparam": {
  31239. "type": "object",
  31240. "properties": {
  31241. "certtype": {
  31242. "description": "证书类型",
  31243. "type": "string"
  31244. },
  31245. "orderindex": {
  31246. "description": "参数顺序",
  31247. "type": "integer"
  31248. },
  31249. "paramkey": {
  31250. "description": "参数Key",
  31251. "type": "string"
  31252. },
  31253. "paramname": {
  31254. "description": "参数名称",
  31255. "type": "string"
  31256. },
  31257. "updatetime": {
  31258. "description": "更新时间",
  31259. "type": "string"
  31260. }
  31261. }
  31262. },
  31263. "models.GzcjbsorderfileM": {
  31264. "type": "object",
  31265. "required": [
  31266. "orderid"
  31267. ],
  31268. "properties": {
  31269. "canmembervisit": {
  31270. "description": "会员是否可访问 - 1:可 2:不可",
  31271. "type": "integer"
  31272. },
  31273. "fileaddress": {
  31274. "description": "文件地址",
  31275. "type": "string"
  31276. },
  31277. "filegentype": {
  31278. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  31279. "type": "integer"
  31280. },
  31281. "filename": {
  31282. "description": "文件名称",
  31283. "type": "string"
  31284. },
  31285. "operatetime": {
  31286. "description": "操作时间",
  31287. "type": "string"
  31288. },
  31289. "operatoraccount": {
  31290. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31291. "type": "string"
  31292. },
  31293. "operatorid": {
  31294. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31295. "type": "integer"
  31296. },
  31297. "operatorsrc": {
  31298. "description": "操作人来源 - 1:管理端 2:终端",
  31299. "type": "integer"
  31300. },
  31301. "orderfileid": {
  31302. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  31303. "type": "integer"
  31304. },
  31305. "orderid": {
  31306. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31307. "type": "integer"
  31308. }
  31309. }
  31310. },
  31311. "models.GzcjjcorderM": {
  31312. "type": "object",
  31313. "required": [
  31314. "userid"
  31315. ],
  31316. "properties": {
  31317. "accountid": {
  31318. "description": "资金账户ID",
  31319. "type": "integer"
  31320. },
  31321. "addresscn": {
  31322. "description": "地址(中文)",
  31323. "type": "string"
  31324. },
  31325. "addressen": {
  31326. "description": "地址(英文)",
  31327. "type": "string"
  31328. },
  31329. "advanceamount": {
  31330. "description": "总预付款",
  31331. "type": "number"
  31332. },
  31333. "colorrange": {
  31334. "description": "颜色范围",
  31335. "type": "string"
  31336. },
  31337. "companynamecn": {
  31338. "description": "公司名称(中文)",
  31339. "type": "string"
  31340. },
  31341. "companynameen": {
  31342. "description": "公司名称(英文)",
  31343. "type": "string"
  31344. },
  31345. "contactname": {
  31346. "description": "联系人姓名",
  31347. "type": "string"
  31348. },
  31349. "contactphoneno": {
  31350. "description": "联系人电话",
  31351. "type": "string"
  31352. },
  31353. "contactposition": {
  31354. "description": "联系人职位",
  31355. "type": "string"
  31356. },
  31357. "createtime": {
  31358. "description": "创建时间",
  31359. "type": "string"
  31360. },
  31361. "email": {
  31362. "description": "邮箱",
  31363. "type": "string"
  31364. },
  31365. "executestatus": {
  31366. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  31367. "type": "integer"
  31368. },
  31369. "gzcjaccount": {
  31370. "description": "送检账户",
  31371. "type": "string"
  31372. },
  31373. "gzcjaccounttype": {
  31374. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  31375. "type": "integer"
  31376. },
  31377. "gzcjcategorytype": {
  31378. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  31379. "type": "integer"
  31380. },
  31381. "gzcjcategorytypedisplay": {
  31382. "description": "货物品类",
  31383. "type": "string"
  31384. },
  31385. "gzcjdeliverytype": {
  31386. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  31387. "type": "integer"
  31388. },
  31389. "gzcjdeliverytypedisplay": {
  31390. "description": "收货方式",
  31391. "type": "string"
  31392. },
  31393. "gzcjstatus": {
  31394. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  31395. "type": "integer"
  31396. },
  31397. "gzcjstatusdisplay": {
  31398. "description": "单据状态(出境检测)",
  31399. "type": "string"
  31400. },
  31401. "handlestatus": {
  31402. "description": "处理状态",
  31403. "type": "integer"
  31404. },
  31405. "invoiceremark": {
  31406. "description": "复核备注 - 发票装箱单使用",
  31407. "type": "string"
  31408. },
  31409. "orderid": {
  31410. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31411. "type": "integer"
  31412. },
  31413. "orderno": {
  31414. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  31415. "type": "string"
  31416. },
  31417. "ordersn": {
  31418. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31419. "type": "string"
  31420. },
  31421. "origincountry": {
  31422. "description": "原产国",
  31423. "type": "string"
  31424. },
  31425. "processingcountry": {
  31426. "description": "成品钻石加工国",
  31427. "type": "string"
  31428. },
  31429. "realservicefee": {
  31430. "description": "应收综合服务费",
  31431. "type": "number"
  31432. },
  31433. "servicefeesum": {
  31434. "description": "汇总综合服务费 - 明细上值汇总",
  31435. "type": "number"
  31436. },
  31437. "settleamount": {
  31438. "description": "总结算费用",
  31439. "type": "number"
  31440. },
  31441. "shaperange": {
  31442. "description": "形状范围",
  31443. "type": "string"
  31444. },
  31445. "totalamount": {
  31446. "description": "总金额(美元)",
  31447. "type": "number"
  31448. },
  31449. "totalgrossweight": {
  31450. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  31451. "type": "number"
  31452. },
  31453. "totalnumber": {
  31454. "description": "总粒数",
  31455. "type": "integer"
  31456. },
  31457. "totalweight": {
  31458. "description": "总克拉数(保留3位小数)",
  31459. "type": "number"
  31460. },
  31461. "totalweightgm": {
  31462. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  31463. "type": "number"
  31464. },
  31465. "userid": {
  31466. "description": "用户ID",
  31467. "type": "integer"
  31468. },
  31469. "weightrange": {
  31470. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  31471. "type": "string"
  31472. },
  31473. "zsorigin": {
  31474. "description": "天然钻石毛坯原产地",
  31475. "type": "string"
  31476. }
  31477. }
  31478. },
  31479. "models.GzcjjcorderdetailM": {
  31480. "type": "object",
  31481. "properties": {
  31482. "amount": {
  31483. "description": "参考货值(USD)",
  31484. "type": "number"
  31485. },
  31486. "colorinfo": {
  31487. "description": "彩钻信息",
  31488. "type": "string"
  31489. },
  31490. "createtime": {
  31491. "description": "创建时间",
  31492. "type": "string"
  31493. },
  31494. "gzcjmarktype": {
  31495. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  31496. "type": "integer"
  31497. },
  31498. "gzcjpublishtype": {
  31499. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  31500. "type": "integer"
  31501. },
  31502. "gzcjpublishtypestring": {
  31503. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  31504. "type": "string"
  31505. },
  31506. "gzcjservicetype": {
  31507. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  31508. "type": "integer"
  31509. },
  31510. "gzcjservicetypestring": {
  31511. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  31512. "type": "string"
  31513. },
  31514. "gzcjshapetype": {
  31515. "description": "形状 - 枚举\"GZCJShapeType\"",
  31516. "type": "integer"
  31517. },
  31518. "gzcjshapetypestring": {
  31519. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  31520. "type": "string"
  31521. },
  31522. "gzno": {
  31523. "description": "货物编号",
  31524. "type": "string"
  31525. },
  31526. "orderdetailid": {
  31527. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  31528. "type": "integer"
  31529. },
  31530. "orderid": {
  31531. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  31532. "type": "integer"
  31533. },
  31534. "orderindex": {
  31535. "description": "顺序",
  31536. "type": "integer"
  31537. },
  31538. "origincertno": {
  31539. "description": "原证书号【送检账户为“广钻账户”】",
  31540. "type": "string"
  31541. },
  31542. "remark": {
  31543. "description": "备注(其它)",
  31544. "type": "string"
  31545. },
  31546. "servicefee": {
  31547. "description": "综合服务费 - 根据市场配置计算",
  31548. "type": "number"
  31549. },
  31550. "weight": {
  31551. "description": "重量(CT)",
  31552. "type": "number"
  31553. }
  31554. }
  31555. },
  31556. "models.Gzrapaportprice": {
  31557. "type": "object",
  31558. "properties": {
  31559. "dollar": {
  31560. "description": "美元",
  31561. "type": "string"
  31562. },
  31563. "rmb": {
  31564. "description": "人民币",
  31565. "type": "string"
  31566. }
  31567. }
  31568. },
  31569. "models.Hedgeinnerholderdetail": {
  31570. "type": "object",
  31571. "required": [
  31572. "buyorsell",
  31573. "tradeid"
  31574. ],
  31575. "properties": {
  31576. "accountid": {
  31577. "description": "账号ID",
  31578. "type": "integer"
  31579. },
  31580. "buyorsell": {
  31581. "description": "方向 - 0:买 1:卖",
  31582. "type": "integer"
  31583. },
  31584. "freezeqty": {
  31585. "description": "冻结数量 - 按单平使用",
  31586. "type": "integer"
  31587. },
  31588. "goodsid": {
  31589. "description": "商品ID",
  31590. "type": "integer"
  31591. },
  31592. "holderamount": {
  31593. "description": "持仓金额 [商品币种]",
  31594. "type": "number"
  31595. },
  31596. "holderdays": {
  31597. "description": "剩余冻结天数",
  31598. "type": "integer"
  31599. },
  31600. "holderprice": {
  31601. "description": "持仓价格",
  31602. "type": "number"
  31603. },
  31604. "holderqty": {
  31605. "description": "持仓数量",
  31606. "type": "integer"
  31607. },
  31608. "marketid": {
  31609. "description": "市场ID",
  31610. "type": "integer"
  31611. },
  31612. "openprice": {
  31613. "description": "建仓价格",
  31614. "type": "number"
  31615. },
  31616. "openqty": {
  31617. "description": "建仓数量",
  31618. "type": "integer"
  31619. },
  31620. "parentaccountid": {
  31621. "description": "所属母账户",
  31622. "type": "integer"
  31623. },
  31624. "releaseamount": {
  31625. "description": "释放持仓金额[商品币种]",
  31626. "type": "number"
  31627. },
  31628. "tradeamount": {
  31629. "description": "成交金额[账户]",
  31630. "type": "number"
  31631. },
  31632. "tradedate": {
  31633. "description": "交易日(yyyyMMdd)",
  31634. "type": "string"
  31635. },
  31636. "tradeid": {
  31637. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  31638. "type": "string"
  31639. },
  31640. "tradetime": {
  31641. "description": "交易时间",
  31642. "type": "string"
  31643. }
  31644. }
  31645. },
  31646. "models.Hedgemarketopenlog": {
  31647. "type": "object",
  31648. "required": [
  31649. "accountid"
  31650. ],
  31651. "properties": {
  31652. "accountid": {
  31653. "description": "资金账号[外部母账户]",
  31654. "type": "integer"
  31655. },
  31656. "fcname": {
  31657. "description": "期货公司名称",
  31658. "type": "string"
  31659. },
  31660. "handlestatus": {
  31661. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  31662. "type": "integer"
  31663. },
  31664. "marketid": {
  31665. "description": "市场ID",
  31666. "type": "integer"
  31667. },
  31668. "status": {
  31669. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  31670. "type": "integer"
  31671. },
  31672. "tradedate": {
  31673. "description": "交易日(yyyyMMdd)",
  31674. "type": "string"
  31675. },
  31676. "updatetime": {
  31677. "description": "更新时间",
  31678. "type": "string"
  31679. }
  31680. }
  31681. },
  31682. "models.InternalEnableTradeDetail": {
  31683. "type": "object",
  31684. "required": [
  31685. "areauserid",
  31686. "goodsid",
  31687. "tradeuserid"
  31688. ],
  31689. "properties": {
  31690. "agreeunit": {
  31691. "description": "合约乘数",
  31692. "type": "number"
  31693. },
  31694. "areauserid": {
  31695. "description": "企业ID",
  31696. "type": "integer"
  31697. },
  31698. "convertratio": {
  31699. "description": "品种系数",
  31700. "type": "number"
  31701. },
  31702. "deliverygoodscode": {
  31703. "description": "现货品种代码",
  31704. "type": "string"
  31705. },
  31706. "deliverygoodsid": {
  31707. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  31708. "type": "integer"
  31709. },
  31710. "deliverygoodsname": {
  31711. "description": "现货品种名称",
  31712. "type": "string"
  31713. },
  31714. "futurehedgeqty": {
  31715. "description": "[已关联数量]期货持仓套期量",
  31716. "type": "number"
  31717. },
  31718. "goodsid": {
  31719. "description": "期货合约ID",
  31720. "type": "integer"
  31721. },
  31722. "hedgeditemid": {
  31723. "description": "被套期项目ID",
  31724. "type": "string"
  31725. },
  31726. "hedgeditemnum": {
  31727. "description": "项目编号",
  31728. "type": "string"
  31729. },
  31730. "tradeuserid": {
  31731. "description": "交易用户ID",
  31732. "type": "integer"
  31733. },
  31734. "unexehedgeqty": {
  31735. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  31736. "type": "number"
  31737. },
  31738. "unexespotqty": {
  31739. "description": "未执行现货量",
  31740. "type": "number"
  31741. },
  31742. "wrstandardcode": {
  31743. "description": "现货品类代码",
  31744. "type": "string"
  31745. },
  31746. "wrstandardid": {
  31747. "description": "现货品类ID(SEQ_WRSTANDARD)",
  31748. "type": "integer"
  31749. },
  31750. "wrstandardname": {
  31751. "description": "现货品类名称",
  31752. "type": "string"
  31753. }
  31754. }
  31755. },
  31756. "models.InternalUncorrelatedTradeDetail": {
  31757. "type": "object",
  31758. "properties": {
  31759. "accountid": {
  31760. "description": "账号ID",
  31761. "type": "integer"
  31762. },
  31763. "accountname": {
  31764. "description": "套期主体",
  31765. "type": "string"
  31766. },
  31767. "agreeunit": {
  31768. "description": "合约乘数",
  31769. "type": "number"
  31770. },
  31771. "areauserid": {
  31772. "description": "所属机构",
  31773. "type": "integer"
  31774. },
  31775. "bizsubjectid": {
  31776. "description": "归属业务部门ID - SubjectID",
  31777. "type": "integer"
  31778. },
  31779. "buyorsell": {
  31780. "description": "方向 - 0:买 1:卖",
  31781. "type": "integer"
  31782. },
  31783. "channelbuildtype": {
  31784. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  31785. "type": "integer"
  31786. },
  31787. "convertratio": {
  31788. "description": "品种系数",
  31789. "type": "number"
  31790. },
  31791. "createtime": {
  31792. "description": "创建时间",
  31793. "type": "string"
  31794. },
  31795. "creatorid": {
  31796. "description": "创建人ID",
  31797. "type": "integer"
  31798. },
  31799. "creatorsrc": {
  31800. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  31801. "type": "integer"
  31802. },
  31803. "enableqty": {
  31804. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  31805. "type": "number"
  31806. },
  31807. "enumdicname": {
  31808. "description": "单位",
  31809. "type": "string"
  31810. },
  31811. "goodscode": {
  31812. "description": "合约代码",
  31813. "type": "string"
  31814. },
  31815. "goodsgroupid": {
  31816. "description": "对冲品种ID[期货合约商品组ID]",
  31817. "type": "integer"
  31818. },
  31819. "goodsid": {
  31820. "description": "商品ID",
  31821. "type": "integer"
  31822. },
  31823. "goodsname": {
  31824. "description": "合约名称",
  31825. "type": "string"
  31826. },
  31827. "hedgeditemid": {
  31828. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  31829. "type": "integer"
  31830. },
  31831. "hedgeflag": {
  31832. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  31833. "type": "integer"
  31834. },
  31835. "linkdetailid": {
  31836. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  31837. "type": "string"
  31838. },
  31839. "linkstatus": {
  31840. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  31841. "type": "integer"
  31842. },
  31843. "middlegoodsid": {
  31844. "description": "套保品种ID",
  31845. "type": "integer"
  31846. },
  31847. "middlegoodsqty": {
  31848. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  31849. "type": "number"
  31850. },
  31851. "relatedlot": {
  31852. "description": "[数量]关联手数",
  31853. "type": "number"
  31854. },
  31855. "relatedmode": {
  31856. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  31857. "type": "integer"
  31858. },
  31859. "relatedqty": {
  31860. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  31861. "type": "number"
  31862. },
  31863. "retcode": {
  31864. "description": "返回码",
  31865. "type": "integer"
  31866. },
  31867. "saleuserid": {
  31868. "description": "业务员ID",
  31869. "type": "integer"
  31870. },
  31871. "tradedate": {
  31872. "description": "关联交易日(yyyyMMdd)",
  31873. "type": "string"
  31874. },
  31875. "tradeid": {
  31876. "description": "成交单号",
  31877. "type": "string"
  31878. },
  31879. "tradelot": {
  31880. "description": "成交手数",
  31881. "type": "integer"
  31882. },
  31883. "tradeprice": {
  31884. "description": "成交价",
  31885. "type": "number"
  31886. },
  31887. "tradetime": {
  31888. "description": "成交时间",
  31889. "type": "string"
  31890. },
  31891. "tradetradedate": {
  31892. "description": "成交交易日(yyyyMMdd)",
  31893. "type": "string"
  31894. },
  31895. "tradeuserid": {
  31896. "description": "交易用户ID",
  31897. "type": "integer"
  31898. }
  31899. }
  31900. },
  31901. "models.Loginaccount": {
  31902. "type": "object",
  31903. "required": [
  31904. "loginid"
  31905. ],
  31906. "properties": {
  31907. "accountname": {
  31908. "description": "账户名称",
  31909. "type": "string"
  31910. },
  31911. "canoutin": {
  31912. "description": "是否可出入金 - 0:不可 1:可",
  31913. "type": "integer"
  31914. },
  31915. "clientroleid": {
  31916. "description": "终端角色ID",
  31917. "type": "integer"
  31918. },
  31919. "haslogined": {
  31920. "description": "是否已登录 - 0:未登录 1:已登录",
  31921. "type": "integer"
  31922. },
  31923. "hasupdatedpwd": {
  31924. "description": "是否已更改密码 - 0:未修改 1:已修改",
  31925. "type": "integer"
  31926. },
  31927. "lastloginip": {
  31928. "description": "最新登录地址",
  31929. "type": "string"
  31930. },
  31931. "lastloginmode": {
  31932. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  31933. "type": "integer"
  31934. },
  31935. "lastloginremark": {
  31936. "description": "最新登录描述",
  31937. "type": "string"
  31938. },
  31939. "lastlogintime": {
  31940. "description": "最新登录时间",
  31941. "type": "string"
  31942. },
  31943. "logincode": {
  31944. "description": "登录代码",
  31945. "type": "string"
  31946. },
  31947. "loginfailnum": {
  31948. "description": "连续登录失败次数(登录成功时清零)",
  31949. "type": "integer"
  31950. },
  31951. "loginid": {
  31952. "description": "登陆账号",
  31953. "type": "integer"
  31954. },
  31955. "loginport": {
  31956. "description": "最新登录端口",
  31957. "type": "integer"
  31958. },
  31959. "loginstatus": {
  31960. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  31961. "type": "integer"
  31962. },
  31963. "loginusertype": {
  31964. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  31965. "type": "integer"
  31966. },
  31967. "mobile": {
  31968. "description": "手机号码(加密存储)",
  31969. "type": "string"
  31970. },
  31971. "modifierid": {
  31972. "description": "修改人",
  31973. "type": "integer"
  31974. },
  31975. "modifysrc": {
  31976. "description": "审核来源 - 1:管理端 2:终端",
  31977. "type": "integer"
  31978. },
  31979. "modifytime": {
  31980. "description": "修改时间",
  31981. "type": "string"
  31982. },
  31983. "pwdwrongcount": {
  31984. "description": "密码错误次数",
  31985. "type": "integer"
  31986. },
  31987. "relateduserid": {
  31988. "description": "关联用户ID(机构)",
  31989. "type": "integer"
  31990. },
  31991. "taaccountrighttype": {
  31992. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  31993. "type": "integer"
  31994. },
  31995. "unfreezetime": {
  31996. "description": "账户解冻时间",
  31997. "type": "string"
  31998. },
  31999. "userid": {
  32000. "description": "用户ID",
  32001. "type": "integer"
  32002. }
  32003. }
  32004. },
  32005. "models.MainAccountInfo": {
  32006. "type": "object",
  32007. "properties": {
  32008. "accountid": {
  32009. "description": "账号id",
  32010. "type": "integer"
  32011. },
  32012. "accountname": {
  32013. "description": "账号名称(taaccount表中的名称)",
  32014. "type": "string"
  32015. },
  32016. "appid": {
  32017. "description": "AppID",
  32018. "type": "string"
  32019. },
  32020. "authcode": {
  32021. "description": "授权码",
  32022. "type": "string"
  32023. },
  32024. "brokerid": {
  32025. "description": "经纪商id",
  32026. "type": "string"
  32027. },
  32028. "fcid": {
  32029. "description": "期货公司id",
  32030. "type": "integer"
  32031. },
  32032. "fcname": {
  32033. "description": "期货公司代码",
  32034. "type": "string"
  32035. },
  32036. "hedgeaccountcode": {
  32037. "description": "外部账号代码(主账号登录代码)",
  32038. "type": "string"
  32039. },
  32040. "hedgeaccountpwd": {
  32041. "description": "密码",
  32042. "type": "string"
  32043. },
  32044. "ismain": {
  32045. "description": "是否主账号",
  32046. "type": "integer"
  32047. },
  32048. "relateduserid": {
  32049. "description": "关联用户id",
  32050. "type": "integer"
  32051. },
  32052. "userid": {
  32053. "description": "关联用户id",
  32054. "type": "integer"
  32055. }
  32056. }
  32057. },
  32058. "models.Market": {
  32059. "type": "object",
  32060. "required": [
  32061. "marketid",
  32062. "marketstatus",
  32063. "openmethod",
  32064. "reckonpricealgorithm",
  32065. "trademode",
  32066. "tradeproperty"
  32067. ],
  32068. "properties": {
  32069. "auctionwrtype": {
  32070. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  32071. "type": "integer"
  32072. },
  32073. "canacceptquote": {
  32074. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32075. "type": "integer"
  32076. },
  32077. "cangoodsexercise": {
  32078. "description": "[期权]是否可现货行权- 0:否 1:是",
  32079. "type": "integer"
  32080. },
  32081. "cangoodsexercisetype": {
  32082. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32083. "type": "integer"
  32084. },
  32085. "canmanualquotestrike": {
  32086. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32087. "type": "integer"
  32088. },
  32089. "canmutistage": {
  32090. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32091. "type": "integer"
  32092. },
  32093. "canpreexercise": {
  32094. "description": "[期权]是否可预申报- 0:否 1:是",
  32095. "type": "integer"
  32096. },
  32097. "clearinterval": {
  32098. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32099. "type": "integer"
  32100. },
  32101. "contracttmp": {
  32102. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32103. "type": "string"
  32104. },
  32105. "exchareaid": {
  32106. "description": "所属交易所,可以没有",
  32107. "type": "integer"
  32108. },
  32109. "goodstype": {
  32110. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32111. "type": "integer"
  32112. },
  32113. "hasrebate": {
  32114. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32115. "type": "integer"
  32116. },
  32117. "hastradecredit": {
  32118. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32119. "type": "integer"
  32120. },
  32121. "haswr": {
  32122. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32123. "type": "integer"
  32124. },
  32125. "isdeductmargin": {
  32126. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32127. "type": "integer"
  32128. },
  32129. "isrecordsource": {
  32130. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32131. "type": "integer"
  32132. },
  32133. "isreleasemargin": {
  32134. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32135. "type": "integer"
  32136. },
  32137. "marginformula": {
  32138. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32139. "type": "integer"
  32140. },
  32141. "marginformula2": {
  32142. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32143. "type": "integer"
  32144. },
  32145. "marketid": {
  32146. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32147. "type": "integer"
  32148. },
  32149. "marketname": {
  32150. "description": "市场名称",
  32151. "type": "string"
  32152. },
  32153. "marketserviceid": {
  32154. "description": "市场服务ID",
  32155. "type": "integer"
  32156. },
  32157. "marketstatus": {
  32158. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32159. "type": "integer"
  32160. },
  32161. "markettype": {
  32162. "description": "市场类型- 1:非交易服务 2:交易服务",
  32163. "type": "integer"
  32164. },
  32165. "matchermode": {
  32166. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  32167. "type": "integer"
  32168. },
  32169. "openmethod": {
  32170. "description": "开盘模式 - 0 自动 1手动",
  32171. "type": "integer"
  32172. },
  32173. "otcuserid": {
  32174. "description": "场外期权做市商[场外期权]",
  32175. "type": "integer"
  32176. },
  32177. "outersynctime": {
  32178. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32179. "type": "string"
  32180. },
  32181. "pendingflag": {
  32182. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32183. "type": "integer"
  32184. },
  32185. "pendingtime": {
  32186. "description": "待开市时间[通道交易-对冲](HH:mm)",
  32187. "type": "string"
  32188. },
  32189. "performancetempid": {
  32190. "description": "履约计划模板ID - 作废",
  32191. "type": "integer"
  32192. },
  32193. "premiumquotemode": {
  32194. "description": "权利金报价方式 - 1:自动 2:手动",
  32195. "type": "integer"
  32196. },
  32197. "rebateratio": {
  32198. "description": "返利比率[竞价式]",
  32199. "type": "number"
  32200. },
  32201. "reckonorder": {
  32202. "description": "结算顺序",
  32203. "type": "integer"
  32204. },
  32205. "reckonpricealgorithm": {
  32206. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  32207. "type": "integer"
  32208. },
  32209. "reckonpriceparam": {
  32210. "description": "结算价参数",
  32211. "type": "integer"
  32212. },
  32213. "reckontime": {
  32214. "description": "结算时间[通道交易-对冲](HH:mm)",
  32215. "type": "string"
  32216. },
  32217. "roleprioritytype": {
  32218. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  32219. "type": "integer"
  32220. },
  32221. "selllistingauditflag": {
  32222. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  32223. "type": "integer"
  32224. },
  32225. "trademarkettype": {
  32226. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  32227. "type": "integer"
  32228. },
  32229. "trademode": {
  32230. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  32231. "type": "integer"
  32232. },
  32233. "tradeproperty": {
  32234. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  32235. "type": "integer"
  32236. },
  32237. "tradetype": {
  32238. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  32239. "type": "integer"
  32240. }
  32241. }
  32242. },
  32243. "models.Marketcalendar": {
  32244. "type": "object",
  32245. "properties": {
  32246. "holidaydate": {
  32247. "description": "节假日期(yyyy-MM-dd)",
  32248. "type": "string"
  32249. },
  32250. "marketid": {
  32251. "description": "市场ID",
  32252. "type": "integer"
  32253. }
  32254. }
  32255. },
  32256. "models.Marketrun": {
  32257. "type": "object",
  32258. "required": [
  32259. "marketid",
  32260. "nexttradedate",
  32261. "reckonflag",
  32262. "runstatus",
  32263. "tradedate",
  32264. "tradedate2"
  32265. ],
  32266. "properties": {
  32267. "afternexttradedate": {
  32268. "description": "下下交易日",
  32269. "type": "string"
  32270. },
  32271. "clearquoteflag": {
  32272. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  32273. "type": "integer"
  32274. },
  32275. "lastreckondate": {
  32276. "description": "最新交易日(结算成功)",
  32277. "type": "string"
  32278. },
  32279. "machinedate": {
  32280. "description": "机器时间",
  32281. "type": "string"
  32282. },
  32283. "manualflag": {
  32284. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  32285. "type": "integer"
  32286. },
  32287. "marketid": {
  32288. "description": "市场ID",
  32289. "type": "integer"
  32290. },
  32291. "nexttradedate": {
  32292. "description": "下一交易日",
  32293. "type": "string"
  32294. },
  32295. "pretradedate": {
  32296. "description": "上一交易日",
  32297. "type": "string"
  32298. },
  32299. "reckonflag": {
  32300. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  32301. "type": "integer"
  32302. },
  32303. "runstatus": {
  32304. "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.今日免清算",
  32305. "type": "integer"
  32306. },
  32307. "sectionid": {
  32308. "description": "时间段号[多时段时用]",
  32309. "type": "integer"
  32310. },
  32311. "tradedate": {
  32312. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  32313. "type": "string"
  32314. },
  32315. "tradedate2": {
  32316. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  32317. "type": "string"
  32318. },
  32319. "updatetime": {
  32320. "description": "更新时间",
  32321. "type": "string"
  32322. }
  32323. }
  32324. },
  32325. "models.Messageboard": {
  32326. "type": "object",
  32327. "required": [
  32328. "messageboardid"
  32329. ],
  32330. "properties": {
  32331. "contactnum": {
  32332. "description": "联系电话",
  32333. "type": "string"
  32334. },
  32335. "createtime": {
  32336. "description": "创建时间",
  32337. "type": "string"
  32338. },
  32339. "message": {
  32340. "description": "留言信息",
  32341. "type": "string"
  32342. },
  32343. "messageboardid": {
  32344. "description": "留言簿ID(SEQ_MessageBoard)",
  32345. "type": "integer"
  32346. },
  32347. "userid": {
  32348. "description": "用户ID",
  32349. "type": "integer"
  32350. }
  32351. }
  32352. },
  32353. "models.MyBargainApply": {
  32354. "type": "object",
  32355. "required": [
  32356. "userid"
  32357. ],
  32358. "properties": {
  32359. "accountid": {
  32360. "description": "摘牌资金账号",
  32361. "type": "integer"
  32362. },
  32363. "applyprice": {
  32364. "description": "申请价格",
  32365. "type": "string"
  32366. },
  32367. "applyremark": {
  32368. "description": "申请备注",
  32369. "type": "string"
  32370. },
  32371. "applystatus": {
  32372. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32373. "type": "integer"
  32374. },
  32375. "applytime": {
  32376. "description": "申请时间",
  32377. "type": "string"
  32378. },
  32379. "buyorsell": {
  32380. "description": "买卖 - 0:买 1:卖",
  32381. "type": "integer"
  32382. },
  32383. "buyusername": {
  32384. "description": "买方",
  32385. "type": "string"
  32386. },
  32387. "confirmprice": {
  32388. "description": "可接受价格(拒绝时填写)-作废",
  32389. "type": "number"
  32390. },
  32391. "confirmqty": {
  32392. "description": "可接受数量(拒绝时填写)-作废",
  32393. "type": "integer"
  32394. },
  32395. "confirmremark": {
  32396. "description": "确认备注",
  32397. "type": "string"
  32398. },
  32399. "confirmtime": {
  32400. "description": "确认时间",
  32401. "type": "string"
  32402. },
  32403. "confirmuserid": {
  32404. "description": "确认人",
  32405. "type": "integer"
  32406. },
  32407. "goodsno": {
  32408. "description": "商品编号",
  32409. "type": "string"
  32410. },
  32411. "handlestatus": {
  32412. "description": "处理状态",
  32413. "type": "integer"
  32414. },
  32415. "ladingbillid": {
  32416. "description": "摘牌方提单ID [卖]",
  32417. "type": "integer"
  32418. },
  32419. "marketid": {
  32420. "description": "市场ID",
  32421. "type": "integer"
  32422. },
  32423. "matchaccountid": {
  32424. "description": "挂牌方资金账号",
  32425. "type": "integer"
  32426. },
  32427. "matchuserid": {
  32428. "description": "挂牌方用户ID",
  32429. "type": "integer"
  32430. },
  32431. "performancetemplateid": {
  32432. "description": "履约计划模板ID",
  32433. "type": "integer"
  32434. },
  32435. "price": {
  32436. "description": "价格",
  32437. "type": "number"
  32438. },
  32439. "priceper": {
  32440. "description": "克拉单价 - 类型:1,2,3,5",
  32441. "type": "string"
  32442. },
  32443. "qty": {
  32444. "description": "申请数量",
  32445. "type": "number"
  32446. },
  32447. "refprice": {
  32448. "description": "参考价格",
  32449. "type": "string"
  32450. },
  32451. "retcode": {
  32452. "description": "委托返回代码",
  32453. "type": "integer"
  32454. },
  32455. "sellusername": {
  32456. "description": "卖方",
  32457. "type": "string"
  32458. },
  32459. "sizedisplay": {
  32460. "description": "尺寸",
  32461. "type": "string"
  32462. },
  32463. "subnum": {
  32464. "description": "摘牌方提单子单号 [卖]",
  32465. "type": "integer"
  32466. },
  32467. "tradedate": {
  32468. "description": "交易日(yyyyMMdd)",
  32469. "type": "string"
  32470. },
  32471. "userid": {
  32472. "description": "摘牌人用户ID",
  32473. "type": "integer"
  32474. },
  32475. "warehousenamedisplay": {
  32476. "type": "string"
  32477. },
  32478. "wrbargainid": {
  32479. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  32480. "type": "string"
  32481. },
  32482. "wrtradeorderid": {
  32483. "description": "关联委托单ID",
  32484. "type": "string"
  32485. },
  32486. "zscerttypedisplay": {
  32487. "type": "string"
  32488. },
  32489. "zsclaritytype1display": {
  32490. "type": "string"
  32491. },
  32492. "zsclaritytype2display": {
  32493. "type": "string"
  32494. },
  32495. "zscolortype1display": {
  32496. "type": "string"
  32497. },
  32498. "zscolortype2display": {
  32499. "type": "string"
  32500. },
  32501. "zscrystaltypedisplay": {
  32502. "type": "string"
  32503. },
  32504. "zscurrencytypedisplay": {
  32505. "type": "string"
  32506. },
  32507. "zscurrencytypedisplayunit": {
  32508. "type": "string"
  32509. },
  32510. "zscuttype1display": {
  32511. "type": "string"
  32512. },
  32513. "zscuttype2display": {
  32514. "type": "string"
  32515. },
  32516. "zsczcolor1typedisplay": {
  32517. "type": "string"
  32518. },
  32519. "zsczcolor2typedisplay": {
  32520. "type": "string"
  32521. },
  32522. "zsczcolor3typedisplay": {
  32523. "type": "string"
  32524. },
  32525. "zsfluorescencetype1display": {
  32526. "type": "string"
  32527. },
  32528. "zsfluorescencetype2display": {
  32529. "type": "string"
  32530. },
  32531. "zspolishtype1display": {
  32532. "type": "string"
  32533. },
  32534. "zspolishtype2display": {
  32535. "type": "string"
  32536. },
  32537. "zsshapetypedisplay": {
  32538. "type": "string"
  32539. },
  32540. "zsstyletypedisplay": {
  32541. "type": "string"
  32542. },
  32543. "zssymmetrytype1display": {
  32544. "type": "string"
  32545. },
  32546. "zssymmetrytype2display": {
  32547. "type": "string"
  32548. }
  32549. }
  32550. },
  32551. "models.MyBuyOrder": {
  32552. "type": "object",
  32553. "required": [
  32554. "userid"
  32555. ],
  32556. "properties": {
  32557. "accountid": {
  32558. "description": "资金账户ID",
  32559. "type": "integer"
  32560. },
  32561. "marketid": {
  32562. "description": "市场ID",
  32563. "type": "integer"
  32564. },
  32565. "ordertime": {
  32566. "description": "委托时间",
  32567. "type": "string"
  32568. },
  32569. "origin": {
  32570. "description": "原产地",
  32571. "type": "string"
  32572. },
  32573. "performancetemplateid": {
  32574. "description": "履约计划模板ID",
  32575. "type": "integer"
  32576. },
  32577. "remark": {
  32578. "description": "备注",
  32579. "type": "string"
  32580. },
  32581. "userid": {
  32582. "description": "用户ID",
  32583. "type": "integer"
  32584. },
  32585. "validtime": {
  32586. "description": "有效期限",
  32587. "type": "string"
  32588. },
  32589. "warehouseids": {
  32590. "description": "仓库ID - 多个, 逗号分隔",
  32591. "type": "string"
  32592. },
  32593. "warehouseinfosdisplay": {
  32594. "type": "string"
  32595. },
  32596. "wrtradeorderid": {
  32597. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  32598. "type": "string"
  32599. },
  32600. "wrtradeorderstatus": {
  32601. "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、",
  32602. "type": "integer"
  32603. },
  32604. "zscategory": {
  32605. "description": "钻石分类 - 枚举”ZSCategory“",
  32606. "type": "integer"
  32607. },
  32608. "zscategorydisplay": {
  32609. "type": "string"
  32610. },
  32611. "zsclaritytype": {
  32612. "description": "净度 - 两个, 逗号分隔",
  32613. "type": "string"
  32614. },
  32615. "zsclaritytypedisplay": {
  32616. "type": "string"
  32617. },
  32618. "zscolortype": {
  32619. "description": "颜色 - 两个, 逗号分隔",
  32620. "type": "string"
  32621. },
  32622. "zscolortypedisplay": {
  32623. "type": "string"
  32624. },
  32625. "zscrystaltype": {
  32626. "description": "晶型 - 多个,逗号分隔",
  32627. "type": "string"
  32628. },
  32629. "zscrystaltypedisplay": {
  32630. "type": "string"
  32631. },
  32632. "zscurrencytype": {
  32633. "description": "货币类型 - 多个, 逗号分隔",
  32634. "type": "string"
  32635. },
  32636. "zscurrencytypedisplay": {
  32637. "type": "string"
  32638. },
  32639. "zscuttype": {
  32640. "description": "切工 - 两个, 逗号分隔",
  32641. "type": "string"
  32642. },
  32643. "zscuttypedisplay": {
  32644. "type": "string"
  32645. },
  32646. "zsczcolor1type": {
  32647. "description": "彩钻颜色1, 逗号分隔",
  32648. "type": "string"
  32649. },
  32650. "zsczcolor1typedisplay": {
  32651. "type": "string"
  32652. },
  32653. "zsczcolor2type": {
  32654. "description": "彩钻颜色2, 逗号分隔",
  32655. "type": "string"
  32656. },
  32657. "zsczcolor2typedisplay": {
  32658. "type": "string"
  32659. },
  32660. "zsczcolor3type": {
  32661. "description": "彩钻颜色3, 逗号分隔",
  32662. "type": "string"
  32663. },
  32664. "zsczcolor3typedisplay": {
  32665. "type": "string"
  32666. },
  32667. "zsfluorescencetype": {
  32668. "description": "荧光 - 多个, 逗号分隔",
  32669. "type": "string"
  32670. },
  32671. "zsfluorescencetypedisplay": {
  32672. "type": "string"
  32673. },
  32674. "zspolishtype": {
  32675. "description": "抛光度 - 两个, 逗号分隔",
  32676. "type": "string"
  32677. },
  32678. "zspolishtypedisplay": {
  32679. "type": "string"
  32680. },
  32681. "zsshapetype": {
  32682. "description": "形状 - 多个, 逗号分隔",
  32683. "type": "string"
  32684. },
  32685. "zsshapetypedisplay": {
  32686. "type": "string"
  32687. },
  32688. "zssize": {
  32689. "description": "尺寸 - 两个小数, 逗号分隔",
  32690. "type": "string"
  32691. },
  32692. "zsstyletype": {
  32693. "description": "款式 - 多个, 逗号分隔",
  32694. "type": "string"
  32695. },
  32696. "zsstyletypedisplay": {
  32697. "type": "string"
  32698. },
  32699. "zssymmetrytype": {
  32700. "description": "对称度 - 两个, 逗号分隔",
  32701. "type": "string"
  32702. },
  32703. "zssymmetrytypedisplay": {
  32704. "type": "string"
  32705. },
  32706. "zstabledisplay": {
  32707. "description": "求购信息",
  32708. "type": "string"
  32709. }
  32710. }
  32711. },
  32712. "models.MyDeListing": {
  32713. "type": "object",
  32714. "required": [
  32715. "userid"
  32716. ],
  32717. "properties": {
  32718. "buyaccountid": {
  32719. "description": "买方账号ID",
  32720. "type": "integer"
  32721. },
  32722. "buychargevalue": {
  32723. "description": "买方手续费",
  32724. "type": "number"
  32725. },
  32726. "buyuserid": {
  32727. "description": "买方用户ID",
  32728. "type": "integer"
  32729. },
  32730. "deliverygoodsid": {
  32731. "description": "现货品种ID",
  32732. "type": "integer"
  32733. },
  32734. "exchangerate": {
  32735. "description": "汇率",
  32736. "type": "number"
  32737. },
  32738. "goodsno": {
  32739. "description": "商品编号",
  32740. "type": "string"
  32741. },
  32742. "marketid": {
  32743. "description": "市场ID",
  32744. "type": "integer"
  32745. },
  32746. "matchusername": {
  32747. "description": "对手方",
  32748. "type": "string"
  32749. },
  32750. "oritradeamount": {
  32751. "description": "成交金额[商品币种]",
  32752. "type": "number"
  32753. },
  32754. "performanceplanid": {
  32755. "description": "履约计划ID/合同ID",
  32756. "type": "string"
  32757. },
  32758. "price": {
  32759. "description": "价格",
  32760. "type": "number"
  32761. },
  32762. "qty": {
  32763. "description": "成交重量",
  32764. "type": "number"
  32765. },
  32766. "sellaccountid": {
  32767. "description": "卖方账号ID",
  32768. "type": "integer"
  32769. },
  32770. "sellchargevalue": {
  32771. "description": "卖方手续费",
  32772. "type": "number"
  32773. },
  32774. "selluserid": {
  32775. "description": "卖方用户ID",
  32776. "type": "integer"
  32777. },
  32778. "sizedisplay": {
  32779. "description": "尺寸",
  32780. "type": "string"
  32781. },
  32782. "tradeamount": {
  32783. "description": "成交金额",
  32784. "type": "number"
  32785. },
  32786. "tradedate": {
  32787. "description": "交易日(yyyyMMdd)",
  32788. "type": "string"
  32789. },
  32790. "tradeprice": {
  32791. "description": "成交价格",
  32792. "type": "number"
  32793. },
  32794. "tradetime": {
  32795. "description": "成交时间",
  32796. "type": "string"
  32797. },
  32798. "userid": {
  32799. "description": "用户ID",
  32800. "type": "integer"
  32801. },
  32802. "warehousenamedisplay": {
  32803. "type": "string"
  32804. },
  32805. "wrfactortypeid": {
  32806. "description": "仓单要素类型ID",
  32807. "type": "integer"
  32808. },
  32809. "wrstandardid": {
  32810. "description": "现货商品ID",
  32811. "type": "integer"
  32812. },
  32813. "wrtradedetailid": {
  32814. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  32815. "type": "string"
  32816. },
  32817. "zscategory": {
  32818. "description": "钻石分类 - 枚举”ZSCategory“",
  32819. "type": "integer"
  32820. },
  32821. "zscategorydisplay": {
  32822. "type": "string"
  32823. },
  32824. "zscerttypedisplay": {
  32825. "type": "string"
  32826. },
  32827. "zsclaritytype1display": {
  32828. "type": "string"
  32829. },
  32830. "zsclaritytype2display": {
  32831. "type": "string"
  32832. },
  32833. "zscolortype1display": {
  32834. "type": "string"
  32835. },
  32836. "zscolortype2display": {
  32837. "type": "string"
  32838. },
  32839. "zscrystaltypedisplay": {
  32840. "type": "string"
  32841. },
  32842. "zscurrencytype": {
  32843. "description": "货币类型 - 枚举“ZSCurrencyType”",
  32844. "type": "integer"
  32845. },
  32846. "zscurrencytypedisplay": {
  32847. "type": "string"
  32848. },
  32849. "zscurrencytypedisplayunit": {
  32850. "type": "string"
  32851. },
  32852. "zscuttype1display": {
  32853. "type": "string"
  32854. },
  32855. "zscuttype2display": {
  32856. "type": "string"
  32857. },
  32858. "zsczcolor1typedisplay": {
  32859. "type": "string"
  32860. },
  32861. "zsczcolor2typedisplay": {
  32862. "type": "string"
  32863. },
  32864. "zsczcolor3typedisplay": {
  32865. "type": "string"
  32866. },
  32867. "zsfluorescencetype1display": {
  32868. "type": "string"
  32869. },
  32870. "zsfluorescencetype2display": {
  32871. "type": "string"
  32872. },
  32873. "zspolishtype1display": {
  32874. "type": "string"
  32875. },
  32876. "zspolishtype2display": {
  32877. "type": "string"
  32878. },
  32879. "zsshapetypedisplay": {
  32880. "type": "string"
  32881. },
  32882. "zsstyletypedisplay": {
  32883. "type": "string"
  32884. },
  32885. "zssymmetrytype1display": {
  32886. "type": "string"
  32887. },
  32888. "zssymmetrytype2display": {
  32889. "type": "string"
  32890. }
  32891. }
  32892. },
  32893. "models.MyDelistingApply": {
  32894. "type": "object",
  32895. "required": [
  32896. "selluserid"
  32897. ],
  32898. "properties": {
  32899. "applyprice": {
  32900. "description": "申请价格",
  32901. "type": "number"
  32902. },
  32903. "applyqty": {
  32904. "description": "申请数量",
  32905. "type": "number"
  32906. },
  32907. "applyremark": {
  32908. "description": "申请备注",
  32909. "type": "string"
  32910. },
  32911. "applystatus": {
  32912. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  32913. "type": "integer"
  32914. },
  32915. "applytime": {
  32916. "description": "申请时间",
  32917. "type": "string"
  32918. },
  32919. "auditremark": {
  32920. "description": "确认备注",
  32921. "type": "string"
  32922. },
  32923. "audittime": {
  32924. "description": "确认时间",
  32925. "type": "string"
  32926. },
  32927. "buyuserid": {
  32928. "description": "买方用户ID",
  32929. "type": "integer"
  32930. },
  32931. "buyusername": {
  32932. "description": "买方",
  32933. "type": "string"
  32934. },
  32935. "buywrtradeorderid": {
  32936. "description": "买委托单ID",
  32937. "type": "string"
  32938. },
  32939. "goodsno": {
  32940. "description": "商品编号",
  32941. "type": "string"
  32942. },
  32943. "ladingbillid": {
  32944. "description": "卖方提单ID",
  32945. "type": "string"
  32946. },
  32947. "marketid": {
  32948. "description": "市场ID",
  32949. "type": "integer"
  32950. },
  32951. "performancetemplateid": {
  32952. "description": "履约计划模板ID",
  32953. "type": "integer"
  32954. },
  32955. "price": {
  32956. "description": "价格",
  32957. "type": "number"
  32958. },
  32959. "sellaccountid": {
  32960. "description": "卖方账户ID",
  32961. "type": "integer"
  32962. },
  32963. "selldelistingapplyid": {
  32964. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  32965. "type": "string"
  32966. },
  32967. "selltradeorderid": {
  32968. "description": "卖方委托ID(买方确认成交后更新)",
  32969. "type": "string"
  32970. },
  32971. "selluserid": {
  32972. "description": "卖方用户ID",
  32973. "type": "integer"
  32974. },
  32975. "sellusername": {
  32976. "description": "卖方",
  32977. "type": "string"
  32978. },
  32979. "sizedisplay": {
  32980. "description": "尺寸",
  32981. "type": "string"
  32982. },
  32983. "subnum": {
  32984. "description": "卖方提单子单号",
  32985. "type": "integer"
  32986. },
  32987. "warehouseinfosdisplay": {
  32988. "type": "string"
  32989. },
  32990. "weight": {
  32991. "description": "克拉重量",
  32992. "type": "number"
  32993. },
  32994. "wrfactortypeid": {
  32995. "description": "仓单要素类型ID",
  32996. "type": "string"
  32997. },
  32998. "wrstandardid": {
  32999. "description": "现货商品ID",
  33000. "type": "integer"
  33001. },
  33002. "zsallproperties": {
  33003. "type": "string"
  33004. },
  33005. "zscategorydisplay": {
  33006. "type": "string"
  33007. },
  33008. "zsclaritytypedisplay": {
  33009. "type": "string"
  33010. },
  33011. "zscolortypedisplay": {
  33012. "type": "string"
  33013. },
  33014. "zscrystaltypedisplay": {
  33015. "type": "string"
  33016. },
  33017. "zscurrencytypedisplay": {
  33018. "type": "string"
  33019. },
  33020. "zscurrencytypedisplayunit": {
  33021. "description": "价格单位",
  33022. "type": "string"
  33023. },
  33024. "zscuttypedisplay": {
  33025. "type": "string"
  33026. },
  33027. "zsczcolor1typedisplay": {
  33028. "type": "string"
  33029. },
  33030. "zsczcolor2typedisplay": {
  33031. "type": "string"
  33032. },
  33033. "zsczcolor3typedisplay": {
  33034. "type": "string"
  33035. },
  33036. "zsfluorescencetypedisplay": {
  33037. "type": "string"
  33038. },
  33039. "zspolishtypedisplay": {
  33040. "type": "string"
  33041. },
  33042. "zsshapetypedisplay": {
  33043. "type": "string"
  33044. },
  33045. "zssizedisplay": {
  33046. "type": "string"
  33047. },
  33048. "zsstyletypedisplay": {
  33049. "type": "string"
  33050. },
  33051. "zssymmetrytypedisplay": {
  33052. "type": "string"
  33053. },
  33054. "zstabledisplay": {
  33055. "type": "string"
  33056. }
  33057. }
  33058. },
  33059. "models.MyFavorite": {
  33060. "type": "object",
  33061. "required": [
  33062. "userid"
  33063. ],
  33064. "properties": {
  33065. "accountname": {
  33066. "description": "账户名称(机构名称)",
  33067. "type": "string"
  33068. },
  33069. "buyorsell": {
  33070. "description": "买卖 - 0:买 1:卖",
  33071. "type": "integer"
  33072. },
  33073. "favoritestatus": {
  33074. "description": "收藏状态 - 1:正常 2:失效",
  33075. "type": "integer"
  33076. },
  33077. "goodsno": {
  33078. "description": "商品编号",
  33079. "type": "string"
  33080. },
  33081. "marketid": {
  33082. "description": "市场ID",
  33083. "type": "integer"
  33084. },
  33085. "marketprice": {
  33086. "description": "市场价",
  33087. "type": "string"
  33088. },
  33089. "price": {
  33090. "description": "价格",
  33091. "type": "number"
  33092. },
  33093. "priceper": {
  33094. "description": "克拉单价",
  33095. "type": "string"
  33096. },
  33097. "sellusername": {
  33098. "description": "卖家",
  33099. "type": "string"
  33100. },
  33101. "sizedisplay": {
  33102. "description": "尺寸",
  33103. "type": "string"
  33104. },
  33105. "userid": {
  33106. "description": "用户ID",
  33107. "type": "integer"
  33108. },
  33109. "warehousenamedisplay": {
  33110. "description": "仓库名称",
  33111. "type": "string"
  33112. },
  33113. "weight": {
  33114. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33115. "type": "number"
  33116. },
  33117. "weightavg": {
  33118. "description": "平均单颗重量 - 类型:1,3",
  33119. "type": "number"
  33120. },
  33121. "wrfactortypeid": {
  33122. "description": "仓单要素类型ID/商品ID(77)",
  33123. "type": "string"
  33124. },
  33125. "wrstandardid": {
  33126. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  33127. "type": "integer"
  33128. },
  33129. "wrtradeorderid": {
  33130. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33131. "type": "string"
  33132. },
  33133. "zscategory": {
  33134. "description": "钻石分类 - 枚举”ZSCategory“",
  33135. "type": "integer"
  33136. },
  33137. "zscategorydisplay": {
  33138. "type": "string"
  33139. },
  33140. "zscerttypedisplay": {
  33141. "type": "string"
  33142. },
  33143. "zsclaritytype1display": {
  33144. "type": "string"
  33145. },
  33146. "zsclaritytype2display": {
  33147. "type": "string"
  33148. },
  33149. "zscolortype1display": {
  33150. "type": "string"
  33151. },
  33152. "zscolortype2display": {
  33153. "type": "string"
  33154. },
  33155. "zscrystaltypedisplay": {
  33156. "type": "string"
  33157. },
  33158. "zscurrencytypedisplay": {
  33159. "type": "string"
  33160. },
  33161. "zscurrencytypedisplayunit": {
  33162. "type": "string"
  33163. },
  33164. "zscuttype1display": {
  33165. "type": "string"
  33166. },
  33167. "zscuttype2display": {
  33168. "type": "string"
  33169. },
  33170. "zsczcolor1typedisplay": {
  33171. "type": "string"
  33172. },
  33173. "zsczcolor2typedisplay": {
  33174. "type": "string"
  33175. },
  33176. "zsczcolor3typedisplay": {
  33177. "type": "string"
  33178. },
  33179. "zsfluorescencetype1display": {
  33180. "type": "string"
  33181. },
  33182. "zsfluorescencetype2display": {
  33183. "type": "string"
  33184. },
  33185. "zspolishtype1display": {
  33186. "type": "string"
  33187. },
  33188. "zspolishtype2display": {
  33189. "type": "string"
  33190. },
  33191. "zsshapetypedisplay": {
  33192. "type": "string"
  33193. },
  33194. "zsstyletypedisplay": {
  33195. "type": "string"
  33196. },
  33197. "zssymmetrytype1display": {
  33198. "type": "string"
  33199. },
  33200. "zssymmetrytype2display": {
  33201. "type": "string"
  33202. }
  33203. }
  33204. },
  33205. "models.MyPerformanc": {
  33206. "type": "object",
  33207. "properties": {
  33208. "accountname": {
  33209. "description": "[对手方]账户名称(机构名称)",
  33210. "type": "string"
  33211. },
  33212. "amount": {
  33213. "description": "履约金额",
  33214. "type": "number"
  33215. },
  33216. "buyaccountid": {
  33217. "description": "买方账号",
  33218. "type": "integer"
  33219. },
  33220. "buyerfreezeamount": {
  33221. "description": "买方履约前冻结资金",
  33222. "type": "number"
  33223. },
  33224. "buyerfreezeamountremain": {
  33225. "description": "买方履约前冻结资金剩余",
  33226. "type": "number"
  33227. },
  33228. "buyerinfo": {
  33229. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  33230. "type": "string"
  33231. },
  33232. "buyorsell": {
  33233. "description": "方向 - 0:买 1:卖",
  33234. "type": "integer"
  33235. },
  33236. "buypaidamount": {
  33237. "description": "买方已冻/已扣金额",
  33238. "type": "number"
  33239. },
  33240. "buytodayamount": {
  33241. "description": "买方今日扣/冻金额 (待开市时清零)",
  33242. "type": "number"
  33243. },
  33244. "curstepid": {
  33245. "description": "当前步骤ID",
  33246. "type": "string"
  33247. },
  33248. "goodsno": {
  33249. "description": "商品编号",
  33250. "type": "string"
  33251. },
  33252. "overshortamount": {
  33253. "description": "溢短金额",
  33254. "type": "number"
  33255. },
  33256. "paymenttype": {
  33257. "description": "买方支付方式 - 1:冻结 2:扣款",
  33258. "type": "integer"
  33259. },
  33260. "performanceplanid": {
  33261. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  33262. "type": "string"
  33263. },
  33264. "performancestatus": {
  33265. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  33266. "type": "integer"
  33267. },
  33268. "price": {
  33269. "description": "价格",
  33270. "type": "number"
  33271. },
  33272. "priceper": {
  33273. "description": "克拉单价",
  33274. "type": "string"
  33275. },
  33276. "relatedorderid": {
  33277. "description": "关联单号(履约类型的关联单号)",
  33278. "type": "string"
  33279. },
  33280. "remaindays": {
  33281. "description": "剩余天数",
  33282. "type": "integer"
  33283. },
  33284. "sellerfreezeamount": {
  33285. "description": "卖方履约前冻结资金",
  33286. "type": "number"
  33287. },
  33288. "sellerfreezeamountremain": {
  33289. "description": "卖方履约前冻结资金剩余",
  33290. "type": "number"
  33291. },
  33292. "sellerinfo": {
  33293. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  33294. "type": "string"
  33295. },
  33296. "sellreceivedamount": {
  33297. "description": "卖方已收金额",
  33298. "type": "number"
  33299. },
  33300. "selltodayamount": {
  33301. "description": "卖方今日收取金额(待开市时清零)",
  33302. "type": "number"
  33303. },
  33304. "sizedisplay": {
  33305. "description": "尺寸",
  33306. "type": "string"
  33307. },
  33308. "steptypeid": {
  33309. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  33310. "type": "integer"
  33311. },
  33312. "warehousenamedisplay": {
  33313. "type": "string"
  33314. },
  33315. "zscategorydisplay": {
  33316. "type": "string"
  33317. },
  33318. "zscerttypedisplay": {
  33319. "type": "string"
  33320. },
  33321. "zsclaritytype1display": {
  33322. "type": "string"
  33323. },
  33324. "zsclaritytype2display": {
  33325. "type": "string"
  33326. },
  33327. "zscolortype1display": {
  33328. "type": "string"
  33329. },
  33330. "zscolortype2display": {
  33331. "type": "string"
  33332. },
  33333. "zscrystaltypedisplay": {
  33334. "type": "string"
  33335. },
  33336. "zscurrencytypedisplay": {
  33337. "type": "string"
  33338. },
  33339. "zscurrencytypedisplayunit": {
  33340. "type": "string"
  33341. },
  33342. "zscuttype1display": {
  33343. "type": "string"
  33344. },
  33345. "zscuttype2display": {
  33346. "type": "string"
  33347. },
  33348. "zsczcolor1typedisplay": {
  33349. "type": "string"
  33350. },
  33351. "zsczcolor2typedisplay": {
  33352. "type": "string"
  33353. },
  33354. "zsczcolor3typedisplay": {
  33355. "type": "string"
  33356. },
  33357. "zsfluorescencetype1display": {
  33358. "type": "string"
  33359. },
  33360. "zsfluorescencetype2display": {
  33361. "type": "string"
  33362. },
  33363. "zspolishtype1display": {
  33364. "type": "string"
  33365. },
  33366. "zspolishtype2display": {
  33367. "type": "string"
  33368. },
  33369. "zsshapetypedisplay": {
  33370. "type": "string"
  33371. },
  33372. "zsstyletypedisplay": {
  33373. "type": "string"
  33374. },
  33375. "zssymmetrytype1display": {
  33376. "type": "string"
  33377. },
  33378. "zssymmetrytype2display": {
  33379. "type": "string"
  33380. }
  33381. }
  33382. },
  33383. "models.MyRefer": {
  33384. "type": "object",
  33385. "properties": {
  33386. "accountname": {
  33387. "description": "用户名(脱敏)",
  33388. "type": "string"
  33389. },
  33390. "createtime": {
  33391. "description": "时间(yyyy-mm-dd)",
  33392. "type": "string"
  33393. },
  33394. "score": {
  33395. "description": "积分",
  33396. "type": "number"
  33397. }
  33398. }
  33399. },
  33400. "models.MySellOrder": {
  33401. "type": "object",
  33402. "required": [
  33403. "userid"
  33404. ],
  33405. "properties": {
  33406. "accountid": {
  33407. "description": "资金账号",
  33408. "type": "integer"
  33409. },
  33410. "applyid": {
  33411. "description": "申请单ID",
  33412. "type": "integer"
  33413. },
  33414. "attachment1": {
  33415. "description": "附件1",
  33416. "type": "string"
  33417. },
  33418. "attachment2": {
  33419. "description": "附件2",
  33420. "type": "string"
  33421. },
  33422. "buyorsell": {
  33423. "description": "买卖 - 0:买 1:卖",
  33424. "type": "integer"
  33425. },
  33426. "canbargain": {
  33427. "description": "是否可议价 - 0:不可 1:可",
  33428. "type": "integer"
  33429. },
  33430. "cancelqty": {
  33431. "description": "撤销数量",
  33432. "type": "integer"
  33433. },
  33434. "canceltime": {
  33435. "description": "撤销时间",
  33436. "type": "string"
  33437. },
  33438. "cerno": {
  33439. "type": "string"
  33440. },
  33441. "chargealgorithm": {
  33442. "description": "手续费收取方式 1:比率 2:固定",
  33443. "type": "integer"
  33444. },
  33445. "chargealgorithmvalue": {
  33446. "description": "手续费设置值(交易所部分)",
  33447. "type": "number"
  33448. },
  33449. "chargealgorithmvalue2": {
  33450. "description": "手续费设置值(会员部分)",
  33451. "type": "number"
  33452. },
  33453. "clientordertime": {
  33454. "description": "客户端委托时间",
  33455. "type": "string"
  33456. },
  33457. "cpcertno": {
  33458. "type": "string"
  33459. },
  33460. "exchangerate": {
  33461. "description": "汇率[67]",
  33462. "type": "number"
  33463. },
  33464. "firstratio": {
  33465. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  33466. "type": "number"
  33467. },
  33468. "fixedprice": {
  33469. "description": "[克拉单价]固定价格 - [挂牌]",
  33470. "type": "number"
  33471. },
  33472. "freezecharge": {
  33473. "description": "冻结手续费",
  33474. "type": "number"
  33475. },
  33476. "freezefirstamount": {
  33477. "description": "冻结首付金额 - [摘牌]",
  33478. "type": "number"
  33479. },
  33480. "freezemargin": {
  33481. "description": "冻结保证金",
  33482. "type": "number"
  33483. },
  33484. "goodsno": {
  33485. "description": "商品编号",
  33486. "type": "string"
  33487. },
  33488. "imagepath": {
  33489. "type": "string"
  33490. },
  33491. "isspecified": {
  33492. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  33493. "type": "integer"
  33494. },
  33495. "kppath": {
  33496. "type": "string"
  33497. },
  33498. "kpweight": {
  33499. "type": "string"
  33500. },
  33501. "marginalgorithm": {
  33502. "description": "保证金方式 - 1:比率 2:固定",
  33503. "type": "integer"
  33504. },
  33505. "marginvalue": {
  33506. "description": "保证金设置值",
  33507. "type": "number"
  33508. },
  33509. "marketid": {
  33510. "description": "市场ID",
  33511. "type": "integer"
  33512. },
  33513. "marketprice": {
  33514. "type": "string"
  33515. },
  33516. "orderamount": {
  33517. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  33518. "type": "number"
  33519. },
  33520. "ordertime": {
  33521. "description": "委托时间",
  33522. "type": "string"
  33523. },
  33524. "performancetemplateid": {
  33525. "description": "履约计划模板ID",
  33526. "type": "integer"
  33527. },
  33528. "price": {
  33529. "description": "价格",
  33530. "type": "number"
  33531. },
  33532. "pricefactor": {
  33533. "description": "价格系数(浮动价时填写) - [挂牌]",
  33534. "type": "number"
  33535. },
  33536. "pricemove": {
  33537. "description": "升贴水(浮动价时填写) - [挂牌]",
  33538. "type": "number"
  33539. },
  33540. "priceper": {
  33541. "type": "string"
  33542. },
  33543. "relatedwrtradeorderid": {
  33544. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  33545. "type": "integer"
  33546. },
  33547. "remark": {
  33548. "type": "string"
  33549. },
  33550. "retcode": {
  33551. "description": "错误代码",
  33552. "type": "integer"
  33553. },
  33554. "selledqty": {
  33555. "description": "成交重量",
  33556. "type": "number"
  33557. },
  33558. "settingmaterial": {
  33559. "type": "string"
  33560. },
  33561. "size1": {
  33562. "type": "string"
  33563. },
  33564. "size2": {
  33565. "type": "string"
  33566. },
  33567. "size3": {
  33568. "type": "string"
  33569. },
  33570. "sizedisplay": {
  33571. "description": "尺寸",
  33572. "type": "string"
  33573. },
  33574. "stonedesc": {
  33575. "type": "string"
  33576. },
  33577. "totalqty": {
  33578. "description": "总重量",
  33579. "type": "number"
  33580. },
  33581. "tradedate": {
  33582. "description": "交易日(yyyyMMdd)",
  33583. "type": "string"
  33584. },
  33585. "tradeprice": {
  33586. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  33587. "type": "number"
  33588. },
  33589. "unfreezecharge": {
  33590. "description": "解冻手续费",
  33591. "type": "number"
  33592. },
  33593. "unfreezefirstamount": {
  33594. "description": "解冻首付金额 - [摘牌]",
  33595. "type": "number"
  33596. },
  33597. "unfreezemargin": {
  33598. "description": "解冻保证金",
  33599. "type": "number"
  33600. },
  33601. "userid": {
  33602. "description": "用户ID",
  33603. "type": "integer"
  33604. },
  33605. "uuid": {
  33606. "description": "发起端唯一id",
  33607. "type": "string"
  33608. },
  33609. "validtime": {
  33610. "description": "有效期限",
  33611. "type": "string"
  33612. },
  33613. "validtype": {
  33614. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  33615. "type": "integer"
  33616. },
  33617. "warehousenamedisplay": {
  33618. "type": "string"
  33619. },
  33620. "wrbargainid": {
  33621. "description": "议价申请单ID",
  33622. "type": "integer"
  33623. },
  33624. "wrfactortypeid": {
  33625. "description": "仓单要素类型ID/商品ID(77)",
  33626. "type": "integer"
  33627. },
  33628. "wrpath": {
  33629. "type": "string"
  33630. },
  33631. "wrpricetype": {
  33632. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  33633. "type": "integer"
  33634. },
  33635. "wrstandardid": {
  33636. "description": "现货商品ID",
  33637. "type": "integer"
  33638. },
  33639. "wrtradeorderid": {
  33640. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33641. "type": "string"
  33642. },
  33643. "wrtradeorderstatus": {
  33644. "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:撤单解冻贷款失败",
  33645. "type": "integer"
  33646. },
  33647. "wrtradetype": {
  33648. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  33649. "type": "integer"
  33650. },
  33651. "wrtransferuserid": {
  33652. "description": "仓单受让用户 - [摘牌]",
  33653. "type": "integer"
  33654. },
  33655. "zscategory": {
  33656. "description": "钻石分类 - 枚举”ZSCategory“",
  33657. "type": "integer"
  33658. },
  33659. "zscategorydisplay": {
  33660. "description": "钻石分类 - 描述",
  33661. "type": "string"
  33662. },
  33663. "zscerttypedisplay": {
  33664. "type": "string"
  33665. },
  33666. "zsclaritytype1display": {
  33667. "type": "string"
  33668. },
  33669. "zsclaritytype2display": {
  33670. "type": "string"
  33671. },
  33672. "zscolortype1display": {
  33673. "type": "string"
  33674. },
  33675. "zscolortype2display": {
  33676. "type": "string"
  33677. },
  33678. "zscrystaltype": {
  33679. "type": "string"
  33680. },
  33681. "zscrystaltypedisplay": {
  33682. "type": "string"
  33683. },
  33684. "zscurrencytype": {
  33685. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33686. "type": "integer"
  33687. },
  33688. "zscurrencytypedisplay": {
  33689. "type": "string"
  33690. },
  33691. "zscurrencytypedisplayunit": {
  33692. "type": "string"
  33693. },
  33694. "zscuttype1display": {
  33695. "type": "string"
  33696. },
  33697. "zscuttype2display": {
  33698. "type": "string"
  33699. },
  33700. "zsczcolor1typedisplay": {
  33701. "type": "string"
  33702. },
  33703. "zsczcolor2typedisplay": {
  33704. "type": "string"
  33705. },
  33706. "zsczcolor3typedisplay": {
  33707. "type": "string"
  33708. },
  33709. "zsfluorescencetype1display": {
  33710. "type": "string"
  33711. },
  33712. "zsfluorescencetype2display": {
  33713. "type": "string"
  33714. },
  33715. "zspolishtype1display": {
  33716. "type": "string"
  33717. },
  33718. "zspolishtype2display": {
  33719. "type": "string"
  33720. },
  33721. "zsshapetypedisplay": {
  33722. "type": "string"
  33723. },
  33724. "zsstyletypedisplay": {
  33725. "type": "string"
  33726. },
  33727. "zssymmetrytype1display": {
  33728. "type": "string"
  33729. },
  33730. "zssymmetrytype2display": {
  33731. "type": "string"
  33732. }
  33733. }
  33734. },
  33735. "models.MyWRPosition": {
  33736. "type": "object",
  33737. "required": [
  33738. "wruserid"
  33739. ],
  33740. "properties": {
  33741. "cerno": {
  33742. "description": "证书编号 - 类型:2,4,5",
  33743. "type": "string"
  33744. },
  33745. "cpcertno": {
  33746. "description": "金伯利证书编号 - 类型:3",
  33747. "type": "string"
  33748. },
  33749. "ffreezeqty": {
  33750. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  33751. "type": "number"
  33752. },
  33753. "ftotalqty": {
  33754. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  33755. "type": "number"
  33756. },
  33757. "goodsno": {
  33758. "description": "商品编号",
  33759. "type": "string"
  33760. },
  33761. "imagepath": {
  33762. "description": "商品照片(相对地址)",
  33763. "type": "string"
  33764. },
  33765. "isvalid": {
  33766. "description": "是否有效 - 0:无效 1:有效",
  33767. "type": "integer"
  33768. },
  33769. "kppath": {
  33770. "description": "金伯利证书图片(相对地址) - 类型:3",
  33771. "type": "string"
  33772. },
  33773. "kpweight": {
  33774. "description": "金伯利证书重量 - 类型:3",
  33775. "type": "string"
  33776. },
  33777. "ladingbillid": {
  33778. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  33779. "type": "string"
  33780. },
  33781. "marketflag": {
  33782. "description": "是否上架,0-全部 1-是 2-否",
  33783. "type": "integer"
  33784. },
  33785. "marketprice": {
  33786. "description": "市场价",
  33787. "type": "string"
  33788. },
  33789. "origin": {
  33790. "description": "原产地 - 类型:3",
  33791. "type": "string"
  33792. },
  33793. "price": {
  33794. "description": "总价(价格) - 类型:1,2,3,4,5",
  33795. "type": "number"
  33796. },
  33797. "priceper": {
  33798. "description": "克拉单价 - 类型:1,2,3,5",
  33799. "type": "string"
  33800. },
  33801. "remark": {
  33802. "description": "备注",
  33803. "type": "string"
  33804. },
  33805. "sellmobile": {
  33806. "description": "手机号码(加密存储)",
  33807. "type": "string"
  33808. },
  33809. "sellusername": {
  33810. "description": "账户名称(机构名称)",
  33811. "type": "string"
  33812. },
  33813. "settingmaterial": {
  33814. "description": "镶嵌材料 - 类型:4",
  33815. "type": "string"
  33816. },
  33817. "size1": {
  33818. "description": "尺寸1 - 类型:2,4,5",
  33819. "type": "string"
  33820. },
  33821. "size2": {
  33822. "description": "尺寸2 - 类型:2,4,5",
  33823. "type": "string"
  33824. },
  33825. "size3": {
  33826. "description": "尺寸3 - 类型:2,4,5",
  33827. "type": "string"
  33828. },
  33829. "sizedisplay": {
  33830. "description": "尺寸",
  33831. "type": "string"
  33832. },
  33833. "stonedesc": {
  33834. "description": "配石描述 - 类型:4",
  33835. "type": "string"
  33836. },
  33837. "subnum": {
  33838. "description": "提单子单号",
  33839. "type": "integer"
  33840. },
  33841. "userid": {
  33842. "description": "用户ID",
  33843. "type": "integer"
  33844. },
  33845. "warehouseid": {
  33846. "description": "仓库ID",
  33847. "type": "integer"
  33848. },
  33849. "warehousenamedisplay": {
  33850. "type": "string"
  33851. },
  33852. "weight": {
  33853. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33854. "type": "number"
  33855. },
  33856. "weightavg": {
  33857. "description": "平均单颗重量 - 类型:1,3",
  33858. "type": "number"
  33859. },
  33860. "wrpath": {
  33861. "description": "仓单扫描件(相对地址)",
  33862. "type": "string"
  33863. },
  33864. "wrstandardid": {
  33865. "description": "现货商品ID",
  33866. "type": "integer"
  33867. },
  33868. "wrtradeorderid": {
  33869. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33870. "type": "string"
  33871. },
  33872. "wruserid": {
  33873. "description": "登录用户ID",
  33874. "type": "integer"
  33875. },
  33876. "zscategory": {
  33877. "description": "钻石分类 - 枚举”ZSCategory“",
  33878. "type": "integer"
  33879. },
  33880. "zscategorydisplay": {
  33881. "type": "string"
  33882. },
  33883. "zscerttype": {
  33884. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  33885. "type": "integer"
  33886. },
  33887. "zscerttypedisplay": {
  33888. "type": "string"
  33889. },
  33890. "zsclaritytype1": {
  33891. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  33892. "type": "integer"
  33893. },
  33894. "zsclaritytype1display": {
  33895. "type": "string"
  33896. },
  33897. "zsclaritytype2": {
  33898. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  33899. "type": "integer"
  33900. },
  33901. "zsclaritytype2display": {
  33902. "type": "string"
  33903. },
  33904. "zscolortype1": {
  33905. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  33906. "type": "integer"
  33907. },
  33908. "zscolortype1display": {
  33909. "type": "string"
  33910. },
  33911. "zscolortype2": {
  33912. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  33913. "type": "integer"
  33914. },
  33915. "zscolortype2display": {
  33916. "type": "string"
  33917. },
  33918. "zscrystaltype": {
  33919. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  33920. "type": "string"
  33921. },
  33922. "zscrystaltypedisplay": {
  33923. "type": "string"
  33924. },
  33925. "zscurrencytype": {
  33926. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33927. "type": "integer"
  33928. },
  33929. "zscurrencytypedisplay": {
  33930. "type": "string"
  33931. },
  33932. "zscurrencytypedisplayunit": {
  33933. "type": "string"
  33934. },
  33935. "zscuttype1": {
  33936. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  33937. "type": "integer"
  33938. },
  33939. "zscuttype1display": {
  33940. "type": "string"
  33941. },
  33942. "zscuttype2": {
  33943. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  33944. "type": "integer"
  33945. },
  33946. "zscuttype2display": {
  33947. "type": "string"
  33948. },
  33949. "zsczcolor1type": {
  33950. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  33951. "type": "integer"
  33952. },
  33953. "zsczcolor1typedisplay": {
  33954. "type": "string"
  33955. },
  33956. "zsczcolor2type": {
  33957. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  33958. "type": "integer"
  33959. },
  33960. "zsczcolor2typedisplay": {
  33961. "type": "string"
  33962. },
  33963. "zsczcolor3type": {
  33964. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  33965. "type": "integer"
  33966. },
  33967. "zsczcolor3typedisplay": {
  33968. "type": "string"
  33969. },
  33970. "zsfluorescencetype1": {
  33971. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  33972. "type": "integer"
  33973. },
  33974. "zsfluorescencetype1display": {
  33975. "type": "string"
  33976. },
  33977. "zsfluorescencetype2": {
  33978. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  33979. "type": "integer"
  33980. },
  33981. "zsfluorescencetype2display": {
  33982. "type": "string"
  33983. },
  33984. "zspolishtype1": {
  33985. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  33986. "type": "integer"
  33987. },
  33988. "zspolishtype1display": {
  33989. "type": "string"
  33990. },
  33991. "zspolishtype2": {
  33992. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  33993. "type": "integer"
  33994. },
  33995. "zspolishtype2display": {
  33996. "type": "string"
  33997. },
  33998. "zsshapetype": {
  33999. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  34000. "type": "string"
  34001. },
  34002. "zsshapetypedisplay": {
  34003. "type": "string"
  34004. },
  34005. "zsstyletype": {
  34006. "description": "款式 - 类型:4",
  34007. "type": "integer"
  34008. },
  34009. "zsstyletypedisplay": {
  34010. "type": "string"
  34011. },
  34012. "zssymmetrytype1": {
  34013. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  34014. "type": "integer"
  34015. },
  34016. "zssymmetrytype1display": {
  34017. "type": "string"
  34018. },
  34019. "zssymmetrytype2": {
  34020. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  34021. "type": "integer"
  34022. },
  34023. "zssymmetrytype2display": {
  34024. "type": "string"
  34025. }
  34026. }
  34027. },
  34028. "models.NewFuncmenulist": {
  34029. "type": "object",
  34030. "required": [
  34031. "resourcecode"
  34032. ],
  34033. "properties": {
  34034. "authtype": {
  34035. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  34036. "type": "integer"
  34037. },
  34038. "buttonname": {
  34039. "description": "按钮名称",
  34040. "type": "string"
  34041. },
  34042. "buttontype": {
  34043. "description": "按钮类型 - 存按钮样式",
  34044. "type": "string"
  34045. },
  34046. "component": {
  34047. "description": "组件名或组件地址",
  34048. "type": "string"
  34049. },
  34050. "hidden": {
  34051. "description": "是否隐藏 - 0:显示 1:隐藏",
  34052. "type": "integer"
  34053. },
  34054. "iconame": {
  34055. "description": "菜单图标",
  34056. "type": "string"
  34057. },
  34058. "menutype": {
  34059. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  34060. "type": "integer"
  34061. },
  34062. "parentcode": {
  34063. "description": "上级资源代码",
  34064. "type": "string"
  34065. },
  34066. "remark": {
  34067. "description": "Remark",
  34068. "type": "string"
  34069. },
  34070. "resourcecode": {
  34071. "description": "资源代码",
  34072. "type": "string"
  34073. },
  34074. "resourcelevel": {
  34075. "description": "级别1-一级 2-二级 3-三级4-四级",
  34076. "type": "integer"
  34077. },
  34078. "resourcename": {
  34079. "description": "资源名(Title)",
  34080. "type": "string"
  34081. },
  34082. "sort": {
  34083. "description": "排序",
  34084. "type": "integer"
  34085. },
  34086. "url": {
  34087. "description": "Url",
  34088. "type": "string"
  34089. },
  34090. "urltype": {
  34091. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  34092. "type": "integer"
  34093. }
  34094. }
  34095. },
  34096. "models.OperationPrimaryMenu": {
  34097. "type": "object",
  34098. "properties": {
  34099. "Children": {
  34100. "description": "二级功能菜单",
  34101. "type": "array",
  34102. "items": {
  34103. "$ref": "#/definitions/models.OperationSecondaryMenu"
  34104. }
  34105. },
  34106. "Key": {
  34107. "description": "菜单KEY",
  34108. "type": "string"
  34109. },
  34110. "Label": {
  34111. "description": "菜单标题",
  34112. "type": "string"
  34113. }
  34114. }
  34115. },
  34116. "models.OperationSecondaryMenu": {
  34117. "type": "object",
  34118. "properties": {
  34119. "Key": {
  34120. "description": "菜单KEY",
  34121. "type": "string"
  34122. },
  34123. "Label": {
  34124. "description": "菜单标题",
  34125. "type": "string"
  34126. },
  34127. "TabList": {
  34128. "description": "三级功能菜单",
  34129. "type": "array",
  34130. "items": {
  34131. "$ref": "#/definitions/models.OperationTabMenu"
  34132. }
  34133. }
  34134. }
  34135. },
  34136. "models.OperationTabMenu": {
  34137. "type": "object",
  34138. "properties": {
  34139. "Key": {
  34140. "description": "菜单KEY",
  34141. "type": "string"
  34142. },
  34143. "Label": {
  34144. "description": "菜单标题",
  34145. "type": "string"
  34146. }
  34147. }
  34148. },
  34149. "models.Patradelinkdetail": {
  34150. "type": "object",
  34151. "properties": {
  34152. "accountname": {
  34153. "description": "套期主体",
  34154. "type": "string"
  34155. },
  34156. "agreeunit": {
  34157. "description": "合约乘数",
  34158. "type": "number"
  34159. },
  34160. "amount": {
  34161. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  34162. "type": "number"
  34163. },
  34164. "areauserid": {
  34165. "description": "所属机构",
  34166. "type": "integer"
  34167. },
  34168. "bizsubjectid": {
  34169. "description": "归属业务部门ID - SubjectID",
  34170. "type": "integer"
  34171. },
  34172. "buyorsell": {
  34173. "description": "方向 - 0:买 1:卖",
  34174. "type": "integer"
  34175. },
  34176. "convertratio": {
  34177. "description": "品种系数",
  34178. "type": "number"
  34179. },
  34180. "convertratiochange": {
  34181. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  34182. "type": "number"
  34183. },
  34184. "createtime": {
  34185. "description": "[日期时间]创建时间",
  34186. "type": "string"
  34187. },
  34188. "creatorid": {
  34189. "description": "创建人ID",
  34190. "type": "integer"
  34191. },
  34192. "creatorsrc": {
  34193. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  34194. "type": "integer"
  34195. },
  34196. "goodscode": {
  34197. "description": "商品代码(内部)",
  34198. "type": "string"
  34199. },
  34200. "goodsgroupid": {
  34201. "description": "对冲品种ID[期货合约商品组ID]",
  34202. "type": "integer"
  34203. },
  34204. "goodsid": {
  34205. "description": "商品ID",
  34206. "type": "integer"
  34207. },
  34208. "hedgeditemid": {
  34209. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  34210. "type": "integer"
  34211. },
  34212. "hedgeflag": {
  34213. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  34214. "type": "integer"
  34215. },
  34216. "linkdetailid": {
  34217. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  34218. "type": "string"
  34219. },
  34220. "linkstatus": {
  34221. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  34222. "type": "integer"
  34223. },
  34224. "middlegoodsid": {
  34225. "description": "套保品种ID",
  34226. "type": "integer"
  34227. },
  34228. "name": {
  34229. "description": "账户名/子账户",
  34230. "type": "string"
  34231. },
  34232. "optioncode": {
  34233. "description": "[期货合约]期权代码 [期权]",
  34234. "type": "string"
  34235. },
  34236. "ordertype": {
  34237. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  34238. "type": "integer"
  34239. },
  34240. "relatedlot": {
  34241. "description": "[数量]关联手数",
  34242. "type": "number"
  34243. },
  34244. "relatedmode": {
  34245. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  34246. "type": "integer"
  34247. },
  34248. "relatedqty": {
  34249. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  34250. "type": "number"
  34251. },
  34252. "retcode": {
  34253. "description": "返回码",
  34254. "type": "integer"
  34255. },
  34256. "saleuserid": {
  34257. "description": "业务员ID",
  34258. "type": "integer"
  34259. },
  34260. "tradedate": {
  34261. "description": "关联交易日(yyyyMMdd)",
  34262. "type": "string"
  34263. },
  34264. "tradeid": {
  34265. "description": "[成交单号]内部成交单ID",
  34266. "type": "string"
  34267. },
  34268. "tradelot": {
  34269. "description": "成交手数",
  34270. "type": "integer"
  34271. },
  34272. "tradeprice": {
  34273. "description": "[价格]成交价格",
  34274. "type": "number"
  34275. },
  34276. "tradetradedate": {
  34277. "description": "成交交易日(yyyyMMdd)",
  34278. "type": "string"
  34279. }
  34280. }
  34281. },
  34282. "models.QhjAccountOutInApply": {
  34283. "type": "object",
  34284. "properties": {
  34285. "accountcode": {
  34286. "description": "资金账号",
  34287. "type": "string"
  34288. },
  34289. "accountname": {
  34290. "description": "用户名称(名称)",
  34291. "type": "string"
  34292. },
  34293. "accountpwd": {
  34294. "description": "资金密码",
  34295. "type": "string"
  34296. },
  34297. "accountticket": {
  34298. "description": "最新账户服务流水号",
  34299. "type": "string"
  34300. },
  34301. "amount": {
  34302. "description": "金额",
  34303. "type": "number"
  34304. },
  34305. "applyremark": {
  34306. "description": "申请备注",
  34307. "type": "string"
  34308. },
  34309. "applystatus": {
  34310. "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: 复审通过,账户冻结金额检查中;",
  34311. "type": "integer"
  34312. },
  34313. "auditid": {
  34314. "description": "审核人",
  34315. "type": "integer"
  34316. },
  34317. "audittime": {
  34318. "description": "审核时间",
  34319. "type": "string"
  34320. },
  34321. "bank_apply_ticket": {
  34322. "description": "银行申请流水",
  34323. "type": "string"
  34324. },
  34325. "bankaccountname": {
  34326. "description": "银行账户名",
  34327. "type": "string"
  34328. },
  34329. "bankaccountno": {
  34330. "description": "银行卡号",
  34331. "type": "string"
  34332. },
  34333. "bankid": {
  34334. "description": "银行编号",
  34335. "type": "string"
  34336. },
  34337. "bankticket": {
  34338. "description": "银行流水",
  34339. "type": "string"
  34340. },
  34341. "branchbankid": {
  34342. "description": "银行支行号",
  34343. "type": "string"
  34344. },
  34345. "branchbankname": {
  34346. "description": "银行支行名称",
  34347. "type": "string"
  34348. },
  34349. "capamountout": {
  34350. "description": "出金(劣后本金) - 外部子账户",
  34351. "type": "number"
  34352. },
  34353. "certificatephotourl": {
  34354. "description": "凭证地址",
  34355. "type": "string"
  34356. },
  34357. "charge": {
  34358. "description": "手续费",
  34359. "type": "number"
  34360. },
  34361. "checkerrorflag": {
  34362. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  34363. "type": "integer"
  34364. },
  34365. "currency": {
  34366. "description": "币种",
  34367. "type": "string"
  34368. },
  34369. "cusbankid": {
  34370. "description": "托管银行编号",
  34371. "type": "string"
  34372. },
  34373. "cusbankname": {
  34374. "description": "托管银行名称",
  34375. "type": "string"
  34376. },
  34377. "cusbankshortname": {
  34378. "description": "托管银行简称",
  34379. "type": "string"
  34380. },
  34381. "exchticket": {
  34382. "description": "银行服务流水号",
  34383. "type": "string"
  34384. },
  34385. "executetype": {
  34386. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  34387. "type": "integer"
  34388. },
  34389. "extendinfo": {
  34390. "description": "扩展信息",
  34391. "type": "string"
  34392. },
  34393. "extoperateid": {
  34394. "description": "交易服务流水号",
  34395. "type": "integer"
  34396. },
  34397. "infamount": {
  34398. "description": "劣后金额(自有)",
  34399. "type": "number"
  34400. },
  34401. "logincode": {
  34402. "description": "登录账号(账号)",
  34403. "type": "string"
  34404. },
  34405. "netaddr": {
  34406. "description": "调转网址",
  34407. "type": "string"
  34408. },
  34409. "priamount": {
  34410. "description": "优先金额(授信)",
  34411. "type": "number"
  34412. },
  34413. "reauditid": {
  34414. "description": "复审人",
  34415. "type": "integer"
  34416. },
  34417. "reauditremark": {
  34418. "description": "复审备注",
  34419. "type": "string"
  34420. },
  34421. "reaudittime": {
  34422. "description": "复审时间",
  34423. "type": "string"
  34424. },
  34425. "relatedorderid": {
  34426. "description": "三方关联ID",
  34427. "type": "string"
  34428. },
  34429. "remark": {
  34430. "description": "备注",
  34431. "type": "string"
  34432. },
  34433. "remark2": {
  34434. "description": "备注(失败原因)",
  34435. "type": "string"
  34436. },
  34437. "soucreamount": {
  34438. "description": "原始出入金金额",
  34439. "type": "number"
  34440. },
  34441. "soucrecurrencyid": {
  34442. "description": "原始出入金币种",
  34443. "type": "integer"
  34444. },
  34445. "tradedate": {
  34446. "description": "交易日(yyyyMMdd)",
  34447. "type": "string"
  34448. },
  34449. "updatetime": {
  34450. "description": "更新时间(申请时间)",
  34451. "type": "string"
  34452. },
  34453. "userid": {
  34454. "description": "用户id",
  34455. "type": "integer"
  34456. },
  34457. "userinfotype": {
  34458. "description": "账户类型 1-个人 2-企业",
  34459. "type": "integer"
  34460. }
  34461. }
  34462. },
  34463. "models.QhjAgreementChangeLog": {
  34464. "type": "object",
  34465. "properties": {
  34466. "agreementcontent": {
  34467. "description": "协议内容",
  34468. "type": "string"
  34469. },
  34470. "agreementfrequency": {
  34471. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34472. "type": "integer"
  34473. },
  34474. "agreementid": {
  34475. "description": "协议ID",
  34476. "type": "integer"
  34477. },
  34478. "agreementname": {
  34479. "description": "协议名称",
  34480. "type": "string"
  34481. },
  34482. "agreementno": {
  34483. "description": "协议编号",
  34484. "type": "string"
  34485. },
  34486. "agreementtype": {
  34487. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34488. "type": "integer"
  34489. },
  34490. "agreementversion": {
  34491. "description": "协议版本号",
  34492. "type": "integer"
  34493. },
  34494. "logid": {
  34495. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  34496. "type": "integer"
  34497. },
  34498. "reviserid": {
  34499. "description": "修改人",
  34500. "type": "integer"
  34501. },
  34502. "revisersrc": {
  34503. "description": "修改来源 - 1:管理端 2:终端",
  34504. "type": "integer"
  34505. },
  34506. "updatetime": {
  34507. "description": "更新时间",
  34508. "type": "string"
  34509. }
  34510. }
  34511. },
  34512. "models.QhjAgreementConfig": {
  34513. "type": "object",
  34514. "properties": {
  34515. "agreementcontent": {
  34516. "description": "协议内容",
  34517. "type": "string"
  34518. },
  34519. "agreementfrequency": {
  34520. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  34521. "type": "integer"
  34522. },
  34523. "agreementid": {
  34524. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  34525. "type": "integer"
  34526. },
  34527. "agreementname": {
  34528. "description": "协议名称",
  34529. "type": "string"
  34530. },
  34531. "agreementno": {
  34532. "description": "协议编号",
  34533. "type": "string"
  34534. },
  34535. "agreementtype": {
  34536. "description": "协议类型 - 1:注册 2:登录 3:交易",
  34537. "type": "integer"
  34538. },
  34539. "agreementversion": {
  34540. "description": "协议版本号(从1开始每次修改加1)",
  34541. "type": "integer"
  34542. },
  34543. "createtime": {
  34544. "description": "创建时间",
  34545. "type": "string"
  34546. },
  34547. "creatorid": {
  34548. "description": "创建人",
  34549. "type": "integer"
  34550. },
  34551. "creatorsrc": {
  34552. "description": "创建来源 - 1:管理端 2:终端",
  34553. "type": "integer"
  34554. },
  34555. "isvalid": {
  34556. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  34557. "type": "integer"
  34558. },
  34559. "reviserid": {
  34560. "description": "修改人",
  34561. "type": "integer"
  34562. },
  34563. "revisersrc": {
  34564. "description": "修改来源 - 1:管理端 2:终端",
  34565. "type": "integer"
  34566. },
  34567. "updatetime": {
  34568. "description": "更新时间",
  34569. "type": "string"
  34570. }
  34571. }
  34572. },
  34573. "models.QhjAreaFinanceConfig": {
  34574. "type": "object",
  34575. "properties": {
  34576. "additionalratio": {
  34577. "description": "追加款比例",
  34578. "type": "number"
  34579. },
  34580. "advanceratio": {
  34581. "description": "预付款比例",
  34582. "type": "number"
  34583. },
  34584. "alarmratio": {
  34585. "description": "告警比例",
  34586. "type": "number"
  34587. },
  34588. "consumptiondirectreward": {
  34589. "description": "消费直推奖励值",
  34590. "type": "number"
  34591. },
  34592. "consumptionenabled": {
  34593. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  34594. "type": "integer"
  34595. },
  34596. "consumptionindirectreward": {
  34597. "description": "消费间推奖励值",
  34598. "type": "number"
  34599. },
  34600. "consumptionmodel": {
  34601. "description": "消费奖励方式 - 1:比率 2:固定",
  34602. "type": "integer"
  34603. },
  34604. "customerservicenum": {
  34605. "description": "客服电话",
  34606. "type": "string"
  34607. },
  34608. "dayinterestrate": {
  34609. "description": "日利率",
  34610. "type": "number"
  34611. },
  34612. "disableconsumptiontips": {
  34613. "description": "关闭消费奖励提示",
  34614. "type": "string"
  34615. },
  34616. "modifierid": {
  34617. "description": "修改人ID",
  34618. "type": "integer"
  34619. },
  34620. "modifysrc": {
  34621. "description": "审核来源 - 1:管理端 2:终端",
  34622. "type": "integer"
  34623. },
  34624. "modifytime": {
  34625. "description": "修改时间",
  34626. "type": "string"
  34627. },
  34628. "promotionvalue": {
  34629. "description": "推广奖励值(固定)",
  34630. "type": "number"
  34631. },
  34632. "scoreconfigvalue1": {
  34633. "description": "提货积分配置1",
  34634. "type": "integer"
  34635. },
  34636. "scoreconfigvalue2": {
  34637. "description": "提货积分配置2",
  34638. "type": "integer"
  34639. },
  34640. "userid": {
  34641. "description": "机构用户ID其他做市关系,都设置为 1",
  34642. "type": "integer"
  34643. },
  34644. "username": {
  34645. "description": "用户名称",
  34646. "type": "string"
  34647. }
  34648. }
  34649. },
  34650. "models.QhjBankAccountSign": {
  34651. "type": "object",
  34652. "properties": {
  34653. "accountcode": {
  34654. "description": "资金账号",
  34655. "type": "string"
  34656. },
  34657. "accountname": {
  34658. "description": "资金账号对应的账号名(UserName)",
  34659. "type": "string"
  34660. },
  34661. "accountname2": {
  34662. "description": "资金账号对应的账号名(UserName) - 密文",
  34663. "type": "string"
  34664. },
  34665. "accounttype": {
  34666. "description": "账户类型(UserType)",
  34667. "type": "integer"
  34668. },
  34669. "applicationtime": {
  34670. "description": "最后一次更新的时间",
  34671. "type": "string"
  34672. },
  34673. "applyexchticket": {
  34674. "description": "申请流水",
  34675. "type": "string"
  34676. },
  34677. "auditid": {
  34678. "description": "审核人",
  34679. "type": "integer"
  34680. },
  34681. "audittime": {
  34682. "description": "审核时间",
  34683. "type": "string"
  34684. },
  34685. "bankaccountname": {
  34686. "description": "签约银行卡账号名",
  34687. "type": "string"
  34688. },
  34689. "bankaccountname2": {
  34690. "description": "签约银行卡账号名 - 密文",
  34691. "type": "string"
  34692. },
  34693. "bankaccountno": {
  34694. "description": "银行卡号",
  34695. "type": "string"
  34696. },
  34697. "bankaccountno2": {
  34698. "description": "银行卡号 - 密文",
  34699. "type": "string"
  34700. },
  34701. "bankaccounttype": {
  34702. "description": "银行账户类型 - 1-对私; 2-对公",
  34703. "type": "integer"
  34704. },
  34705. "bankcardtype": {
  34706. "description": "银行卡类型",
  34707. "type": "integer"
  34708. },
  34709. "bankchildaccount": {
  34710. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  34711. "type": "string"
  34712. },
  34713. "bankcity": {
  34714. "description": "开户行城市",
  34715. "type": "string"
  34716. },
  34717. "bankid": {
  34718. "description": "签约银行ID",
  34719. "type": "string"
  34720. },
  34721. "bankname": {
  34722. "description": "签约银行名称",
  34723. "type": "string"
  34724. },
  34725. "bankprovince": {
  34726. "description": "开户行省份",
  34727. "type": "string"
  34728. },
  34729. "branchbankid": {
  34730. "description": "签约银行支行号",
  34731. "type": "string"
  34732. },
  34733. "branchbankname": {
  34734. "description": "签约银行支行名称",
  34735. "type": "string"
  34736. },
  34737. "cardno": {
  34738. "description": "证件号码",
  34739. "type": "string"
  34740. },
  34741. "cardno2": {
  34742. "description": "证件号码 - 密文",
  34743. "type": "string"
  34744. },
  34745. "cardtype": {
  34746. "description": "证件类型",
  34747. "type": "string"
  34748. },
  34749. "currency": {
  34750. "description": "币种",
  34751. "type": "string"
  34752. },
  34753. "cusbankid": {
  34754. "description": "托管银行编号",
  34755. "type": "string"
  34756. },
  34757. "direct": {
  34758. "description": "方向(可以判断那方先发起的签约)",
  34759. "type": "integer"
  34760. },
  34761. "exchticket": {
  34762. "description": "最后一次签约成功的流水号",
  34763. "type": "string"
  34764. },
  34765. "extendinfo": {
  34766. "description": "扩展信息(JSON字符串)",
  34767. "type": "string"
  34768. },
  34769. "mobilephone": {
  34770. "description": "手机号",
  34771. "type": "string"
  34772. },
  34773. "mobilephone2": {
  34774. "description": "手机号 - 密文",
  34775. "type": "string"
  34776. },
  34777. "netaddr": {
  34778. "description": "调转网址",
  34779. "type": "string"
  34780. },
  34781. "relateduserid": {
  34782. "description": "关联使用者userid",
  34783. "type": "integer"
  34784. },
  34785. "signstatus": {
  34786. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  34787. "type": "integer"
  34788. },
  34789. "updatetime": {
  34790. "description": "更新时间(签解约更新时间)",
  34791. "type": "string"
  34792. }
  34793. }
  34794. },
  34795. "models.QhjBankInfo": {
  34796. "type": "object",
  34797. "properties": {
  34798. "bankid": {
  34799. "description": "银行ID",
  34800. "type": "string"
  34801. },
  34802. "bankname": {
  34803. "description": "银行名称",
  34804. "type": "string"
  34805. },
  34806. "clearbankno": {
  34807. "description": "清算系统银行编号",
  34808. "type": "string"
  34809. },
  34810. "orderindex": {
  34811. "description": "排序顺序",
  34812. "type": "integer"
  34813. },
  34814. "status": {
  34815. "description": "状态 - 0:正常 1:注销",
  34816. "type": "integer"
  34817. }
  34818. }
  34819. },
  34820. "models.QhjBrokerApply": {
  34821. "type": "object",
  34822. "properties": {
  34823. "applicantid": {
  34824. "description": "申请人",
  34825. "type": "integer"
  34826. },
  34827. "applysrc": {
  34828. "description": "申请来源 - 1:管理端 2:终端",
  34829. "type": "integer"
  34830. },
  34831. "applystatus": {
  34832. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  34833. "type": "integer"
  34834. },
  34835. "applytime": {
  34836. "description": "申请时间",
  34837. "type": "string"
  34838. },
  34839. "auditorid": {
  34840. "description": "审核人",
  34841. "type": "integer"
  34842. },
  34843. "auditremark": {
  34844. "description": "审核备注",
  34845. "type": "string"
  34846. },
  34847. "auditsrc": {
  34848. "description": "审核来源 - 1:管理端 2:终端",
  34849. "type": "integer"
  34850. },
  34851. "audittime": {
  34852. "description": "审核时间",
  34853. "type": "string"
  34854. },
  34855. "audittradedate": {
  34856. "description": "审核交易日(yyyyMMdd)",
  34857. "type": "string"
  34858. },
  34859. "brokerapplyid": {
  34860. "description": "申请ID(SEQ_BROKERAPPLY)",
  34861. "type": "integer"
  34862. },
  34863. "cardbackphotourl": {
  34864. "description": "证件背面图片地址",
  34865. "type": "string"
  34866. },
  34867. "cardfrontphotourl": {
  34868. "description": "证件正面图片地址",
  34869. "type": "string"
  34870. },
  34871. "cardnum": {
  34872. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  34873. "type": "string"
  34874. },
  34875. "customername": {
  34876. "description": "姓名",
  34877. "type": "string"
  34878. },
  34879. "logincode": {
  34880. "description": "登录代码",
  34881. "type": "string"
  34882. },
  34883. "mobile": {
  34884. "description": "手机号码",
  34885. "type": "string"
  34886. },
  34887. "parentuserid": {
  34888. "description": "所属机构id",
  34889. "type": "integer"
  34890. },
  34891. "parentusername": {
  34892. "description": "所属机构名称",
  34893. "type": "string"
  34894. },
  34895. "refereeuserid": {
  34896. "description": "推荐人id(经纪人)",
  34897. "type": "integer"
  34898. },
  34899. "refernum": {
  34900. "description": "推荐码",
  34901. "type": "string"
  34902. },
  34903. "remark": {
  34904. "description": "备注",
  34905. "type": "string"
  34906. },
  34907. "subarealevelpath": {
  34908. "description": "层级路径",
  34909. "type": "string"
  34910. },
  34911. "tradedate": {
  34912. "description": "交易日(yyyyMMdd)",
  34913. "type": "string"
  34914. },
  34915. "userid": {
  34916. "description": "申请人用户ID",
  34917. "type": "integer"
  34918. },
  34919. "userinfotype": {
  34920. "description": "用户类型 1-个人 2-企业",
  34921. "type": "integer"
  34922. },
  34923. "username": {
  34924. "description": "用户名称",
  34925. "type": "string"
  34926. }
  34927. }
  34928. },
  34929. "models.QhjBrokerApplyEx": {
  34930. "type": "object",
  34931. "properties": {
  34932. "applylist": {
  34933. "description": "经纪人申请记录(只返回最新一条)",
  34934. "type": "array",
  34935. "items": {
  34936. "$ref": "#/definitions/models.QhjBrokerApply"
  34937. }
  34938. },
  34939. "canrecommend": {
  34940. "description": "是否经纪人 0-不是 1-是",
  34941. "type": "integer"
  34942. },
  34943. "refernum": {
  34944. "description": "推荐码",
  34945. "type": "string"
  34946. },
  34947. "userid": {
  34948. "description": "用户id",
  34949. "type": "integer"
  34950. },
  34951. "userinfotype": {
  34952. "description": "用户类型 1-个人 2-企业",
  34953. "type": "integer"
  34954. }
  34955. }
  34956. },
  34957. "models.QhjBrokerRewardLog": {
  34958. "type": "object",
  34959. "properties": {
  34960. "accountid": {
  34961. "description": "资金账号ID",
  34962. "type": "integer"
  34963. },
  34964. "createtime": {
  34965. "description": "创建时间(时间)",
  34966. "type": "string"
  34967. },
  34968. "handlestatus": {
  34969. "description": "处理状态",
  34970. "type": "integer"
  34971. },
  34972. "logid": {
  34973. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  34974. "type": "string"
  34975. },
  34976. "marketid": {
  34977. "description": "市场ID",
  34978. "type": "integer"
  34979. },
  34980. "mmaccountid": {
  34981. "description": "做市商资金账号ID",
  34982. "type": "string"
  34983. },
  34984. "mmuserid": {
  34985. "description": "做市商用户ID",
  34986. "type": "string"
  34987. },
  34988. "rewardamount": {
  34989. "description": "奖励金额",
  34990. "type": "number"
  34991. },
  34992. "rewardmodel": {
  34993. "description": "消费奖励方式 - 1:比率 2:固定",
  34994. "type": "integer"
  34995. },
  34996. "rewardtype": {
  34997. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  34998. "type": "integer"
  34999. },
  35000. "rewardvalue": {
  35001. "description": "配置奖励值",
  35002. "type": "number"
  35003. },
  35004. "srcamount": {
  35005. "description": "成交金额 [消费奖励] (金额)",
  35006. "type": "number"
  35007. },
  35008. "srcgoodsid": {
  35009. "description": "来源商品ID [消费奖励]",
  35010. "type": "string"
  35011. },
  35012. "srctime": {
  35013. "description": "来源时间 (成交时间) [消费奖励]",
  35014. "type": "string"
  35015. },
  35016. "srctradeid": {
  35017. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  35018. "type": "string"
  35019. },
  35020. "srcuserid": {
  35021. "description": "来源用户ID(推广账户)",
  35022. "type": "string"
  35023. },
  35024. "srcusername": {
  35025. "description": "推广账户名称",
  35026. "type": "string"
  35027. },
  35028. "tradedate": {
  35029. "description": "交易日(yyyyMMdd)",
  35030. "type": "string"
  35031. },
  35032. "userid": {
  35033. "description": "经纪人用户ID",
  35034. "type": "integer"
  35035. }
  35036. }
  35037. },
  35038. "models.QhjContract": {
  35039. "type": "object",
  35040. "properties": {
  35041. "contractconfirmtime": {
  35042. "description": "合同确认时间(时间)",
  35043. "type": "string"
  35044. },
  35045. "currisklevel": {
  35046. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35047. "type": "integer"
  35048. },
  35049. "decimalplace": {
  35050. "description": "商品报价小数位",
  35051. "type": "integer"
  35052. },
  35053. "enumdicname": {
  35054. "description": "单位名称",
  35055. "type": "string"
  35056. },
  35057. "goodscode": {
  35058. "description": "商品代码",
  35059. "type": "string"
  35060. },
  35061. "goodsid": {
  35062. "description": "商品ID [5:融资单]",
  35063. "type": "integer"
  35064. },
  35065. "goodsname": {
  35066. "description": "商品名称",
  35067. "type": "string"
  35068. },
  35069. "goodunitid": {
  35070. "description": "商品单位id",
  35071. "type": "integer"
  35072. },
  35073. "initmargin": {
  35074. "description": "初始保证金(首付款)",
  35075. "type": "number"
  35076. },
  35077. "lenderamount": {
  35078. "description": "贷款金额(总额|订单总额)",
  35079. "type": "number"
  35080. },
  35081. "marginratio": {
  35082. "description": "保证金比率(首付比例)",
  35083. "type": "number"
  35084. },
  35085. "payamount": {
  35086. "description": "已付(已付货款)",
  35087. "type": "number"
  35088. },
  35089. "reckonrecovermargin": {
  35090. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35091. "type": "number"
  35092. },
  35093. "recoveredmargin": {
  35094. "description": "已追缴保证金",
  35095. "type": "number"
  35096. },
  35097. "remainamount": {
  35098. "description": "合同剩余金额(融资额)",
  35099. "type": "number"
  35100. },
  35101. "scfcontractid": {
  35102. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35103. "type": "string"
  35104. },
  35105. "scfcontractstatus": {
  35106. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  35107. "type": "integer"
  35108. },
  35109. "scfcontracttype": {
  35110. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  35111. "type": "integer"
  35112. },
  35113. "totalinterest": {
  35114. "description": "已计总利息(利息)",
  35115. "type": "number"
  35116. },
  35117. "tradeprice": {
  35118. "description": "成交价格(成本价格)",
  35119. "type": "number"
  35120. },
  35121. "userid": {
  35122. "description": "用户ID",
  35123. "type": "integer"
  35124. },
  35125. "username": {
  35126. "description": "用户名称",
  35127. "type": "string"
  35128. },
  35129. "wrqty": {
  35130. "description": "仓单数量(数量)",
  35131. "type": "number"
  35132. }
  35133. }
  35134. },
  35135. "models.QhjContractLog": {
  35136. "type": "object",
  35137. "properties": {
  35138. "amount": {
  35139. "description": "支付金额",
  35140. "type": "number"
  35141. },
  35142. "amounttype": {
  35143. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  35144. "type": "integer"
  35145. },
  35146. "logid": {
  35147. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35148. "type": "string"
  35149. },
  35150. "remainamount": {
  35151. "description": "剩余货款",
  35152. "type": "number"
  35153. },
  35154. "scfcontractid": {
  35155. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  35156. "type": "integer"
  35157. },
  35158. "updatetime": {
  35159. "description": "更新时间",
  35160. "type": "string"
  35161. }
  35162. }
  35163. },
  35164. "models.QhjCusBankSignBankEx": {
  35165. "type": "object",
  35166. "properties": {
  35167. "banklst": {
  35168. "description": "银行列表",
  35169. "type": "array",
  35170. "items": {
  35171. "$ref": "#/definitions/models.QhjBankInfo"
  35172. }
  35173. },
  35174. "canallot": {
  35175. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  35176. "type": "integer"
  35177. },
  35178. "canallotquery": {
  35179. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  35180. "type": "integer"
  35181. },
  35182. "canbindcard": {
  35183. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  35184. "type": "integer"
  35185. },
  35186. "caninamount": {
  35187. "description": "是否可入金 - 0:不可 1:可以",
  35188. "type": "integer"
  35189. },
  35190. "caninamount2": {
  35191. "description": "是否可入金(网银端) - 0:不可 1:可以",
  35192. "type": "integer"
  35193. },
  35194. "canmodifybankcard": {
  35195. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  35196. "type": "integer"
  35197. },
  35198. "canmodifyphone": {
  35199. "description": "是否可修改手机号 - 0:不可 1:可以",
  35200. "type": "integer"
  35201. },
  35202. "canmodifysigninfo": {
  35203. "description": "是否可修改签约信息 - 0:不可 1:可以",
  35204. "type": "integer"
  35205. },
  35206. "canoutamount": {
  35207. "description": "是否可出金 - 0:不可 1:可以",
  35208. "type": "integer"
  35209. },
  35210. "canoutamount2": {
  35211. "description": "是否可出金(网银端) - 0:不可 1:可以",
  35212. "type": "integer"
  35213. },
  35214. "canrelease": {
  35215. "description": "是否可解约 - 0:不可 1:可以",
  35216. "type": "integer"
  35217. },
  35218. "canrelease2": {
  35219. "description": "是否可解约(网银端) - 0:不可 1:可以",
  35220. "type": "integer"
  35221. },
  35222. "cansign": {
  35223. "description": "是否可签约 - 0:不可 1:可以",
  35224. "type": "integer"
  35225. },
  35226. "cansign2": {
  35227. "description": "是否可签约(网银端) - 0:不可 1:可以",
  35228. "type": "integer"
  35229. },
  35230. "currency": {
  35231. "description": "币种",
  35232. "type": "string"
  35233. },
  35234. "cusbankid": {
  35235. "description": "托管银行编号(对应清算中心TRAN_NO)",
  35236. "type": "string"
  35237. },
  35238. "cusbankname": {
  35239. "description": "银行业务名称",
  35240. "type": "string"
  35241. },
  35242. "cusbankshortname": {
  35243. "description": "银行业务简称",
  35244. "type": "string"
  35245. },
  35246. "exchbankid": {
  35247. "description": "交易所开户银行ID",
  35248. "type": "string"
  35249. },
  35250. "exchpaybankaccname": {
  35251. "description": "交易所支出结算账户户名",
  35252. "type": "string"
  35253. },
  35254. "exchpaybankaccno": {
  35255. "description": "交易所支出结算账户",
  35256. "type": "string"
  35257. },
  35258. "isneedcheck": {
  35259. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  35260. "type": "integer"
  35261. },
  35262. "isneedclear": {
  35263. "description": "是否需要清算 - 0:不需要 1:需要",
  35264. "type": "integer"
  35265. },
  35266. "lastcheckstatus": {
  35267. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  35268. "type": "integer"
  35269. },
  35270. "lastchecktime": {
  35271. "description": "最后对账时间",
  35272. "type": "string"
  35273. },
  35274. "lastclearstatus": {
  35275. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  35276. "type": "integer"
  35277. },
  35278. "lastcleartime": {
  35279. "description": "最后清算时间",
  35280. "type": "string"
  35281. },
  35282. "lastsignintime": {
  35283. "description": "最后签到时间",
  35284. "type": "string"
  35285. },
  35286. "lastsignouttime": {
  35287. "description": "最后签退时间",
  35288. "type": "string"
  35289. },
  35290. "riskinfo": {
  35291. "description": "签约风险提示书",
  35292. "type": "string"
  35293. },
  35294. "signstatus": {
  35295. "description": "当前签到/签退状态 - 1:签到 2:签退",
  35296. "type": "integer"
  35297. },
  35298. "tradedate": {
  35299. "description": "交易日(yyyyMMdd)",
  35300. "type": "string"
  35301. },
  35302. "updatetime": {
  35303. "description": "当前签到/签退更新时间",
  35304. "type": "string"
  35305. }
  35306. }
  35307. },
  35308. "models.QhjCustomer": {
  35309. "type": "object",
  35310. "properties": {
  35311. "address": {
  35312. "description": "通讯地址",
  35313. "type": "string"
  35314. },
  35315. "attachment1": {
  35316. "description": "附件1",
  35317. "type": "string"
  35318. },
  35319. "attachment2": {
  35320. "description": "附件2",
  35321. "type": "string"
  35322. },
  35323. "audittime": {
  35324. "description": "审核时间",
  35325. "type": "string"
  35326. },
  35327. "cardbackphotourl": {
  35328. "description": "证件反面图片地址",
  35329. "type": "string"
  35330. },
  35331. "cardfrontphotourl": {
  35332. "description": "证件正面图片地址",
  35333. "type": "string"
  35334. },
  35335. "cardnum": {
  35336. "description": "证件号码",
  35337. "type": "string"
  35338. },
  35339. "cardtype": {
  35340. "description": "证件类型",
  35341. "type": "integer"
  35342. },
  35343. "cardtypename": {
  35344. "description": "证件类型名称",
  35345. "type": "string"
  35346. },
  35347. "cityid": {
  35348. "description": "市",
  35349. "type": "integer"
  35350. },
  35351. "cityname": {
  35352. "description": "城市名称",
  35353. "type": "string"
  35354. },
  35355. "contactname": {
  35356. "description": "联系人",
  35357. "type": "string"
  35358. },
  35359. "countryid": {
  35360. "description": "国家",
  35361. "type": "integer"
  35362. },
  35363. "countryname": {
  35364. "description": "国家名称",
  35365. "type": "string"
  35366. },
  35367. "createtime": {
  35368. "description": "创建时间",
  35369. "type": "string"
  35370. },
  35371. "customername": {
  35372. "description": "客户名称",
  35373. "type": "string"
  35374. },
  35375. "districtid": {
  35376. "description": "区域",
  35377. "type": "integer"
  35378. },
  35379. "districtname": {
  35380. "description": "地区名称",
  35381. "type": "string"
  35382. },
  35383. "email": {
  35384. "description": "邮件",
  35385. "type": "string"
  35386. },
  35387. "legalpersonname": {
  35388. "description": "法人姓名(企业)",
  35389. "type": "string"
  35390. },
  35391. "logincode": {
  35392. "description": "登录账号(代码)",
  35393. "type": "string"
  35394. },
  35395. "memberuserid": {
  35396. "description": "所属机构ID(所属会员)",
  35397. "type": "integer"
  35398. },
  35399. "memberusername": {
  35400. "description": "所属会员名称",
  35401. "type": "string"
  35402. },
  35403. "mobile": {
  35404. "description": "手机号码",
  35405. "type": "string"
  35406. },
  35407. "modifytime": {
  35408. "description": "修改时间",
  35409. "type": "string"
  35410. },
  35411. "nickname": {
  35412. "description": "昵称",
  35413. "type": "string"
  35414. },
  35415. "parentuserid": {
  35416. "description": "上级机构(所属机构)",
  35417. "type": "integer"
  35418. },
  35419. "parentusername": {
  35420. "description": "所属机构名称",
  35421. "type": "string"
  35422. },
  35423. "provinceid": {
  35424. "description": "省",
  35425. "type": "integer"
  35426. },
  35427. "provincename": {
  35428. "description": "省名称",
  35429. "type": "string"
  35430. },
  35431. "proxystatementurl": {
  35432. "description": "授权委托书",
  35433. "type": "string"
  35434. },
  35435. "remark": {
  35436. "description": "备注",
  35437. "type": "string"
  35438. },
  35439. "status": {
  35440. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  35441. "type": "integer"
  35442. },
  35443. "statusdesc": {
  35444. "description": "账户状态中文描述",
  35445. "type": "string"
  35446. },
  35447. "taxpayernum": {
  35448. "description": "纳税人识别号",
  35449. "type": "string"
  35450. },
  35451. "telphone": {
  35452. "description": "联系电话",
  35453. "type": "string"
  35454. },
  35455. "userid": {
  35456. "description": "用户ID",
  35457. "type": "integer"
  35458. },
  35459. "userinfotype": {
  35460. "description": "客户类型 1-个人 2-企业",
  35461. "type": "integer"
  35462. },
  35463. "username": {
  35464. "description": "用户名称",
  35465. "type": "string"
  35466. }
  35467. }
  35468. },
  35469. "models.QhjCustomerSignLog": {
  35470. "type": "object",
  35471. "properties": {
  35472. "agreementcontent": {
  35473. "description": "协议内容",
  35474. "type": "string"
  35475. },
  35476. "agreementid": {
  35477. "description": "协议ID",
  35478. "type": "integer"
  35479. },
  35480. "agreementname": {
  35481. "description": "协议名称",
  35482. "type": "string"
  35483. },
  35484. "agreementno": {
  35485. "description": "协议编号",
  35486. "type": "string"
  35487. },
  35488. "agreementtype": {
  35489. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35490. "type": "integer"
  35491. },
  35492. "agreementversion": {
  35493. "description": "协议版本号",
  35494. "type": "integer"
  35495. },
  35496. "createtime": {
  35497. "description": "创建时间",
  35498. "type": "string"
  35499. },
  35500. "goodscode": {
  35501. "description": "商品代码",
  35502. "type": "string"
  35503. },
  35504. "goodsid": {
  35505. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35506. "type": "integer"
  35507. },
  35508. "goodsname": {
  35509. "description": "商品名称",
  35510. "type": "string"
  35511. },
  35512. "logid": {
  35513. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  35514. "type": "integer"
  35515. },
  35516. "nodetype": {
  35517. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  35518. "type": "integer"
  35519. },
  35520. "signadressurl": {
  35521. "description": "签约文件地址",
  35522. "type": "string"
  35523. },
  35524. "signtimestamp": {
  35525. "description": "签约状态时间戳",
  35526. "type": "string"
  35527. },
  35528. "userid": {
  35529. "description": "客户ID",
  35530. "type": "integer"
  35531. },
  35532. "username": {
  35533. "description": "客户名称",
  35534. "type": "string"
  35535. }
  35536. }
  35537. },
  35538. "models.QhjCustomerSignStatus": {
  35539. "type": "object",
  35540. "properties": {
  35541. "createtime": {
  35542. "description": "创建时间",
  35543. "type": "string"
  35544. },
  35545. "goodscode": {
  35546. "description": "商品代码",
  35547. "type": "string"
  35548. },
  35549. "goodsid": {
  35550. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  35551. "type": "integer"
  35552. },
  35553. "goodsname": {
  35554. "description": "商品名称",
  35555. "type": "string"
  35556. },
  35557. "nodetype": {
  35558. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  35559. "type": "integer"
  35560. },
  35561. "signtimestamp": {
  35562. "description": "签约状态时间戳",
  35563. "type": "string"
  35564. },
  35565. "tradedate": {
  35566. "description": "创建交易日(yyyyMMdd)",
  35567. "type": "string"
  35568. },
  35569. "updatetime": {
  35570. "description": "更新时间",
  35571. "type": "string"
  35572. },
  35573. "userid": {
  35574. "description": "客户ID",
  35575. "type": "integer"
  35576. },
  35577. "username": {
  35578. "description": "客户名称",
  35579. "type": "string"
  35580. }
  35581. }
  35582. },
  35583. "models.QhjMgrAccountOutInApply": {
  35584. "type": "object",
  35585. "properties": {
  35586. "accountcode": {
  35587. "description": "资金账号",
  35588. "type": "string"
  35589. },
  35590. "accountname": {
  35591. "description": "用户名称(名称)",
  35592. "type": "string"
  35593. },
  35594. "accountpwd": {
  35595. "description": "资金密码",
  35596. "type": "string"
  35597. },
  35598. "accountticket": {
  35599. "description": "最新账户服务流水号",
  35600. "type": "string"
  35601. },
  35602. "amount": {
  35603. "description": "金额",
  35604. "type": "number"
  35605. },
  35606. "applyremark": {
  35607. "description": "申请备注",
  35608. "type": "string"
  35609. },
  35610. "applystatus": {
  35611. "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: 复审通过,账户冻结金额检查中;",
  35612. "type": "integer"
  35613. },
  35614. "auditid": {
  35615. "description": "审核人",
  35616. "type": "integer"
  35617. },
  35618. "audittime": {
  35619. "description": "审核时间",
  35620. "type": "string"
  35621. },
  35622. "bank_apply_ticket": {
  35623. "description": "银行申请流水",
  35624. "type": "string"
  35625. },
  35626. "bankaccountname": {
  35627. "description": "银行账户名",
  35628. "type": "string"
  35629. },
  35630. "bankaccountno": {
  35631. "description": "银行卡号",
  35632. "type": "string"
  35633. },
  35634. "bankid": {
  35635. "description": "银行编号",
  35636. "type": "string"
  35637. },
  35638. "bankname": {
  35639. "description": "银行名称",
  35640. "type": "string"
  35641. },
  35642. "bankticket": {
  35643. "description": "银行流水",
  35644. "type": "string"
  35645. },
  35646. "branchbankid": {
  35647. "description": "银行支行号",
  35648. "type": "string"
  35649. },
  35650. "branchbankname": {
  35651. "description": "银行支行名称",
  35652. "type": "string"
  35653. },
  35654. "capamountout": {
  35655. "description": "出金(劣后本金) - 外部子账户",
  35656. "type": "number"
  35657. },
  35658. "certificatephotourl": {
  35659. "description": "凭证地址",
  35660. "type": "string"
  35661. },
  35662. "charge": {
  35663. "description": "手续费",
  35664. "type": "number"
  35665. },
  35666. "checkerrorflag": {
  35667. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  35668. "type": "integer"
  35669. },
  35670. "currency": {
  35671. "description": "币种",
  35672. "type": "string"
  35673. },
  35674. "cusbankid": {
  35675. "description": "托管银行编号",
  35676. "type": "string"
  35677. },
  35678. "exchticket": {
  35679. "description": "银行服务流水号",
  35680. "type": "string"
  35681. },
  35682. "executetype": {
  35683. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  35684. "type": "integer"
  35685. },
  35686. "extendinfo": {
  35687. "description": "扩展信息",
  35688. "type": "string"
  35689. },
  35690. "extoperateid": {
  35691. "description": "交易服务流水号",
  35692. "type": "integer"
  35693. },
  35694. "infamount": {
  35695. "description": "劣后金额(自有)",
  35696. "type": "number"
  35697. },
  35698. "logincode": {
  35699. "description": "登录账号(账号)",
  35700. "type": "string"
  35701. },
  35702. "netaddr": {
  35703. "description": "调转网址",
  35704. "type": "string"
  35705. },
  35706. "priamount": {
  35707. "description": "优先金额(授信)",
  35708. "type": "number"
  35709. },
  35710. "reauditid": {
  35711. "description": "复审人",
  35712. "type": "integer"
  35713. },
  35714. "reauditremark": {
  35715. "description": "复审备注",
  35716. "type": "string"
  35717. },
  35718. "reaudittime": {
  35719. "description": "复审时间",
  35720. "type": "string"
  35721. },
  35722. "relatedorderid": {
  35723. "description": "三方关联ID",
  35724. "type": "string"
  35725. },
  35726. "remark": {
  35727. "description": "备注",
  35728. "type": "string"
  35729. },
  35730. "remark2": {
  35731. "description": "备注(失败原因)",
  35732. "type": "string"
  35733. },
  35734. "soucreamount": {
  35735. "description": "原始出入金金额",
  35736. "type": "number"
  35737. },
  35738. "soucrecurrencyid": {
  35739. "description": "原始出入金币种",
  35740. "type": "integer"
  35741. },
  35742. "tradedate": {
  35743. "description": "交易日(yyyyMMdd)",
  35744. "type": "string"
  35745. },
  35746. "updatetime": {
  35747. "description": "更新时间(申请时间)",
  35748. "type": "string"
  35749. },
  35750. "userid": {
  35751. "description": "用户id",
  35752. "type": "integer"
  35753. },
  35754. "userinfotype": {
  35755. "description": "账户类型 1-个人 2-企业",
  35756. "type": "integer"
  35757. }
  35758. }
  35759. },
  35760. "models.QhjMgrBrokerApply": {
  35761. "type": "object",
  35762. "properties": {
  35763. "applicantid": {
  35764. "description": "申请人",
  35765. "type": "integer"
  35766. },
  35767. "applysrc": {
  35768. "description": "申请来源 - 1:管理端 2:终端",
  35769. "type": "integer"
  35770. },
  35771. "applystatus": {
  35772. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35773. "type": "integer"
  35774. },
  35775. "applytime": {
  35776. "description": "申请时间",
  35777. "type": "string"
  35778. },
  35779. "auditorid": {
  35780. "description": "审核人",
  35781. "type": "integer"
  35782. },
  35783. "auditremark": {
  35784. "description": "审核备注",
  35785. "type": "string"
  35786. },
  35787. "auditsrc": {
  35788. "description": "审核来源 - 1:管理端 2:终端",
  35789. "type": "integer"
  35790. },
  35791. "audittime": {
  35792. "description": "审核时间",
  35793. "type": "string"
  35794. },
  35795. "audittradedate": {
  35796. "description": "审核交易日(yyyyMMdd)",
  35797. "type": "string"
  35798. },
  35799. "brokerapplyid": {
  35800. "description": "申请ID(SEQ_BROKERAPPLY)",
  35801. "type": "integer"
  35802. },
  35803. "cardbackphotourl": {
  35804. "description": "证件背面图片地址",
  35805. "type": "string"
  35806. },
  35807. "cardfrontphotourl": {
  35808. "description": "证件正面图片地址",
  35809. "type": "string"
  35810. },
  35811. "cardnum": {
  35812. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35813. "type": "string"
  35814. },
  35815. "customername": {
  35816. "description": "姓名",
  35817. "type": "string"
  35818. },
  35819. "filterstatus": {
  35820. "description": "筛选条件",
  35821. "type": "string"
  35822. },
  35823. "logincode": {
  35824. "description": "登录代码",
  35825. "type": "string"
  35826. },
  35827. "mobile": {
  35828. "description": "手机号码",
  35829. "type": "string"
  35830. },
  35831. "parentuserid": {
  35832. "description": "所属机构id",
  35833. "type": "integer"
  35834. },
  35835. "parentusername": {
  35836. "description": "所属机构名称",
  35837. "type": "string"
  35838. },
  35839. "refereeuserid": {
  35840. "description": "推荐人id(经纪人)",
  35841. "type": "integer"
  35842. },
  35843. "refernum": {
  35844. "description": "推荐码",
  35845. "type": "string"
  35846. },
  35847. "remark": {
  35848. "description": "备注",
  35849. "type": "string"
  35850. },
  35851. "subarealevelpath": {
  35852. "description": "层级路径",
  35853. "type": "string"
  35854. },
  35855. "tradedate": {
  35856. "description": "交易日(yyyyMMdd)",
  35857. "type": "string"
  35858. },
  35859. "userid": {
  35860. "description": "申请人用户ID",
  35861. "type": "integer"
  35862. },
  35863. "userinfotype": {
  35864. "description": "用户类型 1-个人 2-企业",
  35865. "type": "integer"
  35866. },
  35867. "username": {
  35868. "description": "用户名称",
  35869. "type": "string"
  35870. }
  35871. }
  35872. },
  35873. "models.QhjMgrBrokerRewardReport": {
  35874. "type": "object",
  35875. "properties": {
  35876. "createtime": {
  35877. "description": "创建时间(注册时间)",
  35878. "type": "string"
  35879. },
  35880. "cycletime": {
  35881. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  35882. "type": "string"
  35883. },
  35884. "cycletype": {
  35885. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  35886. "type": "integer"
  35887. },
  35888. "directtotalnum": {
  35889. "description": "直推总人数【期末】",
  35890. "type": "integer"
  35891. },
  35892. "indirecttotalnum": {
  35893. "description": "间推总人数【期末】",
  35894. "type": "integer"
  35895. },
  35896. "mobile": {
  35897. "description": "电话号码",
  35898. "type": "string"
  35899. },
  35900. "refereeuserid": {
  35901. "description": "推荐人id(经纪人id)",
  35902. "type": "integer"
  35903. },
  35904. "refereeusername": {
  35905. "description": "推荐人名称(经纪人) 上级经纪人名称",
  35906. "type": "string"
  35907. },
  35908. "refernum": {
  35909. "description": "推荐码",
  35910. "type": "string"
  35911. },
  35912. "subarealevelpath": {
  35913. "description": "用户层级路径",
  35914. "type": "string"
  35915. },
  35916. "todayrewardamount": {
  35917. "description": "奖励总金额【汇总】",
  35918. "type": "number"
  35919. },
  35920. "updatetime": {
  35921. "description": "更新时间",
  35922. "type": "string"
  35923. },
  35924. "userid": {
  35925. "description": "经纪人用户ID",
  35926. "type": "integer"
  35927. },
  35928. "userinfotype": {
  35929. "description": "用户类型 1-个人 2-企业",
  35930. "type": "integer"
  35931. },
  35932. "username": {
  35933. "description": "用户名称",
  35934. "type": "string"
  35935. }
  35936. }
  35937. },
  35938. "models.QhjMgrContract": {
  35939. "type": "object",
  35940. "properties": {
  35941. "contractconfirmtime": {
  35942. "description": "合同确认时间(时间)",
  35943. "type": "string"
  35944. },
  35945. "currisklevel": {
  35946. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35947. "type": "integer"
  35948. },
  35949. "decimalplace": {
  35950. "description": "商品报价小数位",
  35951. "type": "integer"
  35952. },
  35953. "enumdicname": {
  35954. "description": "单位名称",
  35955. "type": "string"
  35956. },
  35957. "goodscode": {
  35958. "description": "商品代码",
  35959. "type": "string"
  35960. },
  35961. "goodsid": {
  35962. "description": "商品ID [5:融资单]",
  35963. "type": "integer"
  35964. },
  35965. "goodsname": {
  35966. "description": "商品名称",
  35967. "type": "string"
  35968. },
  35969. "goodunitid": {
  35970. "description": "商品单位id",
  35971. "type": "integer"
  35972. },
  35973. "initmargin": {
  35974. "description": "初始保证金(首付款)",
  35975. "type": "number"
  35976. },
  35977. "lenderamount": {
  35978. "description": "贷款金额(总额|订单总额)",
  35979. "type": "number"
  35980. },
  35981. "logincode": {
  35982. "description": "账号(登录代码)",
  35983. "type": "string"
  35984. },
  35985. "marginratio": {
  35986. "description": "保证金比率(首付比例)",
  35987. "type": "number"
  35988. },
  35989. "mobile": {
  35990. "description": "电话号码(用户资料里的电话)",
  35991. "type": "string"
  35992. },
  35993. "payamount": {
  35994. "description": "已付(已付货款)",
  35995. "type": "number"
  35996. },
  35997. "reckonrecovermargin": {
  35998. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  35999. "type": "number"
  36000. },
  36001. "recoveredmargin": {
  36002. "description": "已追缴保证金",
  36003. "type": "number"
  36004. },
  36005. "remainamount": {
  36006. "description": "合同剩余金额(融资额)",
  36007. "type": "number"
  36008. },
  36009. "scfcontractid": {
  36010. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36011. "type": "string"
  36012. },
  36013. "scfcontractstatus": {
  36014. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36015. "type": "integer"
  36016. },
  36017. "scfcontracttype": {
  36018. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  36019. "type": "integer"
  36020. },
  36021. "totalinterest": {
  36022. "description": "已计总利息(利息)",
  36023. "type": "number"
  36024. },
  36025. "tradedate": {
  36026. "description": "交易日",
  36027. "type": "string"
  36028. },
  36029. "tradeprice": {
  36030. "description": "成交价格(成本价格)",
  36031. "type": "number"
  36032. },
  36033. "userid": {
  36034. "description": "用户ID",
  36035. "type": "integer"
  36036. },
  36037. "userinfotype": {
  36038. "description": "用户类型 1-个人 2-企业",
  36039. "type": "integer"
  36040. },
  36041. "username": {
  36042. "description": "用户名称",
  36043. "type": "string"
  36044. },
  36045. "wrqty": {
  36046. "description": "仓单数量(数量)",
  36047. "type": "number"
  36048. }
  36049. }
  36050. },
  36051. "models.QhjMgrCustomer": {
  36052. "type": "object",
  36053. "properties": {
  36054. "address": {
  36055. "description": "通讯地址",
  36056. "type": "string"
  36057. },
  36058. "attachment1": {
  36059. "description": "附件1",
  36060. "type": "string"
  36061. },
  36062. "audittime": {
  36063. "description": "审核时间",
  36064. "type": "string"
  36065. },
  36066. "birthday": {
  36067. "description": "生日",
  36068. "type": "string"
  36069. },
  36070. "brokerid": {
  36071. "description": "所属客户经理id",
  36072. "type": "integer"
  36073. },
  36074. "brokername": {
  36075. "description": "所属客户经理名称",
  36076. "type": "string"
  36077. },
  36078. "cardbackphotourl": {
  36079. "description": "证件反面图片地址",
  36080. "type": "string"
  36081. },
  36082. "cardfrontphotourl": {
  36083. "description": "证件正面图片地址",
  36084. "type": "string"
  36085. },
  36086. "cardnum": {
  36087. "description": "证件号码",
  36088. "type": "string"
  36089. },
  36090. "cardtype": {
  36091. "description": "证件类型",
  36092. "type": "integer"
  36093. },
  36094. "cardtypename": {
  36095. "description": "证件类型名称",
  36096. "type": "string"
  36097. },
  36098. "cityid": {
  36099. "description": "市",
  36100. "type": "integer"
  36101. },
  36102. "cityname": {
  36103. "description": "城市名称",
  36104. "type": "string"
  36105. },
  36106. "contactname": {
  36107. "description": "联系人",
  36108. "type": "string"
  36109. },
  36110. "countryid": {
  36111. "description": "国家",
  36112. "type": "integer"
  36113. },
  36114. "countryname": {
  36115. "description": "国家名称",
  36116. "type": "string"
  36117. },
  36118. "createtime": {
  36119. "description": "创建时间",
  36120. "type": "string"
  36121. },
  36122. "customername": {
  36123. "description": "客户名称",
  36124. "type": "string"
  36125. },
  36126. "districtid": {
  36127. "description": "区域",
  36128. "type": "integer"
  36129. },
  36130. "districtname": {
  36131. "description": "地区名称",
  36132. "type": "string"
  36133. },
  36134. "email": {
  36135. "description": "邮件",
  36136. "type": "string"
  36137. },
  36138. "legalpersonname": {
  36139. "description": "法人姓名(企业)",
  36140. "type": "string"
  36141. },
  36142. "logincode": {
  36143. "description": "登录账号(代码)",
  36144. "type": "string"
  36145. },
  36146. "memberuserid": {
  36147. "description": "所属机构ID(所属会员)",
  36148. "type": "integer"
  36149. },
  36150. "memberusername": {
  36151. "description": "所属会员名称",
  36152. "type": "string"
  36153. },
  36154. "mobile": {
  36155. "description": "手机号码",
  36156. "type": "string"
  36157. },
  36158. "modifytime": {
  36159. "description": "修改时间",
  36160. "type": "string"
  36161. },
  36162. "nickname": {
  36163. "description": "昵称",
  36164. "type": "string"
  36165. },
  36166. "parentuserid": {
  36167. "description": "上级机构(所属机构)",
  36168. "type": "integer"
  36169. },
  36170. "parentusername": {
  36171. "description": "所属机构名称",
  36172. "type": "string"
  36173. },
  36174. "provinceid": {
  36175. "description": "省",
  36176. "type": "integer"
  36177. },
  36178. "provincename": {
  36179. "description": "省名称",
  36180. "type": "string"
  36181. },
  36182. "proxystatementurl": {
  36183. "description": "授权委托书",
  36184. "type": "string"
  36185. },
  36186. "querytype": {
  36187. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  36188. "type": "integer"
  36189. },
  36190. "remark": {
  36191. "description": "备注",
  36192. "type": "string"
  36193. },
  36194. "sex": {
  36195. "description": "性别 0-女 1-男",
  36196. "type": "integer"
  36197. },
  36198. "status": {
  36199. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36200. "type": "integer"
  36201. },
  36202. "statusdesc": {
  36203. "description": "账户状态中文描述",
  36204. "type": "string"
  36205. },
  36206. "taxpayernum": {
  36207. "description": "纳税人识别号",
  36208. "type": "string"
  36209. },
  36210. "telphone": {
  36211. "description": "联系电话",
  36212. "type": "string"
  36213. },
  36214. "userid": {
  36215. "description": "用户ID",
  36216. "type": "integer"
  36217. },
  36218. "userinfotype": {
  36219. "description": "客户类型 1-个人 2-企业",
  36220. "type": "integer"
  36221. },
  36222. "username": {
  36223. "description": "用户名称",
  36224. "type": "string"
  36225. }
  36226. }
  36227. },
  36228. "models.QhjMgrPickGoods": {
  36229. "type": "object",
  36230. "properties": {
  36231. "enumdicname": {
  36232. "description": "单位名称(提货商品)",
  36233. "type": "string"
  36234. },
  36235. "goodsid": {
  36236. "description": "商品id",
  36237. "type": "integer"
  36238. },
  36239. "imageaddress": {
  36240. "description": "图片",
  36241. "type": "string"
  36242. },
  36243. "modifierid": {
  36244. "description": "修改人",
  36245. "type": "integer"
  36246. },
  36247. "modifiername": {
  36248. "description": "修改人名称",
  36249. "type": "string"
  36250. },
  36251. "modifysrc": {
  36252. "description": "修改来源 - 1:管理端 2:终端",
  36253. "type": "integer"
  36254. },
  36255. "pickupgoodsagreeunit": {
  36256. "description": "合约乘数",
  36257. "type": "number"
  36258. },
  36259. "pickupgoodsdesc": {
  36260. "description": "描述",
  36261. "type": "string"
  36262. },
  36263. "pickupgoodsid": {
  36264. "description": "提货商品ID",
  36265. "type": "string"
  36266. },
  36267. "pickupgoodsname": {
  36268. "description": "提货商品名称",
  36269. "type": "string"
  36270. },
  36271. "pickupgoodsstatus": {
  36272. "description": "状态 - 1:正常 2:停用 3:注销",
  36273. "type": "integer"
  36274. },
  36275. "pickupgoodsunitid": {
  36276. "description": "单位ID",
  36277. "type": "integer"
  36278. },
  36279. "pickupratio": {
  36280. "description": "提货系数",
  36281. "type": "number"
  36282. },
  36283. "preparedays": {
  36284. "description": "备货期(天)",
  36285. "type": "integer"
  36286. },
  36287. "remark": {
  36288. "description": "备注",
  36289. "type": "string"
  36290. },
  36291. "updatetime": {
  36292. "description": "更新时间",
  36293. "type": "string"
  36294. }
  36295. }
  36296. },
  36297. "models.QhjMgrPositionRsp": {
  36298. "type": "object",
  36299. "properties": {
  36300. "accountid": {
  36301. "description": "账号Id",
  36302. "type": "integer"
  36303. },
  36304. "accountname": {
  36305. "description": "用户名称",
  36306. "type": "string"
  36307. },
  36308. "agreeunit": {
  36309. "description": "合约乘数",
  36310. "type": "number"
  36311. },
  36312. "averageprice": {
  36313. "description": "均价",
  36314. "type": "number"
  36315. },
  36316. "avialqty": {
  36317. "description": "可用数量",
  36318. "type": "number"
  36319. },
  36320. "decimalplace": {
  36321. "description": "报价小数位",
  36322. "type": "integer"
  36323. },
  36324. "enumdicname": {
  36325. "description": "单位名称(商品)",
  36326. "type": "string"
  36327. },
  36328. "frozenqty": {
  36329. "description": "冻结数量",
  36330. "type": "number"
  36331. },
  36332. "goodscode": {
  36333. "description": "商品代码(内部)",
  36334. "type": "string"
  36335. },
  36336. "goodsid": {
  36337. "description": "商品Id",
  36338. "type": "integer"
  36339. },
  36340. "goodsname": {
  36341. "description": "商品名称",
  36342. "type": "string"
  36343. },
  36344. "goodunitid": {
  36345. "description": "报价单位ID",
  36346. "type": "integer"
  36347. },
  36348. "holderamount": {
  36349. "description": "金额",
  36350. "type": "number"
  36351. },
  36352. "holderqty": {
  36353. "description": "持有数量",
  36354. "type": "number"
  36355. },
  36356. "holdertype": {
  36357. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  36358. "type": "integer"
  36359. },
  36360. "logincode": {
  36361. "description": "登录代码(账户)",
  36362. "type": "string"
  36363. },
  36364. "marketid": {
  36365. "description": "市场id",
  36366. "type": "integer"
  36367. },
  36368. "qtydecimalplace": {
  36369. "description": "成交量小数位",
  36370. "type": "integer"
  36371. },
  36372. "trademode": {
  36373. "description": "交易模式",
  36374. "type": "integer"
  36375. },
  36376. "userid": {
  36377. "description": "用户id",
  36378. "type": "integer"
  36379. },
  36380. "userinfotype": {
  36381. "description": "账户类型 1-个人 2-企业",
  36382. "type": "integer"
  36383. }
  36384. }
  36385. },
  36386. "models.QhjMgrSubArea": {
  36387. "type": "object",
  36388. "properties": {
  36389. "accountname": {
  36390. "description": "账户名称(机构名称)",
  36391. "type": "string"
  36392. },
  36393. "memberuserid": {
  36394. "description": "所属会员ID",
  36395. "type": "integer"
  36396. },
  36397. "parenttopuser": {
  36398. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  36399. "type": "string"
  36400. },
  36401. "parentuserid": {
  36402. "description": "所属机构ID",
  36403. "type": "integer"
  36404. },
  36405. "rootuserid": {
  36406. "description": "根用户ID",
  36407. "type": "string"
  36408. },
  36409. "subaccountlevel": {
  36410. "description": "子账户层数",
  36411. "type": "integer"
  36412. },
  36413. "subarealevelpath": {
  36414. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  36415. "type": "string"
  36416. },
  36417. "userid": {
  36418. "description": "用户ID",
  36419. "type": "integer"
  36420. },
  36421. "usertype": {
  36422. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36423. "type": "integer"
  36424. }
  36425. }
  36426. },
  36427. "models.QhjMgrTradeDetailRsp": {
  36428. "type": "object",
  36429. "properties": {
  36430. "accountid": {
  36431. "description": "资金账号",
  36432. "type": "integer"
  36433. },
  36434. "accountname": {
  36435. "description": "用户名称",
  36436. "type": "string"
  36437. },
  36438. "agreeunit": {
  36439. "description": "合约乘数",
  36440. "type": "number"
  36441. },
  36442. "buyorsell": {
  36443. "description": "成交类型(方向) 0:买 1:卖",
  36444. "type": "integer"
  36445. },
  36446. "decimalplace": {
  36447. "description": "报价小数位",
  36448. "type": "integer"
  36449. },
  36450. "enumdicname": {
  36451. "description": "单位名称(商品)",
  36452. "type": "string"
  36453. },
  36454. "goodscode": {
  36455. "description": "商品代码(内部)",
  36456. "type": "string"
  36457. },
  36458. "goodsid": {
  36459. "description": "商品id",
  36460. "type": "integer"
  36461. },
  36462. "goodsname": {
  36463. "description": "商品名称",
  36464. "type": "string"
  36465. },
  36466. "goodunitid": {
  36467. "description": "报价单位ID",
  36468. "type": "integer"
  36469. },
  36470. "logincode": {
  36471. "description": "登录代码(账户)",
  36472. "type": "string"
  36473. },
  36474. "marketid": {
  36475. "description": "市场id",
  36476. "type": "integer"
  36477. },
  36478. "orderid": {
  36479. "description": "关联委托单号",
  36480. "type": "string"
  36481. },
  36482. "qtydecimalplace": {
  36483. "description": "成交量小数位",
  36484. "type": "integer"
  36485. },
  36486. "tradeamount": {
  36487. "description": "金额",
  36488. "type": "number"
  36489. },
  36490. "tradedate": {
  36491. "description": "交易日",
  36492. "type": "string"
  36493. },
  36494. "tradeid": {
  36495. "description": "成交单号",
  36496. "type": "string"
  36497. },
  36498. "trademode": {
  36499. "description": "交易模式",
  36500. "type": "integer"
  36501. },
  36502. "tradeprice": {
  36503. "description": "价格",
  36504. "type": "number"
  36505. },
  36506. "tradeqty": {
  36507. "description": "数量",
  36508. "type": "number"
  36509. },
  36510. "tradetime": {
  36511. "description": "成交时间",
  36512. "type": "string"
  36513. },
  36514. "userid": {
  36515. "description": "用户id",
  36516. "type": "integer"
  36517. },
  36518. "userinfotype": {
  36519. "description": "账户类型 1-个人 2-企业",
  36520. "type": "integer"
  36521. }
  36522. }
  36523. },
  36524. "models.QhjMgrTradeOrderDetailRsp": {
  36525. "type": "object",
  36526. "properties": {
  36527. "accountid": {
  36528. "description": "资金账号",
  36529. "type": "integer"
  36530. },
  36531. "accountname": {
  36532. "description": "用户名称",
  36533. "type": "string"
  36534. },
  36535. "agreeunit": {
  36536. "description": "合约乘数",
  36537. "type": "number"
  36538. },
  36539. "amount": {
  36540. "description": "金额",
  36541. "type": "number"
  36542. },
  36543. "decimalplace": {
  36544. "description": "报价小数位",
  36545. "type": "integer"
  36546. },
  36547. "enumdicname": {
  36548. "description": "单位名称(商品)",
  36549. "type": "string"
  36550. },
  36551. "goodscode": {
  36552. "description": "商品代码(内部)",
  36553. "type": "string"
  36554. },
  36555. "goodsid": {
  36556. "description": "商品id",
  36557. "type": "integer"
  36558. },
  36559. "goodsname": {
  36560. "description": "商品名称",
  36561. "type": "string"
  36562. },
  36563. "goodunitid": {
  36564. "description": "报价单位ID",
  36565. "type": "integer"
  36566. },
  36567. "logincode": {
  36568. "description": "登录代码(账户)",
  36569. "type": "string"
  36570. },
  36571. "marketid": {
  36572. "description": "市场id",
  36573. "type": "integer"
  36574. },
  36575. "orderid": {
  36576. "description": "关联委托单号",
  36577. "type": "string"
  36578. },
  36579. "orderprice": {
  36580. "description": "价格",
  36581. "type": "number"
  36582. },
  36583. "orderqty": {
  36584. "description": "数量",
  36585. "type": "number"
  36586. },
  36587. "orderstatus": {
  36588. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  36589. "type": "integer"
  36590. },
  36591. "ordertime": {
  36592. "description": "委托时间",
  36593. "type": "string"
  36594. },
  36595. "qtydecimalplace": {
  36596. "description": "成交量小数位",
  36597. "type": "integer"
  36598. },
  36599. "tradedate": {
  36600. "description": "交易日",
  36601. "type": "string"
  36602. },
  36603. "trademode": {
  36604. "description": "交易模式",
  36605. "type": "integer"
  36606. },
  36607. "userid": {
  36608. "description": "用户id",
  36609. "type": "integer"
  36610. },
  36611. "userinfotype": {
  36612. "description": "账户类型 1-个人 2-企业",
  36613. "type": "integer"
  36614. }
  36615. }
  36616. },
  36617. "models.QhjMgrTradePayOrder": {
  36618. "type": "object",
  36619. "properties": {
  36620. "accountname": {
  36621. "description": "用户名称",
  36622. "type": "string"
  36623. },
  36624. "advanceratio": {
  36625. "description": "首付比率",
  36626. "type": "number"
  36627. },
  36628. "agreeunit": {
  36629. "description": "合约乘数",
  36630. "type": "number"
  36631. },
  36632. "buyaccountid": {
  36633. "description": "买方账号ID[报价币种]",
  36634. "type": "integer"
  36635. },
  36636. "buyorderid": {
  36637. "description": "买方委托单号(关联单号)",
  36638. "type": "string"
  36639. },
  36640. "createtime": {
  36641. "description": "创建时间",
  36642. "type": "string"
  36643. },
  36644. "decimalplace": {
  36645. "description": "报价小数位",
  36646. "type": "integer"
  36647. },
  36648. "enumdicname": {
  36649. "description": "单位名称(商品)",
  36650. "type": "string"
  36651. },
  36652. "goodscode": {
  36653. "description": "商品代码(内部)",
  36654. "type": "string"
  36655. },
  36656. "goodsid": {
  36657. "description": "商品ID",
  36658. "type": "integer"
  36659. },
  36660. "goodsname": {
  36661. "description": "商品名称",
  36662. "type": "string"
  36663. },
  36664. "goodunitid": {
  36665. "description": "报价单位ID",
  36666. "type": "integer"
  36667. },
  36668. "logincode": {
  36669. "description": "登录代码(账户)",
  36670. "type": "string"
  36671. },
  36672. "marketid": {
  36673. "description": "市场id",
  36674. "type": "integer"
  36675. },
  36676. "offamount": {
  36677. "description": "优惠金额",
  36678. "type": "number"
  36679. },
  36680. "operatetype": {
  36681. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36682. "type": "integer"
  36683. },
  36684. "payamount": {
  36685. "description": "支付金额(金额)",
  36686. "type": "number"
  36687. },
  36688. "payflag": {
  36689. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36690. "type": "integer"
  36691. },
  36692. "paylimitedtime": {
  36693. "description": "支付期限",
  36694. "type": "string"
  36695. },
  36696. "paytime": {
  36697. "description": "付款时间",
  36698. "type": "string"
  36699. },
  36700. "qtydecimalplace": {
  36701. "description": "成交量小数位",
  36702. "type": "integer"
  36703. },
  36704. "sellaccountid": {
  36705. "description": "卖方账号ID[报价币种]",
  36706. "type": "integer"
  36707. },
  36708. "sellorderid": {
  36709. "description": "卖方委托单号",
  36710. "type": "string"
  36711. },
  36712. "tradeamount": {
  36713. "description": "成交金额(优惠后金额)",
  36714. "type": "number"
  36715. },
  36716. "tradecharge": {
  36717. "description": "成交手续费(买方)",
  36718. "type": "number"
  36719. },
  36720. "tradedate": {
  36721. "description": "交易日(yyyyMMdd)",
  36722. "type": "string"
  36723. },
  36724. "tradeid": {
  36725. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36726. "type": "string"
  36727. },
  36728. "trademode": {
  36729. "description": "交易模式",
  36730. "type": "integer"
  36731. },
  36732. "tradeprice": {
  36733. "description": "成交价格(价格)",
  36734. "type": "number"
  36735. },
  36736. "tradeqty": {
  36737. "description": "成交数量(数量)",
  36738. "type": "number"
  36739. },
  36740. "tradetime": {
  36741. "description": "成交时间",
  36742. "type": "string"
  36743. },
  36744. "userid": {
  36745. "description": "用户id",
  36746. "type": "integer"
  36747. },
  36748. "userinfotype": {
  36749. "description": "账户类型 1-个人 2-企业",
  36750. "type": "integer"
  36751. }
  36752. }
  36753. },
  36754. "models.QhjMyTeamEx": {
  36755. "type": "object",
  36756. "properties": {
  36757. "accountname": {
  36758. "description": "用户名称",
  36759. "type": "string"
  36760. },
  36761. "accountstatus": {
  36762. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  36763. "type": "integer"
  36764. },
  36765. "createtime": {
  36766. "description": "创建时间",
  36767. "type": "string"
  36768. },
  36769. "mobile": {
  36770. "description": "手机号码",
  36771. "type": "string"
  36772. },
  36773. "refereeuserid": {
  36774. "description": "推荐人id",
  36775. "type": "integer"
  36776. },
  36777. "refernum": {
  36778. "description": "推荐码",
  36779. "type": "string"
  36780. },
  36781. "subList": {
  36782. "type": "array",
  36783. "items": {
  36784. "$ref": "#/definitions/models.QhjMyTeamEx"
  36785. }
  36786. },
  36787. "userid": {
  36788. "description": "用户id",
  36789. "type": "integer"
  36790. },
  36791. "userinfotype": {
  36792. "description": "用户类型 1-个人 2-企业",
  36793. "type": "integer"
  36794. }
  36795. }
  36796. },
  36797. "models.QhjNodeAgreementConfig": {
  36798. "type": "object",
  36799. "properties": {
  36800. "agreementcontent": {
  36801. "description": "协议内容",
  36802. "type": "string"
  36803. },
  36804. "agreementid": {
  36805. "description": "协议ID",
  36806. "type": "integer"
  36807. },
  36808. "agreementname": {
  36809. "description": "协议名称",
  36810. "type": "string"
  36811. },
  36812. "agreementno": {
  36813. "description": "协议编号",
  36814. "type": "string"
  36815. },
  36816. "agreementtype": {
  36817. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36818. "type": "integer"
  36819. },
  36820. "agreementversion": {
  36821. "description": "协议版本号",
  36822. "type": "integer"
  36823. },
  36824. "configid": {
  36825. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  36826. "type": "integer"
  36827. },
  36828. "createtime": {
  36829. "description": "创建时间",
  36830. "type": "string"
  36831. },
  36832. "goodsid": {
  36833. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36834. "type": "integer"
  36835. },
  36836. "nodetype": {
  36837. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36838. "type": "integer"
  36839. }
  36840. }
  36841. },
  36842. "models.QhjParentAreaList": {
  36843. "type": "object",
  36844. "properties": {
  36845. "accountname": {
  36846. "description": "账户名称(机构名称)",
  36847. "type": "string"
  36848. },
  36849. "userid": {
  36850. "description": "用户ID",
  36851. "type": "integer"
  36852. },
  36853. "usertype": {
  36854. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  36855. "type": "integer"
  36856. }
  36857. }
  36858. },
  36859. "models.QhjPayOrder": {
  36860. "type": "object",
  36861. "properties": {
  36862. "advanceratio": {
  36863. "description": "首付比率",
  36864. "type": "number"
  36865. },
  36866. "buyaccountid": {
  36867. "description": "买方账号ID[报价币种]",
  36868. "type": "integer"
  36869. },
  36870. "buyorderid": {
  36871. "description": "买方委托单号",
  36872. "type": "string"
  36873. },
  36874. "createtime": {
  36875. "description": "创建时间",
  36876. "type": "string"
  36877. },
  36878. "decimalplace": {
  36879. "description": "商品报价小数位",
  36880. "type": "integer"
  36881. },
  36882. "enumdicname": {
  36883. "description": "单位名称",
  36884. "type": "string"
  36885. },
  36886. "goodscode": {
  36887. "description": "商品代码",
  36888. "type": "string"
  36889. },
  36890. "goodsid": {
  36891. "description": "商品ID",
  36892. "type": "integer"
  36893. },
  36894. "goodsname": {
  36895. "description": "商品名称",
  36896. "type": "string"
  36897. },
  36898. "goodunitid": {
  36899. "description": "商品单位id",
  36900. "type": "integer"
  36901. },
  36902. "marketid": {
  36903. "description": "市场ID",
  36904. "type": "integer"
  36905. },
  36906. "offamount": {
  36907. "description": "优惠金额",
  36908. "type": "number"
  36909. },
  36910. "operatetype": {
  36911. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  36912. "type": "integer"
  36913. },
  36914. "payamount": {
  36915. "description": "支付金额",
  36916. "type": "number"
  36917. },
  36918. "payflag": {
  36919. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  36920. "type": "integer"
  36921. },
  36922. "paylimitedtime": {
  36923. "description": "支付期限",
  36924. "type": "string"
  36925. },
  36926. "paytime": {
  36927. "description": "付款时间",
  36928. "type": "string"
  36929. },
  36930. "qtydecimalplace": {
  36931. "description": "成交量小数位",
  36932. "type": "integer"
  36933. },
  36934. "sellaccountid": {
  36935. "description": "卖方账号ID[报价币种]",
  36936. "type": "integer"
  36937. },
  36938. "sellorderid": {
  36939. "description": "卖方委托单号",
  36940. "type": "string"
  36941. },
  36942. "tradeamount": {
  36943. "description": "成交金额(优惠后金额)",
  36944. "type": "number"
  36945. },
  36946. "tradecharge": {
  36947. "description": "成交手续费(买方)",
  36948. "type": "number"
  36949. },
  36950. "tradedate": {
  36951. "description": "交易日(yyyyMMdd)",
  36952. "type": "string"
  36953. },
  36954. "tradeid": {
  36955. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36956. "type": "string"
  36957. },
  36958. "tradeprice": {
  36959. "description": "成交价格",
  36960. "type": "number"
  36961. },
  36962. "tradeqty": {
  36963. "description": "成交数量",
  36964. "type": "number"
  36965. }
  36966. }
  36967. },
  36968. "models.QhjPickArea": {
  36969. "type": "object",
  36970. "properties": {
  36971. "address": {
  36972. "description": "详细地址",
  36973. "type": "string"
  36974. },
  36975. "cityid": {
  36976. "description": "市",
  36977. "type": "integer"
  36978. },
  36979. "cityname": {
  36980. "description": "城市名称",
  36981. "type": "string"
  36982. },
  36983. "countryid": {
  36984. "description": "国家",
  36985. "type": "integer"
  36986. },
  36987. "countryname": {
  36988. "description": "国家名称",
  36989. "type": "string"
  36990. },
  36991. "districtid": {
  36992. "description": "地区",
  36993. "type": "integer"
  36994. },
  36995. "districtname": {
  36996. "description": "地区名称",
  36997. "type": "string"
  36998. },
  36999. "fromuserid": {
  37000. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  37001. "type": "integer"
  37002. },
  37003. "fromusername": {
  37004. "description": "所属机构名称",
  37005. "type": "string"
  37006. },
  37007. "provinceid": {
  37008. "description": "省",
  37009. "type": "integer"
  37010. },
  37011. "provincename": {
  37012. "description": "省名称",
  37013. "type": "string"
  37014. },
  37015. "suborgtype": {
  37016. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  37017. "type": "integer"
  37018. },
  37019. "userid": {
  37020. "description": "机构用户ID 其他做市关系,都设置为 1",
  37021. "type": "integer"
  37022. },
  37023. "username": {
  37024. "description": "机构用户名称(门店门称)",
  37025. "type": "string"
  37026. }
  37027. }
  37028. },
  37029. "models.QhjPickGoods": {
  37030. "type": "object",
  37031. "properties": {
  37032. "enumdicname": {
  37033. "description": "单位名称(提货商品)",
  37034. "type": "string"
  37035. },
  37036. "goodsid": {
  37037. "description": "商品id",
  37038. "type": "integer"
  37039. },
  37040. "imageaddress": {
  37041. "description": "图片",
  37042. "type": "string"
  37043. },
  37044. "modifierid": {
  37045. "description": "修改人",
  37046. "type": "integer"
  37047. },
  37048. "modifiername": {
  37049. "description": "修改人名称",
  37050. "type": "string"
  37051. },
  37052. "modifysrc": {
  37053. "description": "修改来源 - 1:管理端 2:终端",
  37054. "type": "integer"
  37055. },
  37056. "pickupgoodsagreeunit": {
  37057. "description": "合约乘数",
  37058. "type": "number"
  37059. },
  37060. "pickupgoodsdesc": {
  37061. "description": "描述",
  37062. "type": "string"
  37063. },
  37064. "pickupgoodsid": {
  37065. "description": "提货商品ID",
  37066. "type": "string"
  37067. },
  37068. "pickupgoodsname": {
  37069. "description": "提货商品名称",
  37070. "type": "string"
  37071. },
  37072. "pickupgoodsstatus": {
  37073. "description": "状态 - 1:正常 2:停用 3:注销",
  37074. "type": "integer"
  37075. },
  37076. "pickupgoodsunitid": {
  37077. "description": "单位ID",
  37078. "type": "integer"
  37079. },
  37080. "pickupratio": {
  37081. "description": "提货系数",
  37082. "type": "number"
  37083. },
  37084. "preparedays": {
  37085. "description": "备货期(天)",
  37086. "type": "integer"
  37087. },
  37088. "remark": {
  37089. "description": "备注",
  37090. "type": "string"
  37091. },
  37092. "updatetime": {
  37093. "description": "更新时间",
  37094. "type": "string"
  37095. }
  37096. }
  37097. },
  37098. "models.QhjRSTriggerLog": {
  37099. "type": "object",
  37100. "properties": {
  37101. "accountid": {
  37102. "description": "用户资金账户",
  37103. "type": "integer"
  37104. },
  37105. "accountname": {
  37106. "description": "账号名称(ACCOUNTID对应的名称)",
  37107. "type": "string"
  37108. },
  37109. "currencyid": {
  37110. "description": "币种id",
  37111. "type": "integer"
  37112. },
  37113. "currencyname": {
  37114. "description": "币种名称",
  37115. "type": "string"
  37116. },
  37117. "decimalplace": {
  37118. "description": "商品报价小数位",
  37119. "type": "integer"
  37120. },
  37121. "enumdicname": {
  37122. "description": "单位名称",
  37123. "type": "string"
  37124. },
  37125. "goodscode": {
  37126. "description": "定投商品代码",
  37127. "type": "string"
  37128. },
  37129. "goodsid": {
  37130. "description": "定投商品ID",
  37131. "type": "integer"
  37132. },
  37133. "goodsname": {
  37134. "description": "定投商品名称",
  37135. "type": "string"
  37136. },
  37137. "goodunitid": {
  37138. "description": "定投商品单位id",
  37139. "type": "integer"
  37140. },
  37141. "logid": {
  37142. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  37143. "type": "string"
  37144. },
  37145. "logincode": {
  37146. "description": "账号(登录代码)",
  37147. "type": "string"
  37148. },
  37149. "qtydecimalplace": {
  37150. "description": "成交量小数位",
  37151. "type": "integer"
  37152. },
  37153. "regularlycycle": {
  37154. "description": "定投频率 - 1:每周 2:每月",
  37155. "type": "integer"
  37156. },
  37157. "regularlycyclevalue": {
  37158. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  37159. "type": "string"
  37160. },
  37161. "regularlymode": {
  37162. "description": "定投方式 - 1:按数量 2:按金额",
  37163. "type": "integer"
  37164. },
  37165. "regularlymodevalue": {
  37166. "description": "定投方式值 - 数量或金额",
  37167. "type": "number"
  37168. },
  37169. "regularlystrategyid": {
  37170. "description": "定投策略ID",
  37171. "type": "integer"
  37172. },
  37173. "retcode": {
  37174. "description": "错误码",
  37175. "type": "string"
  37176. },
  37177. "tradeid": {
  37178. "description": "成交单ID",
  37179. "type": "string"
  37180. },
  37181. "triggeramount": {
  37182. "description": "触发金额",
  37183. "type": "number"
  37184. },
  37185. "triggerqty": {
  37186. "description": "触发数量",
  37187. "type": "number"
  37188. },
  37189. "triggerstatus": {
  37190. "description": "触发状态 - 1:成功 2:失败",
  37191. "type": "integer"
  37192. },
  37193. "triggertime": {
  37194. "description": "触发时间",
  37195. "type": "string"
  37196. },
  37197. "triggertradedate": {
  37198. "description": "触发交易日",
  37199. "type": "string"
  37200. },
  37201. "userid": {
  37202. "description": "所属用户ID",
  37203. "type": "integer"
  37204. },
  37205. "userinfotype": {
  37206. "description": "用户类型 1-个人 2-企业",
  37207. "type": "integer"
  37208. },
  37209. "username": {
  37210. "description": "用户名称(userid对应的名称)",
  37211. "type": "string"
  37212. }
  37213. }
  37214. },
  37215. "models.QhjRStrategy": {
  37216. "type": "object",
  37217. "properties": {
  37218. "accountid": {
  37219. "description": "用户资金账户",
  37220. "type": "integer"
  37221. },
  37222. "accountname": {
  37223. "description": "账号名称(ACCOUNTID对应的名称)",
  37224. "type": "string"
  37225. },
  37226. "currencyid": {
  37227. "description": "币种id",
  37228. "type": "integer"
  37229. },
  37230. "currencyname": {
  37231. "description": "币种名称",
  37232. "type": "string"
  37233. },
  37234. "decimalplace": {
  37235. "description": "商品报价小数位",
  37236. "type": "integer"
  37237. },
  37238. "enumdicname": {
  37239. "description": "单位名称",
  37240. "type": "string"
  37241. },
  37242. "goodscode": {
  37243. "description": "定投商品代码",
  37244. "type": "string"
  37245. },
  37246. "goodsid": {
  37247. "description": "定投商品ID",
  37248. "type": "integer"
  37249. },
  37250. "goodsname": {
  37251. "description": "定投商品名称",
  37252. "type": "string"
  37253. },
  37254. "goodunitid": {
  37255. "description": "定投商品单位id",
  37256. "type": "integer"
  37257. },
  37258. "lasteffecttradedate": {
  37259. "description": "最新生效交易日",
  37260. "type": "string"
  37261. },
  37262. "laststoptradedate": {
  37263. "description": "最新暂停交易日",
  37264. "type": "string"
  37265. },
  37266. "lasttriggertradedate": {
  37267. "description": "最新触发交易日",
  37268. "type": "string"
  37269. },
  37270. "logincode": {
  37271. "description": "账号(登录代码)",
  37272. "type": "string"
  37273. },
  37274. "nexttriggeramount": {
  37275. "description": "下次触发金额",
  37276. "type": "number"
  37277. },
  37278. "nexttriggerdate": {
  37279. "description": "下次触发日期",
  37280. "type": "string"
  37281. },
  37282. "nexttriggerqty": {
  37283. "description": "下次触发数量 [按小数位放大值]",
  37284. "type": "number"
  37285. },
  37286. "qtydecimalplace": {
  37287. "description": "成交量小数位",
  37288. "type": "integer"
  37289. },
  37290. "regularlycycle": {
  37291. "description": "定投频率 - 1:每周 2:每月",
  37292. "type": "integer"
  37293. },
  37294. "regularlycyclevalue": {
  37295. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  37296. "type": "string"
  37297. },
  37298. "regularlymode": {
  37299. "description": "定投方式 - 1:按数量 2:按金额",
  37300. "type": "integer"
  37301. },
  37302. "regularlymodevalue": {
  37303. "description": "定投方式值 - 数量或金额",
  37304. "type": "number"
  37305. },
  37306. "regularlystrategyid": {
  37307. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  37308. "type": "integer"
  37309. },
  37310. "regularlystrategystatus": {
  37311. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  37312. "type": "integer"
  37313. },
  37314. "remark": {
  37315. "description": "备注",
  37316. "type": "string"
  37317. },
  37318. "triggersuccesstimes": {
  37319. "description": "累计定投成功次数",
  37320. "type": "string"
  37321. },
  37322. "triggertotalamount": {
  37323. "description": "累计定投金额(成功)",
  37324. "type": "number"
  37325. },
  37326. "triggertotalqty": {
  37327. "description": "累计定投数量(成功) [按小数位放大值]",
  37328. "type": "number"
  37329. },
  37330. "triggertotaltimes": {
  37331. "description": "累计定投总次数",
  37332. "type": "string"
  37333. },
  37334. "updatesrc": {
  37335. "description": "更新来源 - 1:管理端 2:终端",
  37336. "type": "integer"
  37337. },
  37338. "updatetime": {
  37339. "description": "更新时间",
  37340. "type": "string"
  37341. },
  37342. "updatorid": {
  37343. "description": "更新人",
  37344. "type": "string"
  37345. },
  37346. "userid": {
  37347. "description": "所属用户ID",
  37348. "type": "integer"
  37349. },
  37350. "userinfotype": {
  37351. "description": "用户类型 1-个人 2-企业",
  37352. "type": "integer"
  37353. },
  37354. "username": {
  37355. "description": "用户名称(userid对应的名称)",
  37356. "type": "string"
  37357. }
  37358. }
  37359. },
  37360. "models.QhjReckonPriceLog": {
  37361. "type": "object",
  37362. "properties": {
  37363. "decimalplace": {
  37364. "description": "商品报价小数位",
  37365. "type": "integer"
  37366. },
  37367. "goodscode": {
  37368. "description": "商品代码",
  37369. "type": "string"
  37370. },
  37371. "goodsid": {
  37372. "description": "商品ID",
  37373. "type": "integer"
  37374. },
  37375. "goodsname": {
  37376. "description": "商品名称",
  37377. "type": "string"
  37378. },
  37379. "lastreckonprice": {
  37380. "description": "上日结算价",
  37381. "type": "number"
  37382. },
  37383. "nextdnlimitprice": {
  37384. "description": "下个交易日跌停价",
  37385. "type": "number"
  37386. },
  37387. "nexttrade": {
  37388. "description": "下个交易日",
  37389. "type": "string"
  37390. },
  37391. "nextuplimitprice": {
  37392. "description": "下个交易日涨停价",
  37393. "type": "number"
  37394. },
  37395. "reckonprice": {
  37396. "description": "今日结算价(定投价)",
  37397. "type": "number"
  37398. },
  37399. "reckontime": {
  37400. "description": "结算时间",
  37401. "type": "string"
  37402. },
  37403. "totalholderqty": {
  37404. "description": "总持仓数",
  37405. "type": "integer"
  37406. },
  37407. "totalstock": {
  37408. "description": "总库存",
  37409. "type": "integer"
  37410. },
  37411. "tradedate": {
  37412. "description": "交易日",
  37413. "type": "string"
  37414. },
  37415. "updowncount": {
  37416. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  37417. "type": "integer"
  37418. },
  37419. "updownflag": {
  37420. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  37421. "type": "integer"
  37422. },
  37423. "updownrate": {
  37424. "description": "今日涨跌幅",
  37425. "type": "number"
  37426. },
  37427. "updownrate_2d": {
  37428. "description": "连续两日涨跌幅",
  37429. "type": "number"
  37430. },
  37431. "updownrate_3d": {
  37432. "description": "连续三日涨跌幅",
  37433. "type": "number"
  37434. }
  37435. }
  37436. },
  37437. "models.QhjScoreLog": {
  37438. "type": "object",
  37439. "properties": {
  37440. "accountid": {
  37441. "description": "账户ID",
  37442. "type": "integer"
  37443. },
  37444. "createtime": {
  37445. "description": "创建时间(时间)",
  37446. "type": "string"
  37447. },
  37448. "goodsid": {
  37449. "description": "商品ID",
  37450. "type": "integer"
  37451. },
  37452. "hasuploaded": {
  37453. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  37454. "type": "integer"
  37455. },
  37456. "logid": {
  37457. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37458. "type": "string"
  37459. },
  37460. "marketid": {
  37461. "description": "市场ID",
  37462. "type": "integer"
  37463. },
  37464. "relatedamount": {
  37465. "description": "关联金额",
  37466. "type": "number"
  37467. },
  37468. "relatedorderid": {
  37469. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  37470. "type": "string"
  37471. },
  37472. "scoreconfigvalue1": {
  37473. "description": "积分配置1",
  37474. "type": "integer"
  37475. },
  37476. "scoreconfigvalue2": {
  37477. "description": "积分配置1",
  37478. "type": "integer"
  37479. },
  37480. "scoretype": {
  37481. "description": "积分类型 - 1:提货积分",
  37482. "type": "integer"
  37483. },
  37484. "scorevalue": {
  37485. "description": "积分",
  37486. "type": "number"
  37487. },
  37488. "tradedate": {
  37489. "description": "交易日(yyyyMMdd)",
  37490. "type": "string"
  37491. },
  37492. "uploadedtime": {
  37493. "description": "同步时间",
  37494. "type": "string"
  37495. },
  37496. "userid": {
  37497. "description": "用户ID",
  37498. "type": "integer"
  37499. }
  37500. }
  37501. },
  37502. "models.QhjSiteColumnDetail": {
  37503. "type": "object",
  37504. "properties": {
  37505. "author": {
  37506. "description": "作者",
  37507. "type": "string"
  37508. },
  37509. "brief": {
  37510. "description": "简介",
  37511. "type": "string"
  37512. },
  37513. "columnid": {
  37514. "description": "所属栏目",
  37515. "type": "integer"
  37516. },
  37517. "context": {
  37518. "description": "内容",
  37519. "type": "string"
  37520. },
  37521. "coverimage": {
  37522. "description": "封面图片",
  37523. "type": "string"
  37524. },
  37525. "creaedate": {
  37526. "description": "创建时间",
  37527. "type": "string"
  37528. },
  37529. "creatorid": {
  37530. "description": "创建人",
  37531. "type": "integer"
  37532. },
  37533. "hits": {
  37534. "description": "点击数",
  37535. "type": "integer"
  37536. },
  37537. "id": {
  37538. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  37539. "type": "integer"
  37540. },
  37541. "isshow": {
  37542. "description": "是否展示 - 0:不展示 1:展示",
  37543. "type": "integer"
  37544. },
  37545. "istop": {
  37546. "description": "是否置顶 - 0:不置 1:置顶",
  37547. "type": "integer"
  37548. },
  37549. "modifierid": {
  37550. "description": "操作人",
  37551. "type": "integer"
  37552. },
  37553. "publishdate": {
  37554. "description": "发布日期",
  37555. "type": "string"
  37556. },
  37557. "status": {
  37558. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  37559. "type": "integer"
  37560. },
  37561. "title": {
  37562. "description": "标题",
  37563. "type": "string"
  37564. },
  37565. "updatedate": {
  37566. "description": "修改时间",
  37567. "type": "string"
  37568. },
  37569. "userid": {
  37570. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  37571. "type": "integer"
  37572. },
  37573. "username": {
  37574. "description": "用户名称",
  37575. "type": "string"
  37576. }
  37577. }
  37578. },
  37579. "models.QhjTeamOrder": {
  37580. "type": "object",
  37581. "properties": {
  37582. "accountid": {
  37583. "description": "账户ID[报价币种]",
  37584. "type": "integer"
  37585. },
  37586. "accountname": {
  37587. "description": "账户名称",
  37588. "type": "string"
  37589. },
  37590. "agreeunit": {
  37591. "description": "合约乘数",
  37592. "type": "number"
  37593. },
  37594. "buyorsell": {
  37595. "description": "方向 - 0:买 1:卖",
  37596. "type": "integer"
  37597. },
  37598. "decimalplace": {
  37599. "description": "报价小数位",
  37600. "type": "integer"
  37601. },
  37602. "enumdicname": {
  37603. "description": "单位名称",
  37604. "type": "string"
  37605. },
  37606. "goodscode": {
  37607. "description": "商品代码(内部)",
  37608. "type": "string"
  37609. },
  37610. "goodsid": {
  37611. "description": "商品ID",
  37612. "type": "integer"
  37613. },
  37614. "goodsname": {
  37615. "description": "商品名称",
  37616. "type": "string"
  37617. },
  37618. "goodunitid": {
  37619. "description": "报价单位ID",
  37620. "type": "integer"
  37621. },
  37622. "marketid": {
  37623. "description": "市场ID",
  37624. "type": "integer"
  37625. },
  37626. "marketname": {
  37627. "description": "市场名称",
  37628. "type": "string"
  37629. },
  37630. "qtydecimalplace": {
  37631. "description": "成交量小数位",
  37632. "type": "integer"
  37633. },
  37634. "refereeuserid": {
  37635. "description": "推荐人ID",
  37636. "type": "integer"
  37637. },
  37638. "tradeamount": {
  37639. "description": "成交金额[账户币种,用于所有权]",
  37640. "type": "number"
  37641. },
  37642. "tradedate": {
  37643. "description": "交易日(yyyyMMdd)",
  37644. "type": "string"
  37645. },
  37646. "trademode": {
  37647. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  37648. "type": "integer"
  37649. },
  37650. "tradeprice": {
  37651. "description": "成交价格",
  37652. "type": "number"
  37653. },
  37654. "tradeqty": {
  37655. "description": "成交数量",
  37656. "type": "number"
  37657. },
  37658. "tradetime": {
  37659. "description": "成交时间",
  37660. "type": "string"
  37661. },
  37662. "userid": {
  37663. "description": "用户ID",
  37664. "type": "integer"
  37665. }
  37666. }
  37667. },
  37668. "models.QhjTradeGoodsPickup": {
  37669. "type": "object",
  37670. "properties": {
  37671. "accountid": {
  37672. "description": "账户ID",
  37673. "type": "integer"
  37674. },
  37675. "address": {
  37676. "description": "提货人详细地址",
  37677. "type": "string"
  37678. },
  37679. "amount": {
  37680. "description": "提货金额",
  37681. "type": "number"
  37682. },
  37683. "artradedate": {
  37684. "description": "自动收货交易日(yyyyMMdd)",
  37685. "type": "string"
  37686. },
  37687. "auditer": {
  37688. "description": "审核人",
  37689. "type": "integer"
  37690. },
  37691. "auditsrc": {
  37692. "description": "更新来源 - 1:管理端 2:终端",
  37693. "type": "integer"
  37694. },
  37695. "audittime": {
  37696. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  37697. "type": "string"
  37698. },
  37699. "audittradedate": {
  37700. "description": "审核交易日(yyyyMMdd)",
  37701. "type": "string"
  37702. },
  37703. "cardnum": {
  37704. "description": "提货人证件号码",
  37705. "type": "string"
  37706. },
  37707. "cardtypeid": {
  37708. "description": "提货人证件类型",
  37709. "type": "integer"
  37710. },
  37711. "checkremark": {
  37712. "description": "审核备注",
  37713. "type": "string"
  37714. },
  37715. "cityid": {
  37716. "description": "市",
  37717. "type": "integer"
  37718. },
  37719. "cityname": {
  37720. "description": "城市名称",
  37721. "type": "string"
  37722. },
  37723. "confirmtime": {
  37724. "description": "取货时间 或 收货时间",
  37725. "type": "string"
  37726. },
  37727. "countryid": {
  37728. "description": "国家",
  37729. "type": "integer"
  37730. },
  37731. "countryname": {
  37732. "description": "国家名称",
  37733. "type": "string"
  37734. },
  37735. "decimalplace": {
  37736. "description": "商品报价小数位",
  37737. "type": "integer"
  37738. },
  37739. "districtid": {
  37740. "description": "地区",
  37741. "type": "integer"
  37742. },
  37743. "districtname": {
  37744. "description": "地区名称",
  37745. "type": "string"
  37746. },
  37747. "enumdicname": {
  37748. "description": "单位名称(提货商品)",
  37749. "type": "string"
  37750. },
  37751. "expresscompany": {
  37752. "description": "物流公司",
  37753. "type": "string"
  37754. },
  37755. "expressnum": {
  37756. "description": "物流单号",
  37757. "type": "string"
  37758. },
  37759. "goodsagreeunit": {
  37760. "description": "交易商品乘数",
  37761. "type": "number"
  37762. },
  37763. "goodscode": {
  37764. "description": "商品代码",
  37765. "type": "string"
  37766. },
  37767. "goodsid": {
  37768. "description": "商品ID",
  37769. "type": "integer"
  37770. },
  37771. "goodsname": {
  37772. "description": "商品名称",
  37773. "type": "string"
  37774. },
  37775. "goodsqty": {
  37776. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  37777. "type": "number"
  37778. },
  37779. "handlestatus": {
  37780. "description": "处理状态",
  37781. "type": "integer"
  37782. },
  37783. "logincode": {
  37784. "description": "账号(登录代码, 有可能为空)",
  37785. "type": "string"
  37786. },
  37787. "marketid": {
  37788. "description": "市场ID",
  37789. "type": "integer"
  37790. },
  37791. "phonenum": {
  37792. "description": "提货人联系方式",
  37793. "type": "string"
  37794. },
  37795. "pickupgoodsagreeunit": {
  37796. "description": "提货商品合约乘数",
  37797. "type": "number"
  37798. },
  37799. "pickupgoodsid": {
  37800. "description": "提货商品ID",
  37801. "type": "string"
  37802. },
  37803. "pickupgoodsname": {
  37804. "description": "提货商品名称",
  37805. "type": "string"
  37806. },
  37807. "pickupgoodsqty": {
  37808. "description": "提货商品手数(数量)",
  37809. "type": "number"
  37810. },
  37811. "pickupgoodsunitid": {
  37812. "description": "单位ID(提货商品)",
  37813. "type": "integer"
  37814. },
  37815. "pickupratio": {
  37816. "description": "提货系数",
  37817. "type": "number"
  37818. },
  37819. "preparedays": {
  37820. "description": "备货期(天)-提货单明细表",
  37821. "type": "integer"
  37822. },
  37823. "provinceid": {
  37824. "description": "省",
  37825. "type": "integer"
  37826. },
  37827. "provincename": {
  37828. "description": "省名称",
  37829. "type": "string"
  37830. },
  37831. "qty": {
  37832. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  37833. "type": "number"
  37834. },
  37835. "qtydecimalplace": {
  37836. "description": "商品数量小数位",
  37837. "type": "integer"
  37838. },
  37839. "recivername": {
  37840. "description": "提货人姓名",
  37841. "type": "string"
  37842. },
  37843. "reqtime": {
  37844. "description": "提货申请时间",
  37845. "type": "string"
  37846. },
  37847. "storeuserid": {
  37848. "description": "门店用户ID (千海金)",
  37849. "type": "integer"
  37850. },
  37851. "storeusername": {
  37852. "description": "门店用户名称",
  37853. "type": "string"
  37854. },
  37855. "takemode": {
  37856. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  37857. "type": "integer"
  37858. },
  37859. "takeorderid": {
  37860. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  37861. "type": "string"
  37862. },
  37863. "takeorderstatus": {
  37864. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  37865. "type": "integer"
  37866. },
  37867. "takeremark": {
  37868. "description": "提货备注",
  37869. "type": "string"
  37870. },
  37871. "tradedate": {
  37872. "description": "交易日(yyyyMMdd)",
  37873. "type": "string"
  37874. },
  37875. "updatetime": {
  37876. "description": "更新时间",
  37877. "type": "string"
  37878. },
  37879. "userid": {
  37880. "description": "用户ID",
  37881. "type": "integer"
  37882. },
  37883. "userinfotype": {
  37884. "description": "客户类型 1-个人 2-企业",
  37885. "type": "integer"
  37886. },
  37887. "username": {
  37888. "description": "用户名称",
  37889. "type": "string"
  37890. }
  37891. }
  37892. },
  37893. "models.QhjUserNodeCfgAndStatus": {
  37894. "type": "object",
  37895. "properties": {
  37896. "agreementcontent": {
  37897. "description": "协议内容",
  37898. "type": "string"
  37899. },
  37900. "agreementid": {
  37901. "description": "协议ID",
  37902. "type": "integer"
  37903. },
  37904. "agreementname": {
  37905. "description": "协议名称",
  37906. "type": "string"
  37907. },
  37908. "agreementno": {
  37909. "description": "协议编号",
  37910. "type": "string"
  37911. },
  37912. "agreementtype": {
  37913. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37914. "type": "integer"
  37915. },
  37916. "agreementversion": {
  37917. "description": "协议版本号",
  37918. "type": "integer"
  37919. },
  37920. "configid": {
  37921. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37922. "type": "integer"
  37923. },
  37924. "createtime": {
  37925. "description": "创建时间",
  37926. "type": "string"
  37927. },
  37928. "goodsid": {
  37929. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37930. "type": "integer"
  37931. },
  37932. "nodetype": {
  37933. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37934. "type": "integer"
  37935. },
  37936. "signtimestamp": {
  37937. "description": "签约状态时间戳(最近一次)",
  37938. "type": "string"
  37939. },
  37940. "tradedate": {
  37941. "description": "签约交易日(yyyyMMdd)",
  37942. "type": "string"
  37943. },
  37944. "userid": {
  37945. "description": "客户ID",
  37946. "type": "integer"
  37947. }
  37948. }
  37949. },
  37950. "models.Qhjgoodsex": {
  37951. "type": "object",
  37952. "properties": {
  37953. "canfinance": {
  37954. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  37955. "type": "integer"
  37956. },
  37957. "canregularlybuy": {
  37958. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  37959. "type": "integer"
  37960. },
  37961. "defaulttradeuserid": {
  37962. "description": "默认交易用户ID",
  37963. "type": "integer"
  37964. },
  37965. "deliverygoodsid": {
  37966. "description": "现货品种ID",
  37967. "type": "integer"
  37968. },
  37969. "goodsid": {
  37970. "description": "商品ID(自增ID SEQ_GOODS)",
  37971. "type": "integer"
  37972. },
  37973. "minamount": {
  37974. "description": "最小购买金额",
  37975. "type": "number"
  37976. },
  37977. "regularlybuyminamount": {
  37978. "description": "定投最小金额",
  37979. "type": "number"
  37980. },
  37981. "regularlybuyminqty": {
  37982. "description": "定投最小数量",
  37983. "type": "number"
  37984. },
  37985. "spotgoodsbrandid": {
  37986. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  37987. "type": "integer"
  37988. },
  37989. "visibilityforenterprise": {
  37990. "description": "企业客户是否可见 - 0:不可见 1:可见",
  37991. "type": "integer"
  37992. },
  37993. "visibilityforpersonal": {
  37994. "description": "个人客户是否可见 - 0:不可见 1:可见",
  37995. "type": "integer"
  37996. },
  37997. "wrstandardid": {
  37998. "description": "现货商品ID",
  37999. "type": "integer"
  38000. }
  38001. }
  38002. },
  38003. "models.QueryErrorInfosRsp": {
  38004. "type": "object",
  38005. "required": [
  38006. "errorid"
  38007. ],
  38008. "properties": {
  38009. "description": {
  38010. "description": "异常描述",
  38011. "type": "string"
  38012. },
  38013. "errorcode": {
  38014. "description": "异常代码",
  38015. "type": "string"
  38016. },
  38017. "errorid": {
  38018. "description": "异常ID",
  38019. "type": "integer"
  38020. },
  38021. "modulecode": {
  38022. "description": "所属模块",
  38023. "type": "string"
  38024. },
  38025. "operatecode": {
  38026. "description": "所属操作",
  38027. "type": "string"
  38028. },
  38029. "rownumber": {
  38030. "description": "行号",
  38031. "type": "string"
  38032. }
  38033. }
  38034. },
  38035. "models.QueryHedgeOrderDetailRsp": {
  38036. "type": "object",
  38037. "properties": {
  38038. "accountid": {
  38039. "description": "账户ID",
  38040. "type": "integer"
  38041. },
  38042. "buyorsell": {
  38043. "description": "买卖 - 0:买 1:卖",
  38044. "type": "integer"
  38045. },
  38046. "cancellogincode": {
  38047. "description": "撤单人",
  38048. "type": "string"
  38049. },
  38050. "channelbuildtype": {
  38051. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  38052. "type": "integer"
  38053. },
  38054. "channelinnerorderstatus": {
  38055. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  38056. "type": "integer"
  38057. },
  38058. "channeloperatetype": {
  38059. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  38060. "type": "integer"
  38061. },
  38062. "closetype": {
  38063. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  38064. "type": "integer"
  38065. },
  38066. "curexchangerate": {
  38067. "description": "当前汇率",
  38068. "type": "number"
  38069. },
  38070. "decimalplace": {
  38071. "description": "商品报价小数位",
  38072. "type": "integer"
  38073. },
  38074. "exchangefullname": {
  38075. "description": "外部交易所全称",
  38076. "type": "string"
  38077. },
  38078. "goodscode": {
  38079. "description": "商品代码(内部)",
  38080. "type": "string"
  38081. },
  38082. "goodsid": {
  38083. "description": "商品ID",
  38084. "type": "integer"
  38085. },
  38086. "goodsname": {
  38087. "description": "商品名称",
  38088. "type": "string"
  38089. },
  38090. "marketid": {
  38091. "description": "市场ID",
  38092. "type": "integer"
  38093. },
  38094. "openfreezemargin": {
  38095. "description": "冻结保证金(冻结交易金额)",
  38096. "type": "number"
  38097. },
  38098. "orderid": {
  38099. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38100. "type": "string"
  38101. },
  38102. "orderlogincode": {
  38103. "description": "委托人",
  38104. "type": "string"
  38105. },
  38106. "orderprice": {
  38107. "description": "委托价格(账户)",
  38108. "type": "number"
  38109. },
  38110. "orderqty": {
  38111. "description": "委托数量",
  38112. "type": "integer"
  38113. },
  38114. "ordertime": {
  38115. "description": "委托时间",
  38116. "type": "string"
  38117. },
  38118. "pricemode": {
  38119. "description": "取价方式 - 1:市价 2: 限价",
  38120. "type": "integer"
  38121. },
  38122. "tradedate": {
  38123. "description": "交易日(yyyyMMdd)",
  38124. "type": "string"
  38125. },
  38126. "tradeqty": {
  38127. "description": "成交数量",
  38128. "type": "integer"
  38129. }
  38130. }
  38131. },
  38132. "models.QueryHedgeTradeDetailRsp": {
  38133. "type": "object",
  38134. "properties": {
  38135. "accountid": {
  38136. "description": "账号ID",
  38137. "type": "integer"
  38138. },
  38139. "buyorsell": {
  38140. "description": "方向 - 0:买 1:卖",
  38141. "type": "integer"
  38142. },
  38143. "channelbuildtype": {
  38144. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  38145. "type": "integer"
  38146. },
  38147. "closecharge": {
  38148. "description": "平仓手续费(账户)",
  38149. "type": "number"
  38150. },
  38151. "closecharge2": {
  38152. "description": "平仓手续费(商品)",
  38153. "type": "number"
  38154. },
  38155. "closepl": {
  38156. "description": "平仓盈亏(账户)",
  38157. "type": "number"
  38158. },
  38159. "closepl2": {
  38160. "description": "平仓盈亏(商品)",
  38161. "type": "number"
  38162. },
  38163. "closepl3": {
  38164. "description": "平仓盈亏(账户)(逐笔)",
  38165. "type": "number"
  38166. },
  38167. "closepl4": {
  38168. "description": "平仓盈亏(商品)(逐笔)",
  38169. "type": "number"
  38170. },
  38171. "closetype": {
  38172. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  38173. "type": "integer"
  38174. },
  38175. "curexchangerate": {
  38176. "description": "当前汇率",
  38177. "type": "number"
  38178. },
  38179. "decimalplace": {
  38180. "description": "商品报价小数位",
  38181. "type": "integer"
  38182. },
  38183. "exchangefullname": {
  38184. "description": "外部交易所全称",
  38185. "type": "string"
  38186. },
  38187. "goodscode": {
  38188. "description": "商品代码(内部)",
  38189. "type": "string"
  38190. },
  38191. "goodsid": {
  38192. "description": "商品ID",
  38193. "type": "integer"
  38194. },
  38195. "goodsname": {
  38196. "description": "商品名称",
  38197. "type": "string"
  38198. },
  38199. "marketid": {
  38200. "description": "市场ID",
  38201. "type": "integer"
  38202. },
  38203. "opencharge": {
  38204. "description": "建仓手续费(账户)",
  38205. "type": "number"
  38206. },
  38207. "opencharge2": {
  38208. "description": "建仓手续费(商品)",
  38209. "type": "number"
  38210. },
  38211. "orderid": {
  38212. "description": "委托单号",
  38213. "type": "string"
  38214. },
  38215. "orderlogincode": {
  38216. "description": "委托人",
  38217. "type": "string"
  38218. },
  38219. "tradeamount": {
  38220. "description": "成交金额(账户)",
  38221. "type": "number"
  38222. },
  38223. "tradedate": {
  38224. "description": "交易日(yyyyMMdd)",
  38225. "type": "string"
  38226. },
  38227. "tradeid": {
  38228. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38229. "type": "string"
  38230. },
  38231. "tradeprice": {
  38232. "description": "成交价格",
  38233. "type": "number"
  38234. },
  38235. "tradeqty": {
  38236. "description": "成交数量",
  38237. "type": "integer"
  38238. },
  38239. "tradetime": {
  38240. "description": "成交时间",
  38241. "type": "string"
  38242. },
  38243. "tradetype": {
  38244. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  38245. "type": "integer"
  38246. }
  38247. }
  38248. },
  38249. "models.QuotePrimaryMenu": {
  38250. "type": "object",
  38251. "properties": {
  38252. "Index": {
  38253. "description": "序号",
  38254. "type": "integer"
  38255. },
  38256. "Key": {
  38257. "description": "键名",
  38258. "type": "string"
  38259. },
  38260. "Name": {
  38261. "description": "菜单名称",
  38262. "type": "string"
  38263. },
  38264. "SubMenus": {
  38265. "description": "子菜单",
  38266. "type": "array",
  38267. "items": {
  38268. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  38269. }
  38270. },
  38271. "SubTitleType": {
  38272. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  38273. "type": "integer"
  38274. },
  38275. "TradeModes": {
  38276. "description": "包含市场交易类型",
  38277. "type": "string"
  38278. }
  38279. }
  38280. },
  38281. "models.QuoteSecondaryMenu": {
  38282. "type": "object",
  38283. "properties": {
  38284. "ExExchangeCode": {
  38285. "description": "外部交易所代码",
  38286. "type": "string"
  38287. },
  38288. "ExExchangeID": {
  38289. "description": "外部交易所ID",
  38290. "type": "integer"
  38291. },
  38292. "GoodsGroupIDs": {
  38293. "description": "商品组ID列表",
  38294. "type": "array",
  38295. "items": {
  38296. "type": "integer"
  38297. }
  38298. },
  38299. "Index": {
  38300. "description": "序号",
  38301. "type": "integer"
  38302. },
  38303. "MarketID": {
  38304. "description": "市场ID",
  38305. "type": "integer"
  38306. },
  38307. "MenuTitle": {
  38308. "description": "菜单标题(市场名称或外部交易所名称)",
  38309. "type": "string"
  38310. },
  38311. "TradeMode": {
  38312. "description": "交易模式",
  38313. "type": "integer"
  38314. }
  38315. }
  38316. },
  38317. "models.Reckondaytaaccount": {
  38318. "type": "object",
  38319. "required": [
  38320. "userid"
  38321. ],
  38322. "properties": {
  38323. "accountid": {
  38324. "description": "资金账户ID",
  38325. "type": "integer"
  38326. },
  38327. "accountname": {
  38328. "description": "账户名称",
  38329. "type": "string"
  38330. },
  38331. "accountpl": {
  38332. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  38333. "type": "number"
  38334. },
  38335. "avaiablemoney": {
  38336. "description": "可用资金",
  38337. "type": "number"
  38338. },
  38339. "avaiableoutmoney": {
  38340. "description": "可出资金",
  38341. "type": "number"
  38342. },
  38343. "balance": {
  38344. "description": "期初余额",
  38345. "type": "number"
  38346. },
  38347. "capitalbalance": {
  38348. "description": "本金余额[外部子账户实际出入金余额]",
  38349. "type": "number"
  38350. },
  38351. "changeflag": {
  38352. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  38353. "type": "integer"
  38354. },
  38355. "clearbalance": {
  38356. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  38357. "type": "number"
  38358. },
  38359. "clearpl": {
  38360. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  38361. "type": "number"
  38362. },
  38363. "closepl": {
  38364. "description": "今日平仓盈亏",
  38365. "type": "number"
  38366. },
  38367. "closepl2": {
  38368. "description": "平仓盈亏(逐笔)",
  38369. "type": "number"
  38370. },
  38371. "creditdecrease": {
  38372. "description": "今日授信减少",
  38373. "type": "number"
  38374. },
  38375. "creditincrease": {
  38376. "description": "今日授信增加",
  38377. "type": "number"
  38378. },
  38379. "curdebt": {
  38380. "description": "期末欠款",
  38381. "type": "number"
  38382. },
  38383. "currencyid": {
  38384. "description": "货币ID",
  38385. "type": "integer"
  38386. },
  38387. "currentbalance": {
  38388. "description": "期末余额",
  38389. "type": "number"
  38390. },
  38391. "cycletype": {
  38392. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  38393. "type": "integer"
  38394. },
  38395. "defercharge": {
  38396. "description": "今日递延费2支出[111, 112]",
  38397. "type": "number"
  38398. },
  38399. "deliveryamountin": {
  38400. "description": "今日交收货款收入",
  38401. "type": "number"
  38402. },
  38403. "deliveryamountout": {
  38404. "description": "今日交收货款支出",
  38405. "type": "number"
  38406. },
  38407. "deliverycharge": {
  38408. "description": "今日交收手续费支出 [105,106]",
  38409. "type": "number"
  38410. },
  38411. "deliverycompensationfeein": {
  38412. "description": "今日交收补偿费收入",
  38413. "type": "number"
  38414. },
  38415. "deliverycompensationfeeout": {
  38416. "description": "今日交收补偿费支出",
  38417. "type": "number"
  38418. },
  38419. "dividedcharge": {
  38420. "description": "今日已收手续费分成",
  38421. "type": "number"
  38422. },
  38423. "floatnetvalue": {
  38424. "description": "浮动净值 = 净值 + 浮动盈亏",
  38425. "type": "number"
  38426. },
  38427. "floatpl": {
  38428. "description": "浮动盈亏 - 每日有负债类商品",
  38429. "type": "number"
  38430. },
  38431. "freezecharge": {
  38432. "description": "手续费冻结",
  38433. "type": "number"
  38434. },
  38435. "freezemargin": {
  38436. "description": "冻结保证金",
  38437. "type": "number"
  38438. },
  38439. "fromaccountid": {
  38440. "description": "所属上级账户",
  38441. "type": "integer"
  38442. },
  38443. "holdcharge": {
  38444. "description": "今日持仓过夜费支出[108,109,110]",
  38445. "type": "number"
  38446. },
  38447. "inamount": {
  38448. "description": "今日入金金额",
  38449. "type": "number"
  38450. },
  38451. "interestcharge": {
  38452. "description": "今日递延费支出[103, 104]",
  38453. "type": "number"
  38454. },
  38455. "ismain": {
  38456. "description": "是否账号 0:不是母账户 1:是母账户",
  38457. "type": "integer"
  38458. },
  38459. "ismarketaccount": {
  38460. "description": "是否机构接单账号 0:不是 1:是",
  38461. "type": "integer"
  38462. },
  38463. "isreckonaccount": {
  38464. "description": "是否机构分润账号 0:不是 1:是",
  38465. "type": "integer"
  38466. },
  38467. "mortgagecredit": {
  38468. "description": "授信金额",
  38469. "type": "number"
  38470. },
  38471. "netvalue": {
  38472. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  38473. "type": "number"
  38474. },
  38475. "oridebt": {
  38476. "description": "期初欠款",
  38477. "type": "number"
  38478. },
  38479. "orifreezecharge": {
  38480. "description": "期初手续费冻结",
  38481. "type": "number"
  38482. },
  38483. "orifreezemargin": {
  38484. "description": "期初冻结保证金",
  38485. "type": "number"
  38486. },
  38487. "orimortgagecredit": {
  38488. "description": "期初授信金额",
  38489. "type": "number"
  38490. },
  38491. "oriothercredit": {
  38492. "description": "期初其它授信金额",
  38493. "type": "number"
  38494. },
  38495. "oriotherfreezemargin": {
  38496. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38497. "type": "number"
  38498. },
  38499. "orioutamountfreeze": {
  38500. "description": "期初出金冻结",
  38501. "type": "number"
  38502. },
  38503. "oriusedmargin": {
  38504. "description": "期初占用保证金",
  38505. "type": "number"
  38506. },
  38507. "othercredit": {
  38508. "description": "其它授信金额",
  38509. "type": "number"
  38510. },
  38511. "othercreditdecrease": {
  38512. "description": "今日其它授信减少",
  38513. "type": "number"
  38514. },
  38515. "othercreditincrease": {
  38516. "description": "今日其它授信增加",
  38517. "type": "number"
  38518. },
  38519. "otherfreezemargin": {
  38520. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  38521. "type": "number"
  38522. },
  38523. "otherincome": {
  38524. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  38525. "type": "number"
  38526. },
  38527. "otherpay": {
  38528. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  38529. "type": "number"
  38530. },
  38531. "outamount": {
  38532. "description": "今日出金金额",
  38533. "type": "number"
  38534. },
  38535. "outamountfreeze": {
  38536. "description": "出金冻结",
  38537. "type": "number"
  38538. },
  38539. "outthreshold": {
  38540. "description": "出金阈值",
  38541. "type": "number"
  38542. },
  38543. "ownershipvalue": {
  38544. "description": "所有权市值",
  38545. "type": "number"
  38546. },
  38547. "parentaccountid": {
  38548. "description": "所属根账户",
  38549. "type": "integer"
  38550. },
  38551. "password": {
  38552. "description": "资金密码",
  38553. "type": "string"
  38554. },
  38555. "paycharge": {
  38556. "description": "今日手续费支出",
  38557. "type": "number"
  38558. },
  38559. "paycharge2": {
  38560. "description": "今日手续费支出(外部配置)",
  38561. "type": "number"
  38562. },
  38563. "payexchcharge": {
  38564. "description": "今日应付交易所手续费",
  38565. "type": "number"
  38566. },
  38567. "reckondate": {
  38568. "description": "日照日期(yyyyMMdd)",
  38569. "type": "string"
  38570. },
  38571. "reckonpl": {
  38572. "description": "今日结算盈亏",
  38573. "type": "number"
  38574. },
  38575. "reckonpl2": {
  38576. "description": "结算盈亏(逐笔) - 汇总取期末",
  38577. "type": "number"
  38578. },
  38579. "relatedaccountstatus": {
  38580. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  38581. "type": "integer"
  38582. },
  38583. "relateuserid": {
  38584. "description": "关联用户",
  38585. "type": "integer"
  38586. },
  38587. "riskrate": {
  38588. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  38589. "type": "number"
  38590. },
  38591. "signstatus": {
  38592. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  38593. "type": "integer"
  38594. },
  38595. "spotvalue": {
  38596. "description": "现货市值-统计服务更新",
  38597. "type": "number"
  38598. },
  38599. "sublevelpath": {
  38600. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  38601. "type": "string"
  38602. },
  38603. "taaccounttype": {
  38604. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  38605. "type": "integer"
  38606. },
  38607. "thirdinamount": {
  38608. "description": "今日三方入金",
  38609. "type": "number"
  38610. },
  38611. "thirdoutamount": {
  38612. "description": "今日三方出金",
  38613. "type": "number"
  38614. },
  38615. "tradeamount": {
  38616. "description": "今日成交金额",
  38617. "type": "number"
  38618. },
  38619. "tradecharge": {
  38620. "description": "今日交易手续费支出 [101,102]",
  38621. "type": "number"
  38622. },
  38623. "tradeqty": {
  38624. "description": "今日成交量",
  38625. "type": "integer"
  38626. },
  38627. "tradestatus": {
  38628. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  38629. "type": "integer"
  38630. },
  38631. "transferamount": {
  38632. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  38633. "type": "number"
  38634. },
  38635. "usedmargin": {
  38636. "description": "占用保证金",
  38637. "type": "number"
  38638. },
  38639. "userid": {
  38640. "description": "用户ID",
  38641. "type": "integer"
  38642. }
  38643. }
  38644. },
  38645. "models.Reckongzmemtradesum": {
  38646. "type": "object",
  38647. "required": [
  38648. "userid"
  38649. ],
  38650. "properties": {
  38651. "buylistingamount": {
  38652. "description": "买挂牌金额 - 无数据,预留",
  38653. "type": "number"
  38654. },
  38655. "buylistinglot": {
  38656. "description": "买挂牌宗数",
  38657. "type": "integer"
  38658. },
  38659. "buylistingqty": {
  38660. "description": "买挂牌数量 - 无数据,预留",
  38661. "type": "number"
  38662. },
  38663. "buytradeamount": {
  38664. "description": "购买金额",
  38665. "type": "number"
  38666. },
  38667. "buytradelot": {
  38668. "description": "购买宗数",
  38669. "type": "integer"
  38670. },
  38671. "buytradeqty": {
  38672. "description": "购买数量",
  38673. "type": "number"
  38674. },
  38675. "marketid": {
  38676. "description": "市场ID",
  38677. "type": "integer"
  38678. },
  38679. "reckondate": {
  38680. "description": "日照日期(yyyyMMdd)",
  38681. "type": "string"
  38682. },
  38683. "selllistingamount": {
  38684. "description": "卖挂牌金额",
  38685. "type": "number"
  38686. },
  38687. "selllistinglot": {
  38688. "description": "卖挂牌宗数",
  38689. "type": "integer"
  38690. },
  38691. "selllistingqty": {
  38692. "description": "卖挂牌数量",
  38693. "type": "number"
  38694. },
  38695. "selltradeamount": {
  38696. "description": "销售金额",
  38697. "type": "number"
  38698. },
  38699. "selltradelot": {
  38700. "description": "销售宗数",
  38701. "type": "integer"
  38702. },
  38703. "selltradeqty": {
  38704. "description": "销售数量",
  38705. "type": "number"
  38706. },
  38707. "updatetime": {
  38708. "description": "更新时间",
  38709. "type": "string"
  38710. },
  38711. "userid": {
  38712. "description": "用户ID",
  38713. "type": "integer"
  38714. },
  38715. "zscategory": {
  38716. "description": "钻石分类 - 枚举”ZSCategory“",
  38717. "type": "integer"
  38718. },
  38719. "zscategorydisplay": {
  38720. "type": "string"
  38721. },
  38722. "zscurrencytype": {
  38723. "description": "货币类型 - 枚举“ZSCurrencyType”",
  38724. "type": "integer"
  38725. },
  38726. "zscurrencytypedisplay": {
  38727. "type": "string"
  38728. },
  38729. "zscurrencytypedisplayunit": {
  38730. "type": "string"
  38731. }
  38732. }
  38733. },
  38734. "models.RegisterMoney": {
  38735. "type": "object",
  38736. "properties": {
  38737. "amount": {
  38738. "description": "红包",
  38739. "type": "number"
  38740. }
  38741. }
  38742. },
  38743. "models.RelatedTaAccount": {
  38744. "type": "object",
  38745. "properties": {
  38746. "accountid": {
  38747. "description": "资金账户ID",
  38748. "type": "integer"
  38749. }
  38750. }
  38751. },
  38752. "models.RoleMenu": {
  38753. "type": "object",
  38754. "properties": {
  38755. "hasright": {
  38756. "description": "是否有权限 0-没有权限 1-有权限",
  38757. "type": "integer"
  38758. },
  38759. "iconame": {
  38760. "description": "菜单图标",
  38761. "type": "string"
  38762. },
  38763. "menutype": {
  38764. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  38765. "type": "integer"
  38766. },
  38767. "parentcode": {
  38768. "description": "上级资源代码",
  38769. "type": "string"
  38770. },
  38771. "remark": {
  38772. "description": "菜单备注",
  38773. "type": "string"
  38774. },
  38775. "resourcecode": {
  38776. "description": "菜单代码",
  38777. "type": "string"
  38778. },
  38779. "resourcelevel": {
  38780. "description": "级别",
  38781. "type": "integer"
  38782. },
  38783. "resourcename": {
  38784. "description": "菜单名称",
  38785. "type": "string"
  38786. },
  38787. "roleid": {
  38788. "description": "角色id",
  38789. "type": "integer"
  38790. },
  38791. "sort": {
  38792. "description": "排序",
  38793. "type": "integer"
  38794. },
  38795. "subMenu": {
  38796. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  38797. "type": "array",
  38798. "items": {
  38799. "$ref": "#/definitions/models.RoleMenu"
  38800. }
  38801. },
  38802. "url": {
  38803. "description": "URL",
  38804. "type": "string"
  38805. },
  38806. "userid": {
  38807. "description": "用户id",
  38808. "type": "integer"
  38809. }
  38810. }
  38811. },
  38812. "models.SearchGoods": {
  38813. "type": "object",
  38814. "required": [
  38815. "goodscode",
  38816. "goodsid",
  38817. "goodsname",
  38818. "marketid",
  38819. "trademode"
  38820. ],
  38821. "properties": {
  38822. "goodscode": {
  38823. "description": "商品代码(内部)",
  38824. "type": "string"
  38825. },
  38826. "goodsid": {
  38827. "description": "商品ID(自增ID SEQ_GOODS)",
  38828. "type": "integer"
  38829. },
  38830. "goodsname": {
  38831. "description": "商品名称",
  38832. "type": "string"
  38833. },
  38834. "marketid": {
  38835. "description": "所属市场ID",
  38836. "type": "integer"
  38837. },
  38838. "marketname": {
  38839. "description": "市场名称",
  38840. "type": "string"
  38841. },
  38842. "trademode": {
  38843. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38844. "type": "integer"
  38845. }
  38846. }
  38847. },
  38848. "models.SellOrder": {
  38849. "type": "object",
  38850. "properties": {
  38851. "accountid": {
  38852. "description": "资金账号",
  38853. "type": "integer"
  38854. },
  38855. "applyid": {
  38856. "description": "申请单ID",
  38857. "type": "integer"
  38858. },
  38859. "attachment1": {
  38860. "description": "附件1",
  38861. "type": "string"
  38862. },
  38863. "attachment2": {
  38864. "description": "附件2",
  38865. "type": "string"
  38866. },
  38867. "buyorsell": {
  38868. "description": "买卖 - 0:买 1:卖",
  38869. "type": "integer"
  38870. },
  38871. "canbargain": {
  38872. "description": "是否可议价 - 0:不可 1:可",
  38873. "type": "integer"
  38874. },
  38875. "cancelqty": {
  38876. "description": "撤销数量",
  38877. "type": "integer"
  38878. },
  38879. "canceltime": {
  38880. "description": "撤销时间",
  38881. "type": "string"
  38882. },
  38883. "cerno": {
  38884. "type": "string"
  38885. },
  38886. "chargealgorithm": {
  38887. "description": "手续费收取方式 1:比率 2:固定",
  38888. "type": "integer"
  38889. },
  38890. "chargealgorithmvalue": {
  38891. "description": "手续费设置值(交易所部分)",
  38892. "type": "number"
  38893. },
  38894. "chargealgorithmvalue2": {
  38895. "description": "手续费设置值(会员部分)",
  38896. "type": "number"
  38897. },
  38898. "clientordertime": {
  38899. "description": "客户端委托时间",
  38900. "type": "string"
  38901. },
  38902. "cpcertno": {
  38903. "type": "string"
  38904. },
  38905. "exchangerate": {
  38906. "description": "汇率[67]",
  38907. "type": "number"
  38908. },
  38909. "firstratio": {
  38910. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  38911. "type": "number"
  38912. },
  38913. "fixedprice": {
  38914. "description": "[克拉单价]固定价格 - [挂牌]",
  38915. "type": "number"
  38916. },
  38917. "freezecharge": {
  38918. "description": "冻结手续费",
  38919. "type": "number"
  38920. },
  38921. "freezefirstamount": {
  38922. "description": "冻结首付金额 - [摘牌]",
  38923. "type": "number"
  38924. },
  38925. "freezemargin": {
  38926. "description": "冻结保证金",
  38927. "type": "number"
  38928. },
  38929. "goodsno": {
  38930. "description": "商品编号",
  38931. "type": "string"
  38932. },
  38933. "imagepath": {
  38934. "type": "string"
  38935. },
  38936. "isQueryDiamond": {
  38937. "description": "是否钻石查询",
  38938. "type": "boolean"
  38939. },
  38940. "isspecified": {
  38941. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  38942. "type": "integer"
  38943. },
  38944. "kppath": {
  38945. "type": "string"
  38946. },
  38947. "kpweight": {
  38948. "type": "string"
  38949. },
  38950. "marginalgorithm": {
  38951. "description": "保证金方式 - 1:比率 2:固定",
  38952. "type": "integer"
  38953. },
  38954. "marginvalue": {
  38955. "description": "保证金设置值",
  38956. "type": "number"
  38957. },
  38958. "marketid": {
  38959. "description": "市场ID",
  38960. "type": "integer"
  38961. },
  38962. "marketprice": {
  38963. "type": "string"
  38964. },
  38965. "orderamount": {
  38966. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  38967. "type": "number"
  38968. },
  38969. "ordertime": {
  38970. "description": "委托时间",
  38971. "type": "string"
  38972. },
  38973. "performancetemplateid": {
  38974. "description": "履约计划模板ID",
  38975. "type": "integer"
  38976. },
  38977. "price": {
  38978. "description": "价格",
  38979. "type": "number"
  38980. },
  38981. "pricefactor": {
  38982. "description": "价格系数(浮动价时填写) - [挂牌]",
  38983. "type": "number"
  38984. },
  38985. "pricemove": {
  38986. "description": "升贴水(浮动价时填写) - [挂牌]",
  38987. "type": "number"
  38988. },
  38989. "priceper": {
  38990. "type": "string"
  38991. },
  38992. "relatedwrtradeorderid": {
  38993. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  38994. "type": "integer"
  38995. },
  38996. "remainqty": {
  38997. "description": "剩余重量",
  38998. "type": "number"
  38999. },
  39000. "remark": {
  39001. "type": "string"
  39002. },
  39003. "retcode": {
  39004. "description": "错误代码",
  39005. "type": "integer"
  39006. },
  39007. "sellusername": {
  39008. "description": "卖方(查询字段-模糊查询)",
  39009. "type": "string"
  39010. },
  39011. "settingmaterial": {
  39012. "description": "镶嵌材料",
  39013. "type": "string"
  39014. },
  39015. "size1": {
  39016. "type": "string"
  39017. },
  39018. "size2": {
  39019. "type": "string"
  39020. },
  39021. "size3": {
  39022. "type": "string"
  39023. },
  39024. "sizedisplay": {
  39025. "description": "尺寸",
  39026. "type": "string"
  39027. },
  39028. "stonedesc": {
  39029. "description": "配石描述",
  39030. "type": "string"
  39031. },
  39032. "totalqty": {
  39033. "description": "总重量",
  39034. "type": "number"
  39035. },
  39036. "tradedate": {
  39037. "description": "交易日(yyyyMMdd)",
  39038. "type": "string"
  39039. },
  39040. "tradeprice": {
  39041. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39042. "type": "number"
  39043. },
  39044. "unfreezecharge": {
  39045. "description": "解冻手续费",
  39046. "type": "number"
  39047. },
  39048. "unfreezefirstamount": {
  39049. "description": "解冻首付金额 - [摘牌]",
  39050. "type": "number"
  39051. },
  39052. "unfreezemargin": {
  39053. "description": "解冻保证金",
  39054. "type": "number"
  39055. },
  39056. "userid": {
  39057. "description": "用户ID",
  39058. "type": "integer"
  39059. },
  39060. "uuid": {
  39061. "description": "发起端唯一id",
  39062. "type": "string"
  39063. },
  39064. "validtime": {
  39065. "description": "有效期限",
  39066. "type": "string"
  39067. },
  39068. "validtype": {
  39069. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39070. "type": "integer"
  39071. },
  39072. "warehousenamedisplay": {
  39073. "type": "string"
  39074. },
  39075. "wrbargainid": {
  39076. "description": "议价申请单ID",
  39077. "type": "integer"
  39078. },
  39079. "wrfactortypeid": {
  39080. "description": "仓单要素类型ID/商品ID(77)",
  39081. "type": "integer"
  39082. },
  39083. "wrpath": {
  39084. "type": "string"
  39085. },
  39086. "wrpricetype": {
  39087. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  39088. "type": "integer"
  39089. },
  39090. "wrstandardid": {
  39091. "description": "现货商品ID",
  39092. "type": "integer"
  39093. },
  39094. "wrtradeorderid": {
  39095. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  39096. "type": "string"
  39097. },
  39098. "wrtradeorderstatus": {
  39099. "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:撤单解冻贷款失败",
  39100. "type": "integer"
  39101. },
  39102. "wrtradetype": {
  39103. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  39104. "type": "integer"
  39105. },
  39106. "wrtransferuserid": {
  39107. "description": "仓单受让用户 - [摘牌]",
  39108. "type": "integer"
  39109. },
  39110. "zscategory": {
  39111. "description": "钻石分类 - 枚举”ZSCategory“",
  39112. "type": "integer"
  39113. },
  39114. "zscategorydisplay": {
  39115. "description": "钻石分类 - 描述",
  39116. "type": "string"
  39117. },
  39118. "zscerttypedisplay": {
  39119. "type": "string"
  39120. },
  39121. "zsclaritytype1display": {
  39122. "type": "string"
  39123. },
  39124. "zsclaritytype2display": {
  39125. "type": "string"
  39126. },
  39127. "zscolortype1display": {
  39128. "type": "string"
  39129. },
  39130. "zscolortype2display": {
  39131. "type": "string"
  39132. },
  39133. "zscrystaltype": {
  39134. "type": "string"
  39135. },
  39136. "zscrystaltypedisplay": {
  39137. "type": "string"
  39138. },
  39139. "zscurrencytype": {
  39140. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39141. "type": "integer"
  39142. },
  39143. "zscurrencytypedisplay": {
  39144. "type": "string"
  39145. },
  39146. "zscurrencytypedisplayunit": {
  39147. "type": "string"
  39148. },
  39149. "zscuttype1display": {
  39150. "type": "string"
  39151. },
  39152. "zscuttype2display": {
  39153. "type": "string"
  39154. },
  39155. "zsczcolor1typedisplay": {
  39156. "type": "string"
  39157. },
  39158. "zsczcolor2typedisplay": {
  39159. "type": "string"
  39160. },
  39161. "zsczcolor3typedisplay": {
  39162. "type": "string"
  39163. },
  39164. "zsfluorescencetype1display": {
  39165. "type": "string"
  39166. },
  39167. "zsfluorescencetype2display": {
  39168. "type": "string"
  39169. },
  39170. "zspolishtype1display": {
  39171. "type": "string"
  39172. },
  39173. "zspolishtype2display": {
  39174. "type": "string"
  39175. },
  39176. "zsshapetypedisplay": {
  39177. "type": "string"
  39178. },
  39179. "zsstyletypedisplay": {
  39180. "type": "string"
  39181. },
  39182. "zssymmetrytype1display": {
  39183. "type": "string"
  39184. },
  39185. "zssymmetrytype2display": {
  39186. "type": "string"
  39187. }
  39188. }
  39189. },
  39190. "models.SellOrderQueryReq": {
  39191. "type": "object",
  39192. "required": [
  39193. "zscategory"
  39194. ],
  39195. "properties": {
  39196. "origin": {
  39197. "description": "原产地",
  39198. "type": "string"
  39199. },
  39200. "page": {
  39201. "description": "页码",
  39202. "type": "integer"
  39203. },
  39204. "pagesize": {
  39205. "description": "每页大小",
  39206. "type": "integer"
  39207. },
  39208. "total": {
  39209. "description": "总条数",
  39210. "type": "integer"
  39211. },
  39212. "warehouseid": {
  39213. "description": "仓库ID",
  39214. "type": "integer"
  39215. },
  39216. "weight1": {
  39217. "description": "总重量(克拉重量)-从",
  39218. "type": "number"
  39219. },
  39220. "weight2": {
  39221. "description": "总重量(克拉重量)-至",
  39222. "type": "number"
  39223. },
  39224. "weightavg1": {
  39225. "description": "平均单颗重量-从",
  39226. "type": "number"
  39227. },
  39228. "weightavg2": {
  39229. "description": "平均单颗重量-至",
  39230. "type": "number"
  39231. },
  39232. "zscategory": {
  39233. "description": "钻石分类 - 枚举”ZSCategory“",
  39234. "type": "integer"
  39235. },
  39236. "zscerttype": {
  39237. "description": "证书类型",
  39238. "type": "array",
  39239. "items": {
  39240. "type": "string"
  39241. }
  39242. },
  39243. "zsclaritytype": {
  39244. "description": "净度",
  39245. "type": "array",
  39246. "items": {
  39247. "type": "integer"
  39248. }
  39249. },
  39250. "zscolortype": {
  39251. "description": "颜色",
  39252. "type": "array",
  39253. "items": {
  39254. "type": "integer"
  39255. }
  39256. },
  39257. "zscurrencytype": {
  39258. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39259. "type": "array",
  39260. "items": {
  39261. "type": "string"
  39262. }
  39263. },
  39264. "zscuttype": {
  39265. "description": "切工",
  39266. "type": "array",
  39267. "items": {
  39268. "type": "integer"
  39269. }
  39270. },
  39271. "zsczcolor1type": {
  39272. "description": "彩钻颜色1",
  39273. "type": "array",
  39274. "items": {
  39275. "type": "string"
  39276. }
  39277. },
  39278. "zsfluorescencetype": {
  39279. "description": "荧光",
  39280. "type": "array",
  39281. "items": {
  39282. "type": "integer"
  39283. }
  39284. },
  39285. "zspolishtype": {
  39286. "description": "抛光度",
  39287. "type": "array",
  39288. "items": {
  39289. "type": "integer"
  39290. }
  39291. },
  39292. "zsshapetype": {
  39293. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  39294. "type": "array",
  39295. "items": {
  39296. "type": "string"
  39297. }
  39298. },
  39299. "zsstyletype": {
  39300. "description": "款式",
  39301. "type": "array",
  39302. "items": {
  39303. "type": "string"
  39304. }
  39305. },
  39306. "zssymmetrytype": {
  39307. "description": "对称度",
  39308. "type": "array",
  39309. "items": {
  39310. "type": "integer"
  39311. }
  39312. }
  39313. }
  39314. },
  39315. "models.Systemparam": {
  39316. "type": "object",
  39317. "required": [
  39318. "paramcode"
  39319. ],
  39320. "properties": {
  39321. "loginid": {
  39322. "description": "更新用户账号,登录账号",
  39323. "type": "string"
  39324. },
  39325. "modifyflag": {
  39326. "description": "修改标志0 不允许修改 1 允许修改",
  39327. "type": "integer"
  39328. },
  39329. "paramcode": {
  39330. "description": "参数代码",
  39331. "type": "string"
  39332. },
  39333. "paramname": {
  39334. "description": "参数名",
  39335. "type": "string"
  39336. },
  39337. "paramtype": {
  39338. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  39339. "type": "integer"
  39340. },
  39341. "paramvalue": {
  39342. "description": "参数值",
  39343. "type": "string"
  39344. },
  39345. "paramvalue2": {
  39346. "description": "参数值(CLOB)",
  39347. "type": "string"
  39348. },
  39349. "regexpress": {
  39350. "description": "正则表达式",
  39351. "type": "string"
  39352. },
  39353. "remark": {
  39354. "description": "备注",
  39355. "type": "string"
  39356. },
  39357. "serverip": {
  39358. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  39359. "type": "string"
  39360. },
  39361. "showflag": {
  39362. "description": "是否显示0 不显示 1 显示",
  39363. "type": "integer"
  39364. },
  39365. "updatetime": {
  39366. "description": "更新时间",
  39367. "type": "string"
  39368. },
  39369. "userid": {
  39370. "description": "更新用户ID",
  39371. "type": "integer"
  39372. }
  39373. }
  39374. },
  39375. "models.Szdz3convertconfig": {
  39376. "type": "object",
  39377. "required": [
  39378. "converttype",
  39379. "innergoodsid",
  39380. "outergoodscode"
  39381. ],
  39382. "properties": {
  39383. "canin": {
  39384. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  39385. "type": "integer"
  39386. },
  39387. "canout": {
  39388. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  39389. "type": "integer"
  39390. },
  39391. "converttype": {
  39392. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  39393. "type": "integer"
  39394. },
  39395. "createtime": {
  39396. "description": "创建时间",
  39397. "type": "string"
  39398. },
  39399. "creatorid": {
  39400. "description": "创建人",
  39401. "type": "integer"
  39402. },
  39403. "daymaxvalue": {
  39404. "description": "当日最大转入限制",
  39405. "type": "number"
  39406. },
  39407. "freezedays": {
  39408. "description": "冻结天数 [5:花生米转交易]",
  39409. "type": "integer"
  39410. },
  39411. "innergoodsid": {
  39412. "description": "内部商品ID[交易]",
  39413. "type": "integer"
  39414. },
  39415. "inratio": {
  39416. "description": "目标值",
  39417. "type": "integer"
  39418. },
  39419. "modifierid": {
  39420. "description": "修改人",
  39421. "type": "integer"
  39422. },
  39423. "modifytime": {
  39424. "description": "修改时间",
  39425. "type": "string"
  39426. },
  39427. "outergoodscode": {
  39428. "description": "外部商品代码[JD\\PD]",
  39429. "type": "string"
  39430. },
  39431. "outratio": {
  39432. "description": "源值",
  39433. "type": "integer"
  39434. },
  39435. "pddecimalplace": {
  39436. "description": "PD小数位",
  39437. "type": "integer"
  39438. },
  39439. "timemaxvalue": {
  39440. "description": "单次最大转入限制",
  39441. "type": "number"
  39442. },
  39443. "timeminvalue": {
  39444. "description": "单次最小转入限制",
  39445. "type": "number"
  39446. }
  39447. }
  39448. },
  39449. "models.Szdz3searchwhitelist": {
  39450. "type": "object",
  39451. "required": [
  39452. "userid"
  39453. ],
  39454. "properties": {
  39455. "createtime": {
  39456. "description": "创建时间",
  39457. "type": "string"
  39458. },
  39459. "creatorid": {
  39460. "description": "创建人",
  39461. "type": "integer"
  39462. },
  39463. "modifierid": {
  39464. "description": "修改人",
  39465. "type": "integer"
  39466. },
  39467. "modifytime": {
  39468. "description": "修改时间",
  39469. "type": "string"
  39470. },
  39471. "userid": {
  39472. "description": "用户ID",
  39473. "type": "integer"
  39474. }
  39475. }
  39476. },
  39477. "models.TBGoods": {
  39478. "type": "object",
  39479. "properties": {
  39480. "agreeunit": {
  39481. "description": "合约乘数",
  39482. "type": "number"
  39483. },
  39484. "enumdicname": {
  39485. "description": "单位名称",
  39486. "type": "string"
  39487. },
  39488. "goodscode": {
  39489. "description": "商品代码(内部)",
  39490. "type": "string"
  39491. },
  39492. "goodsid": {
  39493. "description": "商品ID(自增ID SEQ_GOODS)",
  39494. "type": "integer"
  39495. },
  39496. "goodsname": {
  39497. "description": "商品名称",
  39498. "type": "string"
  39499. }
  39500. }
  39501. },
  39502. "models.TBGoodsGroup": {
  39503. "type": "object",
  39504. "properties": {
  39505. "GDLST": {
  39506. "description": "商品列表",
  39507. "type": "array",
  39508. "items": {
  39509. "$ref": "#/definitions/models.TBGoods"
  39510. }
  39511. },
  39512. "convertratio": {
  39513. "description": "折算系数",
  39514. "type": "number"
  39515. },
  39516. "enumdicname": {
  39517. "description": "单位名称",
  39518. "type": "string"
  39519. },
  39520. "exexchangecode": {
  39521. "description": "交易所代码",
  39522. "type": "string"
  39523. },
  39524. "exexchangename": {
  39525. "description": "交易所名称",
  39526. "type": "string"
  39527. },
  39528. "goodsgroupid": {
  39529. "description": "商品组ID(自增ID)",
  39530. "type": "integer"
  39531. },
  39532. "goodsgroupname": {
  39533. "description": "商品组名称",
  39534. "type": "string"
  39535. },
  39536. "goodunitid": {
  39537. "description": "报价单位ID",
  39538. "type": "integer"
  39539. }
  39540. }
  39541. },
  39542. "models.TBMiddleGoods": {
  39543. "type": "object",
  39544. "properties": {
  39545. "GPLST": {
  39546. "description": "期货品种列表",
  39547. "type": "array",
  39548. "items": {
  39549. "$ref": "#/definitions/models.TBGoodsGroup"
  39550. }
  39551. },
  39552. "WDLST": {
  39553. "description": "商品信息列表(现货品类)",
  39554. "type": "array",
  39555. "items": {
  39556. "$ref": "#/definitions/models.TBWrstandard"
  39557. }
  39558. },
  39559. "areauserid": {
  39560. "description": "机构用户ID",
  39561. "type": "integer"
  39562. },
  39563. "enumdicname": {
  39564. "description": "单位名称",
  39565. "type": "string"
  39566. },
  39567. "goodsunitid": {
  39568. "description": "套保品种单位id",
  39569. "type": "integer"
  39570. },
  39571. "middlegoodscode": {
  39572. "description": "套保品种代码",
  39573. "type": "string"
  39574. },
  39575. "middlegoodsid": {
  39576. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  39577. "type": "integer"
  39578. },
  39579. "middlegoodsname": {
  39580. "description": "套保品种名称",
  39581. "type": "string"
  39582. },
  39583. "needarbitrageratio": {
  39584. "description": "套利比率",
  39585. "type": "number"
  39586. },
  39587. "needhedgeratio": {
  39588. "description": "套保比率",
  39589. "type": "number"
  39590. }
  39591. }
  39592. },
  39593. "models.TBWrstandard": {
  39594. "type": "object",
  39595. "properties": {
  39596. "convertratio": {
  39597. "description": "折算系数",
  39598. "type": "number"
  39599. },
  39600. "deliverygoodsname": {
  39601. "description": "品种名称",
  39602. "type": "string"
  39603. },
  39604. "enumdicname": {
  39605. "description": "单位名称",
  39606. "type": "string"
  39607. },
  39608. "vatrate": {
  39609. "description": "增值税率",
  39610. "type": "number"
  39611. },
  39612. "wrstandardcode": {
  39613. "description": "现货商品代码",
  39614. "type": "string"
  39615. },
  39616. "wrstandardid": {
  39617. "description": "现货商品ID(SEQ_WRSTANDARD)",
  39618. "type": "integer"
  39619. },
  39620. "wrstandardname": {
  39621. "description": "现货商品名称",
  39622. "type": "string"
  39623. }
  39624. }
  39625. },
  39626. "models.THJSigninReq": {
  39627. "type": "object",
  39628. "required": [
  39629. "userid"
  39630. ],
  39631. "properties": {
  39632. "userid": {
  39633. "description": "用户ID",
  39634. "type": "integer"
  39635. }
  39636. }
  39637. },
  39638. "models.THJSigninRsp": {
  39639. "type": "object",
  39640. "properties": {
  39641. "signinstatus": {
  39642. "description": "状态操作标志 1-签到成功 2-当日已签到,不能重复签到",
  39643. "type": "integer"
  39644. }
  39645. }
  39646. },
  39647. "models.THJWrstandard": {
  39648. "type": "object",
  39649. "properties": {
  39650. "thumurls": {
  39651. "description": "缩略图片(1:1)(逗号分隔)",
  39652. "type": "string"
  39653. },
  39654. "wrstandardcode": {
  39655. "description": "现货商品代码",
  39656. "type": "string"
  39657. },
  39658. "wrstandardid": {
  39659. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  39660. "type": "integer"
  39661. },
  39662. "wrstandardname": {
  39663. "description": "现货商品名称(模糊查询)",
  39664. "type": "string"
  39665. }
  39666. }
  39667. },
  39668. "models.Taaccount": {
  39669. "type": "object",
  39670. "required": [
  39671. "accountid",
  39672. "userid"
  39673. ],
  39674. "properties": {
  39675. "accountflag": {
  39676. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  39677. "type": "integer"
  39678. },
  39679. "accountid": {
  39680. "description": "资金账户ID",
  39681. "type": "integer"
  39682. },
  39683. "accountname": {
  39684. "description": "账户名称",
  39685. "type": "string"
  39686. },
  39687. "balance": {
  39688. "description": "期初余额",
  39689. "type": "number"
  39690. },
  39691. "capitalbalance": {
  39692. "description": "本金余额[外部子账户实际出入金余额]",
  39693. "type": "number"
  39694. },
  39695. "changeflag": {
  39696. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  39697. "type": "integer"
  39698. },
  39699. "changetime": {
  39700. "description": "账户状态变更时间",
  39701. "type": "string"
  39702. },
  39703. "closepl": {
  39704. "description": "今日平仓盈亏",
  39705. "type": "number"
  39706. },
  39707. "creditdecrease": {
  39708. "description": "今日授信减少",
  39709. "type": "number"
  39710. },
  39711. "creditincrease": {
  39712. "description": "今日授信增加",
  39713. "type": "number"
  39714. },
  39715. "curamount": {
  39716. "description": "总市值(从持仓中统计)",
  39717. "type": "number"
  39718. },
  39719. "currencyid": {
  39720. "description": "货币ID",
  39721. "type": "integer"
  39722. },
  39723. "currentbalance": {
  39724. "description": "期末余额",
  39725. "type": "number"
  39726. },
  39727. "freezecharge": {
  39728. "description": "手续费冻结",
  39729. "type": "number"
  39730. },
  39731. "freezemargin": {
  39732. "description": "冻结保证金",
  39733. "type": "number"
  39734. },
  39735. "fromaccountid": {
  39736. "description": "所属上级账户",
  39737. "type": "integer"
  39738. },
  39739. "inamount": {
  39740. "description": "今日入金金额(包括三方入金)",
  39741. "type": "number"
  39742. },
  39743. "ismain": {
  39744. "description": "是否母账号 0:不是母账户 1:是母账户",
  39745. "type": "integer"
  39746. },
  39747. "ismarketaccount": {
  39748. "description": "是否机构接单账号 0:不是 1:是",
  39749. "type": "integer"
  39750. },
  39751. "isreckonaccount": {
  39752. "description": "是否机构分润账号 0:不是 1:是",
  39753. "type": "integer"
  39754. },
  39755. "mortgagecredit": {
  39756. "description": "授信金额",
  39757. "type": "number"
  39758. },
  39759. "orifreezecharge": {
  39760. "description": "期初手续费冻结",
  39761. "type": "number"
  39762. },
  39763. "orifreezemargin": {
  39764. "description": "期初冻结保证金",
  39765. "type": "number"
  39766. },
  39767. "orimortgagecredit": {
  39768. "description": "期初授信金额",
  39769. "type": "number"
  39770. },
  39771. "oriothercredit": {
  39772. "description": "期初其它授信金额",
  39773. "type": "number"
  39774. },
  39775. "oriotherfreezemargin": {
  39776. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  39777. "type": "number"
  39778. },
  39779. "orioutamountfreeze": {
  39780. "description": "期初出金冻结",
  39781. "type": "number"
  39782. },
  39783. "oriusedmargin": {
  39784. "description": "期初占用保证金",
  39785. "type": "number"
  39786. },
  39787. "othercredit": {
  39788. "description": "其它授信金额",
  39789. "type": "number"
  39790. },
  39791. "othercreditdecrease": {
  39792. "description": "今日其它授信减少",
  39793. "type": "number"
  39794. },
  39795. "othercreditincrease": {
  39796. "description": "今日其它授信增加",
  39797. "type": "number"
  39798. },
  39799. "otherfreezemargin": {
  39800. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  39801. "type": "number"
  39802. },
  39803. "otherincome": {
  39804. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  39805. "type": "number"
  39806. },
  39807. "otherpay": {
  39808. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  39809. "type": "number"
  39810. },
  39811. "outamount": {
  39812. "description": "今日出金金额(包括三方出金)",
  39813. "type": "number"
  39814. },
  39815. "outamountfreeze": {
  39816. "description": "出金冻结",
  39817. "type": "number"
  39818. },
  39819. "outthreshold": {
  39820. "description": "出金阈值",
  39821. "type": "number"
  39822. },
  39823. "parentaccountid": {
  39824. "description": "所属根账号",
  39825. "type": "integer"
  39826. },
  39827. "paycharge": {
  39828. "description": "今日手续费支出",
  39829. "type": "number"
  39830. },
  39831. "relatedaccountstatus": {
  39832. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  39833. "type": "integer"
  39834. },
  39835. "relateduserid": {
  39836. "description": "关联用户",
  39837. "type": "integer"
  39838. },
  39839. "remainamount": {
  39840. "description": "融资额(从融资合同中统计)",
  39841. "type": "number"
  39842. },
  39843. "serivcegroup": {
  39844. "description": "服务分组",
  39845. "type": "integer"
  39846. },
  39847. "signstatus": {
  39848. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  39849. "type": "integer"
  39850. },
  39851. "sublevelpath": {
  39852. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  39853. "type": "string"
  39854. },
  39855. "taaccounttype": {
  39856. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  39857. "type": "integer"
  39858. },
  39859. "thirdinamount": {
  39860. "description": "今日三方入金",
  39861. "type": "number"
  39862. },
  39863. "thirdoutamount": {
  39864. "description": "今日三方出金",
  39865. "type": "number"
  39866. },
  39867. "tradestatus": {
  39868. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  39869. "type": "integer"
  39870. },
  39871. "tradestatuschangetime": {
  39872. "description": "激活时间",
  39873. "type": "string"
  39874. },
  39875. "transferamount": {
  39876. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  39877. "type": "number"
  39878. },
  39879. "usedmargin": {
  39880. "description": "占用保证金",
  39881. "type": "number"
  39882. },
  39883. "userid": {
  39884. "description": "用户ID",
  39885. "type": "integer"
  39886. }
  39887. }
  39888. },
  39889. "models.Tablecolumnconfig": {
  39890. "type": "object",
  39891. "required": [
  39892. "autoid"
  39893. ],
  39894. "properties": {
  39895. "aligntype": {
  39896. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  39897. "type": "integer"
  39898. },
  39899. "autoid": {
  39900. "description": "AutoID",
  39901. "type": "integer"
  39902. },
  39903. "columnfield": {
  39904. "description": "列字段",
  39905. "type": "string"
  39906. },
  39907. "columntitle": {
  39908. "description": "列Title",
  39909. "type": "string"
  39910. },
  39911. "columnwidth": {
  39912. "description": "列宽",
  39913. "type": "string"
  39914. },
  39915. "fixed": {
  39916. "description": "固定类型 - 空 | left | right",
  39917. "type": "string"
  39918. },
  39919. "formatterstring": {
  39920. "description": "格式化字符",
  39921. "type": "string"
  39922. },
  39923. "formattertype": {
  39924. "description": "格式化类型",
  39925. "type": "string"
  39926. },
  39927. "groupname": {
  39928. "description": "表头分组名称",
  39929. "type": "string"
  39930. },
  39931. "ismerge": {
  39932. "description": "是否合并显示 - 0:不合并 1:合并",
  39933. "type": "integer"
  39934. },
  39935. "isshow": {
  39936. "description": "是否显示 - 0:不显示 1:显示",
  39937. "type": "integer"
  39938. },
  39939. "needsummary": {
  39940. "description": "是否需要汇总 - 0:不需要 1:需要",
  39941. "type": "integer"
  39942. },
  39943. "orderindex": {
  39944. "description": "顺序",
  39945. "type": "integer"
  39946. },
  39947. "remark": {
  39948. "description": "备注",
  39949. "type": "string"
  39950. },
  39951. "summarytype": {
  39952. "description": "汇总类型 - 1:加总 2:最后一个",
  39953. "type": "integer"
  39954. },
  39955. "tablekey": {
  39956. "description": "列表Key",
  39957. "type": "string"
  39958. }
  39959. }
  39960. },
  39961. "models.TjmdHolderDetailTradeInfo": {
  39962. "type": "object",
  39963. "properties": {
  39964. "agreeunit": {
  39965. "description": "合约乘数",
  39966. "type": "number"
  39967. },
  39968. "buyaccountid": {
  39969. "description": "买方账户",
  39970. "type": "string"
  39971. },
  39972. "buyusername": {
  39973. "description": "买方",
  39974. "type": "string"
  39975. },
  39976. "delistingdate": {
  39977. "description": "最后结算日",
  39978. "type": "string"
  39979. },
  39980. "expiredate": {
  39981. "description": "到期结算价定价日",
  39982. "type": "string"
  39983. },
  39984. "exprieprice": {
  39985. "description": "到期清算价格",
  39986. "type": "string"
  39987. },
  39988. "goodscode": {
  39989. "description": "商品代码",
  39990. "type": "string"
  39991. },
  39992. "goodsid": {
  39993. "description": "商品ID",
  39994. "type": "integer"
  39995. },
  39996. "goodsname": {
  39997. "description": "商品名称(交易标的)",
  39998. "type": "string"
  39999. },
  40000. "lasttradedate": {
  40001. "description": "最后交易日",
  40002. "type": "string"
  40003. },
  40004. "listingdate": {
  40005. "description": "开始交易日",
  40006. "type": "string"
  40007. },
  40008. "openprice": {
  40009. "description": "成交价",
  40010. "type": "number"
  40011. },
  40012. "openqty": {
  40013. "description": "交易数量",
  40014. "type": "integer"
  40015. },
  40016. "sellaccountid": {
  40017. "description": "卖方账户",
  40018. "type": "string"
  40019. },
  40020. "sellusername": {
  40021. "description": "卖方",
  40022. "type": "string"
  40023. },
  40024. "tradeamount": {
  40025. "description": "初始名义价值",
  40026. "type": "number"
  40027. },
  40028. "tradedate": {
  40029. "description": "成交日期",
  40030. "type": "string"
  40031. },
  40032. "tradeid": {
  40033. "description": "成交编号",
  40034. "type": "string"
  40035. }
  40036. }
  40037. },
  40038. "models.TjmdMarketSection": {
  40039. "type": "object",
  40040. "properties": {
  40041. "marketsectionid": {
  40042. "description": "市场版块ID(SEQ_MARKETSECTION)",
  40043. "type": "integer"
  40044. },
  40045. "marketsectionname": {
  40046. "description": "市场版块名称",
  40047. "type": "string"
  40048. },
  40049. "mlist": {
  40050. "description": "市场列表(板块下面有多少个市场)",
  40051. "type": "array",
  40052. "items": {
  40053. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  40054. }
  40055. },
  40056. "orderindex": {
  40057. "description": "排序",
  40058. "type": "integer"
  40059. },
  40060. "pictureurl": {
  40061. "description": "图片url, 规格(90*90)",
  40062. "type": "string"
  40063. },
  40064. "remark": {
  40065. "description": "备注",
  40066. "type": "string"
  40067. }
  40068. }
  40069. },
  40070. "models.TjmdMarketSectionConfig": {
  40071. "type": "object",
  40072. "properties": {
  40073. "auctionwrtype": {
  40074. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  40075. "type": "integer"
  40076. },
  40077. "canacceptquote": {
  40078. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  40079. "type": "integer"
  40080. },
  40081. "cangoodsexercise": {
  40082. "description": "[期权]是否可现货行权- 0:否 1:是",
  40083. "type": "integer"
  40084. },
  40085. "cangoodsexercisetype": {
  40086. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  40087. "type": "integer"
  40088. },
  40089. "canmanualquotestrike": {
  40090. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  40091. "type": "integer"
  40092. },
  40093. "canmutistage": {
  40094. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  40095. "type": "integer"
  40096. },
  40097. "canpreexercise": {
  40098. "description": "[期权]是否可预申报- 0:否 1:是",
  40099. "type": "integer"
  40100. },
  40101. "clearinterval": {
  40102. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  40103. "type": "integer"
  40104. },
  40105. "contracttmp": {
  40106. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  40107. "type": "string"
  40108. },
  40109. "exchareaid": {
  40110. "description": "所属交易所,可以没有",
  40111. "type": "integer"
  40112. },
  40113. "financemarketid": {
  40114. "description": "融资回购市场ID [仓单贸易]",
  40115. "type": "integer"
  40116. },
  40117. "goodstype": {
  40118. "description": "商品类型 - 1:交易商品 2:仓单商品",
  40119. "type": "integer"
  40120. },
  40121. "hasrebate": {
  40122. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  40123. "type": "integer"
  40124. },
  40125. "hastradecredit": {
  40126. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  40127. "type": "integer"
  40128. },
  40129. "haswr": {
  40130. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  40131. "type": "integer"
  40132. },
  40133. "isdeductmargin": {
  40134. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  40135. "type": "integer"
  40136. },
  40137. "isrecordsource": {
  40138. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  40139. "type": "integer"
  40140. },
  40141. "isreleasemargin": {
  40142. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  40143. "type": "integer"
  40144. },
  40145. "isupdatereckonprice": {
  40146. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  40147. "type": "integer"
  40148. },
  40149. "listingmode": {
  40150. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  40151. "type": "integer"
  40152. },
  40153. "marginformula": {
  40154. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  40155. "type": "integer"
  40156. },
  40157. "marginformula2": {
  40158. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  40159. "type": "integer"
  40160. },
  40161. "marketid": {
  40162. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  40163. "type": "integer"
  40164. },
  40165. "marketname": {
  40166. "description": "市场名称",
  40167. "type": "string"
  40168. },
  40169. "marketsectionid": {
  40170. "description": "市场版块ID(SEQ_MARKETSECTION)",
  40171. "type": "integer"
  40172. },
  40173. "marketserviceid": {
  40174. "description": "市场服务ID",
  40175. "type": "integer"
  40176. },
  40177. "marketstatus": {
  40178. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  40179. "type": "integer"
  40180. },
  40181. "markettype": {
  40182. "description": "市场类型- 1:非交易服务 2:交易服务",
  40183. "type": "integer"
  40184. },
  40185. "matchermode": {
  40186. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  40187. "type": "integer"
  40188. },
  40189. "nowrquotaflag": {
  40190. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  40191. "type": "integer"
  40192. },
  40193. "openmethod": {
  40194. "description": "开盘模式 - 0 自动 1手动",
  40195. "type": "integer"
  40196. },
  40197. "orderindex": {
  40198. "description": "排序",
  40199. "type": "integer"
  40200. },
  40201. "otcuserid": {
  40202. "description": "场外期权做市商[场外期权]",
  40203. "type": "integer"
  40204. },
  40205. "outersynctime": {
  40206. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  40207. "type": "string"
  40208. },
  40209. "paylaterflag": {
  40210. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  40211. "type": "integer"
  40212. },
  40213. "pendingflag": {
  40214. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  40215. "type": "integer"
  40216. },
  40217. "pendingtime": {
  40218. "description": "待开市时间[通道交易-对冲](HH:mm)",
  40219. "type": "string"
  40220. },
  40221. "performancetempid": {
  40222. "description": "履约计划模板ID - 作废",
  40223. "type": "integer"
  40224. },
  40225. "premiumquotemode": {
  40226. "description": "权利金报价方式 - 1:自动 2:手动",
  40227. "type": "integer"
  40228. },
  40229. "rebateratio": {
  40230. "description": "返利比率[竞价式]",
  40231. "type": "number"
  40232. },
  40233. "reckonorder": {
  40234. "description": "结算顺序",
  40235. "type": "integer"
  40236. },
  40237. "reckonpricealgorithm": {
  40238. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  40239. "type": "integer"
  40240. },
  40241. "reckonpriceparam": {
  40242. "description": "结算价参数",
  40243. "type": "integer"
  40244. },
  40245. "reckontime": {
  40246. "description": "结算时间[通道交易-对冲](HH:mm)",
  40247. "type": "string"
  40248. },
  40249. "roleprioritytype": {
  40250. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  40251. "type": "integer"
  40252. },
  40253. "selllistingauditflag": {
  40254. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  40255. "type": "integer"
  40256. },
  40257. "trademarkettype": {
  40258. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  40259. "type": "integer"
  40260. },
  40261. "trademode": {
  40262. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  40263. "type": "integer"
  40264. },
  40265. "tradeproperty": {
  40266. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  40267. "type": "integer"
  40268. },
  40269. "tradetype": {
  40270. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  40271. "type": "integer"
  40272. },
  40273. "updatereckonpriceinterval": {
  40274. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  40275. "type": "integer"
  40276. }
  40277. }
  40278. },
  40279. "models.TjmdQuoteGoods": {
  40280. "type": "object",
  40281. "properties": {
  40282. "buyqty": {
  40283. "description": "买量(暂不做, 无值, 保留字段)",
  40284. "type": "number"
  40285. },
  40286. "decimalplace": {
  40287. "description": "报价小数位",
  40288. "type": "integer"
  40289. },
  40290. "goodscode": {
  40291. "description": "合约代码",
  40292. "type": "string"
  40293. },
  40294. "goodsgroupid": {
  40295. "description": "商品组ID(自增ID)",
  40296. "type": "integer"
  40297. },
  40298. "goodsgroupname": {
  40299. "description": "商品组名称",
  40300. "type": "string"
  40301. },
  40302. "goodsid": {
  40303. "description": "合约id",
  40304. "type": "integer"
  40305. },
  40306. "goodsname": {
  40307. "description": "合约名称",
  40308. "type": "string"
  40309. },
  40310. "refgoodscode": {
  40311. "description": "标的合约代码",
  40312. "type": "string"
  40313. },
  40314. "refgoodsid": {
  40315. "description": "标的合约id",
  40316. "type": "integer"
  40317. },
  40318. "refgoodsname": {
  40319. "description": "标的合约名称",
  40320. "type": "string"
  40321. },
  40322. "sellqty": {
  40323. "description": "卖量(暂不做, 无值, 保留字段)",
  40324. "type": "number"
  40325. }
  40326. }
  40327. },
  40328. "models.TjmdTodayAccountMargin": {
  40329. "type": "object",
  40330. "properties": {
  40331. "accountid": {
  40332. "description": "账号ID",
  40333. "type": "integer"
  40334. },
  40335. "goodsid": {
  40336. "description": "商品ID",
  40337. "type": "integer"
  40338. },
  40339. "infoc": {
  40340. "description": "配置参数",
  40341. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  40342. },
  40343. "marketid": {
  40344. "description": "市场ID",
  40345. "type": "integer"
  40346. }
  40347. }
  40348. },
  40349. "models.TjmdTradeOrderDetail": {
  40350. "type": "object",
  40351. "properties": {
  40352. "buyorsell": {
  40353. "description": "买卖方向 0-买 1-卖",
  40354. "type": "integer"
  40355. },
  40356. "goodsid": {
  40357. "description": "商品id",
  40358. "type": "integer"
  40359. },
  40360. "marketmaxsub": {
  40361. "description": "市价最大偏移范围 [浮动价 - 点差]",
  40362. "type": "number"
  40363. },
  40364. "orderid": {
  40365. "description": "委托单号",
  40366. "type": "string"
  40367. },
  40368. "orderprice": {
  40369. "description": "期初均价",
  40370. "type": "number"
  40371. },
  40372. "orderqty": {
  40373. "description": "委托数量",
  40374. "type": "integer"
  40375. },
  40376. "pricemode": {
  40377. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  40378. "type": "integer"
  40379. },
  40380. "userid": {
  40381. "description": "用户id",
  40382. "type": "integer"
  40383. },
  40384. "username": {
  40385. "description": "用户名称(已脱敏)",
  40386. "type": "string"
  40387. }
  40388. }
  40389. },
  40390. "models.TjmdTransferApply": {
  40391. "type": "object",
  40392. "properties": {
  40393. "applyid": {
  40394. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  40395. "type": "integer"
  40396. },
  40397. "applystatus": {
  40398. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  40399. "type": "integer"
  40400. },
  40401. "applytime": {
  40402. "description": "申请时间(时间)",
  40403. "type": "string"
  40404. },
  40405. "auditremark": {
  40406. "description": "审核备注(拒绝原因?)",
  40407. "type": "string"
  40408. },
  40409. "begindate": {
  40410. "description": "开始交易日(yyyymmdd)",
  40411. "type": "string"
  40412. },
  40413. "buyorsell": {
  40414. "description": "买卖 - 0:买 1:卖",
  40415. "type": "integer"
  40416. },
  40417. "enddate": {
  40418. "description": "结束交易日(yyyymmdd)",
  40419. "type": "string"
  40420. },
  40421. "goodscode": {
  40422. "description": "商品代码",
  40423. "type": "string"
  40424. },
  40425. "goodsid": {
  40426. "description": "商品ID",
  40427. "type": "integer"
  40428. },
  40429. "goodsname": {
  40430. "description": "商品名称",
  40431. "type": "string"
  40432. },
  40433. "marketid": {
  40434. "description": "市场ID",
  40435. "type": "integer"
  40436. },
  40437. "qty": {
  40438. "description": "期初均价",
  40439. "type": "number"
  40440. },
  40441. "tradeid": {
  40442. "description": "成交单号(关联持仓)",
  40443. "type": "string"
  40444. },
  40445. "transferamount": {
  40446. "description": "转让总金额(金额)",
  40447. "type": "number"
  40448. },
  40449. "transferprice": {
  40450. "description": "转让价格(协议价格)",
  40451. "type": "number"
  40452. }
  40453. }
  40454. },
  40455. "models.TradeHolderDetail": {
  40456. "type": "object",
  40457. "properties": {
  40458. "accountid": {
  40459. "description": "账号ID",
  40460. "type": "integer"
  40461. },
  40462. "agreeunit": {
  40463. "description": "合约乘数",
  40464. "type": "number"
  40465. },
  40466. "buyorsell": {
  40467. "description": "方向 - 0:买 1:卖",
  40468. "type": "integer"
  40469. },
  40470. "currencyid": {
  40471. "description": "商品币种id",
  40472. "type": "integer"
  40473. },
  40474. "currencyname": {
  40475. "description": "币种名称",
  40476. "type": "string"
  40477. },
  40478. "decimalplace": {
  40479. "description": "商品价格小数位",
  40480. "type": "integer"
  40481. },
  40482. "enumdicname": {
  40483. "description": "商品单位名称",
  40484. "type": "string"
  40485. },
  40486. "expirecycle": {
  40487. "description": "行权周期(天) - 1:滚动行权时填写",
  40488. "type": "integer"
  40489. },
  40490. "expiredate": {
  40491. "description": "行权日(yyyyMMdd) - 到期日",
  40492. "type": "string"
  40493. },
  40494. "expiretype": {
  40495. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  40496. "type": "integer"
  40497. },
  40498. "freezeqty": {
  40499. "description": "期初均价",
  40500. "type": "number"
  40501. },
  40502. "goodscode": {
  40503. "description": "商品代码",
  40504. "type": "string"
  40505. },
  40506. "goodsid": {
  40507. "description": "商品ID",
  40508. "type": "integer"
  40509. },
  40510. "goodsname": {
  40511. "description": "商品名称",
  40512. "type": "string"
  40513. },
  40514. "goodunitid": {
  40515. "description": "商品单位id",
  40516. "type": "integer"
  40517. },
  40518. "holderamount": {
  40519. "description": "持仓金额",
  40520. "type": "number"
  40521. },
  40522. "holdercredit": {
  40523. "description": "持仓授信金额",
  40524. "type": "number"
  40525. },
  40526. "holderdays": {
  40527. "description": "剩余冻结天数",
  40528. "type": "integer"
  40529. },
  40530. "holderprice": {
  40531. "description": "持仓价格",
  40532. "type": "number"
  40533. },
  40534. "holderqty": {
  40535. "description": "期初均价",
  40536. "type": "number"
  40537. },
  40538. "isconfirmexercise": {
  40539. "description": "是否确认行权- 0:否 1:是",
  40540. "type": "integer"
  40541. },
  40542. "ispreexercise": {
  40543. "description": "是否预申报- 0:否 1:是 2:不可行权",
  40544. "type": "integer"
  40545. },
  40546. "marketid": {
  40547. "description": "市场id",
  40548. "type": "integer"
  40549. },
  40550. "marketname": {
  40551. "description": "市场名称",
  40552. "type": "string"
  40553. },
  40554. "openprice": {
  40555. "description": "建仓价格",
  40556. "type": "number"
  40557. },
  40558. "openqty": {
  40559. "description": "期初均价",
  40560. "type": "number"
  40561. },
  40562. "optiontype": {
  40563. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  40564. "type": "integer"
  40565. },
  40566. "preexerciseprice": {
  40567. "description": "预申报价格",
  40568. "type": "number"
  40569. },
  40570. "premium": {
  40571. "description": "权利金",
  40572. "type": "number"
  40573. },
  40574. "qtydecimalplace": {
  40575. "description": "商品成交量小数位",
  40576. "type": "integer"
  40577. },
  40578. "refgoodscode": {
  40579. "description": "标的合约代码",
  40580. "type": "string"
  40581. },
  40582. "refgoodsid": {
  40583. "description": "标的合约id",
  40584. "type": "integer"
  40585. },
  40586. "releaseamount": {
  40587. "description": "释放持仓金额",
  40588. "type": "number"
  40589. },
  40590. "releaseholdercredit": {
  40591. "description": "释放持仓授信金额",
  40592. "type": "number"
  40593. },
  40594. "taname": {
  40595. "description": "资金账号名称",
  40596. "type": "string"
  40597. },
  40598. "tradeamount": {
  40599. "description": "成交金额",
  40600. "type": "number"
  40601. },
  40602. "tradedate": {
  40603. "description": "交易日(yyyyMMdd)",
  40604. "type": "string"
  40605. },
  40606. "tradeid": {
  40607. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  40608. "type": "string"
  40609. },
  40610. "trademode": {
  40611. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  40612. "type": "integer"
  40613. },
  40614. "tradeproperty": {
  40615. "description": "交易属性",
  40616. "type": "integer"
  40617. },
  40618. "tradetime": {
  40619. "description": "交易时间",
  40620. "type": "string"
  40621. },
  40622. "userid": {
  40623. "description": "用户id",
  40624. "type": "integer"
  40625. },
  40626. "username": {
  40627. "description": "用户名称",
  40628. "type": "string"
  40629. }
  40630. }
  40631. },
  40632. "models.Unlinkermcphedgeplan": {
  40633. "type": "object",
  40634. "required": [
  40635. "areauserid"
  40636. ],
  40637. "properties": {
  40638. "accountid": {
  40639. "description": "期货账户ID - 作废",
  40640. "type": "integer"
  40641. },
  40642. "accountname": {
  40643. "description": "交易用户",
  40644. "type": "string"
  40645. },
  40646. "applyid": {
  40647. "description": "申请人",
  40648. "type": "integer"
  40649. },
  40650. "applysrc": {
  40651. "description": "申请来源 - 1:管理端 2:终端",
  40652. "type": "integer"
  40653. },
  40654. "applytime": {
  40655. "description": "申请时间",
  40656. "type": "string"
  40657. },
  40658. "areauserid": {
  40659. "description": "[企业ID]机构ID",
  40660. "type": "integer"
  40661. },
  40662. "auditid": {
  40663. "description": "审核人",
  40664. "type": "integer"
  40665. },
  40666. "auditremark": {
  40667. "description": "审核备注",
  40668. "type": "string"
  40669. },
  40670. "auditsrc": {
  40671. "description": "审核来源 - 1:管理端 2:终端",
  40672. "type": "integer"
  40673. },
  40674. "audittime": {
  40675. "description": "审核时间",
  40676. "type": "string"
  40677. },
  40678. "audittradedate": {
  40679. "description": "审核交易日(yyyyMMdd)",
  40680. "type": "string"
  40681. },
  40682. "biztype": {
  40683. "description": "业务类型 - 1:套保",
  40684. "type": "integer"
  40685. },
  40686. "contracttype": {
  40687. "description": "计划类型 - 1:采购 -1:销售",
  40688. "type": "integer"
  40689. },
  40690. "convertfactor": {
  40691. "description": "标仓系数 - 作废",
  40692. "type": "number"
  40693. },
  40694. "createtime": {
  40695. "description": "创建时间",
  40696. "type": "string"
  40697. },
  40698. "currencyid": {
  40699. "description": "结算币种ID - 作废",
  40700. "type": "integer"
  40701. },
  40702. "deliverygoodsid": {
  40703. "description": "现货品种ID",
  40704. "type": "integer"
  40705. },
  40706. "enumdicname": {
  40707. "description": "结算币种",
  40708. "type": "string"
  40709. },
  40710. "hedgeplanid": {
  40711. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  40712. "type": "string"
  40713. },
  40714. "hedgeplanno": {
  40715. "description": "[计划编号]套保计划编号,模糊查询",
  40716. "type": "string"
  40717. },
  40718. "hedgeplanstatus": {
  40719. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  40720. "type": "integer"
  40721. },
  40722. "isrelated": {
  40723. "description": "是否已关联计划项目 - 0:否 1:是",
  40724. "type": "integer"
  40725. },
  40726. "planqty": {
  40727. "description": "[计划量]计划数量",
  40728. "type": "number"
  40729. },
  40730. "plantime": {
  40731. "description": "计划时间",
  40732. "type": "string"
  40733. },
  40734. "producttype": {
  40735. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  40736. "type": "integer"
  40737. },
  40738. "remark": {
  40739. "description": "备注",
  40740. "type": "string"
  40741. },
  40742. "spotgoodsdesc": {
  40743. "description": "商品型号",
  40744. "type": "string"
  40745. },
  40746. "tradedate": {
  40747. "description": "交易日(yyyyMMdd)",
  40748. "type": "string"
  40749. },
  40750. "tradeuserid": {
  40751. "description": "交易用户ID",
  40752. "type": "integer"
  40753. },
  40754. "updatetime": {
  40755. "description": "更新时间",
  40756. "type": "string"
  40757. },
  40758. "wrstandardid": {
  40759. "description": "现货商品ID",
  40760. "type": "integer"
  40761. },
  40762. "wrstandardname": {
  40763. "description": "现货商品,模糊查询",
  40764. "type": "string"
  40765. }
  40766. }
  40767. },
  40768. "models.UserCollectConfig": {
  40769. "type": "object",
  40770. "properties": {
  40771. "accountstatus": {
  40772. "description": "账户状态 - 1:正常 2:停用 3:注销",
  40773. "type": "integer"
  40774. },
  40775. "collectaccountname": {
  40776. "description": "收款人账户名称",
  40777. "type": "string"
  40778. },
  40779. "collectaccountno": {
  40780. "description": "收款人账户",
  40781. "type": "string"
  40782. },
  40783. "collectbankname": {
  40784. "description": "收款人开户行",
  40785. "type": "string"
  40786. },
  40787. "collectbranchbankname": {
  40788. "description": "收款人开户支行",
  40789. "type": "string"
  40790. },
  40791. "collectconfigid": {
  40792. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  40793. "type": "string"
  40794. },
  40795. "remark": {
  40796. "description": "备注",
  40797. "type": "string"
  40798. },
  40799. "userid": {
  40800. "description": "收款人用户ID",
  40801. "type": "integer"
  40802. }
  40803. }
  40804. },
  40805. "models.UserReceiveInfo": {
  40806. "type": "object",
  40807. "properties": {
  40808. "address": {
  40809. "description": "提货人详细地址",
  40810. "type": "string"
  40811. },
  40812. "autoid": {
  40813. "description": "AutoID",
  40814. "type": "integer"
  40815. },
  40816. "cardnum": {
  40817. "description": "证件号码(加密存储)",
  40818. "type": "string"
  40819. },
  40820. "cardtypeid": {
  40821. "description": "证件类型",
  40822. "type": "integer"
  40823. },
  40824. "cityid": {
  40825. "description": "市",
  40826. "type": "integer"
  40827. },
  40828. "cityname": {
  40829. "description": "城市名称",
  40830. "type": "string"
  40831. },
  40832. "countryid": {
  40833. "description": "国家",
  40834. "type": "integer"
  40835. },
  40836. "countryname": {
  40837. "description": "国家名称",
  40838. "type": "string"
  40839. },
  40840. "districtid": {
  40841. "description": "地区",
  40842. "type": "integer"
  40843. },
  40844. "districtname": {
  40845. "description": "地区名称",
  40846. "type": "string"
  40847. },
  40848. "hasencrypt": {
  40849. "description": "数据是否已加密 - 0:未加密 1:已加密",
  40850. "type": "integer"
  40851. },
  40852. "isdefault": {
  40853. "description": "是否默认地址 - 0:否 1:是",
  40854. "type": "integer"
  40855. },
  40856. "phonenum": {
  40857. "description": "提货人联系方式(加密存储)",
  40858. "type": "string"
  40859. },
  40860. "provinceid": {
  40861. "description": "省",
  40862. "type": "integer"
  40863. },
  40864. "provincename": {
  40865. "description": "省名称",
  40866. "type": "string"
  40867. },
  40868. "receivername": {
  40869. "description": "提货人姓名",
  40870. "type": "string"
  40871. },
  40872. "takeremark": {
  40873. "description": "提货备注",
  40874. "type": "string"
  40875. },
  40876. "userid": {
  40877. "description": "用户ID",
  40878. "type": "integer"
  40879. }
  40880. }
  40881. },
  40882. "models.Useraccount": {
  40883. "type": "object",
  40884. "required": [
  40885. "userid"
  40886. ],
  40887. "properties": {
  40888. "accountname": {
  40889. "description": "账户名称(机构名称)",
  40890. "type": "string"
  40891. },
  40892. "accountstatus": {
  40893. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  40894. "type": "integer"
  40895. },
  40896. "applysrc": {
  40897. "description": "申请来源 - 1:管理端 2:终端",
  40898. "type": "integer"
  40899. },
  40900. "auditremark": {
  40901. "description": "审核备注",
  40902. "type": "string"
  40903. },
  40904. "auditsrc": {
  40905. "description": "审核来源 - 1:管理端 2:终端",
  40906. "type": "integer"
  40907. },
  40908. "audittime": {
  40909. "description": "审核时间",
  40910. "type": "string"
  40911. },
  40912. "audituserid": {
  40913. "description": "审核人",
  40914. "type": "integer"
  40915. },
  40916. "broker": {
  40917. "description": "所属经纪人ID",
  40918. "type": "integer"
  40919. },
  40920. "canceltime": {
  40921. "description": "销户时间",
  40922. "type": "string"
  40923. },
  40924. "canceluserid": {
  40925. "description": "销户人",
  40926. "type": "integer"
  40927. },
  40928. "canrecommend": {
  40929. "description": "是否可推荐 - 0:不可 1;可",
  40930. "type": "integer"
  40931. },
  40932. "createtime": {
  40933. "description": "创建时间",
  40934. "type": "string"
  40935. },
  40936. "creatorid": {
  40937. "description": "创建人",
  40938. "type": "integer"
  40939. },
  40940. "curscore": {
  40941. "description": "积分",
  40942. "type": "integer"
  40943. },
  40944. "hasauth": {
  40945. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  40946. "type": "integer"
  40947. },
  40948. "isanonymous": {
  40949. "description": "是否匿名下单 - 0:否 1:是",
  40950. "type": "integer"
  40951. },
  40952. "issigned": {
  40953. "description": "今日是否已签到",
  40954. "type": "boolean"
  40955. },
  40956. "maxinvestornum": {
  40957. "description": "最大用户数(经纪会员下投资者个数)",
  40958. "type": "integer"
  40959. },
  40960. "memberuserid": {
  40961. "description": "所属会员ID",
  40962. "type": "integer"
  40963. },
  40964. "modifierid": {
  40965. "description": "修改人",
  40966. "type": "integer"
  40967. },
  40968. "modifyremark": {
  40969. "description": "变更备注",
  40970. "type": "string"
  40971. },
  40972. "modifystatus": {
  40973. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  40974. "type": "integer"
  40975. },
  40976. "modifytime": {
  40977. "description": "修改时间",
  40978. "type": "string"
  40979. },
  40980. "parenttopuser": {
  40981. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  40982. "type": "string"
  40983. },
  40984. "parentuserid": {
  40985. "description": "所属机构ID",
  40986. "type": "integer"
  40987. },
  40988. "reckonaccountid": {
  40989. "description": "默认结算资金账号ID(机构分润使用) 作废",
  40990. "type": "integer"
  40991. },
  40992. "refercount": {
  40993. "description": "推荐总人数",
  40994. "type": "integer"
  40995. },
  40996. "refereeuserid": {
  40997. "description": "推荐人ID",
  40998. "type": "integer"
  40999. },
  41000. "refernum": {
  41001. "description": "推荐码",
  41002. "type": "string"
  41003. },
  41004. "rootuserid": {
  41005. "description": "根用户ID",
  41006. "type": "integer"
  41007. },
  41008. "subaccountlevel": {
  41009. "description": "子账户层数",
  41010. "type": "integer"
  41011. },
  41012. "subarealevelpath": {
  41013. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  41014. "type": "string"
  41015. },
  41016. "todayrefercount": {
  41017. "description": "今日推荐人数",
  41018. "type": "integer"
  41019. },
  41020. "userid": {
  41021. "description": "用户ID",
  41022. "type": "integer"
  41023. },
  41024. "usertype": {
  41025. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  41026. "type": "integer"
  41027. }
  41028. }
  41029. },
  41030. "models.Userfavoritegoods": {
  41031. "type": "object",
  41032. "required": [
  41033. "goodsid"
  41034. ],
  41035. "properties": {
  41036. "goodsid": {
  41037. "description": "商品ID",
  41038. "type": "integer"
  41039. }
  41040. }
  41041. },
  41042. "models.Userinfo": {
  41043. "type": "object",
  41044. "required": [
  41045. "userid"
  41046. ],
  41047. "properties": {
  41048. "address": {
  41049. "description": "地址",
  41050. "type": "string"
  41051. },
  41052. "attachment1": {
  41053. "description": "附件1",
  41054. "type": "string"
  41055. },
  41056. "attachment2": {
  41057. "description": "附件2",
  41058. "type": "string"
  41059. },
  41060. "bankaccount": {
  41061. "description": "银行帐号 (加密存储)",
  41062. "type": "string"
  41063. },
  41064. "bankaccountname": {
  41065. "description": "收款人名称",
  41066. "type": "string"
  41067. },
  41068. "bankcardfrontphotourl": {
  41069. "description": "银行卡正面照地址",
  41070. "type": "string"
  41071. },
  41072. "bankid": {
  41073. "description": "银行编码",
  41074. "type": "string"
  41075. },
  41076. "bankname": {
  41077. "description": "银行名称",
  41078. "type": "string"
  41079. },
  41080. "biznature": {
  41081. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  41082. "type": "integer"
  41083. },
  41084. "bizscope": {
  41085. "description": "企业经营范围(企业)",
  41086. "type": "string"
  41087. },
  41088. "cardbackphotourl": {
  41089. "description": "证件背面图片地址",
  41090. "type": "string"
  41091. },
  41092. "cardfrontphotourl": {
  41093. "description": "证件正面图片地址",
  41094. "type": "string"
  41095. },
  41096. "cardnum": {
  41097. "description": "证件号码(加密存储)",
  41098. "type": "string"
  41099. },
  41100. "cardtypeid": {
  41101. "description": "证件类型ID",
  41102. "type": "integer"
  41103. },
  41104. "cityid": {
  41105. "description": "市",
  41106. "type": "integer"
  41107. },
  41108. "company": {
  41109. "description": "公司(个人)",
  41110. "type": "string"
  41111. },
  41112. "contactname": {
  41113. "description": "联系人",
  41114. "type": "string"
  41115. },
  41116. "countryid": {
  41117. "description": "国家",
  41118. "type": "integer"
  41119. },
  41120. "createtime": {
  41121. "description": "创建时间",
  41122. "type": "string"
  41123. },
  41124. "creatorid": {
  41125. "description": "创建人",
  41126. "type": "integer"
  41127. },
  41128. "customername": {
  41129. "description": "客户名称(企业名称)",
  41130. "type": "string"
  41131. },
  41132. "districtid": {
  41133. "description": "地区",
  41134. "type": "integer"
  41135. },
  41136. "email": {
  41137. "description": "邮件(加密存储)",
  41138. "type": "string"
  41139. },
  41140. "fax": {
  41141. "description": "传真(加密存储)",
  41142. "type": "string"
  41143. },
  41144. "halfbodyphotourl": {
  41145. "description": "半身照地址",
  41146. "type": "string"
  41147. },
  41148. "hasencrypt": {
  41149. "description": "数据是否已加密 - 0:未加密 1:已加密",
  41150. "type": "integer"
  41151. },
  41152. "headurl": {
  41153. "description": "头像地址",
  41154. "type": "string"
  41155. },
  41156. "legalcardbackphotourl": {
  41157. "description": "法人身份证背面照地址",
  41158. "type": "string"
  41159. },
  41160. "legalcardfrontphotourl": {
  41161. "description": "法人身份证正面照地址",
  41162. "type": "string"
  41163. },
  41164. "legalpersonname": {
  41165. "description": "法人姓名(企业)",
  41166. "type": "string"
  41167. },
  41168. "mobile": {
  41169. "description": "手机号码(加密存储)",
  41170. "type": "string"
  41171. },
  41172. "mobile2": {
  41173. "description": "手机号码[明文-尚志]",
  41174. "type": "string"
  41175. },
  41176. "modifierid": {
  41177. "description": "修改人",
  41178. "type": "integer"
  41179. },
  41180. "modifiertime": {
  41181. "description": "修改时间",
  41182. "type": "string"
  41183. },
  41184. "needinvoice": {
  41185. "description": "是否需要发票 - 0:不需要 1:需要",
  41186. "type": "integer"
  41187. },
  41188. "nickname": {
  41189. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  41190. "type": "string"
  41191. },
  41192. "openmode": {
  41193. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  41194. "type": "integer"
  41195. },
  41196. "otherurl": {
  41197. "description": "其它图片地址[使用分号分隔]",
  41198. "type": "string"
  41199. },
  41200. "postalcode": {
  41201. "description": "邮政编码",
  41202. "type": "string"
  41203. },
  41204. "provinceid": {
  41205. "description": "省",
  41206. "type": "integer"
  41207. },
  41208. "qq": {
  41209. "description": "QQ(加密存储",
  41210. "type": "string"
  41211. },
  41212. "remark": {
  41213. "description": "备注",
  41214. "type": "string"
  41215. },
  41216. "sex": {
  41217. "description": "用户性别 0: 女 1: 男",
  41218. "type": "integer"
  41219. },
  41220. "signpdfurl": {
  41221. "description": "签约pdf文件",
  41222. "type": "string"
  41223. },
  41224. "telphone": {
  41225. "description": "联系电话(加密存储)",
  41226. "type": "string"
  41227. },
  41228. "userid": {
  41229. "description": "用户ID",
  41230. "type": "integer"
  41231. },
  41232. "userinfotype": {
  41233. "description": "用户信息类型 - 1:个人 2:企业",
  41234. "type": "integer"
  41235. },
  41236. "userstatus": {
  41237. "description": "用户状态 - 1:正常 2:注销",
  41238. "type": "integer"
  41239. },
  41240. "usertype": {
  41241. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  41242. "type": "integer"
  41243. },
  41244. "wechat": {
  41245. "description": "微信(加密存储)",
  41246. "type": "string"
  41247. },
  41248. "wskhinfo": {
  41249. "description": "开户申请信息(JSON)",
  41250. "type": "string"
  41251. }
  41252. }
  41253. },
  41254. "models.WRPositionReport": {
  41255. "type": "object",
  41256. "properties": {
  41257. "accountid": {
  41258. "description": "帐户ID",
  41259. "type": "integer"
  41260. },
  41261. "brandid": {
  41262. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  41263. "type": "integer"
  41264. },
  41265. "buylistinglot": {
  41266. "description": "买挂牌宗数",
  41267. "type": "integer"
  41268. },
  41269. "buytradeamount": {
  41270. "description": "购买金额",
  41271. "type": "number"
  41272. },
  41273. "buytradelot": {
  41274. "description": "购买宗数",
  41275. "type": "integer"
  41276. },
  41277. "buytradeqty": {
  41278. "description": "购买数量",
  41279. "type": "number"
  41280. },
  41281. "creditcurqty": {
  41282. "description": "授信当前数量",
  41283. "type": "integer"
  41284. },
  41285. "creditfreezeqty": {
  41286. "description": "授信冻结数量",
  41287. "type": "integer"
  41288. },
  41289. "credittotalqty": {
  41290. "description": "授信总数量",
  41291. "type": "integer"
  41292. },
  41293. "credittradeqty": {
  41294. "description": "授信成交数量",
  41295. "type": "integer"
  41296. },
  41297. "decreaseqty": {
  41298. "description": "今日减少数量",
  41299. "type": "integer"
  41300. },
  41301. "deliverygoodsid": {
  41302. "description": "交割商品ID",
  41303. "type": "integer"
  41304. },
  41305. "deliverymonthid": {
  41306. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  41307. "type": "integer"
  41308. },
  41309. "freezeqty": {
  41310. "description": "总冻结数量",
  41311. "type": "integer"
  41312. },
  41313. "increaseqty": {
  41314. "description": "今日增加数量",
  41315. "type": "integer"
  41316. },
  41317. "marketvalue": {
  41318. "description": "市值",
  41319. "type": "number"
  41320. },
  41321. "pickupqty": {
  41322. "description": "今日提货数量",
  41323. "type": "integer"
  41324. },
  41325. "qualityid": {
  41326. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  41327. "type": "integer"
  41328. },
  41329. "reckondate": {
  41330. "description": "日照时期(yyyyMMdd)",
  41331. "type": "string"
  41332. },
  41333. "relatedqty": {
  41334. "description": "关联数量",
  41335. "type": "integer"
  41336. },
  41337. "selllistingamount": {
  41338. "description": "卖挂牌金额",
  41339. "type": "number"
  41340. },
  41341. "selllistinglot": {
  41342. "description": "卖挂牌宗数",
  41343. "type": "integer"
  41344. },
  41345. "selllistingqty": {
  41346. "description": "卖挂牌数量",
  41347. "type": "number"
  41348. },
  41349. "selltradeamount": {
  41350. "description": "销售金额",
  41351. "type": "number"
  41352. },
  41353. "selltradelot": {
  41354. "description": "销售宗数",
  41355. "type": "integer"
  41356. },
  41357. "selltradeqty": {
  41358. "description": "销售数量",
  41359. "type": "number"
  41360. },
  41361. "specid": {
  41362. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  41363. "type": "integer"
  41364. },
  41365. "totalprice": {
  41366. "description": "销售金额(¥)",
  41367. "type": "number"
  41368. },
  41369. "totalqty": {
  41370. "description": "总数量",
  41371. "type": "integer"
  41372. },
  41373. "totalweight": {
  41374. "description": "销售重量(ct)",
  41375. "type": "number"
  41376. },
  41377. "tradewrqty": {
  41378. "description": "订单仓单头寸总数量",
  41379. "type": "integer"
  41380. },
  41381. "transfertradewrqty": {
  41382. "description": "今日转订单数量",
  41383. "type": "integer"
  41384. },
  41385. "warehouseid": {
  41386. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  41387. "type": "integer"
  41388. },
  41389. "wrfactortypeid": {
  41390. "description": "仓单要素类型ID",
  41391. "type": "integer"
  41392. },
  41393. "wrpositionid": {
  41394. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  41395. "type": "integer"
  41396. },
  41397. "wrstandardcode": {
  41398. "description": "现货商品代码",
  41399. "type": "string"
  41400. },
  41401. "wrstandardid": {
  41402. "description": "现货商品ID",
  41403. "type": "integer"
  41404. },
  41405. "wruserid": {
  41406. "description": "持有人ID",
  41407. "type": "integer"
  41408. },
  41409. "zscategory": {
  41410. "description": "商品分类",
  41411. "type": "integer"
  41412. },
  41413. "zscategorydisplay": {
  41414. "type": "string"
  41415. },
  41416. "zscurrencytype": {
  41417. "description": "商品币种",
  41418. "type": "integer"
  41419. },
  41420. "zscurrencytypedisplay": {
  41421. "type": "string"
  41422. },
  41423. "zscurrencytypedisplayunit": {
  41424. "type": "string"
  41425. }
  41426. }
  41427. },
  41428. "models.WRSConverTDetail": {
  41429. "type": "object",
  41430. "properties": {
  41431. "convertratio": {
  41432. "description": "套保系数",
  41433. "type": "number"
  41434. },
  41435. "deliverygoodscode": {
  41436. "description": "现货商品代码",
  41437. "type": "string"
  41438. },
  41439. "deliverygoodsid": {
  41440. "description": "现货品种ID",
  41441. "type": "integer"
  41442. },
  41443. "deliverygoodsname": {
  41444. "description": "现货商品名称",
  41445. "type": "string"
  41446. },
  41447. "enumdicname": {
  41448. "description": "单位名称",
  41449. "type": "string"
  41450. },
  41451. "goodsunitid": {
  41452. "description": "套保品种单位id",
  41453. "type": "integer"
  41454. },
  41455. "middlegoodscode": {
  41456. "description": "套保品种代码",
  41457. "type": "string"
  41458. },
  41459. "middlegoodsid": {
  41460. "description": "套保品种ID",
  41461. "type": "integer"
  41462. },
  41463. "middlegoodsname": {
  41464. "description": "套保品种名称",
  41465. "type": "string"
  41466. },
  41467. "modifytime": {
  41468. "description": "修改时间",
  41469. "type": "string"
  41470. },
  41471. "wrstandardid": {
  41472. "description": "品类ID",
  41473. "type": "integer"
  41474. }
  41475. }
  41476. },
  41477. "models.WRStandardInfo": {
  41478. "type": "object",
  41479. "required": [
  41480. "wrstandardid"
  41481. ],
  41482. "properties": {
  41483. "areauserid": {
  41484. "description": "所属机构",
  41485. "type": "integer"
  41486. },
  41487. "convertfactor": {
  41488. "description": "标仓系数",
  41489. "type": "number"
  41490. },
  41491. "createtime": {
  41492. "description": "创建时间",
  41493. "type": "string"
  41494. },
  41495. "creatorid": {
  41496. "description": "创建人",
  41497. "type": "integer"
  41498. },
  41499. "deliverygoodsid": {
  41500. "description": "品种ID",
  41501. "type": "integer"
  41502. },
  41503. "deliverygoodsname": {
  41504. "description": "交割商品名称",
  41505. "type": "string"
  41506. },
  41507. "factoryitemjson": {
  41508. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  41509. "type": "string"
  41510. },
  41511. "isvalid": {
  41512. "description": "是否有效 - 0:无效 1:有效",
  41513. "type": "integer"
  41514. },
  41515. "minivalue": {
  41516. "description": "最小变动值",
  41517. "type": "integer"
  41518. },
  41519. "minivaluedp": {
  41520. "description": "最小变动值小数位",
  41521. "type": "integer"
  41522. },
  41523. "realminivalue": {
  41524. "description": "实际最小变动值",
  41525. "type": "integer"
  41526. },
  41527. "realminivaluedp": {
  41528. "description": "实际最小变动值小数位",
  41529. "type": "integer"
  41530. },
  41531. "remark": {
  41532. "description": "备注",
  41533. "type": "string"
  41534. },
  41535. "unitid": {
  41536. "description": "单位ID",
  41537. "type": "integer"
  41538. },
  41539. "unitname": {
  41540. "description": "单位",
  41541. "type": "string"
  41542. },
  41543. "updatetime": {
  41544. "description": "更新时间",
  41545. "type": "string"
  41546. },
  41547. "updatorid": {
  41548. "description": "更新人",
  41549. "type": "integer"
  41550. },
  41551. "wrsstatus": {
  41552. "description": "状态 - 作废 - 0:未激活 1:正常",
  41553. "type": "integer"
  41554. },
  41555. "wrstandardcode": {
  41556. "description": "现货品类代码",
  41557. "type": "string"
  41558. },
  41559. "wrstandardid": {
  41560. "description": "现货品类ID(SEQ_WRSTANDARD)",
  41561. "type": "integer"
  41562. },
  41563. "wrstandardname": {
  41564. "description": "现货品类名称",
  41565. "type": "string"
  41566. }
  41567. }
  41568. },
  41569. "models.WRTradeBargainApply": {
  41570. "type": "object",
  41571. "properties": {
  41572. "accountid": {
  41573. "description": "摘牌资金账号",
  41574. "type": "integer"
  41575. },
  41576. "applyprice": {
  41577. "description": "申请价格(议价价格)",
  41578. "type": "string"
  41579. },
  41580. "applyqty": {
  41581. "description": "摘牌数量(议价数量)",
  41582. "type": "number"
  41583. },
  41584. "applyremark": {
  41585. "description": "申请备注",
  41586. "type": "string"
  41587. },
  41588. "applystatus": {
  41589. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  41590. "type": "integer"
  41591. },
  41592. "applytime": {
  41593. "description": "申请时间(议价时间)",
  41594. "type": "string"
  41595. },
  41596. "begindate": {
  41597. "description": "开始交易日(yyyymmdd)",
  41598. "type": "string"
  41599. },
  41600. "buyorsell": {
  41601. "description": "买卖(挂牌类型) - 0:买 1:卖",
  41602. "type": "integer"
  41603. },
  41604. "confirmremark": {
  41605. "description": "确认备注",
  41606. "type": "string"
  41607. },
  41608. "confirmtime": {
  41609. "description": "确认时间",
  41610. "type": "string"
  41611. },
  41612. "confirmuserid": {
  41613. "description": "确认人",
  41614. "type": "integer"
  41615. },
  41616. "deliverygoodscode": {
  41617. "description": "品种代码",
  41618. "type": "string"
  41619. },
  41620. "deliverygoodsid": {
  41621. "description": "品种ID",
  41622. "type": "integer"
  41623. },
  41624. "deliverygoodsname": {
  41625. "description": "品种名称",
  41626. "type": "string"
  41627. },
  41628. "deliverymonth": {
  41629. "description": "交收月",
  41630. "type": "string"
  41631. },
  41632. "enddate": {
  41633. "description": "结束交易日(yyyymmdd)",
  41634. "type": "string"
  41635. },
  41636. "enumdicname": {
  41637. "description": "单位名称",
  41638. "type": "string"
  41639. },
  41640. "fixedprice": {
  41641. "description": "期初均价",
  41642. "type": "number"
  41643. },
  41644. "handlestatus": {
  41645. "description": "处理状态",
  41646. "type": "integer"
  41647. },
  41648. "marginvalue": {
  41649. "description": "期初均价",
  41650. "type": "number"
  41651. },
  41652. "marketid": {
  41653. "description": "市场ID",
  41654. "type": "integer"
  41655. },
  41656. "matchaccountid": {
  41657. "description": "挂牌方资金账号",
  41658. "type": "integer"
  41659. },
  41660. "matchuserid": {
  41661. "description": "挂牌方用户id",
  41662. "type": "integer"
  41663. },
  41664. "matchusername": {
  41665. "description": "挂牌方用户名称(已脱敏)",
  41666. "type": "string"
  41667. },
  41668. "minivalue": {
  41669. "description": "现货商品最小变动值",
  41670. "type": "integer"
  41671. },
  41672. "optioncompare": {
  41673. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  41674. "type": "string"
  41675. },
  41676. "orderqty": {
  41677. "description": "挂牌数量",
  41678. "type": "integer"
  41679. },
  41680. "refprice": {
  41681. "description": "参考价格",
  41682. "type": "string"
  41683. },
  41684. "retcode": {
  41685. "description": "委托返回代码",
  41686. "type": "integer"
  41687. },
  41688. "templatename": {
  41689. "description": "履约方式(履约模板名称)",
  41690. "type": "string"
  41691. },
  41692. "tradedate": {
  41693. "description": "交易日(yyyyMMdd)",
  41694. "type": "string"
  41695. },
  41696. "userid": {
  41697. "description": "摘牌人用户ID(议价人ID)",
  41698. "type": "integer"
  41699. },
  41700. "username": {
  41701. "description": "议价人名字(已脱敏)",
  41702. "type": "string"
  41703. },
  41704. "validtime": {
  41705. "description": "有效期限",
  41706. "type": "string"
  41707. },
  41708. "warehouseid": {
  41709. "description": "仓库ID",
  41710. "type": "integer"
  41711. },
  41712. "warehousename": {
  41713. "description": "仓库名称",
  41714. "type": "string"
  41715. },
  41716. "wrbargainid": {
  41717. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  41718. "type": "string"
  41719. },
  41720. "wrfactortypeid": {
  41721. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  41722. "type": "string"
  41723. },
  41724. "wrfactortypename": {
  41725. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  41726. "type": "string"
  41727. },
  41728. "wrstandardcode": {
  41729. "description": "现货商品代码",
  41730. "type": "string"
  41731. },
  41732. "wrstandardid": {
  41733. "description": "现货商品ID",
  41734. "type": "integer"
  41735. },
  41736. "wrstandardname": {
  41737. "description": "商品名称",
  41738. "type": "string"
  41739. },
  41740. "wrtradeorderid": {
  41741. "description": "关联委托单ID",
  41742. "type": "string"
  41743. },
  41744. "wrtypename": {
  41745. "description": "商品",
  41746. "type": "string"
  41747. }
  41748. }
  41749. },
  41750. "models.Warehouseinfo": {
  41751. "type": "object",
  41752. "required": [
  41753. "autoid",
  41754. "warehousecode"
  41755. ],
  41756. "properties": {
  41757. "address": {
  41758. "description": "详细地址",
  41759. "type": "string"
  41760. },
  41761. "areauserid": {
  41762. "description": "所属机构",
  41763. "type": "integer"
  41764. },
  41765. "autoid": {
  41766. "description": "自增ID",
  41767. "type": "integer"
  41768. },
  41769. "cityid": {
  41770. "description": "市",
  41771. "type": "integer"
  41772. },
  41773. "contactname": {
  41774. "description": "联系人",
  41775. "type": "string"
  41776. },
  41777. "contactnum": {
  41778. "description": "联系电话",
  41779. "type": "string"
  41780. },
  41781. "countryid": {
  41782. "description": "国家",
  41783. "type": "integer"
  41784. },
  41785. "createtime": {
  41786. "description": "创建时间",
  41787. "type": "string"
  41788. },
  41789. "districtid": {
  41790. "description": "区",
  41791. "type": "integer"
  41792. },
  41793. "hasvideo": {
  41794. "description": "是否有视频 - 0:无 1:有",
  41795. "type": "integer"
  41796. },
  41797. "provinceid": {
  41798. "description": "省",
  41799. "type": "integer"
  41800. },
  41801. "remark": {
  41802. "description": "审核备注",
  41803. "type": "string"
  41804. },
  41805. "videourl": {
  41806. "description": "视频地址",
  41807. "type": "string"
  41808. },
  41809. "warehousecode": {
  41810. "description": "仓库代码",
  41811. "type": "string"
  41812. },
  41813. "warehousename": {
  41814. "description": "仓库名称",
  41815. "type": "string"
  41816. },
  41817. "warehousestatus": {
  41818. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  41819. "type": "integer"
  41820. },
  41821. "warehousetype": {
  41822. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  41823. "type": "integer"
  41824. }
  41825. }
  41826. },
  41827. "models.WrAverageTradePrice": {
  41828. "type": "object",
  41829. "properties": {
  41830. "averageprice": {
  41831. "description": "期初均价",
  41832. "type": "number"
  41833. },
  41834. "tradedate": {
  41835. "description": "交易日yyyymm",
  41836. "type": "string"
  41837. }
  41838. }
  41839. },
  41840. "models.WrBrandAndYears": {
  41841. "type": "object",
  41842. "properties": {
  41843. "brandlst": {
  41844. "description": "品牌列表",
  41845. "type": "array",
  41846. "items": {
  41847. "$ref": "#/definitions/models.DgFactoryItem"
  41848. }
  41849. },
  41850. "yearslst": {
  41851. "description": "年份列表",
  41852. "type": "array",
  41853. "items": {
  41854. "$ref": "#/definitions/models.DgFactoryItem"
  41855. }
  41856. }
  41857. }
  41858. },
  41859. "models.WrBsGoodsInfo": {
  41860. "type": "object",
  41861. "properties": {
  41862. "buyorsell": {
  41863. "description": "买卖方向 0-买 1-卖",
  41864. "type": "integer"
  41865. },
  41866. "goodsid": {
  41867. "description": "交易合约ID",
  41868. "type": "integer"
  41869. },
  41870. "lstitem": {
  41871. "description": "商品信息项",
  41872. "type": "array",
  41873. "items": {
  41874. "$ref": "#/definitions/models.WrTypeItem"
  41875. }
  41876. },
  41877. "lststep": {
  41878. "description": "履约规则",
  41879. "type": "array",
  41880. "items": {
  41881. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  41882. }
  41883. }
  41884. }
  41885. },
  41886. "models.WrBuybackDetail": {
  41887. "type": "object",
  41888. "properties": {
  41889. "buybackamount": {
  41890. "description": "回购金额",
  41891. "type": "number"
  41892. },
  41893. "buybackqty": {
  41894. "description": "回购数量",
  41895. "type": "number"
  41896. },
  41897. "buybackreleasemargin": {
  41898. "description": "回购释放保证金",
  41899. "type": "number"
  41900. },
  41901. "buybacktime": {
  41902. "description": "回购时间",
  41903. "type": "string"
  41904. },
  41905. "errordesc": {
  41906. "description": "错误描述",
  41907. "type": "string"
  41908. },
  41909. "handlestatus": {
  41910. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  41911. "type": "integer"
  41912. },
  41913. "relatedwrid": {
  41914. "description": "关联仓单ID",
  41915. "type": "integer"
  41916. },
  41917. "scfcontractid": {
  41918. "description": "SCF合同ID",
  41919. "type": "string"
  41920. },
  41921. "scfwrbuybackid": {
  41922. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  41923. "type": "integer"
  41924. },
  41925. "tradedate": {
  41926. "description": "交易日(yyyyMMdd)",
  41927. "type": "string"
  41928. }
  41929. }
  41930. },
  41931. "models.WrClientAdSpaceConfig": {
  41932. "type": "object",
  41933. "properties": {
  41934. "adspaceid": {
  41935. "description": "广告位ID",
  41936. "type": "integer"
  41937. },
  41938. "adspacename": {
  41939. "description": "广告位名称",
  41940. "type": "string"
  41941. },
  41942. "adspacetype": {
  41943. "description": "广告位类型 - 1:固定广告位",
  41944. "type": "integer"
  41945. },
  41946. "areauserid": {
  41947. "description": "所属机构ID",
  41948. "type": "integer"
  41949. },
  41950. "createdate": {
  41951. "description": "创建时间",
  41952. "type": "string"
  41953. },
  41954. "imagepath": {
  41955. "description": "图片",
  41956. "type": "string"
  41957. },
  41958. "modifierid": {
  41959. "description": "操作人",
  41960. "type": "integer"
  41961. },
  41962. "recsize": {
  41963. "description": "推荐尺寸",
  41964. "type": "string"
  41965. },
  41966. "title": {
  41967. "description": "标题",
  41968. "type": "string"
  41969. },
  41970. "updatedate": {
  41971. "description": "更新时间",
  41972. "type": "string"
  41973. },
  41974. "urlcontent": {
  41975. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  41976. "type": "string"
  41977. },
  41978. "urltype": {
  41979. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  41980. "type": "integer"
  41981. }
  41982. }
  41983. },
  41984. "models.WrDeliveryAvalidHoldLB": {
  41985. "type": "object",
  41986. "properties": {
  41987. "accountid": {
  41988. "description": "资金账号",
  41989. "type": "integer"
  41990. },
  41991. "avalidqty": {
  41992. "description": "数量(可点选数量)",
  41993. "type": "number"
  41994. },
  41995. "deliverygoodsid": {
  41996. "description": "品种id",
  41997. "type": "integer"
  41998. },
  41999. "enumdicname": {
  42000. "description": "单位名称",
  42001. "type": "string"
  42002. },
  42003. "goodsid": {
  42004. "description": "x合约商品id",
  42005. "type": "integer"
  42006. },
  42007. "ladingbillid": {
  42008. "description": "提单id",
  42009. "type": "string"
  42010. },
  42011. "pgoodscode": {
  42012. "description": "p商品代码(点价合约)",
  42013. "type": "string"
  42014. },
  42015. "pgoodsid": {
  42016. "description": "p商品id(点价合约)",
  42017. "type": "integer"
  42018. },
  42019. "pgoodsname": {
  42020. "description": "p商品名称(点价合约)",
  42021. "type": "string"
  42022. },
  42023. "pricemove": {
  42024. "description": "升贴水",
  42025. "type": "number"
  42026. },
  42027. "subnum": {
  42028. "description": "提单子id",
  42029. "type": "integer"
  42030. },
  42031. "userid": {
  42032. "description": "用户id",
  42033. "type": "integer"
  42034. },
  42035. "username": {
  42036. "description": "仓单持有人",
  42037. "type": "string"
  42038. },
  42039. "warehousecode": {
  42040. "description": "仓库代码",
  42041. "type": "string"
  42042. },
  42043. "warehouseid": {
  42044. "description": "仓库id",
  42045. "type": "integer"
  42046. },
  42047. "warehousename": {
  42048. "description": "仓库名称",
  42049. "type": "string"
  42050. },
  42051. "wrfactortypeid": {
  42052. "description": "仓单要素id",
  42053. "type": "string"
  42054. },
  42055. "wrstandardcode": {
  42056. "description": "品代码",
  42057. "type": "string"
  42058. },
  42059. "wrstandardid": {
  42060. "description": "品类d",
  42061. "type": "integer"
  42062. },
  42063. "wrstandardname": {
  42064. "description": "品类名称",
  42065. "type": "string"
  42066. },
  42067. "wrtypename": {
  42068. "description": "商品",
  42069. "type": "string"
  42070. },
  42071. "xgoodscode": {
  42072. "description": "x合约代码",
  42073. "type": "string"
  42074. },
  42075. "xgoodsname": {
  42076. "description": "x合约名称",
  42077. "type": "string"
  42078. }
  42079. }
  42080. },
  42081. "models.WrDeliveryDetail": {
  42082. "type": "object",
  42083. "properties": {
  42084. "accountid": {
  42085. "description": "账号ID",
  42086. "type": "integer"
  42087. },
  42088. "averageprice": {
  42089. "description": "期初均价",
  42090. "type": "number"
  42091. },
  42092. "begindate": {
  42093. "description": "开始交易日(yyyymmdd)",
  42094. "type": "string"
  42095. },
  42096. "buyorsell": {
  42097. "description": "方向 - 0:买 1:卖",
  42098. "type": "integer"
  42099. },
  42100. "deliveryamount": {
  42101. "description": "货款金额(X总货款+P总货款)",
  42102. "type": "number"
  42103. },
  42104. "deliveryid": {
  42105. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  42106. "type": "string"
  42107. },
  42108. "deliveryorderid": {
  42109. "description": "申报单号",
  42110. "type": "string"
  42111. },
  42112. "deliverypricemove": {
  42113. "description": "升贴水(升贴水总额)",
  42114. "type": "number"
  42115. },
  42116. "deliveryqty": {
  42117. "description": "交收数量(点选数量)",
  42118. "type": "number"
  42119. },
  42120. "deliverystatus": {
  42121. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  42122. "type": "integer"
  42123. },
  42124. "deliverytime": {
  42125. "description": "交割时间",
  42126. "type": "string"
  42127. },
  42128. "deliverytotalamount": {
  42129. "description": "交收金额",
  42130. "type": "number"
  42131. },
  42132. "enddate": {
  42133. "description": "结束交易日(yyyymmdd)",
  42134. "type": "string"
  42135. },
  42136. "enumdicname": {
  42137. "description": "单位名称",
  42138. "type": "string"
  42139. },
  42140. "matchaccountid": {
  42141. "description": "对手账号ID",
  42142. "type": "integer"
  42143. },
  42144. "matchusername": {
  42145. "description": "对手方名称(仓单持有人)",
  42146. "type": "string"
  42147. },
  42148. "p1goodsremainamount": {
  42149. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42150. "type": "number"
  42151. },
  42152. "pdeliverycloseqty": {
  42153. "description": "p合约平仓数量",
  42154. "type": "number"
  42155. },
  42156. "pdeliveryprice": {
  42157. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  42158. "type": "number"
  42159. },
  42160. "pgoodscode": {
  42161. "description": "商品代码",
  42162. "type": "string"
  42163. },
  42164. "pgoodsid": {
  42165. "description": "p点选合约id",
  42166. "type": "integer"
  42167. },
  42168. "pgoodsname": {
  42169. "description": "商品名称",
  42170. "type": "string"
  42171. },
  42172. "ppricemode": {
  42173. "description": "点价价格方式 - 1:商品价 2:固定值",
  42174. "type": "integer"
  42175. },
  42176. "tradedate": {
  42177. "description": "交易日(yyyymmdd)",
  42178. "type": "string"
  42179. },
  42180. "userid": {
  42181. "description": "用户id",
  42182. "type": "integer"
  42183. },
  42184. "username": {
  42185. "description": "用户名称",
  42186. "type": "string"
  42187. },
  42188. "warehousename": {
  42189. "description": "仓库名称",
  42190. "type": "string"
  42191. },
  42192. "wrfactortypeid": {
  42193. "description": "仓单要素类型ID",
  42194. "type": "string"
  42195. },
  42196. "wrtypename": {
  42197. "description": "商品",
  42198. "type": "string"
  42199. },
  42200. "xdeliverycloseqty": {
  42201. "description": "合约数量",
  42202. "type": "number"
  42203. },
  42204. "xgoodsamount": {
  42205. "description": "期初均价",
  42206. "type": "number"
  42207. },
  42208. "xgoodscode": {
  42209. "description": "商品代码",
  42210. "type": "string"
  42211. },
  42212. "xgoodsid": {
  42213. "description": "x交易合约ID",
  42214. "type": "integer"
  42215. },
  42216. "xgoodsname": {
  42217. "description": "商品名称",
  42218. "type": "string"
  42219. }
  42220. }
  42221. },
  42222. "models.WrDeliveryGoodsSection": {
  42223. "type": "object",
  42224. "properties": {
  42225. "dglst": {
  42226. "description": "板块商品列表",
  42227. "type": "array",
  42228. "items": {
  42229. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  42230. }
  42231. },
  42232. "imagepath": {
  42233. "description": "图片地址",
  42234. "type": "string"
  42235. },
  42236. "orderindex": {
  42237. "description": "排序",
  42238. "type": "integer"
  42239. },
  42240. "sectionid": {
  42241. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  42242. "type": "integer"
  42243. },
  42244. "sectionname": {
  42245. "description": "版块名称",
  42246. "type": "string"
  42247. },
  42248. "sectiontype": {
  42249. "description": "版块类型 - 1:指数版块 2:普通版块",
  42250. "type": "integer"
  42251. }
  42252. }
  42253. },
  42254. "models.WrDeliveryGoodsSectionConfig": {
  42255. "type": "object",
  42256. "properties": {
  42257. "deliverygoodscode": {
  42258. "description": "现货商品代码",
  42259. "type": "string"
  42260. },
  42261. "deliverygoodsid": {
  42262. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  42263. "type": "integer"
  42264. },
  42265. "deliverygoodsname": {
  42266. "description": "现货商品名称",
  42267. "type": "string"
  42268. },
  42269. "orderindex": {
  42270. "description": "排序",
  42271. "type": "integer"
  42272. }
  42273. }
  42274. },
  42275. "models.WrDraftUserInfo": {
  42276. "type": "object",
  42277. "properties": {
  42278. "address": {
  42279. "description": "地址",
  42280. "type": "string"
  42281. },
  42282. "attachment1": {
  42283. "description": "附件1",
  42284. "type": "string"
  42285. },
  42286. "attachment2": {
  42287. "description": "附件2",
  42288. "type": "string"
  42289. },
  42290. "attachment3": {
  42291. "description": "附件3",
  42292. "type": "string"
  42293. },
  42294. "attachment4": {
  42295. "description": "附件4",
  42296. "type": "string"
  42297. },
  42298. "attachment5": {
  42299. "description": "附件5",
  42300. "type": "string"
  42301. },
  42302. "bankaccount": {
  42303. "description": "银行帐号 (加密存储)",
  42304. "type": "string"
  42305. },
  42306. "bankaccountname": {
  42307. "description": "收款人名称",
  42308. "type": "string"
  42309. },
  42310. "bankcardfrontphotourl": {
  42311. "description": "银行卡正面照地址",
  42312. "type": "string"
  42313. },
  42314. "bankid": {
  42315. "description": "银行编码",
  42316. "type": "string"
  42317. },
  42318. "bankname": {
  42319. "description": "银行名称",
  42320. "type": "string"
  42321. },
  42322. "birthday": {
  42323. "description": "生日(个人:年月日)",
  42324. "type": "string"
  42325. },
  42326. "biznature": {
  42327. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  42328. "type": "integer"
  42329. },
  42330. "bizscope": {
  42331. "description": "企业经营范围(企业)",
  42332. "type": "string"
  42333. },
  42334. "biztype": {
  42335. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  42336. "type": "integer"
  42337. },
  42338. "cardbackphotourl": {
  42339. "description": "证件背面图片地址",
  42340. "type": "string"
  42341. },
  42342. "cardfrontphotourl": {
  42343. "description": "证件正面图片地址",
  42344. "type": "string"
  42345. },
  42346. "cardnum": {
  42347. "description": "证件号码(加密存储)",
  42348. "type": "string"
  42349. },
  42350. "cardtypeid": {
  42351. "description": "证件类型ID",
  42352. "type": "integer"
  42353. },
  42354. "cityid": {
  42355. "description": "市",
  42356. "type": "integer"
  42357. },
  42358. "company": {
  42359. "description": "公司(个人)",
  42360. "type": "string"
  42361. },
  42362. "contactcardbackphotourl": {
  42363. "description": "联系人证件背面图片地址",
  42364. "type": "string"
  42365. },
  42366. "contactcardfrontphotourl": {
  42367. "description": "联系人证件正面图片地址",
  42368. "type": "string"
  42369. },
  42370. "contactname": {
  42371. "description": "联系人",
  42372. "type": "string"
  42373. },
  42374. "countryid": {
  42375. "description": "国家",
  42376. "type": "integer"
  42377. },
  42378. "createtime": {
  42379. "description": "创建时间",
  42380. "type": "string"
  42381. },
  42382. "creatorid": {
  42383. "description": "创建人",
  42384. "type": "integer"
  42385. },
  42386. "creditquota": {
  42387. "description": "授信额度(金瑞)",
  42388. "type": "number"
  42389. },
  42390. "customername": {
  42391. "description": "客户名称(企业名称)",
  42392. "type": "string"
  42393. },
  42394. "districtid": {
  42395. "description": "地区",
  42396. "type": "integer"
  42397. },
  42398. "email": {
  42399. "description": "邮件(加密存储)",
  42400. "type": "string"
  42401. },
  42402. "fax": {
  42403. "description": "传真(加密存储)",
  42404. "type": "string"
  42405. },
  42406. "halfbodyphotourl": {
  42407. "description": "半身照地址",
  42408. "type": "string"
  42409. },
  42410. "hasencrypt": {
  42411. "description": "数据是否已加密 - 0:未加密 1:已加密",
  42412. "type": "integer"
  42413. },
  42414. "headurl": {
  42415. "description": "头像地址",
  42416. "type": "string"
  42417. },
  42418. "legalcardbackphotourl": {
  42419. "description": "法人身份证背面照地址",
  42420. "type": "string"
  42421. },
  42422. "legalcardfrontphotourl": {
  42423. "description": "法人身份证正面照地址",
  42424. "type": "string"
  42425. },
  42426. "legalpersonname": {
  42427. "description": "法人姓名(企业)",
  42428. "type": "string"
  42429. },
  42430. "mobile": {
  42431. "description": "手机号码(加密存储)",
  42432. "type": "string"
  42433. },
  42434. "mobile2": {
  42435. "description": "手机号码[明文-尚志]",
  42436. "type": "string"
  42437. },
  42438. "modifierid": {
  42439. "description": "修改人",
  42440. "type": "integer"
  42441. },
  42442. "modifiertime": {
  42443. "description": "修改时间",
  42444. "type": "string"
  42445. },
  42446. "needinvoice": {
  42447. "description": "是否需要发票 - 0:不需要 1:需要",
  42448. "type": "integer"
  42449. },
  42450. "nickname": {
  42451. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  42452. "type": "string"
  42453. },
  42454. "openmode": {
  42455. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  42456. "type": "integer"
  42457. },
  42458. "otherurl": {
  42459. "description": "其它图片地址[使用分号分隔]",
  42460. "type": "string"
  42461. },
  42462. "postalcode": {
  42463. "description": "邮政编码",
  42464. "type": "string"
  42465. },
  42466. "provinceid": {
  42467. "description": "省",
  42468. "type": "integer"
  42469. },
  42470. "proxystatementurl": {
  42471. "description": "授权委托书",
  42472. "type": "string"
  42473. },
  42474. "qq": {
  42475. "description": "QQ(加密存储",
  42476. "type": "string"
  42477. },
  42478. "remark": {
  42479. "description": "备注",
  42480. "type": "string"
  42481. },
  42482. "sex": {
  42483. "description": "用户性别 0: 女 1: 男",
  42484. "type": "integer"
  42485. },
  42486. "signpdfurl": {
  42487. "description": "签约pdf文件",
  42488. "type": "string"
  42489. },
  42490. "taxpayernum": {
  42491. "description": "纳税人识别号",
  42492. "type": "string"
  42493. },
  42494. "telphone": {
  42495. "description": "联系电话(加密存储)",
  42496. "type": "string"
  42497. },
  42498. "userid": {
  42499. "description": "用户ID",
  42500. "type": "integer"
  42501. },
  42502. "userinfotype": {
  42503. "description": "用户信息类型 - 1:个人 2:企业",
  42504. "type": "integer"
  42505. },
  42506. "userstatus": {
  42507. "description": "用户状态 - 1:正常 2:注销",
  42508. "type": "integer"
  42509. },
  42510. "usertype": {
  42511. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  42512. "type": "integer"
  42513. },
  42514. "wechat": {
  42515. "description": "微信(加密存储)",
  42516. "type": "string"
  42517. },
  42518. "wskhinfo": {
  42519. "description": "开户申请信息(JSON)",
  42520. "type": "string"
  42521. }
  42522. }
  42523. },
  42524. "models.WrFAProductDetail": {
  42525. "type": "object",
  42526. "properties": {
  42527. "accountid": {
  42528. "description": "资金账号",
  42529. "type": "integer"
  42530. },
  42531. "areauserid": {
  42532. "description": "金融机构ID",
  42533. "type": "integer"
  42534. },
  42535. "financingdays": {
  42536. "description": "天数(天)",
  42537. "type": "integer"
  42538. },
  42539. "interestminlen": {
  42540. "description": "最小起息天数",
  42541. "type": "integer"
  42542. },
  42543. "interestrate": {
  42544. "description": "利率",
  42545. "type": "number"
  42546. },
  42547. "interestratemode": {
  42548. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42549. "type": "integer"
  42550. },
  42551. "interestsettlemode": {
  42552. "description": "结息方式 - 1:按日结息 3:按月结息",
  42553. "type": "integer"
  42554. },
  42555. "interestsettlevalue": {
  42556. "description": "结息方式值",
  42557. "type": "integer"
  42558. },
  42559. "isautoloan": {
  42560. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  42561. "type": "integer"
  42562. },
  42563. "loantag": {
  42564. "description": "放款标识: \"放款快\" 或者为空",
  42565. "type": "string"
  42566. },
  42567. "marginratio": {
  42568. "description": "保证金比率质押率 - [仓单质押]",
  42569. "type": "number"
  42570. },
  42571. "productdetailid": {
  42572. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  42573. "type": "integer"
  42574. },
  42575. "productid": {
  42576. "description": "金融产品ID",
  42577. "type": "integer"
  42578. },
  42579. "productname": {
  42580. "description": "产品名称",
  42581. "type": "string"
  42582. },
  42583. "updatetime": {
  42584. "description": "更新时间",
  42585. "type": "string"
  42586. },
  42587. "username": {
  42588. "description": "融出方",
  42589. "type": "string"
  42590. }
  42591. }
  42592. },
  42593. "models.WrFactorTypeInfo": {
  42594. "type": "object",
  42595. "properties": {
  42596. "deliverygoodscode": {
  42597. "description": "品种代码",
  42598. "type": "string"
  42599. },
  42600. "deliverygoodsname": {
  42601. "description": "品种名称",
  42602. "type": "string"
  42603. },
  42604. "dgfactoryitemid": {
  42605. "description": "选择项id",
  42606. "type": "integer"
  42607. },
  42608. "dgfactoryitemtypeid": {
  42609. "description": "要素选择项ID (1-仓库 2-品牌)",
  42610. "type": "integer"
  42611. },
  42612. "dgfactoryitemvalue": {
  42613. "description": "要素项值",
  42614. "type": "string"
  42615. },
  42616. "itemtypename": {
  42617. "description": "要素项名称",
  42618. "type": "string"
  42619. },
  42620. "optioncompare": {
  42621. "description": "选择比较串",
  42622. "type": "string"
  42623. },
  42624. "warehouseid": {
  42625. "description": "仓库id",
  42626. "type": "integer"
  42627. },
  42628. "wrfactortypeid": {
  42629. "description": "仓单要素ID",
  42630. "type": "string"
  42631. },
  42632. "wrfactortypename": {
  42633. "description": "要素名称",
  42634. "type": "string"
  42635. },
  42636. "wrfactortypename2": {
  42637. "description": "要素名称(不含仓库)",
  42638. "type": "string"
  42639. },
  42640. "wrstandardcode": {
  42641. "description": "品类代码",
  42642. "type": "string"
  42643. },
  42644. "wrstandardid": {
  42645. "description": "品类id",
  42646. "type": "integer"
  42647. },
  42648. "wrstandardname": {
  42649. "description": "品类名称",
  42650. "type": "string"
  42651. }
  42652. }
  42653. },
  42654. "models.WrFilterItem": {
  42655. "type": "object",
  42656. "properties": {
  42657. "itemcode": {
  42658. "description": "代码",
  42659. "type": "string"
  42660. },
  42661. "itemid": {
  42662. "description": "项id",
  42663. "type": "integer"
  42664. },
  42665. "itemname": {
  42666. "description": "名称",
  42667. "type": "string"
  42668. },
  42669. "itemtype": {
  42670. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  42671. "type": "integer"
  42672. }
  42673. }
  42674. },
  42675. "models.WrFinanceBuyApply": {
  42676. "type": "object",
  42677. "properties": {
  42678. "applydate": {
  42679. "description": "申请时间",
  42680. "type": "string"
  42681. },
  42682. "applystatus": {
  42683. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  42684. "type": "integer"
  42685. },
  42686. "applyuserid": {
  42687. "description": "申请人",
  42688. "type": "integer"
  42689. },
  42690. "auditdate": {
  42691. "description": "审核时间",
  42692. "type": "string"
  42693. },
  42694. "auditremark": {
  42695. "description": "审核备注",
  42696. "type": "string"
  42697. },
  42698. "audituserid": {
  42699. "description": "审核人",
  42700. "type": "integer"
  42701. },
  42702. "buyaccountid": {
  42703. "description": "买方资金账号",
  42704. "type": "integer"
  42705. },
  42706. "buyorsell": {
  42707. "description": "买卖 - 0:买 1:卖",
  42708. "type": "integer"
  42709. },
  42710. "buyuserid": {
  42711. "description": "买方用户ID",
  42712. "type": "integer"
  42713. },
  42714. "buyusername": {
  42715. "description": "买方名称",
  42716. "type": "string"
  42717. },
  42718. "buywrtradeorderid": {
  42719. "description": "融资方买委托单ID",
  42720. "type": "string"
  42721. },
  42722. "deliverygoodscode": {
  42723. "description": "品种代码",
  42724. "type": "string"
  42725. },
  42726. "deliverygoodsid": {
  42727. "description": "品种ID",
  42728. "type": "integer"
  42729. },
  42730. "deliverygoodsname": {
  42731. "description": "品种名称",
  42732. "type": "string"
  42733. },
  42734. "deliverymonth": {
  42735. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  42736. "type": "string"
  42737. },
  42738. "enumdicname": {
  42739. "description": "单位名称",
  42740. "type": "string"
  42741. },
  42742. "financeaccountid": {
  42743. "description": "融资方资金帐户ID",
  42744. "type": "integer"
  42745. },
  42746. "financeapplyid": {
  42747. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  42748. "type": "string"
  42749. },
  42750. "financeareauserid": {
  42751. "description": "融资方用户ID",
  42752. "type": "string"
  42753. },
  42754. "financename": {
  42755. "description": "融出方名称",
  42756. "type": "string"
  42757. },
  42758. "financetype": {
  42759. "description": "融资类型 1-融资回购",
  42760. "type": "integer"
  42761. },
  42762. "financingdays": {
  42763. "description": "天数(天)",
  42764. "type": "integer"
  42765. },
  42766. "freezebuymargin": {
  42767. "description": "冻结融资保证金(买方)",
  42768. "type": "number"
  42769. },
  42770. "handleremark": {
  42771. "description": "处理备注",
  42772. "type": "string"
  42773. },
  42774. "handlestatus": {
  42775. "description": "处理状态",
  42776. "type": "integer"
  42777. },
  42778. "interestminlen": {
  42779. "description": "最小起息天数",
  42780. "type": "integer"
  42781. },
  42782. "interestrate": {
  42783. "description": "利率",
  42784. "type": "number"
  42785. },
  42786. "interestratemode": {
  42787. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  42788. "type": "integer"
  42789. },
  42790. "interestsettlemode": {
  42791. "description": "结息方式 - 1:按日结息 3:按月结息",
  42792. "type": "integer"
  42793. },
  42794. "interestsettlevalue": {
  42795. "description": "结息方式值",
  42796. "type": "integer"
  42797. },
  42798. "isautoloan": {
  42799. "description": "是否自动放款 - 0:手动 1:自动",
  42800. "type": "integer"
  42801. },
  42802. "marginratio": {
  42803. "description": "保证金比率质押率 - [仓单质押]",
  42804. "type": "number"
  42805. },
  42806. "marketid": {
  42807. "description": "市场ID",
  42808. "type": "integer"
  42809. },
  42810. "minivalue": {
  42811. "description": "现货商品最小变动值",
  42812. "type": "integer"
  42813. },
  42814. "optioncompare": {
  42815. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  42816. "type": "string"
  42817. },
  42818. "orderqty": {
  42819. "description": "委托数量(商品数量)",
  42820. "type": "number"
  42821. },
  42822. "productdetailid": {
  42823. "description": "产品组合ID",
  42824. "type": "integer"
  42825. },
  42826. "productid": {
  42827. "description": "金融产品ID",
  42828. "type": "integer"
  42829. },
  42830. "productname": {
  42831. "description": "产品名称",
  42832. "type": "string"
  42833. },
  42834. "remark": {
  42835. "description": "备注",
  42836. "type": "string"
  42837. },
  42838. "scfcontractid": {
  42839. "description": "仓单回购合同ID",
  42840. "type": "string"
  42841. },
  42842. "sellaccountid": {
  42843. "description": "卖方资金账号",
  42844. "type": "integer"
  42845. },
  42846. "selluserid": {
  42847. "description": "卖方用户ID",
  42848. "type": "integer"
  42849. },
  42850. "sellwrtradeorderid": {
  42851. "description": "卖方委托单ID",
  42852. "type": "string"
  42853. },
  42854. "tradeamount": {
  42855. "description": "成交金额(借款金额)",
  42856. "type": "number"
  42857. },
  42858. "tradedate": {
  42859. "description": "交易日(yyyyMMdd)",
  42860. "type": "string"
  42861. },
  42862. "tradeprice": {
  42863. "description": "成交价格",
  42864. "type": "number"
  42865. },
  42866. "warehouseid": {
  42867. "description": "仓库ID",
  42868. "type": "integer"
  42869. },
  42870. "warehousename": {
  42871. "description": "仓库名称",
  42872. "type": "string"
  42873. },
  42874. "wrfactortypeid": {
  42875. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  42876. "type": "string"
  42877. },
  42878. "wrfactortypename": {
  42879. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  42880. "type": "string"
  42881. },
  42882. "wrpricetype": {
  42883. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  42884. "type": "integer"
  42885. },
  42886. "wrstandardcode": {
  42887. "description": "现货商品代码",
  42888. "type": "string"
  42889. },
  42890. "wrstandardid": {
  42891. "description": "现货商品ID",
  42892. "type": "integer"
  42893. },
  42894. "wrstandardname": {
  42895. "description": "商品名称",
  42896. "type": "string"
  42897. },
  42898. "wrtypename": {
  42899. "description": "商品",
  42900. "type": "string"
  42901. }
  42902. }
  42903. },
  42904. "models.WrFriendApply": {
  42905. "type": "object",
  42906. "properties": {
  42907. "applicantid": {
  42908. "description": "申请人",
  42909. "type": "integer"
  42910. },
  42911. "applyname": {
  42912. "description": "申请人名称",
  42913. "type": "string"
  42914. },
  42915. "applysrc": {
  42916. "description": "申请来源 - 1:管理端 2:终端",
  42917. "type": "integer"
  42918. },
  42919. "applystatus": {
  42920. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  42921. "type": "integer"
  42922. },
  42923. "applytime": {
  42924. "description": "申请时间",
  42925. "type": "string"
  42926. },
  42927. "auditname": {
  42928. "description": "审核人名称",
  42929. "type": "string"
  42930. },
  42931. "auditorid": {
  42932. "description": "审核人",
  42933. "type": "integer"
  42934. },
  42935. "auditremark": {
  42936. "description": "审核备注",
  42937. "type": "string"
  42938. },
  42939. "auditsrc": {
  42940. "description": "审核来源 - 1:管理端 2:终端",
  42941. "type": "integer"
  42942. },
  42943. "audittime": {
  42944. "description": "审核时间",
  42945. "type": "string"
  42946. },
  42947. "friendapplyid": {
  42948. "description": "申请ID(SEQ_FRIENDAPPLY)",
  42949. "type": "string"
  42950. },
  42951. "friendname": {
  42952. "description": "好友名字(已脱敏)",
  42953. "type": "string"
  42954. },
  42955. "frienduserid": {
  42956. "description": "好友用户ID",
  42957. "type": "string"
  42958. },
  42959. "remark": {
  42960. "description": "备注",
  42961. "type": "string"
  42962. },
  42963. "userid": {
  42964. "description": "申请人用户ID",
  42965. "type": "integer"
  42966. }
  42967. }
  42968. },
  42969. "models.WrFtDeliveryGoods": {
  42970. "type": "object",
  42971. "properties": {
  42972. "deliverygoodscode": {
  42973. "description": "品种代码",
  42974. "type": "string"
  42975. },
  42976. "deliverygoodsid": {
  42977. "description": "品种ID",
  42978. "type": "integer"
  42979. },
  42980. "deliverygoodsname": {
  42981. "description": "品种名称",
  42982. "type": "string"
  42983. },
  42984. "wdlst": {
  42985. "description": "商品列表",
  42986. "type": "array",
  42987. "items": {
  42988. "$ref": "#/definitions/models.WrFtWrstandard"
  42989. }
  42990. }
  42991. }
  42992. },
  42993. "models.WrFtWrstandard": {
  42994. "type": "object",
  42995. "properties": {
  42996. "enumdicname": {
  42997. "description": "单位名称",
  42998. "type": "string"
  42999. },
  43000. "minivalue": {
  43001. "description": "最小变动值",
  43002. "type": "integer"
  43003. },
  43004. "wrstandardcode": {
  43005. "description": "现货商品代码",
  43006. "type": "string"
  43007. },
  43008. "wrstandardid": {
  43009. "description": "现货商品ID",
  43010. "type": "integer"
  43011. },
  43012. "wrstandardname": {
  43013. "description": "商品名称",
  43014. "type": "string"
  43015. }
  43016. }
  43017. },
  43018. "models.WrGoodsInfo": {
  43019. "type": "object",
  43020. "properties": {
  43021. "haswr": {
  43022. "description": "0:仓单预售 1:仓单贸易",
  43023. "type": "integer"
  43024. },
  43025. "lstitem": {
  43026. "description": "商品信息项",
  43027. "type": "array",
  43028. "items": {
  43029. "$ref": "#/definitions/models.WrTypeItem"
  43030. }
  43031. },
  43032. "lststep": {
  43033. "description": "履约规则",
  43034. "type": "array",
  43035. "items": {
  43036. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  43037. }
  43038. },
  43039. "marketid": {
  43040. "description": "市场id",
  43041. "type": "integer"
  43042. }
  43043. }
  43044. },
  43045. "models.WrGoodsPerformanceStep": {
  43046. "type": "object",
  43047. "properties": {
  43048. "autoid": {
  43049. "description": "AutoID",
  43050. "type": "integer"
  43051. },
  43052. "isauto": {
  43053. "description": "是否自动 - 0:不自动 1:自动",
  43054. "type": "integer"
  43055. },
  43056. "remark": {
  43057. "description": "备注",
  43058. "type": "string"
  43059. },
  43060. "stepdate": {
  43061. "description": "天数信息(T+N)",
  43062. "type": "string"
  43063. },
  43064. "stepdays": {
  43065. "description": "距离上一步天数",
  43066. "type": "integer"
  43067. },
  43068. "stepindex": {
  43069. "description": "步骤序号",
  43070. "type": "integer"
  43071. },
  43072. "stepinfo": {
  43073. "description": "步骤信息(步骤名称+步骤值)",
  43074. "type": "string"
  43075. },
  43076. "steptypeid": {
  43077. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  43078. "type": "integer"
  43079. },
  43080. "steptypename": {
  43081. "description": "步骤名称",
  43082. "type": "string"
  43083. },
  43084. "stepvalue": {
  43085. "description": "期初均价",
  43086. "type": "number"
  43087. },
  43088. "templateid": {
  43089. "description": "履约计划模板ID",
  43090. "type": "integer"
  43091. }
  43092. }
  43093. },
  43094. "models.WrHoldLB": {
  43095. "type": "object",
  43096. "properties": {
  43097. "accountid": {
  43098. "description": "持有人帐户ID",
  43099. "type": "integer"
  43100. },
  43101. "bannerpicurl": {
  43102. "description": "Banner图",
  43103. "type": "string"
  43104. },
  43105. "createtime": {
  43106. "description": "创建时间(过户时间)",
  43107. "type": "string"
  43108. },
  43109. "deliverygoodscode": {
  43110. "description": "品种代码",
  43111. "type": "string"
  43112. },
  43113. "deliverygoodsid": {
  43114. "description": "品种ID",
  43115. "type": "integer"
  43116. },
  43117. "deliverygoodsname": {
  43118. "description": "品种名称",
  43119. "type": "string"
  43120. },
  43121. "enableqty": {
  43122. "description": "可用数量",
  43123. "type": "number"
  43124. },
  43125. "enumdicname": {
  43126. "description": "单位名称",
  43127. "type": "string"
  43128. },
  43129. "freezerqty": {
  43130. "description": "冻结数量",
  43131. "type": "number"
  43132. },
  43133. "ladingbillid": {
  43134. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43135. "type": "string"
  43136. },
  43137. "minivalue": {
  43138. "description": "现货商品最小变动值",
  43139. "type": "integer"
  43140. },
  43141. "optioncompare": {
  43142. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43143. "type": "string"
  43144. },
  43145. "parentsubnum": {
  43146. "description": "拆分父子单号",
  43147. "type": "integer"
  43148. },
  43149. "pledgeqty": {
  43150. "description": "质押数量",
  43151. "type": "number"
  43152. },
  43153. "qty": {
  43154. "description": "数量",
  43155. "type": "number"
  43156. },
  43157. "subnum": {
  43158. "description": "提单子单号",
  43159. "type": "integer"
  43160. },
  43161. "thumurls": {
  43162. "description": "缩略图",
  43163. "type": "string"
  43164. },
  43165. "tradedate": {
  43166. "description": "交易日(yyyyMMdd)",
  43167. "type": "string"
  43168. },
  43169. "userid": {
  43170. "description": "持有人ID",
  43171. "type": "integer"
  43172. },
  43173. "warehouseid": {
  43174. "description": "仓库ID",
  43175. "type": "integer"
  43176. },
  43177. "warehousename": {
  43178. "description": "仓库名称",
  43179. "type": "string"
  43180. },
  43181. "wrfactortypeid": {
  43182. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43183. "type": "string"
  43184. },
  43185. "wrfactortypename": {
  43186. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43187. "type": "string"
  43188. },
  43189. "wrholdeno": {
  43190. "description": "仓单编号",
  43191. "type": "string"
  43192. },
  43193. "wrid": {
  43194. "description": "仓单变更ID",
  43195. "type": "string"
  43196. },
  43197. "wrstandardcode": {
  43198. "description": "现货商品代码",
  43199. "type": "string"
  43200. },
  43201. "wrstandardid": {
  43202. "description": "现货商品ID",
  43203. "type": "integer"
  43204. },
  43205. "wrstandardname": {
  43206. "description": "商品名称",
  43207. "type": "string"
  43208. },
  43209. "wrtypename": {
  43210. "description": "商品",
  43211. "type": "string"
  43212. }
  43213. }
  43214. },
  43215. "models.WrMarketTradeConfig": {
  43216. "type": "object",
  43217. "properties": {
  43218. "basisdownratio": {
  43219. "description": "浮动价基差下限比例(仓单贸易)",
  43220. "type": "number"
  43221. },
  43222. "basisupratio": {
  43223. "description": "浮动价基差上限比例(仓单贸易)",
  43224. "type": "number"
  43225. },
  43226. "buychargealgorithm": {
  43227. "description": "买方手续费收取方式 1:比率 2:固定",
  43228. "type": "integer"
  43229. },
  43230. "buychargealgorithm2": {
  43231. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  43232. "type": "integer"
  43233. },
  43234. "buychargealgorithmvalue": {
  43235. "description": "买方手续费设置值(交易所部分)",
  43236. "type": "number"
  43237. },
  43238. "buychargealgorithmvalue2": {
  43239. "description": "买方手续费设置值(会员部分)",
  43240. "type": "number"
  43241. },
  43242. "buychargealgorithmvalue3": {
  43243. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  43244. "type": "number"
  43245. },
  43246. "buychargealgorithmvalue4": {
  43247. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  43248. "type": "number"
  43249. },
  43250. "buyfirstmarginalgorithm": {
  43251. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  43252. "type": "integer"
  43253. },
  43254. "buyfirstmarginvalue": {
  43255. "description": "买方出价保证金设置值 - [竞拍]",
  43256. "type": "number"
  43257. },
  43258. "buymarginalgorithm": {
  43259. "description": "买方保证金方式 - 1:比率 2:固定",
  43260. "type": "integer"
  43261. },
  43262. "buymarginvalue": {
  43263. "description": "买方保证金设置值",
  43264. "type": "number"
  43265. },
  43266. "buyreleaseratio": {
  43267. "description": "买方释放比率[2:分步履约]",
  43268. "type": "number"
  43269. },
  43270. "executemode": {
  43271. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  43272. "type": "integer"
  43273. },
  43274. "executeside": {
  43275. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  43276. "type": "integer"
  43277. },
  43278. "failedchargealgorithm": {
  43279. "description": "流拍手续费收取方式 1:比率 2:固定",
  43280. "type": "integer"
  43281. },
  43282. "failedchargevalue": {
  43283. "description": "流拍手续费设置值",
  43284. "type": "number"
  43285. },
  43286. "failedchargevalue2": {
  43287. "description": "流拍卖方手续费设置值",
  43288. "type": "number"
  43289. },
  43290. "holddays": {
  43291. "description": "合同期限[2:分步履约]",
  43292. "type": "integer"
  43293. },
  43294. "listingmode": {
  43295. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  43296. "type": "integer"
  43297. },
  43298. "marketid": {
  43299. "description": "市场ID-仓单贸易、竞拍、预售",
  43300. "type": "integer"
  43301. },
  43302. "minqty": {
  43303. "description": "最小执行量[2:分步履约]",
  43304. "type": "number"
  43305. },
  43306. "modifierid": {
  43307. "description": "修改人",
  43308. "type": "integer"
  43309. },
  43310. "nowrquotaflag": {
  43311. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  43312. "type": "integer"
  43313. },
  43314. "performancetempid": {
  43315. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  43316. "type": "integer"
  43317. },
  43318. "performancetempid2": {
  43319. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  43320. "type": "integer"
  43321. },
  43322. "performancetempid2s": {
  43323. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  43324. "type": "string"
  43325. },
  43326. "performancetempids": {
  43327. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  43328. "type": "string"
  43329. },
  43330. "performanceway": {
  43331. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  43332. "type": "integer"
  43333. },
  43334. "sellchargealgorithm": {
  43335. "description": "卖方手续费收取方式 1:比率 2:固定",
  43336. "type": "integer"
  43337. },
  43338. "sellchargealgorithm2": {
  43339. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  43340. "type": "integer"
  43341. },
  43342. "sellchargealgorithmvalue": {
  43343. "description": "卖方手续费设置值(交易所部分)",
  43344. "type": "number"
  43345. },
  43346. "sellchargealgorithmvalue2": {
  43347. "description": "卖方手续费设置值(会员部分)",
  43348. "type": "number"
  43349. },
  43350. "sellchargealgorithmvalue3": {
  43351. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  43352. "type": "number"
  43353. },
  43354. "sellchargealgorithmvalue4": {
  43355. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  43356. "type": "number"
  43357. },
  43358. "sellmarginalgorithm": {
  43359. "description": "卖方保证金方式 - 1:比率 2:固定",
  43360. "type": "integer"
  43361. },
  43362. "sellmarginvalue": {
  43363. "description": "卖方保证金设置值",
  43364. "type": "number"
  43365. },
  43366. "sellmarginvalue2": {
  43367. "description": "卖方保证金设置值(无仓单)",
  43368. "type": "number"
  43369. },
  43370. "sellreleaseratio": {
  43371. "description": "卖方释放比率[2:分步履约]",
  43372. "type": "number"
  43373. },
  43374. "updatetime": {
  43375. "description": "更新时间",
  43376. "type": "string"
  43377. }
  43378. }
  43379. },
  43380. "models.WrOrderDetail": {
  43381. "type": "object",
  43382. "properties": {
  43383. "accountid": {
  43384. "description": "交易账号(资金账号)",
  43385. "type": "integer"
  43386. },
  43387. "allfriendsflag": {
  43388. "description": "是否全好友可见 - 0:否 1:是",
  43389. "type": "integer"
  43390. },
  43391. "amount": {
  43392. "description": "期初均价",
  43393. "type": "number"
  43394. },
  43395. "bannerpicurl": {
  43396. "description": "Banner图",
  43397. "type": "string"
  43398. },
  43399. "begindate": {
  43400. "description": "开始交易日(yyyymmdd)",
  43401. "type": "string"
  43402. },
  43403. "buyorsell": {
  43404. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  43405. "type": "integer"
  43406. },
  43407. "canbargain": {
  43408. "description": "是否可议价 - 0:不可 1:可",
  43409. "type": "integer"
  43410. },
  43411. "cancelqty": {
  43412. "description": "撤销数量",
  43413. "type": "number"
  43414. },
  43415. "canpart": {
  43416. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  43417. "type": "integer"
  43418. },
  43419. "delistminqty": {
  43420. "description": "起摘数量",
  43421. "type": "integer"
  43422. },
  43423. "deliverygoodscode": {
  43424. "description": "品种代码",
  43425. "type": "string"
  43426. },
  43427. "deliverygoodsid": {
  43428. "description": "品种ID",
  43429. "type": "integer"
  43430. },
  43431. "deliverygoodsname": {
  43432. "description": "品种名称",
  43433. "type": "string"
  43434. },
  43435. "deliverymonth": {
  43436. "description": "交收月",
  43437. "type": "string"
  43438. },
  43439. "enddate": {
  43440. "description": "结束交易日(yyyymmdd)",
  43441. "type": "string"
  43442. },
  43443. "enumdicname": {
  43444. "description": "单位名称",
  43445. "type": "string"
  43446. },
  43447. "fixedprice": {
  43448. "description": "固定价格 - [挂牌]",
  43449. "type": "number"
  43450. },
  43451. "freezecharge": {
  43452. "description": "期初均价",
  43453. "type": "number"
  43454. },
  43455. "freezemargin": {
  43456. "description": "期初均价",
  43457. "type": "number"
  43458. },
  43459. "futupricemove": {
  43460. "description": "期货升贴水",
  43461. "type": "number"
  43462. },
  43463. "futushow": {
  43464. "description": "期货合约/升贴水",
  43465. "type": "string"
  43466. },
  43467. "goodscode": {
  43468. "description": "期货合约",
  43469. "type": "string"
  43470. },
  43471. "goodsid": {
  43472. "description": "期货商品id",
  43473. "type": "integer"
  43474. },
  43475. "goodsname": {
  43476. "description": "商品名称",
  43477. "type": "string"
  43478. },
  43479. "haswr": {
  43480. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  43481. "type": "integer"
  43482. },
  43483. "isspecified": {
  43484. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  43485. "type": "integer"
  43486. },
  43487. "ladingbillid": {
  43488. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  43489. "type": "string"
  43490. },
  43491. "marginvalue": {
  43492. "description": "期初均价",
  43493. "type": "number"
  43494. },
  43495. "marketid": {
  43496. "description": "市场ID",
  43497. "type": "integer"
  43498. },
  43499. "matchusername": {
  43500. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  43501. "type": "string"
  43502. },
  43503. "minivalue": {
  43504. "description": "现货商品最小变动值",
  43505. "type": "integer"
  43506. },
  43507. "optioncompare": {
  43508. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43509. "type": "string"
  43510. },
  43511. "orderqty": {
  43512. "description": "委托数量",
  43513. "type": "number"
  43514. },
  43515. "ordertime": {
  43516. "description": "委托时间(挂牌时间)",
  43517. "type": "string"
  43518. },
  43519. "performancetemplateid": {
  43520. "description": "履约模板id",
  43521. "type": "integer"
  43522. },
  43523. "pricemove": {
  43524. "description": "升贴水(浮动价时填写) - [挂牌]",
  43525. "type": "number"
  43526. },
  43527. "taname": {
  43528. "description": "交易用户名称(资金账号名称)",
  43529. "type": "string"
  43530. },
  43531. "thumurls": {
  43532. "description": "缩略图",
  43533. "type": "string"
  43534. },
  43535. "tradedate": {
  43536. "description": "交易日(yyyyMMdd)",
  43537. "type": "string"
  43538. },
  43539. "tradeprice": {
  43540. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  43541. "type": "number"
  43542. },
  43543. "tradeqty": {
  43544. "description": "成交数量",
  43545. "type": "number"
  43546. },
  43547. "userid": {
  43548. "description": "用户ID",
  43549. "type": "integer"
  43550. },
  43551. "validtime": {
  43552. "description": "挂牌有效期",
  43553. "type": "string"
  43554. },
  43555. "validtype": {
  43556. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  43557. "type": "integer"
  43558. },
  43559. "warehouseid": {
  43560. "description": "仓库ID",
  43561. "type": "integer"
  43562. },
  43563. "warehousename": {
  43564. "description": "仓库名称",
  43565. "type": "string"
  43566. },
  43567. "wrfactortypeid": {
  43568. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43569. "type": "string"
  43570. },
  43571. "wrfactortypename": {
  43572. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43573. "type": "string"
  43574. },
  43575. "wrpricetype": {
  43576. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  43577. "type": "integer"
  43578. },
  43579. "wrstandardcode": {
  43580. "description": "现货商品代码",
  43581. "type": "string"
  43582. },
  43583. "wrstandardid": {
  43584. "description": "现货商品ID",
  43585. "type": "integer"
  43586. },
  43587. "wrstandardname": {
  43588. "description": "商品名称",
  43589. "type": "string"
  43590. },
  43591. "wrtradeorderid": {
  43592. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43593. "type": "string"
  43594. },
  43595. "wrtradeorderstatus": {
  43596. "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:撤单解冻贷款失败",
  43597. "type": "integer"
  43598. },
  43599. "wrtradetype": {
  43600. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  43601. "type": "integer"
  43602. },
  43603. "wrtypename": {
  43604. "description": "商品",
  43605. "type": "string"
  43606. }
  43607. }
  43608. },
  43609. "models.WrOrderQuote": {
  43610. "type": "object",
  43611. "properties": {
  43612. "bannerpicurl": {
  43613. "description": "Banner图",
  43614. "type": "string"
  43615. },
  43616. "buyprice": {
  43617. "description": "买价",
  43618. "type": "number"
  43619. },
  43620. "buypricemove": {
  43621. "description": "买升贴水(基差)",
  43622. "type": "number"
  43623. },
  43624. "buyqty": {
  43625. "description": "买量",
  43626. "type": "number"
  43627. },
  43628. "deliverygoodscode": {
  43629. "description": "品种代码",
  43630. "type": "string"
  43631. },
  43632. "deliverygoodsid": {
  43633. "description": "品种id",
  43634. "type": "integer"
  43635. },
  43636. "deliverygoodsname": {
  43637. "description": "品种名称",
  43638. "type": "string"
  43639. },
  43640. "deliverymonth": {
  43641. "description": "交收月",
  43642. "type": "string"
  43643. },
  43644. "enumdicname": {
  43645. "description": "单位名称",
  43646. "type": "string"
  43647. },
  43648. "goodscode": {
  43649. "description": "商品合约(浮动价列表才有)",
  43650. "type": "string"
  43651. },
  43652. "goodsid": {
  43653. "description": "商品id(浮动价列表才有)",
  43654. "type": "integer"
  43655. },
  43656. "minivalue": {
  43657. "description": "现货商品最小变动值",
  43658. "type": "integer"
  43659. },
  43660. "pictureurls": {
  43661. "description": "详情图片(逗号分隔)",
  43662. "type": "string"
  43663. },
  43664. "sellprice": {
  43665. "description": "卖价",
  43666. "type": "number"
  43667. },
  43668. "sellpricemove": {
  43669. "description": "卖升贴水(基差)",
  43670. "type": "number"
  43671. },
  43672. "sellqty": {
  43673. "description": "卖量",
  43674. "type": "number"
  43675. },
  43676. "thumurls": {
  43677. "description": "缩略图片(1:1)(逗号分隔)",
  43678. "type": "string"
  43679. },
  43680. "warehousecode": {
  43681. "description": "仓库代码",
  43682. "type": "string"
  43683. },
  43684. "warehouseid": {
  43685. "description": "仓库id",
  43686. "type": "integer"
  43687. },
  43688. "warehousename": {
  43689. "description": "仓库名称",
  43690. "type": "string"
  43691. },
  43692. "wrfactortypeid": {
  43693. "description": "仓单要素id",
  43694. "type": "string"
  43695. },
  43696. "wrfactortypename": {
  43697. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43698. "type": "string"
  43699. },
  43700. "wrgoodsname": {
  43701. "description": "商品(商品名称+仓库要素名称 拼接)",
  43702. "type": "string"
  43703. },
  43704. "wrstandardcode": {
  43705. "description": "商品代码",
  43706. "type": "string"
  43707. },
  43708. "wrstandardid": {
  43709. "description": "商品id",
  43710. "type": "integer"
  43711. },
  43712. "wrstandardname": {
  43713. "description": "商品名称",
  43714. "type": "string"
  43715. }
  43716. }
  43717. },
  43718. "models.WrOrderQuoteDetail": {
  43719. "type": "object",
  43720. "properties": {
  43721. "buyorsell": {
  43722. "description": "买卖 - 0:买 1:卖",
  43723. "type": "integer"
  43724. },
  43725. "delistminqty": {
  43726. "description": "期初均价",
  43727. "type": "number"
  43728. },
  43729. "deliverymonth": {
  43730. "description": "交收月",
  43731. "type": "string"
  43732. },
  43733. "enumdicname": {
  43734. "description": "单位名称",
  43735. "type": "string"
  43736. },
  43737. "fixedprice": {
  43738. "description": "买(卖)价",
  43739. "type": "number"
  43740. },
  43741. "marketid": {
  43742. "description": "市场id",
  43743. "type": "integer"
  43744. },
  43745. "minivalue": {
  43746. "description": "现货商品最小变动值",
  43747. "type": "integer"
  43748. },
  43749. "orderqty": {
  43750. "description": "买(卖)量(=委托量-成交量)",
  43751. "type": "number"
  43752. },
  43753. "ordertime": {
  43754. "description": "委托时间",
  43755. "type": "string"
  43756. },
  43757. "pricemove": {
  43758. "description": "买(卖)升贴水- 基差",
  43759. "type": "number"
  43760. },
  43761. "userid": {
  43762. "description": "购买方(销售方)用户ID",
  43763. "type": "integer"
  43764. },
  43765. "username": {
  43766. "description": "购买方(销售方)",
  43767. "type": "string"
  43768. },
  43769. "wrtradeorderid": {
  43770. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  43771. "type": "string"
  43772. }
  43773. }
  43774. },
  43775. "models.WrOutInApply": {
  43776. "type": "object",
  43777. "properties": {
  43778. "applyid": {
  43779. "description": "申请单id",
  43780. "type": "string"
  43781. },
  43782. "applystatus": {
  43783. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  43784. "type": "integer"
  43785. },
  43786. "applytime": {
  43787. "description": "申请时间",
  43788. "type": "string"
  43789. },
  43790. "applytype": {
  43791. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  43792. "type": "integer"
  43793. },
  43794. "bannerpicurl": {
  43795. "description": "Banner图",
  43796. "type": "string"
  43797. },
  43798. "begindate": {
  43799. "description": "开始交易日(yyyymmdd)",
  43800. "type": "string"
  43801. },
  43802. "deliverygoodscode": {
  43803. "description": "品种代码",
  43804. "type": "string"
  43805. },
  43806. "deliverygoodsid": {
  43807. "description": "品种ID",
  43808. "type": "integer"
  43809. },
  43810. "deliverygoodsname": {
  43811. "description": "品种名称",
  43812. "type": "string"
  43813. },
  43814. "enddate": {
  43815. "description": "结束交易日(yyyymmdd)",
  43816. "type": "string"
  43817. },
  43818. "enumdicname": {
  43819. "description": "单位名称",
  43820. "type": "string"
  43821. },
  43822. "expresscompany": {
  43823. "description": "物流公司",
  43824. "type": "string"
  43825. },
  43826. "expressnum": {
  43827. "description": "物流单号",
  43828. "type": "string"
  43829. },
  43830. "minivalue": {
  43831. "description": "现货商品最小变动值",
  43832. "type": "integer"
  43833. },
  43834. "optioncompare": {
  43835. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43836. "type": "string"
  43837. },
  43838. "qty": {
  43839. "description": "数量",
  43840. "type": "integer"
  43841. },
  43842. "userid": {
  43843. "description": "用户id",
  43844. "type": "integer"
  43845. },
  43846. "warehouseid": {
  43847. "description": "仓库ID",
  43848. "type": "integer"
  43849. },
  43850. "warehousename": {
  43851. "description": "仓库名称",
  43852. "type": "string"
  43853. },
  43854. "wrfactortypeid": {
  43855. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43856. "type": "string"
  43857. },
  43858. "wrfactortypename": {
  43859. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43860. "type": "string"
  43861. },
  43862. "wrstandardcode": {
  43863. "description": "现货商品代码",
  43864. "type": "string"
  43865. },
  43866. "wrstandardid": {
  43867. "description": "现货商品ID",
  43868. "type": "integer"
  43869. },
  43870. "wrstandardname": {
  43871. "description": "商品名称",
  43872. "type": "string"
  43873. },
  43874. "wrtypename": {
  43875. "description": "商品",
  43876. "type": "string"
  43877. }
  43878. }
  43879. },
  43880. "models.WrPerformancePlan": {
  43881. "type": "object",
  43882. "required": [
  43883. "userid"
  43884. ],
  43885. "properties": {
  43886. "activatemonth": {
  43887. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  43888. "type": "string"
  43889. },
  43890. "amount": {
  43891. "description": "履约金额(总金额)",
  43892. "type": "number"
  43893. },
  43894. "begindate": {
  43895. "description": "开始交易日(yyyymmdd)",
  43896. "type": "string"
  43897. },
  43898. "buyaccountid": {
  43899. "description": "买方账号",
  43900. "type": "integer"
  43901. },
  43902. "buyerfreezeamount": {
  43903. "description": "履约冻结(买履约)",
  43904. "type": "number"
  43905. },
  43906. "buyerfreezeamountremain": {
  43907. "description": "履约冻结剩余(买履约)",
  43908. "type": "number"
  43909. },
  43910. "buyorsell": {
  43911. "description": "买卖方向 0-买 1-卖",
  43912. "type": "integer"
  43913. },
  43914. "buypaidamount": {
  43915. "description": "买方已冻/已扣金额 (已付金额)",
  43916. "type": "number"
  43917. },
  43918. "buyusername": {
  43919. "description": "买方名字",
  43920. "type": "string"
  43921. },
  43922. "contractid": {
  43923. "description": "合同ID",
  43924. "type": "integer"
  43925. },
  43926. "createtime": {
  43927. "description": "创建时间",
  43928. "type": "string"
  43929. },
  43930. "creatorid": {
  43931. "description": "创建人",
  43932. "type": "integer"
  43933. },
  43934. "curstepdeadline": {
  43935. "description": "当前步骤到期时间",
  43936. "type": "string"
  43937. },
  43938. "curstepid": {
  43939. "description": "当前步骤ID",
  43940. "type": "string"
  43941. },
  43942. "curstepname": {
  43943. "description": "当前步骤名称",
  43944. "type": "string"
  43945. },
  43946. "deliverygoodscode": {
  43947. "description": "品种代码",
  43948. "type": "string"
  43949. },
  43950. "deliverygoodsid": {
  43951. "description": "品种ID",
  43952. "type": "integer"
  43953. },
  43954. "deliverygoodsname": {
  43955. "description": "品种名称",
  43956. "type": "string"
  43957. },
  43958. "enddate": {
  43959. "description": "结束交易日(yyyymmdd)",
  43960. "type": "string"
  43961. },
  43962. "enumdicname": {
  43963. "description": "单位名称",
  43964. "type": "string"
  43965. },
  43966. "expressfee": {
  43967. "description": "运费",
  43968. "type": "number"
  43969. },
  43970. "expressfeeconfirmed": {
  43971. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  43972. "type": "integer"
  43973. },
  43974. "hasovershort": {
  43975. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  43976. "type": "integer"
  43977. },
  43978. "haswr": {
  43979. "description": "类型 0-仓单预售 1-仓单贸易",
  43980. "type": "integer"
  43981. },
  43982. "marketid": {
  43983. "description": "市场ID",
  43984. "type": "integer"
  43985. },
  43986. "middleaccountid": {
  43987. "description": "中间商资金账号ID",
  43988. "type": "integer"
  43989. },
  43990. "middleuserid": {
  43991. "description": "中间商用户ID",
  43992. "type": "integer"
  43993. },
  43994. "minivalue": {
  43995. "description": "现货商品最小变动值",
  43996. "type": "integer"
  43997. },
  43998. "optioncompare": {
  43999. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44000. "type": "string"
  44001. },
  44002. "overshortamount": {
  44003. "description": "溢短金额",
  44004. "type": "number"
  44005. },
  44006. "overshortqty": {
  44007. "description": "溢短数量",
  44008. "type": "number"
  44009. },
  44010. "paymenttype": {
  44011. "description": "付款方式 - 1:冻结 2:扣款",
  44012. "type": "integer"
  44013. },
  44014. "performanceplanid": {
  44015. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  44016. "type": "string"
  44017. },
  44018. "performancestatus": {
  44019. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  44020. "type": "integer"
  44021. },
  44022. "performancetype": {
  44023. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  44024. "type": "integer"
  44025. },
  44026. "qty": {
  44027. "description": "履约数量",
  44028. "type": "number"
  44029. },
  44030. "relatedorderid": {
  44031. "description": "关联单号(履约类型的关联单号)",
  44032. "type": "string"
  44033. },
  44034. "remark": {
  44035. "description": "备注",
  44036. "type": "string"
  44037. },
  44038. "sellaccountid": {
  44039. "description": "卖方账号",
  44040. "type": "integer"
  44041. },
  44042. "sellerfreezeamount": {
  44043. "description": "履约冻结(卖履约)",
  44044. "type": "number"
  44045. },
  44046. "sellerfreezeamountremain": {
  44047. "description": "履约冻结剩余(卖履约)",
  44048. "type": "number"
  44049. },
  44050. "sellreceivedamount": {
  44051. "description": "卖方已收金额",
  44052. "type": "number"
  44053. },
  44054. "sellusername": {
  44055. "description": "卖方名字",
  44056. "type": "string"
  44057. },
  44058. "shipremark": {
  44059. "description": "发货备注[物流单号]",
  44060. "type": "string"
  44061. },
  44062. "starttime": {
  44063. "description": "开始时间",
  44064. "type": "string"
  44065. },
  44066. "steptypeid": {
  44067. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44068. "type": "integer"
  44069. },
  44070. "typename": {
  44071. "description": "履约类型 名称",
  44072. "type": "string"
  44073. },
  44074. "unpaidamount": {
  44075. "description": "期初均价",
  44076. "type": "number"
  44077. },
  44078. "userid": {
  44079. "description": "用户id",
  44080. "type": "integer"
  44081. },
  44082. "warehouseid": {
  44083. "description": "仓库ID",
  44084. "type": "integer"
  44085. },
  44086. "warehousename": {
  44087. "description": "仓库名称",
  44088. "type": "string"
  44089. },
  44090. "wrfactortypeid": {
  44091. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44092. "type": "string"
  44093. },
  44094. "wrfactortypename": {
  44095. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44096. "type": "string"
  44097. },
  44098. "wrstandardcode": {
  44099. "description": "现货商品代码",
  44100. "type": "string"
  44101. },
  44102. "wrstandardid": {
  44103. "description": "现货商品ID",
  44104. "type": "integer"
  44105. },
  44106. "wrstandardname": {
  44107. "description": "商品名称",
  44108. "type": "string"
  44109. },
  44110. "wrtransferuserid": {
  44111. "description": "仓单受让用户",
  44112. "type": "integer"
  44113. },
  44114. "wrtypename": {
  44115. "description": "商品",
  44116. "type": "string"
  44117. }
  44118. }
  44119. },
  44120. "models.WrPerformancePlanStep": {
  44121. "type": "object",
  44122. "properties": {
  44123. "delaydays": {
  44124. "description": "延期申请天数",
  44125. "type": "integer"
  44126. },
  44127. "deliverygoodscode": {
  44128. "description": "品种代码",
  44129. "type": "string"
  44130. },
  44131. "deliverygoodsid": {
  44132. "description": "品种ID",
  44133. "type": "integer"
  44134. },
  44135. "deliverygoodsname": {
  44136. "description": "品种名称",
  44137. "type": "string"
  44138. },
  44139. "endtime": {
  44140. "description": "结束日期",
  44141. "type": "string"
  44142. },
  44143. "enumdicname": {
  44144. "description": "单位名称",
  44145. "type": "string"
  44146. },
  44147. "executeside": {
  44148. "description": "步骤执行方 - 1:买方 2:卖方",
  44149. "type": "integer"
  44150. },
  44151. "handlestatus": {
  44152. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  44153. "type": "integer"
  44154. },
  44155. "isauto": {
  44156. "description": "是否自动 - 0:不自动 1:自动",
  44157. "type": "integer"
  44158. },
  44159. "islastreceivestep": {
  44160. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  44161. "type": "integer"
  44162. },
  44163. "minivalue": {
  44164. "description": "现货商品最小变动值",
  44165. "type": "integer"
  44166. },
  44167. "optioncompare": {
  44168. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44169. "type": "string"
  44170. },
  44171. "overdays": {
  44172. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  44173. "type": "integer"
  44174. },
  44175. "performancestepid": {
  44176. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  44177. "type": "string"
  44178. },
  44179. "planid": {
  44180. "description": "所属履约计划ID",
  44181. "type": "string"
  44182. },
  44183. "realamount": {
  44184. "description": "实际完成金额",
  44185. "type": "number"
  44186. },
  44187. "relatedorderid": {
  44188. "description": "关联单号",
  44189. "type": "string"
  44190. },
  44191. "remaindays": {
  44192. "description": "剩余天数",
  44193. "type": "integer"
  44194. },
  44195. "remark": {
  44196. "description": "错误备注",
  44197. "type": "string"
  44198. },
  44199. "starttime": {
  44200. "description": "开始日期",
  44201. "type": "string"
  44202. },
  44203. "stepamount": {
  44204. "description": "步骤金额",
  44205. "type": "number"
  44206. },
  44207. "stepdays": {
  44208. "description": "距离上一步天数(分钟)",
  44209. "type": "integer"
  44210. },
  44211. "stepindex": {
  44212. "description": "步骤序号",
  44213. "type": "integer"
  44214. },
  44215. "steplanchtype": {
  44216. "description": "步骤启动类型 - 1:系统自动 2:手动",
  44217. "type": "integer"
  44218. },
  44219. "stepremark": {
  44220. "description": "步骤备注",
  44221. "type": "string"
  44222. },
  44223. "stepstatus": {
  44224. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  44225. "type": "integer"
  44226. },
  44227. "steptypeid": {
  44228. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44229. "type": "integer"
  44230. },
  44231. "steptypename": {
  44232. "description": "步骤名称",
  44233. "type": "string"
  44234. },
  44235. "stepvalue": {
  44236. "description": "步骤值",
  44237. "type": "number"
  44238. },
  44239. "warehouseid": {
  44240. "description": "仓库ID",
  44241. "type": "integer"
  44242. },
  44243. "warehousename": {
  44244. "description": "仓库名称",
  44245. "type": "string"
  44246. },
  44247. "wrfactortypeid": {
  44248. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44249. "type": "string"
  44250. },
  44251. "wrfactortypename": {
  44252. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44253. "type": "string"
  44254. },
  44255. "wrstandardcode": {
  44256. "description": "现货商品代码",
  44257. "type": "string"
  44258. },
  44259. "wrstandardid": {
  44260. "description": "现货商品ID",
  44261. "type": "integer"
  44262. },
  44263. "wrstandardname": {
  44264. "description": "商品名称",
  44265. "type": "string"
  44266. },
  44267. "wrtypename": {
  44268. "description": "商品",
  44269. "type": "string"
  44270. }
  44271. }
  44272. },
  44273. "models.WrPerformanceStepType": {
  44274. "type": "object",
  44275. "properties": {
  44276. "canauto": {
  44277. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  44278. "type": "integer"
  44279. },
  44280. "steptypeid": {
  44281. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  44282. "type": "integer"
  44283. },
  44284. "steptypename": {
  44285. "description": "步骤类型名称",
  44286. "type": "string"
  44287. }
  44288. }
  44289. },
  44290. "models.WrPerformanceTemplateEx": {
  44291. "type": "object",
  44292. "properties": {
  44293. "autoid": {
  44294. "description": "AutoID 模板id",
  44295. "type": "integer"
  44296. },
  44297. "createtime": {
  44298. "description": "创建时间",
  44299. "type": "string"
  44300. },
  44301. "creatorid": {
  44302. "description": "创建人",
  44303. "type": "integer"
  44304. },
  44305. "lstStep": {
  44306. "description": "步骤信息列表",
  44307. "type": "array",
  44308. "items": {
  44309. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  44310. }
  44311. },
  44312. "paymenttype": {
  44313. "description": "支付方式 - 1:冻结 2:扣款",
  44314. "type": "integer"
  44315. },
  44316. "takemode": {
  44317. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  44318. "type": "integer"
  44319. },
  44320. "templatename": {
  44321. "description": "模板名称",
  44322. "type": "string"
  44323. },
  44324. "templatetype": {
  44325. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  44326. "type": "integer"
  44327. },
  44328. "userid": {
  44329. "description": "所属用户",
  44330. "type": "integer"
  44331. }
  44332. }
  44333. },
  44334. "models.WrPosition": {
  44335. "type": "object",
  44336. "properties": {
  44337. "accountid": {
  44338. "description": "帐户ID",
  44339. "type": "integer"
  44340. },
  44341. "buyexcuteqty": {
  44342. "description": "采购履约中数量",
  44343. "type": "number"
  44344. },
  44345. "creditcurqty": {
  44346. "description": "授信当前数量(预售仓单:预售当前量)",
  44347. "type": "number"
  44348. },
  44349. "creditenableqty": {
  44350. "description": "授信可用数量(预售仓单: 可用数量)",
  44351. "type": "number"
  44352. },
  44353. "creditfreezeqty": {
  44354. "description": "授信冻结数量(预售仓单: 当前数量)",
  44355. "type": "number"
  44356. },
  44357. "credittotalqty": {
  44358. "description": "授信总数量(预售仓单:预售总量)",
  44359. "type": "number"
  44360. },
  44361. "credittradeqty": {
  44362. "description": "授信成交数量(预售仓单:成交总量)",
  44363. "type": "number"
  44364. },
  44365. "deliverygoodscode": {
  44366. "description": "品种代码",
  44367. "type": "string"
  44368. },
  44369. "deliverygoodsid": {
  44370. "description": "品种ID",
  44371. "type": "integer"
  44372. },
  44373. "deliverygoodsname": {
  44374. "description": "品种名称",
  44375. "type": "string"
  44376. },
  44377. "enalbeqty": {
  44378. "description": "可用数量",
  44379. "type": "number"
  44380. },
  44381. "enumdicname": {
  44382. "description": "单位名称",
  44383. "type": "string"
  44384. },
  44385. "freezeqty": {
  44386. "description": "总冻结数量",
  44387. "type": "number"
  44388. },
  44389. "haswr": {
  44390. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  44391. "type": "integer"
  44392. },
  44393. "minivalue": {
  44394. "description": "现货商品最小变动值",
  44395. "type": "integer"
  44396. },
  44397. "modifytime": {
  44398. "description": "修改时间(过户时间)",
  44399. "type": "string"
  44400. },
  44401. "optioncompare": {
  44402. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44403. "type": "string"
  44404. },
  44405. "pledgeqty": {
  44406. "description": "质押数量",
  44407. "type": "number"
  44408. },
  44409. "querytype": {
  44410. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  44411. "type": "integer"
  44412. },
  44413. "sellexcuteqty": {
  44414. "description": "销售履约中数量",
  44415. "type": "number"
  44416. },
  44417. "totalqty": {
  44418. "description": "总数量(库存数量)",
  44419. "type": "number"
  44420. },
  44421. "warehouseid": {
  44422. "description": "仓库ID",
  44423. "type": "integer"
  44424. },
  44425. "warehousename": {
  44426. "description": "仓库名称",
  44427. "type": "string"
  44428. },
  44429. "wrfactortypeid": {
  44430. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44431. "type": "string"
  44432. },
  44433. "wrfactortypename": {
  44434. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44435. "type": "string"
  44436. },
  44437. "wrpositionid": {
  44438. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  44439. "type": "string"
  44440. },
  44441. "wrpositionno": {
  44442. "description": "仓单编号",
  44443. "type": "string"
  44444. },
  44445. "wrstandardcode": {
  44446. "description": "现货商品代码",
  44447. "type": "string"
  44448. },
  44449. "wrstandardid": {
  44450. "description": "现货商品ID",
  44451. "type": "integer"
  44452. },
  44453. "wrstandardname": {
  44454. "description": "商品名称",
  44455. "type": "string"
  44456. },
  44457. "wrtypename": {
  44458. "description": "商品",
  44459. "type": "string"
  44460. },
  44461. "wruserid": {
  44462. "description": "持有人ID",
  44463. "type": "integer"
  44464. }
  44465. }
  44466. },
  44467. "models.WrPreSaleInfo": {
  44468. "type": "object",
  44469. "properties": {
  44470. "bannerpicurl": {
  44471. "description": "Banner图",
  44472. "type": "string"
  44473. },
  44474. "baseqty": {
  44475. "description": "中签基数",
  44476. "type": "number"
  44477. },
  44478. "createtime": {
  44479. "description": "创建时间",
  44480. "type": "string"
  44481. },
  44482. "deliverygoodsid": {
  44483. "description": "现货品种ID",
  44484. "type": "integer"
  44485. },
  44486. "enddate": {
  44487. "description": "预售结束日期",
  44488. "type": "string"
  44489. },
  44490. "enumdicname": {
  44491. "description": "单位名称",
  44492. "type": "string"
  44493. },
  44494. "lotteryflag": {
  44495. "description": "摇号标识 - 0:未摇号 1:已摇号",
  44496. "type": "integer"
  44497. },
  44498. "lotteryqty": {
  44499. "description": "摇号总量",
  44500. "type": "number"
  44501. },
  44502. "luckyqty": {
  44503. "description": "已中签量",
  44504. "type": "number"
  44505. },
  44506. "marketid": {
  44507. "description": "市场ID",
  44508. "type": "integer"
  44509. },
  44510. "maxbuyqty": {
  44511. "description": "单人最大申购量",
  44512. "type": "number"
  44513. },
  44514. "maxluckyqty": {
  44515. "description": "单人最大中签量",
  44516. "type": "number"
  44517. },
  44518. "pictureurls": {
  44519. "description": "详情图片(逗号分隔)",
  44520. "type": "string"
  44521. },
  44522. "placeqty": {
  44523. "description": "已配售量",
  44524. "type": "number"
  44525. },
  44526. "presaleapplyid": {
  44527. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  44528. "type": "string",
  44529. "example": "0"
  44530. },
  44531. "presaleqty": {
  44532. "description": "预售总量",
  44533. "type": "number"
  44534. },
  44535. "presalestatus": {
  44536. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  44537. "type": "integer"
  44538. },
  44539. "sellaccountid": {
  44540. "description": "发行方资金账户ID",
  44541. "type": "integer"
  44542. },
  44543. "selluserid": {
  44544. "description": "发行方用户ID",
  44545. "type": "integer"
  44546. },
  44547. "sellwrtradeorderid": {
  44548. "description": "发行方卖委托单ID",
  44549. "type": "string"
  44550. },
  44551. "startdate": {
  44552. "description": "预售开始日期",
  44553. "type": "string"
  44554. },
  44555. "takestartdate": {
  44556. "description": "提货开始日期",
  44557. "type": "string"
  44558. },
  44559. "thumurls": {
  44560. "description": "缩略图片(1:1)(逗号分隔)",
  44561. "type": "string"
  44562. },
  44563. "tradedate": {
  44564. "description": "交易日",
  44565. "type": "string"
  44566. },
  44567. "unitid": {
  44568. "description": "单位ID",
  44569. "type": "integer"
  44570. },
  44571. "unitprice": {
  44572. "description": "商品单价",
  44573. "type": "number"
  44574. },
  44575. "username": {
  44576. "description": "发行方用户名称",
  44577. "type": "string"
  44578. },
  44579. "warehousecode": {
  44580. "description": "仓库代码(仓库简称)",
  44581. "type": "string"
  44582. },
  44583. "warehouseid": {
  44584. "description": "仓库ID",
  44585. "type": "integer"
  44586. },
  44587. "warehousename": {
  44588. "description": "仓库名称",
  44589. "type": "string"
  44590. },
  44591. "wrfactortypeid": {
  44592. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  44593. "type": "string",
  44594. "example": "0"
  44595. },
  44596. "wrstandardid": {
  44597. "description": "现货商品ID",
  44598. "type": "integer"
  44599. },
  44600. "wrstandardname": {
  44601. "description": "现货商品名称",
  44602. "type": "string"
  44603. }
  44604. }
  44605. },
  44606. "models.WrQuoteOrderMyq": {
  44607. "type": "object",
  44608. "properties": {
  44609. "buyorsell": {
  44610. "description": "买卖 - 0:买 1:卖",
  44611. "type": "integer"
  44612. },
  44613. "canbargain": {
  44614. "description": "是否可议价 - 0:不可 1:可",
  44615. "type": "integer"
  44616. },
  44617. "canpart": {
  44618. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  44619. "type": "integer"
  44620. },
  44621. "delistminqty": {
  44622. "description": "期初均价",
  44623. "type": "number"
  44624. },
  44625. "deliverygoodscode": {
  44626. "description": "品种代码",
  44627. "type": "string"
  44628. },
  44629. "deliverygoodsid": {
  44630. "description": "品种ID",
  44631. "type": "integer"
  44632. },
  44633. "deliverygoodsname": {
  44634. "description": "品种名称",
  44635. "type": "string"
  44636. },
  44637. "deliverymonth": {
  44638. "description": "交收月",
  44639. "type": "string"
  44640. },
  44641. "enumdicname": {
  44642. "description": "单位名称",
  44643. "type": "string"
  44644. },
  44645. "fixedprice": {
  44646. "description": "买(卖)价",
  44647. "type": "number"
  44648. },
  44649. "goodscode": {
  44650. "description": "商品合约代码",
  44651. "type": "string"
  44652. },
  44653. "marginflag": {
  44654. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  44655. "type": "integer"
  44656. },
  44657. "marginvalue": {
  44658. "description": "保证金设置值",
  44659. "type": "number"
  44660. },
  44661. "minivalue": {
  44662. "description": "现货商品最小变动值",
  44663. "type": "integer"
  44664. },
  44665. "orderqty": {
  44666. "description": "买(卖)量(=委托量-成交量)",
  44667. "type": "number"
  44668. },
  44669. "ordertime": {
  44670. "description": "委托时间",
  44671. "type": "string"
  44672. },
  44673. "performancetemplateid": {
  44674. "description": "履约模板id",
  44675. "type": "integer"
  44676. },
  44677. "pricemove": {
  44678. "description": "买(卖)升贴水- 基差",
  44679. "type": "number"
  44680. },
  44681. "templatename": {
  44682. "description": "履约模板名称",
  44683. "type": "string"
  44684. },
  44685. "userid": {
  44686. "description": "购买方(销售方)用户ID",
  44687. "type": "integer"
  44688. },
  44689. "username": {
  44690. "description": "购买方(销售方)",
  44691. "type": "string"
  44692. },
  44693. "validtime": {
  44694. "description": "有效期限",
  44695. "type": "string"
  44696. },
  44697. "validtype": {
  44698. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  44699. "type": "integer"
  44700. },
  44701. "warehousename": {
  44702. "description": "仓库名称",
  44703. "type": "string"
  44704. },
  44705. "wrfactortypeid": {
  44706. "description": "仓单要素id",
  44707. "type": "string"
  44708. },
  44709. "wrstandardcode": {
  44710. "description": "现货商品代码",
  44711. "type": "string"
  44712. },
  44713. "wrstandardid": {
  44714. "description": "现货商品ID",
  44715. "type": "integer"
  44716. },
  44717. "wrstandardname": {
  44718. "description": "商品名称",
  44719. "type": "string"
  44720. },
  44721. "wrtradeorderid": {
  44722. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44723. "type": "string"
  44724. },
  44725. "wrtypename": {
  44726. "description": "商品",
  44727. "type": "string"
  44728. }
  44729. }
  44730. },
  44731. "models.WrReckonSpotGoodsTradeSum": {
  44732. "type": "object",
  44733. "properties": {
  44734. "begindate": {
  44735. "description": "开始日期(结果含开始日期) yyyymmdd",
  44736. "type": "string"
  44737. },
  44738. "enddate": {
  44739. "description": "结束日期(结果含结束日期) yyyymmdd",
  44740. "type": "string"
  44741. },
  44742. "istoday": {
  44743. "description": "是否当日",
  44744. "type": "boolean"
  44745. },
  44746. "marketid": {
  44747. "description": "市场ID",
  44748. "type": "integer"
  44749. },
  44750. "price": {
  44751. "description": "价格 = 日成交金额 / 日成交数量",
  44752. "type": "string"
  44753. },
  44754. "reckondate": {
  44755. "description": "日期 格式 yyyymmdd",
  44756. "type": "string"
  44757. },
  44758. "tradeamount": {
  44759. "description": "期初均价",
  44760. "type": "number"
  44761. },
  44762. "tradeqty": {
  44763. "description": "期初均价",
  44764. "type": "number"
  44765. },
  44766. "wrstandardid": {
  44767. "description": "现货商品ID",
  44768. "type": "integer"
  44769. }
  44770. }
  44771. },
  44772. "models.WrScfContract": {
  44773. "type": "object",
  44774. "properties": {
  44775. "borroweruserid": {
  44776. "description": "借款用户ID",
  44777. "type": "integer"
  44778. },
  44779. "buybackwrpositionqty": {
  44780. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  44781. "type": "number"
  44782. },
  44783. "closeinterest": {
  44784. "description": "已结利息 -\u003e 已结费用",
  44785. "type": "number"
  44786. },
  44787. "currisklevel": {
  44788. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  44789. "type": "integer"
  44790. },
  44791. "deadline": {
  44792. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  44793. "type": "string"
  44794. },
  44795. "deliverygoodscode": {
  44796. "description": "品种代码",
  44797. "type": "string"
  44798. },
  44799. "deliverygoodsid": {
  44800. "description": "品种ID",
  44801. "type": "integer"
  44802. },
  44803. "deliverygoodsname": {
  44804. "description": "品种名称",
  44805. "type": "string"
  44806. },
  44807. "enumdicname": {
  44808. "description": "单位名称",
  44809. "type": "string"
  44810. },
  44811. "financingdays": {
  44812. "description": "天数(天)",
  44813. "type": "integer"
  44814. },
  44815. "initmargin": {
  44816. "description": "保证金 - [仓单回购]",
  44817. "type": "number"
  44818. },
  44819. "interestamount": {
  44820. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  44821. "type": "number"
  44822. },
  44823. "interestdebt": {
  44824. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  44825. "type": "number"
  44826. },
  44827. "interestminlen": {
  44828. "description": "最小起息天数",
  44829. "type": "integer"
  44830. },
  44831. "interestrate": {
  44832. "description": "利率",
  44833. "type": "number"
  44834. },
  44835. "interestratemode": {
  44836. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  44837. "type": "integer"
  44838. },
  44839. "interestsettlemode": {
  44840. "description": "结息方式 - 1:按日结息 3:按月结息",
  44841. "type": "integer"
  44842. },
  44843. "interestsettlevalue": {
  44844. "description": "结息方式值",
  44845. "type": "integer"
  44846. },
  44847. "isautoloan": {
  44848. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  44849. "type": "integer"
  44850. },
  44851. "lastcloseinterestday": {
  44852. "description": "最近结息日(yyyyMMdd)",
  44853. "type": "string"
  44854. },
  44855. "lenderamount": {
  44856. "description": "贷款金额 -\u003e 借款金额",
  44857. "type": "number"
  44858. },
  44859. "lenderuserid": {
  44860. "description": "贷款方用户ID -\u003e 融出方用户ID",
  44861. "type": "integer"
  44862. },
  44863. "lenderusername": {
  44864. "description": "融出方",
  44865. "type": "string"
  44866. },
  44867. "marginratio": {
  44868. "description": "保证金比率质押率 - [仓单质押]",
  44869. "type": "number"
  44870. },
  44871. "marketid": {
  44872. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  44873. "type": "integer"
  44874. },
  44875. "minivalue": {
  44876. "description": "现货商品最小变动值",
  44877. "type": "integer"
  44878. },
  44879. "optioncompare": {
  44880. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44881. "type": "string"
  44882. },
  44883. "pricemove": {
  44884. "description": "估值升贴水值",
  44885. "type": "number"
  44886. },
  44887. "productdetailid": {
  44888. "description": "产品组合ID",
  44889. "type": "integer"
  44890. },
  44891. "productid": {
  44892. "description": "金融产品ID",
  44893. "type": "integer"
  44894. },
  44895. "productname": {
  44896. "description": "产品名称",
  44897. "type": "string"
  44898. },
  44899. "remainamount": {
  44900. "description": "合同剩余金额 -\u003e 剩余金额",
  44901. "type": "number"
  44902. },
  44903. "remainwrpositionqty": {
  44904. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  44905. "type": "number"
  44906. },
  44907. "remark": {
  44908. "description": "备注",
  44909. "type": "string"
  44910. },
  44911. "scfcontractid": {
  44912. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  44913. "type": "string"
  44914. },
  44915. "scfcontractstatus": {
  44916. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  44917. "type": "integer"
  44918. },
  44919. "scfcontracttype": {
  44920. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  44921. "type": "integer"
  44922. },
  44923. "startinterestday": {
  44924. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  44925. "type": "string"
  44926. },
  44927. "totalinterest": {
  44928. "description": "已计利息 -\u003e 已计费用",
  44929. "type": "number"
  44930. },
  44931. "unpaidinterest": {
  44932. "description": "期初均价",
  44933. "type": "number"
  44934. },
  44935. "updatetime": {
  44936. "description": "更新时间",
  44937. "type": "string"
  44938. },
  44939. "warehouseid": {
  44940. "description": "仓库ID",
  44941. "type": "integer"
  44942. },
  44943. "warehousename": {
  44944. "description": "仓库名称",
  44945. "type": "string"
  44946. },
  44947. "wrfactortypeid": {
  44948. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44949. "type": "string"
  44950. },
  44951. "wrfactortypename": {
  44952. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44953. "type": "string"
  44954. },
  44955. "wrqty": {
  44956. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  44957. "type": "number"
  44958. },
  44959. "wrstandardcode": {
  44960. "description": "现货商品代码",
  44961. "type": "string"
  44962. },
  44963. "wrstandardid": {
  44964. "description": "现货商品ID",
  44965. "type": "integer"
  44966. },
  44967. "wrstandardname": {
  44968. "description": "商品名称",
  44969. "type": "string"
  44970. },
  44971. "wrtypename": {
  44972. "description": "商品",
  44973. "type": "string"
  44974. }
  44975. }
  44976. },
  44977. "models.WrScfContractInterest": {
  44978. "type": "object",
  44979. "properties": {
  44980. "closeinterest": {
  44981. "description": "已结利息",
  44982. "type": "number"
  44983. },
  44984. "closeintereststatus": {
  44985. "description": "结息状态 - 1:未结 2:已结",
  44986. "type": "integer"
  44987. },
  44988. "closetime": {
  44989. "description": "结息时间",
  44990. "type": "string"
  44991. },
  44992. "closetradedate": {
  44993. "description": "结息交易日",
  44994. "type": "string"
  44995. },
  44996. "creatorid": {
  44997. "description": "操作人ID",
  44998. "type": "integer"
  44999. },
  45000. "dayrate": {
  45001. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  45002. "type": "number"
  45003. },
  45004. "interest": {
  45005. "description": "利息",
  45006. "type": "number"
  45007. },
  45008. "interestamount": {
  45009. "description": "计息金额",
  45010. "type": "number"
  45011. },
  45012. "interestday": {
  45013. "description": "计息日(yyyyMMdd)",
  45014. "type": "string"
  45015. },
  45016. "scfcontractid": {
  45017. "description": "SCF合同ID",
  45018. "type": "string"
  45019. },
  45020. "scfcontractinterestid": {
  45021. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  45022. "type": "integer"
  45023. },
  45024. "updatetime": {
  45025. "description": "更新时间",
  45026. "type": "string"
  45027. }
  45028. }
  45029. },
  45030. "models.WrSearchUser": {
  45031. "type": "object",
  45032. "required": [
  45033. "username"
  45034. ],
  45035. "properties": {
  45036. "userid": {
  45037. "description": "用户ID",
  45038. "type": "integer"
  45039. },
  45040. "username": {
  45041. "description": "用户名称(已脱敏)",
  45042. "type": "string"
  45043. },
  45044. "username2": {
  45045. "description": "用户名称(未脱敏)",
  45046. "type": "string"
  45047. },
  45048. "usertype": {
  45049. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  45050. "type": "integer"
  45051. }
  45052. }
  45053. },
  45054. "models.WrSiteColumnDetail": {
  45055. "type": "object",
  45056. "properties": {
  45057. "brief": {
  45058. "description": "简介",
  45059. "type": "string"
  45060. },
  45061. "context": {
  45062. "description": "内容",
  45063. "type": "string"
  45064. },
  45065. "coverimage": {
  45066. "description": "封面图片",
  45067. "type": "string"
  45068. },
  45069. "creaedate": {
  45070. "description": "创建时间",
  45071. "type": "string"
  45072. },
  45073. "id": {
  45074. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  45075. "type": "integer"
  45076. },
  45077. "istop": {
  45078. "description": "是否置顶 - 0:不置 1:置顶",
  45079. "type": "integer"
  45080. },
  45081. "publishdate": {
  45082. "description": "发布日期",
  45083. "type": "string"
  45084. },
  45085. "title": {
  45086. "description": "标题",
  45087. "type": "string"
  45088. },
  45089. "updatedate": {
  45090. "description": "修改时间",
  45091. "type": "string"
  45092. }
  45093. }
  45094. },
  45095. "models.WrSpecialMatchOrder": {
  45096. "type": "object",
  45097. "properties": {
  45098. "amount": {
  45099. "description": "金额 = 数量 * 价格",
  45100. "type": "number"
  45101. },
  45102. "buyorsell": {
  45103. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  45104. "type": "integer"
  45105. },
  45106. "cancelqty": {
  45107. "description": "撤销数量",
  45108. "type": "number"
  45109. },
  45110. "deliverygoodscode": {
  45111. "description": "品种代码",
  45112. "type": "string"
  45113. },
  45114. "deliverygoodsid": {
  45115. "description": "品种ID",
  45116. "type": "integer"
  45117. },
  45118. "deliverygoodsname": {
  45119. "description": "品种名称",
  45120. "type": "string"
  45121. },
  45122. "enumdicname": {
  45123. "description": "单位名称",
  45124. "type": "string"
  45125. },
  45126. "fixedprice": {
  45127. "description": "固定价格(价格)",
  45128. "type": "number"
  45129. },
  45130. "haswr": {
  45131. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45132. "type": "integer"
  45133. },
  45134. "isspecified": {
  45135. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  45136. "type": "integer"
  45137. },
  45138. "marketid": {
  45139. "description": "市场ID",
  45140. "type": "integer"
  45141. },
  45142. "matchuserid": {
  45143. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  45144. "type": "integer"
  45145. },
  45146. "matchusername": {
  45147. "description": "指定方",
  45148. "type": "string"
  45149. },
  45150. "minivalue": {
  45151. "description": "现货商品最小变动值",
  45152. "type": "integer"
  45153. },
  45154. "optioncompare": {
  45155. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45156. "type": "string"
  45157. },
  45158. "orderqty": {
  45159. "description": "委托数量",
  45160. "type": "number"
  45161. },
  45162. "ordertime": {
  45163. "description": "委托时间",
  45164. "type": "string"
  45165. },
  45166. "pricemove": {
  45167. "description": "升贴水(浮动价时填写) - [挂牌]",
  45168. "type": "number"
  45169. },
  45170. "tradedate": {
  45171. "description": "交易日(yyyyMMdd)",
  45172. "type": "string"
  45173. },
  45174. "tradeprice": {
  45175. "description": "成交价格",
  45176. "type": "number"
  45177. },
  45178. "tradeqty": {
  45179. "description": "成交数量",
  45180. "type": "number"
  45181. },
  45182. "userid": {
  45183. "description": "用户ID",
  45184. "type": "integer"
  45185. },
  45186. "username": {
  45187. "description": "发起方",
  45188. "type": "string"
  45189. },
  45190. "warehouseid": {
  45191. "description": "仓库ID",
  45192. "type": "integer"
  45193. },
  45194. "warehousename": {
  45195. "description": "仓库名称",
  45196. "type": "string"
  45197. },
  45198. "wrfactortypeid": {
  45199. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45200. "type": "string"
  45201. },
  45202. "wrfactortypename": {
  45203. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45204. "type": "string"
  45205. },
  45206. "wrpricetype": {
  45207. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  45208. "type": "integer"
  45209. },
  45210. "wrstandardcode": {
  45211. "description": "现货商品代码",
  45212. "type": "string"
  45213. },
  45214. "wrstandardid": {
  45215. "description": "现货商品ID",
  45216. "type": "integer"
  45217. },
  45218. "wrstandardname": {
  45219. "description": "商品名称",
  45220. "type": "string"
  45221. },
  45222. "wrtradeorderid": {
  45223. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45224. "type": "string"
  45225. },
  45226. "wrtradeorderstatus": {
  45227. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  45228. "type": "integer"
  45229. },
  45230. "wrtradetype": {
  45231. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45232. "type": "integer"
  45233. },
  45234. "wrtypename": {
  45235. "description": "商品",
  45236. "type": "string"
  45237. }
  45238. }
  45239. },
  45240. "models.WrSpotGroupTradeSum": {
  45241. "type": "object",
  45242. "properties": {
  45243. "deliverygoodscode": {
  45244. "description": "现货品种代码",
  45245. "type": "string"
  45246. },
  45247. "deliverygoodsid": {
  45248. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45249. "type": "integer"
  45250. },
  45251. "deliverygoodsname": {
  45252. "description": "现货品种名称",
  45253. "type": "string"
  45254. },
  45255. "lastavgprice": {
  45256. "description": "上上个交易日价格(前2天价格)",
  45257. "type": "string"
  45258. },
  45259. "lastreckondate": {
  45260. "description": "上上个交易日(前2天交易日)",
  45261. "type": "string"
  45262. },
  45263. "reckondate": {
  45264. "description": "上个交易日(前1天交易日)",
  45265. "type": "string"
  45266. },
  45267. "todayavgprice": {
  45268. "description": "上个交易日价格(前1天价格)",
  45269. "type": "string"
  45270. },
  45271. "updown": {
  45272. "description": "涨跌",
  45273. "type": "string"
  45274. },
  45275. "updownratio": {
  45276. "description": "涨幅(已格式化, 直接显示即可)",
  45277. "type": "string"
  45278. }
  45279. }
  45280. },
  45281. "models.WrSpotGroupTradeSumDetail": {
  45282. "type": "object",
  45283. "properties": {
  45284. "deliverygoodsid": {
  45285. "description": "现货商品id",
  45286. "type": "integer"
  45287. },
  45288. "price": {
  45289. "description": "价格",
  45290. "type": "number"
  45291. },
  45292. "reckondate": {
  45293. "description": "日期(yyymmdd, 如:20211031)",
  45294. "type": "string"
  45295. }
  45296. }
  45297. },
  45298. "models.WrSpotGroupTradeSumEx": {
  45299. "type": "object",
  45300. "properties": {
  45301. "lst": {
  45302. "description": "指数列表",
  45303. "type": "array",
  45304. "items": {
  45305. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  45306. }
  45307. },
  45308. "prereckondate": {
  45309. "description": "上上个交易日(yyymmdd)",
  45310. "type": "string"
  45311. },
  45312. "reckondate": {
  45313. "description": "上个交易日(yyyymmdd)",
  45314. "type": "string"
  45315. }
  45316. }
  45317. },
  45318. "models.WrStandardFactoryItem": {
  45319. "type": "object",
  45320. "properties": {
  45321. "dgfactoryitemid": {
  45322. "description": "选择项id",
  45323. "type": "integer"
  45324. },
  45325. "dgfactoryitemvalue": {
  45326. "description": "要素项值",
  45327. "type": "string"
  45328. },
  45329. "warehouseid": {
  45330. "description": "仓库id",
  45331. "type": "integer"
  45332. }
  45333. }
  45334. },
  45335. "models.WrStandardFactoryItemEx": {
  45336. "type": "object",
  45337. "properties": {
  45338. "dgfactoryitemtypeid": {
  45339. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  45340. "type": "integer"
  45341. },
  45342. "itemlst": {
  45343. "description": "要素项列表",
  45344. "type": "array",
  45345. "items": {
  45346. "$ref": "#/definitions/models.WrStandardFactoryItem"
  45347. }
  45348. },
  45349. "itemtypename": {
  45350. "description": "要素项类型名称",
  45351. "type": "string"
  45352. },
  45353. "wrstandardid": {
  45354. "description": "品类",
  45355. "type": "integer"
  45356. }
  45357. }
  45358. },
  45359. "models.WrTradeDetail": {
  45360. "type": "object",
  45361. "properties": {
  45362. "accountid": {
  45363. "description": "资金账号",
  45364. "type": "integer"
  45365. },
  45366. "bannerpicurl": {
  45367. "description": "Banner图",
  45368. "type": "string"
  45369. },
  45370. "begindate": {
  45371. "description": "开始交易日(yyyymmdd)",
  45372. "type": "string"
  45373. },
  45374. "buyorsell": {
  45375. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  45376. "type": "integer"
  45377. },
  45378. "chargevalue": {
  45379. "description": "手续费",
  45380. "type": "number"
  45381. },
  45382. "deliverygoodscode": {
  45383. "description": "品种代码",
  45384. "type": "string"
  45385. },
  45386. "deliverygoodsid": {
  45387. "description": "品种ID",
  45388. "type": "integer"
  45389. },
  45390. "deliverygoodsname": {
  45391. "description": "品种名称",
  45392. "type": "string"
  45393. },
  45394. "deliverymonth": {
  45395. "description": "交收月",
  45396. "type": "string"
  45397. },
  45398. "enddate": {
  45399. "description": "结束交易日(yyyymmdd)",
  45400. "type": "string"
  45401. },
  45402. "enumdicname": {
  45403. "description": "单位名称",
  45404. "type": "string"
  45405. },
  45406. "haswr": {
  45407. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45408. "type": "integer"
  45409. },
  45410. "marketid": {
  45411. "description": "市场ID",
  45412. "type": "integer"
  45413. },
  45414. "matchaccountid": {
  45415. "description": "对手账号",
  45416. "type": "integer"
  45417. },
  45418. "matchusername": {
  45419. "description": "对手方",
  45420. "type": "string"
  45421. },
  45422. "minivalue": {
  45423. "description": "现货商品最小变动值",
  45424. "type": "integer"
  45425. },
  45426. "optioncompare": {
  45427. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45428. "type": "string"
  45429. },
  45430. "thumurls": {
  45431. "description": "缩略图",
  45432. "type": "string"
  45433. },
  45434. "tradedate": {
  45435. "description": "交易日(yyyyMMdd)",
  45436. "type": "string"
  45437. },
  45438. "tradeprice": {
  45439. "description": "成交价格",
  45440. "type": "number"
  45441. },
  45442. "tradeqty": {
  45443. "description": "成交数量",
  45444. "type": "number"
  45445. },
  45446. "tradetime": {
  45447. "description": "成交时间",
  45448. "type": "string"
  45449. },
  45450. "userid": {
  45451. "description": "用户ID",
  45452. "type": "integer"
  45453. },
  45454. "warehouseid": {
  45455. "description": "仓库ID",
  45456. "type": "integer"
  45457. },
  45458. "warehousename": {
  45459. "description": "仓库名称",
  45460. "type": "string"
  45461. },
  45462. "wrfactortypeid": {
  45463. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45464. "type": "string"
  45465. },
  45466. "wrfactortypename": {
  45467. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45468. "type": "string"
  45469. },
  45470. "wrstandardcode": {
  45471. "description": "现货商品代码",
  45472. "type": "string"
  45473. },
  45474. "wrstandardid": {
  45475. "description": "现货商品ID",
  45476. "type": "integer"
  45477. },
  45478. "wrstandardname": {
  45479. "description": "商品名称",
  45480. "type": "string"
  45481. },
  45482. "wrtradedetailid": {
  45483. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45484. "type": "string"
  45485. },
  45486. "wrtradetype": {
  45487. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45488. "type": "integer"
  45489. },
  45490. "wrtypename": {
  45491. "description": "商品",
  45492. "type": "string"
  45493. }
  45494. }
  45495. },
  45496. "models.WrTradeOrderDetail": {
  45497. "type": "object",
  45498. "properties": {
  45499. "buyorsell": {
  45500. "description": "买卖方向 0-买 1-卖",
  45501. "type": "integer"
  45502. },
  45503. "goodsid": {
  45504. "description": "商品id",
  45505. "type": "integer"
  45506. },
  45507. "orderid": {
  45508. "description": "委托单号",
  45509. "type": "string"
  45510. },
  45511. "orderprice": {
  45512. "description": "期初均价",
  45513. "type": "number"
  45514. },
  45515. "orderqty": {
  45516. "description": "委托数量",
  45517. "type": "integer"
  45518. },
  45519. "userid": {
  45520. "description": "用户id",
  45521. "type": "integer"
  45522. },
  45523. "username": {
  45524. "description": "用户名称(已脱敏)",
  45525. "type": "string"
  45526. }
  45527. }
  45528. },
  45529. "models.WrTypeItem": {
  45530. "type": "object",
  45531. "properties": {
  45532. "name": {
  45533. "description": "名称",
  45534. "type": "string"
  45535. },
  45536. "value": {
  45537. "description": "值",
  45538. "type": "string"
  45539. }
  45540. }
  45541. },
  45542. "models.WrUserFriend": {
  45543. "type": "object",
  45544. "properties": {
  45545. "friendname": {
  45546. "description": "朋友名称(已脱敏)",
  45547. "type": "string"
  45548. },
  45549. "frienduserid": {
  45550. "description": "朋友id",
  45551. "type": "integer"
  45552. },
  45553. "isfriend": {
  45554. "description": "是否好友 0-不是 1-是",
  45555. "type": "integer"
  45556. },
  45557. "userid": {
  45558. "description": "用户id",
  45559. "type": "integer"
  45560. }
  45561. }
  45562. },
  45563. "models.WrUserReceiptInfo": {
  45564. "type": "object",
  45565. "properties": {
  45566. "address": {
  45567. "description": "地址[发票类型:企业]",
  45568. "type": "string"
  45569. },
  45570. "autoid": {
  45571. "description": "AutoID",
  45572. "type": "integer"
  45573. },
  45574. "contactinfo": {
  45575. "description": "联系方式",
  45576. "type": "string"
  45577. },
  45578. "idnum": {
  45579. "description": "身份证号码[发票类型:个人]",
  45580. "type": "string"
  45581. },
  45582. "isdefault": {
  45583. "description": "是否默认地址 - 0:否 1:是",
  45584. "type": "integer"
  45585. },
  45586. "receiptaccount": {
  45587. "description": "发票帐号[发票类型:企业]",
  45588. "type": "string"
  45589. },
  45590. "receiptbank": {
  45591. "description": "发票开户行[发票类型:企业]",
  45592. "type": "string"
  45593. },
  45594. "receipttype": {
  45595. "description": "发票类型 - 1:个人 2:企业",
  45596. "type": "integer"
  45597. },
  45598. "taxpayerid": {
  45599. "description": "纳税人识别号",
  45600. "type": "string"
  45601. },
  45602. "userid": {
  45603. "description": "用户ID",
  45604. "type": "integer"
  45605. },
  45606. "username": {
  45607. "description": "户名(个人姓名或企业名称)",
  45608. "type": "string"
  45609. }
  45610. }
  45611. },
  45612. "models.Wrtradetradequote": {
  45613. "type": "object",
  45614. "properties": {
  45615. "buyaccountid": {
  45616. "description": "买方账号ID",
  45617. "type": "integer"
  45618. },
  45619. "buychargevalue": {
  45620. "description": "买方手续费",
  45621. "type": "number"
  45622. },
  45623. "buyuserid": {
  45624. "description": "买方用户ID",
  45625. "type": "integer"
  45626. },
  45627. "deliverygoodsid": {
  45628. "description": "现货品种ID",
  45629. "type": "integer"
  45630. },
  45631. "exchangerate": {
  45632. "description": "汇率",
  45633. "type": "number"
  45634. },
  45635. "marketid": {
  45636. "description": "市场ID",
  45637. "type": "integer"
  45638. },
  45639. "oritradeamount": {
  45640. "description": "成交金额[商品币种]",
  45641. "type": "number"
  45642. },
  45643. "performanceplanid": {
  45644. "description": "履约计划ID/合同ID",
  45645. "type": "integer"
  45646. },
  45647. "sellaccountid": {
  45648. "description": "卖方账号ID",
  45649. "type": "integer"
  45650. },
  45651. "sellchargevalue": {
  45652. "description": "卖方手续费",
  45653. "type": "number"
  45654. },
  45655. "selluserid": {
  45656. "description": "卖方用户ID",
  45657. "type": "integer"
  45658. },
  45659. "tradeamount": {
  45660. "description": "成交金额",
  45661. "type": "number"
  45662. },
  45663. "tradedate": {
  45664. "description": "交易日(yyyyMMdd)",
  45665. "type": "string"
  45666. },
  45667. "tradeprice": {
  45668. "description": "成交价格",
  45669. "type": "number"
  45670. },
  45671. "tradeqty": {
  45672. "description": "成交数量",
  45673. "type": "integer"
  45674. },
  45675. "tradetime": {
  45676. "description": "成交时间",
  45677. "type": "string"
  45678. },
  45679. "wrfactortypeid": {
  45680. "description": "仓单要素类型ID",
  45681. "type": "integer"
  45682. },
  45683. "wrstandardid": {
  45684. "description": "现货商品ID",
  45685. "type": "integer"
  45686. },
  45687. "wrtradedetailid": {
  45688. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  45689. "type": "integer"
  45690. }
  45691. }
  45692. },
  45693. "models.XHBRAND": {
  45694. "type": "object",
  45695. "properties": {
  45696. "brandid": {
  45697. "description": "品牌id",
  45698. "type": "integer"
  45699. },
  45700. "brandname": {
  45701. "description": "品牌名称",
  45702. "type": "string"
  45703. },
  45704. "isvalid": {
  45705. "description": "是否有效 0-无效 1-有效",
  45706. "type": "integer"
  45707. }
  45708. }
  45709. },
  45710. "models.XHDeliveryGoods": {
  45711. "type": "object",
  45712. "properties": {
  45713. "areauserid": {
  45714. "description": "所属机构",
  45715. "type": "integer"
  45716. },
  45717. "bdlst": {
  45718. "description": "品牌列表",
  45719. "type": "array",
  45720. "items": {
  45721. "$ref": "#/definitions/models.XHBRAND"
  45722. }
  45723. },
  45724. "deliverygoodscode": {
  45725. "description": "现货品种代码",
  45726. "type": "string"
  45727. },
  45728. "deliverygoodsid": {
  45729. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  45730. "type": "integer"
  45731. },
  45732. "deliverygoodsname": {
  45733. "description": "现货品种名称",
  45734. "type": "string"
  45735. },
  45736. "dgstatus": {
  45737. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  45738. "type": "integer"
  45739. },
  45740. "filterSubEmpty": {
  45741. "description": "过滤下级为空的",
  45742. "type": "integer"
  45743. },
  45744. "isvalid": {
  45745. "description": "是否有效 - 0:无效 1:有效",
  45746. "type": "integer"
  45747. },
  45748. "remark": {
  45749. "description": "备注",
  45750. "type": "string"
  45751. },
  45752. "unitid": {
  45753. "description": "单位id(目前看,数据库中是空值)",
  45754. "type": "integer"
  45755. },
  45756. "wdlst": {
  45757. "description": "品类(现货商品)列表",
  45758. "type": "array",
  45759. "items": {
  45760. "$ref": "#/definitions/models.XHWrstandard"
  45761. }
  45762. }
  45763. }
  45764. },
  45765. "models.XHMiddleGoods": {
  45766. "type": "object",
  45767. "properties": {
  45768. "GPLST": {
  45769. "description": "期货品种列表",
  45770. "type": "array",
  45771. "items": {
  45772. "$ref": "#/definitions/models.TBGoodsGroup"
  45773. }
  45774. },
  45775. "convertratio": {
  45776. "description": "拆算系数",
  45777. "type": "number"
  45778. },
  45779. "costratio": {
  45780. "description": "成本权重",
  45781. "type": "number"
  45782. },
  45783. "deliverygoodsid": {
  45784. "description": "现货商品id",
  45785. "type": "integer"
  45786. },
  45787. "enumdicname": {
  45788. "description": "单位名称",
  45789. "type": "string"
  45790. },
  45791. "middlegoodscode": {
  45792. "description": "套保品种代码",
  45793. "type": "string"
  45794. },
  45795. "middlegoodsid": {
  45796. "description": "套保品种id",
  45797. "type": "integer"
  45798. },
  45799. "middlegoodsname": {
  45800. "description": "套保品种名称",
  45801. "type": "string"
  45802. },
  45803. "unitid": {
  45804. "description": "单位id",
  45805. "type": "integer"
  45806. }
  45807. }
  45808. },
  45809. "models.XHWrstandard": {
  45810. "type": "object",
  45811. "properties": {
  45812. "bannerpicurl": {
  45813. "description": "banner图",
  45814. "type": "string"
  45815. },
  45816. "deliverygoodsid": {
  45817. "description": "品种ID",
  45818. "type": "integer"
  45819. },
  45820. "enumdicname": {
  45821. "description": "单位名称",
  45822. "type": "string"
  45823. },
  45824. "mglst": {
  45825. "description": "套保品列表",
  45826. "type": "array",
  45827. "items": {
  45828. "$ref": "#/definitions/models.XHMiddleGoods"
  45829. }
  45830. },
  45831. "pictureurls": {
  45832. "description": "详情图片(逗号分隔)",
  45833. "type": "string"
  45834. },
  45835. "thumurls": {
  45836. "description": "缩略图片(1:1)(逗号分隔)",
  45837. "type": "string"
  45838. },
  45839. "unitid": {
  45840. "description": "单位id",
  45841. "type": "integer"
  45842. },
  45843. "vatrate": {
  45844. "description": "增值税率",
  45845. "type": "number"
  45846. },
  45847. "wrstandardcode": {
  45848. "description": "现货商品代码",
  45849. "type": "string"
  45850. },
  45851. "wrstandardid": {
  45852. "description": "现货商品ID(SEQ_WRSTANDARD)",
  45853. "type": "integer"
  45854. },
  45855. "wrstandardname": {
  45856. "description": "现货商品名称",
  45857. "type": "string"
  45858. }
  45859. }
  45860. },
  45861. "models.XhcpSellBackApplyEx": {
  45862. "type": "object",
  45863. "required": [
  45864. "userid"
  45865. ],
  45866. "properties": {
  45867. "applyremark": {
  45868. "description": "申请备注",
  45869. "type": "string"
  45870. },
  45871. "expirytype": {
  45872. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45873. "type": "integer"
  45874. },
  45875. "goodsspec": {
  45876. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45877. "type": "integer"
  45878. },
  45879. "holeflag": {
  45880. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45881. "type": "integer"
  45882. },
  45883. "isunopened": {
  45884. "description": "是否原封 - 1:否 2:是",
  45885. "type": "integer"
  45886. },
  45887. "mpflag": {
  45888. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45889. "type": "integer"
  45890. },
  45891. "openflag": {
  45892. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45893. "type": "integer"
  45894. },
  45895. "phonenum": {
  45896. "description": "联系电话",
  45897. "type": "string"
  45898. },
  45899. "userid": {
  45900. "description": "所属用户ID",
  45901. "type": "integer"
  45902. },
  45903. "zpflag": {
  45904. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45905. "type": "integer"
  45906. }
  45907. }
  45908. },
  45909. "models.Xhcpsellbackapply": {
  45910. "type": "object",
  45911. "required": [
  45912. "userid"
  45913. ],
  45914. "properties": {
  45915. "applyid": {
  45916. "description": "申请人",
  45917. "type": "integer"
  45918. },
  45919. "applyremark": {
  45920. "description": "申请备注",
  45921. "type": "string"
  45922. },
  45923. "applysrc": {
  45924. "description": "申请来源 - 1:管理端 2:终端",
  45925. "type": "integer"
  45926. },
  45927. "applystatus": {
  45928. "description": "申请状态 - 1:待确认 2:已处理",
  45929. "type": "integer"
  45930. },
  45931. "applytime": {
  45932. "description": "申请时间",
  45933. "type": "string"
  45934. },
  45935. "auditremark": {
  45936. "description": "审核备注",
  45937. "type": "string"
  45938. },
  45939. "auditsrc": {
  45940. "description": "审核来源 - 1:管理端 2:终端",
  45941. "type": "integer"
  45942. },
  45943. "expirytype": {
  45944. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  45945. "type": "integer"
  45946. },
  45947. "goodsspec": {
  45948. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  45949. "type": "integer"
  45950. },
  45951. "holeflag": {
  45952. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  45953. "type": "integer"
  45954. },
  45955. "isunopened": {
  45956. "description": "是否原封 - 1:否 2:是",
  45957. "type": "integer"
  45958. },
  45959. "mpflag": {
  45960. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  45961. "type": "integer"
  45962. },
  45963. "openflag": {
  45964. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  45965. "type": "integer"
  45966. },
  45967. "phonenum": {
  45968. "description": "联系电话",
  45969. "type": "string"
  45970. },
  45971. "sellbackapplyid": {
  45972. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  45973. "type": "string"
  45974. },
  45975. "userid": {
  45976. "description": "所属用户ID",
  45977. "type": "integer"
  45978. },
  45979. "zpflag": {
  45980. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  45981. "type": "integer"
  45982. }
  45983. }
  45984. },
  45985. "order.QueryHisTradeDetailRsp": {
  45986. "type": "object",
  45987. "required": [
  45988. "accountid",
  45989. "buyorsell",
  45990. "goodsid",
  45991. "histradedate",
  45992. "marketid",
  45993. "memberuserid",
  45994. "orderid",
  45995. "tradeamount",
  45996. "tradedate",
  45997. "tradeid",
  45998. "tradeprice",
  45999. "tradeqty",
  46000. "tradetime"
  46001. ],
  46002. "properties": {
  46003. "accountid": {
  46004. "description": "账户ID[报价币种]",
  46005. "type": "integer"
  46006. },
  46007. "advanceratio": {
  46008. "description": "首付比率",
  46009. "type": "number"
  46010. },
  46011. "buildtype": {
  46012. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  46013. "type": "integer"
  46014. },
  46015. "buyorsell": {
  46016. "description": "方向 - 0:买 1:卖",
  46017. "type": "integer"
  46018. },
  46019. "charge": {
  46020. "description": "手续费",
  46021. "type": "number"
  46022. },
  46023. "closecharge": {
  46024. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46025. "type": "number"
  46026. },
  46027. "closeexchagechargevalue": {
  46028. "description": "平仓交易所手续费设置值",
  46029. "type": "number"
  46030. },
  46031. "closefeealgorithm": {
  46032. "description": "平仓手续费收取方式 1:比率 2:固定",
  46033. "type": "integer"
  46034. },
  46035. "closememberchargevalue": {
  46036. "description": "平仓会员手续费设置值",
  46037. "type": "number"
  46038. },
  46039. "closepl": {
  46040. "description": "平仓盈亏",
  46041. "type": "number"
  46042. },
  46043. "closepl2": {
  46044. "description": "平仓盈亏[逐笔]",
  46045. "type": "number"
  46046. },
  46047. "closeqty": {
  46048. "description": "平仓数量(先建后平操作 需要记录)",
  46049. "type": "number"
  46050. },
  46051. "creditamount": {
  46052. "description": "授信金额",
  46053. "type": "number"
  46054. },
  46055. "decimalplace": {
  46056. "description": "商品报价小数位",
  46057. "type": "integer"
  46058. },
  46059. "enumdicname": {
  46060. "description": "单位名称",
  46061. "type": "string"
  46062. },
  46063. "gcaccountid": {
  46064. "description": "账户ID[合约币种]",
  46065. "type": "integer"
  46066. },
  46067. "goodscode": {
  46068. "description": "商品代码",
  46069. "type": "string"
  46070. },
  46071. "goodsid": {
  46072. "description": "商品ID",
  46073. "type": "integer"
  46074. },
  46075. "goodsname": {
  46076. "description": "商品名称",
  46077. "type": "string"
  46078. },
  46079. "goodunitid": {
  46080. "description": "商品单位id",
  46081. "type": "integer"
  46082. },
  46083. "histradedate": {
  46084. "description": "历史交易日",
  46085. "type": "string"
  46086. },
  46087. "intclosepl": {
  46088. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46089. "type": "integer"
  46090. },
  46091. "isconfirmexercise": {
  46092. "description": "是否确认行权- 0:否 1:是",
  46093. "type": "integer"
  46094. },
  46095. "ismain": {
  46096. "description": "是否主单 - 0:不是 1:是",
  46097. "type": "integer"
  46098. },
  46099. "ispreexercise": {
  46100. "description": "是否预申报- 0:否 1:是",
  46101. "type": "integer"
  46102. },
  46103. "isreckoned": {
  46104. "description": "是否结算 - 0:未结算 1:已结算",
  46105. "type": "integer"
  46106. },
  46107. "isvaliddata": {
  46108. "description": "是否有效 - 0:无效 1:有效",
  46109. "type": "integer"
  46110. },
  46111. "listingselecttype": {
  46112. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46113. "type": "integer"
  46114. },
  46115. "marketid": {
  46116. "description": "市场ID",
  46117. "type": "integer"
  46118. },
  46119. "marketname": {
  46120. "description": "市场名称",
  46121. "type": "string"
  46122. },
  46123. "matchaccountid": {
  46124. "description": "对手账号id",
  46125. "type": "integer"
  46126. },
  46127. "memberuserid": {
  46128. "description": "会员id 个人投资者 需要填写",
  46129. "type": "integer"
  46130. },
  46131. "opencharge": {
  46132. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46133. "type": "number"
  46134. },
  46135. "openexchagechargevalue": {
  46136. "description": "建仓交易所手续费设置值",
  46137. "type": "number"
  46138. },
  46139. "openfeealgorithm": {
  46140. "description": "建仓手续费收取方式 1:比率 2:固定",
  46141. "type": "integer"
  46142. },
  46143. "openmemberchargevalue": {
  46144. "description": "建仓会员手续费设置值",
  46145. "type": "number"
  46146. },
  46147. "openqty": {
  46148. "description": "开仓数量(先建后平操作 需要记录)",
  46149. "type": "number"
  46150. },
  46151. "optiontype": {
  46152. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46153. "type": "integer"
  46154. },
  46155. "orderid": {
  46156. "description": "委托单号",
  46157. "type": "string"
  46158. },
  46159. "payamount": {
  46160. "description": "支付金额(付款金额)",
  46161. "type": "number"
  46162. },
  46163. "performanceplanid": {
  46164. "description": "履约计划ID[期权]",
  46165. "type": "integer"
  46166. },
  46167. "performancestatus": {
  46168. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46169. "type": "integer"
  46170. },
  46171. "preexerciseprice": {
  46172. "description": "预申报价格",
  46173. "type": "number"
  46174. },
  46175. "premium": {
  46176. "description": "权利金 - [持仓单的权利金]",
  46177. "type": "number"
  46178. },
  46179. "qtydecimalplace": {
  46180. "description": "商品报价小数位",
  46181. "type": "integer"
  46182. },
  46183. "recvamount": {
  46184. "description": "到账金额 = 成交金额 - 手续费",
  46185. "type": "number"
  46186. },
  46187. "relatedouttradeid": {
  46188. "description": "关联外部成交单ID",
  46189. "type": "integer"
  46190. },
  46191. "status": {
  46192. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46193. "type": "integer"
  46194. },
  46195. "totalamount": {
  46196. "description": "订单总额 = 成交金额 + 手续费",
  46197. "type": "number"
  46198. },
  46199. "tradeamount": {
  46200. "description": "成交金额[账户币种,用于所有权]",
  46201. "type": "number"
  46202. },
  46203. "tradedate": {
  46204. "description": "交易日(yyyyMMdd)",
  46205. "type": "string"
  46206. },
  46207. "tradeid": {
  46208. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46209. "type": "string"
  46210. },
  46211. "trademode": {
  46212. "description": "交易模式",
  46213. "type": "integer"
  46214. },
  46215. "tradeprice": {
  46216. "description": "成交价格",
  46217. "type": "number"
  46218. },
  46219. "tradeproperty": {
  46220. "description": "交易属性",
  46221. "type": "integer"
  46222. },
  46223. "tradeqty": {
  46224. "description": "成交数量",
  46225. "type": "number"
  46226. },
  46227. "tradetime": {
  46228. "description": "成交时间",
  46229. "type": "string"
  46230. },
  46231. "tradetype": {
  46232. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46233. "type": "integer"
  46234. }
  46235. }
  46236. },
  46237. "order.QueryHisTradeOrderDetailRsp": {
  46238. "type": "object",
  46239. "required": [
  46240. "accountid",
  46241. "buildtype",
  46242. "buyorsell",
  46243. "goodsid",
  46244. "histradedate",
  46245. "marketid",
  46246. "memberuserid",
  46247. "operatetype",
  46248. "orderid",
  46249. "orderqty",
  46250. "ordertime",
  46251. "pricemode",
  46252. "tradedate",
  46253. "validtype"
  46254. ],
  46255. "properties": {
  46256. "accountid": {
  46257. "description": "账户ID[报价币种]",
  46258. "type": "integer"
  46259. },
  46260. "buildtype": {
  46261. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46262. "type": "integer"
  46263. },
  46264. "buyorsell": {
  46265. "description": "买卖 - 0:买 1:卖",
  46266. "type": "integer"
  46267. },
  46268. "cancelorderid": {
  46269. "description": "撤单单号(撤单时填写)",
  46270. "type": "string"
  46271. },
  46272. "cancelqty": {
  46273. "description": "撤单数量",
  46274. "type": "number"
  46275. },
  46276. "clientordertime": {
  46277. "description": "客户端委托时间",
  46278. "type": "string"
  46279. },
  46280. "clientticket": {
  46281. "description": "客户端流水号",
  46282. "type": "string"
  46283. },
  46284. "clienttype": {
  46285. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  46286. "type": "integer"
  46287. },
  46288. "closeexchagechargevalue": {
  46289. "description": "平仓交易所手续费设置值",
  46290. "type": "number"
  46291. },
  46292. "closefeealgorithm": {
  46293. "description": "平仓手续费收取方式 1:比率 2:固定",
  46294. "type": "integer"
  46295. },
  46296. "closefreezecharge": {
  46297. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  46298. "type": "number"
  46299. },
  46300. "closememberchargevalue": {
  46301. "description": "平仓会员手续费设置值",
  46302. "type": "number"
  46303. },
  46304. "closeqty": {
  46305. "description": "平仓数量(先建后平操作 需要记录)",
  46306. "type": "number"
  46307. },
  46308. "closetradeqty": {
  46309. "description": "平仓成交数量(先建后平操作,需要记录)",
  46310. "type": "number"
  46311. },
  46312. "closeunfreezecharge": {
  46313. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  46314. "type": "number"
  46315. },
  46316. "decimalplace": {
  46317. "description": "商品报价小数位",
  46318. "type": "integer"
  46319. },
  46320. "delistingtype": {
  46321. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  46322. "type": "integer"
  46323. },
  46324. "enumdicname": {
  46325. "description": "单位名称",
  46326. "type": "string"
  46327. },
  46328. "freezecharge": {
  46329. "description": "冻结手续费",
  46330. "type": "number"
  46331. },
  46332. "freezemargin": {
  46333. "description": "冻结保证金(冻结交易金额)",
  46334. "type": "number"
  46335. },
  46336. "gcaccountid": {
  46337. "description": "账户ID[合约币种]",
  46338. "type": "integer"
  46339. },
  46340. "goodscode": {
  46341. "description": "商品代码",
  46342. "type": "string"
  46343. },
  46344. "goodsid": {
  46345. "description": "商品ID",
  46346. "type": "integer"
  46347. },
  46348. "goodsname": {
  46349. "description": "商品名称",
  46350. "type": "string"
  46351. },
  46352. "goodunitid": {
  46353. "description": "商品单位id",
  46354. "type": "integer"
  46355. },
  46356. "histradedate": {
  46357. "description": "历史交易日",
  46358. "type": "string"
  46359. },
  46360. "isconfirmexercise": {
  46361. "description": "是否确认行权- 0:否 1:是",
  46362. "type": "integer"
  46363. },
  46364. "ispreexercise": {
  46365. "description": "是否预申报- 0:否 1:是",
  46366. "type": "integer"
  46367. },
  46368. "isvaliddata": {
  46369. "description": "是否有效 - 0:无效 1:有效",
  46370. "type": "integer"
  46371. },
  46372. "listingselecttype": {
  46373. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46374. "type": "integer"
  46375. },
  46376. "marginalgorithm": {
  46377. "description": "保证金收取方式 1:比率 2:固定",
  46378. "type": "integer"
  46379. },
  46380. "marginvalue": {
  46381. "description": "即市保证金设置值",
  46382. "type": "number"
  46383. },
  46384. "marketid": {
  46385. "description": "市场ID",
  46386. "type": "integer"
  46387. },
  46388. "marketmaxsub": {
  46389. "description": "市价最大偏移范围",
  46390. "type": "number"
  46391. },
  46392. "marketname": {
  46393. "description": "市场名称",
  46394. "type": "string"
  46395. },
  46396. "memberuserid": {
  46397. "description": "所属会员UserID",
  46398. "type": "integer"
  46399. },
  46400. "openexchagechargevalue": {
  46401. "description": "建仓交易所手续费设置值",
  46402. "type": "number"
  46403. },
  46404. "openfeealgorithm": {
  46405. "description": "建仓手续费收取方式 1:比率 2:固定",
  46406. "type": "integer"
  46407. },
  46408. "openfreezecharge": {
  46409. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  46410. "type": "number"
  46411. },
  46412. "openmemberchargevalue": {
  46413. "description": "建仓会员手续费设置值",
  46414. "type": "number"
  46415. },
  46416. "openqty": {
  46417. "description": "开仓数量(先建后平操作,需要记录)",
  46418. "type": "number"
  46419. },
  46420. "opentradeqty": {
  46421. "description": "开仓成交数量(先建后平操作,需要记录)",
  46422. "type": "number"
  46423. },
  46424. "openunfreezecharge": {
  46425. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  46426. "type": "number"
  46427. },
  46428. "operatetype": {
  46429. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  46430. "type": "integer"
  46431. },
  46432. "operatorid": {
  46433. "description": "登录账号(LoginID)",
  46434. "type": "integer"
  46435. },
  46436. "optiontype": {
  46437. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46438. "type": "integer"
  46439. },
  46440. "orderid": {
  46441. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46442. "type": "string"
  46443. },
  46444. "orderprice": {
  46445. "description": "委托价格",
  46446. "type": "number"
  46447. },
  46448. "orderqty": {
  46449. "description": "委托数量",
  46450. "type": "number"
  46451. },
  46452. "ordersrc": {
  46453. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46454. "type": "integer"
  46455. },
  46456. "orderstatus": {
  46457. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46458. "type": "integer"
  46459. },
  46460. "ordertime": {
  46461. "description": "委托时间",
  46462. "type": "string"
  46463. },
  46464. "preexerciseprice": {
  46465. "description": "预申报价格",
  46466. "type": "number"
  46467. },
  46468. "premium": {
  46469. "description": "权利金",
  46470. "type": "number"
  46471. },
  46472. "preorderid": {
  46473. "description": "关联预埋单号(止盈止损单时填写)",
  46474. "type": "string"
  46475. },
  46476. "pricemode": {
  46477. "description": "取价方式 - 1:市价 2: 限价",
  46478. "type": "integer"
  46479. },
  46480. "qtydecimalplace": {
  46481. "description": "成交量小数位",
  46482. "type": "integer"
  46483. },
  46484. "quoteid": {
  46485. "description": "报价单ID",
  46486. "type": "integer"
  46487. },
  46488. "relatedid": {
  46489. "description": "关联单号(交割单)",
  46490. "type": "string"
  46491. },
  46492. "retcode": {
  46493. "description": "错误代码",
  46494. "type": "integer"
  46495. },
  46496. "sessionid": {
  46497. "description": "会话ID",
  46498. "type": "integer"
  46499. },
  46500. "tradedate": {
  46501. "description": "交易日(yyyyMMdd)",
  46502. "type": "string"
  46503. },
  46504. "trademode": {
  46505. "description": "交易模式",
  46506. "type": "integer"
  46507. },
  46508. "tradeproperty": {
  46509. "description": "交易属性",
  46510. "type": "integer"
  46511. },
  46512. "tradeqty": {
  46513. "description": "成交数量",
  46514. "type": "number"
  46515. },
  46516. "unfreezecharge": {
  46517. "description": "解冻手续费",
  46518. "type": "number"
  46519. },
  46520. "unfreezemargin": {
  46521. "description": "解冻保证金",
  46522. "type": "number"
  46523. },
  46524. "updatetime": {
  46525. "description": "更新时间",
  46526. "type": "string"
  46527. },
  46528. "uuid": {
  46529. "description": "发起端唯一id",
  46530. "type": "string"
  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.QueryTradeDetailRsp": {
  46547. "type": "object",
  46548. "required": [
  46549. "accountid",
  46550. "buyorsell",
  46551. "goodsid",
  46552. "marketid",
  46553. "memberuserid",
  46554. "orderid",
  46555. "tradeamount",
  46556. "tradedate",
  46557. "tradeid",
  46558. "tradeprice",
  46559. "tradeqty",
  46560. "tradetime"
  46561. ],
  46562. "properties": {
  46563. "accountid": {
  46564. "description": "账户ID[报价币种]",
  46565. "type": "integer"
  46566. },
  46567. "advanceratio": {
  46568. "description": "首付比率",
  46569. "type": "number"
  46570. },
  46571. "buildtype": {
  46572. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  46573. "type": "integer"
  46574. },
  46575. "buyorsell": {
  46576. "description": "方向 - 0:买 1:卖",
  46577. "type": "integer"
  46578. },
  46579. "charge": {
  46580. "description": "手续费",
  46581. "type": "number"
  46582. },
  46583. "closecharge": {
  46584. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46585. "type": "number"
  46586. },
  46587. "closeexchagechargevalue": {
  46588. "description": "平仓交易所手续费设置值",
  46589. "type": "number"
  46590. },
  46591. "closefeealgorithm": {
  46592. "description": "平仓手续费收取方式 1:比率 2:固定",
  46593. "type": "integer"
  46594. },
  46595. "closememberchargevalue": {
  46596. "description": "平仓会员手续费设置值",
  46597. "type": "number"
  46598. },
  46599. "closepl": {
  46600. "description": "平仓盈亏",
  46601. "type": "number"
  46602. },
  46603. "closepl2": {
  46604. "description": "平仓盈亏[逐笔]",
  46605. "type": "number"
  46606. },
  46607. "closeqty": {
  46608. "description": "平仓数量(先建后平操作 需要记录)",
  46609. "type": "number"
  46610. },
  46611. "creditamount": {
  46612. "description": "授信金额",
  46613. "type": "number"
  46614. },
  46615. "decimalplace": {
  46616. "description": "商品报价小数位",
  46617. "type": "integer"
  46618. },
  46619. "enumdicname": {
  46620. "description": "单位名称",
  46621. "type": "string"
  46622. },
  46623. "gcaccountid": {
  46624. "description": "账户ID[合约币种]",
  46625. "type": "integer"
  46626. },
  46627. "goodscode": {
  46628. "description": "商品代码",
  46629. "type": "string"
  46630. },
  46631. "goodsid": {
  46632. "description": "商品ID",
  46633. "type": "integer"
  46634. },
  46635. "goodsname": {
  46636. "description": "商品名称",
  46637. "type": "string"
  46638. },
  46639. "goodunitid": {
  46640. "description": "商品单位id",
  46641. "type": "integer"
  46642. },
  46643. "intclosepl": {
  46644. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  46645. "type": "integer"
  46646. },
  46647. "isconfirmexercise": {
  46648. "description": "是否确认行权- 0:否 1:是",
  46649. "type": "integer"
  46650. },
  46651. "ismain": {
  46652. "description": "是否主单 - 0:不是 1:是",
  46653. "type": "integer"
  46654. },
  46655. "ispreexercise": {
  46656. "description": "是否预申报- 0:否 1:是",
  46657. "type": "integer"
  46658. },
  46659. "isreckoned": {
  46660. "description": "是否结算 - 0:未结算 1:已结算",
  46661. "type": "integer"
  46662. },
  46663. "listingselecttype": {
  46664. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46665. "type": "integer"
  46666. },
  46667. "marketid": {
  46668. "description": "市场ID",
  46669. "type": "integer"
  46670. },
  46671. "marketname": {
  46672. "description": "市场名称",
  46673. "type": "string"
  46674. },
  46675. "matchaccountid": {
  46676. "description": "对手账号id",
  46677. "type": "integer"
  46678. },
  46679. "memberuserid": {
  46680. "description": "会员id 个人投资者 需要填写",
  46681. "type": "integer"
  46682. },
  46683. "opencharge": {
  46684. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  46685. "type": "number"
  46686. },
  46687. "openexchagechargevalue": {
  46688. "description": "建仓交易所手续费设置值",
  46689. "type": "number"
  46690. },
  46691. "openfeealgorithm": {
  46692. "description": "建仓手续费收取方式 1:比率 2:固定",
  46693. "type": "integer"
  46694. },
  46695. "openmemberchargevalue": {
  46696. "description": "建仓会员手续费设置值",
  46697. "type": "number"
  46698. },
  46699. "openqty": {
  46700. "description": "开仓数量(先建后平操作 需要记录)",
  46701. "type": "number"
  46702. },
  46703. "optiontype": {
  46704. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  46705. "type": "integer"
  46706. },
  46707. "orderid": {
  46708. "description": "委托单号",
  46709. "type": "string"
  46710. },
  46711. "payamount": {
  46712. "description": "支付金额(付款金额)",
  46713. "type": "number"
  46714. },
  46715. "performanceplanid": {
  46716. "description": "履约计划ID[期权]",
  46717. "type": "integer"
  46718. },
  46719. "performancestatus": {
  46720. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  46721. "type": "integer"
  46722. },
  46723. "preexerciseprice": {
  46724. "description": "预申报价格",
  46725. "type": "number"
  46726. },
  46727. "premium": {
  46728. "description": "权利金 - [持仓单的权利金]",
  46729. "type": "number"
  46730. },
  46731. "qtydecimalplace": {
  46732. "description": "商品报价小数位",
  46733. "type": "integer"
  46734. },
  46735. "recvamount": {
  46736. "description": "到账金额 = 成交金额 - 手续费",
  46737. "type": "number"
  46738. },
  46739. "relatedouttradeid": {
  46740. "description": "关联外部成交单ID",
  46741. "type": "integer"
  46742. },
  46743. "status": {
  46744. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  46745. "type": "integer"
  46746. },
  46747. "totalamount": {
  46748. "description": "订单总额 = 成交金额 + 手续费",
  46749. "type": "number"
  46750. },
  46751. "tradeamount": {
  46752. "description": "成交金额[账户币种,用于所有权]",
  46753. "type": "number"
  46754. },
  46755. "tradedate": {
  46756. "description": "交易日(yyyyMMdd)",
  46757. "type": "string"
  46758. },
  46759. "tradeid": {
  46760. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46761. "type": "string"
  46762. },
  46763. "trademode": {
  46764. "description": "交易模式",
  46765. "type": "integer"
  46766. },
  46767. "tradeprice": {
  46768. "description": "成交价格",
  46769. "type": "number"
  46770. },
  46771. "tradeproperty": {
  46772. "description": "交易属性",
  46773. "type": "integer"
  46774. },
  46775. "tradeqty": {
  46776. "description": "成交数量",
  46777. "type": "number"
  46778. },
  46779. "tradetime": {
  46780. "description": "成交时间",
  46781. "type": "string"
  46782. },
  46783. "tradetype": {
  46784. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  46785. "type": "integer"
  46786. }
  46787. }
  46788. },
  46789. "order.QueryTradeOrderDetailRsp": {
  46790. "type": "object",
  46791. "required": [
  46792. "accountid",
  46793. "buildtype",
  46794. "buyorsell",
  46795. "goodsid",
  46796. "marketid",
  46797. "operatetype",
  46798. "orderqty",
  46799. "ordertime",
  46800. "pricemode",
  46801. "tradedate",
  46802. "validtype"
  46803. ],
  46804. "properties": {
  46805. "accountid": {
  46806. "description": "账户ID[报价币种]",
  46807. "type": "integer"
  46808. },
  46809. "buildtype": {
  46810. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  46811. "type": "integer"
  46812. },
  46813. "buyorsell": {
  46814. "description": "买卖 - 0:买 1:卖",
  46815. "type": "integer"
  46816. },
  46817. "cancelorderid": {
  46818. "description": "撤单单号(撤单时填写)",
  46819. "type": "string"
  46820. },
  46821. "cancelqty": {
  46822. "description": "撤单数量",
  46823. "type": "number"
  46824. },
  46825. "clienttype": {
  46826. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  46827. "type": "integer"
  46828. },
  46829. "closefreezecharge": {
  46830. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  46831. "type": "number"
  46832. },
  46833. "closeqty": {
  46834. "description": "平仓数量(先建后平操作 需要记录)",
  46835. "type": "number"
  46836. },
  46837. "closetradeqty": {
  46838. "description": "平仓成交数量(先建后平操作,需要记录)",
  46839. "type": "number"
  46840. },
  46841. "closeunfreezecharge": {
  46842. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  46843. "type": "number"
  46844. },
  46845. "decimalplace": {
  46846. "description": "商品报价小数位",
  46847. "type": "integer"
  46848. },
  46849. "delistingtype": {
  46850. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  46851. "type": "integer"
  46852. },
  46853. "enableqty": {
  46854. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  46855. "type": "number"
  46856. },
  46857. "enumdicname": {
  46858. "description": "单位名称",
  46859. "type": "string"
  46860. },
  46861. "freezecharge": {
  46862. "description": "冻结手续费",
  46863. "type": "number"
  46864. },
  46865. "freezemargin": {
  46866. "description": "冻结保证金(冻结交易金额)",
  46867. "type": "number"
  46868. },
  46869. "goodscode": {
  46870. "description": "商品代码",
  46871. "type": "string"
  46872. },
  46873. "goodsid": {
  46874. "description": "商品ID",
  46875. "type": "integer"
  46876. },
  46877. "goodsname": {
  46878. "description": "商品名称",
  46879. "type": "string"
  46880. },
  46881. "goodunitid": {
  46882. "description": "商品单位id",
  46883. "type": "integer"
  46884. },
  46885. "listingselecttype": {
  46886. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  46887. "type": "integer"
  46888. },
  46889. "marketid": {
  46890. "description": "市场ID",
  46891. "type": "integer"
  46892. },
  46893. "marketname": {
  46894. "description": "市场名称",
  46895. "type": "string"
  46896. },
  46897. "openfreezecharge": {
  46898. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  46899. "type": "number"
  46900. },
  46901. "openqty": {
  46902. "description": "开仓数量(先建后平操作,需要记录)",
  46903. "type": "number"
  46904. },
  46905. "opentradeqty": {
  46906. "description": "开仓成交数量(先建后平操作,需要记录)",
  46907. "type": "number"
  46908. },
  46909. "openunfreezecharge": {
  46910. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  46911. "type": "number"
  46912. },
  46913. "operatetype": {
  46914. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  46915. "type": "integer"
  46916. },
  46917. "operatorid": {
  46918. "description": "登录账号(LoginID)",
  46919. "type": "integer"
  46920. },
  46921. "orderid": {
  46922. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  46923. "type": "string"
  46924. },
  46925. "orderprice": {
  46926. "description": "委托价格",
  46927. "type": "number"
  46928. },
  46929. "orderqty": {
  46930. "description": "委托数量",
  46931. "type": "number"
  46932. },
  46933. "ordersrc": {
  46934. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  46935. "type": "integer"
  46936. },
  46937. "orderstatus": {
  46938. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  46939. "type": "integer"
  46940. },
  46941. "ordertime": {
  46942. "description": "委托时间",
  46943. "type": "string"
  46944. },
  46945. "preorderid": {
  46946. "description": "关联预埋单号(止盈止损单时填写)",
  46947. "type": "string"
  46948. },
  46949. "pricemode": {
  46950. "description": "取价方式 - 1:市价 2: 限价",
  46951. "type": "integer"
  46952. },
  46953. "qtydecimalplace": {
  46954. "description": "商品报价小数位",
  46955. "type": "integer"
  46956. },
  46957. "relatedid": {
  46958. "description": "关联单号(交割单)",
  46959. "type": "string"
  46960. },
  46961. "tradedate": {
  46962. "description": "交易日(yyyyMMdd)",
  46963. "type": "string"
  46964. },
  46965. "trademode": {
  46966. "description": "交易模式",
  46967. "type": "integer"
  46968. },
  46969. "tradeqty": {
  46970. "description": "成交数量",
  46971. "type": "number"
  46972. },
  46973. "unfreezecharge": {
  46974. "description": "解冻手续费",
  46975. "type": "number"
  46976. },
  46977. "unfreezemargin": {
  46978. "description": "解冻保证金",
  46979. "type": "number"
  46980. },
  46981. "validtime": {
  46982. "description": "有效期限",
  46983. "type": "string"
  46984. },
  46985. "validtype": {
  46986. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  46987. "type": "integer"
  46988. },
  46989. "volumetype": {
  46990. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  46991. "type": "integer"
  46992. }
  46993. }
  46994. },
  46995. "order.QueryTradePositionRsp": {
  46996. "type": "object",
  46997. "required": [
  46998. "goodsid"
  46999. ],
  47000. "properties": {
  47001. "accountid": {
  47002. "description": "资金账户",
  47003. "type": "integer"
  47004. },
  47005. "agreeunit": {
  47006. "description": "合约单位",
  47007. "type": "number"
  47008. },
  47009. "averageprice": {
  47010. "description": "持仓均价",
  47011. "type": "number"
  47012. },
  47013. "buyorsell": {
  47014. "description": "方向 - 0:买 1:卖",
  47015. "type": "integer"
  47016. },
  47017. "closetotalqty": {
  47018. "description": "平仓总数量",
  47019. "type": "number"
  47020. },
  47021. "curholderamount": {
  47022. "description": "当前持仓总金额[商品币种]",
  47023. "type": "number"
  47024. },
  47025. "curpositionqty": {
  47026. "description": "当前持仓总数量",
  47027. "type": "number"
  47028. },
  47029. "currencyid": {
  47030. "description": "报价货币ID",
  47031. "type": "integer"
  47032. },
  47033. "curtdposition": {
  47034. "description": "期末今日头寸",
  47035. "type": "number"
  47036. },
  47037. "decimalplace": {
  47038. "description": "报价小数位",
  47039. "type": "integer"
  47040. },
  47041. "enableqty": {
  47042. "description": "可用量",
  47043. "type": "number"
  47044. },
  47045. "fretdposition": {
  47046. "description": "冻结今日头寸",
  47047. "type": "number"
  47048. },
  47049. "frozenqty": {
  47050. "description": "持仓冻结数量",
  47051. "type": "number"
  47052. },
  47053. "goodscode": {
  47054. "description": "商品代码",
  47055. "type": "string"
  47056. },
  47057. "goodsid": {
  47058. "description": "商品Id",
  47059. "type": "integer"
  47060. },
  47061. "goodsname": {
  47062. "description": "商品名称",
  47063. "type": "string"
  47064. },
  47065. "goodunit": {
  47066. "description": "报价单位",
  47067. "type": "string"
  47068. },
  47069. "goodunitid": {
  47070. "description": "报价单位ID",
  47071. "type": "integer"
  47072. },
  47073. "holderamount": {
  47074. "description": "期初持仓总金额[商品币种]",
  47075. "type": "number"
  47076. },
  47077. "lastprice": {
  47078. "description": "最新价",
  47079. "type": "number"
  47080. },
  47081. "marketamount": {
  47082. "description": "市值",
  47083. "type": "number"
  47084. },
  47085. "marketid": {
  47086. "description": "所属市场ID",
  47087. "type": "integer"
  47088. },
  47089. "openreqqty": {
  47090. "description": "开仓申请数量(用于比较最大持仓数量)",
  47091. "type": "number"
  47092. },
  47093. "opentotalqty": {
  47094. "description": "开仓总数量",
  47095. "type": "number"
  47096. },
  47097. "otherfrozenqty": {
  47098. "description": "持仓其他冻结数量(交割冻结)",
  47099. "type": "number"
  47100. },
  47101. "positionpl": {
  47102. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  47103. "type": "number"
  47104. },
  47105. "positionplrate": {
  47106. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  47107. "type": "number"
  47108. },
  47109. "positionqty": {
  47110. "description": "期初持仓数量",
  47111. "type": "number"
  47112. },
  47113. "qtydecimalplace": {
  47114. "description": "成交量小数位",
  47115. "type": "integer"
  47116. },
  47117. "refgoodscode": {
  47118. "description": "参考商品代码",
  47119. "type": "string"
  47120. },
  47121. "refgoodsid": {
  47122. "description": "参考商品ID",
  47123. "type": "integer"
  47124. },
  47125. "tnqty": {
  47126. "description": "T+N冻结总量",
  47127. "type": "number"
  47128. },
  47129. "tnusedqty": {
  47130. "description": "T+N使用量(可以使用T+N的冻结数量)",
  47131. "type": "number"
  47132. },
  47133. "trademode": {
  47134. "description": "交易模式",
  47135. "type": "integer"
  47136. },
  47137. "tradeproperty": {
  47138. "description": "交易属性",
  47139. "type": "integer"
  47140. },
  47141. "usedmargin": {
  47142. "description": "占用保证金[商品币种]",
  47143. "type": "number"
  47144. }
  47145. }
  47146. },
  47147. "pb.GoodsMarginCfgStruct": {
  47148. "type": "object",
  47149. "properties": {
  47150. "CustomerTypeID": {
  47151. "description": "投资者客户类型",
  47152. "type": "integer"
  47153. },
  47154. "GoodsID": {
  47155. "description": "商品ID",
  47156. "type": "integer"
  47157. },
  47158. "IsDefault": {
  47159. "description": "是否默认标志位",
  47160. "type": "integer"
  47161. },
  47162. "LockMarginValue": {
  47163. "description": "锁仓保证金",
  47164. "type": "number"
  47165. },
  47166. "MarginAlgorithm": {
  47167. "description": "保证金计算方式",
  47168. "type": "integer"
  47169. },
  47170. "MarketMarginValue": {
  47171. "description": "即市保证金值",
  47172. "type": "number"
  47173. },
  47174. "RealMarginAlgorithm": {
  47175. "description": "实付保证金计算方式",
  47176. "type": "integer"
  47177. },
  47178. "RealMarginValue": {
  47179. "description": "实付比例",
  47180. "type": "number"
  47181. },
  47182. "ReckonMarginValue": {
  47183. "description": "结算保证金值",
  47184. "type": "number"
  47185. }
  47186. }
  47187. },
  47188. "quote.HistoryData": {
  47189. "type": "object",
  47190. "properties": {
  47191. "c": {
  47192. "description": "收盘价",
  47193. "type": "number"
  47194. },
  47195. "f": {
  47196. "description": "是否补充数据",
  47197. "type": "boolean"
  47198. },
  47199. "h": {
  47200. "description": "最高价",
  47201. "type": "number"
  47202. },
  47203. "hv": {
  47204. "description": "持仓量",
  47205. "type": "integer"
  47206. },
  47207. "l": {
  47208. "description": "最低价",
  47209. "type": "number"
  47210. },
  47211. "o": {
  47212. "description": "开盘价",
  47213. "type": "number"
  47214. },
  47215. "s": {
  47216. "description": "结算价,日线周期(包括)以上才有",
  47217. "type": "number"
  47218. },
  47219. "ts": {
  47220. "description": "时间",
  47221. "type": "string"
  47222. },
  47223. "tt": {
  47224. "description": "总金额",
  47225. "type": "number"
  47226. },
  47227. "tv": {
  47228. "description": "总量(成交量)",
  47229. "type": "integer"
  47230. }
  47231. }
  47232. },
  47233. "quote.HistoryTikData": {
  47234. "type": "object",
  47235. "properties": {
  47236. "AV": {
  47237. "description": "卖量",
  47238. "type": "integer"
  47239. },
  47240. "Ask": {
  47241. "description": "卖价",
  47242. "type": "number"
  47243. },
  47244. "BV": {
  47245. "description": "买量",
  47246. "type": "integer"
  47247. },
  47248. "Bid": {
  47249. "description": "买价",
  47250. "type": "number"
  47251. },
  47252. "HI": {
  47253. "description": "单笔持仓",
  47254. "type": "integer"
  47255. },
  47256. "HV": {
  47257. "description": "持仓量",
  47258. "type": "integer"
  47259. },
  47260. "PE": {
  47261. "description": "现价",
  47262. "type": "number"
  47263. },
  47264. "TDR": {
  47265. "description": "交易方向,0:买 1:卖",
  47266. "type": "integer"
  47267. },
  47268. "TK": {
  47269. "description": "交易类型",
  47270. "type": "integer"
  47271. },
  47272. "TS": {
  47273. "description": "行情时间文本",
  47274. "type": "string"
  47275. },
  47276. "TT": {
  47277. "description": "现金额",
  47278. "type": "number"
  47279. },
  47280. "Vol": {
  47281. "description": "现量",
  47282. "type": "integer"
  47283. }
  47284. }
  47285. },
  47286. "quote.QueryQuoteDayRsp": {
  47287. "type": "object",
  47288. "properties": {
  47289. "ask": {
  47290. "description": "卖1",
  47291. "type": "number"
  47292. },
  47293. "ask10": {
  47294. "description": "卖10",
  47295. "type": "number"
  47296. },
  47297. "ask2": {
  47298. "description": "卖2",
  47299. "type": "number"
  47300. },
  47301. "ask3": {
  47302. "description": "卖3",
  47303. "type": "number"
  47304. },
  47305. "ask4": {
  47306. "description": "卖4",
  47307. "type": "number"
  47308. },
  47309. "ask5": {
  47310. "description": "卖5",
  47311. "type": "number"
  47312. },
  47313. "ask6": {
  47314. "description": "卖6",
  47315. "type": "number"
  47316. },
  47317. "ask7": {
  47318. "description": "卖7",
  47319. "type": "number"
  47320. },
  47321. "ask8": {
  47322. "description": "卖8",
  47323. "type": "number"
  47324. },
  47325. "ask9": {
  47326. "description": "卖9",
  47327. "type": "number"
  47328. },
  47329. "askorderid": {
  47330. "description": "卖单号1",
  47331. "type": "integer"
  47332. },
  47333. "askorderid2": {
  47334. "description": "卖单号2",
  47335. "type": "integer"
  47336. },
  47337. "askorderid3": {
  47338. "description": "卖单号3",
  47339. "type": "integer"
  47340. },
  47341. "askorderid4": {
  47342. "description": "卖单号4",
  47343. "type": "integer"
  47344. },
  47345. "askorderid5": {
  47346. "description": "卖单号5",
  47347. "type": "integer"
  47348. },
  47349. "askordervolume": {
  47350. "description": "卖单量1",
  47351. "type": "integer"
  47352. },
  47353. "askordervolume10": {
  47354. "description": "卖单量10",
  47355. "type": "integer"
  47356. },
  47357. "askordervolume2": {
  47358. "description": "卖单量2",
  47359. "type": "integer"
  47360. },
  47361. "askordervolume3": {
  47362. "description": "卖单量3",
  47363. "type": "integer"
  47364. },
  47365. "askordervolume4": {
  47366. "description": "卖单量4",
  47367. "type": "integer"
  47368. },
  47369. "askordervolume5": {
  47370. "description": "卖单量5",
  47371. "type": "integer"
  47372. },
  47373. "askordervolume6": {
  47374. "description": "卖单量6",
  47375. "type": "integer"
  47376. },
  47377. "askordervolume7": {
  47378. "description": "卖单量7",
  47379. "type": "integer"
  47380. },
  47381. "askordervolume8": {
  47382. "description": "卖单量8",
  47383. "type": "integer"
  47384. },
  47385. "askordervolume9": {
  47386. "description": "卖单量9",
  47387. "type": "integer"
  47388. },
  47389. "askqueueinfo": {
  47390. "description": "大利市卖港股用",
  47391. "type": "string"
  47392. },
  47393. "askvolume": {
  47394. "description": "卖量1",
  47395. "type": "integer"
  47396. },
  47397. "askvolume10": {
  47398. "description": "卖量10",
  47399. "type": "integer"
  47400. },
  47401. "askvolume2": {
  47402. "description": "卖量2",
  47403. "type": "integer"
  47404. },
  47405. "askvolume3": {
  47406. "description": "卖量3",
  47407. "type": "integer"
  47408. },
  47409. "askvolume4": {
  47410. "description": "卖量4",
  47411. "type": "integer"
  47412. },
  47413. "askvolume5": {
  47414. "description": "卖量5",
  47415. "type": "integer"
  47416. },
  47417. "askvolume6": {
  47418. "description": "卖量6",
  47419. "type": "integer"
  47420. },
  47421. "askvolume7": {
  47422. "description": "卖量7",
  47423. "type": "integer"
  47424. },
  47425. "askvolume8": {
  47426. "description": "卖量8",
  47427. "type": "integer"
  47428. },
  47429. "askvolume9": {
  47430. "description": "卖量9",
  47431. "type": "integer"
  47432. },
  47433. "averageprice": {
  47434. "description": "均价",
  47435. "type": "number"
  47436. },
  47437. "bid": {
  47438. "description": "买1",
  47439. "type": "number"
  47440. },
  47441. "bid10": {
  47442. "description": "买10",
  47443. "type": "number"
  47444. },
  47445. "bid2": {
  47446. "description": "买2",
  47447. "type": "number"
  47448. },
  47449. "bid3": {
  47450. "description": "买3",
  47451. "type": "number"
  47452. },
  47453. "bid4": {
  47454. "description": "买4",
  47455. "type": "number"
  47456. },
  47457. "bid5": {
  47458. "description": "买5",
  47459. "type": "number"
  47460. },
  47461. "bid6": {
  47462. "description": "买6",
  47463. "type": "number"
  47464. },
  47465. "bid7": {
  47466. "description": "买7",
  47467. "type": "number"
  47468. },
  47469. "bid8": {
  47470. "description": "买8",
  47471. "type": "number"
  47472. },
  47473. "bid9": {
  47474. "description": "买9",
  47475. "type": "number"
  47476. },
  47477. "bidorderid": {
  47478. "description": "买单号1",
  47479. "type": "integer"
  47480. },
  47481. "bidorderid2": {
  47482. "description": "买单号2",
  47483. "type": "integer"
  47484. },
  47485. "bidorderid3": {
  47486. "description": "买单号3",
  47487. "type": "integer"
  47488. },
  47489. "bidorderid4": {
  47490. "description": "买单号4",
  47491. "type": "integer"
  47492. },
  47493. "bidorderid5": {
  47494. "description": "买单号5",
  47495. "type": "integer"
  47496. },
  47497. "bidordervolume": {
  47498. "description": "买单量1",
  47499. "type": "integer"
  47500. },
  47501. "bidordervolume10": {
  47502. "description": "买单量10",
  47503. "type": "integer"
  47504. },
  47505. "bidordervolume2": {
  47506. "description": "买单量2",
  47507. "type": "integer"
  47508. },
  47509. "bidordervolume3": {
  47510. "description": "买单量3",
  47511. "type": "integer"
  47512. },
  47513. "bidordervolume4": {
  47514. "description": "买单量4",
  47515. "type": "integer"
  47516. },
  47517. "bidordervolume5": {
  47518. "description": "买单量5",
  47519. "type": "integer"
  47520. },
  47521. "bidordervolume6": {
  47522. "description": "买单量6",
  47523. "type": "integer"
  47524. },
  47525. "bidordervolume7": {
  47526. "description": "买单量7",
  47527. "type": "integer"
  47528. },
  47529. "bidordervolume8": {
  47530. "description": "买单量8",
  47531. "type": "integer"
  47532. },
  47533. "bidordervolume9": {
  47534. "description": "买单量9",
  47535. "type": "integer"
  47536. },
  47537. "bidqueueinfo": {
  47538. "description": "大利市买港股用",
  47539. "type": "string"
  47540. },
  47541. "bidvolume": {
  47542. "description": "买量1",
  47543. "type": "integer"
  47544. },
  47545. "bidvolume10": {
  47546. "description": "买量10",
  47547. "type": "integer"
  47548. },
  47549. "bidvolume2": {
  47550. "description": "买量2",
  47551. "type": "integer"
  47552. },
  47553. "bidvolume3": {
  47554. "description": "买量3",
  47555. "type": "integer"
  47556. },
  47557. "bidvolume4": {
  47558. "description": "买量4",
  47559. "type": "integer"
  47560. },
  47561. "bidvolume5": {
  47562. "description": "买量5",
  47563. "type": "integer"
  47564. },
  47565. "bidvolume6": {
  47566. "description": "买量6",
  47567. "type": "integer"
  47568. },
  47569. "bidvolume7": {
  47570. "description": "买量7",
  47571. "type": "integer"
  47572. },
  47573. "bidvolume8": {
  47574. "description": "买量8",
  47575. "type": "integer"
  47576. },
  47577. "bidvolume9": {
  47578. "description": "买量9",
  47579. "type": "integer"
  47580. },
  47581. "calloptionpremiums": {
  47582. "description": "认购期权1",
  47583. "type": "integer"
  47584. },
  47585. "calloptionpremiums2": {
  47586. "description": "认购期权2",
  47587. "type": "integer"
  47588. },
  47589. "calloptionpremiums3": {
  47590. "description": "认购期权3",
  47591. "type": "integer"
  47592. },
  47593. "calloptionpremiums4": {
  47594. "description": "认购期权4",
  47595. "type": "integer"
  47596. },
  47597. "calloptionpremiums5": {
  47598. "description": "认购期权5",
  47599. "type": "integer"
  47600. },
  47601. "cleartime": {
  47602. "description": "清盘时间",
  47603. "type": "integer"
  47604. },
  47605. "exchangecode": {
  47606. "description": "交易所代码",
  47607. "type": "integer"
  47608. },
  47609. "exchangedate": {
  47610. "description": "交易日",
  47611. "type": "integer"
  47612. },
  47613. "goodscode": {
  47614. "description": "商品代码",
  47615. "type": "string"
  47616. },
  47617. "grepmarketprice": {
  47618. "description": "暗盘价 港股专用",
  47619. "type": "number"
  47620. },
  47621. "highest": {
  47622. "description": "最高价",
  47623. "type": "number"
  47624. },
  47625. "holdincrement": {
  47626. "description": "单笔持仓",
  47627. "type": "integer"
  47628. },
  47629. "holdvolume": {
  47630. "description": "持仓",
  47631. "type": "integer"
  47632. },
  47633. "iep": {
  47634. "description": "平衡价 港股专用",
  47635. "type": "number"
  47636. },
  47637. "iev": {
  47638. "description": "平衡量 港股专用",
  47639. "type": "number"
  47640. },
  47641. "inventory": {
  47642. "description": "库存",
  47643. "type": "integer"
  47644. },
  47645. "iscleared": {
  47646. "description": "是否清盘标志",
  47647. "type": "integer"
  47648. },
  47649. "issettled": {
  47650. "description": "是否结算标志",
  47651. "type": "integer"
  47652. },
  47653. "last": {
  47654. "description": "最新价",
  47655. "type": "number"
  47656. },
  47657. "lastlot": {
  47658. "description": "最新成交手数",
  47659. "type": "integer"
  47660. },
  47661. "lasttime": {
  47662. "description": "行情时间(只有现价变化行情时间才变化)",
  47663. "type": "string"
  47664. },
  47665. "lastturnover": {
  47666. "description": "最新成交金额",
  47667. "type": "number"
  47668. },
  47669. "lastvolume": {
  47670. "description": "最新成交量",
  47671. "type": "integer"
  47672. },
  47673. "limitdown": {
  47674. "description": "跌停价",
  47675. "type": "number"
  47676. },
  47677. "limitup": {
  47678. "description": "涨停价",
  47679. "type": "number"
  47680. },
  47681. "lowest": {
  47682. "description": "最低价",
  47683. "type": "number"
  47684. },
  47685. "nontotalholdervolume": {
  47686. "description": "非交易持仓量",
  47687. "type": "integer"
  47688. },
  47689. "nontotallot": {
  47690. "description": "非交易总手数",
  47691. "type": "integer"
  47692. },
  47693. "nontotalturnover": {
  47694. "description": "非交易总金额",
  47695. "type": "integer"
  47696. },
  47697. "nontotalvolume": {
  47698. "description": "非交易总量",
  47699. "type": "integer"
  47700. },
  47701. "opened": {
  47702. "description": "开盘价",
  47703. "type": "number"
  47704. },
  47705. "opentime": {
  47706. "description": "开盘时间",
  47707. "type": "string"
  47708. },
  47709. "orderid": {
  47710. "description": "序号",
  47711. "type": "integer"
  47712. },
  47713. "preclose": {
  47714. "description": "昨收",
  47715. "type": "number"
  47716. },
  47717. "preholdvolume": {
  47718. "description": "昨持仓",
  47719. "type": "integer"
  47720. },
  47721. "presettle": {
  47722. "description": "昨结价",
  47723. "type": "number"
  47724. },
  47725. "publictradetype": {
  47726. "description": "公共交易标志类型 港股专用",
  47727. "type": "string"
  47728. },
  47729. "putoptionpremiums": {
  47730. "description": "认沽期权1",
  47731. "type": "integer"
  47732. },
  47733. "putoptionpremiums2": {
  47734. "description": "认沽期权2",
  47735. "type": "integer"
  47736. },
  47737. "putoptionpremiums3": {
  47738. "description": "认沽期权3",
  47739. "type": "integer"
  47740. },
  47741. "putoptionpremiums4": {
  47742. "description": "认沽期权4",
  47743. "type": "integer"
  47744. },
  47745. "putoptionpremiums5": {
  47746. "description": "认沽期权5",
  47747. "type": "integer"
  47748. },
  47749. "settle": {
  47750. "description": "结算价",
  47751. "type": "number"
  47752. },
  47753. "strikeprice": {
  47754. "description": "发行价",
  47755. "type": "number"
  47756. },
  47757. "totalaskvolume": {
  47758. "description": "内盘",
  47759. "type": "integer"
  47760. },
  47761. "totalbidvolume": {
  47762. "description": "外盘",
  47763. "type": "integer"
  47764. },
  47765. "totallot": {
  47766. "description": "总手数",
  47767. "type": "integer"
  47768. },
  47769. "totalturnover": {
  47770. "description": "总金额",
  47771. "type": "number"
  47772. },
  47773. "totalvolume": {
  47774. "description": "总量",
  47775. "type": "integer"
  47776. },
  47777. "utclasttime": {
  47778. "description": "utc的行情时间",
  47779. "type": "string"
  47780. }
  47781. }
  47782. },
  47783. "quote.QueryTSDataRsp": {
  47784. "type": "object",
  47785. "properties": {
  47786. "Count": {
  47787. "description": "交易日应有数据个数",
  47788. "type": "integer"
  47789. },
  47790. "decimalPlace": {
  47791. "description": "小数位",
  47792. "type": "integer"
  47793. },
  47794. "endTime": {
  47795. "description": "结束时间",
  47796. "type": "string"
  47797. },
  47798. "goodsCode": {
  47799. "description": "商品代码",
  47800. "type": "string"
  47801. },
  47802. "historyDatas": {
  47803. "description": "历史数据",
  47804. "type": "array",
  47805. "items": {
  47806. "$ref": "#/definitions/quote.HistoryData"
  47807. }
  47808. },
  47809. "outGoodsCode": {
  47810. "description": "外部商品代码",
  47811. "type": "string"
  47812. },
  47813. "preSettle": {
  47814. "description": "昨结价",
  47815. "type": "number"
  47816. },
  47817. "runSteps": {
  47818. "description": "交易日开休市计划",
  47819. "type": "array",
  47820. "items": {
  47821. "$ref": "#/definitions/quote.TSDataRunStep"
  47822. }
  47823. },
  47824. "startTime": {
  47825. "description": "开始时间",
  47826. "type": "string"
  47827. },
  47828. "tradeDate": {
  47829. "description": "交易日",
  47830. "type": "string"
  47831. }
  47832. }
  47833. },
  47834. "quote.TSDataRunStep": {
  47835. "type": "object",
  47836. "properties": {
  47837. "end": {
  47838. "description": "真实结束时间",
  47839. "type": "string"
  47840. },
  47841. "endflag": {
  47842. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  47843. "type": "integer"
  47844. },
  47845. "endtime": {
  47846. "description": "结束时间(HH:mm)",
  47847. "type": "string"
  47848. },
  47849. "endweekday": {
  47850. "description": "结束周几",
  47851. "type": "integer"
  47852. },
  47853. "groupid": {
  47854. "description": "分组ID",
  47855. "type": "integer"
  47856. },
  47857. "runstep": {
  47858. "description": "运行阶段 - 2:连续交易",
  47859. "type": "integer"
  47860. },
  47861. "sectionid": {
  47862. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  47863. "type": "integer"
  47864. },
  47865. "start": {
  47866. "description": "真实开始时间",
  47867. "type": "string"
  47868. },
  47869. "startflag": {
  47870. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  47871. "type": "integer"
  47872. },
  47873. "starttime": {
  47874. "description": "起始时间(HH:mm)",
  47875. "type": "string"
  47876. },
  47877. "startweekday": {
  47878. "description": "起始周几",
  47879. "type": "integer"
  47880. },
  47881. "tradeweekday": {
  47882. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  47883. "type": "integer"
  47884. }
  47885. }
  47886. },
  47887. "szdz.QueryConvertLogRsp": {
  47888. "type": "object",
  47889. "required": [
  47890. "logid"
  47891. ],
  47892. "properties": {
  47893. "accountid": {
  47894. "description": "资金账户ID",
  47895. "type": "integer"
  47896. },
  47897. "clientticket": {
  47898. "description": "客户端流水号",
  47899. "type": "string"
  47900. },
  47901. "converttype": {
  47902. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  47903. "type": "integer"
  47904. },
  47905. "createtime": {
  47906. "description": "记账时间",
  47907. "type": "string"
  47908. },
  47909. "daymaxvalue": {
  47910. "description": "配置当日最大转入限制",
  47911. "type": "number"
  47912. },
  47913. "daymaxvalue2": {
  47914. "description": "配置当日最大转入限制(转入)",
  47915. "type": "number"
  47916. },
  47917. "goodscode": {
  47918. "description": "商品代码",
  47919. "type": "string"
  47920. },
  47921. "goodsname": {
  47922. "description": "商品名称",
  47923. "type": "string"
  47924. },
  47925. "handlestatus": {
  47926. "description": "处理状态",
  47927. "type": "integer"
  47928. },
  47929. "innergoodsid": {
  47930. "description": "内部商品ID",
  47931. "type": "integer"
  47932. },
  47933. "inratio": {
  47934. "description": "配置转入比值",
  47935. "type": "integer"
  47936. },
  47937. "invalue": {
  47938. "description": "目标值",
  47939. "type": "number"
  47940. },
  47941. "logid": {
  47942. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47943. "type": "integer"
  47944. },
  47945. "mobile": {
  47946. "description": "手机号码(加密存储)",
  47947. "type": "string"
  47948. },
  47949. "outergoodscode": {
  47950. "description": "外部商品代码[JD\\PD]",
  47951. "type": "string"
  47952. },
  47953. "outratio": {
  47954. "description": "配置转出比值",
  47955. "type": "integer"
  47956. },
  47957. "outvalue": {
  47958. "description": "源值",
  47959. "type": "number"
  47960. },
  47961. "pddecimalplace": {
  47962. "description": "PD小数位",
  47963. "type": "integer"
  47964. },
  47965. "qty": {
  47966. "description": "数量",
  47967. "type": "string"
  47968. },
  47969. "remark": {
  47970. "description": "备注",
  47971. "type": "string"
  47972. },
  47973. "sessionid": {
  47974. "description": "会话ID",
  47975. "type": "integer"
  47976. },
  47977. "timemaxvalue": {
  47978. "description": "配置单次最大转入限制",
  47979. "type": "number"
  47980. },
  47981. "timemaxvalue2": {
  47982. "description": "配置单次最大转入限制(转入)",
  47983. "type": "number"
  47984. },
  47985. "timeminvalue": {
  47986. "description": "配置单次最小数量限制",
  47987. "type": "number"
  47988. },
  47989. "timeminvalue2": {
  47990. "description": "配置单次最小数量限制(转入)",
  47991. "type": "number"
  47992. },
  47993. "tradedate": {
  47994. "description": "交易日(yyyyMMdd)",
  47995. "type": "string"
  47996. },
  47997. "userid": {
  47998. "description": "用户ID",
  47999. "type": "integer"
  48000. }
  48001. }
  48002. },
  48003. "szdz.QueryGoodsPickupRsp": {
  48004. "type": "object",
  48005. "required": [
  48006. "takeorderid"
  48007. ],
  48008. "properties": {
  48009. "accountid": {
  48010. "description": "账户ID",
  48011. "type": "integer"
  48012. },
  48013. "address": {
  48014. "description": "提货人详细地址",
  48015. "type": "string"
  48016. },
  48017. "auditer": {
  48018. "description": "审核人",
  48019. "type": "integer"
  48020. },
  48021. "audittime": {
  48022. "description": "审核时间",
  48023. "type": "string"
  48024. },
  48025. "cardnum": {
  48026. "description": "提货人证件号码",
  48027. "type": "string"
  48028. },
  48029. "cardtypeid": {
  48030. "description": "提货人证件类型",
  48031. "type": "integer"
  48032. },
  48033. "checkremark": {
  48034. "description": "审核备注",
  48035. "type": "string"
  48036. },
  48037. "goodscode": {
  48038. "description": "商品代码",
  48039. "type": "string"
  48040. },
  48041. "goodsid": {
  48042. "description": "商品ID",
  48043. "type": "integer"
  48044. },
  48045. "goodsname": {
  48046. "description": "商品名称",
  48047. "type": "string"
  48048. },
  48049. "handlestatus": {
  48050. "description": "处理状态",
  48051. "type": "integer"
  48052. },
  48053. "marketid": {
  48054. "description": "市场ID",
  48055. "type": "integer"
  48056. },
  48057. "phonenum": {
  48058. "description": "提货人联系方式",
  48059. "type": "string"
  48060. },
  48061. "qty": {
  48062. "description": "提货数量",
  48063. "type": "number"
  48064. },
  48065. "recivername": {
  48066. "description": "提货人姓名",
  48067. "type": "string"
  48068. },
  48069. "reqtime": {
  48070. "description": "更新时间",
  48071. "type": "string"
  48072. },
  48073. "takemode": {
  48074. "description": "提货方式 - 2:自提 3:配送",
  48075. "type": "integer"
  48076. },
  48077. "takeorderid": {
  48078. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  48079. "type": "string"
  48080. },
  48081. "takeorderstatus": {
  48082. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  48083. "type": "integer"
  48084. },
  48085. "takeremark": {
  48086. "description": "提货备注",
  48087. "type": "string"
  48088. },
  48089. "tradedate": {
  48090. "description": "交易日(yyyyMMdd)",
  48091. "type": "string"
  48092. },
  48093. "userid": {
  48094. "description": "用户ID",
  48095. "type": "integer"
  48096. }
  48097. }
  48098. },
  48099. "szdz.QueryRecieptOrderRsp": {
  48100. "type": "object",
  48101. "required": [
  48102. "ordertime"
  48103. ],
  48104. "properties": {
  48105. "accountName": {
  48106. "description": "所属账号名称(已脱敏)",
  48107. "type": "string"
  48108. },
  48109. "accountid": {
  48110. "description": "资金账号",
  48111. "type": "integer"
  48112. },
  48113. "buyorsell": {
  48114. "description": "方向 - 0:买 1:卖",
  48115. "type": "integer"
  48116. },
  48117. "enableqty": {
  48118. "description": "可摘数量",
  48119. "type": "integer"
  48120. },
  48121. "goodscode": {
  48122. "description": "商品代码",
  48123. "type": "string"
  48124. },
  48125. "goodsid": {
  48126. "description": "商品ID",
  48127. "type": "integer"
  48128. },
  48129. "goodsname": {
  48130. "description": "商品名称",
  48131. "type": "string"
  48132. },
  48133. "orderid": {
  48134. "description": "委托单号",
  48135. "type": "string"
  48136. },
  48137. "orderprice": {
  48138. "description": "委托价格",
  48139. "type": "number"
  48140. },
  48141. "ordertime": {
  48142. "description": "委托时间",
  48143. "type": "string"
  48144. },
  48145. "tradedate": {
  48146. "description": "交易日(yyyyMMdd)",
  48147. "type": "string"
  48148. }
  48149. }
  48150. },
  48151. "szdz.QuerySZDZTradePositionRsp": {
  48152. "type": "object",
  48153. "properties": {
  48154. "accountid": {
  48155. "description": "账号Id",
  48156. "type": "integer"
  48157. },
  48158. "agreeunit": {
  48159. "description": "合约单位",
  48160. "type": "number"
  48161. },
  48162. "averageprice": {
  48163. "description": "持仓均价",
  48164. "type": "number"
  48165. },
  48166. "buyorsell": {
  48167. "description": "方向 - 0:买 1:卖",
  48168. "type": "integer"
  48169. },
  48170. "closetotalqty": {
  48171. "description": "平仓总数量",
  48172. "type": "integer"
  48173. },
  48174. "curholderamount": {
  48175. "description": "当前持仓总金额",
  48176. "type": "number"
  48177. },
  48178. "curpositionqty": {
  48179. "description": "当前持仓总数量",
  48180. "type": "integer"
  48181. },
  48182. "currencyid": {
  48183. "description": "报价货币ID",
  48184. "type": "integer"
  48185. },
  48186. "curtdposition": {
  48187. "description": "期末今日头寸",
  48188. "type": "integer"
  48189. },
  48190. "decimalplace": {
  48191. "description": "报价小数位",
  48192. "type": "integer"
  48193. },
  48194. "enableqty": {
  48195. "description": "可用量",
  48196. "type": "integer"
  48197. },
  48198. "fretdposition": {
  48199. "description": "冻结今日头寸",
  48200. "type": "integer"
  48201. },
  48202. "frozenqty": {
  48203. "description": "持仓冻结数量",
  48204. "type": "integer"
  48205. },
  48206. "goodscode": {
  48207. "description": "商品代码(内部)",
  48208. "type": "string"
  48209. },
  48210. "goodsid": {
  48211. "description": "商品Id",
  48212. "type": "integer"
  48213. },
  48214. "goodsname": {
  48215. "description": "商品名称",
  48216. "type": "string"
  48217. },
  48218. "goodunit": {
  48219. "description": "报价单位",
  48220. "type": "string"
  48221. },
  48222. "goodunitid": {
  48223. "description": "报价单位ID",
  48224. "type": "integer"
  48225. },
  48226. "holderamount": {
  48227. "description": "期初持仓总金额",
  48228. "type": "number"
  48229. },
  48230. "marketid": {
  48231. "description": "市场ID",
  48232. "type": "integer"
  48233. },
  48234. "openreqqty": {
  48235. "description": "开仓申请数量",
  48236. "type": "integer"
  48237. },
  48238. "opentotalqty": {
  48239. "description": "开仓总数量",
  48240. "type": "integer"
  48241. },
  48242. "otherfrozenqty": {
  48243. "description": "持仓其他冻结数量(交割冻结)",
  48244. "type": "integer"
  48245. },
  48246. "positionqty": {
  48247. "description": "期初持仓数量",
  48248. "type": "integer"
  48249. },
  48250. "szdz3freezqty": {
  48251. "description": "尚志大宗转换冻结总数量",
  48252. "type": "integer"
  48253. },
  48254. "tnqty": {
  48255. "description": "T+N冻结总量",
  48256. "type": "integer"
  48257. },
  48258. "tnusedqty": {
  48259. "description": "T+N使用量",
  48260. "type": "integer"
  48261. },
  48262. "trademode": {
  48263. "description": "交易模式",
  48264. "type": "integer"
  48265. },
  48266. "usedmargin": {
  48267. "description": "占用保证金",
  48268. "type": "number"
  48269. }
  48270. }
  48271. },
  48272. "taaccount.QueryAmountLogRsp": {
  48273. "type": "object",
  48274. "required": [
  48275. "accountid",
  48276. "amount",
  48277. "amountadjusttype",
  48278. "autoid",
  48279. "balance",
  48280. "createtime",
  48281. "currentbalance",
  48282. "operatetype"
  48283. ],
  48284. "properties": {
  48285. "accountid": {
  48286. "description": "资金账户ID",
  48287. "type": "integer"
  48288. },
  48289. "agoodscode": {
  48290. "description": "竞拍商品代码",
  48291. "type": "string"
  48292. },
  48293. "agoodsname": {
  48294. "description": "竞拍商品名称",
  48295. "type": "string"
  48296. },
  48297. "amount": {
  48298. "description": "资金金额",
  48299. "type": "number"
  48300. },
  48301. "amountadjusttype": {
  48302. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  48303. "type": "integer"
  48304. },
  48305. "autoid": {
  48306. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  48307. "type": "integer"
  48308. },
  48309. "balance": {
  48310. "description": "期初余额",
  48311. "type": "number"
  48312. },
  48313. "businesscode": {
  48314. "description": "业务编号",
  48315. "type": "integer"
  48316. },
  48317. "createtime": {
  48318. "description": "发生时间",
  48319. "type": "string"
  48320. },
  48321. "currencyid": {
  48322. "description": "币种ID",
  48323. "type": "integer"
  48324. },
  48325. "currentbalance": {
  48326. "description": "期末余额(变动后金额)",
  48327. "type": "number"
  48328. },
  48329. "dgoodscode": {
  48330. "description": "交割商品代码",
  48331. "type": "string"
  48332. },
  48333. "dgoodsname": {
  48334. "description": "交割商品名称",
  48335. "type": "string"
  48336. },
  48337. "goodscode": {
  48338. "description": "商品代码",
  48339. "type": "string"
  48340. },
  48341. "goodsid": {
  48342. "description": "商品ID",
  48343. "type": "integer"
  48344. },
  48345. "goodsname": {
  48346. "description": "商品名称",
  48347. "type": "string"
  48348. },
  48349. "marketid": {
  48350. "description": "市场ID",
  48351. "type": "integer"
  48352. },
  48353. "marketname": {
  48354. "description": "市场名称",
  48355. "type": "string"
  48356. },
  48357. "moneyticket": {
  48358. "description": "资金流水号:银行端流水号",
  48359. "type": "integer"
  48360. },
  48361. "operatetype": {
  48362. "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:营销收款",
  48363. "type": "integer"
  48364. },
  48365. "relationorderid": {
  48366. "description": "关联单号",
  48367. "type": "string"
  48368. },
  48369. "remark": {
  48370. "description": "备注",
  48371. "type": "string"
  48372. },
  48373. "trademode": {
  48374. "description": "交易模式",
  48375. "type": "integer"
  48376. }
  48377. }
  48378. },
  48379. "taaccount.QueryHisAmountLogRsp": {
  48380. "type": "object",
  48381. "required": [
  48382. "accountid",
  48383. "amount",
  48384. "amountadjusttype",
  48385. "autoid",
  48386. "balance",
  48387. "createtime",
  48388. "currentbalance",
  48389. "histradedate",
  48390. "operatetype"
  48391. ],
  48392. "properties": {
  48393. "accountid": {
  48394. "description": "资金账户ID",
  48395. "type": "integer"
  48396. },
  48397. "agoodscode": {
  48398. "description": "竞拍商品代码",
  48399. "type": "string"
  48400. },
  48401. "agoodsname": {
  48402. "description": "竞拍商品名称",
  48403. "type": "string"
  48404. },
  48405. "amount": {
  48406. "description": "资金金额",
  48407. "type": "number"
  48408. },
  48409. "amountadjusttype": {
  48410. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  48411. "type": "integer"
  48412. },
  48413. "autoid": {
  48414. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  48415. "type": "integer"
  48416. },
  48417. "balance": {
  48418. "description": "期初余额",
  48419. "type": "number"
  48420. },
  48421. "businesscode": {
  48422. "description": "业务编号",
  48423. "type": "integer"
  48424. },
  48425. "createtime": {
  48426. "description": "发生时间",
  48427. "type": "string"
  48428. },
  48429. "currencyid": {
  48430. "description": "币种ID",
  48431. "type": "integer"
  48432. },
  48433. "currentbalance": {
  48434. "description": "期末余额(变动后金额)",
  48435. "type": "number"
  48436. },
  48437. "dgoodscode": {
  48438. "description": "交割商品代码",
  48439. "type": "string"
  48440. },
  48441. "dgoodsname": {
  48442. "description": "交割商品名称",
  48443. "type": "string"
  48444. },
  48445. "goodscode": {
  48446. "description": "商品代码",
  48447. "type": "string"
  48448. },
  48449. "goodsid": {
  48450. "description": "商品ID",
  48451. "type": "integer"
  48452. },
  48453. "goodsname": {
  48454. "description": "商品名称",
  48455. "type": "string"
  48456. },
  48457. "histradedate": {
  48458. "description": "历史交易日",
  48459. "type": "string"
  48460. },
  48461. "isvaliddata": {
  48462. "description": "是否有效 - 0:无效 1:有效",
  48463. "type": "integer"
  48464. },
  48465. "marketid": {
  48466. "description": "市场ID",
  48467. "type": "integer"
  48468. },
  48469. "marketname": {
  48470. "description": "市场名称",
  48471. "type": "string"
  48472. },
  48473. "moneyticket": {
  48474. "description": "资金流水号:银行端流水号",
  48475. "type": "integer"
  48476. },
  48477. "operatetype": {
  48478. "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:营销收款",
  48479. "type": "integer"
  48480. },
  48481. "relationorderid": {
  48482. "description": "关联单号",
  48483. "type": "string"
  48484. },
  48485. "remark": {
  48486. "description": "备注",
  48487. "type": "string"
  48488. },
  48489. "trademode": {
  48490. "description": "交易模式",
  48491. "type": "integer"
  48492. }
  48493. }
  48494. },
  48495. "trade.QueryRecieptOrderRsp": {
  48496. "type": "object",
  48497. "required": [
  48498. "ordertime"
  48499. ],
  48500. "properties": {
  48501. "accountName": {
  48502. "description": "所属账号名称(已脱敏)",
  48503. "type": "string"
  48504. },
  48505. "accountid": {
  48506. "description": "资金账号",
  48507. "type": "integer"
  48508. },
  48509. "buyorsell": {
  48510. "description": "方向 - 0:买 1:卖",
  48511. "type": "integer"
  48512. },
  48513. "enableqty": {
  48514. "description": "可摘数量",
  48515. "type": "integer"
  48516. },
  48517. "goodscode": {
  48518. "description": "商品代码",
  48519. "type": "string"
  48520. },
  48521. "goodsid": {
  48522. "description": "商品ID",
  48523. "type": "integer"
  48524. },
  48525. "goodsname": {
  48526. "description": "商品名称",
  48527. "type": "string"
  48528. },
  48529. "orderid": {
  48530. "description": "委托单号",
  48531. "type": "string"
  48532. },
  48533. "orderprice": {
  48534. "description": "委托价格",
  48535. "type": "number"
  48536. },
  48537. "ordertime": {
  48538. "description": "委托时间",
  48539. "type": "string"
  48540. },
  48541. "tradedate": {
  48542. "description": "交易日(yyyyMMdd)",
  48543. "type": "string"
  48544. }
  48545. }
  48546. },
  48547. "user.LoginQueryRsp": {
  48548. "type": "object",
  48549. "properties": {
  48550. "areaRoles": {
  48551. "description": "所属角色信息",
  48552. "type": "array",
  48553. "items": {
  48554. "$ref": "#/definitions/models.Arearole"
  48555. }
  48556. },
  48557. "exchangeRateConfigs": {
  48558. "description": "汇率信息",
  48559. "type": "array",
  48560. "items": {
  48561. "$ref": "#/definitions/models.Exchangerateconfig"
  48562. }
  48563. },
  48564. "externalExchanges": {
  48565. "description": "外部交易所",
  48566. "type": "array",
  48567. "items": {
  48568. "$ref": "#/definitions/models.Externalexchange"
  48569. }
  48570. },
  48571. "goodsgroups": {
  48572. "description": "商品组",
  48573. "type": "array",
  48574. "items": {
  48575. "$ref": "#/definitions/models.Goodsgroup"
  48576. }
  48577. },
  48578. "loginAccount": {
  48579. "description": "登录账号",
  48580. "$ref": "#/definitions/models.Loginaccount"
  48581. },
  48582. "markets": {
  48583. "description": "市场",
  48584. "type": "array",
  48585. "items": {
  48586. "$ref": "#/definitions/models.Market"
  48587. }
  48588. },
  48589. "systemParams": {
  48590. "description": "系统参数",
  48591. "type": "array",
  48592. "items": {
  48593. "$ref": "#/definitions/models.Systemparam"
  48594. }
  48595. },
  48596. "userAccount": {
  48597. "description": "用户账号",
  48598. "$ref": "#/definitions/models.Useraccount"
  48599. },
  48600. "userInfo": {
  48601. "description": "用户信息",
  48602. "$ref": "#/definitions/models.Userinfo"
  48603. },
  48604. "username": {
  48605. "description": "用户姓名",
  48606. "type": "string"
  48607. }
  48608. }
  48609. }
  48610. },
  48611. "securityDefinitions": {
  48612. "ApiKeyAuth": {
  48613. "type": "apiKey",
  48614. "name": "Authorization",
  48615. "in": "header"
  48616. },
  48617. "Group": {
  48618. "type": "apiKey",
  48619. "name": "Group",
  48620. "in": "header"
  48621. },
  48622. "LoginID": {
  48623. "type": "apiKey",
  48624. "name": "LoginID",
  48625. "in": "header"
  48626. }
  48627. }
  48628. }`
  48629. // SwaggerInfo holds exported Swagger Info so clients can modify it
  48630. var SwaggerInfo = &swag.Spec{
  48631. Version: "1.0",
  48632. Host: "",
  48633. BasePath: "",
  48634. Schemes: []string{},
  48635. Title: "MTP2.0 查询服务 API",
  48636. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  48637. InfoInstanceName: "swagger",
  48638. SwaggerTemplate: docTemplate,
  48639. }
  48640. func init() {
  48641. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  48642. }