docs.go 1.8 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944429454294642947429484294942950429514295242953429544295542956429574295842959429604296142962429634296442965429664296742968429694297042971429724297342974429754297642977429784297942980429814298242983429844298542986429874298842989429904299142992429934299442995429964299742998429994300043001430024300343004430054300643007430084300943010430114301243013430144301543016430174301843019430204302143022430234302443025430264302743028430294303043031430324303343034430354303643037430384303943040430414304243043430444304543046430474304843049430504305143052430534305443055430564305743058430594306043061430624306343064430654306643067430684306943070430714307243073430744307543076430774307843079430804308143082430834308443085430864308743088430894309043091430924309343094430954309643097430984309943100431014310243103431044310543106431074310843109431104311143112431134311443115431164311743118431194312043121431224312343124431254312643127431284312943130431314313243133431344313543136431374313843139431404314143142431434314443145431464314743148431494315043151431524315343154431554315643157431584315943160431614316243163431644316543166431674316843169431704317143172431734317443175431764317743178431794318043181431824318343184431854318643187431884318943190431914319243193431944319543196431974319843199432004320143202432034320443205432064320743208432094321043211432124321343214432154321643217432184321943220432214322243223432244322543226432274322843229432304323143232432334323443235432364323743238432394324043241432424324343244432454324643247432484324943250432514325243253432544325543256432574325843259432604326143262432634326443265432664326743268432694327043271432724327343274432754327643277432784327943280432814328243283432844328543286432874328843289432904329143292432934329443295432964329743298432994330043301433024330343304433054330643307433084330943310433114331243313433144331543316433174331843319433204332143322433234332443325433264332743328433294333043331433324333343334433354333643337433384333943340433414334243343433444334543346433474334843349433504335143352433534335443355433564335743358433594336043361433624336343364433654336643367433684336943370433714337243373433744337543376433774337843379433804338143382433834338443385433864338743388433894339043391433924339343394433954339643397433984339943400434014340243403434044340543406434074340843409434104341143412434134341443415434164341743418434194342043421434224342343424434254342643427434284342943430434314343243433434344343543436434374343843439434404344143442434434344443445434464344743448434494345043451434524345343454434554345643457434584345943460434614346243463434644346543466434674346843469434704347143472434734347443475434764347743478434794348043481434824348343484434854348643487434884348943490434914349243493434944349543496434974349843499435004350143502435034350443505435064350743508435094351043511435124351343514435154351643517435184351943520435214352243523435244352543526435274352843529435304353143532435334353443535435364353743538435394354043541435424354343544435454354643547435484354943550435514355243553435544355543556435574355843559435604356143562435634356443565435664356743568435694357043571435724357343574435754357643577435784357943580435814358243583435844358543586435874358843589435904359143592435934359443595435964359743598435994360043601436024360343604436054360643607436084360943610436114361243613436144361543616436174361843619436204362143622436234362443625436264362743628436294363043631436324363343634436354363643637436384363943640436414364243643436444364543646436474364843649436504365143652436534365443655436564365743658436594366043661436624366343664436654366643667436684366943670436714367243673436744367543676436774367843679436804368143682436834368443685436864368743688436894369043691436924369343694436954369643697436984369943700437014370243703437044370543706437074370843709437104371143712437134371443715437164371743718437194372043721437224372343724437254372643727437284372943730437314373243733437344373543736437374373843739437404374143742437434374443745437464374743748437494375043751437524375343754437554375643757437584375943760437614376243763437644376543766437674376843769437704377143772437734377443775437764377743778437794378043781437824378343784437854378643787437884378943790437914379243793437944379543796437974379843799438004380143802438034380443805438064380743808438094381043811438124381343814438154381643817438184381943820438214382243823438244382543826438274382843829438304383143832438334383443835438364383743838438394384043841438424384343844438454384643847438484384943850438514385243853438544385543856438574385843859438604386143862438634386443865438664386743868438694387043871438724387343874438754387643877438784387943880438814388243883438844388543886438874388843889438904389143892438934389443895438964389743898438994390043901439024390343904439054390643907439084390943910439114391243913439144391543916439174391843919439204392143922439234392443925439264392743928439294393043931439324393343934439354393643937439384393943940439414394243943439444394543946439474394843949439504395143952439534395443955439564395743958439594396043961439624396343964439654396643967439684396943970439714397243973439744397543976439774397843979439804398143982439834398443985439864398743988439894399043991439924399343994439954399643997439984399944000440014400244003440044400544006440074400844009440104401144012440134401444015440164401744018440194402044021440224402344024440254402644027440284402944030440314403244033440344403544036440374403844039440404404144042440434404444045440464404744048440494405044051440524405344054440554405644057440584405944060440614406244063440644406544066440674406844069440704407144072440734407444075440764407744078440794408044081440824408344084440854408644087440884408944090440914409244093440944409544096440974409844099441004410144102441034410444105441064410744108441094411044111441124411344114441154411644117441184411944120441214412244123441244412544126441274412844129441304413144132441334413444135441364413744138441394414044141441424414344144441454414644147441484414944150441514415244153441544415544156441574415844159441604416144162441634416444165441664416744168441694417044171441724417344174441754417644177441784417944180441814418244183441844418544186441874418844189441904419144192441934419444195441964419744198441994420044201442024420344204442054420644207442084420944210442114421244213442144421544216442174421844219442204422144222442234422444225442264422744228442294423044231442324423344234442354423644237442384423944240442414424244243442444424544246442474424844249442504425144252442534425444255442564425744258442594426044261442624426344264442654426644267442684426944270442714427244273442744427544276442774427844279442804428144282442834428444285442864428744288442894429044291442924429344294442954429644297442984429944300443014430244303443044430544306443074430844309443104431144312443134431444315443164431744318443194432044321443224432344324443254432644327443284432944330443314433244333443344433544336443374433844339443404434144342443434434444345443464434744348443494435044351443524435344354443554435644357443584435944360443614436244363443644436544366443674436844369443704437144372443734437444375443764437744378443794438044381443824438344384443854438644387443884438944390443914439244393443944439544396443974439844399444004440144402444034440444405444064440744408444094441044411444124441344414444154441644417444184441944420444214442244423444244442544426444274442844429444304443144432444334443444435444364443744438444394444044441444424444344444444454444644447444484444944450444514445244453444544445544456444574445844459444604446144462444634446444465444664446744468444694447044471444724447344474444754447644477444784447944480444814448244483444844448544486444874448844489444904449144492444934449444495444964449744498444994450044501445024450344504445054450644507445084450944510445114451244513445144451544516445174451844519445204452144522445234452444525445264452744528445294453044531445324453344534445354453644537445384453944540445414454244543445444454544546445474454844549445504455144552445534455444555445564455744558445594456044561445624456344564445654456644567445684456944570445714457244573445744457544576445774457844579445804458144582445834458444585445864458744588445894459044591445924459344594445954459644597445984459944600446014460244603446044460544606446074460844609446104461144612446134461444615446164461744618446194462044621446224462344624446254462644627446284462944630446314463244633446344463544636446374463844639446404464144642446434464444645446464464744648446494465044651446524465344654446554465644657446584465944660446614466244663446644466544666446674466844669446704467144672446734467444675446764467744678446794468044681446824468344684446854468644687446884468944690446914469244693446944469544696446974469844699447004470144702447034470444705447064470744708447094471044711447124471344714447154471644717447184471944720447214472244723447244472544726447274472844729447304473144732447334473444735447364473744738447394474044741447424474344744447454474644747447484474944750447514475244753447544475544756447574475844759447604476144762447634476444765447664476744768447694477044771447724477344774447754477644777447784477944780447814478244783447844478544786447874478844789447904479144792447934479444795447964479744798447994480044801448024480344804448054480644807448084480944810448114481244813448144481544816448174481844819448204482144822448234482444825448264482744828448294483044831448324483344834448354483644837448384483944840448414484244843448444484544846448474484844849448504485144852448534485444855448564485744858448594486044861448624486344864448654486644867448684486944870448714487244873448744487544876448774487844879448804488144882448834488444885448864488744888448894489044891448924489344894448954489644897448984489944900449014490244903449044490544906449074490844909449104491144912449134491444915449164491744918449194492044921449224492344924449254492644927449284492944930449314493244933449344493544936449374493844939449404494144942449434494444945449464494744948449494495044951449524495344954449554495644957449584495944960449614496244963449644496544966449674496844969449704497144972449734497444975449764497744978449794498044981449824498344984449854498644987449884498944990449914499244993449944499544996449974499844999450004500145002450034500445005450064500745008450094501045011450124501345014450154501645017450184501945020450214502245023450244502545026450274502845029450304503145032450334503445035450364503745038450394504045041450424504345044450454504645047450484504945050450514505245053450544505545056450574505845059450604506145062450634506445065450664506745068450694507045071450724507345074450754507645077450784507945080450814508245083450844508545086450874508845089450904509145092450934509445095450964509745098450994510045101451024510345104451054510645107451084510945110451114511245113451144511545116451174511845119451204512145122451234512445125451264512745128451294513045131451324513345134451354513645137451384513945140451414514245143451444514545146451474514845149451504515145152451534515445155451564515745158451594516045161451624516345164451654516645167451684516945170451714517245173451744517545176451774517845179451804518145182451834518445185451864518745188451894519045191451924519345194451954519645197451984519945200452014520245203452044520545206452074520845209452104521145212452134521445215452164521745218452194522045221452224522345224452254522645227452284522945230452314523245233452344523545236452374523845239452404524145242452434524445245452464524745248452494525045251452524525345254452554525645257452584525945260452614526245263452644526545266452674526845269452704527145272452734527445275452764527745278452794528045281452824528345284452854528645287452884528945290452914529245293452944529545296452974529845299453004530145302453034530445305453064530745308453094531045311453124531345314453154531645317453184531945320453214532245323453244532545326453274532845329453304533145332453334533445335453364533745338453394534045341453424534345344453454534645347453484534945350453514535245353453544535545356453574535845359453604536145362453634536445365453664536745368453694537045371453724537345374453754537645377453784537945380453814538245383453844538545386453874538845389453904539145392453934539445395453964539745398453994540045401454024540345404454054540645407454084540945410454114541245413454144541545416454174541845419454204542145422454234542445425454264542745428454294543045431454324543345434454354543645437454384543945440454414544245443454444544545446454474544845449454504545145452454534545445455454564545745458454594546045461454624546345464454654546645467454684546945470454714547245473454744547545476454774547845479454804548145482454834548445485454864548745488454894549045491454924549345494454954549645497454984549945500455014550245503455044550545506455074550845509455104551145512455134551445515455164551745518455194552045521455224552345524455254552645527455284552945530455314553245533455344553545536455374553845539455404554145542455434554445545455464554745548455494555045551455524555345554455554555645557455584555945560455614556245563455644556545566455674556845569455704557145572455734557445575455764557745578455794558045581455824558345584455854558645587455884558945590455914559245593455944559545596455974559845599456004560145602456034560445605456064560745608456094561045611456124561345614456154561645617456184561945620456214562245623456244562545626456274562845629456304563145632456334563445635456364563745638456394564045641456424564345644456454564645647456484564945650456514565245653456544565545656456574565845659456604566145662456634566445665456664566745668456694567045671456724567345674456754567645677456784567945680456814568245683456844568545686456874568845689456904569145692456934569445695456964569745698456994570045701457024570345704457054570645707457084570945710457114571245713457144571545716457174571845719457204572145722457234572445725457264572745728457294573045731457324573345734457354573645737457384573945740457414574245743457444574545746457474574845749457504575145752457534575445755457564575745758457594576045761457624576345764457654576645767457684576945770457714577245773457744577545776457774577845779457804578145782457834578445785457864578745788457894579045791457924579345794457954579645797457984579945800458014580245803458044580545806458074580845809458104581145812458134581445815458164581745818458194582045821458224582345824458254582645827458284582945830458314583245833458344583545836458374583845839458404584145842458434584445845458464584745848458494585045851458524585345854458554585645857458584585945860458614586245863458644586545866458674586845869458704587145872458734587445875458764587745878458794588045881458824588345884458854588645887458884588945890458914589245893458944589545896458974589845899459004590145902459034590445905459064590745908459094591045911459124591345914459154591645917459184591945920459214592245923459244592545926459274592845929459304593145932459334593445935459364593745938459394594045941459424594345944459454594645947459484594945950459514595245953459544595545956459574595845959459604596145962459634596445965459664596745968459694597045971459724597345974459754597645977459784597945980459814598245983459844598545986459874598845989459904599145992459934599445995459964599745998459994600046001460024600346004460054600646007460084600946010460114601246013460144601546016460174601846019460204602146022460234602446025460264602746028460294603046031460324603346034460354603646037460384603946040460414604246043460444604546046460474604846049460504605146052460534605446055460564605746058460594606046061460624606346064460654606646067460684606946070460714607246073460744607546076460774607846079460804608146082460834608446085460864608746088460894609046091460924609346094460954609646097460984609946100461014610246103461044610546106461074610846109461104611146112461134611446115461164611746118461194612046121461224612346124461254612646127461284612946130461314613246133461344613546136461374613846139461404614146142461434614446145461464614746148461494615046151461524615346154461554615646157461584615946160461614616246163461644616546166461674616846169461704617146172461734617446175461764617746178461794618046181461824618346184461854618646187461884618946190461914619246193461944619546196461974619846199462004620146202462034620446205462064620746208462094621046211462124621346214462154621646217462184621946220462214622246223462244622546226462274622846229462304623146232462334623446235462364623746238462394624046241462424624346244462454624646247462484624946250462514625246253462544625546256462574625846259462604626146262462634626446265462664626746268462694627046271462724627346274462754627646277462784627946280462814628246283462844628546286462874628846289462904629146292462934629446295462964629746298462994630046301463024630346304463054630646307463084630946310463114631246313463144631546316463174631846319463204632146322463234632446325463264632746328463294633046331463324633346334463354633646337463384633946340463414634246343463444634546346463474634846349463504635146352463534635446355463564635746358463594636046361463624636346364463654636646367463684636946370463714637246373463744637546376463774637846379463804638146382463834638446385463864638746388463894639046391463924639346394463954639646397463984639946400464014640246403464044640546406464074640846409464104641146412464134641446415464164641746418464194642046421464224642346424464254642646427464284642946430464314643246433464344643546436464374643846439464404644146442464434644446445464464644746448464494645046451464524645346454464554645646457464584645946460464614646246463464644646546466464674646846469464704647146472464734647446475464764647746478464794648046481464824648346484464854648646487464884648946490464914649246493464944649546496464974649846499465004650146502465034650446505465064650746508465094651046511465124651346514465154651646517465184651946520465214652246523465244652546526465274652846529465304653146532465334653446535465364653746538465394654046541465424654346544465454654646547465484654946550465514655246553465544655546556465574655846559465604656146562465634656446565465664656746568465694657046571465724657346574465754657646577465784657946580465814658246583465844658546586465874658846589465904659146592465934659446595465964659746598465994660046601466024660346604466054660646607466084660946610466114661246613466144661546616466174661846619466204662146622466234662446625466264662746628466294663046631466324663346634466354663646637466384663946640466414664246643466444664546646466474664846649466504665146652466534665446655466564665746658466594666046661466624666346664466654666646667466684666946670466714667246673466744667546676466774667846679466804668146682466834668446685466864668746688466894669046691466924669346694466954669646697466984669946700467014670246703467044670546706467074670846709467104671146712467134671446715467164671746718467194672046721467224672346724467254672646727467284672946730467314673246733467344673546736467374673846739467404674146742467434674446745467464674746748467494675046751467524675346754467554675646757467584675946760467614676246763467644676546766467674676846769467704677146772467734677446775467764677746778467794678046781467824678346784467854678646787467884678946790467914679246793467944679546796467974679846799468004680146802468034680446805468064680746808468094681046811468124681346814468154681646817468184681946820468214682246823468244682546826468274682846829468304683146832468334683446835468364683746838468394684046841468424684346844468454684646847468484684946850468514685246853468544685546856468574685846859468604686146862468634686446865468664686746868468694687046871468724687346874468754687646877468784687946880468814688246883468844688546886468874688846889468904689146892468934689446895468964689746898468994690046901469024690346904469054690646907469084690946910469114691246913469144691546916469174691846919469204692146922469234692446925469264692746928469294693046931469324693346934469354693646937469384693946940469414694246943469444694546946469474694846949469504695146952469534695446955469564695746958469594696046961469624696346964469654696646967469684696946970469714697246973469744697546976469774697846979469804698146982469834698446985469864698746988469894699046991469924699346994469954699646997469984699947000470014700247003470044700547006470074700847009470104701147012470134701447015470164701747018470194702047021470224702347024470254702647027470284702947030470314703247033470344703547036470374703847039470404704147042470434704447045470464704747048470494705047051470524705347054470554705647057470584705947060470614706247063470644706547066470674706847069470704707147072470734707447075470764707747078470794708047081470824708347084470854708647087470884708947090470914709247093470944709547096470974709847099471004710147102471034710447105471064710747108471094711047111471124711347114471154711647117471184711947120471214712247123471244712547126471274712847129471304713147132471334713447135471364713747138471394714047141471424714347144471454714647147471484714947150471514715247153471544715547156471574715847159471604716147162471634716447165471664716747168471694717047171471724717347174471754717647177471784717947180471814718247183471844718547186471874718847189471904719147192471934719447195471964719747198471994720047201472024720347204472054720647207472084720947210472114721247213472144721547216472174721847219472204722147222472234722447225472264722747228472294723047231472324723347234472354723647237472384723947240472414724247243472444724547246472474724847249472504725147252472534725447255472564725747258472594726047261472624726347264472654726647267472684726947270472714727247273472744727547276472774727847279472804728147282472834728447285472864728747288472894729047291472924729347294472954729647297472984729947300473014730247303473044730547306473074730847309473104731147312473134731447315473164731747318473194732047321473224732347324473254732647327473284732947330473314733247333473344733547336473374733847339473404734147342473434734447345473464734747348473494735047351473524735347354473554735647357473584735947360473614736247363473644736547366473674736847369473704737147372473734737447375473764737747378473794738047381473824738347384473854738647387473884738947390473914739247393473944739547396473974739847399474004740147402474034740447405474064740747408474094741047411474124741347414474154741647417474184741947420474214742247423474244742547426474274742847429474304743147432474334743447435474364743747438474394744047441474424744347444474454744647447474484744947450474514745247453474544745547456474574745847459474604746147462474634746447465474664746747468474694747047471474724747347474474754747647477474784747947480474814748247483474844748547486474874748847489474904749147492474934749447495474964749747498474994750047501475024750347504475054750647507475084750947510475114751247513475144751547516475174751847519475204752147522475234752447525475264752747528475294753047531475324753347534475354753647537475384753947540475414754247543475444754547546475474754847549475504755147552475534755447555475564755747558475594756047561475624756347564475654756647567475684756947570475714757247573475744757547576475774757847579475804758147582475834758447585475864758747588475894759047591475924759347594475954759647597475984759947600476014760247603476044760547606476074760847609476104761147612476134761447615476164761747618476194762047621476224762347624476254762647627476284762947630476314763247633476344763547636476374763847639476404764147642476434764447645476464764747648476494765047651476524765347654476554765647657476584765947660476614766247663476644766547666476674766847669476704767147672476734767447675476764767747678476794768047681476824768347684476854768647687476884768947690476914769247693476944769547696476974769847699477004770147702477034770447705477064770747708477094771047711477124771347714477154771647717477184771947720477214772247723477244772547726477274772847729477304773147732477334773447735477364773747738477394774047741477424774347744477454774647747477484774947750477514775247753477544775547756477574775847759477604776147762477634776447765477664776747768477694777047771477724777347774477754777647777477784777947780477814778247783477844778547786477874778847789477904779147792477934779447795477964779747798477994780047801478024780347804478054780647807478084780947810478114781247813478144781547816478174781847819478204782147822478234782447825478264782747828478294783047831478324783347834478354783647837478384783947840478414784247843478444784547846478474784847849478504785147852478534785447855478564785747858478594786047861478624786347864478654786647867478684786947870478714787247873478744787547876478774787847879478804788147882478834788447885478864788747888478894789047891478924789347894478954789647897478984789947900479014790247903479044790547906479074790847909479104791147912479134791447915479164791747918479194792047921479224792347924479254792647927479284792947930479314793247933479344793547936479374793847939479404794147942479434794447945479464794747948479494795047951479524795347954479554795647957479584795947960479614796247963479644796547966479674796847969479704797147972479734797447975479764797747978479794798047981479824798347984479854798647987479884798947990479914799247993479944799547996479974799847999480004800148002480034800448005480064800748008480094801048011480124801348014480154801648017480184801948020480214802248023480244802548026480274802848029480304803148032480334803448035480364803748038480394804048041480424804348044480454804648047480484804948050480514805248053480544805548056480574805848059480604806148062480634806448065480664806748068480694807048071480724807348074480754807648077480784807948080480814808248083480844808548086480874808848089480904809148092480934809448095480964809748098480994810048101481024810348104481054810648107481084810948110481114811248113481144811548116481174811848119481204812148122481234812448125481264812748128481294813048131481324813348134481354813648137481384813948140481414814248143481444814548146481474814848149481504815148152481534815448155481564815748158481594816048161481624816348164481654816648167481684816948170481714817248173481744817548176481774817848179481804818148182481834818448185481864818748188481894819048191481924819348194481954819648197481984819948200482014820248203482044820548206482074820848209482104821148212482134821448215482164821748218482194822048221482224822348224482254822648227482284822948230482314823248233482344823548236482374823848239482404824148242482434824448245482464824748248482494825048251482524825348254482554825648257482584825948260482614826248263482644826548266482674826848269482704827148272482734827448275482764827748278482794828048281482824828348284482854828648287482884828948290482914829248293482944829548296482974829848299483004830148302483034830448305483064830748308483094831048311483124831348314483154831648317483184831948320483214832248323483244832548326483274832848329483304833148332483334833448335483364833748338483394834048341483424834348344483454834648347483484834948350483514835248353483544835548356483574835848359483604836148362483634836448365483664836748368483694837048371483724837348374483754837648377483784837948380483814838248383483844838548386483874838848389483904839148392483934839448395483964839748398483994840048401484024840348404484054840648407484084840948410484114841248413484144841548416484174841848419484204842148422484234842448425484264842748428484294843048431484324843348434484354843648437484384843948440484414844248443484444844548446484474844848449484504845148452484534845448455484564845748458484594846048461484624846348464484654846648467484684846948470484714847248473484744847548476484774847848479484804848148482484834848448485484864848748488484894849048491484924849348494484954849648497484984849948500485014850248503485044850548506485074850848509485104851148512485134851448515485164851748518485194852048521485224852348524485254852648527485284852948530485314853248533485344853548536485374853848539485404854148542485434854448545485464854748548485494855048551485524855348554485554855648557485584855948560485614856248563485644856548566485674856848569485704857148572485734857448575485764857748578485794858048581485824858348584485854858648587485884858948590485914859248593485944859548596485974859848599486004860148602486034860448605486064860748608486094861048611486124861348614486154861648617486184861948620486214862248623486244862548626486274862848629486304863148632486334863448635486364863748638486394864048641486424864348644486454864648647486484864948650486514865248653486544865548656486574865848659486604866148662486634866448665486664866748668486694867048671486724867348674486754867648677486784867948680486814868248683486844868548686486874868848689486904869148692486934869448695486964869748698486994870048701487024870348704487054870648707487084870948710487114871248713487144871548716487174871848719487204872148722487234872448725487264872748728487294873048731487324873348734487354873648737487384873948740487414874248743487444874548746487474874848749487504875148752487534875448755487564875748758487594876048761487624876348764487654876648767487684876948770487714877248773487744877548776487774877848779487804878148782487834878448785487864878748788487894879048791487924879348794487954879648797487984879948800488014880248803488044880548806488074880848809488104881148812488134881448815488164881748818488194882048821488224882348824488254882648827488284882948830488314883248833488344883548836488374883848839488404884148842488434884448845488464884748848488494885048851488524885348854488554885648857488584885948860488614886248863488644886548866488674886848869488704887148872488734887448875488764887748878488794888048881488824888348884488854888648887488884888948890488914889248893488944889548896488974889848899489004890148902489034890448905489064890748908489094891048911489124891348914489154891648917489184891948920489214892248923489244892548926489274892848929489304893148932489334893448935489364893748938489394894048941489424894348944489454894648947489484894948950489514895248953489544895548956489574895848959489604896148962489634896448965489664896748968489694897048971489724897348974489754897648977489784897948980489814898248983489844898548986489874898848989489904899148992489934899448995489964899748998489994900049001490024900349004490054900649007490084900949010490114901249013490144901549016490174901849019490204902149022490234902449025490264902749028490294903049031490324903349034490354903649037490384903949040490414904249043490444904549046490474904849049490504905149052490534905449055490564905749058490594906049061490624906349064490654906649067490684906949070490714907249073490744907549076490774907849079490804908149082490834908449085490864908749088490894909049091490924909349094490954909649097490984909949100491014910249103491044910549106491074910849109491104911149112491134911449115491164911749118491194912049121491224912349124491254912649127491284912949130491314913249133491344913549136491374913849139491404914149142491434914449145491464914749148491494915049151491524915349154491554915649157491584915949160491614916249163491644916549166491674916849169491704917149172491734917449175491764917749178491794918049181491824918349184491854918649187491884918949190491914919249193491944919549196491974919849199492004920149202492034920449205492064920749208492094921049211492124921349214492154921649217492184921949220492214922249223492244922549226492274922849229492304923149232492334923449235492364923749238492394924049241492424924349244492454924649247492484924949250492514925249253492544925549256492574925849259492604926149262492634926449265492664926749268492694927049271492724927349274492754927649277492784927949280492814928249283492844928549286492874928849289492904929149292492934929449295492964929749298492994930049301493024930349304493054930649307493084930949310493114931249313493144931549316493174931849319493204932149322493234932449325493264932749328493294933049331493324933349334493354933649337493384933949340493414934249343493444934549346493474934849349493504935149352493534935449355493564935749358493594936049361493624936349364493654936649367493684936949370493714937249373493744937549376493774937849379493804938149382493834938449385493864938749388493894939049391493924939349394493954939649397493984939949400494014940249403494044940549406494074940849409494104941149412494134941449415494164941749418494194942049421494224942349424494254942649427494284942949430494314943249433494344943549436494374943849439494404944149442494434944449445494464944749448494494945049451494524945349454494554945649457494584945949460494614946249463494644946549466494674946849469494704947149472494734947449475494764947749478494794948049481494824948349484494854948649487494884948949490494914949249493494944949549496494974949849499495004950149502495034950449505495064950749508495094951049511495124951349514495154951649517495184951949520495214952249523495244952549526495274952849529495304953149532495334953449535495364953749538495394954049541495424954349544495454954649547495484954949550495514955249553495544955549556495574955849559495604956149562495634956449565495664956749568495694957049571495724957349574495754957649577495784957949580495814958249583495844958549586495874958849589495904959149592495934959449595495964959749598495994960049601496024960349604496054960649607496084960949610496114961249613496144961549616496174961849619496204962149622496234962449625496264962749628496294963049631496324963349634496354963649637496384963949640496414964249643496444964549646496474964849649496504965149652496534965449655496564965749658496594966049661496624966349664496654966649667496684966949670496714967249673496744967549676496774967849679496804968149682496834968449685496864968749688496894969049691496924969349694496954969649697496984969949700497014970249703497044970549706497074970849709497104971149712497134971449715497164971749718497194972049721497224972349724497254972649727497284972949730497314973249733497344973549736497374973849739497404974149742497434974449745497464974749748497494975049751497524975349754497554975649757497584975949760497614976249763497644976549766497674976849769497704977149772497734977449775497764977749778497794978049781497824978349784497854978649787497884978949790497914979249793497944979549796497974979849799498004980149802498034980449805498064980749808498094981049811498124981349814498154981649817498184981949820498214982249823498244982549826498274982849829498304983149832498334983449835498364983749838498394984049841498424984349844498454984649847498484984949850498514985249853498544985549856498574985849859498604986149862498634986449865498664986749868498694987049871498724987349874498754987649877498784987949880498814988249883498844988549886498874988849889498904989149892498934989449895498964989749898498994990049901499024990349904499054990649907499084990949910499114991249913499144991549916499174991849919499204992149922499234992449925499264992749928499294993049931499324993349934499354993649937499384993949940499414994249943499444994549946499474994849949499504995149952499534995449955499564995749958499594996049961499624996349964499654996649967499684996949970499714997249973499744997549976499774997849979499804998149982499834998449985499864998749988499894999049991499924999349994499954999649997499984999950000500015000250003500045000550006500075000850009500105001150012500135001450015500165001750018500195002050021500225002350024500255002650027500285002950030500315003250033500345003550036500375003850039500405004150042500435004450045500465004750048500495005050051500525005350054500555005650057500585005950060500615006250063500645006550066500675006850069500705007150072500735007450075500765007750078500795008050081500825008350084500855008650087500885008950090500915009250093500945009550096500975009850099501005010150102501035010450105501065010750108501095011050111501125011350114501155011650117501185011950120501215012250123501245012550126501275012850129501305013150132501335013450135501365013750138501395014050141501425014350144501455014650147501485014950150501515015250153501545015550156501575015850159501605016150162501635016450165501665016750168501695017050171501725017350174501755017650177501785017950180501815018250183501845018550186501875018850189501905019150192501935019450195501965019750198501995020050201502025020350204502055020650207502085020950210502115021250213502145021550216502175021850219502205022150222502235022450225502265022750228502295023050231502325023350234502355023650237502385023950240502415024250243502445024550246502475024850249502505025150252502535025450255502565025750258502595026050261502625026350264502655026650267502685026950270502715027250273502745027550276502775027850279502805028150282502835028450285502865028750288502895029050291502925029350294502955029650297502985029950300503015030250303503045030550306503075030850309503105031150312503135031450315503165031750318503195032050321503225032350324503255032650327503285032950330503315033250333503345033550336503375033850339503405034150342503435034450345503465034750348503495035050351503525035350354503555035650357503585035950360503615036250363503645036550366503675036850369503705037150372503735037450375503765037750378503795038050381503825038350384503855038650387503885038950390503915039250393503945039550396503975039850399504005040150402504035040450405
  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": "分页标志 0-page从0开始 1-page从1开始",
  892. "name": "pageflag",
  893. "in": "query"
  894. },
  895. {
  896. "type": "integer",
  897. "description": "登录账号",
  898. "name": "loginID",
  899. "in": "query",
  900. "required": true
  901. },
  902. {
  903. "type": "integer",
  904. "description": "消息类型 - 1:公告通知 2:系统消息",
  905. "name": "msgType",
  906. "in": "query"
  907. },
  908. {
  909. "type": "boolean",
  910. "description": "是否只获取未读信息",
  911. "name": "onlyUnRead",
  912. "in": "query"
  913. },
  914. {
  915. "type": "integer",
  916. "description": "自增ID,传入后会返回这个ID后面的记录",
  917. "name": "lastID",
  918. "in": "query"
  919. }
  920. ],
  921. "responses": {
  922. "200": {
  923. "description": "OK",
  924. "schema": {
  925. "$ref": "#/definitions/common.QueryNoticeRsp"
  926. }
  927. },
  928. "500": {
  929. "description": "Internal Server Error",
  930. "schema": {
  931. "$ref": "#/definitions/app.Response"
  932. }
  933. }
  934. }
  935. }
  936. },
  937. "/Common/QueryProvincesAndCities": {
  938. "get": {
  939. "produces": [
  940. "application/json"
  941. ],
  942. "tags": [
  943. "通用服务"
  944. ],
  945. "summary": "查询省市信息(不包括区)",
  946. "parameters": [
  947. {
  948. "type": "integer",
  949. "description": "省ID",
  950. "name": "provinceID",
  951. "in": "query"
  952. }
  953. ],
  954. "responses": {
  955. "200": {
  956. "description": "OK",
  957. "schema": {
  958. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  959. }
  960. },
  961. "500": {
  962. "description": "Internal Server Error",
  963. "schema": {
  964. "$ref": "#/definitions/app.Response"
  965. }
  966. }
  967. }
  968. }
  969. },
  970. "/Common/QueryRates": {
  971. "get": {
  972. "security": [
  973. {
  974. "ApiKeyAuth": []
  975. },
  976. {
  977. "LoginID": []
  978. },
  979. {
  980. "Group": []
  981. }
  982. ],
  983. "produces": [
  984. "application/json"
  985. ],
  986. "tags": [
  987. "通用服务"
  988. ],
  989. "summary": "查询汇率信息",
  990. "parameters": [
  991. {
  992. "type": "integer",
  993. "description": "页码",
  994. "name": "page",
  995. "in": "query"
  996. },
  997. {
  998. "type": "integer",
  999. "description": "每页条数",
  1000. "name": "pagesize",
  1001. "in": "query"
  1002. },
  1003. {
  1004. "type": "integer",
  1005. "description": "源币种ID",
  1006. "name": "oricurrencyid",
  1007. "in": "query"
  1008. },
  1009. {
  1010. "type": "integer",
  1011. "description": "目标币种ID",
  1012. "name": "descurrencyid",
  1013. "in": "query"
  1014. }
  1015. ],
  1016. "responses": {
  1017. "200": {
  1018. "description": "OK",
  1019. "schema": {
  1020. "type": "array",
  1021. "items": {
  1022. "$ref": "#/definitions/models.Exchangerateconfig"
  1023. }
  1024. }
  1025. },
  1026. "500": {
  1027. "description": "Internal Server Error",
  1028. "schema": {
  1029. "$ref": "#/definitions/app.Response"
  1030. }
  1031. }
  1032. }
  1033. }
  1034. },
  1035. "/Common/QueryTableDefine": {
  1036. "get": {
  1037. "produces": [
  1038. "application/json"
  1039. ],
  1040. "tags": [
  1041. "通用服务"
  1042. ],
  1043. "summary": "查询交易端列表头信息",
  1044. "parameters": [
  1045. {
  1046. "type": "string",
  1047. "description": "表key",
  1048. "name": "tableKey",
  1049. "in": "query"
  1050. },
  1051. {
  1052. "type": "integer",
  1053. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  1054. "name": "tableType",
  1055. "in": "query"
  1056. }
  1057. ],
  1058. "responses": {
  1059. "200": {
  1060. "description": "OK",
  1061. "schema": {
  1062. "$ref": "#/definitions/common.QueryTableDefineRsp"
  1063. }
  1064. },
  1065. "500": {
  1066. "description": "Internal Server Error",
  1067. "schema": {
  1068. "$ref": "#/definitions/app.Response"
  1069. }
  1070. }
  1071. }
  1072. }
  1073. },
  1074. "/Common/QueryTraderMenu": {
  1075. "get": {
  1076. "produces": [
  1077. "application/json"
  1078. ],
  1079. "tags": [
  1080. "通用服务"
  1081. ],
  1082. "summary": "查询交易端菜单",
  1083. "parameters": [
  1084. {
  1085. "type": "integer",
  1086. "description": "登录账号",
  1087. "name": "loginid",
  1088. "in": "query",
  1089. "required": true
  1090. }
  1091. ],
  1092. "responses": {
  1093. "200": {
  1094. "description": "OK",
  1095. "schema": {
  1096. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  1097. }
  1098. },
  1099. "500": {
  1100. "description": "Internal Server Error",
  1101. "schema": {
  1102. "$ref": "#/definitions/app.Response"
  1103. }
  1104. }
  1105. }
  1106. }
  1107. },
  1108. "/Common/UpdateNewFuncmenu": {
  1109. "put": {
  1110. "security": [
  1111. {
  1112. "ApiKeyAuth": []
  1113. }
  1114. ],
  1115. "consumes": [
  1116. "application/json"
  1117. ],
  1118. "produces": [
  1119. "application/json"
  1120. ],
  1121. "tags": [
  1122. "通用服务"
  1123. ],
  1124. "summary": "更新菜单表数据",
  1125. "parameters": [
  1126. {
  1127. "description": "菜单表数据",
  1128. "name": "data",
  1129. "in": "body",
  1130. "required": true,
  1131. "schema": {
  1132. "$ref": "#/definitions/models.NewFuncmenulist"
  1133. }
  1134. }
  1135. ],
  1136. "responses": {
  1137. "200": {
  1138. "description": "OK",
  1139. "schema": {
  1140. "$ref": "#/definitions/app.Response"
  1141. }
  1142. },
  1143. "500": {
  1144. "description": "Internal Server Error",
  1145. "schema": {
  1146. "$ref": "#/definitions/app.Response"
  1147. }
  1148. }
  1149. }
  1150. }
  1151. },
  1152. "/Delivery/QueryDeliveryRelation": {
  1153. "get": {
  1154. "security": [
  1155. {
  1156. "ApiKeyAuth": []
  1157. }
  1158. ],
  1159. "produces": [
  1160. "application/json"
  1161. ],
  1162. "tags": [
  1163. "交割服务"
  1164. ],
  1165. "summary": "查询商品交割关系表",
  1166. "parameters": [
  1167. {
  1168. "type": "integer",
  1169. "description": "商品ID",
  1170. "name": "goodsid",
  1171. "in": "query"
  1172. },
  1173. {
  1174. "type": "integer",
  1175. "description": "品种ID",
  1176. "name": "deliverygoodsid",
  1177. "in": "query"
  1178. },
  1179. {
  1180. "type": "integer",
  1181. "description": "市场ID",
  1182. "name": "marketid",
  1183. "in": "query"
  1184. }
  1185. ],
  1186. "responses": {
  1187. "200": {
  1188. "description": "OK",
  1189. "schema": {
  1190. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  1191. }
  1192. },
  1193. "500": {
  1194. "description": "Internal Server Error",
  1195. "schema": {
  1196. "$ref": "#/definitions/app.Response"
  1197. }
  1198. }
  1199. }
  1200. }
  1201. },
  1202. "/Ermcp/GetErmcpGoods": {
  1203. "get": {
  1204. "security": [
  1205. {
  1206. "ApiKeyAuth": []
  1207. }
  1208. ],
  1209. "produces": [
  1210. "application/json"
  1211. ],
  1212. "tags": [
  1213. "企业风险管理(app)"
  1214. ],
  1215. "summary": "查询企业风管期货商品信息",
  1216. "parameters": [
  1217. {
  1218. "type": "integer",
  1219. "description": "用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)",
  1220. "name": "userid",
  1221. "in": "query"
  1222. },
  1223. {
  1224. "type": "string",
  1225. "description": "最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  1226. "name": "lastUpdateTime",
  1227. "in": "query"
  1228. }
  1229. ],
  1230. "responses": {
  1231. "200": {
  1232. "description": "OK",
  1233. "schema": {
  1234. "$ref": "#/definitions/models.ErmcpGoods"
  1235. }
  1236. },
  1237. "500": {
  1238. "description": "Internal Server Error",
  1239. "schema": {
  1240. "$ref": "#/definitions/app.Response"
  1241. }
  1242. }
  1243. }
  1244. }
  1245. },
  1246. "/Ermcp/GetErmcpGoodsSortByPosition": {
  1247. "get": {
  1248. "security": [
  1249. {
  1250. "ApiKeyAuth": []
  1251. }
  1252. ],
  1253. "produces": [
  1254. "application/json"
  1255. ],
  1256. "tags": [
  1257. "企业风险管理(app)"
  1258. ],
  1259. "summary": "查询企业风管期货主力、次主力商品信息",
  1260. "parameters": [
  1261. {
  1262. "type": "string",
  1263. "description": "主力: 1; 次主力: 2; 主力+次主力:1,2",
  1264. "name": "sortIndex",
  1265. "in": "query"
  1266. }
  1267. ],
  1268. "responses": {
  1269. "200": {
  1270. "description": "OK",
  1271. "schema": {
  1272. "$ref": "#/definitions/models.Goodssortbypreposition"
  1273. }
  1274. },
  1275. "500": {
  1276. "description": "Internal Server Error",
  1277. "schema": {
  1278. "$ref": "#/definitions/app.Response"
  1279. }
  1280. }
  1281. }
  1282. }
  1283. },
  1284. "/Ermcp/GetErmcpOutAccountStatus": {
  1285. "get": {
  1286. "security": [
  1287. {
  1288. "ApiKeyAuth": []
  1289. }
  1290. ],
  1291. "produces": [
  1292. "application/json"
  1293. ],
  1294. "tags": [
  1295. "企业风险管理(app)"
  1296. ],
  1297. "summary": "获取目标登录账号当前对冲账号在线状态",
  1298. "parameters": [
  1299. {
  1300. "type": "integer",
  1301. "description": "登录账号",
  1302. "name": "loginID",
  1303. "in": "query",
  1304. "required": true
  1305. }
  1306. ],
  1307. "responses": {
  1308. "200": {
  1309. "description": "OK",
  1310. "schema": {
  1311. "$ref": "#/definitions/models.Hedgemarketopenlog"
  1312. }
  1313. },
  1314. "500": {
  1315. "description": "Internal Server Error",
  1316. "schema": {
  1317. "$ref": "#/definitions/app.Response"
  1318. }
  1319. }
  1320. }
  1321. }
  1322. },
  1323. "/Ermcp/GetErmcpRoleFuncMenuLists": {
  1324. "get": {
  1325. "security": [
  1326. {
  1327. "ApiKeyAuth": []
  1328. }
  1329. ],
  1330. "produces": [
  1331. "application/json"
  1332. ],
  1333. "tags": [
  1334. "企业风险管理(app)"
  1335. ],
  1336. "summary": "获取企业风管终端权限",
  1337. "parameters": [
  1338. {
  1339. "type": "integer",
  1340. "description": "登录账号",
  1341. "name": "loginID",
  1342. "in": "query",
  1343. "required": true
  1344. }
  1345. ],
  1346. "responses": {
  1347. "200": {
  1348. "description": "OK",
  1349. "schema": {
  1350. "$ref": "#/definitions/models.Funcmenulist"
  1351. }
  1352. },
  1353. "500": {
  1354. "description": "Internal Server Error",
  1355. "schema": {
  1356. "$ref": "#/definitions/app.Response"
  1357. }
  1358. }
  1359. }
  1360. }
  1361. },
  1362. "/Ermcp/QueryAccMgrBizGroupSet": {
  1363. "get": {
  1364. "security": [
  1365. {
  1366. "ApiKeyAuth": []
  1367. }
  1368. ],
  1369. "produces": [
  1370. "application/json"
  1371. ],
  1372. "tags": [
  1373. "企业风险管理(app)"
  1374. ],
  1375. "summary": "查询业务类型分组(账户管理/账户设置)",
  1376. "parameters": [
  1377. {
  1378. "type": "integer",
  1379. "description": "用户ID",
  1380. "name": "userid",
  1381. "in": "query",
  1382. "required": true
  1383. },
  1384. {
  1385. "type": "integer",
  1386. "description": "现货商品id",
  1387. "name": "deliverygoodsid",
  1388. "in": "query"
  1389. }
  1390. ],
  1391. "responses": {
  1392. "200": {
  1393. "description": "OK",
  1394. "schema": {
  1395. "type": "array",
  1396. "items": {
  1397. "$ref": "#/definitions/models.ErmcpBizGroupEx"
  1398. }
  1399. }
  1400. },
  1401. "500": {
  1402. "description": "Internal Server Error",
  1403. "schema": {
  1404. "$ref": "#/definitions/app.Response"
  1405. }
  1406. }
  1407. }
  1408. }
  1409. },
  1410. "/Ermcp/QueryAccMgrLoginUser": {
  1411. "get": {
  1412. "security": [
  1413. {
  1414. "ApiKeyAuth": []
  1415. }
  1416. ],
  1417. "produces": [
  1418. "application/json"
  1419. ],
  1420. "tags": [
  1421. "企业风险管理(app)"
  1422. ],
  1423. "summary": "查询账户管理登录账号(账户管理/登录账号)",
  1424. "parameters": [
  1425. {
  1426. "type": "integer",
  1427. "description": "用户ID",
  1428. "name": "userid",
  1429. "in": "query",
  1430. "required": true
  1431. },
  1432. {
  1433. "type": "integer",
  1434. "description": "用户类型 2-机构 7-企业成员",
  1435. "name": "usertype",
  1436. "in": "query"
  1437. },
  1438. {
  1439. "type": "integer",
  1440. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  1441. "name": "querytype",
  1442. "in": "query",
  1443. "required": true
  1444. }
  1445. ],
  1446. "responses": {
  1447. "200": {
  1448. "description": "OK",
  1449. "schema": {
  1450. "type": "array",
  1451. "items": {
  1452. "$ref": "#/definitions/models.ErmcpLoginUserEx"
  1453. }
  1454. }
  1455. },
  1456. "500": {
  1457. "description": "Internal Server Error",
  1458. "schema": {
  1459. "$ref": "#/definitions/app.Response"
  1460. }
  1461. }
  1462. }
  1463. }
  1464. },
  1465. "/Ermcp/QueryAccMgrMainAccountInfo": {
  1466. "get": {
  1467. "security": [
  1468. {
  1469. "ApiKeyAuth": []
  1470. }
  1471. ],
  1472. "produces": [
  1473. "application/json"
  1474. ],
  1475. "tags": [
  1476. "企业风险管理(app)"
  1477. ],
  1478. "summary": "查询账户管理主账号详情(账户管理/期货主账号详情)",
  1479. "parameters": [
  1480. {
  1481. "type": "integer",
  1482. "description": "用户ID",
  1483. "name": "userid",
  1484. "in": "query"
  1485. },
  1486. {
  1487. "type": "integer",
  1488. "description": "主账号id",
  1489. "name": "accountid",
  1490. "in": "query"
  1491. }
  1492. ],
  1493. "responses": {
  1494. "200": {
  1495. "description": "OK",
  1496. "schema": {
  1497. "type": "array",
  1498. "items": {
  1499. "$ref": "#/definitions/models.MainAccountInfo"
  1500. }
  1501. }
  1502. },
  1503. "500": {
  1504. "description": "Internal Server Error",
  1505. "schema": {
  1506. "$ref": "#/definitions/app.Response"
  1507. }
  1508. }
  1509. }
  1510. }
  1511. },
  1512. "/Ermcp/QueryAccMgrRole": {
  1513. "get": {
  1514. "security": [
  1515. {
  1516. "ApiKeyAuth": []
  1517. }
  1518. ],
  1519. "produces": [
  1520. "application/json"
  1521. ],
  1522. "tags": [
  1523. "企业风险管理(app)"
  1524. ],
  1525. "summary": "查询账户管理角色设置(账户管理/角色设置)",
  1526. "parameters": [
  1527. {
  1528. "type": "integer",
  1529. "description": "用户ID",
  1530. "name": "userid",
  1531. "in": "query",
  1532. "required": true
  1533. }
  1534. ],
  1535. "responses": {
  1536. "200": {
  1537. "description": "OK",
  1538. "schema": {
  1539. "type": "array",
  1540. "items": {
  1541. "$ref": "#/definitions/models.ErmcpRole"
  1542. }
  1543. }
  1544. },
  1545. "500": {
  1546. "description": "Internal Server Error",
  1547. "schema": {
  1548. "$ref": "#/definitions/app.Response"
  1549. }
  1550. }
  1551. }
  1552. }
  1553. },
  1554. "/Ermcp/QueryAccMgrRoleMenu": {
  1555. "get": {
  1556. "security": [
  1557. {
  1558. "ApiKeyAuth": []
  1559. }
  1560. ],
  1561. "produces": [
  1562. "application/json"
  1563. ],
  1564. "tags": [
  1565. "企业风险管理(app)"
  1566. ],
  1567. "summary": "查询账户管理角色详情(账户管理/角色设置/角色详情)",
  1568. "parameters": [
  1569. {
  1570. "type": "integer",
  1571. "description": "用户ID",
  1572. "name": "userid",
  1573. "in": "query",
  1574. "required": true
  1575. },
  1576. {
  1577. "type": "string",
  1578. "description": "角色id(可多个,逗号隔开)",
  1579. "name": "roleid",
  1580. "in": "query"
  1581. },
  1582. {
  1583. "type": "integer",
  1584. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3",
  1585. "name": "menutype",
  1586. "in": "query"
  1587. }
  1588. ],
  1589. "responses": {
  1590. "200": {
  1591. "description": "OK",
  1592. "schema": {
  1593. "type": "array",
  1594. "items": {
  1595. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  1596. }
  1597. }
  1598. },
  1599. "500": {
  1600. "description": "Internal Server Error",
  1601. "schema": {
  1602. "$ref": "#/definitions/app.Response"
  1603. }
  1604. }
  1605. }
  1606. }
  1607. },
  1608. "/Ermcp/QueryAccMgrTaAccountInfo": {
  1609. "get": {
  1610. "security": [
  1611. {
  1612. "ApiKeyAuth": []
  1613. }
  1614. ],
  1615. "produces": [
  1616. "application/json"
  1617. ],
  1618. "tags": [
  1619. "企业风险管理(app)"
  1620. ],
  1621. "summary": "查询账户管理授信(账户管理/账户设置/授信)",
  1622. "parameters": [
  1623. {
  1624. "type": "integer",
  1625. "description": "用户ID",
  1626. "name": "userid",
  1627. "in": "query",
  1628. "required": true
  1629. },
  1630. {
  1631. "type": "integer",
  1632. "description": "账号id",
  1633. "name": "accountid",
  1634. "in": "query"
  1635. }
  1636. ],
  1637. "responses": {
  1638. "200": {
  1639. "description": "OK",
  1640. "schema": {
  1641. "type": "array",
  1642. "items": {
  1643. "$ref": "#/definitions/models.ErmcpTaAccountInfo"
  1644. }
  1645. }
  1646. },
  1647. "500": {
  1648. "description": "Internal Server Error",
  1649. "schema": {
  1650. "$ref": "#/definitions/app.Response"
  1651. }
  1652. }
  1653. }
  1654. }
  1655. },
  1656. "/Ermcp/QueryAccMgrTaaccount": {
  1657. "get": {
  1658. "security": [
  1659. {
  1660. "ApiKeyAuth": []
  1661. }
  1662. ],
  1663. "produces": [
  1664. "application/json"
  1665. ],
  1666. "tags": [
  1667. "企业风险管理(app)"
  1668. ],
  1669. "summary": "查询账户管理期货账号(账户管理/期货账号)",
  1670. "parameters": [
  1671. {
  1672. "type": "integer",
  1673. "description": "用户ID",
  1674. "name": "userid",
  1675. "in": "query",
  1676. "required": true
  1677. }
  1678. ],
  1679. "responses": {
  1680. "200": {
  1681. "description": "OK",
  1682. "schema": {
  1683. "type": "array",
  1684. "items": {
  1685. "$ref": "#/definitions/models.ErmcpTaAccountEx"
  1686. }
  1687. }
  1688. },
  1689. "500": {
  1690. "description": "Internal Server Error",
  1691. "schema": {
  1692. "$ref": "#/definitions/app.Response"
  1693. }
  1694. }
  1695. }
  1696. }
  1697. },
  1698. "/Ermcp/QueryAvaildGoodsGroup": {
  1699. "get": {
  1700. "security": [
  1701. {
  1702. "ApiKeyAuth": []
  1703. }
  1704. ],
  1705. "produces": [
  1706. "application/json"
  1707. ],
  1708. "tags": [
  1709. "企业风险管理(app)"
  1710. ],
  1711. "summary": "查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)",
  1712. "parameters": [
  1713. {
  1714. "type": "integer",
  1715. "description": "所属机构ID",
  1716. "name": "userid",
  1717. "in": "query",
  1718. "required": true
  1719. }
  1720. ],
  1721. "responses": {
  1722. "200": {
  1723. "description": "OK",
  1724. "schema": {
  1725. "type": "array",
  1726. "items": {
  1727. "$ref": "#/definitions/ermcp.QryAvalidGPRsp"
  1728. }
  1729. }
  1730. },
  1731. "500": {
  1732. "description": "Internal Server Error",
  1733. "schema": {
  1734. "$ref": "#/definitions/app.Response"
  1735. }
  1736. }
  1737. }
  1738. }
  1739. },
  1740. "/Ermcp/QueryBusinessDj": {
  1741. "get": {
  1742. "security": [
  1743. {
  1744. "ApiKeyAuth": []
  1745. }
  1746. ],
  1747. "produces": [
  1748. "application/json"
  1749. ],
  1750. "tags": [
  1751. "企业风险管理(app)"
  1752. ],
  1753. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  1754. "parameters": [
  1755. {
  1756. "type": "integer",
  1757. "description": "用户ID",
  1758. "name": "UserId",
  1759. "in": "query",
  1760. "required": true
  1761. },
  1762. {
  1763. "type": "integer",
  1764. "description": "用户类型 2-机构 7-企业成员",
  1765. "name": "usertype",
  1766. "in": "query"
  1767. },
  1768. {
  1769. "type": "string",
  1770. "description": "现货合同ID, 不填则查所有",
  1771. "name": "relatedid",
  1772. "in": "query"
  1773. },
  1774. {
  1775. "type": "string",
  1776. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1777. "name": "applystatus",
  1778. "in": "query"
  1779. }
  1780. ],
  1781. "responses": {
  1782. "200": {
  1783. "description": "OK",
  1784. "schema": {
  1785. "type": "array",
  1786. "items": {
  1787. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  1788. }
  1789. }
  1790. },
  1791. "500": {
  1792. "description": "Internal Server Error",
  1793. "schema": {
  1794. "$ref": "#/definitions/app.Response"
  1795. }
  1796. }
  1797. }
  1798. }
  1799. },
  1800. "/Ermcp/QueryBusinessFp": {
  1801. "get": {
  1802. "security": [
  1803. {
  1804. "ApiKeyAuth": []
  1805. }
  1806. ],
  1807. "produces": [
  1808. "application/json"
  1809. ],
  1810. "tags": [
  1811. "企业风险管理(app)"
  1812. ],
  1813. "summary": "查询财务管理(发票)(对应菜单:财务管理/发票)",
  1814. "parameters": [
  1815. {
  1816. "type": "integer",
  1817. "description": "用户ID",
  1818. "name": "UserId",
  1819. "in": "query",
  1820. "required": true
  1821. },
  1822. {
  1823. "type": "integer",
  1824. "description": "用户类型 2-机构 7-企业成员",
  1825. "name": "usertype",
  1826. "in": "query"
  1827. },
  1828. {
  1829. "type": "string",
  1830. "description": "现货合同ID, 不填则查所有",
  1831. "name": "relatedid",
  1832. "in": "query"
  1833. },
  1834. {
  1835. "type": "string",
  1836. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1837. "name": "applystatus",
  1838. "in": "query"
  1839. }
  1840. ],
  1841. "responses": {
  1842. "200": {
  1843. "description": "OK",
  1844. "schema": {
  1845. "type": "array",
  1846. "items": {
  1847. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  1848. }
  1849. }
  1850. },
  1851. "500": {
  1852. "description": "Internal Server Error",
  1853. "schema": {
  1854. "$ref": "#/definitions/app.Response"
  1855. }
  1856. }
  1857. }
  1858. }
  1859. },
  1860. "/Ermcp/QueryBusinessJs": {
  1861. "get": {
  1862. "security": [
  1863. {
  1864. "ApiKeyAuth": []
  1865. }
  1866. ],
  1867. "produces": [
  1868. "application/json"
  1869. ],
  1870. "tags": [
  1871. "企业风险管理(app)"
  1872. ],
  1873. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  1874. "parameters": [
  1875. {
  1876. "type": "integer",
  1877. "description": "用户ID",
  1878. "name": "UserId",
  1879. "in": "query",
  1880. "required": true
  1881. },
  1882. {
  1883. "type": "integer",
  1884. "description": "用户类型 2-机构 7-企业成员",
  1885. "name": "usertype",
  1886. "in": "query"
  1887. },
  1888. {
  1889. "type": "string",
  1890. "description": "现货合同ID, 不填则查所有",
  1891. "name": "relatedid",
  1892. "in": "query"
  1893. },
  1894. {
  1895. "type": "string",
  1896. "description": "操作申请id",
  1897. "name": "operateapplyid",
  1898. "in": "query"
  1899. },
  1900. {
  1901. "type": "string",
  1902. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1903. "name": "applystatus",
  1904. "in": "query"
  1905. }
  1906. ],
  1907. "responses": {
  1908. "200": {
  1909. "description": "OK",
  1910. "schema": {
  1911. "type": "array",
  1912. "items": {
  1913. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  1914. }
  1915. }
  1916. },
  1917. "500": {
  1918. "description": "Internal Server Error",
  1919. "schema": {
  1920. "$ref": "#/definitions/app.Response"
  1921. }
  1922. }
  1923. }
  1924. }
  1925. },
  1926. "/Ermcp/QueryBusinessJsEx": {
  1927. "get": {
  1928. "security": [
  1929. {
  1930. "ApiKeyAuth": []
  1931. }
  1932. ],
  1933. "produces": [
  1934. "application/json"
  1935. ],
  1936. "tags": [
  1937. "企业风险管理(app)"
  1938. ],
  1939. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])",
  1940. "parameters": [
  1941. {
  1942. "type": "integer",
  1943. "description": "用户ID",
  1944. "name": "UserId",
  1945. "in": "query",
  1946. "required": true
  1947. },
  1948. {
  1949. "type": "integer",
  1950. "description": "用户类型 2-机构 7-企业成员",
  1951. "name": "usertype",
  1952. "in": "query"
  1953. },
  1954. {
  1955. "type": "string",
  1956. "description": "现货合同ID, 不填则查所有",
  1957. "name": "relatedid",
  1958. "in": "query"
  1959. },
  1960. {
  1961. "type": "string",
  1962. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  1963. "name": "applystatus",
  1964. "in": "query"
  1965. }
  1966. ],
  1967. "responses": {
  1968. "200": {
  1969. "description": "OK",
  1970. "schema": {
  1971. "type": "array",
  1972. "items": {
  1973. "$ref": "#/definitions/ermcp.QryBussinessJsExRsp"
  1974. }
  1975. }
  1976. },
  1977. "500": {
  1978. "description": "Internal Server Error",
  1979. "schema": {
  1980. "$ref": "#/definitions/app.Response"
  1981. }
  1982. }
  1983. }
  1984. }
  1985. },
  1986. "/Ermcp/QueryBusinessKx": {
  1987. "get": {
  1988. "security": [
  1989. {
  1990. "ApiKeyAuth": []
  1991. }
  1992. ],
  1993. "produces": [
  1994. "application/json"
  1995. ],
  1996. "tags": [
  1997. "企业风险管理(app)"
  1998. ],
  1999. "summary": "查询财务管理(款项)(对应菜单:财务管理/款项)",
  2000. "parameters": [
  2001. {
  2002. "type": "integer",
  2003. "description": "用户ID",
  2004. "name": "UserId",
  2005. "in": "query",
  2006. "required": true
  2007. },
  2008. {
  2009. "type": "integer",
  2010. "description": "用户类型 2-机构 7-企业成员",
  2011. "name": "usertype",
  2012. "in": "query"
  2013. },
  2014. {
  2015. "type": "string",
  2016. "description": "现货合同ID, 不填则查所有",
  2017. "name": "relatedid",
  2018. "in": "query"
  2019. },
  2020. {
  2021. "type": "string",
  2022. "description": "申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  2023. "name": "applystatus",
  2024. "in": "query"
  2025. }
  2026. ],
  2027. "responses": {
  2028. "200": {
  2029. "description": "OK",
  2030. "schema": {
  2031. "type": "array",
  2032. "items": {
  2033. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  2034. }
  2035. }
  2036. },
  2037. "500": {
  2038. "description": "Internal Server Error",
  2039. "schema": {
  2040. "$ref": "#/definitions/app.Response"
  2041. }
  2042. }
  2043. }
  2044. }
  2045. },
  2046. "/Ermcp/QueryChangeLog": {
  2047. "get": {
  2048. "security": [
  2049. {
  2050. "ApiKeyAuth": []
  2051. }
  2052. ],
  2053. "produces": [
  2054. "application/json"
  2055. ],
  2056. "tags": [
  2057. "企业风险管理(app)"
  2058. ],
  2059. "summary": "查询变更记录",
  2060. "parameters": [
  2061. {
  2062. "type": "string",
  2063. "description": "合同ID",
  2064. "name": "RelatedId",
  2065. "in": "query",
  2066. "required": true
  2067. }
  2068. ],
  2069. "responses": {
  2070. "200": {
  2071. "description": "OK",
  2072. "schema": {
  2073. "type": "array",
  2074. "items": {
  2075. "$ref": "#/definitions/ermcp.QryOPLogRsp"
  2076. }
  2077. }
  2078. },
  2079. "500": {
  2080. "description": "Internal Server Error",
  2081. "schema": {
  2082. "$ref": "#/definitions/app.Response"
  2083. }
  2084. }
  2085. }
  2086. }
  2087. },
  2088. "/Ermcp/QueryErmcpHisOrderDetails": {
  2089. "get": {
  2090. "security": [
  2091. {
  2092. "ApiKeyAuth": []
  2093. }
  2094. ],
  2095. "produces": [
  2096. "application/json"
  2097. ],
  2098. "tags": [
  2099. "企业风险管理(app)"
  2100. ],
  2101. "summary": "获取企业风管期货历史委托单信息",
  2102. "parameters": [
  2103. {
  2104. "type": "integer",
  2105. "description": "资金账户ID",
  2106. "name": "accountID",
  2107. "in": "query",
  2108. "required": true
  2109. },
  2110. {
  2111. "type": "string",
  2112. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2113. "name": "startDate",
  2114. "in": "query"
  2115. },
  2116. {
  2117. "type": "string",
  2118. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2119. "name": "endDate",
  2120. "in": "query"
  2121. }
  2122. ],
  2123. "responses": {
  2124. "200": {
  2125. "description": "OK",
  2126. "schema": {
  2127. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2128. }
  2129. },
  2130. "500": {
  2131. "description": "Internal Server Error",
  2132. "schema": {
  2133. "$ref": "#/definitions/app.Response"
  2134. }
  2135. }
  2136. }
  2137. }
  2138. },
  2139. "/Ermcp/QueryErmcpHisTradeDetails": {
  2140. "get": {
  2141. "security": [
  2142. {
  2143. "ApiKeyAuth": []
  2144. }
  2145. ],
  2146. "produces": [
  2147. "application/json"
  2148. ],
  2149. "tags": [
  2150. "企业风险管理(app)"
  2151. ],
  2152. "summary": "获取企业风管期货历史成交单信息",
  2153. "parameters": [
  2154. {
  2155. "type": "integer",
  2156. "description": "资金账户ID",
  2157. "name": "accountID",
  2158. "in": "query",
  2159. "required": true
  2160. },
  2161. {
  2162. "type": "integer",
  2163. "description": "商品ID",
  2164. "name": "goodsID",
  2165. "in": "query"
  2166. },
  2167. {
  2168. "type": "integer",
  2169. "description": "买卖方向,0:买 1:卖",
  2170. "name": "buyOrSell",
  2171. "in": "query"
  2172. },
  2173. {
  2174. "type": "integer",
  2175. "description": "关联委托单号",
  2176. "name": "orderID",
  2177. "in": "query"
  2178. },
  2179. {
  2180. "type": "string",
  2181. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2182. "name": "startDate",
  2183. "in": "query"
  2184. },
  2185. {
  2186. "type": "string",
  2187. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2188. "name": "endDate",
  2189. "in": "query"
  2190. }
  2191. ],
  2192. "responses": {
  2193. "200": {
  2194. "description": "OK",
  2195. "schema": {
  2196. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2197. }
  2198. },
  2199. "500": {
  2200. "description": "Internal Server Error",
  2201. "schema": {
  2202. "$ref": "#/definitions/app.Response"
  2203. }
  2204. }
  2205. }
  2206. }
  2207. },
  2208. "/Ermcp/QueryErmcpInnerHolderDetails": {
  2209. "get": {
  2210. "security": [
  2211. {
  2212. "ApiKeyAuth": []
  2213. }
  2214. ],
  2215. "produces": [
  2216. "application/json"
  2217. ],
  2218. "tags": [
  2219. "企业风险管理(app)"
  2220. ],
  2221. "summary": "获取企业风管期货内部持仓单信息",
  2222. "parameters": [
  2223. {
  2224. "type": "integer",
  2225. "description": "资金账户ID",
  2226. "name": "accountID",
  2227. "in": "query",
  2228. "required": true
  2229. },
  2230. {
  2231. "type": "integer",
  2232. "description": "商品ID",
  2233. "name": "goodsID",
  2234. "in": "query"
  2235. },
  2236. {
  2237. "type": "integer",
  2238. "description": "买卖方向,0:买 1:卖",
  2239. "name": "buyOrSell",
  2240. "in": "query"
  2241. }
  2242. ],
  2243. "responses": {
  2244. "200": {
  2245. "description": "OK",
  2246. "schema": {
  2247. "$ref": "#/definitions/models.Hedgeinnerholderdetail"
  2248. }
  2249. },
  2250. "500": {
  2251. "description": "Internal Server Error",
  2252. "schema": {
  2253. "$ref": "#/definitions/app.Response"
  2254. }
  2255. }
  2256. }
  2257. }
  2258. },
  2259. "/Ermcp/QueryErmcpOrderDetails": {
  2260. "get": {
  2261. "security": [
  2262. {
  2263. "ApiKeyAuth": []
  2264. }
  2265. ],
  2266. "produces": [
  2267. "application/json"
  2268. ],
  2269. "tags": [
  2270. "企业风险管理(app)"
  2271. ],
  2272. "summary": "获取企业风管期货委托单信息",
  2273. "parameters": [
  2274. {
  2275. "type": "integer",
  2276. "description": "资金账户ID",
  2277. "name": "accountID",
  2278. "in": "query",
  2279. "required": true
  2280. }
  2281. ],
  2282. "responses": {
  2283. "200": {
  2284. "description": "OK",
  2285. "schema": {
  2286. "$ref": "#/definitions/models.QueryHedgeOrderDetailRsp"
  2287. }
  2288. },
  2289. "500": {
  2290. "description": "Internal Server Error",
  2291. "schema": {
  2292. "$ref": "#/definitions/app.Response"
  2293. }
  2294. }
  2295. }
  2296. }
  2297. },
  2298. "/Ermcp/QueryErmcpTradeDetails": {
  2299. "get": {
  2300. "security": [
  2301. {
  2302. "ApiKeyAuth": []
  2303. }
  2304. ],
  2305. "produces": [
  2306. "application/json"
  2307. ],
  2308. "tags": [
  2309. "企业风险管理(app)"
  2310. ],
  2311. "summary": "获取企业风管期货成交单信息",
  2312. "parameters": [
  2313. {
  2314. "type": "integer",
  2315. "description": "资金账户ID",
  2316. "name": "accountID",
  2317. "in": "query",
  2318. "required": true
  2319. },
  2320. {
  2321. "type": "integer",
  2322. "description": "商品ID",
  2323. "name": "goodsID",
  2324. "in": "query"
  2325. },
  2326. {
  2327. "type": "integer",
  2328. "description": "买卖方向,0:买 1:卖",
  2329. "name": "buyOrSell",
  2330. "in": "query"
  2331. },
  2332. {
  2333. "type": "integer",
  2334. "description": "关联委托单号",
  2335. "name": "orderID",
  2336. "in": "query"
  2337. }
  2338. ],
  2339. "responses": {
  2340. "200": {
  2341. "description": "OK",
  2342. "schema": {
  2343. "$ref": "#/definitions/models.QueryHedgeTradeDetailRsp"
  2344. }
  2345. },
  2346. "500": {
  2347. "description": "Internal Server Error",
  2348. "schema": {
  2349. "$ref": "#/definitions/app.Response"
  2350. }
  2351. }
  2352. }
  2353. }
  2354. },
  2355. "/Ermcp/QueryErmcpTradePosition": {
  2356. "get": {
  2357. "security": [
  2358. {
  2359. "ApiKeyAuth": []
  2360. }
  2361. ],
  2362. "description": "本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;",
  2363. "produces": [
  2364. "application/json"
  2365. ],
  2366. "tags": [
  2367. "企业风险管理(app)"
  2368. ],
  2369. "summary": "获取企业风管期货持仓头寸信息",
  2370. "parameters": [
  2371. {
  2372. "type": "integer",
  2373. "description": "资金账户ID",
  2374. "name": "accountID",
  2375. "in": "query",
  2376. "required": true
  2377. },
  2378. {
  2379. "type": "integer",
  2380. "description": "所属市场ID",
  2381. "name": "marketID",
  2382. "in": "query"
  2383. }
  2384. ],
  2385. "responses": {
  2386. "200": {
  2387. "description": "OK",
  2388. "schema": {
  2389. "$ref": "#/definitions/ermcp.QueryErmcpTradePositionRsp"
  2390. }
  2391. },
  2392. "500": {
  2393. "description": "Internal Server Error",
  2394. "schema": {
  2395. "$ref": "#/definitions/app.Response"
  2396. }
  2397. }
  2398. }
  2399. }
  2400. },
  2401. "/Ermcp/QueryExposureDetail": {
  2402. "get": {
  2403. "security": [
  2404. {
  2405. "ApiKeyAuth": []
  2406. }
  2407. ],
  2408. "produces": [
  2409. "application/json"
  2410. ],
  2411. "tags": [
  2412. "企业风险管理(app)"
  2413. ],
  2414. "summary": "查询敞口现货明细",
  2415. "parameters": [
  2416. {
  2417. "type": "integer",
  2418. "description": "所属机构ID",
  2419. "name": "areaUserId",
  2420. "in": "query",
  2421. "required": true
  2422. },
  2423. {
  2424. "type": "integer",
  2425. "description": "套保商品",
  2426. "name": "middleGoodsId",
  2427. "in": "query",
  2428. "required": true
  2429. }
  2430. ],
  2431. "responses": {
  2432. "200": {
  2433. "description": "OK",
  2434. "schema": {
  2435. "type": "array",
  2436. "items": {
  2437. "$ref": "#/definitions/ermcp.ExposureDetailRsp"
  2438. }
  2439. }
  2440. },
  2441. "500": {
  2442. "description": "Internal Server Error",
  2443. "schema": {
  2444. "$ref": "#/definitions/app.Response"
  2445. }
  2446. }
  2447. }
  2448. }
  2449. },
  2450. "/Ermcp/QueryExposureGoods": {
  2451. "get": {
  2452. "security": [
  2453. {
  2454. "ApiKeyAuth": []
  2455. }
  2456. ],
  2457. "produces": [
  2458. "application/json"
  2459. ],
  2460. "tags": [
  2461. "企业风险管理(app)"
  2462. ],
  2463. "summary": "查询敞口主力合约",
  2464. "parameters": [
  2465. {
  2466. "type": "integer",
  2467. "description": "套保商品id",
  2468. "name": "middlegoodsid",
  2469. "in": "query",
  2470. "required": true
  2471. }
  2472. ],
  2473. "responses": {
  2474. "200": {
  2475. "description": "OK",
  2476. "schema": {
  2477. "type": "array",
  2478. "items": {
  2479. "$ref": "#/definitions/models.ErmcpMiddlegoodsRelateGoods"
  2480. }
  2481. }
  2482. },
  2483. "500": {
  2484. "description": "Internal Server Error",
  2485. "schema": {
  2486. "$ref": "#/definitions/app.Response"
  2487. }
  2488. }
  2489. }
  2490. }
  2491. },
  2492. "/Ermcp/QueryExposureHedgePosition": {
  2493. "get": {
  2494. "security": [
  2495. {
  2496. "ApiKeyAuth": []
  2497. }
  2498. ],
  2499. "produces": [
  2500. "application/json"
  2501. ],
  2502. "tags": [
  2503. "企业风险管理(app)"
  2504. ],
  2505. "summary": "查询敞口期货头寸(菜单:敞口/期货头寸)",
  2506. "parameters": [
  2507. {
  2508. "type": "integer",
  2509. "description": "用户id",
  2510. "name": "userid",
  2511. "in": "query",
  2512. "required": true
  2513. }
  2514. ],
  2515. "responses": {
  2516. "200": {
  2517. "description": "OK",
  2518. "schema": {
  2519. "type": "array",
  2520. "items": {
  2521. "$ref": "#/definitions/ermcp.ExposureHedgePositionRsp"
  2522. }
  2523. }
  2524. },
  2525. "500": {
  2526. "description": "Internal Server Error",
  2527. "schema": {
  2528. "$ref": "#/definitions/app.Response"
  2529. }
  2530. }
  2531. }
  2532. }
  2533. },
  2534. "/Ermcp/QueryExposureHedgePositionDetail": {
  2535. "get": {
  2536. "security": [
  2537. {
  2538. "ApiKeyAuth": []
  2539. }
  2540. ],
  2541. "produces": [
  2542. "application/json"
  2543. ],
  2544. "tags": [
  2545. "企业风险管理(app)"
  2546. ],
  2547. "summary": "查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)",
  2548. "parameters": [
  2549. {
  2550. "type": "integer",
  2551. "description": "所属机构ID",
  2552. "name": "userid",
  2553. "in": "query",
  2554. "required": true
  2555. },
  2556. {
  2557. "type": "integer",
  2558. "description": "商品id",
  2559. "name": "goodsId",
  2560. "in": "query",
  2561. "required": true
  2562. }
  2563. ],
  2564. "responses": {
  2565. "200": {
  2566. "description": "OK",
  2567. "schema": {
  2568. "type": "array",
  2569. "items": {
  2570. "$ref": "#/definitions/ermcp.ExposureHedgePosDetailRsp"
  2571. }
  2572. }
  2573. },
  2574. "500": {
  2575. "description": "Internal Server Error",
  2576. "schema": {
  2577. "$ref": "#/definitions/app.Response"
  2578. }
  2579. }
  2580. }
  2581. }
  2582. },
  2583. "/Ermcp/QueryExposureSpot": {
  2584. "get": {
  2585. "security": [
  2586. {
  2587. "ApiKeyAuth": []
  2588. }
  2589. ],
  2590. "produces": [
  2591. "application/json"
  2592. ],
  2593. "tags": [
  2594. "企业风险管理(app)"
  2595. ],
  2596. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  2597. "parameters": [
  2598. {
  2599. "type": "integer",
  2600. "description": "所属机构ID",
  2601. "name": "areaUserId",
  2602. "in": "query",
  2603. "required": true
  2604. }
  2605. ],
  2606. "responses": {
  2607. "200": {
  2608. "description": "OK",
  2609. "schema": {
  2610. "type": "array",
  2611. "items": {
  2612. "$ref": "#/definitions/ermcp.ExposureSpotRsp"
  2613. }
  2614. }
  2615. },
  2616. "500": {
  2617. "description": "Internal Server Error",
  2618. "schema": {
  2619. "$ref": "#/definitions/app.Response"
  2620. }
  2621. }
  2622. }
  2623. }
  2624. },
  2625. "/Ermcp/QueryExposureSpotDetail": {
  2626. "get": {
  2627. "security": [
  2628. {
  2629. "ApiKeyAuth": []
  2630. }
  2631. ],
  2632. "produces": [
  2633. "application/json"
  2634. ],
  2635. "tags": [
  2636. "企业风险管理(app)"
  2637. ],
  2638. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  2639. "parameters": [
  2640. {
  2641. "type": "integer",
  2642. "description": "所属机构ID",
  2643. "name": "areaUserId",
  2644. "in": "query",
  2645. "required": true
  2646. },
  2647. {
  2648. "type": "integer",
  2649. "description": "现货品种ID",
  2650. "name": "wrstandardId",
  2651. "in": "query",
  2652. "required": true
  2653. }
  2654. ],
  2655. "responses": {
  2656. "200": {
  2657. "description": "OK",
  2658. "schema": {
  2659. "type": "array",
  2660. "items": {
  2661. "$ref": "#/definitions/ermcp.ExposureSpotDetailRsp"
  2662. }
  2663. }
  2664. },
  2665. "500": {
  2666. "description": "Internal Server Error",
  2667. "schema": {
  2668. "$ref": "#/definitions/app.Response"
  2669. }
  2670. }
  2671. }
  2672. }
  2673. },
  2674. "/Ermcp/QueryFuturesCompany": {
  2675. "get": {
  2676. "security": [
  2677. {
  2678. "ApiKeyAuth": []
  2679. }
  2680. ],
  2681. "produces": [
  2682. "application/json"
  2683. ],
  2684. "tags": [
  2685. "企业风险管理(app)"
  2686. ],
  2687. "summary": "查询期货公司",
  2688. "responses": {
  2689. "200": {
  2690. "description": "OK",
  2691. "schema": {
  2692. "type": "array",
  2693. "items": {
  2694. "$ref": "#/definitions/models.ErmcpFuturesCompany"
  2695. }
  2696. }
  2697. },
  2698. "500": {
  2699. "description": "Internal Server Error",
  2700. "schema": {
  2701. "$ref": "#/definitions/app.Response"
  2702. }
  2703. }
  2704. }
  2705. }
  2706. },
  2707. "/Ermcp/QueryGGConvertConfig": {
  2708. "get": {
  2709. "security": [
  2710. {
  2711. "ApiKeyAuth": []
  2712. }
  2713. ],
  2714. "produces": [
  2715. "application/json"
  2716. ],
  2717. "tags": [
  2718. "企业风险管理(app)"
  2719. ],
  2720. "summary": "查询期货品种配置(菜单:商品信息/期货品种)",
  2721. "parameters": [
  2722. {
  2723. "type": "integer",
  2724. "description": "品种id(不填则查所有)",
  2725. "name": "goodsgroupid",
  2726. "in": "query"
  2727. }
  2728. ],
  2729. "responses": {
  2730. "200": {
  2731. "description": "OK",
  2732. "schema": {
  2733. "type": "array",
  2734. "items": {
  2735. "$ref": "#/definitions/ermcp.QryGGCovertCfgRsp"
  2736. }
  2737. }
  2738. },
  2739. "500": {
  2740. "description": "Internal Server Error",
  2741. "schema": {
  2742. "$ref": "#/definitions/app.Response"
  2743. }
  2744. }
  2745. }
  2746. }
  2747. },
  2748. "/Ermcp/QueryGoodsBrand": {
  2749. "get": {
  2750. "security": [
  2751. {
  2752. "ApiKeyAuth": []
  2753. }
  2754. ],
  2755. "produces": [
  2756. "application/json"
  2757. ],
  2758. "tags": [
  2759. "企业风险管理(app)"
  2760. ],
  2761. "summary": "查询商品品牌",
  2762. "parameters": [
  2763. {
  2764. "type": "integer",
  2765. "description": "用户ID",
  2766. "name": "userid",
  2767. "in": "query",
  2768. "required": true
  2769. },
  2770. {
  2771. "type": "integer",
  2772. "description": "现货商品ID",
  2773. "name": "wrstandardid",
  2774. "in": "query"
  2775. }
  2776. ],
  2777. "responses": {
  2778. "200": {
  2779. "description": "OK",
  2780. "schema": {
  2781. "type": "array",
  2782. "items": {
  2783. "$ref": "#/definitions/models.ErmcpGoodsBrand"
  2784. }
  2785. }
  2786. },
  2787. "500": {
  2788. "description": "Internal Server Error",
  2789. "schema": {
  2790. "$ref": "#/definitions/app.Response"
  2791. }
  2792. }
  2793. }
  2794. }
  2795. },
  2796. "/Ermcp/QueryGoodsModel": {
  2797. "get": {
  2798. "security": [
  2799. {
  2800. "ApiKeyAuth": []
  2801. }
  2802. ],
  2803. "produces": [
  2804. "application/json"
  2805. ],
  2806. "tags": [
  2807. "企业风险管理(app)"
  2808. ],
  2809. "summary": "查询商品型号",
  2810. "parameters": [
  2811. {
  2812. "type": "integer",
  2813. "description": "用户ID",
  2814. "name": "userid",
  2815. "in": "query",
  2816. "required": true
  2817. }
  2818. ],
  2819. "responses": {
  2820. "200": {
  2821. "description": "OK",
  2822. "schema": {
  2823. "type": "array",
  2824. "items": {
  2825. "$ref": "#/definitions/models.ErmcpGoodsModel"
  2826. }
  2827. }
  2828. },
  2829. "500": {
  2830. "description": "Internal Server Error",
  2831. "schema": {
  2832. "$ref": "#/definitions/app.Response"
  2833. }
  2834. }
  2835. }
  2836. }
  2837. },
  2838. "/Ermcp/QueryHisExposure": {
  2839. "get": {
  2840. "security": [
  2841. {
  2842. "ApiKeyAuth": []
  2843. }
  2844. ],
  2845. "produces": [
  2846. "application/json"
  2847. ],
  2848. "tags": [
  2849. "企业风险管理(app)"
  2850. ],
  2851. "summary": "查询历史敞口(菜单:敞口/历史敞口)",
  2852. "parameters": [
  2853. {
  2854. "type": "integer",
  2855. "description": "用户id",
  2856. "name": "userid",
  2857. "in": "query",
  2858. "required": true
  2859. },
  2860. {
  2861. "type": "integer",
  2862. "description": "每个品种记录数",
  2863. "name": "lastNum",
  2864. "in": "query",
  2865. "required": true
  2866. }
  2867. ],
  2868. "responses": {
  2869. "200": {
  2870. "description": "OK",
  2871. "schema": {
  2872. "type": "array",
  2873. "items": {
  2874. "$ref": "#/definitions/ermcp.HisExposureRsp"
  2875. }
  2876. }
  2877. },
  2878. "500": {
  2879. "description": "Internal Server Error",
  2880. "schema": {
  2881. "$ref": "#/definitions/app.Response"
  2882. }
  2883. }
  2884. }
  2885. }
  2886. },
  2887. "/Ermcp/QueryMiddleGoods": {
  2888. "get": {
  2889. "security": [
  2890. {
  2891. "ApiKeyAuth": []
  2892. }
  2893. ],
  2894. "produces": [
  2895. "application/json"
  2896. ],
  2897. "tags": [
  2898. "企业风险管理(app)"
  2899. ],
  2900. "summary": "查询套保品种(菜单:套保品种)",
  2901. "parameters": [
  2902. {
  2903. "type": "integer",
  2904. "description": "所属机构ID",
  2905. "name": "userid",
  2906. "in": "query",
  2907. "required": true
  2908. },
  2909. {
  2910. "type": "integer",
  2911. "description": "状态 0-停用 1-正常",
  2912. "name": "status",
  2913. "in": "query",
  2914. "required": true
  2915. }
  2916. ],
  2917. "responses": {
  2918. "200": {
  2919. "description": "OK",
  2920. "schema": {
  2921. "type": "array",
  2922. "items": {
  2923. "$ref": "#/definitions/ermcp.QryMiddleGoodsRsp"
  2924. }
  2925. }
  2926. },
  2927. "500": {
  2928. "description": "Internal Server Error",
  2929. "schema": {
  2930. "$ref": "#/definitions/app.Response"
  2931. }
  2932. }
  2933. }
  2934. }
  2935. },
  2936. "/Ermcp/QueryMiddleGoodsChangeLog": {
  2937. "get": {
  2938. "security": [
  2939. {
  2940. "ApiKeyAuth": []
  2941. }
  2942. ],
  2943. "produces": [
  2944. "application/json"
  2945. ],
  2946. "tags": [
  2947. "企业风险管理(app)"
  2948. ],
  2949. "summary": "查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)",
  2950. "parameters": [
  2951. {
  2952. "type": "integer",
  2953. "description": "所属机构ID",
  2954. "name": "userid",
  2955. "in": "query",
  2956. "required": true
  2957. },
  2958. {
  2959. "type": "integer",
  2960. "description": "套保品种id",
  2961. "name": "middlegoodsid",
  2962. "in": "query",
  2963. "required": true
  2964. }
  2965. ],
  2966. "responses": {
  2967. "200": {
  2968. "description": "OK",
  2969. "schema": {
  2970. "type": "array",
  2971. "items": {
  2972. "$ref": "#/definitions/ermcp.QryMGChangeLogRsp"
  2973. }
  2974. }
  2975. },
  2976. "500": {
  2977. "description": "Internal Server Error",
  2978. "schema": {
  2979. "$ref": "#/definitions/app.Response"
  2980. }
  2981. }
  2982. }
  2983. }
  2984. },
  2985. "/Ermcp/QueryMiddleGoodsDetail": {
  2986. "get": {
  2987. "security": [
  2988. {
  2989. "ApiKeyAuth": []
  2990. }
  2991. ],
  2992. "produces": [
  2993. "application/json"
  2994. ],
  2995. "tags": [
  2996. "企业风险管理(app)"
  2997. ],
  2998. "summary": "查询套保品种详情(菜单:套保品种/商品详情)",
  2999. "parameters": [
  3000. {
  3001. "type": "integer",
  3002. "description": "所属机构ID",
  3003. "name": "userid",
  3004. "in": "query",
  3005. "required": true
  3006. },
  3007. {
  3008. "type": "integer",
  3009. "description": "套保品种id",
  3010. "name": "middlegoodsid",
  3011. "in": "query"
  3012. }
  3013. ],
  3014. "responses": {
  3015. "200": {
  3016. "description": "OK",
  3017. "schema": {
  3018. "type": "array",
  3019. "items": {
  3020. "$ref": "#/definitions/ermcp.QryMiddleGoodsDetailRsp"
  3021. }
  3022. }
  3023. },
  3024. "500": {
  3025. "description": "Internal Server Error",
  3026. "schema": {
  3027. "$ref": "#/definitions/app.Response"
  3028. }
  3029. }
  3030. }
  3031. }
  3032. },
  3033. "/Ermcp/QueryPendingAuditInfo": {
  3034. "get": {
  3035. "security": [
  3036. {
  3037. "ApiKeyAuth": []
  3038. }
  3039. ],
  3040. "produces": [
  3041. "application/json"
  3042. ],
  3043. "tags": [
  3044. "企业风险管理(app)"
  3045. ],
  3046. "summary": "查询待审核数量信息(首页/菜单按钮小红点)",
  3047. "parameters": [
  3048. {
  3049. "type": "integer",
  3050. "description": "用户ID",
  3051. "name": "UserId",
  3052. "in": "query",
  3053. "required": true
  3054. }
  3055. ],
  3056. "responses": {
  3057. "200": {
  3058. "description": "OK",
  3059. "schema": {
  3060. "type": "array",
  3061. "items": {
  3062. "$ref": "#/definitions/ermcp.PendingAuditCntRsp"
  3063. }
  3064. }
  3065. },
  3066. "500": {
  3067. "description": "Internal Server Error",
  3068. "schema": {
  3069. "$ref": "#/definitions/app.Response"
  3070. }
  3071. }
  3072. }
  3073. }
  3074. },
  3075. "/Ermcp/QueryRealtimeExposure": {
  3076. "get": {
  3077. "security": [
  3078. {
  3079. "ApiKeyAuth": []
  3080. }
  3081. ],
  3082. "produces": [
  3083. "application/json"
  3084. ],
  3085. "tags": [
  3086. "企业风险管理(app)"
  3087. ],
  3088. "summary": "查询实时敞口",
  3089. "parameters": [
  3090. {
  3091. "type": "integer",
  3092. "description": "所属机构ID",
  3093. "name": "userid",
  3094. "in": "query",
  3095. "required": true
  3096. }
  3097. ],
  3098. "responses": {
  3099. "200": {
  3100. "description": "OK",
  3101. "schema": {
  3102. "type": "array",
  3103. "items": {
  3104. "$ref": "#/definitions/ermcp.RealtimeExposureRsp"
  3105. }
  3106. }
  3107. },
  3108. "500": {
  3109. "description": "Internal Server Error",
  3110. "schema": {
  3111. "$ref": "#/definitions/app.Response"
  3112. }
  3113. }
  3114. }
  3115. }
  3116. },
  3117. "/Ermcp/QueryRealtimeExposurePosition": {
  3118. "get": {
  3119. "security": [
  3120. {
  3121. "ApiKeyAuth": []
  3122. }
  3123. ],
  3124. "produces": [
  3125. "application/json"
  3126. ],
  3127. "tags": [
  3128. "企业风险管理(app)"
  3129. ],
  3130. "summary": "查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)",
  3131. "parameters": [
  3132. {
  3133. "type": "integer",
  3134. "description": "用户id",
  3135. "name": "userid",
  3136. "in": "query",
  3137. "required": true
  3138. },
  3139. {
  3140. "type": "integer",
  3141. "description": "套保商品ID",
  3142. "name": "middleGoodsId",
  3143. "in": "query",
  3144. "required": true
  3145. }
  3146. ],
  3147. "responses": {
  3148. "200": {
  3149. "description": "OK",
  3150. "schema": {
  3151. "type": "array",
  3152. "items": {
  3153. "$ref": "#/definitions/ermcp.RealtimeExposurePositionRsp"
  3154. }
  3155. }
  3156. },
  3157. "500": {
  3158. "description": "Internal Server Error",
  3159. "schema": {
  3160. "$ref": "#/definitions/app.Response"
  3161. }
  3162. }
  3163. }
  3164. }
  3165. },
  3166. "/Ermcp/QueryRoleMenu": {
  3167. "get": {
  3168. "security": [
  3169. {
  3170. "ApiKeyAuth": []
  3171. }
  3172. ],
  3173. "produces": [
  3174. "application/json"
  3175. ],
  3176. "tags": [
  3177. "企业风险管理(app)"
  3178. ],
  3179. "summary": "查询角色菜单和权限",
  3180. "parameters": [
  3181. {
  3182. "type": "integer",
  3183. "description": "登录ID",
  3184. "name": "loginid",
  3185. "in": "query",
  3186. "required": true
  3187. },
  3188. {
  3189. "type": "integer",
  3190. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易",
  3191. "name": "menutype",
  3192. "in": "query"
  3193. }
  3194. ],
  3195. "responses": {
  3196. "200": {
  3197. "description": "OK",
  3198. "schema": {
  3199. "type": "array",
  3200. "items": {
  3201. "$ref": "#/definitions/models.RoleMenu"
  3202. }
  3203. }
  3204. },
  3205. "500": {
  3206. "description": "Internal Server Error",
  3207. "schema": {
  3208. "$ref": "#/definitions/app.Response"
  3209. }
  3210. }
  3211. }
  3212. }
  3213. },
  3214. "/Ermcp/QueryTradeConfigTMP": {
  3215. "get": {
  3216. "security": [
  3217. {
  3218. "ApiKeyAuth": []
  3219. }
  3220. ],
  3221. "produces": [
  3222. "application/json"
  3223. ],
  3224. "tags": [
  3225. "企业风险管理(app)"
  3226. ],
  3227. "summary": "查询交易模板配置",
  3228. "parameters": [
  3229. {
  3230. "type": "integer",
  3231. "description": "所属机构id",
  3232. "name": "areauserid",
  3233. "in": "query"
  3234. }
  3235. ],
  3236. "responses": {
  3237. "200": {
  3238. "description": "OK",
  3239. "schema": {
  3240. "type": "array",
  3241. "items": {
  3242. "$ref": "#/definitions/models.ErmcpTradeConfigTMP"
  3243. }
  3244. }
  3245. },
  3246. "500": {
  3247. "description": "Internal Server Error",
  3248. "schema": {
  3249. "$ref": "#/definitions/app.Response"
  3250. }
  3251. }
  3252. }
  3253. }
  3254. },
  3255. "/Ermcp/QueryUserInfo": {
  3256. "get": {
  3257. "security": [
  3258. {
  3259. "ApiKeyAuth": []
  3260. }
  3261. ],
  3262. "produces": [
  3263. "application/json"
  3264. ],
  3265. "tags": [
  3266. "企业风险管理(app)"
  3267. ],
  3268. "summary": "查询客户资料",
  3269. "parameters": [
  3270. {
  3271. "type": "integer",
  3272. "description": "所属机构用户ID",
  3273. "name": "MemberUserID",
  3274. "in": "query",
  3275. "required": true
  3276. },
  3277. {
  3278. "type": "integer",
  3279. "description": "查询类型(1:未提交 2:待审核 3:正常 4:停用)",
  3280. "name": "queryType",
  3281. "in": "query",
  3282. "required": true
  3283. }
  3284. ],
  3285. "responses": {
  3286. "200": {
  3287. "description": "OK",
  3288. "schema": {
  3289. "type": "array",
  3290. "items": {
  3291. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  3292. }
  3293. }
  3294. },
  3295. "500": {
  3296. "description": "Internal Server Error",
  3297. "schema": {
  3298. "$ref": "#/definitions/app.Response"
  3299. }
  3300. }
  3301. }
  3302. }
  3303. },
  3304. "/Ermcp/QueryWarehouseInfo": {
  3305. "get": {
  3306. "security": [
  3307. {
  3308. "ApiKeyAuth": []
  3309. }
  3310. ],
  3311. "produces": [
  3312. "application/json"
  3313. ],
  3314. "tags": [
  3315. "企业风险管理(app)"
  3316. ],
  3317. "summary": "查询仓库信息",
  3318. "parameters": [
  3319. {
  3320. "type": "integer",
  3321. "description": "用户ID",
  3322. "name": "userid",
  3323. "in": "query",
  3324. "required": true
  3325. },
  3326. {
  3327. "type": "string",
  3328. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  3329. "name": "status",
  3330. "in": "query"
  3331. }
  3332. ],
  3333. "responses": {
  3334. "200": {
  3335. "description": "OK",
  3336. "schema": {
  3337. "type": "array",
  3338. "items": {
  3339. "$ref": "#/definitions/ermcp.QryWarehouseRsp"
  3340. }
  3341. }
  3342. },
  3343. "500": {
  3344. "description": "Internal Server Error",
  3345. "schema": {
  3346. "$ref": "#/definitions/app.Response"
  3347. }
  3348. }
  3349. }
  3350. }
  3351. },
  3352. "/Ermcp3/QryAreaExpourseContractDetail": {
  3353. "get": {
  3354. "security": [
  3355. {
  3356. "ApiKeyAuth": []
  3357. }
  3358. ],
  3359. "produces": [
  3360. "application/json"
  3361. ],
  3362. "tags": [
  3363. "企业风险管理v3(app)"
  3364. ],
  3365. "summary": "查询敞口合同明细(敞口报表/现货合同明细)",
  3366. "parameters": [
  3367. {
  3368. "type": "integer",
  3369. "description": "用户ID",
  3370. "name": "userid",
  3371. "in": "query",
  3372. "required": true
  3373. },
  3374. {
  3375. "type": "integer",
  3376. "description": "套保商品id",
  3377. "name": "middlegoodsid",
  3378. "in": "query",
  3379. "required": true
  3380. },
  3381. {
  3382. "type": "integer",
  3383. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3384. "name": "cycletype",
  3385. "in": "query",
  3386. "required": true
  3387. },
  3388. {
  3389. "type": "string",
  3390. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3391. "name": "cycletime",
  3392. "in": "query",
  3393. "required": true
  3394. }
  3395. ],
  3396. "responses": {
  3397. "200": {
  3398. "description": "OK",
  3399. "schema": {
  3400. "type": "array",
  3401. "items": {
  3402. "$ref": "#/definitions/models.Ermcp3ExposureContractDetail"
  3403. }
  3404. }
  3405. },
  3406. "500": {
  3407. "description": "Internal Server Error",
  3408. "schema": {
  3409. "$ref": "#/definitions/app.Response"
  3410. }
  3411. }
  3412. }
  3413. }
  3414. },
  3415. "/Ermcp3/QryAreaExpourseFutuDetail": {
  3416. "get": {
  3417. "security": [
  3418. {
  3419. "ApiKeyAuth": []
  3420. }
  3421. ],
  3422. "produces": [
  3423. "application/json"
  3424. ],
  3425. "tags": [
  3426. "企业风险管理v3(app)"
  3427. ],
  3428. "summary": "查询敞口期货明细(敞口报表/期货明细)",
  3429. "parameters": [
  3430. {
  3431. "type": "integer",
  3432. "description": "用户ID",
  3433. "name": "userid",
  3434. "in": "query",
  3435. "required": true
  3436. },
  3437. {
  3438. "type": "integer",
  3439. "description": "套保商品id",
  3440. "name": "middlegoodsid",
  3441. "in": "query",
  3442. "required": true
  3443. },
  3444. {
  3445. "type": "integer",
  3446. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3447. "name": "cycletype",
  3448. "in": "query",
  3449. "required": true
  3450. },
  3451. {
  3452. "type": "string",
  3453. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3454. "name": "cycletime",
  3455. "in": "query",
  3456. "required": true
  3457. }
  3458. ],
  3459. "responses": {
  3460. "200": {
  3461. "description": "OK",
  3462. "schema": {
  3463. "type": "array",
  3464. "items": {
  3465. "$ref": "#/definitions/models.Ermcp3ExposureFutuDetail"
  3466. }
  3467. }
  3468. },
  3469. "500": {
  3470. "description": "Internal Server Error",
  3471. "schema": {
  3472. "$ref": "#/definitions/app.Response"
  3473. }
  3474. }
  3475. }
  3476. }
  3477. },
  3478. "/Ermcp3/QryAreaExpourseHedgeplanDetail": {
  3479. "get": {
  3480. "security": [
  3481. {
  3482. "ApiKeyAuth": []
  3483. }
  3484. ],
  3485. "produces": [
  3486. "application/json"
  3487. ],
  3488. "tags": [
  3489. "企业风险管理v3(app)"
  3490. ],
  3491. "summary": "查询敞口套保计划明细(敞口报表/套保计划明细)",
  3492. "parameters": [
  3493. {
  3494. "type": "integer",
  3495. "description": "用户ID",
  3496. "name": "userid",
  3497. "in": "query",
  3498. "required": true
  3499. },
  3500. {
  3501. "type": "integer",
  3502. "description": "套保商品id",
  3503. "name": "middlegoodsid",
  3504. "in": "query",
  3505. "required": true
  3506. },
  3507. {
  3508. "type": "integer",
  3509. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3510. "name": "cycletype",
  3511. "in": "query",
  3512. "required": true
  3513. },
  3514. {
  3515. "type": "string",
  3516. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3517. "name": "cycletime",
  3518. "in": "query",
  3519. "required": true
  3520. }
  3521. ],
  3522. "responses": {
  3523. "200": {
  3524. "description": "OK",
  3525. "schema": {
  3526. "type": "array",
  3527. "items": {
  3528. "$ref": "#/definitions/models.Ermcp3ExposureHedgeplanDetail"
  3529. }
  3530. }
  3531. },
  3532. "500": {
  3533. "description": "Internal Server Error",
  3534. "schema": {
  3535. "$ref": "#/definitions/app.Response"
  3536. }
  3537. }
  3538. }
  3539. }
  3540. },
  3541. "/Ermcp3/QryAreaExpourseParamChLogDetail": {
  3542. "get": {
  3543. "security": [
  3544. {
  3545. "ApiKeyAuth": []
  3546. }
  3547. ],
  3548. "produces": [
  3549. "application/json"
  3550. ],
  3551. "tags": [
  3552. "企业风险管理v3(app)"
  3553. ],
  3554. "summary": "查询敞口参数调整明细(敞口报表/参数调整明细)",
  3555. "parameters": [
  3556. {
  3557. "type": "integer",
  3558. "description": "用户ID",
  3559. "name": "userid",
  3560. "in": "query",
  3561. "required": true
  3562. },
  3563. {
  3564. "type": "integer",
  3565. "description": "套保商品id",
  3566. "name": "middlegoodsid",
  3567. "in": "query",
  3568. "required": true
  3569. },
  3570. {
  3571. "type": "integer",
  3572. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3573. "name": "cycletype",
  3574. "in": "query",
  3575. "required": true
  3576. },
  3577. {
  3578. "type": "string",
  3579. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3580. "name": "cycletime",
  3581. "in": "query",
  3582. "required": true
  3583. }
  3584. ],
  3585. "responses": {
  3586. "200": {
  3587. "description": "OK",
  3588. "schema": {
  3589. "type": "array",
  3590. "items": {
  3591. "$ref": "#/definitions/models.Ermcp3ExposureParamChLog"
  3592. }
  3593. }
  3594. },
  3595. "500": {
  3596. "description": "Internal Server Error",
  3597. "schema": {
  3598. "$ref": "#/definitions/app.Response"
  3599. }
  3600. }
  3601. }
  3602. }
  3603. },
  3604. "/Ermcp3/QryAreaExpourseReport": {
  3605. "get": {
  3606. "security": [
  3607. {
  3608. "ApiKeyAuth": []
  3609. }
  3610. ],
  3611. "produces": [
  3612. "application/json"
  3613. ],
  3614. "tags": [
  3615. "企业风险管理v3(app)"
  3616. ],
  3617. "summary": "查询敞口报表",
  3618. "parameters": [
  3619. {
  3620. "type": "integer",
  3621. "description": "用户ID",
  3622. "name": "userid",
  3623. "in": "query",
  3624. "required": true
  3625. },
  3626. {
  3627. "type": "integer",
  3628. "description": "查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口",
  3629. "name": "querytype",
  3630. "in": "query",
  3631. "required": true
  3632. },
  3633. {
  3634. "type": "integer",
  3635. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3636. "name": "cycletype",
  3637. "in": "query",
  3638. "required": true
  3639. },
  3640. {
  3641. "type": "string",
  3642. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3643. "name": "cycletime",
  3644. "in": "query",
  3645. "required": true
  3646. }
  3647. ],
  3648. "responses": {
  3649. "200": {
  3650. "description": "OK",
  3651. "schema": {
  3652. "type": "array",
  3653. "items": {
  3654. "$ref": "#/definitions/models.Ermcp3ExpourseReport"
  3655. }
  3656. }
  3657. },
  3658. "500": {
  3659. "description": "Internal Server Error",
  3660. "schema": {
  3661. "$ref": "#/definitions/app.Response"
  3662. }
  3663. }
  3664. }
  3665. }
  3666. },
  3667. "/Ermcp3/QryAreaSpotplReport": {
  3668. "get": {
  3669. "security": [
  3670. {
  3671. "ApiKeyAuth": []
  3672. }
  3673. ],
  3674. "description": "目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1",
  3675. "produces": [
  3676. "application/json"
  3677. ],
  3678. "tags": [
  3679. "企业风险管理v3(app)"
  3680. ],
  3681. "summary": "查询现货报表",
  3682. "parameters": [
  3683. {
  3684. "type": "integer",
  3685. "description": "用户ID",
  3686. "name": "userid",
  3687. "in": "query",
  3688. "required": true
  3689. },
  3690. {
  3691. "type": "integer",
  3692. "description": "查询类型 1-报表 2-报表明细",
  3693. "name": "querytype",
  3694. "in": "query",
  3695. "required": true
  3696. },
  3697. {
  3698. "type": "integer",
  3699. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3700. "name": "cycletype",
  3701. "in": "query",
  3702. "required": true
  3703. },
  3704. {
  3705. "type": "string",
  3706. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3707. "name": "cycletime",
  3708. "in": "query",
  3709. "required": true
  3710. },
  3711. {
  3712. "type": "integer",
  3713. "description": "现货品种id(明细必填)",
  3714. "name": "deliverygoodsid",
  3715. "in": "query"
  3716. },
  3717. {
  3718. "type": "integer",
  3719. "description": "币种id(明细必填)",
  3720. "name": "currencyid",
  3721. "in": "query"
  3722. },
  3723. {
  3724. "type": "integer",
  3725. "description": "日/周/月报表汇总维度 1:品种+品类",
  3726. "name": "sumflag",
  3727. "in": "query"
  3728. }
  3729. ],
  3730. "responses": {
  3731. "200": {
  3732. "description": "OK",
  3733. "schema": {
  3734. "type": "array",
  3735. "items": {
  3736. "$ref": "#/definitions/models.Ermcp3AreaSpotPLReport"
  3737. }
  3738. }
  3739. },
  3740. "500": {
  3741. "description": "Internal Server Error",
  3742. "schema": {
  3743. "$ref": "#/definitions/app.Response"
  3744. }
  3745. }
  3746. }
  3747. }
  3748. },
  3749. "/Ermcp3/QryAreaStockReport": {
  3750. "get": {
  3751. "security": [
  3752. {
  3753. "ApiKeyAuth": []
  3754. }
  3755. ],
  3756. "produces": [
  3757. "application/json"
  3758. ],
  3759. "tags": [
  3760. "企业风险管理v3(app)"
  3761. ],
  3762. "summary": "查询库存报表",
  3763. "parameters": [
  3764. {
  3765. "type": "integer",
  3766. "description": "用户ID",
  3767. "name": "userid",
  3768. "in": "query",
  3769. "required": true
  3770. },
  3771. {
  3772. "type": "integer",
  3773. "description": "查询类型 1-报表 2-报表明细",
  3774. "name": "querytype",
  3775. "in": "query",
  3776. "required": true
  3777. },
  3778. {
  3779. "type": "integer",
  3780. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3781. "name": "cycletype",
  3782. "in": "query",
  3783. "required": true
  3784. },
  3785. {
  3786. "type": "string",
  3787. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3788. "name": "cycletime",
  3789. "in": "query",
  3790. "required": true
  3791. },
  3792. {
  3793. "type": "string",
  3794. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库",
  3795. "name": "sumfields",
  3796. "in": "query"
  3797. },
  3798. {
  3799. "type": "integer",
  3800. "description": "品种ID",
  3801. "name": "deliverygoodsid",
  3802. "in": "query"
  3803. },
  3804. {
  3805. "type": "integer",
  3806. "description": "品类ID",
  3807. "name": "wrstandardid",
  3808. "in": "query"
  3809. },
  3810. {
  3811. "type": "integer",
  3812. "description": "品牌ID",
  3813. "name": "spotgoodsbrandid",
  3814. "in": "query"
  3815. },
  3816. {
  3817. "type": "integer",
  3818. "description": "仓库ID",
  3819. "name": "warehouseinfoid",
  3820. "in": "query"
  3821. }
  3822. ],
  3823. "responses": {
  3824. "200": {
  3825. "description": "OK",
  3826. "schema": {
  3827. "type": "array",
  3828. "items": {
  3829. "$ref": "#/definitions/models.Ermcp3AreaStockReportEx"
  3830. }
  3831. }
  3832. },
  3833. "500": {
  3834. "description": "Internal Server Error",
  3835. "schema": {
  3836. "$ref": "#/definitions/app.Response"
  3837. }
  3838. }
  3839. }
  3840. }
  3841. },
  3842. "/Ermcp3/QryAreaSumPL": {
  3843. "get": {
  3844. "security": [
  3845. {
  3846. "ApiKeyAuth": []
  3847. }
  3848. ],
  3849. "produces": [
  3850. "application/json"
  3851. ],
  3852. "tags": [
  3853. "企业风险管理v3(app)"
  3854. ],
  3855. "summary": "查询汇总损益表",
  3856. "parameters": [
  3857. {
  3858. "type": "integer",
  3859. "description": "用户ID",
  3860. "name": "userid",
  3861. "in": "query",
  3862. "required": true
  3863. },
  3864. {
  3865. "type": "integer",
  3866. "description": "查询类型 1-报表 2-报表明细",
  3867. "name": "querytype",
  3868. "in": "query",
  3869. "required": true
  3870. },
  3871. {
  3872. "type": "integer",
  3873. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3874. "name": "cycletype",
  3875. "in": "query",
  3876. "required": true
  3877. },
  3878. {
  3879. "type": "string",
  3880. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3881. "name": "cycletime",
  3882. "in": "query",
  3883. "required": true
  3884. },
  3885. {
  3886. "type": "integer",
  3887. "description": "币种id(明细必填)",
  3888. "name": "currencyid",
  3889. "in": "query"
  3890. },
  3891. {
  3892. "type": "integer",
  3893. "description": "套保品种ID, 查询类型为2时起效",
  3894. "name": "middlegoodsid",
  3895. "in": "query"
  3896. }
  3897. ],
  3898. "responses": {
  3899. "200": {
  3900. "description": "OK",
  3901. "schema": {
  3902. "type": "array",
  3903. "items": {
  3904. "$ref": "#/definitions/models.Ermcp3ArealSumPL"
  3905. }
  3906. }
  3907. },
  3908. "500": {
  3909. "description": "Internal Server Error",
  3910. "schema": {
  3911. "$ref": "#/definitions/app.Response"
  3912. }
  3913. }
  3914. }
  3915. }
  3916. },
  3917. "/Ermcp3/QryFinanceReport": {
  3918. "get": {
  3919. "security": [
  3920. {
  3921. "ApiKeyAuth": []
  3922. }
  3923. ],
  3924. "produces": [
  3925. "application/json"
  3926. ],
  3927. "tags": [
  3928. "企业风险管理v3(app)"
  3929. ],
  3930. "summary": "查询财务报表",
  3931. "parameters": [
  3932. {
  3933. "type": "integer",
  3934. "description": "用户ID",
  3935. "name": "userid",
  3936. "in": "query",
  3937. "required": true
  3938. },
  3939. {
  3940. "type": "integer",
  3941. "description": "查询类型 1-报表 2-报表明细",
  3942. "name": "querytype",
  3943. "in": "query",
  3944. "required": true
  3945. },
  3946. {
  3947. "type": "integer",
  3948. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  3949. "name": "cycletype",
  3950. "in": "query",
  3951. "required": true
  3952. },
  3953. {
  3954. "type": "string",
  3955. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  3956. "name": "cycletime",
  3957. "in": "query",
  3958. "required": true
  3959. },
  3960. {
  3961. "type": "integer",
  3962. "description": "币种id(报表明细必填)",
  3963. "name": "currencyid",
  3964. "in": "query"
  3965. },
  3966. {
  3967. "type": "string",
  3968. "description": "汇总维度(逗号隔开) 1-品种 2-品类 3-品牌",
  3969. "name": "sumfields",
  3970. "in": "query"
  3971. }
  3972. ],
  3973. "responses": {
  3974. "200": {
  3975. "description": "OK",
  3976. "schema": {
  3977. "type": "array",
  3978. "items": {
  3979. "$ref": "#/definitions/models.Ermcp3FinanceReport"
  3980. }
  3981. }
  3982. },
  3983. "500": {
  3984. "description": "Internal Server Error",
  3985. "schema": {
  3986. "$ref": "#/definitions/app.Response"
  3987. }
  3988. }
  3989. }
  3990. }
  3991. },
  3992. "/Ermcp3/QrySCMiddleGoodsReport": {
  3993. "get": {
  3994. "security": [
  3995. {
  3996. "ApiKeyAuth": []
  3997. }
  3998. ],
  3999. "produces": [
  4000. "application/json"
  4001. ],
  4002. "tags": [
  4003. "企业风险管理v3(app)"
  4004. ],
  4005. "summary": "查询定价报表",
  4006. "parameters": [
  4007. {
  4008. "type": "integer",
  4009. "description": "用户ID",
  4010. "name": "userid",
  4011. "in": "query",
  4012. "required": true
  4013. },
  4014. {
  4015. "type": "integer",
  4016. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4017. "name": "cycletype",
  4018. "in": "query",
  4019. "required": true
  4020. },
  4021. {
  4022. "type": "string",
  4023. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4024. "name": "cycletime",
  4025. "in": "query",
  4026. "required": true
  4027. },
  4028. {
  4029. "type": "integer",
  4030. "description": "合同id",
  4031. "name": "spotcontractid",
  4032. "in": "query"
  4033. },
  4034. {
  4035. "type": "integer",
  4036. "description": "套保品种id",
  4037. "name": "middlegoodsid",
  4038. "in": "query"
  4039. },
  4040. {
  4041. "type": "integer",
  4042. "description": "现货品种id",
  4043. "name": "deliverygoodsid",
  4044. "in": "query"
  4045. },
  4046. {
  4047. "type": "integer",
  4048. "description": "现货商品id",
  4049. "name": "wrstandardid",
  4050. "in": "query"
  4051. },
  4052. {
  4053. "type": "string",
  4054. "description": "合同编号(模糊匹配)",
  4055. "name": "contractno",
  4056. "in": "query"
  4057. }
  4058. ],
  4059. "responses": {
  4060. "200": {
  4061. "description": "OK",
  4062. "schema": {
  4063. "type": "array",
  4064. "items": {
  4065. "$ref": "#/definitions/models.Ermcp3SCMiddleGoodsReport"
  4066. }
  4067. }
  4068. },
  4069. "500": {
  4070. "description": "Internal Server Error",
  4071. "schema": {
  4072. "$ref": "#/definitions/app.Response"
  4073. }
  4074. }
  4075. }
  4076. }
  4077. },
  4078. "/Ermcp3/QryTaFutureDataReport": {
  4079. "get": {
  4080. "security": [
  4081. {
  4082. "ApiKeyAuth": []
  4083. }
  4084. ],
  4085. "produces": [
  4086. "application/json"
  4087. ],
  4088. "tags": [
  4089. "企业风险管理v3(app)"
  4090. ],
  4091. "summary": "查询期货报表",
  4092. "parameters": [
  4093. {
  4094. "type": "integer",
  4095. "description": "用户ID",
  4096. "name": "userid",
  4097. "in": "query",
  4098. "required": true
  4099. },
  4100. {
  4101. "type": "integer",
  4102. "description": "查询类型 1-报表 2-报表明细",
  4103. "name": "querytype",
  4104. "in": "query",
  4105. "required": true
  4106. },
  4107. {
  4108. "type": "integer",
  4109. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  4110. "name": "cycletype",
  4111. "in": "query",
  4112. "required": true
  4113. },
  4114. {
  4115. "type": "string",
  4116. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  4117. "name": "cycletime",
  4118. "in": "query",
  4119. "required": true
  4120. },
  4121. {
  4122. "type": "integer",
  4123. "description": "币种id(查明细必填)",
  4124. "name": "currencyid",
  4125. "in": "query"
  4126. },
  4127. {
  4128. "type": "integer",
  4129. "description": "品种id(查明细必填)",
  4130. "name": "goodsgroupid",
  4131. "in": "query"
  4132. },
  4133. {
  4134. "type": "integer",
  4135. "description": "商品id(查明细必填)",
  4136. "name": "goodsid",
  4137. "in": "query"
  4138. },
  4139. {
  4140. "type": "integer",
  4141. "description": "买卖方向(查明细必填)",
  4142. "name": "buyorsell",
  4143. "in": "query"
  4144. }
  4145. ],
  4146. "responses": {
  4147. "200": {
  4148. "description": "OK",
  4149. "schema": {
  4150. "type": "array",
  4151. "items": {
  4152. "$ref": "#/definitions/models.Ermcp3TaFutuReDataReport"
  4153. }
  4154. }
  4155. },
  4156. "500": {
  4157. "description": "Internal Server Error",
  4158. "schema": {
  4159. "$ref": "#/definitions/app.Response"
  4160. }
  4161. }
  4162. }
  4163. }
  4164. },
  4165. "/Ermcp3/QueryAreaStock": {
  4166. "get": {
  4167. "security": [
  4168. {
  4169. "ApiKeyAuth": []
  4170. }
  4171. ],
  4172. "produces": [
  4173. "application/json"
  4174. ],
  4175. "tags": [
  4176. "企业风险管理v3(app)"
  4177. ],
  4178. "summary": "查询机构库存(库存管理/当前库存)",
  4179. "parameters": [
  4180. {
  4181. "type": "integer",
  4182. "description": "用户ID",
  4183. "name": "userid",
  4184. "in": "query",
  4185. "required": true
  4186. }
  4187. ],
  4188. "responses": {
  4189. "200": {
  4190. "description": "OK",
  4191. "schema": {
  4192. "type": "array",
  4193. "items": {
  4194. "$ref": "#/definitions/models.Ermcp3AreaStock"
  4195. }
  4196. }
  4197. },
  4198. "500": {
  4199. "description": "Internal Server Error",
  4200. "schema": {
  4201. "$ref": "#/definitions/app.Response"
  4202. }
  4203. }
  4204. }
  4205. }
  4206. },
  4207. "/Ermcp3/QueryAreaStockApply": {
  4208. "get": {
  4209. "security": [
  4210. {
  4211. "ApiKeyAuth": []
  4212. }
  4213. ],
  4214. "produces": [
  4215. "application/json"
  4216. ],
  4217. "tags": [
  4218. "企业风险管理v3(app)"
  4219. ],
  4220. "summary": "查询库存申请(出入库记录|库存审核)",
  4221. "parameters": [
  4222. {
  4223. "type": "integer",
  4224. "description": "用户ID",
  4225. "name": "userid",
  4226. "in": "query",
  4227. "required": true
  4228. },
  4229. {
  4230. "type": "integer",
  4231. "description": "用户类型 2-机构 7-企业成员",
  4232. "name": "usertype",
  4233. "in": "query"
  4234. },
  4235. {
  4236. "type": "integer",
  4237. "description": "现货商品ID",
  4238. "name": "deliverygoodsid",
  4239. "in": "query"
  4240. },
  4241. {
  4242. "type": "string",
  4243. "description": "出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  4244. "name": "inouttype",
  4245. "in": "query"
  4246. },
  4247. {
  4248. "type": "integer",
  4249. "description": "合同ID",
  4250. "name": "spotcontractid",
  4251. "in": "query"
  4252. },
  4253. {
  4254. "type": "integer",
  4255. "description": "品类ID",
  4256. "name": "wrstandardid",
  4257. "in": "query"
  4258. },
  4259. {
  4260. "type": "integer",
  4261. "description": "品牌ID",
  4262. "name": "spotgoodsbrandid",
  4263. "in": "query"
  4264. },
  4265. {
  4266. "type": "integer",
  4267. "description": "仓库ID",
  4268. "name": "warehouseinfoid",
  4269. "in": "query"
  4270. },
  4271. {
  4272. "type": "string",
  4273. "description": "申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  4274. "name": "applystatus",
  4275. "in": "query"
  4276. }
  4277. ],
  4278. "responses": {
  4279. "200": {
  4280. "description": "OK",
  4281. "schema": {
  4282. "type": "array",
  4283. "items": {
  4284. "$ref": "#/definitions/models.Ermcp3AreaStockApply"
  4285. }
  4286. }
  4287. },
  4288. "500": {
  4289. "description": "Internal Server Error",
  4290. "schema": {
  4291. "$ref": "#/definitions/app.Response"
  4292. }
  4293. }
  4294. }
  4295. }
  4296. },
  4297. "/Ermcp3/QueryAreaStockApplySum": {
  4298. "get": {
  4299. "security": [
  4300. {
  4301. "ApiKeyAuth": []
  4302. }
  4303. ],
  4304. "produces": [
  4305. "application/json"
  4306. ],
  4307. "tags": [
  4308. "企业风险管理v3(app)"
  4309. ],
  4310. "summary": "查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)",
  4311. "parameters": [
  4312. {
  4313. "type": "integer",
  4314. "description": "合同ID",
  4315. "name": "spotcontractid",
  4316. "in": "query",
  4317. "required": true
  4318. }
  4319. ],
  4320. "responses": {
  4321. "200": {
  4322. "description": "OK",
  4323. "schema": {
  4324. "type": "array",
  4325. "items": {
  4326. "$ref": "#/definitions/models.Ermcp3AreaStockApplySum"
  4327. }
  4328. }
  4329. },
  4330. "500": {
  4331. "description": "Internal Server Error",
  4332. "schema": {
  4333. "$ref": "#/definitions/app.Response"
  4334. }
  4335. }
  4336. }
  4337. }
  4338. },
  4339. "/Ermcp3/QueryDGFactoryItem": {
  4340. "get": {
  4341. "security": [
  4342. {
  4343. "ApiKeyAuth": []
  4344. }
  4345. ],
  4346. "produces": [
  4347. "application/json"
  4348. ],
  4349. "tags": [
  4350. "企业风险管理v3(app)"
  4351. ],
  4352. "summary": "查询品种要素定义项",
  4353. "parameters": [
  4354. {
  4355. "type": "integer",
  4356. "description": "用户id",
  4357. "name": "userid",
  4358. "in": "query"
  4359. },
  4360. {
  4361. "type": "integer",
  4362. "description": "用户类型 2-机构 7-企业成员",
  4363. "name": "usertype",
  4364. "in": "query"
  4365. },
  4366. {
  4367. "type": "integer",
  4368. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  4369. "name": "dgfactoryitemid",
  4370. "in": "query"
  4371. },
  4372. {
  4373. "type": "integer",
  4374. "description": "现货品种ID",
  4375. "name": "deliverygoodsid",
  4376. "in": "query"
  4377. },
  4378. {
  4379. "type": "integer",
  4380. "description": "要素项类型",
  4381. "name": "dgfactoryitemtypeid",
  4382. "in": "query"
  4383. },
  4384. {
  4385. "type": "integer",
  4386. "description": "顺序",
  4387. "name": "orderindex",
  4388. "in": "query"
  4389. }
  4390. ],
  4391. "responses": {
  4392. "200": {
  4393. "description": "OK",
  4394. "schema": {
  4395. "type": "array",
  4396. "items": {
  4397. "$ref": "#/definitions/models.ErmcpDGFactoryItem"
  4398. }
  4399. }
  4400. },
  4401. "500": {
  4402. "description": "Internal Server Error",
  4403. "schema": {
  4404. "$ref": "#/definitions/app.Response"
  4405. }
  4406. }
  4407. }
  4408. }
  4409. },
  4410. "/Ermcp3/QueryDeliveryGoods": {
  4411. "get": {
  4412. "security": [
  4413. {
  4414. "ApiKeyAuth": []
  4415. }
  4416. ],
  4417. "produces": [
  4418. "application/json"
  4419. ],
  4420. "tags": [
  4421. "企业风险管理v3(app)"
  4422. ],
  4423. "summary": "查询现货商品",
  4424. "parameters": [
  4425. {
  4426. "type": "integer",
  4427. "description": "用户id",
  4428. "name": "userid",
  4429. "in": "query",
  4430. "required": true
  4431. },
  4432. {
  4433. "type": "integer",
  4434. "description": "用户类型 2-机构 7-企业成员",
  4435. "name": "usertype",
  4436. "in": "query"
  4437. },
  4438. {
  4439. "type": "integer",
  4440. "description": "排除已配置的业务类型商品 1-套保 2-套利",
  4441. "name": "excludecfg",
  4442. "in": "query"
  4443. }
  4444. ],
  4445. "responses": {
  4446. "200": {
  4447. "description": "OK",
  4448. "schema": {
  4449. "type": "array",
  4450. "items": {
  4451. "$ref": "#/definitions/models.ErmcpDeliveryGoods"
  4452. }
  4453. }
  4454. },
  4455. "500": {
  4456. "description": "Internal Server Error",
  4457. "schema": {
  4458. "$ref": "#/definitions/app.Response"
  4459. }
  4460. }
  4461. }
  4462. }
  4463. },
  4464. "/Ermcp3/QueryDeliveryGoodsDetail": {
  4465. "get": {
  4466. "security": [
  4467. {
  4468. "ApiKeyAuth": []
  4469. }
  4470. ],
  4471. "produces": [
  4472. "application/json"
  4473. ],
  4474. "tags": [
  4475. "企业风险管理v3(app)"
  4476. ],
  4477. "summary": "查询现货商品详情",
  4478. "parameters": [
  4479. {
  4480. "type": "integer",
  4481. "description": "用户id",
  4482. "name": "userid",
  4483. "in": "query",
  4484. "required": true
  4485. },
  4486. {
  4487. "type": "integer",
  4488. "description": "用户类型 2-机构 7-企业成员",
  4489. "name": "usertype",
  4490. "in": "query"
  4491. },
  4492. {
  4493. "type": "integer",
  4494. "description": "现货商品id",
  4495. "name": "deliverygoodsid",
  4496. "in": "query"
  4497. },
  4498. {
  4499. "type": "integer",
  4500. "description": "过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示",
  4501. "name": "filtersubempty",
  4502. "in": "query"
  4503. }
  4504. ],
  4505. "responses": {
  4506. "200": {
  4507. "description": "OK",
  4508. "schema": {
  4509. "type": "array",
  4510. "items": {
  4511. "$ref": "#/definitions/models.XHDeliveryGoods"
  4512. }
  4513. }
  4514. },
  4515. "500": {
  4516. "description": "Internal Server Error",
  4517. "schema": {
  4518. "$ref": "#/definitions/app.Response"
  4519. }
  4520. }
  4521. }
  4522. }
  4523. },
  4524. "/Ermcp3/QueryErmcp3ContractMiddleGoodsCfg": {
  4525. "get": {
  4526. "security": [
  4527. {
  4528. "ApiKeyAuth": []
  4529. }
  4530. ],
  4531. "produces": [
  4532. "application/json"
  4533. ],
  4534. "tags": [
  4535. "企业风险管理v3(app)"
  4536. ],
  4537. "summary": "查询现货合同期现配置信息",
  4538. "parameters": [
  4539. {
  4540. "type": "string",
  4541. "description": "合同id",
  4542. "name": "spotcontractid",
  4543. "in": "query",
  4544. "required": true
  4545. }
  4546. ],
  4547. "responses": {
  4548. "200": {
  4549. "description": "OK",
  4550. "schema": {
  4551. "type": "array",
  4552. "items": {
  4553. "$ref": "#/definitions/models.Ermcp3ContractMiddleGoodsCfg"
  4554. }
  4555. }
  4556. },
  4557. "500": {
  4558. "description": "Internal Server Error",
  4559. "schema": {
  4560. "$ref": "#/definitions/app.Response"
  4561. }
  4562. }
  4563. }
  4564. }
  4565. },
  4566. "/Ermcp3/QueryExposureDetail": {
  4567. "get": {
  4568. "security": [
  4569. {
  4570. "ApiKeyAuth": []
  4571. }
  4572. ],
  4573. "produces": [
  4574. "application/json"
  4575. ],
  4576. "tags": [
  4577. "企业风险管理v3(app)"
  4578. ],
  4579. "summary": "查询敞口现货明细",
  4580. "parameters": [
  4581. {
  4582. "type": "integer",
  4583. "description": "用户id",
  4584. "name": "userid",
  4585. "in": "query",
  4586. "required": true
  4587. },
  4588. {
  4589. "type": "integer",
  4590. "description": "用户类型 2-机构 7-企业成员",
  4591. "name": "usertype",
  4592. "in": "query"
  4593. },
  4594. {
  4595. "type": "integer",
  4596. "description": "套保商品",
  4597. "name": "middlegoodsid",
  4598. "in": "query",
  4599. "required": true
  4600. }
  4601. ],
  4602. "responses": {
  4603. "200": {
  4604. "description": "OK",
  4605. "schema": {
  4606. "type": "array",
  4607. "items": {
  4608. "$ref": "#/definitions/models.Ermcp3ExposureDetail"
  4609. }
  4610. }
  4611. },
  4612. "500": {
  4613. "description": "Internal Server Error",
  4614. "schema": {
  4615. "$ref": "#/definitions/app.Response"
  4616. }
  4617. }
  4618. }
  4619. }
  4620. },
  4621. "/Ermcp3/QueryExposureSpot": {
  4622. "get": {
  4623. "security": [
  4624. {
  4625. "ApiKeyAuth": []
  4626. }
  4627. ],
  4628. "produces": [
  4629. "application/json"
  4630. ],
  4631. "tags": [
  4632. "企业风险管理v3(app)"
  4633. ],
  4634. "summary": "查询敞口现货头寸(敞口/现货头寸)",
  4635. "parameters": [
  4636. {
  4637. "type": "integer",
  4638. "description": "用户id",
  4639. "name": "userid",
  4640. "in": "query",
  4641. "required": true
  4642. },
  4643. {
  4644. "type": "integer",
  4645. "description": "用户类型 2-机构 7-企业成员",
  4646. "name": "usertype",
  4647. "in": "query"
  4648. }
  4649. ],
  4650. "responses": {
  4651. "200": {
  4652. "description": "OK",
  4653. "schema": {
  4654. "type": "array",
  4655. "items": {
  4656. "$ref": "#/definitions/models.Ermcp3AreaSpot"
  4657. }
  4658. }
  4659. },
  4660. "500": {
  4661. "description": "Internal Server Error",
  4662. "schema": {
  4663. "$ref": "#/definitions/app.Response"
  4664. }
  4665. }
  4666. }
  4667. }
  4668. },
  4669. "/Ermcp3/QueryExposureSpotDetail": {
  4670. "get": {
  4671. "security": [
  4672. {
  4673. "ApiKeyAuth": []
  4674. }
  4675. ],
  4676. "produces": [
  4677. "application/json"
  4678. ],
  4679. "tags": [
  4680. "企业风险管理v3(app)"
  4681. ],
  4682. "summary": "查询敞口现货头寸明细(敞口/现货头寸/现货明细)",
  4683. "parameters": [
  4684. {
  4685. "type": "integer",
  4686. "description": "用户id",
  4687. "name": "userid",
  4688. "in": "query",
  4689. "required": true
  4690. },
  4691. {
  4692. "type": "integer",
  4693. "description": "用户类型 2-机构 7-企业成员",
  4694. "name": "usertype",
  4695. "in": "query"
  4696. },
  4697. {
  4698. "type": "integer",
  4699. "description": "现货商品ID",
  4700. "name": "wrstandardid",
  4701. "in": "query",
  4702. "required": true
  4703. }
  4704. ],
  4705. "responses": {
  4706. "200": {
  4707. "description": "OK",
  4708. "schema": {
  4709. "type": "array",
  4710. "items": {
  4711. "$ref": "#/definitions/models.Ermcp3AreaSpotDetail"
  4712. }
  4713. }
  4714. },
  4715. "500": {
  4716. "description": "Internal Server Error",
  4717. "schema": {
  4718. "$ref": "#/definitions/app.Response"
  4719. }
  4720. }
  4721. }
  4722. }
  4723. },
  4724. "/Ermcp3/QueryGoodsGroup": {
  4725. "get": {
  4726. "security": [
  4727. {
  4728. "ApiKeyAuth": []
  4729. }
  4730. ],
  4731. "produces": [
  4732. "application/json"
  4733. ],
  4734. "tags": [
  4735. "企业风险管理v3(app)"
  4736. ],
  4737. "summary": "查询期货商品组",
  4738. "parameters": [
  4739. {
  4740. "type": "integer",
  4741. "description": "用户id",
  4742. "name": "userid",
  4743. "in": "query",
  4744. "required": true
  4745. },
  4746. {
  4747. "type": "integer",
  4748. "description": "用户类型 2-机构 7-企业成员",
  4749. "name": "usertype",
  4750. "in": "query"
  4751. },
  4752. {
  4753. "type": "integer",
  4754. "description": "排除套保品中已关联的商品组 1-排除",
  4755. "name": "excludecfg",
  4756. "in": "query"
  4757. }
  4758. ],
  4759. "responses": {
  4760. "200": {
  4761. "description": "OK",
  4762. "schema": {
  4763. "type": "array",
  4764. "items": {
  4765. "$ref": "#/definitions/models.Ermcp3GoodsGroup"
  4766. }
  4767. }
  4768. },
  4769. "500": {
  4770. "description": "Internal Server Error",
  4771. "schema": {
  4772. "$ref": "#/definitions/app.Response"
  4773. }
  4774. }
  4775. }
  4776. }
  4777. },
  4778. "/Ermcp3/QueryGoodsWrstandard": {
  4779. "get": {
  4780. "security": [
  4781. {
  4782. "ApiKeyAuth": []
  4783. }
  4784. ],
  4785. "produces": [
  4786. "application/json"
  4787. ],
  4788. "tags": [
  4789. "企业风险管理v3(app)"
  4790. ],
  4791. "summary": "查询商品品类",
  4792. "parameters": [
  4793. {
  4794. "type": "integer",
  4795. "description": "用户id",
  4796. "name": "userid",
  4797. "in": "query",
  4798. "required": true
  4799. },
  4800. {
  4801. "type": "integer",
  4802. "description": "用户类型 2-机构 7-企业成员",
  4803. "name": "usertype",
  4804. "in": "query"
  4805. },
  4806. {
  4807. "type": "integer",
  4808. "description": "现货商品id",
  4809. "name": "deliverygoodsid",
  4810. "in": "query"
  4811. }
  4812. ],
  4813. "responses": {
  4814. "200": {
  4815. "description": "OK",
  4816. "schema": {
  4817. "type": "array",
  4818. "items": {
  4819. "$ref": "#/definitions/models.Ermcp3Wrstandard"
  4820. }
  4821. }
  4822. },
  4823. "500": {
  4824. "description": "Internal Server Error",
  4825. "schema": {
  4826. "$ref": "#/definitions/app.Response"
  4827. }
  4828. }
  4829. }
  4830. }
  4831. },
  4832. "/Ermcp3/QueryGoodsbrand": {
  4833. "get": {
  4834. "security": [
  4835. {
  4836. "ApiKeyAuth": []
  4837. }
  4838. ],
  4839. "produces": [
  4840. "application/json"
  4841. ],
  4842. "tags": [
  4843. "企业风险管理v3(app)"
  4844. ],
  4845. "summary": "查询商品品牌",
  4846. "parameters": [
  4847. {
  4848. "type": "integer",
  4849. "description": "用户id",
  4850. "name": "userid",
  4851. "in": "query",
  4852. "required": true
  4853. },
  4854. {
  4855. "type": "integer",
  4856. "description": "用户类型 2-机构 7-企业成员",
  4857. "name": "usertype",
  4858. "in": "query"
  4859. }
  4860. ],
  4861. "responses": {
  4862. "200": {
  4863. "description": "OK",
  4864. "schema": {
  4865. "type": "array",
  4866. "items": {
  4867. "$ref": "#/definitions/models.Ermcp3Brand"
  4868. }
  4869. }
  4870. },
  4871. "500": {
  4872. "description": "Internal Server Error",
  4873. "schema": {
  4874. "$ref": "#/definitions/app.Response"
  4875. }
  4876. }
  4877. }
  4878. }
  4879. },
  4880. "/Ermcp3/QueryHPMiddleGoods": {
  4881. "get": {
  4882. "security": [
  4883. {
  4884. "ApiKeyAuth": []
  4885. }
  4886. ],
  4887. "produces": [
  4888. "application/json"
  4889. ],
  4890. "tags": [
  4891. "企业风险管理v3(app)"
  4892. ],
  4893. "summary": "查询可关联套保计划",
  4894. "parameters": [
  4895. {
  4896. "type": "integer",
  4897. "description": "用户ID(填登录用户的userid)",
  4898. "name": "userid",
  4899. "in": "query",
  4900. "required": true
  4901. },
  4902. {
  4903. "type": "integer",
  4904. "description": "买卖方向 0-买 1-卖",
  4905. "name": "buyorsell",
  4906. "in": "query",
  4907. "required": true
  4908. },
  4909. {
  4910. "type": "integer",
  4911. "description": "商品组id",
  4912. "name": "goodsgroupid",
  4913. "in": "query",
  4914. "required": true
  4915. },
  4916. {
  4917. "type": "string",
  4918. "description": "套保计划编号(模糊匹配)",
  4919. "name": "hedgeplanno",
  4920. "in": "query"
  4921. },
  4922. {
  4923. "type": "string",
  4924. "description": "现货商品名称(模糊匹配)",
  4925. "name": "wrstandardname",
  4926. "in": "query"
  4927. }
  4928. ],
  4929. "responses": {
  4930. "200": {
  4931. "description": "OK",
  4932. "schema": {
  4933. "type": "array",
  4934. "items": {
  4935. "$ref": "#/definitions/models.Ermcp3HPMiddleGoods"
  4936. }
  4937. }
  4938. },
  4939. "500": {
  4940. "description": "Internal Server Error",
  4941. "schema": {
  4942. "$ref": "#/definitions/app.Response"
  4943. }
  4944. }
  4945. }
  4946. }
  4947. },
  4948. "/Ermcp3/QueryHedgePlan": {
  4949. "get": {
  4950. "security": [
  4951. {
  4952. "ApiKeyAuth": []
  4953. }
  4954. ],
  4955. "produces": [
  4956. "application/json"
  4957. ],
  4958. "tags": [
  4959. "企业风险管理v3(app)"
  4960. ],
  4961. "summary": "查询套保计划",
  4962. "parameters": [
  4963. {
  4964. "type": "integer",
  4965. "description": "用户ID",
  4966. "name": "userid",
  4967. "in": "query",
  4968. "required": true
  4969. },
  4970. {
  4971. "type": "integer",
  4972. "description": "用户类型 2-机构 7-企业成员",
  4973. "name": "usertype",
  4974. "in": "query"
  4975. },
  4976. {
  4977. "type": "string",
  4978. "description": "套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  4979. "name": "hedgeplanstatus",
  4980. "in": "query",
  4981. "required": true
  4982. }
  4983. ],
  4984. "responses": {
  4985. "200": {
  4986. "description": "OK",
  4987. "schema": {
  4988. "type": "array",
  4989. "items": {
  4990. "$ref": "#/definitions/models.Ermcp3HedgePlan"
  4991. }
  4992. }
  4993. },
  4994. "500": {
  4995. "description": "Internal Server Error",
  4996. "schema": {
  4997. "$ref": "#/definitions/app.Response"
  4998. }
  4999. }
  5000. }
  5001. }
  5002. },
  5003. "/Ermcp3/QueryInnerTradeLink": {
  5004. "get": {
  5005. "security": [
  5006. {
  5007. "ApiKeyAuth": []
  5008. }
  5009. ],
  5010. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"解除关联\"按钮-\u003e解除外部关联的页面信息",
  5011. "produces": [
  5012. "application/json"
  5013. ],
  5014. "tags": [
  5015. "企业风险管理v3(app)"
  5016. ],
  5017. "summary": "查询外部成交单关联的内部单信息(在解除外部关联页面使用)",
  5018. "parameters": [
  5019. {
  5020. "type": "integer",
  5021. "description": "外部成交单号",
  5022. "name": "outtradeid",
  5023. "in": "query",
  5024. "required": true
  5025. }
  5026. ],
  5027. "responses": {
  5028. "200": {
  5029. "description": "OK",
  5030. "schema": {
  5031. "type": "array",
  5032. "items": {
  5033. "$ref": "#/definitions/models.Ermcp3InnerTradeLink"
  5034. }
  5035. }
  5036. },
  5037. "500": {
  5038. "description": "Internal Server Error",
  5039. "schema": {
  5040. "$ref": "#/definitions/app.Response"
  5041. }
  5042. }
  5043. }
  5044. }
  5045. },
  5046. "/Ermcp3/QueryMiddleGoodsDetail": {
  5047. "get": {
  5048. "security": [
  5049. {
  5050. "ApiKeyAuth": []
  5051. }
  5052. ],
  5053. "produces": [
  5054. "application/json"
  5055. ],
  5056. "tags": [
  5057. "企业风险管理v3(app)"
  5058. ],
  5059. "summary": "查询套保品种详情(套保品种/商品详情)",
  5060. "parameters": [
  5061. {
  5062. "type": "integer",
  5063. "description": "用户id",
  5064. "name": "userid",
  5065. "in": "query",
  5066. "required": true
  5067. },
  5068. {
  5069. "type": "integer",
  5070. "description": "用户类型 2-机构 7-企业成员",
  5071. "name": "usertype",
  5072. "in": "query"
  5073. },
  5074. {
  5075. "type": "integer",
  5076. "description": "套保品种id",
  5077. "name": "middlegoodsid",
  5078. "in": "query"
  5079. }
  5080. ],
  5081. "responses": {
  5082. "200": {
  5083. "description": "OK",
  5084. "schema": {
  5085. "type": "array",
  5086. "items": {
  5087. "$ref": "#/definitions/models.TBMiddleGoods"
  5088. }
  5089. }
  5090. },
  5091. "500": {
  5092. "description": "Internal Server Error",
  5093. "schema": {
  5094. "$ref": "#/definitions/app.Response"
  5095. }
  5096. }
  5097. }
  5098. }
  5099. },
  5100. "/Ermcp3/QueryOutTradeLink": {
  5101. "get": {
  5102. "security": [
  5103. {
  5104. "ApiKeyAuth": []
  5105. }
  5106. ],
  5107. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联",
  5108. "produces": [
  5109. "application/json"
  5110. ],
  5111. "tags": [
  5112. "企业风险管理v3(app)"
  5113. ],
  5114. "summary": "查询外部成交单关联",
  5115. "parameters": [
  5116. {
  5117. "type": "integer",
  5118. "description": "用户ID(填登录用户的userid)",
  5119. "name": "userid",
  5120. "in": "query",
  5121. "required": true
  5122. },
  5123. {
  5124. "type": "string",
  5125. "description": "外部订单号(模糊匹配)",
  5126. "name": "outtradeid",
  5127. "in": "query"
  5128. },
  5129. {
  5130. "type": "string",
  5131. "description": "合约名称/代码(模糊匹配)",
  5132. "name": "goodsname",
  5133. "in": "query"
  5134. },
  5135. {
  5136. "type": "integer",
  5137. "description": "关联状态 0-未关联 1-已关联",
  5138. "name": "hasinnerorder",
  5139. "in": "query"
  5140. }
  5141. ],
  5142. "responses": {
  5143. "200": {
  5144. "description": "OK",
  5145. "schema": {
  5146. "type": "array",
  5147. "items": {
  5148. "$ref": "#/definitions/models.Ermcp3OutTradeLink"
  5149. }
  5150. }
  5151. },
  5152. "500": {
  5153. "description": "Internal Server Error",
  5154. "schema": {
  5155. "$ref": "#/definitions/app.Response"
  5156. }
  5157. }
  5158. }
  5159. }
  5160. },
  5161. "/Ermcp3/QueryPaAreaAuditCfg": {
  5162. "get": {
  5163. "security": [
  5164. {
  5165. "ApiKeyAuth": []
  5166. }
  5167. ],
  5168. "produces": [
  5169. "application/json"
  5170. ],
  5171. "tags": [
  5172. "企业风险管理v3(app)"
  5173. ],
  5174. "summary": "查询审核设置",
  5175. "parameters": [
  5176. {
  5177. "type": "integer",
  5178. "description": "用户id",
  5179. "name": "userid",
  5180. "in": "query",
  5181. "required": true
  5182. }
  5183. ],
  5184. "responses": {
  5185. "200": {
  5186. "description": "OK",
  5187. "schema": {
  5188. "type": "array",
  5189. "items": {
  5190. "$ref": "#/definitions/models.Ermcp3PaAreaAuditCfg"
  5191. }
  5192. }
  5193. },
  5194. "500": {
  5195. "description": "Internal Server Error",
  5196. "schema": {
  5197. "$ref": "#/definitions/app.Response"
  5198. }
  5199. }
  5200. }
  5201. }
  5202. },
  5203. "/Ermcp3/QueryPaAreaSubject": {
  5204. "get": {
  5205. "security": [
  5206. {
  5207. "ApiKeyAuth": []
  5208. }
  5209. ],
  5210. "produces": [
  5211. "application/json"
  5212. ],
  5213. "tags": [
  5214. "企业风险管理v3(app)"
  5215. ],
  5216. "summary": "查询交易主体",
  5217. "parameters": [
  5218. {
  5219. "type": "integer",
  5220. "description": "用户id",
  5221. "name": "userid",
  5222. "in": "query",
  5223. "required": true
  5224. },
  5225. {
  5226. "type": "integer",
  5227. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  5228. "name": "subjectid",
  5229. "in": "query"
  5230. },
  5231. {
  5232. "type": "integer",
  5233. "description": "主体类型 - 1:交易主体 2:业务部门",
  5234. "name": "subjecttype",
  5235. "in": "query"
  5236. },
  5237. {
  5238. "type": "integer",
  5239. "description": "主体状态 - 1:正常 2: 停用",
  5240. "name": "subjectstatus",
  5241. "in": "query"
  5242. }
  5243. ],
  5244. "responses": {
  5245. "200": {
  5246. "description": "OK",
  5247. "schema": {
  5248. "type": "array",
  5249. "items": {
  5250. "$ref": "#/definitions/models.Ermcp3PaAreaSubject"
  5251. }
  5252. }
  5253. },
  5254. "500": {
  5255. "description": "Internal Server Error",
  5256. "schema": {
  5257. "$ref": "#/definitions/app.Response"
  5258. }
  5259. }
  5260. }
  5261. }
  5262. },
  5263. "/Ermcp3/QueryPaTradeLink": {
  5264. "get": {
  5265. "security": [
  5266. {
  5267. "ApiKeyAuth": []
  5268. }
  5269. ],
  5270. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联",
  5271. "produces": [
  5272. "application/json"
  5273. ],
  5274. "tags": [
  5275. "企业风险管理v3(app)"
  5276. ],
  5277. "summary": "查询期现单据关联",
  5278. "parameters": [
  5279. {
  5280. "type": "integer",
  5281. "description": "用户ID",
  5282. "name": "userid",
  5283. "in": "query",
  5284. "required": true
  5285. }
  5286. ],
  5287. "responses": {
  5288. "200": {
  5289. "description": "OK",
  5290. "schema": {
  5291. "type": "array",
  5292. "items": {
  5293. "$ref": "#/definitions/models.Ermcp3PaTradeLink"
  5294. }
  5295. }
  5296. },
  5297. "500": {
  5298. "description": "Internal Server Error",
  5299. "schema": {
  5300. "$ref": "#/definitions/app.Response"
  5301. }
  5302. }
  5303. }
  5304. }
  5305. },
  5306. "/Ermcp3/QueryPaTradeLinkDetail": {
  5307. "get": {
  5308. "security": [
  5309. {
  5310. "ApiKeyAuth": []
  5311. }
  5312. ],
  5313. "description": "页面 app 现货-\u003e期现关联-\u003e关联记录",
  5314. "produces": [
  5315. "application/json"
  5316. ],
  5317. "tags": [
  5318. "企业风险管理v3(app)"
  5319. ],
  5320. "summary": "查询期现关联记录",
  5321. "parameters": [
  5322. {
  5323. "type": "integer",
  5324. "description": "用户ID(填登录用户的userid)",
  5325. "name": "userid",
  5326. "in": "query",
  5327. "required": true
  5328. },
  5329. {
  5330. "type": "integer",
  5331. "description": "关联状态 1:成功 2:失败 3:解绑",
  5332. "name": "linkstatus",
  5333. "in": "query"
  5334. },
  5335. {
  5336. "type": "string",
  5337. "description": "期货订单号(模糊匹配)",
  5338. "name": "tradeid",
  5339. "in": "query"
  5340. },
  5341. {
  5342. "type": "string",
  5343. "description": "现货编号(模糊匹配)",
  5344. "name": "contractno",
  5345. "in": "query"
  5346. },
  5347. {
  5348. "type": "string",
  5349. "description": "期货账户(模糊匹配)",
  5350. "name": "taname",
  5351. "in": "query"
  5352. }
  5353. ],
  5354. "responses": {
  5355. "200": {
  5356. "description": "OK",
  5357. "schema": {
  5358. "type": "array",
  5359. "items": {
  5360. "$ref": "#/definitions/models.Ermcp3TradeLinkDetail"
  5361. }
  5362. }
  5363. },
  5364. "500": {
  5365. "description": "Internal Server Error",
  5366. "schema": {
  5367. "$ref": "#/definitions/app.Response"
  5368. }
  5369. }
  5370. }
  5371. }
  5372. },
  5373. "/Ermcp3/QueryParamChangeApp": {
  5374. "get": {
  5375. "security": [
  5376. {
  5377. "ApiKeyAuth": []
  5378. }
  5379. ],
  5380. "description": "原型页面:\n1.商品信息-\u003e商品参数修改流水-\u003e 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录\n2.风管审核-\u003e套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核",
  5381. "produces": [
  5382. "application/json"
  5383. ],
  5384. "tags": [
  5385. "企业风险管理v3(app)"
  5386. ],
  5387. "summary": "查询现货商品参数变更申请(流水)",
  5388. "parameters": [
  5389. {
  5390. "type": "integer",
  5391. "description": "用户ID",
  5392. "name": "userid",
  5393. "in": "query",
  5394. "required": true
  5395. },
  5396. {
  5397. "type": "integer",
  5398. "description": "现货品种id",
  5399. "name": "deliverygoodsid",
  5400. "in": "query"
  5401. },
  5402. {
  5403. "type": "integer",
  5404. "description": "现货商品id",
  5405. "name": "wrstandardid",
  5406. "in": "query"
  5407. },
  5408. {
  5409. "type": "integer",
  5410. "description": "套保商品id",
  5411. "name": "middlegoodsid",
  5412. "in": "query"
  5413. },
  5414. {
  5415. "type": "integer",
  5416. "description": "操作类型 1:新增 2:修改",
  5417. "name": "operatetype",
  5418. "in": "query"
  5419. },
  5420. {
  5421. "type": "integer",
  5422. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  5423. "name": "paramchangetype",
  5424. "in": "query"
  5425. },
  5426. {
  5427. "type": "string",
  5428. "description": "申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5429. "name": "ftstatus",
  5430. "in": "query"
  5431. }
  5432. ],
  5433. "responses": {
  5434. "200": {
  5435. "description": "OK",
  5436. "schema": {
  5437. "type": "array",
  5438. "items": {
  5439. "$ref": "#/definitions/models.Ermcp3ParamChangeApp"
  5440. }
  5441. }
  5442. },
  5443. "500": {
  5444. "description": "Internal Server Error",
  5445. "schema": {
  5446. "$ref": "#/definitions/app.Response"
  5447. }
  5448. }
  5449. }
  5450. }
  5451. },
  5452. "/Ermcp3/QueryRootUserAccount": {
  5453. "get": {
  5454. "security": [
  5455. {
  5456. "ApiKeyAuth": []
  5457. }
  5458. ],
  5459. "produces": [
  5460. "application/json"
  5461. ],
  5462. "tags": [
  5463. "企业风险管理v3(app)"
  5464. ],
  5465. "summary": "查询顶级用户信息",
  5466. "parameters": [
  5467. {
  5468. "type": "integer",
  5469. "description": "用户ID",
  5470. "name": "userid",
  5471. "in": "query",
  5472. "required": true
  5473. }
  5474. ],
  5475. "responses": {
  5476. "200": {
  5477. "description": "OK",
  5478. "schema": {
  5479. "type": "array",
  5480. "items": {
  5481. "$ref": "#/definitions/models.Ermcp3RootUserAccount"
  5482. }
  5483. }
  5484. },
  5485. "500": {
  5486. "description": "Internal Server Error",
  5487. "schema": {
  5488. "$ref": "#/definitions/app.Response"
  5489. }
  5490. }
  5491. }
  5492. }
  5493. },
  5494. "/Ermcp3/QuerySCMiddleGoods": {
  5495. "get": {
  5496. "security": [
  5497. {
  5498. "ApiKeyAuth": []
  5499. }
  5500. ],
  5501. "description": "页面 app 现货-\u003e期现关联-\u003e期现单据关联-\u003e点\"关联\"按钮-\u003e弹出界面 : 现货订单\n现货编号 即 合同编号",
  5502. "produces": [
  5503. "application/json"
  5504. ],
  5505. "tags": [
  5506. "企业风险管理v3(app)"
  5507. ],
  5508. "summary": "查询现货订单",
  5509. "parameters": [
  5510. {
  5511. "type": "integer",
  5512. "description": "用户ID(填登录用户的userid)",
  5513. "name": "userid",
  5514. "in": "query",
  5515. "required": true
  5516. },
  5517. {
  5518. "type": "integer",
  5519. "description": "买卖方向 0-买 1-卖",
  5520. "name": "buyorsell",
  5521. "in": "query",
  5522. "required": true
  5523. },
  5524. {
  5525. "type": "integer",
  5526. "description": "商品组id",
  5527. "name": "goodsgroupid",
  5528. "in": "query",
  5529. "required": true
  5530. },
  5531. {
  5532. "type": "integer",
  5533. "description": "业务类型 1:套保 2:套利",
  5534. "name": "biztype",
  5535. "in": "query"
  5536. },
  5537. {
  5538. "type": "string",
  5539. "description": "现货编号(模糊匹配)",
  5540. "name": "contractno",
  5541. "in": "query"
  5542. },
  5543. {
  5544. "type": "string",
  5545. "description": "对手方(模糊匹配)",
  5546. "name": "customername",
  5547. "in": "query"
  5548. },
  5549. {
  5550. "type": "string",
  5551. "description": "现货商品名称(模糊匹配)",
  5552. "name": "wrstandardname",
  5553. "in": "query"
  5554. }
  5555. ],
  5556. "responses": {
  5557. "200": {
  5558. "description": "OK",
  5559. "schema": {
  5560. "type": "array",
  5561. "items": {
  5562. "$ref": "#/definitions/models.Ermcp3SCMiddleGoods"
  5563. }
  5564. }
  5565. },
  5566. "500": {
  5567. "description": "Internal Server Error",
  5568. "schema": {
  5569. "$ref": "#/definitions/app.Response"
  5570. }
  5571. }
  5572. }
  5573. }
  5574. },
  5575. "/Ermcp3/QuerySpotContract": {
  5576. "get": {
  5577. "security": [
  5578. {
  5579. "ApiKeyAuth": []
  5580. }
  5581. ],
  5582. "produces": [
  5583. "application/json"
  5584. ],
  5585. "tags": [
  5586. "企业风险管理v3(app)"
  5587. ],
  5588. "summary": "查询现货合同",
  5589. "parameters": [
  5590. {
  5591. "type": "integer",
  5592. "description": "用户id(当指定contractid, userid可不填)",
  5593. "name": "userid",
  5594. "in": "query",
  5595. "required": true
  5596. },
  5597. {
  5598. "type": "integer",
  5599. "description": "用户类型 2-机构 7-企业成员",
  5600. "name": "usertype",
  5601. "in": "query"
  5602. },
  5603. {
  5604. "type": "integer",
  5605. "description": "合同类型 1-采购, -1-销售",
  5606. "name": "contracttype",
  5607. "in": "query"
  5608. },
  5609. {
  5610. "type": "string",
  5611. "description": "查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成",
  5612. "name": "querytype",
  5613. "in": "query"
  5614. },
  5615. {
  5616. "type": "string",
  5617. "description": "合同ID(SpotContractId)",
  5618. "name": "contractid",
  5619. "in": "query"
  5620. },
  5621. {
  5622. "type": "string",
  5623. "description": "合同编号(模糊匹配)",
  5624. "name": "contractno",
  5625. "in": "query"
  5626. },
  5627. {
  5628. "type": "string",
  5629. "description": "商品名称(模糊匹配)",
  5630. "name": "wrstandardname",
  5631. "in": "query"
  5632. },
  5633. {
  5634. "type": "string",
  5635. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5636. "name": "status",
  5637. "in": "query"
  5638. },
  5639. {
  5640. "type": "integer",
  5641. "description": "是否只查今日的合同 1-查今日合同",
  5642. "name": "istoday",
  5643. "in": "query"
  5644. }
  5645. ],
  5646. "responses": {
  5647. "200": {
  5648. "description": "OK",
  5649. "schema": {
  5650. "type": "array",
  5651. "items": {
  5652. "$ref": "#/definitions/models.Ermcp3Contract"
  5653. }
  5654. }
  5655. },
  5656. "500": {
  5657. "description": "Internal Server Error",
  5658. "schema": {
  5659. "$ref": "#/definitions/app.Response"
  5660. }
  5661. }
  5662. }
  5663. }
  5664. },
  5665. "/Ermcp3/QuerySpotContractBS": {
  5666. "get": {
  5667. "security": [
  5668. {
  5669. "ApiKeyAuth": []
  5670. }
  5671. ],
  5672. "produces": [
  5673. "application/json"
  5674. ],
  5675. "tags": [
  5676. "企业风险管理v3(app)"
  5677. ],
  5678. "summary": "查询合同(采购/销售)",
  5679. "parameters": [
  5680. {
  5681. "type": "integer",
  5682. "description": "用户id",
  5683. "name": "userid",
  5684. "in": "query",
  5685. "required": true
  5686. },
  5687. {
  5688. "type": "integer",
  5689. "description": "用户类型 2-机构 7-企业成员",
  5690. "name": "usertype",
  5691. "in": "query"
  5692. },
  5693. {
  5694. "type": "integer",
  5695. "description": "合同类型 1-采购, -1-销售",
  5696. "name": "contracttype",
  5697. "in": "query",
  5698. "required": true
  5699. },
  5700. {
  5701. "type": "integer",
  5702. "description": "查询类型 1-全部 2-待点价 3-履约结算 4-已完成",
  5703. "name": "querytype",
  5704. "in": "query"
  5705. },
  5706. {
  5707. "type": "string",
  5708. "description": "合同ID(SpotContractId)",
  5709. "name": "contractid",
  5710. "in": "query"
  5711. },
  5712. {
  5713. "type": "string",
  5714. "description": "合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5715. "name": "status",
  5716. "in": "query"
  5717. },
  5718. {
  5719. "type": "integer",
  5720. "description": "是否只查今日的合同 1-查今日合同",
  5721. "name": "istoday",
  5722. "in": "query"
  5723. }
  5724. ],
  5725. "responses": {
  5726. "200": {
  5727. "description": "OK",
  5728. "schema": {
  5729. "type": "array",
  5730. "items": {
  5731. "$ref": "#/definitions/models.Ermcp3SellBuyContract"
  5732. }
  5733. }
  5734. },
  5735. "500": {
  5736. "description": "Internal Server Error",
  5737. "schema": {
  5738. "$ref": "#/definitions/app.Response"
  5739. }
  5740. }
  5741. }
  5742. }
  5743. },
  5744. "/Ermcp3/QuerySpotGoodsPrice": {
  5745. "get": {
  5746. "security": [
  5747. {
  5748. "ApiKeyAuth": []
  5749. }
  5750. ],
  5751. "produces": [
  5752. "application/json"
  5753. ],
  5754. "tags": [
  5755. "企业风险管理v3(app)"
  5756. ],
  5757. "summary": "查询现货市价(现货市价)",
  5758. "parameters": [
  5759. {
  5760. "type": "integer",
  5761. "description": "用户ID",
  5762. "name": "userid",
  5763. "in": "query",
  5764. "required": true
  5765. }
  5766. ],
  5767. "responses": {
  5768. "200": {
  5769. "description": "OK",
  5770. "schema": {
  5771. "type": "array",
  5772. "items": {
  5773. "$ref": "#/definitions/models.Ermcp3SpotGoodsPrice"
  5774. }
  5775. }
  5776. },
  5777. "500": {
  5778. "description": "Internal Server Error",
  5779. "schema": {
  5780. "$ref": "#/definitions/app.Response"
  5781. }
  5782. }
  5783. }
  5784. }
  5785. },
  5786. "/Ermcp3/QuerySpotGoodsPriceLog": {
  5787. "get": {
  5788. "security": [
  5789. {
  5790. "ApiKeyAuth": []
  5791. }
  5792. ],
  5793. "produces": [
  5794. "application/json"
  5795. ],
  5796. "tags": [
  5797. "企业风险管理v3(app)"
  5798. ],
  5799. "summary": "查询现货市价详情(现货市价/详情)",
  5800. "parameters": [
  5801. {
  5802. "type": "integer",
  5803. "description": "用户ID",
  5804. "name": "userid",
  5805. "in": "query",
  5806. "required": true
  5807. },
  5808. {
  5809. "type": "integer",
  5810. "description": "现货商品ID",
  5811. "name": "deliverygoodsid",
  5812. "in": "query",
  5813. "required": true
  5814. },
  5815. {
  5816. "type": "integer",
  5817. "description": "品牌ID",
  5818. "name": "brandid",
  5819. "in": "query"
  5820. },
  5821. {
  5822. "type": "integer",
  5823. "description": "品类ID",
  5824. "name": "wrstandardid",
  5825. "in": "query"
  5826. }
  5827. ],
  5828. "responses": {
  5829. "200": {
  5830. "description": "OK",
  5831. "schema": {
  5832. "type": "array",
  5833. "items": {
  5834. "$ref": "#/definitions/models.Ermcp3SpotGoodsPriceLog"
  5835. }
  5836. }
  5837. },
  5838. "500": {
  5839. "description": "Internal Server Error",
  5840. "schema": {
  5841. "$ref": "#/definitions/app.Response"
  5842. }
  5843. }
  5844. }
  5845. }
  5846. },
  5847. "/Ermcp3/QuerySubTaaccount": {
  5848. "get": {
  5849. "security": [
  5850. {
  5851. "ApiKeyAuth": []
  5852. }
  5853. ],
  5854. "description": "页面 app 现货-\u003e期现关联-\u003e外部成交单关联-\u003e点\"关联\"按钮-\u003e选择期货子账户",
  5855. "produces": [
  5856. "application/json"
  5857. ],
  5858. "tags": [
  5859. "企业风险管理v3(app)"
  5860. ],
  5861. "summary": "查询期货子账户",
  5862. "parameters": [
  5863. {
  5864. "type": "integer",
  5865. "description": "母账号id",
  5866. "name": "parentaccountid",
  5867. "in": "query"
  5868. },
  5869. {
  5870. "type": "string",
  5871. "description": "母账号代码",
  5872. "name": "parentaccountcode",
  5873. "in": "query"
  5874. }
  5875. ],
  5876. "responses": {
  5877. "200": {
  5878. "description": "OK",
  5879. "schema": {
  5880. "type": "array",
  5881. "items": {
  5882. "$ref": "#/definitions/models.Ermcp3SubTaaccount"
  5883. }
  5884. }
  5885. },
  5886. "500": {
  5887. "description": "Internal Server Error",
  5888. "schema": {
  5889. "$ref": "#/definitions/app.Response"
  5890. }
  5891. }
  5892. }
  5893. }
  5894. },
  5895. "/Ermcp8/QueryERMCP2HedgedItemSpotDetail": {
  5896. "get": {
  5897. "security": [
  5898. {
  5899. "ApiKeyAuth": []
  5900. }
  5901. ],
  5902. "produces": [
  5903. "application/json"
  5904. ],
  5905. "tags": [
  5906. "企业风险管理v8"
  5907. ],
  5908. "summary": "现货成交明细查询",
  5909. "parameters": [
  5910. {
  5911. "type": "integer",
  5912. "description": "套期项目ID",
  5913. "name": "hedgeditemid",
  5914. "in": "query",
  5915. "required": true
  5916. }
  5917. ],
  5918. "responses": {
  5919. "200": {
  5920. "description": "OK",
  5921. "schema": {
  5922. "type": "array",
  5923. "items": {
  5924. "$ref": "#/definitions/models.Ermcp2hedgeditemspotDetail"
  5925. }
  5926. }
  5927. },
  5928. "500": {
  5929. "description": "Internal Server Error",
  5930. "schema": {
  5931. "$ref": "#/definitions/app.Response"
  5932. }
  5933. }
  5934. }
  5935. }
  5936. },
  5937. "/Ermcp8/QueryERMCP2HedgedItemspot": {
  5938. "get": {
  5939. "security": [
  5940. {
  5941. "ApiKeyAuth": []
  5942. }
  5943. ],
  5944. "produces": [
  5945. "application/json"
  5946. ],
  5947. "tags": [
  5948. "企业风险管理v8"
  5949. ],
  5950. "summary": "套期计划明细查询",
  5951. "parameters": [
  5952. {
  5953. "type": "integer",
  5954. "description": "套期项目ID",
  5955. "name": "hedgeditemid",
  5956. "in": "query",
  5957. "required": true
  5958. }
  5959. ],
  5960. "responses": {
  5961. "200": {
  5962. "description": "OK",
  5963. "schema": {
  5964. "type": "array",
  5965. "items": {
  5966. "$ref": "#/definitions/models.Ermcp2hedgeditemspot"
  5967. }
  5968. }
  5969. },
  5970. "500": {
  5971. "description": "Internal Server Error",
  5972. "schema": {
  5973. "$ref": "#/definitions/app.Response"
  5974. }
  5975. }
  5976. }
  5977. }
  5978. },
  5979. "/Ermcp8/QueryERMCPJRLinkPos": {
  5980. "get": {
  5981. "security": [
  5982. {
  5983. "ApiKeyAuth": []
  5984. }
  5985. ],
  5986. "produces": [
  5987. "application/json"
  5988. ],
  5989. "tags": [
  5990. "企业风险管理v8"
  5991. ],
  5992. "summary": "期货持仓明细查询",
  5993. "parameters": [
  5994. {
  5995. "type": "integer",
  5996. "description": "套期项目ID",
  5997. "name": "hedgeditemid",
  5998. "in": "query",
  5999. "required": true
  6000. }
  6001. ],
  6002. "responses": {
  6003. "200": {
  6004. "description": "OK",
  6005. "schema": {
  6006. "type": "array",
  6007. "items": {
  6008. "$ref": "#/definitions/models.Ermcpjrlinkpos"
  6009. }
  6010. }
  6011. },
  6012. "500": {
  6013. "description": "Internal Server Error",
  6014. "schema": {
  6015. "$ref": "#/definitions/app.Response"
  6016. }
  6017. }
  6018. }
  6019. }
  6020. },
  6021. "/Ermcp8/QueryERMCPPatradeLinkDetail": {
  6022. "get": {
  6023. "security": [
  6024. {
  6025. "ApiKeyAuth": []
  6026. }
  6027. ],
  6028. "produces": [
  6029. "application/json"
  6030. ],
  6031. "tags": [
  6032. "企业风险管理v8"
  6033. ],
  6034. "summary": "期货成交单明细查询",
  6035. "parameters": [
  6036. {
  6037. "type": "integer",
  6038. "description": "套期项目ID",
  6039. "name": "hedgeditemid",
  6040. "in": "query",
  6041. "required": true
  6042. }
  6043. ],
  6044. "responses": {
  6045. "200": {
  6046. "description": "OK",
  6047. "schema": {
  6048. "type": "array",
  6049. "items": {
  6050. "$ref": "#/definitions/models.Ermcppatradelinkdetail"
  6051. }
  6052. }
  6053. },
  6054. "500": {
  6055. "description": "Internal Server Error",
  6056. "schema": {
  6057. "$ref": "#/definitions/app.Response"
  6058. }
  6059. }
  6060. }
  6061. }
  6062. },
  6063. "/Ermcp8/QueryErmcp2AreaExposure": {
  6064. "get": {
  6065. "security": [
  6066. {
  6067. "ApiKeyAuth": []
  6068. }
  6069. ],
  6070. "produces": [
  6071. "application/json"
  6072. ],
  6073. "tags": [
  6074. "企业风险管理v8"
  6075. ],
  6076. "summary": "企业敞口查询",
  6077. "parameters": [
  6078. {
  6079. "type": "string",
  6080. "description": "用户ID",
  6081. "name": "userid",
  6082. "in": "query",
  6083. "required": true
  6084. }
  6085. ],
  6086. "responses": {
  6087. "200": {
  6088. "description": "OK",
  6089. "schema": {
  6090. "type": "array",
  6091. "items": {
  6092. "$ref": "#/definitions/models.Ermcp2AreaExposure"
  6093. }
  6094. }
  6095. },
  6096. "500": {
  6097. "description": "Internal Server Error",
  6098. "schema": {
  6099. "$ref": "#/definitions/app.Response"
  6100. }
  6101. }
  6102. }
  6103. }
  6104. },
  6105. "/Ermcp8/QueryErmcp2HedgedItem": {
  6106. "get": {
  6107. "security": [
  6108. {
  6109. "ApiKeyAuth": []
  6110. }
  6111. ],
  6112. "description": "已完成项目查询 -\u003e 项目状态 = 3:正常完结 or 5:异常完结",
  6113. "produces": [
  6114. "application/json"
  6115. ],
  6116. "tags": [
  6117. "企业风险管理v8"
  6118. ],
  6119. "summary": "查询被套期项目信息",
  6120. "parameters": [
  6121. {
  6122. "type": "string",
  6123. "description": "用户ID",
  6124. "name": "userid",
  6125. "in": "query",
  6126. "required": true
  6127. },
  6128. {
  6129. "type": "integer",
  6130. "description": "套期类型 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6131. "name": "hedgedtype",
  6132. "in": "query"
  6133. },
  6134. {
  6135. "type": "integer",
  6136. "description": "项目状态 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6137. "name": "hedgeditemstatus",
  6138. "in": "query"
  6139. }
  6140. ],
  6141. "responses": {
  6142. "200": {
  6143. "description": "OK",
  6144. "schema": {
  6145. "type": "array",
  6146. "items": {
  6147. "$ref": "#/definitions/models.Ermcp2hedgeditem"
  6148. }
  6149. }
  6150. },
  6151. "500": {
  6152. "description": "Internal Server Error",
  6153. "schema": {
  6154. "$ref": "#/definitions/app.Response"
  6155. }
  6156. }
  6157. }
  6158. }
  6159. },
  6160. "/Ermcp8/QueryErmcp2HedgedItemLink": {
  6161. "get": {
  6162. "security": [
  6163. {
  6164. "ApiKeyAuth": []
  6165. }
  6166. ],
  6167. "produces": [
  6168. "application/json"
  6169. ],
  6170. "tags": [
  6171. "企业风险管理v8"
  6172. ],
  6173. "summary": "现货合同关联被套期项目查询",
  6174. "parameters": [
  6175. {
  6176. "type": "integer",
  6177. "description": "现货合同ID",
  6178. "name": "spotcontractid",
  6179. "in": "query",
  6180. "required": true
  6181. }
  6182. ],
  6183. "responses": {
  6184. "200": {
  6185. "description": "OK",
  6186. "schema": {
  6187. "type": "array",
  6188. "items": {
  6189. "$ref": "#/definitions/models.Ermcp2hedgeditemlink"
  6190. }
  6191. }
  6192. },
  6193. "500": {
  6194. "description": "Internal Server Error",
  6195. "schema": {
  6196. "$ref": "#/definitions/app.Response"
  6197. }
  6198. }
  6199. }
  6200. }
  6201. },
  6202. "/Ermcp8/QueryErmcp2HedgedItemsDetail": {
  6203. "get": {
  6204. "security": [
  6205. {
  6206. "ApiKeyAuth": []
  6207. }
  6208. ],
  6209. "produces": [
  6210. "application/json"
  6211. ],
  6212. "tags": [
  6213. "企业风险管理v8"
  6214. ],
  6215. "summary": "敞口明细 - 计划变动明细",
  6216. "parameters": [
  6217. {
  6218. "type": "integer",
  6219. "description": "用户ID",
  6220. "name": "userid",
  6221. "in": "query",
  6222. "required": true
  6223. },
  6224. {
  6225. "type": "integer",
  6226. "description": "套保品种ID",
  6227. "name": "middlegoodsid",
  6228. "in": "query",
  6229. "required": true
  6230. }
  6231. ],
  6232. "responses": {
  6233. "200": {
  6234. "description": "OK",
  6235. "schema": {
  6236. "type": "array",
  6237. "items": {
  6238. "$ref": "#/definitions/models.Ermcp2hedgeditemsDetail"
  6239. }
  6240. }
  6241. },
  6242. "500": {
  6243. "description": "Internal Server Error",
  6244. "schema": {
  6245. "$ref": "#/definitions/app.Response"
  6246. }
  6247. }
  6248. }
  6249. }
  6250. },
  6251. "/Ermcp8/QueryErmcp2StockSpotChangeLog": {
  6252. "get": {
  6253. "security": [
  6254. {
  6255. "ApiKeyAuth": []
  6256. }
  6257. ],
  6258. "produces": [
  6259. "application/json"
  6260. ],
  6261. "tags": [
  6262. "企业风险管理v8"
  6263. ],
  6264. "summary": "敞口明细 - 现货变动明细查询",
  6265. "parameters": [
  6266. {
  6267. "type": "integer",
  6268. "description": "用户ID",
  6269. "name": "userid",
  6270. "in": "query",
  6271. "required": true
  6272. },
  6273. {
  6274. "type": "integer",
  6275. "description": "套保品种ID",
  6276. "name": "middlegoodsid",
  6277. "in": "query",
  6278. "required": true
  6279. }
  6280. ],
  6281. "responses": {
  6282. "200": {
  6283. "description": "OK",
  6284. "schema": {
  6285. "type": "array",
  6286. "items": {
  6287. "$ref": "#/definitions/models.Ermcp2stockspotchangelog"
  6288. }
  6289. }
  6290. },
  6291. "500": {
  6292. "description": "Internal Server Error",
  6293. "schema": {
  6294. "$ref": "#/definitions/app.Response"
  6295. }
  6296. }
  6297. }
  6298. }
  6299. },
  6300. "/Ermcp8/QueryErmcp8EnableHedgeditem": {
  6301. "get": {
  6302. "security": [
  6303. {
  6304. "ApiKeyAuth": []
  6305. }
  6306. ],
  6307. "produces": [
  6308. "application/json"
  6309. ],
  6310. "tags": [
  6311. "企业风险管理v8"
  6312. ],
  6313. "summary": "可关联项目查询",
  6314. "parameters": [
  6315. {
  6316. "type": "integer",
  6317. "description": "用户ID",
  6318. "name": "userid",
  6319. "in": "query",
  6320. "required": true
  6321. },
  6322. {
  6323. "type": "integer",
  6324. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  6325. "name": "spottype",
  6326. "in": "query",
  6327. "required": true
  6328. },
  6329. {
  6330. "type": "integer",
  6331. "description": "现货商品ID",
  6332. "name": "wrstandardid",
  6333. "in": "query"
  6334. }
  6335. ],
  6336. "responses": {
  6337. "200": {
  6338. "description": "OK",
  6339. "schema": {
  6340. "type": "array",
  6341. "items": {
  6342. "$ref": "#/definitions/models.Ermcp8EnableHedgeditem"
  6343. }
  6344. }
  6345. },
  6346. "500": {
  6347. "description": "Internal Server Error",
  6348. "schema": {
  6349. "$ref": "#/definitions/app.Response"
  6350. }
  6351. }
  6352. }
  6353. }
  6354. },
  6355. "/Ermcp8/QueryErmcp8HedgeditemReport": {
  6356. "get": {
  6357. "security": [
  6358. {
  6359. "ApiKeyAuth": []
  6360. }
  6361. ],
  6362. "produces": [
  6363. "application/json"
  6364. ],
  6365. "tags": [
  6366. "企业风险管理v8"
  6367. ],
  6368. "summary": "套期项目报表查询",
  6369. "parameters": [
  6370. {
  6371. "type": "integer",
  6372. "description": "用户ID",
  6373. "name": "userid",
  6374. "in": "query",
  6375. "required": true
  6376. },
  6377. {
  6378. "type": "integer",
  6379. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  6380. "name": "cycletype",
  6381. "in": "query"
  6382. },
  6383. {
  6384. "type": "string",
  6385. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】",
  6386. "name": "cycletime",
  6387. "in": "query",
  6388. "required": true
  6389. },
  6390. {
  6391. "type": "integer",
  6392. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  6393. "name": "hedgedtype",
  6394. "in": "query"
  6395. },
  6396. {
  6397. "type": "integer",
  6398. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  6399. "name": "hedgeditemstatus",
  6400. "in": "query"
  6401. },
  6402. {
  6403. "type": "string",
  6404. "description": "项目编号,模糊查询",
  6405. "name": "hedgeditemnum",
  6406. "in": "query"
  6407. },
  6408. {
  6409. "type": "integer",
  6410. "description": "现货商品ID",
  6411. "name": "wrstandardid",
  6412. "in": "query"
  6413. }
  6414. ],
  6415. "responses": {
  6416. "200": {
  6417. "description": "OK",
  6418. "schema": {
  6419. "type": "array",
  6420. "items": {
  6421. "$ref": "#/definitions/models.Ermcp8HedgeditemReport"
  6422. }
  6423. }
  6424. },
  6425. "500": {
  6426. "description": "Internal Server Error",
  6427. "schema": {
  6428. "$ref": "#/definitions/app.Response"
  6429. }
  6430. }
  6431. }
  6432. }
  6433. },
  6434. "/Ermcp8/QueryErmcp8RunningHedgeditem": {
  6435. "get": {
  6436. "security": [
  6437. {
  6438. "ApiKeyAuth": []
  6439. }
  6440. ],
  6441. "produces": [
  6442. "application/json"
  6443. ],
  6444. "tags": [
  6445. "企业风险管理v8"
  6446. ],
  6447. "summary": "查询执行中项目查询信息",
  6448. "parameters": [
  6449. {
  6450. "type": "string",
  6451. "description": "用户ID",
  6452. "name": "userid",
  6453. "in": "query",
  6454. "required": true
  6455. }
  6456. ],
  6457. "responses": {
  6458. "200": {
  6459. "description": "OK",
  6460. "schema": {
  6461. "type": "array",
  6462. "items": {
  6463. "$ref": "#/definitions/models.Ermcp8RunningHedgeditem"
  6464. }
  6465. }
  6466. },
  6467. "500": {
  6468. "description": "Internal Server Error",
  6469. "schema": {
  6470. "$ref": "#/definitions/app.Response"
  6471. }
  6472. }
  6473. }
  6474. }
  6475. },
  6476. "/Ermcp8/QueryInternalEnableTradeDetail": {
  6477. "get": {
  6478. "security": [
  6479. {
  6480. "ApiKeyAuth": []
  6481. }
  6482. ],
  6483. "produces": [
  6484. "application/json"
  6485. ],
  6486. "tags": [
  6487. "企业风险管理v8"
  6488. ],
  6489. "summary": "内部成交单可关联项目查询",
  6490. "parameters": [
  6491. {
  6492. "type": "integer",
  6493. "description": "企业ID",
  6494. "name": "areauserid",
  6495. "in": "query",
  6496. "required": true
  6497. },
  6498. {
  6499. "type": "integer",
  6500. "description": "期货合约ID",
  6501. "name": "goodsid",
  6502. "in": "query",
  6503. "required": true
  6504. },
  6505. {
  6506. "type": "integer",
  6507. "description": "交易用户ID",
  6508. "name": "tradeuserid",
  6509. "in": "query",
  6510. "required": true
  6511. }
  6512. ],
  6513. "responses": {
  6514. "200": {
  6515. "description": "OK",
  6516. "schema": {
  6517. "type": "array",
  6518. "items": {
  6519. "$ref": "#/definitions/models.InternalEnableTradeDetail"
  6520. }
  6521. }
  6522. },
  6523. "500": {
  6524. "description": "Internal Server Error",
  6525. "schema": {
  6526. "$ref": "#/definitions/app.Response"
  6527. }
  6528. }
  6529. }
  6530. }
  6531. },
  6532. "/Ermcp8/QueryInternalUncorrelatedTradeDetail": {
  6533. "get": {
  6534. "security": [
  6535. {
  6536. "ApiKeyAuth": []
  6537. }
  6538. ],
  6539. "produces": [
  6540. "application/json"
  6541. ],
  6542. "tags": [
  6543. "企业风险管理v8"
  6544. ],
  6545. "summary": "内部未关联成交单查询",
  6546. "parameters": [
  6547. {
  6548. "type": "integer",
  6549. "description": "用户编号",
  6550. "name": "userid",
  6551. "in": "query",
  6552. "required": true
  6553. },
  6554. {
  6555. "type": "string",
  6556. "description": "起始日期(格式yyyymmdd)",
  6557. "name": "begindate",
  6558. "in": "query"
  6559. },
  6560. {
  6561. "type": "string",
  6562. "description": "终止日期(格式yyyymmdd)",
  6563. "name": "enddate",
  6564. "in": "query"
  6565. },
  6566. {
  6567. "type": "string",
  6568. "description": "合约代码",
  6569. "name": "goodscode",
  6570. "in": "query"
  6571. },
  6572. {
  6573. "type": "string",
  6574. "description": "合约名称",
  6575. "name": "goodsname",
  6576. "in": "query"
  6577. },
  6578. {
  6579. "type": "integer",
  6580. "description": "成交单号",
  6581. "name": "tradeid",
  6582. "in": "query"
  6583. },
  6584. {
  6585. "type": "integer",
  6586. "description": "方向 - 0:买 1:卖",
  6587. "name": "buyorsell",
  6588. "in": "query"
  6589. },
  6590. {
  6591. "type": "string",
  6592. "description": "套期主体",
  6593. "name": "accountname",
  6594. "in": "query"
  6595. }
  6596. ],
  6597. "responses": {
  6598. "200": {
  6599. "description": "OK",
  6600. "schema": {
  6601. "type": "array",
  6602. "items": {
  6603. "$ref": "#/definitions/models.InternalUncorrelatedTradeDetail"
  6604. }
  6605. }
  6606. },
  6607. "500": {
  6608. "description": "Internal Server Error",
  6609. "schema": {
  6610. "$ref": "#/definitions/app.Response"
  6611. }
  6612. }
  6613. }
  6614. }
  6615. },
  6616. "/Ermcp8/QueryMarketCalendar": {
  6617. "get": {
  6618. "security": [
  6619. {
  6620. "ApiKeyAuth": []
  6621. }
  6622. ],
  6623. "produces": [
  6624. "application/json"
  6625. ],
  6626. "tags": [
  6627. "企业风险管理v8"
  6628. ],
  6629. "summary": "市场节假日查询",
  6630. "parameters": [
  6631. {
  6632. "type": "integer",
  6633. "description": "市场ID",
  6634. "name": "marketid",
  6635. "in": "query"
  6636. }
  6637. ],
  6638. "responses": {
  6639. "200": {
  6640. "description": "OK",
  6641. "schema": {
  6642. "type": "array",
  6643. "items": {
  6644. "$ref": "#/definitions/models.Marketcalendar"
  6645. }
  6646. }
  6647. },
  6648. "500": {
  6649. "description": "Internal Server Error",
  6650. "schema": {
  6651. "$ref": "#/definitions/app.Response"
  6652. }
  6653. }
  6654. }
  6655. }
  6656. },
  6657. "/Ermcp8/QueryPatradeLinkDetail": {
  6658. "get": {
  6659. "security": [
  6660. {
  6661. "ApiKeyAuth": []
  6662. }
  6663. ],
  6664. "produces": [
  6665. "application/json"
  6666. ],
  6667. "tags": [
  6668. "企业风险管理v8"
  6669. ],
  6670. "summary": "敞口明细 - 期货变动明细",
  6671. "parameters": [
  6672. {
  6673. "type": "integer",
  6674. "description": "用户ID",
  6675. "name": "userid",
  6676. "in": "query",
  6677. "required": true
  6678. },
  6679. {
  6680. "type": "integer",
  6681. "description": "套保品种ID",
  6682. "name": "middlegoodsid",
  6683. "in": "query",
  6684. "required": true
  6685. }
  6686. ],
  6687. "responses": {
  6688. "200": {
  6689. "description": "OK",
  6690. "schema": {
  6691. "type": "array",
  6692. "items": {
  6693. "$ref": "#/definitions/models.Patradelinkdetail"
  6694. }
  6695. }
  6696. },
  6697. "500": {
  6698. "description": "Internal Server Error",
  6699. "schema": {
  6700. "$ref": "#/definitions/app.Response"
  6701. }
  6702. }
  6703. }
  6704. }
  6705. },
  6706. "/Ermcp8/QueryUnLinkErmcpHedgePlan": {
  6707. "get": {
  6708. "security": [
  6709. {
  6710. "ApiKeyAuth": []
  6711. }
  6712. ],
  6713. "produces": [
  6714. "application/json"
  6715. ],
  6716. "tags": [
  6717. "企业风险管理v8"
  6718. ],
  6719. "summary": "未关联购销计划",
  6720. "parameters": [
  6721. {
  6722. "type": "integer",
  6723. "description": "企业ID",
  6724. "name": "areauserid",
  6725. "in": "query",
  6726. "required": true
  6727. },
  6728. {
  6729. "type": "integer",
  6730. "description": "计划类型 - 1:采购 -1:销售",
  6731. "name": "contracttype",
  6732. "in": "query"
  6733. },
  6734. {
  6735. "type": "string",
  6736. "description": "计划编号,模糊查询",
  6737. "name": "hedgeplanno",
  6738. "in": "query"
  6739. },
  6740. {
  6741. "type": "string",
  6742. "description": "现货商品,模糊查询",
  6743. "name": "wrstandardname",
  6744. "in": "query"
  6745. }
  6746. ],
  6747. "responses": {
  6748. "200": {
  6749. "description": "OK",
  6750. "schema": {
  6751. "type": "array",
  6752. "items": {
  6753. "$ref": "#/definitions/models.Unlinkermcphedgeplan"
  6754. }
  6755. }
  6756. },
  6757. "500": {
  6758. "description": "Internal Server Error",
  6759. "schema": {
  6760. "$ref": "#/definitions/app.Response"
  6761. }
  6762. }
  6763. }
  6764. }
  6765. },
  6766. "/Ermcp8/QueryUnLinkSpotContract": {
  6767. "get": {
  6768. "security": [
  6769. {
  6770. "ApiKeyAuth": []
  6771. }
  6772. ],
  6773. "produces": [
  6774. "application/json"
  6775. ],
  6776. "tags": [
  6777. "企业风险管理v8"
  6778. ],
  6779. "summary": "未关联合同查询",
  6780. "parameters": [
  6781. {
  6782. "type": "integer",
  6783. "description": "用户ID",
  6784. "name": "userid",
  6785. "in": "query",
  6786. "required": true
  6787. },
  6788. {
  6789. "type": "integer",
  6790. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  6791. "name": "pricetype",
  6792. "in": "query"
  6793. },
  6794. {
  6795. "type": "string",
  6796. "description": "合同编号, 模拟查询",
  6797. "name": "contractno",
  6798. "in": "query"
  6799. },
  6800. {
  6801. "type": "string",
  6802. "description": "对手方, 模拟查询",
  6803. "name": "customername",
  6804. "in": "query"
  6805. },
  6806. {
  6807. "type": "integer",
  6808. "description": "项合同类型 - 1:采购 -1:销售",
  6809. "name": "contracttype",
  6810. "in": "query"
  6811. }
  6812. ],
  6813. "responses": {
  6814. "200": {
  6815. "description": "OK",
  6816. "schema": {
  6817. "type": "array",
  6818. "items": {
  6819. "$ref": "#/definitions/models.ErmcpSpotContractModelEx"
  6820. }
  6821. }
  6822. },
  6823. "500": {
  6824. "description": "Internal Server Error",
  6825. "schema": {
  6826. "$ref": "#/definitions/app.Response"
  6827. }
  6828. }
  6829. }
  6830. }
  6831. },
  6832. "/Erms2/QueryArbitrageStrategy": {
  6833. "get": {
  6834. "security": [
  6835. {
  6836. "ApiKeyAuth": []
  6837. }
  6838. ],
  6839. "produces": [
  6840. "application/json"
  6841. ],
  6842. "tags": [
  6843. "风险管理"
  6844. ],
  6845. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  6846. "parameters": [
  6847. {
  6848. "type": "integer",
  6849. "description": "账户ID",
  6850. "name": "userid",
  6851. "in": "query",
  6852. "required": true
  6853. },
  6854. {
  6855. "type": "string",
  6856. "description": "商品组ID(品种ID)",
  6857. "name": "goodsgroupid",
  6858. "in": "query"
  6859. }
  6860. ],
  6861. "responses": {
  6862. "200": {
  6863. "description": "OK",
  6864. "schema": {
  6865. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  6866. }
  6867. },
  6868. "500": {
  6869. "description": "Internal Server Error",
  6870. "schema": {
  6871. "$ref": "#/definitions/app.Response"
  6872. }
  6873. }
  6874. }
  6875. }
  6876. },
  6877. "/Erms2/QueryInnerTradeDetail": {
  6878. "get": {
  6879. "security": [
  6880. {
  6881. "ApiKeyAuth": []
  6882. }
  6883. ],
  6884. "produces": [
  6885. "application/json"
  6886. ],
  6887. "tags": [
  6888. "风险管理"
  6889. ],
  6890. "summary": "查询内部成交单信息",
  6891. "parameters": [
  6892. {
  6893. "type": "integer",
  6894. "description": "资金账户",
  6895. "name": "accountid",
  6896. "in": "query",
  6897. "required": true
  6898. }
  6899. ],
  6900. "responses": {
  6901. "200": {
  6902. "description": "OK",
  6903. "schema": {
  6904. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  6905. }
  6906. },
  6907. "500": {
  6908. "description": "Internal Server Error",
  6909. "schema": {
  6910. "$ref": "#/definitions/app.Response"
  6911. }
  6912. }
  6913. }
  6914. }
  6915. },
  6916. "/Erms2/QuerySpotContract": {
  6917. "get": {
  6918. "security": [
  6919. {
  6920. "ApiKeyAuth": []
  6921. }
  6922. ],
  6923. "produces": [
  6924. "application/json"
  6925. ],
  6926. "tags": [
  6927. "风险管理"
  6928. ],
  6929. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  6930. "parameters": [
  6931. {
  6932. "type": "integer",
  6933. "description": "策略申请ID",
  6934. "name": "asapplyid",
  6935. "in": "query",
  6936. "required": true
  6937. },
  6938. {
  6939. "type": "integer",
  6940. "description": "现货合同ID",
  6941. "name": "spotcontractid",
  6942. "in": "query"
  6943. }
  6944. ],
  6945. "responses": {
  6946. "200": {
  6947. "description": "OK",
  6948. "schema": {
  6949. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  6950. }
  6951. },
  6952. "500": {
  6953. "description": "Internal Server Error",
  6954. "schema": {
  6955. "$ref": "#/definitions/app.Response"
  6956. }
  6957. }
  6958. }
  6959. }
  6960. },
  6961. "/Erms3/AddErms2ASApply": {
  6962. "post": {
  6963. "security": [
  6964. {
  6965. "ApiKeyAuth": []
  6966. }
  6967. ],
  6968. "produces": [
  6969. "application/json"
  6970. ],
  6971. "tags": [
  6972. "风险管理v3"
  6973. ],
  6974. "summary": "新增期现套利业务申请",
  6975. "parameters": [
  6976. {
  6977. "description": "申请参数",
  6978. "name": "jsonBody",
  6979. "in": "body",
  6980. "required": true,
  6981. "schema": {
  6982. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  6983. }
  6984. }
  6985. ],
  6986. "responses": {
  6987. "200": {
  6988. "description": "OK",
  6989. "schema": {
  6990. "$ref": "#/definitions/app.Response"
  6991. }
  6992. },
  6993. "500": {
  6994. "description": "Internal Server Error",
  6995. "schema": {
  6996. "$ref": "#/definitions/app.Response"
  6997. }
  6998. }
  6999. }
  7000. }
  7001. },
  7002. "/Erms3/AddErms2SpotTradeApply": {
  7003. "post": {
  7004. "security": [
  7005. {
  7006. "ApiKeyAuth": []
  7007. }
  7008. ],
  7009. "produces": [
  7010. "application/json"
  7011. ],
  7012. "tags": [
  7013. "风险管理v3"
  7014. ],
  7015. "summary": "新增现货贸易业务申请",
  7016. "parameters": [
  7017. {
  7018. "description": "申请参数",
  7019. "name": "jsonBody",
  7020. "in": "body",
  7021. "required": true,
  7022. "schema": {
  7023. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  7024. }
  7025. }
  7026. ],
  7027. "responses": {
  7028. "200": {
  7029. "description": "OK",
  7030. "schema": {
  7031. "$ref": "#/definitions/app.Response"
  7032. }
  7033. },
  7034. "500": {
  7035. "description": "Internal Server Error",
  7036. "schema": {
  7037. "$ref": "#/definitions/app.Response"
  7038. }
  7039. }
  7040. }
  7041. }
  7042. },
  7043. "/Erms3/AddSpotContractApply": {
  7044. "post": {
  7045. "security": [
  7046. {
  7047. "ApiKeyAuth": []
  7048. }
  7049. ],
  7050. "produces": [
  7051. "application/json"
  7052. ],
  7053. "tags": [
  7054. "风险管理v3"
  7055. ],
  7056. "summary": "新增现货合同申请",
  7057. "parameters": [
  7058. {
  7059. "description": "申请参数",
  7060. "name": "jsonBody",
  7061. "in": "body",
  7062. "required": true,
  7063. "schema": {
  7064. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  7065. }
  7066. }
  7067. ],
  7068. "responses": {
  7069. "200": {
  7070. "description": "OK",
  7071. "schema": {
  7072. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  7073. }
  7074. },
  7075. "500": {
  7076. "description": "Internal Server Error",
  7077. "schema": {
  7078. "$ref": "#/definitions/app.Response"
  7079. }
  7080. }
  7081. }
  7082. }
  7083. },
  7084. "/Erms3/AddUserInfoApply": {
  7085. "post": {
  7086. "security": [
  7087. {
  7088. "ApiKeyAuth": []
  7089. }
  7090. ],
  7091. "produces": [
  7092. "application/json"
  7093. ],
  7094. "tags": [
  7095. "风险管理v3"
  7096. ],
  7097. "summary": "新增客户申请",
  7098. "parameters": [
  7099. {
  7100. "description": "用户信息",
  7101. "name": "jsonBody",
  7102. "in": "body",
  7103. "required": true,
  7104. "schema": {
  7105. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  7106. }
  7107. }
  7108. ],
  7109. "responses": {
  7110. "200": {
  7111. "description": "OK",
  7112. "schema": {
  7113. "$ref": "#/definitions/app.Response"
  7114. }
  7115. },
  7116. "500": {
  7117. "description": "Internal Server Error",
  7118. "schema": {
  7119. "$ref": "#/definitions/app.Response"
  7120. }
  7121. }
  7122. }
  7123. }
  7124. },
  7125. "/Erms3/DeleteUserInfoApply": {
  7126. "get": {
  7127. "security": [
  7128. {
  7129. "ApiKeyAuth": []
  7130. }
  7131. ],
  7132. "description": "只可删除 UserState = 1 (未提交)状态的申请信息",
  7133. "produces": [
  7134. "application/json"
  7135. ],
  7136. "tags": [
  7137. "风险管理v3"
  7138. ],
  7139. "summary": "删除客户申请",
  7140. "parameters": [
  7141. {
  7142. "type": "integer",
  7143. "description": "用户ID",
  7144. "name": "userID",
  7145. "in": "query",
  7146. "required": true
  7147. }
  7148. ],
  7149. "responses": {
  7150. "200": {
  7151. "description": "OK",
  7152. "schema": {
  7153. "$ref": "#/definitions/app.Response"
  7154. }
  7155. },
  7156. "500": {
  7157. "description": "Internal Server Error",
  7158. "schema": {
  7159. "$ref": "#/definitions/app.Response"
  7160. }
  7161. }
  7162. }
  7163. }
  7164. },
  7165. "/Erms3/ModifyUserInfoApply": {
  7166. "post": {
  7167. "security": [
  7168. {
  7169. "ApiKeyAuth": []
  7170. }
  7171. ],
  7172. "description": "保存草稿(撤回)- { \"userid\": int, \"userstate\": 1 } 提交审核 - { \"userid\": int, \"userstate\": 2 }",
  7173. "produces": [
  7174. "application/json"
  7175. ],
  7176. "tags": [
  7177. "风险管理v3"
  7178. ],
  7179. "summary": "修改客户申请",
  7180. "parameters": [
  7181. {
  7182. "description": "用户信息",
  7183. "name": "jsonBody",
  7184. "in": "body",
  7185. "required": true,
  7186. "schema": {
  7187. "$ref": "#/definitions/erms3.ModifyUserInfoApplyReq"
  7188. }
  7189. }
  7190. ],
  7191. "responses": {
  7192. "200": {
  7193. "description": "OK",
  7194. "schema": {
  7195. "$ref": "#/definitions/app.Response"
  7196. }
  7197. },
  7198. "500": {
  7199. "description": "Internal Server Error",
  7200. "schema": {
  7201. "$ref": "#/definitions/app.Response"
  7202. }
  7203. }
  7204. }
  7205. }
  7206. },
  7207. "/Erms3/QueryBusinessInfo": {
  7208. "get": {
  7209. "security": [
  7210. {
  7211. "ApiKeyAuth": []
  7212. }
  7213. ],
  7214. "produces": [
  7215. "application/json"
  7216. ],
  7217. "tags": [
  7218. "风险管理v3"
  7219. ],
  7220. "summary": "查询业务表单数据",
  7221. "parameters": [
  7222. {
  7223. "type": "string",
  7224. "description": "资金账号ID列表,用逗号分隔",
  7225. "name": "accountids",
  7226. "in": "query",
  7227. "required": true
  7228. },
  7229. {
  7230. "type": "integer",
  7231. "description": "状态,0为未结束 1为已结束",
  7232. "name": "status",
  7233. "in": "query",
  7234. "required": true
  7235. }
  7236. ],
  7237. "responses": {
  7238. "200": {
  7239. "description": "OK",
  7240. "schema": {
  7241. "type": "array",
  7242. "items": {
  7243. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  7244. }
  7245. }
  7246. },
  7247. "500": {
  7248. "description": "Internal Server Error",
  7249. "schema": {
  7250. "$ref": "#/definitions/app.Response"
  7251. }
  7252. }
  7253. }
  7254. }
  7255. },
  7256. "/Erms3/QueryPendingAuditContract": {
  7257. "get": {
  7258. "security": [
  7259. {
  7260. "ApiKeyAuth": []
  7261. }
  7262. ],
  7263. "produces": [
  7264. "application/json"
  7265. ],
  7266. "tags": [
  7267. "风险管理v3"
  7268. ],
  7269. "summary": "查询待审核合同",
  7270. "parameters": [
  7271. {
  7272. "type": "string",
  7273. "description": "资金账号ID列表,逗号隔开",
  7274. "name": "accountids",
  7275. "in": "query",
  7276. "required": true
  7277. },
  7278. {
  7279. "type": "integer",
  7280. "description": "合同类型 1-采购 -1-销售",
  7281. "name": "contracttype",
  7282. "in": "query",
  7283. "required": true
  7284. },
  7285. {
  7286. "type": "integer",
  7287. "description": "合同模式 1-普通 2-回购",
  7288. "name": "contractmode",
  7289. "in": "query",
  7290. "required": true
  7291. }
  7292. ],
  7293. "responses": {
  7294. "200": {
  7295. "description": "OK",
  7296. "schema": {
  7297. "type": "array",
  7298. "items": {
  7299. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  7300. }
  7301. }
  7302. },
  7303. "500": {
  7304. "description": "Internal Server Error",
  7305. "schema": {
  7306. "$ref": "#/definitions/app.Response"
  7307. }
  7308. }
  7309. }
  7310. }
  7311. },
  7312. "/Erms3/QueryPendingBusiness": {
  7313. "get": {
  7314. "security": [
  7315. {
  7316. "ApiKeyAuth": []
  7317. }
  7318. ],
  7319. "produces": [
  7320. "application/json"
  7321. ],
  7322. "tags": [
  7323. "风险管理v3"
  7324. ],
  7325. "summary": "查询待审核基差贸易业务",
  7326. "parameters": [
  7327. {
  7328. "type": "string",
  7329. "description": "资金账号ID列表,逗号隔开",
  7330. "name": "accountids",
  7331. "in": "query",
  7332. "required": true
  7333. }
  7334. ],
  7335. "responses": {
  7336. "200": {
  7337. "description": "OK",
  7338. "schema": {
  7339. "type": "array",
  7340. "items": {
  7341. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  7342. }
  7343. }
  7344. },
  7345. "500": {
  7346. "description": "Internal Server Error",
  7347. "schema": {
  7348. "$ref": "#/definitions/app.Response"
  7349. }
  7350. }
  7351. }
  7352. }
  7353. },
  7354. "/Erms3/QuerySpotContractAppleForm": {
  7355. "get": {
  7356. "security": [
  7357. {
  7358. "ApiKeyAuth": []
  7359. }
  7360. ],
  7361. "produces": [
  7362. "application/json"
  7363. ],
  7364. "tags": [
  7365. "风险管理v3"
  7366. ],
  7367. "summary": "查询合同申请表单数据",
  7368. "parameters": [
  7369. {
  7370. "type": "integer",
  7371. "description": "登录账号",
  7372. "name": "loginID",
  7373. "in": "query",
  7374. "required": true
  7375. }
  7376. ],
  7377. "responses": {
  7378. "200": {
  7379. "description": "OK",
  7380. "schema": {
  7381. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  7382. }
  7383. },
  7384. "500": {
  7385. "description": "Internal Server Error",
  7386. "schema": {
  7387. "$ref": "#/definitions/app.Response"
  7388. }
  7389. }
  7390. }
  7391. }
  7392. },
  7393. "/Erms3/QuerySpotContractDetail": {
  7394. "get": {
  7395. "security": [
  7396. {
  7397. "ApiKeyAuth": []
  7398. }
  7399. ],
  7400. "produces": [
  7401. "application/json"
  7402. ],
  7403. "tags": [
  7404. "风险管理v3"
  7405. ],
  7406. "summary": "查询合同详细信息",
  7407. "parameters": [
  7408. {
  7409. "type": "string",
  7410. "description": "资金账号ID列表,用逗号分隔",
  7411. "name": "accountids",
  7412. "in": "query",
  7413. "required": true
  7414. },
  7415. {
  7416. "type": "integer",
  7417. "description": "合同类型,1为采购合同 -1为销售合同",
  7418. "name": "contracttype",
  7419. "in": "query",
  7420. "required": true
  7421. },
  7422. {
  7423. "type": "integer",
  7424. "description": "合同模式,1为普通合同 2为回购销售合同",
  7425. "name": "contractmode",
  7426. "in": "query",
  7427. "required": true
  7428. },
  7429. {
  7430. "type": "integer",
  7431. "description": "状态,0为履约中 1为已完成",
  7432. "name": "status",
  7433. "in": "query",
  7434. "required": true
  7435. }
  7436. ],
  7437. "responses": {
  7438. "200": {
  7439. "description": "OK",
  7440. "schema": {
  7441. "type": "array",
  7442. "items": {
  7443. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  7444. }
  7445. }
  7446. },
  7447. "500": {
  7448. "description": "Internal Server Error",
  7449. "schema": {
  7450. "$ref": "#/definitions/app.Response"
  7451. }
  7452. }
  7453. }
  7454. }
  7455. },
  7456. "/Erms3/QueryUserInfoApplies": {
  7457. "get": {
  7458. "security": [
  7459. {
  7460. "ApiKeyAuth": []
  7461. }
  7462. ],
  7463. "produces": [
  7464. "application/json"
  7465. ],
  7466. "tags": [
  7467. "风险管理v3"
  7468. ],
  7469. "summary": "客户申请信息查询",
  7470. "parameters": [
  7471. {
  7472. "type": "integer",
  7473. "description": "页码",
  7474. "name": "page",
  7475. "in": "query"
  7476. },
  7477. {
  7478. "type": "integer",
  7479. "description": "每页条数",
  7480. "name": "pagesize",
  7481. "in": "query"
  7482. },
  7483. {
  7484. "type": "string",
  7485. "description": "客户名称,支持模糊查询",
  7486. "name": "userName",
  7487. "in": "query"
  7488. }
  7489. ],
  7490. "responses": {
  7491. "200": {
  7492. "description": "OK",
  7493. "schema": {
  7494. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  7495. }
  7496. },
  7497. "500": {
  7498. "description": "Internal Server Error",
  7499. "schema": {
  7500. "$ref": "#/definitions/app.Response"
  7501. }
  7502. }
  7503. }
  7504. }
  7505. },
  7506. "/Erms3/QueryUserInfos": {
  7507. "get": {
  7508. "security": [
  7509. {
  7510. "ApiKeyAuth": []
  7511. }
  7512. ],
  7513. "produces": [
  7514. "application/json"
  7515. ],
  7516. "tags": [
  7517. "风险管理v3"
  7518. ],
  7519. "summary": "客户信息查询",
  7520. "parameters": [
  7521. {
  7522. "type": "integer",
  7523. "description": "页码",
  7524. "name": "page",
  7525. "in": "query"
  7526. },
  7527. {
  7528. "type": "integer",
  7529. "description": "每页条数",
  7530. "name": "pagesize",
  7531. "in": "query"
  7532. },
  7533. {
  7534. "type": "string",
  7535. "description": "客户名称,支持模糊查询",
  7536. "name": "userName",
  7537. "in": "query"
  7538. }
  7539. ],
  7540. "responses": {
  7541. "200": {
  7542. "description": "OK",
  7543. "schema": {
  7544. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  7545. }
  7546. },
  7547. "500": {
  7548. "description": "Internal Server Error",
  7549. "schema": {
  7550. "$ref": "#/definitions/app.Response"
  7551. }
  7552. }
  7553. }
  7554. }
  7555. },
  7556. "/Ferroalloy/GetSpotGoodsPrice": {
  7557. "get": {
  7558. "security": [
  7559. {
  7560. "ApiKeyAuth": []
  7561. }
  7562. ],
  7563. "produces": [
  7564. "application/json"
  7565. ],
  7566. "tags": [
  7567. "铁合金"
  7568. ],
  7569. "summary": "获取现货行情",
  7570. "parameters": [
  7571. {
  7572. "type": "integer",
  7573. "description": "页码",
  7574. "name": "page",
  7575. "in": "query"
  7576. },
  7577. {
  7578. "type": "integer",
  7579. "description": "每页条数",
  7580. "name": "pagesize",
  7581. "in": "query"
  7582. }
  7583. ],
  7584. "responses": {
  7585. "200": {
  7586. "description": "OK",
  7587. "schema": {
  7588. "type": "array",
  7589. "items": {
  7590. "$ref": "#/definitions/models.GErmcpspotgoodsprice"
  7591. }
  7592. }
  7593. },
  7594. "500": {
  7595. "description": "Internal Server Error",
  7596. "schema": {
  7597. "$ref": "#/definitions/app.Response"
  7598. }
  7599. }
  7600. }
  7601. }
  7602. },
  7603. "/Ferroalloy/QueryMyRefer": {
  7604. "get": {
  7605. "security": [
  7606. {
  7607. "ApiKeyAuth": []
  7608. }
  7609. ],
  7610. "produces": [
  7611. "application/json"
  7612. ],
  7613. "tags": [
  7614. "铁合金"
  7615. ],
  7616. "summary": "查询我的推荐列表",
  7617. "parameters": [
  7618. {
  7619. "type": "integer",
  7620. "description": "用户ID",
  7621. "name": "userid",
  7622. "in": "query",
  7623. "required": true
  7624. },
  7625. {
  7626. "type": "integer",
  7627. "description": "页码",
  7628. "name": "page",
  7629. "in": "query"
  7630. },
  7631. {
  7632. "type": "integer",
  7633. "description": "每页条数",
  7634. "name": "pagesize",
  7635. "in": "query"
  7636. }
  7637. ],
  7638. "responses": {
  7639. "200": {
  7640. "description": "OK",
  7641. "schema": {
  7642. "type": "array",
  7643. "items": {
  7644. "$ref": "#/definitions/models.MyRefer"
  7645. }
  7646. }
  7647. },
  7648. "500": {
  7649. "description": "Internal Server Error",
  7650. "schema": {
  7651. "$ref": "#/definitions/app.Response"
  7652. }
  7653. }
  7654. }
  7655. }
  7656. },
  7657. "/Ferroalloy/QueryMyRegisterMoney": {
  7658. "get": {
  7659. "produces": [
  7660. "application/json"
  7661. ],
  7662. "tags": [
  7663. "铁合金"
  7664. ],
  7665. "summary": "查询我的注册红包",
  7666. "parameters": [
  7667. {
  7668. "type": "integer",
  7669. "description": "资金账户",
  7670. "name": "accountid",
  7671. "in": "query",
  7672. "required": true
  7673. }
  7674. ],
  7675. "responses": {
  7676. "200": {
  7677. "description": "OK",
  7678. "schema": {
  7679. "type": "array",
  7680. "items": {
  7681. "$ref": "#/definitions/models.RegisterMoney"
  7682. }
  7683. }
  7684. },
  7685. "500": {
  7686. "description": "Internal Server Error",
  7687. "schema": {
  7688. "$ref": "#/definitions/app.Response"
  7689. }
  7690. }
  7691. }
  7692. }
  7693. },
  7694. "/Ferroalloy/QueryTHJGoodsDetail": {
  7695. "get": {
  7696. "security": [
  7697. {
  7698. "ApiKeyAuth": []
  7699. }
  7700. ],
  7701. "produces": [
  7702. "application/json"
  7703. ],
  7704. "tags": [
  7705. "铁合金"
  7706. ],
  7707. "summary": "查询商品详情",
  7708. "parameters": [
  7709. {
  7710. "type": "integer",
  7711. "description": "现货商品ID",
  7712. "name": "wrstandardid",
  7713. "in": "query",
  7714. "required": true
  7715. }
  7716. ],
  7717. "responses": {
  7718. "200": {
  7719. "description": "OK",
  7720. "schema": {
  7721. "type": "array",
  7722. "items": {
  7723. "$ref": "#/definitions/models.THJGoodsDetailRsp"
  7724. }
  7725. }
  7726. },
  7727. "500": {
  7728. "description": "Internal Server Error",
  7729. "schema": {
  7730. "$ref": "#/definitions/app.Response"
  7731. }
  7732. }
  7733. }
  7734. }
  7735. },
  7736. "/Ferroalloy/QueryTHJListing": {
  7737. "get": {
  7738. "security": [
  7739. {
  7740. "ApiKeyAuth": []
  7741. }
  7742. ],
  7743. "produces": [
  7744. "application/json"
  7745. ],
  7746. "tags": [
  7747. "铁合金"
  7748. ],
  7749. "summary": "查询供求列表",
  7750. "parameters": [
  7751. {
  7752. "type": "string",
  7753. "description": "现货商品名称(模糊查询)",
  7754. "name": "wrstandardname",
  7755. "in": "query"
  7756. },
  7757. {
  7758. "type": "integer",
  7759. "description": "页码",
  7760. "name": "page",
  7761. "in": "query"
  7762. },
  7763. {
  7764. "type": "integer",
  7765. "description": "每页条数",
  7766. "name": "pagesize",
  7767. "in": "query"
  7768. }
  7769. ],
  7770. "responses": {
  7771. "200": {
  7772. "description": "OK",
  7773. "schema": {
  7774. "type": "array",
  7775. "items": {
  7776. "$ref": "#/definitions/models.THJWrstandard"
  7777. }
  7778. }
  7779. },
  7780. "500": {
  7781. "description": "Internal Server Error",
  7782. "schema": {
  7783. "$ref": "#/definitions/app.Response"
  7784. }
  7785. }
  7786. }
  7787. }
  7788. },
  7789. "/Ferroalloy/QueryTHJProduct": {
  7790. "get": {
  7791. "security": [
  7792. {
  7793. "ApiKeyAuth": []
  7794. }
  7795. ],
  7796. "produces": [
  7797. "application/json"
  7798. ],
  7799. "tags": [
  7800. "铁合金"
  7801. ],
  7802. "summary": "获取产品介绍列表",
  7803. "parameters": [
  7804. {
  7805. "type": "integer",
  7806. "description": "用户ID",
  7807. "name": "userid",
  7808. "in": "query",
  7809. "required": true
  7810. },
  7811. {
  7812. "type": "boolean",
  7813. "description": "关注标志 true-已关注 false-未关注",
  7814. "name": "favoriteflag",
  7815. "in": "query"
  7816. },
  7817. {
  7818. "type": "integer",
  7819. "description": "页码",
  7820. "name": "page",
  7821. "in": "query"
  7822. },
  7823. {
  7824. "type": "integer",
  7825. "description": "每页条数",
  7826. "name": "pagesize",
  7827. "in": "query"
  7828. }
  7829. ],
  7830. "responses": {
  7831. "200": {
  7832. "description": "OK",
  7833. "schema": {
  7834. "type": "array",
  7835. "items": {
  7836. "$ref": "#/definitions/models.THJProduct"
  7837. }
  7838. }
  7839. },
  7840. "500": {
  7841. "description": "Internal Server Error",
  7842. "schema": {
  7843. "$ref": "#/definitions/app.Response"
  7844. }
  7845. }
  7846. }
  7847. }
  7848. },
  7849. "/Ferroalloy/QueryTHJPromotionIncome": {
  7850. "get": {
  7851. "security": [
  7852. {
  7853. "ApiKeyAuth": []
  7854. }
  7855. ],
  7856. "produces": [
  7857. "application/json"
  7858. ],
  7859. "tags": [
  7860. "铁合金"
  7861. ],
  7862. "summary": "查询我的推广-推广收益",
  7863. "parameters": [
  7864. {
  7865. "type": "integer",
  7866. "description": "用户ID",
  7867. "name": "userid",
  7868. "in": "query",
  7869. "required": true
  7870. },
  7871. {
  7872. "type": "integer",
  7873. "description": "状态 - 0:全部 1:已支付 2:未支付",
  7874. "name": "profitstatus",
  7875. "in": "query"
  7876. },
  7877. {
  7878. "type": "integer",
  7879. "description": "页码",
  7880. "name": "page",
  7881. "in": "query"
  7882. },
  7883. {
  7884. "type": "integer",
  7885. "description": "每页条数",
  7886. "name": "pagesize",
  7887. "in": "query"
  7888. }
  7889. ],
  7890. "responses": {
  7891. "200": {
  7892. "description": "OK",
  7893. "schema": {
  7894. "type": "array",
  7895. "items": {
  7896. "$ref": "#/definitions/models.PromotionIncome"
  7897. }
  7898. }
  7899. },
  7900. "500": {
  7901. "description": "Internal Server Error",
  7902. "schema": {
  7903. "$ref": "#/definitions/app.Response"
  7904. }
  7905. }
  7906. }
  7907. }
  7908. },
  7909. "/Ferroalloy/QueryTHJPromotionIncomeDetail": {
  7910. "get": {
  7911. "security": [
  7912. {
  7913. "ApiKeyAuth": []
  7914. }
  7915. ],
  7916. "produces": [
  7917. "application/json"
  7918. ],
  7919. "tags": [
  7920. "铁合金"
  7921. ],
  7922. "summary": "查询我的推广-推广收益-明细",
  7923. "parameters": [
  7924. {
  7925. "type": "integer",
  7926. "description": "用户ID",
  7927. "name": "userid",
  7928. "in": "query",
  7929. "required": true
  7930. },
  7931. {
  7932. "type": "string",
  7933. "description": "月份,格式:yyyymm",
  7934. "name": "mouth",
  7935. "in": "query",
  7936. "required": true
  7937. },
  7938. {
  7939. "type": "integer",
  7940. "description": "页码",
  7941. "name": "page",
  7942. "in": "query"
  7943. },
  7944. {
  7945. "type": "integer",
  7946. "description": "每页条数",
  7947. "name": "pagesize",
  7948. "in": "query"
  7949. }
  7950. ],
  7951. "responses": {
  7952. "200": {
  7953. "description": "OK",
  7954. "schema": {
  7955. "type": "array",
  7956. "items": {
  7957. "$ref": "#/definitions/models.PromotionIncomeDetail"
  7958. }
  7959. }
  7960. },
  7961. "500": {
  7962. "description": "Internal Server Error",
  7963. "schema": {
  7964. "$ref": "#/definitions/app.Response"
  7965. }
  7966. }
  7967. }
  7968. }
  7969. },
  7970. "/Ferroalloy/QueryTHJPurchaseTradeDetail": {
  7971. "get": {
  7972. "security": [
  7973. {
  7974. "ApiKeyAuth": []
  7975. }
  7976. ],
  7977. "produces": [
  7978. "application/json"
  7979. ],
  7980. "tags": [
  7981. "铁合金"
  7982. ],
  7983. "summary": "查询我的订单-采购订单",
  7984. "parameters": [
  7985. {
  7986. "type": "integer",
  7987. "description": "用户ID",
  7988. "name": "userid",
  7989. "in": "query",
  7990. "required": true
  7991. },
  7992. {
  7993. "type": "integer",
  7994. "description": "类型 - 0:未完成 1:已完成",
  7995. "name": "type",
  7996. "in": "query"
  7997. },
  7998. {
  7999. "type": "integer",
  8000. "description": "页码",
  8001. "name": "page",
  8002. "in": "query"
  8003. },
  8004. {
  8005. "type": "integer",
  8006. "description": "每页条数",
  8007. "name": "pagesize",
  8008. "in": "query"
  8009. }
  8010. ],
  8011. "responses": {
  8012. "200": {
  8013. "description": "OK",
  8014. "schema": {
  8015. "type": "array",
  8016. "items": {
  8017. "$ref": "#/definitions/models.Thjpurchasetradedetail"
  8018. }
  8019. }
  8020. },
  8021. "500": {
  8022. "description": "Internal Server Error",
  8023. "schema": {
  8024. "$ref": "#/definitions/app.Response"
  8025. }
  8026. }
  8027. }
  8028. }
  8029. },
  8030. "/Ferroalloy/QueryTHJPurchaseTransfer": {
  8031. "get": {
  8032. "security": [
  8033. {
  8034. "ApiKeyAuth": []
  8035. }
  8036. ],
  8037. "produces": [
  8038. "application/json"
  8039. ],
  8040. "tags": [
  8041. "铁合金"
  8042. ],
  8043. "summary": "查询合同转让列表",
  8044. "parameters": [
  8045. {
  8046. "type": "string",
  8047. "description": "现货商品名称(模糊查询)",
  8048. "name": "wrstandardname",
  8049. "in": "query"
  8050. },
  8051. {
  8052. "type": "integer",
  8053. "description": "页码",
  8054. "name": "page",
  8055. "in": "query"
  8056. },
  8057. {
  8058. "type": "integer",
  8059. "description": "每页条数",
  8060. "name": "pagesize",
  8061. "in": "query"
  8062. }
  8063. ],
  8064. "responses": {
  8065. "200": {
  8066. "description": "OK",
  8067. "schema": {
  8068. "type": "array",
  8069. "items": {
  8070. "$ref": "#/definitions/models.PurchaseTransfer"
  8071. }
  8072. }
  8073. },
  8074. "500": {
  8075. "description": "Internal Server Error",
  8076. "schema": {
  8077. "$ref": "#/definitions/app.Response"
  8078. }
  8079. }
  8080. }
  8081. }
  8082. },
  8083. "/Ferroalloy/QueryTHJPurchaseTransferDetail": {
  8084. "get": {
  8085. "security": [
  8086. {
  8087. "ApiKeyAuth": []
  8088. }
  8089. ],
  8090. "produces": [
  8091. "application/json"
  8092. ],
  8093. "tags": [
  8094. "铁合金"
  8095. ],
  8096. "summary": "查询合同转让详情",
  8097. "parameters": [
  8098. {
  8099. "type": "integer",
  8100. "description": "现货商品ID",
  8101. "name": "wrstandardid",
  8102. "in": "query",
  8103. "required": true
  8104. }
  8105. ],
  8106. "responses": {
  8107. "200": {
  8108. "description": "OK",
  8109. "schema": {
  8110. "type": "array",
  8111. "items": {
  8112. "$ref": "#/definitions/models.THJPurchaseTradeDetailRsp"
  8113. }
  8114. }
  8115. },
  8116. "500": {
  8117. "description": "Internal Server Error",
  8118. "schema": {
  8119. "$ref": "#/definitions/app.Response"
  8120. }
  8121. }
  8122. }
  8123. }
  8124. },
  8125. "/Ferroalloy/QueryTHJPurchaseTransferOrder": {
  8126. "get": {
  8127. "security": [
  8128. {
  8129. "ApiKeyAuth": []
  8130. }
  8131. ],
  8132. "produces": [
  8133. "application/json"
  8134. ],
  8135. "tags": [
  8136. "铁合金"
  8137. ],
  8138. "summary": "查询我的订单-转让/受让订单",
  8139. "parameters": [
  8140. {
  8141. "type": "integer",
  8142. "description": "用户ID",
  8143. "name": "userid",
  8144. "in": "query",
  8145. "required": true
  8146. },
  8147. {
  8148. "type": "integer",
  8149. "description": "类型 - 1:转让 2:受让",
  8150. "name": "ordertype",
  8151. "in": "query",
  8152. "required": true
  8153. },
  8154. {
  8155. "type": "integer",
  8156. "description": "页码",
  8157. "name": "page",
  8158. "in": "query"
  8159. },
  8160. {
  8161. "type": "integer",
  8162. "description": "每页条数",
  8163. "name": "pagesize",
  8164. "in": "query"
  8165. }
  8166. ],
  8167. "responses": {
  8168. "200": {
  8169. "description": "OK",
  8170. "schema": {
  8171. "type": "array",
  8172. "items": {
  8173. "$ref": "#/definitions/models.Thjpurchasetransfer"
  8174. }
  8175. }
  8176. },
  8177. "500": {
  8178. "description": "Internal Server Error",
  8179. "schema": {
  8180. "$ref": "#/definitions/app.Response"
  8181. }
  8182. }
  8183. }
  8184. }
  8185. },
  8186. "/Ferroalloy/QueryTHJPurchaseTransferOrderDetail": {
  8187. "get": {
  8188. "security": [
  8189. {
  8190. "ApiKeyAuth": []
  8191. }
  8192. ],
  8193. "produces": [
  8194. "application/json"
  8195. ],
  8196. "tags": [
  8197. "铁合金"
  8198. ],
  8199. "summary": "查询我的订单-转让/受让订单-详情",
  8200. "parameters": [
  8201. {
  8202. "type": "string",
  8203. "description": "采购成交单ID",
  8204. "name": "wrtradedetailid",
  8205. "in": "query",
  8206. "required": true
  8207. }
  8208. ],
  8209. "responses": {
  8210. "200": {
  8211. "description": "OK",
  8212. "schema": {
  8213. "type": "array",
  8214. "items": {
  8215. "$ref": "#/definitions/models.ThjpurchasetransferDetail"
  8216. }
  8217. }
  8218. },
  8219. "500": {
  8220. "description": "Internal Server Error",
  8221. "schema": {
  8222. "$ref": "#/definitions/app.Response"
  8223. }
  8224. }
  8225. }
  8226. }
  8227. },
  8228. "/Ferroalloy/QueryTHJScoreConfig": {
  8229. "get": {
  8230. "security": [
  8231. {
  8232. "ApiKeyAuth": []
  8233. }
  8234. ],
  8235. "produces": [
  8236. "application/json"
  8237. ],
  8238. "tags": [
  8239. "铁合金"
  8240. ],
  8241. "summary": "查询积分配置",
  8242. "parameters": [
  8243. {
  8244. "type": "string",
  8245. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  8246. "name": "stype",
  8247. "in": "query"
  8248. }
  8249. ],
  8250. "responses": {
  8251. "200": {
  8252. "description": "OK",
  8253. "schema": {
  8254. "type": "array",
  8255. "items": {
  8256. "$ref": "#/definitions/models.Thjscoreconfig"
  8257. }
  8258. }
  8259. },
  8260. "500": {
  8261. "description": "Internal Server Error",
  8262. "schema": {
  8263. "$ref": "#/definitions/app.Response"
  8264. }
  8265. }
  8266. }
  8267. }
  8268. },
  8269. "/Ferroalloy/QueryTHJTradeData": {
  8270. "get": {
  8271. "security": [
  8272. {
  8273. "ApiKeyAuth": []
  8274. }
  8275. ],
  8276. "produces": [
  8277. "application/json"
  8278. ],
  8279. "tags": [
  8280. "铁合金"
  8281. ],
  8282. "summary": "获取我的推广-交易数据",
  8283. "parameters": [
  8284. {
  8285. "type": "integer",
  8286. "description": "用户ID",
  8287. "name": "userid",
  8288. "in": "query",
  8289. "required": true
  8290. },
  8291. {
  8292. "type": "integer",
  8293. "description": "市场ID 采购-64201 供求-65201",
  8294. "name": "marketid",
  8295. "in": "query",
  8296. "required": true
  8297. },
  8298. {
  8299. "type": "integer",
  8300. "description": "页码",
  8301. "name": "page",
  8302. "in": "query"
  8303. },
  8304. {
  8305. "type": "integer",
  8306. "description": "每页条数",
  8307. "name": "pagesize",
  8308. "in": "query"
  8309. }
  8310. ],
  8311. "responses": {
  8312. "200": {
  8313. "description": "OK",
  8314. "schema": {
  8315. "type": "array",
  8316. "items": {
  8317. "$ref": "#/definitions/models.THJTradeData"
  8318. }
  8319. }
  8320. },
  8321. "500": {
  8322. "description": "Internal Server Error",
  8323. "schema": {
  8324. "$ref": "#/definitions/app.Response"
  8325. }
  8326. }
  8327. }
  8328. }
  8329. },
  8330. "/Ferroalloy/QueryTHJWrstandard": {
  8331. "get": {
  8332. "security": [
  8333. {
  8334. "ApiKeyAuth": []
  8335. }
  8336. ],
  8337. "produces": [
  8338. "application/json"
  8339. ],
  8340. "tags": [
  8341. "铁合金"
  8342. ],
  8343. "summary": "查询采购列表",
  8344. "parameters": [
  8345. {
  8346. "type": "string",
  8347. "description": "现货商品名称(模糊查询)",
  8348. "name": "wrstandardname",
  8349. "in": "query"
  8350. },
  8351. {
  8352. "type": "integer",
  8353. "description": "页码",
  8354. "name": "page",
  8355. "in": "query"
  8356. },
  8357. {
  8358. "type": "integer",
  8359. "description": "每页条数",
  8360. "name": "pagesize",
  8361. "in": "query"
  8362. }
  8363. ],
  8364. "responses": {
  8365. "200": {
  8366. "description": "OK",
  8367. "schema": {
  8368. "type": "array",
  8369. "items": {
  8370. "$ref": "#/definitions/models.THJWrstandard"
  8371. }
  8372. }
  8373. },
  8374. "500": {
  8375. "description": "Internal Server Error",
  8376. "schema": {
  8377. "$ref": "#/definitions/app.Response"
  8378. }
  8379. }
  8380. }
  8381. }
  8382. },
  8383. "/Ferroalloy/QueryTHJWrstandardDetail": {
  8384. "get": {
  8385. "security": [
  8386. {
  8387. "ApiKeyAuth": []
  8388. }
  8389. ],
  8390. "produces": [
  8391. "application/json"
  8392. ],
  8393. "tags": [
  8394. "铁合金"
  8395. ],
  8396. "summary": "查询采购详情",
  8397. "parameters": [
  8398. {
  8399. "type": "integer",
  8400. "description": "现货商品ID",
  8401. "name": "wrstandardid",
  8402. "in": "query",
  8403. "required": true
  8404. }
  8405. ],
  8406. "responses": {
  8407. "200": {
  8408. "description": "OK",
  8409. "schema": {
  8410. "type": "array",
  8411. "items": {
  8412. "$ref": "#/definitions/models.THJWrstandardDetailRsp"
  8413. }
  8414. }
  8415. },
  8416. "500": {
  8417. "description": "Internal Server Error",
  8418. "schema": {
  8419. "$ref": "#/definitions/app.Response"
  8420. }
  8421. }
  8422. }
  8423. }
  8424. },
  8425. "/Ferroalloy/QueryUserScoreLog": {
  8426. "get": {
  8427. "security": [
  8428. {
  8429. "ApiKeyAuth": []
  8430. }
  8431. ],
  8432. "produces": [
  8433. "application/json"
  8434. ],
  8435. "tags": [
  8436. "铁合金"
  8437. ],
  8438. "summary": "查询我的积分流水",
  8439. "parameters": [
  8440. {
  8441. "type": "integer",
  8442. "description": "用户ID",
  8443. "name": "userid",
  8444. "in": "query",
  8445. "required": true
  8446. },
  8447. {
  8448. "type": "string",
  8449. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  8450. "name": "stype",
  8451. "in": "query"
  8452. },
  8453. {
  8454. "type": "integer",
  8455. "description": "页码",
  8456. "name": "page",
  8457. "in": "query"
  8458. },
  8459. {
  8460. "type": "integer",
  8461. "description": "每页条数",
  8462. "name": "pagesize",
  8463. "in": "query"
  8464. }
  8465. ],
  8466. "responses": {
  8467. "200": {
  8468. "description": "OK",
  8469. "schema": {
  8470. "type": "array",
  8471. "items": {
  8472. "$ref": "#/definitions/models.GThjuserscorelog"
  8473. }
  8474. }
  8475. },
  8476. "500": {
  8477. "description": "Internal Server Error",
  8478. "schema": {
  8479. "$ref": "#/definitions/app.Response"
  8480. }
  8481. }
  8482. }
  8483. }
  8484. },
  8485. "/Ferroalloy/Signin": {
  8486. "post": {
  8487. "security": [
  8488. {
  8489. "ApiKeyAuth": []
  8490. }
  8491. ],
  8492. "produces": [
  8493. "application/json"
  8494. ],
  8495. "tags": [
  8496. "铁合金"
  8497. ],
  8498. "summary": "用户签到",
  8499. "parameters": [
  8500. {
  8501. "description": "用户签到请求",
  8502. "name": "jsonBody",
  8503. "in": "body",
  8504. "required": true,
  8505. "schema": {
  8506. "$ref": "#/definitions/models.THJSigninReq"
  8507. }
  8508. }
  8509. ],
  8510. "responses": {
  8511. "200": {
  8512. "description": "OK",
  8513. "schema": {
  8514. "$ref": "#/definitions/models.THJSigninRsp"
  8515. }
  8516. },
  8517. "500": {
  8518. "description": "Internal Server Error",
  8519. "schema": {
  8520. "$ref": "#/definitions/app.Response"
  8521. }
  8522. }
  8523. }
  8524. }
  8525. },
  8526. "/Guangzuan/GZBSFWOrderOperate": {
  8527. "get": {
  8528. "security": [
  8529. {
  8530. "ApiKeyAuth": []
  8531. },
  8532. {
  8533. "LoginID": []
  8534. },
  8535. {
  8536. "Group": []
  8537. }
  8538. ],
  8539. "produces": [
  8540. "application/json"
  8541. ],
  8542. "tags": [
  8543. "广钻"
  8544. ],
  8545. "summary": "保税服务单据操作信息",
  8546. "parameters": [
  8547. {
  8548. "type": "integer",
  8549. "description": "单据ID",
  8550. "name": "orderid",
  8551. "in": "query",
  8552. "required": true
  8553. }
  8554. ],
  8555. "responses": {
  8556. "200": {
  8557. "description": "OK",
  8558. "schema": {
  8559. "type": "array",
  8560. "items": {
  8561. "$ref": "#/definitions/models.Gzbsfworderoperate"
  8562. }
  8563. }
  8564. },
  8565. "500": {
  8566. "description": "Internal Server Error",
  8567. "schema": {
  8568. "$ref": "#/definitions/app.Response"
  8569. }
  8570. }
  8571. }
  8572. }
  8573. },
  8574. "/Guangzuan/GetGoods": {
  8575. "get": {
  8576. "security": [
  8577. {
  8578. "ApiKeyAuth": []
  8579. },
  8580. {
  8581. "LoginID": []
  8582. },
  8583. {
  8584. "Group": []
  8585. }
  8586. ],
  8587. "produces": [
  8588. "application/json"
  8589. ],
  8590. "tags": [
  8591. "广钻"
  8592. ],
  8593. "summary": "获取钻石详情",
  8594. "parameters": [
  8595. {
  8596. "type": "string",
  8597. "description": "商品编号",
  8598. "name": "goodsno",
  8599. "in": "query",
  8600. "required": true
  8601. }
  8602. ],
  8603. "responses": {
  8604. "200": {
  8605. "description": "OK",
  8606. "schema": {
  8607. "$ref": "#/definitions/models.GZGoods"
  8608. }
  8609. },
  8610. "500": {
  8611. "description": "Internal Server Error",
  8612. "schema": {
  8613. "$ref": "#/definitions/app.Response"
  8614. }
  8615. }
  8616. }
  8617. }
  8618. },
  8619. "/Guangzuan/GzCertAddressConfig": {
  8620. "get": {
  8621. "security": [
  8622. {
  8623. "ApiKeyAuth": []
  8624. },
  8625. {
  8626. "LoginID": []
  8627. },
  8628. {
  8629. "Group": []
  8630. }
  8631. ],
  8632. "produces": [
  8633. "application/json"
  8634. ],
  8635. "tags": [
  8636. "广钻"
  8637. ],
  8638. "summary": "Rapaport最新报价表(广钻)",
  8639. "responses": {
  8640. "200": {
  8641. "description": "OK",
  8642. "schema": {
  8643. "type": "array",
  8644. "items": {
  8645. "$ref": "#/definitions/models.Gzcertaddressconfig"
  8646. }
  8647. }
  8648. },
  8649. "500": {
  8650. "description": "Internal Server Error",
  8651. "schema": {
  8652. "$ref": "#/definitions/app.Response"
  8653. }
  8654. }
  8655. }
  8656. }
  8657. },
  8658. "/Guangzuan/GzCertAddressParam": {
  8659. "get": {
  8660. "security": [
  8661. {
  8662. "ApiKeyAuth": []
  8663. },
  8664. {
  8665. "LoginID": []
  8666. },
  8667. {
  8668. "Group": []
  8669. }
  8670. ],
  8671. "produces": [
  8672. "application/json"
  8673. ],
  8674. "tags": [
  8675. "广钻"
  8676. ],
  8677. "summary": "钻石证书地址参数",
  8678. "responses": {
  8679. "200": {
  8680. "description": "OK",
  8681. "schema": {
  8682. "type": "array",
  8683. "items": {
  8684. "$ref": "#/definitions/models.Gzcertaddressparam"
  8685. }
  8686. }
  8687. },
  8688. "500": {
  8689. "description": "Internal Server Error",
  8690. "schema": {
  8691. "$ref": "#/definitions/app.Response"
  8692. }
  8693. }
  8694. }
  8695. }
  8696. },
  8697. "/Guangzuan/HomeData": {
  8698. "get": {
  8699. "security": [
  8700. {
  8701. "ApiKeyAuth": []
  8702. },
  8703. {
  8704. "LoginID": []
  8705. },
  8706. {
  8707. "Group": []
  8708. }
  8709. ],
  8710. "produces": [
  8711. "application/json"
  8712. ],
  8713. "tags": [
  8714. "广钻"
  8715. ],
  8716. "summary": "首页统计数据",
  8717. "parameters": [
  8718. {
  8719. "type": "integer",
  8720. "description": "用户ID",
  8721. "name": "userid",
  8722. "in": "query",
  8723. "required": true
  8724. }
  8725. ],
  8726. "responses": {
  8727. "200": {
  8728. "description": "OK",
  8729. "schema": {
  8730. "$ref": "#/definitions/models.GZHomeData"
  8731. }
  8732. },
  8733. "500": {
  8734. "description": "Internal Server Error",
  8735. "schema": {
  8736. "$ref": "#/definitions/app.Response"
  8737. }
  8738. }
  8739. }
  8740. }
  8741. },
  8742. "/Guangzuan/PriceCalc": {
  8743. "get": {
  8744. "security": [
  8745. {
  8746. "ApiKeyAuth": []
  8747. },
  8748. {
  8749. "LoginID": []
  8750. },
  8751. {
  8752. "Group": []
  8753. }
  8754. ],
  8755. "produces": [
  8756. "application/json"
  8757. ],
  8758. "tags": [
  8759. "广钻"
  8760. ],
  8761. "summary": "钻石价格计算器",
  8762. "parameters": [
  8763. {
  8764. "type": "integer",
  8765. "description": "形状 - 1:BR(圆形) 2:PS(异形)",
  8766. "name": "zsshape",
  8767. "in": "query",
  8768. "required": true
  8769. },
  8770. {
  8771. "type": "string",
  8772. "description": "颜色(D-M)",
  8773. "name": "zscolor",
  8774. "in": "query",
  8775. "required": true
  8776. },
  8777. {
  8778. "type": "string",
  8779. "description": "净度",
  8780. "name": "zsclarity",
  8781. "in": "query",
  8782. "required": true
  8783. },
  8784. {
  8785. "type": "number",
  8786. "description": "重量",
  8787. "name": "weight",
  8788. "in": "query",
  8789. "required": true
  8790. },
  8791. {
  8792. "type": "number",
  8793. "description": "汇率",
  8794. "name": "rate",
  8795. "in": "query",
  8796. "required": true
  8797. },
  8798. {
  8799. "type": "number",
  8800. "description": "折扣(%), 方向(加:10, 减:-10 )",
  8801. "name": "discount",
  8802. "in": "query"
  8803. }
  8804. ],
  8805. "responses": {
  8806. "200": {
  8807. "description": "OK",
  8808. "schema": {
  8809. "type": "array",
  8810. "items": {
  8811. "$ref": "#/definitions/models.Gzrapaportprice"
  8812. }
  8813. }
  8814. },
  8815. "500": {
  8816. "description": "Internal Server Error",
  8817. "schema": {
  8818. "$ref": "#/definitions/app.Response"
  8819. }
  8820. }
  8821. }
  8822. }
  8823. },
  8824. "/Guangzuan/QueryBuyOrder": {
  8825. "get": {
  8826. "security": [
  8827. {
  8828. "ApiKeyAuth": []
  8829. },
  8830. {
  8831. "LoginID": []
  8832. },
  8833. {
  8834. "Group": []
  8835. }
  8836. ],
  8837. "produces": [
  8838. "application/json"
  8839. ],
  8840. "tags": [
  8841. "广钻"
  8842. ],
  8843. "summary": "查询求购大厅委托单",
  8844. "parameters": [
  8845. {
  8846. "type": "integer",
  8847. "description": "页码",
  8848. "name": "page",
  8849. "in": "query"
  8850. },
  8851. {
  8852. "type": "integer",
  8853. "description": "每页条数",
  8854. "name": "pagesize",
  8855. "in": "query"
  8856. },
  8857. {
  8858. "type": "string",
  8859. "description": "商品(查询字段-模糊查询)",
  8860. "name": "zsallproperties",
  8861. "in": "query"
  8862. },
  8863. {
  8864. "type": "string",
  8865. "description": "钻石分类, 格式:1,2,3",
  8866. "name": "zscategorys",
  8867. "in": "query"
  8868. },
  8869. {
  8870. "type": "integer",
  8871. "description": "委托单号",
  8872. "name": "wrtradeorderid",
  8873. "in": "query"
  8874. },
  8875. {
  8876. "type": "string",
  8877. "description": "买方(查询字段-模糊查询)",
  8878. "name": "buyusername",
  8879. "in": "query"
  8880. }
  8881. ],
  8882. "responses": {
  8883. "200": {
  8884. "description": "OK",
  8885. "schema": {
  8886. "type": "array",
  8887. "items": {
  8888. "$ref": "#/definitions/models.BuyOrder"
  8889. }
  8890. }
  8891. },
  8892. "500": {
  8893. "description": "Internal Server Error",
  8894. "schema": {
  8895. "$ref": "#/definitions/app.Response"
  8896. }
  8897. }
  8898. }
  8899. }
  8900. },
  8901. "/Guangzuan/QueryDiamond": {
  8902. "post": {
  8903. "security": [
  8904. {
  8905. "ApiKeyAuth": []
  8906. },
  8907. {
  8908. "LoginID": []
  8909. },
  8910. {
  8911. "Group": []
  8912. }
  8913. ],
  8914. "produces": [
  8915. "application/json"
  8916. ],
  8917. "tags": [
  8918. "广钻"
  8919. ],
  8920. "summary": "钻石搜索",
  8921. "parameters": [
  8922. {
  8923. "description": "钻石搜索入参",
  8924. "name": "data",
  8925. "in": "body",
  8926. "required": true,
  8927. "schema": {
  8928. "$ref": "#/definitions/models.SellOrderQueryReq"
  8929. }
  8930. }
  8931. ],
  8932. "responses": {
  8933. "200": {
  8934. "description": "OK",
  8935. "schema": {
  8936. "type": "array",
  8937. "items": {
  8938. "$ref": "#/definitions/models.SellOrder"
  8939. }
  8940. }
  8941. },
  8942. "500": {
  8943. "description": "Internal Server Error",
  8944. "schema": {
  8945. "$ref": "#/definitions/app.Response"
  8946. }
  8947. }
  8948. }
  8949. }
  8950. },
  8951. "/Guangzuan/QueryGZBSFWOrder": {
  8952. "get": {
  8953. "security": [
  8954. {
  8955. "ApiKeyAuth": []
  8956. },
  8957. {
  8958. "LoginID": []
  8959. },
  8960. {
  8961. "Group": []
  8962. }
  8963. ],
  8964. "produces": [
  8965. "application/json"
  8966. ],
  8967. "tags": [
  8968. "广钻"
  8969. ],
  8970. "summary": "查询保税服务单据",
  8971. "parameters": [
  8972. {
  8973. "type": "integer",
  8974. "description": "用户ID",
  8975. "name": "userid",
  8976. "in": "query",
  8977. "required": true
  8978. },
  8979. {
  8980. "type": "integer",
  8981. "description": "页码",
  8982. "name": "page",
  8983. "in": "query"
  8984. },
  8985. {
  8986. "type": "integer",
  8987. "description": "每页条数",
  8988. "name": "pagesize",
  8989. "in": "query"
  8990. }
  8991. ],
  8992. "responses": {
  8993. "200": {
  8994. "description": "OK",
  8995. "schema": {
  8996. "type": "array",
  8997. "items": {
  8998. "$ref": "#/definitions/models.GzbsfworderM"
  8999. }
  9000. }
  9001. },
  9002. "500": {
  9003. "description": "Internal Server Error",
  9004. "schema": {
  9005. "$ref": "#/definitions/app.Response"
  9006. }
  9007. }
  9008. }
  9009. }
  9010. },
  9011. "/Guangzuan/QueryGZBSFWOrderDetail": {
  9012. "get": {
  9013. "security": [
  9014. {
  9015. "ApiKeyAuth": []
  9016. },
  9017. {
  9018. "LoginID": []
  9019. },
  9020. {
  9021. "Group": []
  9022. }
  9023. ],
  9024. "produces": [
  9025. "application/json"
  9026. ],
  9027. "tags": [
  9028. "广钻"
  9029. ],
  9030. "summary": "查询保税服务单据明细",
  9031. "parameters": [
  9032. {
  9033. "type": "integer",
  9034. "description": "用户ID",
  9035. "name": "userid",
  9036. "in": "query",
  9037. "required": true
  9038. },
  9039. {
  9040. "type": "integer",
  9041. "description": "单据ID",
  9042. "name": "orderid",
  9043. "in": "query"
  9044. },
  9045. {
  9046. "type": "integer",
  9047. "description": "页码",
  9048. "name": "page",
  9049. "in": "query"
  9050. },
  9051. {
  9052. "type": "integer",
  9053. "description": "每页条数",
  9054. "name": "pagesize",
  9055. "in": "query"
  9056. }
  9057. ],
  9058. "responses": {
  9059. "200": {
  9060. "description": "OK",
  9061. "schema": {
  9062. "type": "array",
  9063. "items": {
  9064. "$ref": "#/definitions/models.GzbsfworderdetailM"
  9065. }
  9066. }
  9067. },
  9068. "500": {
  9069. "description": "Internal Server Error",
  9070. "schema": {
  9071. "$ref": "#/definitions/app.Response"
  9072. }
  9073. }
  9074. }
  9075. }
  9076. },
  9077. "/Guangzuan/QueryGZCJBSOrderFile": {
  9078. "get": {
  9079. "security": [
  9080. {
  9081. "ApiKeyAuth": []
  9082. },
  9083. {
  9084. "LoginID": []
  9085. },
  9086. {
  9087. "Group": []
  9088. }
  9089. ],
  9090. "produces": [
  9091. "application/json"
  9092. ],
  9093. "tags": [
  9094. "广钻"
  9095. ],
  9096. "summary": "出境保税单据文件",
  9097. "parameters": [
  9098. {
  9099. "type": "integer",
  9100. "description": "单据ID",
  9101. "name": "orderid",
  9102. "in": "query",
  9103. "required": true
  9104. },
  9105. {
  9106. "type": "integer",
  9107. "description": "页码",
  9108. "name": "page",
  9109. "in": "query"
  9110. },
  9111. {
  9112. "type": "integer",
  9113. "description": "每页条数",
  9114. "name": "pagesize",
  9115. "in": "query"
  9116. }
  9117. ],
  9118. "responses": {
  9119. "200": {
  9120. "description": "OK",
  9121. "schema": {
  9122. "type": "array",
  9123. "items": {
  9124. "$ref": "#/definitions/models.GzcjbsorderfileM"
  9125. }
  9126. }
  9127. },
  9128. "500": {
  9129. "description": "Internal Server Error",
  9130. "schema": {
  9131. "$ref": "#/definitions/app.Response"
  9132. }
  9133. }
  9134. }
  9135. }
  9136. },
  9137. "/Guangzuan/QueryGZCJJCOrder": {
  9138. "get": {
  9139. "security": [
  9140. {
  9141. "ApiKeyAuth": []
  9142. },
  9143. {
  9144. "LoginID": []
  9145. },
  9146. {
  9147. "Group": []
  9148. }
  9149. ],
  9150. "produces": [
  9151. "application/json"
  9152. ],
  9153. "tags": [
  9154. "广钻"
  9155. ],
  9156. "summary": "查询出境检测单据",
  9157. "parameters": [
  9158. {
  9159. "type": "integer",
  9160. "description": "用户ID",
  9161. "name": "userid",
  9162. "in": "query",
  9163. "required": true
  9164. },
  9165. {
  9166. "type": "integer",
  9167. "description": "页码",
  9168. "name": "page",
  9169. "in": "query"
  9170. },
  9171. {
  9172. "type": "integer",
  9173. "description": "每页条数",
  9174. "name": "pagesize",
  9175. "in": "query"
  9176. }
  9177. ],
  9178. "responses": {
  9179. "200": {
  9180. "description": "OK",
  9181. "schema": {
  9182. "type": "array",
  9183. "items": {
  9184. "$ref": "#/definitions/models.GzcjjcorderM"
  9185. }
  9186. }
  9187. },
  9188. "500": {
  9189. "description": "Internal Server Error",
  9190. "schema": {
  9191. "$ref": "#/definitions/app.Response"
  9192. }
  9193. }
  9194. }
  9195. }
  9196. },
  9197. "/Guangzuan/QueryGZCJJCOrderDetail": {
  9198. "get": {
  9199. "security": [
  9200. {
  9201. "ApiKeyAuth": []
  9202. },
  9203. {
  9204. "LoginID": []
  9205. },
  9206. {
  9207. "Group": []
  9208. }
  9209. ],
  9210. "produces": [
  9211. "application/json"
  9212. ],
  9213. "tags": [
  9214. "广钻"
  9215. ],
  9216. "summary": "查询出境检测单据明细(批次信息)",
  9217. "parameters": [
  9218. {
  9219. "type": "integer",
  9220. "description": "用户ID",
  9221. "name": "userid",
  9222. "in": "query",
  9223. "required": true
  9224. },
  9225. {
  9226. "type": "integer",
  9227. "description": "单据ID",
  9228. "name": "orderid",
  9229. "in": "query"
  9230. },
  9231. {
  9232. "type": "integer",
  9233. "description": "页码",
  9234. "name": "page",
  9235. "in": "query"
  9236. },
  9237. {
  9238. "type": "integer",
  9239. "description": "每页条数",
  9240. "name": "pagesize",
  9241. "in": "query"
  9242. }
  9243. ],
  9244. "responses": {
  9245. "200": {
  9246. "description": "OK",
  9247. "schema": {
  9248. "type": "array",
  9249. "items": {
  9250. "$ref": "#/definitions/models.GzcjjcorderdetailM"
  9251. }
  9252. }
  9253. },
  9254. "500": {
  9255. "description": "Internal Server Error",
  9256. "schema": {
  9257. "$ref": "#/definitions/app.Response"
  9258. }
  9259. }
  9260. }
  9261. }
  9262. },
  9263. "/Guangzuan/QueryMemberReport": {
  9264. "get": {
  9265. "security": [
  9266. {
  9267. "ApiKeyAuth": []
  9268. },
  9269. {
  9270. "LoginID": []
  9271. },
  9272. {
  9273. "Group": []
  9274. }
  9275. ],
  9276. "produces": [
  9277. "application/json"
  9278. ],
  9279. "tags": [
  9280. "广钻"
  9281. ],
  9282. "summary": "查询会员报表",
  9283. "parameters": [
  9284. {
  9285. "type": "integer",
  9286. "description": "用户ID",
  9287. "name": "userid",
  9288. "in": "query",
  9289. "required": true
  9290. },
  9291. {
  9292. "type": "integer",
  9293. "description": "页码",
  9294. "name": "page",
  9295. "in": "query"
  9296. },
  9297. {
  9298. "type": "integer",
  9299. "description": "每页条数",
  9300. "name": "pagesize",
  9301. "in": "query"
  9302. },
  9303. {
  9304. "type": "string",
  9305. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  9306. "name": "cycletype",
  9307. "in": "query"
  9308. },
  9309. {
  9310. "type": "string",
  9311. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9312. "name": "begindate",
  9313. "in": "query",
  9314. "required": true
  9315. },
  9316. {
  9317. "type": "string",
  9318. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  9319. "name": "enddate",
  9320. "in": "query",
  9321. "required": true
  9322. }
  9323. ],
  9324. "responses": {
  9325. "200": {
  9326. "description": "OK",
  9327. "schema": {
  9328. "type": "array",
  9329. "items": {
  9330. "$ref": "#/definitions/models.Reckondaytaaccount"
  9331. }
  9332. }
  9333. },
  9334. "500": {
  9335. "description": "Internal Server Error",
  9336. "schema": {
  9337. "$ref": "#/definitions/app.Response"
  9338. }
  9339. }
  9340. }
  9341. }
  9342. },
  9343. "/Guangzuan/QueryMyBargainApply": {
  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": "用户ID",
  9367. "name": "userid",
  9368. "in": "query",
  9369. "required": true
  9370. },
  9371. {
  9372. "type": "integer",
  9373. "description": "页码",
  9374. "name": "page",
  9375. "in": "query"
  9376. },
  9377. {
  9378. "type": "integer",
  9379. "description": "每页条数",
  9380. "name": "pagesize",
  9381. "in": "query"
  9382. },
  9383. {
  9384. "type": "integer",
  9385. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  9386. "name": "applystatus",
  9387. "in": "query"
  9388. },
  9389. {
  9390. "type": "integer",
  9391. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  9392. "name": "type",
  9393. "in": "query"
  9394. },
  9395. {
  9396. "type": "string",
  9397. "description": "关联委托单ID",
  9398. "name": "wrtradeorderid",
  9399. "in": "query"
  9400. }
  9401. ],
  9402. "responses": {
  9403. "200": {
  9404. "description": "OK",
  9405. "schema": {
  9406. "type": "array",
  9407. "items": {
  9408. "$ref": "#/definitions/models.MyBargainApply"
  9409. }
  9410. }
  9411. },
  9412. "500": {
  9413. "description": "Internal Server Error",
  9414. "schema": {
  9415. "$ref": "#/definitions/app.Response"
  9416. }
  9417. }
  9418. }
  9419. }
  9420. },
  9421. "/Guangzuan/QueryMyBuyOrder": {
  9422. "get": {
  9423. "security": [
  9424. {
  9425. "ApiKeyAuth": []
  9426. },
  9427. {
  9428. "LoginID": []
  9429. },
  9430. {
  9431. "Group": []
  9432. }
  9433. ],
  9434. "produces": [
  9435. "application/json"
  9436. ],
  9437. "tags": [
  9438. "广钻"
  9439. ],
  9440. "summary": "查询我的求购",
  9441. "parameters": [
  9442. {
  9443. "type": "integer",
  9444. "description": "用户ID",
  9445. "name": "userid",
  9446. "in": "query",
  9447. "required": true
  9448. },
  9449. {
  9450. "type": "integer",
  9451. "description": "页码",
  9452. "name": "page",
  9453. "in": "query"
  9454. },
  9455. {
  9456. "type": "integer",
  9457. "description": "每页条数",
  9458. "name": "pagesize",
  9459. "in": "query"
  9460. },
  9461. {
  9462. "type": "string",
  9463. "description": "商品(查询字段-模糊查询)",
  9464. "name": "zsallproperties",
  9465. "in": "query"
  9466. },
  9467. {
  9468. "type": "string",
  9469. "description": "钻石分类, 格式:1,2,3",
  9470. "name": "zscategorys",
  9471. "in": "query"
  9472. },
  9473. {
  9474. "type": "integer",
  9475. "description": "委托单号",
  9476. "name": "wrtradeorderid",
  9477. "in": "query"
  9478. },
  9479. {
  9480. "type": "boolean",
  9481. "description": "是否历史查询",
  9482. "name": "ishis",
  9483. "in": "query"
  9484. },
  9485. {
  9486. "type": "string",
  9487. "description": "开始交易日(yyyymmdd)",
  9488. "name": "begindate",
  9489. "in": "query"
  9490. },
  9491. {
  9492. "type": "string",
  9493. "description": "结束交易日(yyyymmdd)",
  9494. "name": "enddate",
  9495. "in": "query"
  9496. }
  9497. ],
  9498. "responses": {
  9499. "200": {
  9500. "description": "OK",
  9501. "schema": {
  9502. "type": "array",
  9503. "items": {
  9504. "$ref": "#/definitions/models.MyBuyOrder"
  9505. }
  9506. }
  9507. },
  9508. "500": {
  9509. "description": "Internal Server Error",
  9510. "schema": {
  9511. "$ref": "#/definitions/app.Response"
  9512. }
  9513. }
  9514. }
  9515. }
  9516. },
  9517. "/Guangzuan/QueryMyDeListing": {
  9518. "get": {
  9519. "security": [
  9520. {
  9521. "ApiKeyAuth": []
  9522. },
  9523. {
  9524. "LoginID": []
  9525. },
  9526. {
  9527. "Group": []
  9528. }
  9529. ],
  9530. "produces": [
  9531. "application/json"
  9532. ],
  9533. "tags": [
  9534. "广钻"
  9535. ],
  9536. "summary": "查询我的摘牌",
  9537. "parameters": [
  9538. {
  9539. "type": "integer",
  9540. "description": "用户ID",
  9541. "name": "userid",
  9542. "in": "query",
  9543. "required": true
  9544. },
  9545. {
  9546. "type": "integer",
  9547. "description": "页码",
  9548. "name": "page",
  9549. "in": "query"
  9550. },
  9551. {
  9552. "type": "integer",
  9553. "description": "每页条数",
  9554. "name": "pagesize",
  9555. "in": "query"
  9556. },
  9557. {
  9558. "type": "string",
  9559. "description": "商品(查询字段-模糊查询)",
  9560. "name": "zsallproperties",
  9561. "in": "query"
  9562. },
  9563. {
  9564. "type": "string",
  9565. "description": "钻石分类, 格式:1,2,3",
  9566. "name": "zscategorys",
  9567. "in": "query"
  9568. },
  9569. {
  9570. "type": "integer",
  9571. "description": "成交单号",
  9572. "name": "wrtradedetailid",
  9573. "in": "query"
  9574. },
  9575. {
  9576. "type": "integer",
  9577. "description": "方向,0-购买 1-出售",
  9578. "name": "buyorsell",
  9579. "in": "query"
  9580. },
  9581. {
  9582. "type": "string",
  9583. "description": "对手方(模糊匹配)",
  9584. "name": "matchusername",
  9585. "in": "query"
  9586. },
  9587. {
  9588. "type": "string",
  9589. "description": "开始交易日(yyyymmdd)",
  9590. "name": "begindate",
  9591. "in": "query"
  9592. },
  9593. {
  9594. "type": "string",
  9595. "description": "结束交易日(yyyymmdd)",
  9596. "name": "enddate",
  9597. "in": "query"
  9598. }
  9599. ],
  9600. "responses": {
  9601. "200": {
  9602. "description": "OK",
  9603. "schema": {
  9604. "type": "array",
  9605. "items": {
  9606. "$ref": "#/definitions/models.MyDeListing"
  9607. }
  9608. }
  9609. },
  9610. "500": {
  9611. "description": "Internal Server Error",
  9612. "schema": {
  9613. "$ref": "#/definitions/app.Response"
  9614. }
  9615. }
  9616. }
  9617. }
  9618. },
  9619. "/Guangzuan/QueryMyDelistingApply": {
  9620. "get": {
  9621. "security": [
  9622. {
  9623. "ApiKeyAuth": []
  9624. },
  9625. {
  9626. "LoginID": []
  9627. },
  9628. {
  9629. "Group": []
  9630. }
  9631. ],
  9632. "produces": [
  9633. "application/json"
  9634. ],
  9635. "tags": [
  9636. "广钻"
  9637. ],
  9638. "summary": "查询询价-出售",
  9639. "parameters": [
  9640. {
  9641. "type": "integer",
  9642. "description": "用户ID",
  9643. "name": "userid",
  9644. "in": "query",
  9645. "required": true
  9646. },
  9647. {
  9648. "type": "integer",
  9649. "description": "页码",
  9650. "name": "page",
  9651. "in": "query"
  9652. },
  9653. {
  9654. "type": "integer",
  9655. "description": "每页条数",
  9656. "name": "pagesize",
  9657. "in": "query"
  9658. },
  9659. {
  9660. "type": "integer",
  9661. "description": "申请状态(不传查全部) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  9662. "name": "applystatus",
  9663. "in": "query"
  9664. },
  9665. {
  9666. "type": "integer",
  9667. "description": "查询类型 - 0:我的询价 1:我订单的询价",
  9668. "name": "type",
  9669. "in": "query"
  9670. },
  9671. {
  9672. "type": "string",
  9673. "description": "买委托单ID",
  9674. "name": "buywrtradeorderid",
  9675. "in": "query"
  9676. }
  9677. ],
  9678. "responses": {
  9679. "200": {
  9680. "description": "OK",
  9681. "schema": {
  9682. "type": "array",
  9683. "items": {
  9684. "$ref": "#/definitions/models.MyDelistingApply"
  9685. }
  9686. }
  9687. },
  9688. "500": {
  9689. "description": "Internal Server Error",
  9690. "schema": {
  9691. "$ref": "#/definitions/app.Response"
  9692. }
  9693. }
  9694. }
  9695. }
  9696. },
  9697. "/Guangzuan/QueryMyFavorite": {
  9698. "get": {
  9699. "security": [
  9700. {
  9701. "ApiKeyAuth": []
  9702. },
  9703. {
  9704. "LoginID": []
  9705. },
  9706. {
  9707. "Group": []
  9708. }
  9709. ],
  9710. "produces": [
  9711. "application/json"
  9712. ],
  9713. "tags": [
  9714. "广钻"
  9715. ],
  9716. "summary": "查询我的收藏",
  9717. "parameters": [
  9718. {
  9719. "type": "integer",
  9720. "description": "用户ID",
  9721. "name": "userid",
  9722. "in": "query",
  9723. "required": true
  9724. },
  9725. {
  9726. "type": "integer",
  9727. "description": "页码",
  9728. "name": "page",
  9729. "in": "query"
  9730. },
  9731. {
  9732. "type": "integer",
  9733. "description": "每页条数",
  9734. "name": "pagesize",
  9735. "in": "query"
  9736. },
  9737. {
  9738. "type": "string",
  9739. "description": "钻石分类, 格式:1,2,3",
  9740. "name": "zscategorys",
  9741. "in": "query"
  9742. }
  9743. ],
  9744. "responses": {
  9745. "200": {
  9746. "description": "OK",
  9747. "schema": {
  9748. "type": "array",
  9749. "items": {
  9750. "$ref": "#/definitions/models.MyFavorite"
  9751. }
  9752. }
  9753. },
  9754. "500": {
  9755. "description": "Internal Server Error",
  9756. "schema": {
  9757. "$ref": "#/definitions/app.Response"
  9758. }
  9759. }
  9760. }
  9761. }
  9762. },
  9763. "/Guangzuan/QueryMyPerformanc": {
  9764. "get": {
  9765. "security": [
  9766. {
  9767. "ApiKeyAuth": []
  9768. },
  9769. {
  9770. "LoginID": []
  9771. },
  9772. {
  9773. "Group": []
  9774. }
  9775. ],
  9776. "produces": [
  9777. "application/json"
  9778. ],
  9779. "tags": [
  9780. "广钻"
  9781. ],
  9782. "summary": "查询我的履约",
  9783. "parameters": [
  9784. {
  9785. "type": "integer",
  9786. "description": "用户ID",
  9787. "name": "userid",
  9788. "in": "query",
  9789. "required": true
  9790. },
  9791. {
  9792. "type": "integer",
  9793. "description": "页码",
  9794. "name": "page",
  9795. "in": "query"
  9796. },
  9797. {
  9798. "type": "integer",
  9799. "description": "每页条数",
  9800. "name": "pagesize",
  9801. "in": "query"
  9802. },
  9803. {
  9804. "type": "string",
  9805. "description": "商品(查询字段-模糊查询)",
  9806. "name": "zsallproperties",
  9807. "in": "query"
  9808. },
  9809. {
  9810. "type": "integer",
  9811. "description": "方向,0-买 1-卖",
  9812. "name": "buyorsell",
  9813. "in": "query"
  9814. },
  9815. {
  9816. "type": "boolean",
  9817. "description": "是否历史查询",
  9818. "name": "ishis",
  9819. "in": "query"
  9820. },
  9821. {
  9822. "type": "string",
  9823. "description": "开始交易日(yyyymmdd)",
  9824. "name": "begindate",
  9825. "in": "query"
  9826. },
  9827. {
  9828. "type": "string",
  9829. "description": "结束交易日(yyyymmdd)",
  9830. "name": "enddate",
  9831. "in": "query"
  9832. }
  9833. ],
  9834. "responses": {
  9835. "200": {
  9836. "description": "OK",
  9837. "schema": {
  9838. "type": "array",
  9839. "items": {
  9840. "$ref": "#/definitions/models.MyPerformanc"
  9841. }
  9842. }
  9843. },
  9844. "500": {
  9845. "description": "Internal Server Error",
  9846. "schema": {
  9847. "$ref": "#/definitions/app.Response"
  9848. }
  9849. }
  9850. }
  9851. }
  9852. },
  9853. "/Guangzuan/QueryMySellOrder": {
  9854. "get": {
  9855. "security": [
  9856. {
  9857. "ApiKeyAuth": []
  9858. },
  9859. {
  9860. "LoginID": []
  9861. },
  9862. {
  9863. "Group": []
  9864. }
  9865. ],
  9866. "produces": [
  9867. "application/json"
  9868. ],
  9869. "tags": [
  9870. "广钻"
  9871. ],
  9872. "summary": "查询我的出售",
  9873. "parameters": [
  9874. {
  9875. "type": "integer",
  9876. "description": "用户ID",
  9877. "name": "userid",
  9878. "in": "query",
  9879. "required": true
  9880. },
  9881. {
  9882. "type": "integer",
  9883. "description": "页码",
  9884. "name": "page",
  9885. "in": "query"
  9886. },
  9887. {
  9888. "type": "integer",
  9889. "description": "每页条数",
  9890. "name": "pagesize",
  9891. "in": "query"
  9892. },
  9893. {
  9894. "type": "string",
  9895. "description": "商品(查询字段-模糊查询)",
  9896. "name": "zsallproperties",
  9897. "in": "query"
  9898. },
  9899. {
  9900. "type": "string",
  9901. "description": "钻石分类, 格式:1,2,3",
  9902. "name": "zscategorys",
  9903. "in": "query"
  9904. },
  9905. {
  9906. "type": "integer",
  9907. "description": "委托单号",
  9908. "name": "wrtradeorderid",
  9909. "in": "query"
  9910. },
  9911. {
  9912. "type": "boolean",
  9913. "description": "是否历史查询",
  9914. "name": "ishis",
  9915. "in": "query"
  9916. },
  9917. {
  9918. "type": "string",
  9919. "description": "开始交易日(yyyymmdd)",
  9920. "name": "begindate",
  9921. "in": "query"
  9922. },
  9923. {
  9924. "type": "string",
  9925. "description": "结束交易日(yyyymmdd)",
  9926. "name": "enddate",
  9927. "in": "query"
  9928. }
  9929. ],
  9930. "responses": {
  9931. "200": {
  9932. "description": "OK",
  9933. "schema": {
  9934. "type": "array",
  9935. "items": {
  9936. "$ref": "#/definitions/models.MySellOrder"
  9937. }
  9938. }
  9939. },
  9940. "500": {
  9941. "description": "Internal Server Error",
  9942. "schema": {
  9943. "$ref": "#/definitions/app.Response"
  9944. }
  9945. }
  9946. }
  9947. }
  9948. },
  9949. "/Guangzuan/QueryMyWRPosition": {
  9950. "get": {
  9951. "security": [
  9952. {
  9953. "ApiKeyAuth": []
  9954. },
  9955. {
  9956. "LoginID": []
  9957. },
  9958. {
  9959. "Group": []
  9960. }
  9961. ],
  9962. "produces": [
  9963. "application/json"
  9964. ],
  9965. "tags": [
  9966. "广钻"
  9967. ],
  9968. "summary": "查询我的库存",
  9969. "parameters": [
  9970. {
  9971. "type": "integer",
  9972. "description": "页码",
  9973. "name": "page",
  9974. "in": "query"
  9975. },
  9976. {
  9977. "type": "integer",
  9978. "description": "每页条数",
  9979. "name": "pagesize",
  9980. "in": "query"
  9981. },
  9982. {
  9983. "type": "integer",
  9984. "description": "登录用户ID",
  9985. "name": "wruserid",
  9986. "in": "query",
  9987. "required": true
  9988. },
  9989. {
  9990. "type": "string",
  9991. "description": "商品(查询字段-模糊查询)",
  9992. "name": "zsallproperties",
  9993. "in": "query"
  9994. },
  9995. {
  9996. "type": "string",
  9997. "description": "钻石分类, 格式:1,2,3",
  9998. "name": "zscategorys",
  9999. "in": "query"
  10000. },
  10001. {
  10002. "type": "integer",
  10003. "description": "仓库ID",
  10004. "name": "warehouseid",
  10005. "in": "query"
  10006. },
  10007. {
  10008. "type": "integer",
  10009. "description": "是否上架,0-全部 1-是 2-否",
  10010. "name": "marketflag",
  10011. "in": "query"
  10012. }
  10013. ],
  10014. "responses": {
  10015. "200": {
  10016. "description": "OK",
  10017. "schema": {
  10018. "type": "array",
  10019. "items": {
  10020. "$ref": "#/definitions/models.MyWRPosition"
  10021. }
  10022. }
  10023. },
  10024. "500": {
  10025. "description": "Internal Server Error",
  10026. "schema": {
  10027. "$ref": "#/definitions/app.Response"
  10028. }
  10029. }
  10030. }
  10031. }
  10032. },
  10033. "/Guangzuan/QuerySellOrder": {
  10034. "get": {
  10035. "security": [
  10036. {
  10037. "ApiKeyAuth": []
  10038. },
  10039. {
  10040. "LoginID": []
  10041. },
  10042. {
  10043. "Group": []
  10044. }
  10045. ],
  10046. "produces": [
  10047. "application/json"
  10048. ],
  10049. "tags": [
  10050. "广钻"
  10051. ],
  10052. "summary": "查询出售大厅委托单",
  10053. "parameters": [
  10054. {
  10055. "type": "integer",
  10056. "description": "页码",
  10057. "name": "page",
  10058. "in": "query"
  10059. },
  10060. {
  10061. "type": "integer",
  10062. "description": "每页条数",
  10063. "name": "pagesize",
  10064. "in": "query"
  10065. },
  10066. {
  10067. "type": "string",
  10068. "description": "商品(查询字段-模糊查询)",
  10069. "name": "zsallproperties",
  10070. "in": "query"
  10071. },
  10072. {
  10073. "type": "string",
  10074. "description": "钻石分类, 格式:1,2,3",
  10075. "name": "zscategorys",
  10076. "in": "query"
  10077. },
  10078. {
  10079. "type": "integer",
  10080. "description": "委托单号",
  10081. "name": "wrtradeorderid",
  10082. "in": "query"
  10083. },
  10084. {
  10085. "type": "string",
  10086. "description": "卖方(查询字段-模糊查询)",
  10087. "name": "buyusername",
  10088. "in": "query"
  10089. }
  10090. ],
  10091. "responses": {
  10092. "200": {
  10093. "description": "OK",
  10094. "schema": {
  10095. "type": "array",
  10096. "items": {
  10097. "$ref": "#/definitions/models.SellOrder"
  10098. }
  10099. }
  10100. },
  10101. "500": {
  10102. "description": "Internal Server Error",
  10103. "schema": {
  10104. "$ref": "#/definitions/app.Response"
  10105. }
  10106. }
  10107. }
  10108. }
  10109. },
  10110. "/Guangzuan/QueryTradeReport": {
  10111. "get": {
  10112. "security": [
  10113. {
  10114. "ApiKeyAuth": []
  10115. },
  10116. {
  10117. "LoginID": []
  10118. },
  10119. {
  10120. "Group": []
  10121. }
  10122. ],
  10123. "produces": [
  10124. "application/json"
  10125. ],
  10126. "tags": [
  10127. "广钻"
  10128. ],
  10129. "summary": "查询交易报表",
  10130. "parameters": [
  10131. {
  10132. "type": "integer",
  10133. "description": "用户ID",
  10134. "name": "userid",
  10135. "in": "query",
  10136. "required": true
  10137. },
  10138. {
  10139. "type": "integer",
  10140. "description": "页码",
  10141. "name": "page",
  10142. "in": "query"
  10143. },
  10144. {
  10145. "type": "integer",
  10146. "description": "每页条数",
  10147. "name": "pagesize",
  10148. "in": "query"
  10149. },
  10150. {
  10151. "type": "string",
  10152. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  10153. "name": "cycletype",
  10154. "in": "query"
  10155. },
  10156. {
  10157. "type": "string",
  10158. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10159. "name": "begindate",
  10160. "in": "query",
  10161. "required": true
  10162. },
  10163. {
  10164. "type": "string",
  10165. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10166. "name": "enddate",
  10167. "in": "query",
  10168. "required": true
  10169. },
  10170. {
  10171. "type": "integer",
  10172. "description": "商品分类",
  10173. "name": "zscategory",
  10174. "in": "query"
  10175. },
  10176. {
  10177. "type": "integer",
  10178. "description": "商品币种",
  10179. "name": "zscurrencytype",
  10180. "in": "query"
  10181. }
  10182. ],
  10183. "responses": {
  10184. "200": {
  10185. "description": "OK",
  10186. "schema": {
  10187. "type": "array",
  10188. "items": {
  10189. "$ref": "#/definitions/models.Reckongzmemtradesum"
  10190. }
  10191. }
  10192. },
  10193. "500": {
  10194. "description": "Internal Server Error",
  10195. "schema": {
  10196. "$ref": "#/definitions/app.Response"
  10197. }
  10198. }
  10199. }
  10200. }
  10201. },
  10202. "/Guangzuan/QueryWRPositionReport": {
  10203. "get": {
  10204. "security": [
  10205. {
  10206. "ApiKeyAuth": []
  10207. },
  10208. {
  10209. "LoginID": []
  10210. },
  10211. {
  10212. "Group": []
  10213. }
  10214. ],
  10215. "produces": [
  10216. "application/json"
  10217. ],
  10218. "tags": [
  10219. "广钻"
  10220. ],
  10221. "summary": "查询仓储报表",
  10222. "parameters": [
  10223. {
  10224. "type": "integer",
  10225. "description": "用户ID",
  10226. "name": "userid",
  10227. "in": "query",
  10228. "required": true
  10229. },
  10230. {
  10231. "type": "integer",
  10232. "description": "页码",
  10233. "name": "page",
  10234. "in": "query"
  10235. },
  10236. {
  10237. "type": "integer",
  10238. "description": "每页条数",
  10239. "name": "pagesize",
  10240. "in": "query"
  10241. },
  10242. {
  10243. "type": "string",
  10244. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  10245. "name": "cycletype",
  10246. "in": "query"
  10247. },
  10248. {
  10249. "type": "string",
  10250. "description": "开始时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10251. "name": "begindate",
  10252. "in": "query",
  10253. "required": true
  10254. },
  10255. {
  10256. "type": "string",
  10257. "description": "结束时段(日报表:yyyymmdd 月报表:yyyymm 年报表:yyyy)",
  10258. "name": "enddate",
  10259. "in": "query",
  10260. "required": true
  10261. },
  10262. {
  10263. "type": "integer",
  10264. "description": "商品分类",
  10265. "name": "zscategory",
  10266. "in": "query"
  10267. },
  10268. {
  10269. "type": "integer",
  10270. "description": "商品币种",
  10271. "name": "zscurrencytype",
  10272. "in": "query"
  10273. }
  10274. ],
  10275. "responses": {
  10276. "200": {
  10277. "description": "OK",
  10278. "schema": {
  10279. "type": "array",
  10280. "items": {
  10281. "$ref": "#/definitions/models.WRPositionReport"
  10282. }
  10283. }
  10284. },
  10285. "500": {
  10286. "description": "Internal Server Error",
  10287. "schema": {
  10288. "$ref": "#/definitions/app.Response"
  10289. }
  10290. }
  10291. }
  10292. }
  10293. },
  10294. "/Guangzuan/QueryWarehouseInfo": {
  10295. "get": {
  10296. "security": [
  10297. {
  10298. "ApiKeyAuth": []
  10299. },
  10300. {
  10301. "LoginID": []
  10302. },
  10303. {
  10304. "Group": []
  10305. }
  10306. ],
  10307. "produces": [
  10308. "application/json"
  10309. ],
  10310. "tags": [
  10311. "广钻"
  10312. ],
  10313. "summary": "查询仓库信息",
  10314. "parameters": [
  10315. {
  10316. "type": "integer",
  10317. "description": "页码",
  10318. "name": "page",
  10319. "in": "query"
  10320. },
  10321. {
  10322. "type": "integer",
  10323. "description": "每页条数",
  10324. "name": "pagesize",
  10325. "in": "query"
  10326. },
  10327. {
  10328. "type": "integer",
  10329. "description": "用户ID",
  10330. "name": "userid",
  10331. "in": "query",
  10332. "required": true
  10333. },
  10334. {
  10335. "type": "string",
  10336. "description": "仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝",
  10337. "name": "status",
  10338. "in": "query"
  10339. },
  10340. {
  10341. "type": "boolean",
  10342. "description": "是返回交易所仓库",
  10343. "name": "isincludeexchange",
  10344. "in": "query"
  10345. }
  10346. ],
  10347. "responses": {
  10348. "200": {
  10349. "description": "OK",
  10350. "schema": {
  10351. "type": "array",
  10352. "items": {
  10353. "$ref": "#/definitions/models.GZWarehouseinfo"
  10354. }
  10355. }
  10356. },
  10357. "500": {
  10358. "description": "Internal Server Error",
  10359. "schema": {
  10360. "$ref": "#/definitions/app.Response"
  10361. }
  10362. }
  10363. }
  10364. }
  10365. },
  10366. "/Market/GetAllExExchanges": {
  10367. "get": {
  10368. "security": [
  10369. {
  10370. "ApiKeyAuth": []
  10371. }
  10372. ],
  10373. "produces": [
  10374. "application/json"
  10375. ],
  10376. "tags": [
  10377. "通用市场"
  10378. ],
  10379. "summary": "获取所有外部交易所信息",
  10380. "responses": {
  10381. "200": {
  10382. "description": "OK",
  10383. "schema": {
  10384. "$ref": "#/definitions/models.Goods"
  10385. }
  10386. },
  10387. "500": {
  10388. "description": "Internal Server Error",
  10389. "schema": {
  10390. "$ref": "#/definitions/app.Response"
  10391. }
  10392. }
  10393. }
  10394. }
  10395. },
  10396. "/Market/QueryGoodsesByLoginID": {
  10397. "get": {
  10398. "security": [
  10399. {
  10400. "ApiKeyAuth": []
  10401. }
  10402. ],
  10403. "produces": [
  10404. "application/json"
  10405. ],
  10406. "tags": [
  10407. "通用市场"
  10408. ],
  10409. "summary": "获取登录账号有权限的商品信息",
  10410. "parameters": [
  10411. {
  10412. "type": "integer",
  10413. "description": "登录账号",
  10414. "name": "loginID",
  10415. "in": "query",
  10416. "required": true
  10417. },
  10418. {
  10419. "type": "string",
  10420. "description": "市场ID列表,格式:1,2,3",
  10421. "name": "marketIDs",
  10422. "in": "query"
  10423. }
  10424. ],
  10425. "responses": {
  10426. "200": {
  10427. "description": "OK",
  10428. "schema": {
  10429. "$ref": "#/definitions/models.Goods"
  10430. }
  10431. },
  10432. "500": {
  10433. "description": "Internal Server Error",
  10434. "schema": {
  10435. "$ref": "#/definitions/app.Response"
  10436. }
  10437. }
  10438. }
  10439. }
  10440. },
  10441. "/Market/QueryMarketRun": {
  10442. "get": {
  10443. "security": [
  10444. {
  10445. "ApiKeyAuth": []
  10446. }
  10447. ],
  10448. "produces": [
  10449. "application/json"
  10450. ],
  10451. "tags": [
  10452. "通用市场"
  10453. ],
  10454. "summary": "查询市场运行信息",
  10455. "parameters": [
  10456. {
  10457. "type": "integer",
  10458. "description": "市场ID,不传返回所有",
  10459. "name": "marketID",
  10460. "in": "query"
  10461. }
  10462. ],
  10463. "responses": {
  10464. "200": {
  10465. "description": "OK",
  10466. "schema": {
  10467. "$ref": "#/definitions/models.Marketrun"
  10468. }
  10469. },
  10470. "500": {
  10471. "description": "Internal Server Error",
  10472. "schema": {
  10473. "$ref": "#/definitions/app.Response"
  10474. }
  10475. }
  10476. }
  10477. }
  10478. },
  10479. "/Market/QueryMarketsByLoginID": {
  10480. "get": {
  10481. "security": [
  10482. {
  10483. "ApiKeyAuth": []
  10484. }
  10485. ],
  10486. "produces": [
  10487. "application/json"
  10488. ],
  10489. "tags": [
  10490. "通用市场"
  10491. ],
  10492. "summary": "获取登录账号有权限的市场信息",
  10493. "parameters": [
  10494. {
  10495. "type": "integer",
  10496. "description": "登录账号",
  10497. "name": "loginID",
  10498. "in": "query",
  10499. "required": true
  10500. }
  10501. ],
  10502. "responses": {
  10503. "200": {
  10504. "description": "OK",
  10505. "schema": {
  10506. "$ref": "#/definitions/models.Market"
  10507. }
  10508. },
  10509. "500": {
  10510. "description": "Internal Server Error",
  10511. "schema": {
  10512. "$ref": "#/definitions/app.Response"
  10513. }
  10514. }
  10515. }
  10516. }
  10517. },
  10518. "/Order/QueryHisTradeDetail": {
  10519. "get": {
  10520. "security": [
  10521. {
  10522. "ApiKeyAuth": []
  10523. }
  10524. ],
  10525. "produces": [
  10526. "application/json"
  10527. ],
  10528. "tags": [
  10529. "通用单据"
  10530. ],
  10531. "summary": "历史成交单查询(合约市场)",
  10532. "parameters": [
  10533. {
  10534. "type": "string",
  10535. "description": "资金账户 - 格式:1,2,3",
  10536. "name": "accountID",
  10537. "in": "query",
  10538. "required": true
  10539. },
  10540. {
  10541. "type": "integer",
  10542. "description": "成交单号",
  10543. "name": "tradeID",
  10544. "in": "query"
  10545. },
  10546. {
  10547. "type": "integer",
  10548. "description": "委托单号",
  10549. "name": "orderID",
  10550. "in": "query"
  10551. },
  10552. {
  10553. "type": "integer",
  10554. "description": "商品ID",
  10555. "name": "goodsID",
  10556. "in": "query"
  10557. },
  10558. {
  10559. "type": "string",
  10560. "description": "交易模式 - 格式:1,2,3",
  10561. "name": "tradeMode",
  10562. "in": "query"
  10563. },
  10564. {
  10565. "type": "integer",
  10566. "description": "委托单据类型",
  10567. "name": "buildType",
  10568. "in": "query"
  10569. },
  10570. {
  10571. "type": "string",
  10572. "description": "成交类别 - 格式:1,2,3",
  10573. "name": "tradeType",
  10574. "in": "query"
  10575. },
  10576. {
  10577. "type": "string",
  10578. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10579. "name": "startDate",
  10580. "in": "query"
  10581. },
  10582. {
  10583. "type": "string",
  10584. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10585. "name": "endDate",
  10586. "in": "query"
  10587. }
  10588. ],
  10589. "responses": {
  10590. "200": {
  10591. "description": "OK",
  10592. "schema": {
  10593. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  10594. }
  10595. },
  10596. "500": {
  10597. "description": "Internal Server Error",
  10598. "schema": {
  10599. "$ref": "#/definitions/app.Response"
  10600. }
  10601. }
  10602. }
  10603. }
  10604. },
  10605. "/Order/QueryHisTradeOrderDetail": {
  10606. "get": {
  10607. "security": [
  10608. {
  10609. "ApiKeyAuth": []
  10610. }
  10611. ],
  10612. "produces": [
  10613. "application/json"
  10614. ],
  10615. "tags": [
  10616. "通用单据"
  10617. ],
  10618. "summary": "历史委托单查询请求(合约市场)",
  10619. "parameters": [
  10620. {
  10621. "type": "string",
  10622. "description": "资金账户 - 格式:1,2,3",
  10623. "name": "accountID",
  10624. "in": "query",
  10625. "required": true
  10626. },
  10627. {
  10628. "type": "string",
  10629. "description": "交易模式 - 格式:1,2,3",
  10630. "name": "tradeMode",
  10631. "in": "query"
  10632. },
  10633. {
  10634. "type": "string",
  10635. "description": "委托状态 - 格式:1,2,3",
  10636. "name": "orderStatus",
  10637. "in": "query"
  10638. },
  10639. {
  10640. "type": "integer",
  10641. "description": "委托单号",
  10642. "name": "orderID",
  10643. "in": "query"
  10644. },
  10645. {
  10646. "type": "string",
  10647. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  10648. "name": "startDate",
  10649. "in": "query"
  10650. },
  10651. {
  10652. "type": "string",
  10653. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  10654. "name": "endDate",
  10655. "in": "query"
  10656. }
  10657. ],
  10658. "responses": {
  10659. "200": {
  10660. "description": "OK",
  10661. "schema": {
  10662. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  10663. }
  10664. },
  10665. "500": {
  10666. "description": "Internal Server Error",
  10667. "schema": {
  10668. "$ref": "#/definitions/app.Response"
  10669. }
  10670. }
  10671. }
  10672. }
  10673. },
  10674. "/Order/QueryTradeDetail": {
  10675. "get": {
  10676. "security": [
  10677. {
  10678. "ApiKeyAuth": []
  10679. }
  10680. ],
  10681. "produces": [
  10682. "application/json"
  10683. ],
  10684. "tags": [
  10685. "通用单据"
  10686. ],
  10687. "summary": "成交单查询(合约市场)",
  10688. "parameters": [
  10689. {
  10690. "type": "string",
  10691. "description": "资金账户 - 格式:1,2,3",
  10692. "name": "accountID",
  10693. "in": "query",
  10694. "required": true
  10695. },
  10696. {
  10697. "type": "integer",
  10698. "description": "成交单号",
  10699. "name": "tradeID",
  10700. "in": "query"
  10701. },
  10702. {
  10703. "type": "integer",
  10704. "description": "委托单号",
  10705. "name": "orderID",
  10706. "in": "query"
  10707. },
  10708. {
  10709. "type": "string",
  10710. "description": "交易模式 - 格式:1,2,3",
  10711. "name": "tradeMode",
  10712. "in": "query"
  10713. },
  10714. {
  10715. "type": "integer",
  10716. "description": "委托单据类型",
  10717. "name": "buildType",
  10718. "in": "query"
  10719. },
  10720. {
  10721. "type": "string",
  10722. "description": "成交类别 - 格式:1,2,3",
  10723. "name": "tradeType",
  10724. "in": "query"
  10725. },
  10726. {
  10727. "type": "integer",
  10728. "description": "商品ID",
  10729. "name": "goodsID",
  10730. "in": "query"
  10731. }
  10732. ],
  10733. "responses": {
  10734. "200": {
  10735. "description": "OK",
  10736. "schema": {
  10737. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  10738. }
  10739. },
  10740. "500": {
  10741. "description": "Internal Server Error",
  10742. "schema": {
  10743. "$ref": "#/definitions/app.Response"
  10744. }
  10745. }
  10746. }
  10747. }
  10748. },
  10749. "/Order/QueryTradeHolderDetail": {
  10750. "get": {
  10751. "security": [
  10752. {
  10753. "ApiKeyAuth": []
  10754. }
  10755. ],
  10756. "produces": [
  10757. "application/json"
  10758. ],
  10759. "tags": [
  10760. "通用单据"
  10761. ],
  10762. "summary": "查询持仓明细",
  10763. "parameters": [
  10764. {
  10765. "type": "integer",
  10766. "description": "用户id",
  10767. "name": "userid",
  10768. "in": "query"
  10769. },
  10770. {
  10771. "type": "string",
  10772. "description": "资金账号, 格式 1,2,3",
  10773. "name": "accids",
  10774. "in": "query"
  10775. },
  10776. {
  10777. "type": "string",
  10778. "description": "交易模式, 格式 1,2,3",
  10779. "name": "trademodes",
  10780. "in": "query"
  10781. },
  10782. {
  10783. "type": "string",
  10784. "description": "市场id, 格式 1,2,3",
  10785. "name": "marketids",
  10786. "in": "query"
  10787. },
  10788. {
  10789. "type": "integer",
  10790. "description": "商品id",
  10791. "name": "goodsid",
  10792. "in": "query"
  10793. },
  10794. {
  10795. "type": "integer",
  10796. "description": "买卖方向 0-买 1-卖",
  10797. "name": "buyorsell",
  10798. "in": "query"
  10799. }
  10800. ],
  10801. "responses": {
  10802. "200": {
  10803. "description": "OK",
  10804. "schema": {
  10805. "type": "array",
  10806. "items": {
  10807. "$ref": "#/definitions/models.TradeHolderDetail"
  10808. }
  10809. }
  10810. },
  10811. "500": {
  10812. "description": "Internal Server Error",
  10813. "schema": {
  10814. "$ref": "#/definitions/app.Response"
  10815. }
  10816. }
  10817. }
  10818. }
  10819. },
  10820. "/Order/QueryTradeOrderDetail": {
  10821. "get": {
  10822. "security": [
  10823. {
  10824. "ApiKeyAuth": []
  10825. }
  10826. ],
  10827. "produces": [
  10828. "application/json"
  10829. ],
  10830. "tags": [
  10831. "通用单据"
  10832. ],
  10833. "summary": "委托单查询请求(合约市场)",
  10834. "parameters": [
  10835. {
  10836. "type": "string",
  10837. "description": "资金账户 - 格式:1,2,3",
  10838. "name": "accountID",
  10839. "in": "query",
  10840. "required": true
  10841. },
  10842. {
  10843. "type": "string",
  10844. "description": "交易模式 - 格式:1,2,3",
  10845. "name": "tradeMode",
  10846. "in": "query"
  10847. },
  10848. {
  10849. "type": "string",
  10850. "description": "委托状态 - 格式:1,2,3",
  10851. "name": "orderStatus",
  10852. "in": "query"
  10853. },
  10854. {
  10855. "type": "integer",
  10856. "description": "委托单号",
  10857. "name": "orderID",
  10858. "in": "query"
  10859. }
  10860. ],
  10861. "responses": {
  10862. "200": {
  10863. "description": "OK",
  10864. "schema": {
  10865. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  10866. }
  10867. },
  10868. "500": {
  10869. "description": "Internal Server Error",
  10870. "schema": {
  10871. "$ref": "#/definitions/app.Response"
  10872. }
  10873. }
  10874. }
  10875. }
  10876. },
  10877. "/Order/QueryTradePosition": {
  10878. "get": {
  10879. "security": [
  10880. {
  10881. "ApiKeyAuth": []
  10882. }
  10883. ],
  10884. "produces": [
  10885. "application/json"
  10886. ],
  10887. "tags": [
  10888. "通用单据"
  10889. ],
  10890. "summary": "持仓汇总查询(合约市场)",
  10891. "parameters": [
  10892. {
  10893. "type": "string",
  10894. "description": "资金账户 - 格式:1,2,3",
  10895. "name": "accountID",
  10896. "in": "query",
  10897. "required": true
  10898. },
  10899. {
  10900. "type": "string",
  10901. "description": "交易模式 - 格式:1,2,3",
  10902. "name": "tradeMode",
  10903. "in": "query"
  10904. }
  10905. ],
  10906. "responses": {
  10907. "200": {
  10908. "description": "OK",
  10909. "schema": {
  10910. "$ref": "#/definitions/order.QueryTradePositionRsp"
  10911. }
  10912. },
  10913. "500": {
  10914. "description": "Internal Server Error",
  10915. "schema": {
  10916. "$ref": "#/definitions/app.Response"
  10917. }
  10918. }
  10919. }
  10920. }
  10921. },
  10922. "/Qhj/QueryAccountInOutApply": {
  10923. "get": {
  10924. "security": [
  10925. {
  10926. "ApiKeyAuth": []
  10927. }
  10928. ],
  10929. "produces": [
  10930. "application/json"
  10931. ],
  10932. "tags": [
  10933. "大连千海金"
  10934. ],
  10935. "summary": "查询充值提现",
  10936. "parameters": [
  10937. {
  10938. "type": "integer",
  10939. "description": "用户ID",
  10940. "name": "userid",
  10941. "in": "query",
  10942. "required": true
  10943. },
  10944. {
  10945. "type": "string",
  10946. "description": "申请起始日期(格式yyyymmdd)",
  10947. "name": "begindate",
  10948. "in": "query"
  10949. },
  10950. {
  10951. "type": "string",
  10952. "description": "申请截止日期(格式yyyymmdd)",
  10953. "name": "enddate",
  10954. "in": "query"
  10955. },
  10956. {
  10957. "type": "string",
  10958. "description": "模糊搜索名称",
  10959. "name": "likename",
  10960. "in": "query"
  10961. },
  10962. {
  10963. "type": "integer",
  10964. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  10965. "name": "applystatus",
  10966. "in": "query"
  10967. },
  10968. {
  10969. "type": "integer",
  10970. "description": "查询类型 1-提现(出金) 2-充值(入金)",
  10971. "name": "querytype",
  10972. "in": "query"
  10973. }
  10974. ],
  10975. "responses": {
  10976. "200": {
  10977. "description": "OK",
  10978. "schema": {
  10979. "type": "array",
  10980. "items": {
  10981. "$ref": "#/definitions/models.QhjAccountOutInApply"
  10982. }
  10983. }
  10984. },
  10985. "500": {
  10986. "description": "Internal Server Error",
  10987. "schema": {
  10988. "$ref": "#/definitions/app.Response"
  10989. }
  10990. }
  10991. }
  10992. }
  10993. },
  10994. "/Qhj/QueryAreaFinanceConfig": {
  10995. "get": {
  10996. "security": [
  10997. {
  10998. "ApiKeyAuth": []
  10999. }
  11000. ],
  11001. "produces": [
  11002. "application/json"
  11003. ],
  11004. "tags": [
  11005. "大连千海金"
  11006. ],
  11007. "summary": "查询企业配置表",
  11008. "parameters": [
  11009. {
  11010. "type": "integer",
  11011. "description": "机构用户ID 其他做市关系,都设置为 1",
  11012. "name": "userid",
  11013. "in": "query"
  11014. }
  11015. ],
  11016. "responses": {
  11017. "200": {
  11018. "description": "OK",
  11019. "schema": {
  11020. "type": "array",
  11021. "items": {
  11022. "$ref": "#/definitions/models.QhjAreaFinanceConfig"
  11023. }
  11024. }
  11025. },
  11026. "500": {
  11027. "description": "Internal Server Error",
  11028. "schema": {
  11029. "$ref": "#/definitions/app.Response"
  11030. }
  11031. }
  11032. }
  11033. }
  11034. },
  11035. "/Qhj/QueryBankAccountSign": {
  11036. "get": {
  11037. "security": [
  11038. {
  11039. "ApiKeyAuth": []
  11040. }
  11041. ],
  11042. "produces": [
  11043. "application/json"
  11044. ],
  11045. "tags": [
  11046. "大连千海金"
  11047. ],
  11048. "summary": "查询签约银行信息(提现账户管理)",
  11049. "parameters": [
  11050. {
  11051. "type": "integer",
  11052. "description": "用户ID",
  11053. "name": "userid",
  11054. "in": "query",
  11055. "required": true
  11056. }
  11057. ],
  11058. "responses": {
  11059. "200": {
  11060. "description": "OK",
  11061. "schema": {
  11062. "type": "array",
  11063. "items": {
  11064. "$ref": "#/definitions/models.QhjBankAccountSign"
  11065. }
  11066. }
  11067. },
  11068. "500": {
  11069. "description": "Internal Server Error",
  11070. "schema": {
  11071. "$ref": "#/definitions/app.Response"
  11072. }
  11073. }
  11074. }
  11075. }
  11076. },
  11077. "/Qhj/QueryBankInfo": {
  11078. "get": {
  11079. "security": [
  11080. {
  11081. "ApiKeyAuth": []
  11082. }
  11083. ],
  11084. "produces": [
  11085. "application/json"
  11086. ],
  11087. "tags": [
  11088. "大连千海金"
  11089. ],
  11090. "summary": "查询开户行",
  11091. "responses": {
  11092. "200": {
  11093. "description": "OK",
  11094. "schema": {
  11095. "type": "array",
  11096. "items": {
  11097. "$ref": "#/definitions/models.QhjBankInfo"
  11098. }
  11099. }
  11100. },
  11101. "500": {
  11102. "description": "Internal Server Error",
  11103. "schema": {
  11104. "$ref": "#/definitions/app.Response"
  11105. }
  11106. }
  11107. }
  11108. }
  11109. },
  11110. "/Qhj/QueryBrokerApply": {
  11111. "get": {
  11112. "security": [
  11113. {
  11114. "ApiKeyAuth": []
  11115. }
  11116. ],
  11117. "produces": [
  11118. "application/json"
  11119. ],
  11120. "tags": [
  11121. "大连千海金"
  11122. ],
  11123. "summary": "查询经纪人申请",
  11124. "parameters": [
  11125. {
  11126. "type": "integer",
  11127. "description": "所属机构ID",
  11128. "name": "userid",
  11129. "in": "query"
  11130. },
  11131. {
  11132. "type": "string",
  11133. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  11134. "name": "filterstatus",
  11135. "in": "query"
  11136. }
  11137. ],
  11138. "responses": {
  11139. "200": {
  11140. "description": "OK",
  11141. "schema": {
  11142. "type": "array",
  11143. "items": {
  11144. "$ref": "#/definitions/models.QhjBrokerApply"
  11145. }
  11146. }
  11147. },
  11148. "500": {
  11149. "description": "Internal Server Error",
  11150. "schema": {
  11151. "$ref": "#/definitions/app.Response"
  11152. }
  11153. }
  11154. }
  11155. }
  11156. },
  11157. "/Qhj/QueryBrokerApplyEx": {
  11158. "get": {
  11159. "security": [
  11160. {
  11161. "ApiKeyAuth": []
  11162. }
  11163. ],
  11164. "produces": [
  11165. "application/json"
  11166. ],
  11167. "tags": [
  11168. "大连千海金"
  11169. ],
  11170. "summary": "查询经纪人信息和申请记录",
  11171. "parameters": [
  11172. {
  11173. "type": "integer",
  11174. "description": "所属机构ID",
  11175. "name": "userid",
  11176. "in": "query"
  11177. }
  11178. ],
  11179. "responses": {
  11180. "200": {
  11181. "description": "OK",
  11182. "schema": {
  11183. "type": "array",
  11184. "items": {
  11185. "$ref": "#/definitions/models.QhjBrokerApplyEx"
  11186. }
  11187. }
  11188. },
  11189. "500": {
  11190. "description": "Internal Server Error",
  11191. "schema": {
  11192. "$ref": "#/definitions/app.Response"
  11193. }
  11194. }
  11195. }
  11196. }
  11197. },
  11198. "/Qhj/QueryBrokerRewardLog": {
  11199. "get": {
  11200. "security": [
  11201. {
  11202. "ApiKeyAuth": []
  11203. }
  11204. ],
  11205. "produces": [
  11206. "application/json"
  11207. ],
  11208. "tags": [
  11209. "大连千海金"
  11210. ],
  11211. "summary": "查询奖励流水(我的奖励)",
  11212. "parameters": [
  11213. {
  11214. "type": "integer",
  11215. "description": "用户ID",
  11216. "name": "userid",
  11217. "in": "query",
  11218. "required": true
  11219. },
  11220. {
  11221. "type": "string",
  11222. "description": "开始交易日(yyyymmdd)",
  11223. "name": "begindate",
  11224. "in": "query"
  11225. },
  11226. {
  11227. "type": "string",
  11228. "description": "结束交易日(yyyymmdd)",
  11229. "name": "enddate",
  11230. "in": "query"
  11231. }
  11232. ],
  11233. "responses": {
  11234. "200": {
  11235. "description": "OK",
  11236. "schema": {
  11237. "type": "array",
  11238. "items": {
  11239. "$ref": "#/definitions/models.QhjBrokerRewardLog"
  11240. }
  11241. }
  11242. },
  11243. "500": {
  11244. "description": "Internal Server Error",
  11245. "schema": {
  11246. "$ref": "#/definitions/app.Response"
  11247. }
  11248. }
  11249. }
  11250. }
  11251. },
  11252. "/Qhj/QueryContract": {
  11253. "get": {
  11254. "security": [
  11255. {
  11256. "ApiKeyAuth": []
  11257. }
  11258. ],
  11259. "produces": [
  11260. "application/json"
  11261. ],
  11262. "tags": [
  11263. "大连千海金"
  11264. ],
  11265. "summary": "查询融资明细(合同)",
  11266. "parameters": [
  11267. {
  11268. "type": "integer",
  11269. "description": "用户ID",
  11270. "name": "userid",
  11271. "in": "query"
  11272. },
  11273. {
  11274. "type": "integer",
  11275. "description": "scf合同id",
  11276. "name": "scfcontractid",
  11277. "in": "query"
  11278. }
  11279. ],
  11280. "responses": {
  11281. "200": {
  11282. "description": "OK",
  11283. "schema": {
  11284. "type": "array",
  11285. "items": {
  11286. "$ref": "#/definitions/models.QhjContract"
  11287. }
  11288. }
  11289. },
  11290. "500": {
  11291. "description": "Internal Server Error",
  11292. "schema": {
  11293. "$ref": "#/definitions/app.Response"
  11294. }
  11295. }
  11296. }
  11297. }
  11298. },
  11299. "/Qhj/QueryContractLog": {
  11300. "get": {
  11301. "security": [
  11302. {
  11303. "ApiKeyAuth": []
  11304. }
  11305. ],
  11306. "produces": [
  11307. "application/json"
  11308. ],
  11309. "tags": [
  11310. "大连千海金"
  11311. ],
  11312. "summary": "查询融资明细流水(融资明细详情页中的流水)",
  11313. "parameters": [
  11314. {
  11315. "type": "integer",
  11316. "description": "scf合同id",
  11317. "name": "scfcontractid",
  11318. "in": "query",
  11319. "required": true
  11320. },
  11321. {
  11322. "type": "string",
  11323. "description": "资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款",
  11324. "name": "amounttype",
  11325. "in": "query"
  11326. }
  11327. ],
  11328. "responses": {
  11329. "200": {
  11330. "description": "OK",
  11331. "schema": {
  11332. "type": "array",
  11333. "items": {
  11334. "$ref": "#/definitions/models.QhjContractLog"
  11335. }
  11336. }
  11337. },
  11338. "500": {
  11339. "description": "Internal Server Error",
  11340. "schema": {
  11341. "$ref": "#/definitions/app.Response"
  11342. }
  11343. }
  11344. }
  11345. }
  11346. },
  11347. "/Qhj/QueryCusBankSignBank": {
  11348. "get": {
  11349. "security": [
  11350. {
  11351. "ApiKeyAuth": []
  11352. }
  11353. ],
  11354. "produces": [
  11355. "application/json"
  11356. ],
  11357. "tags": [
  11358. "大连千海金"
  11359. ],
  11360. "summary": "查询托管银行",
  11361. "responses": {
  11362. "200": {
  11363. "description": "OK",
  11364. "schema": {
  11365. "type": "array",
  11366. "items": {
  11367. "$ref": "#/definitions/models.QhjCusBankSignBankEx"
  11368. }
  11369. }
  11370. },
  11371. "500": {
  11372. "description": "Internal Server Error",
  11373. "schema": {
  11374. "$ref": "#/definitions/app.Response"
  11375. }
  11376. }
  11377. }
  11378. }
  11379. },
  11380. "/Qhj/QueryCustomerInfo": {
  11381. "get": {
  11382. "security": [
  11383. {
  11384. "ApiKeyAuth": []
  11385. }
  11386. ],
  11387. "produces": [
  11388. "application/json"
  11389. ],
  11390. "tags": [
  11391. "大连千海金"
  11392. ],
  11393. "summary": "查询客户资料",
  11394. "parameters": [
  11395. {
  11396. "type": "integer",
  11397. "description": "用户ID",
  11398. "name": "userid",
  11399. "in": "query",
  11400. "required": true
  11401. },
  11402. {
  11403. "type": "integer",
  11404. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  11405. "name": "querytype",
  11406. "in": "query",
  11407. "required": true
  11408. },
  11409. {
  11410. "type": "integer",
  11411. "description": "客户类型 1-个人 2-企业",
  11412. "name": "userinfotype",
  11413. "in": "query"
  11414. },
  11415. {
  11416. "type": "string",
  11417. "description": "客户名称(模糊匹配)",
  11418. "name": "customername",
  11419. "in": "query"
  11420. },
  11421. {
  11422. "type": "string",
  11423. "description": "昵称(模糊匹配)",
  11424. "name": "nickname",
  11425. "in": "query"
  11426. },
  11427. {
  11428. "type": "integer",
  11429. "description": "是否包含子级 1-包含",
  11430. "name": "includesub",
  11431. "in": "query"
  11432. }
  11433. ],
  11434. "responses": {
  11435. "200": {
  11436. "description": "OK",
  11437. "schema": {
  11438. "type": "array",
  11439. "items": {
  11440. "$ref": "#/definitions/models.QhjCustomer"
  11441. }
  11442. }
  11443. },
  11444. "500": {
  11445. "description": "Internal Server Error",
  11446. "schema": {
  11447. "$ref": "#/definitions/app.Response"
  11448. }
  11449. }
  11450. }
  11451. }
  11452. },
  11453. "/Qhj/QueryGoodsEx": {
  11454. "get": {
  11455. "security": [
  11456. {
  11457. "ApiKeyAuth": []
  11458. }
  11459. ],
  11460. "produces": [
  11461. "application/json"
  11462. ],
  11463. "tags": [
  11464. "大连千海金"
  11465. ],
  11466. "summary": "交易商品扩展表",
  11467. "parameters": [
  11468. {
  11469. "type": "integer",
  11470. "description": "商品id",
  11471. "name": "goodsid",
  11472. "in": "query"
  11473. }
  11474. ],
  11475. "responses": {
  11476. "200": {
  11477. "description": "OK",
  11478. "schema": {
  11479. "type": "array",
  11480. "items": {
  11481. "$ref": "#/definitions/models.Qhjgoodsex"
  11482. }
  11483. }
  11484. },
  11485. "500": {
  11486. "description": "Internal Server Error",
  11487. "schema": {
  11488. "$ref": "#/definitions/app.Response"
  11489. }
  11490. }
  11491. }
  11492. }
  11493. },
  11494. "/Qhj/QueryMyTeam": {
  11495. "get": {
  11496. "security": [
  11497. {
  11498. "ApiKeyAuth": []
  11499. }
  11500. ],
  11501. "produces": [
  11502. "application/json"
  11503. ],
  11504. "tags": [
  11505. "大连千海金"
  11506. ],
  11507. "summary": "查询我的团队",
  11508. "parameters": [
  11509. {
  11510. "type": "integer",
  11511. "description": "用户ID",
  11512. "name": "userid",
  11513. "in": "query",
  11514. "required": true
  11515. }
  11516. ],
  11517. "responses": {
  11518. "200": {
  11519. "description": "OK",
  11520. "schema": {
  11521. "type": "array",
  11522. "items": {
  11523. "$ref": "#/definitions/models.QhjMyTeamEx"
  11524. }
  11525. }
  11526. },
  11527. "500": {
  11528. "description": "Internal Server Error",
  11529. "schema": {
  11530. "$ref": "#/definitions/app.Response"
  11531. }
  11532. }
  11533. }
  11534. }
  11535. },
  11536. "/Qhj/QueryMyTeamOrder": {
  11537. "get": {
  11538. "security": [
  11539. {
  11540. "ApiKeyAuth": []
  11541. }
  11542. ],
  11543. "produces": [
  11544. "application/json"
  11545. ],
  11546. "tags": [
  11547. "大连千海金"
  11548. ],
  11549. "summary": "查询团队订单(我的团队/团队订单)",
  11550. "parameters": [
  11551. {
  11552. "type": "integer",
  11553. "description": "页码",
  11554. "name": "page",
  11555. "in": "query"
  11556. },
  11557. {
  11558. "type": "integer",
  11559. "description": "每页条数",
  11560. "name": "pagesize",
  11561. "in": "query"
  11562. },
  11563. {
  11564. "type": "integer",
  11565. "description": "用户ID",
  11566. "name": "userid",
  11567. "in": "query",
  11568. "required": true
  11569. },
  11570. {
  11571. "type": "integer",
  11572. "description": "交易模式",
  11573. "name": "trademode",
  11574. "in": "query"
  11575. },
  11576. {
  11577. "type": "string",
  11578. "description": "名称(模糊搜索账户)",
  11579. "name": "filtername",
  11580. "in": "query"
  11581. }
  11582. ],
  11583. "responses": {
  11584. "200": {
  11585. "description": "OK",
  11586. "schema": {
  11587. "type": "array",
  11588. "items": {
  11589. "$ref": "#/definitions/models.QhjTeamOrder"
  11590. }
  11591. }
  11592. },
  11593. "500": {
  11594. "description": "Internal Server Error",
  11595. "schema": {
  11596. "$ref": "#/definitions/app.Response"
  11597. }
  11598. }
  11599. }
  11600. }
  11601. },
  11602. "/Qhj/QueryParentAreaList": {
  11603. "get": {
  11604. "security": [
  11605. {
  11606. "ApiKeyAuth": []
  11607. }
  11608. ],
  11609. "produces": [
  11610. "application/json"
  11611. ],
  11612. "tags": [
  11613. "大连千海金"
  11614. ],
  11615. "summary": "查询所属机构列表",
  11616. "parameters": [
  11617. {
  11618. "type": "integer",
  11619. "description": "用户ID",
  11620. "name": "userid",
  11621. "in": "query",
  11622. "required": true
  11623. }
  11624. ],
  11625. "responses": {
  11626. "200": {
  11627. "description": "OK",
  11628. "schema": {
  11629. "type": "array",
  11630. "items": {
  11631. "$ref": "#/definitions/models.QhjParentAreaList"
  11632. }
  11633. }
  11634. },
  11635. "500": {
  11636. "description": "Internal Server Error",
  11637. "schema": {
  11638. "$ref": "#/definitions/app.Response"
  11639. }
  11640. }
  11641. }
  11642. }
  11643. },
  11644. "/Qhj/QueryPayOrder": {
  11645. "get": {
  11646. "security": [
  11647. {
  11648. "ApiKeyAuth": []
  11649. }
  11650. ],
  11651. "produces": [
  11652. "application/json"
  11653. ],
  11654. "tags": [
  11655. "大连千海金"
  11656. ],
  11657. "summary": "查询待付款单据",
  11658. "parameters": [
  11659. {
  11660. "type": "integer",
  11661. "description": "资金账号id",
  11662. "name": "accountid",
  11663. "in": "query",
  11664. "required": true
  11665. },
  11666. {
  11667. "type": "integer",
  11668. "description": "成交单号",
  11669. "name": "tradeid",
  11670. "in": "query"
  11671. },
  11672. {
  11673. "type": "string",
  11674. "description": "付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  11675. "name": "payflag",
  11676. "in": "query"
  11677. }
  11678. ],
  11679. "responses": {
  11680. "200": {
  11681. "description": "OK",
  11682. "schema": {
  11683. "type": "array",
  11684. "items": {
  11685. "$ref": "#/definitions/models.QhjPayOrder"
  11686. }
  11687. }
  11688. },
  11689. "500": {
  11690. "description": "Internal Server Error",
  11691. "schema": {
  11692. "$ref": "#/definitions/app.Response"
  11693. }
  11694. }
  11695. }
  11696. }
  11697. },
  11698. "/Qhj/QueryPickArea": {
  11699. "get": {
  11700. "security": [
  11701. {
  11702. "ApiKeyAuth": []
  11703. }
  11704. ],
  11705. "produces": [
  11706. "application/json"
  11707. ],
  11708. "tags": [
  11709. "大连千海金"
  11710. ],
  11711. "summary": "查询提货门店",
  11712. "parameters": [
  11713. {
  11714. "type": "integer",
  11715. "description": "用户ID",
  11716. "name": "userid",
  11717. "in": "query"
  11718. }
  11719. ],
  11720. "responses": {
  11721. "200": {
  11722. "description": "OK",
  11723. "schema": {
  11724. "type": "array",
  11725. "items": {
  11726. "$ref": "#/definitions/models.QhjPickArea"
  11727. }
  11728. }
  11729. },
  11730. "500": {
  11731. "description": "Internal Server Error",
  11732. "schema": {
  11733. "$ref": "#/definitions/app.Response"
  11734. }
  11735. }
  11736. }
  11737. }
  11738. },
  11739. "/Qhj/QueryPickGoods": {
  11740. "get": {
  11741. "security": [
  11742. {
  11743. "ApiKeyAuth": []
  11744. }
  11745. ],
  11746. "produces": [
  11747. "application/json"
  11748. ],
  11749. "tags": [
  11750. "大连千海金"
  11751. ],
  11752. "summary": "查询提货商品",
  11753. "parameters": [
  11754. {
  11755. "type": "integer",
  11756. "description": "交易商品id",
  11757. "name": "goodsid",
  11758. "in": "query",
  11759. "required": true
  11760. },
  11761. {
  11762. "type": "string",
  11763. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  11764. "name": "status",
  11765. "in": "query"
  11766. }
  11767. ],
  11768. "responses": {
  11769. "200": {
  11770. "description": "OK",
  11771. "schema": {
  11772. "type": "array",
  11773. "items": {
  11774. "$ref": "#/definitions/models.QhjPickGoods"
  11775. }
  11776. }
  11777. },
  11778. "500": {
  11779. "description": "Internal Server Error",
  11780. "schema": {
  11781. "$ref": "#/definitions/app.Response"
  11782. }
  11783. }
  11784. }
  11785. }
  11786. },
  11787. "/Qhj/QueryRSTriggerLog": {
  11788. "get": {
  11789. "security": [
  11790. {
  11791. "ApiKeyAuth": []
  11792. }
  11793. ],
  11794. "produces": [
  11795. "application/json"
  11796. ],
  11797. "tags": [
  11798. "大连千海金"
  11799. ],
  11800. "summary": "查询定投记录(定投管理/详情/定投记录)",
  11801. "parameters": [
  11802. {
  11803. "type": "integer",
  11804. "description": "用户ID",
  11805. "name": "userid",
  11806. "in": "query"
  11807. },
  11808. {
  11809. "type": "integer",
  11810. "description": "定投策略id",
  11811. "name": "regularlystrategyid",
  11812. "in": "query"
  11813. },
  11814. {
  11815. "type": "integer",
  11816. "description": "商品id",
  11817. "name": "goodsid",
  11818. "in": "query"
  11819. },
  11820. {
  11821. "type": "string",
  11822. "description": "开始交易日(yyyymmdd)",
  11823. "name": "begindate",
  11824. "in": "query"
  11825. },
  11826. {
  11827. "type": "string",
  11828. "description": "结束交易日(yyyymmdd)",
  11829. "name": "enddate",
  11830. "in": "query"
  11831. },
  11832. {
  11833. "type": "string",
  11834. "description": "名称(模糊搜索账户)",
  11835. "name": "filtername",
  11836. "in": "query"
  11837. }
  11838. ],
  11839. "responses": {
  11840. "200": {
  11841. "description": "OK",
  11842. "schema": {
  11843. "type": "array",
  11844. "items": {
  11845. "$ref": "#/definitions/models.QhjRSTriggerLog"
  11846. }
  11847. }
  11848. },
  11849. "500": {
  11850. "description": "Internal Server Error",
  11851. "schema": {
  11852. "$ref": "#/definitions/app.Response"
  11853. }
  11854. }
  11855. }
  11856. }
  11857. },
  11858. "/Qhj/QueryRStrategy": {
  11859. "get": {
  11860. "security": [
  11861. {
  11862. "ApiKeyAuth": []
  11863. }
  11864. ],
  11865. "produces": [
  11866. "application/json"
  11867. ],
  11868. "tags": [
  11869. "大连千海金"
  11870. ],
  11871. "summary": "查询定投设置(我的定投/历史定投[状态=已终止])",
  11872. "parameters": [
  11873. {
  11874. "type": "integer",
  11875. "description": "用户ID",
  11876. "name": "userid",
  11877. "in": "query"
  11878. },
  11879. {
  11880. "type": "integer",
  11881. "description": "商品id",
  11882. "name": "goodsid",
  11883. "in": "query"
  11884. },
  11885. {
  11886. "type": "string",
  11887. "description": "策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止",
  11888. "name": "status",
  11889. "in": "query"
  11890. },
  11891. {
  11892. "type": "string",
  11893. "description": "名称(模糊搜索账户)",
  11894. "name": "filtername",
  11895. "in": "query"
  11896. }
  11897. ],
  11898. "responses": {
  11899. "200": {
  11900. "description": "OK",
  11901. "schema": {
  11902. "type": "array",
  11903. "items": {
  11904. "$ref": "#/definitions/models.QhjRStrategy"
  11905. }
  11906. }
  11907. },
  11908. "500": {
  11909. "description": "Internal Server Error",
  11910. "schema": {
  11911. "$ref": "#/definitions/app.Response"
  11912. }
  11913. }
  11914. }
  11915. }
  11916. },
  11917. "/Qhj/QueryReckonPriceLog": {
  11918. "get": {
  11919. "security": [
  11920. {
  11921. "ApiKeyAuth": []
  11922. }
  11923. ],
  11924. "produces": [
  11925. "application/json"
  11926. ],
  11927. "tags": [
  11928. "大连千海金"
  11929. ],
  11930. "summary": "查询定投价(结算价)",
  11931. "parameters": [
  11932. {
  11933. "type": "integer",
  11934. "description": "商品ID",
  11935. "name": "goodsid",
  11936. "in": "query"
  11937. },
  11938. {
  11939. "type": "string",
  11940. "description": "交易日 格式(yyyymmdd)",
  11941. "name": "tradedate",
  11942. "in": "query"
  11943. }
  11944. ],
  11945. "responses": {
  11946. "200": {
  11947. "description": "OK",
  11948. "schema": {
  11949. "type": "array",
  11950. "items": {
  11951. "$ref": "#/definitions/models.QhjReckonPriceLog"
  11952. }
  11953. }
  11954. },
  11955. "500": {
  11956. "description": "Internal Server Error",
  11957. "schema": {
  11958. "$ref": "#/definitions/app.Response"
  11959. }
  11960. }
  11961. }
  11962. }
  11963. },
  11964. "/Qhj/QueryScoreLog": {
  11965. "get": {
  11966. "security": [
  11967. {
  11968. "ApiKeyAuth": []
  11969. }
  11970. ],
  11971. "produces": [
  11972. "application/json"
  11973. ],
  11974. "tags": [
  11975. "大连千海金"
  11976. ],
  11977. "summary": "查询积分流水(我的积分)",
  11978. "parameters": [
  11979. {
  11980. "type": "integer",
  11981. "description": "用户ID",
  11982. "name": "userid",
  11983. "in": "query",
  11984. "required": true
  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": "最近多少条",
  12001. "name": "lastnum",
  12002. "in": "query"
  12003. }
  12004. ],
  12005. "responses": {
  12006. "200": {
  12007. "description": "OK",
  12008. "schema": {
  12009. "type": "array",
  12010. "items": {
  12011. "$ref": "#/definitions/models.QhjScoreLog"
  12012. }
  12013. }
  12014. },
  12015. "500": {
  12016. "description": "Internal Server Error",
  12017. "schema": {
  12018. "$ref": "#/definitions/app.Response"
  12019. }
  12020. }
  12021. }
  12022. }
  12023. },
  12024. "/Qhj/QuerySiteColumnDetail": {
  12025. "get": {
  12026. "security": [
  12027. {
  12028. "ApiKeyAuth": []
  12029. }
  12030. ],
  12031. "produces": [
  12032. "application/json"
  12033. ],
  12034. "tags": [
  12035. "大连千海金"
  12036. ],
  12037. "summary": "查询资讯",
  12038. "parameters": [
  12039. {
  12040. "type": "integer",
  12041. "description": "用户ID",
  12042. "name": "userid",
  12043. "in": "query",
  12044. "required": true
  12045. }
  12046. ],
  12047. "responses": {
  12048. "200": {
  12049. "description": "OK",
  12050. "schema": {
  12051. "type": "array",
  12052. "items": {
  12053. "$ref": "#/definitions/models.QhjSiteColumnDetail"
  12054. }
  12055. }
  12056. },
  12057. "500": {
  12058. "description": "Internal Server Error",
  12059. "schema": {
  12060. "$ref": "#/definitions/app.Response"
  12061. }
  12062. }
  12063. }
  12064. }
  12065. },
  12066. "/Qhj/QueryTradeGoodsPickup": {
  12067. "get": {
  12068. "security": [
  12069. {
  12070. "ApiKeyAuth": []
  12071. }
  12072. ],
  12073. "produces": [
  12074. "application/json"
  12075. ],
  12076. "tags": [
  12077. "大连千海金"
  12078. ],
  12079. "summary": "查询提货",
  12080. "parameters": [
  12081. {
  12082. "type": "integer",
  12083. "description": "用户ID",
  12084. "name": "userid",
  12085. "in": "query",
  12086. "required": true
  12087. },
  12088. {
  12089. "type": "integer",
  12090. "description": "提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  12091. "name": "takeorderstatus",
  12092. "in": "query"
  12093. }
  12094. ],
  12095. "responses": {
  12096. "200": {
  12097. "description": "OK",
  12098. "schema": {
  12099. "type": "array",
  12100. "items": {
  12101. "$ref": "#/definitions/models.QhjTradeGoodsPickup"
  12102. }
  12103. }
  12104. },
  12105. "500": {
  12106. "description": "Internal Server Error",
  12107. "schema": {
  12108. "$ref": "#/definitions/app.Response"
  12109. }
  12110. }
  12111. }
  12112. }
  12113. },
  12114. "/Qhj/QueryUserCollectConfig": {
  12115. "get": {
  12116. "security": [
  12117. {
  12118. "ApiKeyAuth": []
  12119. }
  12120. ],
  12121. "produces": [
  12122. "application/json"
  12123. ],
  12124. "tags": [
  12125. "大连千海金"
  12126. ],
  12127. "summary": "查询提现账户设置",
  12128. "parameters": [
  12129. {
  12130. "type": "integer",
  12131. "description": "用户ID",
  12132. "name": "userid",
  12133. "in": "query",
  12134. "required": true
  12135. }
  12136. ],
  12137. "responses": {
  12138. "200": {
  12139. "description": "OK",
  12140. "schema": {
  12141. "type": "array",
  12142. "items": {
  12143. "$ref": "#/definitions/models.UserCollectConfig"
  12144. }
  12145. }
  12146. },
  12147. "500": {
  12148. "description": "Internal Server Error",
  12149. "schema": {
  12150. "$ref": "#/definitions/app.Response"
  12151. }
  12152. }
  12153. }
  12154. }
  12155. },
  12156. "/Qhj/QueryUserReceiveInfo": {
  12157. "get": {
  12158. "security": [
  12159. {
  12160. "ApiKeyAuth": []
  12161. }
  12162. ],
  12163. "produces": [
  12164. "application/json"
  12165. ],
  12166. "tags": [
  12167. "大连千海金"
  12168. ],
  12169. "summary": "查询收货地址信息",
  12170. "parameters": [
  12171. {
  12172. "type": "integer",
  12173. "description": "用户ID",
  12174. "name": "userid",
  12175. "in": "query",
  12176. "required": true
  12177. }
  12178. ],
  12179. "responses": {
  12180. "200": {
  12181. "description": "OK",
  12182. "schema": {
  12183. "type": "array",
  12184. "items": {
  12185. "$ref": "#/definitions/models.UserReceiveInfo"
  12186. }
  12187. }
  12188. },
  12189. "500": {
  12190. "description": "Internal Server Error",
  12191. "schema": {
  12192. "$ref": "#/definitions/app.Response"
  12193. }
  12194. }
  12195. }
  12196. }
  12197. },
  12198. "/QhjMgr/QueryAccountInOutApply": {
  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": "查询类型 1-提现(出金) 2-充值(出金)",
  12216. "name": "querytype",
  12217. "in": "query",
  12218. "required": true
  12219. },
  12220. {
  12221. "type": "integer",
  12222. "description": "状态 1-待审核 2-审核通过 3-审核拒绝",
  12223. "name": "applystatus",
  12224. "in": "query"
  12225. },
  12226. {
  12227. "type": "string",
  12228. "description": "申请起始日期(格式yyyymmdd)",
  12229. "name": "begindate",
  12230. "in": "query"
  12231. },
  12232. {
  12233. "type": "string",
  12234. "description": "申请截止日期(格式yyyymmdd)",
  12235. "name": "enddate",
  12236. "in": "query"
  12237. },
  12238. {
  12239. "type": "string",
  12240. "description": "模糊搜索名称",
  12241. "name": "likename",
  12242. "in": "query"
  12243. }
  12244. ],
  12245. "responses": {
  12246. "200": {
  12247. "description": "OK",
  12248. "schema": {
  12249. "type": "array",
  12250. "items": {
  12251. "$ref": "#/definitions/models.QhjMgrAccountOutInApply"
  12252. }
  12253. }
  12254. },
  12255. "500": {
  12256. "description": "Internal Server Error",
  12257. "schema": {
  12258. "$ref": "#/definitions/app.Response"
  12259. }
  12260. }
  12261. }
  12262. }
  12263. },
  12264. "/QhjMgr/QueryBrokerApply": {
  12265. "get": {
  12266. "security": [
  12267. {
  12268. "ApiKeyAuth": []
  12269. }
  12270. ],
  12271. "produces": [
  12272. "application/json"
  12273. ],
  12274. "tags": [
  12275. "大连千海金(PCWeb)"
  12276. ],
  12277. "summary": "查询经纪人申请",
  12278. "parameters": [
  12279. {
  12280. "type": "integer",
  12281. "description": "所属机构ID",
  12282. "name": "userid",
  12283. "in": "query"
  12284. },
  12285. {
  12286. "type": "string",
  12287. "description": "状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  12288. "name": "filterstatus",
  12289. "in": "query"
  12290. },
  12291. {
  12292. "type": "string",
  12293. "description": "名称(模糊匹配)",
  12294. "name": "filtername",
  12295. "in": "query"
  12296. },
  12297. {
  12298. "type": "integer",
  12299. "description": "是否包含子级 1-包含",
  12300. "name": "includesub",
  12301. "in": "query"
  12302. }
  12303. ],
  12304. "responses": {
  12305. "200": {
  12306. "description": "OK",
  12307. "schema": {
  12308. "type": "array",
  12309. "items": {
  12310. "$ref": "#/definitions/models.QhjMgrBrokerApply"
  12311. }
  12312. }
  12313. },
  12314. "500": {
  12315. "description": "Internal Server Error",
  12316. "schema": {
  12317. "$ref": "#/definitions/app.Response"
  12318. }
  12319. }
  12320. }
  12321. }
  12322. },
  12323. "/QhjMgr/QueryBrokerRewardReport": {
  12324. "get": {
  12325. "security": [
  12326. {
  12327. "ApiKeyAuth": []
  12328. }
  12329. ],
  12330. "produces": [
  12331. "application/json"
  12332. ],
  12333. "tags": [
  12334. "大连千海金(PCWeb)"
  12335. ],
  12336. "summary": "查询经纪人奖励报表(废弃)",
  12337. "parameters": [
  12338. {
  12339. "type": "integer",
  12340. "description": "所属机构ID",
  12341. "name": "userid",
  12342. "in": "query",
  12343. "required": true
  12344. },
  12345. {
  12346. "type": "integer",
  12347. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  12348. "name": "cycletype",
  12349. "in": "query",
  12350. "required": true
  12351. },
  12352. {
  12353. "type": "string",
  12354. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  12355. "name": "cycletime",
  12356. "in": "query",
  12357. "required": true
  12358. },
  12359. {
  12360. "type": "string",
  12361. "description": "名称(模糊匹配)",
  12362. "name": "filtername",
  12363. "in": "query"
  12364. },
  12365. {
  12366. "type": "integer",
  12367. "description": "是否包含子级 1-包含",
  12368. "name": "includesub",
  12369. "in": "query"
  12370. }
  12371. ],
  12372. "responses": {
  12373. "200": {
  12374. "description": "OK",
  12375. "schema": {
  12376. "type": "array",
  12377. "items": {
  12378. "$ref": "#/definitions/models.QhjMgrBrokerRewardReport"
  12379. }
  12380. }
  12381. },
  12382. "500": {
  12383. "description": "Internal Server Error",
  12384. "schema": {
  12385. "$ref": "#/definitions/app.Response"
  12386. }
  12387. }
  12388. }
  12389. }
  12390. },
  12391. "/QhjMgr/QueryContract": {
  12392. "get": {
  12393. "security": [
  12394. {
  12395. "ApiKeyAuth": []
  12396. }
  12397. ],
  12398. "produces": [
  12399. "application/json"
  12400. ],
  12401. "tags": [
  12402. "大连千海金(PCWeb)"
  12403. ],
  12404. "summary": "查询融资信息(合同)",
  12405. "parameters": [
  12406. {
  12407. "type": "integer",
  12408. "description": "用户ID",
  12409. "name": "userid",
  12410. "in": "query"
  12411. },
  12412. {
  12413. "type": "integer",
  12414. "description": "商品id",
  12415. "name": "goodsid",
  12416. "in": "query"
  12417. },
  12418. {
  12419. "type": "string",
  12420. "description": "名称(模糊搜索账户)",
  12421. "name": "filtername",
  12422. "in": "query"
  12423. },
  12424. {
  12425. "type": "string",
  12426. "description": "风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款",
  12427. "name": "risklevel",
  12428. "in": "query"
  12429. },
  12430. {
  12431. "type": "string",
  12432. "description": "开始交易日(yyyymmdd)",
  12433. "name": "begindate",
  12434. "in": "query"
  12435. },
  12436. {
  12437. "type": "string",
  12438. "description": "结束交易日(yyyymmdd)",
  12439. "name": "enddate",
  12440. "in": "query"
  12441. }
  12442. ],
  12443. "responses": {
  12444. "200": {
  12445. "description": "OK",
  12446. "schema": {
  12447. "type": "array",
  12448. "items": {
  12449. "$ref": "#/definitions/models.QhjMgrContract"
  12450. }
  12451. }
  12452. },
  12453. "500": {
  12454. "description": "Internal Server Error",
  12455. "schema": {
  12456. "$ref": "#/definitions/app.Response"
  12457. }
  12458. }
  12459. }
  12460. }
  12461. },
  12462. "/QhjMgr/QueryCustomerInfo": {
  12463. "get": {
  12464. "security": [
  12465. {
  12466. "ApiKeyAuth": []
  12467. }
  12468. ],
  12469. "produces": [
  12470. "application/json"
  12471. ],
  12472. "tags": [
  12473. "大连千海金(PCWeb)"
  12474. ],
  12475. "summary": "查询客户资料",
  12476. "parameters": [
  12477. {
  12478. "type": "integer",
  12479. "description": "用户ID",
  12480. "name": "userid",
  12481. "in": "query",
  12482. "required": true
  12483. },
  12484. {
  12485. "type": "integer",
  12486. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  12487. "name": "querytype",
  12488. "in": "query",
  12489. "required": true
  12490. },
  12491. {
  12492. "type": "integer",
  12493. "description": "客户类型 1-个人 2-企业",
  12494. "name": "userinfotype",
  12495. "in": "query"
  12496. },
  12497. {
  12498. "type": "string",
  12499. "description": "客户名称(模糊匹配)",
  12500. "name": "customername",
  12501. "in": "query"
  12502. },
  12503. {
  12504. "type": "string",
  12505. "description": "昵称(模糊匹配)",
  12506. "name": "nickname",
  12507. "in": "query"
  12508. },
  12509. {
  12510. "type": "string",
  12511. "description": "所属客户经理(模糊匹配)",
  12512. "name": "brokername",
  12513. "in": "query"
  12514. },
  12515. {
  12516. "type": "string",
  12517. "description": "生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)",
  12518. "name": "birthday",
  12519. "in": "query"
  12520. },
  12521. {
  12522. "type": "integer",
  12523. "description": "是否包含子级 1-包含",
  12524. "name": "includesub",
  12525. "in": "query"
  12526. }
  12527. ],
  12528. "responses": {
  12529. "200": {
  12530. "description": "OK",
  12531. "schema": {
  12532. "type": "array",
  12533. "items": {
  12534. "$ref": "#/definitions/models.QhjMgrCustomer"
  12535. }
  12536. }
  12537. },
  12538. "500": {
  12539. "description": "Internal Server Error",
  12540. "schema": {
  12541. "$ref": "#/definitions/app.Response"
  12542. }
  12543. }
  12544. }
  12545. }
  12546. },
  12547. "/QhjMgr/QueryPickGoods": {
  12548. "get": {
  12549. "security": [
  12550. {
  12551. "ApiKeyAuth": []
  12552. }
  12553. ],
  12554. "produces": [
  12555. "application/json"
  12556. ],
  12557. "tags": [
  12558. "大连千海金(PCWeb)"
  12559. ],
  12560. "summary": "查询提货商品",
  12561. "parameters": [
  12562. {
  12563. "type": "string",
  12564. "description": "状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销",
  12565. "name": "status",
  12566. "in": "query"
  12567. }
  12568. ],
  12569. "responses": {
  12570. "200": {
  12571. "description": "OK",
  12572. "schema": {
  12573. "type": "array",
  12574. "items": {
  12575. "$ref": "#/definitions/models.QhjMgrPickGoods"
  12576. }
  12577. }
  12578. },
  12579. "500": {
  12580. "description": "Internal Server Error",
  12581. "schema": {
  12582. "$ref": "#/definitions/app.Response"
  12583. }
  12584. }
  12585. }
  12586. }
  12587. },
  12588. "/QhjMgr/QuerySubArea": {
  12589. "get": {
  12590. "security": [
  12591. {
  12592. "ApiKeyAuth": []
  12593. }
  12594. ],
  12595. "produces": [
  12596. "application/json"
  12597. ],
  12598. "tags": [
  12599. "大连千海金(PCWeb)"
  12600. ],
  12601. "summary": "查询子机构列表",
  12602. "parameters": [
  12603. {
  12604. "type": "integer",
  12605. "description": "用户ID",
  12606. "name": "userid",
  12607. "in": "query",
  12608. "required": true
  12609. }
  12610. ],
  12611. "responses": {
  12612. "200": {
  12613. "description": "OK",
  12614. "schema": {
  12615. "type": "array",
  12616. "items": {
  12617. "$ref": "#/definitions/models.QhjMgrSubArea"
  12618. }
  12619. }
  12620. },
  12621. "500": {
  12622. "description": "Internal Server Error",
  12623. "schema": {
  12624. "$ref": "#/definitions/app.Response"
  12625. }
  12626. }
  12627. }
  12628. }
  12629. },
  12630. "/QhjMgr/QueryTradeDetail": {
  12631. "get": {
  12632. "security": [
  12633. {
  12634. "ApiKeyAuth": []
  12635. }
  12636. ],
  12637. "produces": [
  12638. "application/json"
  12639. ],
  12640. "tags": [
  12641. "大连千海金(PCWeb)"
  12642. ],
  12643. "summary": "查询成交明细",
  12644. "parameters": [
  12645. {
  12646. "type": "integer",
  12647. "description": "用户ID",
  12648. "name": "userid",
  12649. "in": "query",
  12650. "required": true
  12651. },
  12652. {
  12653. "type": "integer",
  12654. "description": "用户类型 1-个人 2-企业",
  12655. "name": "userinfotype",
  12656. "in": "query"
  12657. },
  12658. {
  12659. "type": "integer",
  12660. "description": "交易模式",
  12661. "name": "trademode",
  12662. "in": "query"
  12663. },
  12664. {
  12665. "type": "integer",
  12666. "description": "商品id",
  12667. "name": "goodsid",
  12668. "in": "query"
  12669. },
  12670. {
  12671. "type": "string",
  12672. "description": "名称(模糊搜索账户)",
  12673. "name": "filtername",
  12674. "in": "query"
  12675. },
  12676. {
  12677. "type": "string",
  12678. "description": "开始交易日(yyyymmdd)",
  12679. "name": "begindate",
  12680. "in": "query"
  12681. },
  12682. {
  12683. "type": "string",
  12684. "description": "结束交易日(yyyymmdd)",
  12685. "name": "enddate",
  12686. "in": "query"
  12687. },
  12688. {
  12689. "type": "integer",
  12690. "description": "是否包含子级 1-包含",
  12691. "name": "includesub",
  12692. "in": "query"
  12693. }
  12694. ],
  12695. "responses": {
  12696. "200": {
  12697. "description": "OK",
  12698. "schema": {
  12699. "type": "array",
  12700. "items": {
  12701. "$ref": "#/definitions/models.QhjMgrTradeDetailRsp"
  12702. }
  12703. }
  12704. },
  12705. "500": {
  12706. "description": "Internal Server Error",
  12707. "schema": {
  12708. "$ref": "#/definitions/app.Response"
  12709. }
  12710. }
  12711. }
  12712. }
  12713. },
  12714. "/QhjMgr/QueryTradeOrderDetail": {
  12715. "get": {
  12716. "security": [
  12717. {
  12718. "ApiKeyAuth": []
  12719. }
  12720. ],
  12721. "produces": [
  12722. "application/json"
  12723. ],
  12724. "tags": [
  12725. "大连千海金(PCWeb)"
  12726. ],
  12727. "summary": "查询委托明细",
  12728. "parameters": [
  12729. {
  12730. "type": "integer",
  12731. "description": "用户ID",
  12732. "name": "userid",
  12733. "in": "query",
  12734. "required": true
  12735. },
  12736. {
  12737. "type": "integer",
  12738. "description": "用户类型 1-个人 2-企业",
  12739. "name": "userinfotype",
  12740. "in": "query"
  12741. },
  12742. {
  12743. "type": "integer",
  12744. "description": "交易模式",
  12745. "name": "trademode",
  12746. "in": "query"
  12747. },
  12748. {
  12749. "type": "integer",
  12750. "description": "商品id",
  12751. "name": "goodsid",
  12752. "in": "query"
  12753. },
  12754. {
  12755. "type": "string",
  12756. "description": "名称(模糊搜索账户)",
  12757. "name": "filtername",
  12758. "in": "query"
  12759. },
  12760. {
  12761. "type": "string",
  12762. "description": "开始交易日(yyyymmdd)",
  12763. "name": "begindate",
  12764. "in": "query"
  12765. },
  12766. {
  12767. "type": "string",
  12768. "description": "结束交易日(yyyymmdd)",
  12769. "name": "enddate",
  12770. "in": "query"
  12771. },
  12772. {
  12773. "type": "integer",
  12774. "description": "是否包含子级 1-包含",
  12775. "name": "includesub",
  12776. "in": "query"
  12777. }
  12778. ],
  12779. "responses": {
  12780. "200": {
  12781. "description": "OK",
  12782. "schema": {
  12783. "type": "array",
  12784. "items": {
  12785. "$ref": "#/definitions/models.QhjMgrTradeOrderDetailRsp"
  12786. }
  12787. }
  12788. },
  12789. "500": {
  12790. "description": "Internal Server Error",
  12791. "schema": {
  12792. "$ref": "#/definitions/app.Response"
  12793. }
  12794. }
  12795. }
  12796. }
  12797. },
  12798. "/QhjMgr/QueryTradePayOrder": {
  12799. "get": {
  12800. "security": [
  12801. {
  12802. "ApiKeyAuth": []
  12803. }
  12804. ],
  12805. "produces": [
  12806. "application/json"
  12807. ],
  12808. "tags": [
  12809. "大连千海金(PCWeb)"
  12810. ],
  12811. "summary": "查询待付款单",
  12812. "parameters": [
  12813. {
  12814. "type": "integer",
  12815. "description": "用户ID",
  12816. "name": "userid",
  12817. "in": "query",
  12818. "required": true
  12819. },
  12820. {
  12821. "type": "string",
  12822. "description": "付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  12823. "name": "payflag",
  12824. "in": "query"
  12825. },
  12826. {
  12827. "type": "integer",
  12828. "description": "用户类型 1-个人 2-企业",
  12829. "name": "userinfotype",
  12830. "in": "query"
  12831. },
  12832. {
  12833. "type": "integer",
  12834. "description": "交易模式",
  12835. "name": "trademode",
  12836. "in": "query"
  12837. },
  12838. {
  12839. "type": "integer",
  12840. "description": "商品id",
  12841. "name": "goodsid",
  12842. "in": "query"
  12843. },
  12844. {
  12845. "type": "string",
  12846. "description": "名称(模糊搜索账户)",
  12847. "name": "filtername",
  12848. "in": "query"
  12849. },
  12850. {
  12851. "type": "string",
  12852. "description": "开始交易日(yyyymmdd)",
  12853. "name": "begindate",
  12854. "in": "query"
  12855. },
  12856. {
  12857. "type": "string",
  12858. "description": "结束交易日(yyyymmdd)",
  12859. "name": "enddate",
  12860. "in": "query"
  12861. },
  12862. {
  12863. "type": "integer",
  12864. "description": "是否包含子级 1-包含",
  12865. "name": "includesub",
  12866. "in": "query"
  12867. }
  12868. ],
  12869. "responses": {
  12870. "200": {
  12871. "description": "OK",
  12872. "schema": {
  12873. "type": "array",
  12874. "items": {
  12875. "$ref": "#/definitions/models.QhjMgrTradePayOrder"
  12876. }
  12877. }
  12878. },
  12879. "500": {
  12880. "description": "Internal Server Error",
  12881. "schema": {
  12882. "$ref": "#/definitions/app.Response"
  12883. }
  12884. }
  12885. }
  12886. }
  12887. },
  12888. "/QhjMgr/QueryTradePosition": {
  12889. "get": {
  12890. "security": [
  12891. {
  12892. "ApiKeyAuth": []
  12893. }
  12894. ],
  12895. "produces": [
  12896. "application/json"
  12897. ],
  12898. "tags": [
  12899. "大连千海金(PCWeb)"
  12900. ],
  12901. "summary": "查询持仓汇总",
  12902. "parameters": [
  12903. {
  12904. "type": "integer",
  12905. "description": "用户ID",
  12906. "name": "userid",
  12907. "in": "query",
  12908. "required": true
  12909. },
  12910. {
  12911. "type": "integer",
  12912. "description": "用户类型 1-个人 2-企业",
  12913. "name": "userinfotype",
  12914. "in": "query"
  12915. },
  12916. {
  12917. "type": "integer",
  12918. "description": "交易模式",
  12919. "name": "trademode",
  12920. "in": "query"
  12921. },
  12922. {
  12923. "type": "integer",
  12924. "description": "商品id",
  12925. "name": "goodsid",
  12926. "in": "query"
  12927. },
  12928. {
  12929. "type": "string",
  12930. "description": "名称(模糊搜索账户)",
  12931. "name": "filtername",
  12932. "in": "query"
  12933. },
  12934. {
  12935. "type": "integer",
  12936. "description": "是否包含子级 1-包含",
  12937. "name": "includesub",
  12938. "in": "query"
  12939. }
  12940. ],
  12941. "responses": {
  12942. "200": {
  12943. "description": "OK",
  12944. "schema": {
  12945. "type": "array",
  12946. "items": {
  12947. "$ref": "#/definitions/models.QhjMgrPositionRsp"
  12948. }
  12949. }
  12950. },
  12951. "500": {
  12952. "description": "Internal Server Error",
  12953. "schema": {
  12954. "$ref": "#/definitions/app.Response"
  12955. }
  12956. }
  12957. }
  12958. }
  12959. },
  12960. "/QhjSys/QueryAgreementChangeLog": {
  12961. "get": {
  12962. "security": [
  12963. {
  12964. "ApiKeyAuth": []
  12965. }
  12966. ],
  12967. "produces": [
  12968. "application/json"
  12969. ],
  12970. "tags": [
  12971. "大连千海金(协议和签约信息)"
  12972. ],
  12973. "summary": "查询协议配置变更流水",
  12974. "parameters": [
  12975. {
  12976. "type": "integer",
  12977. "description": "协议ID",
  12978. "name": "agreementid",
  12979. "in": "query"
  12980. },
  12981. {
  12982. "type": "integer",
  12983. "description": "协议版本号",
  12984. "name": "agreementversion",
  12985. "in": "query"
  12986. },
  12987. {
  12988. "type": "integer",
  12989. "description": "协议类型 - 1:注册 2:登录 3:交易",
  12990. "name": "agreementtype",
  12991. "in": "query"
  12992. },
  12993. {
  12994. "type": "string",
  12995. "description": "协议编号(模糊匹配)",
  12996. "name": "agreementno",
  12997. "in": "query"
  12998. },
  12999. {
  13000. "type": "string",
  13001. "description": "协议名称(模糊匹配)",
  13002. "name": "agreementname",
  13003. "in": "query"
  13004. }
  13005. ],
  13006. "responses": {
  13007. "200": {
  13008. "description": "OK",
  13009. "schema": {
  13010. "type": "array",
  13011. "items": {
  13012. "$ref": "#/definitions/models.QhjAgreementChangeLog"
  13013. }
  13014. }
  13015. },
  13016. "500": {
  13017. "description": "Internal Server Error",
  13018. "schema": {
  13019. "$ref": "#/definitions/app.Response"
  13020. }
  13021. }
  13022. }
  13023. }
  13024. },
  13025. "/QhjSys/QueryAgreementConfig": {
  13026. "get": {
  13027. "security": [
  13028. {
  13029. "ApiKeyAuth": []
  13030. }
  13031. ],
  13032. "produces": [
  13033. "application/json"
  13034. ],
  13035. "tags": [
  13036. "大连千海金(协议和签约信息)"
  13037. ],
  13038. "summary": "查询协议配置",
  13039. "parameters": [
  13040. {
  13041. "type": "integer",
  13042. "description": "协议ID",
  13043. "name": "agreementid",
  13044. "in": "query"
  13045. },
  13046. {
  13047. "type": "integer",
  13048. "description": "协议版本号",
  13049. "name": "agreementversion",
  13050. "in": "query"
  13051. },
  13052. {
  13053. "type": "integer",
  13054. "description": "协议类型 - 1:注册 2:登录 3:交易",
  13055. "name": "agreementtype",
  13056. "in": "query"
  13057. },
  13058. {
  13059. "type": "integer",
  13060. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  13061. "name": "isvalid",
  13062. "in": "query"
  13063. },
  13064. {
  13065. "type": "string",
  13066. "description": "协议编号(模糊匹配)",
  13067. "name": "agreementno",
  13068. "in": "query"
  13069. },
  13070. {
  13071. "type": "string",
  13072. "description": "协议名称(模糊匹配)",
  13073. "name": "agreementname",
  13074. "in": "query"
  13075. }
  13076. ],
  13077. "responses": {
  13078. "200": {
  13079. "description": "OK",
  13080. "schema": {
  13081. "type": "array",
  13082. "items": {
  13083. "$ref": "#/definitions/models.QhjAgreementConfig"
  13084. }
  13085. }
  13086. },
  13087. "500": {
  13088. "description": "Internal Server Error",
  13089. "schema": {
  13090. "$ref": "#/definitions/app.Response"
  13091. }
  13092. }
  13093. }
  13094. }
  13095. },
  13096. "/QhjSys/QueryCustomerSignStatus": {
  13097. "get": {
  13098. "security": [
  13099. {
  13100. "ApiKeyAuth": []
  13101. }
  13102. ],
  13103. "produces": [
  13104. "application/json"
  13105. ],
  13106. "tags": [
  13107. "大连千海金(协议和签约信息)"
  13108. ],
  13109. "summary": "查询客户协议签约状态",
  13110. "parameters": [
  13111. {
  13112. "type": "integer",
  13113. "description": "客户ID",
  13114. "name": "userid",
  13115. "in": "query"
  13116. },
  13117. {
  13118. "type": "integer",
  13119. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  13120. "name": "nodetype",
  13121. "in": "query"
  13122. },
  13123. {
  13124. "type": "integer",
  13125. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  13126. "name": "goodsid",
  13127. "in": "query"
  13128. },
  13129. {
  13130. "type": "string",
  13131. "description": "创建交易日(yyyyMMdd)",
  13132. "name": "tradedate",
  13133. "in": "query"
  13134. },
  13135. {
  13136. "type": "string",
  13137. "description": "用户名称(模糊匹配)",
  13138. "name": "username",
  13139. "in": "query"
  13140. }
  13141. ],
  13142. "responses": {
  13143. "200": {
  13144. "description": "OK",
  13145. "schema": {
  13146. "type": "array",
  13147. "items": {
  13148. "$ref": "#/definitions/models.QhjCustomerSignStatus"
  13149. }
  13150. }
  13151. },
  13152. "500": {
  13153. "description": "Internal Server Error",
  13154. "schema": {
  13155. "$ref": "#/definitions/app.Response"
  13156. }
  13157. }
  13158. }
  13159. }
  13160. },
  13161. "/QhjSys/QueryNodeAgreementConfig": {
  13162. "get": {
  13163. "security": [
  13164. {
  13165. "ApiKeyAuth": []
  13166. }
  13167. ],
  13168. "produces": [
  13169. "application/json"
  13170. ],
  13171. "tags": [
  13172. "大连千海金(协议和签约信息)"
  13173. ],
  13174. "summary": "查询协议节点配置",
  13175. "parameters": [
  13176. {
  13177. "type": "integer",
  13178. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  13179. "name": "configid",
  13180. "in": "query"
  13181. },
  13182. {
  13183. "type": "integer",
  13184. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  13185. "name": "nodetype",
  13186. "in": "query"
  13187. },
  13188. {
  13189. "type": "integer",
  13190. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  13191. "name": "goodsid",
  13192. "in": "query"
  13193. },
  13194. {
  13195. "type": "integer",
  13196. "description": "协议ID",
  13197. "name": "agreementid",
  13198. "in": "query"
  13199. },
  13200. {
  13201. "type": "integer",
  13202. "description": "协议类型 - 1:注册 2:登录 3:交易",
  13203. "name": "agreementtype",
  13204. "in": "query"
  13205. },
  13206. {
  13207. "type": "integer",
  13208. "description": "协议版本号",
  13209. "name": "agreementversion",
  13210. "in": "query"
  13211. },
  13212. {
  13213. "type": "string",
  13214. "description": "协议编号(模糊匹配)",
  13215. "name": "agreementno",
  13216. "in": "query"
  13217. },
  13218. {
  13219. "type": "string",
  13220. "description": "协议名称(模糊匹配)",
  13221. "name": "agreementname",
  13222. "in": "query"
  13223. }
  13224. ],
  13225. "responses": {
  13226. "200": {
  13227. "description": "OK",
  13228. "schema": {
  13229. "type": "array",
  13230. "items": {
  13231. "$ref": "#/definitions/models.QhjNodeAgreementConfig"
  13232. }
  13233. }
  13234. },
  13235. "500": {
  13236. "description": "Internal Server Error",
  13237. "schema": {
  13238. "$ref": "#/definitions/app.Response"
  13239. }
  13240. }
  13241. }
  13242. }
  13243. },
  13244. "/QhjSys/QueryQhjCustomerSignLog": {
  13245. "get": {
  13246. "security": [
  13247. {
  13248. "ApiKeyAuth": []
  13249. }
  13250. ],
  13251. "produces": [
  13252. "application/json"
  13253. ],
  13254. "tags": [
  13255. "大连千海金(协议和签约信息)"
  13256. ],
  13257. "summary": "查询客户协议签约流水",
  13258. "parameters": [
  13259. {
  13260. "type": "integer",
  13261. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  13262. "name": "logid",
  13263. "in": "query"
  13264. },
  13265. {
  13266. "type": "integer",
  13267. "description": "客户ID",
  13268. "name": "userid",
  13269. "in": "query"
  13270. },
  13271. {
  13272. "type": "integer",
  13273. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  13274. "name": "nodetype",
  13275. "in": "query"
  13276. },
  13277. {
  13278. "type": "integer",
  13279. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  13280. "name": "goodsid",
  13281. "in": "query"
  13282. },
  13283. {
  13284. "type": "integer",
  13285. "description": "协议ID",
  13286. "name": "agreementid",
  13287. "in": "query"
  13288. },
  13289. {
  13290. "type": "string",
  13291. "description": "用户名称(模糊匹配)",
  13292. "name": "username",
  13293. "in": "query"
  13294. },
  13295. {
  13296. "type": "string",
  13297. "description": "协议编号(模糊匹配)",
  13298. "name": "agreementno",
  13299. "in": "query"
  13300. },
  13301. {
  13302. "type": "string",
  13303. "description": "协议名称(模糊匹配)",
  13304. "name": "agreementname",
  13305. "in": "query"
  13306. }
  13307. ],
  13308. "responses": {
  13309. "200": {
  13310. "description": "OK",
  13311. "schema": {
  13312. "type": "array",
  13313. "items": {
  13314. "$ref": "#/definitions/models.QhjCustomerSignLog"
  13315. }
  13316. }
  13317. },
  13318. "500": {
  13319. "description": "Internal Server Error",
  13320. "schema": {
  13321. "$ref": "#/definitions/app.Response"
  13322. }
  13323. }
  13324. }
  13325. }
  13326. },
  13327. "/QhjSys/QueryUserNodeCfgAndStatus": {
  13328. "get": {
  13329. "security": [
  13330. {
  13331. "ApiKeyAuth": []
  13332. }
  13333. ],
  13334. "produces": [
  13335. "application/json"
  13336. ],
  13337. "tags": [
  13338. "大连千海金(协议和签约信息)"
  13339. ],
  13340. "summary": "查询用户协议节点配置和状态",
  13341. "parameters": [
  13342. {
  13343. "type": "integer",
  13344. "description": "客户ID",
  13345. "name": "userid",
  13346. "in": "query"
  13347. },
  13348. {
  13349. "type": "integer",
  13350. "description": "配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  13351. "name": "configid",
  13352. "in": "query"
  13353. },
  13354. {
  13355. "type": "string",
  13356. "description": "环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  13357. "name": "nodetype",
  13358. "in": "query"
  13359. },
  13360. {
  13361. "type": "integer",
  13362. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  13363. "name": "goodsid",
  13364. "in": "query"
  13365. },
  13366. {
  13367. "type": "integer",
  13368. "description": "协议ID",
  13369. "name": "agreementid",
  13370. "in": "query"
  13371. },
  13372. {
  13373. "type": "integer",
  13374. "description": "协议类型 - 1:注册 2:登录 3:交易",
  13375. "name": "agreementtype",
  13376. "in": "query"
  13377. },
  13378. {
  13379. "type": "integer",
  13380. "description": "协议版本号",
  13381. "name": "agreementversion",
  13382. "in": "query"
  13383. },
  13384. {
  13385. "type": "string",
  13386. "description": "协议编号(模糊匹配)",
  13387. "name": "agreementno",
  13388. "in": "query"
  13389. },
  13390. {
  13391. "type": "string",
  13392. "description": "协议名称(模糊匹配)",
  13393. "name": "agreementname",
  13394. "in": "query"
  13395. }
  13396. ],
  13397. "responses": {
  13398. "200": {
  13399. "description": "OK",
  13400. "schema": {
  13401. "type": "array",
  13402. "items": {
  13403. "$ref": "#/definitions/models.QhjUserNodeCfgAndStatus"
  13404. }
  13405. }
  13406. },
  13407. "500": {
  13408. "description": "Internal Server Error",
  13409. "schema": {
  13410. "$ref": "#/definitions/app.Response"
  13411. }
  13412. }
  13413. }
  13414. }
  13415. },
  13416. "/Quote/QueryHistoryDatas": {
  13417. "get": {
  13418. "security": [
  13419. {
  13420. "ApiKeyAuth": []
  13421. }
  13422. ],
  13423. "produces": [
  13424. "application/json"
  13425. ],
  13426. "tags": [
  13427. "行情服务"
  13428. ],
  13429. "summary": "查询行情历史数据",
  13430. "parameters": [
  13431. {
  13432. "type": "integer",
  13433. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 12:周线 13:月线 14:年线",
  13434. "name": "cycleType",
  13435. "in": "query",
  13436. "required": true
  13437. },
  13438. {
  13439. "type": "string",
  13440. "description": "商品代码",
  13441. "name": "goodsCode",
  13442. "in": "query",
  13443. "required": true
  13444. },
  13445. {
  13446. "type": "string",
  13447. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  13448. "name": "startTime",
  13449. "in": "query"
  13450. },
  13451. {
  13452. "type": "string",
  13453. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  13454. "name": "endTime",
  13455. "in": "query"
  13456. },
  13457. {
  13458. "type": "integer",
  13459. "description": "条数",
  13460. "name": "count",
  13461. "in": "query"
  13462. },
  13463. {
  13464. "type": "boolean",
  13465. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  13466. "name": "isAsc",
  13467. "in": "query"
  13468. }
  13469. ],
  13470. "responses": {
  13471. "200": {
  13472. "description": "OK",
  13473. "schema": {
  13474. "$ref": "#/definitions/quote.HistoryData"
  13475. }
  13476. },
  13477. "500": {
  13478. "description": "Internal Server Error",
  13479. "schema": {
  13480. "$ref": "#/definitions/app.Response"
  13481. }
  13482. }
  13483. }
  13484. }
  13485. },
  13486. "/Quote/QueryHistoryTikDatas": {
  13487. "get": {
  13488. "security": [
  13489. {
  13490. "ApiKeyAuth": []
  13491. }
  13492. ],
  13493. "produces": [
  13494. "application/json"
  13495. ],
  13496. "tags": [
  13497. "行情服务"
  13498. ],
  13499. "summary": "查询行情Tik数据",
  13500. "parameters": [
  13501. {
  13502. "type": "string",
  13503. "description": "商品代码",
  13504. "name": "goodsCode",
  13505. "in": "query",
  13506. "required": true
  13507. },
  13508. {
  13509. "type": "string",
  13510. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  13511. "name": "startTime",
  13512. "in": "query"
  13513. },
  13514. {
  13515. "type": "string",
  13516. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  13517. "name": "endTime",
  13518. "in": "query"
  13519. },
  13520. {
  13521. "type": "integer",
  13522. "description": "条数",
  13523. "name": "count",
  13524. "in": "query"
  13525. },
  13526. {
  13527. "type": "boolean",
  13528. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  13529. "name": "isAsc",
  13530. "in": "query"
  13531. }
  13532. ],
  13533. "responses": {
  13534. "200": {
  13535. "description": "OK",
  13536. "schema": {
  13537. "$ref": "#/definitions/quote.HistoryTikData"
  13538. }
  13539. },
  13540. "500": {
  13541. "description": "Internal Server Error",
  13542. "schema": {
  13543. "$ref": "#/definitions/app.Response"
  13544. }
  13545. }
  13546. }
  13547. }
  13548. },
  13549. "/Quote/QueryQuoteDay": {
  13550. "get": {
  13551. "security": [
  13552. {
  13553. "ApiKeyAuth": []
  13554. }
  13555. ],
  13556. "produces": [
  13557. "application/json"
  13558. ],
  13559. "tags": [
  13560. "行情服务"
  13561. ],
  13562. "summary": "获取商品盘面信息",
  13563. "parameters": [
  13564. {
  13565. "type": "string",
  13566. "description": "此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107",
  13567. "name": "goodsCodes",
  13568. "in": "query"
  13569. }
  13570. ],
  13571. "responses": {
  13572. "200": {
  13573. "description": "OK",
  13574. "schema": {
  13575. "$ref": "#/definitions/quote.QueryQuoteDayRsp"
  13576. }
  13577. },
  13578. "500": {
  13579. "description": "Internal Server Error",
  13580. "schema": {
  13581. "$ref": "#/definitions/app.Response"
  13582. }
  13583. }
  13584. }
  13585. }
  13586. },
  13587. "/Quote/QueryTSData": {
  13588. "get": {
  13589. "security": [
  13590. {
  13591. "ApiKeyAuth": []
  13592. }
  13593. ],
  13594. "produces": [
  13595. "application/json"
  13596. ],
  13597. "tags": [
  13598. "行情服务"
  13599. ],
  13600. "summary": "分时图数据查询",
  13601. "parameters": [
  13602. {
  13603. "type": "string",
  13604. "description": "商品代码",
  13605. "name": "goodsCode",
  13606. "in": "query",
  13607. "required": true
  13608. }
  13609. ],
  13610. "responses": {
  13611. "200": {
  13612. "description": "OK",
  13613. "schema": {
  13614. "$ref": "#/definitions/quote.QueryTSDataRsp"
  13615. }
  13616. },
  13617. "500": {
  13618. "description": "Internal Server Error",
  13619. "schema": {
  13620. "$ref": "#/definitions/app.Response"
  13621. }
  13622. }
  13623. }
  13624. }
  13625. },
  13626. "/SZDZ/QueryConvertConfig": {
  13627. "get": {
  13628. "security": [
  13629. {
  13630. "ApiKeyAuth": []
  13631. }
  13632. ],
  13633. "produces": [
  13634. "application/json"
  13635. ],
  13636. "tags": [
  13637. "定制【尚志大宗】"
  13638. ],
  13639. "summary": "查询交易系统转换设置",
  13640. "parameters": [
  13641. {
  13642. "type": "integer",
  13643. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  13644. "name": "convertType",
  13645. "in": "query"
  13646. },
  13647. {
  13648. "type": "string",
  13649. "description": "外部商品代码[JD\\PD]",
  13650. "name": "outerGoodsCode",
  13651. "in": "query"
  13652. },
  13653. {
  13654. "type": "string",
  13655. "description": "内部商品ID列表[交易],格式:1,2,3",
  13656. "name": "innerGoodsIDs",
  13657. "in": "query"
  13658. }
  13659. ],
  13660. "responses": {
  13661. "200": {
  13662. "description": "OK",
  13663. "schema": {
  13664. "$ref": "#/definitions/models.Szdz3convertconfig"
  13665. }
  13666. },
  13667. "500": {
  13668. "description": "Internal Server Error",
  13669. "schema": {
  13670. "$ref": "#/definitions/app.Response"
  13671. }
  13672. }
  13673. }
  13674. }
  13675. },
  13676. "/SZDZ/QueryConvertLog": {
  13677. "get": {
  13678. "security": [
  13679. {
  13680. "ApiKeyAuth": []
  13681. }
  13682. ],
  13683. "produces": [
  13684. "application/json"
  13685. ],
  13686. "tags": [
  13687. "定制【尚志大宗】"
  13688. ],
  13689. "summary": "交易系统转换流水查询",
  13690. "parameters": [
  13691. {
  13692. "type": "string",
  13693. "description": "资金账户 - 格式:1,2,3",
  13694. "name": "accountID",
  13695. "in": "query",
  13696. "required": true
  13697. },
  13698. {
  13699. "type": "string",
  13700. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13701. "name": "startDate",
  13702. "in": "query"
  13703. },
  13704. {
  13705. "type": "string",
  13706. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  13707. "name": "endDate",
  13708. "in": "query"
  13709. }
  13710. ],
  13711. "responses": {
  13712. "200": {
  13713. "description": "OK",
  13714. "schema": {
  13715. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  13716. }
  13717. },
  13718. "500": {
  13719. "description": "Internal Server Error",
  13720. "schema": {
  13721. "$ref": "#/definitions/app.Response"
  13722. }
  13723. }
  13724. }
  13725. }
  13726. },
  13727. "/SZDZ/QueryGoodsPickup": {
  13728. "get": {
  13729. "security": [
  13730. {
  13731. "ApiKeyAuth": []
  13732. }
  13733. ],
  13734. "produces": [
  13735. "application/json"
  13736. ],
  13737. "tags": [
  13738. "定制【尚志大宗】"
  13739. ],
  13740. "summary": "商品提货单查询",
  13741. "parameters": [
  13742. {
  13743. "type": "string",
  13744. "description": "资金账户 - 格式:1,2,3",
  13745. "name": "accountID",
  13746. "in": "query",
  13747. "required": true
  13748. },
  13749. {
  13750. "type": "integer",
  13751. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  13752. "name": "takeOrderStatus",
  13753. "in": "query"
  13754. }
  13755. ],
  13756. "responses": {
  13757. "200": {
  13758. "description": "OK",
  13759. "schema": {
  13760. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  13761. }
  13762. },
  13763. "500": {
  13764. "description": "Internal Server Error",
  13765. "schema": {
  13766. "$ref": "#/definitions/app.Response"
  13767. }
  13768. }
  13769. }
  13770. }
  13771. },
  13772. "/SZDZ/QueryRecieptOrder": {
  13773. "get": {
  13774. "security": [
  13775. {
  13776. "ApiKeyAuth": []
  13777. }
  13778. ],
  13779. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  13780. "produces": [
  13781. "application/json"
  13782. ],
  13783. "tags": [
  13784. "定制【尚志大宗】"
  13785. ],
  13786. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  13787. "parameters": [
  13788. {
  13789. "type": "integer",
  13790. "description": "页码",
  13791. "name": "page",
  13792. "in": "query"
  13793. },
  13794. {
  13795. "type": "integer",
  13796. "description": "每页条数",
  13797. "name": "pagesize",
  13798. "in": "query"
  13799. },
  13800. {
  13801. "type": "integer",
  13802. "description": "商品ID",
  13803. "name": "goodsID",
  13804. "in": "query",
  13805. "required": true
  13806. },
  13807. {
  13808. "type": "string",
  13809. "description": "所属账户名称",
  13810. "name": "accountName",
  13811. "in": "query"
  13812. },
  13813. {
  13814. "type": "integer",
  13815. "description": "市场ID",
  13816. "name": "marketID",
  13817. "in": "query"
  13818. },
  13819. {
  13820. "type": "integer",
  13821. "description": "方向 - 0:买 1:卖",
  13822. "name": "buyorsell",
  13823. "in": "query",
  13824. "required": true
  13825. }
  13826. ],
  13827. "responses": {
  13828. "200": {
  13829. "description": "OK",
  13830. "schema": {
  13831. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  13832. }
  13833. },
  13834. "500": {
  13835. "description": "Internal Server Error",
  13836. "schema": {
  13837. "$ref": "#/definitions/app.Response"
  13838. }
  13839. }
  13840. }
  13841. }
  13842. },
  13843. "/SZDZ/QuerySZDZTradePosition": {
  13844. "get": {
  13845. "security": [
  13846. {
  13847. "ApiKeyAuth": []
  13848. }
  13849. ],
  13850. "produces": [
  13851. "application/json"
  13852. ],
  13853. "tags": [
  13854. "定制【尚志大宗】"
  13855. ],
  13856. "summary": "持仓汇总查询(尚志大宗)",
  13857. "parameters": [
  13858. {
  13859. "type": "integer",
  13860. "description": "资金账户",
  13861. "name": "accountID",
  13862. "in": "query",
  13863. "required": true
  13864. }
  13865. ],
  13866. "responses": {
  13867. "200": {
  13868. "description": "OK",
  13869. "schema": {
  13870. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  13871. }
  13872. },
  13873. "500": {
  13874. "description": "Internal Server Error",
  13875. "schema": {
  13876. "$ref": "#/definitions/app.Response"
  13877. }
  13878. }
  13879. }
  13880. }
  13881. },
  13882. "/SZDZ/SearchWhite": {
  13883. "get": {
  13884. "security": [
  13885. {
  13886. "ApiKeyAuth": []
  13887. }
  13888. ],
  13889. "produces": [
  13890. "application/json"
  13891. ],
  13892. "tags": [
  13893. "定制【尚志大宗】"
  13894. ],
  13895. "summary": "搜索白名单",
  13896. "parameters": [
  13897. {
  13898. "type": "integer",
  13899. "description": "用户ID",
  13900. "name": "userID",
  13901. "in": "query",
  13902. "required": true
  13903. }
  13904. ],
  13905. "responses": {
  13906. "200": {
  13907. "description": "OK",
  13908. "schema": {
  13909. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  13910. }
  13911. },
  13912. "500": {
  13913. "description": "Internal Server Error",
  13914. "schema": {
  13915. "$ref": "#/definitions/app.Response"
  13916. }
  13917. }
  13918. }
  13919. }
  13920. },
  13921. "/Search/SearchGoodses": {
  13922. "get": {
  13923. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  13924. "produces": [
  13925. "application/json"
  13926. ],
  13927. "tags": [
  13928. "检索服务"
  13929. ],
  13930. "summary": "检索商品信息",
  13931. "parameters": [
  13932. {
  13933. "type": "string",
  13934. "description": "检索内容",
  13935. "name": "content",
  13936. "in": "query",
  13937. "required": true
  13938. },
  13939. {
  13940. "type": "string",
  13941. "description": "交易模式,格式:1,2,3",
  13942. "name": "tradeModes",
  13943. "in": "query"
  13944. }
  13945. ],
  13946. "responses": {
  13947. "200": {
  13948. "description": "OK",
  13949. "schema": {
  13950. "$ref": "#/definitions/models.SearchGoods"
  13951. }
  13952. },
  13953. "500": {
  13954. "description": "Internal Server Error",
  13955. "schema": {
  13956. "$ref": "#/definitions/app.Response"
  13957. }
  13958. }
  13959. }
  13960. }
  13961. },
  13962. "/TaAccount/GetTaAccounts": {
  13963. "get": {
  13964. "security": [
  13965. {
  13966. "ApiKeyAuth": []
  13967. }
  13968. ],
  13969. "produces": [
  13970. "application/json"
  13971. ],
  13972. "tags": [
  13973. "资金账户"
  13974. ],
  13975. "summary": "获取资金账户信息",
  13976. "parameters": [
  13977. {
  13978. "type": "integer",
  13979. "description": "登录账户",
  13980. "name": "loginID",
  13981. "in": "query",
  13982. "required": true
  13983. },
  13984. {
  13985. "type": "integer",
  13986. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  13987. "name": "taAccountType",
  13988. "in": "query"
  13989. }
  13990. ],
  13991. "responses": {
  13992. "200": {
  13993. "description": "OK",
  13994. "schema": {
  13995. "$ref": "#/definitions/models.Taaccount"
  13996. }
  13997. },
  13998. "500": {
  13999. "description": "Internal Server Error",
  14000. "schema": {
  14001. "$ref": "#/definitions/app.Response"
  14002. }
  14003. }
  14004. }
  14005. }
  14006. },
  14007. "/TaAccount/QueryAmountLog": {
  14008. "get": {
  14009. "security": [
  14010. {
  14011. "ApiKeyAuth": []
  14012. }
  14013. ],
  14014. "produces": [
  14015. "application/json"
  14016. ],
  14017. "tags": [
  14018. "资金账户"
  14019. ],
  14020. "summary": "资金流水查询(当前)",
  14021. "parameters": [
  14022. {
  14023. "type": "integer",
  14024. "description": "页码",
  14025. "name": "page",
  14026. "in": "query"
  14027. },
  14028. {
  14029. "type": "integer",
  14030. "description": "每页条数",
  14031. "name": "pagesize",
  14032. "in": "query"
  14033. },
  14034. {
  14035. "type": "integer",
  14036. "description": "分页标志 0-page从0开始 1-page从1开始",
  14037. "name": "pageflag",
  14038. "in": "query"
  14039. },
  14040. {
  14041. "type": "string",
  14042. "description": "资金账户 - 格式:1,2,3",
  14043. "name": "accountID",
  14044. "in": "query",
  14045. "required": true
  14046. },
  14047. {
  14048. "type": "string",
  14049. "description": "资金操作类型 - 格式:1,2,3",
  14050. "name": "OperateType",
  14051. "in": "query"
  14052. }
  14053. ],
  14054. "responses": {
  14055. "200": {
  14056. "description": "OK",
  14057. "schema": {
  14058. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  14059. }
  14060. },
  14061. "500": {
  14062. "description": "Internal Server Error",
  14063. "schema": {
  14064. "$ref": "#/definitions/app.Response"
  14065. }
  14066. }
  14067. }
  14068. }
  14069. },
  14070. "/TaAccount/QueryHisAmountLog": {
  14071. "get": {
  14072. "security": [
  14073. {
  14074. "ApiKeyAuth": []
  14075. }
  14076. ],
  14077. "produces": [
  14078. "application/json"
  14079. ],
  14080. "tags": [
  14081. "资金账户"
  14082. ],
  14083. "summary": "资金流水查询(历史)",
  14084. "parameters": [
  14085. {
  14086. "type": "integer",
  14087. "description": "页码",
  14088. "name": "page",
  14089. "in": "query"
  14090. },
  14091. {
  14092. "type": "integer",
  14093. "description": "每页条数",
  14094. "name": "pagesize",
  14095. "in": "query"
  14096. },
  14097. {
  14098. "type": "integer",
  14099. "description": "分页标志 0-page从0开始 1-page从1开始",
  14100. "name": "pageflag",
  14101. "in": "query"
  14102. },
  14103. {
  14104. "type": "string",
  14105. "description": "资金账户 - 格式:1,2,3",
  14106. "name": "accountID",
  14107. "in": "query",
  14108. "required": true
  14109. },
  14110. {
  14111. "type": "string",
  14112. "description": "资金操作类型 - 格式:1,2,3",
  14113. "name": "OperateType",
  14114. "in": "query"
  14115. },
  14116. {
  14117. "type": "string",
  14118. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  14119. "name": "startDate",
  14120. "in": "query"
  14121. },
  14122. {
  14123. "type": "string",
  14124. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  14125. "name": "endDate",
  14126. "in": "query"
  14127. }
  14128. ],
  14129. "responses": {
  14130. "200": {
  14131. "description": "OK",
  14132. "schema": {
  14133. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  14134. }
  14135. },
  14136. "500": {
  14137. "description": "Internal Server Error",
  14138. "schema": {
  14139. "$ref": "#/definitions/app.Response"
  14140. }
  14141. }
  14142. }
  14143. }
  14144. },
  14145. "/TaAccount/QueryRelatedTaAccount": {
  14146. "get": {
  14147. "security": [
  14148. {
  14149. "ApiKeyAuth": []
  14150. }
  14151. ],
  14152. "produces": [
  14153. "application/json"
  14154. ],
  14155. "tags": [
  14156. "资金账户"
  14157. ],
  14158. "summary": "查询关联资金账户信息",
  14159. "parameters": [
  14160. {
  14161. "type": "integer",
  14162. "description": "关联UserID",
  14163. "name": "relateduserid",
  14164. "in": "query",
  14165. "required": true
  14166. }
  14167. ],
  14168. "responses": {
  14169. "200": {
  14170. "description": "OK",
  14171. "schema": {
  14172. "type": "array",
  14173. "items": {
  14174. "$ref": "#/definitions/models.RelatedTaAccount"
  14175. }
  14176. }
  14177. },
  14178. "500": {
  14179. "description": "Internal Server Error",
  14180. "schema": {
  14181. "$ref": "#/definitions/app.Response"
  14182. }
  14183. }
  14184. }
  14185. }
  14186. },
  14187. "/Tjmd/QueryQuoteGoodsList": {
  14188. "get": {
  14189. "security": [
  14190. {
  14191. "ApiKeyAuth": []
  14192. }
  14193. ],
  14194. "description": "用户类型必传, 查掉期报价列表 marketids=掉期市场id",
  14195. "produces": [
  14196. "application/json"
  14197. ],
  14198. "tags": [
  14199. "天津麦顿"
  14200. ],
  14201. "summary": "查询掉期报价列表",
  14202. "parameters": [
  14203. {
  14204. "type": "integer",
  14205. "description": "用户类型",
  14206. "name": "usertype",
  14207. "in": "query",
  14208. "required": true
  14209. },
  14210. {
  14211. "type": "string",
  14212. "description": "市场id, 格式 1,2,3",
  14213. "name": "marketids",
  14214. "in": "query"
  14215. },
  14216. {
  14217. "type": "integer",
  14218. "description": "商品组id",
  14219. "name": "goodsgroupid",
  14220. "in": "query"
  14221. },
  14222. {
  14223. "type": "integer",
  14224. "description": "商品id",
  14225. "name": "goodsid",
  14226. "in": "query"
  14227. }
  14228. ],
  14229. "responses": {
  14230. "200": {
  14231. "description": "OK",
  14232. "schema": {
  14233. "type": "array",
  14234. "items": {
  14235. "$ref": "#/definitions/models.TjmdQuoteGoods"
  14236. }
  14237. }
  14238. },
  14239. "500": {
  14240. "description": "Internal Server Error",
  14241. "schema": {
  14242. "$ref": "#/definitions/app.Response"
  14243. }
  14244. }
  14245. }
  14246. }
  14247. },
  14248. "/Tjmd/QueryTjmdHolderDetailTradeInfo": {
  14249. "get": {
  14250. "security": [
  14251. {
  14252. "ApiKeyAuth": []
  14253. }
  14254. ],
  14255. "produces": [
  14256. "application/json"
  14257. ],
  14258. "tags": [
  14259. "天津麦顿"
  14260. ],
  14261. "summary": "掉期商品订单详情(交易确认书)",
  14262. "parameters": [
  14263. {
  14264. "type": "string",
  14265. "description": "成交单号",
  14266. "name": "tradeid",
  14267. "in": "query",
  14268. "required": true
  14269. }
  14270. ],
  14271. "responses": {
  14272. "200": {
  14273. "description": "OK",
  14274. "schema": {
  14275. "type": "array",
  14276. "items": {
  14277. "$ref": "#/definitions/models.TjmdHolderDetailTradeInfo"
  14278. }
  14279. }
  14280. },
  14281. "500": {
  14282. "description": "Internal Server Error",
  14283. "schema": {
  14284. "$ref": "#/definitions/app.Response"
  14285. }
  14286. }
  14287. }
  14288. }
  14289. },
  14290. "/Tjmd/QueryTjmdMarketSection": {
  14291. "get": {
  14292. "security": [
  14293. {
  14294. "ApiKeyAuth": []
  14295. }
  14296. ],
  14297. "produces": [
  14298. "application/json"
  14299. ],
  14300. "tags": [
  14301. "天津麦顿"
  14302. ],
  14303. "summary": "查询市场板块",
  14304. "responses": {
  14305. "200": {
  14306. "description": "OK",
  14307. "schema": {
  14308. "type": "array",
  14309. "items": {
  14310. "$ref": "#/definitions/models.TjmdMarketSection"
  14311. }
  14312. }
  14313. },
  14314. "500": {
  14315. "description": "Internal Server Error",
  14316. "schema": {
  14317. "$ref": "#/definitions/app.Response"
  14318. }
  14319. }
  14320. }
  14321. }
  14322. },
  14323. "/Tjmd/QueryTjmdTodayAccountMargin": {
  14324. "get": {
  14325. "security": [
  14326. {
  14327. "ApiKeyAuth": []
  14328. }
  14329. ],
  14330. "produces": [
  14331. "application/json"
  14332. ],
  14333. "tags": [
  14334. "天津麦顿"
  14335. ],
  14336. "summary": "查询今日账户保证金配置",
  14337. "parameters": [
  14338. {
  14339. "type": "string",
  14340. "description": "市场id",
  14341. "name": "marketid",
  14342. "in": "query"
  14343. },
  14344. {
  14345. "type": "string",
  14346. "description": "商品id",
  14347. "name": "goodsid",
  14348. "in": "query"
  14349. },
  14350. {
  14351. "type": "string",
  14352. "description": "资金账号",
  14353. "name": "accountid",
  14354. "in": "query"
  14355. }
  14356. ],
  14357. "responses": {
  14358. "200": {
  14359. "description": "OK",
  14360. "schema": {
  14361. "type": "array",
  14362. "items": {
  14363. "$ref": "#/definitions/models.TjmdTodayAccountMargin"
  14364. }
  14365. }
  14366. },
  14367. "500": {
  14368. "description": "Internal Server Error",
  14369. "schema": {
  14370. "$ref": "#/definitions/app.Response"
  14371. }
  14372. }
  14373. }
  14374. }
  14375. },
  14376. "/Tjmd/QueryTjmdTradeOrderDetail": {
  14377. "get": {
  14378. "security": [
  14379. {
  14380. "ApiKeyAuth": []
  14381. }
  14382. ],
  14383. "description": "用户类型必传, 投资者只能看到自营会员的单, 反之亦然",
  14384. "produces": [
  14385. "application/json"
  14386. ],
  14387. "tags": [
  14388. "天津麦顿"
  14389. ],
  14390. "summary": "查询掉期买卖大厅",
  14391. "parameters": [
  14392. {
  14393. "type": "integer",
  14394. "description": "页码",
  14395. "name": "page",
  14396. "in": "query"
  14397. },
  14398. {
  14399. "type": "integer",
  14400. "description": "每页条数",
  14401. "name": "pagesize",
  14402. "in": "query"
  14403. },
  14404. {
  14405. "type": "integer",
  14406. "description": "用户id",
  14407. "name": "userid",
  14408. "in": "query",
  14409. "required": true
  14410. },
  14411. {
  14412. "type": "integer",
  14413. "description": "用户类型",
  14414. "name": "usertype",
  14415. "in": "query",
  14416. "required": true
  14417. },
  14418. {
  14419. "type": "string",
  14420. "description": "市场id, 格式 1,2,3",
  14421. "name": "marketids",
  14422. "in": "query"
  14423. },
  14424. {
  14425. "type": "integer",
  14426. "description": "商品id",
  14427. "name": "goodsid",
  14428. "in": "query",
  14429. "required": true
  14430. },
  14431. {
  14432. "type": "integer",
  14433. "description": "买卖方向 0-买 1-卖",
  14434. "name": "buyorsell",
  14435. "in": "query",
  14436. "required": true
  14437. }
  14438. ],
  14439. "responses": {
  14440. "200": {
  14441. "description": "OK",
  14442. "schema": {
  14443. "type": "array",
  14444. "items": {
  14445. "$ref": "#/definitions/models.TjmdTradeOrderDetail"
  14446. }
  14447. }
  14448. },
  14449. "500": {
  14450. "description": "Internal Server Error",
  14451. "schema": {
  14452. "$ref": "#/definitions/app.Response"
  14453. }
  14454. }
  14455. }
  14456. }
  14457. },
  14458. "/Tjmd/QueryTjmdTransferApply": {
  14459. "get": {
  14460. "security": [
  14461. {
  14462. "ApiKeyAuth": []
  14463. }
  14464. ],
  14465. "produces": [
  14466. "application/json"
  14467. ],
  14468. "tags": [
  14469. "天津麦顿"
  14470. ],
  14471. "summary": "查询掉期协议单",
  14472. "parameters": [
  14473. {
  14474. "type": "integer",
  14475. "description": "类型 1-我的申请 2-对方申请",
  14476. "name": "applytype",
  14477. "in": "query",
  14478. "required": true
  14479. },
  14480. {
  14481. "type": "string",
  14482. "description": "市场id, 格式 1,2,3",
  14483. "name": "marketids",
  14484. "in": "query"
  14485. },
  14486. {
  14487. "type": "string",
  14488. "description": "资金账号, 格式 25000000001,25000000003",
  14489. "name": "accountids",
  14490. "in": "query"
  14491. },
  14492. {
  14493. "type": "string",
  14494. "description": "开始交易日(yyyymmdd)",
  14495. "name": "begindate",
  14496. "in": "query"
  14497. },
  14498. {
  14499. "type": "string",
  14500. "description": "结束交易日(yyyymmdd)",
  14501. "name": "enddate",
  14502. "in": "query"
  14503. }
  14504. ],
  14505. "responses": {
  14506. "200": {
  14507. "description": "OK",
  14508. "schema": {
  14509. "type": "array",
  14510. "items": {
  14511. "$ref": "#/definitions/models.TjmdTransferApply"
  14512. }
  14513. }
  14514. },
  14515. "500": {
  14516. "description": "Internal Server Error",
  14517. "schema": {
  14518. "$ref": "#/definitions/app.Response"
  14519. }
  14520. }
  14521. }
  14522. }
  14523. },
  14524. "/Trade/QueryRecieptOrder": {
  14525. "get": {
  14526. "security": [
  14527. {
  14528. "ApiKeyAuth": []
  14529. }
  14530. ],
  14531. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  14532. "produces": [
  14533. "application/json"
  14534. ],
  14535. "tags": [
  14536. "通用交易"
  14537. ],
  14538. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  14539. "parameters": [
  14540. {
  14541. "type": "integer",
  14542. "description": "页码",
  14543. "name": "page",
  14544. "in": "query"
  14545. },
  14546. {
  14547. "type": "integer",
  14548. "description": "每页条数",
  14549. "name": "pagesize",
  14550. "in": "query"
  14551. },
  14552. {
  14553. "type": "integer",
  14554. "description": "商品ID",
  14555. "name": "goodsID",
  14556. "in": "query",
  14557. "required": true
  14558. },
  14559. {
  14560. "type": "string",
  14561. "description": "所属账户名称",
  14562. "name": "accountName",
  14563. "in": "query"
  14564. },
  14565. {
  14566. "type": "integer",
  14567. "description": "市场ID",
  14568. "name": "marketID",
  14569. "in": "query"
  14570. },
  14571. {
  14572. "type": "integer",
  14573. "description": "方向 - 0:买 1:卖",
  14574. "name": "buyorsell",
  14575. "in": "query",
  14576. "required": true
  14577. }
  14578. ],
  14579. "responses": {
  14580. "200": {
  14581. "description": "OK",
  14582. "schema": {
  14583. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  14584. }
  14585. },
  14586. "500": {
  14587. "description": "Internal Server Error",
  14588. "schema": {
  14589. "$ref": "#/definitions/app.Response"
  14590. }
  14591. }
  14592. }
  14593. }
  14594. },
  14595. "/User/AddMessageBoard": {
  14596. "post": {
  14597. "security": [
  14598. {
  14599. "ApiKeyAuth": []
  14600. }
  14601. ],
  14602. "produces": [
  14603. "application/json"
  14604. ],
  14605. "tags": [
  14606. "用户信息"
  14607. ],
  14608. "summary": "添加用户留言板信息",
  14609. "parameters": [
  14610. {
  14611. "type": "integer",
  14612. "description": "用户ID",
  14613. "name": "userID",
  14614. "in": "query",
  14615. "required": true
  14616. },
  14617. {
  14618. "type": "string",
  14619. "description": "留言信息",
  14620. "name": "message",
  14621. "in": "query",
  14622. "required": true
  14623. },
  14624. {
  14625. "type": "string",
  14626. "description": "联系电话",
  14627. "name": "contactNum",
  14628. "in": "query",
  14629. "required": true
  14630. }
  14631. ],
  14632. "responses": {
  14633. "200": {
  14634. "description": "OK",
  14635. "schema": {
  14636. "$ref": "#/definitions/app.Response"
  14637. }
  14638. },
  14639. "500": {
  14640. "description": "Internal Server Error",
  14641. "schema": {
  14642. "$ref": "#/definitions/app.Response"
  14643. }
  14644. }
  14645. }
  14646. }
  14647. },
  14648. "/User/AddUserFavoriteGoods": {
  14649. "post": {
  14650. "security": [
  14651. {
  14652. "ApiKeyAuth": []
  14653. }
  14654. ],
  14655. "produces": [
  14656. "application/json"
  14657. ],
  14658. "tags": [
  14659. "用户信息"
  14660. ],
  14661. "summary": "添加用户商品收藏信息",
  14662. "parameters": [
  14663. {
  14664. "type": "integer",
  14665. "description": "用户ID",
  14666. "name": "userID",
  14667. "in": "query",
  14668. "required": true
  14669. },
  14670. {
  14671. "type": "integer",
  14672. "description": "商品ID",
  14673. "name": "goodsID",
  14674. "in": "query",
  14675. "required": true
  14676. }
  14677. ],
  14678. "responses": {
  14679. "200": {
  14680. "description": "OK",
  14681. "schema": {
  14682. "$ref": "#/definitions/app.Response"
  14683. }
  14684. },
  14685. "500": {
  14686. "description": "Internal Server Error",
  14687. "schema": {
  14688. "$ref": "#/definitions/app.Response"
  14689. }
  14690. }
  14691. }
  14692. }
  14693. },
  14694. "/User/GetLoginID": {
  14695. "get": {
  14696. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  14697. "produces": [
  14698. "application/json"
  14699. ],
  14700. "tags": [
  14701. "用户信息"
  14702. ],
  14703. "summary": "获取登录ID",
  14704. "parameters": [
  14705. {
  14706. "type": "string",
  14707. "description": "登录代码",
  14708. "name": "username",
  14709. "in": "query",
  14710. "required": true
  14711. }
  14712. ],
  14713. "responses": {
  14714. "200": {
  14715. "description": "OK",
  14716. "schema": {
  14717. "$ref": "#/definitions/app.Response"
  14718. }
  14719. },
  14720. "500": {
  14721. "description": "Internal Server Error",
  14722. "schema": {
  14723. "$ref": "#/definitions/app.Response"
  14724. }
  14725. }
  14726. }
  14727. }
  14728. },
  14729. "/User/GetUserAccount": {
  14730. "get": {
  14731. "security": [
  14732. {
  14733. "ApiKeyAuth": []
  14734. }
  14735. ],
  14736. "produces": [
  14737. "application/json"
  14738. ],
  14739. "tags": [
  14740. "用户信息"
  14741. ],
  14742. "summary": "获取用户账号信息",
  14743. "parameters": [
  14744. {
  14745. "type": "integer",
  14746. "description": "用户ID",
  14747. "name": "userID",
  14748. "in": "query",
  14749. "required": true
  14750. }
  14751. ],
  14752. "responses": {
  14753. "200": {
  14754. "description": "OK",
  14755. "schema": {
  14756. "$ref": "#/definitions/models.Useraccount"
  14757. }
  14758. },
  14759. "500": {
  14760. "description": "Internal Server Error",
  14761. "schema": {
  14762. "$ref": "#/definitions/app.Response"
  14763. }
  14764. }
  14765. }
  14766. }
  14767. },
  14768. "/User/GetUserAuthStatus": {
  14769. "get": {
  14770. "security": [
  14771. {
  14772. "ApiKeyAuth": []
  14773. }
  14774. ],
  14775. "produces": [
  14776. "application/json"
  14777. ],
  14778. "tags": [
  14779. "用户信息"
  14780. ],
  14781. "summary": "获取用户实名认证状态",
  14782. "parameters": [
  14783. {
  14784. "type": "integer",
  14785. "description": "用户ID",
  14786. "name": "userID",
  14787. "in": "query",
  14788. "required": true
  14789. }
  14790. ],
  14791. "responses": {
  14792. "200": {
  14793. "description": "OK",
  14794. "schema": {
  14795. "$ref": "#/definitions/app.Response"
  14796. }
  14797. },
  14798. "500": {
  14799. "description": "Internal Server Error",
  14800. "schema": {
  14801. "$ref": "#/definitions/app.Response"
  14802. }
  14803. }
  14804. }
  14805. }
  14806. },
  14807. "/User/LoginQuery": {
  14808. "get": {
  14809. "security": [
  14810. {
  14811. "ApiKeyAuth": []
  14812. }
  14813. ],
  14814. "produces": [
  14815. "application/json"
  14816. ],
  14817. "tags": [
  14818. "用户信息"
  14819. ],
  14820. "summary": "账户登录后信息查询",
  14821. "parameters": [
  14822. {
  14823. "type": "integer",
  14824. "description": "登录账号",
  14825. "name": "loginID",
  14826. "in": "query",
  14827. "required": true
  14828. }
  14829. ],
  14830. "responses": {
  14831. "200": {
  14832. "description": "OK",
  14833. "schema": {
  14834. "$ref": "#/definitions/user.LoginQueryRsp"
  14835. }
  14836. },
  14837. "500": {
  14838. "description": "Internal Server Error",
  14839. "schema": {
  14840. "$ref": "#/definitions/app.Response"
  14841. }
  14842. }
  14843. }
  14844. }
  14845. },
  14846. "/User/QueryMessageBoard": {
  14847. "get": {
  14848. "security": [
  14849. {
  14850. "ApiKeyAuth": []
  14851. }
  14852. ],
  14853. "produces": [
  14854. "application/json"
  14855. ],
  14856. "tags": [
  14857. "用户信息"
  14858. ],
  14859. "summary": "获取用户留言板信息",
  14860. "parameters": [
  14861. {
  14862. "type": "integer",
  14863. "description": "用户ID",
  14864. "name": "userID",
  14865. "in": "query",
  14866. "required": true
  14867. }
  14868. ],
  14869. "responses": {
  14870. "200": {
  14871. "description": "OK",
  14872. "schema": {
  14873. "$ref": "#/definitions/models.Messageboard"
  14874. }
  14875. },
  14876. "500": {
  14877. "description": "Internal Server Error",
  14878. "schema": {
  14879. "$ref": "#/definitions/app.Response"
  14880. }
  14881. }
  14882. }
  14883. }
  14884. },
  14885. "/User/QueryUserFavoriteGoodses": {
  14886. "get": {
  14887. "security": [
  14888. {
  14889. "ApiKeyAuth": []
  14890. }
  14891. ],
  14892. "produces": [
  14893. "application/json"
  14894. ],
  14895. "tags": [
  14896. "用户信息"
  14897. ],
  14898. "summary": "获取用户商品收藏信息",
  14899. "parameters": [
  14900. {
  14901. "type": "integer",
  14902. "description": "用户ID",
  14903. "name": "userID",
  14904. "in": "query",
  14905. "required": true
  14906. }
  14907. ],
  14908. "responses": {
  14909. "200": {
  14910. "description": "OK",
  14911. "schema": {
  14912. "$ref": "#/definitions/models.Userfavoritegoods"
  14913. }
  14914. },
  14915. "500": {
  14916. "description": "Internal Server Error",
  14917. "schema": {
  14918. "$ref": "#/definitions/app.Response"
  14919. }
  14920. }
  14921. }
  14922. }
  14923. },
  14924. "/User/QueryUserInfo": {
  14925. "get": {
  14926. "security": [
  14927. {
  14928. "ApiKeyAuth": []
  14929. }
  14930. ],
  14931. "produces": [
  14932. "application/json"
  14933. ],
  14934. "tags": [
  14935. "用户信息"
  14936. ],
  14937. "summary": "获取用户信息",
  14938. "parameters": [
  14939. {
  14940. "type": "integer",
  14941. "description": "用户ID",
  14942. "name": "userID",
  14943. "in": "query",
  14944. "required": true
  14945. },
  14946. {
  14947. "type": "boolean",
  14948. "description": "是否解密",
  14949. "name": "isDecrypt",
  14950. "in": "query"
  14951. }
  14952. ],
  14953. "responses": {
  14954. "200": {
  14955. "description": "OK",
  14956. "schema": {
  14957. "$ref": "#/definitions/models.Userinfo"
  14958. }
  14959. },
  14960. "500": {
  14961. "description": "Internal Server Error",
  14962. "schema": {
  14963. "$ref": "#/definitions/app.Response"
  14964. }
  14965. }
  14966. }
  14967. }
  14968. },
  14969. "/User/QueryUserReferNum": {
  14970. "get": {
  14971. "produces": [
  14972. "application/json"
  14973. ],
  14974. "tags": [
  14975. "用户信息"
  14976. ],
  14977. "summary": "获取用户邀请码",
  14978. "parameters": [
  14979. {
  14980. "type": "integer",
  14981. "description": "用户ID",
  14982. "name": "userID",
  14983. "in": "query",
  14984. "required": true
  14985. }
  14986. ],
  14987. "responses": {
  14988. "200": {
  14989. "description": "OK",
  14990. "schema": {
  14991. "$ref": "#/definitions/app.Response"
  14992. }
  14993. },
  14994. "500": {
  14995. "description": "Internal Server Error",
  14996. "schema": {
  14997. "$ref": "#/definitions/app.Response"
  14998. }
  14999. }
  15000. }
  15001. }
  15002. },
  15003. "/User/RemoveUserFavoriteGoods": {
  15004. "post": {
  15005. "security": [
  15006. {
  15007. "ApiKeyAuth": []
  15008. }
  15009. ],
  15010. "produces": [
  15011. "application/json"
  15012. ],
  15013. "tags": [
  15014. "用户信息"
  15015. ],
  15016. "summary": "移除用户商品收藏信息",
  15017. "parameters": [
  15018. {
  15019. "type": "integer",
  15020. "description": "用户ID",
  15021. "name": "userID",
  15022. "in": "query",
  15023. "required": true
  15024. },
  15025. {
  15026. "type": "integer",
  15027. "description": "商品ID",
  15028. "name": "goodsID",
  15029. "in": "query",
  15030. "required": true
  15031. }
  15032. ],
  15033. "responses": {
  15034. "200": {
  15035. "description": "OK",
  15036. "schema": {
  15037. "$ref": "#/definitions/app.Response"
  15038. }
  15039. },
  15040. "500": {
  15041. "description": "Internal Server Error",
  15042. "schema": {
  15043. "$ref": "#/definitions/app.Response"
  15044. }
  15045. }
  15046. }
  15047. }
  15048. },
  15049. "/User/UpdateUserAccountStatus": {
  15050. "post": {
  15051. "security": [
  15052. {
  15053. "ApiKeyAuth": []
  15054. }
  15055. ],
  15056. "produces": [
  15057. "application/json"
  15058. ],
  15059. "tags": [
  15060. "用户信息"
  15061. ],
  15062. "summary": "更新用户状态",
  15063. "parameters": [
  15064. {
  15065. "type": "integer",
  15066. "description": "用户ID",
  15067. "name": "userID",
  15068. "in": "query",
  15069. "required": true
  15070. },
  15071. {
  15072. "type": "integer",
  15073. "description": "账户状态 - 4:正常 6:注销(停用)",
  15074. "name": "accountStatus",
  15075. "in": "query",
  15076. "required": true
  15077. }
  15078. ],
  15079. "responses": {
  15080. "200": {
  15081. "description": "OK",
  15082. "schema": {
  15083. "$ref": "#/definitions/app.Response"
  15084. }
  15085. },
  15086. "500": {
  15087. "description": "Internal Server Error",
  15088. "schema": {
  15089. "$ref": "#/definitions/app.Response"
  15090. }
  15091. }
  15092. }
  15093. }
  15094. },
  15095. "/WRTrade/GetAllDeliveryGoods": {
  15096. "get": {
  15097. "security": [
  15098. {
  15099. "ApiKeyAuth": []
  15100. }
  15101. ],
  15102. "produces": [
  15103. "application/json"
  15104. ],
  15105. "tags": [
  15106. "仓单贸易",
  15107. "仓单贸易"
  15108. ],
  15109. "summary": "获取带仓单分类的种类信息",
  15110. "responses": {
  15111. "200": {
  15112. "description": "OK",
  15113. "schema": {
  15114. "$ref": "#/definitions/app.Response"
  15115. }
  15116. },
  15117. "500": {
  15118. "description": "Internal Server Error",
  15119. "schema": {
  15120. "$ref": "#/definitions/app.Response"
  15121. }
  15122. }
  15123. }
  15124. }
  15125. },
  15126. "/WrTrade2/InsertXhcpSellBackApply": {
  15127. "post": {
  15128. "security": [
  15129. {
  15130. "ApiKeyAuth": []
  15131. }
  15132. ],
  15133. "produces": [
  15134. "application/json"
  15135. ],
  15136. "tags": [
  15137. "仓单贸易v2"
  15138. ],
  15139. "summary": "新增回收申请(新会陈皮)",
  15140. "parameters": [
  15141. {
  15142. "description": "回收申请",
  15143. "name": "jsonBody",
  15144. "in": "body",
  15145. "required": true,
  15146. "schema": {
  15147. "$ref": "#/definitions/models.XhcpSellBackApplyEx"
  15148. }
  15149. }
  15150. ],
  15151. "responses": {
  15152. "200": {
  15153. "description": "OK",
  15154. "schema": {
  15155. "$ref": "#/definitions/app.Response"
  15156. }
  15157. },
  15158. "500": {
  15159. "description": "Internal Server Error",
  15160. "schema": {
  15161. "$ref": "#/definitions/app.Response"
  15162. }
  15163. }
  15164. }
  15165. }
  15166. },
  15167. "/WrTrade2/QueryDeliveryGoodsSection": {
  15168. "get": {
  15169. "security": [
  15170. {
  15171. "ApiKeyAuth": []
  15172. }
  15173. ],
  15174. "produces": [
  15175. "application/json"
  15176. ],
  15177. "tags": [
  15178. "仓单贸易v2"
  15179. ],
  15180. "summary": "查询板块(分类)",
  15181. "responses": {
  15182. "200": {
  15183. "description": "OK",
  15184. "schema": {
  15185. "type": "array",
  15186. "items": {
  15187. "$ref": "#/definitions/models.WrDeliveryGoodsSection"
  15188. }
  15189. }
  15190. },
  15191. "500": {
  15192. "description": "Internal Server Error",
  15193. "schema": {
  15194. "$ref": "#/definitions/app.Response"
  15195. }
  15196. }
  15197. }
  15198. }
  15199. },
  15200. "/WrTrade2/QueryFaProductDetail": {
  15201. "get": {
  15202. "security": [
  15203. {
  15204. "ApiKeyAuth": []
  15205. }
  15206. ],
  15207. "description": "页面 买卖大厅 -\u003e 选择融资方案",
  15208. "produces": [
  15209. "application/json"
  15210. ],
  15211. "tags": [
  15212. "仓单贸易v2"
  15213. ],
  15214. "summary": "查询融资产品列表",
  15215. "parameters": [
  15216. {
  15217. "type": "integer",
  15218. "description": "仓单要素id",
  15219. "name": "wrfactortypeid",
  15220. "in": "query",
  15221. "required": true
  15222. }
  15223. ],
  15224. "responses": {
  15225. "200": {
  15226. "description": "OK",
  15227. "schema": {
  15228. "type": "array",
  15229. "items": {
  15230. "$ref": "#/definitions/models.WrFAProductDetail"
  15231. }
  15232. }
  15233. },
  15234. "500": {
  15235. "description": "Internal Server Error",
  15236. "schema": {
  15237. "$ref": "#/definitions/app.Response"
  15238. }
  15239. }
  15240. }
  15241. }
  15242. },
  15243. "/WrTrade2/QueryFilterItem": {
  15244. "get": {
  15245. "security": [
  15246. {
  15247. "ApiKeyAuth": []
  15248. }
  15249. ],
  15250. "produces": [
  15251. "application/json"
  15252. ],
  15253. "tags": [
  15254. "仓单贸易v2"
  15255. ],
  15256. "summary": "查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)",
  15257. "parameters": [
  15258. {
  15259. "type": "string",
  15260. "description": "类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库",
  15261. "name": "itype",
  15262. "in": "query",
  15263. "required": true
  15264. }
  15265. ],
  15266. "responses": {
  15267. "200": {
  15268. "description": "OK",
  15269. "schema": {
  15270. "type": "array",
  15271. "items": {
  15272. "$ref": "#/definitions/models.WrFilterItem"
  15273. }
  15274. }
  15275. },
  15276. "500": {
  15277. "description": "Internal Server Error",
  15278. "schema": {
  15279. "$ref": "#/definitions/app.Response"
  15280. }
  15281. }
  15282. }
  15283. }
  15284. },
  15285. "/WrTrade2/QueryFtDeliveryGoods": {
  15286. "get": {
  15287. "security": [
  15288. {
  15289. "ApiKeyAuth": []
  15290. }
  15291. ],
  15292. "produces": [
  15293. "application/json"
  15294. ],
  15295. "tags": [
  15296. "仓单贸易v2"
  15297. ],
  15298. "summary": "查询品种品类筛选框列表",
  15299. "responses": {
  15300. "200": {
  15301. "description": "OK",
  15302. "schema": {
  15303. "type": "array",
  15304. "items": {
  15305. "$ref": "#/definitions/models.WrFtDeliveryGoods"
  15306. }
  15307. }
  15308. },
  15309. "500": {
  15310. "description": "Internal Server Error",
  15311. "schema": {
  15312. "$ref": "#/definitions/app.Response"
  15313. }
  15314. }
  15315. }
  15316. }
  15317. },
  15318. "/WrTrade2/QueryHoldLB": {
  15319. "get": {
  15320. "security": [
  15321. {
  15322. "ApiKeyAuth": []
  15323. }
  15324. ],
  15325. "description": "页面 现货仓单-\u003e现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。",
  15326. "produces": [
  15327. "application/json"
  15328. ],
  15329. "tags": [
  15330. "仓单贸易v2"
  15331. ],
  15332. "summary": "查询仓单持有记录",
  15333. "parameters": [
  15334. {
  15335. "type": "integer",
  15336. "description": "资金账号",
  15337. "name": "accountid",
  15338. "in": "query",
  15339. "required": true
  15340. },
  15341. {
  15342. "type": "integer",
  15343. "description": "仓库id",
  15344. "name": "warehouseid",
  15345. "in": "query"
  15346. },
  15347. {
  15348. "type": "integer",
  15349. "description": "品种id",
  15350. "name": "deliverygoodsid",
  15351. "in": "query"
  15352. },
  15353. {
  15354. "type": "integer",
  15355. "description": "品类id",
  15356. "name": "wrstandardid",
  15357. "in": "query"
  15358. },
  15359. {
  15360. "type": "integer",
  15361. "description": "仓单要素id",
  15362. "name": "wrfactortypeid",
  15363. "in": "query"
  15364. },
  15365. {
  15366. "type": "string",
  15367. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15368. "name": "dgitemname",
  15369. "in": "query"
  15370. }
  15371. ],
  15372. "responses": {
  15373. "200": {
  15374. "description": "OK",
  15375. "schema": {
  15376. "type": "array",
  15377. "items": {
  15378. "$ref": "#/definitions/models.WrHoldLB"
  15379. }
  15380. }
  15381. },
  15382. "500": {
  15383. "description": "Internal Server Error",
  15384. "schema": {
  15385. "$ref": "#/definitions/app.Response"
  15386. }
  15387. }
  15388. }
  15389. }
  15390. },
  15391. "/WrTrade2/QueryOrderQuote": {
  15392. "get": {
  15393. "security": [
  15394. {
  15395. "ApiKeyAuth": []
  15396. }
  15397. ],
  15398. "description": "仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录",
  15399. "produces": [
  15400. "application/json"
  15401. ],
  15402. "tags": [
  15403. "仓单贸易v2"
  15404. ],
  15405. "summary": "查询大厅行情列表",
  15406. "parameters": [
  15407. {
  15408. "type": "integer",
  15409. "description": "页码",
  15410. "name": "page",
  15411. "in": "query"
  15412. },
  15413. {
  15414. "type": "integer",
  15415. "description": "每页条数",
  15416. "name": "pagesize",
  15417. "in": "query"
  15418. },
  15419. {
  15420. "type": "integer",
  15421. "description": "仓单贸易市场id",
  15422. "name": "marketid",
  15423. "in": "query"
  15424. },
  15425. {
  15426. "type": "integer",
  15427. "description": "价格方式 - 1:固定价 2-浮动价",
  15428. "name": "wrpricetype",
  15429. "in": "query",
  15430. "required": true
  15431. },
  15432. {
  15433. "type": "integer",
  15434. "description": "0:仓单预售 1:仓单贸易",
  15435. "name": "haswr",
  15436. "in": "query"
  15437. },
  15438. {
  15439. "type": "string",
  15440. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15441. "name": "dgitemname",
  15442. "in": "query"
  15443. },
  15444. {
  15445. "type": "integer",
  15446. "description": "仓库id(筛选条件)",
  15447. "name": "warehouseid",
  15448. "in": "query"
  15449. },
  15450. {
  15451. "type": "integer",
  15452. "description": "品种id",
  15453. "name": "deliverygoodsid",
  15454. "in": "query"
  15455. },
  15456. {
  15457. "type": "integer",
  15458. "description": "品类id",
  15459. "name": "wrstandardid",
  15460. "in": "query"
  15461. },
  15462. {
  15463. "type": "integer",
  15464. "description": "品牌id(dgfactoryitemid)",
  15465. "name": "brandid",
  15466. "in": "query"
  15467. },
  15468. {
  15469. "type": "integer",
  15470. "description": "年份id(dgfactoryitemid)",
  15471. "name": "yearsid",
  15472. "in": "query"
  15473. },
  15474. {
  15475. "type": "integer",
  15476. "description": "仓单要素id",
  15477. "name": "wrfactortypeid",
  15478. "in": "query"
  15479. },
  15480. {
  15481. "type": "string",
  15482. "description": "交收月(yyyy-mm) 仓单预售填写",
  15483. "name": "deliverymonth",
  15484. "in": "query"
  15485. }
  15486. ],
  15487. "responses": {
  15488. "200": {
  15489. "description": "OK",
  15490. "schema": {
  15491. "type": "array",
  15492. "items": {
  15493. "$ref": "#/definitions/models.WrOrderQuote"
  15494. }
  15495. }
  15496. },
  15497. "500": {
  15498. "description": "Internal Server Error",
  15499. "schema": {
  15500. "$ref": "#/definitions/app.Response"
  15501. }
  15502. }
  15503. }
  15504. }
  15505. },
  15506. "/WrTrade2/QueryOrderQuoteDetail": {
  15507. "get": {
  15508. "security": [
  15509. {
  15510. "ApiKeyAuth": []
  15511. }
  15512. ],
  15513. "produces": [
  15514. "application/json"
  15515. ],
  15516. "tags": [
  15517. "仓单贸易v2"
  15518. ],
  15519. "summary": "查询买卖大厅",
  15520. "parameters": [
  15521. {
  15522. "type": "integer",
  15523. "description": "页码",
  15524. "name": "page",
  15525. "in": "query"
  15526. },
  15527. {
  15528. "type": "integer",
  15529. "description": "每页条数",
  15530. "name": "pagesize",
  15531. "in": "query"
  15532. },
  15533. {
  15534. "type": "integer",
  15535. "description": "仓单贸易市场id",
  15536. "name": "marketid",
  15537. "in": "query"
  15538. },
  15539. {
  15540. "type": "integer",
  15541. "description": "价格方式 - 1:固定价 2-浮动价",
  15542. "name": "wrpricetype",
  15543. "in": "query",
  15544. "required": true
  15545. },
  15546. {
  15547. "type": "integer",
  15548. "description": "0:仓单预售 1:仓单贸易",
  15549. "name": "haswr",
  15550. "in": "query"
  15551. },
  15552. {
  15553. "type": "integer",
  15554. "description": "仓单要素id",
  15555. "name": "wrfactortypeid",
  15556. "in": "query",
  15557. "required": true
  15558. },
  15559. {
  15560. "type": "integer",
  15561. "description": "期货商品id(浮动价方式时填)",
  15562. "name": "goodsid",
  15563. "in": "query"
  15564. },
  15565. {
  15566. "type": "integer",
  15567. "description": "买卖方向 0-买 1-卖",
  15568. "name": "buyorsell",
  15569. "in": "query",
  15570. "required": true
  15571. },
  15572. {
  15573. "type": "string",
  15574. "description": "交收月(yyyy-mm) 查仓单预售的买卖大厅时填写",
  15575. "name": "deliverymonth",
  15576. "in": "query"
  15577. }
  15578. ],
  15579. "responses": {
  15580. "200": {
  15581. "description": "OK",
  15582. "schema": {
  15583. "type": "array",
  15584. "items": {
  15585. "$ref": "#/definitions/models.WrOrderQuoteDetail"
  15586. }
  15587. }
  15588. },
  15589. "500": {
  15590. "description": "Internal Server Error",
  15591. "schema": {
  15592. "$ref": "#/definitions/app.Response"
  15593. }
  15594. }
  15595. }
  15596. }
  15597. },
  15598. "/WrTrade2/QueryOrderQuoteMyq": {
  15599. "get": {
  15600. "security": [
  15601. {
  15602. "ApiKeyAuth": []
  15603. }
  15604. ],
  15605. "produces": [
  15606. "application/json"
  15607. ],
  15608. "tags": [
  15609. "仓单贸易v2"
  15610. ],
  15611. "summary": "查询贸易圈挂牌大厅",
  15612. "parameters": [
  15613. {
  15614. "type": "integer",
  15615. "description": "页码",
  15616. "name": "page",
  15617. "in": "query"
  15618. },
  15619. {
  15620. "type": "integer",
  15621. "description": "每页条数",
  15622. "name": "pagesize",
  15623. "in": "query"
  15624. },
  15625. {
  15626. "type": "integer",
  15627. "description": "用户id",
  15628. "name": "userid",
  15629. "in": "query",
  15630. "required": true
  15631. },
  15632. {
  15633. "type": "integer",
  15634. "description": "仓单贸易市场id",
  15635. "name": "marketid",
  15636. "in": "query"
  15637. },
  15638. {
  15639. "type": "integer",
  15640. "description": "0:仓单预售 1:仓单贸易",
  15641. "name": "haswr",
  15642. "in": "query"
  15643. },
  15644. {
  15645. "type": "integer",
  15646. "description": "买卖方向 0-买 1-卖",
  15647. "name": "buyorsell",
  15648. "in": "query",
  15649. "required": true
  15650. },
  15651. {
  15652. "type": "integer",
  15653. "description": "品种id",
  15654. "name": "deliverygoodsid",
  15655. "in": "query"
  15656. },
  15657. {
  15658. "type": "integer",
  15659. "description": "品类id",
  15660. "name": "wrstandardid",
  15661. "in": "query"
  15662. },
  15663. {
  15664. "type": "string",
  15665. "description": "交收月(yyyy-mm) 仓单预售填写",
  15666. "name": "deliverymonth",
  15667. "in": "query"
  15668. },
  15669. {
  15670. "type": "string",
  15671. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  15672. "name": "dgitemname",
  15673. "in": "query"
  15674. }
  15675. ],
  15676. "responses": {
  15677. "200": {
  15678. "description": "OK",
  15679. "schema": {
  15680. "type": "array",
  15681. "items": {
  15682. "$ref": "#/definitions/models.WrQuoteOrderMyq"
  15683. }
  15684. }
  15685. },
  15686. "500": {
  15687. "description": "Internal Server Error",
  15688. "schema": {
  15689. "$ref": "#/definitions/app.Response"
  15690. }
  15691. }
  15692. }
  15693. }
  15694. },
  15695. "/WrTrade2/QueryPerformancePlan": {
  15696. "get": {
  15697. "security": [
  15698. {
  15699. "ApiKeyAuth": []
  15700. }
  15701. ],
  15702. "produces": [
  15703. "application/json"
  15704. ],
  15705. "tags": [
  15706. "仓单贸易v2"
  15707. ],
  15708. "summary": "查询履约信息",
  15709. "parameters": [
  15710. {
  15711. "type": "integer",
  15712. "description": "用户id",
  15713. "name": "userid",
  15714. "in": "query",
  15715. "required": true
  15716. },
  15717. {
  15718. "type": "integer",
  15719. "description": "买卖方向 0-买 1-卖",
  15720. "name": "buyorsell",
  15721. "in": "query",
  15722. "required": true
  15723. },
  15724. {
  15725. "type": "string",
  15726. "description": "履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  15727. "name": "status",
  15728. "in": "query"
  15729. },
  15730. {
  15731. "type": "string",
  15732. "description": "开始交易日(yyyymmdd)",
  15733. "name": "begindate",
  15734. "in": "query"
  15735. },
  15736. {
  15737. "type": "string",
  15738. "description": "结束交易日(yyyymmdd)",
  15739. "name": "enddate",
  15740. "in": "query"
  15741. }
  15742. ],
  15743. "responses": {
  15744. "200": {
  15745. "description": "OK",
  15746. "schema": {
  15747. "type": "array",
  15748. "items": {
  15749. "$ref": "#/definitions/models.WrPerformancePlan"
  15750. }
  15751. }
  15752. },
  15753. "500": {
  15754. "description": "Internal Server Error",
  15755. "schema": {
  15756. "$ref": "#/definitions/app.Response"
  15757. }
  15758. }
  15759. }
  15760. }
  15761. },
  15762. "/WrTrade2/QueryPermancePlanTmp": {
  15763. "get": {
  15764. "security": [
  15765. {
  15766. "ApiKeyAuth": []
  15767. }
  15768. ],
  15769. "description": "返回指定用户的模板和公共模板(用户id为空)\n注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段",
  15770. "produces": [
  15771. "application/json"
  15772. ],
  15773. "tags": [
  15774. "仓单贸易v2"
  15775. ],
  15776. "summary": "查询履约模板",
  15777. "parameters": [
  15778. {
  15779. "type": "integer",
  15780. "description": "用户id",
  15781. "name": "userid",
  15782. "in": "query"
  15783. },
  15784. {
  15785. "type": "string",
  15786. "description": "模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  15787. "name": "tmptype",
  15788. "in": "query"
  15789. },
  15790. {
  15791. "type": "integer",
  15792. "description": "是否包含公共模板(用户id为空的) 1-包含",
  15793. "name": "includepub",
  15794. "in": "query"
  15795. },
  15796. {
  15797. "type": "integer",
  15798. "description": "市场id(天津麦顿指定此参数,其它不用)",
  15799. "name": "marketid",
  15800. "in": "query"
  15801. }
  15802. ],
  15803. "responses": {
  15804. "200": {
  15805. "description": "OK",
  15806. "schema": {
  15807. "type": "array",
  15808. "items": {
  15809. "$ref": "#/definitions/models.WrPerformanceTemplateEx"
  15810. }
  15811. }
  15812. },
  15813. "500": {
  15814. "description": "Internal Server Error",
  15815. "schema": {
  15816. "$ref": "#/definitions/app.Response"
  15817. }
  15818. }
  15819. }
  15820. }
  15821. },
  15822. "/WrTrade2/QuerySiteColumnConfig": {
  15823. "get": {
  15824. "security": [
  15825. {
  15826. "ApiKeyAuth": []
  15827. }
  15828. ],
  15829. "produces": [
  15830. "application/json"
  15831. ],
  15832. "tags": [
  15833. "仓单贸易v2"
  15834. ],
  15835. "summary": "查询资讯栏目配置",
  15836. "parameters": [
  15837. {
  15838. "type": "integer",
  15839. "description": "页码",
  15840. "name": "page",
  15841. "in": "query"
  15842. },
  15843. {
  15844. "type": "integer",
  15845. "description": "每页条数",
  15846. "name": "pagesize",
  15847. "in": "query"
  15848. },
  15849. {
  15850. "type": "integer",
  15851. "description": "栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色",
  15852. "name": "columntype",
  15853. "in": "query"
  15854. }
  15855. ],
  15856. "responses": {
  15857. "200": {
  15858. "description": "OK",
  15859. "schema": {
  15860. "type": "array",
  15861. "items": {
  15862. "$ref": "#/definitions/models.Sitecolumnconfig"
  15863. }
  15864. }
  15865. },
  15866. "500": {
  15867. "description": "Internal Server Error",
  15868. "schema": {
  15869. "$ref": "#/definitions/app.Response"
  15870. }
  15871. }
  15872. }
  15873. }
  15874. },
  15875. "/WrTrade2/QuerySiteColumnDetail": {
  15876. "get": {
  15877. "security": [
  15878. {
  15879. "ApiKeyAuth": []
  15880. }
  15881. ],
  15882. "produces": [
  15883. "application/json"
  15884. ],
  15885. "tags": [
  15886. "仓单贸易v2"
  15887. ],
  15888. "summary": "查询资讯",
  15889. "parameters": [
  15890. {
  15891. "type": "integer",
  15892. "description": "页码",
  15893. "name": "page",
  15894. "in": "query"
  15895. },
  15896. {
  15897. "type": "integer",
  15898. "description": "每页条数",
  15899. "name": "pagesize",
  15900. "in": "query"
  15901. },
  15902. {
  15903. "type": "integer",
  15904. "description": "所属栏目id",
  15905. "name": "columnid",
  15906. "in": "query"
  15907. }
  15908. ],
  15909. "responses": {
  15910. "200": {
  15911. "description": "OK",
  15912. "schema": {
  15913. "type": "array",
  15914. "items": {
  15915. "$ref": "#/definitions/models.WrSiteColumnDetail"
  15916. }
  15917. }
  15918. },
  15919. "500": {
  15920. "description": "Internal Server Error",
  15921. "schema": {
  15922. "$ref": "#/definitions/app.Response"
  15923. }
  15924. }
  15925. }
  15926. }
  15927. },
  15928. "/WrTrade2/QuerySpotGroupTradeSum": {
  15929. "get": {
  15930. "security": [
  15931. {
  15932. "ApiKeyAuth": []
  15933. }
  15934. ],
  15935. "produces": [
  15936. "application/json"
  15937. ],
  15938. "tags": [
  15939. "仓单贸易v2"
  15940. ],
  15941. "summary": "查询指数",
  15942. "responses": {
  15943. "200": {
  15944. "description": "OK",
  15945. "schema": {
  15946. "type": "array",
  15947. "items": {
  15948. "$ref": "#/definitions/models.WrSpotGroupTradeSumEx"
  15949. }
  15950. }
  15951. },
  15952. "500": {
  15953. "description": "Internal Server Error",
  15954. "schema": {
  15955. "$ref": "#/definitions/app.Response"
  15956. }
  15957. }
  15958. }
  15959. }
  15960. },
  15961. "/WrTrade2/QuerySpotGroupTradeSumDetail": {
  15962. "get": {
  15963. "security": [
  15964. {
  15965. "ApiKeyAuth": []
  15966. }
  15967. ],
  15968. "description": "查询的结果将会按日期 从小到大 排序",
  15969. "produces": [
  15970. "application/json"
  15971. ],
  15972. "tags": [
  15973. "仓单贸易v2"
  15974. ],
  15975. "summary": "查询指数详细(价格走势图)",
  15976. "parameters": [
  15977. {
  15978. "type": "integer",
  15979. "description": "现货商品id",
  15980. "name": "deliverygoodsid",
  15981. "in": "query",
  15982. "required": true
  15983. },
  15984. {
  15985. "type": "integer",
  15986. "description": "查询最新多少条记录(如不填写此项, 默认查30条)",
  15987. "name": "lastnum",
  15988. "in": "query"
  15989. }
  15990. ],
  15991. "responses": {
  15992. "200": {
  15993. "description": "OK",
  15994. "schema": {
  15995. "type": "array",
  15996. "items": {
  15997. "$ref": "#/definitions/models.WrSpotGroupTradeSumDetail"
  15998. }
  15999. }
  16000. },
  16001. "500": {
  16002. "description": "Internal Server Error",
  16003. "schema": {
  16004. "$ref": "#/definitions/app.Response"
  16005. }
  16006. }
  16007. }
  16008. }
  16009. },
  16010. "/WrTrade2/QueryWrAverageTradePrice": {
  16011. "get": {
  16012. "security": [
  16013. {
  16014. "ApiKeyAuth": []
  16015. }
  16016. ],
  16017. "produces": [
  16018. "application/json"
  16019. ],
  16020. "tags": [
  16021. "仓单贸易v2"
  16022. ],
  16023. "summary": "查询成交价(历史走势)",
  16024. "parameters": [
  16025. {
  16026. "type": "integer",
  16027. "description": "页码",
  16028. "name": "page",
  16029. "in": "query"
  16030. },
  16031. {
  16032. "type": "integer",
  16033. "description": "每页条数",
  16034. "name": "pagesize",
  16035. "in": "query"
  16036. },
  16037. {
  16038. "type": "integer",
  16039. "description": "0:仓单预售 1:仓单贸易",
  16040. "name": "haswr",
  16041. "in": "query",
  16042. "required": true
  16043. },
  16044. {
  16045. "type": "integer",
  16046. "description": "仓单要素id",
  16047. "name": "wrfactortypeid",
  16048. "in": "query",
  16049. "required": true
  16050. }
  16051. ],
  16052. "responses": {
  16053. "200": {
  16054. "description": "OK",
  16055. "schema": {
  16056. "type": "array",
  16057. "items": {
  16058. "$ref": "#/definitions/models.WrAverageTradePrice"
  16059. }
  16060. }
  16061. },
  16062. "500": {
  16063. "description": "Internal Server Error",
  16064. "schema": {
  16065. "$ref": "#/definitions/app.Response"
  16066. }
  16067. }
  16068. }
  16069. }
  16070. },
  16071. "/WrTrade2/QueryWrBrandAndYears": {
  16072. "get": {
  16073. "security": [
  16074. {
  16075. "ApiKeyAuth": []
  16076. }
  16077. ],
  16078. "produces": [
  16079. "application/json"
  16080. ],
  16081. "tags": [
  16082. "仓单贸易v2"
  16083. ],
  16084. "summary": "查询品牌和年份",
  16085. "responses": {
  16086. "200": {
  16087. "description": "OK",
  16088. "schema": {
  16089. "type": "array",
  16090. "items": {
  16091. "$ref": "#/definitions/models.WrBrandAndYears"
  16092. }
  16093. }
  16094. },
  16095. "500": {
  16096. "description": "Internal Server Error",
  16097. "schema": {
  16098. "$ref": "#/definitions/app.Response"
  16099. }
  16100. }
  16101. }
  16102. }
  16103. },
  16104. "/WrTrade2/QueryWrBsGoodsInfo": {
  16105. "get": {
  16106. "security": [
  16107. {
  16108. "ApiKeyAuth": []
  16109. }
  16110. ],
  16111. "description": "合约交易/买卖大厅/详情",
  16112. "produces": [
  16113. "application/json"
  16114. ],
  16115. "tags": [
  16116. "仓单贸易v2"
  16117. ],
  16118. "summary": "查询合约交易买卖大厅详情",
  16119. "parameters": [
  16120. {
  16121. "type": "integer",
  16122. "description": "商品id",
  16123. "name": "goodsid",
  16124. "in": "query",
  16125. "required": true
  16126. }
  16127. ],
  16128. "responses": {
  16129. "200": {
  16130. "description": "OK",
  16131. "schema": {
  16132. "type": "array",
  16133. "items": {
  16134. "$ref": "#/definitions/models.WrBsGoodsInfo"
  16135. }
  16136. }
  16137. },
  16138. "500": {
  16139. "description": "Internal Server Error",
  16140. "schema": {
  16141. "$ref": "#/definitions/app.Response"
  16142. }
  16143. }
  16144. }
  16145. }
  16146. },
  16147. "/WrTrade2/QueryWrBuybackDetail": {
  16148. "get": {
  16149. "security": [
  16150. {
  16151. "ApiKeyAuth": []
  16152. }
  16153. ],
  16154. "produces": [
  16155. "application/json"
  16156. ],
  16157. "tags": [
  16158. "仓单贸易v2"
  16159. ],
  16160. "summary": "查询仓单回购明细",
  16161. "parameters": [
  16162. {
  16163. "type": "integer",
  16164. "description": "融资合同id",
  16165. "name": "scfcontractid",
  16166. "in": "query"
  16167. }
  16168. ],
  16169. "responses": {
  16170. "200": {
  16171. "description": "OK",
  16172. "schema": {
  16173. "type": "array",
  16174. "items": {
  16175. "$ref": "#/definitions/models.WrBuybackDetail"
  16176. }
  16177. }
  16178. },
  16179. "500": {
  16180. "description": "Internal Server Error",
  16181. "schema": {
  16182. "$ref": "#/definitions/app.Response"
  16183. }
  16184. }
  16185. }
  16186. }
  16187. },
  16188. "/WrTrade2/QueryWrClientAdSpaceConfig": {
  16189. "get": {
  16190. "security": [
  16191. {
  16192. "ApiKeyAuth": []
  16193. }
  16194. ],
  16195. "produces": [
  16196. "application/json"
  16197. ],
  16198. "tags": [
  16199. "仓单贸易v2"
  16200. ],
  16201. "summary": "查询固定广告配置",
  16202. "responses": {
  16203. "200": {
  16204. "description": "OK",
  16205. "schema": {
  16206. "type": "array",
  16207. "items": {
  16208. "$ref": "#/definitions/models.WrClientAdSpaceConfig"
  16209. }
  16210. }
  16211. },
  16212. "500": {
  16213. "description": "Internal Server Error",
  16214. "schema": {
  16215. "$ref": "#/definitions/app.Response"
  16216. }
  16217. }
  16218. }
  16219. }
  16220. },
  16221. "/WrTrade2/QueryWrDeliveryAvalidHoldLB": {
  16222. "get": {
  16223. "security": [
  16224. {
  16225. "ApiKeyAuth": []
  16226. }
  16227. ],
  16228. "produces": [
  16229. "application/json"
  16230. ],
  16231. "tags": [
  16232. "仓单贸易v2"
  16233. ],
  16234. "summary": "查询合约交收可点选仓单",
  16235. "parameters": [
  16236. {
  16237. "type": "integer",
  16238. "description": "资金账号",
  16239. "name": "accountid",
  16240. "in": "query",
  16241. "required": true
  16242. },
  16243. {
  16244. "type": "integer",
  16245. "description": "商品id",
  16246. "name": "goodsid",
  16247. "in": "query",
  16248. "required": true
  16249. }
  16250. ],
  16251. "responses": {
  16252. "200": {
  16253. "description": "OK",
  16254. "schema": {
  16255. "type": "array",
  16256. "items": {
  16257. "$ref": "#/definitions/models.WrDeliveryAvalidHoldLB"
  16258. }
  16259. }
  16260. },
  16261. "500": {
  16262. "description": "Internal Server Error",
  16263. "schema": {
  16264. "$ref": "#/definitions/app.Response"
  16265. }
  16266. }
  16267. }
  16268. }
  16269. },
  16270. "/WrTrade2/QueryWrDeliveryDetail": {
  16271. "get": {
  16272. "security": [
  16273. {
  16274. "ApiKeyAuth": []
  16275. }
  16276. ],
  16277. "produces": [
  16278. "application/json"
  16279. ],
  16280. "tags": [
  16281. "仓单贸易v2"
  16282. ],
  16283. "summary": "查询交收",
  16284. "parameters": [
  16285. {
  16286. "type": "integer",
  16287. "description": "用户id",
  16288. "name": "userid",
  16289. "in": "query",
  16290. "required": true
  16291. },
  16292. {
  16293. "type": "integer",
  16294. "description": "资金账号id",
  16295. "name": "accountid",
  16296. "in": "query"
  16297. },
  16298. {
  16299. "type": "string",
  16300. "description": "开始交易日(yyyymmdd)",
  16301. "name": "begindate",
  16302. "in": "query"
  16303. },
  16304. {
  16305. "type": "string",
  16306. "description": "结束交易日(yyyymmdd)",
  16307. "name": "enddate",
  16308. "in": "query"
  16309. }
  16310. ],
  16311. "responses": {
  16312. "200": {
  16313. "description": "OK",
  16314. "schema": {
  16315. "type": "array",
  16316. "items": {
  16317. "$ref": "#/definitions/models.WrDeliveryDetail"
  16318. }
  16319. }
  16320. },
  16321. "500": {
  16322. "description": "Internal Server Error",
  16323. "schema": {
  16324. "$ref": "#/definitions/app.Response"
  16325. }
  16326. }
  16327. }
  16328. }
  16329. },
  16330. "/WrTrade2/QueryWrDraftUserInfo": {
  16331. "get": {
  16332. "security": [
  16333. {
  16334. "ApiKeyAuth": []
  16335. }
  16336. ],
  16337. "produces": [
  16338. "application/json"
  16339. ],
  16340. "tags": [
  16341. "仓单贸易v2"
  16342. ],
  16343. "summary": "查询实名认证信息",
  16344. "parameters": [
  16345. {
  16346. "type": "integer",
  16347. "description": "用户ID",
  16348. "name": "userid",
  16349. "in": "query",
  16350. "required": true
  16351. },
  16352. {
  16353. "type": "integer",
  16354. "description": "用户状态 1:正常 2:注销",
  16355. "name": "userstatus",
  16356. "in": "query"
  16357. }
  16358. ],
  16359. "responses": {
  16360. "200": {
  16361. "description": "OK",
  16362. "schema": {
  16363. "type": "array",
  16364. "items": {
  16365. "$ref": "#/definitions/models.WrDraftUserInfo"
  16366. }
  16367. }
  16368. },
  16369. "500": {
  16370. "description": "Internal Server Error",
  16371. "schema": {
  16372. "$ref": "#/definitions/app.Response"
  16373. }
  16374. }
  16375. }
  16376. }
  16377. },
  16378. "/WrTrade2/QueryWrFactorTypeInfo": {
  16379. "get": {
  16380. "security": [
  16381. {
  16382. "ApiKeyAuth": []
  16383. }
  16384. ],
  16385. "produces": [
  16386. "application/json"
  16387. ],
  16388. "tags": [
  16389. "仓单贸易v2"
  16390. ],
  16391. "summary": "查询仓单要素详细信息",
  16392. "parameters": [
  16393. {
  16394. "type": "integer",
  16395. "description": "仓单要素id",
  16396. "name": "wrfactortypeid",
  16397. "in": "query",
  16398. "required": true
  16399. }
  16400. ],
  16401. "responses": {
  16402. "200": {
  16403. "description": "OK",
  16404. "schema": {
  16405. "type": "array",
  16406. "items": {
  16407. "$ref": "#/definitions/models.WrFactorTypeInfo"
  16408. }
  16409. }
  16410. },
  16411. "500": {
  16412. "description": "Internal Server Error",
  16413. "schema": {
  16414. "$ref": "#/definitions/app.Response"
  16415. }
  16416. }
  16417. }
  16418. }
  16419. },
  16420. "/WrTrade2/QueryWrFactorTypeInfoEx": {
  16421. "get": {
  16422. "security": [
  16423. {
  16424. "ApiKeyAuth": []
  16425. }
  16426. ],
  16427. "produces": [
  16428. "application/json"
  16429. ],
  16430. "tags": [
  16431. "仓单贸易v2"
  16432. ],
  16433. "summary": "查询仓单要素详细信息列表项",
  16434. "parameters": [
  16435. {
  16436. "type": "integer",
  16437. "description": "仓单要素id",
  16438. "name": "wrfactortypeid",
  16439. "in": "query",
  16440. "required": true
  16441. }
  16442. ],
  16443. "responses": {
  16444. "200": {
  16445. "description": "OK",
  16446. "schema": {
  16447. "type": "array",
  16448. "items": {
  16449. "$ref": "#/definitions/models.WrTypeItem"
  16450. }
  16451. }
  16452. },
  16453. "500": {
  16454. "description": "Internal Server Error",
  16455. "schema": {
  16456. "$ref": "#/definitions/app.Response"
  16457. }
  16458. }
  16459. }
  16460. }
  16461. },
  16462. "/WrTrade2/QueryWrFinanceBuyApply": {
  16463. "get": {
  16464. "security": [
  16465. {
  16466. "ApiKeyAuth": []
  16467. }
  16468. ],
  16469. "description": "页面 融资信息+ / 申请单",
  16470. "produces": [
  16471. "application/json"
  16472. ],
  16473. "tags": [
  16474. "仓单贸易v2"
  16475. ],
  16476. "summary": "查询融资购买申请",
  16477. "parameters": [
  16478. {
  16479. "type": "integer",
  16480. "description": "用户id",
  16481. "name": "userid",
  16482. "in": "query",
  16483. "required": true
  16484. }
  16485. ],
  16486. "responses": {
  16487. "200": {
  16488. "description": "OK",
  16489. "schema": {
  16490. "type": "array",
  16491. "items": {
  16492. "$ref": "#/definitions/models.WrFinanceBuyApply"
  16493. }
  16494. }
  16495. },
  16496. "500": {
  16497. "description": "Internal Server Error",
  16498. "schema": {
  16499. "$ref": "#/definitions/app.Response"
  16500. }
  16501. }
  16502. }
  16503. }
  16504. },
  16505. "/WrTrade2/QueryWrFriendApply": {
  16506. "get": {
  16507. "security": [
  16508. {
  16509. "ApiKeyAuth": []
  16510. }
  16511. ],
  16512. "produces": [
  16513. "application/json"
  16514. ],
  16515. "tags": [
  16516. "仓单贸易v2"
  16517. ],
  16518. "summary": "查询好友申请记录",
  16519. "parameters": [
  16520. {
  16521. "type": "integer",
  16522. "description": "用户id",
  16523. "name": "userid",
  16524. "in": "query",
  16525. "required": true
  16526. }
  16527. ],
  16528. "responses": {
  16529. "200": {
  16530. "description": "OK",
  16531. "schema": {
  16532. "type": "array",
  16533. "items": {
  16534. "$ref": "#/definitions/models.WrFriendApply"
  16535. }
  16536. }
  16537. },
  16538. "500": {
  16539. "description": "Internal Server Error",
  16540. "schema": {
  16541. "$ref": "#/definitions/app.Response"
  16542. }
  16543. }
  16544. }
  16545. }
  16546. },
  16547. "/WrTrade2/QueryWrGoodsInfo": {
  16548. "get": {
  16549. "security": [
  16550. {
  16551. "ApiKeyAuth": []
  16552. }
  16553. ],
  16554. "produces": [
  16555. "application/json"
  16556. ],
  16557. "tags": [
  16558. "仓单贸易v2"
  16559. ],
  16560. "summary": "查询仓单商品信息",
  16561. "parameters": [
  16562. {
  16563. "type": "integer",
  16564. "description": "仓单贸易市场id",
  16565. "name": "marketid",
  16566. "in": "query"
  16567. },
  16568. {
  16569. "type": "integer",
  16570. "description": "0:仓单预售 1:仓单贸易",
  16571. "name": "haswr",
  16572. "in": "query",
  16573. "required": true
  16574. },
  16575. {
  16576. "type": "integer",
  16577. "description": "仓单要素id",
  16578. "name": "wrfactortypeid",
  16579. "in": "query",
  16580. "required": true
  16581. },
  16582. {
  16583. "type": "integer",
  16584. "description": "履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)",
  16585. "name": "tmplateid",
  16586. "in": "query"
  16587. }
  16588. ],
  16589. "responses": {
  16590. "200": {
  16591. "description": "OK",
  16592. "schema": {
  16593. "type": "array",
  16594. "items": {
  16595. "$ref": "#/definitions/models.WrGoodsInfo"
  16596. }
  16597. }
  16598. },
  16599. "500": {
  16600. "description": "Internal Server Error",
  16601. "schema": {
  16602. "$ref": "#/definitions/app.Response"
  16603. }
  16604. }
  16605. }
  16606. }
  16607. },
  16608. "/WrTrade2/QueryWrMarketTradeConfig": {
  16609. "get": {
  16610. "security": [
  16611. {
  16612. "ApiKeyAuth": []
  16613. }
  16614. ],
  16615. "produces": [
  16616. "application/json"
  16617. ],
  16618. "tags": [
  16619. "仓单贸易v2"
  16620. ],
  16621. "summary": "查询市场交易参数配置",
  16622. "parameters": [
  16623. {
  16624. "type": "integer",
  16625. "description": "市场id",
  16626. "name": "marketid",
  16627. "in": "query"
  16628. }
  16629. ],
  16630. "responses": {
  16631. "200": {
  16632. "description": "OK",
  16633. "schema": {
  16634. "type": "array",
  16635. "items": {
  16636. "$ref": "#/definitions/models.WrMarketTradeConfig"
  16637. }
  16638. }
  16639. },
  16640. "500": {
  16641. "description": "Internal Server Error",
  16642. "schema": {
  16643. "$ref": "#/definitions/app.Response"
  16644. }
  16645. }
  16646. }
  16647. }
  16648. },
  16649. "/WrTrade2/QueryWrOrderDetail": {
  16650. "get": {
  16651. "security": [
  16652. {
  16653. "ApiKeyAuth": []
  16654. }
  16655. ],
  16656. "description": "页面 现货仓单 | 预售仓单 -\u003e 委托单",
  16657. "produces": [
  16658. "application/json"
  16659. ],
  16660. "tags": [
  16661. "仓单贸易v2"
  16662. ],
  16663. "summary": "查询仓单委托单",
  16664. "parameters": [
  16665. {
  16666. "type": "integer",
  16667. "description": "页码",
  16668. "name": "page",
  16669. "in": "query"
  16670. },
  16671. {
  16672. "type": "integer",
  16673. "description": "每页条数",
  16674. "name": "pagesize",
  16675. "in": "query"
  16676. },
  16677. {
  16678. "type": "integer",
  16679. "description": "用户id",
  16680. "name": "userid",
  16681. "in": "query",
  16682. "required": true
  16683. },
  16684. {
  16685. "type": "integer",
  16686. "description": "仓单贸易市场id",
  16687. "name": "marketid",
  16688. "in": "query"
  16689. },
  16690. {
  16691. "type": "integer",
  16692. "description": "0:仓单预售 1:仓单贸易",
  16693. "name": "haswr",
  16694. "in": "query",
  16695. "required": true
  16696. },
  16697. {
  16698. "type": "integer",
  16699. "description": "是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场",
  16700. "name": "bcancel",
  16701. "in": "query"
  16702. },
  16703. {
  16704. "type": "integer",
  16705. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  16706. "name": "wrtradetype",
  16707. "in": "query"
  16708. },
  16709. {
  16710. "type": "string",
  16711. "description": "开始交易日(yyyymmdd)",
  16712. "name": "begindate",
  16713. "in": "query"
  16714. },
  16715. {
  16716. "type": "string",
  16717. "description": "结束交易日(yyyymmdd)",
  16718. "name": "enddate",
  16719. "in": "query"
  16720. }
  16721. ],
  16722. "responses": {
  16723. "200": {
  16724. "description": "OK",
  16725. "schema": {
  16726. "type": "array",
  16727. "items": {
  16728. "$ref": "#/definitions/models.WrOrderDetail"
  16729. }
  16730. }
  16731. },
  16732. "500": {
  16733. "description": "Internal Server Error",
  16734. "schema": {
  16735. "$ref": "#/definitions/app.Response"
  16736. }
  16737. }
  16738. }
  16739. }
  16740. },
  16741. "/WrTrade2/QueryWrOutInApply": {
  16742. "get": {
  16743. "security": [
  16744. {
  16745. "ApiKeyAuth": []
  16746. }
  16747. ],
  16748. "produces": [
  16749. "application/json"
  16750. ],
  16751. "tags": [
  16752. "仓单贸易v2"
  16753. ],
  16754. "summary": "查询提货申请",
  16755. "parameters": [
  16756. {
  16757. "type": "integer",
  16758. "description": "页码",
  16759. "name": "page",
  16760. "in": "query"
  16761. },
  16762. {
  16763. "type": "integer",
  16764. "description": "每页条数",
  16765. "name": "pagesize",
  16766. "in": "query"
  16767. },
  16768. {
  16769. "type": "integer",
  16770. "description": "用户id",
  16771. "name": "userid",
  16772. "in": "query",
  16773. "required": true
  16774. },
  16775. {
  16776. "type": "string",
  16777. "description": "开始交易日(yyyymmdd)",
  16778. "name": "begindate",
  16779. "in": "query"
  16780. },
  16781. {
  16782. "type": "string",
  16783. "description": "结束交易日(yyyymmdd)",
  16784. "name": "enddate",
  16785. "in": "query"
  16786. }
  16787. ],
  16788. "responses": {
  16789. "200": {
  16790. "description": "OK",
  16791. "schema": {
  16792. "type": "array",
  16793. "items": {
  16794. "$ref": "#/definitions/models.WrOutInApply"
  16795. }
  16796. }
  16797. },
  16798. "500": {
  16799. "description": "Internal Server Error",
  16800. "schema": {
  16801. "$ref": "#/definitions/app.Response"
  16802. }
  16803. }
  16804. }
  16805. }
  16806. },
  16807. "/WrTrade2/QueryWrPerformancePlanStep": {
  16808. "get": {
  16809. "security": [
  16810. {
  16811. "ApiKeyAuth": []
  16812. }
  16813. ],
  16814. "produces": [
  16815. "application/json"
  16816. ],
  16817. "tags": [
  16818. "仓单贸易v2"
  16819. ],
  16820. "summary": "查询履约信息详情",
  16821. "parameters": [
  16822. {
  16823. "type": "integer",
  16824. "description": "履约计划id(performanceplanid)",
  16825. "name": "planid",
  16826. "in": "query",
  16827. "required": true
  16828. },
  16829. {
  16830. "type": "integer",
  16831. "description": "当前步骤id",
  16832. "name": "curstepid",
  16833. "in": "query"
  16834. }
  16835. ],
  16836. "responses": {
  16837. "200": {
  16838. "description": "OK",
  16839. "schema": {
  16840. "type": "array",
  16841. "items": {
  16842. "$ref": "#/definitions/models.WrPerformancePlanStep"
  16843. }
  16844. }
  16845. },
  16846. "500": {
  16847. "description": "Internal Server Error",
  16848. "schema": {
  16849. "$ref": "#/definitions/app.Response"
  16850. }
  16851. }
  16852. }
  16853. }
  16854. },
  16855. "/WrTrade2/QueryWrPerformanceStepType": {
  16856. "get": {
  16857. "security": [
  16858. {
  16859. "ApiKeyAuth": []
  16860. }
  16861. ],
  16862. "produces": [
  16863. "application/json"
  16864. ],
  16865. "tags": [
  16866. "仓单贸易v2"
  16867. ],
  16868. "summary": "查询履约步骤枚举",
  16869. "responses": {
  16870. "200": {
  16871. "description": "OK",
  16872. "schema": {
  16873. "type": "array",
  16874. "items": {
  16875. "$ref": "#/definitions/models.WrPerformanceStepType"
  16876. }
  16877. }
  16878. },
  16879. "500": {
  16880. "description": "Internal Server Error",
  16881. "schema": {
  16882. "$ref": "#/definitions/app.Response"
  16883. }
  16884. }
  16885. }
  16886. }
  16887. },
  16888. "/WrTrade2/QueryWrPosition": {
  16889. "get": {
  16890. "security": [
  16891. {
  16892. "ApiKeyAuth": []
  16893. }
  16894. ],
  16895. "description": "页面 现货仓单-\u003e现货汇总/库存汇总; 预售仓单-\u003e订单汇总",
  16896. "produces": [
  16897. "application/json"
  16898. ],
  16899. "tags": [
  16900. "仓单贸易v2"
  16901. ],
  16902. "summary": "查询现货(预售)仓单持仓",
  16903. "parameters": [
  16904. {
  16905. "type": "integer",
  16906. "description": "用户id",
  16907. "name": "userid",
  16908. "in": "query",
  16909. "required": true
  16910. },
  16911. {
  16912. "type": "integer",
  16913. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  16914. "name": "querytype",
  16915. "in": "query",
  16916. "required": true
  16917. },
  16918. {
  16919. "type": "integer",
  16920. "description": "0:仓单预售 1:仓单贸易",
  16921. "name": "haswr",
  16922. "in": "query",
  16923. "required": true
  16924. },
  16925. {
  16926. "type": "string",
  16927. "description": "商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm",
  16928. "name": "dgitemname",
  16929. "in": "query"
  16930. },
  16931. {
  16932. "type": "integer",
  16933. "description": "仓库id(筛选条件)",
  16934. "name": "warehouseid",
  16935. "in": "query"
  16936. },
  16937. {
  16938. "type": "integer",
  16939. "description": "品种id",
  16940. "name": "deliverygoodsid",
  16941. "in": "query"
  16942. },
  16943. {
  16944. "type": "integer",
  16945. "description": "品类id",
  16946. "name": "wrstandardid",
  16947. "in": "query"
  16948. }
  16949. ],
  16950. "responses": {
  16951. "200": {
  16952. "description": "OK",
  16953. "schema": {
  16954. "type": "array",
  16955. "items": {
  16956. "$ref": "#/definitions/models.WrPosition"
  16957. }
  16958. }
  16959. },
  16960. "500": {
  16961. "description": "Internal Server Error",
  16962. "schema": {
  16963. "$ref": "#/definitions/app.Response"
  16964. }
  16965. }
  16966. }
  16967. }
  16968. },
  16969. "/WrTrade2/QueryWrPreSaleInfo": {
  16970. "get": {
  16971. "security": [
  16972. {
  16973. "ApiKeyAuth": []
  16974. }
  16975. ],
  16976. "produces": [
  16977. "application/json"
  16978. ],
  16979. "tags": [
  16980. "仓单贸易v2"
  16981. ],
  16982. "summary": "查询新品发布",
  16983. "parameters": [
  16984. {
  16985. "type": "integer",
  16986. "description": "市场id",
  16987. "name": "marketid",
  16988. "in": "query"
  16989. },
  16990. {
  16991. "type": "string",
  16992. "description": "预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭",
  16993. "name": "presalestatus",
  16994. "in": "query"
  16995. },
  16996. {
  16997. "type": "integer",
  16998. "description": "摇号标识 - 0:未摇号 1:已摇号",
  16999. "name": "lotteryflag",
  17000. "in": "query"
  17001. },
  17002. {
  17003. "type": "integer",
  17004. "description": "最近多少条记录(按创建时间倒序)",
  17005. "name": "lastnum",
  17006. "in": "query"
  17007. }
  17008. ],
  17009. "responses": {
  17010. "200": {
  17011. "description": "OK",
  17012. "schema": {
  17013. "type": "array",
  17014. "items": {
  17015. "$ref": "#/definitions/models.WrPreSaleInfo"
  17016. }
  17017. }
  17018. },
  17019. "500": {
  17020. "description": "Internal Server Error",
  17021. "schema": {
  17022. "$ref": "#/definitions/app.Response"
  17023. }
  17024. }
  17025. }
  17026. }
  17027. },
  17028. "/WrTrade2/QueryWrReckonSpotGoodsTradeSum": {
  17029. "get": {
  17030. "security": [
  17031. {
  17032. "ApiKeyAuth": []
  17033. }
  17034. ],
  17035. "produces": [
  17036. "application/json"
  17037. ],
  17038. "tags": [
  17039. "仓单贸易v2"
  17040. ],
  17041. "summary": "查询价格走势",
  17042. "parameters": [
  17043. {
  17044. "type": "integer",
  17045. "description": "市场id",
  17046. "name": "marketid",
  17047. "in": "query",
  17048. "required": true
  17049. },
  17050. {
  17051. "type": "integer",
  17052. "description": "现货商品id",
  17053. "name": "wrstandardid",
  17054. "in": "query",
  17055. "required": true
  17056. },
  17057. {
  17058. "type": "string",
  17059. "description": "开始交易日(yyyymmdd)",
  17060. "name": "begindate",
  17061. "in": "query"
  17062. },
  17063. {
  17064. "type": "string",
  17065. "description": "结束交易日(yyyymmdd)",
  17066. "name": "enddate",
  17067. "in": "query"
  17068. },
  17069. {
  17070. "type": "integer",
  17071. "description": "最近多少条记录(按交易日倒序)",
  17072. "name": "lastnum",
  17073. "in": "query"
  17074. },
  17075. {
  17076. "type": "boolean",
  17077. "description": "是否今日",
  17078. "name": "istoday",
  17079. "in": "query"
  17080. }
  17081. ],
  17082. "responses": {
  17083. "200": {
  17084. "description": "OK",
  17085. "schema": {
  17086. "type": "array",
  17087. "items": {
  17088. "$ref": "#/definitions/models.WrReckonSpotGoodsTradeSum"
  17089. }
  17090. }
  17091. },
  17092. "500": {
  17093. "description": "Internal Server Error",
  17094. "schema": {
  17095. "$ref": "#/definitions/app.Response"
  17096. }
  17097. }
  17098. }
  17099. }
  17100. },
  17101. "/WrTrade2/QueryWrScfContract": {
  17102. "get": {
  17103. "security": [
  17104. {
  17105. "ApiKeyAuth": []
  17106. }
  17107. ],
  17108. "produces": [
  17109. "application/json"
  17110. ],
  17111. "tags": [
  17112. "仓单贸易v2"
  17113. ],
  17114. "summary": "查询仓单贸易融资合同",
  17115. "parameters": [
  17116. {
  17117. "type": "integer",
  17118. "description": "用户id",
  17119. "name": "userid",
  17120. "in": "query",
  17121. "required": true
  17122. },
  17123. {
  17124. "type": "integer",
  17125. "description": "融资合同id",
  17126. "name": "scfcontractid",
  17127. "in": "query"
  17128. }
  17129. ],
  17130. "responses": {
  17131. "200": {
  17132. "description": "OK",
  17133. "schema": {
  17134. "type": "array",
  17135. "items": {
  17136. "$ref": "#/definitions/models.WrScfContract"
  17137. }
  17138. }
  17139. },
  17140. "500": {
  17141. "description": "Internal Server Error",
  17142. "schema": {
  17143. "$ref": "#/definitions/app.Response"
  17144. }
  17145. }
  17146. }
  17147. }
  17148. },
  17149. "/WrTrade2/QueryWrScfContractInterest": {
  17150. "get": {
  17151. "security": [
  17152. {
  17153. "ApiKeyAuth": []
  17154. }
  17155. ],
  17156. "produces": [
  17157. "application/json"
  17158. ],
  17159. "tags": [
  17160. "仓单贸易v2"
  17161. ],
  17162. "summary": "查询融资合同费用明细",
  17163. "parameters": [
  17164. {
  17165. "type": "integer",
  17166. "description": "融资合同id",
  17167. "name": "scfcontractid",
  17168. "in": "query"
  17169. }
  17170. ],
  17171. "responses": {
  17172. "200": {
  17173. "description": "OK",
  17174. "schema": {
  17175. "type": "array",
  17176. "items": {
  17177. "$ref": "#/definitions/models.WrScfContractInterest"
  17178. }
  17179. }
  17180. },
  17181. "500": {
  17182. "description": "Internal Server Error",
  17183. "schema": {
  17184. "$ref": "#/definitions/app.Response"
  17185. }
  17186. }
  17187. }
  17188. }
  17189. },
  17190. "/WrTrade2/QueryWrSearchUser": {
  17191. "get": {
  17192. "security": [
  17193. {
  17194. "ApiKeyAuth": []
  17195. }
  17196. ],
  17197. "produces": [
  17198. "application/json"
  17199. ],
  17200. "tags": [
  17201. "仓单贸易v2"
  17202. ],
  17203. "summary": "查询用户",
  17204. "parameters": [
  17205. {
  17206. "type": "string",
  17207. "description": "用户名称(模糊匹配)",
  17208. "name": "username",
  17209. "in": "query",
  17210. "required": true
  17211. }
  17212. ],
  17213. "responses": {
  17214. "200": {
  17215. "description": "OK",
  17216. "schema": {
  17217. "type": "array",
  17218. "items": {
  17219. "$ref": "#/definitions/models.WrSearchUser"
  17220. }
  17221. }
  17222. },
  17223. "500": {
  17224. "description": "Internal Server Error",
  17225. "schema": {
  17226. "$ref": "#/definitions/app.Response"
  17227. }
  17228. }
  17229. }
  17230. }
  17231. },
  17232. "/WrTrade2/QueryWrSpecialMatchOrder": {
  17233. "get": {
  17234. "security": [
  17235. {
  17236. "ApiKeyAuth": []
  17237. }
  17238. ],
  17239. "description": "页面 现货仓单 | 预售仓单 -\u003e 指定成交",
  17240. "produces": [
  17241. "application/json"
  17242. ],
  17243. "tags": [
  17244. "仓单贸易v2"
  17245. ],
  17246. "summary": "查询指定成交",
  17247. "parameters": [
  17248. {
  17249. "type": "integer",
  17250. "description": "页码",
  17251. "name": "page",
  17252. "in": "query"
  17253. },
  17254. {
  17255. "type": "integer",
  17256. "description": "每页条数",
  17257. "name": "pagesize",
  17258. "in": "query"
  17259. },
  17260. {
  17261. "type": "integer",
  17262. "description": "用户id",
  17263. "name": "userid",
  17264. "in": "query",
  17265. "required": true
  17266. },
  17267. {
  17268. "type": "integer",
  17269. "description": "仓单贸易市场id",
  17270. "name": "marketid",
  17271. "in": "query"
  17272. },
  17273. {
  17274. "type": "integer",
  17275. "description": "0:仓单预售 1:仓单贸易",
  17276. "name": "haswr",
  17277. "in": "query",
  17278. "required": true
  17279. },
  17280. {
  17281. "type": "integer",
  17282. "description": "1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  17283. "name": "isspecified",
  17284. "in": "query"
  17285. }
  17286. ],
  17287. "responses": {
  17288. "200": {
  17289. "description": "OK",
  17290. "schema": {
  17291. "type": "array",
  17292. "items": {
  17293. "$ref": "#/definitions/models.WrSpecialMatchOrder"
  17294. }
  17295. }
  17296. },
  17297. "500": {
  17298. "description": "Internal Server Error",
  17299. "schema": {
  17300. "$ref": "#/definitions/app.Response"
  17301. }
  17302. }
  17303. }
  17304. }
  17305. },
  17306. "/WrTrade2/QueryWrStandardFactoryItem": {
  17307. "get": {
  17308. "security": [
  17309. {
  17310. "ApiKeyAuth": []
  17311. }
  17312. ],
  17313. "produces": [
  17314. "application/json"
  17315. ],
  17316. "tags": [
  17317. "仓单贸易v2"
  17318. ],
  17319. "summary": "查询品类要素定义项",
  17320. "parameters": [
  17321. {
  17322. "type": "integer",
  17323. "description": "品类id",
  17324. "name": "wrstandardid",
  17325. "in": "query",
  17326. "required": true
  17327. }
  17328. ],
  17329. "responses": {
  17330. "200": {
  17331. "description": "OK",
  17332. "schema": {
  17333. "type": "array",
  17334. "items": {
  17335. "$ref": "#/definitions/models.WrStandardFactoryItemEx"
  17336. }
  17337. }
  17338. },
  17339. "500": {
  17340. "description": "Internal Server Error",
  17341. "schema": {
  17342. "$ref": "#/definitions/app.Response"
  17343. }
  17344. }
  17345. }
  17346. }
  17347. },
  17348. "/WrTrade2/QueryWrTradeBargainApply": {
  17349. "get": {
  17350. "security": [
  17351. {
  17352. "ApiKeyAuth": []
  17353. }
  17354. ],
  17355. "description": "1.页面 挂单/议价单, 只需传单号就行 \u003cbr\u003e2.页面 议价-\u003e我的议价 参数 userid=登录userid \u003cbr\u003e3.页面 议价-\u003e对方议价 填写matchuserid=登录用户id",
  17356. "produces": [
  17357. "application/json"
  17358. ],
  17359. "tags": [
  17360. "仓单贸易v2"
  17361. ],
  17362. "summary": "查询议价单",
  17363. "parameters": [
  17364. {
  17365. "type": "integer",
  17366. "description": "议价人id(摘牌方)",
  17367. "name": "userid",
  17368. "in": "query"
  17369. },
  17370. {
  17371. "type": "integer",
  17372. "description": "挂牌方id(查对方议价时,填写此项)",
  17373. "name": "matchuserid",
  17374. "in": "query"
  17375. },
  17376. {
  17377. "type": "integer",
  17378. "description": "关联委托单id",
  17379. "name": "wrtradeorderid",
  17380. "in": "query"
  17381. },
  17382. {
  17383. "type": "integer",
  17384. "description": "0:仓单预售 1:仓单贸易",
  17385. "name": "haswr",
  17386. "in": "query",
  17387. "required": true
  17388. },
  17389. {
  17390. "type": "string",
  17391. "description": "开始交易日(yyyymmdd)",
  17392. "name": "begindate",
  17393. "in": "query"
  17394. },
  17395. {
  17396. "type": "string",
  17397. "description": "结束交易日(yyyymmdd)",
  17398. "name": "enddate",
  17399. "in": "query"
  17400. }
  17401. ],
  17402. "responses": {
  17403. "200": {
  17404. "description": "OK",
  17405. "schema": {
  17406. "type": "array",
  17407. "items": {
  17408. "$ref": "#/definitions/models.WRTradeBargainApply"
  17409. }
  17410. }
  17411. },
  17412. "500": {
  17413. "description": "Internal Server Error",
  17414. "schema": {
  17415. "$ref": "#/definitions/app.Response"
  17416. }
  17417. }
  17418. }
  17419. }
  17420. },
  17421. "/WrTrade2/QueryWrTradeDetail": {
  17422. "get": {
  17423. "security": [
  17424. {
  17425. "ApiKeyAuth": []
  17426. }
  17427. ],
  17428. "produces": [
  17429. "application/json"
  17430. ],
  17431. "tags": [
  17432. "仓单贸易v2"
  17433. ],
  17434. "summary": "查询仓单成交明细",
  17435. "parameters": [
  17436. {
  17437. "type": "integer",
  17438. "description": "页码",
  17439. "name": "page",
  17440. "in": "query"
  17441. },
  17442. {
  17443. "type": "integer",
  17444. "description": "每页条数",
  17445. "name": "pagesize",
  17446. "in": "query"
  17447. },
  17448. {
  17449. "type": "integer",
  17450. "description": "用户id",
  17451. "name": "userid",
  17452. "in": "query",
  17453. "required": true
  17454. },
  17455. {
  17456. "type": "integer",
  17457. "description": "仓单贸易市场id",
  17458. "name": "marketid",
  17459. "in": "query"
  17460. },
  17461. {
  17462. "type": "integer",
  17463. "description": "0:仓单预售 1:仓单贸易",
  17464. "name": "haswr",
  17465. "in": "query",
  17466. "required": true
  17467. },
  17468. {
  17469. "type": "string",
  17470. "description": "开始交易日(yyyymmdd)",
  17471. "name": "begindate",
  17472. "in": "query"
  17473. },
  17474. {
  17475. "type": "string",
  17476. "description": "结束交易日(yyyymmdd)",
  17477. "name": "enddate",
  17478. "in": "query"
  17479. }
  17480. ],
  17481. "responses": {
  17482. "200": {
  17483. "description": "OK",
  17484. "schema": {
  17485. "type": "array",
  17486. "items": {
  17487. "$ref": "#/definitions/models.WrTradeDetail"
  17488. }
  17489. }
  17490. },
  17491. "500": {
  17492. "description": "Internal Server Error",
  17493. "schema": {
  17494. "$ref": "#/definitions/app.Response"
  17495. }
  17496. }
  17497. }
  17498. }
  17499. },
  17500. "/WrTrade2/QueryWrTradeOrderDetail": {
  17501. "get": {
  17502. "security": [
  17503. {
  17504. "ApiKeyAuth": []
  17505. }
  17506. ],
  17507. "produces": [
  17508. "application/json"
  17509. ],
  17510. "tags": [
  17511. "仓单贸易v2"
  17512. ],
  17513. "summary": "查询合约交易买卖大厅",
  17514. "parameters": [
  17515. {
  17516. "type": "integer",
  17517. "description": "页码",
  17518. "name": "page",
  17519. "in": "query"
  17520. },
  17521. {
  17522. "type": "integer",
  17523. "description": "每页条数",
  17524. "name": "pagesize",
  17525. "in": "query"
  17526. },
  17527. {
  17528. "type": "integer",
  17529. "description": "商品id",
  17530. "name": "goodsid",
  17531. "in": "query",
  17532. "required": true
  17533. },
  17534. {
  17535. "type": "integer",
  17536. "description": "买卖方向 0-买 1-卖",
  17537. "name": "buyorsell",
  17538. "in": "query",
  17539. "required": true
  17540. }
  17541. ],
  17542. "responses": {
  17543. "200": {
  17544. "description": "OK",
  17545. "schema": {
  17546. "type": "array",
  17547. "items": {
  17548. "$ref": "#/definitions/models.WrTradeOrderDetail"
  17549. }
  17550. }
  17551. },
  17552. "500": {
  17553. "description": "Internal Server Error",
  17554. "schema": {
  17555. "$ref": "#/definitions/app.Response"
  17556. }
  17557. }
  17558. }
  17559. }
  17560. },
  17561. "/WrTrade2/QueryWrTradeQuote": {
  17562. "get": {
  17563. "security": [
  17564. {
  17565. "ApiKeyAuth": []
  17566. }
  17567. ],
  17568. "produces": [
  17569. "application/json"
  17570. ],
  17571. "tags": [
  17572. "仓单贸易v2"
  17573. ],
  17574. "summary": "查询仓单贸易成交行情",
  17575. "parameters": [
  17576. {
  17577. "type": "integer",
  17578. "description": "现货商品id",
  17579. "name": "wrstandardid",
  17580. "in": "query",
  17581. "required": true
  17582. },
  17583. {
  17584. "type": "string",
  17585. "description": "开始日期(yyyymmdd)",
  17586. "name": "begindate",
  17587. "in": "query",
  17588. "required": true
  17589. },
  17590. {
  17591. "type": "string",
  17592. "description": "结束日期(yyyymmdd)",
  17593. "name": "enddate",
  17594. "in": "query",
  17595. "required": true
  17596. },
  17597. {
  17598. "type": "integer",
  17599. "description": "市场id",
  17600. "name": "marketid",
  17601. "in": "query"
  17602. }
  17603. ],
  17604. "responses": {
  17605. "200": {
  17606. "description": "OK",
  17607. "schema": {
  17608. "type": "array",
  17609. "items": {
  17610. "$ref": "#/definitions/models.Wrtradetradequote"
  17611. }
  17612. }
  17613. },
  17614. "500": {
  17615. "description": "Internal Server Error",
  17616. "schema": {
  17617. "$ref": "#/definitions/app.Response"
  17618. }
  17619. }
  17620. }
  17621. }
  17622. },
  17623. "/WrTrade2/QueryWrUserFriend": {
  17624. "get": {
  17625. "security": [
  17626. {
  17627. "ApiKeyAuth": []
  17628. }
  17629. ],
  17630. "produces": [
  17631. "application/json"
  17632. ],
  17633. "tags": [
  17634. "仓单贸易v2"
  17635. ],
  17636. "summary": "查询我的朋友",
  17637. "parameters": [
  17638. {
  17639. "type": "integer",
  17640. "description": "用户id",
  17641. "name": "userid",
  17642. "in": "query",
  17643. "required": true
  17644. },
  17645. {
  17646. "type": "integer",
  17647. "description": "新朋友userid, 如果填写了此项则查找新朋友",
  17648. "name": "newuserid",
  17649. "in": "query"
  17650. }
  17651. ],
  17652. "responses": {
  17653. "200": {
  17654. "description": "OK",
  17655. "schema": {
  17656. "type": "array",
  17657. "items": {
  17658. "$ref": "#/definitions/models.WrUserFriend"
  17659. }
  17660. }
  17661. },
  17662. "500": {
  17663. "description": "Internal Server Error",
  17664. "schema": {
  17665. "$ref": "#/definitions/app.Response"
  17666. }
  17667. }
  17668. }
  17669. }
  17670. },
  17671. "/WrTrade2/QueryWrUserReceiptInfo": {
  17672. "get": {
  17673. "security": [
  17674. {
  17675. "ApiKeyAuth": []
  17676. }
  17677. ],
  17678. "produces": [
  17679. "application/json"
  17680. ],
  17681. "tags": [
  17682. "仓单贸易v2"
  17683. ],
  17684. "summary": "查询发票信息",
  17685. "parameters": [
  17686. {
  17687. "type": "integer",
  17688. "description": "用户id",
  17689. "name": "userid",
  17690. "in": "query"
  17691. },
  17692. {
  17693. "type": "integer",
  17694. "description": "发票类型 - 1:个人 2:企业",
  17695. "name": "receipttype",
  17696. "in": "query"
  17697. }
  17698. ],
  17699. "responses": {
  17700. "200": {
  17701. "description": "OK",
  17702. "schema": {
  17703. "type": "array",
  17704. "items": {
  17705. "$ref": "#/definitions/models.WrUserReceiptInfo"
  17706. }
  17707. }
  17708. },
  17709. "500": {
  17710. "description": "Internal Server Error",
  17711. "schema": {
  17712. "$ref": "#/definitions/app.Response"
  17713. }
  17714. }
  17715. }
  17716. }
  17717. },
  17718. "/WrTrade2/QueryXhcpSellBackApply": {
  17719. "get": {
  17720. "security": [
  17721. {
  17722. "ApiKeyAuth": []
  17723. }
  17724. ],
  17725. "produces": [
  17726. "application/json"
  17727. ],
  17728. "tags": [
  17729. "仓单贸易v2"
  17730. ],
  17731. "summary": "查询我的回收申请(新会陈皮)",
  17732. "parameters": [
  17733. {
  17734. "type": "integer",
  17735. "description": "用户ID",
  17736. "name": "userid",
  17737. "in": "query",
  17738. "required": true
  17739. }
  17740. ],
  17741. "responses": {
  17742. "200": {
  17743. "description": "OK",
  17744. "schema": {
  17745. "type": "array",
  17746. "items": {
  17747. "$ref": "#/definitions/models.Xhcpsellbackapply"
  17748. }
  17749. }
  17750. },
  17751. "500": {
  17752. "description": "Internal Server Error",
  17753. "schema": {
  17754. "$ref": "#/definitions/app.Response"
  17755. }
  17756. }
  17757. }
  17758. }
  17759. },
  17760. "/ZJ/GetBankTip": {
  17761. "get": {
  17762. "produces": [
  17763. "application/json"
  17764. ],
  17765. "tags": [
  17766. "中江"
  17767. ],
  17768. "summary": "获取中江网银端出入金提示信息",
  17769. "responses": {
  17770. "200": {
  17771. "description": "OK",
  17772. "schema": {
  17773. "type": "string"
  17774. }
  17775. },
  17776. "500": {
  17777. "description": "Internal Server Error",
  17778. "schema": {
  17779. "$ref": "#/definitions/app.Response"
  17780. }
  17781. }
  17782. }
  17783. }
  17784. },
  17785. "/ZJ/GetCusBankChannels": {
  17786. "get": {
  17787. "produces": [
  17788. "application/json"
  17789. ],
  17790. "tags": [
  17791. "中江"
  17792. ],
  17793. "summary": "获取中江出入金渠道显示列表",
  17794. "responses": {
  17795. "200": {
  17796. "description": "OK",
  17797. "schema": {
  17798. "type": "array",
  17799. "items": {
  17800. "type": "string"
  17801. }
  17802. }
  17803. },
  17804. "500": {
  17805. "description": "Internal Server Error",
  17806. "schema": {
  17807. "$ref": "#/definitions/app.Response"
  17808. }
  17809. }
  17810. }
  17811. }
  17812. }
  17813. },
  17814. "definitions": {
  17815. "app.Response": {
  17816. "type": "object",
  17817. "properties": {
  17818. "code": {
  17819. "type": "integer"
  17820. },
  17821. "data": {},
  17822. "msg": {
  17823. "type": "string"
  17824. },
  17825. "page": {
  17826. "description": "页码",
  17827. "type": "integer"
  17828. },
  17829. "pagesize": {
  17830. "description": "每页条数",
  17831. "type": "integer"
  17832. },
  17833. "total": {
  17834. "description": "总条数",
  17835. "type": "integer"
  17836. }
  17837. }
  17838. },
  17839. "common.ClientMenu": {
  17840. "type": "object",
  17841. "properties": {
  17842. "children": {
  17843. "description": "子菜单列表",
  17844. "type": "array",
  17845. "items": {
  17846. "$ref": "#/definitions/common.ClientMenu"
  17847. }
  17848. },
  17849. "code": {
  17850. "description": "ID",
  17851. "type": "string"
  17852. },
  17853. "isshow": {
  17854. "description": "是否显示",
  17855. "type": "boolean"
  17856. },
  17857. "remark": {
  17858. "description": "备注",
  17859. "type": "string"
  17860. },
  17861. "rulekey": {
  17862. "description": "对应权限主键,对应FUNCMENULIST表RESOURCECODE",
  17863. "type": "string"
  17864. },
  17865. "sort": {
  17866. "description": "排序",
  17867. "type": "integer"
  17868. },
  17869. "title": {
  17870. "description": "标题",
  17871. "type": "string"
  17872. },
  17873. "type": {
  17874. "description": "类型,1:菜单 2:按钮",
  17875. "type": "integer"
  17876. },
  17877. "url": {
  17878. "description": "URL",
  17879. "type": "string"
  17880. }
  17881. }
  17882. },
  17883. "common.PCWebMenu": {
  17884. "type": "object",
  17885. "properties": {
  17886. "auth": {
  17887. "description": "页面权限列表",
  17888. "type": "array",
  17889. "items": {
  17890. "$ref": "#/definitions/common.PCWebMenuAuth"
  17891. }
  17892. },
  17893. "children": {
  17894. "description": "子菜单列表",
  17895. "type": "array",
  17896. "items": {
  17897. "$ref": "#/definitions/common.PCWebMenu"
  17898. }
  17899. },
  17900. "code": {
  17901. "description": "ID,新版本中权限KEY也是这个字段",
  17902. "type": "string"
  17903. },
  17904. "component": {
  17905. "description": "路由组件",
  17906. "type": "string"
  17907. },
  17908. "isshow": {
  17909. "description": "是否显示",
  17910. "type": "boolean"
  17911. },
  17912. "path": {
  17913. "description": "路由路径",
  17914. "type": "string"
  17915. },
  17916. "remark": {
  17917. "description": "备注",
  17918. "type": "string"
  17919. },
  17920. "rulekey": {
  17921. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17922. "type": "string"
  17923. },
  17924. "sort": {
  17925. "description": "排序",
  17926. "type": "integer"
  17927. },
  17928. "title": {
  17929. "description": "标题",
  17930. "type": "string"
  17931. },
  17932. "url": {
  17933. "description": "URL",
  17934. "type": "string"
  17935. }
  17936. }
  17937. },
  17938. "common.PCWebMenuAuth": {
  17939. "type": "object",
  17940. "properties": {
  17941. "code": {
  17942. "description": "ID,新版本中权限KEY也是这个字段",
  17943. "type": "string"
  17944. },
  17945. "isshow": {
  17946. "description": "是否显示",
  17947. "type": "boolean"
  17948. },
  17949. "label": {
  17950. "description": "标题",
  17951. "type": "string"
  17952. },
  17953. "remark": {
  17954. "description": "备注",
  17955. "type": "string"
  17956. },
  17957. "rulekey": {
  17958. "description": "权限主键,非空表示需要判断控制,非空值不可重复",
  17959. "type": "string"
  17960. }
  17961. }
  17962. },
  17963. "common.QueryImageConfigsRsp": {
  17964. "type": "object",
  17965. "required": [
  17966. "configid"
  17967. ],
  17968. "properties": {
  17969. "areauserid": {
  17970. "description": "所属机构ID",
  17971. "type": "integer"
  17972. },
  17973. "configid": {
  17974. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  17975. "type": "integer"
  17976. },
  17977. "createdate": {
  17978. "description": "创建时间",
  17979. "type": "string"
  17980. },
  17981. "creatorid": {
  17982. "description": "创建人",
  17983. "type": "integer"
  17984. },
  17985. "imagedetailpath": {
  17986. "description": "详情图片 [UrlType = 3时 有且必填,其它类型不需要]",
  17987. "type": "string"
  17988. },
  17989. "imagepath": {
  17990. "description": "图片",
  17991. "type": "string"
  17992. },
  17993. "imagetype": {
  17994. "description": "类型 - 1:首页轮播(移动) 2:我的(移动)",
  17995. "type": "integer"
  17996. },
  17997. "isshow": {
  17998. "description": "是否展示 - 0:不展示 1:展示",
  17999. "type": "integer"
  18000. },
  18001. "marketid": {
  18002. "description": "市场ID",
  18003. "type": "integer"
  18004. },
  18005. "modifierid": {
  18006. "description": "操作人",
  18007. "type": "integer"
  18008. },
  18009. "sort": {
  18010. "description": "排序",
  18011. "type": "integer"
  18012. },
  18013. "title": {
  18014. "description": "标题",
  18015. "type": "string"
  18016. },
  18017. "trademode": {
  18018. "description": "交易模式",
  18019. "type": "integer"
  18020. },
  18021. "updatedate": {
  18022. "description": "修改时间",
  18023. "type": "string"
  18024. },
  18025. "url": {
  18026. "description": "链接(地址或商品ID)",
  18027. "type": "string"
  18028. },
  18029. "urltype": {
  18030. "description": "链接类型 - 1:直接地址 2:商品ID",
  18031. "type": "integer"
  18032. }
  18033. }
  18034. },
  18035. "common.QueryNoticeRsp": {
  18036. "type": "object",
  18037. "required": [
  18038. "autoid"
  18039. ],
  18040. "properties": {
  18041. "auditoruserid": {
  18042. "description": "审核人",
  18043. "type": "integer"
  18044. },
  18045. "auditremark": {
  18046. "description": "审核备注",
  18047. "type": "string"
  18048. },
  18049. "audittime": {
  18050. "description": "审核日期",
  18051. "type": "string"
  18052. },
  18053. "autoid": {
  18054. "description": "自增ID",
  18055. "type": "integer"
  18056. },
  18057. "content": {
  18058. "description": "内容",
  18059. "type": "string"
  18060. },
  18061. "createtime": {
  18062. "description": "创建时间",
  18063. "type": "string"
  18064. },
  18065. "creatorid": {
  18066. "description": "建仓人",
  18067. "type": "integer"
  18068. },
  18069. "endtime": {
  18070. "description": "结束时间",
  18071. "type": "string"
  18072. },
  18073. "istop": {
  18074. "description": "是否置顶 - 0:不置顶 1:置顶",
  18075. "type": "integer"
  18076. },
  18077. "msgiconurl": {
  18078. "description": "消息图标Url",
  18079. "type": "string"
  18080. },
  18081. "msgtype": {
  18082. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  18083. "type": "integer"
  18084. },
  18085. "publisher": {
  18086. "description": "消息发布者",
  18087. "type": "string"
  18088. },
  18089. "readed": {
  18090. "description": "是否已读",
  18091. "type": "boolean"
  18092. },
  18093. "scheduletime": {
  18094. "description": "计划发送时间",
  18095. "type": "string"
  18096. },
  18097. "sendtype": {
  18098. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  18099. "type": "integer"
  18100. },
  18101. "sentstatus": {
  18102. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  18103. "type": "integer"
  18104. },
  18105. "title": {
  18106. "description": "标题",
  18107. "type": "string"
  18108. },
  18109. "userid": {
  18110. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  18111. "type": "integer"
  18112. }
  18113. }
  18114. },
  18115. "common.QueryProvincesAndCitiesRsp": {
  18116. "type": "object",
  18117. "properties": {
  18118. "cities": {
  18119. "description": "市",
  18120. "type": "array",
  18121. "items": {
  18122. "$ref": "#/definitions/models.Division"
  18123. }
  18124. },
  18125. "province": {
  18126. "description": "省",
  18127. "$ref": "#/definitions/models.Division"
  18128. }
  18129. }
  18130. },
  18131. "common.QueryTableDefineRsp": {
  18132. "type": "object",
  18133. "required": [
  18134. "tablekey"
  18135. ],
  18136. "properties": {
  18137. "columns": {
  18138. "description": "列头信息数组",
  18139. "type": "array",
  18140. "items": {
  18141. "$ref": "#/definitions/models.Tablecolumnconfig"
  18142. }
  18143. },
  18144. "remark": {
  18145. "description": "Remark",
  18146. "type": "string"
  18147. },
  18148. "tabelmenu": {
  18149. "description": "列表菜单",
  18150. "type": "string"
  18151. },
  18152. "tablekey": {
  18153. "description": "列表Key",
  18154. "type": "string"
  18155. },
  18156. "tablename": {
  18157. "description": "列表名称",
  18158. "type": "string"
  18159. },
  18160. "tabletype": {
  18161. "description": "列表类型 - 1:管理端 2:终端",
  18162. "type": "integer"
  18163. }
  18164. }
  18165. },
  18166. "common.QueryTraderMenuRsp": {
  18167. "type": "object",
  18168. "properties": {
  18169. "OperationMenu": {
  18170. "description": "功能菜单",
  18171. "type": "array",
  18172. "items": {
  18173. "$ref": "#/definitions/models.OperationPrimaryMenu"
  18174. }
  18175. },
  18176. "QuoteMenu": {
  18177. "description": "报价牌分类菜单",
  18178. "type": "array",
  18179. "items": {
  18180. "$ref": "#/definitions/models.QuotePrimaryMenu"
  18181. }
  18182. }
  18183. }
  18184. },
  18185. "cptrade.Cptradepositioncancel": {
  18186. "type": "object",
  18187. "required": [
  18188. "cancelid"
  18189. ],
  18190. "properties": {
  18191. "accountid": {
  18192. "description": "申请人账户ID",
  18193. "type": "integer"
  18194. },
  18195. "applystatus": {
  18196. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  18197. "type": "integer"
  18198. },
  18199. "applytime": {
  18200. "description": "申请时间",
  18201. "type": "string"
  18202. },
  18203. "cancelid": {
  18204. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  18205. "type": "integer"
  18206. },
  18207. "cancelqty": {
  18208. "description": "注销数量",
  18209. "type": "integer"
  18210. },
  18211. "createtime": {
  18212. "description": "创建时间",
  18213. "type": "string"
  18214. },
  18215. "creatorid": {
  18216. "description": "创建人ID",
  18217. "type": "integer"
  18218. },
  18219. "creatorname": {
  18220. "description": "创建人",
  18221. "type": "string"
  18222. },
  18223. "goodscode": {
  18224. "description": "订单商品代码",
  18225. "type": "string"
  18226. },
  18227. "goodsid": {
  18228. "description": "商品ID",
  18229. "type": "integer"
  18230. },
  18231. "goodsname": {
  18232. "description": "订单商品名称",
  18233. "type": "string"
  18234. },
  18235. "goodunit": {
  18236. "description": "报价单位",
  18237. "type": "string"
  18238. },
  18239. "handlestatus": {
  18240. "description": "处理状态",
  18241. "type": "integer"
  18242. },
  18243. "marketid": {
  18244. "description": "市场ID",
  18245. "type": "integer"
  18246. },
  18247. "marketname": {
  18248. "description": "市场名称",
  18249. "type": "string"
  18250. },
  18251. "tradedate": {
  18252. "description": "交易日(yyyyMMdd)",
  18253. "type": "string"
  18254. },
  18255. "userid": {
  18256. "description": "申请人ID",
  18257. "type": "integer"
  18258. }
  18259. }
  18260. },
  18261. "cptrade.Cptradepresaleapply": {
  18262. "type": "object",
  18263. "required": [
  18264. "applyid"
  18265. ],
  18266. "properties": {
  18267. "accountid": {
  18268. "description": "申请人账户ID",
  18269. "type": "integer"
  18270. },
  18271. "applyid": {
  18272. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  18273. "type": "integer"
  18274. },
  18275. "applyremark": {
  18276. "description": "申请备注",
  18277. "type": "string"
  18278. },
  18279. "applystatus": {
  18280. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  18281. "type": "integer"
  18282. },
  18283. "applytime": {
  18284. "description": "申请时间",
  18285. "type": "string"
  18286. },
  18287. "attachmenturl": {
  18288. "description": "附件地址",
  18289. "type": "string"
  18290. },
  18291. "endtime": {
  18292. "description": "预售结束时间",
  18293. "type": "string"
  18294. },
  18295. "goodscode": {
  18296. "description": "商品代码",
  18297. "type": "string"
  18298. },
  18299. "goodsid": {
  18300. "description": "商品ID",
  18301. "type": "integer"
  18302. },
  18303. "goodsname": {
  18304. "description": "商品名称",
  18305. "type": "string"
  18306. },
  18307. "goodunit": {
  18308. "description": "报价单位",
  18309. "type": "string"
  18310. },
  18311. "handlestatus": {
  18312. "description": "处理状态",
  18313. "type": "integer"
  18314. },
  18315. "marketid": {
  18316. "description": "预售市场ID",
  18317. "type": "integer"
  18318. },
  18319. "marketname": {
  18320. "description": "预售市场名称",
  18321. "type": "string"
  18322. },
  18323. "presaleqty": {
  18324. "description": "预售数量",
  18325. "type": "integer"
  18326. },
  18327. "relatedgoodscode": {
  18328. "description": "关联交易合约代码",
  18329. "type": "string"
  18330. },
  18331. "relatedgoodsid": {
  18332. "description": "关联交易合约ID",
  18333. "type": "integer"
  18334. },
  18335. "relatedgoodsname": {
  18336. "description": "关联交易合约名称",
  18337. "type": "string"
  18338. },
  18339. "starttime": {
  18340. "description": "预售开始时间",
  18341. "type": "string"
  18342. },
  18343. "tradedate": {
  18344. "description": "交易日(yyyyMMdd)",
  18345. "type": "string"
  18346. },
  18347. "trademode": {
  18348. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  18349. "type": "integer"
  18350. },
  18351. "userid": {
  18352. "description": "申请人ID",
  18353. "type": "integer"
  18354. }
  18355. }
  18356. },
  18357. "cptrade.Cptradeusergoodsdata": {
  18358. "type": "object",
  18359. "required": [
  18360. "accountid",
  18361. "goodsid"
  18362. ],
  18363. "properties": {
  18364. "EnabledQty": {
  18365. "description": "可用量",
  18366. "type": "integer"
  18367. },
  18368. "GoodsCode": {
  18369. "description": "订单商品代码",
  18370. "type": "string"
  18371. },
  18372. "GoodsName": {
  18373. "description": "订单商品名称",
  18374. "type": "string"
  18375. },
  18376. "WRStandardCode": {
  18377. "description": "仓单标准代码",
  18378. "type": "string"
  18379. },
  18380. "WRStandardName": {
  18381. "description": "仓单标准名称",
  18382. "type": "string"
  18383. },
  18384. "accountid": {
  18385. "description": "账户ID",
  18386. "type": "integer"
  18387. },
  18388. "cancelqty": {
  18389. "description": "注销量",
  18390. "type": "integer"
  18391. },
  18392. "curpresaleqty": {
  18393. "description": "当前预售量",
  18394. "type": "integer"
  18395. },
  18396. "deliveryqty": {
  18397. "description": "交割量",
  18398. "type": "integer"
  18399. },
  18400. "freezeamount": {
  18401. "description": "冻结金额",
  18402. "type": "number"
  18403. },
  18404. "goodsid": {
  18405. "description": "商品ID",
  18406. "type": "integer"
  18407. },
  18408. "goodunit": {
  18409. "description": "报价单位",
  18410. "type": "string"
  18411. },
  18412. "hasspotfreeze": {
  18413. "description": "是否有现货冻结 - 0:否 1:有",
  18414. "type": "integer"
  18415. },
  18416. "inqty": {
  18417. "description": "转入量(总数量)",
  18418. "type": "integer"
  18419. },
  18420. "marketid": {
  18421. "description": "市场ID",
  18422. "type": "integer"
  18423. },
  18424. "presaledamount": {
  18425. "description": "已预售总金额",
  18426. "type": "integer"
  18427. },
  18428. "presaledqty": {
  18429. "description": "已预售量",
  18430. "type": "integer"
  18431. },
  18432. "userid": {
  18433. "description": "用户ID",
  18434. "type": "integer"
  18435. },
  18436. "wrstandardid": {
  18437. "description": "仓单标准ID",
  18438. "type": "integer"
  18439. }
  18440. }
  18441. },
  18442. "cptrade.QueryCPTradeMyBidRsp": {
  18443. "type": "object",
  18444. "required": [
  18445. "accountid",
  18446. "goodsid",
  18447. "marketid",
  18448. "orderid",
  18449. "orderqty",
  18450. "ordertime",
  18451. "tradeprice",
  18452. "tradeqty"
  18453. ],
  18454. "properties": {
  18455. "accountid": {
  18456. "description": "账户ID[报价币种]",
  18457. "type": "integer"
  18458. },
  18459. "goodsid": {
  18460. "description": "商品ID",
  18461. "type": "integer"
  18462. },
  18463. "goodunit": {
  18464. "description": "报价单位",
  18465. "type": "string"
  18466. },
  18467. "marketid": {
  18468. "description": "市场ID",
  18469. "type": "integer"
  18470. },
  18471. "orderid": {
  18472. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  18473. "type": "integer"
  18474. },
  18475. "orderprice": {
  18476. "description": "委托价格",
  18477. "type": "number"
  18478. },
  18479. "orderqty": {
  18480. "description": "委托数量",
  18481. "type": "integer"
  18482. },
  18483. "ordertime": {
  18484. "description": "委托时间",
  18485. "type": "string"
  18486. },
  18487. "ordertotalprice": {
  18488. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  18489. "type": "number"
  18490. },
  18491. "ordertotalweight": {
  18492. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  18493. "type": "integer"
  18494. },
  18495. "totaltotalprice": {
  18496. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  18497. "type": "number"
  18498. },
  18499. "tradeprice": {
  18500. "description": "成交价格",
  18501. "type": "number"
  18502. },
  18503. "tradeqty": {
  18504. "description": "成交数量",
  18505. "type": "integer"
  18506. }
  18507. }
  18508. },
  18509. "cptrade.QueryCPTradeOrderDetailRsq": {
  18510. "type": "object",
  18511. "required": [
  18512. "accountid",
  18513. "buildtype",
  18514. "buyorsell",
  18515. "goodsid",
  18516. "marketid",
  18517. "memberuserid",
  18518. "operatetype",
  18519. "orderqty",
  18520. "ordertime",
  18521. "pricemode",
  18522. "strorderid",
  18523. "tradedate",
  18524. "validtype"
  18525. ],
  18526. "properties": {
  18527. "accountid": {
  18528. "description": "账户ID[报价币种]",
  18529. "type": "integer"
  18530. },
  18531. "buildtype": {
  18532. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  18533. "type": "integer"
  18534. },
  18535. "buyorsell": {
  18536. "description": "买卖 - 0:买 1:卖",
  18537. "type": "integer"
  18538. },
  18539. "cancelorderid": {
  18540. "description": "撤单单号(撤单时填写)",
  18541. "type": "integer"
  18542. },
  18543. "cancelqty": {
  18544. "description": "撤单数量",
  18545. "type": "integer"
  18546. },
  18547. "clientordertime": {
  18548. "description": "客户端委托时间",
  18549. "type": "string"
  18550. },
  18551. "clientticket": {
  18552. "description": "客户端流水号",
  18553. "type": "string"
  18554. },
  18555. "clienttype": {
  18556. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  18557. "type": "integer"
  18558. },
  18559. "closeexchagechargevalue": {
  18560. "description": "平仓交易所手续费设置值",
  18561. "type": "number"
  18562. },
  18563. "closefeealgorithm": {
  18564. "description": "平仓手续费收取方式 1:比率 2:固定",
  18565. "type": "integer"
  18566. },
  18567. "closefreezecharge": {
  18568. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  18569. "type": "number"
  18570. },
  18571. "closememberchargevalue": {
  18572. "description": "平仓会员手续费设置值",
  18573. "type": "number"
  18574. },
  18575. "closeqty": {
  18576. "description": "平仓数量(先建后平操作 需要记录)",
  18577. "type": "integer"
  18578. },
  18579. "closetradeqty": {
  18580. "description": "平仓成交数量(先建后平操作,需要记录)",
  18581. "type": "integer"
  18582. },
  18583. "closeunfreezecharge": {
  18584. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  18585. "type": "number"
  18586. },
  18587. "delistingtype": {
  18588. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  18589. "type": "integer"
  18590. },
  18591. "freezecharge": {
  18592. "description": "冻结手续费",
  18593. "type": "number"
  18594. },
  18595. "freezemargin": {
  18596. "description": "冻结保证金(冻结交易金额)",
  18597. "type": "number"
  18598. },
  18599. "gcaccountid": {
  18600. "description": "账户ID[合约币种]",
  18601. "type": "integer"
  18602. },
  18603. "goodsid": {
  18604. "description": "商品ID",
  18605. "type": "integer"
  18606. },
  18607. "isconfirmexercise": {
  18608. "description": "是否确认行权- 0:否 1:是",
  18609. "type": "integer"
  18610. },
  18611. "ispreexercise": {
  18612. "description": "是否预申报- 0:否 1:是",
  18613. "type": "integer"
  18614. },
  18615. "listingselecttype": {
  18616. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  18617. "type": "integer"
  18618. },
  18619. "marginalgorithm": {
  18620. "description": "保证金收取方式 1:比率 2:固定",
  18621. "type": "integer"
  18622. },
  18623. "marginvalue": {
  18624. "description": "即市保证金设置值",
  18625. "type": "number"
  18626. },
  18627. "marketid": {
  18628. "description": "市场ID",
  18629. "type": "integer"
  18630. },
  18631. "marketmaxsub": {
  18632. "description": "市价最大偏移范围",
  18633. "type": "number"
  18634. },
  18635. "memberuserid": {
  18636. "description": "所属会员UserID",
  18637. "type": "integer"
  18638. },
  18639. "openexchagechargevalue": {
  18640. "description": "建仓交易所手续费设置值",
  18641. "type": "number"
  18642. },
  18643. "openfeealgorithm": {
  18644. "description": "建仓手续费收取方式 1:比率 2:固定",
  18645. "type": "integer"
  18646. },
  18647. "openfreezecharge": {
  18648. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  18649. "type": "number"
  18650. },
  18651. "openmemberchargevalue": {
  18652. "description": "建仓会员手续费设置值",
  18653. "type": "number"
  18654. },
  18655. "openqty": {
  18656. "description": "开仓数量(先建后平操作,需要记录)",
  18657. "type": "integer"
  18658. },
  18659. "opentradeqty": {
  18660. "description": "开仓成交数量(先建后平操作,需要记录)",
  18661. "type": "integer"
  18662. },
  18663. "openunfreezecharge": {
  18664. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  18665. "type": "number"
  18666. },
  18667. "operatetype": {
  18668. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  18669. "type": "integer"
  18670. },
  18671. "operatorid": {
  18672. "description": "登录账号(LoginID)",
  18673. "type": "integer"
  18674. },
  18675. "optiontype": {
  18676. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  18677. "type": "integer"
  18678. },
  18679. "orderprice": {
  18680. "description": "委托价格",
  18681. "type": "number"
  18682. },
  18683. "orderqty": {
  18684. "description": "委托数量",
  18685. "type": "integer"
  18686. },
  18687. "ordersrc": {
  18688. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  18689. "type": "integer"
  18690. },
  18691. "orderstatus": {
  18692. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  18693. "type": "integer"
  18694. },
  18695. "ordertime": {
  18696. "description": "委托时间",
  18697. "type": "string"
  18698. },
  18699. "preexerciseprice": {
  18700. "description": "预申报价格",
  18701. "type": "number"
  18702. },
  18703. "premium": {
  18704. "description": "权利金",
  18705. "type": "number"
  18706. },
  18707. "preorderid": {
  18708. "description": "关联预埋单号(止盈止损单时填写)",
  18709. "type": "integer"
  18710. },
  18711. "pricemode": {
  18712. "description": "取价方式 - 1:市价 2: 限价",
  18713. "type": "integer"
  18714. },
  18715. "quoteid": {
  18716. "description": "报价单ID",
  18717. "type": "integer"
  18718. },
  18719. "relatedid": {
  18720. "description": "关联单号(交割单)",
  18721. "type": "integer"
  18722. },
  18723. "retcode": {
  18724. "description": "错误代码",
  18725. "type": "integer"
  18726. },
  18727. "sessionid": {
  18728. "description": "会话ID",
  18729. "type": "integer"
  18730. },
  18731. "strorderid": {
  18732. "description": "委托单号",
  18733. "type": "string"
  18734. },
  18735. "tradedate": {
  18736. "description": "交易日(yyyyMMdd)",
  18737. "type": "string"
  18738. },
  18739. "tradeproperty": {
  18740. "description": "交易属性",
  18741. "type": "integer"
  18742. },
  18743. "tradeqty": {
  18744. "description": "成交数量",
  18745. "type": "integer"
  18746. },
  18747. "unfreezecharge": {
  18748. "description": "解冻手续费",
  18749. "type": "number"
  18750. },
  18751. "unfreezemargin": {
  18752. "description": "解冻保证金",
  18753. "type": "number"
  18754. },
  18755. "updatetime": {
  18756. "description": "更新时间",
  18757. "type": "string"
  18758. },
  18759. "uuid": {
  18760. "description": "发起端唯一id",
  18761. "type": "string"
  18762. },
  18763. "validtime": {
  18764. "description": "有效期限",
  18765. "type": "string"
  18766. },
  18767. "validtype": {
  18768. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  18769. "type": "integer"
  18770. },
  18771. "volumetype": {
  18772. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  18773. "type": "integer"
  18774. }
  18775. }
  18776. },
  18777. "cptrade.QueryMyCPTradeGoodsRsp": {
  18778. "type": "object",
  18779. "required": [
  18780. "goodscode",
  18781. "goodsid",
  18782. "goodsname",
  18783. "marketid",
  18784. "relatedgoodscode",
  18785. "relatedgoodsname"
  18786. ],
  18787. "properties": {
  18788. "accountid": {
  18789. "description": "卖方账户ID",
  18790. "type": "integer"
  18791. },
  18792. "agreeunit": {
  18793. "description": "合约单位",
  18794. "type": "number"
  18795. },
  18796. "applyid": {
  18797. "description": "关联申请ID",
  18798. "type": "integer"
  18799. },
  18800. "attachmenturl": {
  18801. "description": "附件地址",
  18802. "type": "string"
  18803. },
  18804. "createtime": {
  18805. "description": "创建时间",
  18806. "type": "string"
  18807. },
  18808. "currencyid": {
  18809. "description": "报价货币ID",
  18810. "type": "integer"
  18811. },
  18812. "decimalplace": {
  18813. "description": "报价小数位",
  18814. "type": "integer"
  18815. },
  18816. "endtime": {
  18817. "description": "预售结束时间",
  18818. "type": "string"
  18819. },
  18820. "floorprice": {
  18821. "description": "底价[大宗式竞拍]",
  18822. "type": "number"
  18823. },
  18824. "goodscode": {
  18825. "description": "商品代码(预售)",
  18826. "type": "string"
  18827. },
  18828. "goodsdetail": {
  18829. "description": "详情[大宗]",
  18830. "type": "string"
  18831. },
  18832. "goodsid": {
  18833. "description": "商品ID(自增ID SEQ_GOODS)",
  18834. "type": "integer"
  18835. },
  18836. "goodsname": {
  18837. "description": "商品名称(预售)",
  18838. "type": "string"
  18839. },
  18840. "goodunit": {
  18841. "description": "报价单位",
  18842. "type": "string"
  18843. },
  18844. "goodunitid": {
  18845. "description": "报价单位ID",
  18846. "type": "integer"
  18847. },
  18848. "marketid": {
  18849. "description": "所属市场ID",
  18850. "type": "integer"
  18851. },
  18852. "marketname": {
  18853. "description": "预售市场名称",
  18854. "type": "string"
  18855. },
  18856. "presaledamount": {
  18857. "description": "已预售总金额(预售结束时更新)",
  18858. "type": "number"
  18859. },
  18860. "presaledqty": {
  18861. "description": "已预售量(预售结束时更新)",
  18862. "type": "integer"
  18863. },
  18864. "presalemode": {
  18865. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18866. "type": "integer"
  18867. },
  18868. "presaleqty": {
  18869. "description": "预售数量",
  18870. "type": "integer"
  18871. },
  18872. "refprice": {
  18873. "description": "参考价格[一口价]",
  18874. "type": "number"
  18875. },
  18876. "relatedgoodscode": {
  18877. "description": "商品代码(订单)",
  18878. "type": "string"
  18879. },
  18880. "relatedgoodsid": {
  18881. "description": "关联交易合约ID",
  18882. "type": "integer"
  18883. },
  18884. "relatedgoodsname": {
  18885. "description": "商品名称(订单)",
  18886. "type": "string"
  18887. },
  18888. "relatedmarketid": {
  18889. "description": "关联交易合约市场ID",
  18890. "type": "integer"
  18891. },
  18892. "sellstatus": {
  18893. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18894. "type": "integer"
  18895. },
  18896. "startprice": {
  18897. "description": "起拍价[大宗式竞拍]",
  18898. "type": "number"
  18899. },
  18900. "starttime": {
  18901. "description": "预售开始时间",
  18902. "type": "string"
  18903. },
  18904. "tradedate": {
  18905. "description": "交易日(yyyyMMdd)",
  18906. "type": "string"
  18907. },
  18908. "tradeprice": {
  18909. "description": "成交价[大宗]",
  18910. "type": "number"
  18911. },
  18912. "userid": {
  18913. "description": "卖方用户ID",
  18914. "type": "integer"
  18915. }
  18916. }
  18917. },
  18918. "cptrade.QueryPresaleGoodsExRsp": {
  18919. "type": "object",
  18920. "required": [
  18921. "goodsid"
  18922. ],
  18923. "properties": {
  18924. "attachmenturl": {
  18925. "description": "附件地址",
  18926. "type": "string"
  18927. },
  18928. "createtime": {
  18929. "description": "创建时间",
  18930. "type": "string"
  18931. },
  18932. "endtime": {
  18933. "description": "预售结束时间",
  18934. "type": "string"
  18935. },
  18936. "floorprice": {
  18937. "description": "底价[大宗式竞拍]",
  18938. "type": "number"
  18939. },
  18940. "goodsdetail": {
  18941. "description": "详情[大宗]",
  18942. "type": "string"
  18943. },
  18944. "goodsid": {
  18945. "description": "商品ID(预售)",
  18946. "type": "integer"
  18947. },
  18948. "goodunit": {
  18949. "description": "报价单位",
  18950. "type": "string"
  18951. },
  18952. "marketid": {
  18953. "description": "预售市场ID - 根据预售模式选择市场",
  18954. "type": "integer"
  18955. },
  18956. "presaledamount": {
  18957. "description": "已预售总金额(预售结束时更新)",
  18958. "type": "number"
  18959. },
  18960. "presaledqty": {
  18961. "description": "已预售量(预售结束时更新)",
  18962. "type": "integer"
  18963. },
  18964. "presalemode": {
  18965. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  18966. "type": "integer"
  18967. },
  18968. "presaleqty": {
  18969. "description": "预售数量",
  18970. "type": "integer"
  18971. },
  18972. "refprice": {
  18973. "description": "参考价格[一口价]",
  18974. "type": "number"
  18975. },
  18976. "relatedgoodsid": {
  18977. "description": "关联交易合约ID",
  18978. "type": "integer"
  18979. },
  18980. "relatedmarketid": {
  18981. "description": "关联交易合约市场ID",
  18982. "type": "integer"
  18983. },
  18984. "sellstatus": {
  18985. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  18986. "type": "integer"
  18987. },
  18988. "startprice": {
  18989. "description": "起拍价[大宗式竞拍]",
  18990. "type": "number"
  18991. },
  18992. "starttime": {
  18993. "description": "预售开始时间",
  18994. "type": "string"
  18995. },
  18996. "tradedate": {
  18997. "description": "交易日(yyyyMMdd)",
  18998. "type": "string"
  18999. },
  19000. "tradeprice": {
  19001. "description": "成交价[大宗]",
  19002. "type": "number"
  19003. }
  19004. }
  19005. },
  19006. "delivery.QueryDeliveryRelationRsp": {
  19007. "type": "object",
  19008. "required": [
  19009. "begindate",
  19010. "enddate",
  19011. "goodsid",
  19012. "mindeliveryqty",
  19013. "xdeliveryratio"
  19014. ],
  19015. "properties": {
  19016. "begindate": {
  19017. "description": "起始日期(yyyyMMdd)",
  19018. "type": "string"
  19019. },
  19020. "buytemplateid": {
  19021. "description": "买履约计划模板ID",
  19022. "type": "integer"
  19023. },
  19024. "deliverygoodscode": {
  19025. "description": "品种代码",
  19026. "type": "string"
  19027. },
  19028. "deliverygoodsid": {
  19029. "description": "交割商品",
  19030. "type": "integer"
  19031. },
  19032. "deliverygoodsname": {
  19033. "description": "品种名称",
  19034. "type": "string"
  19035. },
  19036. "deliverymode": {
  19037. "description": "交割方式 - 1:点选式 2:申报式",
  19038. "type": "integer"
  19039. },
  19040. "deliverypricerule": {
  19041. "description": "交割价规则- 1:行情价 2:建仓价",
  19042. "type": "integer"
  19043. },
  19044. "deliverytype": {
  19045. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  19046. "type": "integer"
  19047. },
  19048. "enddate": {
  19049. "description": "结束日期(yyyyMMdd)",
  19050. "type": "string"
  19051. },
  19052. "enumdicname": {
  19053. "description": "品类单位名称",
  19054. "type": "string"
  19055. },
  19056. "goodscode": {
  19057. "description": "商品代码",
  19058. "type": "string"
  19059. },
  19060. "goodsid": {
  19061. "description": "交易合约ID",
  19062. "type": "integer"
  19063. },
  19064. "goodsname": {
  19065. "description": "商品名称",
  19066. "type": "string"
  19067. },
  19068. "marketid": {
  19069. "description": "市场ID",
  19070. "type": "integer"
  19071. },
  19072. "mindeliveryqty": {
  19073. "description": "最小交割系数(K)",
  19074. "type": "integer"
  19075. },
  19076. "p2deliveryprice": {
  19077. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  19078. "type": "number"
  19079. },
  19080. "p2deliveryratio": {
  19081. "description": "P2合约系数(p)",
  19082. "type": "integer"
  19083. },
  19084. "p2goodsid": {
  19085. "description": "P2合约ID",
  19086. "type": "integer"
  19087. },
  19088. "p2pricemode": {
  19089. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  19090. "type": "integer"
  19091. },
  19092. "pdeliveryprice": {
  19093. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  19094. "type": "number"
  19095. },
  19096. "pdeliveryratio": {
  19097. "description": "P合约系数(n)",
  19098. "type": "integer"
  19099. },
  19100. "pgoodscode": {
  19101. "description": "p合约代码",
  19102. "type": "string"
  19103. },
  19104. "pgoodsid": {
  19105. "description": "P合约ID",
  19106. "type": "integer"
  19107. },
  19108. "ppricemode": {
  19109. "description": "P合约价格方式 - 1:商品价 2:固定值",
  19110. "type": "integer"
  19111. },
  19112. "rratio": {
  19113. "description": "兑换系数(R)",
  19114. "type": "integer"
  19115. },
  19116. "rratio1": {
  19117. "description": "兑换系数(交易合约)(R1)",
  19118. "type": "integer"
  19119. },
  19120. "rratio2": {
  19121. "description": "兑换系数(仓单标准)(R2)",
  19122. "type": "integer"
  19123. },
  19124. "selltemplateid": {
  19125. "description": "卖履约计划模板ID",
  19126. "type": "integer"
  19127. },
  19128. "wrstandardid": {
  19129. "description": "仓单标准ID",
  19130. "type": "integer"
  19131. },
  19132. "xdeliveryratio": {
  19133. "description": "交易合约系数(m)",
  19134. "type": "integer"
  19135. }
  19136. }
  19137. },
  19138. "ermcp.ExposureDetailRsp": {
  19139. "type": "object",
  19140. "properties": {
  19141. "areauserid": {
  19142. "description": "机构ID",
  19143. "type": "integer"
  19144. },
  19145. "changeQty": {
  19146. "description": "套保变动量",
  19147. "type": "number"
  19148. },
  19149. "contracttype": {
  19150. "description": "现货合同类型 - 1:采购 -1:销售",
  19151. "type": "integer"
  19152. },
  19153. "convertfactor": {
  19154. "description": "标仓系数",
  19155. "type": "number"
  19156. },
  19157. "convertratio": {
  19158. "description": "套保系数",
  19159. "type": "number"
  19160. },
  19161. "createtime": {
  19162. "description": "时间",
  19163. "type": "string"
  19164. },
  19165. "enumdicname": {
  19166. "description": "现货商品单位名称",
  19167. "type": "string"
  19168. },
  19169. "logtype": {
  19170. "description": "类型 - 1:套保计划 2:现货合同",
  19171. "type": "integer"
  19172. },
  19173. "middlegoodsId": {
  19174. "description": "套保商品id",
  19175. "type": "integer"
  19176. },
  19177. "middlegoodscode": {
  19178. "description": "套保商品代码",
  19179. "type": "string"
  19180. },
  19181. "middlegoodsname": {
  19182. "description": "套保商品名称",
  19183. "type": "string"
  19184. },
  19185. "qty": {
  19186. "description": "数量",
  19187. "type": "number"
  19188. },
  19189. "relateNo": {
  19190. "description": "现货合同/套保计划编号",
  19191. "type": "string"
  19192. },
  19193. "wrstandardcode": {
  19194. "description": "现货商品代码",
  19195. "type": "string"
  19196. },
  19197. "wrstandardid": {
  19198. "description": "现货商品ID",
  19199. "type": "integer"
  19200. },
  19201. "wrstandardname": {
  19202. "description": "现货商品名称",
  19203. "type": "string"
  19204. }
  19205. }
  19206. },
  19207. "ermcp.ExposureHedgePosDetailRsp": {
  19208. "type": "object",
  19209. "properties": {
  19210. "buyorsell": {
  19211. "description": "买卖方向 0-买 1-卖",
  19212. "type": "integer"
  19213. },
  19214. "channelbuildtype": {
  19215. "description": "开平方向 1-建仓 2-平仓",
  19216. "type": "integer"
  19217. },
  19218. "goodscode": {
  19219. "description": "商品代码",
  19220. "type": "string"
  19221. },
  19222. "goodsname": {
  19223. "description": "商品名称",
  19224. "type": "string"
  19225. },
  19226. "hedgegoodsid": {
  19227. "description": "商品id",
  19228. "type": "integer"
  19229. },
  19230. "tradeqty": {
  19231. "description": "数量(成交数量)",
  19232. "type": "integer"
  19233. },
  19234. "tradetime": {
  19235. "description": "时间(成交时间)",
  19236. "type": "string"
  19237. }
  19238. }
  19239. },
  19240. "ermcp.ExposureHedgePositionRsp": {
  19241. "type": "object",
  19242. "properties": {
  19243. "accountid": {
  19244. "description": "资金账号[外部母账户]",
  19245. "type": "integer"
  19246. },
  19247. "curbuyposition": {
  19248. "description": "期末买头寸",
  19249. "type": "integer"
  19250. },
  19251. "cursellposition": {
  19252. "description": "期末卖头寸",
  19253. "type": "integer"
  19254. },
  19255. "curtdbuyposition": {
  19256. "description": "期末今日买头寸",
  19257. "type": "integer"
  19258. },
  19259. "curtdsellposition": {
  19260. "description": "期末今日卖头寸",
  19261. "type": "integer"
  19262. },
  19263. "curydbuyposition": {
  19264. "description": "期末上日买头寸",
  19265. "type": "integer"
  19266. },
  19267. "curydsellposition": {
  19268. "description": "期末上日卖头寸",
  19269. "type": "integer"
  19270. },
  19271. "decreaseqty": {
  19272. "description": "减少数量 = (期末卖头寸 - 期初卖头寸)*-1",
  19273. "type": "integer"
  19274. },
  19275. "fretdbuyposition": {
  19276. "description": "冻结今日买头寸",
  19277. "type": "integer"
  19278. },
  19279. "fretdsellposition": {
  19280. "description": "冻结今日卖头寸",
  19281. "type": "integer"
  19282. },
  19283. "freydbuyposition": {
  19284. "description": "冻结上日买头寸",
  19285. "type": "integer"
  19286. },
  19287. "freydsellposition": {
  19288. "description": "冻结上日卖头寸",
  19289. "type": "integer"
  19290. },
  19291. "goodscode": {
  19292. "description": "商品代码",
  19293. "type": "string"
  19294. },
  19295. "goodsid": {
  19296. "description": "商品id",
  19297. "type": "integer"
  19298. },
  19299. "goodsname": {
  19300. "description": "商品名称",
  19301. "type": "string"
  19302. },
  19303. "hedgeaccountcode": {
  19304. "description": "对冲账号",
  19305. "type": "string"
  19306. },
  19307. "hedgegoodsid": {
  19308. "description": "对冲合约ID",
  19309. "type": "integer"
  19310. },
  19311. "increaseqty": {
  19312. "description": "增加数量 = 期末买头寸 - 期初买头寸",
  19313. "type": "integer"
  19314. },
  19315. "marketid": {
  19316. "description": "市场ID",
  19317. "type": "integer"
  19318. },
  19319. "relateduserid": {
  19320. "description": "关联用户id",
  19321. "type": "integer"
  19322. },
  19323. "totalcurqty": {
  19324. "description": "当前数量(净头寸) = 期末买头寸 - 期末卖头寸",
  19325. "type": "integer"
  19326. },
  19327. "totalydqty": {
  19328. "description": "昨日数量(净头寸) = 期初买头寸 - 期初卖头寸",
  19329. "type": "integer"
  19330. },
  19331. "tradedate": {
  19332. "description": "交易日(yyyyMMdd)",
  19333. "type": "string"
  19334. },
  19335. "ydbuyposition": {
  19336. "description": "期初买头寸",
  19337. "type": "integer"
  19338. },
  19339. "ydsellposition": {
  19340. "description": "期初卖头寸",
  19341. "type": "integer"
  19342. }
  19343. }
  19344. },
  19345. "ermcp.ExposureSpotDetailRsp": {
  19346. "type": "object",
  19347. "properties": {
  19348. "contracttype": {
  19349. "description": "合同类型 1-采购 -1-销售",
  19350. "type": "integer"
  19351. },
  19352. "createtime": {
  19353. "description": "创建时间",
  19354. "type": "string"
  19355. },
  19356. "enumdicname": {
  19357. "description": "现货商品单位名称",
  19358. "type": "string"
  19359. },
  19360. "logtype": {
  19361. "description": "记录类型 1-套保 2-现货合同",
  19362. "type": "integer"
  19363. },
  19364. "qty": {
  19365. "description": "数量",
  19366. "type": "number"
  19367. },
  19368. "recordname": {
  19369. "description": "类型名称",
  19370. "type": "string"
  19371. },
  19372. "relatedid": {
  19373. "description": "套保计划ID/现货合同ID",
  19374. "type": "string"
  19375. },
  19376. "relatedno": {
  19377. "description": "编号",
  19378. "type": "string"
  19379. },
  19380. "strtime": {
  19381. "description": "时间",
  19382. "type": "string"
  19383. },
  19384. "wrstandardcode": {
  19385. "description": "现货商品代码",
  19386. "type": "string"
  19387. },
  19388. "wrstandardname": {
  19389. "description": "现货商品名称",
  19390. "type": "string"
  19391. }
  19392. }
  19393. },
  19394. "ermcp.ExposureSpotRsp": {
  19395. "type": "object",
  19396. "properties": {
  19397. "areauserid": {
  19398. "description": "所属机构",
  19399. "type": "integer"
  19400. },
  19401. "decreaseqty": {
  19402. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  19403. "type": "number"
  19404. },
  19405. "increaseqty": {
  19406. "description": "增加数量=销售计划数量+采购已定价数量",
  19407. "type": "number"
  19408. },
  19409. "oritoalspotqty": {
  19410. "description": "昨日数量",
  19411. "type": "number"
  19412. },
  19413. "totalspotqty": {
  19414. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  19415. "type": "number"
  19416. },
  19417. "updatetime": {
  19418. "description": "更新时间",
  19419. "type": "string"
  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.HisExposureRsp": {
  19436. "type": "object",
  19437. "properties": {
  19438. "data": {
  19439. "description": "历史敞口",
  19440. "type": "array",
  19441. "items": {
  19442. "$ref": "#/definitions/models.ErmcpHisExposure"
  19443. }
  19444. },
  19445. "enumdicname": {
  19446. "description": "单位名称",
  19447. "type": "string"
  19448. },
  19449. "middlegoodscode": {
  19450. "description": "套保品种代码",
  19451. "type": "string"
  19452. },
  19453. "middlegoodsid": {
  19454. "description": "套保品种ID",
  19455. "type": "integer"
  19456. },
  19457. "middlegoodsname": {
  19458. "description": "套保品种名称",
  19459. "type": "string"
  19460. }
  19461. }
  19462. },
  19463. "ermcp.PendingAuditCntRsp": {
  19464. "type": "object",
  19465. "properties": {
  19466. "areastockqty": {
  19467. "description": "待审核数量: 库存申请",
  19468. "type": "integer"
  19469. },
  19470. "businessdjqty": {
  19471. "description": "待审核数量: 点价",
  19472. "type": "integer"
  19473. },
  19474. "businessfpqty": {
  19475. "description": "待审核数量: 发票",
  19476. "type": "integer"
  19477. },
  19478. "businessjsqty": {
  19479. "description": "待审核数量: 结算",
  19480. "type": "integer"
  19481. },
  19482. "businesskxqty": {
  19483. "description": "待审核数量: 款项",
  19484. "type": "integer"
  19485. },
  19486. "hedgeplanqty": {
  19487. "description": "待审核数量: 套保计划",
  19488. "type": "integer"
  19489. },
  19490. "spotcontractqty": {
  19491. "description": "待审核数量: 现货合同",
  19492. "type": "integer"
  19493. },
  19494. "userqty": {
  19495. "description": "待审核数量: 用户",
  19496. "type": "integer"
  19497. }
  19498. }
  19499. },
  19500. "ermcp.QryAvalidGPRsp": {
  19501. "type": "object",
  19502. "properties": {
  19503. "goodsgroupid": {
  19504. "description": "期货品种id",
  19505. "type": "integer"
  19506. },
  19507. "goodsgroupname": {
  19508. "description": "期货品种名称",
  19509. "type": "string"
  19510. },
  19511. "goodunitid": {
  19512. "description": "品种单位id",
  19513. "type": "integer"
  19514. },
  19515. "goodunitname": {
  19516. "description": "品种单位名称",
  19517. "type": "string"
  19518. },
  19519. "outergroupcode": {
  19520. "description": "期货品种代码",
  19521. "type": "string"
  19522. }
  19523. }
  19524. },
  19525. "ermcp.QryBusinessDjRsp": {
  19526. "type": "object",
  19527. "properties": {
  19528. "amount": {
  19529. "description": "期初均价",
  19530. "type": "number"
  19531. },
  19532. "applyid": {
  19533. "description": "申请人",
  19534. "type": "string"
  19535. },
  19536. "applyname": {
  19537. "description": "申请人名称",
  19538. "type": "string"
  19539. },
  19540. "applystatus": {
  19541. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19542. "type": "integer"
  19543. },
  19544. "applytime": {
  19545. "description": "申请时间",
  19546. "type": "string"
  19547. },
  19548. "attachurl": {
  19549. "description": "附件",
  19550. "type": "string"
  19551. },
  19552. "auditid": {
  19553. "description": "审核人ID",
  19554. "type": "string"
  19555. },
  19556. "auditname": {
  19557. "description": "审核人名称",
  19558. "type": "string"
  19559. },
  19560. "auditremark": {
  19561. "description": "审核备注",
  19562. "type": "string"
  19563. },
  19564. "audittime": {
  19565. "description": "审核时间",
  19566. "type": "string"
  19567. },
  19568. "buyusername": {
  19569. "description": "采购方名称",
  19570. "type": "string"
  19571. },
  19572. "contractno": {
  19573. "description": "合同编号",
  19574. "type": "string"
  19575. },
  19576. "contractstatus": {
  19577. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19578. "type": "integer"
  19579. },
  19580. "contracttype": {
  19581. "description": "现货合同类型 - 1:采购 -1:销售",
  19582. "type": "integer"
  19583. },
  19584. "deliverygoodscode": {
  19585. "description": "现货品种代码",
  19586. "type": "string"
  19587. },
  19588. "deliverygoodsid": {
  19589. "description": "现货商品ID",
  19590. "type": "integer"
  19591. },
  19592. "deliverygoodsname": {
  19593. "description": "现货品种名称",
  19594. "type": "string"
  19595. },
  19596. "enumdicname": {
  19597. "description": "单位名称",
  19598. "type": "string"
  19599. },
  19600. "goodscode": {
  19601. "description": "点价合约",
  19602. "type": "string"
  19603. },
  19604. "goodsname": {
  19605. "description": "商品名称",
  19606. "type": "string"
  19607. },
  19608. "operateapplyid": {
  19609. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19610. "type": "string"
  19611. },
  19612. "operateapplytype": {
  19613. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19614. "type": "integer"
  19615. },
  19616. "pricedPrice": {
  19617. "description": "点价价格(非必填)",
  19618. "type": "number"
  19619. },
  19620. "pricedQty": {
  19621. "description": "点价数量(非必填)",
  19622. "type": "number"
  19623. },
  19624. "pricemove": {
  19625. "description": "升贴水",
  19626. "type": "number"
  19627. },
  19628. "pricetype": {
  19629. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19630. "type": "integer"
  19631. },
  19632. "relatedid": {
  19633. "description": "现货合同ID",
  19634. "type": "string"
  19635. },
  19636. "sellusername": {
  19637. "description": "销售方名字",
  19638. "type": "string"
  19639. },
  19640. "userid": {
  19641. "description": "用户ID",
  19642. "type": "integer"
  19643. },
  19644. "wrstandardcode": {
  19645. "description": "品类代码",
  19646. "type": "string"
  19647. },
  19648. "wrstandardid": {
  19649. "description": "品类id",
  19650. "type": "integer"
  19651. },
  19652. "wrstandardname": {
  19653. "description": "品类名称",
  19654. "type": "string"
  19655. }
  19656. }
  19657. },
  19658. "ermcp.QryBussinessFpRsp": {
  19659. "type": "object",
  19660. "properties": {
  19661. "applyid": {
  19662. "description": "申请人",
  19663. "type": "string"
  19664. },
  19665. "applyname": {
  19666. "description": "申请人名称",
  19667. "type": "string"
  19668. },
  19669. "applystatus": {
  19670. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19671. "type": "integer"
  19672. },
  19673. "applytime": {
  19674. "description": "申请时间",
  19675. "type": "string"
  19676. },
  19677. "attachurl": {
  19678. "description": "附件",
  19679. "type": "string"
  19680. },
  19681. "auditid": {
  19682. "description": "审核人ID",
  19683. "type": "string"
  19684. },
  19685. "auditname": {
  19686. "description": "审核人名称",
  19687. "type": "string"
  19688. },
  19689. "auditremark": {
  19690. "description": "审核备注",
  19691. "type": "string"
  19692. },
  19693. "audittime": {
  19694. "description": "审核时间",
  19695. "type": "string"
  19696. },
  19697. "buyusername": {
  19698. "description": "采购方名称",
  19699. "type": "string"
  19700. },
  19701. "contractno": {
  19702. "description": "合同编号",
  19703. "type": "string"
  19704. },
  19705. "contractstatus": {
  19706. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19707. "type": "integer"
  19708. },
  19709. "contracttype": {
  19710. "description": "现货合同类型 - 1:采购 -1:销售",
  19711. "type": "integer"
  19712. },
  19713. "deliverygoodscode": {
  19714. "description": "现货品种代码",
  19715. "type": "string"
  19716. },
  19717. "deliverygoodsid": {
  19718. "description": "现货商品ID",
  19719. "type": "integer"
  19720. },
  19721. "deliverygoodsname": {
  19722. "description": "现货品种名称",
  19723. "type": "string"
  19724. },
  19725. "enumdicname": {
  19726. "description": "单位名称",
  19727. "type": "string"
  19728. },
  19729. "goodscode": {
  19730. "description": "点价合约",
  19731. "type": "string"
  19732. },
  19733. "goodsname": {
  19734. "description": "商品名称",
  19735. "type": "string"
  19736. },
  19737. "invoiceamount": {
  19738. "description": "已开收票金额(销售为开票,采购为收票)",
  19739. "type": "number"
  19740. },
  19741. "operateapplyid": {
  19742. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19743. "type": "string"
  19744. },
  19745. "operateapplytype": {
  19746. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19747. "type": "integer"
  19748. },
  19749. "pricemove": {
  19750. "description": "升贴水",
  19751. "type": "number"
  19752. },
  19753. "pricetype": {
  19754. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19755. "type": "integer"
  19756. },
  19757. "relatedid": {
  19758. "description": "现货合同ID",
  19759. "type": "string"
  19760. },
  19761. "sellusername": {
  19762. "description": "销售方名字",
  19763. "type": "string"
  19764. },
  19765. "userid": {
  19766. "description": "用户ID",
  19767. "type": "integer"
  19768. },
  19769. "wrstandardcode": {
  19770. "description": "品类代码",
  19771. "type": "string"
  19772. },
  19773. "wrstandardid": {
  19774. "description": "品类id",
  19775. "type": "integer"
  19776. },
  19777. "wrstandardname": {
  19778. "description": "品类名称",
  19779. "type": "string"
  19780. }
  19781. }
  19782. },
  19783. "ermcp.QryBussinessJsExRsp": {
  19784. "type": "object",
  19785. "properties": {
  19786. "applyid": {
  19787. "description": "申请人",
  19788. "type": "string"
  19789. },
  19790. "applyname": {
  19791. "description": "申请人名称",
  19792. "type": "string"
  19793. },
  19794. "applystatus": {
  19795. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19796. "type": "integer"
  19797. },
  19798. "applytime": {
  19799. "description": "申请时间",
  19800. "type": "string"
  19801. },
  19802. "attachurl": {
  19803. "description": "附件",
  19804. "type": "string"
  19805. },
  19806. "auditid": {
  19807. "description": "审核人ID",
  19808. "type": "string"
  19809. },
  19810. "auditname": {
  19811. "description": "审核人名称",
  19812. "type": "string"
  19813. },
  19814. "auditremark": {
  19815. "description": "审核备注",
  19816. "type": "string"
  19817. },
  19818. "audittime": {
  19819. "description": "审核时间",
  19820. "type": "string"
  19821. },
  19822. "buyusername": {
  19823. "description": "采购方名称",
  19824. "type": "string"
  19825. },
  19826. "contractno": {
  19827. "description": "合同编号",
  19828. "type": "string"
  19829. },
  19830. "contractstatus": {
  19831. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19832. "type": "integer"
  19833. },
  19834. "contracttype": {
  19835. "description": "现货合同类型 - 1:采购 -1:销售",
  19836. "type": "integer"
  19837. },
  19838. "deliverygoodscode": {
  19839. "description": "现货品种代码",
  19840. "type": "string"
  19841. },
  19842. "deliverygoodsid": {
  19843. "description": "现货商品ID",
  19844. "type": "integer"
  19845. },
  19846. "deliverygoodsname": {
  19847. "description": "现货品种名称",
  19848. "type": "string"
  19849. },
  19850. "enumdicname": {
  19851. "description": "单位名称",
  19852. "type": "string"
  19853. },
  19854. "goodscode": {
  19855. "description": "点价合约",
  19856. "type": "string"
  19857. },
  19858. "goodsname": {
  19859. "description": "商品名称",
  19860. "type": "string"
  19861. },
  19862. "operateapplyid": {
  19863. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  19864. "type": "string"
  19865. },
  19866. "operateapplytype": {
  19867. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  19868. "type": "integer"
  19869. },
  19870. "pricemove": {
  19871. "description": "升贴水",
  19872. "type": "number"
  19873. },
  19874. "pricetype": {
  19875. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  19876. "type": "integer"
  19877. },
  19878. "reckontype": {
  19879. "description": "结算类型",
  19880. "type": "string"
  19881. },
  19882. "reckonvalue": {
  19883. "description": "值",
  19884. "type": "number"
  19885. },
  19886. "relatedid": {
  19887. "description": "现货合同ID",
  19888. "type": "string"
  19889. },
  19890. "sellusername": {
  19891. "description": "销售方名字",
  19892. "type": "string"
  19893. },
  19894. "userid": {
  19895. "description": "用户ID",
  19896. "type": "integer"
  19897. },
  19898. "wrstandardcode": {
  19899. "description": "品类代码",
  19900. "type": "string"
  19901. },
  19902. "wrstandardid": {
  19903. "description": "品类id",
  19904. "type": "integer"
  19905. },
  19906. "wrstandardname": {
  19907. "description": "品类名称",
  19908. "type": "string"
  19909. }
  19910. }
  19911. },
  19912. "ermcp.QryBussinessJsRsp": {
  19913. "type": "object",
  19914. "properties": {
  19915. "addmargin": {
  19916. "description": "追加保证金(非必填)",
  19917. "type": "number"
  19918. },
  19919. "applyid": {
  19920. "description": "申请人",
  19921. "type": "string"
  19922. },
  19923. "applyname": {
  19924. "description": "申请人名称",
  19925. "type": "string"
  19926. },
  19927. "applystatus": {
  19928. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  19929. "type": "integer"
  19930. },
  19931. "applytime": {
  19932. "description": "申请时间",
  19933. "type": "string"
  19934. },
  19935. "attachurl": {
  19936. "description": "附件",
  19937. "type": "string"
  19938. },
  19939. "auditid": {
  19940. "description": "审核人ID",
  19941. "type": "string"
  19942. },
  19943. "auditname": {
  19944. "description": "审核人名称",
  19945. "type": "string"
  19946. },
  19947. "auditremark": {
  19948. "description": "审核备注",
  19949. "type": "string"
  19950. },
  19951. "audittime": {
  19952. "description": "审核时间",
  19953. "type": "string"
  19954. },
  19955. "buyusername": {
  19956. "description": "采购方名称",
  19957. "type": "string"
  19958. },
  19959. "contractno": {
  19960. "description": "合同编号",
  19961. "type": "string"
  19962. },
  19963. "contractstatus": {
  19964. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  19965. "type": "integer"
  19966. },
  19967. "contracttype": {
  19968. "description": "现货合同类型 - 1:采购 -1:销售",
  19969. "type": "integer"
  19970. },
  19971. "decmargin": {
  19972. "description": "减少保证金(非必填)",
  19973. "type": "number"
  19974. },
  19975. "deliverygoodscode": {
  19976. "description": "现货品种代码",
  19977. "type": "string"
  19978. },
  19979. "deliverygoodsid": {
  19980. "description": "现货商品ID",
  19981. "type": "integer"
  19982. },
  19983. "deliverygoodsname": {
  19984. "description": "现货品种名称",
  19985. "type": "string"
  19986. },
  19987. "enumdicname": {
  19988. "description": "单位名称",
  19989. "type": "string"
  19990. },
  19991. "goodscode": {
  19992. "description": "点价合约",
  19993. "type": "string"
  19994. },
  19995. "goodsname": {
  19996. "description": "商品名称",
  19997. "type": "string"
  19998. },
  19999. "operateapplyid": {
  20000. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  20001. "type": "string"
  20002. },
  20003. "operateapplytype": {
  20004. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  20005. "type": "integer"
  20006. },
  20007. "pricemove": {
  20008. "description": "升贴水",
  20009. "type": "number"
  20010. },
  20011. "pricetype": {
  20012. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20013. "type": "integer"
  20014. },
  20015. "reckonadjustamount": {
  20016. "description": "结算调整金额(非必填)",
  20017. "type": "number"
  20018. },
  20019. "reckonosamount": {
  20020. "description": "结算溢短金额(非必填)",
  20021. "type": "number"
  20022. },
  20023. "reckonotheramount": {
  20024. "description": "结算其他费用(非必填)",
  20025. "type": "number"
  20026. },
  20027. "reckonrealqty": {
  20028. "description": "结算实际数量(非必填)",
  20029. "type": "number"
  20030. },
  20031. "relatedid": {
  20032. "description": "现货合同ID",
  20033. "type": "string"
  20034. },
  20035. "sellusername": {
  20036. "description": "销售方名字",
  20037. "type": "string"
  20038. },
  20039. "userid": {
  20040. "description": "用户ID",
  20041. "type": "integer"
  20042. },
  20043. "wrstandardcode": {
  20044. "description": "品类代码",
  20045. "type": "string"
  20046. },
  20047. "wrstandardid": {
  20048. "description": "品类id",
  20049. "type": "integer"
  20050. },
  20051. "wrstandardname": {
  20052. "description": "品类名称",
  20053. "type": "string"
  20054. }
  20055. }
  20056. },
  20057. "ermcp.QryBussinessKxRsp": {
  20058. "type": "object",
  20059. "properties": {
  20060. "applyid": {
  20061. "description": "申请人",
  20062. "type": "string"
  20063. },
  20064. "applyname": {
  20065. "description": "申请人名称",
  20066. "type": "string"
  20067. },
  20068. "applystatus": {
  20069. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  20070. "type": "integer"
  20071. },
  20072. "applytime": {
  20073. "description": "申请时间",
  20074. "type": "string"
  20075. },
  20076. "attachurl": {
  20077. "description": "附件",
  20078. "type": "string"
  20079. },
  20080. "auditid": {
  20081. "description": "审核人ID",
  20082. "type": "string"
  20083. },
  20084. "auditname": {
  20085. "description": "审核人名称",
  20086. "type": "string"
  20087. },
  20088. "auditremark": {
  20089. "description": "审核备注",
  20090. "type": "string"
  20091. },
  20092. "audittime": {
  20093. "description": "审核时间",
  20094. "type": "string"
  20095. },
  20096. "buyusername": {
  20097. "description": "采购方名称",
  20098. "type": "string"
  20099. },
  20100. "contractno": {
  20101. "description": "合同编号",
  20102. "type": "string"
  20103. },
  20104. "contractstatus": {
  20105. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  20106. "type": "integer"
  20107. },
  20108. "contracttype": {
  20109. "description": "现货合同类型 - 1:采购 -1:销售",
  20110. "type": "integer"
  20111. },
  20112. "deductamount": {
  20113. "description": "期初均价",
  20114. "type": "number"
  20115. },
  20116. "deliverygoodscode": {
  20117. "description": "现货品种代码",
  20118. "type": "string"
  20119. },
  20120. "deliverygoodsid": {
  20121. "description": "现货商品ID",
  20122. "type": "integer"
  20123. },
  20124. "deliverygoodsname": {
  20125. "description": "现货品种名称",
  20126. "type": "string"
  20127. },
  20128. "enumdicname": {
  20129. "description": "单位名称",
  20130. "type": "string"
  20131. },
  20132. "goodscode": {
  20133. "description": "点价合约",
  20134. "type": "string"
  20135. },
  20136. "goodsname": {
  20137. "description": "商品名称",
  20138. "type": "string"
  20139. },
  20140. "kxtype": {
  20141. "description": "款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)",
  20142. "type": "integer"
  20143. },
  20144. "operateapplyid": {
  20145. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  20146. "type": "string"
  20147. },
  20148. "operateapplytype": {
  20149. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  20150. "type": "integer"
  20151. },
  20152. "payamount": {
  20153. "description": "期初均价",
  20154. "type": "number"
  20155. },
  20156. "pricemove": {
  20157. "description": "升贴水",
  20158. "type": "number"
  20159. },
  20160. "pricetype": {
  20161. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  20162. "type": "integer"
  20163. },
  20164. "relatedid": {
  20165. "description": "现货合同ID",
  20166. "type": "string"
  20167. },
  20168. "sellusername": {
  20169. "description": "销售方名字",
  20170. "type": "string"
  20171. },
  20172. "userid": {
  20173. "description": "用户ID",
  20174. "type": "integer"
  20175. },
  20176. "wrstandardcode": {
  20177. "description": "品类代码",
  20178. "type": "string"
  20179. },
  20180. "wrstandardid": {
  20181. "description": "品类id",
  20182. "type": "integer"
  20183. },
  20184. "wrstandardname": {
  20185. "description": "品类名称",
  20186. "type": "string"
  20187. }
  20188. }
  20189. },
  20190. "ermcp.QryGGCovertCfgRsp": {
  20191. "type": "object",
  20192. "properties": {
  20193. "convertratio": {
  20194. "description": "折算系数",
  20195. "type": "number"
  20196. },
  20197. "destgoodsgroupid": {
  20198. "description": "目标品种ID",
  20199. "type": "integer"
  20200. },
  20201. "dstcode": {
  20202. "description": "目录品种代码",
  20203. "type": "string"
  20204. },
  20205. "dstexchangecode": {
  20206. "description": "目标期货交易所",
  20207. "type": "string"
  20208. },
  20209. "dstname": {
  20210. "description": "目标品种名称",
  20211. "type": "string"
  20212. },
  20213. "dstunitid": {
  20214. "description": "目标品种单位ID",
  20215. "type": "integer"
  20216. },
  20217. "dstunitidname": {
  20218. "description": "目标品种单位名称",
  20219. "type": "string"
  20220. },
  20221. "modifytime": {
  20222. "description": "修改时间",
  20223. "type": "string"
  20224. },
  20225. "srccode": {
  20226. "description": "源品种代码",
  20227. "type": "string"
  20228. },
  20229. "srcexchangecode": {
  20230. "description": "源期货交易所",
  20231. "type": "string"
  20232. },
  20233. "srcgoodsgroupid": {
  20234. "description": "源品种ID",
  20235. "type": "integer"
  20236. },
  20237. "srcname": {
  20238. "description": "源品种名称",
  20239. "type": "string"
  20240. },
  20241. "srcunitid": {
  20242. "description": "源品种单位ID",
  20243. "type": "integer"
  20244. },
  20245. "srcunitidname": {
  20246. "description": "源品种单位名称",
  20247. "type": "string"
  20248. }
  20249. }
  20250. },
  20251. "ermcp.QryMGChangeLogRsp": {
  20252. "type": "object",
  20253. "properties": {
  20254. "aftervalue": {
  20255. "description": "变更后",
  20256. "type": "number"
  20257. },
  20258. "applyid": {
  20259. "description": "操作人",
  20260. "type": "integer"
  20261. },
  20262. "applyname": {
  20263. "description": "操作人名称",
  20264. "type": "string"
  20265. },
  20266. "applysrc": {
  20267. "description": "操作来源 - 1:管理端 2:终端",
  20268. "type": "integer"
  20269. },
  20270. "beforevalue": {
  20271. "description": "变更前",
  20272. "type": "number"
  20273. },
  20274. "changelogtype": {
  20275. "description": "变更流水类型 - 1:套保比率变更",
  20276. "type": "integer"
  20277. },
  20278. "handlestatus": {
  20279. "description": "处理状态",
  20280. "type": "integer"
  20281. },
  20282. "logdatetime": {
  20283. "description": "流水日期",
  20284. "type": "string"
  20285. },
  20286. "logid": {
  20287. "description": "流水ID",
  20288. "type": "integer"
  20289. },
  20290. "logremark": {
  20291. "description": "流水备注",
  20292. "type": "string"
  20293. },
  20294. "middlegoodsid": {
  20295. "description": "套保品种ID",
  20296. "type": "integer"
  20297. },
  20298. "tradedate": {
  20299. "description": "交易日(yyyyMMdd)",
  20300. "type": "string"
  20301. },
  20302. "updatetime": {
  20303. "description": "更新时间",
  20304. "type": "string"
  20305. }
  20306. }
  20307. },
  20308. "ermcp.QryMiddleGoodsDetailRsp": {
  20309. "type": "object",
  20310. "properties": {
  20311. "cvList": {
  20312. "description": "期货品种折算列表",
  20313. "type": "array",
  20314. "items": {
  20315. "$ref": "#/definitions/models.ErmcpGGConvertCfg"
  20316. }
  20317. },
  20318. "mg": {
  20319. "description": "套保品种基本信息",
  20320. "$ref": "#/definitions/models.ErmcpMiddleGoodsModel"
  20321. },
  20322. "wrcList": {
  20323. "description": "现货品种列表(现货商品折算配置)",
  20324. "type": "array",
  20325. "items": {
  20326. "$ref": "#/definitions/models.WRSConverTDetail"
  20327. }
  20328. }
  20329. }
  20330. },
  20331. "ermcp.QryMiddleGoodsRsp": {
  20332. "type": "object",
  20333. "properties": {
  20334. "areauserid": {
  20335. "description": "机构用户ID",
  20336. "type": "integer"
  20337. },
  20338. "createtime": {
  20339. "description": "修改时间",
  20340. "type": "string"
  20341. },
  20342. "enumdicname": {
  20343. "description": "单位名称",
  20344. "type": "string"
  20345. },
  20346. "evaluateratio": {
  20347. "description": "估价系数",
  20348. "type": "number"
  20349. },
  20350. "goodsgroupid": {
  20351. "description": "关联期货品种ID",
  20352. "type": "integer"
  20353. },
  20354. "goodsunitid": {
  20355. "description": "单位ID",
  20356. "type": "integer"
  20357. },
  20358. "isvalid": {
  20359. "description": "状态 0-无效(停用) 1-有效(正常)",
  20360. "type": "integer"
  20361. },
  20362. "middlegoodscode": {
  20363. "description": "套保品种代码",
  20364. "type": "string"
  20365. },
  20366. "middlegoodsid": {
  20367. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  20368. "type": "integer"
  20369. },
  20370. "middlegoodsname": {
  20371. "description": "套保品种名称",
  20372. "type": "string"
  20373. },
  20374. "modifytime": {
  20375. "description": "修改时间",
  20376. "type": "string"
  20377. },
  20378. "needarbitrageratio": {
  20379. "description": "套利比例",
  20380. "type": "number"
  20381. },
  20382. "needhedgeratio": {
  20383. "description": "套保比率",
  20384. "type": "number"
  20385. },
  20386. "qtydecimalplace": {
  20387. "description": "数量小数位",
  20388. "type": "integer"
  20389. },
  20390. "relatedgoodsid": {
  20391. "description": "关联交易商品ID",
  20392. "type": "integer"
  20393. },
  20394. "relatedgoodstype": {
  20395. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  20396. "type": "integer"
  20397. },
  20398. "remark": {
  20399. "description": "备注",
  20400. "type": "string"
  20401. }
  20402. }
  20403. },
  20404. "ermcp.QryOPLogRsp": {
  20405. "type": "object",
  20406. "properties": {
  20407. "aftervalue": {
  20408. "description": "变更后",
  20409. "type": "number"
  20410. },
  20411. "applyid": {
  20412. "description": "操作人ID",
  20413. "type": "string"
  20414. },
  20415. "applyname": {
  20416. "description": "操作人名称",
  20417. "type": "string"
  20418. },
  20419. "beforevalue": {
  20420. "description": "变更前",
  20421. "type": "number"
  20422. },
  20423. "biztype": {
  20424. "description": "业务类型 - 1:套保计划 2:现货合同",
  20425. "type": "integer"
  20426. },
  20427. "contracttype": {
  20428. "description": "现货合同类型 - 1:采购 -1:销售",
  20429. "type": "integer"
  20430. },
  20431. "logvalue": {
  20432. "description": "数值",
  20433. "type": "number"
  20434. },
  20435. "operatelogtype": {
  20436. "description": "操作流水类型",
  20437. "type": "integer"
  20438. },
  20439. "operatelogtypedesc": {
  20440. "description": "操作流水类型名称",
  20441. "type": "string"
  20442. },
  20443. "relatedid": {
  20444. "description": "现货合同ID\\套保计划",
  20445. "type": "string"
  20446. },
  20447. "updatetime": {
  20448. "description": "更新时间",
  20449. "type": "string"
  20450. }
  20451. }
  20452. },
  20453. "ermcp.QryUserInfoRsp": {
  20454. "type": "object",
  20455. "properties": {
  20456. "address": {
  20457. "description": "通讯地址",
  20458. "type": "string"
  20459. },
  20460. "attachment1": {
  20461. "description": "附件1",
  20462. "type": "string"
  20463. },
  20464. "audittime": {
  20465. "description": "审核时间",
  20466. "type": "string"
  20467. },
  20468. "cardbackphotourl": {
  20469. "description": "证件反面图片地址",
  20470. "type": "string"
  20471. },
  20472. "cardfrontphotourl": {
  20473. "description": "证件正面图片地址",
  20474. "type": "string"
  20475. },
  20476. "cardnum": {
  20477. "description": "证件号码",
  20478. "type": "string"
  20479. },
  20480. "cardtype": {
  20481. "description": "证件类型",
  20482. "type": "integer"
  20483. },
  20484. "cardtypename": {
  20485. "description": "证件类型名称",
  20486. "type": "string"
  20487. },
  20488. "cityid": {
  20489. "description": "市",
  20490. "type": "integer"
  20491. },
  20492. "contactname": {
  20493. "description": "联系人",
  20494. "type": "string"
  20495. },
  20496. "countryid": {
  20497. "description": "国家",
  20498. "type": "integer"
  20499. },
  20500. "createtime": {
  20501. "description": "创建时间",
  20502. "type": "string"
  20503. },
  20504. "customername": {
  20505. "description": "企业名称",
  20506. "type": "string"
  20507. },
  20508. "districtid": {
  20509. "description": "区域",
  20510. "type": "integer"
  20511. },
  20512. "email": {
  20513. "description": "邮件",
  20514. "type": "string"
  20515. },
  20516. "legalpersonname": {
  20517. "description": "法人姓名(企业)",
  20518. "type": "string"
  20519. },
  20520. "memberuserid": {
  20521. "description": "所属机构ID",
  20522. "type": "integer"
  20523. },
  20524. "mobile": {
  20525. "description": "手机号码",
  20526. "type": "string"
  20527. },
  20528. "modifytime": {
  20529. "description": "修改时间",
  20530. "type": "string"
  20531. },
  20532. "nickname": {
  20533. "description": "昵称",
  20534. "type": "string"
  20535. },
  20536. "provinceid": {
  20537. "description": "省",
  20538. "type": "integer"
  20539. },
  20540. "remark": {
  20541. "description": "备注",
  20542. "type": "string"
  20543. },
  20544. "status": {
  20545. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  20546. "type": "integer"
  20547. },
  20548. "statusdesc": {
  20549. "description": "账户状态中文描述",
  20550. "type": "string"
  20551. },
  20552. "taxpayernum": {
  20553. "description": "纳税人识别号",
  20554. "type": "string"
  20555. },
  20556. "telphone": {
  20557. "description": "联系电话",
  20558. "type": "string"
  20559. },
  20560. "userid": {
  20561. "description": "用户ID",
  20562. "type": "integer"
  20563. },
  20564. "userinfotype": {
  20565. "description": "客户类型",
  20566. "type": "string"
  20567. }
  20568. }
  20569. },
  20570. "ermcp.QryWarehouseRsp": {
  20571. "type": "object",
  20572. "properties": {
  20573. "address": {
  20574. "description": "详细地址",
  20575. "type": "string"
  20576. },
  20577. "areauserid": {
  20578. "description": "所属机构",
  20579. "type": "integer"
  20580. },
  20581. "autoid": {
  20582. "description": "自增ID(仓库ID)",
  20583. "type": "integer"
  20584. },
  20585. "cityid": {
  20586. "description": "市",
  20587. "type": "integer"
  20588. },
  20589. "contactname": {
  20590. "description": "联系人",
  20591. "type": "string"
  20592. },
  20593. "contactnum": {
  20594. "description": "联系电话",
  20595. "type": "string"
  20596. },
  20597. "countryid": {
  20598. "description": "国家",
  20599. "type": "integer"
  20600. },
  20601. "createtime": {
  20602. "description": "创建时间",
  20603. "type": "string"
  20604. },
  20605. "districtid": {
  20606. "description": "区",
  20607. "type": "integer"
  20608. },
  20609. "hasvideo": {
  20610. "description": "是否有视频 - 0:无 1:有",
  20611. "type": "integer"
  20612. },
  20613. "provinceid": {
  20614. "description": "省",
  20615. "type": "integer"
  20616. },
  20617. "remark": {
  20618. "description": "审核备注",
  20619. "type": "string"
  20620. },
  20621. "videourl": {
  20622. "description": "视频地址",
  20623. "type": "string"
  20624. },
  20625. "warehousecode": {
  20626. "description": "仓库代码",
  20627. "type": "string"
  20628. },
  20629. "warehousename": {
  20630. "description": "仓库名称",
  20631. "type": "string"
  20632. },
  20633. "warehousestatus": {
  20634. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  20635. "type": "integer"
  20636. },
  20637. "warehousetype": {
  20638. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  20639. "type": "integer"
  20640. }
  20641. }
  20642. },
  20643. "ermcp.QueryErmcpTradePositionRsp": {
  20644. "type": "object",
  20645. "properties": {
  20646. "agreeunit": {
  20647. "description": "合约单位",
  20648. "type": "number"
  20649. },
  20650. "buyorsell": {
  20651. "description": "方向 - 0:买 1:卖",
  20652. "type": "integer"
  20653. },
  20654. "curpositionqty": {
  20655. "description": "持仓(总仓数量, 期末头寸)",
  20656. "type": "integer"
  20657. },
  20658. "curtdposition": {
  20659. "description": "今仓数量(期末今日头寸)",
  20660. "type": "integer"
  20661. },
  20662. "curtdpositionenabled": {
  20663. "description": "今仓可用",
  20664. "type": "integer"
  20665. },
  20666. "decimalplace": {
  20667. "description": "报价小数位",
  20668. "type": "integer"
  20669. },
  20670. "enableqty": {
  20671. "description": "可用(总仓可用)",
  20672. "type": "integer"
  20673. },
  20674. "exexchangename": {
  20675. "description": "外部交易所名称",
  20676. "type": "string"
  20677. },
  20678. "exexehangecode": {
  20679. "description": "外部交易所代码",
  20680. "type": "string"
  20681. },
  20682. "exexehangeid": {
  20683. "description": "外部交易所id",
  20684. "type": "integer"
  20685. },
  20686. "goodscode": {
  20687. "description": "商品代码(内部)",
  20688. "type": "string"
  20689. },
  20690. "goodsid": {
  20691. "description": "商品ID(自增ID SEQ_GOODS)",
  20692. "type": "integer"
  20693. },
  20694. "goodsname": {
  20695. "description": "商品名称",
  20696. "type": "string"
  20697. },
  20698. "last": {
  20699. "description": "现价",
  20700. "type": "number"
  20701. },
  20702. "marketid": {
  20703. "description": "所属市场ID",
  20704. "type": "integer"
  20705. },
  20706. "openaverageprice": {
  20707. "description": "开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位",
  20708. "type": "number"
  20709. },
  20710. "opencost": {
  20711. "description": "开仓成本",
  20712. "type": "number"
  20713. },
  20714. "openpl": {
  20715. "description": "逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  20716. "type": "number"
  20717. },
  20718. "outgoodscode": {
  20719. "description": "商品代码(外部)",
  20720. "type": "string"
  20721. },
  20722. "positionaverageprice": {
  20723. "description": "持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位",
  20724. "type": "number"
  20725. },
  20726. "positioncost": {
  20727. "description": "持仓成本",
  20728. "type": "number"
  20729. },
  20730. "positionpl": {
  20731. "description": "盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  20732. "type": "number"
  20733. },
  20734. "positionplrate": {
  20735. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  20736. "type": "number"
  20737. },
  20738. "usedmargin": {
  20739. "description": "占用保证金",
  20740. "type": "number"
  20741. }
  20742. }
  20743. },
  20744. "ermcp.RealtimeExposurePositionRsp": {
  20745. "type": "object",
  20746. "properties": {
  20747. "agreeunit": {
  20748. "description": "合约单位",
  20749. "type": "string"
  20750. },
  20751. "areauserid": {
  20752. "description": "所属机构id",
  20753. "type": "integer"
  20754. },
  20755. "convertratio": {
  20756. "description": "期货品种系数(折算系数)",
  20757. "type": "number"
  20758. },
  20759. "curhedgeqty": {
  20760. "description": "期货套期量 = 当前持仓*期货合约单位*期货品种系数",
  20761. "type": "number"
  20762. },
  20763. "curqty": {
  20764. "description": "当前持仓",
  20765. "type": "integer"
  20766. },
  20767. "diffhedgeqty": {
  20768. "description": "套保品种变动量=持仓变动量*期货合约单位*期货品种系数",
  20769. "type": "number"
  20770. },
  20771. "diffqty": {
  20772. "description": "持仓变动量=当前持仓-昨日持仓",
  20773. "type": "integer"
  20774. },
  20775. "goodscode": {
  20776. "description": "商品代码",
  20777. "type": "string"
  20778. },
  20779. "goodsid": {
  20780. "description": "商品id",
  20781. "type": "integer"
  20782. },
  20783. "goodsname": {
  20784. "description": "商品名称",
  20785. "type": "string"
  20786. },
  20787. "hedgeaccountcode": {
  20788. "description": "对冲账号(只有外部账号才有值)",
  20789. "type": "string"
  20790. },
  20791. "middlegoodscode": {
  20792. "description": "套保商品代码",
  20793. "type": "string"
  20794. },
  20795. "middlegoodsid": {
  20796. "description": "套保商品id",
  20797. "type": "integer"
  20798. },
  20799. "middlegoodsname": {
  20800. "description": "套保商品名称",
  20801. "type": "string"
  20802. },
  20803. "ydqty": {
  20804. "description": "昨日持仓",
  20805. "type": "integer"
  20806. }
  20807. }
  20808. },
  20809. "ermcp.RealtimeExposureRsp": {
  20810. "type": "object",
  20811. "properties": {
  20812. "AreaUserID": {
  20813. "description": "所属机构",
  20814. "type": "integer"
  20815. },
  20816. "BuyFutureQty": {
  20817. "description": "买入期货数量",
  20818. "type": "number"
  20819. },
  20820. "BuyPlanQty": {
  20821. "description": "采购计划数量",
  20822. "type": "number"
  20823. },
  20824. "BuyPricedQty": {
  20825. "description": "采购合同已定价数量",
  20826. "type": "number"
  20827. },
  20828. "MiddleGoodsCode": {
  20829. "description": "套保品种代码",
  20830. "type": "string"
  20831. },
  20832. "MiddleGoodsHedgeRatio": {
  20833. "description": "套保比例",
  20834. "type": "number"
  20835. },
  20836. "MiddleGoodsID": {
  20837. "description": "套保品种",
  20838. "type": "integer"
  20839. },
  20840. "MiddleGoodsName": {
  20841. "description": "套保品种名称",
  20842. "type": "string"
  20843. },
  20844. "NeedHedgeExposoure": {
  20845. "description": "应套保敞口(套保敞口)",
  20846. "type": "number"
  20847. },
  20848. "NeedHedgeRatio": {
  20849. "description": "应套保敞口比例",
  20850. "type": "number"
  20851. },
  20852. "OriBuyFutureQty": {
  20853. "description": "期初买入期货数量",
  20854. "type": "number"
  20855. },
  20856. "OriBuyPlanQty": {
  20857. "description": "期初采购计划数量",
  20858. "type": "number"
  20859. },
  20860. "OriBuyPricedQty": {
  20861. "description": "期初采购合同已定价数量",
  20862. "type": "number"
  20863. },
  20864. "OriSellFutureQty": {
  20865. "description": "期初卖出期货数量",
  20866. "type": "number"
  20867. },
  20868. "OriSellPlanQty": {
  20869. "description": "期初销售计划数量",
  20870. "type": "number"
  20871. },
  20872. "OriSellPricedQty": {
  20873. "description": "期初销售合同已定价数量",
  20874. "type": "number"
  20875. },
  20876. "OriTotalSpotQty": {
  20877. "description": "期初现货总量",
  20878. "type": "number"
  20879. },
  20880. "SellFutureQty": {
  20881. "description": "卖出期货数量",
  20882. "type": "number"
  20883. },
  20884. "SellPlanQty": {
  20885. "description": "销售计划数量",
  20886. "type": "number"
  20887. },
  20888. "SellPricedQty": {
  20889. "description": "销售合同已定价数量",
  20890. "type": "number"
  20891. },
  20892. "TotalExposure": {
  20893. "description": "总敞口 平安:净敞口",
  20894. "type": "number"
  20895. },
  20896. "TotalFutureQty": {
  20897. "description": "期货总量 平安:保值净持仓量",
  20898. "type": "number"
  20899. },
  20900. "TotalHedgeRatio": {
  20901. "description": "敞口比例",
  20902. "type": "number"
  20903. },
  20904. "TotalNeedHedgeQty": {
  20905. "description": "应套保总量(现货应套保总量)",
  20906. "type": "number"
  20907. },
  20908. "TotalSpotQty": {
  20909. "description": "现货总量 平安:采销定价净值",
  20910. "type": "number"
  20911. },
  20912. "arbitrageqty": {
  20913. "description": "套利量",
  20914. "type": "number"
  20915. },
  20916. "diffArbitrageQty": {
  20917. "description": "期初均价",
  20918. "type": "number"
  20919. },
  20920. "diffExposoureQty": {
  20921. "description": "期初均价",
  20922. "type": "number"
  20923. },
  20924. "diffFutuQty": {
  20925. "description": "期初均价",
  20926. "type": "number"
  20927. },
  20928. "diffHedgeQty": {
  20929. "description": "期初均价",
  20930. "type": "number"
  20931. },
  20932. "diffQty": {
  20933. "description": "期初均价",
  20934. "type": "number"
  20935. },
  20936. "diffSpotHedgeQty": {
  20937. "description": "期初均价",
  20938. "type": "number"
  20939. },
  20940. "diffSpotQty": {
  20941. "description": "期初均价",
  20942. "type": "number"
  20943. },
  20944. "enumdicname": {
  20945. "description": "单位名称",
  20946. "type": "string"
  20947. },
  20948. "hedgeqty": {
  20949. "description": "套保量",
  20950. "type": "number"
  20951. },
  20952. "needarbitrageqty": {
  20953. "description": "应套利量",
  20954. "type": "number"
  20955. },
  20956. "needarbitrageratio": {
  20957. "description": "套利比例",
  20958. "type": "number"
  20959. },
  20960. "needhedgeqty": {
  20961. "description": "应套保量",
  20962. "type": "number"
  20963. },
  20964. "oriarbitrageqty": {
  20965. "description": "期初套利量",
  20966. "type": "number"
  20967. },
  20968. "orihedgeqty": {
  20969. "description": "期初套保量",
  20970. "type": "number"
  20971. },
  20972. "orineedhedgeexposoure": {
  20973. "description": "期初套保敞口",
  20974. "type": "number"
  20975. },
  20976. "oritotalexposure": {
  20977. "description": "期初总敞口",
  20978. "type": "number"
  20979. },
  20980. "oritotalfutureqty": {
  20981. "description": "期初期货总量",
  20982. "type": "number"
  20983. },
  20984. "oritotalneedhedgeqty": {
  20985. "description": "期初现货应套保量",
  20986. "type": "number"
  20987. }
  20988. }
  20989. },
  20990. "erms2.QueryArbitrageStrategyRsp": {
  20991. "type": "object",
  20992. "required": [
  20993. "asapplyid"
  20994. ],
  20995. "properties": {
  20996. "applybasis": {
  20997. "description": "申请基差",
  20998. "type": "number"
  20999. },
  21000. "asapplyid": {
  21001. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  21002. "type": "string"
  21003. },
  21004. "asname": {
  21005. "description": "策略名称",
  21006. "type": "string"
  21007. },
  21008. "asno": {
  21009. "description": "策略编号",
  21010. "type": "string"
  21011. },
  21012. "basischangepl": {
  21013. "description": "基差变动损益[结算更新]",
  21014. "type": "number"
  21015. },
  21016. "biztype": {
  21017. "description": "业务类型 - 1:正向套利 -1:反向套利",
  21018. "type": "integer"
  21019. },
  21020. "closetradedate": {
  21021. "description": "完结交易日(yyyyMMdd)",
  21022. "type": "string"
  21023. },
  21024. "curbasis": {
  21025. "description": "当前基差[结算更新]",
  21026. "type": "number"
  21027. },
  21028. "deliverygoodsid": {
  21029. "description": "现货品种ID",
  21030. "type": "integer"
  21031. },
  21032. "futureavgprice": {
  21033. "description": "期货建仓均价",
  21034. "type": "number"
  21035. },
  21036. "futurecloseamount": {
  21037. "description": "期货平仓金额",
  21038. "type": "number"
  21039. },
  21040. "futurecloseqty": {
  21041. "description": "期货平仓数量",
  21042. "type": "number"
  21043. },
  21044. "futureopenamount": {
  21045. "description": "期货开仓金额",
  21046. "type": "number"
  21047. },
  21048. "futureopenqty": {
  21049. "description": "期货开仓数量",
  21050. "type": "number"
  21051. },
  21052. "futurepl": {
  21053. "description": "期货总盈亏[结算更新]",
  21054. "type": "number"
  21055. },
  21056. "futureqty": {
  21057. "description": "期货持仓数量",
  21058. "type": "number"
  21059. },
  21060. "futurequote": {
  21061. "description": "期货额度",
  21062. "type": "number"
  21063. },
  21064. "goodsgroupid": {
  21065. "description": "期货品种ID",
  21066. "type": "integer"
  21067. },
  21068. "marketid": {
  21069. "description": "市场ID",
  21070. "type": "integer"
  21071. },
  21072. "netexposure": {
  21073. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  21074. "type": "number"
  21075. },
  21076. "netexposurepl": {
  21077. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  21078. "type": "number"
  21079. },
  21080. "netexposurerate": {
  21081. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  21082. "type": "number"
  21083. },
  21084. "openbasis": {
  21085. "description": "建仓基差",
  21086. "type": "number"
  21087. },
  21088. "pricedspotqty": {
  21089. "description": "已定价现货数量",
  21090. "type": "number"
  21091. },
  21092. "pricedspotqtynotax": {
  21093. "description": "已定价现货不含税数量",
  21094. "type": "number"
  21095. },
  21096. "remark": {
  21097. "description": "备注",
  21098. "type": "string"
  21099. },
  21100. "spotavgprice": {
  21101. "description": "现货均价",
  21102. "type": "number"
  21103. },
  21104. "spotbuyamount": {
  21105. "description": "现货采购金额",
  21106. "type": "number"
  21107. },
  21108. "spotbuyqty": {
  21109. "description": "现货采购数量",
  21110. "type": "number"
  21111. },
  21112. "spotpl": {
  21113. "description": "现货总盈亏[结算更新]",
  21114. "type": "number"
  21115. },
  21116. "spotquota": {
  21117. "description": "现货额度",
  21118. "type": "number"
  21119. },
  21120. "spotsellamount": {
  21121. "description": "现货销售金额",
  21122. "type": "number"
  21123. },
  21124. "spotsellqty": {
  21125. "description": "现货销售数量",
  21126. "type": "number"
  21127. },
  21128. "spotusedquota": {
  21129. "description": "现货占用资金",
  21130. "type": "number"
  21131. },
  21132. "strategystatus": {
  21133. "description": "策略状态 - 0:未结束 1:已结束",
  21134. "type": "integer"
  21135. },
  21136. "totalpl": {
  21137. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  21138. "type": "number"
  21139. },
  21140. "tradedate": {
  21141. "description": "交易日(yyyyMMdd)",
  21142. "type": "string"
  21143. },
  21144. "updatetime": {
  21145. "description": "更新时间",
  21146. "type": "string"
  21147. },
  21148. "usedquota": {
  21149. "description": "已占用资金",
  21150. "type": "number"
  21151. },
  21152. "userid": {
  21153. "description": "所属机构",
  21154. "type": "integer"
  21155. }
  21156. }
  21157. },
  21158. "erms2.QueryInnerTradeDetailRsp": {
  21159. "type": "object",
  21160. "required": [
  21161. "asapplyid",
  21162. "buyorsell",
  21163. "goodscode",
  21164. "goodsgroupid",
  21165. "goodsgroupname",
  21166. "goodsname",
  21167. "tradeid"
  21168. ],
  21169. "properties": {
  21170. "accountid": {
  21171. "description": "账号ID",
  21172. "type": "integer"
  21173. },
  21174. "agreeunit": {
  21175. "description": "合约单位",
  21176. "type": "number"
  21177. },
  21178. "asapplyid": {
  21179. "description": "策略申请ID",
  21180. "type": "integer"
  21181. },
  21182. "asname": {
  21183. "description": "策略名称",
  21184. "type": "string"
  21185. },
  21186. "asno": {
  21187. "description": "策略编号",
  21188. "type": "string"
  21189. },
  21190. "buyorsell": {
  21191. "description": "方向 - 0:买 1:卖",
  21192. "type": "integer"
  21193. },
  21194. "channelbuildtype": {
  21195. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  21196. "type": "integer"
  21197. },
  21198. "closetype": {
  21199. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  21200. "type": "integer"
  21201. },
  21202. "decimalplace": {
  21203. "description": "报价小数位",
  21204. "type": "integer"
  21205. },
  21206. "detailtype": {
  21207. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  21208. "type": "integer"
  21209. },
  21210. "exexchangecode": {
  21211. "description": "外部交易所代码",
  21212. "type": "string"
  21213. },
  21214. "exexchangename": {
  21215. "description": "外部交易所名称",
  21216. "type": "string"
  21217. },
  21218. "goodscode": {
  21219. "description": "商品代码(合约)",
  21220. "type": "string"
  21221. },
  21222. "goodsgroupid": {
  21223. "description": "商品组ID(品种ID)",
  21224. "type": "integer"
  21225. },
  21226. "goodsgroupname": {
  21227. "description": "商品组名称(品种)",
  21228. "type": "string"
  21229. },
  21230. "goodsid": {
  21231. "description": "商品ID",
  21232. "type": "integer"
  21233. },
  21234. "goodsname": {
  21235. "description": "商品名称(合约)",
  21236. "type": "string"
  21237. },
  21238. "goodunit": {
  21239. "description": "报价单位",
  21240. "type": "string"
  21241. },
  21242. "marketid": {
  21243. "description": "市场ID",
  21244. "type": "integer"
  21245. },
  21246. "orderid": {
  21247. "description": "委托单号",
  21248. "type": "string"
  21249. },
  21250. "outgoodscode": {
  21251. "description": "商品代码(外部)",
  21252. "type": "string"
  21253. },
  21254. "relatedouttradeid": {
  21255. "description": "关联外部成交单ID",
  21256. "type": "string"
  21257. },
  21258. "remark": {
  21259. "description": "备注",
  21260. "type": "string"
  21261. },
  21262. "spotcontractid": {
  21263. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  21264. "type": "integer"
  21265. },
  21266. "spotcontractno": {
  21267. "description": "现货合同编号",
  21268. "type": "string"
  21269. },
  21270. "tradeid": {
  21271. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  21272. "type": "string"
  21273. },
  21274. "tradeprice": {
  21275. "description": "成交价格",
  21276. "type": "number"
  21277. },
  21278. "tradeqty": {
  21279. "description": "成交数量",
  21280. "type": "integer"
  21281. },
  21282. "tradetime": {
  21283. "description": "成交时间",
  21284. "type": "string"
  21285. },
  21286. "updatetime": {
  21287. "description": "更新时间",
  21288. "type": "string"
  21289. }
  21290. }
  21291. },
  21292. "erms2.QuerySpotContractRsp": {
  21293. "type": "object",
  21294. "required": [
  21295. "spotcontractid"
  21296. ],
  21297. "properties": {
  21298. "accountid": {
  21299. "description": "资金账户ID",
  21300. "type": "integer"
  21301. },
  21302. "areauserid": {
  21303. "description": "所属机构",
  21304. "type": "integer"
  21305. },
  21306. "closedate": {
  21307. "description": "终止日期",
  21308. "type": "string"
  21309. },
  21310. "closeremark": {
  21311. "description": "结束备注",
  21312. "type": "string"
  21313. },
  21314. "closetradedate": {
  21315. "description": "完结交易日(yyyyMMdd)",
  21316. "type": "string"
  21317. },
  21318. "closetype": {
  21319. "description": "终止类型 - 1:违约 2:提前终止",
  21320. "type": "integer"
  21321. },
  21322. "contractamount": {
  21323. "description": "合同金额",
  21324. "type": "number"
  21325. },
  21326. "contractattachment": {
  21327. "description": "合同附件",
  21328. "type": "string"
  21329. },
  21330. "contractno": {
  21331. "description": "现货合同编号",
  21332. "type": "string"
  21333. },
  21334. "contractqty": {
  21335. "description": "合同数量(数值) (用于计算)",
  21336. "type": "number"
  21337. },
  21338. "contractqtychar": {
  21339. "description": "合同数量\\已订价数量 (用于显示)",
  21340. "type": "string"
  21341. },
  21342. "contractstatus": {
  21343. "description": "合同状态 - 0:未结束 1:已结束",
  21344. "type": "integer"
  21345. },
  21346. "contracttype": {
  21347. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  21348. "type": "integer"
  21349. },
  21350. "customeraccountid": {
  21351. "description": "客户资金账户ID",
  21352. "type": "integer"
  21353. },
  21354. "customeruserid": {
  21355. "description": "客户ID",
  21356. "type": "integer"
  21357. },
  21358. "deliverygoodsdesc": {
  21359. "description": "品种说明",
  21360. "type": "string"
  21361. },
  21362. "deliverygoodsid": {
  21363. "description": "现货品种ID",
  21364. "type": "integer"
  21365. },
  21366. "handlestatus": {
  21367. "description": "处理状态",
  21368. "type": "integer"
  21369. },
  21370. "invoiceatt": {
  21371. "description": "发票附件",
  21372. "type": "string"
  21373. },
  21374. "invoicedatetime": {
  21375. "description": "开收票更新时间",
  21376. "type": "string"
  21377. },
  21378. "invoiceopentime": {
  21379. "description": "开票时间",
  21380. "type": "string"
  21381. },
  21382. "invoiceremark": {
  21383. "description": "发票备注",
  21384. "type": "string"
  21385. },
  21386. "invoicestatus": {
  21387. "description": "开收票状态 - 0:未开票 1:已开票",
  21388. "type": "integer"
  21389. },
  21390. "lastdate": {
  21391. "description": "交货时间",
  21392. "type": "string"
  21393. },
  21394. "marketid": {
  21395. "description": "市场ID",
  21396. "type": "integer"
  21397. },
  21398. "paydatetime": {
  21399. "description": "收付款更新时间",
  21400. "type": "string"
  21401. },
  21402. "payremark": {
  21403. "description": "收付款备注",
  21404. "type": "string"
  21405. },
  21406. "paystatus": {
  21407. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  21408. "type": "integer"
  21409. },
  21410. "positionqty": {
  21411. "description": "头寸数量 - 合同数量去小数部分",
  21412. "type": "integer"
  21413. },
  21414. "producttype": {
  21415. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  21416. "type": "integer"
  21417. },
  21418. "relatedqty": {
  21419. "description": "已关联数量",
  21420. "type": "number"
  21421. },
  21422. "relatedstatus": {
  21423. "description": "关联完结状态 - 0:未结束 1:已结束",
  21424. "type": "integer"
  21425. },
  21426. "remark": {
  21427. "description": "备注",
  21428. "type": "string"
  21429. },
  21430. "signdate": {
  21431. "description": "签订日期",
  21432. "type": "string"
  21433. },
  21434. "spotcontractid": {
  21435. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  21436. "type": "string"
  21437. },
  21438. "spotdatetime": {
  21439. "description": "收发货更新时间",
  21440. "type": "string"
  21441. },
  21442. "spotprice": {
  21443. "description": "价格",
  21444. "type": "number"
  21445. },
  21446. "spotremark": {
  21447. "description": "收发货备注",
  21448. "type": "string"
  21449. },
  21450. "spotstatus": {
  21451. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  21452. "type": "integer"
  21453. },
  21454. "tradedate": {
  21455. "description": "交易日(yyyyMMdd)",
  21456. "type": "string"
  21457. },
  21458. "userid": {
  21459. "description": "业务员用户ID",
  21460. "type": "integer"
  21461. },
  21462. "warehouseid": {
  21463. "description": "仓库ID",
  21464. "type": "integer"
  21465. },
  21466. "wrfactortypeid": {
  21467. "description": "仓单要素类型ID",
  21468. "type": "integer"
  21469. },
  21470. "wrstandardid": {
  21471. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  21472. "type": "integer"
  21473. }
  21474. }
  21475. },
  21476. "erms3.AddErms2ASApplyReq": {
  21477. "type": "object",
  21478. "required": [
  21479. "asapplyid"
  21480. ],
  21481. "properties": {
  21482. "applybasis": {
  21483. "description": "申请基差",
  21484. "type": "number"
  21485. },
  21486. "applystatus": {
  21487. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21488. "type": "integer"
  21489. },
  21490. "asapplyid": {
  21491. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  21492. "type": "integer"
  21493. },
  21494. "asname": {
  21495. "description": "策略名称",
  21496. "type": "string"
  21497. },
  21498. "asno": {
  21499. "description": "策略编号",
  21500. "type": "string"
  21501. },
  21502. "auditid": {
  21503. "description": "审核人",
  21504. "type": "integer"
  21505. },
  21506. "auditremark": {
  21507. "description": "审核备注",
  21508. "type": "string"
  21509. },
  21510. "audittime": {
  21511. "description": "审核时间",
  21512. "type": "string"
  21513. },
  21514. "biztype": {
  21515. "description": "业务类型 - 1:正向套利 2:反向套利",
  21516. "type": "integer"
  21517. },
  21518. "createtime": {
  21519. "description": "创建时间",
  21520. "type": "string"
  21521. },
  21522. "creatorid": {
  21523. "description": "创建人",
  21524. "type": "integer"
  21525. },
  21526. "deliverygoodsid": {
  21527. "description": "现货品种ID",
  21528. "type": "integer"
  21529. },
  21530. "futurequote": {
  21531. "description": "期货额度",
  21532. "type": "number"
  21533. },
  21534. "goodsgroupid": {
  21535. "description": "期货品种ID",
  21536. "type": "integer"
  21537. },
  21538. "marketid": {
  21539. "description": "市场ID",
  21540. "type": "integer"
  21541. },
  21542. "remark": {
  21543. "description": "备注",
  21544. "type": "string"
  21545. },
  21546. "spotquota": {
  21547. "description": "现货额度",
  21548. "type": "number"
  21549. },
  21550. "tradedate": {
  21551. "description": "交易日(yyyyMMdd)",
  21552. "type": "string"
  21553. },
  21554. "userid": {
  21555. "description": "所属机构",
  21556. "type": "integer"
  21557. }
  21558. }
  21559. },
  21560. "erms3.AddErms2SpotTradeApplyReq": {
  21561. "type": "object",
  21562. "required": [
  21563. "spottradeid"
  21564. ],
  21565. "properties": {
  21566. "applyjsondetail": {
  21567. "description": "申请明细(JSON)",
  21568. "type": "string"
  21569. },
  21570. "applystatus": {
  21571. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  21572. "type": "integer"
  21573. },
  21574. "areauserid": {
  21575. "description": "所属机构",
  21576. "type": "integer"
  21577. },
  21578. "auditid": {
  21579. "description": "审核人",
  21580. "type": "integer"
  21581. },
  21582. "auditremark": {
  21583. "description": "审核备注",
  21584. "type": "string"
  21585. },
  21586. "audittime": {
  21587. "description": "审核时间",
  21588. "type": "string"
  21589. },
  21590. "createtime": {
  21591. "description": "创建时间",
  21592. "type": "string"
  21593. },
  21594. "creatorid": {
  21595. "description": "创建人",
  21596. "type": "integer"
  21597. },
  21598. "deliverygoodsid": {
  21599. "description": "现货品种ID",
  21600. "type": "integer"
  21601. },
  21602. "futureaccountid": {
  21603. "description": "期货资金账户",
  21604. "type": "integer"
  21605. },
  21606. "goodsgroupid": {
  21607. "description": "期货品种",
  21608. "type": "integer"
  21609. },
  21610. "marketid": {
  21611. "description": "市场ID",
  21612. "type": "integer"
  21613. },
  21614. "remark": {
  21615. "description": "备注",
  21616. "type": "string"
  21617. },
  21618. "spotaccountid": {
  21619. "description": "现货资金账户",
  21620. "type": "integer"
  21621. },
  21622. "spottradeid": {
  21623. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  21624. "type": "integer"
  21625. },
  21626. "spottradename": {
  21627. "description": "业务名称",
  21628. "type": "string"
  21629. },
  21630. "spottradeno": {
  21631. "description": "业务编号",
  21632. "type": "string"
  21633. },
  21634. "tradedate": {
  21635. "description": "交易日(yyyyMMdd)",
  21636. "type": "string"
  21637. },
  21638. "wrstandardid": {
  21639. "description": "仓单标准ID",
  21640. "type": "integer"
  21641. }
  21642. }
  21643. },
  21644. "erms3.AddSpotContractApplyReq": {
  21645. "type": "object",
  21646. "required": [
  21647. "accountid",
  21648. "areauserid",
  21649. "contractno",
  21650. "contracttype",
  21651. "customeraccountid",
  21652. "customeruserid",
  21653. "details",
  21654. "orimargin",
  21655. "signdate"
  21656. ],
  21657. "properties": {
  21658. "accountid": {
  21659. "description": "资金账户ID",
  21660. "type": "integer"
  21661. },
  21662. "areauserid": {
  21663. "description": "所属机构",
  21664. "type": "integer"
  21665. },
  21666. "contractattachment": {
  21667. "description": "合同附件",
  21668. "type": "string"
  21669. },
  21670. "contractno": {
  21671. "description": "现货合同编号",
  21672. "type": "string"
  21673. },
  21674. "contracttype": {
  21675. "description": "现货合同类型 - 1:采购 -1:销售",
  21676. "type": "integer"
  21677. },
  21678. "creatorid": {
  21679. "description": "申请人",
  21680. "type": "integer"
  21681. },
  21682. "customeraccountid": {
  21683. "description": "客户资金账户ID",
  21684. "type": "integer"
  21685. },
  21686. "customeruserid": {
  21687. "description": "客户ID",
  21688. "type": "integer"
  21689. },
  21690. "details": {
  21691. "description": "明细",
  21692. "type": "array",
  21693. "items": {
  21694. "$ref": "#/definitions/erms3.SoptContractDetail"
  21695. }
  21696. },
  21697. "orimargin": {
  21698. "description": "初始保证金",
  21699. "type": "number"
  21700. },
  21701. "remark": {
  21702. "description": "备注",
  21703. "type": "string"
  21704. },
  21705. "signdate": {
  21706. "description": "签订日期",
  21707. "type": "string"
  21708. }
  21709. }
  21710. },
  21711. "erms3.AddSpotContractApplyRsp": {
  21712. "type": "object",
  21713. "required": [
  21714. "contractno"
  21715. ],
  21716. "properties": {
  21717. "contractno": {
  21718. "description": "现货合同编号",
  21719. "type": "string"
  21720. },
  21721. "spotcontractid": {
  21722. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  21723. "type": "integer"
  21724. }
  21725. }
  21726. },
  21727. "erms3.AddUserInfoApplyReq": {
  21728. "type": "object",
  21729. "required": [
  21730. "userid"
  21731. ],
  21732. "properties": {
  21733. "accountid": {
  21734. "description": "交易系统帐号Id (加密存储)",
  21735. "type": "integer"
  21736. },
  21737. "areacode": {
  21738. "description": "机构代码",
  21739. "type": "string"
  21740. },
  21741. "areaid": {
  21742. "description": "机构Id",
  21743. "type": "integer"
  21744. },
  21745. "attachment1": {
  21746. "description": "附件1",
  21747. "type": "string"
  21748. },
  21749. "attachment2": {
  21750. "description": "附件2",
  21751. "type": "string"
  21752. },
  21753. "attachment3": {
  21754. "description": "附件3",
  21755. "type": "string"
  21756. },
  21757. "attachment4": {
  21758. "description": "附件4",
  21759. "type": "string"
  21760. },
  21761. "attachment5": {
  21762. "description": "附件5",
  21763. "type": "string"
  21764. },
  21765. "auditedby": {
  21766. "description": "审核人",
  21767. "type": "string"
  21768. },
  21769. "auditime": {
  21770. "description": "审核时间",
  21771. "type": "string"
  21772. },
  21773. "auditsrc": {
  21774. "description": "审核来源 - 1:管理端 2:终端",
  21775. "type": "integer"
  21776. },
  21777. "bankaccount": {
  21778. "description": "银行帐号 (加密存储)",
  21779. "type": "string"
  21780. },
  21781. "bankaccountname": {
  21782. "description": "收款人名称",
  21783. "type": "string"
  21784. },
  21785. "bankcardbackphotourl": {
  21786. "description": "银行卡背面照地址",
  21787. "type": "string"
  21788. },
  21789. "bankcardfrontphotourl": {
  21790. "description": "银行卡正面照地址",
  21791. "type": "string"
  21792. },
  21793. "bankid": {
  21794. "description": "银行编码",
  21795. "type": "string"
  21796. },
  21797. "bankname": {
  21798. "description": "银行名称",
  21799. "type": "string"
  21800. },
  21801. "bankpictureurl": {
  21802. "description": "银行卡正面地址",
  21803. "type": "string"
  21804. },
  21805. "biznature": {
  21806. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  21807. "type": "integer"
  21808. },
  21809. "bizscope": {
  21810. "description": "企业经营范围(企业)",
  21811. "type": "string"
  21812. },
  21813. "biztype": {
  21814. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  21815. "type": "integer"
  21816. },
  21817. "brokerid": {
  21818. "description": "经纪人ID(加密存储)",
  21819. "type": "string"
  21820. },
  21821. "cardaddress": {
  21822. "description": "证件地址 (加密存储)",
  21823. "type": "string"
  21824. },
  21825. "cardbackphotourl": {
  21826. "description": "背面证件照地址",
  21827. "type": "string"
  21828. },
  21829. "cardfrontphotourl": {
  21830. "description": "正面证件照地址",
  21831. "type": "string"
  21832. },
  21833. "cardnum": {
  21834. "description": "证件号码 (加密存储)",
  21835. "type": "string"
  21836. },
  21837. "cardtype": {
  21838. "description": "证件类型",
  21839. "type": "integer"
  21840. },
  21841. "cityid": {
  21842. "description": "市",
  21843. "type": "integer"
  21844. },
  21845. "company": {
  21846. "description": "公司(个人)",
  21847. "type": "string"
  21848. },
  21849. "contactcardbackphotourl": {
  21850. "description": "联系人证件背面图片地址",
  21851. "type": "string"
  21852. },
  21853. "contactcardfrontphotourl": {
  21854. "description": "联系人证件正面图片地址",
  21855. "type": "string"
  21856. },
  21857. "contactname": {
  21858. "description": "联系人",
  21859. "type": "string"
  21860. },
  21861. "countryid": {
  21862. "description": "国家",
  21863. "type": "integer"
  21864. },
  21865. "createtime": {
  21866. "description": "开户申请时间",
  21867. "type": "string"
  21868. },
  21869. "cusbankid": {
  21870. "description": "签约类型",
  21871. "type": "string"
  21872. },
  21873. "cusbankname": {
  21874. "description": "签约类型名称",
  21875. "type": "string"
  21876. },
  21877. "customername": {
  21878. "description": "客户名称(企业名称)",
  21879. "type": "string"
  21880. },
  21881. "districtid": {
  21882. "description": "地区",
  21883. "type": "integer"
  21884. },
  21885. "email": {
  21886. "description": "Email地址(加密存储)",
  21887. "type": "string"
  21888. },
  21889. "halfbodyphotourl": {
  21890. "description": "半身照地址",
  21891. "type": "string"
  21892. },
  21893. "headurl": {
  21894. "description": "头像地址",
  21895. "type": "string"
  21896. },
  21897. "ipaddress": {
  21898. "description": "IP地址",
  21899. "type": "string"
  21900. },
  21901. "isvalidate": {
  21902. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  21903. "type": "string"
  21904. },
  21905. "legalcardbackphotourl": {
  21906. "description": "法人身份证背面照地址",
  21907. "type": "string"
  21908. },
  21909. "legalcardfrontphotourl": {
  21910. "description": "法人身份证正面照地址",
  21911. "type": "string"
  21912. },
  21913. "legalpersonname": {
  21914. "description": "法人姓名(企业)",
  21915. "type": "string"
  21916. },
  21917. "logincode": {
  21918. "description": "登录帐号 (加密存储)",
  21919. "type": "string"
  21920. },
  21921. "memberareaid": {
  21922. "description": "所属会员ID",
  21923. "type": "integer"
  21924. },
  21925. "mobile2": {
  21926. "description": "手机号码[明文-尚志]",
  21927. "type": "string"
  21928. },
  21929. "mobilephone": {
  21930. "description": "手机号码 (加密存储)",
  21931. "type": "string"
  21932. },
  21933. "modifiedby": {
  21934. "description": "修改人帐号",
  21935. "type": "integer"
  21936. },
  21937. "modifiedtime": {
  21938. "description": "修改时间",
  21939. "type": "string"
  21940. },
  21941. "nickname": {
  21942. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  21943. "type": "string"
  21944. },
  21945. "openmode": {
  21946. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  21947. "type": "integer"
  21948. },
  21949. "otherurl": {
  21950. "description": "其它图片地址[使用分号分隔]",
  21951. "type": "string"
  21952. },
  21953. "postalcode": {
  21954. "description": "邮政编码",
  21955. "type": "string"
  21956. },
  21957. "provinceid": {
  21958. "description": "省",
  21959. "type": "integer"
  21960. },
  21961. "proxystatementurl": {
  21962. "description": "授权委托书",
  21963. "type": "string"
  21964. },
  21965. "qq": {
  21966. "description": "QQ(加密存储",
  21967. "type": "string"
  21968. },
  21969. "referral": {
  21970. "description": "推荐人编码",
  21971. "type": "string"
  21972. },
  21973. "remark": {
  21974. "description": "备注",
  21975. "type": "string"
  21976. },
  21977. "removebeforestatus": {
  21978. "description": "REMOVEBEFORESTATUS",
  21979. "type": "integer"
  21980. },
  21981. "sex": {
  21982. "description": "性别 - 0:女 1:男",
  21983. "type": "integer"
  21984. },
  21985. "signedstatus": {
  21986. "description": "账户一号签签约状态",
  21987. "type": "integer"
  21988. },
  21989. "signpdfurl": {
  21990. "description": "签约pdf文件",
  21991. "type": "string"
  21992. },
  21993. "subbranch": {
  21994. "description": "开户支行",
  21995. "type": "string"
  21996. },
  21997. "taxpayernum": {
  21998. "description": "纳税人识别号",
  21999. "type": "string"
  22000. },
  22001. "telphone": {
  22002. "description": "联系电话(加密存储)",
  22003. "type": "string"
  22004. },
  22005. "userid": {
  22006. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  22007. "type": "integer"
  22008. },
  22009. "userinfotype": {
  22010. "description": "用户信息类型 - 1:个人 2:企业",
  22011. "type": "integer"
  22012. },
  22013. "username": {
  22014. "description": "用户姓名",
  22015. "type": "string"
  22016. },
  22017. "userstate": {
  22018. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  22019. "type": "integer"
  22020. },
  22021. "usertype": {
  22022. "description": "用户类型 - 1:投资者 2:机构",
  22023. "type": "integer"
  22024. },
  22025. "videourl": {
  22026. "description": "视频地址",
  22027. "type": "string"
  22028. },
  22029. "wechat": {
  22030. "description": "微信号 (加密存储)",
  22031. "type": "string"
  22032. }
  22033. }
  22034. },
  22035. "erms3.CustomerInfo": {
  22036. "type": "object",
  22037. "required": [
  22038. "userid"
  22039. ],
  22040. "properties": {
  22041. "accountids": {
  22042. "description": "资金账户ID列表",
  22043. "type": "array",
  22044. "items": {
  22045. "type": "integer"
  22046. }
  22047. },
  22048. "customername": {
  22049. "description": "名称(企业名称)",
  22050. "type": "string"
  22051. },
  22052. "mobile": {
  22053. "description": "手机号码",
  22054. "type": "string"
  22055. },
  22056. "userid": {
  22057. "description": "用户ID",
  22058. "type": "integer"
  22059. }
  22060. }
  22061. },
  22062. "erms3.ModifyUserInfoApplyReq": {
  22063. "type": "object",
  22064. "required": [
  22065. "userid"
  22066. ],
  22067. "properties": {
  22068. "accountid": {
  22069. "description": "交易系统帐号Id (加密存储)",
  22070. "type": "integer"
  22071. },
  22072. "areacode": {
  22073. "description": "机构代码",
  22074. "type": "string"
  22075. },
  22076. "areaid": {
  22077. "description": "机构Id",
  22078. "type": "integer"
  22079. },
  22080. "attachment1": {
  22081. "description": "附件1",
  22082. "type": "string"
  22083. },
  22084. "attachment2": {
  22085. "description": "附件2",
  22086. "type": "string"
  22087. },
  22088. "attachment3": {
  22089. "description": "附件3",
  22090. "type": "string"
  22091. },
  22092. "attachment4": {
  22093. "description": "附件4",
  22094. "type": "string"
  22095. },
  22096. "attachment5": {
  22097. "description": "附件5",
  22098. "type": "string"
  22099. },
  22100. "auditedby": {
  22101. "description": "审核人",
  22102. "type": "string"
  22103. },
  22104. "auditime": {
  22105. "description": "审核时间",
  22106. "type": "string"
  22107. },
  22108. "auditsrc": {
  22109. "description": "审核来源 - 1:管理端 2:终端",
  22110. "type": "integer"
  22111. },
  22112. "bankaccount": {
  22113. "description": "银行帐号 (加密存储)",
  22114. "type": "string"
  22115. },
  22116. "bankaccountname": {
  22117. "description": "收款人名称",
  22118. "type": "string"
  22119. },
  22120. "bankcardbackphotourl": {
  22121. "description": "银行卡背面照地址",
  22122. "type": "string"
  22123. },
  22124. "bankcardfrontphotourl": {
  22125. "description": "银行卡正面照地址",
  22126. "type": "string"
  22127. },
  22128. "bankid": {
  22129. "description": "银行编码",
  22130. "type": "string"
  22131. },
  22132. "bankname": {
  22133. "description": "银行名称",
  22134. "type": "string"
  22135. },
  22136. "bankpictureurl": {
  22137. "description": "银行卡正面地址",
  22138. "type": "string"
  22139. },
  22140. "biznature": {
  22141. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22142. "type": "integer"
  22143. },
  22144. "bizscope": {
  22145. "description": "企业经营范围(企业)",
  22146. "type": "string"
  22147. },
  22148. "biztype": {
  22149. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  22150. "type": "integer"
  22151. },
  22152. "brokerid": {
  22153. "description": "经纪人ID(加密存储)",
  22154. "type": "string"
  22155. },
  22156. "cardaddress": {
  22157. "description": "证件地址 (加密存储)",
  22158. "type": "string"
  22159. },
  22160. "cardbackphotourl": {
  22161. "description": "背面证件照地址",
  22162. "type": "string"
  22163. },
  22164. "cardfrontphotourl": {
  22165. "description": "正面证件照地址",
  22166. "type": "string"
  22167. },
  22168. "cardnum": {
  22169. "description": "证件号码 (加密存储)",
  22170. "type": "string"
  22171. },
  22172. "cardtype": {
  22173. "description": "证件类型",
  22174. "type": "integer"
  22175. },
  22176. "cityid": {
  22177. "description": "市",
  22178. "type": "integer"
  22179. },
  22180. "company": {
  22181. "description": "公司(个人)",
  22182. "type": "string"
  22183. },
  22184. "contactcardbackphotourl": {
  22185. "description": "联系人证件背面图片地址",
  22186. "type": "string"
  22187. },
  22188. "contactcardfrontphotourl": {
  22189. "description": "联系人证件正面图片地址",
  22190. "type": "string"
  22191. },
  22192. "contactname": {
  22193. "description": "联系人",
  22194. "type": "string"
  22195. },
  22196. "countryid": {
  22197. "description": "国家",
  22198. "type": "integer"
  22199. },
  22200. "createtime": {
  22201. "description": "开户申请时间",
  22202. "type": "string"
  22203. },
  22204. "cusbankid": {
  22205. "description": "签约类型",
  22206. "type": "string"
  22207. },
  22208. "cusbankname": {
  22209. "description": "签约类型名称",
  22210. "type": "string"
  22211. },
  22212. "customername": {
  22213. "description": "客户名称(企业名称)",
  22214. "type": "string"
  22215. },
  22216. "districtid": {
  22217. "description": "地区",
  22218. "type": "integer"
  22219. },
  22220. "email": {
  22221. "description": "Email地址(加密存储)",
  22222. "type": "string"
  22223. },
  22224. "halfbodyphotourl": {
  22225. "description": "半身照地址",
  22226. "type": "string"
  22227. },
  22228. "headurl": {
  22229. "description": "头像地址",
  22230. "type": "string"
  22231. },
  22232. "ipaddress": {
  22233. "description": "IP地址",
  22234. "type": "string"
  22235. },
  22236. "isvalidate": {
  22237. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  22238. "type": "string"
  22239. },
  22240. "legalcardbackphotourl": {
  22241. "description": "法人身份证背面照地址",
  22242. "type": "string"
  22243. },
  22244. "legalcardfrontphotourl": {
  22245. "description": "法人身份证正面照地址",
  22246. "type": "string"
  22247. },
  22248. "legalpersonname": {
  22249. "description": "法人姓名(企业)",
  22250. "type": "string"
  22251. },
  22252. "logincode": {
  22253. "description": "登录帐号 (加密存储)",
  22254. "type": "string"
  22255. },
  22256. "memberareaid": {
  22257. "description": "所属会员ID",
  22258. "type": "integer"
  22259. },
  22260. "mobile2": {
  22261. "description": "手机号码[明文-尚志]",
  22262. "type": "string"
  22263. },
  22264. "mobilephone": {
  22265. "description": "手机号码 (加密存储)",
  22266. "type": "string"
  22267. },
  22268. "modifiedby": {
  22269. "description": "修改人帐号",
  22270. "type": "integer"
  22271. },
  22272. "modifiedtime": {
  22273. "description": "修改时间",
  22274. "type": "string"
  22275. },
  22276. "nickname": {
  22277. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  22278. "type": "string"
  22279. },
  22280. "openmode": {
  22281. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  22282. "type": "integer"
  22283. },
  22284. "otherurl": {
  22285. "description": "其它图片地址[使用分号分隔]",
  22286. "type": "string"
  22287. },
  22288. "postalcode": {
  22289. "description": "邮政编码",
  22290. "type": "string"
  22291. },
  22292. "provinceid": {
  22293. "description": "省",
  22294. "type": "integer"
  22295. },
  22296. "proxystatementurl": {
  22297. "description": "授权委托书",
  22298. "type": "string"
  22299. },
  22300. "qq": {
  22301. "description": "QQ(加密存储",
  22302. "type": "string"
  22303. },
  22304. "referral": {
  22305. "description": "推荐人编码",
  22306. "type": "string"
  22307. },
  22308. "remark": {
  22309. "description": "备注",
  22310. "type": "string"
  22311. },
  22312. "removebeforestatus": {
  22313. "description": "REMOVEBEFORESTATUS",
  22314. "type": "integer"
  22315. },
  22316. "sex": {
  22317. "description": "性别 - 0:女 1:男",
  22318. "type": "integer"
  22319. },
  22320. "signedstatus": {
  22321. "description": "账户一号签签约状态",
  22322. "type": "integer"
  22323. },
  22324. "signpdfurl": {
  22325. "description": "签约pdf文件",
  22326. "type": "string"
  22327. },
  22328. "subbranch": {
  22329. "description": "开户支行",
  22330. "type": "string"
  22331. },
  22332. "taxpayernum": {
  22333. "description": "纳税人识别号",
  22334. "type": "string"
  22335. },
  22336. "telphone": {
  22337. "description": "联系电话(加密存储)",
  22338. "type": "string"
  22339. },
  22340. "userid": {
  22341. "description": "用户ID(自增ID)SEQ_WSKH_USERINFO",
  22342. "type": "integer"
  22343. },
  22344. "userinfotype": {
  22345. "description": "用户信息类型 - 1:个人 2:企业",
  22346. "type": "integer"
  22347. },
  22348. "username": {
  22349. "description": "用户姓名",
  22350. "type": "string"
  22351. },
  22352. "userstate": {
  22353. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  22354. "type": "integer"
  22355. },
  22356. "usertype": {
  22357. "description": "用户类型 - 1:投资者 2:机构",
  22358. "type": "integer"
  22359. },
  22360. "videourl": {
  22361. "description": "视频地址",
  22362. "type": "string"
  22363. },
  22364. "wechat": {
  22365. "description": "微信号 (加密存储)",
  22366. "type": "string"
  22367. }
  22368. }
  22369. },
  22370. "erms3.QryAuditContractRsp": {
  22371. "type": "object",
  22372. "required": [
  22373. "matchcustomername",
  22374. "spotcontractid"
  22375. ],
  22376. "properties": {
  22377. "accountid": {
  22378. "description": "交易员ID",
  22379. "type": "string"
  22380. },
  22381. "applystatus": {
  22382. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22383. "type": "integer"
  22384. },
  22385. "curdeliveryqty": {
  22386. "description": "未交收量",
  22387. "type": "integer"
  22388. },
  22389. "customername": {
  22390. "description": "采购方ID",
  22391. "type": "string"
  22392. },
  22393. "deliverygoodsid": {
  22394. "description": "品种ID",
  22395. "type": "string"
  22396. },
  22397. "deliveryqty": {
  22398. "description": "交收量",
  22399. "type": "integer"
  22400. },
  22401. "enumdicname": {
  22402. "description": "单位名称",
  22403. "type": "string"
  22404. },
  22405. "matchaccountid": {
  22406. "description": "业务员ID",
  22407. "type": "string"
  22408. },
  22409. "matchcustomername": {
  22410. "description": "销售方ID",
  22411. "type": "string"
  22412. },
  22413. "pricedqty": {
  22414. "description": "定价量",
  22415. "type": "number"
  22416. },
  22417. "signdate": {
  22418. "description": "签订日期",
  22419. "type": "string"
  22420. },
  22421. "spotcontractid": {
  22422. "description": "合同ID",
  22423. "type": "string"
  22424. },
  22425. "totaldqty": {
  22426. "description": "合同量",
  22427. "type": "number"
  22428. },
  22429. "unpricedqty": {
  22430. "description": "未定价量",
  22431. "type": "number"
  22432. },
  22433. "wrstandardname": {
  22434. "description": "商品名称",
  22435. "type": "string"
  22436. }
  22437. }
  22438. },
  22439. "erms3.QryPendingBizRsp": {
  22440. "type": "object",
  22441. "properties": {
  22442. "accountid": {
  22443. "description": "现货账户",
  22444. "type": "string"
  22445. },
  22446. "areaname": {
  22447. "description": "所属部门",
  22448. "type": "string"
  22449. },
  22450. "bizid": {
  22451. "description": "业务ID",
  22452. "type": "string"
  22453. },
  22454. "bizname": {
  22455. "description": "业务名称",
  22456. "type": "string"
  22457. },
  22458. "status": {
  22459. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  22460. "type": "integer"
  22461. },
  22462. "type": {
  22463. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  22464. "type": "integer"
  22465. }
  22466. }
  22467. },
  22468. "erms3.QueryBusinessInfoRsp": {
  22469. "type": "object",
  22470. "properties": {
  22471. "businessid": {
  22472. "description": "业务ID.",
  22473. "type": "integer"
  22474. },
  22475. "buyamount": {
  22476. "description": "采购额.",
  22477. "type": "number"
  22478. },
  22479. "buyqty": {
  22480. "description": "采购量.",
  22481. "type": "string"
  22482. },
  22483. "futurepl": {
  22484. "description": "期货盈亏.",
  22485. "type": "number"
  22486. },
  22487. "futureqty": {
  22488. "description": "期货敞口.",
  22489. "type": "string"
  22490. },
  22491. "goodsid": {
  22492. "description": "商品名称/商品代码.",
  22493. "type": "string"
  22494. },
  22495. "hedgingqty": {
  22496. "description": "套保量.",
  22497. "type": "string"
  22498. },
  22499. "sellamount": {
  22500. "description": "销售额.",
  22501. "type": "number"
  22502. },
  22503. "sellqty": {
  22504. "description": "销售量.",
  22505. "type": "string"
  22506. },
  22507. "spotmarketvalue": {
  22508. "description": "现货市值.",
  22509. "type": "number"
  22510. },
  22511. "spotpl": {
  22512. "description": "浮动权益.",
  22513. "type": "number"
  22514. },
  22515. "spotqty": {
  22516. "description": "现货量.",
  22517. "type": "string"
  22518. },
  22519. "statu": {
  22520. "description": "状态,0-未结束 1-已结束.",
  22521. "type": "integer"
  22522. },
  22523. "totalpl": {
  22524. "description": "总盈亏.",
  22525. "type": "number"
  22526. },
  22527. "totalqty": {
  22528. "description": "总敞口.",
  22529. "type": "string"
  22530. },
  22531. "type": {
  22532. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  22533. "type": "integer"
  22534. }
  22535. }
  22536. },
  22537. "erms3.QuerySpotContractAppleFormRsp": {
  22538. "type": "object",
  22539. "properties": {
  22540. "goodses": {
  22541. "description": "合约列表",
  22542. "type": "array",
  22543. "items": {
  22544. "$ref": "#/definitions/models.GoodsIDAndName"
  22545. }
  22546. },
  22547. "oppositeusers": {
  22548. "description": "对方账号列表",
  22549. "type": "array",
  22550. "items": {
  22551. "$ref": "#/definitions/erms3.CustomerInfo"
  22552. }
  22553. },
  22554. "ouruser": {
  22555. "description": "我方账号",
  22556. "$ref": "#/definitions/erms3.CustomerInfo"
  22557. },
  22558. "warehouseinfos": {
  22559. "description": "仓库信息列表",
  22560. "type": "array",
  22561. "items": {
  22562. "$ref": "#/definitions/models.Warehouseinfo"
  22563. }
  22564. },
  22565. "wrstandards": {
  22566. "description": "仓单标准列表",
  22567. "type": "array",
  22568. "items": {
  22569. "$ref": "#/definitions/models.WRStandardInfo"
  22570. }
  22571. }
  22572. }
  22573. },
  22574. "erms3.QuerySpotContractInfoRsp": {
  22575. "type": "object",
  22576. "properties": {
  22577. "accountid": {
  22578. "description": "表示交易员ID.",
  22579. "type": "integer"
  22580. },
  22581. "curdeliveryqty": {
  22582. "description": "表示未交收量.",
  22583. "type": "number"
  22584. },
  22585. "customername": {
  22586. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  22587. "type": "string"
  22588. },
  22589. "deliverygoodsid": {
  22590. "description": "表示品种ID.",
  22591. "type": "string"
  22592. },
  22593. "deliveryqty": {
  22594. "description": "表示交收量.",
  22595. "type": "number"
  22596. },
  22597. "matchaccountid": {
  22598. "description": "表示业务员ID.",
  22599. "type": "integer"
  22600. },
  22601. "matchcustomername": {
  22602. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  22603. "type": "string"
  22604. },
  22605. "priceqty": {
  22606. "description": "表示定价量.",
  22607. "type": "number"
  22608. },
  22609. "relatedbizid": {
  22610. "description": "表示业务ID.",
  22611. "type": "string"
  22612. },
  22613. "signdate": {
  22614. "description": "表示签订日期.",
  22615. "type": "string"
  22616. },
  22617. "spotcontractid": {
  22618. "description": "合同ID",
  22619. "type": "string"
  22620. },
  22621. "status": {
  22622. "description": "表示状态,0-履约中 1-已完成.",
  22623. "type": "integer"
  22624. },
  22625. "totalqty": {
  22626. "description": "表示合同量.",
  22627. "type": "number"
  22628. },
  22629. "unpricedqty": {
  22630. "description": "表示未定价量.",
  22631. "type": "number"
  22632. },
  22633. "wrstandardname": {
  22634. "description": "表示商品ID.",
  22635. "type": "string"
  22636. }
  22637. }
  22638. },
  22639. "erms3.QueryUserInfoAppliesRsp": {
  22640. "type": "object",
  22641. "required": [
  22642. "userid"
  22643. ],
  22644. "properties": {
  22645. "biznature": {
  22646. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22647. "type": "integer"
  22648. },
  22649. "contactname": {
  22650. "description": "联系人",
  22651. "type": "string"
  22652. },
  22653. "createtime": {
  22654. "description": "开户申请时间",
  22655. "type": "string"
  22656. },
  22657. "userid": {
  22658. "description": "用户ID(自增ID)",
  22659. "type": "integer"
  22660. },
  22661. "userinfotype": {
  22662. "description": "用户信息类型 - 1:个人 2:企业",
  22663. "type": "integer"
  22664. },
  22665. "username": {
  22666. "description": "用户姓名",
  22667. "type": "string"
  22668. },
  22669. "userstate": {
  22670. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  22671. "type": "integer"
  22672. }
  22673. }
  22674. },
  22675. "erms3.QueryUserInfosRsp": {
  22676. "type": "object",
  22677. "required": [
  22678. "userid"
  22679. ],
  22680. "properties": {
  22681. "biznature": {
  22682. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  22683. "type": "integer"
  22684. },
  22685. "contactname": {
  22686. "description": "联系人",
  22687. "type": "string"
  22688. },
  22689. "customername": {
  22690. "description": "客户名称(企业名称)",
  22691. "type": "string"
  22692. },
  22693. "userid": {
  22694. "description": "用户ID",
  22695. "type": "integer"
  22696. },
  22697. "userinfotype": {
  22698. "description": "用户信息类型 - 1:个人 2:企业",
  22699. "type": "integer"
  22700. },
  22701. "userstatus": {
  22702. "description": "用户状态 - 1:正常 2:注销",
  22703. "type": "integer"
  22704. }
  22705. }
  22706. },
  22707. "erms3.SoptContractDetail": {
  22708. "type": "object",
  22709. "required": [
  22710. "deliverygoodsid",
  22711. "producttype",
  22712. "unitname",
  22713. "warehouseid",
  22714. "wrstandardid",
  22715. "wrstandardname"
  22716. ],
  22717. "properties": {
  22718. "deliverygoodsdesc": {
  22719. "description": "现货品种说明",
  22720. "type": "string"
  22721. },
  22722. "deliverygoodsid": {
  22723. "description": "现货品种ID",
  22724. "type": "integer"
  22725. },
  22726. "deliverygoodsname": {
  22727. "description": "现货品种名称",
  22728. "type": "string"
  22729. },
  22730. "pointdesc": {
  22731. "description": "点价描述",
  22732. "type": "string"
  22733. },
  22734. "producttype": {
  22735. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  22736. "type": "integer"
  22737. },
  22738. "producttypename": {
  22739. "description": "产品类型名称",
  22740. "type": "string"
  22741. },
  22742. "spotPointOrderVoList": {
  22743. "description": "点价列表",
  22744. "type": "array",
  22745. "items": {
  22746. "$ref": "#/definitions/erms3.SpotPointOrder"
  22747. }
  22748. },
  22749. "spotPriceOrderList": {
  22750. "description": "定价列表",
  22751. "type": "array",
  22752. "items": {
  22753. "$ref": "#/definitions/erms3.SpotPriceOrder"
  22754. }
  22755. },
  22756. "unitname": {
  22757. "description": "单位名称",
  22758. "type": "string"
  22759. },
  22760. "warehouseid": {
  22761. "description": "仓库ID",
  22762. "type": "integer"
  22763. },
  22764. "warehousename": {
  22765. "description": "仓库名称",
  22766. "type": "string"
  22767. },
  22768. "wrstandardid": {
  22769. "description": "交易标的ID",
  22770. "type": "integer"
  22771. },
  22772. "wrstandardname": {
  22773. "description": "交易标的名称",
  22774. "type": "string"
  22775. }
  22776. }
  22777. },
  22778. "erms3.SpotPointOrder": {
  22779. "type": "object",
  22780. "required": [
  22781. "basic",
  22782. "goodsid",
  22783. "qty"
  22784. ],
  22785. "properties": {
  22786. "basic": {
  22787. "description": "基差",
  22788. "type": "number"
  22789. },
  22790. "deliveryenddate": {
  22791. "description": "交收结束日期",
  22792. "type": "string"
  22793. },
  22794. "deliverystartdate": {
  22795. "description": "交收开始日期",
  22796. "type": "string"
  22797. },
  22798. "enddate": {
  22799. "description": "点价结束日期",
  22800. "type": "string"
  22801. },
  22802. "goodsid": {
  22803. "description": "商品ID",
  22804. "type": "integer"
  22805. },
  22806. "goodsname": {
  22807. "description": "商品名称",
  22808. "type": "string"
  22809. },
  22810. "qty": {
  22811. "description": "数量",
  22812. "type": "number"
  22813. },
  22814. "startdate": {
  22815. "description": "点价开始日期",
  22816. "type": "string"
  22817. }
  22818. }
  22819. },
  22820. "erms3.SpotPriceOrder": {
  22821. "type": "object",
  22822. "required": [
  22823. "amount",
  22824. "price",
  22825. "qty"
  22826. ],
  22827. "properties": {
  22828. "amount": {
  22829. "description": "金额",
  22830. "type": "number"
  22831. },
  22832. "deliveryenddate": {
  22833. "description": "交收结束日期",
  22834. "type": "string"
  22835. },
  22836. "deliverystartdate": {
  22837. "description": "交收开始日期",
  22838. "type": "string"
  22839. },
  22840. "price": {
  22841. "description": "价格",
  22842. "type": "number"
  22843. },
  22844. "qty": {
  22845. "description": "数量",
  22846. "type": "number"
  22847. }
  22848. }
  22849. },
  22850. "models.Arearole": {
  22851. "type": "object",
  22852. "required": [
  22853. "roletype",
  22854. "userid"
  22855. ],
  22856. "properties": {
  22857. "createtime": {
  22858. "description": "创建时间",
  22859. "type": "string"
  22860. },
  22861. "creatorid": {
  22862. "description": "创建人ID",
  22863. "type": "integer"
  22864. },
  22865. "fromuserid": {
  22866. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  22867. "type": "integer"
  22868. },
  22869. "isreturnscore": {
  22870. "description": "是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还",
  22871. "type": "integer"
  22872. },
  22873. "modifierid": {
  22874. "description": "修改人ID",
  22875. "type": "integer"
  22876. },
  22877. "modifytime": {
  22878. "description": "修改时间",
  22879. "type": "string"
  22880. },
  22881. "orgtype": {
  22882. "description": "组织机构类型 1:机构\\分支节点 2:交易员\\叶子节点 3:部门\\分支节点",
  22883. "type": "integer"
  22884. },
  22885. "outuserid": {
  22886. "description": "外部账户[场外期权做市商]",
  22887. "type": "string"
  22888. },
  22889. "parentuserid": {
  22890. "description": "上级组织机构(组织机构)",
  22891. "type": "integer"
  22892. },
  22893. "roletype": {
  22894. "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:门店",
  22895. "type": "integer"
  22896. },
  22897. "rootuserid": {
  22898. "description": "顶级组织机构用户ID(组织机构)",
  22899. "type": "integer"
  22900. },
  22901. "shoppassword": {
  22902. "description": "商城店铺登陆密码(商城店铺角色使用)",
  22903. "type": "string"
  22904. },
  22905. "sublevelpath": {
  22906. "description": "组织机构层级路径(逗号分隔,首尾加逗号)",
  22907. "type": "string"
  22908. },
  22909. "suborgtype": {
  22910. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  22911. "type": "integer"
  22912. },
  22913. "tradeaccountid": {
  22914. "description": "默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount",
  22915. "type": "integer"
  22916. },
  22917. "transurl": {
  22918. "description": "物流地址(物流机构)",
  22919. "type": "string"
  22920. },
  22921. "userid": {
  22922. "description": "机构用户ID其他做市关系,都设置为 1",
  22923. "type": "integer"
  22924. }
  22925. }
  22926. },
  22927. "models.BuyOrder": {
  22928. "type": "object",
  22929. "properties": {
  22930. "accountid": {
  22931. "description": "资金账户ID",
  22932. "type": "integer"
  22933. },
  22934. "buyusername": {
  22935. "description": "买方",
  22936. "type": "string"
  22937. },
  22938. "marketid": {
  22939. "description": "市场ID",
  22940. "type": "integer"
  22941. },
  22942. "ordertime": {
  22943. "description": "委托时间",
  22944. "type": "string"
  22945. },
  22946. "origin": {
  22947. "description": "原产地",
  22948. "type": "string"
  22949. },
  22950. "performancetemplateid": {
  22951. "description": "履约计划模板ID",
  22952. "type": "integer"
  22953. },
  22954. "remark": {
  22955. "description": "备注",
  22956. "type": "string"
  22957. },
  22958. "userid": {
  22959. "description": "用户ID",
  22960. "type": "integer"
  22961. },
  22962. "validtime": {
  22963. "description": "有效期限",
  22964. "type": "string"
  22965. },
  22966. "warehouseids": {
  22967. "description": "仓库ID - 多个, 逗号分隔",
  22968. "type": "string"
  22969. },
  22970. "warehouseinfosdisplay": {
  22971. "type": "string"
  22972. },
  22973. "wrtradeorderid": {
  22974. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  22975. "type": "string"
  22976. },
  22977. "wrtradeorderstatus": {
  22978. "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、",
  22979. "type": "integer"
  22980. },
  22981. "zscategory": {
  22982. "description": "钻石分类 - 枚举”ZSCategory“",
  22983. "type": "integer"
  22984. },
  22985. "zscategorydisplay": {
  22986. "type": "string"
  22987. },
  22988. "zsclaritytype": {
  22989. "description": "净度 - 两个, 逗号分隔",
  22990. "type": "string"
  22991. },
  22992. "zsclaritytypedisplay": {
  22993. "type": "string"
  22994. },
  22995. "zscolortype": {
  22996. "description": "颜色 - 两个, 逗号分隔",
  22997. "type": "string"
  22998. },
  22999. "zscolortypedisplay": {
  23000. "type": "string"
  23001. },
  23002. "zscrystaltype": {
  23003. "description": "晶型 - 多个,逗号分隔",
  23004. "type": "string"
  23005. },
  23006. "zscrystaltypedisplay": {
  23007. "type": "string"
  23008. },
  23009. "zscurrencytype": {
  23010. "description": "货币类型 - 多个, 逗号分隔",
  23011. "type": "string"
  23012. },
  23013. "zscurrencytypedisplay": {
  23014. "type": "string"
  23015. },
  23016. "zscuttype": {
  23017. "description": "切工 - 两个, 逗号分隔",
  23018. "type": "string"
  23019. },
  23020. "zscuttypedisplay": {
  23021. "type": "string"
  23022. },
  23023. "zsczcolor1type": {
  23024. "description": "彩钻颜色1, 逗号分隔",
  23025. "type": "string"
  23026. },
  23027. "zsczcolor1typedisplay": {
  23028. "type": "string"
  23029. },
  23030. "zsczcolor2type": {
  23031. "description": "彩钻颜色2, 逗号分隔",
  23032. "type": "string"
  23033. },
  23034. "zsczcolor2typedisplay": {
  23035. "type": "string"
  23036. },
  23037. "zsczcolor3type": {
  23038. "description": "彩钻颜色3, 逗号分隔",
  23039. "type": "string"
  23040. },
  23041. "zsczcolor3typedisplay": {
  23042. "type": "string"
  23043. },
  23044. "zsfluorescencetype": {
  23045. "description": "荧光 - 多个, 逗号分隔",
  23046. "type": "string"
  23047. },
  23048. "zsfluorescencetypedisplay": {
  23049. "type": "string"
  23050. },
  23051. "zspolishtype": {
  23052. "description": "抛光度 - 两个, 逗号分隔",
  23053. "type": "string"
  23054. },
  23055. "zspolishtypedisplay": {
  23056. "type": "string"
  23057. },
  23058. "zsshapetype": {
  23059. "description": "形状 - 多个, 逗号分隔",
  23060. "type": "string"
  23061. },
  23062. "zsshapetypedisplay": {
  23063. "type": "string"
  23064. },
  23065. "zssize": {
  23066. "description": "尺寸 - 两个小数, 逗号分隔",
  23067. "type": "string"
  23068. },
  23069. "zsstyletype": {
  23070. "description": "款式 - 多个, 逗号分隔",
  23071. "type": "string"
  23072. },
  23073. "zsstyletypedisplay": {
  23074. "type": "string"
  23075. },
  23076. "zssymmetrytype": {
  23077. "description": "对称度 - 两个, 逗号分隔",
  23078. "type": "string"
  23079. },
  23080. "zssymmetrytypedisplay": {
  23081. "type": "string"
  23082. },
  23083. "zstabledisplay": {
  23084. "description": "求购信息",
  23085. "type": "string"
  23086. }
  23087. }
  23088. },
  23089. "models.DgFactoryItem": {
  23090. "type": "object",
  23091. "properties": {
  23092. "dgfactoryitemid": {
  23093. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  23094. "type": "integer"
  23095. },
  23096. "dgfactoryitemtypeid": {
  23097. "description": "要素项类型",
  23098. "type": "integer"
  23099. },
  23100. "dgfactoryitemvalue": {
  23101. "description": "要素项值(类型为仓库时填写仓库名称)",
  23102. "type": "string"
  23103. },
  23104. "orderindex": {
  23105. "description": "顺序",
  23106. "type": "integer"
  23107. }
  23108. }
  23109. },
  23110. "models.Division": {
  23111. "type": "object",
  23112. "required": [
  23113. "autoid",
  23114. "divisioncode"
  23115. ],
  23116. "properties": {
  23117. "autoid": {
  23118. "description": "自增ID",
  23119. "type": "integer"
  23120. },
  23121. "divisioncode": {
  23122. "description": "行政代码",
  23123. "type": "string"
  23124. },
  23125. "divisionlevel": {
  23126. "description": "行政级别",
  23127. "type": "string"
  23128. },
  23129. "divisionname": {
  23130. "description": "行政名称",
  23131. "type": "string"
  23132. },
  23133. "modifierid": {
  23134. "description": "修改人",
  23135. "type": "integer"
  23136. },
  23137. "modifytime": {
  23138. "description": "修改时间",
  23139. "type": "string"
  23140. },
  23141. "parentcode": {
  23142. "description": "上级行政代码",
  23143. "type": "string"
  23144. },
  23145. "pathname": {
  23146. "description": "路径名称",
  23147. "type": "string"
  23148. },
  23149. "postcode": {
  23150. "description": "邮政编码",
  23151. "type": "string"
  23152. },
  23153. "separablename": {
  23154. "description": "可拆分的全称",
  23155. "type": "string"
  23156. },
  23157. "shortcode": {
  23158. "description": "地区简码",
  23159. "type": "string"
  23160. }
  23161. }
  23162. },
  23163. "models.Enumdicitem": {
  23164. "type": "object",
  23165. "required": [
  23166. "autoid",
  23167. "enumdiccode",
  23168. "enumdicid",
  23169. "enumitemname"
  23170. ],
  23171. "properties": {
  23172. "autoid": {
  23173. "description": "自增ID",
  23174. "type": "integer"
  23175. },
  23176. "bankmappedvalue": {
  23177. "description": "银行服务对应值",
  23178. "type": "string"
  23179. },
  23180. "enumdiccode": {
  23181. "description": "所属枚举代码",
  23182. "type": "string"
  23183. },
  23184. "enumdicid": {
  23185. "description": "所属枚举ID",
  23186. "type": "integer"
  23187. },
  23188. "enumdicname": {
  23189. "description": "枚举项名称",
  23190. "type": "string"
  23191. },
  23192. "enumitemname": {
  23193. "description": "枚举项值",
  23194. "type": "integer"
  23195. },
  23196. "enumitemstatus": {
  23197. "description": "枚举项状态 - 1.启用 2.不启用",
  23198. "type": "integer"
  23199. },
  23200. "enumitemvalue": {
  23201. "description": "通用值 - [币种通用简写]",
  23202. "type": "string"
  23203. },
  23204. "param1": {
  23205. "description": "参数1[币种:币种小数位]",
  23206. "type": "string"
  23207. },
  23208. "param2": {
  23209. "description": "参数1[币种:币种显示单位]",
  23210. "type": "string"
  23211. },
  23212. "remark": {
  23213. "description": "备注",
  23214. "type": "string"
  23215. }
  23216. }
  23217. },
  23218. "models.Ermcp2AreaExposure": {
  23219. "type": "object",
  23220. "properties": {
  23221. "areauserid": {
  23222. "description": "所属机构",
  23223. "type": "integer"
  23224. },
  23225. "enumdicname": {
  23226. "description": "单位",
  23227. "type": "string"
  23228. },
  23229. "futureqty": {
  23230. "description": "期货套期量",
  23231. "type": "number"
  23232. },
  23233. "futureqtychange": {
  23234. "description": "期货变动量 = FutureQty - OriFutureQty",
  23235. "type": "number"
  23236. },
  23237. "goodsunitid": {
  23238. "description": "单位ID",
  23239. "type": "integer"
  23240. },
  23241. "hedgedspotexposure": {
  23242. "description": "被套期现货敞口量",
  23243. "type": "number"
  23244. },
  23245. "hedgedspratio": {
  23246. "description": "套期期现比例 = 期货套期量/被套期现货敞口量",
  23247. "type": "number"
  23248. },
  23249. "hedgedtotalexposourechange": {
  23250. "description": "被套期敞口变动量 = HedgedTotalExposure - OriHedgedTotalExposure",
  23251. "type": "number"
  23252. },
  23253. "hedgedtotalexposure": {
  23254. "description": "套期敞口量 = 被套期现货敞口量+期货套期量",
  23255. "type": "number"
  23256. },
  23257. "hedgeplanqty": {
  23258. "description": "套期计划量",
  23259. "type": "number"
  23260. },
  23261. "hedgeplanqtychange": {
  23262. "description": "计划变动量 = HedgePlanQty - OriHedgePlanQty",
  23263. "type": "number"
  23264. },
  23265. "hedgespotqty": {
  23266. "description": "被套期现货量",
  23267. "type": "number"
  23268. },
  23269. "middlegoodsid": {
  23270. "description": "套保品种",
  23271. "type": "integer"
  23272. },
  23273. "middlegoodsname": {
  23274. "description": "套保品种名称",
  23275. "type": "string"
  23276. },
  23277. "orifutureqty": {
  23278. "description": "期初期货套期量",
  23279. "type": "number"
  23280. },
  23281. "orihedgedspotexposure": {
  23282. "description": "期初被套期现货敞口量",
  23283. "type": "number"
  23284. },
  23285. "orihedgedtotalexposure": {
  23286. "description": "期初套期敞口量",
  23287. "type": "number"
  23288. },
  23289. "orihedgeplanqty": {
  23290. "description": "期初套期计划量",
  23291. "type": "number"
  23292. },
  23293. "orihedgespotqty": {
  23294. "description": "期初被套期现货量",
  23295. "type": "number"
  23296. },
  23297. "orispotexposure": {
  23298. "description": "期初现货敞口量",
  23299. "type": "number"
  23300. },
  23301. "orispotqty": {
  23302. "description": "期初现货总量",
  23303. "type": "number"
  23304. },
  23305. "oritotalexposure": {
  23306. "description": "期初总敞口量",
  23307. "type": "number"
  23308. },
  23309. "spotexposure": {
  23310. "description": "现货敞口量",
  23311. "type": "number"
  23312. },
  23313. "spotqty": {
  23314. "description": "现货总量",
  23315. "type": "number"
  23316. },
  23317. "spotqtychange": {
  23318. "description": "现货变动量 = SpotQty - OriSpotQty",
  23319. "type": "number"
  23320. },
  23321. "spratio": {
  23322. "description": "总期现比例 = 期货套期量/现货敞口量",
  23323. "type": "number"
  23324. },
  23325. "totalexposure": {
  23326. "description": "总敞口量 = 现货敞口量 + 期货套期量",
  23327. "type": "number"
  23328. },
  23329. "totalexposurechange": {
  23330. "description": "总敞口变动量 = TotalExposure - OriTotalExposure",
  23331. "type": "number"
  23332. },
  23333. "updatetime": {
  23334. "description": "更新时间 --DATE",
  23335. "type": "string"
  23336. }
  23337. }
  23338. },
  23339. "models.Ermcp2hedgeditem": {
  23340. "type": "object",
  23341. "properties": {
  23342. "accountname": {
  23343. "description": "套期主体",
  23344. "type": "string"
  23345. },
  23346. "applyid": {
  23347. "description": "申请人",
  23348. "type": "integer"
  23349. },
  23350. "applysrc": {
  23351. "description": "申请来源 - 1:管理端 2:终端",
  23352. "type": "integer"
  23353. },
  23354. "areauserid": {
  23355. "description": "企业ID",
  23356. "type": "integer"
  23357. },
  23358. "auditid": {
  23359. "description": "审核人",
  23360. "type": "integer"
  23361. },
  23362. "auditremark": {
  23363. "description": "审核备注",
  23364. "type": "string"
  23365. },
  23366. "auditsrc": {
  23367. "description": "审核来源 - 1:管理端 2:终端",
  23368. "type": "integer"
  23369. },
  23370. "audittime": {
  23371. "description": "审核时间",
  23372. "type": "string"
  23373. },
  23374. "audittradedate": {
  23375. "description": "审核交易日(yyyyMMdd)",
  23376. "type": "string"
  23377. },
  23378. "createtime": {
  23379. "description": "申请时间",
  23380. "type": "string"
  23381. },
  23382. "curprice": {
  23383. "description": "当前市场价",
  23384. "type": "number"
  23385. },
  23386. "curstock": {
  23387. "description": "期末库存量 = 采购总量 - 销售总量",
  23388. "type": "number"
  23389. },
  23390. "deliverygoodsid": {
  23391. "description": "现货品种ID",
  23392. "type": "integer"
  23393. },
  23394. "enddate": {
  23395. "description": "完成日期",
  23396. "type": "string"
  23397. },
  23398. "endtradedate": {
  23399. "description": "完成交易日",
  23400. "type": "string"
  23401. },
  23402. "enumdicname": {
  23403. "description": "单位",
  23404. "type": "string"
  23405. },
  23406. "exeamount": {
  23407. "description": "执行市价总额",
  23408. "type": "number"
  23409. },
  23410. "exeavgprice": {
  23411. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  23412. "type": "number"
  23413. },
  23414. "execontractamount": {
  23415. "description": "执行定价总额",
  23416. "type": "number"
  23417. },
  23418. "exeqty": {
  23419. "description": "执行现货量",
  23420. "type": "number"
  23421. },
  23422. "exerestamount": {
  23423. "description": "执行剩余市价总额【现货贸易】",
  23424. "type": "number"
  23425. },
  23426. "futurefloatpl": {
  23427. "description": "期货浮动损益",
  23428. "type": "number"
  23429. },
  23430. "futurehedgepl": {
  23431. "description": "期货实际损益",
  23432. "type": "number"
  23433. },
  23434. "futurehedgeplchange": {
  23435. "description": "期货实际损益变动",
  23436. "type": "number"
  23437. },
  23438. "futurepl": {
  23439. "description": "期货套期损益",
  23440. "type": "number"
  23441. },
  23442. "futureplchange": {
  23443. "description": "期货套期损益变动",
  23444. "type": "number"
  23445. },
  23446. "hedgeamount": {
  23447. "description": "套期市价总额",
  23448. "type": "number"
  23449. },
  23450. "hedgecontractamount": {
  23451. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  23452. "type": "number"
  23453. },
  23454. "hedgeditemid": {
  23455. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  23456. "type": "string"
  23457. },
  23458. "hedgeditemname": {
  23459. "description": "项目名称",
  23460. "type": "string"
  23461. },
  23462. "hedgeditemnum": {
  23463. "description": "项目编号",
  23464. "type": "string"
  23465. },
  23466. "hedgeditemstatus": {
  23467. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  23468. "type": "integer"
  23469. },
  23470. "hedgedtype": {
  23471. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23472. "type": "integer"
  23473. },
  23474. "hedgeqty": {
  23475. "description": "套期现货量",
  23476. "type": "number"
  23477. },
  23478. "hedgerate": {
  23479. "description": "套保比率",
  23480. "type": "number"
  23481. },
  23482. "hedgerestamount": {
  23483. "description": "套期剩余市价总额【现货贸易】",
  23484. "type": "number"
  23485. },
  23486. "hedgesumpl": {
  23487. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  23488. "type": "number"
  23489. },
  23490. "middlegoodslist": {
  23491. "description": "套期商品列表",
  23492. "type": "array",
  23493. "items": {
  23494. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  23495. }
  23496. },
  23497. "oriavgprice": {
  23498. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  23499. "type": "number"
  23500. },
  23501. "orifuturehedgepl": {
  23502. "description": "期初期货实际损益",
  23503. "type": "number"
  23504. },
  23505. "orifuturepl": {
  23506. "description": "期初期货套期损益",
  23507. "type": "number"
  23508. },
  23509. "orispothedgepl": {
  23510. "description": "期初现货实际损益",
  23511. "type": "number"
  23512. },
  23513. "orispotpl": {
  23514. "description": "期初现货套期损益",
  23515. "type": "number"
  23516. },
  23517. "planenddate": {
  23518. "description": "计划结束日期",
  23519. "type": "string"
  23520. },
  23521. "planstartdate": {
  23522. "description": "计划开始日期",
  23523. "type": "string"
  23524. },
  23525. "remark": {
  23526. "description": "备注",
  23527. "type": "string"
  23528. },
  23529. "spotbookamount": {
  23530. "description": "现货账面总额",
  23531. "type": "number"
  23532. },
  23533. "spotfloatpl": {
  23534. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23535. "type": "number"
  23536. },
  23537. "spothedgepl": {
  23538. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  23539. "type": "number"
  23540. },
  23541. "spothedgeplchange": {
  23542. "description": "现货实际损益变动",
  23543. "type": "number"
  23544. },
  23545. "spotpl": {
  23546. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  23547. "type": "number"
  23548. },
  23549. "spotplchange": {
  23550. "description": "现货套期损益变动",
  23551. "type": "number"
  23552. },
  23553. "spottradepl": {
  23554. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  23555. "type": "number"
  23556. },
  23557. "sumobspl": {
  23558. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  23559. "type": "number"
  23560. },
  23561. "tradeuserid": {
  23562. "description": "交易用户ID",
  23563. "type": "integer"
  23564. },
  23565. "unexeqty": {
  23566. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23567. "type": "number"
  23568. },
  23569. "updatetime": {
  23570. "description": "更新时间",
  23571. "type": "string"
  23572. },
  23573. "vatpl": {
  23574. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  23575. "type": "number"
  23576. },
  23577. "vatrate": {
  23578. "description": "增值税",
  23579. "type": "number"
  23580. },
  23581. "wrstandardid": {
  23582. "description": "现货商品ID",
  23583. "type": "integer"
  23584. },
  23585. "wrstandardname": {
  23586. "description": "商品名称",
  23587. "type": "string"
  23588. }
  23589. }
  23590. },
  23591. "models.Ermcp2hedgeditemlink": {
  23592. "type": "object",
  23593. "required": [
  23594. "relatedspotcontractid"
  23595. ],
  23596. "properties": {
  23597. "areauserid": {
  23598. "description": "企业ID",
  23599. "type": "integer"
  23600. },
  23601. "createtime": {
  23602. "description": "[关联时间]创建时间",
  23603. "type": "string"
  23604. },
  23605. "customeruserid": {
  23606. "description": "对手方 【3:采购合同 4:销售合同】",
  23607. "type": "integer"
  23608. },
  23609. "deliverygoodsid": {
  23610. "description": "现货品种ID",
  23611. "type": "integer"
  23612. },
  23613. "enumdicname": {
  23614. "description": "单位",
  23615. "type": "string"
  23616. },
  23617. "hedgeditemid": {
  23618. "description": "被套期项目ID",
  23619. "type": "integer"
  23620. },
  23621. "hedgeditemlinkid": {
  23622. "description": "现货关联表ID(626+Unix秒时间戳(10位)+xxxxxx)",
  23623. "type": "integer"
  23624. },
  23625. "hedgeditemnum": {
  23626. "description": "项目编号",
  23627. "type": "string"
  23628. },
  23629. "hedgedtype": {
  23630. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23631. "type": "integer"
  23632. },
  23633. "relatedamount": {
  23634. "description": "市价总额 = 关联数量 * 期初市场价",
  23635. "type": "number"
  23636. },
  23637. "relatedhedgeplanid": {
  23638. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23639. "type": "integer"
  23640. },
  23641. "relatedqty": {
  23642. "description": "关联数量",
  23643. "type": "number"
  23644. },
  23645. "relatedspotcontractid": {
  23646. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23647. "type": "integer"
  23648. },
  23649. "relatedtype": {
  23650. "description": "关联类型 - 1:套期关联 2:执行关联",
  23651. "type": "integer"
  23652. },
  23653. "spotgoodsbrandid": {
  23654. "description": "现货品牌ID",
  23655. "type": "integer"
  23656. },
  23657. "spotpricedamount": {
  23658. "description": "[关联定价总额]定价总额",
  23659. "type": "number"
  23660. },
  23661. "spotpricedavgprice": {
  23662. "description": "[关联现货均价]现货均价 = 定价总额 / 关联数量",
  23663. "type": "number"
  23664. },
  23665. "spottype": {
  23666. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23667. "type": "integer"
  23668. },
  23669. "tradeuserid": {
  23670. "description": "交易用户ID",
  23671. "type": "integer"
  23672. },
  23673. "unexeqty": {
  23674. "description": "未执行现货量【项目关联时值】",
  23675. "type": "number"
  23676. },
  23677. "wrstandardid": {
  23678. "description": "现货商品ID",
  23679. "type": "integer"
  23680. },
  23681. "wrstandardname": {
  23682. "description": "现货商品",
  23683. "type": "string"
  23684. }
  23685. }
  23686. },
  23687. "models.Ermcp2hedgeditemsDetail": {
  23688. "type": "object",
  23689. "properties": {
  23690. "accountname": {
  23691. "description": "套期主体",
  23692. "type": "string"
  23693. },
  23694. "areauserid": {
  23695. "description": "企业ID",
  23696. "type": "integer"
  23697. },
  23698. "createtime": {
  23699. "description": "[日期时间]创建时间",
  23700. "type": "string"
  23701. },
  23702. "customeruserid": {
  23703. "description": "对手方 【3:采购合同 4:销售合同】",
  23704. "type": "integer"
  23705. },
  23706. "deliverygoodsid": {
  23707. "description": "现货品种ID",
  23708. "type": "integer"
  23709. },
  23710. "enumdicname": {
  23711. "description": "单位",
  23712. "type": "string"
  23713. },
  23714. "hedgeditemid": {
  23715. "description": "被套期项目ID",
  23716. "type": "string"
  23717. },
  23718. "hedgeditemspotid": {
  23719. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23720. "type": "string"
  23721. },
  23722. "hedgedtype": {
  23723. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23724. "type": "integer"
  23725. },
  23726. "hedgeplanno": {
  23727. "description": "计划编号",
  23728. "type": "string"
  23729. },
  23730. "middlegoodschange": {
  23731. "description": "套期商品变化量 = RELATEDQTY * 折算系数 * (1/(1+增值税))",
  23732. "type": "number"
  23733. },
  23734. "oriavgprice": {
  23735. "description": "期初市场价[当初市场价]",
  23736. "type": "number"
  23737. },
  23738. "relatedamount": {
  23739. "description": "市价总额 = 关联数量 * 期初市场价",
  23740. "type": "number"
  23741. },
  23742. "relatedhedgeplanid": {
  23743. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23744. "type": "integer"
  23745. },
  23746. "relatedqty": {
  23747. "description": "[期间变化量]关联数量",
  23748. "type": "number"
  23749. },
  23750. "relatedspotcontractid": {
  23751. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23752. "type": "integer"
  23753. },
  23754. "relatedtype": {
  23755. "description": "关联类型 - 1:套期关联 2:执行关联",
  23756. "type": "integer"
  23757. },
  23758. "spotgoodsbrandid": {
  23759. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23760. "type": "integer"
  23761. },
  23762. "spotpricedamount": {
  23763. "description": "定价总额",
  23764. "type": "number"
  23765. },
  23766. "spotpricedavgprice": {
  23767. "description": "现货均价 = 定价总额 / 关联数量",
  23768. "type": "number"
  23769. },
  23770. "spottype": {
  23771. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23772. "type": "integer"
  23773. },
  23774. "tradeuserid": {
  23775. "description": "交易用户ID",
  23776. "type": "integer"
  23777. },
  23778. "unexeqty": {
  23779. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  23780. "type": "number"
  23781. },
  23782. "wrstandardid": {
  23783. "description": "现货商品ID",
  23784. "type": "integer"
  23785. },
  23786. "wrstandardname": {
  23787. "description": "现货商品",
  23788. "type": "string"
  23789. }
  23790. }
  23791. },
  23792. "models.Ermcp2hedgeditemspot": {
  23793. "type": "object",
  23794. "required": [
  23795. "hedgeditemid"
  23796. ],
  23797. "properties": {
  23798. "areauserid": {
  23799. "description": "企业ID",
  23800. "type": "integer"
  23801. },
  23802. "createtime": {
  23803. "description": "创建时间",
  23804. "type": "string"
  23805. },
  23806. "customeruserid": {
  23807. "description": "对手方 【3:采购合同 4:销售合同】",
  23808. "type": "integer"
  23809. },
  23810. "deliverygoodsid": {
  23811. "description": "现货品种ID",
  23812. "type": "integer"
  23813. },
  23814. "enumdicname": {
  23815. "description": "单位",
  23816. "type": "string"
  23817. },
  23818. "hedgeditemid": {
  23819. "description": "被套期项目ID",
  23820. "type": "string"
  23821. },
  23822. "hedgeditemspotid": {
  23823. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23824. "type": "string"
  23825. },
  23826. "hedgedtype": {
  23827. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23828. "type": "integer"
  23829. },
  23830. "hedgeplanno": {
  23831. "description": "计划编号",
  23832. "type": "string"
  23833. },
  23834. "oriavgprice": {
  23835. "description": "期初市场价[当初市场价]",
  23836. "type": "number"
  23837. },
  23838. "relatedamount": {
  23839. "description": "市价总额 = 关联数量 * 期初市场价",
  23840. "type": "number"
  23841. },
  23842. "relatedhedgeplanid": {
  23843. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23844. "type": "integer"
  23845. },
  23846. "relatedqty": {
  23847. "description": "关联数量[数量]",
  23848. "type": "number"
  23849. },
  23850. "relatedspotcontractid": {
  23851. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23852. "type": "integer"
  23853. },
  23854. "relatedtype": {
  23855. "description": "关联类型 - 1:套期关联 2:执行关联",
  23856. "type": "integer"
  23857. },
  23858. "spotgoodsbrandid": {
  23859. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23860. "type": "integer"
  23861. },
  23862. "spotpricedamount": {
  23863. "description": "定价总额",
  23864. "type": "number"
  23865. },
  23866. "spotpricedavgprice": {
  23867. "description": "现货均价 = 定价总额 / 关联数量",
  23868. "type": "number"
  23869. },
  23870. "spottype": {
  23871. "description": "现货类型 - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23872. "type": "integer"
  23873. },
  23874. "tradeuserid": {
  23875. "description": "交易用户ID",
  23876. "type": "integer"
  23877. },
  23878. "wrstandardid": {
  23879. "description": "现货商品ID",
  23880. "type": "integer"
  23881. },
  23882. "wrstandardname": {
  23883. "description": "现货商品",
  23884. "type": "string"
  23885. }
  23886. }
  23887. },
  23888. "models.Ermcp2hedgeditemspotDetail": {
  23889. "type": "object",
  23890. "required": [
  23891. "hedgeditemid"
  23892. ],
  23893. "properties": {
  23894. "accountname": {
  23895. "description": "对手方",
  23896. "type": "string"
  23897. },
  23898. "areauserid": {
  23899. "description": "企业ID",
  23900. "type": "integer"
  23901. },
  23902. "brandname": {
  23903. "description": "品牌",
  23904. "type": "string"
  23905. },
  23906. "contractno": {
  23907. "description": "合同编号",
  23908. "type": "string"
  23909. },
  23910. "createtime": {
  23911. "description": "创建时间",
  23912. "type": "string"
  23913. },
  23914. "customeruserid": {
  23915. "description": "对手方 【3:采购合同 4:销售合同】",
  23916. "type": "integer"
  23917. },
  23918. "deliverygoodsid": {
  23919. "description": "现货品种ID",
  23920. "type": "integer"
  23921. },
  23922. "enumdicname": {
  23923. "description": "单位",
  23924. "type": "string"
  23925. },
  23926. "hedgeditemid": {
  23927. "description": "被套期项目ID",
  23928. "type": "string"
  23929. },
  23930. "hedgeditemspotid": {
  23931. "description": "现货明细ID(625+Unix秒时间戳(10位)+xxxxxx)",
  23932. "type": "string"
  23933. },
  23934. "hedgedtype": {
  23935. "description": "套期类型[计划类型] - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  23936. "type": "integer"
  23937. },
  23938. "oriavgprice": {
  23939. "description": "期初市场价[当初市场价]",
  23940. "type": "number"
  23941. },
  23942. "relatedamount": {
  23943. "description": "市价总额 = 关联数量 * 期初市场价",
  23944. "type": "number"
  23945. },
  23946. "relatedhedgeplanid": {
  23947. "description": "关联计划ID 【1:采购计划 2:销售计划】",
  23948. "type": "integer"
  23949. },
  23950. "relatedqty": {
  23951. "description": "关联数量[数量]",
  23952. "type": "number"
  23953. },
  23954. "relatedspotcontractid": {
  23955. "description": "关联合同ID 【3:采购合同 4:销售合同】",
  23956. "type": "integer"
  23957. },
  23958. "relatedtype": {
  23959. "description": "关联类型 - 1:套期关联 2:执行关联",
  23960. "type": "integer"
  23961. },
  23962. "spotgoodsbrandid": {
  23963. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\" = 2",
  23964. "type": "integer"
  23965. },
  23966. "spotpricedamount": {
  23967. "description": "定价总额[金额]",
  23968. "type": "number"
  23969. },
  23970. "spotpricedavgprice": {
  23971. "description": "现货均价 = 定价总额 / 关联数量",
  23972. "type": "number"
  23973. },
  23974. "spottype": {
  23975. "description": "现货类型[合同类型] - 1:采购计划 2:销售计划 3:采购合同 4:销售合同 5:库存存货",
  23976. "type": "integer"
  23977. },
  23978. "tradeuserid": {
  23979. "description": "交易用户ID",
  23980. "type": "integer"
  23981. },
  23982. "wrstandardid": {
  23983. "description": "现货商品ID",
  23984. "type": "integer"
  23985. },
  23986. "wrstandardname": {
  23987. "description": "现货商品",
  23988. "type": "string"
  23989. }
  23990. }
  23991. },
  23992. "models.Ermcp2himiddlegoods": {
  23993. "type": "object",
  23994. "required": [
  23995. "hedgeditemid",
  23996. "middlegoodsid"
  23997. ],
  23998. "properties": {
  23999. "futurehedgeqty": {
  24000. "description": "期货持仓套期量",
  24001. "type": "number"
  24002. },
  24003. "hedgeditemid": {
  24004. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  24005. "type": "integer"
  24006. },
  24007. "hiexpsoure": {
  24008. "description": "期现敞口量 = 未执行套期量 + 期货持仓套期量",
  24009. "type": "number"
  24010. },
  24011. "middlegoodscode": {
  24012. "description": "套保商品代码",
  24013. "type": "string"
  24014. },
  24015. "middlegoodsid": {
  24016. "description": "套保品种ID",
  24017. "type": "integer"
  24018. },
  24019. "middlegoodsname": {
  24020. "description": "套保商品名称",
  24021. "type": "string"
  24022. },
  24023. "unexehedgeqty": {
  24024. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  24025. "type": "number"
  24026. }
  24027. }
  24028. },
  24029. "models.Ermcp2stockspotchangelog": {
  24030. "type": "object",
  24031. "properties": {
  24032. "accountname": {
  24033. "description": "套期主体",
  24034. "type": "string"
  24035. },
  24036. "aftervalue": {
  24037. "description": "现货量",
  24038. "type": "number"
  24039. },
  24040. "beforevalue": {
  24041. "description": "变更前现货量",
  24042. "type": "number"
  24043. },
  24044. "contractno": {
  24045. "description": "[编号]现货合同编号",
  24046. "type": "string"
  24047. },
  24048. "contracttype": {
  24049. "description": "现货合同类型 - 1:采购 -1:销售",
  24050. "type": "integer"
  24051. },
  24052. "createtime": {
  24053. "description": "创建时间",
  24054. "type": "string"
  24055. },
  24056. "customerusername": {
  24057. "description": "对手方",
  24058. "type": "string"
  24059. },
  24060. "deliverygoodsid": {
  24061. "description": "现货品种ID",
  24062. "type": "integer"
  24063. },
  24064. "exetype": {
  24065. "description": "执行类型 - 1:采购合同 2:销售合同 3:生产入库 4:生产出库",
  24066. "type": "integer"
  24067. },
  24068. "logid": {
  24069. "description": "流水ID(604+Unix秒时间戳(10位)+xxxxxx)",
  24070. "type": "string"
  24071. },
  24072. "logvalue": {
  24073. "description": "[期间变化量]现货量变更值",
  24074. "type": "number"
  24075. },
  24076. "middlegoodschange": {
  24077. "description": "套期商品变化量 = LogValue * 折算系数 * (1/(1+增值税))",
  24078. "type": "number"
  24079. },
  24080. "operatelogtype": {
  24081. "description": "操作流水类型 - 2:点价数量 21:正常完结(合同) 22:异常终止(合同) 24:采购入库 25:销售出库 26:生产入库 27:生产出库",
  24082. "type": "integer"
  24083. },
  24084. "relatedid": {
  24085. "description": "现货合同ID",
  24086. "type": "integer"
  24087. },
  24088. "spotgoodsbrandid": {
  24089. "description": "现货品牌ID",
  24090. "type": "integer"
  24091. },
  24092. "tradedate": {
  24093. "description": "交易日(yyyyMMdd)",
  24094. "type": "string"
  24095. },
  24096. "userid": {
  24097. "description": "机构ID",
  24098. "type": "integer"
  24099. },
  24100. "warehouseinfoid": {
  24101. "description": "仓库ID",
  24102. "type": "integer"
  24103. },
  24104. "wrfactortypeid": {
  24105. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24106. "type": "integer"
  24107. },
  24108. "wrstandardid": {
  24109. "description": "现货商品ID",
  24110. "type": "integer"
  24111. },
  24112. "wrstandardname": {
  24113. "description": "商品名称",
  24114. "type": "string"
  24115. }
  24116. }
  24117. },
  24118. "models.Ermcp3AreaSpot": {
  24119. "type": "object",
  24120. "properties": {
  24121. "areauserid": {
  24122. "description": "所属机构",
  24123. "type": "integer"
  24124. },
  24125. "convertratio": {
  24126. "description": "套保系数",
  24127. "type": "number"
  24128. },
  24129. "decreaseqty": {
  24130. "description": "减少数量=-(销售已定价数量+采购计划数量)",
  24131. "type": "number"
  24132. },
  24133. "enumdicname": {
  24134. "description": "单位名称",
  24135. "type": "string"
  24136. },
  24137. "increaseqty": {
  24138. "description": "增加数量=销售计划数量+采购已定价数量",
  24139. "type": "number"
  24140. },
  24141. "oritoalspotqty": {
  24142. "description": "昨日数量",
  24143. "type": "number"
  24144. },
  24145. "totalspotqty": {
  24146. "description": "当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)",
  24147. "type": "number"
  24148. },
  24149. "unitid": {
  24150. "description": "现货商品单位id",
  24151. "type": "integer"
  24152. },
  24153. "updatetime": {
  24154. "description": "更新时间",
  24155. "type": "string"
  24156. },
  24157. "wrstandardcode": {
  24158. "description": "现货商品代码",
  24159. "type": "string"
  24160. },
  24161. "wrstandardid": {
  24162. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24163. "type": "integer"
  24164. },
  24165. "wrstandardname": {
  24166. "description": "现货商品名称",
  24167. "type": "string"
  24168. }
  24169. }
  24170. },
  24171. "models.Ermcp3AreaSpotDetail": {
  24172. "type": "object",
  24173. "properties": {
  24174. "contracttype": {
  24175. "description": "合同类型 1-采购 -1-销售",
  24176. "type": "integer"
  24177. },
  24178. "createtime": {
  24179. "description": "创建时间",
  24180. "type": "string"
  24181. },
  24182. "enumdicname": {
  24183. "description": "现货商品单位名称",
  24184. "type": "string"
  24185. },
  24186. "logtype": {
  24187. "description": "记录类型 1-套保 2-现货合同",
  24188. "type": "integer"
  24189. },
  24190. "qty": {
  24191. "description": "数量",
  24192. "type": "number"
  24193. },
  24194. "recordname": {
  24195. "description": "类型名称",
  24196. "type": "string"
  24197. },
  24198. "relatedid": {
  24199. "description": "套保计划ID/现货合同ID",
  24200. "type": "string"
  24201. },
  24202. "relatedno": {
  24203. "description": "编号",
  24204. "type": "string"
  24205. },
  24206. "strtime": {
  24207. "description": "时间",
  24208. "type": "string"
  24209. },
  24210. "wrstandardcode": {
  24211. "description": "现货商品代码",
  24212. "type": "string"
  24213. },
  24214. "wrstandardid": {
  24215. "description": "现货商品ID(SEQ_WRSTANDARD)",
  24216. "type": "integer"
  24217. },
  24218. "wrstandardname": {
  24219. "description": "现货商品名称",
  24220. "type": "string"
  24221. }
  24222. }
  24223. },
  24224. "models.Ermcp3AreaSpotPLReport": {
  24225. "type": "object",
  24226. "properties": {
  24227. "accountid": {
  24228. "description": "期货账户ID (作废, 默认为0)",
  24229. "type": "integer"
  24230. },
  24231. "accountname": {
  24232. "description": "机构名称",
  24233. "type": "string"
  24234. },
  24235. "actualpl": {
  24236. "description": "现货损益",
  24237. "type": "number"
  24238. },
  24239. "areauserid": {
  24240. "description": "所属机构\\交易用户ID",
  24241. "type": "integer"
  24242. },
  24243. "begindate": {
  24244. "description": "开始交易日",
  24245. "type": "string"
  24246. },
  24247. "biztype": {
  24248. "description": "业务类型 - 1:套保 2:套利",
  24249. "type": "integer"
  24250. },
  24251. "brandname": {
  24252. "description": "品牌名称",
  24253. "type": "string"
  24254. },
  24255. "curamount": {
  24256. "description": "期末额",
  24257. "type": "number"
  24258. },
  24259. "curaverageprice": {
  24260. "description": "期初均价",
  24261. "type": "number"
  24262. },
  24263. "curbuyamount": {
  24264. "description": "期末采购总额",
  24265. "type": "number"
  24266. },
  24267. "curbuyqty": {
  24268. "description": "期末采购总量",
  24269. "type": "number"
  24270. },
  24271. "curmarketvalue": {
  24272. "description": "期初均价",
  24273. "type": "number"
  24274. },
  24275. "curqty": {
  24276. "description": "期末量",
  24277. "type": "number"
  24278. },
  24279. "currencyid": {
  24280. "description": "结算币种ID【原值】",
  24281. "type": "integer"
  24282. },
  24283. "currencyname": {
  24284. "description": "币种名称",
  24285. "type": "string"
  24286. },
  24287. "cursellamount": {
  24288. "description": "期末销售总额",
  24289. "type": "number"
  24290. },
  24291. "cursellqty": {
  24292. "description": "期末销售总量",
  24293. "type": "number"
  24294. },
  24295. "curspotprice": {
  24296. "description": "期初均价",
  24297. "type": "number"
  24298. },
  24299. "cycletime": {
  24300. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24301. "type": "string"
  24302. },
  24303. "cycletype": {
  24304. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24305. "type": "integer"
  24306. },
  24307. "deliverygoodscode": {
  24308. "description": "现货品种代码",
  24309. "type": "string"
  24310. },
  24311. "deliverygoodsid": {
  24312. "description": "现货品种ID",
  24313. "type": "integer"
  24314. },
  24315. "deliverygoodsname": {
  24316. "description": "现货品种名称",
  24317. "type": "string"
  24318. },
  24319. "enddate": {
  24320. "description": "结束交易日",
  24321. "type": "string"
  24322. },
  24323. "enumdicname": {
  24324. "description": "现货品种单位名称(作废)",
  24325. "type": "string"
  24326. },
  24327. "floatpl": {
  24328. "description": "期初均价",
  24329. "type": "number"
  24330. },
  24331. "goodsunitid": {
  24332. "description": "现货品种单位id(作废)",
  24333. "type": "integer"
  24334. },
  24335. "oriamount": {
  24336. "description": "期初额",
  24337. "type": "number"
  24338. },
  24339. "oriaverageprice": {
  24340. "description": "期初均价",
  24341. "type": "number"
  24342. },
  24343. "oribuyamount": {
  24344. "description": "期初采购总额",
  24345. "type": "number"
  24346. },
  24347. "oribuyqty": {
  24348. "description": "期初采购总量",
  24349. "type": "number"
  24350. },
  24351. "oriqty": {
  24352. "description": "期初量",
  24353. "type": "number"
  24354. },
  24355. "orisellamount": {
  24356. "description": "期初销售总额",
  24357. "type": "number"
  24358. },
  24359. "orisellqty": {
  24360. "description": "期初销售总量",
  24361. "type": "number"
  24362. },
  24363. "reckondate": {
  24364. "description": "日照时期(yyyyMMdd)",
  24365. "type": "string"
  24366. },
  24367. "spotgoodsbrandid": {
  24368. "description": "现货品牌ID",
  24369. "type": "integer"
  24370. },
  24371. "todaybuyamount": {
  24372. "description": "今日采购额(今采购额)",
  24373. "type": "number"
  24374. },
  24375. "todaybuyaverageprice": {
  24376. "description": "期初均价",
  24377. "type": "number"
  24378. },
  24379. "todaybuyqty": {
  24380. "description": "今日采购量(今采购量)",
  24381. "type": "number"
  24382. },
  24383. "todayinqty": {
  24384. "description": "今日入库量(今入库量)",
  24385. "type": "number"
  24386. },
  24387. "todayoutqty": {
  24388. "description": "今日出库量(今出库量)",
  24389. "type": "number"
  24390. },
  24391. "todaysellamount": {
  24392. "description": "今日销售额(今销售额)",
  24393. "type": "number"
  24394. },
  24395. "todaysellaverageprice": {
  24396. "description": "期初均价",
  24397. "type": "number"
  24398. },
  24399. "todaysellqty": {
  24400. "description": "今日销售量(今销售量)",
  24401. "type": "number"
  24402. },
  24403. "unitid": {
  24404. "description": "品类单位id",
  24405. "type": "integer"
  24406. },
  24407. "unitidname": {
  24408. "description": "品类单位名称",
  24409. "type": "string"
  24410. },
  24411. "updatetime": {
  24412. "description": "更新时间",
  24413. "type": "string"
  24414. },
  24415. "wrfactortypeid": {
  24416. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  24417. "type": "integer"
  24418. },
  24419. "wrstandardcode": {
  24420. "description": "现货商品(品类)代码",
  24421. "type": "string"
  24422. },
  24423. "wrstandardid": {
  24424. "description": "现货品类ID",
  24425. "type": "integer"
  24426. },
  24427. "wrstandardname": {
  24428. "description": "现货商品(品类)名称",
  24429. "type": "string"
  24430. }
  24431. }
  24432. },
  24433. "models.Ermcp3AreaStock": {
  24434. "type": "object",
  24435. "required": [
  24436. "userid"
  24437. ],
  24438. "properties": {
  24439. "brandname": {
  24440. "description": "品牌名称",
  24441. "type": "string"
  24442. },
  24443. "curstock": {
  24444. "description": "期末库存量(今日量)",
  24445. "type": "number"
  24446. },
  24447. "deliverygoodscode": {
  24448. "description": "现货品种代码",
  24449. "type": "string"
  24450. },
  24451. "deliverygoodsid": {
  24452. "description": "现货品种id",
  24453. "type": "integer"
  24454. },
  24455. "deliverygoodsname": {
  24456. "description": "现货品种名称",
  24457. "type": "string"
  24458. },
  24459. "enumdicname": {
  24460. "description": "单位名称",
  24461. "type": "string"
  24462. },
  24463. "goodsunitid": {
  24464. "description": "现货商品单位id",
  24465. "type": "integer"
  24466. },
  24467. "oristock": {
  24468. "description": "期初库存量(昨日量)",
  24469. "type": "number"
  24470. },
  24471. "spotgoodsbrandid": {
  24472. "description": "现货品牌ID",
  24473. "type": "integer"
  24474. },
  24475. "todaybuyinqty": {
  24476. "description": "今日采购入库量",
  24477. "type": "number"
  24478. },
  24479. "todayproduceinqty": {
  24480. "description": "今日生产入库量",
  24481. "type": "number"
  24482. },
  24483. "todayproduceoutqty": {
  24484. "description": "今日生产出库量",
  24485. "type": "number"
  24486. },
  24487. "todayselloutqty": {
  24488. "description": "今日销售出库量",
  24489. "type": "number"
  24490. },
  24491. "unitid": {
  24492. "description": "单位id",
  24493. "type": "integer"
  24494. },
  24495. "updatetime": {
  24496. "description": "更新时间",
  24497. "type": "string"
  24498. },
  24499. "userid": {
  24500. "description": "机构ID",
  24501. "type": "integer"
  24502. },
  24503. "username": {
  24504. "description": "机构名称",
  24505. "type": "string"
  24506. },
  24507. "warehousecode": {
  24508. "description": "仓库代码",
  24509. "type": "string"
  24510. },
  24511. "warehouseinfoid": {
  24512. "description": "仓库ID",
  24513. "type": "string"
  24514. },
  24515. "warehousename": {
  24516. "description": "仓库名称",
  24517. "type": "string"
  24518. },
  24519. "warehousetype": {
  24520. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24521. "type": "integer"
  24522. },
  24523. "wrstandardcode": {
  24524. "description": "品类代码",
  24525. "type": "string"
  24526. },
  24527. "wrstandardid": {
  24528. "description": "品类ID",
  24529. "type": "string"
  24530. },
  24531. "wrstandardname": {
  24532. "description": "品类名称",
  24533. "type": "string"
  24534. }
  24535. }
  24536. },
  24537. "models.Ermcp3AreaStockApply": {
  24538. "type": "object",
  24539. "properties": {
  24540. "applyid": {
  24541. "description": "申请人",
  24542. "type": "integer"
  24543. },
  24544. "applyname": {
  24545. "description": "申请人名称",
  24546. "type": "string"
  24547. },
  24548. "applyremark": {
  24549. "description": "申请备注",
  24550. "type": "string"
  24551. },
  24552. "applysrc": {
  24553. "description": "申请来源 - 1:管理端 2:终端",
  24554. "type": "integer"
  24555. },
  24556. "applystatus": {
  24557. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  24558. "type": "integer"
  24559. },
  24560. "applytime": {
  24561. "description": "申请时间",
  24562. "type": "string"
  24563. },
  24564. "auditid": {
  24565. "description": "审核人",
  24566. "type": "integer"
  24567. },
  24568. "auditname": {
  24569. "description": "审核人名称",
  24570. "type": "string"
  24571. },
  24572. "auditremark": {
  24573. "description": "审核备注",
  24574. "type": "string"
  24575. },
  24576. "auditsrc": {
  24577. "description": "审核来源 - 1:管理端 2:终端",
  24578. "type": "integer"
  24579. },
  24580. "audittime": {
  24581. "description": "审核时间",
  24582. "type": "string"
  24583. },
  24584. "audittradedate": {
  24585. "description": "审核交易日(yyyyMMdd)",
  24586. "type": "string"
  24587. },
  24588. "brandname": {
  24589. "description": "品牌名称",
  24590. "type": "string"
  24591. },
  24592. "buynickname": {
  24593. "description": "采购方昵称",
  24594. "type": "string"
  24595. },
  24596. "buyuserid": {
  24597. "description": "采购方userid",
  24598. "type": "integer"
  24599. },
  24600. "buyusername": {
  24601. "description": "采购方名称",
  24602. "type": "string"
  24603. },
  24604. "contractno": {
  24605. "description": "合同编号",
  24606. "type": "string"
  24607. },
  24608. "contractqty": {
  24609. "description": "合同量",
  24610. "type": "number"
  24611. },
  24612. "contracttype": {
  24613. "description": "现货合同类型 - 1:采购 -1:销售",
  24614. "type": "integer"
  24615. },
  24616. "deliverygoodscode": {
  24617. "description": "现货品种代码",
  24618. "type": "string"
  24619. },
  24620. "deliverygoodsid": {
  24621. "description": "现货品种id",
  24622. "type": "integer"
  24623. },
  24624. "deliverygoodsname": {
  24625. "description": "现货品种名称",
  24626. "type": "string"
  24627. },
  24628. "detailjson": {
  24629. "description": "明细数据",
  24630. "type": "string"
  24631. },
  24632. "enumdicname": {
  24633. "description": "现货商品单位名称",
  24634. "type": "string"
  24635. },
  24636. "inoutapplyid": {
  24637. "description": "申请ID(607+Unix秒时间戳(10位)+xxxxxx)",
  24638. "type": "string"
  24639. },
  24640. "inouttype": {
  24641. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  24642. "type": "integer"
  24643. },
  24644. "pricetype": {
  24645. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  24646. "type": "integer"
  24647. },
  24648. "qty": {
  24649. "description": "数量",
  24650. "type": "number"
  24651. },
  24652. "sellnickname": {
  24653. "description": "销售方昵称",
  24654. "type": "string"
  24655. },
  24656. "selluserid": {
  24657. "description": "销售方userid",
  24658. "type": "integer"
  24659. },
  24660. "sellusername": {
  24661. "description": "销售方名称",
  24662. "type": "string"
  24663. },
  24664. "spotcontractid": {
  24665. "description": "关联现货合同ID",
  24666. "type": "string"
  24667. },
  24668. "spotgoodsbrandid": {
  24669. "description": "现货品牌ID",
  24670. "type": "integer"
  24671. },
  24672. "unitid": {
  24673. "description": "单位id",
  24674. "type": "integer"
  24675. },
  24676. "userid": {
  24677. "description": "机构ID",
  24678. "type": "integer"
  24679. },
  24680. "warehousecode": {
  24681. "description": "仓库代码",
  24682. "type": "string"
  24683. },
  24684. "warehouseinfoid": {
  24685. "description": "现货仓库ID",
  24686. "type": "string"
  24687. },
  24688. "warehousename": {
  24689. "description": "仓库名称",
  24690. "type": "string"
  24691. },
  24692. "warehousetype": {
  24693. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24694. "type": "integer"
  24695. },
  24696. "wrstandardcode": {
  24697. "description": "品类代码",
  24698. "type": "string"
  24699. },
  24700. "wrstandardid": {
  24701. "description": "品类ID",
  24702. "type": "integer"
  24703. },
  24704. "wrstandardname": {
  24705. "description": "品类名称",
  24706. "type": "string"
  24707. }
  24708. }
  24709. },
  24710. "models.Ermcp3AreaStockApplySum": {
  24711. "type": "object",
  24712. "properties": {
  24713. "brandname": {
  24714. "description": "品牌名称",
  24715. "type": "string"
  24716. },
  24717. "inouttype": {
  24718. "description": "出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库",
  24719. "type": "integer"
  24720. },
  24721. "spotcontractid": {
  24722. "description": "关联现货合同ID",
  24723. "type": "string"
  24724. },
  24725. "spotgoodsbrandid": {
  24726. "description": "品牌id",
  24727. "type": "integer"
  24728. },
  24729. "totalqty": {
  24730. "description": "总数量",
  24731. "type": "number"
  24732. },
  24733. "wrstandardid": {
  24734. "description": "品类id",
  24735. "type": "integer"
  24736. },
  24737. "wrstandardname": {
  24738. "description": "品类名称",
  24739. "type": "string"
  24740. }
  24741. }
  24742. },
  24743. "models.Ermcp3AreaStockReportEx": {
  24744. "type": "object",
  24745. "properties": {
  24746. "begindate": {
  24747. "description": "开始交易日",
  24748. "type": "string"
  24749. },
  24750. "brandname": {
  24751. "description": "品牌名称",
  24752. "type": "string"
  24753. },
  24754. "curstock": {
  24755. "description": "期末库存量",
  24756. "type": "number"
  24757. },
  24758. "cycletime": {
  24759. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24760. "type": "string"
  24761. },
  24762. "cycletype": {
  24763. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24764. "type": "integer"
  24765. },
  24766. "deliverygoodscode": {
  24767. "description": "现货品种代码",
  24768. "type": "string"
  24769. },
  24770. "deliverygoodsid": {
  24771. "description": "现货品种id",
  24772. "type": "integer"
  24773. },
  24774. "deliverygoodsname": {
  24775. "description": "现货品种名称",
  24776. "type": "string"
  24777. },
  24778. "diffqty": {
  24779. "description": "库存变化量 = 期末 - 期初",
  24780. "type": "number"
  24781. },
  24782. "enddate": {
  24783. "description": "结束交易日",
  24784. "type": "string"
  24785. },
  24786. "enumdicname": {
  24787. "description": "单位名称",
  24788. "type": "string"
  24789. },
  24790. "goodsunitid": {
  24791. "description": "现货单位id",
  24792. "type": "integer"
  24793. },
  24794. "oristock": {
  24795. "description": "期初库存量",
  24796. "type": "number"
  24797. },
  24798. "reckondate": {
  24799. "description": "日照时期(yyyyMMdd)",
  24800. "type": "string"
  24801. },
  24802. "spotgoodsbrandid": {
  24803. "description": "现货品牌ID",
  24804. "type": "integer"
  24805. },
  24806. "todaybuyinqty": {
  24807. "description": "今采购入库量",
  24808. "type": "number"
  24809. },
  24810. "todayproduceinqty": {
  24811. "description": "今内部入库量",
  24812. "type": "number"
  24813. },
  24814. "todayproduceoutqty": {
  24815. "description": "今内部出库量",
  24816. "type": "number"
  24817. },
  24818. "todayselloutqty": {
  24819. "description": "今销售出库量",
  24820. "type": "number"
  24821. },
  24822. "unbuyinqty": {
  24823. "description": "采购未入库量(数据库未找到相关字段?)",
  24824. "type": "number"
  24825. },
  24826. "unitid": {
  24827. "description": "品类单位id",
  24828. "type": "integer"
  24829. },
  24830. "unselloutqty": {
  24831. "description": "销售未出库量(数据库未找到相关字段?)",
  24832. "type": "number"
  24833. },
  24834. "updatetime": {
  24835. "description": "更新时间",
  24836. "type": "string"
  24837. },
  24838. "userid": {
  24839. "description": "机构ID",
  24840. "type": "integer"
  24841. },
  24842. "username": {
  24843. "description": "机构名称",
  24844. "type": "string"
  24845. },
  24846. "warehousecode": {
  24847. "description": "仓库代码",
  24848. "type": "string"
  24849. },
  24850. "warehouseinfoid": {
  24851. "description": "仓库ID",
  24852. "type": "string"
  24853. },
  24854. "warehousename": {
  24855. "description": "仓库名称",
  24856. "type": "string"
  24857. },
  24858. "warehousetype": {
  24859. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  24860. "type": "integer"
  24861. },
  24862. "wrstandardcode": {
  24863. "description": "品类代码",
  24864. "type": "string"
  24865. },
  24866. "wrstandardid": {
  24867. "description": "品类ID",
  24868. "type": "integer"
  24869. },
  24870. "wrstandardname": {
  24871. "description": "品类名称",
  24872. "type": "string"
  24873. }
  24874. }
  24875. },
  24876. "models.Ermcp3ArealSumPL": {
  24877. "type": "object",
  24878. "properties": {
  24879. "accountname": {
  24880. "description": "机构名称",
  24881. "type": "string"
  24882. },
  24883. "areauserid": {
  24884. "description": "所属机构\\交易用户ID",
  24885. "type": "integer"
  24886. },
  24887. "begindate": {
  24888. "description": "开始交易日",
  24889. "type": "string"
  24890. },
  24891. "currencyid": {
  24892. "description": "结算币种ID",
  24893. "type": "integer"
  24894. },
  24895. "currencyname": {
  24896. "description": "币种名称",
  24897. "type": "string"
  24898. },
  24899. "cycletime": {
  24900. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  24901. "type": "string"
  24902. },
  24903. "cycletype": {
  24904. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  24905. "type": "integer"
  24906. },
  24907. "enddate": {
  24908. "description": "结束交易日",
  24909. "type": "string"
  24910. },
  24911. "enumdicname": {
  24912. "description": "单位名称(套保品种)",
  24913. "type": "string"
  24914. },
  24915. "futureactualpl": {
  24916. "description": "期货损益",
  24917. "type": "number"
  24918. },
  24919. "futurefloatpl": {
  24920. "description": "期货浮动损益",
  24921. "type": "number"
  24922. },
  24923. "futurespotratio": {
  24924. "description": "期现比例 = 期货头寸总量 / 现货头寸总量",
  24925. "type": "number"
  24926. },
  24927. "goodsunitid": {
  24928. "description": "套保品种单位id",
  24929. "type": "integer"
  24930. },
  24931. "hedgeexposurepl": {
  24932. "description": "套保敞口损益",
  24933. "type": "number"
  24934. },
  24935. "middlegoodscode": {
  24936. "description": "套保品种代码",
  24937. "type": "string"
  24938. },
  24939. "middlegoodsid": {
  24940. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  24941. "type": "integer"
  24942. },
  24943. "middlegoodsname": {
  24944. "description": "套保品种名称",
  24945. "type": "string"
  24946. },
  24947. "reckondate": {
  24948. "description": "日照时期(yyyyMMdd)",
  24949. "type": "string"
  24950. },
  24951. "spotactualpl": {
  24952. "description": "现货损益",
  24953. "type": "number"
  24954. },
  24955. "spotfloatpl": {
  24956. "description": "现货浮动损益",
  24957. "type": "number"
  24958. },
  24959. "sumactualpl": {
  24960. "description": "实际损益 = (ActualPL + FutureActualPL)",
  24961. "type": "number"
  24962. },
  24963. "sumpl": {
  24964. "description": "总敞口损益 | 汇总损益",
  24965. "type": "number"
  24966. },
  24967. "totalfutureqty": {
  24968. "description": "期货头寸总量",
  24969. "type": "number"
  24970. },
  24971. "totalneedhedgeqty": {
  24972. "description": "应套保总量",
  24973. "type": "number"
  24974. },
  24975. "totalspotqty": {
  24976. "description": "现货头寸总量",
  24977. "type": "number"
  24978. },
  24979. "updatetime": {
  24980. "description": "更新时间",
  24981. "type": "string"
  24982. }
  24983. }
  24984. },
  24985. "models.Ermcp3Brand": {
  24986. "type": "object",
  24987. "properties": {
  24988. "areauserid": {
  24989. "description": "用户id",
  24990. "type": "integer"
  24991. },
  24992. "brandid": {
  24993. "description": "品牌id",
  24994. "type": "integer"
  24995. },
  24996. "brandname": {
  24997. "description": "品牌名称",
  24998. "type": "string"
  24999. },
  25000. "deliverygoodsid": {
  25001. "description": "品种ID",
  25002. "type": "integer"
  25003. },
  25004. "isvalid": {
  25005. "description": "是否有效",
  25006. "type": "integer"
  25007. }
  25008. }
  25009. },
  25010. "models.Ermcp3Contract": {
  25011. "type": "object",
  25012. "properties": {
  25013. "accountid": {
  25014. "description": "期货账户id",
  25015. "type": "string"
  25016. },
  25017. "amount": {
  25018. "description": "金额 [1:一口价、3:暂定价]",
  25019. "type": "number"
  25020. },
  25021. "attachment": {
  25022. "description": "附件",
  25023. "type": "string"
  25024. },
  25025. "auditremark": {
  25026. "description": "审核意见",
  25027. "type": "string"
  25028. },
  25029. "audittime": {
  25030. "description": "审核时间",
  25031. "type": "string"
  25032. },
  25033. "biztype": {
  25034. "description": "业务类型 1-套保 2-套利",
  25035. "type": "integer"
  25036. },
  25037. "brandname": {
  25038. "description": "品牌名称",
  25039. "type": "string"
  25040. },
  25041. "buynickname": {
  25042. "description": "销售方昵称",
  25043. "type": "string"
  25044. },
  25045. "buyuserid": {
  25046. "description": "采购方ID",
  25047. "type": "integer"
  25048. },
  25049. "buyusername": {
  25050. "description": "采购方名称",
  25051. "type": "string"
  25052. },
  25053. "contracctstatus": {
  25054. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25055. "type": "integer"
  25056. },
  25057. "contractmargin": {
  25058. "description": "合同保证金",
  25059. "type": "number"
  25060. },
  25061. "contractno": {
  25062. "description": "现货合同编号",
  25063. "type": "string"
  25064. },
  25065. "contracttype": {
  25066. "description": "现货合同类型 - 1:采购 -1:销售",
  25067. "type": "integer"
  25068. },
  25069. "convertfactor": {
  25070. "description": "标仓系数(品类)",
  25071. "type": "number"
  25072. },
  25073. "createtime": {
  25074. "description": "创建时间",
  25075. "type": "string"
  25076. },
  25077. "currencyid": {
  25078. "description": "币种id",
  25079. "type": "integer"
  25080. },
  25081. "currencyname": {
  25082. "description": "币种名称",
  25083. "type": "string"
  25084. },
  25085. "deliveryenddate": {
  25086. "description": "交收期(结束)",
  25087. "type": "string"
  25088. },
  25089. "deliverygoodscode": {
  25090. "description": "现货品种代码",
  25091. "type": "string"
  25092. },
  25093. "deliverygoodsid": {
  25094. "description": "现货品种ID",
  25095. "type": "integer"
  25096. },
  25097. "deliverygoodsname": {
  25098. "description": "现货品种名称",
  25099. "type": "string"
  25100. },
  25101. "deliverystartdate": {
  25102. "description": "交收期(开始)",
  25103. "type": "string"
  25104. },
  25105. "enddate": {
  25106. "description": "点价结束日期 [2:点价 3:暂定价]",
  25107. "type": "string"
  25108. },
  25109. "enumdicname": {
  25110. "description": "单位名称",
  25111. "type": "string"
  25112. },
  25113. "goodscode": {
  25114. "description": "点价合约代码",
  25115. "type": "string"
  25116. },
  25117. "goodsid": {
  25118. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  25119. "type": "integer"
  25120. },
  25121. "goodsname": {
  25122. "description": "点价商品名称",
  25123. "type": "string"
  25124. },
  25125. "margin": {
  25126. "description": "当前保证金",
  25127. "type": "number"
  25128. },
  25129. "meruserid": {
  25130. "description": "跟单员id",
  25131. "type": "integer"
  25132. },
  25133. "meruserlogincode": {
  25134. "description": "跟单员登录代码",
  25135. "type": "string"
  25136. },
  25137. "merusername": {
  25138. "description": "跟单员名称",
  25139. "type": "string"
  25140. },
  25141. "pointdesc": {
  25142. "description": "点价备注",
  25143. "type": "string"
  25144. },
  25145. "price": {
  25146. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  25147. "type": "number"
  25148. },
  25149. "pricemove": {
  25150. "description": "升贴水 [2:点价 3:暂定价]",
  25151. "type": "number"
  25152. },
  25153. "pricetype": {
  25154. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  25155. "type": "integer"
  25156. },
  25157. "producttype": {
  25158. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  25159. "type": "integer"
  25160. },
  25161. "qty": {
  25162. "description": "数量",
  25163. "type": "number"
  25164. },
  25165. "remark": {
  25166. "description": "备注",
  25167. "type": "string"
  25168. },
  25169. "saleuserid": {
  25170. "description": "业务员id",
  25171. "type": "integer"
  25172. },
  25173. "saleuserlogincode": {
  25174. "description": "业务员登录代码",
  25175. "type": "string"
  25176. },
  25177. "saleusername": {
  25178. "description": "业务员名称",
  25179. "type": "string"
  25180. },
  25181. "sellnickname": {
  25182. "description": "采购方昵称",
  25183. "type": "string"
  25184. },
  25185. "selluserid": {
  25186. "description": "销售方ID",
  25187. "type": "integer"
  25188. },
  25189. "sellusername": {
  25190. "description": "销售方名称",
  25191. "type": "string"
  25192. },
  25193. "spotcontractid": {
  25194. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25195. "type": "string"
  25196. },
  25197. "spotgoodsbrandid": {
  25198. "description": "现货品牌ID(DGFactoryItem表的ID)",
  25199. "type": "integer"
  25200. },
  25201. "spotgoodsdesc": {
  25202. "description": "商品型号",
  25203. "type": "string"
  25204. },
  25205. "startdate": {
  25206. "description": "点价开始日期 [2:点价 3:暂定价]",
  25207. "type": "string"
  25208. },
  25209. "subjectid": {
  25210. "description": "交易主体ID",
  25211. "type": "integer"
  25212. },
  25213. "subjectname": {
  25214. "description": "交易主体名称",
  25215. "type": "string"
  25216. },
  25217. "tradeuserid": {
  25218. "description": "交易员id",
  25219. "type": "integer"
  25220. },
  25221. "tradeuserlogincode": {
  25222. "description": "交易员登录代码",
  25223. "type": "string"
  25224. },
  25225. "tradeusername": {
  25226. "description": "交易员名称",
  25227. "type": "string"
  25228. },
  25229. "unitid": {
  25230. "description": "单位id(取品类上的单位id)",
  25231. "type": "integer"
  25232. },
  25233. "updatetime": {
  25234. "description": "更新时间",
  25235. "type": "string"
  25236. },
  25237. "userid": {
  25238. "description": "所属机构ID",
  25239. "type": "integer"
  25240. },
  25241. "vatrate": {
  25242. "description": "增值税率",
  25243. "type": "number"
  25244. },
  25245. "wrstandardcode": {
  25246. "description": "品类代码",
  25247. "type": "string"
  25248. },
  25249. "wrstandardid": {
  25250. "description": "品类ID",
  25251. "type": "integer"
  25252. },
  25253. "wrstandardname": {
  25254. "description": "品类名称",
  25255. "type": "string"
  25256. }
  25257. }
  25258. },
  25259. "models.Ermcp3ContractMiddleGoodsCfg": {
  25260. "type": "object",
  25261. "properties": {
  25262. "agreeunit": {
  25263. "description": "合约乘数",
  25264. "type": "number"
  25265. },
  25266. "convertratio": {
  25267. "description": "期货品种系数",
  25268. "type": "number"
  25269. },
  25270. "covertqty": {
  25271. "description": "折算手数 =【待点价量 / (合约乘数*期货品种系数) 】",
  25272. "type": "integer"
  25273. },
  25274. "middlegoodsid": {
  25275. "description": "套保品种ID",
  25276. "type": "integer"
  25277. },
  25278. "middlegoodspricedqty3": {
  25279. "description": "已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率",
  25280. "type": "string",
  25281. "example": "0"
  25282. },
  25283. "pendingpricedqty": {
  25284. "description": "待点价量",
  25285. "type": "string",
  25286. "example": "0"
  25287. },
  25288. "relatedmiddlegoodsqty": {
  25289. "description": "已关联量(套保品种-期货)",
  25290. "type": "string",
  25291. "example": "0"
  25292. },
  25293. "spotcontractid": {
  25294. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  25295. "type": "string"
  25296. }
  25297. }
  25298. },
  25299. "models.Ermcp3ExposureContractDetail": {
  25300. "type": "object",
  25301. "properties": {
  25302. "biztype": {
  25303. "description": "业务类型 1-套保 2-套利",
  25304. "type": "integer"
  25305. },
  25306. "brandname": {
  25307. "description": "品牌名称",
  25308. "type": "string"
  25309. },
  25310. "buyuserid": {
  25311. "description": "采购方id",
  25312. "type": "integer"
  25313. },
  25314. "buyusername": {
  25315. "description": "采购方名称",
  25316. "type": "string"
  25317. },
  25318. "contractno": {
  25319. "description": "合同编号",
  25320. "type": "string"
  25321. },
  25322. "contracttype": {
  25323. "description": "现货合同类型 - 1:采购 -1:销售",
  25324. "type": "integer"
  25325. },
  25326. "convertfactor": {
  25327. "description": "标仓系数",
  25328. "type": "number"
  25329. },
  25330. "convertratio": {
  25331. "description": "折算系数(套保品种)",
  25332. "type": "number"
  25333. },
  25334. "curqty": {
  25335. "description": "今定价量",
  25336. "type": "number"
  25337. },
  25338. "deliverygoodscode": {
  25339. "description": "现货品种代码",
  25340. "type": "string"
  25341. },
  25342. "deliverygoodsid": {
  25343. "description": "现货品种id",
  25344. "type": "integer"
  25345. },
  25346. "deliverygoodsname": {
  25347. "description": "现货品种名称",
  25348. "type": "string"
  25349. },
  25350. "diffhedgeqty": {
  25351. "description": "套保变动量",
  25352. "type": "number"
  25353. },
  25354. "diffneedhedgeqty": {
  25355. "description": "应套保变动量",
  25356. "type": "number"
  25357. },
  25358. "diffqty": {
  25359. "description": "套保品种今变动量",
  25360. "type": "number"
  25361. },
  25362. "enumdicname": {
  25363. "description": "单位名称",
  25364. "type": "string"
  25365. },
  25366. "mgunitname": {
  25367. "description": "套保品种单位名称",
  25368. "type": "string"
  25369. },
  25370. "middlegoodscode": {
  25371. "description": "套保品种代码",
  25372. "type": "string"
  25373. },
  25374. "middlegoodsid": {
  25375. "description": "套保品种id",
  25376. "type": "integer"
  25377. },
  25378. "middlegoodsname": {
  25379. "description": "套保品种名称",
  25380. "type": "string"
  25381. },
  25382. "needarbitrageratio": {
  25383. "description": "应套利比例",
  25384. "type": "number"
  25385. },
  25386. "needhedgeratio": {
  25387. "description": "应套保比例",
  25388. "type": "number"
  25389. },
  25390. "pricedqty": {
  25391. "description": "已定价量",
  25392. "type": "number"
  25393. },
  25394. "qty": {
  25395. "description": "合同量",
  25396. "type": "number"
  25397. },
  25398. "reckondate": {
  25399. "description": "交易日(reckondate)",
  25400. "type": "string"
  25401. },
  25402. "selluserid": {
  25403. "description": "销售方id",
  25404. "type": "integer"
  25405. },
  25406. "sellusername": {
  25407. "description": "销售方名称",
  25408. "type": "string"
  25409. },
  25410. "spotcontractid": {
  25411. "description": "合同id",
  25412. "type": "string"
  25413. },
  25414. "todaypricedqty": {
  25415. "description": "今定价量",
  25416. "type": "number"
  25417. },
  25418. "tradedate": {
  25419. "description": "交易日",
  25420. "type": "string"
  25421. },
  25422. "unitid": {
  25423. "description": "品类单位id",
  25424. "type": "integer"
  25425. },
  25426. "userid": {
  25427. "description": "机构id",
  25428. "type": "integer"
  25429. },
  25430. "username": {
  25431. "description": "交易用户",
  25432. "type": "string"
  25433. },
  25434. "wrstandardcode": {
  25435. "description": "现货商品代码",
  25436. "type": "string"
  25437. },
  25438. "wrstandardid": {
  25439. "description": "现货商品id",
  25440. "type": "integer"
  25441. },
  25442. "wrstandardname": {
  25443. "description": "现货商品名称",
  25444. "type": "string"
  25445. }
  25446. }
  25447. },
  25448. "models.Ermcp3ExposureDetail": {
  25449. "type": "object",
  25450. "properties": {
  25451. "areauserid": {
  25452. "description": "机构ID",
  25453. "type": "integer"
  25454. },
  25455. "changeQty": {
  25456. "description": "套保变动量",
  25457. "type": "number"
  25458. },
  25459. "contracttype": {
  25460. "description": "现货合同类型 - 1:采购 -1:销售",
  25461. "type": "integer"
  25462. },
  25463. "convertfactor": {
  25464. "description": "标仓系数",
  25465. "type": "number"
  25466. },
  25467. "convertratio": {
  25468. "description": "折算系数",
  25469. "type": "number"
  25470. },
  25471. "createtime": {
  25472. "description": "时间",
  25473. "type": "string"
  25474. },
  25475. "enumdicname": {
  25476. "description": "现货商品单位名称",
  25477. "type": "string"
  25478. },
  25479. "logtype": {
  25480. "description": "类型 - 1:套保计划 2:现货合同",
  25481. "type": "integer"
  25482. },
  25483. "mgunitid": {
  25484. "description": "套保品种单位id",
  25485. "type": "integer"
  25486. },
  25487. "mgunitidname": {
  25488. "description": "套保品种单位名称",
  25489. "type": "string"
  25490. },
  25491. "middlegoodsId": {
  25492. "description": "套保商品id",
  25493. "type": "integer"
  25494. },
  25495. "middlegoodscode": {
  25496. "description": "套保商品代码",
  25497. "type": "string"
  25498. },
  25499. "middlegoodsname": {
  25500. "description": "套保商品名称",
  25501. "type": "string"
  25502. },
  25503. "qty": {
  25504. "description": "数量",
  25505. "type": "number"
  25506. },
  25507. "relateNo": {
  25508. "description": "现货合同/套保计划编号",
  25509. "type": "string"
  25510. },
  25511. "unitid": {
  25512. "description": "现货商品单位id",
  25513. "type": "integer"
  25514. },
  25515. "wrstandardcode": {
  25516. "description": "现货商品代码",
  25517. "type": "string"
  25518. },
  25519. "wrstandardid": {
  25520. "description": "现货商品ID(SEQ_WRSTANDARD)",
  25521. "type": "integer"
  25522. },
  25523. "wrstandardname": {
  25524. "description": "现货商品名称",
  25525. "type": "string"
  25526. }
  25527. }
  25528. },
  25529. "models.Ermcp3ExposureFutuDetail": {
  25530. "type": "object",
  25531. "properties": {
  25532. "accountid": {
  25533. "description": "交易账户id",
  25534. "type": "integer"
  25535. },
  25536. "accountname": {
  25537. "description": "交易账户",
  25538. "type": "string"
  25539. },
  25540. "begindate": {
  25541. "description": "开始交易日",
  25542. "type": "string"
  25543. },
  25544. "buyorsell": {
  25545. "description": "方向 0-买 1-卖",
  25546. "type": "integer"
  25547. },
  25548. "diffmgqty": {
  25549. "description": "套保品种今变化量",
  25550. "type": "number"
  25551. },
  25552. "diffneedqty": {
  25553. "description": "应套保总量变化量",
  25554. "type": "number"
  25555. },
  25556. "difftradeqty": {
  25557. "description": "交易品种今变化量",
  25558. "type": "number"
  25559. },
  25560. "enddate": {
  25561. "description": "结束交易日",
  25562. "type": "string"
  25563. },
  25564. "enumdicname": {
  25565. "description": "单位名称",
  25566. "type": "string"
  25567. },
  25568. "goodscode": {
  25569. "description": "商品代码",
  25570. "type": "string"
  25571. },
  25572. "goodsid": {
  25573. "description": "商品id",
  25574. "type": "integer"
  25575. },
  25576. "goodsname": {
  25577. "description": "商品名称",
  25578. "type": "string"
  25579. },
  25580. "holdqty": {
  25581. "description": "期末持仓量",
  25582. "type": "number"
  25583. },
  25584. "middlegoodscode": {
  25585. "description": "套保商品代码",
  25586. "type": "string"
  25587. },
  25588. "middlegoodsid": {
  25589. "description": "套保商品id",
  25590. "type": "integer"
  25591. },
  25592. "middlegoodsname": {
  25593. "description": "套保商品名称",
  25594. "type": "string"
  25595. },
  25596. "oriholdqty": {
  25597. "description": "期初持仓量",
  25598. "type": "number"
  25599. },
  25600. "reckondate": {
  25601. "description": "交易日(RECKONDATE)",
  25602. "type": "string"
  25603. },
  25604. "todaycloseqty": {
  25605. "description": "今平仓量",
  25606. "type": "number"
  25607. },
  25608. "todayopenqty": {
  25609. "description": "今开仓量",
  25610. "type": "number"
  25611. },
  25612. "tradedate": {
  25613. "description": "交易日(RECKONDATE)",
  25614. "type": "string"
  25615. },
  25616. "username": {
  25617. "description": "用户名称(交易用户)",
  25618. "type": "string"
  25619. }
  25620. }
  25621. },
  25622. "models.Ermcp3ExposureHedgeplanDetail": {
  25623. "type": "object",
  25624. "properties": {
  25625. "biztype": {
  25626. "description": "业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利",
  25627. "type": "integer"
  25628. },
  25629. "changqty": {
  25630. "description": "应套保总量变化量",
  25631. "type": "number"
  25632. },
  25633. "contracttype": {
  25634. "description": "计划类型 - 1:采购 -1:销售",
  25635. "type": "integer"
  25636. },
  25637. "convertratio": {
  25638. "description": "折算系数(套保品种)",
  25639. "type": "number"
  25640. },
  25641. "deliverygoodscode": {
  25642. "description": "现货商品代码",
  25643. "type": "string"
  25644. },
  25645. "deliverygoodsid": {
  25646. "description": "现货商品id",
  25647. "type": "integer"
  25648. },
  25649. "deliverygoodsname": {
  25650. "description": "现货商吕名称",
  25651. "type": "string"
  25652. },
  25653. "dgunitid": {
  25654. "description": "现货商品单位id",
  25655. "type": "integer"
  25656. },
  25657. "dgunitidname": {
  25658. "description": "单位名称(现货商品)",
  25659. "type": "string"
  25660. },
  25661. "diffqty": {
  25662. "description": "套保品种今变动量",
  25663. "type": "number"
  25664. },
  25665. "enumdicname": {
  25666. "description": "单位名称(品类)",
  25667. "type": "string"
  25668. },
  25669. "hedgeplanid": {
  25670. "description": "套保计划id",
  25671. "type": "string"
  25672. },
  25673. "hedgeplanno": {
  25674. "description": "套保计划名称",
  25675. "type": "string"
  25676. },
  25677. "hedgeplanstatus": {
  25678. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  25679. "type": "integer"
  25680. },
  25681. "mgunitidname": {
  25682. "description": "单位名称(套保商品)",
  25683. "type": "string"
  25684. },
  25685. "middlegoodscode": {
  25686. "description": "套保品种代码",
  25687. "type": "string"
  25688. },
  25689. "middlegoodsid": {
  25690. "description": "套保品种id",
  25691. "type": "integer"
  25692. },
  25693. "middlegoodsname": {
  25694. "description": "套保品种名称",
  25695. "type": "string"
  25696. },
  25697. "needarbitrageratio": {
  25698. "description": "应套利比例",
  25699. "type": "number"
  25700. },
  25701. "needhedgeratio": {
  25702. "description": "应套保比例",
  25703. "type": "number"
  25704. },
  25705. "pricedqty": {
  25706. "description": "已定价量",
  25707. "type": "number"
  25708. },
  25709. "qty": {
  25710. "description": "合同量",
  25711. "type": "number"
  25712. },
  25713. "reckondate": {
  25714. "description": "交易日(reckondate)",
  25715. "type": "string"
  25716. },
  25717. "tradedate": {
  25718. "description": "交易日(登记日)",
  25719. "type": "string"
  25720. },
  25721. "unitid": {
  25722. "description": "品类单位id",
  25723. "type": "integer"
  25724. },
  25725. "userid": {
  25726. "description": "机构id",
  25727. "type": "integer"
  25728. },
  25729. "wrstandardcode": {
  25730. "description": "品类代码",
  25731. "type": "string"
  25732. },
  25733. "wrstandardid": {
  25734. "description": "品类id",
  25735. "type": "integer"
  25736. },
  25737. "wrstandardname": {
  25738. "description": "品类名称",
  25739. "type": "string"
  25740. }
  25741. }
  25742. },
  25743. "models.Ermcp3ExposureParamChLog": {
  25744. "type": "object",
  25745. "properties": {
  25746. "accountid": {
  25747. "description": "期货账户ID (作废, 默认为0)",
  25748. "type": "integer"
  25749. },
  25750. "aftervalue": {
  25751. "description": "应套保\\套利量变更后(调整后应套保总量)",
  25752. "type": "number"
  25753. },
  25754. "areauserid": {
  25755. "description": "所属机构\\交易用户ID",
  25756. "type": "integer"
  25757. },
  25758. "beforevalue": {
  25759. "description": "应套保\\套利量变更前(调整前应套保总量)",
  25760. "type": "number"
  25761. },
  25762. "begindate": {
  25763. "description": "开始交易日",
  25764. "type": "string"
  25765. },
  25766. "changelogtype": {
  25767. "description": "变更流水类型 - 1:套保比率变更 2:套利比率变更",
  25768. "type": "integer"
  25769. },
  25770. "curvalue": {
  25771. "description": "当前套保\\套利量(套保总量|套利总量)",
  25772. "type": "number"
  25773. },
  25774. "diffvalue": {
  25775. "description": "应套保总量变化量",
  25776. "type": "number"
  25777. },
  25778. "enddate": {
  25779. "description": "结束交易日",
  25780. "type": "string"
  25781. },
  25782. "logdatetime": {
  25783. "description": "流水日期",
  25784. "type": "string"
  25785. },
  25786. "logid": {
  25787. "description": "流水ID(609+Unix秒时间戳(10位)+xxxxxx)",
  25788. "type": "string"
  25789. },
  25790. "middlegoodscode": {
  25791. "description": "套保品种代码",
  25792. "type": "string"
  25793. },
  25794. "middlegoodsid": {
  25795. "description": "套保品种",
  25796. "type": "integer"
  25797. },
  25798. "middlegoodsname": {
  25799. "description": "套保品种名称",
  25800. "type": "string"
  25801. },
  25802. "paramaftervalue": {
  25803. "description": "参数变更后(调整后参数值)",
  25804. "type": "number"
  25805. },
  25806. "parambeforevalue": {
  25807. "description": "参数变更前(调整前参数值)",
  25808. "type": "number"
  25809. },
  25810. "reckondate": {
  25811. "description": "交易日(reckondate)",
  25812. "type": "string"
  25813. },
  25814. "tradedate": {
  25815. "description": "交易日(yyyyMMdd)",
  25816. "type": "string"
  25817. }
  25818. }
  25819. },
  25820. "models.Ermcp3ExpourseReport": {
  25821. "type": "object",
  25822. "properties": {
  25823. "accountid": {
  25824. "description": "期货账户ID (作废, 默认为0)",
  25825. "type": "integer"
  25826. },
  25827. "accountname": {
  25828. "description": "机构名称",
  25829. "type": "string"
  25830. },
  25831. "arbitrageqty": {
  25832. "description": "套利量",
  25833. "type": "number"
  25834. },
  25835. "areauserid": {
  25836. "description": "所属机构\\交易用户ID",
  25837. "type": "integer"
  25838. },
  25839. "begindate": {
  25840. "description": "开始交易日",
  25841. "type": "string"
  25842. },
  25843. "buyfutureqty": {
  25844. "description": "买入期货数量",
  25845. "type": "number"
  25846. },
  25847. "buyplanqty": {
  25848. "description": "采购计划数量",
  25849. "type": "number"
  25850. },
  25851. "buypricedqty": {
  25852. "description": "采购合同已定价数量",
  25853. "type": "number"
  25854. },
  25855. "cycletime": {
  25856. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  25857. "type": "string"
  25858. },
  25859. "cycletype": {
  25860. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  25861. "type": "integer"
  25862. },
  25863. "diffexposure": {
  25864. "description": "变动量(套保敞口)",
  25865. "type": "number"
  25866. },
  25867. "difffutuqty": {
  25868. "description": "变动量(期货)",
  25869. "type": "number"
  25870. },
  25871. "diffhedgeqty": {
  25872. "description": "变动量(现货应套保总量)",
  25873. "type": "number"
  25874. },
  25875. "diffmgqtya": {
  25876. "description": "套保变动量",
  25877. "type": "number"
  25878. },
  25879. "diffmgqtyb": {
  25880. "description": "套利变动量",
  25881. "type": "number"
  25882. },
  25883. "diffneedqty": {
  25884. "description": "应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量",
  25885. "type": "number"
  25886. },
  25887. "diffqty": {
  25888. "description": "变动量(总敞口)",
  25889. "type": "number"
  25890. },
  25891. "diffspotqty": {
  25892. "description": "变动量(现货) | 除税变动量",
  25893. "type": "number"
  25894. },
  25895. "enddate": {
  25896. "description": "结束交易日",
  25897. "type": "string"
  25898. },
  25899. "enumdicname": {
  25900. "description": "单位名称",
  25901. "type": "string"
  25902. },
  25903. "hedgeqty": {
  25904. "description": "套保量",
  25905. "type": "number"
  25906. },
  25907. "mgneedhedgeratio": {
  25908. "description": "套保比例(套保品的)",
  25909. "type": "number"
  25910. },
  25911. "middlegoodsid": {
  25912. "description": "套保品种ID",
  25913. "type": "integer"
  25914. },
  25915. "middlegoodsname": {
  25916. "description": "套保商品名称",
  25917. "type": "string"
  25918. },
  25919. "middlgoodscode": {
  25920. "description": "套保商品代码",
  25921. "type": "string"
  25922. },
  25923. "needarbitrageqty": {
  25924. "description": "应套利量",
  25925. "type": "number"
  25926. },
  25927. "needarbitrageratio": {
  25928. "description": "套利比例(套保品的)",
  25929. "type": "number"
  25930. },
  25931. "needhedgeexposoure": {
  25932. "description": "应套保敞口(套保敞口)",
  25933. "type": "number"
  25934. },
  25935. "needhedgeqty": {
  25936. "description": "应套保量",
  25937. "type": "number"
  25938. },
  25939. "needhedgeratio": {
  25940. "description": "应套保敞口比例",
  25941. "type": "number"
  25942. },
  25943. "needqty": {
  25944. "description": "应套总量 = 应套保量 + 应套利量",
  25945. "type": "number"
  25946. },
  25947. "oriarbitrageqty": {
  25948. "description": "期初套利量",
  25949. "type": "number"
  25950. },
  25951. "oribuyfutureqty": {
  25952. "description": "期初买入期货数量",
  25953. "type": "number"
  25954. },
  25955. "oribuyplanqty": {
  25956. "description": "期初采购计划数量",
  25957. "type": "number"
  25958. },
  25959. "oribuypricedqty": {
  25960. "description": "期初采购合同已定价数量",
  25961. "type": "number"
  25962. },
  25963. "orihedgeqty": {
  25964. "description": "期初套保量",
  25965. "type": "number"
  25966. },
  25967. "orineedarbitrageqty": {
  25968. "description": "期初应套利量",
  25969. "type": "number"
  25970. },
  25971. "orineedhedgeexposoure": {
  25972. "description": "期初应套保敞口",
  25973. "type": "number"
  25974. },
  25975. "orineedhedgeqty": {
  25976. "description": "期初应套保量",
  25977. "type": "number"
  25978. },
  25979. "orisellfutureqty": {
  25980. "description": "期初卖出期货数量",
  25981. "type": "number"
  25982. },
  25983. "orisellplanqty": {
  25984. "description": "期初销售计划数量",
  25985. "type": "number"
  25986. },
  25987. "orisellpricedqty": {
  25988. "description": "期初销售合同已定价数量",
  25989. "type": "number"
  25990. },
  25991. "oritotalexposure": {
  25992. "description": "期初实时总敞口",
  25993. "type": "number"
  25994. },
  25995. "oritotalfutureqty": {
  25996. "description": "期初期货头寸总量",
  25997. "type": "number"
  25998. },
  25999. "oritotalneedhedgeqty": {
  26000. "description": "期初应套保总量",
  26001. "type": "number"
  26002. },
  26003. "oritotalspotqty": {
  26004. "description": "期初现货头寸总量",
  26005. "type": "number"
  26006. },
  26007. "reckondate": {
  26008. "description": "日照时期(yyyyMMdd)",
  26009. "type": "string"
  26010. },
  26011. "sellfutureqty": {
  26012. "description": "卖出期货数量",
  26013. "type": "number"
  26014. },
  26015. "sellplanqty": {
  26016. "description": "销售计划数量",
  26017. "type": "number"
  26018. },
  26019. "sellpricedqty": {
  26020. "description": "销售合同已定价数量",
  26021. "type": "number"
  26022. },
  26023. "totalexposure": {
  26024. "description": "实时总敞口(总敞口)",
  26025. "type": "number"
  26026. },
  26027. "totalfutureqty": {
  26028. "description": "期货头寸总量(期货总量)",
  26029. "type": "number"
  26030. },
  26031. "totalhedgeratio": {
  26032. "description": "敞口比例",
  26033. "type": "number"
  26034. },
  26035. "totalneedhedgeqty": {
  26036. "description": "应套保总量(现货应套保总量)",
  26037. "type": "number"
  26038. },
  26039. "totalspotqty": {
  26040. "description": "现货头寸总量 | 除税总量",
  26041. "type": "number"
  26042. },
  26043. "unitid": {
  26044. "description": "单位id",
  26045. "type": "integer"
  26046. },
  26047. "updatetime": {
  26048. "description": "更新时间",
  26049. "type": "string"
  26050. }
  26051. }
  26052. },
  26053. "models.Ermcp3FinanceReport": {
  26054. "type": "object",
  26055. "properties": {
  26056. "accountname": {
  26057. "description": "机构名称",
  26058. "type": "string"
  26059. },
  26060. "areauserid": {
  26061. "description": "所属机构\\交易用户ID",
  26062. "type": "integer"
  26063. },
  26064. "begindate": {
  26065. "description": "开始交易日",
  26066. "type": "string"
  26067. },
  26068. "biztype": {
  26069. "description": "业务类型 - 1:套保 2:套利",
  26070. "type": "integer"
  26071. },
  26072. "brandname": {
  26073. "description": "品牌名称",
  26074. "type": "string"
  26075. },
  26076. "buypreinvoicedamount": {
  26077. "description": "采购预收票额(预收票额)",
  26078. "type": "number"
  26079. },
  26080. "buyprepaidamount": {
  26081. "description": "采购预付款额(预付货款额)",
  26082. "type": "number"
  26083. },
  26084. "buytodayinvoiceamount": {
  26085. "description": "采购今收票额(今收票额)",
  26086. "type": "number"
  26087. },
  26088. "buytodayrefundamount": {
  26089. "description": "采购今收退款额(今收退款额)",
  26090. "type": "number"
  26091. },
  26092. "buytodaysettleamount": {
  26093. "description": "采购今付款额(今付货款额)",
  26094. "type": "number"
  26095. },
  26096. "buyuninvoicedamount": {
  26097. "description": "采购应收票额(应收票额)",
  26098. "type": "number"
  26099. },
  26100. "buyunpaidamount": {
  26101. "description": "采购应付款额(应付货款额)",
  26102. "type": "number"
  26103. },
  26104. "currencyid": {
  26105. "description": "结算币种ID",
  26106. "type": "integer"
  26107. },
  26108. "currencyname": {
  26109. "description": "币种名称",
  26110. "type": "string"
  26111. },
  26112. "cycletime": {
  26113. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  26114. "type": "string"
  26115. },
  26116. "cycletype": {
  26117. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  26118. "type": "integer"
  26119. },
  26120. "deliverygoodscode": {
  26121. "description": "现货品种代码",
  26122. "type": "string"
  26123. },
  26124. "deliverygoodsid": {
  26125. "description": "现货品种ID",
  26126. "type": "integer"
  26127. },
  26128. "deliverygoodsname": {
  26129. "description": "现货品种名称",
  26130. "type": "string"
  26131. },
  26132. "enddate": {
  26133. "description": "结束交易日",
  26134. "type": "string"
  26135. },
  26136. "reckondate": {
  26137. "description": "日照时期(yyyyMMdd)",
  26138. "type": "string"
  26139. },
  26140. "sellpreinvoicedamount": {
  26141. "description": "销售预开票额(预开票额)",
  26142. "type": "number"
  26143. },
  26144. "sellprepaidamount": {
  26145. "description": "销售预收款额(预收货款额)",
  26146. "type": "number"
  26147. },
  26148. "selltodayinvoiceamount": {
  26149. "description": "销售今开票额(今开票额)",
  26150. "type": "number"
  26151. },
  26152. "selltodayrefundamount": {
  26153. "description": "销售今付退款额(今付退款额)",
  26154. "type": "number"
  26155. },
  26156. "selltodaysettleamount": {
  26157. "description": "销售今收款额(今收货款额)",
  26158. "type": "number"
  26159. },
  26160. "selluninvoicedamount": {
  26161. "description": "销售应开票额(应开票额)",
  26162. "type": "number"
  26163. },
  26164. "sellunpaidamount": {
  26165. "description": "销售应收款额(应收货款额)",
  26166. "type": "number"
  26167. },
  26168. "spotgoodsbrandid": {
  26169. "description": "现货品牌ID",
  26170. "type": "integer"
  26171. },
  26172. "todaypaysum": {
  26173. "description": "今付款合计",
  26174. "type": "number"
  26175. },
  26176. "todayreceivesum": {
  26177. "description": "今收款合计",
  26178. "type": "number"
  26179. },
  26180. "updatetime": {
  26181. "description": "更新时间",
  26182. "type": "string"
  26183. },
  26184. "wrfactortypeid": {
  26185. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  26186. "type": "integer"
  26187. },
  26188. "wrstandardcode": {
  26189. "description": "品类代码",
  26190. "type": "string"
  26191. },
  26192. "wrstandardid": {
  26193. "description": "现货商品ID",
  26194. "type": "integer"
  26195. },
  26196. "wrstandardname": {
  26197. "description": "品类名称",
  26198. "type": "string"
  26199. }
  26200. }
  26201. },
  26202. "models.Ermcp3GoodsGroup": {
  26203. "type": "object",
  26204. "required": [
  26205. "areauserid"
  26206. ],
  26207. "properties": {
  26208. "agreeunit": {
  26209. "description": "合约单位",
  26210. "type": "number"
  26211. },
  26212. "areauserid": {
  26213. "description": "所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)",
  26214. "type": "integer"
  26215. },
  26216. "canshort": {
  26217. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  26218. "type": "integer"
  26219. },
  26220. "closepricemode": {
  26221. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  26222. "type": "integer"
  26223. },
  26224. "createtime": {
  26225. "description": "创建时间",
  26226. "type": "string"
  26227. },
  26228. "creatorid": {
  26229. "description": "创建人",
  26230. "type": "integer"
  26231. },
  26232. "currencyid": {
  26233. "description": "报价货币ID",
  26234. "type": "integer"
  26235. },
  26236. "decimalplace": {
  26237. "description": "报价小数位",
  26238. "type": "integer"
  26239. },
  26240. "enumdicname": {
  26241. "description": "单位名称",
  26242. "type": "string"
  26243. },
  26244. "exchangefullname": {
  26245. "description": "交易所全称",
  26246. "type": "string"
  26247. },
  26248. "excludecfg": {
  26249. "description": "排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除",
  26250. "type": "integer"
  26251. },
  26252. "exexchangecode": {
  26253. "description": "交易所代码",
  26254. "type": "string"
  26255. },
  26256. "exexchangeid": {
  26257. "description": "外部交易所ID[通道交易]",
  26258. "type": "integer"
  26259. },
  26260. "exexchangename": {
  26261. "description": "交易所名称",
  26262. "type": "string"
  26263. },
  26264. "goodsgroupid": {
  26265. "description": "商品组ID(自增ID)",
  26266. "type": "integer"
  26267. },
  26268. "goodsgroupname": {
  26269. "description": "商品组名称",
  26270. "type": "string"
  26271. },
  26272. "goodsgroupstatus": {
  26273. "description": "商品组状态 - 1:正常 2:注销",
  26274. "type": "integer"
  26275. },
  26276. "goodunitid": {
  26277. "description": "报价单位ID",
  26278. "type": "integer"
  26279. },
  26280. "groupcategroyid": {
  26281. "description": "品种分类ID",
  26282. "type": "integer"
  26283. },
  26284. "innerdealmode": {
  26285. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  26286. "type": "integer"
  26287. },
  26288. "marketid": {
  26289. "description": "所属市场ID",
  26290. "type": "integer"
  26291. },
  26292. "modifierid": {
  26293. "description": "修改人",
  26294. "type": "integer"
  26295. },
  26296. "modifytime": {
  26297. "description": "修改时间",
  26298. "type": "string"
  26299. },
  26300. "outerdealmode": {
  26301. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  26302. "type": "integer"
  26303. },
  26304. "outergroupcode": {
  26305. "description": "外部商品组代码[通道交易]",
  26306. "type": "string"
  26307. },
  26308. "quoteminunit": {
  26309. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  26310. "type": "integer"
  26311. },
  26312. "quotesourcegroupid": {
  26313. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  26314. "type": "integer"
  26315. },
  26316. "syncgoodsqty": {
  26317. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  26318. "type": "integer"
  26319. }
  26320. }
  26321. },
  26322. "models.Ermcp3HPMiddleGoods": {
  26323. "type": "object",
  26324. "properties": {
  26325. "biztype": {
  26326. "description": "业务类型 1:套保 2:套利",
  26327. "type": "integer"
  26328. },
  26329. "contracttype": {
  26330. "description": "合同类型 1:采购 -1:销售",
  26331. "type": "integer"
  26332. },
  26333. "convertratio": {
  26334. "description": "折算系数",
  26335. "type": "number"
  26336. },
  26337. "customername": {
  26338. "description": "对手手名称",
  26339. "type": "string"
  26340. },
  26341. "customeruserid": {
  26342. "description": "对手id",
  26343. "type": "integer"
  26344. },
  26345. "enumdicname": {
  26346. "description": "现货单位名称",
  26347. "type": "string"
  26348. },
  26349. "hedgeplanid": {
  26350. "description": "计划id",
  26351. "type": "string"
  26352. },
  26353. "hedgeplanno": {
  26354. "description": "计划编号",
  26355. "type": "string"
  26356. },
  26357. "middlegoodsid": {
  26358. "description": "套保品种ID",
  26359. "type": "integer"
  26360. },
  26361. "middlegoodsplanqty3": {
  26362. "description": "应套保计划量",
  26363. "type": "number"
  26364. },
  26365. "needhedgeratio": {
  26366. "description": "套保比例",
  26367. "type": "number"
  26368. },
  26369. "pricedqty": {
  26370. "description": "已定价量",
  26371. "type": "number"
  26372. },
  26373. "relatedmiddlegoodsqty": {
  26374. "description": "已关联量(套保品种)(期货)",
  26375. "type": "number"
  26376. },
  26377. "unitid": {
  26378. "description": "现货单位id",
  26379. "type": "integer"
  26380. },
  26381. "userid": {
  26382. "description": "用户id",
  26383. "type": "integer"
  26384. },
  26385. "vatrate": {
  26386. "description": "增值税率",
  26387. "type": "number"
  26388. },
  26389. "wrstandardcode": {
  26390. "description": "现货商品代码",
  26391. "type": "string"
  26392. },
  26393. "wrstandardid": {
  26394. "description": "现货商品id",
  26395. "type": "integer"
  26396. },
  26397. "wrstandardname": {
  26398. "description": "现货商品名称",
  26399. "type": "string"
  26400. }
  26401. }
  26402. },
  26403. "models.Ermcp3HedgePlan": {
  26404. "type": "object",
  26405. "properties": {
  26406. "accountid": {
  26407. "description": "资金账号",
  26408. "type": "integer"
  26409. },
  26410. "areauserid": {
  26411. "description": "用户ID",
  26412. "type": "integer"
  26413. },
  26414. "auditid": {
  26415. "description": "审核id",
  26416. "type": "integer"
  26417. },
  26418. "auditname": {
  26419. "description": "审核人名称",
  26420. "type": "string"
  26421. },
  26422. "auditremark": {
  26423. "description": "审核备注",
  26424. "type": "string"
  26425. },
  26426. "auditsrc": {
  26427. "description": "审核来源 1-管理端 2-终端",
  26428. "type": "integer"
  26429. },
  26430. "audittime": {
  26431. "description": "审核时间",
  26432. "type": "string"
  26433. },
  26434. "contracttype": {
  26435. "description": "计划类型 - 1:采购 -1:销售",
  26436. "type": "integer"
  26437. },
  26438. "convertfactor": {
  26439. "description": "标仓系数",
  26440. "type": "number"
  26441. },
  26442. "createtime": {
  26443. "description": "创建时间",
  26444. "type": "string"
  26445. },
  26446. "currencyid": {
  26447. "description": "币种id",
  26448. "type": "integer"
  26449. },
  26450. "currencyname": {
  26451. "description": "币种名称",
  26452. "type": "string"
  26453. },
  26454. "deliverygoodscode": {
  26455. "description": "现货品种代码",
  26456. "type": "string"
  26457. },
  26458. "deliverygoodsid": {
  26459. "description": "现货品种ID",
  26460. "type": "integer"
  26461. },
  26462. "deliverygoodsname": {
  26463. "description": "现货品种名称",
  26464. "type": "string"
  26465. },
  26466. "enumdicname": {
  26467. "description": "单位名称(现货商品)",
  26468. "type": "string"
  26469. },
  26470. "hedgeplanid": {
  26471. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  26472. "type": "string"
  26473. },
  26474. "hedgeplanno": {
  26475. "description": "套保计划编号(名称)",
  26476. "type": "string"
  26477. },
  26478. "hedgeplanstatus": {
  26479. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  26480. "type": "integer"
  26481. },
  26482. "planqty": {
  26483. "description": "计划数量",
  26484. "type": "number"
  26485. },
  26486. "plantime": {
  26487. "description": "计划时间",
  26488. "type": "string"
  26489. },
  26490. "producttype": {
  26491. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  26492. "type": "integer"
  26493. },
  26494. "remark": {
  26495. "description": "备注",
  26496. "type": "string"
  26497. },
  26498. "spotgoodsdesc": {
  26499. "description": "商品型号",
  26500. "type": "string"
  26501. },
  26502. "taaccountname": {
  26503. "description": "资金账号名称",
  26504. "type": "string"
  26505. },
  26506. "tradeuserid": {
  26507. "description": "交易用户id",
  26508. "type": "integer"
  26509. },
  26510. "tradeusername": {
  26511. "description": "交易用户名称",
  26512. "type": "string"
  26513. },
  26514. "unitid": {
  26515. "description": "单位id(现货商品)",
  26516. "type": "integer"
  26517. },
  26518. "updatetime": {
  26519. "description": "更新时间",
  26520. "type": "string"
  26521. },
  26522. "vatrate": {
  26523. "description": "增值税率",
  26524. "type": "number"
  26525. },
  26526. "wrstandardcode": {
  26527. "description": "品类代码",
  26528. "type": "string"
  26529. },
  26530. "wrstandardid": {
  26531. "description": "品类id",
  26532. "type": "integer"
  26533. },
  26534. "wrstandardname": {
  26535. "description": "品类名称",
  26536. "type": "string"
  26537. },
  26538. "wrunitid": {
  26539. "description": "品类单位id",
  26540. "type": "integer"
  26541. },
  26542. "wrunitidame": {
  26543. "description": "品类单位名称",
  26544. "type": "string"
  26545. }
  26546. }
  26547. },
  26548. "models.Ermcp3InnerTradeLink": {
  26549. "type": "object",
  26550. "properties": {
  26551. "accountid": {
  26552. "description": "期货账号代码 | 资金账号ID",
  26553. "type": "integer"
  26554. },
  26555. "buyorsell": {
  26556. "description": "方向 - 0:买 1:卖",
  26557. "type": "integer"
  26558. },
  26559. "channelbuildtype": {
  26560. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26561. "type": "integer"
  26562. },
  26563. "currencyid": {
  26564. "description": "币种id",
  26565. "type": "integer"
  26566. },
  26567. "currencyname": {
  26568. "description": "结算币种 名称",
  26569. "type": "string"
  26570. },
  26571. "goodscode": {
  26572. "description": "商品代码",
  26573. "type": "string"
  26574. },
  26575. "goodsid": {
  26576. "description": "商品ID",
  26577. "type": "integer"
  26578. },
  26579. "goodsname": {
  26580. "description": "商品名称",
  26581. "type": "string"
  26582. },
  26583. "outtradeid": {
  26584. "description": "外部成交单号",
  26585. "type": "string"
  26586. },
  26587. "taname": {
  26588. "description": "期货账户名称",
  26589. "type": "string"
  26590. },
  26591. "tradeid": {
  26592. "description": "期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26593. "type": "string"
  26594. },
  26595. "tradeprice": {
  26596. "description": "成交价格",
  26597. "type": "number"
  26598. },
  26599. "tradeqty": {
  26600. "description": "期货成交数量",
  26601. "type": "integer"
  26602. },
  26603. "tradetime": {
  26604. "description": "关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间",
  26605. "type": "string"
  26606. },
  26607. "username": {
  26608. "description": "用户名称",
  26609. "type": "string"
  26610. }
  26611. }
  26612. },
  26613. "models.Ermcp3OutTradeLink": {
  26614. "type": "object",
  26615. "properties": {
  26616. "buyorsell": {
  26617. "description": "买卖方向 - 0:买 1:卖",
  26618. "type": "integer"
  26619. },
  26620. "channelbuildtype": {
  26621. "description": "开平标志- 0:无 1:建仓 2:平仓",
  26622. "type": "integer"
  26623. },
  26624. "currencyname": {
  26625. "description": "币种名称",
  26626. "type": "string"
  26627. },
  26628. "exexchangecode": {
  26629. "description": "交易所代码",
  26630. "type": "string"
  26631. },
  26632. "exexchangename": {
  26633. "description": "交易所名称",
  26634. "type": "string"
  26635. },
  26636. "goodscode": {
  26637. "description": "合约代码",
  26638. "type": "string"
  26639. },
  26640. "goodsid": {
  26641. "description": "合约id",
  26642. "type": "integer"
  26643. },
  26644. "goodsname": {
  26645. "description": "合约名称",
  26646. "type": "string"
  26647. },
  26648. "hasinnerorder": {
  26649. "description": "是否有内部单关联 - 0:无 1:有",
  26650. "type": "integer"
  26651. },
  26652. "hedgeaccountcode": {
  26653. "description": "外部账号 | 对冲账号",
  26654. "type": "string"
  26655. },
  26656. "outtradeid": {
  26657. "description": "外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26658. "type": "string"
  26659. },
  26660. "tradeprice": {
  26661. "description": "成交价格",
  26662. "type": "number"
  26663. },
  26664. "tradeqty": {
  26665. "description": "成交数量",
  26666. "type": "integer"
  26667. },
  26668. "tradetime": {
  26669. "description": "成交时间",
  26670. "type": "string"
  26671. }
  26672. }
  26673. },
  26674. "models.Ermcp3PaAreaAuditCfg": {
  26675. "type": "object",
  26676. "properties": {
  26677. "areauserid": {
  26678. "description": "用户ID",
  26679. "type": "integer"
  26680. },
  26681. "buyinauditflag": {
  26682. "description": "采购入库是否需要审核 - 0:不需审核 1:需要审核",
  26683. "type": "integer"
  26684. },
  26685. "costratioauditflag": {
  26686. "description": "现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核",
  26687. "type": "integer"
  26688. },
  26689. "customerauditflag": {
  26690. "description": "客户资料是否需要审核 - 0:不需审核 1:需要审核",
  26691. "type": "integer"
  26692. },
  26693. "deliveryauditflag": {
  26694. "description": "交收是否需要审核 - 0:不需审核 1:需要审核",
  26695. "type": "integer"
  26696. },
  26697. "invoiceauditflag": {
  26698. "description": "发票是否需要审核 - 0:不需审核 1:需要审核",
  26699. "type": "integer"
  26700. },
  26701. "mgneedhedgeratioauditflag": {
  26702. "description": "套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核",
  26703. "type": "integer"
  26704. },
  26705. "moneyauditflag": {
  26706. "description": "款项是否需要审核 - 0:不需审核 1:需要审核",
  26707. "type": "integer"
  26708. },
  26709. "operatorid": {
  26710. "description": "操作人",
  26711. "type": "integer"
  26712. },
  26713. "operatorsrc": {
  26714. "description": "操作来源 - 1:管理端 2:终端",
  26715. "type": "integer"
  26716. },
  26717. "pointpriceauditflag": {
  26718. "description": "点价是否需要审核 - 0:不需审核 1:需要审核",
  26719. "type": "integer"
  26720. },
  26721. "produceinauditflag": {
  26722. "description": "生产入库是否需要审核 - 0:不需审核 1:需要审核",
  26723. "type": "integer"
  26724. },
  26725. "produceoutauditflag": {
  26726. "description": "生产出库是否需要审核 - 0:不需审核 1:需要审核",
  26727. "type": "integer"
  26728. },
  26729. "selloutauditflag": {
  26730. "description": "销售出库是否需要审核 - 0:不需审核 1:需要审核",
  26731. "type": "integer"
  26732. },
  26733. "sgconvertratioauditflag": {
  26734. "description": "现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核",
  26735. "type": "integer"
  26736. },
  26737. "sgvtaratioauditflag": {
  26738. "description": "现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核",
  26739. "type": "integer"
  26740. },
  26741. "spotcontractauditflag": {
  26742. "description": "现货合同是否需要审核 - 0:不需审核 1:需要审核",
  26743. "type": "integer"
  26744. },
  26745. "updatetime": {
  26746. "description": "更新时间",
  26747. "type": "string"
  26748. }
  26749. }
  26750. },
  26751. "models.Ermcp3PaAreaSubject": {
  26752. "type": "object",
  26753. "properties": {
  26754. "areauserid": {
  26755. "description": "所属机构",
  26756. "type": "integer"
  26757. },
  26758. "canmodify": {
  26759. "description": "是否可修改 - 0:否 1:是",
  26760. "type": "integer"
  26761. },
  26762. "createtime": {
  26763. "description": "创建时间",
  26764. "type": "string"
  26765. },
  26766. "creatorid": {
  26767. "description": "创建人ID",
  26768. "type": "string"
  26769. },
  26770. "creatorsrc": {
  26771. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  26772. "type": "integer"
  26773. },
  26774. "modifierid": {
  26775. "description": "修改人",
  26776. "type": "string"
  26777. },
  26778. "modifiersrc": {
  26779. "description": "修改人来源 - 1:管理端 2:终端",
  26780. "type": "integer"
  26781. },
  26782. "modifytime": {
  26783. "description": "修改时间",
  26784. "type": "string"
  26785. },
  26786. "parentsubjectid": {
  26787. "description": "上级主体ID",
  26788. "type": "string"
  26789. },
  26790. "remark": {
  26791. "description": "备注",
  26792. "type": "string"
  26793. },
  26794. "subjectid": {
  26795. "description": "主体ID(SEQ_ERMCP_PA_AREASUBJECT)",
  26796. "type": "integer"
  26797. },
  26798. "subjectname": {
  26799. "description": "主体名称",
  26800. "type": "string"
  26801. },
  26802. "subjectstatus": {
  26803. "description": "主体状态 - 1:正常 2: 停用",
  26804. "type": "integer"
  26805. },
  26806. "subjecttype": {
  26807. "description": "主体类型 - 1:交易主体 2:业务部门",
  26808. "type": "integer"
  26809. }
  26810. }
  26811. },
  26812. "models.Ermcp3PaTradeLink": {
  26813. "type": "object",
  26814. "properties": {
  26815. "accountid": {
  26816. "description": "期货账户代码 | 账号ID",
  26817. "type": "integer"
  26818. },
  26819. "agreeunit": {
  26820. "description": "合约乘数",
  26821. "type": "number"
  26822. },
  26823. "buyorsell": {
  26824. "description": "方向 - 0:买 1:卖",
  26825. "type": "integer"
  26826. },
  26827. "channelbuildtype": {
  26828. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  26829. "type": "integer"
  26830. },
  26831. "charge": {
  26832. "description": "手续费",
  26833. "type": "number"
  26834. },
  26835. "closepl": {
  26836. "description": "平仓盈亏",
  26837. "type": "number"
  26838. },
  26839. "closetype": {
  26840. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  26841. "type": "integer"
  26842. },
  26843. "convertratio": {
  26844. "description": "折算系数",
  26845. "type": "number"
  26846. },
  26847. "enumdicname": {
  26848. "description": "单位名称",
  26849. "type": "string"
  26850. },
  26851. "executeprice": {
  26852. "description": "执行价 [期权]",
  26853. "type": "integer"
  26854. },
  26855. "goodscode": {
  26856. "description": "合约代码",
  26857. "type": "string"
  26858. },
  26859. "goodsgroupid": {
  26860. "description": "对冲品种ID[期货合约商品组ID]",
  26861. "type": "integer"
  26862. },
  26863. "goodsid": {
  26864. "description": "商品ID",
  26865. "type": "integer"
  26866. },
  26867. "goodsname": {
  26868. "description": "合约名称",
  26869. "type": "string"
  26870. },
  26871. "goodunitid": {
  26872. "description": "单位id",
  26873. "type": "integer"
  26874. },
  26875. "hedgeflag": {
  26876. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  26877. "type": "integer"
  26878. },
  26879. "marketid": {
  26880. "description": "市场ID",
  26881. "type": "integer"
  26882. },
  26883. "middlegoodsid": {
  26884. "description": "套保品种ID",
  26885. "type": "integer"
  26886. },
  26887. "middlegoodsqty": {
  26888. "description": "套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  26889. "type": "number"
  26890. },
  26891. "optioncode": {
  26892. "description": "期权代码 [期权]",
  26893. "type": "string"
  26894. },
  26895. "ordertype": {
  26896. "description": "单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单",
  26897. "type": "integer"
  26898. },
  26899. "ordertypename": {
  26900. "description": "订单类型",
  26901. "type": "string"
  26902. },
  26903. "parentaccountid": {
  26904. "description": "所属母账户",
  26905. "type": "integer"
  26906. },
  26907. "premium": {
  26908. "description": "权利金 [期权]",
  26909. "type": "number"
  26910. },
  26911. "relatedlot": {
  26912. "description": "已关联数量(已关联数量手) | db:关联手数",
  26913. "type": "number"
  26914. },
  26915. "relatedouttradeid": {
  26916. "description": "关联外部成交单ID",
  26917. "type": "string"
  26918. },
  26919. "relatedqty": {
  26920. "description": "关联数量",
  26921. "type": "number"
  26922. },
  26923. "spotcontractid": {
  26924. "description": "现货合同ID [4:套期保值\\10\\11]",
  26925. "type": "string"
  26926. },
  26927. "taname": {
  26928. "description": "期货账户名称",
  26929. "type": "string"
  26930. },
  26931. "tradeamount": {
  26932. "description": "成交金额(账户)",
  26933. "type": "number"
  26934. },
  26935. "tradedate": {
  26936. "description": "交易日(yyyyMMdd)",
  26937. "type": "string"
  26938. },
  26939. "tradeid": {
  26940. "description": "期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  26941. "type": "string"
  26942. },
  26943. "tradelot": {
  26944. "description": "成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数",
  26945. "type": "integer"
  26946. },
  26947. "tradeprice": {
  26948. "description": "成交价格",
  26949. "type": "number"
  26950. },
  26951. "tradetime": {
  26952. "description": "时间 | db:成交时间",
  26953. "type": "string"
  26954. },
  26955. "tradetype": {
  26956. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  26957. "type": "integer"
  26958. },
  26959. "userid": {
  26960. "description": "所属机构 - 所属母账户的UserID",
  26961. "type": "string"
  26962. },
  26963. "username": {
  26964. "description": "用户名称",
  26965. "type": "string"
  26966. }
  26967. }
  26968. },
  26969. "models.Ermcp3ParamChangeApp": {
  26970. "type": "object",
  26971. "properties": {
  26972. "aftervalue": {
  26973. "description": "变更后",
  26974. "type": "number"
  26975. },
  26976. "applicationid": {
  26977. "description": "申请ID(619+Unix秒时间戳(10位)+xxxxxx)",
  26978. "type": "string"
  26979. },
  26980. "applyid": {
  26981. "description": "申请人",
  26982. "type": "string"
  26983. },
  26984. "applyname": {
  26985. "description": "申请人名称(代码)",
  26986. "type": "string"
  26987. },
  26988. "applyremark": {
  26989. "description": "申请备注",
  26990. "type": "string"
  26991. },
  26992. "applysrc": {
  26993. "description": "申请来源 - 1:管理端 2:终端",
  26994. "type": "integer"
  26995. },
  26996. "applystatus": {
  26997. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  26998. "type": "integer"
  26999. },
  27000. "applytime": {
  27001. "description": "申请时间",
  27002. "type": "string"
  27003. },
  27004. "areauserid": {
  27005. "description": "所属机构用户ID",
  27006. "type": "integer"
  27007. },
  27008. "auditid": {
  27009. "description": "审核人",
  27010. "type": "string"
  27011. },
  27012. "auditname": {
  27013. "description": "审核人名称(代码)",
  27014. "type": "string"
  27015. },
  27016. "auditremark": {
  27017. "description": "审核备注",
  27018. "type": "string"
  27019. },
  27020. "auditsrc": {
  27021. "description": "审核来源 - 1:管理端 2:终端",
  27022. "type": "integer"
  27023. },
  27024. "audittime": {
  27025. "description": "审核时间",
  27026. "type": "string"
  27027. },
  27028. "audittradedate": {
  27029. "description": "审核交易日(yyyyMMdd)",
  27030. "type": "string"
  27031. },
  27032. "beforevalue": {
  27033. "description": "变更前",
  27034. "type": "number"
  27035. },
  27036. "deliverygoodscode": {
  27037. "description": "品种代码",
  27038. "type": "string"
  27039. },
  27040. "deliverygoodsid": {
  27041. "description": "品种id",
  27042. "type": "integer"
  27043. },
  27044. "deliverygoodsname": {
  27045. "description": "品种名称",
  27046. "type": "string"
  27047. },
  27048. "middlegoodscode": {
  27049. "description": "套保品种代码",
  27050. "type": "string"
  27051. },
  27052. "middlegoodsid": {
  27053. "description": "套保品种ID [ParamChangeType = 2,3,4]",
  27054. "type": "integer"
  27055. },
  27056. "middlegoodsname": {
  27057. "description": "套保品种名称",
  27058. "type": "string"
  27059. },
  27060. "operatetype": {
  27061. "description": "操作类型 - 1:新增 2:修改",
  27062. "type": "integer"
  27063. },
  27064. "paramchangetype": {
  27065. "description": "参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)",
  27066. "type": "integer"
  27067. },
  27068. "wrstandardcode": {
  27069. "description": "现货商品代码",
  27070. "type": "string"
  27071. },
  27072. "wrstandardid": {
  27073. "description": "现货商品ID [ParamChangeType = 1,2,3]",
  27074. "type": "integer"
  27075. },
  27076. "wrstandardname": {
  27077. "description": "现货商品名称",
  27078. "type": "string"
  27079. }
  27080. }
  27081. },
  27082. "models.Ermcp3RootUserAccount": {
  27083. "type": "object",
  27084. "properties": {
  27085. "accountname": {
  27086. "description": "账户名称(机构名称)",
  27087. "type": "string"
  27088. },
  27089. "accountstatus": {
  27090. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  27091. "type": "integer"
  27092. },
  27093. "applysrc": {
  27094. "description": "申请来源 - 1:管理端 2:终端",
  27095. "type": "integer"
  27096. },
  27097. "auditremark": {
  27098. "description": "审核备注",
  27099. "type": "string"
  27100. },
  27101. "auditsrc": {
  27102. "description": "审核来源 - 1:管理端 2:终端",
  27103. "type": "integer"
  27104. },
  27105. "audittime": {
  27106. "description": "审核时间",
  27107. "type": "string"
  27108. },
  27109. "audituserid": {
  27110. "description": "审核人",
  27111. "type": "integer"
  27112. },
  27113. "broker": {
  27114. "description": "所属经纪人ID",
  27115. "type": "integer"
  27116. },
  27117. "canceltime": {
  27118. "description": "销户时间",
  27119. "type": "string"
  27120. },
  27121. "canceluserid": {
  27122. "description": "销户人",
  27123. "type": "integer"
  27124. },
  27125. "canrecommend": {
  27126. "description": "是否可推荐 - 0:不可 1;可",
  27127. "type": "integer"
  27128. },
  27129. "createtime": {
  27130. "description": "创建时间",
  27131. "type": "string"
  27132. },
  27133. "creatorid": {
  27134. "description": "创建人",
  27135. "type": "integer"
  27136. },
  27137. "hasauth": {
  27138. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  27139. "type": "integer"
  27140. },
  27141. "isanonymous": {
  27142. "description": "是否匿名下单 - 0:否 1:是",
  27143. "type": "integer"
  27144. },
  27145. "maxinvestornum": {
  27146. "description": "最大用户数(经纪会员下投资者个数)",
  27147. "type": "integer"
  27148. },
  27149. "memberuserid": {
  27150. "description": "所属会员ID",
  27151. "type": "integer"
  27152. },
  27153. "modifierid": {
  27154. "description": "修改人",
  27155. "type": "integer"
  27156. },
  27157. "modifyremark": {
  27158. "description": "变更备注",
  27159. "type": "string"
  27160. },
  27161. "modifystatus": {
  27162. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  27163. "type": "integer"
  27164. },
  27165. "modifytime": {
  27166. "description": "修改时间",
  27167. "type": "string"
  27168. },
  27169. "nickname": {
  27170. "description": "昵称",
  27171. "type": "string"
  27172. },
  27173. "parenttopuser": {
  27174. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  27175. "type": "string"
  27176. },
  27177. "parentuserid": {
  27178. "description": "所属机构ID",
  27179. "type": "integer"
  27180. },
  27181. "reckonaccountid": {
  27182. "description": "默认结算资金账号ID(机构分润使用) 作废",
  27183. "type": "integer"
  27184. },
  27185. "refercount": {
  27186. "description": "推荐总人数",
  27187. "type": "integer"
  27188. },
  27189. "refereeuserid": {
  27190. "description": "推荐人ID",
  27191. "type": "integer"
  27192. },
  27193. "refernum": {
  27194. "description": "推荐码",
  27195. "type": "string"
  27196. },
  27197. "rootuserid": {
  27198. "description": "根用户ID",
  27199. "type": "integer"
  27200. },
  27201. "subaccountlevel": {
  27202. "description": "子账户层数",
  27203. "type": "integer"
  27204. },
  27205. "subarealevelpath": {
  27206. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  27207. "type": "string"
  27208. },
  27209. "userid": {
  27210. "description": "用户ID",
  27211. "type": "integer"
  27212. },
  27213. "usertype": {
  27214. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  27215. "type": "integer"
  27216. }
  27217. }
  27218. },
  27219. "models.Ermcp3SCMiddleGoods": {
  27220. "type": "object",
  27221. "properties": {
  27222. "biztype": {
  27223. "description": "业务类型 1:套保 2:套利",
  27224. "type": "integer"
  27225. },
  27226. "contractno": {
  27227. "description": "合同编号",
  27228. "type": "string"
  27229. },
  27230. "contracttype": {
  27231. "description": "合同类型 1:采购 -1:销售",
  27232. "type": "integer"
  27233. },
  27234. "convertratio": {
  27235. "description": "折算系数",
  27236. "type": "number"
  27237. },
  27238. "customername": {
  27239. "description": "对手手名称",
  27240. "type": "string"
  27241. },
  27242. "customeruserid": {
  27243. "description": "对手id",
  27244. "type": "integer"
  27245. },
  27246. "deliverygoodscode": {
  27247. "description": "现货品种代码",
  27248. "type": "string"
  27249. },
  27250. "deliverygoodsid": {
  27251. "description": "现货品种ID",
  27252. "type": "integer"
  27253. },
  27254. "deliverygoodsname": {
  27255. "description": "现货品种名称",
  27256. "type": "string"
  27257. },
  27258. "enumdicname": {
  27259. "description": "现货单位名称",
  27260. "type": "string"
  27261. },
  27262. "middlegoodsid": {
  27263. "description": "套保品种ID",
  27264. "type": "integer"
  27265. },
  27266. "middlegoodspricedqty3": {
  27267. "description": "应套保数量 = MiddleGoodsPricedQty2 * 套保比率",
  27268. "type": "number"
  27269. },
  27270. "needhedgeratio": {
  27271. "description": "套保比例",
  27272. "type": "number"
  27273. },
  27274. "pricedqty": {
  27275. "description": "已定价量",
  27276. "type": "number"
  27277. },
  27278. "relatedmiddlegoodsqty": {
  27279. "description": "已关联量(套保品种)(期货)",
  27280. "type": "number"
  27281. },
  27282. "spotcontractid": {
  27283. "description": "合同编号",
  27284. "type": "string"
  27285. },
  27286. "unitid": {
  27287. "description": "现货单位id",
  27288. "type": "integer"
  27289. },
  27290. "userid": {
  27291. "description": "用户id",
  27292. "type": "integer"
  27293. },
  27294. "vatrate": {
  27295. "description": "增值税率",
  27296. "type": "number"
  27297. },
  27298. "wrstandardcode": {
  27299. "description": "现货商品代码",
  27300. "type": "string"
  27301. },
  27302. "wrstandardid": {
  27303. "description": "现货商品id",
  27304. "type": "integer"
  27305. },
  27306. "wrstandardname": {
  27307. "description": "现货商品名称",
  27308. "type": "string"
  27309. }
  27310. }
  27311. },
  27312. "models.Ermcp3SCMiddleGoodsReport": {
  27313. "type": "object",
  27314. "properties": {
  27315. "begindate": {
  27316. "description": "开始交易日",
  27317. "type": "string"
  27318. },
  27319. "contractno": {
  27320. "description": "合同编号",
  27321. "type": "string"
  27322. },
  27323. "contracttype": {
  27324. "description": "合同类型 1:采购 -1:销售",
  27325. "type": "integer"
  27326. },
  27327. "convertratio": {
  27328. "description": "期初均价",
  27329. "type": "number"
  27330. },
  27331. "cycletime": {
  27332. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  27333. "type": "string"
  27334. },
  27335. "cycletype": {
  27336. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  27337. "type": "integer"
  27338. },
  27339. "deliverygoodscode": {
  27340. "description": "品种代码",
  27341. "type": "string"
  27342. },
  27343. "deliverygoodsid": {
  27344. "description": "现货品种ID",
  27345. "type": "integer"
  27346. },
  27347. "deliverygoodsname": {
  27348. "description": "品种名称",
  27349. "type": "string"
  27350. },
  27351. "diffprice": {
  27352. "description": "期初均价",
  27353. "type": "number"
  27354. },
  27355. "diffqty": {
  27356. "description": "期初均价",
  27357. "type": "number"
  27358. },
  27359. "enddate": {
  27360. "description": "结束交易日",
  27361. "type": "string"
  27362. },
  27363. "hedgeplanqty": {
  27364. "description": "期初均价",
  27365. "type": "number"
  27366. },
  27367. "matchname": {
  27368. "description": "交易对手方(个人:用户名称 企业:简称)",
  27369. "type": "string"
  27370. },
  27371. "matchnickname": {
  27372. "description": "交易对手方昵称",
  27373. "type": "string"
  27374. },
  27375. "middlegoodscode": {
  27376. "description": "套保品种代码",
  27377. "type": "string"
  27378. },
  27379. "middlegoodsid": {
  27380. "description": "套保品种ID",
  27381. "type": "integer"
  27382. },
  27383. "middlegoodsname": {
  27384. "description": "套保品种名称",
  27385. "type": "string"
  27386. },
  27387. "middlegoodspricedqty": {
  27388. "description": "期初均价",
  27389. "type": "number"
  27390. },
  27391. "middlegoodspricedqty2": {
  27392. "description": "期初均价",
  27393. "type": "number"
  27394. },
  27395. "middlegoodspricedqty3": {
  27396. "description": "期初均价",
  27397. "type": "number"
  27398. },
  27399. "needhedgeratio": {
  27400. "description": "期初均价",
  27401. "type": "number"
  27402. },
  27403. "pricedamount": {
  27404. "description": "期初均价",
  27405. "type": "number"
  27406. },
  27407. "pricedamount2": {
  27408. "description": "期初均价",
  27409. "type": "number"
  27410. },
  27411. "pricedqty": {
  27412. "description": "期初均价",
  27413. "type": "number"
  27414. },
  27415. "reckondate": {
  27416. "description": "日照时期(yyyyMMdd)",
  27417. "type": "string"
  27418. },
  27419. "relatedmiddlegoodsamount": {
  27420. "description": "期初均价",
  27421. "type": "number"
  27422. },
  27423. "relatedmiddlegoodsqty": {
  27424. "description": "期初均价",
  27425. "type": "number"
  27426. },
  27427. "spotcontractid": {
  27428. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  27429. "type": "string"
  27430. },
  27431. "todayavgfutuprice": {
  27432. "description": "期初均价",
  27433. "type": "number"
  27434. },
  27435. "todayavgprice": {
  27436. "description": "期初均价",
  27437. "type": "number"
  27438. },
  27439. "todayavgprice2": {
  27440. "description": "期初均价",
  27441. "type": "number"
  27442. },
  27443. "todaypricedamount": {
  27444. "description": "期初均价",
  27445. "type": "number"
  27446. },
  27447. "todaypricedamount2": {
  27448. "description": "期初均价",
  27449. "type": "number"
  27450. },
  27451. "todaypricedqty": {
  27452. "description": "期初均价",
  27453. "type": "number"
  27454. },
  27455. "todayrelatedfutureqty": {
  27456. "description": "期初均价",
  27457. "type": "number"
  27458. },
  27459. "todayrelatedmiddlegoodsamount": {
  27460. "description": "期初均价",
  27461. "type": "number"
  27462. },
  27463. "todayrelatedmiddlegoodsqty": {
  27464. "description": "期初均价",
  27465. "type": "number"
  27466. },
  27467. "updatetime": {
  27468. "description": "更新时间",
  27469. "type": "string"
  27470. },
  27471. "userid": {
  27472. "description": "合同所属用户id",
  27473. "type": "integer"
  27474. },
  27475. "vatrate": {
  27476. "description": "期初均价",
  27477. "type": "number"
  27478. },
  27479. "wrstandardcode": {
  27480. "description": "商品(品类) 代码",
  27481. "type": "string"
  27482. },
  27483. "wrstandardid": {
  27484. "description": "现货商品ID",
  27485. "type": "integer"
  27486. },
  27487. "wrstandardname": {
  27488. "description": "商品(品类) 名称",
  27489. "type": "string"
  27490. }
  27491. }
  27492. },
  27493. "models.Ermcp3SellBuyContract": {
  27494. "type": "object",
  27495. "properties": {
  27496. "accountid": {
  27497. "description": "期货账户id",
  27498. "type": "string"
  27499. },
  27500. "accountname": {
  27501. "description": "账户名称",
  27502. "type": "string"
  27503. },
  27504. "attachment": {
  27505. "description": "附件",
  27506. "type": "string"
  27507. },
  27508. "audittime": {
  27509. "description": "审核时间",
  27510. "type": "string"
  27511. },
  27512. "bizsubjectid": {
  27513. "description": "归属业务部门ID - SubjectID",
  27514. "type": "integer"
  27515. },
  27516. "biztype": {
  27517. "description": "业务类型 1-套保 2-套利",
  27518. "type": "integer"
  27519. },
  27520. "brandname": {
  27521. "description": "品牌名称",
  27522. "type": "string"
  27523. },
  27524. "contracctstatus": {
  27525. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  27526. "type": "integer"
  27527. },
  27528. "contractmargin": {
  27529. "description": "合同保证金",
  27530. "type": "number"
  27531. },
  27532. "contractno": {
  27533. "description": "合同编号",
  27534. "type": "string"
  27535. },
  27536. "contracttype": {
  27537. "description": "合同类型 1-采购, -1-销售",
  27538. "type": "integer"
  27539. },
  27540. "convertfactor": {
  27541. "description": "标仓系数(品类)",
  27542. "type": "number"
  27543. },
  27544. "createtime": {
  27545. "description": "创建时间",
  27546. "type": "string"
  27547. },
  27548. "currencyid": {
  27549. "description": "币种id",
  27550. "type": "integer"
  27551. },
  27552. "currencyname": {
  27553. "description": "币种名称",
  27554. "type": "string"
  27555. },
  27556. "daikaiamount": {
  27557. "description": "应收(开)票额 | 未收票额",
  27558. "type": "number"
  27559. },
  27560. "deliveryenddate": {
  27561. "description": "交割结束日",
  27562. "type": "string"
  27563. },
  27564. "deliverygoodscode": {
  27565. "description": "现货品种代码",
  27566. "type": "string"
  27567. },
  27568. "deliverygoodsid": {
  27569. "description": "现货商品ID",
  27570. "type": "integer"
  27571. },
  27572. "deliverygoodsname": {
  27573. "description": "现货品种名称",
  27574. "type": "string"
  27575. },
  27576. "deliverystartdate": {
  27577. "description": "交割开始日",
  27578. "type": "string"
  27579. },
  27580. "enddate": {
  27581. "description": "点价结束日",
  27582. "type": "string"
  27583. },
  27584. "enumdicname": {
  27585. "description": "单位名称",
  27586. "type": "string"
  27587. },
  27588. "goodscode": {
  27589. "description": "点价商品代码",
  27590. "type": "string"
  27591. },
  27592. "goodsgroupid": {
  27593. "description": "点价商品组id",
  27594. "type": "integer"
  27595. },
  27596. "goodsid": {
  27597. "description": "点价商品ID",
  27598. "type": "integer"
  27599. },
  27600. "goodsname": {
  27601. "description": "点价商品名称",
  27602. "type": "string"
  27603. },
  27604. "invoiceamount": {
  27605. "description": "已开票额",
  27606. "type": "number"
  27607. },
  27608. "loanamount": {
  27609. "description": "贷款总额=已定价额+调整金额",
  27610. "type": "number"
  27611. },
  27612. "margin": {
  27613. "description": "保证金",
  27614. "type": "number"
  27615. },
  27616. "meruserid": {
  27617. "description": "跟单员id",
  27618. "type": "integer"
  27619. },
  27620. "meruserlogincode": {
  27621. "description": "跟单员登录代码",
  27622. "type": "string"
  27623. },
  27624. "merusername": {
  27625. "description": "跟单员名称",
  27626. "type": "string"
  27627. },
  27628. "nickname": {
  27629. "description": "账户昵称",
  27630. "type": "string"
  27631. },
  27632. "orireckonrealqty": {
  27633. "description": "应交收量",
  27634. "type": "number"
  27635. },
  27636. "payamount": {
  27637. "description": "已收付额(收款或付款)",
  27638. "type": "number"
  27639. },
  27640. "preinvoiceamount": {
  27641. "description": "预收(开)票额",
  27642. "type": "number"
  27643. },
  27644. "prepayamount": {
  27645. "description": "预收付额",
  27646. "type": "number"
  27647. },
  27648. "price": {
  27649. "description": "价格",
  27650. "type": "number"
  27651. },
  27652. "pricedamount": {
  27653. "description": "已定价额",
  27654. "type": "number"
  27655. },
  27656. "pricedavg": {
  27657. "description": "已点均价",
  27658. "type": "number"
  27659. },
  27660. "pricedqty": {
  27661. "description": "已定价量",
  27662. "type": "number"
  27663. },
  27664. "pricemove": {
  27665. "description": "升贴水",
  27666. "type": "number"
  27667. },
  27668. "pricetype": {
  27669. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  27670. "type": "integer"
  27671. },
  27672. "producttype": {
  27673. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  27674. "type": "integer"
  27675. },
  27676. "qty": {
  27677. "description": "合同量",
  27678. "type": "number"
  27679. },
  27680. "reckonadjustamount": {
  27681. "description": "调整金额",
  27682. "type": "number"
  27683. },
  27684. "reckonedamount": {
  27685. "description": "实际已收付额(已确定额,已收付总额-已退款总额)",
  27686. "type": "number"
  27687. },
  27688. "reckonotheramount": {
  27689. "description": "其它费用",
  27690. "type": "number"
  27691. },
  27692. "reckonrealqty": {
  27693. "description": "已交收量",
  27694. "type": "number"
  27695. },
  27696. "remark": {
  27697. "description": "备注",
  27698. "type": "string"
  27699. },
  27700. "saleuserid": {
  27701. "description": "业务员id",
  27702. "type": "integer"
  27703. },
  27704. "saleuserlogincode": {
  27705. "description": "业务员登录代码",
  27706. "type": "string"
  27707. },
  27708. "saleusername": {
  27709. "description": "业务员名称",
  27710. "type": "string"
  27711. },
  27712. "spotcontractid": {
  27713. "description": "合同ID",
  27714. "type": "string"
  27715. },
  27716. "spotgoodsbrandid": {
  27717. "description": "现货品牌ID(DGFactoryItem表的ID)",
  27718. "type": "integer"
  27719. },
  27720. "spotgoodsdesc": {
  27721. "description": "商品型号(商品规格)",
  27722. "type": "string"
  27723. },
  27724. "startdate": {
  27725. "description": "点价开始日",
  27726. "type": "string"
  27727. },
  27728. "subjectid": {
  27729. "description": "交易主体ID",
  27730. "type": "integer"
  27731. },
  27732. "subjectname": {
  27733. "description": "交易主体名称",
  27734. "type": "string"
  27735. },
  27736. "totalamount": {
  27737. "description": "合计总额",
  27738. "type": "number"
  27739. },
  27740. "tradeuserid": {
  27741. "description": "交易员id",
  27742. "type": "integer"
  27743. },
  27744. "tradeuserlogincode": {
  27745. "description": "交易员登录代码",
  27746. "type": "string"
  27747. },
  27748. "tradeusername": {
  27749. "description": "交易员名称",
  27750. "type": "string"
  27751. },
  27752. "unpayamount": {
  27753. "description": "应收付款额(应支付或应收款) | 未付款额",
  27754. "type": "number"
  27755. },
  27756. "unpricedqty": {
  27757. "description": "未定价量",
  27758. "type": "number"
  27759. },
  27760. "unsureqty": {
  27761. "description": "未确定量 | 未交收量",
  27762. "type": "number"
  27763. },
  27764. "userid": {
  27765. "description": "机构ID",
  27766. "type": "integer"
  27767. },
  27768. "vatrate": {
  27769. "description": "增值税率",
  27770. "type": "number"
  27771. },
  27772. "wrstandardcode": {
  27773. "description": "品类代码",
  27774. "type": "string"
  27775. },
  27776. "wrstandardid": {
  27777. "description": "品类ID",
  27778. "type": "integer"
  27779. },
  27780. "wrstandardname": {
  27781. "description": "品类名称",
  27782. "type": "string"
  27783. }
  27784. }
  27785. },
  27786. "models.Ermcp3SpotGoodsPrice": {
  27787. "type": "object",
  27788. "properties": {
  27789. "areauserid": {
  27790. "description": "所属机构id",
  27791. "type": "integer"
  27792. },
  27793. "brandname": {
  27794. "description": "品牌名称",
  27795. "type": "string"
  27796. },
  27797. "currencyid": {
  27798. "description": "报价货币ID",
  27799. "type": "integer"
  27800. },
  27801. "currencyname": {
  27802. "description": "币种名称",
  27803. "type": "string"
  27804. },
  27805. "deliverygoodscode": {
  27806. "description": "现货商品代码",
  27807. "type": "string"
  27808. },
  27809. "deliverygoodsid": {
  27810. "description": "现货商品id",
  27811. "type": "integer"
  27812. },
  27813. "deliverygoodsname": {
  27814. "description": "现货商品名称",
  27815. "type": "string"
  27816. },
  27817. "enumdicname": {
  27818. "description": "现货商品单位名称",
  27819. "type": "string"
  27820. },
  27821. "gbenumdicname": {
  27822. "description": "品类单位名称",
  27823. "type": "string"
  27824. },
  27825. "gmunitid": {
  27826. "description": "品类单位id",
  27827. "type": "integer"
  27828. },
  27829. "isvalid": {
  27830. "description": "是否有效 - 0:无效 1:有效",
  27831. "type": "integer"
  27832. },
  27833. "operateid": {
  27834. "description": "最后操作人",
  27835. "type": "integer"
  27836. },
  27837. "operatesrc": {
  27838. "description": "最后操作来源 - 1:管理端 2:终端",
  27839. "type": "integer"
  27840. },
  27841. "operatetime": {
  27842. "description": "最后操作时间",
  27843. "type": "string"
  27844. },
  27845. "operatorname": {
  27846. "description": "操作人名称",
  27847. "type": "string"
  27848. },
  27849. "spotgoodsbrandid": {
  27850. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27851. "type": "integer"
  27852. },
  27853. "spotgoodsprice": {
  27854. "description": "现货价格",
  27855. "type": "number"
  27856. },
  27857. "tradedate": {
  27858. "description": "交易日(yyyyMMdd)",
  27859. "type": "string"
  27860. },
  27861. "unitid": {
  27862. "description": "现货商品单位id",
  27863. "type": "integer"
  27864. },
  27865. "wrstandardcode": {
  27866. "description": "品类代码",
  27867. "type": "string"
  27868. },
  27869. "wrstandardid": {
  27870. "description": "现货品类ID(通用则为0)",
  27871. "type": "integer"
  27872. },
  27873. "wrstandardname": {
  27874. "description": "品类名称",
  27875. "type": "string"
  27876. }
  27877. }
  27878. },
  27879. "models.Ermcp3SpotGoodsPriceLog": {
  27880. "type": "object",
  27881. "properties": {
  27882. "areauserid": {
  27883. "description": "所属机构id",
  27884. "type": "integer"
  27885. },
  27886. "brandname": {
  27887. "description": "品牌名称",
  27888. "type": "string"
  27889. },
  27890. "currencyid": {
  27891. "description": "报价货币ID",
  27892. "type": "integer"
  27893. },
  27894. "deliverygoodscode": {
  27895. "description": "现货商品代码",
  27896. "type": "string"
  27897. },
  27898. "deliverygoodsid": {
  27899. "description": "现货商品id",
  27900. "type": "integer"
  27901. },
  27902. "deliverygoodsname": {
  27903. "description": "现货商品名称",
  27904. "type": "string"
  27905. },
  27906. "enumdicname": {
  27907. "description": "现货商品单位名称",
  27908. "type": "string"
  27909. },
  27910. "gbenumdicname": {
  27911. "description": "品类单位名称",
  27912. "type": "string"
  27913. },
  27914. "gmunitid": {
  27915. "description": "品类单位id",
  27916. "type": "integer"
  27917. },
  27918. "logid": {
  27919. "description": "日志id",
  27920. "type": "integer"
  27921. },
  27922. "operateid": {
  27923. "description": "最后操作人",
  27924. "type": "integer"
  27925. },
  27926. "operatesrc": {
  27927. "description": "最后操作来源 - 1:管理端 2:终端",
  27928. "type": "integer"
  27929. },
  27930. "operatetime": {
  27931. "description": "最后操作时间",
  27932. "type": "string"
  27933. },
  27934. "operatorname": {
  27935. "description": "操作人名称",
  27936. "type": "string"
  27937. },
  27938. "spotgoodsbrandid": {
  27939. "description": "现货品牌ID(通用则为0, 不为0则须先有品类ID)",
  27940. "type": "integer"
  27941. },
  27942. "spotgoodsprice": {
  27943. "description": "现货价格",
  27944. "type": "number"
  27945. },
  27946. "tradedate": {
  27947. "description": "交易日(yyyyMMdd)",
  27948. "type": "string"
  27949. },
  27950. "unitid": {
  27951. "description": "现货商品单位id",
  27952. "type": "integer"
  27953. },
  27954. "wrstandardcode": {
  27955. "description": "品类代码",
  27956. "type": "string"
  27957. },
  27958. "wrstandardid": {
  27959. "description": "现货品类ID(通用则为0)",
  27960. "type": "integer"
  27961. },
  27962. "wrstandardname": {
  27963. "description": "品类名称",
  27964. "type": "string"
  27965. }
  27966. }
  27967. },
  27968. "models.Ermcp3SubTaaccount": {
  27969. "type": "object",
  27970. "properties": {
  27971. "accountid": {
  27972. "description": "资金账户ID",
  27973. "type": "integer"
  27974. },
  27975. "parentaccountcode": {
  27976. "description": "所属根账号代码(母账号代码)",
  27977. "type": "string"
  27978. },
  27979. "parentaccountid": {
  27980. "description": "所属根账号(母账号)",
  27981. "type": "integer"
  27982. },
  27983. "taname": {
  27984. "description": "资金账号名称",
  27985. "type": "string"
  27986. },
  27987. "tradestatus": {
  27988. "description": "交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)",
  27989. "type": "integer"
  27990. },
  27991. "username": {
  27992. "description": "交易用户",
  27993. "type": "string"
  27994. }
  27995. }
  27996. },
  27997. "models.Ermcp3TaFutuReDataReport": {
  27998. "type": "object",
  27999. "properties": {
  28000. "accountid": {
  28001. "description": "交易账户",
  28002. "type": "integer"
  28003. },
  28004. "accountname": {
  28005. "description": "交易账号名称",
  28006. "type": "string"
  28007. },
  28008. "agreeunit": {
  28009. "description": "商品合约单位",
  28010. "type": "number"
  28011. },
  28012. "begindate": {
  28013. "description": "开始交易日",
  28014. "type": "string"
  28015. },
  28016. "buyorsell": {
  28017. "description": "持仓方向",
  28018. "type": "integer"
  28019. },
  28020. "charge": {
  28021. "description": "手续费",
  28022. "type": "number"
  28023. },
  28024. "closeavgprice": {
  28025. "description": "期初均价",
  28026. "type": "number"
  28027. },
  28028. "closepl": {
  28029. "description": "平仓损益",
  28030. "type": "number"
  28031. },
  28032. "currencyid": {
  28033. "description": "结算币种ID",
  28034. "type": "integer"
  28035. },
  28036. "currencyname": {
  28037. "description": "币种名称",
  28038. "type": "string"
  28039. },
  28040. "cycletime": {
  28041. "description": "周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】",
  28042. "type": "string"
  28043. },
  28044. "cycletype": {
  28045. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】",
  28046. "type": "integer"
  28047. },
  28048. "enddate": {
  28049. "description": "结束交易日",
  28050. "type": "string"
  28051. },
  28052. "enumdicname": {
  28053. "description": "单位名称",
  28054. "type": "string"
  28055. },
  28056. "floatpl": {
  28057. "description": "浮动损益",
  28058. "type": "number"
  28059. },
  28060. "goodscode": {
  28061. "description": "交易合约代码",
  28062. "type": "string"
  28063. },
  28064. "goodsgroupid": {
  28065. "description": "交易品种",
  28066. "type": "integer"
  28067. },
  28068. "goodsgroupname": {
  28069. "description": "交易品种名称",
  28070. "type": "string"
  28071. },
  28072. "goodsgroupspotqty": {
  28073. "description": "交易品种期末量 (= 期末持仓量 * 合约乘数)",
  28074. "type": "number"
  28075. },
  28076. "goodsid": {
  28077. "description": "交易合约",
  28078. "type": "integer"
  28079. },
  28080. "goodsname": {
  28081. "description": "交易合约名称",
  28082. "type": "string"
  28083. },
  28084. "goodunitid": {
  28085. "description": "交易合约单位id",
  28086. "type": "integer"
  28087. },
  28088. "holdamount": {
  28089. "description": "期末持仓额",
  28090. "type": "number"
  28091. },
  28092. "holdqty": {
  28093. "description": "期初均价",
  28094. "type": "number"
  28095. },
  28096. "lastholdamount": {
  28097. "description": "当前持仓额",
  28098. "type": "number"
  28099. },
  28100. "lastprice": {
  28101. "description": "最新价",
  28102. "type": "number"
  28103. },
  28104. "middlegoodsid": {
  28105. "description": "套保品种id",
  28106. "type": "integer"
  28107. },
  28108. "middlegoodsname": {
  28109. "description": "套保商品名称",
  28110. "type": "string"
  28111. },
  28112. "middlegoodsqty": {
  28113. "description": "套保品种期末量 (=交易品种期末量 * 期货品种折算系数)",
  28114. "type": "number"
  28115. },
  28116. "middlgoodscode": {
  28117. "description": "套保商品代码",
  28118. "type": "string"
  28119. },
  28120. "openamount": {
  28121. "description": "期末开仓额",
  28122. "type": "number"
  28123. },
  28124. "openavgprice": {
  28125. "description": "期初均价",
  28126. "type": "number"
  28127. },
  28128. "oriholdamount": {
  28129. "description": "期初持仓额",
  28130. "type": "number"
  28131. },
  28132. "oriholdqty": {
  28133. "description": "期初均价",
  28134. "type": "number"
  28135. },
  28136. "oriopenamount": {
  28137. "description": "期初开仓额",
  28138. "type": "number"
  28139. },
  28140. "outergroupcode": {
  28141. "description": "交易品种代码",
  28142. "type": "string"
  28143. },
  28144. "qtydecimalplace": {
  28145. "description": "成交量小数位",
  28146. "type": "integer"
  28147. },
  28148. "reckondate": {
  28149. "description": "日照时期(yyyyMMdd)",
  28150. "type": "string"
  28151. },
  28152. "reckonholdamount": {
  28153. "description": "结算持仓额",
  28154. "type": "number"
  28155. },
  28156. "reckonpl": {
  28157. "description": "结算损益",
  28158. "type": "number"
  28159. },
  28160. "reckonpl2": {
  28161. "description": "结算逐笔盈亏",
  28162. "type": "number"
  28163. },
  28164. "reckonprice": {
  28165. "description": "结算价",
  28166. "type": "number"
  28167. },
  28168. "relateduserid": {
  28169. "description": "账户关联用户ID",
  28170. "type": "integer"
  28171. },
  28172. "todaycloseamount": {
  28173. "description": "今平仓额",
  28174. "type": "number"
  28175. },
  28176. "todaycloseqty": {
  28177. "description": "期初均价",
  28178. "type": "number"
  28179. },
  28180. "todaygoodsgroupspotqty": {
  28181. "description": "交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)",
  28182. "type": "number"
  28183. },
  28184. "todaymiddlegoodsqty": {
  28185. "description": "套保品种变化量 (= 交易品种变化量*期货品种折算系数)",
  28186. "type": "number"
  28187. },
  28188. "todayopenamount": {
  28189. "description": "今开仓额",
  28190. "type": "number"
  28191. },
  28192. "todayopenqty": {
  28193. "description": "期初均价",
  28194. "type": "number"
  28195. },
  28196. "userid": {
  28197. "description": "账户所属用户ID",
  28198. "type": "integer"
  28199. }
  28200. }
  28201. },
  28202. "models.Ermcp3TradeLinkDetail": {
  28203. "type": "object",
  28204. "properties": {
  28205. "accountid": {
  28206. "description": "资金账号",
  28207. "type": "integer"
  28208. },
  28209. "agreeunit": {
  28210. "description": "合约乘数",
  28211. "type": "number"
  28212. },
  28213. "areauserid": {
  28214. "description": "所属机构",
  28215. "type": "string"
  28216. },
  28217. "bizsubjectid": {
  28218. "description": "归属业务部门ID - SubjectID",
  28219. "type": "string"
  28220. },
  28221. "buyorsell": {
  28222. "description": "方向 - 0:买 1:卖",
  28223. "type": "integer"
  28224. },
  28225. "channelbuildtype": {
  28226. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  28227. "type": "integer"
  28228. },
  28229. "contractno": {
  28230. "description": "现货编号 (合同编号)",
  28231. "type": "string"
  28232. },
  28233. "convertratio": {
  28234. "description": "折算系数",
  28235. "type": "number"
  28236. },
  28237. "createtime": {
  28238. "description": "关联时间 | 创建时间",
  28239. "type": "string"
  28240. },
  28241. "creatorid": {
  28242. "description": "创建人ID",
  28243. "type": "string"
  28244. },
  28245. "creatorsrc": {
  28246. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  28247. "type": "integer"
  28248. },
  28249. "enumdicname": {
  28250. "description": "单位名称",
  28251. "type": "string"
  28252. },
  28253. "goodscode": {
  28254. "description": "合约代码",
  28255. "type": "string"
  28256. },
  28257. "goodsgroupid": {
  28258. "description": "对冲品种ID[期货合约商品组ID]",
  28259. "type": "integer"
  28260. },
  28261. "goodsid": {
  28262. "description": "商品ID",
  28263. "type": "integer"
  28264. },
  28265. "goodsname": {
  28266. "description": "合约名称",
  28267. "type": "string"
  28268. },
  28269. "hedgeflag": {
  28270. "description": "业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)",
  28271. "type": "integer"
  28272. },
  28273. "linkdetailid": {
  28274. "description": "关联ID(614+Unix秒时间戳(10位)+xxxxxx)",
  28275. "type": "string"
  28276. },
  28277. "linkstatus": {
  28278. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  28279. "type": "integer"
  28280. },
  28281. "middlegoodscode": {
  28282. "description": "套保品种代码",
  28283. "type": "string"
  28284. },
  28285. "middlegoodsid": {
  28286. "description": "套保品种ID",
  28287. "type": "integer"
  28288. },
  28289. "middlegoodsname": {
  28290. "description": "套保品种名称",
  28291. "type": "string"
  28292. },
  28293. "relatedlot": {
  28294. "description": "关联手数",
  28295. "type": "number"
  28296. },
  28297. "relatedmode": {
  28298. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  28299. "type": "integer"
  28300. },
  28301. "relatedqty": {
  28302. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  28303. "type": "number"
  28304. },
  28305. "retcode": {
  28306. "description": "返回码",
  28307. "type": "integer"
  28308. },
  28309. "saleuserid": {
  28310. "description": "业务员ID",
  28311. "type": "string"
  28312. },
  28313. "spotcontractid": {
  28314. "description": "现货合同\\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]",
  28315. "type": "string"
  28316. },
  28317. "taname": {
  28318. "description": "期货账户",
  28319. "type": "string"
  28320. },
  28321. "tradedate": {
  28322. "description": "关联交易日(yyyyMMdd)",
  28323. "type": "string"
  28324. },
  28325. "tradeid": {
  28326. "description": "期货订单号 | 内部成交单ID",
  28327. "type": "string"
  28328. },
  28329. "tradelot": {
  28330. "description": "成交数量 | 成交手数",
  28331. "type": "integer"
  28332. },
  28333. "tradeprice": {
  28334. "description": "成交价格",
  28335. "type": "number"
  28336. },
  28337. "tradetime": {
  28338. "description": "期货成交时间",
  28339. "type": "string"
  28340. },
  28341. "tradetradedate": {
  28342. "description": "成交交易日(yyyyMMdd)",
  28343. "type": "string"
  28344. },
  28345. "username": {
  28346. "description": "用户名称",
  28347. "type": "string"
  28348. }
  28349. }
  28350. },
  28351. "models.Ermcp3Wrstandard": {
  28352. "type": "object",
  28353. "properties": {
  28354. "areauserid": {
  28355. "description": "所属机构",
  28356. "type": "integer"
  28357. },
  28358. "cantrade": {
  28359. "description": "是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)",
  28360. "type": "integer"
  28361. },
  28362. "convertfactor": {
  28363. "description": "标仓系数",
  28364. "type": "number"
  28365. },
  28366. "createtime": {
  28367. "description": "创建时间",
  28368. "type": "string"
  28369. },
  28370. "creatorid": {
  28371. "description": "创建人",
  28372. "type": "integer"
  28373. },
  28374. "deliverygoodsid": {
  28375. "description": "现货品种ID",
  28376. "type": "integer"
  28377. },
  28378. "enumdicname": {
  28379. "description": "品类单位名称",
  28380. "type": "string"
  28381. },
  28382. "isvalid": {
  28383. "description": "是否有效 0-无效(停用) 1-有效(正常)",
  28384. "type": "integer"
  28385. },
  28386. "minivalue": {
  28387. "description": "最小变动值",
  28388. "type": "integer"
  28389. },
  28390. "minivaluedp": {
  28391. "description": "最小变动值小数位",
  28392. "type": "integer"
  28393. },
  28394. "realminivalue": {
  28395. "description": "实际最小变动值",
  28396. "type": "integer"
  28397. },
  28398. "realminivaluedp": {
  28399. "description": "实际最小变动值小数位",
  28400. "type": "integer"
  28401. },
  28402. "remark": {
  28403. "description": "备注",
  28404. "type": "string"
  28405. },
  28406. "unitid": {
  28407. "description": "品类单位ID",
  28408. "type": "integer"
  28409. },
  28410. "updatetime": {
  28411. "description": "更新时间",
  28412. "type": "string"
  28413. },
  28414. "wrstandardcode": {
  28415. "description": "品类代码",
  28416. "type": "string"
  28417. },
  28418. "wrstandardid": {
  28419. "description": "品类ID(SEQ_WRSTANDARD)",
  28420. "type": "integer"
  28421. },
  28422. "wrstandardname": {
  28423. "description": "品类名称",
  28424. "type": "string"
  28425. }
  28426. }
  28427. },
  28428. "models.Ermcp8EnableHedgeditem": {
  28429. "type": "object",
  28430. "properties": {
  28431. "accountname": {
  28432. "description": "套期主体",
  28433. "type": "string"
  28434. },
  28435. "hedgeditemid": {
  28436. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  28437. "type": "string"
  28438. },
  28439. "hedgeditemname": {
  28440. "description": "项目名称",
  28441. "type": "string"
  28442. },
  28443. "hedgeditemnum": {
  28444. "description": "项目编号",
  28445. "type": "string"
  28446. },
  28447. "hedgedtype": {
  28448. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28449. "type": "integer"
  28450. },
  28451. "planenddate": {
  28452. "description": "计划结束日期",
  28453. "type": "string"
  28454. },
  28455. "planstartdate": {
  28456. "description": "计划开始日期",
  28457. "type": "string"
  28458. },
  28459. "wrstandardid": {
  28460. "description": "现货商品ID",
  28461. "type": "integer"
  28462. },
  28463. "wrstandardname": {
  28464. "description": "现货商品",
  28465. "type": "string"
  28466. }
  28467. }
  28468. },
  28469. "models.Ermcp8HedgeditemReport": {
  28470. "type": "object",
  28471. "properties": {
  28472. "accountname": {
  28473. "description": "套期主体",
  28474. "type": "string"
  28475. },
  28476. "areauserid": {
  28477. "description": "企业ID",
  28478. "type": "integer"
  28479. },
  28480. "curprice": {
  28481. "description": "[当日现货市场价]当前市场价",
  28482. "type": "number"
  28483. },
  28484. "enumdicname": {
  28485. "description": "单位",
  28486. "type": "string"
  28487. },
  28488. "exeamount": {
  28489. "description": "[执行现货金额]执行市价总额",
  28490. "type": "number"
  28491. },
  28492. "exeavgprice": {
  28493. "description": "[执行价]执行市场均价= 执行市价总额 / 执行现货量",
  28494. "type": "number"
  28495. },
  28496. "exeqty": {
  28497. "description": "[执行数量]执行现货量",
  28498. "type": "number"
  28499. },
  28500. "futurehedgepl": {
  28501. "description": "期货实际损益",
  28502. "type": "number"
  28503. },
  28504. "futurehedgeplchange": {
  28505. "description": "期货实际变动 = 期货实际损益 - 期初期货实际损益",
  28506. "type": "number"
  28507. },
  28508. "futurepl": {
  28509. "description": "期货套期损益",
  28510. "type": "number"
  28511. },
  28512. "futureplchange": {
  28513. "description": "期货套期变动 = 期货套期损益 - 期初期货套期损益",
  28514. "type": "number"
  28515. },
  28516. "hedgeamount": {
  28517. "description": "[套期现货金额]套期市价总额",
  28518. "type": "number"
  28519. },
  28520. "hedgeditemnum": {
  28521. "description": "项目编号,模糊查询",
  28522. "type": "string"
  28523. },
  28524. "hedgeditemstatus": {
  28525. "description": "项目状态 - 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28526. "type": "integer"
  28527. },
  28528. "hedgedtype": {
  28529. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28530. "type": "integer"
  28531. },
  28532. "hedgeqty": {
  28533. "description": "[套期数量]套期现货量",
  28534. "type": "number"
  28535. },
  28536. "oriavgprice": {
  28537. "description": "[期初价]期初市场均价 = 套期市价总额 / 套期现货量",
  28538. "type": "number"
  28539. },
  28540. "orifuturehedgepl": {
  28541. "description": "期初期货实际损益",
  28542. "type": "number"
  28543. },
  28544. "orifuturepl": {
  28545. "description": "期初期货套期损益",
  28546. "type": "number"
  28547. },
  28548. "orispothedgepl": {
  28549. "description": "期初现货实际损益",
  28550. "type": "number"
  28551. },
  28552. "orispotpl": {
  28553. "description": "期初现货套期损益",
  28554. "type": "number"
  28555. },
  28556. "planenddate": {
  28557. "description": "计划结束日期",
  28558. "type": "string"
  28559. },
  28560. "planstartdate": {
  28561. "description": "计划开始日期",
  28562. "type": "string"
  28563. },
  28564. "spothedgepl": {
  28565. "description": "现货实际损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28566. "type": "number"
  28567. },
  28568. "spothedgeplchange": {
  28569. "description": "现货实际变动 = 现货实际损益 - 期初现货实际损益",
  28570. "type": "number"
  28571. },
  28572. "spotpl": {
  28573. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28574. "type": "number"
  28575. },
  28576. "spotplchange": {
  28577. "description": "现货套期变动 = 现货套期损益 - 期初现货套期损益",
  28578. "type": "number"
  28579. },
  28580. "tradeuserid": {
  28581. "description": "交易用户ID",
  28582. "type": "integer"
  28583. },
  28584. "unexeqty": {
  28585. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28586. "type": "number"
  28587. },
  28588. "wrstandardcode": {
  28589. "description": "现货品类代码",
  28590. "type": "string"
  28591. },
  28592. "wrstandardid": {
  28593. "description": "现货商品ID",
  28594. "type": "integer"
  28595. },
  28596. "wrstandardname": {
  28597. "description": "[现货商品]现货品类名称",
  28598. "type": "string"
  28599. }
  28600. }
  28601. },
  28602. "models.Ermcp8RunningHedgeditem": {
  28603. "type": "object",
  28604. "properties": {
  28605. "accountname": {
  28606. "description": "套期主体",
  28607. "type": "string"
  28608. },
  28609. "applyid": {
  28610. "description": "申请人",
  28611. "type": "integer"
  28612. },
  28613. "applysrc": {
  28614. "description": "申请来源 - 1:管理端 2:终端",
  28615. "type": "integer"
  28616. },
  28617. "areauserid": {
  28618. "description": "企业ID",
  28619. "type": "integer"
  28620. },
  28621. "auditid": {
  28622. "description": "审核人",
  28623. "type": "integer"
  28624. },
  28625. "auditremark": {
  28626. "description": "审核备注",
  28627. "type": "string"
  28628. },
  28629. "auditsrc": {
  28630. "description": "审核来源 - 1:管理端 2:终端",
  28631. "type": "integer"
  28632. },
  28633. "audittime": {
  28634. "description": "审核时间",
  28635. "type": "string"
  28636. },
  28637. "audittradedate": {
  28638. "description": "审核交易日(yyyyMMdd)",
  28639. "type": "string"
  28640. },
  28641. "createtime": {
  28642. "description": "申请时间",
  28643. "type": "string"
  28644. },
  28645. "curprice": {
  28646. "description": "当前市场价",
  28647. "type": "number"
  28648. },
  28649. "curstock": {
  28650. "description": "期末库存量 = 采购总量 - 销售总量",
  28651. "type": "number"
  28652. },
  28653. "deliverygoodsid": {
  28654. "description": "现货品种ID",
  28655. "type": "integer"
  28656. },
  28657. "enddate": {
  28658. "description": "完成日期",
  28659. "type": "string"
  28660. },
  28661. "endtradedate": {
  28662. "description": "完成交易日",
  28663. "type": "string"
  28664. },
  28665. "enumdicname": {
  28666. "description": "单位",
  28667. "type": "string"
  28668. },
  28669. "exeamount": {
  28670. "description": "执行市价总额",
  28671. "type": "number"
  28672. },
  28673. "exeavgprice": {
  28674. "description": "执行市场均价= 执行市价总额 / 执行现货量",
  28675. "type": "number"
  28676. },
  28677. "execontractamount": {
  28678. "description": "执行定价总额",
  28679. "type": "number"
  28680. },
  28681. "exeqty": {
  28682. "description": "执行现货量",
  28683. "type": "number"
  28684. },
  28685. "exerestamount": {
  28686. "description": "执行剩余市价总额【现货贸易】",
  28687. "type": "number"
  28688. },
  28689. "futurefloatpl": {
  28690. "description": "期货浮动损益",
  28691. "type": "number"
  28692. },
  28693. "futurehedgepl": {
  28694. "description": "期货实际损益",
  28695. "type": "number"
  28696. },
  28697. "futurehedgeplchange": {
  28698. "description": "期货实际损益变动",
  28699. "type": "number"
  28700. },
  28701. "futurepl": {
  28702. "description": "期货套期损益",
  28703. "type": "number"
  28704. },
  28705. "futureplchange": {
  28706. "description": "期货套期损益变动",
  28707. "type": "number"
  28708. },
  28709. "hedgeamount": {
  28710. "description": "套期市价总额",
  28711. "type": "number"
  28712. },
  28713. "hedgecontractamount": {
  28714. "description": "套期定价总额 【定价采购合同】【现货贸易】",
  28715. "type": "number"
  28716. },
  28717. "hedgeditemid": {
  28718. "description": "被套期项目ID(624+Unix秒时间戳(10位)+xxxxxx)",
  28719. "type": "string"
  28720. },
  28721. "hedgeditemname": {
  28722. "description": "项目名称",
  28723. "type": "string"
  28724. },
  28725. "hedgeditemnum": {
  28726. "description": "项目编号",
  28727. "type": "string"
  28728. },
  28729. "hedgeditemstatus": {
  28730. "description": "项目状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  28731. "type": "integer"
  28732. },
  28733. "hedgedtype": {
  28734. "description": "套期类型 - 1:采购计划项目 2:销售计划项目 3:现货贸易项目 4:库存存货项目 5:定价采购合同项目",
  28735. "type": "integer"
  28736. },
  28737. "hedgeqty": {
  28738. "description": "套期现货量",
  28739. "type": "number"
  28740. },
  28741. "hedgerate": {
  28742. "description": "套保比率",
  28743. "type": "number"
  28744. },
  28745. "hedgerestamount": {
  28746. "description": "套期剩余市价总额【现货贸易】",
  28747. "type": "number"
  28748. },
  28749. "hedgesumpl": {
  28750. "description": "套期汇总损益 = 期货汇总损益 + 现货汇总损益",
  28751. "type": "number"
  28752. },
  28753. "middlegoodslist": {
  28754. "description": "套期商品列表",
  28755. "type": "array",
  28756. "items": {
  28757. "$ref": "#/definitions/models.Ermcp2himiddlegoods"
  28758. }
  28759. },
  28760. "oriavgprice": {
  28761. "description": "期初市场均价 = 套期市价总额 / 套期现货量",
  28762. "type": "number"
  28763. },
  28764. "orifuturehedgepl": {
  28765. "description": "期初期货实际损益",
  28766. "type": "number"
  28767. },
  28768. "orifuturepl": {
  28769. "description": "期初期货套期损益",
  28770. "type": "number"
  28771. },
  28772. "orispothedgepl": {
  28773. "description": "期初现货实际损益",
  28774. "type": "number"
  28775. },
  28776. "orispotpl": {
  28777. "description": "期初现货套期损益",
  28778. "type": "number"
  28779. },
  28780. "planenddate": {
  28781. "description": "计划结束日期",
  28782. "type": "string"
  28783. },
  28784. "planstartdate": {
  28785. "description": "计划开始日期",
  28786. "type": "string"
  28787. },
  28788. "remark": {
  28789. "description": "备注",
  28790. "type": "string"
  28791. },
  28792. "spotbookamount": {
  28793. "description": "现货账面总额",
  28794. "type": "number"
  28795. },
  28796. "spotfloatpl": {
  28797. "description": "现货浮动损益 =(当前市场价 - 期初市场价)*未执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28798. "type": "number"
  28799. },
  28800. "spothedgepl": {
  28801. "description": "现货套期损益 =(执行市场均价-期初市场均价)*执行现货量 * 方向(销售计划 为 -1, 其它为1)",
  28802. "type": "number"
  28803. },
  28804. "spothedgeplchange": {
  28805. "description": "现货实际损益变动",
  28806. "type": "number"
  28807. },
  28808. "spotpl": {
  28809. "description": "现货套期损益 = 现货实际损益 + 现货浮动损益",
  28810. "type": "number"
  28811. },
  28812. "spotplchange": {
  28813. "description": "现货套期损益变动",
  28814. "type": "number"
  28815. },
  28816. "spottradepl": {
  28817. "description": "现货贸易损益【现货贸易】= 执行合同定价总额 - 套期合同定价总额",
  28818. "type": "number"
  28819. },
  28820. "sumobspl": {
  28821. "description": "汇总绝对损益【现货贸易】=现货贸易损益+增值税损益+期货套期损益",
  28822. "type": "number"
  28823. },
  28824. "tradeuserid": {
  28825. "description": "交易用户ID",
  28826. "type": "integer"
  28827. },
  28828. "unexeqty": {
  28829. "description": "未执行现货量 = 套期现货量 - 执行现货量",
  28830. "type": "number"
  28831. },
  28832. "updatetime": {
  28833. "description": "更新时间",
  28834. "type": "string"
  28835. },
  28836. "vatpl": {
  28837. "description": "增值税损益【现货贸易】= 现货贸易损益 * (增值税率 /(1+增值税率))",
  28838. "type": "number"
  28839. },
  28840. "vatrate": {
  28841. "description": "增值税",
  28842. "type": "number"
  28843. },
  28844. "wrstandardid": {
  28845. "description": "现货商品ID",
  28846. "type": "integer"
  28847. },
  28848. "wrstandardname": {
  28849. "description": "商品名称",
  28850. "type": "string"
  28851. }
  28852. }
  28853. },
  28854. "models.ErmcpBizGroupEx": {
  28855. "type": "object",
  28856. "properties": {
  28857. "acclist": {
  28858. "description": "账号列表",
  28859. "type": "array",
  28860. "items": {
  28861. "$ref": "#/definitions/models.ErmcpBizGroupTaAccount"
  28862. }
  28863. },
  28864. "bizgroupid": {
  28865. "description": "业务分组id",
  28866. "type": "integer"
  28867. },
  28868. "biztype": {
  28869. "description": "业务类型 1-套保 2-套利",
  28870. "type": "integer"
  28871. },
  28872. "wrlist": {
  28873. "description": "现货商品表",
  28874. "type": "array",
  28875. "items": {
  28876. "$ref": "#/definitions/models.ErmcpBizGroupSpotGoods"
  28877. }
  28878. }
  28879. }
  28880. },
  28881. "models.ErmcpBizGroupSpotGoods": {
  28882. "type": "object",
  28883. "properties": {
  28884. "areauserid": {
  28885. "description": "所属机构id",
  28886. "type": "integer"
  28887. },
  28888. "bizgroupid": {
  28889. "description": "分组id",
  28890. "type": "integer"
  28891. },
  28892. "biztype": {
  28893. "description": "业务类型 1-套保 2-套利",
  28894. "type": "integer"
  28895. },
  28896. "deliverygoodscode": {
  28897. "description": "现货商品代码",
  28898. "type": "string"
  28899. },
  28900. "deliverygoodsid": {
  28901. "description": "现货商品id",
  28902. "type": "integer"
  28903. },
  28904. "deliverygoodsname": {
  28905. "description": "现货商品名称",
  28906. "type": "string"
  28907. },
  28908. "unitid": {
  28909. "description": "现货商品单位id",
  28910. "type": "integer"
  28911. }
  28912. }
  28913. },
  28914. "models.ErmcpBizGroupTaAccount": {
  28915. "type": "object",
  28916. "properties": {
  28917. "accountid": {
  28918. "description": "账号id",
  28919. "type": "integer"
  28920. },
  28921. "accountname": {
  28922. "description": "账号名称",
  28923. "type": "string"
  28924. },
  28925. "areauserid": {
  28926. "description": "所属机构id",
  28927. "type": "integer"
  28928. },
  28929. "bizgroupid": {
  28930. "description": "业务分组id",
  28931. "type": "integer"
  28932. },
  28933. "ismain": {
  28934. "description": "是否主账号 1-是 0-否",
  28935. "type": "integer"
  28936. }
  28937. }
  28938. },
  28939. "models.ErmcpDGFactoryItem": {
  28940. "type": "object",
  28941. "properties": {
  28942. "areauserid": {
  28943. "description": "用户id",
  28944. "type": "integer"
  28945. },
  28946. "deliverygoodsid": {
  28947. "description": "现货品种ID",
  28948. "type": "integer"
  28949. },
  28950. "dgfactoryitemid": {
  28951. "description": "选择项ID(SEQ_DGFACTORYITEM)",
  28952. "type": "integer"
  28953. },
  28954. "dgfactoryitemtypeid": {
  28955. "description": "要素项类型",
  28956. "type": "integer"
  28957. },
  28958. "dgfactoryitemvalue": {
  28959. "description": "要素项值(类型为仓库时填写仓库名称)",
  28960. "type": "string"
  28961. },
  28962. "isvalid": {
  28963. "description": "是否有效 - 0:无效 1:有效",
  28964. "type": "integer"
  28965. },
  28966. "orderindex": {
  28967. "description": "顺序",
  28968. "type": "integer"
  28969. },
  28970. "warehouseid": {
  28971. "description": "仓库ID(类型为仓库时填写)",
  28972. "type": "integer"
  28973. }
  28974. }
  28975. },
  28976. "models.ErmcpDeliveryGoods": {
  28977. "type": "object",
  28978. "properties": {
  28979. "agreeunit": {
  28980. "description": "合约单位[散货时默认为1, 整装时默认为标准数量]",
  28981. "type": "integer"
  28982. },
  28983. "areauserid": {
  28984. "description": "所属机构",
  28985. "type": "integer"
  28986. },
  28987. "auditflag": {
  28988. "description": "交割是否需要审核 - 0:不需要 1:需要审核 默认为0",
  28989. "type": "integer"
  28990. },
  28991. "categoryid": {
  28992. "description": "类别ID(SEQ_WRCATEGORY)",
  28993. "type": "integer"
  28994. },
  28995. "deliverygoodscode": {
  28996. "description": "现货品种代码",
  28997. "type": "string"
  28998. },
  28999. "deliverygoodsid": {
  29000. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  29001. "type": "integer"
  29002. },
  29003. "deliverygoodsname": {
  29004. "description": "现货品种名称",
  29005. "type": "string"
  29006. },
  29007. "deliverygoodstype": {
  29008. "description": "现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细",
  29009. "type": "integer"
  29010. },
  29011. "dgstatus": {
  29012. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  29013. "type": "integer"
  29014. },
  29015. "enumdicname": {
  29016. "description": "现货品种单位名称",
  29017. "type": "string"
  29018. },
  29019. "goodsunitid": {
  29020. "description": "现货品种单位ID",
  29021. "type": "integer"
  29022. },
  29023. "isvalid": {
  29024. "description": "是否有效 - 0:无效 1:有效",
  29025. "type": "integer"
  29026. },
  29027. "qtydecimalplace": {
  29028. "description": "成交量小数位",
  29029. "type": "integer"
  29030. },
  29031. "remark": {
  29032. "description": "备注",
  29033. "type": "string"
  29034. },
  29035. "standardqty": {
  29036. "description": "标准数量(库位数量) [标准品特有]",
  29037. "type": "integer"
  29038. },
  29039. "standardqtyrange": {
  29040. "description": "标准数量偏差范围 [标准品特有]",
  29041. "type": "integer"
  29042. }
  29043. }
  29044. },
  29045. "models.ErmcpFuturesCompany": {
  29046. "type": "object",
  29047. "properties": {
  29048. "brokerid": {
  29049. "description": "经纪公司代码",
  29050. "type": "string"
  29051. },
  29052. "channeladdress": {
  29053. "description": "对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001",
  29054. "type": "string"
  29055. },
  29056. "channelid": {
  29057. "description": "对冲渠道ID",
  29058. "type": "string"
  29059. },
  29060. "createtime": {
  29061. "description": "创建时间",
  29062. "type": "string"
  29063. },
  29064. "creatorid": {
  29065. "description": "创建人",
  29066. "type": "string"
  29067. },
  29068. "fcid": {
  29069. "description": "期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)",
  29070. "type": "integer"
  29071. },
  29072. "fcname": {
  29073. "description": "期货公司名称",
  29074. "type": "string"
  29075. },
  29076. "isvalid": {
  29077. "description": "是否有效 - 0:无效 1:有效",
  29078. "type": "integer"
  29079. },
  29080. "mhpaddress": {
  29081. "description": "MHP服务地址(IP:Port)",
  29082. "type": "string"
  29083. },
  29084. "riskrulegroupid": {
  29085. "description": "风控规则组ID",
  29086. "type": "string"
  29087. },
  29088. "tradefeetmpid": {
  29089. "description": "手续费模板ID[TradeConfigTmpType为2]",
  29090. "type": "string"
  29091. },
  29092. "trademargintmpid": {
  29093. "description": "保证金模板ID [TradeConfigTmpType为1]",
  29094. "type": "string"
  29095. },
  29096. "traderatetmpid": {
  29097. "description": "汇率模板ID[TradeConfigTmpType为3]",
  29098. "type": "string"
  29099. },
  29100. "updatetime": {
  29101. "description": "更新时间",
  29102. "type": "string"
  29103. },
  29104. "updatorid": {
  29105. "description": "更新人",
  29106. "type": "string"
  29107. }
  29108. }
  29109. },
  29110. "models.ErmcpGGConvertCfg": {
  29111. "type": "object",
  29112. "properties": {
  29113. "convertratio": {
  29114. "description": "折算系数",
  29115. "type": "number"
  29116. },
  29117. "destgoodsgroupid": {
  29118. "description": "目标品种ID",
  29119. "type": "integer"
  29120. },
  29121. "dstcode": {
  29122. "description": "目录品种代码",
  29123. "type": "string"
  29124. },
  29125. "dstexchangecode": {
  29126. "description": "目标期货交易所",
  29127. "type": "string"
  29128. },
  29129. "dstname": {
  29130. "description": "目标品种名称",
  29131. "type": "string"
  29132. },
  29133. "dstunitid": {
  29134. "description": "目标品种单位ID",
  29135. "type": "integer"
  29136. },
  29137. "dstunitidname": {
  29138. "description": "目标品种单位名称",
  29139. "type": "string"
  29140. },
  29141. "modifytime": {
  29142. "description": "修改时间",
  29143. "type": "string"
  29144. },
  29145. "srccode": {
  29146. "description": "源品种代码",
  29147. "type": "string"
  29148. },
  29149. "srcexchangecode": {
  29150. "description": "源期货交易所",
  29151. "type": "string"
  29152. },
  29153. "srcgoodsgroupid": {
  29154. "description": "源品种ID",
  29155. "type": "integer"
  29156. },
  29157. "srcname": {
  29158. "description": "源品种名称",
  29159. "type": "string"
  29160. },
  29161. "srcunitid": {
  29162. "description": "源品种单位ID",
  29163. "type": "integer"
  29164. },
  29165. "srcunitidname": {
  29166. "description": "源品种单位名称",
  29167. "type": "string"
  29168. }
  29169. }
  29170. },
  29171. "models.ErmcpGoods": {
  29172. "type": "object",
  29173. "required": [
  29174. "goodscode",
  29175. "goodsid",
  29176. "goodsname",
  29177. "marketid"
  29178. ],
  29179. "properties": {
  29180. "agreeunit": {
  29181. "description": "合约单位",
  29182. "type": "number"
  29183. },
  29184. "areauserid": {
  29185. "description": "所属机构",
  29186. "type": "integer"
  29187. },
  29188. "auditaccountid": {
  29189. "description": "审核操作员账号",
  29190. "type": "integer"
  29191. },
  29192. "audittime": {
  29193. "description": "审核时间",
  29194. "type": "string"
  29195. },
  29196. "cancelaccountid": {
  29197. "description": "注销操作员账号",
  29198. "type": "integer"
  29199. },
  29200. "canceltime": {
  29201. "description": "注销时间",
  29202. "type": "string"
  29203. },
  29204. "closepricemode": {
  29205. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  29206. "type": "integer"
  29207. },
  29208. "closepriceparam": {
  29209. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  29210. "type": "number"
  29211. },
  29212. "createtime": {
  29213. "description": "创建时间",
  29214. "type": "string"
  29215. },
  29216. "creatorid": {
  29217. "description": "创建人",
  29218. "type": "integer"
  29219. },
  29220. "currencyid": {
  29221. "description": "报价货币ID",
  29222. "type": "integer"
  29223. },
  29224. "cutmode": {
  29225. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  29226. "type": "integer"
  29227. },
  29228. "decimalplace": {
  29229. "description": "报价小数位",
  29230. "type": "integer"
  29231. },
  29232. "delistingdate": {
  29233. "description": "商品退市时间(状态:退市) -- 已作废",
  29234. "type": "string"
  29235. },
  29236. "delistingmode": {
  29237. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  29238. "type": "integer"
  29239. },
  29240. "deliveryflag": {
  29241. "description": "交割标志 - 0:不可交割 1:可交割",
  29242. "type": "integer"
  29243. },
  29244. "enumdicname": {
  29245. "description": "单位名称",
  29246. "type": "string"
  29247. },
  29248. "forceclosemode": {
  29249. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  29250. "type": "integer"
  29251. },
  29252. "forceclosevalue": {
  29253. "description": "定期强平参数 [收益权]",
  29254. "type": "integer"
  29255. },
  29256. "goodscode": {
  29257. "description": "商品代码(内部)",
  29258. "type": "string"
  29259. },
  29260. "goodscurrencyid": {
  29261. "description": "合约货币ID",
  29262. "type": "integer"
  29263. },
  29264. "goodsgroupid": {
  29265. "description": "所属商品组ID",
  29266. "type": "integer"
  29267. },
  29268. "goodsid": {
  29269. "description": "商品ID(自增ID SEQ_GOODS)",
  29270. "type": "integer"
  29271. },
  29272. "goodsname": {
  29273. "description": "商品名称",
  29274. "type": "string"
  29275. },
  29276. "goodsquotetype": {
  29277. "description": "合约报价类型: 1-直接报价 2-间接报价",
  29278. "type": "integer"
  29279. },
  29280. "goodsstatus": {
  29281. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  29282. "type": "integer"
  29283. },
  29284. "goodstradetype": {
  29285. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  29286. "type": "integer"
  29287. },
  29288. "goodunitid": {
  29289. "description": "报价单位ID",
  29290. "type": "integer"
  29291. },
  29292. "hasquoter": {
  29293. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  29294. "type": "integer"
  29295. },
  29296. "hqprotecttime": {
  29297. "description": "行情保护时间(秒)",
  29298. "type": "integer"
  29299. },
  29300. "innerdealmode": {
  29301. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  29302. "type": "integer"
  29303. },
  29304. "isbuylimited": {
  29305. "description": "是否限制建仓量 - 0:不限制 1:限制",
  29306. "type": "integer"
  29307. },
  29308. "isvisible": {
  29309. "description": "游客是否可见 - 0:不可见 1:可见",
  29310. "type": "integer"
  29311. },
  29312. "lasttradedate": {
  29313. "description": "最后交易日期(状态:待退市)",
  29314. "type": "string"
  29315. },
  29316. "listingdate": {
  29317. "description": "交易开始日期",
  29318. "type": "string"
  29319. },
  29320. "marketid": {
  29321. "description": "所属市场ID",
  29322. "type": "integer"
  29323. },
  29324. "modifierid": {
  29325. "description": "修改人",
  29326. "type": "integer"
  29327. },
  29328. "modifystatus": {
  29329. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  29330. "type": "integer"
  29331. },
  29332. "modifytime": {
  29333. "description": "修改时间",
  29334. "type": "string"
  29335. },
  29336. "outerdealmode": {
  29337. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  29338. "type": "integer"
  29339. },
  29340. "outgoodscode": {
  29341. "description": "商品代码(外部)",
  29342. "type": "string"
  29343. },
  29344. "pictureurl": {
  29345. "description": "商品图片",
  29346. "type": "string"
  29347. },
  29348. "qtydecimalplace": {
  29349. "description": "成交量小数位",
  29350. "type": "integer"
  29351. },
  29352. "quotegear": {
  29353. "description": "行情档位(1-10)",
  29354. "type": "integer"
  29355. },
  29356. "quoteminunit": {
  29357. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  29358. "type": "integer"
  29359. },
  29360. "quoteshowtype": {
  29361. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  29362. "type": "integer"
  29363. },
  29364. "quoteshowtypeinterval": {
  29365. "description": "行情报价间隔时间(秒)(成交价时为0)",
  29366. "type": "integer"
  29367. },
  29368. "relatedgoodsid": {
  29369. "description": "关联参考商品ID",
  29370. "type": "integer"
  29371. },
  29372. "remark": {
  29373. "description": "备注",
  29374. "type": "string"
  29375. },
  29376. "trademode": {
  29377. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  29378. "type": "integer"
  29379. }
  29380. }
  29381. },
  29382. "models.ErmcpGoodsBrand": {
  29383. "type": "object",
  29384. "properties": {
  29385. "areauserid": {
  29386. "description": "所属机构",
  29387. "type": "integer"
  29388. },
  29389. "brandid": {
  29390. "description": "BrandID(SEQ_SPOTGOODSBRAND)",
  29391. "type": "integer"
  29392. },
  29393. "brandname": {
  29394. "description": "品牌名称",
  29395. "type": "string"
  29396. },
  29397. "createtime": {
  29398. "description": "创建时间",
  29399. "type": "string"
  29400. },
  29401. "creatorid": {
  29402. "description": "创建人",
  29403. "type": "integer"
  29404. },
  29405. "creatorsrc": {
  29406. "description": "创建人来源 - 1:管理端 2:终端",
  29407. "type": "integer"
  29408. },
  29409. "deliverygoodsid": {
  29410. "description": "现货品种ID",
  29411. "type": "integer"
  29412. },
  29413. "isvalid": {
  29414. "description": "是否有效 - 0:无效 1:有效",
  29415. "type": "integer"
  29416. },
  29417. "updatetime": {
  29418. "description": "更新时间",
  29419. "type": "string"
  29420. },
  29421. "updatorid": {
  29422. "description": "更新人",
  29423. "type": "integer"
  29424. },
  29425. "updatorsrc": {
  29426. "description": "更新人来源 - 1:管理端 2:终端",
  29427. "type": "integer"
  29428. },
  29429. "wrstandardid": {
  29430. "description": "现货商品ID",
  29431. "type": "integer"
  29432. }
  29433. }
  29434. },
  29435. "models.ErmcpGoodsModel": {
  29436. "type": "object",
  29437. "properties": {
  29438. "areauserid": {
  29439. "description": "所属机构",
  29440. "type": "integer"
  29441. },
  29442. "convertfactor": {
  29443. "description": "标仓系数",
  29444. "type": "number"
  29445. },
  29446. "createtime": {
  29447. "description": "创建时间",
  29448. "type": "string"
  29449. },
  29450. "creatorid": {
  29451. "description": "创建人",
  29452. "type": "integer"
  29453. },
  29454. "creatorsrc": {
  29455. "description": "创建人来源 - 1:管理端 2:终端",
  29456. "type": "integer"
  29457. },
  29458. "deliverygoodsid": {
  29459. "description": "现货品种ID",
  29460. "type": "integer"
  29461. },
  29462. "isvalid": {
  29463. "description": "是否有效 - 0:无效 1:有效",
  29464. "type": "integer"
  29465. },
  29466. "modelid": {
  29467. "description": "ModelID(SEQ_SPOTGOODSMODEL)",
  29468. "type": "integer"
  29469. },
  29470. "modelname": {
  29471. "description": "型号名称",
  29472. "type": "string"
  29473. },
  29474. "updatetime": {
  29475. "description": "更新时间",
  29476. "type": "string"
  29477. },
  29478. "updatorid": {
  29479. "description": "更新人",
  29480. "type": "integer"
  29481. },
  29482. "updatorsrc": {
  29483. "description": "更新人来源 - 1:管理端 2:终端",
  29484. "type": "integer"
  29485. },
  29486. "wrstandardid": {
  29487. "description": "现货商品ID",
  29488. "type": "integer"
  29489. }
  29490. }
  29491. },
  29492. "models.ErmcpHisExposure": {
  29493. "type": "object",
  29494. "properties": {
  29495. "needhedgeexposoure": {
  29496. "description": "应套保敞口",
  29497. "type": "number"
  29498. },
  29499. "reckondate": {
  29500. "description": "日照时期(yyyyMMdd)",
  29501. "type": "string"
  29502. },
  29503. "totalexposure": {
  29504. "description": "总敞口",
  29505. "type": "number"
  29506. }
  29507. }
  29508. },
  29509. "models.ErmcpLoginTaAccount": {
  29510. "type": "object",
  29511. "properties": {
  29512. "accountid": {
  29513. "description": "账号id",
  29514. "type": "integer"
  29515. },
  29516. "accountname": {
  29517. "description": "账号名称",
  29518. "type": "string"
  29519. }
  29520. }
  29521. },
  29522. "models.ErmcpLoginUser": {
  29523. "type": "object",
  29524. "properties": {
  29525. "acclist": {
  29526. "description": "关联资金账号",
  29527. "type": "array",
  29528. "items": {
  29529. "$ref": "#/definitions/models.ErmcpLoginTaAccount"
  29530. }
  29531. },
  29532. "accountname": {
  29533. "description": "用户名称",
  29534. "type": "string"
  29535. },
  29536. "clientroleid": {
  29537. "description": "角色id(usertype=2)",
  29538. "type": "integer"
  29539. },
  29540. "createtime": {
  29541. "description": "创建时间",
  29542. "type": "string"
  29543. },
  29544. "logincode": {
  29545. "description": "登录代码",
  29546. "type": "string"
  29547. },
  29548. "loginid": {
  29549. "description": "登录id(LOGINID)",
  29550. "type": "integer"
  29551. },
  29552. "loginname": {
  29553. "description": "登录名称(loginaccount表中的accountname字段)",
  29554. "type": "string"
  29555. },
  29556. "loginstatus": {
  29557. "description": "登录账户状态 - 1:正常 2:冻结 3:无效",
  29558. "type": "integer"
  29559. },
  29560. "memberuserid": {
  29561. "description": "所属会员id",
  29562. "type": "integer"
  29563. },
  29564. "mobile": {
  29565. "description": "手机号",
  29566. "type": "string"
  29567. },
  29568. "modifytime": {
  29569. "description": "修改时间",
  29570. "type": "string"
  29571. },
  29572. "password": {
  29573. "description": "密码(不可解密)",
  29574. "type": "string"
  29575. },
  29576. "rolename": {
  29577. "description": "角色名称",
  29578. "type": "string"
  29579. },
  29580. "rolestatus": {
  29581. "description": "角色状态 1-启用 2-停用",
  29582. "type": "integer"
  29583. },
  29584. "roletype": {
  29585. "description": "角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员",
  29586. "type": "string"
  29587. },
  29588. "userid": {
  29589. "description": "用户id",
  29590. "type": "integer"
  29591. },
  29592. "usertype": {
  29593. "description": "用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  29594. "type": "integer"
  29595. }
  29596. }
  29597. },
  29598. "models.ErmcpLoginUserEx": {
  29599. "type": "object",
  29600. "properties": {
  29601. "accountstatus": {
  29602. "description": "账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  29603. "type": "integer"
  29604. },
  29605. "mobile": {
  29606. "description": "手机号",
  29607. "type": "string"
  29608. },
  29609. "querytype": {
  29610. "description": "查询类型 1-业务账户 2-交易账户 3-管理账户",
  29611. "type": "integer"
  29612. },
  29613. "roleid": {
  29614. "description": "角色id(交易账户-\u003e用户id)",
  29615. "type": "integer"
  29616. },
  29617. "rolename": {
  29618. "description": "角色名称(交易账户-\u003e用户名称)",
  29619. "type": "string"
  29620. },
  29621. "userlist": {
  29622. "description": "用户列表",
  29623. "type": "array",
  29624. "items": {
  29625. "$ref": "#/definitions/models.ErmcpLoginUser"
  29626. }
  29627. },
  29628. "usertype": {
  29629. "description": "用户类型 2-机构 7-企业成员(云平台)",
  29630. "type": "integer"
  29631. }
  29632. }
  29633. },
  29634. "models.ErmcpMiddleGoodsModel": {
  29635. "type": "object",
  29636. "properties": {
  29637. "areauserid": {
  29638. "description": "机构用户ID",
  29639. "type": "integer"
  29640. },
  29641. "createtime": {
  29642. "description": "修改时间",
  29643. "type": "string"
  29644. },
  29645. "enumdicname": {
  29646. "description": "单位名称",
  29647. "type": "string"
  29648. },
  29649. "evaluateratio": {
  29650. "description": "估价系数",
  29651. "type": "number"
  29652. },
  29653. "goodsgroupid": {
  29654. "description": "关联期货品种ID",
  29655. "type": "integer"
  29656. },
  29657. "goodsunitid": {
  29658. "description": "单位ID",
  29659. "type": "integer"
  29660. },
  29661. "isvalid": {
  29662. "description": "状态 0-无效(停用) 1-有效(正常)",
  29663. "type": "integer"
  29664. },
  29665. "middlegoodscode": {
  29666. "description": "套保品种代码",
  29667. "type": "string"
  29668. },
  29669. "middlegoodsid": {
  29670. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  29671. "type": "integer"
  29672. },
  29673. "middlegoodsname": {
  29674. "description": "套保品种名称",
  29675. "type": "string"
  29676. },
  29677. "modifytime": {
  29678. "description": "修改时间",
  29679. "type": "string"
  29680. },
  29681. "needarbitrageratio": {
  29682. "description": "套利比例",
  29683. "type": "number"
  29684. },
  29685. "needhedgeratio": {
  29686. "description": "套保比率",
  29687. "type": "number"
  29688. },
  29689. "qtydecimalplace": {
  29690. "description": "数量小数位",
  29691. "type": "integer"
  29692. },
  29693. "relatedgoodsid": {
  29694. "description": "关联交易商品ID",
  29695. "type": "integer"
  29696. },
  29697. "relatedgoodstype": {
  29698. "description": "关联商品类型 - 1:期货合约 2:现货品种",
  29699. "type": "integer"
  29700. },
  29701. "remark": {
  29702. "description": "备注",
  29703. "type": "string"
  29704. }
  29705. }
  29706. },
  29707. "models.ErmcpMiddlegoodsRelateGoods": {
  29708. "type": "object",
  29709. "properties": {
  29710. "agreeunit": {
  29711. "description": "合约乘数",
  29712. "type": "number"
  29713. },
  29714. "convertratio": {
  29715. "description": "折算系数",
  29716. "type": "number"
  29717. },
  29718. "enumdicname": {
  29719. "description": "单位名称(交易商品)",
  29720. "type": "string"
  29721. },
  29722. "goodscode": {
  29723. "description": "交易商品代码",
  29724. "type": "string"
  29725. },
  29726. "goodsgroupid": {
  29727. "description": "交易品种id",
  29728. "type": "integer"
  29729. },
  29730. "goodsid": {
  29731. "description": "商品Id",
  29732. "type": "integer"
  29733. },
  29734. "goodsname": {
  29735. "description": "交易商品名称",
  29736. "type": "string"
  29737. },
  29738. "goodunitid": {
  29739. "description": "交易商品单位id",
  29740. "type": "integer"
  29741. },
  29742. "middlegoodsid": {
  29743. "description": "套保商品id",
  29744. "type": "integer"
  29745. },
  29746. "middlegoodsname": {
  29747. "description": "套保商品名称",
  29748. "type": "string"
  29749. },
  29750. "middlegoodsswcode": {
  29751. "description": "套保商品代码",
  29752. "type": "string"
  29753. },
  29754. "needarbitrageratio": {
  29755. "description": "应套利比例",
  29756. "type": "number"
  29757. },
  29758. "needhedgeratio": {
  29759. "description": "应套保比例",
  29760. "type": "number"
  29761. }
  29762. }
  29763. },
  29764. "models.ErmcpRole": {
  29765. "type": "object",
  29766. "properties": {
  29767. "areauserid": {
  29768. "description": "所属机构",
  29769. "type": "integer"
  29770. },
  29771. "autoid": {
  29772. "description": "角色ID(自增ID)",
  29773. "type": "integer"
  29774. },
  29775. "modifierid": {
  29776. "description": "修改人(创建人)",
  29777. "type": "integer"
  29778. },
  29779. "modifiername": {
  29780. "description": "修改人名称",
  29781. "type": "string"
  29782. },
  29783. "modifytime": {
  29784. "description": "修改时间(创建时间)",
  29785. "type": "string"
  29786. },
  29787. "rolename": {
  29788. "description": "角色名称",
  29789. "type": "string"
  29790. },
  29791. "rolestatus": {
  29792. "description": "角色状态 - 1:启用 2:停用",
  29793. "type": "integer"
  29794. },
  29795. "roletype": {
  29796. "description": "角色类型 - 1- 管理端 2- 交易端",
  29797. "type": "integer"
  29798. }
  29799. }
  29800. },
  29801. "models.ErmcpRoleMenu": {
  29802. "type": "object",
  29803. "properties": {
  29804. "iconame": {
  29805. "description": "菜单图标",
  29806. "type": "string"
  29807. },
  29808. "ishadrole": {
  29809. "description": "是否有权限",
  29810. "type": "boolean"
  29811. },
  29812. "menutype": {
  29813. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)",
  29814. "type": "integer"
  29815. },
  29816. "parentcode": {
  29817. "description": "上级资源代码",
  29818. "type": "string"
  29819. },
  29820. "remark": {
  29821. "description": "菜单备注",
  29822. "type": "string"
  29823. },
  29824. "resourcecode": {
  29825. "description": "菜单代码",
  29826. "type": "string"
  29827. },
  29828. "resourcelevel": {
  29829. "description": "级别",
  29830. "type": "integer"
  29831. },
  29832. "resourcename": {
  29833. "description": "菜单名称",
  29834. "type": "string"
  29835. },
  29836. "roleid": {
  29837. "description": "角色id",
  29838. "type": "integer"
  29839. },
  29840. "sort": {
  29841. "description": "排序",
  29842. "type": "integer"
  29843. },
  29844. "url": {
  29845. "description": "URL",
  29846. "type": "string"
  29847. },
  29848. "userid": {
  29849. "description": "用户id",
  29850. "type": "integer"
  29851. }
  29852. }
  29853. },
  29854. "models.ErmcpRoleMenuEx": {
  29855. "type": "object",
  29856. "properties": {
  29857. "menu": {
  29858. "description": "父级菜单",
  29859. "$ref": "#/definitions/models.ErmcpRoleMenu"
  29860. },
  29861. "subMenu": {
  29862. "description": "子级菜单",
  29863. "type": "array",
  29864. "items": {
  29865. "$ref": "#/definitions/models.ErmcpRoleMenuEx"
  29866. }
  29867. }
  29868. }
  29869. },
  29870. "models.ErmcpSpotContractModelEx": {
  29871. "type": "object",
  29872. "properties": {
  29873. "accountname": {
  29874. "description": "套期主体",
  29875. "type": "string"
  29876. },
  29877. "amount": {
  29878. "description": "金额 [1:一口价、3:暂定价]",
  29879. "type": "number"
  29880. },
  29881. "attachment": {
  29882. "description": "附件",
  29883. "type": "string"
  29884. },
  29885. "auditremark": {
  29886. "description": "审核意见",
  29887. "type": "string"
  29888. },
  29889. "audittime": {
  29890. "description": "审核时间",
  29891. "type": "string"
  29892. },
  29893. "avgprice": {
  29894. "description": "定价均价 = 已定价金额 / 已定价量",
  29895. "type": "number"
  29896. },
  29897. "brandname": {
  29898. "description": "品牌名称",
  29899. "type": "string"
  29900. },
  29901. "buyuserid": {
  29902. "description": "采购方ID",
  29903. "type": "integer"
  29904. },
  29905. "buyusername": {
  29906. "description": "采购方名称",
  29907. "type": "string"
  29908. },
  29909. "contracctstatus": {
  29910. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  29911. "type": "integer"
  29912. },
  29913. "contractmargin": {
  29914. "description": "合同保证金",
  29915. "type": "number"
  29916. },
  29917. "contractno": {
  29918. "description": "[合同编号]现货合同编号",
  29919. "type": "string"
  29920. },
  29921. "contracttype": {
  29922. "description": "[合同类型]现货合同类型 - 1:采购 -1:销售",
  29923. "type": "integer"
  29924. },
  29925. "convertfactor": {
  29926. "description": "标仓系数",
  29927. "type": "number"
  29928. },
  29929. "createtime": {
  29930. "description": "创建时间",
  29931. "type": "string"
  29932. },
  29933. "customername": {
  29934. "description": "对手方",
  29935. "type": "string"
  29936. },
  29937. "customeruserid": {
  29938. "description": "客户ID",
  29939. "type": "integer"
  29940. },
  29941. "deliveryenddate": {
  29942. "description": "交收期(结束)",
  29943. "type": "string"
  29944. },
  29945. "deliverygoodscode": {
  29946. "description": "现货品种代码",
  29947. "type": "string"
  29948. },
  29949. "deliverygoodsid": {
  29950. "description": "现货品种ID",
  29951. "type": "integer"
  29952. },
  29953. "deliverygoodsname": {
  29954. "description": "现货品种名称",
  29955. "type": "string"
  29956. },
  29957. "deliverystartdate": {
  29958. "description": "交收期(开始)",
  29959. "type": "string"
  29960. },
  29961. "enddate": {
  29962. "description": "点价结束日期 [2:点价 3:暂定价]",
  29963. "type": "string"
  29964. },
  29965. "enumdicname": {
  29966. "description": "单位名称",
  29967. "type": "string"
  29968. },
  29969. "goodscode": {
  29970. "description": "点价合约代码",
  29971. "type": "string"
  29972. },
  29973. "goodsid": {
  29974. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  29975. "type": "integer"
  29976. },
  29977. "goodsname": {
  29978. "description": "点价商品名称",
  29979. "type": "string"
  29980. },
  29981. "isrelated": {
  29982. "description": "是否已关联计划项目 - 0:否 1:是",
  29983. "type": "integer"
  29984. },
  29985. "isrelated2": {
  29986. "description": "是否已关联现货项目 - 0:否 1:是",
  29987. "type": "integer"
  29988. },
  29989. "margin": {
  29990. "description": "当前保证金",
  29991. "type": "number"
  29992. },
  29993. "modelname": {
  29994. "description": "型号名称",
  29995. "type": "string"
  29996. },
  29997. "price": {
  29998. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  29999. "type": "number"
  30000. },
  30001. "pricedamount": {
  30002. "description": "已定价金额 = (点价价格+升贴水) * 数量",
  30003. "type": "number"
  30004. },
  30005. "pricedqty": {
  30006. "description": "已定价量",
  30007. "type": "number"
  30008. },
  30009. "pricemove": {
  30010. "description": "升贴水 [2:点价 3:暂定价]",
  30011. "type": "number"
  30012. },
  30013. "pricetype": {
  30014. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  30015. "type": "integer"
  30016. },
  30017. "producttype": {
  30018. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  30019. "type": "integer"
  30020. },
  30021. "qty": {
  30022. "description": "[合同数量]数量",
  30023. "type": "number"
  30024. },
  30025. "remark": {
  30026. "description": "备注",
  30027. "type": "string"
  30028. },
  30029. "selluserid": {
  30030. "description": "销售方ID",
  30031. "type": "integer"
  30032. },
  30033. "sellusername": {
  30034. "description": "销售方名称",
  30035. "type": "string"
  30036. },
  30037. "spotamount": {
  30038. "description": "合同现货金额 [不含升贴水]",
  30039. "type": "number"
  30040. },
  30041. "spotavgprice": {
  30042. "description": "现货均价 = 合同现货金额 / 已定价量",
  30043. "type": "number"
  30044. },
  30045. "spotcontractid": {
  30046. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  30047. "type": "string"
  30048. },
  30049. "spotgoodsbrandid": {
  30050. "description": "现货品牌ID",
  30051. "type": "integer"
  30052. },
  30053. "spotgoodsdesc": {
  30054. "description": "商品型号",
  30055. "type": "string"
  30056. },
  30057. "spotgoodsmodelid": {
  30058. "description": "现货型号ID",
  30059. "type": "integer"
  30060. },
  30061. "startdate": {
  30062. "description": "点价开始日期 [2:点价 3:暂定价]",
  30063. "type": "string"
  30064. },
  30065. "tradeuserid": {
  30066. "description": "交易用户ID",
  30067. "type": "integer"
  30068. },
  30069. "unpricedqty": {
  30070. "description": "未定价量 = 合同数量 - 已定价量",
  30071. "type": "number"
  30072. },
  30073. "updatetime": {
  30074. "description": "更新时间",
  30075. "type": "string"
  30076. },
  30077. "userid": {
  30078. "description": "机构ID",
  30079. "type": "integer"
  30080. },
  30081. "wrstandardcode": {
  30082. "description": "现货商品代码",
  30083. "type": "string"
  30084. },
  30085. "wrstandardid": {
  30086. "description": "现货商品ID",
  30087. "type": "integer"
  30088. },
  30089. "wrstandardname": {
  30090. "description": "[现货商品]现货商品名称",
  30091. "type": "string"
  30092. }
  30093. }
  30094. },
  30095. "models.ErmcpTaAccount": {
  30096. "type": "object",
  30097. "properties": {
  30098. "accountid": {
  30099. "description": "账户id",
  30100. "type": "integer"
  30101. },
  30102. "accountname": {
  30103. "description": "账户名称",
  30104. "type": "string"
  30105. },
  30106. "currencyid": {
  30107. "description": "币种id",
  30108. "type": "integer"
  30109. },
  30110. "hedgeaccountcode": {
  30111. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  30112. "type": "string"
  30113. },
  30114. "ismain": {
  30115. "description": "是否主账户 0-否 1-是",
  30116. "type": "integer"
  30117. },
  30118. "parentaccountid": {
  30119. "description": "父账户id",
  30120. "type": "integer"
  30121. },
  30122. "relateduserid": {
  30123. "description": "关联userid",
  30124. "type": "integer"
  30125. },
  30126. "tradefeetmpid": {
  30127. "description": "手续费模板id",
  30128. "type": "integer"
  30129. },
  30130. "tradefeetmpname": {
  30131. "description": "手续费模板名称",
  30132. "type": "string"
  30133. },
  30134. "trademargintmpid": {
  30135. "description": "保证金模板id",
  30136. "type": "integer"
  30137. },
  30138. "trademargintmpname": {
  30139. "description": "保证金模板名称",
  30140. "type": "string"
  30141. },
  30142. "traderatetmpid": {
  30143. "description": "汇率模板id",
  30144. "type": "integer"
  30145. },
  30146. "traderatetmpname": {
  30147. "description": "汇率模板名称",
  30148. "type": "string"
  30149. },
  30150. "tradestatus": {
  30151. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30152. "type": "integer"
  30153. },
  30154. "userid": {
  30155. "description": "用户id",
  30156. "type": "integer"
  30157. }
  30158. }
  30159. },
  30160. "models.ErmcpTaAccountEx": {
  30161. "type": "object",
  30162. "properties": {
  30163. "mainAcc": {
  30164. "description": "主账号",
  30165. "$ref": "#/definitions/models.ErmcpTaAccountM"
  30166. },
  30167. "subacclist": {
  30168. "description": "子账号列表",
  30169. "type": "array",
  30170. "items": {
  30171. "$ref": "#/definitions/models.ErmcpTaAccount"
  30172. }
  30173. }
  30174. }
  30175. },
  30176. "models.ErmcpTaAccountInfo": {
  30177. "type": "object",
  30178. "properties": {
  30179. "accountid": {
  30180. "description": "资金账户ID",
  30181. "type": "integer"
  30182. },
  30183. "accountname": {
  30184. "description": "账户名称",
  30185. "type": "string"
  30186. },
  30187. "balance": {
  30188. "description": "期初余额",
  30189. "type": "number"
  30190. },
  30191. "capitalbalance": {
  30192. "description": "本金余额[外部子账户实际出入金余额]",
  30193. "type": "number"
  30194. },
  30195. "closepl": {
  30196. "description": "今日平仓盈亏",
  30197. "type": "number"
  30198. },
  30199. "creditdecrease": {
  30200. "description": "今日授信减少",
  30201. "type": "number"
  30202. },
  30203. "creditincrease": {
  30204. "description": "今日授信增加",
  30205. "type": "number"
  30206. },
  30207. "curdebt": {
  30208. "description": "期末欠款",
  30209. "type": "number"
  30210. },
  30211. "currencyid": {
  30212. "description": "货币ID",
  30213. "type": "integer"
  30214. },
  30215. "currentbalance": {
  30216. "description": "期末余额",
  30217. "type": "number"
  30218. },
  30219. "freezecharge": {
  30220. "description": "手续费冻结",
  30221. "type": "number"
  30222. },
  30223. "freezemargin": {
  30224. "description": "冻结保证金",
  30225. "type": "number"
  30226. },
  30227. "fromaccountid": {
  30228. "description": "所属上级账户",
  30229. "type": "integer"
  30230. },
  30231. "inamount": {
  30232. "description": "今日入金金额(包括三方入金)",
  30233. "type": "number"
  30234. },
  30235. "ismain": {
  30236. "description": "是否母账号 0:不是母账户 1:是母账户",
  30237. "type": "integer"
  30238. },
  30239. "mortgagecredit": {
  30240. "description": "授信金额",
  30241. "type": "number"
  30242. },
  30243. "oridebt": {
  30244. "description": "期初欠款",
  30245. "type": "number"
  30246. },
  30247. "orifreezecharge": {
  30248. "description": "期初手续费冻结",
  30249. "type": "number"
  30250. },
  30251. "orifreezemargin": {
  30252. "description": "期初冻结保证金",
  30253. "type": "number"
  30254. },
  30255. "orimortgagecredit": {
  30256. "description": "期初授信金额",
  30257. "type": "number"
  30258. },
  30259. "oriothercredit": {
  30260. "description": "期初其它授信金额",
  30261. "type": "number"
  30262. },
  30263. "oriotherfreezemargin": {
  30264. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  30265. "type": "number"
  30266. },
  30267. "orioutamountfreeze": {
  30268. "description": "期初出金冻结",
  30269. "type": "number"
  30270. },
  30271. "oriusedmargin": {
  30272. "description": "期初占用保证金",
  30273. "type": "number"
  30274. },
  30275. "othercredit": {
  30276. "description": "其它授信金额",
  30277. "type": "number"
  30278. },
  30279. "othercreditdecrease": {
  30280. "description": "今日其它授信减少",
  30281. "type": "number"
  30282. },
  30283. "othercreditincrease": {
  30284. "description": "今日其它授信增加",
  30285. "type": "number"
  30286. },
  30287. "otherfreezemargin": {
  30288. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  30289. "type": "number"
  30290. },
  30291. "outamount": {
  30292. "description": "今日出金金额(包括三方出金)",
  30293. "type": "number"
  30294. },
  30295. "outamountfreeze": {
  30296. "description": "出金冻结",
  30297. "type": "number"
  30298. },
  30299. "outthreshold": {
  30300. "description": "出金阈值",
  30301. "type": "number"
  30302. },
  30303. "parentaccountid": {
  30304. "description": "所属根账号",
  30305. "type": "integer"
  30306. },
  30307. "paycharge": {
  30308. "description": "今日手续费支出",
  30309. "type": "number"
  30310. },
  30311. "relateduserid": {
  30312. "description": "关联用户",
  30313. "type": "integer"
  30314. },
  30315. "signstatus": {
  30316. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  30317. "type": "integer"
  30318. },
  30319. "sublevelpath": {
  30320. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  30321. "type": "string"
  30322. },
  30323. "taaccounttype": {
  30324. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  30325. "type": "integer"
  30326. },
  30327. "thirdinamount": {
  30328. "description": "今日三方入金",
  30329. "type": "number"
  30330. },
  30331. "thirdoutamount": {
  30332. "description": "今日三方出金",
  30333. "type": "number"
  30334. },
  30335. "tradestatus": {
  30336. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30337. "type": "integer"
  30338. },
  30339. "transferamount": {
  30340. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  30341. "type": "number"
  30342. },
  30343. "usedmargin": {
  30344. "description": "占用保证金",
  30345. "type": "number"
  30346. },
  30347. "userid": {
  30348. "description": "用户ID",
  30349. "type": "integer"
  30350. }
  30351. }
  30352. },
  30353. "models.ErmcpTaAccountM": {
  30354. "type": "object",
  30355. "properties": {
  30356. "accountid": {
  30357. "description": "账户id",
  30358. "type": "integer"
  30359. },
  30360. "accountname": {
  30361. "description": "账户名称",
  30362. "type": "string"
  30363. },
  30364. "currencyid": {
  30365. "description": "币种id",
  30366. "type": "integer"
  30367. },
  30368. "fcid": {
  30369. "description": "期货公司id",
  30370. "type": "integer"
  30371. },
  30372. "fcname": {
  30373. "description": "期货公司代码",
  30374. "type": "string"
  30375. },
  30376. "hedgeaccountcode": {
  30377. "description": "主账号登录代码(仅当是主账号时有值,子账号没有登录账号)",
  30378. "type": "string"
  30379. },
  30380. "ismain": {
  30381. "description": "是否主账户 0-否 1-是",
  30382. "type": "integer"
  30383. },
  30384. "parentaccountid": {
  30385. "description": "父账户id",
  30386. "type": "integer"
  30387. },
  30388. "relateduserid": {
  30389. "description": "关联userid",
  30390. "type": "integer"
  30391. },
  30392. "tradefeetmpid": {
  30393. "description": "手续费模板id",
  30394. "type": "integer"
  30395. },
  30396. "tradefeetmpname": {
  30397. "description": "手续费模板名称",
  30398. "type": "string"
  30399. },
  30400. "trademargintmpid": {
  30401. "description": "保证金模板id",
  30402. "type": "integer"
  30403. },
  30404. "trademargintmpname": {
  30405. "description": "保证金模板名称",
  30406. "type": "string"
  30407. },
  30408. "traderatetmpid": {
  30409. "description": "汇率模板id",
  30410. "type": "integer"
  30411. },
  30412. "traderatetmpname": {
  30413. "description": "汇率模板名称",
  30414. "type": "string"
  30415. },
  30416. "tradestatus": {
  30417. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  30418. "type": "integer"
  30419. },
  30420. "userid": {
  30421. "description": "用户id",
  30422. "type": "integer"
  30423. }
  30424. }
  30425. },
  30426. "models.ErmcpTradeConfigTMP": {
  30427. "type": "object",
  30428. "properties": {
  30429. "areauserid": {
  30430. "description": "所属机构",
  30431. "type": "integer"
  30432. },
  30433. "basiccurrencyid": {
  30434. "description": "基本币种ID[汇率] - 目标币种",
  30435. "type": "integer"
  30436. },
  30437. "mainaccountid": {
  30438. "description": "主账户ID",
  30439. "type": "integer"
  30440. },
  30441. "modifierid": {
  30442. "description": "修改人",
  30443. "type": "integer"
  30444. },
  30445. "remark": {
  30446. "description": "备注",
  30447. "type": "string"
  30448. },
  30449. "tradeconfigtmpid": {
  30450. "description": "交易配置模板ID(SEQ_TRADECONFIGTMP)",
  30451. "type": "integer"
  30452. },
  30453. "tradeconfigtmpname": {
  30454. "description": "交易配置模板名称",
  30455. "type": "string"
  30456. },
  30457. "tradeconfigtmptype": {
  30458. "description": "交易配置模板类型 - 1:保证金 2:手续费 3:汇率",
  30459. "type": "integer"
  30460. },
  30461. "updatetime": {
  30462. "description": "更新时间",
  30463. "type": "string"
  30464. }
  30465. }
  30466. },
  30467. "models.Ermcpjrlinkpos": {
  30468. "type": "object",
  30469. "required": [
  30470. "spotcontractid"
  30471. ],
  30472. "properties": {
  30473. "areauserid": {
  30474. "description": "所属企业",
  30475. "type": "integer"
  30476. },
  30477. "averageprice": {
  30478. "description": "持仓均价 (TotalBuyHoldAmount - TotalSellHoldAmount) / NetQty",
  30479. "type": "number"
  30480. },
  30481. "closepl": {
  30482. "description": "总平仓盈亏 [期货损益]",
  30483. "type": "number"
  30484. },
  30485. "executeprice": {
  30486. "description": "执行价 - 1:期货单 为 0",
  30487. "type": "integer"
  30488. },
  30489. "futurehedgeqty": {
  30490. "description": "期货套期量",
  30491. "type": "number"
  30492. },
  30493. "goodsid": {
  30494. "description": "期货合约",
  30495. "type": "integer"
  30496. },
  30497. "middlegoodscode": {
  30498. "description": "套保商品代码",
  30499. "type": "string"
  30500. },
  30501. "middlegoodsname": {
  30502. "description": "套保商品名称",
  30503. "type": "string"
  30504. },
  30505. "netqty": {
  30506. "description": "净头寸",
  30507. "type": "number"
  30508. },
  30509. "optioncode": {
  30510. "description": "期权代码",
  30511. "type": "string"
  30512. },
  30513. "ordertype": {
  30514. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  30515. "type": "integer"
  30516. },
  30517. "reckonpl": {
  30518. "description": "总盈亏(平仓盈亏 + 结算盈亏 - 手续费)",
  30519. "type": "number"
  30520. },
  30521. "spotcontractid": {
  30522. "description": "现货ID [套期项目ID - 金瑞:合同\\虚拟合同ID",
  30523. "type": "string"
  30524. },
  30525. "todayfutureclosepl": {
  30526. "description": "今日平仓盈亏",
  30527. "type": "number"
  30528. },
  30529. "totalbuyamount": {
  30530. "description": "买金额 [期货]",
  30531. "type": "number"
  30532. },
  30533. "totalbuyholdamount": {
  30534. "description": "买持仓总金额[期货]",
  30535. "type": "number"
  30536. },
  30537. "totalbuyqty": {
  30538. "description": "买数量",
  30539. "type": "number"
  30540. },
  30541. "totalcharge": {
  30542. "description": "手续费",
  30543. "type": "number"
  30544. },
  30545. "totalpremium": {
  30546. "description": "权利金 [期权]",
  30547. "type": "number"
  30548. },
  30549. "totalsellamount": {
  30550. "description": "卖金额 [期货]",
  30551. "type": "number"
  30552. },
  30553. "totalsellholdamount": {
  30554. "description": "卖持仓总金额[期货]",
  30555. "type": "number"
  30556. },
  30557. "totalsellqty": {
  30558. "description": "卖数量",
  30559. "type": "number"
  30560. },
  30561. "updatetime": {
  30562. "description": "更新时间",
  30563. "type": "string"
  30564. }
  30565. }
  30566. },
  30567. "models.Ermcppatradelinkdetail": {
  30568. "type": "object",
  30569. "required": [
  30570. "hedgeditemid"
  30571. ],
  30572. "properties": {
  30573. "agreeunit": {
  30574. "description": "合约乘数",
  30575. "type": "number"
  30576. },
  30577. "amount": {
  30578. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  30579. "type": "number"
  30580. },
  30581. "areauserid": {
  30582. "description": "所属机构",
  30583. "type": "integer"
  30584. },
  30585. "bizsubjectid": {
  30586. "description": "归属业务部门ID - SubjectID",
  30587. "type": "integer"
  30588. },
  30589. "buyorsell": {
  30590. "description": "方向 - 0:买 1:卖",
  30591. "type": "integer"
  30592. },
  30593. "convertratio": {
  30594. "description": "品种系数",
  30595. "type": "number"
  30596. },
  30597. "createtime": {
  30598. "description": "创建时间",
  30599. "type": "string"
  30600. },
  30601. "creatorid": {
  30602. "description": "创建人ID",
  30603. "type": "integer"
  30604. },
  30605. "creatorsrc": {
  30606. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  30607. "type": "integer"
  30608. },
  30609. "goodsgroupid": {
  30610. "description": "对冲品种ID[期货合约商品组ID]",
  30611. "type": "integer"
  30612. },
  30613. "goodsid": {
  30614. "description": "商品ID",
  30615. "type": "integer"
  30616. },
  30617. "hedgeditemid": {
  30618. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  30619. "type": "integer"
  30620. },
  30621. "hedgeflag": {
  30622. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  30623. "type": "integer"
  30624. },
  30625. "linkdetailid": {
  30626. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  30627. "type": "string"
  30628. },
  30629. "linkstatus": {
  30630. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  30631. "type": "integer"
  30632. },
  30633. "middlegoodsid": {
  30634. "description": "套保品种ID",
  30635. "type": "integer"
  30636. },
  30637. "name": {
  30638. "description": "账户名/子账户",
  30639. "type": "string"
  30640. },
  30641. "optioncode": {
  30642. "description": "[期货合约]期权代码 [期权]",
  30643. "type": "string"
  30644. },
  30645. "ordertype": {
  30646. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  30647. "type": "integer"
  30648. },
  30649. "relatedlot": {
  30650. "description": "[数量]关联手数",
  30651. "type": "number"
  30652. },
  30653. "relatedmode": {
  30654. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  30655. "type": "integer"
  30656. },
  30657. "relatedqty": {
  30658. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  30659. "type": "number"
  30660. },
  30661. "retcode": {
  30662. "description": "返回码",
  30663. "type": "integer"
  30664. },
  30665. "saleuserid": {
  30666. "description": "业务员ID",
  30667. "type": "integer"
  30668. },
  30669. "tradedate": {
  30670. "description": "关联交易日(yyyyMMdd)",
  30671. "type": "string"
  30672. },
  30673. "tradeid": {
  30674. "description": "[成交单号]内部成交单ID",
  30675. "type": "string"
  30676. },
  30677. "tradelot": {
  30678. "description": "成交手数",
  30679. "type": "integer"
  30680. },
  30681. "tradeprice": {
  30682. "description": "[价格]成交价格",
  30683. "type": "number"
  30684. },
  30685. "tradetime": {
  30686. "description": "日期时间",
  30687. "type": "string"
  30688. },
  30689. "tradetradedate": {
  30690. "description": "成交交易日(yyyyMMdd)",
  30691. "type": "string"
  30692. }
  30693. }
  30694. },
  30695. "models.Exchangerateconfig": {
  30696. "type": "object",
  30697. "properties": {
  30698. "descurrencyid": {
  30699. "description": "目标币种ID",
  30700. "type": "integer"
  30701. },
  30702. "exchangerate": {
  30703. "description": "汇率",
  30704. "type": "number"
  30705. },
  30706. "oricurrencyid": {
  30707. "description": "源币种ID",
  30708. "type": "integer"
  30709. },
  30710. "remark": {
  30711. "description": "备注",
  30712. "type": "string"
  30713. }
  30714. }
  30715. },
  30716. "models.Externalexchange": {
  30717. "type": "object",
  30718. "required": [
  30719. "autoid"
  30720. ],
  30721. "properties": {
  30722. "autoid": {
  30723. "description": "AutoID - SEQ_EXTERNALEXCHANGE",
  30724. "type": "integer"
  30725. },
  30726. "exchangefullname": {
  30727. "description": "外部交易所全称",
  30728. "type": "string"
  30729. },
  30730. "exexchangecode": {
  30731. "description": "外部交易所代码",
  30732. "type": "string"
  30733. },
  30734. "exexchangename": {
  30735. "description": "外部交易所名称(简称)",
  30736. "type": "string"
  30737. },
  30738. "ismarketprice": {
  30739. "description": "是否支持市价 - 0:不支持 1:支持",
  30740. "type": "integer"
  30741. },
  30742. "quotegear": {
  30743. "description": "行情档位(1-10)",
  30744. "type": "integer"
  30745. },
  30746. "showbrokerflag": {
  30747. "description": "是否显示买卖经纪盘 - 0:不显示 1:显示",
  30748. "type": "integer"
  30749. },
  30750. "updatetime": {
  30751. "description": "更新时间",
  30752. "type": "string"
  30753. }
  30754. }
  30755. },
  30756. "models.Funcmenulist": {
  30757. "type": "object",
  30758. "required": [
  30759. "resourcecode"
  30760. ],
  30761. "properties": {
  30762. "iconame": {
  30763. "description": "菜单图标",
  30764. "type": "string"
  30765. },
  30766. "menutype": {
  30767. "description": "菜单类型 1-管理端 2-交易端 3-终端权限",
  30768. "type": "integer"
  30769. },
  30770. "parentcode": {
  30771. "description": "上级资源代码",
  30772. "type": "string"
  30773. },
  30774. "remark": {
  30775. "description": "备注",
  30776. "type": "string"
  30777. },
  30778. "resourcecode": {
  30779. "description": "资源代码",
  30780. "type": "string"
  30781. },
  30782. "resourcelevel": {
  30783. "description": "级别 1-一级 2-二级 3-三级 4-四级",
  30784. "type": "integer"
  30785. },
  30786. "resourcename": {
  30787. "description": "资源名",
  30788. "type": "string"
  30789. },
  30790. "sort": {
  30791. "description": "排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序",
  30792. "type": "integer"
  30793. },
  30794. "url": {
  30795. "description": "URL",
  30796. "type": "string"
  30797. }
  30798. }
  30799. },
  30800. "models.GErmcpspotgoodsprice": {
  30801. "type": "object",
  30802. "properties": {
  30803. "chg": {
  30804. "description": "涨跌幅",
  30805. "type": "string"
  30806. },
  30807. "currencyid": {
  30808. "description": "报价货币ID",
  30809. "type": "integer"
  30810. },
  30811. "deliverygoodsid": {
  30812. "description": "现货品种ID",
  30813. "type": "integer"
  30814. },
  30815. "prespotgoodsprice": {
  30816. "description": "上日价格",
  30817. "type": "number"
  30818. },
  30819. "spotgoodsbrandid": {
  30820. "description": "现货品牌ID(通用则为0, 不为0则须先有商品ID)",
  30821. "type": "integer"
  30822. },
  30823. "spotgoodsprice": {
  30824. "description": "【最新价】当前价格",
  30825. "type": "number"
  30826. },
  30827. "srcmarketname": {
  30828. "description": "来源市场名称",
  30829. "type": "string"
  30830. },
  30831. "todaypricedtotalamount": {
  30832. "description": "今日定价金额",
  30833. "type": "number"
  30834. },
  30835. "todaypricedtotalqty": {
  30836. "description": "今日定价总量",
  30837. "type": "number"
  30838. },
  30839. "todayspotgoodsprice": {
  30840. "description": "今日指定价",
  30841. "type": "number"
  30842. },
  30843. "tradedate": {
  30844. "description": "【日期】交易日",
  30845. "type": "string"
  30846. },
  30847. "wrstandardcode": {
  30848. "description": "现货商品代码",
  30849. "type": "string"
  30850. },
  30851. "wrstandardid": {
  30852. "description": "现货商品ID(通用则为0)",
  30853. "type": "integer"
  30854. },
  30855. "wrstandardname": {
  30856. "description": "【名称】现货商品名称",
  30857. "type": "string"
  30858. },
  30859. "ystspotgoodsprice": {
  30860. "description": "昨价",
  30861. "type": "number"
  30862. }
  30863. }
  30864. },
  30865. "models.GThjuserscorelog": {
  30866. "type": "object",
  30867. "properties": {
  30868. "createtime": {
  30869. "description": "记账时间",
  30870. "type": "string"
  30871. },
  30872. "redpacketvalue": {
  30873. "description": "红包值【抽奖】",
  30874. "type": "number"
  30875. },
  30876. "score": {
  30877. "description": "变动积分",
  30878. "type": "number"
  30879. },
  30880. "scoreconfigtype": {
  30881. "description": "配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  30882. "type": "integer"
  30883. },
  30884. "stype": {
  30885. "description": "[格式:1,2,3] 配置类型 - 1:注册红包 2:签到积分 3:推广积分 4:下级用户下单积分 5:自己采购下单积分 6:自己供求下单积分 7:抽奖配置",
  30886. "type": "string"
  30887. }
  30888. }
  30889. },
  30890. "models.GZGoods": {
  30891. "type": "object",
  30892. "required": [
  30893. "goodsno"
  30894. ],
  30895. "properties": {
  30896. "address": {
  30897. "description": "详细地址",
  30898. "type": "string"
  30899. },
  30900. "cerno": {
  30901. "description": "证书编号 - 类型:2,4,5",
  30902. "type": "string"
  30903. },
  30904. "cityname": {
  30905. "description": "城市名称",
  30906. "type": "string"
  30907. },
  30908. "countryname": {
  30909. "description": "国家名称",
  30910. "type": "string"
  30911. },
  30912. "cpcertno": {
  30913. "description": "金伯利证书编号 - 类型:3",
  30914. "type": "string"
  30915. },
  30916. "districtname": {
  30917. "description": "地区名称",
  30918. "type": "string"
  30919. },
  30920. "goodsno": {
  30921. "description": "商品编号",
  30922. "type": "string"
  30923. },
  30924. "imagepath": {
  30925. "description": "商品照片(相对地址)",
  30926. "type": "string"
  30927. },
  30928. "isvalid": {
  30929. "description": "是否有效 - 0:无效 1:有效",
  30930. "type": "integer"
  30931. },
  30932. "kppath": {
  30933. "description": "金伯利证书图片(相对地址) - 类型:3",
  30934. "type": "string"
  30935. },
  30936. "kpweight": {
  30937. "description": "金伯利证书重量 - 类型:3",
  30938. "type": "string"
  30939. },
  30940. "marketprice": {
  30941. "description": "市场价",
  30942. "type": "string"
  30943. },
  30944. "mobile": {
  30945. "description": "手机号码",
  30946. "type": "string"
  30947. },
  30948. "origin": {
  30949. "description": "原产地 - 类型:3",
  30950. "type": "string"
  30951. },
  30952. "performancetemplateid": {
  30953. "description": "履约计划模板ID",
  30954. "type": "integer"
  30955. },
  30956. "price": {
  30957. "description": "总价(价格) - 类型:1,2,3,4,5",
  30958. "type": "number"
  30959. },
  30960. "priceper": {
  30961. "description": "克拉单价 - 类型:1,2,3,5",
  30962. "type": "string"
  30963. },
  30964. "provincename": {
  30965. "description": "省名称",
  30966. "type": "string"
  30967. },
  30968. "remainqty": {
  30969. "description": "剩余重量",
  30970. "type": "number"
  30971. },
  30972. "remark": {
  30973. "description": "备注",
  30974. "type": "string"
  30975. },
  30976. "sellusername": {
  30977. "description": "账户名称(机构名称)",
  30978. "type": "string"
  30979. },
  30980. "settingmaterial": {
  30981. "description": "镶嵌材料 - 类型:4",
  30982. "type": "string"
  30983. },
  30984. "size1": {
  30985. "description": "尺寸1 - 类型:2,4,5",
  30986. "type": "string"
  30987. },
  30988. "size2": {
  30989. "description": "尺寸2 - 类型:2,4,5",
  30990. "type": "string"
  30991. },
  30992. "size3": {
  30993. "description": "尺寸3 - 类型:2,4,5",
  30994. "type": "string"
  30995. },
  30996. "sizedisplay": {
  30997. "description": "尺寸",
  30998. "type": "string"
  30999. },
  31000. "stonedesc": {
  31001. "description": "配石描述 - 类型:4",
  31002. "type": "string"
  31003. },
  31004. "userid": {
  31005. "description": "用户ID",
  31006. "type": "integer"
  31007. },
  31008. "warehouseid": {
  31009. "description": "仓库ID",
  31010. "type": "integer"
  31011. },
  31012. "warehousenamedisplay": {
  31013. "type": "string"
  31014. },
  31015. "weight": {
  31016. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  31017. "type": "number"
  31018. },
  31019. "weightavg": {
  31020. "description": "平均单颗重量 - 类型:1,3",
  31021. "type": "number"
  31022. },
  31023. "wrpath": {
  31024. "description": "仓单扫描件(相对地址)",
  31025. "type": "string"
  31026. },
  31027. "wrstandardid": {
  31028. "description": "现货商品ID",
  31029. "type": "integer"
  31030. },
  31031. "wrtradeorderid": {
  31032. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  31033. "type": "string"
  31034. },
  31035. "zscategory": {
  31036. "description": "钻石分类 - 枚举”ZSCategory“",
  31037. "type": "integer"
  31038. },
  31039. "zscategorydisplay": {
  31040. "type": "string"
  31041. },
  31042. "zscerttype": {
  31043. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  31044. "type": "integer"
  31045. },
  31046. "zscerttypedisplay": {
  31047. "type": "string"
  31048. },
  31049. "zsclaritytype1": {
  31050. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  31051. "type": "integer"
  31052. },
  31053. "zsclaritytype1display": {
  31054. "type": "string"
  31055. },
  31056. "zsclaritytype2": {
  31057. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  31058. "type": "integer"
  31059. },
  31060. "zsclaritytype2display": {
  31061. "type": "string"
  31062. },
  31063. "zscolortype1": {
  31064. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  31065. "type": "integer"
  31066. },
  31067. "zscolortype1display": {
  31068. "type": "string"
  31069. },
  31070. "zscolortype2": {
  31071. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  31072. "type": "integer"
  31073. },
  31074. "zscolortype2display": {
  31075. "type": "string"
  31076. },
  31077. "zscrystaltype": {
  31078. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  31079. "type": "string"
  31080. },
  31081. "zscrystaltypedisplay": {
  31082. "type": "string"
  31083. },
  31084. "zscurrencytype": {
  31085. "description": "货币类型 - 枚举“ZSCurrencyType”",
  31086. "type": "integer"
  31087. },
  31088. "zscurrencytypedisplay": {
  31089. "type": "string"
  31090. },
  31091. "zscurrencytypedisplayunit": {
  31092. "type": "string"
  31093. },
  31094. "zscuttype1": {
  31095. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  31096. "type": "integer"
  31097. },
  31098. "zscuttype1display": {
  31099. "type": "string"
  31100. },
  31101. "zscuttype2": {
  31102. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  31103. "type": "integer"
  31104. },
  31105. "zscuttype2display": {
  31106. "type": "string"
  31107. },
  31108. "zsczcolor1type": {
  31109. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  31110. "type": "integer"
  31111. },
  31112. "zsczcolor1typedisplay": {
  31113. "type": "string"
  31114. },
  31115. "zsczcolor2type": {
  31116. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  31117. "type": "integer"
  31118. },
  31119. "zsczcolor2typedisplay": {
  31120. "type": "string"
  31121. },
  31122. "zsczcolor3type": {
  31123. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  31124. "type": "integer"
  31125. },
  31126. "zsczcolor3typedisplay": {
  31127. "type": "string"
  31128. },
  31129. "zsfluorescencetype1": {
  31130. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  31131. "type": "integer"
  31132. },
  31133. "zsfluorescencetype1display": {
  31134. "type": "string"
  31135. },
  31136. "zsfluorescencetype2": {
  31137. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  31138. "type": "integer"
  31139. },
  31140. "zsfluorescencetype2display": {
  31141. "type": "string"
  31142. },
  31143. "zspolishtype1": {
  31144. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  31145. "type": "integer"
  31146. },
  31147. "zspolishtype1display": {
  31148. "type": "string"
  31149. },
  31150. "zspolishtype2": {
  31151. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  31152. "type": "integer"
  31153. },
  31154. "zspolishtype2display": {
  31155. "type": "string"
  31156. },
  31157. "zsshapetype": {
  31158. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  31159. "type": "string"
  31160. },
  31161. "zsshapetypedisplay": {
  31162. "type": "string"
  31163. },
  31164. "zsstyletype": {
  31165. "description": "款式 - 类型:4",
  31166. "type": "integer"
  31167. },
  31168. "zsstyletypedisplay": {
  31169. "type": "string"
  31170. },
  31171. "zssymmetrytype1": {
  31172. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  31173. "type": "integer"
  31174. },
  31175. "zssymmetrytype1display": {
  31176. "type": "string"
  31177. },
  31178. "zssymmetrytype2": {
  31179. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  31180. "type": "integer"
  31181. },
  31182. "zssymmetrytype2display": {
  31183. "type": "string"
  31184. }
  31185. }
  31186. },
  31187. "models.GZHomeData": {
  31188. "type": "object",
  31189. "properties": {
  31190. "purchasedtransactions": {
  31191. "description": "已购买的交易",
  31192. "type": "integer"
  31193. },
  31194. "transactioninpurchase": {
  31195. "description": "求购中的交易",
  31196. "type": "integer"
  31197. },
  31198. "transactionsonsale": {
  31199. "description": "出售中的交易",
  31200. "type": "integer"
  31201. },
  31202. "transactionssold": {
  31203. "description": "已卖出的交易",
  31204. "type": "integer"
  31205. },
  31206. "unhandledmessage": {
  31207. "description": "未处理消息",
  31208. "type": "integer"
  31209. }
  31210. }
  31211. },
  31212. "models.GZWarehouseinfo": {
  31213. "type": "object",
  31214. "properties": {
  31215. "address": {
  31216. "description": "详细地址",
  31217. "type": "string"
  31218. },
  31219. "areauserid": {
  31220. "description": "所属机构",
  31221. "type": "integer"
  31222. },
  31223. "autoid": {
  31224. "description": "自增ID",
  31225. "type": "integer"
  31226. },
  31227. "cityid": {
  31228. "description": "市",
  31229. "type": "integer"
  31230. },
  31231. "cityname": {
  31232. "description": "城市名称",
  31233. "type": "string"
  31234. },
  31235. "contactname": {
  31236. "description": "联系人",
  31237. "type": "string"
  31238. },
  31239. "contactnum": {
  31240. "description": "联系电话",
  31241. "type": "string"
  31242. },
  31243. "countryid": {
  31244. "description": "国家",
  31245. "type": "integer"
  31246. },
  31247. "countryname": {
  31248. "description": "国家名称",
  31249. "type": "string"
  31250. },
  31251. "createtime": {
  31252. "description": "创建时间",
  31253. "type": "string"
  31254. },
  31255. "districtid": {
  31256. "description": "区",
  31257. "type": "integer"
  31258. },
  31259. "districtname": {
  31260. "description": "地区名称",
  31261. "type": "string"
  31262. },
  31263. "hasvideo": {
  31264. "description": "是否有视频 - 0:无 1:有",
  31265. "type": "integer"
  31266. },
  31267. "provinceid": {
  31268. "description": "省",
  31269. "type": "integer"
  31270. },
  31271. "provincename": {
  31272. "description": "省名称",
  31273. "type": "string"
  31274. },
  31275. "remark": {
  31276. "description": "审核备注",
  31277. "type": "string"
  31278. },
  31279. "videourl": {
  31280. "description": "视频地址",
  31281. "type": "string"
  31282. },
  31283. "warehousecode": {
  31284. "description": "仓库代码",
  31285. "type": "string"
  31286. },
  31287. "warehousename": {
  31288. "description": "仓库名称",
  31289. "type": "string"
  31290. },
  31291. "warehousestatus": {
  31292. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  31293. "type": "integer"
  31294. },
  31295. "warehousetype": {
  31296. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  31297. "type": "integer"
  31298. }
  31299. }
  31300. },
  31301. "models.Goods": {
  31302. "type": "object",
  31303. "required": [
  31304. "goodscode",
  31305. "goodsid",
  31306. "goodsname",
  31307. "marketid"
  31308. ],
  31309. "properties": {
  31310. "agreeunit": {
  31311. "description": "合约单位",
  31312. "type": "number"
  31313. },
  31314. "areauserid": {
  31315. "description": "所属机构",
  31316. "type": "integer"
  31317. },
  31318. "auditaccountid": {
  31319. "description": "审核操作员账号",
  31320. "type": "integer"
  31321. },
  31322. "audittime": {
  31323. "description": "审核时间",
  31324. "type": "string"
  31325. },
  31326. "cancelaccountid": {
  31327. "description": "注销操作员账号",
  31328. "type": "integer"
  31329. },
  31330. "canceltime": {
  31331. "description": "注销时间",
  31332. "type": "string"
  31333. },
  31334. "closepricemode": {
  31335. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  31336. "type": "integer"
  31337. },
  31338. "closepriceparam": {
  31339. "description": "强平最新价浮动比例 - 方式为2时使用 (\u003c1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价",
  31340. "type": "number"
  31341. },
  31342. "createtime": {
  31343. "description": "创建时间",
  31344. "type": "string"
  31345. },
  31346. "creatorid": {
  31347. "description": "创建人",
  31348. "type": "integer"
  31349. },
  31350. "currencyid": {
  31351. "description": "报价货币ID",
  31352. "type": "integer"
  31353. },
  31354. "cutmode": {
  31355. "description": "斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓",
  31356. "type": "integer"
  31357. },
  31358. "decimalplace": {
  31359. "description": "报价小数位",
  31360. "type": "integer"
  31361. },
  31362. "delistingdate": {
  31363. "description": "商品退市时间(状态:退市) -- 已作废",
  31364. "type": "string"
  31365. },
  31366. "delistingmode": {
  31367. "description": "退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\\币币兑换)",
  31368. "type": "integer"
  31369. },
  31370. "deliveryflag": {
  31371. "description": "交割标志 - 0:不可交割 1:可交割",
  31372. "type": "integer"
  31373. },
  31374. "forceclosemode": {
  31375. "description": "定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]",
  31376. "type": "integer"
  31377. },
  31378. "forceclosevalue": {
  31379. "description": "定期强平参数 [收益权]",
  31380. "type": "integer"
  31381. },
  31382. "goodscode": {
  31383. "description": "商品代码(内部)",
  31384. "type": "string"
  31385. },
  31386. "goodscurrencyid": {
  31387. "description": "合约货币ID",
  31388. "type": "integer"
  31389. },
  31390. "goodsgroupid": {
  31391. "description": "所属商品组ID",
  31392. "type": "integer"
  31393. },
  31394. "goodsid": {
  31395. "description": "商品ID(自增ID SEQ_GOODS)",
  31396. "type": "integer"
  31397. },
  31398. "goodsname": {
  31399. "description": "商品名称",
  31400. "type": "string"
  31401. },
  31402. "goodsquotetype": {
  31403. "description": "合约报价类型: 1-直接报价 2-间接报价",
  31404. "type": "integer"
  31405. },
  31406. "goodsstatus": {
  31407. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  31408. "type": "integer"
  31409. },
  31410. "goodstradetype": {
  31411. "description": "商品交易权限类型 - 1:可建可平 3:不可建可平",
  31412. "type": "integer"
  31413. },
  31414. "goodunitid": {
  31415. "description": "报价单位ID",
  31416. "type": "integer"
  31417. },
  31418. "hasquoter": {
  31419. "description": "是否有报价商 - 0:无报价商 1:有报价商",
  31420. "type": "integer"
  31421. },
  31422. "hqprotecttime": {
  31423. "description": "行情保护时间(秒)",
  31424. "type": "integer"
  31425. },
  31426. "innerdealmode": {
  31427. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  31428. "type": "integer"
  31429. },
  31430. "isbuylimited": {
  31431. "description": "是否限制建仓量 - 0:不限制 1:限制",
  31432. "type": "integer"
  31433. },
  31434. "isvisible": {
  31435. "description": "游客是否可见 - 0:不可见 1:可见",
  31436. "type": "integer"
  31437. },
  31438. "lasttradedate": {
  31439. "description": "最后交易日期(状态:待退市)",
  31440. "type": "string"
  31441. },
  31442. "listingdate": {
  31443. "description": "交易开始日期",
  31444. "type": "string"
  31445. },
  31446. "marketid": {
  31447. "description": "所属市场ID",
  31448. "type": "integer"
  31449. },
  31450. "modifierid": {
  31451. "description": "修改人",
  31452. "type": "integer"
  31453. },
  31454. "modifystatus": {
  31455. "description": "变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核",
  31456. "type": "integer"
  31457. },
  31458. "modifytime": {
  31459. "description": "修改时间",
  31460. "type": "string"
  31461. },
  31462. "outerdealmode": {
  31463. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  31464. "type": "integer"
  31465. },
  31466. "outgoodscode": {
  31467. "description": "商品代码(外部)",
  31468. "type": "string"
  31469. },
  31470. "pictureurl": {
  31471. "description": "商品图片",
  31472. "type": "string"
  31473. },
  31474. "qtydecimalplace": {
  31475. "description": "成交量小数位",
  31476. "type": "integer"
  31477. },
  31478. "quotegear": {
  31479. "description": "行情档位(1-10)",
  31480. "type": "integer"
  31481. },
  31482. "quoteminunit": {
  31483. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31484. "type": "integer"
  31485. },
  31486. "quoteshowtype": {
  31487. "description": "行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价",
  31488. "type": "integer"
  31489. },
  31490. "quoteshowtypeinterval": {
  31491. "description": "行情报价间隔时间(秒)(成交价时为0)",
  31492. "type": "integer"
  31493. },
  31494. "remark": {
  31495. "description": "备注",
  31496. "type": "string"
  31497. }
  31498. }
  31499. },
  31500. "models.GoodsIDAndName": {
  31501. "type": "object",
  31502. "required": [
  31503. "goodscode",
  31504. "goodsid",
  31505. "goodsname",
  31506. "marketid"
  31507. ],
  31508. "properties": {
  31509. "goodscode": {
  31510. "description": "商品代码(内部)",
  31511. "type": "string"
  31512. },
  31513. "goodsid": {
  31514. "description": "商品ID(自增ID SEQ_GOODS)",
  31515. "type": "integer"
  31516. },
  31517. "goodsname": {
  31518. "description": "商品名称",
  31519. "type": "string"
  31520. },
  31521. "marketid": {
  31522. "description": "所属市场ID",
  31523. "type": "integer"
  31524. }
  31525. }
  31526. },
  31527. "models.Goodsgroup": {
  31528. "type": "object",
  31529. "required": [
  31530. "goodsgroupid",
  31531. "goodsgroupname",
  31532. "goodsgroupstatus",
  31533. "marketid"
  31534. ],
  31535. "properties": {
  31536. "agreeunit": {
  31537. "description": "合约单位",
  31538. "type": "number"
  31539. },
  31540. "canshort": {
  31541. "description": "是否允许做空[通道交易] - 0:不能做空 1:可以做空",
  31542. "type": "integer"
  31543. },
  31544. "closepricemode": {
  31545. "description": "强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)",
  31546. "type": "integer"
  31547. },
  31548. "closepriceparam": {
  31549. "description": "强平最新价浮动比例 - 方式为2时使用",
  31550. "type": "number"
  31551. },
  31552. "createtime": {
  31553. "description": "创建时间",
  31554. "type": "string"
  31555. },
  31556. "creatorid": {
  31557. "description": "创建人",
  31558. "type": "integer"
  31559. },
  31560. "currencyid": {
  31561. "description": "报价货币ID",
  31562. "type": "integer"
  31563. },
  31564. "decimalplace": {
  31565. "description": "报价小数位",
  31566. "type": "integer"
  31567. },
  31568. "exercisetype": {
  31569. "description": "行权类型[场外期权]-1:欧式期权 2:美式期权",
  31570. "type": "integer"
  31571. },
  31572. "exexchangeid": {
  31573. "description": "外部交易所ID[通道交易]",
  31574. "type": "integer"
  31575. },
  31576. "goodsgroupid": {
  31577. "description": "商品组ID(自增ID)",
  31578. "type": "integer"
  31579. },
  31580. "goodsgroupname": {
  31581. "description": "商品组名称",
  31582. "type": "string"
  31583. },
  31584. "goodsgroupstatus": {
  31585. "description": "商品组状态 - 1:正常 2:注销",
  31586. "type": "integer"
  31587. },
  31588. "goodunitid": {
  31589. "description": "报价单位ID",
  31590. "type": "integer"
  31591. },
  31592. "innerdealmode": {
  31593. "description": "内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今",
  31594. "type": "integer"
  31595. },
  31596. "isbuylimited": {
  31597. "description": "是否限制建仓量 - 0:不限制 1:限制",
  31598. "type": "integer"
  31599. },
  31600. "marketid": {
  31601. "description": "所属市场ID",
  31602. "type": "integer"
  31603. },
  31604. "modifierid": {
  31605. "description": "修改人",
  31606. "type": "integer"
  31607. },
  31608. "modifytime": {
  31609. "description": "修改时间",
  31610. "type": "string"
  31611. },
  31612. "outerdealmode": {
  31613. "description": "外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今",
  31614. "type": "integer"
  31615. },
  31616. "outergroupcode": {
  31617. "description": "外部商品组代码[通道交易]",
  31618. "type": "string"
  31619. },
  31620. "premiumdecimalplace": {
  31621. "description": "权利金小数位[场外期权]",
  31622. "type": "integer"
  31623. },
  31624. "premiumspreadalgorithm": {
  31625. "description": "权利金点差方式[场外期权] 1:比率 2:固定",
  31626. "type": "integer"
  31627. },
  31628. "premiumspreadvalue": {
  31629. "description": "权利金点差值[场外期权]",
  31630. "type": "number"
  31631. },
  31632. "qtydecimalplace": {
  31633. "description": "成交量小数位",
  31634. "type": "integer"
  31635. },
  31636. "quotegear": {
  31637. "description": "行情档位(1-10)",
  31638. "type": "integer"
  31639. },
  31640. "quoteminunit": {
  31641. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  31642. "type": "integer"
  31643. },
  31644. "quoterid": {
  31645. "description": "报价商ID[场外期权]",
  31646. "type": "integer"
  31647. },
  31648. "quotesourcegroupid": {
  31649. "description": "所属行情源分组ID[参考行情市场用\\通道交易]",
  31650. "type": "integer"
  31651. },
  31652. "syncgoodsqty": {
  31653. "description": "同步合约数[通道交易-投资管理用] - 0表示不限",
  31654. "type": "integer"
  31655. }
  31656. }
  31657. },
  31658. "models.Goodssortbypreposition": {
  31659. "type": "object",
  31660. "required": [
  31661. "goodscode",
  31662. "tradedate"
  31663. ],
  31664. "properties": {
  31665. "goodscode": {
  31666. "description": "合约代码 - 易盛接口:合约代码=品种代码+合约代码",
  31667. "type": "string"
  31668. },
  31669. "goodsgroupcode": {
  31670. "description": "品种代码",
  31671. "type": "string"
  31672. },
  31673. "prepositionqty": {
  31674. "description": "昨持仓量",
  31675. "type": "integer"
  31676. },
  31677. "sortindex": {
  31678. "description": "排序",
  31679. "type": "integer"
  31680. },
  31681. "tradedate": {
  31682. "description": "交易日",
  31683. "type": "string"
  31684. },
  31685. "updatetime": {
  31686. "description": "更新时间",
  31687. "type": "string"
  31688. }
  31689. }
  31690. },
  31691. "models.GzbsfworderM": {
  31692. "type": "object",
  31693. "required": [
  31694. "userid"
  31695. ],
  31696. "properties": {
  31697. "accountid": {
  31698. "description": "资金账户ID",
  31699. "type": "integer"
  31700. },
  31701. "addresscn": {
  31702. "description": "地址(中文)",
  31703. "type": "string"
  31704. },
  31705. "addressen": {
  31706. "description": "地址(英文)",
  31707. "type": "string"
  31708. },
  31709. "advanceamount": {
  31710. "description": "总预付款",
  31711. "type": "number"
  31712. },
  31713. "colorrange": {
  31714. "description": "颜色范围",
  31715. "type": "string"
  31716. },
  31717. "companynamecn": {
  31718. "description": "收货人(中文)",
  31719. "type": "string"
  31720. },
  31721. "companynameen": {
  31722. "description": "收货人(英文)",
  31723. "type": "string"
  31724. },
  31725. "contactfax": {
  31726. "description": "收货人传真",
  31727. "type": "string"
  31728. },
  31729. "contactname": {
  31730. "description": "收货人姓名",
  31731. "type": "string"
  31732. },
  31733. "contactphoneno": {
  31734. "description": "收货人电话",
  31735. "type": "string"
  31736. },
  31737. "contentrange": {
  31738. "description": "【内容】内容范围",
  31739. "type": "string"
  31740. },
  31741. "createtime": {
  31742. "description": "创建时间",
  31743. "type": "string"
  31744. },
  31745. "executestatus": {
  31746. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  31747. "type": "integer"
  31748. },
  31749. "gzbsdeliverytype": {
  31750. "description": "收货方式 - 枚举\"GZBSDeliveryType\"",
  31751. "type": "integer"
  31752. },
  31753. "gzbsstatus": {
  31754. "description": "单据状态(保税服务) - 枚举\"GZBSStatus\"",
  31755. "type": "integer"
  31756. },
  31757. "gzbsstatusdisplay": {
  31758. "description": "单据状态",
  31759. "type": "string"
  31760. },
  31761. "handlestatus": {
  31762. "description": "处理状态",
  31763. "type": "integer"
  31764. },
  31765. "orderdate": {
  31766. "description": "单据日期",
  31767. "type": "string"
  31768. },
  31769. "orderid": {
  31770. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31771. "type": "integer"
  31772. },
  31773. "orderno": {
  31774. "description": "单据编号 - GZDEBSFW+单据流水号",
  31775. "type": "string"
  31776. },
  31777. "ordersn": {
  31778. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  31779. "type": "string"
  31780. },
  31781. "origincountry": {
  31782. "description": "原产国",
  31783. "type": "string"
  31784. },
  31785. "otherlogistics": {
  31786. "description": "指定其它物流",
  31787. "type": "string"
  31788. },
  31789. "priceper": {
  31790. "description": "单价(美元/克拉) = 总值(美元) / 总净重(克拉)",
  31791. "type": "number"
  31792. },
  31793. "settleamount": {
  31794. "description": "总结算费用 - 实际扣除资金,不含税费保证金",
  31795. "type": "number"
  31796. },
  31797. "shaperange": {
  31798. "description": "形状范围",
  31799. "type": "string"
  31800. },
  31801. "taxmargin": {
  31802. "description": "税费保证金 - 确认结算费用时退回",
  31803. "type": "number"
  31804. },
  31805. "totalamount": {
  31806. "description": "总值(美元)",
  31807. "type": "number"
  31808. },
  31809. "totalgrossweightgm": {
  31810. "description": "总毛重(克)",
  31811. "type": "number"
  31812. },
  31813. "totalnetweightgm": {
  31814. "description": "总净重(克)",
  31815. "type": "number"
  31816. },
  31817. "totalnetweigthct": {
  31818. "description": "总净重(克拉)",
  31819. "type": "number"
  31820. },
  31821. "totalnumber": {
  31822. "description": "总粒数",
  31823. "type": "integer"
  31824. },
  31825. "userid": {
  31826. "description": "用户ID",
  31827. "type": "integer"
  31828. },
  31829. "weightrange": {
  31830. "description": "重量规格范围 - Min(NetWeigthCT)- Max(NetWeigthCT)",
  31831. "type": "string"
  31832. }
  31833. }
  31834. },
  31835. "models.GzbsfworderdetailM": {
  31836. "type": "object",
  31837. "properties": {
  31838. "colorinfo": {
  31839. "description": "彩钻信息",
  31840. "type": "string"
  31841. },
  31842. "createtime": {
  31843. "description": "创建时间",
  31844. "type": "string"
  31845. },
  31846. "grossweightgm": {
  31847. "description": "毛重(克)",
  31848. "type": "number"
  31849. },
  31850. "gzcjshape": {
  31851. "description": "形状(字符)",
  31852. "type": "string"
  31853. },
  31854. "netweigthct": {
  31855. "description": "净重(克拉)",
  31856. "type": "number"
  31857. },
  31858. "netweigthgm": {
  31859. "description": "净重(克)",
  31860. "type": "number"
  31861. },
  31862. "ordercontent": {
  31863. "description": "内容",
  31864. "type": "string"
  31865. },
  31866. "orderdetailid": {
  31867. "description": "单据明细ID(805+Unix秒时间戳(10位)+xxxxxx)",
  31868. "type": "integer"
  31869. },
  31870. "orderid": {
  31871. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31872. "type": "integer"
  31873. },
  31874. "orderindex": {
  31875. "description": "顺序",
  31876. "type": "integer"
  31877. },
  31878. "perprice": {
  31879. "description": "单价(美元/克拉) = 总值(美元) / 净重(克拉)",
  31880. "type": "number"
  31881. },
  31882. "remark": {
  31883. "description": "备注(其它)",
  31884. "type": "string"
  31885. },
  31886. "totalamount": {
  31887. "description": "总值(美元)",
  31888. "type": "number"
  31889. }
  31890. }
  31891. },
  31892. "models.Gzbsfworderoperate": {
  31893. "type": "object",
  31894. "required": [
  31895. "orderid"
  31896. ],
  31897. "properties": {
  31898. "advanceproofaddr": {
  31899. "description": "预付款收款凭证(确认结算费用时)",
  31900. "type": "string"
  31901. },
  31902. "bankfee": {
  31903. "description": "汇款银行手续费",
  31904. "type": "number"
  31905. },
  31906. "bankproofaddr": {
  31907. "description": "广钻汇款银行手续费凭证(确认结算费用时)",
  31908. "type": "string"
  31909. },
  31910. "customsproofaddr": {
  31911. "description": "海关税费保证金收据(确认结算费用时)",
  31912. "type": "string"
  31913. },
  31914. "gzbsstatus": {
  31915. "description": "操作后单据状态 - 枚举\"GZBSStatus\"",
  31916. "type": "integer"
  31917. },
  31918. "logisticsfee": {
  31919. "description": "代缴物流保险费",
  31920. "type": "number"
  31921. },
  31922. "logisticsproofaddr": {
  31923. "description": "代缴物流保险费凭证(确认结算费用时)",
  31924. "type": "string"
  31925. },
  31926. "operatetime": {
  31927. "description": "操作时间",
  31928. "type": "string"
  31929. },
  31930. "operatoraccount": {
  31931. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  31932. "type": "string"
  31933. },
  31934. "operatorid": {
  31935. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  31936. "type": "integer"
  31937. },
  31938. "operatorname": {
  31939. "description": "操作人名称 - systemmanager的username 或 loginaccount的logincode,无则用loginid",
  31940. "type": "string"
  31941. },
  31942. "operatorsrc": {
  31943. "description": "操作人来源 - 1:管理端 2:终端",
  31944. "type": "integer"
  31945. },
  31946. "orderid": {
  31947. "description": "单据ID(804+Unix秒时间戳(10位)+xxxxxx)",
  31948. "type": "integer"
  31949. },
  31950. "otherfee": {
  31951. "description": "其它费用",
  31952. "type": "number"
  31953. },
  31954. "remark": {
  31955. "description": "操作备注",
  31956. "type": "string"
  31957. },
  31958. "servicefee": {
  31959. "description": "综合服务费",
  31960. "type": "number"
  31961. },
  31962. "taxmargin": {
  31963. "description": "税费保证金",
  31964. "type": "number"
  31965. },
  31966. "totalfee": {
  31967. "description": "总费用 = 费用之和 (结算费用时不含税费保证金)",
  31968. "type": "number"
  31969. }
  31970. }
  31971. },
  31972. "models.Gzcertaddressconfig": {
  31973. "type": "object",
  31974. "properties": {
  31975. "certregion": {
  31976. "description": "证书地域 - 1:国内 2:国际",
  31977. "type": "integer"
  31978. },
  31979. "certtype": {
  31980. "description": "证书类型",
  31981. "type": "string"
  31982. },
  31983. "orderindex": {
  31984. "description": "显示顺序",
  31985. "type": "integer"
  31986. },
  31987. "orgcnname": {
  31988. "description": "机构名称(中文)",
  31989. "type": "string"
  31990. },
  31991. "orgenname": {
  31992. "description": "机构名称(英文)",
  31993. "type": "string"
  31994. },
  31995. "queryaddress": {
  31996. "description": "查询地址",
  31997. "type": "string"
  31998. },
  31999. "remark": {
  32000. "description": "备注",
  32001. "type": "string"
  32002. },
  32003. "updatetime": {
  32004. "description": "更新时间",
  32005. "type": "string"
  32006. }
  32007. }
  32008. },
  32009. "models.Gzcertaddressparam": {
  32010. "type": "object",
  32011. "properties": {
  32012. "certtype": {
  32013. "description": "证书类型",
  32014. "type": "string"
  32015. },
  32016. "orderindex": {
  32017. "description": "参数顺序",
  32018. "type": "integer"
  32019. },
  32020. "paramkey": {
  32021. "description": "参数Key",
  32022. "type": "string"
  32023. },
  32024. "paramname": {
  32025. "description": "参数名称",
  32026. "type": "string"
  32027. },
  32028. "updatetime": {
  32029. "description": "更新时间",
  32030. "type": "string"
  32031. }
  32032. }
  32033. },
  32034. "models.GzcjbsorderfileM": {
  32035. "type": "object",
  32036. "required": [
  32037. "orderid"
  32038. ],
  32039. "properties": {
  32040. "canmembervisit": {
  32041. "description": "会员是否可访问 - 1:可 2:不可",
  32042. "type": "integer"
  32043. },
  32044. "fileaddress": {
  32045. "description": "文件地址",
  32046. "type": "string"
  32047. },
  32048. "filegentype": {
  32049. "description": "文件生成类型 - 1:系统生成 2:手动上传",
  32050. "type": "integer"
  32051. },
  32052. "filename": {
  32053. "description": "文件名称",
  32054. "type": "string"
  32055. },
  32056. "operatetime": {
  32057. "description": "操作时间",
  32058. "type": "string"
  32059. },
  32060. "operatoraccount": {
  32061. "description": "操作人账号 - systemmanager的logincode 或 loginaccount的logincode,无则用loginid",
  32062. "type": "string"
  32063. },
  32064. "operatorid": {
  32065. "description": "操作人ID - systemmanager的autoid 或 loginaccount的loginid",
  32066. "type": "integer"
  32067. },
  32068. "operatorsrc": {
  32069. "description": "操作人来源 - 1:管理端 2:终端",
  32070. "type": "integer"
  32071. },
  32072. "orderfileid": {
  32073. "description": "单据文件ID(803+Unix秒时间戳(10位)+xxxxxx)",
  32074. "type": "integer"
  32075. },
  32076. "orderid": {
  32077. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  32078. "type": "integer"
  32079. }
  32080. }
  32081. },
  32082. "models.GzcjjcorderM": {
  32083. "type": "object",
  32084. "required": [
  32085. "userid"
  32086. ],
  32087. "properties": {
  32088. "accountid": {
  32089. "description": "资金账户ID",
  32090. "type": "integer"
  32091. },
  32092. "addresscn": {
  32093. "description": "地址(中文)",
  32094. "type": "string"
  32095. },
  32096. "addressen": {
  32097. "description": "地址(英文)",
  32098. "type": "string"
  32099. },
  32100. "advanceamount": {
  32101. "description": "总预付款",
  32102. "type": "number"
  32103. },
  32104. "colorrange": {
  32105. "description": "颜色范围",
  32106. "type": "string"
  32107. },
  32108. "companynamecn": {
  32109. "description": "公司名称(中文)",
  32110. "type": "string"
  32111. },
  32112. "companynameen": {
  32113. "description": "公司名称(英文)",
  32114. "type": "string"
  32115. },
  32116. "contactname": {
  32117. "description": "联系人姓名",
  32118. "type": "string"
  32119. },
  32120. "contactphoneno": {
  32121. "description": "联系人电话",
  32122. "type": "string"
  32123. },
  32124. "contactposition": {
  32125. "description": "联系人职位",
  32126. "type": "string"
  32127. },
  32128. "createtime": {
  32129. "description": "创建时间",
  32130. "type": "string"
  32131. },
  32132. "email": {
  32133. "description": "邮箱",
  32134. "type": "string"
  32135. },
  32136. "executestatus": {
  32137. "description": "执行状态 - 1:未生效 2:进行中 3:已结束",
  32138. "type": "integer"
  32139. },
  32140. "gzcjaccount": {
  32141. "description": "送检账户",
  32142. "type": "string"
  32143. },
  32144. "gzcjaccounttype": {
  32145. "description": "检测账户类型 - 枚举\"GZCJAccountType\"",
  32146. "type": "integer"
  32147. },
  32148. "gzcjcategorytype": {
  32149. "description": "货物品类 - 枚举\"GZCJCategoryType\"",
  32150. "type": "integer"
  32151. },
  32152. "gzcjcategorytypedisplay": {
  32153. "description": "货物品类",
  32154. "type": "string"
  32155. },
  32156. "gzcjdeliverytype": {
  32157. "description": "收货方式 - 枚举\"GZCJDeliveryType\"",
  32158. "type": "integer"
  32159. },
  32160. "gzcjdeliverytypedisplay": {
  32161. "description": "收货方式",
  32162. "type": "string"
  32163. },
  32164. "gzcjstatus": {
  32165. "description": "单据状态(出境检测) - 枚举\"GZCJStatus\"",
  32166. "type": "integer"
  32167. },
  32168. "gzcjstatusdisplay": {
  32169. "description": "单据状态(出境检测)",
  32170. "type": "string"
  32171. },
  32172. "handlestatus": {
  32173. "description": "处理状态",
  32174. "type": "integer"
  32175. },
  32176. "invoiceremark": {
  32177. "description": "复核备注 - 发票装箱单使用",
  32178. "type": "string"
  32179. },
  32180. "orderid": {
  32181. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  32182. "type": "integer"
  32183. },
  32184. "orderno": {
  32185. "description": "单据编号 - 合同编号:GZDECJJC+单据流水号",
  32186. "type": "string"
  32187. },
  32188. "ordersn": {
  32189. "description": "单据流水号 - yymm000 - yy表示年份,mm表示月份,年份、月份以两位数表示;000表示流水序号,序号不足三位以0补全",
  32190. "type": "string"
  32191. },
  32192. "origincountry": {
  32193. "description": "原产国",
  32194. "type": "string"
  32195. },
  32196. "processingcountry": {
  32197. "description": "成品钻石加工国",
  32198. "type": "string"
  32199. },
  32200. "realservicefee": {
  32201. "description": "应收综合服务费",
  32202. "type": "number"
  32203. },
  32204. "servicefeesum": {
  32205. "description": "汇总综合服务费 - 明细上值汇总",
  32206. "type": "number"
  32207. },
  32208. "settleamount": {
  32209. "description": "总结算费用",
  32210. "type": "number"
  32211. },
  32212. "shaperange": {
  32213. "description": "形状范围",
  32214. "type": "string"
  32215. },
  32216. "totalamount": {
  32217. "description": "总金额(美元)",
  32218. "type": "number"
  32219. },
  32220. "totalgrossweight": {
  32221. "description": "总毛重(克) = 每100颗单颗裸石毛重200克,毛重不足200克按200克计 (TotalNumber/100 向上取整) * 200",
  32222. "type": "number"
  32223. },
  32224. "totalnumber": {
  32225. "description": "总粒数",
  32226. "type": "integer"
  32227. },
  32228. "totalweight": {
  32229. "description": "总克拉数(保留3位小数)",
  32230. "type": "number"
  32231. },
  32232. "totalweightgm": {
  32233. "description": "总净重(克) = TotalWeight * 0.2 (2位小数)",
  32234. "type": "number"
  32235. },
  32236. "userid": {
  32237. "description": "用户ID",
  32238. "type": "integer"
  32239. },
  32240. "weightrange": {
  32241. "description": "重量规格范围 - Min(Weight) - Max(Weight)",
  32242. "type": "string"
  32243. },
  32244. "zsorigin": {
  32245. "description": "天然钻石毛坯原产地",
  32246. "type": "string"
  32247. }
  32248. }
  32249. },
  32250. "models.GzcjjcorderdetailM": {
  32251. "type": "object",
  32252. "properties": {
  32253. "amount": {
  32254. "description": "参考货值(USD)",
  32255. "type": "number"
  32256. },
  32257. "colorinfo": {
  32258. "description": "彩钻信息",
  32259. "type": "string"
  32260. },
  32261. "createtime": {
  32262. "description": "创建时间",
  32263. "type": "string"
  32264. },
  32265. "gzcjmarktype": {
  32266. "description": "刻印服务 - 枚举\"GZCJMarkType\" 【送检账户为“广钻账户”】",
  32267. "type": "integer"
  32268. },
  32269. "gzcjpublishtype": {
  32270. "description": "是否披露处理 - 枚举 GZCJPublishType【送检账户为“广钻账户”】",
  32271. "type": "integer"
  32272. },
  32273. "gzcjpublishtypestring": {
  32274. "description": "是否披露处理 - 枚举 GZCJPublishType 对应的显示值",
  32275. "type": "string"
  32276. },
  32277. "gzcjservicetype": {
  32278. "description": "服务类别 - 枚举 GZCJServiceType【送检账户为“广钻账户”】",
  32279. "type": "integer"
  32280. },
  32281. "gzcjservicetypestring": {
  32282. "description": "服务类别 - 枚举 GZCJServiceType 对应的显示值",
  32283. "type": "string"
  32284. },
  32285. "gzcjshapetype": {
  32286. "description": "形状 - 枚举\"GZCJShapeType\"",
  32287. "type": "integer"
  32288. },
  32289. "gzcjshapetypestring": {
  32290. "description": "形状(字符) - 枚举\"GZCJShapeType\"对应的显示值",
  32291. "type": "string"
  32292. },
  32293. "gzno": {
  32294. "description": "货物编号",
  32295. "type": "string"
  32296. },
  32297. "orderdetailid": {
  32298. "description": "单据明细ID(802+Unix秒时间戳(10位)+xxxxxx)",
  32299. "type": "integer"
  32300. },
  32301. "orderid": {
  32302. "description": "单据ID(801+Unix秒时间戳(10位)+xxxxxx)",
  32303. "type": "integer"
  32304. },
  32305. "orderindex": {
  32306. "description": "顺序",
  32307. "type": "integer"
  32308. },
  32309. "origincertno": {
  32310. "description": "原证书号【送检账户为“广钻账户”】",
  32311. "type": "string"
  32312. },
  32313. "remark": {
  32314. "description": "备注(其它)",
  32315. "type": "string"
  32316. },
  32317. "servicefee": {
  32318. "description": "综合服务费 - 根据市场配置计算",
  32319. "type": "number"
  32320. },
  32321. "weight": {
  32322. "description": "重量(CT)",
  32323. "type": "number"
  32324. }
  32325. }
  32326. },
  32327. "models.Gzrapaportprice": {
  32328. "type": "object",
  32329. "properties": {
  32330. "dollar": {
  32331. "description": "美元",
  32332. "type": "string"
  32333. },
  32334. "rmb": {
  32335. "description": "人民币",
  32336. "type": "string"
  32337. }
  32338. }
  32339. },
  32340. "models.Hedgeinnerholderdetail": {
  32341. "type": "object",
  32342. "required": [
  32343. "buyorsell",
  32344. "tradeid"
  32345. ],
  32346. "properties": {
  32347. "accountid": {
  32348. "description": "账号ID",
  32349. "type": "integer"
  32350. },
  32351. "buyorsell": {
  32352. "description": "方向 - 0:买 1:卖",
  32353. "type": "integer"
  32354. },
  32355. "freezeqty": {
  32356. "description": "冻结数量 - 按单平使用",
  32357. "type": "integer"
  32358. },
  32359. "goodsid": {
  32360. "description": "商品ID",
  32361. "type": "integer"
  32362. },
  32363. "holderamount": {
  32364. "description": "持仓金额 [商品币种]",
  32365. "type": "number"
  32366. },
  32367. "holderdays": {
  32368. "description": "剩余冻结天数",
  32369. "type": "integer"
  32370. },
  32371. "holderprice": {
  32372. "description": "持仓价格",
  32373. "type": "number"
  32374. },
  32375. "holderqty": {
  32376. "description": "持仓数量",
  32377. "type": "integer"
  32378. },
  32379. "marketid": {
  32380. "description": "市场ID",
  32381. "type": "integer"
  32382. },
  32383. "openprice": {
  32384. "description": "建仓价格",
  32385. "type": "number"
  32386. },
  32387. "openqty": {
  32388. "description": "建仓数量",
  32389. "type": "integer"
  32390. },
  32391. "parentaccountid": {
  32392. "description": "所属母账户",
  32393. "type": "integer"
  32394. },
  32395. "releaseamount": {
  32396. "description": "释放持仓金额[商品币种]",
  32397. "type": "number"
  32398. },
  32399. "tradeamount": {
  32400. "description": "成交金额[账户]",
  32401. "type": "number"
  32402. },
  32403. "tradedate": {
  32404. "description": "交易日(yyyyMMdd)",
  32405. "type": "string"
  32406. },
  32407. "tradeid": {
  32408. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  32409. "type": "string"
  32410. },
  32411. "tradetime": {
  32412. "description": "交易时间",
  32413. "type": "string"
  32414. }
  32415. }
  32416. },
  32417. "models.Hedgemarketopenlog": {
  32418. "type": "object",
  32419. "required": [
  32420. "accountid"
  32421. ],
  32422. "properties": {
  32423. "accountid": {
  32424. "description": "资金账号[外部母账户]",
  32425. "type": "integer"
  32426. },
  32427. "fcname": {
  32428. "description": "期货公司名称",
  32429. "type": "string"
  32430. },
  32431. "handlestatus": {
  32432. "description": "处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp",
  32433. "type": "integer"
  32434. },
  32435. "marketid": {
  32436. "description": "市场ID",
  32437. "type": "integer"
  32438. },
  32439. "status": {
  32440. "description": "状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败",
  32441. "type": "integer"
  32442. },
  32443. "tradedate": {
  32444. "description": "交易日(yyyyMMdd)",
  32445. "type": "string"
  32446. },
  32447. "updatetime": {
  32448. "description": "更新时间",
  32449. "type": "string"
  32450. }
  32451. }
  32452. },
  32453. "models.HistoryData": {
  32454. "type": "object",
  32455. "properties": {
  32456. "c": {
  32457. "description": "收盘价",
  32458. "type": "number"
  32459. },
  32460. "f": {
  32461. "description": "是否补充数据",
  32462. "type": "boolean"
  32463. },
  32464. "h": {
  32465. "description": "最高价",
  32466. "type": "number"
  32467. },
  32468. "hv": {
  32469. "description": "持仓量",
  32470. "type": "integer"
  32471. },
  32472. "l": {
  32473. "description": "最低价",
  32474. "type": "number"
  32475. },
  32476. "o": {
  32477. "description": "开盘价",
  32478. "type": "number"
  32479. },
  32480. "s": {
  32481. "description": "结算价,日线周期(包括)以上才有",
  32482. "type": "number"
  32483. },
  32484. "ts": {
  32485. "description": "时间",
  32486. "type": "string"
  32487. },
  32488. "tt": {
  32489. "description": "总金额",
  32490. "type": "number"
  32491. },
  32492. "tv": {
  32493. "description": "总量(成交量)",
  32494. "type": "integer"
  32495. }
  32496. }
  32497. },
  32498. "models.InternalEnableTradeDetail": {
  32499. "type": "object",
  32500. "required": [
  32501. "areauserid",
  32502. "goodsid",
  32503. "tradeuserid"
  32504. ],
  32505. "properties": {
  32506. "agreeunit": {
  32507. "description": "合约乘数",
  32508. "type": "number"
  32509. },
  32510. "areauserid": {
  32511. "description": "企业ID",
  32512. "type": "integer"
  32513. },
  32514. "convertratio": {
  32515. "description": "品种系数",
  32516. "type": "number"
  32517. },
  32518. "deliverygoodscode": {
  32519. "description": "现货品种代码",
  32520. "type": "string"
  32521. },
  32522. "deliverygoodsid": {
  32523. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  32524. "type": "integer"
  32525. },
  32526. "deliverygoodsname": {
  32527. "description": "现货品种名称",
  32528. "type": "string"
  32529. },
  32530. "futurehedgeqty": {
  32531. "description": "[已关联数量]期货持仓套期量",
  32532. "type": "number"
  32533. },
  32534. "goodsid": {
  32535. "description": "期货合约ID",
  32536. "type": "integer"
  32537. },
  32538. "hedgeditemid": {
  32539. "description": "被套期项目ID",
  32540. "type": "string"
  32541. },
  32542. "hedgeditemnum": {
  32543. "description": "项目编号",
  32544. "type": "string"
  32545. },
  32546. "tradeuserid": {
  32547. "description": "交易用户ID",
  32548. "type": "integer"
  32549. },
  32550. "unexehedgeqty": {
  32551. "description": "未执行套期量 = 未执行现货量*折算系数* (1/(1+增值税)) * 套期比例(项目上)",
  32552. "type": "number"
  32553. },
  32554. "unexespotqty": {
  32555. "description": "未执行现货量",
  32556. "type": "number"
  32557. },
  32558. "wrstandardcode": {
  32559. "description": "现货品类代码",
  32560. "type": "string"
  32561. },
  32562. "wrstandardid": {
  32563. "description": "现货品类ID(SEQ_WRSTANDARD)",
  32564. "type": "integer"
  32565. },
  32566. "wrstandardname": {
  32567. "description": "现货品类名称",
  32568. "type": "string"
  32569. }
  32570. }
  32571. },
  32572. "models.InternalUncorrelatedTradeDetail": {
  32573. "type": "object",
  32574. "properties": {
  32575. "accountid": {
  32576. "description": "账号ID",
  32577. "type": "integer"
  32578. },
  32579. "accountname": {
  32580. "description": "套期主体",
  32581. "type": "string"
  32582. },
  32583. "agreeunit": {
  32584. "description": "合约乘数",
  32585. "type": "number"
  32586. },
  32587. "areauserid": {
  32588. "description": "所属机构",
  32589. "type": "integer"
  32590. },
  32591. "bizsubjectid": {
  32592. "description": "归属业务部门ID - SubjectID",
  32593. "type": "integer"
  32594. },
  32595. "buyorsell": {
  32596. "description": "方向 - 0:买 1:卖",
  32597. "type": "integer"
  32598. },
  32599. "channelbuildtype": {
  32600. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  32601. "type": "integer"
  32602. },
  32603. "convertratio": {
  32604. "description": "品种系数",
  32605. "type": "number"
  32606. },
  32607. "createtime": {
  32608. "description": "创建时间",
  32609. "type": "string"
  32610. },
  32611. "creatorid": {
  32612. "description": "创建人ID",
  32613. "type": "integer"
  32614. },
  32615. "creatorsrc": {
  32616. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  32617. "type": "integer"
  32618. },
  32619. "enableqty": {
  32620. "description": "项目可关联数量 = 套保品种数量 - 关联数量",
  32621. "type": "number"
  32622. },
  32623. "enumdicname": {
  32624. "description": "单位",
  32625. "type": "string"
  32626. },
  32627. "goodscode": {
  32628. "description": "合约代码",
  32629. "type": "string"
  32630. },
  32631. "goodsgroupid": {
  32632. "description": "对冲品种ID[期货合约商品组ID]",
  32633. "type": "integer"
  32634. },
  32635. "goodsid": {
  32636. "description": "商品ID",
  32637. "type": "integer"
  32638. },
  32639. "goodsname": {
  32640. "description": "合约名称",
  32641. "type": "string"
  32642. },
  32643. "hedgeditemid": {
  32644. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  32645. "type": "integer"
  32646. },
  32647. "hedgeflag": {
  32648. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  32649. "type": "integer"
  32650. },
  32651. "linkdetailid": {
  32652. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  32653. "type": "string"
  32654. },
  32655. "linkstatus": {
  32656. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  32657. "type": "integer"
  32658. },
  32659. "middlegoodsid": {
  32660. "description": "套保品种ID",
  32661. "type": "integer"
  32662. },
  32663. "middlegoodsqty": {
  32664. "description": "[套期商品数量]套保品种数量 = TradeQty * AgreeUnit * ConvertRatio",
  32665. "type": "number"
  32666. },
  32667. "relatedlot": {
  32668. "description": "[数量]关联手数",
  32669. "type": "number"
  32670. },
  32671. "relatedmode": {
  32672. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  32673. "type": "integer"
  32674. },
  32675. "relatedqty": {
  32676. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  32677. "type": "number"
  32678. },
  32679. "retcode": {
  32680. "description": "返回码",
  32681. "type": "integer"
  32682. },
  32683. "saleuserid": {
  32684. "description": "业务员ID",
  32685. "type": "integer"
  32686. },
  32687. "tradedate": {
  32688. "description": "关联交易日(yyyyMMdd)",
  32689. "type": "string"
  32690. },
  32691. "tradeid": {
  32692. "description": "成交单号",
  32693. "type": "string"
  32694. },
  32695. "tradelot": {
  32696. "description": "成交手数",
  32697. "type": "integer"
  32698. },
  32699. "tradeprice": {
  32700. "description": "成交价",
  32701. "type": "number"
  32702. },
  32703. "tradetime": {
  32704. "description": "成交时间",
  32705. "type": "string"
  32706. },
  32707. "tradetradedate": {
  32708. "description": "成交交易日(yyyyMMdd)",
  32709. "type": "string"
  32710. },
  32711. "tradeuserid": {
  32712. "description": "交易用户ID",
  32713. "type": "integer"
  32714. }
  32715. }
  32716. },
  32717. "models.Loginaccount": {
  32718. "type": "object",
  32719. "required": [
  32720. "loginid"
  32721. ],
  32722. "properties": {
  32723. "accountname": {
  32724. "description": "账户名称",
  32725. "type": "string"
  32726. },
  32727. "canoutin": {
  32728. "description": "是否可出入金 - 0:不可 1:可",
  32729. "type": "integer"
  32730. },
  32731. "clientroleid": {
  32732. "description": "终端角色ID",
  32733. "type": "integer"
  32734. },
  32735. "haslogined": {
  32736. "description": "是否已登录 - 0:未登录 1:已登录",
  32737. "type": "integer"
  32738. },
  32739. "hasupdatedpwd": {
  32740. "description": "是否已更改密码 - 0:未修改 1:已修改",
  32741. "type": "integer"
  32742. },
  32743. "lastloginip": {
  32744. "description": "最新登录地址",
  32745. "type": "string"
  32746. },
  32747. "lastloginmode": {
  32748. "description": "最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  32749. "type": "integer"
  32750. },
  32751. "lastloginremark": {
  32752. "description": "最新登录描述",
  32753. "type": "string"
  32754. },
  32755. "lastlogintime": {
  32756. "description": "最新登录时间",
  32757. "type": "string"
  32758. },
  32759. "logincode": {
  32760. "description": "登录代码",
  32761. "type": "string"
  32762. },
  32763. "loginfailnum": {
  32764. "description": "连续登录失败次数(登录成功时清零)",
  32765. "type": "integer"
  32766. },
  32767. "loginid": {
  32768. "description": "登陆账号",
  32769. "type": "integer"
  32770. },
  32771. "loginport": {
  32772. "description": "最新登录端口",
  32773. "type": "integer"
  32774. },
  32775. "loginstatus": {
  32776. "description": "登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)",
  32777. "type": "integer"
  32778. },
  32779. "loginusertype": {
  32780. "description": "登录账号类型 - 1:投资者 2:机构交易员",
  32781. "type": "integer"
  32782. },
  32783. "mobile": {
  32784. "description": "手机号码(加密存储)",
  32785. "type": "string"
  32786. },
  32787. "modifierid": {
  32788. "description": "修改人",
  32789. "type": "integer"
  32790. },
  32791. "modifysrc": {
  32792. "description": "审核来源 - 1:管理端 2:终端",
  32793. "type": "integer"
  32794. },
  32795. "modifytime": {
  32796. "description": "修改时间",
  32797. "type": "string"
  32798. },
  32799. "pwdwrongcount": {
  32800. "description": "密码错误次数",
  32801. "type": "integer"
  32802. },
  32803. "relateduserid": {
  32804. "description": "关联用户ID(机构)",
  32805. "type": "integer"
  32806. },
  32807. "taaccountrighttype": {
  32808. "description": "资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限",
  32809. "type": "integer"
  32810. },
  32811. "unfreezetime": {
  32812. "description": "账户解冻时间",
  32813. "type": "string"
  32814. },
  32815. "userid": {
  32816. "description": "用户ID",
  32817. "type": "integer"
  32818. }
  32819. }
  32820. },
  32821. "models.MainAccountInfo": {
  32822. "type": "object",
  32823. "properties": {
  32824. "accountid": {
  32825. "description": "账号id",
  32826. "type": "integer"
  32827. },
  32828. "accountname": {
  32829. "description": "账号名称(taaccount表中的名称)",
  32830. "type": "string"
  32831. },
  32832. "appid": {
  32833. "description": "AppID",
  32834. "type": "string"
  32835. },
  32836. "authcode": {
  32837. "description": "授权码",
  32838. "type": "string"
  32839. },
  32840. "brokerid": {
  32841. "description": "经纪商id",
  32842. "type": "string"
  32843. },
  32844. "fcid": {
  32845. "description": "期货公司id",
  32846. "type": "integer"
  32847. },
  32848. "fcname": {
  32849. "description": "期货公司代码",
  32850. "type": "string"
  32851. },
  32852. "hedgeaccountcode": {
  32853. "description": "外部账号代码(主账号登录代码)",
  32854. "type": "string"
  32855. },
  32856. "hedgeaccountpwd": {
  32857. "description": "密码",
  32858. "type": "string"
  32859. },
  32860. "ismain": {
  32861. "description": "是否主账号",
  32862. "type": "integer"
  32863. },
  32864. "relateduserid": {
  32865. "description": "关联用户id",
  32866. "type": "integer"
  32867. },
  32868. "userid": {
  32869. "description": "关联用户id",
  32870. "type": "integer"
  32871. }
  32872. }
  32873. },
  32874. "models.Market": {
  32875. "type": "object",
  32876. "required": [
  32877. "marketid",
  32878. "marketstatus",
  32879. "openmethod",
  32880. "reckonpricealgorithm",
  32881. "trademode",
  32882. "tradeproperty"
  32883. ],
  32884. "properties": {
  32885. "auctionwrtype": {
  32886. "description": "竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可",
  32887. "type": "integer"
  32888. },
  32889. "canacceptquote": {
  32890. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  32891. "type": "integer"
  32892. },
  32893. "cangoodsexercise": {
  32894. "description": "[期权]是否可现货行权- 0:否 1:是",
  32895. "type": "integer"
  32896. },
  32897. "cangoodsexercisetype": {
  32898. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  32899. "type": "integer"
  32900. },
  32901. "canmanualquotestrike": {
  32902. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  32903. "type": "integer"
  32904. },
  32905. "canmutistage": {
  32906. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  32907. "type": "integer"
  32908. },
  32909. "canpreexercise": {
  32910. "description": "[期权]是否可预申报- 0:否 1:是",
  32911. "type": "integer"
  32912. },
  32913. "clearinterval": {
  32914. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  32915. "type": "integer"
  32916. },
  32917. "contracttmp": {
  32918. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  32919. "type": "string"
  32920. },
  32921. "exchareaid": {
  32922. "description": "所属交易所,可以没有",
  32923. "type": "integer"
  32924. },
  32925. "goodstype": {
  32926. "description": "商品类型 - 1:交易商品 2:仓单商品",
  32927. "type": "integer"
  32928. },
  32929. "hasrebate": {
  32930. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  32931. "type": "integer"
  32932. },
  32933. "hastradecredit": {
  32934. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  32935. "type": "integer"
  32936. },
  32937. "haswr": {
  32938. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  32939. "type": "integer"
  32940. },
  32941. "isdeductmargin": {
  32942. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  32943. "type": "integer"
  32944. },
  32945. "isrecordsource": {
  32946. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  32947. "type": "integer"
  32948. },
  32949. "isreleasemargin": {
  32950. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  32951. "type": "integer"
  32952. },
  32953. "marginformula": {
  32954. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32955. "type": "integer"
  32956. },
  32957. "marginformula2": {
  32958. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  32959. "type": "integer"
  32960. },
  32961. "marketid": {
  32962. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  32963. "type": "integer"
  32964. },
  32965. "marketname": {
  32966. "description": "市场名称",
  32967. "type": "string"
  32968. },
  32969. "marketserviceid": {
  32970. "description": "市场服务ID",
  32971. "type": "integer"
  32972. },
  32973. "marketstatus": {
  32974. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  32975. "type": "integer"
  32976. },
  32977. "markettype": {
  32978. "description": "市场类型- 1:非交易服务 2:交易服务",
  32979. "type": "integer"
  32980. },
  32981. "matchermode": {
  32982. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手",
  32983. "type": "integer"
  32984. },
  32985. "openmethod": {
  32986. "description": "开盘模式 - 0 自动 1手动",
  32987. "type": "integer"
  32988. },
  32989. "otcuserid": {
  32990. "description": "场外期权做市商[场外期权]",
  32991. "type": "integer"
  32992. },
  32993. "outersynctime": {
  32994. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  32995. "type": "string"
  32996. },
  32997. "pendingflag": {
  32998. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  32999. "type": "integer"
  33000. },
  33001. "pendingtime": {
  33002. "description": "待开市时间[通道交易-对冲](HH:mm)",
  33003. "type": "string"
  33004. },
  33005. "performancetempid": {
  33006. "description": "履约计划模板ID - 作废",
  33007. "type": "integer"
  33008. },
  33009. "premiumquotemode": {
  33010. "description": "权利金报价方式 - 1:自动 2:手动",
  33011. "type": "integer"
  33012. },
  33013. "rebateratio": {
  33014. "description": "返利比率[竞价式]",
  33015. "type": "number"
  33016. },
  33017. "reckonorder": {
  33018. "description": "结算顺序",
  33019. "type": "integer"
  33020. },
  33021. "reckonpricealgorithm": {
  33022. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  33023. "type": "integer"
  33024. },
  33025. "reckonpriceparam": {
  33026. "description": "结算价参数",
  33027. "type": "integer"
  33028. },
  33029. "reckontime": {
  33030. "description": "结算时间[通道交易-对冲](HH:mm)",
  33031. "type": "string"
  33032. },
  33033. "roleprioritytype": {
  33034. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  33035. "type": "integer"
  33036. },
  33037. "selllistingauditflag": {
  33038. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  33039. "type": "integer"
  33040. },
  33041. "trademarkettype": {
  33042. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  33043. "type": "integer"
  33044. },
  33045. "trademode": {
  33046. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  33047. "type": "integer"
  33048. },
  33049. "tradeproperty": {
  33050. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  33051. "type": "integer"
  33052. },
  33053. "tradetype": {
  33054. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  33055. "type": "integer"
  33056. }
  33057. }
  33058. },
  33059. "models.Marketcalendar": {
  33060. "type": "object",
  33061. "properties": {
  33062. "holidaydate": {
  33063. "description": "节假日期(yyyy-MM-dd)",
  33064. "type": "string"
  33065. },
  33066. "marketid": {
  33067. "description": "市场ID",
  33068. "type": "integer"
  33069. }
  33070. }
  33071. },
  33072. "models.Marketrun": {
  33073. "type": "object",
  33074. "required": [
  33075. "marketid",
  33076. "nexttradedate",
  33077. "reckonflag",
  33078. "runstatus",
  33079. "tradedate",
  33080. "tradedate2"
  33081. ],
  33082. "properties": {
  33083. "afternexttradedate": {
  33084. "description": "下下交易日",
  33085. "type": "string"
  33086. },
  33087. "clearquoteflag": {
  33088. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  33089. "type": "integer"
  33090. },
  33091. "lastreckondate": {
  33092. "description": "最新交易日(结算成功)",
  33093. "type": "string"
  33094. },
  33095. "machinedate": {
  33096. "description": "机器时间",
  33097. "type": "string"
  33098. },
  33099. "manualflag": {
  33100. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  33101. "type": "integer"
  33102. },
  33103. "marketid": {
  33104. "description": "市场ID",
  33105. "type": "integer"
  33106. },
  33107. "nexttradedate": {
  33108. "description": "下一交易日",
  33109. "type": "string"
  33110. },
  33111. "pretradedate": {
  33112. "description": "上一交易日",
  33113. "type": "string"
  33114. },
  33115. "reckonflag": {
  33116. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  33117. "type": "integer"
  33118. },
  33119. "runstatus": {
  33120. "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.今日免清算",
  33121. "type": "integer"
  33122. },
  33123. "sectionid": {
  33124. "description": "时间段号[多时段时用]",
  33125. "type": "integer"
  33126. },
  33127. "tradedate": {
  33128. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  33129. "type": "string"
  33130. },
  33131. "tradedate2": {
  33132. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  33133. "type": "string"
  33134. },
  33135. "updatetime": {
  33136. "description": "更新时间",
  33137. "type": "string"
  33138. }
  33139. }
  33140. },
  33141. "models.Messageboard": {
  33142. "type": "object",
  33143. "required": [
  33144. "messageboardid"
  33145. ],
  33146. "properties": {
  33147. "contactnum": {
  33148. "description": "联系电话",
  33149. "type": "string"
  33150. },
  33151. "createtime": {
  33152. "description": "创建时间",
  33153. "type": "string"
  33154. },
  33155. "message": {
  33156. "description": "留言信息",
  33157. "type": "string"
  33158. },
  33159. "messageboardid": {
  33160. "description": "留言簿ID(SEQ_MessageBoard)",
  33161. "type": "integer"
  33162. },
  33163. "userid": {
  33164. "description": "用户ID",
  33165. "type": "integer"
  33166. }
  33167. }
  33168. },
  33169. "models.MyBargainApply": {
  33170. "type": "object",
  33171. "required": [
  33172. "userid"
  33173. ],
  33174. "properties": {
  33175. "accountid": {
  33176. "description": "摘牌资金账号",
  33177. "type": "integer"
  33178. },
  33179. "applyprice": {
  33180. "description": "申请价格",
  33181. "type": "string"
  33182. },
  33183. "applyremark": {
  33184. "description": "申请备注",
  33185. "type": "string"
  33186. },
  33187. "applystatus": {
  33188. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33189. "type": "integer"
  33190. },
  33191. "applytime": {
  33192. "description": "申请时间",
  33193. "type": "string"
  33194. },
  33195. "buyorsell": {
  33196. "description": "买卖 - 0:买 1:卖",
  33197. "type": "integer"
  33198. },
  33199. "buyusername": {
  33200. "description": "买方",
  33201. "type": "string"
  33202. },
  33203. "confirmprice": {
  33204. "description": "可接受价格(拒绝时填写)-作废",
  33205. "type": "number"
  33206. },
  33207. "confirmqty": {
  33208. "description": "可接受数量(拒绝时填写)-作废",
  33209. "type": "integer"
  33210. },
  33211. "confirmremark": {
  33212. "description": "确认备注",
  33213. "type": "string"
  33214. },
  33215. "confirmtime": {
  33216. "description": "确认时间",
  33217. "type": "string"
  33218. },
  33219. "confirmuserid": {
  33220. "description": "确认人",
  33221. "type": "integer"
  33222. },
  33223. "goodsno": {
  33224. "description": "商品编号",
  33225. "type": "string"
  33226. },
  33227. "handlestatus": {
  33228. "description": "处理状态",
  33229. "type": "integer"
  33230. },
  33231. "ladingbillid": {
  33232. "description": "摘牌方提单ID [卖]",
  33233. "type": "integer"
  33234. },
  33235. "marketid": {
  33236. "description": "市场ID",
  33237. "type": "integer"
  33238. },
  33239. "matchaccountid": {
  33240. "description": "挂牌方资金账号",
  33241. "type": "integer"
  33242. },
  33243. "matchuserid": {
  33244. "description": "挂牌方用户ID",
  33245. "type": "integer"
  33246. },
  33247. "performancetemplateid": {
  33248. "description": "履约计划模板ID",
  33249. "type": "integer"
  33250. },
  33251. "price": {
  33252. "description": "价格",
  33253. "type": "number"
  33254. },
  33255. "priceper": {
  33256. "description": "克拉单价 - 类型:1,2,3,5",
  33257. "type": "string"
  33258. },
  33259. "qty": {
  33260. "description": "申请数量",
  33261. "type": "number"
  33262. },
  33263. "refprice": {
  33264. "description": "参考价格",
  33265. "type": "string"
  33266. },
  33267. "retcode": {
  33268. "description": "委托返回代码",
  33269. "type": "integer"
  33270. },
  33271. "sellusername": {
  33272. "description": "卖方",
  33273. "type": "string"
  33274. },
  33275. "sizedisplay": {
  33276. "description": "尺寸",
  33277. "type": "string"
  33278. },
  33279. "subnum": {
  33280. "description": "摘牌方提单子单号 [卖]",
  33281. "type": "integer"
  33282. },
  33283. "tradedate": {
  33284. "description": "交易日(yyyyMMdd)",
  33285. "type": "string"
  33286. },
  33287. "userid": {
  33288. "description": "摘牌人用户ID",
  33289. "type": "integer"
  33290. },
  33291. "warehousenamedisplay": {
  33292. "type": "string"
  33293. },
  33294. "wrbargainid": {
  33295. "description": "[询价单号]议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  33296. "type": "string"
  33297. },
  33298. "wrtradeorderid": {
  33299. "description": "关联委托单ID",
  33300. "type": "string"
  33301. },
  33302. "zscerttypedisplay": {
  33303. "type": "string"
  33304. },
  33305. "zsclaritytype1display": {
  33306. "type": "string"
  33307. },
  33308. "zsclaritytype2display": {
  33309. "type": "string"
  33310. },
  33311. "zscolortype1display": {
  33312. "type": "string"
  33313. },
  33314. "zscolortype2display": {
  33315. "type": "string"
  33316. },
  33317. "zscrystaltypedisplay": {
  33318. "type": "string"
  33319. },
  33320. "zscurrencytypedisplay": {
  33321. "type": "string"
  33322. },
  33323. "zscurrencytypedisplayunit": {
  33324. "type": "string"
  33325. },
  33326. "zscuttype1display": {
  33327. "type": "string"
  33328. },
  33329. "zscuttype2display": {
  33330. "type": "string"
  33331. },
  33332. "zsczcolor1typedisplay": {
  33333. "type": "string"
  33334. },
  33335. "zsczcolor2typedisplay": {
  33336. "type": "string"
  33337. },
  33338. "zsczcolor3typedisplay": {
  33339. "type": "string"
  33340. },
  33341. "zsfluorescencetype1display": {
  33342. "type": "string"
  33343. },
  33344. "zsfluorescencetype2display": {
  33345. "type": "string"
  33346. },
  33347. "zspolishtype1display": {
  33348. "type": "string"
  33349. },
  33350. "zspolishtype2display": {
  33351. "type": "string"
  33352. },
  33353. "zsshapetypedisplay": {
  33354. "type": "string"
  33355. },
  33356. "zsstyletypedisplay": {
  33357. "type": "string"
  33358. },
  33359. "zssymmetrytype1display": {
  33360. "type": "string"
  33361. },
  33362. "zssymmetrytype2display": {
  33363. "type": "string"
  33364. }
  33365. }
  33366. },
  33367. "models.MyBuyOrder": {
  33368. "type": "object",
  33369. "required": [
  33370. "userid"
  33371. ],
  33372. "properties": {
  33373. "accountid": {
  33374. "description": "资金账户ID",
  33375. "type": "integer"
  33376. },
  33377. "marketid": {
  33378. "description": "市场ID",
  33379. "type": "integer"
  33380. },
  33381. "ordertime": {
  33382. "description": "委托时间",
  33383. "type": "string"
  33384. },
  33385. "origin": {
  33386. "description": "原产地",
  33387. "type": "string"
  33388. },
  33389. "performancetemplateid": {
  33390. "description": "履约计划模板ID",
  33391. "type": "integer"
  33392. },
  33393. "remark": {
  33394. "description": "备注",
  33395. "type": "string"
  33396. },
  33397. "userid": {
  33398. "description": "用户ID",
  33399. "type": "integer"
  33400. },
  33401. "validtime": {
  33402. "description": "有效期限",
  33403. "type": "string"
  33404. },
  33405. "warehouseids": {
  33406. "description": "仓库ID - 多个, 逗号分隔",
  33407. "type": "string"
  33408. },
  33409. "warehouseinfosdisplay": {
  33410. "type": "string"
  33411. },
  33412. "wrtradeorderid": {
  33413. "description": "[委托单号]买委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33414. "type": "string"
  33415. },
  33416. "wrtradeorderstatus": {
  33417. "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、",
  33418. "type": "integer"
  33419. },
  33420. "zscategory": {
  33421. "description": "钻石分类 - 枚举”ZSCategory“",
  33422. "type": "integer"
  33423. },
  33424. "zscategorydisplay": {
  33425. "type": "string"
  33426. },
  33427. "zsclaritytype": {
  33428. "description": "净度 - 两个, 逗号分隔",
  33429. "type": "string"
  33430. },
  33431. "zsclaritytypedisplay": {
  33432. "type": "string"
  33433. },
  33434. "zscolortype": {
  33435. "description": "颜色 - 两个, 逗号分隔",
  33436. "type": "string"
  33437. },
  33438. "zscolortypedisplay": {
  33439. "type": "string"
  33440. },
  33441. "zscrystaltype": {
  33442. "description": "晶型 - 多个,逗号分隔",
  33443. "type": "string"
  33444. },
  33445. "zscrystaltypedisplay": {
  33446. "type": "string"
  33447. },
  33448. "zscurrencytype": {
  33449. "description": "货币类型 - 多个, 逗号分隔",
  33450. "type": "string"
  33451. },
  33452. "zscurrencytypedisplay": {
  33453. "type": "string"
  33454. },
  33455. "zscuttype": {
  33456. "description": "切工 - 两个, 逗号分隔",
  33457. "type": "string"
  33458. },
  33459. "zscuttypedisplay": {
  33460. "type": "string"
  33461. },
  33462. "zsczcolor1type": {
  33463. "description": "彩钻颜色1, 逗号分隔",
  33464. "type": "string"
  33465. },
  33466. "zsczcolor1typedisplay": {
  33467. "type": "string"
  33468. },
  33469. "zsczcolor2type": {
  33470. "description": "彩钻颜色2, 逗号分隔",
  33471. "type": "string"
  33472. },
  33473. "zsczcolor2typedisplay": {
  33474. "type": "string"
  33475. },
  33476. "zsczcolor3type": {
  33477. "description": "彩钻颜色3, 逗号分隔",
  33478. "type": "string"
  33479. },
  33480. "zsczcolor3typedisplay": {
  33481. "type": "string"
  33482. },
  33483. "zsfluorescencetype": {
  33484. "description": "荧光 - 多个, 逗号分隔",
  33485. "type": "string"
  33486. },
  33487. "zsfluorescencetypedisplay": {
  33488. "type": "string"
  33489. },
  33490. "zspolishtype": {
  33491. "description": "抛光度 - 两个, 逗号分隔",
  33492. "type": "string"
  33493. },
  33494. "zspolishtypedisplay": {
  33495. "type": "string"
  33496. },
  33497. "zsshapetype": {
  33498. "description": "形状 - 多个, 逗号分隔",
  33499. "type": "string"
  33500. },
  33501. "zsshapetypedisplay": {
  33502. "type": "string"
  33503. },
  33504. "zssize": {
  33505. "description": "尺寸 - 两个小数, 逗号分隔",
  33506. "type": "string"
  33507. },
  33508. "zsstyletype": {
  33509. "description": "款式 - 多个, 逗号分隔",
  33510. "type": "string"
  33511. },
  33512. "zsstyletypedisplay": {
  33513. "type": "string"
  33514. },
  33515. "zssymmetrytype": {
  33516. "description": "对称度 - 两个, 逗号分隔",
  33517. "type": "string"
  33518. },
  33519. "zssymmetrytypedisplay": {
  33520. "type": "string"
  33521. },
  33522. "zstabledisplay": {
  33523. "description": "求购信息",
  33524. "type": "string"
  33525. }
  33526. }
  33527. },
  33528. "models.MyDeListing": {
  33529. "type": "object",
  33530. "required": [
  33531. "userid"
  33532. ],
  33533. "properties": {
  33534. "buyaccountid": {
  33535. "description": "买方账号ID",
  33536. "type": "integer"
  33537. },
  33538. "buychargevalue": {
  33539. "description": "买方手续费",
  33540. "type": "number"
  33541. },
  33542. "buyuserid": {
  33543. "description": "买方用户ID",
  33544. "type": "integer"
  33545. },
  33546. "deliverygoodsid": {
  33547. "description": "现货品种ID",
  33548. "type": "integer"
  33549. },
  33550. "exchangerate": {
  33551. "description": "汇率",
  33552. "type": "number"
  33553. },
  33554. "goodsno": {
  33555. "description": "商品编号",
  33556. "type": "string"
  33557. },
  33558. "marketid": {
  33559. "description": "市场ID",
  33560. "type": "integer"
  33561. },
  33562. "matchusername": {
  33563. "description": "对手方",
  33564. "type": "string"
  33565. },
  33566. "oritradeamount": {
  33567. "description": "成交金额[商品币种]",
  33568. "type": "number"
  33569. },
  33570. "performanceplanid": {
  33571. "description": "履约计划ID/合同ID",
  33572. "type": "string"
  33573. },
  33574. "price": {
  33575. "description": "价格",
  33576. "type": "number"
  33577. },
  33578. "qty": {
  33579. "description": "成交重量",
  33580. "type": "number"
  33581. },
  33582. "sellaccountid": {
  33583. "description": "卖方账号ID",
  33584. "type": "integer"
  33585. },
  33586. "sellchargevalue": {
  33587. "description": "卖方手续费",
  33588. "type": "number"
  33589. },
  33590. "selluserid": {
  33591. "description": "卖方用户ID",
  33592. "type": "integer"
  33593. },
  33594. "sizedisplay": {
  33595. "description": "尺寸",
  33596. "type": "string"
  33597. },
  33598. "tradeamount": {
  33599. "description": "成交金额",
  33600. "type": "number"
  33601. },
  33602. "tradedate": {
  33603. "description": "交易日(yyyyMMdd)",
  33604. "type": "string"
  33605. },
  33606. "tradeprice": {
  33607. "description": "成交价格",
  33608. "type": "number"
  33609. },
  33610. "tradetime": {
  33611. "description": "成交时间",
  33612. "type": "string"
  33613. },
  33614. "userid": {
  33615. "description": "用户ID",
  33616. "type": "integer"
  33617. },
  33618. "warehousenamedisplay": {
  33619. "type": "string"
  33620. },
  33621. "wrfactortypeid": {
  33622. "description": "仓单要素类型ID",
  33623. "type": "integer"
  33624. },
  33625. "wrstandardid": {
  33626. "description": "现货商品ID",
  33627. "type": "integer"
  33628. },
  33629. "wrtradedetailid": {
  33630. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  33631. "type": "string"
  33632. },
  33633. "zscategory": {
  33634. "description": "钻石分类 - 枚举”ZSCategory“",
  33635. "type": "integer"
  33636. },
  33637. "zscategorydisplay": {
  33638. "type": "string"
  33639. },
  33640. "zscerttypedisplay": {
  33641. "type": "string"
  33642. },
  33643. "zsclaritytype1display": {
  33644. "type": "string"
  33645. },
  33646. "zsclaritytype2display": {
  33647. "type": "string"
  33648. },
  33649. "zscolortype1display": {
  33650. "type": "string"
  33651. },
  33652. "zscolortype2display": {
  33653. "type": "string"
  33654. },
  33655. "zscrystaltypedisplay": {
  33656. "type": "string"
  33657. },
  33658. "zscurrencytype": {
  33659. "description": "货币类型 - 枚举“ZSCurrencyType”",
  33660. "type": "integer"
  33661. },
  33662. "zscurrencytypedisplay": {
  33663. "type": "string"
  33664. },
  33665. "zscurrencytypedisplayunit": {
  33666. "type": "string"
  33667. },
  33668. "zscuttype1display": {
  33669. "type": "string"
  33670. },
  33671. "zscuttype2display": {
  33672. "type": "string"
  33673. },
  33674. "zsczcolor1typedisplay": {
  33675. "type": "string"
  33676. },
  33677. "zsczcolor2typedisplay": {
  33678. "type": "string"
  33679. },
  33680. "zsczcolor3typedisplay": {
  33681. "type": "string"
  33682. },
  33683. "zsfluorescencetype1display": {
  33684. "type": "string"
  33685. },
  33686. "zsfluorescencetype2display": {
  33687. "type": "string"
  33688. },
  33689. "zspolishtype1display": {
  33690. "type": "string"
  33691. },
  33692. "zspolishtype2display": {
  33693. "type": "string"
  33694. },
  33695. "zsshapetypedisplay": {
  33696. "type": "string"
  33697. },
  33698. "zsstyletypedisplay": {
  33699. "type": "string"
  33700. },
  33701. "zssymmetrytype1display": {
  33702. "type": "string"
  33703. },
  33704. "zssymmetrytype2display": {
  33705. "type": "string"
  33706. }
  33707. }
  33708. },
  33709. "models.MyDelistingApply": {
  33710. "type": "object",
  33711. "required": [
  33712. "selluserid"
  33713. ],
  33714. "properties": {
  33715. "applyprice": {
  33716. "description": "申请价格",
  33717. "type": "number"
  33718. },
  33719. "applyqty": {
  33720. "description": "申请数量",
  33721. "type": "number"
  33722. },
  33723. "applyremark": {
  33724. "description": "申请备注",
  33725. "type": "string"
  33726. },
  33727. "applystatus": {
  33728. "description": "申请状态 - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  33729. "type": "integer"
  33730. },
  33731. "applytime": {
  33732. "description": "申请时间",
  33733. "type": "string"
  33734. },
  33735. "auditremark": {
  33736. "description": "确认备注",
  33737. "type": "string"
  33738. },
  33739. "audittime": {
  33740. "description": "确认时间",
  33741. "type": "string"
  33742. },
  33743. "buyuserid": {
  33744. "description": "买方用户ID",
  33745. "type": "integer"
  33746. },
  33747. "buyusername": {
  33748. "description": "买方",
  33749. "type": "string"
  33750. },
  33751. "buywrtradeorderid": {
  33752. "description": "买委托单ID",
  33753. "type": "string"
  33754. },
  33755. "goodsno": {
  33756. "description": "商品编号",
  33757. "type": "string"
  33758. },
  33759. "ladingbillid": {
  33760. "description": "卖方提单ID",
  33761. "type": "string"
  33762. },
  33763. "marketid": {
  33764. "description": "市场ID",
  33765. "type": "integer"
  33766. },
  33767. "performancetemplateid": {
  33768. "description": "履约计划模板ID",
  33769. "type": "integer"
  33770. },
  33771. "price": {
  33772. "description": "价格",
  33773. "type": "number"
  33774. },
  33775. "sellaccountid": {
  33776. "description": "卖方账户ID",
  33777. "type": "integer"
  33778. },
  33779. "selldelistingapplyid": {
  33780. "description": "[询价单号]卖摘牌申请ID(916+Unix秒时间戳(10位)+xxxxxx)",
  33781. "type": "string"
  33782. },
  33783. "selltradeorderid": {
  33784. "description": "卖方委托ID(买方确认成交后更新)",
  33785. "type": "string"
  33786. },
  33787. "selluserid": {
  33788. "description": "卖方用户ID",
  33789. "type": "integer"
  33790. },
  33791. "sellusername": {
  33792. "description": "卖方",
  33793. "type": "string"
  33794. },
  33795. "sizedisplay": {
  33796. "description": "尺寸",
  33797. "type": "string"
  33798. },
  33799. "subnum": {
  33800. "description": "卖方提单子单号",
  33801. "type": "integer"
  33802. },
  33803. "warehouseinfosdisplay": {
  33804. "type": "string"
  33805. },
  33806. "weight": {
  33807. "description": "克拉重量",
  33808. "type": "number"
  33809. },
  33810. "wrfactortypeid": {
  33811. "description": "仓单要素类型ID",
  33812. "type": "string"
  33813. },
  33814. "wrstandardid": {
  33815. "description": "现货商品ID",
  33816. "type": "integer"
  33817. },
  33818. "zsallproperties": {
  33819. "type": "string"
  33820. },
  33821. "zscategorydisplay": {
  33822. "type": "string"
  33823. },
  33824. "zsclaritytypedisplay": {
  33825. "type": "string"
  33826. },
  33827. "zscolortypedisplay": {
  33828. "type": "string"
  33829. },
  33830. "zscrystaltypedisplay": {
  33831. "type": "string"
  33832. },
  33833. "zscurrencytypedisplay": {
  33834. "type": "string"
  33835. },
  33836. "zscurrencytypedisplayunit": {
  33837. "description": "价格单位",
  33838. "type": "string"
  33839. },
  33840. "zscuttypedisplay": {
  33841. "type": "string"
  33842. },
  33843. "zsczcolor1typedisplay": {
  33844. "type": "string"
  33845. },
  33846. "zsczcolor2typedisplay": {
  33847. "type": "string"
  33848. },
  33849. "zsczcolor3typedisplay": {
  33850. "type": "string"
  33851. },
  33852. "zsfluorescencetypedisplay": {
  33853. "type": "string"
  33854. },
  33855. "zspolishtypedisplay": {
  33856. "type": "string"
  33857. },
  33858. "zsshapetypedisplay": {
  33859. "type": "string"
  33860. },
  33861. "zssizedisplay": {
  33862. "type": "string"
  33863. },
  33864. "zsstyletypedisplay": {
  33865. "type": "string"
  33866. },
  33867. "zssymmetrytypedisplay": {
  33868. "type": "string"
  33869. },
  33870. "zstabledisplay": {
  33871. "type": "string"
  33872. }
  33873. }
  33874. },
  33875. "models.MyFavorite": {
  33876. "type": "object",
  33877. "required": [
  33878. "userid"
  33879. ],
  33880. "properties": {
  33881. "accountname": {
  33882. "description": "账户名称(机构名称)",
  33883. "type": "string"
  33884. },
  33885. "buyorsell": {
  33886. "description": "买卖 - 0:买 1:卖",
  33887. "type": "integer"
  33888. },
  33889. "favoritestatus": {
  33890. "description": "收藏状态 - 1:正常 2:失效",
  33891. "type": "integer"
  33892. },
  33893. "goodsno": {
  33894. "description": "商品编号",
  33895. "type": "string"
  33896. },
  33897. "marketid": {
  33898. "description": "市场ID",
  33899. "type": "integer"
  33900. },
  33901. "marketprice": {
  33902. "description": "市场价",
  33903. "type": "string"
  33904. },
  33905. "price": {
  33906. "description": "价格",
  33907. "type": "number"
  33908. },
  33909. "priceper": {
  33910. "description": "克拉单价",
  33911. "type": "string"
  33912. },
  33913. "sellusername": {
  33914. "description": "卖家",
  33915. "type": "string"
  33916. },
  33917. "sizedisplay": {
  33918. "description": "尺寸",
  33919. "type": "string"
  33920. },
  33921. "userid": {
  33922. "description": "用户ID",
  33923. "type": "integer"
  33924. },
  33925. "warehousenamedisplay": {
  33926. "description": "仓库名称",
  33927. "type": "string"
  33928. },
  33929. "weight": {
  33930. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  33931. "type": "number"
  33932. },
  33933. "weightavg": {
  33934. "description": "平均单颗重量 - 类型:1,3",
  33935. "type": "number"
  33936. },
  33937. "wrfactortypeid": {
  33938. "description": "仓单要素类型ID/商品ID(77)",
  33939. "type": "string"
  33940. },
  33941. "wrstandardid": {
  33942. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  33943. "type": "integer"
  33944. },
  33945. "wrtradeorderid": {
  33946. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  33947. "type": "string"
  33948. },
  33949. "zscategory": {
  33950. "description": "钻石分类 - 枚举”ZSCategory“",
  33951. "type": "integer"
  33952. },
  33953. "zscategorydisplay": {
  33954. "type": "string"
  33955. },
  33956. "zscerttypedisplay": {
  33957. "type": "string"
  33958. },
  33959. "zsclaritytype1display": {
  33960. "type": "string"
  33961. },
  33962. "zsclaritytype2display": {
  33963. "type": "string"
  33964. },
  33965. "zscolortype1display": {
  33966. "type": "string"
  33967. },
  33968. "zscolortype2display": {
  33969. "type": "string"
  33970. },
  33971. "zscrystaltypedisplay": {
  33972. "type": "string"
  33973. },
  33974. "zscurrencytypedisplay": {
  33975. "type": "string"
  33976. },
  33977. "zscurrencytypedisplayunit": {
  33978. "type": "string"
  33979. },
  33980. "zscuttype1display": {
  33981. "type": "string"
  33982. },
  33983. "zscuttype2display": {
  33984. "type": "string"
  33985. },
  33986. "zsczcolor1typedisplay": {
  33987. "type": "string"
  33988. },
  33989. "zsczcolor2typedisplay": {
  33990. "type": "string"
  33991. },
  33992. "zsczcolor3typedisplay": {
  33993. "type": "string"
  33994. },
  33995. "zsfluorescencetype1display": {
  33996. "type": "string"
  33997. },
  33998. "zsfluorescencetype2display": {
  33999. "type": "string"
  34000. },
  34001. "zspolishtype1display": {
  34002. "type": "string"
  34003. },
  34004. "zspolishtype2display": {
  34005. "type": "string"
  34006. },
  34007. "zsshapetypedisplay": {
  34008. "type": "string"
  34009. },
  34010. "zsstyletypedisplay": {
  34011. "type": "string"
  34012. },
  34013. "zssymmetrytype1display": {
  34014. "type": "string"
  34015. },
  34016. "zssymmetrytype2display": {
  34017. "type": "string"
  34018. }
  34019. }
  34020. },
  34021. "models.MyPerformanc": {
  34022. "type": "object",
  34023. "properties": {
  34024. "accountname": {
  34025. "description": "[对手方]账户名称(机构名称)",
  34026. "type": "string"
  34027. },
  34028. "amount": {
  34029. "description": "履约金额",
  34030. "type": "number"
  34031. },
  34032. "buyaccountid": {
  34033. "description": "买方账号",
  34034. "type": "integer"
  34035. },
  34036. "buyerfreezeamount": {
  34037. "description": "买方履约前冻结资金",
  34038. "type": "number"
  34039. },
  34040. "buyerfreezeamountremain": {
  34041. "description": "买方履约前冻结资金剩余",
  34042. "type": "number"
  34043. },
  34044. "buyerinfo": {
  34045. "description": "买方联系信息 - 存JSON字符串, 根据枚举‘BuyerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\", \"ReceiveInfo\": \"xxxxxxxxx\", \"ReceiptInfo\": \"xxxxxxxxxxxx\"}",
  34046. "type": "string"
  34047. },
  34048. "buyorsell": {
  34049. "description": "方向 - 0:买 1:卖",
  34050. "type": "integer"
  34051. },
  34052. "buypaidamount": {
  34053. "description": "买方已冻/已扣金额",
  34054. "type": "number"
  34055. },
  34056. "buytodayamount": {
  34057. "description": "买方今日扣/冻金额 (待开市时清零)",
  34058. "type": "number"
  34059. },
  34060. "curstepid": {
  34061. "description": "当前步骤ID",
  34062. "type": "string"
  34063. },
  34064. "goodsno": {
  34065. "description": "商品编号",
  34066. "type": "string"
  34067. },
  34068. "overshortamount": {
  34069. "description": "溢短金额",
  34070. "type": "number"
  34071. },
  34072. "paymenttype": {
  34073. "description": "买方支付方式 - 1:冻结 2:扣款",
  34074. "type": "integer"
  34075. },
  34076. "performanceplanid": {
  34077. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  34078. "type": "string"
  34079. },
  34080. "performancestatus": {
  34081. "description": "履约状态 - 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  34082. "type": "integer"
  34083. },
  34084. "price": {
  34085. "description": "价格",
  34086. "type": "number"
  34087. },
  34088. "priceper": {
  34089. "description": "克拉单价",
  34090. "type": "string"
  34091. },
  34092. "relatedorderid": {
  34093. "description": "关联单号(履约类型的关联单号)",
  34094. "type": "string"
  34095. },
  34096. "remaindays": {
  34097. "description": "剩余天数",
  34098. "type": "integer"
  34099. },
  34100. "sellerfreezeamount": {
  34101. "description": "卖方履约前冻结资金",
  34102. "type": "number"
  34103. },
  34104. "sellerfreezeamountremain": {
  34105. "description": "卖方履约前冻结资金剩余",
  34106. "type": "number"
  34107. },
  34108. "sellerinfo": {
  34109. "description": "卖方联系信息 - 存JSON字符串, 根据枚举‘SellerContactInfo',显示\\隐藏字段,若数据不为JSON,则直接显示{ \"ContactInfo\": \"xxxxxxxx\"}",
  34110. "type": "string"
  34111. },
  34112. "sellreceivedamount": {
  34113. "description": "卖方已收金额",
  34114. "type": "number"
  34115. },
  34116. "selltodayamount": {
  34117. "description": "卖方今日收取金额(待开市时清零)",
  34118. "type": "number"
  34119. },
  34120. "sizedisplay": {
  34121. "description": "尺寸",
  34122. "type": "string"
  34123. },
  34124. "steptypeid": {
  34125. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  34126. "type": "integer"
  34127. },
  34128. "warehousenamedisplay": {
  34129. "type": "string"
  34130. },
  34131. "zscategorydisplay": {
  34132. "type": "string"
  34133. },
  34134. "zscerttypedisplay": {
  34135. "type": "string"
  34136. },
  34137. "zsclaritytype1display": {
  34138. "type": "string"
  34139. },
  34140. "zsclaritytype2display": {
  34141. "type": "string"
  34142. },
  34143. "zscolortype1display": {
  34144. "type": "string"
  34145. },
  34146. "zscolortype2display": {
  34147. "type": "string"
  34148. },
  34149. "zscrystaltypedisplay": {
  34150. "type": "string"
  34151. },
  34152. "zscurrencytypedisplay": {
  34153. "type": "string"
  34154. },
  34155. "zscurrencytypedisplayunit": {
  34156. "type": "string"
  34157. },
  34158. "zscuttype1display": {
  34159. "type": "string"
  34160. },
  34161. "zscuttype2display": {
  34162. "type": "string"
  34163. },
  34164. "zsczcolor1typedisplay": {
  34165. "type": "string"
  34166. },
  34167. "zsczcolor2typedisplay": {
  34168. "type": "string"
  34169. },
  34170. "zsczcolor3typedisplay": {
  34171. "type": "string"
  34172. },
  34173. "zsfluorescencetype1display": {
  34174. "type": "string"
  34175. },
  34176. "zsfluorescencetype2display": {
  34177. "type": "string"
  34178. },
  34179. "zspolishtype1display": {
  34180. "type": "string"
  34181. },
  34182. "zspolishtype2display": {
  34183. "type": "string"
  34184. },
  34185. "zsshapetypedisplay": {
  34186. "type": "string"
  34187. },
  34188. "zsstyletypedisplay": {
  34189. "type": "string"
  34190. },
  34191. "zssymmetrytype1display": {
  34192. "type": "string"
  34193. },
  34194. "zssymmetrytype2display": {
  34195. "type": "string"
  34196. }
  34197. }
  34198. },
  34199. "models.MyRefer": {
  34200. "type": "object",
  34201. "properties": {
  34202. "accountname": {
  34203. "description": "用户名(脱敏)",
  34204. "type": "string"
  34205. },
  34206. "createtime": {
  34207. "description": "时间(yyyy-mm-dd)",
  34208. "type": "string"
  34209. },
  34210. "score": {
  34211. "description": "积分",
  34212. "type": "number"
  34213. }
  34214. }
  34215. },
  34216. "models.MySellOrder": {
  34217. "type": "object",
  34218. "required": [
  34219. "userid"
  34220. ],
  34221. "properties": {
  34222. "accountid": {
  34223. "description": "资金账号",
  34224. "type": "integer"
  34225. },
  34226. "applyid": {
  34227. "description": "申请单ID",
  34228. "type": "integer"
  34229. },
  34230. "attachment1": {
  34231. "description": "附件1",
  34232. "type": "string"
  34233. },
  34234. "attachment2": {
  34235. "description": "附件2",
  34236. "type": "string"
  34237. },
  34238. "buyorsell": {
  34239. "description": "买卖 - 0:买 1:卖",
  34240. "type": "integer"
  34241. },
  34242. "canbargain": {
  34243. "description": "是否可议价 - 0:不可 1:可",
  34244. "type": "integer"
  34245. },
  34246. "cancelqty": {
  34247. "description": "撤销数量",
  34248. "type": "integer"
  34249. },
  34250. "canceltime": {
  34251. "description": "撤销时间",
  34252. "type": "string"
  34253. },
  34254. "cerno": {
  34255. "type": "string"
  34256. },
  34257. "chargealgorithm": {
  34258. "description": "手续费收取方式 1:比率 2:固定",
  34259. "type": "integer"
  34260. },
  34261. "chargealgorithmvalue": {
  34262. "description": "手续费设置值(交易所部分)",
  34263. "type": "number"
  34264. },
  34265. "chargealgorithmvalue2": {
  34266. "description": "手续费设置值(会员部分)",
  34267. "type": "number"
  34268. },
  34269. "clientordertime": {
  34270. "description": "客户端委托时间",
  34271. "type": "string"
  34272. },
  34273. "cpcertno": {
  34274. "type": "string"
  34275. },
  34276. "exchangerate": {
  34277. "description": "汇率[67]",
  34278. "type": "number"
  34279. },
  34280. "firstratio": {
  34281. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  34282. "type": "number"
  34283. },
  34284. "fixedprice": {
  34285. "description": "[克拉单价]固定价格 - [挂牌]",
  34286. "type": "number"
  34287. },
  34288. "freezecharge": {
  34289. "description": "冻结手续费",
  34290. "type": "number"
  34291. },
  34292. "freezefirstamount": {
  34293. "description": "冻结首付金额 - [摘牌]",
  34294. "type": "number"
  34295. },
  34296. "freezemargin": {
  34297. "description": "冻结保证金",
  34298. "type": "number"
  34299. },
  34300. "goodsno": {
  34301. "description": "商品编号",
  34302. "type": "string"
  34303. },
  34304. "imagepath": {
  34305. "type": "string"
  34306. },
  34307. "isspecified": {
  34308. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  34309. "type": "integer"
  34310. },
  34311. "kppath": {
  34312. "type": "string"
  34313. },
  34314. "kpweight": {
  34315. "type": "string"
  34316. },
  34317. "marginalgorithm": {
  34318. "description": "保证金方式 - 1:比率 2:固定",
  34319. "type": "integer"
  34320. },
  34321. "marginvalue": {
  34322. "description": "保证金设置值",
  34323. "type": "number"
  34324. },
  34325. "marketid": {
  34326. "description": "市场ID",
  34327. "type": "integer"
  34328. },
  34329. "marketprice": {
  34330. "type": "string"
  34331. },
  34332. "orderamount": {
  34333. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  34334. "type": "number"
  34335. },
  34336. "ordertime": {
  34337. "description": "委托时间",
  34338. "type": "string"
  34339. },
  34340. "performancetemplateid": {
  34341. "description": "履约计划模板ID",
  34342. "type": "integer"
  34343. },
  34344. "price": {
  34345. "description": "价格",
  34346. "type": "number"
  34347. },
  34348. "pricefactor": {
  34349. "description": "价格系数(浮动价时填写) - [挂牌]",
  34350. "type": "number"
  34351. },
  34352. "pricemove": {
  34353. "description": "升贴水(浮动价时填写) - [挂牌]",
  34354. "type": "number"
  34355. },
  34356. "priceper": {
  34357. "type": "string"
  34358. },
  34359. "relatedwrtradeorderid": {
  34360. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  34361. "type": "integer"
  34362. },
  34363. "remark": {
  34364. "type": "string"
  34365. },
  34366. "retcode": {
  34367. "description": "错误代码",
  34368. "type": "integer"
  34369. },
  34370. "selledqty": {
  34371. "description": "成交重量",
  34372. "type": "number"
  34373. },
  34374. "settingmaterial": {
  34375. "type": "string"
  34376. },
  34377. "size1": {
  34378. "type": "string"
  34379. },
  34380. "size2": {
  34381. "type": "string"
  34382. },
  34383. "size3": {
  34384. "type": "string"
  34385. },
  34386. "sizedisplay": {
  34387. "description": "尺寸",
  34388. "type": "string"
  34389. },
  34390. "stonedesc": {
  34391. "type": "string"
  34392. },
  34393. "totalqty": {
  34394. "description": "总重量",
  34395. "type": "number"
  34396. },
  34397. "tradedate": {
  34398. "description": "交易日(yyyyMMdd)",
  34399. "type": "string"
  34400. },
  34401. "tradeprice": {
  34402. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  34403. "type": "number"
  34404. },
  34405. "unfreezecharge": {
  34406. "description": "解冻手续费",
  34407. "type": "number"
  34408. },
  34409. "unfreezefirstamount": {
  34410. "description": "解冻首付金额 - [摘牌]",
  34411. "type": "number"
  34412. },
  34413. "unfreezemargin": {
  34414. "description": "解冻保证金",
  34415. "type": "number"
  34416. },
  34417. "userid": {
  34418. "description": "用户ID",
  34419. "type": "integer"
  34420. },
  34421. "uuid": {
  34422. "description": "发起端唯一id",
  34423. "type": "string"
  34424. },
  34425. "validtime": {
  34426. "description": "有效期限",
  34427. "type": "string"
  34428. },
  34429. "validtype": {
  34430. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  34431. "type": "integer"
  34432. },
  34433. "warehousenamedisplay": {
  34434. "type": "string"
  34435. },
  34436. "wrbargainid": {
  34437. "description": "议价申请单ID",
  34438. "type": "integer"
  34439. },
  34440. "wrfactortypeid": {
  34441. "description": "仓单要素类型ID/商品ID(77)",
  34442. "type": "integer"
  34443. },
  34444. "wrpath": {
  34445. "type": "string"
  34446. },
  34447. "wrpricetype": {
  34448. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  34449. "type": "integer"
  34450. },
  34451. "wrstandardid": {
  34452. "description": "现货商品ID",
  34453. "type": "integer"
  34454. },
  34455. "wrtradeorderid": {
  34456. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34457. "type": "string"
  34458. },
  34459. "wrtradeorderstatus": {
  34460. "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:撤单解冻贷款失败",
  34461. "type": "integer"
  34462. },
  34463. "wrtradetype": {
  34464. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  34465. "type": "integer"
  34466. },
  34467. "wrtransferuserid": {
  34468. "description": "仓单受让用户 - [摘牌]",
  34469. "type": "integer"
  34470. },
  34471. "zscategory": {
  34472. "description": "钻石分类 - 枚举”ZSCategory“",
  34473. "type": "integer"
  34474. },
  34475. "zscategorydisplay": {
  34476. "description": "钻石分类 - 描述",
  34477. "type": "string"
  34478. },
  34479. "zscerttypedisplay": {
  34480. "type": "string"
  34481. },
  34482. "zsclaritytype1display": {
  34483. "type": "string"
  34484. },
  34485. "zsclaritytype2display": {
  34486. "type": "string"
  34487. },
  34488. "zscolortype1display": {
  34489. "type": "string"
  34490. },
  34491. "zscolortype2display": {
  34492. "type": "string"
  34493. },
  34494. "zscrystaltype": {
  34495. "type": "string"
  34496. },
  34497. "zscrystaltypedisplay": {
  34498. "type": "string"
  34499. },
  34500. "zscurrencytype": {
  34501. "description": "货币类型 - 枚举“ZSCurrencyType”",
  34502. "type": "integer"
  34503. },
  34504. "zscurrencytypedisplay": {
  34505. "type": "string"
  34506. },
  34507. "zscurrencytypedisplayunit": {
  34508. "type": "string"
  34509. },
  34510. "zscuttype1display": {
  34511. "type": "string"
  34512. },
  34513. "zscuttype2display": {
  34514. "type": "string"
  34515. },
  34516. "zsczcolor1typedisplay": {
  34517. "type": "string"
  34518. },
  34519. "zsczcolor2typedisplay": {
  34520. "type": "string"
  34521. },
  34522. "zsczcolor3typedisplay": {
  34523. "type": "string"
  34524. },
  34525. "zsfluorescencetype1display": {
  34526. "type": "string"
  34527. },
  34528. "zsfluorescencetype2display": {
  34529. "type": "string"
  34530. },
  34531. "zspolishtype1display": {
  34532. "type": "string"
  34533. },
  34534. "zspolishtype2display": {
  34535. "type": "string"
  34536. },
  34537. "zsshapetypedisplay": {
  34538. "type": "string"
  34539. },
  34540. "zsstyletypedisplay": {
  34541. "type": "string"
  34542. },
  34543. "zssymmetrytype1display": {
  34544. "type": "string"
  34545. },
  34546. "zssymmetrytype2display": {
  34547. "type": "string"
  34548. }
  34549. }
  34550. },
  34551. "models.MyWRPosition": {
  34552. "type": "object",
  34553. "required": [
  34554. "wruserid"
  34555. ],
  34556. "properties": {
  34557. "cerno": {
  34558. "description": "证书编号 - 类型:2,4,5",
  34559. "type": "string"
  34560. },
  34561. "cpcertno": {
  34562. "description": "金伯利证书编号 - 类型:3",
  34563. "type": "string"
  34564. },
  34565. "ffreezeqty": {
  34566. "description": "冻结数量:WRPosition表:FREEZEQTY/100 , 保留两位小数",
  34567. "type": "number"
  34568. },
  34569. "ftotalqty": {
  34570. "description": "库存数量:WRPosition表:TOTALQTY /100 , 保留两位小数",
  34571. "type": "number"
  34572. },
  34573. "goodsno": {
  34574. "description": "商品编号",
  34575. "type": "string"
  34576. },
  34577. "imagepath": {
  34578. "description": "商品照片(相对地址)",
  34579. "type": "string"
  34580. },
  34581. "isvalid": {
  34582. "description": "是否有效 - 0:无效 1:有效",
  34583. "type": "integer"
  34584. },
  34585. "kppath": {
  34586. "description": "金伯利证书图片(相对地址) - 类型:3",
  34587. "type": "string"
  34588. },
  34589. "kpweight": {
  34590. "description": "金伯利证书重量 - 类型:3",
  34591. "type": "string"
  34592. },
  34593. "ladingbillid": {
  34594. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  34595. "type": "string"
  34596. },
  34597. "marketflag": {
  34598. "description": "是否上架,0-全部 1-是 2-否",
  34599. "type": "integer"
  34600. },
  34601. "marketprice": {
  34602. "description": "市场价",
  34603. "type": "string"
  34604. },
  34605. "origin": {
  34606. "description": "原产地 - 类型:3",
  34607. "type": "string"
  34608. },
  34609. "price": {
  34610. "description": "总价(价格) - 类型:1,2,3,4,5",
  34611. "type": "number"
  34612. },
  34613. "priceper": {
  34614. "description": "克拉单价 - 类型:1,2,3,5",
  34615. "type": "string"
  34616. },
  34617. "remark": {
  34618. "description": "备注",
  34619. "type": "string"
  34620. },
  34621. "sellmobile": {
  34622. "description": "手机号码(加密存储)",
  34623. "type": "string"
  34624. },
  34625. "sellusername": {
  34626. "description": "账户名称(机构名称)",
  34627. "type": "string"
  34628. },
  34629. "settingmaterial": {
  34630. "description": "镶嵌材料 - 类型:4",
  34631. "type": "string"
  34632. },
  34633. "size1": {
  34634. "description": "尺寸1 - 类型:2,4,5",
  34635. "type": "string"
  34636. },
  34637. "size2": {
  34638. "description": "尺寸2 - 类型:2,4,5",
  34639. "type": "string"
  34640. },
  34641. "size3": {
  34642. "description": "尺寸3 - 类型:2,4,5",
  34643. "type": "string"
  34644. },
  34645. "sizedisplay": {
  34646. "description": "尺寸",
  34647. "type": "string"
  34648. },
  34649. "stonedesc": {
  34650. "description": "配石描述 - 类型:4",
  34651. "type": "string"
  34652. },
  34653. "subnum": {
  34654. "description": "提单子单号",
  34655. "type": "integer"
  34656. },
  34657. "userid": {
  34658. "description": "用户ID",
  34659. "type": "integer"
  34660. },
  34661. "warehouseid": {
  34662. "description": "仓库ID",
  34663. "type": "integer"
  34664. },
  34665. "warehousenamedisplay": {
  34666. "type": "string"
  34667. },
  34668. "weight": {
  34669. "description": "总重量(克拉重量) - 类型:1,2,3,4,5",
  34670. "type": "number"
  34671. },
  34672. "weightavg": {
  34673. "description": "平均单颗重量 - 类型:1,3",
  34674. "type": "number"
  34675. },
  34676. "wrpath": {
  34677. "description": "仓单扫描件(相对地址)",
  34678. "type": "string"
  34679. },
  34680. "wrstandardid": {
  34681. "description": "现货商品ID",
  34682. "type": "integer"
  34683. },
  34684. "wrtradeorderid": {
  34685. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  34686. "type": "string"
  34687. },
  34688. "wruserid": {
  34689. "description": "登录用户ID",
  34690. "type": "integer"
  34691. },
  34692. "zscategory": {
  34693. "description": "钻石分类 - 枚举”ZSCategory“",
  34694. "type": "integer"
  34695. },
  34696. "zscategorydisplay": {
  34697. "type": "string"
  34698. },
  34699. "zscerttype": {
  34700. "description": "证书类型 - 枚举”ZSCertType“ - 类型:2,4,5",
  34701. "type": "integer"
  34702. },
  34703. "zscerttypedisplay": {
  34704. "type": "string"
  34705. },
  34706. "zsclaritytype1": {
  34707. "description": "净度1 - 枚举”ZSClarityType“ - 类型:1,2,3,4,5",
  34708. "type": "integer"
  34709. },
  34710. "zsclaritytype1display": {
  34711. "type": "string"
  34712. },
  34713. "zsclaritytype2": {
  34714. "description": "净度2 - 枚举”ZSClarityType“ - 类型:1,3",
  34715. "type": "integer"
  34716. },
  34717. "zsclaritytype2display": {
  34718. "type": "string"
  34719. },
  34720. "zscolortype1": {
  34721. "description": "颜色1 - 枚举”ZSColorType“ - 类型:1,2,3,4",
  34722. "type": "integer"
  34723. },
  34724. "zscolortype1display": {
  34725. "type": "string"
  34726. },
  34727. "zscolortype2": {
  34728. "description": "颜色2 - 枚举”ZSColorType“ - 类型:1,3",
  34729. "type": "integer"
  34730. },
  34731. "zscolortype2display": {
  34732. "type": "string"
  34733. },
  34734. "zscrystaltype": {
  34735. "description": "晶型范围 - 枚举“ZSCrystalType“ - 类型:3, 多个,逗号分隔",
  34736. "type": "string"
  34737. },
  34738. "zscrystaltypedisplay": {
  34739. "type": "string"
  34740. },
  34741. "zscurrencytype": {
  34742. "description": "货币类型 - 枚举“ZSCurrencyType”",
  34743. "type": "integer"
  34744. },
  34745. "zscurrencytypedisplay": {
  34746. "type": "string"
  34747. },
  34748. "zscurrencytypedisplayunit": {
  34749. "type": "string"
  34750. },
  34751. "zscuttype1": {
  34752. "description": "切工1 - 枚举”ZSCutType“ - 类型:1,2,4,5",
  34753. "type": "integer"
  34754. },
  34755. "zscuttype1display": {
  34756. "type": "string"
  34757. },
  34758. "zscuttype2": {
  34759. "description": "切工2 - 枚举”ZSCutType“ - 类型:1",
  34760. "type": "integer"
  34761. },
  34762. "zscuttype2display": {
  34763. "type": "string"
  34764. },
  34765. "zsczcolor1type": {
  34766. "description": "彩钻颜色1 - 枚举”ZSCZColor1Type“ - 类型:5",
  34767. "type": "integer"
  34768. },
  34769. "zsczcolor1typedisplay": {
  34770. "type": "string"
  34771. },
  34772. "zsczcolor2type": {
  34773. "description": "彩钻颜色2 - 枚举”ZSCZColor2Type“ - 类型:5",
  34774. "type": "integer"
  34775. },
  34776. "zsczcolor2typedisplay": {
  34777. "type": "string"
  34778. },
  34779. "zsczcolor3type": {
  34780. "description": "彩钻颜色3 - 枚举”ZSCZColor3Type“ - 类型:5",
  34781. "type": "integer"
  34782. },
  34783. "zsczcolor3typedisplay": {
  34784. "type": "string"
  34785. },
  34786. "zsfluorescencetype1": {
  34787. "description": "荧光1 - 枚举”ZSFluorescenceType“ - 类型:1,2,3,4,5",
  34788. "type": "integer"
  34789. },
  34790. "zsfluorescencetype1display": {
  34791. "type": "string"
  34792. },
  34793. "zsfluorescencetype2": {
  34794. "description": "荧光2 - 枚举”ZSFluorescenceType” - 类型:1,3",
  34795. "type": "integer"
  34796. },
  34797. "zsfluorescencetype2display": {
  34798. "type": "string"
  34799. },
  34800. "zspolishtype1": {
  34801. "description": "抛光度1 - 枚举”ZSPolishType“ - 类型:1,2,4,5",
  34802. "type": "integer"
  34803. },
  34804. "zspolishtype1display": {
  34805. "type": "string"
  34806. },
  34807. "zspolishtype2": {
  34808. "description": "抛光度2 - 枚举”ZSPolishType“ - 类型:1",
  34809. "type": "integer"
  34810. },
  34811. "zspolishtype2display": {
  34812. "type": "string"
  34813. },
  34814. "zsshapetype": {
  34815. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  34816. "type": "string"
  34817. },
  34818. "zsshapetypedisplay": {
  34819. "type": "string"
  34820. },
  34821. "zsstyletype": {
  34822. "description": "款式 - 类型:4",
  34823. "type": "integer"
  34824. },
  34825. "zsstyletypedisplay": {
  34826. "type": "string"
  34827. },
  34828. "zssymmetrytype1": {
  34829. "description": "对称度1 - 枚举”ZSSymmetryType“ - 类型:1,2,4,5",
  34830. "type": "integer"
  34831. },
  34832. "zssymmetrytype1display": {
  34833. "type": "string"
  34834. },
  34835. "zssymmetrytype2": {
  34836. "description": "对称度2 - 枚举”ZSSymmetryType“ - 类型:1",
  34837. "type": "integer"
  34838. },
  34839. "zssymmetrytype2display": {
  34840. "type": "string"
  34841. }
  34842. }
  34843. },
  34844. "models.NewFuncmenulist": {
  34845. "type": "object",
  34846. "required": [
  34847. "resourcecode"
  34848. ],
  34849. "properties": {
  34850. "authtype": {
  34851. "description": "权限类型 - 1:菜单 2:组件 3:按钮",
  34852. "type": "integer"
  34853. },
  34854. "buttonname": {
  34855. "description": "按钮名称",
  34856. "type": "string"
  34857. },
  34858. "buttontype": {
  34859. "description": "按钮类型 - 存按钮样式",
  34860. "type": "string"
  34861. },
  34862. "component": {
  34863. "description": "组件名或组件地址",
  34864. "type": "string"
  34865. },
  34866. "hidden": {
  34867. "description": "是否隐藏 - 0:显示 1:隐藏",
  34868. "type": "integer"
  34869. },
  34870. "iconame": {
  34871. "description": "菜单图标",
  34872. "type": "string"
  34873. },
  34874. "menutype": {
  34875. "description": "菜单类型 - 1:管理端 2:PC(C#) 3:移动(云平台) 4:终端(交易所) 5:PC(云平台)",
  34876. "type": "integer"
  34877. },
  34878. "parentcode": {
  34879. "description": "上级资源代码",
  34880. "type": "string"
  34881. },
  34882. "remark": {
  34883. "description": "Remark",
  34884. "type": "string"
  34885. },
  34886. "resourcecode": {
  34887. "description": "资源代码",
  34888. "type": "string"
  34889. },
  34890. "resourcelevel": {
  34891. "description": "级别1-一级 2-二级 3-三级4-四级",
  34892. "type": "integer"
  34893. },
  34894. "resourcename": {
  34895. "description": "资源名(Title)",
  34896. "type": "string"
  34897. },
  34898. "sort": {
  34899. "description": "排序",
  34900. "type": "integer"
  34901. },
  34902. "url": {
  34903. "description": "Url",
  34904. "type": "string"
  34905. },
  34906. "urltype": {
  34907. "description": "地址类型 - 1:路由 2:外链 3:内联框架",
  34908. "type": "integer"
  34909. }
  34910. }
  34911. },
  34912. "models.OperationPrimaryMenu": {
  34913. "type": "object",
  34914. "properties": {
  34915. "Children": {
  34916. "description": "二级功能菜单",
  34917. "type": "array",
  34918. "items": {
  34919. "$ref": "#/definitions/models.OperationSecondaryMenu"
  34920. }
  34921. },
  34922. "Key": {
  34923. "description": "菜单KEY",
  34924. "type": "string"
  34925. },
  34926. "Label": {
  34927. "description": "菜单标题",
  34928. "type": "string"
  34929. }
  34930. }
  34931. },
  34932. "models.OperationSecondaryMenu": {
  34933. "type": "object",
  34934. "properties": {
  34935. "Key": {
  34936. "description": "菜单KEY",
  34937. "type": "string"
  34938. },
  34939. "Label": {
  34940. "description": "菜单标题",
  34941. "type": "string"
  34942. },
  34943. "TabList": {
  34944. "description": "三级功能菜单",
  34945. "type": "array",
  34946. "items": {
  34947. "$ref": "#/definitions/models.OperationTabMenu"
  34948. }
  34949. }
  34950. }
  34951. },
  34952. "models.OperationTabMenu": {
  34953. "type": "object",
  34954. "properties": {
  34955. "Key": {
  34956. "description": "菜单KEY",
  34957. "type": "string"
  34958. },
  34959. "Label": {
  34960. "description": "菜单标题",
  34961. "type": "string"
  34962. }
  34963. }
  34964. },
  34965. "models.Patradelinkdetail": {
  34966. "type": "object",
  34967. "properties": {
  34968. "accountname": {
  34969. "description": "套期主体",
  34970. "type": "string"
  34971. },
  34972. "agreeunit": {
  34973. "description": "合约乘数",
  34974. "type": "number"
  34975. },
  34976. "amount": {
  34977. "description": "金额 = RelatedLot * TradePrice * AgreeUnit",
  34978. "type": "number"
  34979. },
  34980. "areauserid": {
  34981. "description": "所属机构",
  34982. "type": "integer"
  34983. },
  34984. "bizsubjectid": {
  34985. "description": "归属业务部门ID - SubjectID",
  34986. "type": "integer"
  34987. },
  34988. "buyorsell": {
  34989. "description": "方向 - 0:买 1:卖",
  34990. "type": "integer"
  34991. },
  34992. "convertratio": {
  34993. "description": "品种系数",
  34994. "type": "number"
  34995. },
  34996. "convertratiochange": {
  34997. "description": "套期商品变化量 = RelatedLot * AgreeUnit * ConvertRatio",
  34998. "type": "number"
  34999. },
  35000. "createtime": {
  35001. "description": "[日期时间]创建时间",
  35002. "type": "string"
  35003. },
  35004. "creatorid": {
  35005. "description": "创建人ID",
  35006. "type": "integer"
  35007. },
  35008. "creatorsrc": {
  35009. "description": "创建人来源 - 1:管理端 2:终端 3:交易",
  35010. "type": "integer"
  35011. },
  35012. "goodscode": {
  35013. "description": "商品代码(内部)",
  35014. "type": "string"
  35015. },
  35016. "goodsgroupid": {
  35017. "description": "对冲品种ID[期货合约商品组ID]",
  35018. "type": "integer"
  35019. },
  35020. "goodsid": {
  35021. "description": "商品ID",
  35022. "type": "integer"
  35023. },
  35024. "hedgeditemid": {
  35025. "description": "现货ID[套期项目ID] [13 - 被套期项目ID] [4,10,11 - 现货合同ID] [9 - 套保计划ID]",
  35026. "type": "integer"
  35027. },
  35028. "hedgeflag": {
  35029. "description": "投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞) 13:被套期项目",
  35030. "type": "integer"
  35031. },
  35032. "linkdetailid": {
  35033. "description": "期货明细ID(614+Unix秒时间戳(10位)+xxxxxx)",
  35034. "type": "string"
  35035. },
  35036. "linkstatus": {
  35037. "description": "关联状态 - 1:成功 2:失败 3:解绑",
  35038. "type": "integer"
  35039. },
  35040. "middlegoodsid": {
  35041. "description": "套保品种ID",
  35042. "type": "integer"
  35043. },
  35044. "name": {
  35045. "description": "账户名/子账户",
  35046. "type": "string"
  35047. },
  35048. "optioncode": {
  35049. "description": "[期货合约]期权代码 [期权]",
  35050. "type": "string"
  35051. },
  35052. "ordertype": {
  35053. "description": "单据类型[套期工具] - 1:期货单 2:看涨期权单 3:看跌期权单",
  35054. "type": "integer"
  35055. },
  35056. "relatedlot": {
  35057. "description": "[数量]关联手数",
  35058. "type": "number"
  35059. },
  35060. "relatedmode": {
  35061. "description": "关联方式 - 1:自动关联 2:手动关联 3:解绑关联",
  35062. "type": "integer"
  35063. },
  35064. "relatedqty": {
  35065. "description": "关联数量 = RelatedLot * AgreeUnit * ConvertRatio",
  35066. "type": "number"
  35067. },
  35068. "retcode": {
  35069. "description": "返回码",
  35070. "type": "integer"
  35071. },
  35072. "saleuserid": {
  35073. "description": "业务员ID",
  35074. "type": "integer"
  35075. },
  35076. "tradedate": {
  35077. "description": "关联交易日(yyyyMMdd)",
  35078. "type": "string"
  35079. },
  35080. "tradeid": {
  35081. "description": "[成交单号]内部成交单ID",
  35082. "type": "string"
  35083. },
  35084. "tradelot": {
  35085. "description": "成交手数",
  35086. "type": "integer"
  35087. },
  35088. "tradeprice": {
  35089. "description": "[价格]成交价格",
  35090. "type": "number"
  35091. },
  35092. "tradetradedate": {
  35093. "description": "成交交易日(yyyyMMdd)",
  35094. "type": "string"
  35095. }
  35096. }
  35097. },
  35098. "models.PromotionIncome": {
  35099. "type": "object",
  35100. "properties": {
  35101. "profitmonth": {
  35102. "description": "时间",
  35103. "type": "string"
  35104. },
  35105. "profitstatus": {
  35106. "description": "状态 - 0:全部 1:已支付 2:未支付",
  35107. "type": "integer"
  35108. },
  35109. "sumamount": {
  35110. "description": "金额",
  35111. "type": "number"
  35112. },
  35113. "wrstandardcode": {
  35114. "description": "现货商品代码",
  35115. "type": "string"
  35116. },
  35117. "wrstandardid": {
  35118. "description": "现货商品ID",
  35119. "type": "integer"
  35120. },
  35121. "wrstandardname": {
  35122. "description": "现货商品名称",
  35123. "type": "string"
  35124. }
  35125. }
  35126. },
  35127. "models.PromotionIncomeDetail": {
  35128. "type": "object",
  35129. "properties": {
  35130. "buyorsell": {
  35131. "description": "方向",
  35132. "type": "string"
  35133. },
  35134. "market": {
  35135. "description": "市场",
  35136. "type": "string"
  35137. },
  35138. "profitamount": {
  35139. "description": "金额",
  35140. "type": "number"
  35141. },
  35142. "profitroletype": {
  35143. "description": "级别",
  35144. "type": "string"
  35145. },
  35146. "tradetime": {
  35147. "description": "时间",
  35148. "type": "string"
  35149. },
  35150. "wrstandardcode": {
  35151. "description": "现货商品代码",
  35152. "type": "string"
  35153. },
  35154. "wrstandardid": {
  35155. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  35156. "type": "integer"
  35157. },
  35158. "wrstandardname": {
  35159. "description": "现货商品名称",
  35160. "type": "string"
  35161. }
  35162. }
  35163. },
  35164. "models.PurchaseTransfer": {
  35165. "type": "object",
  35166. "properties": {
  35167. "pictureurls": {
  35168. "description": "详情图片(逗号分隔)",
  35169. "type": "string"
  35170. },
  35171. "refgoodsid": {
  35172. "description": "参考商品ID",
  35173. "type": "integer"
  35174. },
  35175. "thumurls": {
  35176. "description": "缩略图片(1:1)(逗号分隔)",
  35177. "type": "string"
  35178. },
  35179. "unitid": {
  35180. "description": "现货商品单位ID",
  35181. "type": "integer"
  35182. },
  35183. "wrstandardcode": {
  35184. "description": "现货商品代码",
  35185. "type": "string"
  35186. },
  35187. "wrstandardid": {
  35188. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  35189. "type": "integer"
  35190. },
  35191. "wrstandardname": {
  35192. "description": "现货商品名称(模糊查询)",
  35193. "type": "string"
  35194. }
  35195. }
  35196. },
  35197. "models.QhjAccountOutInApply": {
  35198. "type": "object",
  35199. "properties": {
  35200. "accountcode": {
  35201. "description": "资金账号",
  35202. "type": "string"
  35203. },
  35204. "accountname": {
  35205. "description": "用户名称(名称)",
  35206. "type": "string"
  35207. },
  35208. "accountpwd": {
  35209. "description": "资金密码",
  35210. "type": "string"
  35211. },
  35212. "accountticket": {
  35213. "description": "最新账户服务流水号",
  35214. "type": "string"
  35215. },
  35216. "amount": {
  35217. "description": "金额",
  35218. "type": "number"
  35219. },
  35220. "applyremark": {
  35221. "description": "申请备注",
  35222. "type": "string"
  35223. },
  35224. "applystatus": {
  35225. "description": "申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;",
  35226. "type": "integer"
  35227. },
  35228. "auditid": {
  35229. "description": "审核人",
  35230. "type": "integer"
  35231. },
  35232. "audittime": {
  35233. "description": "审核时间",
  35234. "type": "string"
  35235. },
  35236. "bank_apply_ticket": {
  35237. "description": "银行申请流水",
  35238. "type": "string"
  35239. },
  35240. "bankaccountname": {
  35241. "description": "银行账户名",
  35242. "type": "string"
  35243. },
  35244. "bankaccountno": {
  35245. "description": "银行卡号",
  35246. "type": "string"
  35247. },
  35248. "bankid": {
  35249. "description": "银行编号",
  35250. "type": "string"
  35251. },
  35252. "bankticket": {
  35253. "description": "银行流水",
  35254. "type": "string"
  35255. },
  35256. "branchbankid": {
  35257. "description": "银行支行号",
  35258. "type": "string"
  35259. },
  35260. "branchbankname": {
  35261. "description": "银行支行名称",
  35262. "type": "string"
  35263. },
  35264. "capamountout": {
  35265. "description": "出金(劣后本金) - 外部子账户",
  35266. "type": "number"
  35267. },
  35268. "certificatephotourl": {
  35269. "description": "凭证地址",
  35270. "type": "string"
  35271. },
  35272. "charge": {
  35273. "description": "手续费",
  35274. "type": "number"
  35275. },
  35276. "checkerrorflag": {
  35277. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  35278. "type": "integer"
  35279. },
  35280. "currency": {
  35281. "description": "币种",
  35282. "type": "string"
  35283. },
  35284. "cusbankid": {
  35285. "description": "托管银行编号",
  35286. "type": "string"
  35287. },
  35288. "cusbankname": {
  35289. "description": "托管银行名称",
  35290. "type": "string"
  35291. },
  35292. "cusbankshortname": {
  35293. "description": "托管银行简称",
  35294. "type": "string"
  35295. },
  35296. "exchticket": {
  35297. "description": "银行服务流水号",
  35298. "type": "string"
  35299. },
  35300. "executetype": {
  35301. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  35302. "type": "integer"
  35303. },
  35304. "extendinfo": {
  35305. "description": "扩展信息",
  35306. "type": "string"
  35307. },
  35308. "extoperateid": {
  35309. "description": "交易服务流水号",
  35310. "type": "integer"
  35311. },
  35312. "infamount": {
  35313. "description": "劣后金额(自有)",
  35314. "type": "number"
  35315. },
  35316. "logincode": {
  35317. "description": "登录账号(账号)",
  35318. "type": "string"
  35319. },
  35320. "netaddr": {
  35321. "description": "调转网址",
  35322. "type": "string"
  35323. },
  35324. "priamount": {
  35325. "description": "优先金额(授信)",
  35326. "type": "number"
  35327. },
  35328. "reauditid": {
  35329. "description": "复审人",
  35330. "type": "integer"
  35331. },
  35332. "reauditremark": {
  35333. "description": "复审备注",
  35334. "type": "string"
  35335. },
  35336. "reaudittime": {
  35337. "description": "复审时间",
  35338. "type": "string"
  35339. },
  35340. "relatedorderid": {
  35341. "description": "三方关联ID",
  35342. "type": "string"
  35343. },
  35344. "remark": {
  35345. "description": "备注",
  35346. "type": "string"
  35347. },
  35348. "remark2": {
  35349. "description": "备注(失败原因)",
  35350. "type": "string"
  35351. },
  35352. "soucreamount": {
  35353. "description": "原始出入金金额",
  35354. "type": "number"
  35355. },
  35356. "soucrecurrencyid": {
  35357. "description": "原始出入金币种",
  35358. "type": "integer"
  35359. },
  35360. "tradedate": {
  35361. "description": "交易日(yyyyMMdd)",
  35362. "type": "string"
  35363. },
  35364. "updatetime": {
  35365. "description": "更新时间(申请时间)",
  35366. "type": "string"
  35367. },
  35368. "userid": {
  35369. "description": "用户id",
  35370. "type": "integer"
  35371. },
  35372. "userinfotype": {
  35373. "description": "账户类型 1-个人 2-企业",
  35374. "type": "integer"
  35375. }
  35376. }
  35377. },
  35378. "models.QhjAgreementChangeLog": {
  35379. "type": "object",
  35380. "properties": {
  35381. "agreementcontent": {
  35382. "description": "协议内容",
  35383. "type": "string"
  35384. },
  35385. "agreementfrequency": {
  35386. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  35387. "type": "integer"
  35388. },
  35389. "agreementid": {
  35390. "description": "协议ID",
  35391. "type": "integer"
  35392. },
  35393. "agreementname": {
  35394. "description": "协议名称",
  35395. "type": "string"
  35396. },
  35397. "agreementno": {
  35398. "description": "协议编号",
  35399. "type": "string"
  35400. },
  35401. "agreementtype": {
  35402. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35403. "type": "integer"
  35404. },
  35405. "agreementversion": {
  35406. "description": "协议版本号",
  35407. "type": "integer"
  35408. },
  35409. "logid": {
  35410. "description": "流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)",
  35411. "type": "integer"
  35412. },
  35413. "reviserid": {
  35414. "description": "修改人",
  35415. "type": "integer"
  35416. },
  35417. "revisersrc": {
  35418. "description": "修改来源 - 1:管理端 2:终端",
  35419. "type": "integer"
  35420. },
  35421. "updatetime": {
  35422. "description": "更新时间",
  35423. "type": "string"
  35424. }
  35425. }
  35426. },
  35427. "models.QhjAgreementConfig": {
  35428. "type": "object",
  35429. "properties": {
  35430. "agreementcontent": {
  35431. "description": "协议内容",
  35432. "type": "string"
  35433. },
  35434. "agreementfrequency": {
  35435. "description": "协议频率 - 1:首次 2:每次 [登录为2, 其它为1]",
  35436. "type": "integer"
  35437. },
  35438. "agreementid": {
  35439. "description": "协议ID(SEQ_QHJ_AGREEMENTCONFIG)",
  35440. "type": "integer"
  35441. },
  35442. "agreementname": {
  35443. "description": "协议名称",
  35444. "type": "string"
  35445. },
  35446. "agreementno": {
  35447. "description": "协议编号",
  35448. "type": "string"
  35449. },
  35450. "agreementtype": {
  35451. "description": "协议类型 - 1:注册 2:登录 3:交易",
  35452. "type": "integer"
  35453. },
  35454. "agreementversion": {
  35455. "description": "协议版本号(从1开始每次修改加1)",
  35456. "type": "integer"
  35457. },
  35458. "createtime": {
  35459. "description": "创建时间",
  35460. "type": "string"
  35461. },
  35462. "creatorid": {
  35463. "description": "创建人",
  35464. "type": "integer"
  35465. },
  35466. "creatorsrc": {
  35467. "description": "创建来源 - 1:管理端 2:终端",
  35468. "type": "integer"
  35469. },
  35470. "isvalid": {
  35471. "description": "是否有效 - 是否有效 - 1:正常 2:停用 3:注销",
  35472. "type": "integer"
  35473. },
  35474. "reviserid": {
  35475. "description": "修改人",
  35476. "type": "integer"
  35477. },
  35478. "revisersrc": {
  35479. "description": "修改来源 - 1:管理端 2:终端",
  35480. "type": "integer"
  35481. },
  35482. "updatetime": {
  35483. "description": "更新时间",
  35484. "type": "string"
  35485. }
  35486. }
  35487. },
  35488. "models.QhjAreaFinanceConfig": {
  35489. "type": "object",
  35490. "properties": {
  35491. "additionalratio": {
  35492. "description": "追加款比例",
  35493. "type": "number"
  35494. },
  35495. "advanceratio": {
  35496. "description": "预付款比例",
  35497. "type": "number"
  35498. },
  35499. "alarmratio": {
  35500. "description": "告警比例",
  35501. "type": "number"
  35502. },
  35503. "consumptiondirectreward": {
  35504. "description": "消费直推奖励值",
  35505. "type": "number"
  35506. },
  35507. "consumptionenabled": {
  35508. "description": "是否启用消费奖励 - 0:不启用 1:启用",
  35509. "type": "integer"
  35510. },
  35511. "consumptionindirectreward": {
  35512. "description": "消费间推奖励值",
  35513. "type": "number"
  35514. },
  35515. "consumptionmodel": {
  35516. "description": "消费奖励方式 - 1:比率 2:固定",
  35517. "type": "integer"
  35518. },
  35519. "customerservicenum": {
  35520. "description": "客服电话",
  35521. "type": "string"
  35522. },
  35523. "dayinterestrate": {
  35524. "description": "日利率",
  35525. "type": "number"
  35526. },
  35527. "disableconsumptiontips": {
  35528. "description": "关闭消费奖励提示",
  35529. "type": "string"
  35530. },
  35531. "modifierid": {
  35532. "description": "修改人ID",
  35533. "type": "integer"
  35534. },
  35535. "modifysrc": {
  35536. "description": "审核来源 - 1:管理端 2:终端",
  35537. "type": "integer"
  35538. },
  35539. "modifytime": {
  35540. "description": "修改时间",
  35541. "type": "string"
  35542. },
  35543. "promotionvalue": {
  35544. "description": "推广奖励值(固定)",
  35545. "type": "number"
  35546. },
  35547. "scoreconfigvalue1": {
  35548. "description": "提货积分配置1",
  35549. "type": "integer"
  35550. },
  35551. "scoreconfigvalue2": {
  35552. "description": "提货积分配置2",
  35553. "type": "integer"
  35554. },
  35555. "userid": {
  35556. "description": "机构用户ID其他做市关系,都设置为 1",
  35557. "type": "integer"
  35558. },
  35559. "username": {
  35560. "description": "用户名称",
  35561. "type": "string"
  35562. }
  35563. }
  35564. },
  35565. "models.QhjBankAccountSign": {
  35566. "type": "object",
  35567. "properties": {
  35568. "accountcode": {
  35569. "description": "资金账号",
  35570. "type": "string"
  35571. },
  35572. "accountname": {
  35573. "description": "资金账号对应的账号名(UserName)",
  35574. "type": "string"
  35575. },
  35576. "accountname2": {
  35577. "description": "资金账号对应的账号名(UserName) - 密文",
  35578. "type": "string"
  35579. },
  35580. "accounttype": {
  35581. "description": "账户类型(UserType)",
  35582. "type": "integer"
  35583. },
  35584. "applicationtime": {
  35585. "description": "最后一次更新的时间",
  35586. "type": "string"
  35587. },
  35588. "applyexchticket": {
  35589. "description": "申请流水",
  35590. "type": "string"
  35591. },
  35592. "auditid": {
  35593. "description": "审核人",
  35594. "type": "integer"
  35595. },
  35596. "audittime": {
  35597. "description": "审核时间",
  35598. "type": "string"
  35599. },
  35600. "bankaccountname": {
  35601. "description": "签约银行卡账号名",
  35602. "type": "string"
  35603. },
  35604. "bankaccountname2": {
  35605. "description": "签约银行卡账号名 - 密文",
  35606. "type": "string"
  35607. },
  35608. "bankaccountno": {
  35609. "description": "银行卡号",
  35610. "type": "string"
  35611. },
  35612. "bankaccountno2": {
  35613. "description": "银行卡号 - 密文",
  35614. "type": "string"
  35615. },
  35616. "bankaccounttype": {
  35617. "description": "银行账户类型 - 1-对私; 2-对公",
  35618. "type": "integer"
  35619. },
  35620. "bankcardtype": {
  35621. "description": "银行卡类型",
  35622. "type": "integer"
  35623. },
  35624. "bankchildaccount": {
  35625. "description": "银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)",
  35626. "type": "string"
  35627. },
  35628. "bankcity": {
  35629. "description": "开户行城市",
  35630. "type": "string"
  35631. },
  35632. "bankid": {
  35633. "description": "签约银行ID",
  35634. "type": "string"
  35635. },
  35636. "bankname": {
  35637. "description": "签约银行名称",
  35638. "type": "string"
  35639. },
  35640. "bankprovince": {
  35641. "description": "开户行省份",
  35642. "type": "string"
  35643. },
  35644. "branchbankid": {
  35645. "description": "签约银行支行号",
  35646. "type": "string"
  35647. },
  35648. "branchbankname": {
  35649. "description": "签约银行支行名称",
  35650. "type": "string"
  35651. },
  35652. "cardno": {
  35653. "description": "证件号码",
  35654. "type": "string"
  35655. },
  35656. "cardno2": {
  35657. "description": "证件号码 - 密文",
  35658. "type": "string"
  35659. },
  35660. "cardtype": {
  35661. "description": "证件类型",
  35662. "type": "string"
  35663. },
  35664. "currency": {
  35665. "description": "币种",
  35666. "type": "string"
  35667. },
  35668. "cusbankid": {
  35669. "description": "托管银行编号",
  35670. "type": "string"
  35671. },
  35672. "direct": {
  35673. "description": "方向(可以判断那方先发起的签约)",
  35674. "type": "integer"
  35675. },
  35676. "exchticket": {
  35677. "description": "最后一次签约成功的流水号",
  35678. "type": "string"
  35679. },
  35680. "extendinfo": {
  35681. "description": "扩展信息(JSON字符串)",
  35682. "type": "string"
  35683. },
  35684. "mobilephone": {
  35685. "description": "手机号",
  35686. "type": "string"
  35687. },
  35688. "mobilephone2": {
  35689. "description": "手机号 - 密文",
  35690. "type": "string"
  35691. },
  35692. "netaddr": {
  35693. "description": "调转网址",
  35694. "type": "string"
  35695. },
  35696. "relateduserid": {
  35697. "description": "关联使用者userid",
  35698. "type": "integer"
  35699. },
  35700. "signstatus": {
  35701. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核",
  35702. "type": "integer"
  35703. },
  35704. "updatetime": {
  35705. "description": "更新时间(签解约更新时间)",
  35706. "type": "string"
  35707. }
  35708. }
  35709. },
  35710. "models.QhjBankInfo": {
  35711. "type": "object",
  35712. "properties": {
  35713. "bankid": {
  35714. "description": "银行ID",
  35715. "type": "string"
  35716. },
  35717. "bankname": {
  35718. "description": "银行名称",
  35719. "type": "string"
  35720. },
  35721. "clearbankno": {
  35722. "description": "清算系统银行编号",
  35723. "type": "string"
  35724. },
  35725. "orderindex": {
  35726. "description": "排序顺序",
  35727. "type": "integer"
  35728. },
  35729. "status": {
  35730. "description": "状态 - 0:正常 1:注销",
  35731. "type": "integer"
  35732. }
  35733. }
  35734. },
  35735. "models.QhjBrokerApply": {
  35736. "type": "object",
  35737. "properties": {
  35738. "applicantid": {
  35739. "description": "申请人",
  35740. "type": "integer"
  35741. },
  35742. "applysrc": {
  35743. "description": "申请来源 - 1:管理端 2:终端",
  35744. "type": "integer"
  35745. },
  35746. "applystatus": {
  35747. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  35748. "type": "integer"
  35749. },
  35750. "applytime": {
  35751. "description": "申请时间",
  35752. "type": "string"
  35753. },
  35754. "auditorid": {
  35755. "description": "审核人",
  35756. "type": "integer"
  35757. },
  35758. "auditremark": {
  35759. "description": "审核备注",
  35760. "type": "string"
  35761. },
  35762. "auditsrc": {
  35763. "description": "审核来源 - 1:管理端 2:终端",
  35764. "type": "integer"
  35765. },
  35766. "audittime": {
  35767. "description": "审核时间",
  35768. "type": "string"
  35769. },
  35770. "audittradedate": {
  35771. "description": "审核交易日(yyyyMMdd)",
  35772. "type": "string"
  35773. },
  35774. "brokerapplyid": {
  35775. "description": "申请ID(SEQ_BROKERAPPLY)",
  35776. "type": "integer"
  35777. },
  35778. "cardbackphotourl": {
  35779. "description": "证件背面图片地址",
  35780. "type": "string"
  35781. },
  35782. "cardfrontphotourl": {
  35783. "description": "证件正面图片地址",
  35784. "type": "string"
  35785. },
  35786. "cardnum": {
  35787. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  35788. "type": "string"
  35789. },
  35790. "customername": {
  35791. "description": "姓名",
  35792. "type": "string"
  35793. },
  35794. "logincode": {
  35795. "description": "登录代码",
  35796. "type": "string"
  35797. },
  35798. "mobile": {
  35799. "description": "手机号码",
  35800. "type": "string"
  35801. },
  35802. "parentuserid": {
  35803. "description": "所属机构id",
  35804. "type": "integer"
  35805. },
  35806. "parentusername": {
  35807. "description": "所属机构名称",
  35808. "type": "string"
  35809. },
  35810. "refereeuserid": {
  35811. "description": "推荐人id(经纪人)",
  35812. "type": "integer"
  35813. },
  35814. "refernum": {
  35815. "description": "推荐码",
  35816. "type": "string"
  35817. },
  35818. "remark": {
  35819. "description": "备注",
  35820. "type": "string"
  35821. },
  35822. "subarealevelpath": {
  35823. "description": "层级路径",
  35824. "type": "string"
  35825. },
  35826. "tradedate": {
  35827. "description": "交易日(yyyyMMdd)",
  35828. "type": "string"
  35829. },
  35830. "userid": {
  35831. "description": "申请人用户ID",
  35832. "type": "integer"
  35833. },
  35834. "userinfotype": {
  35835. "description": "用户类型 1-个人 2-企业",
  35836. "type": "integer"
  35837. },
  35838. "username": {
  35839. "description": "用户名称",
  35840. "type": "string"
  35841. }
  35842. }
  35843. },
  35844. "models.QhjBrokerApplyEx": {
  35845. "type": "object",
  35846. "properties": {
  35847. "applylist": {
  35848. "description": "经纪人申请记录(只返回最新一条)",
  35849. "type": "array",
  35850. "items": {
  35851. "$ref": "#/definitions/models.QhjBrokerApply"
  35852. }
  35853. },
  35854. "canrecommend": {
  35855. "description": "是否经纪人 0-不是 1-是",
  35856. "type": "integer"
  35857. },
  35858. "refernum": {
  35859. "description": "推荐码",
  35860. "type": "string"
  35861. },
  35862. "userid": {
  35863. "description": "用户id",
  35864. "type": "integer"
  35865. },
  35866. "userinfotype": {
  35867. "description": "用户类型 1-个人 2-企业",
  35868. "type": "integer"
  35869. }
  35870. }
  35871. },
  35872. "models.QhjBrokerRewardLog": {
  35873. "type": "object",
  35874. "properties": {
  35875. "accountid": {
  35876. "description": "资金账号ID",
  35877. "type": "integer"
  35878. },
  35879. "createtime": {
  35880. "description": "创建时间(时间)",
  35881. "type": "string"
  35882. },
  35883. "handlestatus": {
  35884. "description": "处理状态",
  35885. "type": "integer"
  35886. },
  35887. "logid": {
  35888. "description": "奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  35889. "type": "string"
  35890. },
  35891. "marketid": {
  35892. "description": "市场ID",
  35893. "type": "integer"
  35894. },
  35895. "mmaccountid": {
  35896. "description": "做市商资金账号ID",
  35897. "type": "string"
  35898. },
  35899. "mmuserid": {
  35900. "description": "做市商用户ID",
  35901. "type": "string"
  35902. },
  35903. "rewardamount": {
  35904. "description": "奖励金额",
  35905. "type": "number"
  35906. },
  35907. "rewardmodel": {
  35908. "description": "消费奖励方式 - 1:比率 2:固定",
  35909. "type": "integer"
  35910. },
  35911. "rewardtype": {
  35912. "description": "奖励类型 - 1:推广 2:消费1级 3:消费2级",
  35913. "type": "integer"
  35914. },
  35915. "rewardvalue": {
  35916. "description": "配置奖励值",
  35917. "type": "number"
  35918. },
  35919. "srcamount": {
  35920. "description": "成交金额 [消费奖励] (金额)",
  35921. "type": "number"
  35922. },
  35923. "srcgoodsid": {
  35924. "description": "来源商品ID [消费奖励]",
  35925. "type": "string"
  35926. },
  35927. "srctime": {
  35928. "description": "来源时间 (成交时间) [消费奖励]",
  35929. "type": "string"
  35930. },
  35931. "srctradeid": {
  35932. "description": "来源成交单ID [消费奖励] - 排除提货成交",
  35933. "type": "string"
  35934. },
  35935. "srcuserid": {
  35936. "description": "来源用户ID(推广账户)",
  35937. "type": "string"
  35938. },
  35939. "srcusername": {
  35940. "description": "推广账户名称",
  35941. "type": "string"
  35942. },
  35943. "tradedate": {
  35944. "description": "交易日(yyyyMMdd)",
  35945. "type": "string"
  35946. },
  35947. "userid": {
  35948. "description": "经纪人用户ID",
  35949. "type": "integer"
  35950. }
  35951. }
  35952. },
  35953. "models.QhjContract": {
  35954. "type": "object",
  35955. "properties": {
  35956. "contractconfirmtime": {
  35957. "description": "合同确认时间(时间)",
  35958. "type": "string"
  35959. },
  35960. "currisklevel": {
  35961. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  35962. "type": "integer"
  35963. },
  35964. "decimalplace": {
  35965. "description": "商品报价小数位",
  35966. "type": "integer"
  35967. },
  35968. "enumdicname": {
  35969. "description": "单位名称",
  35970. "type": "string"
  35971. },
  35972. "goodscode": {
  35973. "description": "商品代码",
  35974. "type": "string"
  35975. },
  35976. "goodsid": {
  35977. "description": "商品ID [5:融资单]",
  35978. "type": "integer"
  35979. },
  35980. "goodsname": {
  35981. "description": "商品名称",
  35982. "type": "string"
  35983. },
  35984. "goodunitid": {
  35985. "description": "商品单位id",
  35986. "type": "integer"
  35987. },
  35988. "initmargin": {
  35989. "description": "初始保证金(首付款)",
  35990. "type": "number"
  35991. },
  35992. "lenderamount": {
  35993. "description": "贷款金额(总额|订单总额)",
  35994. "type": "number"
  35995. },
  35996. "marginratio": {
  35997. "description": "保证金比率(首付比例)",
  35998. "type": "number"
  35999. },
  36000. "payamount": {
  36001. "description": "已付(已付货款)",
  36002. "type": "number"
  36003. },
  36004. "reckonrecovermargin": {
  36005. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  36006. "type": "number"
  36007. },
  36008. "recoveredmargin": {
  36009. "description": "已追缴保证金",
  36010. "type": "number"
  36011. },
  36012. "remainamount": {
  36013. "description": "合同剩余金额(融资额)",
  36014. "type": "number"
  36015. },
  36016. "scfcontractid": {
  36017. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36018. "type": "string"
  36019. },
  36020. "scfcontractstatus": {
  36021. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36022. "type": "integer"
  36023. },
  36024. "scfcontracttype": {
  36025. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  36026. "type": "integer"
  36027. },
  36028. "totalinterest": {
  36029. "description": "已计总利息(利息)",
  36030. "type": "number"
  36031. },
  36032. "tradeprice": {
  36033. "description": "成交价格(成本价格)",
  36034. "type": "number"
  36035. },
  36036. "userid": {
  36037. "description": "用户ID",
  36038. "type": "integer"
  36039. },
  36040. "username": {
  36041. "description": "用户名称",
  36042. "type": "string"
  36043. },
  36044. "wrqty": {
  36045. "description": "仓单数量(数量)",
  36046. "type": "number"
  36047. }
  36048. }
  36049. },
  36050. "models.QhjContractLog": {
  36051. "type": "object",
  36052. "properties": {
  36053. "amount": {
  36054. "description": "支付金额",
  36055. "type": "number"
  36056. },
  36057. "amounttype": {
  36058. "description": "资金类型 - 1:首付款 2:尾款 3:利息 4:追加款",
  36059. "type": "integer"
  36060. },
  36061. "logid": {
  36062. "description": "LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  36063. "type": "string"
  36064. },
  36065. "remainamount": {
  36066. "description": "剩余货款",
  36067. "type": "number"
  36068. },
  36069. "scfcontractid": {
  36070. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36071. "type": "integer"
  36072. },
  36073. "updatetime": {
  36074. "description": "更新时间",
  36075. "type": "string"
  36076. }
  36077. }
  36078. },
  36079. "models.QhjCusBankSignBankEx": {
  36080. "type": "object",
  36081. "properties": {
  36082. "banklst": {
  36083. "description": "银行列表",
  36084. "type": "array",
  36085. "items": {
  36086. "$ref": "#/definitions/models.QhjBankInfo"
  36087. }
  36088. },
  36089. "canallot": {
  36090. "description": "是否支持跨行调拨 - 0:不支持 1:支持",
  36091. "type": "integer"
  36092. },
  36093. "canallotquery": {
  36094. "description": "是否支持跨行调拨查询 - 0:不支持 1:支持",
  36095. "type": "integer"
  36096. },
  36097. "canbindcard": {
  36098. "description": "是否可绑卡与解卡 - 0:不可 1:可以",
  36099. "type": "integer"
  36100. },
  36101. "caninamount": {
  36102. "description": "是否可入金 - 0:不可 1:可以",
  36103. "type": "integer"
  36104. },
  36105. "caninamount2": {
  36106. "description": "是否可入金(网银端) - 0:不可 1:可以",
  36107. "type": "integer"
  36108. },
  36109. "canmodifybankcard": {
  36110. "description": "是否可修改银行卡号 - 0:不可 1:可以",
  36111. "type": "integer"
  36112. },
  36113. "canmodifyphone": {
  36114. "description": "是否可修改手机号 - 0:不可 1:可以",
  36115. "type": "integer"
  36116. },
  36117. "canmodifysigninfo": {
  36118. "description": "是否可修改签约信息 - 0:不可 1:可以",
  36119. "type": "integer"
  36120. },
  36121. "canoutamount": {
  36122. "description": "是否可出金 - 0:不可 1:可以",
  36123. "type": "integer"
  36124. },
  36125. "canoutamount2": {
  36126. "description": "是否可出金(网银端) - 0:不可 1:可以",
  36127. "type": "integer"
  36128. },
  36129. "canrelease": {
  36130. "description": "是否可解约 - 0:不可 1:可以",
  36131. "type": "integer"
  36132. },
  36133. "canrelease2": {
  36134. "description": "是否可解约(网银端) - 0:不可 1:可以",
  36135. "type": "integer"
  36136. },
  36137. "cansign": {
  36138. "description": "是否可签约 - 0:不可 1:可以",
  36139. "type": "integer"
  36140. },
  36141. "cansign2": {
  36142. "description": "是否可签约(网银端) - 0:不可 1:可以",
  36143. "type": "integer"
  36144. },
  36145. "currency": {
  36146. "description": "币种",
  36147. "type": "string"
  36148. },
  36149. "cusbankid": {
  36150. "description": "托管银行编号(对应清算中心TRAN_NO)",
  36151. "type": "string"
  36152. },
  36153. "cusbankname": {
  36154. "description": "银行业务名称",
  36155. "type": "string"
  36156. },
  36157. "cusbankshortname": {
  36158. "description": "银行业务简称",
  36159. "type": "string"
  36160. },
  36161. "exchbankid": {
  36162. "description": "交易所开户银行ID",
  36163. "type": "string"
  36164. },
  36165. "exchpaybankaccname": {
  36166. "description": "交易所支出结算账户户名",
  36167. "type": "string"
  36168. },
  36169. "exchpaybankaccno": {
  36170. "description": "交易所支出结算账户",
  36171. "type": "string"
  36172. },
  36173. "isneedcheck": {
  36174. "description": "是否需要对账 - 0:需要 1:不需要 [不需要界面配置]",
  36175. "type": "integer"
  36176. },
  36177. "isneedclear": {
  36178. "description": "是否需要清算 - 0:不需要 1:需要",
  36179. "type": "integer"
  36180. },
  36181. "lastcheckstatus": {
  36182. "description": "最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败",
  36183. "type": "integer"
  36184. },
  36185. "lastchecktime": {
  36186. "description": "最后对账时间",
  36187. "type": "string"
  36188. },
  36189. "lastclearstatus": {
  36190. "description": "最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功",
  36191. "type": "integer"
  36192. },
  36193. "lastcleartime": {
  36194. "description": "最后清算时间",
  36195. "type": "string"
  36196. },
  36197. "lastsignintime": {
  36198. "description": "最后签到时间",
  36199. "type": "string"
  36200. },
  36201. "lastsignouttime": {
  36202. "description": "最后签退时间",
  36203. "type": "string"
  36204. },
  36205. "riskinfo": {
  36206. "description": "签约风险提示书",
  36207. "type": "string"
  36208. },
  36209. "signstatus": {
  36210. "description": "当前签到/签退状态 - 1:签到 2:签退",
  36211. "type": "integer"
  36212. },
  36213. "tradedate": {
  36214. "description": "交易日(yyyyMMdd)",
  36215. "type": "string"
  36216. },
  36217. "updatetime": {
  36218. "description": "当前签到/签退更新时间",
  36219. "type": "string"
  36220. }
  36221. }
  36222. },
  36223. "models.QhjCustomer": {
  36224. "type": "object",
  36225. "properties": {
  36226. "address": {
  36227. "description": "通讯地址",
  36228. "type": "string"
  36229. },
  36230. "attachment1": {
  36231. "description": "附件1",
  36232. "type": "string"
  36233. },
  36234. "attachment2": {
  36235. "description": "附件2",
  36236. "type": "string"
  36237. },
  36238. "audittime": {
  36239. "description": "审核时间",
  36240. "type": "string"
  36241. },
  36242. "cardbackphotourl": {
  36243. "description": "证件反面图片地址",
  36244. "type": "string"
  36245. },
  36246. "cardfrontphotourl": {
  36247. "description": "证件正面图片地址",
  36248. "type": "string"
  36249. },
  36250. "cardnum": {
  36251. "description": "证件号码",
  36252. "type": "string"
  36253. },
  36254. "cardtype": {
  36255. "description": "证件类型",
  36256. "type": "integer"
  36257. },
  36258. "cardtypename": {
  36259. "description": "证件类型名称",
  36260. "type": "string"
  36261. },
  36262. "cityid": {
  36263. "description": "市",
  36264. "type": "integer"
  36265. },
  36266. "cityname": {
  36267. "description": "城市名称",
  36268. "type": "string"
  36269. },
  36270. "contactname": {
  36271. "description": "联系人",
  36272. "type": "string"
  36273. },
  36274. "countryid": {
  36275. "description": "国家",
  36276. "type": "integer"
  36277. },
  36278. "countryname": {
  36279. "description": "国家名称",
  36280. "type": "string"
  36281. },
  36282. "createtime": {
  36283. "description": "创建时间",
  36284. "type": "string"
  36285. },
  36286. "customername": {
  36287. "description": "客户名称",
  36288. "type": "string"
  36289. },
  36290. "districtid": {
  36291. "description": "区域",
  36292. "type": "integer"
  36293. },
  36294. "districtname": {
  36295. "description": "地区名称",
  36296. "type": "string"
  36297. },
  36298. "email": {
  36299. "description": "邮件",
  36300. "type": "string"
  36301. },
  36302. "legalpersonname": {
  36303. "description": "法人姓名(企业)",
  36304. "type": "string"
  36305. },
  36306. "logincode": {
  36307. "description": "登录账号(代码)",
  36308. "type": "string"
  36309. },
  36310. "memberuserid": {
  36311. "description": "所属机构ID(所属会员)",
  36312. "type": "integer"
  36313. },
  36314. "memberusername": {
  36315. "description": "所属会员名称",
  36316. "type": "string"
  36317. },
  36318. "mobile": {
  36319. "description": "手机号码",
  36320. "type": "string"
  36321. },
  36322. "modifytime": {
  36323. "description": "修改时间",
  36324. "type": "string"
  36325. },
  36326. "nickname": {
  36327. "description": "昵称",
  36328. "type": "string"
  36329. },
  36330. "parentuserid": {
  36331. "description": "上级机构(所属机构)",
  36332. "type": "integer"
  36333. },
  36334. "parentusername": {
  36335. "description": "所属机构名称",
  36336. "type": "string"
  36337. },
  36338. "provinceid": {
  36339. "description": "省",
  36340. "type": "integer"
  36341. },
  36342. "provincename": {
  36343. "description": "省名称",
  36344. "type": "string"
  36345. },
  36346. "proxystatementurl": {
  36347. "description": "授权委托书",
  36348. "type": "string"
  36349. },
  36350. "remark": {
  36351. "description": "备注",
  36352. "type": "string"
  36353. },
  36354. "status": {
  36355. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  36356. "type": "integer"
  36357. },
  36358. "statusdesc": {
  36359. "description": "账户状态中文描述",
  36360. "type": "string"
  36361. },
  36362. "taxpayernum": {
  36363. "description": "纳税人识别号",
  36364. "type": "string"
  36365. },
  36366. "telphone": {
  36367. "description": "联系电话",
  36368. "type": "string"
  36369. },
  36370. "userid": {
  36371. "description": "用户ID",
  36372. "type": "integer"
  36373. },
  36374. "userinfotype": {
  36375. "description": "客户类型 1-个人 2-企业",
  36376. "type": "integer"
  36377. },
  36378. "username": {
  36379. "description": "用户名称",
  36380. "type": "string"
  36381. }
  36382. }
  36383. },
  36384. "models.QhjCustomerSignLog": {
  36385. "type": "object",
  36386. "properties": {
  36387. "agreementcontent": {
  36388. "description": "协议内容",
  36389. "type": "string"
  36390. },
  36391. "agreementid": {
  36392. "description": "协议ID",
  36393. "type": "integer"
  36394. },
  36395. "agreementname": {
  36396. "description": "协议名称",
  36397. "type": "string"
  36398. },
  36399. "agreementno": {
  36400. "description": "协议编号",
  36401. "type": "string"
  36402. },
  36403. "agreementtype": {
  36404. "description": "协议类型 - 1:注册 2:登录 3:交易",
  36405. "type": "integer"
  36406. },
  36407. "agreementversion": {
  36408. "description": "协议版本号",
  36409. "type": "integer"
  36410. },
  36411. "createtime": {
  36412. "description": "创建时间",
  36413. "type": "string"
  36414. },
  36415. "goodscode": {
  36416. "description": "商品代码",
  36417. "type": "string"
  36418. },
  36419. "goodsid": {
  36420. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36421. "type": "integer"
  36422. },
  36423. "goodsname": {
  36424. "description": "商品名称",
  36425. "type": "string"
  36426. },
  36427. "logid": {
  36428. "description": "流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)",
  36429. "type": "integer"
  36430. },
  36431. "nodetype": {
  36432. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  36433. "type": "integer"
  36434. },
  36435. "signadressurl": {
  36436. "description": "签约文件地址",
  36437. "type": "string"
  36438. },
  36439. "signtimestamp": {
  36440. "description": "签约状态时间戳",
  36441. "type": "string"
  36442. },
  36443. "userid": {
  36444. "description": "客户ID",
  36445. "type": "integer"
  36446. },
  36447. "username": {
  36448. "description": "客户名称",
  36449. "type": "string"
  36450. }
  36451. }
  36452. },
  36453. "models.QhjCustomerSignStatus": {
  36454. "type": "object",
  36455. "properties": {
  36456. "createtime": {
  36457. "description": "创建时间",
  36458. "type": "string"
  36459. },
  36460. "goodscode": {
  36461. "description": "商品代码",
  36462. "type": "string"
  36463. },
  36464. "goodsid": {
  36465. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  36466. "type": "integer"
  36467. },
  36468. "goodsname": {
  36469. "description": "商品名称",
  36470. "type": "string"
  36471. },
  36472. "nodetype": {
  36473. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易",
  36474. "type": "integer"
  36475. },
  36476. "signtimestamp": {
  36477. "description": "签约状态时间戳",
  36478. "type": "string"
  36479. },
  36480. "tradedate": {
  36481. "description": "创建交易日(yyyyMMdd)",
  36482. "type": "string"
  36483. },
  36484. "updatetime": {
  36485. "description": "更新时间",
  36486. "type": "string"
  36487. },
  36488. "userid": {
  36489. "description": "客户ID",
  36490. "type": "integer"
  36491. },
  36492. "username": {
  36493. "description": "客户名称",
  36494. "type": "string"
  36495. }
  36496. }
  36497. },
  36498. "models.QhjMgrAccountOutInApply": {
  36499. "type": "object",
  36500. "properties": {
  36501. "accountcode": {
  36502. "description": "资金账号",
  36503. "type": "string"
  36504. },
  36505. "accountname": {
  36506. "description": "用户名称(名称)",
  36507. "type": "string"
  36508. },
  36509. "accountpwd": {
  36510. "description": "资金密码",
  36511. "type": "string"
  36512. },
  36513. "accountticket": {
  36514. "description": "最新账户服务流水号",
  36515. "type": "string"
  36516. },
  36517. "amount": {
  36518. "description": "金额",
  36519. "type": "number"
  36520. },
  36521. "applyremark": {
  36522. "description": "申请备注",
  36523. "type": "string"
  36524. },
  36525. "applystatus": {
  36526. "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: 复审通过,账户冻结金额检查中;",
  36527. "type": "integer"
  36528. },
  36529. "auditid": {
  36530. "description": "审核人",
  36531. "type": "integer"
  36532. },
  36533. "audittime": {
  36534. "description": "审核时间",
  36535. "type": "string"
  36536. },
  36537. "bank_apply_ticket": {
  36538. "description": "银行申请流水",
  36539. "type": "string"
  36540. },
  36541. "bankaccountname": {
  36542. "description": "银行账户名",
  36543. "type": "string"
  36544. },
  36545. "bankaccountno": {
  36546. "description": "银行卡号",
  36547. "type": "string"
  36548. },
  36549. "bankid": {
  36550. "description": "银行编号",
  36551. "type": "string"
  36552. },
  36553. "bankname": {
  36554. "description": "银行名称",
  36555. "type": "string"
  36556. },
  36557. "bankticket": {
  36558. "description": "银行流水",
  36559. "type": "string"
  36560. },
  36561. "branchbankid": {
  36562. "description": "银行支行号",
  36563. "type": "string"
  36564. },
  36565. "branchbankname": {
  36566. "description": "银行支行名称",
  36567. "type": "string"
  36568. },
  36569. "capamountout": {
  36570. "description": "出金(劣后本金) - 外部子账户",
  36571. "type": "number"
  36572. },
  36573. "certificatephotourl": {
  36574. "description": "凭证地址",
  36575. "type": "string"
  36576. },
  36577. "charge": {
  36578. "description": "手续费",
  36579. "type": "number"
  36580. },
  36581. "checkerrorflag": {
  36582. "description": "对账差错标志 - 1:为单边账;其它为正常出入金",
  36583. "type": "integer"
  36584. },
  36585. "currency": {
  36586. "description": "币种",
  36587. "type": "string"
  36588. },
  36589. "cusbankid": {
  36590. "description": "托管银行编号",
  36591. "type": "string"
  36592. },
  36593. "exchticket": {
  36594. "description": "银行服务流水号",
  36595. "type": "string"
  36596. },
  36597. "executetype": {
  36598. "description": "申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金",
  36599. "type": "integer"
  36600. },
  36601. "extendinfo": {
  36602. "description": "扩展信息",
  36603. "type": "string"
  36604. },
  36605. "extoperateid": {
  36606. "description": "交易服务流水号",
  36607. "type": "integer"
  36608. },
  36609. "infamount": {
  36610. "description": "劣后金额(自有)",
  36611. "type": "number"
  36612. },
  36613. "logincode": {
  36614. "description": "登录账号(账号)",
  36615. "type": "string"
  36616. },
  36617. "netaddr": {
  36618. "description": "调转网址",
  36619. "type": "string"
  36620. },
  36621. "priamount": {
  36622. "description": "优先金额(授信)",
  36623. "type": "number"
  36624. },
  36625. "reauditid": {
  36626. "description": "复审人",
  36627. "type": "integer"
  36628. },
  36629. "reauditremark": {
  36630. "description": "复审备注",
  36631. "type": "string"
  36632. },
  36633. "reaudittime": {
  36634. "description": "复审时间",
  36635. "type": "string"
  36636. },
  36637. "relatedorderid": {
  36638. "description": "三方关联ID",
  36639. "type": "string"
  36640. },
  36641. "remark": {
  36642. "description": "备注",
  36643. "type": "string"
  36644. },
  36645. "remark2": {
  36646. "description": "备注(失败原因)",
  36647. "type": "string"
  36648. },
  36649. "soucreamount": {
  36650. "description": "原始出入金金额",
  36651. "type": "number"
  36652. },
  36653. "soucrecurrencyid": {
  36654. "description": "原始出入金币种",
  36655. "type": "integer"
  36656. },
  36657. "tradedate": {
  36658. "description": "交易日(yyyyMMdd)",
  36659. "type": "string"
  36660. },
  36661. "updatetime": {
  36662. "description": "更新时间(申请时间)",
  36663. "type": "string"
  36664. },
  36665. "userid": {
  36666. "description": "用户id",
  36667. "type": "integer"
  36668. },
  36669. "userinfotype": {
  36670. "description": "账户类型 1-个人 2-企业",
  36671. "type": "integer"
  36672. }
  36673. }
  36674. },
  36675. "models.QhjMgrBrokerApply": {
  36676. "type": "object",
  36677. "properties": {
  36678. "applicantid": {
  36679. "description": "申请人",
  36680. "type": "integer"
  36681. },
  36682. "applysrc": {
  36683. "description": "申请来源 - 1:管理端 2:终端",
  36684. "type": "integer"
  36685. },
  36686. "applystatus": {
  36687. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  36688. "type": "integer"
  36689. },
  36690. "applytime": {
  36691. "description": "申请时间",
  36692. "type": "string"
  36693. },
  36694. "auditorid": {
  36695. "description": "审核人",
  36696. "type": "integer"
  36697. },
  36698. "auditremark": {
  36699. "description": "审核备注",
  36700. "type": "string"
  36701. },
  36702. "auditsrc": {
  36703. "description": "审核来源 - 1:管理端 2:终端",
  36704. "type": "integer"
  36705. },
  36706. "audittime": {
  36707. "description": "审核时间",
  36708. "type": "string"
  36709. },
  36710. "audittradedate": {
  36711. "description": "审核交易日(yyyyMMdd)",
  36712. "type": "string"
  36713. },
  36714. "brokerapplyid": {
  36715. "description": "申请ID(SEQ_BROKERAPPLY)",
  36716. "type": "integer"
  36717. },
  36718. "cardbackphotourl": {
  36719. "description": "证件背面图片地址",
  36720. "type": "string"
  36721. },
  36722. "cardfrontphotourl": {
  36723. "description": "证件正面图片地址",
  36724. "type": "string"
  36725. },
  36726. "cardnum": {
  36727. "description": "证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证",
  36728. "type": "string"
  36729. },
  36730. "customername": {
  36731. "description": "姓名",
  36732. "type": "string"
  36733. },
  36734. "filterstatus": {
  36735. "description": "筛选条件",
  36736. "type": "string"
  36737. },
  36738. "logincode": {
  36739. "description": "登录代码",
  36740. "type": "string"
  36741. },
  36742. "mobile": {
  36743. "description": "手机号码",
  36744. "type": "string"
  36745. },
  36746. "parentuserid": {
  36747. "description": "所属机构id",
  36748. "type": "integer"
  36749. },
  36750. "parentusername": {
  36751. "description": "所属机构名称",
  36752. "type": "string"
  36753. },
  36754. "refereeuserid": {
  36755. "description": "推荐人id(经纪人)",
  36756. "type": "integer"
  36757. },
  36758. "refernum": {
  36759. "description": "推荐码",
  36760. "type": "string"
  36761. },
  36762. "remark": {
  36763. "description": "备注",
  36764. "type": "string"
  36765. },
  36766. "subarealevelpath": {
  36767. "description": "层级路径",
  36768. "type": "string"
  36769. },
  36770. "tradedate": {
  36771. "description": "交易日(yyyyMMdd)",
  36772. "type": "string"
  36773. },
  36774. "userid": {
  36775. "description": "申请人用户ID",
  36776. "type": "integer"
  36777. },
  36778. "userinfotype": {
  36779. "description": "用户类型 1-个人 2-企业",
  36780. "type": "integer"
  36781. },
  36782. "username": {
  36783. "description": "用户名称",
  36784. "type": "string"
  36785. }
  36786. }
  36787. },
  36788. "models.QhjMgrBrokerRewardReport": {
  36789. "type": "object",
  36790. "properties": {
  36791. "createtime": {
  36792. "description": "创建时间(注册时间)",
  36793. "type": "string"
  36794. },
  36795. "cycletime": {
  36796. "description": "周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】",
  36797. "type": "string"
  36798. },
  36799. "cycletype": {
  36800. "description": "周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】",
  36801. "type": "integer"
  36802. },
  36803. "directtotalnum": {
  36804. "description": "直推总人数【期末】",
  36805. "type": "integer"
  36806. },
  36807. "indirecttotalnum": {
  36808. "description": "间推总人数【期末】",
  36809. "type": "integer"
  36810. },
  36811. "mobile": {
  36812. "description": "电话号码",
  36813. "type": "string"
  36814. },
  36815. "refereeuserid": {
  36816. "description": "推荐人id(经纪人id)",
  36817. "type": "integer"
  36818. },
  36819. "refereeusername": {
  36820. "description": "推荐人名称(经纪人) 上级经纪人名称",
  36821. "type": "string"
  36822. },
  36823. "refernum": {
  36824. "description": "推荐码",
  36825. "type": "string"
  36826. },
  36827. "subarealevelpath": {
  36828. "description": "用户层级路径",
  36829. "type": "string"
  36830. },
  36831. "todayrewardamount": {
  36832. "description": "奖励总金额【汇总】",
  36833. "type": "number"
  36834. },
  36835. "updatetime": {
  36836. "description": "更新时间",
  36837. "type": "string"
  36838. },
  36839. "userid": {
  36840. "description": "经纪人用户ID",
  36841. "type": "integer"
  36842. },
  36843. "userinfotype": {
  36844. "description": "用户类型 1-个人 2-企业",
  36845. "type": "integer"
  36846. },
  36847. "username": {
  36848. "description": "用户名称",
  36849. "type": "string"
  36850. }
  36851. }
  36852. },
  36853. "models.QhjMgrContract": {
  36854. "type": "object",
  36855. "properties": {
  36856. "contractconfirmtime": {
  36857. "description": "合同确认时间(时间)",
  36858. "type": "string"
  36859. },
  36860. "currisklevel": {
  36861. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  36862. "type": "integer"
  36863. },
  36864. "decimalplace": {
  36865. "description": "商品报价小数位",
  36866. "type": "integer"
  36867. },
  36868. "enumdicname": {
  36869. "description": "单位名称",
  36870. "type": "string"
  36871. },
  36872. "goodscode": {
  36873. "description": "商品代码",
  36874. "type": "string"
  36875. },
  36876. "goodsid": {
  36877. "description": "商品ID [5:融资单]",
  36878. "type": "integer"
  36879. },
  36880. "goodsname": {
  36881. "description": "商品名称",
  36882. "type": "string"
  36883. },
  36884. "goodunitid": {
  36885. "description": "商品单位id",
  36886. "type": "integer"
  36887. },
  36888. "initmargin": {
  36889. "description": "初始保证金(首付款)",
  36890. "type": "number"
  36891. },
  36892. "lenderamount": {
  36893. "description": "贷款金额(总额|订单总额)",
  36894. "type": "number"
  36895. },
  36896. "logincode": {
  36897. "description": "账号(登录代码)",
  36898. "type": "string"
  36899. },
  36900. "marginratio": {
  36901. "description": "保证金比率(首付比例)",
  36902. "type": "number"
  36903. },
  36904. "mobile": {
  36905. "description": "电话号码(用户资料里的电话)",
  36906. "type": "string"
  36907. },
  36908. "payamount": {
  36909. "description": "已付(已付货款)",
  36910. "type": "number"
  36911. },
  36912. "reckonrecovermargin": {
  36913. "description": "结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\\仓单质押]",
  36914. "type": "number"
  36915. },
  36916. "recoveredmargin": {
  36917. "description": "已追缴保证金",
  36918. "type": "number"
  36919. },
  36920. "remainamount": {
  36921. "description": "合同剩余金额(融资额)",
  36922. "type": "number"
  36923. },
  36924. "scfcontractid": {
  36925. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  36926. "type": "string"
  36927. },
  36928. "scfcontractstatus": {
  36929. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  36930. "type": "integer"
  36931. },
  36932. "scfcontracttype": {
  36933. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单",
  36934. "type": "integer"
  36935. },
  36936. "totalinterest": {
  36937. "description": "已计总利息(利息)",
  36938. "type": "number"
  36939. },
  36940. "tradedate": {
  36941. "description": "交易日",
  36942. "type": "string"
  36943. },
  36944. "tradeprice": {
  36945. "description": "成交价格(成本价格)",
  36946. "type": "number"
  36947. },
  36948. "userid": {
  36949. "description": "用户ID",
  36950. "type": "integer"
  36951. },
  36952. "userinfotype": {
  36953. "description": "用户类型 1-个人 2-企业",
  36954. "type": "integer"
  36955. },
  36956. "username": {
  36957. "description": "用户名称",
  36958. "type": "string"
  36959. },
  36960. "wrqty": {
  36961. "description": "仓单数量(数量)",
  36962. "type": "number"
  36963. }
  36964. }
  36965. },
  36966. "models.QhjMgrCustomer": {
  36967. "type": "object",
  36968. "properties": {
  36969. "address": {
  36970. "description": "通讯地址",
  36971. "type": "string"
  36972. },
  36973. "attachment1": {
  36974. "description": "附件1",
  36975. "type": "string"
  36976. },
  36977. "audittime": {
  36978. "description": "审核时间",
  36979. "type": "string"
  36980. },
  36981. "birthday": {
  36982. "description": "生日",
  36983. "type": "string"
  36984. },
  36985. "brokerid": {
  36986. "description": "所属客户经理id",
  36987. "type": "integer"
  36988. },
  36989. "brokername": {
  36990. "description": "所属客户经理名称",
  36991. "type": "string"
  36992. },
  36993. "cardbackphotourl": {
  36994. "description": "证件反面图片地址",
  36995. "type": "string"
  36996. },
  36997. "cardfrontphotourl": {
  36998. "description": "证件正面图片地址",
  36999. "type": "string"
  37000. },
  37001. "cardnum": {
  37002. "description": "证件号码",
  37003. "type": "string"
  37004. },
  37005. "cardtype": {
  37006. "description": "证件类型",
  37007. "type": "integer"
  37008. },
  37009. "cardtypename": {
  37010. "description": "证件类型名称",
  37011. "type": "string"
  37012. },
  37013. "cityid": {
  37014. "description": "市",
  37015. "type": "integer"
  37016. },
  37017. "cityname": {
  37018. "description": "城市名称",
  37019. "type": "string"
  37020. },
  37021. "contactname": {
  37022. "description": "联系人",
  37023. "type": "string"
  37024. },
  37025. "countryid": {
  37026. "description": "国家",
  37027. "type": "integer"
  37028. },
  37029. "countryname": {
  37030. "description": "国家名称",
  37031. "type": "string"
  37032. },
  37033. "createtime": {
  37034. "description": "创建时间",
  37035. "type": "string"
  37036. },
  37037. "customername": {
  37038. "description": "客户名称",
  37039. "type": "string"
  37040. },
  37041. "districtid": {
  37042. "description": "区域",
  37043. "type": "integer"
  37044. },
  37045. "districtname": {
  37046. "description": "地区名称",
  37047. "type": "string"
  37048. },
  37049. "email": {
  37050. "description": "邮件",
  37051. "type": "string"
  37052. },
  37053. "legalpersonname": {
  37054. "description": "法人姓名(企业)",
  37055. "type": "string"
  37056. },
  37057. "logincode": {
  37058. "description": "登录账号(代码)",
  37059. "type": "string"
  37060. },
  37061. "memberuserid": {
  37062. "description": "所属机构ID(所属会员)",
  37063. "type": "integer"
  37064. },
  37065. "memberusername": {
  37066. "description": "所属会员名称",
  37067. "type": "string"
  37068. },
  37069. "mobile": {
  37070. "description": "手机号码",
  37071. "type": "string"
  37072. },
  37073. "modifytime": {
  37074. "description": "修改时间",
  37075. "type": "string"
  37076. },
  37077. "nickname": {
  37078. "description": "昵称",
  37079. "type": "string"
  37080. },
  37081. "parentuserid": {
  37082. "description": "上级机构(所属机构)",
  37083. "type": "integer"
  37084. },
  37085. "parentusername": {
  37086. "description": "所属机构名称",
  37087. "type": "string"
  37088. },
  37089. "provinceid": {
  37090. "description": "省",
  37091. "type": "integer"
  37092. },
  37093. "provincename": {
  37094. "description": "省名称",
  37095. "type": "string"
  37096. },
  37097. "proxystatementurl": {
  37098. "description": "授权委托书",
  37099. "type": "string"
  37100. },
  37101. "querytype": {
  37102. "description": "查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用",
  37103. "type": "integer"
  37104. },
  37105. "remark": {
  37106. "description": "备注",
  37107. "type": "string"
  37108. },
  37109. "sex": {
  37110. "description": "性别 0-女 1-男",
  37111. "type": "integer"
  37112. },
  37113. "status": {
  37114. "description": "开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37115. "type": "integer"
  37116. },
  37117. "statusdesc": {
  37118. "description": "账户状态中文描述",
  37119. "type": "string"
  37120. },
  37121. "taxpayernum": {
  37122. "description": "纳税人识别号",
  37123. "type": "string"
  37124. },
  37125. "telphone": {
  37126. "description": "联系电话",
  37127. "type": "string"
  37128. },
  37129. "userid": {
  37130. "description": "用户ID",
  37131. "type": "integer"
  37132. },
  37133. "userinfotype": {
  37134. "description": "客户类型 1-个人 2-企业",
  37135. "type": "integer"
  37136. },
  37137. "username": {
  37138. "description": "用户名称",
  37139. "type": "string"
  37140. }
  37141. }
  37142. },
  37143. "models.QhjMgrPickGoods": {
  37144. "type": "object",
  37145. "properties": {
  37146. "enumdicname": {
  37147. "description": "单位名称(提货商品)",
  37148. "type": "string"
  37149. },
  37150. "goodsid": {
  37151. "description": "商品id",
  37152. "type": "integer"
  37153. },
  37154. "imageaddress": {
  37155. "description": "图片",
  37156. "type": "string"
  37157. },
  37158. "modifierid": {
  37159. "description": "修改人",
  37160. "type": "integer"
  37161. },
  37162. "modifiername": {
  37163. "description": "修改人名称",
  37164. "type": "string"
  37165. },
  37166. "modifysrc": {
  37167. "description": "修改来源 - 1:管理端 2:终端",
  37168. "type": "integer"
  37169. },
  37170. "pickupgoodsagreeunit": {
  37171. "description": "合约乘数",
  37172. "type": "number"
  37173. },
  37174. "pickupgoodsdesc": {
  37175. "description": "描述",
  37176. "type": "string"
  37177. },
  37178. "pickupgoodsid": {
  37179. "description": "提货商品ID",
  37180. "type": "string"
  37181. },
  37182. "pickupgoodsname": {
  37183. "description": "提货商品名称",
  37184. "type": "string"
  37185. },
  37186. "pickupgoodsstatus": {
  37187. "description": "状态 - 1:正常 2:停用 3:注销",
  37188. "type": "integer"
  37189. },
  37190. "pickupgoodsunitid": {
  37191. "description": "单位ID",
  37192. "type": "integer"
  37193. },
  37194. "pickupratio": {
  37195. "description": "提货系数",
  37196. "type": "number"
  37197. },
  37198. "preparedays": {
  37199. "description": "备货期(天)",
  37200. "type": "integer"
  37201. },
  37202. "remark": {
  37203. "description": "备注",
  37204. "type": "string"
  37205. },
  37206. "updatetime": {
  37207. "description": "更新时间",
  37208. "type": "string"
  37209. }
  37210. }
  37211. },
  37212. "models.QhjMgrPositionRsp": {
  37213. "type": "object",
  37214. "properties": {
  37215. "accountid": {
  37216. "description": "账号Id",
  37217. "type": "integer"
  37218. },
  37219. "accountname": {
  37220. "description": "用户名称",
  37221. "type": "string"
  37222. },
  37223. "agreeunit": {
  37224. "description": "合约乘数",
  37225. "type": "number"
  37226. },
  37227. "averageprice": {
  37228. "description": "均价",
  37229. "type": "number"
  37230. },
  37231. "avialqty": {
  37232. "description": "可用数量",
  37233. "type": "number"
  37234. },
  37235. "decimalplace": {
  37236. "description": "报价小数位",
  37237. "type": "integer"
  37238. },
  37239. "enumdicname": {
  37240. "description": "单位名称(商品)",
  37241. "type": "string"
  37242. },
  37243. "frozenqty": {
  37244. "description": "冻结数量",
  37245. "type": "number"
  37246. },
  37247. "goodscode": {
  37248. "description": "商品代码(内部)",
  37249. "type": "string"
  37250. },
  37251. "goodsid": {
  37252. "description": "商品Id",
  37253. "type": "integer"
  37254. },
  37255. "goodsname": {
  37256. "description": "商品名称",
  37257. "type": "string"
  37258. },
  37259. "goodunitid": {
  37260. "description": "报价单位ID",
  37261. "type": "integer"
  37262. },
  37263. "holderamount": {
  37264. "description": "金额",
  37265. "type": "number"
  37266. },
  37267. "holderqty": {
  37268. "description": "持有数量",
  37269. "type": "number"
  37270. },
  37271. "holdertype": {
  37272. "description": "持仓类别 - 1:单边持仓 2:双边持仓",
  37273. "type": "integer"
  37274. },
  37275. "logincode": {
  37276. "description": "登录代码(账户)",
  37277. "type": "string"
  37278. },
  37279. "marketid": {
  37280. "description": "市场id",
  37281. "type": "integer"
  37282. },
  37283. "qtydecimalplace": {
  37284. "description": "成交量小数位",
  37285. "type": "integer"
  37286. },
  37287. "trademode": {
  37288. "description": "交易模式",
  37289. "type": "integer"
  37290. },
  37291. "userid": {
  37292. "description": "用户id",
  37293. "type": "integer"
  37294. },
  37295. "userinfotype": {
  37296. "description": "账户类型 1-个人 2-企业",
  37297. "type": "integer"
  37298. }
  37299. }
  37300. },
  37301. "models.QhjMgrSubArea": {
  37302. "type": "object",
  37303. "properties": {
  37304. "accountname": {
  37305. "description": "账户名称(机构名称)",
  37306. "type": "string"
  37307. },
  37308. "memberuserid": {
  37309. "description": "所属会员ID",
  37310. "type": "integer"
  37311. },
  37312. "parenttopuser": {
  37313. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  37314. "type": "string"
  37315. },
  37316. "parentuserid": {
  37317. "description": "所属机构ID",
  37318. "type": "integer"
  37319. },
  37320. "rootuserid": {
  37321. "description": "根用户ID",
  37322. "type": "string"
  37323. },
  37324. "subaccountlevel": {
  37325. "description": "子账户层数",
  37326. "type": "integer"
  37327. },
  37328. "subarealevelpath": {
  37329. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  37330. "type": "string"
  37331. },
  37332. "userid": {
  37333. "description": "用户ID",
  37334. "type": "integer"
  37335. },
  37336. "usertype": {
  37337. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37338. "type": "integer"
  37339. }
  37340. }
  37341. },
  37342. "models.QhjMgrTradeDetailRsp": {
  37343. "type": "object",
  37344. "properties": {
  37345. "accountid": {
  37346. "description": "资金账号",
  37347. "type": "integer"
  37348. },
  37349. "accountname": {
  37350. "description": "用户名称",
  37351. "type": "string"
  37352. },
  37353. "agreeunit": {
  37354. "description": "合约乘数",
  37355. "type": "number"
  37356. },
  37357. "buyorsell": {
  37358. "description": "成交类型(方向) 0:买 1:卖",
  37359. "type": "integer"
  37360. },
  37361. "decimalplace": {
  37362. "description": "报价小数位",
  37363. "type": "integer"
  37364. },
  37365. "enumdicname": {
  37366. "description": "单位名称(商品)",
  37367. "type": "string"
  37368. },
  37369. "goodscode": {
  37370. "description": "商品代码(内部)",
  37371. "type": "string"
  37372. },
  37373. "goodsid": {
  37374. "description": "商品id",
  37375. "type": "integer"
  37376. },
  37377. "goodsname": {
  37378. "description": "商品名称",
  37379. "type": "string"
  37380. },
  37381. "goodunitid": {
  37382. "description": "报价单位ID",
  37383. "type": "integer"
  37384. },
  37385. "logincode": {
  37386. "description": "登录代码(账户)",
  37387. "type": "string"
  37388. },
  37389. "marketid": {
  37390. "description": "市场id",
  37391. "type": "integer"
  37392. },
  37393. "orderid": {
  37394. "description": "关联委托单号",
  37395. "type": "string"
  37396. },
  37397. "qtydecimalplace": {
  37398. "description": "成交量小数位",
  37399. "type": "integer"
  37400. },
  37401. "tradeamount": {
  37402. "description": "金额",
  37403. "type": "number"
  37404. },
  37405. "tradedate": {
  37406. "description": "交易日",
  37407. "type": "string"
  37408. },
  37409. "tradeid": {
  37410. "description": "成交单号",
  37411. "type": "string"
  37412. },
  37413. "trademode": {
  37414. "description": "交易模式",
  37415. "type": "integer"
  37416. },
  37417. "tradeprice": {
  37418. "description": "价格",
  37419. "type": "number"
  37420. },
  37421. "tradeqty": {
  37422. "description": "数量",
  37423. "type": "number"
  37424. },
  37425. "tradetime": {
  37426. "description": "成交时间",
  37427. "type": "string"
  37428. },
  37429. "userid": {
  37430. "description": "用户id",
  37431. "type": "integer"
  37432. },
  37433. "userinfotype": {
  37434. "description": "账户类型 1-个人 2-企业",
  37435. "type": "integer"
  37436. }
  37437. }
  37438. },
  37439. "models.QhjMgrTradeOrderDetailRsp": {
  37440. "type": "object",
  37441. "properties": {
  37442. "accountid": {
  37443. "description": "资金账号",
  37444. "type": "integer"
  37445. },
  37446. "accountname": {
  37447. "description": "用户名称",
  37448. "type": "string"
  37449. },
  37450. "agreeunit": {
  37451. "description": "合约乘数",
  37452. "type": "number"
  37453. },
  37454. "amount": {
  37455. "description": "金额",
  37456. "type": "number"
  37457. },
  37458. "decimalplace": {
  37459. "description": "报价小数位",
  37460. "type": "integer"
  37461. },
  37462. "enumdicname": {
  37463. "description": "单位名称(商品)",
  37464. "type": "string"
  37465. },
  37466. "goodscode": {
  37467. "description": "商品代码(内部)",
  37468. "type": "string"
  37469. },
  37470. "goodsid": {
  37471. "description": "商品id",
  37472. "type": "integer"
  37473. },
  37474. "goodsname": {
  37475. "description": "商品名称",
  37476. "type": "string"
  37477. },
  37478. "goodunitid": {
  37479. "description": "报价单位ID",
  37480. "type": "integer"
  37481. },
  37482. "logincode": {
  37483. "description": "登录代码(账户)",
  37484. "type": "string"
  37485. },
  37486. "marketid": {
  37487. "description": "市场id",
  37488. "type": "integer"
  37489. },
  37490. "orderid": {
  37491. "description": "关联委托单号",
  37492. "type": "string"
  37493. },
  37494. "orderprice": {
  37495. "description": "价格",
  37496. "type": "number"
  37497. },
  37498. "orderqty": {
  37499. "description": "数量",
  37500. "type": "number"
  37501. },
  37502. "orderstatus": {
  37503. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  37504. "type": "integer"
  37505. },
  37506. "ordertime": {
  37507. "description": "委托时间",
  37508. "type": "string"
  37509. },
  37510. "qtydecimalplace": {
  37511. "description": "成交量小数位",
  37512. "type": "integer"
  37513. },
  37514. "tradedate": {
  37515. "description": "交易日",
  37516. "type": "string"
  37517. },
  37518. "trademode": {
  37519. "description": "交易模式",
  37520. "type": "integer"
  37521. },
  37522. "userid": {
  37523. "description": "用户id",
  37524. "type": "integer"
  37525. },
  37526. "userinfotype": {
  37527. "description": "账户类型 1-个人 2-企业",
  37528. "type": "integer"
  37529. }
  37530. }
  37531. },
  37532. "models.QhjMgrTradePayOrder": {
  37533. "type": "object",
  37534. "properties": {
  37535. "accountname": {
  37536. "description": "用户名称",
  37537. "type": "string"
  37538. },
  37539. "advanceratio": {
  37540. "description": "首付比率",
  37541. "type": "number"
  37542. },
  37543. "agreeunit": {
  37544. "description": "合约乘数",
  37545. "type": "number"
  37546. },
  37547. "buyaccountid": {
  37548. "description": "买方账号ID[报价币种]",
  37549. "type": "integer"
  37550. },
  37551. "buyorderid": {
  37552. "description": "买方委托单号(关联单号)",
  37553. "type": "string"
  37554. },
  37555. "createtime": {
  37556. "description": "创建时间",
  37557. "type": "string"
  37558. },
  37559. "decimalplace": {
  37560. "description": "报价小数位",
  37561. "type": "integer"
  37562. },
  37563. "enumdicname": {
  37564. "description": "单位名称(商品)",
  37565. "type": "string"
  37566. },
  37567. "goodscode": {
  37568. "description": "商品代码(内部)",
  37569. "type": "string"
  37570. },
  37571. "goodsid": {
  37572. "description": "商品ID",
  37573. "type": "integer"
  37574. },
  37575. "goodsname": {
  37576. "description": "商品名称",
  37577. "type": "string"
  37578. },
  37579. "goodunitid": {
  37580. "description": "报价单位ID",
  37581. "type": "integer"
  37582. },
  37583. "logincode": {
  37584. "description": "登录代码(账户)",
  37585. "type": "string"
  37586. },
  37587. "marketid": {
  37588. "description": "市场id",
  37589. "type": "integer"
  37590. },
  37591. "offamount": {
  37592. "description": "优惠金额",
  37593. "type": "number"
  37594. },
  37595. "operatetype": {
  37596. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  37597. "type": "integer"
  37598. },
  37599. "payamount": {
  37600. "description": "支付金额(金额)",
  37601. "type": "number"
  37602. },
  37603. "payflag": {
  37604. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  37605. "type": "integer"
  37606. },
  37607. "paylimitedtime": {
  37608. "description": "支付期限",
  37609. "type": "string"
  37610. },
  37611. "paytime": {
  37612. "description": "付款时间",
  37613. "type": "string"
  37614. },
  37615. "qtydecimalplace": {
  37616. "description": "成交量小数位",
  37617. "type": "integer"
  37618. },
  37619. "sellaccountid": {
  37620. "description": "卖方账号ID[报价币种]",
  37621. "type": "integer"
  37622. },
  37623. "sellorderid": {
  37624. "description": "卖方委托单号",
  37625. "type": "string"
  37626. },
  37627. "tradeamount": {
  37628. "description": "成交金额(优惠后金额)",
  37629. "type": "number"
  37630. },
  37631. "tradecharge": {
  37632. "description": "成交手续费(买方)",
  37633. "type": "number"
  37634. },
  37635. "tradedate": {
  37636. "description": "交易日(yyyyMMdd)",
  37637. "type": "string"
  37638. },
  37639. "tradeid": {
  37640. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37641. "type": "string"
  37642. },
  37643. "trademode": {
  37644. "description": "交易模式",
  37645. "type": "integer"
  37646. },
  37647. "tradeprice": {
  37648. "description": "成交价格(价格)",
  37649. "type": "number"
  37650. },
  37651. "tradeqty": {
  37652. "description": "成交数量(数量)",
  37653. "type": "number"
  37654. },
  37655. "tradetime": {
  37656. "description": "成交时间",
  37657. "type": "string"
  37658. },
  37659. "userid": {
  37660. "description": "用户id",
  37661. "type": "integer"
  37662. },
  37663. "userinfotype": {
  37664. "description": "账户类型 1-个人 2-企业",
  37665. "type": "integer"
  37666. }
  37667. }
  37668. },
  37669. "models.QhjMyTeamEx": {
  37670. "type": "object",
  37671. "properties": {
  37672. "accountname": {
  37673. "description": "用户名称",
  37674. "type": "string"
  37675. },
  37676. "accountstatus": {
  37677. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  37678. "type": "integer"
  37679. },
  37680. "createtime": {
  37681. "description": "创建时间",
  37682. "type": "string"
  37683. },
  37684. "mobile": {
  37685. "description": "手机号码",
  37686. "type": "string"
  37687. },
  37688. "refereeuserid": {
  37689. "description": "推荐人id",
  37690. "type": "integer"
  37691. },
  37692. "refernum": {
  37693. "description": "推荐码",
  37694. "type": "string"
  37695. },
  37696. "subList": {
  37697. "type": "array",
  37698. "items": {
  37699. "$ref": "#/definitions/models.QhjMyTeamEx"
  37700. }
  37701. },
  37702. "userid": {
  37703. "description": "用户id",
  37704. "type": "integer"
  37705. },
  37706. "userinfotype": {
  37707. "description": "用户类型 1-个人 2-企业",
  37708. "type": "integer"
  37709. }
  37710. }
  37711. },
  37712. "models.QhjNodeAgreementConfig": {
  37713. "type": "object",
  37714. "properties": {
  37715. "agreementcontent": {
  37716. "description": "协议内容",
  37717. "type": "string"
  37718. },
  37719. "agreementid": {
  37720. "description": "协议ID",
  37721. "type": "integer"
  37722. },
  37723. "agreementname": {
  37724. "description": "协议名称",
  37725. "type": "string"
  37726. },
  37727. "agreementno": {
  37728. "description": "协议编号",
  37729. "type": "string"
  37730. },
  37731. "agreementtype": {
  37732. "description": "协议类型 - 1:注册 2:登录 3:交易",
  37733. "type": "integer"
  37734. },
  37735. "agreementversion": {
  37736. "description": "协议版本号",
  37737. "type": "integer"
  37738. },
  37739. "configid": {
  37740. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  37741. "type": "integer"
  37742. },
  37743. "createtime": {
  37744. "description": "创建时间",
  37745. "type": "string"
  37746. },
  37747. "goodsid": {
  37748. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  37749. "type": "integer"
  37750. },
  37751. "nodetype": {
  37752. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  37753. "type": "integer"
  37754. }
  37755. }
  37756. },
  37757. "models.QhjParentAreaList": {
  37758. "type": "object",
  37759. "properties": {
  37760. "accountname": {
  37761. "description": "账户名称(机构名称)",
  37762. "type": "string"
  37763. },
  37764. "userid": {
  37765. "description": "用户ID",
  37766. "type": "integer"
  37767. },
  37768. "usertype": {
  37769. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  37770. "type": "integer"
  37771. }
  37772. }
  37773. },
  37774. "models.QhjPayOrder": {
  37775. "type": "object",
  37776. "properties": {
  37777. "advanceratio": {
  37778. "description": "首付比率",
  37779. "type": "number"
  37780. },
  37781. "buyaccountid": {
  37782. "description": "买方账号ID[报价币种]",
  37783. "type": "integer"
  37784. },
  37785. "buyorderid": {
  37786. "description": "买方委托单号",
  37787. "type": "string"
  37788. },
  37789. "createtime": {
  37790. "description": "创建时间",
  37791. "type": "string"
  37792. },
  37793. "decimalplace": {
  37794. "description": "商品报价小数位",
  37795. "type": "integer"
  37796. },
  37797. "enumdicname": {
  37798. "description": "单位名称",
  37799. "type": "string"
  37800. },
  37801. "goodscode": {
  37802. "description": "商品代码",
  37803. "type": "string"
  37804. },
  37805. "goodsid": {
  37806. "description": "商品ID",
  37807. "type": "integer"
  37808. },
  37809. "goodsname": {
  37810. "description": "商品名称",
  37811. "type": "string"
  37812. },
  37813. "goodunitid": {
  37814. "description": "商品单位id",
  37815. "type": "integer"
  37816. },
  37817. "marketid": {
  37818. "description": "市场ID",
  37819. "type": "integer"
  37820. },
  37821. "offamount": {
  37822. "description": "优惠金额",
  37823. "type": "number"
  37824. },
  37825. "operatetype": {
  37826. "description": "买委托操作类型 - 1:正常下单 16:融资买入",
  37827. "type": "integer"
  37828. },
  37829. "payamount": {
  37830. "description": "支付金额",
  37831. "type": "number"
  37832. },
  37833. "payflag": {
  37834. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  37835. "type": "integer"
  37836. },
  37837. "paylimitedtime": {
  37838. "description": "支付期限",
  37839. "type": "string"
  37840. },
  37841. "paytime": {
  37842. "description": "付款时间",
  37843. "type": "string"
  37844. },
  37845. "qtydecimalplace": {
  37846. "description": "成交量小数位",
  37847. "type": "integer"
  37848. },
  37849. "sellaccountid": {
  37850. "description": "卖方账号ID[报价币种]",
  37851. "type": "integer"
  37852. },
  37853. "sellorderid": {
  37854. "description": "卖方委托单号",
  37855. "type": "string"
  37856. },
  37857. "tradeamount": {
  37858. "description": "成交金额(优惠后金额)",
  37859. "type": "number"
  37860. },
  37861. "tradecharge": {
  37862. "description": "成交手续费(买方)",
  37863. "type": "number"
  37864. },
  37865. "tradedate": {
  37866. "description": "交易日(yyyyMMdd)",
  37867. "type": "string"
  37868. },
  37869. "tradeid": {
  37870. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  37871. "type": "string"
  37872. },
  37873. "tradeprice": {
  37874. "description": "成交价格",
  37875. "type": "number"
  37876. },
  37877. "tradeqty": {
  37878. "description": "成交数量",
  37879. "type": "number"
  37880. }
  37881. }
  37882. },
  37883. "models.QhjPickArea": {
  37884. "type": "object",
  37885. "properties": {
  37886. "address": {
  37887. "description": "详细地址",
  37888. "type": "string"
  37889. },
  37890. "cityid": {
  37891. "description": "市",
  37892. "type": "integer"
  37893. },
  37894. "cityname": {
  37895. "description": "城市名称",
  37896. "type": "string"
  37897. },
  37898. "countryid": {
  37899. "description": "国家",
  37900. "type": "integer"
  37901. },
  37902. "countryname": {
  37903. "description": "国家名称",
  37904. "type": "string"
  37905. },
  37906. "districtid": {
  37907. "description": "地区",
  37908. "type": "integer"
  37909. },
  37910. "districtname": {
  37911. "description": "地区名称",
  37912. "type": "string"
  37913. },
  37914. "fromuserid": {
  37915. "description": "所属机构(组织机构)( OrgType = 1时为自己, = 2\\3时取上级机构的所属机构)",
  37916. "type": "integer"
  37917. },
  37918. "fromusername": {
  37919. "description": "所属机构名称",
  37920. "type": "string"
  37921. },
  37922. "provinceid": {
  37923. "description": "省",
  37924. "type": "integer"
  37925. },
  37926. "provincename": {
  37927. "description": "省名称",
  37928. "type": "string"
  37929. },
  37930. "suborgtype": {
  37931. "description": "子机构类型(千海金) - 0:机构 1:代理 2:门店",
  37932. "type": "integer"
  37933. },
  37934. "userid": {
  37935. "description": "机构用户ID 其他做市关系,都设置为 1",
  37936. "type": "integer"
  37937. },
  37938. "username": {
  37939. "description": "机构用户名称(门店门称)",
  37940. "type": "string"
  37941. }
  37942. }
  37943. },
  37944. "models.QhjPickGoods": {
  37945. "type": "object",
  37946. "properties": {
  37947. "enumdicname": {
  37948. "description": "单位名称(提货商品)",
  37949. "type": "string"
  37950. },
  37951. "goodsid": {
  37952. "description": "商品id",
  37953. "type": "integer"
  37954. },
  37955. "imageaddress": {
  37956. "description": "图片",
  37957. "type": "string"
  37958. },
  37959. "modifierid": {
  37960. "description": "修改人",
  37961. "type": "integer"
  37962. },
  37963. "modifiername": {
  37964. "description": "修改人名称",
  37965. "type": "string"
  37966. },
  37967. "modifysrc": {
  37968. "description": "修改来源 - 1:管理端 2:终端",
  37969. "type": "integer"
  37970. },
  37971. "pickupgoodsagreeunit": {
  37972. "description": "合约乘数",
  37973. "type": "number"
  37974. },
  37975. "pickupgoodsdesc": {
  37976. "description": "描述",
  37977. "type": "string"
  37978. },
  37979. "pickupgoodsid": {
  37980. "description": "提货商品ID",
  37981. "type": "string"
  37982. },
  37983. "pickupgoodsname": {
  37984. "description": "提货商品名称",
  37985. "type": "string"
  37986. },
  37987. "pickupgoodsstatus": {
  37988. "description": "状态 - 1:正常 2:停用 3:注销",
  37989. "type": "integer"
  37990. },
  37991. "pickupgoodsunitid": {
  37992. "description": "单位ID",
  37993. "type": "integer"
  37994. },
  37995. "pickupratio": {
  37996. "description": "提货系数",
  37997. "type": "number"
  37998. },
  37999. "preparedays": {
  38000. "description": "备货期(天)",
  38001. "type": "integer"
  38002. },
  38003. "remark": {
  38004. "description": "备注",
  38005. "type": "string"
  38006. },
  38007. "updatetime": {
  38008. "description": "更新时间",
  38009. "type": "string"
  38010. }
  38011. }
  38012. },
  38013. "models.QhjRSTriggerLog": {
  38014. "type": "object",
  38015. "properties": {
  38016. "accountid": {
  38017. "description": "用户资金账户",
  38018. "type": "integer"
  38019. },
  38020. "accountname": {
  38021. "description": "账号名称(ACCOUNTID对应的名称)",
  38022. "type": "string"
  38023. },
  38024. "currencyid": {
  38025. "description": "币种id",
  38026. "type": "integer"
  38027. },
  38028. "currencyname": {
  38029. "description": "币种名称",
  38030. "type": "string"
  38031. },
  38032. "decimalplace": {
  38033. "description": "商品报价小数位",
  38034. "type": "integer"
  38035. },
  38036. "enumdicname": {
  38037. "description": "单位名称",
  38038. "type": "string"
  38039. },
  38040. "goodscode": {
  38041. "description": "定投商品代码",
  38042. "type": "string"
  38043. },
  38044. "goodsid": {
  38045. "description": "定投商品ID",
  38046. "type": "integer"
  38047. },
  38048. "goodsname": {
  38049. "description": "定投商品名称",
  38050. "type": "string"
  38051. },
  38052. "goodunitid": {
  38053. "description": "定投商品单位id",
  38054. "type": "integer"
  38055. },
  38056. "logid": {
  38057. "description": "LogID(SEQ_QHJ_RSTRIGGERLOG)",
  38058. "type": "string"
  38059. },
  38060. "logincode": {
  38061. "description": "账号(登录代码)",
  38062. "type": "string"
  38063. },
  38064. "qtydecimalplace": {
  38065. "description": "成交量小数位",
  38066. "type": "integer"
  38067. },
  38068. "regularlycycle": {
  38069. "description": "定投频率 - 1:每周 2:每月",
  38070. "type": "integer"
  38071. },
  38072. "regularlycyclevalue": {
  38073. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  38074. "type": "string"
  38075. },
  38076. "regularlymode": {
  38077. "description": "定投方式 - 1:按数量 2:按金额",
  38078. "type": "integer"
  38079. },
  38080. "regularlymodevalue": {
  38081. "description": "定投方式值 - 数量或金额",
  38082. "type": "number"
  38083. },
  38084. "regularlystrategyid": {
  38085. "description": "定投策略ID",
  38086. "type": "integer"
  38087. },
  38088. "retcode": {
  38089. "description": "错误码",
  38090. "type": "string"
  38091. },
  38092. "tradeid": {
  38093. "description": "成交单ID",
  38094. "type": "string"
  38095. },
  38096. "triggeramount": {
  38097. "description": "触发金额",
  38098. "type": "number"
  38099. },
  38100. "triggerqty": {
  38101. "description": "触发数量",
  38102. "type": "number"
  38103. },
  38104. "triggerstatus": {
  38105. "description": "触发状态 - 1:成功 2:失败",
  38106. "type": "integer"
  38107. },
  38108. "triggertime": {
  38109. "description": "触发时间",
  38110. "type": "string"
  38111. },
  38112. "triggertradedate": {
  38113. "description": "触发交易日",
  38114. "type": "string"
  38115. },
  38116. "userid": {
  38117. "description": "所属用户ID",
  38118. "type": "integer"
  38119. },
  38120. "userinfotype": {
  38121. "description": "用户类型 1-个人 2-企业",
  38122. "type": "integer"
  38123. },
  38124. "username": {
  38125. "description": "用户名称(userid对应的名称)",
  38126. "type": "string"
  38127. }
  38128. }
  38129. },
  38130. "models.QhjRStrategy": {
  38131. "type": "object",
  38132. "properties": {
  38133. "accountid": {
  38134. "description": "用户资金账户",
  38135. "type": "integer"
  38136. },
  38137. "accountname": {
  38138. "description": "账号名称(ACCOUNTID对应的名称)",
  38139. "type": "string"
  38140. },
  38141. "currencyid": {
  38142. "description": "币种id",
  38143. "type": "integer"
  38144. },
  38145. "currencyname": {
  38146. "description": "币种名称",
  38147. "type": "string"
  38148. },
  38149. "decimalplace": {
  38150. "description": "商品报价小数位",
  38151. "type": "integer"
  38152. },
  38153. "enumdicname": {
  38154. "description": "单位名称",
  38155. "type": "string"
  38156. },
  38157. "goodscode": {
  38158. "description": "定投商品代码",
  38159. "type": "string"
  38160. },
  38161. "goodsid": {
  38162. "description": "定投商品ID",
  38163. "type": "integer"
  38164. },
  38165. "goodsname": {
  38166. "description": "定投商品名称",
  38167. "type": "string"
  38168. },
  38169. "goodunitid": {
  38170. "description": "定投商品单位id",
  38171. "type": "integer"
  38172. },
  38173. "lasteffecttradedate": {
  38174. "description": "最新生效交易日",
  38175. "type": "string"
  38176. },
  38177. "laststoptradedate": {
  38178. "description": "最新暂停交易日",
  38179. "type": "string"
  38180. },
  38181. "lasttriggertradedate": {
  38182. "description": "最新触发交易日",
  38183. "type": "string"
  38184. },
  38185. "logincode": {
  38186. "description": "账号(登录代码)",
  38187. "type": "string"
  38188. },
  38189. "nexttriggeramount": {
  38190. "description": "下次触发金额",
  38191. "type": "number"
  38192. },
  38193. "nexttriggerdate": {
  38194. "description": "下次触发日期",
  38195. "type": "string"
  38196. },
  38197. "nexttriggerqty": {
  38198. "description": "下次触发数量 [按小数位放大值]",
  38199. "type": "number"
  38200. },
  38201. "qtydecimalplace": {
  38202. "description": "成交量小数位",
  38203. "type": "integer"
  38204. },
  38205. "regularlycycle": {
  38206. "description": "定投频率 - 1:每周 2:每月",
  38207. "type": "integer"
  38208. },
  38209. "regularlycyclevalue": {
  38210. "description": "定投频率值 - 每周几(0-6) 或 每月几号(\u003c=28)",
  38211. "type": "string"
  38212. },
  38213. "regularlymode": {
  38214. "description": "定投方式 - 1:按数量 2:按金额",
  38215. "type": "integer"
  38216. },
  38217. "regularlymodevalue": {
  38218. "description": "定投方式值 - 数量或金额",
  38219. "type": "number"
  38220. },
  38221. "regularlystrategyid": {
  38222. "description": "定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)",
  38223. "type": "integer"
  38224. },
  38225. "regularlystrategystatus": {
  38226. "description": "策略状态 - 1:正常 2:暂停 3:终止",
  38227. "type": "integer"
  38228. },
  38229. "remark": {
  38230. "description": "备注",
  38231. "type": "string"
  38232. },
  38233. "triggersuccesstimes": {
  38234. "description": "累计定投成功次数",
  38235. "type": "string"
  38236. },
  38237. "triggertotalamount": {
  38238. "description": "累计定投金额(成功)",
  38239. "type": "number"
  38240. },
  38241. "triggertotalqty": {
  38242. "description": "累计定投数量(成功) [按小数位放大值]",
  38243. "type": "number"
  38244. },
  38245. "triggertotaltimes": {
  38246. "description": "累计定投总次数",
  38247. "type": "string"
  38248. },
  38249. "updatesrc": {
  38250. "description": "更新来源 - 1:管理端 2:终端",
  38251. "type": "integer"
  38252. },
  38253. "updatetime": {
  38254. "description": "更新时间",
  38255. "type": "string"
  38256. },
  38257. "updatorid": {
  38258. "description": "更新人",
  38259. "type": "string"
  38260. },
  38261. "userid": {
  38262. "description": "所属用户ID",
  38263. "type": "integer"
  38264. },
  38265. "userinfotype": {
  38266. "description": "用户类型 1-个人 2-企业",
  38267. "type": "integer"
  38268. },
  38269. "username": {
  38270. "description": "用户名称(userid对应的名称)",
  38271. "type": "string"
  38272. }
  38273. }
  38274. },
  38275. "models.QhjReckonPriceLog": {
  38276. "type": "object",
  38277. "properties": {
  38278. "decimalplace": {
  38279. "description": "商品报价小数位",
  38280. "type": "integer"
  38281. },
  38282. "goodscode": {
  38283. "description": "商品代码",
  38284. "type": "string"
  38285. },
  38286. "goodsid": {
  38287. "description": "商品ID",
  38288. "type": "integer"
  38289. },
  38290. "goodsname": {
  38291. "description": "商品名称",
  38292. "type": "string"
  38293. },
  38294. "lastreckonprice": {
  38295. "description": "上日结算价",
  38296. "type": "number"
  38297. },
  38298. "nextdnlimitprice": {
  38299. "description": "下个交易日跌停价",
  38300. "type": "number"
  38301. },
  38302. "nexttrade": {
  38303. "description": "下个交易日",
  38304. "type": "string"
  38305. },
  38306. "nextuplimitprice": {
  38307. "description": "下个交易日涨停价",
  38308. "type": "number"
  38309. },
  38310. "reckonprice": {
  38311. "description": "今日结算价(定投价)",
  38312. "type": "number"
  38313. },
  38314. "reckontime": {
  38315. "description": "结算时间",
  38316. "type": "string"
  38317. },
  38318. "totalholderqty": {
  38319. "description": "总持仓数",
  38320. "type": "integer"
  38321. },
  38322. "totalstock": {
  38323. "description": "总库存",
  38324. "type": "integer"
  38325. },
  38326. "tradedate": {
  38327. "description": "交易日",
  38328. "type": "string"
  38329. },
  38330. "updowncount": {
  38331. "description": "连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)",
  38332. "type": "integer"
  38333. },
  38334. "updownflag": {
  38335. "description": "连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停",
  38336. "type": "integer"
  38337. },
  38338. "updownrate": {
  38339. "description": "今日涨跌幅",
  38340. "type": "number"
  38341. },
  38342. "updownrate_2d": {
  38343. "description": "连续两日涨跌幅",
  38344. "type": "number"
  38345. },
  38346. "updownrate_3d": {
  38347. "description": "连续三日涨跌幅",
  38348. "type": "number"
  38349. }
  38350. }
  38351. },
  38352. "models.QhjScoreLog": {
  38353. "type": "object",
  38354. "properties": {
  38355. "accountid": {
  38356. "description": "账户ID",
  38357. "type": "integer"
  38358. },
  38359. "createtime": {
  38360. "description": "创建时间(时间)",
  38361. "type": "string"
  38362. },
  38363. "goodsid": {
  38364. "description": "商品ID",
  38365. "type": "integer"
  38366. },
  38367. "hasuploaded": {
  38368. "description": "是否已同步(千海金) 0:未同步 1;已同步",
  38369. "type": "integer"
  38370. },
  38371. "logid": {
  38372. "description": "流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  38373. "type": "string"
  38374. },
  38375. "marketid": {
  38376. "description": "市场ID",
  38377. "type": "integer"
  38378. },
  38379. "relatedamount": {
  38380. "description": "关联金额",
  38381. "type": "number"
  38382. },
  38383. "relatedorderid": {
  38384. "description": "关联单号(ScoreType=1为Trade_GoodsPickup)",
  38385. "type": "string"
  38386. },
  38387. "scoreconfigvalue1": {
  38388. "description": "积分配置1",
  38389. "type": "integer"
  38390. },
  38391. "scoreconfigvalue2": {
  38392. "description": "积分配置1",
  38393. "type": "integer"
  38394. },
  38395. "scoretype": {
  38396. "description": "积分类型 - 1:提货积分",
  38397. "type": "integer"
  38398. },
  38399. "scorevalue": {
  38400. "description": "积分",
  38401. "type": "number"
  38402. },
  38403. "tradedate": {
  38404. "description": "交易日(yyyyMMdd)",
  38405. "type": "string"
  38406. },
  38407. "uploadedtime": {
  38408. "description": "同步时间",
  38409. "type": "string"
  38410. },
  38411. "userid": {
  38412. "description": "用户ID",
  38413. "type": "integer"
  38414. }
  38415. }
  38416. },
  38417. "models.QhjSiteColumnDetail": {
  38418. "type": "object",
  38419. "properties": {
  38420. "author": {
  38421. "description": "作者",
  38422. "type": "string"
  38423. },
  38424. "brief": {
  38425. "description": "简介",
  38426. "type": "string"
  38427. },
  38428. "columnid": {
  38429. "description": "所属栏目",
  38430. "type": "integer"
  38431. },
  38432. "context": {
  38433. "description": "内容",
  38434. "type": "string"
  38435. },
  38436. "coverimage": {
  38437. "description": "封面图片",
  38438. "type": "string"
  38439. },
  38440. "creaedate": {
  38441. "description": "创建时间",
  38442. "type": "string"
  38443. },
  38444. "creatorid": {
  38445. "description": "创建人",
  38446. "type": "integer"
  38447. },
  38448. "hits": {
  38449. "description": "点击数",
  38450. "type": "integer"
  38451. },
  38452. "id": {
  38453. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  38454. "type": "integer"
  38455. },
  38456. "isshow": {
  38457. "description": "是否展示 - 0:不展示 1:展示",
  38458. "type": "integer"
  38459. },
  38460. "istop": {
  38461. "description": "是否置顶 - 0:不置 1:置顶",
  38462. "type": "integer"
  38463. },
  38464. "modifierid": {
  38465. "description": "操作人",
  38466. "type": "integer"
  38467. },
  38468. "publishdate": {
  38469. "description": "发布日期",
  38470. "type": "string"
  38471. },
  38472. "status": {
  38473. "description": "状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝",
  38474. "type": "integer"
  38475. },
  38476. "title": {
  38477. "description": "标题",
  38478. "type": "string"
  38479. },
  38480. "updatedate": {
  38481. "description": "修改时间",
  38482. "type": "string"
  38483. },
  38484. "userid": {
  38485. "description": "用户ID(默认为0, 核心为为机构用户ID)",
  38486. "type": "integer"
  38487. },
  38488. "username": {
  38489. "description": "用户名称",
  38490. "type": "string"
  38491. }
  38492. }
  38493. },
  38494. "models.QhjTeamOrder": {
  38495. "type": "object",
  38496. "properties": {
  38497. "accountid": {
  38498. "description": "账户ID[报价币种]",
  38499. "type": "integer"
  38500. },
  38501. "accountname": {
  38502. "description": "账户名称",
  38503. "type": "string"
  38504. },
  38505. "agreeunit": {
  38506. "description": "合约乘数",
  38507. "type": "number"
  38508. },
  38509. "buyorsell": {
  38510. "description": "方向 - 0:买 1:卖",
  38511. "type": "integer"
  38512. },
  38513. "decimalplace": {
  38514. "description": "报价小数位",
  38515. "type": "integer"
  38516. },
  38517. "enumdicname": {
  38518. "description": "单位名称",
  38519. "type": "string"
  38520. },
  38521. "goodscode": {
  38522. "description": "商品代码(内部)",
  38523. "type": "string"
  38524. },
  38525. "goodsid": {
  38526. "description": "商品ID",
  38527. "type": "integer"
  38528. },
  38529. "goodsname": {
  38530. "description": "商品名称",
  38531. "type": "string"
  38532. },
  38533. "goodunitid": {
  38534. "description": "报价单位ID",
  38535. "type": "integer"
  38536. },
  38537. "marketid": {
  38538. "description": "市场ID",
  38539. "type": "integer"
  38540. },
  38541. "marketname": {
  38542. "description": "市场名称",
  38543. "type": "string"
  38544. },
  38545. "qtydecimalplace": {
  38546. "description": "成交量小数位",
  38547. "type": "integer"
  38548. },
  38549. "refereeuserid": {
  38550. "description": "推荐人ID",
  38551. "type": "integer"
  38552. },
  38553. "tradeamount": {
  38554. "description": "成交金额[账户币种,用于所有权]",
  38555. "type": "number"
  38556. },
  38557. "tradedate": {
  38558. "description": "交易日(yyyyMMdd)",
  38559. "type": "string"
  38560. },
  38561. "trademode": {
  38562. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  38563. "type": "integer"
  38564. },
  38565. "tradeprice": {
  38566. "description": "成交价格",
  38567. "type": "number"
  38568. },
  38569. "tradeqty": {
  38570. "description": "成交数量",
  38571. "type": "number"
  38572. },
  38573. "tradetime": {
  38574. "description": "成交时间",
  38575. "type": "string"
  38576. },
  38577. "userid": {
  38578. "description": "用户ID",
  38579. "type": "integer"
  38580. }
  38581. }
  38582. },
  38583. "models.QhjTradeGoodsPickup": {
  38584. "type": "object",
  38585. "properties": {
  38586. "accountid": {
  38587. "description": "账户ID",
  38588. "type": "integer"
  38589. },
  38590. "address": {
  38591. "description": "提货人详细地址",
  38592. "type": "string"
  38593. },
  38594. "amount": {
  38595. "description": "提货金额",
  38596. "type": "number"
  38597. },
  38598. "artradedate": {
  38599. "description": "自动收货交易日(yyyyMMdd)",
  38600. "type": "string"
  38601. },
  38602. "auditer": {
  38603. "description": "审核人",
  38604. "type": "integer"
  38605. },
  38606. "auditsrc": {
  38607. "description": "更新来源 - 1:管理端 2:终端",
  38608. "type": "integer"
  38609. },
  38610. "audittime": {
  38611. "description": "审核时间(发货时间 | 备货完成时间 都是这个字段)",
  38612. "type": "string"
  38613. },
  38614. "audittradedate": {
  38615. "description": "审核交易日(yyyyMMdd)",
  38616. "type": "string"
  38617. },
  38618. "cardnum": {
  38619. "description": "提货人证件号码",
  38620. "type": "string"
  38621. },
  38622. "cardtypeid": {
  38623. "description": "提货人证件类型",
  38624. "type": "integer"
  38625. },
  38626. "checkremark": {
  38627. "description": "审核备注",
  38628. "type": "string"
  38629. },
  38630. "cityid": {
  38631. "description": "市",
  38632. "type": "integer"
  38633. },
  38634. "cityname": {
  38635. "description": "城市名称",
  38636. "type": "string"
  38637. },
  38638. "confirmtime": {
  38639. "description": "取货时间 或 收货时间",
  38640. "type": "string"
  38641. },
  38642. "countryid": {
  38643. "description": "国家",
  38644. "type": "integer"
  38645. },
  38646. "countryname": {
  38647. "description": "国家名称",
  38648. "type": "string"
  38649. },
  38650. "decimalplace": {
  38651. "description": "商品报价小数位",
  38652. "type": "integer"
  38653. },
  38654. "districtid": {
  38655. "description": "地区",
  38656. "type": "integer"
  38657. },
  38658. "districtname": {
  38659. "description": "地区名称",
  38660. "type": "string"
  38661. },
  38662. "enumdicname": {
  38663. "description": "单位名称(提货商品)",
  38664. "type": "string"
  38665. },
  38666. "expresscompany": {
  38667. "description": "物流公司",
  38668. "type": "string"
  38669. },
  38670. "expressnum": {
  38671. "description": "物流单号",
  38672. "type": "string"
  38673. },
  38674. "goodsagreeunit": {
  38675. "description": "交易商品乘数",
  38676. "type": "number"
  38677. },
  38678. "goodscode": {
  38679. "description": "商品代码",
  38680. "type": "string"
  38681. },
  38682. "goodsid": {
  38683. "description": "商品ID",
  38684. "type": "integer"
  38685. },
  38686. "goodsname": {
  38687. "description": "商品名称",
  38688. "type": "string"
  38689. },
  38690. "goodsqty": {
  38691. "description": "交易商品手数(69模式按成交量小数位放大取整)",
  38692. "type": "number"
  38693. },
  38694. "handlestatus": {
  38695. "description": "处理状态",
  38696. "type": "integer"
  38697. },
  38698. "logincode": {
  38699. "description": "账号(登录代码, 有可能为空)",
  38700. "type": "string"
  38701. },
  38702. "marketid": {
  38703. "description": "市场ID",
  38704. "type": "integer"
  38705. },
  38706. "phonenum": {
  38707. "description": "提货人联系方式",
  38708. "type": "string"
  38709. },
  38710. "pickupgoodsagreeunit": {
  38711. "description": "提货商品合约乘数",
  38712. "type": "number"
  38713. },
  38714. "pickupgoodsid": {
  38715. "description": "提货商品ID",
  38716. "type": "string"
  38717. },
  38718. "pickupgoodsname": {
  38719. "description": "提货商品名称",
  38720. "type": "string"
  38721. },
  38722. "pickupgoodsqty": {
  38723. "description": "提货商品手数(数量)",
  38724. "type": "number"
  38725. },
  38726. "pickupgoodsunitid": {
  38727. "description": "单位ID(提货商品)",
  38728. "type": "integer"
  38729. },
  38730. "pickupratio": {
  38731. "description": "提货系数",
  38732. "type": "number"
  38733. },
  38734. "preparedays": {
  38735. "description": "备货期(天)-提货单明细表",
  38736. "type": "integer"
  38737. },
  38738. "provinceid": {
  38739. "description": "省",
  38740. "type": "integer"
  38741. },
  38742. "provincename": {
  38743. "description": "省名称",
  38744. "type": "string"
  38745. },
  38746. "qty": {
  38747. "description": "交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总",
  38748. "type": "number"
  38749. },
  38750. "qtydecimalplace": {
  38751. "description": "商品数量小数位",
  38752. "type": "integer"
  38753. },
  38754. "recivername": {
  38755. "description": "提货人姓名",
  38756. "type": "string"
  38757. },
  38758. "reqtime": {
  38759. "description": "提货申请时间",
  38760. "type": "string"
  38761. },
  38762. "storeuserid": {
  38763. "description": "门店用户ID (千海金)",
  38764. "type": "integer"
  38765. },
  38766. "storeusername": {
  38767. "description": "门店用户名称",
  38768. "type": "string"
  38769. },
  38770. "takemode": {
  38771. "description": "提货方式 - 2:自提 3:配送(邮寄)",
  38772. "type": "integer"
  38773. },
  38774. "takeorderid": {
  38775. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  38776. "type": "string"
  38777. },
  38778. "takeorderstatus": {
  38779. "description": "提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销",
  38780. "type": "integer"
  38781. },
  38782. "takeremark": {
  38783. "description": "提货备注",
  38784. "type": "string"
  38785. },
  38786. "tradedate": {
  38787. "description": "交易日(yyyyMMdd)",
  38788. "type": "string"
  38789. },
  38790. "updatetime": {
  38791. "description": "更新时间",
  38792. "type": "string"
  38793. },
  38794. "userid": {
  38795. "description": "用户ID",
  38796. "type": "integer"
  38797. },
  38798. "userinfotype": {
  38799. "description": "客户类型 1-个人 2-企业",
  38800. "type": "integer"
  38801. },
  38802. "username": {
  38803. "description": "用户名称",
  38804. "type": "string"
  38805. }
  38806. }
  38807. },
  38808. "models.QhjUserNodeCfgAndStatus": {
  38809. "type": "object",
  38810. "properties": {
  38811. "agreementcontent": {
  38812. "description": "协议内容",
  38813. "type": "string"
  38814. },
  38815. "agreementid": {
  38816. "description": "协议ID",
  38817. "type": "integer"
  38818. },
  38819. "agreementname": {
  38820. "description": "协议名称",
  38821. "type": "string"
  38822. },
  38823. "agreementno": {
  38824. "description": "协议编号",
  38825. "type": "string"
  38826. },
  38827. "agreementtype": {
  38828. "description": "协议类型 - 1:注册 2:登录 3:交易",
  38829. "type": "integer"
  38830. },
  38831. "agreementversion": {
  38832. "description": "协议版本号",
  38833. "type": "integer"
  38834. },
  38835. "configid": {
  38836. "description": "配置(SEQ_QHJ_NODEAGREEMENTCONFIG)",
  38837. "type": "integer"
  38838. },
  38839. "createtime": {
  38840. "description": "创建时间",
  38841. "type": "string"
  38842. },
  38843. "goodsid": {
  38844. "description": "商品ID [默认为0, NodeType\u003e=3 的为商品值]",
  38845. "type": "integer"
  38846. },
  38847. "nodetype": {
  38848. "description": "环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出",
  38849. "type": "integer"
  38850. },
  38851. "signtimestamp": {
  38852. "description": "签约状态时间戳(最近一次)",
  38853. "type": "string"
  38854. },
  38855. "tradedate": {
  38856. "description": "签约交易日(yyyyMMdd)",
  38857. "type": "string"
  38858. },
  38859. "userid": {
  38860. "description": "客户ID",
  38861. "type": "integer"
  38862. }
  38863. }
  38864. },
  38865. "models.Qhjgoodsex": {
  38866. "type": "object",
  38867. "properties": {
  38868. "canfinance": {
  38869. "description": "是否支持融资 - 0:不支持 1:支持【69:铂金宝】",
  38870. "type": "integer"
  38871. },
  38872. "canregularlybuy": {
  38873. "description": "是否支持定投 - 0:不支持 1:支持【69:铂金宝】",
  38874. "type": "integer"
  38875. },
  38876. "defaulttradeuserid": {
  38877. "description": "默认交易用户ID",
  38878. "type": "integer"
  38879. },
  38880. "deliverygoodsid": {
  38881. "description": "现货品种ID",
  38882. "type": "integer"
  38883. },
  38884. "goodsid": {
  38885. "description": "商品ID(自增ID SEQ_GOODS)",
  38886. "type": "integer"
  38887. },
  38888. "minamount": {
  38889. "description": "最小购买金额",
  38890. "type": "number"
  38891. },
  38892. "regularlybuyminamount": {
  38893. "description": "定投最小金额",
  38894. "type": "number"
  38895. },
  38896. "regularlybuyminqty": {
  38897. "description": "定投最小数量",
  38898. "type": "number"
  38899. },
  38900. "spotgoodsbrandid": {
  38901. "description": "现货品牌ID - 存“DGFactoryItem”表\"DGFactoryItemID\"",
  38902. "type": "integer"
  38903. },
  38904. "visibilityforenterprise": {
  38905. "description": "企业客户是否可见 - 0:不可见 1:可见",
  38906. "type": "integer"
  38907. },
  38908. "visibilityforpersonal": {
  38909. "description": "个人客户是否可见 - 0:不可见 1:可见",
  38910. "type": "integer"
  38911. },
  38912. "wrstandardid": {
  38913. "description": "现货商品ID",
  38914. "type": "integer"
  38915. }
  38916. }
  38917. },
  38918. "models.QueryErrorInfosRsp": {
  38919. "type": "object",
  38920. "required": [
  38921. "errorid"
  38922. ],
  38923. "properties": {
  38924. "description": {
  38925. "description": "异常描述",
  38926. "type": "string"
  38927. },
  38928. "errorcode": {
  38929. "description": "异常代码",
  38930. "type": "string"
  38931. },
  38932. "errorid": {
  38933. "description": "异常ID",
  38934. "type": "integer"
  38935. },
  38936. "modulecode": {
  38937. "description": "所属模块",
  38938. "type": "string"
  38939. },
  38940. "operatecode": {
  38941. "description": "所属操作",
  38942. "type": "string"
  38943. },
  38944. "rownumber": {
  38945. "description": "行号",
  38946. "type": "string"
  38947. }
  38948. }
  38949. },
  38950. "models.QueryHedgeOrderDetailRsp": {
  38951. "type": "object",
  38952. "properties": {
  38953. "accountid": {
  38954. "description": "账户ID",
  38955. "type": "integer"
  38956. },
  38957. "buyorsell": {
  38958. "description": "买卖 - 0:买 1:卖",
  38959. "type": "integer"
  38960. },
  38961. "cancellogincode": {
  38962. "description": "撤单人",
  38963. "type": "string"
  38964. },
  38965. "channelbuildtype": {
  38966. "description": "开平标志 - 0:无 1:建仓 2:平仓",
  38967. "type": "integer"
  38968. },
  38969. "channelinnerorderstatus": {
  38970. "description": "委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交",
  38971. "type": "integer"
  38972. },
  38973. "channeloperatetype": {
  38974. "description": "操作类型 - 1:正常委托 2:斩仓委托 3:强平委托",
  38975. "type": "integer"
  38976. },
  38977. "closetype": {
  38978. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  38979. "type": "integer"
  38980. },
  38981. "curexchangerate": {
  38982. "description": "当前汇率",
  38983. "type": "number"
  38984. },
  38985. "decimalplace": {
  38986. "description": "商品报价小数位",
  38987. "type": "integer"
  38988. },
  38989. "exchangefullname": {
  38990. "description": "外部交易所全称",
  38991. "type": "string"
  38992. },
  38993. "goodscode": {
  38994. "description": "商品代码(内部)",
  38995. "type": "string"
  38996. },
  38997. "goodsid": {
  38998. "description": "商品ID",
  38999. "type": "integer"
  39000. },
  39001. "goodsname": {
  39002. "description": "商品名称",
  39003. "type": "string"
  39004. },
  39005. "marketid": {
  39006. "description": "市场ID",
  39007. "type": "integer"
  39008. },
  39009. "openfreezemargin": {
  39010. "description": "冻结保证金(冻结交易金额)",
  39011. "type": "number"
  39012. },
  39013. "orderid": {
  39014. "description": "委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39015. "type": "string"
  39016. },
  39017. "orderlogincode": {
  39018. "description": "委托人",
  39019. "type": "string"
  39020. },
  39021. "orderprice": {
  39022. "description": "委托价格(账户)",
  39023. "type": "number"
  39024. },
  39025. "orderqty": {
  39026. "description": "委托数量",
  39027. "type": "integer"
  39028. },
  39029. "ordertime": {
  39030. "description": "委托时间",
  39031. "type": "string"
  39032. },
  39033. "pricemode": {
  39034. "description": "取价方式 - 1:市价 2: 限价",
  39035. "type": "integer"
  39036. },
  39037. "tradedate": {
  39038. "description": "交易日(yyyyMMdd)",
  39039. "type": "string"
  39040. },
  39041. "tradeqty": {
  39042. "description": "成交数量",
  39043. "type": "integer"
  39044. }
  39045. }
  39046. },
  39047. "models.QueryHedgeTradeDetailRsp": {
  39048. "type": "object",
  39049. "properties": {
  39050. "accountid": {
  39051. "description": "账号ID",
  39052. "type": "integer"
  39053. },
  39054. "buyorsell": {
  39055. "description": "方向 - 0:买 1:卖",
  39056. "type": "integer"
  39057. },
  39058. "channelbuildtype": {
  39059. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  39060. "type": "integer"
  39061. },
  39062. "closecharge": {
  39063. "description": "平仓手续费(账户)",
  39064. "type": "number"
  39065. },
  39066. "closecharge2": {
  39067. "description": "平仓手续费(商品)",
  39068. "type": "number"
  39069. },
  39070. "closepl": {
  39071. "description": "平仓盈亏(账户)",
  39072. "type": "number"
  39073. },
  39074. "closepl2": {
  39075. "description": "平仓盈亏(商品)",
  39076. "type": "number"
  39077. },
  39078. "closepl3": {
  39079. "description": "平仓盈亏(账户)(逐笔)",
  39080. "type": "number"
  39081. },
  39082. "closepl4": {
  39083. "description": "平仓盈亏(商品)(逐笔)",
  39084. "type": "number"
  39085. },
  39086. "closetype": {
  39087. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  39088. "type": "integer"
  39089. },
  39090. "curexchangerate": {
  39091. "description": "当前汇率",
  39092. "type": "number"
  39093. },
  39094. "decimalplace": {
  39095. "description": "商品报价小数位",
  39096. "type": "integer"
  39097. },
  39098. "exchangefullname": {
  39099. "description": "外部交易所全称",
  39100. "type": "string"
  39101. },
  39102. "goodscode": {
  39103. "description": "商品代码(内部)",
  39104. "type": "string"
  39105. },
  39106. "goodsid": {
  39107. "description": "商品ID",
  39108. "type": "integer"
  39109. },
  39110. "goodsname": {
  39111. "description": "商品名称",
  39112. "type": "string"
  39113. },
  39114. "marketid": {
  39115. "description": "市场ID",
  39116. "type": "integer"
  39117. },
  39118. "opencharge": {
  39119. "description": "建仓手续费(账户)",
  39120. "type": "number"
  39121. },
  39122. "opencharge2": {
  39123. "description": "建仓手续费(商品)",
  39124. "type": "number"
  39125. },
  39126. "orderid": {
  39127. "description": "委托单号",
  39128. "type": "string"
  39129. },
  39130. "orderlogincode": {
  39131. "description": "委托人",
  39132. "type": "string"
  39133. },
  39134. "tradeamount": {
  39135. "description": "成交金额(账户)",
  39136. "type": "number"
  39137. },
  39138. "tradedate": {
  39139. "description": "交易日(yyyyMMdd)",
  39140. "type": "string"
  39141. },
  39142. "tradeid": {
  39143. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  39144. "type": "string"
  39145. },
  39146. "tradeprice": {
  39147. "description": "成交价格",
  39148. "type": "number"
  39149. },
  39150. "tradeqty": {
  39151. "description": "成交数量",
  39152. "type": "integer"
  39153. },
  39154. "tradetime": {
  39155. "description": "成交时间",
  39156. "type": "string"
  39157. },
  39158. "tradetype": {
  39159. "description": "成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交",
  39160. "type": "integer"
  39161. }
  39162. }
  39163. },
  39164. "models.QuotePrimaryMenu": {
  39165. "type": "object",
  39166. "properties": {
  39167. "Index": {
  39168. "description": "序号",
  39169. "type": "integer"
  39170. },
  39171. "Key": {
  39172. "description": "键名",
  39173. "type": "string"
  39174. },
  39175. "Name": {
  39176. "description": "菜单名称",
  39177. "type": "string"
  39178. },
  39179. "SubMenus": {
  39180. "description": "子菜单",
  39181. "type": "array",
  39182. "items": {
  39183. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  39184. }
  39185. },
  39186. "SubTitleType": {
  39187. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  39188. "type": "integer"
  39189. },
  39190. "TradeModes": {
  39191. "description": "包含市场交易类型",
  39192. "type": "string"
  39193. }
  39194. }
  39195. },
  39196. "models.QuoteSecondaryMenu": {
  39197. "type": "object",
  39198. "properties": {
  39199. "ExExchangeCode": {
  39200. "description": "外部交易所代码",
  39201. "type": "string"
  39202. },
  39203. "ExExchangeID": {
  39204. "description": "外部交易所ID",
  39205. "type": "integer"
  39206. },
  39207. "GoodsGroupIDs": {
  39208. "description": "商品组ID列表",
  39209. "type": "array",
  39210. "items": {
  39211. "type": "integer"
  39212. }
  39213. },
  39214. "Index": {
  39215. "description": "序号",
  39216. "type": "integer"
  39217. },
  39218. "MarketID": {
  39219. "description": "市场ID",
  39220. "type": "integer"
  39221. },
  39222. "MenuTitle": {
  39223. "description": "菜单标题(市场名称或外部交易所名称)",
  39224. "type": "string"
  39225. },
  39226. "TradeMode": {
  39227. "description": "交易模式",
  39228. "type": "integer"
  39229. }
  39230. }
  39231. },
  39232. "models.Reckondaytaaccount": {
  39233. "type": "object",
  39234. "required": [
  39235. "userid"
  39236. ],
  39237. "properties": {
  39238. "accountid": {
  39239. "description": "资金账户ID",
  39240. "type": "integer"
  39241. },
  39242. "accountname": {
  39243. "description": "账户名称",
  39244. "type": "string"
  39245. },
  39246. "accountpl": {
  39247. "description": "今日账户盈亏 = 今日净值-昨日净值+今日出金-今日入金-今日划转+今日授信减少-今日授信增加+今日其它授信减少-今日其它授信增加+今日三方出金-今日三方入金;由统计服务更新",
  39248. "type": "number"
  39249. },
  39250. "avaiablemoney": {
  39251. "description": "可用资金",
  39252. "type": "number"
  39253. },
  39254. "avaiableoutmoney": {
  39255. "description": "可出资金",
  39256. "type": "number"
  39257. },
  39258. "balance": {
  39259. "description": "期初余额",
  39260. "type": "number"
  39261. },
  39262. "capitalbalance": {
  39263. "description": "本金余额[外部子账户实际出入金余额]",
  39264. "type": "number"
  39265. },
  39266. "changeflag": {
  39267. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  39268. "type": "integer"
  39269. },
  39270. "clearbalance": {
  39271. "description": "清算余额 = 期末余额 - 授信金额 - 其它授信金额",
  39272. "type": "number"
  39273. },
  39274. "clearpl": {
  39275. "description": "真实资金变动值(除出入金、应付交易所手续费)清算盈亏 = 期末余额 - 期初余额 - (今日入金 + 今日出金) - 今日应付交易所手续费 - 【(今日授信增加 + 今日授信减少) - (今日其它授信增加 + 今日其它授信减少) ----母账户】 = 今日手续费支出 + 今日平仓盈亏 + 今日结算盈亏 + 其他支出 + 其他收入 + 今日划转金额 + 今日已收手续费分成 - 今日应付交易所手续费",
  39276. "type": "number"
  39277. },
  39278. "closepl": {
  39279. "description": "今日平仓盈亏",
  39280. "type": "number"
  39281. },
  39282. "closepl2": {
  39283. "description": "平仓盈亏(逐笔)",
  39284. "type": "number"
  39285. },
  39286. "creditdecrease": {
  39287. "description": "今日授信减少",
  39288. "type": "number"
  39289. },
  39290. "creditincrease": {
  39291. "description": "今日授信增加",
  39292. "type": "number"
  39293. },
  39294. "curdebt": {
  39295. "description": "期末欠款",
  39296. "type": "number"
  39297. },
  39298. "currencyid": {
  39299. "description": "货币ID",
  39300. "type": "integer"
  39301. },
  39302. "currentbalance": {
  39303. "description": "期末余额",
  39304. "type": "number"
  39305. },
  39306. "cycletype": {
  39307. "description": "周期类型 - 1:月 2:季 3:年 4:周 5:全报表 (日报表不传此参数)",
  39308. "type": "integer"
  39309. },
  39310. "defercharge": {
  39311. "description": "今日递延费2支出[111, 112]",
  39312. "type": "number"
  39313. },
  39314. "deliveryamountin": {
  39315. "description": "今日交收货款收入",
  39316. "type": "number"
  39317. },
  39318. "deliveryamountout": {
  39319. "description": "今日交收货款支出",
  39320. "type": "number"
  39321. },
  39322. "deliverycharge": {
  39323. "description": "今日交收手续费支出 [105,106]",
  39324. "type": "number"
  39325. },
  39326. "deliverycompensationfeein": {
  39327. "description": "今日交收补偿费收入",
  39328. "type": "number"
  39329. },
  39330. "deliverycompensationfeeout": {
  39331. "description": "今日交收补偿费支出",
  39332. "type": "number"
  39333. },
  39334. "dividedcharge": {
  39335. "description": "今日已收手续费分成",
  39336. "type": "number"
  39337. },
  39338. "floatnetvalue": {
  39339. "description": "浮动净值 = 净值 + 浮动盈亏",
  39340. "type": "number"
  39341. },
  39342. "floatpl": {
  39343. "description": "浮动盈亏 - 每日有负债类商品",
  39344. "type": "number"
  39345. },
  39346. "freezecharge": {
  39347. "description": "手续费冻结",
  39348. "type": "number"
  39349. },
  39350. "freezemargin": {
  39351. "description": "冻结保证金",
  39352. "type": "number"
  39353. },
  39354. "fromaccountid": {
  39355. "description": "所属上级账户",
  39356. "type": "integer"
  39357. },
  39358. "holdcharge": {
  39359. "description": "今日持仓过夜费支出[108,109,110]",
  39360. "type": "number"
  39361. },
  39362. "inamount": {
  39363. "description": "今日入金金额",
  39364. "type": "number"
  39365. },
  39366. "interestcharge": {
  39367. "description": "今日递延费支出[103, 104]",
  39368. "type": "number"
  39369. },
  39370. "ismain": {
  39371. "description": "是否账号 0:不是母账户 1:是母账户",
  39372. "type": "integer"
  39373. },
  39374. "ismarketaccount": {
  39375. "description": "是否机构接单账号 0:不是 1:是",
  39376. "type": "integer"
  39377. },
  39378. "isreckonaccount": {
  39379. "description": "是否机构分润账号 0:不是 1:是",
  39380. "type": "integer"
  39381. },
  39382. "mortgagecredit": {
  39383. "description": "授信金额",
  39384. "type": "number"
  39385. },
  39386. "netvalue": {
  39387. "description": "净值 = 期末余额 + 所有权市值 + 仓单市值仓单市值由统计服务更新",
  39388. "type": "number"
  39389. },
  39390. "oridebt": {
  39391. "description": "期初欠款",
  39392. "type": "number"
  39393. },
  39394. "orifreezecharge": {
  39395. "description": "期初手续费冻结",
  39396. "type": "number"
  39397. },
  39398. "orifreezemargin": {
  39399. "description": "期初冻结保证金",
  39400. "type": "number"
  39401. },
  39402. "orimortgagecredit": {
  39403. "description": "期初授信金额",
  39404. "type": "number"
  39405. },
  39406. "oriothercredit": {
  39407. "description": "期初其它授信金额",
  39408. "type": "number"
  39409. },
  39410. "oriotherfreezemargin": {
  39411. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  39412. "type": "number"
  39413. },
  39414. "orioutamountfreeze": {
  39415. "description": "期初出金冻结",
  39416. "type": "number"
  39417. },
  39418. "oriusedmargin": {
  39419. "description": "期初占用保证金",
  39420. "type": "number"
  39421. },
  39422. "othercredit": {
  39423. "description": "其它授信金额",
  39424. "type": "number"
  39425. },
  39426. "othercreditdecrease": {
  39427. "description": "今日其它授信减少",
  39428. "type": "number"
  39429. },
  39430. "othercreditincrease": {
  39431. "description": "今日其它授信增加",
  39432. "type": "number"
  39433. },
  39434. "otherfreezemargin": {
  39435. "description": "其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  39436. "type": "number"
  39437. },
  39438. "otherincome": {
  39439. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  39440. "type": "number"
  39441. },
  39442. "otherpay": {
  39443. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  39444. "type": "number"
  39445. },
  39446. "outamount": {
  39447. "description": "今日出金金额",
  39448. "type": "number"
  39449. },
  39450. "outamountfreeze": {
  39451. "description": "出金冻结",
  39452. "type": "number"
  39453. },
  39454. "outthreshold": {
  39455. "description": "出金阈值",
  39456. "type": "number"
  39457. },
  39458. "ownershipvalue": {
  39459. "description": "所有权市值",
  39460. "type": "number"
  39461. },
  39462. "parentaccountid": {
  39463. "description": "所属根账户",
  39464. "type": "integer"
  39465. },
  39466. "password": {
  39467. "description": "资金密码",
  39468. "type": "string"
  39469. },
  39470. "paycharge": {
  39471. "description": "今日手续费支出",
  39472. "type": "number"
  39473. },
  39474. "paycharge2": {
  39475. "description": "今日手续费支出(外部配置)",
  39476. "type": "number"
  39477. },
  39478. "payexchcharge": {
  39479. "description": "今日应付交易所手续费",
  39480. "type": "number"
  39481. },
  39482. "reckondate": {
  39483. "description": "日照日期(yyyyMMdd)",
  39484. "type": "string"
  39485. },
  39486. "reckonpl": {
  39487. "description": "今日结算盈亏",
  39488. "type": "number"
  39489. },
  39490. "reckonpl2": {
  39491. "description": "结算盈亏(逐笔) - 汇总取期末",
  39492. "type": "number"
  39493. },
  39494. "relatedaccountstatus": {
  39495. "description": "关联用户交易状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  39496. "type": "integer"
  39497. },
  39498. "relateuserid": {
  39499. "description": "关联用户",
  39500. "type": "integer"
  39501. },
  39502. "riskrate": {
  39503. "description": "风险率 = 占用/ 浮动净值 或 浮动净值/占用",
  39504. "type": "number"
  39505. },
  39506. "signstatus": {
  39507. "description": "签约状态 - 1:未签约 2:已签约 3:已解约",
  39508. "type": "integer"
  39509. },
  39510. "spotvalue": {
  39511. "description": "现货市值-统计服务更新",
  39512. "type": "number"
  39513. },
  39514. "sublevelpath": {
  39515. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  39516. "type": "string"
  39517. },
  39518. "taaccounttype": {
  39519. "description": "外部/内部账号 - 1:外部账号 2:内部账号",
  39520. "type": "integer"
  39521. },
  39522. "thirdinamount": {
  39523. "description": "今日三方入金",
  39524. "type": "number"
  39525. },
  39526. "thirdoutamount": {
  39527. "description": "今日三方出金",
  39528. "type": "number"
  39529. },
  39530. "tradeamount": {
  39531. "description": "今日成交金额",
  39532. "type": "number"
  39533. },
  39534. "tradecharge": {
  39535. "description": "今日交易手续费支出 [101,102]",
  39536. "type": "number"
  39537. },
  39538. "tradeqty": {
  39539. "description": "今日成交量",
  39540. "type": "integer"
  39541. },
  39542. "tradestatus": {
  39543. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结)",
  39544. "type": "integer"
  39545. },
  39546. "transferamount": {
  39547. "description": "今日划转金额(母子账号资金划转,从账号划入为正,从账号划出为负)",
  39548. "type": "number"
  39549. },
  39550. "usedmargin": {
  39551. "description": "占用保证金",
  39552. "type": "number"
  39553. },
  39554. "userid": {
  39555. "description": "用户ID",
  39556. "type": "integer"
  39557. }
  39558. }
  39559. },
  39560. "models.Reckongzmemtradesum": {
  39561. "type": "object",
  39562. "required": [
  39563. "userid"
  39564. ],
  39565. "properties": {
  39566. "buylistingamount": {
  39567. "description": "买挂牌金额 - 无数据,预留",
  39568. "type": "number"
  39569. },
  39570. "buylistinglot": {
  39571. "description": "买挂牌宗数",
  39572. "type": "integer"
  39573. },
  39574. "buylistingqty": {
  39575. "description": "买挂牌数量 - 无数据,预留",
  39576. "type": "number"
  39577. },
  39578. "buytradeamount": {
  39579. "description": "购买金额",
  39580. "type": "number"
  39581. },
  39582. "buytradelot": {
  39583. "description": "购买宗数",
  39584. "type": "integer"
  39585. },
  39586. "buytradeqty": {
  39587. "description": "购买数量",
  39588. "type": "number"
  39589. },
  39590. "marketid": {
  39591. "description": "市场ID",
  39592. "type": "integer"
  39593. },
  39594. "reckondate": {
  39595. "description": "日照日期(yyyyMMdd)",
  39596. "type": "string"
  39597. },
  39598. "selllistingamount": {
  39599. "description": "卖挂牌金额",
  39600. "type": "number"
  39601. },
  39602. "selllistinglot": {
  39603. "description": "卖挂牌宗数",
  39604. "type": "integer"
  39605. },
  39606. "selllistingqty": {
  39607. "description": "卖挂牌数量",
  39608. "type": "number"
  39609. },
  39610. "selltradeamount": {
  39611. "description": "销售金额",
  39612. "type": "number"
  39613. },
  39614. "selltradelot": {
  39615. "description": "销售宗数",
  39616. "type": "integer"
  39617. },
  39618. "selltradeqty": {
  39619. "description": "销售数量",
  39620. "type": "number"
  39621. },
  39622. "updatetime": {
  39623. "description": "更新时间",
  39624. "type": "string"
  39625. },
  39626. "userid": {
  39627. "description": "用户ID",
  39628. "type": "integer"
  39629. },
  39630. "zscategory": {
  39631. "description": "钻石分类 - 枚举”ZSCategory“",
  39632. "type": "integer"
  39633. },
  39634. "zscategorydisplay": {
  39635. "type": "string"
  39636. },
  39637. "zscurrencytype": {
  39638. "description": "货币类型 - 枚举“ZSCurrencyType”",
  39639. "type": "integer"
  39640. },
  39641. "zscurrencytypedisplay": {
  39642. "type": "string"
  39643. },
  39644. "zscurrencytypedisplayunit": {
  39645. "type": "string"
  39646. }
  39647. }
  39648. },
  39649. "models.RegisterMoney": {
  39650. "type": "object",
  39651. "properties": {
  39652. "amount": {
  39653. "description": "红包",
  39654. "type": "number"
  39655. }
  39656. }
  39657. },
  39658. "models.RelatedTaAccount": {
  39659. "type": "object",
  39660. "properties": {
  39661. "accountid": {
  39662. "description": "资金账户ID",
  39663. "type": "integer"
  39664. }
  39665. }
  39666. },
  39667. "models.RoleMenu": {
  39668. "type": "object",
  39669. "properties": {
  39670. "hasright": {
  39671. "description": "是否有权限 0-没有权限 1-有权限",
  39672. "type": "integer"
  39673. },
  39674. "iconame": {
  39675. "description": "菜单图标",
  39676. "type": "string"
  39677. },
  39678. "menutype": {
  39679. "description": "菜单类型 1:管理端 2:交易端 3:终端(企业云平台)",
  39680. "type": "integer"
  39681. },
  39682. "parentcode": {
  39683. "description": "上级资源代码",
  39684. "type": "string"
  39685. },
  39686. "remark": {
  39687. "description": "菜单备注",
  39688. "type": "string"
  39689. },
  39690. "resourcecode": {
  39691. "description": "菜单代码",
  39692. "type": "string"
  39693. },
  39694. "resourcelevel": {
  39695. "description": "级别",
  39696. "type": "integer"
  39697. },
  39698. "resourcename": {
  39699. "description": "菜单名称",
  39700. "type": "string"
  39701. },
  39702. "roleid": {
  39703. "description": "角色id",
  39704. "type": "integer"
  39705. },
  39706. "sort": {
  39707. "description": "排序",
  39708. "type": "integer"
  39709. },
  39710. "subMenu": {
  39711. "description": "子级菜单(结构同上层一样, swag解析不出来)",
  39712. "type": "array",
  39713. "items": {
  39714. "$ref": "#/definitions/models.RoleMenu"
  39715. }
  39716. },
  39717. "url": {
  39718. "description": "URL",
  39719. "type": "string"
  39720. },
  39721. "userid": {
  39722. "description": "用户id",
  39723. "type": "integer"
  39724. }
  39725. }
  39726. },
  39727. "models.SearchGoods": {
  39728. "type": "object",
  39729. "required": [
  39730. "goodscode",
  39731. "goodsid",
  39732. "goodsname",
  39733. "marketid",
  39734. "trademode"
  39735. ],
  39736. "properties": {
  39737. "goodscode": {
  39738. "description": "商品代码(内部)",
  39739. "type": "string"
  39740. },
  39741. "goodsid": {
  39742. "description": "商品ID(自增ID SEQ_GOODS)",
  39743. "type": "integer"
  39744. },
  39745. "goodsname": {
  39746. "description": "商品名称",
  39747. "type": "string"
  39748. },
  39749. "marketid": {
  39750. "description": "所属市场ID",
  39751. "type": "integer"
  39752. },
  39753. "marketname": {
  39754. "description": "市场名称",
  39755. "type": "string"
  39756. },
  39757. "trademode": {
  39758. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  39759. "type": "integer"
  39760. }
  39761. }
  39762. },
  39763. "models.SellOrder": {
  39764. "type": "object",
  39765. "properties": {
  39766. "accountid": {
  39767. "description": "资金账号",
  39768. "type": "integer"
  39769. },
  39770. "applyid": {
  39771. "description": "申请单ID",
  39772. "type": "integer"
  39773. },
  39774. "attachment1": {
  39775. "description": "附件1",
  39776. "type": "string"
  39777. },
  39778. "attachment2": {
  39779. "description": "附件2",
  39780. "type": "string"
  39781. },
  39782. "buyorsell": {
  39783. "description": "买卖 - 0:买 1:卖",
  39784. "type": "integer"
  39785. },
  39786. "canbargain": {
  39787. "description": "是否可议价 - 0:不可 1:可",
  39788. "type": "integer"
  39789. },
  39790. "cancelqty": {
  39791. "description": "撤销数量",
  39792. "type": "integer"
  39793. },
  39794. "canceltime": {
  39795. "description": "撤销时间",
  39796. "type": "string"
  39797. },
  39798. "cerno": {
  39799. "type": "string"
  39800. },
  39801. "chargealgorithm": {
  39802. "description": "手续费收取方式 1:比率 2:固定",
  39803. "type": "integer"
  39804. },
  39805. "chargealgorithmvalue": {
  39806. "description": "手续费设置值(交易所部分)",
  39807. "type": "number"
  39808. },
  39809. "chargealgorithmvalue2": {
  39810. "description": "手续费设置值(会员部分)",
  39811. "type": "number"
  39812. },
  39813. "clientordertime": {
  39814. "description": "客户端委托时间",
  39815. "type": "string"
  39816. },
  39817. "cpcertno": {
  39818. "type": "string"
  39819. },
  39820. "exchangerate": {
  39821. "description": "汇率[67]",
  39822. "type": "number"
  39823. },
  39824. "firstratio": {
  39825. "description": "首付比率 - [挂牌时指定,摘牌时使用]",
  39826. "type": "number"
  39827. },
  39828. "fixedprice": {
  39829. "description": "[克拉单价]固定价格 - [挂牌]",
  39830. "type": "number"
  39831. },
  39832. "freezecharge": {
  39833. "description": "冻结手续费",
  39834. "type": "number"
  39835. },
  39836. "freezefirstamount": {
  39837. "description": "冻结首付金额 - [摘牌]",
  39838. "type": "number"
  39839. },
  39840. "freezemargin": {
  39841. "description": "冻结保证金",
  39842. "type": "number"
  39843. },
  39844. "goodsno": {
  39845. "description": "商品编号",
  39846. "type": "string"
  39847. },
  39848. "imagepath": {
  39849. "type": "string"
  39850. },
  39851. "isQueryDiamond": {
  39852. "description": "是否钻石查询",
  39853. "type": "boolean"
  39854. },
  39855. "isspecified": {
  39856. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  39857. "type": "integer"
  39858. },
  39859. "kppath": {
  39860. "type": "string"
  39861. },
  39862. "kpweight": {
  39863. "type": "string"
  39864. },
  39865. "marginalgorithm": {
  39866. "description": "保证金方式 - 1:比率 2:固定",
  39867. "type": "integer"
  39868. },
  39869. "marginvalue": {
  39870. "description": "保证金设置值",
  39871. "type": "number"
  39872. },
  39873. "marketid": {
  39874. "description": "市场ID",
  39875. "type": "integer"
  39876. },
  39877. "marketprice": {
  39878. "type": "string"
  39879. },
  39880. "orderamount": {
  39881. "description": "挂牌金额[账户] [67]= OrderQty * FixedPrice * ExchangeRate /100",
  39882. "type": "number"
  39883. },
  39884. "ordertime": {
  39885. "description": "委托时间",
  39886. "type": "string"
  39887. },
  39888. "performancetemplateid": {
  39889. "description": "履约计划模板ID",
  39890. "type": "integer"
  39891. },
  39892. "price": {
  39893. "description": "价格",
  39894. "type": "number"
  39895. },
  39896. "pricefactor": {
  39897. "description": "价格系数(浮动价时填写) - [挂牌]",
  39898. "type": "number"
  39899. },
  39900. "pricemove": {
  39901. "description": "升贴水(浮动价时填写) - [挂牌]",
  39902. "type": "number"
  39903. },
  39904. "priceper": {
  39905. "type": "string"
  39906. },
  39907. "relatedwrtradeorderid": {
  39908. "description": "关联委托单号(摘牌委托关联挂牌委托单ID)",
  39909. "type": "integer"
  39910. },
  39911. "remainqty": {
  39912. "description": "剩余重量",
  39913. "type": "number"
  39914. },
  39915. "remark": {
  39916. "type": "string"
  39917. },
  39918. "retcode": {
  39919. "description": "错误代码",
  39920. "type": "integer"
  39921. },
  39922. "sellusername": {
  39923. "description": "卖方(查询字段-模糊查询)",
  39924. "type": "string"
  39925. },
  39926. "settingmaterial": {
  39927. "description": "镶嵌材料",
  39928. "type": "string"
  39929. },
  39930. "size1": {
  39931. "type": "string"
  39932. },
  39933. "size2": {
  39934. "type": "string"
  39935. },
  39936. "size3": {
  39937. "type": "string"
  39938. },
  39939. "sizedisplay": {
  39940. "description": "尺寸",
  39941. "type": "string"
  39942. },
  39943. "stonedesc": {
  39944. "description": "配石描述",
  39945. "type": "string"
  39946. },
  39947. "totalqty": {
  39948. "description": "总重量",
  39949. "type": "number"
  39950. },
  39951. "tradedate": {
  39952. "description": "交易日(yyyyMMdd)",
  39953. "type": "string"
  39954. },
  39955. "tradeprice": {
  39956. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  39957. "type": "number"
  39958. },
  39959. "unfreezecharge": {
  39960. "description": "解冻手续费",
  39961. "type": "number"
  39962. },
  39963. "unfreezefirstamount": {
  39964. "description": "解冻首付金额 - [摘牌]",
  39965. "type": "number"
  39966. },
  39967. "unfreezemargin": {
  39968. "description": "解冻保证金",
  39969. "type": "number"
  39970. },
  39971. "userid": {
  39972. "description": "用户ID",
  39973. "type": "integer"
  39974. },
  39975. "uuid": {
  39976. "description": "发起端唯一id",
  39977. "type": "string"
  39978. },
  39979. "validtime": {
  39980. "description": "有效期限",
  39981. "type": "string"
  39982. },
  39983. "validtype": {
  39984. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  39985. "type": "integer"
  39986. },
  39987. "warehousenamedisplay": {
  39988. "type": "string"
  39989. },
  39990. "wrbargainid": {
  39991. "description": "议价申请单ID",
  39992. "type": "integer"
  39993. },
  39994. "wrfactortypeid": {
  39995. "description": "仓单要素类型ID/商品ID(77)",
  39996. "type": "integer"
  39997. },
  39998. "wrpath": {
  39999. "type": "string"
  40000. },
  40001. "wrpricetype": {
  40002. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  40003. "type": "integer"
  40004. },
  40005. "wrstandardid": {
  40006. "description": "现货商品ID",
  40007. "type": "integer"
  40008. },
  40009. "wrtradeorderid": {
  40010. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  40011. "type": "string"
  40012. },
  40013. "wrtradeorderstatus": {
  40014. "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:撤单解冻贷款失败",
  40015. "type": "integer"
  40016. },
  40017. "wrtradetype": {
  40018. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  40019. "type": "integer"
  40020. },
  40021. "wrtransferuserid": {
  40022. "description": "仓单受让用户 - [摘牌]",
  40023. "type": "integer"
  40024. },
  40025. "zscategory": {
  40026. "description": "钻石分类 - 枚举”ZSCategory“",
  40027. "type": "integer"
  40028. },
  40029. "zscategorydisplay": {
  40030. "description": "钻石分类 - 描述",
  40031. "type": "string"
  40032. },
  40033. "zscerttypedisplay": {
  40034. "type": "string"
  40035. },
  40036. "zsclaritytype1display": {
  40037. "type": "string"
  40038. },
  40039. "zsclaritytype2display": {
  40040. "type": "string"
  40041. },
  40042. "zscolortype1display": {
  40043. "type": "string"
  40044. },
  40045. "zscolortype2display": {
  40046. "type": "string"
  40047. },
  40048. "zscrystaltype": {
  40049. "type": "string"
  40050. },
  40051. "zscrystaltypedisplay": {
  40052. "type": "string"
  40053. },
  40054. "zscurrencytype": {
  40055. "description": "货币类型 - 枚举“ZSCurrencyType”",
  40056. "type": "integer"
  40057. },
  40058. "zscurrencytypedisplay": {
  40059. "type": "string"
  40060. },
  40061. "zscurrencytypedisplayunit": {
  40062. "type": "string"
  40063. },
  40064. "zscuttype1display": {
  40065. "type": "string"
  40066. },
  40067. "zscuttype2display": {
  40068. "type": "string"
  40069. },
  40070. "zsczcolor1typedisplay": {
  40071. "type": "string"
  40072. },
  40073. "zsczcolor2typedisplay": {
  40074. "type": "string"
  40075. },
  40076. "zsczcolor3typedisplay": {
  40077. "type": "string"
  40078. },
  40079. "zsfluorescencetype1display": {
  40080. "type": "string"
  40081. },
  40082. "zsfluorescencetype2display": {
  40083. "type": "string"
  40084. },
  40085. "zspolishtype1display": {
  40086. "type": "string"
  40087. },
  40088. "zspolishtype2display": {
  40089. "type": "string"
  40090. },
  40091. "zsshapetypedisplay": {
  40092. "type": "string"
  40093. },
  40094. "zsstyletypedisplay": {
  40095. "type": "string"
  40096. },
  40097. "zssymmetrytype1display": {
  40098. "type": "string"
  40099. },
  40100. "zssymmetrytype2display": {
  40101. "type": "string"
  40102. }
  40103. }
  40104. },
  40105. "models.SellOrderQueryReq": {
  40106. "type": "object",
  40107. "required": [
  40108. "zscategory"
  40109. ],
  40110. "properties": {
  40111. "origin": {
  40112. "description": "原产地",
  40113. "type": "string"
  40114. },
  40115. "page": {
  40116. "description": "页码",
  40117. "type": "integer"
  40118. },
  40119. "pagesize": {
  40120. "description": "每页大小",
  40121. "type": "integer"
  40122. },
  40123. "total": {
  40124. "description": "总条数",
  40125. "type": "integer"
  40126. },
  40127. "warehouseid": {
  40128. "description": "仓库ID",
  40129. "type": "integer"
  40130. },
  40131. "weight1": {
  40132. "description": "总重量(克拉重量)-从",
  40133. "type": "number"
  40134. },
  40135. "weight2": {
  40136. "description": "总重量(克拉重量)-至",
  40137. "type": "number"
  40138. },
  40139. "weightavg1": {
  40140. "description": "平均单颗重量-从",
  40141. "type": "number"
  40142. },
  40143. "weightavg2": {
  40144. "description": "平均单颗重量-至",
  40145. "type": "number"
  40146. },
  40147. "zscategory": {
  40148. "description": "钻石分类 - 枚举”ZSCategory“",
  40149. "type": "integer"
  40150. },
  40151. "zscerttype": {
  40152. "description": "证书类型",
  40153. "type": "array",
  40154. "items": {
  40155. "type": "string"
  40156. }
  40157. },
  40158. "zsclaritytype": {
  40159. "description": "净度",
  40160. "type": "array",
  40161. "items": {
  40162. "type": "integer"
  40163. }
  40164. },
  40165. "zscolortype": {
  40166. "description": "颜色",
  40167. "type": "array",
  40168. "items": {
  40169. "type": "integer"
  40170. }
  40171. },
  40172. "zscurrencytype": {
  40173. "description": "货币类型 - 枚举“ZSCurrencyType”",
  40174. "type": "array",
  40175. "items": {
  40176. "type": "string"
  40177. }
  40178. },
  40179. "zscuttype": {
  40180. "description": "切工",
  40181. "type": "array",
  40182. "items": {
  40183. "type": "integer"
  40184. }
  40185. },
  40186. "zsczcolor1type": {
  40187. "description": "彩钻颜色1",
  40188. "type": "array",
  40189. "items": {
  40190. "type": "string"
  40191. }
  40192. },
  40193. "zsfluorescencetype": {
  40194. "description": "荧光",
  40195. "type": "array",
  40196. "items": {
  40197. "type": "integer"
  40198. }
  40199. },
  40200. "zspolishtype": {
  40201. "description": "抛光度",
  40202. "type": "array",
  40203. "items": {
  40204. "type": "integer"
  40205. }
  40206. },
  40207. "zsshapetype": {
  40208. "description": "形状 - 枚举”ZSShapeType“ - 类型:1,2,4,5 ;(1为多个,逗号分隔)",
  40209. "type": "array",
  40210. "items": {
  40211. "type": "string"
  40212. }
  40213. },
  40214. "zsstyletype": {
  40215. "description": "款式",
  40216. "type": "array",
  40217. "items": {
  40218. "type": "string"
  40219. }
  40220. },
  40221. "zssymmetrytype": {
  40222. "description": "对称度",
  40223. "type": "array",
  40224. "items": {
  40225. "type": "integer"
  40226. }
  40227. }
  40228. }
  40229. },
  40230. "models.Sitecolumnconfig": {
  40231. "type": "object",
  40232. "properties": {
  40233. "columnname": {
  40234. "description": "栏目名称",
  40235. "type": "string"
  40236. },
  40237. "columntype": {
  40238. "description": "栏目类型 - 1:行情资讯 10:会员服务 30:关于我们 100:核心企业栏目-百色",
  40239. "type": "integer"
  40240. },
  40241. "creaedate": {
  40242. "description": "创建时间",
  40243. "type": "string"
  40244. },
  40245. "creatorid": {
  40246. "description": "创建人",
  40247. "type": "integer"
  40248. },
  40249. "id": {
  40250. "description": "ID(SEQ_SITE_COLUMNCONFIG)",
  40251. "type": "integer"
  40252. },
  40253. "isshow": {
  40254. "description": "是否展示 - 0:不展示 1:展示",
  40255. "type": "integer"
  40256. },
  40257. "modifierid": {
  40258. "description": "操作人",
  40259. "type": "integer"
  40260. },
  40261. "sort": {
  40262. "description": "排序",
  40263. "type": "integer"
  40264. },
  40265. "updatedate": {
  40266. "description": "修改时间",
  40267. "type": "string"
  40268. }
  40269. }
  40270. },
  40271. "models.Systemparam": {
  40272. "type": "object",
  40273. "required": [
  40274. "paramcode"
  40275. ],
  40276. "properties": {
  40277. "loginid": {
  40278. "description": "更新用户账号,登录账号",
  40279. "type": "string"
  40280. },
  40281. "modifyflag": {
  40282. "description": "修改标志0 不允许修改 1 允许修改",
  40283. "type": "integer"
  40284. },
  40285. "paramcode": {
  40286. "description": "参数代码",
  40287. "type": "string"
  40288. },
  40289. "paramname": {
  40290. "description": "参数名",
  40291. "type": "string"
  40292. },
  40293. "paramtype": {
  40294. "description": "参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城",
  40295. "type": "integer"
  40296. },
  40297. "paramvalue": {
  40298. "description": "参数值",
  40299. "type": "string"
  40300. },
  40301. "paramvalue2": {
  40302. "description": "参数值(CLOB)",
  40303. "type": "string"
  40304. },
  40305. "regexpress": {
  40306. "description": "正则表达式",
  40307. "type": "string"
  40308. },
  40309. "remark": {
  40310. "description": "备注",
  40311. "type": "string"
  40312. },
  40313. "serverip": {
  40314. "description": "限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置",
  40315. "type": "string"
  40316. },
  40317. "showflag": {
  40318. "description": "是否显示0 不显示 1 显示",
  40319. "type": "integer"
  40320. },
  40321. "updatetime": {
  40322. "description": "更新时间",
  40323. "type": "string"
  40324. },
  40325. "userid": {
  40326. "description": "更新用户ID",
  40327. "type": "integer"
  40328. }
  40329. }
  40330. },
  40331. "models.Szdz3convertconfig": {
  40332. "type": "object",
  40333. "required": [
  40334. "converttype",
  40335. "innergoodsid",
  40336. "outergoodscode"
  40337. ],
  40338. "properties": {
  40339. "canin": {
  40340. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  40341. "type": "integer"
  40342. },
  40343. "canout": {
  40344. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  40345. "type": "integer"
  40346. },
  40347. "converttype": {
  40348. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  40349. "type": "integer"
  40350. },
  40351. "createtime": {
  40352. "description": "创建时间",
  40353. "type": "string"
  40354. },
  40355. "creatorid": {
  40356. "description": "创建人",
  40357. "type": "integer"
  40358. },
  40359. "daymaxvalue": {
  40360. "description": "当日最大转入限制",
  40361. "type": "number"
  40362. },
  40363. "freezedays": {
  40364. "description": "冻结天数 [5:花生米转交易]",
  40365. "type": "integer"
  40366. },
  40367. "innergoodsid": {
  40368. "description": "内部商品ID[交易]",
  40369. "type": "integer"
  40370. },
  40371. "inratio": {
  40372. "description": "目标值",
  40373. "type": "integer"
  40374. },
  40375. "modifierid": {
  40376. "description": "修改人",
  40377. "type": "integer"
  40378. },
  40379. "modifytime": {
  40380. "description": "修改时间",
  40381. "type": "string"
  40382. },
  40383. "outergoodscode": {
  40384. "description": "外部商品代码[JD\\PD]",
  40385. "type": "string"
  40386. },
  40387. "outratio": {
  40388. "description": "源值",
  40389. "type": "integer"
  40390. },
  40391. "pddecimalplace": {
  40392. "description": "PD小数位",
  40393. "type": "integer"
  40394. },
  40395. "timemaxvalue": {
  40396. "description": "单次最大转入限制",
  40397. "type": "number"
  40398. },
  40399. "timeminvalue": {
  40400. "description": "单次最小转入限制",
  40401. "type": "number"
  40402. }
  40403. }
  40404. },
  40405. "models.Szdz3searchwhitelist": {
  40406. "type": "object",
  40407. "required": [
  40408. "userid"
  40409. ],
  40410. "properties": {
  40411. "createtime": {
  40412. "description": "创建时间",
  40413. "type": "string"
  40414. },
  40415. "creatorid": {
  40416. "description": "创建人",
  40417. "type": "integer"
  40418. },
  40419. "modifierid": {
  40420. "description": "修改人",
  40421. "type": "integer"
  40422. },
  40423. "modifytime": {
  40424. "description": "修改时间",
  40425. "type": "string"
  40426. },
  40427. "userid": {
  40428. "description": "用户ID",
  40429. "type": "integer"
  40430. }
  40431. }
  40432. },
  40433. "models.TBGoods": {
  40434. "type": "object",
  40435. "properties": {
  40436. "agreeunit": {
  40437. "description": "合约乘数",
  40438. "type": "number"
  40439. },
  40440. "enumdicname": {
  40441. "description": "单位名称",
  40442. "type": "string"
  40443. },
  40444. "goodscode": {
  40445. "description": "商品代码(内部)",
  40446. "type": "string"
  40447. },
  40448. "goodsid": {
  40449. "description": "商品ID(自增ID SEQ_GOODS)",
  40450. "type": "integer"
  40451. },
  40452. "goodsname": {
  40453. "description": "商品名称",
  40454. "type": "string"
  40455. }
  40456. }
  40457. },
  40458. "models.TBGoodsGroup": {
  40459. "type": "object",
  40460. "properties": {
  40461. "GDLST": {
  40462. "description": "商品列表",
  40463. "type": "array",
  40464. "items": {
  40465. "$ref": "#/definitions/models.TBGoods"
  40466. }
  40467. },
  40468. "convertratio": {
  40469. "description": "折算系数",
  40470. "type": "number"
  40471. },
  40472. "enumdicname": {
  40473. "description": "单位名称",
  40474. "type": "string"
  40475. },
  40476. "exexchangecode": {
  40477. "description": "交易所代码",
  40478. "type": "string"
  40479. },
  40480. "exexchangename": {
  40481. "description": "交易所名称",
  40482. "type": "string"
  40483. },
  40484. "goodsgroupid": {
  40485. "description": "商品组ID(自增ID)",
  40486. "type": "integer"
  40487. },
  40488. "goodsgroupname": {
  40489. "description": "商品组名称",
  40490. "type": "string"
  40491. },
  40492. "goodunitid": {
  40493. "description": "报价单位ID",
  40494. "type": "integer"
  40495. }
  40496. }
  40497. },
  40498. "models.TBMiddleGoods": {
  40499. "type": "object",
  40500. "properties": {
  40501. "GPLST": {
  40502. "description": "期货品种列表",
  40503. "type": "array",
  40504. "items": {
  40505. "$ref": "#/definitions/models.TBGoodsGroup"
  40506. }
  40507. },
  40508. "WDLST": {
  40509. "description": "商品信息列表(现货品类)",
  40510. "type": "array",
  40511. "items": {
  40512. "$ref": "#/definitions/models.TBWrstandard"
  40513. }
  40514. },
  40515. "areauserid": {
  40516. "description": "机构用户ID",
  40517. "type": "integer"
  40518. },
  40519. "enumdicname": {
  40520. "description": "单位名称",
  40521. "type": "string"
  40522. },
  40523. "goodsunitid": {
  40524. "description": "套保品种单位id",
  40525. "type": "integer"
  40526. },
  40527. "middlegoodscode": {
  40528. "description": "套保品种代码",
  40529. "type": "string"
  40530. },
  40531. "middlegoodsid": {
  40532. "description": "套保品种ID(SEQ_ERMS_MIDDLEGOODS)",
  40533. "type": "integer"
  40534. },
  40535. "middlegoodsname": {
  40536. "description": "套保品种名称",
  40537. "type": "string"
  40538. },
  40539. "needarbitrageratio": {
  40540. "description": "套利比率",
  40541. "type": "number"
  40542. },
  40543. "needhedgeratio": {
  40544. "description": "套保比率",
  40545. "type": "number"
  40546. }
  40547. }
  40548. },
  40549. "models.TBWrstandard": {
  40550. "type": "object",
  40551. "properties": {
  40552. "convertratio": {
  40553. "description": "折算系数",
  40554. "type": "number"
  40555. },
  40556. "deliverygoodsname": {
  40557. "description": "品种名称",
  40558. "type": "string"
  40559. },
  40560. "enumdicname": {
  40561. "description": "单位名称",
  40562. "type": "string"
  40563. },
  40564. "vatrate": {
  40565. "description": "增值税率",
  40566. "type": "number"
  40567. },
  40568. "wrstandardcode": {
  40569. "description": "现货商品代码",
  40570. "type": "string"
  40571. },
  40572. "wrstandardid": {
  40573. "description": "现货商品ID(SEQ_WRSTANDARD)",
  40574. "type": "integer"
  40575. },
  40576. "wrstandardname": {
  40577. "description": "现货商品名称",
  40578. "type": "string"
  40579. }
  40580. }
  40581. },
  40582. "models.THJDeliveryMode": {
  40583. "type": "object",
  40584. "properties": {
  40585. "enumdicname": {
  40586. "description": "枚举项名称",
  40587. "type": "string"
  40588. },
  40589. "enumitemname": {
  40590. "description": "枚举项值",
  40591. "type": "integer"
  40592. }
  40593. }
  40594. },
  40595. "models.THJDeliveryMonth": {
  40596. "type": "object",
  40597. "properties": {
  40598. "enddate": {
  40599. "description": "预售结束日期(yyyy-mm-dd)",
  40600. "type": "string"
  40601. },
  40602. "endmonth": {
  40603. "description": "预售结束月份(yyyy-mm)",
  40604. "type": "string"
  40605. },
  40606. "orderqty": {
  40607. "description": "委托数量",
  40608. "type": "integer"
  40609. },
  40610. "presaleapplyid": {
  40611. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40612. "type": "string"
  40613. },
  40614. "remainqty": {
  40615. "description": "可用数量",
  40616. "type": "integer"
  40617. },
  40618. "tradeqty": {
  40619. "description": "成交数量",
  40620. "type": "integer"
  40621. },
  40622. "unitprice": {
  40623. "description": "[参考价]商品单价",
  40624. "type": "number"
  40625. }
  40626. }
  40627. },
  40628. "models.THJGoodsDetailRsp": {
  40629. "type": "object",
  40630. "properties": {
  40631. "goodsinfo": {
  40632. "description": "商品信息",
  40633. "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
  40634. },
  40635. "spotgoodspricelogs": {
  40636. "description": "历史价格走势",
  40637. "type": "array",
  40638. "items": {
  40639. "$ref": "#/definitions/models.THJSpotGoodsPriceLog"
  40640. }
  40641. }
  40642. }
  40643. },
  40644. "models.THJPresaleApplyDeposit": {
  40645. "type": "object",
  40646. "properties": {
  40647. "depositid": {
  40648. "description": "自增ID autoid",
  40649. "type": "integer"
  40650. },
  40651. "depositrate": {
  40652. "description": "定金比例",
  40653. "type": "number"
  40654. },
  40655. "discountamount": {
  40656. "description": "优惠金额(每吨)",
  40657. "type": "number"
  40658. },
  40659. "presaleapplyid": {
  40660. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  40661. "type": "string"
  40662. }
  40663. }
  40664. },
  40665. "models.THJProduct": {
  40666. "type": "object",
  40667. "properties": {
  40668. "bannerpicurl": {
  40669. "description": "Banner图(逗号分隔)",
  40670. "type": "string"
  40671. },
  40672. "pictureurls": {
  40673. "description": "详情图片(逗号分隔)",
  40674. "type": "string"
  40675. },
  40676. "thumurls": {
  40677. "description": "缩略图片(1:1)(逗号分隔)",
  40678. "type": "string"
  40679. },
  40680. "wrstandardcode": {
  40681. "description": "现货商品代码",
  40682. "type": "string"
  40683. },
  40684. "wrstandardid": {
  40685. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40686. "type": "string"
  40687. },
  40688. "wrstandardname": {
  40689. "description": "现货商品名称",
  40690. "type": "string"
  40691. }
  40692. }
  40693. },
  40694. "models.THJPurchaseTradeDetailRsp": {
  40695. "type": "object",
  40696. "properties": {
  40697. "deliverydate": {
  40698. "description": "交割日期",
  40699. "type": "array",
  40700. "items": {
  40701. "$ref": "#/definitions/models.THJPurchaseTradeDetail_Date"
  40702. }
  40703. },
  40704. "goodsinfo": {
  40705. "description": "商品信息",
  40706. "$ref": "#/definitions/models.THJPurchaseTradeDetail_Goodsinfo"
  40707. },
  40708. "history": {
  40709. "description": "历史价格走势(历史数据日线)",
  40710. "type": "array",
  40711. "items": {
  40712. "$ref": "#/definitions/models.HistoryData"
  40713. }
  40714. }
  40715. }
  40716. },
  40717. "models.THJPurchaseTradeDetail_Date": {
  40718. "type": "object",
  40719. "properties": {
  40720. "depositrate": {
  40721. "description": "定金比例",
  40722. "type": "number"
  40723. },
  40724. "enddate": {
  40725. "description": "预售结束日期",
  40726. "type": "string"
  40727. },
  40728. "tradeprice": {
  40729. "description": "摘牌价格",
  40730. "type": "number"
  40731. },
  40732. "tradeqty": {
  40733. "description": "摘牌数量",
  40734. "type": "integer"
  40735. },
  40736. "transferamount": {
  40737. "description": "转让金额",
  40738. "type": "number"
  40739. },
  40740. "transferid": {
  40741. "description": "协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)",
  40742. "type": "string"
  40743. },
  40744. "transferprice": {
  40745. "description": "转让价格",
  40746. "type": "number"
  40747. }
  40748. }
  40749. },
  40750. "models.THJPurchaseTradeDetail_Goodsinfo": {
  40751. "type": "object",
  40752. "properties": {
  40753. "pictureurls": {
  40754. "description": "详情图片(逗号分隔)",
  40755. "type": "string"
  40756. },
  40757. "refgoodscode": {
  40758. "description": "参考商品代码",
  40759. "type": "string"
  40760. },
  40761. "refgoodsid": {
  40762. "description": "参考商品ID",
  40763. "type": "integer"
  40764. },
  40765. "unitid": {
  40766. "description": "现货商品单位ID",
  40767. "type": "integer"
  40768. },
  40769. "wrstandardcode": {
  40770. "description": "现货商品代码",
  40771. "type": "string"
  40772. },
  40773. "wrstandardid": {
  40774. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40775. "type": "integer"
  40776. },
  40777. "wrstandardname": {
  40778. "description": "现货商品名称(模糊查询)",
  40779. "type": "string"
  40780. }
  40781. }
  40782. },
  40783. "models.THJSigninReq": {
  40784. "type": "object",
  40785. "required": [
  40786. "userid"
  40787. ],
  40788. "properties": {
  40789. "userid": {
  40790. "description": "用户ID",
  40791. "type": "integer"
  40792. }
  40793. }
  40794. },
  40795. "models.THJSigninRsp": {
  40796. "type": "object",
  40797. "properties": {
  40798. "signinstatus": {
  40799. "description": "状态操作标志 1-签到成功 2-当日已签到,不能重复签到",
  40800. "type": "integer"
  40801. }
  40802. }
  40803. },
  40804. "models.THJSpotGoodsPriceLog": {
  40805. "type": "object",
  40806. "properties": {
  40807. "spotgoodsprice": {
  40808. "description": "现货价格",
  40809. "type": "number"
  40810. },
  40811. "tradedate": {
  40812. "description": "交易日(yyyyMMdd)",
  40813. "type": "string"
  40814. }
  40815. }
  40816. },
  40817. "models.THJTradeData": {
  40818. "type": "object",
  40819. "required": [
  40820. "marketid",
  40821. "userid"
  40822. ],
  40823. "properties": {
  40824. "accountname": {
  40825. "description": "被推荐人",
  40826. "type": "string"
  40827. },
  40828. "buytradelot": {
  40829. "description": "购买笔数",
  40830. "type": "integer"
  40831. },
  40832. "buytradeqty": {
  40833. "description": "购买数量",
  40834. "type": "number"
  40835. },
  40836. "marketid": {
  40837. "description": "市场ID 采购-64201 供求-65201",
  40838. "type": "integer"
  40839. },
  40840. "reckondate": {
  40841. "description": "日照日期(yyyyMMdd)日照日期(yyyyMMdd)",
  40842. "type": "string"
  40843. },
  40844. "selltradelot": {
  40845. "description": "销售笔数",
  40846. "type": "integer"
  40847. },
  40848. "selltradeqty": {
  40849. "description": "销售数量",
  40850. "type": "number"
  40851. },
  40852. "userid": {
  40853. "description": "用户ID",
  40854. "type": "integer"
  40855. },
  40856. "wrstandardname": {
  40857. "description": "现货商品名称",
  40858. "type": "string"
  40859. }
  40860. }
  40861. },
  40862. "models.THJWrstandard": {
  40863. "type": "object",
  40864. "properties": {
  40865. "thumurls": {
  40866. "description": "缩略图片(1:1)(逗号分隔)",
  40867. "type": "string"
  40868. },
  40869. "wrstandardcode": {
  40870. "description": "现货商品代码",
  40871. "type": "string"
  40872. },
  40873. "wrstandardid": {
  40874. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40875. "type": "integer"
  40876. },
  40877. "wrstandardname": {
  40878. "description": "现货商品名称(模糊查询)",
  40879. "type": "string"
  40880. }
  40881. }
  40882. },
  40883. "models.THJWrstandardDetailRsp": {
  40884. "type": "object",
  40885. "properties": {
  40886. "deliverymodes": {
  40887. "description": "交割方式",
  40888. "type": "array",
  40889. "items": {
  40890. "$ref": "#/definitions/models.THJDeliveryMode"
  40891. }
  40892. },
  40893. "deliverymonth": {
  40894. "description": "交割月份",
  40895. "type": "array",
  40896. "items": {
  40897. "$ref": "#/definitions/models.THJDeliveryMonth"
  40898. }
  40899. },
  40900. "goodsinfo": {
  40901. "description": "商品信息",
  40902. "$ref": "#/definitions/models.THJWrstandardDetail_GoodsInfo"
  40903. },
  40904. "presaleapplydeposits": {
  40905. "description": "支付方式",
  40906. "type": "array",
  40907. "items": {
  40908. "$ref": "#/definitions/models.THJPresaleApplyDeposit"
  40909. }
  40910. },
  40911. "spotgoodspricelogs": {
  40912. "description": "历史价格走势",
  40913. "type": "array",
  40914. "items": {
  40915. "$ref": "#/definitions/models.THJSpotGoodsPriceLog"
  40916. }
  40917. }
  40918. }
  40919. },
  40920. "models.THJWrstandardDetail_GoodsInfo": {
  40921. "type": "object",
  40922. "properties": {
  40923. "bannerpicurl": {
  40924. "description": "Banner图(逗号分隔)",
  40925. "type": "string"
  40926. },
  40927. "pictureurls": {
  40928. "description": "详情图片(逗号分隔)",
  40929. "type": "string"
  40930. },
  40931. "spotgoodsprice": {
  40932. "description": "现货价格",
  40933. "type": "number"
  40934. },
  40935. "unitid": {
  40936. "description": "现货商品单位ID",
  40937. "type": "integer"
  40938. },
  40939. "wrstandardcode": {
  40940. "description": "现货商品代码",
  40941. "type": "string"
  40942. },
  40943. "wrstandardid": {
  40944. "description": "现货商品ID(自增 SEQ_GOODS 确保不重复)",
  40945. "type": "integer"
  40946. },
  40947. "wrstandardname": {
  40948. "description": "现货商品名称",
  40949. "type": "string"
  40950. }
  40951. }
  40952. },
  40953. "models.Taaccount": {
  40954. "type": "object",
  40955. "required": [
  40956. "accountid",
  40957. "userid"
  40958. ],
  40959. "properties": {
  40960. "accountflag": {
  40961. "description": "账户标识 - 0\\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)",
  40962. "type": "integer"
  40963. },
  40964. "accountid": {
  40965. "description": "资金账户ID",
  40966. "type": "integer"
  40967. },
  40968. "accountname": {
  40969. "description": "账户名称",
  40970. "type": "string"
  40971. },
  40972. "balance": {
  40973. "description": "期初余额",
  40974. "type": "number"
  40975. },
  40976. "capitalbalance": {
  40977. "description": "本金余额[外部子账户实际出入金余额]",
  40978. "type": "number"
  40979. },
  40980. "changeflag": {
  40981. "description": "变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动",
  40982. "type": "integer"
  40983. },
  40984. "changetime": {
  40985. "description": "账户状态变更时间",
  40986. "type": "string"
  40987. },
  40988. "closepl": {
  40989. "description": "今日平仓盈亏",
  40990. "type": "number"
  40991. },
  40992. "creditdecrease": {
  40993. "description": "今日授信减少",
  40994. "type": "number"
  40995. },
  40996. "creditincrease": {
  40997. "description": "今日授信增加",
  40998. "type": "number"
  40999. },
  41000. "curamount": {
  41001. "description": "总市值(从持仓中统计)",
  41002. "type": "number"
  41003. },
  41004. "currencyid": {
  41005. "description": "货币ID",
  41006. "type": "integer"
  41007. },
  41008. "currentbalance": {
  41009. "description": "期末余额",
  41010. "type": "number"
  41011. },
  41012. "freezecharge": {
  41013. "description": "手续费冻结",
  41014. "type": "number"
  41015. },
  41016. "freezemargin": {
  41017. "description": "冻结保证金",
  41018. "type": "number"
  41019. },
  41020. "fromaccountid": {
  41021. "description": "所属上级账户",
  41022. "type": "integer"
  41023. },
  41024. "inamount": {
  41025. "description": "今日入金金额(包括三方入金)",
  41026. "type": "number"
  41027. },
  41028. "ismain": {
  41029. "description": "是否母账号 0:不是母账户 1:是母账户",
  41030. "type": "integer"
  41031. },
  41032. "ismarketaccount": {
  41033. "description": "是否机构接单账号 0:不是 1:是",
  41034. "type": "integer"
  41035. },
  41036. "isreckonaccount": {
  41037. "description": "是否机构分润账号 0:不是 1:是",
  41038. "type": "integer"
  41039. },
  41040. "mortgagecredit": {
  41041. "description": "授信金额",
  41042. "type": "number"
  41043. },
  41044. "orifreezecharge": {
  41045. "description": "期初手续费冻结",
  41046. "type": "number"
  41047. },
  41048. "orifreezemargin": {
  41049. "description": "期初冻结保证金",
  41050. "type": "number"
  41051. },
  41052. "orimortgagecredit": {
  41053. "description": "期初授信金额",
  41054. "type": "number"
  41055. },
  41056. "oriothercredit": {
  41057. "description": "期初其它授信金额",
  41058. "type": "number"
  41059. },
  41060. "oriotherfreezemargin": {
  41061. "description": "期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)",
  41062. "type": "number"
  41063. },
  41064. "orioutamountfreeze": {
  41065. "description": "期初出金冻结",
  41066. "type": "number"
  41067. },
  41068. "oriusedmargin": {
  41069. "description": "期初占用保证金",
  41070. "type": "number"
  41071. },
  41072. "othercredit": {
  41073. "description": "其它授信金额",
  41074. "type": "number"
  41075. },
  41076. "othercreditdecrease": {
  41077. "description": "今日其它授信减少",
  41078. "type": "number"
  41079. },
  41080. "othercreditincrease": {
  41081. "description": "今日其它授信增加",
  41082. "type": "number"
  41083. },
  41084. "otherfreezemargin": {
  41085. "description": "其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)",
  41086. "type": "number"
  41087. },
  41088. "otherincome": {
  41089. "description": "其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)",
  41090. "type": "number"
  41091. },
  41092. "otherpay": {
  41093. "description": "其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)",
  41094. "type": "number"
  41095. },
  41096. "outamount": {
  41097. "description": "今日出金金额(包括三方出金)",
  41098. "type": "number"
  41099. },
  41100. "outamountfreeze": {
  41101. "description": "出金冻结",
  41102. "type": "number"
  41103. },
  41104. "outthreshold": {
  41105. "description": "出金阈值",
  41106. "type": "number"
  41107. },
  41108. "parentaccountid": {
  41109. "description": "所属根账号",
  41110. "type": "integer"
  41111. },
  41112. "paycharge": {
  41113. "description": "今日手续费支出",
  41114. "type": "number"
  41115. },
  41116. "relatedaccountstatus": {
  41117. "description": "关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)",
  41118. "type": "integer"
  41119. },
  41120. "relateduserid": {
  41121. "description": "关联用户",
  41122. "type": "integer"
  41123. },
  41124. "remainamount": {
  41125. "description": "融资额(从融资合同中统计)",
  41126. "type": "number"
  41127. },
  41128. "serivcegroup": {
  41129. "description": "服务分组",
  41130. "type": "integer"
  41131. },
  41132. "signstatus": {
  41133. "description": "签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中",
  41134. "type": "integer"
  41135. },
  41136. "sublevelpath": {
  41137. "description": "账号层级路径(逗号分隔,首尾加逗号)",
  41138. "type": "string"
  41139. },
  41140. "taaccounttype": {
  41141. "description": "账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号",
  41142. "type": "integer"
  41143. },
  41144. "thirdinamount": {
  41145. "description": "今日三方入金",
  41146. "type": "number"
  41147. },
  41148. "thirdoutamount": {
  41149. "description": "今日三方出金",
  41150. "type": "number"
  41151. },
  41152. "tradestatus": {
  41153. "description": "交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销",
  41154. "type": "integer"
  41155. },
  41156. "tradestatuschangetime": {
  41157. "description": "激活时间",
  41158. "type": "string"
  41159. },
  41160. "transferamount": {
  41161. "description": "今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)",
  41162. "type": "number"
  41163. },
  41164. "usedmargin": {
  41165. "description": "占用保证金",
  41166. "type": "number"
  41167. },
  41168. "userid": {
  41169. "description": "用户ID",
  41170. "type": "integer"
  41171. }
  41172. }
  41173. },
  41174. "models.Tablecolumnconfig": {
  41175. "type": "object",
  41176. "required": [
  41177. "autoid"
  41178. ],
  41179. "properties": {
  41180. "aligntype": {
  41181. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  41182. "type": "integer"
  41183. },
  41184. "autoid": {
  41185. "description": "AutoID",
  41186. "type": "integer"
  41187. },
  41188. "columnfield": {
  41189. "description": "列字段",
  41190. "type": "string"
  41191. },
  41192. "columntitle": {
  41193. "description": "列Title",
  41194. "type": "string"
  41195. },
  41196. "columnwidth": {
  41197. "description": "列宽",
  41198. "type": "string"
  41199. },
  41200. "fixed": {
  41201. "description": "固定类型 - 空 | left | right",
  41202. "type": "string"
  41203. },
  41204. "formatterstring": {
  41205. "description": "格式化字符",
  41206. "type": "string"
  41207. },
  41208. "formattertype": {
  41209. "description": "格式化类型",
  41210. "type": "string"
  41211. },
  41212. "groupname": {
  41213. "description": "表头分组名称",
  41214. "type": "string"
  41215. },
  41216. "ismerge": {
  41217. "description": "是否合并显示 - 0:不合并 1:合并",
  41218. "type": "integer"
  41219. },
  41220. "isshow": {
  41221. "description": "是否显示 - 0:不显示 1:显示",
  41222. "type": "integer"
  41223. },
  41224. "needsummary": {
  41225. "description": "是否需要汇总 - 0:不需要 1:需要",
  41226. "type": "integer"
  41227. },
  41228. "orderindex": {
  41229. "description": "顺序",
  41230. "type": "integer"
  41231. },
  41232. "remark": {
  41233. "description": "备注",
  41234. "type": "string"
  41235. },
  41236. "summarytype": {
  41237. "description": "汇总类型 - 1:加总 2:最后一个",
  41238. "type": "integer"
  41239. },
  41240. "tablekey": {
  41241. "description": "列表Key",
  41242. "type": "string"
  41243. }
  41244. }
  41245. },
  41246. "models.Thjpurchasetradedetail": {
  41247. "type": "object",
  41248. "required": [
  41249. "buyuserid"
  41250. ],
  41251. "properties": {
  41252. "buyaccountid": {
  41253. "description": "买方账号ID",
  41254. "type": "integer"
  41255. },
  41256. "buychargevalue": {
  41257. "description": "买方到期手续费",
  41258. "type": "number"
  41259. },
  41260. "buyconfirmremark": {
  41261. "description": "买方确认备注",
  41262. "type": "string"
  41263. },
  41264. "buyconfirmtime": {
  41265. "description": "买方确认时间",
  41266. "type": "string"
  41267. },
  41268. "buyfreezecharge": {
  41269. "description": "买方摘牌冻结手续费",
  41270. "type": "number"
  41271. },
  41272. "buyuserid": {
  41273. "description": "买方用户ID",
  41274. "type": "integer"
  41275. },
  41276. "contactinfo": {
  41277. "description": "联系方式",
  41278. "type": "string"
  41279. },
  41280. "contactname": {
  41281. "description": "联系人姓名",
  41282. "type": "string"
  41283. },
  41284. "contractaddrbuy": {
  41285. "description": "贸易合同地址(买家)",
  41286. "type": "string"
  41287. },
  41288. "contractaddrsell": {
  41289. "description": "贸易合同地址(卖家)",
  41290. "type": "string"
  41291. },
  41292. "deliverygoodsid": {
  41293. "description": "现货品种ID",
  41294. "type": "integer"
  41295. },
  41296. "depositrate": {
  41297. "description": "定金比例",
  41298. "type": "number"
  41299. },
  41300. "desaddress": {
  41301. "description": "目的地地址",
  41302. "type": "string"
  41303. },
  41304. "discountamount": {
  41305. "description": "优惠总金额(优惠金额*TradeQty)",
  41306. "type": "number"
  41307. },
  41308. "enddate": {
  41309. "description": "到期日期",
  41310. "type": "string"
  41311. },
  41312. "enddatemonth": {
  41313. "description": "到期月份",
  41314. "type": "string"
  41315. },
  41316. "handlestatus": {
  41317. "description": "处理状态",
  41318. "type": "integer"
  41319. },
  41320. "lastamount": {
  41321. "description": "到期总货款 = 到期价格 * 摘牌数量",
  41322. "type": "number"
  41323. },
  41324. "lastprice": {
  41325. "description": "[实际价]到期价格",
  41326. "type": "number"
  41327. },
  41328. "lastpricedate": {
  41329. "description": "到期价格日期 - 暂不使用",
  41330. "type": "string"
  41331. },
  41332. "marketid": {
  41333. "description": "市场ID",
  41334. "type": "integer"
  41335. },
  41336. "orderstatus": {
  41337. "description": "单据状态 - 1:待付尾款 2:支付尾款成功 3:支付尾款失败 4:已违约 5:卖方已确认 6:买方已确认 7:系统自动确认 (枚举:THJOrderStatus)",
  41338. "type": "integer"
  41339. },
  41340. "payeddeposit": {
  41341. "description": "[定金]买方已付定金",
  41342. "type": "number"
  41343. },
  41344. "payedtradedate": {
  41345. "description": "支付尾款成功交易日",
  41346. "type": "string"
  41347. },
  41348. "presaleapplyid": {
  41349. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41350. "type": "string"
  41351. },
  41352. "receiptinfo": {
  41353. "description": "发票信息",
  41354. "type": "string"
  41355. },
  41356. "remainamount": {
  41357. "description": "[尾款]剩余货款 = 到期总货款 - 已付定金 - 优惠金额",
  41358. "type": "number"
  41359. },
  41360. "sellaccountid": {
  41361. "description": "卖方账号ID",
  41362. "type": "integer"
  41363. },
  41364. "sellchargevalue": {
  41365. "description": "卖方到期手续费",
  41366. "type": "number"
  41367. },
  41368. "sellconfirmattach": {
  41369. "description": "卖方确认附件",
  41370. "type": "string"
  41371. },
  41372. "sellconfirmremark": {
  41373. "description": "卖方确认备注",
  41374. "type": "string"
  41375. },
  41376. "sellconfirmtime": {
  41377. "description": "卖方确认时间",
  41378. "type": "string"
  41379. },
  41380. "sellconfirmtradedate": {
  41381. "description": "卖方确认交易日",
  41382. "type": "string"
  41383. },
  41384. "selluserid": {
  41385. "description": "卖方用户ID",
  41386. "type": "integer"
  41387. },
  41388. "thjdeliverymode": {
  41389. "description": "交割方式 - 1:平台仓储 2:自提 3:代办运输 (枚举:THJDeliveryMode)",
  41390. "type": "integer"
  41391. },
  41392. "thjdeliverymodedisplay": {
  41393. "description": "提货方式",
  41394. "type": "string"
  41395. },
  41396. "thjorderstatusdisplay": {
  41397. "description": "状态",
  41398. "type": "string"
  41399. },
  41400. "tradeamount": {
  41401. "description": "摘牌总货款",
  41402. "type": "number"
  41403. },
  41404. "tradedate": {
  41405. "description": "交易日(yyyyMMdd)",
  41406. "type": "string"
  41407. },
  41408. "tradeprice": {
  41409. "description": "摘牌价格 - 参考价",
  41410. "type": "number"
  41411. },
  41412. "tradeqty": {
  41413. "description": "[预售价]摘牌数量",
  41414. "type": "integer"
  41415. },
  41416. "tradetime": {
  41417. "description": "摘牌时间",
  41418. "type": "string"
  41419. },
  41420. "transferprice": {
  41421. "description": "转让价格 - 购买价",
  41422. "type": "number"
  41423. },
  41424. "unitid": {
  41425. "description": "商品单位",
  41426. "type": "integer"
  41427. },
  41428. "warehouseid": {
  41429. "description": "仓库ID",
  41430. "type": "integer"
  41431. },
  41432. "warehousename": {
  41433. "description": "仓库名称",
  41434. "type": "string"
  41435. },
  41436. "wrfactortypeid": {
  41437. "description": "仓单要素类型ID",
  41438. "type": "string"
  41439. },
  41440. "wrstandardid": {
  41441. "description": "现货商品ID",
  41442. "type": "integer"
  41443. },
  41444. "wrstandardname": {
  41445. "description": "现货商品名称",
  41446. "type": "string"
  41447. },
  41448. "wrtradedetailid": {
  41449. "description": "采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41450. "type": "string"
  41451. }
  41452. }
  41453. },
  41454. "models.Thjpurchasetransfer": {
  41455. "type": "object",
  41456. "required": [
  41457. "ordertype"
  41458. ],
  41459. "properties": {
  41460. "buyaccountid": {
  41461. "description": "买方账号ID",
  41462. "type": "integer"
  41463. },
  41464. "buyuserid": {
  41465. "description": "买方用户ID",
  41466. "type": "integer"
  41467. },
  41468. "contractaddr": {
  41469. "description": "协议转让合同地址",
  41470. "type": "string"
  41471. },
  41472. "deliverygoodsid": {
  41473. "description": "现货品种ID",
  41474. "type": "integer"
  41475. },
  41476. "handlestatus": {
  41477. "description": "处理状态",
  41478. "type": "integer"
  41479. },
  41480. "marketid": {
  41481. "description": "市场ID(固定为(64202)",
  41482. "type": "integer"
  41483. },
  41484. "ordertype": {
  41485. "description": "类型 - 1:转让委托 - 挂牌中(卖方) 2:转让成交(卖方) 3:转让委托 - 已完成(卖方)",
  41486. "type": "integer"
  41487. },
  41488. "payeddeposit": {
  41489. "description": "买方已付定金",
  41490. "type": "number"
  41491. },
  41492. "presaleapplyid": {
  41493. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  41494. "type": "string"
  41495. },
  41496. "remark": {
  41497. "description": "备注",
  41498. "type": "string"
  41499. },
  41500. "sellaccountid": {
  41501. "description": "卖方账号ID",
  41502. "type": "integer"
  41503. },
  41504. "sellcharge": {
  41505. "description": "卖方手续费值",
  41506. "type": "number"
  41507. },
  41508. "sellchargealgorithm": {
  41509. "description": "卖方手续费收取方式 1:比率 2:固定",
  41510. "type": "integer"
  41511. },
  41512. "sellchargealgorithmvalue": {
  41513. "description": "手续费设置值(交易所部分)",
  41514. "type": "number"
  41515. },
  41516. "selluserid": {
  41517. "description": "卖方用户ID",
  41518. "type": "integer"
  41519. },
  41520. "tradedate": {
  41521. "description": "交易日(yyyyMMdd)",
  41522. "type": "string"
  41523. },
  41524. "tradeprice": {
  41525. "description": "预售价格",
  41526. "type": "number"
  41527. },
  41528. "transferamount": {
  41529. "description": "转让金额",
  41530. "type": "number"
  41531. },
  41532. "transferid": {
  41533. "description": "协议转让ID(332+Unix秒时间戳(10位)+xxxxxx)",
  41534. "type": "string"
  41535. },
  41536. "transferprice": {
  41537. "description": "转让价格",
  41538. "type": "number"
  41539. },
  41540. "transferqty": {
  41541. "description": "数量",
  41542. "type": "integer"
  41543. },
  41544. "transferstatus": {
  41545. "description": "转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让",
  41546. "type": "integer"
  41547. },
  41548. "transfertradedate": {
  41549. "description": "转让交易日",
  41550. "type": "string"
  41551. },
  41552. "unitid": {
  41553. "description": "现货商品单位ID",
  41554. "type": "integer"
  41555. },
  41556. "warehouseid": {
  41557. "description": "仓库ID",
  41558. "type": "integer"
  41559. },
  41560. "wrfactortypeid": {
  41561. "description": "仓单要素类型ID",
  41562. "type": "string"
  41563. },
  41564. "wrstandardid": {
  41565. "description": "现货商品ID",
  41566. "type": "integer"
  41567. },
  41568. "wrstandardname": {
  41569. "description": "现货商品名称",
  41570. "type": "string"
  41571. },
  41572. "wrtradedetailid": {
  41573. "description": "采购成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  41574. "type": "string"
  41575. }
  41576. }
  41577. },
  41578. "models.ThjpurchasetransferDetail": {
  41579. "type": "object",
  41580. "properties": {
  41581. "buyusername": {
  41582. "description": "受让人",
  41583. "type": "string"
  41584. },
  41585. "contractaddrbuy": {
  41586. "description": "贸易合同地址(买家)",
  41587. "type": "string"
  41588. },
  41589. "contractaddrsell": {
  41590. "description": "贸易合同地址(卖家)",
  41591. "type": "string"
  41592. },
  41593. "payeddeposit": {
  41594. "description": "买方已付定金",
  41595. "type": "number"
  41596. },
  41597. "sellusername": {
  41598. "description": "转让人",
  41599. "type": "string"
  41600. },
  41601. "tradeprice": {
  41602. "description": "预售价格",
  41603. "type": "number"
  41604. },
  41605. "transferamount": {
  41606. "description": "转让金额",
  41607. "type": "number"
  41608. },
  41609. "transferid": {
  41610. "description": "转让单号",
  41611. "type": "string"
  41612. },
  41613. "transferprice": {
  41614. "description": "转让价格",
  41615. "type": "number"
  41616. },
  41617. "transferqty": {
  41618. "description": "转让数量",
  41619. "type": "integer"
  41620. },
  41621. "transferstatus": {
  41622. "description": "转让状态 - 1:挂牌中 2:已撤销 3:处理中 4:已转让",
  41623. "type": "integer"
  41624. },
  41625. "warehousename": {
  41626. "description": "仓库名称",
  41627. "type": "string"
  41628. },
  41629. "wrstandardcode": {
  41630. "description": "现货商品代码",
  41631. "type": "string"
  41632. },
  41633. "wrstandardid": {
  41634. "description": "现货商品ID",
  41635. "type": "integer"
  41636. },
  41637. "wrstandardname": {
  41638. "description": "现货商品名称",
  41639. "type": "string"
  41640. }
  41641. }
  41642. },
  41643. "models.Thjscoreconfig": {
  41644. "type": "object",
  41645. "properties": {
  41646. "parma1": {
  41647. "description": "参数1",
  41648. "type": "integer"
  41649. },
  41650. "parma2": {
  41651. "description": "参数2",
  41652. "type": "integer"
  41653. },
  41654. "parma3": {
  41655. "description": "参数3",
  41656. "type": "integer"
  41657. },
  41658. "parma4": {
  41659. "description": "参数4",
  41660. "type": "integer"
  41661. },
  41662. "parma5": {
  41663. "description": "参数5",
  41664. "type": "integer"
  41665. },
  41666. "parma6": {
  41667. "description": "参数6",
  41668. "type": "integer"
  41669. },
  41670. "parma7": {
  41671. "description": "参数6",
  41672. "type": "integer"
  41673. },
  41674. "scoreconfigtype": {
  41675. "description": "积分配置类型 - 1:注册送红包 2:签到送积分 3:推广送积分 4:下级用户下单送积分 5:自己采购下单送积分 6:自己供求下单送积分 7:抽奖得红包",
  41676. "type": "integer"
  41677. }
  41678. }
  41679. },
  41680. "models.TjmdHolderDetailTradeInfo": {
  41681. "type": "object",
  41682. "properties": {
  41683. "agreeunit": {
  41684. "description": "合约乘数",
  41685. "type": "number"
  41686. },
  41687. "buyaccountid": {
  41688. "description": "买方账户",
  41689. "type": "string"
  41690. },
  41691. "buyusername": {
  41692. "description": "买方",
  41693. "type": "string"
  41694. },
  41695. "delistingdate": {
  41696. "description": "最后结算日",
  41697. "type": "string"
  41698. },
  41699. "expiredate": {
  41700. "description": "到期结算价定价日",
  41701. "type": "string"
  41702. },
  41703. "exprieprice": {
  41704. "description": "到期清算价格",
  41705. "type": "string"
  41706. },
  41707. "goodscode": {
  41708. "description": "商品代码",
  41709. "type": "string"
  41710. },
  41711. "goodsid": {
  41712. "description": "商品ID",
  41713. "type": "integer"
  41714. },
  41715. "goodsname": {
  41716. "description": "商品名称(交易标的)",
  41717. "type": "string"
  41718. },
  41719. "lasttradedate": {
  41720. "description": "最后交易日",
  41721. "type": "string"
  41722. },
  41723. "listingdate": {
  41724. "description": "开始交易日",
  41725. "type": "string"
  41726. },
  41727. "openprice": {
  41728. "description": "成交价",
  41729. "type": "number"
  41730. },
  41731. "openqty": {
  41732. "description": "交易数量",
  41733. "type": "integer"
  41734. },
  41735. "sellaccountid": {
  41736. "description": "卖方账户",
  41737. "type": "string"
  41738. },
  41739. "sellusername": {
  41740. "description": "卖方",
  41741. "type": "string"
  41742. },
  41743. "tradeamount": {
  41744. "description": "初始名义价值",
  41745. "type": "number"
  41746. },
  41747. "tradedate": {
  41748. "description": "成交日期",
  41749. "type": "string"
  41750. },
  41751. "tradeid": {
  41752. "description": "成交编号",
  41753. "type": "string"
  41754. }
  41755. }
  41756. },
  41757. "models.TjmdMarketSection": {
  41758. "type": "object",
  41759. "properties": {
  41760. "marketsectionid": {
  41761. "description": "市场版块ID(SEQ_MARKETSECTION)",
  41762. "type": "integer"
  41763. },
  41764. "marketsectionname": {
  41765. "description": "市场版块名称",
  41766. "type": "string"
  41767. },
  41768. "mlist": {
  41769. "description": "市场列表(板块下面有多少个市场)",
  41770. "type": "array",
  41771. "items": {
  41772. "$ref": "#/definitions/models.TjmdMarketSectionConfig"
  41773. }
  41774. },
  41775. "orderindex": {
  41776. "description": "排序",
  41777. "type": "integer"
  41778. },
  41779. "pictureurl": {
  41780. "description": "图片url, 规格(90*90)",
  41781. "type": "string"
  41782. },
  41783. "remark": {
  41784. "description": "备注",
  41785. "type": "string"
  41786. }
  41787. }
  41788. },
  41789. "models.TjmdMarketSectionConfig": {
  41790. "type": "object",
  41791. "properties": {
  41792. "auctionwrtype": {
  41793. "description": "仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可",
  41794. "type": "integer"
  41795. },
  41796. "canacceptquote": {
  41797. "description": "确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]",
  41798. "type": "integer"
  41799. },
  41800. "cangoodsexercise": {
  41801. "description": "[期权]是否可现货行权- 0:否 1:是",
  41802. "type": "integer"
  41803. },
  41804. "cangoodsexercisetype": {
  41805. "description": "可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]",
  41806. "type": "integer"
  41807. },
  41808. "canmanualquotestrike": {
  41809. "description": "是否可手动报行权价- 0:否 1:是 [期权]",
  41810. "type": "integer"
  41811. },
  41812. "canmutistage": {
  41813. "description": "是否可多段运行 – 0:不可 1:可 [挂牌期权]",
  41814. "type": "integer"
  41815. },
  41816. "canpreexercise": {
  41817. "description": "[期权]是否可预申报- 0:否 1:是",
  41818. "type": "integer"
  41819. },
  41820. "clearinterval": {
  41821. "description": "待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))",
  41822. "type": "integer"
  41823. },
  41824. "contracttmp": {
  41825. "description": "合同模板[荷兰式][竞价式][仓单贸易]",
  41826. "type": "string"
  41827. },
  41828. "exchareaid": {
  41829. "description": "所属交易所,可以没有",
  41830. "type": "integer"
  41831. },
  41832. "financemarketid": {
  41833. "description": "融资回购市场ID [仓单贸易]",
  41834. "type": "integer"
  41835. },
  41836. "goodstype": {
  41837. "description": "商品类型 - 1:交易商品 2:仓单商品",
  41838. "type": "integer"
  41839. },
  41840. "hasrebate": {
  41841. "description": "是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏",
  41842. "type": "integer"
  41843. },
  41844. "hastradecredit": {
  41845. "description": "是否交易授信[做市收益权] - 0:不授信 1:授信",
  41846. "type": "integer"
  41847. },
  41848. "haswr": {
  41849. "description": "[竞拍]是否需要仓单 - 0:不需要 1:需要-作废",
  41850. "type": "integer"
  41851. },
  41852. "isdeductmargin": {
  41853. "description": "竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除",
  41854. "type": "integer"
  41855. },
  41856. "isrecordsource": {
  41857. "description": "是否记录成交源 - 0:不记录 1:记录 [所有权]",
  41858. "type": "integer"
  41859. },
  41860. "isreleasemargin": {
  41861. "description": "成交参与保证金是否释放[竞价式] - 0:不释放 1释放",
  41862. "type": "integer"
  41863. },
  41864. "isupdatereckonprice": {
  41865. "description": "输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)",
  41866. "type": "integer"
  41867. },
  41868. "listingmode": {
  41869. "description": "挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  41870. "type": "integer"
  41871. },
  41872. "marginformula": {
  41873. "description": "持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  41874. "type": "integer"
  41875. },
  41876. "marginformula2": {
  41877. "description": "持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)",
  41878. "type": "integer"
  41879. },
  41880. "marketid": {
  41881. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  41882. "type": "integer"
  41883. },
  41884. "marketname": {
  41885. "description": "市场名称",
  41886. "type": "string"
  41887. },
  41888. "marketsectionid": {
  41889. "description": "市场版块ID(SEQ_MARKETSECTION)",
  41890. "type": "integer"
  41891. },
  41892. "marketserviceid": {
  41893. "description": "市场服务ID",
  41894. "type": "integer"
  41895. },
  41896. "marketstatus": {
  41897. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  41898. "type": "integer"
  41899. },
  41900. "markettype": {
  41901. "description": "市场类型- 1:非交易服务 2:交易服务",
  41902. "type": "integer"
  41903. },
  41904. "matchermode": {
  41905. "description": "指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废",
  41906. "type": "integer"
  41907. },
  41908. "nowrquotaflag": {
  41909. "description": "是否校验无仓单额度(仓单贸易) 0:否 1:是",
  41910. "type": "integer"
  41911. },
  41912. "openmethod": {
  41913. "description": "开盘模式 - 0 自动 1手动",
  41914. "type": "integer"
  41915. },
  41916. "orderindex": {
  41917. "description": "排序",
  41918. "type": "integer"
  41919. },
  41920. "otcuserid": {
  41921. "description": "场外期权做市商[场外期权]",
  41922. "type": "integer"
  41923. },
  41924. "outersynctime": {
  41925. "description": "外部同步时间点(h24:mi:ss)[场外期权]",
  41926. "type": "string"
  41927. },
  41928. "paylaterflag": {
  41929. "description": "是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]",
  41930. "type": "integer"
  41931. },
  41932. "pendingflag": {
  41933. "description": "待开市时间标识[通道交易-对冲] - 0:当日 1:上日",
  41934. "type": "integer"
  41935. },
  41936. "pendingtime": {
  41937. "description": "待开市时间[通道交易-对冲](HH:mm)",
  41938. "type": "string"
  41939. },
  41940. "performancetempid": {
  41941. "description": "履约计划模板ID - 作废",
  41942. "type": "integer"
  41943. },
  41944. "premiumquotemode": {
  41945. "description": "权利金报价方式 - 1:自动 2:手动",
  41946. "type": "integer"
  41947. },
  41948. "rebateratio": {
  41949. "description": "返利比率[竞价式]",
  41950. "type": "number"
  41951. },
  41952. "reckonorder": {
  41953. "description": "结算顺序",
  41954. "type": "integer"
  41955. },
  41956. "reckonpricealgorithm": {
  41957. "description": "结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价",
  41958. "type": "integer"
  41959. },
  41960. "reckonpriceparam": {
  41961. "description": "结算价参数",
  41962. "type": "integer"
  41963. },
  41964. "reckontime": {
  41965. "description": "结算时间[通道交易-对冲](HH:mm)",
  41966. "type": "string"
  41967. },
  41968. "roleprioritytype": {
  41969. "description": "角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]",
  41970. "type": "integer"
  41971. },
  41972. "selllistingauditflag": {
  41973. "description": "卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要",
  41974. "type": "integer"
  41975. },
  41976. "trademarkettype": {
  41977. "description": "交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场",
  41978. "type": "integer"
  41979. },
  41980. "trademode": {
  41981. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  41982. "type": "integer"
  41983. },
  41984. "tradeproperty": {
  41985. "description": "交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权",
  41986. "type": "integer"
  41987. },
  41988. "tradetype": {
  41989. "description": "下单方式[通道交易] - 1:直接转单 2:净头寸下单",
  41990. "type": "integer"
  41991. },
  41992. "updatereckonpriceinterval": {
  41993. "description": "输入结算价时长(分钟) [1:手工输入(自动)]",
  41994. "type": "integer"
  41995. }
  41996. }
  41997. },
  41998. "models.TjmdQuoteGoods": {
  41999. "type": "object",
  42000. "properties": {
  42001. "buyqty": {
  42002. "description": "买量(暂不做, 无值, 保留字段)",
  42003. "type": "number"
  42004. },
  42005. "decimalplace": {
  42006. "description": "报价小数位",
  42007. "type": "integer"
  42008. },
  42009. "goodscode": {
  42010. "description": "合约代码",
  42011. "type": "string"
  42012. },
  42013. "goodsgroupid": {
  42014. "description": "商品组ID(自增ID)",
  42015. "type": "integer"
  42016. },
  42017. "goodsgroupname": {
  42018. "description": "商品组名称",
  42019. "type": "string"
  42020. },
  42021. "goodsid": {
  42022. "description": "合约id",
  42023. "type": "integer"
  42024. },
  42025. "goodsname": {
  42026. "description": "合约名称",
  42027. "type": "string"
  42028. },
  42029. "refgoodscode": {
  42030. "description": "标的合约代码",
  42031. "type": "string"
  42032. },
  42033. "refgoodsid": {
  42034. "description": "标的合约id",
  42035. "type": "integer"
  42036. },
  42037. "refgoodsname": {
  42038. "description": "标的合约名称",
  42039. "type": "string"
  42040. },
  42041. "sellqty": {
  42042. "description": "卖量(暂不做, 无值, 保留字段)",
  42043. "type": "number"
  42044. }
  42045. }
  42046. },
  42047. "models.TjmdTodayAccountMargin": {
  42048. "type": "object",
  42049. "properties": {
  42050. "accountid": {
  42051. "description": "账号ID",
  42052. "type": "integer"
  42053. },
  42054. "goodsid": {
  42055. "description": "商品ID",
  42056. "type": "integer"
  42057. },
  42058. "infoc": {
  42059. "description": "配置参数",
  42060. "$ref": "#/definitions/pb.GoodsMarginCfgStruct"
  42061. },
  42062. "marketid": {
  42063. "description": "市场ID",
  42064. "type": "integer"
  42065. }
  42066. }
  42067. },
  42068. "models.TjmdTradeOrderDetail": {
  42069. "type": "object",
  42070. "properties": {
  42071. "buyorsell": {
  42072. "description": "买卖方向 0-买 1-卖",
  42073. "type": "integer"
  42074. },
  42075. "goodsid": {
  42076. "description": "商品id",
  42077. "type": "integer"
  42078. },
  42079. "marketmaxsub": {
  42080. "description": "市价最大偏移范围 [浮动价 - 点差]",
  42081. "type": "number"
  42082. },
  42083. "orderid": {
  42084. "description": "委托单号",
  42085. "type": "string"
  42086. },
  42087. "orderprice": {
  42088. "description": "期初均价",
  42089. "type": "number"
  42090. },
  42091. "orderqty": {
  42092. "description": "委托数量",
  42093. "type": "integer"
  42094. },
  42095. "pricemode": {
  42096. "description": "取价方式 - 1:市价 2: 限价 3:浮动价",
  42097. "type": "integer"
  42098. },
  42099. "userid": {
  42100. "description": "用户id",
  42101. "type": "integer"
  42102. },
  42103. "username": {
  42104. "description": "用户名称(已脱敏)",
  42105. "type": "string"
  42106. }
  42107. }
  42108. },
  42109. "models.TjmdTransferApply": {
  42110. "type": "object",
  42111. "properties": {
  42112. "applyid": {
  42113. "description": "申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)",
  42114. "type": "integer"
  42115. },
  42116. "applystatus": {
  42117. "description": "状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销",
  42118. "type": "integer"
  42119. },
  42120. "applytime": {
  42121. "description": "申请时间(时间)",
  42122. "type": "string"
  42123. },
  42124. "auditremark": {
  42125. "description": "审核备注(拒绝原因?)",
  42126. "type": "string"
  42127. },
  42128. "begindate": {
  42129. "description": "开始交易日(yyyymmdd)",
  42130. "type": "string"
  42131. },
  42132. "buyorsell": {
  42133. "description": "买卖 - 0:买 1:卖",
  42134. "type": "integer"
  42135. },
  42136. "enddate": {
  42137. "description": "结束交易日(yyyymmdd)",
  42138. "type": "string"
  42139. },
  42140. "goodscode": {
  42141. "description": "商品代码",
  42142. "type": "string"
  42143. },
  42144. "goodsid": {
  42145. "description": "商品ID",
  42146. "type": "integer"
  42147. },
  42148. "goodsname": {
  42149. "description": "商品名称",
  42150. "type": "string"
  42151. },
  42152. "marketid": {
  42153. "description": "市场ID",
  42154. "type": "integer"
  42155. },
  42156. "qty": {
  42157. "description": "期初均价",
  42158. "type": "number"
  42159. },
  42160. "tradeid": {
  42161. "description": "成交单号(关联持仓)",
  42162. "type": "string"
  42163. },
  42164. "transferamount": {
  42165. "description": "转让总金额(金额)",
  42166. "type": "number"
  42167. },
  42168. "transferprice": {
  42169. "description": "转让价格(协议价格)",
  42170. "type": "number"
  42171. }
  42172. }
  42173. },
  42174. "models.TradeHolderDetail": {
  42175. "type": "object",
  42176. "properties": {
  42177. "accountid": {
  42178. "description": "账号ID",
  42179. "type": "integer"
  42180. },
  42181. "agreeunit": {
  42182. "description": "合约乘数",
  42183. "type": "number"
  42184. },
  42185. "buyorsell": {
  42186. "description": "方向 - 0:买 1:卖",
  42187. "type": "integer"
  42188. },
  42189. "currencyid": {
  42190. "description": "商品币种id",
  42191. "type": "integer"
  42192. },
  42193. "currencyname": {
  42194. "description": "币种名称",
  42195. "type": "string"
  42196. },
  42197. "decimalplace": {
  42198. "description": "商品价格小数位",
  42199. "type": "integer"
  42200. },
  42201. "enumdicname": {
  42202. "description": "商品单位名称",
  42203. "type": "string"
  42204. },
  42205. "expirecycle": {
  42206. "description": "行权周期(天) - 1:滚动行权时填写",
  42207. "type": "integer"
  42208. },
  42209. "expiredate": {
  42210. "description": "行权日(yyyyMMdd) - 到期日",
  42211. "type": "string"
  42212. },
  42213. "expiretype": {
  42214. "description": "行权日类型 - 1:滚动行权 2:固定日行权",
  42215. "type": "integer"
  42216. },
  42217. "freezeqty": {
  42218. "description": "期初均价",
  42219. "type": "number"
  42220. },
  42221. "goodscode": {
  42222. "description": "商品代码",
  42223. "type": "string"
  42224. },
  42225. "goodsid": {
  42226. "description": "商品ID",
  42227. "type": "integer"
  42228. },
  42229. "goodsname": {
  42230. "description": "商品名称",
  42231. "type": "string"
  42232. },
  42233. "goodunitid": {
  42234. "description": "商品单位id",
  42235. "type": "integer"
  42236. },
  42237. "holderamount": {
  42238. "description": "持仓金额",
  42239. "type": "number"
  42240. },
  42241. "holdercredit": {
  42242. "description": "持仓授信金额",
  42243. "type": "number"
  42244. },
  42245. "holderdays": {
  42246. "description": "剩余冻结天数",
  42247. "type": "integer"
  42248. },
  42249. "holderprice": {
  42250. "description": "持仓价格",
  42251. "type": "number"
  42252. },
  42253. "holderqty": {
  42254. "description": "期初均价",
  42255. "type": "number"
  42256. },
  42257. "isconfirmexercise": {
  42258. "description": "是否确认行权- 0:否 1:是",
  42259. "type": "integer"
  42260. },
  42261. "ispreexercise": {
  42262. "description": "是否预申报- 0:否 1:是 2:不可行权",
  42263. "type": "integer"
  42264. },
  42265. "marketid": {
  42266. "description": "市场id",
  42267. "type": "integer"
  42268. },
  42269. "marketname": {
  42270. "description": "市场名称",
  42271. "type": "string"
  42272. },
  42273. "openprice": {
  42274. "description": "建仓价格",
  42275. "type": "number"
  42276. },
  42277. "openqty": {
  42278. "description": "期初均价",
  42279. "type": "number"
  42280. },
  42281. "optiontype": {
  42282. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  42283. "type": "integer"
  42284. },
  42285. "preexerciseprice": {
  42286. "description": "预申报价格",
  42287. "type": "number"
  42288. },
  42289. "premium": {
  42290. "description": "权利金",
  42291. "type": "number"
  42292. },
  42293. "qtydecimalplace": {
  42294. "description": "商品成交量小数位",
  42295. "type": "integer"
  42296. },
  42297. "refgoodscode": {
  42298. "description": "标的合约代码",
  42299. "type": "string"
  42300. },
  42301. "refgoodsid": {
  42302. "description": "标的合约id",
  42303. "type": "integer"
  42304. },
  42305. "releaseamount": {
  42306. "description": "释放持仓金额",
  42307. "type": "number"
  42308. },
  42309. "releaseholdercredit": {
  42310. "description": "释放持仓授信金额",
  42311. "type": "number"
  42312. },
  42313. "taname": {
  42314. "description": "资金账号名称",
  42315. "type": "string"
  42316. },
  42317. "tradeamount": {
  42318. "description": "成交金额",
  42319. "type": "number"
  42320. },
  42321. "tradedate": {
  42322. "description": "交易日(yyyyMMdd)",
  42323. "type": "string"
  42324. },
  42325. "tradeid": {
  42326. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  42327. "type": "string"
  42328. },
  42329. "trademode": {
  42330. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期",
  42331. "type": "integer"
  42332. },
  42333. "tradeproperty": {
  42334. "description": "交易属性",
  42335. "type": "integer"
  42336. },
  42337. "tradetime": {
  42338. "description": "交易时间",
  42339. "type": "string"
  42340. },
  42341. "userid": {
  42342. "description": "用户id",
  42343. "type": "integer"
  42344. },
  42345. "username": {
  42346. "description": "用户名称",
  42347. "type": "string"
  42348. }
  42349. }
  42350. },
  42351. "models.Unlinkermcphedgeplan": {
  42352. "type": "object",
  42353. "required": [
  42354. "areauserid"
  42355. ],
  42356. "properties": {
  42357. "accountid": {
  42358. "description": "期货账户ID - 作废",
  42359. "type": "integer"
  42360. },
  42361. "accountname": {
  42362. "description": "交易用户",
  42363. "type": "string"
  42364. },
  42365. "applyid": {
  42366. "description": "申请人",
  42367. "type": "integer"
  42368. },
  42369. "applysrc": {
  42370. "description": "申请来源 - 1:管理端 2:终端",
  42371. "type": "integer"
  42372. },
  42373. "applytime": {
  42374. "description": "申请时间",
  42375. "type": "string"
  42376. },
  42377. "areauserid": {
  42378. "description": "[企业ID]机构ID",
  42379. "type": "integer"
  42380. },
  42381. "auditid": {
  42382. "description": "审核人",
  42383. "type": "integer"
  42384. },
  42385. "auditremark": {
  42386. "description": "审核备注",
  42387. "type": "string"
  42388. },
  42389. "auditsrc": {
  42390. "description": "审核来源 - 1:管理端 2:终端",
  42391. "type": "integer"
  42392. },
  42393. "audittime": {
  42394. "description": "审核时间",
  42395. "type": "string"
  42396. },
  42397. "audittradedate": {
  42398. "description": "审核交易日(yyyyMMdd)",
  42399. "type": "string"
  42400. },
  42401. "biztype": {
  42402. "description": "业务类型 - 1:套保",
  42403. "type": "integer"
  42404. },
  42405. "contracttype": {
  42406. "description": "计划类型 - 1:采购 -1:销售",
  42407. "type": "integer"
  42408. },
  42409. "convertfactor": {
  42410. "description": "标仓系数 - 作废",
  42411. "type": "number"
  42412. },
  42413. "createtime": {
  42414. "description": "创建时间",
  42415. "type": "string"
  42416. },
  42417. "currencyid": {
  42418. "description": "结算币种ID - 作废",
  42419. "type": "integer"
  42420. },
  42421. "deliverygoodsid": {
  42422. "description": "现货品种ID",
  42423. "type": "integer"
  42424. },
  42425. "enumdicname": {
  42426. "description": "结算币种",
  42427. "type": "string"
  42428. },
  42429. "hedgeplanid": {
  42430. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  42431. "type": "string"
  42432. },
  42433. "hedgeplanno": {
  42434. "description": "[计划编号]套保计划编号,模糊查询",
  42435. "type": "string"
  42436. },
  42437. "hedgeplanstatus": {
  42438. "description": "[状态]套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  42439. "type": "integer"
  42440. },
  42441. "isrelated": {
  42442. "description": "是否已关联计划项目 - 0:否 1:是",
  42443. "type": "integer"
  42444. },
  42445. "planqty": {
  42446. "description": "[计划量]计划数量",
  42447. "type": "number"
  42448. },
  42449. "plantime": {
  42450. "description": "计划时间",
  42451. "type": "string"
  42452. },
  42453. "producttype": {
  42454. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  42455. "type": "integer"
  42456. },
  42457. "remark": {
  42458. "description": "备注",
  42459. "type": "string"
  42460. },
  42461. "spotgoodsdesc": {
  42462. "description": "商品型号",
  42463. "type": "string"
  42464. },
  42465. "tradedate": {
  42466. "description": "交易日(yyyyMMdd)",
  42467. "type": "string"
  42468. },
  42469. "tradeuserid": {
  42470. "description": "交易用户ID",
  42471. "type": "integer"
  42472. },
  42473. "updatetime": {
  42474. "description": "更新时间",
  42475. "type": "string"
  42476. },
  42477. "wrstandardid": {
  42478. "description": "现货商品ID",
  42479. "type": "integer"
  42480. },
  42481. "wrstandardname": {
  42482. "description": "现货商品,模糊查询",
  42483. "type": "string"
  42484. }
  42485. }
  42486. },
  42487. "models.UserCollectConfig": {
  42488. "type": "object",
  42489. "properties": {
  42490. "accountstatus": {
  42491. "description": "账户状态 - 1:正常 2:停用 3:注销",
  42492. "type": "integer"
  42493. },
  42494. "collectaccountname": {
  42495. "description": "收款人账户名称",
  42496. "type": "string"
  42497. },
  42498. "collectaccountno": {
  42499. "description": "收款人账户",
  42500. "type": "string"
  42501. },
  42502. "collectbankname": {
  42503. "description": "收款人开户行",
  42504. "type": "string"
  42505. },
  42506. "collectbranchbankname": {
  42507. "description": "收款人开户支行",
  42508. "type": "string"
  42509. },
  42510. "collectconfigid": {
  42511. "description": "收款账户配置ID(SEQ_USERCOLLECTCONFIG)",
  42512. "type": "string"
  42513. },
  42514. "remark": {
  42515. "description": "备注",
  42516. "type": "string"
  42517. },
  42518. "userid": {
  42519. "description": "收款人用户ID",
  42520. "type": "integer"
  42521. }
  42522. }
  42523. },
  42524. "models.UserReceiveInfo": {
  42525. "type": "object",
  42526. "properties": {
  42527. "address": {
  42528. "description": "提货人详细地址",
  42529. "type": "string"
  42530. },
  42531. "autoid": {
  42532. "description": "AutoID",
  42533. "type": "integer"
  42534. },
  42535. "cardnum": {
  42536. "description": "证件号码(加密存储)",
  42537. "type": "string"
  42538. },
  42539. "cardtypeid": {
  42540. "description": "证件类型",
  42541. "type": "integer"
  42542. },
  42543. "cityid": {
  42544. "description": "市",
  42545. "type": "integer"
  42546. },
  42547. "cityname": {
  42548. "description": "城市名称",
  42549. "type": "string"
  42550. },
  42551. "countryid": {
  42552. "description": "国家",
  42553. "type": "integer"
  42554. },
  42555. "countryname": {
  42556. "description": "国家名称",
  42557. "type": "string"
  42558. },
  42559. "districtid": {
  42560. "description": "地区",
  42561. "type": "integer"
  42562. },
  42563. "districtname": {
  42564. "description": "地区名称",
  42565. "type": "string"
  42566. },
  42567. "hasencrypt": {
  42568. "description": "数据是否已加密 - 0:未加密 1:已加密",
  42569. "type": "integer"
  42570. },
  42571. "isdefault": {
  42572. "description": "是否默认地址 - 0:否 1:是",
  42573. "type": "integer"
  42574. },
  42575. "phonenum": {
  42576. "description": "提货人联系方式(加密存储)",
  42577. "type": "string"
  42578. },
  42579. "provinceid": {
  42580. "description": "省",
  42581. "type": "integer"
  42582. },
  42583. "provincename": {
  42584. "description": "省名称",
  42585. "type": "string"
  42586. },
  42587. "receivername": {
  42588. "description": "提货人姓名",
  42589. "type": "string"
  42590. },
  42591. "takeremark": {
  42592. "description": "提货备注",
  42593. "type": "string"
  42594. },
  42595. "userid": {
  42596. "description": "用户ID",
  42597. "type": "integer"
  42598. }
  42599. }
  42600. },
  42601. "models.Useraccount": {
  42602. "type": "object",
  42603. "required": [
  42604. "userid"
  42605. ],
  42606. "properties": {
  42607. "accountname": {
  42608. "description": "账户名称(机构名称)",
  42609. "type": "string"
  42610. },
  42611. "accountstatus": {
  42612. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)",
  42613. "type": "integer"
  42614. },
  42615. "applysrc": {
  42616. "description": "申请来源 - 1:管理端 2:终端",
  42617. "type": "integer"
  42618. },
  42619. "auditremark": {
  42620. "description": "审核备注",
  42621. "type": "string"
  42622. },
  42623. "auditsrc": {
  42624. "description": "审核来源 - 1:管理端 2:终端",
  42625. "type": "integer"
  42626. },
  42627. "audittime": {
  42628. "description": "审核时间",
  42629. "type": "string"
  42630. },
  42631. "audituserid": {
  42632. "description": "审核人",
  42633. "type": "integer"
  42634. },
  42635. "broker": {
  42636. "description": "所属经纪人ID",
  42637. "type": "integer"
  42638. },
  42639. "canceltime": {
  42640. "description": "销户时间",
  42641. "type": "string"
  42642. },
  42643. "canceluserid": {
  42644. "description": "销户人",
  42645. "type": "integer"
  42646. },
  42647. "canrecommend": {
  42648. "description": "是否可推荐 - 0:不可 1;可",
  42649. "type": "integer"
  42650. },
  42651. "createtime": {
  42652. "description": "创建时间",
  42653. "type": "string"
  42654. },
  42655. "creatorid": {
  42656. "description": "创建人",
  42657. "type": "integer"
  42658. },
  42659. "curscore": {
  42660. "description": "积分",
  42661. "type": "integer"
  42662. },
  42663. "hasauth": {
  42664. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  42665. "type": "integer"
  42666. },
  42667. "isanonymous": {
  42668. "description": "是否匿名下单 - 0:否 1:是",
  42669. "type": "integer"
  42670. },
  42671. "issigned": {
  42672. "description": "今日是否已签到",
  42673. "type": "boolean"
  42674. },
  42675. "maxinvestornum": {
  42676. "description": "最大用户数(经纪会员下投资者个数)",
  42677. "type": "integer"
  42678. },
  42679. "memberuserid": {
  42680. "description": "所属会员ID",
  42681. "type": "integer"
  42682. },
  42683. "modifierid": {
  42684. "description": "修改人",
  42685. "type": "integer"
  42686. },
  42687. "modifyremark": {
  42688. "description": "变更备注",
  42689. "type": "string"
  42690. },
  42691. "modifystatus": {
  42692. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  42693. "type": "integer"
  42694. },
  42695. "modifytime": {
  42696. "description": "修改时间",
  42697. "type": "string"
  42698. },
  42699. "parenttopuser": {
  42700. "description": "上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的\"ParentTopUser\"]",
  42701. "type": "string"
  42702. },
  42703. "parentuserid": {
  42704. "description": "所属机构ID",
  42705. "type": "integer"
  42706. },
  42707. "reckonaccountid": {
  42708. "description": "默认结算资金账号ID(机构分润使用) 作废",
  42709. "type": "integer"
  42710. },
  42711. "refercount": {
  42712. "description": "推荐总人数",
  42713. "type": "integer"
  42714. },
  42715. "refereeuserid": {
  42716. "description": "推荐人ID",
  42717. "type": "integer"
  42718. },
  42719. "refernum": {
  42720. "description": "推荐码",
  42721. "type": "string"
  42722. },
  42723. "rootuserid": {
  42724. "description": "根用户ID",
  42725. "type": "integer"
  42726. },
  42727. "subaccountlevel": {
  42728. "description": "子账户层数",
  42729. "type": "integer"
  42730. },
  42731. "subarealevelpath": {
  42732. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  42733. "type": "string"
  42734. },
  42735. "todayrefercount": {
  42736. "description": "今日推荐人数",
  42737. "type": "integer"
  42738. },
  42739. "userid": {
  42740. "description": "用户ID",
  42741. "type": "integer"
  42742. },
  42743. "usertype": {
  42744. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  42745. "type": "integer"
  42746. }
  42747. }
  42748. },
  42749. "models.Userfavoritegoods": {
  42750. "type": "object",
  42751. "required": [
  42752. "goodsid"
  42753. ],
  42754. "properties": {
  42755. "goodsid": {
  42756. "description": "商品ID",
  42757. "type": "integer"
  42758. }
  42759. }
  42760. },
  42761. "models.Userinfo": {
  42762. "type": "object",
  42763. "required": [
  42764. "userid"
  42765. ],
  42766. "properties": {
  42767. "address": {
  42768. "description": "地址",
  42769. "type": "string"
  42770. },
  42771. "attachment1": {
  42772. "description": "附件1",
  42773. "type": "string"
  42774. },
  42775. "attachment2": {
  42776. "description": "附件2",
  42777. "type": "string"
  42778. },
  42779. "bankaccount": {
  42780. "description": "银行帐号 (加密存储)",
  42781. "type": "string"
  42782. },
  42783. "bankaccountname": {
  42784. "description": "收款人名称",
  42785. "type": "string"
  42786. },
  42787. "bankcardfrontphotourl": {
  42788. "description": "银行卡正面照地址",
  42789. "type": "string"
  42790. },
  42791. "bankid": {
  42792. "description": "银行编码",
  42793. "type": "string"
  42794. },
  42795. "bankname": {
  42796. "description": "银行名称",
  42797. "type": "string"
  42798. },
  42799. "biznature": {
  42800. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  42801. "type": "integer"
  42802. },
  42803. "bizscope": {
  42804. "description": "企业经营范围(企业)",
  42805. "type": "string"
  42806. },
  42807. "cardbackphotourl": {
  42808. "description": "证件背面图片地址",
  42809. "type": "string"
  42810. },
  42811. "cardfrontphotourl": {
  42812. "description": "证件正面图片地址",
  42813. "type": "string"
  42814. },
  42815. "cardnum": {
  42816. "description": "证件号码(加密存储)",
  42817. "type": "string"
  42818. },
  42819. "cardtypeid": {
  42820. "description": "证件类型ID",
  42821. "type": "integer"
  42822. },
  42823. "cityid": {
  42824. "description": "市",
  42825. "type": "integer"
  42826. },
  42827. "company": {
  42828. "description": "公司(个人)",
  42829. "type": "string"
  42830. },
  42831. "contactname": {
  42832. "description": "联系人",
  42833. "type": "string"
  42834. },
  42835. "countryid": {
  42836. "description": "国家",
  42837. "type": "integer"
  42838. },
  42839. "createtime": {
  42840. "description": "创建时间",
  42841. "type": "string"
  42842. },
  42843. "creatorid": {
  42844. "description": "创建人",
  42845. "type": "integer"
  42846. },
  42847. "customername": {
  42848. "description": "客户名称(企业名称)",
  42849. "type": "string"
  42850. },
  42851. "districtid": {
  42852. "description": "地区",
  42853. "type": "integer"
  42854. },
  42855. "email": {
  42856. "description": "邮件(加密存储)",
  42857. "type": "string"
  42858. },
  42859. "fax": {
  42860. "description": "传真(加密存储)",
  42861. "type": "string"
  42862. },
  42863. "halfbodyphotourl": {
  42864. "description": "半身照地址",
  42865. "type": "string"
  42866. },
  42867. "hasencrypt": {
  42868. "description": "数据是否已加密 - 0:未加密 1:已加密",
  42869. "type": "integer"
  42870. },
  42871. "headurl": {
  42872. "description": "头像地址",
  42873. "type": "string"
  42874. },
  42875. "legalcardbackphotourl": {
  42876. "description": "法人身份证背面照地址",
  42877. "type": "string"
  42878. },
  42879. "legalcardfrontphotourl": {
  42880. "description": "法人身份证正面照地址",
  42881. "type": "string"
  42882. },
  42883. "legalpersonname": {
  42884. "description": "法人姓名(企业)",
  42885. "type": "string"
  42886. },
  42887. "mobile": {
  42888. "description": "手机号码(加密存储)",
  42889. "type": "string"
  42890. },
  42891. "mobile2": {
  42892. "description": "手机号码[明文-尚志]",
  42893. "type": "string"
  42894. },
  42895. "modifierid": {
  42896. "description": "修改人",
  42897. "type": "integer"
  42898. },
  42899. "modifiertime": {
  42900. "description": "修改时间",
  42901. "type": "string"
  42902. },
  42903. "needinvoice": {
  42904. "description": "是否需要发票 - 0:不需要 1:需要",
  42905. "type": "integer"
  42906. },
  42907. "nickname": {
  42908. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  42909. "type": "string"
  42910. },
  42911. "openmode": {
  42912. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  42913. "type": "integer"
  42914. },
  42915. "otherurl": {
  42916. "description": "其它图片地址[使用分号分隔]",
  42917. "type": "string"
  42918. },
  42919. "postalcode": {
  42920. "description": "邮政编码",
  42921. "type": "string"
  42922. },
  42923. "provinceid": {
  42924. "description": "省",
  42925. "type": "integer"
  42926. },
  42927. "qq": {
  42928. "description": "QQ(加密存储",
  42929. "type": "string"
  42930. },
  42931. "remark": {
  42932. "description": "备注",
  42933. "type": "string"
  42934. },
  42935. "sex": {
  42936. "description": "用户性别 0: 女 1: 男",
  42937. "type": "integer"
  42938. },
  42939. "signpdfurl": {
  42940. "description": "签约pdf文件",
  42941. "type": "string"
  42942. },
  42943. "telphone": {
  42944. "description": "联系电话(加密存储)",
  42945. "type": "string"
  42946. },
  42947. "userid": {
  42948. "description": "用户ID",
  42949. "type": "integer"
  42950. },
  42951. "userinfotype": {
  42952. "description": "用户信息类型 - 1:个人 2:企业",
  42953. "type": "integer"
  42954. },
  42955. "userstatus": {
  42956. "description": "用户状态 - 1:正常 2:注销",
  42957. "type": "integer"
  42958. },
  42959. "usertype": {
  42960. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  42961. "type": "integer"
  42962. },
  42963. "wechat": {
  42964. "description": "微信(加密存储)",
  42965. "type": "string"
  42966. },
  42967. "wskhinfo": {
  42968. "description": "开户申请信息(JSON)",
  42969. "type": "string"
  42970. }
  42971. }
  42972. },
  42973. "models.WRPositionReport": {
  42974. "type": "object",
  42975. "properties": {
  42976. "accountid": {
  42977. "description": "帐户ID",
  42978. "type": "integer"
  42979. },
  42980. "brandid": {
  42981. "description": "品牌ID(1交割品种升贴水参数表 AutoID) - 作废",
  42982. "type": "integer"
  42983. },
  42984. "buylistinglot": {
  42985. "description": "买挂牌宗数",
  42986. "type": "integer"
  42987. },
  42988. "buytradeamount": {
  42989. "description": "购买金额",
  42990. "type": "number"
  42991. },
  42992. "buytradelot": {
  42993. "description": "购买宗数",
  42994. "type": "integer"
  42995. },
  42996. "buytradeqty": {
  42997. "description": "购买数量",
  42998. "type": "number"
  42999. },
  43000. "creditcurqty": {
  43001. "description": "授信当前数量",
  43002. "type": "integer"
  43003. },
  43004. "creditfreezeqty": {
  43005. "description": "授信冻结数量",
  43006. "type": "integer"
  43007. },
  43008. "credittotalqty": {
  43009. "description": "授信总数量",
  43010. "type": "integer"
  43011. },
  43012. "credittradeqty": {
  43013. "description": "授信成交数量",
  43014. "type": "integer"
  43015. },
  43016. "decreaseqty": {
  43017. "description": "今日减少数量",
  43018. "type": "integer"
  43019. },
  43020. "deliverygoodsid": {
  43021. "description": "交割商品ID",
  43022. "type": "integer"
  43023. },
  43024. "deliverymonthid": {
  43025. "description": "月份ID(1交割品种升贴水参数表 AutoID) - 作废",
  43026. "type": "integer"
  43027. },
  43028. "freezeqty": {
  43029. "description": "总冻结数量",
  43030. "type": "integer"
  43031. },
  43032. "increaseqty": {
  43033. "description": "今日增加数量",
  43034. "type": "integer"
  43035. },
  43036. "marketvalue": {
  43037. "description": "市值",
  43038. "type": "number"
  43039. },
  43040. "pickupqty": {
  43041. "description": "今日提货数量",
  43042. "type": "integer"
  43043. },
  43044. "qualityid": {
  43045. "description": "品质ID(1交割品种升贴水参数表 AutoID) - 作废",
  43046. "type": "integer"
  43047. },
  43048. "reckondate": {
  43049. "description": "日照时期(yyyyMMdd)",
  43050. "type": "string"
  43051. },
  43052. "relatedqty": {
  43053. "description": "关联数量",
  43054. "type": "integer"
  43055. },
  43056. "selllistingamount": {
  43057. "description": "卖挂牌金额",
  43058. "type": "number"
  43059. },
  43060. "selllistinglot": {
  43061. "description": "卖挂牌宗数",
  43062. "type": "integer"
  43063. },
  43064. "selllistingqty": {
  43065. "description": "卖挂牌数量",
  43066. "type": "number"
  43067. },
  43068. "selltradeamount": {
  43069. "description": "销售金额",
  43070. "type": "number"
  43071. },
  43072. "selltradelot": {
  43073. "description": "销售宗数",
  43074. "type": "integer"
  43075. },
  43076. "selltradeqty": {
  43077. "description": "销售数量",
  43078. "type": "number"
  43079. },
  43080. "specid": {
  43081. "description": "规格ID(1交割品种升贴水参数表 AutoID) - 作废",
  43082. "type": "integer"
  43083. },
  43084. "totalprice": {
  43085. "description": "销售金额(¥)",
  43086. "type": "number"
  43087. },
  43088. "totalqty": {
  43089. "description": "总数量",
  43090. "type": "integer"
  43091. },
  43092. "totalweight": {
  43093. "description": "销售重量(ct)",
  43094. "type": "number"
  43095. },
  43096. "tradewrqty": {
  43097. "description": "订单仓单头寸总数量",
  43098. "type": "integer"
  43099. },
  43100. "transfertradewrqty": {
  43101. "description": "今日转订单数量",
  43102. "type": "integer"
  43103. },
  43104. "warehouseid": {
  43105. "description": "仓库ID(1交割品种升贴水参数表 AutoID) - 作废",
  43106. "type": "integer"
  43107. },
  43108. "wrfactortypeid": {
  43109. "description": "仓单要素类型ID",
  43110. "type": "integer"
  43111. },
  43112. "wrpositionid": {
  43113. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  43114. "type": "integer"
  43115. },
  43116. "wrstandardcode": {
  43117. "description": "现货商品代码",
  43118. "type": "string"
  43119. },
  43120. "wrstandardid": {
  43121. "description": "现货商品ID",
  43122. "type": "integer"
  43123. },
  43124. "wruserid": {
  43125. "description": "持有人ID",
  43126. "type": "integer"
  43127. },
  43128. "zscategory": {
  43129. "description": "商品分类",
  43130. "type": "integer"
  43131. },
  43132. "zscategorydisplay": {
  43133. "type": "string"
  43134. },
  43135. "zscurrencytype": {
  43136. "description": "商品币种",
  43137. "type": "integer"
  43138. },
  43139. "zscurrencytypedisplay": {
  43140. "type": "string"
  43141. },
  43142. "zscurrencytypedisplayunit": {
  43143. "type": "string"
  43144. }
  43145. }
  43146. },
  43147. "models.WRSConverTDetail": {
  43148. "type": "object",
  43149. "properties": {
  43150. "convertratio": {
  43151. "description": "套保系数",
  43152. "type": "number"
  43153. },
  43154. "deliverygoodscode": {
  43155. "description": "现货商品代码",
  43156. "type": "string"
  43157. },
  43158. "deliverygoodsid": {
  43159. "description": "现货品种ID",
  43160. "type": "integer"
  43161. },
  43162. "deliverygoodsname": {
  43163. "description": "现货商品名称",
  43164. "type": "string"
  43165. },
  43166. "enumdicname": {
  43167. "description": "单位名称",
  43168. "type": "string"
  43169. },
  43170. "goodsunitid": {
  43171. "description": "套保品种单位id",
  43172. "type": "integer"
  43173. },
  43174. "middlegoodscode": {
  43175. "description": "套保品种代码",
  43176. "type": "string"
  43177. },
  43178. "middlegoodsid": {
  43179. "description": "套保品种ID",
  43180. "type": "integer"
  43181. },
  43182. "middlegoodsname": {
  43183. "description": "套保品种名称",
  43184. "type": "string"
  43185. },
  43186. "modifytime": {
  43187. "description": "修改时间",
  43188. "type": "string"
  43189. },
  43190. "wrstandardid": {
  43191. "description": "品类ID",
  43192. "type": "integer"
  43193. }
  43194. }
  43195. },
  43196. "models.WRStandardInfo": {
  43197. "type": "object",
  43198. "required": [
  43199. "wrstandardid"
  43200. ],
  43201. "properties": {
  43202. "areauserid": {
  43203. "description": "所属机构",
  43204. "type": "integer"
  43205. },
  43206. "convertfactor": {
  43207. "description": "标仓系数",
  43208. "type": "number"
  43209. },
  43210. "createtime": {
  43211. "description": "创建时间",
  43212. "type": "string"
  43213. },
  43214. "creatorid": {
  43215. "description": "创建人",
  43216. "type": "integer"
  43217. },
  43218. "deliverygoodsid": {
  43219. "description": "品种ID",
  43220. "type": "integer"
  43221. },
  43222. "deliverygoodsname": {
  43223. "description": "交割商品名称",
  43224. "type": "string"
  43225. },
  43226. "factoryitemjson": {
  43227. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  43228. "type": "string"
  43229. },
  43230. "isvalid": {
  43231. "description": "是否有效 - 0:无效 1:有效",
  43232. "type": "integer"
  43233. },
  43234. "minivalue": {
  43235. "description": "最小变动值",
  43236. "type": "integer"
  43237. },
  43238. "minivaluedp": {
  43239. "description": "最小变动值小数位",
  43240. "type": "integer"
  43241. },
  43242. "realminivalue": {
  43243. "description": "实际最小变动值",
  43244. "type": "integer"
  43245. },
  43246. "realminivaluedp": {
  43247. "description": "实际最小变动值小数位",
  43248. "type": "integer"
  43249. },
  43250. "remark": {
  43251. "description": "备注",
  43252. "type": "string"
  43253. },
  43254. "unitid": {
  43255. "description": "单位ID",
  43256. "type": "integer"
  43257. },
  43258. "unitname": {
  43259. "description": "单位",
  43260. "type": "string"
  43261. },
  43262. "updatetime": {
  43263. "description": "更新时间",
  43264. "type": "string"
  43265. },
  43266. "updatorid": {
  43267. "description": "更新人",
  43268. "type": "integer"
  43269. },
  43270. "wrsstatus": {
  43271. "description": "状态 - 作废 - 0:未激活 1:正常",
  43272. "type": "integer"
  43273. },
  43274. "wrstandardcode": {
  43275. "description": "现货品类代码",
  43276. "type": "string"
  43277. },
  43278. "wrstandardid": {
  43279. "description": "现货品类ID(SEQ_WRSTANDARD)",
  43280. "type": "integer"
  43281. },
  43282. "wrstandardname": {
  43283. "description": "现货品类名称",
  43284. "type": "string"
  43285. }
  43286. }
  43287. },
  43288. "models.WRTradeBargainApply": {
  43289. "type": "object",
  43290. "properties": {
  43291. "accountid": {
  43292. "description": "摘牌资金账号",
  43293. "type": "integer"
  43294. },
  43295. "applyprice": {
  43296. "description": "申请价格(议价价格)",
  43297. "type": "string"
  43298. },
  43299. "applyqty": {
  43300. "description": "摘牌数量(议价数量)",
  43301. "type": "number"
  43302. },
  43303. "applyremark": {
  43304. "description": "申请备注",
  43305. "type": "string"
  43306. },
  43307. "applystatus": {
  43308. "description": "申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中",
  43309. "type": "integer"
  43310. },
  43311. "applytime": {
  43312. "description": "申请时间(议价时间)",
  43313. "type": "string"
  43314. },
  43315. "begindate": {
  43316. "description": "开始交易日(yyyymmdd)",
  43317. "type": "string"
  43318. },
  43319. "buyorsell": {
  43320. "description": "买卖(挂牌类型) - 0:买 1:卖",
  43321. "type": "integer"
  43322. },
  43323. "confirmremark": {
  43324. "description": "确认备注",
  43325. "type": "string"
  43326. },
  43327. "confirmtime": {
  43328. "description": "确认时间",
  43329. "type": "string"
  43330. },
  43331. "confirmuserid": {
  43332. "description": "确认人",
  43333. "type": "integer"
  43334. },
  43335. "deliverygoodscode": {
  43336. "description": "品种代码",
  43337. "type": "string"
  43338. },
  43339. "deliverygoodsid": {
  43340. "description": "品种ID",
  43341. "type": "integer"
  43342. },
  43343. "deliverygoodsname": {
  43344. "description": "品种名称",
  43345. "type": "string"
  43346. },
  43347. "deliverymonth": {
  43348. "description": "交收月",
  43349. "type": "string"
  43350. },
  43351. "enddate": {
  43352. "description": "结束交易日(yyyymmdd)",
  43353. "type": "string"
  43354. },
  43355. "enumdicname": {
  43356. "description": "单位名称",
  43357. "type": "string"
  43358. },
  43359. "fixedprice": {
  43360. "description": "期初均价",
  43361. "type": "number"
  43362. },
  43363. "handlestatus": {
  43364. "description": "处理状态",
  43365. "type": "integer"
  43366. },
  43367. "marginvalue": {
  43368. "description": "期初均价",
  43369. "type": "number"
  43370. },
  43371. "marketid": {
  43372. "description": "市场ID",
  43373. "type": "integer"
  43374. },
  43375. "matchaccountid": {
  43376. "description": "挂牌方资金账号",
  43377. "type": "integer"
  43378. },
  43379. "matchuserid": {
  43380. "description": "挂牌方用户id",
  43381. "type": "integer"
  43382. },
  43383. "matchusername": {
  43384. "description": "挂牌方用户名称(已脱敏)",
  43385. "type": "string"
  43386. },
  43387. "minivalue": {
  43388. "description": "现货商品最小变动值",
  43389. "type": "integer"
  43390. },
  43391. "optioncompare": {
  43392. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  43393. "type": "string"
  43394. },
  43395. "orderqty": {
  43396. "description": "挂牌数量",
  43397. "type": "integer"
  43398. },
  43399. "refprice": {
  43400. "description": "参考价格",
  43401. "type": "string"
  43402. },
  43403. "retcode": {
  43404. "description": "委托返回代码",
  43405. "type": "integer"
  43406. },
  43407. "templatename": {
  43408. "description": "履约方式(履约模板名称)",
  43409. "type": "string"
  43410. },
  43411. "tradedate": {
  43412. "description": "交易日(yyyyMMdd)",
  43413. "type": "string"
  43414. },
  43415. "userid": {
  43416. "description": "摘牌人用户ID(议价人ID)",
  43417. "type": "integer"
  43418. },
  43419. "username": {
  43420. "description": "议价人名字(已脱敏)",
  43421. "type": "string"
  43422. },
  43423. "validtime": {
  43424. "description": "有效期限",
  43425. "type": "string"
  43426. },
  43427. "warehouseid": {
  43428. "description": "仓库ID",
  43429. "type": "integer"
  43430. },
  43431. "warehousename": {
  43432. "description": "仓库名称",
  43433. "type": "string"
  43434. },
  43435. "wrbargainid": {
  43436. "description": "议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)",
  43437. "type": "string"
  43438. },
  43439. "wrfactortypeid": {
  43440. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  43441. "type": "string"
  43442. },
  43443. "wrfactortypename": {
  43444. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  43445. "type": "string"
  43446. },
  43447. "wrstandardcode": {
  43448. "description": "现货商品代码",
  43449. "type": "string"
  43450. },
  43451. "wrstandardid": {
  43452. "description": "现货商品ID",
  43453. "type": "integer"
  43454. },
  43455. "wrstandardname": {
  43456. "description": "商品名称",
  43457. "type": "string"
  43458. },
  43459. "wrtradeorderid": {
  43460. "description": "关联委托单ID",
  43461. "type": "string"
  43462. },
  43463. "wrtypename": {
  43464. "description": "商品",
  43465. "type": "string"
  43466. }
  43467. }
  43468. },
  43469. "models.Warehouseinfo": {
  43470. "type": "object",
  43471. "required": [
  43472. "autoid",
  43473. "warehousecode"
  43474. ],
  43475. "properties": {
  43476. "address": {
  43477. "description": "详细地址",
  43478. "type": "string"
  43479. },
  43480. "areauserid": {
  43481. "description": "所属机构",
  43482. "type": "integer"
  43483. },
  43484. "autoid": {
  43485. "description": "自增ID",
  43486. "type": "integer"
  43487. },
  43488. "cityid": {
  43489. "description": "市",
  43490. "type": "integer"
  43491. },
  43492. "contactname": {
  43493. "description": "联系人",
  43494. "type": "string"
  43495. },
  43496. "contactnum": {
  43497. "description": "联系电话",
  43498. "type": "string"
  43499. },
  43500. "countryid": {
  43501. "description": "国家",
  43502. "type": "integer"
  43503. },
  43504. "createtime": {
  43505. "description": "创建时间",
  43506. "type": "string"
  43507. },
  43508. "districtid": {
  43509. "description": "区",
  43510. "type": "integer"
  43511. },
  43512. "hasvideo": {
  43513. "description": "是否有视频 - 0:无 1:有",
  43514. "type": "integer"
  43515. },
  43516. "provinceid": {
  43517. "description": "省",
  43518. "type": "integer"
  43519. },
  43520. "remark": {
  43521. "description": "审核备注",
  43522. "type": "string"
  43523. },
  43524. "videourl": {
  43525. "description": "视频地址",
  43526. "type": "string"
  43527. },
  43528. "warehousecode": {
  43529. "description": "仓库代码",
  43530. "type": "string"
  43531. },
  43532. "warehousename": {
  43533. "description": "仓库名称",
  43534. "type": "string"
  43535. },
  43536. "warehousestatus": {
  43537. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  43538. "type": "integer"
  43539. },
  43540. "warehousetype": {
  43541. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  43542. "type": "integer"
  43543. }
  43544. }
  43545. },
  43546. "models.WrAverageTradePrice": {
  43547. "type": "object",
  43548. "properties": {
  43549. "averageprice": {
  43550. "description": "期初均价",
  43551. "type": "number"
  43552. },
  43553. "tradedate": {
  43554. "description": "交易日yyyymm",
  43555. "type": "string"
  43556. }
  43557. }
  43558. },
  43559. "models.WrBrandAndYears": {
  43560. "type": "object",
  43561. "properties": {
  43562. "brandlst": {
  43563. "description": "品牌列表",
  43564. "type": "array",
  43565. "items": {
  43566. "$ref": "#/definitions/models.DgFactoryItem"
  43567. }
  43568. },
  43569. "yearslst": {
  43570. "description": "年份列表",
  43571. "type": "array",
  43572. "items": {
  43573. "$ref": "#/definitions/models.DgFactoryItem"
  43574. }
  43575. }
  43576. }
  43577. },
  43578. "models.WrBsGoodsInfo": {
  43579. "type": "object",
  43580. "properties": {
  43581. "buyorsell": {
  43582. "description": "买卖方向 0-买 1-卖",
  43583. "type": "integer"
  43584. },
  43585. "goodsid": {
  43586. "description": "交易合约ID",
  43587. "type": "integer"
  43588. },
  43589. "lstitem": {
  43590. "description": "商品信息项",
  43591. "type": "array",
  43592. "items": {
  43593. "$ref": "#/definitions/models.WrTypeItem"
  43594. }
  43595. },
  43596. "lststep": {
  43597. "description": "履约规则",
  43598. "type": "array",
  43599. "items": {
  43600. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  43601. }
  43602. }
  43603. }
  43604. },
  43605. "models.WrBuybackDetail": {
  43606. "type": "object",
  43607. "properties": {
  43608. "buybackamount": {
  43609. "description": "回购金额",
  43610. "type": "number"
  43611. },
  43612. "buybackqty": {
  43613. "description": "回购数量",
  43614. "type": "number"
  43615. },
  43616. "buybackreleasemargin": {
  43617. "description": "回购释放保证金",
  43618. "type": "number"
  43619. },
  43620. "buybacktime": {
  43621. "description": "回购时间",
  43622. "type": "string"
  43623. },
  43624. "errordesc": {
  43625. "description": "错误描述",
  43626. "type": "string"
  43627. },
  43628. "handlestatus": {
  43629. "description": "处理 - 1:待处理 2:处理成功 3:处理失败",
  43630. "type": "integer"
  43631. },
  43632. "relatedwrid": {
  43633. "description": "关联仓单ID",
  43634. "type": "integer"
  43635. },
  43636. "scfcontractid": {
  43637. "description": "SCF合同ID",
  43638. "type": "string"
  43639. },
  43640. "scfwrbuybackid": {
  43641. "description": "SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)",
  43642. "type": "integer"
  43643. },
  43644. "tradedate": {
  43645. "description": "交易日(yyyyMMdd)",
  43646. "type": "string"
  43647. }
  43648. }
  43649. },
  43650. "models.WrClientAdSpaceConfig": {
  43651. "type": "object",
  43652. "properties": {
  43653. "adspaceid": {
  43654. "description": "广告位ID",
  43655. "type": "integer"
  43656. },
  43657. "adspacename": {
  43658. "description": "广告位名称",
  43659. "type": "string"
  43660. },
  43661. "adspacetype": {
  43662. "description": "广告位类型 - 1:固定广告位",
  43663. "type": "integer"
  43664. },
  43665. "areauserid": {
  43666. "description": "所属机构ID",
  43667. "type": "integer"
  43668. },
  43669. "createdate": {
  43670. "description": "创建时间",
  43671. "type": "string"
  43672. },
  43673. "imagepath": {
  43674. "description": "图片",
  43675. "type": "string"
  43676. },
  43677. "modifierid": {
  43678. "description": "操作人",
  43679. "type": "integer"
  43680. },
  43681. "recsize": {
  43682. "description": "推荐尺寸",
  43683. "type": "string"
  43684. },
  43685. "title": {
  43686. "description": "标题",
  43687. "type": "string"
  43688. },
  43689. "updatedate": {
  43690. "description": "更新时间",
  43691. "type": "string"
  43692. },
  43693. "urlcontent": {
  43694. "description": "链接(地址\\商品ID\\功能菜单Key\\appid)",
  43695. "type": "string"
  43696. },
  43697. "urltype": {
  43698. "description": "链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序",
  43699. "type": "integer"
  43700. }
  43701. }
  43702. },
  43703. "models.WrDeliveryAvalidHoldLB": {
  43704. "type": "object",
  43705. "properties": {
  43706. "accountid": {
  43707. "description": "资金账号",
  43708. "type": "integer"
  43709. },
  43710. "avalidqty": {
  43711. "description": "数量(可点选数量)",
  43712. "type": "number"
  43713. },
  43714. "deliverygoodsid": {
  43715. "description": "品种id",
  43716. "type": "integer"
  43717. },
  43718. "enumdicname": {
  43719. "description": "单位名称",
  43720. "type": "string"
  43721. },
  43722. "goodsid": {
  43723. "description": "x合约商品id",
  43724. "type": "integer"
  43725. },
  43726. "ladingbillid": {
  43727. "description": "提单id",
  43728. "type": "string"
  43729. },
  43730. "pgoodscode": {
  43731. "description": "p商品代码(点价合约)",
  43732. "type": "string"
  43733. },
  43734. "pgoodsid": {
  43735. "description": "p商品id(点价合约)",
  43736. "type": "integer"
  43737. },
  43738. "pgoodsname": {
  43739. "description": "p商品名称(点价合约)",
  43740. "type": "string"
  43741. },
  43742. "pricemove": {
  43743. "description": "升贴水",
  43744. "type": "number"
  43745. },
  43746. "subnum": {
  43747. "description": "提单子id",
  43748. "type": "integer"
  43749. },
  43750. "userid": {
  43751. "description": "用户id",
  43752. "type": "integer"
  43753. },
  43754. "username": {
  43755. "description": "仓单持有人",
  43756. "type": "string"
  43757. },
  43758. "warehousecode": {
  43759. "description": "仓库代码",
  43760. "type": "string"
  43761. },
  43762. "warehouseid": {
  43763. "description": "仓库id",
  43764. "type": "integer"
  43765. },
  43766. "warehousename": {
  43767. "description": "仓库名称",
  43768. "type": "string"
  43769. },
  43770. "wrfactortypeid": {
  43771. "description": "仓单要素id",
  43772. "type": "string"
  43773. },
  43774. "wrstandardcode": {
  43775. "description": "品代码",
  43776. "type": "string"
  43777. },
  43778. "wrstandardid": {
  43779. "description": "品类d",
  43780. "type": "integer"
  43781. },
  43782. "wrstandardname": {
  43783. "description": "品类名称",
  43784. "type": "string"
  43785. },
  43786. "wrtypename": {
  43787. "description": "商品",
  43788. "type": "string"
  43789. },
  43790. "xgoodscode": {
  43791. "description": "x合约代码",
  43792. "type": "string"
  43793. },
  43794. "xgoodsname": {
  43795. "description": "x合约名称",
  43796. "type": "string"
  43797. }
  43798. }
  43799. },
  43800. "models.WrDeliveryDetail": {
  43801. "type": "object",
  43802. "properties": {
  43803. "accountid": {
  43804. "description": "账号ID",
  43805. "type": "integer"
  43806. },
  43807. "averageprice": {
  43808. "description": "期初均价",
  43809. "type": "number"
  43810. },
  43811. "begindate": {
  43812. "description": "开始交易日(yyyymmdd)",
  43813. "type": "string"
  43814. },
  43815. "buyorsell": {
  43816. "description": "方向 - 0:买 1:卖",
  43817. "type": "integer"
  43818. },
  43819. "deliveryamount": {
  43820. "description": "货款金额(X总货款+P总货款)",
  43821. "type": "number"
  43822. },
  43823. "deliveryid": {
  43824. "description": "交割单号(121+Unix秒时间戳(10位)+xxxxxx)",
  43825. "type": "string"
  43826. },
  43827. "deliveryorderid": {
  43828. "description": "申报单号",
  43829. "type": "string"
  43830. },
  43831. "deliverypricemove": {
  43832. "description": "升贴水(升贴水总额)",
  43833. "type": "number"
  43834. },
  43835. "deliveryqty": {
  43836. "description": "交收数量(点选数量)",
  43837. "type": "number"
  43838. },
  43839. "deliverystatus": {
  43840. "description": "状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成",
  43841. "type": "integer"
  43842. },
  43843. "deliverytime": {
  43844. "description": "交割时间",
  43845. "type": "string"
  43846. },
  43847. "deliverytotalamount": {
  43848. "description": "交收金额",
  43849. "type": "number"
  43850. },
  43851. "enddate": {
  43852. "description": "结束交易日(yyyymmdd)",
  43853. "type": "string"
  43854. },
  43855. "enumdicname": {
  43856. "description": "单位名称",
  43857. "type": "string"
  43858. },
  43859. "matchaccountid": {
  43860. "description": "对手账号ID",
  43861. "type": "integer"
  43862. },
  43863. "matchusername": {
  43864. "description": "对手方名称(仓单持有人)",
  43865. "type": "string"
  43866. },
  43867. "p1goodsremainamount": {
  43868. "description": "点价货款 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  43869. "type": "number"
  43870. },
  43871. "pdeliverycloseqty": {
  43872. "description": "p合约平仓数量",
  43873. "type": "number"
  43874. },
  43875. "pdeliveryprice": {
  43876. "description": "点价价格 ps:当PPRICEMODE=2时, 界面需显示\"-\"",
  43877. "type": "number"
  43878. },
  43879. "pgoodscode": {
  43880. "description": "商品代码",
  43881. "type": "string"
  43882. },
  43883. "pgoodsid": {
  43884. "description": "p点选合约id",
  43885. "type": "integer"
  43886. },
  43887. "pgoodsname": {
  43888. "description": "商品名称",
  43889. "type": "string"
  43890. },
  43891. "ppricemode": {
  43892. "description": "点价价格方式 - 1:商品价 2:固定值",
  43893. "type": "integer"
  43894. },
  43895. "tradedate": {
  43896. "description": "交易日(yyyymmdd)",
  43897. "type": "string"
  43898. },
  43899. "userid": {
  43900. "description": "用户id",
  43901. "type": "integer"
  43902. },
  43903. "username": {
  43904. "description": "用户名称",
  43905. "type": "string"
  43906. },
  43907. "warehousename": {
  43908. "description": "仓库名称",
  43909. "type": "string"
  43910. },
  43911. "wrfactortypeid": {
  43912. "description": "仓单要素类型ID",
  43913. "type": "string"
  43914. },
  43915. "wrtypename": {
  43916. "description": "商品",
  43917. "type": "string"
  43918. },
  43919. "xdeliverycloseqty": {
  43920. "description": "合约数量",
  43921. "type": "number"
  43922. },
  43923. "xgoodsamount": {
  43924. "description": "期初均价",
  43925. "type": "number"
  43926. },
  43927. "xgoodscode": {
  43928. "description": "商品代码",
  43929. "type": "string"
  43930. },
  43931. "xgoodsid": {
  43932. "description": "x交易合约ID",
  43933. "type": "integer"
  43934. },
  43935. "xgoodsname": {
  43936. "description": "商品名称",
  43937. "type": "string"
  43938. }
  43939. }
  43940. },
  43941. "models.WrDeliveryGoodsSection": {
  43942. "type": "object",
  43943. "properties": {
  43944. "dglst": {
  43945. "description": "板块商品列表",
  43946. "type": "array",
  43947. "items": {
  43948. "$ref": "#/definitions/models.WrDeliveryGoodsSectionConfig"
  43949. }
  43950. },
  43951. "imagepath": {
  43952. "description": "图片地址",
  43953. "type": "string"
  43954. },
  43955. "orderindex": {
  43956. "description": "排序",
  43957. "type": "integer"
  43958. },
  43959. "sectionid": {
  43960. "description": "版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数",
  43961. "type": "integer"
  43962. },
  43963. "sectionname": {
  43964. "description": "版块名称",
  43965. "type": "string"
  43966. },
  43967. "sectiontype": {
  43968. "description": "版块类型 - 1:指数版块 2:普通版块",
  43969. "type": "integer"
  43970. }
  43971. }
  43972. },
  43973. "models.WrDeliveryGoodsSectionConfig": {
  43974. "type": "object",
  43975. "properties": {
  43976. "deliverygoodscode": {
  43977. "description": "现货商品代码",
  43978. "type": "string"
  43979. },
  43980. "deliverygoodsid": {
  43981. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  43982. "type": "integer"
  43983. },
  43984. "deliverygoodsname": {
  43985. "description": "现货商品名称",
  43986. "type": "string"
  43987. },
  43988. "orderindex": {
  43989. "description": "排序",
  43990. "type": "integer"
  43991. }
  43992. }
  43993. },
  43994. "models.WrDraftUserInfo": {
  43995. "type": "object",
  43996. "properties": {
  43997. "address": {
  43998. "description": "地址",
  43999. "type": "string"
  44000. },
  44001. "attachment1": {
  44002. "description": "附件1",
  44003. "type": "string"
  44004. },
  44005. "attachment2": {
  44006. "description": "附件2",
  44007. "type": "string"
  44008. },
  44009. "attachment3": {
  44010. "description": "附件3",
  44011. "type": "string"
  44012. },
  44013. "attachment4": {
  44014. "description": "附件4",
  44015. "type": "string"
  44016. },
  44017. "attachment5": {
  44018. "description": "附件5",
  44019. "type": "string"
  44020. },
  44021. "bankaccount": {
  44022. "description": "银行帐号 (加密存储)",
  44023. "type": "string"
  44024. },
  44025. "bankaccountname": {
  44026. "description": "收款人名称",
  44027. "type": "string"
  44028. },
  44029. "bankcardfrontphotourl": {
  44030. "description": "银行卡正面照地址",
  44031. "type": "string"
  44032. },
  44033. "bankid": {
  44034. "description": "银行编码",
  44035. "type": "string"
  44036. },
  44037. "bankname": {
  44038. "description": "银行名称",
  44039. "type": "string"
  44040. },
  44041. "birthday": {
  44042. "description": "生日(个人:年月日)",
  44043. "type": "string"
  44044. },
  44045. "biznature": {
  44046. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  44047. "type": "integer"
  44048. },
  44049. "bizscope": {
  44050. "description": "企业经营范围(企业)",
  44051. "type": "string"
  44052. },
  44053. "biztype": {
  44054. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  44055. "type": "integer"
  44056. },
  44057. "cardbackphotourl": {
  44058. "description": "证件背面图片地址",
  44059. "type": "string"
  44060. },
  44061. "cardfrontphotourl": {
  44062. "description": "证件正面图片地址",
  44063. "type": "string"
  44064. },
  44065. "cardnum": {
  44066. "description": "证件号码(加密存储)",
  44067. "type": "string"
  44068. },
  44069. "cardtypeid": {
  44070. "description": "证件类型ID",
  44071. "type": "integer"
  44072. },
  44073. "cityid": {
  44074. "description": "市",
  44075. "type": "integer"
  44076. },
  44077. "company": {
  44078. "description": "公司(个人)",
  44079. "type": "string"
  44080. },
  44081. "contactcardbackphotourl": {
  44082. "description": "联系人证件背面图片地址",
  44083. "type": "string"
  44084. },
  44085. "contactcardfrontphotourl": {
  44086. "description": "联系人证件正面图片地址",
  44087. "type": "string"
  44088. },
  44089. "contactname": {
  44090. "description": "联系人",
  44091. "type": "string"
  44092. },
  44093. "countryid": {
  44094. "description": "国家",
  44095. "type": "integer"
  44096. },
  44097. "createtime": {
  44098. "description": "创建时间",
  44099. "type": "string"
  44100. },
  44101. "creatorid": {
  44102. "description": "创建人",
  44103. "type": "integer"
  44104. },
  44105. "creditquota": {
  44106. "description": "授信额度(金瑞)",
  44107. "type": "number"
  44108. },
  44109. "customername": {
  44110. "description": "客户名称(企业名称)",
  44111. "type": "string"
  44112. },
  44113. "districtid": {
  44114. "description": "地区",
  44115. "type": "integer"
  44116. },
  44117. "email": {
  44118. "description": "邮件(加密存储)",
  44119. "type": "string"
  44120. },
  44121. "fax": {
  44122. "description": "传真(加密存储)",
  44123. "type": "string"
  44124. },
  44125. "halfbodyphotourl": {
  44126. "description": "半身照地址",
  44127. "type": "string"
  44128. },
  44129. "hasencrypt": {
  44130. "description": "数据是否已加密 - 0:未加密 1:已加密",
  44131. "type": "integer"
  44132. },
  44133. "headurl": {
  44134. "description": "头像地址",
  44135. "type": "string"
  44136. },
  44137. "legalcardbackphotourl": {
  44138. "description": "法人身份证背面照地址",
  44139. "type": "string"
  44140. },
  44141. "legalcardfrontphotourl": {
  44142. "description": "法人身份证正面照地址",
  44143. "type": "string"
  44144. },
  44145. "legalpersonname": {
  44146. "description": "法人姓名(企业)",
  44147. "type": "string"
  44148. },
  44149. "mobile": {
  44150. "description": "手机号码(加密存储)",
  44151. "type": "string"
  44152. },
  44153. "mobile2": {
  44154. "description": "手机号码[明文-尚志]",
  44155. "type": "string"
  44156. },
  44157. "modifierid": {
  44158. "description": "修改人",
  44159. "type": "integer"
  44160. },
  44161. "modifiertime": {
  44162. "description": "修改时间",
  44163. "type": "string"
  44164. },
  44165. "needinvoice": {
  44166. "description": "是否需要发票 - 0:不需要 1:需要",
  44167. "type": "integer"
  44168. },
  44169. "nickname": {
  44170. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  44171. "type": "string"
  44172. },
  44173. "openmode": {
  44174. "description": "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册",
  44175. "type": "integer"
  44176. },
  44177. "otherurl": {
  44178. "description": "其它图片地址[使用分号分隔]",
  44179. "type": "string"
  44180. },
  44181. "postalcode": {
  44182. "description": "邮政编码",
  44183. "type": "string"
  44184. },
  44185. "provinceid": {
  44186. "description": "省",
  44187. "type": "integer"
  44188. },
  44189. "proxystatementurl": {
  44190. "description": "授权委托书",
  44191. "type": "string"
  44192. },
  44193. "qq": {
  44194. "description": "QQ(加密存储",
  44195. "type": "string"
  44196. },
  44197. "remark": {
  44198. "description": "备注",
  44199. "type": "string"
  44200. },
  44201. "sex": {
  44202. "description": "用户性别 0: 女 1: 男",
  44203. "type": "integer"
  44204. },
  44205. "signpdfurl": {
  44206. "description": "签约pdf文件",
  44207. "type": "string"
  44208. },
  44209. "taxpayernum": {
  44210. "description": "纳税人识别号",
  44211. "type": "string"
  44212. },
  44213. "telphone": {
  44214. "description": "联系电话(加密存储)",
  44215. "type": "string"
  44216. },
  44217. "userid": {
  44218. "description": "用户ID",
  44219. "type": "integer"
  44220. },
  44221. "userinfotype": {
  44222. "description": "用户信息类型 - 1:个人 2:企业",
  44223. "type": "integer"
  44224. },
  44225. "userstatus": {
  44226. "description": "用户状态 - 1:正常 2:注销",
  44227. "type": "integer"
  44228. },
  44229. "usertype": {
  44230. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者",
  44231. "type": "integer"
  44232. },
  44233. "wechat": {
  44234. "description": "微信(加密存储)",
  44235. "type": "string"
  44236. },
  44237. "wskhinfo": {
  44238. "description": "开户申请信息(JSON)",
  44239. "type": "string"
  44240. }
  44241. }
  44242. },
  44243. "models.WrFAProductDetail": {
  44244. "type": "object",
  44245. "properties": {
  44246. "accountid": {
  44247. "description": "资金账号",
  44248. "type": "integer"
  44249. },
  44250. "areauserid": {
  44251. "description": "金融机构ID",
  44252. "type": "integer"
  44253. },
  44254. "financingdays": {
  44255. "description": "天数(天)",
  44256. "type": "integer"
  44257. },
  44258. "interestminlen": {
  44259. "description": "最小起息天数",
  44260. "type": "integer"
  44261. },
  44262. "interestrate": {
  44263. "description": "利率",
  44264. "type": "number"
  44265. },
  44266. "interestratemode": {
  44267. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  44268. "type": "integer"
  44269. },
  44270. "interestsettlemode": {
  44271. "description": "结息方式 - 1:按日结息 3:按月结息",
  44272. "type": "integer"
  44273. },
  44274. "interestsettlevalue": {
  44275. "description": "结息方式值",
  44276. "type": "integer"
  44277. },
  44278. "isautoloan": {
  44279. "description": "是否自动放款 0-手动 1-自动 (当为自动放款时,显示\"放款快\")",
  44280. "type": "integer"
  44281. },
  44282. "loantag": {
  44283. "description": "放款标识: \"放款快\" 或者为空",
  44284. "type": "string"
  44285. },
  44286. "marginratio": {
  44287. "description": "保证金比率质押率 - [仓单质押]",
  44288. "type": "number"
  44289. },
  44290. "productdetailid": {
  44291. "description": "产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)",
  44292. "type": "integer"
  44293. },
  44294. "productid": {
  44295. "description": "金融产品ID",
  44296. "type": "integer"
  44297. },
  44298. "productname": {
  44299. "description": "产品名称",
  44300. "type": "string"
  44301. },
  44302. "updatetime": {
  44303. "description": "更新时间",
  44304. "type": "string"
  44305. },
  44306. "username": {
  44307. "description": "融出方",
  44308. "type": "string"
  44309. }
  44310. }
  44311. },
  44312. "models.WrFactorTypeInfo": {
  44313. "type": "object",
  44314. "properties": {
  44315. "deliverygoodscode": {
  44316. "description": "品种代码",
  44317. "type": "string"
  44318. },
  44319. "deliverygoodsname": {
  44320. "description": "品种名称",
  44321. "type": "string"
  44322. },
  44323. "dgfactoryitemid": {
  44324. "description": "选择项id",
  44325. "type": "integer"
  44326. },
  44327. "dgfactoryitemtypeid": {
  44328. "description": "要素选择项ID (1-仓库 2-品牌)",
  44329. "type": "integer"
  44330. },
  44331. "dgfactoryitemvalue": {
  44332. "description": "要素项值",
  44333. "type": "string"
  44334. },
  44335. "itemtypename": {
  44336. "description": "要素项名称",
  44337. "type": "string"
  44338. },
  44339. "optioncompare": {
  44340. "description": "选择比较串",
  44341. "type": "string"
  44342. },
  44343. "warehouseid": {
  44344. "description": "仓库id",
  44345. "type": "integer"
  44346. },
  44347. "wrfactortypeid": {
  44348. "description": "仓单要素ID",
  44349. "type": "string"
  44350. },
  44351. "wrfactortypename": {
  44352. "description": "要素名称",
  44353. "type": "string"
  44354. },
  44355. "wrfactortypename2": {
  44356. "description": "要素名称(不含仓库)",
  44357. "type": "string"
  44358. },
  44359. "wrstandardcode": {
  44360. "description": "品类代码",
  44361. "type": "string"
  44362. },
  44363. "wrstandardid": {
  44364. "description": "品类id",
  44365. "type": "integer"
  44366. },
  44367. "wrstandardname": {
  44368. "description": "品类名称",
  44369. "type": "string"
  44370. }
  44371. }
  44372. },
  44373. "models.WrFilterItem": {
  44374. "type": "object",
  44375. "properties": {
  44376. "itemcode": {
  44377. "description": "代码",
  44378. "type": "string"
  44379. },
  44380. "itemid": {
  44381. "description": "项id",
  44382. "type": "integer"
  44383. },
  44384. "itemname": {
  44385. "description": "名称",
  44386. "type": "string"
  44387. },
  44388. "itemtype": {
  44389. "description": "类型 1-品种 2-品类(商品) 3-仓库",
  44390. "type": "integer"
  44391. }
  44392. }
  44393. },
  44394. "models.WrFinanceBuyApply": {
  44395. "type": "object",
  44396. "properties": {
  44397. "applydate": {
  44398. "description": "申请时间",
  44399. "type": "string"
  44400. },
  44401. "applystatus": {
  44402. "description": "申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败",
  44403. "type": "integer"
  44404. },
  44405. "applyuserid": {
  44406. "description": "申请人",
  44407. "type": "integer"
  44408. },
  44409. "auditdate": {
  44410. "description": "审核时间",
  44411. "type": "string"
  44412. },
  44413. "auditremark": {
  44414. "description": "审核备注",
  44415. "type": "string"
  44416. },
  44417. "audituserid": {
  44418. "description": "审核人",
  44419. "type": "integer"
  44420. },
  44421. "buyaccountid": {
  44422. "description": "买方资金账号",
  44423. "type": "integer"
  44424. },
  44425. "buyorsell": {
  44426. "description": "买卖 - 0:买 1:卖",
  44427. "type": "integer"
  44428. },
  44429. "buyuserid": {
  44430. "description": "买方用户ID",
  44431. "type": "integer"
  44432. },
  44433. "buyusername": {
  44434. "description": "买方名称",
  44435. "type": "string"
  44436. },
  44437. "buywrtradeorderid": {
  44438. "description": "融资方买委托单ID",
  44439. "type": "string"
  44440. },
  44441. "deliverygoodscode": {
  44442. "description": "品种代码",
  44443. "type": "string"
  44444. },
  44445. "deliverygoodsid": {
  44446. "description": "品种ID",
  44447. "type": "integer"
  44448. },
  44449. "deliverygoodsname": {
  44450. "description": "品种名称",
  44451. "type": "string"
  44452. },
  44453. "deliverymonth": {
  44454. "description": "交收月(yyyy-MM) [无仓单HasWR =0]",
  44455. "type": "string"
  44456. },
  44457. "enumdicname": {
  44458. "description": "单位名称",
  44459. "type": "string"
  44460. },
  44461. "financeaccountid": {
  44462. "description": "融资方资金帐户ID",
  44463. "type": "integer"
  44464. },
  44465. "financeapplyid": {
  44466. "description": "融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  44467. "type": "string"
  44468. },
  44469. "financeareauserid": {
  44470. "description": "融资方用户ID",
  44471. "type": "string"
  44472. },
  44473. "financename": {
  44474. "description": "融出方名称",
  44475. "type": "string"
  44476. },
  44477. "financetype": {
  44478. "description": "融资类型 1-融资回购",
  44479. "type": "integer"
  44480. },
  44481. "financingdays": {
  44482. "description": "天数(天)",
  44483. "type": "integer"
  44484. },
  44485. "freezebuymargin": {
  44486. "description": "冻结融资保证金(买方)",
  44487. "type": "number"
  44488. },
  44489. "handleremark": {
  44490. "description": "处理备注",
  44491. "type": "string"
  44492. },
  44493. "handlestatus": {
  44494. "description": "处理状态",
  44495. "type": "integer"
  44496. },
  44497. "interestminlen": {
  44498. "description": "最小起息天数",
  44499. "type": "integer"
  44500. },
  44501. "interestrate": {
  44502. "description": "利率",
  44503. "type": "number"
  44504. },
  44505. "interestratemode": {
  44506. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  44507. "type": "integer"
  44508. },
  44509. "interestsettlemode": {
  44510. "description": "结息方式 - 1:按日结息 3:按月结息",
  44511. "type": "integer"
  44512. },
  44513. "interestsettlevalue": {
  44514. "description": "结息方式值",
  44515. "type": "integer"
  44516. },
  44517. "isautoloan": {
  44518. "description": "是否自动放款 - 0:手动 1:自动",
  44519. "type": "integer"
  44520. },
  44521. "marginratio": {
  44522. "description": "保证金比率质押率 - [仓单质押]",
  44523. "type": "number"
  44524. },
  44525. "marketid": {
  44526. "description": "市场ID",
  44527. "type": "integer"
  44528. },
  44529. "minivalue": {
  44530. "description": "现货商品最小变动值",
  44531. "type": "integer"
  44532. },
  44533. "optioncompare": {
  44534. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44535. "type": "string"
  44536. },
  44537. "orderqty": {
  44538. "description": "委托数量(商品数量)",
  44539. "type": "number"
  44540. },
  44541. "productdetailid": {
  44542. "description": "产品组合ID",
  44543. "type": "integer"
  44544. },
  44545. "productid": {
  44546. "description": "金融产品ID",
  44547. "type": "integer"
  44548. },
  44549. "productname": {
  44550. "description": "产品名称",
  44551. "type": "string"
  44552. },
  44553. "remark": {
  44554. "description": "备注",
  44555. "type": "string"
  44556. },
  44557. "scfcontractid": {
  44558. "description": "仓单回购合同ID",
  44559. "type": "string"
  44560. },
  44561. "sellaccountid": {
  44562. "description": "卖方资金账号",
  44563. "type": "integer"
  44564. },
  44565. "selluserid": {
  44566. "description": "卖方用户ID",
  44567. "type": "integer"
  44568. },
  44569. "sellwrtradeorderid": {
  44570. "description": "卖方委托单ID",
  44571. "type": "string"
  44572. },
  44573. "tradeamount": {
  44574. "description": "成交金额(借款金额)",
  44575. "type": "number"
  44576. },
  44577. "tradedate": {
  44578. "description": "交易日(yyyyMMdd)",
  44579. "type": "string"
  44580. },
  44581. "tradeprice": {
  44582. "description": "成交价格",
  44583. "type": "number"
  44584. },
  44585. "warehouseid": {
  44586. "description": "仓库ID",
  44587. "type": "integer"
  44588. },
  44589. "warehousename": {
  44590. "description": "仓库名称",
  44591. "type": "string"
  44592. },
  44593. "wrfactortypeid": {
  44594. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44595. "type": "string"
  44596. },
  44597. "wrfactortypename": {
  44598. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44599. "type": "string"
  44600. },
  44601. "wrpricetype": {
  44602. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌单]",
  44603. "type": "integer"
  44604. },
  44605. "wrstandardcode": {
  44606. "description": "现货商品代码",
  44607. "type": "string"
  44608. },
  44609. "wrstandardid": {
  44610. "description": "现货商品ID",
  44611. "type": "integer"
  44612. },
  44613. "wrstandardname": {
  44614. "description": "商品名称",
  44615. "type": "string"
  44616. },
  44617. "wrtypename": {
  44618. "description": "商品",
  44619. "type": "string"
  44620. }
  44621. }
  44622. },
  44623. "models.WrFriendApply": {
  44624. "type": "object",
  44625. "properties": {
  44626. "applicantid": {
  44627. "description": "申请人",
  44628. "type": "integer"
  44629. },
  44630. "applyname": {
  44631. "description": "申请人名称",
  44632. "type": "string"
  44633. },
  44634. "applysrc": {
  44635. "description": "申请来源 - 1:管理端 2:终端",
  44636. "type": "integer"
  44637. },
  44638. "applystatus": {
  44639. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  44640. "type": "integer"
  44641. },
  44642. "applytime": {
  44643. "description": "申请时间",
  44644. "type": "string"
  44645. },
  44646. "auditname": {
  44647. "description": "审核人名称",
  44648. "type": "string"
  44649. },
  44650. "auditorid": {
  44651. "description": "审核人",
  44652. "type": "integer"
  44653. },
  44654. "auditremark": {
  44655. "description": "审核备注",
  44656. "type": "string"
  44657. },
  44658. "auditsrc": {
  44659. "description": "审核来源 - 1:管理端 2:终端",
  44660. "type": "integer"
  44661. },
  44662. "audittime": {
  44663. "description": "审核时间",
  44664. "type": "string"
  44665. },
  44666. "friendapplyid": {
  44667. "description": "申请ID(SEQ_FRIENDAPPLY)",
  44668. "type": "string"
  44669. },
  44670. "friendname": {
  44671. "description": "好友名字(已脱敏)",
  44672. "type": "string"
  44673. },
  44674. "frienduserid": {
  44675. "description": "好友用户ID",
  44676. "type": "string"
  44677. },
  44678. "remark": {
  44679. "description": "备注",
  44680. "type": "string"
  44681. },
  44682. "userid": {
  44683. "description": "申请人用户ID",
  44684. "type": "integer"
  44685. }
  44686. }
  44687. },
  44688. "models.WrFtDeliveryGoods": {
  44689. "type": "object",
  44690. "properties": {
  44691. "deliverygoodscode": {
  44692. "description": "品种代码",
  44693. "type": "string"
  44694. },
  44695. "deliverygoodsid": {
  44696. "description": "品种ID",
  44697. "type": "integer"
  44698. },
  44699. "deliverygoodsname": {
  44700. "description": "品种名称",
  44701. "type": "string"
  44702. },
  44703. "wdlst": {
  44704. "description": "商品列表",
  44705. "type": "array",
  44706. "items": {
  44707. "$ref": "#/definitions/models.WrFtWrstandard"
  44708. }
  44709. }
  44710. }
  44711. },
  44712. "models.WrFtWrstandard": {
  44713. "type": "object",
  44714. "properties": {
  44715. "enumdicname": {
  44716. "description": "单位名称",
  44717. "type": "string"
  44718. },
  44719. "minivalue": {
  44720. "description": "最小变动值",
  44721. "type": "integer"
  44722. },
  44723. "wrstandardcode": {
  44724. "description": "现货商品代码",
  44725. "type": "string"
  44726. },
  44727. "wrstandardid": {
  44728. "description": "现货商品ID",
  44729. "type": "integer"
  44730. },
  44731. "wrstandardname": {
  44732. "description": "商品名称",
  44733. "type": "string"
  44734. }
  44735. }
  44736. },
  44737. "models.WrGoodsInfo": {
  44738. "type": "object",
  44739. "properties": {
  44740. "haswr": {
  44741. "description": "0:仓单预售 1:仓单贸易",
  44742. "type": "integer"
  44743. },
  44744. "lstitem": {
  44745. "description": "商品信息项",
  44746. "type": "array",
  44747. "items": {
  44748. "$ref": "#/definitions/models.WrTypeItem"
  44749. }
  44750. },
  44751. "lststep": {
  44752. "description": "履约规则",
  44753. "type": "array",
  44754. "items": {
  44755. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  44756. }
  44757. },
  44758. "marketid": {
  44759. "description": "市场id",
  44760. "type": "integer"
  44761. }
  44762. }
  44763. },
  44764. "models.WrGoodsPerformanceStep": {
  44765. "type": "object",
  44766. "properties": {
  44767. "autoid": {
  44768. "description": "AutoID",
  44769. "type": "integer"
  44770. },
  44771. "isauto": {
  44772. "description": "是否自动 - 0:不自动 1:自动",
  44773. "type": "integer"
  44774. },
  44775. "remark": {
  44776. "description": "备注",
  44777. "type": "string"
  44778. },
  44779. "stepdate": {
  44780. "description": "天数信息(T+N)",
  44781. "type": "string"
  44782. },
  44783. "stepdays": {
  44784. "description": "距离上一步天数",
  44785. "type": "integer"
  44786. },
  44787. "stepindex": {
  44788. "description": "步骤序号",
  44789. "type": "integer"
  44790. },
  44791. "stepinfo": {
  44792. "description": "步骤信息(步骤名称+步骤值)",
  44793. "type": "string"
  44794. },
  44795. "steptypeid": {
  44796. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  44797. "type": "integer"
  44798. },
  44799. "steptypename": {
  44800. "description": "步骤名称",
  44801. "type": "string"
  44802. },
  44803. "stepvalue": {
  44804. "description": "期初均价",
  44805. "type": "number"
  44806. },
  44807. "templateid": {
  44808. "description": "履约计划模板ID",
  44809. "type": "integer"
  44810. }
  44811. }
  44812. },
  44813. "models.WrHoldLB": {
  44814. "type": "object",
  44815. "properties": {
  44816. "accountid": {
  44817. "description": "持有人帐户ID",
  44818. "type": "integer"
  44819. },
  44820. "bannerpicurl": {
  44821. "description": "Banner图",
  44822. "type": "string"
  44823. },
  44824. "createtime": {
  44825. "description": "创建时间(过户时间)",
  44826. "type": "string"
  44827. },
  44828. "deliverygoodscode": {
  44829. "description": "品种代码",
  44830. "type": "string"
  44831. },
  44832. "deliverygoodsid": {
  44833. "description": "品种ID",
  44834. "type": "integer"
  44835. },
  44836. "deliverygoodsname": {
  44837. "description": "品种名称",
  44838. "type": "string"
  44839. },
  44840. "enableqty": {
  44841. "description": "可用数量",
  44842. "type": "number"
  44843. },
  44844. "enumdicname": {
  44845. "description": "单位名称",
  44846. "type": "string"
  44847. },
  44848. "freezerqty": {
  44849. "description": "冻结数量",
  44850. "type": "number"
  44851. },
  44852. "ladingbillid": {
  44853. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  44854. "type": "string"
  44855. },
  44856. "minivalue": {
  44857. "description": "现货商品最小变动值",
  44858. "type": "integer"
  44859. },
  44860. "optioncompare": {
  44861. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  44862. "type": "string"
  44863. },
  44864. "parentsubnum": {
  44865. "description": "拆分父子单号",
  44866. "type": "integer"
  44867. },
  44868. "pledgeqty": {
  44869. "description": "质押数量",
  44870. "type": "number"
  44871. },
  44872. "qty": {
  44873. "description": "数量",
  44874. "type": "number"
  44875. },
  44876. "subnum": {
  44877. "description": "提单子单号",
  44878. "type": "integer"
  44879. },
  44880. "thumurls": {
  44881. "description": "缩略图",
  44882. "type": "string"
  44883. },
  44884. "tradedate": {
  44885. "description": "交易日(yyyyMMdd)",
  44886. "type": "string"
  44887. },
  44888. "userid": {
  44889. "description": "持有人ID",
  44890. "type": "integer"
  44891. },
  44892. "warehouseid": {
  44893. "description": "仓库ID",
  44894. "type": "integer"
  44895. },
  44896. "warehousename": {
  44897. "description": "仓库名称",
  44898. "type": "string"
  44899. },
  44900. "wrfactortypeid": {
  44901. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  44902. "type": "string"
  44903. },
  44904. "wrfactortypename": {
  44905. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  44906. "type": "string"
  44907. },
  44908. "wrholdeno": {
  44909. "description": "仓单编号",
  44910. "type": "string"
  44911. },
  44912. "wrid": {
  44913. "description": "仓单变更ID",
  44914. "type": "string"
  44915. },
  44916. "wrstandardcode": {
  44917. "description": "现货商品代码",
  44918. "type": "string"
  44919. },
  44920. "wrstandardid": {
  44921. "description": "现货商品ID",
  44922. "type": "integer"
  44923. },
  44924. "wrstandardname": {
  44925. "description": "商品名称",
  44926. "type": "string"
  44927. },
  44928. "wrtypename": {
  44929. "description": "商品",
  44930. "type": "string"
  44931. }
  44932. }
  44933. },
  44934. "models.WrMarketTradeConfig": {
  44935. "type": "object",
  44936. "properties": {
  44937. "basisdownratio": {
  44938. "description": "浮动价基差下限比例(仓单贸易)",
  44939. "type": "number"
  44940. },
  44941. "basisupratio": {
  44942. "description": "浮动价基差上限比例(仓单贸易)",
  44943. "type": "number"
  44944. },
  44945. "buychargealgorithm": {
  44946. "description": "买方手续费收取方式 1:比率 2:固定",
  44947. "type": "integer"
  44948. },
  44949. "buychargealgorithm2": {
  44950. "description": "回购买方手续费收取方式 1:比率 2:固定 --77:现货商城",
  44951. "type": "integer"
  44952. },
  44953. "buychargealgorithmvalue": {
  44954. "description": "买方手续费设置值(交易所部分)",
  44955. "type": "number"
  44956. },
  44957. "buychargealgorithmvalue2": {
  44958. "description": "买方手续费设置值(会员部分)",
  44959. "type": "number"
  44960. },
  44961. "buychargealgorithmvalue3": {
  44962. "description": "回购买方手续费设置值(交易所部分) --77:现货商城",
  44963. "type": "number"
  44964. },
  44965. "buychargealgorithmvalue4": {
  44966. "description": "回购买方手续费设置值(会员部分) --77:现货商城",
  44967. "type": "number"
  44968. },
  44969. "buyfirstmarginalgorithm": {
  44970. "description": "买方出价保证金方式 - 1:比率 2:固定 - [竞拍]",
  44971. "type": "integer"
  44972. },
  44973. "buyfirstmarginvalue": {
  44974. "description": "买方出价保证金设置值 - [竞拍]",
  44975. "type": "number"
  44976. },
  44977. "buymarginalgorithm": {
  44978. "description": "买方保证金方式 - 1:比率 2:固定",
  44979. "type": "integer"
  44980. },
  44981. "buymarginvalue": {
  44982. "description": "买方保证金设置值",
  44983. "type": "number"
  44984. },
  44985. "buyreleaseratio": {
  44986. "description": "买方释放比率[2:分步履约]",
  44987. "type": "number"
  44988. },
  44989. "executemode": {
  44990. "description": "执行方式[2:分步履约] - 1:顺序执行 2:交叉执行",
  44991. "type": "integer"
  44992. },
  44993. "executeside": {
  44994. "description": "执行方[2:分步履约] - 1:买方 2:卖方",
  44995. "type": "integer"
  44996. },
  44997. "failedchargealgorithm": {
  44998. "description": "流拍手续费收取方式 1:比率 2:固定",
  44999. "type": "integer"
  45000. },
  45001. "failedchargevalue": {
  45002. "description": "流拍手续费设置值",
  45003. "type": "number"
  45004. },
  45005. "failedchargevalue2": {
  45006. "description": "流拍卖方手续费设置值",
  45007. "type": "number"
  45008. },
  45009. "holddays": {
  45010. "description": "合同期限[2:分步履约]",
  45011. "type": "integer"
  45012. },
  45013. "listingmode": {
  45014. "description": "挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定",
  45015. "type": "integer"
  45016. },
  45017. "marketid": {
  45018. "description": "市场ID-仓单贸易、竞拍、预售",
  45019. "type": "integer"
  45020. },
  45021. "minqty": {
  45022. "description": "最小执行量[2:分步履约]",
  45023. "type": "number"
  45024. },
  45025. "modifierid": {
  45026. "description": "修改人",
  45027. "type": "integer"
  45028. },
  45029. "nowrquotaflag": {
  45030. "description": "是否校验无仓单额度(仓单贸易) - 0:否 1:是",
  45031. "type": "integer"
  45032. },
  45033. "performancetempid": {
  45034. "description": "履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  45035. "type": "integer"
  45036. },
  45037. "performancetempid2": {
  45038. "description": "履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  45039. "type": "integer"
  45040. },
  45041. "performancetempid2s": {
  45042. "description": "履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行",
  45043. "type": "string"
  45044. },
  45045. "performancetempids": {
  45046. "description": "履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)",
  45047. "type": "string"
  45048. },
  45049. "performanceway": {
  45050. "description": "交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]",
  45051. "type": "integer"
  45052. },
  45053. "sellchargealgorithm": {
  45054. "description": "卖方手续费收取方式 1:比率 2:固定",
  45055. "type": "integer"
  45056. },
  45057. "sellchargealgorithm2": {
  45058. "description": "回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城",
  45059. "type": "integer"
  45060. },
  45061. "sellchargealgorithmvalue": {
  45062. "description": "卖方手续费设置值(交易所部分)",
  45063. "type": "number"
  45064. },
  45065. "sellchargealgorithmvalue2": {
  45066. "description": "卖方手续费设置值(会员部分)",
  45067. "type": "number"
  45068. },
  45069. "sellchargealgorithmvalue3": {
  45070. "description": "回购卖方手续费设置值(交易所部分) --77:现货商城",
  45071. "type": "number"
  45072. },
  45073. "sellchargealgorithmvalue4": {
  45074. "description": "回购卖方手续费设置值(会员部分) --77:现货商城",
  45075. "type": "number"
  45076. },
  45077. "sellmarginalgorithm": {
  45078. "description": "卖方保证金方式 - 1:比率 2:固定",
  45079. "type": "integer"
  45080. },
  45081. "sellmarginvalue": {
  45082. "description": "卖方保证金设置值",
  45083. "type": "number"
  45084. },
  45085. "sellmarginvalue2": {
  45086. "description": "卖方保证金设置值(无仓单)",
  45087. "type": "number"
  45088. },
  45089. "sellreleaseratio": {
  45090. "description": "卖方释放比率[2:分步履约]",
  45091. "type": "number"
  45092. },
  45093. "updatetime": {
  45094. "description": "更新时间",
  45095. "type": "string"
  45096. }
  45097. }
  45098. },
  45099. "models.WrOrderDetail": {
  45100. "type": "object",
  45101. "properties": {
  45102. "accountid": {
  45103. "description": "交易账号(资金账号)",
  45104. "type": "integer"
  45105. },
  45106. "allfriendsflag": {
  45107. "description": "是否全好友可见 - 0:否 1:是",
  45108. "type": "integer"
  45109. },
  45110. "amount": {
  45111. "description": "期初均价",
  45112. "type": "number"
  45113. },
  45114. "bannerpicurl": {
  45115. "description": "Banner图",
  45116. "type": "string"
  45117. },
  45118. "begindate": {
  45119. "description": "开始交易日(yyyymmdd)",
  45120. "type": "string"
  45121. },
  45122. "buyorsell": {
  45123. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  45124. "type": "integer"
  45125. },
  45126. "canbargain": {
  45127. "description": "是否可议价 - 0:不可 1:可",
  45128. "type": "integer"
  45129. },
  45130. "cancelqty": {
  45131. "description": "撤销数量",
  45132. "type": "number"
  45133. },
  45134. "canpart": {
  45135. "description": "是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)",
  45136. "type": "integer"
  45137. },
  45138. "delistminqty": {
  45139. "description": "起摘数量",
  45140. "type": "integer"
  45141. },
  45142. "deliverygoodscode": {
  45143. "description": "品种代码",
  45144. "type": "string"
  45145. },
  45146. "deliverygoodsid": {
  45147. "description": "品种ID",
  45148. "type": "integer"
  45149. },
  45150. "deliverygoodsname": {
  45151. "description": "品种名称",
  45152. "type": "string"
  45153. },
  45154. "deliverymonth": {
  45155. "description": "交收月",
  45156. "type": "string"
  45157. },
  45158. "enddate": {
  45159. "description": "结束交易日(yyyymmdd)",
  45160. "type": "string"
  45161. },
  45162. "enumdicname": {
  45163. "description": "单位名称",
  45164. "type": "string"
  45165. },
  45166. "fixedprice": {
  45167. "description": "固定价格 - [挂牌]",
  45168. "type": "number"
  45169. },
  45170. "freezecharge": {
  45171. "description": "期初均价",
  45172. "type": "number"
  45173. },
  45174. "freezemargin": {
  45175. "description": "期初均价",
  45176. "type": "number"
  45177. },
  45178. "futupricemove": {
  45179. "description": "期货升贴水",
  45180. "type": "number"
  45181. },
  45182. "futushow": {
  45183. "description": "期货合约/升贴水",
  45184. "type": "string"
  45185. },
  45186. "goodscode": {
  45187. "description": "期货合约",
  45188. "type": "string"
  45189. },
  45190. "goodsid": {
  45191. "description": "期货商品id",
  45192. "type": "integer"
  45193. },
  45194. "goodsname": {
  45195. "description": "商品名称",
  45196. "type": "string"
  45197. },
  45198. "haswr": {
  45199. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  45200. "type": "integer"
  45201. },
  45202. "isspecified": {
  45203. "description": "是否指定对手 - 0:不指定 1:指定 - [挂牌]",
  45204. "type": "integer"
  45205. },
  45206. "ladingbillid": {
  45207. "description": "提单ID(208+Unix秒时间戳(10位)+xxxxxx)",
  45208. "type": "string"
  45209. },
  45210. "marginvalue": {
  45211. "description": "期初均价",
  45212. "type": "number"
  45213. },
  45214. "marketid": {
  45215. "description": "市场ID",
  45216. "type": "integer"
  45217. },
  45218. "matchusername": {
  45219. "description": "对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)",
  45220. "type": "string"
  45221. },
  45222. "minivalue": {
  45223. "description": "现货商品最小变动值",
  45224. "type": "integer"
  45225. },
  45226. "optioncompare": {
  45227. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45228. "type": "string"
  45229. },
  45230. "orderqty": {
  45231. "description": "委托数量",
  45232. "type": "number"
  45233. },
  45234. "ordertime": {
  45235. "description": "委托时间(挂牌时间)",
  45236. "type": "string"
  45237. },
  45238. "performancetemplateid": {
  45239. "description": "履约模板id",
  45240. "type": "integer"
  45241. },
  45242. "pricemove": {
  45243. "description": "升贴水(浮动价时填写) - [挂牌]",
  45244. "type": "number"
  45245. },
  45246. "taname": {
  45247. "description": "交易用户名称(资金账号名称)",
  45248. "type": "string"
  45249. },
  45250. "thumurls": {
  45251. "description": "缩略图",
  45252. "type": "string"
  45253. },
  45254. "tradedate": {
  45255. "description": "交易日(yyyyMMdd)",
  45256. "type": "string"
  45257. },
  45258. "tradeprice": {
  45259. "description": "成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)",
  45260. "type": "number"
  45261. },
  45262. "tradeqty": {
  45263. "description": "成交数量",
  45264. "type": "number"
  45265. },
  45266. "unitid": {
  45267. "description": "现货商品单位ID",
  45268. "type": "integer"
  45269. },
  45270. "userid": {
  45271. "description": "用户ID",
  45272. "type": "integer"
  45273. },
  45274. "validtime": {
  45275. "description": "挂牌有效期",
  45276. "type": "string"
  45277. },
  45278. "validtype": {
  45279. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  45280. "type": "integer"
  45281. },
  45282. "warehouseid": {
  45283. "description": "仓库ID",
  45284. "type": "integer"
  45285. },
  45286. "warehousename": {
  45287. "description": "仓库名称",
  45288. "type": "string"
  45289. },
  45290. "wrfactortypeid": {
  45291. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45292. "type": "string"
  45293. },
  45294. "wrfactortypename": {
  45295. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45296. "type": "string"
  45297. },
  45298. "wrpricetype": {
  45299. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  45300. "type": "integer"
  45301. },
  45302. "wrstandardcode": {
  45303. "description": "现货商品代码",
  45304. "type": "string"
  45305. },
  45306. "wrstandardid": {
  45307. "description": "现货商品ID",
  45308. "type": "integer"
  45309. },
  45310. "wrstandardname": {
  45311. "description": "商品名称",
  45312. "type": "string"
  45313. },
  45314. "wrtradeorderid": {
  45315. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45316. "type": "string"
  45317. },
  45318. "wrtradeorderstatus": {
  45319. "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:撤单解冻贷款失败",
  45320. "type": "integer"
  45321. },
  45322. "wrtradetype": {
  45323. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  45324. "type": "integer"
  45325. },
  45326. "wrtypename": {
  45327. "description": "商品",
  45328. "type": "string"
  45329. }
  45330. }
  45331. },
  45332. "models.WrOrderQuote": {
  45333. "type": "object",
  45334. "properties": {
  45335. "bannerpicurl": {
  45336. "description": "Banner图",
  45337. "type": "string"
  45338. },
  45339. "buyprice": {
  45340. "description": "买价",
  45341. "type": "number"
  45342. },
  45343. "buypricemove": {
  45344. "description": "买升贴水(基差)",
  45345. "type": "number"
  45346. },
  45347. "buyqty": {
  45348. "description": "买量",
  45349. "type": "number"
  45350. },
  45351. "deliverygoodscode": {
  45352. "description": "品种代码",
  45353. "type": "string"
  45354. },
  45355. "deliverygoodsid": {
  45356. "description": "品种id",
  45357. "type": "integer"
  45358. },
  45359. "deliverygoodsname": {
  45360. "description": "品种名称",
  45361. "type": "string"
  45362. },
  45363. "deliverymonth": {
  45364. "description": "交收月",
  45365. "type": "string"
  45366. },
  45367. "enumdicname": {
  45368. "description": "单位名称",
  45369. "type": "string"
  45370. },
  45371. "goodscode": {
  45372. "description": "商品合约(浮动价列表才有)",
  45373. "type": "string"
  45374. },
  45375. "goodsid": {
  45376. "description": "商品id(浮动价列表才有)",
  45377. "type": "integer"
  45378. },
  45379. "minivalue": {
  45380. "description": "现货商品最小变动值",
  45381. "type": "integer"
  45382. },
  45383. "pictureurls": {
  45384. "description": "详情图片(逗号分隔)",
  45385. "type": "string"
  45386. },
  45387. "sellprice": {
  45388. "description": "卖价",
  45389. "type": "number"
  45390. },
  45391. "sellpricemove": {
  45392. "description": "卖升贴水(基差)",
  45393. "type": "number"
  45394. },
  45395. "sellqty": {
  45396. "description": "卖量",
  45397. "type": "number"
  45398. },
  45399. "thumurls": {
  45400. "description": "缩略图片(1:1)(逗号分隔)",
  45401. "type": "string"
  45402. },
  45403. "warehousecode": {
  45404. "description": "仓库代码",
  45405. "type": "string"
  45406. },
  45407. "warehouseid": {
  45408. "description": "仓库id",
  45409. "type": "integer"
  45410. },
  45411. "warehousename": {
  45412. "description": "仓库名称",
  45413. "type": "string"
  45414. },
  45415. "wrfactortypeid": {
  45416. "description": "仓单要素id",
  45417. "type": "string"
  45418. },
  45419. "wrfactortypename": {
  45420. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45421. "type": "string"
  45422. },
  45423. "wrgoodsname": {
  45424. "description": "商品(商品名称+仓库要素名称 拼接)",
  45425. "type": "string"
  45426. },
  45427. "wrstandardcode": {
  45428. "description": "商品代码",
  45429. "type": "string"
  45430. },
  45431. "wrstandardid": {
  45432. "description": "商品id",
  45433. "type": "integer"
  45434. },
  45435. "wrstandardname": {
  45436. "description": "商品名称",
  45437. "type": "string"
  45438. }
  45439. }
  45440. },
  45441. "models.WrOrderQuoteDetail": {
  45442. "type": "object",
  45443. "properties": {
  45444. "buyorsell": {
  45445. "description": "买卖 - 0:买 1:卖",
  45446. "type": "integer"
  45447. },
  45448. "delistminqty": {
  45449. "description": "期初均价",
  45450. "type": "number"
  45451. },
  45452. "deliverymonth": {
  45453. "description": "交收月",
  45454. "type": "string"
  45455. },
  45456. "enumdicname": {
  45457. "description": "单位名称",
  45458. "type": "string"
  45459. },
  45460. "fixedprice": {
  45461. "description": "买(卖)价",
  45462. "type": "number"
  45463. },
  45464. "marketid": {
  45465. "description": "市场id",
  45466. "type": "integer"
  45467. },
  45468. "minivalue": {
  45469. "description": "现货商品最小变动值",
  45470. "type": "integer"
  45471. },
  45472. "orderqty": {
  45473. "description": "买(卖)量(=委托量-成交量)",
  45474. "type": "number"
  45475. },
  45476. "ordertime": {
  45477. "description": "委托时间",
  45478. "type": "string"
  45479. },
  45480. "pricemove": {
  45481. "description": "买(卖)升贴水- 基差",
  45482. "type": "number"
  45483. },
  45484. "userid": {
  45485. "description": "购买方(销售方)用户ID",
  45486. "type": "integer"
  45487. },
  45488. "username": {
  45489. "description": "购买方(销售方)",
  45490. "type": "string"
  45491. },
  45492. "wrtradeorderid": {
  45493. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  45494. "type": "string"
  45495. }
  45496. }
  45497. },
  45498. "models.WrOutInApply": {
  45499. "type": "object",
  45500. "properties": {
  45501. "address": {
  45502. "description": "详细地址",
  45503. "type": "string"
  45504. },
  45505. "applyid": {
  45506. "description": "申请单id",
  45507. "type": "string"
  45508. },
  45509. "applystatus": {
  45510. "description": "申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  45511. "type": "integer"
  45512. },
  45513. "applytime": {
  45514. "description": "申请时间",
  45515. "type": "string"
  45516. },
  45517. "applytype": {
  45518. "description": "申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销",
  45519. "type": "integer"
  45520. },
  45521. "appointmentmodel": {
  45522. "description": "预约方式 - 1:物流 2:自送 3:自提",
  45523. "type": "integer"
  45524. },
  45525. "appointmentmodeldisplay": {
  45526. "description": "预约方式(显示枚举)",
  45527. "type": "string"
  45528. },
  45529. "appointmentremark": {
  45530. "description": "申请备注",
  45531. "type": "string"
  45532. },
  45533. "bannerpicurl": {
  45534. "description": "Banner图",
  45535. "type": "string"
  45536. },
  45537. "begindate": {
  45538. "description": "开始交易日(yyyymmdd)",
  45539. "type": "string"
  45540. },
  45541. "contactname": {
  45542. "description": "联系人",
  45543. "type": "string"
  45544. },
  45545. "contactnum": {
  45546. "description": "联系方式",
  45547. "type": "string"
  45548. },
  45549. "deliverygoodscode": {
  45550. "description": "品种代码",
  45551. "type": "string"
  45552. },
  45553. "deliverygoodsid": {
  45554. "description": "品种ID",
  45555. "type": "integer"
  45556. },
  45557. "deliverygoodsname": {
  45558. "description": "品种名称",
  45559. "type": "string"
  45560. },
  45561. "enddate": {
  45562. "description": "结束交易日(yyyymmdd)",
  45563. "type": "string"
  45564. },
  45565. "enumdicname": {
  45566. "description": "单位名称",
  45567. "type": "string"
  45568. },
  45569. "expresscompany": {
  45570. "description": "物流公司",
  45571. "type": "string"
  45572. },
  45573. "expressnum": {
  45574. "description": "物流单号",
  45575. "type": "string"
  45576. },
  45577. "minivalue": {
  45578. "description": "现货商品最小变动值",
  45579. "type": "integer"
  45580. },
  45581. "optioncompare": {
  45582. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45583. "type": "string"
  45584. },
  45585. "qty": {
  45586. "description": "数量",
  45587. "type": "integer"
  45588. },
  45589. "userid": {
  45590. "description": "用户id",
  45591. "type": "integer"
  45592. },
  45593. "warehouseid": {
  45594. "description": "仓库ID",
  45595. "type": "integer"
  45596. },
  45597. "warehousename": {
  45598. "description": "仓库名称",
  45599. "type": "string"
  45600. },
  45601. "wrfactortypeid": {
  45602. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45603. "type": "string"
  45604. },
  45605. "wrfactortypename": {
  45606. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45607. "type": "string"
  45608. },
  45609. "wrstandardcode": {
  45610. "description": "现货商品代码",
  45611. "type": "string"
  45612. },
  45613. "wrstandardid": {
  45614. "description": "现货商品ID",
  45615. "type": "integer"
  45616. },
  45617. "wrstandardname": {
  45618. "description": "商品名称",
  45619. "type": "string"
  45620. },
  45621. "wrtypename": {
  45622. "description": "商品",
  45623. "type": "string"
  45624. }
  45625. }
  45626. },
  45627. "models.WrPerformancePlan": {
  45628. "type": "object",
  45629. "required": [
  45630. "userid"
  45631. ],
  45632. "properties": {
  45633. "activatemonth": {
  45634. "description": "履约激活月 [无仓单的交易收月](yyyy-MM)",
  45635. "type": "string"
  45636. },
  45637. "amount": {
  45638. "description": "履约金额(总金额)",
  45639. "type": "number"
  45640. },
  45641. "begindate": {
  45642. "description": "开始交易日(yyyymmdd)",
  45643. "type": "string"
  45644. },
  45645. "buyaccountid": {
  45646. "description": "买方账号",
  45647. "type": "integer"
  45648. },
  45649. "buyerfreezeamount": {
  45650. "description": "履约冻结(买履约)",
  45651. "type": "number"
  45652. },
  45653. "buyerfreezeamountremain": {
  45654. "description": "履约冻结剩余(买履约)",
  45655. "type": "number"
  45656. },
  45657. "buyorsell": {
  45658. "description": "买卖方向 0-买 1-卖",
  45659. "type": "integer"
  45660. },
  45661. "buypaidamount": {
  45662. "description": "买方已冻/已扣金额 (已付金额)",
  45663. "type": "number"
  45664. },
  45665. "buyusername": {
  45666. "description": "买方名字",
  45667. "type": "string"
  45668. },
  45669. "contractid": {
  45670. "description": "合同ID",
  45671. "type": "integer"
  45672. },
  45673. "createtime": {
  45674. "description": "创建时间",
  45675. "type": "string"
  45676. },
  45677. "creatorid": {
  45678. "description": "创建人",
  45679. "type": "integer"
  45680. },
  45681. "curstepdeadline": {
  45682. "description": "当前步骤到期时间",
  45683. "type": "string"
  45684. },
  45685. "curstepid": {
  45686. "description": "当前步骤ID",
  45687. "type": "string"
  45688. },
  45689. "curstepname": {
  45690. "description": "当前步骤名称",
  45691. "type": "string"
  45692. },
  45693. "deliverygoodscode": {
  45694. "description": "品种代码",
  45695. "type": "string"
  45696. },
  45697. "deliverygoodsid": {
  45698. "description": "品种ID",
  45699. "type": "integer"
  45700. },
  45701. "deliverygoodsname": {
  45702. "description": "品种名称",
  45703. "type": "string"
  45704. },
  45705. "enddate": {
  45706. "description": "结束交易日(yyyymmdd)",
  45707. "type": "string"
  45708. },
  45709. "enumdicname": {
  45710. "description": "单位名称",
  45711. "type": "string"
  45712. },
  45713. "expressfee": {
  45714. "description": "运费",
  45715. "type": "number"
  45716. },
  45717. "expressfeeconfirmed": {
  45718. "description": "是否确认运费 - 0:无 1:买方确认 2:卖方确认",
  45719. "type": "integer"
  45720. },
  45721. "hasovershort": {
  45722. "description": "是否确认溢短 - 0:没有 1:买方确认 2:卖方确认",
  45723. "type": "integer"
  45724. },
  45725. "haswr": {
  45726. "description": "类型 0-仓单预售 1-仓单贸易",
  45727. "type": "integer"
  45728. },
  45729. "marketid": {
  45730. "description": "市场ID",
  45731. "type": "integer"
  45732. },
  45733. "middleaccountid": {
  45734. "description": "中间商资金账号ID",
  45735. "type": "integer"
  45736. },
  45737. "middleuserid": {
  45738. "description": "中间商用户ID",
  45739. "type": "integer"
  45740. },
  45741. "minivalue": {
  45742. "description": "现货商品最小变动值",
  45743. "type": "integer"
  45744. },
  45745. "optioncompare": {
  45746. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45747. "type": "string"
  45748. },
  45749. "overshortamount": {
  45750. "description": "溢短金额",
  45751. "type": "number"
  45752. },
  45753. "overshortqty": {
  45754. "description": "溢短数量",
  45755. "type": "number"
  45756. },
  45757. "paymenttype": {
  45758. "description": "付款方式 - 1:冻结 2:扣款",
  45759. "type": "integer"
  45760. },
  45761. "performanceplanid": {
  45762. "description": "履约计划ID(130+yyMMddHHmmss+xxxx)",
  45763. "type": "string"
  45764. },
  45765. "performancestatus": {
  45766. "description": "履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭",
  45767. "type": "integer"
  45768. },
  45769. "performancetype": {
  45770. "description": "履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统",
  45771. "type": "integer"
  45772. },
  45773. "qty": {
  45774. "description": "履约数量",
  45775. "type": "number"
  45776. },
  45777. "relatedorderid": {
  45778. "description": "关联单号(履约类型的关联单号)",
  45779. "type": "string"
  45780. },
  45781. "remark": {
  45782. "description": "备注",
  45783. "type": "string"
  45784. },
  45785. "sellaccountid": {
  45786. "description": "卖方账号",
  45787. "type": "integer"
  45788. },
  45789. "sellerfreezeamount": {
  45790. "description": "履约冻结(卖履约)",
  45791. "type": "number"
  45792. },
  45793. "sellerfreezeamountremain": {
  45794. "description": "履约冻结剩余(卖履约)",
  45795. "type": "number"
  45796. },
  45797. "sellreceivedamount": {
  45798. "description": "卖方已收金额",
  45799. "type": "number"
  45800. },
  45801. "sellusername": {
  45802. "description": "卖方名字",
  45803. "type": "string"
  45804. },
  45805. "shipremark": {
  45806. "description": "发货备注[物流单号]",
  45807. "type": "string"
  45808. },
  45809. "starttime": {
  45810. "description": "开始时间",
  45811. "type": "string"
  45812. },
  45813. "steptypeid": {
  45814. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  45815. "type": "integer"
  45816. },
  45817. "typename": {
  45818. "description": "履约类型 名称",
  45819. "type": "string"
  45820. },
  45821. "unpaidamount": {
  45822. "description": "期初均价",
  45823. "type": "number"
  45824. },
  45825. "userid": {
  45826. "description": "用户id",
  45827. "type": "integer"
  45828. },
  45829. "warehouseid": {
  45830. "description": "仓库ID",
  45831. "type": "integer"
  45832. },
  45833. "warehousename": {
  45834. "description": "仓库名称",
  45835. "type": "string"
  45836. },
  45837. "wrfactortypeid": {
  45838. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45839. "type": "string"
  45840. },
  45841. "wrfactortypename": {
  45842. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  45843. "type": "string"
  45844. },
  45845. "wrstandardcode": {
  45846. "description": "现货商品代码",
  45847. "type": "string"
  45848. },
  45849. "wrstandardid": {
  45850. "description": "现货商品ID",
  45851. "type": "integer"
  45852. },
  45853. "wrstandardname": {
  45854. "description": "商品名称",
  45855. "type": "string"
  45856. },
  45857. "wrtransferuserid": {
  45858. "description": "仓单受让用户",
  45859. "type": "integer"
  45860. },
  45861. "wrtypename": {
  45862. "description": "商品",
  45863. "type": "string"
  45864. }
  45865. }
  45866. },
  45867. "models.WrPerformancePlanStep": {
  45868. "type": "object",
  45869. "properties": {
  45870. "delaydays": {
  45871. "description": "延期申请天数",
  45872. "type": "integer"
  45873. },
  45874. "deliverygoodscode": {
  45875. "description": "品种代码",
  45876. "type": "string"
  45877. },
  45878. "deliverygoodsid": {
  45879. "description": "品种ID",
  45880. "type": "integer"
  45881. },
  45882. "deliverygoodsname": {
  45883. "description": "品种名称",
  45884. "type": "string"
  45885. },
  45886. "endtime": {
  45887. "description": "结束日期",
  45888. "type": "string"
  45889. },
  45890. "enumdicname": {
  45891. "description": "单位名称",
  45892. "type": "string"
  45893. },
  45894. "executeside": {
  45895. "description": "步骤执行方 - 1:买方 2:卖方",
  45896. "type": "integer"
  45897. },
  45898. "handlestatus": {
  45899. "description": "处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败",
  45900. "type": "integer"
  45901. },
  45902. "isauto": {
  45903. "description": "是否自动 - 0:不自动 1:自动",
  45904. "type": "integer"
  45905. },
  45906. "islastreceivestep": {
  45907. "description": "是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)",
  45908. "type": "integer"
  45909. },
  45910. "minivalue": {
  45911. "description": "现货商品最小变动值",
  45912. "type": "integer"
  45913. },
  45914. "optioncompare": {
  45915. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  45916. "type": "string"
  45917. },
  45918. "overdays": {
  45919. "description": "超期天数 = 当前时间(数据库时间) - 结束日期",
  45920. "type": "integer"
  45921. },
  45922. "performancestepid": {
  45923. "description": "履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)",
  45924. "type": "string"
  45925. },
  45926. "planid": {
  45927. "description": "所属履约计划ID",
  45928. "type": "string"
  45929. },
  45930. "realamount": {
  45931. "description": "实际完成金额",
  45932. "type": "number"
  45933. },
  45934. "relatedorderid": {
  45935. "description": "关联单号",
  45936. "type": "string"
  45937. },
  45938. "remaindays": {
  45939. "description": "剩余天数",
  45940. "type": "integer"
  45941. },
  45942. "remark": {
  45943. "description": "错误备注",
  45944. "type": "string"
  45945. },
  45946. "starttime": {
  45947. "description": "开始日期",
  45948. "type": "string"
  45949. },
  45950. "stepamount": {
  45951. "description": "步骤金额",
  45952. "type": "number"
  45953. },
  45954. "stepdays": {
  45955. "description": "距离上一步天数(分钟)",
  45956. "type": "integer"
  45957. },
  45958. "stepindex": {
  45959. "description": "步骤序号",
  45960. "type": "integer"
  45961. },
  45962. "steplanchtype": {
  45963. "description": "步骤启动类型 - 1:系统自动 2:手动",
  45964. "type": "integer"
  45965. },
  45966. "stepremark": {
  45967. "description": "步骤备注",
  45968. "type": "string"
  45969. },
  45970. "stepstatus": {
  45971. "description": "步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭",
  45972. "type": "integer"
  45973. },
  45974. "steptypeid": {
  45975. "description": "履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“",
  45976. "type": "integer"
  45977. },
  45978. "steptypename": {
  45979. "description": "步骤名称",
  45980. "type": "string"
  45981. },
  45982. "stepvalue": {
  45983. "description": "步骤值",
  45984. "type": "number"
  45985. },
  45986. "warehouseid": {
  45987. "description": "仓库ID",
  45988. "type": "integer"
  45989. },
  45990. "warehousename": {
  45991. "description": "仓库名称",
  45992. "type": "string"
  45993. },
  45994. "wrfactortypeid": {
  45995. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  45996. "type": "string"
  45997. },
  45998. "wrfactortypename": {
  45999. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46000. "type": "string"
  46001. },
  46002. "wrstandardcode": {
  46003. "description": "现货商品代码",
  46004. "type": "string"
  46005. },
  46006. "wrstandardid": {
  46007. "description": "现货商品ID",
  46008. "type": "integer"
  46009. },
  46010. "wrstandardname": {
  46011. "description": "商品名称",
  46012. "type": "string"
  46013. },
  46014. "wrtypename": {
  46015. "description": "商品",
  46016. "type": "string"
  46017. }
  46018. }
  46019. },
  46020. "models.WrPerformanceStepType": {
  46021. "type": "object",
  46022. "properties": {
  46023. "canauto": {
  46024. "description": "能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)",
  46025. "type": "integer"
  46026. },
  46027. "steptypeid": {
  46028. "description": "步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移",
  46029. "type": "integer"
  46030. },
  46031. "steptypename": {
  46032. "description": "步骤类型名称",
  46033. "type": "string"
  46034. }
  46035. }
  46036. },
  46037. "models.WrPerformanceTemplateEx": {
  46038. "type": "object",
  46039. "properties": {
  46040. "autoid": {
  46041. "description": "AutoID 模板id",
  46042. "type": "integer"
  46043. },
  46044. "createtime": {
  46045. "description": "创建时间",
  46046. "type": "string"
  46047. },
  46048. "creatorid": {
  46049. "description": "创建人",
  46050. "type": "integer"
  46051. },
  46052. "lstStep": {
  46053. "description": "步骤信息列表",
  46054. "type": "array",
  46055. "items": {
  46056. "$ref": "#/definitions/models.WrGoodsPerformanceStep"
  46057. }
  46058. },
  46059. "paymenttype": {
  46060. "description": "支付方式 - 1:冻结 2:扣款",
  46061. "type": "integer"
  46062. },
  46063. "takemode": {
  46064. "description": "提货方式 - 1:无 2:买方自提 3:卖方发货",
  46065. "type": "integer"
  46066. },
  46067. "templatename": {
  46068. "description": "模板名称",
  46069. "type": "string"
  46070. },
  46071. "templatetype": {
  46072. "description": "模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式",
  46073. "type": "integer"
  46074. },
  46075. "userid": {
  46076. "description": "所属用户",
  46077. "type": "integer"
  46078. }
  46079. }
  46080. },
  46081. "models.WrPosition": {
  46082. "type": "object",
  46083. "properties": {
  46084. "accountid": {
  46085. "description": "帐户ID",
  46086. "type": "integer"
  46087. },
  46088. "buyexcuteqty": {
  46089. "description": "采购履约中数量",
  46090. "type": "number"
  46091. },
  46092. "creditcurqty": {
  46093. "description": "授信当前数量(预售仓单:预售当前量)",
  46094. "type": "number"
  46095. },
  46096. "creditenableqty": {
  46097. "description": "授信可用数量(预售仓单: 可用数量)",
  46098. "type": "number"
  46099. },
  46100. "creditfreezeqty": {
  46101. "description": "授信冻结数量(预售仓单: 当前数量)",
  46102. "type": "number"
  46103. },
  46104. "credittotalqty": {
  46105. "description": "授信总数量(预售仓单:预售总量)",
  46106. "type": "number"
  46107. },
  46108. "credittradeqty": {
  46109. "description": "授信成交数量(预售仓单:成交总量)",
  46110. "type": "number"
  46111. },
  46112. "deliverygoodscode": {
  46113. "description": "品种代码",
  46114. "type": "string"
  46115. },
  46116. "deliverygoodsid": {
  46117. "description": "品种ID",
  46118. "type": "integer"
  46119. },
  46120. "deliverygoodsname": {
  46121. "description": "品种名称",
  46122. "type": "string"
  46123. },
  46124. "enalbeqty": {
  46125. "description": "可用数量",
  46126. "type": "number"
  46127. },
  46128. "enumdicname": {
  46129. "description": "单位名称",
  46130. "type": "string"
  46131. },
  46132. "freezeqty": {
  46133. "description": "总冻结数量",
  46134. "type": "number"
  46135. },
  46136. "haswr": {
  46137. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  46138. "type": "integer"
  46139. },
  46140. "minivalue": {
  46141. "description": "现货商品最小变动值",
  46142. "type": "integer"
  46143. },
  46144. "modifytime": {
  46145. "description": "修改时间(过户时间)",
  46146. "type": "string"
  46147. },
  46148. "optioncompare": {
  46149. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  46150. "type": "string"
  46151. },
  46152. "pledgeqty": {
  46153. "description": "质押数量",
  46154. "type": "number"
  46155. },
  46156. "querytype": {
  46157. "description": "查询类型 1-现货汇总 2-库存汇总(订单汇总)",
  46158. "type": "integer"
  46159. },
  46160. "sellexcuteqty": {
  46161. "description": "销售履约中数量",
  46162. "type": "number"
  46163. },
  46164. "totalqty": {
  46165. "description": "总数量(库存数量)",
  46166. "type": "number"
  46167. },
  46168. "warehouseid": {
  46169. "description": "仓库ID",
  46170. "type": "integer"
  46171. },
  46172. "warehousename": {
  46173. "description": "仓库名称",
  46174. "type": "string"
  46175. },
  46176. "wrfactortypeid": {
  46177. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  46178. "type": "string"
  46179. },
  46180. "wrfactortypename": {
  46181. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46182. "type": "string"
  46183. },
  46184. "wrpositionid": {
  46185. "description": "仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)",
  46186. "type": "string"
  46187. },
  46188. "wrpositionno": {
  46189. "description": "仓单编号",
  46190. "type": "string"
  46191. },
  46192. "wrstandardcode": {
  46193. "description": "现货商品代码",
  46194. "type": "string"
  46195. },
  46196. "wrstandardid": {
  46197. "description": "现货商品ID",
  46198. "type": "integer"
  46199. },
  46200. "wrstandardname": {
  46201. "description": "商品名称",
  46202. "type": "string"
  46203. },
  46204. "wrtypename": {
  46205. "description": "商品",
  46206. "type": "string"
  46207. },
  46208. "wruserid": {
  46209. "description": "持有人ID",
  46210. "type": "integer"
  46211. }
  46212. }
  46213. },
  46214. "models.WrPreSaleInfo": {
  46215. "type": "object",
  46216. "properties": {
  46217. "bannerpicurl": {
  46218. "description": "Banner图",
  46219. "type": "string"
  46220. },
  46221. "baseqty": {
  46222. "description": "中签基数",
  46223. "type": "number"
  46224. },
  46225. "createtime": {
  46226. "description": "创建时间",
  46227. "type": "string"
  46228. },
  46229. "deliverygoodsid": {
  46230. "description": "现货品种ID",
  46231. "type": "integer"
  46232. },
  46233. "enddate": {
  46234. "description": "预售结束日期",
  46235. "type": "string"
  46236. },
  46237. "enumdicname": {
  46238. "description": "单位名称",
  46239. "type": "string"
  46240. },
  46241. "lotteryflag": {
  46242. "description": "摇号标识 - 0:未摇号 1:已摇号",
  46243. "type": "integer"
  46244. },
  46245. "lotteryqty": {
  46246. "description": "摇号总量",
  46247. "type": "number"
  46248. },
  46249. "luckyqty": {
  46250. "description": "已中签量",
  46251. "type": "number"
  46252. },
  46253. "marketid": {
  46254. "description": "市场ID",
  46255. "type": "integer"
  46256. },
  46257. "maxbuyqty": {
  46258. "description": "单人最大申购量",
  46259. "type": "number"
  46260. },
  46261. "maxluckyqty": {
  46262. "description": "单人最大中签量",
  46263. "type": "number"
  46264. },
  46265. "pictureurls": {
  46266. "description": "详情图片(逗号分隔)",
  46267. "type": "string"
  46268. },
  46269. "placeqty": {
  46270. "description": "已配售量",
  46271. "type": "number"
  46272. },
  46273. "presaleapplyid": {
  46274. "description": "预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)",
  46275. "type": "string",
  46276. "example": "0"
  46277. },
  46278. "presaleqty": {
  46279. "description": "预售总量",
  46280. "type": "number"
  46281. },
  46282. "presalestatus": {
  46283. "description": "预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭",
  46284. "type": "integer"
  46285. },
  46286. "sellaccountid": {
  46287. "description": "发行方资金账户ID",
  46288. "type": "integer"
  46289. },
  46290. "selluserid": {
  46291. "description": "发行方用户ID",
  46292. "type": "integer"
  46293. },
  46294. "sellwrtradeorderid": {
  46295. "description": "发行方卖委托单ID",
  46296. "type": "string"
  46297. },
  46298. "startdate": {
  46299. "description": "预售开始日期",
  46300. "type": "string"
  46301. },
  46302. "takestartdate": {
  46303. "description": "提货开始日期",
  46304. "type": "string"
  46305. },
  46306. "thumurls": {
  46307. "description": "缩略图片(1:1)(逗号分隔)",
  46308. "type": "string"
  46309. },
  46310. "tradedate": {
  46311. "description": "交易日",
  46312. "type": "string"
  46313. },
  46314. "unitid": {
  46315. "description": "单位ID",
  46316. "type": "integer"
  46317. },
  46318. "unitprice": {
  46319. "description": "商品单价",
  46320. "type": "number"
  46321. },
  46322. "username": {
  46323. "description": "发行方用户名称",
  46324. "type": "string"
  46325. },
  46326. "warehousecode": {
  46327. "description": "仓库代码(仓库简称)",
  46328. "type": "string"
  46329. },
  46330. "warehouseid": {
  46331. "description": "仓库ID",
  46332. "type": "integer"
  46333. },
  46334. "warehousename": {
  46335. "description": "仓库名称",
  46336. "type": "string"
  46337. },
  46338. "wrfactortypeid": {
  46339. "description": "仓单要素类型ID - 根据现货商品\\仓库生成",
  46340. "type": "string",
  46341. "example": "0"
  46342. },
  46343. "wrstandardid": {
  46344. "description": "现货商品ID",
  46345. "type": "integer"
  46346. },
  46347. "wrstandardname": {
  46348. "description": "现货商品名称",
  46349. "type": "string"
  46350. }
  46351. }
  46352. },
  46353. "models.WrQuoteOrderMyq": {
  46354. "type": "object",
  46355. "properties": {
  46356. "buyorsell": {
  46357. "description": "买卖 - 0:买 1:卖",
  46358. "type": "integer"
  46359. },
  46360. "canbargain": {
  46361. "description": "是否可议价 - 0:不可 1:可",
  46362. "type": "integer"
  46363. },
  46364. "canpart": {
  46365. "description": "是否允许部份摘牌 - 0:不允许 1:允许",
  46366. "type": "integer"
  46367. },
  46368. "delistminqty": {
  46369. "description": "期初均价",
  46370. "type": "number"
  46371. },
  46372. "deliverygoodscode": {
  46373. "description": "品种代码",
  46374. "type": "string"
  46375. },
  46376. "deliverygoodsid": {
  46377. "description": "品种ID",
  46378. "type": "integer"
  46379. },
  46380. "deliverygoodsname": {
  46381. "description": "品种名称",
  46382. "type": "string"
  46383. },
  46384. "deliverymonth": {
  46385. "description": "交收月",
  46386. "type": "string"
  46387. },
  46388. "enumdicname": {
  46389. "description": "单位名称",
  46390. "type": "string"
  46391. },
  46392. "fixedprice": {
  46393. "description": "买(卖)价",
  46394. "type": "number"
  46395. },
  46396. "goodscode": {
  46397. "description": "商品合约代码",
  46398. "type": "string"
  46399. },
  46400. "marginflag": {
  46401. "description": "挂牌是否指定保证金 - 0:未指定 1:指定",
  46402. "type": "integer"
  46403. },
  46404. "marginvalue": {
  46405. "description": "保证金设置值",
  46406. "type": "number"
  46407. },
  46408. "minivalue": {
  46409. "description": "现货商品最小变动值",
  46410. "type": "integer"
  46411. },
  46412. "orderqty": {
  46413. "description": "买(卖)量(=委托量-成交量)",
  46414. "type": "number"
  46415. },
  46416. "ordertime": {
  46417. "description": "委托时间",
  46418. "type": "string"
  46419. },
  46420. "performancetemplateid": {
  46421. "description": "履约模板id",
  46422. "type": "integer"
  46423. },
  46424. "pricemove": {
  46425. "description": "买(卖)升贴水- 基差",
  46426. "type": "number"
  46427. },
  46428. "templatename": {
  46429. "description": "履约模板名称",
  46430. "type": "string"
  46431. },
  46432. "userid": {
  46433. "description": "购买方(销售方)用户ID",
  46434. "type": "integer"
  46435. },
  46436. "username": {
  46437. "description": "购买方(销售方)",
  46438. "type": "string"
  46439. },
  46440. "validtime": {
  46441. "description": "有效期限",
  46442. "type": "string"
  46443. },
  46444. "validtype": {
  46445. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效",
  46446. "type": "integer"
  46447. },
  46448. "warehousename": {
  46449. "description": "仓库名称",
  46450. "type": "string"
  46451. },
  46452. "wrfactortypeid": {
  46453. "description": "仓单要素id",
  46454. "type": "string"
  46455. },
  46456. "wrstandardcode": {
  46457. "description": "现货商品代码",
  46458. "type": "string"
  46459. },
  46460. "wrstandardid": {
  46461. "description": "现货商品ID",
  46462. "type": "integer"
  46463. },
  46464. "wrstandardname": {
  46465. "description": "商品名称",
  46466. "type": "string"
  46467. },
  46468. "wrtradeorderid": {
  46469. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  46470. "type": "string"
  46471. },
  46472. "wrtypename": {
  46473. "description": "商品",
  46474. "type": "string"
  46475. }
  46476. }
  46477. },
  46478. "models.WrReckonSpotGoodsTradeSum": {
  46479. "type": "object",
  46480. "properties": {
  46481. "begindate": {
  46482. "description": "开始日期(结果含开始日期) yyyymmdd",
  46483. "type": "string"
  46484. },
  46485. "enddate": {
  46486. "description": "结束日期(结果含结束日期) yyyymmdd",
  46487. "type": "string"
  46488. },
  46489. "istoday": {
  46490. "description": "是否当日",
  46491. "type": "boolean"
  46492. },
  46493. "marketid": {
  46494. "description": "市场ID",
  46495. "type": "integer"
  46496. },
  46497. "price": {
  46498. "description": "价格 = 日成交金额 / 日成交数量",
  46499. "type": "string"
  46500. },
  46501. "reckondate": {
  46502. "description": "日期 格式 yyyymmdd",
  46503. "type": "string"
  46504. },
  46505. "tradeamount": {
  46506. "description": "期初均价",
  46507. "type": "number"
  46508. },
  46509. "tradeqty": {
  46510. "description": "期初均价",
  46511. "type": "number"
  46512. },
  46513. "wrstandardid": {
  46514. "description": "现货商品ID",
  46515. "type": "integer"
  46516. }
  46517. }
  46518. },
  46519. "models.WrScfContract": {
  46520. "type": "object",
  46521. "properties": {
  46522. "borroweruserid": {
  46523. "description": "借款用户ID",
  46524. "type": "integer"
  46525. },
  46526. "buybackwrpositionqty": {
  46527. "description": "已回购仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 已回购数量",
  46528. "type": "number"
  46529. },
  46530. "closeinterest": {
  46531. "description": "已结利息 -\u003e 已结费用",
  46532. "type": "number"
  46533. },
  46534. "currisklevel": {
  46535. "description": "风险级别 - 1:正常 2:追加货款 3:支付尾款",
  46536. "type": "integer"
  46537. },
  46538. "deadline": {
  46539. "description": "截止日期(yyyyMMdd) -\u003e 借款到期时间",
  46540. "type": "string"
  46541. },
  46542. "deliverygoodscode": {
  46543. "description": "品种代码",
  46544. "type": "string"
  46545. },
  46546. "deliverygoodsid": {
  46547. "description": "品种ID",
  46548. "type": "integer"
  46549. },
  46550. "deliverygoodsname": {
  46551. "description": "品种名称",
  46552. "type": "string"
  46553. },
  46554. "enumdicname": {
  46555. "description": "单位名称",
  46556. "type": "string"
  46557. },
  46558. "financingdays": {
  46559. "description": "天数(天)",
  46560. "type": "integer"
  46561. },
  46562. "initmargin": {
  46563. "description": "保证金 - [仓单回购]",
  46564. "type": "number"
  46565. },
  46566. "interestamount": {
  46567. "description": "计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \\ 合同剩余金额",
  46568. "type": "number"
  46569. },
  46570. "interestdebt": {
  46571. "description": "利息欠款(记录负数) -\u003e 费用欠款",
  46572. "type": "number"
  46573. },
  46574. "interestminlen": {
  46575. "description": "最小起息天数",
  46576. "type": "integer"
  46577. },
  46578. "interestrate": {
  46579. "description": "利率",
  46580. "type": "number"
  46581. },
  46582. "interestratemode": {
  46583. "description": "利率方式 - 1:年利率 2:日利率 3:日固定值",
  46584. "type": "integer"
  46585. },
  46586. "interestsettlemode": {
  46587. "description": "结息方式 - 1:按日结息 3:按月结息",
  46588. "type": "integer"
  46589. },
  46590. "interestsettlevalue": {
  46591. "description": "结息方式值",
  46592. "type": "integer"
  46593. },
  46594. "isautoloan": {
  46595. "description": "是否自动放款 - 0:手动 1:自动 - [仓单质押]",
  46596. "type": "integer"
  46597. },
  46598. "lastcloseinterestday": {
  46599. "description": "最近结息日(yyyyMMdd)",
  46600. "type": "string"
  46601. },
  46602. "lenderamount": {
  46603. "description": "贷款金额 -\u003e 借款金额",
  46604. "type": "number"
  46605. },
  46606. "lenderuserid": {
  46607. "description": "贷款方用户ID -\u003e 融出方用户ID",
  46608. "type": "integer"
  46609. },
  46610. "lenderusername": {
  46611. "description": "融出方",
  46612. "type": "string"
  46613. },
  46614. "marginratio": {
  46615. "description": "保证金比率质押率 - [仓单质押]",
  46616. "type": "number"
  46617. },
  46618. "marketid": {
  46619. "description": "市场ID - 拆成三个独立模式后,根据市场ID处理",
  46620. "type": "integer"
  46621. },
  46622. "minivalue": {
  46623. "description": "现货商品最小变动值",
  46624. "type": "integer"
  46625. },
  46626. "optioncompare": {
  46627. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  46628. "type": "string"
  46629. },
  46630. "pricemove": {
  46631. "description": "估值升贴水值",
  46632. "type": "number"
  46633. },
  46634. "productdetailid": {
  46635. "description": "产品组合ID",
  46636. "type": "integer"
  46637. },
  46638. "productid": {
  46639. "description": "金融产品ID",
  46640. "type": "integer"
  46641. },
  46642. "productname": {
  46643. "description": "产品名称",
  46644. "type": "string"
  46645. },
  46646. "remainamount": {
  46647. "description": "合同剩余金额 -\u003e 剩余金额",
  46648. "type": "number"
  46649. },
  46650. "remainwrpositionqty": {
  46651. "description": "剩余仓单头寸数量 - [仓单回购\\仓单质押] -\u003e 剩余数量(待回购数量)",
  46652. "type": "number"
  46653. },
  46654. "remark": {
  46655. "description": "备注",
  46656. "type": "string"
  46657. },
  46658. "scfcontractid": {
  46659. "description": "SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)",
  46660. "type": "string"
  46661. },
  46662. "scfcontractstatus": {
  46663. "description": "合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交",
  46664. "type": "integer"
  46665. },
  46666. "scfcontracttype": {
  46667. "description": "合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购",
  46668. "type": "integer"
  46669. },
  46670. "startinterestday": {
  46671. "description": "计息开始日(yyyyMMdd) -\u003e 开始计费日期",
  46672. "type": "string"
  46673. },
  46674. "totalinterest": {
  46675. "description": "已计利息 -\u003e 已计费用",
  46676. "type": "number"
  46677. },
  46678. "unpaidinterest": {
  46679. "description": "期初均价",
  46680. "type": "number"
  46681. },
  46682. "updatetime": {
  46683. "description": "更新时间",
  46684. "type": "string"
  46685. },
  46686. "warehouseid": {
  46687. "description": "仓库ID",
  46688. "type": "integer"
  46689. },
  46690. "warehousename": {
  46691. "description": "仓库名称",
  46692. "type": "string"
  46693. },
  46694. "wrfactortypeid": {
  46695. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  46696. "type": "string"
  46697. },
  46698. "wrfactortypename": {
  46699. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46700. "type": "string"
  46701. },
  46702. "wrqty": {
  46703. "description": "仓单数量 - [仓单回购\\仓单质押] -\u003e 数量",
  46704. "type": "number"
  46705. },
  46706. "wrstandardcode": {
  46707. "description": "现货商品代码",
  46708. "type": "string"
  46709. },
  46710. "wrstandardid": {
  46711. "description": "现货商品ID",
  46712. "type": "integer"
  46713. },
  46714. "wrstandardname": {
  46715. "description": "商品名称",
  46716. "type": "string"
  46717. },
  46718. "wrtypename": {
  46719. "description": "商品",
  46720. "type": "string"
  46721. }
  46722. }
  46723. },
  46724. "models.WrScfContractInterest": {
  46725. "type": "object",
  46726. "properties": {
  46727. "closeinterest": {
  46728. "description": "已结利息",
  46729. "type": "number"
  46730. },
  46731. "closeintereststatus": {
  46732. "description": "结息状态 - 1:未结 2:已结",
  46733. "type": "integer"
  46734. },
  46735. "closetime": {
  46736. "description": "结息时间",
  46737. "type": "string"
  46738. },
  46739. "closetradedate": {
  46740. "description": "结息交易日",
  46741. "type": "string"
  46742. },
  46743. "creatorid": {
  46744. "description": "操作人ID",
  46745. "type": "integer"
  46746. },
  46747. "dayrate": {
  46748. "description": "日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)",
  46749. "type": "number"
  46750. },
  46751. "interest": {
  46752. "description": "利息",
  46753. "type": "number"
  46754. },
  46755. "interestamount": {
  46756. "description": "计息金额",
  46757. "type": "number"
  46758. },
  46759. "interestday": {
  46760. "description": "计息日(yyyyMMdd)",
  46761. "type": "string"
  46762. },
  46763. "scfcontractid": {
  46764. "description": "SCF合同ID",
  46765. "type": "string"
  46766. },
  46767. "scfcontractinterestid": {
  46768. "description": "SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)",
  46769. "type": "integer"
  46770. },
  46771. "updatetime": {
  46772. "description": "更新时间",
  46773. "type": "string"
  46774. }
  46775. }
  46776. },
  46777. "models.WrSearchUser": {
  46778. "type": "object",
  46779. "required": [
  46780. "username"
  46781. ],
  46782. "properties": {
  46783. "userid": {
  46784. "description": "用户ID",
  46785. "type": "integer"
  46786. },
  46787. "username": {
  46788. "description": "用户名称(已脱敏)",
  46789. "type": "string"
  46790. },
  46791. "username2": {
  46792. "description": "用户名称(未脱敏)",
  46793. "type": "string"
  46794. },
  46795. "usertype": {
  46796. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)",
  46797. "type": "integer"
  46798. }
  46799. }
  46800. },
  46801. "models.WrSiteColumnDetail": {
  46802. "type": "object",
  46803. "properties": {
  46804. "author": {
  46805. "description": "作者",
  46806. "type": "string"
  46807. },
  46808. "brief": {
  46809. "description": "简介",
  46810. "type": "string"
  46811. },
  46812. "context": {
  46813. "description": "内容",
  46814. "type": "string"
  46815. },
  46816. "coverimage": {
  46817. "description": "封面图片",
  46818. "type": "string"
  46819. },
  46820. "creaedate": {
  46821. "description": "创建时间",
  46822. "type": "string"
  46823. },
  46824. "id": {
  46825. "description": "ID(SEQ_SITE_COLUMNDETAIL)",
  46826. "type": "integer"
  46827. },
  46828. "istop": {
  46829. "description": "是否置顶 - 0:不置 1:置顶",
  46830. "type": "integer"
  46831. },
  46832. "publishdate": {
  46833. "description": "发布日期",
  46834. "type": "string"
  46835. },
  46836. "title": {
  46837. "description": "标题",
  46838. "type": "string"
  46839. },
  46840. "updatedate": {
  46841. "description": "修改时间",
  46842. "type": "string"
  46843. }
  46844. }
  46845. },
  46846. "models.WrSpecialMatchOrder": {
  46847. "type": "object",
  46848. "properties": {
  46849. "amount": {
  46850. "description": "金额 = 数量 * 价格",
  46851. "type": "number"
  46852. },
  46853. "buyorsell": {
  46854. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  46855. "type": "integer"
  46856. },
  46857. "cancelqty": {
  46858. "description": "撤销数量",
  46859. "type": "number"
  46860. },
  46861. "deliverygoodscode": {
  46862. "description": "品种代码",
  46863. "type": "string"
  46864. },
  46865. "deliverygoodsid": {
  46866. "description": "品种ID",
  46867. "type": "integer"
  46868. },
  46869. "deliverygoodsname": {
  46870. "description": "品种名称",
  46871. "type": "string"
  46872. },
  46873. "enumdicname": {
  46874. "description": "单位名称",
  46875. "type": "string"
  46876. },
  46877. "fixedprice": {
  46878. "description": "固定价格(价格)",
  46879. "type": "number"
  46880. },
  46881. "haswr": {
  46882. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  46883. "type": "integer"
  46884. },
  46885. "isspecified": {
  46886. "description": "是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]",
  46887. "type": "integer"
  46888. },
  46889. "marketid": {
  46890. "description": "市场ID",
  46891. "type": "integer"
  46892. },
  46893. "matchuserid": {
  46894. "description": "指定方资金账号(字段名为userid,实际存的是accountid by:邓工)",
  46895. "type": "integer"
  46896. },
  46897. "matchusername": {
  46898. "description": "指定方",
  46899. "type": "string"
  46900. },
  46901. "minivalue": {
  46902. "description": "现货商品最小变动值",
  46903. "type": "integer"
  46904. },
  46905. "optioncompare": {
  46906. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  46907. "type": "string"
  46908. },
  46909. "orderqty": {
  46910. "description": "委托数量",
  46911. "type": "number"
  46912. },
  46913. "ordertime": {
  46914. "description": "委托时间",
  46915. "type": "string"
  46916. },
  46917. "pricemove": {
  46918. "description": "升贴水(浮动价时填写) - [挂牌]",
  46919. "type": "number"
  46920. },
  46921. "tradedate": {
  46922. "description": "交易日(yyyyMMdd)",
  46923. "type": "string"
  46924. },
  46925. "tradeprice": {
  46926. "description": "成交价格",
  46927. "type": "number"
  46928. },
  46929. "tradeqty": {
  46930. "description": "成交数量",
  46931. "type": "number"
  46932. },
  46933. "userid": {
  46934. "description": "用户ID",
  46935. "type": "integer"
  46936. },
  46937. "username": {
  46938. "description": "发起方",
  46939. "type": "string"
  46940. },
  46941. "warehouseid": {
  46942. "description": "仓库ID",
  46943. "type": "integer"
  46944. },
  46945. "warehousename": {
  46946. "description": "仓库名称",
  46947. "type": "string"
  46948. },
  46949. "wrfactortypeid": {
  46950. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  46951. "type": "string"
  46952. },
  46953. "wrfactortypename": {
  46954. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  46955. "type": "string"
  46956. },
  46957. "wrpricetype": {
  46958. "description": "价格方式 - 1:固定价 2-浮动价 - [挂牌]",
  46959. "type": "integer"
  46960. },
  46961. "wrstandardcode": {
  46962. "description": "现货商品代码",
  46963. "type": "string"
  46964. },
  46965. "wrstandardid": {
  46966. "description": "现货商品ID",
  46967. "type": "integer"
  46968. },
  46969. "wrstandardname": {
  46970. "description": "商品名称",
  46971. "type": "string"
  46972. },
  46973. "wrtradeorderid": {
  46974. "description": "仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)",
  46975. "type": "string"
  46976. },
  46977. "wrtradeorderstatus": {
  46978. "description": "委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤",
  46979. "type": "integer"
  46980. },
  46981. "wrtradetype": {
  46982. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  46983. "type": "integer"
  46984. },
  46985. "wrtypename": {
  46986. "description": "商品",
  46987. "type": "string"
  46988. }
  46989. }
  46990. },
  46991. "models.WrSpotGroupTradeSum": {
  46992. "type": "object",
  46993. "properties": {
  46994. "deliverygoodscode": {
  46995. "description": "现货品种代码",
  46996. "type": "string"
  46997. },
  46998. "deliverygoodsid": {
  46999. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  47000. "type": "integer"
  47001. },
  47002. "deliverygoodsname": {
  47003. "description": "现货品种名称",
  47004. "type": "string"
  47005. },
  47006. "lastavgprice": {
  47007. "description": "上上个交易日价格(前2天价格)",
  47008. "type": "string"
  47009. },
  47010. "lastreckondate": {
  47011. "description": "上上个交易日(前2天交易日)",
  47012. "type": "string"
  47013. },
  47014. "reckondate": {
  47015. "description": "上个交易日(前1天交易日)",
  47016. "type": "string"
  47017. },
  47018. "todayavgprice": {
  47019. "description": "上个交易日价格(前1天价格)",
  47020. "type": "string"
  47021. },
  47022. "updown": {
  47023. "description": "涨跌",
  47024. "type": "string"
  47025. },
  47026. "updownratio": {
  47027. "description": "涨幅(已格式化, 直接显示即可)",
  47028. "type": "string"
  47029. }
  47030. }
  47031. },
  47032. "models.WrSpotGroupTradeSumDetail": {
  47033. "type": "object",
  47034. "properties": {
  47035. "deliverygoodsid": {
  47036. "description": "现货商品id",
  47037. "type": "integer"
  47038. },
  47039. "price": {
  47040. "description": "价格",
  47041. "type": "number"
  47042. },
  47043. "reckondate": {
  47044. "description": "日期(yyymmdd, 如:20211031)",
  47045. "type": "string"
  47046. }
  47047. }
  47048. },
  47049. "models.WrSpotGroupTradeSumEx": {
  47050. "type": "object",
  47051. "properties": {
  47052. "lst": {
  47053. "description": "指数列表",
  47054. "type": "array",
  47055. "items": {
  47056. "$ref": "#/definitions/models.WrSpotGroupTradeSum"
  47057. }
  47058. },
  47059. "prereckondate": {
  47060. "description": "上上个交易日(yyymmdd)",
  47061. "type": "string"
  47062. },
  47063. "reckondate": {
  47064. "description": "上个交易日(yyyymmdd)",
  47065. "type": "string"
  47066. }
  47067. }
  47068. },
  47069. "models.WrStandardFactoryItem": {
  47070. "type": "object",
  47071. "properties": {
  47072. "dgfactoryitemid": {
  47073. "description": "选择项id",
  47074. "type": "integer"
  47075. },
  47076. "dgfactoryitemvalue": {
  47077. "description": "要素项值",
  47078. "type": "string"
  47079. },
  47080. "warehouseid": {
  47081. "description": "仓库id",
  47082. "type": "integer"
  47083. }
  47084. }
  47085. },
  47086. "models.WrStandardFactoryItemEx": {
  47087. "type": "object",
  47088. "properties": {
  47089. "dgfactoryitemtypeid": {
  47090. "description": "要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)",
  47091. "type": "integer"
  47092. },
  47093. "itemlst": {
  47094. "description": "要素项列表",
  47095. "type": "array",
  47096. "items": {
  47097. "$ref": "#/definitions/models.WrStandardFactoryItem"
  47098. }
  47099. },
  47100. "itemtypename": {
  47101. "description": "要素项类型名称",
  47102. "type": "string"
  47103. },
  47104. "wrstandardid": {
  47105. "description": "品类",
  47106. "type": "integer"
  47107. }
  47108. }
  47109. },
  47110. "models.WrTradeDetail": {
  47111. "type": "object",
  47112. "properties": {
  47113. "accountid": {
  47114. "description": "资金账号",
  47115. "type": "integer"
  47116. },
  47117. "bannerpicurl": {
  47118. "description": "Banner图",
  47119. "type": "string"
  47120. },
  47121. "begindate": {
  47122. "description": "开始交易日(yyyymmdd)",
  47123. "type": "string"
  47124. },
  47125. "buyorsell": {
  47126. "description": "买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)",
  47127. "type": "integer"
  47128. },
  47129. "chargevalue": {
  47130. "description": "手续费",
  47131. "type": "number"
  47132. },
  47133. "deliverygoodscode": {
  47134. "description": "品种代码",
  47135. "type": "string"
  47136. },
  47137. "deliverygoodsid": {
  47138. "description": "品种ID",
  47139. "type": "integer"
  47140. },
  47141. "deliverygoodsname": {
  47142. "description": "品种名称",
  47143. "type": "string"
  47144. },
  47145. "deliverymonth": {
  47146. "description": "交收月",
  47147. "type": "string"
  47148. },
  47149. "enddate": {
  47150. "description": "结束交易日(yyyymmdd)",
  47151. "type": "string"
  47152. },
  47153. "enumdicname": {
  47154. "description": "单位名称",
  47155. "type": "string"
  47156. },
  47157. "haswr": {
  47158. "description": "是否有仓单-卖方 - 0:无仓单 1:有仓单",
  47159. "type": "integer"
  47160. },
  47161. "marketid": {
  47162. "description": "市场ID",
  47163. "type": "integer"
  47164. },
  47165. "matchaccountid": {
  47166. "description": "对手账号",
  47167. "type": "integer"
  47168. },
  47169. "matchusername": {
  47170. "description": "对手方",
  47171. "type": "string"
  47172. },
  47173. "minivalue": {
  47174. "description": "现货商品最小变动值",
  47175. "type": "integer"
  47176. },
  47177. "optioncompare": {
  47178. "description": "选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较",
  47179. "type": "string"
  47180. },
  47181. "thumurls": {
  47182. "description": "缩略图",
  47183. "type": "string"
  47184. },
  47185. "tradedate": {
  47186. "description": "交易日(yyyyMMdd)",
  47187. "type": "string"
  47188. },
  47189. "tradeprice": {
  47190. "description": "成交价格",
  47191. "type": "number"
  47192. },
  47193. "tradeqty": {
  47194. "description": "成交数量",
  47195. "type": "number"
  47196. },
  47197. "tradetime": {
  47198. "description": "成交时间",
  47199. "type": "string"
  47200. },
  47201. "unitid": {
  47202. "description": "现货商品单位ID",
  47203. "type": "integer"
  47204. },
  47205. "userid": {
  47206. "description": "用户ID",
  47207. "type": "integer"
  47208. },
  47209. "warehouseid": {
  47210. "description": "仓库ID",
  47211. "type": "integer"
  47212. },
  47213. "warehousename": {
  47214. "description": "仓库名称",
  47215. "type": "string"
  47216. },
  47217. "wrfactortypeid": {
  47218. "description": "仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)",
  47219. "type": "string"
  47220. },
  47221. "wrfactortypename": {
  47222. "description": "仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)",
  47223. "type": "string"
  47224. },
  47225. "wrstandardcode": {
  47226. "description": "现货商品代码",
  47227. "type": "string"
  47228. },
  47229. "wrstandardid": {
  47230. "description": "现货商品ID",
  47231. "type": "integer"
  47232. },
  47233. "wrstandardname": {
  47234. "description": "商品名称",
  47235. "type": "string"
  47236. },
  47237. "wrtradedetailid": {
  47238. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  47239. "type": "string"
  47240. },
  47241. "wrtradetype": {
  47242. "description": "仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)",
  47243. "type": "integer"
  47244. },
  47245. "wrtypename": {
  47246. "description": "商品",
  47247. "type": "string"
  47248. }
  47249. }
  47250. },
  47251. "models.WrTradeOrderDetail": {
  47252. "type": "object",
  47253. "properties": {
  47254. "buyorsell": {
  47255. "description": "买卖方向 0-买 1-卖",
  47256. "type": "integer"
  47257. },
  47258. "goodsid": {
  47259. "description": "商品id",
  47260. "type": "integer"
  47261. },
  47262. "orderid": {
  47263. "description": "委托单号",
  47264. "type": "string"
  47265. },
  47266. "orderprice": {
  47267. "description": "期初均价",
  47268. "type": "number"
  47269. },
  47270. "orderqty": {
  47271. "description": "委托数量",
  47272. "type": "integer"
  47273. },
  47274. "userid": {
  47275. "description": "用户id",
  47276. "type": "integer"
  47277. },
  47278. "username": {
  47279. "description": "用户名称(已脱敏)",
  47280. "type": "string"
  47281. }
  47282. }
  47283. },
  47284. "models.WrTypeItem": {
  47285. "type": "object",
  47286. "properties": {
  47287. "name": {
  47288. "description": "名称",
  47289. "type": "string"
  47290. },
  47291. "value": {
  47292. "description": "值",
  47293. "type": "string"
  47294. }
  47295. }
  47296. },
  47297. "models.WrUserFriend": {
  47298. "type": "object",
  47299. "properties": {
  47300. "friendname": {
  47301. "description": "朋友名称(已脱敏)",
  47302. "type": "string"
  47303. },
  47304. "frienduserid": {
  47305. "description": "朋友id",
  47306. "type": "integer"
  47307. },
  47308. "isfriend": {
  47309. "description": "是否好友 0-不是 1-是",
  47310. "type": "integer"
  47311. },
  47312. "userid": {
  47313. "description": "用户id",
  47314. "type": "integer"
  47315. }
  47316. }
  47317. },
  47318. "models.WrUserReceiptInfo": {
  47319. "type": "object",
  47320. "properties": {
  47321. "address": {
  47322. "description": "地址[发票类型:企业]",
  47323. "type": "string"
  47324. },
  47325. "autoid": {
  47326. "description": "AutoID",
  47327. "type": "integer"
  47328. },
  47329. "contactinfo": {
  47330. "description": "联系方式",
  47331. "type": "string"
  47332. },
  47333. "email": {
  47334. "description": "收件邮箱",
  47335. "type": "string"
  47336. },
  47337. "idnum": {
  47338. "description": "身份证号码[发票类型:个人]",
  47339. "type": "string"
  47340. },
  47341. "isdefault": {
  47342. "description": "是否默认地址 - 0:否 1:是",
  47343. "type": "integer"
  47344. },
  47345. "receiptaccount": {
  47346. "description": "发票帐号[发票类型:企业]",
  47347. "type": "string"
  47348. },
  47349. "receiptbank": {
  47350. "description": "发票开户行[发票类型:企业]",
  47351. "type": "string"
  47352. },
  47353. "receipttype": {
  47354. "description": "发票类型 - 1:个人 2:企业",
  47355. "type": "integer"
  47356. },
  47357. "taxpayerid": {
  47358. "description": "纳税人识别号",
  47359. "type": "string"
  47360. },
  47361. "userid": {
  47362. "description": "用户ID",
  47363. "type": "integer"
  47364. },
  47365. "username": {
  47366. "description": "户名(个人姓名或企业名称)",
  47367. "type": "string"
  47368. }
  47369. }
  47370. },
  47371. "models.Wrtradetradequote": {
  47372. "type": "object",
  47373. "properties": {
  47374. "buyaccountid": {
  47375. "description": "买方账号ID",
  47376. "type": "integer"
  47377. },
  47378. "buychargevalue": {
  47379. "description": "买方手续费",
  47380. "type": "number"
  47381. },
  47382. "buyuserid": {
  47383. "description": "买方用户ID",
  47384. "type": "integer"
  47385. },
  47386. "deliverygoodsid": {
  47387. "description": "现货品种ID",
  47388. "type": "integer"
  47389. },
  47390. "exchangerate": {
  47391. "description": "汇率",
  47392. "type": "number"
  47393. },
  47394. "marketid": {
  47395. "description": "市场ID",
  47396. "type": "integer"
  47397. },
  47398. "oritradeamount": {
  47399. "description": "成交金额[商品币种]",
  47400. "type": "number"
  47401. },
  47402. "performanceplanid": {
  47403. "description": "履约计划ID/合同ID",
  47404. "type": "integer"
  47405. },
  47406. "sellaccountid": {
  47407. "description": "卖方账号ID",
  47408. "type": "integer"
  47409. },
  47410. "sellchargevalue": {
  47411. "description": "卖方手续费",
  47412. "type": "number"
  47413. },
  47414. "selluserid": {
  47415. "description": "卖方用户ID",
  47416. "type": "integer"
  47417. },
  47418. "tradeamount": {
  47419. "description": "成交金额",
  47420. "type": "number"
  47421. },
  47422. "tradedate": {
  47423. "description": "交易日(yyyyMMdd)",
  47424. "type": "string"
  47425. },
  47426. "tradeprice": {
  47427. "description": "成交价格",
  47428. "type": "number"
  47429. },
  47430. "tradeqty": {
  47431. "description": "成交数量",
  47432. "type": "integer"
  47433. },
  47434. "tradetime": {
  47435. "description": "成交时间",
  47436. "type": "string"
  47437. },
  47438. "wrfactortypeid": {
  47439. "description": "仓单要素类型ID",
  47440. "type": "integer"
  47441. },
  47442. "wrstandardid": {
  47443. "description": "现货商品ID",
  47444. "type": "integer"
  47445. },
  47446. "wrtradedetailid": {
  47447. "description": "仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)",
  47448. "type": "integer"
  47449. }
  47450. }
  47451. },
  47452. "models.XHBRAND": {
  47453. "type": "object",
  47454. "properties": {
  47455. "brandid": {
  47456. "description": "品牌id",
  47457. "type": "integer"
  47458. },
  47459. "brandname": {
  47460. "description": "品牌名称",
  47461. "type": "string"
  47462. },
  47463. "isvalid": {
  47464. "description": "是否有效 0-无效 1-有效",
  47465. "type": "integer"
  47466. }
  47467. }
  47468. },
  47469. "models.XHDeliveryGoods": {
  47470. "type": "object",
  47471. "properties": {
  47472. "areauserid": {
  47473. "description": "所属机构",
  47474. "type": "integer"
  47475. },
  47476. "bdlst": {
  47477. "description": "品牌列表",
  47478. "type": "array",
  47479. "items": {
  47480. "$ref": "#/definitions/models.XHBRAND"
  47481. }
  47482. },
  47483. "deliverygoodscode": {
  47484. "description": "现货品种代码",
  47485. "type": "string"
  47486. },
  47487. "deliverygoodsid": {
  47488. "description": "现货品种ID(SEQ_DELIVERYGOODS)",
  47489. "type": "integer"
  47490. },
  47491. "deliverygoodsname": {
  47492. "description": "现货品种名称",
  47493. "type": "string"
  47494. },
  47495. "dgstatus": {
  47496. "description": "品种状态 - 作废 - 0:未激活 1:正常",
  47497. "type": "integer"
  47498. },
  47499. "filterSubEmpty": {
  47500. "description": "过滤下级为空的",
  47501. "type": "integer"
  47502. },
  47503. "isvalid": {
  47504. "description": "是否有效 - 0:无效 1:有效",
  47505. "type": "integer"
  47506. },
  47507. "remark": {
  47508. "description": "备注",
  47509. "type": "string"
  47510. },
  47511. "unitid": {
  47512. "description": "单位id(目前看,数据库中是空值)",
  47513. "type": "integer"
  47514. },
  47515. "wdlst": {
  47516. "description": "品类(现货商品)列表",
  47517. "type": "array",
  47518. "items": {
  47519. "$ref": "#/definitions/models.XHWrstandard"
  47520. }
  47521. }
  47522. }
  47523. },
  47524. "models.XHMiddleGoods": {
  47525. "type": "object",
  47526. "properties": {
  47527. "GPLST": {
  47528. "description": "期货品种列表",
  47529. "type": "array",
  47530. "items": {
  47531. "$ref": "#/definitions/models.TBGoodsGroup"
  47532. }
  47533. },
  47534. "convertratio": {
  47535. "description": "拆算系数",
  47536. "type": "number"
  47537. },
  47538. "costratio": {
  47539. "description": "成本权重",
  47540. "type": "number"
  47541. },
  47542. "deliverygoodsid": {
  47543. "description": "现货商品id",
  47544. "type": "integer"
  47545. },
  47546. "enumdicname": {
  47547. "description": "单位名称",
  47548. "type": "string"
  47549. },
  47550. "middlegoodscode": {
  47551. "description": "套保品种代码",
  47552. "type": "string"
  47553. },
  47554. "middlegoodsid": {
  47555. "description": "套保品种id",
  47556. "type": "integer"
  47557. },
  47558. "middlegoodsname": {
  47559. "description": "套保品种名称",
  47560. "type": "string"
  47561. },
  47562. "unitid": {
  47563. "description": "单位id",
  47564. "type": "integer"
  47565. }
  47566. }
  47567. },
  47568. "models.XHWrstandard": {
  47569. "type": "object",
  47570. "properties": {
  47571. "bannerpicurl": {
  47572. "description": "banner图",
  47573. "type": "string"
  47574. },
  47575. "deliverygoodsid": {
  47576. "description": "品种ID",
  47577. "type": "integer"
  47578. },
  47579. "enumdicname": {
  47580. "description": "单位名称",
  47581. "type": "string"
  47582. },
  47583. "mglst": {
  47584. "description": "套保品列表",
  47585. "type": "array",
  47586. "items": {
  47587. "$ref": "#/definitions/models.XHMiddleGoods"
  47588. }
  47589. },
  47590. "pictureurls": {
  47591. "description": "详情图片(逗号分隔)",
  47592. "type": "string"
  47593. },
  47594. "thumurls": {
  47595. "description": "缩略图片(1:1)(逗号分隔)",
  47596. "type": "string"
  47597. },
  47598. "unitid": {
  47599. "description": "单位id",
  47600. "type": "integer"
  47601. },
  47602. "vatrate": {
  47603. "description": "增值税率",
  47604. "type": "number"
  47605. },
  47606. "wrstandardcode": {
  47607. "description": "现货商品代码",
  47608. "type": "string"
  47609. },
  47610. "wrstandardid": {
  47611. "description": "现货商品ID(SEQ_WRSTANDARD)",
  47612. "type": "integer"
  47613. },
  47614. "wrstandardname": {
  47615. "description": "现货商品名称",
  47616. "type": "string"
  47617. }
  47618. }
  47619. },
  47620. "models.XhcpSellBackApplyEx": {
  47621. "type": "object",
  47622. "required": [
  47623. "userid"
  47624. ],
  47625. "properties": {
  47626. "applyremark": {
  47627. "description": "申请备注",
  47628. "type": "string"
  47629. },
  47630. "expirytype": {
  47631. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  47632. "type": "integer"
  47633. },
  47634. "goodsspec": {
  47635. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  47636. "type": "integer"
  47637. },
  47638. "holeflag": {
  47639. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  47640. "type": "integer"
  47641. },
  47642. "isunopened": {
  47643. "description": "是否原封 - 1:否 2:是",
  47644. "type": "integer"
  47645. },
  47646. "mpflag": {
  47647. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  47648. "type": "integer"
  47649. },
  47650. "openflag": {
  47651. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  47652. "type": "integer"
  47653. },
  47654. "phonenum": {
  47655. "description": "联系电话",
  47656. "type": "string"
  47657. },
  47658. "userid": {
  47659. "description": "所属用户ID",
  47660. "type": "integer"
  47661. },
  47662. "zpflag": {
  47663. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  47664. "type": "integer"
  47665. }
  47666. }
  47667. },
  47668. "models.Xhcpsellbackapply": {
  47669. "type": "object",
  47670. "required": [
  47671. "userid"
  47672. ],
  47673. "properties": {
  47674. "applyid": {
  47675. "description": "申请人",
  47676. "type": "integer"
  47677. },
  47678. "applyremark": {
  47679. "description": "申请备注",
  47680. "type": "string"
  47681. },
  47682. "applysrc": {
  47683. "description": "申请来源 - 1:管理端 2:终端",
  47684. "type": "integer"
  47685. },
  47686. "applystatus": {
  47687. "description": "申请状态 - 1:待确认 2:已处理",
  47688. "type": "integer"
  47689. },
  47690. "applytime": {
  47691. "description": "申请时间",
  47692. "type": "string"
  47693. },
  47694. "auditremark": {
  47695. "description": "审核备注",
  47696. "type": "string"
  47697. },
  47698. "auditsrc": {
  47699. "description": "审核来源 - 1:管理端 2:终端",
  47700. "type": "integer"
  47701. },
  47702. "expirytype": {
  47703. "description": "寄售有效期 - 1:3天 2:7天 3:15天 4:长期",
  47704. "type": "integer"
  47705. },
  47706. "goodsspec": {
  47707. "description": "商品规格 - 1:整件 2;整提 3:单罐 4:单盒",
  47708. "type": "integer"
  47709. },
  47710. "holeflag": {
  47711. "description": "是否破洞[原封] - 1:无破洞 2:破洞",
  47712. "type": "integer"
  47713. },
  47714. "isunopened": {
  47715. "description": "是否原封 - 1:否 2:是",
  47716. "type": "integer"
  47717. },
  47718. "mpflag": {
  47719. "description": "磨皮类型[原封] - 1:无磨皮 2:小磨皮 3:磨皮",
  47720. "type": "integer"
  47721. },
  47722. "openflag": {
  47723. "description": "是否非原封 - 1:无 2:皮张大、片张完整,无杂质、虫蛀、霉变、病变、烧皮。 3:片张较大、皮张基本完整,少量断片,少量病变、轻微虫蛀和烧皮。 4:皮张小、片张不完整,断片、碎片较多,有一定量杂质、病斑、虫蛀和烧皮。",
  47724. "type": "integer"
  47725. },
  47726. "phonenum": {
  47727. "description": "联系电话",
  47728. "type": "string"
  47729. },
  47730. "sellbackapplyid": {
  47731. "description": "回收申请ID - SEQ_XHCP_SELLBACKAPPLY",
  47732. "type": "string"
  47733. },
  47734. "userid": {
  47735. "description": "所属用户ID",
  47736. "type": "integer"
  47737. },
  47738. "zpflag": {
  47739. "description": "皱皮类型[原封] - 1:无皱皮 2:小皱皮 3:皱皮",
  47740. "type": "integer"
  47741. }
  47742. }
  47743. },
  47744. "order.QueryHisTradeDetailRsp": {
  47745. "type": "object",
  47746. "required": [
  47747. "accountid",
  47748. "buyorsell",
  47749. "goodsid",
  47750. "histradedate",
  47751. "marketid",
  47752. "memberuserid",
  47753. "orderid",
  47754. "tradeamount",
  47755. "tradedate",
  47756. "tradeid",
  47757. "tradeprice",
  47758. "tradeqty",
  47759. "tradetime"
  47760. ],
  47761. "properties": {
  47762. "accountid": {
  47763. "description": "账户ID[报价币种]",
  47764. "type": "integer"
  47765. },
  47766. "advanceratio": {
  47767. "description": "首付比率",
  47768. "type": "number"
  47769. },
  47770. "buildtype": {
  47771. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  47772. "type": "integer"
  47773. },
  47774. "buyorsell": {
  47775. "description": "方向 - 0:买 1:卖",
  47776. "type": "integer"
  47777. },
  47778. "charge": {
  47779. "description": "手续费",
  47780. "type": "number"
  47781. },
  47782. "closecharge": {
  47783. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  47784. "type": "number"
  47785. },
  47786. "closeexchagechargevalue": {
  47787. "description": "平仓交易所手续费设置值",
  47788. "type": "number"
  47789. },
  47790. "closefeealgorithm": {
  47791. "description": "平仓手续费收取方式 1:比率 2:固定",
  47792. "type": "integer"
  47793. },
  47794. "closememberchargevalue": {
  47795. "description": "平仓会员手续费设置值",
  47796. "type": "number"
  47797. },
  47798. "closepl": {
  47799. "description": "平仓盈亏",
  47800. "type": "number"
  47801. },
  47802. "closepl2": {
  47803. "description": "平仓盈亏[逐笔]",
  47804. "type": "number"
  47805. },
  47806. "closeqty": {
  47807. "description": "平仓数量(先建后平操作 需要记录)",
  47808. "type": "number"
  47809. },
  47810. "creditamount": {
  47811. "description": "授信金额",
  47812. "type": "number"
  47813. },
  47814. "decimalplace": {
  47815. "description": "商品报价小数位",
  47816. "type": "integer"
  47817. },
  47818. "enumdicname": {
  47819. "description": "单位名称",
  47820. "type": "string"
  47821. },
  47822. "gcaccountid": {
  47823. "description": "账户ID[合约币种]",
  47824. "type": "integer"
  47825. },
  47826. "goodscode": {
  47827. "description": "商品代码",
  47828. "type": "string"
  47829. },
  47830. "goodsid": {
  47831. "description": "商品ID",
  47832. "type": "integer"
  47833. },
  47834. "goodsname": {
  47835. "description": "商品名称",
  47836. "type": "string"
  47837. },
  47838. "goodunitid": {
  47839. "description": "商品单位id",
  47840. "type": "integer"
  47841. },
  47842. "histradedate": {
  47843. "description": "历史交易日",
  47844. "type": "string"
  47845. },
  47846. "intclosepl": {
  47847. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  47848. "type": "integer"
  47849. },
  47850. "isconfirmexercise": {
  47851. "description": "是否确认行权- 0:否 1:是",
  47852. "type": "integer"
  47853. },
  47854. "ismain": {
  47855. "description": "是否主单 - 0:不是 1:是",
  47856. "type": "integer"
  47857. },
  47858. "ispreexercise": {
  47859. "description": "是否预申报- 0:否 1:是",
  47860. "type": "integer"
  47861. },
  47862. "isreckoned": {
  47863. "description": "是否结算 - 0:未结算 1:已结算",
  47864. "type": "integer"
  47865. },
  47866. "isvaliddata": {
  47867. "description": "是否有效 - 0:无效 1:有效",
  47868. "type": "integer"
  47869. },
  47870. "listingselecttype": {
  47871. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  47872. "type": "integer"
  47873. },
  47874. "marketid": {
  47875. "description": "市场ID",
  47876. "type": "integer"
  47877. },
  47878. "marketname": {
  47879. "description": "市场名称",
  47880. "type": "string"
  47881. },
  47882. "matchaccountid": {
  47883. "description": "对手账号id",
  47884. "type": "integer"
  47885. },
  47886. "memberuserid": {
  47887. "description": "会员id 个人投资者 需要填写",
  47888. "type": "integer"
  47889. },
  47890. "opencharge": {
  47891. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  47892. "type": "number"
  47893. },
  47894. "openexchagechargevalue": {
  47895. "description": "建仓交易所手续费设置值",
  47896. "type": "number"
  47897. },
  47898. "openfeealgorithm": {
  47899. "description": "建仓手续费收取方式 1:比率 2:固定",
  47900. "type": "integer"
  47901. },
  47902. "openmemberchargevalue": {
  47903. "description": "建仓会员手续费设置值",
  47904. "type": "number"
  47905. },
  47906. "openqty": {
  47907. "description": "开仓数量(先建后平操作 需要记录)",
  47908. "type": "number"
  47909. },
  47910. "optiontype": {
  47911. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  47912. "type": "integer"
  47913. },
  47914. "orderid": {
  47915. "description": "委托单号",
  47916. "type": "string"
  47917. },
  47918. "payamount": {
  47919. "description": "支付金额(付款金额)",
  47920. "type": "number"
  47921. },
  47922. "performanceplanid": {
  47923. "description": "履约计划ID[期权]",
  47924. "type": "integer"
  47925. },
  47926. "performancestatus": {
  47927. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  47928. "type": "integer"
  47929. },
  47930. "preexerciseprice": {
  47931. "description": "预申报价格",
  47932. "type": "number"
  47933. },
  47934. "premium": {
  47935. "description": "权利金 - [持仓单的权利金]",
  47936. "type": "number"
  47937. },
  47938. "qtydecimalplace": {
  47939. "description": "商品报价小数位",
  47940. "type": "integer"
  47941. },
  47942. "recvamount": {
  47943. "description": "到账金额 = 成交金额 - 手续费",
  47944. "type": "number"
  47945. },
  47946. "relatedouttradeid": {
  47947. "description": "关联外部成交单ID",
  47948. "type": "integer"
  47949. },
  47950. "status": {
  47951. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  47952. "type": "integer"
  47953. },
  47954. "totalamount": {
  47955. "description": "订单总额 = 成交金额 + 手续费",
  47956. "type": "number"
  47957. },
  47958. "tradeamount": {
  47959. "description": "成交金额[账户币种,用于所有权]",
  47960. "type": "number"
  47961. },
  47962. "tradedate": {
  47963. "description": "交易日(yyyyMMdd)",
  47964. "type": "string"
  47965. },
  47966. "tradeid": {
  47967. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  47968. "type": "string"
  47969. },
  47970. "trademode": {
  47971. "description": "交易模式",
  47972. "type": "integer"
  47973. },
  47974. "tradeprice": {
  47975. "description": "成交价格",
  47976. "type": "number"
  47977. },
  47978. "tradeproperty": {
  47979. "description": "交易属性",
  47980. "type": "integer"
  47981. },
  47982. "tradeqty": {
  47983. "description": "成交数量",
  47984. "type": "number"
  47985. },
  47986. "tradetime": {
  47987. "description": "成交时间",
  47988. "type": "string"
  47989. },
  47990. "tradetype": {
  47991. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  47992. "type": "integer"
  47993. }
  47994. }
  47995. },
  47996. "order.QueryHisTradeOrderDetailRsp": {
  47997. "type": "object",
  47998. "required": [
  47999. "accountid",
  48000. "buildtype",
  48001. "buyorsell",
  48002. "goodsid",
  48003. "histradedate",
  48004. "marketid",
  48005. "memberuserid",
  48006. "operatetype",
  48007. "orderid",
  48008. "orderqty",
  48009. "ordertime",
  48010. "pricemode",
  48011. "tradedate",
  48012. "validtype"
  48013. ],
  48014. "properties": {
  48015. "accountid": {
  48016. "description": "账户ID[报价币种]",
  48017. "type": "integer"
  48018. },
  48019. "buildtype": {
  48020. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  48021. "type": "integer"
  48022. },
  48023. "buyorsell": {
  48024. "description": "买卖 - 0:买 1:卖",
  48025. "type": "integer"
  48026. },
  48027. "cancelorderid": {
  48028. "description": "撤单单号(撤单时填写)",
  48029. "type": "string"
  48030. },
  48031. "cancelqty": {
  48032. "description": "撤单数量",
  48033. "type": "number"
  48034. },
  48035. "clientordertime": {
  48036. "description": "客户端委托时间",
  48037. "type": "string"
  48038. },
  48039. "clientticket": {
  48040. "description": "客户端流水号",
  48041. "type": "string"
  48042. },
  48043. "clienttype": {
  48044. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  48045. "type": "integer"
  48046. },
  48047. "closeexchagechargevalue": {
  48048. "description": "平仓交易所手续费设置值",
  48049. "type": "number"
  48050. },
  48051. "closefeealgorithm": {
  48052. "description": "平仓手续费收取方式 1:比率 2:固定",
  48053. "type": "integer"
  48054. },
  48055. "closefreezecharge": {
  48056. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  48057. "type": "number"
  48058. },
  48059. "closememberchargevalue": {
  48060. "description": "平仓会员手续费设置值",
  48061. "type": "number"
  48062. },
  48063. "closeqty": {
  48064. "description": "平仓数量(先建后平操作 需要记录)",
  48065. "type": "number"
  48066. },
  48067. "closetradeqty": {
  48068. "description": "平仓成交数量(先建后平操作,需要记录)",
  48069. "type": "number"
  48070. },
  48071. "closeunfreezecharge": {
  48072. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  48073. "type": "number"
  48074. },
  48075. "decimalplace": {
  48076. "description": "商品报价小数位",
  48077. "type": "integer"
  48078. },
  48079. "delistingtype": {
  48080. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  48081. "type": "integer"
  48082. },
  48083. "enumdicname": {
  48084. "description": "单位名称",
  48085. "type": "string"
  48086. },
  48087. "freezecharge": {
  48088. "description": "冻结手续费",
  48089. "type": "number"
  48090. },
  48091. "freezemargin": {
  48092. "description": "冻结保证金(冻结交易金额)",
  48093. "type": "number"
  48094. },
  48095. "gcaccountid": {
  48096. "description": "账户ID[合约币种]",
  48097. "type": "integer"
  48098. },
  48099. "goodscode": {
  48100. "description": "商品代码",
  48101. "type": "string"
  48102. },
  48103. "goodsid": {
  48104. "description": "商品ID",
  48105. "type": "integer"
  48106. },
  48107. "goodsname": {
  48108. "description": "商品名称",
  48109. "type": "string"
  48110. },
  48111. "goodunitid": {
  48112. "description": "商品单位id",
  48113. "type": "integer"
  48114. },
  48115. "histradedate": {
  48116. "description": "历史交易日",
  48117. "type": "string"
  48118. },
  48119. "isconfirmexercise": {
  48120. "description": "是否确认行权- 0:否 1:是",
  48121. "type": "integer"
  48122. },
  48123. "ispreexercise": {
  48124. "description": "是否预申报- 0:否 1:是",
  48125. "type": "integer"
  48126. },
  48127. "isvaliddata": {
  48128. "description": "是否有效 - 0:无效 1:有效",
  48129. "type": "integer"
  48130. },
  48131. "listingselecttype": {
  48132. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  48133. "type": "integer"
  48134. },
  48135. "marginalgorithm": {
  48136. "description": "保证金收取方式 1:比率 2:固定",
  48137. "type": "integer"
  48138. },
  48139. "marginvalue": {
  48140. "description": "即市保证金设置值",
  48141. "type": "number"
  48142. },
  48143. "marketid": {
  48144. "description": "市场ID",
  48145. "type": "integer"
  48146. },
  48147. "marketmaxsub": {
  48148. "description": "市价最大偏移范围",
  48149. "type": "number"
  48150. },
  48151. "marketname": {
  48152. "description": "市场名称",
  48153. "type": "string"
  48154. },
  48155. "memberuserid": {
  48156. "description": "所属会员UserID",
  48157. "type": "integer"
  48158. },
  48159. "openexchagechargevalue": {
  48160. "description": "建仓交易所手续费设置值",
  48161. "type": "number"
  48162. },
  48163. "openfeealgorithm": {
  48164. "description": "建仓手续费收取方式 1:比率 2:固定",
  48165. "type": "integer"
  48166. },
  48167. "openfreezecharge": {
  48168. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  48169. "type": "number"
  48170. },
  48171. "openmemberchargevalue": {
  48172. "description": "建仓会员手续费设置值",
  48173. "type": "number"
  48174. },
  48175. "openqty": {
  48176. "description": "开仓数量(先建后平操作,需要记录)",
  48177. "type": "number"
  48178. },
  48179. "opentradeqty": {
  48180. "description": "开仓成交数量(先建后平操作,需要记录)",
  48181. "type": "number"
  48182. },
  48183. "openunfreezecharge": {
  48184. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  48185. "type": "number"
  48186. },
  48187. "operatetype": {
  48188. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  48189. "type": "integer"
  48190. },
  48191. "operatorid": {
  48192. "description": "登录账号(LoginID)",
  48193. "type": "integer"
  48194. },
  48195. "optiontype": {
  48196. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  48197. "type": "integer"
  48198. },
  48199. "orderid": {
  48200. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  48201. "type": "string"
  48202. },
  48203. "orderprice": {
  48204. "description": "委托价格",
  48205. "type": "number"
  48206. },
  48207. "orderqty": {
  48208. "description": "委托数量",
  48209. "type": "number"
  48210. },
  48211. "ordersrc": {
  48212. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  48213. "type": "integer"
  48214. },
  48215. "orderstatus": {
  48216. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  48217. "type": "integer"
  48218. },
  48219. "ordertime": {
  48220. "description": "委托时间",
  48221. "type": "string"
  48222. },
  48223. "preexerciseprice": {
  48224. "description": "预申报价格",
  48225. "type": "number"
  48226. },
  48227. "premium": {
  48228. "description": "权利金",
  48229. "type": "number"
  48230. },
  48231. "preorderid": {
  48232. "description": "关联预埋单号(止盈止损单时填写)",
  48233. "type": "string"
  48234. },
  48235. "pricemode": {
  48236. "description": "取价方式 - 1:市价 2: 限价",
  48237. "type": "integer"
  48238. },
  48239. "qtydecimalplace": {
  48240. "description": "成交量小数位",
  48241. "type": "integer"
  48242. },
  48243. "quoteid": {
  48244. "description": "报价单ID",
  48245. "type": "integer"
  48246. },
  48247. "relatedid": {
  48248. "description": "关联单号(交割单)",
  48249. "type": "string"
  48250. },
  48251. "retcode": {
  48252. "description": "错误代码",
  48253. "type": "integer"
  48254. },
  48255. "sessionid": {
  48256. "description": "会话ID",
  48257. "type": "integer"
  48258. },
  48259. "tradedate": {
  48260. "description": "交易日(yyyyMMdd)",
  48261. "type": "string"
  48262. },
  48263. "trademode": {
  48264. "description": "交易模式",
  48265. "type": "integer"
  48266. },
  48267. "tradeproperty": {
  48268. "description": "交易属性",
  48269. "type": "integer"
  48270. },
  48271. "tradeqty": {
  48272. "description": "成交数量",
  48273. "type": "number"
  48274. },
  48275. "unfreezecharge": {
  48276. "description": "解冻手续费",
  48277. "type": "number"
  48278. },
  48279. "unfreezemargin": {
  48280. "description": "解冻保证金",
  48281. "type": "number"
  48282. },
  48283. "updatetime": {
  48284. "description": "更新时间",
  48285. "type": "string"
  48286. },
  48287. "uuid": {
  48288. "description": "发起端唯一id",
  48289. "type": "string"
  48290. },
  48291. "validtime": {
  48292. "description": "有效期限",
  48293. "type": "string"
  48294. },
  48295. "validtype": {
  48296. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  48297. "type": "integer"
  48298. },
  48299. "volumetype": {
  48300. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  48301. "type": "integer"
  48302. }
  48303. }
  48304. },
  48305. "order.QueryTradeDetailRsp": {
  48306. "type": "object",
  48307. "required": [
  48308. "accountid",
  48309. "buyorsell",
  48310. "goodsid",
  48311. "marketid",
  48312. "memberuserid",
  48313. "orderid",
  48314. "tradeamount",
  48315. "tradedate",
  48316. "tradeid",
  48317. "tradeprice",
  48318. "tradeqty",
  48319. "tradetime"
  48320. ],
  48321. "properties": {
  48322. "accountid": {
  48323. "description": "账户ID[报价币种]",
  48324. "type": "integer"
  48325. },
  48326. "advanceratio": {
  48327. "description": "首付比率",
  48328. "type": "number"
  48329. },
  48330. "buildtype": {
  48331. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  48332. "type": "integer"
  48333. },
  48334. "buyorsell": {
  48335. "description": "方向 - 0:买 1:卖",
  48336. "type": "integer"
  48337. },
  48338. "charge": {
  48339. "description": "手续费",
  48340. "type": "number"
  48341. },
  48342. "closecharge": {
  48343. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  48344. "type": "number"
  48345. },
  48346. "closeexchagechargevalue": {
  48347. "description": "平仓交易所手续费设置值",
  48348. "type": "number"
  48349. },
  48350. "closefeealgorithm": {
  48351. "description": "平仓手续费收取方式 1:比率 2:固定",
  48352. "type": "integer"
  48353. },
  48354. "closememberchargevalue": {
  48355. "description": "平仓会员手续费设置值",
  48356. "type": "number"
  48357. },
  48358. "closepl": {
  48359. "description": "平仓盈亏",
  48360. "type": "number"
  48361. },
  48362. "closepl2": {
  48363. "description": "平仓盈亏[逐笔]",
  48364. "type": "number"
  48365. },
  48366. "closeqty": {
  48367. "description": "平仓数量(先建后平操作 需要记录)",
  48368. "type": "number"
  48369. },
  48370. "creditamount": {
  48371. "description": "授信金额",
  48372. "type": "number"
  48373. },
  48374. "decimalplace": {
  48375. "description": "商品报价小数位",
  48376. "type": "integer"
  48377. },
  48378. "enumdicname": {
  48379. "description": "单位名称",
  48380. "type": "string"
  48381. },
  48382. "gcaccountid": {
  48383. "description": "账户ID[合约币种]",
  48384. "type": "integer"
  48385. },
  48386. "goodscode": {
  48387. "description": "商品代码",
  48388. "type": "string"
  48389. },
  48390. "goodsid": {
  48391. "description": "商品ID",
  48392. "type": "integer"
  48393. },
  48394. "goodsname": {
  48395. "description": "商品名称",
  48396. "type": "string"
  48397. },
  48398. "goodunitid": {
  48399. "description": "商品单位id",
  48400. "type": "integer"
  48401. },
  48402. "intclosepl": {
  48403. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  48404. "type": "integer"
  48405. },
  48406. "isconfirmexercise": {
  48407. "description": "是否确认行权- 0:否 1:是",
  48408. "type": "integer"
  48409. },
  48410. "ismain": {
  48411. "description": "是否主单 - 0:不是 1:是",
  48412. "type": "integer"
  48413. },
  48414. "ispreexercise": {
  48415. "description": "是否预申报- 0:否 1:是",
  48416. "type": "integer"
  48417. },
  48418. "isreckoned": {
  48419. "description": "是否结算 - 0:未结算 1:已结算",
  48420. "type": "integer"
  48421. },
  48422. "listingselecttype": {
  48423. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  48424. "type": "integer"
  48425. },
  48426. "marketid": {
  48427. "description": "市场ID",
  48428. "type": "integer"
  48429. },
  48430. "marketname": {
  48431. "description": "市场名称",
  48432. "type": "string"
  48433. },
  48434. "matchaccountid": {
  48435. "description": "对手账号id",
  48436. "type": "integer"
  48437. },
  48438. "memberuserid": {
  48439. "description": "会员id 个人投资者 需要填写",
  48440. "type": "integer"
  48441. },
  48442. "opencharge": {
  48443. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  48444. "type": "number"
  48445. },
  48446. "openexchagechargevalue": {
  48447. "description": "建仓交易所手续费设置值",
  48448. "type": "number"
  48449. },
  48450. "openfeealgorithm": {
  48451. "description": "建仓手续费收取方式 1:比率 2:固定",
  48452. "type": "integer"
  48453. },
  48454. "openmemberchargevalue": {
  48455. "description": "建仓会员手续费设置值",
  48456. "type": "number"
  48457. },
  48458. "openqty": {
  48459. "description": "开仓数量(先建后平操作 需要记录)",
  48460. "type": "number"
  48461. },
  48462. "optiontype": {
  48463. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  48464. "type": "integer"
  48465. },
  48466. "orderid": {
  48467. "description": "委托单号",
  48468. "type": "string"
  48469. },
  48470. "payamount": {
  48471. "description": "支付金额(付款金额)",
  48472. "type": "number"
  48473. },
  48474. "performanceplanid": {
  48475. "description": "履约计划ID[期权]",
  48476. "type": "integer"
  48477. },
  48478. "performancestatus": {
  48479. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  48480. "type": "integer"
  48481. },
  48482. "preexerciseprice": {
  48483. "description": "预申报价格",
  48484. "type": "number"
  48485. },
  48486. "premium": {
  48487. "description": "权利金 - [持仓单的权利金]",
  48488. "type": "number"
  48489. },
  48490. "qtydecimalplace": {
  48491. "description": "商品报价小数位",
  48492. "type": "integer"
  48493. },
  48494. "recvamount": {
  48495. "description": "到账金额 = 成交金额 - 手续费",
  48496. "type": "number"
  48497. },
  48498. "relatedouttradeid": {
  48499. "description": "关联外部成交单ID",
  48500. "type": "integer"
  48501. },
  48502. "status": {
  48503. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  48504. "type": "integer"
  48505. },
  48506. "totalamount": {
  48507. "description": "订单总额 = 成交金额 + 手续费",
  48508. "type": "number"
  48509. },
  48510. "tradeamount": {
  48511. "description": "成交金额[账户币种,用于所有权]",
  48512. "type": "number"
  48513. },
  48514. "tradedate": {
  48515. "description": "交易日(yyyyMMdd)",
  48516. "type": "string"
  48517. },
  48518. "tradeid": {
  48519. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  48520. "type": "string"
  48521. },
  48522. "trademode": {
  48523. "description": "交易模式",
  48524. "type": "integer"
  48525. },
  48526. "tradeprice": {
  48527. "description": "成交价格",
  48528. "type": "number"
  48529. },
  48530. "tradeproperty": {
  48531. "description": "交易属性",
  48532. "type": "integer"
  48533. },
  48534. "tradeqty": {
  48535. "description": "成交数量",
  48536. "type": "number"
  48537. },
  48538. "tradetime": {
  48539. "description": "成交时间",
  48540. "type": "string"
  48541. },
  48542. "tradetype": {
  48543. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  48544. "type": "integer"
  48545. }
  48546. }
  48547. },
  48548. "order.QueryTradeOrderDetailRsp": {
  48549. "type": "object",
  48550. "required": [
  48551. "accountid",
  48552. "buildtype",
  48553. "buyorsell",
  48554. "goodsid",
  48555. "marketid",
  48556. "operatetype",
  48557. "orderqty",
  48558. "ordertime",
  48559. "pricemode",
  48560. "tradedate",
  48561. "validtype"
  48562. ],
  48563. "properties": {
  48564. "accountid": {
  48565. "description": "账户ID[报价币种]",
  48566. "type": "integer"
  48567. },
  48568. "buildtype": {
  48569. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  48570. "type": "integer"
  48571. },
  48572. "buyorsell": {
  48573. "description": "买卖 - 0:买 1:卖",
  48574. "type": "integer"
  48575. },
  48576. "cancelorderid": {
  48577. "description": "撤单单号(撤单时填写)",
  48578. "type": "string"
  48579. },
  48580. "cancelqty": {
  48581. "description": "撤单数量",
  48582. "type": "number"
  48583. },
  48584. "clienttype": {
  48585. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  48586. "type": "integer"
  48587. },
  48588. "closefreezecharge": {
  48589. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  48590. "type": "number"
  48591. },
  48592. "closeqty": {
  48593. "description": "平仓数量(先建后平操作 需要记录)",
  48594. "type": "number"
  48595. },
  48596. "closetradeqty": {
  48597. "description": "平仓成交数量(先建后平操作,需要记录)",
  48598. "type": "number"
  48599. },
  48600. "closeunfreezecharge": {
  48601. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  48602. "type": "number"
  48603. },
  48604. "decimalplace": {
  48605. "description": "商品报价小数位",
  48606. "type": "integer"
  48607. },
  48608. "delistingtype": {
  48609. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  48610. "type": "integer"
  48611. },
  48612. "enableqty": {
  48613. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  48614. "type": "number"
  48615. },
  48616. "enumdicname": {
  48617. "description": "单位名称",
  48618. "type": "string"
  48619. },
  48620. "freezecharge": {
  48621. "description": "冻结手续费",
  48622. "type": "number"
  48623. },
  48624. "freezemargin": {
  48625. "description": "冻结保证金(冻结交易金额)",
  48626. "type": "number"
  48627. },
  48628. "goodscode": {
  48629. "description": "商品代码",
  48630. "type": "string"
  48631. },
  48632. "goodsid": {
  48633. "description": "商品ID",
  48634. "type": "integer"
  48635. },
  48636. "goodsname": {
  48637. "description": "商品名称",
  48638. "type": "string"
  48639. },
  48640. "goodunitid": {
  48641. "description": "商品单位id",
  48642. "type": "integer"
  48643. },
  48644. "listingselecttype": {
  48645. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  48646. "type": "integer"
  48647. },
  48648. "marketid": {
  48649. "description": "市场ID",
  48650. "type": "integer"
  48651. },
  48652. "marketname": {
  48653. "description": "市场名称",
  48654. "type": "string"
  48655. },
  48656. "openfreezecharge": {
  48657. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  48658. "type": "number"
  48659. },
  48660. "openqty": {
  48661. "description": "开仓数量(先建后平操作,需要记录)",
  48662. "type": "number"
  48663. },
  48664. "opentradeqty": {
  48665. "description": "开仓成交数量(先建后平操作,需要记录)",
  48666. "type": "number"
  48667. },
  48668. "openunfreezecharge": {
  48669. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  48670. "type": "number"
  48671. },
  48672. "operatetype": {
  48673. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  48674. "type": "integer"
  48675. },
  48676. "operatorid": {
  48677. "description": "登录账号(LoginID)",
  48678. "type": "integer"
  48679. },
  48680. "orderid": {
  48681. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  48682. "type": "string"
  48683. },
  48684. "orderprice": {
  48685. "description": "委托价格",
  48686. "type": "number"
  48687. },
  48688. "orderqty": {
  48689. "description": "委托数量",
  48690. "type": "number"
  48691. },
  48692. "ordersrc": {
  48693. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  48694. "type": "integer"
  48695. },
  48696. "orderstatus": {
  48697. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  48698. "type": "integer"
  48699. },
  48700. "ordertime": {
  48701. "description": "委托时间",
  48702. "type": "string"
  48703. },
  48704. "preorderid": {
  48705. "description": "关联预埋单号(止盈止损单时填写)",
  48706. "type": "string"
  48707. },
  48708. "pricemode": {
  48709. "description": "取价方式 - 1:市价 2: 限价",
  48710. "type": "integer"
  48711. },
  48712. "qtydecimalplace": {
  48713. "description": "商品报价小数位",
  48714. "type": "integer"
  48715. },
  48716. "relatedid": {
  48717. "description": "关联单号(交割单)",
  48718. "type": "string"
  48719. },
  48720. "tradedate": {
  48721. "description": "交易日(yyyyMMdd)",
  48722. "type": "string"
  48723. },
  48724. "trademode": {
  48725. "description": "交易模式",
  48726. "type": "integer"
  48727. },
  48728. "tradeqty": {
  48729. "description": "成交数量",
  48730. "type": "number"
  48731. },
  48732. "unfreezecharge": {
  48733. "description": "解冻手续费",
  48734. "type": "number"
  48735. },
  48736. "unfreezemargin": {
  48737. "description": "解冻保证金",
  48738. "type": "number"
  48739. },
  48740. "validtime": {
  48741. "description": "有效期限",
  48742. "type": "string"
  48743. },
  48744. "validtype": {
  48745. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  48746. "type": "integer"
  48747. },
  48748. "volumetype": {
  48749. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  48750. "type": "integer"
  48751. }
  48752. }
  48753. },
  48754. "order.QueryTradePositionRsp": {
  48755. "type": "object",
  48756. "required": [
  48757. "goodsid"
  48758. ],
  48759. "properties": {
  48760. "accountid": {
  48761. "description": "资金账户",
  48762. "type": "integer"
  48763. },
  48764. "agreeunit": {
  48765. "description": "合约单位",
  48766. "type": "number"
  48767. },
  48768. "averageprice": {
  48769. "description": "持仓均价",
  48770. "type": "number"
  48771. },
  48772. "buyorsell": {
  48773. "description": "方向 - 0:买 1:卖",
  48774. "type": "integer"
  48775. },
  48776. "closetotalqty": {
  48777. "description": "平仓总数量",
  48778. "type": "number"
  48779. },
  48780. "curholderamount": {
  48781. "description": "当前持仓总金额[商品币种]",
  48782. "type": "number"
  48783. },
  48784. "curpositionqty": {
  48785. "description": "当前持仓总数量",
  48786. "type": "number"
  48787. },
  48788. "currencyid": {
  48789. "description": "报价货币ID",
  48790. "type": "integer"
  48791. },
  48792. "curtdposition": {
  48793. "description": "期末今日头寸",
  48794. "type": "number"
  48795. },
  48796. "decimalplace": {
  48797. "description": "报价小数位",
  48798. "type": "integer"
  48799. },
  48800. "enableqty": {
  48801. "description": "可用量",
  48802. "type": "number"
  48803. },
  48804. "fretdposition": {
  48805. "description": "冻结今日头寸",
  48806. "type": "number"
  48807. },
  48808. "frozenqty": {
  48809. "description": "持仓冻结数量",
  48810. "type": "number"
  48811. },
  48812. "goodscode": {
  48813. "description": "商品代码",
  48814. "type": "string"
  48815. },
  48816. "goodsid": {
  48817. "description": "商品Id",
  48818. "type": "integer"
  48819. },
  48820. "goodsname": {
  48821. "description": "商品名称",
  48822. "type": "string"
  48823. },
  48824. "goodunit": {
  48825. "description": "报价单位",
  48826. "type": "string"
  48827. },
  48828. "goodunitid": {
  48829. "description": "报价单位ID",
  48830. "type": "integer"
  48831. },
  48832. "holderamount": {
  48833. "description": "期初持仓总金额[商品币种]",
  48834. "type": "number"
  48835. },
  48836. "lastprice": {
  48837. "description": "最新价",
  48838. "type": "number"
  48839. },
  48840. "marketamount": {
  48841. "description": "市值",
  48842. "type": "number"
  48843. },
  48844. "marketid": {
  48845. "description": "所属市场ID",
  48846. "type": "integer"
  48847. },
  48848. "openreqqty": {
  48849. "description": "开仓申请数量(用于比较最大持仓数量)",
  48850. "type": "number"
  48851. },
  48852. "opentotalqty": {
  48853. "description": "开仓总数量",
  48854. "type": "number"
  48855. },
  48856. "otherfrozenqty": {
  48857. "description": "持仓其他冻结数量(交割冻结)",
  48858. "type": "number"
  48859. },
  48860. "positionpl": {
  48861. "description": "持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位",
  48862. "type": "number"
  48863. },
  48864. "positionplrate": {
  48865. "description": "持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本",
  48866. "type": "number"
  48867. },
  48868. "positionqty": {
  48869. "description": "期初持仓数量",
  48870. "type": "number"
  48871. },
  48872. "qtydecimalplace": {
  48873. "description": "成交量小数位",
  48874. "type": "integer"
  48875. },
  48876. "refgoodscode": {
  48877. "description": "参考商品代码",
  48878. "type": "string"
  48879. },
  48880. "refgoodsid": {
  48881. "description": "参考商品ID",
  48882. "type": "integer"
  48883. },
  48884. "tnqty": {
  48885. "description": "T+N冻结总量",
  48886. "type": "number"
  48887. },
  48888. "tnusedqty": {
  48889. "description": "T+N使用量(可以使用T+N的冻结数量)",
  48890. "type": "number"
  48891. },
  48892. "trademode": {
  48893. "description": "交易模式",
  48894. "type": "integer"
  48895. },
  48896. "tradeproperty": {
  48897. "description": "交易属性",
  48898. "type": "integer"
  48899. },
  48900. "usedmargin": {
  48901. "description": "占用保证金[商品币种]",
  48902. "type": "number"
  48903. }
  48904. }
  48905. },
  48906. "pb.GoodsMarginCfgStruct": {
  48907. "type": "object",
  48908. "properties": {
  48909. "CustomerTypeID": {
  48910. "description": "投资者客户类型",
  48911. "type": "integer"
  48912. },
  48913. "GoodsID": {
  48914. "description": "商品ID",
  48915. "type": "integer"
  48916. },
  48917. "IsDefault": {
  48918. "description": "是否默认标志位",
  48919. "type": "integer"
  48920. },
  48921. "LockMarginValue": {
  48922. "description": "锁仓保证金",
  48923. "type": "number"
  48924. },
  48925. "MarginAlgorithm": {
  48926. "description": "保证金计算方式",
  48927. "type": "integer"
  48928. },
  48929. "MarketMarginValue": {
  48930. "description": "即市保证金值",
  48931. "type": "number"
  48932. },
  48933. "RealMarginAlgorithm": {
  48934. "description": "实付保证金计算方式",
  48935. "type": "integer"
  48936. },
  48937. "RealMarginValue": {
  48938. "description": "实付比例",
  48939. "type": "number"
  48940. },
  48941. "ReckonMarginValue": {
  48942. "description": "结算保证金值",
  48943. "type": "number"
  48944. }
  48945. }
  48946. },
  48947. "quote.HistoryData": {
  48948. "type": "object",
  48949. "properties": {
  48950. "c": {
  48951. "description": "收盘价",
  48952. "type": "number"
  48953. },
  48954. "f": {
  48955. "description": "是否补充数据",
  48956. "type": "boolean"
  48957. },
  48958. "h": {
  48959. "description": "最高价",
  48960. "type": "number"
  48961. },
  48962. "hv": {
  48963. "description": "持仓量",
  48964. "type": "integer"
  48965. },
  48966. "l": {
  48967. "description": "最低价",
  48968. "type": "number"
  48969. },
  48970. "o": {
  48971. "description": "开盘价",
  48972. "type": "number"
  48973. },
  48974. "s": {
  48975. "description": "结算价,日线周期(包括)以上才有",
  48976. "type": "number"
  48977. },
  48978. "ts": {
  48979. "description": "时间",
  48980. "type": "string"
  48981. },
  48982. "tt": {
  48983. "description": "总金额",
  48984. "type": "number"
  48985. },
  48986. "tv": {
  48987. "description": "总量(成交量)",
  48988. "type": "integer"
  48989. }
  48990. }
  48991. },
  48992. "quote.HistoryTikData": {
  48993. "type": "object",
  48994. "properties": {
  48995. "AV": {
  48996. "description": "卖量",
  48997. "type": "integer"
  48998. },
  48999. "Ask": {
  49000. "description": "卖价",
  49001. "type": "number"
  49002. },
  49003. "BV": {
  49004. "description": "买量",
  49005. "type": "integer"
  49006. },
  49007. "Bid": {
  49008. "description": "买价",
  49009. "type": "number"
  49010. },
  49011. "HI": {
  49012. "description": "单笔持仓",
  49013. "type": "integer"
  49014. },
  49015. "HV": {
  49016. "description": "持仓量",
  49017. "type": "integer"
  49018. },
  49019. "PE": {
  49020. "description": "现价",
  49021. "type": "number"
  49022. },
  49023. "TDR": {
  49024. "description": "交易方向,0:买 1:卖",
  49025. "type": "integer"
  49026. },
  49027. "TK": {
  49028. "description": "交易类型",
  49029. "type": "integer"
  49030. },
  49031. "TS": {
  49032. "description": "行情时间文本",
  49033. "type": "string"
  49034. },
  49035. "TT": {
  49036. "description": "现金额",
  49037. "type": "number"
  49038. },
  49039. "Vol": {
  49040. "description": "现量",
  49041. "type": "integer"
  49042. }
  49043. }
  49044. },
  49045. "quote.QueryQuoteDayRsp": {
  49046. "type": "object",
  49047. "properties": {
  49048. "ask": {
  49049. "description": "卖1",
  49050. "type": "number"
  49051. },
  49052. "ask10": {
  49053. "description": "卖10",
  49054. "type": "number"
  49055. },
  49056. "ask2": {
  49057. "description": "卖2",
  49058. "type": "number"
  49059. },
  49060. "ask3": {
  49061. "description": "卖3",
  49062. "type": "number"
  49063. },
  49064. "ask4": {
  49065. "description": "卖4",
  49066. "type": "number"
  49067. },
  49068. "ask5": {
  49069. "description": "卖5",
  49070. "type": "number"
  49071. },
  49072. "ask6": {
  49073. "description": "卖6",
  49074. "type": "number"
  49075. },
  49076. "ask7": {
  49077. "description": "卖7",
  49078. "type": "number"
  49079. },
  49080. "ask8": {
  49081. "description": "卖8",
  49082. "type": "number"
  49083. },
  49084. "ask9": {
  49085. "description": "卖9",
  49086. "type": "number"
  49087. },
  49088. "askorderid": {
  49089. "description": "卖单号1",
  49090. "type": "integer"
  49091. },
  49092. "askorderid2": {
  49093. "description": "卖单号2",
  49094. "type": "integer"
  49095. },
  49096. "askorderid3": {
  49097. "description": "卖单号3",
  49098. "type": "integer"
  49099. },
  49100. "askorderid4": {
  49101. "description": "卖单号4",
  49102. "type": "integer"
  49103. },
  49104. "askorderid5": {
  49105. "description": "卖单号5",
  49106. "type": "integer"
  49107. },
  49108. "askordervolume": {
  49109. "description": "卖单量1",
  49110. "type": "integer"
  49111. },
  49112. "askordervolume10": {
  49113. "description": "卖单量10",
  49114. "type": "integer"
  49115. },
  49116. "askordervolume2": {
  49117. "description": "卖单量2",
  49118. "type": "integer"
  49119. },
  49120. "askordervolume3": {
  49121. "description": "卖单量3",
  49122. "type": "integer"
  49123. },
  49124. "askordervolume4": {
  49125. "description": "卖单量4",
  49126. "type": "integer"
  49127. },
  49128. "askordervolume5": {
  49129. "description": "卖单量5",
  49130. "type": "integer"
  49131. },
  49132. "askordervolume6": {
  49133. "description": "卖单量6",
  49134. "type": "integer"
  49135. },
  49136. "askordervolume7": {
  49137. "description": "卖单量7",
  49138. "type": "integer"
  49139. },
  49140. "askordervolume8": {
  49141. "description": "卖单量8",
  49142. "type": "integer"
  49143. },
  49144. "askordervolume9": {
  49145. "description": "卖单量9",
  49146. "type": "integer"
  49147. },
  49148. "askqueueinfo": {
  49149. "description": "大利市卖港股用",
  49150. "type": "string"
  49151. },
  49152. "askvolume": {
  49153. "description": "卖量1",
  49154. "type": "integer"
  49155. },
  49156. "askvolume10": {
  49157. "description": "卖量10",
  49158. "type": "integer"
  49159. },
  49160. "askvolume2": {
  49161. "description": "卖量2",
  49162. "type": "integer"
  49163. },
  49164. "askvolume3": {
  49165. "description": "卖量3",
  49166. "type": "integer"
  49167. },
  49168. "askvolume4": {
  49169. "description": "卖量4",
  49170. "type": "integer"
  49171. },
  49172. "askvolume5": {
  49173. "description": "卖量5",
  49174. "type": "integer"
  49175. },
  49176. "askvolume6": {
  49177. "description": "卖量6",
  49178. "type": "integer"
  49179. },
  49180. "askvolume7": {
  49181. "description": "卖量7",
  49182. "type": "integer"
  49183. },
  49184. "askvolume8": {
  49185. "description": "卖量8",
  49186. "type": "integer"
  49187. },
  49188. "askvolume9": {
  49189. "description": "卖量9",
  49190. "type": "integer"
  49191. },
  49192. "averageprice": {
  49193. "description": "均价",
  49194. "type": "number"
  49195. },
  49196. "bid": {
  49197. "description": "买1",
  49198. "type": "number"
  49199. },
  49200. "bid10": {
  49201. "description": "买10",
  49202. "type": "number"
  49203. },
  49204. "bid2": {
  49205. "description": "买2",
  49206. "type": "number"
  49207. },
  49208. "bid3": {
  49209. "description": "买3",
  49210. "type": "number"
  49211. },
  49212. "bid4": {
  49213. "description": "买4",
  49214. "type": "number"
  49215. },
  49216. "bid5": {
  49217. "description": "买5",
  49218. "type": "number"
  49219. },
  49220. "bid6": {
  49221. "description": "买6",
  49222. "type": "number"
  49223. },
  49224. "bid7": {
  49225. "description": "买7",
  49226. "type": "number"
  49227. },
  49228. "bid8": {
  49229. "description": "买8",
  49230. "type": "number"
  49231. },
  49232. "bid9": {
  49233. "description": "买9",
  49234. "type": "number"
  49235. },
  49236. "bidorderid": {
  49237. "description": "买单号1",
  49238. "type": "integer"
  49239. },
  49240. "bidorderid2": {
  49241. "description": "买单号2",
  49242. "type": "integer"
  49243. },
  49244. "bidorderid3": {
  49245. "description": "买单号3",
  49246. "type": "integer"
  49247. },
  49248. "bidorderid4": {
  49249. "description": "买单号4",
  49250. "type": "integer"
  49251. },
  49252. "bidorderid5": {
  49253. "description": "买单号5",
  49254. "type": "integer"
  49255. },
  49256. "bidordervolume": {
  49257. "description": "买单量1",
  49258. "type": "integer"
  49259. },
  49260. "bidordervolume10": {
  49261. "description": "买单量10",
  49262. "type": "integer"
  49263. },
  49264. "bidordervolume2": {
  49265. "description": "买单量2",
  49266. "type": "integer"
  49267. },
  49268. "bidordervolume3": {
  49269. "description": "买单量3",
  49270. "type": "integer"
  49271. },
  49272. "bidordervolume4": {
  49273. "description": "买单量4",
  49274. "type": "integer"
  49275. },
  49276. "bidordervolume5": {
  49277. "description": "买单量5",
  49278. "type": "integer"
  49279. },
  49280. "bidordervolume6": {
  49281. "description": "买单量6",
  49282. "type": "integer"
  49283. },
  49284. "bidordervolume7": {
  49285. "description": "买单量7",
  49286. "type": "integer"
  49287. },
  49288. "bidordervolume8": {
  49289. "description": "买单量8",
  49290. "type": "integer"
  49291. },
  49292. "bidordervolume9": {
  49293. "description": "买单量9",
  49294. "type": "integer"
  49295. },
  49296. "bidqueueinfo": {
  49297. "description": "大利市买港股用",
  49298. "type": "string"
  49299. },
  49300. "bidvolume": {
  49301. "description": "买量1",
  49302. "type": "integer"
  49303. },
  49304. "bidvolume10": {
  49305. "description": "买量10",
  49306. "type": "integer"
  49307. },
  49308. "bidvolume2": {
  49309. "description": "买量2",
  49310. "type": "integer"
  49311. },
  49312. "bidvolume3": {
  49313. "description": "买量3",
  49314. "type": "integer"
  49315. },
  49316. "bidvolume4": {
  49317. "description": "买量4",
  49318. "type": "integer"
  49319. },
  49320. "bidvolume5": {
  49321. "description": "买量5",
  49322. "type": "integer"
  49323. },
  49324. "bidvolume6": {
  49325. "description": "买量6",
  49326. "type": "integer"
  49327. },
  49328. "bidvolume7": {
  49329. "description": "买量7",
  49330. "type": "integer"
  49331. },
  49332. "bidvolume8": {
  49333. "description": "买量8",
  49334. "type": "integer"
  49335. },
  49336. "bidvolume9": {
  49337. "description": "买量9",
  49338. "type": "integer"
  49339. },
  49340. "calloptionpremiums": {
  49341. "description": "认购期权1",
  49342. "type": "integer"
  49343. },
  49344. "calloptionpremiums2": {
  49345. "description": "认购期权2",
  49346. "type": "integer"
  49347. },
  49348. "calloptionpremiums3": {
  49349. "description": "认购期权3",
  49350. "type": "integer"
  49351. },
  49352. "calloptionpremiums4": {
  49353. "description": "认购期权4",
  49354. "type": "integer"
  49355. },
  49356. "calloptionpremiums5": {
  49357. "description": "认购期权5",
  49358. "type": "integer"
  49359. },
  49360. "cleartime": {
  49361. "description": "清盘时间",
  49362. "type": "integer"
  49363. },
  49364. "exchangecode": {
  49365. "description": "交易所代码",
  49366. "type": "integer"
  49367. },
  49368. "exchangedate": {
  49369. "description": "交易日",
  49370. "type": "integer"
  49371. },
  49372. "goodscode": {
  49373. "description": "商品代码",
  49374. "type": "string"
  49375. },
  49376. "grepmarketprice": {
  49377. "description": "暗盘价 港股专用",
  49378. "type": "number"
  49379. },
  49380. "highest": {
  49381. "description": "最高价",
  49382. "type": "number"
  49383. },
  49384. "holdincrement": {
  49385. "description": "单笔持仓",
  49386. "type": "integer"
  49387. },
  49388. "holdvolume": {
  49389. "description": "持仓",
  49390. "type": "integer"
  49391. },
  49392. "iep": {
  49393. "description": "平衡价 港股专用",
  49394. "type": "number"
  49395. },
  49396. "iev": {
  49397. "description": "平衡量 港股专用",
  49398. "type": "number"
  49399. },
  49400. "inventory": {
  49401. "description": "库存",
  49402. "type": "integer"
  49403. },
  49404. "iscleared": {
  49405. "description": "是否清盘标志",
  49406. "type": "integer"
  49407. },
  49408. "issettled": {
  49409. "description": "是否结算标志",
  49410. "type": "integer"
  49411. },
  49412. "last": {
  49413. "description": "最新价",
  49414. "type": "number"
  49415. },
  49416. "lastlot": {
  49417. "description": "最新成交手数",
  49418. "type": "integer"
  49419. },
  49420. "lasttime": {
  49421. "description": "行情时间(只有现价变化行情时间才变化)",
  49422. "type": "string"
  49423. },
  49424. "lastturnover": {
  49425. "description": "最新成交金额",
  49426. "type": "number"
  49427. },
  49428. "lastvolume": {
  49429. "description": "最新成交量",
  49430. "type": "integer"
  49431. },
  49432. "limitdown": {
  49433. "description": "跌停价",
  49434. "type": "number"
  49435. },
  49436. "limitup": {
  49437. "description": "涨停价",
  49438. "type": "number"
  49439. },
  49440. "lowest": {
  49441. "description": "最低价",
  49442. "type": "number"
  49443. },
  49444. "nontotalholdervolume": {
  49445. "description": "非交易持仓量",
  49446. "type": "integer"
  49447. },
  49448. "nontotallot": {
  49449. "description": "非交易总手数",
  49450. "type": "integer"
  49451. },
  49452. "nontotalturnover": {
  49453. "description": "非交易总金额",
  49454. "type": "integer"
  49455. },
  49456. "nontotalvolume": {
  49457. "description": "非交易总量",
  49458. "type": "integer"
  49459. },
  49460. "opened": {
  49461. "description": "开盘价",
  49462. "type": "number"
  49463. },
  49464. "opentime": {
  49465. "description": "开盘时间",
  49466. "type": "string"
  49467. },
  49468. "orderid": {
  49469. "description": "序号",
  49470. "type": "integer"
  49471. },
  49472. "preclose": {
  49473. "description": "昨收",
  49474. "type": "number"
  49475. },
  49476. "preholdvolume": {
  49477. "description": "昨持仓",
  49478. "type": "integer"
  49479. },
  49480. "presettle": {
  49481. "description": "昨结价",
  49482. "type": "number"
  49483. },
  49484. "publictradetype": {
  49485. "description": "公共交易标志类型 港股专用",
  49486. "type": "string"
  49487. },
  49488. "putoptionpremiums": {
  49489. "description": "认沽期权1",
  49490. "type": "integer"
  49491. },
  49492. "putoptionpremiums2": {
  49493. "description": "认沽期权2",
  49494. "type": "integer"
  49495. },
  49496. "putoptionpremiums3": {
  49497. "description": "认沽期权3",
  49498. "type": "integer"
  49499. },
  49500. "putoptionpremiums4": {
  49501. "description": "认沽期权4",
  49502. "type": "integer"
  49503. },
  49504. "putoptionpremiums5": {
  49505. "description": "认沽期权5",
  49506. "type": "integer"
  49507. },
  49508. "settle": {
  49509. "description": "结算价",
  49510. "type": "number"
  49511. },
  49512. "strikeprice": {
  49513. "description": "发行价",
  49514. "type": "number"
  49515. },
  49516. "totalaskvolume": {
  49517. "description": "内盘",
  49518. "type": "integer"
  49519. },
  49520. "totalbidvolume": {
  49521. "description": "外盘",
  49522. "type": "integer"
  49523. },
  49524. "totallot": {
  49525. "description": "总手数",
  49526. "type": "integer"
  49527. },
  49528. "totalturnover": {
  49529. "description": "总金额",
  49530. "type": "number"
  49531. },
  49532. "totalvolume": {
  49533. "description": "总量",
  49534. "type": "integer"
  49535. },
  49536. "utclasttime": {
  49537. "description": "utc的行情时间",
  49538. "type": "string"
  49539. }
  49540. }
  49541. },
  49542. "quote.QueryTSDataRsp": {
  49543. "type": "object",
  49544. "properties": {
  49545. "Count": {
  49546. "description": "交易日应有数据个数",
  49547. "type": "integer"
  49548. },
  49549. "decimalPlace": {
  49550. "description": "小数位",
  49551. "type": "integer"
  49552. },
  49553. "endTime": {
  49554. "description": "结束时间",
  49555. "type": "string"
  49556. },
  49557. "goodsCode": {
  49558. "description": "商品代码",
  49559. "type": "string"
  49560. },
  49561. "historyDatas": {
  49562. "description": "历史数据",
  49563. "type": "array",
  49564. "items": {
  49565. "$ref": "#/definitions/quote.HistoryData"
  49566. }
  49567. },
  49568. "outGoodsCode": {
  49569. "description": "外部商品代码",
  49570. "type": "string"
  49571. },
  49572. "preSettle": {
  49573. "description": "昨结价",
  49574. "type": "number"
  49575. },
  49576. "runSteps": {
  49577. "description": "交易日开休市计划",
  49578. "type": "array",
  49579. "items": {
  49580. "$ref": "#/definitions/quote.TSDataRunStep"
  49581. }
  49582. },
  49583. "startTime": {
  49584. "description": "开始时间",
  49585. "type": "string"
  49586. },
  49587. "tradeDate": {
  49588. "description": "交易日",
  49589. "type": "string"
  49590. }
  49591. }
  49592. },
  49593. "quote.TSDataRunStep": {
  49594. "type": "object",
  49595. "properties": {
  49596. "end": {
  49597. "description": "真实结束时间",
  49598. "type": "string"
  49599. },
  49600. "endflag": {
  49601. "description": "结束日标识 - (-1:上日 0:当日 1:次日 )",
  49602. "type": "integer"
  49603. },
  49604. "endtime": {
  49605. "description": "结束时间(HH:mm)",
  49606. "type": "string"
  49607. },
  49608. "endweekday": {
  49609. "description": "结束周几",
  49610. "type": "integer"
  49611. },
  49612. "groupid": {
  49613. "description": "分组ID",
  49614. "type": "integer"
  49615. },
  49616. "runstep": {
  49617. "description": "运行阶段 - 2:连续交易",
  49618. "type": "integer"
  49619. },
  49620. "sectionid": {
  49621. "description": "从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几",
  49622. "type": "integer"
  49623. },
  49624. "start": {
  49625. "description": "真实开始时间",
  49626. "type": "string"
  49627. },
  49628. "startflag": {
  49629. "description": "开始日标识 - (-1:上日 0:当日 1:次日 )",
  49630. "type": "integer"
  49631. },
  49632. "starttime": {
  49633. "description": "起始时间(HH:mm)",
  49634. "type": "string"
  49635. },
  49636. "startweekday": {
  49637. "description": "起始周几",
  49638. "type": "integer"
  49639. },
  49640. "tradeweekday": {
  49641. "description": "交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六",
  49642. "type": "integer"
  49643. }
  49644. }
  49645. },
  49646. "szdz.QueryConvertLogRsp": {
  49647. "type": "object",
  49648. "required": [
  49649. "logid"
  49650. ],
  49651. "properties": {
  49652. "accountid": {
  49653. "description": "资金账户ID",
  49654. "type": "integer"
  49655. },
  49656. "clientticket": {
  49657. "description": "客户端流水号",
  49658. "type": "string"
  49659. },
  49660. "converttype": {
  49661. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  49662. "type": "integer"
  49663. },
  49664. "createtime": {
  49665. "description": "记账时间",
  49666. "type": "string"
  49667. },
  49668. "daymaxvalue": {
  49669. "description": "配置当日最大转入限制",
  49670. "type": "number"
  49671. },
  49672. "daymaxvalue2": {
  49673. "description": "配置当日最大转入限制(转入)",
  49674. "type": "number"
  49675. },
  49676. "goodscode": {
  49677. "description": "商品代码",
  49678. "type": "string"
  49679. },
  49680. "goodsname": {
  49681. "description": "商品名称",
  49682. "type": "string"
  49683. },
  49684. "handlestatus": {
  49685. "description": "处理状态",
  49686. "type": "integer"
  49687. },
  49688. "innergoodsid": {
  49689. "description": "内部商品ID",
  49690. "type": "integer"
  49691. },
  49692. "inratio": {
  49693. "description": "配置转入比值",
  49694. "type": "integer"
  49695. },
  49696. "invalue": {
  49697. "description": "目标值",
  49698. "type": "number"
  49699. },
  49700. "logid": {
  49701. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  49702. "type": "integer"
  49703. },
  49704. "mobile": {
  49705. "description": "手机号码(加密存储)",
  49706. "type": "string"
  49707. },
  49708. "outergoodscode": {
  49709. "description": "外部商品代码[JD\\PD]",
  49710. "type": "string"
  49711. },
  49712. "outratio": {
  49713. "description": "配置转出比值",
  49714. "type": "integer"
  49715. },
  49716. "outvalue": {
  49717. "description": "源值",
  49718. "type": "number"
  49719. },
  49720. "pddecimalplace": {
  49721. "description": "PD小数位",
  49722. "type": "integer"
  49723. },
  49724. "qty": {
  49725. "description": "数量",
  49726. "type": "string"
  49727. },
  49728. "remark": {
  49729. "description": "备注",
  49730. "type": "string"
  49731. },
  49732. "sessionid": {
  49733. "description": "会话ID",
  49734. "type": "integer"
  49735. },
  49736. "timemaxvalue": {
  49737. "description": "配置单次最大转入限制",
  49738. "type": "number"
  49739. },
  49740. "timemaxvalue2": {
  49741. "description": "配置单次最大转入限制(转入)",
  49742. "type": "number"
  49743. },
  49744. "timeminvalue": {
  49745. "description": "配置单次最小数量限制",
  49746. "type": "number"
  49747. },
  49748. "timeminvalue2": {
  49749. "description": "配置单次最小数量限制(转入)",
  49750. "type": "number"
  49751. },
  49752. "tradedate": {
  49753. "description": "交易日(yyyyMMdd)",
  49754. "type": "string"
  49755. },
  49756. "userid": {
  49757. "description": "用户ID",
  49758. "type": "integer"
  49759. }
  49760. }
  49761. },
  49762. "szdz.QueryGoodsPickupRsp": {
  49763. "type": "object",
  49764. "required": [
  49765. "takeorderid"
  49766. ],
  49767. "properties": {
  49768. "accountid": {
  49769. "description": "账户ID",
  49770. "type": "integer"
  49771. },
  49772. "address": {
  49773. "description": "提货人详细地址",
  49774. "type": "string"
  49775. },
  49776. "auditer": {
  49777. "description": "审核人",
  49778. "type": "integer"
  49779. },
  49780. "audittime": {
  49781. "description": "审核时间",
  49782. "type": "string"
  49783. },
  49784. "cardnum": {
  49785. "description": "提货人证件号码",
  49786. "type": "string"
  49787. },
  49788. "cardtypeid": {
  49789. "description": "提货人证件类型",
  49790. "type": "integer"
  49791. },
  49792. "checkremark": {
  49793. "description": "审核备注",
  49794. "type": "string"
  49795. },
  49796. "goodscode": {
  49797. "description": "商品代码",
  49798. "type": "string"
  49799. },
  49800. "goodsid": {
  49801. "description": "商品ID",
  49802. "type": "integer"
  49803. },
  49804. "goodsname": {
  49805. "description": "商品名称",
  49806. "type": "string"
  49807. },
  49808. "handlestatus": {
  49809. "description": "处理状态",
  49810. "type": "integer"
  49811. },
  49812. "marketid": {
  49813. "description": "市场ID",
  49814. "type": "integer"
  49815. },
  49816. "phonenum": {
  49817. "description": "提货人联系方式",
  49818. "type": "string"
  49819. },
  49820. "qty": {
  49821. "description": "提货数量",
  49822. "type": "number"
  49823. },
  49824. "recivername": {
  49825. "description": "提货人姓名",
  49826. "type": "string"
  49827. },
  49828. "reqtime": {
  49829. "description": "更新时间",
  49830. "type": "string"
  49831. },
  49832. "takemode": {
  49833. "description": "提货方式 - 2:自提 3:配送",
  49834. "type": "integer"
  49835. },
  49836. "takeorderid": {
  49837. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  49838. "type": "string"
  49839. },
  49840. "takeorderstatus": {
  49841. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  49842. "type": "integer"
  49843. },
  49844. "takeremark": {
  49845. "description": "提货备注",
  49846. "type": "string"
  49847. },
  49848. "tradedate": {
  49849. "description": "交易日(yyyyMMdd)",
  49850. "type": "string"
  49851. },
  49852. "userid": {
  49853. "description": "用户ID",
  49854. "type": "integer"
  49855. }
  49856. }
  49857. },
  49858. "szdz.QueryRecieptOrderRsp": {
  49859. "type": "object",
  49860. "required": [
  49861. "ordertime"
  49862. ],
  49863. "properties": {
  49864. "accountName": {
  49865. "description": "所属账号名称(已脱敏)",
  49866. "type": "string"
  49867. },
  49868. "accountid": {
  49869. "description": "资金账号",
  49870. "type": "integer"
  49871. },
  49872. "buyorsell": {
  49873. "description": "方向 - 0:买 1:卖",
  49874. "type": "integer"
  49875. },
  49876. "enableqty": {
  49877. "description": "可摘数量",
  49878. "type": "integer"
  49879. },
  49880. "goodscode": {
  49881. "description": "商品代码",
  49882. "type": "string"
  49883. },
  49884. "goodsid": {
  49885. "description": "商品ID",
  49886. "type": "integer"
  49887. },
  49888. "goodsname": {
  49889. "description": "商品名称",
  49890. "type": "string"
  49891. },
  49892. "orderid": {
  49893. "description": "委托单号",
  49894. "type": "string"
  49895. },
  49896. "orderprice": {
  49897. "description": "委托价格",
  49898. "type": "number"
  49899. },
  49900. "ordertime": {
  49901. "description": "委托时间",
  49902. "type": "string"
  49903. },
  49904. "tradedate": {
  49905. "description": "交易日(yyyyMMdd)",
  49906. "type": "string"
  49907. }
  49908. }
  49909. },
  49910. "szdz.QuerySZDZTradePositionRsp": {
  49911. "type": "object",
  49912. "properties": {
  49913. "accountid": {
  49914. "description": "账号Id",
  49915. "type": "integer"
  49916. },
  49917. "agreeunit": {
  49918. "description": "合约单位",
  49919. "type": "number"
  49920. },
  49921. "averageprice": {
  49922. "description": "持仓均价",
  49923. "type": "number"
  49924. },
  49925. "buyorsell": {
  49926. "description": "方向 - 0:买 1:卖",
  49927. "type": "integer"
  49928. },
  49929. "closetotalqty": {
  49930. "description": "平仓总数量",
  49931. "type": "integer"
  49932. },
  49933. "curholderamount": {
  49934. "description": "当前持仓总金额",
  49935. "type": "number"
  49936. },
  49937. "curpositionqty": {
  49938. "description": "当前持仓总数量",
  49939. "type": "integer"
  49940. },
  49941. "currencyid": {
  49942. "description": "报价货币ID",
  49943. "type": "integer"
  49944. },
  49945. "curtdposition": {
  49946. "description": "期末今日头寸",
  49947. "type": "integer"
  49948. },
  49949. "decimalplace": {
  49950. "description": "报价小数位",
  49951. "type": "integer"
  49952. },
  49953. "enableqty": {
  49954. "description": "可用量",
  49955. "type": "integer"
  49956. },
  49957. "fretdposition": {
  49958. "description": "冻结今日头寸",
  49959. "type": "integer"
  49960. },
  49961. "frozenqty": {
  49962. "description": "持仓冻结数量",
  49963. "type": "integer"
  49964. },
  49965. "goodscode": {
  49966. "description": "商品代码(内部)",
  49967. "type": "string"
  49968. },
  49969. "goodsid": {
  49970. "description": "商品Id",
  49971. "type": "integer"
  49972. },
  49973. "goodsname": {
  49974. "description": "商品名称",
  49975. "type": "string"
  49976. },
  49977. "goodunit": {
  49978. "description": "报价单位",
  49979. "type": "string"
  49980. },
  49981. "goodunitid": {
  49982. "description": "报价单位ID",
  49983. "type": "integer"
  49984. },
  49985. "holderamount": {
  49986. "description": "期初持仓总金额",
  49987. "type": "number"
  49988. },
  49989. "marketid": {
  49990. "description": "市场ID",
  49991. "type": "integer"
  49992. },
  49993. "openreqqty": {
  49994. "description": "开仓申请数量",
  49995. "type": "integer"
  49996. },
  49997. "opentotalqty": {
  49998. "description": "开仓总数量",
  49999. "type": "integer"
  50000. },
  50001. "otherfrozenqty": {
  50002. "description": "持仓其他冻结数量(交割冻结)",
  50003. "type": "integer"
  50004. },
  50005. "positionqty": {
  50006. "description": "期初持仓数量",
  50007. "type": "integer"
  50008. },
  50009. "szdz3freezqty": {
  50010. "description": "尚志大宗转换冻结总数量",
  50011. "type": "integer"
  50012. },
  50013. "tnqty": {
  50014. "description": "T+N冻结总量",
  50015. "type": "integer"
  50016. },
  50017. "tnusedqty": {
  50018. "description": "T+N使用量",
  50019. "type": "integer"
  50020. },
  50021. "trademode": {
  50022. "description": "交易模式",
  50023. "type": "integer"
  50024. },
  50025. "usedmargin": {
  50026. "description": "占用保证金",
  50027. "type": "number"
  50028. }
  50029. }
  50030. },
  50031. "taaccount.QueryAmountLogRsp": {
  50032. "type": "object",
  50033. "required": [
  50034. "accountid",
  50035. "amount",
  50036. "amountadjusttype",
  50037. "autoid",
  50038. "balance",
  50039. "createtime",
  50040. "currentbalance",
  50041. "operatetype"
  50042. ],
  50043. "properties": {
  50044. "accountid": {
  50045. "description": "资金账户ID",
  50046. "type": "integer"
  50047. },
  50048. "agoodscode": {
  50049. "description": "竞拍商品代码",
  50050. "type": "string"
  50051. },
  50052. "agoodsname": {
  50053. "description": "竞拍商品名称",
  50054. "type": "string"
  50055. },
  50056. "amount": {
  50057. "description": "资金金额",
  50058. "type": "number"
  50059. },
  50060. "amountadjusttype": {
  50061. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  50062. "type": "integer"
  50063. },
  50064. "autoid": {
  50065. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  50066. "type": "integer"
  50067. },
  50068. "balance": {
  50069. "description": "期初余额",
  50070. "type": "number"
  50071. },
  50072. "businesscode": {
  50073. "description": "业务编号",
  50074. "type": "integer"
  50075. },
  50076. "createtime": {
  50077. "description": "发生时间",
  50078. "type": "string"
  50079. },
  50080. "currencyid": {
  50081. "description": "币种ID",
  50082. "type": "integer"
  50083. },
  50084. "currentbalance": {
  50085. "description": "期末余额(变动后金额)",
  50086. "type": "number"
  50087. },
  50088. "dgoodscode": {
  50089. "description": "交割商品代码",
  50090. "type": "string"
  50091. },
  50092. "dgoodsname": {
  50093. "description": "交割商品名称",
  50094. "type": "string"
  50095. },
  50096. "goodscode": {
  50097. "description": "商品代码",
  50098. "type": "string"
  50099. },
  50100. "goodsid": {
  50101. "description": "商品ID",
  50102. "type": "integer"
  50103. },
  50104. "goodsname": {
  50105. "description": "商品名称",
  50106. "type": "string"
  50107. },
  50108. "marketid": {
  50109. "description": "市场ID",
  50110. "type": "integer"
  50111. },
  50112. "marketname": {
  50113. "description": "市场名称",
  50114. "type": "string"
  50115. },
  50116. "moneyticket": {
  50117. "description": "资金流水号:银行端流水号",
  50118. "type": "integer"
  50119. },
  50120. "operatetype": {
  50121. "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:营销收款",
  50122. "type": "integer"
  50123. },
  50124. "relationorderid": {
  50125. "description": "关联单号",
  50126. "type": "string"
  50127. },
  50128. "remark": {
  50129. "description": "备注",
  50130. "type": "string"
  50131. },
  50132. "trademode": {
  50133. "description": "交易模式",
  50134. "type": "integer"
  50135. }
  50136. }
  50137. },
  50138. "taaccount.QueryHisAmountLogRsp": {
  50139. "type": "object",
  50140. "required": [
  50141. "accountid",
  50142. "amount",
  50143. "amountadjusttype",
  50144. "autoid",
  50145. "balance",
  50146. "createtime",
  50147. "currentbalance",
  50148. "histradedate",
  50149. "operatetype"
  50150. ],
  50151. "properties": {
  50152. "accountid": {
  50153. "description": "资金账户ID",
  50154. "type": "integer"
  50155. },
  50156. "agoodscode": {
  50157. "description": "竞拍商品代码",
  50158. "type": "string"
  50159. },
  50160. "agoodsname": {
  50161. "description": "竞拍商品名称",
  50162. "type": "string"
  50163. },
  50164. "amount": {
  50165. "description": "资金金额",
  50166. "type": "number"
  50167. },
  50168. "amountadjusttype": {
  50169. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  50170. "type": "integer"
  50171. },
  50172. "autoid": {
  50173. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  50174. "type": "integer"
  50175. },
  50176. "balance": {
  50177. "description": "期初余额",
  50178. "type": "number"
  50179. },
  50180. "businesscode": {
  50181. "description": "业务编号",
  50182. "type": "integer"
  50183. },
  50184. "createtime": {
  50185. "description": "发生时间",
  50186. "type": "string"
  50187. },
  50188. "currencyid": {
  50189. "description": "币种ID",
  50190. "type": "integer"
  50191. },
  50192. "currentbalance": {
  50193. "description": "期末余额(变动后金额)",
  50194. "type": "number"
  50195. },
  50196. "dgoodscode": {
  50197. "description": "交割商品代码",
  50198. "type": "string"
  50199. },
  50200. "dgoodsname": {
  50201. "description": "交割商品名称",
  50202. "type": "string"
  50203. },
  50204. "goodscode": {
  50205. "description": "商品代码",
  50206. "type": "string"
  50207. },
  50208. "goodsid": {
  50209. "description": "商品ID",
  50210. "type": "integer"
  50211. },
  50212. "goodsname": {
  50213. "description": "商品名称",
  50214. "type": "string"
  50215. },
  50216. "histradedate": {
  50217. "description": "历史交易日",
  50218. "type": "string"
  50219. },
  50220. "isvaliddata": {
  50221. "description": "是否有效 - 0:无效 1:有效",
  50222. "type": "integer"
  50223. },
  50224. "marketid": {
  50225. "description": "市场ID",
  50226. "type": "integer"
  50227. },
  50228. "marketname": {
  50229. "description": "市场名称",
  50230. "type": "string"
  50231. },
  50232. "moneyticket": {
  50233. "description": "资金流水号:银行端流水号",
  50234. "type": "integer"
  50235. },
  50236. "operatetype": {
  50237. "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:营销收款",
  50238. "type": "integer"
  50239. },
  50240. "relationorderid": {
  50241. "description": "关联单号",
  50242. "type": "string"
  50243. },
  50244. "remark": {
  50245. "description": "备注",
  50246. "type": "string"
  50247. },
  50248. "trademode": {
  50249. "description": "交易模式",
  50250. "type": "integer"
  50251. }
  50252. }
  50253. },
  50254. "trade.QueryRecieptOrderRsp": {
  50255. "type": "object",
  50256. "required": [
  50257. "ordertime"
  50258. ],
  50259. "properties": {
  50260. "accountName": {
  50261. "description": "所属账号名称(已脱敏)",
  50262. "type": "string"
  50263. },
  50264. "accountid": {
  50265. "description": "资金账号",
  50266. "type": "integer"
  50267. },
  50268. "buyorsell": {
  50269. "description": "方向 - 0:买 1:卖",
  50270. "type": "integer"
  50271. },
  50272. "enableqty": {
  50273. "description": "可摘数量",
  50274. "type": "integer"
  50275. },
  50276. "goodscode": {
  50277. "description": "商品代码",
  50278. "type": "string"
  50279. },
  50280. "goodsid": {
  50281. "description": "商品ID",
  50282. "type": "integer"
  50283. },
  50284. "goodsname": {
  50285. "description": "商品名称",
  50286. "type": "string"
  50287. },
  50288. "orderid": {
  50289. "description": "委托单号",
  50290. "type": "string"
  50291. },
  50292. "orderprice": {
  50293. "description": "委托价格",
  50294. "type": "number"
  50295. },
  50296. "ordertime": {
  50297. "description": "委托时间",
  50298. "type": "string"
  50299. },
  50300. "tradedate": {
  50301. "description": "交易日(yyyyMMdd)",
  50302. "type": "string"
  50303. }
  50304. }
  50305. },
  50306. "user.LoginQueryRsp": {
  50307. "type": "object",
  50308. "properties": {
  50309. "areaRoles": {
  50310. "description": "所属角色信息",
  50311. "type": "array",
  50312. "items": {
  50313. "$ref": "#/definitions/models.Arearole"
  50314. }
  50315. },
  50316. "exchangeRateConfigs": {
  50317. "description": "汇率信息",
  50318. "type": "array",
  50319. "items": {
  50320. "$ref": "#/definitions/models.Exchangerateconfig"
  50321. }
  50322. },
  50323. "externalExchanges": {
  50324. "description": "外部交易所",
  50325. "type": "array",
  50326. "items": {
  50327. "$ref": "#/definitions/models.Externalexchange"
  50328. }
  50329. },
  50330. "goodsgroups": {
  50331. "description": "商品组",
  50332. "type": "array",
  50333. "items": {
  50334. "$ref": "#/definitions/models.Goodsgroup"
  50335. }
  50336. },
  50337. "loginAccount": {
  50338. "description": "登录账号",
  50339. "$ref": "#/definitions/models.Loginaccount"
  50340. },
  50341. "markets": {
  50342. "description": "市场",
  50343. "type": "array",
  50344. "items": {
  50345. "$ref": "#/definitions/models.Market"
  50346. }
  50347. },
  50348. "systemParams": {
  50349. "description": "系统参数",
  50350. "type": "array",
  50351. "items": {
  50352. "$ref": "#/definitions/models.Systemparam"
  50353. }
  50354. },
  50355. "userAccount": {
  50356. "description": "用户账号",
  50357. "$ref": "#/definitions/models.Useraccount"
  50358. },
  50359. "userInfo": {
  50360. "description": "用户信息",
  50361. "$ref": "#/definitions/models.Userinfo"
  50362. },
  50363. "username": {
  50364. "description": "用户姓名",
  50365. "type": "string"
  50366. }
  50367. }
  50368. }
  50369. },
  50370. "securityDefinitions": {
  50371. "ApiKeyAuth": {
  50372. "type": "apiKey",
  50373. "name": "Authorization",
  50374. "in": "header"
  50375. },
  50376. "Group": {
  50377. "type": "apiKey",
  50378. "name": "Group",
  50379. "in": "header"
  50380. },
  50381. "LoginID": {
  50382. "type": "apiKey",
  50383. "name": "LoginID",
  50384. "in": "header"
  50385. }
  50386. }
  50387. }`
  50388. // SwaggerInfo holds exported Swagger Info so clients can modify it
  50389. var SwaggerInfo = &swag.Spec{
  50390. Version: "1.0",
  50391. Host: "",
  50392. BasePath: "",
  50393. Schemes: []string{},
  50394. Title: "MTP2.0 查询服务 API",
  50395. Description: "新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d",
  50396. InfoInstanceName: "swagger",
  50397. SwaggerTemplate: docTemplate,
  50398. }
  50399. func init() {
  50400. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  50401. }